@wirecat/zoom-cli 0.68.0 → 0.70.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 (156) hide show
  1. package/README.md +1 -1
  2. package/dist/account-removal.d.ts +6 -0
  3. package/dist/account-removal.d.ts.map +1 -0
  4. package/dist/account-removal.js +43 -0
  5. package/dist/account-removal.js.map +1 -0
  6. package/dist/bin/zm.js +2 -2
  7. package/dist/bundle/{all-profiles-R66UM3HM.js → all-profiles-GE2TFJJP.js} +9 -9
  8. package/dist/bundle/answer-policy-GOXSDYDD.js +104 -0
  9. package/dist/bundle/{anthropic-4ZI2BPLG.js → anthropic-FA6NHENI.js} +9 -7
  10. package/dist/bundle/{app-server-64O5IQI5.js → app-server-IRADMSNX.js} +50 -50
  11. package/dist/bundle/{bun-HUHQD76Z.js → bun-ZYZGGCX5.js} +2 -2
  12. package/dist/bundle/{bun-sqlite-VOVHPTIF.js → bun-sqlite-Y24TUIGS.js} +4 -4
  13. package/dist/bundle/{chunk-W42BJ65M.js → chunk-2JEM2YNV.js} +1 -1
  14. package/dist/bundle/{chunk-3BRV2YU2.js → chunk-2QFPVUM3.js} +2 -2
  15. package/dist/bundle/{chunk-KAPJQGHE.js → chunk-2U6SER67.js} +1 -1
  16. package/dist/bundle/{chunk-77I67HWF.js → chunk-3KC7C465.js} +7 -7
  17. package/dist/bundle/{chunk-YQRNFG2E.js → chunk-4DSIWYGO.js} +7661 -13544
  18. package/dist/bundle/{chunk-7DUYFITC.js → chunk-56OV5ASY.js} +11 -11
  19. package/dist/bundle/{chunk-AVEIQMHZ.js → chunk-5XWCBLUR.js} +1 -1
  20. package/dist/bundle/{chunk-HXOAPH47.js → chunk-6HJFIMT7.js} +1 -1
  21. package/dist/bundle/{chunk-SSPSNSC5.js → chunk-6IF5ZHDS.js} +1 -1
  22. package/dist/bundle/{chunk-BOAMDYLY.js → chunk-7QC4M4HS.js} +2 -2
  23. package/dist/bundle/{chunk-6T3P226D.js → chunk-AISJCF7A.js} +4 -4
  24. package/dist/bundle/chunk-AT2XKNFN.js +342 -0
  25. package/dist/bundle/{chunk-BSM43OMN.js → chunk-AUNW7N4I.js} +1 -1
  26. package/dist/bundle/{chunk-R7LFGEDE.js → chunk-BSS6HX4O.js} +2 -2
  27. package/dist/bundle/{chunk-FMQS7HCC.js → chunk-BVWF4B33.js} +251 -10
  28. package/dist/bundle/{chunk-DGNPJGD3.js → chunk-CEJJBZAE.js} +9 -15
  29. package/dist/bundle/{chunk-L4WVLRXM.js → chunk-CHGUNZ3L.js} +3 -3
  30. package/dist/bundle/{chunk-LBOSTBAY.js → chunk-CIZ25UPK.js} +3841 -2497
  31. package/dist/bundle/{chunk-TN3FH2GQ.js → chunk-CSEBB4OP.js} +8 -8
  32. package/dist/bundle/{chunk-JO4YADNV.js → chunk-D3PNCJD5.js} +5 -5
  33. package/dist/bundle/{chunk-US5C3WAY.js → chunk-DCUWJITQ.js} +30 -30
  34. package/dist/bundle/{chunk-QXTREL2M.js → chunk-DNR4B5YV.js} +2 -2
  35. package/dist/bundle/{chunk-PUTGTW6W.js → chunk-DXCTW3MV.js} +1 -1
  36. package/dist/bundle/{chunk-B6JMVB6R.js → chunk-EOSVN2ER.js} +1 -1
  37. package/dist/bundle/{chunk-ZRD3NDOX.js → chunk-GB5X3GBE.js} +23 -1
  38. package/dist/bundle/{chunk-32FPA7P2.js → chunk-GVT5363M.js} +2 -2
  39. package/dist/bundle/{chunk-EWIBLDQQ.js → chunk-IINZIP73.js} +7 -7
  40. package/dist/bundle/{chunk-5JAYUG3X.js → chunk-IS3ZTT2Z.js} +5 -5
  41. package/dist/bundle/{chunk-LYWUG43B.js → chunk-IWPXWGF7.js} +34 -34
  42. package/dist/bundle/{chunk-JRCYFCPL.js → chunk-J3SKXICS.js} +350 -136
  43. package/dist/bundle/{chunk-UDJTRFRV.js → chunk-JRO2FWO2.js} +1 -1
  44. package/dist/bundle/chunk-JULBAECW.js +126 -0
  45. package/dist/bundle/{chunk-FNQASORM.js → chunk-KM736RMJ.js} +1 -1
  46. package/dist/bundle/{chunk-4TLPOY22.js → chunk-KWRCP55G.js} +11 -11
  47. package/dist/bundle/{chunk-SRP6SFFD.js → chunk-L24UOUWG.js} +1 -1
  48. package/dist/bundle/{chunk-AJ7CMUGD.js → chunk-LAG5O2FV.js} +218 -231
  49. package/dist/bundle/{chunk-UU5PLDRA.js → chunk-LXXCLQCW.js} +2 -2
  50. package/dist/bundle/{chunk-65T3PU75.js → chunk-M6JIXMQZ.js} +5 -1
  51. package/dist/bundle/{chunk-LV7QRR5S.js → chunk-M7E44TMT.js} +5 -5
  52. package/dist/bundle/{chunk-6XO7RTJY.js → chunk-M7VUXXGS.js} +110 -8
  53. package/dist/bundle/{chunk-A63ZFOQJ.js → chunk-MVOMLJYQ.js} +3 -3
  54. package/dist/bundle/{chunk-DVA6MQWK.js → chunk-OA37BWE5.js} +1 -1
  55. package/dist/bundle/{chunk-77KFLU5F.js → chunk-OAQLVV6W.js} +2 -2
  56. package/dist/bundle/{chunk-KNE6VFHZ.js → chunk-OORMSM6O.js} +1 -1
  57. package/dist/bundle/{chunk-TZUKDM72.js → chunk-PV6OHXHN.js} +16 -16
  58. package/dist/bundle/{chunk-2OSBCYJT.js → chunk-QL7EMFIC.js} +18 -18
  59. package/dist/bundle/{chunk-4YFJYSSK.js → chunk-QO2KPU26.js} +45 -29
  60. package/dist/bundle/{chunk-GOXDBCDM.js → chunk-RB33VTUW.js} +297 -397
  61. package/dist/bundle/{chunk-TDGZMC6K.js → chunk-RIPAUCKJ.js} +59 -55
  62. package/dist/bundle/{chunk-6CJ7NHIP.js → chunk-RO3ZR4VP.js} +12 -12
  63. package/dist/bundle/{chunk-BL36NSV5.js → chunk-RQG5VOGH.js} +12 -2
  64. package/dist/bundle/{chunk-YTF2WPV4.js → chunk-RRRJCHUC.js} +2162 -1250
  65. package/dist/bundle/chunk-RWIILYKW.js +66 -0
  66. package/dist/bundle/{chunk-YJY3W2ZT.js → chunk-SNIY3JDN.js} +21 -18
  67. package/dist/bundle/{chunk-EH5QGQFR.js → chunk-SVF3NDAO.js} +3 -3
  68. package/dist/bundle/{chunk-VLD7Y4SY.js → chunk-UVPL7YAY.js} +5 -5
  69. package/dist/bundle/{chunk-2T6XHWDX.js → chunk-V2E7QFZ3.js} +1 -1
  70. package/dist/bundle/{chunk-K67V24AT.js → chunk-V5GRSOCZ.js} +4 -4
  71. package/dist/bundle/{chunk-DWSUSWAX.js → chunk-VE2VNECR.js} +131 -12
  72. package/dist/bundle/{chunk-RRYUD2EF.js → chunk-VJ5ZU4UF.js} +22 -4
  73. package/dist/bundle/{chunk-7QNJICKZ.js → chunk-VNU5L37V.js} +26 -26
  74. package/dist/bundle/{chunk-6TJ62LZQ.js → chunk-VSLDWT4E.js} +3 -3
  75. package/dist/bundle/{chunk-P2TISY3R.js → chunk-W7ZEEC4K.js} +1 -1
  76. package/dist/bundle/{chunk-NRRI37NJ.js → chunk-WOIHSQAL.js} +44 -0
  77. package/dist/bundle/{chunk-EJDV5IIF.js → chunk-X4ZF4XXI.js} +1 -1
  78. package/dist/bundle/{chunk-FBLUKCIR.js → chunk-XRFHQGOD.js} +1 -1
  79. package/dist/bundle/{chunk-KUB2U5NT.js → chunk-XWQNJKTP.js} +5 -5
  80. package/dist/bundle/chunk-Y6C3N7YG.js +12434 -0
  81. package/dist/bundle/{chunk-474WF55M.js → chunk-YJSPBUGB.js} +63 -32
  82. package/dist/bundle/{chunk-RP3U3J53.js → chunk-YTN2JN6N.js} +7 -7
  83. package/dist/bundle/{chunk-Y5LP5SHV.js → chunk-YUHM2OJM.js} +10 -10
  84. package/dist/bundle/{chunk-7AUP2WT3.js → chunk-ZBKWRYRS.js} +2 -2
  85. package/dist/bundle/{chunk-355PHJYX.js → chunk-ZS55EERO.js} +1 -1
  86. package/dist/bundle/{chunk-TUNQ6NE2.js → chunk-ZSKE7N2U.js} +3 -3
  87. package/dist/bundle/{chunk-PIHBD3YS.js → chunk-ZV3INEKM.js} +4 -4
  88. package/dist/bundle/{cli-VQJ7ZRYR.js → cli-VRSQ7HAE.js} +76 -60
  89. package/dist/bundle/command-contract-RPRKHVU6.js +41 -0
  90. package/dist/bundle/config-QU6A6VIO.js +90 -0
  91. package/dist/bundle/{decode-L3ENO2XH.js → decode-523PUQMR.js} +4 -4
  92. package/dist/bundle/{dispatch-5MGDLOK4.js → dispatch-IZCAK47P.js} +1 -1
  93. package/dist/bundle/{dist-WQLS7U23.js → dist-6WWKPEVW.js} +98 -22
  94. package/dist/bundle/{echarts-5LLJ6JXC.js → echarts-S5UMX2D3.js} +2 -2
  95. package/dist/bundle/{embed-37MYTCU7.js → embed-ODPDVHUK.js} +5 -5
  96. package/dist/bundle/{embedder-GNGHVJAO.js → embedder-PAXRBSZE.js} +8 -8
  97. package/dist/bundle/{failure-CR64C4XA.js → failure-R2OIHCE5.js} +1 -1
  98. package/dist/bundle/{first-run-NR5JKYP3.js → first-run-NVTDR5VO.js} +8 -8
  99. package/dist/bundle/first-screen-5RWZDWLK.js +39 -0
  100. package/dist/bundle/{folders-VU4IN35Y.js → folders-ZXTOFY4T.js} +3 -3
  101. package/dist/bundle/{instructions-P72XX4AK.js → instructions-DUB7E6C5.js} +1 -1
  102. package/dist/bundle/{main-QYFCYSTW.js → main-A7JSYQI6.js} +18 -18
  103. package/dist/bundle/{meetings-66UQINKI.js → meetings-BDZQV3HR.js} +4 -4
  104. package/dist/bundle/{node-ZB4RNICS.js → node-E25KP53H.js} +2 -2
  105. package/dist/bundle/{node-sqlite-XPRKBDF3.js → node-sqlite-PHWDFZCP.js} +5 -5
  106. package/dist/bundle/{oauth-WJRDUU5J.js → oauth-G2K46IYP.js} +6 -6
  107. package/dist/bundle/{open-S2YSIEOW.js → open-INWS5HIZ.js} +4 -4
  108. package/dist/bundle/{openai-CRNZFNZD.js → openai-T44ORVGQ.js} +10 -10
  109. package/dist/bundle/{output-file-6COFGPUL.js → output-file-YGQYZCBJ.js} +4 -4
  110. package/dist/bundle/{process-XNN4WG6N.js → process-UJ2JHMJN.js} +1 -1
  111. package/dist/bundle/{program-BRPJKRCX.js → program-LYTGFV6L.js} +115 -72
  112. package/dist/bundle/{prompt-7RQOL25I.js → prompt-VTUCRCE4.js} +6 -4
  113. package/dist/bundle/{recognize-N5WADGQB.js → recognize-3CEPOW2F.js} +3 -3
  114. package/dist/bundle/{remote-WHYV35IF.js → remote-DRQEXEZL.js} +6 -6
  115. package/dist/bundle/{rerank-FBMZVWSH.js → rerank-UL4KNNVN.js} +6 -6
  116. package/dist/bundle/{run-log-TOCHREH2.js → run-log-UZAB5CWF.js} +54 -54
  117. package/dist/bundle/{serve-4BABX4WS.js → serve-P5UWUOWQ.js} +8 -8
  118. package/dist/bundle/server-F3NPVMS2.js +72 -0
  119. package/dist/bundle/{server-CDVI6LOB.js → server-M6XK2Y3X.js} +42 -42
  120. package/dist/bundle/{services-PIY33I7R.js → services-4HRYNY62.js} +66 -30
  121. package/dist/bundle/{speech-LS5Q4FL2.js → speech-BBPBMFAO.js} +12 -12
  122. package/dist/bundle/{state-YUX5R2R7.js → state-GDSUNUSY.js} +5 -5
  123. package/dist/bundle/{store-BD7HAXAA.js → store-LBQ6FZP2.js} +41 -15
  124. package/dist/bundle/{store-ERMGBF2B.js → store-VWLABMLF.js} +57 -17
  125. package/dist/bundle/store-connection-XEBFP56U.js +83 -0
  126. package/dist/bundle/store-maintenance-command-G43JN57J.js +61 -0
  127. package/dist/bundle/{streaming-O53PIORL.js → streaming-EJ3NM2C2.js} +5 -5
  128. package/dist/bundle/{tokens-QKNEP2GJ.js → tokens-BE6CJMR5.js} +5 -5
  129. package/dist/bundle/zm.js +3 -3
  130. package/dist/bundle/{zoom-app-XJXZ4ZBX.js → zoom-app-YIEJLWCW.js} +6 -6
  131. package/dist/first-screen.d.ts.map +1 -1
  132. package/dist/first-screen.js +1 -0
  133. package/dist/first-screen.js.map +1 -1
  134. package/dist/permissions.js +1 -1
  135. package/dist/permissions.js.map +1 -1
  136. package/dist/setup-commands.d.ts.map +1 -1
  137. package/dist/setup-commands.js +11 -0
  138. package/dist/setup-commands.js.map +1 -1
  139. package/dist/tokens.d.ts +2 -0
  140. package/dist/tokens.d.ts.map +1 -1
  141. package/dist/tokens.js +11 -0
  142. package/dist/tokens.js.map +1 -1
  143. package/dist/version.d.ts +1 -1
  144. package/dist/version.js +1 -1
  145. package/package.json +2 -2
  146. package/dist/bundle/answer-policy-UCGUO53A.js +0 -104
  147. package/dist/bundle/chunk-AYEVBAGO.js +0 -178
  148. package/dist/bundle/chunk-EZRPSZJS.js +0 -33
  149. package/dist/bundle/chunk-NUJMJQXV.js +0 -787
  150. package/dist/bundle/chunk-YOAEZSDG.js +0 -22
  151. package/dist/bundle/command-contract-JPUWWYIV.js +0 -41
  152. package/dist/bundle/config-YGLLR77A.js +0 -90
  153. package/dist/bundle/first-screen-RCR7ATO2.js +0 -39
  154. package/dist/bundle/server-XOFQKFVO.js +0 -72
  155. package/dist/bundle/store-connection-JBR6CMTJ.js +0 -83
  156. package/dist/bundle/store-maintenance-command-I5DUSO2C.js +0 -62
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
8
8
  var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
9
9
  const all = typeof profile !== "string";
10
10
  const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
@@ -0,0 +1,126 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ parseReference
5
+ } from "./chunk-Y6C3N7YG.js";
6
+ import {
7
+ __name
8
+ } from "./chunk-ZVVMGPBJ.js";
9
+
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/domain/links.js
11
+ var LINK_VERSION = "v1";
12
+ var DEFAULT_LINK_CONFIG = { base: "https://wirecat.dev/o", enabled: true };
13
+ var APP_PREFIX = "wirecat://open";
14
+ var MAX_PATH = 512;
15
+ var MAX_SEGMENTS = 6;
16
+ var TASK_FILTERS = ["overdue", "today", "tomorrow"];
17
+ var DATE = /^\d{4}-\d{2}-\d{2}$/;
18
+ var DATE_TIME = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(:\d{2}(\.\d+)?)?(Z|[+-]\d{2}:\d{2})$/;
19
+ var isMoment = /* @__PURE__ */ __name((text, pattern) => pattern.test(text) && !Number.isNaN(Date.parse(text)), "isMoment");
20
+ var partsOf = /* @__PURE__ */ __name((target) => {
21
+ switch (target.type) {
22
+ case "message":
23
+ return ["msg", target.provider, target.account, target.chat, target.message];
24
+ case "chat":
25
+ return ["chat", target.provider, target.account, target.chat];
26
+ case "task":
27
+ return ["task", target.id];
28
+ case "tasks":
29
+ return target.filter === "new" ? ["tasks", "new", target.since] : ["tasks", target.filter];
30
+ case "proposal":
31
+ return ["proposal", target.id];
32
+ case "digest":
33
+ return ["digest", target.date];
34
+ case "sync":
35
+ return target.account === void 0 ? ["sync", target.tool] : ["sync", target.tool, target.account];
36
+ }
37
+ }, "partsOf");
38
+ var pathOf = /* @__PURE__ */ __name((target) => partsOf(target).map(encodeURIComponent).join("/"), "pathOf");
39
+ var targetOfParts = /* @__PURE__ */ __name((parts) => {
40
+ const [kind, ...rest] = parts;
41
+ const [a = "", b = "", c = "", d = ""] = rest;
42
+ switch (kind) {
43
+ case "msg":
44
+ return rest.length === 4 ? { type: "message", provider: a, account: b, chat: c, message: d } : null;
45
+ case "chat":
46
+ return rest.length === 3 ? { type: "chat", provider: a, account: b, chat: c } : null;
47
+ case "task":
48
+ return rest.length === 1 ? { type: "task", id: a } : null;
49
+ case "tasks":
50
+ if (rest.length === 1 && TASK_FILTERS.includes(a))
51
+ return { type: "tasks", filter: a };
52
+ return rest.length === 2 && a === "new" && (isMoment(b, DATE) || isMoment(b, DATE_TIME)) ? { type: "tasks", filter: "new", since: b } : null;
53
+ case "proposal":
54
+ return rest.length === 1 ? { type: "proposal", id: a } : null;
55
+ case "digest":
56
+ return rest.length === 1 && isMoment(a, DATE) ? { type: "digest", date: a } : null;
57
+ case "sync":
58
+ return rest.length === 1 || rest.length === 2 ? { type: "sync", tool: a, ...rest.length === 2 ? { account: b } : {} } : null;
59
+ default:
60
+ return null;
61
+ }
62
+ }, "targetOfParts");
63
+ var targetOfPath = /* @__PURE__ */ __name((path) => {
64
+ const raw = path.split("/");
65
+ if (raw.some((part) => part === ""))
66
+ return null;
67
+ try {
68
+ return targetOfParts(raw.map(decodeURIComponent));
69
+ } catch {
70
+ return null;
71
+ }
72
+ }, "targetOfPath");
73
+ var formatLink = /* @__PURE__ */ __name((target) => `/${LINK_VERSION}/${pathOf(target)}`, "formatLink");
74
+ var parseLink = /* @__PURE__ */ __name((text) => {
75
+ const link = text.trim();
76
+ const path = link.startsWith(`${APP_PREFIX}/`) ? link.slice(APP_PREFIX.length) : link.startsWith("https://") && link.includes("#") ? link.slice(link.indexOf("#") + 1) : link;
77
+ if (path.length > MAX_PATH || !path.startsWith(`/${LINK_VERSION}/`))
78
+ return null;
79
+ const rest = path.split("?")[0].slice(LINK_VERSION.length + 2);
80
+ if (rest.split("/").length + 1 > MAX_SEGMENTS)
81
+ return null;
82
+ return targetOfPath(rest);
83
+ }, "parseLink");
84
+ var LINK_ONLY = /* @__PURE__ */ new Set(["tasks", "proposal", "digest", "sync"]);
85
+ var FROM_REFERENCE = /* @__PURE__ */ new Set(["message", "chat", "task"]);
86
+ var linkTargetOf = /* @__PURE__ */ __name((ref) => {
87
+ const text = ref.trim();
88
+ const colon = text.indexOf(":");
89
+ if (colon < 0)
90
+ return null;
91
+ const kind = text.slice(0, colon);
92
+ if (LINK_ONLY.has(kind))
93
+ return targetOfPath(`${kind}/${text.slice(colon + 1)}`);
94
+ try {
95
+ const reference = parseReference(text);
96
+ return FROM_REFERENCE.has(reference.type) ? reference : null;
97
+ } catch {
98
+ return null;
99
+ }
100
+ }, "linkTargetOf");
101
+ var linkConfigOf = /* @__PURE__ */ __name((section) => {
102
+ const value = section && typeof section === "object" ? section : {};
103
+ const base = typeof value.base === "string" && /^https:\/\/[^\s#?]+$/.test(value.base) ? value.base.replace(/\/+$/, "") : DEFAULT_LINK_CONFIG.base;
104
+ return { base, enabled: typeof value.enabled === "boolean" ? value.enabled : DEFAULT_LINK_CONFIG.enabled };
105
+ }, "linkConfigOf");
106
+ var linkFor = /* @__PURE__ */ __name((ref, { form, config = DEFAULT_LINK_CONFIG, env = process.env }) => {
107
+ if (!config.enabled || env.WIRECAT_LINKS === "off")
108
+ return null;
109
+ const target = typeof ref === "string" ? linkTargetOf(ref) : ref;
110
+ if (target === null)
111
+ return null;
112
+ const path = formatLink(target);
113
+ if (path.length > MAX_PATH || parseLink(path) === null)
114
+ return null;
115
+ return form === "app" ? `${APP_PREFIX}${path}` : `${config.base}#${path}`;
116
+ }, "linkFor");
117
+
118
+ export {
119
+ LINK_VERSION,
120
+ DEFAULT_LINK_CONFIG,
121
+ formatLink,
122
+ parseLink,
123
+ linkTargetOf,
124
+ linkConfigOf,
125
+ linkFor
126
+ };
@@ -12,7 +12,7 @@ import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/render/messages.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/render/messages.js
16
16
  import { styleText } from "node:util";
17
17
  var TIME_WIDTH = 8;
18
18
  var INDENT = " ".repeat(TIME_WIDTH + 2);
@@ -2,23 +2,23 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  updateCommand
5
- } from "./chunk-BOAMDYLY.js";
5
+ } from "./chunk-7QC4M4HS.js";
6
6
  import {
7
7
  QUESTIONS,
8
8
  readSetupAnswers,
9
9
  unanswered,
10
10
  writeSetupAnswers
11
- } from "./chunk-L4WVLRXM.js";
11
+ } from "./chunk-CHGUNZ3L.js";
12
12
  import {
13
13
  DEFAULT_STEMMERS,
14
14
  LANGUAGES
15
- } from "./chunk-77I67HWF.js";
15
+ } from "./chunk-3KC7C465.js";
16
16
  import {
17
17
  sharedConfigPath
18
- } from "./chunk-VLD7Y4SY.js";
18
+ } from "./chunk-UVPL7YAY.js";
19
19
  import {
20
20
  storePath
21
- } from "./chunk-32FPA7P2.js";
21
+ } from "./chunk-GVT5363M.js";
22
22
  import {
23
23
  installerOf
24
24
  } from "./chunk-P3ASN72F.js";
@@ -26,7 +26,7 @@ import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/first-run.js
30
30
  import { spawnSync } from "node:child_process";
31
31
  import { accessSync, constants, realpathSync } from "node:fs";
32
32
  import { delimiter, join } from "node:path";
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
84
84
  return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
85
85
  }, "suggested");
86
86
  var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
87
- const { openStore } = await import("./store-BD7HAXAA.js");
87
+ const { openStore } = await import("./store-LBQ6FZP2.js");
88
88
  const store = await openStore({ env });
89
89
  let rebuild = false;
90
90
  try {
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
113
113
  if (!rebuild)
114
114
  return;
115
115
  const [{ openCache }, { buildStems }] = await Promise.all([
116
- import("./open-S2YSIEOW.js"),
117
- import("./store-maintenance-command-I5DUSO2C.js")
116
+ import("./open-INWS5HIZ.js"),
117
+ import("./store-maintenance-command-G43JN57J.js")
118
118
  ]);
119
119
  const database = await openCache(storePath(env));
120
120
  try {
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
126
126
  var askTools = /* @__PURE__ */ __name(async (run) => {
127
127
  const { command, env, io } = run;
128
128
  const installed = run.installed ?? ((name) => onPath(name, env));
129
- const { WIRECAT_TOOLS } = await import("./first-screen-RCR7ATO2.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-5RWZDWLK.js");
130
130
  const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
131
131
  const missing = others.filter((tool) => !installed(tool.command));
132
132
  io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
@@ -199,7 +199,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
199
199
  contentLanguages: start.contentLanguages,
200
200
  all: start.path[0] === "setup",
201
201
  io: {
202
- ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-7RQOL25I.js")).readSecret(prompt, { input, echo: true }), "ask"),
202
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-VTUCRCE4.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
203
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
204
204
  `), "say")
205
205
  }
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
14
14
  import { readFileSync } from "node:fs";
15
15
  var musl = /* @__PURE__ */ __name(() => {
16
16
  if (process.platform !== "linux")