@xiaoso/dsh-tool-plus 0.1.2-beta.1 → 0.1.2

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/lib/client.js CHANGED
@@ -2713,11 +2713,11 @@ window.__ModuleLoader__.load({
2713
2713
  editFuzzyThreshold: "模糊匹配阈值",
2714
2714
  editFuzzyThresholdHint: "相似度阈值,低于该值不视为命中。",
2715
2715
  editEnforceSeenLines: "已见行守卫",
2716
- editEnforceSeenLinesHint: "拒绝锚定在先前 read/search 从未完整展示过的行上的编辑。",
2716
+ editEnforceSeenLinesHint: "禁止修改此前读取或搜索从未完整展示过的行。",
2717
2717
  grepContextBefore: "匹配前上下文行数",
2718
- grepContextBeforeHint: "每个匹配前展示的上下文行数。",
2718
+ grepContextBeforeHint: "每个匹配结果上方连带显示几行,方便对照命中处的前后文。",
2719
2719
  grepContextAfter: "匹配后上下文行数",
2720
- grepContextAfterHint: "每个匹配后展示的上下文行数。",
2720
+ grepContextAfterHint: "每个匹配结果下方连带显示几行,方便对照命中处的前后文。",
2721
2721
  grepCaseDefault: "大小写敏感(默认)",
2722
2722
  grepCaseDefaultHint: "开启(默认)时按大小写严格匹配;关闭后忽略大小写。调用时显式传 case 参数会覆盖此默认。",
2723
2723
  grepGitignoreDefault: "跳过被忽略的文件(默认)",
@@ -2774,7 +2774,7 @@ window.__ModuleLoader__.load({
2774
2774
  rmSafeReasonRuntimeNotEffective: "运行时未生效",
2775
2775
  useShellCommandWrapper: "用 bash -c 包裹命令",
2776
2776
  useShellCommandWrapperHint: "把每条命令用 bash -c 包裹,以获得完整的 bash 环境。",
2777
- outputTruncateStrategy: "截断按",
2777
+ outputTruncateStrategy: "截断单位",
2778
2778
  outputTruncateStrategyHint: "后台任务完成消息达到阈值时的截断单位:按字节或按行。切换后下方显示对应单位的配置。",
2779
2779
  outputTruncateTriggerBytes: "字节触发阈值",
2780
2780
  outputTruncateTriggerBytesHint: "完成文本超过该字节数才截断(按字节策略时生效)。",
@@ -2903,11 +2903,11 @@ window.__ModuleLoader__.load({
2903
2903
  editFuzzyThreshold: "Fuzzy threshold",
2904
2904
  editFuzzyThresholdHint: "Similarity threshold below which a match is not accepted.",
2905
2905
  editEnforceSeenLines: "Seen-line guard",
2906
- editEnforceSeenLinesHint: "Reject edits anchored on lines a prior read/search never displayed in full.",
2906
+ editEnforceSeenLinesHint: "Reject edits on lines a previous read or search never displayed in full.",
2907
2907
  grepContextBefore: "Context lines before match",
2908
- grepContextBeforeHint: "Context lines shown before each match.",
2908
+ grepContextBeforeHint: "Lines shown above each match so you can see the context around a hit.",
2909
2909
  grepContextAfter: "Context lines after match",
2910
- grepContextAfterHint: "Context lines shown after each match.",
2910
+ grepContextAfterHint: "Lines shown below each match so you can see the context around a hit.",
2911
2911
  grepCaseDefault: "Case-sensitive (default)",
2912
2912
  grepCaseDefaultHint: "When on (default), matches strictly by case; when off, case is ignored. An explicit case argument on the call overrides this default.",
2913
2913
  grepGitignoreDefault: "Skip ignored files (default)",
@@ -2964,7 +2964,7 @@ window.__ModuleLoader__.load({
2964
2964
  rmSafeReasonRuntimeNotEffective: "not effective at runtime",
2965
2965
  useShellCommandWrapper: "Wrap commands in bash -c",
2966
2966
  useShellCommandWrapperHint: "Wrap every command in bash -c for a full bash environment.",
2967
- outputTruncateStrategy: "Truncate by",
2967
+ outputTruncateStrategy: "Truncate unit",
2968
2968
  outputTruncateStrategyHint: "Unit used when a background completion message crosses its threshold: bytes or lines. Switching shows the matching unit's settings below.",
2969
2969
  outputTruncateTriggerBytes: "Byte trigger threshold",
2970
2970
  outputTruncateTriggerBytesHint: "Truncate only when the completion text exceeds this many bytes (byte strategy).",
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-Bx0fpxuk.mjs";
4
4
  import { i as setRuntimeLogger, n as systemChromiumCandidatesForTest, r as runtimeLogger } from "./launch-DwpE70Pv.mjs";
5
5
  import { $ as peekFile, A as formatAge, C as error, F as $envpos, I as $flag, M as formatCount, P as $env, Q as isProbablyBinary, S as debug, T as warn, U as getAutoQaDbPath, V as VERSION, X as getRemoteDir, Y as getPuppeteerDir, b as isEnotdir, c as combineSignals, d as $which, j as formatBytes$1, k as installBunShim, l as exec, p as readImageMetadata, q as getInstallId, tt as untilAborted, u as render, v as hasFsCode, y as isEnoent } from "./src-D_e1qMwi.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-BSVzHGnp.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-NmfqUq33.mjs";
7
7
  import { t as sanitizeText } from "./sanitize-text-CfcXzw5X.mjs";
8
8
  import { n as isRecord$2 } from "./type-guards-B9VVjRDK.mjs";
9
9
  import { n as ToolError, r as throwIfAborted, t as ToolAbortError } from "./tool-errors-DoyxivAR.mjs";
@@ -14856,7 +14856,7 @@ let specialHandlersPromise;
14856
14856
  * requires a special handler, so we keep them out of the cold-startup graph.
14857
14857
  */
14858
14858
  function loadSpecialHandlers() {
14859
- specialHandlersPromise ??= import("./scrapers-B06jrsU7.mjs").then((m) => m.specialHandlers);
14859
+ specialHandlersPromise ??= import("./scrapers-kdFCThln.mjs").then((m) => m.specialHandlers);
14860
14860
  return specialHandlersPromise;
14861
14861
  }
14862
14862
  /**
@@ -3,7 +3,7 @@ __installBunShim();
3
3
  import { n as fs_promises_shim_exports } from "./fs-promises-shim-Bx0fpxuk.mjs";
4
4
  import { B as USER_AGENT, G as getDocsRsCacheDir, N as formatNumber, P as $env, T as warn, c as combineSignals, j as formatBytes, l as exec, s as Snowflake, x as parseFrontmatter, y as isEnoent } from "./src-D_e1qMwi.mjs";
5
5
  import { V as tryParseJson } from "./utils-fnV2zzp3.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-BSVzHGnp.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-NmfqUq33.mjs";
7
7
  import { n as isRecord } from "./type-guards-B9VVjRDK.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-BUO0JXO-.mjs";
@@ -7202,7 +7202,7 @@ const settings = {
7202
7202
  };
7203
7203
  //#endregion
7204
7204
  //#region package.json
7205
- var version = "0.1.2-beta.1";
7205
+ var version = "0.1.2";
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) {
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-beta.1",
4
+ "version": "0.1.2",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "deepseek-harness",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xiaoso/dsh-tool-plus-presets",
3
- "version": "0.1.2-beta.1",
3
+ "version": "0.1.2",
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": [