@wirecat/drive-cli 0.60.0 → 0.62.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 (174) hide show
  1. package/README.md +4 -5
  2. package/dist/bin/drive.js +2 -2
  3. package/dist/browse.d.ts +20 -0
  4. package/dist/browse.d.ts.map +1 -0
  5. package/dist/browse.js +146 -0
  6. package/dist/browse.js.map +1 -0
  7. package/dist/bundle/{all-profiles-537I27Z4.js → all-profiles-CKD2DWUK.js} +14 -14
  8. package/dist/bundle/{anthropic-X4NWVHDF.js → anthropic-E3T4USLA.js} +9 -9
  9. package/dist/bundle/{app-server-KSHJKKS7.js → app-server-JB2AEWWL.js} +58 -55
  10. package/dist/bundle/{bun-WTBGGCUC.js → bun-CC44AAND.js} +2 -2
  11. package/dist/bundle/{bun-sqlite-T7Y3JFFD.js → bun-sqlite-AUMFKYVR.js} +8 -8
  12. package/dist/bundle/{chunk-2AXA5SKP.js → chunk-27YUUGXQ.js} +1 -1
  13. package/dist/bundle/{chunk-HIP43OGZ.js → chunk-2HF2MRXI.js} +1 -1
  14. package/dist/bundle/{chunk-AXWXQNTC.js → chunk-2KN35F32.js} +10 -10
  15. package/dist/bundle/{chunk-EBLA7GXY.js → chunk-4OSSOWDM.js} +2 -1
  16. package/dist/bundle/{chunk-XFXRGQXJ.js → chunk-4SIZEJ3M.js} +2 -2
  17. package/dist/bundle/{chunk-LQSRVQ3V.js → chunk-67ZQCWBV.js} +3 -3
  18. package/dist/bundle/{chunk-FO4TCH6P.js → chunk-6EY46GAN.js} +2 -2
  19. package/dist/bundle/{chunk-4XZXH2NM.js → chunk-7W5HYGVW.js} +4 -2
  20. package/dist/bundle/{chunk-FZOCQQ66.js → chunk-7ZXIWZQ6.js} +12 -12
  21. package/dist/bundle/{chunk-YGG7UA3C.js → chunk-AH5C3D3D.js} +5 -5
  22. package/dist/bundle/{chunk-YDN2RH5S.js → chunk-AQVUEZEP.js} +2 -2
  23. package/dist/bundle/{chunk-N7S2UPF3.js → chunk-CJHY5YIF.js} +494 -227
  24. package/dist/bundle/{chunk-MXP35VPO.js → chunk-CZ2GJHLL.js} +2 -2
  25. package/dist/bundle/{chunk-HQVIK6PM.js → chunk-DJOAMGF4.js} +262 -368
  26. package/dist/bundle/{chunk-HCJG7ENG.js → chunk-DRZZBN3V.js} +3 -3
  27. package/dist/bundle/{chunk-TXMTMEHW.js → chunk-DWJHL6DV.js} +4 -4
  28. package/dist/bundle/{chunk-S36HRPNS.js → chunk-E43ENLJJ.js} +1 -1
  29. package/dist/bundle/{chunk-4VHBDVY2.js → chunk-EOOGWUTP.js} +14 -10
  30. package/dist/bundle/{chunk-5XHLQZAG.js → chunk-EW7PKB4M.js} +58 -49
  31. package/dist/bundle/{chunk-TKW4QWCY.js → chunk-FEZF3TII.js} +12 -6
  32. package/dist/bundle/{chunk-KEXTTZJM.js → chunk-FNWIJ6EJ.js} +2 -2
  33. package/dist/bundle/{chunk-OYNUBWD2.js → chunk-FUITWY7O.js} +1 -1
  34. package/dist/bundle/{chunk-TVQDMP2F.js → chunk-HCNQT3QE.js} +1440 -771
  35. package/dist/bundle/{chunk-FTZNUZO7.js → chunk-HG6CAYJH.js} +3 -3
  36. package/dist/bundle/{chunk-SZXI4OXX.js → chunk-IR4SQLBR.js} +2 -2
  37. package/dist/bundle/{chunk-UTFATA4K.js → chunk-JK3U25QZ.js} +1 -1
  38. package/dist/bundle/{chunk-SBHSNOU4.js → chunk-JN5TVEEL.js} +96 -27
  39. package/dist/bundle/{chunk-IXN7Y6JA.js → chunk-KLFSRKHB.js} +1 -1
  40. package/dist/bundle/{chunk-57QVQGBE.js → chunk-L7K2MOIC.js} +22 -22
  41. package/dist/bundle/{chunk-JGUJJNGZ.js → chunk-LQKD257P.js} +582 -424
  42. package/dist/bundle/{chunk-GVRS5AIH.js → chunk-LWE4JGRN.js} +2 -2
  43. package/dist/bundle/{chunk-D6WIWOQC.js → chunk-MN4VXU3M.js} +4 -4
  44. package/dist/bundle/{chunk-QIJWSKZL.js → chunk-N7OZPKU7.js} +4 -4
  45. package/dist/bundle/{chunk-W62CON5K.js → chunk-O2XOX4HB.js} +34 -10
  46. package/dist/bundle/{chunk-PDYHEWKG.js → chunk-O7ALBI2I.js} +5 -5
  47. package/dist/bundle/{chunk-PETFPXLU.js → chunk-OBH5BA62.js} +3 -3
  48. package/dist/bundle/{chunk-246P2DCT.js → chunk-OD4U7GUY.js} +113 -51
  49. package/dist/bundle/{chunk-67QXMO2G.js → chunk-ONP2IBHY.js} +26 -26
  50. package/dist/bundle/{chunk-JQLIM6BH.js → chunk-OTROVC4E.js} +1 -1
  51. package/dist/bundle/{chunk-73TTP6ET.js → chunk-PEQA6LA5.js} +617 -243
  52. package/dist/bundle/{chunk-ALWTUDZF.js → chunk-Q2LRPOKL.js} +22 -14
  53. package/dist/bundle/{chunk-CKGHRWVR.js → chunk-QCKZ3GAA.js} +4 -4
  54. package/dist/bundle/chunk-QCX6XZLA.js +415 -0
  55. package/dist/bundle/{chunk-UVLSWLPZ.js → chunk-QH7DOVO3.js} +204 -58
  56. package/dist/bundle/{chunk-OMKUBCNN.js → chunk-QTI6IVHZ.js} +8 -8
  57. package/dist/bundle/{chunk-6HTKB4WC.js → chunk-R347FPYU.js} +1 -1
  58. package/dist/bundle/chunk-RIDQNVZM.js +64 -0
  59. package/dist/bundle/{chunk-ZPQS7XJA.js → chunk-RPMKG63Z.js} +18 -4
  60. package/dist/bundle/{chunk-XDIEQ2CE.js → chunk-RWSXVCSG.js} +3 -3
  61. package/dist/bundle/{chunk-3TQHIHZI.js → chunk-SVPCHFKI.js} +2 -2
  62. package/dist/bundle/{chunk-V2VMBM7O.js → chunk-SW4I5BR7.js} +2 -2
  63. package/dist/bundle/{chunk-EHAI773E.js → chunk-T5NWWXS2.js} +2 -2
  64. package/dist/bundle/{chunk-4CBZEAQ7.js → chunk-T7X53FCJ.js} +34 -34
  65. package/dist/bundle/{chunk-77C5XRH3.js → chunk-TDX4GZFO.js} +7 -7
  66. package/dist/bundle/{chunk-PPL5ASW2.js → chunk-U2BFYSQV.js} +14158 -2039
  67. package/dist/bundle/{chunk-DQDKLZAK.js → chunk-UGXN5D7U.js} +719 -128
  68. package/dist/bundle/{chunk-UNJE63JK.js → chunk-UOXOLGNG.js} +2 -2
  69. package/dist/bundle/{chunk-LJ77Y3TK.js → chunk-UQLWMGSD.js} +6 -5
  70. package/dist/bundle/{chunk-HFGR33KD.js → chunk-VAYB52HF.js} +33 -31
  71. package/dist/bundle/{chunk-GD6TQ6U4.js → chunk-VQDD64A4.js} +8 -8
  72. package/dist/bundle/{chunk-22ATLSNK.js → chunk-W4RTIL7S.js} +5 -5
  73. package/dist/bundle/{chunk-UVYVIHEA.js → chunk-WZKEU7WR.js} +4 -2
  74. package/dist/bundle/{chunk-5AMRCBMP.js → chunk-XEW2EN6F.js} +51 -37
  75. package/dist/bundle/{chunk-O37ESNAP.js → chunk-XFRRKZHQ.js} +242 -90
  76. package/dist/bundle/{chunk-K6XVRA6U.js → chunk-XS5POQST.js} +1 -1
  77. package/dist/bundle/{chunk-IRZ7OF3F.js → chunk-XZUS7XRO.js} +1 -1
  78. package/dist/bundle/{chunk-V7QMHMR3.js → chunk-YALI4C7C.js} +6 -6
  79. package/dist/bundle/{chunk-73MNUSP3.js → chunk-YMWENGKH.js} +1 -1
  80. package/dist/bundle/{chunk-MVNPE5FZ.js → chunk-YOJDGAPT.js} +8 -8
  81. package/dist/bundle/{chunk-DMHGWL5D.js → chunk-YPFUYQDP.js} +13 -13
  82. package/dist/bundle/{chunk-VVCZS42A.js → chunk-YUWPNG7B.js} +1 -1
  83. package/dist/bundle/{chunk-VRW6ZDTH.js → chunk-YXYTY4GF.js} +39 -26
  84. package/dist/bundle/{chunk-ZYCLPJ7U.js → chunk-ZMOUUOT2.js} +1 -1
  85. package/dist/bundle/command-contract-OB5BRABN.js +39 -0
  86. package/dist/bundle/{decode-35N57AFW.js → decode-WIIX3Y2X.js} +8 -8
  87. package/dist/bundle/{dispatch-CWXZW3PL.js → dispatch-GEFIXA6X.js} +9 -9
  88. package/dist/bundle/drive.js +11 -11
  89. package/dist/bundle/{echarts-3P3QZWMU.js → echarts-OYINM4C4.js} +2 -2
  90. package/dist/bundle/{embed-Q6Q5IOJQ.js → embed-DWZIYMBX.js} +9 -9
  91. package/dist/bundle/{embedder-D44JDTAA.js → embedder-ILWH7ZRM.js} +12 -12
  92. package/dist/bundle/entry-V5V3TOTY.js +22 -0
  93. package/dist/bundle/{failure-GRMMSDCZ.js → failure-GV77W3CD.js} +4 -4
  94. package/dist/bundle/first-run-V3VVLQF4.js +30 -0
  95. package/dist/bundle/first-screen-Y3RIN7FU.js +37 -0
  96. package/dist/bundle/{google-6ZZDKFBN.js → google-KLZSUAVY.js} +13 -13
  97. package/dist/bundle/{google-api-E6MOJ4ZD.js → google-api-HZQ5R4ZO.js} +83 -64
  98. package/dist/bundle/grants-L7XLHLUT.js +105 -0
  99. package/dist/bundle/{identity-TID7S5NE.js → identity-J2DON4IO.js} +6 -6
  100. package/dist/bundle/{instructions-ANJN4HV3.js → instructions-HGOJ23AJ.js} +1 -1
  101. package/dist/bundle/{login-BGMK2ABH.js → login-BD2TS4GY.js} +64 -64
  102. package/dist/bundle/{mcp-WBHKX5E3.js → mcp-GWDA3HOA.js} +2 -2
  103. package/dist/bundle/{node-VOB45ES2.js → node-CPKTDPH7.js} +2 -2
  104. package/dist/bundle/{node-sqlite-TSX6XQY2.js → node-sqlite-IXDCRLSX.js} +9 -9
  105. package/dist/bundle/oauth-HOGY4YBB.js +22 -0
  106. package/dist/bundle/{open-3USWHGNR.js → open-O7P3ZV3Y.js} +8 -8
  107. package/dist/bundle/{openai-YZ5VGPIP.js → openai-RCFQKCXC.js} +17 -17
  108. package/dist/bundle/{process-44JS2W7L.js → process-KXDRJO22.js} +1 -1
  109. package/dist/bundle/{program-TZLAFKJV.js → program-UCHFC7JQ.js} +266 -104
  110. package/dist/bundle/prompt-EVPPBN5W.js +17 -0
  111. package/dist/bundle/{reasons-ZK3U3CIN.js → reasons-57J2D77K.js} +5 -5
  112. package/dist/bundle/{recognize-OFW7HWTM.js → recognize-MRCYGP2J.js} +7 -7
  113. package/dist/bundle/{remote-YBDRZQZ5.js → remote-L3L4PHKF.js} +10 -10
  114. package/dist/bundle/{rerank-TQQNS5FJ.js → rerank-PSOE6XFT.js} +10 -10
  115. package/dist/bundle/{serve-OPZXMVLH.js → serve-72OGS3BF.js} +12 -12
  116. package/dist/bundle/server-C5TGNFXW.js +70 -0
  117. package/dist/bundle/{server-2D6DDIK5.js → server-SCXKYHBO.js} +44 -44
  118. package/dist/bundle/{services-34WKT3NN.js → services-YAFTELBI.js} +42 -32
  119. package/dist/bundle/{sqlite-runtime-WPUMKLUV.js → sqlite-runtime-DLK4SU33.js} +9 -9
  120. package/dist/bundle/{start-ZXUJZ4JV.js → start-AFFA3LKM.js} +9 -7
  121. package/dist/bundle/{state-AV2RB3AQ.js → state-T5VNAJSZ.js} +9 -9
  122. package/dist/bundle/{store-YKV4GAMS.js → store-4OFK7PKQ.js} +48 -28
  123. package/dist/bundle/{store-3M7N2Q5T.js → store-R6MSY2IM.js} +20 -18
  124. package/dist/bundle/store-maintenance-command-QDMCXGV6.js +60 -0
  125. package/dist/bundle/tokens-HIG36RNS.js +103 -0
  126. package/dist/commands/config.js +1 -1
  127. package/dist/commands/config.js.map +1 -1
  128. package/dist/commands/folders.d.ts +2 -1
  129. package/dist/commands/folders.d.ts.map +1 -1
  130. package/dist/commands/folders.js +16 -3
  131. package/dist/commands/folders.js.map +1 -1
  132. package/dist/commands/session.d.ts.map +1 -1
  133. package/dist/commands/session.js +10 -2
  134. package/dist/commands/session.js.map +1 -1
  135. package/dist/config.d.ts +16 -5
  136. package/dist/config.d.ts.map +1 -1
  137. package/dist/config.js +11 -17
  138. package/dist/config.js.map +1 -1
  139. package/dist/download.d.ts +3 -2
  140. package/dist/download.d.ts.map +1 -1
  141. package/dist/download.js +21 -9
  142. package/dist/download.js.map +1 -1
  143. package/dist/google-api.d.ts +3 -1
  144. package/dist/google-api.d.ts.map +1 -1
  145. package/dist/google-api.js +27 -7
  146. package/dist/google-api.js.map +1 -1
  147. package/dist/login.js +1 -1
  148. package/dist/login.js.map +1 -1
  149. package/dist/program.d.ts.map +1 -1
  150. package/dist/program.js +7 -7
  151. package/dist/program.js.map +1 -1
  152. package/dist/tokens.d.ts.map +1 -1
  153. package/dist/tokens.js +15 -6
  154. package/dist/tokens.js.map +1 -1
  155. package/dist/version.d.ts +1 -1
  156. package/dist/version.js +1 -1
  157. package/package.json +3 -3
  158. package/dist/bundle/chunk-77YTRBL6.js +0 -249
  159. package/dist/bundle/chunk-YYHKVOVK.js +0 -132
  160. package/dist/bundle/command-contract-NUIWUVYB.js +0 -39
  161. package/dist/bundle/entry-ZHCNI7XO.js +0 -22
  162. package/dist/bundle/first-run-3DC2SDWM.js +0 -30
  163. package/dist/bundle/first-screen-YJF4YODC.js +0 -37
  164. package/dist/bundle/grants-GWXDH5GM.js +0 -105
  165. package/dist/bundle/oauth-CEOYXW6C.js +0 -22
  166. package/dist/bundle/prompt-SG7LAOXW.js +0 -17
  167. package/dist/bundle/server-R6G2O772.js +0 -70
  168. package/dist/bundle/store-maintenance-command-WDXNY4ZF.js +0 -60
  169. package/dist/bundle/tokens-F63RXXEF.js +0 -103
  170. package/dist/oauth-application.d.ts +0 -5
  171. package/dist/oauth-application.d.ts.map +0 -1
  172. package/dist/oauth-application.js +0 -9
  173. package/dist/oauth-application.js.map +0 -1
  174. /package/dist/bundle/{chunk-LK2E2ELG.js → chunk-ZQ3GWKDQ.js} +0 -0
@@ -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-EBLA7GXY.js";
5
+ } from "./chunk-4OSSOWDM.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/search/languages.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/search/languages.js
11
11
  var LANGUAGES = [
12
12
  { name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
13
13
  { name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
@@ -15,12 +15,12 @@ var LANGUAGES = [
15
15
  ];
16
16
  var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/store/normalize.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/store/normalize.js
19
19
  var NORMALIZER_VERSION = 1;
20
20
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
21
21
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
24
24
  var BaseStemmer = class {
25
25
  static {
26
26
  __name(this, "BaseStemmer");
@@ -395,7 +395,7 @@ var BaseStemmer = class {
395
395
  }
396
396
  };
397
397
 
398
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
398
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
399
399
  var a_0 = [
400
400
  ["arsen", -1],
401
401
  ["commun", -1],
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
1096
1096
  stemWord = this.stem;
1097
1097
  };
1098
1098
 
1099
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1099
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1100
1100
  var a_02 = [
1101
1101
  ["\u0432", 1],
1102
1102
  ["\u0438\u0432", 2, 1],
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
1519
1519
  stemWord = this.stem;
1520
1520
  };
1521
1521
 
1522
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1522
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1523
1523
  var a_03 = [
1524
1524
  ["", 6],
1525
1525
  ["\xE1", 1, 1],
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
2195
2195
  stemWord = this.stem;
2196
2196
  };
2197
2197
 
2198
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/search/stem.js
2198
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/search/stem.js
2199
2199
  var SNOWBALL_VERSION = "3.1.1";
2200
2200
  var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
2201
2201
  var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
@@ -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-EBLA7GXY.js";
5
+ } from "./chunk-4OSSOWDM.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
11
11
  import { randomUUID } from "node:crypto";
12
12
  import { constants } from "node:fs";
13
13
  import { link, open, realpath, rename, unlink } from "node:fs/promises";
@@ -45,7 +45,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
45
45
  }
46
46
  }, "writeFileAtomic");
47
47
 
48
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
48
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
49
49
  import { constants as constants2 } from "node:fs";
50
50
  import { lstat, open as open2 } from "node:fs/promises";
51
51
  var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
@@ -111,21 +111,21 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
111
111
  }
112
112
  }, "syncDirectory");
113
113
 
114
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/files/lock.js
114
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/lock.js
115
115
  import { mkdir as mkdir2 } from "node:fs/promises";
116
116
  import { basename as basename2, dirname as dirname2 } from "node:path";
117
117
 
118
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
118
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
119
119
  import { randomUUID as randomUUID2 } from "node:crypto";
120
120
  import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
121
121
  import { hostname as hostname2 } from "node:os";
122
122
  import { join as join3 } from "node:path";
123
123
 
124
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
124
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
125
125
  import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
126
126
  import { join as join2 } from "node:path";
127
127
 
128
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
128
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
129
129
  import { hostname } from "node:os";
130
130
  var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
131
131
  var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
@@ -170,7 +170,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
170
170
  }
171
171
  }, "leaseOwnerStatus");
172
172
 
173
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
173
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
174
174
  var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
175
175
  const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
176
176
  options.signal?.throwIfAborted();
@@ -229,7 +229,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
229
229
  return { inspect, recover };
230
230
  }, "leaseInspection");
231
231
 
232
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
232
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
233
233
  import { rmdir, unlink as unlink3 } from "node:fs/promises";
234
234
  var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
235
235
  let releasing;
@@ -254,7 +254,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
254
254
  };
255
255
  }, "ownedNativeLease");
256
256
 
257
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
257
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
258
258
  var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
259
259
  var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
260
260
  const { markerDirectory, legacyMarker } = layout;
@@ -325,7 +325,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
325
325
  };
326
326
  }, "nativeWriterLeaseStore");
327
327
 
328
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/files/lock.js
328
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/lock.js
329
329
  var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
330
330
  const folder = dirname2(path);
331
331
  await mkdir2(folder, { recursive: true, mode: 448 });
@@ -340,7 +340,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
340
340
  });
341
341
  }, "acquireLock");
342
342
 
343
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
343
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
344
344
  var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
345
345
  if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
346
346
  throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
@@ -369,7 +369,7 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
369
369
  }
370
370
  }, "readBoundedUtf8File");
371
371
 
372
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/files/safe-name.js
372
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/safe-name.js
373
373
  import { basename as basename3 } from "node:path";
374
374
  var safeName = /* @__PURE__ */ __name((name, platform = process.platform) => {
375
375
  let plain = name === void 0 ? "" : basename3(name.replaceAll("\\", "/")).replace(/[\p{Cc}​-‏‪-‮⁦-⁩]/gu, "").replace(/^\.+/, "");
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-EBLA7GXY.js";
5
+ } from "./chunk-4OSSOWDM.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
@@ -5,6 +5,7 @@ import {
5
5
  InvalidArgumentError,
6
6
  Option,
7
7
  annotate,
8
+ annotateOption,
8
9
  environmentOf,
9
10
  itemOf,
10
11
  listOf,
@@ -12,17 +13,17 @@ import {
12
13
  renderAnswer,
13
14
  sharedCommand,
14
15
  snakeKeys
15
- } from "./chunk-73TTP6ET.js";
16
+ } from "./chunk-PEQA6LA5.js";
16
17
  import {
17
18
  readOnlyLockOf
18
- } from "./chunk-4XZXH2NM.js";
19
+ } from "./chunk-7W5HYGVW.js";
19
20
  import {
20
21
  AUDIT_MIN_SCORE,
21
22
  throughWrapper
22
- } from "./chunk-JGUJJNGZ.js";
23
+ } from "./chunk-LQKD257P.js";
23
24
  import {
24
25
  formatReference
25
- } from "./chunk-PPL5ASW2.js";
26
+ } from "./chunk-U2BFYSQV.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-N7S2UPF3.js";
49
+ } from "./chunk-CJHY5YIF.js";
49
50
  import {
50
51
  OPERATORS_BY_TYPE,
51
52
  dateRange,
@@ -58,7 +59,7 @@ import {
58
59
  timezoneOf,
59
60
  validateQuery,
60
61
  zonedMoment
61
- } from "./chunk-4VHBDVY2.js";
62
+ } from "./chunk-EOOGWUTP.js";
62
63
  import {
63
64
  array,
64
65
  boolean,
@@ -68,15 +69,15 @@ import {
68
69
  safeParse,
69
70
  strictObject,
70
71
  string
71
- } from "./chunk-TKW4QWCY.js";
72
+ } from "./chunk-FEZF3TII.js";
72
73
  import {
73
74
  CliError
74
- } from "./chunk-EBLA7GXY.js";
75
+ } from "./chunk-4OSSOWDM.js";
75
76
  import {
76
77
  __name
77
78
  } from "./chunk-ZVVMGPBJ.js";
78
79
 
79
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
80
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
80
81
  var COMMAND_NEEDS = {
81
82
  "account update": ["updateProfile", "change the profile"],
82
83
  "account sessions list": ["sessions", "list the account's sessions"],
@@ -126,7 +127,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
126
127
  return group;
127
128
  }, "hideNever");
128
129
 
129
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
130
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
130
131
  var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
131
132
  command.allowUnknownOption();
132
133
  const parse = command.parseOptions.bind(command);
@@ -146,7 +147,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
146
147
  return command;
147
148
  }, "queryWordsAfterOptions");
148
149
 
149
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
150
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
150
151
  var count = /* @__PURE__ */ __name((value) => {
151
152
  if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
152
153
  throw new CliError("validation_error", "expected a nonnegative safe integer");
@@ -188,7 +189,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
188
189
  var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
189
190
  var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
190
191
 
191
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
192
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
192
193
  var integer = /* @__PURE__ */ __name((value) => {
193
194
  if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
194
195
  throw new CliError("validation_error", "expected a positive safe integer");
@@ -211,7 +212,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
211
212
  }, "addMeetingProjectEvidenceCommandDefinition");
212
213
  var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
213
214
 
214
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
215
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
215
216
  var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
216
217
  var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
217
218
  const zone = timezoneOf();
@@ -297,7 +298,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
297
298
  var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
298
299
  var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
299
300
 
300
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
301
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
301
302
  var integer3 = /* @__PURE__ */ __name((text) => {
302
303
  if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
303
304
  throw new InvalidArgumentError("expected a positive integer");
@@ -347,7 +348,14 @@ ${fieldsHelp(MEETING_QUERY, MEETING_QUERY_GUIDE)}`);
347
348
  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) => {
348
349
  print(await meetingSummaryAnswer(deps.store, id, deps.accountId), command);
349
350
  });
350
- 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) => {
351
+ 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(
352
+ // Not over MCP: an agent would choose where on the owner's disk to write; it gets the content in the answer.
353
+ annotateOption(new Option("--output <file>", "write content to a new file through the host's writer"), {
354
+ mcp: false
355
+ })
356
+ ));
357
+ deps.newFileOutput?.(exporter, "output");
358
+ exporter.action(async (id, opts, command) => {
351
359
  if (opts.output !== void 0 && !opts.output.trim())
352
360
  throw new MeetingError("validation_error", "output path must not be empty");
353
361
  if (opts.output !== void 0 && !deps.writeFile)
@@ -374,16 +382,21 @@ ${fieldsHelp(MEETING_QUERY, MEETING_QUERY_GUIDE)}`);
374
382
  output(annotate(group.command("sync"), {
375
383
  effects: FETCH,
376
384
  offline: false,
377
- output: { entity: "meeting_ingestion" }
378
- }).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) => {
379
- if (!deps.source)
385
+ output: { entity: "meeting_ingestion" },
386
+ // Only a sync that stops itself at its budget may outlive the one-shot deadline.
387
+ ...deps.budgetOf ? { cooperative: true, partial: true } : {}
388
+ }).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) => {
389
+ const source = deps.source;
390
+ if (!source)
380
391
  throw new MeetingError("configuration_error", "meeting source is unavailable");
381
- print(await pull(deps.source, deps.store, {
392
+ await deps.inRun(command, async () => print(await pull(source, deps.store, {
382
393
  accountId: deps.accountId,
383
394
  since: opts.sinceTime === void 0 ? void 0 : new Date(opts.sinceTime).toISOString(),
384
395
  now: deps.now?.(),
385
- lookbackMs: opts.lookbackDays * 864e5
386
- }), command);
396
+ ...opts.lookbackDays === void 0 ? {} : { lookbackMs: opts.lookbackDays * 864e5 },
397
+ ...opts.rescan ? { rescan: true } : {},
398
+ ...deps.budgetOf ? { budget: deps.budgetOf(command) } : {}
399
+ }), command));
387
400
  });
388
401
  const importCommand = annotate(group.command("import"), {
389
402
  effects: LOCAL_WRITE,
@@ -429,7 +442,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
429
442
  }, "addMeetingCommandsDefinition");
430
443
  var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
431
444
 
432
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/cli/list-query.js
445
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/list-query.js
433
446
  var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
434
447
  var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
435
448
  var withQuery = /* @__PURE__ */ __name((command, registry) => {
@@ -562,7 +575,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
562
575
  var queryHelp = /* @__PURE__ */ __name((registry) => `
563
576
  ${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
564
577
 
565
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/cli/paging.js
578
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/paging.js
566
579
  var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
567
580
  if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
568
581
  throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
@@ -571,7 +584,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
571
584
  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");
572
585
  var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
573
586
 
574
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
587
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
575
588
  var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
576
589
  var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
577
590
  var settingsOf = /* @__PURE__ */ __name((settings) => defined({
@@ -833,7 +846,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
833
846
  ...createdAt === void 0 ? {} : { created_at: createdAt }
834
847
  }), "sessionAnswer");
835
848
 
836
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/background/relay.js
849
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/background/relay.js
837
850
  import { createHash } from "node:crypto";
838
851
  import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
839
852
  import { createConnection, createServer } from "node:net";
@@ -1054,7 +1067,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
1054
1067
  }, () => finish({ error: stopped() }));
1055
1068
  }), "relayCommand");
1056
1069
 
1057
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
1070
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
1058
1071
  var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
1059
1072
  close: /* @__PURE__ */ __name(async () => {
1060
1073
  }, "close"),
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
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/executable.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
8
8
  import { existsSync } from "node:fs";
9
9
  import { win32 } from "node:path";
10
10
  var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
@@ -0,0 +1,39 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ SCHEMA_DIALECT,
5
+ commandContract,
6
+ commandPathOf,
7
+ findCommand,
8
+ outputOf
9
+ } from "./chunk-O7ALBI2I.js";
10
+ import "./chunk-PEQA6LA5.js";
11
+ import "./chunk-VQDD64A4.js";
12
+ import "./chunk-MN4VXU3M.js";
13
+ import "./chunk-7W5HYGVW.js";
14
+ import "./chunk-YMWENGKH.js";
15
+ import "./chunk-VAYB52HF.js";
16
+ import "./chunk-AQVUEZEP.js";
17
+ import "./chunk-Q2LRPOKL.js";
18
+ import "./chunk-RIDQNVZM.js";
19
+ import "./chunk-CJHY5YIF.js";
20
+ import "./chunk-EOOGWUTP.js";
21
+ import "./chunk-JK3U25QZ.js";
22
+ import "./chunk-TDX4GZFO.js";
23
+ import "./chunk-FNWIJ6EJ.js";
24
+ import "./chunk-ZQ3GWKDQ.js";
25
+ import "./chunk-OD4U7GUY.js";
26
+ import "./chunk-UQLWMGSD.js";
27
+ import "./chunk-Y5E2WNWB.js";
28
+ import "./chunk-2HF2MRXI.js";
29
+ import "./chunk-6EY46GAN.js";
30
+ import "./chunk-FEZF3TII.js";
31
+ import "./chunk-4OSSOWDM.js";
32
+ import "./chunk-ZVVMGPBJ.js";
33
+ export {
34
+ SCHEMA_DIALECT,
35
+ commandContract,
36
+ commandPathOf,
37
+ findCommand,
38
+ outputOf
39
+ };
@@ -3,23 +3,23 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  decodeOgg
6
- } from "./chunk-ZPQS7XJA.js";
7
- import "./chunk-246P2DCT.js";
8
- import "./chunk-LJ77Y3TK.js";
6
+ } from "./chunk-RPMKG63Z.js";
7
+ import "./chunk-OD4U7GUY.js";
8
+ import "./chunk-UQLWMGSD.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
- import "./chunk-HIP43OGZ.js";
13
- import "./chunk-FO4TCH6P.js";
14
- import "./chunk-TKW4QWCY.js";
12
+ import "./chunk-2HF2MRXI.js";
13
+ import "./chunk-6EY46GAN.js";
14
+ import "./chunk-FEZF3TII.js";
15
15
  import {
16
16
  CliError
17
- } from "./chunk-EBLA7GXY.js";
17
+ } from "./chunk-4OSSOWDM.js";
18
18
  import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/speech/decode.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/speech/decode.js
23
23
  import { spawn } from "node:child_process";
24
24
  import { mkdtemp, rm, writeFile } from "node:fs/promises";
25
25
  import { createRequire } from "node:module";
@@ -13,23 +13,23 @@ import {
13
13
  parseDescribe,
14
14
  shimFiles,
15
15
  writeShim
16
- } from "./chunk-W62CON5K.js";
16
+ } from "./chunk-O2XOX4HB.js";
17
17
  import "./chunk-Y5E2WNWB.js";
18
- import "./chunk-HIP43OGZ.js";
18
+ import "./chunk-2HF2MRXI.js";
19
19
  import {
20
20
  CliError
21
- } from "./chunk-EBLA7GXY.js";
21
+ } from "./chunk-4OSSOWDM.js";
22
22
  import {
23
23
  __name,
24
24
  __toESM
25
25
  } from "./chunk-ZVVMGPBJ.js";
26
26
 
27
- // 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/wcat/dispatch.js
27
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
28
28
  var import_cross_spawn2 = __toESM(require_cross_spawn(), 1);
29
29
  import { randomUUID } from "node:crypto";
30
30
  import { constants } from "node:os";
31
31
 
32
- // 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/wcat/path.js
32
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/path.js
33
33
  import { readdirSync, statSync } from "node:fs";
34
34
  import { join } from "node:path";
35
35
  var variable = /* @__PURE__ */ __name((env, name, platform) => platform === "win32" ? Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1] : env[name], "variable");
@@ -101,7 +101,7 @@ var findTools = /* @__PURE__ */ __name((search) => {
101
101
  }, "findTools");
102
102
  var isBuiltIn = /* @__PURE__ */ __name((name) => name === "wcat" || BUILT_IN_COMMANDS.includes(name), "isBuiltIn");
103
103
 
104
- // 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/wcat/probe.js
104
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/probe.js
105
105
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
106
106
  import { readFileSync } from "node:fs";
107
107
  var MAX_ANSWER_BYTES = 64 * 1024;
@@ -150,7 +150,7 @@ var baseVersion = /* @__PURE__ */ __name(() => {
150
150
  }
151
151
  }, "baseVersion");
152
152
 
153
- // 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/wcat/shortcuts.js
153
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shortcuts.js
154
154
  import { closeSync, openSync, readSync, realpathSync, rmSync } from "node:fs";
155
155
  import { basename, dirname } from "node:path";
156
156
  var WIRECAT_PACKAGE = /node_modules[\\/]+@wirecat[\\/]/;
@@ -242,7 +242,7 @@ var removeShortcuts = /* @__PURE__ */ __name((search, names) => listShortcuts(se
242
242
  return { ...statusOf(shortcut.name, shortcut.program, search), changed: true };
243
243
  }), "removeShortcuts");
244
244
 
245
- // 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/wcat/dispatch.js
245
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
246
246
  var DEFAULT_DESCRIBE_TIMEOUT_MS = 2e3;
247
247
  var listTools = /* @__PURE__ */ __name(async (context) => {
248
248
  const installed = installedPrograms(context);
@@ -339,7 +339,7 @@ var runTool = /* @__PURE__ */ __name((path, args, context) => new Promise((resol
339
339
  });
340
340
  }), "runTool");
341
341
  var fail = /* @__PURE__ */ __name(async (error, json, context) => {
342
- const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-GRMMSDCZ.js");
342
+ const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-GV77W3CD.js");
343
343
  const object = errorObjectOf(error);
344
344
  context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
345
345
  `);
@@ -3,17 +3,17 @@ import { createRequire as __bundleRequire } from "node:module";
3
3
  const require = __bundleRequire(import.meta.url);
4
4
  import {
5
5
  processStreams
6
- } from "./chunk-246P2DCT.js";
6
+ } from "./chunk-OD4U7GUY.js";
7
7
  import {
8
8
  errorObjectOf,
9
9
  exitCodeOfError,
10
10
  renderError
11
- } from "./chunk-LJ77Y3TK.js";
11
+ } from "./chunk-UQLWMGSD.js";
12
12
  import "./chunk-Y5E2WNWB.js";
13
- import "./chunk-HIP43OGZ.js";
14
- import "./chunk-FO4TCH6P.js";
15
- import "./chunk-TKW4QWCY.js";
16
- import "./chunk-EBLA7GXY.js";
13
+ import "./chunk-2HF2MRXI.js";
14
+ import "./chunk-6EY46GAN.js";
15
+ import "./chunk-FEZF3TII.js";
16
+ import "./chunk-4OSSOWDM.js";
17
17
  import {
18
18
  __name
19
19
  } from "./chunk-ZVVMGPBJ.js";
@@ -22,8 +22,8 @@ import {
22
22
  import { enableCompileCache } from "node:module";
23
23
  enableCompileCache();
24
24
  var [{ wcatStart }, { DRIVE_APP }] = await Promise.all([
25
- import("./start-ZXUJZ4JV.js"),
26
- import("./identity-TID7S5NE.js")
25
+ import("./start-AFFA3LKM.js"),
26
+ import("./identity-J2DON4IO.js")
27
27
  ]);
28
28
  var wcat = await wcatStart({
29
29
  command: DRIVE_APP.command,
@@ -35,15 +35,15 @@ if (wcat.code !== void 0) {
35
35
  process.exitCode = wcat.code;
36
36
  } else {
37
37
  const [{ startCli }, { REASONS }, { interactiveOf }] = await Promise.all([
38
- import("./entry-ZHCNI7XO.js"),
39
- import("./reasons-ZK3U3CIN.js"),
38
+ import("./entry-V5V3TOTY.js"),
39
+ import("./reasons-57J2D77K.js"),
40
40
  import("./terminal-DHJ4D3BC.js")
41
41
  ]);
42
42
  await startCli({
43
43
  app: DRIVE_APP,
44
44
  interactive: interactiveOf,
45
45
  reasons: REASONS,
46
- run: /* @__PURE__ */ __name(async (entry) => (await import("./program-TZLAFKJV.js")).run(entry.args, {
46
+ run: /* @__PURE__ */ __name(async (entry) => (await import("./program-UCHFC7JQ.js")).run(entry.args, {
47
47
  signal: entry.signal,
48
48
  ask: /* @__PURE__ */ __name((key) => entry.ask(`Allow ${key}?`), "ask"),
49
49
  openBrowser: /* @__PURE__ */ __name((url, command) => entry.openBrowser(url, void 0, command), "openBrowser")
@@ -42399,7 +42399,7 @@ function install11(registers) {
42399
42399
  }
42400
42400
  __name(install11, "install");
42401
42401
 
42402
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42402
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42403
42403
  var echartsOption = /* @__PURE__ */ __name((chart) => ({
42404
42404
  animation: false,
42405
42405
  backgroundColor: "#111827",
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
42447
42447
  } : {}
42448
42448
  }), "echartsOption");
42449
42449
 
42450
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42450
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42451
42451
  use([install2, install, install6, install5, install10, install7, install11]);
42452
42452
  var echartsRenderer = {
42453
42453
  render: /* @__PURE__ */ __name(async (chart, size) => {