Files
aihot/.claude/settings.json
2026-05-26 16:40:47 +08:00

42 lines
2.1 KiB
JSON

{
"permissions": {
"allow": [
"Bash(python -c ' *)",
"Bash(python)",
"Bash(npm install *)",
"Bash(npm run *)",
"Bash(echo \"Vite PID: $!\")",
"Read(//tmp/**)",
"Bash(curl -s http://localhost:5173/)",
"Bash(curl -s \"http://localhost:8000/api/news/featured\")",
"Bash(python -c \"import sys,json; d=json.load\\(sys.stdin\\); print\\('date:', d['date']\\); print\\('items:', len\\(d['items']\\)\\); [print\\(f\\\\\" #{i['featured_rank']} [{i['importance_score']}]\\\\\", i['title_zh'][:50].encode\\('ascii','replace'\\).decode\\(\\)\\) for i in d['items']]\")",
"Bash(curl -s \"http://localhost:8000/api/news/featured\" -w \"\\\\nHTTP %{http_code}\")",
"Bash(netstat -ano)",
"Bash(taskkill //F //PID 45288)",
"Bash(PYTHONIOENCODING=utf-8 python -m uvicorn app.main:app --host 0.0.0.0 --port 8000)",
"Bash(echo \"PID: $!\")",
"Bash(curl -s http://localhost:8000/api/health)",
"Bash(curl -s \"http://localhost:8000/api/news/featured\" -w \"\\\\nHTTP_STATUS:%{http_code}\")",
"Bash(curl -s http://localhost:8000/api/news/featured)",
"Bash(python3 -c \"import sys,json; d=json.load\\(sys.stdin\\); print\\('items:', len\\(d['items']\\)\\)\")",
"Bash(python -c \"import sys,json; d=json.load\\(open\\('/dev/stdin'\\)\\); print\\('items:', len\\(d['items']\\)\\)\")",
"Bash(python3 -c ' *)",
"Bash(python \"C:/Users/Chenwu/AppData/Local/Temp/validate.py\")",
"Bash(cat)",
"Bash(curl -s \"http://localhost:8000/api/news\")",
"Bash(python \"C:/Users/Chenwu/AppData/Local/Temp/validate2.py\")",
"Bash(curl -s \"http://localhost:8000/api/news/dates\")",
"Bash(curl -s \"http://localhost:8000/api/news/104\")",
"Bash(curl -s \"http://localhost:8000/api/news?category=%E4%B8%B4%E5%BA%8A%E7%A0%94%E7%A9%B6\")",
"Bash(npx playwright *)",
"Read(//c/Users/Chenwu/.cache/**)",
"Bash(npx vue-tsc *)",
"Bash(npx vite *)",
"Bash(gh api *)",
"WebFetch(domain:raw.githubusercontent.com)",
"Bash(node -e ' *)",
"Read(//c/tmp/**)"
]
}
}