@klarkxy/dsh-current-title 0.2.1 → 0.2.2
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 +2 -3
- package/docs/README.zh-CN.md +2 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
# @klarkxy/dsh-current-title
|
|
1
|
+
# @klarkxy/dsh-current-title
|
|
2
2
|
|
|
3
3
|
<!-- release-state-note -->
|
|
4
|
-
The [repository registry](../../README.md#plugin-lifecycle) tracks Draft → Testing → Published, moving forward only. Fixes, testing and version updates keep published packages Published; each update still passes release checks. First publication explicitly selects Testing packages and records Published only after npm archive verification. See the [release guide](../../RELEASING.md).
|
|
5
4
|
|
|
6
5
|
Keeps a DSH session title on the task you are working on right now, and leaves a name you set by hand alone.
|
|
7
6
|
|
|
@@ -13,7 +12,7 @@ The bundle insert is enabled after installation. It does not permanently turn of
|
|
|
13
12
|
|
|
14
13
|
## Install
|
|
15
14
|
|
|
16
|
-
Requires Node.js ≥22 and DSH `0.1.7-rc.2
|
|
15
|
+
Requires Node.js ≥22 (26 verified) and DSH `0.1.7-rc.2` or later. The **Auto Title** entry starts enabled and can be disabled in plugin settings. Native title storage and scheduling come from the host `sessionTitle`; generation uses the host `llm` service. Install the published package into the target profile:
|
|
17
16
|
|
|
18
17
|
```sh
|
|
19
18
|
dsh plugin --profile web add @klarkxy/dsh-current-title
|
package/docs/README.zh-CN.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
# @klarkxy/dsh-current-title
|
|
1
|
+
# @klarkxy/dsh-current-title
|
|
2
2
|
|
|
3
3
|
<!-- release-state-note -->
|
|
4
|
-
插件生命周期见[仓库状态清单](../../../README.zh-CN.md#插件生命周期):草稿 → 测试中 → 已发布,只向前推进。已发布插件的修复、测试和升版保持已发布;每次更新仍须通过发布检查。首次发布须明确选择测试中的包,并在 npm 归档验证成功后登记。详见[发布规则](../../../RELEASING.zh-CN.md)。
|
|
5
4
|
|
|
6
5
|
让会话标题跟着你手头的任务走;你手动改过的名字不会被覆盖。
|
|
7
6
|
|
|
@@ -13,7 +12,7 @@
|
|
|
13
12
|
|
|
14
13
|
## 安装
|
|
15
14
|
|
|
16
|
-
需要 Node.js ≥22
|
|
15
|
+
需要 Node.js ≥22(已验证 26)与 DSH `0.1.7-rc.2` 或更高版本。「自动标题」默认启用,可在插件设置中关闭。标题写入宿主 `sessionTitle`,由宿主调度;生成使用宿主 `llm` 服务。把已发布包装进目标 profile:
|
|
17
16
|
|
|
18
17
|
```sh
|
|
19
18
|
dsh plugin --profile web add @klarkxy/dsh-current-title
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@klarkxy/dsh-current-title",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Auto Title: keep session titles following the latest task; names you set by hand stay put.",
|
|
5
5
|
"icon": "./icon.svg",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"test": "vitest run --root ../.. --config vitest.editor-plugins.config.ts --maxWorkers=2 plugins/dsh-current-title/src"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@klarkxy/dsh-model-route": "0.2.
|
|
77
|
-
"@klarkxy/dsh-plugin-kit": "0.3.
|
|
76
|
+
"@klarkxy/dsh-model-route": "0.2.1",
|
|
77
|
+
"@klarkxy/dsh-plugin-kit": "0.3.1",
|
|
78
78
|
"zod": "^4.1.5"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
@@ -125,6 +125,6 @@
|
|
|
125
125
|
"registry": "https://registry.npmjs.org/"
|
|
126
126
|
},
|
|
127
127
|
"dshRelease": {
|
|
128
|
-
"contentHash": "
|
|
128
|
+
"contentHash": "c426b5f989d1ba0debc6018603bc7ba3c1cc85373c8015dced625a03a5b704c8"
|
|
129
129
|
}
|
|
130
130
|
}
|