Skip to content

Releases: cpkt9762/opencode-vscode-ide

Bundled backend v2 — opencode 1.15.14+ide.0

Choose a tag to compare

@cpkt9762 cpkt9762 released this 31 May 16:15
a13d15a

Bundled opencode backend → 1.15.14+ide.0

Replaces bundled-backend-v1 (1.14.18+ide.0, May 2026).

What's new

The OpenCode IDE fork now ships an opencode serve backend built from upstream dev HEAD commit dcb1546e5 (semantic v1.15.14, dated 2026-05-31T08:53:15Z). This bundle includes 17 upstream fixes since the previous v1.14.18 bundle, most relevant to IDE behavior:

  • fix(session): retry empty stream truncations + preserve reasoning on retry — SSE streams no longer drop reasoning when truncated mid-flight
  • fix(opencode): retry stalled SSE streams — sidebar no longer hangs after long idle periods
  • fix(opencode): support sap-ai-core / vertex / gateway opus 4.7+ adaptive reasoning — Opus 4.7 adaptive reasoning is now stable in IDE chat
  • fix(perf): stub vcs/session diff computation — perf improvement on session list
  • refactor(core): move database schema ownership — new migration tracker at packages/core/src/database/migration.ts (resolves shared-DB schema drift between IDE and CLI; see "Pivot rationale" below)
  • feat(core): add session metadata support, feat(core): add location-scoped config loading, feat(acp): promote next implementation, feat(tui): add session switcher plugin
  • dabf2dc01 remove the need for polling from experimental background agents — backend agents no longer poll

Why HEAD instead of v1.15.13 tag?

Initially this bundle targeted upstream tag v1.15.13 (385cb6944). Manual QA against the shared 35 GB ~/.local/share/opencode/opencode.db revealed a forward-compat break:

SQLiteError: duplicate column name: icon_url_override
ALTER TABLE `project` ADD `icon_url_override` text;

The user's system CLI was on 1.15.14 (one patch ahead of the tag) and had already migrated the shared DB beyond what v1.15.13's bundled drizzle migrator could handle. HEAD dcb1546e5 introduces a new migration tracker that reads the new migration table populated by CLI 1.15.14 and skips already-applied migrations cleanly. HEAD is the only bundle target that boots cleanly against the shared DB when the system CLI is on dev channel.

Verified

  • ✅ Backend log: zero SQLite errors after launch
  • ✅ HTTP routes: /session, /session/status, /event all live (401 auth gate)
  • ✅ SSE events: 8 whitelisted types still emitted
  • ✅ Unit tests: 71/73 passing (2 pre-existing failures unrelated)
  • ✅ Packaged .app: codesigned (adhoc, linker-signed), boots cleanly
  • ✅ Manual QA: 6/6 sidebar scenarios (sessions list / create / open / agent edit decorations / file watcher / delete) verified in real IDE against the shared production DB

Bundle details

Field Value
version 1.15.14+ide.0
commit dcb1546e5f567b3c6c2a018b0a3b0043e0d3ae69
builtFrom 0.0.0-build/v1.15.14-202605311516
builtAt 2026-05-31T08:53:15Z
Platform darwin-arm64 only — other platforms remain CI-filled
Size 108.72 MB
sha256 e5da6bd597364ef9ed434f4d1f1e624c6d7d5c904ca91b43e512414229c45868

How to consume this release

git fetch origin
git checkout bundled-backend-v2
make compile
make vendor-opencode-backend-validate-only
NODE_OPTIONS=--max-old-space-size=8192 npx gulp vscode-darwin-arm64
# .app produced at VSCode-darwin-arm64/OpenCode IDE.app
# direct-exec to avoid macOS Launch Services routing to old install:
"./VSCode-darwin-arm64/OpenCode IDE.app/Contents/MacOS/OpenCode"

Or make install to overwrite /Applications/OpenCode IDE.app (auto-backs up to .bak.<timestamp>).

Shared DB notes

OPENCODE_DISABLE_CHANNEL_DB=1 is intentionally kept in place (per fork commit 7ad72f277d4). The IDE shares ~/.local/share/opencode/opencode.db with the system CLI, TUI, and desktop-electron. Session history is consistent across all three.

If you later want to decouple the IDE's DB from the CLI, see the proposed opencode.sharedDatabase config toggle discussed in .omo/plans/opencode-ide-fork-backend-upgrade-v1.15.14.md. Not implemented yet.

Plan + execution log

Full investigation, Momus review history, and step-by-step execution captured in .omo/plans/opencode-ide-fork-backend-upgrade-v1.15.14.md.


Build commit: a13d15adf40