|
|
33d270ff63
|
fix: stabilize show_html streaming rendering and recovery
|
2026-04-25 23:17:07 +08:00 |
|
|
|
3219df388b
|
feat: 优化任务轮询和聊天区域渲染机制
|
2026-04-13 16:23:01 +08:00 |
|
|
|
49bd994cfa
|
fix: stabilize task completion and chat auto-scroll behavior
|
2026-04-12 19:45:01 +08:00 |
|
|
|
8be1c37b6a
|
refactor(frontend): 整理应用逻辑层与状态管理
|
2026-04-10 14:34:01 +08:00 |
|
|
|
a04eca3aab
|
fix: unify background run_command notifications with sub-agent flow
|
2026-04-08 16:13:40 +08:00 |
|
|
|
a5412dae34
|
fix: adjust sub-agent notice spacing in minimal mode
|
2026-04-05 16:58:22 +08:00 |
|
|
|
2700a25702
|
feat: add per-user-message work timer with persistence
|
2026-04-05 15:14:29 +08:00 |
|
|
|
8d5a034c70
|
fix(chat): recover assistant placeholder after stop and switch
|
2026-04-04 19:47:03 +08:00 |
|
|
|
12c7a4bdd9
|
fix: remove legacy file edit tags
|
2026-03-17 22:43:51 +08:00 |
|
|
|
cd68812743
|
fix: 修复页面刷新时思考块自动展开的问题
- 在历史加载时给思考块设置 collapsed: true 默认折叠
- 在任务恢复时跳过思考块的展开/折叠动画
- 延迟清除 _rebuildingFromScratch 标记,确保所有历史事件处理完毕
- 删除过早清除重建标记的逻辑,避免后续思考块被展开
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-03-09 16:31:00 +08:00 |
|
|
|
801d20591c
|
feat: 实现 REST API + 轮询模式,支持页面刷新后任务继续执行
主要改进:
- 新增 REST API 任务管理接口 (/api/tasks)
- 实现 150ms 轮询机制,提供流畅的流式输出体验
- 支持页面刷新后自动恢复任务状态
- WebSocket 断开时检测 REST API 任务,避免误停止
- 修复堆叠块融合问题,刷新后内容正确合并
- 修复思考块展开/折叠逻辑,只展开正在流式输出的块
- 修复工具块重复显示问题,通过注册机制实现状态更新
- 修复历史不完整导致内容丢失的问题
- 新增 tool_intent 事件处理,支持打字机效果显示
- 修复对话列表排序时 None 值比较错误
技术细节:
- 前端:新增 taskPolling.ts 和 task store 处理轮询逻辑
- 后端:TaskManager 管理任务生命周期和事件存储
- 状态恢复:智能判断是否需要从头重建,避免内容重复
- 工具块注册:恢复时注册到 toolActionIndex,支持状态更新
- Intent 显示:0.5-1秒打字机效果,历史加载直接显示
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-03-08 03:12:46 +08:00 |
|
|
|
66b846ee37
|
refactor: split frontend app modules
|
2026-03-08 00:03:14 +08:00 |
|