93 lines
2.2 KiB
JSON
93 lines
2.2 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Edit(/.claude/skills/step/**)",
|
|
"Edit(/.claude/skills/status/**)",
|
|
"Edit(/.claude/skills/verify/**)",
|
|
"Edit(/.claude/skills/ffmpeg-cmd/**)",
|
|
"Edit(/.claude/skills/review/**)",
|
|
"Edit(/.claude/agents/**)",
|
|
"Edit(/.claude/hooks/**)",
|
|
"mcp__gitea__issue_write",
|
|
"PowerShell($env:GEO_DATA_DIR=\"d:\\\\MYCLAUDE_PROJECT\\\\abcvideo\\\\samplevideo\"; $env:VIDEOS_DIR=\"d:\\\\MYCLAUDE_PROJECT\\\\abcvideo\\\\storage\\\\videos\"; npm run dev)"
|
|
]
|
|
},
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"matcher": "startup",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/session-start.sh",
|
|
"timeout": 10
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "Edit|Write",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/protect-files.sh",
|
|
"timeout": 5
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Edit|Write",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/auto-lint.sh",
|
|
"timeout": 30
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/guard-history-fields.sh",
|
|
"timeout": 10
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Bash",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/progress-reminder.sh",
|
|
"timeout": 5
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"matcher": "",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/guard-history-reminder.sh",
|
|
"timeout": 5
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"UserPromptSubmit": [
|
|
{
|
|
"matcher": "",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/session-context.sh",
|
|
"timeout": 5
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|