pi-claude-code-restore
Searchable restore, jump, fork, and label palette for Pi sessions.
Package details
Install pi-claude-code-restore from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-claude-code-restore- Package
pi-claude-code-restore- Version
0.1.0- Published
- May 26, 2026
- Downloads
- not available
- Author
- ismailsaleekh
- License
- MIT
- Types
- extension
- Size
- 26.5 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./extensions"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-claude-code-restore
Searchable restore, jump, fork, and label palette for Pi sessions.
Install
pi install npm:pi-claude-code-restore
Then reload Pi:
/reload
Usage
/restore
/restore search terms
Shortcut:
Alt+R
Controls
| Key | Action |
|---|---|
| Type | Search current session entries |
| Up / Down | Move selection |
| PageUp / PageDown | Jump selection |
| Enter | Restore / jump to selected entry |
| Alt+F or Ctrl+F | Fork a new session at selected entry |
| Alt+L or Ctrl+L | Set or clear label |
| Alt+O or Ctrl+O | Cycle filter: smart, user, assistant, labeled, all |
| Alt+P or Ctrl+P | Toggle compact / expanded preview |
| Backspace | Edit search |
| Ctrl+U | Clear search |
| Esc | Clear search, then close |
Behavior
- User messages restore the prompt into the editor for editing/resubmission.
- Assistant, tool, compaction, and summary entries jump the session leaf to that point.
- Fork creates a new session at the selected entry.
- Labels integrate with Pi session labels.
Design
- No background watchers.
- No model calls.
- No auto-compaction.
- Current session only.
- Lightweight terminal overlay.
Security
This extension reads the current Pi session tree and calls Pi session APIs. It does not read arbitrary project files, access network resources, or execute shell commands.
License
MIT