@wirecat/tg-cli 0.114.0 → 0.116.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 (123) hide show
  1. package/dist/bin/tg.js +2 -2
  2. package/dist/bin/tg.js.map +1 -1
  3. package/dist/bot/transport.d.ts +10 -8
  4. package/dist/bot/transport.d.ts.map +1 -1
  5. package/dist/bot/transport.js +16 -2
  6. package/dist/bot/transport.js.map +1 -1
  7. package/dist/bundle/{adapter-YAEHX3QB.js → adapter-6CLMTQOV.js} +85 -56
  8. package/dist/bundle/{all-profiles-R5CW42HQ.js → all-profiles-R2UZMH24.js} +10 -8
  9. package/dist/bundle/{anthropic-F25RHYV2.js → anthropic-QKIPHV2Z.js} +6 -5
  10. package/dist/bundle/{app-server-FAG6FNXR.js → app-server-AZB2MFK6.js} +47 -43
  11. package/dist/bundle/{bot-api-KOIAXTQR.js → bot-api-2IM243J4.js} +53 -48
  12. package/dist/bundle/{bot-history-PRAOZEWC.js → bot-history-G6CRVCL2.js} +19 -17
  13. package/dist/bundle/{bun-XIMM6EHD.js → bun-JDKPISPX.js} +2 -2
  14. package/dist/bundle/{bun-sqlite-DSUCO4TR.js → bun-sqlite-X5PY5IQT.js} +5 -4
  15. package/dist/bundle/{chunk-CDCBFMEI.js → chunk-42GK3XRS.js} +2 -2
  16. package/dist/bundle/{chunk-YQ64ZNLD.js → chunk-4D5AUWAY.js} +28 -15
  17. package/dist/bundle/{chunk-IN25CJ3D.js → chunk-4IQZRW4O.js} +13 -13
  18. package/dist/bundle/{chunk-Y4LCSCSH.js → chunk-577MFPCP.js} +3 -3
  19. package/dist/bundle/{chunk-O7CBGHI7.js → chunk-5FCONCJO.js} +1 -1
  20. package/dist/bundle/{chunk-CS5DQ6KM.js → chunk-5VFPUOJO.js} +17 -14
  21. package/dist/bundle/{chunk-ZFMOPKPT.js → chunk-5ZIBAYIZ.js} +2 -2
  22. package/dist/bundle/{chunk-EARO464A.js → chunk-76CX2YPT.js} +210 -129
  23. package/dist/bundle/{chunk-E2IRSRTB.js → chunk-B4UOCWM4.js} +4 -2
  24. package/dist/bundle/{chunk-Y3AQHPAJ.js → chunk-BGMV66FC.js} +1 -1
  25. package/dist/bundle/{chunk-LPUFOWL3.js → chunk-D72URWJE.js} +1 -39
  26. package/dist/bundle/{chunk-WOQGUIXE.js → chunk-DP5LRU7K.js} +1 -1
  27. package/dist/bundle/chunk-EB2IULWB.js +72 -0
  28. package/dist/bundle/{chunk-4JOKO4IW.js → chunk-FDI4GOIP.js} +912 -493
  29. package/dist/bundle/{chunk-P4YBABUC.js → chunk-GV7ZJ33M.js} +6 -4
  30. package/dist/bundle/{chunk-C7K7AP6G.js → chunk-H72UEHNG.js} +69 -36
  31. package/dist/bundle/{chunk-2PAKHXIV.js → chunk-HBUJNNZD.js} +35 -35
  32. package/dist/bundle/{chunk-NTF34HJP.js → chunk-HK6SIIGG.js} +3 -3
  33. package/dist/bundle/{chunk-NUVBC3LJ.js → chunk-HLNYJPAB.js} +2 -2
  34. package/dist/bundle/{chunk-WIRDTH3J.js → chunk-HUOXUI2M.js} +22 -22
  35. package/dist/bundle/{chunk-RBC7JQ4Y.js → chunk-I6JF43YP.js} +5 -3
  36. package/dist/bundle/{chunk-OFDMD3YF.js → chunk-IR4S7POE.js} +8 -8
  37. package/dist/bundle/{chunk-3R43O3GG.js → chunk-JFTCOV37.js} +80 -24
  38. package/dist/bundle/{chunk-YPABTT7A.js → chunk-JJMQA272.js} +14 -89
  39. package/dist/bundle/{chunk-DQQEN3X4.js → chunk-K2RYCCTP.js} +4 -4
  40. package/dist/bundle/{chunk-OWHF6BON.js → chunk-K62YATVD.js} +6 -6
  41. package/dist/bundle/{chunk-6SPLZI5P.js → chunk-KA6EGOJY.js} +4 -4
  42. package/dist/bundle/chunk-KV4267S4.js +23 -0
  43. package/dist/bundle/{chunk-AL36NHO6.js → chunk-LFKEKSI5.js} +1043 -307
  44. package/dist/bundle/{chunk-7FOT4XD2.js → chunk-LSKGCJWD.js} +3426 -1298
  45. package/dist/bundle/{chunk-M3IWROIF.js → chunk-LXH3SKY3.js} +10 -8
  46. package/dist/bundle/{chunk-QCXYJKPF.js → chunk-MQ7MCVZV.js} +2 -2
  47. package/dist/bundle/{chunk-EQJG44KE.js → chunk-N42VUNTO.js} +2 -2
  48. package/dist/bundle/{chunk-KIZT2MI6.js → chunk-N6TIFJHW.js} +1 -1
  49. package/dist/bundle/{chunk-MQTTVQ3V.js → chunk-NL3PAFAE.js} +8 -8
  50. package/dist/bundle/{chunk-ULFTCR5W.js → chunk-NUYRMU56.js} +2 -2
  51. package/dist/bundle/{chunk-34USFPBF.js → chunk-OX6EWGSG.js} +185 -291
  52. package/dist/bundle/{chunk-KZQXOZFC.js → chunk-PPLFOIYX.js} +7 -20
  53. package/dist/bundle/{chunk-TTTDZOBW.js → chunk-PPSUA3IZ.js} +3 -3
  54. package/dist/bundle/{chunk-ALHKUQDZ.js → chunk-PXMHBTK3.js} +4 -4
  55. package/dist/bundle/{chunk-VVKEWWSO.js → chunk-QAKL3GXB.js} +1 -1
  56. package/dist/bundle/{chunk-I6BKSGZQ.js → chunk-QGL2UGML.js} +306 -190
  57. package/dist/bundle/{chunk-J5U2HKGZ.js → chunk-QHBVGKC3.js} +51 -30
  58. package/dist/bundle/{chunk-NJ2I4KFZ.js → chunk-R52RMHWF.js} +2 -2
  59. package/dist/bundle/chunk-RSDIPQXP.js +35 -0
  60. package/dist/bundle/{chunk-XDOPONC3.js → chunk-RSNGMNU5.js} +6 -6
  61. package/dist/bundle/{chunk-NKP3RUM4.js → chunk-SD5PUYKF.js} +14 -12
  62. package/dist/bundle/chunk-SKZ2E3WC.js +91 -0
  63. package/dist/bundle/{chunk-HA35XN2Z.js → chunk-T7CDLV33.js} +4 -4
  64. package/dist/bundle/{chunk-C34IDOA5.js → chunk-TZVL4U7U.js} +2 -2
  65. package/dist/bundle/{chunk-3EZ43DAF.js → chunk-UCSFO5GW.js} +3 -3
  66. package/dist/bundle/{chunk-NMVFFWF2.js → chunk-VQPLHOVQ.js} +9 -9
  67. package/dist/bundle/chunk-XBIPSSKI.js +166 -0
  68. package/dist/bundle/{chunk-VHO66SMY.js → chunk-XQUTJITP.js} +59 -57
  69. package/dist/bundle/{chunk-L4CMCC3V.js → chunk-Y6VWGJ4Q.js} +1 -1
  70. package/dist/bundle/{chunk-RFRI2HFT.js → chunk-YLRTLZF6.js} +1 -1
  71. package/dist/bundle/chunk-YPF6OS37.js +46 -0
  72. package/dist/bundle/{chunk-TKNCJMYN.js → chunk-YYKJN6H5.js} +946 -589
  73. package/dist/bundle/{chunk-5HKMEXVQ.js → chunk-ZDIAPICE.js} +4 -4
  74. package/dist/bundle/command-contract-DPXM4SZT.js +33 -0
  75. package/dist/bundle/{decode-7U4SXPAN.js → decode-W6YPTGJA.js} +7 -6
  76. package/dist/bundle/dispatch-H7EFNBEH.js +411 -0
  77. package/dist/bundle/{echarts-GKEZEAL7.js → echarts-YAWDIC5D.js} +2 -2
  78. package/dist/bundle/{embed-IDZDQMSW.js → embed-EN4UTLV5.js} +6 -5
  79. package/dist/bundle/{embedder-RY5R2PGO.js → embedder-HEKHRL7E.js} +11 -10
  80. package/dist/bundle/{entry-P6YZ3ZV6.js → entry-2KB6MTCG.js} +7 -6
  81. package/dist/bundle/failure-3DU3HLBQ.js +24 -0
  82. package/dist/bundle/first-run-LBG26WWO.js +27 -0
  83. package/dist/bundle/first-screen-TGTSLUI6.js +31 -0
  84. package/dist/bundle/{instructions-P5E34PQR.js → instructions-HA62QNPR.js} +1 -1
  85. package/dist/bundle/{mcp-FUSDPAOL.js → mcp-PPVOM4SE.js} +5 -3
  86. package/dist/bundle/{node-GKPRXS5Y.js → node-MZ2VWSQQ.js} +2 -2
  87. package/dist/bundle/{node-sqlite-VUXFVPJ6.js → node-sqlite-KNNS6DCM.js} +6 -5
  88. package/dist/bundle/{oauth-7SQIPMOY.js → oauth-KWUABBSQ.js} +7 -6
  89. package/dist/bundle/{open-W3BN2SIO.js → open-JXMCYCIV.js} +5 -4
  90. package/dist/bundle/{openai-LQTK3ZMC.js → openai-HL3IR4VT.js} +15 -14
  91. package/dist/bundle/{process-U2P5Z6UF.js → process-K2FICLWY.js} +1 -1
  92. package/dist/bundle/{program-DIPSLR6O.js → program-IFOMT4JS.js} +70 -57
  93. package/dist/bundle/{prompt-GESHKSM5.js → prompt-HVD3Q77P.js} +5 -4
  94. package/dist/bundle/{proxy-transport-C2EUUT32.js → proxy-transport-PA5SGMRY.js} +5 -4
  95. package/dist/bundle/{recognize-FEQTIJET.js → recognize-HHLVETKI.js} +4 -3
  96. package/dist/bundle/{remote-UXOPBPKS.js → remote-HUAKXJCS.js} +7 -6
  97. package/dist/bundle/{rerank-L4JM4REK.js → rerank-NWFIV7OF.js} +7 -6
  98. package/dist/bundle/{serve-DDWW44DB.js → serve-ANUKAJJN.js} +10 -9
  99. package/dist/bundle/{server-UTWBIZHB.js → server-7Q7WAOHO.js} +37 -34
  100. package/dist/bundle/server-HCQS4YDQ.js +60 -0
  101. package/dist/bundle/{state-EV7FGEK4.js → state-Y2AJ5XTP.js} +6 -5
  102. package/dist/bundle/{store-EXBUF4OG.js → store-S3IG5KWL.js} +15 -11
  103. package/dist/bundle/store-maintenance-command-V2WC4G6J.js +50 -0
  104. package/dist/bundle/tg.js +159 -14
  105. package/dist/commands/session.d.ts.map +1 -1
  106. package/dist/commands/session.js +7 -0
  107. package/dist/commands/session.js.map +1 -1
  108. package/dist/telegram/login.d.ts +2 -0
  109. package/dist/telegram/login.d.ts.map +1 -1
  110. package/dist/telegram/login.js +31 -2
  111. package/dist/telegram/login.js.map +1 -1
  112. package/dist/version.d.ts +1 -1
  113. package/dist/version.js +1 -1
  114. package/package.json +5 -4
  115. package/skills/tg-cli/SKILL.md +2 -0
  116. package/dist/bundle/chunk-TRRRRGMI.js +0 -18
  117. package/dist/bundle/command-contract-SOTDPG22.js +0 -31
  118. package/dist/bundle/first-run-66KTCVQK.js +0 -24
  119. package/dist/bundle/first-screen-NY46X6QU.js +0 -29
  120. package/dist/bundle/identity-GXVKGCNU.js +0 -11
  121. package/dist/bundle/server-ZI7WDAW6.js +0 -56
  122. package/dist/bundle/store-maintenance-command-UBZE2Z6T.js +0 -46
  123. /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
@@ -18,9 +18,9 @@ import {
18
18
  strictObject,
19
19
  string,
20
20
  unknown
21
- } from "./chunk-EARO464A.js";
21
+ } from "./chunk-76CX2YPT.js";
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/entities/fields.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/entities/fields.js
24
24
  var text = string();
25
25
  var id = pipe(string(), minLength(1));
26
26
  var time = isoTime;
@@ -44,7 +44,7 @@ var author = strictObject({
44
44
  name: nullable(text)
45
45
  });
46
46
 
47
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
47
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
48
48
  var organization = strictObject({
49
49
  id,
50
50
  ref: reference,
@@ -74,7 +74,7 @@ var reminder = strictObject({
74
74
  receipt: nullable(text)
75
75
  });
76
76
 
77
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/entities/note.js
77
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/entities/note.js
78
78
  var link = {
79
79
  target_text: nullable(text),
80
80
  kind: text,
@@ -0,0 +1,33 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ SCHEMA_DIALECT,
5
+ commandContract,
6
+ commandPathOf,
7
+ findCommand,
8
+ outputOf
9
+ } from "./chunk-GV7ZJ33M.js";
10
+ import "./chunk-LFKEKSI5.js";
11
+ import "./chunk-ZDIAPICE.js";
12
+ import "./chunk-JJMQA272.js";
13
+ import "./chunk-PPSUA3IZ.js";
14
+ import "./chunk-TZVL4U7U.js";
15
+ import "./chunk-N6TIFJHW.js";
16
+ import "./chunk-QGL2UGML.js";
17
+ import "./chunk-SKZ2E3WC.js";
18
+ import "./chunk-VQPLHOVQ.js";
19
+ import "./chunk-T7CDLV33.js";
20
+ import "./chunk-RSDIPQXP.js";
21
+ import "./chunk-LU3WKZBA.js";
22
+ import "./chunk-OX6EWGSG.js";
23
+ import "./chunk-76CX2YPT.js";
24
+ import "./chunk-Y5E2WNWB.js";
25
+ import "./chunk-EB2IULWB.js";
26
+ import "./chunk-ZVVMGPBJ.js";
27
+ export {
28
+ SCHEMA_DIALECT,
29
+ commandContract,
30
+ commandPathOf,
31
+ findCommand,
32
+ outputOf
33
+ };
@@ -3,19 +3,20 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  decodeOgg
6
- } from "./chunk-OWHF6BON.js";
7
- import "./chunk-34USFPBF.js";
8
- import {
9
- CliError
10
- } from "./chunk-EARO464A.js";
6
+ } from "./chunk-K62YATVD.js";
7
+ import "./chunk-OX6EWGSG.js";
8
+ import "./chunk-76CX2YPT.js";
11
9
  import {
12
10
  importFrom
13
11
  } from "./chunk-Y5E2WNWB.js";
12
+ import {
13
+ CliError
14
+ } from "./chunk-EB2IULWB.js";
14
15
  import {
15
16
  __name
16
17
  } from "./chunk-ZVVMGPBJ.js";
17
18
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/speech/decode.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/speech/decode.js
19
20
  import { spawn } from "node:child_process";
20
21
  import { mkdtemp, rm, writeFile } from "node:fs/promises";
21
22
  import { createRequire } from "node:module";
@@ -0,0 +1,411 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ require_cross_spawn
5
+ } from "./chunk-D72URWJE.js";
6
+ import {
7
+ BUILT_IN_COMMANDS,
8
+ DESCRIBE_FLAG,
9
+ FIRST_PARTY_TOOLS,
10
+ PROGRAM_PREFIX,
11
+ TOOL_NAME,
12
+ fileState,
13
+ parseDescribe,
14
+ shimFiles,
15
+ writeShim
16
+ } from "./chunk-XBIPSSKI.js";
17
+ import "./chunk-Y5E2WNWB.js";
18
+ import {
19
+ CliError
20
+ } from "./chunk-EB2IULWB.js";
21
+ import {
22
+ __name,
23
+ __toESM
24
+ } from "./chunk-ZVVMGPBJ.js";
25
+
26
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
27
+ var import_cross_spawn2 = __toESM(require_cross_spawn(), 1);
28
+ import { randomUUID } from "node:crypto";
29
+ import { constants } from "node:os";
30
+
31
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/path.js
32
+ import { readdirSync, statSync } from "node:fs";
33
+ import { join } from "node:path";
34
+ var variable = /* @__PURE__ */ __name((env, name, platform) => platform === "win32" ? Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1] : env[name], "variable");
35
+ var pathEntries = /* @__PURE__ */ __name(({ env, platform }) => {
36
+ const raw = variable(env, "PATH", platform) ?? "";
37
+ const entries = raw.split(platform === "win32" ? ";" : ":").map((entry) => entry.replace(/^"(.*)"$/, "$1"));
38
+ const seen = /* @__PURE__ */ new Set();
39
+ return entries.filter((entry) => {
40
+ const key = platform === "win32" ? entry.toLowerCase().replace(/[\\/]+$/, "") : entry.replace(/\/+$/, "");
41
+ if (entry === "" || seen.has(key))
42
+ return false;
43
+ seen.add(key);
44
+ return true;
45
+ });
46
+ }, "pathEntries");
47
+ var programExtensions = /* @__PURE__ */ __name(({ env, platform }) => platform === "win32" ? (variable(env, "PATHEXT", platform) ?? ".COM;.EXE;.BAT;.CMD").split(";").filter((ext) => /^\.[a-z0-9]+$/i.test(ext)).map((ext) => ext.toLowerCase()) : [""], "programExtensions");
48
+ var isProgram = /* @__PURE__ */ __name((path, platform) => {
49
+ try {
50
+ const stat = statSync(path);
51
+ return stat.isFile() && (platform === "win32" || (stat.mode & 73) !== 0);
52
+ } catch {
53
+ return false;
54
+ }
55
+ }, "isProgram");
56
+ var findOnPath = /* @__PURE__ */ __name((command, search) => {
57
+ const extensions = programExtensions(search);
58
+ return pathEntries(search).flatMap((dir) => {
59
+ for (const extension of extensions) {
60
+ const path = join(dir, command + extension);
61
+ if (isProgram(path, search.platform))
62
+ return [path];
63
+ }
64
+ return [];
65
+ });
66
+ }, "findOnPath");
67
+ var findTools = /* @__PURE__ */ __name((search) => {
68
+ const extensions = programExtensions(search);
69
+ const tools = /* @__PURE__ */ new Map();
70
+ for (const dir of pathEntries(search)) {
71
+ let files;
72
+ try {
73
+ files = readdirSync(dir);
74
+ } catch {
75
+ continue;
76
+ }
77
+ const here = /* @__PURE__ */ new Map();
78
+ for (const file of files) {
79
+ if (!(search.platform === "win32" ? file.toLowerCase() : file).startsWith(PROGRAM_PREFIX))
80
+ continue;
81
+ const extension = extensions.find((ext) => ext !== "" && file.toLowerCase().endsWith(ext)) ?? "";
82
+ if (search.platform === "win32" && extension === "")
83
+ continue;
84
+ const base = search.platform === "win32" ? file.toLowerCase() : file;
85
+ const name = base.slice(PROGRAM_PREFIX.length, base.length - extension.length);
86
+ if (!TOOL_NAME.test(name))
87
+ continue;
88
+ const best = here.get(name);
89
+ const rank = /* @__PURE__ */ __name((path2) => extensions.findIndex((ext) => path2.toLowerCase().endsWith(ext)), "rank");
90
+ const path = join(dir, file);
91
+ if (best !== void 0 && rank(best) <= rank(path))
92
+ continue;
93
+ if (isProgram(path, search.platform))
94
+ here.set(name, path);
95
+ }
96
+ for (const [name, path] of here)
97
+ tools.set(name, [...tools.get(name) ?? [], path]);
98
+ }
99
+ return new Map([...tools].sort(([a], [b]) => a < b ? -1 : 1));
100
+ }, "findTools");
101
+ var isBuiltIn = /* @__PURE__ */ __name((name) => name === "wcat" || BUILT_IN_COMMANDS.includes(name), "isBuiltIn");
102
+
103
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/probe.js
104
+ var import_cross_spawn = __toESM(require_cross_spawn(), 1);
105
+ import { readFileSync } from "node:fs";
106
+ var MAX_ANSWER_BYTES = 64 * 1024;
107
+ var probeDescribe = /* @__PURE__ */ __name((path, { env, timeoutMs }) => new Promise((resolve) => {
108
+ let child;
109
+ try {
110
+ child = (0, import_cross_spawn.default)(path, [DESCRIBE_FLAG], { stdio: ["ignore", "pipe", "ignore"], env, windowsHide: true });
111
+ } catch {
112
+ resolve(void 0);
113
+ return;
114
+ }
115
+ const chunks = [];
116
+ let size = 0;
117
+ let settled = false;
118
+ const settle = /* @__PURE__ */ __name((answer) => {
119
+ if (settled)
120
+ return;
121
+ settled = true;
122
+ clearTimeout(timer);
123
+ resolve(answer);
124
+ }, "settle");
125
+ const giveUp = /* @__PURE__ */ __name(() => {
126
+ child.kill();
127
+ child.stdout?.destroy();
128
+ child.unref();
129
+ settle(void 0);
130
+ }, "giveUp");
131
+ const timer = setTimeout(giveUp, timeoutMs);
132
+ child.stdout?.on("data", (chunk) => {
133
+ size += chunk.length;
134
+ if (size > MAX_ANSWER_BYTES)
135
+ giveUp();
136
+ else
137
+ chunks.push(chunk);
138
+ });
139
+ child.once("error", () => settle(void 0));
140
+ child.once("close", (code) => settle(code === 0 ? parseDescribe(Buffer.concat(chunks).toString("utf8")) : void 0));
141
+ }), "probeDescribe");
142
+ var baseVersion = /* @__PURE__ */ __name(() => {
143
+ try {
144
+ const raw = readFileSync(new URL("../../package.json", new URL("wcat/probe.js", import.meta.resolve("@wirecat/cli-base")).href), "utf8");
145
+ const { name, version } = JSON.parse(raw);
146
+ return name === "@wirecat/cli-base" && typeof version === "string" ? version : "unknown";
147
+ } catch {
148
+ return "unknown";
149
+ }
150
+ }, "baseVersion");
151
+
152
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shortcuts.js
153
+ import { closeSync, openSync, readSync, realpathSync, rmSync } from "node:fs";
154
+ import { basename, dirname } from "node:path";
155
+ var WIRECAT_PACKAGE = /node_modules[\\/]+@wirecat[\\/]/;
156
+ var isWirecatPackage = /* @__PURE__ */ __name((path) => {
157
+ try {
158
+ if (WIRECAT_PACKAGE.test(realpathSync(path)))
159
+ return true;
160
+ const buffer = Buffer.alloc(16 * 1024);
161
+ const fd = openSync(path, "r");
162
+ try {
163
+ const read = readSync(fd, buffer, 0, buffer.length, 0);
164
+ return WIRECAT_PACKAGE.test(buffer.subarray(0, read).toString("latin1"));
165
+ } finally {
166
+ closeSync(fd);
167
+ }
168
+ } catch {
169
+ return false;
170
+ }
171
+ }, "isWirecatPackage");
172
+ var ourShortcut = /* @__PURE__ */ __name((path) => {
173
+ const state = fileState(path);
174
+ return state.state === "ours" && state.mark.kind === "shortcut";
175
+ }, "ourShortcut");
176
+ var statusOf = /* @__PURE__ */ __name((name, program, search) => {
177
+ const files = shimFiles("shortcut", {
178
+ dir: dirname(program),
179
+ name,
180
+ target: basename(program),
181
+ platform: search.platform
182
+ });
183
+ const named = findOnPath(name, search);
184
+ const made = [...files.map((file) => file.path), ...named].find(ourShortcut);
185
+ if (made)
186
+ return { name, status: "made", path: made, program };
187
+ const first = named[0];
188
+ if (first === void 0)
189
+ return { name, status: "free", program };
190
+ return { name, status: isWirecatPackage(first) ? "package" : "taken", path: first, program };
191
+ }, "statusOf");
192
+ var changeFile = /* @__PURE__ */ __name((path, change) => {
193
+ try {
194
+ change();
195
+ } catch (error) {
196
+ throw new CliError("permission_error", `could not change ${path}: ${error.code ?? error}`, {
197
+ reason: "access.denied"
198
+ });
199
+ }
200
+ }, "changeFile");
201
+ var installedPrograms = /* @__PURE__ */ __name((search) => new Map([...findTools(search)].filter(([name]) => !isBuiltIn(name))), "installedPrograms");
202
+ var chosen = /* @__PURE__ */ __name((names, search) => {
203
+ const installed = installedPrograms(search);
204
+ if (names === void 0 || names.length === 0)
205
+ return [...installed].map(([name, paths]) => [name, paths[0]]);
206
+ const missing = names.filter((name) => !installed.has(name));
207
+ if (missing.length > 0)
208
+ throw new CliError("not_found", `not installed: ${missing.map((name) => `wcat-${name}`).join(", ")}`, {
209
+ reason: "tool.not-installed",
210
+ tool: missing[0],
211
+ installed: [...installed.keys()]
212
+ });
213
+ return [...new Set(names)].map((name) => [name, installed.get(name)[0]]);
214
+ }, "chosen");
215
+ var listShortcuts = /* @__PURE__ */ __name((search, names) => chosen(names, search).map(([name, program]) => statusOf(name, program, search)), "listShortcuts");
216
+ var addShortcuts = /* @__PURE__ */ __name((search, names) => listShortcuts(search, names).map((shortcut) => {
217
+ if (shortcut.status !== "free")
218
+ return { ...shortcut, changed: false };
219
+ const files = shimFiles("shortcut", {
220
+ dir: dirname(shortcut.program),
221
+ name: shortcut.name,
222
+ target: basename(shortcut.program),
223
+ platform: search.platform
224
+ });
225
+ for (const file of files)
226
+ changeFile(file.path, () => writeShim(file));
227
+ return { ...shortcut, status: "made", path: files[0]?.path, changed: true };
228
+ }), "addShortcuts");
229
+ var removeShortcuts = /* @__PURE__ */ __name((search, names) => listShortcuts(search, names).map((shortcut) => {
230
+ if (shortcut.status !== "made")
231
+ return { ...shortcut, changed: false };
232
+ const files = shimFiles("shortcut", {
233
+ dir: dirname(shortcut.path),
234
+ name: shortcut.name,
235
+ target: basename(shortcut.program),
236
+ platform: search.platform
237
+ });
238
+ for (const file of files)
239
+ if (ourShortcut(file.path))
240
+ changeFile(file.path, () => rmSync(file.path, { force: true }));
241
+ return { ...statusOf(shortcut.name, shortcut.program, search), changed: true };
242
+ }), "removeShortcuts");
243
+
244
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
245
+ var DEFAULT_DESCRIBE_TIMEOUT_MS = 2e3;
246
+ var listTools = /* @__PURE__ */ __name(async (context) => {
247
+ const installed = installedPrograms(context);
248
+ const timeoutMs = context.describeTimeoutMs ?? DEFAULT_DESCRIBE_TIMEOUT_MS;
249
+ const found = await Promise.all([...installed].map(async ([name, paths]) => {
250
+ const [path, ...shadowed] = paths;
251
+ const own = context.self?.command === name ? context.self : void 0;
252
+ const described = own ?? await probeDescribe(path, { env: context.env, timeoutMs });
253
+ return {
254
+ name,
255
+ installed: true,
256
+ path,
257
+ ...described?.version ? { version: described.version } : {},
258
+ ...described?.description ? { description: described.description } : {},
259
+ ...described?.docs ? { docs_url: described.docs } : {},
260
+ ...shadowed.length > 0 ? { shadowed } : {}
261
+ };
262
+ }));
263
+ const missing = FIRST_PARTY_TOOLS.filter((tool) => tool.package && !installed.has(tool.name)).map((tool) => ({
264
+ name: tool.name,
265
+ installed: false,
266
+ package: tool.package,
267
+ install: `npm install -g ${tool.package}`
268
+ }));
269
+ return [...found, ...missing];
270
+ }, "listTools");
271
+ var envelope = /* @__PURE__ */ __name((items, started) => ({
272
+ items,
273
+ page: { mode: "page", limit: Math.max(items.length, 1), has_more: false },
274
+ meta: { run_id: randomUUID(), duration_ms: Math.max(0, Math.round(performance.now() - started)), complete: true }
275
+ }), "envelope");
276
+ var column = /* @__PURE__ */ __name((rows) => {
277
+ const widths = rows[0]?.map((_, at) => rows.reduce((wide, row) => Math.max(wide, (row[at] ?? "").length), 0)) ?? [];
278
+ return rows.map((row) => ` ${row.map((cell, at) => cell.padEnd(widths[at] ?? 0)).join(" ")}`.trimEnd());
279
+ }, "column");
280
+ var USAGE = [
281
+ "wcat <tool> [arguments] run a tool: wcat tg --help",
282
+ "wcat shortcuts [add|remove] [tool...] short names, such as tg, for installed tools",
283
+ "wcat --json the list below as JSON"
284
+ ];
285
+ var listText = /* @__PURE__ */ __name((tools) => {
286
+ const installed = tools.filter((tool) => tool.installed);
287
+ const missing = tools.filter((tool) => !tool.installed);
288
+ return [
289
+ "wcat runs WireCat tools, and any other wcat-<name> program on PATH.",
290
+ "",
291
+ ...USAGE,
292
+ "",
293
+ installed.length > 0 ? "Installed:" : "Installed: none",
294
+ ...column(installed.map((tool) => [tool.name, tool.version ?? "", tool.description ?? "(no description)"])),
295
+ ...missing.length > 0 ? ["", "Not installed:", ...column(missing.map((tool) => [tool.name, tool.install ?? ""]))] : [],
296
+ ""
297
+ ].join("\n");
298
+ }, "listText");
299
+ var shadowWarnings = /* @__PURE__ */ __name((tools) => tools.filter((tool) => tool.shadowed).map((tool) => `wcat: ${(tool.shadowed?.length ?? 0) + 1} programs are named ${PROGRAM_PREFIX}${tool.name}; wcat runs the first:
300
+ ${[tool.path, ...tool.shadowed ?? []].map((path) => ` ${path}`).join("\n")}
301
+ `).join(""), "shadowWarnings");
302
+ var shortcutText = /* @__PURE__ */ __name((shortcuts2) => {
303
+ if (shortcuts2.length === 0)
304
+ return "No wcat-<name> programs are installed.\n";
305
+ const said = /* @__PURE__ */ __name((shortcut) => {
306
+ switch (shortcut.status) {
307
+ case "made":
308
+ return `made: ${shortcut.path}`;
309
+ case "free":
310
+ return shortcut.changed ? "removed" : "free: wcat shortcuts add makes it";
311
+ case "package":
312
+ return `installed by the package: ${shortcut.path}`;
313
+ case "taken":
314
+ return `taken by ${shortcut.path}`;
315
+ }
316
+ }, "said");
317
+ return `${column(shortcuts2.map((shortcut) => [shortcut.name, said(shortcut)])).join("\n")}
318
+ `;
319
+ }, "shortcutText");
320
+ var signalNumber = /* @__PURE__ */ __name((signal) => constants.signals[signal] ?? 1, "signalNumber");
321
+ var runTool = /* @__PURE__ */ __name((path, args, context) => new Promise((resolve, reject) => {
322
+ const signals = context.signals ?? process;
323
+ const child = (0, import_cross_spawn2.default)(path, [...args], { stdio: "inherit", env: context.env });
324
+ const pass = /* @__PURE__ */ __name((signal) => () => child.kill(signal), "pass");
325
+ const term = pass("SIGTERM");
326
+ const hup = pass("SIGHUP");
327
+ const ignore = /* @__PURE__ */ __name(() => {
328
+ }, "ignore");
329
+ signals.on("SIGTERM", term).on("SIGHUP", hup).on("SIGINT", ignore);
330
+ const done = /* @__PURE__ */ __name(() => signals.off("SIGTERM", term).off("SIGHUP", hup).off("SIGINT", ignore), "done");
331
+ child.once("error", (error) => {
332
+ done();
333
+ reject(new CliError("configuration_error", `could not start ${path}: ${error.message}`));
334
+ });
335
+ child.once("exit", (code, signal) => {
336
+ done();
337
+ resolve(code ?? (signal ? 128 + signalNumber(signal) : 1));
338
+ });
339
+ }), "runTool");
340
+ var fail = /* @__PURE__ */ __name(async (error, json, context) => {
341
+ const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-3DU3HLBQ.js");
342
+ const object = errorObjectOf(error);
343
+ context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
344
+ `);
345
+ return exitCodeOfError(object);
346
+ }, "fail");
347
+ var shortcuts = /* @__PURE__ */ __name(async (args, json, context) => {
348
+ const [action, ...names] = args;
349
+ const started = performance.now();
350
+ const result = action === "add" ? addShortcuts(context, names) : action === "remove" ? removeShortcuts(context, names) : action === void 0 || action === "list" ? listShortcuts(context, names) : void 0;
351
+ if (result === void 0)
352
+ throw new CliError("validation_error", `wcat shortcuts takes list, add or remove, not "${action}"`, {
353
+ reason: "input.invalid"
354
+ });
355
+ context.stdout.write(json ? `${JSON.stringify(envelope(result, started))}
356
+ ` : shortcutText(result));
357
+ return 0;
358
+ }, "shortcuts");
359
+ var runWcat = /* @__PURE__ */ __name(async (args, context) => {
360
+ const [first, ...rest] = args;
361
+ const json = args.includes("--json");
362
+ const words = args.filter((word) => word !== "--json");
363
+ const started = performance.now();
364
+ try {
365
+ if (first === "--version" || first === "-V" || first === "version") {
366
+ const tools = await listTools(context);
367
+ const by = context.self ? `, run by ${PROGRAM_PREFIX}${context.self.command} ${context.self.version}` : "";
368
+ context.stdout.write(`wcat ${baseVersion()} (@wirecat/cli-base${by})
369
+
370
+ ${listText(tools)}`);
371
+ return 0;
372
+ }
373
+ if (words.length === 0 || first === "--help" || first === "-h" || first === "help") {
374
+ const tools = await listTools(context);
375
+ if (json)
376
+ context.stdout.write(`${JSON.stringify(envelope(tools, started))}
377
+ `);
378
+ else {
379
+ context.stderr.write(shadowWarnings(tools));
380
+ context.stdout.write(listText(tools));
381
+ }
382
+ return 0;
383
+ }
384
+ if (first === "shortcuts")
385
+ return await shortcuts(words.slice(1), json, context);
386
+ if (BUILT_IN_COMMANDS.includes(first))
387
+ throw new CliError("validation_error", `wcat ${first} is reserved for a later version of wcat`, {
388
+ reason: "input.invalid"
389
+ });
390
+ if (first?.startsWith("-"))
391
+ throw new CliError("validation_error", `wcat does not take ${first} before a tool's name`, {
392
+ reason: "input.invalid"
393
+ });
394
+ const name = first;
395
+ const [path, ...shadowed] = TOOL_NAME.test(name) ? findOnPath(`${PROGRAM_PREFIX}${name}`, context) : [];
396
+ if (path === void 0) {
397
+ const installed = [...installedPrograms(context).keys()];
398
+ throw new CliError("not_found", `no ${PROGRAM_PREFIX}${name} on PATH; installed: ${installed.length > 0 ? installed.join(", ") : "none"}`, { reason: "tool.not-installed", tool: name, installed });
399
+ }
400
+ if (shadowed.length > 0 && context.stderr.isTTY)
401
+ context.stderr.write(shadowWarnings([{ name, installed: true, path, shadowed }]));
402
+ return await runTool(path, rest, context);
403
+ } catch (error) {
404
+ return fail(error, json, context);
405
+ }
406
+ }, "runWcat");
407
+ export {
408
+ listTools,
409
+ runTool,
410
+ runWcat
411
+ };
@@ -42399,7 +42399,7 @@ function install11(registers) {
42399
42399
  }
42400
42400
  __name(install11, "install");
42401
42401
 
42402
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42402
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42403
42403
  var echartsOption = /* @__PURE__ */ __name((chart) => ({
42404
42404
  animation: false,
42405
42405
  backgroundColor: "#111827",
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
42447
42447
  } : {}
42448
42448
  }), "echartsOption");
42449
42449
 
42450
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42450
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42451
42451
  use([install2, install, install6, install5, install10, install7, install11]);
42452
42452
  var echartsRenderer = {
42453
42453
  render: /* @__PURE__ */ __name(async (chart, size) => {
@@ -13,12 +13,13 @@ import {
13
13
  truncated,
14
14
  unit,
15
15
  warmEmbedders
16
- } from "./chunk-MQTTVQ3V.js";
17
- import "./chunk-HA35XN2Z.js";
18
- import "./chunk-TRRRRGMI.js";
19
- import "./chunk-34USFPBF.js";
20
- import "./chunk-EARO464A.js";
16
+ } from "./chunk-NL3PAFAE.js";
17
+ import "./chunk-T7CDLV33.js";
18
+ import "./chunk-RSDIPQXP.js";
19
+ import "./chunk-OX6EWGSG.js";
20
+ import "./chunk-76CX2YPT.js";
21
21
  import "./chunk-Y5E2WNWB.js";
22
+ import "./chunk-EB2IULWB.js";
22
23
  import "./chunk-ZVVMGPBJ.js";
23
24
  export {
24
25
  WARM_IDLE_MS,
@@ -4,25 +4,26 @@ import {
4
4
  openSession,
5
5
  truncated,
6
6
  unit
7
- } from "./chunk-MQTTVQ3V.js";
8
- import "./chunk-HA35XN2Z.js";
9
- import "./chunk-TRRRRGMI.js";
10
- import "./chunk-34USFPBF.js";
11
- import {
12
- CliError
13
- } from "./chunk-EARO464A.js";
7
+ } from "./chunk-NL3PAFAE.js";
8
+ import "./chunk-T7CDLV33.js";
9
+ import "./chunk-RSDIPQXP.js";
10
+ import "./chunk-OX6EWGSG.js";
11
+ import "./chunk-76CX2YPT.js";
14
12
  import {
15
13
  importFrom
16
14
  } from "./chunk-Y5E2WNWB.js";
15
+ import {
16
+ CliError
17
+ } from "./chunk-EB2IULWB.js";
17
18
  import {
18
19
  __name
19
20
  } from "./chunk-ZVVMGPBJ.js";
20
21
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
22
23
  import { readFileSync } from "node:fs";
23
24
  import { join } from "node:path";
24
25
 
25
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
26
27
  var SIZE = 224;
27
28
  var MEAN = [0.48145466, 0.4578275, 0.40821073];
28
29
  var STD = [0.26862954, 0.26130258, 0.27577711];
@@ -61,7 +62,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
61
62
  return pixels;
62
63
  }, "preprocess");
63
64
 
64
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
65
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
65
66
  var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
66
67
  const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
67
68
  const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
@@ -3,13 +3,14 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  openBrowser,
5
5
  startCli
6
- } from "./chunk-CS5DQ6KM.js";
7
- import "./chunk-C34IDOA5.js";
8
- import "./chunk-XDOPONC3.js";
9
- import "./chunk-L4CMCC3V.js";
10
- import "./chunk-34USFPBF.js";
11
- import "./chunk-EARO464A.js";
6
+ } from "./chunk-5VFPUOJO.js";
7
+ import "./chunk-TZVL4U7U.js";
8
+ import "./chunk-RSNGMNU5.js";
9
+ import "./chunk-Y6VWGJ4Q.js";
10
+ import "./chunk-OX6EWGSG.js";
11
+ import "./chunk-76CX2YPT.js";
12
12
  import "./chunk-Y5E2WNWB.js";
13
+ import "./chunk-EB2IULWB.js";
13
14
  import "./chunk-ZVVMGPBJ.js";
14
15
  export {
15
16
  openBrowser,
@@ -0,0 +1,24 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ catchCrashes,
5
+ errorObjectOf,
6
+ errorRecordOf,
7
+ exitCodeOfAnswer,
8
+ exitCodeOfError,
9
+ mcpErrorResult,
10
+ renderError,
11
+ retryOf
12
+ } from "./chunk-76CX2YPT.js";
13
+ import "./chunk-EB2IULWB.js";
14
+ import "./chunk-ZVVMGPBJ.js";
15
+ export {
16
+ catchCrashes,
17
+ errorObjectOf,
18
+ errorRecordOf,
19
+ exitCodeOfAnswer,
20
+ exitCodeOfError,
21
+ mcpErrorResult,
22
+ renderError,
23
+ retryOf
24
+ };
@@ -0,0 +1,27 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ askSetupQuestions,
5
+ asksAtStart,
6
+ setupAtStart,
7
+ systemLanguage
8
+ } from "./chunk-SD5PUYKF.js";
9
+ import "./chunk-PPLFOIYX.js";
10
+ import "./chunk-YPF6OS37.js";
11
+ import "./chunk-PPSUA3IZ.js";
12
+ import "./chunk-IR4S7POE.js";
13
+ import "./chunk-VQPLHOVQ.js";
14
+ import "./chunk-RSDIPQXP.js";
15
+ import "./chunk-KV4267S4.js";
16
+ import "./chunk-D72URWJE.js";
17
+ import "./chunk-OX6EWGSG.js";
18
+ import "./chunk-76CX2YPT.js";
19
+ import "./chunk-Y5E2WNWB.js";
20
+ import "./chunk-EB2IULWB.js";
21
+ import "./chunk-ZVVMGPBJ.js";
22
+ export {
23
+ askSetupQuestions,
24
+ asksAtStart,
25
+ setupAtStart,
26
+ systemLanguage
27
+ };