- Add tui-driver MCP server to .mcp.json for TUI app testing - Add mcp__tui-driver__* wildcard permission to settings.json - Add notify-subagent-done.sh hook - Update plugin configs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
492 B
Bash
Executable File
14 lines
492 B
Bash
Executable File
#!/bin/bash
|
|
# Voice notification for Claude Code SubagentStop events
|
|
# Reads hook event JSON from stdin, extracts agent details, posts to voice server
|
|
|
|
INPUT=$(cat)
|
|
TYPE=$(echo "$INPUT" | jq -r '.agent_type // "Background agent"')
|
|
|
|
# Make agent type human-readable (replace hyphens with spaces)
|
|
FRIENDLY_NAME=$(echo "$TYPE" | tr '-' ' ')
|
|
|
|
curl -s -X POST http://localhost:8888/notify \
|
|
-H "Content-Type: application/json" \
|
|
-d "{\"message\": \"The ${FRIENDLY_NAME} agent has finished\"}"
|