Changelog
New updates and improvements to OpenCode
v1.2.7 Fixed terminal rendering and interaction issues in the application
Improvements 76
- CoreNormalize file status paths relative to instance directory@shantur
- CoreMigrate from Bun.Glob to npm glob package
- CoreBump AI SDK packages for Google, Google Vertex, Anthropic, Bedrock, and provider utils
- CoreAdd support for medium reasoning with Gemini 3.1
- CoreRemove use of Bun.file
- CoreText files misclassified as binary
- CoreFetch default server at top level in desktop application
- CoreTerminal rework in the app
- CoreBake in the AWS and Google authentication packages
- CoreToken substitution in OPENCODE_CONFIG_CONTENT now works correctly@ariane-emory
- CoreRevert migration from Bun.file() to Filesystem module
- CoreMigrate project.ts from Bun.file() to Filesystem/stat modules
- CoreMigrate read tool from Bun.file() to Filesystem module
- CoreMigrate write tool from Bun.file() to Filesystem module
- CoreMigrate Edit tool from Bun.file() to Filesystem module
- CoreMigrate remaining tool files from Bun.file() to Filesystem/stat modules
- CoreMigrate storage.ts from Bun.file()/Bun.write() to Filesystem module
- CoreMigrate src/storage/json-migration.ts from Bun.file() to Filesystem module
- CoreMigrate MCP auth module from Bun file APIs to Filesystem module
- CoreMigrate storage database from Bun.file() to statSync for file existence checks
- CoreMigrate session prompt module from Bun.file() to Filesystem/stat modules
- CoreFix crash in
opencode runand show errored tool calls in output - CoreMigrate skill discovery to use Filesystem module instead of Bun file APIs
- CoreMigrate session instruction handling from Bun.file() to Filesystem module
- CoreMigrate provider.ts from Bun.file() to Filesystem module
- CoreMigrate shell.ts from Bun.file() to statSync for improved file system operations
- CoreMigrate log utility from Bun.file() to Node.js fs module for better compatibility
- CoreMigrate models.ts from Bun.file()/Bun.write() to Filesystem module
- CoreUse HashiCorp releases API for installing terraform-ls@edubxb
- CoreMigrate LSP server from Bun.file()/Bun.write() to Filesystem module
- CoreMigrate session command from Bun.file() to statSync for improved file system operations
- CoreMigrate agent.ts from Bun.file() to Filesystem module
- CoreMigrate auth module from Bun.file()/Bun.write() to Filesystem module
- CorePass sessionID and callID to shell.env hook input@tesdal
- CoreFix terminal cross-talk issue in the application
- CoreUpdate SST version
- CoreMigrate src/global/index.ts from Bun.file() to Filesystem module
- CoreEmit PROMPT_TOO_LARGE error when GitHub context overflows@elithrar
- CoreMigrate src/bun/index.ts from Bun.file()/Bun.write() to Filesystem module
- CoreMigrate config/markdown.ts from Bun.file() to Filesystem module
- CoreMigrate file/index.ts from Bun.file() to Filesystem module
- CoreMigrate format/formatter.ts from Bun.file() to Filesystem module
- CoreAllow readJson to be called without explicit type parameter
- CoreMigrate file/ripgrep.ts from Bun APIs to Filesystem module
- CoreMigrate index.ts from Bun.file() to Filesystem module
- CoreAdd Julia language server support@zarly
- CoreBump GitLab AI provider to 3.6.0 to add Sonnet 4.6 support@vglafirov
- CoreAdd centralized filesystem module for Bun.file migration
- CoreFix Clojure syntax highlighting@finalfantasia
- CoreEnsure explore subagent prompts for external directory permission instead of auto-denying
- CoreDon't autoload kilo
- CoreAdd Kilo as a native provider@Nomadcxx
- CoreSimplify redundant ternary in updateMessage@yikayiyo
- CoreEnsure Read tool uses fs/promises for all file system operations
- CoreMake read tool more memory efficient
- CoreSurface plugin auth providers in the login picker@anoldguy
- CoreInvalidate OAuth credentials when OAuth provider indicates they are invalid@GreenStage
- CoreDon't fetch models.dev on completion@gigamonster256
- CoreRecover state after SSE reconnect and harden SSE streams
- CoreKeep message part order stable when files resolve asynchronously
- CoreDrop IDs from attachments in tools and assign them in prompt.ts instead
- TerminalImprove GitHub action branch detection and handle 422 errors@elithrar
- TerminalEnsure onExit callback fires after terminal output is written
- TerminalMigrate TUI thread module from Bun.file() to Filesystem module
- TerminalMigrate agent command from Bun.file()/Bun.write() to Filesystem module
- TerminalMigrate import command from Bun.file() to Filesystem module
- TerminalUpdate pasteImage to only increment count when the previous attachment is an image@OpeOginni
- TerminalMigrate editor.ts from Bun.file()/Bun.write() to Filesystem module
- TerminalMigrate clipboard.ts from Bun.file() to Filesystem module
- TerminalMigrate CLI run command from Bun.file() to Filesystem/stat modules
- TerminalSession list --max-count parameter now correctly limits the number of sessions displayed@mharris717
- TerminalExit cleanly without hanging after session ends
- TerminalStyle scrollbox for permission and sidebar@akronb
- TerminalIncrease button heights and improve permission prompt layout alignment
- TerminalDisplay new session banner with logo and project details in TUI
- SDKFix nested exports transformation in SDK publish script
v1.2.6 Add dfmt formatter support for D language files
Improvements 10
- CoreBump GitLab provider and auth plugin for mid-session token refresh@vglafirov
- CoreRemove unnecessary per-message title LLM calls@rmk40
- CorePrioritize user-defined variables over environment variables in Google Vertex AI configuration
- CoreAdd OpenAI-compatible endpoint support for Google Vertex provider@leehack
- CoreAdd Venice support for temperature, topP, topK, and smallOption parameters@dpuyosa
- CoreAdd cljfmt formatter support for Clojure files@finalfantasia
- TerminalMake use of server directory path for file references in prompts@OpeOginni
- TerminalAdd database migration command to convert JSON storage to SQLite
- TerminalAdd --continue and --fork flags to attach command
- TerminalFixed inaccurate tips in TUI@imanolmzd-svg
v1.2.5 v1.2.4 Add db command for database inspection and querying
Improvements
- CoreDerive all IDs from file paths during JSON migration
v1.2.3 Ensure Anthropic models on OpenRouter also have variant support
Improvements
- CoreAdd WAL checkpoint on database open
- CoreEnsure Vercel variants pass Amazon models under Bedrock key
v1.2.2 Add comprehensive test coverage for Session.list() filters
Improvements
- CoreFilter sessions at database level to improve session list loading performance
- CoreFix Vercel gateway variants
- CoreBump Vertex AI packages
v1.2.1 Show all project sessions from any working directory
Improvements
- CoreTweak websearch tool description date info to avoid cache busts
v1.2.0 Revert to SQLite database implementation
Improvements
- CoreMove timeout configuration from programmatic API to CLI flag@yanhao98
- CoreUpdate AI SDK packages and use adaptive reasoning for Claude Opus 4.6 on Vertex, Bedrock, and Anthropic
- TerminalPrevent crash when tool inputs are malformed during opencode run@0xK3vin
- TerminalAdd --dir option to run command@BlankParticle
v1.1.65 Revert token substitution in OPENCODE_CONFIG_CONTENT
Improvements
- CoreEnsure @-mentioning a directory uses the read tool instead of deprecated list tool
- CoreAdd tool.definition hook for plugins to modify tool description and parameters@spoons-and-mirrors
- CoreRemove worktree delete functionality
- CoreResolve ACP hanging indefinitely in thinking state on Windows@ASidorenkoCode
v1.1.64 Token substitution in OPENCODE_CONFIG_CONTENT environment variable
Improvements
- CoreLook for recent model in fallback in CLI@smitchaudhary
- CoreBaseline CPU detection fixed@Hona
- CoreWindows selection behavior and manual Ctrl+C handling@Hona
- CoreTerminal PTY isolation for app
- TerminalDo not open console on error