@sanif/pi-chat-summary

A concise session recap with responsive bullet details for Pi.

Packages

Package details

extension

Install @sanif/pi-chat-summary from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@sanif/pi-chat-summary
Package
@sanif/pi-chat-summary
Version
0.1.0
Published
Aug 18, 2026
Downloads
192/mo · 23/wk
Author
sanif
License
MIT
Types
extension
Size
215.9 KB
Dependencies
0 dependencies · 3 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

Chat Summary

A Pi extension that keeps a concise, rolling session recap in the conversation transcript so the current goal, progress, and important decisions stay easy to scan.

What it does

  • Shows a short recap followed by up to five focused bullet points.
  • Updates automatically after completed turns or manually with /summary refresh.
  • Keeps only the latest cumulative summary visible and follows session branches.
  • Uses plain language and excludes tool calls and tool results by default.
  • Supports global settings, trusted project overrides, and editable summary guidance.

Install

pi install npm:@sanif/pi-chat-summary

Or install from GitHub:

pi install git:github.com/sanif/pi-chat-summary

Usage

  • /summary — view the current summary
  • /summary refresh — regenerate it
  • /summary settings — manage feature toggles
  • /summary prompt — manage summary guidance
  • /summary help — show all commands

Configuration is loaded from ~/.pi/agent/chat-summary.json and, for trusted projects, <project>/.pi/chat-summary.json.

Privacy and cost

Summary generation is separate from the main transcript and may incur model-provider cost. Privacy-safe diagnostics never include conversation or summary text.

Development

bun install
bun run verify

License

MIT