worktrunk icon indicating copy to clipboard operation
worktrunk copied to clipboard

Add official OpenCode plugin support

Open Yashasewi opened this issue 8 months ago • 1 comments

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.

Yashasewi avatar Mar 31 '26 11:03 Yashasewi

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.

worktrunk-bot avatar Mar 31 '26 11:03 worktrunk-bot