Skip to content

fix: load on OpenCode 2.2 - #8

Open
DuckKota wants to merge 1 commit into
charlesnutter:mainfrom
DuckKota:fix/opencode-2.2
Open

DuckKota wants to merge 1 commit into
charlesnutter:mainfrom
DuckKota:fix/opencode-2.2

Conversation

@DuckKota

@DuckKota DuckKota commented Nov 3, 2026

Copy link
Copy Markdown

OpenCode 2.2 renamed the host plugin and client packages to @opencode/plugin and @opencode/client. The old @opencode-ai/plugin specifier no longer resolves, so the TUI plugin fails before setup.

Also guard themeColor against nested palette objects such as text.action.primary, which are not colors. Update the dev and peer dependencies to 2.2.5, regenerate the lockfile, and move the dev probe to the current session.text.delta event so typecheck passes.

OpenCode 2.2 renamed the host plugin and client packages to @opencode/plugin and @opencode/client. The old @opencode-ai/plugin specifier no longer resolves, so the TUI plugin fails before setup.

Also guard themeColor against nested palette objects such as text.action.primary, which are not colors. Update the dev and peer dependencies to 2.2.5, regenerate the lockfile, and move the dev probe to the current session.text.delta event so typecheck passes.
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.

1 participant