← Catalog

pi-peon-ping

Pi extension for peon-ping sound notifications

Package

Install

Install with PiG

pig install npm:pi-peon-ping

Install with Pi

pi install npm:pi-peon-ping
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./src/index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.3.0 (README.md). PiG does not review it.

pi-peon-ping

A pi coding agent extension for peon-ping sound notifications. Plays themed audio clips on lifecycle events using OpenPeon sound packs (Warcraft III Peon, GLaDOS, Duke Nukem, StarCraft, and more).

Requirements

Features

EventSound category
Session startsession.start — "Ready to work?"
Agent starts workingtask.acknowledge — "Work, work."
Tool errortask.error — error sound
Rapid prompts (≥3 in 10s)user.spam — annoyed voice line
Agent finishestask.complete — completion sound + desktop notification
  • /peon opens a settings panel to toggle sounds, switch packs, adjust volume, and enable/disable individual categories
  • /peon install browses the OpenPeon registry: packs in your system language come first, type to search, space to select several
  • /peon install defaults downloads the original 10 starter packs
  • Browsing installed packs previews each one as you scroll

Installation

Install as a pi package globally:

pi install npm:pi-peon-ping

For project-local installation:

pi install -l npm:pi-peon-ping

To try without installing:

pi -e npm:pi-peon-ping

You can also use the repository URL:

pi install git:github.com/joshuadavidthomas/pi-peon-ping
# or the full URL
pi install https://github.com/joshuadavidthomas/pi-peon-ping

For manual installation:

git clone https://github.com/joshuadavidthomas/pi-peon-ping ~/.pi/agent/extensions/pi-peon-ping

Usage

On first run, the extension will prompt you to install sound packs. You can also install them manually:

/peon install                     # browse and search the registry
/peon install defaults            # the original 10 starter packs
/peon install peon_de stromberg   # specific packs by name

Open the settings panel:

/peon

Platform support

PlatformPlayer
macOSafplay (built-in)
Linuxpw-play, paplay, ffplay, mpv, play, or aplay (first found)
WSLPowerShell MediaPlayer

Remote development

The extension auto-detects SSH sessions, devcontainers, and Codespaces, and routes audio through the peon-ping relay running on your local machine. See the peon-ping remote development docs for relay setup. The relay mode can be configured in /peon settings (auto / local / relay).

Config and data

The extension also picks up existing packs from ~/.claude/hooks/peon-ping/ if you have a Claude Code installation. Config and state are stored in ~/.config/peon-ping/.

Configuration options

Edit ~/.config/peon-ping/config.json or use the /peon settings panel:

OptionDefaultDescription
default_pack"peon"Active sound pack
volume0.5Sound volume (0.0–1.0)
enabledtrueMaster on/off switch
desktop_notificationstrueShow system notifications on task complete
silent_window_seconds0Suppress task.complete for tasks shorter than N seconds
annoyed_threshold3Number of rapid prompts to trigger spam detection
annoyed_window_seconds10Time window for spam detection
relay_mode"auto"Relay mode: "auto", "local", or "relay"

Note: If you have an existing config with active_pack, it will be automatically migrated to default_pack on next load.

Development

bun install            # Install dependencies
bun run test           # Run tests
bun run test:watch     # Run tests in watch mode
bun run typecheck      # Type check

To test the extension locally without conflicting with a globally installed copy:

pi -ne -e ./src/index.ts

-ne disables extension auto-discovery, -e loads only the local source.

License

pi-peon-ping is licensed under the MIT license. See the LICENSE file for more information.