c11307aa671798be0c6dc906bdbaeb7fee74a1a4
历史列表里 in_progress/draft_ready/review_ready 记录加绿色▶️「继续未完成」按钮 (点标题亦可);done/error/background 不可继续。多 worker 安全——与4个确认卡同机制, 全基于共享 checkpoint(gateway GET /threads/{id}/state + /history 读,任意 worker)。 链路:continueWriting(sessionId) → closeHistory + 设活跃 sessionId → useStream fetchStateHistory 拉该 thread checkpoint 进 stream.values → host rehydrate effect (continueTargetRef 守卫,每 thread 一次)用 buildRehydrateSnapshot 重建已完成阶段; status=awaiting_* → 显示确认卡等用户操作,否则 submit({command:{}}) 从 checkpoint 续跑当前阶段。重新加回 buildRehydrateSnapshot + rehydrate action。 入口在侧栏 WritingHistoryItem。刷新=重置不受影响(这是显式点击,非自动重连)。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Languages
Python
39.2%
TypeScript
35.9%
HTML
22.2%
CSS
1.5%
JavaScript
0.9%
Other
0.2%