mirror of
https://github.com/theniceboy/.config.git
synced 2025-12-26 22:54:59 +08:00
22 lines
646 B
JSON
22 lines
646 B
JSON
{
|
|
"model": "opusplan",
|
|
"includeCoAuthoredBy": false,
|
|
"statusLine": {
|
|
"type": "command",
|
|
"command": "bash ~/.config/claude/scripts/statusline.sh",
|
|
"padding": 0
|
|
},
|
|
"hooks": {
|
|
"Stop": [
|
|
{
|
|
"matcher": ".*",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "voice_flag=\"$HOME/.claude/voice-enabled\"; if [ -f \"$voice_flag\" ]; then transcript_path=$(cat | jq -r '.transcript_path'); pkill -f 'say' 2>/dev/null; nohup bash -c 'tail -1 \"'$transcript_path'\" | jq -r \".message.content[0].text // empty\" | say' >/dev/null 2>&1 & fi"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|