
董宏凯andClaude Opus 4.8
c11307aa67
feat(ai写作): 历史记录可继续未完成的会话(从checkpoint续跑)
历史列表里 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>
2026-06-27 13:12:47 +08:00
..
2026-06-23 21:47:46 +08:00
2026-06-07 21:20:58 +08:00
2026-06-27 13:12:47 +08:00
2026-06-26 14:36:29 +08:00
2026-06-11 11:31:49 +08:00
2026-06-16 20:57:21 +08:00
2026-06-20 20:18:02 +08:00
2026-06-19 10:19:31 +08:00
2026-06-09 15:48:24 +08:00
2026-06-20 20:18:02 +08:00
2026-06-07 21:20:58 +08:00
2026-06-08 12:33:24 +08:00
2026-06-24 21:20:12 +08:00
2026-05-13 14:36:44 +08:00
2026-06-04 12:40:18 +08:00
2026-06-11 22:58:38 +08:00