@zzy2357/pi-session-manager
Browse, switch, and delete Pi sessions interactively
Package details
Install @zzy2357/pi-session-manager from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@zzy2357/pi-session-manager- Package
@zzy2357/pi-session-manager- Version
1.0.3- Published
- Jul 28, 2026
- Downloads
- 494/mo · 494/wk
- Author
- zzy2357
- License
- MIT
- Types
- extension
- Size
- 17.3 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./index.ts"
],
"image": "https://pi.dev/logo-auto.svg"
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-session-manager
Browse, switch, and delete Pi sessions — all from one interactive browser.
Commands
| Command | Description |
|---|---|
/sessions |
Open interactive session browser |
Browser shortcuts
| Key | Action |
|---|---|
↑ / ↓ |
Navigate sessions |
Enter |
Switch to selected session |
i |
Toggle session details (prompt, project, model, file path, ID) |
d (twice) |
Delete session |
/ |
Filter by prompt text, project path, or model |
Esc |
Close |
Each row shows: first user prompt (or session name if set) · age · message count · model.
The current session name (if set) also appears in the footer status bar.
Install
pi install npm:@zzy2357/pi-session-manager
# or from git
pi install git:github.com/zzy2357/pi-session-manager
After install, run /reload and type /sessions.
Files it reads
~/.pi/agent/sessions/**/*.jsonl— scans all session files- Uses
PI_CODING_AGENT_SESSION_DIRenv var if set
Files it deletes
- The
.jsonlfile of any session you confirm deletion for (viad d)