@wirecat/zoom-cli 0.67.0 → 0.68.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/dist/answer-entities.d.ts +18 -0
  2. package/dist/answer-entities.d.ts.map +1 -1
  3. package/dist/answer-entities.js +12 -0
  4. package/dist/answer-entities.js.map +1 -1
  5. package/dist/answer-policy.d.ts.map +1 -1
  6. package/dist/answer-policy.js +2 -1
  7. package/dist/answer-policy.js.map +1 -1
  8. package/dist/bin/zm.js +2 -2
  9. package/dist/bundle/{all-profiles-SEW2VL76.js → all-profiles-R66UM3HM.js} +12 -12
  10. package/dist/bundle/answer-policy-UCGUO53A.js +104 -0
  11. package/dist/bundle/{anthropic-FSNASJML.js → anthropic-4ZI2BPLG.js} +7 -7
  12. package/dist/bundle/{app-server-EVSRYJ3H.js → app-server-64O5IQI5.js} +61 -58
  13. package/dist/bundle/{bun-DACL5SVO.js → bun-HUHQD76Z.js} +2 -2
  14. package/dist/bundle/{bun-sqlite-HQ2KOXSI.js → bun-sqlite-VOVHPTIF.js} +6 -6
  15. package/dist/bundle/{chunk-SMVO5R3T.js → chunk-2OSBCYJT.js} +39 -26
  16. package/dist/bundle/{chunk-TBRG2DPE.js → chunk-2T6XHWDX.js} +2 -2
  17. package/dist/bundle/{chunk-6AJDVJVZ.js → chunk-32FPA7P2.js} +2 -2
  18. package/dist/bundle/{chunk-7LLUUXJB.js → chunk-355PHJYX.js} +1 -1
  19. package/dist/bundle/{chunk-3GO3KME7.js → chunk-3BRV2YU2.js} +3 -3
  20. package/dist/bundle/{chunk-I7SOXH64.js → chunk-474WF55M.js} +53 -39
  21. package/dist/bundle/{chunk-L643D4RJ.js → chunk-4TLPOY22.js} +12 -12
  22. package/dist/bundle/{chunk-D6OXI2NV.js → chunk-4YFJYSSK.js} +205 -59
  23. package/dist/bundle/chunk-5JAYUG3X.js +261 -0
  24. package/dist/bundle/{chunk-VNIBTNV4.js → chunk-65T3PU75.js} +2 -2
  25. package/dist/bundle/{chunk-6TZF2JP7.js → chunk-6CJ7NHIP.js} +13 -13
  26. package/dist/bundle/{chunk-MWEOVTIF.js → chunk-6T3P226D.js} +4 -4
  27. package/dist/bundle/{chunk-EPDRF66S.js → chunk-6TJ62LZQ.js} +22 -14
  28. package/dist/bundle/{chunk-ZRMZBMOF.js → chunk-6XO7RTJY.js} +66 -6
  29. package/dist/bundle/{chunk-VFIEYRYD.js → chunk-77I67HWF.js} +8 -8
  30. package/dist/bundle/{chunk-QX2MAT6I.js → chunk-77KFLU5F.js} +3 -3
  31. package/dist/bundle/{chunk-4GCKDO2H.js → chunk-7AUP2WT3.js} +3 -3
  32. package/dist/bundle/{chunk-7VU5UGRR.js → chunk-7DUYFITC.js} +16 -16
  33. package/dist/bundle/{chunk-ASCHAVNW.js → chunk-7QNJICKZ.js} +27 -27
  34. package/dist/bundle/{chunk-KWRSC6O6.js → chunk-A63ZFOQJ.js} +18 -4
  35. package/dist/bundle/{chunk-SSXCOUP3.js → chunk-AJ7CMUGD.js} +464 -220
  36. package/dist/bundle/{chunk-SCFFCIIP.js → chunk-AVEIQMHZ.js} +2 -2
  37. package/dist/bundle/chunk-AYEVBAGO.js +178 -0
  38. package/dist/bundle/{chunk-AAZFLJSH.js → chunk-B6JMVB6R.js} +10 -10
  39. package/dist/bundle/{chunk-CRLBTNC4.js → chunk-BL36NSV5.js} +3 -3
  40. package/dist/bundle/{chunk-4UVT2QCO.js → chunk-BOAMDYLY.js} +4 -4
  41. package/dist/bundle/chunk-BSM43OMN.js +31 -0
  42. package/dist/bundle/{chunk-QEI55M2F.js → chunk-DGNPJGD3.js} +16 -10
  43. package/dist/bundle/{chunk-SOZVC3SV.js → chunk-DVA6MQWK.js} +1 -1
  44. package/dist/bundle/{chunk-YRNZT4GQ.js → chunk-DWSUSWAX.js} +98 -13
  45. package/dist/bundle/{chunk-LFQ73UFK.js → chunk-EH5QGQFR.js} +3 -3
  46. package/dist/bundle/{chunk-OZEYFJX2.js → chunk-EJDV5IIF.js} +1 -1
  47. package/dist/bundle/{chunk-VQTAU4DV.js → chunk-EWIBLDQQ.js} +8 -8
  48. package/dist/bundle/{chunk-4ZR5DJ26.js → chunk-EZRPSZJS.js} +3 -3
  49. package/dist/bundle/{chunk-KIJLM5UL.js → chunk-FBLUKCIR.js} +1 -1
  50. package/dist/bundle/{chunk-WZ5XK74U.js → chunk-FEM2JQN2.js} +1 -1
  51. package/dist/bundle/{chunk-GP4NSYDU.js → chunk-FMQS7HCC.js} +12 -12
  52. package/dist/bundle/{chunk-B5Z4XPVS.js → chunk-FNQASORM.js} +2 -2
  53. package/dist/bundle/{chunk-FWU3ZYHE.js → chunk-GOXDBCDM.js} +728 -130
  54. package/dist/bundle/{chunk-CLEZE65P.js → chunk-HXOAPH47.js} +1 -1
  55. package/dist/bundle/{chunk-7K5TDTZY.js → chunk-JO4YADNV.js} +7 -7
  56. package/dist/bundle/{chunk-4U2555EQ.js → chunk-JRCYFCPL.js} +30 -28
  57. package/dist/bundle/{chunk-L6CAUVMU.js → chunk-K67V24AT.js} +5 -5
  58. package/dist/bundle/{chunk-B3KWAULD.js → chunk-KAPJQGHE.js} +2 -2
  59. package/dist/bundle/{chunk-T6CZWSHF.js → chunk-KNE6VFHZ.js} +21 -21
  60. package/dist/bundle/{chunk-LM26DJOK.js → chunk-KUB2U5NT.js} +6 -6
  61. package/dist/bundle/{chunk-EUPZSR2G.js → chunk-L4WVLRXM.js} +4 -4
  62. package/dist/bundle/{chunk-BKY4XVB4.js → chunk-LBOSTBAY.js} +1248 -617
  63. package/dist/bundle/{chunk-C6UKW7JO.js → chunk-LV7QRR5S.js} +6 -6
  64. package/dist/bundle/{chunk-FGTPREAZ.js → chunk-LYWUG43B.js} +33 -33
  65. package/dist/bundle/{chunk-NTZDM5SJ.js → chunk-NRRI37NJ.js} +9 -9
  66. package/dist/bundle/{chunk-J3ZBEWQY.js → chunk-NUJMJQXV.js} +54 -147
  67. package/dist/bundle/{chunk-6IBM4Z3V.js → chunk-OE7EIP5L.js} +1 -1
  68. package/dist/bundle/{chunk-ZMPTO2WB.js → chunk-P2TISY3R.js} +1 -1
  69. package/dist/bundle/{chunk-KV4267S4.js → chunk-P3ASN72F.js} +1 -1
  70. package/dist/bundle/{chunk-V33VGWT3.js → chunk-PIHBD3YS.js} +16 -6
  71. package/dist/bundle/{chunk-RYKG6AEH.js → chunk-PUTGTW6W.js} +4 -2
  72. package/dist/bundle/{chunk-L6WUAGPN.js → chunk-QXTREL2M.js} +3 -3
  73. package/dist/bundle/{chunk-X67YD3QI.js → chunk-R7LFGEDE.js} +2 -2
  74. package/dist/bundle/{chunk-2UW533HQ.js → chunk-RGJ7OWHU.js} +4 -4
  75. package/dist/bundle/{chunk-LKJXTACE.js → chunk-RP3U3J53.js} +7 -7
  76. package/dist/bundle/{chunk-DG4DWAU7.js → chunk-RRYUD2EF.js} +3 -3
  77. package/dist/bundle/{chunk-Q65SDEFN.js → chunk-SRP6SFFD.js} +2 -2
  78. package/dist/bundle/{chunk-4KDZ22RA.js → chunk-SSPSNSC5.js} +1 -1
  79. package/dist/bundle/{chunk-DFUPETW7.js → chunk-TDGZMC6K.js} +130 -75
  80. package/dist/bundle/{chunk-EQ7XRRKV.js → chunk-TN3FH2GQ.js} +11 -11
  81. package/dist/bundle/chunk-TUNQ6NE2.js +64 -0
  82. package/dist/bundle/{chunk-FXQPK742.js → chunk-TZUKDM72.js} +29 -15
  83. package/dist/bundle/{chunk-IFDO3YPJ.js → chunk-UDJTRFRV.js} +1 -1
  84. package/dist/bundle/{chunk-ESFMHBHH.js → chunk-US5C3WAY.js} +60 -51
  85. package/dist/bundle/{chunk-KANH7GBB.js → chunk-UU5PLDRA.js} +2 -2
  86. package/dist/bundle/{chunk-OTMGAKUM.js → chunk-VLD7Y4SY.js} +7 -7
  87. package/dist/bundle/{chunk-YPF6OS37.js → chunk-VW6BF6M7.js} +1 -1
  88. package/dist/bundle/{chunk-JVCHGI7W.js → chunk-W42BJ65M.js} +1 -1
  89. package/dist/bundle/{chunk-RAMPYIO2.js → chunk-Y5LP5SHV.js} +11 -11
  90. package/dist/bundle/{chunk-WHQ4ZCJI.js → chunk-YJY3W2ZT.js} +210 -85
  91. package/dist/bundle/{chunk-3ZIHUSMM.js → chunk-YOAEZSDG.js} +2 -2
  92. package/dist/bundle/{chunk-M43MBWJX.js → chunk-YQRNFG2E.js} +13471 -1289
  93. package/dist/bundle/{chunk-7HAIM7GV.js → chunk-YTF2WPV4.js} +601 -443
  94. package/dist/bundle/{chunk-6UFWFKFH.js → chunk-ZRD3NDOX.js} +2 -2
  95. package/dist/bundle/{cli-YUATSOLA.js → cli-VQJ7ZRYR.js} +89 -61
  96. package/dist/bundle/command-contract-JPUWWYIV.js +41 -0
  97. package/dist/bundle/config-YGLLR77A.js +90 -0
  98. package/dist/bundle/{decode-IL44LNC3.js → decode-L3ENO2XH.js} +6 -6
  99. package/dist/bundle/{dispatch-3BGIXSJR.js → dispatch-5MGDLOK4.js} +9 -9
  100. package/dist/bundle/{dist-3W27UQ2S.js → dist-WQLS7U23.js} +47 -27
  101. package/dist/bundle/{echarts-CO4D26JF.js → echarts-5LLJ6JXC.js} +2 -2
  102. package/dist/bundle/{embed-XH2X4DFM.js → embed-37MYTCU7.js} +7 -7
  103. package/dist/bundle/{embedder-WTFWDXBJ.js → embedder-GNGHVJAO.js} +10 -10
  104. package/dist/bundle/{failure-HTIS3NLS.js → failure-CR64C4XA.js} +3 -3
  105. package/dist/bundle/{first-run-5RBH7FDO.js → first-run-NR5JKYP3.js} +12 -12
  106. package/dist/bundle/first-screen-RCR7ATO2.js +39 -0
  107. package/dist/bundle/{folders-F4DNQPIY.js → folders-VU4IN35Y.js} +5 -5
  108. package/dist/bundle/{instructions-EPPBL6TT.js → instructions-P72XX4AK.js} +1 -1
  109. package/dist/bundle/{main-LVQTCDZS.js → main-QYFCYSTW.js} +21 -23
  110. package/dist/bundle/{mcp-PPVOM4SE.js → mcp-M4QN2E7R.js} +2 -2
  111. package/dist/bundle/{meetings-BMELXRTR.js → meetings-66UQINKI.js} +13 -7
  112. package/dist/bundle/{node-CQVMWVIG.js → node-ZB4RNICS.js} +2 -2
  113. package/dist/bundle/{node-sqlite-QQEX7LZT.js → node-sqlite-XPRKBDF3.js} +7 -7
  114. package/dist/bundle/{oauth-AYGX7CQS.js → oauth-WJRDUU5J.js} +8 -8
  115. package/dist/bundle/{open-MIL2TOT6.js → open-S2YSIEOW.js} +6 -6
  116. package/dist/bundle/openai-CRNZFNZD.js +25 -0
  117. package/dist/bundle/{output-file-4XADZPYH.js → output-file-6COFGPUL.js} +6 -6
  118. package/dist/bundle/{process-NJVQK6GB.js → process-XNN4WG6N.js} +1 -1
  119. package/dist/bundle/{program-WUYRS6H7.js → program-BRPJKRCX.js} +115 -187
  120. package/dist/bundle/{prompt-J4QPFLEA.js → prompt-7RQOL25I.js} +6 -6
  121. package/dist/bundle/{recognize-OLJZVNWW.js → recognize-N5WADGQB.js} +5 -5
  122. package/dist/bundle/{remote-JPUXNYLV.js → remote-WHYV35IF.js} +8 -8
  123. package/dist/bundle/{rerank-XVV3X5TT.js → rerank-FBMZVWSH.js} +8 -8
  124. package/dist/bundle/{run-log-DJXBEVS5.js → run-log-TOCHREH2.js} +59 -59
  125. package/dist/bundle/{serve-NYYUO3MR.js → serve-4BABX4WS.js} +10 -10
  126. package/dist/bundle/{server-4Z5E4YTT.js → server-CDVI6LOB.js} +47 -47
  127. package/dist/bundle/server-XOFQKFVO.js +72 -0
  128. package/dist/bundle/{services-EKWM76HP.js → services-PIY33I7R.js} +43 -33
  129. package/dist/bundle/{speech-WFJ44ACJ.js → speech-LS5Q4FL2.js} +14 -14
  130. package/dist/bundle/{state-VIRCT4VW.js → state-YUX5R2R7.js} +7 -7
  131. package/dist/bundle/{store-ZTDZ6UY5.js → store-BD7HAXAA.js} +20 -18
  132. package/dist/bundle/{store-2Q4GEZJS.js → store-ERMGBF2B.js} +49 -29
  133. package/dist/bundle/store-connection-JBR6CMTJ.js +83 -0
  134. package/dist/bundle/store-maintenance-command-I5DUSO2C.js +62 -0
  135. package/dist/bundle/{streaming-7BPKIGAS.js → streaming-O53PIORL.js} +7 -7
  136. package/dist/bundle/{tokens-CQHMMKNX.js → tokens-QKNEP2GJ.js} +7 -7
  137. package/dist/bundle/zm.js +9 -10
  138. package/dist/bundle/zoom-app-XJXZ4ZBX.js +41 -0
  139. package/dist/commands.d.ts.map +1 -1
  140. package/dist/commands.js +1 -0
  141. package/dist/commands.js.map +1 -1
  142. package/dist/config.d.ts.map +1 -1
  143. package/dist/config.js +2 -3
  144. package/dist/config.js.map +1 -1
  145. package/dist/identity.d.ts +1 -0
  146. package/dist/identity.d.ts.map +1 -1
  147. package/dist/identity.js +11 -0
  148. package/dist/identity.js.map +1 -1
  149. package/dist/program-bindings.d.ts.map +1 -1
  150. package/dist/program-bindings.js +7 -2
  151. package/dist/program-bindings.js.map +1 -1
  152. package/dist/setup-commands.d.ts +6 -0
  153. package/dist/setup-commands.d.ts.map +1 -1
  154. package/dist/setup-commands.js +24 -9
  155. package/dist/setup-commands.js.map +1 -1
  156. package/dist/version.d.ts +1 -1
  157. package/dist/version.js +1 -1
  158. package/dist/zoom-app.d.ts +32 -0
  159. package/dist/zoom-app.d.ts.map +1 -1
  160. package/dist/zoom-app.js +61 -0
  161. package/dist/zoom-app.js.map +1 -1
  162. package/package.json +3 -3
  163. package/dist/bundle/answer-policy-5OYUL6UF.js +0 -103
  164. package/dist/bundle/chunk-54RTMQL6.js +0 -132
  165. package/dist/bundle/chunk-6VFORXL3.js +0 -101
  166. package/dist/bundle/chunk-D4KBD63W.js +0 -19
  167. package/dist/bundle/chunk-SXFODCYK.js +0 -9
  168. package/dist/bundle/chunk-Z3WXI4DK.js +0 -31
  169. package/dist/bundle/command-contract-UWHY55UE.js +0 -41
  170. package/dist/bundle/config-TGF6E6ZD.js +0 -89
  171. package/dist/bundle/first-screen-PGFIXJAX.js +0 -39
  172. package/dist/bundle/openai-7QZZXQW5.js +0 -25
  173. package/dist/bundle/server-VW5UVCH7.js +0 -72
  174. package/dist/bundle/store-connection-FKVVQLEF.js +0 -83
  175. package/dist/bundle/store-maintenance-command-AU73UVUQ.js +0 -62
  176. package/dist/bundle/zoom-app-OEKFMJS6.js +0 -25
  177. /package/dist/bundle/{chunk-LU3WKZBA.js → chunk-VOXIGICJ.js} +0 -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
  checkCancelled
5
- } from "./chunk-B3KWAULD.js";
6
- import "./chunk-AAZFLJSH.js";
7
- import "./chunk-T6CZWSHF.js";
8
- import "./chunk-NTZDM5SJ.js";
5
+ } from "./chunk-KAPJQGHE.js";
6
+ import "./chunk-B6JMVB6R.js";
7
+ import "./chunk-KNE6VFHZ.js";
8
+ import "./chunk-NRRI37NJ.js";
9
9
  import "./chunk-Y5E2WNWB.js";
10
10
  import {
11
11
  CliError,
12
12
  isCliError
13
- } from "./chunk-WZ5XK74U.js";
14
- import "./chunk-6IBM4Z3V.js";
13
+ } from "./chunk-FEM2JQN2.js";
14
+ import "./chunk-OE7EIP5L.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
@@ -5,7 +5,7 @@ import {
5
5
  __name
6
6
  } from "./chunk-ZVVMGPBJ.js";
7
7
 
8
- // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/embeddings/process.js
8
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/embeddings/process.js
9
9
  import { spawn } from "node:child_process";
10
10
  import { createInterface } from "node:readline";
11
11
  import { fileURLToPath } from "node:url";
@@ -21,10 +21,10 @@ import {
21
21
  validateTaskKind,
22
22
  validateTaskProposal,
23
23
  validateUnifiedSearch
24
- } from "./chunk-ASCHAVNW.js";
24
+ } from "./chunk-7QNJICKZ.js";
25
25
  import {
26
26
  emitReceipt
27
- } from "./chunk-4GCKDO2H.js";
27
+ } from "./chunk-7AUP2WT3.js";
28
28
  import {
29
29
  DEFAULT_PERMISSIONS,
30
30
  ZOOM_ANSWER_ENTITIES,
@@ -52,7 +52,7 @@ import {
52
52
  unsetConfig,
53
53
  wholeList,
54
54
  zoomRunsCommand
55
- } from "./chunk-FXQPK742.js";
55
+ } from "./chunk-TZUKDM72.js";
56
56
  import {
57
57
  MEMO_SCENARIOS,
58
58
  SEARCHES_QUERY,
@@ -77,21 +77,26 @@ import {
77
77
  signInSteps,
78
78
  skillCommand as skillCommand2,
79
79
  upgradeCommand
80
- } from "./chunk-BKY4XVB4.js";
81
- import "./chunk-RAMPYIO2.js";
82
- import {
83
- zmPaths
84
- } from "./chunk-KIJLM5UL.js";
80
+ } from "./chunk-LBOSTBAY.js";
81
+ import "./chunk-Y5LP5SHV.js";
85
82
  import {
83
+ CLIENT_ID_NEED,
86
84
  SET_ZOOM_APP,
85
+ checkedClientId,
86
+ login,
87
87
  zoomApp,
88
+ zoomAppChecklist,
89
+ zoomAppSetup,
88
90
  zoomClientId,
89
91
  zoomClientReport
90
- } from "./chunk-6VFORXL3.js";
91
- import "./chunk-JVCHGI7W.js";
92
+ } from "./chunk-5JAYUG3X.js";
93
+ import "./chunk-W42BJ65M.js";
94
+ import {
95
+ zmPaths
96
+ } from "./chunk-FBLUKCIR.js";
92
97
  import {
93
98
  TokenManager
94
- } from "./chunk-CRLBTNC4.js";
99
+ } from "./chunk-BL36NSV5.js";
95
100
  import {
96
101
  ZoneAssumptions,
97
102
  cancellableStore,
@@ -102,34 +107,34 @@ import {
102
107
  withIssue,
103
108
  zoomInstant,
104
109
  zoomTime
105
- } from "./chunk-B3KWAULD.js";
106
- import "./chunk-V33VGWT3.js";
107
- import "./chunk-7LLUUXJB.js";
108
- import "./chunk-L6WUAGPN.js";
110
+ } from "./chunk-KAPJQGHE.js";
111
+ import "./chunk-PIHBD3YS.js";
112
+ import "./chunk-355PHJYX.js";
113
+ import "./chunk-QXTREL2M.js";
109
114
  import {
110
115
  providerWaitMs,
111
116
  readJsonResponse,
112
117
  retryableStatus,
113
118
  statusToCode
114
- } from "./chunk-EQ7XRRKV.js";
115
- import "./chunk-QX2MAT6I.js";
116
- import "./chunk-KWRSC6O6.js";
117
- import "./chunk-L643D4RJ.js";
118
- import "./chunk-QEI55M2F.js";
119
- import "./chunk-4KDZ22RA.js";
119
+ } from "./chunk-TN3FH2GQ.js";
120
+ import "./chunk-77KFLU5F.js";
121
+ import "./chunk-A63ZFOQJ.js";
122
+ import "./chunk-4TLPOY22.js";
123
+ import "./chunk-DGNPJGD3.js";
124
+ import "./chunk-SSPSNSC5.js";
120
125
  import {
121
126
  allAnswer
122
- } from "./chunk-I7SOXH64.js";
127
+ } from "./chunk-474WF55M.js";
123
128
  import {
124
129
  skillCommand
125
- } from "./chunk-7VU5UGRR.js";
126
- import "./chunk-ZRMZBMOF.js";
127
- import "./chunk-MWEOVTIF.js";
128
- import "./chunk-FWU3ZYHE.js";
129
- import "./chunk-B5Z4XPVS.js";
130
+ } from "./chunk-7DUYFITC.js";
131
+ import "./chunk-6XO7RTJY.js";
132
+ import "./chunk-6T3P226D.js";
133
+ import "./chunk-GOXDBCDM.js";
134
+ import "./chunk-FNQASORM.js";
130
135
  import {
131
136
  commandPermissions
132
- } from "./chunk-ESFMHBHH.js";
137
+ } from "./chunk-US5C3WAY.js";
133
138
  import {
134
139
  addMeetingCommands,
135
140
  addMeetingPassageCommand,
@@ -141,34 +146,34 @@ import {
141
146
  typedQuery,
142
147
  unfilteredQuery,
143
148
  withQuery
144
- } from "./chunk-SMVO5R3T.js";
145
- import "./chunk-LFQ73UFK.js";
149
+ } from "./chunk-2OSBCYJT.js";
150
+ import "./chunk-EH5QGQFR.js";
146
151
  import {
147
152
  NativeRecordingPartialStore,
148
153
  NativeRecordingPublication,
149
154
  dateWindow,
150
155
  savedSearchItem,
151
156
  validateMeetingPreparationRequest
152
- } from "./chunk-7HAIM7GV.js";
157
+ } from "./chunk-YTF2WPV4.js";
153
158
  import {
154
159
  nativeWriterLeaseStore,
155
160
  openOrdinaryFile,
156
161
  syncDirectory,
157
162
  writeFileAtomic
158
- } from "./chunk-6TZF2JP7.js";
163
+ } from "./chunk-6CJ7NHIP.js";
159
164
  import {
160
165
  latestVersion,
161
166
  runUpdate,
162
167
  updateNotice
163
- } from "./chunk-4UVT2QCO.js";
164
- import "./chunk-YPF6OS37.js";
165
- import "./chunk-GP4NSYDU.js";
166
- import "./chunk-D6OXI2NV.js";
168
+ } from "./chunk-BOAMDYLY.js";
169
+ import "./chunk-VW6BF6M7.js";
170
+ import "./chunk-FMQS7HCC.js";
171
+ import "./chunk-4YFJYSSK.js";
167
172
  import {
168
173
  inSection
169
- } from "./chunk-VQTAU4DV.js";
174
+ } from "./chunk-EWIBLDQQ.js";
170
175
  import "./chunk-HTQTIKWP.js";
171
- import "./chunk-L6CAUVMU.js";
176
+ import "./chunk-K67V24AT.js";
172
177
  import {
173
178
  Argument,
174
179
  CommanderError,
@@ -195,58 +200,59 @@ import {
195
200
  progressOf,
196
201
  readCheckpoint,
197
202
  refuseCommandName,
203
+ runBudgetOf,
198
204
  saveCheckpoint,
199
205
  settingRows,
200
- snakeKeys
201
- } from "./chunk-SSXCOUP3.js";
202
- import "./chunk-SCFFCIIP.js";
203
- import "./chunk-LKJXTACE.js";
204
- import "./chunk-EUPZSR2G.js";
205
- import "./chunk-7K5TDTZY.js";
206
- import "./chunk-SOZVC3SV.js";
206
+ snakeKeys,
207
+ writesNewFileOnlyWith
208
+ } from "./chunk-AJ7CMUGD.js";
209
+ import "./chunk-AVEIQMHZ.js";
210
+ import "./chunk-RP3U3J53.js";
211
+ import "./chunk-L4WVLRXM.js";
212
+ import "./chunk-JO4YADNV.js";
213
+ import "./chunk-DVA6MQWK.js";
207
214
  import {
208
215
  currentAttempt,
209
216
  withAttempt
210
- } from "./chunk-4U2555EQ.js";
211
- import "./chunk-3ZIHUSMM.js";
217
+ } from "./chunk-JRCYFCPL.js";
218
+ import "./chunk-YOAEZSDG.js";
212
219
  import {
213
220
  COMMAND_PATH_KEY,
214
221
  assertOverridesTighten,
215
222
  permissionOverrides
216
- } from "./chunk-VNIBTNV4.js";
217
- import "./chunk-54RTMQL6.js";
218
- import "./chunk-M43MBWJX.js";
219
- import "./chunk-VFIEYRYD.js";
223
+ } from "./chunk-65T3PU75.js";
224
+ import "./chunk-TUNQ6NE2.js";
225
+ import "./chunk-YQRNFG2E.js";
226
+ import "./chunk-77I67HWF.js";
220
227
  import {
221
228
  formatReference,
222
229
  isFolderProvider
223
- } from "./chunk-J3ZBEWQY.js";
224
- import "./chunk-YRNZT4GQ.js";
225
- import "./chunk-OTMGAKUM.js";
226
- import "./chunk-Z3WXI4DK.js";
227
- import "./chunk-OZEYFJX2.js";
228
- import "./chunk-DG4DWAU7.js";
229
- import "./chunk-TBRG2DPE.js";
230
- import "./chunk-4ZR5DJ26.js";
231
- import "./chunk-6UFWFKFH.js";
232
- import "./chunk-3GO3KME7.js";
233
- import "./chunk-LM26DJOK.js";
230
+ } from "./chunk-NUJMJQXV.js";
231
+ import "./chunk-DWSUSWAX.js";
232
+ import "./chunk-VLD7Y4SY.js";
233
+ import "./chunk-AYEVBAGO.js";
234
+ import "./chunk-EJDV5IIF.js";
235
+ import "./chunk-RRYUD2EF.js";
236
+ import "./chunk-2T6XHWDX.js";
237
+ import "./chunk-EZRPSZJS.js";
238
+ import "./chunk-ZRD3NDOX.js";
239
+ import "./chunk-3BRV2YU2.js";
240
+ import "./chunk-KUB2U5NT.js";
234
241
  import {
235
242
  speechModel
236
- } from "./chunk-EPDRF66S.js";
237
- import "./chunk-6AJDVJVZ.js";
243
+ } from "./chunk-6TJ62LZQ.js";
244
+ import "./chunk-32FPA7P2.js";
238
245
  import {
246
+ CLIENT_ID_MISSING,
247
+ VERSION,
239
248
  ZM
240
- } from "./chunk-D4KBD63W.js";
241
- import {
242
- VERSION
243
- } from "./chunk-SXFODCYK.js";
249
+ } from "./chunk-BSM43OMN.js";
244
250
  import {
245
251
  installerOf
246
- } from "./chunk-KV4267S4.js";
252
+ } from "./chunk-P3ASN72F.js";
247
253
  import "./chunk-D72URWJE.js";
248
- import "./chunk-C6UKW7JO.js";
249
- import "./chunk-RYKG6AEH.js";
254
+ import "./chunk-LV7QRR5S.js";
255
+ import "./chunk-PUTGTW6W.js";
250
256
  import {
251
257
  MEETING_COUNTS_GROUPINGS,
252
258
  RecordingSyncError,
@@ -276,14 +282,14 @@ import {
276
282
  validateMeetingChange,
277
283
  validateMeetingContextChange,
278
284
  watchMeetingIngestion
279
- } from "./chunk-DFUPETW7.js";
285
+ } from "./chunk-TDGZMC6K.js";
280
286
  import {
281
287
  dateRange,
282
288
  defineQuery,
283
289
  queryFieldsOf,
284
290
  timezoneOf
285
- } from "./chunk-AAZFLJSH.js";
286
- import "./chunk-LU3WKZBA.js";
291
+ } from "./chunk-B6JMVB6R.js";
292
+ import "./chunk-VOXIGICJ.js";
287
293
  import {
288
294
  createDeadline,
289
295
  createOutputBuffer,
@@ -291,7 +297,7 @@ import {
291
297
  fieldsOf,
292
298
  projectFields,
293
299
  realSleep
294
- } from "./chunk-T6CZWSHF.js";
300
+ } from "./chunk-KNE6VFHZ.js";
295
301
  import {
296
302
  array,
297
303
  boolean,
@@ -304,14 +310,14 @@ import {
304
310
  safeParse,
305
311
  string,
306
312
  transform
307
- } from "./chunk-NTZDM5SJ.js";
313
+ } from "./chunk-NRRI37NJ.js";
308
314
  import "./chunk-Y5E2WNWB.js";
309
315
  import {
310
316
  CliError,
311
317
  isCliError
312
- } from "./chunk-WZ5XK74U.js";
313
- import "./chunk-6IBM4Z3V.js";
314
- import "./chunk-ZMPTO2WB.js";
318
+ } from "./chunk-FEM2JQN2.js";
319
+ import "./chunk-OE7EIP5L.js";
320
+ import "./chunk-P2TISY3R.js";
315
321
  import {
316
322
  __name
317
323
  } from "./chunk-ZVVMGPBJ.js";
@@ -857,7 +863,7 @@ var acquireArchiveWriter = /* @__PURE__ */ __name((destination, signal) => opera
857
863
  }, signal), "acquireArchiveWriter");
858
864
 
859
865
  // dist/remote-http.js
860
- import { setTimeout as setTimeout2 } from "node:timers/promises";
866
+ import { setTimeout } from "node:timers/promises";
861
867
  var operationSignal = /* @__PURE__ */ __name((signal) => signal ?? AbortSignal.timeout(36e5), "operationSignal");
862
868
  var downloadTarget = /* @__PURE__ */ __name((input, what, base) => {
863
869
  let target;
@@ -892,7 +898,7 @@ var ZoomRemote = class {
892
898
  return null;
893
899
  checkCancelled(signal);
894
900
  const waited = Math.max(0, delay);
895
- await (this.options.sleep ?? ((ms, abort) => setTimeout2(ms, void 0, { signal: abort })))(waited, signal);
901
+ await (this.options.sleep ?? ((ms, abort) => setTimeout(ms, void 0, { signal: abort })))(waited, signal);
896
902
  return waited;
897
903
  }
898
904
  async get(target, accessToken, signal, retry = true) {
@@ -1739,7 +1745,7 @@ var searchArchiveTranscripts = /* @__PURE__ */ __name(async (destination, query,
1739
1745
  return { items: matches, page: 1, limit, hasMore: false };
1740
1746
  }, "searchArchiveTranscripts");
1741
1747
 
1742
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/runtime.js
1748
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/runtime.js
1743
1749
  var isLossless = /* @__PURE__ */ __name((input) => typeof input === "object" && input !== null && input.isLosslessNumber === true && typeof input.value === "string", "isLossless");
1744
1750
  var INTEGER = /^-?\d+$/;
1745
1751
  var INT64_MIN = -(2n ** 63n);
@@ -3731,100 +3737,6 @@ var observedFetch = /* @__PURE__ */ __name((fetcher, sink) => async (input, init
3731
3737
  }
3732
3738
  }, "observedFetch");
3733
3739
 
3734
- // dist/login.js
3735
- import { createHash as createHash5, randomBytes } from "node:crypto";
3736
- import { createServer } from "node:http";
3737
- var REDIRECT = "https://wirecat.dev/zoom-callback";
3738
- var login = /* @__PURE__ */ __name(async (options) => {
3739
- checkCancelled(options.signal);
3740
- const verifier = randomBytes(48).toString("base64url");
3741
- const challenge = createHash5("sha256").update(verifier).digest("base64url");
3742
- const controller = new AbortController();
3743
- let state = "";
3744
- let accept = /* @__PURE__ */ __name(() => {
3745
- }, "accept");
3746
- let fail = /* @__PURE__ */ __name(() => {
3747
- }, "fail");
3748
- const codePromise = new Promise((resolve3, reject) => {
3749
- accept = resolve3;
3750
- fail = reject;
3751
- });
3752
- const onAbort = /* @__PURE__ */ __name(() => {
3753
- try {
3754
- checkCancelled(options.signal);
3755
- } catch (error) {
3756
- fail(error instanceof Error ? error : new CliError("cancelled", "command cancelled"));
3757
- }
3758
- }, "onAbort");
3759
- options.signal?.addEventListener("abort", onAbort, { once: true });
3760
- void codePromise.catch(() => {
3761
- });
3762
- const server = createServer((request, response) => {
3763
- const query = new URL(request.url ?? "/", "http://127.0.0.1");
3764
- if (query.pathname !== "/callback") {
3765
- response.writeHead(404).end();
3766
- return;
3767
- }
3768
- if (query.searchParams.get("state") !== state) {
3769
- response.writeHead(400).end("state does not match");
3770
- return;
3771
- }
3772
- const code2 = query.searchParams.get("code");
3773
- response.end("zm: received, you can close this tab");
3774
- if (code2)
3775
- accept(code2);
3776
- else
3777
- fail(new CliError("authentication_error", "Zoom login was not approved"));
3778
- });
3779
- const timer = setTimeout(() => fail(new CliError("authentication_error", "Zoom login timed out")), options.timeoutMs ?? 3e5);
3780
- try {
3781
- await new Promise((resolve3, reject) => {
3782
- server.once("error", reject);
3783
- server.listen(0, "127.0.0.1", resolve3);
3784
- });
3785
- const address = server.address();
3786
- if (!address || typeof address === "string")
3787
- throw new CliError("configuration_error", "could not start the local login listener");
3788
- state = `${address.port}.${randomBytes(24).toString("base64url")}`;
3789
- const authorize = new URL("https://zoom.us/oauth/authorize");
3790
- authorize.search = new URLSearchParams({
3791
- response_type: "code",
3792
- client_id: options.tokens.options.clientId,
3793
- redirect_uri: REDIRECT,
3794
- code_challenge: challenge,
3795
- code_challenge_method: "S256",
3796
- state
3797
- }).toString();
3798
- checkCancelled(options.signal);
3799
- options.showUrl?.(authorize.toString());
3800
- const pastePromise = options.readPaste?.(controller.signal).then((text2) => {
3801
- const query = new URLSearchParams(text2.includes("?") ? text2.slice(text2.indexOf("?") + 1) : text2);
3802
- if (query.get("state") !== state || !query.get("code"))
3803
- throw new CliError("authentication_error", "pasted login must contain the matching code and state");
3804
- return query.get("code") ?? "";
3805
- });
3806
- void Promise.resolve().then(() => options.openBrowser(authorize.toString())).catch(() => {
3807
- if (!options.readPaste)
3808
- fail(new CliError("configuration_error", "could not open the browser; retry with --browser <program>"));
3809
- });
3810
- const code2 = await (pastePromise ? Promise.race([codePromise, pastePromise]) : codePromise);
3811
- controller.abort();
3812
- const tokens = await options.tokens.exchange({
3813
- grant_type: "authorization_code",
3814
- code: code2,
3815
- redirect_uri: REDIRECT,
3816
- code_verifier: verifier
3817
- });
3818
- return { loggedIn: true, scopes: tokens.scopes, credentialStorage: options.tokens.storageOf() };
3819
- } finally {
3820
- options.signal?.removeEventListener("abort", onAbort);
3821
- clearTimeout(timer);
3822
- controller.abort();
3823
- server.close();
3824
- server.closeAllConnections();
3825
- }
3826
- }, "login");
3827
-
3828
3740
  // dist/models-commands.js
3829
3741
  var addModelsCommands = /* @__PURE__ */ __name((program, deps) => {
3830
3742
  program.addCommand(modelCatalogueCommand({ command: "zm", appName: "zoom-cli", envPrefix: "ZM", description: "Zoom meetings", version: "" }, {
@@ -3839,7 +3751,7 @@ var addModelsCommands = /* @__PURE__ */ __name((program, deps) => {
3839
3751
  // dist/upgrade.js
3840
3752
  import { join as join11 } from "node:path";
3841
3753
 
3842
- // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/update/index.js
3754
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/update/index.js
3843
3755
  import { realpathSync } from "node:fs";
3844
3756
  import { fileURLToPath as fileURLToPath2 } from "node:url";
3845
3757
  var QUIET_WORDS = [
@@ -3957,6 +3869,15 @@ var addConfigCommands = /* @__PURE__ */ __name((program, { configPath, output, w
3957
3869
  warn(added.length > 0 ? `added ${added.join(", ")} to ${configPath}` : `${configPath} already has every setting`);
3958
3870
  });
3959
3871
  }, "addConfigCommands");
3872
+ var addAppCommand = /* @__PURE__ */ __name((program, { output, buffer, pretty }) => {
3873
+ annotate(program.command("app"), { effects: NO_EFFECTS, examples: ["zm app", "zm app --json"] }).description("what to enter when you make the Zoom app zm signs in with").action(() => {
3874
+ if (pretty())
3875
+ buffer(`${zoomAppChecklist()}
3876
+ `);
3877
+ else
3878
+ output(itemOf(zoomAppSetup()));
3879
+ });
3880
+ }, "addAppCommand");
3960
3881
  var PASTE_PROMPT = "If the browser does not come back by itself, the address it ended on (code=\u2026&state=\u2026)";
3961
3882
  var addSessionCommands = /* @__PURE__ */ __name((program, context) => {
3962
3883
  const { deps, getConfig, output, buffer, api, profile, tokens, fetch: fetch2, signal } = context;
@@ -4002,15 +3923,15 @@ var addSessionCommands = /* @__PURE__ */ __name((program, context) => {
4002
3923
  const config = getConfig();
4003
3924
  const selected = profile();
4004
3925
  refuseCommandName(selected, commandWords(program), "zm");
4005
- if (opts.clientId !== void 0 && (!opts.clientId.trim() || /\s/.test(opts.clientId)))
4006
- throw new CliError("validation_error", "client id must not contain whitespace");
4007
- const clientId = zoomApp({
3926
+ if (opts.clientId !== void 0)
3927
+ checkedClientId(opts.clientId);
3928
+ const known = zoomApp({
4008
3929
  env: deps.env ?? process.env,
4009
3930
  configClientId: config.clientId,
4010
3931
  clientId: opts.clientId
4011
3932
  })?.client.clientId;
4012
- if (!clientId)
4013
- throw new CliError("configuration_error", SET_ZOOM_APP);
3933
+ if (!known && opts.answerStdin !== true)
3934
+ throw new CliError("configuration_error", SET_ZOOM_APP, { reason: CLIENT_ID_MISSING });
4014
3935
  const globals = program.opts();
4015
3936
  if (globals.offline)
4016
3937
  throw new CliError("configuration_error", "login requires network access; remove --offline");
@@ -4025,8 +3946,10 @@ var addSessionCommands = /* @__PURE__ */ __name((program, context) => {
4025
3946
  answers: opts.answerStdin === true,
4026
3947
  ...deps.stdin ? { input: deps.stdin } : {}
4027
3948
  });
3949
+ const clientId = known ?? checkedClientId(await steps.ask(CLIENT_ID_NEED, signal()));
3950
+ const chosen = opts.clientId ?? (known ? void 0 : clientId);
4028
3951
  const done = await login({
4029
- tokens: (opts.clientId ? new TokenManager({ ...tokens().options, clientId, account: `${clientId}:${selected}` }) : tokens()).storedIn(storage),
3952
+ tokens: (chosen ? new TokenManager({ ...tokens().options, clientId, account: `${clientId}:${selected}` }) : tokens()).storedIn(storage),
4030
3953
  signal: signal(),
4031
3954
  openBrowser: /* @__PURE__ */ __name((url) => deps.openBrowser(url, opts.browser), "openBrowser"),
4032
3955
  readPaste: steps.answers ? (stop) => steps.ask({ field: "redirect", secret: true, prompt: PASTE_PROMPT }, stop).catch((error) => stop.aborted ? new Promise(() => {
@@ -4038,8 +3961,8 @@ ${url}
4038
3961
  `)
4039
3962
  ), "showUrl")
4040
3963
  });
4041
- if (opts.clientId)
4042
- setConfig(deps.configPath, "zoom.client_id", opts.clientId);
3964
+ if (chosen)
3965
+ setConfig(deps.configPath, "zoom.client_id", chosen);
4043
3966
  addProfile(deps.configPath, selected);
4044
3967
  output(itemOf({ ...done, profile: selected }));
4045
3968
  });
@@ -4047,7 +3970,7 @@ ${url}
4047
3970
  }, "addSessionCommands");
4048
3971
 
4049
3972
  // dist/archive-import.js
4050
- import { createHash as createHash6 } from "node:crypto";
3973
+ import { createHash as createHash5 } from "node:crypto";
4051
3974
  var plans = /* @__PURE__ */ new WeakMap();
4052
3975
  var preflightArchiveImport = /* @__PURE__ */ __name(async (destination, options = {}) => {
4053
3976
  const maximum = options.maxTotalBytes === void 0 ? 64 * 1024 ** 2 : options.maxTotalBytes;
@@ -4077,7 +4000,7 @@ var preflightArchiveImport = /* @__PURE__ */ __name(async (destination, options
4077
4000
  };
4078
4001
  group.assetIds.push(asset.id);
4079
4002
  group.transcripts.push({
4080
- source: `zoom-archive:vtt:${createHash6("sha256").update(asset.id).digest("hex")}`,
4003
+ source: `zoom-archive:vtt:${createHash5("sha256").update(asset.id).digest("hex")}`,
4081
4004
  contentHash: asset.sha256,
4082
4005
  format: "vtt",
4083
4006
  language: transcriptLanguage(cues.map((cue) => cue.text)),
@@ -5559,6 +5482,7 @@ ${PROFILE_HELP}`);
5559
5482
  output(wholeList("list", items));
5560
5483
  }, "outputItems");
5561
5484
  addConfigCommands(program, { configPath: deps.configPath, output, warn: deps.diagnostic, named });
5485
+ addAppCommand(program, { output, buffer, pretty: /* @__PURE__ */ __name(() => formatOf() === "pretty" && !environmentOf(program).agent, "pretty") });
5562
5486
  const fetchApi = /* @__PURE__ */ __name(() => fetchWithSignal(deps.fetch), "fetchApi");
5563
5487
  const configured2 = configuredMeetingSource({ deps, getConfig, tokens, fetch: fetchApi, zones });
5564
5488
  const source = configured2.source;
@@ -5577,6 +5501,10 @@ ${PROFILE_HELP}`);
5577
5501
  }, "readFiles"),
5578
5502
  now: deps.now,
5579
5503
  write: /* @__PURE__ */ __name((value) => output(bodyOf(value)), "write"),
5504
+ // inCommandRun would open a second run beside zm's own commandRuns, so a sync would be kept twice.
5505
+ inRun: /* @__PURE__ */ __name((_command, body) => body(), "inRun"),
5506
+ budgetOf: runBudgetOf,
5507
+ newFileOutput: writesNewFileOnlyWith,
5580
5508
  writeFile: deps.writeFile ? async (path, content) => {
5581
5509
  checkCancelled(signal());
5582
5510
  await deps.writeFile?.(path, content, { signal: signal() });
@@ -2,13 +2,13 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSecret
5
- } from "./chunk-DG4DWAU7.js";
6
- import "./chunk-TBRG2DPE.js";
7
- import "./chunk-T6CZWSHF.js";
8
- import "./chunk-NTZDM5SJ.js";
5
+ } from "./chunk-RRYUD2EF.js";
6
+ import "./chunk-2T6XHWDX.js";
7
+ import "./chunk-KNE6VFHZ.js";
8
+ import "./chunk-NRRI37NJ.js";
9
9
  import "./chunk-Y5E2WNWB.js";
10
- import "./chunk-WZ5XK74U.js";
11
- import "./chunk-6IBM4Z3V.js";
10
+ import "./chunk-FEM2JQN2.js";
11
+ import "./chunk-OE7EIP5L.js";
12
12
  import "./chunk-ZVVMGPBJ.js";
13
13
  export {
14
14
  readSecret
@@ -8,12 +8,12 @@ import {
8
8
  openRecognizer,
9
9
  openSpeechCutter,
10
10
  toModelRate
11
- } from "./chunk-KWRSC6O6.js";
12
- import "./chunk-T6CZWSHF.js";
13
- import "./chunk-NTZDM5SJ.js";
11
+ } from "./chunk-A63ZFOQJ.js";
12
+ import "./chunk-KNE6VFHZ.js";
13
+ import "./chunk-NRRI37NJ.js";
14
14
  import "./chunk-Y5E2WNWB.js";
15
- import "./chunk-WZ5XK74U.js";
16
- import "./chunk-6IBM4Z3V.js";
15
+ import "./chunk-FEM2JQN2.js";
16
+ import "./chunk-OE7EIP5L.js";
17
17
  import "./chunk-ZVVMGPBJ.js";
18
18
  export {
19
19
  SAMPLE_RATE,
@@ -8,15 +8,15 @@ import {
8
8
  openRemote,
9
9
  remoteKey,
10
10
  remoteModel
11
- } from "./chunk-3GO3KME7.js";
12
- import "./chunk-LM26DJOK.js";
13
- import "./chunk-EPDRF66S.js";
14
- import "./chunk-6AJDVJVZ.js";
15
- import "./chunk-T6CZWSHF.js";
16
- import "./chunk-NTZDM5SJ.js";
11
+ } from "./chunk-3BRV2YU2.js";
12
+ import "./chunk-KUB2U5NT.js";
13
+ import "./chunk-6TJ62LZQ.js";
14
+ import "./chunk-32FPA7P2.js";
15
+ import "./chunk-KNE6VFHZ.js";
16
+ import "./chunk-NRRI37NJ.js";
17
17
  import "./chunk-Y5E2WNWB.js";
18
- import "./chunk-WZ5XK74U.js";
19
- import "./chunk-6IBM4Z3V.js";
18
+ import "./chunk-FEM2JQN2.js";
19
+ import "./chunk-OE7EIP5L.js";
20
20
  import "./chunk-ZVVMGPBJ.js";
21
21
  export {
22
22
  DEFAULT_OPENAI_MODEL,
@@ -4,19 +4,19 @@ import {
4
4
  defaultThreads,
5
5
  loadModel,
6
6
  truncated
7
- } from "./chunk-LM26DJOK.js";
8
- import "./chunk-EPDRF66S.js";
9
- import "./chunk-6AJDVJVZ.js";
10
- import "./chunk-T6CZWSHF.js";
11
- import "./chunk-NTZDM5SJ.js";
7
+ } from "./chunk-KUB2U5NT.js";
8
+ import "./chunk-6TJ62LZQ.js";
9
+ import "./chunk-32FPA7P2.js";
10
+ import "./chunk-KNE6VFHZ.js";
11
+ import "./chunk-NRRI37NJ.js";
12
12
  import "./chunk-Y5E2WNWB.js";
13
- import "./chunk-WZ5XK74U.js";
14
- import "./chunk-6IBM4Z3V.js";
13
+ import "./chunk-FEM2JQN2.js";
14
+ import "./chunk-OE7EIP5L.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/embeddings/rerank.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/embeddings/rerank.js
20
20
  var openReranker = /* @__PURE__ */ __name(async (model, directory, { threads = defaultThreads() } = {}) => {
21
21
  const { ort, tokenizer, session } = await loadModel(model, directory, threads);
22
22
  const typeIds = session.inputNames.includes("token_type_ids");