fix(agents): sound scripts exit silently on error conditions#147
Merged
8nevil8 merged 1 commit intocodemie-ai:mainfrom Feb 13, 2026
Merged
fix(agents): sound scripts exit silently on error conditions#1478nevil8 merged 1 commit intocodemie-ai:mainfrom
8nevil8 merged 1 commit intocodemie-ai:mainfrom
Conversation
- Directory not found now exits with code 0 instead of error - No audio files found exits silently - No audio player found exits silently - Prevents unwanted error messages in CLI output when sounds are optional
aa4899e to
909ff41
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the Claude plugin sound scripts (bash and PowerShell) to exit
silently (with code 0) instead of displaying error messages when optional
conditions fail. This prevents unwanted error output in the CLI when
sound functionality is not available or configured.
Changes
play-random-sound.shandplay-random-sound.ps1toexit with code 0 instead of code 1 for all error conditions
Impact
Before: When sound directory doesn't exist or audio player is not
installed, users see error messages in CLI output even though sounds are
optional features.
After: Scripts exit gracefully without any error output, providing
cleaner CLI experience when sounds are not configured.
Checklist