pi-goosedump
Pi extension for goosedump session search, durable memory, and compaction
Package details
Install pi-goosedump from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-goosedump- Package
pi-goosedump- Version
0.12.30- Published
- Aug 4, 2026
- Downloads
- 10.1K/mo · 3,448/wk
- Author
- jarkkojs
- License
- Apache-2.0
- Types
- extension
- Size
- 108.4 KB
- Dependencies
- 3 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./dist/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-goosedump
pi-goosedump adds goosedump-backed session search, durable memory, session
management, and compaction to Pi. Its tools use the goose_ prefix.
Install
pi install npm:pi-goosedump
The package includes native binaries for Linux x64, macOS arm64, and Windows x64. On unsupported platforms, Pi keeps its normal compaction behavior and the goosedump tools report that they are unavailable. Local models download on first use.
Tools
goose_searchranks session messages and returns entry IDs.goose_getexpands entries returned by search or grep.goose_grepfilters messages with a glob.goose_rememberqueues memory learning from a session.goose_recallrecalls project-scoped memory with provenance.goose_compactcompacts the current Pi session asynchronously.goose_sessionslists or deletes sessions in the current working directory.goose_forgetdeletes a memory or a session's retained sources.goose_memory_statusreports storage and indexing health.
Session tools default to the current Pi session and active lineage. Non-Pi providers require a session ID. Recall returns up to five memories by default. Use each tool's schema for its full options.
Commands
/goose-search [query]searches the current session./goose-compact [keep:N]compacts now and can preserve recent user turns./goose-sessionslists project sessions and can resume or delete them. Resume is available only for Pi sessions./goose-forget [memory-id|provider:id]forgets stored memory./goose-memory-statusshows memory storage and indexing status./goose-settingsedits global and project compaction settings.
Settings
Put global settings in ~/.pi/agent/settings.json and project overrides in
.pi/settings.json:
{
"goosedump": {
"turnsBeforeCompact": 0,
"summaryMaxTokens": 4096
}
}
turnsBeforeCompact:0to255;0disables the turn trigger. Each completed model response counts as one turn. The footer shows the remaining count in hexadecimal.summaryMaxTokens:512to65536; defaults to4096. Pi limits the effective budget to 80% ofcompaction.reserveTokenswhen that is lower.
Pi's compaction.enabled controls automatic compaction. The first enabled
context or turn limit reached starts one compaction; successful compaction
resets the turn counter.
Manual and automatic compaction preserve the previous summary and summarize
only new entries. keep:N leaves the last N user turns verbatim. Manual requests
wait until Pi is idle, and memory learning runs in the background after success.
If the turn limit expires during a tool loop, Pi saves the current batch, starts
compaction at that turn boundary, and resumes automatically. Goosedump failures
fall back to Pi's compactor.
License
Apache-2.0. See LICENSE.