@thurstonsand/pi-wt

Move live pi sessions between directories and wt worktrees

Packages

Package details

extensionskill

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.16.0
Published
Oct 16, 2026
Downloads
178/mo · 115/wk
Author
thurstonsand
License
MIT
Types
extension, skill
Size
44.3 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "skills": [
    "./skills"
  ],
  "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]

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