Skip to content

Changelog

New updates and improvements to OpenCode

  1. v1.2.22

    Canonicalize current working directory after changing directories in TUI

    Improvements

    • CoreFix broken MCP toggling in TUI@natewill
    • CoreUpdate database path test to verify correct channel-based filename
    • CoreAllow beta channel to share database with stable channel
    • CoreAdd OPENCODE_SKIP_MIGRATIONS flag to bypass database migrations
    • TerminalGuard TUI exit to prevent premature termination
    • TerminalAvoid TTY corruption from double cleanup@tobwen
  2. v1.2.21

    Preserve original line endings in edit tool

    Improvements 10

    • CoreFix Git path resolution for modified files across Git Bash, MSYS2, and Cygwin on Windows
    • CoreFix PTY session handle leak@kikuchan
    • CoreSanitize preview database filenames
    • CoreLog stack trace when schema validation fails
    • CoreI need to see the actual commit diff to understand what was fixed and provide an accurate changelog entry.
    • CoreAdd project git init API
    • CoreUpdate Drizzle and channel database handling
    • CoreSpeed up share loads
    • CoreEnable auto-accept keybind regardless of permission config@luisfelipesena
    • TerminalFix broken /export toggling in TUI@natewill
  3. v1.2.20

    Stop leaking fsmonitor daemons that caused 60GB+ of committed memory after running tests

    Improvements

    • CoreReplace Bun.which with npm which in OpenCode
    • TerminalRestore Bun stdin reads for prompt input
  4. v1.2.19

    Add GPT-5.4 to Codex allowed models list

    Improvements 9

    • CoreReplace Bun.stderr and Bun.color with Node.js equivalents
    • CoreReplace Bun.connect with net.createConnection for better compatibility
    • CoreUse SHA1 for hash instead of unsupported xxHash3-XXH64
    • CoreReplace Bun.hash with Hash.fast using xxhash3-xxh64
    • CoreReplace Bun.write with Filesystem.write in config files
    • CoreReplace Bun.write/file with Filesystem utilities in snapshot
    • CoreReplace Bun.sleep with Node.js timers for better compatibility
    • TerminalUse node:stream/consumers for stdin reading
    • TerminalReplace Bun.stdin.text with Node.js stream reading for better compatibility
  5. v1.2.18

    Handle SIGHUP signal and kill process gracefully

    Improvements

    • TerminalAdd onClick handler to InlineTool and Task components
    • TerminalAdd options to auth login command to skip interactive questions@dbpolito
    • TerminalDon't let Dax touch the UI
  6. v1.2.17

    Rework workspace integration and adaptor interface

    Improvements

    • CoreClarify output capture guidance in bash tool documentation
    • TerminalShow scrollbar by default
    • TerminalPrevent orphaned opencode subprocesses on shutdown
    • TerminalValidate agent when running with attach flag@alberti42
  7. v1.2.16

    Normalize trailing slashes in auth login URLs

    Improvements 20

    • CoreUpgrade OpenTUI to v0.1.86 and enable markdown rendering by default
    • CoreAvoid Gemini combiner schema sibling injection
    • CoreForward metadata options to Cloudflare AI Gateway provider@ryanskidmore
    • CoreClone part data in Bus event to preserve token values@ryanskidmore
    • CoreRecover from 413 Request Entity Too Large errors via automatic compaction@bentrd
    • CoreShow human-readable message for HTML error responses@rianvdm
    • CoreKill orphaned MCP child processes and expose OPENCODE_PID on shutdown@ryanwyler
    • CoreAdd workspace_id to session table
    • CoreAdd WorkspaceContext to core
    • CoreBasic implementation of remote workspace support
    • CoreChange keybindings to navigate between child sessions
    • CoreFixed test issues
    • CoreFixed terminal rendering and interaction issues in the application
    • TerminalReplace curved arrow with straight arrow for better terminal compatibility
    • TerminalShow pending tool call count in TUI instead of generic 'Running...' message
    • TerminalUse arrow indicator for active tool execution in TUI
    • TerminalDisable session navigation commands when no parent session@jerome-benoit
    • TerminalFixed project ID conflict and updated handling for same session ID@noamzbr
    • TerminalImprove task tool display with subagent keybind hints and spinner animations
    • TerminalAdd Go provider list command
  8. v1.2.15
  9. v1.2.14

    Add message delete endpoint

    Improvements

    • TerminalConsume stdout concurrently with process exit in auth login@Ayushlm10
  10. v1.2.12

    Synchronize changes

    Improvements 7

    • CoreTemporarily disable plan enter tool to prevent unintended mode switches during task execution
    • CoreMigrate Bun.spawn to Process utility with timeout and cleanup
    • CoreDisable Bun config cache in CI
    • CoreAwait git ID cache write in project module
    • CoreImport custom tools via file URL
    • TerminalAdd Go SDK code generation script
    • TerminalShow LSP errors for apply_patch tool