← Catalog

@aaronkyriesenbach/pi-package-manager

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

Extension

Install

Install with PiG

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

Install with Pi

pi install npm:@aaronkyriesenbach/pi-package-manager
Review before installing

Packages 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.

{
  "extensions": [
    "./index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.7.0 (README.md). PiG does not review it.

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:

KeyAction
↑/↓, j/kNavigate
spaceToggle the selected package on/off (session-only until saved)
pPersist all toggles to settings.json
uToggle auto-update on/off
enterClose
escClose, discarding unsaved toggles

Development

bun install
bun run typecheck
bun run test:coverage

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

License

MIT