← Catalog

pi-away

A one-line recap of where the session stands when you come back to Pi, plus /recap

Package

Install

Install with PiG

pig install npm:pi-away

Install with Pi

pi install npm:pi-away
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.

{
  "image": "https://raw.githubusercontent.com/Pringled/pi-extensions/main/assets/images/pi-away-dark.gif",
  "extensions": [
    "./extensions/away.ts"
  ]
}

README

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

pi-away

A one-line recap of where things stand when you come back to Pi. Start a long task, walk away, and find this above the input when you're back:

※ recap: Fixed the off-by-one bug in stats.py's mean() and added median() with tests; all 4 tests pass. Still to decide: how empty lists should be handled.
pi-away demo
pi install npm:pi-away

Usage

  • Three minutes after Pi finishes, the recap is written in the background, so it's ready whenever you come back. It goes away when you send your next message.
  • /recap writes one right away, for example in a session you just resumed.

Short sessions, under three messages, don't get an automatic recap.

How it works

The recap comes from the same model, asked with the conversation exactly as Pi sends it and at the same thinking level, so it reuses Pi's prompt cache. The automatic recap is written three minutes after Pi finishes because the cache lasts about five.

License

MIT