Install
Install with PiG
pig install npm:pi-chat-recapInstall with Pi
pi install npm:pi-chat-recapPackages 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.3 (README.md). PiG does not review it.
pi-chat-recap
A recap of your Pi conversation, recorded as data that other tools can draw. A producer-only Pi and Gentle Shell extension.
What it does
It records what happened in each exchange — the user text, the final assistant reply, real timestamps, response time, token usage, tool-call counts and cancelled exchanges — into an append-only JSONL journal beside the session file. Optionally, a model writes a one-line summary of each answered exchange, always in the language the session started in. It renders nothing: renderers such as the herdr-sidecar recap view read the journal and own all presentation.
What it solves
- "What did we do in this session?" A side panel can show a readable recap without scraping the chat.
- Renderers guessing at conversation semantics. The producer decides what an exchange is, when it was cancelled and what language it is in; the renderer only draws.
- Silent failures. Every configuration, prompt or model problem lands in the journal as a warning and in the UI, never swallowed.
Summaries are off by default: out of the box it makes no model call.
Install
# Gentle Shell
gentle-shell install npm:pi-chat-recap
# Pi
pi install npm:pi-chat-recap
Then /reload inside the session, and /chat-recap prints exchange counts,
the detected language and the effective summary mode. Local clones and one-shot
tests: docs/development.md.
Documentation
| I want to… | Read |
|---|---|
| Turn on model summaries, or change their prompt | docs/configuration.md |
| Read the journal from a renderer | docs/journal.md |
| Know who owns what between producer and renderer | docs/design.md |
| Run the tests or install from a clone | docs/development.md |
License
MIT — see LICENSE.