🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

pi-peon-ping

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pi-peon-ping

Pi extension for peon-ping sound notifications

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

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

  • pi >= 0.50.0
  • An audio player on your system (see Platform support)

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 downloads the default 10 packs from the peon-ping registry
  • Browsing 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

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.

Keywords

pi-package

FAQs

Package last updated on 24 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts