ar-llm-pi-custom-compaction

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

Pi Extensions for the Pi Coding Agent

npm scope

Personal Pi extension packages for the Pi coding agent. Each package is independently installable under the @ar-llm npm scope.

Extensions

Package Description
@ar-llm/pi-custom-compaction LLM-powered session compaction with configurable model and request params
@ar-llm/pi-skill-request-params Per-skill, per-model, per-provider request parameter injection
@ar-llm/pi-handoff Context handoff to new focused sessions via /handoff
@ar-llm/pi-notify Terminal notifications when the agent is done and waiting for input
@ar-llm/pi-plan-mode Read-only plan mode with step tracking and constrained tool execution

See each package's README for install instructions and details.

Local development

Try a package locally from the repo root:

pi -e ./extensions/pi-custom-compaction
pi -e ./extensions/pi-skill-request-params
pi -e ./extensions/pi-handoff
pi -e ./extensions/pi-notify
pi -e ./extensions/pi-plan-mode

For build commands, adding new extensions, and publishing instructions see AGENTS.md.

Repository structure

extensions/
├── pi-custom-compaction/    # LLM-powered session compaction
├── pi-handoff/              # Context handoff to new sessions
├── pi-notify/               # Terminal notifications on agent idle
├── pi-plan-mode/            # Read-only plan-and-execute mode
└── pi-skill-request-params/ # Per-skill provider request params
pi/                          # Pi agent configuration files
prompts/                     # Custom prompt templates
skills/                      # Custom skills

Each extension package contains its own package.json, README.md, LICENSE, tsconfig.json, and TypeScript source under src/.

License