Repository navigation
v2026.04.20 (v1.14.18)
What's New
- Frontier system prompt variant: opt-in
promptVariant: "frontier"option for GPT and Anthropic models. Adapts Codex "persist end-to-end" discipline while keeping OpenCode's CLI UX. Enable per-model or per-provider viaopencode.json. Validated with planetiler code-review benchmarks (LongMerger recall 75→83%, water_storage 75→100%, SortableFeature +58pp, false positive 0). - Raw-compiler guardrail: frontier variant forbids
javac/ barepython -cfallbacks when the configured build tool (mvn / cargo / bun / npm / go) fails — prevents wasted turns on classpath-induced failures. - Citation requirement for session-end summaries: frontier variants now require narrative end-of-turn summaries to only describe events citable from the agent's own tool-call history, reducing confabulation about nonexistent harness mechanisms.
Fixes
Bash/Globactionable errors: missingworkdir/pathnow surfaces a concretemkdir -psuggestion instead of opaqueNotFound: FileSystem.access(previously agents pivoted toWriteauto-create rather than fixing the root cause).- Upstream rebase to v1.14.18: includes native
rgbackend restoration (#22773), TUI theme persistence + KV write stabilization, terminal font settings + built-in Nerd Font, desktop Electron JSON migration fix.
Install
Try without installing:
npx opencode-ai-nofcInstall globally:
npm install -g opencode-ai-nofc
opencodeOr download binaries below.
Based on upstream opencode v1.14.18.