@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,26 +3,26 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  executableEnvironment,
5
5
  executableOnPath
6
- } from "./chunk-MCPOZNWG.js";
6
+ } from "./chunk-FIVFP53N.js";
7
7
  import {
8
8
  require_cross_spawn
9
9
  } from "./chunk-D72URWJE.js";
10
10
  import {
11
11
  loadConfigFile,
12
12
  saveConfigFile
13
- } from "./chunk-S7SXSHRC.js";
13
+ } from "./chunk-HNWDEDMU.js";
14
14
  import {
15
15
  number,
16
16
  object,
17
17
  optional,
18
18
  string
19
- } from "./chunk-UVZLK3M4.js";
19
+ } from "./chunk-4RJL32PF.js";
20
20
  import {
21
21
  __name,
22
22
  __toESM
23
23
  } from "./chunk-ZVVMGPBJ.js";
24
24
 
25
- // 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/update/index.js
25
+ // 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/update/index.js
26
26
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
27
27
  import { existsSync } from "node:fs";
28
28
  var updateCommand = /* @__PURE__ */ __name((installer, packageName) => {
@@ -9424,7 +9424,7 @@ var EnvironmentWorker = /* @__PURE__ */ (() => {
9424
9424
  const ctrl = new AbortController();
9425
9425
  const detachExternal = linkAbort(externalSignal, ctrl);
9426
9426
  const lease = new Lease(ctrl);
9427
- const agentToolset = await import("./node-P4E63KXA.js");
9427
+ const agentToolset = await import("./node-KM3CUABH.js");
9428
9428
  let leaseTtlMs;
9429
9429
  let runner;
9430
9430
  const heartbeatPromise = heartbeatLoop(sessionClient, work, lease, log, this.requestOptions, (ttlMs) => {
@@ -5,9 +5,8 @@ import {
5
5
  } from "./chunk-HTQTIKWP.js";
6
6
  import {
7
7
  commandPathOf,
8
- findCommand,
9
8
  outputOf
10
- } from "./chunk-ZW5KHKMA.js";
9
+ } from "./chunk-G2TSDMTA.js";
11
10
  import {
12
11
  Command,
13
12
  Help,
@@ -18,123 +17,18 @@ import {
18
17
  environmentOf,
19
18
  metaOf,
20
19
  takesProfile
21
- } from "./chunk-7OD3522V.js";
20
+ } from "./chunk-FJMRDRPN.js";
22
21
  import {
23
22
  writes
24
- } from "./chunk-UVZLK3M4.js";
23
+ } from "./chunk-4RJL32PF.js";
25
24
  import {
26
25
  CliError
27
- } from "./chunk-ELJUBPY4.js";
26
+ } from "./chunk-EA2OB75T.js";
28
27
  import {
29
28
  __name
30
29
  } from "./chunk-ZVVMGPBJ.js";
31
30
 
32
- // 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/help/sections.js
33
- var SECTIONS = {
34
- read: "Read",
35
- write: "Write",
36
- organise: "Organise",
37
- automate: "Automate",
38
- setup: "Set up",
39
- other: "Other"
40
- };
41
- var sections = /* @__PURE__ */ new WeakMap();
42
- var inSection = /* @__PURE__ */ __name((command, section) => {
43
- sections.set(command, section);
44
- return command;
45
- }, "inSection");
46
- var sectionOf = /* @__PURE__ */ __name((command) => {
47
- for (let at = command; at; at = at.parent) {
48
- const section = sections.get(at) ?? (at.parent && !at.parent.parent ? CORE_SECTIONS[at.name()] : void 0);
49
- if (section)
50
- return section;
51
- }
52
- return "other";
53
- }, "sectionOf");
54
- var CORE_SECTIONS = {
55
- attachments: "read",
56
- chats: "read",
57
- contacts: "read",
58
- conversations: "read",
59
- images: "read",
60
- inbox: "read",
61
- meetings: "read",
62
- mentions: "read",
63
- messages: "read",
64
- review: "read",
65
- search: "read",
66
- stats: "read",
67
- topics: "read",
68
- watch: "read",
69
- flood: "write",
70
- polls: "write",
71
- reactions: "write",
72
- recipients: "write",
73
- sends: "write",
74
- metadata: "organise",
75
- searches: "organise",
76
- tags: "organise",
77
- tasks: "organise",
78
- bot: "automate",
79
- mcp: "automate",
80
- replies: "automate",
81
- runs: "automate",
82
- schedule: "automate",
83
- templates: "automate",
84
- serve: "automate",
85
- server: "automate",
86
- account: "setup",
87
- commands: "setup",
88
- complete: "setup",
89
- config: "setup",
90
- doctor: "setup",
91
- guide: "setup",
92
- models: "setup",
93
- skill: "setup",
94
- store: "setup",
95
- upgrade: "setup"
96
- };
97
-
98
- // 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/help/commands-text.js
99
- var DESCRIPTION = 90;
100
- var COLUMN = 52;
101
- var short = /* @__PURE__ */ __name((text) => {
102
- const line = text.replace(/\s+/g, " ").trim();
103
- if (line.length <= DESCRIPTION)
104
- return line;
105
- const cut = line.slice(0, DESCRIPTION);
106
- return `${cut.slice(0, Math.max(cut.lastIndexOf(" "), DESCRIPTION / 2))}\u2026`;
107
- }, "short");
108
- var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
109
- const cli = root.name();
110
- const runs = /* @__PURE__ */ __name((info) => [
111
- ...info.commands.length === 0 || info.runnable ? [info] : [],
112
- ...info.commands.flatMap(runs)
113
- ], "runs");
114
- const bySection = new Map(Object.keys(SECTIONS).map((key) => [key, []]));
115
- for (const info of commands.flatMap(runs))
116
- bySection.get(sectionOf(findCommand(root, info.path)))?.push(info);
117
- const where = scope ? `${cli} ${scope.join(" ")}` : cli;
118
- const lines = [
119
- `${where} commands, by section. One command's arguments and options: ${cli} <command> --help.`,
120
- `As JSON: ${cli} commands${scope ? ` ${scope.join(" ")}` : ""} --json. (writes) marks a command that changes something.`
121
- ];
122
- for (const [section, infos] of bySection) {
123
- if (infos.length === 0)
124
- continue;
125
- lines.push("", SECTIONS[section]);
126
- for (const { usage, summary, description, effects, availability } of infos) {
127
- const what = short(summary ?? description);
128
- const mark = effects === void 0 || writes(effects) ? " (writes)" : "";
129
- const access = availability?.available === false ? ` [unavailable: ${availability.reason}]` : "";
130
- lines.push(` ${usage.padEnd(COLUMN)} ${what}${mark}${access}`.trimEnd());
131
- }
132
- }
133
- return `${lines.join("\n")}
134
- `;
135
- }, "commandsText");
136
-
137
- // 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/help/command-help.js
31
+ // 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/help/command-help.js
138
32
  var ARGUMENT_KINDS = {
139
33
  chat: "chat",
140
34
  chats: "chat",
@@ -212,8 +106,8 @@ var nextUsually = /* @__PURE__ */ __name((command, choice) => {
212
106
  return command;
213
107
  }, "nextUsually");
214
108
  var kindOfArgument = /* @__PURE__ */ __name((argument) => ARGUMENT_KINDS[argument.name()], "kindOfArgument");
215
- var runsItself = /* @__PURE__ */ __name((command) => command._actionHandler != null, "runsItself");
216
- var leaves = /* @__PURE__ */ __name((command) => command.commands.filter((child) => !child._hidden).flatMap((child) => child.commands.length === 0 ? [child] : [...runsItself(child) ? [child] : [], ...leaves(child)]), "leaves");
109
+ var runs = /* @__PURE__ */ __name((command) => command.commands.length === 0 || Boolean(command._actionHandler), "runs");
110
+ var leaves = /* @__PURE__ */ __name((command) => command.commands.filter((child) => !child._hidden).flatMap((child) => [...runs(child) ? [child] : [], ...leaves(child)]), "leaves");
217
111
  var rootOf = /* @__PURE__ */ __name((command) => {
218
112
  let at = command;
219
113
  while (at.parent)
@@ -236,7 +130,7 @@ var returnsOf = /* @__PURE__ */ __name((command) => {
236
130
  const output = metaOf(command).output;
237
131
  const { item, coverage } = outputOf(command);
238
132
  if (!output || coverage !== "declared-entity")
239
- return short(command.summary() || command.description()) || "not declared";
133
+ return "";
240
134
  const fields = [...new Set(fieldsOf(item))];
241
135
  const noun = (output.view ? `${output.entity} ${output.view}` : output.entity).replaceAll("_", " ");
242
136
  const more = fields.length > 8 ? `, and ${fields.length - 8} more` : "";
@@ -318,7 +212,7 @@ var commandHelpText = /* @__PURE__ */ __name((command) => {
318
212
  return [
319
213
  "",
320
214
  ...access,
321
- ...rows("Returns:", [returns]),
215
+ ...rows("Returns:", returns ? [returns] : []),
322
216
  ...rows("Next usually:", next),
323
217
  ...rows("Example:", examples),
324
218
  ""
@@ -326,12 +220,12 @@ var commandHelpText = /* @__PURE__ */ __name((command) => {
326
220
  }, "commandHelpText");
327
221
  var commandHelpMarkdown = /* @__PURE__ */ __name((root, path) => {
328
222
  const command = commandAt(root, path.join(" "));
329
- if (!command || command.commands.length > 0 && !runsItself(command))
223
+ if (!command || !runs(command))
330
224
  return [];
331
225
  const { returns, next, examples } = commandHelp(command);
332
226
  const code = /* @__PURE__ */ __name((values) => values.map((value) => `\`${value}\``).join(", "), "code");
333
227
  return [
334
- `**Returns:** ${returns}`,
228
+ ...returns ? [`**Returns:** ${returns}`] : [],
335
229
  ...next.length > 0 ? [`**Next usually:** ${code(next)}`] : [],
336
230
  `**Example:** ${code(examples)}`
337
231
  ];
@@ -356,7 +250,7 @@ var exampleReport = /* @__PURE__ */ __name((program) => {
356
250
  return { written, generated, text };
357
251
  }, "exampleReport");
358
252
 
359
- // 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/help/first-screen.js
253
+ // 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/help/first-screen.js
360
254
  var WIRECAT_TOOLS = [
361
255
  {
362
256
  command: "tg",
@@ -403,6 +297,11 @@ var WIRECAT_TOOLS = [
403
297
  command: "b24",
404
298
  package: "@wirecat/bitrix24-cli",
405
299
  does: "Bitrix24 CRM: deals, leads and pipelines, searchable with your other WireCat data"
300
+ },
301
+ {
302
+ command: "pbx",
303
+ package: "@wirecat/asterisk-cli",
304
+ does: "Asterisk PBX calls and recordings, searchable with your other WireCat data"
406
305
  }
407
306
  ];
408
307
  var WIDTH = 100;
@@ -494,9 +393,6 @@ var installHelp = /* @__PURE__ */ __name((program, screen = {}) => {
494
393
  }, "installHelp");
495
394
 
496
395
  export {
497
- SECTIONS,
498
- inSection,
499
- commandsText,
500
396
  nextUsually,
501
397
  commandHelp,
502
398
  commandHelpText,
@@ -6,21 +6,21 @@ import {
6
6
  answerSchema,
7
7
  describeOptions,
8
8
  metaOf
9
- } from "./chunk-7OD3522V.js";
9
+ } from "./chunk-FJMRDRPN.js";
10
10
  import {
11
11
  keyForCommand
12
- } from "./chunk-LA6QUVGQ.js";
12
+ } from "./chunk-OMLVWOEF.js";
13
13
  import {
14
14
  jsonSchemaOf
15
- } from "./chunk-UVZLK3M4.js";
15
+ } from "./chunk-4RJL32PF.js";
16
16
  import {
17
17
  CliError
18
- } from "./chunk-ELJUBPY4.js";
18
+ } from "./chunk-EA2OB75T.js";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-ZVVMGPBJ.js";
22
22
 
23
- // 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/command-contract.js
23
+ // 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-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);
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  refuseLacking
5
- } from "./chunk-OY6N2ABP.js";
5
+ } from "./chunk-2BAZRRJP.js";
6
6
  import {
7
7
  servingProfiles
8
- } from "./chunk-SXZGCD6E.js";
8
+ } from "./chunk-3ADFJ3UP.js";
9
9
  import {
10
10
  FloodMemory,
11
11
  OFFLINE,
@@ -21,17 +21,7 @@ import {
21
21
  servicesFor,
22
22
  throughWrapper,
23
23
  withFileLockAsync
24
- } from "./chunk-5X4IY5JH.js";
25
- import {
26
- openStore
27
- } from "./chunk-24OFZNRC.js";
28
- import {
29
- chatReferenceOf,
30
- ensureAccount,
31
- foldName,
32
- isId,
33
- pickPerson
34
- } from "./chunk-ZHA56THL.js";
24
+ } from "./chunk-OU5OXA6Q.js";
35
25
  import {
36
26
  asFirstWord,
37
27
  baseContext,
@@ -42,39 +32,50 @@ import {
42
32
  recalledAccount,
43
33
  rememberAccount,
44
34
  rootOf2 as rootOf
45
- } from "./chunk-7OD3522V.js";
35
+ } from "./chunk-FJMRDRPN.js";
46
36
  import {
47
37
  providerErrorKey
48
- } from "./chunk-QA6KIL7Q.js";
38
+ } from "./chunk-ILDGZBZD.js";
49
39
  import {
50
40
  codeOf,
51
41
  currentOperation,
52
42
  limitBatch
53
- } from "./chunk-JAEPK457.js";
43
+ } from "./chunk-USIMMGWS.js";
54
44
  import {
55
45
  AUTHORITY_KEY,
56
46
  CEILING_KEY,
57
47
  DEFAULT_PERMISSIONS,
48
+ KEYED_UNDER_HOUSEKEEPING,
58
49
  WRITE_KEYS,
59
50
  keyForCommand,
60
51
  levelFor,
61
52
  readKeysForCommand,
62
53
  skipFlagFor
63
- } from "./chunk-LA6QUVGQ.js";
54
+ } from "./chunk-OMLVWOEF.js";
55
+ import {
56
+ openStore
57
+ } from "./chunk-HO3GBTIT.js";
58
+ import {
59
+ chatReferenceOf,
60
+ ensureAccount,
61
+ foldName,
62
+ isId,
63
+ pickPerson
64
+ } from "./chunk-K5JFX5TK.js";
64
65
  import {
65
66
  isCliFailure
66
- } from "./chunk-WZGKHTA4.js";
67
+ } from "./chunk-UYBLNGZ2.js";
67
68
  import {
68
69
  resolvePaths
69
- } from "./chunk-S7SXSHRC.js";
70
+ } from "./chunk-HNWDEDMU.js";
70
71
  import {
71
72
  CliError
72
- } from "./chunk-ELJUBPY4.js";
73
+ } from "./chunk-EA2OB75T.js";
73
74
  import {
74
75
  __name
75
76
  } from "./chunk-ZVVMGPBJ.js";
76
77
 
77
- // 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/ask.js
78
+ // 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/ask.js
78
79
  import { openSync } from "node:fs";
79
80
  import { createInterface } from "node:readline";
80
81
  import { ReadStream } from "node:tty";
@@ -129,7 +130,7 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
129
130
  throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
130
131
  }, "terminalAsker");
131
132
 
132
- // 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/permission-keys.js
133
+ // 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/permission-keys.js
133
134
  var HOUSEKEEPING = /* @__PURE__ */ new Set([
134
135
  "help",
135
136
  "guide",
@@ -143,7 +144,7 @@ var HOUSEKEEPING = /* @__PURE__ */ new Set([
143
144
  "mcp",
144
145
  "runs"
145
146
  ]);
146
- var commandPathKey = /* @__PURE__ */ __name((path) => path[0] === void 0 || HOUSEKEEPING.has(path[0]) ? null : path.join("."), "commandPathKey");
147
+ var commandPathKey = /* @__PURE__ */ __name((path) => path[0] === void 0 || HOUSEKEEPING.has(path[0]) && !KEYED_UNDER_HOUSEKEEPING.has(path.join(".")) ? null : path.join("."), "commandPathKey");
147
148
  var commandPermissions = /* @__PURE__ */ __name(({ keyOf = commandPathKey, extra = [], defaults = {}, alsoChecks } = {}) => ({
148
149
  keyOf,
149
150
  extra: [AUTHORITY_KEY, ...extra],
@@ -209,7 +210,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
209
210
  throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
210
211
  }, "refuseUnknownPermissionKeys");
211
212
 
212
- // 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/stored.js
213
+ // 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/stored.js
213
214
  var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
214
215
  var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
215
216
  let warned = false;
@@ -785,7 +786,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
785
786
  }
786
787
  }, "keep");
787
788
 
788
- // 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/sends/pace.js
789
+ // 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/sends/pace.js
789
790
  import { readFileSync, renameSync, writeFileSync } from "node:fs";
790
791
  import { join } from "node:path";
791
792
  var DEFAULT_PACE = { perMinute: 60, burst: 20 };
@@ -880,7 +881,7 @@ var waitForTurn = /* @__PURE__ */ __name(async (pacer, options) => {
880
881
  await (options.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms))))(waitMs);
881
882
  }, "waitForTurn");
882
883
 
883
- // 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/flooded.js
884
+ // 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/flooded.js
884
885
  var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
885
886
  var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
886
887
  var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
@@ -977,7 +978,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
977
978
  });
978
979
  }, "flooded");
979
980
 
980
- // 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/observed.js
981
+ // 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/observed.js
981
982
  var observed = /* @__PURE__ */ __name((messenger, events) => {
982
983
  const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
983
984
  const write = currentOperation();
@@ -1076,7 +1077,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
1076
1077
  counts[part] = (counts[part] ?? 0) + items.length;
1077
1078
  }, "byPart");
1078
1079
 
1079
- // 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/context.js
1080
+ // 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/context.js
1080
1081
  var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
1081
1082
  let opened;
1082
1083
  return {
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  checkCancelled
5
- } from "./chunk-ERJYJ36F.js";
5
+ } from "./chunk-ZMHZ6CQS.js";
6
6
  import {
7
7
  BASE_CONSTANTS,
8
8
  baseConstantsSchema,
9
9
  loadConstants
10
- } from "./chunk-S7SXSHRC.js";
10
+ } from "./chunk-HNWDEDMU.js";
11
11
  import {
12
12
  nonEmpty,
13
13
  object,
@@ -15,15 +15,15 @@ import {
15
15
  pipe,
16
16
  string,
17
17
  transform
18
- } from "./chunk-UVZLK3M4.js";
18
+ } from "./chunk-4RJL32PF.js";
19
19
  import {
20
20
  CliError
21
- } from "./chunk-ELJUBPY4.js";
21
+ } from "./chunk-EA2OB75T.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // 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/constants/obscure.js
26
+ // 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/constants/obscure.js
27
27
  import { createDecipheriv } from "node:crypto";
28
28
  var KEY = Buffer.from("d43012779aa2dded3e98092a3dbcf5d8980c564172f5ce0a5fd0574e5f740339", "hex");
29
29
  var reveal = /* @__PURE__ */ __name((obscured) => {
@@ -32,7 +32,7 @@ var reveal = /* @__PURE__ */ __name((obscured) => {
32
32
  return Buffer.concat([decipher.update(bytes.subarray(16)), decipher.final()]).toString("utf8");
33
33
  }, "reveal");
34
34
 
35
- // 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/constants/index.js
35
+ // 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/constants/index.js
36
36
  var CORE_CONSTANTS = new URL("../../constants.json", new URL("constants/index.js", import.meta.resolve("@wirecat/cli-core")).href);
37
37
  var constantsSchema = object({
38
38
  ...baseConstantsSchema.entries,
@@ -5,23 +5,23 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-D24OQAHM.js";
8
+ } from "./chunk-4LFFDUUW.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-ELJUBPY4.js";
14
+ } from "./chunk-EA2OB75T.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // 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/embeddings/embed.js
19
+ // 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/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.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // 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/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.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // 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/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.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
861
+ // 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/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");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // 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/sanitize.js
7
+ // 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/sanitize.js
8
8
  var CONTROL = (
9
9
  // biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
10
10
  /[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu