Post

OpenCode Changelog
OpenCode Changelog@OpenCodeLog·
𝙊𝙥𝙚𝙣𝘾𝙤𝙙𝙚 v1.15.9 released. TL;DR: TUI diff review is now default, LLM media/continuation handling is safer, v2 API errors are typed, and App session state got tighter. 𝗧𝗨𝗜 Added • Added the diff viewer as a default TUI feature instead of hiding it behind a runtime flag. • Added diff review controls for expand-all, help, reviewed-file marking, persisted view preferences, and mouse file selection. • Added a palette action to copy the current worktree path. Changed • Redesigned the diff viewer with bordered panes, file status markers, selected/reviewed state, cleaner empty states, and bounded working-tree context. Fixed • Fixed diff viewer close behavior so it returns to the previous route instead of always navigating home. • Fixed question prompts to own their keymap mode so global/session shortcuts stop stealing answer keys. • Removed italics from thinking labels while preserving collapsed Thought/Thinking styling. 𝗟𝗟𝗠 Added • Added structured image propagation for tool-result media in Anthropic Messages and OpenAI Responses, avoiding base64 JSON stuffed into prompt text. • Added Anthropic Messages user-image support for native continuation paths. Changed • Preserved OpenAI Responses reasoning items, encrypted continuation state, and assistant text ordering when replaying native sessions. Fixed • Fixed OpenAI/Anthropic stream errors to surface provider code/type/nested failure details for rate limits, overloads, context errors, and failed responses. 𝗦𝗲𝗿𝘃𝗲𝗿 Added • Added a context query parameter to /vcs/diff so clients can request bounded patch context. • Added typed v2 error bodies and OpenAPI schemas for MCP, PTY, project, question, permission, and session-busy failures. Fixed • Fixed PTY endpoints to return structured 403/404 bodies and missing-session websocket behavior. • Fixed workspace warp to return not found when the target workspace does not exist. 𝗠𝗖𝗣 Added • Added oauth.callbackPort as a shorthand for local OAuth callback ports when redirectUri is not set. Fixed • Fixed remote MCP OAuth client metadata to advertise configured scopes. • Fixed MCP auth/connect/disconnect paths to return typed missing-server errors. 𝗣𝗿𝗼𝘃𝗶𝗱𝗲𝗿𝘀 • Fixed Google Vertex Anthropic on us/eu multi-regions by routing Claude requests to Regional Endpoint Platform domains. • Fixed default-model resolution to return typed no-provider/no-model failures instead of generic thrown errors. 𝗔𝗽𝗽 Changed • Moved new-design session tab navigation into the titlebar, including mod+1-9 and mod+option+Arrow tab switching. • Reused per-directory SDK/sync contexts so session views and status popovers share clients and event wiring. Fixed • Fixed provider lists to use normalized maps, avoiding stale or ambiguous provider lookups after sync updates. • Fixed device-code login display when instructions include URLs with extra colons. • Debounced VCS refresh on session pages to reduce repeated diff/status reloads during rapid file events. 𝗖𝗟𝗜 • Fixed opencode upgrade failures to report clearer method-specific errors, including choco elevation and unknown methods. • Fixed opencode debug agent to distinguish missing providers, missing models, and missing model IDs. 𝗔𝗴𝗲𝗻𝘁 • Fixed missing-skill errors to report typed not-found state and list available skills consistently. • Fixed repository reference validation to distinguish invalid refs, unsupported local repositories, and invalid branch names. 𝗦𝗗𝗞 • Updated generated v2 types for typed API errors, MCP callbackPort, and VCS diff context. No noticeable bundle change Compare: github.com/anomalyco/open…
English
0
1
22
1.9K
Paylaş