fix: 批量安装按钮检测 + 审计日志中文化 + terminal断开反馈

1. updateBatchBar() hasAgent 判断从 agent_api_key_set 改为 agent_version
2. 所有后端 AuditLog detail 字段统一中文
3. audit.html 操作/目标类型中文映射
4. terminal.html 断开覆盖层 + 重新连接按钮
5. Agent os_release 上报 + 前端系统版本拆分

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Your Name
2026-05-27 02:17:35 +08:00
parent 8b82d6bab0
commit fd9b7d85b5
17 changed files with 434 additions and 55 deletions
+2 -2
View File
@@ -319,8 +319,8 @@ async def script_job_callback(
target_type="script_execution",
target_id=result["execution_id"],
detail=(
f"server_id={payload.server_id} job_id={payload.job_id} "
f"exit_code={payload.exit_code} status={result.get('status')}"
f"服务器ID={payload.server_id} 任务ID={payload.job_id} "
f"退出码={payload.exit_code} 状态={result.get('status')}"
),
))