Skip to content

bscholar-tt/opencode-worktrunk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

(WIP) opencode-worktrunk

An OpenCode plugin that creates and manages git worktrees using worktrunk (wt).

Requirements

  • worktrunk (wt in PATH)
  • OpenCode with plugin support

Tools

worktree_create

Creates a new git worktree via wt switch -c <branch> and opens a forked session in OpenCode pointing at it.

Arg Required Description
branch yes Branch name (e.g. feature/my-feature)
baseBranch no Base branch to create from (defaults to HEAD)

worktree_delete

Removes a worktree and its branch via wt remove <branch>.

Arg Required Description
branch yes Branch name of the worktree to delete

Status Markers

The plugin automatically updates the worktrunk status marker for the current worktree:

Marker Meaning
🤖 Agent is executing a tool
💬 Session is idle / waiting

These show up in wt list and any worktrunk-aware status line.

Installation

Add to your OpenCode config:

{
  "plugin": ["bscholar-tt/opencode-worktrunk"]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors