Pin the shell run state across frontend and backend
Why: The composer phase and the SSE retry interval have to land together so a reconnect shows 重连中 and still receives the missed events. Evidence: frontend dcf9b6b, backend 7bef7a4. Impact: No change to permissions, models, or the already merged live-bubble fix. Refs: feature/runstate-shell Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -6,11 +6,12 @@
|
||||
|
||||
- 权威仓:ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-System-Dev.git;目标分支:main;R0(initial_base_sha)= 64d4f115c8e61e124d7272ed68068675475e9518
|
||||
- 工作区:/home/weichen/projects/Agent-System-Dev-wt-feature-runstate-shell(worktree);分支:feature/runstate-shell
|
||||
- 授权与交付终点:<本次允许的动作与终点;未授权事项写明>
|
||||
- 授权与交付终点:改 frontend 与 backend,钉 Dev 的 gitlink,经 PR 合入 main 后在本 worktree 运行 task-finish。未授权:core 契约、权限模式、文件回滚、代码编排、发版、改写历史。
|
||||
|
||||
## 目标与非目标
|
||||
|
||||
<预期结果、受影响入口/模块/契约;明确不做什么。>
|
||||
- 目标:运行态只有 sending、running、settling、idle 一个来源;输入框、停止、取消和排队发送都读它;事件监听按契约穷举;SSE 开头带 retry,溢出后重连能补齐;断线显示「重连中」。
|
||||
- 非目标:重做已合入的流式气泡修复;权限卡;文件回滚。
|
||||
|
||||
## 同步记录
|
||||
|
||||
@@ -20,6 +21,6 @@
|
||||
|
||||
## 结果与验证(完成后填写)
|
||||
|
||||
- 结果:
|
||||
- 验证:
|
||||
- 影响与剩余项:
|
||||
- 结果:frontend dcf9b6b,backend 7bef7a4。运行态来自 runstate.ts。SSE 流以 retry: 1000 开头。
|
||||
- 验证:待 make test 与 make build。
|
||||
- 影响与剩余项:不改变默认权限和模型路由。断线时头部显示「重连中」。
|
||||
|
||||
+1
-1
Submodule modules/backend updated: b2dc9a7e0b...7bef7a4f94
+1
-1
Submodule modules/frontend updated: d5f59f1811...dcf9b6b847
Reference in New Issue
Block a user