@andie/pi-extensions
Andie's command guard, task status, conversation viewer and Powerline adapters for Pi
Package details
Install @andie/pi-extensions from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@andie/pi-extensions- Package
@andie/pi-extensions- Version
0.1.1- Published
- Nov 11, 2026
- Downloads
- 657/mo · 657/wk
- Author
- andie
- License
- UNLICENSED
- Types
- extension
- Size
- 50.8 KB
- Dependencies
- 2 dependencies · 4 peers
Pi manifest JSON
{
"skills": [],
"extensions": [
"dcg-guard.ts",
"agent-status.ts",
"view/index.ts",
"powerline/editor.ts",
"powerline/cache.ts",
"powerline/timer.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
Andie's Pi extensions
A Pi package containing all of Andie's self-authored runtime extensions: a command guard, task status card, local conversation viewer, and Powerline adapters.
pi install npm:@andie/pi-extensions
Keep the source unversioned to receive normal Pi update notices when a new npm release is available. Update through Pi, then restart or run /reload.
| Extension | Usage |
|---|---|
| DCG guard | Checks Bash tool commands with dcg --robot test --dialect posix. Install DCG separately, or select the executable with DCG_BIN. |
| Agent status | /status on or /status off; the agent_status tool reports task progress in TUI mode. |
| Conversation viewer | /view, /view 3, or /view all opens a standalone snapshot of the current conversation branch. |
| Powerline editor | Restores the flush native editor when using Powerline's editor wrapper. |
| Powerline cache | Supplies compact cumulative and last-request cache-hit labels to Powerline. |
| Powerline timer | Supplies elapsed run time, including retries and continuations. |
The viewer includes its HTML, CSS, JavaScript, Markdown renderer and sanitizer locally. It makes no model or network requests. It shows saved messages and does not update an already-open page live. Snapshot cleanup runs when the extension shuts down; review exported conversation contents before sharing them.
Requires Node.js 22 or newer and Pi. Pi supplies its host peer dependencies. marked and dompurify are package runtime dependencies. The upstream pi-powerline-footer is an optional peer, independently installed and tested at 0.22.0; its code is not bundled. Skills and personal Powerline settings, themes and Zen phrases are managed separately by the configuration repository. All executable extensions update together through this package.
For an earlier installation with a local DCG entry or setup-copied Powerline adapters, update the npm package and run the repository's pnpm run setup:pi-extensions, then /reload. The migration backs up known legacy files, rejects modified copies, removes the standalone DCG entry and enables packaged DCG. The Powerline preference setup no longer copies executable code.
Development and releases
This directory is a pnpm workspace package. Install dependencies and run tests from the repository root. Pi loads the TypeScript sources directly.
The source version is 0.0.0-development. The repository release script derives the published version from npm and stamps a temporary package without editing these sources. The package includes only the explicit files list plus npm's mandatory metadata/README. New runtime files must be added both to files and to the release workflow's push paths.
The repository is private, so publishing uses OIDC Trusted Publishing without npm provenance. The package is public and currently has no license grant (UNLICENSED).