Files
taiji-AI-PAD/.claude/settings.local.json
2026-06-24 18:01:46 +08:00

70 lines
7.2 KiB
JSON

{
"permissions": {
"allow": [
"Bash(curl -s -L \"http://gitee.ath.cx:3000/api/v1/repos/xiaohei/heicode/contents/docs\")",
"Bash(python3 -c \"import json,sys; data=json.load\\(sys.stdin\\); [print\\(f\\\\\"{x['type']:6} {x['path']:50} {x.get\\('size',0\\):>8} bytes\\\\\"\\) for x in data]\")",
"Bash(curl -s -L \"http://gitee.ath.cx:3000/api/v1/repos/xiaohei/heicode/contents/docs/integration\")",
"Bash(python3 -c \"import json,sys; data=json.load\\(sys.stdin\\); [print\\(f\\\\\"{x['type']:6} {x['name']:60} {x.get\\('size',0\\):>8}\\\\\"\\) for x in data]\")",
"Bash(curl -s -L \"http://gitee.ath.cx:3000/api/v1/repos/xiaohei/heicode/contents/docs/deployment\")",
"Bash(curl -s -L \"http://gitee.ath.cx:3000/xiaohei/heicode/raw/branch/main/docs/integration/agnet-platform-request-contract.md\")",
"Bash(python3)",
"Bash(az acr *)",
"Bash(tar --exclude='__pycache__' -cf - services/mcp-server/app/routes/resources.py services/mcp-server/app/routes/resource_grants.py services/mcp-server/models.py)",
"Bash(MSYS_NO_PATHCONV=1 kubectl exec -i -n taiji-ai deploy/mcp-server -- /bin/sh -c \"mkdir -p /tmp/heicode_p1_test && cd /tmp/heicode_p1_test && tar -xf - && ls -la services/mcp-server/app/routes/\")",
"Bash(kubectl logs *)",
"Bash(netstat -ano)",
"Bash(awk '{print $5}')",
"Bash(xargs -r -I PID powershell.exe -Command \"Stop-Process -Id PID -Force -ErrorAction SilentlyContinue\")",
"Bash(kubectl get *)",
"Bash(python3 -c \"import sys, json; d=json.loads\\(sys.stdin.read\\(\\)\\); print\\('CORS_ORIGINS:', d.get\\('CORS_ORIGINS', '[unset → defaults to *]'\\)\\); print\\('APP_ENV:', d.get\\('APP_ENV', '?'\\)\\)\")",
"Bash(kubectl set *)",
"Bash(kubectl rollout *)",
"Bash(MSYS_NO_PATHCONV=1 kubectl exec -n taiji-ai deploy/mcp-server -- python -c \"from app.routes import heicode_proxy; print\\(sorted\\([r.path for r in heicode_proxy.router.routes if hasattr\\(r,'path'\\)]\\)\\)\")",
"Bash(MSYS_NO_PATHCONV=1 kubectl exec -n taiji-ai deploy/mcp-server -- python -c \"from app.routes import agnet_stub; print\\(sorted\\([r.path for r in agnet_stub.router.routes if hasattr\\(r,'path'\\)]\\)\\)\")",
"Bash(python3 -c \"import ast; ast.parse\\(open\\('services/mcp-server/app/routes/agnet_stub.py', encoding='utf-8'\\).read\\(\\)\\); print\\('OK'\\)\")",
"Bash(kubectl port-forward *)",
"Bash(kubectl exec -i -n taiji-ai deploy/mcp-server -- python -c ' *)",
"Bash(MSYS_NO_PATHCONV=1 kubectl exec -n taiji-ai deploy/mcp-server -- python -c \"from app.routes import heicode_tasks; print\\(sorted\\([r.path for r in heicode_tasks.router.routes if hasattr\\(r,'path'\\)]\\)\\)\")",
"Bash(python3 -c ' *)",
"Bash(kubectl exec -n taiji-ai deploy/mcp-server -- python -c ' *)",
"Bash(MSYS_NO_PATHCONV=1 kubectl exec -n taiji-ai deploy/mcp-server -- python -c \"from app.routes import heicode_events; print\\(sorted\\(set\\(r.path for r in heicode_events.router.routes if hasattr\\(r,'path'\\)\\)\\)\\)\")",
"Bash(curl -sk --max-time 30 -x http://127.0.0.1:6578 https://aks.taiji-ai.com/api/mcp/health -w \"\\\\nHTTP=%{http_code}\\\\n\")",
"Bash(curl -sk --max-time 15 -v -x http://127.0.0.1:6578 https://aks.taiji-ai.com/api/mcp/health)",
"Bash(curl -s --noproxy '*' --max-time 10 http://127.0.0.1:18080/health -w \"\\\\nHTTP=%{http_code}\\\\n\")",
"Bash(kill 1883)",
"Bash(pkill -f \"port-forward.*mcp-server\")",
"Bash(kill 2231)",
"Bash(kubectl exec -n taiji-ai deploy/mcp-server -c mcp-server -- python -c ' *)",
"Bash(curl -sk --noproxy '*' --max-time 8 -o /dev/null -w \"agent-manager.taijiagnet.com HTTP=%{http_code} TIME=%{time_total}\\\\n\" https://agent-manager.taijiagnet.com/)",
"Bash(curl -sk --noproxy '*' --max-time 8 -o /dev/null -w \" /health HTTP=%{http_code}\\\\n\" https://agent-manager.taijiagnet.com/health)",
"Bash(curl -sk --noproxy '*' --max-time 8 -o /dev/null -w \" /api/agnet/deployments HTTP=%{http_code}\\\\n\" https://agent-manager.taijiagnet.com/api/agnet/deployments)",
"Bash(nslookup agent-manager.taijiagnet.com)",
"Bash(kubectl exec *)",
"Bash(curl -sk --noproxy '*' --max-time 8 --resolve agent-manager.taijiagnet.com:80:20.212.121.126 -i http://agent-manager.taijiagnet.com/)",
"Bash(curl -sk --noproxy '*' --max-time 8 --resolve agent-manager.taijiagnet.com:80:20.212.121.126 -w '\\\\n[HTTP=%{http_code}]\\\\n' http://agent-manager.taijiagnet.com/templates)",
"Bash(curl -sk --noproxy '*' --max-time 5 --resolve agent-manager.taijiagnet.com:80:20.212.121.126 -o /tmp/body -w '%{http_code}|%{size_download}' http://agent-manager.taijiagnet.com__TRACKED_VAR__)",
"Read(//tmp/**)",
"Bash(curl -sk --noproxy '*' --max-time 8 --resolve agent-manager.taijiagnet.com:80:20.212.121.126 http://agent-manager.taijiagnet.com/openapi.json -o /tmp/oa.json)",
"Bash(python -c ' *)",
"Bash(curl -sk --noproxy '*' --max-time 8 --resolve agent-manager.taijiagnet.com:80:20.212.121.126 http://agent-manager.taijiagnet.com/openapi.json)",
"Bash(MSYS_NO_PATHCONV=1 kubectl exec -n taiji-ai deploy/mcp-server -c mcp-server -- ls //app/scripts/)",
"Bash(MSYS_NO_PATHCONV=1 kubectl exec -n taiji-ai deploy/mcp-server -c mcp-server -- python //app/scripts/cleanup_orphan_litellm_keys.py --dry-run)",
"Bash(MSYS_NO_PATHCONV=1 kubectl exec -n taiji-ai deploy/mcp-server -c mcp-server -- bash -c \"cd /app && python -m scripts.cleanup_orphan_litellm_keys --dry-run\")",
"Bash(MSYS_NO_PATHCONV=1 kubectl exec -n taiji-ai deploy/mcp-server -c mcp-server -- bash -c \"cd /app && python -m scripts.cleanup_orphan_litellm_keys\")",
"Bash(pkill -f \"port-forward\")",
"Bash(curl -s --noproxy '*' --max-time 5 http://127.0.0.1:18083/health)",
"Bash(MSYS_NO_PATHCONV=1 kubectl logs -n taiji-ai deploy/mcp-server --tail=200)",
"Bash(MSYS_NO_PATHCONV=1 kubectl cp \"C:/Users/陈晨/AppData/Local/Temp/check_smoke_user.py\" \"taiji-ai/$\\(kubectl get pod -n taiji-ai -l app=mcp-server -o jsonpath='{.items[0].metadata.name}'\\):/tmp/check_smoke_user.py\")",
"Bash(MSYS_NO_PATHCONV=1 kubectl exec -n taiji-ai deploy/mcp-server -c mcp-server -- python /tmp/check_smoke_user.py smoke_1778571031@example.com)",
"Bash(git add *)",
"Bash(git commit -m ' *)",
"Bash(git push *)",
"Bash(unset HTTP_PROXY HTTPS_PROXY http_proxy https_proxy)",
"Bash(curl -sk --noproxy '*' --max-time 8 __TRACKED_VAR__/api/user/heicode/models -o /dev/null -w 'HTTP=%{http_code} \\(no auth\\)\\\\n')",
"Bash(curl -sk --noproxy '*' --max-time 15 -X POST __TRACKED_VAR__/api/auth/login -H 'Content-Type: application/json' -d '{\"email\":\"smoke_1778571031@example.com\",\"password\":\"GoodPwd1234\"}' -w '\\\\nHTTP=%{http_code}\\\\n')",
"Bash(python -c \"import sys,json,base64; d=json.load\\(sys.stdin\\); print\\({k: base64.b64decode\\(v\\).decode\\(\\)[:8]+'...' for k,v in d.items\\(\\)}\\)\")",
"Bash(python -c \"import ast; ast.parse\\(open\\('app/magic_link.py',encoding='utf-8'\\).read\\(\\)\\); ast.parse\\(open\\('app/routes/auth.py',encoding='utf-8'\\).read\\(\\)\\); ast.parse\\(open\\('config.py',encoding='utf-8'\\).read\\(\\)\\); print\\('syntax OK'\\)\")"
]
}
}