- TypeScript 98%
- Shell 2%
pi-extensions #
A collection of Pi extensions.
@amolith/pi-handoff #
Get to the end of the thing you're doing, then use a subagent to extract
relevant bits from the current session and create a new one from them with
/handoff thorough goal description. You can tell Pi to hand something off
because it has a handoff tool too.
After extraction, whether triggered by you or Pi, the draft handoff goes in the new session's prompt editor and an auto-submit countdown starts that's cancelled by pressing most any key.
pi install npm:@amolith/pi-handoff
More info in the package's README
Based on handoff.ts and session-query.ts by Petr Baudis, licensed MIT accordingly. Reworked so the subagent calls a tool instead of expecting it to produce well-formed JSON, added an auto-submit countdown, and made the extraction model configurable.
@amolith/pi-personas #
Code with a grumpy senior today and work with a patient tutor tomorrow. Switch
between them with /persona. The active one persists across sessions until
changed. Setting a persona prior to startup appends it to the system prompt.
Changing it mid-session sends the persona content as a steering message.
pi install npm:@amolith/pi-personas
More info in the package's README
All mine 😃
Development #
Prerequisites: mise (installs Node and npm automatically).
# Install dependencies
npm install
# Format, lint, and type-check everything
mise run check