34 lines
No EOL
628 B
JSON
34 lines
No EOL
628 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(git add:*)",
|
|
"Bash(git commit:*)",
|
|
"Bash(git push origin:*)",
|
|
"Bash(tea pr create:*)"
|
|
]
|
|
},
|
|
"hooks": {
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "Bash|Grep",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "graphify hook-guard search",
|
|
"timeout": 10
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Read|Glob",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "graphify hook-guard read",
|
|
"timeout": 10
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |