@thurstonsand/pi-wt
Move live pi sessions between directories and wt worktrees
Package details
Install @thurstonsand/pi-wt from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@thurstonsand/pi-wt- Package
@thurstonsand/pi-wt- Version
1.14.0- Published
- Aug 4, 2026
- Downloads
- 719/mo · 35/wk
- Author
- thurstonsand
- License
- MIT
- Types
- extension
- Size
- 35 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./extensions/wt.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
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]
Development
npm run check
pi -e ./extensions/wt.ts