diff --git a/.claude/settings.local.json b/.claude/settings.local.json index d15ff9f..2700fee 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -1,17 +1,69 @@ { + "model": "sonnet[1m]", "permissions": { "allow": [ + "Read(**)", + "Write(**)", + "WebSearch", "WebFetch(domain:github.com)", - "WebFetch(domain:paste.lcomrade.su)", - "Bash(docker build:*)", - "Bash(docker run:*)", - "Bash(docker logs:*)", + "Bash(mkdir:*)", + "Bash(tree:*)", + "Bash(go:*)", "Bash(curl:*)", - "Bash(docker exec:*)", - "Bash(docker stop:*)", - "Bash(docker search:*)" + "Bash(wget:*)", + "Bash(echo:*)", + "Bash(make:*)", + "Bash(find:*)", + "Bash(grep:*)", + "Bash(awk:*)", + "Bash(sed:*)", + "Bash(cat:*)", + "Bash(chmod:*)", + "Bash(chown:*)", + "Bash(docker:*)", + "Bash(docker-compose:*)", + "Bash(incus:*)", + "Bash(git:*)", + "Bash(pkill:*)", + "Bash(rm:*)", + "Bash(mv:*)", + "Bash(cp:*)", + "Bash(ls:*)", + "Bash(pwd:*)", + "Bash(cd:*)", + "Bash(head:*)", + "Bash(timeout:*)", + "Bash(do:*)", + "Bash(ln:*)", + "Bash(test:*)", + "Bash(do)", + "Bash(sort:*)", + "Bash(paste:*)", + "Bash(*:*)" + ], + "deny": [ + "Bash(git commit:*)" ], - "deny": [], "ask": [] + }, + "preferences": { + "auto_commit": false + }, + "hooks": { + "PreToolUse": [ + { + "matcher": "Write(**)", + "hooks": [ + { + "type": "command", + "command": "if grep -qi 'anthropic\\|claude' \"$file\" 2>/dev/null; then echo 'Error: File contains vendor names (Anthropic/Claude)' >&2; exit 1; fi" + } + ] + } + ] + }, + "env": { + "MAX_THINKING_TOKENS": "1000" } -} \ No newline at end of file +} +