重构会话管理,简化上下文存储逻辑

This commit is contained in:
2026-06-03 17:14:55 +08:00
parent 76d4b510f4
commit 04ded0ceb0
19 changed files with 420 additions and 235 deletions
+2 -2
View File
@@ -34,12 +34,12 @@ SSE 事件:
{
"reason": "查询当前项目数据库健康状态",
"command": "project db-health",
"timeout": 60
"timeout": 120
}
```
- `command`tjwater-cli 子命令(不含二进制路径和 `--auth-context`
- `timeout`:可选超时秒数,默认 60,大结果集建议 300+
- `timeout`:可选超时秒数,默认 120,大结果集建议 300+
- 认证上下文(token、server、project)由内部桥接自动注入
## 4) 工具参数约定(前端工具)