Files
arestools/.claude/settings.local.json
T
ros 0d1af5b50c 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>
2026-08-09 19:35:08 +03:00

32 lines
1.4 KiB
JSON

{
"permissions": {
"allow": [
"Bash(npm test *)",
"Bash(BOT_TOKEN=\"123456:AAFAKE_TOKEN_FOR_SMOKE_TEST\" LOG_LEVEL=debug timeout 25 node src/index.js)",
"Bash(timeout 20 node src/index.js)",
"Bash(BOT_TOKEN=\"123456:AAFAKE\" timeout 25 node src/index.js)",
"Bash(npm run *)",
"Bash(node -e ' *)",
"WebSearch",
"Bash(npm view *)",
"Bash(npm i *)",
"Bash(node -e \"console.log\\('telegram', require\\('telegram/package.json'\\).version\\)\")",
"Bash(node --input-type=module -e ' *)",
"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(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)"
]
}
}