Install
Install with PiG
pig install npm:@adamjen/pi-extInstall with Pi
pi install npm:@adamjen/pi-extPackages 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.
{
"skills": [
"./skills/commit",
"./skills/github",
"./skills/visit-webpage",
"./skills/web-search",
"./skills/session-query",
"./skills/sem"
],
"themes": [
"./themes"
],
"extensions": [
"./extensions/adamjen/custom-footer.ts",
"./extensions/review/review.ts",
"./extensions/leader-key/index.ts",
"./extensions/permissions/permissions.ts",
"./extensions/session-query/session-query.ts",
"./extensions/ask-user-question/index.ts",
"./extensions/tool-pills/index.ts",
"./extensions/cmux/index.ts",
"./extensions/session-snap/index.ts",
"./extensions/pi-telescope/index.ts",
"./extensions/handoff/index.ts",
"./extensions/pi-sem/index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.1.4 (README.md). PiG does not review it.
@adamjen/pi-ext
Fork of tomsej/pi-ext with custom modifications for local LLM setups.
What Changed
Custom Footer (extensions/adamjen/)
Original: Hardcoded 95k context window, used llama-swap's server-wide token stats for percentage.
Fixed:
- Uses
ctx.model.contextWindowfrom pi's actual model config (e.g., 64k for Qwen3.6-27B) - Removed llama-swap fallback — it showed server-wide usage, not session context
- Added
extractModelSize()to display model size (e.g.,orchestrator (27B)) - Added
Number.isFinite()guard to preventNaN%display - Renamed from
custom-footertoadamjento prevent auto-update conflicts
Before:
NaN%/64k │ ⚡ orchestrator (64k) (llama-swap) • high
After:
53%/64k │ ⚡ orchestrator (27B) (llama-swap) • high
Original Author
tomsej — Created the original pi-ext package with all extensions, skills, and themes. This fork only modifies the custom footer extension for accuracy with local LLM providers like llama-swap.
Full credit for: leader-key, tool-pills, code review, pi-sem, pi-telescope, session-snap, session-query, handoff, permissions, and all other extensions.
Install
pi install npm:@adamjen/pi-ext
Or add to settings.json:
{
"packages": [
"npm:@adamjen/pi-ext"
]
}
Requires Pi v0.37.3+.
License
MIT — same as original. See LICENSE for details.