dsh-session-title-format 2.0.0 → 2.0.1
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/README.md +7 -0
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -134,6 +134,13 @@ dsh plugin --profile web remove dsh-session-title-format # 方式一:pnpm
|
|
|
134
134
|
|
|
135
135
|
## 变更记录
|
|
136
136
|
|
|
137
|
+
### 2.0.1
|
|
138
|
+
|
|
139
|
+
修复 2.0.0 的安装失败 `ERR_PNPM_NO_MATCHING_VERSION No matching version found for @deepseek-ai/dsh@>=0.2.2`。
|
|
140
|
+
|
|
141
|
+
- **原因**:2.0.0 把 `engines.dsh: ">=0.2.2-rc.3"` 放在了 npm 标准的 `engines` 字段里。dshmarket(市场插件)接管 CLI 的 `dsh plugin add` 后会**把 `engines.dsh` 翻译成 `@deepseek-ai/dsh` 包的直接依赖**,交给 pnpm 解析。pnpm 按 semver 规则把 `>=0.2.2-rc.3` 的 prerelease 后缀剥掉变成 `>=0.2.2`,而 registry 上 `@deepseek-ai/dsh` 只有 prerelease(`latest: 0.2.2-rc.1`),无一满足→安装失败。
|
|
142
|
+
- **修复**:将 DSH 版本要求从 `engines.dsh`(npm 标准字段,会被翻译成依赖)移至 `dsh.engines.dsh`(厂商约定字段,dshmarket 只用于兼容性展示,不做依赖翻译)。`engines` 字段里仅保留 `node`(npm/pnpm 标准用法)。peer 范围同样使用 `>=0.2.0-rc.1`(包含 prerelease),避免交集出稳定范围。
|
|
143
|
+
|
|
137
144
|
### 2.0.0
|
|
138
145
|
|
|
139
146
|
升级至 DSH 0.2.2-rc.3,含以下破坏性变更:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-session-title-format",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "DSH plugin: set_session_title tool renaming the calling agent's session to「MMDD|类型|主题」— Shanghai-timezone creation date, fixed type vocabulary, concise topic",
|
|
6
6
|
"keywords": [
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
"README.md"
|
|
23
23
|
],
|
|
24
24
|
"engines": {
|
|
25
|
-
"dsh": ">=0.2.2-rc.3",
|
|
26
25
|
"node": ">=24.9"
|
|
27
26
|
},
|
|
28
27
|
"peerDependencies": {
|
|
@@ -42,6 +41,9 @@
|
|
|
42
41
|
}
|
|
43
42
|
},
|
|
44
43
|
"dsh": {
|
|
44
|
+
"engines": {
|
|
45
|
+
"dsh": ">=0.2.2-rc.3"
|
|
46
|
+
},
|
|
45
47
|
"bundle": {
|
|
46
48
|
"patch": "./cordis.patch.yml"
|
|
47
49
|
}
|