@wirecat/cli-memo 0.131.51 → 0.131.53

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 (120) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-3R3VE3W2.js → all-profiles-PJR2VHDP.js} +5 -5
  3. package/dist/bundle/{anthropic-QVYJRACM.js → anthropic-ZUDIWREK.js} +3 -3
  4. package/dist/bundle/{app-server-T3D2PIGZ.js → app-server-EYNQ4L2V.js} +35 -35
  5. package/dist/bundle/auto-JV4T2URZ.js +86 -0
  6. package/dist/bundle/{bun-DTDD2OHK.js → bun-W2ZP6I6Z.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-DWICJAH3.js → bun-sqlite-T2CTJ6AR.js} +2 -2
  8. package/dist/bundle/{chunk-QFC7V5VW.js → chunk-26QKDK5P.js} +5 -5
  9. package/dist/bundle/{chunk-H65NWA3X.js → chunk-2NVP4FZH.js} +1 -1
  10. package/dist/bundle/{chunk-O5UP2KZL.js → chunk-34GJQ4ZR.js} +1 -1
  11. package/dist/bundle/{chunk-RL2DSQCD.js → chunk-3MWNNJII.js} +8 -8
  12. package/dist/bundle/{chunk-OBVKXHOH.js → chunk-4335SGVD.js} +2287 -1326
  13. package/dist/bundle/{chunk-OJFRMK2W.js → chunk-4VQ7FPNW.js} +3 -3
  14. package/dist/bundle/{chunk-5ZGOT57S.js → chunk-5UM2OEOR.js} +2 -2
  15. package/dist/bundle/{chunk-WPW6ULD7.js → chunk-643B3X4D.js} +2 -2
  16. package/dist/bundle/{chunk-56BBTOS2.js → chunk-6NJ5OI2S.js} +1 -1
  17. package/dist/bundle/{chunk-3OL3QRFS.js → chunk-7ZO2LAFF.js} +5 -5
  18. package/dist/bundle/{chunk-6MEVHKIO.js → chunk-AF2ZDP3M.js} +1 -1
  19. package/dist/bundle/{chunk-REROHDUR.js → chunk-AYY5CYJJ.js} +1 -1
  20. package/dist/bundle/{chunk-SXVPRYEF.js → chunk-B5VQSSL2.js} +15 -12
  21. package/dist/bundle/{chunk-E7TMOUWZ.js → chunk-BC7N6IQ6.js} +1 -1
  22. package/dist/bundle/{chunk-PX2B5ZRL.js → chunk-BEO6VJ2E.js} +102 -60
  23. package/dist/bundle/{chunk-4RHIJMRX.js → chunk-CADGAURO.js} +30 -28
  24. package/dist/bundle/{chunk-LYUVULFK.js → chunk-CQPZUKTI.js} +311 -268
  25. package/dist/bundle/{chunk-AEVTXHTY.js → chunk-D63QZQR7.js} +4 -4
  26. package/dist/bundle/{chunk-HRLQQLVD.js → chunk-DDD3CXHR.js} +20 -20
  27. package/dist/bundle/{chunk-ROP27ZJU.js → chunk-F3BUTC2N.js} +51 -36
  28. package/dist/bundle/{chunk-V3TELYLZ.js → chunk-FUINFNUC.js} +1 -1
  29. package/dist/bundle/{chunk-XGNNI3S3.js → chunk-GESLAB4N.js} +2 -2
  30. package/dist/bundle/{chunk-YPLKNKAD.js → chunk-I3TF3CDE.js} +4 -4
  31. package/dist/bundle/{chunk-GSCGRBEQ.js → chunk-IRFHHNSX.js} +182 -154
  32. package/dist/bundle/{chunk-FJ3DAE4M.js → chunk-IVDBHH3N.js} +1 -1
  33. package/dist/bundle/{chunk-E3WIMCV5.js → chunk-JB43Q2QL.js} +1 -1
  34. package/dist/bundle/{chunk-66A646SL.js → chunk-JBQP2M7J.js} +7 -7
  35. package/dist/bundle/{chunk-5JY464PN.js → chunk-JGY2PJ3N.js} +12 -12
  36. package/dist/bundle/{chunk-ETD2DRJD.js → chunk-KK2ATSEC.js} +6 -6
  37. package/dist/bundle/{chunk-JINNS3FI.js → chunk-KTVYCPJW.js} +1 -1
  38. package/dist/bundle/{chunk-JBSMBHTM.js → chunk-LBGZT3W4.js} +5 -5
  39. package/dist/bundle/{chunk-UQ2OA6EM.js → chunk-LCE5LBZC.js} +4 -4
  40. package/dist/bundle/{chunk-ZC2LNXGO.js → chunk-LCP4TVBX.js} +1 -1
  41. package/dist/bundle/{chunk-O5Z74SBZ.js → chunk-MFVZXEQN.js} +23 -21
  42. package/dist/bundle/{chunk-MVV32ZTO.js → chunk-MGDBKE7E.js} +7 -15
  43. package/dist/bundle/{chunk-PWYCF76F.js → chunk-MU4MPJCU.js} +2 -2
  44. package/dist/bundle/{chunk-XN5YDZY7.js → chunk-MV5W4FLV.js} +1 -1
  45. package/dist/bundle/{chunk-6O37NSG6.js → chunk-O7CBAY6J.js} +4 -4
  46. package/dist/bundle/{chunk-4A6JOJLR.js → chunk-OKERVM3M.js} +4 -4
  47. package/dist/bundle/{chunk-GBWOMPZ7.js → chunk-OSPAMIIY.js} +3 -3
  48. package/dist/bundle/{chunk-QIFK3EZM.js → chunk-P3MKPY7D.js} +37 -9
  49. package/dist/bundle/{chunk-4GWFRZ2U.js → chunk-P5UTNYA7.js} +58 -1
  50. package/dist/bundle/{chunk-ECLBZGWI.js → chunk-PHP3T567.js} +3 -3
  51. package/dist/bundle/{chunk-CPLYNBAJ.js → chunk-PSJB456T.js} +1 -1
  52. package/dist/bundle/{chunk-4MWP6Z3W.js → chunk-RSBROHX4.js} +1 -1
  53. package/dist/bundle/{chunk-CZOBBAXM.js → chunk-RX6JTLKD.js} +7 -7
  54. package/dist/bundle/{chunk-JCNBJ3FN.js → chunk-SR3ZNX24.js} +370 -152
  55. package/dist/bundle/{chunk-UDAATSWZ.js → chunk-T5WGWLY2.js} +10 -10
  56. package/dist/bundle/{chunk-AWLAMVNY.js → chunk-UBZN4EWJ.js} +4 -4
  57. package/dist/bundle/{chunk-526KVXRI.js → chunk-VBYV6XQI.js} +2 -2
  58. package/dist/bundle/{chunk-YZB5IL4L.js → chunk-VPCNLTME.js} +2 -2
  59. package/dist/bundle/{chunk-BUHTAMPF.js → chunk-VQTU4ILC.js} +1 -1
  60. package/dist/bundle/{chunk-FZ4GVE36.js → chunk-VXZ7FWKU.js} +2 -2
  61. package/dist/bundle/{chunk-PNNM72BO.js → chunk-WNQUOEUV.js} +7 -4
  62. package/dist/bundle/{chunk-7C3MP5LH.js → chunk-WXFNUZZU.js} +5 -5
  63. package/dist/bundle/{chunk-H7RSMNHL.js → chunk-WYZDNDQ5.js} +489 -407
  64. package/dist/bundle/{chunk-N3UA5PO4.js → chunk-ZTM4UUCP.js} +9 -9
  65. package/dist/bundle/{command-contract-OTVOQLZS.js → command-contract-EWPKHGAZ.js} +11 -11
  66. package/dist/bundle/{decode-ISKRNDDM.js → decode-UWT3Y66W.js} +2 -2
  67. package/dist/bundle/{echarts-TINXXXCB.js → echarts-7VGTR45R.js} +2 -2
  68. package/dist/bundle/{embed-R2KJDGEX.js → embed-CM2QSTNK.js} +3 -3
  69. package/dist/bundle/{embedder-X2Y5RLKE.js → embedder-CDCAMVV7.js} +6 -6
  70. package/dist/bundle/{entry-2MUKT36Z.js → entry-WHEWBNJL.js} +4 -4
  71. package/dist/bundle/failure-XQ7TMBYM.js +66 -0
  72. package/dist/bundle/{first-run-6BSAM4BD.js → first-run-ZBIQO5RZ.js} +5 -5
  73. package/dist/bundle/{first-screen-ALXB4ONR.js → first-screen-CUAY5N6E.js} +12 -12
  74. package/dist/bundle/{instructions-E5NBM2NJ.js → instructions-LYKSTUGQ.js} +1 -1
  75. package/dist/bundle/{mcp-YUPBMZPV.js → mcp-I72UY3QP.js} +35 -35
  76. package/dist/bundle/memo.js +6 -6
  77. package/dist/bundle/{node-NBHZ4XWV.js → node-LFRTSZBZ.js} +2 -2
  78. package/dist/bundle/{node-sqlite-3CBWCPNC.js → node-sqlite-Y47T5FTT.js} +3 -3
  79. package/dist/bundle/{oauth-L5XC2THD.js → oauth-YM5C6VS3.js} +4 -4
  80. package/dist/bundle/{open-WR6QQPVB.js → open-WPA4DW5G.js} +2 -2
  81. package/dist/bundle/{openai-MCPELYCJ.js → openai-RCPT23DA.js} +7 -7
  82. package/dist/bundle/{process-EAEC2FBD.js → process-P2X2KFMR.js} +1 -1
  83. package/dist/bundle/{program-WKKBFQIW.js → program-LE3UATKG.js} +62 -60
  84. package/dist/bundle/{prompt-M4Z35LQ5.js → prompt-65WPTVYC.js} +2 -2
  85. package/dist/bundle/{recognize-VT6NKW6D.js → recognize-MEFMK7HT.js} +1 -1
  86. package/dist/bundle/{remote-6QTPH5PJ.js → remote-4XIR3ZYK.js} +4 -4
  87. package/dist/bundle/{rerank-MJYLXZ4K.js → rerank-YRLAXFFL.js} +4 -4
  88. package/dist/bundle/{serve-KQ6OL3OH.js → serve-6SPZH6CY.js} +6 -6
  89. package/dist/bundle/server-FB75UHSF.js +48 -0
  90. package/dist/bundle/server-IELXA6S2.js +61 -0
  91. package/dist/bundle/{server-UJIH2SBV.js → server-MU43SKL5.js} +50 -50
  92. package/dist/bundle/{state-2PDCOSJN.js → state-G34NVZ7F.js} +3 -3
  93. package/dist/bundle/{store-SXYAS5EI.js → store-6U4SYK4Q.js} +17 -9
  94. package/dist/bundle/store-maintenance-command-ONVPBZLT.js +48 -0
  95. package/dist/bundle/update-TO3RIYTH.js +69 -0
  96. package/dist/doctor/command.d.ts +30 -0
  97. package/dist/doctor/command.d.ts.map +1 -1
  98. package/dist/doctor/command.js +1 -1
  99. package/dist/doctor/command.js.map +1 -1
  100. package/dist/failure.js +2 -2
  101. package/dist/failure.js.map +1 -1
  102. package/dist/knowledge/relationships-scan.d.ts.map +1 -1
  103. package/dist/knowledge/relationships-scan.js +4 -3
  104. package/dist/knowledge/relationships-scan.js.map +1 -1
  105. package/dist/knowledge/relationships.d.ts +5 -1
  106. package/dist/knowledge/relationships.d.ts.map +1 -1
  107. package/dist/run/import.d.ts.map +1 -1
  108. package/dist/run/import.js +3 -2
  109. package/dist/run/import.js.map +1 -1
  110. package/dist/version.d.ts +1 -1
  111. package/dist/version.js +1 -1
  112. package/package.json +2 -2
  113. package/skills/morning-digest/SKILL.md +38 -13
  114. package/dist/bundle/auto-XJCSM7WE.js +0 -86
  115. package/dist/bundle/failure-KYUARIL2.js +0 -66
  116. package/dist/bundle/server-AVAJTC5G.js +0 -61
  117. package/dist/bundle/server-QAFF3RP5.js +0 -48
  118. package/dist/bundle/store-maintenance-command-ARTXRVYD.js +0 -48
  119. package/dist/bundle/update-MOZKRB2Z.js +0 -69
  120. /package/dist/bundle/{chunk-4ZSY3MKL.js → chunk-2H36DXV7.js} +0 -0
@@ -4,10 +4,10 @@ import {
4
4
  readSharedSection,
5
5
  sharedConfigPath,
6
6
  writeSharedSection
7
- } from "./chunk-AWLAMVNY.js";
7
+ } from "./chunk-UBZN4EWJ.js";
8
8
  import {
9
9
  storePath
10
- } from "./chunk-4MWP6Z3W.js";
10
+ } from "./chunk-RSBROHX4.js";
11
11
  import {
12
12
  CliError
13
13
  } from "./chunk-4ZW6ZJ2V.js";
@@ -15,7 +15,7 @@ import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
19
19
  var PERMISSION_ANSWERS = ["readonly", "allow"];
20
20
  var QUESTIONS = ["languages", "tools", "permissions"];
21
21
  var SECTION = "setup";
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  decodeOgg
6
- } from "./chunk-ECLBZGWI.js";
6
+ } from "./chunk-PHP3T567.js";
7
7
  import {
8
8
  importFrom
9
9
  } from "./chunk-Y5E2WNWB.js";
@@ -14,7 +14,7 @@ import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/speech/decode.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/speech/decode.js
18
18
  import { spawn } from "node:child_process";
19
19
  import { mkdtemp, rm, writeFile } from "node:fs/promises";
20
20
  import { createRequire } from "node:module";
@@ -4,7 +4,7 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-CPLYNBAJ.js";
7
+ } from "./chunk-PSJB456T.js";
8
8
  import {
9
9
  CliError
10
10
  } from "./chunk-4ZW6ZJ2V.js";
@@ -12,7 +12,7 @@ import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
16
16
  import { createInterface } from "node:readline";
17
17
  import { Writable } from "node:stream";
18
18
  var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/ports/app.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/ports/app.js
11
11
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
12
12
  var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
13
13
  const name = envName(app, "READ_ONLY");
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PRAGMAS
5
- } from "./chunk-XN5YDZY7.js";
5
+ } from "./chunk-MV5W4FLV.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-4ZW6ZJ2V.js";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
14
14
  var SQLITE_WARNING = "SQLite is an experimental feature";
15
15
  var quieted = /* @__PURE__ */ new WeakSet();
16
16
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
31
31
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
32
32
  }, "isSqliteWarning");
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/store/open.js
35
35
  var openCache = /* @__PURE__ */ __name(async (path) => {
36
36
  const database = await openFile(path);
37
37
  try {
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
44
44
  }, "openCache");
45
45
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
46
46
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
47
- const { openWithBunSqlite } = await import("./bun-sqlite-DWICJAH3.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-T2CTJ6AR.js");
48
48
  return await openWithBunSqlite(path);
49
49
  }, "openUnderBun");
50
50
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
51
51
  quietSqliteWarning();
52
- const { openWithNodeSqlite } = await import("./node-sqlite-3CBWCPNC.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-Y47T5FTT.js");
53
53
  return openWithNodeSqlite(path);
54
54
  }, "openUnderNode");
55
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
8
8
  var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
9
9
  const all = typeof profile !== "string";
10
10
  const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/background/processes.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/background/processes.js
8
8
  import { execFileSync } from "node:child_process";
9
9
  import { readdirSync, readFileSync, readlinkSync } from "node:fs";
10
10
  var alive = /* @__PURE__ */ __name((pid) => {
@@ -7,10 +7,10 @@ import {
7
7
  agentJson,
8
8
  commandAvailability,
9
9
  failureContext
10
- } from "./chunk-QIFK3EZM.js";
10
+ } from "./chunk-P3MKPY7D.js";
11
11
  import {
12
12
  callerOf
13
- } from "./chunk-XGNNI3S3.js";
13
+ } from "./chunk-GESLAB4N.js";
14
14
  import {
15
15
  QUERY_ARGUMENT,
16
16
  lentConnection,
@@ -18,7 +18,7 @@ import {
18
18
  refuseLacking,
19
19
  servicesFor,
20
20
  storeModeDeps
21
- } from "./chunk-H7RSMNHL.js";
21
+ } from "./chunk-WYZDNDQ5.js";
22
22
  import {
23
23
  DEFAULT_OUTPUT_BYTES,
24
24
  ENTITIES,
@@ -42,19 +42,22 @@ import {
42
42
  sealed,
43
43
  startRecording,
44
44
  traceOf
45
- } from "./chunk-GSCGRBEQ.js";
45
+ } from "./chunk-IRFHHNSX.js";
46
46
  import {
47
47
  currentCaller,
48
48
  keepsSuccess,
49
49
  runContextOf,
50
50
  withCaller
51
- } from "./chunk-MVV32ZTO.js";
51
+ } from "./chunk-MGDBKE7E.js";
52
52
  import {
53
53
  queryDescription
54
- } from "./chunk-JCNBJ3FN.js";
54
+ } from "./chunk-SR3ZNX24.js";
55
+ import {
56
+ storeDamaged
57
+ } from "./chunk-P5UTNYA7.js";
55
58
  import {
56
59
  MAX_BUFFERED_INPUT
57
- } from "./chunk-CPLYNBAJ.js";
60
+ } from "./chunk-PSJB456T.js";
58
61
  import {
59
62
  captureStreams,
60
63
  traceIdOf
@@ -106,7 +109,7 @@ import {
106
109
  __name
107
110
  } from "./chunk-ZVVMGPBJ.js";
108
111
 
109
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/mcp/agent.js
112
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/agent.js
110
113
  import { Readable } from "node:stream";
111
114
 
112
115
  // node_modules/.pnpm/@wirecat+cli-base@0.82.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
@@ -3103,7 +3106,7 @@ var VOCABULARY = defineVocabulary({
3103
3106
  ]
3104
3107
  });
3105
3108
 
3106
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3109
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3107
3110
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
3108
3111
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
3109
3112
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3326,7 +3329,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3326
3329
  }
3327
3330
  }, "runCommandForAgent");
3328
3331
 
3329
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3332
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3330
3333
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3331
3334
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3332
3335
  var message = pipe(
@@ -3582,10 +3585,10 @@ var answered = /* @__PURE__ */ __name((answer, maxBytes = DEFAULT_OUTPUT_BYTES,
3582
3585
  var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3583
3586
  const judged = judgedEffects(effects);
3584
3587
  const context = { ...failureContext(errors), ...judged ? { effects: judged } : {} };
3585
- return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
3588
+ return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
3586
3589
  }, "failed");
3587
3590
 
3588
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3591
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3589
3592
  import { randomUUID } from "node:crypto";
3590
3593
  var MATCHES = 8;
3591
3594
  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.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/http/public-url.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/http/public-url.js
11
11
  var EXAMPLE = "--public-url https://<name>.ts.net";
12
12
  var publicUrlOf = /* @__PURE__ */ __name((given, { missing, reaches, path = false }) => {
13
13
  if (!given)