@wirecat/zoom-cli 0.66.0 → 0.68.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 (207) hide show
  1. package/README.md +2 -1
  2. package/constants.json +7 -0
  3. package/dist/answer-entities.d.ts +18 -0
  4. package/dist/answer-entities.d.ts.map +1 -1
  5. package/dist/answer-entities.js +12 -0
  6. package/dist/answer-entities.js.map +1 -1
  7. package/dist/answer-policy.d.ts.map +1 -1
  8. package/dist/answer-policy.js +2 -1
  9. package/dist/answer-policy.js.map +1 -1
  10. package/dist/answers.d.ts +4 -4
  11. package/dist/bin/main.js +3 -2
  12. package/dist/bin/main.js.map +1 -1
  13. package/dist/bin/zm.js +2 -2
  14. package/dist/bundle/{all-profiles-D5CFH2OK.js → all-profiles-R66UM3HM.js} +12 -11
  15. package/dist/bundle/answer-policy-UCGUO53A.js +104 -0
  16. package/dist/bundle/{anthropic-K2E2JS4S.js → anthropic-4ZI2BPLG.js} +7 -7
  17. package/dist/bundle/{app-server-TVXDG6HZ.js → app-server-64O5IQI5.js} +61 -57
  18. package/dist/bundle/{bun-O4WHGL2F.js → bun-HUHQD76Z.js} +2 -2
  19. package/dist/bundle/{bun-sqlite-HGBEHQI3.js → bun-sqlite-VOVHPTIF.js} +6 -6
  20. package/dist/bundle/{chunk-N6JMJN5A.js → chunk-2OSBCYJT.js} +39 -26
  21. package/dist/bundle/{chunk-7JMBEPW2.js → chunk-2T6XHWDX.js} +2 -2
  22. package/dist/bundle/chunk-32FPA7P2.js +35 -0
  23. package/dist/bundle/{chunk-NO24PJNW.js → chunk-355PHJYX.js} +1 -1
  24. package/dist/bundle/{chunk-NMQUCHTX.js → chunk-3BRV2YU2.js} +3 -3
  25. package/dist/bundle/{chunk-GNGBG5BT.js → chunk-474WF55M.js} +95 -48
  26. package/dist/bundle/{chunk-O5FKJV3T.js → chunk-4TLPOY22.js} +12 -12
  27. package/dist/bundle/{chunk-CR4CXOLX.js → chunk-4YFJYSSK.js} +205 -59
  28. package/dist/bundle/chunk-5JAYUG3X.js +261 -0
  29. package/dist/bundle/{chunk-5HPALDUO.js → chunk-65T3PU75.js} +3 -2
  30. package/dist/bundle/{chunk-QAPU2JNO.js → chunk-6CJ7NHIP.js} +13 -13
  31. package/dist/bundle/{chunk-LN2S3RA3.js → chunk-6T3P226D.js} +4 -4
  32. package/dist/bundle/{chunk-P3XVLHIQ.js → chunk-6TJ62LZQ.js} +22 -14
  33. package/dist/bundle/{chunk-FWFFQV4D.js → chunk-6XO7RTJY.js} +129 -9
  34. package/dist/bundle/{chunk-K5CIN4JP.js → chunk-77I67HWF.js} +8 -8
  35. package/dist/bundle/{chunk-3B7L2UX4.js → chunk-77KFLU5F.js} +3 -3
  36. package/dist/bundle/{chunk-2YLNUZ3T.js → chunk-7AUP2WT3.js} +3 -3
  37. package/dist/bundle/{chunk-7PF56S6U.js → chunk-7DUYFITC.js} +25 -23
  38. package/dist/bundle/{chunk-ZKTXUDSR.js → chunk-7QNJICKZ.js} +30 -26
  39. package/dist/bundle/{chunk-XWDSEJWP.js → chunk-A63ZFOQJ.js} +18 -4
  40. package/dist/bundle/{chunk-A2SCXNA7.js → chunk-AJ7CMUGD.js} +1396 -326
  41. package/dist/bundle/{chunk-Z6U3MEGJ.js → chunk-AVEIQMHZ.js} +4 -2
  42. package/dist/bundle/chunk-AYEVBAGO.js +178 -0
  43. package/dist/bundle/{chunk-SU4WPBQE.js → chunk-B6JMVB6R.js} +22 -23
  44. package/dist/bundle/{chunk-YLEQN6PB.js → chunk-BL36NSV5.js} +3 -3
  45. package/dist/bundle/{chunk-RMKHYUHK.js → chunk-BOAMDYLY.js} +4 -4
  46. package/dist/bundle/chunk-BSM43OMN.js +31 -0
  47. package/dist/bundle/{chunk-67RNZGAG.js → chunk-DGNPJGD3.js} +16 -10
  48. package/dist/bundle/{chunk-Y3EIK4XW.js → chunk-DVA6MQWK.js} +1 -1
  49. package/dist/bundle/{chunk-AU4JHT3R.js → chunk-DWSUSWAX.js} +98 -13
  50. package/dist/bundle/{chunk-H5ZVZAOD.js → chunk-EH5QGQFR.js} +3 -3
  51. package/dist/bundle/chunk-EJDV5IIF.js +93 -0
  52. package/dist/bundle/{chunk-3WTKZ2ZS.js → chunk-EWIBLDQQ.js} +8 -8
  53. package/dist/bundle/{chunk-GHAPWKG2.js → chunk-EZRPSZJS.js} +3 -3
  54. package/dist/bundle/{chunk-QJHRYUMJ.js → chunk-FBLUKCIR.js} +1 -1
  55. package/dist/bundle/{chunk-S6S3KVJI.js → chunk-FEM2JQN2.js} +2 -1
  56. package/dist/bundle/{chunk-P2G4KGTR.js → chunk-FMQS7HCC.js} +12 -12
  57. package/dist/bundle/{chunk-ZNFPDTQM.js → chunk-FNQASORM.js} +2 -2
  58. package/dist/bundle/{chunk-GKXFL35E.js → chunk-GOXDBCDM.js} +728 -130
  59. package/dist/bundle/{chunk-U3ZUT557.js → chunk-HXOAPH47.js} +1 -1
  60. package/dist/bundle/{chunk-QV5ZGRK3.js → chunk-JO4YADNV.js} +7 -7
  61. package/dist/bundle/{chunk-5A26IBAR.js → chunk-JRCYFCPL.js} +30 -28
  62. package/dist/bundle/{chunk-ZTL7ANSG.js → chunk-K67V24AT.js} +5 -5
  63. package/dist/bundle/{chunk-BXSAROQP.js → chunk-KAPJQGHE.js} +2 -2
  64. package/dist/bundle/{chunk-TFDVFD4N.js → chunk-KNE6VFHZ.js} +97 -38
  65. package/dist/bundle/{chunk-AZ7ICKIA.js → chunk-KUB2U5NT.js} +6 -6
  66. package/dist/bundle/{chunk-GI6QVSCW.js → chunk-L4WVLRXM.js} +4 -4
  67. package/dist/bundle/{chunk-756RS4PH.js → chunk-LBOSTBAY.js} +2541 -1355
  68. package/dist/bundle/{chunk-62GOOZO3.js → chunk-LV7QRR5S.js} +6 -6
  69. package/dist/bundle/{chunk-J4EZL6HY.js → chunk-LYWUG43B.js} +33 -33
  70. package/dist/bundle/{chunk-N67BLTBV.js → chunk-NRRI37NJ.js} +28 -9
  71. package/dist/bundle/{chunk-N5JRRBEG.js → chunk-NUJMJQXV.js} +281 -10
  72. package/dist/bundle/{chunk-UYV2JGLQ.js → chunk-OE7EIP5L.js} +1 -1
  73. package/dist/bundle/{chunk-U4RVOSX3.js → chunk-P2TISY3R.js} +1 -1
  74. package/dist/bundle/{chunk-ILHTNOIV.js → chunk-P3ASN72F.js} +1 -1
  75. package/dist/bundle/{chunk-UOIXBEFR.js → chunk-PIHBD3YS.js} +16 -6
  76. package/dist/bundle/{chunk-BLT3LR3U.js → chunk-PUTGTW6W.js} +4 -2
  77. package/dist/bundle/{chunk-TUEEXECZ.js → chunk-QXTREL2M.js} +3 -3
  78. package/dist/bundle/{chunk-2VPHQFO5.js → chunk-R7LFGEDE.js} +2 -2
  79. package/dist/bundle/{chunk-IDWHJ35K.js → chunk-RGJ7OWHU.js} +4 -4
  80. package/dist/bundle/{chunk-3Y2F65AY.js → chunk-RP3U3J53.js} +10 -89
  81. package/dist/bundle/{chunk-JX3V35A5.js → chunk-RRYUD2EF.js} +3 -3
  82. package/dist/bundle/{chunk-XFUID5NY.js → chunk-SRP6SFFD.js} +2 -2
  83. package/dist/bundle/{chunk-7SQJCKR6.js → chunk-SSPSNSC5.js} +1 -1
  84. package/dist/bundle/{chunk-Q47C3QZW.js → chunk-TDGZMC6K.js} +510 -318
  85. package/dist/bundle/{chunk-EXXM4RNI.js → chunk-TN3FH2GQ.js} +11 -11
  86. package/dist/bundle/chunk-TUNQ6NE2.js +64 -0
  87. package/dist/bundle/{chunk-CAW6IMFZ.js → chunk-TZUKDM72.js} +72 -20
  88. package/dist/bundle/{chunk-S4GDDO5S.js → chunk-UDJTRFRV.js} +1 -1
  89. package/dist/bundle/{chunk-5GD2XZ6X.js → chunk-US5C3WAY.js} +63 -53
  90. package/dist/bundle/{chunk-7KCTPGOF.js → chunk-UU5PLDRA.js} +2 -2
  91. package/dist/bundle/{chunk-6TIKPRVQ.js → chunk-VLD7Y4SY.js} +7 -7
  92. package/dist/bundle/{chunk-PQLBPYJR.js → chunk-VW6BF6M7.js} +1 -1
  93. package/dist/bundle/chunk-W42BJ65M.js +37 -0
  94. package/dist/bundle/{chunk-KDKFGQWG.js → chunk-Y5LP5SHV.js} +15 -12
  95. package/dist/bundle/{chunk-TMVKZMDO.js → chunk-YJY3W2ZT.js} +232 -88
  96. package/dist/bundle/{chunk-6GSJLNP4.js → chunk-YOAEZSDG.js} +2 -2
  97. package/dist/bundle/{chunk-IKQ73INC.js → chunk-YQRNFG2E.js} +15849 -1674
  98. package/dist/bundle/{chunk-RO44LANT.js → chunk-YTF2WPV4.js} +1880 -778
  99. package/dist/bundle/{chunk-CZ4KLUJG.js → chunk-ZRD3NDOX.js} +2 -2
  100. package/dist/bundle/{cli-HWQIL2AC.js → cli-VQJ7ZRYR.js} +124 -69
  101. package/dist/bundle/command-contract-JPUWWYIV.js +41 -0
  102. package/dist/bundle/config-YGLLR77A.js +90 -0
  103. package/dist/bundle/{decode-XPAPPUGE.js → decode-L3ENO2XH.js} +6 -6
  104. package/dist/bundle/{dispatch-AKVJGP2S.js → dispatch-5MGDLOK4.js} +9 -9
  105. package/dist/bundle/{dist-LDIUQBM7.js → dist-WQLS7U23.js} +66 -17
  106. package/dist/bundle/{echarts-FMACRZQC.js → echarts-5LLJ6JXC.js} +2 -2
  107. package/dist/bundle/{embed-LK45GRQ7.js → embed-37MYTCU7.js} +7 -7
  108. package/dist/bundle/{embedder-QPBC5XBY.js → embedder-GNGHVJAO.js} +10 -10
  109. package/dist/bundle/{failure-7OULAOWQ.js → failure-CR64C4XA.js} +3 -3
  110. package/dist/bundle/{first-run-J5FG773Q.js → first-run-NR5JKYP3.js} +12 -12
  111. package/dist/bundle/first-screen-RCR7ATO2.js +39 -0
  112. package/dist/bundle/{folders-RHPUVMDI.js → folders-VU4IN35Y.js} +5 -5
  113. package/dist/bundle/{instructions-E5FXYCWF.js → instructions-P72XX4AK.js} +1 -1
  114. package/dist/bundle/{main-FJHE5YHU.js → main-QYFCYSTW.js} +23 -24
  115. package/dist/bundle/{mcp-MNI62HHE.js → mcp-M4QN2E7R.js} +2 -2
  116. package/dist/bundle/{meetings-MYIDGYGW.js → meetings-66UQINKI.js} +37 -7
  117. package/dist/bundle/{node-4SNKUPXT.js → node-ZB4RNICS.js} +2 -2
  118. package/dist/bundle/{node-sqlite-SYZUTVPC.js → node-sqlite-XPRKBDF3.js} +7 -7
  119. package/dist/bundle/{oauth-QPS5VTN6.js → oauth-WJRDUU5J.js} +8 -8
  120. package/dist/bundle/{open-OVCASRSJ.js → open-S2YSIEOW.js} +6 -6
  121. package/dist/bundle/openai-CRNZFNZD.js +25 -0
  122. package/dist/bundle/{output-file-K5JEL33Z.js → output-file-6COFGPUL.js} +6 -6
  123. package/dist/bundle/{process-HQZOTT6U.js → process-XNN4WG6N.js} +1 -1
  124. package/dist/bundle/{program-A546WC4F.js → program-BRPJKRCX.js} +181 -205
  125. package/dist/bundle/{prompt-CYBKP7S5.js → prompt-7RQOL25I.js} +6 -6
  126. package/dist/bundle/{recognize-3H3YDCFI.js → recognize-N5WADGQB.js} +5 -5
  127. package/dist/bundle/{remote-VAYVTJBS.js → remote-WHYV35IF.js} +8 -8
  128. package/dist/bundle/{rerank-XA4GA5PS.js → rerank-FBMZVWSH.js} +8 -8
  129. package/dist/bundle/{run-log-XAFHMI3F.js → run-log-TOCHREH2.js} +59 -57
  130. package/dist/bundle/{serve-KGHEDUHB.js → serve-4BABX4WS.js} +10 -10
  131. package/dist/bundle/{server-ZYTSMDTP.js → server-CDVI6LOB.js} +47 -46
  132. package/dist/bundle/server-XOFQKFVO.js +72 -0
  133. package/dist/bundle/{services-ZHMZC2OQ.js → services-PIY33I7R.js} +59 -32
  134. package/dist/bundle/{speech-7CJEFKM3.js → speech-LS5Q4FL2.js} +14 -14
  135. package/dist/bundle/{state-U6KSYVOH.js → state-YUX5R2R7.js} +7 -7
  136. package/dist/bundle/{store-DJE3LAEG.js → store-BD7HAXAA.js} +22 -17
  137. package/dist/bundle/{store-WS4CQGYU.js → store-ERMGBF2B.js} +59 -30
  138. package/dist/bundle/store-connection-JBR6CMTJ.js +83 -0
  139. package/dist/bundle/store-maintenance-command-I5DUSO2C.js +62 -0
  140. package/dist/bundle/{streaming-QMHH7L6N.js → streaming-O53PIORL.js} +7 -7
  141. package/dist/bundle/{tokens-PWQ56OXO.js → tokens-QKNEP2GJ.js} +7 -7
  142. package/dist/bundle/zm.js +9 -10
  143. package/dist/bundle/zoom-app-XJXZ4ZBX.js +41 -0
  144. package/dist/commands.d.ts.map +1 -1
  145. package/dist/commands.js +1 -0
  146. package/dist/commands.js.map +1 -1
  147. package/dist/config.d.ts +9 -0
  148. package/dist/config.d.ts.map +1 -1
  149. package/dist/config.js +48 -10
  150. package/dist/config.js.map +1 -1
  151. package/dist/identity.d.ts +1 -0
  152. package/dist/identity.d.ts.map +1 -1
  153. package/dist/identity.js +11 -0
  154. package/dist/identity.js.map +1 -1
  155. package/dist/meeting-source.d.ts.map +1 -1
  156. package/dist/meeting-source.js +2 -1
  157. package/dist/meeting-source.js.map +1 -1
  158. package/dist/meeting-stats-commands.d.ts +4 -2
  159. package/dist/meeting-stats-commands.d.ts.map +1 -1
  160. package/dist/meeting-stats-commands.js +27 -2
  161. package/dist/meeting-stats-commands.js.map +1 -1
  162. package/dist/program-bindings.d.ts.map +1 -1
  163. package/dist/program-bindings.js +10 -4
  164. package/dist/program-bindings.js.map +1 -1
  165. package/dist/recording-schedule-setup.d.ts.map +1 -1
  166. package/dist/recording-schedule-setup.js +5 -5
  167. package/dist/recording-schedule-setup.js.map +1 -1
  168. package/dist/run.d.ts.map +1 -1
  169. package/dist/run.js +2 -6
  170. package/dist/run.js.map +1 -1
  171. package/dist/setup-commands.d.ts +7 -1
  172. package/dist/setup-commands.d.ts.map +1 -1
  173. package/dist/setup-commands.js +45 -8
  174. package/dist/setup-commands.js.map +1 -1
  175. package/dist/store-commands.d.ts.map +1 -1
  176. package/dist/store-commands.js +6 -0
  177. package/dist/store-commands.js.map +1 -1
  178. package/dist/store-connection.d.ts +2 -1
  179. package/dist/store-connection.d.ts.map +1 -1
  180. package/dist/store-connection.js +4 -0
  181. package/dist/store-connection.js.map +1 -1
  182. package/dist/version.d.ts +1 -1
  183. package/dist/version.js +1 -1
  184. package/dist/watch-service.d.ts +1 -1
  185. package/dist/watch-service.d.ts.map +1 -1
  186. package/dist/watch-service.js +5 -3
  187. package/dist/watch-service.js.map +1 -1
  188. package/dist/zoom-app.d.ts +49 -0
  189. package/dist/zoom-app.d.ts.map +1 -0
  190. package/dist/zoom-app.js +83 -0
  191. package/dist/zoom-app.js.map +1 -0
  192. package/package.json +4 -3
  193. package/skills/zoom-cli/SKILL.md +4 -1
  194. package/dist/bundle/answer-policy-YAYMKRRD.js +0 -101
  195. package/dist/bundle/chunk-2T5BOLBS.js +0 -132
  196. package/dist/bundle/chunk-HKQWV3KT.js +0 -31
  197. package/dist/bundle/chunk-L7IK4FOA.js +0 -18
  198. package/dist/bundle/chunk-P2SYZNM4.js +0 -19
  199. package/dist/bundle/chunk-TN7K66PU.js +0 -9
  200. package/dist/bundle/command-contract-CQFJXWX6.js +0 -40
  201. package/dist/bundle/config-R2Y6ZVQS.js +0 -83
  202. package/dist/bundle/first-screen-MULOBUHN.js +0 -38
  203. package/dist/bundle/openai-VEVT7D7L.js +0 -25
  204. package/dist/bundle/server-IDNSJXF3.js +0 -71
  205. package/dist/bundle/store-connection-T5WGOOPH.js +0 -81
  206. package/dist/bundle/store-maintenance-command-5CBQCEQQ.js +0 -61
  207. /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-VOXIGICJ.js} +0 -0
@@ -3,48 +3,48 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-J4EZL6HY.js";
6
+ } from "./chunk-LYWUG43B.js";
7
7
  import {
8
8
  mcpUrlOf
9
- } from "./chunk-GNGBG5BT.js";
9
+ } from "./chunk-474WF55M.js";
10
10
  import {
11
11
  answeredWire
12
- } from "./chunk-U3ZUT557.js";
12
+ } from "./chunk-HXOAPH47.js";
13
13
  import {
14
14
  answered,
15
15
  failed,
16
16
  registerCommands,
17
17
  runCommandForAgent,
18
18
  toolsFromCommands
19
- } from "./chunk-TMVKZMDO.js";
19
+ } from "./chunk-YJY3W2ZT.js";
20
20
  import {
21
21
  agentJson,
22
22
  skillResource
23
- } from "./chunk-7PF56S6U.js";
23
+ } from "./chunk-7DUYFITC.js";
24
24
  import {
25
25
  StdioServerTransport,
26
26
  serveStdio
27
- } from "./chunk-7KCTPGOF.js";
28
- import "./chunk-FWFFQV4D.js";
27
+ } from "./chunk-UU5PLDRA.js";
28
+ import "./chunk-6XO7RTJY.js";
29
29
  import {
30
30
  appInstructions
31
- } from "./chunk-S4GDDO5S.js";
31
+ } from "./chunk-UDJTRFRV.js";
32
32
  import {
33
33
  McpServer
34
34
  } from "./chunk-5D4AEUVA.js";
35
35
  import {
36
36
  mcpHttpMarker
37
- } from "./chunk-LN2S3RA3.js";
38
- import "./chunk-5GD2XZ6X.js";
39
- import "./chunk-N6JMJN5A.js";
40
- import "./chunk-H5ZVZAOD.js";
41
- import "./chunk-RO44LANT.js";
42
- import "./chunk-QAPU2JNO.js";
43
- import "./chunk-RMKHYUHK.js";
44
- import "./chunk-PQLBPYJR.js";
45
- import "./chunk-P2G4KGTR.js";
46
- import "./chunk-CR4CXOLX.js";
47
- import "./chunk-ZTL7ANSG.js";
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";
43
+ import "./chunk-BOAMDYLY.js";
44
+ import "./chunk-VW6BF6M7.js";
45
+ import "./chunk-FMQS7HCC.js";
46
+ import "./chunk-4YFJYSSK.js";
47
+ import "./chunk-K67V24AT.js";
48
48
  import {
49
49
  DEFAULT_OUTPUT_BYTES,
50
50
  changesAuthorityAt,
@@ -53,52 +53,53 @@ import {
53
53
  judgedTargets,
54
54
  readsOverMcpAt,
55
55
  rootOf2 as rootOf
56
- } from "./chunk-A2SCXNA7.js";
56
+ } from "./chunk-AJ7CMUGD.js";
57
57
  import {
58
58
  readOnlyLockOf
59
- } from "./chunk-Z6U3MEGJ.js";
60
- import "./chunk-3Y2F65AY.js";
61
- import "./chunk-GI6QVSCW.js";
62
- import "./chunk-QV5ZGRK3.js";
63
- import "./chunk-Y3EIK4XW.js";
64
- import "./chunk-5A26IBAR.js";
65
- import "./chunk-6GSJLNP4.js";
66
- import "./chunk-5HPALDUO.js";
67
- import "./chunk-2T5BOLBS.js";
68
- import "./chunk-IKQ73INC.js";
69
- import "./chunk-K5CIN4JP.js";
70
- import "./chunk-N5JRRBEG.js";
71
- import "./chunk-AU4JHT3R.js";
72
- import "./chunk-6TIKPRVQ.js";
73
- import "./chunk-HKQWV3KT.js";
74
- import "./chunk-7JMBEPW2.js";
75
- import "./chunk-CZ4KLUJG.js";
76
- import "./chunk-NMQUCHTX.js";
77
- import "./chunk-AZ7ICKIA.js";
78
- import "./chunk-P3XVLHIQ.js";
79
- import "./chunk-L7IK4FOA.js";
80
- import "./chunk-ILHTNOIV.js";
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";
81
+ import "./chunk-P3ASN72F.js";
81
82
  import "./chunk-D72URWJE.js";
82
- import "./chunk-62GOOZO3.js";
83
- import "./chunk-BLT3LR3U.js";
84
- import "./chunk-Q47C3QZW.js";
85
- import "./chunk-SU4WPBQE.js";
86
- import "./chunk-NUN6OGOV.js";
87
- import "./chunk-TFDVFD4N.js";
83
+ import "./chunk-LV7QRR5S.js";
84
+ import "./chunk-PUTGTW6W.js";
85
+ import "./chunk-TDGZMC6K.js";
86
+ import "./chunk-B6JMVB6R.js";
87
+ import "./chunk-VOXIGICJ.js";
88
+ import "./chunk-KNE6VFHZ.js";
88
89
  import {
89
90
  mcpErrorResult
90
- } from "./chunk-N67BLTBV.js";
91
+ } from "./chunk-NRRI37NJ.js";
91
92
  import "./chunk-Y5E2WNWB.js";
92
93
  import {
93
94
  CliError
94
- } from "./chunk-S6S3KVJI.js";
95
- import "./chunk-UYV2JGLQ.js";
96
- import "./chunk-U4RVOSX3.js";
95
+ } from "./chunk-FEM2JQN2.js";
96
+ import "./chunk-OE7EIP5L.js";
97
+ import "./chunk-P2TISY3R.js";
97
98
  import {
98
99
  __name
99
100
  } from "./chunk-ZVVMGPBJ.js";
100
101
 
101
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
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
103
  var EXCLUDED = [["mcp"]];
103
104
  var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
104
105
  const { app } = options;
@@ -198,9 +199,12 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
198
199
  });
199
200
  const ended = await new Promise((resolve) => {
200
201
  wire.ended.then(() => resolve("input"));
201
- if (own)
202
- signal?.addEventListener("abort", () => resolve("stopped"), { once: true });
203
- else {
202
+ if (own) {
203
+ if (signal?.aborted)
204
+ resolve("stopped");
205
+ else
206
+ signal?.addEventListener("abort", () => resolve("stopped"), { once: true });
207
+ } else {
204
208
  process.once("SIGINT", () => resolve("stopped"));
205
209
  process.once("SIGTERM", () => resolve("stopped"));
206
210
  }
@@ -213,7 +217,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
213
217
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
214
218
  const { app } = options;
215
219
  const { build } = createAppServer(command, context, options);
216
- const { serveOverHttp } = await import("./serve-KGHEDUHB.js");
220
+ const { serveOverHttp } = await import("./serve-4BABX4WS.js");
217
221
  const listening = await serveOverHttp(build, {
218
222
  ...http,
219
223
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-U4RVOSX3.js";
21
+ } from "./chunk-P2TISY3R.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
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
27
27
  import { Database } from "bun:sqlite";
28
28
  var bunSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,19 +3,19 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-XFUID5NY.js";
7
- import "./chunk-TFDVFD4N.js";
8
- import "./chunk-N67BLTBV.js";
6
+ } from "./chunk-SRP6SFFD.js";
7
+ import "./chunk-KNE6VFHZ.js";
8
+ import "./chunk-NRRI37NJ.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
- import "./chunk-S6S3KVJI.js";
13
- import "./chunk-UYV2JGLQ.js";
12
+ import "./chunk-FEM2JQN2.js";
13
+ import "./chunk-OE7EIP5L.js";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
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
19
19
  var customised = false;
20
20
  var ownLibrary = /* @__PURE__ */ __name(async () => {
21
21
  try {
@@ -3,12 +3,13 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  AUDIT_MIN_SCORE,
5
5
  throughWrapper
6
- } from "./chunk-RO44LANT.js";
6
+ } from "./chunk-YTF2WPV4.js";
7
7
  import {
8
8
  Command,
9
9
  InvalidArgumentError,
10
10
  Option,
11
11
  annotate,
12
+ annotateOption,
12
13
  environmentOf,
13
14
  itemOf,
14
15
  listOf,
@@ -16,13 +17,13 @@ import {
16
17
  renderAnswer,
17
18
  sharedCommand,
18
19
  snakeKeys
19
- } from "./chunk-A2SCXNA7.js";
20
+ } from "./chunk-AJ7CMUGD.js";
20
21
  import {
21
22
  readOnlyLockOf
22
- } from "./chunk-Z6U3MEGJ.js";
23
+ } from "./chunk-AVEIQMHZ.js";
23
24
  import {
24
25
  formatReference
25
- } from "./chunk-N5JRRBEG.js";
26
+ } from "./chunk-NUJMJQXV.js";
26
27
  import {
27
28
  EVENT_QUERY,
28
29
  MEETING_PROJECT_EVIDENCE_QUERY,
@@ -45,7 +46,7 @@ import {
45
46
  readMeetingProjectEvidence,
46
47
  validateMeetingHitSearch,
47
48
  validateMeetingPassage
48
- } from "./chunk-Q47C3QZW.js";
49
+ } from "./chunk-TDGZMC6K.js";
49
50
  import {
50
51
  OPERATORS_BY_TYPE,
51
52
  QUERY_LIMITS,
@@ -60,7 +61,7 @@ import {
60
61
  timezoneOf,
61
62
  validateQuery,
62
63
  zonedMoment
63
- } from "./chunk-SU4WPBQE.js";
64
+ } from "./chunk-B6JMVB6R.js";
64
65
  import {
65
66
  array,
66
67
  boolean,
@@ -73,15 +74,15 @@ import {
73
74
  safeParse,
74
75
  strictObject,
75
76
  string
76
- } from "./chunk-N67BLTBV.js";
77
+ } from "./chunk-NRRI37NJ.js";
77
78
  import {
78
79
  CliError
79
- } from "./chunk-S6S3KVJI.js";
80
+ } from "./chunk-FEM2JQN2.js";
80
81
  import {
81
82
  __name
82
83
  } from "./chunk-ZVVMGPBJ.js";
83
84
 
84
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
85
+ // 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/messenger/lacks.js
85
86
  var COMMAND_NEEDS = {
86
87
  "account update": ["updateProfile", "change the profile"],
87
88
  "account sessions list": ["sessions", "list the account's sessions"],
@@ -131,7 +132,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
131
132
  return group;
132
133
  }, "hideNever");
133
134
 
134
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
135
+ // 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/meetings/cli/search.js
135
136
  var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
136
137
  var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
137
138
  const zone = timezoneOf();
@@ -217,7 +218,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
217
218
  var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
218
219
  var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
219
220
 
220
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
221
+ // 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/meetings/cli/query-options.js
221
222
  var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
222
223
  command.allowUnknownOption();
223
224
  const parse = command.parseOptions.bind(command);
@@ -237,7 +238,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
237
238
  return command;
238
239
  }, "queryWordsAfterOptions");
239
240
 
240
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
241
+ // 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/meetings/cli/passage.js
241
242
  var count = /* @__PURE__ */ __name((value) => {
242
243
  if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
243
244
  throw new CliError("validation_error", "expected a nonnegative safe integer");
@@ -279,7 +280,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
279
280
  var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
280
281
  var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
281
282
 
282
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
283
+ // 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/meetings/cli/project-evidence.js
283
284
  var integer2 = /* @__PURE__ */ __name((value) => {
284
285
  if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
285
286
  throw new CliError("validation_error", "expected a positive safe integer");
@@ -302,7 +303,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
302
303
  }, "addMeetingProjectEvidenceCommandDefinition");
303
304
  var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
304
305
 
305
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
306
+ // 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/meetings/cli/index.js
306
307
  var integer3 = /* @__PURE__ */ __name((text) => {
307
308
  if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
308
309
  throw new InvalidArgumentError("expected a positive integer");
@@ -352,7 +353,14 @@ ${fieldsHelp(MEETING_QUERY, MEETING_QUERY_GUIDE)}`);
352
353
  output(annotate(group.command("summary"), { effects: LOCAL_READ, output: { entity: "meeting_summary" } }).description("show stored meeting summaries").argument("<meeting>", "stored meeting id", integer3)).action(async (id, _opts, command) => {
353
354
  print(await meetingSummaryAnswer(deps.store, id, deps.accountId), command);
354
355
  });
355
- output(annotate(group.command("export"), { effects: LOCAL_WRITE, output: { entity: "meeting_export" } }).description("export a meeting as Markdown or one transcript as WebVTT").argument("<meeting>", "stored meeting id", integer3).addOption(new Option("--format <format>", "export format").choices(["markdown", "vtt"]).default("markdown")).option("--transcript-id <id>", "export a specific transcript version", integer3).option("--output <file>", "write content to a file through the host's writer")).action(async (id, opts, command) => {
356
+ const exporter = output(annotate(group.command("export"), { effects: LOCAL_WRITE, output: { entity: "meeting_export" } }).description("export a meeting as Markdown or one transcript as WebVTT").argument("<meeting>", "stored meeting id", integer3).addOption(new Option("--format <format>", "export format").choices(["markdown", "vtt"]).default("markdown")).option("--transcript-id <id>", "export a specific transcript version", integer3).addOption(
357
+ // Not over MCP: an agent would choose where on the owner's disk to write; it gets the content in the answer.
358
+ annotateOption(new Option("--output <file>", "write content to a new file through the host's writer"), {
359
+ mcp: false
360
+ })
361
+ ));
362
+ deps.newFileOutput?.(exporter, "output");
363
+ exporter.action(async (id, opts, command) => {
356
364
  if (opts.output !== void 0 && !opts.output.trim())
357
365
  throw new MeetingError("validation_error", "output path must not be empty");
358
366
  if (opts.output !== void 0 && !deps.writeFile)
@@ -379,16 +387,21 @@ ${fieldsHelp(MEETING_QUERY, MEETING_QUERY_GUIDE)}`);
379
387
  output(annotate(group.command("sync"), {
380
388
  effects: FETCH,
381
389
  offline: false,
382
- output: { entity: "meeting_ingestion" }
383
- }).description("bring the stored meetings up to date from the connected account")).option("--since-time <time>", "fetch meetings starting at or after this ISO 8601 date or time", date).option("--lookback-days <days>", "revisit recent occurrences for late transcripts (0\u201331)", lookbackDays, 0).action(async (opts, command) => {
384
- if (!deps.source)
390
+ output: { entity: "meeting_ingestion" },
391
+ // Only a sync that stops itself at its budget may outlive the one-shot deadline.
392
+ ...deps.budgetOf ? { cooperative: true, partial: true } : {}
393
+ }).description("bring the stored meetings up to date from the connected account, oldest first; a run that stops before its deadline keeps what it saved and the next one goes on from there")).option("--since-time <time>", "fetch meetings starting at or after this ISO 8601 date or time", date).option("--lookback-days <days>", "revisit recent occurrences for late transcripts (0\u201331)", lookbackDays).option("--rescan", "read the last 30 days again, not only what came after the last sync").action(async (opts, command) => {
394
+ const source = deps.source;
395
+ if (!source)
385
396
  throw new MeetingError("configuration_error", "meeting source is unavailable");
386
- print(await pull(deps.source, deps.store, {
397
+ await deps.inRun(command, async () => print(await pull(source, deps.store, {
387
398
  accountId: deps.accountId,
388
399
  since: opts.sinceTime === void 0 ? void 0 : new Date(opts.sinceTime).toISOString(),
389
400
  now: deps.now?.(),
390
- lookbackMs: opts.lookbackDays * 864e5
391
- }), command);
401
+ ...opts.lookbackDays === void 0 ? {} : { lookbackMs: opts.lookbackDays * 864e5 },
402
+ ...opts.rescan ? { rescan: true } : {},
403
+ ...deps.budgetOf ? { budget: deps.budgetOf(command) } : {}
404
+ }), command));
392
405
  });
393
406
  const importCommand = annotate(group.command("import"), {
394
407
  effects: LOCAL_WRITE,
@@ -434,7 +447,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
434
447
  }, "addMeetingCommandsDefinition");
435
448
  var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
436
449
 
437
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/list-query.js
450
+ // 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/list-query.js
438
451
  var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
439
452
  var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
440
453
  var withQuery = /* @__PURE__ */ __name((command, registry) => {
@@ -575,7 +588,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
575
588
  var queryHelp = /* @__PURE__ */ __name((registry) => `
576
589
  ${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
577
590
 
578
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/paging.js
591
+ // 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/paging.js
579
592
  var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
580
593
  if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
581
594
  throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
@@ -584,7 +597,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
584
597
  var withPaging = /* @__PURE__ */ __name((command) => command.option("--limit <n>", "how many to show", positiveCount("--limit")).option("--page <n>", "which page, starting at 1", positiveCount("--page")).option("--all", "every row, no paging"), "withPaging");
585
598
  var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
586
599
 
587
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
600
+ // 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/messenger/chat-answers.js
588
601
  var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
589
602
  var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
590
603
  var settingsOf = /* @__PURE__ */ __name((settings) => defined({
@@ -846,7 +859,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
846
859
  ...createdAt === void 0 ? {} : { created_at: createdAt }
847
860
  }), "sessionAnswer");
848
861
 
849
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/background/relay.js
862
+ // 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/background/relay.js
850
863
  import { createHash } from "node:crypto";
851
864
  import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
852
865
  import { createConnection, createServer } from "node:net";
@@ -1067,7 +1080,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
1067
1080
  }, () => finish({ error: stopped() }));
1068
1081
  }), "relayCommand");
1069
1082
 
1070
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
1083
+ // 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/messenger/serve-relay.js
1071
1084
  var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
1072
1085
  close: /* @__PURE__ */ __name(async () => {
1073
1086
  }, "close"),
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-S6S3KVJI.js";
5
+ } from "./chunk-FEM2JQN2.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
10
+ // 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/input-policy.js
11
11
  var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
12
12
  var MAX_SECRET_INPUT = 64 * 1024;
13
13
  var policies = /* @__PURE__ */ new WeakMap();
@@ -0,0 +1,35 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ resolvePaths
5
+ } from "./chunk-KNE6VFHZ.js";
6
+ import {
7
+ __name
8
+ } from "./chunk-ZVVMGPBJ.js";
9
+
10
+ // 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/path.js
11
+ import { userInfo } from "node:os";
12
+ import { isAbsolute, join, relative, resolve } from "node:path";
13
+ var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
14
+ var storePath = /* @__PURE__ */ __name((env = process.env) => env.MESSAGING_STORE ?? join(wirecatDirectory(env), "wirecat.db"), "storePath");
15
+ var accountHome = /* @__PURE__ */ __name(() => {
16
+ try {
17
+ return userInfo().homedir;
18
+ } catch {
19
+ return void 0;
20
+ }
21
+ }, "accountHome");
22
+ var refuseOwnerStoreInTests = /* @__PURE__ */ __name((file, env = process.env, home = accountHome()) => {
23
+ if (!env.VITEST || !home || file === ":memory:")
24
+ return;
25
+ const inside = relative(wirecatDirectory({ HOME: home, USERPROFILE: home }), resolve(file));
26
+ if (inside.startsWith("..") || isAbsolute(inside))
27
+ return;
28
+ throw new Error(`a test tried to open ${file}, in the owner's real WireCat folder; give it a MESSAGING_STORE or HOME of its own`);
29
+ }, "refuseOwnerStoreInTests");
30
+
31
+ export {
32
+ wirecatDirectory,
33
+ storePath,
34
+ refuseOwnerStoreInTests
35
+ };
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
7
+ // 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/bot/instructions.js
8
8
  var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
9
9
  `The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
10
10
  "Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  unit
5
- } from "./chunk-AZ7ICKIA.js";
5
+ } from "./chunk-KUB2U5NT.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-S6S3KVJI.js";
8
+ } from "./chunk-FEM2JQN2.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
13
+ // 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/embeddings/remote.js
14
14
  import { setTimeout } from "node:timers/promises";
15
15
  var OPENAI_URL = "https://api.openai.com/v1";
16
16
  var OPENAI_MODELS = {