feat: 完善堡垒机与 Agent 智能运维能力

- 支持 Windows Agent 构建、安装脚本和统一上报协议

- 增强 RDP 剪贴板、虚拟盘和文件传输能力

- 新增 AIOps 上下文工具、告警 RCA trace 落库和回放接口

- 重构 docs 模块文档并补充终端、堡垒机、监控、AI Agent 设计
This commit is contained in:
Logan.Li committed 2026-07-05 23:49:36 +08:00
1 parent a9513c2056
commit e0d652d211
169 files changed
+12192 -9116

No files matched your search

+8 -1
View File
@@ -57,7 +57,13 @@ func setupFrontend(r *gin.Engine) {
f, err := staticFS.Open(cleanPath)
if err == nil {
f.Close()
c.Header("Cache-Control", "public, max-age=31536000")
if cleanPath == "index.html" || strings.HasSuffix(cleanPath, ".html") {
// HTML 入口必须每次校验,避免浏览器长期执行旧版前端 bundle。// Logan.Li
c.Header("Cache-Control", "no-store, no-cache, must-revalidate")
} else {
// 当前内嵌构建在本地验证阶段需要强制校验,避免旧 bundle 残留。// Logan.Li
c.Header("Cache-Control", "no-cache")
}
c.FileFromFS(path, httpFS)
return
}
@@ -68,6 +74,7 @@ func setupFrontend(r *gin.Engine) {
c.String(http.StatusInternalServerError, "前端文件缺失")
return
}
c.Header("Cache-Control", "no-store, no-cache, must-revalidate")
c.Data(http.StatusOK, "text/html; charset=utf-8", indexBytes)
})
}