← Catalog

@thurstonsand/pi-wt

Move live pi sessions between directories and wt worktrees

Package

Install

Install with PiG

pig install npm:@thurstonsand/pi-wt

Install with Pi

pi install npm:@thurstonsand/pi-wt
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "skills": [
    "./skills"
  ],
  "extensions": [
    "./extensions/wt.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 1.17.0 (README.md). PiG does not review it.

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