v0.6.0 — Upstream Sync (opencode 1.2.5), SQLite Migration
What's New
Major upstream sync from opencode 1.2.5 (previously based on ~1.1.65).
Storage
- JSON to SQLite migration (drizzle-orm) - automatic one-time migration on first run
- Session list with search/filters, faster queries
Features
- Structured outputs (typed JSON responses from models)
- Skill URL discovery (load skills from remote URLs)
- Read tool: directory listing support
- Webfetch tool: binary image attachments
- Trinity prompt routing
- Compaction token counting with cache awareness
- Provider transforms: gateway routing, effort mapping, prompt caching
Orchestra Fixes
- Agent type inheritance: backfill agentID for legacy sessions during migration
- model.clear() for clean model reset on subagent navigation
- Revert cleanup: explicit ID comparison (fixes intermittent test failure)
- Exit message shows oco -s (not opencode -s)
- OpenCodeOrchestra branding in sidebar
- Removed dead code: pm-state.ts, project-state references
Tests
- 878 pass / 29 skip / 0 fail
- 9 new test files ported from upstream
This project is an independent fork of opencode and is not affiliated with the original OpenCode team.