Repository navigation
Pin the plugin API to OpenCode 2.2.1 - #393
Merged
Merged
Conversation
Moves @opencode/plugin, @opencode/cli and @opencode/theme to 2.2.1 and solid-js to 1.9.17, the version in OpenCode's catalog at v2.2.1; effect and @opentui/* are unchanged. Updates the version README.md and the maintainer docs name, and the keyed session instructions trap: since 2.2.1 the plugin API types `session.instructions` and `session.wait` from the client's experimental session API, and the SDK's non-experimental path is a deprecated alias removed in the next minor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0138xCuAkvqGimCN48BLvVb9
The keyed session instructions stay, as the one exception kept on purpose; any other experimental hook, config key, client path, tool or command is left alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0138xCuAkvqGimCN48BLvVb9
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Issue
No issue: OpenCode 2.2.1 came out today, before
latest.ymlopened one.Type of change
What does this PR do?
Moves the pin to OpenCode 2.2.1, following
docs/maintainers/releasing.md:@opencode/plugin(peer and devDependency),@opencode/cliin the docs and@opencode/themeto 2.2.1;solid-jsto 1.9.17, OpenCode's catalog atv2.2.1.effect(4.0.1) and@opentui/*(0.7.0) are unchanged.docs/reference.md's terminal part line, CLAUDE.md and the maintainer docs. The version tables are left toscript/compat-table.tsat release.docs/maintainers/plugin-api-notes.md: every trap re-checked against the OpenCode files they cite that changed betweenv2.2.0andv2.2.1; none moves, and the HTTP routes the e2e scripts call are unchanged. The keyed session instructions trap now says that since 2.2.1 the plugin API typessession.instructionsfrom the client'sExperimentalSessionApi(refactor(client): group experimental SDK methods under client.experimental anomalyco/opencode#59072), with the SDK's non-experimental path a deprecated alias removed in the next minor.experimental.idle,experimental.schedules,/goal) is adopted.No source change: the plugin compiles and behaves the same against 2.2.1.
How did you verify it?
bun run typecheck,bun run build,bun test(1257 pass) andbun script/compat-table.ts --check.npm run test:e2eagainst@opencode/cli@2.2.1, running locally; CI runs both live suites on 2.2.1.Screenshots / recordings
None: no change to the terminal part.
Checklist
bun run typecheckandbun testpasse2e/run.shscenario (no behaviour change)docs/reference.mdare updated where behaviour changedtest/__snapshots__/(none changed)Generated by Claude Code