dsh-toolview-kit 0.0.0-stage → 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/lib/index.js ADDED
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Host half of dsh-toolview-kit.
3
+ *
4
+ * The visual toolviews live in lib/client.js. Keeping the host half inert
5
+ * makes the package safe to load in profiles that do not expose client slots.
6
+ */
7
+ export const name = 'dsh-toolview-kit';
8
+ export const version = '0.3.3';
9
+
10
+ export function apply() {
11
+ // Client registration is performed by the web bundle.
12
+ }
package/package.json CHANGED
@@ -1,6 +1,82 @@
1
1
  {
2
2
  "name": "dsh-toolview-kit",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.3.3",
4
+ "description": "Data-driven readable tool cards for DSH shell, file, and JumpServer MCP calls.",
5
+ "type": "module",
6
+ "main": "./lib/index.js",
7
+ "exports": {
8
+ ".": "./lib/index.js",
9
+ "./client": "./lib/client.js",
10
+ "./client.js": "./lib/client.js",
11
+ "./config/tools.json": "./config/tools.json",
12
+ "./package.json": "./package.json"
13
+ },
14
+ "files": [
15
+ "lib",
16
+ "config",
17
+ "cordis.patch.yml",
18
+ "docs",
19
+ "assets",
20
+ "screenshots.json",
21
+ "README.md",
22
+ "CHANGELOG.md",
23
+ "LICENSE",
24
+ "package.json"
25
+ ],
26
+ "scripts": {
27
+ "build": "node scripts/build.mjs",
28
+ "check": "node --check lib/index.js && node --check lib/client.js",
29
+ "test": "node scripts/build.mjs && node --test test/*.test.mjs",
30
+ "verify": "node scripts/verify-install.mjs",
31
+ "prepack": "npm run test"
32
+ },
33
+ "engines": {
34
+ "node": ">=22.19.0",
35
+ "dsh": ">=0.1.0-rc.5"
36
+ },
37
+ "peerDependencies": {
38
+ "@deepseek-ai/cordis": ">=4.0.0"
39
+ },
40
+ "dsh": {
41
+ "id": "dsh-toolview-kit",
42
+ "name": "DSH Toolview Kit",
43
+ "version": "0.3.3",
44
+ "bundle": {
45
+ "patch": "./cordis.patch.yml"
46
+ },
47
+ "client": {
48
+ "platform": "web",
49
+ "immediately": true
50
+ },
51
+ "catalog": {
52
+ "category": "ui",
53
+ "summary": {
54
+ "en": "Readable tool cards for DSH shell commands, file reads and diffs, and JumpServer MCP output instead of raw JSON.",
55
+ "zh": "为 DSH 的 shell 命令、文件读取与 Diff、JumpServer MCP 输出提供可读卡片,替代原始 JSON。"
56
+ },
57
+ "capabilities": [
58
+ "toolview",
59
+ "shell-command",
60
+ "file-diff",
61
+ "mcp",
62
+ "jumpserver",
63
+ "theme-aware"
64
+ ]
65
+ }
66
+ },
67
+ "license": "MIT",
68
+ "repository": {
69
+ "type": "git",
70
+ "url": "https://github.com/ViCrack/dsh-toolview-kit.git"
71
+ },
72
+ "bugs": {
73
+ "url": "https://github.com/ViCrack/dsh-toolview-kit/issues"
74
+ },
75
+ "keywords": [
76
+ "deepseek-harness",
77
+ "dsh",
78
+ "dsh-plugin",
79
+ "toolview",
80
+ "jumpserver"
81
+ ]
82
+ }
@@ -0,0 +1,4 @@
1
+ [
2
+ "assets/dsh-toolview-kit-shell.png",
3
+ "assets/dsh-toolview-kit-diff.png"
4
+ ]