Repository navigation
Support DSH 0.2.2-rc.1 and preserve native renderer interactions
DSH 0.2.2-rc.1 compatibility and native renderer interaction update.
Support official DSH 0.2.2-rc.1 while retaining 0.2.0-rc.2, 0.2.1-rc.2, and 0.2.1-rc.5 compatibility. Bind chatFileMentions.forClosing in the replacement assistant node entry to preserve actionable closing-turn file mentions. Restore native Quote and file context menu interactions by marking text interaction sources on settled assistant replies and expanded reasoning bodies, enabling Quote popovers to insert directly into the composer, and preserving deferred file path resolution in the host context menu callback.
适配官方 DSH 0.2.2-rc.1(同时保留 0.2.0-rc.2、0.2.1-rc.2 与 0.2.1-rc.5 兼容)。在宿主助手节点入口绑定 chatFileMentions.forClosing 以恢复回合末尾可操作的文件链接渲染。补全原生 Quote(引用)与右键上下文菜单交互:在已完成的助手回复及展开的思考块中保留文本交互标识,支持选中文字直接引用至输入框;文件链接右键菜单完整传递延迟路径解析与会话上下文。
Declared DSH range: >=0.2.0-rc.2 <0.3.0-0 || 0.2.1-rc.2 || 0.2.1-rc.5 || 0.2.2-rc.1. Keep the previous plugin version on older DSH.
Note / Known limitations:
- File context menus may intermittently show Download-only in both native DSH and Smooth Stream; the cause is not conclusively established (independent sample runs observed Download-only in 5/30 Smooth Stream cases vs 1/30 native DSH cases, a small and inconclusive sample). The menu always opens and typically recovers full actions later. Implementer runs observed 1/6 cold fresh items and 6/6 warm restart items, which are valid observations rather than a global parity guarantee.
- On DSH
0.2.1-rc.2, one of four independent runs observedSidebar Session opening failed: session reference releasedin the hostSidebarSessionView.disposestack (with no Smooth Stream frames); three reruns passed cleanly. There is no proof this is a pre-existing defect. - Assistant images continue the existing plain
<img>fallback vialoadImagewithout the native gallery/lightbox.
注意 / 已知限制:
- 文件链接右键菜单在原生 DSH 与 Smooth Stream 中均偶现仅显示“Download”单项;其成因尚未确证(独立抽样测试中 Smooth Stream 观察到 5/30 次 Download-only,原生观察到 1/30 次,样本较小且非定论)。菜单均能正常弹出且后续通常可恢复完整选项。测试中观察到冷启动首测 1/6 项、重启热缓存后 6/6 项,但这属于测试观测记录,而非全局一致性保证。
- 在 DSH
0.2.1-rc.2的独立测试中,4 次运行中有 1 次在宿主SidebarSessionView.dispose堆栈出现Sidebar Session opening failed: session reference released(无 Smooth Stream 堆栈帧),随后 3 次重测均正常通过;未证实为既有缺陷。 - 助手消息图片延续既有设计,回退为普通
<img>显示,不包含原生画廊/灯箱预览。
Validation: automated regression suite (npm test, 6 pass), npm package and publish test fixtures (node --test scripts/npm-publish.test.mjs, 10 pass; npm run check:package, 8 files), strict npm peer dependency resolution, isolated official DSH 0.2.0-rc.2, 0.2.1-rc.2, 0.2.1-rc.5, and 0.2.2-rc.1 fresh-boot and restart compatibility acceptance, and target official DSH 0.2.2-rc.1 acceptance for file mentions, Quote insertion, and native context menu interactions in headless Edge with an offline model. See .github/reviews/dsh-0.2.2-rc.1.md.
Install from npm or the attached archive:
dsh plugin --profile desktop add ./dsh-plugin-smooth-stream-1.6.0.tgzRestart DSH after updating.