2026-08-09 16:53:38 +03:00
|
|
|
{
|
|
|
|
|
"permissions": {
|
|
|
|
|
"allow": [
|
|
|
|
|
"Bash(npm test *)",
|
2026-08-09 19:16:52 +03:00
|
|
|
"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 *)",
|
2026-08-09 19:35:08 +03:00
|
|
|
"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)",
|
2026-08-09 21:00:22 +03:00
|
|
|
"Bash(awk 'NR<=18629 && /^[a-zA-Z].*Client::.*\\\\\\(/ {line=NR; text=$0} END{print line\": \"text}' client.cpp)",
|
|
|
|
|
"Bash(awk 'NR<=19167 && /^\\(void|bool|td|const|int|auto\\).*Client::.*\\\\\\(/ {line=NR; text=$0} END{print line\": \"text}' client.cpp)",
|
|
|
|
|
"Bash(awk 'NR<=19212 && /^\\(void|bool|td|const|int|auto\\).*Client::.*\\\\\\(/ {line=NR; text=$0} END{print line\": \"text}' client.cpp)",
|
|
|
|
|
"Bash(git add *)",
|
|
|
|
|
"WebFetch(domain:docs.python-telegram-bot.org)",
|
|
|
|
|
"Bash(curl -s \"https://core.telegram.org/bots/api-changelog\" -o /tmp/changelog.html)",
|
|
|
|
|
"Read(//tmp/**)",
|
|
|
|
|
"Bash(curl -s \"https://core.telegram.org/bots/api\" -o /tmp/api.html)",
|
|
|
|
|
"Bash(python -c ' *)",
|
|
|
|
|
"Bash(curl -s \"https://core.telegram.org/bots/api\" -o api.html)",
|
|
|
|
|
"Bash(curl -s \"https://core.telegram.org/bots/api-changelog\" -o changelog.html)",
|
|
|
|
|
"Bash(git rm *)",
|
|
|
|
|
"Bash(git mv *)",
|
|
|
|
|
"Bash(mkdir -p src/business)",
|
|
|
|
|
"Bash(rm -f api.html changelog.html)",
|
|
|
|
|
"Bash(rmdir src/userbot)",
|
|
|
|
|
"Bash(npm install *)",
|
|
|
|
|
"Bash(node _offline_test.mjs)",
|
|
|
|
|
"Bash(rm -f _offline_test.mjs)",
|
|
|
|
|
"Bash(rm -rf data)"
|
2026-08-09 16:53:38 +03:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|