OpenCode cli
ComponentCommand-line interface updates for OpenCode. New commands, flags, arguments, and terminal integration features.
All CLI Features
- Enabled making dialog keybinds configurable in the TUI.(v1.1.23)
- Allowed the provider-level store option to be set.(v1.1.23)
- Updated the TUI console with a black plan selection, light rays effect, and mobile styles.(v1.1.23)
- Introduced a new application layout for the desktop client.(v1.1.23)
- Added Provider Icons support in the desktop application.(v1.1.20)
- Introduced Ask Question Tool Support in the desktop application.(v1.1.20)
- Added Undertale and Deltarune built-in themes.(v1.1.20)
- Added support for GitLab Duo Agentic Chat Provider.(v1.1.20)
- Added plan mode with enter and exit tools(v1.1.19)
- Added Ask Question tool support for the desktop application(v1.1.19)
- Added GitLab Duo Agentic Chat provider support(v1.1.19)
- Added Undertale and Deltarune built-in themes (Community Contributor)(v1.1.19)
- Added family support for GPT 5.2 Codex in the Codex plugin(v1.1.19)
- Enabled setting the serverPassword directly within the desktop application.(v1.1.17)
- Enabled support for debug tool calling directly in the CLI.(v1.1.16)
- Implemented spawning of a local server with a password in the desktop application.(v1.1.16)
- Added nova-2 to the list of region prefix models.(v1.1.16)
- Added password authentication support to improve server security.(v1.1.15)
- Added image preview support for image attachments in the desktop application.(v1.1.14)
- Added user message badges visible on hover in the desktop application.(v1.1.14)
- Enabled mouse hover and click support for the autocomplete feature in the TUI.(v1.1.14)
- Enabled mouse hover and click support for the questions tool in the TUI.(v1.1.14)
- Added ability to fork sessions in the desktop application.(v1.1.13)
- Enabled tracking of file modifications in ACP.(v1.1.13)
- Enabled passing sessionID to chat.system.transform.(v1.1.13)
- Enabled support for configuring the default server URL for the desktop application.(v1.1.13)
- Enabled API key prompt for Bedrock during authentication login.(v1.1.10)
- Added interactive question tool for gathering user preferences and clarifying instructions(v1.1.7)
- Enabled disabling of .claude prompt and skills loading via configuration(v1.1.7)
- Added ability to hide subagents from the primary agent's system prompt.(v1.1.6)
- Introduced theme functionality in the TUI.(v1.1.6)
- Added agent color highlighting to the inline task tool ASCII character and agent name in the TUI.(v1.1.6)
- Added support for system certificate authorities via the --use-system-ca flag in execArgv.(v1.1.6)
- Made the General SubAgent visible in the agent list.(v1.1.6)
- Added audio input and camera permissions to desktop application entitlements.(v1.1.6)
- Added support for URL-based instructions.(v1.1.4)
- Enabled loading of OPENCODE_CONFIG_DIR AGENTS.md into the system prompt.(v1.1.4)
- Added frecency-based file autocomplete to the CLI.(v1.1.4)
- Added keyboard shortcut 'c' to copy device code during the OAuth flow.(v1.1.4)
- Added a 'view' button to open files directly from the review sidebar in the Desktop application.(v1.1.4)
- Enabled opening the review sidebar when selecting a file from the picker in the Desktop application.(v1.1.4)
- Added middle-click functionality to close tabs in the review sidebar.(v1.1.4)
- Added support for jp. prefix in Amazon Bedrock cross-region inference profiles.(v1.1.3)
- Added configuration options and authentication precedence for Bedrock.(v1.1.3)
- Enabled expanding directory on Tab and selecting on Enter in TUI autocomplete.(v1.1.3)
- Added system theme resolution and event handling to the TUI.(v1.1.3)
- Enabled storing image attachments directly within the desktop application.(v1.1.3)
- Added CLI installation capability to the desktop application.(v1.1.3)
- Added session search functionality with debounced input and server-side filtering(v1.1.2)
- Added SVG preview support in the session viewer(v1.1.2)
- Implemented auto-scroll for the active command in the slash popover(v1.1.2)
- Added a home icon to the responsive menu in the desktop application(v1.1.2)
- Added AppStream MetaInfo file for the desktop application(v1.1.2)
- Introduced granular permission control using object syntax with glob pattern matching for tools like bash and edit.(v1.1.1)
- Enabled setting blanket permissions using a simple string or setting all permissions at once via a single string value.(v1.1.1)
- Added sandbox support for git worktrees to allow working in multiple directories per project.(v1.1.1)
- Added Kotlin LSP integration for enhanced Kotlin development support.(v1.1.1)
- Added reject message support to permission dialogs for clearer user feedback.(v1.1.1)
- Added escape key handling to permission dialogs for improved keyboard navigation.(v1.1.1)
- Added TUI session selection API endpoint for navigation.(v1.1.1)
- Added variant support for minimal mode.(v1.1.1)
- Added image preview support in the session viewer on Desktop.(v1.1.1)
- Added /compact session command to compress conversation history on Desktop.(v1.1.1)
- Added file context feature to the Desktop application.(v1.1.1)
- Added a new `debug agent` subcommand to the CLI to allow testing agents in isolation.(v1.0.220)
- Added Gemini 3 Flash to the list of fast models.(v1.0.219)
- Enabled support for MCP prompts as slash commands.(v1.0.219)
- Added model usage statistics, including input/output token breakdown, to the stats command.(v1.0.219)
- Added the rustfmt formatter for Rust files.(v1.0.219)
- Added ability to open projects directly in the web interface(v1.0.210)
- Enabled reading of global Claude skills alongside project-specific skills(v1.0.210)
- Added a variants toggle for configuration options(v1.0.210)
- Exposed the server URL directly to plugins for easier integration(v1.0.210)
- Added system notifications support to the desktop application(v1.0.210)
- Added readline shortcuts functionality to the desktop application(v1.0.210)
- Added settings to control thinking and tool call visibility for /copy and /export commands.(v1.0.205)
- Introduced bash shell completions for easier command line usage.(v1.0.205)
- Added path traversal protection to File.read and File.list operations.(v1.0.204)
- Added ability to disable the spinner animation.(v1.0.204)
- Added the shfmt formatter for shell scripts.(v1.0.204)
- Added configurable compaction settings allowing users to disable auto-compaction and pruning via config instead of flags.(v1.0.204)
- Added MCP UI.(v1.0.204)
- Added support for GitHub issues and workflow_dispatch events.(v1.0.204)
- Added prompt stashing capability for managing prompts.(v1.0.194)
- Enabled console copy-to-clipboard functionality via opentui.(v1.0.194)
- Added support for the Cloudflare AI Gateway provider.(v1.0.194)
- Added standard CLI flags (--help, --version, --no-modify-path) for installation.(v1.0.194)
- Added per-agent filtering capability to the skill tool description.(v1.0.191)
- Enabled the compaction hook to replace the prompt entirely within plugins.(v1.0.191)
- Added support for schedule events(v1.0.185)
- Added syntax highlighting for .ets files(v1.0.185)
- Added verification ensuring at least one primary agent is enabled(v1.0.183)
- Added experimental support for the Ty language server.(v1.0.168)
- Introduced a fork slash command for keyboard-friendly session forking in the TUI.(v1.0.168)
- Enabled shell mode for the desktop application.(v1.0.168)
- Added a custom update toast notification for the desktop application.(v1.0.168)
- Added OIDC_BASE_URL support for custom GitHub App installations.(v1.0.168)
- Added a copy logs button to the server spawn failure dialog in the Tauri application.(v1.0.167)
- Added startup error display in the desktop client(v1.0.165)
- Added optimistic prompt submission in the desktop client(v1.0.165)
- Enabled batch operations for editing and marking as 'todoread' with clarified error messages(v1.0.165)
- Added experimental `session.compacting` hook for pre-compaction context injection(v1.0.165)
- Added the ability to override the 32k default output token limit using the `OPENCODE_EXPERIMENTAL_OUTPUT_TOKEN_MAX` environment variable(v1.0.165)
- Added support for Inter and IBM Plex Mono fonts in the desktop client(v1.0.165)
- Added the Lucent Orange theme(v1.0.165)
- Added session sharing feature in the desktop client(v1.0.165)
- Added the ability to disable the terminal title using the `OPENCODE_DISABLE_TERMINAL_TITLE` environment variable(v1.0.165)
- Added task tool execution hooks and command context tracking for plugins(v1.0.165)
- Added configurable mentions input for GitHub(v1.0.165)
- Added `viewportOptions` to scrollbox for padding adjustments to avoid scrollbar overlap(v1.0.165)
- Added ability to load more sessions per project using a button in the desktop app(v1.0.164)
- Added experimental oxfmt formatter support(v1.0.164)
- Enabled shell alias expansion in the ! command(v1.0.164)
- Restored the existing experimental.chat.messages.transform hook and added the new experimental.chat.system.transform hook for advanced message manipulation.(v1.0.154)
- Added the experimental.continue_loop_on_deny configuration option, allowing agents to continue processing loops even when the user denies specific actions.(v1.0.154)
- Enabled automatic prompt submission when using the --prompt flag in the CLI.(v1.0.154)
- Added Gleam LSP and formatter support.(v1.0.153)
- Added topK function to transform, with temperature defaults for GLM and Minimax.(v1.0.153)
- Added ARM64 Docker image support.(v1.0.153)
- Added Dockerfile language server.(v1.0.153)
- Added TexLab language server and latexindent formatter.(v1.0.153)
- Enabled support for GITHUB_TOKEN and skipping OIDC in GitHub authentication.(v1.0.153)
- Added the --session flag to the attach command.(v1.0.153)
- Added experimental "chat.messages.transform" hook for message processing.(v1.0.151)
- Enabled showing an indicator for chats currently in progress within the sessions list.(v1.0.151)
- Added support for the super modifier (Command/Windows key) in keybinds, enabling shortcuts like super+z for undo and super+shift+z for redo.(v1.0.150)
- Enabled custom keybindings for all textarea actions in the input area via configuration.(v1.0.147)
- Added support for additional default input keybindings including Ctrl+Right/Left for word navigation, Ctrl+D for character deletion, and Alt+D for word deletion.(v1.0.147)
- Added Cerebras integration header with opencode identifier(v1.0.144)
- Enabled icon discovery feature by default in the Tauri app(v1.0.144)
- Added support for models.dev family of models(v1.0.144)
- Used |- to denote intermediate sub-agent steps for clarity(v1.0.144)
- Added CLI arguments to the agent create command (--path, --description, --mode, --tools) to enable scripting agent creation.(v1.0.142)
- Enabled Windows support for shell mode, allowing execution of shell commands (! command) via cmd.exe and PowerShell.(v1.0.142)
- Added Biome LSP support for enhanced language tooling.(v1.0.141)
- Enabled setting custom colors for individual projects.(v1.0.141)
- Introduced the ability to assign custom names and icons to projects.(v1.0.141)
- Added the OPENCODE_EXPERIMENTAL_BASH_DEFAULT_TIMEOUT_MS environment variable to configure the timeout for bash commands.(v1.0.141)
- Added support for three new themes: "orng", "catppuccin-macchiato", and "mercury.com".(v1.0.137)
- Enabled the ability to toggle MCP servers directly within the TUI.(v1.0.137)
- Added support for the bash-language-server LSP.(v1.0.137)
- Introduced support for the terraform-ls language server and formatter.(v1.0.137)
- Added OCaml LSP support.(v1.0.137)
- Added ocamlformat support.(v1.0.137)
- Added PDF support to the read tool.(v1.0.137)
- Added an optional scrollbar to the session chat interface.(v1.0.137)
- Enabled dynamic terminal window titles.(v1.0.137)
- Added an uninstall command.(v1.0.137)
- Added support for controlling thinking text opacity via themes.(v1.0.137)
- Added an experimental plugin hook for text completion.(v1.0.137)
- Added OAuth authentication support for remote MCP servers.(v1.0.137)
- Restored the experimental flag for websearch/codesearch tools.(v1.0.137)
- Added maximum steps configuration for supervisor and sub-agents(v1.0.134)
- Added experimental OpenTelemetry configuration option to enable OTEL spans(v1.0.134)
- Added Vercel theme(v1.0.134)
- Added support for the SAP AI Core provider.(v1.0.133)
- Enabled optional prompt input when using the GitHub Action.(v1.0.133)
- Added the experimental.primary_tools setting to allow users to set tools that should only be available to primary agents(v1.0.130)
- Added the messages_last_user command to scroll the TUI to the last user message(v1.0.130)
- Added the tool_details keybind with no default setting(v1.0.130)
- Added basic session list command(v1.0.129)
- Added toggle to hide username in the TUI(v1.0.129)
- Added OPENCODE_EXPERIMENTAL_DISABLE_COPY_ON_SELECT environment variable(v1.0.129)
- Added an overridable review slash command for custom review workflows.(v1.0.127)
- Enabled the ability to toggle the visibility of tool details.(v1.0.127)
All CLI Bug Fixes
- Fixed a crash/error when processing the title in a session summary by ensuring the agent exists first.(v1.1.23)
- Fixed an issue where ConfigMarkdown parsing failures did not show a toast error message.(v1.1.23)
- Fixed graceful handling of broken symlinks when using the grep tool.(v1.1.23)
- Fixed an issue related to the Codex ID.(v1.1.23)
- Fixed CJK word wrapping and Thai text rendering in non-tmux environments by upgrading OpenTUI to v0.1.73.(v1.1.23)
- Fixed the sidebar toggle functionality on the desktop application.(v1.1.23)
- Fixed the thinking animation opacity and improved its design on desktop.(v1.1.23)
- Fixed session icon and name alignment issues on desktop.(v1.1.23)
- Fixed the current session background color on desktop.(v1.1.23)
- Fixed the position of the new session tooltip and added a keyboard shortcut for it.(v1.1.23)
- Fixed workspace name color in the desktop UI.(v1.1.23)
- Fixed avatar button states on desktop.(v1.1.23)
- Fixed recent sessions title color on desktop.(v1.1.23)
- Fixed project dropdown labels and sorting order on desktop.(v1.1.23)
- Fixed avatar background color on desktop.(v1.1.23)
- Fixed search bar functionality in the desktop header.(v1.1.23)
- Fixed layout issues across the desktop application.(v1.1.23)
- Fixed stale sessions appearing in the new desktop layout.(v1.1.23)
- Fixed an issue where the opencode-cli process was being killed upon development mode restart.(v1.1.23)
- Fixed the behavior of the "load more" button in the desktop sidebar.(v1.1.20)
- Fixed plan mode functionality when the user is not in a git worktree.(v1.1.20)
- Skipped sending duplicate system prompts during Codex OAuth sessions.(v1.1.20)
- Fixed Docker image issue in TUI tips following an SST rename.(v1.1.20)
- Fixed TUI operation when the OPENCODE_SERVER_PASSWORD environment variable is set.(v1.1.20)
- Deduplicated file references included in sent prompts.(v1.1.20)
- Fixed a memory leak in the TUI Footer component by tracking all timeouts.(v1.1.20)
- Added missing metadata() and ask() definitions to the ToolContext type in the SDK.(v1.1.20)
- Added persist-credentials: false to workflow templates for GitHub fixes.(v1.1.20)
- Fixed an issue where provider icons would revert on the select model dialog in the desktop app.(v1.1.20)
- Added Plugin Mocks to Provider Tests.(v1.1.20)
- Fixed an issue with duplicate radio button icons in the CLI MCP authentication flow.(v1.1.20)
- Fixed an issue where Shift+Enter in the prompt input would cause a stuck state before the IME check.(v1.1.20)
- Updated the User-Agent string in webfetch to the latest Chrome version.(v1.1.20)
- Fixed an issue causing file listing problems in the application.(v1.1.20)
- Corrected layout-bottom icons in the UI.(v1.1.20)
- Fixed duplicate radio button icon in the MCP authentication CLI interface(v1.1.19)
- Fixed prompt input getting stuck when using Shift+Enter before IME check in the desktop application(v1.1.19)
- Fixed resource leaks by ensuring the existing MCP client is closed before reassignment(v1.1.19)
- Fixed state issue where keys were not deleted from recordsByKey upon instance disposal(v1.1.19)
- Fixed provider icon reverting unexpectedly on the select model dialog in the desktop app(v1.1.19)
- Fixed Homebrew auto-upgrade functionality.(v1.1.17)
- Fixed an issue in the TUI where question tool keybindings were active even when a dialog was open.(v1.1.17)
- Fixed macOS desktop application to correctly kill existing OpenCode CLI processes upon launch.(v1.1.17)
- Fixed desktop application to provide PTY socket authentication when available from the desktop.(v1.1.17)
- Fixed an issue where memo-based items were incorrectly tracked in useFilteredList, potentially affecting async function based lists.(v1.1.17)
- Fixed an error where write operations failed when updating the schema in the OpenCode configuration.(v1.1.16)
- Resolved an issue where the maximum completion tokens limit caused errors when using the Cloudflare provider.(v1.1.16)
- Fixed a race condition that occurred when setting the API key by ensuring auth.set is awaited.(v1.1.16)
- Fixed an issue where the `mcp add` command did not actually modify the OpenCode configuration.(v1.1.16)
- Prevented the display of "[object Object]" errors in the console output.(v1.1.16)
- Fixed an issue where agent task permissions were not respected for nested sub-agents.(v1.1.16)
- Fixed missing arguments when spawning the Windows Tauri CLI.(v1.1.16)
- Fixed an issue where prompts were submitted unintentionally when switching sessions in the TUI.(v1.1.16)
- Fixed an issue where the initialization of hashes.json did not use the per-system format for Nix builds.(v1.1.16)
- Fixed an issue where the formatter now uses Biome check instead of format to correctly include import sorting.(v1.1.16)
- Fixed HTTP exception handling order to prevent NamedError from masking actual HTTP exceptions.(v1.1.15)
- Fixed model selection in title generation to correctly use the user's selected model instead of the assistant's model.(v1.1.15)
- Fixed autocomplete reopening unexpectedly after backspace deletes a space in the terminal UI.(v1.1.15)
- Fixed layout jump occurring in the TUI when toggling tips visibility.(v1.1.15)
- Fixed prompt reference initialization in the TUI to prevent undefined reference errors.(v1.1.14)
- Fixed the cursor position in the TUI when pasting single-line text.(v1.1.14)
- Fixed the jumping of the highlighted row in slash command autocomplete in the TUI.(v1.1.14)
- Fixed an issue where the OAuth URL was not copied when the device code was unavailable.(v1.1.14)
- Fixed checking worktree for external_directory permission in subdirectories.(v1.1.14)
- Fixed command palette incorrectly highlighting items on mouse hover in the TUI.(v1.1.13)
- Fixed mouse hover and click functionality on prompt input autocomplete in the desktop app.(v1.1.13)
- Fixed desktop build failure caused by a missing import.(v1.1.13)
- Fixed an issue where card errors could not be selected in the desktop app.(v1.1.13)
- Fixed an issue where telemetry was enabled in the PHP language server.(v1.1.13)
- Fixed an issue where the 'none' variant was incorrectly included for gpt-5.2-codex.(v1.1.13)
- Fixed ripgrep searches to follow symlinks by default.(v1.1.13)
- Fixed an issue where the serverDisplayName function performed an unnecessary split operation in the desktop app.(v1.1.13)
- Fixed text editing shortcuts not working in search dialogs on macOS.(v1.1.13)
- Fixed TUI component props.ref initialization by moving it to onMount.(v1.1.13)
- Fixed broken forked sessions with compactions caused by missing parent-child message references.(v1.1.10)
- Fixed model dialog search issues in favorites/recents list and prevented deprecated models from appearing.(v1.1.10)
- Fixed silent termination when configuration errors occurred by reporting them instead.(v1.1.10)
- Fixed capability detection and Kitty keyboard support issues by upgrading OpenTUI to v0.1.71.(v1.1.10)
- Fixed issue where normal transform options conflicted with small model options when generating titles(v1.1.7)
- Fixed configuration precedence so that local configuration correctly overrides remote configuration(v1.1.7)
- Fixed crash by cleanly restoring terminal state upon fatal error exit in TUI(v1.1.7)
- Fixed permission rework issue by restoring the showDetails check in TUI(v1.1.7)
- Fixed TUI issue where forked message text was not being inserted into the prompt(v1.1.7)
- Fixed TUI button text visibility in orange themes by adding selectedListItemText(v1.1.7)
- Fixed TUI autocomplete height constraint to use available screen space(v1.1.7)
- Fixed permission selection text color by using the selectedForeground color value(v1.1.7)
- Fixed OAuth discovery by using the correct authorization server URL for MCP(v1.1.7)
- Fixed custom models without a valid release_date being shown in the web UI model selector(v1.1.7)
- Fixed external links on desktop to open in the default browser(v1.1.7)
- Fixed pasting images when the input field is empty in the desktop application.(v1.1.6)
- Fixed macOS application entitlements configuration.(v1.1.6)
- Fixed session navigation when using keyboard shortcuts in the desktop application.(v1.1.6)
- Fixed escaping backticks when passing commands to PowerShell in the TUI.(v1.1.6)
- Restored correct attach session lookup behavior in the TUI.(v1.1.6)
- Fixed encoding of non-ASCII directory paths in HTTP headers.(v1.1.6)
- Fixed title generation for subtask-only messages to correctly extract user prompts instead of generic tool execution descriptions.(v1.1.4)
- Ensured that 'name' is not being sent in the request body for custom agents.(v1.1.4)
- Restored correct skill filtering based on agent permissions.(v1.1.4)
- Fixed missing await call for available skills within the skill tool.(v1.1.4)
- Prevented Java Language Server path checks from throwing errors.(v1.1.4)
- Added automatic assignment of the jp. prefix for the Tokyo region (ap-northeast-1).(v1.1.4)
- Fixed copy and paste functionality within the terminal on the Desktop application.(v1.1.4)
- Fixed an issue where @pierre/diffs would crash if a diff contained undefined text.(v1.1.4)
- Fixed an issue where opening links would sometimes not open in a new tab or browser.(v1.1.4)
- Fixed an issue where sidebar title padding caused a scrollbar edge case.(v1.1.4)
- Fixed an issue where using current_binary() was necessary to support symlinked executables.(v1.1.4)
- Fixed an issue where large messages caused problems on the Desktop application.(v1.1.4)
- Fixed long-running processes freezing the terminal within the application.(v1.1.3)
- Fixed terminal flakiness issues experienced in the desktop application.(v1.1.3)
- Fixed prompt input covering content in the desktop application interface.(v1.1.3)
- Fixed image dragging functionality within the project edit dialog.(v1.1.3)
- Fixed flicker and navigation issues when collapsing or expanding projects in the app.(v1.1.3)
- Fixed unintended submits occurring during IME composition.(v1.1.3)
- Fixed Lucent Orange background transparency issue for slash commands in the TUI.(v1.1.3)
- Fixed image dragging in the project edit dialog.(v1.1.3)
- Fixed permission rule matching to correctly use the permission field instead of the pattern field(v1.1.2)
- Fixed permission evaluation to use rule-based matching instead of wildcard patterns(v1.1.2)
- Handled skill scan failures for .claude files gracefully(v1.1.2)
- Handled the case where big-pickle is unavailable as a fallback(v1.1.2)
- Prevented the main model thinking variant from applying to the small model(v1.1.2)
- Fixed symmetric padding in the TUI input field(v1.1.2)
- Prevented session list rows from wrapping to two lines in the TUI(v1.1.2)
- Fixed optional session access to prevent runtime errors in the TUI(v1.1.2)
- Fixed the responsive menu in the desktop application(v1.1.2)
- Fixed custom slash commands not showing on initial / invocation(v1.1.2)
- Fixed a few mobile screen size issues(v1.1.2)
- Fixed dependency installation and git worktree branch creation issues.(v1.1.1)
- Fixed an issue in the codebase (general fix).(v1.1.1)
- Fixed Cloudflare AI Gateway SDK chat undefined error.(v1.1.1)
- Fixed memory leaks in session management.(v1.1.1)
- Fixed TUI permission tests for the new evaluate function signature.(v1.1.1)
- Fixed system theme diff highlighting in the TUI.(v1.1.1)
- Fixed Windows fallback for the "less" command in the session list.(v1.1.1)
- Fixed import command regex to properly handle file paths.(v1.1.1)
- Fixed stats command day calculation and time filtering.(v1.1.1)
- Fixed scroll position restoration in the Desktop application.(v1.1.1)
- Fixed editing projects in the desktop application.(v1.1.1)
- Fixed handling of duplicate PR creation when an agent creates a PR.(v1.1.1)
- Fixed an issue where plugin and mode glob patterns were incorrect.(v1.0.220)
- Fixed the desktop application not rendering large sessions correctly.(v1.0.220)
- Fixed MDNS failures that occurred when a service was already registered.(v1.0.219)
- Resolved an issue where the tool would error when reading plural resource types.(v1.0.219)
- Fixed OpenAI variants for Codex models.(v1.0.219)
- Ensured model variants function correctly for completely custom models.(v1.0.219)
- Fixed module resolution issues by using a named import for bonjour-service(v1.0.210)
- Prevented corruption of the model list caused by SolidJS reactivity issues in the TUI(v1.0.210)
- Fixed incorrect theme command documentation in tui.mdx(v1.0.210)
- Fixed the stats command so it correctly calculates statistics for the current day when using the `--days 0` flag.(v1.0.205)
- Resolved issue where the TUI /models command only searched the top 5 recent models; it now searches all recent models.(v1.0.205)
- Fixed an issue preventing copy and paste operations within the terminal interface.(v1.0.205)
- Fixed drag-and-drop functionality so that dragging a file over the entire body now correctly attaches it.(v1.0.205)
- Fixed the GitHub action to properly handle response parts that are not text.(v1.0.205)
- Fixed the compact command so it now properly cleans up revert state after a revert operation.(v1.0.204)
- Fixed compaction configuration checks to properly respect user settings.(v1.0.204)
- Fixed the `opencode web` baseURL error.(v1.0.204)
- Fixed the upgrade command to use the gh releases page if the installation method is not npm, bun, or pnpm.(v1.0.204)
- Fixed mdns global configuration.(v1.0.204)
- Fixed prompt input issues, and issues related to directory and branch display in the status bar.(v1.0.204)
- Fixed textarea resizing issue that occurred when pasting prompts shorter than 150 characters.(v1.0.194)
- Prevented keybinds from executing accidentally when a dialog window is open.(v1.0.194)
- Fixed an issue where favorites and recents lists remained visible when filtering models.(v1.0.194)
- Fixed incorrect session sorting when multiple sessions were active.(v1.0.194)
- Fixed an issue where text selection was disabled unexpectedly.(v1.0.194)
- Fixed handling of GitHub Pull Request events.(v1.0.194)
- Fixed incorrect handling of Windows CRLF line endings when using the grep tool.(v1.0.191)
- Fixed issues with LSP server binary installation and shell command execution(v1.0.185)
- Fixed incorrect SDK context usage and server port fallback(v1.0.185)
- Prevented the stats workflow from running on repository forks(v1.0.185)
- Added missing @opencode-ai/plugin to dependencies(v1.0.185)
- Fixed errors that occurred during file loading(v1.0.183)
- Fixed model validation failing before executing a slash command.(v1.0.168)
- Fixed incorrect expanded states on the desktop application.(v1.0.168)
- Fixed desktop view showing a smaller max-width when a review was open.(v1.0.168)
- Fixed the image button not showing in shell mode on the desktop application.(v1.0.168)
- Fixed incorrect error styles on the desktop application.(v1.0.168)
- Fixed prompt history navigation and accidental optimistic prompt duplication on the desktop application.(v1.0.168)
- Fixed desktop sessions not being ordered by most recent.(v1.0.168)
- Fixed desktop application responding to pinch to zoom gestures.(v1.0.168)
- Fixed Tauri incorrectly configuring display backends on Linux.(v1.0.168)
- Removed the interleaved thinking filter for certain Kimi K2 thinking model providers that were causing issues.(v1.0.168)
- Fixed server middleware crash when handling an empty directory query parameter.(v1.0.167)
- Fixed session list selection from jumping to the active session when confirming deletion(v1.0.165)
- Fixed a TypeError in session status within the TUI(v1.0.165)
- Kept the session dialog open if deleting a session fails(v1.0.165)
- Fixed `mcpName` being sent as state when the authUrl does not contain the `state` parameter(v1.0.165)
- Fixed subagent navigation order to correctly use newest-to-oldest(v1.0.165)
- Fixed the configuration option `setCacheKey` not being respected(v1.0.165)
- Fixed command shortcuts(v1.0.165)
- Fixed the load more button functionality(v1.0.165)
- Fixed prompt history navigation in the desktop app(v1.0.164)
- Fixed focus on prompt input after closing dialogs(v1.0.164)
- Fixed prompt input for multi-line text(v1.0.164)
- Fixed defensive audio initialization(v1.0.164)
- Fixed git branch filewatcher and added flag to completely disable watcher(v1.0.164)
- Fixed Tauri desktop app SSE connection timeout(v1.0.164)
- Fixed autocomplete file loading in the TUI(v1.0.164)
- Fixed GitHub install command for repos with dots in the name(v1.0.164)
- Fixed system prompt field usage from prompt input(v1.0.164)
- Fixed user invoked subtasks that were causing tool_use or missing thinking signatures(v1.0.164)
- Fixed argument boundaries when using the run command.(v1.0.163)
- Fixed TUI dialog select items being displayed across two lines when truncated.(v1.0.163)
- Fixed intermittent issue where LSP diagnostics were not fully reported due to incorrect debouncing.(v1.0.163)
- Fixed system prompt rejoining issue when an experimental plugin hook was triggered, ensuring caching is preserved.(v1.0.163)
- Fixed an error when the Anthropic provider attempted to read empty image files.(v1.0.154)
- Fixed visibility issues for input fields when using transparent themes.(v1.0.154)
- Fixed a race condition during file editing by implementing per-file locking.(v1.0.154)
- Fixed the unshare command which was failing to properly clear the share state.(v1.0.154)
- Fixed the --continue CLI flag which was incorrectly selecting the wrong session.(v1.0.154)
- Fixed input borders not being drawn correctly in transparent themes.(v1.0.153)
- Added retry logic for server_error, rate_limit, and no_kv_space to better handle Foundry API issues.(v1.0.153)
- Fixed the TUI opening the parent session instead of the intended subagent when using the continue flag.(v1.0.153)
- Fixed a UI issue where a Node reference guard was missing for SSR compatibility in isTriggerTitle.(v1.0.153)
- Fixed application exit behavior so the app only exits when the prompt is empty; the exit key now correctly falls through to allow normal text input when the prompt is not empty.(v1.0.152)
- Fixed a typo in osascript related to clipboard operations.(v1.0.151)
- Fixed an internal error occurring when using the "/compact" command.(v1.0.151)
- Fixed the debug LSP diagnostics command which failed for certain Language Server Protocols.(v1.0.151)
- Fixed Windows LSP URIs incorrectly using backslashes, which caused Biome initialization failures.(v1.0.151)
- Fixed the bash tool to prevent excessive 'cd' command spamming.(v1.0.151)
- Fixed a fatal error UI readability issue specifically in light mode.(v1.0.151)
- Fixed an issue where writing to stderr caused CPU pinning to reach 100%.(v1.0.150)
- Fixed issue where GitHub reaction handling for issue comments incorrectly identified and failed to remove the OpenCode agent's "eyes" reaction.(v1.0.147)
- Fixed light mode visibility issue for filepaths shown in /undo diff files(v1.0.144)
- Fixed custom provider lookup failure within the 'Other' authentication flow(v1.0.144)
- Fixed CLI issue preventing it from obtaining directory data from the server(v1.0.144)
- Fixed crash/issue where key events were being registered twice on some older terminal emulators(v1.0.144)
- Fixed buffer leaks occurring during prompt input operations(v1.0.144)
- Fixed /provider endpoint to correctly return the list of loaded providers(v1.0.144)
- Fixed hook error suppression that was incorrectly preventing errors from being properly reported.(v1.0.142)
- Fixed exit command aliases ("exit", "quit", ":q") not working correctly in the TUI prompt.(v1.0.142)
- Fixed plugin caching mechanism so that subsequent starts correctly use the cached 'latest' version.(v1.0.141)
- Fixed an issue preventing the reading of SVG file content as text.(v1.0.141)
- Fixed sidebar working directory color contrast issues when files are modified, improving visibility in light themes.(v1.0.137)
- Fixed parcel watcher support for musl environments.(v1.0.137)
- Fixed incorrect provider filtering when using the /connect endpoint.(v1.0.137)
- Fixed sessions not sorting correctly by their last updated time.(v1.0.137)
- Fixed dialog prompt colors in light themes to ensure proper visibility.(v1.0.137)
- Fixed autocomplete text color when there are no matching items.(v1.0.137)
- Fixed the autocomplete popup repositioning incorrectly upon window resize.(v1.0.137)
- Fixed compatibility issues with SAP AI Core Vercel AI SDK v2.(v1.0.137)
- Fixed themes being sorted incorrectly (non-alphabetically) in the /theme modal.(v1.0.137)
- Fixed the timestamp toggle functionality to reliably hide or show timestamps when activated.(v1.0.137)
- Fixed an issue with the opencode web command.(v1.0.137)
- Fixed shell detection to correctly support non-standard shell paths by using the basename.(v1.0.137)
- Fixed logic related to merging provider URLs.(v1.0.137)
- Fixed CLI help text wrapping, ensuring better readability.(v1.0.137)
- Fixed sessions disappearing after running git init.(v1.0.137)
- Fixed the text displayed by the timestamp toggle in the command list to be dynamic.(v1.0.137)
- Fixed deprecated models from appearing in the model picker interface.(v1.0.137)
- Fixed PTY session cloning when reconnecting on desktop(v1.0.134)
- Fixed ProviderInitError specifically for GitHub Copilot Enterprise(v1.0.134)
- Fixed session migration for projects transitioning from having no commits to having commits(v1.0.134)
- Fixed VCS being incorrectly set to git when no commits exist in the repository(v1.0.134)
- Fixed SAP AI Core provider SDK initialization(v1.0.134)
- Fixed the /new slash command from being incorrectly persisted in the prompt input.(v1.0.133)
- Fixed an issue where the model was not being passed correctly to the tool.(v1.0.133)
- Fixed the TUI cursor color.(v1.0.133)
- Fixed an issue where the checkUpgrade setting was not correctly setting the init flag.(v1.0.133)
- Fixed an issue related to provider IDs(v1.0.130)
- Fixed an issue concerning compaction types(v1.0.130)
- Fixed a typo found in DAX(v1.0.130)
- Fixed the bunfs path issue specifically on Windows(v1.0.130)
- Fixed GitHub Copilot Enterprise authentication failure caused by sdk.chat undefined error(v1.0.129)
- Fixed incorrect Provider type definition in the chat.params plugin hook(v1.0.129)
- Fixed incorrect handling of the value '0' when defining ANSI theme colors(v1.0.129)
- Fixed the inability to unignore files listed in .ignore(v1.0.129)
- Fixed the CLI so that messages starting with a dash (-) are now correctly processed when using the `run` command.(v1.0.128)
- Fixed an issue where ANSI color indexes were incorrectly handled during theme resolution.(v1.0.128)
- Fixed a crash in the TUI that occurred when no authenticated providers were present and the default provider was disabled.(v1.0.127)
- Fixed authentication login process to correctly respect the configuration of disabled/enabled providers.(v1.0.127)
- Fixed an issue where the npm registry configuration was not being respected during installation processes.(v1.0.127)
- Fixed handling of invalid schema cases specifically for Gemini models.(v1.0.127)
- Fixed a bug causing incorrect Copilot responses when using GPT 4o mini.(v1.0.127)
- Fixed an issue where OpenCode was failing to retry on certain specific error conditions.(v1.0.127)
Releases with CLI Changes
v1.1.234 features19 fixesThis release introduces significant user experience enhancements, particularly to the desktop application's layout and session management, including persisting workspace order and a new app layout. Key functional updates include making dialog keybinds configurable in the TUI and improving robustness by handling broken symlinks gracefully in the grep tool. Several bugs related to UI alignment, state persistence, and error handling have also been resolved across core and desktop components.
v1.1.204 features16 fixesThis release introduces several new features, including support for GitLab Duo Agentic Chat and new built-in themes like Undertale and Deltarune. Key fixes address stability issues such as preventing memory leaks in the TUI footer and resolving duplicate system prompts during Codex OAuth sessions. Users will also benefit from visual updates like provider icons in the desktop application.
v1.1.195 features5 fixesThis release introduces significant new capabilities, including support for GitLab Duo Agentic Chat and the Ask Question tool on the desktop application, alongside a new plan mode with enter/exit tools. Several important bug fixes address issues like stuck prompt input states and resource leaks, while general improvements enhance agent prompting and TUI rendering.
v1.1.171 feature5 fixesThis release focuses on stability and process management, particularly on the desktop application by ensuring better process handling on macOS and Windows. Key fixes include resolving issues with TUI keybindings and improving authentication flow via PTY sockets.
v1.1.163 features10 fixesThis release introduces significant usability enhancements, including direct debug tool calling support in the CLI and password-protected local server spawning in the desktop app. Several critical bugs were resolved, such as fixing token limit errors for Cloudflare and ensuring configuration writes are handled robustly. Users will also notice improved feedback mechanisms for tool operations and better handling of environment file permissions.
v1.1.151 feature4 fixesThis release introduces password authentication support to enhance server security and refines several user experience aspects across the TUI and desktop applications. Key fixes include correcting model selection for title generation and resolving an issue where TUI autocomplete would reopen incorrectly after backspacing.
v1.1.144 features5 fixesThis release introduces significant usability enhancements across the TUI and Desktop applications, including image preview support for attachments on Desktop and expanded mouse interaction in the TUI. Several bugs related to TUI stability, cursor positioning, and autocomplete behavior have also been resolved.
v1.1.134 features10 fixesThis release introduces several key features for desktop users, including the ability to fork sessions and configure the default server URL. Several bugs have been resolved across the TUI and desktop clients, such as fixing command palette highlighting and ensuring proper functionality for OpenAI Business plans.
v1.1.101 feature4 fixesThis release focuses on stability and user experience improvements, including fixes for forked sessions and model selection display issues. Key updates include enabling the API key prompt for Bedrock authentication and enhancing session persistence by storing terminal visibility settings.
v1.1.72 features11 fixesThis release introduces a new interactive question tool to better gather user preferences and clarify instructions. Key fixes address configuration precedence, TUI stability, and improved visibility for themes and long command outputs. Users can now also disable .claude prompt and skills loading.
v1.1.66 features6 fixesThis release introduces significant enhancements to customization and desktop stability. Users can now hide subagents from the primary system prompt and apply themes within the TUI. Desktop fixes include resolving image pasting issues, correcting macOS entitlements, and improving startup visibility.
v1.1.47 features12 fixesThis release introduces significant usability enhancements, including support for URL-based instructions and frecency-based file autocomplete in the CLI. Several critical bugs were resolved, such as fixing title generation for subtasks and restoring proper skill filtering by agent permissions. Performance has also been improved across the board, notably with text rendering upgrades and better web load times.
v1.1.36 features8 fixesThis release introduces significant enhancements for Amazon Bedrock integration, including new configuration options and cross-region profile support. Key fixes address terminal stability, UI issues like prompt input covering content, and improved TUI autocomplete behavior. Users will also benefit from better project navigation and the ability to store image attachments locally.
v1.1.25 features11 fixesThis release introduces significant usability enhancements, including session search functionality and SVG preview support in the session viewer. Several critical bugs related to permission matching and TUI display issues have been resolved. Additionally, the default timeout has been increased to 30 seconds based on user feedback.
v1.1.111 features12 fixesThis major release overhauls the permissions system, introducing granular control via object syntax and glob pattern matching for tools. It also updates SDK event structures for permission handling and deprecates several older configuration fields like `tools` and `maxSteps`. Several core improvements include sandbox support for git worktrees and new Kotlin LSP integration.
v1.0.2201 feature2 fixesThis release introduces a new CLI subcommand for debugging agents in isolation and improves the desktop experience by updating the header layout and fixing rendering issues with large sessions. Users will also notice clearer prompt tagging in autocomplete and better placeholder text in the TUI.
v1.0.2194 features4 fixesThis release introduces several new capabilities, including Gemini 3 Flash support and the ability to view detailed model usage statistics via the stats command. Several critical bugs were fixed, such as issues with MDNS registration and Codex model variants. Enhancements include configurable CORS hosts and improved stability for MCP tool calls.
v1.0.217This release focuses on minor internal and TUI adjustments. The main user-facing change is the relocation of the variant toggle control within the TUI command bar.
v1.0.2106 features3 fixesThis release introduces significant new capabilities, including the ability to open projects in the web interface and support for global Claude skills. Key fixes address module resolution errors and prevent model list corruption in the TUI. The desktop application also gains system notifications and readline shortcuts.
v1.0.2052 features5 fixesThis release introduces new configuration options for controlling visibility during copy and export operations, alongside the addition of bash shell completions for command line users. Several bugs were addressed, including fixes for the stats command, TUI model searching, and terminal copy/paste functionality.
v1.0.2046 features6 fixesThis release introduces several new capabilities, including path traversal protection for file operations, the shfmt formatter for shell scripts, and support for GitHub issues and workflow_dispatch events. Several bugs were resolved, notably fixing the `opencode web` baseURL error and ensuring the compact command cleans up revert state correctly. Users also gain more control over UI elements like the spinner animation and compaction settings.
v1.0.1944 features6 fixesThis release introduces prompt stashing and adds support for the Cloudflare AI Gateway provider. Several key bugs have been resolved, including fixes for textarea resizing during pasting and incorrect visibility of favorites when filtering models. Users will also benefit from improved error handling and new helpful tips on the start screen.
v1.0.1912 features1 fixThis release introduces new filtering capabilities for skill tool descriptions and allows compaction hooks to fully replace prompts. Several usability improvements were made, including better styling for small screens and enhanced error messaging upon connection failure.
v1.0.1852 features4 fixesThis release introduces new capabilities, including support for schedule events and syntax highlighting for .ets files. Several critical bugs were addressed, such as issues with LSP server installation and SDK context usage. The tool also benefits from updated model temperature values and adoption of the official MCP SDK for better schema handling.
v1.0.1831 feature1 fixThis release focuses on stability and platform compatibility. Key updates include ensuring a primary agent is always enabled and fixing critical file loading errors. Additionally, the command-line interface now correctly builds on Windows systems.
v1.0.1685 features10 fixesThis release introduces several new capabilities, including experimental support for the Ty language server and a new shell mode for the desktop application. Numerous bug fixes address issues with desktop layout, prompt history, and command execution validation. Users will also benefit from improved handling of GitHub Action hallucinations.
v1.0.1671 feature1 fixThis release introduces a new quality-of-life feature allowing users to easily copy logs from server spawn failure dialogs. It also includes important stability improvements, such as fixing a server middleware bug related to empty query parameters, and enhances user control by allowing the terminal title to be disabled in the TUI.
v1.0.16512 features8 fixesThis release introduces several new desktop client features, including optimistic prompt submission, session sharing, and new font support (Inter and IBM Plex Mono). Key fixes address issues with session list deletion behavior and configuration option adherence. Users can also now override the default output token limit via an environment variable.
v1.0.1643 features10 fixesThis release introduces experimental support for the oxfmt formatter and enhances the desktop experience by allowing users to load more project sessions. Several critical bugs were resolved, including issues with prompt history navigation, multi-line input handling, and TUI autocomplete loading.
v1.0.1634 fixesThis release focuses primarily on stability and correctness, addressing several key bugs related to command execution, UI rendering in the TUI, and ensuring accurate LSP diagnostic reporting. Key fixes include preserving system prompt caching and correcting argument boundaries in the run command.
v1.0.1543 features5 fixesThis release introduces several new experimental hooks for advanced chat manipulation and a configuration option to control agent loop behavior upon user denial. Key fixes include resolving a race condition in file editing via new locking mechanisms and correcting issues with the --continue CLI flag and empty image file handling.
v1.0.1537 features4 fixesThis release introduces several new language server and formatter integrations, including Gleam and TexLab, alongside ARM64 Docker support. Key fixes address visual issues in transparent themes and improve TUI behavior during session continuation. Enhancements also include better API resilience for Foundry and reduced context window usage from LSP diagnostics.
v1.0.1521 fixThis release focuses on improving shell compatibility and stability, particularly on Windows, by enhancing Git Bash detection and fixing an issue with application exit behavior. Users will notice more reliable shell execution and correct handling of the exit key when the input prompt is not empty.
v1.0.1512 features6 fixesThis release introduces an experimental hook for transforming chat messages and adds a visual indicator for ongoing chat sessions. Several important bug fixes address issues with LSP initialization on Windows, TUI readability in light mode, and command execution errors.
v1.0.1501 feature1 fixThis release introduces enhanced keyboard customization by adding support for the super modifier (Command/Windows key) in keybinds. Additionally, a critical bug causing 100% CPU utilization when writing to stderr has been resolved.
v1.0.1472 features1 fixThis release focuses on enhancing user control and consistency by introducing custom keybinding support for input textareas and aligning default keyboard shortcuts. It also includes a fix for correctly managing GitHub reactions on issue comments.
v1.0.1444 features6 fixesThis release introduces new integration capabilities with the addition of Cerebras headers and support for the models.dev family. Several critical bugs were resolved, including fixes for custom provider authentication and improved error messaging for failed tool executions. Users will also notice UX enhancements like improved interleaved thinking and the default setting of Gemini thinking level to high.
v1.0.1422 features2 fixesThis release introduces significant usability enhancements, most notably adding Windows support for shell mode execution and enabling agent creation via CLI arguments for better scripting integration. Several bugs were also addressed, including fixing improper error reporting from hooks and ensuring TUI exit commands function reliably.
v1.0.1414 features2 fixesThis release introduces significant enhancements to project management, including custom colors, names, and icons, alongside the addition of Biome LSP support. Key fixes address issues with plugin caching and SVG file reading, improving overall stability and tooling integration.
v1.0.13714 features17 fixesThis release introduces significant language server support, adding LSP and formatting capabilities for Bash and Terraform, alongside OCaml support. Users will benefit from new customization options like three new themes, optional chat scrollbars, and dynamic terminal titles. Numerous bugs were fixed, including improvements to theme color contrast, autocomplete behavior, and session management.
v1.0.1343 features5 fixesThis release introduces new configuration options for agent step limits and experimental OpenTelemetry tracing. Key fixes address initialization errors for GitHub Copilot Enterprise and SAP AI Core, along with improvements to session handling during repository commit changes. Users will also notice enhanced TUI readability and increased default scroll speed.
v1.0.1332 features4 fixesThis release introduces support for the SAP AI Core provider and adds optional prompt input functionality for the GitHub Action. Several bugs were resolved, including issues with slash command persistence and model passing to tools, alongside improvements to bash tool messaging.
v1.0.1303 features4 fixesThis release introduces new configuration options for tool availability via the experimental.primary_tools setting and adds a new TUI command to quickly navigate to the last user message. Several minor bugs were resolved, including issues with provider IDs, compaction types, DAX typos, and Windows pathing.
v1.0.1293 features4 fixesThis release introduces several new usability features, including a basic session list command and a toggle to hide usernames in the TUI. Several important bugs were fixed, addressing authentication failures, incorrect plugin hook types, and issues with unignoring files. Performance and visual tweaks were also applied to themes and timeouts.
v1.0.1282 fixesThis release focuses primarily on stability and usability fixes, addressing issues with command-line argument parsing and theme rendering. Users will benefit from more reliable CLI execution and cleaner reasoning output when using OpenRouter.
v1.0.1272 features6 fixesThis release introduces new customization options, including an overridable review slash command and the ability to toggle tool details visibility. Several critical bugs were addressed, focusing on authentication logic, configuration adherence (like npm registry settings), and stability when interacting with specific AI models like Gemini and GPT 4o mini.