@wirecat/zoom-cli 0.81.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 (239) hide show
  1. package/README.md +2 -2
  2. package/contracts/wirecat.json +54 -54
  3. package/dist/answers.d.ts +56 -0
  4. package/dist/answers.d.ts.map +1 -1
  5. package/dist/api.d.ts.map +1 -1
  6. package/dist/api.js +1 -1
  7. package/dist/api.js.map +1 -1
  8. package/dist/bin/main.js +2 -15
  9. package/dist/bin/main.js.map +1 -1
  10. package/dist/bin/zm.js +2 -2
  11. package/dist/bundle/agent-3HDWEZ5M.js +47 -0
  12. package/dist/bundle/{all-profiles-3ASMN35R.js → all-profiles-RY2OMSDL.js} +12 -12
  13. package/dist/bundle/answer-policy-IFVXPPGW.js +131 -0
  14. package/dist/bundle/{anthropic-XXI53VNI.js → anthropic-36VPSF7B.js} +6 -6
  15. package/dist/bundle/{app-server-B7WLNZNQ.js → app-server-ZVJVUGB7.js} +79 -76
  16. package/dist/bundle/{bun-2FLR4IV4.js → bun-F4M4KCNA.js} +2 -2
  17. package/dist/bundle/{bun-sqlite-3NNHTOGM.js → bun-sqlite-IOPYIUA7.js} +7 -7
  18. package/dist/bundle/{chunk-L54I45OX.js → chunk-26TW5RZ6.js} +33 -317
  19. package/dist/bundle/{chunk-JK24A3RP.js → chunk-2DK5BBFF.js} +3 -3
  20. package/dist/bundle/{chunk-4VOCXLMJ.js → chunk-2IBKKVVZ.js} +6 -6
  21. package/dist/bundle/{chunk-WKNYNK7W.js → chunk-2S54TM4N.js} +4 -4
  22. package/dist/bundle/{chunk-WHXYPLUE.js → chunk-3AQHKXVR.js} +4 -4
  23. package/dist/bundle/{chunk-YISJJNXT.js → chunk-3CW2C7ZA.js} +3 -3
  24. package/dist/bundle/{chunk-77TJ3AJH.js → chunk-3KUEZK5Z.js} +3 -3
  25. package/dist/bundle/{chunk-NQGGTO3B.js → chunk-3PXUQFHX.js} +8 -8
  26. package/dist/bundle/{chunk-N5ROXGY4.js → chunk-3QN5KDFZ.js} +167 -167
  27. package/dist/bundle/{chunk-AWJQ6FAX.js → chunk-434YFJAE.js} +2 -2
  28. package/dist/bundle/{chunk-4BU3LRTB.js → chunk-575JMTDR.js} +19 -18
  29. package/dist/bundle/{chunk-NM5XMKWO.js → chunk-5B2LV4MS.js} +2 -1
  30. package/dist/bundle/{chunk-3M436OO2.js → chunk-5WL5RHOO.js} +7 -102
  31. package/dist/bundle/{chunk-PS7HQ5LQ.js → chunk-6C7ESL5N.js} +3 -3
  32. package/dist/bundle/{chunk-SRUAUMBL.js → chunk-6E4KLYNP.js} +12 -12
  33. package/dist/bundle/chunk-7JDXR75Q.js +465 -0
  34. package/dist/bundle/{chunk-L2ERFXB7.js → chunk-AK3H2C65.js} +40 -31
  35. package/dist/bundle/{chunk-OEQNP56V.js → chunk-AQ5RIOUE.js} +1 -1
  36. package/dist/bundle/{chunk-35FVYRH5.js → chunk-AQLUAQXJ.js} +37 -180
  37. package/dist/bundle/{chunk-EPASOAEI.js → chunk-ASTLGFTR.js} +284 -184
  38. package/dist/bundle/{chunk-YNWBRDBX.js → chunk-ATHBB7OU.js} +2 -2
  39. package/dist/bundle/{chunk-ZFRYFDZN.js → chunk-B2NM65RD.js} +14 -6
  40. package/dist/bundle/{chunk-VQTYJ6XH.js → chunk-B4KHDXJE.js} +3 -3
  41. package/dist/bundle/{chunk-G3DWMG7Y.js → chunk-BAFC7WNI.js} +4 -4
  42. package/dist/bundle/{chunk-2GNGR265.js → chunk-BBGJQMRI.js} +1 -1
  43. package/dist/bundle/{chunk-C4BBCSGK.js → chunk-BTLZYRIW.js} +6 -6
  44. package/dist/bundle/{chunk-T2BHIC37.js → chunk-BZDS2X6Y.js} +65 -65
  45. package/dist/bundle/{chunk-3UX4VJWD.js → chunk-C7JPYWYQ.js} +3 -4
  46. package/dist/bundle/{chunk-R4CXFYQN.js → chunk-CDQUW25G.js} +180 -38
  47. package/dist/bundle/{chunk-YJKXCINQ.js → chunk-CJWGJBHW.js} +274 -60
  48. package/dist/bundle/{chunk-F2J2FQUB.js → chunk-D7RCUODT.js} +9 -9
  49. package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-DNCLQPOM.js} +1 -1
  50. package/dist/bundle/{chunk-LGESUPKO.js → chunk-DQJECJUE.js} +25 -90
  51. package/dist/bundle/{chunk-MA4UJNUI.js → chunk-E4JQ3MCW.js} +12 -12
  52. package/dist/bundle/{chunk-GW2A2FJH.js → chunk-E4ODYLEK.js} +8 -8
  53. package/dist/bundle/{chunk-Q26UFIH4.js → chunk-EE45N67Q.js} +16 -3
  54. package/dist/bundle/{chunk-5SEBLX6B.js → chunk-EEEU4MKK.js} +12 -12
  55. package/dist/bundle/{chunk-YRDQ54G5.js → chunk-ESN3W2MZ.js} +24 -11
  56. package/dist/bundle/{chunk-M7OYEMLI.js → chunk-ETIZGA4P.js} +7 -7
  57. package/dist/bundle/{chunk-IVZACJ6X.js → chunk-F44QK6CK.js} +4 -4
  58. package/dist/bundle/{chunk-JKEMW6E4.js → chunk-FH2UFNH6.js} +2 -2
  59. package/dist/bundle/{chunk-XYQVVW4R.js → chunk-FTH6WGYO.js} +1 -1
  60. package/dist/bundle/chunk-FWACRG4X.js +160 -0
  61. package/dist/bundle/chunk-G5SZL7G2.js +150 -0
  62. package/dist/bundle/{chunk-GDRFVBCB.js → chunk-G6CHEFAG.js} +2 -2
  63. package/dist/bundle/{chunk-2ELGSNX3.js → chunk-GHJD7PE6.js} +170 -170
  64. package/dist/bundle/{chunk-LECMHK2F.js → chunk-GZ7WBU5Y.js} +1 -1
  65. package/dist/bundle/{chunk-4ZXJ4AZW.js → chunk-H6A4NWYJ.js} +322 -45
  66. package/dist/bundle/{chunk-D26K6756.js → chunk-HKLRI2LB.js} +6 -6
  67. package/dist/bundle/{chunk-R6HP2XKD.js → chunk-HMD4FZYY.js} +5 -5
  68. package/dist/bundle/{chunk-2Z7UOXFC.js → chunk-HO4JGD4Q.js} +1 -1
  69. package/dist/bundle/chunk-HUAHLO6N.js +29 -0
  70. package/dist/bundle/{chunk-UHMJSSQO.js → chunk-IANKXHSE.js} +1 -1
  71. package/dist/bundle/{chunk-QFK52FG6.js → chunk-IQZXFWFI.js} +3 -3
  72. package/dist/bundle/{chunk-GPRJXJC7.js → chunk-ISQ23VKV.js} +22 -1
  73. package/dist/bundle/{chunk-ZLYICF6A.js → chunk-JEH33ZCD.js} +4 -4
  74. package/dist/bundle/{chunk-IDUKCXL7.js → chunk-JUNQYWQ2.js} +13 -9
  75. package/dist/bundle/{chunk-337ALCXQ.js → chunk-JUXMVQWJ.js} +312 -153
  76. package/dist/bundle/{chunk-5EWYDHBH.js → chunk-KHQDWYCG.js} +2 -2
  77. package/dist/bundle/{chunk-FMMYBVCH.js → chunk-KYRYD4CR.js} +1 -1
  78. package/dist/bundle/chunk-LBGT6W4R.js +377 -0
  79. package/dist/bundle/{chunk-UUVWAVKN.js → chunk-LN7HRYTH.js} +3 -3
  80. package/dist/bundle/{chunk-NS3JWBDR.js → chunk-MEB7HBTM.js} +6 -6
  81. package/dist/bundle/{chunk-K7CTCDYX.js → chunk-MEEFWYX3.js} +6 -6
  82. package/dist/bundle/{chunk-BQBC2WIG.js → chunk-MNOAMJ6H.js} +1 -1
  83. package/dist/bundle/{chunk-Y7XJA4EW.js → chunk-MYHPXJDG.js} +4 -4
  84. package/dist/bundle/{chunk-7JWVPJIP.js → chunk-NGI37RFW.js} +10 -10
  85. package/dist/bundle/{chunk-437DLSB3.js → chunk-NZMWD7Y3.js} +17227 -13055
  86. package/dist/bundle/chunk-O6IECJRM.js +54 -0
  87. package/dist/bundle/{chunk-LVCCZI5A.js → chunk-OBWL3BUV.js} +39 -39
  88. package/dist/bundle/{chunk-GCAJW4SR.js → chunk-OEEWVKJX.js} +1 -1
  89. package/dist/bundle/chunk-OGTN2KVG.js +147 -0
  90. package/dist/bundle/{chunk-B2WBWKYN.js → chunk-OQYZ3W4K.js} +12 -12
  91. package/dist/bundle/{chunk-IFM4G4MT.js → chunk-P3ZCTYGW.js} +4 -4
  92. package/dist/bundle/{chunk-VAW7QGJA.js → chunk-PVEBAHFU.js} +3 -3
  93. package/dist/bundle/{chunk-IYNICUCC.js → chunk-R2B6PUVI.js} +4 -4
  94. package/dist/bundle/{chunk-D7CDHBDX.js → chunk-R6IA5UQB.js} +1 -1
  95. package/dist/bundle/{chunk-T7QPZYRZ.js → chunk-RLOH7RDN.js} +7 -7
  96. package/dist/bundle/{chunk-V3ZTAAJ6.js → chunk-RQ4AXSCJ.js} +8 -8
  97. package/dist/bundle/{chunk-4BXLHSXY.js → chunk-RYGTCRFZ.js} +2 -2
  98. package/dist/bundle/{chunk-XWKUGAG6.js → chunk-S4PXWIE4.js} +85 -87
  99. package/dist/bundle/{chunk-ZMAPXIGC.js → chunk-SDZZYZLL.js} +2 -2
  100. package/dist/bundle/{chunk-ZNAX7GUV.js → chunk-SHQAYUK6.js} +8 -8
  101. package/dist/bundle/{chunk-YUDVRFXN.js → chunk-T3W4V4A6.js} +1 -1
  102. package/dist/bundle/{chunk-F5ZAN7OC.js → chunk-TCT5D2X2.js} +1 -1
  103. package/dist/bundle/{chunk-EEBSKMEA.js → chunk-TDWPOSPR.js} +12 -12
  104. package/dist/bundle/{chunk-WIX6BFRF.js → chunk-TER3N27H.js} +8 -8
  105. package/dist/bundle/{chunk-UMPUY77T.js → chunk-TMTNP7QN.js} +10 -10
  106. package/dist/bundle/{chunk-BZXHJKKI.js → chunk-TO5UEWXR.js} +2 -2
  107. package/dist/bundle/{chunk-HVXOA4FO.js → chunk-TXDR6YSF.js} +1 -1
  108. package/dist/bundle/{chunk-CFQQTDSA.js → chunk-TY7NDMFY.js} +1 -1
  109. package/dist/bundle/{chunk-YIIGF643.js → chunk-UAWSINMC.js} +10 -10
  110. package/dist/bundle/{chunk-RQFRXUI4.js → chunk-UBH7YF3C.js} +200 -112
  111. package/dist/bundle/{chunk-MBBR7QHI.js → chunk-UEAE3JUU.js} +2641 -1150
  112. package/dist/bundle/{chunk-2RFWRJFK.js → chunk-UHR363OD.js} +14 -10
  113. package/dist/bundle/{chunk-RRYHLP3A.js → chunk-UM52A76S.js} +6 -6
  114. package/dist/bundle/chunk-URP6BTHN.js +624 -0
  115. package/dist/bundle/{chunk-HHQROAJQ.js → chunk-UWQEAA6S.js} +1 -1
  116. package/dist/bundle/{chunk-DMJLJVD3.js → chunk-VR7QZGRU.js} +7 -7
  117. package/dist/bundle/{chunk-QNG27PGH.js → chunk-VRH5PBSL.js} +21 -17
  118. package/dist/bundle/chunk-VTLQTQKY.js +1756 -0
  119. package/dist/bundle/{chunk-NX3BLISW.js → chunk-VTYNLTDW.js} +6 -6
  120. package/dist/bundle/{chunk-HIFPHARA.js → chunk-WY7XG6TE.js} +4 -4
  121. package/dist/bundle/{chunk-IBYGNUO7.js → chunk-XEOZTA3H.js} +1 -1
  122. package/dist/bundle/{chunk-4FSH7K6N.js → chunk-XH23ML2V.js} +2 -2
  123. package/dist/bundle/{chunk-VXD65V67.js → chunk-XYF76A26.js} +2224 -2288
  124. package/dist/bundle/{chunk-J5EHZBO5.js → chunk-ZDYJAEVB.js} +19 -3
  125. package/dist/bundle/{chunk-FXZPAGHT.js → chunk-ZJ63HDBT.js} +2 -2
  126. package/dist/bundle/{chunk-N62P5FY4.js → chunk-ZT4ZPUIO.js} +12 -12
  127. package/dist/bundle/{cli-WTGAGSXV.js → cli-JK6PQSSN.js} +133 -116
  128. package/dist/bundle/command-contract-F3QNBKPX.js +46 -0
  129. package/dist/bundle/{command-server-entry-47CAYN3E.js → command-server-entry-DJLGN62J.js} +36 -35
  130. package/dist/bundle/config-TYYMV3HV.js +118 -0
  131. package/dist/bundle/{decode-2G7QS5IQ.js → decode-ZZICNNFF.js} +6 -6
  132. package/dist/bundle/{dispatch-ZAP3KBVJ.js → dispatch-FKMIPCPQ.js} +9 -9
  133. package/dist/bundle/{dist-WY6R3WH7.js → dist-NQPF25XI.js} +52 -49
  134. package/dist/bundle/{echarts-YRRVLEX3.js → echarts-QMAA7HH5.js} +2 -2
  135. package/dist/bundle/{embed-B5H3OW2O.js → embed-T64EUKUI.js} +7 -7
  136. package/dist/bundle/{embedder-3O73SP6Y.js → embedder-ZEKISZXI.js} +10 -10
  137. package/dist/bundle/{failure-EYGW7JMC.js → failure-XTWBYI2A.js} +3 -3
  138. package/dist/bundle/first-run-ZFNY4RRH.js +29 -0
  139. package/dist/bundle/first-screen-LPGCHRHZ.js +47 -0
  140. package/dist/bundle/{folders-4CGFWM6H.js → folders-ROKVKSCT.js} +5 -5
  141. package/dist/bundle/{instructions-AG7SRWTR.js → instructions-4H7UREH2.js} +1 -1
  142. package/dist/bundle/{main-DOGY6FJP.js → main-GCK3VYAA.js} +27 -37
  143. package/dist/bundle/{mcp-YGOAUNC3.js → mcp-5HFPWC3W.js} +2 -2
  144. package/dist/bundle/meeting-combined-7HDPOUPB.js +28 -0
  145. package/dist/bundle/meeting-model-MVUW7UPQ.js +26 -0
  146. package/dist/bundle/{meeting-semantic-FOEBWV3P.js → meeting-semantic-IF633WGX.js} +8 -8
  147. package/dist/bundle/{meetings-PVE4C2NF.js → meetings-RY2AAPHV.js} +7 -7
  148. package/dist/bundle/{node-GJQYN4FT.js → node-P3PUHKYH.js} +2 -2
  149. package/dist/bundle/{node-sqlite-MLRYKVCQ.js → node-sqlite-ASAZJNHE.js} +8 -8
  150. package/dist/bundle/{oauth-AC55C6SG.js → oauth-4U3OCK3W.js} +8 -8
  151. package/dist/bundle/oauth-AJARLPSY.js +46 -0
  152. package/dist/bundle/{open-3LGTYP6M.js → open-SEJRY2ZI.js} +6 -6
  153. package/dist/bundle/openai-FZDSC2AA.js +28 -0
  154. package/dist/bundle/{output-file-FXMTTLOI.js → output-file-RYIOIXMD.js} +6 -6
  155. package/dist/bundle/{process-MEKCZMX3.js → process-AFIXYXWL.js} +1 -1
  156. package/dist/bundle/{program-E5BSSIGY.js → program-OYLVYA4Z.js} +186 -247
  157. package/dist/bundle/{prompt-AIA6QSZK.js → prompt-BCRD64F4.js} +6 -6
  158. package/dist/bundle/public-SVJILCNI.js +206 -0
  159. package/dist/bundle/{recognize-M57VNTEV.js → recognize-25ITJWGX.js} +5 -5
  160. package/dist/bundle/{remote-3OTENZ7Z.js → remote-5FBAJX7O.js} +11 -11
  161. package/dist/bundle/{rerank-P5WHDFDU.js → rerank-2HGWWORY.js} +8 -8
  162. package/dist/bundle/run-log-7HRF4Y47.js +145 -0
  163. package/dist/bundle/{serve-BRLC2QVV.js → serve-RL35MSJD.js} +10 -10
  164. package/dist/bundle/{server-25NF7DMS.js → server-QUSBWACP.js} +71 -68
  165. package/dist/bundle/server-SCK2SRDK.js +96 -0
  166. package/dist/bundle/{services-MJE43OGD.js → services-BGRIQNDC.js} +66 -60
  167. package/dist/bundle/{speech-4AVCWTQH.js → speech-4W3ZMTFK.js} +25 -25
  168. package/dist/bundle/{sqlite-runtime-U4TQXWMC.js → sqlite-runtime-K3KLRZCV.js} +7 -7
  169. package/dist/bundle/{state-GNUGVMY7.js → state-GYL4C74G.js} +7 -7
  170. package/dist/bundle/{store-KBFZVQWF.js → store-27UQMNEO.js} +28 -26
  171. package/dist/bundle/{store-MHVBFUBB.js → store-NLYH5SQX.js} +64 -46
  172. package/dist/bundle/store-connection-CZILWRSR.js +112 -0
  173. package/dist/bundle/store-maintenance-command-Z3QLNSXJ.js +84 -0
  174. package/dist/bundle/{streaming-6F7AFEHD.js → streaming-73EKEGPF.js} +7 -7
  175. package/dist/bundle/surface-CV3C4RV2.js +82 -0
  176. package/dist/bundle/tokens-PY3S22LY.js +27 -0
  177. package/dist/bundle/zm.js +9 -9
  178. package/dist/bundle/{zoom-app-YTGOZ2FS.js → zoom-app-4F4YY4OI.js} +11 -9
  179. package/dist/commands.d.ts +1 -8
  180. package/dist/commands.d.ts.map +1 -1
  181. package/dist/commands.js +3 -33
  182. package/dist/commands.js.map +1 -1
  183. package/dist/index.d.ts +1 -2
  184. package/dist/index.d.ts.map +1 -1
  185. package/dist/index.js +1 -2
  186. package/dist/index.js.map +1 -1
  187. package/dist/program-bindings.d.ts.map +1 -1
  188. package/dist/program-bindings.js +2 -12
  189. package/dist/program-bindings.js.map +1 -1
  190. package/dist/program.d.ts +3 -5
  191. package/dist/program.d.ts.map +1 -1
  192. package/dist/run.d.ts.map +1 -1
  193. package/dist/run.js +6 -1
  194. package/dist/run.js.map +1 -1
  195. package/dist/setup-commands.d.ts +5 -14
  196. package/dist/setup-commands.d.ts.map +1 -1
  197. package/dist/setup-commands.js +7 -142
  198. package/dist/setup-commands.js.map +1 -1
  199. package/dist/tokens.d.ts +20 -44
  200. package/dist/tokens.d.ts.map +1 -1
  201. package/dist/tokens.js +95 -308
  202. package/dist/tokens.js.map +1 -1
  203. package/dist/version.d.ts +1 -1
  204. package/dist/version.js +1 -1
  205. package/dist/zoom-app.js +1 -1
  206. package/dist/zoom-app.js.map +1 -1
  207. package/dist/zoom-session.d.ts +6 -0
  208. package/dist/zoom-session.d.ts.map +1 -0
  209. package/dist/zoom-session.js +72 -0
  210. package/dist/zoom-session.js.map +1 -0
  211. package/package.json +3 -3
  212. package/skills/zoom-cli/references/setup.md +2 -2
  213. package/dist/bundle/agent-VYAJCJLE.js +0 -45
  214. package/dist/bundle/answer-policy-PTH4F2DW.js +0 -129
  215. package/dist/bundle/chunk-46EF6P2J.js +0 -72
  216. package/dist/bundle/chunk-4B335BCJ.js +0 -330
  217. package/dist/bundle/chunk-EWEQ7AXL.js +0 -719
  218. package/dist/bundle/chunk-FXCR4DGU.js +0 -37
  219. package/dist/bundle/chunk-KZ3B6HW5.js +0 -31
  220. package/dist/bundle/chunk-TI4WJOEX.js +0 -789
  221. package/dist/bundle/chunk-UPR2S5IE.js +0 -773
  222. package/dist/bundle/command-contract-3IKVWPDL.js +0 -45
  223. package/dist/bundle/config-ZOGOKGTU.js +0 -116
  224. package/dist/bundle/first-run-MPKMDEMA.js +0 -29
  225. package/dist/bundle/first-screen-AIAAC3KF.js +0 -45
  226. package/dist/bundle/meeting-combined-YKPKTKGA.js +0 -26
  227. package/dist/bundle/meeting-model-HTXSGHNM.js +0 -26
  228. package/dist/bundle/openai-E2MSLVIX.js +0 -28
  229. package/dist/bundle/run-log-EOQ4EQDS.js +0 -143
  230. package/dist/bundle/server-EW2RL2EL.js +0 -93
  231. package/dist/bundle/store-connection-SKRUAI4L.js +0 -109
  232. package/dist/bundle/store-maintenance-command-G6EXJSHJ.js +0 -81
  233. package/dist/bundle/surface-DWEWB5RG.js +0 -79
  234. package/dist/bundle/tokens-BB4MQBLH.js +0 -25
  235. package/dist/login.d.ts +0 -16
  236. package/dist/login.d.ts.map +0 -1
  237. package/dist/login.js +0 -98
  238. package/dist/login.js.map +0 -1
  239. /package/dist/bundle/{chunk-7O7XM37N.js → chunk-7ECP5ZQR.js} +0 -0
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CAPABILITY_STATEMENTS,
5
5
  storeCapable
6
- } from "./chunk-NS3JWBDR.js";
6
+ } from "./chunk-MEB7HBTM.js";
7
7
  import {
8
8
  importFrom
9
9
  } from "./chunk-Y5E2WNWB.js";
@@ -11,7 +11,7 @@ import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/sqlite-runtime.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/sqlite-runtime.js
15
15
  import { spawn, spawnSync } from "node:child_process";
16
16
  import { readFileSync } from "node:fs";
17
17
  import { dirname } from "node:path";
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError,
5
5
  errorCodes
6
- } from "./chunk-UHMJSSQO.js";
6
+ } from "./chunk-IANKXHSE.js";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-ZVVMGPBJ.js";
10
10
 
11
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/errors/failures.js
11
+ // 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/errors/failures.js
12
12
  var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
13
13
  var isCommanderFailure = /* @__PURE__ */ __name((value) => {
14
14
  const { code, exitCode } = value ?? {};
@@ -20,6 +20,7 @@ var USAGE_REASONS = {
20
20
  };
21
21
  var usageReason = /* @__PURE__ */ __name((code) => USAGE_REASONS[code], "usageReason");
22
22
  var failureKey = /* @__PURE__ */ __name((error) => isCliFailure(error) ? error.code : error instanceof Error ? error.name : "error", "failureKey");
23
+ var SQLITE_BUSY = 5;
23
24
  var SQLITE_CORRUPT = 11;
24
25
  var SQLITE_NOTADB = 26;
25
26
  var DAMAGED_TEXT = /database disk image is malformed|file is not a database|fts5: corruption/i;
@@ -28,18 +29,21 @@ var sqliteCode = /* @__PURE__ */ __name((error) => {
28
29
  const code = typeof errcode === "number" ? errcode : name === "SQLiteError" && typeof errno === "number" ? errno : null;
29
30
  return code === null ? void 0 : code & 255;
30
31
  }, "sqliteCode");
31
- var damageIn = /* @__PURE__ */ __name((error) => {
32
+ var sqliteFailureIn = /* @__PURE__ */ __name((error, matches) => {
32
33
  if (isCliFailure(error) || isCommanderFailure(error))
33
34
  return void 0;
34
35
  let at = error;
35
36
  for (let depth = 0; depth < 5 && at instanceof Error; depth += 1) {
36
- const code = sqliteCode(at);
37
- if (code !== void 0 && [SQLITE_CORRUPT, SQLITE_NOTADB].includes(code) || DAMAGED_TEXT.test(at.message))
37
+ if (matches(at))
38
38
  return at;
39
39
  at = at.cause;
40
40
  }
41
41
  return void 0;
42
- }, "damageIn");
42
+ }, "sqliteFailureIn");
43
+ var damageIn = /* @__PURE__ */ __name((error) => sqliteFailureIn(error, (at) => {
44
+ const code = sqliteCode(at);
45
+ return code !== void 0 && [SQLITE_CORRUPT, SQLITE_NOTADB].includes(code) || DAMAGED_TEXT.test(at.message);
46
+ }), "damageIn");
43
47
  var wrapping = /* @__PURE__ */ __name((error, original) => {
44
48
  Object.defineProperty(error, "cause", { value: original, configurable: true, writable: true });
45
49
  if (original instanceof Error && original.stack)
@@ -47,6 +51,9 @@ var wrapping = /* @__PURE__ */ __name((error, original) => {
47
51
  return error;
48
52
  }, "wrapping");
49
53
  var storeDamaged = /* @__PURE__ */ __name((error, next) => damageIn(error) ? wrapping(new CliError("configuration_error", `the store file is damaged${next ? `; \`${next}\` says what is damaged and what to do` : ""}`, { reason: "store.damaged" }), error) : error, "storeDamaged");
54
+ var storeBusy = /* @__PURE__ */ __name((error) => sqliteFailureIn(error, (at) => sqliteCode(at) === SQLITE_BUSY) ? wrapping(new CliError("conflict", "another process held the store for longer than this command waits; run it again", {
55
+ reason: "store.busy"
56
+ }), error) : error, "storeBusy");
50
57
  var damagedFile = /* @__PURE__ */ __name(async (files, work) => {
51
58
  try {
52
59
  return await work();
@@ -67,6 +74,7 @@ export {
67
74
  failureKey,
68
75
  sqliteCode,
69
76
  storeDamaged,
77
+ storeBusy,
70
78
  damagedFile,
71
79
  isStoreDamage
72
80
  };
@@ -5,7 +5,7 @@ import {
5
5
  id,
6
6
  text,
7
7
  time
8
- } from "./chunk-EWEQ7AXL.js";
8
+ } from "./chunk-URP6BTHN.js";
9
9
  import {
10
10
  array,
11
11
  nullable,
@@ -16,9 +16,9 @@ import {
16
16
  strictObject,
17
17
  string,
18
18
  unknown
19
- } from "./chunk-YRDQ54G5.js";
19
+ } from "./chunk-ESN3W2MZ.js";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/note.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/entities/note.js
22
22
  var link = {
23
23
  target_text: nullable(text),
24
24
  kind: text,
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  wirecatDirectory
5
- } from "./chunk-JKEMW6E4.js";
5
+ } from "./chunk-FH2UFNH6.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-UHMJSSQO.js";
8
+ } from "./chunk-IANKXHSE.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/speech/models.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/models.js
14
14
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
15
15
  var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
16
16
  var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
137
137
  return model;
138
138
  }, "speechModel");
139
139
 
140
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/speech/install.js
140
+ // 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/install.js
141
141
  import { createHash, randomUUID } from "node:crypto";
142
142
  import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
143
143
  import { rename, rm } from "node:fs/promises";
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
8
8
  var CONTROL = (
9
9
  // biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
10
10
  /[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
@@ -5,23 +5,23 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-G3DWMG7Y.js";
8
+ } from "./chunk-BAFC7WNI.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-UHMJSSQO.js";
14
+ } from "./chunk-IANKXHSE.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
19
+ // 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/embed.js
20
20
  import { readFileSync as readFileSync2 } from "node:fs";
21
21
  import { availableParallelism } from "node:os";
22
22
  import { basename, join as join2 } from "node:path";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // 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/onnx-runtime.js
25
25
  import { createHash } from "node:crypto";
26
26
  import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
27
27
  import { join } from "node:path";
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
678
678
  return Unzip2;
679
679
  })();
680
680
 
681
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // 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/onnx-runtime.js
682
682
  var ONNX_RUNTIME_VERSION = "1.30.0";
683
683
  var REGISTRY = "https://registry.npmjs.org";
684
684
  var wirecat = /* @__PURE__ */ __name((target, sha256, bytes, library) => ({
@@ -837,7 +837,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
837
837
  return { ort, session: await ort.InferenceSession.create(bytes, options) };
838
838
  }, "openSession");
839
839
 
840
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
840
+ // 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/embed.js
841
841
  var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
842
842
  var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
843
843
  var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");