@aaronkyriesenbach/pi-package-manager

Pi package manager — list, enable/disable, and auto-update installed Pi packages from within a session

Packages

Package details

extension

Install @aaronkyriesenbach/pi-package-manager from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@aaronkyriesenbach/pi-package-manager
Package
@aaronkyriesenbach/pi-package-manager
Version
0.5.0
Published
Sep 10, 2026
Downloads
251/mo · 36/wk
Author
aaronkyriesenbach
License
MIT
Types
extension
Size
37.5 KB
Dependencies
0 dependencies · 4 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

pi-package-manager

A pi extension that adds a /packages command for managing installed Pi packages — list, enable/disable, and auto-update — without leaving your session.

Why

Pi packages are configured through settings.json, but there's no interactive way to see what's installed, what's enabled, or what has an update available. This extension adds a /packages TUI that shows all installed packages and lets you toggle them, save changes back to settings.json, and configure auto-update — all without hand-editing JSON.

  • List every installed package with its version, enabled/disabled status, and the resources it provides (extensions, skills, prompts, themes).
  • Toggle a package on/off for the current session, or persist the change back to settings.json.
  • Auto-update: on session start, checks npm for newer versions of installed packages and runs pi update --extensions when one is found.

Install

pi install npm:@aaronkyriesenbach/pi-package-manager

Or add it to .pi/settings.json / ~/.pi/agent/settings.json:

{
  "packages": ["npm:@aaronkyriesenbach/pi-package-manager"]
}

Usage

Run /packages in a session to open the package list:

Key Action
↑/↓, j/k Navigate
space Toggle the selected package on/off (session-only until saved)
p Persist all toggles to settings.json
u Toggle auto-update on/off
enter Close
esc Close, discarding unsaved toggles

Development

bun install
bun run typecheck
bun run lint
bun run format:check
bun run test:coverage

See AGENTS.md for the full command reference, project structure, and code style conventions.

License

MIT