Skip to content

Add official OpenCode plugin support #1841

Closed

Description

@Yashasewi

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.

Activity

  1. worktrunk-bot commented on Mar 31, 2026

    @worktrunk-bot
    Collaborator

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions