@wirecat/mail-cli 0.32.0 → 0.33.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 (117) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-OTCWJSJS.js → all-profiles-W3CGXEEJ.js} +10 -10
  4. package/dist/bundle/{anthropic-GUXHDK32.js → anthropic-UMDO5AKP.js} +5 -5
  5. package/dist/bundle/{app-server-GX7DOE4O.js → app-server-4SICQ5RP.js} +50 -50
  6. package/dist/bundle/{bun-V5QLYBZU.js → bun-QVVCH4MJ.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-AXD5CCO3.js → bun-sqlite-CHD4AIUK.js} +6 -6
  8. package/dist/bundle/{chunk-KLGZX6QT.js → chunk-2BFXHCZW.js} +2 -2
  9. package/dist/bundle/{chunk-AJY2IT25.js → chunk-2L6D54BR.js} +8 -8
  10. package/dist/bundle/{chunk-RNBG75HW.js → chunk-2P44S7XK.js} +26 -29
  11. package/dist/bundle/{chunk-Z6OKVD3R.js → chunk-2X344EUT.js} +8 -8
  12. package/dist/bundle/{chunk-M4OP5ASJ.js → chunk-35AH33VJ.js} +1 -1
  13. package/dist/bundle/{chunk-2IYAZRTC.js → chunk-47YNANPZ.js} +2 -2
  14. package/dist/bundle/{chunk-7C6FGWDH.js → chunk-6IS4BEN4.js} +4 -4
  15. package/dist/bundle/{chunk-CAQ5GW3A.js → chunk-6VCQ4CTK.js} +1 -1
  16. package/dist/bundle/{chunk-HUWQ7LXZ.js → chunk-74BYHR44.js} +584 -588
  17. package/dist/bundle/{chunk-U346WBJ5.js → chunk-7OYZU5SP.js} +4 -4
  18. package/dist/bundle/{chunk-SWXKS7JK.js → chunk-AEKWEYIG.js} +17 -17
  19. package/dist/bundle/{chunk-JRGPPS6H.js → chunk-BF73DBAA.js} +13 -13
  20. package/dist/bundle/{chunk-7KCBPAQS.js → chunk-BI5P7JWM.js} +2 -2
  21. package/dist/bundle/{chunk-7MEVD5PI.js → chunk-BRRHYXUP.js} +19 -19
  22. package/dist/bundle/{chunk-PALY5PGE.js → chunk-BZY5W35X.js} +7 -7
  23. package/dist/bundle/{chunk-ZAD7K4TI.js → chunk-CHNNKHLL.js} +7468 -7317
  24. package/dist/bundle/{chunk-GPOTPA3S.js → chunk-CIG4UVP6.js} +12 -12
  25. package/dist/bundle/{chunk-7GW4D3OW.js → chunk-CZ6ZXDSO.js} +43 -35
  26. package/dist/bundle/{chunk-ANYADN3S.js → chunk-DI74RP6R.js} +18 -18
  27. package/dist/bundle/{chunk-IX3GUNGV.js → chunk-EW3JFV7J.js} +4 -4
  28. package/dist/bundle/{chunk-TWHIZJAZ.js → chunk-FSMCXQH2.js} +2 -2
  29. package/dist/bundle/{chunk-SEJBS7SI.js → chunk-GZYICXO4.js} +1 -1
  30. package/dist/bundle/{chunk-WNGMI6AZ.js → chunk-H46MANPR.js} +3 -3
  31. package/dist/bundle/{chunk-QHXOXYAT.js → chunk-HFFHL7SV.js} +55 -55
  32. package/dist/bundle/{chunk-GSXCMQWV.js → chunk-I3UAD4EI.js} +30 -30
  33. package/dist/bundle/{chunk-IBCGCYRU.js → chunk-IBIFX2LK.js} +2 -2
  34. package/dist/bundle/{chunk-FA3B2DHZ.js → chunk-IPSLQX64.js} +2 -2
  35. package/dist/bundle/{chunk-3URYKAJP.js → chunk-JADBHKBP.js} +1 -1
  36. package/dist/bundle/{chunk-GDDCKTBR.js → chunk-JCQ47WR4.js} +5 -5
  37. package/dist/bundle/{chunk-JUS4Y4BW.js → chunk-JUYUWMTG.js} +4 -4
  38. package/dist/bundle/{chunk-TDTCCHAI.js → chunk-KLLT572M.js} +3 -3
  39. package/dist/bundle/{chunk-O7OP5NQO.js → chunk-L3MKFI3Y.js} +2 -2
  40. package/dist/bundle/{chunk-T577U52I.js → chunk-LACMDMDI.js} +9 -9
  41. package/dist/bundle/{chunk-CD3TAITM.js → chunk-LB5FTCPZ.js} +3 -4
  42. package/dist/bundle/{chunk-6TRKNME5.js → chunk-LFBD6RTX.js} +2 -2
  43. package/dist/bundle/{chunk-PCMQYGEM.js → chunk-LKGJMM6W.js} +6 -6
  44. package/dist/bundle/{chunk-SDAYOJLL.js → chunk-LXAX6AZU.js} +6 -6
  45. package/dist/bundle/{chunk-6SJ7HHAE.js → chunk-LXUHYDNE.js} +1 -1
  46. package/dist/bundle/{chunk-MT2WDBG2.js → chunk-MJ7DUSHT.js} +14 -14
  47. package/dist/bundle/{chunk-U57QRUP7.js → chunk-MNJ3BMPZ.js} +3 -3
  48. package/dist/bundle/{chunk-HFA6AZWA.js → chunk-MT7T5N2N.js} +4 -4
  49. package/dist/bundle/{chunk-MVMNZ3Q3.js → chunk-OFMYFFEF.js} +461 -402
  50. package/dist/bundle/{chunk-OUM4ZO53.js → chunk-OOYIPK4F.js} +1 -1
  51. package/dist/bundle/{chunk-MENP3FF5.js → chunk-OWAJN74H.js} +15 -15
  52. package/dist/bundle/{chunk-SZZJOSIS.js → chunk-QN423PC6.js} +3 -3
  53. package/dist/bundle/{chunk-KLFF54AF.js → chunk-QO7BK4WD.js} +8 -8
  54. package/dist/bundle/{chunk-2UMEZY6D.js → chunk-RENCSP47.js} +3 -3
  55. package/dist/bundle/{chunk-FIVFP53N.js → chunk-RXUVXAMM.js} +1 -1
  56. package/dist/bundle/{chunk-IVD3JTN5.js → chunk-S6CHYNFE.js} +2 -2
  57. package/dist/bundle/{chunk-ZDP6A2VL.js → chunk-SDWYOYGN.js} +4 -4
  58. package/dist/bundle/{chunk-PCWAZVAD.js → chunk-SW7YGW3T.js} +7 -7
  59. package/dist/bundle/{chunk-MSK7RNOM.js → chunk-SYUIAMVA.js} +178 -154
  60. package/dist/bundle/{chunk-XXXVVNGI.js → chunk-TBZLGT7R.js} +17 -17
  61. package/dist/bundle/{chunk-4YNUQGDP.js → chunk-TK77DCE5.js} +1 -1
  62. package/dist/bundle/{chunk-MHXZ62CU.js → chunk-UAV74EY4.js} +1 -1
  63. package/dist/bundle/{chunk-WQOGHND4.js → chunk-UG2QDGAH.js} +1 -1
  64. package/dist/bundle/{chunk-ECZSYLSL.js → chunk-UWF3SSRL.js} +25 -8
  65. package/dist/bundle/{chunk-LVFI3TCG.js → chunk-UX76GMQM.js} +6 -6
  66. package/dist/bundle/{chunk-6XNTELM5.js → chunk-UYZDH5LK.js} +1 -1
  67. package/dist/bundle/{chunk-NMN5JUYL.js → chunk-XN5KH24X.js} +5 -5
  68. package/dist/bundle/{chunk-U7RLFLTM.js → chunk-XQXYAOBV.js} +30 -29
  69. package/dist/bundle/{chunk-LVJWN2PR.js → chunk-Y2P2LC5R.js} +21 -11
  70. package/dist/bundle/command-contract-NRNQAFFE.js +36 -0
  71. package/dist/bundle/{command-server-entry-BVXOPKXH.js → command-server-entry-G2ZHCN5J.js} +25 -25
  72. package/dist/bundle/{decode-STN3EHT7.js → decode-U6V6D6XH.js} +5 -5
  73. package/dist/bundle/{dispatch-DSVN7MNG.js → dispatch-RHIK22OA.js} +8 -8
  74. package/dist/bundle/{dist-B2JWWTNN.js → dist-X5G2IMYG.js} +15 -15
  75. package/dist/bundle/{echarts-QIXLXS3G.js → echarts-UZJ6AREV.js} +2 -2
  76. package/dist/bundle/{embed-4NC4ELYP.js → embed-FEXLUH3T.js} +6 -6
  77. package/dist/bundle/{embedder-HBRDIFQC.js → embedder-NHQARKFJ.js} +9 -9
  78. package/dist/bundle/{failure-COTPFUP4.js → failure-7DIA4OET.js} +2 -2
  79. package/dist/bundle/{first-run-6QF67AAZ.js → first-run-PS5NR2QG.js} +12 -12
  80. package/dist/bundle/first-screen-C2WTLOG2.js +34 -0
  81. package/dist/bundle/{instructions-MD2RZT5Z.js → instructions-SDDUBGH4.js} +1 -1
  82. package/dist/bundle/mail.js +12 -12
  83. package/dist/bundle/{mcp-TDKGDB4V.js → mcp-GN4FTJX5.js} +2 -2
  84. package/dist/bundle/{node-IEVT2FSJ.js → node-ELCNUOCE.js} +2 -2
  85. package/dist/bundle/{node-sqlite-EOTTDMOG.js → node-sqlite-2E5MKZMH.js} +7 -7
  86. package/dist/bundle/{oauth-A5BEFGCI.js → oauth-JGPEIY3M.js} +7 -7
  87. package/dist/bundle/{open-HWN2EZYG.js → open-6DEMCZAB.js} +5 -5
  88. package/dist/bundle/{openai-PJKJ4CIU.js → openai-IVKDU5AH.js} +15 -15
  89. package/dist/bundle/{process-6Q23D3TO.js → process-67DAKAAQ.js} +1 -1
  90. package/dist/bundle/{program-WR43NPAV.js → program-ESJDQMAJ.js} +461 -466
  91. package/dist/bundle/{prompt-E7Q2662O.js → prompt-ZBWOT5KG.js} +5 -5
  92. package/dist/bundle/{recognize-4F4PIL4B.js → recognize-UUBH2DOH.js} +4 -4
  93. package/dist/bundle/{remote-RGJXO7XK.js → remote-UYTNWNOB.js} +9 -9
  94. package/dist/bundle/{rerank-EDY7PHMG.js → rerank-X2633CQN.js} +7 -7
  95. package/dist/bundle/{serve-Q4XF6ID2.js → serve-CP7Q4OVW.js} +9 -9
  96. package/dist/bundle/{server-5I72DSDF.js → server-I7MXRSAG.js} +42 -42
  97. package/dist/bundle/server-QGTMJ7SF.js +67 -0
  98. package/dist/bundle/{sqlite-runtime-PU3Z2H7C.js → sqlite-runtime-BX55LI5G.js} +6 -6
  99. package/dist/bundle/{state-CWSXJBU2.js → state-LLNJQXFH.js} +6 -6
  100. package/dist/bundle/{store-KQPKS3PX.js → store-K4KU5N75.js} +19 -19
  101. package/dist/bundle/{store-ZAMKKM2A.js → store-N27XI3VV.js} +17 -17
  102. package/dist/bundle/store-maintenance-command-VPAFQCNA.js +58 -0
  103. package/dist/commands/messages.js +1 -1
  104. package/dist/commands/messages.js.map +1 -1
  105. package/dist/mail/cleanup.d.ts.map +1 -1
  106. package/dist/mail/cleanup.js +4 -3
  107. package/dist/mail/cleanup.js.map +1 -1
  108. package/dist/mail/rules/apply.js +1 -1
  109. package/dist/mail/rules/apply.js.map +1 -1
  110. package/dist/version.d.ts +1 -1
  111. package/dist/version.js +1 -1
  112. package/package.json +3 -3
  113. package/dist/bundle/command-contract-DZ6XRIOI.js +0 -36
  114. package/dist/bundle/first-screen-LXSZMK2P.js +0 -34
  115. package/dist/bundle/server-2Y5NSP2U.js +0 -67
  116. package/dist/bundle/store-maintenance-command-PMTTDR6J.js +0 -58
  117. /package/dist/bundle/{chunk-XWBPP2HX.js → chunk-BDCC2J2Z.js} +0 -0
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  LEVELS
5
- } from "./chunk-PCWAZVAD.js";
5
+ } from "./chunk-SW7YGW3T.js";
6
6
  import {
7
7
  WORD_BODY,
8
8
  e164Of
9
- } from "./chunk-ANYADN3S.js";
9
+ } from "./chunk-DI74RP6R.js";
10
10
  import {
11
11
  resolvePaths,
12
12
  writeSecurely
13
- } from "./chunk-7MEVD5PI.js";
13
+ } from "./chunk-BRRHYXUP.js";
14
14
  import {
15
15
  array,
16
16
  getDotPath,
@@ -29,16 +29,16 @@ import {
29
29
  string,
30
30
  transform,
31
31
  unknown
32
- } from "./chunk-ECZSYLSL.js";
32
+ } from "./chunk-UWF3SSRL.js";
33
33
  import {
34
34
  CliError,
35
35
  visibleControls
36
- } from "./chunk-7KCBPAQS.js";
36
+ } from "./chunk-BI5P7JWM.js";
37
37
  import {
38
38
  __name
39
39
  } from "./chunk-ZVVMGPBJ.js";
40
40
 
41
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/vcard.js
41
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/vcard.js
42
42
  import { createHash } from "node:crypto";
43
43
  var MAX_ID = 512;
44
44
  var AS_WORD = new RegExp(`^${WORD_BODY}$`);
@@ -269,7 +269,7 @@ var envelopeOfVcard = /* @__PURE__ */ __name((text, { provider, account, batchId
269
269
  };
270
270
  }, "envelopeOfVcard");
271
271
 
272
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/formatting.js
272
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/formatting.js
273
273
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
274
274
  var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
275
275
  const { text, spans } = formatted;
@@ -329,7 +329,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
329
329
  };
330
330
  }, "visibleFormattedText");
331
331
 
332
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/moderation/check.js
332
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/moderation/check.js
333
333
  var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
334
334
  var LINK = /https?:\/\/\S+/i;
335
335
  var STRENGTH = { report: 0, delete: 1, remove: 2 };
@@ -517,8 +517,8 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
517
517
  }, "nextPoint");
518
518
  var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
519
519
 
520
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/moderation/rules.js
521
- import { existsSync, readFileSync } from "node:fs";
520
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/moderation/rules.js
521
+ import { existsSync, readdirSync, readFileSync } from "node:fs";
522
522
  import { join } from "node:path";
523
523
  var RULE_ACTIONS = ["report", "delete", "remove"];
524
524
  var OLD_LEVELS = { forbid: "deny", flag: "ask", confirm: "ask", allow: "allow" };
@@ -586,7 +586,16 @@ var KEYS = {
586
586
  "consent.remove": { help: LEVELS.join("|"), parse: String }
587
587
  };
588
588
  var RULE_KEYS = Object.keys(KEYS);
589
- var moderationPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.moderation.json`), "moderationPathFor");
589
+ var stateFolder = /* @__PURE__ */ __name((app, env, folder) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, folder), "stateFolder");
590
+ var profilesFolder = /* @__PURE__ */ __name((app, env) => stateFolder(app, env, "profiles"), "profilesFolder");
591
+ var moderationPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join(profilesFolder(app, env), `${profile}.moderation.json`), "moderationPathFor");
592
+ var namesIn = /* @__PURE__ */ __name((folder, suffix) => existsSync(folder) ? readdirSync(folder).filter((name) => name.endsWith(suffix)).map((name) => name.slice(0, -suffix.length)) : [], "namesIn");
593
+ var moderationProfiles = /* @__PURE__ */ __name((app, env = process.env) => [
594
+ .../* @__PURE__ */ new Set([
595
+ ...namesIn(stateFolder(app, env, "accounts"), ".json"),
596
+ ...namesIn(profilesFolder(app, env), ".moderation.json")
597
+ ])
598
+ ].sort(), "moderationProfiles");
590
599
  var ModerationRules = class {
591
600
  static {
592
601
  __name(this, "ModerationRules");
@@ -676,5 +685,6 @@ export {
676
685
  defaultRules,
677
686
  RULE_KEYS,
678
687
  moderationPathFor,
688
+ moderationProfiles,
679
689
  ModerationRules
680
690
  };
@@ -0,0 +1,36 @@
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-XN5KH24X.js";
10
+ import "./chunk-SYUIAMVA.js";
11
+ import "./chunk-SW7YGW3T.js";
12
+ import "./chunk-2X344EUT.js";
13
+ import "./chunk-UG2QDGAH.js";
14
+ import "./chunk-MNJ3BMPZ.js";
15
+ import "./chunk-H46MANPR.js";
16
+ import "./chunk-XQXYAOBV.js";
17
+ import "./chunk-OFMYFFEF.js";
18
+ import "./chunk-L3MKFI3Y.js";
19
+ import "./chunk-LXUHYDNE.js";
20
+ import "./chunk-JCQ47WR4.js";
21
+ import "./chunk-BZY5W35X.js";
22
+ import "./chunk-JUYUWMTG.js";
23
+ import "./chunk-BDCC2J2Z.js";
24
+ import "./chunk-IPSLQX64.js";
25
+ import "./chunk-BRRHYXUP.js";
26
+ import "./chunk-UWF3SSRL.js";
27
+ import "./chunk-Y5E2WNWB.js";
28
+ import "./chunk-BI5P7JWM.js";
29
+ import "./chunk-ZVVMGPBJ.js";
30
+ export {
31
+ SCHEMA_DIALECT,
32
+ commandContract,
33
+ commandPathOf,
34
+ findCommand,
35
+ outputOf
36
+ };
@@ -4,48 +4,48 @@ import {
4
4
  COMMAND_SERVER_CONCURRENT,
5
5
  enterCommandServer,
6
6
  serveCommands
7
- } from "./chunk-AJY2IT25.js";
7
+ } from "./chunk-2L6D54BR.js";
8
8
  import {
9
9
  ensureSqlite
10
- } from "./chunk-TWHIZJAZ.js";
11
- import "./chunk-MHXZ62CU.js";
12
- import "./chunk-NMN5JUYL.js";
10
+ } from "./chunk-FSMCXQH2.js";
11
+ import "./chunk-UAV74EY4.js";
12
+ import "./chunk-XN5KH24X.js";
13
13
  import {
14
14
  commandServerRequest,
15
15
  exitCodeSet,
16
16
  inCommandServerRequest
17
- } from "./chunk-MSK7RNOM.js";
18
- import "./chunk-PCWAZVAD.js";
19
- import "./chunk-Z6OKVD3R.js";
20
- import "./chunk-WQOGHND4.js";
21
- import "./chunk-U57QRUP7.js";
22
- import "./chunk-WNGMI6AZ.js";
17
+ } from "./chunk-SYUIAMVA.js";
18
+ import "./chunk-SW7YGW3T.js";
19
+ import "./chunk-2X344EUT.js";
20
+ import "./chunk-UG2QDGAH.js";
21
+ import "./chunk-MNJ3BMPZ.js";
22
+ import "./chunk-H46MANPR.js";
23
23
  import {
24
24
  asOwnProcess
25
- } from "./chunk-U7RLFLTM.js";
26
- import "./chunk-MVMNZ3Q3.js";
27
- import "./chunk-O7OP5NQO.js";
28
- import "./chunk-6SJ7HHAE.js";
29
- import "./chunk-GDDCKTBR.js";
30
- import "./chunk-PALY5PGE.js";
31
- import "./chunk-JUS4Y4BW.js";
32
- import "./chunk-XWBPP2HX.js";
33
- import "./chunk-FA3B2DHZ.js";
34
- import "./chunk-SDAYOJLL.js";
35
- import "./chunk-OUM4ZO53.js";
36
- import "./chunk-7MEVD5PI.js";
25
+ } from "./chunk-XQXYAOBV.js";
26
+ import "./chunk-OFMYFFEF.js";
27
+ import "./chunk-L3MKFI3Y.js";
28
+ import "./chunk-LXUHYDNE.js";
29
+ import "./chunk-JCQ47WR4.js";
30
+ import "./chunk-BZY5W35X.js";
31
+ import "./chunk-JUYUWMTG.js";
32
+ import "./chunk-BDCC2J2Z.js";
33
+ import "./chunk-IPSLQX64.js";
34
+ import "./chunk-LXAX6AZU.js";
35
+ import "./chunk-OOYIPK4F.js";
36
+ import "./chunk-BRRHYXUP.js";
37
37
  import {
38
38
  catchCrashes
39
- } from "./chunk-ECZSYLSL.js";
39
+ } from "./chunk-UWF3SSRL.js";
40
40
  import "./chunk-Y5E2WNWB.js";
41
41
  import {
42
42
  CliError
43
- } from "./chunk-7KCBPAQS.js";
43
+ } from "./chunk-BI5P7JWM.js";
44
44
  import {
45
45
  __name
46
46
  } from "./chunk-ZVVMGPBJ.js";
47
47
 
48
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/command-server-entry.js
48
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/command-server-entry.js
49
49
  import { PassThrough } from "node:stream";
50
50
  var route = /* @__PURE__ */ __name((stream, sink) => {
51
51
  const original = stream.write;
@@ -3,20 +3,20 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  decodeOgg
6
- } from "./chunk-HFA6AZWA.js";
7
- import "./chunk-7MEVD5PI.js";
8
- import "./chunk-ECZSYLSL.js";
6
+ } from "./chunk-MT7T5N2N.js";
7
+ import "./chunk-BRRHYXUP.js";
8
+ import "./chunk-UWF3SSRL.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-7KCBPAQS.js";
14
+ } from "./chunk-BI5P7JWM.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/speech/decode.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/speech/decode.js
20
20
  import { spawn } from "node:child_process";
21
21
  import { mkdtemp, rm, writeFile } from "node:fs/promises";
22
22
  import { createRequire } from "node:module";
@@ -14,22 +14,22 @@ import {
14
14
  parseDescribe,
15
15
  shimFiles,
16
16
  writeShim
17
- } from "./chunk-IX3GUNGV.js";
17
+ } from "./chunk-EW3JFV7J.js";
18
18
  import "./chunk-Y5E2WNWB.js";
19
19
  import {
20
20
  CliError
21
- } from "./chunk-7KCBPAQS.js";
21
+ } from "./chunk-BI5P7JWM.js";
22
22
  import {
23
23
  __name,
24
24
  __toESM
25
25
  } from "./chunk-ZVVMGPBJ.js";
26
26
 
27
- // 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/wcat/dispatch.js
27
+ // node_modules/.pnpm/@wirecat+cli-base@0.100.0_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
28
28
  var import_cross_spawn2 = __toESM(require_cross_spawn(), 1);
29
29
  import { randomUUID } from "node:crypto";
30
30
  import { constants } from "node:os";
31
31
 
32
- // 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/wcat/path.js
32
+ // node_modules/.pnpm/@wirecat+cli-base@0.100.0_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
33
33
  import { readdirSync, statSync } from "node:fs";
34
34
  import { join } from "node:path";
35
35
  var variable = /* @__PURE__ */ __name((env, name, platform) => platform === "win32" ? Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1] : env[name], "variable");
@@ -101,7 +101,7 @@ var findTools = /* @__PURE__ */ __name((search) => {
101
101
  }, "findTools");
102
102
  var isBuiltIn = /* @__PURE__ */ __name((name) => name === "wcat" || BUILT_IN_COMMANDS.includes(name), "isBuiltIn");
103
103
 
104
- // 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/wcat/probe.js
104
+ // node_modules/.pnpm/@wirecat+cli-base@0.100.0_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
105
105
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
106
106
  import { readFileSync } from "node:fs";
107
107
  var probeDescribe = /* @__PURE__ */ __name((path, { env, timeoutMs }) => new Promise((resolve) => {
@@ -149,7 +149,7 @@ var baseVersion = /* @__PURE__ */ __name(() => {
149
149
  }
150
150
  }, "baseVersion");
151
151
 
152
- // 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/wcat/shortcuts.js
152
+ // node_modules/.pnpm/@wirecat+cli-base@0.100.0_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
153
  import { closeSync, openSync, readSync, realpathSync, rmSync } from "node:fs";
154
154
  import { basename, dirname } from "node:path";
155
155
  var WIRECAT_PACKAGE = /node_modules[\\/]+@wirecat[\\/]/;
@@ -241,7 +241,7 @@ var removeShortcuts = /* @__PURE__ */ __name((search, names) => listShortcuts(se
241
241
  return { ...statusOf(shortcut.name, shortcut.program, search), changed: true };
242
242
  }), "removeShortcuts");
243
243
 
244
- // 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/wcat/dispatch.js
244
+ // node_modules/.pnpm/@wirecat+cli-base@0.100.0_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
245
  var DEFAULT_DESCRIBE_TIMEOUT_MS = 2e3;
246
246
  var listTools = /* @__PURE__ */ __name(async (context) => {
247
247
  const installed = installedPrograms(context);
@@ -338,7 +338,7 @@ var runTool = /* @__PURE__ */ __name((path, args, context) => new Promise((resol
338
338
  });
339
339
  }), "runTool");
340
340
  var fail = /* @__PURE__ */ __name(async (error, json, context) => {
341
- const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-COTPFUP4.js");
341
+ const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-7DIA4OET.js");
342
342
  const object = errorObjectOf(error);
343
343
  context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
344
344
  `);
@@ -24,17 +24,17 @@ import {
24
24
  recordTemplate,
25
25
  refsForLink,
26
26
  terminalQr
27
- } from "./chunk-MT2WDBG2.js";
27
+ } from "./chunk-MJ7DUSHT.js";
28
28
  import {
29
29
  DETAILS,
30
30
  REASONS,
31
31
  failureContext
32
- } from "./chunk-CD3TAITM.js";
32
+ } from "./chunk-LB5FTCPZ.js";
33
33
  import {
34
34
  pollLines,
35
35
  renderMessage,
36
36
  renderMessages
37
- } from "./chunk-KLGZX6QT.js";
37
+ } from "./chunk-2BFXHCZW.js";
38
38
  import {
39
39
  ModerationRules,
40
40
  act,
@@ -44,15 +44,15 @@ import {
44
44
  judge,
45
45
  moderationPathFor,
46
46
  validateFormattedText
47
- } from "./chunk-LVJWN2PR.js";
47
+ } from "./chunk-Y2P2LC5R.js";
48
48
  import {
49
49
  readSecret
50
- } from "./chunk-SZZJOSIS.js";
51
- import "./chunk-IVD3JTN5.js";
50
+ } from "./chunk-QN423PC6.js";
51
+ import "./chunk-S6CHYNFE.js";
52
52
  import "./chunk-HTQTIKWP.js";
53
53
  import {
54
54
  resolveOutput
55
- } from "./chunk-PCWAZVAD.js";
55
+ } from "./chunk-SW7YGW3T.js";
56
56
  import {
57
57
  COUNTER_FIELDS,
58
58
  PHONE_COUNTRIES,
@@ -76,7 +76,7 @@ import {
76
76
  pickChat,
77
77
  pickPerson,
78
78
  rankingOptions
79
- } from "./chunk-ANYADN3S.js";
79
+ } from "./chunk-DI74RP6R.js";
80
80
  import {
81
81
  ADDED_ACCOUNT,
82
82
  ADDED_PROVIDER,
@@ -157,14 +157,14 @@ import {
157
157
  standingOf,
158
158
  usableLink,
159
159
  useProviders
160
- } from "./chunk-MVMNZ3Q3.js";
161
- import "./chunk-6SJ7HHAE.js";
162
- import "./chunk-4YNUQGDP.js";
163
- import "./chunk-XWBPP2HX.js";
164
- import "./chunk-7MEVD5PI.js";
165
- import "./chunk-ECZSYLSL.js";
160
+ } from "./chunk-OFMYFFEF.js";
161
+ import "./chunk-LXUHYDNE.js";
162
+ import "./chunk-TK77DCE5.js";
163
+ import "./chunk-BDCC2J2Z.js";
164
+ import "./chunk-BRRHYXUP.js";
165
+ import "./chunk-UWF3SSRL.js";
166
166
  import "./chunk-Y5E2WNWB.js";
167
- import "./chunk-7KCBPAQS.js";
167
+ import "./chunk-BI5P7JWM.js";
168
168
  import "./chunk-ZVVMGPBJ.js";
169
169
  export {
170
170
  ADDED_ACCOUNT,
@@ -42399,7 +42399,7 @@ function install11(registers) {
42399
42399
  }
42400
42400
  __name(install11, "install");
42401
42401
 
42402
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42402
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/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.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42450
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/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,13 +13,13 @@ import {
13
13
  truncated,
14
14
  unit,
15
15
  warmEmbedders
16
- } from "./chunk-LVFI3TCG.js";
17
- import "./chunk-JUS4Y4BW.js";
18
- import "./chunk-FA3B2DHZ.js";
19
- import "./chunk-7MEVD5PI.js";
20
- import "./chunk-ECZSYLSL.js";
16
+ } from "./chunk-UX76GMQM.js";
17
+ import "./chunk-JUYUWMTG.js";
18
+ import "./chunk-IPSLQX64.js";
19
+ import "./chunk-BRRHYXUP.js";
20
+ import "./chunk-UWF3SSRL.js";
21
21
  import "./chunk-Y5E2WNWB.js";
22
- import "./chunk-7KCBPAQS.js";
22
+ import "./chunk-BI5P7JWM.js";
23
23
  import "./chunk-ZVVMGPBJ.js";
24
24
  export {
25
25
  WARM_IDLE_MS,
@@ -4,26 +4,26 @@ import {
4
4
  openSession,
5
5
  truncated,
6
6
  unit
7
- } from "./chunk-LVFI3TCG.js";
8
- import "./chunk-JUS4Y4BW.js";
9
- import "./chunk-FA3B2DHZ.js";
10
- import "./chunk-7MEVD5PI.js";
11
- import "./chunk-ECZSYLSL.js";
7
+ } from "./chunk-UX76GMQM.js";
8
+ import "./chunk-JUYUWMTG.js";
9
+ import "./chunk-IPSLQX64.js";
10
+ import "./chunk-BRRHYXUP.js";
11
+ import "./chunk-UWF3SSRL.js";
12
12
  import {
13
13
  importFrom
14
14
  } from "./chunk-Y5E2WNWB.js";
15
15
  import {
16
16
  CliError
17
- } from "./chunk-7KCBPAQS.js";
17
+ } from "./chunk-BI5P7JWM.js";
18
18
  import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
23
23
  import { readFileSync } from "node:fs";
24
24
  import { join } from "node:path";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
27
27
  var SIZE = 224;
28
28
  var MEAN = [0.48145466, 0.4578275, 0.40821073];
29
29
  var STD = [0.26862954, 0.26130258, 0.27577711];
@@ -62,7 +62,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
62
62
  return pixels;
63
63
  }, "preprocess");
64
64
 
65
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
65
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
66
66
  var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
67
67
  const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
68
68
  const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
@@ -9,8 +9,8 @@ import {
9
9
  mcpErrorResult,
10
10
  renderError,
11
11
  retryOf
12
- } from "./chunk-ECZSYLSL.js";
13
- import "./chunk-7KCBPAQS.js";
12
+ } from "./chunk-UWF3SSRL.js";
13
+ import "./chunk-BI5P7JWM.js";
14
14
  import "./chunk-ZVVMGPBJ.js";
15
15
  export {
16
16
  catchCrashes,
@@ -5,20 +5,20 @@ import {
5
5
  asksAtStart,
6
6
  setupAtStart,
7
7
  systemLanguage
8
- } from "./chunk-GPOTPA3S.js";
9
- import "./chunk-7C6FGWDH.js";
10
- import "./chunk-FIVFP53N.js";
11
- import "./chunk-U57QRUP7.js";
12
- import "./chunk-KLFF54AF.js";
13
- import "./chunk-4YNUQGDP.js";
14
- import "./chunk-PALY5PGE.js";
15
- import "./chunk-M4OP5ASJ.js";
8
+ } from "./chunk-CIG4UVP6.js";
9
+ import "./chunk-6IS4BEN4.js";
10
+ import "./chunk-RXUVXAMM.js";
11
+ import "./chunk-MNJ3BMPZ.js";
12
+ import "./chunk-QO7BK4WD.js";
13
+ import "./chunk-TK77DCE5.js";
14
+ import "./chunk-BZY5W35X.js";
15
+ import "./chunk-35AH33VJ.js";
16
16
  import "./chunk-D72URWJE.js";
17
- import "./chunk-FA3B2DHZ.js";
18
- import "./chunk-7MEVD5PI.js";
19
- import "./chunk-ECZSYLSL.js";
17
+ import "./chunk-IPSLQX64.js";
18
+ import "./chunk-BRRHYXUP.js";
19
+ import "./chunk-UWF3SSRL.js";
20
20
  import "./chunk-Y5E2WNWB.js";
21
- import "./chunk-7KCBPAQS.js";
21
+ import "./chunk-BI5P7JWM.js";
22
22
  import "./chunk-ZVVMGPBJ.js";
23
23
  export {
24
24
  askSetupQuestions,
@@ -0,0 +1,34 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ WIRECAT_TOOLS,
5
+ firstScreen,
6
+ installHelp
7
+ } from "./chunk-LKGJMM6W.js";
8
+ import "./chunk-XN5KH24X.js";
9
+ import "./chunk-HTQTIKWP.js";
10
+ import "./chunk-SYUIAMVA.js";
11
+ import "./chunk-SW7YGW3T.js";
12
+ import "./chunk-2X344EUT.js";
13
+ import "./chunk-UG2QDGAH.js";
14
+ import "./chunk-MNJ3BMPZ.js";
15
+ import "./chunk-H46MANPR.js";
16
+ import "./chunk-XQXYAOBV.js";
17
+ import "./chunk-OFMYFFEF.js";
18
+ import "./chunk-L3MKFI3Y.js";
19
+ import "./chunk-LXUHYDNE.js";
20
+ import "./chunk-JCQ47WR4.js";
21
+ import "./chunk-BZY5W35X.js";
22
+ import "./chunk-JUYUWMTG.js";
23
+ import "./chunk-BDCC2J2Z.js";
24
+ import "./chunk-IPSLQX64.js";
25
+ import "./chunk-BRRHYXUP.js";
26
+ import "./chunk-UWF3SSRL.js";
27
+ import "./chunk-Y5E2WNWB.js";
28
+ import "./chunk-BI5P7JWM.js";
29
+ import "./chunk-ZVVMGPBJ.js";
30
+ export {
31
+ WIRECAT_TOOLS,
32
+ firstScreen,
33
+ installHelp
34
+ };
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  appInstructions,
5
5
  instructions
6
- } from "./chunk-CAQ5GW3A.js";
6
+ } from "./chunk-6VCQ4CTK.js";
7
7
  import "./chunk-ZVVMGPBJ.js";
8
8
  export {
9
9
  appInstructions,
@@ -3,11 +3,11 @@ import { createRequire as __bundleRequire } from "node:module";
3
3
  const require = __bundleRequire(import.meta.url);
4
4
  import {
5
5
  DESKTOP
6
- } from "./chunk-6TRKNME5.js";
6
+ } from "./chunk-LFBD6RTX.js";
7
7
  import {
8
8
  installerOf
9
- } from "./chunk-M4OP5ASJ.js";
10
- import "./chunk-XWBPP2HX.js";
9
+ } from "./chunk-35AH33VJ.js";
10
+ import "./chunk-BDCC2J2Z.js";
11
11
  import {
12
12
  DESCRIBE_FLAG,
13
13
  DISPATCH_FLAG,
@@ -18,13 +18,13 @@ import {
18
18
  fileState,
19
19
  shimFiles,
20
20
  writeShim
21
- } from "./chunk-IX3GUNGV.js";
22
- import "./chunk-7MEVD5PI.js";
21
+ } from "./chunk-EW3JFV7J.js";
22
+ import "./chunk-BRRHYXUP.js";
23
23
  import {
24
24
  catchCrashes
25
- } from "./chunk-ECZSYLSL.js";
25
+ } from "./chunk-UWF3SSRL.js";
26
26
  import "./chunk-Y5E2WNWB.js";
27
- import "./chunk-7KCBPAQS.js";
27
+ import "./chunk-BI5P7JWM.js";
28
28
  import {
29
29
  __name
30
30
  } from "./chunk-ZVVMGPBJ.js";
@@ -32,13 +32,13 @@ import {
32
32
  // dist/bin/mail.js
33
33
  import { enableCompileCache } from "node:module";
34
34
 
35
- // 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/wcat/start.js
35
+ // node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
36
36
  import { createHash } from "node:crypto";
37
37
  import { existsSync, readFileSync as readFileSync2, realpathSync } from "node:fs";
38
38
  import { dirname as dirname2, join as join2 } from "node:path";
39
39
  import { fileURLToPath } from "node:url";
40
40
 
41
- // 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/wcat/launcher.js
41
+ // node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/launcher.js
42
42
  import { readFileSync } from "node:fs";
43
43
  import { basename, dirname, join, resolve } from "node:path";
44
44
  var posix = /* @__PURE__ */ __name((path) => path.replaceAll("\\", "/"), "posix");
@@ -124,7 +124,7 @@ var ensureLauncher = /* @__PURE__ */ __name(({ dir, program, platform }) => {
124
124
  }
125
125
  }, "ensureLauncher");
126
126
 
127
- // 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/wcat/start.js
127
+ // node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
128
128
  var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
129
129
  const argv = io.argv ?? process.argv;
130
130
  const env = io.env ?? process.env;
@@ -137,7 +137,7 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
137
137
  return { code: 0 };
138
138
  }
139
139
  if (first === DISPATCH_FLAG) {
140
- const { runWcat } = await import("./dispatch-DSVN7MNG.js");
140
+ const { runWcat } = await import("./dispatch-RHIK22OA.js");
141
141
  const code = await runWcat(rest, { env, platform, stdout, stderr: io.stderr ?? process.stderr, self: tool });
142
142
  return { code };
143
143
  }
@@ -177,7 +177,7 @@ if (wcat.code !== void 0) {
177
177
  process.exitCode = wcat.code;
178
178
  } else {
179
179
  const stopCatching = catchCrashes({ cli: DESKTOP.command, interactive: process.stdout.isTTY === true });
180
- const { run } = await import("./program-WR43NPAV.js");
180
+ const { run } = await import("./program-ESJDQMAJ.js");
181
181
  try {
182
182
  process.exitCode = await run(process.argv.slice(2));
183
183
  } finally {
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  executableEnvironment,
5
5
  executableOnPath
6
- } from "./chunk-FIVFP53N.js";
6
+ } from "./chunk-RXUVXAMM.js";
7
7
  import {
8
8
  require_cross_spawn
9
9
  } from "./chunk-D72URWJE.js";
@@ -12,7 +12,7 @@ import {
12
12
  __toESM
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // 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/mcp/index.js
15
+ // node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/mcp/index.js
16
16
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
17
17
  var realRun = /* @__PURE__ */ __name((file, args) => {
18
18
  const result = import_cross_spawn.default.sync(executableOnPath(file, process.env), args, {