@wirecat/zoom-cli 0.82.0 → 0.83.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 (222) hide show
  1. package/README.md +2 -2
  2. package/contracts/wirecat.json +54 -54
  3. package/dist/api.d.ts.map +1 -1
  4. package/dist/api.js +1 -1
  5. package/dist/api.js.map +1 -1
  6. package/dist/bin/main.js +2 -15
  7. package/dist/bin/main.js.map +1 -1
  8. package/dist/bin/zm.js +2 -2
  9. package/dist/bundle/agent-3HDWEZ5M.js +47 -0
  10. package/dist/bundle/{all-profiles-RULEKTDQ.js → all-profiles-RY2OMSDL.js} +8 -8
  11. package/dist/bundle/answer-policy-IFVXPPGW.js +131 -0
  12. package/dist/bundle/{anthropic-4NAQBZFL.js → anthropic-36VPSF7B.js} +3 -3
  13. package/dist/bundle/{app-server-VLR42U5L.js → app-server-ZVJVUGB7.js} +72 -71
  14. package/dist/bundle/{bun-OPDGMZZQ.js → bun-F4M4KCNA.js} +2 -2
  15. package/dist/bundle/{bun-sqlite-HC6X4AOX.js → bun-sqlite-IOPYIUA7.js} +4 -4
  16. package/dist/bundle/{chunk-MAJJ4PG3.js → chunk-26TW5RZ6.js} +31 -315
  17. package/dist/bundle/{chunk-XQQVMECZ.js → chunk-2DK5BBFF.js} +1 -1
  18. package/dist/bundle/{chunk-BP4FYANF.js → chunk-2IBKKVVZ.js} +4 -4
  19. package/dist/bundle/{chunk-52Y4ETKU.js → chunk-2S54TM4N.js} +3 -3
  20. package/dist/bundle/{chunk-DCYFT3FR.js → chunk-3AQHKXVR.js} +4 -4
  21. package/dist/bundle/{chunk-VS6WURLX.js → chunk-3CW2C7ZA.js} +2 -2
  22. package/dist/bundle/{chunk-6QYZP4E2.js → chunk-3KUEZK5Z.js} +2 -2
  23. package/dist/bundle/{chunk-YJXJJ2XP.js → chunk-3PXUQFHX.js} +7 -7
  24. package/dist/bundle/{chunk-PSKTMMCO.js → chunk-575JMTDR.js} +17 -16
  25. package/dist/bundle/{chunk-QPHBK63S.js → chunk-5B2LV4MS.js} +2 -1
  26. package/dist/bundle/{chunk-OGNO35A2.js → chunk-5WL5RHOO.js} +5 -100
  27. package/dist/bundle/{chunk-ASBDFXLS.js → chunk-6C7ESL5N.js} +2 -2
  28. package/dist/bundle/{chunk-676C2LE6.js → chunk-6E4KLYNP.js} +10 -10
  29. package/dist/bundle/chunk-7JDXR75Q.js +465 -0
  30. package/dist/bundle/{chunk-UR5DBODY.js → chunk-AK3H2C65.js} +30 -26
  31. package/dist/bundle/{chunk-VB7FZOYX.js → chunk-AQ5RIOUE.js} +1 -1
  32. package/dist/bundle/{chunk-UKAAAOPC.js → chunk-AQLUAQXJ.js} +23 -15
  33. package/dist/bundle/{chunk-V5EJSF2B.js → chunk-ASTLGFTR.js} +205 -170
  34. package/dist/bundle/{chunk-PWVJUIDQ.js → chunk-ATHBB7OU.js} +2 -2
  35. package/dist/bundle/{chunk-GTKPMYK7.js → chunk-B2NM65RD.js} +13 -5
  36. package/dist/bundle/{chunk-G6PETRMV.js → chunk-B4KHDXJE.js} +2 -2
  37. package/dist/bundle/{chunk-4HLQ2JGK.js → chunk-BAFC7WNI.js} +3 -3
  38. package/dist/bundle/{chunk-KVJ3I7UL.js → chunk-BTLZYRIW.js} +5 -5
  39. package/dist/bundle/{chunk-KKFY23AK.js → chunk-BZDS2X6Y.js} +61 -61
  40. package/dist/bundle/{chunk-VZ5PPYDG.js → chunk-C7JPYWYQ.js} +1 -1
  41. package/dist/bundle/{chunk-W5QHB53X.js → chunk-CDQUW25G.js} +10 -10
  42. package/dist/bundle/{chunk-AIKFOBDO.js → chunk-CJWGJBHW.js} +28 -8
  43. package/dist/bundle/{chunk-HP7A2ZOP.js → chunk-D7RCUODT.js} +7 -7
  44. package/dist/bundle/{chunk-LEKKTJKK.js → chunk-DQJECJUE.js} +23 -102
  45. package/dist/bundle/{chunk-B32KZRQM.js → chunk-E4JQ3MCW.js} +11 -11
  46. package/dist/bundle/{chunk-HZENBDW2.js → chunk-E4ODYLEK.js} +6 -6
  47. package/dist/bundle/{chunk-RQOZBTNI.js → chunk-EE45N67Q.js} +3 -3
  48. package/dist/bundle/{chunk-VB72LTSZ.js → chunk-EEEU4MKK.js} +11 -11
  49. package/dist/bundle/{chunk-EGTCQKHV.js → chunk-ETIZGA4P.js} +5 -5
  50. package/dist/bundle/{chunk-BDKVOU3I.js → chunk-F44QK6CK.js} +3 -3
  51. package/dist/bundle/{chunk-274SLQNW.js → chunk-FH2UFNH6.js} +2 -2
  52. package/dist/bundle/{chunk-3HC5F3P7.js → chunk-FTH6WGYO.js} +1 -1
  53. package/dist/bundle/chunk-FWACRG4X.js +160 -0
  54. package/dist/bundle/chunk-G5SZL7G2.js +150 -0
  55. package/dist/bundle/{chunk-EQG3PIH2.js → chunk-G6CHEFAG.js} +2 -2
  56. package/dist/bundle/{chunk-66ALX4ZI.js → chunk-GHJD7PE6.js} +18 -18
  57. package/dist/bundle/{chunk-Q7ICVP25.js → chunk-GZ7WBU5Y.js} +1 -1
  58. package/dist/bundle/{chunk-UL2PXLKT.js → chunk-H6A4NWYJ.js} +320 -43
  59. package/dist/bundle/{chunk-WMANRJR5.js → chunk-HKLRI2LB.js} +6 -6
  60. package/dist/bundle/{chunk-L75SMSJR.js → chunk-HMD4FZYY.js} +3 -3
  61. package/dist/bundle/{chunk-2JHVQMVC.js → chunk-HO4JGD4Q.js} +1 -1
  62. package/dist/bundle/{chunk-WOPVBRPV.js → chunk-HUAHLO6N.js} +1 -1
  63. package/dist/bundle/{chunk-6VK332XS.js → chunk-IQZXFWFI.js} +2 -2
  64. package/dist/bundle/{chunk-NB7EOAUZ.js → chunk-ISQ23VKV.js} +1 -1
  65. package/dist/bundle/{chunk-QVYAV7F2.js → chunk-JEH33ZCD.js} +3 -3
  66. package/dist/bundle/{chunk-ICPJT672.js → chunk-JUNQYWQ2.js} +6 -6
  67. package/dist/bundle/{chunk-K5JGJIV2.js → chunk-JUXMVQWJ.js} +311 -152
  68. package/dist/bundle/{chunk-OBXQLFT5.js → chunk-KHQDWYCG.js} +1 -1
  69. package/dist/bundle/{chunk-GGMAIIVE.js → chunk-KYRYD4CR.js} +1 -1
  70. package/dist/bundle/chunk-LBGT6W4R.js +377 -0
  71. package/dist/bundle/{chunk-JQ54DYAQ.js → chunk-LN7HRYTH.js} +1 -1
  72. package/dist/bundle/{chunk-G46WJ7YO.js → chunk-MEB7HBTM.js} +5 -5
  73. package/dist/bundle/{chunk-M7H4MCAX.js → chunk-MEEFWYX3.js} +3 -3
  74. package/dist/bundle/{chunk-73MOMNLL.js → chunk-MNOAMJ6H.js} +1 -1
  75. package/dist/bundle/{chunk-A6EZK5RG.js → chunk-MYHPXJDG.js} +1 -1
  76. package/dist/bundle/{chunk-HC6VN5CO.js → chunk-NGI37RFW.js} +7 -7
  77. package/dist/bundle/{chunk-2GP573Q4.js → chunk-NZMWD7Y3.js} +3656 -2697
  78. package/dist/bundle/chunk-O6IECJRM.js +54 -0
  79. package/dist/bundle/{chunk-Y6PVS55U.js → chunk-OBWL3BUV.js} +35 -35
  80. package/dist/bundle/{chunk-2XBDILVW.js → chunk-OEEWVKJX.js} +1 -1
  81. package/dist/bundle/chunk-OGTN2KVG.js +147 -0
  82. package/dist/bundle/{chunk-GWGHH56B.js → chunk-OQYZ3W4K.js} +10 -10
  83. package/dist/bundle/{chunk-2CI2OEZQ.js → chunk-P3ZCTYGW.js} +2 -2
  84. package/dist/bundle/{chunk-OIPYBF43.js → chunk-PVEBAHFU.js} +2 -2
  85. package/dist/bundle/{chunk-2SWKQ7C4.js → chunk-R6IA5UQB.js} +1 -1
  86. package/dist/bundle/{chunk-T7IAWEBU.js → chunk-RLOH7RDN.js} +7 -7
  87. package/dist/bundle/{chunk-KJ6USQDZ.js → chunk-RQ4AXSCJ.js} +5 -5
  88. package/dist/bundle/{chunk-XQ2WL3HB.js → chunk-RYGTCRFZ.js} +2 -2
  89. package/dist/bundle/{chunk-N46F72AF.js → chunk-S4PXWIE4.js} +84 -86
  90. package/dist/bundle/{chunk-MQLPZBMQ.js → chunk-SDZZYZLL.js} +1 -1
  91. package/dist/bundle/{chunk-E745WZKY.js → chunk-SHQAYUK6.js} +6 -6
  92. package/dist/bundle/{chunk-3YM4B2GT.js → chunk-T3W4V4A6.js} +1 -1
  93. package/dist/bundle/{chunk-4N7PP76S.js → chunk-TCT5D2X2.js} +1 -1
  94. package/dist/bundle/{chunk-7QPIUMUG.js → chunk-TDWPOSPR.js} +10 -10
  95. package/dist/bundle/{chunk-ZED2CJW5.js → chunk-TER3N27H.js} +6 -6
  96. package/dist/bundle/{chunk-UQCTXZEP.js → chunk-TMTNP7QN.js} +9 -9
  97. package/dist/bundle/{chunk-KWU46LNK.js → chunk-TO5UEWXR.js} +2 -2
  98. package/dist/bundle/{chunk-OQFQ77AY.js → chunk-UBH7YF3C.js} +61 -59
  99. package/dist/bundle/{chunk-QVSL5WJ7.js → chunk-UEAE3JUU.js} +488 -436
  100. package/dist/bundle/{chunk-5KYQ53EF.js → chunk-UHR363OD.js} +7 -7
  101. package/dist/bundle/{chunk-7UVDPRFK.js → chunk-UM52A76S.js} +5 -5
  102. package/dist/bundle/{chunk-ZOYOXWJB.js → chunk-URP6BTHN.js} +34 -156
  103. package/dist/bundle/{chunk-N3JLO63O.js → chunk-UWQEAA6S.js} +1 -1
  104. package/dist/bundle/{chunk-OO4TRVPB.js → chunk-VR7QZGRU.js} +5 -5
  105. package/dist/bundle/{chunk-GBHMT2IU.js → chunk-VRH5PBSL.js} +13 -13
  106. package/dist/bundle/chunk-VTLQTQKY.js +1756 -0
  107. package/dist/bundle/{chunk-ACI4YIEH.js → chunk-VTYNLTDW.js} +1 -1
  108. package/dist/bundle/{chunk-NEMX3UNN.js → chunk-WY7XG6TE.js} +2 -2
  109. package/dist/bundle/{chunk-AC6VJNMJ.js → chunk-XEOZTA3H.js} +1 -1
  110. package/dist/bundle/{chunk-QG6PILDO.js → chunk-XH23ML2V.js} +1 -1
  111. package/dist/bundle/{chunk-5HAUK3I4.js → chunk-XYF76A26.js} +1179 -783
  112. package/dist/bundle/{chunk-KQPUVXKX.js → chunk-ZDYJAEVB.js} +2 -2
  113. package/dist/bundle/{chunk-TKNM22OH.js → chunk-ZJ63HDBT.js} +1 -1
  114. package/dist/bundle/{chunk-5TU7Y5UW.js → chunk-ZT4ZPUIO.js} +11 -11
  115. package/dist/bundle/{cli-U4O5XB7J.js → cli-JK6PQSSN.js} +94 -79
  116. package/dist/bundle/command-contract-F3QNBKPX.js +46 -0
  117. package/dist/bundle/{command-server-entry-KKH6ZWJV.js → command-server-entry-DJLGN62J.js} +31 -30
  118. package/dist/bundle/config-TYYMV3HV.js +118 -0
  119. package/dist/bundle/{decode-TPCNXEK4.js → decode-ZZICNNFF.js} +3 -3
  120. package/dist/bundle/{dist-7CLBCYZN.js → dist-NQPF25XI.js} +47 -46
  121. package/dist/bundle/{echarts-O3TNDAXJ.js → echarts-QMAA7HH5.js} +2 -2
  122. package/dist/bundle/{embed-WCJSFVSK.js → embed-T64EUKUI.js} +4 -4
  123. package/dist/bundle/{embedder-TBBUPXBX.js → embedder-ZEKISZXI.js} +7 -7
  124. package/dist/bundle/{first-run-ELEMFW42.js → first-run-ZFNY4RRH.js} +8 -8
  125. package/dist/bundle/first-screen-LPGCHRHZ.js +47 -0
  126. package/dist/bundle/{folders-LXOL4N4S.js → folders-ROKVKSCT.js} +2 -2
  127. package/dist/bundle/{instructions-AMH5RWVJ.js → instructions-4H7UREH2.js} +1 -1
  128. package/dist/bundle/{main-YAA7WQ23.js → main-GCK3VYAA.js} +24 -34
  129. package/dist/bundle/meeting-combined-7HDPOUPB.js +28 -0
  130. package/dist/bundle/{meeting-model-3BZJ3EQP.js → meeting-model-MVUW7UPQ.js} +10 -10
  131. package/dist/bundle/{meeting-semantic-3HU7I2SJ.js → meeting-semantic-IF633WGX.js} +3 -3
  132. package/dist/bundle/{meetings-XWMB6FOH.js → meetings-RY2AAPHV.js} +2 -2
  133. package/dist/bundle/{node-EGMCBAO7.js → node-P3PUHKYH.js} +2 -2
  134. package/dist/bundle/{node-sqlite-IJBWENFX.js → node-sqlite-ASAZJNHE.js} +5 -5
  135. package/dist/bundle/{oauth-SZDDAP7A.js → oauth-4U3OCK3W.js} +5 -5
  136. package/dist/bundle/oauth-AJARLPSY.js +46 -0
  137. package/dist/bundle/{open-NS3TMKZX.js → open-SEJRY2ZI.js} +3 -3
  138. package/dist/bundle/{openai-4DN6WI3B.js → openai-FZDSC2AA.js} +12 -12
  139. package/dist/bundle/{output-file-2UB5JP3R.js → output-file-RYIOIXMD.js} +1 -1
  140. package/dist/bundle/{process-SGHEN6MQ.js → process-AFIXYXWL.js} +1 -1
  141. package/dist/bundle/{program-GVCGZP27.js → program-OYLVYA4Z.js} +174 -236
  142. package/dist/bundle/{prompt-HJFMPFVC.js → prompt-BCRD64F4.js} +3 -3
  143. package/dist/bundle/{public-C2ZB2AGQ.js → public-SVJILCNI.js} +43 -35
  144. package/dist/bundle/{recognize-2SEI5PPM.js → recognize-25ITJWGX.js} +2 -2
  145. package/dist/bundle/{remote-2DMS74XE.js → remote-5FBAJX7O.js} +8 -8
  146. package/dist/bundle/{rerank-H6GCYVIA.js → rerank-2HGWWORY.js} +5 -5
  147. package/dist/bundle/run-log-7HRF4Y47.js +145 -0
  148. package/dist/bundle/{serve-ODVRPFJO.js → serve-RL35MSJD.js} +7 -7
  149. package/dist/bundle/{server-PCLIO24L.js → server-QUSBWACP.js} +64 -63
  150. package/dist/bundle/server-SCK2SRDK.js +96 -0
  151. package/dist/bundle/{services-4QAPXBLO.js → services-BGRIQNDC.js} +55 -53
  152. package/dist/bundle/{speech-MA6ZT3WE.js → speech-4W3ZMTFK.js} +21 -21
  153. package/dist/bundle/{sqlite-runtime-PVMAUXRN.js → sqlite-runtime-K3KLRZCV.js} +4 -4
  154. package/dist/bundle/{state-QFMTYUME.js → state-GYL4C74G.js} +4 -4
  155. package/dist/bundle/{store-25OTAQC3.js → store-27UQMNEO.js} +23 -21
  156. package/dist/bundle/{store-F724QIKJ.js → store-NLYH5SQX.js} +54 -43
  157. package/dist/bundle/store-connection-CZILWRSR.js +112 -0
  158. package/dist/bundle/store-maintenance-command-Z3QLNSXJ.js +84 -0
  159. package/dist/bundle/{streaming-S22C4DG5.js → streaming-73EKEGPF.js} +2 -2
  160. package/dist/bundle/surface-CV3C4RV2.js +82 -0
  161. package/dist/bundle/tokens-PY3S22LY.js +27 -0
  162. package/dist/bundle/zm.js +2 -2
  163. package/dist/bundle/{zoom-app-YWFB367P.js → zoom-app-4F4YY4OI.js} +8 -6
  164. package/dist/commands.d.ts +1 -8
  165. package/dist/commands.d.ts.map +1 -1
  166. package/dist/commands.js +3 -33
  167. package/dist/commands.js.map +1 -1
  168. package/dist/index.d.ts +1 -2
  169. package/dist/index.d.ts.map +1 -1
  170. package/dist/index.js +1 -2
  171. package/dist/index.js.map +1 -1
  172. package/dist/program-bindings.d.ts.map +1 -1
  173. package/dist/program-bindings.js +2 -12
  174. package/dist/program-bindings.js.map +1 -1
  175. package/dist/program.d.ts +3 -5
  176. package/dist/program.d.ts.map +1 -1
  177. package/dist/run.d.ts.map +1 -1
  178. package/dist/run.js +6 -1
  179. package/dist/run.js.map +1 -1
  180. package/dist/setup-commands.d.ts +5 -14
  181. package/dist/setup-commands.d.ts.map +1 -1
  182. package/dist/setup-commands.js +7 -142
  183. package/dist/setup-commands.js.map +1 -1
  184. package/dist/tokens.d.ts +20 -44
  185. package/dist/tokens.d.ts.map +1 -1
  186. package/dist/tokens.js +95 -308
  187. package/dist/tokens.js.map +1 -1
  188. package/dist/version.d.ts +1 -1
  189. package/dist/version.js +1 -1
  190. package/dist/zoom-app.js +1 -1
  191. package/dist/zoom-app.js.map +1 -1
  192. package/dist/zoom-session.d.ts +6 -0
  193. package/dist/zoom-session.d.ts.map +1 -0
  194. package/dist/zoom-session.js +72 -0
  195. package/dist/zoom-session.js.map +1 -0
  196. package/package.json +2 -2
  197. package/skills/zoom-cli/references/setup.md +2 -2
  198. package/dist/bundle/agent-F4TRJWWS.js +0 -46
  199. package/dist/bundle/answer-policy-6XC57AEZ.js +0 -131
  200. package/dist/bundle/chunk-2DBF2IIC.js +0 -330
  201. package/dist/bundle/chunk-DSZYABYL.js +0 -808
  202. package/dist/bundle/chunk-KXJ3JEDH.js +0 -2
  203. package/dist/bundle/chunk-LAYYO4WD.js +0 -31
  204. package/dist/bundle/chunk-PMUPN6JW.js +0 -773
  205. package/dist/bundle/chunk-TKVBFJ5C.js +0 -37
  206. package/dist/bundle/chunk-YY7XKHDY.js +0 -79
  207. package/dist/bundle/command-contract-FBTK6GQX.js +0 -45
  208. package/dist/bundle/config-FRJSIZNN.js +0 -118
  209. package/dist/bundle/first-screen-DIOBWMKP.js +0 -46
  210. package/dist/bundle/meeting-combined-UXCF4SJ3.js +0 -26
  211. package/dist/bundle/run-log-QU26SUZP.js +0 -145
  212. package/dist/bundle/server-NBPF6IDZ.js +0 -95
  213. package/dist/bundle/store-connection-OGPXANGB.js +0 -111
  214. package/dist/bundle/store-maintenance-command-2CM7LLNQ.js +0 -83
  215. package/dist/bundle/surface-7PXHWCF6.js +0 -81
  216. package/dist/bundle/tokens-NLUHA2DW.js +0 -25
  217. package/dist/login.d.ts +0 -16
  218. package/dist/login.d.ts.map +0 -1
  219. package/dist/login.js +0 -98
  220. package/dist/login.js.map +0 -1
  221. package/dist/bundle/{chunk-6CWL5BKG.js → chunk-3QN5KDFZ.js} +147 -147
  222. /package/dist/bundle/{chunk-7O7XM37N.js → chunk-7ECP5ZQR.js} +0 -0
@@ -2,85 +2,65 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  commandsCommand,
5
- formatSuggestions,
6
- meetingResultItem,
7
- runsCommand,
8
- suggest
9
- } from "./chunk-5HAUK3I4.js";
5
+ runsCommand
6
+ } from "./chunk-XYF76A26.js";
10
7
  import {
11
8
  checkedClientId
12
- } from "./chunk-OGNO35A2.js";
9
+ } from "./chunk-5WL5RHOO.js";
13
10
  import {
14
11
  sharedStoreCommand
15
- } from "./chunk-OQFQ77AY.js";
12
+ } from "./chunk-UBH7YF3C.js";
16
13
  import {
17
- LOCAL_READ,
18
14
  NO_EFFECTS,
19
- REMOTE_READ,
20
15
  annotate,
21
- answerEntity,
22
16
  changesAuthorityNow,
23
17
  checkConfigText,
24
- describeOptions,
25
18
  describeProgram,
26
19
  flatten,
27
20
  hasSharedContract,
28
21
  isLogin,
29
22
  isStoreChange,
30
23
  issueMessage,
31
- itemOf,
32
- listOf,
33
- metaNow,
34
24
  metaOf,
35
25
  overrideSharedContract,
36
26
  profileFree,
37
- renderAnswer,
38
- snakeKeys,
39
27
  takesProfile,
40
28
  usableProfileName,
41
29
  withSettingDefaults
42
- } from "./chunk-V5EJSF2B.js";
30
+ } from "./chunk-ASTLGFTR.js";
43
31
  import {
44
32
  readOnlyLockOf,
45
33
  readOnlyRefusal
46
- } from "./chunk-TKNM22OH.js";
34
+ } from "./chunk-ZJ63HDBT.js";
47
35
  import {
48
36
  setupPermissionCeiling
49
- } from "./chunk-QVYAV7F2.js";
37
+ } from "./chunk-JEH33ZCD.js";
50
38
  import {
51
39
  CEILING_KEY,
52
40
  DEFAULT_PERMISSIONS,
53
41
  LEVELS,
54
42
  keyForCommand,
55
43
  levelFor
56
- } from "./chunk-KJ6USQDZ.js";
44
+ } from "./chunk-RQ4AXSCJ.js";
57
45
  import {
58
46
  KEEP_RUNS_FOR_DAYS,
59
47
  KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
60
48
  RUNS_SIZE_LIMIT_MB
61
- } from "./chunk-WMANRJR5.js";
49
+ } from "./chunk-HKLRI2LB.js";
62
50
  import {
63
51
  ZM
64
- } from "./chunk-2SWKQ7C4.js";
52
+ } from "./chunk-R6IA5UQB.js";
65
53
  import {
66
- MEETING_RESULT_ENTITIES
67
- } from "./chunk-KKFY23AK.js";
68
- import {
69
- createRenderer,
70
- projectFields,
71
54
  saveConfigFile
72
- } from "./chunk-6CWL5BKG.js";
55
+ } from "./chunk-3QN5KDFZ.js";
73
56
  import {
74
57
  array,
75
58
  boolean,
76
59
  check,
77
60
  custom,
78
- exitCodeOfAnswer,
79
61
  integer,
80
- isoTimestamp,
81
62
  literal,
82
63
  maxLength,
83
- minLength,
84
64
  minValue,
85
65
  nullable,
86
66
  number,
@@ -153,12 +133,12 @@ var inZmTerms = /* @__PURE__ */ __name((raw, issue) => {
153
133
  at
154
134
  };
155
135
  }, "inZmTerms");
156
- var configIssues = /* @__PURE__ */ __name((text2, file, schema, permissionKeys2) => {
157
- const checked = checkConfigText(text2, { file, tool: "zm", schema });
136
+ var configIssues = /* @__PURE__ */ __name((text, file, schema, permissionKeys2) => {
137
+ const checked = checkConfigText(text, { file, tool: "zm", schema });
158
138
  const broken = checked.issues.find((issue) => issue.kind === "invalid_json");
159
139
  if (broken)
160
140
  return { issues: [{ ...broken, at: [] }], raw: null };
161
- const raw = JSON.parse(text2);
141
+ const raw = JSON.parse(text);
162
142
  if (!isNode(raw))
163
143
  return { issues: [fileIssue(file, "the file has to be an object, in braces")], raw: null };
164
144
  const found = /* @__PURE__ */ new Map();
@@ -201,13 +181,13 @@ var usable = /* @__PURE__ */ __name((profile) => {
201
181
  return profile;
202
182
  }, "usable");
203
183
  var chooseProfile = /* @__PURE__ */ __name(({ word, env, profiles }) => {
204
- const lock2 = given(env.ZM_PROFILE_LOCK);
184
+ const lock = given(env.ZM_PROFILE_LOCK);
205
185
  const named = word !== void 0 ? word : given(env.ZM_PROFILE);
206
- if (lock2 !== void 0)
207
- usable(lock2);
208
- if (named !== void 0 && lock2 !== void 0 && named !== lock2)
209
- throw new CliError("permission_error", `this process is locked to profile ${lock2} (ZM_PROFILE_LOCK) \u2014 profile ${named} is refused`);
210
- const profile = named ?? lock2;
186
+ if (lock !== void 0)
187
+ usable(lock);
188
+ if (named !== void 0 && lock !== void 0 && named !== lock)
189
+ throw new CliError("permission_error", `this process is locked to profile ${lock} (ZM_PROFILE_LOCK) \u2014 profile ${named} is refused`);
190
+ const profile = named ?? lock;
211
191
  if (profile === void 0) {
212
192
  const here = profiles();
213
193
  throw new CliError("validation_error", here.length === 0 ? "name a profile: there is none on this computer yet \u2014 create one with `zm personal session start` (any name in place of personal)" : `name a profile: \`zm <profile> \u2026\` \u2014 profiles here: ${here.join(", ")} (or set ZM_PROFILE)`, { profiles: [...here] });
@@ -227,12 +207,12 @@ var contextSourcesSchema = pipe(array(strictObject({ ...fields, profile: pipe(st
227
207
  const ids = /* @__PURE__ */ new Set(), identities = /* @__PURE__ */ new Set(), counts = /* @__PURE__ */ new Map();
228
208
  for (const entry of entries) {
229
209
  const id = JSON.stringify([entry.profile, entry.id]), key = JSON.stringify([entry.profile, entry.kind, entry.provider, entry.account]);
230
- const count2 = (counts.get(entry.profile) ?? 0) + 1;
231
- if (ids.has(id) || identities.has(key) || count2 > 8)
210
+ const count = (counts.get(entry.profile) ?? 0) + 1;
211
+ if (ids.has(id) || identities.has(key) || count > 8)
232
212
  return false;
233
213
  ids.add(id);
234
214
  identities.add(key);
235
- counts.set(entry.profile, count2);
215
+ counts.set(entry.profile, count);
236
216
  }
237
217
  return true;
238
218
  }));
@@ -255,247 +235,6 @@ var replaceContextSources = /* @__PURE__ */ __name((value, profile, existing = [
255
235
  return all.output;
256
236
  }, "replaceContextSources");
257
237
 
258
- // dist/answer-entities.js
259
- var text = string();
260
- var identifier = pipe(text, minLength(1));
261
- var nullableText = nullable(text);
262
- var count = pipe(number(), integer(), minValue(0));
263
- var flag = boolean();
264
- var optionalCount = optional(count);
265
- var scope = strictObject({ provider: text, account: text });
266
- var asset = strictObject({
267
- id: nullableText,
268
- type: text,
269
- format: nullableText,
270
- size: nullable(count),
271
- status: text,
272
- available: flag,
273
- started_at: nullableText,
274
- ended_at: nullableText
275
- });
276
- var occurrence = strictObject({ id: text, uuid: text, title: nullableText, started_at: nullableText });
277
- var recording = strictObject({ ...occurrence.entries, assets: array(asset) });
278
- var archivedFile = strictObject({
279
- id: text,
280
- path: text,
281
- size: count,
282
- sha256: text,
283
- remote_size: nullable(count),
284
- type: text,
285
- format: nullableText,
286
- started_at: nullableText,
287
- ended_at: nullableText
288
- });
289
- var archive = strictObject({
290
- uuid: text,
291
- manifest_path: text,
292
- downloaded: array(archivedFile),
293
- skipped: array(archivedFile),
294
- unavailable: array(asset)
295
- });
296
- var manifest = strictObject({ version: literal(1), meeting: occurrence, files: array(archivedFile) });
297
- var lock = strictObject({
298
- name: text,
299
- status: picklist(["active", "stale", "foreign", "unrecognized"]),
300
- pid: nullable(count),
301
- host: nullableText
302
- });
303
- var archiveReceipt = strictObject({
304
- window: strictObject({ from: text, to: text }),
305
- meeting: strictObject({ id: text, uuid: text, title: nullableText }),
306
- archive,
307
- availability: optional(literal("unknown")),
308
- checkpoint_revision: optional(nullable(count))
309
- });
310
- var schedule = strictObject({
311
- version: literal(1),
312
- id: text,
313
- name: text,
314
- scope,
315
- destination: text,
316
- from: text,
317
- daily_at: text,
318
- time_zone: text,
319
- lookback_days: count,
320
- max_bytes: count,
321
- created_at: pipe(text, isoTimestamp())
322
- });
323
- var job = strictObject({
324
- version: literal(1),
325
- schedule,
326
- capture: strictObject({ profile: text, client_id: text, config_dir: text, runtime: text, cli_path: text }),
327
- state: picklist(["pending", "enabled", "disabled"])
328
- });
329
- var scheduleReceipt = strictObject({
330
- applied: flag,
331
- backend: text,
332
- job,
333
- units: optional(strictObject({ service_name: text, timer_name: text, service: text, timer: text })),
334
- timer_state: picklist(["not_checked", "verified_enabled", "verified_disabled"])
335
- });
336
- var cue = strictObject({ start_ms: count, end_ms: count, speaker: nullableText, text });
337
- var archiveImport = strictObject({
338
- uuid: text,
339
- asset_ids: array(text),
340
- status: picklist(["acknowledged", "unavailable"]),
341
- meeting_id: optional(identifier),
342
- created: optional(flag),
343
- inserted_transcripts: optionalCount,
344
- replayed_transcripts: optionalCount,
345
- superseded_transcripts: optionalCount,
346
- reason: optional(literal("missing_or_deleted"))
347
- });
348
- var searchHit = strictObject({
349
- source: text,
350
- id: nullableText,
351
- title: nullableText,
352
- time: nullableText,
353
- text: nullableText,
354
- url: nullableText,
355
- people: array(text),
356
- container_id: nullableText,
357
- details: record(text, nullable(union([text, number(), flag])))
358
- });
359
- var zoomAppSetup = strictObject({
360
- marketplace_url: identifier,
361
- guide_url: identifier,
362
- app_type: identifier,
363
- management: identifier,
364
- oauth: identifier,
365
- redirect_url: identifier,
366
- allow_list: array(identifier),
367
- scopes: array(strictObject({ scope: identifier, required: flag, use: identifier })),
368
- config_key: identifier
369
- });
370
- var ZOOM_ANSWER_ENTITIES = {
371
- app: { name: "zoom_app_setup", schema: zoomAppSetup },
372
- "recordings list": { name: "zoom_recording", schema: recording },
373
- "recordings show": { name: "zoom_recording", schema: recording },
374
- "recordings download": { name: "zoom_archive", schema: union([archive, archiveReceipt]) },
375
- "recordings archive show": { name: "zoom_archive_manifest", schema: manifest },
376
- "recordings archive check": {
377
- name: "zoom_archive_check",
378
- schema: strictObject({ manifest_path: text, id: text, path: text, valid: flag })
379
- },
380
- "recordings archive locks": { name: "zoom_archive_lock", schema: lock },
381
- "recordings archive recover": {
382
- name: "zoom_archive_recovery",
383
- schema: strictObject({ locks: array(lock), removed: array(text) })
384
- },
385
- "recordings archive transcript": {
386
- name: "zoom_archive_transcript",
387
- schema: strictObject({ meeting: occurrence, asset: archivedFile, cues: array(cue) })
388
- },
389
- "recordings archive import": { name: "zoom_archive_import", schema: archiveImport },
390
- "recordings schedule list": { name: "zoom_archive_job", schema: job },
391
- "recordings schedule show": { name: "zoom_archive_job", schema: job },
392
- "recordings schedule create": { name: "zoom_archive_schedule_change", schema: scheduleReceipt },
393
- "recordings schedule disable": { name: "zoom_archive_schedule_change", schema: scheduleReceipt },
394
- "recordings schedule run": { name: "zoom_archive_receipt", schema: archiveReceipt },
395
- "zoom search": { name: "zoom_search_hit", schema: searchHit },
396
- "meetings embeddings": { name: "meeting_embedding", schema: MEETING_RESULT_ENTITIES.meeting_embedding, shared: true },
397
- "meetings sync": { name: "meeting_ingestion", schema: MEETING_RESULT_ENTITIES.meeting_ingestion, shared: true },
398
- "meetings import": { name: "meeting_ingestion", schema: MEETING_RESULT_ENTITIES.meeting_ingestion, shared: true },
399
- "meetings repair": {
400
- name: "meeting_repair",
401
- schema: MEETING_RESULT_ENTITIES.meeting_repair,
402
- shared: true
403
- },
404
- watch: { name: "meeting_ingestion", schema: MEETING_RESULT_ENTITIES.meeting_ingestion, shared: true },
405
- "meetings export": { name: "meeting_export", schema: MEETING_RESULT_ENTITIES.meeting_export, shared: true },
406
- "meetings link": { name: "meeting_association", schema: MEETING_RESULT_ENTITIES.meeting_association, shared: true },
407
- "meetings transcribe": {
408
- name: "meeting_transcription",
409
- schema: MEETING_RESULT_ENTITIES.meeting_transcription,
410
- shared: true
411
- }
412
- };
413
- var declareZoomAnswers = /* @__PURE__ */ __name((program) => {
414
- const walk = /* @__PURE__ */ __name((command, path) => {
415
- const entity = ZOOM_ANSWER_ENTITIES[path.join(" ")];
416
- if (entity?.shared)
417
- annotate(command, { output: { entity: entity.name } });
418
- else if (entity)
419
- answerEntity(command, entity.name, entity.schema);
420
- for (const child of command.commands)
421
- walk(child, [...path, child.name()]);
422
- }, "walk");
423
- walk(program, []);
424
- }, "declareZoomAnswers");
425
- var publicValue = /* @__PURE__ */ __name((value, key = "") => {
426
- if (typeof value === "number" && key === "meeting_id")
427
- return String(value);
428
- if (typeof value === "number" && key === "created_at")
429
- return new Date(value).toISOString();
430
- if (Array.isArray(value))
431
- return value.map((item) => publicValue(item));
432
- if (value && typeof value === "object")
433
- return Object.fromEntries(Object.entries(value).map(([name, item]) => [name, publicValue(item, name)]));
434
- return value;
435
- }, "publicValue");
436
- var schemas = new Map(Object.values(ZOOM_ANSWER_ENTITIES).map(({ name, schema }) => [name, schema]));
437
- var normalizeZoomAnswer = /* @__PURE__ */ __name((body, entity) => {
438
- const schema = entity ? schemas.get(entity) : void 0;
439
- if (!schema)
440
- return body;
441
- const checked = /* @__PURE__ */ __name((value) => {
442
- if (entity && Object.hasOwn(MEETING_RESULT_ENTITIES, entity))
443
- return meetingResultItem(entity, value);
444
- const parsed = safeParse(schema, publicValue(value));
445
- if (!parsed.success) {
446
- const applied = value && typeof value === "object" && "applied" in value && value.applied === true;
447
- throw new CliError(applied ? "outcome_unknown" : "invalid_response", `the command returned an invalid ${entity} answer`);
448
- }
449
- return parsed.output;
450
- }, "checked");
451
- return "item" in body ? { ...body, item: checked(body.item) } : { ...body, items: body.items.map(checked) };
452
- }, "normalizeZoomAnswer");
453
-
454
- // dist/answer-output.js
455
- var UTC_TIME = /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?Z/;
456
- var record2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "record");
457
- var only = /* @__PURE__ */ __name((value, keys) => Object.keys(value).every((key) => keys.includes(key)), "only");
458
- var bodyOf = /* @__PURE__ */ __name((value) => {
459
- const data = snakeKeys(value);
460
- if (record2(data) && only(data, ["item", "items", "page", "next", "missing", "meta"])) {
461
- if ("item" in data || Array.isArray(data.items) && record2(data.page))
462
- return data;
463
- }
464
- if (record2(data) && Array.isArray(data.items) && only(data, ["items", "page", "limit", "has_more"]))
465
- return listOf("list", {
466
- items: data.items,
467
- limit: Math.max(1, data.items.length),
468
- has_more: data.has_more === true
469
- });
470
- return itemOf(data);
471
- }, "bodyOf");
472
- var renderBody = /* @__PURE__ */ __name((command, body, options) => {
473
- const data = normalizeZoomAnswer(snakeKeys(body), metaOf(command).output?.entity);
474
- const fields2 = options.fields;
475
- const projected = fields2 ? projectFields(data, fields2) : data;
476
- const meta = metaNow({ ...projected.meta, run_id: options.meta.run_id, duration_ms: options.meta.duration_ms });
477
- const chunks = [];
478
- const streams = {
479
- data: /* @__PURE__ */ __name((text3) => chunks.push(`${text3}
480
- `), "data"),
481
- diagnostic: /* @__PURE__ */ __name((text3) => options.diagnostic(`${text3}
482
- `), "diagnostic")
483
- };
484
- const renderer = createRenderer({ format: options.format, color: false, quiet: options.quiet, streams });
485
- for (const warning of options.warnings ?? [])
486
- renderer.warn(warning);
487
- const exitCode = process.exitCode;
488
- try {
489
- renderAnswer(command, { renderer, format: options.format, streams }, { ...projected, meta });
490
- } finally {
491
- process.exitCode = exitCode;
492
- }
493
- const text2 = chunks.join("");
494
- const label = options.format === "pretty" && UTC_TIME.test(text2) ? "times in UTC\n" : "";
495
- return { text: text2 + label, exitCode: exitCodeOfAnswer(meta, metaOf(command).partial === true) };
496
- }, "renderBody");
497
- var wholeList = /* @__PURE__ */ __name((command, items) => listOf(command, { items, limit: Math.max(1, items.length), has_more: false }), "wholeList");
498
-
499
238
  // dist/read-only.js
500
239
  var pathOf2 = /* @__PURE__ */ __name((command) => {
501
240
  const words = [];
@@ -527,34 +266,16 @@ var refusalOf = /* @__PURE__ */ __name((command) => {
527
266
  return void 0;
528
267
  }, "refusalOf");
529
268
  var refuseChangeWhenReadOnly = /* @__PURE__ */ __name((command, env) => {
530
- const lock2 = readOnlyLockOf(ZM, env);
531
- const refusal = lock2 && refusalOf(command);
532
- if (lock2 && refusal)
533
- throw readOnlyRefusal(lock2, refusal);
269
+ const lock = readOnlyLockOf(ZM, env);
270
+ const refusal = lock && refusalOf(command);
271
+ if (lock && refusal)
272
+ throw readOnlyRefusal(lock, refusal);
534
273
  }, "refuseChangeWhenReadOnly");
535
274
 
536
275
  // dist/commands.js
537
- var addStandardCommandsDefinition = /* @__PURE__ */ __name((program, deps) => {
276
+ var addStandardCommandsDefinition = /* @__PURE__ */ __name((program) => {
538
277
  program.addCommand(commandsCommand(ZM).copyInheritedSettings(program));
539
278
  program.addCommand(sharedStoreCommand().copyInheritedSettings(program));
540
- annotate(program.command("complete").description("answer shell completion requests").argument("[words...]", "shell words ending in the partial word").action((words) => {
541
- const suggestions = suggest({
542
- commands: describeProgram(program),
543
- globalOptions: describeOptions(program),
544
- words
545
- });
546
- if (program.opts().json || program.opts().jsonl)
547
- deps.output(wholeList("complete", suggestions));
548
- else
549
- deps.raw(`${formatSuggestions(suggestions)}
550
- `);
551
- }), { effects: NO_EFFECTS, examples: ["zm complete -- meetings s"] });
552
- const session = annotate(program.command("session"), { effects: NO_EFFECTS }).description("the saved Zoom login, separate from local data profiles");
553
- annotate(session.command("status").description("show cached login state; remote verification is explicit").option("--check", "verify the session with Zoom").action(async (options) => deps.output(itemOf(await deps.sessionStatus(options.check === true)))), {
554
- effects: REMOTE_READ,
555
- examples: ["zm personal session status --json", "zm personal session status --check --dry-run --json"]
556
- });
557
- annotate(profileFree(session.command("list").description("list the profiles on this computer and the state of each one's saved Zoom login").action(async () => deps.output(wholeList("session list", await deps.sessionList())))), { effects: LOCAL_READ, examples: ["zm session list --json"] });
558
279
  }, "addStandardCommandsDefinition");
559
280
  var annotateMeetingCommands = /* @__PURE__ */ __name((program) => {
560
281
  for (const item of flatten(describeProgram(program))) {
@@ -791,16 +512,16 @@ var configOf = /* @__PURE__ */ __name((file) => ({
791
512
  ...file.record_input === void 0 ? {} : { recordInput: file.record_input }
792
513
  }), "configOf");
793
514
  var inspectConfig = /* @__PURE__ */ __name((path, permissionKeys2) => {
794
- let text2;
515
+ let text;
795
516
  try {
796
- text2 = readFileSync(path, "utf8");
517
+ text = readFileSync(path, "utf8");
797
518
  } catch {
798
519
  if (!existsSync(path))
799
520
  return { found: false, issues: [], raw: {}, config: configOf({}) };
800
521
  const what = statSync(path, { throwIfNoEntry: false })?.isDirectory() ? "the path is a folder, not a file" : "the file could not be read";
801
522
  return { found: true, issues: [fileIssue(path, what)], raw: null, config: configOf({}) };
802
523
  }
803
- const { issues, raw } = configIssues(text2, path, ConfigFile, permissionKeys2);
524
+ const { issues, raw } = configIssues(text, path, ConfigFile, permissionKeys2);
804
525
  return {
805
526
  found: true,
806
527
  issues,
@@ -944,11 +665,6 @@ export {
944
665
  profileAccountKey,
945
666
  chooseProfile,
946
667
  contextSourcesSchema,
947
- ZOOM_ANSWER_ENTITIES,
948
- declareZoomAnswers,
949
- bodyOf,
950
- renderBody,
951
- wholeList,
952
668
  annotateMeetingCommands,
953
669
  markProfileFree,
954
670
  zoomRunsCommand,
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-434YFJAE.js";
6
6
  import {
7
7
  createOutputBuffer
8
- } from "./chunk-6CWL5BKG.js";
8
+ } from "./chunk-3QN5KDFZ.js";
9
9
  import {
10
10
  CliError
11
11
  } from "./chunk-IANKXHSE.js";
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  filesPresent,
5
5
  sharedModelsDirectory
6
- } from "./chunk-4HLQ2JGK.js";
6
+ } from "./chunk-BAFC7WNI.js";
7
7
  import {
8
8
  readSharedSection,
9
9
  sharedConfigPath,
10
10
  writeSharedSection
11
- } from "./chunk-E745WZKY.js";
11
+ } from "./chunk-SHQAYUK6.js";
12
12
  import {
13
13
  storePath
14
- } from "./chunk-274SLQNW.js";
14
+ } from "./chunk-FH2UFNH6.js";
15
15
  import {
16
16
  array,
17
17
  check,
@@ -40,7 +40,7 @@ import {
40
40
  __name
41
41
  } from "./chunk-ZVVMGPBJ.js";
42
42
 
43
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/embeddings/models.js
43
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/embeddings/models.js
44
44
  import { existsSync } from "node:fs";
45
45
  import { join } from "node:path";
46
46
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
@@ -10,10 +10,10 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/speech/recognize.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/speech/recognize.js
14
14
  import { createRequire } from "node:module";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
17
17
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
18
18
  var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
19
19
  const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
70
70
  throw invalid();
71
71
  }, "checkOggDuration");
72
72
 
73
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/speech/recognize.js
73
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/speech/recognize.js
74
74
  var SAMPLE_RATE = 16e3;
75
75
  var LEAD = SAMPLE_RATE / 2;
76
76
  var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
@@ -5,15 +5,15 @@ import {
5
5
  readLock,
6
6
  releaseLock,
7
7
  takeLock
8
- } from "./chunk-RQOZBTNI.js";
8
+ } from "./chunk-EE45N67Q.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
14
14
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
17
17
  import { randomBytes } from "node:crypto";
18
18
  import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
86
86
  };
87
87
  }, "activityRecorder");
88
88
 
89
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
89
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
90
90
  var ACCESS_SECONDS = 60 * 60;
91
91
  var REFRESH_SECONDS = 30 * 24 * 60 * 60;
92
92
  var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  openOrdinaryFile
5
- } from "./chunk-N46F72AF.js";
5
+ } from "./chunk-S4PXWIE4.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-IANKXHSE.js";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/speech/wav.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/speech/wav.js
14
14
  import { createHash } from "node:crypto";
15
15
  import { basename, resolve } from "node:path";
16
16
  var prepared = /* @__PURE__ */ new WeakMap();
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  hostFetch
5
- } from "./chunk-ACI4YIEH.js";
5
+ } from "./chunk-VTYNLTDW.js";
6
6
  import {
7
7
  CliError,
8
8
  isCliError
@@ -11,7 +11,7 @@ import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/models/endpoint.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/models/endpoint.js
15
15
  var endpoint = /* @__PURE__ */ __name((value) => {
16
16
  try {
17
17
  const url = new URL(value);
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  normalize
5
- } from "./chunk-2JHVQMVC.js";
5
+ } from "./chunk-HO4JGD4Q.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-IANKXHSE.js";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/languages.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/search/languages.js
14
14
  var LANGUAGES = [
15
15
  { name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
16
16
  { name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
@@ -18,7 +18,7 @@ var LANGUAGES = [
18
18
  ];
19
19
  var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
22
22
  var BaseStemmer = class {
23
23
  static {
24
24
  __name(this, "BaseStemmer");
@@ -393,7 +393,7 @@ var BaseStemmer = class {
393
393
  }
394
394
  };
395
395
 
396
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
396
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
397
397
  var a_0 = [
398
398
  ["arsen", -1],
399
399
  ["commun", -1],
@@ -1094,7 +1094,7 @@ var english_stemmer_default = class extends BaseStemmer {
1094
1094
  stemWord = this.stem;
1095
1095
  };
1096
1096
 
1097
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1097
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1098
1098
  var a_02 = [
1099
1099
  ["\u0432", 1],
1100
1100
  ["\u0438\u0432", 2, 1],
@@ -1517,7 +1517,7 @@ var russian_stemmer_default = class extends BaseStemmer {
1517
1517
  stemWord = this.stem;
1518
1518
  };
1519
1519
 
1520
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1520
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1521
1521
  var a_03 = [
1522
1522
  ["", 6],
1523
1523
  ["\xE1", 1, 1],
@@ -2193,7 +2193,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
2193
2193
  stemWord = this.stem;
2194
2194
  };
2195
2195
 
2196
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/stem.js
2196
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/search/stem.js
2197
2197
  var SNOWBALL_VERSION = "3.1.1";
2198
2198
  var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
2199
2199
  var LATIN_STEMMERS = [...languagesOf("latin"), "none"];