Skip to content

Move the plugin API pin to OpenCode 2.4.1 - #664

Merged
ivopogace merged 3 commits into
mainfrom
claude/opencode-release-e62aeb
Nov 23, 2026
Merged

ivopogace merged 3 commits into
mainfrom
claude/opencode-release-e62aeb

Conversation

@ivopogace

@ivopogace ivopogace commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Closes #663

Moves the pin from OpenCode 2.3.2 to 2.4.1: @opencode/plugin and @opencode/theme to 2.4.1, @opentui/core and @opentui/solid to 0.9.4 (the catalog at v2.4.1); effect 4.1.0 and solid-js 1.9.17 stay.

What 2.4.0 and 2.4.1 change for courier

Read from the release notes, the published type diff of @opencode/plugin and its @opencode/* packages, and the host source between v2.3.2 and v2.4.1. Everything else in the two releases does not touch the plugin.

Kind Release Change Evidence In this PR
Break 2.4.0 The automation tools moved from the opencode namespace to their own: opencode_automation_create is automation_create, and so on. CHILD_RULES denied opencode_automation_*, which matches nothing now, and automations are on by default, so every spawned session was offered them. packages/core/src/tool/plugin/automation.ts; the schedules group in the run linked from #663 CHILD_RULES denies automation_* (src/tree/spawn.ts); unit tests; the schedules group runs without the flag and reads the automation namespace line of the Code Mode catalog
Break 2.4.0 OpenCode's report of a native child's turn end is <background-result kind="subagent" sessionID="…" state="…">, no longer <subagent …>. HOST_REPORTS in the role entry named the old tag. packages/core/src/session/subagent-completion.ts, background-result.ts; the spawn-native group in the same run HOST_REPORTS names the new tag (src/tree/text.ts), snapshots, e2e/mock-model.mjs
Trap 2.4.0 Automations are no flag: on unless "automations": false. experimental.schedules is gone. packages/schema/src/config/flag.ts, packages/core/src/automation.ts "Feature flags" and "OpenCode's automations" in plugin-api-notes.md; architecture.md
Trap 2.4.1 The plugin API has ctx.experimental.automation.{create,list,delete}; still no events. packages/plugin/src/promise/plugin.ts "OpenCode's automations"
Trap 2.4.0 A plugin entry written as name@latest, a range or a Git branch installs a newer release on its own, at a start and every 24 hours. The bare name the docs install does not. packages/core/src/plugin/supervisor.ts "Installing and loading a plugin"; reference.md's "Updating the plugin"
Trap 2.4.0 With full_codemode, opencode_session_interrupt lets a session stop any session of the project but itself and its native parents. packages/core/src/tool/plugin/session-interrupt.ts "OpenCode's subagent tool"; the rule is #665

Re-checked and unchanged: the execution, inbox, permission and form events; the restart path a plain decline takes; experimental.idle (its background gains the kind video, courier reads only sessionID); the message shape of a transcript (assistant parts are now stored as their own rows); what the TUI sends; /goal's kickoff; subagent's follow-up; codemode: false, input repair and tool.transform; the leader keys; the modules the TUI host provides; the loader; rpc.call.

Follow-ups, after this merges

Not in this PR

Review

One round of code-review:code-review on 6ad3c2e. No bug and no CLAUDE.md finding. One wording point: in HOST_REPORTS, "That message" followed a sentence ending in "a message" and could be read as the courier report; it now reads "OpenCode's own message" (8cb97a0).

🤖 Generated with Claude Code

The automation tools moved to their own namespace, so a spawned session's
deny rule is automation_*. OpenCode's report of a native child's turn end
is a <background-result kind="subagent"> message, which the role entry
names.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@socket-security

socket-security Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​opencode/​theme@​2.3.2 ⏵ 2.4.1100 +11007496100
Updated@​opencode/​plugin@​2.3.2 ⏵ 2.4.19910080 +196100
Updated@​opentui/​core@​0.8.4 ⏵ 0.9.497 +11009498 +1100
Updated@​opentui/​solid@​0.8.4 ⏵ 0.9.41001009998 +1100

View full report

ivopogace and others added 2 commits November 23, 2026 21:14
…he session interrupt tool

Co-Authored-By: Claude Fable 5.2 <[email protected]>
…ld mean the courier report

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@sonarqubecloud

Copy link
Copy Markdown

@ivopogace
ivopogace merged commit cdeeeb7 into main Nov 23, 2026
14 checks passed
@ivopogace
ivopogace deleted the claude/opencode-release-e62aeb branch November 23, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenCode 2.4.0 is out: move the pin from 2.3.2

1 participant