|
|
0d9d3db73b
|
feat: 更新配置文档
|
2026-06-13 19:57:35 +08:00 |
|
|
|
a6a6a16185
|
feat: Phase 6.3 - 注册 Session REST 路由,统一依赖注入
|
2026-06-13 16:22:53 +08:00 |
|
|
|
f07916ab0f
|
fix: Phase 6.2 - Health 端点对齐接口文档 (uptime_seconds 整数格式)
|
2026-06-13 16:21:53 +08:00 |
|
|
|
19535e6a37
|
feat: Phase 5.1 - Client 扩展,添加 orchestrator 依赖
- 扩展 Client 结构体,添加 sessionManager、orchestrator、cancelFuncs 字段
- 创建 WSClient 适配器实现 orchestrator.Sender 接口
- 更新 ServeWS 函数签名,接收 orchestrator 参数
- 在 main.go 中初始化 AI 服务和 Orchestrator
|
2026-06-13 16:13:22 +08:00 |
|
|
|
fe4dedec71
|
feat: WS handler 接入 SessionManager,main.go 注入依赖 + 健康检查获取活跃会话数
Backend CI / ci (pull_request) Failing after 15s
Frontend CI / ci (pull_request) Has been cancelled
|
2026-06-13 15:31:15 +08:00 |
|
|
|
da87ec776b
|
feat: main.go 接入配置 + graceful shutdown + logger 迁移
- main.go: 接入 config.Load() 替换硬编码 :8080
- main.go: 添加 signal.NotifyContext + http.Server.Shutdown(10s drain)
- main.go: 初始化 Zap 日志,prod 环境切换 Gin release 模式
- ws/handler.go: 所有 log.Printf 替换为 logger.Log 结构化日志
- 修复 .gitignore 排除规则(/server 仅匹配根目录二进制)
- 新增 zap、viper 依赖
|
2026-06-13 15:18:03 +08:00 |
|
|
|
9f876df816
|
feat: 初始化 Go 后端项目骨架
- 使用 Gin 框架替代原始 net/http,方便调试
- 实现 WebSocket 端点 (/ws),支持 ping/query/config/interrupt 消息
- 实现健康检查 REST 接口 (/api/health)
- 定义协议数据结构 (models)
- 心跳检测(60 秒超时断开)
|
2026-06-12 17:34:43 +08:00 |
|