@spences10/pi-recall
Pi extension that reminds the model to use pirecall and syncs session recall data
Package details
Install @spences10/pi-recall from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@spences10/pi-recall- Package
@spences10/pi-recall- Version
0.0.5- Published
- May 4, 2026
- Downloads
- 682/mo · 619/wk
- Author
- spences10
- License
- MIT
- Types
- extension
- Size
- 9.2 KB
- Dependencies
- 1 dependency · 0 peers
Pi manifest JSON
{
"extensions": [
"./dist/index.js"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@spences10/pi-recall
Pi extension that reminds the model to use pirecall for past-session
context and syncs local recall data.
Maintained in the my-pi Vite+ workspace and tested with Vitest.
Installation
pi install npm:@spences10/pi-recall
Local development from this monorepo:
pnpm --filter @spences10/pi-recall run build
pi install ./packages/pi-recall
# or for one run only
pi -e ./packages/pi-recall
What it does
- runs
npx pirecall sync --jsonin the background on session start when~/.pi/pirecall.dbexists - runs
npx pirecall sync --jsonagain on session shutdown - injects a system reminder telling the model to use
pnpx pirecall ... --jsonornpx pirecall ... --json - adds no slash commands and no custom tools
Model reminder
The injected reminder tells the model to use pirecall when:
- the user references prior work
- previous session context would prevent repeated work
- project history or decisions matter
Useful commands:
pnpx pirecall sync --json
pnpx pirecall recall "auth refactor" --json
pnpx pirecall search "prompt presets" --json
pnpx pirecall sessions --json
pnpx pirecall stats --json
Use npx instead of pnpx outside pnpm-oriented environments.
Using from a custom harness
import recall from '@spences10/pi-recall';
// pass `recall` as an ExtensionFactory to your Pi runtime
my-pi imports this package directly and enables it as the built-in
recall reminder.
Development
pnpm --filter @spences10/pi-recall run check
pnpm --filter @spences10/pi-recall run test
pnpm --filter @spences10/pi-recall run build
License
MIT