Skip to content

feat(peon-ping): ✨ play host sounds through the relay, no packs - #105

Merged
baxyz merged 3 commits into
mainfrom
feat/peon-ping-relay-hooks
Sep 19, 2026
Merged

baxyz merged 3 commits into
mainfrom
feat/peon-ping-relay-hooks

Conversation

@baxyz

@baxyz baxyz commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • The container no longer installs peon-ping or any sound pack. Hooks ask the peon-ping relay on the host to play a sound category (/play?category=); the host picks the pack and volume, so there is nothing to mirror or configure and no initializeCommand.
  • One script, /usr/local/bin/peon-ping, with three subcommands: hook (called by the agents), register (postCreateCommand, adds the hooks for Claude Code, Cursor and Codex idempotently) and check (postStartCommand, makes host.docker.internal resolve on native Linux Docker and tells the user to start the relay on the host if it is down).
  • Removes the packs, packsLang, volume, noRc and ideSetup options and the peon-ping-copilot-setup helper. Breaking, version set to 1.3.2.
  • Starting the relay on the host stays a manual step (a Feature can't run anything on the host); the README documents it.
  • Uses h4_require_root from helpers4-common 1.2.3.

Test plan

  • devcontainer features test --features peon-ping .
  • devcontainer features test --features peon-ping --skip-autogenerated . (with_claude_dev scenario)
  • Manual: start peon relay --daemon on a host, finish an agent turn in a container, hear the host's sound

Tested locally only with a fake relay (hooks registered idempotently, existing hooks preserved, category request sent, no error when the relay is down); Docker was not available to run the feature tests.

🤖 Generated with Claude Code

baxyz and others added 2 commits September 19, 2026 21:24
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

✅ PR Validation Passed

All checks passed!


📋 Pipeline Status

Job Status
✅ 🧾 Conventional Commits passing
✅ 🔖 Version Bump passing
✅ 🧪 Feature Tests passing
✅ 🧪 Scenario Tests passing
✅ 🐚 ShellCheck passing

🤖 Generated by @helpers4 CI • 2026-09-19

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@baxyz
baxyz merged commit 18a0535 into main Sep 19, 2026
46 checks passed
@baxyz
baxyz deleted the feat/peon-ping-relay-hooks branch September 19, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant