@piotr-oles/pi-bell

Pi Coding Agent extension: notify terminal hosts when an interactive agent finishes

Packages

Package details

extension

Install @piotr-oles/pi-bell from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@piotr-oles/pi-bell
Package
@piotr-oles/pi-bell
Version
1.0.0
Published
Aug 6, 2026
Downloads
158/mo · 11/wk
Author
piotr-oles
License
unknown
Types
extension
Size
1.9 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

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

README

pi-bell

A pi coding agent extension that sends a terminal bell when an interactive agent run finishes. Terminal hosts such as Zed can use the bell to notify you that pi is ready.

Install

pi install npm:@piotr-oles/pi-bell

Usage

No configuration. Bell is emitted after agent_end only when ctx.hasUI is true.

Sessions without UI—including SDK-created subagent sessions, print mode, and JSON mode—do not emit a bell.

Development

pnpm install
pnpm --filter @piotr-oles/pi-bell test
pnpm --filter @piotr-oles/pi-bell typecheck
pnpm --filter @piotr-oles/pi-bell check

To test extension manually:

pi -e packages/pi-bell/src/index.ts