17 lines
489 B
JSON
17 lines
489 B
JSON
{
|
|
"hooks": [
|
|
{
|
|
"event": "PostToolUse",
|
|
"matcher": "destination|city|country|travel to",
|
|
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/fetch-weather.sh",
|
|
"description": "Auto-fetch weather when destination is mentioned"
|
|
},
|
|
{
|
|
"event": "PostToolUse",
|
|
"matcher": "\\$[0-9]+|USD|EUR|GBP|price",
|
|
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/convert-currency.sh",
|
|
"description": "Auto-convert currency when prices are mentioned"
|
|
}
|
|
]
|
|
}
|