Repository navigation
Releases: copylee711/dsh-better-display
Releases · copylee711/dsh-better-display
Release list
v0.4.2 — safe native slot delegation
修复 #1 涉及的附件栏槽位委托问题。
- 仅向有效、优先级更低的组件委托,避免包装器相互调用;支持 memo / forwardRef。
- 等待原生组件就绪,跟随注册、卸载和重新注册;缺失内置附件栏时安全退出,不再主动抛错。
- 原生组件若有专属 inject / store / children 属性,保留宿主渲染,避免嵌套时丢失这些属性。用户消息槽位采用相同保护。
验证:TypeScript、120 项测试、构建和 14 项 bundle 检查通过。Windows DSH Desktop 0.2.1-rc.2 实测 opencode-go / DeepSeek V4.1 Flash 回复,以及图片附件加载和原图预览;未观察到白屏。原始 macOS Electron Renderer 崩溃尚无同平台复测证据。