0e4f625338
feat: add task confirmation when switching conversations
...
- Prompt user to confirm when switching/creating conversation with active task
- Automatically stop running task after user confirmation
- Filter out events from previous conversation to prevent cross-talk
- Show toast notification after task is stopped
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-08 03:32:35 +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
463d89f295
fix: review filename sanitize and tool output
2026-03-08 00:03:28 +08:00
66b846ee37
refactor: split frontend app modules
2026-03-08 00:03:14 +08:00
5e768a9e41
refactor: split chat flow streaming loop
2026-03-07 21:21:14 +08:00
7f6a8d8511
refactor: extract tool execution loop from chat task main
2026-03-07 20:41:10 +08:00
3402375710
refactor: split pending writes and task support from chat task main
2026-03-07 20:37:58 +08:00
8ecfac0c06
refactor: isolate chat task main pipeline module
2026-03-07 20:32:02 +08:00
63e367a996
refactor: further split runner and tools mixins
2026-03-07 20:25:58 +08:00
067500b163
chore: remove obsolete segmented server snapshot files
2026-03-07 18:45:45 +08:00
5c92f93e8c
chore: add smoke checks and refactor notes
2026-03-07 18:42:25 +08:00
dcba8d9d76
refactor: split terminal and server chat flow modules
2026-03-07 18:38:30 +08:00
c067df4e1b
feat: add include_domains search filter and UI display
2026-03-07 17:50:35 +08:00
877bcc2fad
fix: improve api error diagnostics and raise model quotas
2026-03-06 17:02:19 +08:00
868640b479
feat: add aliyun quota fallback
2026-03-06 12:31:20 +08:00
4be61fe76e
feat: unify terminal session controls
2026-03-04 23:49:10 +08:00
dc6d998afb
fix: reduce prompt time precision
2026-02-25 17:56:05 +08:00
8f7e704a7a
feat: refresh system prompts
2026-02-25 17:28:06 +08:00
1eaa9461a1
feat: enrich host workspace info
2026-02-25 17:21:27 +08:00
12047ce237
feat: add terminal_input timeout hints
2026-02-25 15:21:35 +08:00
bec4902f1f
fix: request minimax stream usage properly
2026-02-25 13:28:09 +08:00
5868095587
docs: add minimax misalignment bug log
2026-02-25 13:22:10 +08:00
eb32e31cc1
feat: update image and video sending
2026-02-25 13:20:27 +08:00
8d0c187bbf
fix: ignore empty text blocks in stacks
2026-02-25 13:20:15 +08:00
6af1fe6364
docs: add weird bug log template
2026-02-25 03:20:10 +08:00
3f76780fff
fix: avoid empty text action on stream
2026-02-25 03:18:18 +08:00
08bc08b35f
feat: update model support and multimodal
2026-02-25 01:41:05 +08:00
89eeb449b5
chore: sync workspace updates
2026-02-23 01:20:41 +08:00
a013abb3c4
fix: improve terminal timeout messaging
2026-02-12 11:55:15 +08:00
7472028997
feat: add skills framework and controls
2026-02-07 00:20:35 +08:00
b0941a247b
fix: reduce workspace scans in host mode
2026-02-06 17:09:19 +08:00
55ef45e04d
feat: add silent disable option and workspace prompt split
2026-02-03 23:11:15 +08:00
50b0dd9336
fix: wrap chat text and align header fonts
2026-02-02 18:34:07 +08:00
406e777e22
feat: improve compression and context budgeting
2026-01-31 10:30:00 +08:00
9ded11de7a
feat: support batch todo updates
2026-01-30 18:50:02 +08:00
b81e14b314
feat: add video processing toast
2026-01-30 18:15:54 +08:00
bb91d22631
feat: add video send/view flow and guard model constraints
2026-01-30 17:04:33 +08:00
462b0ed6f3
feat: move model and mode pickers to header bar
2026-01-30 15:55:27 +08:00
7890926c3d
fix: improve cancellation flow and api error tracing
2026-01-30 15:36:44 +08:00
5fcda980fb
fix: cache file tree per conversation
2026-01-29 15:05:29 +08:00
453df30f45
refactor: replace file diff tools, simplify todos, disable typewriter
2026-01-29 14:20:01 +08:00
e5c2943cb2
fix: refine title prompt and sandbox config
2026-01-29 11:54:24 +08:00
6f8c1b36cc
feat: add image compression preference for uploads
2026-01-28 11:43:09 +08:00
60d27e9c1c
fix: refine host mode controls and kimi-k2.5 support
2026-01-28 11:19:50 +08:00
8a7cc5d9c6
feat: support kimi-k2.5 with multimodal thinking
2026-01-28 10:34:27 +08:00
d8cffa30cc
feat: add host mode quick entry
2026-01-28 10:01:04 +08:00
1c2ad9eb72
chore: ignore doc folder and webapp pid
2026-01-25 16:15:43 +08:00
d0197c38c3
fix: expand workspace file access and paginate convo index
2026-01-25 16:13:32 +08:00
f7034a3047
fix: enforce personalization tool disables in api flows
2026-01-25 13:44:52 +08:00
51f61b04d2
feat: add api admin ui and container status fix
2026-01-25 10:49:52 +08:00