@xiaoso/dsh-tool-plus 0.1.11 → 0.1.12

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 CHANGED
@@ -87,7 +87,7 @@ Works out of the box, no configuration needed. Common tweaks: background thresho
87
87
  - **dsh CLI**: installed globally, `npm i -g @deepseek-ai/dsh`
88
88
  - **Node.js** ≥ 22.19 or ≥ 24
89
89
  - **Git Bash** (recommended): serves as the bash execution environment on Windows
90
- - Targets DeepSeek Harness `dsh` v0.2.0-rc.1 (pre-release; interfaces may change)
90
+ - Targets DeepSeek Harness `dsh` v0.2.0-rc.2 (pre-release; interfaces may change)
91
91
 
92
92
  ## Notes
93
93
 
package/README.md CHANGED
@@ -87,7 +87,7 @@ dsh plugin --profile web add link:<本仓库路径>
87
87
  - **dsh CLI**:需全局安装,`npm i -g @deepseek-ai/dsh`
88
88
  - **Node.js** ≥ 22.19 或 ≥ 24
89
89
  - **Git Bash**(推荐):Windows 上作为 bash 执行环境
90
- - 适用于 DeepSeek Harness `dsh` v0.2.0-rc.1(pre-release,接口可能变动)
90
+ - 适用于 DeepSeek Harness `dsh` v0.2.0-rc.2(pre-release,接口可能变动)
91
91
 
92
92
  ## 注意事项
93
93
 
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-DEKneb49.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-DjXB89ml.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-CGbC0tfO.mjs").then((m) => m.specialHandlers);
11482
+ specialHandlersPromise ??= import("./scrapers-DX4nr7xx.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-DEKneb49.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-DjXB89ml.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.11";
6270
+ var version = "0.1.12";
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/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.11",
4
+ "version": "0.1.12",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "deepseek-harness",
@@ -91,28 +91,28 @@
91
91
  },
92
92
  "peerDependencies": {
93
93
  "@deepseek-ai/cordis": "~4.0.4",
94
- "@deepseek-ai/dsh-agent": "0.2.0-rc.1",
95
- "@deepseek-ai/dsh-agent-preset": "0.2.0-rc.1",
96
- "@deepseek-ai/dsh-agent-preset-registry": "0.2.0-rc.1",
97
- "@deepseek-ai/dsh-attachment": "0.2.0-rc.1",
98
- "@deepseek-ai/dsh-client-connection": "0.2.0-rc.1",
99
- "@deepseek-ai/dsh-fs": "0.2.0-rc.1",
100
- "@deepseek-ai/dsh-jobs": "0.2.0-rc.1",
101
- "@deepseek-ai/dsh-llm": "0.2.0-rc.1",
102
- "@deepseek-ai/dsh-sandbox": "0.2.0-rc.1",
103
- "@deepseek-ai/dsh-session": "0.2.0-rc.1",
104
- "@deepseek-ai/dsh-settings": "0.2.0-rc.1",
105
- "@deepseek-ai/dsh-shell": "0.2.0-rc.1",
106
- "@deepseek-ai/dsh-shell-env": "0.2.0-rc.1",
107
- "@deepseek-ai/dsh-system-prompt": "0.2.0-rc.1",
108
- "@deepseek-ai/dsh-tools": "0.2.0-rc.1"
94
+ "@deepseek-ai/dsh-agent": "0.2.0-rc.2",
95
+ "@deepseek-ai/dsh-agent-preset": "0.2.0-rc.2",
96
+ "@deepseek-ai/dsh-agent-preset-registry": "0.2.0-rc.2",
97
+ "@deepseek-ai/dsh-attachment": "0.2.0-rc.2",
98
+ "@deepseek-ai/dsh-client-connection": "0.2.0-rc.2",
99
+ "@deepseek-ai/dsh-fs": "0.2.0-rc.2",
100
+ "@deepseek-ai/dsh-jobs": "0.2.0-rc.2",
101
+ "@deepseek-ai/dsh-llm": "0.2.0-rc.2",
102
+ "@deepseek-ai/dsh-sandbox": "0.2.0-rc.2",
103
+ "@deepseek-ai/dsh-session": "0.2.0-rc.2",
104
+ "@deepseek-ai/dsh-settings": "0.2.0-rc.2",
105
+ "@deepseek-ai/dsh-shell": "0.2.0-rc.2",
106
+ "@deepseek-ai/dsh-shell-env": "0.2.0-rc.2",
107
+ "@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
108
+ "@deepseek-ai/dsh-tools": "0.2.0-rc.2"
109
109
  },
110
110
  "optionalPeerDependencies": {
111
111
  "sharp": ">=0.33"
112
112
  },
113
113
  "dependencies": {
114
- "@deepseek-ai/dsh-brand": "0.2.0-rc.1",
115
- "@deepseek-ai/dsh-invariants": "0.2.0-rc.1",
114
+ "@deepseek-ai/dsh-brand": "0.2.0-rc.2",
115
+ "@deepseek-ai/dsh-invariants": "0.2.0-rc.2",
116
116
  "@deepseek-ai/schemastery": "~3.18.4",
117
117
  "@oh-my-pi/omptype": "18.1.17",
118
118
  "@oh-my-pi/pi-agent-core": "18.1.17",
@@ -128,33 +128,33 @@
128
128
  },
129
129
  "devDependencies": {
130
130
  "@deepseek-ai/cordis": "~4.0.4",
131
- "@deepseek-ai/dsh-agent": "0.2.0-rc.1",
132
- "@deepseek-ai/dsh-api-remotes": "0.2.0-rc.1",
133
- "@deepseek-ai/dsh-api-session-controller": "0.2.0-rc.1",
134
- "@deepseek-ai/dsh-client-connection": "0.2.0-rc.1",
135
- "@deepseek-ai/dsh-client-locale": "0.2.0-rc.1",
136
- "@deepseek-ai/dsh-client-store": "0.2.0-rc.1",
137
- "@deepseek-ai/dsh-client-ui-chat": "0.2.0-rc.1",
138
- "@deepseek-ai/dsh-client-ui-conversation": "0.2.0-rc.1",
139
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.1",
140
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.1",
141
- "@deepseek-ai/dsh-client-ui-settings": "0.2.0-rc.1",
142
- "@deepseek-ai/dsh-client-ui-settings-plugins": "0.2.0-rc.1",
143
- "@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.1",
144
- "@deepseek-ai/dsh-client-ui-tool": "0.2.0-rc.1",
145
- "@deepseek-ai/dsh-fs-local": "0.2.0-rc.1",
146
- "@deepseek-ai/dsh-jobs": "0.2.0-rc.1",
147
- "@deepseek-ai/dsh-jobs-local": "0.2.0-rc.1",
148
- "@deepseek-ai/dsh-llm": "0.2.0-rc.1",
149
- "@deepseek-ai/dsh-session": "0.2.0-rc.1",
150
- "@deepseek-ai/dsh-settings": "0.2.0-rc.1",
151
- "@deepseek-ai/dsh-shell": "0.2.0-rc.1",
152
- "@deepseek-ai/dsh-shell-env": "0.2.0-rc.1",
153
- "@deepseek-ai/dsh-system-prompt": "0.2.0-rc.1",
154
- "@deepseek-ai/dsh-token-meter": "0.2.0-rc.1",
155
- "@deepseek-ai/dsh-tool-jobs": "0.2.0-rc.1",
156
- "@deepseek-ai/dsh-tool-str-replace-editor": "0.2.0-rc.1",
157
- "@deepseek-ai/dsh-tools": "0.2.0-rc.1",
131
+ "@deepseek-ai/dsh-agent": "0.2.0-rc.2",
132
+ "@deepseek-ai/dsh-api-remotes": "0.2.0-rc.2",
133
+ "@deepseek-ai/dsh-api-session-controller": "0.2.0-rc.2",
134
+ "@deepseek-ai/dsh-client-connection": "0.2.0-rc.2",
135
+ "@deepseek-ai/dsh-client-locale": "0.2.0-rc.2",
136
+ "@deepseek-ai/dsh-client-store": "0.2.0-rc.2",
137
+ "@deepseek-ai/dsh-client-ui-chat": "0.2.0-rc.2",
138
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.0-rc.2",
139
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2",
140
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.2",
141
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.0-rc.2",
142
+ "@deepseek-ai/dsh-client-ui-settings-plugins": "0.2.0-rc.2",
143
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.2",
144
+ "@deepseek-ai/dsh-client-ui-tool": "0.2.0-rc.2",
145
+ "@deepseek-ai/dsh-fs-local": "0.2.0-rc.2",
146
+ "@deepseek-ai/dsh-jobs": "0.2.0-rc.2",
147
+ "@deepseek-ai/dsh-jobs-local": "0.2.0-rc.2",
148
+ "@deepseek-ai/dsh-llm": "0.2.0-rc.2",
149
+ "@deepseek-ai/dsh-session": "0.2.0-rc.2",
150
+ "@deepseek-ai/dsh-settings": "0.2.0-rc.2",
151
+ "@deepseek-ai/dsh-shell": "0.2.0-rc.2",
152
+ "@deepseek-ai/dsh-shell-env": "0.2.0-rc.2",
153
+ "@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
154
+ "@deepseek-ai/dsh-token-meter": "0.2.0-rc.2",
155
+ "@deepseek-ai/dsh-tool-jobs": "0.2.0-rc.2",
156
+ "@deepseek-ai/dsh-tool-str-replace-editor": "0.2.0-rc.2",
157
+ "@deepseek-ai/dsh-tools": "0.2.0-rc.2",
158
158
  "@types/node": "^22.19.0",
159
159
  "@types/react": "^19.0.0",
160
160
  "@types/react-dom": "^19.0.0",