@zle13/pi-move
Pi extension to move between working directories with session resume or new session creation
Package details
Install @zle13/pi-move from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@zle13/pi-move- Package
@zle13/pi-move- Version
0.2.0- Published
- Sep 11, 2026
- Downloads
- 478/mo · 22/wk
- Author
- zle13
- License
- MIT
- Types
- extension
- Size
- 36.3 KB
- Dependencies
- 0 dependencies · 5 peers
Pi manifest JSON
{
"extensions": [
"./extensions/move.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@zle13/pi-move
Pi extension to switch working directories and resume, fork, or create sessions—with native Git worktree support.
Installation
pi install npm:@zle13/pi-move
Usage
/move # Open interactive hub (worktrees, recent dirs, inherit from main)
/move <branch> # Jump directly to a worktree by branch name (e.g. /move feat-auth)
/move <path> # Move to any directory with smart history autocomplete
Features
- Interactive Hub: Run
/movewithout arguments to pick from repository Git worktrees and recent directories. - Worktree Session Inheritance: When inside a linked worktree (e.g. via Herdr), run
/moveto adopt and fork any session from the main repo checkout. - Seamless Context Forking: Moving to an empty worktree or directory lets you fork your current conversation, rebinding
cwdwhile preserving complete message history. - Smart Autocomplete: Surfaces worktree branches, recent directories, and filesystem paths as you type.