dsh-session-title-format 1.0.0 → 1.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 +10 -0
- package/package.json +12 -1
package/README.md
CHANGED
|
@@ -130,3 +130,13 @@ dsh plugin --profile web remove dsh-session-title-format # 方式一:pnpm
|
|
|
130
130
|
|
|
131
131
|
- dsh 0.1.2-alpha.3 / 0.1.5-alpha.1 实测通过(headless + 运行中 web 服务器 RPC 两条路径)
|
|
132
132
|
- 家级补丁热重载在两版本上行为不一致(0.1.2 上条目变更触发重载实证有效;0.1.5 上新建/touch 未触发,需重启)——因此两种安装方式的最后一步都建议重启进程
|
|
133
|
+
|
|
134
|
+
## 变更记录
|
|
135
|
+
|
|
136
|
+
### 1.0.1
|
|
137
|
+
|
|
138
|
+
修复 npm 安装报错 `ERR_PNPM_NO_MATCHING_VERSION No matching version found for @deepseek-ai/dsh-tools@>=0.1.5 <0.2.0`。
|
|
139
|
+
|
|
140
|
+
- **原因**:1.0.0 把 `@deepseek-ai/dsh-llm` / `@deepseek-ai/dsh-tools` / `@deepseek-ai/schemastery` 声明为**非可选** peerDependencies。这些是宿主(dsh 运行时)通过模块回退(module fallback)注入的包,registry 上只有 prerelease(0.1.x 无稳定版)。`dsh plugin add` 转发给 pnpm 后,pnpm ≥8 的 `auto-install-peers`(默认开启;pnpm 8 不读 profile `pnpm-workspace.yaml` 里的 `autoInstallPeers: false`)会尝试从 registry 自动安装缺失 peer;当 profile 里其他插件(如 dsh-better-sidebar)也声明了同名 peer 时,pnpm 对多个版本范围取交集,产出剥掉 prerelease 的范围(如 `>=0.1.5 <0.2.0`),无任何已发布版本可满足,安装失败。即使单独安装"成功",也会把 0.1.0-rc.8 时代的宿主包整棵装进 profile,遮蔽运行中的宿主版本。
|
|
141
|
+
- **修复**:在 `peerDependenciesMeta` 中将三个 `@deepseek-ai/*` peer 全部标记为 `optional: true`。pnpm 对 optional peer 完全不做自动安装(`getMissingPeers` 在源头排除),既不触发范围交集报错,也不会拉入陈旧宿主包;peer 范围本身保留,仍作为兼容性声明供市场等工具读取(dshmarket 以 includePrerelease 语义判定,`>=0.1.0-rc.8` 对 0.1.6-alpha.1 宿主判为兼容)。
|
|
142
|
+
- 经 pnpm 8.15.9 / pnpm 10.21 在全新 profile 与含既有插件的 profile 两种上下文验证安装通过。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-session-title-format",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.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": [
|
|
@@ -29,6 +29,17 @@
|
|
|
29
29
|
"@deepseek-ai/dsh-tools": ">=0.1.0-rc.8",
|
|
30
30
|
"@deepseek-ai/schemastery": "^3.18.2"
|
|
31
31
|
},
|
|
32
|
+
"peerDependenciesMeta": {
|
|
33
|
+
"@deepseek-ai/dsh-llm": {
|
|
34
|
+
"optional": true
|
|
35
|
+
},
|
|
36
|
+
"@deepseek-ai/dsh-tools": {
|
|
37
|
+
"optional": true
|
|
38
|
+
},
|
|
39
|
+
"@deepseek-ai/schemastery": {
|
|
40
|
+
"optional": true
|
|
41
|
+
}
|
|
42
|
+
},
|
|
32
43
|
"dsh": {
|
|
33
44
|
"bundle": {
|
|
34
45
|
"patch": "./cordis.patch.yml"
|