mirror of
https://github.com/theniceboy/.config.git
synced 2025-12-26 14:44:57 +08:00
25 lines
No EOL
737 B
JSON
25 lines
No EOL
737 B
JSON
{
|
|
"env": {
|
|
"DISABLE_AUTOUPDATER": "1"
|
|
},
|
|
"includeCoAuthoredBy": false,
|
|
"hooks": {
|
|
"Stop": [
|
|
{
|
|
"matcher": ".*",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "transcript_path=$(cat | jq -r '.transcript_path'); last_message=$(tail -1 \"$transcript_path\" | jq -r '.message.content[0].text // empty'); notification_json=$(jq -n --arg msg \"$last_message\" '{type: \"agent-turn-complete\", \"last-assistant-message\": $msg}'); \"$HOME/.config/claude/notify.py\" \"$notification_json\" >/dev/null 2>&1 &"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"statusLine": {
|
|
"type": "command",
|
|
"command": "ccstatusline",
|
|
"padding": 0
|
|
},
|
|
"alwaysThinkingEnabled": true
|
|
} |