@deathbeam/pi-archive
Minimal extension for searching past Pi conversations and improving compaction.
Package details
Install @deathbeam/pi-archive from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@deathbeam/pi-archive- Package
@deathbeam/pi-archive- Version
0.0.11- Published
- Oct 29, 2026
- Downloads
- 1,259/mo · 276/wk
- Author
- deathbeam
- License
- MIT
- Types
- extension
- Size
- 24.2 KB
- Dependencies
- 0 dependencies · 2 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
@deathbeam/pi-archive
Search past Pi sessions with search_archive and show recent session titles.
Installation
# Choose one:
pi install npm:@deathbeam/pi-archive # this package
pi install git:github.com/deathbeam/pi-packages # all my packages
Configuration
Optional archive settings live in ~/.pi/agent/settings.json or .pi/settings.json:
{
"archive": {
"compaction": "anthropic/claude-haiku-4-5:low"
}
}
compactionis aprovider/model-idstring with an optional:<thinking>suffix. When set, its used as compaction model.
Development
From this package directory:
npm install
npm test
pi install .