OpenCode

持续追踪核心框架、最新模型规格与重要系统接口的更新迭代轨迹。

[ 重大突破 ]v1.18.30

v1.18.30

Core Improvements Added the Astra system prompt for GPT-6 models. Bugfixes Preserved Bedrock DeepSeek model IDs, including ARN-based IDs, so they resolve correctly. ( @YeEmrick ) Updated the Azure provider SDK to pick up compatibility fixes. Updated the OpenAI provider SDK to pick up compatibility fixes. Added reasoning effort variants for supported GitLab GPT and Claude models. ( @far-ouq ) Thank you to 3 community contributors: @heimoshuiyu : fix(console): openai usage normalization and tier threshold config ( #47342 ) @far-ouq : fix(opencode): add GitLab reasoning variants ( #47306 ) @YeEmr...

v1.18.28

v1.18.28

Core Improvements Send the session ID as GitHub Copilot's interaction header to improve request tracking across a session. Desktop Bugfixes Use the desktop client ID during OpenCode account device authentication. Increase the open-in app icon size for better visibility. Thank you to 1 community contributor: @MVS-source : docs: add Eden AI to the providers list ( #43386 )

v1.18.29

v1.18.29

Core Bugfixes Allow Codex OAuth model filtering to recognize integer GPT versions like gpt-6 Fixes issue of gpt-6-astra not showing up for openai subscription users Thank you to 2 community contributors: @Peter267 : docs(zh): fix bold rendering by adding spaces around asterisks ( #46231 ) @heimoshuiyu : feat(console): add quota reset support action ( #47313 )

v1.18.27

v1.18.27

Core Bugfixes Default provider header timeouts to five minutes so slow model startups fail less often. Default streamed chunk timeouts to five minutes, with false supported to disable them. Let Anthropic thinking.blockBinding opt out via config when you need to keep the provider default. ( @dkindlund ) Limit Anthropic thinking block binding to Claude 5.1+ models so older deployments do not reject requests. Avoid unhandled errors when canceling timed-out SSE reads. ( @AlexanderWillner ) Thank you to 2 community contributors: @AlexanderWillner : fix(provider): handle SSE reader cancel rejections...

[ 重大突破 ]v1.18.26

v1.18.26

Core Bugfixes Claude 5 sessions now tolerate stale thinking blocks instead of failing after prompt or tool changes. Bedrock GPT-5.6 models now accept none reasoning effort. Bedrock reasoning and replay handling is more reliable. ( @pengzh1 ) Tool call timing now stays accurate when tools update their metadata while still running. ( @bartlettroscoe ) apply_patch no longer emits an empty move path in permission metadata. ( @altendky ) Improvements Azure CLI sign-in now asks for the resource name directly instead of querying Azure management APIs. Desktop Bugfixes Session renames now save reliabl...

v1.18.19

v1.18.19

Core Improvements Added native OpenAI and Anthropic passthroughs for Cloudflare AI Gateway models. Matched Codex rate limits more closely to ChatGPT subscription limits. ( @GameOn223 ) Bugfixes Removed built-in Qwen sampling defaults that could send unsupported settings. Properly show authenticated providers in /connect . ( @OpeOginni ) Ignore malformed model pricing instead of breaking usage cost calculation. Fall back when OpenAI websocket requests exceed message size limits. Forward ChatGPT workspace compute residency to Codex requests. Updated the default Console URL used by account connec...

v1.18.20

v1.18.20

Core Bugfixes Surface failed subagent tool calls with a resumable task_id . Retry provider responses that end with finish_reason: network_error . Retry more network error variants, including network-error and network_error . Surface resumable subagent failures instead of returning an empty result. Preserve Cerebras max_completion_tokens without applying an extra output cap. Answer permission requests triggered by subagents during opencode run . Retry xAI capacity and temporary unavailability stream errors.

v1.18.21

v1.18.21

Core Bugfixes Continue responses when a model reports an unknown finish reason instead of stopping early Route Vertex AI eu and us multi-region Gemini requests through REP endpoints Desktop Bugfixes Keep file search results visible while the next search is loading Register the archive session command in both desktop layouts ( @NathanTCode ) Thank you to 1 community contributor: @NathanTCode : fix(app): register archive session command in both layouts ( #41741 )

v1.18.22

v1.18.22

Core Bugfixes Removed outdated OpenCode Go first-month discount messaging and pricing. Fixed OpenCode device login links when servers return relative verification URLs or use a base path. Fixed textVerbosity being sent to OpenAI-compatible providers that do not support it. ( @joelstucki-taulia ) Updated the Amazon Bedrock provider for compatibility fixes. Desktop Bugfixes Keep model provider headers visible while scrolling the model picker. Thank you to 1 community contributor: @joelstucki-taulia : fix(provider): guard textVerbosity injection for @ai-sdk/openai-compatible providers ( #43915 )

v1.18.23

v1.18.23

Core Bugfixes Fixed Cloudflare AI Gateway routing for third-party providers so non-Workers models work through the gateway's REST API. ( @superhighfives ) Fixed Anthropic models through Cloudflare AI Gateway by converting dotted model IDs like claude-haiku-4.5 to the dashed slug Anthropic expects. ( @superhighfives ) Fixed parent session IDs being sent in request headers for session-aware providers. TUI Bugfixes Fixed GitHub auth for immutable OIDC subject tokens. Thank you to 1 community contributor: @superhighfives : fix(provider): send Anthropic's dashed native slug through the AI Gateway (...

[ 重大突破 ]v1.18.24

v1.18.24

Core Bugfixes Bedrock reasoning responses no longer get cached into unreplayable empty messages. Improvements Azure providers can now sign in with Microsoft Entra ID through the Azure CLI instead of requiring an API key. V1 now reads supported V2 config fields so newer config files keep working in more mixed setups. Desktop Bugfixes Archived sessions disappear from the Home list immediately. ( @NathanTCode ) Thank you to 3 community contributors: @NathanTCode : fix(app): drop archived sessions from home list right away ( #44905 ) @OpeOginni : fix(ui): restore focus in stacked dialogs ( #44928 ...

v1.18.25

v1.18.25

Core Bugfixes Fixed Azure authentication so Azure CLI sign-in works without requiring Bun.

[ 重大突破 ]v1.18.18

v1.18.18

Core Bugfixes Select the Kimi system prompt correctly for official Moonshot and Kimi providers Fix xhigh reasoning effort for xai models

[ 重大突破 ]v1.18.17

v1.18.17

Core Bugfixes Made session compaction keep complete recent turns and produce clearer summaries for smaller models. Added MERGE Gateway reasoning variants so those model options work correctly. ( @MatthewFeroz ) Capped automatic session retries and added jitter to reduce repeated retry storms. Enabled PDF attachments for GitHub Copilot models that advertise PDF vision support. ( @stevenao ) Applied the correct sampling defaults to DeepSeek V4 Flash on supported providers. Routed all Muse family models to the correct Meta system prompt. ( @mreso ) Desktop Bugfixes Updated Chinese developer termi...

v1.18.16

v1.18.16

Core Bugfixes Ignore unknown top-level config fields instead of failing config parsing Register projects opened from Home so they are available to the rest of the app Desktop Improvements Open the project menu with a right-click in Home Bugfixes Fall back to listing and matching local directories when the project picker server does not support search Use 词元 instead of 令牌 for token-related labels in Simplified Chinese ( @Speechlessmanbilibili ) Keep the macOS app running after the last window closes and reopen a window when the app is activated Thank you to 1 community contributor: @Speechlessm...

v1.18.15

v1.18.15

Core Bugfixes Chronological message ordering now stays correct even when imported or legacy message IDs are out of order. Revert and fork actions now use real message chronology instead of message ID ordering. Truncation cleanup now removes stale files by file timestamp more reliably. Repeated compaction now keeps earlier tool-call history in summaries instead of dropping orphaned results. Blob-based attachments now load correctly in the web UI. ( @rexdotsh ) Desktop Improvements Added much broader locale coverage across the desktop app. Export full session transcripts as JSON from the UI. Bug...

v1.18.14

v1.18.14

Core Improvements Simplified xAI login to a single device-code flow that works better in headless and remote environments. Bugfixes Preserved structured mid-stream provider errors so compatible providers can retry failed responses. Retried more transient provider and network errors instead of failing immediately. Counted cache writes in ACP usage totals. Logged remote workspace 5xx response bodies in the host logs to make proxy failures easier to debug. ( @jamesmurdza ) Stopped sending the host directory path to remote workspaces so prompts resolve from the remote project root. ( @jamesmurdza ...

v1.18.13

v1.18.13

TUI Bugfixes GitHub pull request reviews now include the pull request number and URL in context. Desktop Bugfixes Fixed several right-to-left layout issues across tabs, drawers, resizing, and titlebar interactions. Fixed shared right-to-left UI behavior such as directional icons and drawer placement. Sessions without titles now fall back to generated names instead of appearing blank. Moved markdown parsing off the main thread to keep the app more responsive while rendering messages. Improvements Localized more desktop UI copy, including native menus, update dialogs, and help content. Added ear...

[ 重大突破 ]v1.18.12

v1.18.12

Core Bugfixes Fixed Azure GPT-5.5+ completion requests failing when reasoning is enabled. ( @frederiknsgo ) Desktop Bugfixes Reduced composer lag when drafts include large pasted images or attachments. Let project search match any known recent project instead of only the first five. ( @NumerousJLs ) Cleared stale assistant errors from the timeline once the same turn resumes streaming. Skipped legacy config reads against v2 servers to avoid spurious config loading issues. ( @resetsix ) Thank you to 4 community contributors: @resetsix : fix(app): skip legacy config reads for v2 ( #40211 ) @Numer...

[ 重大突破 ]v1.18.11

v1.18.11

Core Bugfixes Stopped MCP SSE connections from getting stuck in reconnect loops after server error responses. Fixed provider model configs that use interleaved reasoning fields like reasoning_text or custom field names. Desktop Bugfixes Open external links in the system browser instead of inside the app. Fixed stale session tab state in the desktop title bar. ( @OpeOginni ) Open the legacy directory picker at your home folder when no home path is loaded yet. Prevent the file tree tab from clipping when resized smaller. ( @OpeOginni ) Fixed debug gutter labels and values misaligning. Thank you ...

v1.18.10

v1.18.10

Core Discover available Modal models automatically. ( @devennavani ) Desktop Improvements Prevent adding the same attachment more than once. Always show the new session button. Improve toast notifications with better stacking, dismissal, and mobile layout. Refine tab hover, active, and overflow states. Bugfixes Repair malformed saved tabs so broken tab state no longer persists across launches. ( @OpeOginni ) Hide the model variant selector until model data finishes loading. Preserve the custom agent picker for existing users. Thank you to 3 community contributors: @lakshyaag-tavily : docs(ecos...

v1.18.9

v1.18.9

Core Bugfixes Restored compatibility with legacy MCP SDK clients. Desktop Bugfixes Fixed a Solid cleanup crash that could break navigation in the desktop app. Fixed home session loading so the session list can update without suspending the whole page. Improvements Removed the extra vertical borders from the V2 home projects view. Added an opt-in V2 desktop sidecar backed by the bundled CLI service. Added collapsible model provider sections in V2 settings. Thank you to 1 community contributor: @roborew : fix(desktop): patch @dnd-kit/solid to preserve core scroll plugins ( #38119 )

v1.18.8

v1.18.8

Core Improvements Improved compatibility with newer MCP servers and OAuth flows. Bugfixes Reconnects MCP servers after expired SDK sessions, including concurrent requests. Honors configured MCP OAuth callback ports in mcp debug . Stops sending deprecated sampling defaults to newer Gemini models. Desktop Improvements Added a shortcut to open the project selector in new sessions. Bugfixes Tab keyboard navigation now follows the visible tab order. Opening files now expands Windows folders with trailing separators. Server status uses blue when an integration needs attention. Provider connection st...

[ 重大突破 ]v1.18.5

v1.18.5

Core Bugfixes Improve Claude adaptive thinking handling across more response shapes. Avoid OpenAI Responses phase handling that could break some conversations. Preserve grep symlink paths in search results. ( @remixz ) Preserve Mistral reasoning history across turns. Stabilize Mistral prompt caching. Use the correct prompt cache keys for each SDK. Fix MiniMax M3 thinking variant selection. Desktop Improvements Support the current server terminal transport. Support current-server review data in the desktop app. Update server discovery flows for current servers. Support current-server session ac...

v1.18.6

v1.18.6

Core Bugfixes Fixed branch-specific repository caches so refreshing one reference no longer moves another branch checkout. Desktop Improvements Improved compatibility with the newer client API across directory, project, session, and terminal flows. Bugfixes Fixed legacy MCP state refreshing when opening a V1 workspace. Fixed provider lists not refreshing after connecting a provider or finishing provider OAuth on V1 servers.

v1.18.7

v1.18.7

Desktop Bugfixes Remove the extra titlebar inset in fullscreen on macOS. Keep command palette entries from reappearing incorrectly when shadowed commands are removed. Add scrolling to the project selector dropdown when the list is long. ( @david1gp ) Thank you to 2 community contributors: @ProdigyRahul : fix(ui): keep mutable selects open ( #39027 ) @david1gp : fix(app): add scroll to project selector dropdown ( #39016 )

PR #38252 verification videos

Before/after verification recordings for PR #38252 .

[ 重大突破 ]v1.18.4

v1.18.4

Core Improvements Use adaptive thinking controls for Kimi models on Anthropic-compatible providers, with summarized reasoning output by default. ( @chouqin ) Bugfixes Reduce OpenAI provider header timeouts during slow connection setup. Respect provider-defined reasoning options instead of falling back to the wrong reasoning controls. Restore Azure Cognitive Services endpoint support for Azure-hosted models. Desktop Improvements Sync the embedded terminal theme with the app theme. Improve the review panel so open file tabs can stay aligned with the current diff view. Rewrite the v2 prompt input...

v1.18.3

v1.18.3

Core Improvements Added an Up Arrow shortcut to close the subagent picker when the first item is selected. Desktop Bugfixes Fixed home page scrolling so sticky headers and the session list behave correctly. Fixed startup readiness so WSL server loading is included before the desktop app reports ready. Removed the inactive help button from the app layout. Fixed custom agent selector visibility when custom agents are available. Improvements Home page command palette search can now find and open sessions.

[ 重大突破 ]v1.18.2

v1.18.2

Core Bugfixes Stopped subagents from launching nested subagents by default, with a configurable subagent_depth limit when needed. Improved default reasoning depth for Meta models. Desktop Improvements Added Mod+N as another shortcut for opening a new tab. Bugfixes Restored the Help button in release builds. Kept sessions with null archive times visible instead of dropping them from the home list. Hid the drawer close button on Windows where it conflicts with the window chrome. Thank you to 1 community contributor: @BB-84C : fix(core): tolerate AlreadyExists in FSUtil.ensureDir ( #36542 )

v1.18.0

v1.18.0

Desktop Improvements Completed the Desktop v2 migration, including upgrade handling for the new layout and first-launch onboarding. Added a setting to switch between the new and old Desktop layouts during the transition period. Bugfixes Fixed file views using the wrong background in the v2 layout. Fixed connected project picker positioning when its anchor is still loading. Kept permission auto-accept state separate for each server. Fixed a project picker positioning crash. Kept terminal tab rename focused while editing. Enabled remote sessions to auto-accept permissions correctly. Fixed termin...

v1.18.1

v1.18.1

Desktop Bugfixes Fixed spacing between model provider sections in Settings.

[ 重大突破 ]v1.17.19

v1.17.19

Core Bugfixes Supported OpenAI pro reasoning mode. Disabled response storage by default for xAI Responses. ( @geraint0923 ) Added OAuth support for Luna Responses Lite. Switched to another available org after logging out in the console. Used Codex context limits for GPT-5.6 over OAuth. ( @nabilfreeman ) TUI Bugfixes Forwarded CLI environment variables to the TUI worker. Desktop Bugfixes Removed interface transition changes that were accidentally shipped to dev . Fixed clipped labels and branch tooltips. Stopped the review panel width from jumping when opening or closing it. Focused the prompt ...

[ 重大突破 ]v1.17.20

v1.17.20

Core Bugfixes Removed an obsolete Codex workaround that could interfere with OpenAI Luna Responses Lite requests. Improvements Updated Azure AI support for GPT-5.6.

PR #36567 verification evidence

Automated OpenCode Drive verification artifact for PR #36567 .

[ 重大突破 ]v1.17.17

v1.17.17

Core Bugfixes Improved Meta model handling for reasoning variants and provider requests. Desktop Bugfixes Fixed clipped descenders in model selector labels. Improvements Added a dismissible tabs intro popup and refreshed the help entry point. Updated sub-agent task rows to match the v2 session design more closely. Restyled the revert dock in v2 sessions for clearer restore actions. Added a v2 free-model selector with faster access to more providers.

v1.17.18

v1.17.18

Core Bugfixes Prevent crashes and bad pricing data when GitHub Copilot returns models with a zero billing batch size. Improvements Add a model-specific system prompt for Meta Muse Spark.

[ 重大突破 ]v1.17.16

v1.17.16

Core Bugfixes Exposed reasoning effort variants for Grok models. Improved xAI prompt cache routing and PDF file support in Responses models. Desktop Improvements Added an Open containing folder action for projects on the home screen. Added a composer add menu for files, commands, context, and shell mode without losing draft text. Added a provider setup tip on new sessions when no external providers are connected. Remember review panel mode and selected file per session. Added inline file browser tabs for opening and previewing files from the side panel. Updated desktop translations. Bugfixes K...

v1.17.15

v1.17.15

Core Bugfixes Better classify Z.ai context-window overflow errors so oversized requests surface the right failure mode ( @fengjikui ) Handle unavailable config directories more gracefully when reading config files Desktop Improvements Restore model details tooltips in the model picker ( @arvsrn ) Refresh the v2 command palette to better match the rest of the new desktop UI ( @arvsrn ) Bugfixes Make terminal shortcuts take priority when the terminal is focused Show unread state on tabs with pending questions Keep session tab titles available after reloads while session data is still loading App...

[ 重大突破 ]v1.17.14

v1.17.14

Core Improvements Added a code mode MCP adapter for running confined orchestration scripts against connected MCP tools. Hid the execute tool unless code mode is enabled. Bugfixes Fixed paginated MCP tool catalogs losing tool metadata and output schema validation. Preserved low reasoning effort for OpenRouter small-model variants instead of disabling it. Fixed GitHub Copilot model routing to honor each model's advertised chat or responses endpoint. Fixed session lists to match equivalent instance directories reliably. Fixed Cerebras reasoning replay so earlier assistant reasoning is sent back i...

[ 重大突破 ]v1.17.13

v1.17.13

Core Bugfixes Force reasoning mode for OpenAI-compatible reasoning models so reasoning settings apply reliably on custom deployments Stop replaying stale GitHub Copilot response item IDs, avoiding follow-up request failures Desktop Bugfixes Let question prompts be minimized and restored without dismissing them ( @arvsrn ) Clean up stale empty and old draft store files to reduce desktop state buildup Keep pending question requests open while reviewing them, instead of dismissing them accidentally ( @eXamadeus ) Keep session page failures scoped to the affected tab instead of breaking the whole ...