dsh-server-connector 0.2.2 → 0.3.0

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/locale/en.json CHANGED
@@ -1,6 +1,6 @@
1
- {
2
- "meta": {
3
- "title": "Server Connector",
4
- "description": "Configure the SSH servers this machine can operate: a connection pool, a high-risk command policy, an audit log, and two-step dangerous operations."
5
- }
6
- }
1
+ {
2
+ "meta": {
3
+ "title": "Server Connector",
4
+ "description": "Configure the SSH servers this machine can operate: a connection pool, a high-risk command policy, an audit log, and two-step dangerous operations."
5
+ }
6
+ }
package/locale/zh.json CHANGED
@@ -1,6 +1,6 @@
1
- {
2
- "meta": {
3
- "title": "服务器连接器",
4
- "description": "在这台机器上配置可运维的 SSH 服务器:连接池、高危命令策略、审计与两段式危险操作。"
5
- }
6
- }
1
+ {
2
+ "meta": {
3
+ "title": "服务器连接器",
4
+ "description": "在这台机器上配置可运维的 SSH 服务器:连接池、高危命令策略、审计与两段式危险操作。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,105 +1,105 @@
1
- {
2
- "name": "dsh-server-connector",
3
- "version": "0.2.2",
4
- "description": "DSH plugin: SSH execution for servers configured on this machine, with a built-in high-risk command policy (block / confirm / allow).",
5
- "type": "module",
6
- "main": "lib/index.js",
7
- "exports": {
8
- ".": "./lib/index.js",
9
- "./policy": "./lib/policy.js",
10
- "./registry": "./lib/registry.js",
11
- "./audit": "./lib/audit.js",
12
- "./known-hosts": "./lib/known-hosts.js",
13
- "./pool": "./lib/pool.js",
14
- "./client": "./lib/client.js",
15
- "./package.json": "./package.json"
16
- },
17
- "files": [
18
- "lib",
19
- "locale",
20
- "icon.svg",
21
- "cordis.patch.yml",
22
- "CHANGELOG.md"
23
- ],
24
- "icon": "./icon.svg",
25
- "engines": {
26
- "node": "^22.19.0 || >=24.0.0"
27
- },
28
- "dsh": {
29
- "engines": {
30
- "dsh": ">=0.1.0-rc.6 <0.3.0"
31
- },
32
- "bundle": {
33
- "patch": "./cordis.patch.yml"
34
- },
35
- "client": {
36
- "inject": [
37
- "@deepseek-ai/dsh-client-ui-renderer",
38
- "@deepseek-ai/dsh-client-locale"
39
- ],
40
- "platform": "web"
41
- }
42
- },
43
- "scripts": {
44
- "test": "node --test \"tests/**/*.test.ts\"",
45
- "test:policy": "node --test tests/policy.test.ts",
46
- "test:registry": "node --test tests/registry.test.ts",
47
- "test:audit": "node --test tests/audit.test.ts",
48
- "test:known-hosts": "node --test tests/known-hosts.test.ts",
49
- "test:pool": "node --test tests/pool.test.ts",
50
- "typecheck": "tsc --noEmit"
51
- },
52
- "dependencies": {
53
- "@deepseek-ai/schemastery": "^3.18.5",
54
- "ssh2": "^1.17.0"
55
- },
56
- "peerDependencies": {
57
- "@deepseek-ai/cordis": "^4.0.5",
58
- "@deepseek-ai/dsh-tools": ">=0.1.0-rc.6 <0.3.0",
59
- "@deepseek-ai/dsh-system-prompt": ">=0.1.0-rc.6 <0.3.0",
60
- "@deepseek-ai/dsh-user-approval": ">=0.1.0-rc.6 <0.3.0",
61
- "@deepseek-ai/dsh-jobs": ">=0.1.0-rc.6 <0.3.0",
62
- "@deepseek-ai/dsh-credentials": ">=0.1.0-rc.6 <0.3.0",
63
- "@deepseek-ai/dsh-host-webserver": ">=0.1.0-rc.6 <0.3.0"
64
- },
65
- "peerDependenciesMeta": {
66
- "@deepseek-ai/dsh-user-approval": {
67
- "optional": true
68
- },
69
- "@deepseek-ai/dsh-jobs": {
70
- "optional": true
71
- },
72
- "@deepseek-ai/dsh-credentials": {
73
- "optional": true
74
- },
75
- "@deepseek-ai/dsh-host-webserver": {
76
- "optional": true
77
- }
78
- },
79
- "devDependencies": {
80
- "@types/node": "^22.19.0",
81
- "typescript": "^5.9.0",
82
- "@types/ssh2": "^1.15.6",
83
- "react": "^18.3.1",
84
- "react-dom": "^18.3.1",
85
- "@types/react": "^18.3.28",
86
- "@types/react-dom": "^18.3.7"
87
- },
88
- "keywords": [
89
- "dsh",
90
- "dsh-plugin",
91
- "ssh",
92
- "deepseek-harness"
93
- ],
94
- "author": "niechao136",
95
- "repository": {
96
- "type": "git",
97
- "url": "git+https://github.com/niechao136/dsh-server-connector.git"
98
- },
99
- "homepage": "https://github.com/niechao136/dsh-server-connector#readme",
100
- "bugs": {
101
- "url": "https://github.com/niechao136/dsh-server-connector/issues"
102
- },
103
- "readme": "README.md",
104
- "license": "MIT"
105
- }
1
+ {
2
+ "name": "dsh-server-connector",
3
+ "version": "0.3.0",
4
+ "description": "DSH plugin: SSH execution for servers configured on this machine, with a built-in high-risk command policy (block / confirm / allow).",
5
+ "type": "module",
6
+ "main": "lib/index.js",
7
+ "exports": {
8
+ ".": "./lib/index.js",
9
+ "./policy": "./lib/policy.js",
10
+ "./registry": "./lib/registry.js",
11
+ "./audit": "./lib/audit.js",
12
+ "./known-hosts": "./lib/known-hosts.js",
13
+ "./pool": "./lib/pool.js",
14
+ "./client": "./lib/client.js",
15
+ "./package.json": "./package.json"
16
+ },
17
+ "files": [
18
+ "lib",
19
+ "locale",
20
+ "icon.svg",
21
+ "cordis.patch.yml",
22
+ "CHANGELOG.md"
23
+ ],
24
+ "icon": "./icon.svg",
25
+ "engines": {
26
+ "node": "^22.19.0 || >=24.0.0"
27
+ },
28
+ "dsh": {
29
+ "engines": {
30
+ "dsh": ">=0.1.0-rc.6 <0.3.0"
31
+ },
32
+ "bundle": {
33
+ "patch": "./cordis.patch.yml"
34
+ },
35
+ "client": {
36
+ "inject": [
37
+ "@deepseek-ai/dsh-client-ui-renderer",
38
+ "@deepseek-ai/dsh-client-locale"
39
+ ],
40
+ "platform": "web"
41
+ }
42
+ },
43
+ "scripts": {
44
+ "test": "node --test \"tests/**/*.test.ts\"",
45
+ "test:policy": "node --test tests/policy.test.ts",
46
+ "test:registry": "node --test tests/registry.test.ts",
47
+ "test:audit": "node --test tests/audit.test.ts",
48
+ "test:known-hosts": "node --test tests/known-hosts.test.ts",
49
+ "test:pool": "node --test tests/pool.test.ts",
50
+ "typecheck": "tsc --noEmit"
51
+ },
52
+ "dependencies": {
53
+ "@deepseek-ai/schemastery": "^3.18.5",
54
+ "ssh2": "^1.17.0"
55
+ },
56
+ "peerDependencies": {
57
+ "@deepseek-ai/cordis": "^4.0.5",
58
+ "@deepseek-ai/dsh-tools": ">=0.1.0-rc.6 <0.3.0",
59
+ "@deepseek-ai/dsh-system-prompt": ">=0.1.0-rc.6 <0.3.0",
60
+ "@deepseek-ai/dsh-user-approval": ">=0.1.0-rc.6 <0.3.0",
61
+ "@deepseek-ai/dsh-jobs": ">=0.1.0-rc.6 <0.3.0",
62
+ "@deepseek-ai/dsh-credentials": ">=0.1.0-rc.6 <0.3.0",
63
+ "@deepseek-ai/dsh-host-webserver": ">=0.1.0-rc.6 <0.3.0"
64
+ },
65
+ "peerDependenciesMeta": {
66
+ "@deepseek-ai/dsh-user-approval": {
67
+ "optional": true
68
+ },
69
+ "@deepseek-ai/dsh-jobs": {
70
+ "optional": true
71
+ },
72
+ "@deepseek-ai/dsh-credentials": {
73
+ "optional": true
74
+ },
75
+ "@deepseek-ai/dsh-host-webserver": {
76
+ "optional": true
77
+ }
78
+ },
79
+ "devDependencies": {
80
+ "@types/node": "^22.19.0",
81
+ "typescript": "^5.9.0",
82
+ "@types/ssh2": "^1.15.6",
83
+ "react": "^18.3.1",
84
+ "react-dom": "^18.3.1",
85
+ "@types/react": "^18.3.28",
86
+ "@types/react-dom": "^18.3.7"
87
+ },
88
+ "keywords": [
89
+ "dsh",
90
+ "dsh-plugin",
91
+ "ssh",
92
+ "deepseek-harness"
93
+ ],
94
+ "author": "niechao136",
95
+ "repository": {
96
+ "type": "git",
97
+ "url": "git+https://github.com/niechao136/dsh-server-connector.git"
98
+ },
99
+ "homepage": "https://github.com/niechao136/dsh-server-connector#readme",
100
+ "bugs": {
101
+ "url": "https://github.com/niechao136/dsh-server-connector/issues"
102
+ },
103
+ "readme": "README.md",
104
+ "license": "MIT"
105
+ }