@wirecat/zoom-cli 0.72.0 → 0.73.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 (198) hide show
  1. package/contracts/wirecat.json +1478 -0
  2. package/dist/account-removal.d.ts.map +1 -1
  3. package/dist/account-removal.js +0 -2
  4. package/dist/account-removal.js.map +1 -1
  5. package/dist/answers.d.ts +1 -3
  6. package/dist/answers.d.ts.map +1 -1
  7. package/dist/answers.js +0 -3
  8. package/dist/answers.js.map +1 -1
  9. package/dist/bin/main.js +13 -5
  10. package/dist/bin/main.js.map +1 -1
  11. package/dist/bin/zm.js +2 -2
  12. package/dist/bundle/{all-profiles-XFIPF4GF.js → all-profiles-V47CUJFK.js} +12 -12
  13. package/dist/bundle/answer-policy-W6H72X2R.js +112 -0
  14. package/dist/bundle/{anthropic-SSUBR3BC.js → anthropic-SID7Z3QN.js} +7 -7
  15. package/dist/bundle/{app-server-7DJHHF2F.js → app-server-KCMUSY4A.js} +67 -61
  16. package/dist/bundle/{bun-6HBYWQIX.js → bun-PWMM6L45.js} +2 -2
  17. package/dist/bundle/{bun-sqlite-4L3Q55NB.js → bun-sqlite-3TLKUN5A.js} +7 -7
  18. package/dist/bundle/{chunk-OY6N2ABP.js → chunk-2BAZRRJP.js} +19 -19
  19. package/dist/bundle/{chunk-KWURWGGB.js → chunk-2NQPB6MT.js} +28 -9
  20. package/dist/bundle/chunk-2PYZTRRC.js +84 -0
  21. package/dist/bundle/chunk-2VYEGKQ3.js +13 -0
  22. package/dist/bundle/{chunk-X2MP634F.js → chunk-35CYSRGJ.js} +4 -4
  23. package/dist/bundle/{chunk-SXZGCD6E.js → chunk-3ADFJ3UP.js} +3 -3
  24. package/dist/bundle/{chunk-63QXCE5Z.js → chunk-3HTJBGNP.js} +10 -10
  25. package/dist/bundle/{chunk-OHCLQJOV.js → chunk-44YVZIA4.js} +3 -3
  26. package/dist/bundle/{chunk-D24OQAHM.js → chunk-4LFFDUUW.js} +4 -4
  27. package/dist/bundle/{chunk-UVZLK3M4.js → chunk-4RJL32PF.js} +25 -10
  28. package/dist/bundle/{chunk-CANRIRNZ.js → chunk-6AO2RSYH.js} +951 -692
  29. package/dist/bundle/{chunk-37NF5CBJ.js → chunk-6NI4FE5G.js} +6 -8
  30. package/dist/bundle/{chunk-QW7YTRV2.js → chunk-6WUTUCKH.js} +3 -3
  31. package/dist/bundle/{chunk-WOAYHCM2.js → chunk-AIEMFRBU.js} +1 -1
  32. package/dist/bundle/{chunk-B3SILJBU.js → chunk-CIUJEQH4.js} +30 -22
  33. package/dist/bundle/{chunk-MSQHSW4C.js → chunk-CMWFYZ45.js} +2 -2
  34. package/dist/bundle/{chunk-2MIBRVSV.js → chunk-CQBLPBZU.js} +2 -2
  35. package/dist/bundle/{chunk-U3NJBGLA.js → chunk-DPSTOVKC.js} +185 -34
  36. package/dist/bundle/{chunk-OP5PGE2N.js → chunk-DYLYH7VE.js} +4 -4
  37. package/dist/bundle/{chunk-ELJUBPY4.js → chunk-EA2OB75T.js} +1 -1
  38. package/dist/bundle/{chunk-3KRTEX5M.js → chunk-ERQRY6WZ.js} +3 -2
  39. package/dist/bundle/{chunk-H53WFZBN.js → chunk-ETQNHS3A.js} +12 -12
  40. package/dist/bundle/{chunk-JG4MNYG2.js → chunk-EXWZCI5G.js} +1 -1
  41. package/dist/bundle/{chunk-MCPOZNWG.js → chunk-FIVFP53N.js} +1 -1
  42. package/dist/bundle/{chunk-7OD3522V.js → chunk-FJMRDRPN.js} +180 -149
  43. package/dist/bundle/{chunk-RZUJMAMK.js → chunk-FT7X74RT.js} +4 -4
  44. package/dist/bundle/{chunk-ADLS6FVG.js → chunk-FXBHOCJK.js} +1 -1
  45. package/dist/bundle/{chunk-JRCH4YZP.js → chunk-FZLJ2G7A.js} +17 -121
  46. package/dist/bundle/{chunk-ZW5KHKMA.js → chunk-G2TSDMTA.js} +5 -5
  47. package/dist/bundle/{chunk-7S4D5SM2.js → chunk-G3SIY4MQ.js} +29 -28
  48. package/dist/bundle/{chunk-M3DMXDX6.js → chunk-GCZMYDKU.js} +6 -6
  49. package/dist/bundle/{chunk-4XQWF3U2.js → chunk-HAMDPWEZ.js} +6 -6
  50. package/dist/bundle/{chunk-6DCLZLGX.js → chunk-HCZYJMBP.js} +1 -1
  51. package/dist/bundle/{chunk-S7SXSHRC.js → chunk-HNWDEDMU.js} +61 -30
  52. package/dist/bundle/{chunk-24OFZNRC.js → chunk-HO3GBTIT.js} +4038 -3729
  53. package/dist/bundle/chunk-IE7YBRUO.js +25 -0
  54. package/dist/bundle/{chunk-XPWZSW6Y.js → chunk-IJCUAKR5.js} +4 -4
  55. package/dist/bundle/{chunk-RLCVPECY.js → chunk-IKNOTHG2.js} +110 -64
  56. package/dist/bundle/{chunk-QA6KIL7Q.js → chunk-ILDGZBZD.js} +11 -8
  57. package/dist/bundle/{chunk-W3YTVEWV.js → chunk-JIS34MLC.js} +9 -9
  58. package/dist/bundle/{chunk-KFZL67JP.js → chunk-JQF4LM3V.js} +128 -47
  59. package/dist/bundle/{chunk-ZHA56THL.js → chunk-K5JFX5TK.js} +927 -904
  60. package/dist/bundle/{chunk-WXTYYWZI.js → chunk-K7EMVFJ7.js} +115 -113
  61. package/dist/bundle/{chunk-7GLJSJ7M.js → chunk-KHBZ4OEP.js} +1 -1
  62. package/dist/bundle/{chunk-PJWSGXOB.js → chunk-KK2IVZUQ.js} +7 -7
  63. package/dist/bundle/{chunk-YVVJ6Y5C.js → chunk-KQD4ZVNC.js} +7 -7
  64. package/dist/bundle/{chunk-TF2WKPNW.js → chunk-KSNJK4QM.js} +15 -15
  65. package/dist/bundle/{chunk-KPIQXFNB.js → chunk-KUL7S5Y3.js} +16 -15
  66. package/dist/bundle/{chunk-JZ4XNNL7.js → chunk-L6YSKCC3.js} +1 -1
  67. package/dist/bundle/chunk-LQYMN36C.js +73 -0
  68. package/dist/bundle/{chunk-5MGICK47.js → chunk-LSVQCI6V.js} +26 -26
  69. package/dist/bundle/{chunk-CW46FWKW.js → chunk-LVDTSCIN.js} +14 -12
  70. package/dist/bundle/{chunk-RX5CJ55S.js → chunk-M4OP5ASJ.js} +1 -1
  71. package/dist/bundle/{chunk-FSCPQQS5.js → chunk-MAE5UGRQ.js} +150 -93
  72. package/dist/bundle/{chunk-4YIGXTBP.js → chunk-MG2CCAVG.js} +3 -3
  73. package/dist/bundle/{chunk-N4QNYWWG.js → chunk-MOKEB656.js} +2 -2
  74. package/dist/bundle/{chunk-RN5SU2RN.js → chunk-N3SOTKXC.js} +6 -6
  75. package/dist/bundle/{chunk-7SUWPMZG.js → chunk-NBA2V6LB.js} +8 -8
  76. package/dist/bundle/{chunk-LLUNHAZ7.js → chunk-OFA22L4G.js} +4 -4
  77. package/dist/bundle/{chunk-RJTGENHZ.js → chunk-OKOJEBHK.js} +4 -7
  78. package/dist/bundle/{chunk-LA6QUVGQ.js → chunk-OMLVWOEF.js} +6 -2
  79. package/dist/bundle/{chunk-5X4IY5JH.js → chunk-OU5OXA6Q.js} +531 -416
  80. package/dist/bundle/{chunk-DEPXZJ2V.js → chunk-P4FU6R3Z.js} +17 -13
  81. package/dist/bundle/{chunk-5AELTC52.js → chunk-PACLT6IW.js} +102 -99
  82. package/dist/bundle/{chunk-EFF2XBHP.js → chunk-PGPHEC2X.js} +2 -2
  83. package/dist/bundle/{chunk-NMZQTYKJ.js → chunk-PJ3FKBXG.js} +1 -1
  84. package/dist/bundle/{chunk-7IFO43Q5.js → chunk-PKON63JH.js} +2 -2
  85. package/dist/bundle/{chunk-23J2ANZ7.js → chunk-Q43KX56Z.js} +2 -2
  86. package/dist/bundle/{chunk-VIV64MQM.js → chunk-QS6DWXDB.js} +26 -17
  87. package/dist/bundle/{chunk-IXO4SCKE.js → chunk-QVJMFZFW.js} +1 -1
  88. package/dist/bundle/{chunk-U32VL3MA.js → chunk-QWGEOQHA.js} +3 -2
  89. package/dist/bundle/{chunk-QQUY4MZY.js → chunk-R5FTCNLJ.js} +1 -1
  90. package/dist/bundle/{chunk-IFBIXU6C.js → chunk-SO52EJ2W.js} +2 -2
  91. package/dist/bundle/{chunk-JFPUYQSP.js → chunk-SYIOT45G.js} +5 -5
  92. package/dist/bundle/{chunk-ADKMBXY4.js → chunk-TI2OANJZ.js} +1 -1
  93. package/dist/bundle/{chunk-IACWKZWS.js → chunk-UIKVP23D.js} +1 -1
  94. package/dist/bundle/{chunk-JAEPK457.js → chunk-USIMMGWS.js} +23 -23
  95. package/dist/bundle/{chunk-WZGKHTA4.js → chunk-UYBLNGZ2.js} +8 -2
  96. package/dist/bundle/{chunk-4SY67IUA.js → chunk-V5Q2QKYM.js} +26 -33
  97. package/dist/bundle/{chunk-WLVG4RBZ.js → chunk-VJVYGTPM.js} +15 -2
  98. package/dist/bundle/{chunk-IU4DUUB3.js → chunk-VPPNYUQM.js} +8 -8
  99. package/dist/bundle/{chunk-D5EUMWD5.js → chunk-X2FILY5F.js} +3 -3
  100. package/dist/bundle/{chunk-LTWJM3ED.js → chunk-XLY7V2LB.js} +17 -17
  101. package/dist/bundle/chunk-XWBPP2HX.js +2 -0
  102. package/dist/bundle/{chunk-ZVFYGTGJ.js → chunk-Y3IH7EZC.js} +17 -17
  103. package/dist/bundle/{chunk-7JYMGXLI.js → chunk-Z5XCU4S7.js} +45 -41
  104. package/dist/bundle/{chunk-I7CUMZD6.js → chunk-ZAIE3G5I.js} +3 -3
  105. package/dist/bundle/{chunk-ERJYJ36F.js → chunk-ZMHZ6CQS.js} +2 -2
  106. package/dist/bundle/{chunk-T27IMG6X.js → chunk-ZVQDOKDY.js} +1 -1
  107. package/dist/bundle/{chunk-DOCVEKP2.js → chunk-ZX4QWTMQ.js} +36 -32
  108. package/dist/bundle/{cli-IYYI7GAM.js → cli-4ZYJ6OZE.js} +109 -101
  109. package/dist/bundle/command-contract-FJDDCHYP.js +43 -0
  110. package/dist/bundle/{command-server-entry-FXX4LJWF.js → command-server-entry-CASONRIJ.js} +35 -33
  111. package/dist/bundle/config-4DZHX2WX.js +99 -0
  112. package/dist/bundle/{decode-SRGOOGBW.js → decode-KEFCVGEB.js} +6 -6
  113. package/dist/bundle/{dispatch-OUHRPFUL.js → dispatch-EU67WGME.js} +9 -9
  114. package/dist/bundle/{dist-UZLNLAIO.js → dist-GCQ7KCKN.js} +26 -22
  115. package/dist/bundle/{echarts-7CM2MCMW.js → echarts-SDZA2SWG.js} +2 -2
  116. package/dist/bundle/{embed-VEE56BOB.js → embed-43VJEPM6.js} +7 -7
  117. package/dist/bundle/{embedder-SZFYR543.js → embedder-Q4ZHAGRP.js} +10 -10
  118. package/dist/bundle/{failure-MZBNM7M5.js → failure-CTJLEB2R.js} +3 -3
  119. package/dist/bundle/first-run-CPOLQVNA.js +29 -0
  120. package/dist/bundle/first-screen-XYESRGWW.js +41 -0
  121. package/dist/bundle/folders-MSBTAPAG.js +24 -0
  122. package/dist/bundle/{instructions-R7OHVAWH.js → instructions-7T6JJIFS.js} +1 -1
  123. package/dist/bundle/{main-EFUN2O3K.js → main-NA3QVPXS.js} +39 -26
  124. package/dist/bundle/{mcp-7KQUJNFN.js → mcp-TDKGDB4V.js} +2 -2
  125. package/dist/bundle/{meetings-5I2BDNTA.js → meetings-7CVIQJTA.js} +9 -7
  126. package/dist/bundle/{node-3N2JGZ7V.js → node-BZDMUFTW.js} +2 -2
  127. package/dist/bundle/{node-P4E63KXA.js → node-KM3CUABH.js} +9 -9
  128. package/dist/bundle/{node-sqlite-2UVEE2WM.js → node-sqlite-QHGB23B4.js} +10 -10
  129. package/dist/bundle/{oauth-AYGD7UU3.js → oauth-BMEMCM2I.js} +8 -8
  130. package/dist/bundle/{open-3GUVDLGD.js → open-JGU2NRJP.js} +6 -6
  131. package/dist/bundle/openai-VTXXFNCS.js +28 -0
  132. package/dist/bundle/{output-file-72JFXVHQ.js → output-file-VDOCYH2G.js} +6 -6
  133. package/dist/bundle/{process-YAHHUFR5.js → process-756VBE7E.js} +1 -1
  134. package/dist/bundle/{program-OSZROCTK.js → program-XM6CDIJ2.js} +138 -139
  135. package/dist/bundle/{prompt-HMCW4XQJ.js → prompt-2IPFXJ4B.js} +6 -6
  136. package/dist/bundle/{recognize-VF5CA7EM.js → recognize-672E2RIB.js} +5 -5
  137. package/dist/bundle/{remote-5C6VTPR2.js → remote-YLHRVPDS.js} +11 -10
  138. package/dist/bundle/{rerank-ER7NEDOI.js → rerank-NBXQG3OS.js} +8 -8
  139. package/dist/bundle/run-log-3WITBT2F.js +126 -0
  140. package/dist/bundle/{serve-QJWXJOM7.js → serve-FNLOUMYP.js} +10 -10
  141. package/dist/bundle/{server-KCIK3Y2P.js → server-7ZB5AK5H.js} +54 -50
  142. package/dist/bundle/server-GGRGD4SH.js +77 -0
  143. package/dist/bundle/{services-LQMYJQG3.js → services-Z4UWN64R.js} +46 -44
  144. package/dist/bundle/{speech-74GJQNQH.js → speech-XSYVCKR3.js} +20 -20
  145. package/dist/bundle/sqlite-runtime-GAPXJNWU.js +20 -0
  146. package/dist/bundle/{state-4XDGCHDF.js → state-QSA53EF5.js} +7 -7
  147. package/dist/bundle/{store-5Y5HK2L2.js → store-EKI4OAJH.js} +20 -20
  148. package/dist/bundle/{store-Y56AHJ2Y.js → store-NOF5EYUC.js} +30 -28
  149. package/dist/bundle/store-connection-2OZQGEIO.js +92 -0
  150. package/dist/bundle/store-maintenance-command-GNX3SOZ6.js +67 -0
  151. package/dist/bundle/{streaming-E5CR6HSR.js → streaming-PQEXKTE5.js} +7 -7
  152. package/dist/bundle/tokens-WJQYQ3FK.js +24 -0
  153. package/dist/bundle/zm.js +9 -9
  154. package/dist/bundle/{zoom-app-NVL7HEAX.js → zoom-app-Y7RMWLVU.js} +9 -8
  155. package/dist/folders.d.ts +12 -2
  156. package/dist/folders.d.ts.map +1 -1
  157. package/dist/folders.js +81 -3
  158. package/dist/folders.js.map +1 -1
  159. package/dist/identity.d.ts +5 -0
  160. package/dist/identity.d.ts.map +1 -1
  161. package/dist/identity.js +14 -0
  162. package/dist/identity.js.map +1 -1
  163. package/dist/recording-schedule-setup.d.ts.map +1 -1
  164. package/dist/recording-schedule-setup.js +4 -7
  165. package/dist/recording-schedule-setup.js.map +1 -1
  166. package/dist/remote-http.d.ts +1 -1
  167. package/dist/remote-http.d.ts.map +1 -1
  168. package/dist/remote-http.js +21 -23
  169. package/dist/remote-http.js.map +1 -1
  170. package/dist/setup-commands.d.ts.map +1 -1
  171. package/dist/setup-commands.js +2 -4
  172. package/dist/setup-commands.js.map +1 -1
  173. package/dist/tokens.d.ts +17 -2
  174. package/dist/tokens.d.ts.map +1 -1
  175. package/dist/tokens.js +109 -29
  176. package/dist/tokens.js.map +1 -1
  177. package/dist/version.d.ts +1 -1
  178. package/dist/version.js +1 -1
  179. package/dist/wcat.d.ts +3 -0
  180. package/dist/wcat.d.ts.map +1 -0
  181. package/dist/wcat.js +4 -0
  182. package/dist/wcat.js.map +1 -0
  183. package/package.json +15 -14
  184. package/dist/bundle/answer-policy-AT6CDEE5.js +0 -110
  185. package/dist/bundle/chunk-EG25AY4L.js +0 -17
  186. package/dist/bundle/chunk-K6HR6HCO.js +0 -32
  187. package/dist/bundle/command-contract-TX7NSUBM.js +0 -42
  188. package/dist/bundle/config-YKNM33J7.js +0 -96
  189. package/dist/bundle/first-run-KWC7RKF2.js +0 -29
  190. package/dist/bundle/first-screen-DWKMNSEI.js +0 -40
  191. package/dist/bundle/folders-UQXRSDJJ.js +0 -16
  192. package/dist/bundle/openai-NHCDLWWY.js +0 -28
  193. package/dist/bundle/run-log-JKTLKXSK.js +0 -124
  194. package/dist/bundle/server-LLGFDLLJ.js +0 -75
  195. package/dist/bundle/store-connection-4WI32AYU.js +0 -89
  196. package/dist/bundle/store-maintenance-command-PCXO5AH4.js +0 -65
  197. package/dist/bundle/tokens-E2QNVC4F.js +0 -20
  198. /package/dist/bundle/{chunk-YVNHQFLC.js → chunk-7O7XM37N.js} +0 -0
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  AUDIT_MIN_SCORE,
5
5
  throughWrapper
6
- } from "./chunk-5X4IY5JH.js";
6
+ } from "./chunk-OU5OXA6Q.js";
7
7
  import {
8
8
  Command,
9
9
  InvalidArgumentError,
@@ -17,13 +17,13 @@ import {
17
17
  renderAnswer,
18
18
  sharedCommand,
19
19
  snakeKeys
20
- } from "./chunk-7OD3522V.js";
20
+ } from "./chunk-FJMRDRPN.js";
21
21
  import {
22
22
  readOnlyLockOf
23
- } from "./chunk-N4QNYWWG.js";
23
+ } from "./chunk-MOKEB656.js";
24
24
  import {
25
25
  formatReference
26
- } from "./chunk-VIV64MQM.js";
26
+ } from "./chunk-QS6DWXDB.js";
27
27
  import {
28
28
  EVENT_QUERY,
29
29
  MEETING_PROJECT_EVIDENCE_QUERY,
@@ -46,7 +46,7 @@ import {
46
46
  readMeetingProjectEvidence,
47
47
  validateMeetingHitSearch,
48
48
  validateMeetingPassage
49
- } from "./chunk-RLCVPECY.js";
49
+ } from "./chunk-IKNOTHG2.js";
50
50
  import {
51
51
  OPERATORS_BY_TYPE,
52
52
  QUERY_LIMITS,
@@ -61,7 +61,7 @@ import {
61
61
  timezoneOf,
62
62
  validateQuery,
63
63
  zonedMoment
64
- } from "./chunk-63QXCE5Z.js";
64
+ } from "./chunk-3HTJBGNP.js";
65
65
  import {
66
66
  array,
67
67
  boolean,
@@ -74,15 +74,15 @@ import {
74
74
  safeParse,
75
75
  strictObject,
76
76
  string
77
- } from "./chunk-UVZLK3M4.js";
77
+ } from "./chunk-4RJL32PF.js";
78
78
  import {
79
79
  CliError
80
- } from "./chunk-ELJUBPY4.js";
80
+ } from "./chunk-EA2OB75T.js";
81
81
  import {
82
82
  __name
83
83
  } from "./chunk-ZVVMGPBJ.js";
84
84
 
85
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
85
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
86
86
  var COMMAND_NEEDS = {
87
87
  "account update": ["updateProfile", "change the profile"],
88
88
  "account sessions list": ["sessions", "list the account's sessions"],
@@ -132,7 +132,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
132
132
  return group;
133
133
  }, "hideNever");
134
134
 
135
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
135
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
136
136
  var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
137
137
  var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
138
138
  const zone = timezoneOf();
@@ -218,7 +218,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
218
218
  var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
219
219
  var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
220
220
 
221
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
221
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
222
222
  var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
223
223
  command.allowUnknownOption();
224
224
  const parse = command.parseOptions.bind(command);
@@ -238,7 +238,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
238
238
  return command;
239
239
  }, "queryWordsAfterOptions");
240
240
 
241
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
241
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
242
242
  var count = /* @__PURE__ */ __name((value) => {
243
243
  if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
244
244
  throw new CliError("validation_error", "expected a nonnegative safe integer");
@@ -280,7 +280,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
280
280
  var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
281
281
  var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
282
282
 
283
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
283
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
284
284
  var integer2 = /* @__PURE__ */ __name((value) => {
285
285
  if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
286
286
  throw new CliError("validation_error", "expected a positive safe integer");
@@ -303,7 +303,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
303
303
  }, "addMeetingProjectEvidenceCommandDefinition");
304
304
  var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
305
305
 
306
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
306
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
307
307
  var integer3 = /* @__PURE__ */ __name((text) => {
308
308
  if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
309
309
  throw new InvalidArgumentError("expected a positive integer");
@@ -452,7 +452,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
452
452
  }, "addMeetingCommandsDefinition");
453
453
  var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
454
454
 
455
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/list-query.js
455
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/list-query.js
456
456
  var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
457
457
  var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
458
458
  var withQuery = /* @__PURE__ */ __name((command, registry) => {
@@ -594,7 +594,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
594
594
  var queryHelp = /* @__PURE__ */ __name((registry) => `
595
595
  ${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
596
596
 
597
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/paging.js
597
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/paging.js
598
598
  var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
599
599
  if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
600
600
  throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
@@ -603,7 +603,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
603
603
  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");
604
604
  var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
605
605
 
606
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
606
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
607
607
  var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
608
608
  var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
609
609
  var settingsOf = /* @__PURE__ */ __name((settings) => defined({
@@ -865,7 +865,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
865
865
  ...createdAt === void 0 ? {} : { created_at: createdAt }
866
866
  }), "sessionAnswer");
867
867
 
868
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/background/relay.js
868
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/background/relay.js
869
869
  import { createHash } from "node:crypto";
870
870
  import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
871
871
  import { createConnection, createServer } from "node:net";
@@ -1086,7 +1086,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
1086
1086
  }, () => finish({ error: stopped() }));
1087
1087
  }), "relayCommand");
1088
1088
 
1089
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
1089
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
1090
1090
  var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
1091
1091
  close: /* @__PURE__ */ __name(async () => {
1092
1092
  }, "close"),
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  QUERY_REASONS
5
- } from "./chunk-63QXCE5Z.js";
5
+ } from "./chunk-3HTJBGNP.js";
6
6
  import {
7
7
  defineReasons
8
- } from "./chunk-UVZLK3M4.js";
8
+ } from "./chunk-4RJL32PF.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/errors/reasons.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/errors/reasons.js
14
14
  var validation = /* @__PURE__ */ __name((reason, message) => [reason, "validation_error", message], "validation");
15
15
  var QUERY = [
16
16
  ["query.aborted", "the search was stopped before it finished"],
@@ -31,8 +31,7 @@ var SIGN_IN = [
31
31
  ["oauth.declined", "authentication_error", "the provider's consent was declined"],
32
32
  ["oauth.timeout", "timeout", "the sign-in was not finished in time"],
33
33
  ["oauth.mismatch", "authentication_error", "the pasted sign-in result belongs to another sign-in"],
34
- ["oauth.missing", "authentication_error", "this profile is not signed in to the provider"],
35
- ["session.missing", "authentication_error", "this profile has no API token saved"],
34
+ ["session.missing", "authentication_error", "this profile is not signed in: no saved sign-in or API token"],
36
35
  ["oauth.locked", "provider_unavailable", "another process holds this sign-in's lock"],
37
36
  ["oauth.no-response", "outcome_unknown", "the token request did not finish"],
38
37
  ["oauth.unavailable", "provider_unavailable", "the provider's token endpoint is unavailable"],
@@ -49,6 +48,7 @@ var SIGN_IN = [
49
48
  ["sign-in.secret-without-id", "configuration_error", "an OAuth client secret is set without its client id"],
50
49
  validation("account-remove.no-choice", "account remove needs --keep-data or --delete-data, one of them"),
51
50
  ["account-remove.unknown-profile", "not_found", "no profile by this name on this computer"],
51
+ ["profile.unknown", "not_found", "no profile by this name on this computer; details.profiles lists the ones here"],
52
52
  ["account-remove.busy", "conflict", "a serve or a sync runs for this profile; stop it first"],
53
53
  ["account-remove.unconfirmed", "confirmation_required", "removing an account asks first; add --yes"],
54
54
  ["account-remove.path-outside", "configuration_error", "the tool named a path outside its own folders"],
@@ -67,7 +67,20 @@ var PROVIDER_API = [
67
67
  validation("file.not-a-file", "the path names a folder or another thing that is not a file"),
68
68
  ["file.denied", "permission_error", "the file cannot be opened: permission denied"]
69
69
  ];
70
+ var SFTP = [
71
+ ["sftp.host-key-missing", "configuration_error", "no host key is pinned for the SFTP server"],
72
+ ["sftp.host-key-mismatch", "authentication_error", "the SFTP server's host key is not the pinned one"],
73
+ ["sftp.auth-missing", "configuration_error", "an SFTP connection needs a password or a private key"],
74
+ ["sftp.key-invalid", "configuration_error", "the SFTP private key or its passphrase cannot be read"],
75
+ ["sftp.library-missing", "configuration_error", "SFTP needs the ssh2 package in the CLI's dependencies"],
76
+ ["sftp.timeout", "timeout", "the SFTP server did not answer in time"],
77
+ validation("sftp.too-large", "the file is larger than the read's byte limit"),
78
+ validation("sftp.closed", "the SFTP connection was closed before the operation")
79
+ ];
70
80
  var OTHERS = [
81
+ validation("doctor.report-exists", "the report's file exists; a problem report never overwrites a file"),
82
+ validation("usage.unknown-command", "no command by this name; the CLI's help lists them"),
83
+ validation("usage.unknown-option", "the command takes no option by this name; its help lists them"),
71
84
  ["query.time-limit", "timeout", "the search took longer than its time limit; the query itself is valid"],
72
85
  ["enrichment.owner-only", "permission_error", "only the owner turns enrichment on, not an agent"],
73
86
  ["search-harder.owner-only", "permission_error", "only the owner allows search all --harder, not an agent"],
@@ -79,7 +92,12 @@ var OTHERS = [
79
92
  "invalid_response",
80
93
  "the model answered nothing; given a picture, it may not read pictures \u2014 choose a vision model"
81
94
  ],
82
- validation("model.address-refused", "the model address must be https, or http only on this computer"),
95
+ validation("model.address-refused", "the model address is refused: https, or plain http and Ollama only on this computer"),
96
+ [
97
+ "network.host-undeclared",
98
+ "configuration_error",
99
+ "the request went to a host the CLI does not declare, or not the model address's own; nothing was sent"
100
+ ],
83
101
  [
84
102
  "local-only.refused",
85
103
  "permission_error",
@@ -101,7 +119,6 @@ var OTHERS = [
101
119
  "only the owner chooses, unsets, checks or removes the AI model and its key, or revokes its consent"
102
120
  ],
103
121
  ["ai.setting-invalid", "configuration_error", "the ai section or the model given is not one WireCat can use"],
104
- validation("ai.address-refused", "the AI model setting names an address WireCat refuses: plain http to another computer, or Ollama off this computer"),
105
122
  ["ai.not-set", "configuration_error", "no AI model is chosen; models ai set chooses one"],
106
123
  ["ai.key-missing", "configuration_error", "no API key is stored for the AI model's address"],
107
124
  ["ai.ok", "invalid_response", "models ai check: the model answered (a result, never raised)"],
@@ -258,6 +275,7 @@ var OTHERS = [
258
275
  "another program deleted or replaced the store's journal file while it was open; store recover says what to do"
259
276
  ],
260
277
  validation("store.file-damaged", "the named store file is damaged or not a database"),
278
+ ["store.unopenable", "configuration_error", "the store file cannot be opened at its path; details.path names it"],
261
279
  [
262
280
  "store.unreadable",
263
281
  "configuration_error",
@@ -293,7 +311,7 @@ var OTHERS = [
293
311
  validation("input.empty", "a hidden prompt got an empty answer three times"),
294
312
  validation("input.required", "the command needs an answer and cannot ask for one"),
295
313
  validation("input.too-large", "the input is over its size limit"),
296
- ["meeting-project.stale", "configuration_error", "the meeting's project changed meanwhile"],
314
+ ["meeting-project.stale", "conflict", "the meeting's project changed meanwhile"],
297
315
  validation("fact.not-accepted", "only an accepted fact can be revoked"),
298
316
  validation("fact.owner-written", "the owner wrote this fact; it was never proposed, so it cannot be revoked"),
299
317
  validation("fact.payment-retired", "a payment is a payments row in store.finance, not a fact"),
@@ -383,6 +401,7 @@ var OTHERS = [
383
401
  validation("crm.reference-unknown", "a CRM row names a contact, company or user the store does not hold; that link was not made"),
384
402
  validation("crm.pending-dropped", "relationships waited too long for an end that never came; they were dropped"),
385
403
  validation("crm.activities-failed", "the activities and tasks could not be read; the deals and leads were synced"),
404
+ validation("crm.stage-history-failed", "the CRM's stage history could not be read; stage tasks wait for the next sync"),
386
405
  validation("crm.email-ambiguous", "a CRM contact's email belongs to more than one person; the owner decides"),
387
406
  validation("crm.own-unknown", "no own company of the CRM account is stored, so its users are no one's employees yet"),
388
407
  validation("relationship.reference-unknown", "a reported relationship names something the store does not hold"),
@@ -578,7 +597,7 @@ var INPUT_FIELD_REASONS = defineReasons([
578
597
  var REASONS = defineReasons([
579
598
  ...QUERY_REASONS,
580
599
  ...INPUT_FIELD_REASONS,
581
- ...[...QUERY, ...SIGN_IN, ...PROVIDER_API, ...OTHERS].map(([reason, code, message]) => ({
600
+ ...[...QUERY, ...SIGN_IN, ...PROVIDER_API, ...SFTP, ...OTHERS].map(([reason, code, message]) => ({
582
601
  reason,
583
602
  code,
584
603
  message,
@@ -0,0 +1,84 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ isMovedRun,
5
+ resolvePaths
6
+ } from "./chunk-HNWDEDMU.js";
7
+ import {
8
+ __name
9
+ } from "./chunk-ZVVMGPBJ.js";
10
+
11
+ // dist/folders.js
12
+ import { existsSync, lstatSync, mkdirSync, readdirSync, renameSync, rmdirSync, symlinkSync } from "node:fs";
13
+ import { join, resolve } from "node:path";
14
+ var APP = "zoom-cli";
15
+ var PREFIX = "ZM";
16
+ var KINDS = ["config", "state", "cache"];
17
+ var overrideOf = /* @__PURE__ */ __name((kind) => `${PREFIX}_${kind.toUpperCase()}_DIR`, "overrideOf");
18
+ var withoutOverrides = /* @__PURE__ */ __name((env) => Object.fromEntries(Object.entries(env).filter(([name]) => !KINDS.some((kind) => overrideOf(kind) === name))), "withoutOverrides");
19
+ var legacyPaths = /* @__PURE__ */ __name(({ env = process.env, platform } = {}) => resolvePaths({ appName: "zm", prefix: PREFIX, env: withoutOverrides(env), ...platform ? { platform } : {} }), "legacyPaths");
20
+ var ownEnv = /* @__PURE__ */ __name(({ env = process.env, platform } = {}) => {
21
+ const base = withoutOverrides(env);
22
+ const current = resolvePaths({ appName: APP, prefix: PREFIX, env: base, ...platform ? { platform } : {} });
23
+ const legacy = legacyPaths({ env, ...platform ? { platform } : {} });
24
+ const kept = { ...env };
25
+ for (const kind of KINDS) {
26
+ const value = env[overrideOf(kind)];
27
+ if (value !== void 0 && [current[kind], legacy[kind]].includes(resolve(value)))
28
+ delete kept[overrideOf(kind)];
29
+ }
30
+ return kept;
31
+ }, "ownEnv");
32
+ var dropOwnFolderOverrides = /* @__PURE__ */ __name((env = process.env) => {
33
+ const own = ownEnv({ env });
34
+ for (const kind of KINDS)
35
+ if (own[overrideOf(kind)] === void 0)
36
+ delete env[overrideOf(kind)];
37
+ }, "dropOwnFolderOverrides");
38
+ var zmPaths = /* @__PURE__ */ __name((options = {}) => resolvePaths({ appName: APP, prefix: PREFIX, ...options, env: ownEnv(options) }), "zmPaths");
39
+ var isMovedZmRun = /* @__PURE__ */ __name((options = {}) => isMovedRun({ appName: APP, prefix: PREFIX, ...options, env: ownEnv(options) }), "isMovedZmRun");
40
+ var legacyLoginService = /* @__PURE__ */ __name((options = {}) => `${APP}:${resolvePaths({ appName: "zm", prefix: PREFIX, ...options }).config}`, "legacyLoginService");
41
+ var sameConfigFolder = /* @__PURE__ */ __name((current, saved, options = {}) => resolve(current) === resolve(saved) || resolve(saved) === legacyPaths(options).config && resolve(current) === zmPaths(options).config, "sameConfigFolder");
42
+ var isFolder = /* @__PURE__ */ __name((path) => {
43
+ try {
44
+ return lstatSync(path).isDirectory();
45
+ } catch {
46
+ return false;
47
+ }
48
+ }, "isFolder");
49
+ var moveLegacyFolders = /* @__PURE__ */ __name((options = {}) => {
50
+ const env = ownEnv(options);
51
+ const current = zmPaths(options);
52
+ const legacy = legacyPaths(options);
53
+ for (const kind of KINDS) {
54
+ if (env[overrideOf(kind)] !== void 0 || current[kind] === legacy[kind] || !isFolder(legacy[kind]))
55
+ continue;
56
+ const attempt = /* @__PURE__ */ __name((step) => {
57
+ try {
58
+ step();
59
+ } catch {
60
+ }
61
+ }, "attempt");
62
+ attempt(() => mkdirSync(current[kind], { recursive: true, mode: 448 }));
63
+ let names = [];
64
+ attempt(() => {
65
+ names = readdirSync(legacy[kind]);
66
+ });
67
+ for (const name of names)
68
+ if (!existsSync(join(current[kind], name)))
69
+ attempt(() => renameSync(join(legacy[kind], name), join(current[kind], name)));
70
+ attempt(() => {
71
+ rmdirSync(legacy[kind]);
72
+ symlinkSync(current[kind], legacy[kind], "junction");
73
+ });
74
+ }
75
+ }, "moveLegacyFolders");
76
+
77
+ export {
78
+ dropOwnFolderOverrides,
79
+ zmPaths,
80
+ isMovedZmRun,
81
+ legacyLoginService,
82
+ sameConfigFolder,
83
+ moveLegacyFolders
84
+ };
@@ -0,0 +1,13 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ __name
5
+ } from "./chunk-ZVVMGPBJ.js";
6
+
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
8
+ var COMMAND_SERVER_ARGV = ["commands", "--serve"];
9
+ var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
10
+
11
+ export {
12
+ isCommandServer
13
+ };
@@ -9,15 +9,15 @@ import {
9
9
  optional,
10
10
  pipe,
11
11
  safeParse
12
- } from "./chunk-UVZLK3M4.js";
12
+ } from "./chunk-4RJL32PF.js";
13
13
  import {
14
14
  CliError
15
- } from "./chunk-ELJUBPY4.js";
15
+ } from "./chunk-EA2OB75T.js";
16
16
  import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/models/options.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/models/options.js
21
21
  var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
22
22
  const parsed = safeParse(schema, options);
23
23
  if (!parsed.success) {
@@ -27,7 +27,7 @@ var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
27
27
  }, "checkedOptions");
28
28
  var range = /* @__PURE__ */ __name((min, max) => optional(pipe(number(), finite(), minValue(min), maxValue(max))), "range");
29
29
 
30
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/models/types.js
30
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/models/types.js
31
31
  var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
32
32
  var validateImages = /* @__PURE__ */ __name((images) => {
33
33
  if (images === void 0)
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  alive
5
- } from "./chunk-IACWKZWS.js";
5
+ } from "./chunk-UIKVP23D.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-S7SXSHRC.js";
9
+ } from "./chunk-HNWDEDMU.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/background/lock.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/background/lock.js
15
15
  import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
16
16
  import { dirname, join } from "node:path";
17
17
  var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
@@ -19,16 +19,16 @@ import {
19
19
  reference,
20
20
  string,
21
21
  variant
22
- } from "./chunk-UVZLK3M4.js";
22
+ } from "./chunk-4RJL32PF.js";
23
23
  import {
24
24
  CliError,
25
25
  isCliError
26
- } from "./chunk-ELJUBPY4.js";
26
+ } from "./chunk-EA2OB75T.js";
27
27
  import {
28
28
  __name
29
29
  } from "./chunk-ZVVMGPBJ.js";
30
30
 
31
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
31
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
32
32
  var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
33
33
  var OPERATORS_BY_TYPE = {
34
34
  kw: ["term", "phrase", "wildcard"],
@@ -107,7 +107,7 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
107
107
  return [...own, ...relations, ...states];
108
108
  }, "queryFieldsOf");
109
109
 
110
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
110
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
111
111
  var QUERY_LIMITS = {
112
112
  bytes: 8192,
113
113
  depth: 32,
@@ -151,7 +151,7 @@ function queryError(reason, span, alternative, context = {}, details = {}) {
151
151
  __name(queryError, "queryError");
152
152
  var walkQuery = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? [node] : node.clauses.flatMap(({ node: node2 }) => walkQuery(node2)), "walkQuery");
153
153
 
154
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
154
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
155
155
  var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
156
156
  var reserved = /* @__PURE__ */ new Set([
157
157
  "+",
@@ -460,7 +460,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text) => {
460
460
  return new Set(tokens.flatMap((token, index) => (token.kind === "term" || token.kind === "number") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index - 1]?.kind ?? "") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index + 1]?.kind ?? "") ? [token.span.start] : []));
461
461
  }, "implicitTextTerms");
462
462
 
463
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
463
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
464
464
  var timezoneOf = /* @__PURE__ */ __name((given) => {
465
465
  const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
466
466
  try {
@@ -605,7 +605,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
605
605
  };
606
606
  }, "dateRange");
607
607
 
608
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
608
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
609
609
  var inContext = /* @__PURE__ */ __name((context, run) => {
610
610
  try {
611
611
  run();
@@ -680,7 +680,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
680
680
  }, "validateQuery");
681
681
  var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
682
682
 
683
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
683
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
684
684
  var describeQuery = /* @__PURE__ */ __name((registry) => ({
685
685
  entity: registry.entity,
686
686
  backend: registry.backend,
@@ -751,7 +751,7 @@ var QUERY_REASONS = defineReasons([
751
751
  details: [...SPAN, ...details]
752
752
  })));
753
753
 
754
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/help.js
754
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/help.js
755
755
  var shownOf = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "shownOf");
756
756
  var leftOut = /* @__PURE__ */ __name((fields) => fields.filter((field) => field.negatable).map((field) => field.name), "leftOut");
757
757
  var has = /* @__PURE__ */ __name((fields, operator) => fields.some((field) => field.operators.includes(operator)), "has");
@@ -788,7 +788,7 @@ var queryDescription = /* @__PURE__ */ __name((registry) => {
788
788
  return `${terms}; fields: ${fields.join(", ")}; e.g. ${shown[0]?.example ?? ""}${defaults}`;
789
789
  }, "queryDescription");
790
790
 
791
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/evaluate.js
791
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/evaluate.js
792
792
  var wordsOf = /* @__PURE__ */ __name((text) => text.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
793
793
  var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
794
794
  var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
@@ -3,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  decodeOgg
6
- } from "./chunk-OP5PGE2N.js";
6
+ } from "./chunk-DYLYH7VE.js";
7
7
  import {
8
8
  importFrom
9
9
  } from "./chunk-Y5E2WNWB.js";
10
10
  import {
11
11
  CliError
12
- } from "./chunk-ELJUBPY4.js";
12
+ } from "./chunk-EA2OB75T.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/speech/decode.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/speech/decode.js
18
18
  import { spawn } from "node:child_process";
19
19
  import { mkdtemp, rm, writeFile } from "node:fs/promises";
20
20
  import { createRequire } from "node:module";
@@ -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-3KRTEX5M.js";
5
+ } from "./chunk-ERQRY6WZ.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-ELJUBPY4.js";
8
+ } from "./chunk-EA2OB75T.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/speech/models.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/speech/install.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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";