omp packages

pi-pinned-sessions0.1.0

Pin sessions directly in Pi's Ctrl+R session picker, with fast first-page loading

dd404 Published 17 days ago MIT ~351 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

pi-pinned-sessions

Pin any number of sessions directly in Pi's native Ctrl+R session picker. Pinned sessions appear first with a 📌 marker. The picker shows pinned sessions and the first recent batch immediately, then continues loading the remaining sessions in the background.

Requirements

  • Node.js 22.19 or newer
  • Tested with Pi 1.5.2

Install

pi install npm:pi-pinned-sessions

Restart Pi or run /reload.

Use

  1. Press Ctrl+R or run /resume.
  2. Search or move the cursor to a session.
  3. Press Ctrl+X to pin or unpin it.

All native picker features remain available, including search, rename, delete, current/all scope, and session resume.

Pins are stored outside the conversation in:

~/.pi/agent/pinned-sessions.json

They never enter the model context.

Compatibility

This extension customizes Pi's runtime session selector and uses some internal component state. Future Pi releases may require an update. No Pi installation files are modified.

Uninstall

pi remove npm:pi-pinned-sessions

License

MIT