chore: обновить allowlist разрешений Claude Code
Добавлены разрешения на git commit, WebFetch к докам (core.telegram.org, grammy.dev, github.com, telegram.org) и вспомогательные команды. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -15,7 +15,17 @@
|
||||
"Bash(node -e \"console.log\\(require\\('crypto'\\).randomBytes\\(32\\).toString\\('hex'\\)\\)\")",
|
||||
"Bash(ENCRYPTION_KEY=__CMDSUB_OUTPUT__ RETENTION_DAYS=30 node --input-type=module -e ' *)",
|
||||
"Bash(rmdir test *)",
|
||||
"Bash(echo \"=== removed test/ \\(exit $?\\) ===\")"
|
||||
"Bash(echo \"=== removed test/ \\(exit $?\\) ===\")",
|
||||
"Bash(git commit *)",
|
||||
"WebFetch(domain:core.telegram.org)",
|
||||
"WebFetch(domain:grammy.dev)",
|
||||
"WebFetch(domain:github.com)",
|
||||
"WebFetch(domain:docs.aiogram.dev)",
|
||||
"WebFetch(domain:telegram.org)",
|
||||
"Bash(gh api *)",
|
||||
"Bash(cd /tmp)",
|
||||
"Bash(curl -sL \"https://raw.githubusercontent.com/tdlib/telegram-bot-api/master/telegram-bot-api/Client.cpp\" -o client.cpp)",
|
||||
"Bash(awk 'NR<=18629 && /^[a-zA-Z].*Client::.*\\\\\\(/ {line=NR; text=$0} END{print line\": \"text}' client.cpp)"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user