@michengai/dsh-btw 1.1.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/CHANGELOG.zh-CN.md +8 -0
- package/lib/client.js +494 -7375
- package/lib/index.js +4 -2
- package/lib/types/client/NativeBtwAsk.d.ts +49 -0
- package/lib/types/client/SelectionAsk.d.ts +3 -1
- package/lib/types/client/official-quote.d.ts +52 -0
- package/lib/types/client/styles.d.ts +1 -1
- package/lib/types/client/user-quote-chip.d.ts +4 -1
- package/lib/types/locales.d.ts +1 -0
- package/package.json +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.2.0] - 2026-10-29
|
|
4
|
+
|
|
5
|
+
- Align with official message quotes specification: Pixel-perfect adoption of `@deepseek-ai/dsh-message-quotes` text selection interactions. Seamlessly integrate into the native `conversation.chat.text-interaction` slot on newer hosts while providing an exact floating fallback on older hosts.
|
|
6
|
+
- Deterministic selection toolbar ordering: Lock toolbar layout with "Quote text" on the left and "Ask BTW" on the right with a 6px gap, completely eliminating race-condition button jumping and capsule squeezing.
|
|
7
|
+
- Clean composer with rich-text quote link: Render quotes as inline rich-text link cards inside the input composer and completely eliminate obsolete floating pill bars above the composer.
|
|
8
|
+
- Bubble quote cards and HoverCard full-text preview: Elevate user bubble quotes to inline quote cards with native double-quote SVG markers and ellipsis overflow, accompanied by full-text HoverCard popovers on mouse hover.
|
|
9
|
+
- Compatibility matrix expansion: Broaden multi-host compatibility test suites to encompass the latest Release Candidate (`0.2.1-rc.4`) and latest Alpha release (`0.2.2-alpha.2`), ensuring 100% parity from `0.2.0-rc.1` through cutting-edge hosts.
|
|
10
|
+
|
|
3
11
|
## [1.1.1] - 2026-10-27
|
|
4
12
|
|
|
5
13
|
- Add official plugin vector icon: Introduce `assets/icon.svg` (transparent vector icon designed with dual bubbles and thought sparkles) and declare `icon` in the plugin manifest for better visual representation in the host extension manager and marketplace.
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## [1.2.0] - 2026-10-29
|
|
4
|
+
|
|
5
|
+
- 接入官方选区引用规范:1:1 像素级复刻官方 `@deepseek-ai/dsh-message-quotes` 选区交互体验。在新版本宿主中自动接入原生 `conversation.chat.text-interaction` 插槽;在老版本宿主中通过高精度浮层降级承接。
|
|
6
|
+
- 选区工具栏顺序与间距锁死:锁定浮层为「引用文本」在左、「旁问」在右,间距固定 6px,彻底消除渲染竞争导致的前后跳变与胶囊挤压。
|
|
7
|
+
- 输入框引用富文本链接呈现:点击引用后在输入框内以富文本链接卡片样式呈现引文,彻底拔除输入框上方多余的悬浮药丸横条,保持输入区域干净整洁。
|
|
8
|
+
- 消息气泡引文与悬停预览升级:消息气泡内的引用升级为多行内联卡片(带原生双引号图标、无多余下划线、单行截断),并在鼠标悬停时通过 HoverCard 原生浮层展示完整引文全文。
|
|
9
|
+
- 兼容性矩阵扩展:官方兼容性测试矩阵全面覆盖最新版 RC(`0.2.1-rc.4`)与最新版阿尔法宿主(`0.2.2-alpha.2`),实现从 `0.2.0-rc.1` 至最新宿主的双轨无缝运行与 1:1 体验一致性。
|
|
10
|
+
|
|
3
11
|
## [1.1.1] - 2026-10-27
|
|
4
12
|
|
|
5
13
|
- 补充插件官方矢量图标:新增 `assets/icon.svg` 透明矢量图标(双层气泡与思考火花造型),并在插件清单中声明 `icon` 字段,提升宿主扩展管理面板与插件市场的视觉呈现。
|