Install
Install with PiG
pig install npm:@xynogen/pix-notifyInstall with Pi
pi install npm:@xynogen/pix-notifyPackages 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.1.6 (README.md). PiG does not review it.
pix-notify
Sound (and popup in herdr) when the agent waits on you: ask_user, a pix-gate
approval, sudo_run/ssh_run/Python/env approval.
It listens to pix:agent-state from @xynogen/pix-runtime and fires once per
entry into blocked, never repeatedly.
| Where | What happens |
|---|---|
herdr pane + herdr's Pi integration (herdr integration install pi) | emits herdr:blocked {active, label} on enter/leave; herdr shows blocked in the sidebar and plays its own toast + sound ([ui.toast], [ui.sound] in herdr's config.toml) |
| herdr pane, no integration | herdr notification show <message> --sound request |
| elsewhere, or herdr missing | plays a system sound with the OS's own player |
The integration is detected by its file, <agentDir>/extensions/herdr-agent-state.ts.
System sounds — no ffmpeg
The OS ships both the sounds and the player:
| OS | Sounds | Player |
|---|---|---|
| Linux | $XDG_DATA_DIRS/sounds/freedesktop/stereo | paplay (or pw-play) |
| macOS | /System/Library/Sounds | afplay |
| Windows | %SystemRoot%\Media | PowerShell Media.SoundPlayer |
No sound or player found → silent.
Settings — /pix → Notify
Stored in the notify section of ~/.pi/agent/pix.json:
| Key | Default | Meaning |
|---|---|---|
enabled | true | Play a sound when the agent waits on you |
sound | "auto" | auto (OS default), an installed system sound name, or a file path |
The tab also has a test row. In a herdr pane with the integration, herdr
owns the sound; change it in herdr's config.toml.
Bundled in @xynogen/pix-core.