@foxfirecodes/pi-alerts

Pi extension that rings the terminal bell when pi needs your input.

Packages

Package details

extension

Install @foxfirecodes/pi-alerts from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@foxfirecodes/pi-alerts
Package
@foxfirecodes/pi-alerts
Version
0.1.0
Published
May 28, 2026
Downloads
not available
Author
foxfirecodes
License
MIT
Types
extension
Size
7.4 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions/pi-alerts.js"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-alerts

Pi package that rings the terminal bell (\a) when pi needs your input.

Behavior

  • Rings when an agent turn ends and pi is ready for another prompt.
  • Rings before extension UI prompts such as select, confirm, input, editor, and custom dialogs. This covers permission prompts built with ctx.ui.confirm().

The bell is written directly to the attached terminal when one is available.

Install

pi install npm:@foxfirecodes/pi-alerts

Development

From this checkout:

pi install .

Or try it for one run:

pi -e /path/to/pi-extensions/packages/pi-alerts

To run automated tests:

pnpm test