1
0
Fork 0
mirror of https://github.com/imjasonh/cnotes synced 2026-07-16 12:21:48 +00:00
cnotes/.claude/settings.json
Jason Hall f7482327c3
Fix user prompt parsing to handle string content format
- Add support for message.content as direct string (not just array format)
- Handles both old and new transcript formats from Claude
- User prompts like 'I would expect cnotes show to include my user prompt' now captured correctly
2025-07-21 14:02:53 -04:00

144 lines
No EOL
3 KiB
JSON

{
"hooks": {
"Notification": [
{
"matcher": ".*",
"hooks": [
{
"type": "command",
"command": "/Users/jason/go/bin/cnotes"
}
]
},
{
"matcher": ".*",
"hooks": [
{
"type": "command",
"command": "/var/folders/3z/q0v7phks3lsc_ryxstdz5h3m0000gn/T/go-build618894364/b001/exe/cnotes"
}
]
}
],
"PostToolUse": [
{
"matcher": ".*",
"hooks": [
{
"type": "command",
"command": "/Users/jason/go/bin/cnotes"
}
]
},
{
"matcher": ".*",
"hooks": [
{
"type": "command",
"command": "/var/folders/3z/q0v7phks3lsc_ryxstdz5h3m0000gn/T/go-build618894364/b001/exe/cnotes"
}
]
}
],
"PreCompact": [
{
"matcher": ".*",
"hooks": [
{
"type": "command",
"command": "/Users/jason/go/bin/cnotes"
}
]
},
{
"matcher": ".*",
"hooks": [
{
"type": "command",
"command": "/var/folders/3z/q0v7phks3lsc_ryxstdz5h3m0000gn/T/go-build618894364/b001/exe/cnotes"
}
]
}
],
"PreToolUse": [
{
"matcher": ".*",
"hooks": [
{
"type": "command",
"command": "/Users/jason/go/bin/cnotes"
}
]
},
{
"matcher": ".*",
"hooks": [
{
"type": "command",
"command": "/var/folders/3z/q0v7phks3lsc_ryxstdz5h3m0000gn/T/go-build618894364/b001/exe/cnotes"
}
]
}
],
"Stop": [
{
"matcher": ".*",
"hooks": [
{
"type": "command",
"command": "/Users/jason/go/bin/cnotes"
}
]
},
{
"matcher": ".*",
"hooks": [
{
"type": "command",
"command": "/var/folders/3z/q0v7phks3lsc_ryxstdz5h3m0000gn/T/go-build618894364/b001/exe/cnotes"
}
]
}
],
"SubagentStop": [
{
"matcher": ".*",
"hooks": [
{
"type": "command",
"command": "/Users/jason/go/bin/cnotes"
}
]
},
{
"matcher": ".*",
"hooks": [
{
"type": "command",
"command": "/var/folders/3z/q0v7phks3lsc_ryxstdz5h3m0000gn/T/go-build618894364/b001/exe/cnotes"
}
]
}
],
"UserPromptSubmit": [
{
"matcher": ".*",
"hooks": [
{
"type": "command",
"command": "/Users/jason/go/bin/cnotes"
}
]
},
{
"matcher": ".*",
"hooks": [
{
"type": "command",
"command": "/var/folders/3z/q0v7phks3lsc_ryxstdz5h3m0000gn/T/go-build618894364/b001/exe/cnotes"
}
]
}
]
}
}