pi-project
Pi extension that switches projects/sessions by a single command, with an tidy picker and project explorer.
Package details
Install pi-project from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-project- Package
pi-project- Version
0.1.1- Published
- Jun 13, 2026
- Downloads
- not available
- Author
- liushihao456
- License
- MIT
- Types
- extension
- Size
- 32.1 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-project
Pi extension that adds /project, a project/session switcher derived from existing session working directories.
Features
- Groups projects from
SessionManager.listAll()by sessioncwd. - Switches to existing project sessions or creates new sessions.
- Custom
/resume-style picker UI. - Custom folder explorer via
Open New Folder…. - IME-friendly search input using Pi TUI
Input+Focusable. - Fuzzy search for projects, sessions, and file explorer entries.
- Cleans up empty sessions created only to switch cwd.
Install
pi install npm:pi-project
Or try once:
pi -e npm:pi-project
Usage
/project
Controls:
↑/↓,C-p/C-n: move selection- Type: fuzzy search
Enter: choose/switch/select folderC-o: open folder / create new sessionTab: enter selected directory in folder explorerM-Backspace: go to parent path segment in folder explorerEsc/C-c: cancel/back
License
MIT