Add official OpenCode plugin support
Summary
Worktrunk currently ships a .claude-plugin for Claude Code integration, but there's no equivalent for OpenCode. It would be great to see first-party OpenCode support added to the repo.
Proposed solution
Add an OpenCode plugin — ideally under .opencode/ or similar — with feature parity with the existing Claude Code integration:
- Worktree status markers (e.g. 🤖 working, 💬 waiting)
- Tools:
worktrunk-list,worktrunk-switch,worktrunk-create,worktrunk-merge - Context injection of current worktree path/branch into the agent prompt
Why this matters OpenCode is gaining traction as an open-source AI coding tool, and Worktrunk is already a natural fit for parallel agent workflows regardless of which tool you use. Having the plugin in-tree means it stays in sync with Worktrunk's API and gets tested alongside the rest of the project.
Thanks for the suggestion! It looks like #1807 is already an open PR that adds OpenCode integration (activity tracking, plugin, config) — which covers much of what you're describing here.
I'll leave it for a maintainer to confirm and link them.