Skip to content

Changelog

New updates and improvements to OpenCode

  1. v1.3.7

    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
  2. v1.3.6

    PR #19758

    PR #19758: Fixed token usage double-counting for Anthropic and Amazon Bedrock providers that caused inflated token counts in session metrics

  3. v1.3.5

    Fix plugin hooks to properly handle async operations

    Improvements

    • CoreAdjust GPT prompt to be more minimal and fix file reference annoyances
  4. v1.3.4

    Add prompt slot feature

    Improvements 30

    • 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
  5. v1.3.3

    Initial implementation of event-sourced syncing system for session data

    Improvements

    • 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
  6. v1.3.0

    xAI Responses API

    xAI Responses API: Improved xAI reasoning models performance in long multi-turn conversations by switching to the responses API with encrypted content support.

    Improvements

    • 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.
    • 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.
  7. v1.2.27

    Fixed VCS watcher if statement logic

    Improvements 9

    • 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
  8. v1.2.26

    Scaffold effect-to-zod bridge for schema conversion

    Improvements 9

    • 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
  9. v1.2.25

    Support non-OpenAI Azure models that use completions endpoints

    Improvements 33

    • 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
  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