@xiaoso/dsh-tool-plus 0.1.2 → 0.1.4

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.
Files changed (67) hide show
  1. package/README.en.md +1 -1
  2. package/README.md +1 -1
  3. package/lib/{abort-CsjZitYv.mjs → abort-Cwwm4Err.mjs} +1 -1
  4. package/lib/{amazon-bedrock-CfNIDi5k.mjs → amazon-bedrock-TVMpUTRG.mjs} +7 -7
  5. package/lib/{anthropic-BVfZdnMp.mjs → anthropic-BL6LFDQS.mjs} +12 -12
  6. package/lib/{anthropic-DGXmmg43.mjs → anthropic-CDmj476p.mjs} +2 -2
  7. package/lib/{api-key-login-BikQAfD-.mjs → api-key-login-CIDnXeYd.mjs} +1 -1
  8. package/lib/{aws-credentials-DrssNMn_.mjs → aws-credentials-B20dliS7.mjs} +5 -5
  9. package/lib/{azure-openai-responses-C-5q-5K2.mjs → azure-openai-responses-BkhsLmN3.mjs} +8 -8
  10. package/lib/{browser-render-z6b8Ljo9.mjs → browser-render-CmgvSNte.mjs} +2 -2
  11. package/lib/{bundled-references-D71z7_T3.mjs → bundled-references-ChZSPDFw.mjs} +2 -2
  12. package/lib/{callback-server-Di6C4RqI.mjs → callback-server-CFJK-jvK.mjs} +1 -1
  13. package/lib/{cursor-CQQtygwl.mjs → cursor-B6HcmplF.mjs} +1 -1
  14. package/lib/{cursor-Hr5Zw1gt.mjs → cursor-B8m6SqAH.mjs} +3 -3
  15. package/lib/{cursor-DXJxwdcg.mjs → cursor-CRpLpaZ3.mjs} +7 -7
  16. package/lib/{device-code-wZUbgPdB.mjs → device-code-CuXTWYwY.mjs} +1 -1
  17. package/lib/{devin-DXJoDlW2.mjs → devin-BcQwht1W.mjs} +1 -1
  18. package/lib/{devin-CF6UhCFw.mjs → devin-BvMfGevz.mjs} +2 -2
  19. package/lib/{devin-P37gURs_.mjs → devin-DUAfvBsW.mjs} +5 -5
  20. package/lib/{error-DoHuatWw.mjs → error-C-f_Wnw4.mjs} +1 -1
  21. package/lib/{event-stream-C-FmBYUt.mjs → event-stream-Dh2guZxS.mjs} +1 -1
  22. package/lib/{github-copilot-qETlj_bD.mjs → github-copilot-B3kQl0g0.mjs} +1 -1
  23. package/lib/{github-copilot-C2dTonBX.mjs → github-copilot-suDymKrx.mjs} +3 -3
  24. package/lib/{gitlab-duo-FQZiFRQe.mjs → gitlab-duo-BriUTP8k.mjs} +3 -3
  25. package/lib/{gitlab-duo-workflow-DLTabzOy.mjs → gitlab-duo-workflow-wK5Ljzmc.mjs} +2 -2
  26. package/lib/{google-BilwFSzx.mjs → google-CE5tFDod.mjs} +3 -3
  27. package/lib/{google-antigravity-BfBiINdu.mjs → google-antigravity-C1jgNljz.mjs} +2 -2
  28. package/lib/{google-auth-CWlKXJ-H.mjs → google-auth-DYJLM792.mjs} +3 -3
  29. package/lib/{google-gemini-cli-CB89ljNz.mjs → google-gemini-cli-8BT513Ul.mjs} +3 -3
  30. package/lib/{google-gemini-cli-CygFcR6N.mjs → google-gemini-cli-D6cSmfvB.mjs} +8 -8
  31. package/lib/{google-oauth-shared-Cn82h1o2.mjs → google-oauth-shared-BLVTvokk.mjs} +2 -2
  32. package/lib/{google-shared-CF1JrqTM.mjs → google-shared-CVbHK5vZ.mjs} +6 -6
  33. package/lib/{google-vertex-DgMhhFw8.mjs → google-vertex-Bui-ypAe.mjs} +5 -5
  34. package/lib/{identity-C0SPVyIZ.mjs → identity-HNO1Oe9B.mjs} +1 -1
  35. package/lib/{idle-iterator-HzbbfXP4.mjs → idle-iterator-CYAxUkSD.mjs} +2 -2
  36. package/lib/index.mjs +9250 -9237
  37. package/lib/{kimi-DHDO6Fde.mjs → kimi-DgcUpPtK.mjs} +4 -4
  38. package/lib/{launch-DwpE70Pv.mjs → launch-BmgEUycu.mjs} +2 -2
  39. package/lib/{markit-B9exZ0ZV.mjs → markit-DtGoRE6M.mjs} +2 -2
  40. package/lib/{minimax-code-vAhEXhev.mjs → minimax-code-Y3h5li9N.mjs} +1 -1
  41. package/lib/{models-Cp3PzU3l.mjs → models-DRA2c_8U.mjs} +1 -1
  42. package/lib/{ollama-TrkXTNqE.mjs → ollama-Df9ce-Cp.mjs} +8 -8
  43. package/lib/{openai-codex-CrjHtSH4.mjs → openai-codex-CAVI3Me-.mjs} +3 -3
  44. package/lib/{openai-codex-responses-C4uMpWNy.mjs → openai-codex-responses-BcnOotRB.mjs} +10 -10
  45. package/lib/{openai-completions-1ydXm5vF.mjs → openai-completions-Bq4WT47M.mjs} +13 -13
  46. package/lib/{openai-reasoning-fallback-CigKCyzc.mjs → openai-reasoning-fallback-DXsfiSXO.mjs} +2 -2
  47. package/lib/{openai-responses-CN79gRGQ.mjs → openai-responses-Mq_-PjvE.mjs} +10 -10
  48. package/lib/{opencode-CEGlimzL.mjs → opencode-BsVw9rCD.mjs} +1 -1
  49. package/lib/{perplexity-BLJN-8dM.mjs → perplexity-XgLF73E7.mjs} +2 -2
  50. package/lib/{proxy-XOYi58TM.mjs → proxy-D9lm7ONA.mjs} +1 -1
  51. package/lib/{scrapers-kdFCThln.mjs → scrapers-D145Jmdq.mjs} +4 -4
  52. package/lib/{stream-DveNFWSN.mjs → stream-Bjq8wjfr.mjs} +57 -57
  53. package/lib/{stream-markup-healing-C9eC7Gf8.mjs → stream-markup-healing-DZ6bVDxH.mjs} +3 -3
  54. package/lib/trash-cli.mjs +33 -6
  55. package/lib/{types-BUO0JXO-.mjs → types-DX_bvuus.mjs} +1 -1
  56. package/lib/{utils-B-mTYQBc.mjs → utils-CQHPEQ3W.mjs} +1 -1
  57. package/lib/{utils-fnV2zzp3.mjs → utils-Cp2Mxf_U.mjs} +3 -3
  58. package/lib/{utils-NmfqUq33.mjs → utils-DeT1yYiQ.mjs} +24 -24
  59. package/lib/{vision-guard-BsvOWmfB.mjs → vision-guard-mBmtAHx0.mjs} +2 -2
  60. package/lib/{wafer-Dpy7tL3l.mjs → wafer-BlhWLweO.mjs} +1 -1
  61. package/lib/{xai-oauth-BkPNQS-q.mjs → xai-oauth-5pORHUrg.mjs} +2 -2
  62. package/lib/{xiaomi-CG3TsYRz.mjs → xiaomi-7mE345KX.mjs} +1 -1
  63. package/lib/{zai--cewobzN.mjs → zai-CeNpMV3W.mjs} +2 -2
  64. package/lib/{zip-CqKW2-TK.mjs → zip-BK7UHCwX.mjs} +1 -1
  65. package/package.json +38 -39
  66. package/presets/package.json +2 -2
  67. package/lib/{src-D_e1qMwi.mjs → src-BcD0_rQR.mjs} +1 -1
@@ -1,8 +1,8 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { D as partialSuffixOverlapAny, E as FencedThinkingScanner, T as createInbandScanner } from "./utils-fnV2zzp3.mjs";
4
- import { h as isDeepseekModelIdOrName } from "./models-Cp3PzU3l.mjs";
5
- import "./identity-C0SPVyIZ.mjs";
3
+ import { D as partialSuffixOverlapAny, E as FencedThinkingScanner, T as createInbandScanner } from "./utils-Cp2Mxf_U.mjs";
4
+ import { h as isDeepseekModelIdOrName } from "./models-DRA2c_8U.mjs";
5
+ import "./identity-HNO1Oe9B.mjs";
6
6
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@17.3.5/node_modules/@oh-my-pi/pi-ai/src/dialect/thinking.ts
7
7
  /**
8
8
  * Every dialect's in-band thinking section in its canonical `renderThinking`
package/lib/trash-cli.mjs CHANGED
@@ -49,6 +49,31 @@ const INTERACTIVE_WHEN = /* @__PURE__ */ new Set([
49
49
  "always",
50
50
  "never"
51
51
  ]);
52
+ function isAsciiDriveLetter(value) {
53
+ if (value.length !== 1) return false;
54
+ const code = value.charCodeAt(0);
55
+ return code >= 65 && code <= 90 || code >= 97 && code <= 122;
56
+ }
57
+ function windowsDriveAliasPath(filePath) {
58
+ if (!filePath.startsWith("/")) return void 0;
59
+ const parts = filePath.split("/");
60
+ if (parts[0] !== "") return void 0;
61
+ let drive;
62
+ let tailStart = 2;
63
+ if (parts.length >= 2 && isAsciiDriveLetter(parts[1] ?? "")) drive = parts[1].toUpperCase();
64
+ else if (parts.length >= 3 && (parts[1] ?? "").toLowerCase() === "mnt" && isAsciiDriveLetter(parts[2] ?? "")) {
65
+ drive = parts[2].toUpperCase();
66
+ tailStart = 3;
67
+ }
68
+ if (!drive) return void 0;
69
+ const tail = parts.slice(tailStart).filter(Boolean).join("\\");
70
+ return tail ? `${drive}:\\${tail}` : `${drive}:\\`;
71
+ }
72
+ /** MSYS 驱动器别名(`/d/…`、`/mnt/d/…`)转原生 Windows 路径;非 win32 原样返回。 */
73
+ function normalizeWindowsDriveAliasPath(filePath, platform = process.platform) {
74
+ if (platform !== "win32") return filePath;
75
+ return windowsDriveAliasPath(filePath) ?? filePath;
76
+ }
52
77
  /**
53
78
  * 解析 rm 风格参数(coreutils rm 语义):
54
79
  * - 短选项支持组合(`-rf`),`-r`/`-R`/`--recursive` 等价,`-i`/`-I` 等价;
@@ -196,9 +221,10 @@ async function runTrashCli(argv, deps) {
196
221
  const { recursive, force, verbose, dir, preserveRoot, paths } = parsed;
197
222
  const items = [];
198
223
  let failed = false;
199
- for (const p of paths) {
224
+ for (const authored of paths) {
225
+ const p = normalizeWindowsDriveAliasPath(authored);
200
226
  if (isDotOrDotDot(p)) {
201
- deps.stderr(`rm: refusing to remove '.' or '..' directory: skipping '${p}'`);
227
+ deps.stderr(`rm: refusing to remove '.' or '..' directory: skipping '${authored}'`);
202
228
  failed = true;
203
229
  continue;
204
230
  }
@@ -211,17 +237,18 @@ async function runTrashCli(argv, deps) {
211
237
  const st = await deps.lstat(p);
212
238
  if (st === null) {
213
239
  if (!force) {
214
- deps.stderr(`rm: cannot remove '${p}': No such file or directory`);
240
+ deps.stderr(`rm: cannot remove '${authored}': No such file or directory`);
215
241
  failed = true;
216
242
  }
217
243
  continue;
218
244
  }
219
245
  if (st.isDirectory && !recursive && !dir) {
220
- deps.stderr(`rm: cannot remove '${p}': Is a directory`);
246
+ deps.stderr(`rm: cannot remove '${authored}': Is a directory`);
221
247
  failed = true;
222
248
  continue;
223
249
  }
224
250
  items.push({
251
+ authored,
225
252
  path: p,
226
253
  isDir: st.isDirectory
227
254
  });
@@ -229,10 +256,10 @@ async function runTrashCli(argv, deps) {
229
256
  if (items.length > 0) try {
230
257
  await deps.trash(items.map((item) => item.path));
231
258
  } catch (err) {
232
- deps.stderr(`rm: cannot remove '${items[0].path}': ${errorMessage(err)}`);
259
+ deps.stderr(`rm: cannot remove '${items[0].authored}': ${errorMessage(err)}`);
233
260
  failed = true;
234
261
  }
235
- if (verbose && !failed) for (const { path: p, isDir } of items) deps.stdout(isDir ? `removed directory '${normalizeTrailingSlash(p)}'` : `removed '${p}'`);
262
+ if (verbose && !failed) for (const { authored, isDir } of items) deps.stdout(isDir ? `removed directory '${normalizeTrailingSlash(authored)}'` : `removed '${authored}'`);
236
263
  deps.exit(failed ? 1 : 0);
237
264
  }
238
265
  //#endregion
@@ -1,6 +1,6 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { c as combineSignals } from "./src-D_e1qMwi.mjs";
3
+ import { c as combineSignals } from "./src-BcD0_rQR.mjs";
4
4
  import { t as ToolAbortError } from "./tool-errors-DoyxivAR.mjs";
5
5
  import { scheduler } from "node:timers/promises";
6
6
  //#region src/tools/omp/web/scrapers/types.ts
@@ -1,6 +1,6 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { n as wrapFetchForExtraCa } from "./src-D_e1qMwi.mjs";
3
+ import { n as wrapFetchForExtraCa } from "./src-BcD0_rQR.mjs";
4
4
  //#region node_modules/.pnpm/@oh-my-pi+pi-catalog@17.3.5/node_modules/@oh-my-pi/pi-catalog/src/utils.ts
5
5
  /**
6
6
  * Fetch implementation for catalog discovery probes: the caller's override
@@ -1,8 +1,8 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { I as $flag, P as $env, S as debug, g as parseStreamingJson, h as parseJsonWithRepair } from "./src-D_e1qMwi.mjs";
4
- import { r as ValidationError } from "./error-DoHuatWw.mjs";
5
- import { t as preferredDialect } from "./identity-C0SPVyIZ.mjs";
3
+ import { I as $flag, P as $env, S as debug, g as parseStreamingJson, h as parseJsonWithRepair } from "./src-BcD0_rQR.mjs";
4
+ import { r as ValidationError } from "./error-C-f_Wnw4.mjs";
5
+ import { t as preferredDialect } from "./identity-HNO1Oe9B.mjs";
6
6
  //#region node_modules/.pnpm/@oh-my-pi+pi-utils@17.3.5/node_modules/@oh-my-pi/pi-utils/src/json.ts
7
7
  /**
8
8
  * Try to parse JSON, returning null on failure.
@@ -1,34 +1,34 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
3
  import { n as fs_promises_shim_exports } from "./fs-promises-shim-Bx0fpxuk.mjs";
4
- import { B as USER_AGENT, I as $flag, K as getDocumentConversionCacheDir, P as $env, R as isBunTestRuntime, S as debug, T as warn, W as getDebugLogPath, Z as getToolsDir, c as combineSignals, d as $which, l as exec, r as TempDir, tt as untilAborted, y as isEnoent, z as isTerminalHeadless } from "./src-D_e1qMwi.mjs";
5
- import { V as ProviderHttpError, a as isTransientStatus } from "./error-DoHuatWw.mjs";
6
- import "./utils-fnV2zzp3.mjs";
4
+ import { B as USER_AGENT, I as $flag, K as getDocumentConversionCacheDir, P as $env, R as isBunTestRuntime, S as debug, T as warn, W as getDebugLogPath, Z as getToolsDir, c as combineSignals, d as $which, l as exec, r as TempDir, tt as untilAborted, y as isEnoent, z as isTerminalHeadless } from "./src-BcD0_rQR.mjs";
5
+ import { V as ProviderHttpError, a as isTransientStatus } from "./error-C-f_Wnw4.mjs";
6
+ import "./utils-Cp2Mxf_U.mjs";
7
7
  import { n as isRecord } from "./type-guards-B9VVjRDK.mjs";
8
8
  import { t as ToolAbortError } from "./tool-errors-DoyxivAR.mjs";
9
- import { n as extractArchive } from "./zip-CqKW2-TK.mjs";
10
- import { Et as parseAlibabaTokenPlanCredential, Tt as ALIBABA_TOKEN_PLAN_CN_BASE_URL, n as getEnvApiKey } from "./stream-DveNFWSN.mjs";
11
- import { a as toNumber, i as toBoolean$1 } from "./utils-B-mTYQBc.mjs";
12
- import "./identity-C0SPVyIZ.mjs";
13
- import { n as OPENCODE_HEADERS } from "./github-copilot-qETlj_bD.mjs";
14
- import "./vision-guard-BsvOWmfB.mjs";
15
- import "./event-stream-C-FmBYUt.mjs";
16
- import { i as claudeCodeVersion } from "./anthropic-DGXmmg43.mjs";
9
+ import { n as extractArchive } from "./zip-BK7UHCwX.mjs";
10
+ import { Et as parseAlibabaTokenPlanCredential, Tt as ALIBABA_TOKEN_PLAN_CN_BASE_URL, n as getEnvApiKey } from "./stream-Bjq8wjfr.mjs";
11
+ import { a as toNumber, i as toBoolean$1 } from "./utils-CQHPEQ3W.mjs";
12
+ import "./identity-HNO1Oe9B.mjs";
13
+ import { n as OPENCODE_HEADERS } from "./github-copilot-B3kQl0g0.mjs";
14
+ import "./vision-guard-mBmtAHx0.mjs";
15
+ import "./event-stream-Dh2guZxS.mjs";
16
+ import { i as claudeCodeVersion } from "./anthropic-CDmj476p.mjs";
17
17
  import { i as getGeminiCliHeaders, n as getAntigravityUserAgent } from "./gemini-headers-DKUShltF.mjs";
18
18
  import { t as CODEX_BASE_URL } from "./codex-P1dGpX7G.mjs";
19
- import { t as getKimiCommonHeaders } from "./kimi-DHDO6Fde.mjs";
20
- import "./anthropic-BVfZdnMp.mjs";
21
- import { n as extractCursorAccessTokenUserId } from "./cursor-CQQtygwl.mjs";
22
- import { i as getXAICliBillingHeaders, n as extractXAIAccessTokenSubject, r as fetchXAIOAuthIdentity, t as buildXAICliBillingUrl } from "./xai-oauth-BkPNQS-q.mjs";
23
- import "./openai-codex-responses-C4uMpWNy.mjs";
24
- import "./azure-openai-responses-C-5q-5K2.mjs";
25
- import "./ollama-TrkXTNqE.mjs";
26
- import "./openai-completions-1ydXm5vF.mjs";
27
- import "./openai-responses-CN79gRGQ.mjs";
28
- import { t as MAX_BYTES } from "./types-BUO0JXO-.mjs";
29
- import * as path from "node:path";
19
+ import { t as getKimiCommonHeaders } from "./kimi-DgcUpPtK.mjs";
20
+ import "./anthropic-BL6LFDQS.mjs";
21
+ import { n as extractCursorAccessTokenUserId } from "./cursor-B6HcmplF.mjs";
22
+ import { i as getXAICliBillingHeaders, n as extractXAIAccessTokenSubject, r as fetchXAIOAuthIdentity, t as buildXAICliBillingUrl } from "./xai-oauth-5pORHUrg.mjs";
23
+ import "./openai-codex-responses-BcnOotRB.mjs";
24
+ import "./azure-openai-responses-BkhsLmN3.mjs";
25
+ import "./ollama-Df9ce-Cp.mjs";
26
+ import "./openai-completions-Bq4WT47M.mjs";
27
+ import "./openai-responses-Mq_-PjvE.mjs";
28
+ import { t as MAX_BYTES } from "./types-DX_bvuus.mjs";
30
29
  import * as fs from "node:fs";
31
30
  import { Ellipsis, Ellipsis as Ellipsis$1, extractSegments, matchesKey, sliceWithWidth, truncateToWidth } from "@oh-my-pi/pi-natives";
31
+ import * as path from "node:path";
32
32
  import * as os from "node:os";
33
33
  import { scheduler } from "node:timers/promises";
34
34
  import "node:crypto";
@@ -7202,7 +7202,7 @@ const settings = {
7202
7202
  };
7203
7203
  //#endregion
7204
7204
  //#region package.json
7205
- var version = "0.1.2";
7205
+ var version = "0.1.4";
7206
7206
  /** `.tmp` files older than this are treated as orphaned writes and swept. */
7207
7207
  const TMP_ORPHAN_MAX_AGE_MS = 3e5;
7208
7208
  function markitConversionCacheKey(bytes, extension) {
@@ -7336,7 +7336,7 @@ const CONVERTIBLE_EXTENSIONS = /* @__PURE__ */ new Set([
7336
7336
  ".epub"
7337
7337
  ]);
7338
7338
  let markit = async () => {
7339
- const promise = import("./markit-B9exZ0ZV.mjs").then(({ Markit }) => {
7339
+ const promise = import("./markit-DtGoRE6M.mjs").then(({ Markit }) => {
7340
7340
  const instance = new Markit();
7341
7341
  markit = () => instance;
7342
7342
  return instance;
@@ -1,7 +1,7 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { M as isDashscopeCompatibleModeUrl, S as isQwenModelId, x as isOpenAIModelId } from "./models-Cp3PzU3l.mjs";
4
- import "./identity-C0SPVyIZ.mjs";
3
+ import { M as isDashscopeCompatibleModeUrl, S as isQwenModelId, x as isOpenAIModelId } from "./models-DRA2c_8U.mjs";
4
+ import "./identity-HNO1Oe9B.mjs";
5
5
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@17.3.5/node_modules/@oh-my-pi/pi-ai/src/types.ts
6
6
  /**
7
7
  * Ceiling on the output-token count omp requests from any OpenAI-family endpoint
@@ -1,6 +1,6 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { t as createApiKeyLogin } from "./api-key-login-BikQAfD-.mjs";
3
+ import { t as createApiKeyLogin } from "./api-key-login-CIDnXeYd.mjs";
4
4
  const loginWaferServerless = createApiKeyLogin({
5
5
  providerLabel: "Wafer Serverless",
6
6
  authUrl: "https://app.wafer.ai/usage",
@@ -1,8 +1,8 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
3
  import { r as __exportAll } from "./fs-promises-shim-Bx0fpxuk.mjs";
4
- import { c as OAuthError, h as LoginCancelledError } from "./error-DoHuatWw.mjs";
5
- import { t as pollOAuthDeviceCodeFlow } from "./device-code-wZUbgPdB.mjs";
4
+ import { c as OAuthError, h as LoginCancelledError } from "./error-C-f_Wnw4.mjs";
5
+ import { t as pollOAuthDeviceCodeFlow } from "./device-code-CuXTWYwY.mjs";
6
6
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@17.3.5/node_modules/@oh-my-pi/pi-ai/src/registry/oauth/xai-oauth.ts
7
7
  /**
8
8
  * xAI Grok OAuth device authorization flow.
@@ -1,6 +1,6 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { _ as OnPromptRequiredError, c as OAuthError, h as LoginCancelledError, m as ApiKeyRequiredError } from "./error-DoHuatWw.mjs";
3
+ import { _ as OnPromptRequiredError, c as OAuthError, h as LoginCancelledError, m as ApiKeyRequiredError } from "./error-C-f_Wnw4.mjs";
4
4
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@17.3.5/node_modules/@oh-my-pi/pi-ai/src/registry/oauth/xiaomi.ts
5
5
  /**
6
6
  * Xiaomi MiMo login flow.
@@ -1,7 +1,7 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { V as ProviderHttpError, c as OAuthError, h as LoginCancelledError } from "./error-DoHuatWw.mjs";
4
- import { t as OAuthCallbackFlow } from "./callback-server-Di6C4RqI.mjs";
3
+ import { V as ProviderHttpError, c as OAuthError, h as LoginCancelledError } from "./error-C-f_Wnw4.mjs";
4
+ import { t as OAuthCallbackFlow } from "./callback-server-CFJK-jvK.mjs";
5
5
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@17.3.5/node_modules/@oh-my-pi/pi-ai/src/registry/oauth/zai.ts
6
6
  /**
7
7
  * Z.ai / GLM OAuth flow (GLM Coding Plan · Sign in)
@@ -1,6 +1,6 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { j as formatBytes } from "./src-D_e1qMwi.mjs";
3
+ import { j as formatBytes } from "./src-BcD0_rQR.mjs";
4
4
  import { n as ToolError } from "./tool-errors-DoyxivAR.mjs";
5
5
  import * as path from "node:path";
6
6
  import * as zlib from "node:zlib";
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.2",
4
+ "version": "0.1.4",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "deepseek-harness",
@@ -30,7 +30,7 @@
30
30
  "type": "module",
31
31
  "publishConfig": {
32
32
  "access": "public",
33
- "tag": "beta"
33
+ "tag": "latest"
34
34
  },
35
35
  "engines": {
36
36
  "node": "^22.19.0 || >=24.0.0"
@@ -64,7 +64,6 @@
64
64
  },
65
65
  "client": {
66
66
  "inject": [
67
- "@deepseek-ai/dsh-client-runtime",
68
67
  "@deepseek-ai/dsh-client-locale",
69
68
  "@deepseek-ai/dsh-client-ui-settings"
70
69
  ],
@@ -80,26 +79,26 @@
80
79
  "postinstall": "node scripts/patch-pi-natives.mjs"
81
80
  },
82
81
  "peerDependencies": {
83
- "@deepseek-ai/cordis": "^4.0.1",
84
- "@deepseek-ai/dsh-agent": "^0.1.1-rc.2",
85
- "@deepseek-ai/dsh-attachment": "^0.1.1-rc.2",
86
- "@deepseek-ai/dsh-client-connection": "^0.1.1-rc.2",
87
- "@deepseek-ai/dsh-fs": "^0.1.1-rc.2",
88
- "@deepseek-ai/dsh-jobs": "^0.1.1-rc.2",
89
- "@deepseek-ai/dsh-llm": "^0.1.1-rc.2",
90
- "@deepseek-ai/dsh-sandbox": "^0.1.1-rc.2",
91
- "@deepseek-ai/dsh-session": "^0.1.1-rc.2",
92
- "@deepseek-ai/dsh-settings": "^0.1.1-rc.2",
93
- "@deepseek-ai/dsh-shell": "^0.1.1-rc.2",
94
- "@deepseek-ai/dsh-shell-env": "^0.1.1-rc.2",
95
- "@deepseek-ai/dsh-system-prompt": "^0.1.1-rc.2",
96
- "@deepseek-ai/dsh-tools": "^0.1.1-rc.2"
82
+ "@deepseek-ai/cordis": "4.0.2",
83
+ "@deepseek-ai/dsh-agent": "0.1.2-rc.1",
84
+ "@deepseek-ai/dsh-attachment": "0.1.2-rc.1",
85
+ "@deepseek-ai/dsh-client-connection": "0.1.2-rc.1",
86
+ "@deepseek-ai/dsh-fs": "0.1.2-rc.1",
87
+ "@deepseek-ai/dsh-jobs": "0.1.2-rc.1",
88
+ "@deepseek-ai/dsh-llm": "0.1.2-rc.1",
89
+ "@deepseek-ai/dsh-sandbox": "0.1.2-rc.1",
90
+ "@deepseek-ai/dsh-session": "0.1.2-rc.1",
91
+ "@deepseek-ai/dsh-settings": "0.1.2-rc.1",
92
+ "@deepseek-ai/dsh-shell": "0.1.2-rc.1",
93
+ "@deepseek-ai/dsh-shell-env": "0.1.2-rc.1",
94
+ "@deepseek-ai/dsh-system-prompt": "0.1.2-rc.1",
95
+ "@deepseek-ai/dsh-tools": "0.1.2-rc.1"
97
96
  },
98
97
  "optionalPeerDependencies": {
99
98
  "sharp": ">=0.33"
100
99
  },
101
100
  "dependencies": {
102
- "@deepseek-ai/schemastery": "^3.18.1",
101
+ "@deepseek-ai/schemastery": "3.18.2",
103
102
  "@oh-my-pi/omptype": "17.3.5",
104
103
  "@oh-my-pi/pi-agent-core": "17.3.5",
105
104
  "@oh-my-pi/pi-ai": "17.3.5",
@@ -113,27 +112,27 @@
113
112
  "yaml": "^2.9.0"
114
113
  },
115
114
  "devDependencies": {
116
- "@deepseek-ai/cordis": "^4.0.1",
117
- "@deepseek-ai/dsh-agent": "^0.1.1-rc.2",
118
- "@deepseek-ai/dsh-client-connection": "^0.1.1-rc.2",
119
- "@deepseek-ai/dsh-client-locale": "^0.1.1-rc.2",
120
- "@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.2",
121
- "@deepseek-ai/dsh-client-ui-primitives": "0.1.1-rc.2",
122
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.1-rc.2",
123
- "@deepseek-ai/dsh-client-ui-settings-plugins": "0.1.1-rc.2",
124
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.1-rc.2",
125
- "@deepseek-ai/dsh-fs-local": "0.1.1-rc.2",
126
- "@deepseek-ai/dsh-jobs": "^0.1.1-rc.2",
127
- "@deepseek-ai/dsh-jobs-local": "^0.1.1-rc.2",
128
- "@deepseek-ai/dsh-llm": "^0.1.1-rc.2",
129
- "@deepseek-ai/dsh-session": "^0.1.1-rc.2",
130
- "@deepseek-ai/dsh-settings": "^0.1.1-rc.2",
131
- "@deepseek-ai/dsh-shell": "^0.1.1-rc.2",
132
- "@deepseek-ai/dsh-shell-env": "^0.1.1-rc.2",
133
- "@deepseek-ai/dsh-system-prompt": "^0.1.1-rc.2",
134
- "@deepseek-ai/dsh-tool-jobs": "^0.1.1-rc.2",
135
- "@deepseek-ai/dsh-tool-str-replace-editor": "0.1.1-rc.2",
136
- "@deepseek-ai/dsh-tools": "^0.1.1-rc.2",
115
+ "@deepseek-ai/cordis": "4.0.2",
116
+ "@deepseek-ai/dsh-agent": "0.1.2-rc.1",
117
+ "@deepseek-ai/dsh-client-connection": "0.1.2-rc.1",
118
+ "@deepseek-ai/dsh-client-locale": "0.1.2-rc.1",
119
+ "@deepseek-ai/dsh-client-ui-primitives": "0.1.2-rc.1",
120
+ "@deepseek-ai/dsh-client-ui-renderer": "0.1.2-rc.1",
121
+ "@deepseek-ai/dsh-client-ui-settings": "0.1.2-rc.1",
122
+ "@deepseek-ai/dsh-client-ui-settings-plugins": "0.1.2-rc.1",
123
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.2-rc.1",
124
+ "@deepseek-ai/dsh-fs-local": "0.1.2-rc.1",
125
+ "@deepseek-ai/dsh-jobs": "0.1.2-rc.1",
126
+ "@deepseek-ai/dsh-jobs-local": "0.1.2-rc.1",
127
+ "@deepseek-ai/dsh-llm": "0.1.2-rc.1",
128
+ "@deepseek-ai/dsh-session": "0.1.2-rc.1",
129
+ "@deepseek-ai/dsh-settings": "0.1.2-rc.1",
130
+ "@deepseek-ai/dsh-shell": "0.1.2-rc.1",
131
+ "@deepseek-ai/dsh-shell-env": "0.1.2-rc.1",
132
+ "@deepseek-ai/dsh-system-prompt": "0.1.2-rc.1",
133
+ "@deepseek-ai/dsh-tool-jobs": "0.1.2-rc.1",
134
+ "@deepseek-ai/dsh-tool-str-replace-editor": "0.1.2-rc.1",
135
+ "@deepseek-ai/dsh-tools": "0.1.2-rc.1",
137
136
  "@types/node": "^22.19.0",
138
137
  "@types/react": "^19.0.0",
139
138
  "@types/react-dom": "^19.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xiaoso/dsh-tool-plus-presets",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
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": [
@@ -25,7 +25,7 @@
25
25
  "type": "module",
26
26
  "publishConfig": {
27
27
  "access": "public",
28
- "tag": "beta"
28
+ "tag": "latest"
29
29
  },
30
30
  "bin": {
31
31
  "dsh-tool-plus-presets": "./install-presets.mjs"
@@ -1,9 +1,9 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
3
  import { n as fs_promises_shim_exports } from "./fs-promises-shim-Bx0fpxuk.mjs";
4
- import * as path from "node:path";
5
4
  import * as fs from "node:fs";
6
5
  import { Process } from "@oh-my-pi/pi-natives";
6
+ import * as path from "node:path";
7
7
  import * as os from "node:os";
8
8
  import assert from "node:assert/strict";
9
9
  import { parse, stringify } from "yaml";