@wirecat/zoom-cli 0.66.0 → 0.67.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 (190) hide show
  1. package/README.md +2 -1
  2. package/constants.json +7 -0
  3. package/dist/answers.d.ts +4 -4
  4. package/dist/bin/main.js +3 -2
  5. package/dist/bin/main.js.map +1 -1
  6. package/dist/bin/zm.js +2 -2
  7. package/dist/bundle/{all-profiles-D5CFH2OK.js → all-profiles-SEW2VL76.js} +12 -11
  8. package/dist/bundle/answer-policy-5OYUL6UF.js +103 -0
  9. package/dist/bundle/{anthropic-K2E2JS4S.js → anthropic-FSNASJML.js} +7 -7
  10. package/dist/bundle/{app-server-TVXDG6HZ.js → app-server-EVSRYJ3H.js} +55 -54
  11. package/dist/bundle/{bun-O4WHGL2F.js → bun-DACL5SVO.js} +2 -2
  12. package/dist/bundle/{bun-sqlite-HGBEHQI3.js → bun-sqlite-HQ2KOXSI.js} +6 -6
  13. package/dist/bundle/{chunk-IDWHJ35K.js → chunk-2UW533HQ.js} +4 -4
  14. package/dist/bundle/{chunk-NMQUCHTX.js → chunk-3GO3KME7.js} +3 -3
  15. package/dist/bundle/{chunk-6GSJLNP4.js → chunk-3ZIHUSMM.js} +2 -2
  16. package/dist/bundle/{chunk-2YLNUZ3T.js → chunk-4GCKDO2H.js} +3 -3
  17. package/dist/bundle/{chunk-7SQJCKR6.js → chunk-4KDZ22RA.js} +1 -1
  18. package/dist/bundle/{chunk-5A26IBAR.js → chunk-4U2555EQ.js} +23 -23
  19. package/dist/bundle/{chunk-RMKHYUHK.js → chunk-4UVT2QCO.js} +4 -4
  20. package/dist/bundle/{chunk-GHAPWKG2.js → chunk-4ZR5DJ26.js} +3 -3
  21. package/dist/bundle/{chunk-2T5BOLBS.js → chunk-54RTMQL6.js} +4 -4
  22. package/dist/bundle/chunk-6AJDVJVZ.js +35 -0
  23. package/dist/bundle/{chunk-UYV2JGLQ.js → chunk-6IBM4Z3V.js} +1 -1
  24. package/dist/bundle/{chunk-QAPU2JNO.js → chunk-6TZF2JP7.js} +13 -13
  25. package/dist/bundle/{chunk-CZ4KLUJG.js → chunk-6UFWFKFH.js} +2 -2
  26. package/dist/bundle/chunk-6VFORXL3.js +101 -0
  27. package/dist/bundle/{chunk-RO44LANT.js → chunk-7HAIM7GV.js} +1577 -633
  28. package/dist/bundle/{chunk-QV5ZGRK3.js → chunk-7K5TDTZY.js} +7 -7
  29. package/dist/bundle/{chunk-NO24PJNW.js → chunk-7LLUUXJB.js} +1 -1
  30. package/dist/bundle/{chunk-7PF56S6U.js → chunk-7VU5UGRR.js} +24 -22
  31. package/dist/bundle/{chunk-SU4WPBQE.js → chunk-AAZFLJSH.js} +22 -23
  32. package/dist/bundle/{chunk-ZKTXUDSR.js → chunk-ASCHAVNW.js} +30 -26
  33. package/dist/bundle/{chunk-BXSAROQP.js → chunk-B3KWAULD.js} +2 -2
  34. package/dist/bundle/{chunk-ZNFPDTQM.js → chunk-B5Z4XPVS.js} +2 -2
  35. package/dist/bundle/{chunk-756RS4PH.js → chunk-BKY4XVB4.js} +1688 -1133
  36. package/dist/bundle/{chunk-62GOOZO3.js → chunk-C6UKW7JO.js} +6 -6
  37. package/dist/bundle/{chunk-U3ZUT557.js → chunk-CLEZE65P.js} +1 -1
  38. package/dist/bundle/{chunk-YLEQN6PB.js → chunk-CRLBTNC4.js} +3 -3
  39. package/dist/bundle/{chunk-P2SYZNM4.js → chunk-D4KBD63W.js} +1 -1
  40. package/dist/bundle/{chunk-CR4CXOLX.js → chunk-D6OXI2NV.js} +17 -17
  41. package/dist/bundle/{chunk-Q47C3QZW.js → chunk-DFUPETW7.js} +444 -307
  42. package/dist/bundle/{chunk-JX3V35A5.js → chunk-DG4DWAU7.js} +3 -3
  43. package/dist/bundle/{chunk-P3XVLHIQ.js → chunk-EPDRF66S.js} +4 -4
  44. package/dist/bundle/{chunk-EXXM4RNI.js → chunk-EQ7XRRKV.js} +11 -11
  45. package/dist/bundle/{chunk-5GD2XZ6X.js → chunk-ESFMHBHH.js} +30 -29
  46. package/dist/bundle/{chunk-GI6QVSCW.js → chunk-EUPZSR2G.js} +4 -4
  47. package/dist/bundle/{chunk-J4EZL6HY.js → chunk-FGTPREAZ.js} +33 -33
  48. package/dist/bundle/{chunk-GKXFL35E.js → chunk-FWU3ZYHE.js} +50 -50
  49. package/dist/bundle/{chunk-CAW6IMFZ.js → chunk-FXQPK742.js} +55 -17
  50. package/dist/bundle/{chunk-P2G4KGTR.js → chunk-GP4NSYDU.js} +11 -11
  51. package/dist/bundle/{chunk-GNGBG5BT.js → chunk-I7SOXH64.js} +71 -38
  52. package/dist/bundle/{chunk-S4GDDO5S.js → chunk-IFDO3YPJ.js} +1 -1
  53. package/dist/bundle/{chunk-N5JRRBEG.js → chunk-J3ZBEWQY.js} +373 -9
  54. package/dist/bundle/chunk-JVCHGI7W.js +37 -0
  55. package/dist/bundle/{chunk-7KCTPGOF.js → chunk-KANH7GBB.js} +2 -2
  56. package/dist/bundle/{chunk-QJHRYUMJ.js → chunk-KIJLM5UL.js} +1 -1
  57. package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
  58. package/dist/bundle/{chunk-XWDSEJWP.js → chunk-KWRSC6O6.js} +4 -4
  59. package/dist/bundle/{chunk-O5FKJV3T.js → chunk-L643D4RJ.js} +12 -12
  60. package/dist/bundle/{chunk-ZTL7ANSG.js → chunk-L6CAUVMU.js} +5 -5
  61. package/dist/bundle/{chunk-TUEEXECZ.js → chunk-L6WUAGPN.js} +3 -3
  62. package/dist/bundle/{chunk-H5ZVZAOD.js → chunk-LFQ73UFK.js} +3 -3
  63. package/dist/bundle/{chunk-3Y2F65AY.js → chunk-LKJXTACE.js} +10 -89
  64. package/dist/bundle/{chunk-AZ7ICKIA.js → chunk-LM26DJOK.js} +6 -6
  65. package/dist/bundle/{chunk-IKQ73INC.js → chunk-M43MBWJX.js} +3229 -1236
  66. package/dist/bundle/{chunk-LN2S3RA3.js → chunk-MWEOVTIF.js} +4 -4
  67. package/dist/bundle/{chunk-N67BLTBV.js → chunk-NTZDM5SJ.js} +28 -9
  68. package/dist/bundle/{chunk-6TIKPRVQ.js → chunk-OTMGAKUM.js} +7 -7
  69. package/dist/bundle/chunk-OZEYFJX2.js +93 -0
  70. package/dist/bundle/{chunk-XFUID5NY.js → chunk-Q65SDEFN.js} +2 -2
  71. package/dist/bundle/{chunk-67RNZGAG.js → chunk-QEI55M2F.js} +10 -10
  72. package/dist/bundle/{chunk-3B7L2UX4.js → chunk-QX2MAT6I.js} +3 -3
  73. package/dist/bundle/{chunk-KDKFGQWG.js → chunk-RAMPYIO2.js} +15 -12
  74. package/dist/bundle/{chunk-BLT3LR3U.js → chunk-RYKG6AEH.js} +1 -1
  75. package/dist/bundle/{chunk-Z6U3MEGJ.js → chunk-SCFFCIIP.js} +4 -2
  76. package/dist/bundle/{chunk-N6JMJN5A.js → chunk-SMVO5R3T.js} +19 -19
  77. package/dist/bundle/{chunk-Y3EIK4XW.js → chunk-SOZVC3SV.js} +1 -1
  78. package/dist/bundle/{chunk-A2SCXNA7.js → chunk-SSXCOUP3.js} +1084 -258
  79. package/dist/bundle/{chunk-TN7K66PU.js → chunk-SXFODCYK.js} +1 -1
  80. package/dist/bundle/{chunk-TFDVFD4N.js → chunk-T6CZWSHF.js} +97 -38
  81. package/dist/bundle/{chunk-7JMBEPW2.js → chunk-TBRG2DPE.js} +2 -2
  82. package/dist/bundle/{chunk-UOIXBEFR.js → chunk-V33VGWT3.js} +5 -5
  83. package/dist/bundle/{chunk-K5CIN4JP.js → chunk-VFIEYRYD.js} +8 -8
  84. package/dist/bundle/{chunk-5HPALDUO.js → chunk-VNIBTNV4.js} +3 -2
  85. package/dist/bundle/{chunk-3WTKZ2ZS.js → chunk-VQTAU4DV.js} +8 -8
  86. package/dist/bundle/{chunk-TMVKZMDO.js → chunk-WHQ4ZCJI.js} +49 -30
  87. package/dist/bundle/{chunk-S6S3KVJI.js → chunk-WZ5XK74U.js} +2 -1
  88. package/dist/bundle/{chunk-2VPHQFO5.js → chunk-X67YD3QI.js} +2 -2
  89. package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
  90. package/dist/bundle/{chunk-AU4JHT3R.js → chunk-YRNZT4GQ.js} +7 -7
  91. package/dist/bundle/{chunk-HKQWV3KT.js → chunk-Z3WXI4DK.js} +3 -3
  92. package/dist/bundle/{chunk-U4RVOSX3.js → chunk-ZMPTO2WB.js} +1 -1
  93. package/dist/bundle/{chunk-FWFFQV4D.js → chunk-ZRMZBMOF.js} +69 -9
  94. package/dist/bundle/{cli-HWQIL2AC.js → cli-YUATSOLA.js} +94 -67
  95. package/dist/bundle/command-contract-UWHY55UE.js +41 -0
  96. package/dist/bundle/config-TGF6E6ZD.js +89 -0
  97. package/dist/bundle/{decode-XPAPPUGE.js → decode-IL44LNC3.js} +6 -6
  98. package/dist/bundle/{dispatch-AKVJGP2S.js → dispatch-3BGIXSJR.js} +9 -9
  99. package/dist/bundle/{dist-LDIUQBM7.js → dist-3W27UQ2S.js} +46 -17
  100. package/dist/bundle/{echarts-FMACRZQC.js → echarts-CO4D26JF.js} +2 -2
  101. package/dist/bundle/{embed-LK45GRQ7.js → embed-XH2X4DFM.js} +7 -7
  102. package/dist/bundle/{embedder-QPBC5XBY.js → embedder-WTFWDXBJ.js} +10 -10
  103. package/dist/bundle/{failure-7OULAOWQ.js → failure-HTIS3NLS.js} +3 -3
  104. package/dist/bundle/{first-run-J5FG773Q.js → first-run-5RBH7FDO.js} +12 -12
  105. package/dist/bundle/first-screen-PGFIXJAX.js +39 -0
  106. package/dist/bundle/{folders-RHPUVMDI.js → folders-F4DNQPIY.js} +5 -5
  107. package/dist/bundle/{instructions-E5FXYCWF.js → instructions-EPPBL6TT.js} +1 -1
  108. package/dist/bundle/{main-FJHE5YHU.js → main-LVQTCDZS.js} +23 -22
  109. package/dist/bundle/{mcp-MNI62HHE.js → mcp-PPVOM4SE.js} +2 -2
  110. package/dist/bundle/{meetings-MYIDGYGW.js → meetings-BMELXRTR.js} +31 -7
  111. package/dist/bundle/{node-4SNKUPXT.js → node-CQVMWVIG.js} +2 -2
  112. package/dist/bundle/{node-sqlite-SYZUTVPC.js → node-sqlite-QQEX7LZT.js} +7 -7
  113. package/dist/bundle/{oauth-QPS5VTN6.js → oauth-AYGX7CQS.js} +8 -8
  114. package/dist/bundle/{open-OVCASRSJ.js → open-MIL2TOT6.js} +6 -6
  115. package/dist/bundle/openai-7QZZXQW5.js +25 -0
  116. package/dist/bundle/{output-file-K5JEL33Z.js → output-file-4XADZPYH.js} +6 -6
  117. package/dist/bundle/{process-HQZOTT6U.js → process-NJVQK6GB.js} +1 -1
  118. package/dist/bundle/{program-A546WC4F.js → program-WUYRS6H7.js} +152 -104
  119. package/dist/bundle/{prompt-CYBKP7S5.js → prompt-J4QPFLEA.js} +6 -6
  120. package/dist/bundle/{recognize-3H3YDCFI.js → recognize-OLJZVNWW.js} +5 -5
  121. package/dist/bundle/{remote-VAYVTJBS.js → remote-JPUXNYLV.js} +8 -8
  122. package/dist/bundle/{rerank-XA4GA5PS.js → rerank-XVV3X5TT.js} +8 -8
  123. package/dist/bundle/{run-log-XAFHMI3F.js → run-log-DJXBEVS5.js} +59 -57
  124. package/dist/bundle/{serve-KGHEDUHB.js → serve-NYYUO3MR.js} +10 -10
  125. package/dist/bundle/{server-ZYTSMDTP.js → server-4Z5E4YTT.js} +47 -46
  126. package/dist/bundle/server-VW5UVCH7.js +72 -0
  127. package/dist/bundle/{services-ZHMZC2OQ.js → services-EKWM76HP.js} +49 -32
  128. package/dist/bundle/{speech-7CJEFKM3.js → speech-WFJ44ACJ.js} +14 -14
  129. package/dist/bundle/{state-U6KSYVOH.js → state-VIRCT4VW.js} +7 -7
  130. package/dist/bundle/{store-WS4CQGYU.js → store-2Q4GEZJS.js} +30 -21
  131. package/dist/bundle/{store-DJE3LAEG.js → store-ZTDZ6UY5.js} +20 -17
  132. package/dist/bundle/store-connection-FKVVQLEF.js +83 -0
  133. package/dist/bundle/store-maintenance-command-AU73UVUQ.js +62 -0
  134. package/dist/bundle/{streaming-QMHH7L6N.js → streaming-7BPKIGAS.js} +7 -7
  135. package/dist/bundle/{tokens-PWQ56OXO.js → tokens-CQHMMKNX.js} +7 -7
  136. package/dist/bundle/zm.js +10 -10
  137. package/dist/bundle/zoom-app-OEKFMJS6.js +25 -0
  138. package/dist/config.d.ts +9 -0
  139. package/dist/config.d.ts.map +1 -1
  140. package/dist/config.js +46 -7
  141. package/dist/config.js.map +1 -1
  142. package/dist/meeting-source.d.ts.map +1 -1
  143. package/dist/meeting-source.js +2 -1
  144. package/dist/meeting-source.js.map +1 -1
  145. package/dist/meeting-stats-commands.d.ts +4 -2
  146. package/dist/meeting-stats-commands.d.ts.map +1 -1
  147. package/dist/meeting-stats-commands.js +27 -2
  148. package/dist/meeting-stats-commands.js.map +1 -1
  149. package/dist/program-bindings.d.ts.map +1 -1
  150. package/dist/program-bindings.js +3 -2
  151. package/dist/program-bindings.js.map +1 -1
  152. package/dist/recording-schedule-setup.d.ts.map +1 -1
  153. package/dist/recording-schedule-setup.js +5 -5
  154. package/dist/recording-schedule-setup.js.map +1 -1
  155. package/dist/run.d.ts.map +1 -1
  156. package/dist/run.js +2 -6
  157. package/dist/run.js.map +1 -1
  158. package/dist/setup-commands.d.ts +1 -1
  159. package/dist/setup-commands.d.ts.map +1 -1
  160. package/dist/setup-commands.js +30 -8
  161. package/dist/setup-commands.js.map +1 -1
  162. package/dist/store-commands.d.ts.map +1 -1
  163. package/dist/store-commands.js +6 -0
  164. package/dist/store-commands.js.map +1 -1
  165. package/dist/store-connection.d.ts +2 -1
  166. package/dist/store-connection.d.ts.map +1 -1
  167. package/dist/store-connection.js +4 -0
  168. package/dist/store-connection.js.map +1 -1
  169. package/dist/version.d.ts +1 -1
  170. package/dist/version.js +1 -1
  171. package/dist/watch-service.d.ts +1 -1
  172. package/dist/watch-service.d.ts.map +1 -1
  173. package/dist/watch-service.js +5 -3
  174. package/dist/watch-service.js.map +1 -1
  175. package/dist/zoom-app.d.ts +17 -0
  176. package/dist/zoom-app.d.ts.map +1 -0
  177. package/dist/zoom-app.js +22 -0
  178. package/dist/zoom-app.js.map +1 -0
  179. package/package.json +4 -3
  180. package/skills/zoom-cli/SKILL.md +4 -1
  181. package/dist/bundle/answer-policy-YAYMKRRD.js +0 -101
  182. package/dist/bundle/chunk-L7IK4FOA.js +0 -18
  183. package/dist/bundle/command-contract-CQFJXWX6.js +0 -40
  184. package/dist/bundle/config-R2Y6ZVQS.js +0 -83
  185. package/dist/bundle/first-screen-MULOBUHN.js +0 -38
  186. package/dist/bundle/openai-VEVT7D7L.js +0 -25
  187. package/dist/bundle/server-IDNSJXF3.js +0 -71
  188. package/dist/bundle/store-connection-T5WGOOPH.js +0 -81
  189. package/dist/bundle/store-maintenance-command-5CBQCEQQ.js +0 -61
  190. /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
@@ -6,21 +6,21 @@ import {
6
6
  answerSchema,
7
7
  describeOptions,
8
8
  metaOf
9
- } from "./chunk-A2SCXNA7.js";
9
+ } from "./chunk-SSXCOUP3.js";
10
10
  import {
11
11
  keyForCommand
12
- } from "./chunk-5HPALDUO.js";
12
+ } from "./chunk-VNIBTNV4.js";
13
13
  import {
14
14
  jsonSchemaOf
15
- } from "./chunk-N67BLTBV.js";
15
+ } from "./chunk-NTZDM5SJ.js";
16
16
  import {
17
17
  CliError
18
- } from "./chunk-S6S3KVJI.js";
18
+ } from "./chunk-WZ5XK74U.js";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-ZVVMGPBJ.js";
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
23
+ // 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/cli/command-contract.js
24
24
  var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
25
25
  var outputOf = /* @__PURE__ */ __name((command) => {
26
26
  const entity = answerEntitySchema(command);
@@ -3,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  decodeOgg
6
- } from "./chunk-XWDSEJWP.js";
6
+ } from "./chunk-KWRSC6O6.js";
7
7
  import {
8
8
  importFrom
9
9
  } from "./chunk-Y5E2WNWB.js";
10
10
  import {
11
11
  CliError
12
- } from "./chunk-S6S3KVJI.js";
12
+ } from "./chunk-WZ5XK74U.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/speech/decode.js
17
+ // 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/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,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-Y3EIK4XW.js";
5
+ } from "./chunk-SOZVC3SV.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-TFDVFD4N.js";
9
+ } from "./chunk-T6CZWSHF.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/background/lock.js
14
+ // 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/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");
@@ -2,15 +2,19 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  isCliFailure
5
- } from "./chunk-6GSJLNP4.js";
5
+ } from "./chunk-3ZIHUSMM.js";
6
+ import {
7
+ secretNamed,
8
+ withoutSecrets
9
+ } from "./chunk-OZEYFJX2.js";
6
10
  import {
7
11
  isContentKey
8
- } from "./chunk-TFDVFD4N.js";
12
+ } from "./chunk-T6CZWSHF.js";
9
13
  import {
10
14
  __name
11
15
  } from "./chunk-ZVVMGPBJ.js";
12
16
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/runs/events.js
17
+ // 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/runs/events.js
14
18
  var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
15
19
  var renderEvent = /* @__PURE__ */ __name((event) => {
16
20
  if (event.event === "warning") {
@@ -58,95 +62,12 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
58
62
  var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
59
63
  var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
60
64
 
61
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/runs/run-context.js
65
+ // 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/runs/run-context.js
62
66
  import { AsyncLocalStorage } from "node:async_hooks";
63
67
  import { createHash } from "node:crypto";
64
68
 
65
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
69
+ // 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/runs/error-detail.js
66
70
  import { homedir } from "node:os";
67
-
68
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/runs/secrets.js
69
- var SECRET_WORDS = /* @__PURE__ */ new Set([
70
- "authorization",
71
- "cookie",
72
- "credential",
73
- "credentials",
74
- "passphrase",
75
- "password",
76
- "passwd",
77
- "pwd",
78
- "pass",
79
- "passcode",
80
- "pin",
81
- "otp",
82
- "2fa",
83
- "secret",
84
- "token",
85
- "contrase\xF1a",
86
- "contrasena",
87
- "clave",
88
- "\u043F\u0430\u0440\u043E\u043B\u044C",
89
- "\u043F\u0438\u043D",
90
- "\u043A\u043E\u0434",
91
- ...["api", "auth", "service", "account", "db", "database", "priv", "private", "client"].map((word) => `${word}key`),
92
- ...["db", "database", "key"].map((word) => `${word}pass`)
93
- ]);
94
- var secretNamed = /* @__PURE__ */ __name((name) => {
95
- const words = name.replace(/([a-z0-9])([A-Z])/g, "$1 $2").split(/[\s_.-]+/).map((word) => word.toLowerCase());
96
- return words.some((word, at) => SECRET_WORDS.has(word) || SECRET_WORDS.has(word + (words[at + 1] ?? "")));
97
- }, "secretNamed");
98
- var START = "(?<![A-Za-z0-9_-])";
99
- var END = "(?![A-Za-z0-9_-])";
100
- var KNOWN_TOKENS = new RegExp(`${[
101
- "gh[pousr]_[A-Za-z0-9]{36,}",
102
- "github_pat_[A-Za-z0-9_]{22,}",
103
- "sk-[A-Za-z0-9_-]{20,}",
104
- "xox[abprs]-[A-Za-z0-9-]{10,}",
105
- "(?:AKIA|ASIA)[A-Z0-9]{16}",
106
- "AIza[A-Za-z0-9_-]{35}",
107
- "(?:sk|rk)_(?:live|test)_[A-Za-z0-9]{10,}",
108
- "npm_[A-Za-z0-9]{36}",
109
- "eyJ[A-Za-z0-9_-]{5,}\\.eyJ[A-Za-z0-9_-]{5,}\\.[A-Za-z0-9_-]*"
110
- ].map((pattern) => `${START}${pattern}${END}`).join("|")}|(?<!\\d)\\d{8,10}:[A-Za-z0-9_-]{35}${END}`, "g");
111
- var PRIVATE_KEY = /-----BEGIN[A-Z ]* PRIVATE KEY-----[\s\S]*?(?:-----END[A-Z ]* PRIVATE KEY-----|$)/g;
112
- var SCHEME = /(?<![A-Za-z])(Bearer|Basic)(\s+)(?![A-Z]?[a-z]+(?![A-Za-z0-9]))[A-Za-z0-9._~+/=-]{8,}/g;
113
- var NAMED_PAIR = /(?<![\p{L}\p{N}])([\p{L}\p{N}_.-]*(?:token|pass|pwd|pin|otp|2fa|secret|credential|cookie|authorization|key|contrase|clave|пароль|пин|код)[\p{L}\p{N}_.-]*)(["']?\s*(?:=>|[:=])\s*["']?|\s+(?![\p{L}]+(?![\p{L}\p{N}])))((?:Bearer\s+|Basic\s+)?)([^\s"'&,;]+)/giu;
114
- var looksRandom = /* @__PURE__ */ __name((run) => {
115
- if (run.length < 20)
116
- return false;
117
- const classes = [/[a-z]/, /[A-Z]/, /\d/, /[^A-Za-z0-9]/].filter((kind) => kind.test(run)).length;
118
- if (classes < 3)
119
- return false;
120
- let switches = 0;
121
- for (let at = 1; at < run.length; at++) {
122
- const [before, after] = [run[at - 1], run[at]];
123
- if (/[a-z]/.test(before) && /[A-Z]/.test(after) || /[A-Z]/.test(before) && /[a-z]/.test(after))
124
- switches += 1;
125
- }
126
- if (switches / run.length < 0.15)
127
- return false;
128
- const pieces = run.match(/[A-Z]?[a-z]+|[A-Z]+(?![a-z])|\d+/g) ?? [];
129
- if (pieces.join("").length / Math.max(pieces.length, 1) >= 2.75)
130
- return false;
131
- return entropy(run) >= 3.5;
132
- }, "looksRandom");
133
- var entropy = /* @__PURE__ */ __name((text) => {
134
- const counts = /* @__PURE__ */ new Map();
135
- for (const char of text)
136
- counts.set(char, (counts.get(char) ?? 0) + 1);
137
- let bits = 0;
138
- for (const count of counts.values())
139
- bits -= count / text.length * Math.log2(count / text.length);
140
- return bits;
141
- }, "entropy");
142
- var withoutSecrets = /* @__PURE__ */ __name((text, mark = "[redacted]") => text.replace(PRIVATE_KEY, mark).replace(KNOWN_TOKENS, mark).replace(SCHEME, `$1$2${mark}`).replace(NAMED_PAIR, (whole, name, separator, scheme) => secretNamed(name) ? `${name}${separator}${scheme}${mark}` : whole).replace(/[!-~]{20,}/g, (token) => (
143
- // A URL or a path is somebody's address, not a key; a credential in one is caught by the rules above.
144
- token.includes("://") || /^(?:\/|~\/|\.\.?\/)/.test(token) ? token : token.replace(RUN, (run) => looksRandom(run) ? mark : run.replace(HEX, (hex) => entropy(hex) >= 3 ? mark : hex))
145
- )), "withoutSecrets");
146
- var RUN = /(?<![A-Za-z0-9_+/-])[A-Za-z0-9_+/-]{20,}/g;
147
- var HEX = /(?<![A-Za-z0-9])(?=[0-9]*[a-f])[0-9a-f]{20,}(?![A-Za-z0-9])/g;
148
-
149
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
150
71
  var MESSAGE_AT_MOST = 500;
151
72
  var CAUSES_AT_MOST = 5;
152
73
  var FRAMES_AT_MOST = 15;
@@ -255,7 +176,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
255
176
  return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
256
177
  }, "redactText");
257
178
 
258
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/runs/run-context.js
179
+ // 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/runs/run-context.js
259
180
  var REDACTED = "[redacted]";
260
181
  var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
261
182
  if (!record)
@@ -5,23 +5,23 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-P3XVLHIQ.js";
8
+ } from "./chunk-EPDRF66S.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-S6S3KVJI.js";
14
+ } from "./chunk-WZ5XK74U.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
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/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.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // 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/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.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // 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/onnx-runtime.js
682
682
  var ONNX_RUNTIME_VERSION = "1.30.0";
683
683
  var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
684
684
  name,
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
858
858
  return { ort, session: await ort.InferenceSession.create(bytes, options) };
859
859
  }, "openSession");
860
860
 
861
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
861
+ // 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/embed.js
862
862
  var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
863
863
  var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
864
864
  var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");