Repository navigation
v0.5.0 — OpenCode 2.0 support
OpenCode 2.0 support
- Add a shared entrypoint for OpenCode 2.0 and OpenCode V1 1.18.29 or newer.
- Register all eight PTY tools and both Web UI commands through the V2 API.
- Support V2 ordered shell permissions and queued synthetic exit notifications.
- Clean up PTY sessions, the Web UI server, and event subscriptions when the V2 plugin unloads.
- Provide an explicit @makcimbx/opencode-pty/v1 entrypoint for V1 wrapper plugins.
OpenCode 2.0 configuration
{
"plugins": [{ "package": "@makcimbx/opencode-pty" }]
}OpenCode V1 configuration
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@makcimbx/opencode-pty"]
}Fully quit and restart OpenCode after updating the plugin.
npm: https://www.npmjs.com/package/@makcimbx/opencode-pty/v/0.5.0