@wirecat/zoom-cli 0.68.0 → 0.69.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 (122) hide show
  1. package/dist/bin/zm.js +2 -2
  2. package/dist/bundle/{all-profiles-R66UM3HM.js → all-profiles-ZQWPCJEK.js} +7 -7
  3. package/dist/bundle/{answer-policy-UCGUO53A.js → answer-policy-VBDYLUXI.js} +52 -52
  4. package/dist/bundle/{anthropic-4ZI2BPLG.js → anthropic-7FUQ2HYJ.js} +3 -3
  5. package/dist/bundle/{app-server-64O5IQI5.js → app-server-DNPE2EQB.js} +46 -46
  6. package/dist/bundle/{bun-HUHQD76Z.js → bun-ZVQFCFCC.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-VOVHPTIF.js → bun-sqlite-EB2UMUPJ.js} +2 -2
  8. package/dist/bundle/{chunk-EZRPSZJS.js → chunk-2SYWVIQJ.js} +1 -1
  9. package/dist/bundle/chunk-37B7A4RP.js +66 -0
  10. package/dist/bundle/{chunk-YJY3W2ZT.js → chunk-3TPRYZUW.js} +18 -15
  11. package/dist/bundle/{chunk-K67V24AT.js → chunk-4APZQYCH.js} +3 -3
  12. package/dist/bundle/{chunk-7QNJICKZ.js → chunk-52DCABMU.js} +23 -23
  13. package/dist/bundle/{chunk-KUB2U5NT.js → chunk-5GOE6PQK.js} +5 -5
  14. package/dist/bundle/{chunk-77KFLU5F.js → chunk-5H6VTEEC.js} +2 -2
  15. package/dist/bundle/{chunk-PIHBD3YS.js → chunk-5ZF6QVMC.js} +4 -4
  16. package/dist/bundle/{chunk-FMQS7HCC.js → chunk-5ZJXKASF.js} +249 -8
  17. package/dist/bundle/chunk-6AMMTXEA.js +12473 -0
  18. package/dist/bundle/{chunk-SRP6SFFD.js → chunk-6KMTQX3D.js} +1 -1
  19. package/dist/bundle/{chunk-2T6XHWDX.js → chunk-6N2D6JGX.js} +1 -1
  20. package/dist/bundle/{chunk-R7LFGEDE.js → chunk-6TICX3MN.js} +2 -2
  21. package/dist/bundle/{chunk-W42BJ65M.js → chunk-B5D7NZI7.js} +1 -1
  22. package/dist/bundle/{chunk-EWIBLDQQ.js → chunk-C6TEYKXV.js} +6 -6
  23. package/dist/bundle/{chunk-32FPA7P2.js → chunk-CKK6JOC4.js} +1 -1
  24. package/dist/bundle/{chunk-JRCYFCPL.js → chunk-CUZHKYC2.js} +19 -19
  25. package/dist/bundle/{chunk-355PHJYX.js → chunk-DHD25JII.js} +1 -1
  26. package/dist/bundle/{chunk-PUTGTW6W.js → chunk-EPPSMCEV.js} +1 -1
  27. package/dist/bundle/{chunk-AYEVBAGO.js → chunk-F5DYBWH7.js} +143 -22
  28. package/dist/bundle/{chunk-AJ7CMUGD.js → chunk-G6IX2MD2.js} +172 -143
  29. package/dist/bundle/{chunk-VLD7Y4SY.js → chunk-GR3QDHBU.js} +4 -4
  30. package/dist/bundle/{chunk-DGNPJGD3.js → chunk-GXDOTUUO.js} +8 -14
  31. package/dist/bundle/{chunk-5JAYUG3X.js → chunk-H3MFBYTQ.js} +2 -2
  32. package/dist/bundle/{chunk-TDGZMC6K.js → chunk-HC56J5LB.js} +57 -53
  33. package/dist/bundle/{chunk-4YFJYSSK.js → chunk-HSI7YOYK.js} +45 -29
  34. package/dist/bundle/{chunk-LYWUG43B.js → chunk-HW5QTRFF.js} +31 -31
  35. package/dist/bundle/{chunk-65T3PU75.js → chunk-IEC4E65G.js} +1 -1
  36. package/dist/bundle/{chunk-L4WVLRXM.js → chunk-IPBZKUC3.js} +3 -3
  37. package/dist/bundle/{chunk-TN3FH2GQ.js → chunk-JHFP3Z5S.js} +7 -7
  38. package/dist/bundle/{chunk-3BRV2YU2.js → chunk-JX5JJZC3.js} +2 -2
  39. package/dist/bundle/{chunk-YTF2WPV4.js → chunk-JZ4YOAHA.js} +679 -496
  40. package/dist/bundle/{chunk-474WF55M.js → chunk-KX5MZVPX.js} +38 -25
  41. package/dist/bundle/{chunk-TUNQ6NE2.js → chunk-L62EJDNZ.js} +2 -2
  42. package/dist/bundle/{chunk-6TJ62LZQ.js → chunk-LDRQ5NAP.js} +3 -3
  43. package/dist/bundle/{chunk-7DUYFITC.js → chunk-LEA4BGK7.js} +9 -9
  44. package/dist/bundle/{chunk-P2TISY3R.js → chunk-LQX74VKG.js} +1 -1
  45. package/dist/bundle/{chunk-RP3U3J53.js → chunk-MJMVIFSC.js} +6 -6
  46. package/dist/bundle/{chunk-A63ZFOQJ.js → chunk-MNOVYS43.js} +3 -3
  47. package/dist/bundle/{chunk-YQRNFG2E.js → chunk-MOTKS7XG.js} +7176 -13499
  48. package/dist/bundle/{chunk-6T3P226D.js → chunk-MSDCZ6GT.js} +4 -4
  49. package/dist/bundle/{chunk-DVA6MQWK.js → chunk-MVDPZRFE.js} +1 -1
  50. package/dist/bundle/{chunk-LBOSTBAY.js → chunk-O7L44JK2.js} +2031 -1900
  51. package/dist/bundle/{chunk-Y5LP5SHV.js → chunk-OSBHEM2A.js} +9 -9
  52. package/dist/bundle/{chunk-RRYUD2EF.js → chunk-QLGG7S6F.js} +2 -2
  53. package/dist/bundle/{chunk-ZRD3NDOX.js → chunk-QW5VPZEH.js} +1 -1
  54. package/dist/bundle/{chunk-LV7QRR5S.js → chunk-QXM7S3Y3.js} +5 -5
  55. package/dist/bundle/{chunk-US5C3WAY.js → chunk-R2ULMWB4.js} +27 -27
  56. package/dist/bundle/{chunk-QXTREL2M.js → chunk-R3JYPY3J.js} +2 -2
  57. package/dist/bundle/{chunk-JO4YADNV.js → chunk-RPQ3JOD3.js} +3 -3
  58. package/dist/bundle/{chunk-4TLPOY22.js → chunk-S2EAGDS7.js} +10 -10
  59. package/dist/bundle/{chunk-SSPSNSC5.js → chunk-SQT47CFW.js} +1 -1
  60. package/dist/bundle/{chunk-HXOAPH47.js → chunk-SZ3Z4ZNO.js} +1 -1
  61. package/dist/bundle/{chunk-DWSUSWAX.js → chunk-T5X4LGXE.js} +130 -11
  62. package/dist/bundle/{chunk-2OSBCYJT.js → chunk-TFFEFEG2.js} +16 -16
  63. package/dist/bundle/{chunk-EH5QGQFR.js → chunk-TKXLWFM2.js} +2 -2
  64. package/dist/bundle/{chunk-AVEIQMHZ.js → chunk-TN77LX6W.js} +1 -1
  65. package/dist/bundle/{chunk-77I67HWF.js → chunk-TWIC6JJG.js} +7 -7
  66. package/dist/bundle/{chunk-TZUKDM72.js → chunk-UEZ6URJR.js} +10 -10
  67. package/dist/bundle/{chunk-EJDV5IIF.js → chunk-V4MM6GST.js} +1 -1
  68. package/dist/bundle/{chunk-BSM43OMN.js → chunk-V74QFMSL.js} +1 -1
  69. package/dist/bundle/{chunk-6CJ7NHIP.js → chunk-WY4NYPPS.js} +12 -12
  70. package/dist/bundle/{chunk-FNQASORM.js → chunk-XITUFTON.js} +1 -1
  71. package/dist/bundle/{chunk-GOXDBCDM.js → chunk-XJBYGMZ4.js} +107 -63
  72. package/dist/bundle/{chunk-UU5PLDRA.js → chunk-XRZDYWF6.js} +2 -2
  73. package/dist/bundle/{chunk-6XO7RTJY.js → chunk-Z6TTGTMU.js} +92 -5
  74. package/dist/bundle/{chunk-UDJTRFRV.js → chunk-ZRHMB3LQ.js} +1 -1
  75. package/dist/bundle/{cli-VQJ7ZRYR.js → cli-P3BZUE6S.js} +67 -53
  76. package/dist/bundle/command-contract-TOLB32NJ.js +41 -0
  77. package/dist/bundle/config-4KLLIADY.js +90 -0
  78. package/dist/bundle/{decode-L3ENO2XH.js → decode-QWOQXM7M.js} +2 -2
  79. package/dist/bundle/{dist-WQLS7U23.js → dist-OUE4MF37.js} +79 -19
  80. package/dist/bundle/{echarts-5LLJ6JXC.js → echarts-65IMPY43.js} +2 -2
  81. package/dist/bundle/{embed-37MYTCU7.js → embed-4IULBCKL.js} +3 -3
  82. package/dist/bundle/{embedder-GNGHVJAO.js → embedder-JW4W6IZI.js} +6 -6
  83. package/dist/bundle/{first-run-NR5JKYP3.js → first-run-CH6C674R.js} +5 -5
  84. package/dist/bundle/first-screen-OCAW5ZN6.js +39 -0
  85. package/dist/bundle/{instructions-P72XX4AK.js → instructions-G5QIH2TM.js} +1 -1
  86. package/dist/bundle/{main-QYFCYSTW.js → main-O4ZJIEWP.js} +12 -12
  87. package/dist/bundle/{meetings-66UQINKI.js → meetings-77CCAVYD.js} +1 -1
  88. package/dist/bundle/{node-ZB4RNICS.js → node-E6VQHU4Y.js} +2 -2
  89. package/dist/bundle/{node-sqlite-XPRKBDF3.js → node-sqlite-RJZ4PGLD.js} +3 -3
  90. package/dist/bundle/{oauth-WJRDUU5J.js → oauth-F4JKNRW4.js} +4 -4
  91. package/dist/bundle/{open-S2YSIEOW.js → open-NYOGMIAA.js} +2 -2
  92. package/dist/bundle/{openai-CRNZFNZD.js → openai-5U6EQTFQ.js} +8 -8
  93. package/dist/bundle/{process-XNN4WG6N.js → process-OBWUKBMX.js} +1 -1
  94. package/dist/bundle/{program-BRPJKRCX.js → program-MU7DEJTO.js} +61 -61
  95. package/dist/bundle/{prompt-7RQOL25I.js → prompt-2QWQTHWT.js} +2 -2
  96. package/dist/bundle/{recognize-N5WADGQB.js → recognize-SNUNTUC3.js} +1 -1
  97. package/dist/bundle/{remote-WHYV35IF.js → remote-2CTCIQGF.js} +4 -4
  98. package/dist/bundle/{rerank-FBMZVWSH.js → rerank-XDA7NJNH.js} +4 -4
  99. package/dist/bundle/{run-log-TOCHREH2.js → run-log-NSG3DJVX.js} +50 -50
  100. package/dist/bundle/{serve-4BABX4WS.js → serve-TWQFHOV2.js} +6 -6
  101. package/dist/bundle/{server-CDVI6LOB.js → server-RIQ6HMH2.js} +38 -38
  102. package/dist/bundle/server-XO6XQQTJ.js +72 -0
  103. package/dist/bundle/{services-PIY33I7R.js → services-NKZQJQIV.js} +30 -24
  104. package/dist/bundle/{speech-LS5Q4FL2.js → speech-ZOB76SXA.js} +10 -10
  105. package/dist/bundle/{state-YUX5R2R7.js → state-7YYEIXQ5.js} +3 -3
  106. package/dist/bundle/{store-BD7HAXAA.js → store-E6RTSSNR.js} +21 -12
  107. package/dist/bundle/{store-ERMGBF2B.js → store-OX4HRBLO.js} +45 -14
  108. package/dist/bundle/store-connection-55QPNUDS.js +83 -0
  109. package/dist/bundle/store-maintenance-command-Q5MSU6OK.js +62 -0
  110. package/dist/bundle/zm.js +2 -2
  111. package/dist/bundle/{zoom-app-XJXZ4ZBX.js → zoom-app-TSI2MGVK.js} +2 -2
  112. package/dist/version.d.ts +1 -1
  113. package/dist/version.js +1 -1
  114. package/package.json +2 -2
  115. package/dist/bundle/chunk-NUJMJQXV.js +0 -787
  116. package/dist/bundle/chunk-YOAEZSDG.js +0 -22
  117. package/dist/bundle/command-contract-JPUWWYIV.js +0 -41
  118. package/dist/bundle/config-YGLLR77A.js +0 -90
  119. package/dist/bundle/first-screen-RCR7ATO2.js +0 -39
  120. package/dist/bundle/server-XOFQKFVO.js +0 -72
  121. package/dist/bundle/store-connection-JBR6CMTJ.js +0 -83
  122. package/dist/bundle/store-maintenance-command-I5DUSO2C.js +0 -62
package/dist/bin/zm.js CHANGED
@@ -9,7 +9,7 @@ if (
9
9
  (words[0] === "--version" || words[0] === "-V") &&
10
10
  !Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
11
11
  ) {
12
- process.stdout.write("0.68.0\n")
12
+ process.stdout.write("0.69.0\n")
13
13
  } else {
14
14
  // Before the bundle compiles: the bundle's own call comes after its chunks.
15
15
  module.enableCompileCache()
@@ -28,7 +28,7 @@ if (
28
28
  : next(specifier, context),
29
29
  })
30
30
  }
31
- const chunks = ["../bundle/all-profiles-R66UM3HM.js","../bundle/answer-policy-UCGUO53A.js","../bundle/anthropic-4ZI2BPLG.js","../bundle/app-server-64O5IQI5.js","../bundle/bun-HUHQD76Z.js","../bundle/bun-sqlite-VOVHPTIF.js","../bundle/cli-VQJ7ZRYR.js","../bundle/command-contract-JPUWWYIV.js","../bundle/config-YGLLR77A.js","../bundle/decode-L3ENO2XH.js","../bundle/dispatch-5MGDLOK4.js","../bundle/dist-WQLS7U23.js","../bundle/dist-XUFQCJXW.js","../bundle/echarts-5LLJ6JXC.js","../bundle/embed-37MYTCU7.js","../bundle/embedder-GNGHVJAO.js","../bundle/failure-CR64C4XA.js","../bundle/first-run-NR5JKYP3.js","../bundle/first-screen-RCR7ATO2.js","../bundle/folders-VU4IN35Y.js","../bundle/instructions-P72XX4AK.js","../bundle/main-QYFCYSTW.js","../bundle/mcp-M4QN2E7R.js","../bundle/meetings-66UQINKI.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-ZB4RNICS.js","../bundle/node-sqlite-XPRKBDF3.js","../bundle/oauth-WJRDUU5J.js","../bundle/open-S2YSIEOW.js","../bundle/openai-CRNZFNZD.js","../bundle/output-file-6COFGPUL.js","../bundle/process-XNN4WG6N.js","../bundle/program-BRPJKRCX.js","../bundle/prompt-7RQOL25I.js","../bundle/recognize-N5WADGQB.js","../bundle/remote-WHYV35IF.js","../bundle/rerank-FBMZVWSH.js","../bundle/run-log-TOCHREH2.js","../bundle/serve-4BABX4WS.js","../bundle/server-CDVI6LOB.js","../bundle/server-XOFQKFVO.js","../bundle/services-PIY33I7R.js","../bundle/speech-LS5Q4FL2.js","../bundle/state-YUX5R2R7.js","../bundle/store-BD7HAXAA.js","../bundle/store-ERMGBF2B.js","../bundle/store-connection-JBR6CMTJ.js","../bundle/store-maintenance-command-I5DUSO2C.js","../bundle/streaming-O53PIORL.js","../bundle/tokens-QKNEP2GJ.js","../bundle/zoom-app-XJXZ4ZBX.js"]
31
+ const chunks = ["../bundle/all-profiles-ZQWPCJEK.js","../bundle/answer-policy-VBDYLUXI.js","../bundle/anthropic-7FUQ2HYJ.js","../bundle/app-server-DNPE2EQB.js","../bundle/bun-ZVQFCFCC.js","../bundle/bun-sqlite-EB2UMUPJ.js","../bundle/cli-P3BZUE6S.js","../bundle/command-contract-TOLB32NJ.js","../bundle/config-4KLLIADY.js","../bundle/decode-QWOQXM7M.js","../bundle/dispatch-5MGDLOK4.js","../bundle/dist-OUE4MF37.js","../bundle/dist-XUFQCJXW.js","../bundle/echarts-65IMPY43.js","../bundle/embed-4IULBCKL.js","../bundle/embedder-JW4W6IZI.js","../bundle/failure-CR64C4XA.js","../bundle/first-run-CH6C674R.js","../bundle/first-screen-OCAW5ZN6.js","../bundle/folders-VU4IN35Y.js","../bundle/instructions-G5QIH2TM.js","../bundle/main-O4ZJIEWP.js","../bundle/mcp-M4QN2E7R.js","../bundle/meetings-77CCAVYD.js","../bundle/node-E6VQHU4Y.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-RJZ4PGLD.js","../bundle/oauth-F4JKNRW4.js","../bundle/open-NYOGMIAA.js","../bundle/openai-5U6EQTFQ.js","../bundle/output-file-6COFGPUL.js","../bundle/process-OBWUKBMX.js","../bundle/program-MU7DEJTO.js","../bundle/prompt-2QWQTHWT.js","../bundle/recognize-SNUNTUC3.js","../bundle/remote-2CTCIQGF.js","../bundle/rerank-XDA7NJNH.js","../bundle/run-log-NSG3DJVX.js","../bundle/serve-TWQFHOV2.js","../bundle/server-RIQ6HMH2.js","../bundle/server-XO6XQQTJ.js","../bundle/services-NKZQJQIV.js","../bundle/speech-ZOB76SXA.js","../bundle/state-7YYEIXQ5.js","../bundle/store-E6RTSSNR.js","../bundle/store-OX4HRBLO.js","../bundle/store-connection-55QPNUDS.js","../bundle/store-maintenance-command-Q5MSU6OK.js","../bundle/streaming-O53PIORL.js","../bundle/tokens-QKNEP2GJ.js","../bundle/zoom-app-TSI2MGVK.js"]
32
32
  if (((words) => words
33
33
  .filter((word) => !word.startsWith("-"))
34
34
  .slice(0, 2)
@@ -2,20 +2,20 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answeredWire
5
- } from "./chunk-HXOAPH47.js";
5
+ } from "./chunk-SZ3Z4ZNO.js";
6
6
  import {
7
7
  CALLER_META_KEY,
8
8
  PROXY_CLIENT_NAME,
9
9
  StdioServerTransport,
10
10
  callerOf,
11
11
  serveStdio
12
- } from "./chunk-UU5PLDRA.js";
12
+ } from "./chunk-XRZDYWF6.js";
13
13
  import {
14
14
  McpServer
15
15
  } from "./chunk-5D4AEUVA.js";
16
- import "./chunk-RP3U3J53.js";
17
- import "./chunk-YOAEZSDG.js";
18
- import "./chunk-EJDV5IIF.js";
16
+ import "./chunk-MJMVIFSC.js";
17
+ import "./chunk-37B7A4RP.js";
18
+ import "./chunk-V4MM6GST.js";
19
19
  import "./chunk-VOXIGICJ.js";
20
20
  import "./chunk-KNE6VFHZ.js";
21
21
  import "./chunk-NRRI37NJ.js";
@@ -26,7 +26,7 @@ import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
30
30
  import { spawn } from "node:child_process";
31
31
  import { randomUUID } from "node:crypto";
32
32
  var PROTOCOL = "2025-06-18";
@@ -260,7 +260,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
260
260
  }, "serveAllProfilesOverStdio");
261
261
  var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
262
262
  const { build, close } = allProfilesServer(options);
263
- const { serveOverHttp } = await import("./serve-4BABX4WS.js");
263
+ const { serveOverHttp } = await import("./serve-TWQFHOV2.js");
264
264
  const listening = await serveOverHttp(build, {
265
265
  ...http,
266
266
  appName: options.command,
@@ -1,69 +1,69 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
- import "./chunk-LBOSTBAY.js";
4
- import "./chunk-Y5LP5SHV.js";
5
- import "./chunk-W42BJ65M.js";
6
- import "./chunk-355PHJYX.js";
7
- import "./chunk-4TLPOY22.js";
8
- import "./chunk-DGNPJGD3.js";
9
- import "./chunk-SSPSNSC5.js";
10
- import "./chunk-474WF55M.js";
11
- import "./chunk-7DUYFITC.js";
3
+ import "./chunk-O7L44JK2.js";
4
+ import "./chunk-OSBHEM2A.js";
5
+ import "./chunk-B5D7NZI7.js";
6
+ import "./chunk-DHD25JII.js";
7
+ import "./chunk-S2EAGDS7.js";
8
+ import "./chunk-GXDOTUUO.js";
9
+ import "./chunk-SQT47CFW.js";
10
+ import "./chunk-KX5MZVPX.js";
11
+ import "./chunk-LEA4BGK7.js";
12
12
  import {
13
13
  failureContext
14
- } from "./chunk-6XO7RTJY.js";
15
- import "./chunk-6T3P226D.js";
16
- import "./chunk-GOXDBCDM.js";
17
- import "./chunk-FNQASORM.js";
18
- import "./chunk-US5C3WAY.js";
19
- import "./chunk-2OSBCYJT.js";
20
- import "./chunk-EH5QGQFR.js";
21
- import "./chunk-YTF2WPV4.js";
22
- import "./chunk-6CJ7NHIP.js";
14
+ } from "./chunk-Z6TTGTMU.js";
15
+ import "./chunk-MSDCZ6GT.js";
16
+ import "./chunk-XJBYGMZ4.js";
17
+ import "./chunk-XITUFTON.js";
18
+ import "./chunk-R2ULMWB4.js";
19
+ import "./chunk-TFFEFEG2.js";
20
+ import "./chunk-TKXLWFM2.js";
21
+ import "./chunk-JZ4YOAHA.js";
22
+ import "./chunk-WY4NYPPS.js";
23
23
  import "./chunk-BOAMDYLY.js";
24
24
  import "./chunk-VW6BF6M7.js";
25
- import "./chunk-FMQS7HCC.js";
26
- import "./chunk-4YFJYSSK.js";
27
- import "./chunk-EWIBLDQQ.js";
25
+ import "./chunk-5ZJXKASF.js";
26
+ import "./chunk-HSI7YOYK.js";
27
+ import "./chunk-C6TEYKXV.js";
28
28
  import "./chunk-HTQTIKWP.js";
29
- import "./chunk-K67V24AT.js";
29
+ import "./chunk-4APZQYCH.js";
30
30
  import {
31
31
  judgedEffects,
32
32
  judgedTargets
33
- } from "./chunk-AJ7CMUGD.js";
34
- import "./chunk-AVEIQMHZ.js";
35
- import "./chunk-RP3U3J53.js";
36
- import "./chunk-L4WVLRXM.js";
37
- import "./chunk-JO4YADNV.js";
38
- import "./chunk-DVA6MQWK.js";
39
- import "./chunk-JRCYFCPL.js";
40
- import "./chunk-YOAEZSDG.js";
41
- import "./chunk-65T3PU75.js";
42
- import "./chunk-TUNQ6NE2.js";
43
- import "./chunk-YQRNFG2E.js";
44
- import "./chunk-77I67HWF.js";
45
- import "./chunk-NUJMJQXV.js";
46
- import "./chunk-DWSUSWAX.js";
47
- import "./chunk-VLD7Y4SY.js";
48
- import "./chunk-AYEVBAGO.js";
49
- import "./chunk-EJDV5IIF.js";
50
- import "./chunk-RRYUD2EF.js";
51
- import "./chunk-2T6XHWDX.js";
52
- import "./chunk-EZRPSZJS.js";
53
- import "./chunk-ZRD3NDOX.js";
54
- import "./chunk-3BRV2YU2.js";
55
- import "./chunk-KUB2U5NT.js";
56
- import "./chunk-6TJ62LZQ.js";
57
- import "./chunk-32FPA7P2.js";
33
+ } from "./chunk-G6IX2MD2.js";
34
+ import "./chunk-TN77LX6W.js";
35
+ import "./chunk-MJMVIFSC.js";
36
+ import "./chunk-IPBZKUC3.js";
37
+ import "./chunk-RPQ3JOD3.js";
38
+ import "./chunk-MVDPZRFE.js";
39
+ import "./chunk-CUZHKYC2.js";
40
+ import "./chunk-IEC4E65G.js";
41
+ import "./chunk-L62EJDNZ.js";
42
+ import "./chunk-MOTKS7XG.js";
43
+ import "./chunk-TWIC6JJG.js";
44
+ import "./chunk-6AMMTXEA.js";
45
+ import "./chunk-T5X4LGXE.js";
46
+ import "./chunk-37B7A4RP.js";
47
+ import "./chunk-GR3QDHBU.js";
48
+ import "./chunk-F5DYBWH7.js";
49
+ import "./chunk-V4MM6GST.js";
50
+ import "./chunk-QLGG7S6F.js";
51
+ import "./chunk-6N2D6JGX.js";
52
+ import "./chunk-2SYWVIQJ.js";
53
+ import "./chunk-QW5VPZEH.js";
54
+ import "./chunk-JX5JJZC3.js";
55
+ import "./chunk-5GOE6PQK.js";
56
+ import "./chunk-LDRQ5NAP.js";
57
+ import "./chunk-CKK6JOC4.js";
58
58
  import {
59
59
  VERSION,
60
60
  ZM
61
- } from "./chunk-BSM43OMN.js";
61
+ } from "./chunk-V74QFMSL.js";
62
62
  import "./chunk-P3ASN72F.js";
63
63
  import "./chunk-D72URWJE.js";
64
- import "./chunk-LV7QRR5S.js";
65
- import "./chunk-PUTGTW6W.js";
66
- import "./chunk-TDGZMC6K.js";
64
+ import "./chunk-QXM7S3Y3.js";
65
+ import "./chunk-EPPSMCEV.js";
66
+ import "./chunk-HC56J5LB.js";
67
67
  import "./chunk-B6JMVB6R.js";
68
68
  import "./chunk-VOXIGICJ.js";
69
69
  import "./chunk-KNE6VFHZ.js";
@@ -76,7 +76,7 @@ import {
76
76
  import "./chunk-Y5E2WNWB.js";
77
77
  import "./chunk-FEM2JQN2.js";
78
78
  import "./chunk-OE7EIP5L.js";
79
- import "./chunk-P2TISY3R.js";
79
+ import "./chunk-LQX74VKG.js";
80
80
  import {
81
81
  __name
82
82
  } from "./chunk-ZVVMGPBJ.js";
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  checkedOptions
5
- } from "./chunk-EZRPSZJS.js";
5
+ } from "./chunk-2SYWVIQJ.js";
6
6
  import {
7
7
  messagesFor,
8
8
  systemFor
9
- } from "./chunk-ZRD3NDOX.js";
9
+ } from "./chunk-QW5VPZEH.js";
10
10
  import {
11
11
  Anthropic
12
12
  } from "./chunk-ADLS6FVG.js";
@@ -24,7 +24,7 @@ import {
24
24
  __name
25
25
  } from "./chunk-ZVVMGPBJ.js";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/models/anthropic.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/models/anthropic.js
28
28
  var options = strictObject({
29
29
  stop_sequences: optional(array(string()))
30
30
  });
@@ -3,48 +3,48 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-LYWUG43B.js";
6
+ } from "./chunk-HW5QTRFF.js";
7
7
  import {
8
8
  mcpUrlOf
9
- } from "./chunk-474WF55M.js";
9
+ } from "./chunk-KX5MZVPX.js";
10
10
  import {
11
11
  answeredWire
12
- } from "./chunk-HXOAPH47.js";
12
+ } from "./chunk-SZ3Z4ZNO.js";
13
13
  import {
14
14
  answered,
15
15
  failed,
16
16
  registerCommands,
17
17
  runCommandForAgent,
18
18
  toolsFromCommands
19
- } from "./chunk-YJY3W2ZT.js";
19
+ } from "./chunk-3TPRYZUW.js";
20
20
  import {
21
21
  agentJson,
22
22
  skillResource
23
- } from "./chunk-7DUYFITC.js";
23
+ } from "./chunk-LEA4BGK7.js";
24
24
  import {
25
25
  StdioServerTransport,
26
26
  serveStdio
27
- } from "./chunk-UU5PLDRA.js";
28
- import "./chunk-6XO7RTJY.js";
27
+ } from "./chunk-XRZDYWF6.js";
28
+ import "./chunk-Z6TTGTMU.js";
29
29
  import {
30
30
  appInstructions
31
- } from "./chunk-UDJTRFRV.js";
31
+ } from "./chunk-ZRHMB3LQ.js";
32
32
  import {
33
33
  McpServer
34
34
  } from "./chunk-5D4AEUVA.js";
35
35
  import {
36
36
  mcpHttpMarker
37
- } from "./chunk-6T3P226D.js";
38
- import "./chunk-US5C3WAY.js";
39
- import "./chunk-2OSBCYJT.js";
40
- import "./chunk-EH5QGQFR.js";
41
- import "./chunk-YTF2WPV4.js";
42
- import "./chunk-6CJ7NHIP.js";
37
+ } from "./chunk-MSDCZ6GT.js";
38
+ import "./chunk-R2ULMWB4.js";
39
+ import "./chunk-TFFEFEG2.js";
40
+ import "./chunk-TKXLWFM2.js";
41
+ import "./chunk-JZ4YOAHA.js";
42
+ import "./chunk-WY4NYPPS.js";
43
43
  import "./chunk-BOAMDYLY.js";
44
44
  import "./chunk-VW6BF6M7.js";
45
- import "./chunk-FMQS7HCC.js";
46
- import "./chunk-4YFJYSSK.js";
47
- import "./chunk-K67V24AT.js";
45
+ import "./chunk-5ZJXKASF.js";
46
+ import "./chunk-HSI7YOYK.js";
47
+ import "./chunk-4APZQYCH.js";
48
48
  import {
49
49
  DEFAULT_OUTPUT_BYTES,
50
50
  changesAuthorityAt,
@@ -53,36 +53,36 @@ import {
53
53
  judgedTargets,
54
54
  readsOverMcpAt,
55
55
  rootOf2 as rootOf
56
- } from "./chunk-AJ7CMUGD.js";
56
+ } from "./chunk-G6IX2MD2.js";
57
57
  import {
58
58
  readOnlyLockOf
59
- } from "./chunk-AVEIQMHZ.js";
60
- import "./chunk-RP3U3J53.js";
61
- import "./chunk-L4WVLRXM.js";
62
- import "./chunk-JO4YADNV.js";
63
- import "./chunk-DVA6MQWK.js";
64
- import "./chunk-JRCYFCPL.js";
65
- import "./chunk-YOAEZSDG.js";
66
- import "./chunk-65T3PU75.js";
67
- import "./chunk-TUNQ6NE2.js";
68
- import "./chunk-YQRNFG2E.js";
69
- import "./chunk-77I67HWF.js";
70
- import "./chunk-NUJMJQXV.js";
71
- import "./chunk-DWSUSWAX.js";
72
- import "./chunk-VLD7Y4SY.js";
73
- import "./chunk-AYEVBAGO.js";
74
- import "./chunk-EJDV5IIF.js";
75
- import "./chunk-2T6XHWDX.js";
76
- import "./chunk-ZRD3NDOX.js";
77
- import "./chunk-3BRV2YU2.js";
78
- import "./chunk-KUB2U5NT.js";
79
- import "./chunk-6TJ62LZQ.js";
80
- import "./chunk-32FPA7P2.js";
59
+ } from "./chunk-TN77LX6W.js";
60
+ import "./chunk-MJMVIFSC.js";
61
+ import "./chunk-IPBZKUC3.js";
62
+ import "./chunk-RPQ3JOD3.js";
63
+ import "./chunk-MVDPZRFE.js";
64
+ import "./chunk-CUZHKYC2.js";
65
+ import "./chunk-IEC4E65G.js";
66
+ import "./chunk-L62EJDNZ.js";
67
+ import "./chunk-MOTKS7XG.js";
68
+ import "./chunk-TWIC6JJG.js";
69
+ import "./chunk-6AMMTXEA.js";
70
+ import "./chunk-T5X4LGXE.js";
71
+ import "./chunk-37B7A4RP.js";
72
+ import "./chunk-GR3QDHBU.js";
73
+ import "./chunk-F5DYBWH7.js";
74
+ import "./chunk-V4MM6GST.js";
75
+ import "./chunk-6N2D6JGX.js";
76
+ import "./chunk-QW5VPZEH.js";
77
+ import "./chunk-JX5JJZC3.js";
78
+ import "./chunk-5GOE6PQK.js";
79
+ import "./chunk-LDRQ5NAP.js";
80
+ import "./chunk-CKK6JOC4.js";
81
81
  import "./chunk-P3ASN72F.js";
82
82
  import "./chunk-D72URWJE.js";
83
- import "./chunk-LV7QRR5S.js";
84
- import "./chunk-PUTGTW6W.js";
85
- import "./chunk-TDGZMC6K.js";
83
+ import "./chunk-QXM7S3Y3.js";
84
+ import "./chunk-EPPSMCEV.js";
85
+ import "./chunk-HC56J5LB.js";
86
86
  import "./chunk-B6JMVB6R.js";
87
87
  import "./chunk-VOXIGICJ.js";
88
88
  import "./chunk-KNE6VFHZ.js";
@@ -94,12 +94,12 @@ import {
94
94
  CliError
95
95
  } from "./chunk-FEM2JQN2.js";
96
96
  import "./chunk-OE7EIP5L.js";
97
- import "./chunk-P2TISY3R.js";
97
+ import "./chunk-LQX74VKG.js";
98
98
  import {
99
99
  __name
100
100
  } from "./chunk-ZVVMGPBJ.js";
101
101
 
102
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
102
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
103
103
  var EXCLUDED = [["mcp"]];
104
104
  var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
105
105
  const { app } = options;
@@ -217,7 +217,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
217
217
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
218
218
  const { app } = options;
219
219
  const { build } = createAppServer(command, context, options);
220
- const { serveOverHttp } = await import("./serve-4BABX4WS.js");
220
+ const { serveOverHttp } = await import("./serve-TWQFHOV2.js");
221
221
  const listening = await serveOverHttp(build, {
222
222
  ...http,
223
223
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-P2TISY3R.js";
21
+ } from "./chunk-LQX74VKG.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
27
27
  import { Database } from "bun:sqlite";
28
28
  var bunSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-SRP6SFFD.js";
6
+ } from "./chunk-6KMTQX3D.js";
7
7
  import "./chunk-KNE6VFHZ.js";
8
8
  import "./chunk-NRRI37NJ.js";
9
9
  import {
@@ -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.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
19
19
  var customised = false;
20
20
  var ownLibrary = /* @__PURE__ */ __name(async () => {
21
21
  try {
@@ -17,7 +17,7 @@ import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/models/options.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/models/options.js
21
21
  var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
22
22
  const parsed = safeParse(schema, options);
23
23
  if (!parsed.success) {
@@ -0,0 +1,66 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ CliError,
5
+ errorCodes
6
+ } from "./chunk-FEM2JQN2.js";
7
+ import {
8
+ __name
9
+ } from "./chunk-ZVVMGPBJ.js";
10
+
11
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/errors/failures.js
12
+ var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
13
+ var isCommanderFailure = /* @__PURE__ */ __name((value) => {
14
+ const { code, exitCode } = value ?? {};
15
+ return value instanceof Error && typeof code === "string" && code.startsWith("commander.") && typeof exitCode === "number";
16
+ }, "isCommanderFailure");
17
+ var failureKey = /* @__PURE__ */ __name((error) => isCliFailure(error) ? error.code : error instanceof Error ? error.name : "error", "failureKey");
18
+ var SQLITE_CORRUPT = 11;
19
+ var SQLITE_NOTADB = 26;
20
+ var DAMAGED_TEXT = /database disk image is malformed|file is not a database|fts5: corruption/i;
21
+ var sqliteCode = /* @__PURE__ */ __name((error) => {
22
+ const { errcode, errno, name } = error ?? {};
23
+ const code = typeof errcode === "number" ? errcode : name === "SQLiteError" && typeof errno === "number" ? errno : null;
24
+ return code === null ? void 0 : code & 255;
25
+ }, "sqliteCode");
26
+ var damageIn = /* @__PURE__ */ __name((error) => {
27
+ if (isCliFailure(error) || isCommanderFailure(error))
28
+ return void 0;
29
+ let at = error;
30
+ for (let depth = 0; depth < 5 && at instanceof Error; depth += 1) {
31
+ const code = sqliteCode(at);
32
+ if (code !== void 0 && [SQLITE_CORRUPT, SQLITE_NOTADB].includes(code) || DAMAGED_TEXT.test(at.message))
33
+ return at;
34
+ at = at.cause;
35
+ }
36
+ return void 0;
37
+ }, "damageIn");
38
+ var wrapping = /* @__PURE__ */ __name((error, original) => {
39
+ Object.defineProperty(error, "cause", { value: original, configurable: true, writable: true });
40
+ if (original instanceof Error && original.stack)
41
+ error.stack = original.stack;
42
+ return error;
43
+ }, "wrapping");
44
+ var storeDamaged = /* @__PURE__ */ __name((error, next) => damageIn(error) ? wrapping(new CliError("configuration_error", `the store file is damaged${next ? `; \`${next}\` says what is damaged and what to do` : ""}`, { reason: "store.damaged" }), error) : error, "storeDamaged");
45
+ var damagedFile = /* @__PURE__ */ __name(async (files, work) => {
46
+ try {
47
+ return await work();
48
+ } catch (error) {
49
+ if (!damageIn(error))
50
+ throw error;
51
+ throw wrapping(new CliError("validation_error", `${files.join(" or ")} is damaged or not a database`, {
52
+ reason: "store.file-damaged"
53
+ }), error);
54
+ }
55
+ }, "damagedFile");
56
+ var isStoreDamage = /* @__PURE__ */ __name((error) => damageIn(error) !== void 0, "isStoreDamage");
57
+
58
+ export {
59
+ isCliFailure,
60
+ isCommanderFailure,
61
+ failureKey,
62
+ sqliteCode,
63
+ storeDamaged,
64
+ damagedFile,
65
+ isStoreDamage
66
+ };
@@ -6,23 +6,23 @@ import {
6
6
  agentArguments,
7
7
  agentJson,
8
8
  commandAvailability
9
- } from "./chunk-7DUYFITC.js";
9
+ } from "./chunk-LEA4BGK7.js";
10
10
  import {
11
11
  callerOf
12
- } from "./chunk-UU5PLDRA.js";
12
+ } from "./chunk-XRZDYWF6.js";
13
13
  import {
14
14
  failureContext
15
- } from "./chunk-6XO7RTJY.js";
15
+ } from "./chunk-Z6TTGTMU.js";
16
16
  import {
17
17
  QUERY_ARGUMENT,
18
18
  lentConnection,
19
19
  refuseLacking
20
- } from "./chunk-2OSBCYJT.js";
20
+ } from "./chunk-TFFEFEG2.js";
21
21
  import {
22
22
  onlineDeps,
23
23
  servicesFor,
24
24
  storeModeDeps
25
- } from "./chunk-YTF2WPV4.js";
25
+ } from "./chunk-JZ4YOAHA.js";
26
26
  import {
27
27
  DEFAULT_OUTPUT_BYTES,
28
28
  ENTITIES,
@@ -37,29 +37,32 @@ import {
37
37
  refuseStoreChange,
38
38
  sealed,
39
39
  startRecording
40
- } from "./chunk-AJ7CMUGD.js";
40
+ } from "./chunk-G6IX2MD2.js";
41
41
  import {
42
42
  currentCaller,
43
43
  keepsSuccess,
44
44
  runContextOf,
45
45
  withCaller
46
- } from "./chunk-RP3U3J53.js";
46
+ } from "./chunk-MJMVIFSC.js";
47
47
  import {
48
48
  enclosingTraceId,
49
49
  inRun,
50
50
  newRunId,
51
51
  traceOf
52
- } from "./chunk-JRCYFCPL.js";
52
+ } from "./chunk-CUZHKYC2.js";
53
53
  import {
54
54
  authorityAllowed,
55
55
  botApiAllowed,
56
56
  keyForCommand,
57
57
  levelFor,
58
58
  readKeysForCommand
59
- } from "./chunk-65T3PU75.js";
59
+ } from "./chunk-IEC4E65G.js";
60
+ import {
61
+ storeDamaged
62
+ } from "./chunk-37B7A4RP.js";
60
63
  import {
61
64
  MAX_BUFFERED_INPUT
62
- } from "./chunk-2T6XHWDX.js";
65
+ } from "./chunk-6N2D6JGX.js";
63
66
  import {
64
67
  queryDescription
65
68
  } from "./chunk-B6JMVB6R.js";
@@ -114,7 +117,7 @@ import {
114
117
  __name
115
118
  } from "./chunk-ZVVMGPBJ.js";
116
119
 
117
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/agent.js
120
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/mcp/agent.js
118
121
  import { Readable } from "node:stream";
119
122
 
120
123
  // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
@@ -2986,7 +2989,7 @@ var VOCABULARY = defineVocabulary({
2986
2989
  ]
2987
2990
  });
2988
2991
 
2989
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2992
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2990
2993
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
2991
2994
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
2992
2995
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3209,7 +3212,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3209
3212
  }
3210
3213
  }, "runCommandForAgent");
3211
3214
 
3212
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3215
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3213
3216
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3214
3217
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3215
3218
  var message = pipe(
@@ -3465,10 +3468,10 @@ var answered = /* @__PURE__ */ __name((answer, maxBytes = DEFAULT_OUTPUT_BYTES,
3465
3468
  var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3466
3469
  const judged = judgedEffects(effects);
3467
3470
  const context = { ...failureContext(errors), ...judged ? { effects: judged } : {} };
3468
- return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
3471
+ return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
3469
3472
  }, "failed");
3470
3473
 
3471
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3474
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3472
3475
  import { randomUUID } from "node:crypto";
3473
3476
  var MATCHES = 8;
3474
3477
  var ANSWER = answerSchema();
@@ -6,10 +6,10 @@ import {
6
6
  answerSchema,
7
7
  describeOptions,
8
8
  metaOf
9
- } from "./chunk-AJ7CMUGD.js";
9
+ } from "./chunk-G6IX2MD2.js";
10
10
  import {
11
11
  keyForCommand
12
- } from "./chunk-65T3PU75.js";
12
+ } from "./chunk-IEC4E65G.js";
13
13
  import {
14
14
  jsonSchemaOf
15
15
  } from "./chunk-NRRI37NJ.js";
@@ -20,7 +20,7 @@ import {
20
20
  __name
21
21
  } from "./chunk-ZVVMGPBJ.js";
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
24
24
  var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
25
25
  var outputOf = /* @__PURE__ */ __name((command) => {
26
26
  const entity = answerEntitySchema(command);