feat(notify-user-input): add macOS desktop notifications plugin - #429
Merged
Conversation
Add the plugin.json manifest file with: - Plugin name: notify-user-input - Version: 5.2.0 (matches current release) - Description: macOS notification when Claude waits for user input - Author: jito <git@baleen.me> The semantic-release config will automatically synchronize this version with marketplace.json during releases. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…serQuestion Defines the PreToolUse hook configuration that triggers when Claude invokes the AskUserQuestion tool. The hook will execute the ask-user-question.sh script to send a macOS notification. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The $schema path was ../../schemas/hooks-schema.json which incorrectly pointed to plugins/schemas/ (nonexistent). Corrected to ../../../schemas/hooks-schema.json to properly reference the root schemas/ directory. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Create the PreToolUse hook script that sends macOS notifications when Claude invokes the AskUserQuestion tool. Features: - Reads JSON input from stdin - Extracts tool_name and questions using jq - Filters for AskUserQuestion only - Truncates long questions to 100 characters - Sends macOS notification with Glass sound - Silently ignores errors (notification failure is non-blocking) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add basic README documentation for the notify-user-input plugin. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add notify-user-input plugin to the marketplace manifest. Inserted alphabetically between 'me' and 'ralph-loop'. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThis PR adds a new "notify-user-input" plugin to the marketplace that sends macOS desktop notifications when Claude Code requests user input. The addition includes plugin metadata, documentation, and hook scripts that integrate with the plugin system. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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
Add
notify-user-inputplugin that sends macOS desktop notifications when Claude Code asks for user input via the AskUserQuestion tool.What's Included
Testing
claude plugin validateFiles Changed
plugins/notify-user-input/.claude-plugin/plugin.json(new)plugins/notify-user-input/hooks/hooks.json(new)plugins/notify-user-input/hooks/ask-user-question.sh(new, executable)plugins/notify-user-input/README.md(new).claude-plugin/marketplace.json(modified)🤖 Generated with Claude Code
Summary by CodeRabbit