@wirecat/tg-cli 0.125.0 → 0.127.0

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 (97) hide show
  1. package/dist/bin/tg.js +2 -2
  2. package/dist/bundle/{adapter-H2LTOLOA.js → adapter-EZFS2UR6.js} +43 -43
  3. package/dist/bundle/{all-profiles-75HGEFL7.js → all-profiles-TNIUBQK6.js} +6 -6
  4. package/dist/bundle/{anthropic-N54MKE4C.js → anthropic-NGIS5LTL.js} +2 -2
  5. package/dist/bundle/{app-server-3N5INKKI.js → app-server-RPU76G7D.js} +42 -38
  6. package/dist/bundle/{bot-api-V65KTEAH.js → bot-api-QJ6U6BLG.js} +44 -44
  7. package/dist/bundle/{bot-history-TT2EAHEE.js → bot-history-THULK2C6.js} +12 -12
  8. package/dist/bundle/{bun-LN4J7PA7.js → bun-QLSLLP27.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-6PDBFBUI.js → bun-sqlite-SH5245ZY.js} +3 -3
  10. package/dist/bundle/{chunk-RZ7KBWDQ.js → chunk-2R6ZSE3O.js} +2 -2
  11. package/dist/bundle/{chunk-E4HDE5DN.js → chunk-3CV5TBBR.js} +2 -2
  12. package/dist/bundle/{chunk-PCC7GWOS.js → chunk-3I3TGKVG.js} +3 -3
  13. package/dist/bundle/{chunk-6Y6SSZ34.js → chunk-3WI53AA4.js} +129 -83
  14. package/dist/bundle/{chunk-DYOZ7CUV.js → chunk-45URY64S.js} +1 -1
  15. package/dist/bundle/{chunk-S4SOS27T.js → chunk-4CQ3PV3V.js} +7 -7
  16. package/dist/bundle/{chunk-OG2ONSH6.js → chunk-4FFKCC7Y.js} +16 -16
  17. package/dist/bundle/{chunk-UTNK2PFE.js → chunk-4MKRKW6V.js} +12 -12
  18. package/dist/bundle/{chunk-FSP74THJ.js → chunk-5AOFOJQA.js} +4 -4
  19. package/dist/bundle/{chunk-7OBSIDBJ.js → chunk-5FDYMMEQ.js} +2 -2
  20. package/dist/bundle/{chunk-4TCBRKWQ.js → chunk-5KZKVKWU.js} +6 -6
  21. package/dist/bundle/{chunk-37SZHAEA.js → chunk-5SN6KFPC.js} +51 -50
  22. package/dist/bundle/{chunk-CNEJQQMD.js → chunk-7GE6KMLB.js} +11 -11
  23. package/dist/bundle/{chunk-77Z3OGAT.js → chunk-APSMQIA4.js} +2 -2
  24. package/dist/bundle/{chunk-BLNMM3AX.js → chunk-BNM6KNUQ.js} +1 -1
  25. package/dist/bundle/{chunk-GUPMDMFM.js → chunk-BWHVHPAQ.js} +5 -5
  26. package/dist/bundle/{chunk-VZDAVZYX.js → chunk-CXWAKV2O.js} +5 -5
  27. package/dist/bundle/{chunk-AMPHPP4P.js → chunk-DNNYE6PS.js} +13 -13
  28. package/dist/bundle/{chunk-X6436BYW.js → chunk-EGNQSWPH.js} +1 -1
  29. package/dist/bundle/{chunk-FUYCAROL.js → chunk-ERUB3KU3.js} +322 -11
  30. package/dist/bundle/{chunk-TVQBOIWC.js → chunk-FD44T7HC.js} +1 -1
  31. package/dist/bundle/{chunk-SGHF75RQ.js → chunk-FSDLSEZA.js} +1 -1
  32. package/dist/bundle/{chunk-WH4T44L3.js → chunk-GHVRCLJI.js} +1 -1
  33. package/dist/bundle/{chunk-JB4BO5XZ.js → chunk-H7GAFD4N.js} +1 -1
  34. package/dist/bundle/{chunk-JC6HMPL7.js → chunk-HPM47WO3.js} +4686 -3968
  35. package/dist/bundle/{chunk-3GILMKQ2.js → chunk-IWJ5OLU6.js} +2 -2
  36. package/dist/bundle/{chunk-QVK7NF3A.js → chunk-J6FHZXNS.js} +32 -28
  37. package/dist/bundle/{chunk-RX5GU7GQ.js → chunk-JF7D2Y4K.js} +1129 -879
  38. package/dist/bundle/{chunk-JCNKGZQG.js → chunk-JFQZ6BWI.js} +16 -16
  39. package/dist/bundle/{chunk-ZX5OSZHH.js → chunk-JWEKUAVZ.js} +10 -10
  40. package/dist/bundle/{chunk-QYT6HDCL.js → chunk-K4VO7S6Q.js} +1 -1
  41. package/dist/bundle/{chunk-DNCOELTM.js → chunk-LOG65WHO.js} +1 -1
  42. package/dist/bundle/{chunk-GRDVBJCR.js → chunk-MTU3UP5U.js} +1 -1
  43. package/dist/bundle/{chunk-DI3RJ3MJ.js → chunk-NBN5OYXH.js} +3 -3
  44. package/dist/bundle/{chunk-TAFH5K5D.js → chunk-P5NJECXX.js} +411 -295
  45. package/dist/bundle/{chunk-JKF7LZBU.js → chunk-QPVCFSVU.js} +5 -5
  46. package/dist/bundle/{chunk-UG66U2T7.js → chunk-R52ZZZKZ.js} +23 -13
  47. package/dist/bundle/{chunk-INZAZMUF.js → chunk-S3XUJPPL.js} +9 -4
  48. package/dist/bundle/{chunk-6HLB73UN.js → chunk-SN52ZGFN.js} +2 -2
  49. package/dist/bundle/{chunk-FHPEUAHQ.js → chunk-TGKTIDYS.js} +168 -399
  50. package/dist/bundle/{chunk-VG3EQJYV.js → chunk-UIQMBOXU.js} +31 -2
  51. package/dist/bundle/{chunk-EIGV2JKX.js → chunk-UW34Z7J3.js} +1 -1
  52. package/dist/bundle/{chunk-XTNOBJRP.js → chunk-UY2TRFYN.js} +10 -10
  53. package/dist/bundle/{chunk-VHD4V64E.js → chunk-VMV5CMLH.js} +1 -1
  54. package/dist/bundle/{chunk-MK4IKICN.js → chunk-X4ECHJNG.js} +2 -2
  55. package/dist/bundle/{chunk-IN3NAFUN.js → chunk-XUAVZ6YX.js} +7 -7
  56. package/dist/bundle/{chunk-NTHALPDT.js → chunk-Y62I2T36.js} +2 -1
  57. package/dist/bundle/{chunk-B252D7V4.js → chunk-Y65BQJOY.js} +4 -6
  58. package/dist/bundle/{chunk-4KIOWSDL.js → chunk-Y7UA7HGL.js} +2 -2
  59. package/dist/bundle/{chunk-HHG5FR5H.js → chunk-YIPOWJPN.js} +1 -1
  60. package/dist/bundle/{chunk-VUBSGQ2O.js → chunk-YZGIQY2R.js} +24 -22
  61. package/dist/bundle/{chunk-AI2J3WJT.js → chunk-ZIPUVOGT.js} +1 -1
  62. package/dist/bundle/{chunk-LU2CHHPC.js → chunk-ZSS3BH6Z.js} +2 -2
  63. package/dist/bundle/{command-contract-JP6SCP7U.js → command-contract-DY6Y4TES.js} +13 -13
  64. package/dist/bundle/{command-server-entry-BLSFT3T6.js → command-server-entry-UG2CLYXI.js} +20 -20
  65. package/dist/bundle/{decode-NNLEQU7B.js → decode-3NEUZJ2N.js} +2 -2
  66. package/dist/bundle/{echarts-XAZHGDOM.js → echarts-CN6ZVAJZ.js} +2 -2
  67. package/dist/bundle/{embed-Q7ZCVSCO.js → embed-M4EHIKA5.js} +3 -3
  68. package/dist/bundle/{embedder-MVS3PVWQ.js → embedder-K2XL2UB4.js} +6 -6
  69. package/dist/bundle/{entry-XN3ZZAOK.js → entry-6M55YL2H.js} +6 -6
  70. package/dist/bundle/{first-run-G4EFTONI.js → first-run-TLJILIOF.js} +5 -5
  71. package/dist/bundle/{first-screen-RIDJEPC3.js → first-screen-WME7ILW2.js} +14 -14
  72. package/dist/bundle/{instructions-QDHYYZBU.js → instructions-QLC2AXAB.js} +1 -1
  73. package/dist/bundle/{node-3Y7OVY2U.js → node-BAA3T4CH.js} +2 -2
  74. package/dist/bundle/{node-sqlite-R2SBROJM.js → node-sqlite-FNYVHQCO.js} +4 -4
  75. package/dist/bundle/{oauth-WSPWMWTV.js → oauth-32T5KL5E.js} +4 -4
  76. package/dist/bundle/{open-VFLF4HRQ.js → open-4VQ6FUEI.js} +2 -2
  77. package/dist/bundle/{openai-DFCKZZDV.js → openai-HDOKCN3Z.js} +12 -12
  78. package/dist/bundle/{process-VZKFAGNP.js → process-GOUBIWKC.js} +1 -1
  79. package/dist/bundle/{program-2LB3CUZX.js → program-QFXJL2R5.js} +46 -46
  80. package/dist/bundle/{prompt-RVLA2PEY.js → prompt-YYODWYFO.js} +2 -2
  81. package/dist/bundle/{recognize-LEKNA3G5.js → recognize-7ZULX5HL.js} +1 -1
  82. package/dist/bundle/{remote-WG5V2I2G.js → remote-TUG7M5Y5.js} +6 -6
  83. package/dist/bundle/{rerank-ONAEQVJ6.js → rerank-D2EZWG66.js} +4 -4
  84. package/dist/bundle/{serve-BL2X6FZG.js → serve-MP3GA2XX.js} +6 -6
  85. package/dist/bundle/{server-3LSC4BMK.js → server-D277L3H3.js} +31 -29
  86. package/dist/bundle/server-GEP7QXGI.js +62 -0
  87. package/dist/bundle/{sqlite-runtime-RQXPRH6C.js → sqlite-runtime-XHZXEOLY.js} +3 -3
  88. package/dist/bundle/{state-O7LRA526.js → state-YI3W6HGO.js} +3 -3
  89. package/dist/bundle/{store-HMJUPK45.js → store-C4RFPYPK.js} +9 -9
  90. package/dist/bundle/{store-7C4UAND2.js → store-CIZPJFWE.js} +15 -11
  91. package/dist/bundle/store-maintenance-command-JNDYWFD2.js +52 -0
  92. package/dist/bundle/tg.js +3 -3
  93. package/dist/version.d.ts +1 -1
  94. package/dist/version.js +1 -1
  95. package/package.json +2 -2
  96. package/dist/bundle/server-7EYEEGJT.js +0 -62
  97. package/dist/bundle/store-maintenance-command-I7PSA3SZ.js +0 -52
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/ports/app.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/ports/app.js
11
11
  import { readFileSync } from "node:fs";
12
12
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
13
13
  var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/search/languages.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/search/languages.js
11
11
  var LANGUAGES = [
12
12
  { name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
13
13
  { name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
@@ -15,12 +15,12 @@ var LANGUAGES = [
15
15
  ];
16
16
  var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/store/normalize.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/store/normalize.js
19
19
  var NORMALIZER_VERSION = 1;
20
20
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
21
21
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
24
24
  var BaseStemmer = class {
25
25
  static {
26
26
  __name(this, "BaseStemmer");
@@ -395,7 +395,7 @@ var BaseStemmer = class {
395
395
  }
396
396
  };
397
397
 
398
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
398
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
399
399
  var a_0 = [
400
400
  ["arsen", -1],
401
401
  ["commun", -1],
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
1096
1096
  stemWord = this.stem;
1097
1097
  };
1098
1098
 
1099
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1099
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1100
1100
  var a_02 = [
1101
1101
  ["\u0432", 1],
1102
1102
  ["\u0438\u0432", 2, 1],
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
1519
1519
  stemWord = this.stem;
1520
1520
  };
1521
1521
 
1522
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1522
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1523
1523
  var a_03 = [
1524
1524
  ["", 6],
1525
1525
  ["\xE1", 1, 1],
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
2195
2195
  stemWord = this.stem;
2196
2196
  };
2197
2197
 
2198
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/search/stem.js
2198
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/search/stem.js
2199
2199
  var SNOWBALL_VERSION = "3.1.1";
2200
2200
  var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
2201
2201
  var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
@@ -7,10 +7,10 @@ import {
7
7
  agentJson,
8
8
  commandAvailability,
9
9
  failureContext
10
- } from "./chunk-UG66U2T7.js";
10
+ } from "./chunk-R52ZZZKZ.js";
11
11
  import {
12
12
  callerOf
13
- } from "./chunk-MK4IKICN.js";
13
+ } from "./chunk-X4ECHJNG.js";
14
14
  import {
15
15
  QUERY_ARGUMENT,
16
16
  lentConnection,
@@ -18,10 +18,10 @@ import {
18
18
  refuseLacking,
19
19
  servicesFor,
20
20
  storeModeDeps
21
- } from "./chunk-TAFH5K5D.js";
21
+ } from "./chunk-P5NJECXX.js";
22
22
  import {
23
23
  MAX_BUFFERED_INPUT
24
- } from "./chunk-SGHF75RQ.js";
24
+ } from "./chunk-FSDLSEZA.js";
25
25
  import {
26
26
  DEFAULT_OUTPUT_BYTES,
27
27
  ENTITIES,
@@ -41,23 +41,23 @@ import {
41
41
  refuseStoreChange,
42
42
  sealed,
43
43
  startRecording
44
- } from "./chunk-FHPEUAHQ.js";
44
+ } from "./chunk-TGKTIDYS.js";
45
45
  import {
46
46
  currentCaller,
47
47
  keepsSuccess,
48
48
  runContextOf,
49
49
  withCaller
50
- } from "./chunk-4TCBRKWQ.js";
50
+ } from "./chunk-5KZKVKWU.js";
51
51
  import {
52
52
  enclosingTraceId,
53
53
  inRun,
54
54
  newRunId,
55
55
  queryDescription,
56
56
  traceOf
57
- } from "./chunk-6Y6SSZ34.js";
57
+ } from "./chunk-3WI53AA4.js";
58
58
  import {
59
59
  storeDamaged
60
- } from "./chunk-77Z3OGAT.js";
60
+ } from "./chunk-APSMQIA4.js";
61
61
  import {
62
62
  captureStreams,
63
63
  traceIdOf
@@ -109,7 +109,7 @@ import {
109
109
  __name
110
110
  } from "./chunk-ZVVMGPBJ.js";
111
111
 
112
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/agent.js
112
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/mcp/agent.js
113
113
  import { Readable } from "node:stream";
114
114
 
115
115
  // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
@@ -3281,7 +3281,7 @@ var VOCABULARY = defineVocabulary({
3281
3281
  ]
3282
3282
  });
3283
3283
 
3284
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3284
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3285
3285
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
3286
3286
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
3287
3287
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3395,12 +3395,12 @@ var keywordsOf = /* @__PURE__ */ __name((examples) => [
3395
3395
  ...new Set(examples.flatMap((example) => example.split(/\s+/u).filter((word2) => word2 !== "" && !word2.startsWith("-"))))
3396
3396
  ], "keywordsOf");
3397
3397
  var toolsFromCommands = /* @__PURE__ */ __name((commands, options = {}) => {
3398
- const { root = [], exclude = [], levels, keyOf, authority, readOnly = false, permissions } = options;
3398
+ const { root = [], exclude = [], levels, keyOf, authority, readOnly = false, permissions, fetches } = options;
3399
3399
  return flatten(commands).filter((info) => (
3400
3400
  // A group is offered only when it runs on its own; without an action it only prints its help.
3401
- (info.commands.length === 0 || info.runnable === true) && info.path.length > root.length && startsWith(info.path, root) && !exclude.some((skipped) => startsWith(info.path.slice(root.length), skipped)) && info.mcp !== false && info.lifetime === void 0 && (options.includeUnavailable === true || !(readOnly && (changesMessenger(info) || authority?.(info.path))) && (levels === void 0 && !(readOnly && permissions) ? true : commandAvailability(info, levels ?? {}, keyOf, authority, readOnly, true, permissions).available))
3401
+ (info.commands.length === 0 || info.runnable === true) && info.path.length > root.length && startsWith(info.path, root) && !exclude.some((skipped) => startsWith(info.path.slice(root.length), skipped)) && info.mcp !== false && info.lifetime === void 0 && (options.includeUnavailable === true || !(readOnly && (changesMessenger(info) || authority?.(info.path))) && (levels === void 0 && !(readOnly && permissions) ? true : commandAvailability(info, levels ?? {}, keyOf, authority, readOnly, true, permissions, fetches).available))
3402
3402
  )).map((info) => ({
3403
- availability: /* @__PURE__ */ __name(() => commandAvailability(info, options.currentLevels?.() ?? levels ?? {}, keyOf, authority, readOnly, true, permissions), "availability"),
3403
+ availability: /* @__PURE__ */ __name(() => commandAvailability(info, options.currentLevels?.() ?? levels ?? {}, keyOf, authority, readOnly, true, permissions, fetches), "availability"),
3404
3404
  command: info.path.slice(root.length).join(" "),
3405
3405
  path: info.path,
3406
3406
  title: info.summary ?? info.description,
@@ -3443,7 +3443,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3443
3443
  if (info.lifetime)
3444
3444
  throw new CliError("validation_error", `"${path.join(" ")}" runs until it is stopped; an agent call must return`);
3445
3445
  const levels = ctx.levels?.();
3446
- const availability = (levels || ctx.readOnly || ctx.permissions) && commandAvailability(info, levels ?? {}, ctx.keyOf, ctx.authority, ctx.readOnly, true, ctx.permissions);
3446
+ const availability = (levels || ctx.readOnly || ctx.permissions) && commandAvailability(info, levels ?? {}, ctx.keyOf, ctx.authority, ctx.readOnly, true, ctx.permissions, ctx.fetches);
3447
3447
  if (availability && !availability.available)
3448
3448
  throw new CliError("permission_error", `${path.join(" ")}: ${availability.reason}`, {
3449
3449
  sent: false,
@@ -3508,7 +3508,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3508
3508
  }
3509
3509
  }, "runCommandForAgent");
3510
3510
 
3511
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3511
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3512
3512
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3513
3513
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3514
3514
  var message = pipe(
@@ -3767,7 +3767,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3767
3767
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
3768
3768
  }, "failed");
3769
3769
 
3770
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3770
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3771
3771
  import { randomUUID } from "node:crypto";
3772
3772
  var MATCHES = 8;
3773
3773
  var ANSWER = answerSchema();
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
11
11
  import { constants } from "node:fs";
12
12
  import { lstat, open } from "node:fs/promises";
13
13
  var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
@@ -73,7 +73,7 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
73
73
  }
74
74
  }, "syncDirectory");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
77
77
  import { randomUUID } from "node:crypto";
78
78
  import { constants as constants2 } from "node:fs";
79
79
  import { link, open as open2, realpath, rename, unlink } from "node:fs/promises";
@@ -111,7 +111,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
111
111
  }
112
112
  }, "writeFileAtomic");
113
113
 
114
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
114
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
115
115
  var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
116
116
  if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
117
117
  throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
@@ -140,21 +140,21 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
140
140
  }
141
141
  }, "readBoundedUtf8File");
142
142
 
143
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/files/lock.js
143
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/files/lock.js
144
144
  import { mkdir as mkdir2 } from "node:fs/promises";
145
145
  import { basename as basename2, dirname as dirname2 } from "node:path";
146
146
 
147
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
147
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
148
148
  import { randomUUID as randomUUID2 } from "node:crypto";
149
149
  import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
150
150
  import { hostname as hostname2 } from "node:os";
151
151
  import { join as join3 } from "node:path";
152
152
 
153
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
153
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
154
154
  import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
155
155
  import { join as join2 } from "node:path";
156
156
 
157
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
157
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
158
158
  import { hostname } from "node:os";
159
159
  var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
160
160
  var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
@@ -199,7 +199,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
199
199
  }
200
200
  }, "leaseOwnerStatus");
201
201
 
202
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
202
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
203
203
  var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
204
204
  const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
205
205
  options.signal?.throwIfAborted();
@@ -258,7 +258,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
258
258
  return { inspect, recover };
259
259
  }, "leaseInspection");
260
260
 
261
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
261
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
262
262
  import { rmdir, unlink as unlink3 } from "node:fs/promises";
263
263
  var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
264
264
  let releasing;
@@ -283,7 +283,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
283
283
  };
284
284
  }, "ownedNativeLease");
285
285
 
286
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
286
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
287
287
  var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
288
288
  var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
289
289
  const { markerDirectory, legacyMarker } = layout;
@@ -354,7 +354,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
354
354
  };
355
355
  }, "nativeWriterLeaseStore");
356
356
 
357
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/files/lock.js
357
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/files/lock.js
358
358
  var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
359
359
  const folder = dirname2(path);
360
360
  await mkdir2(folder, { recursive: true, mode: 448 });
@@ -369,7 +369,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
369
369
  });
370
370
  }, "acquireLock");
371
371
 
372
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/files/safe-name.js
372
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/files/safe-name.js
373
373
  import { basename as basename3 } from "node:path";
374
374
  var safeName = /* @__PURE__ */ __name((name, platform = process.platform) => {
375
375
  let plain = name === void 0 ? "" : basename3(name.replaceAll("\\", "/")).replace(/[\p{Cc}​-‏‪-‮⁦-⁩]/gu, "").replace(/^\.+/, "");
@@ -5,15 +5,15 @@ import {
5
5
  readLock,
6
6
  releaseLock,
7
7
  takeLock
8
- } from "./chunk-6HLB73UN.js";
8
+ } from "./chunk-SN52ZGFN.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
14
14
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
17
17
  import { randomBytes } from "node:crypto";
18
18
  import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
86
86
  };
87
87
  }, "activityRecorder");
88
88
 
89
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
89
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
90
90
  var ACCESS_SECONDS = 60 * 60;
91
91
  var REFRESH_SECONDS = 30 * 24 * 60 * 60;
92
92
  var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
@@ -7,7 +7,7 @@ import {
7
7
  describeOptions,
8
8
  keyForCommand,
9
9
  metaOf
10
- } from "./chunk-FHPEUAHQ.js";
10
+ } from "./chunk-TGKTIDYS.js";
11
11
  import {
12
12
  jsonSchemaOf
13
13
  } from "./chunk-XS5C5TQ7.js";
@@ -18,7 +18,7 @@ import {
18
18
  __name
19
19
  } from "./chunk-ZVVMGPBJ.js";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
22
22
  var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
23
23
  var outputOf = /* @__PURE__ */ __name((command) => {
24
24
  const entity = answerEntitySchema(command);
@@ -4,7 +4,7 @@ import {
4
4
  isCliFailure,
5
5
  secretNamed,
6
6
  withoutSecrets
7
- } from "./chunk-77Z3OGAT.js";
7
+ } from "./chunk-APSMQIA4.js";
8
8
  import {
9
9
  isContentKey
10
10
  } from "./chunk-NM5GBJME.js";
@@ -12,14 +12,14 @@ import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/runs/run-context.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/runs/run-context.js
16
16
  import { AsyncLocalStorage } from "node:async_hooks";
17
17
  import { createHash } from "node:crypto";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
20
20
  import { homedir } from "node:os";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/runs/events.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/runs/events.js
23
23
  var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
24
24
  var renderEvent = /* @__PURE__ */ __name((event) => {
25
25
  if (event.event === "store")
@@ -71,7 +71,7 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
71
71
  var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
72
72
  var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
73
73
 
74
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
74
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
75
75
  var MESSAGE_AT_MOST = 500;
76
76
  var CAUSES_AT_MOST = 5;
77
77
  var FRAMES_AT_MOST = 15;
@@ -183,7 +183,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
183
183
  return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
184
184
  }, "redactText");
185
185
 
186
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/runs/run-context.js
186
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/runs/run-context.js
187
187
  var REDACTED = "[redacted]";
188
188
  var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
189
189
  if (!record)