Initial commit
This commit is contained in:
7
commands/check.md
Normal file
7
commands/check.md
Normal file
@@ -0,0 +1,7 @@
|
||||
Check the status of notification hooks in the current project.
|
||||
|
||||
Run the notification check script:
|
||||
|
||||
```bash
|
||||
bash ~/.claude/plugins/marketplaces/cc-plugins/notifications/scripts/check-notifications.sh
|
||||
```
|
||||
28
commands/install.md
Normal file
28
commands/install.md
Normal file
@@ -0,0 +1,28 @@
|
||||
Install notification hooks at either project or user level.
|
||||
|
||||
This adds hooks for:
|
||||
- Audio/popup notification when Claude is waiting for input (Notification event)
|
||||
- Audio/popup notification when Claude completes a task (Stop event)
|
||||
|
||||
**Before running the script, ask the user:**
|
||||
|
||||
1. **Installation level**: "Where would you like to install notification hooks?"
|
||||
- Option 1: "Project level (./.claude/) - Only for this project"
|
||||
- Option 2: "User level (~/.claude/) - All projects"
|
||||
|
||||
2. **If project level was chosen**, ask: "Which settings file should we use?"
|
||||
- Option 1: "settings.json - Committed to git, shared with team"
|
||||
- Option 2: "settings.local.json - Local only, not committed (in .gitignore)"
|
||||
|
||||
3. Based on their answers, run the installation script:
|
||||
|
||||
```bash
|
||||
# If user chooses USER level:
|
||||
bash ~/.claude/plugins/marketplaces/cc-plugins/notifications/scripts/install-notifications.sh user
|
||||
|
||||
# If user chooses PROJECT level with settings.json:
|
||||
bash ~/.claude/plugins/marketplaces/cc-plugins/notifications/scripts/install-notifications.sh project settings
|
||||
|
||||
# If user chooses PROJECT level with settings.local.json:
|
||||
bash ~/.claude/plugins/marketplaces/cc-plugins/notifications/scripts/install-notifications.sh project local
|
||||
```
|
||||
24
commands/remove.md
Normal file
24
commands/remove.md
Normal file
@@ -0,0 +1,24 @@
|
||||
Remove notification hooks from either project or user level.
|
||||
|
||||
**Before running the script, ask the user:**
|
||||
|
||||
1. **Removal level**: "Where would you like to remove notification hooks from?"
|
||||
- Option 1: "Project level (./.claude/) - Only this project"
|
||||
- Option 2: "User level (~/.claude/) - All projects"
|
||||
|
||||
2. **If project level was chosen**, ask: "Which settings file should we update?"
|
||||
- Option 1: "settings.json - Committed to git, shared with team"
|
||||
- Option 2: "settings.local.json - Local only, not committed (in .gitignore)"
|
||||
|
||||
3. Based on their answers, run the removal script:
|
||||
|
||||
```bash
|
||||
# If user chooses USER level:
|
||||
bash ~/.claude/plugins/marketplaces/cc-plugins/notifications/scripts/remove-notifications.sh user
|
||||
|
||||
# If user chooses PROJECT level with settings.json:
|
||||
bash ~/.claude/plugins/marketplaces/cc-plugins/notifications/scripts/remove-notifications.sh project settings
|
||||
|
||||
# If user chooses PROJECT level with settings.local.json:
|
||||
bash ~/.claude/plugins/marketplaces/cc-plugins/notifications/scripts/remove-notifications.sh project local
|
||||
```
|
||||
Reference in New Issue
Block a user