← Catalog

@mblarsen/pi-follow-ups

Capture follow-up notes anchored to Pi assistant messages.

Extension

Install

Install with PiG

pig install npm:@mblarsen/pi-follow-ups

Install with Pi

pi install npm:@mblarsen/pi-follow-ups
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.1.1 (README.md). PiG does not review it.

follow-ups

Capture follow-up notes anchored to the nearest previous assistant message, then pop them back into the Pi chat input later.

Use it when the agent says something you want to revisit, but you do not want to interrupt the current flow.

Install

pi install npm:@mblarsen/pi-follow-ups

Usage

CommandDescription
/follow-upOpen a composer and save a follow-up anchored to the nearest previous non-empty assistant message.
/follow-up listOpen the follow-ups list for the current session.

Follow-ups are stored in .pi/follow-ups.jsonl at the repo root, shared by linked worktrees.

When not-done follow-ups exist, the footer status item with key follow-up shows follow-up: <session-count>/<worktree-count>/<repo-count>.

List controls

KeyAction
enterPop selected follow-up into the chat input and mark it done.
pPreview the anchored assistant message in a scrollable window.
eEdit selected follow-up.
ctrl-dDelete selected follow-up with confirmation.
u / dMove selected follow-up up or down.
tabCycle between current-session, current-worktree, and whole-repo scope.
nCreate a new follow-up using the selected item’s anchor.
j / k, arrowsNavigate.
q, escape, ctrl-cClose the list, or close preview mode when previewing.

Done follow-ups stay in the list, move below active items, and are dimmed.

Anchor model

Each follow-up stores:

  • message text
  • created timestamp
  • session ID
  • Pi tree node ID
  • worktree root
  • snippet of the anchored assistant message
  • full anchored assistant text for previewing

The anchor search walks backward through the current session branch and skips empty or aborted assistant entries.

In preview mode, use j/k or arrows to scroll and p/q/escape to close.