mirror of
https://github.com/imjasonh/cnotes
synced 2026-07-16 12:21:48 +00:00
- 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
144 lines
No EOL
3 KiB
JSON
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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |