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 |
|
shiyue
|
7ed7a6c81b
|
feat: 添加 start 命令,交互式选择小说和风格
|
2026-03-18 09:56:49 +08:00 |
|
shiyue
|
351c12fdaa
|
docs: 添加 tmux 使用说明到 help
|
2026-03-18 09:38:23 +08:00 |
|
shiyue
|
40a3479e2a
|
feat: 完善 help 说明及多项功能优化
|
2026-03-18 00:20:12 +08:00 |
|
voocel
|
b23ac0fb6b
|
feat: 实时数据展示优化
|
2026-03-17 09:50:32 +08:00 |
|
voocel
|
c913a49ffd
|
perf: 上下文分级裁剪与Agent完成性保障
|
2026-03-15 22:52:17 +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
|
7488198461
|
perf: 拆分规划策略
|
2026-03-13 00:19:21 +08:00 |
|
voocel
|
16e790a372
|
feat: 支持六维评审评分及别名管理
|
2026-03-12 22:25:34 +08:00 |
|
voocel
|
bce0adeff1
|
feat: 支持长篇小说分层架构(卷/弧/章三级结构)
|
2026-03-12 16:27:15 +08:00 |
|
voocel
|
3d65afa276
|
perf: 上下文策略自适应优化
|
2026-03-12 15:17:53 +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 |
|
voocel
|
2445560465
|
Merge branch 'main' of github.com:voocel/ainovel-cli
|
2026-03-07 21:29:31 +08:00 |
|
voocel
|
27bd85ef90
|
init
|
2026-03-07 21:25:55 +08:00 |
|
voocel
|
eb13358bf4
|
Initial commit
|
2026-03-07 20:24:45 +08:00 |
|