Skip to content

Releases

OpenCode Prime v2.0.0

Choose a tag to compare

@github-actions github-actions released this 26 Sep 12:56

Changes

  • fix(release): require bundled installer in packages (edb6f43)
  • docs(prompts): trim L0 routing rule (9f084a5)
  • docs(memory): record dev-v2 PR workflow (d09fb7d)
  • feat(shell-guard): gate high-risk subagent commands (8d6e5c1)
  • feat(project-memory): clarify scope and status behavior (5c38be7)
  • fix(memory): close the review gaps in the public-scope contract (e5f5356)
  • fix(memory): make public scope honest, default tool to private (3a4f1a5)
  • chore(prompt): fit L0 release budget (2d009af)
  • docs(adr): move profile decision to iteration 2.0.1 (9867cc9)
  • feat(profile): add searchable two-model profile setup (3912fce)
  • test(profiles): check native agents mappings (f052743)
  • chore(cli): enable TPS in default config (17a82e6)
  • fix(installer): default TUI mode to direct (f9b6544)
  • chore(profiles): refresh model recommendations (2d67902)
  • feat(installer): align plugin-dep PM probe with opencode install method (915aa2d)
  • fix(scripts): add windowsHide to shipped daemon child-process spawns (aaac80e)
  • fix(plugins): add windowsHide to all child-process spawns (2c053d5)
  • feat: port /dev-deep and per-task checkpoints from dev-v1 (d5a34e4)
  • docs(adr): typed-plugin-literals ADR + regenerated index (a32f352)
  • refactor(plugins): namespaced ids and zero-runtime-import literals (3e1a9fe)
  • feat(session-language): inject ocp.json language as in-context marker (e16354b)
  • fix(dashboard): keys, mouse, row gap, i18n to 8 locales (a61920f)
  • fix(tui): route busy indicators via toast to dodge dual-instance crash (f7f468b)
  • feat(installer): pin openchamber web CLI to major 2 (1783db0)
  • chore(release): regenerate the 2.0.0 manifest for the new plugin layout (87c01f5)
  • docs: TUI plugin layout and i18n catalog conventions (5d835bd)
  • feat(installer): ensurePluginRuntimeDeps for the install target (1399fe8)
  • refactor(tgrep): relocate state to .ocp/tgrep-state.json (1f79d40)
  • feat(tui): split STRINGS into per-locale catalogs (5d839a9)
  • refactor(tui): directory entrypoints for TUI plugins (29cc364)
  • fix(prompts): tgrep-first locate tiers; lite MCP & state-vocab fixes (34448b8)
  • refactor(tui): remove queue-manager plugin and /queued command (454dbe2)
  • chore(ocp): record autoAdvisorMode=off in the repo's own OCP config (abf0adf)
  • chore(release): v2.0.0 (83d820a)
  • docs: v2 upgrade guide and runtime docs refresh (a2ca826)
  • docs(adr): land ADR-2.0.0 — adapt OCP to the OpenCode v2 runtime (cc90e4b)
  • build: add bunfig.toml and refresh the lockfile for @opencode/plugin v2 (be1858c)
  • feat!: adapt to OpenCode v2 runtime (78183df)

OpenCode Prime v0.44.0

Choose a tag to compare

@github-actions github-actions released this 24 Sep 03:57

Changes

  • chore(release): v0.44.0 (a582a47)
  • fix: per-task dev-ultra checkpoints (ADR-0.44.0) (e32dea2)

OpenCode Prime v0.43.1

Choose a tag to compare

@github-actions github-actions released this 24 Sep 03:14

Changes

  • chore(release): v0.43.1 (35dbc8d)
  • fix: scope dev-deep checkpoints per task for parallel runs (7291cc3)
  • docs: list git-push launcher and skill in DEVELOPING.md tree (68dfe35)
  • docs: add /dev-deep workflow page with family cross-links (c1122a0)

OpenCode Prime v0.43.0

Choose a tag to compare

@github-actions github-actions released this 23 Sep 15:45

Changes

  • chore(release): v0.43.0 (809a92c)
  • feat: add /dev-deep command and skill (ec535ab)
  • docs(release): tag on release lines, drop mandatory main merge (1347f07)
  • docs: escape Vue interpolation in plugins.md placeholders (c08aa8d)

OpenCode Prime v0.42.0

Choose a tag to compare

@github-actions github-actions released this 23 Sep 05:33

Changes

  • chore(release): merge dev-v1 for v0.42.0 (71d1882)
  • feat(agents): max-capability build and permission polish (a87c9fc)
  • feat(installer): sectioned install log + wrapper config-dir guard (8339087)
  • feat(installer): add opencode-detect module and @pm: install channel (147d4d6)
  • feat(installer): pin opencode to v1, lock cross-major installs (eeb188a)

OpenCode Prime v0.41.0

Choose a tag to compare

@github-actions github-actions released this 22 Sep 12:27

Changes

  • feat(updater): major-version upgrade lock, 6 enforcement points (2441811)
  • fix(adr): inline adr-suites.json into the installer bundle (0d4a998)
  • release: v0.41.0 — e2e-guard retired, /e2e-adopt docs governance (9467b7a)
  • feat(e2e): retire e2e-guard plugin — /e2e-adopt docs governance (b0fd72d)

OpenCode Prime v0.40.3

Choose a tag to compare

@github-actions github-actions released this 22 Sep 03:32

Changes

  • chore(release): regenerate v0.40.3 manifest post-merge (8b0b825)
  • Merge branch 'feat/adr-compaction' — multi-style ADL, compaction, 8-locale glossary (v0.40.3) (f66d3f0)
  • chore(release): v0.40.3 (e57ff99)
  • feat(adr): ship the label glossary in 8 world locales (678b3e0)
  • docs(adr): land ADR-0.40.3 — appealability of accepted decisions (3b596ea)
  • build: gate release archives on the shipped-file manifest (c66a685)
  • docs(adr): document the compaction plan, workflow, evidence and delivery (21e3ba1)
  • test(adr): cover compaction services, crash recovery and real delivery (84ad878)
  • feat(adr): add bounded retrieval, compaction plans and audited application (8fe0b0b)
  • feat(shared): extract last-good + history fallback to shared utils, harden adr + plugin-switch (135504b)
  • refactor(adr): rename adr-guard plugin to adr (be705bf)
  • feat(adr-guard): add project-level adr config and skill-based protocol (b096aff)
  • fix(installer): bypass wrapper-injected OPENCODE_CONFIG_DIR (1d756bf)
  • docs(adr): record ADR 0.40.0 multi-style + prose policy; rename ADRs to semver ids; add zh/ mirror (be44ecd)
  • feat(adr): multi-style ADL (Nygard/MADR/OCP styles) with wizard integration; v0.40.0 (f1b9c02)

OpenCode Prime v0.39.2

Choose a tag to compare

@github-actions github-actions released this 21 Sep 09:46

v0.39.2 — 2026-09-21

Compare v0.39.1...v0.39.2

🐛 Fix: RTK compression no longer traps the model in a loop

The vendored rtk-write plugin rewrote every shell command through RTK unconditionally, and RTK's compression is lossy but invisible to the model. When the model needed elided data it re-ran the same command, the rewrite cache served the identical compressed output, and the session looped.

Three softness mechanisms now keep compression on without trapping the agent:

  • Loop guard — once a command's output was elided (RTK's [see remaining: ...] marker), that command runs unmodified for the rest of the session; a repeat threshold (default 3) backstops lossy-but-unmarked output and covers elision-marker drift. State is two-tiered (evictable partial counts plus a large non-rewrite set) so memory bounds cannot resurrect a loop.
  • Escape hatch — prefix any command with RTK_RAW=1 to bypass rewriting entirely, e.g. RTK_RAW=1 git status.
  • Recovery hint — when RTK elides output, tool.execute.after appends a one-line hint naming the exact rerun command. The original command is captured by callID in the before-hook, so the hint never names the already-rewritten form.

Tuning lives in tools.rtkWrite (enabled, loopThreshold, blocklist) in ~/.config/opencode/options.jsonc; defaults are enabled, loopThreshold: 3, empty blocklist.

🔖 Why a patch bump

Bug fix plus behavior hardening — no new command or skill, so the default patch bump applies (DEVELOPING.md §Adding a new skill or command, step 6).

OpenCode Prime v0.39.1

Choose a tag to compare

@github-actions github-actions released this 16 Sep 13:01

v0.39.1 — 2026-09-16

Compare v0.39.0...v0.39.1

✨ New command: /clean-dead-code

Evidence-graded dead-code sweep & cleanup, orchestrated by @build. The governing principle: deletion is the user's decision; the agent's job is evidence. Nothing is deleted on suspicion, nothing is silently dismissed — every uncertain finding is handed to the user with a recommendation.

  • Scopes — [changes] (default: uncommitted work, incl. deletions that orphan existing code), commit <ref>, <base>..<head>, pr <n|url> (via gh), all (whole project). Diff scopes report both directions: introduced-dead (the change added what nobody uses) and orphaned-by-diff (the change deleted the last caller).
  • Focus mode — --focus="payment checkout", or just trailing free text (/clean-dead-code auth middleware), narrows findings to one feature's code area: the agent infers the area and the user confirms it before scanning. A focus narrows what is reported, never what is searched — references outside the area still count as live uses.
  • Taxonomy C1–C6 — unused declarations, unreachable code, orphan files/modules, unused dependencies, dead config & feature flags, orphan resources.
  • Risk classes R1–R4 — R1/R2 support batch approval; R3 (public surface, test-only refs, deps, any unruled-out dynamic suspicion) is a per-item user decision and is never pre-approvable; R4 (entry points, generated/vendored, published API, exclusions) is untouchable. If R2-vs-R3 is arguable, it is R3.
  • Evidence layers — project-installed scanners only (knip / vulture / staticcheck / rustc dead_code / ...; never auto-installed), code intelligence (Serena / CodeGraph / LSP) via @explore dispatch when available, whole-tree text sweep incl. reflection & dynamic-dispatch patterns, and an entry/public-surface whitelist. Scanner output is input, not verdict.
  • Safety model — report first (→ .ocp/dead-code/<UTC>-<scope>[-<focus>].md), user approves every batch, a no-regress baseline (recorded build/typecheck/test state) verified per deletion batch, individually revertible chore: commits, per-batch file-copy snapshots guard uncommitted WIP (snapshot lifetime = the undo window; consumed snapshots self-prune), history is never rewritten. Keep-decisions persist to .ocp/dead-code/exclusions.md only when the user picks the persist option (per-item choice).

Flags: --focus=.. · --cats=.. · --paths=.. · --exclude=.. · --report-only · --approve=R1,R2. Protocol: skills/clean-dead-code/SKILL.md.

🔖 Why a patch bump

DEVELOPING.md maps new features to a minor bump by default. This release is one purely additive command+skill riding a quiet train straight after v0.39.0, so the maintainer took the patch-bump route — now the documented discretionary option (DEVELOPING.md §Adding a new skill or command, step 6), with the reason recorded here as the rule requires.

OpenCode Prime v0.39.0

Choose a tag to compare

@github-actions github-actions released this 15 Sep 15:52

Changes

  • chore(release): v0.39.0, raise minVersion to 0.38.0 (589a694)
  • feat!: rename /grill-improve-loop to /improve-loop (b2023be)