@wirecat/drive-cli 0.58.0 → 0.59.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 (163) hide show
  1. package/dist/bin/drive.js +6 -2
  2. package/dist/bundle/{all-profiles-ANDWOJDL.js → all-profiles-CVISDGMF.js} +14 -13
  3. package/dist/bundle/{anthropic-EZPZUWGS.js → anthropic-WLNQC23G.js} +9 -9
  4. package/dist/bundle/{app-server-67WL423B.js → app-server-P2VOONXF.js} +53 -51
  5. package/dist/bundle/{bun-NIIYUR5F.js → bun-CDFBNTKV.js} +2 -2
  6. package/dist/bundle/{bun-sqlite-A5ZKTIYC.js → bun-sqlite-MNZICITP.js} +8 -8
  7. package/dist/bundle/{chunk-NYINLKWT.js → chunk-2AXA5SKP.js} +1 -1
  8. package/dist/bundle/{chunk-EFEI724Z.js → chunk-36B7AIGP.js} +1 -1
  9. package/dist/bundle/{chunk-4GZLX2ME.js → chunk-3KJTJDDT.js} +40 -33
  10. package/dist/bundle/{chunk-4UU4ONKY.js → chunk-3KNZADHJ.js} +5086 -640
  11. package/dist/bundle/{chunk-O3K46QRL.js → chunk-3U22QTU6.js} +8 -6
  12. package/dist/bundle/chunk-3VSUT6BD.js +35 -0
  13. package/dist/bundle/{chunk-U2RSVKR5.js → chunk-5C7K6XIT.js} +1 -1
  14. package/dist/bundle/{chunk-JEMKSWVI.js → chunk-6C6255U6.js} +12 -12
  15. package/dist/bundle/{chunk-UBZ2LH7N.js → chunk-6CQO2FIN.js} +1403 -581
  16. package/dist/bundle/{chunk-4EEOJ54H.js → chunk-7QTVIZII.js} +5400 -2996
  17. package/dist/bundle/{chunk-TCJRJ3TE.js → chunk-A6EG7ZDS.js} +13 -13
  18. package/dist/bundle/{chunk-SPVPKHBQ.js → chunk-A6SLYOP2.js} +35 -30
  19. package/dist/bundle/{chunk-TIXIB32T.js → chunk-AD62XJKO.js} +153 -101
  20. package/dist/bundle/{chunk-GDRO4YMH.js → chunk-B5GBJ35N.js} +4 -4
  21. package/dist/bundle/{chunk-LSSIVBQI.js → chunk-BSGOM3BD.js} +1 -1
  22. package/dist/bundle/{chunk-ALTG7BZQ.js → chunk-CBM2XAEZ.js} +19 -19
  23. package/dist/bundle/{chunk-2TASMYGM.js → chunk-DI5Z4SH5.js} +3 -3
  24. package/dist/bundle/{chunk-ITD7WI23.js → chunk-EBLA7GXY.js} +1 -1
  25. package/dist/bundle/{chunk-P5MCZ635.js → chunk-EHEZSV6I.js} +11 -88
  26. package/dist/bundle/{chunk-QVIJMV22.js → chunk-EORMZCVF.js} +3 -3
  27. package/dist/bundle/{chunk-OZEJA67C.js → chunk-EVETU3TF.js} +8 -8
  28. package/dist/bundle/{chunk-7YUZAEBG.js → chunk-F3FOL42A.js} +2 -2
  29. package/dist/bundle/{chunk-AFZ33AC7.js → chunk-FICVPYE4.js} +179 -50
  30. package/dist/bundle/{chunk-6THTUYPT.js → chunk-FVQCM7IQ.js} +1 -1
  31. package/dist/bundle/{chunk-TNX77VPM.js → chunk-GI5JBGXH.js} +4589 -1510
  32. package/dist/bundle/{chunk-7VFD3UJQ.js → chunk-GJ4ZCIOP.js} +3 -3
  33. package/dist/bundle/{chunk-7AL57FCK.js → chunk-GT5KTGCN.js} +4 -4
  34. package/dist/bundle/{chunk-BAEIAQWH.js → chunk-H2BKXPBL.js} +2 -2
  35. package/dist/bundle/chunk-HIOJRPCT.js +93 -0
  36. package/dist/bundle/{chunk-ASPIEEXN.js → chunk-HIP43OGZ.js} +1 -1
  37. package/dist/bundle/{chunk-UMJLXAJI.js → chunk-HMZAMHKN.js} +2 -2
  38. package/dist/bundle/{chunk-ESF2B22R.js → chunk-HWLLVLAB.js} +10 -10
  39. package/dist/bundle/{chunk-X5XWUQNU.js → chunk-IADOBOKB.js} +2 -2
  40. package/dist/bundle/{chunk-4ICWGMHN.js → chunk-IBZ3IBO4.js} +7 -7
  41. package/dist/bundle/{chunk-MBNKNWOG.js → chunk-IGF6EXBR.js} +35 -34
  42. package/dist/bundle/{chunk-I4VUHZSD.js → chunk-II7LST64.js} +3 -3
  43. package/dist/bundle/{chunk-Z5GDNCTJ.js → chunk-IIP43FQJ.js} +2 -2
  44. package/dist/bundle/{chunk-UTDL7MKT.js → chunk-JSDVK3JA.js} +2 -2
  45. package/dist/bundle/{chunk-X4F3M6L6.js → chunk-JW2CVCUH.js} +4 -4
  46. package/dist/bundle/{chunk-IBJOO5FG.js → chunk-K4LXGZTE.js} +16 -16
  47. package/dist/bundle/{chunk-WICYDOVL.js → chunk-KFZUODXB.js} +70 -18
  48. package/dist/bundle/chunk-KPRGTTJH.js +34 -0
  49. package/dist/bundle/{chunk-SWFA36F3.js → chunk-L5SE2XZP.js} +20 -14
  50. package/dist/bundle/{chunk-OOR6PEHV.js → chunk-LJ7E4HLQ.js} +1 -1
  51. package/dist/bundle/{chunk-34XHR5FL.js → chunk-LPHMAQJQ.js} +16 -16
  52. package/dist/bundle/{chunk-6SARLV3Z.js → chunk-M6I2SQN7.js} +4 -4
  53. package/dist/bundle/{chunk-OG5ERX4S.js → chunk-MEAPA4EZ.js} +2 -2
  54. package/dist/bundle/{chunk-IH4UCM5K.js → chunk-MKCNUI72.js} +2 -2
  55. package/dist/bundle/{chunk-XQMMB6ST.js → chunk-MUUHUHWC.js} +2 -1
  56. package/dist/bundle/{chunk-NKL5XXOM.js → chunk-OKXSTWKW.js} +8 -8
  57. package/dist/bundle/{chunk-BKM2CGG2.js → chunk-OMMEQJOB.js} +3 -3
  58. package/dist/bundle/{chunk-EFX6FIDM.js → chunk-OZH4ALTI.js} +1 -1
  59. package/dist/bundle/{chunk-TMW526H3.js → chunk-P3ZTW2ZM.js} +5 -5
  60. package/dist/bundle/{chunk-FD7A6745.js → chunk-P7WPYKSB.js} +4 -4
  61. package/dist/bundle/{chunk-OUQVZTF5.js → chunk-PAEVBAM3.js} +7 -42
  62. package/dist/bundle/{chunk-W6KMNO3C.js → chunk-PGKIOSN3.js} +6 -6
  63. package/dist/bundle/{chunk-KCBHOYNZ.js → chunk-QTM7USFA.js} +8 -13
  64. package/dist/bundle/{chunk-IXXQZCNK.js → chunk-TFH5X46A.js} +32 -19
  65. package/dist/bundle/{chunk-YHRJUZ3O.js → chunk-TI55J3BA.js} +6 -4
  66. package/dist/bundle/{chunk-J36Z6BDZ.js → chunk-TJXPJ3A5.js} +570 -366
  67. package/dist/bundle/{chunk-RRHC5SBB.js → chunk-UQPKAY6I.js} +2 -2
  68. package/dist/bundle/{chunk-A4DHPOFQ.js → chunk-UWVNRPT7.js} +53 -39
  69. package/dist/bundle/{chunk-3RG27IWA.js → chunk-V36RIXFA.js} +5 -5
  70. package/dist/bundle/{chunk-3GXNODTB.js → chunk-V42KAPU3.js} +4 -4
  71. package/dist/bundle/{chunk-D72FL3L3.js → chunk-VT6GZAF4.js} +35 -35
  72. package/dist/bundle/{chunk-VXI67T7U.js → chunk-VVCZS42A.js} +1 -1
  73. package/dist/bundle/{chunk-A7FMNTCK.js → chunk-W62CON5K.js} +4 -4
  74. package/dist/bundle/{chunk-PYPLD7JO.js → chunk-XCOCPXCM.js} +2 -2
  75. package/dist/bundle/{chunk-BLJVCJZU.js → chunk-YADXWQHV.js} +26 -26
  76. package/dist/bundle/{chunk-AL7MY7MW.js → chunk-YU3PTU3D.js} +1 -1
  77. package/dist/bundle/{chunk-5NPFHWLP.js → chunk-YV4ABH6J.js} +5 -5
  78. package/dist/bundle/{chunk-ED5JNYN5.js → chunk-ZSMCJKGP.js} +27 -26
  79. package/dist/bundle/{chunk-JZ67M3HR.js → chunk-ZYCLPJ7U.js} +1 -1
  80. package/dist/bundle/command-contract-LQDNHZJU.js +39 -0
  81. package/dist/bundle/{decode-2R6DTGRX.js → decode-XTOMXMGN.js} +8 -8
  82. package/dist/bundle/{dispatch-DEXAEMIN.js → dispatch-T6TW2JJB.js} +9 -9
  83. package/dist/bundle/drive.js +11 -11
  84. package/dist/bundle/{echarts-CLB22SZS.js → echarts-RKKIOYVV.js} +2 -2
  85. package/dist/bundle/{embed-RJJWOLKN.js → embed-STHKKA6G.js} +9 -9
  86. package/dist/bundle/{embedder-DWYS5JYJ.js → embedder-3XZEWHRO.js} +12 -12
  87. package/dist/bundle/entry-CNOYSSSD.js +22 -0
  88. package/dist/bundle/{failure-GBZ4L5QO.js → failure-DNQYXP2T.js} +4 -4
  89. package/dist/bundle/first-run-F2SI24PK.js +30 -0
  90. package/dist/bundle/first-screen-TYYF6VXY.js +37 -0
  91. package/dist/bundle/{google-L776ETP4.js → google-BYNSAIQI.js} +13 -13
  92. package/dist/bundle/{google-api-AI5ZJJ2M.js → google-api-4VTZH7OP.js} +57 -56
  93. package/dist/bundle/grants-EUQXSICG.js +105 -0
  94. package/dist/bundle/{identity-MDLWK2TX.js → identity-ARDPFYV5.js} +6 -6
  95. package/dist/bundle/{instructions-BXZZNAMS.js → instructions-N3OH5X2Y.js} +1 -1
  96. package/dist/bundle/{login-6HHQLRHY.js → login-4VQEC7VI.js} +63 -62
  97. package/dist/bundle/{mcp-ZZUYI44D.js → mcp-WBHKX5E3.js} +2 -2
  98. package/dist/bundle/{node-R6ZNQ3NT.js → node-YU5JBNAA.js} +2 -2
  99. package/dist/bundle/{node-sqlite-AVNHGMVL.js → node-sqlite-3C6PSBIW.js} +14 -8
  100. package/dist/bundle/oauth-D6NJFPYU.js +22 -0
  101. package/dist/bundle/{open-BXPLXJC2.js → open-M2V2VYXO.js} +8 -7
  102. package/dist/bundle/{openai-CRO5GDBY.js → openai-ST2IWNUX.js} +17 -17
  103. package/dist/bundle/{process-P36JP33R.js → process-PYNNBBTV.js} +1 -1
  104. package/dist/bundle/{program-4DWVWSGQ.js → program-Q4VWV2MR.js} +132 -94
  105. package/dist/bundle/prompt-MFIOJMAF.js +17 -0
  106. package/dist/bundle/{reasons-IHPNUP5W.js → reasons-LOQ5J73F.js} +5 -5
  107. package/dist/bundle/{recognize-NAISVA56.js → recognize-FBLMWXNE.js} +7 -7
  108. package/dist/bundle/{remote-KCUHG5HV.js → remote-XC3OXE4T.js} +10 -10
  109. package/dist/bundle/{rerank-Q3POCDSK.js → rerank-2XMKKF4S.js} +10 -10
  110. package/dist/bundle/{serve-5CUOYLSG.js → serve-Q2BQHNZB.js} +14 -13
  111. package/dist/bundle/{server-FXW3GARV.js → server-42HPV3AH.js} +44 -43
  112. package/dist/bundle/server-EWZYN323.js +70 -0
  113. package/dist/bundle/{services-PEYBXZ3R.js → services-WU22S2MU.js} +99 -31
  114. package/dist/bundle/{sqlite-runtime-YMPWN5PM.js → sqlite-runtime-CSO6K6B2.js} +9 -8
  115. package/dist/bundle/{start-PFWEF44R.js → start-TZWKM4AH.js} +7 -7
  116. package/dist/bundle/{state-5TQ7IOJH.js → state-FLUT7U7R.js} +9 -9
  117. package/dist/bundle/{store-E2VWY4O6.js → store-HDWMJ44E.js} +42 -21
  118. package/dist/bundle/{store-P4OYYFW5.js → store-TG6622NG.js} +20 -16
  119. package/dist/bundle/store-maintenance-command-RHWRUREJ.js +60 -0
  120. package/dist/bundle/tokens-TXYURU4S.js +103 -0
  121. package/dist/commands/documents.d.ts +1 -0
  122. package/dist/commands/documents.d.ts.map +1 -1
  123. package/dist/commands/documents.js +14 -1
  124. package/dist/commands/documents.js.map +1 -1
  125. package/dist/commands/knowledge.d.ts +4 -0
  126. package/dist/commands/knowledge.d.ts.map +1 -1
  127. package/dist/commands/knowledge.js +8 -7
  128. package/dist/commands/knowledge.js.map +1 -1
  129. package/dist/contract-overrides.js +5 -5
  130. package/dist/contract-overrides.js.map +1 -1
  131. package/dist/knowledge-query.d.ts +2 -0
  132. package/dist/knowledge-query.d.ts.map +1 -1
  133. package/dist/program.d.ts.map +1 -1
  134. package/dist/program.js +8 -3
  135. package/dist/program.js.map +1 -1
  136. package/dist/provider-json.d.ts +2 -0
  137. package/dist/provider-json.d.ts.map +1 -1
  138. package/dist/provider-json.js +13 -0
  139. package/dist/provider-json.js.map +1 -1
  140. package/dist/reasons.d.ts.map +1 -1
  141. package/dist/reasons.js +1 -0
  142. package/dist/reasons.js.map +1 -1
  143. package/dist/store.d.ts +2 -0
  144. package/dist/store.d.ts.map +1 -1
  145. package/dist/store.js +9 -0
  146. package/dist/store.js.map +1 -1
  147. package/dist/version.d.ts +1 -1
  148. package/dist/version.js +1 -1
  149. package/package.json +3 -3
  150. package/skills/drive-cli/SKILL.md +2 -1
  151. package/dist/bundle/chunk-7VUHY5LP.js +0 -18
  152. package/dist/bundle/chunk-Y6M2G7JK.js +0 -3609
  153. package/dist/bundle/command-contract-ZCXFT764.js +0 -39
  154. package/dist/bundle/entry-E6H7IUPV.js +0 -21
  155. package/dist/bundle/first-run-DI2JIG44.js +0 -30
  156. package/dist/bundle/first-screen-X5N4TCKD.js +0 -37
  157. package/dist/bundle/grants-HKGYAWL6.js +0 -104
  158. package/dist/bundle/oauth-UVU52X57.js +0 -22
  159. package/dist/bundle/prompt-AFWVGRDG.js +0 -17
  160. package/dist/bundle/server-FTLPSLRU.js +0 -69
  161. package/dist/bundle/store-maintenance-command-MWVERNK7.js +0 -58
  162. package/dist/bundle/tokens-OVG4CJO4.js +0 -102
  163. /package/dist/bundle/{chunk-HPXYN7F3.js → chunk-LK2E2ELG.js} +0 -0
package/dist/bin/drive.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.58.0\n")
12
+ process.stdout.write("0.59.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,8 +28,12 @@ if (
28
28
  : next(specifier, context),
29
29
  })
30
30
  }
31
+ const chunks = ["../bundle/all-profiles-CVISDGMF.js","../bundle/anthropic-WLNQC23G.js","../bundle/app-server-P2VOONXF.js","../bundle/bun-CDFBNTKV.js","../bundle/bun-sqlite-MNZICITP.js","../bundle/command-contract-LQDNHZJU.js","../bundle/decode-XTOMXMGN.js","../bundle/dispatch-T6TW2JJB.js","../bundle/dist-MWTMOYWT.js","../bundle/dist-PY3MVR3G.js","../bundle/echarts-RKKIOYVV.js","../bundle/embed-STHKKA6G.js","../bundle/embedder-3XZEWHRO.js","../bundle/entry-CNOYSSSD.js","../bundle/failure-DNQYXP2T.js","../bundle/first-run-F2SI24PK.js","../bundle/first-screen-TYYF6VXY.js","../bundle/google-BYNSAIQI.js","../bundle/google-api-4VTZH7OP.js","../bundle/grants-EUQXSICG.js","../bundle/identity-ARDPFYV5.js","../bundle/instructions-N3OH5X2Y.js","../bundle/login-4VQEC7VI.js","../bundle/mcp-WBHKX5E3.js","../bundle/mdast-util-from-markdown-FXEPSNER.js","../bundle/mdast-util-gfm-SZM5GBDF.js","../bundle/micromark-extension-gfm-GRL24TU6.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-YU5JBNAA.js","../bundle/node-sqlite-3C6PSBIW.js","../bundle/oauth-D6NJFPYU.js","../bundle/open-M2V2VYXO.js","../bundle/openai-ST2IWNUX.js","../bundle/process-PYNNBBTV.js","../bundle/program-Q4VWV2MR.js","../bundle/prompt-MFIOJMAF.js","../bundle/reasons-LOQ5J73F.js","../bundle/recognize-FBLMWXNE.js","../bundle/remote-XC3OXE4T.js","../bundle/rerank-2XMKKF4S.js","../bundle/serve-Q2BQHNZB.js","../bundle/server-42HPV3AH.js","../bundle/server-EWZYN323.js","../bundle/services-WU22S2MU.js","../bundle/sqlite-runtime-CSO6K6B2.js","../bundle/start-TZWKM4AH.js","../bundle/state-FLUT7U7R.js","../bundle/store-HDWMJ44E.js","../bundle/store-TG6622NG.js","../bundle/store-maintenance-command-RHWRUREJ.js","../bundle/terminal-DHJ4D3BC.js","../bundle/tokens-TXYURU4S.js"]
32
+ if (((words) => words
33
+ .filter((word) => !word.startsWith("-"))
34
+ .slice(0, 2)
35
+ .includes("upgrade"))(words)) await Promise.allSettled(chunks.map((chunk) => import(chunk)))
31
36
  const running = import("../bundle/drive.js")
32
- const chunks = ["../bundle/all-profiles-ANDWOJDL.js","../bundle/anthropic-EZPZUWGS.js","../bundle/app-server-67WL423B.js","../bundle/bun-NIIYUR5F.js","../bundle/bun-sqlite-A5ZKTIYC.js","../bundle/command-contract-ZCXFT764.js","../bundle/decode-2R6DTGRX.js","../bundle/dispatch-DEXAEMIN.js","../bundle/dist-MWTMOYWT.js","../bundle/dist-PY3MVR3G.js","../bundle/echarts-CLB22SZS.js","../bundle/embed-RJJWOLKN.js","../bundle/embedder-DWYS5JYJ.js","../bundle/entry-E6H7IUPV.js","../bundle/failure-GBZ4L5QO.js","../bundle/first-run-DI2JIG44.js","../bundle/first-screen-X5N4TCKD.js","../bundle/google-L776ETP4.js","../bundle/google-api-AI5ZJJ2M.js","../bundle/grants-HKGYAWL6.js","../bundle/identity-MDLWK2TX.js","../bundle/instructions-BXZZNAMS.js","../bundle/login-6HHQLRHY.js","../bundle/mcp-ZZUYI44D.js","../bundle/mdast-util-from-markdown-FXEPSNER.js","../bundle/mdast-util-gfm-SZM5GBDF.js","../bundle/micromark-extension-gfm-GRL24TU6.js","../bundle/node-KM3CUABH.js","../bundle/node-R6ZNQ3NT.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-AVNHGMVL.js","../bundle/oauth-UVU52X57.js","../bundle/open-BXPLXJC2.js","../bundle/openai-CRO5GDBY.js","../bundle/process-P36JP33R.js","../bundle/program-4DWVWSGQ.js","../bundle/prompt-AFWVGRDG.js","../bundle/reasons-IHPNUP5W.js","../bundle/recognize-NAISVA56.js","../bundle/remote-KCUHG5HV.js","../bundle/rerank-Q3POCDSK.js","../bundle/serve-5CUOYLSG.js","../bundle/server-FTLPSLRU.js","../bundle/server-FXW3GARV.js","../bundle/services-PEYBXZ3R.js","../bundle/sqlite-runtime-YMPWN5PM.js","../bundle/start-PFWEF44R.js","../bundle/state-5TQ7IOJH.js","../bundle/store-E2VWY4O6.js","../bundle/store-P4OYYFW5.js","../bundle/store-maintenance-command-MWVERNK7.js","../bundle/terminal-DHJ4D3BC.js","../bundle/tokens-OVG4CJO4.js"]
33
37
  // After the server answers its first request, so it starts no later.
34
38
  if (serves) setTimeout(() => void Promise.allSettled(chunks.map((chunk) => import(chunk))), 2000).unref()
35
39
  await running
@@ -2,32 +2,33 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answeredWire
5
- } from "./chunk-EFX6FIDM.js";
5
+ } from "./chunk-OZH4ALTI.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-PYPLD7JO.js";
12
+ } from "./chunk-XCOCPXCM.js";
13
13
  import {
14
14
  McpServer
15
15
  } from "./chunk-5D4AEUVA.js";
16
- import "./chunk-P5MCZ635.js";
17
- import "./chunk-UMJLXAJI.js";
18
- import "./chunk-HPXYN7F3.js";
19
- import "./chunk-ALTG7BZQ.js";
20
- import "./chunk-3RG27IWA.js";
16
+ import "./chunk-EHEZSV6I.js";
17
+ import "./chunk-HMZAMHKN.js";
18
+ import "./chunk-HIOJRPCT.js";
19
+ import "./chunk-LK2E2ELG.js";
20
+ import "./chunk-CBM2XAEZ.js";
21
+ import "./chunk-V36RIXFA.js";
21
22
  import "./chunk-Y5E2WNWB.js";
22
- import "./chunk-ASPIEEXN.js";
23
- import "./chunk-RRHC5SBB.js";
24
- import "./chunk-O3K46QRL.js";
25
- import "./chunk-ITD7WI23.js";
23
+ import "./chunk-HIP43OGZ.js";
24
+ import "./chunk-UQPKAY6I.js";
25
+ import "./chunk-3U22QTU6.js";
26
+ import "./chunk-EBLA7GXY.js";
26
27
  import {
27
28
  __name
28
29
  } from "./chunk-ZVVMGPBJ.js";
29
30
 
30
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
31
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
31
32
  import { spawn } from "node:child_process";
32
33
  import { randomUUID } from "node:crypto";
33
34
  var PROTOCOL = "2025-06-18";
@@ -261,7 +262,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
261
262
  }, "serveAllProfilesOverStdio");
262
263
  var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
263
264
  const { build, close } = allProfilesServer(options);
264
- const { serveOverHttp } = await import("./serve-5CUOYLSG.js");
265
+ const { serveOverHttp } = await import("./serve-Q2BQHNZB.js");
265
266
  const listening = await serveOverHttp(build, {
266
267
  ...http,
267
268
  appName: options.command,
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  checkedOptions
5
- } from "./chunk-2TASMYGM.js";
5
+ } from "./chunk-DI5Z4SH5.js";
6
6
  import {
7
7
  messagesFor,
8
8
  systemFor
9
- } from "./chunk-UTDL7MKT.js";
9
+ } from "./chunk-JSDVK3JA.js";
10
10
  import {
11
11
  Anthropic
12
12
  } from "./chunk-FXBHOCJK.js";
13
- import "./chunk-ALTG7BZQ.js";
14
- import "./chunk-3RG27IWA.js";
13
+ import "./chunk-CBM2XAEZ.js";
14
+ import "./chunk-V36RIXFA.js";
15
15
  import "./chunk-Y5E2WNWB.js";
16
- import "./chunk-ASPIEEXN.js";
17
- import "./chunk-RRHC5SBB.js";
16
+ import "./chunk-HIP43OGZ.js";
17
+ import "./chunk-UQPKAY6I.js";
18
18
  import {
19
19
  array,
20
20
  optional,
21
21
  strictObject,
22
22
  string
23
- } from "./chunk-O3K46QRL.js";
24
- import "./chunk-ITD7WI23.js";
23
+ } from "./chunk-3U22QTU6.js";
24
+ import "./chunk-EBLA7GXY.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/models/anthropic.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/models/anthropic.js
30
30
  var options = strictObject({
31
31
  stop_sequences: optional(array(string()))
32
32
  });
@@ -3,35 +3,34 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-MBNKNWOG.js";
6
+ } from "./chunk-IGF6EXBR.js";
7
7
  import {
8
8
  mcpUrlOf
9
- } from "./chunk-SPVPKHBQ.js";
9
+ } from "./chunk-A6SLYOP2.js";
10
10
  import {
11
11
  answered,
12
12
  failed,
13
13
  registerCommands,
14
14
  runCommandForAgent,
15
15
  toolsFromCommands
16
- } from "./chunk-4GZLX2ME.js";
16
+ } from "./chunk-3KJTJDDT.js";
17
17
  import {
18
18
  agentJson,
19
19
  skillResource
20
- } from "./chunk-WICYDOVL.js";
20
+ } from "./chunk-KFZUODXB.js";
21
21
  import {
22
22
  answeredWire
23
- } from "./chunk-EFX6FIDM.js";
23
+ } from "./chunk-OZH4ALTI.js";
24
24
  import {
25
25
  StdioServerTransport,
26
26
  serveStdio
27
- } from "./chunk-PYPLD7JO.js";
27
+ } from "./chunk-XCOCPXCM.js";
28
28
  import {
29
29
  McpServer
30
30
  } from "./chunk-5D4AEUVA.js";
31
- import "./chunk-ED5JNYN5.js";
32
- import "./chunk-IXXQZCNK.js";
33
- import "./chunk-OUQVZTF5.js";
34
- import "./chunk-Y6M2G7JK.js";
31
+ import "./chunk-ZSMCJKGP.js";
32
+ import "./chunk-TFH5X46A.js";
33
+ import "./chunk-PAEVBAM3.js";
35
34
  import {
36
35
  DEFAULT_OUTPUT_BYTES,
37
36
  changesAuthorityAt,
@@ -40,63 +39,65 @@ import {
40
39
  judgedTargets,
41
40
  readsOverMcpAt,
42
41
  rootOf2 as rootOf
43
- } from "./chunk-4UU4ONKY.js";
44
- import "./chunk-P5MCZ635.js";
45
- import "./chunk-X4F3M6L6.js";
42
+ } from "./chunk-3KNZADHJ.js";
43
+ import "./chunk-EHEZSV6I.js";
44
+ import "./chunk-JW2CVCUH.js";
46
45
  import {
47
46
  readOnlyLockOf
48
- } from "./chunk-Z5GDNCTJ.js";
47
+ } from "./chunk-IIP43FQJ.js";
49
48
  import {
50
49
  mcpHttpMarker
51
- } from "./chunk-7AL57FCK.js";
52
- import "./chunk-7VFD3UJQ.js";
53
- import "./chunk-U2RSVKR5.js";
50
+ } from "./chunk-GT5KTGCN.js";
51
+ import "./chunk-GJ4ZCIOP.js";
52
+ import "./chunk-5C7K6XIT.js";
54
53
  import {
55
54
  appInstructions
56
- } from "./chunk-EFEI724Z.js";
57
- import "./chunk-4EEOJ54H.js";
58
- import "./chunk-BLJVCJZU.js";
59
- import "./chunk-TCJRJ3TE.js";
60
- import "./chunk-TIXIB32T.js";
61
- import "./chunk-UMJLXAJI.js";
62
- import "./chunk-FD7A6745.js";
63
- import "./chunk-JZ67M3HR.js";
64
- import "./chunk-UTDL7MKT.js";
65
- import "./chunk-QVIJMV22.js";
66
- import "./chunk-TMW526H3.js";
55
+ } from "./chunk-36B7AIGP.js";
56
+ import "./chunk-7QTVIZII.js";
57
+ import "./chunk-YADXWQHV.js";
58
+ import "./chunk-A6EG7ZDS.js";
59
+ import "./chunk-AD62XJKO.js";
60
+ import "./chunk-HMZAMHKN.js";
61
+ import "./chunk-P7WPYKSB.js";
62
+ import "./chunk-ZYCLPJ7U.js";
63
+ import "./chunk-JSDVK3JA.js";
64
+ import "./chunk-EORMZCVF.js";
65
+ import "./chunk-P3ZTW2ZM.js";
67
66
  import "./chunk-5DPV7X27.js";
68
- import "./chunk-YHRJUZ3O.js";
69
- import "./chunk-34XHR5FL.js";
70
- import "./chunk-D72FL3L3.js";
71
- import "./chunk-TNX77VPM.js";
72
- import "./chunk-X5XWUQNU.js";
73
- import "./chunk-J36Z6BDZ.js";
74
- import "./chunk-SWFA36F3.js";
75
- import "./chunk-NKL5XXOM.js";
76
- import "./chunk-4ICWGMHN.js";
77
- import "./chunk-7VUHY5LP.js";
78
- import "./chunk-KCBHOYNZ.js";
79
- import "./chunk-LSSIVBQI.js";
80
- import "./chunk-7YUZAEBG.js";
67
+ import "./chunk-TI55J3BA.js";
68
+ import "./chunk-LPHMAQJQ.js";
69
+ import "./chunk-VT6GZAF4.js";
70
+ import "./chunk-GI5JBGXH.js";
71
+ import "./chunk-IADOBOKB.js";
72
+ import "./chunk-TJXPJ3A5.js";
73
+ import "./chunk-L5SE2XZP.js";
74
+ import "./chunk-HIOJRPCT.js";
75
+ import "./chunk-OKXSTWKW.js";
76
+ import "./chunk-IBZ3IBO4.js";
77
+ import "./chunk-3VSUT6BD.js";
78
+ import "./chunk-QTM7USFA.js";
79
+ import "./chunk-BSGOM3BD.js";
80
+ import "./chunk-F3FOL42A.js";
81
81
  import "./chunk-D72URWJE.js";
82
- import "./chunk-NYINLKWT.js";
83
- import "./chunk-HPXYN7F3.js";
84
- import "./chunk-ALTG7BZQ.js";
82
+ import "./chunk-2AXA5SKP.js";
83
+ import "./chunk-LK2E2ELG.js";
84
+ import "./chunk-KPRGTTJH.js";
85
+ import "./chunk-CBM2XAEZ.js";
85
86
  import {
86
87
  mcpErrorResult
87
- } from "./chunk-3RG27IWA.js";
88
+ } from "./chunk-V36RIXFA.js";
88
89
  import "./chunk-Y5E2WNWB.js";
89
- import "./chunk-ASPIEEXN.js";
90
- import "./chunk-RRHC5SBB.js";
91
- import "./chunk-O3K46QRL.js";
90
+ import "./chunk-HIP43OGZ.js";
91
+ import "./chunk-UQPKAY6I.js";
92
+ import "./chunk-3U22QTU6.js";
92
93
  import {
93
94
  CliError
94
- } from "./chunk-ITD7WI23.js";
95
+ } from "./chunk-EBLA7GXY.js";
95
96
  import {
96
97
  __name
97
98
  } from "./chunk-ZVVMGPBJ.js";
98
99
 
99
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
100
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
100
101
  var EXCLUDED = [["mcp"]];
101
102
  var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
102
103
  const { app } = options;
@@ -211,10 +212,11 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
211
212
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
212
213
  const { app } = options;
213
214
  const { build } = createAppServer(command, context, options);
214
- const { serveOverHttp } = await import("./serve-5CUOYLSG.js");
215
+ const { serveOverHttp } = await import("./serve-Q2BQHNZB.js");
215
216
  const listening = await serveOverHttp(build, {
216
217
  ...http,
217
218
  appName: app.command,
219
+ reaches: `your ${options.name}`,
218
220
  onCode: /* @__PURE__ */ __name((code, expires) => context.renderer.note(context.env[mcpHttpMarker(app.envPrefix)] === void 0 ? `login code for a new browser app: ${code} (until ${expires.toTimeString().slice(0, 5)}; a new one after each login)` : `a new login code for a browser app: \`${app.command} ${context.settings.profile} mcp server status\``), "onCode"),
219
221
  onError: /* @__PURE__ */ __name((error) => context.renderer.note(`mcp: ${error.message}`), "onError")
220
222
  }).catch((error) => {
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-LSSIVBQI.js";
21
+ } from "./chunk-BSGOM3BD.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/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,21 +3,21 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-IH4UCM5K.js";
7
- import "./chunk-ALTG7BZQ.js";
8
- import "./chunk-3RG27IWA.js";
6
+ } from "./chunk-MKCNUI72.js";
7
+ import "./chunk-CBM2XAEZ.js";
8
+ import "./chunk-V36RIXFA.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
- import "./chunk-ASPIEEXN.js";
13
- import "./chunk-RRHC5SBB.js";
14
- import "./chunk-O3K46QRL.js";
15
- import "./chunk-ITD7WI23.js";
12
+ import "./chunk-HIP43OGZ.js";
13
+ import "./chunk-UQPKAY6I.js";
14
+ import "./chunk-3U22QTU6.js";
15
+ import "./chunk-EBLA7GXY.js";
16
16
  import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
21
21
  var customised = false;
22
22
  var ownLibrary = /* @__PURE__ */ __name(async () => {
23
23
  try {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
8
8
  var installerOf = /* @__PURE__ */ __name((scriptPath) => {
9
9
  const path = scriptPath.replaceAll("\\", "/");
10
10
  if (path.includes("/_npx/"))
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/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");
@@ -7,20 +7,18 @@ import {
7
7
  agentJson,
8
8
  commandAvailability,
9
9
  failureContext
10
- } from "./chunk-WICYDOVL.js";
10
+ } from "./chunk-KFZUODXB.js";
11
11
  import {
12
12
  callerOf
13
- } from "./chunk-PYPLD7JO.js";
13
+ } from "./chunk-XCOCPXCM.js";
14
14
  import {
15
15
  QUERY_ARGUMENT,
16
16
  lentConnection,
17
17
  refuseLacking
18
- } from "./chunk-IXXQZCNK.js";
19
- import {
20
- ENTITIES
21
- } from "./chunk-Y6M2G7JK.js";
18
+ } from "./chunk-TFH5X46A.js";
22
19
  import {
23
20
  DEFAULT_OUTPUT_BYTES,
21
+ ENTITIES,
24
22
  LOCAL_WRITE,
25
23
  REMOTE_WRITE,
26
24
  answerSchema,
@@ -32,18 +30,18 @@ import {
32
30
  refuseStoreChange,
33
31
  sealed,
34
32
  startRecording
35
- } from "./chunk-4UU4ONKY.js";
33
+ } from "./chunk-3KNZADHJ.js";
36
34
  import {
37
35
  currentCaller,
38
36
  keepsSuccess,
39
37
  runContextOf,
40
38
  withCaller
41
- } from "./chunk-P5MCZ635.js";
39
+ } from "./chunk-EHEZSV6I.js";
42
40
  import {
43
41
  onlineDeps,
44
42
  servicesFor,
45
43
  storeModeDeps
46
- } from "./chunk-4EEOJ54H.js";
44
+ } from "./chunk-7QTVIZII.js";
47
45
  import {
48
46
  authorityAllowed,
49
47
  botApiAllowed,
@@ -54,24 +52,25 @@ import {
54
52
  newRunId,
55
53
  readKeysForCommand,
56
54
  traceOf
57
- } from "./chunk-TIXIB32T.js";
55
+ } from "./chunk-AD62XJKO.js";
58
56
  import {
59
57
  queryDescription
60
- } from "./chunk-SWFA36F3.js";
58
+ } from "./chunk-L5SE2XZP.js";
61
59
  import {
62
60
  MAX_BUFFERED_INPUT
63
- } from "./chunk-7YUZAEBG.js";
61
+ } from "./chunk-F3FOL42A.js";
64
62
  import {
65
63
  captureStreams
66
- } from "./chunk-ALTG7BZQ.js";
64
+ } from "./chunk-CBM2XAEZ.js";
67
65
  import {
68
66
  errorObjectOf,
69
67
  mcpErrorResult
70
- } from "./chunk-3RG27IWA.js";
68
+ } from "./chunk-V36RIXFA.js";
71
69
  import {
72
70
  traceIdOf
73
- } from "./chunk-RRHC5SBB.js";
71
+ } from "./chunk-UQPKAY6I.js";
74
72
  import {
73
+ COMPACT_FLAG,
75
74
  SNAKE_CASE,
76
75
  array,
77
76
  boolean,
@@ -106,19 +105,19 @@ import {
106
105
  unknown,
107
106
  word,
108
107
  writes
109
- } from "./chunk-O3K46QRL.js";
108
+ } from "./chunk-3U22QTU6.js";
110
109
  import {
111
110
  CliError,
112
111
  errorCodes
113
- } from "./chunk-ITD7WI23.js";
112
+ } from "./chunk-EBLA7GXY.js";
114
113
  import {
115
114
  __name
116
115
  } from "./chunk-ZVVMGPBJ.js";
117
116
 
118
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/mcp/agent.js
117
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/mcp/agent.js
119
118
  import { Readable } from "node:stream";
120
119
 
121
- // node_modules/.pnpm/@wirecat+cli-base@0.73.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
120
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_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
122
121
  var LINT_SEVERITIES = ["high", "medium", "low"];
123
122
  var lintRuleSchema = strictObject({
124
123
  id: word,
@@ -236,16 +235,17 @@ var LINT_RULES = defineLintRules([
236
235
  }
237
236
  ]);
238
237
  var baselineSchema = array(text);
239
- var overridesSchema = array(strictObject({
238
+ var overrideSchema = strictObject({
240
239
  rule: word,
241
240
  target: text,
242
241
  reason: pipe(text, minLength(10, "say why, in a sentence")),
243
242
  /** A GitHub handle or a team, `@octocat`. */
244
243
  owner: pipe(string(), regex(/^@[\w.-]+(\/[\w.-]+)?$/, "a GitHub handle or team, such as @octocat")),
245
244
  review_after: pipe(string(), isoDate("a date, YYYY-MM-DD"))
246
- }));
245
+ });
246
+ var overridesSchema = array(overrideSchema);
247
247
 
248
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
248
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
249
249
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
250
250
  var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
251
251
  var AUDIT_RULES = defineAuditRules([
@@ -354,7 +354,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
354
354
  { path: ["upgrade"], meaning: "updates the CLI" }
355
355
  ]);
356
356
 
357
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
357
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
358
358
  var fieldRuleSchema = strictObject({ id: word, rule: text });
359
359
  var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
360
360
  var FIELD_RULES = defineFieldRules([
@@ -370,7 +370,7 @@ var FIELD_RULES = defineFieldRules([
370
370
  }
371
371
  ]);
372
372
 
373
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
373
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
374
374
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
375
375
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
376
376
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -392,7 +392,7 @@ var IDENTIFIERS = defineIdentifiers([
392
392
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
393
393
  ]);
394
394
 
395
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
395
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
396
396
  var CALENDAR_FLAGS = [
397
397
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
398
398
  {
@@ -466,7 +466,7 @@ var CALENDAR_FLAGS = [
466
466
  }
467
467
  ];
468
468
 
469
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
469
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
470
470
  var HOW_FLAGS = [
471
471
  {
472
472
  name: "--limit",
@@ -553,6 +553,12 @@ var HOW_FLAGS = [
553
553
  type: "switch",
554
554
  meaning: "each item as its reference, title, time and excerpt only"
555
555
  },
556
+ {
557
+ name: COMPACT_FLAG,
558
+ role: "output",
559
+ type: "switch",
560
+ meaning: "one line per item, built from the same answer as --json, with its paging and next steps as # lines"
561
+ },
556
562
  {
557
563
  name: "--chart-kind",
558
564
  value: "<messages|active|membership>",
@@ -744,6 +750,7 @@ var HOW_FLAGS = [
744
750
  meaning: "refuse if what it names has changed since it was read",
745
751
  replaces: ["--expected"]
746
752
  },
753
+ { name: "--full-history", role: "mode", type: "switch", meaning: "keep a chat's whole history, past its limits" },
747
754
  {
748
755
  name: "--for-everyone",
749
756
  role: "mode",
@@ -1453,7 +1460,7 @@ var HOW_FLAGS = [
1453
1460
  }
1454
1461
  ];
1455
1462
 
1456
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1463
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1457
1464
  var MAIL_FLAGS = [
1458
1465
  {
1459
1466
  name: "--cc",
@@ -1477,7 +1484,7 @@ var MAIL_FLAGS = [
1477
1484
  }
1478
1485
  ];
1479
1486
 
1480
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1487
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1481
1488
  var WHAT_FLAGS = [
1482
1489
  {
1483
1490
  name: "--analysis-provider",
@@ -2475,7 +2482,7 @@ var WHAT_FLAGS = [
2475
2482
  }
2476
2483
  ];
2477
2484
 
2478
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2485
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2479
2486
  var FLAG_TYPES = [
2480
2487
  "switch",
2481
2488
  "count",
@@ -2836,7 +2843,7 @@ var VOCABULARY = defineVocabulary({
2836
2843
  flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS, ...MAIL_FLAGS]
2837
2844
  });
2838
2845
 
2839
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2846
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2840
2847
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
2841
2848
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
2842
2849
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3059,7 +3066,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3059
3066
  }
3060
3067
  }, "runCommandForAgent");
3061
3068
 
3062
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3069
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3063
3070
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3064
3071
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3065
3072
  var message = pipe(
@@ -3318,7 +3325,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3318
3325
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
3319
3326
  }, "failed");
3320
3327
 
3321
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3328
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3322
3329
  import { randomUUID } from "node:crypto";
3323
3330
  var MATCHES = 8;
3324
3331
  var ANSWER = answerSchema();
@@ -3341,7 +3348,7 @@ var runnableOnly = /* @__PURE__ */ __name((result, offered) => {
3341
3348
  const body = result.structuredContent;
3342
3349
  if (result.isError || !Array.isArray(body?.next))
3343
3350
  return result;
3344
- const next = body.next.filter((step) => offered(step.command));
3351
+ const next = body.next.filter((step) => step.command === void 0 || offered(step.command));
3345
3352
  const { next: _, ...rest } = body;
3346
3353
  const kept = next.length > 0 ? { ...rest, next } : rest;
3347
3354
  return {