pi-projects
Pi extension: /projects picker to switch, resume, or delete sessions by project directory
Package details
Install pi-projects from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-projects- Package
pi-projects- Version
0.1.0- Published
- Sep 6, 2026
- Downloads
- 136/mo · 8/wk
- Author
- edgarasben
- License
- MIT
- Types
- extension
- Size
- 17.6 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-projects
A Pi package that adds /projects: pick a project directory that already has Pi sessions, then start a new session there, resume the latest one, or delete that project's session files.
/resume lists sessions. /projects groups them by cwd.
Install
pi install npm:pi-projects
Requires Pi 0.85 or later.
Usage
/projects
| Key | Action |
|---|---|
| Tab | Toggle Recent / Popular |
| Type | Fuzzy search by name or path |
| ↑↓ | Move selection |
| Enter | New session in that project |
| Ctrl+R | Resume latest session |
| Ctrl+D | Delete all sessions for that project |
| Esc | Cancel |
Opening a project does not write an empty session file. The session is created on the first assistant reply, same as /new.
Deleted session files go to Trash when the trash CLI is available.
Local install (unpublished)
pi install /absolute/path/to/pi-projects