@klarkxy/dsh-git-commit 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 -12
- package/docs/README.zh-CN.md +2 -11
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
# @klarkxy/dsh-git-commit
|
|
1
|
+
# @klarkxy/dsh-git-commit
|
|
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
|
Commit workspace changes to git without leaving the chat. Every conversation
|
|
7
6
|
thread gets a **Commit** action in its header: click it, check the branch, the
|
|
@@ -13,7 +12,7 @@ directory.
|
|
|
13
12
|
|
|
14
13
|
## Install
|
|
15
14
|
|
|
16
|
-
Requires Node.js ≥22. Install the published package into the target profile
|
|
15
|
+
Requires Node.js ≥22 (26 verified). Install the published package into the target profile
|
|
17
16
|
with the DSH plugin manager; the install also enables the `git-commit` entry:
|
|
18
17
|
|
|
19
18
|
```sh
|
|
@@ -23,15 +22,6 @@ dsh plugin --profile web add @klarkxy/dsh-git-commit
|
|
|
23
22
|
Replace `web` with your profile name. Installation or removal may require a
|
|
24
23
|
restart when the host asks for one.
|
|
25
24
|
|
|
26
|
-
To install a source checkout of this repository instead, pack it first and add
|
|
27
|
-
the archive:
|
|
28
|
-
|
|
29
|
-
```sh
|
|
30
|
-
cd plugins/dsh-git-commit
|
|
31
|
-
npm pack --ignore-scripts
|
|
32
|
-
dsh plugin --profile web add "<absolute path to the .tgz>"
|
|
33
|
-
```
|
|
34
|
-
|
|
35
25
|
To uninstall:
|
|
36
26
|
|
|
37
27
|
```sh
|
package/docs/README.zh-CN.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
# @klarkxy/dsh-git-commit
|
|
1
|
+
# @klarkxy/dsh-git-commit
|
|
2
2
|
|
|
3
3
|
<!-- release-state-note -->
|
|
4
|
-
插件生命周期见[仓库状态清单](../../../README.zh-CN.md#插件生命周期):草稿 → 测试中 → 已发布,只向前推进。已发布插件的修复、测试和升版保持已发布;每次更新仍须通过发布检查。首次发布须明确选择测试中的包,并在 npm 归档验证成功后登记。详见[发布规则](../../../RELEASING.zh-CN.md)。
|
|
5
4
|
|
|
6
5
|
在对话里直接把工作区修改提交到 git。每个对话线程的右上角都有一个 **提交** 按钮:
|
|
7
6
|
点一下打开弹层,确认分支、文件数量和将使用的模型,再点一下即可把会话工作目录
|
|
@@ -11,7 +10,7 @@
|
|
|
11
10
|
|
|
12
11
|
## 安装
|
|
13
12
|
|
|
14
|
-
需要 Node.js ≥22
|
|
13
|
+
需要 Node.js ≥22(已验证 26)。用 DSH 插件管理器把已发布包装进目标 profile,安装即启用
|
|
15
14
|
`git-commit` 入口:
|
|
16
15
|
|
|
17
16
|
```sh
|
|
@@ -20,14 +19,6 @@ dsh plugin --profile web add @klarkxy/dsh-git-commit
|
|
|
20
19
|
|
|
21
20
|
把 `web` 换成你的 profile 名。安装或卸载后宿主可能要求重启。
|
|
22
21
|
|
|
23
|
-
要装本仓库的源码,先打包再添加归档:
|
|
24
|
-
|
|
25
|
-
```sh
|
|
26
|
-
cd plugins/dsh-git-commit
|
|
27
|
-
npm pack --ignore-scripts
|
|
28
|
-
dsh plugin --profile web add "<归档绝对路径>"
|
|
29
|
-
```
|
|
30
|
-
|
|
31
22
|
卸载:
|
|
32
23
|
|
|
33
24
|
```sh
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@klarkxy/dsh-git-commit",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Git Commit: commit workspace changes from the conversation header, with model-planned commit groups.",
|
|
5
5
|
"icon": "./icon.svg",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"test": "vitest run --root ../.. --config vitest.editor-plugins.config.ts --maxWorkers=2 plugins/dsh-git-commit/src"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@klarkxy/dsh-model-route": "0.2.
|
|
78
|
-
"@klarkxy/dsh-plugin-kit": "0.3.
|
|
77
|
+
"@klarkxy/dsh-model-route": "0.2.1",
|
|
78
|
+
"@klarkxy/dsh-plugin-kit": "0.3.1",
|
|
79
79
|
"zod": "^4.1.5"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
@@ -124,6 +124,6 @@
|
|
|
124
124
|
"registry": "https://registry.npmjs.org/"
|
|
125
125
|
},
|
|
126
126
|
"dshRelease": {
|
|
127
|
-
"contentHash": "
|
|
127
|
+
"contentHash": "4acf2bc66703208b27ee0eafa2b3eb91cc51907e5ffde9ffcd7d8d98d9a56fdd"
|
|
128
128
|
}
|
|
129
129
|
}
|