shiyue
|
c73f024c83
|
fix: tmux detach 后 ask_user 不再永久阻塞
问题根因:askUserBridge.requests 是无缓冲 channel,TUI 退出后
listenAskUser goroutine 消失,LLM 调用 ask_user 工具时 handler()
阻塞在 `b.requests <- req`,只有 ctx 取消才能解除(会杀掉整个任务)。
修复:
- askUserBridge 新增 detachCh(chan struct{})和 atomic 的 detached 标志
- Detach() 用 CAS 保证只关闭一次 channel,防止 double-close panic
- handler() 两处 select 均增加 `<-b.detachCh` case,立即返回
"用户不在线,请自行决策" 错误,LLM 收到后自主继续
- tui/app.go fallback 分支(p.Run() 退出且任务仍在运行时)
立即调用 bridge.Detach(),解除所有 ask_user 阻塞
|
2026-03-18 22:31:15 +08:00 |
|
shiyue
|
8900332910
|
fix: tmux 脱离后任务不再被中断
bubbletea TUI 退出时检查任务是否仍在运行,
若仍在运行则回退到无 UI 阻塞等待模式,
而不是调用 AbortSilent() 杀死 coordinator。
|
2026-03-18 13:37:26 +08:00 |
|
voocel
|
b23ac0fb6b
|
feat: 实时数据展示优化
|
2026-03-17 09:50:32 +08:00 |
|
voocel
|
568ef0b1d1
|
refactor: Agent驱动重构,整章写入替代场景拼接
|
2026-03-15 14:14:46 +08:00 |
|
voocel
|
25e219e934
|
perf: ask user
|
2026-03-13 01:15:00 +08:00 |
|
voocel
|
16e790a372
|
feat: 支持六维评审评分及别名管理
|
2026-03-12 22:25:34 +08:00 |
|
voocel
|
e9c8220bc3
|
feat: add tab pane
|
2026-03-11 19:03:33 +08:00 |
|
voocel
|
74a8c8eaef
|
feat: add openrouter
|
2026-03-10 23:55:45 +08:00 |
|
voocel
|
0a48b66ed1
|
feat: rhythm tracking and structured review
|
2026-03-10 17:24:48 +08:00 |
|
voocel
|
ef55c89e9d
|
feat: add ask user question
|
2026-03-09 19:52:43 +08:00 |
|
voocel
|
75bdda1fe3
|
feat: support tui
|
2026-03-08 12:02:46 +08:00 |
|