dsh-toolview-kit 0.3.2 → 0.3.3
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/CHANGELOG.md +5 -0
- package/README.md +8 -9
- package/lib/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.3 - 2026-12-01
|
|
4
|
+
|
|
5
|
+
- Put the npm install command first in the README and dropped the note that said the package was not published yet.
|
|
6
|
+
- Restored the npm version badge.
|
|
7
|
+
|
|
3
8
|
## 0.3.2 - 2026-12-01
|
|
4
9
|
|
|
5
10
|
- Added `assets/` screenshots of the shell card and the `ops_edit_file` Diff card, plus a `screenshots.json` manifest that plugin storefronts read.
|
package/README.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
给 DSH 的工具调用换上可读卡片。
|
|
4
4
|
|
|
5
|
+
[](https://www.npmjs.com/package/dsh-toolview-kit)
|
|
5
6
|
[](LICENSE)
|
|
6
7
|
[](package.json)
|
|
7
8
|
[](package.json)
|
|
@@ -24,7 +25,13 @@ DSH 的对话界面按工具名挑卡片视图:`bash`、`read`、`grep` 有专
|
|
|
24
25
|
|
|
25
26
|
## 安装
|
|
26
27
|
|
|
27
|
-
|
|
28
|
+
```bash
|
|
29
|
+
dsh plugin --profile desktop add dsh-toolview-kit
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
装完重开 DSH Desktop。客户端 bundle 在启动时加载,热装不会立刻出现卡片。
|
|
33
|
+
|
|
34
|
+
从源码装,或改完代码想本地验证:
|
|
28
35
|
|
|
29
36
|
```bash
|
|
30
37
|
git clone https://github.com/ViCrack/dsh-toolview-kit.git
|
|
@@ -35,14 +42,6 @@ dsh plugin --profile desktop add file://$PWD
|
|
|
35
42
|
|
|
36
43
|
`npm test` 会先构建再跑 13 个用例,覆盖工具映射、loader 形状、注册数量、卡片渲染、Diff 和 JumpServer 回执。测试不需要 DSH 运行时:用 `node:vm` 模拟 `window.__ModuleLoader__`,配一个极小的 React stub 渲染并断言文本。
|
|
37
44
|
|
|
38
|
-
装完重开 DSH Desktop。客户端 bundle 在启动时加载,热装不会立刻出现卡片。
|
|
39
|
-
|
|
40
|
-
包已按 npm 发布的形式打包(`npm pack` 产出 11 个文件),但还没发布到 registry。等发布后可改用:
|
|
41
|
-
|
|
42
|
-
```bash
|
|
43
|
-
dsh plugin --profile desktop add dsh-toolview-kit
|
|
44
|
-
```
|
|
45
|
-
|
|
46
45
|
手工登记、junction 接入、回滚和排障写在 [docs/installation.md](docs/installation.md)。
|
|
47
46
|
|
|
48
47
|
## 覆盖范围
|
package/lib/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* makes the package safe to load in profiles that do not expose client slots.
|
|
6
6
|
*/
|
|
7
7
|
export const name = 'dsh-toolview-kit';
|
|
8
|
-
export const version = '0.3.
|
|
8
|
+
export const version = '0.3.3';
|
|
9
9
|
|
|
10
10
|
export function apply() {
|
|
11
11
|
// Client registration is performed by the web bundle.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-toolview-kit",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Data-driven readable tool cards for DSH shell, file, and JumpServer MCP calls.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dsh": {
|
|
41
41
|
"id": "dsh-toolview-kit",
|
|
42
42
|
"name": "DSH Toolview Kit",
|
|
43
|
-
"version": "0.3.
|
|
43
|
+
"version": "0.3.3",
|
|
44
44
|
"bundle": {
|
|
45
45
|
"patch": "./cordis.patch.yml"
|
|
46
46
|
},
|