@xiaoso/dsh-tool-plus 0.1.11 → 0.1.13
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 +5 -2
- package/README.md +5 -2
- package/assets/icon.png +0 -0
- package/assets/wordmark.png +0 -0
- package/lib/index.mjs +2 -2
- package/lib/{scrapers-CGbC0tfO.mjs → scrapers-B8hE6oWN.mjs} +1 -1
- package/lib/{utils-DEKneb49.mjs → utils-K20t8hos.mjs} +1 -1
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +56 -46
package/README.en.md
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img width="160" src="assets/icon.png" alt="dsh tool plus icon"><br>
|
|
3
|
+
<img width="240" src="assets/wordmark.png" alt="dsh tool plus">
|
|
4
|
+
</div>
|
|
2
5
|
|
|
3
6
|
[简体中文](./README.md) | English
|
|
4
7
|
|
|
@@ -87,7 +90,7 @@ Works out of the box, no configuration needed. Common tweaks: background thresho
|
|
|
87
90
|
- **dsh CLI**: installed globally, `npm i -g @deepseek-ai/dsh`
|
|
88
91
|
- **Node.js** ≥ 22.19 or ≥ 24
|
|
89
92
|
- **Git Bash** (recommended): serves as the bash execution environment on Windows
|
|
90
|
-
- Targets DeepSeek Harness `dsh` v0.2.0-rc.
|
|
93
|
+
- Targets DeepSeek Harness `dsh` v0.2.0-rc.2 (pre-release; interfaces may change)
|
|
91
94
|
|
|
92
95
|
## Notes
|
|
93
96
|
|
package/README.md
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img width="160" src="assets/icon.png" alt="dsh tool plus icon"><br>
|
|
3
|
+
<img width="240" src="assets/wordmark.png" alt="dsh tool plus">
|
|
4
|
+
</div>
|
|
2
5
|
|
|
3
6
|
简体中文 | [English](./README.en.md)
|
|
4
7
|
|
|
@@ -87,7 +90,7 @@ dsh plugin --profile web add link:<本仓库路径>
|
|
|
87
90
|
- **dsh CLI**:需全局安装,`npm i -g @deepseek-ai/dsh`
|
|
88
91
|
- **Node.js** ≥ 22.19 或 ≥ 24
|
|
89
92
|
- **Git Bash**(推荐):Windows 上作为 bash 执行环境
|
|
90
|
-
- 适用于 DeepSeek Harness `dsh` v0.2.0-rc.
|
|
93
|
+
- 适用于 DeepSeek Harness `dsh` v0.2.0-rc.2(pre-release,接口可能变动)
|
|
91
94
|
|
|
92
95
|
## 注意事项
|
|
93
96
|
|
package/assets/icon.png
ADDED
|
Binary file
|
|
Binary file
|
package/lib/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ __installBunShim();
|
|
|
3
3
|
import { n as fs_promises_shim_exports, t as exists } from "./fs-promises-shim-B2YFWkcd.mjs";
|
|
4
4
|
import { i as setRuntimeLogger, n as systemChromiumCandidatesForTest, r as runtimeLogger } from "./launch-BIWNyrBB.mjs";
|
|
5
5
|
import { $ as isEnoent, A as formatCount, C as warn, D as installBunShim, F as $flag, N as $env, O as formatAge, P as $envpos, Q as hasFsCode, U as getAutoQaDbPath, V as VERSION, X as getRemoteDir, Y as getPuppeteerDir, at as findOnPath, b as debug, c as combineSignals, d as $which, et as isEnotdir, it as untilAborted, k as formatBytes$1, l as exec, m as readImageMetadata, nt as peekFile, q as getInstallId, tt as isProbablyBinary, u as render, x as error } from "./src-AELUUb5U.mjs";
|
|
6
|
-
import { C as truncateToWidth$1, S as replaceTabs, _ as formatCodeFrameLine, a as fetchBinary, b as LRUCache, c as getParallelExtractContent, d as convertFileWithMarkit, f as Settings, g as capParseErrors, h as OMP_DEFAULTS, i as convertWithMarkit, l as ensureTool, m as settings, o as extractWithParallel, p as isSettingsInitialized, s as findParallelApiKey, u as CONVERTIBLE_EXTENSIONS, v as formatParseErrors, x as padding, y as shortenPath } from "./utils-
|
|
6
|
+
import { C as truncateToWidth$1, S as replaceTabs, _ as formatCodeFrameLine, a as fetchBinary, b as LRUCache, c as getParallelExtractContent, d as convertFileWithMarkit, f as Settings, g as capParseErrors, h as OMP_DEFAULTS, i as convertWithMarkit, l as ensureTool, m as settings, o as extractWithParallel, p as isSettingsInitialized, s as findParallelApiKey, u as CONVERTIBLE_EXTENSIONS, v as formatParseErrors, x as padding, y as shortenPath } from "./utils-K20t8hos.mjs";
|
|
7
7
|
import { t as sanitizeText } from "./sanitize-text-BCf5KmCf.mjs";
|
|
8
8
|
import { n as isRecord$5 } from "./type-guards-CttAANEx.mjs";
|
|
9
9
|
import { n as ToolError, r as throwIfAborted, t as ToolAbortError } from "./tool-errors-DoyxivAR.mjs";
|
|
@@ -11479,7 +11479,7 @@ let specialHandlersPromise;
|
|
|
11479
11479
|
* requires a special handler, so we keep them out of the cold-startup graph.
|
|
11480
11480
|
*/
|
|
11481
11481
|
function loadSpecialHandlers() {
|
|
11482
|
-
specialHandlersPromise ??= import("./scrapers-
|
|
11482
|
+
specialHandlersPromise ??= import("./scrapers-B8hE6oWN.mjs").then((m) => m.specialHandlers);
|
|
11483
11483
|
return specialHandlersPromise;
|
|
11484
11484
|
}
|
|
11485
11485
|
/**
|
|
@@ -3,7 +3,7 @@ __installBunShim();
|
|
|
3
3
|
import { n as fs_promises_shim_exports } from "./fs-promises-shim-B2YFWkcd.mjs";
|
|
4
4
|
import { $ as isEnoent, B as USER_AGENT, C as warn, G as getDocsRsCacheDir, N as $env, c as combineSignals, j as formatNumber, k as formatBytes, l as exec, s as Snowflake, y as parseFrontmatter } from "./src-AELUUb5U.mjs";
|
|
5
5
|
import { W as tryParseJson } from "./utils-cZX3f_Ls.mjs";
|
|
6
|
-
import { a as fetchBinary, c as getParallelExtractContent, i as convertWithMarkit, l as ensureTool, m as settings, n as asRecord, o as extractWithParallel, r as asString, s as findParallelApiKey, t as asNumber } from "./utils-
|
|
6
|
+
import { a as fetchBinary, c as getParallelExtractContent, i as convertWithMarkit, l as ensureTool, m as settings, n as asRecord, o as extractWithParallel, r as asString, s as findParallelApiKey, t as asNumber } from "./utils-K20t8hos.mjs";
|
|
7
7
|
import { n as isRecord } from "./type-guards-CttAANEx.mjs";
|
|
8
8
|
import { r as throwIfAborted, t as ToolAbortError } from "./tool-errors-DoyxivAR.mjs";
|
|
9
9
|
import { c as getLocalizedText, d as looksLikeHtml, i as decodeHtmlEntities, l as htmlToBasicMarkdown, o as formatIsoDate, r as buildResult, s as formatMediaDuration, u as loadPage } from "./types-BLrLohwK.mjs";
|
|
@@ -6267,7 +6267,7 @@ const settings = {
|
|
|
6267
6267
|
};
|
|
6268
6268
|
//#endregion
|
|
6269
6269
|
//#region package.json
|
|
6270
|
-
var version = "0.1.
|
|
6270
|
+
var version = "0.1.13";
|
|
6271
6271
|
/** `.tmp` files older than this are treated as orphaned writes and swept. */
|
|
6272
6272
|
const TMP_ORPHAN_MAX_AGE_MS = 3e5;
|
|
6273
6273
|
function markitConversionCacheKey(bytes, extension) {
|
package/locale/en.json
ADDED
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xiaoso/dsh-tool-plus",
|
|
3
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.
|
|
4
|
+
"version": "0.1.13",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"deepseek-harness",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"main": "lib/index.mjs",
|
|
39
39
|
"types": "lib/types/index.d.ts",
|
|
40
|
+
"icon": "./assets/icon.png",
|
|
40
41
|
"exports": {
|
|
41
42
|
".": {
|
|
42
43
|
"types": "./lib/types/index.d.ts",
|
|
@@ -48,6 +49,7 @@
|
|
|
48
49
|
},
|
|
49
50
|
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
50
51
|
"./presets/*.patch.yml": "./presets/*.patch.yml",
|
|
52
|
+
"./locale/*.json": "./locale/*.json",
|
|
51
53
|
"./package.json": "./package.json"
|
|
52
54
|
},
|
|
53
55
|
"files": [
|
|
@@ -59,7 +61,10 @@
|
|
|
59
61
|
"src/bash-runtime/shell-snapshot-fn-env.sh",
|
|
60
62
|
"README.md",
|
|
61
63
|
"LICENSE",
|
|
62
|
-
"THIRD_PARTY_NOTICES.md"
|
|
64
|
+
"THIRD_PARTY_NOTICES.md",
|
|
65
|
+
"locale/*.json",
|
|
66
|
+
"assets/icon.png",
|
|
67
|
+
"assets/wordmark.png"
|
|
63
68
|
],
|
|
64
69
|
"dsh": {
|
|
65
70
|
"manifestVersion": 1,
|
|
@@ -91,28 +96,28 @@
|
|
|
91
96
|
},
|
|
92
97
|
"peerDependencies": {
|
|
93
98
|
"@deepseek-ai/cordis": "~4.0.4",
|
|
94
|
-
"@deepseek-ai/dsh-agent": "0.2.0-
|
|
95
|
-
"@deepseek-ai/dsh-agent-preset": "0.2.0-
|
|
96
|
-
"@deepseek-ai/dsh-agent-preset-registry": "0.2.0-
|
|
97
|
-
"@deepseek-ai/dsh-attachment": "0.2.0-
|
|
98
|
-
"@deepseek-ai/dsh-client-connection": "0.2.0-
|
|
99
|
-
"@deepseek-ai/dsh-fs": "0.2.0-
|
|
100
|
-
"@deepseek-ai/dsh-jobs": "0.2.0-
|
|
101
|
-
"@deepseek-ai/dsh-llm": "0.2.0-
|
|
102
|
-
"@deepseek-ai/dsh-sandbox": "0.2.0-
|
|
103
|
-
"@deepseek-ai/dsh-session": "0.2.0-
|
|
104
|
-
"@deepseek-ai/dsh-settings": "0.2.0-
|
|
105
|
-
"@deepseek-ai/dsh-shell": "0.2.0-
|
|
106
|
-
"@deepseek-ai/dsh-shell-env": "0.2.0-
|
|
107
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.0-
|
|
108
|
-
"@deepseek-ai/dsh-tools": "0.2.0-
|
|
99
|
+
"@deepseek-ai/dsh-agent": ">=0.2.0-0 <0.2.1-0",
|
|
100
|
+
"@deepseek-ai/dsh-agent-preset": ">=0.2.0-0 <0.2.1-0",
|
|
101
|
+
"@deepseek-ai/dsh-agent-preset-registry": ">=0.2.0-0 <0.2.1-0",
|
|
102
|
+
"@deepseek-ai/dsh-attachment": ">=0.2.0-0 <0.2.1-0",
|
|
103
|
+
"@deepseek-ai/dsh-client-connection": ">=0.2.0-0 <0.2.1-0",
|
|
104
|
+
"@deepseek-ai/dsh-fs": ">=0.2.0-0 <0.2.1-0",
|
|
105
|
+
"@deepseek-ai/dsh-jobs": ">=0.2.0-0 <0.2.1-0",
|
|
106
|
+
"@deepseek-ai/dsh-llm": ">=0.2.0-0 <0.2.1-0",
|
|
107
|
+
"@deepseek-ai/dsh-sandbox": ">=0.2.0-0 <0.2.1-0",
|
|
108
|
+
"@deepseek-ai/dsh-session": ">=0.2.0-0 <0.2.1-0",
|
|
109
|
+
"@deepseek-ai/dsh-settings": ">=0.2.0-0 <0.2.1-0",
|
|
110
|
+
"@deepseek-ai/dsh-shell": ">=0.2.0-0 <0.2.1-0",
|
|
111
|
+
"@deepseek-ai/dsh-shell-env": ">=0.2.0-0 <0.2.1-0",
|
|
112
|
+
"@deepseek-ai/dsh-system-prompt": ">=0.2.0-0 <0.2.1-0",
|
|
113
|
+
"@deepseek-ai/dsh-tools": ">=0.2.0-0 <0.2.1-0"
|
|
109
114
|
},
|
|
110
115
|
"optionalPeerDependencies": {
|
|
111
116
|
"sharp": ">=0.33"
|
|
112
117
|
},
|
|
113
118
|
"dependencies": {
|
|
114
|
-
"@deepseek-ai/dsh-brand": "0.2.0-rc.
|
|
115
|
-
"@deepseek-ai/dsh-invariants": "0.2.0-rc.
|
|
119
|
+
"@deepseek-ai/dsh-brand": "0.2.0-rc.2",
|
|
120
|
+
"@deepseek-ai/dsh-invariants": "0.2.0-rc.2",
|
|
116
121
|
"@deepseek-ai/schemastery": "~3.18.4",
|
|
117
122
|
"@oh-my-pi/omptype": "18.1.17",
|
|
118
123
|
"@oh-my-pi/pi-agent-core": "18.1.17",
|
|
@@ -128,33 +133,38 @@
|
|
|
128
133
|
},
|
|
129
134
|
"devDependencies": {
|
|
130
135
|
"@deepseek-ai/cordis": "~4.0.4",
|
|
131
|
-
"@deepseek-ai/dsh-agent": "0.2.0-rc.
|
|
132
|
-
"@deepseek-ai/dsh-
|
|
133
|
-
"@deepseek-ai/dsh-
|
|
134
|
-
"@deepseek-ai/dsh-
|
|
135
|
-
"@deepseek-ai/dsh-
|
|
136
|
-
"@deepseek-ai/dsh-
|
|
137
|
-
"@deepseek-ai/dsh-client-
|
|
138
|
-
"@deepseek-ai/dsh-client-
|
|
139
|
-
"@deepseek-ai/dsh-client-
|
|
140
|
-
"@deepseek-ai/dsh-client-ui-
|
|
141
|
-
"@deepseek-ai/dsh-client-ui-
|
|
142
|
-
"@deepseek-ai/dsh-client-ui-
|
|
143
|
-
"@deepseek-ai/dsh-client-ui-
|
|
144
|
-
"@deepseek-ai/dsh-client-ui-
|
|
145
|
-
"@deepseek-ai/dsh-
|
|
146
|
-
"@deepseek-ai/dsh-
|
|
147
|
-
"@deepseek-ai/dsh-
|
|
148
|
-
"@deepseek-ai/dsh-
|
|
149
|
-
"@deepseek-ai/dsh-
|
|
150
|
-
"@deepseek-ai/dsh-
|
|
151
|
-
"@deepseek-ai/dsh-
|
|
152
|
-
"@deepseek-ai/dsh-
|
|
153
|
-
"@deepseek-ai/dsh-
|
|
154
|
-
"@deepseek-ai/dsh-
|
|
155
|
-
"@deepseek-ai/dsh-
|
|
156
|
-
"@deepseek-ai/dsh-
|
|
157
|
-
"@deepseek-ai/dsh-
|
|
136
|
+
"@deepseek-ai/dsh-agent": "0.2.0-rc.2",
|
|
137
|
+
"@deepseek-ai/dsh-agent-preset": "0.2.0-rc.2",
|
|
138
|
+
"@deepseek-ai/dsh-agent-preset-registry": "0.2.0-rc.2",
|
|
139
|
+
"@deepseek-ai/dsh-api-remotes": "0.2.0-rc.2",
|
|
140
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.0-rc.2",
|
|
141
|
+
"@deepseek-ai/dsh-attachment": "0.2.0-rc.2",
|
|
142
|
+
"@deepseek-ai/dsh-client-connection": "0.2.0-rc.2",
|
|
143
|
+
"@deepseek-ai/dsh-client-locale": "0.2.0-rc.2",
|
|
144
|
+
"@deepseek-ai/dsh-client-store": "0.2.0-rc.2",
|
|
145
|
+
"@deepseek-ai/dsh-client-ui-chat": "0.2.0-rc.2",
|
|
146
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.0-rc.2",
|
|
147
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2",
|
|
148
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.2",
|
|
149
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.2.0-rc.2",
|
|
150
|
+
"@deepseek-ai/dsh-client-ui-settings-plugins": "0.2.0-rc.2",
|
|
151
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.2",
|
|
152
|
+
"@deepseek-ai/dsh-client-ui-tool": "0.2.0-rc.2",
|
|
153
|
+
"@deepseek-ai/dsh-fs": "0.2.0-rc.2",
|
|
154
|
+
"@deepseek-ai/dsh-fs-local": "0.2.0-rc.2",
|
|
155
|
+
"@deepseek-ai/dsh-jobs": "0.2.0-rc.2",
|
|
156
|
+
"@deepseek-ai/dsh-jobs-local": "0.2.0-rc.2",
|
|
157
|
+
"@deepseek-ai/dsh-llm": "0.2.0-rc.2",
|
|
158
|
+
"@deepseek-ai/dsh-sandbox": "0.2.0-rc.2",
|
|
159
|
+
"@deepseek-ai/dsh-session": "0.2.0-rc.2",
|
|
160
|
+
"@deepseek-ai/dsh-settings": "0.2.0-rc.2",
|
|
161
|
+
"@deepseek-ai/dsh-shell": "0.2.0-rc.2",
|
|
162
|
+
"@deepseek-ai/dsh-shell-env": "0.2.0-rc.2",
|
|
163
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
|
|
164
|
+
"@deepseek-ai/dsh-token-meter": "0.2.0-rc.2",
|
|
165
|
+
"@deepseek-ai/dsh-tool-jobs": "0.2.0-rc.2",
|
|
166
|
+
"@deepseek-ai/dsh-tool-str-replace-editor": "0.2.0-rc.2",
|
|
167
|
+
"@deepseek-ai/dsh-tools": "0.2.0-rc.2",
|
|
158
168
|
"@types/node": "^22.19.0",
|
|
159
169
|
"@types/react": "^19.0.0",
|
|
160
170
|
"@types/react-dom": "^19.0.0",
|