mirror of
https://github.com/casjaysdevdocker/lenpaste
synced 2025-11-10 20:38:07 -05:00
🔧 Update configuration files 🔧
All checks were successful
release-tag / release-image (push) Successful in 7m12s
All checks were successful
release-tag / release-image (push) Successful in 7m12s
.claude/settings.local.json
This commit is contained in:
@@ -1,17 +1,69 @@
|
|||||||
{
|
{
|
||||||
|
"model": "sonnet[1m]",
|
||||||
"permissions": {
|
"permissions": {
|
||||||
"allow": [
|
"allow": [
|
||||||
|
"Read(**)",
|
||||||
|
"Write(**)",
|
||||||
|
"WebSearch",
|
||||||
"WebFetch(domain:github.com)",
|
"WebFetch(domain:github.com)",
|
||||||
"WebFetch(domain:paste.lcomrade.su)",
|
"Bash(mkdir:*)",
|
||||||
"Bash(docker build:*)",
|
"Bash(tree:*)",
|
||||||
"Bash(docker run:*)",
|
"Bash(go:*)",
|
||||||
"Bash(docker logs:*)",
|
|
||||||
"Bash(curl:*)",
|
"Bash(curl:*)",
|
||||||
"Bash(docker exec:*)",
|
"Bash(wget:*)",
|
||||||
"Bash(docker stop:*)",
|
"Bash(echo:*)",
|
||||||
"Bash(docker search:*)"
|
"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": []
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user