Skip to content

Changelog

New updates and improvements to OpenCode

  1. v1.3.12 +2

    Add a dedicated system prompt for Kimi models

    Improvements 9

    • TerminalImprove TUI terminal output passthrough so external command output renders more reliably.
    • ExtensionsSkip plugins that do not expose a matching server or TUI entrypoint, warn instead of failing, and apply default options from package exports on install.
    • ExtensionsPin explicit plugin versions during install and block package install scripts from running.
    • CoreEnabled prompt caching and cache token tracking for Google Vertex Anthropic.@major
    • CoreFixed Azure provider options being forwarded correctly after the AI SDK v6 migration.
    • TerminalFixed plugin replace slots mounting content more than once.
    • CoreSubagent tool calls stay clickable while they are pending.
    • CoreImproved storage migration reliability so malformed legacy records or failed migrations do not corrupt upgraded state.
    • TerminalImproved muted text contrast in the Catppuccin themes.
  2. v1.3.9 +1

    Added first-class PowerShell support on Windows

    Improvements

    • CorePlugin installs now preserve JSONC comments in configuration files
    • CoreFixed OPENCODE_DISABLE_CLAUDE_CODE_PROMPT not being respected for project-level CLAUDE.md
    • TerminalImproved variant modal behavior to be less intrusive
    • TerminalAdded theme colors for dialog textarea placeholders
    • CoreFixed plugin entrypoint resolution for paths without leading dot
  3. v1.3.6 +2

    Add prompt slot feature

    Improvements 52

    • CoreUpdate opencode-gitlab-auth to 2.0.1@vglafirov
    • CoreRefactored session processor to use effect-based architecture
    • CoreUse AppFileSystem instead of raw Filesystem for better abstraction
    • CoreUpgrade OpenTUI to version 0.1.91
    • CoreAdjust bash tool description to increase cache hit rates between projects
    • CoreUpdate Effect to version 4.0.0-beta.42
    • CoreRefactor session compaction service to use Effect
    • CoreAdd single target plugin entrypoints
    • CoreUse ChildProcessSpawner instead of Process.spawn for formatting
    • CoreMove more responsibility to workspace routing
    • CoreRefactor Session service to use Effect-based architecture
    • CoreAdd support for AI SDK v6
    • CoreAdd additional overflow error patterns to error handling
    • CoreFix flaky plugin tests by removing mock.module which is not supported in Bun
    • CoreSplit out instance and route through workspaces
    • CoreEffectify Plugin service internals
    • CoreEffectify Skill service internals
    • CoreAdd TUI plugins support
    • CoreRefactor tool registry to yield Config and Plugin services using Effect.forEach
    • CoreIgnore generated models snapshot files
    • CoreReplace async git() with ChildProcessSpawner in VCS module
    • CoreYield services instead of promise facades in Effect refactor
    • CoreFixed web UI bundle build on Windows
    • CoreImprove app startup performance
    • CoreClose MCP transport on failed or timed-out connections
    • CoreUse cachedInvalidateWithTTL for config and bump Effect to beta.37
    • CoreRefactor Config service to use Effect
    • CoreRemove workspace server and WorkspaceContext, improve routing architecture
    • CoreAdd GPT prompt so non-Codex GPT models have their own system prompt modeled after Codex CLI
    • CoreRefactor LSP service with InstanceState using Effect
    • TerminalUse theme color for prompt placeholder
    • TerminalAdd dialog variant menu and improve subagent functionality
    • TerminalOpen dialog for model variant selection instead of cycling
    • TerminalCheck KV theme before falling back to default theme
    • TerminalAdd top spacing to session view and remove obsolete documentation prompt
    • TerminalRestore subagent footer and fix style guide violations
    • TerminalAdd model variant selection dialog
    • TerminalRemove variant cycle display from footer
    • TerminalMove session context into prompt footer
    • DesktopImproved app startup efficiency
    • DesktopUse Azure Artifact Signing for Windows releases
    • DesktopDefault file tree to closed with minimum width
    • DesktopResize layout viewport when mobile keyboard appears@BYK
    • DesktopPersist queued followups across project switches
    • DesktopReduce markdown jank while responses stream in UI
    • DesktopRemove fork session button from app
    • DesktopDefault shell tool to collapsed state
    • DesktopDon't bundle fonts in app
    • TerminalPR #19917: Fixed variant dialog search so typing now properly filters the list of variants
    • CorePR #19758: Fixed token usage double-counting for Anthropic and Amazon Bedrock providers that caused inflated token counts in session metrics
    • CoreFix plugin hooks to properly handle async operations
    • CoreAdjust GPT prompt to be more minimal and fix file reference annoyances
  4. v1.3.3

    Bypass local SSE event streaming in worker for improved performance

    Improvements 15

    • TerminalFix image paste support on Windows Terminal 1.25+ with kitty keyboard enabled
    • DesktopEmbed WebUI directly in the binary with configurable proxy flags
    • DesktopFix agent normalization in desktop app
    • DesktopFix project switch flickering when using keybinds by pre-warming globalSync state
    • DesktopMove message navigation from cmd+arrow to cmd+opt+[ / cmd+opt+] to preserve native cursor movement
    • DesktopAdd createDirectory option to directory picker in Electron app
    • DesktopRemove .json extension from electron-store for seamless Tauri to Electron migration
    • CoreInitial implementation of event-sourced syncing system for session data
    • CoreFix enterprise URL not being set properly during authentication flow
    • CoreClassify ZlibError from Bun fetch as retryable instead of unknown error
    • CoreSkip snapshotting files larger than 2MB to improve performance
    • CoreRespect agent permission configuration for todowrite tool
    • CoreFix DWS workflow tools being silently cancelled due to missing tool approval support
    • CoreFix MCP servers disappearing after transient errors and improve OAuth handling
    • MiscRevert git-backed review modes to restore compatibility with older CLI builds
  5. v1.3.2 +1

    Added Poe as a built-in authentication provider with OAuth and API key support

    Improvements 10

    • Enabled token caching for custom Amazon Bedrock providers
    • Added syntax highlighting support for Kotlin, HCL, Lua, and TOML files
    • Added manual lock/unlock for theme mode
    • Improved startup efficiency
    • Updated Feishu community links for Chinese (zh) locales
    • Improved file tree panel to maintain its minimum width when resized
    • Improved desktop app stability with more robust sidecar process cleanup
    • Changed command palette shortcut to Cmd+K (with Cmd+P still working as fallback)
    • Restored keyboard project switching in open sidebar with proper Enter key activation
    • TerminalAdded heap snapshot functionality allowing users to capture memory snapshots of both TUI and server processes via the "Write heap snapshot" command. Snapshots are saved to tui.heapsnapshot and server.heapsnapshot files.

    Fixes 14

    • Fixed session timeline jumping when scrolling
    • Fixed GitLab Duo Workflow models showing incorrect identity
    • Fixed theme mode switching between dark and light modes
    • Fixed console account URL handling for better navigation
    • Fixed session busy state handling for better responsiveness
    • Fixed stale session hover preview
    • Fixed project hover state
    • Fixed prompt history navigation
    • Fixed filtering of non-renderable part types
    • Fixed ProviderIcon optional chaining issue
    • Fixed process cleanup when closing terminal tabs
    • Fixed batching of multi-file prompt attachments via picker, paste, and drag-drop
    • Fixed patch tool counts visibility when displaying files with long names
    • Fixed project avatar popover flicker when switching projects via sidebar
  6. v1.3.0

    Removed anthropic oauth plugin, see

    Removed anthropic oauth plugin, see: https://github.com/anomalyco/opencode/pull/18186/changes

    Improvements 27

    • ImportantGitLab Agent Platform: GitLab Agent Platform is now fully supported with automatic discovery of workflow models from your GitLab instance. Workflow models can use opencode's local tools (file read/write, shell, etc.) over WebSocket.
    • ImportantGit-backed Session Review: Added git-backed session review modes, enabling users to review uncommitted changes and branch diffs directly within opencode. Git changes are now the default review source with the desktop review tree staying synchronized with your selected source.
    • ImportantMultistep Authentication: TUI and Desktop both support multistep authentication flows which means providers like Github Copilot for Enterprise deployments now work as intended
    • ImportantInteractive Update Flow: Major and minor updates now show a confirmation dialog before upgrading, allowing you to review changes before updating. You can also skip specific versions if you prefer to stay on your current release.
    • ImportantNode.js Support: opencode can now run on Node.js in addition to Bun, with a dedicated Node.js entry point and build script that bundles the server with database migrations.
    • Desktop App ImprovementsProject Navigation: Navigate between projects faster using keyboard shortcuts (cmd+option+arrow keys).
    • Desktop App ImprovementsFile Uploads: Desktop app now supports file type filters and multiple file selection when uploading files.
    • Desktop App ImprovementsWorkspace Switching: Fixed visual flickering when switching between workspaces or projects - the interface now transitions smoothly without showing loading spinners during navigation.
    • Desktop App ImprovementsSidebar Resize: Fixed issue where sidebar would automatically close when being resized to minimum width. The sidebar now clamps at minimum width instead of closing.
    • Desktop App ImprovementsLoading States: Improved loading state management across the app for smoother, more consistent feedback during async operations.
    • Desktop App ImprovementsConsole Login: Fixed console device login to properly handle pending authorization states, ensuring the login process continues polling instead of failing while waiting for approval.
    • Terminal & EditorTerminal Rename: Fixed terminal renaming from the context menu, which previously failed due to dropdown focus conflicts.
    • Terminal & EditorTerminal Error Recovery: Fixed an issue where terminals would become unresponsive when the server returned a "not found" error for terminal sessions. Terminals now properly reinitialize and remain interactive.
    • Terminal & EditorPaste Operations: Paste operations now preserve raw byte data, enabling proper handling of binary content and special characters when pasting into the terminal.
    • Terminal & EditorPrevent Duplicate Submits: Fixed issue where rapidly pressing Enter could submit prompts multiple times. Now ignores repeated Enter submits.
    • Providers & ModelsxAI Responses API: Improved xAI reasoning models performance in long multi-turn conversations by switching to the responses API with encrypted content support.
    • Providers & ModelsGPT Model List: Updated the GPT subscription model list with the latest available models.
    • Providers & ModelsVertex AI Fix: Fixed Vertex AI errors with non-thinking models (like gemini-2.0-flash) by only applying thinking configuration to models that support reasoning capabilities.
    • Providers & ModelsvLLM Context Overflow: Improved error detection for vLLM context overflow errors, providing clearer feedback when context limits are exceeded during inference.
    • Providers & ModelsCost Chunk Format: Fixed streaming error where cost data was sent in upstream provider format instead of client-requested format, preventing validation errors when mixing provider formats.
    • Review & CollaborationFile Attachments: Fixed file and image attachments being silently lost when reusing or forking a previous prompt with attachments.
    • Review & CollaborationSnapshot Revert: Fixed snapshot revert issues where overlapping file changes could apply the wrong patch hash, and resolved a sorting bug in hidden file ordering.
    • Authentication & AccountStale Credentials: Fixed stale server URL and email on re-login. Previously, logging into a different server could fail due to cached credentials from a previous environment.
    • Authentication & AccountCodex Access: OAuth plan users can now access codex instructions freely without the previous whitelisting restrictions.
    • UI/UX ImprovementsTheme Improvements: Improved UI contrast and reduced brightness of hover/active elements for better readability and reduced eye strain.
    • UI/UX ImprovementsSystem Prompt: Cleaner AI responses with a streamlined fallback system prompt that removes unnecessary boilerplate text.
    • UI/UX ImprovementsAgent & Skill Ordering: More consistent AI responses with improved prompt caching by stabilizing the order of agents and skills in system prompts.

    Fixes 7

    • UI/UX ImprovementsRemote Server Switching: Fixed issues when switching between remote servers that caused stale project data, broken terminal spawning, and sidebar showing incorrect projects.
    • UI/UX ImprovementsWindows Commands: Fixed Windows command execution for shims (.cmd/.bat files) to resolve failures during upgrades, uninstalls, IDE installs, and LSP launches.
    • UI/UX ImprovementsTool Discovery: Fixed tool discovery for npm-installed packages by including the cache bin directory in PATH lookups, ensuring locally installed tools are properly found.
    • UI/UX ImprovementsError Messages: Tool and session error messages now display in clean, human-readable format instead of showing confusing technical error strings.
    • UI/UX ImprovementsChunk Timeout: Disabled chunk timeout by default to prevent issues across various use cases; users can still enable it in their configuration if needed.
    • UI/UX ImprovementsEvent Ordering: Events in real-time streams now process sequentially in order, ensuring consistent and predictable event display instead of potentially out-of-order delivery.
    • UI/UX ImprovementsDesktop Stability: Improved desktop stability with more reliable workspace and session routing, fixing sidebar selection mismatches and race conditions when switching projects.
  7. v1.2.27

    Fixed VCS watcher if statement logic

    Improvements 11

    • CoreDelete legacy permission module
    • CoreClean up pending entry when question is aborted
    • CoreRemove SIGHUP exit handler
    • CoreEffectify PermissionNext and fix InstanceState ALS bug
    • CoreInline branded ID schemas
    • CoreRefactor QuestionService to use effects
    • CoreEnsure that compaction message is tracked as agent initiated
    • CoreIncrease default chunk timeout from 2 minutes to 5 minutes
    • CoreFix lost sessions across worktrees and orphan branches@michaeldwan
    • DesktopRemove open label from UI
    • DesktopHandle multiline web paste in prompt composer
  8. v1.2.26

    Scaffold effect-to-zod bridge for schema conversion

    Improvements 31

    • CoreSerialize configuration for Bun installations
    • CoreSupport text attachments in app
    • CorePaginate session history for improved server performance
    • CoreSessions lost after git init in existing project@michaeldwan
    • CoreFail fast on config dependency installs in end-to-end tests
    • CoreFilter empty content blocks for Bedrock provider@Tom-Ryder
    • CoreRefactor ProviderAuthService to use Effect pattern
    • CoreAdd console account subcommands to CLI
    • CoreRefactor AuthService to use Effect pattern
    • TerminalHide console command from help output
    • TerminalRemove OpenRouter warning
    • TerminalReorder provider list in providers login
    • DesktopModel selection now persists by session
    • DesktopPolish prompt composer controls
    • DesktopSynchronize sidebar state across the application
    • DesktopUse new-session icon in sidebar buttons
    • DesktopAvoid clipping new session during sidebar animation
    • DesktopAnimate titlebar controls on sidebar open
    • DesktopRestore sidebar dash and sync session spinner colors
    • DesktopFork should copy prompt into new session
    • DesktopImproved sidebar spacing and session list spinner transition
    • DesktopTerminal cloning without retry
    • DesktopScroll falls behind prompt input
    • DesktopAdjust spacing in todo list component
    • DesktopBetter optimistic prompt submit in app
    • DesktopSynchronize internationalization translations
    • DesktopUse cursor session history loading for improved performance
    • DesktopList item background colors fixed in app
    • DesktopStabilize todo dock end-to-end tests with composer probe
    • DesktopDesktop multi-window support added to Electron
    • DesktopIncrease CI end-to-end test workers
  9. v1.2.25

    Support non-OpenAI Azure models that use completions endpoints

    Improvements 57

    • CoreFlow branded ProviderID and ModelID through internal signatures
    • CoreBrand ProviderID and ModelID types for improved type safety
    • CoreRemove external sourcemap generation to reduce build artifacts
    • CoreBrand PermissionID, PtyID, QuestionID, and ToolID types for improved type safety
    • CoreAdd ARM64 release targets for Windows CLI and desktop
    • CoreBrand PartID through Drizzle and Zod schemas
    • CoreBrand WorkspaceID through Drizzle and Zod schemas
    • CoreResolve symlinks in Instance cache to prevent duplicate contexts@jmylchreest
    • CoreBrand SessionID through Drizzle and Zod schemas
    • CoreRestore plugin serverUrl getter so plugins can connect to local server
    • CoreRe-enable snapshot in ACP@noamzbr
    • CoreAdjust skill presentation to reduce token usage
    • CoreBrand ProjectID through Drizzle and Zod schemas
    • CoreTighten effect-based account flows
    • CoreRead stdout and stderr in PackageRegistry.info before waiting for process to exit@ghost91-
    • CoreImprove skill presentation to agent to increase likelihood of skill invocations
    • CoreHide Windows background consoles in Electron
    • CoreAdd GOOGLE_VERTEX_LOCATION environment variable support for Vertex AI@SOUMITRO-SAHA
    • CoreImplement resilient organization data fetching with error handling
    • CoreMake account login upgrades safe while adding multi-account workspace authentication
    • CoreDon't permit access to system directories
    • CoreAllow passing workspaceID into session create endpoint
    • CoreFixed chunk timeout when processing LLM stream
    • CoreMake worktrees read the project ID from local workspace
    • CoreAdd thinking variants support for SAP AI provider@jerome-benoit
    • CoreUpgrade OpenTUI to v0.1.87
    • CoreFix OAuth auto-connect failing on first MCP connection@domdomegg
    • CoreExtract createApp function for server initialization
    • CorePut workspace routing behind OPENCODE_EXPERIMENTAL_WORKSPACES flag
    • CoreReplace Bun semver with npm semver package
    • CoreReplace Bun shell with direct spawn calls in core flows
    • CoreChange pathToFileURL imports from bun to url module
    • CoreMultiple jdtls LSPs eating memory in Java monorepos@stevoland
    • TerminalUse parse() at boundaries instead of manual make() for imports
    • TerminalWait for model store before auto-submitting --prompt in TUI@altendky
    • TerminalHandle error when creating a session in TUI
    • DesktopFix broken mobile sidebar sizing issue in workflows mode@5w14
    • DesktopFixed terminal animation in application
    • DesktopFix sidebar quirks in app
    • DesktopRework default server initialization and connection handling in desktop client
    • DesktopFix terminal e2e test flakiness by implementing a real terminal driver
    • DesktopSet default WebSocket username and fix terminal spawn lifecycle issues in desktop app@OpeOginni
    • DesktopTheme Windows titlebar overlay in Electron
    • DesktopGuard comment accessor in message timeline
    • DesktopRe-focus prompt after terminal opens in slash-terminal test
    • DesktopRestore to message and fork session functionality in app
    • DesktopTodos not clearing in app
    • DesktopSkip editor reconcile during IME composition@ysm-dev
    • DesktopSimplify review pane
    • DesktopTrim session render work in app for improved performance
    • DesktopFix tests in app package
    • DesktopFixed terminal jank in the app
    • DesktopFixed terminal focus issues and reduced jank in the app
    • DesktopAdd debug window to app
    • DesktopDisplay development statistics in the application
    • DesktopTerminal state corruption fixed
    • SDKFix ESM imports for @opencode-ai/plugin
  10. v1.2.24

    Add initial support for workspaces into the TUI

    Improvements

    • CoreSend context-1m-2025-08-07 beta header to GitLab to enable 1M context window@Krule
    • CoreAdd Copilot GPT-5.4 xhigh support
    • DesktopFix scroll jitter and loop issues in app
    • DesktopSession title turn spinner now displays correctly
    • DesktopDismiss toast notifications when questions or permissions are resolved@neriousy