原始内容
pi-extensions
A small collection of composable extensions for the Pi coding agent.
中文文档:README.zh-CN.md
Packages
Each package is independently installable and keeps its detailed behavior, configuration, examples, and tests in its own README.
| Package | Description | Documentation |
|---|---|---|
pi-distill |
Compacts verbose output from every active object-schema tool before it consumes the context window. | English · 中文 |
pi-tool-supervisor |
Reviews edit and write changes against matching project rules and returns structured findings. |
English · 中文 |
pi-metrics |
Shows a live session elapsed timer in the working spinner plus per-turn and total run summaries. | English · 中文 |
pi-models-discovery |
Discovers models from {baseUrl}/models for providers marked with discoverModels in models.json, with a persistent startup cache and a manual refresh command. |
English · 中文 |
pi-extensions-i18n |
Provides shared locale selection, catalog loading, interpolation, and the /pi-language command. |
English · 中文 |
pi-extensions-tool-display |
Provides the actual Pi tool-display host plus the shared result-rendering protocol and component helpers. | English · 中文 |
@maplezzk/pi-dynamic-workflows |
Claude-Code-style dynamic workflow orchestration with meta/phase()/agent()/parallel()/pipeline() primitives, configurable via /workflow-config. Fork of michaelliv/pi-dynamic-workflows. |
English · 中文 |
@maplezzk/pi-interactive-subagents |
Non-blocking interactive subagents in multiplexer panes with live status widget, /plan and /iterate workflows. Fork of HazAT/pi-interactive-subagents. |
English · 中文 |
Install everything
Requirements: Pi with the compatible extension API and Node.js 22 or newer.
pi install git:github.com/maplezzk/pi-extensions
The repository root is also a Pi package. Its manifest loads every packages/*/index.ts, so the command above installs all current extensions and automatically includes new packages added to this repository.
Reload Pi after installation:
/reload
To install a single package, use its npm package name:
pi install npm:<package-name>
Configuration
Extensions keep configuration under the standard Pi agent directory:
~/.pi/agent/extensions/<package-name>/config.json
See packages/ for package-level configuration examples and documentation.
Development
npm install
npm run check
The check command runs workspace type checks, tests, and the portability/i18n gates.