@thurstonsand/pi-wt
v1.15.0
Published
Move live pi sessions between directories and wt worktrees
Maintainers
Readme
pi-wt
Session mobility for pi, with built-in support for additionally managing wt worktrees.
Install
pi install npm:@thurstonsand/pi-wtUse 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