@xiaoso/dsh-tool-plus 0.1.8-beta.3 → 0.1.8
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.en.md +4 -7
- package/README.md +123 -126
- package/lib/client.js +461 -151
- package/lib/index.mjs +12 -12
- package/lib/{scrapers-DU4u4-Co.mjs → scrapers-D1uU6YiZ.mjs} +1 -1
- package/lib/types/client/ToolPlusSection.d.ts +3 -2
- package/lib/types/client/locales.d.ts +1 -1
- package/lib/types/config/fields.d.ts +1 -1
- package/lib/types/web/client/ToolCardShell.d.ts +15 -5
- package/lib/types/web/client/labels.d.ts +1 -1
- package/lib/types/web/client/row-utils.d.ts +28 -8
- package/lib/types/web/client/rows/card-leading.d.ts +37 -0
- package/lib/types/web/client/rows/fallback-card-facts.d.ts +52 -0
- package/lib/{utils-C-Lo_JC6.mjs → utils-CdLvJy_P.mjs} +1 -1
- package/package.json +151 -151
- package/presets/package.json +1 -1
package/package.json
CHANGED
|
@@ -1,151 +1,151 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@xiaoso/dsh-tool-plus",
|
|
3
|
-
"description": "Oh My Pi bash runtime ported as a deepseek-harness tool plugin: persistent shell session, output minimizer, managed background jobs, command interception",
|
|
4
|
-
"version": "0.1.8
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"deepseek-harness",
|
|
8
|
-
"dsh",
|
|
9
|
-
"dsh-plugin",
|
|
10
|
-
"cli",
|
|
11
|
-
"coding-agent",
|
|
12
|
-
"agent-tools",
|
|
13
|
-
"bash",
|
|
14
|
-
"persistent-shell",
|
|
15
|
-
"file-tools",
|
|
16
|
-
"code-search",
|
|
17
|
-
"code-editing",
|
|
18
|
-
"ast-grep",
|
|
19
|
-
"tool-enhancement",
|
|
20
|
-
"oh-my-pi"
|
|
21
|
-
],
|
|
22
|
-
"repository": {
|
|
23
|
-
"type": "git",
|
|
24
|
-
"url": "git+https://github.com/xiaoso456/dsh-tool-plus.git"
|
|
25
|
-
},
|
|
26
|
-
"homepage": "https://github.com/xiaoso456/dsh-tool-plus#readme",
|
|
27
|
-
"bugs": {
|
|
28
|
-
"url": "https://github.com/xiaoso456/dsh-tool-plus/issues"
|
|
29
|
-
},
|
|
30
|
-
"type": "module",
|
|
31
|
-
"publishConfig": {
|
|
32
|
-
"access": "public",
|
|
33
|
-
"tag": "latest"
|
|
34
|
-
},
|
|
35
|
-
"engines": {
|
|
36
|
-
"node": "^22.19.0 || >=24.0.0"
|
|
37
|
-
},
|
|
38
|
-
"main": "lib/index.mjs",
|
|
39
|
-
"types": "lib/types/index.d.ts",
|
|
40
|
-
"exports": {
|
|
41
|
-
".": {
|
|
42
|
-
"types": "./lib/types/index.d.ts",
|
|
43
|
-
"default": "./lib/index.mjs"
|
|
44
|
-
},
|
|
45
|
-
"./client": {
|
|
46
|
-
"types": "./lib/types/client/index.d.ts",
|
|
47
|
-
"default": "./lib/client.js"
|
|
48
|
-
},
|
|
49
|
-
"./package.json": "./package.json"
|
|
50
|
-
},
|
|
51
|
-
"files": [
|
|
52
|
-
"lib",
|
|
53
|
-
"presets",
|
|
54
|
-
"scripts/patch-pi-natives.mjs",
|
|
55
|
-
"src/bash-runtime/shell-snapshot-fn-env.sh",
|
|
56
|
-
"cordis.patch.yml",
|
|
57
|
-
"README.md",
|
|
58
|
-
"LICENSE",
|
|
59
|
-
"THIRD_PARTY_NOTICES.md"
|
|
60
|
-
],
|
|
61
|
-
"dsh": {
|
|
62
|
-
"bundle": {
|
|
63
|
-
"patch": "./cordis.patch.yml"
|
|
64
|
-
},
|
|
65
|
-
"client": {
|
|
66
|
-
"inject": [
|
|
67
|
-
"@deepseek-ai/dsh-client-locale",
|
|
68
|
-
"@deepseek-ai/dsh-client-ui-settings"
|
|
69
|
-
],
|
|
70
|
-
"platform": "web"
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
"scripts": {
|
|
74
|
-
"build": "tsdown -c tsdown.config.ts && tsc -p tsconfig.json && node scripts/copy-assets.mjs",
|
|
75
|
-
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
76
|
-
"test": "vitest run --config vitest.config.ts",
|
|
77
|
-
"presets:install": "node presets/install-presets.mjs",
|
|
78
|
-
"presets:install:force": "node presets/install-presets.mjs --force",
|
|
79
|
-
"postinstall": "node scripts/patch-pi-natives.mjs"
|
|
80
|
-
},
|
|
81
|
-
"peerDependencies": {
|
|
82
|
-
"@deepseek-ai/cordis": "4.0.2",
|
|
83
|
-
"@deepseek-ai/dsh-agent": "0.1.5-rc.1",
|
|
84
|
-
"@deepseek-ai/dsh-attachment": "0.1.5-rc.1",
|
|
85
|
-
"@deepseek-ai/dsh-client-connection": "0.1.5-rc.1",
|
|
86
|
-
"@deepseek-ai/dsh-fs": "0.1.5-rc.1",
|
|
87
|
-
"@deepseek-ai/dsh-jobs": "0.1.5-rc.1",
|
|
88
|
-
"@deepseek-ai/dsh-llm": "0.1.5-rc.1",
|
|
89
|
-
"@deepseek-ai/dsh-sandbox": "0.1.5-rc.1",
|
|
90
|
-
"@deepseek-ai/dsh-session": "0.1.5-rc.1",
|
|
91
|
-
"@deepseek-ai/dsh-settings": "0.1.5-rc.1",
|
|
92
|
-
"@deepseek-ai/dsh-shell": "0.1.5-rc.1",
|
|
93
|
-
"@deepseek-ai/dsh-shell-env": "0.1.5-rc.1",
|
|
94
|
-
"@deepseek-ai/dsh-system-prompt": "0.1.5-rc.1",
|
|
95
|
-
"@deepseek-ai/dsh-tools": "0.1.5-rc.1"
|
|
96
|
-
},
|
|
97
|
-
"optionalPeerDependencies": {
|
|
98
|
-
"sharp": ">=0.33"
|
|
99
|
-
},
|
|
100
|
-
"dependencies": {
|
|
101
|
-
"@deepseek-ai/dsh-brand": "0.1.5-rc.1",
|
|
102
|
-
"@deepseek-ai/dsh-invariants": "0.1.5-rc.1",
|
|
103
|
-
"@deepseek-ai/schemastery": "3.18.2",
|
|
104
|
-
"@oh-my-pi/omptype": "18.1.17",
|
|
105
|
-
"@oh-my-pi/pi-agent-core": "18.1.17",
|
|
106
|
-
"@oh-my-pi/pi-ai": "18.1.17",
|
|
107
|
-
"@oh-my-pi/pi-catalog": "18.1.17",
|
|
108
|
-
"@oh-my-pi/pi-natives": "18.1.17",
|
|
109
|
-
"@oh-my-pi/pi-tui": "18.1.17",
|
|
110
|
-
"@oh-my-pi/pi-utils": "18.1.17",
|
|
111
|
-
"json5": "^2.2.3",
|
|
112
|
-
"puppeteer-core": "^25.3.0",
|
|
113
|
-
"trash": "^10.1.1",
|
|
114
|
-
"yaml": "^2.9.0"
|
|
115
|
-
},
|
|
116
|
-
"devDependencies": {
|
|
117
|
-
"@deepseek-ai/cordis": "4.0.2",
|
|
118
|
-
"@deepseek-ai/dsh-agent": "0.1.5-rc.1",
|
|
119
|
-
"@deepseek-ai/dsh-client-connection": "0.1.5-rc.1",
|
|
120
|
-
"@deepseek-ai/dsh-client-locale": "0.1.5-rc.1",
|
|
121
|
-
"@deepseek-ai/dsh-client-ui-chat": "0.1.5-rc.1",
|
|
122
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.1.5-rc.1",
|
|
123
|
-
"@deepseek-ai/dsh-client-ui-renderer": "0.1.5-rc.1",
|
|
124
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.1.5-rc.1",
|
|
125
|
-
"@deepseek-ai/dsh-client-ui-settings-plugins": "0.1.5-rc.1",
|
|
126
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.1.5-rc.1",
|
|
127
|
-
"@deepseek-ai/dsh-client-ui-tool": "0.1.5-rc.1",
|
|
128
|
-
"@deepseek-ai/dsh-fs-local": "0.1.5-rc.1",
|
|
129
|
-
"@deepseek-ai/dsh-jobs": "0.1.5-rc.1",
|
|
130
|
-
"@deepseek-ai/dsh-jobs-local": "0.1.5-rc.1",
|
|
131
|
-
"@deepseek-ai/dsh-llm": "0.1.5-rc.1",
|
|
132
|
-
"@deepseek-ai/dsh-session": "0.1.5-rc.1",
|
|
133
|
-
"@deepseek-ai/dsh-settings": "0.1.5-rc.1",
|
|
134
|
-
"@deepseek-ai/dsh-shell": "0.1.5-rc.1",
|
|
135
|
-
"@deepseek-ai/dsh-shell-env": "0.1.5-rc.1",
|
|
136
|
-
"@deepseek-ai/dsh-system-prompt": "0.1.5-rc.1",
|
|
137
|
-
"@deepseek-ai/dsh-tool-jobs": "0.1.5-rc.1",
|
|
138
|
-
"@deepseek-ai/dsh-tool-str-replace-editor": "0.1.5-rc.1",
|
|
139
|
-
"@deepseek-ai/dsh-tools": "0.1.5-rc.1",
|
|
140
|
-
"@types/node": "^22.19.0",
|
|
141
|
-
"@types/react": "^19.0.0",
|
|
142
|
-
"@types/react-dom": "^19.0.0",
|
|
143
|
-
"react": "^19.0.0",
|
|
144
|
-
"react-dom": "^19.0.0",
|
|
145
|
-
"sharp": "^0.35.4",
|
|
146
|
-
"tsdown": "^0.22.2",
|
|
147
|
-
"tsx": "^4.22.4",
|
|
148
|
-
"typescript": "^6.0.3",
|
|
149
|
-
"vitest": "^4.1.8"
|
|
150
|
-
}
|
|
151
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@xiaoso/dsh-tool-plus",
|
|
3
|
+
"description": "Oh My Pi bash runtime ported as a deepseek-harness tool plugin: persistent shell session, output minimizer, managed background jobs, command interception",
|
|
4
|
+
"version": "0.1.8",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"deepseek-harness",
|
|
8
|
+
"dsh",
|
|
9
|
+
"dsh-plugin",
|
|
10
|
+
"cli",
|
|
11
|
+
"coding-agent",
|
|
12
|
+
"agent-tools",
|
|
13
|
+
"bash",
|
|
14
|
+
"persistent-shell",
|
|
15
|
+
"file-tools",
|
|
16
|
+
"code-search",
|
|
17
|
+
"code-editing",
|
|
18
|
+
"ast-grep",
|
|
19
|
+
"tool-enhancement",
|
|
20
|
+
"oh-my-pi"
|
|
21
|
+
],
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/xiaoso456/dsh-tool-plus.git"
|
|
25
|
+
},
|
|
26
|
+
"homepage": "https://github.com/xiaoso456/dsh-tool-plus#readme",
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://github.com/xiaoso456/dsh-tool-plus/issues"
|
|
29
|
+
},
|
|
30
|
+
"type": "module",
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public",
|
|
33
|
+
"tag": "latest"
|
|
34
|
+
},
|
|
35
|
+
"engines": {
|
|
36
|
+
"node": "^22.19.0 || >=24.0.0"
|
|
37
|
+
},
|
|
38
|
+
"main": "lib/index.mjs",
|
|
39
|
+
"types": "lib/types/index.d.ts",
|
|
40
|
+
"exports": {
|
|
41
|
+
".": {
|
|
42
|
+
"types": "./lib/types/index.d.ts",
|
|
43
|
+
"default": "./lib/index.mjs"
|
|
44
|
+
},
|
|
45
|
+
"./client": {
|
|
46
|
+
"types": "./lib/types/client/index.d.ts",
|
|
47
|
+
"default": "./lib/client.js"
|
|
48
|
+
},
|
|
49
|
+
"./package.json": "./package.json"
|
|
50
|
+
},
|
|
51
|
+
"files": [
|
|
52
|
+
"lib",
|
|
53
|
+
"presets",
|
|
54
|
+
"scripts/patch-pi-natives.mjs",
|
|
55
|
+
"src/bash-runtime/shell-snapshot-fn-env.sh",
|
|
56
|
+
"cordis.patch.yml",
|
|
57
|
+
"README.md",
|
|
58
|
+
"LICENSE",
|
|
59
|
+
"THIRD_PARTY_NOTICES.md"
|
|
60
|
+
],
|
|
61
|
+
"dsh": {
|
|
62
|
+
"bundle": {
|
|
63
|
+
"patch": "./cordis.patch.yml"
|
|
64
|
+
},
|
|
65
|
+
"client": {
|
|
66
|
+
"inject": [
|
|
67
|
+
"@deepseek-ai/dsh-client-locale",
|
|
68
|
+
"@deepseek-ai/dsh-client-ui-settings"
|
|
69
|
+
],
|
|
70
|
+
"platform": "web"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"scripts": {
|
|
74
|
+
"build": "tsdown -c tsdown.config.ts && tsc -p tsconfig.json && node scripts/copy-assets.mjs",
|
|
75
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
76
|
+
"test": "vitest run --config vitest.config.ts",
|
|
77
|
+
"presets:install": "node presets/install-presets.mjs",
|
|
78
|
+
"presets:install:force": "node presets/install-presets.mjs --force",
|
|
79
|
+
"postinstall": "node scripts/patch-pi-natives.mjs"
|
|
80
|
+
},
|
|
81
|
+
"peerDependencies": {
|
|
82
|
+
"@deepseek-ai/cordis": "4.0.2",
|
|
83
|
+
"@deepseek-ai/dsh-agent": "0.1.5-rc.1",
|
|
84
|
+
"@deepseek-ai/dsh-attachment": "0.1.5-rc.1",
|
|
85
|
+
"@deepseek-ai/dsh-client-connection": "0.1.5-rc.1",
|
|
86
|
+
"@deepseek-ai/dsh-fs": "0.1.5-rc.1",
|
|
87
|
+
"@deepseek-ai/dsh-jobs": "0.1.5-rc.1",
|
|
88
|
+
"@deepseek-ai/dsh-llm": "0.1.5-rc.1",
|
|
89
|
+
"@deepseek-ai/dsh-sandbox": "0.1.5-rc.1",
|
|
90
|
+
"@deepseek-ai/dsh-session": "0.1.5-rc.1",
|
|
91
|
+
"@deepseek-ai/dsh-settings": "0.1.5-rc.1",
|
|
92
|
+
"@deepseek-ai/dsh-shell": "0.1.5-rc.1",
|
|
93
|
+
"@deepseek-ai/dsh-shell-env": "0.1.5-rc.1",
|
|
94
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.5-rc.1",
|
|
95
|
+
"@deepseek-ai/dsh-tools": "0.1.5-rc.1"
|
|
96
|
+
},
|
|
97
|
+
"optionalPeerDependencies": {
|
|
98
|
+
"sharp": ">=0.33"
|
|
99
|
+
},
|
|
100
|
+
"dependencies": {
|
|
101
|
+
"@deepseek-ai/dsh-brand": "0.1.5-rc.1",
|
|
102
|
+
"@deepseek-ai/dsh-invariants": "0.1.5-rc.1",
|
|
103
|
+
"@deepseek-ai/schemastery": "3.18.2",
|
|
104
|
+
"@oh-my-pi/omptype": "18.1.17",
|
|
105
|
+
"@oh-my-pi/pi-agent-core": "18.1.17",
|
|
106
|
+
"@oh-my-pi/pi-ai": "18.1.17",
|
|
107
|
+
"@oh-my-pi/pi-catalog": "18.1.17",
|
|
108
|
+
"@oh-my-pi/pi-natives": "18.1.17",
|
|
109
|
+
"@oh-my-pi/pi-tui": "18.1.17",
|
|
110
|
+
"@oh-my-pi/pi-utils": "18.1.17",
|
|
111
|
+
"json5": "^2.2.3",
|
|
112
|
+
"puppeteer-core": "^25.3.0",
|
|
113
|
+
"trash": "^10.1.1",
|
|
114
|
+
"yaml": "^2.9.0"
|
|
115
|
+
},
|
|
116
|
+
"devDependencies": {
|
|
117
|
+
"@deepseek-ai/cordis": "4.0.2",
|
|
118
|
+
"@deepseek-ai/dsh-agent": "0.1.5-rc.1",
|
|
119
|
+
"@deepseek-ai/dsh-client-connection": "0.1.5-rc.1",
|
|
120
|
+
"@deepseek-ai/dsh-client-locale": "0.1.5-rc.1",
|
|
121
|
+
"@deepseek-ai/dsh-client-ui-chat": "0.1.5-rc.1",
|
|
122
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.1.5-rc.1",
|
|
123
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.1.5-rc.1",
|
|
124
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.5-rc.1",
|
|
125
|
+
"@deepseek-ai/dsh-client-ui-settings-plugins": "0.1.5-rc.1",
|
|
126
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.5-rc.1",
|
|
127
|
+
"@deepseek-ai/dsh-client-ui-tool": "0.1.5-rc.1",
|
|
128
|
+
"@deepseek-ai/dsh-fs-local": "0.1.5-rc.1",
|
|
129
|
+
"@deepseek-ai/dsh-jobs": "0.1.5-rc.1",
|
|
130
|
+
"@deepseek-ai/dsh-jobs-local": "0.1.5-rc.1",
|
|
131
|
+
"@deepseek-ai/dsh-llm": "0.1.5-rc.1",
|
|
132
|
+
"@deepseek-ai/dsh-session": "0.1.5-rc.1",
|
|
133
|
+
"@deepseek-ai/dsh-settings": "0.1.5-rc.1",
|
|
134
|
+
"@deepseek-ai/dsh-shell": "0.1.5-rc.1",
|
|
135
|
+
"@deepseek-ai/dsh-shell-env": "0.1.5-rc.1",
|
|
136
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.5-rc.1",
|
|
137
|
+
"@deepseek-ai/dsh-tool-jobs": "0.1.5-rc.1",
|
|
138
|
+
"@deepseek-ai/dsh-tool-str-replace-editor": "0.1.5-rc.1",
|
|
139
|
+
"@deepseek-ai/dsh-tools": "0.1.5-rc.1",
|
|
140
|
+
"@types/node": "^22.19.0",
|
|
141
|
+
"@types/react": "^19.0.0",
|
|
142
|
+
"@types/react-dom": "^19.0.0",
|
|
143
|
+
"react": "^19.0.0",
|
|
144
|
+
"react-dom": "^19.0.0",
|
|
145
|
+
"sharp": "^0.35.4",
|
|
146
|
+
"tsdown": "^0.22.2",
|
|
147
|
+
"tsx": "^4.22.4",
|
|
148
|
+
"typescript": "^6.0.3",
|
|
149
|
+
"vitest": "^4.1.8"
|
|
150
|
+
}
|
|
151
|
+
}
|
package/presets/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xiaoso/dsh-tool-plus-presets",
|
|
3
|
-
"version": "0.1.8
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Agent-preset installer for dsh-tool-plus: installs the standard / PTC enhanced preset templates into a DeepSeek Harness home.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|