@s4lv0/pi-pins

extensionmaintained

Pin assistant messages and recall them in an interactive overlay browser

by · v0.1.0 · published 3w ago

$ pi install npm:@s4lv0/pi-pins
downloads/mo
169
stars
2
last push
2w ago
open issues
0

Signals

license: MITtestspi manifest: missinginstall size: —deps: 0peer deps: 0

Download trend

169 downloads · last 12 weeks (weekly)

README

pi-pins

A pi extension to pin assistant messages and recall them in an interactive overlay browser — without taking permanent screen space.

pi-pins preview

Why

Long conversations bury useful answers (tables, plans, command outputs). Pin them the moment they appear, recall them later in a floating markdown-rendered overlay.

Commands

CommandDescription
/pin [label]Pin the last assistant message (label is any free text; auto-generated if omitted)
/pin pickInteractively pick one of the last 10 assistant messages to pin
/pin show [n]Open the pin browser (optionally pre-selecting pin #n)
/pin rm <n>Remove pin #n
/pin clearRemove all pins (IDs restart from 1)
/pin helpShow help

Browser keys

KeyAction
/ Scroll content line by line
PgUp / PgDnSwitch between pins
g / GJump to top / bottom of content
q / Esc / EnterClose the overlay

Features

  • Interactive master-detail browser: pin list + live markdown preview, rendered like the chat transcript (tables, headings, code)
  • Dismissible overlay: anchored to the top of the screen, 80% height, closes without a trace — no persistent widgets
  • Session-persistent: pins are stored in the session file itself (pi.appendEntry), so they survive /reload, restarts, and /resume, and follow session tree branches
  • Tab completion for all subcommands

Install

pi install npm:@s4lv0/pi-pins

Or straight from git: pi install https://github.com/s4lv0/pi-pins (SSH: pi install git:git@github.com:s4lv0/pi-pins)

Then /reload in pi.

Installing from npm is recommended: pi update --all keeps npm packages current, while git installs stay pinned to the ref they were installed at.

License

MIT — see LICENSE