Menghuan1918
0f9af851ae
fix: 聊天产出文件行拦截改用 slots.inject 延迟注册(issue #15)
conversation.chat.turnTail 是宿主 ui-conversation 在 conversation.chat.node
children 表中声明的子插槽,直接 slots.register 会早于声明而抛
"not declared (a parent entry's children table must declare it)",
导致拦截注册失败回退默认 deliverables 行为并弹诊断条。
改用 ctx.slots.inject 等待声明落账后再注册(与官方
dsh-client-ui-deliverables 同款写法):已声明则同步注册,未声明则
在声明提交时注册,声明撤销自动卸载、重声明重新注册,fiber 卸载
幂等清理。editor tab 禁用门控与 openInSidebar 座位不变。
新增 tests/turn-tail-intercept.spec.ts 覆盖已声明/待声明/提前销毁
三种注册时机、editor 禁用回退与 openInSidebar 座位接线。
2026-08-14 00:41:08 +08:00
..
2026-08-14 00:41:08 +08:00
2026-08-10 21:43:58 +08:00
2026-08-11 19:28:48 +08:00
2026-08-13 09:06:55 +08:00
2026-08-13 09:06:55 +08:00
2026-08-13 22:25:20 +08:00
2026-08-09 22:07:03 +08:00
2026-08-10 22:29:24 +08:00
2026-08-11 19:28:48 +08:00
2026-08-13 09:06:55 +08:00
2026-08-13 09:06:55 +08:00
2026-08-13 09:06:55 +08:00
2026-08-13 09:06:55 +08:00
2026-08-13 09:06:55 +08:00
2026-08-10 21:43:58 +08:00
2026-08-08 01:02:24 +08:00
2026-08-13 09:06:55 +08:00