pi-session-bookmark
extensionmaintainedBrowser-style session bookmarks for pi — /bookmarks, /bookmark-add, /bookmark-remove
by — · v0.1.0 · published 2w ago
$ pi install npm:pi-session-bookmarkdownloads/mo
139
stars
2
last push
4d ago
open issues
1
Signals
license: MITtestspi manifest: missinginstall size: —deps: 0peer deps: 0
Download trend
140 downloads · last 12 weeks (weekly)
README
pi-session-bookmark
Browser-style bookmarks for pi sessions: keep a short list of the sessions you actually want again, and jump back into one from any project.
Install
pi install npm:pi-session-bookmark
Then /reload or restart pi.
Usage
/bookmark-add [name]— bookmark the current session under a name. The name is optional: without one it falls back to the session's display name, then to a preview of the first user message. Re-adding updates the name in place./bookmarks [query]— open the bookmark picker. Enter resumes the selected session and switches to its working directory. An optional query filters by name, preview, or path./bookmark-remove— remove the current session's bookmark. Silent no-op if the session isn't bookmarked (idempotent, likerm).
How it works
- Bookmarks are global — one list across all projects and working directories.
- Stored in
~/.pi/agent/session-bookmarks.json(honorsPI_CODING_AGENT_DIR). Session files themselves are never modified. - Rows show
name · directory · date; entries whose session file no longer exists are marked[missing]and can be removed from the picker. - Selecting the session you're already in reports "Already in this session" instead of switching.
Requirements
- pi on your PATH (Node ≥ 22).
License
MIT