OpenCode v1.2.12: Process Utility & LSP Error Fixes

OpenCode v1.2.12 brings Process utility migration, LSP error visibility, and Windows desktop improvements. Plan enter tool temporarily disabled.

OpenCode v1.2.12: Process Utility & LSP Error Fixes

TL;DR

  • Migrated Bun.spawn to Process utility with timeout and cleanup
  • LSP errors now visible in apply_patch tool
  • Plan enter tool temporarily disabled to prevent unintended mode switches

New

  • Go SDK code generation script — Added to TUI for Go development support
  • Custom tool file URL imports — Import custom tools directly via file URL

Fixed

  • LSP errors in apply_patch tool — Now properly displayed in TUI
  • Windows app resolution and UI loading states — Enhanced desktop app rendering and state handling
  • Git ID cache write — Now awaited in project module to prevent race conditions

Changed

  • Bun.spawn migration — Replaced with Process utility for better timeout and cleanup handling
  • Plan enter tool — Temporarily disabled to prevent unintended mode switches during task execution
  • Bun config cache — Disabled in CI environments

Update with: npm install opencode@1.2.12 or check the release page.

Source: OpenCode