@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
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // 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/private-files.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/messenger/private-files.js
8
8
  import { existsSync, statSync } from "node:fs";
9
9
  var shellQuoted = /* @__PURE__ */ __name((path) => `'${path.replaceAll("'", `'\\''`)}'`, "shellQuoted");
10
10
  var privateFiles = /* @__PURE__ */ __name(({ files, dirs }, platform = process.platform) => {
@@ -0,0 +1,73 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ hostFetch
5
+ } from "./chunk-MAE5UGRQ.js";
6
+ import {
7
+ CliError,
8
+ isCliError
9
+ } from "./chunk-EA2OB75T.js";
10
+ import {
11
+ __name
12
+ } from "./chunk-ZVVMGPBJ.js";
13
+
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/models/endpoint.js
15
+ var endpoint = /* @__PURE__ */ __name((value) => {
16
+ try {
17
+ const url = new URL(value);
18
+ return ["https:", "http:"].includes(url.protocol) && !url.username && !url.password && !url.search && !url.hash;
19
+ } catch {
20
+ return false;
21
+ }
22
+ }, "endpoint");
23
+ var loopback = /* @__PURE__ */ __name((hostname) => hostname === "localhost" || hostname === "[::1]" || /^127(\.\d{1,3}){3}$/.test(hostname), "loopback");
24
+ var onThisComputer = /* @__PURE__ */ __name((value) => {
25
+ try {
26
+ return loopback(new URL(value).hostname);
27
+ } catch {
28
+ return false;
29
+ }
30
+ }, "onThisComputer");
31
+ var modelAddressAllowed = /* @__PURE__ */ __name((value) => endpoint(value) && (new URL(value).protocol === "https:" || onThisComputer(value)), "modelAddressAllowed");
32
+ var PLAIN_HTTP_REFUSED = "this address is not allowed: use https, or http only on this computer";
33
+ var literalFetch = /* @__PURE__ */ __name((hostname, timeoutMs) => async (input, init = {}) => {
34
+ const url = new URL(input instanceof Request ? input.url : String(input));
35
+ if (url.hostname !== hostname)
36
+ throw new CliError("configuration_error", `${url.hostname} is not the model address's host, ${hostname}`, {
37
+ reason: "network.host-undeclared",
38
+ sent: false
39
+ });
40
+ const deadline = AbortSignal.timeout(timeoutMs);
41
+ const signal = init.signal ? AbortSignal.any([init.signal, deadline]) : deadline;
42
+ try {
43
+ const response = await fetch(input, { ...init, signal, redirect: "manual" });
44
+ if (response.status >= 300 && response.status < 400) {
45
+ void response.body?.cancel().catch(() => {
46
+ });
47
+ throw new CliError("invalid_response", `${hostname} answered with a redirect, which is not followed`);
48
+ }
49
+ return response;
50
+ } catch (error) {
51
+ if (isCliError(error))
52
+ throw error;
53
+ if (init.signal?.aborted)
54
+ throw new CliError("cancelled", "request cancelled");
55
+ if (deadline.aborted)
56
+ throw new CliError("timeout", `${hostname} did not answer within ${timeoutMs} ms`, { retryable: true });
57
+ throw new CliError("network_error", `${hostname} could not be reached`, { retryable: true });
58
+ }
59
+ }, "literalFetch");
60
+ var endpointFetch = /* @__PURE__ */ __name((address, timeoutMs) => {
61
+ const { hostname } = new URL(address);
62
+ if (hostname === "[::1]")
63
+ return fetch;
64
+ return hostname.startsWith("[") ? literalFetch(hostname, timeoutMs) : hostFetch({ hosts: [hostname], timeoutMs });
65
+ }, "endpointFetch");
66
+
67
+ export {
68
+ endpoint,
69
+ onThisComputer,
70
+ modelAddressAllowed,
71
+ PLAIN_HTTP_REFUSED,
72
+ endpointFetch
73
+ };
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  isCliFailure,
5
5
  isStoreDamage
6
- } from "./chunk-WZGKHTA4.js";
6
+ } from "./chunk-UYBLNGZ2.js";
7
7
  import {
8
8
  ADDED_PROVIDER,
9
9
  INTERNAL_NOTES,
@@ -17,16 +17,16 @@ import {
17
17
  kindsIn,
18
18
  providerNamed,
19
19
  providers
20
- } from "./chunk-VIV64MQM.js";
20
+ } from "./chunk-QS6DWXDB.js";
21
21
  import {
22
22
  refuseOwnerStoreInTests
23
- } from "./chunk-3KRTEX5M.js";
23
+ } from "./chunk-ERQRY6WZ.js";
24
24
  import {
25
25
  createRecordLog,
26
26
  resolvePaths,
27
27
  traceIdOf,
28
28
  writeSecurely
29
- } from "./chunk-S7SXSHRC.js";
29
+ } from "./chunk-HNWDEDMU.js";
30
30
  import {
31
31
  array,
32
32
  boolean,
@@ -45,21 +45,21 @@ import {
45
45
  strictObject,
46
46
  string,
47
47
  unknown
48
- } from "./chunk-UVZLK3M4.js";
48
+ } from "./chunk-4RJL32PF.js";
49
49
  import {
50
50
  CliError
51
- } from "./chunk-ELJUBPY4.js";
51
+ } from "./chunk-EA2OB75T.js";
52
52
  import {
53
53
  __name
54
54
  } from "./chunk-ZVVMGPBJ.js";
55
55
 
56
- // 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/runs/run.js
56
+ // 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/runs/run.js
57
57
  import { randomUUID } from "node:crypto";
58
58
  import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
59
59
  import { userInfo } from "node:os";
60
60
  import { join, sep } from "node:path";
61
61
 
62
- // 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/runs/log-keys.js
62
+ // 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/runs/log-keys.js
63
63
  var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
64
64
  var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
65
65
  var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
@@ -72,7 +72,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
72
72
  error: /* @__PURE__ */ __name((event, message) => logger.error(logAttributes(event), message), "error")
73
73
  }), "snakeLogger");
74
74
 
75
- // 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/runs/log-attributes.js
75
+ // 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/runs/log-attributes.js
76
76
  var diagnostic = {
77
77
  event: true,
78
78
  operation: true,
@@ -146,7 +146,7 @@ var LOG_ATTRIBUTES = [
146
146
  ...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
147
147
  ].sort();
148
148
 
149
- // 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/runs/run.js
149
+ // 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/runs/run.js
150
150
  var KEEP_RUNS_FOR_DAYS = 30;
151
151
  var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
152
152
  var KEEP_STORE_RUNS_FOR_DAYS = 3;
@@ -513,7 +513,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
513
513
  };
514
514
  }, "metadataOf");
515
515
 
516
- // 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/runs/scope.js
516
+ // 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/runs/scope.js
517
517
  import { AsyncLocalStorage } from "node:async_hooks";
518
518
  import { randomBytes } from "node:crypto";
519
519
  var scopes = new AsyncLocalStorage();
@@ -566,14 +566,14 @@ var attempts = new AsyncLocalStorage();
566
566
  var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
567
567
  var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
568
568
 
569
- // 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/store/source-review.js
569
+ // 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/store/source-review.js
570
570
  var SOURCE_REVIEW_KIND = "memory_source_review";
571
571
  var SOURCE_REVIEW_CAUSES = ["changed", "outdated", "deleted", "contradicted"];
572
572
  var ERASED_TEXT = "[source erased]";
573
573
  var severity = /* @__PURE__ */ __name((cause) => SOURCE_REVIEW_CAUSES.indexOf(cause), "severity");
574
574
  var graver = /* @__PURE__ */ __name((a, b) => severity(b) > severity(a) ? b : a, "graver");
575
575
 
576
- // 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/tasks/model.js
576
+ // 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/tasks/model.js
577
577
  var TASK_KINDS = ["question", "request", "mention", "promise"];
578
578
  var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
579
579
  var CLOSED_STATES = ["done", "dismissed"];
@@ -588,7 +588,7 @@ function closeTask(task, state, by, at, reason) {
588
588
  }
589
589
  __name(closeTask, "closeTask");
590
590
 
591
- // 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/tasks/priority.js
591
+ // 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/tasks/priority.js
592
592
  var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
593
593
  var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
594
594
  var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
@@ -617,7 +617,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
617
617
  }, "priorityOf");
618
618
  var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
619
619
 
620
- // 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/tasks/service.js
620
+ // 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/tasks/service.js
621
621
  function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
622
622
  async function find(id2) {
623
623
  const task = await store.get(id2);
@@ -677,13 +677,13 @@ function median(values) {
677
677
  }
678
678
  __name(median, "median");
679
679
 
680
- // 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/tasks/store.js
680
+ // 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/tasks/store.js
681
681
  function matches(task, filter) {
682
682
  return (filter.account === void 0 || task.account === filter.account) && (filter.state === void 0 || task.state === filter.state) && (filter.group === void 0 || task.group === filter.group) && (filter.kind === void 0 || task.kind === filter.kind) && (filter.createdBefore === void 0 || task.createdAt < filter.createdBefore);
683
683
  }
684
684
  __name(matches, "matches");
685
685
 
686
- // 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/domain/knowledge.js
686
+ // 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/domain/knowledge.js
687
687
  var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
688
688
  var MEMORY_KINDS = ["summary", "digest", "preference"];
689
689
  var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
@@ -691,10 +691,10 @@ var MEMORY_SCOPES = ["personal", "work"];
691
691
  var WORK_TASK_TYPES = ["bug", "feature", "chore"];
692
692
  var TASK_TYPES = [...WORK_TASK_TYPES, ...TASK_KINDS];
693
693
 
694
- // 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/domain/categories.js
694
+ // 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/domain/categories.js
695
695
  var CATEGORIES = ["client", "supplier", "partner", "employer"];
696
696
 
697
- // 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/entities/fields.js
697
+ // 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/entities/fields.js
698
698
  var text = string();
699
699
  var id = pipe(string(), minLength(1));
700
700
  var time = isoTime;
@@ -719,7 +719,7 @@ var author = strictObject({
719
719
  name: nullable(text)
720
720
  });
721
721
 
722
- // 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/entities/knowledge-lists.js
722
+ // 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/entities/knowledge-lists.js
723
723
  var organization = strictObject({
724
724
  id,
725
725
  ref: reference,
@@ -749,7 +749,7 @@ var reminder = strictObject({
749
749
  receipt: nullable(text)
750
750
  });
751
751
 
752
- // 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/store/marks.js
752
+ // 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/store/marks.js
753
753
  import { readFileSync as readFileSync2, rmSync as rmSync2, statSync as statSync2, writeFileSync as writeFileSync2 } from "node:fs";
754
754
  var damageMarkPath = /* @__PURE__ */ __name((store) => `${store}.damaged.json`, "damageMarkPath");
755
755
  var healthMarkPath = /* @__PURE__ */ __name((store) => `${store}.health.json`, "healthMarkPath");
@@ -870,7 +870,7 @@ var recordDeepCheck = /* @__PURE__ */ __name((store, health, { cli, version, sch
870
870
  return { previous, cleared };
871
871
  }, "recordDeepCheck");
872
872
 
873
- // 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/search/query.js
873
+ // 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/search/query.js
874
874
  var isBotProvider = /* @__PURE__ */ __name((provider) => provider.endsWith("-bot"), "isBotProvider");
875
875
  var inSource = /* @__PURE__ */ __name((source, provider) => source === "all" || source === "bots" && isBotProvider(provider) || source === "personal" && !isBotProvider(provider) || source === provider || providerNamed(source)?.name === provider || isKind(source) && holdsKindOf(provider, source), "inSource");
876
876
  var fail = /* @__PURE__ */ __name((message) => {
@@ -893,7 +893,7 @@ var sourceOf = /* @__PURE__ */ __name((name, value, providers2) => {
893
893
  return fail(`${name} takes ${[...sources, "messages", "mail"].join(", ")} \u2014 not "${value}"`);
894
894
  }, "sourceOf");
895
895
 
896
- // 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/search/account-list.js
896
+ // 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/search/account-list.js
897
897
  var ACCOUNT_GROUPS = "accountGroups";
898
898
  var ACCOUNT_GROUPS_SETTING = "account_groups";
899
899
  var GROUP_NAME = /^[a-z0-9][a-z0-9_-]*$/i;
@@ -1103,7 +1103,7 @@ var fitting = /* @__PURE__ */ __name((entries, kinds, what, reasonOf = (kind) =>
1103
1103
  return { accounts: [...chosen.values()], skipped };
1104
1104
  }, "fitting");
1105
1105
 
1106
- // 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/store/sqlite/link-source.js
1106
+ // 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/store/sqlite/link-source.js
1107
1107
  var REPORTER_SQL = "(SELECT provider || ':' || external_id FROM accounts r WHERE r.id = links.account_id) AS reporter";
1108
1108
  var sourceOf3 = /* @__PURE__ */ __name((database, row, metadata) => {
1109
1109
  const reporter = row.account_id == null ? void 0 : "reporter" in row ? row.reporter : database.prepare("SELECT provider || ':' || external_id AS key FROM accounts WHERE id = ?").get(Number(row.account_id))?.key;
@@ -1113,7 +1113,7 @@ var sourceOf3 = /* @__PURE__ */ __name((database, row, metadata) => {
1113
1113
  };
1114
1114
  }, "sourceOf");
1115
1115
 
1116
- // 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/store/sqlite/link-kinds.js
1116
+ // 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/store/sqlite/link-kinds.js
1117
1117
  var LINK_KINDS = [
1118
1118
  "links-to",
1119
1119
  "blocked-by",
@@ -1133,7 +1133,7 @@ var LINK_KINDS = [
1133
1133
  "attached"
1134
1134
  ];
1135
1135
  var LINK_ORIGINS = ["file", "owner", "suggested", "message"];
1136
- var LINK_SOURCES = [...LINK_ORIGINS, "calendar"];
1136
+ var LINK_SOURCES = [...LINK_ORIGINS, "calendar", "meeting"];
1137
1137
  var linkKind = /* @__PURE__ */ __name((kind) => `'${kind}'`, "linkKind");
1138
1138
  var COUNTERPART_ROLE = "counterpart";
1139
1139
 
@@ -1,27 +1,29 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
- ensureSqlite,
5
4
  isCommandServer
6
- } from "./chunk-RJTGENHZ.js";
5
+ } from "./chunk-2VYEGKQ3.js";
7
6
  import {
8
7
  envName,
9
8
  readOnlyLockOf
10
- } from "./chunk-N4QNYWWG.js";
9
+ } from "./chunk-MOKEB656.js";
10
+ import {
11
+ ensureSqlite
12
+ } from "./chunk-OKOJEBHK.js";
11
13
  import {
12
14
  catchCrashes
13
- } from "./chunk-UVZLK3M4.js";
15
+ } from "./chunk-4RJL32PF.js";
14
16
  import {
15
17
  CliError
16
- } from "./chunk-ELJUBPY4.js";
18
+ } from "./chunk-EA2OB75T.js";
17
19
  import {
18
20
  __name
19
21
  } from "./chunk-ZVVMGPBJ.js";
20
22
 
21
- // 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/entry.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/entry.js
22
24
  import { spawn } from "node:child_process";
23
25
 
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/cli/argv-log.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/cli/argv-log.js
25
27
  import { appendFileSync } from "node:fs";
26
28
  var logParsedArgv = /* @__PURE__ */ __name((file, action) => {
27
29
  const words = [];
@@ -45,7 +47,7 @@ var logVersion = /* @__PURE__ */ __name((file) => {
45
47
  `);
46
48
  }, "logVersion");
47
49
 
48
- // 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/entry.js
50
+ // 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/entry.js
49
51
  var processIo = /* @__PURE__ */ __name(() => ({
50
52
  argv: process.argv,
51
53
  env: process.env,
@@ -65,7 +67,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
65
67
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-V"))
66
68
  return printVersion(entry.app, io);
67
69
  if (isCommandServer(args)) {
68
- const { serveEntry } = await import("./command-server-entry-FXX4LJWF.js");
70
+ const { serveEntry } = await import("./command-server-entry-CASONRIJ.js");
69
71
  return serveEntry(entry, io, { firstRunAt, commanderExit });
70
72
  }
71
73
  const tty = io.stdout.isTTY === true;
@@ -103,7 +105,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
103
105
  ask: /* @__PURE__ */ __name(async (question, command) => {
104
106
  if (headless(command) || io.stdin.isTTY !== true)
105
107
  return false;
106
- const { readSecret } = await import("./prompt-HMCW4XQJ.js");
108
+ const { readSecret } = await import("./prompt-2IPFXJ4B.js");
107
109
  const answer = await readSecret(`${question} [y/N] `, {
108
110
  input: io.stdin,
109
111
  output: io.stderr,
@@ -146,8 +148,8 @@ var firstRunAt = /* @__PURE__ */ __name((entry, io, headless) => async (command)
146
148
  if (command.optsWithGlobals().dryRun === true)
147
149
  return;
148
150
  const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
149
- import("./first-run-KWC7RKF2.js"),
150
- import("./command-contract-TX7NSUBM.js")
151
+ import("./first-run-CPOLQVNA.js"),
152
+ import("./command-contract-FJDDCHYP.js")
151
153
  ]);
152
154
  await setupAtStart({
153
155
  command: entry.app.command,
@@ -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/installer.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/installer.js
8
8
  var installerOf = /* @__PURE__ */ __name((scriptPath) => {
9
9
  const path = scriptPath.replaceAll("\\", "/");
10
10
  if (path.includes("/_npx/"))