Merge remote-tracking branch 'origin/master' into feat/mistral-embedding-provider
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
if ! command -v sonar &> /dev/null; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
sonar hook claude-pre-tool-use
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
if ! command -v sonar &> /dev/null; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
sonar hook claude-prompt-submit
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"hooks": {
|
||||||
|
"PreToolUse": [
|
||||||
|
{
|
||||||
|
"matcher": "Read",
|
||||||
|
"hooks": [
|
||||||
|
{
|
||||||
|
"type": "command",
|
||||||
|
"command": ".claude/hooks/sonar-secrets/build-scripts/pretool-secrets.sh",
|
||||||
|
"timeout": 60
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"UserPromptSubmit": [
|
||||||
|
{
|
||||||
|
"matcher": "*",
|
||||||
|
"hooks": [
|
||||||
|
{
|
||||||
|
"type": "command",
|
||||||
|
"command": ".claude/hooks/sonar-secrets/build-scripts/prompt-secrets.sh",
|
||||||
|
"timeout": 60
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user