dsh-sticky-user-bubble 0.2.0 → 0.3.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,18 @@
2
2
 
3
3
  本文件记录本项目的所有重要变更。
4
4
 
5
+ ## [0.3.0] - 2026-10-10
6
+
7
+ ### 变更
8
+
9
+ - **跨到 `0.2.1` 发布线**:兼容线从 `>=0.2.0-rc.2 <0.2.1` 整体换成 `>=0.2.1-alpha.2 <0.2.2`,逐版本核对 `0.2.1-alpha.2`。**这条线不再支持 `0.2.0` 及更早的 DSH**——还在旧线上请留在 `0.2.0` 版本的本插件;范围外插件的 Host 半体保持 inert。
10
+ - 在隔离宿主 + 无头 Chrome 155 上重新量测六个几何常量(出现阈值、让位清距、`clip-path`、三行折叠、展开上限随卡片收紧、composer 限高)与跳回:**数值与 `0.2.0` 线全线一致**,**业务代码一字未改**。上游 `dsh-client-ui-chat` 的 11.5k 行 diff 逐行分类为「位置搬移 + 4 处无值级几何变化的 CSS 改动 + opt-in 折行动画」,插件读的全部 `data-*` 标记与计数未变。
11
+ - 记录两条 `0.2.1` 的新结构(对插件无破坏):行容器多了一层 `[data-slot="conversation.chat.flow"]`(`readingInset` 仍取 `.EvIC1a_scroll` 的 16px);新增 `[data-chat-turn-spacer]` 与只在 turn 运行中/刚结束时启用的折行动画——折叠期间存在 ≤240ms 的陈旧让位窗口,已列入升级观察项。
12
+
13
+ ### 文档
14
+
15
+ - `AGENTS.md` 增加 `0.2.0-rc.2 → 0.2.1-alpha.2` 的逐项核对结果、两条新结构与新的半离线量测记录;`README.md` 的要求一节改成 `0.2.1` 线;`PUBLISHING.md` 的示例版本同步。
16
+
5
17
  ## [0.2.0] - 2026-10-01
6
18
 
7
19
  ### 变更
package/PUBLISHING.md CHANGED
@@ -12,8 +12,8 @@ npm publish --dry-run # 跑 prepublishOnly 并构造包,不上传
12
12
  ## 打 tag
13
13
 
14
14
  ```bash
15
- git tag dsh-sticky-user-bubble-v0.2.0
16
- git push origin dsh-sticky-user-bubble-v0.2.0
15
+ git tag dsh-sticky-user-bubble-v0.3.0
16
+ git push origin dsh-sticky-user-bubble-v0.3.0
17
17
  ```
18
18
 
19
19
  ## 安装路线
@@ -26,7 +26,7 @@ git push origin dsh-sticky-user-bubble-v0.2.0
26
26
  release_root="$(mktemp -d /tmp/dsh-sticky-user-bubble-release.XXXXXX)"
27
27
  mkdir -p "$release_root/artifacts"
28
28
  npm pack --ignore-scripts --pack-destination "$release_root/artifacts"
29
- tarball="$release_root/artifacts/dsh-sticky-user-bubble-0.2.0.tgz" # 换成本次发布的版本
29
+ tarball="$release_root/artifacts/dsh-sticky-user-bubble-0.3.0.tgz" # 换成本次发布的版本
30
30
  DSH_HOME="$release_root/dsh-home" \
31
31
  dsh plugin --profile web add "$tarball" --config.minimumReleaseAge=0
32
32
  DSH_HOME="$release_root/dsh-home" dsh web --dump-config
package/README.md CHANGED
@@ -17,7 +17,7 @@
17
17
 
18
18
  ## 要求
19
19
 
20
- - DeepSeek Harness Web `>=0.2.0-rc.2 <0.2.1`;`0.2.0-rc.2` 已逐版本验证(静态契约 + 单测,外加隔离宿主里对气泡出现阈值、让位清距与裁剪、三行折叠、展开上限、输入区限高与跳回的 `getBoundingClientRect()` 量测)。同线其他版本会给出警告,并继续依赖客户端结构与能力检查;范围外保持 inert——**0.1.7 及更早的 DSH 请继续用 0.1.7 版本的本插件**。
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 版本的本插件**。
21
21
  - Node.js 20 或更高版本(仅安装与发布检查需要)。
22
22
  - 不需要额外的运行时 npm 依赖。
23
23
 
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.0-rc.2 <0.2.1'
10
+ export const DSH_COMPATIBILITY_RANGE = '>=0.2.1-alpha.2 <0.2.2'
11
11
  /** 发布线本体;兼容线只覆盖这一个 patch 系列。 */
12
- export const DSH_RELEASE_LINE = '0.2.0'
12
+ export const DSH_RELEASE_LINE = '0.2.1'
13
13
  /**
14
- * 兼容线下界(`0.2.0-rc.2`):同线内更低 channel(alpha/beta)或更小序列号
15
- * 的 rc 都低于下界,判为不支持。跨线时改这三个常量即可,判定逻辑不用动。
14
+ * 兼容线下界(`0.2.1-alpha.2`):同线内更小序列号的 prerelease 都低于下界,
15
+ * 判为不支持。跨线时只改这三个常量,判定逻辑不用动。
16
16
  */
17
- export const DSH_RELEASE_FLOOR = { channel: 'rc', sequence: 2 }
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.0-rc.2']
21
+ export const VERIFIED_DSH_VERSIONS = ['0.2.1-alpha.2']
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.2.0",
3
+ "version": "0.3.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/zhaoliang233/dsh-plugins.git",
@@ -20,9 +20,9 @@
20
20
  "dshCompatibility": {
21
21
  "policy": "compatible-release-line",
22
22
  "package": "@deepseek-ai/dsh",
23
- "range": ">=0.2.0-rc.2 <0.2.1",
23
+ "range": ">=0.2.1-alpha.2 <0.2.2",
24
24
  "verifiedVersions": [
25
- "0.2.0-rc.2"
25
+ "0.2.1-alpha.2"
26
26
  ],
27
27
  "futureVersionsRequireCapabilityChecks": true
28
28
  },
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "engines": {
57
57
  "node": ">=20",
58
- "dsh": ">=0.2.0-rc.2 <0.2.1"
58
+ "dsh": ">=0.2.1-alpha.2 <0.2.2"
59
59
  },
60
60
  "publishConfig": {
61
61
  "access": "public"