dsh-sticky-user-bubble 0.3.0 → 0.4.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 CHANGED
@@ -2,6 +2,25 @@
2
2
 
3
3
  本文件记录本项目的所有重要变更。
4
4
 
5
+ ## [0.4.0] - 2026-11-05
6
+
7
+ ### 变更
8
+
9
+ - **跨到 `0.2.2` 发布线**:兼容线从 `>=0.2.1-alpha.2 <0.2.2` 整体换成 `>=0.2.2-alpha.2 <0.2.3`,逐版本核对 `0.2.2-alpha.2`;随后在 `0.2.2-rc.1` 上完成同线例行复核(`[data-conversation-scroll]` / `[data-chat-flow]` / `data-chat-anchor-key` / `[data-composer-seat]` / `data-ref-chip` 的出现次数与 alpha.2 完全相同,chat 侧只有菜单浮层的 CSS 变化)。**这条线不再支持 `0.2.1` 及更早的 DSH**,旧线用户请留在 `0.3.x`;范围外保持 inert。
10
+ - 把 `0.2.2-rc.1` 加入逐版本验证清单(`package.json` / `lib/index.js` / `install.sh` / 插件文档四处同源),安装该 prerelease 时不再提示「未逐版本核对」。
11
+ - **业务代码一字未改**:本版只有兼容线、验证清单与文档同步。
12
+
13
+ ## [0.3.1] - 2026-10-19
14
+
15
+ ### 变更
16
+
17
+ - **把 `0.2.1-rc.2` 加进逐版本验证清单**(`package.json` / `lib/index.js` / `install.sh` 三处同源):该版本已在隔离宿主 + 无头 Chrome 155 上按**四档视口(320×568 / 390×844 / 900×900 / 1024×768)× 两种场景(多附件气泡 / `@` 引用 token 气泡)**完成六个几何常量的复核,数值与 `0.2.1-alpha.2` 逐数一致(抖动 0)。`verified` 只影响启动时那条「未逐条核对」的日志,不影响功能;`supported` 判定与兼容范围完全不变。
18
+ - 顺带复核 `0.2.1-rc.2` 的用户文本投影重构(`projectUserText` 被删除,改走 `conversation.user.text` 链式槽位):React 槽位不产生 DOM 盒,`Sixlwa_userRow > [userStack, actions]` 结构与 `data-ref-chip` + `title` 全部不变,clone 里原样保留 chip 与原文。**业务代码一字未改。**
19
+
20
+ ### 文档
21
+
22
+ - `AGENTS.md` 增加 `0.2.1-rc.2` 的四档视口量测记录与三条注入会话的踩坑结论。
23
+
5
24
  ## [0.3.0] - 2026-10-10
6
25
 
7
26
  ### 变更
package/README.md CHANGED
@@ -17,7 +17,7 @@
17
17
 
18
18
  ## 要求
19
19
 
20
- - DeepSeek Harness Web `>=0.2.1-alpha.2 <0.2.2`;`0.2.1-alpha.2` 已逐版本验证(静态契约 + 单测,外加隔离宿主里对气泡出现阈值、让位清距与裁剪、三行折叠、展开上限、输入区限高与跳回的 `getBoundingClientRect()` 量测)。同线其他版本会给出警告,并继续依赖客户端结构与能力检查;范围外保持 inert——**0.2.0 及更早的 DSH 请继续用 0.2.0 版本的本插件**。
20
+ - DeepSeek Harness Web `>=0.2.2-alpha.2 <0.2.3`;`0.2.2-alpha.2` 已逐版本验证(静态契约 + 单测,外加隔离宿主里对气泡出现阈值、让位清距与裁剪、三行折叠、展开上限、输入区限高与跳回的 `getBoundingClientRect()` 量测);`0.2.2-rc.1` 只做了同线例行核对(逐包 diff + 启动图 + 控制台),**未重跑几何量测**。同线其他版本会给出警告,并继续依赖客户端结构与能力检查;范围外保持 inert——**0.2.1 及更早的 DSH 请继续用上一发布线版本的本插件**。
21
21
  - Node.js 20 或更高版本(仅安装与发布检查需要)。
22
22
  - 不需要额外的运行时 npm 依赖。
23
23
 
@@ -25,7 +25,7 @@
25
25
 
26
26
  ```bash
27
27
  dsh plugin --profile web add dsh-sticky-user-bubble # 安装
28
- dsh plugin --profile web add dsh-sticky-user-bubble@0.1.4 # 升级到指定版本
28
+ dsh plugin --profile web add dsh-sticky-user-bubble@0.4.0 # 升级到指定版本
29
29
  dsh plugin --profile web remove dsh-sticky-user-bubble # 卸载
30
30
  ```
31
31
 
package/lib/index.js CHANGED
@@ -7,18 +7,18 @@ export const inject = []
7
7
  * 兼容发布线。与 `package.json#dshCompatibility.range` / `engines.dsh` /
8
8
  * `install.sh` 的 `DSH_COMPATIBILITY_RANGE` **同源**。
9
9
  */
10
- export const DSH_COMPATIBILITY_RANGE = '>=0.2.1-alpha.2 <0.2.2'
10
+ export const DSH_COMPATIBILITY_RANGE = '>=0.2.2-alpha.2 <0.2.3'
11
11
  /** 发布线本体;兼容线只覆盖这一个 patch 系列。 */
12
- export const DSH_RELEASE_LINE = '0.2.1'
12
+ export const DSH_RELEASE_LINE = '0.2.2'
13
13
  /**
14
- * 兼容线下界(`0.2.1-alpha.2`):同线内更小序列号的 prerelease 都低于下界,
14
+ * 兼容线下界(`0.2.2-alpha.2`):同线内更小序列号的 prerelease 都低于下界,
15
15
  * 判为不支持。跨线时只改这三个常量,判定逻辑不用动。
16
16
  */
17
17
  export const DSH_RELEASE_FLOOR = { channel: 'alpha', sequence: 2 }
18
18
  /** prerelease channel 的先后顺序;下标即优先级。 */
19
19
  const PRERELEASE_CHANNELS = ['alpha', 'beta', 'rc']
20
20
  /** 逐版本核对清单;与 `package.json#dshCompatibility.verifiedVersions` / `install.sh` 同源。 */
21
- export const VERIFIED_DSH_VERSIONS = ['0.2.1-alpha.2']
21
+ export const VERIFIED_DSH_VERSIONS = ['0.2.2-alpha.2', '0.2.2-rc.1']
22
22
 
23
23
  export function classifyDshVersion(version) {
24
24
  if (typeof version !== 'string') return { supported: false, verified: false }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-sticky-user-bubble",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/zhaoliang233/dsh-plugins.git",
@@ -20,10 +20,8 @@
20
20
  "dshCompatibility": {
21
21
  "policy": "compatible-release-line",
22
22
  "package": "@deepseek-ai/dsh",
23
- "range": ">=0.2.1-alpha.2 <0.2.2",
24
- "verifiedVersions": [
25
- "0.2.1-alpha.2"
26
- ],
23
+ "range": ">=0.2.2-alpha.2 <0.2.3",
24
+ "verifiedVersions": ["0.2.2-alpha.2", "0.2.2-rc.1"],
27
25
  "futureVersionsRequireCapabilityChecks": true
28
26
  },
29
27
  "dsh": {
@@ -55,7 +53,7 @@
55
53
  },
56
54
  "engines": {
57
55
  "node": ">=20",
58
- "dsh": ">=0.2.1-alpha.2 <0.2.2"
56
+ "dsh": ">=0.2.2-alpha.2 <0.2.3"
59
57
  },
60
58
  "publishConfig": {
61
59
  "access": "public"