Willem van den Ende 45a13fd08c feat(pi-notifications): add PI_NOTIFICATION_DEBUG mode with visible steer signal
- Add PI_NOTIFICATION_DEBUG=true env var
- When enabled, calls ctx.ui.steer() instead of desktop notification
- Lets you verify trigger logic in the agent loop without actual notifications
- Synced to both monorepo and auto-discovery extension paths
2026-04-28 12:09:06 +01:00
2026-04-28 10:53:44 +01:00

monotonic-pi-extensions

Experimental monorepo for Pi coding agent extensions.

Extensions

pi-turn-limit

Limits the number of turns (agent round-trips) in a Pi session. When the limit is reached, the user is prompted to continue or abort.

  • Default limit: 25 turns
  • Override: set PI_MAX_TURNS environment variable to a positive integer
  • Unlimited: set PI_MAX_TURNS=unlimited or run the turn-limit unlimited command to disable the boundary check entirely (the counter still increments for observability)
  • Re-enable: switch from unlimited back to a number via turn-limit <N>; the counter resets to 0

See packages/pi-turn-limit/README.md for details and the Allium spec.

Installation

This is an early release — not on npm yet. To install from source:

# Clone the repo
git clone <repo-url>
cd pi-extensions

# Install dependencies
pnpm install

# Link the extension (or reference it directly in your Pi config)

Starting pi in this repository will load the turn-limit extension. Make sure you sandbox it properly, e.g. with 'nono', Docker or a VM. Extensions have not been security checked etc.

Repository Status

Experimental. APIs and behavior may change without notice. Feedback welcome.

Description
Mono Repo for Pi coding agent extensions. Experimental.
Readme MIT 143 KiB
Languages
TypeScript 100%