@thurstonsand/pi-wt1.16.0
Move live pi sessions between directories and wt worktrees
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
pi-wt
Session mobility for pi, with built-in support for additionally managing wt worktrees.
Install
pi install npm:@thurstonsand/pi-wt
Use the /mv command out of the box, and install wt to gain access to the additional /wt command.
Usage
Move the live session to any existing directory:
/mv <dir>
The session continues immediately in the new folder with any env vars pre-loaded.
Move the session as part of a wt worktree operation:
/wt fork [name] [flags]
/wt checkout <branch> [flags]
/wt co <branch> [flags]
/wt rm [-f] [name]
/wt merge [name] [flags]
/wt rebranch <branch> [flags]
Skill
The package ships the wt skill teaching the agent the worktree workflows and when to hand an operation back to you as a /wt or /mv command. Disable it from pi config if you only want /mv.
Development
npm run check
pi -e ./extensions/wt.ts