dsh-sticky-user-bubble 0.3.1 → 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 +8 -0
- package/README.md +2 -2
- package/lib/index.js +4 -4
- package/package.json +4 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
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
|
+
|
|
5
13
|
## [0.3.1] - 2026-10-19
|
|
6
14
|
|
|
7
15
|
### 变更
|
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
## 要求
|
|
19
19
|
|
|
20
|
-
- DeepSeek Harness Web `>=0.2.
|
|
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.
|
|
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.
|
|
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.
|
|
12
|
+
export const DSH_RELEASE_LINE = '0.2.2'
|
|
13
13
|
/**
|
|
14
|
-
* 兼容线下界(`0.2.
|
|
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.
|
|
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
|
+
"version": "0.4.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/zhaoliang233/dsh-plugins.git",
|
|
@@ -20,11 +20,8 @@
|
|
|
20
20
|
"dshCompatibility": {
|
|
21
21
|
"policy": "compatible-release-line",
|
|
22
22
|
"package": "@deepseek-ai/dsh",
|
|
23
|
-
"range": ">=0.2.
|
|
24
|
-
"verifiedVersions": [
|
|
25
|
-
"0.2.1-alpha.2",
|
|
26
|
-
"0.2.1-rc.2"
|
|
27
|
-
],
|
|
23
|
+
"range": ">=0.2.2-alpha.2 <0.2.3",
|
|
24
|
+
"verifiedVersions": ["0.2.2-alpha.2", "0.2.2-rc.1"],
|
|
28
25
|
"futureVersionsRequireCapabilityChecks": true
|
|
29
26
|
},
|
|
30
27
|
"dsh": {
|
|
@@ -56,7 +53,7 @@
|
|
|
56
53
|
},
|
|
57
54
|
"engines": {
|
|
58
55
|
"node": ">=20",
|
|
59
|
-
"dsh": ">=0.2.
|
|
56
|
+
"dsh": ">=0.2.2-alpha.2 <0.2.3"
|
|
60
57
|
},
|
|
61
58
|
"publishConfig": {
|
|
62
59
|
"access": "public"
|