- 翻译 en-US.json 中 1006 条未翻译的中文条目为英文 - 提取 30+ 组件文件的硬编码中文到 locale JSON - 新增 900+ 翻译键覆盖所有业务模块: - Layout (Sidebar, Header, Breadcrumb) - Server (ServerForm, CloudServerImport, WebShell, RdpTools) - Deploy (ReleaseManager, PipelineCreate, AppRelease) - Kubernetes (DeploymentEdit, PodExec, PodLogs, ResourceEditor) - Monitor (UnifiedQueryPanel, AlertCenter, Prometheus/Grafana Dashboard) - AIOps (predictUtils, PredictiveCostTab, AIPredictive) - System (useLdapManagement, AgentMonitor, AgentWizard) - tsc --noEmit 类型检查通过
33 lines
1.6 KiB
JSON
33 lines
1.6 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Read(//tmp/log/log/**)",
|
|
"Bash(curl -s -o /dev/null -w \"backend:%{http_code}\\\\n\" http://localhost:8080/version)",
|
|
"Bash(curl -s -o /dev/null -w \"es:9200:%{http_code}\\\\n\" --max-time 3 http://localhost:9200)",
|
|
"Bash(curl -s --max-time 3 http://localhost:9200)",
|
|
"Bash(docker inspect *)",
|
|
"Bash(docker exec *)",
|
|
"Bash(ip -4 addr show)",
|
|
"Bash(curl -s --max-time 5 http://10.10.10.156:9200)",
|
|
"Read(//tmp/**)",
|
|
"Bash(curl -s http://10.10.10.75:8080/api/v1/log-datasources -H 'Authorization: Bearer __TRACKED_VAR__')",
|
|
"Bash(python3 -c 'import sys,json;d=json.load\\(sys.stdin\\);data=d.get\\(\"data\"\\);print\\(\"code=\",d.get\\(\"code\"\\),\" type=\",type\\(data\\).__name__,\" len=\",len\\(data\\) if isinstance\\(data,list\\) else \"N/A\"\\)')",
|
|
"Bash(cd /srv/aiops/backend)",
|
|
"Bash(unset http_proxy https_proxy)",
|
|
"Bash(export GOPROXY=https://goproxy.cn,direct)",
|
|
"Bash(GOTOOLCHAIN=local CGO_ENABLED=1 go build -o /tmp/aiops-verify ./cmd/)",
|
|
"Bash(echo \"✅ 编译通过\")",
|
|
"Bash(export DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1)",
|
|
"Bash(docker compose *)",
|
|
"Bash(mkdir -p log)",
|
|
"Bash(git mv *)",
|
|
"Bash(git pull *)",
|
|
"Bash(docker version *)",
|
|
"Bash(awk '/docker_up\\\\\\(\\\\\\)|function docker_up/{f=1} f{print NR\": \"$0} /^}/{if\\(f\\)f=0}' run.sh)",
|
|
"Bash(./run.sh docker *)",
|
|
"Bash(curl -s --max-time 10 http://localhost:8080/version)",
|
|
"Bash(curl -s --max-time 10 -o /dev/null -w \"HTTP %{http_code}\\\\n\" http://localhost:8080/health)"
|
|
]
|
|
}
|
|
}
|