@klarkxy/dsh-current-title 0.1.7 → 0.2.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 -2
- package/docs/README.zh-CN.md +7 -2
- package/lib/client.inner.cjs +391 -96
- package/lib/client.inner.cjs.map +1 -1
- package/lib/client.js +392 -258
- package/lib/contracts.d.ts +7 -8
- package/lib/contracts.js +1 -22
- package/lib/contracts.js.map +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.js +82 -12
- package/lib/index.js.map +1 -1
- package/package.json +18 -11
package/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# @klarkxy/dsh-current-title
|
|
2
2
|
|
|
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
|
+
|
|
3
6
|
Keeps a DSH session title on the task you are working on right now, and leaves a name you set by hand alone.
|
|
4
7
|
|
|
5
8
|
[简体中文](docs/README.zh-CN.md)
|
|
@@ -10,12 +13,14 @@ The bundle insert is enabled after installation. It does not permanently turn of
|
|
|
10
13
|
|
|
11
14
|
## Install
|
|
12
15
|
|
|
13
|
-
Requires Node.js ≥22 and DSH `0.1.7-rc.2`. 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.
|
|
16
|
+
Requires Node.js ≥22 and DSH `0.1.7-rc.2`. 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:
|
|
14
17
|
|
|
15
18
|
```sh
|
|
16
|
-
|
|
19
|
+
dsh plugin --profile web add @klarkxy/dsh-current-title
|
|
17
20
|
```
|
|
18
21
|
|
|
22
|
+
Replace `web` with your profile name. To uninstall, run `dsh plugin --profile web remove @klarkxy/dsh-current-title`.
|
|
23
|
+
|
|
19
24
|
Hosts that bundle this feature usually enable it by default; where the host supports live plugin switching, the switch under Settings → Plugins takes effect without a restart. Installation or removal may require a restart when the host asks for one.
|
|
20
25
|
|
|
21
26
|
## Host RPC
|
package/docs/README.zh-CN.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# @klarkxy/dsh-current-title
|
|
2
2
|
|
|
3
|
+
<!-- release-state-note -->
|
|
4
|
+
插件生命周期见[仓库状态清单](../../../README.zh-CN.md#插件生命周期):草稿 → 测试中 → 已发布,只向前推进。已发布插件的修复、测试和升版保持已发布;每次更新仍须通过发布检查。首次发布须明确选择测试中的包,并在 npm 归档验证成功后登记。详见[发布规则](../../../RELEASING.zh-CN.md)。
|
|
5
|
+
|
|
3
6
|
让会话标题跟着你手头的任务走;你手动改过的名字不会被覆盖。
|
|
4
7
|
|
|
5
8
|
[English](../README.md)
|
|
@@ -10,12 +13,14 @@
|
|
|
10
13
|
|
|
11
14
|
## 安装
|
|
12
15
|
|
|
13
|
-
需要 Node.js ≥22 与 DSH `0.1.7-rc.2`。「自动标题」默认启用,可在插件设置中关闭。标题写入宿主 `sessionTitle`,由宿主调度;生成使用宿主 `llm`
|
|
16
|
+
需要 Node.js ≥22 与 DSH `0.1.7-rc.2`。「自动标题」默认启用,可在插件设置中关闭。标题写入宿主 `sessionTitle`,由宿主调度;生成使用宿主 `llm` 服务。把已发布包装进目标 profile:
|
|
14
17
|
|
|
15
18
|
```sh
|
|
16
|
-
|
|
19
|
+
dsh plugin --profile web add @klarkxy/dsh-current-title
|
|
17
20
|
```
|
|
18
21
|
|
|
22
|
+
把 `web` 换成你的 profile 名。卸载用 `dsh plugin --profile web remove @klarkxy/dsh-current-title`。
|
|
23
|
+
|
|
19
24
|
部分宿主会预装并默认启用本功能;宿主支持热切换时,通过「设置 → 插件」开关无需重启。宿主提示需要重启时,安装或移除后重启。
|
|
20
25
|
|
|
21
26
|
## 宿主 RPC
|