Skip to content

Add pause/mute toggle via CLI subcommands and slash command#6

Merged
garysheng merged 2 commits intoPeonPing:mainfrom
thomasKn:feat/pause-toggle
Feb 11, 2026
Merged

Add pause/mute toggle via CLI subcommands and slash command#6
garysheng merged 2 commits intoPeonPing:mainfrom
thomasKn:feat/pause-toggle

Conversation

@thomasKn
Copy link
Copy Markdown
Contributor

Summary

  • Add --pause, --resume, --toggle, --status CLI subcommands to peon.sh for quick mute/unmute without editing config
  • Add /peon-ping-toggle slash command skill for in-session toggling
  • Update install.sh to install the skill and add a peon shell alias
  • Add 9 new test cases for pause/toggle functionality
  • Document quick controls in README

Test plan

  • bash peon.sh --toggle creates/removes .paused file
  • bash peon.sh --status reports correct state
  • Paused SessionStart shows stderr notice, no sound
  • /peon-ping-toggle toggles from within Claude Code
  • All 34 tests pass (bats tests/peon.bats)

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 11, 2026

@thomasKn is attempting to deploy a commit to the peon-ping Team on Vercel.

A member of the Team first needs to authorize it.

Users can now quickly mute and unmute sounds without editing config.json,
useful during meetings or pairing sessions. Supports both a /peon-ping-toggle
slash command in Claude Code and a `peon --toggle` CLI from any terminal.
…pause scope

- Add --* catch-all in CLI subcommands to reject unknown flags instead of
  falling through to stdin blocking read
- Only curl skill file in curl-pipe install mode; warn and continue if
  skills/ dir is missing in local-clone mode
- Update README to clarify pause mutes both sounds and notifications
@garysheng garysheng merged commit d852fb6 into PeonPing:main Feb 11, 2026
1 of 2 checks passed
hst1189 pushed a commit to hst1189/peon-ping that referenced this pull request Mar 23, 2026
Add pause/mute toggle via CLI subcommands and slash command
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.

2 participants