@wirecat/mail-cli 0.2.0 → 0.3.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 (94) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-7WILOT5E.js → all-profiles-52LCOKSL.js} +5 -5
  4. package/dist/bundle/{anthropic-NHWLIMEZ.js → anthropic-HPW7PLTT.js} +3 -3
  5. package/dist/bundle/{app-server-XDMYCJLV.js → app-server-Y7XSPVHJ.js} +39 -39
  6. package/dist/bundle/{bun-GTG5IYLQ.js → bun-B7YXDIMT.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-KGH5F33G.js → bun-sqlite-TTTKY7H2.js} +2 -2
  8. package/dist/bundle/{chunk-MABCR67K.js → chunk-37MSU5O6.js} +1 -1
  9. package/dist/bundle/{chunk-CT7NG7BI.js → chunk-3RDTVH3H.js} +3 -3
  10. package/dist/bundle/{chunk-TMVIQJCG.js → chunk-4PXWXI2U.js} +2 -2
  11. package/dist/bundle/{chunk-4I3YT5KK.js → chunk-4UOEUEZZ.js} +4 -4
  12. package/dist/bundle/{chunk-7LKJDJNS.js → chunk-5LY3OS7U.js} +1 -1
  13. package/dist/bundle/{chunk-H5BW7454.js → chunk-5SSFYIFF.js} +4 -4
  14. package/dist/bundle/{chunk-MDVXIPA3.js → chunk-732GKOLO.js} +10 -10
  15. package/dist/bundle/{chunk-ZNYJG4AY.js → chunk-C2THROZU.js} +42 -42
  16. package/dist/bundle/{chunk-DDMJ3RVO.js → chunk-C6E3VFUX.js} +2 -2
  17. package/dist/bundle/{chunk-QJHCKFFC.js → chunk-DKKCQMDM.js} +16 -16
  18. package/dist/bundle/{chunk-7REG25RM.js → chunk-FGNTGLWA.js} +3 -3
  19. package/dist/bundle/{chunk-GQKYSGIA.js → chunk-FUXSKWWJ.js} +46 -46
  20. package/dist/bundle/{chunk-EKE3R36Y.js → chunk-FX77WAQL.js} +6 -6
  21. package/dist/bundle/{chunk-H7NUGJPV.js → chunk-GX2M3AOO.js} +2 -2
  22. package/dist/bundle/{chunk-QUSZWBZF.js → chunk-H2JVXO5V.js} +32 -22
  23. package/dist/bundle/{chunk-77VHMI3A.js → chunk-HS25KDT3.js} +1 -1
  24. package/dist/bundle/{chunk-H66ZMBDD.js → chunk-I2ARI6FI.js} +1 -1
  25. package/dist/bundle/{chunk-D7UZXUSB.js → chunk-IXHLMSHV.js} +2 -2
  26. package/dist/bundle/{chunk-BUOSCMCD.js → chunk-JDOOPGKW.js} +2 -2
  27. package/dist/bundle/{chunk-VWO3XXSF.js → chunk-JHNLU42I.js} +1 -1
  28. package/dist/bundle/{chunk-6HIW7IJL.js → chunk-JXYFIUVX.js} +4 -4
  29. package/dist/bundle/{chunk-HJRUFT5Y.js → chunk-K6SIGXRS.js} +5 -5
  30. package/dist/bundle/{chunk-WJ3LUWRN.js → chunk-KALDYMKJ.js} +3 -3
  31. package/dist/bundle/{chunk-BKZEYTLU.js → chunk-KXVZ373I.js} +358 -303
  32. package/dist/bundle/{chunk-VRQRBVKT.js → chunk-LCA5KC34.js} +43 -43
  33. package/dist/bundle/{chunk-76IKLP2M.js → chunk-LJDOPCPW.js} +96 -91
  34. package/dist/bundle/{chunk-GPAAQ6LY.js → chunk-MHNEMDH3.js} +13 -13
  35. package/dist/bundle/{chunk-5FLW25US.js → chunk-MXUUQXMA.js} +5 -5
  36. package/dist/bundle/{chunk-ETPT7TPW.js → chunk-N5WIUNOT.js} +1 -1
  37. package/dist/bundle/{chunk-UZR3IKS7.js → chunk-O2F54PUO.js} +1 -1
  38. package/dist/bundle/{chunk-H7XOHNRY.js → chunk-O3DRPTWF.js} +1 -1
  39. package/dist/bundle/{chunk-5JOKRFWE.js → chunk-PL6UPJIL.js} +1 -1
  40. package/dist/bundle/{chunk-SVNTRF5O.js → chunk-PYIJCWCH.js} +11 -11
  41. package/dist/bundle/{chunk-THVLMTH7.js → chunk-QTWIZKUI.js} +26 -26
  42. package/dist/bundle/{chunk-QUGFBY7O.js → chunk-RMYYKBFW.js} +7 -7
  43. package/dist/bundle/{chunk-2X4WYZPA.js → chunk-RORC2FW7.js} +2 -2
  44. package/dist/bundle/{chunk-S2GSU4MT.js → chunk-RVIMMCHF.js} +9 -9
  45. package/dist/bundle/{chunk-STC45HZX.js → chunk-RZCFEASJ.js} +196 -196
  46. package/dist/bundle/{chunk-QLYHLW54.js → chunk-SRMJ6LLC.js} +5 -5
  47. package/dist/bundle/{chunk-AJIT2T3F.js → chunk-TL7PE6JU.js} +6 -6
  48. package/dist/bundle/{chunk-BPF7IXJT.js → chunk-TLZWUADZ.js} +5 -5
  49. package/dist/bundle/{chunk-Y5WA7AOA.js → chunk-TNQOKGJS.js} +21 -21
  50. package/dist/bundle/{chunk-Z6F7EXT2.js → chunk-V7NZTJKU.js} +7 -7
  51. package/dist/bundle/{chunk-Y6KUKIQZ.js → chunk-VTJDEWMB.js} +2 -2
  52. package/dist/bundle/{chunk-YQAUH3PN.js → chunk-X7TFD5SX.js} +1 -1
  53. package/dist/bundle/{chunk-R5JD4GMA.js → chunk-XD3TL4BK.js} +1 -1
  54. package/dist/bundle/{chunk-7QEE5I7H.js → chunk-XQVGIW4R.js} +2 -2
  55. package/dist/bundle/{chunk-AROBJF5P.js → chunk-Y2HGQK7A.js} +1 -1
  56. package/dist/bundle/{chunk-ZKH5CHGI.js → chunk-YVIX7FHL.js} +5 -5
  57. package/dist/bundle/{chunk-VBLFQJY3.js → chunk-ZIJJNH47.js} +1 -1
  58. package/dist/bundle/{command-contract-Y42ULKE5.js → command-contract-3HA7CZEQ.js} +13 -13
  59. package/dist/bundle/{decode-L4X542L3.js → decode-VLI3MAXE.js} +2 -2
  60. package/dist/bundle/{dist-WKIRHOLK.js → dist-C7LAAMNF.js} +14 -14
  61. package/dist/bundle/{echarts-G6QLXR4X.js → echarts-POTU3SHN.js} +2 -2
  62. package/dist/bundle/{embed-E33ZBHQR.js → embed-J2DEEEUF.js} +3 -3
  63. package/dist/bundle/{embedder-EMBCIVGF.js → embedder-5N56V7YJ.js} +6 -6
  64. package/dist/bundle/{first-run-WF2HF5FI.js → first-run-XILZE4PI.js} +5 -5
  65. package/dist/bundle/{first-screen-DZFOUUZC.js → first-screen-43VLEDWZ.js} +14 -14
  66. package/dist/bundle/{instructions-DUH7265J.js → instructions-B7AUZXPL.js} +1 -1
  67. package/dist/bundle/mail.js +2 -2
  68. package/dist/bundle/{node-73PKCCE7.js → node-SZAO6HTA.js} +2 -2
  69. package/dist/bundle/{node-sqlite-FDD5N6GC.js → node-sqlite-O34FFLRV.js} +2 -2
  70. package/dist/bundle/{oauth-ND3K2F7B.js → oauth-YYTLIPJT.js} +4 -4
  71. package/dist/bundle/{open-FZYY6TKE.js → open-SWJGI6H4.js} +1 -1
  72. package/dist/bundle/{openai-BXOF6XIM.js → openai-GYXWCQOV.js} +10 -10
  73. package/dist/bundle/{process-TXIK4VJP.js → process-GLVWCUMK.js} +1 -1
  74. package/dist/bundle/{program-2SUR4WOS.js → program-HW73TGIF.js} +306 -289
  75. package/dist/bundle/{prompt-I5GCP73M.js → prompt-OZLHHGCD.js} +2 -2
  76. package/dist/bundle/{recognize-ILYEKXVB.js → recognize-RDQSGHC5.js} +1 -1
  77. package/dist/bundle/{remote-SSPZEAJ7.js → remote-BKU5P3GK.js} +4 -4
  78. package/dist/bundle/{rerank-NAO5RMGB.js → rerank-EQIXYHKB.js} +4 -4
  79. package/dist/bundle/{serve-UDXIEQKC.js → serve-S6K5HKWG.js} +6 -6
  80. package/dist/bundle/{server-KTPELKAN.js → server-4VRVHPQC.js} +31 -31
  81. package/dist/bundle/server-WK6DRJX2.js +63 -0
  82. package/dist/bundle/{sqlite-runtime-AONFLND6.js → sqlite-runtime-OOE455YM.js} +2 -2
  83. package/dist/bundle/{state-I4PLX3UB.js → state-OLPOJ2TY.js} +3 -3
  84. package/dist/bundle/{store-ZPPRXGPY.js → store-6AVCPLH4.js} +9 -9
  85. package/dist/bundle/{store-OHQH3MGN.js → store-WFV26CWY.js} +11 -11
  86. package/dist/bundle/store-maintenance-command-S6235I3W.js +52 -0
  87. package/dist/program.d.ts.map +1 -1
  88. package/dist/program.js +8 -1
  89. package/dist/program.js.map +1 -1
  90. package/dist/version.d.ts +1 -1
  91. package/dist/version.js +1 -1
  92. package/package.json +2 -2
  93. package/dist/bundle/server-UZFSEKNJ.js +0 -63
  94. package/dist/bundle/store-maintenance-command-QOYXEBT6.js +0 -52
@@ -5,7 +5,7 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-CT7NG7BI.js";
8
+ } from "./chunk-3RDTVH3H.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
@@ -16,12 +16,12 @@ import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
20
20
  import { readFileSync as readFileSync2 } from "node:fs";
21
21
  import { availableParallelism } from "node:os";
22
22
  import { basename, join as join2 } from "node:path";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
25
25
  import { createHash } from "node:crypto";
26
26
  import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
27
27
  import { join } from "node:path";
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
678
678
  return Unzip2;
679
679
  })();
680
680
 
681
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
682
682
  var ONNX_RUNTIME_VERSION = "1.30.0";
683
683
  var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
684
684
  name,
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
858
858
  return { ort, session: await ort.InferenceSession.create(bytes, options) };
859
859
  }, "openSession");
860
860
 
861
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
861
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
862
862
  var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
863
863
  var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
864
864
  var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
@@ -4,7 +4,7 @@ import {
4
4
  commandPathOf,
5
5
  findCommand,
6
6
  outputOf
7
- } from "./chunk-5FLW25US.js";
7
+ } from "./chunk-MXUUQXMA.js";
8
8
  import {
9
9
  wrapAnsi
10
10
  } from "./chunk-HTQTIKWP.js";
@@ -18,7 +18,7 @@ import {
18
18
  environmentOf,
19
19
  metaOf,
20
20
  takesProfile
21
- } from "./chunk-GQKYSGIA.js";
21
+ } from "./chunk-FUXSKWWJ.js";
22
22
  import {
23
23
  writes
24
24
  } from "./chunk-LQ37ALDJ.js";
@@ -29,7 +29,7 @@ import {
29
29
  __name
30
30
  } from "./chunk-ZVVMGPBJ.js";
31
31
 
32
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
32
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
33
33
  var SECTIONS = {
34
34
  read: "Read",
35
35
  write: "Write",
@@ -90,7 +90,7 @@ var CORE_SECTIONS = {
90
90
  upgrade: "setup"
91
91
  };
92
92
 
93
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
93
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
94
94
  var DESCRIPTION = 90;
95
95
  var COLUMN = 52;
96
96
  var short = /* @__PURE__ */ __name((text) => {
@@ -129,7 +129,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
129
129
  `;
130
130
  }, "commandsText");
131
131
 
132
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
132
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
133
133
  var ARGUMENT_KINDS = {
134
134
  chat: "chat",
135
135
  chats: "chat",
@@ -321,7 +321,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
321
321
  command.addHelpText("after", () => commandHelpText(command));
322
322
  }, "installCommandHelp");
323
323
 
324
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
324
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
325
325
  var WIRECAT_TOOLS = [
326
326
  {
327
327
  command: "tg",
@@ -8,7 +8,7 @@ import {
8
8
  __name
9
9
  } from "./chunk-ZVVMGPBJ.js";
10
10
 
11
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/domain/locator.js
11
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/domain/locator.js
12
12
  var SCHEME = "msg:";
13
13
  var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
14
14
  var isLocator = /* @__PURE__ */ __name((reference) => reference.trim().startsWith(SCHEME), "isLocator");
@@ -22,7 +22,7 @@ var parseLocator = /* @__PURE__ */ __name((reference) => {
22
22
  return { provider, account, chat, message };
23
23
  }, "parseLocator");
24
24
 
25
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/domain/references.js
25
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/domain/references.js
26
26
  var SIMPLE_REFERENCES = [
27
27
  "note",
28
28
  "document",
@@ -94,7 +94,7 @@ var folderPath = /* @__PURE__ */ __name((path) => {
94
94
  }, "folderPath");
95
95
  var canonicalReference = /* @__PURE__ */ __name((text) => formatReference(parseReference(text)), "canonicalReference");
96
96
 
97
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/domain/providers.js
97
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/domain/providers.js
98
98
  var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events"];
99
99
  var PROVIDERS = [
100
100
  { name: "telegram", kind: "messages", aliases: ["tg"] },
@@ -188,7 +188,7 @@ var providerNamed = /* @__PURE__ */ __name((word) => {
188
188
  var kindIn = /* @__PURE__ */ __name((provider) => isFolderProvider(provider) ? "notes" : registry.find(({ name }) => name === provider)?.kind, "kindIn");
189
189
  var kindOf = /* @__PURE__ */ __name((provider) => kindIn(provider) ?? "messages", "kindOf");
190
190
 
191
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/domain/counters.js
191
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/domain/counters.js
192
192
  var COUNTER_FIELDS = ["views", "reactions", "comments"];
193
193
  var validCounter = /* @__PURE__ */ __name((value) => typeof value === "number" && Number.isFinite(value) && value >= 0, "validCounter");
194
194
  var counterValue = /* @__PURE__ */ __name((message, field) => {
@@ -225,7 +225,7 @@ var counterFreshness = /* @__PURE__ */ __name((states) => {
225
225
  return states.some((one) => one.freshness === "stale") ? "stale" : "fresh";
226
226
  }, "counterFreshness");
227
227
 
228
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
228
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
229
229
  var MESSAGE_MEASURES = ["views", "reactions", "forwards", "comments", "replies", "thread-size"];
230
230
  var AUTHOR_MEASURES = [
231
231
  "messages",
@@ -7,12 +7,12 @@ import {
7
7
  refuseLacking,
8
8
  servicesFor,
9
9
  throughWrapper
10
- } from "./chunk-STC45HZX.js";
10
+ } from "./chunk-RZCFEASJ.js";
11
11
  import {
12
12
  foldName,
13
13
  isId,
14
14
  pickPerson
15
- } from "./chunk-ZKH5CHGI.js";
15
+ } from "./chunk-YVIX7FHL.js";
16
16
  import {
17
17
  LOG_ATTRIBUTES,
18
18
  MESSENGER_CHANGE_REFUSAL,
@@ -31,7 +31,7 @@ import {
31
31
  recalledAccount,
32
32
  rememberAccount,
33
33
  rootOf2 as rootOf
34
- } from "./chunk-GQKYSGIA.js";
34
+ } from "./chunk-FUXSKWWJ.js";
35
35
  import {
36
36
  AUTHORITY_KEY,
37
37
  CEILING_KEY,
@@ -42,17 +42,17 @@ import {
42
42
  levelFor,
43
43
  readKeysForCommand,
44
44
  skipFlagFor
45
- } from "./chunk-H5BW7454.js";
45
+ } from "./chunk-5SSFYIFF.js";
46
46
  import {
47
47
  isCliFailure,
48
48
  providerErrorKey
49
- } from "./chunk-QUGFBY7O.js";
49
+ } from "./chunk-RMYYKBFW.js";
50
50
  import {
51
51
  servingProfiles
52
- } from "./chunk-Y6KUKIQZ.js";
52
+ } from "./chunk-VTJDEWMB.js";
53
53
  import {
54
54
  openStore
55
- } from "./chunk-BKZEYTLU.js";
55
+ } from "./chunk-KXVZ373I.js";
56
56
  import {
57
57
  logRecordOf,
58
58
  realSleep,
@@ -66,10 +66,10 @@ import {
66
66
  __name
67
67
  } from "./chunk-ZVVMGPBJ.js";
68
68
 
69
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/sends/guard.js
69
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/sends/guard.js
70
70
  import { randomUUID } from "node:crypto";
71
71
 
72
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/sends/flood.js
72
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/sends/flood.js
73
73
  import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
74
74
  import { dirname, join } from "node:path";
75
75
  var MOST_DEADLINES = 50;
@@ -153,11 +153,11 @@ var FloodMemory = class {
153
153
  }
154
154
  };
155
155
 
156
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/sends/journal.js
156
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/sends/journal.js
157
157
  import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
158
158
  import { dirname as dirname3, join as join2 } from "node:path";
159
159
 
160
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
160
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
161
161
  import { closeSync, mkdirSync as mkdirSync2, openSync, statSync, unlinkSync } from "node:fs";
162
162
  import { dirname as dirname2 } from "node:path";
163
163
  var LOCK_WAIT_MS = 5e3;
@@ -224,7 +224,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
224
224
  }
225
225
  }, "lockTime");
226
226
 
227
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/sends/journal.js
227
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/sends/journal.js
228
228
  var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
229
229
  var SendJournal = class {
230
230
  static {
@@ -301,7 +301,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
301
301
  return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
302
302
  }, "withSendId");
303
303
 
304
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/sends/recipients.js
304
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/sends/recipients.js
305
305
  import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
306
306
  import { join as join3 } from "node:path";
307
307
  var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
@@ -413,7 +413,7 @@ var RecipientList = class {
413
413
  }
414
414
  };
415
415
 
416
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/sends/guard.js
416
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/sends/guard.js
417
417
  var HOUR_MS = 60 * 60 * 1e3;
418
418
  var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
419
419
  "attachments.extract",
@@ -606,7 +606,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
606
606
  }), "guardFor");
607
607
  var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
608
608
 
609
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
609
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
610
610
  import { openSync as openSync2 } from "node:fs";
611
611
  import { createInterface } from "node:readline";
612
612
  import { ReadStream } from "node:tty";
@@ -661,7 +661,7 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
661
661
  throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
662
662
  }, "terminalAsker");
663
663
 
664
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/sends/pace.js
664
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/sends/pace.js
665
665
  import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
666
666
  import { join as join4 } from "node:path";
667
667
  var DEFAULT_PACE = { perMinute: 60, burst: 20 };
@@ -720,7 +720,7 @@ var Pacer = class {
720
720
  }
721
721
  };
722
722
 
723
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
723
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
724
724
  var HOUSEKEEPING = /* @__PURE__ */ new Set([
725
725
  "help",
726
726
  "guide",
@@ -799,7 +799,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
799
799
  throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
800
800
  }, "refuseUnknownPermissionKeys");
801
801
 
802
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
802
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
803
803
  var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
804
804
  var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
805
805
  var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
@@ -918,7 +918,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
918
918
  });
919
919
  }, "flooded");
920
920
 
921
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
921
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
922
922
  var observed = /* @__PURE__ */ __name((messenger, events) => {
923
923
  const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
924
924
  const write = currentOperation();
@@ -1017,7 +1017,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
1017
1017
  counts[part] = (counts[part] ?? 0) + items.length;
1018
1018
  }, "byPart");
1019
1019
 
1020
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1020
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1021
1021
  var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
1022
1022
  var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false }) => {
1023
1023
  let warned = false;
@@ -1509,7 +1509,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
1509
1509
  }
1510
1510
  }, "keep");
1511
1511
 
1512
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1512
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1513
1513
  var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
1514
1514
  let opened;
1515
1515
  return {
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/search/languages.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/search/languages.js
11
11
  var LANGUAGES = [
12
12
  { name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
13
13
  { name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
@@ -15,12 +15,12 @@ var LANGUAGES = [
15
15
  ];
16
16
  var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/store/normalize.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/store/normalize.js
19
19
  var NORMALIZER_VERSION = 1;
20
20
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
21
21
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
24
24
  var BaseStemmer = class {
25
25
  static {
26
26
  __name(this, "BaseStemmer");
@@ -395,7 +395,7 @@ var BaseStemmer = class {
395
395
  }
396
396
  };
397
397
 
398
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
398
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
399
399
  var a_0 = [
400
400
  ["arsen", -1],
401
401
  ["commun", -1],
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
1096
1096
  stemWord = this.stem;
1097
1097
  };
1098
1098
 
1099
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1099
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1100
1100
  var a_02 = [
1101
1101
  ["\u0432", 1],
1102
1102
  ["\u0438\u0432", 2, 1],
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
1519
1519
  stemWord = this.stem;
1520
1520
  };
1521
1521
 
1522
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1522
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1523
1523
  var a_03 = [
1524
1524
  ["", 6],
1525
1525
  ["\xE1", 1, 1],
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
2195
2195
  stemWord = this.stem;
2196
2196
  };
2197
2197
 
2198
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/search/stem.js
2198
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/search/stem.js
2199
2199
  var SNOWBALL_VERSION = "3.1.1";
2200
2200
  var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
2201
2201
  var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  alive
5
- } from "./chunk-H66ZMBDD.js";
5
+ } from "./chunk-I2ARI6FI.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
@@ -11,7 +11,7 @@ import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/background/lock.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/background/lock.js
15
15
  import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
16
16
  import { dirname, join } from "node:path";
17
17
  var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/models/types.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/models/types.js
11
11
  var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
12
12
  var validateImages = /* @__PURE__ */ __name((images) => {
13
13
  if (images === void 0)
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/http/listen.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/http/listen.js
8
8
  import { createServer } from "node:http";
9
9
  import { Readable } from "node:stream";
10
10
  var MAX_BODY = 4 * 1024 * 1024;
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSharedSection,
5
5
  writeSharedSection
6
- } from "./chunk-6HIW7IJL.js";
6
+ } from "./chunk-JXYFIUVX.js";
7
7
  import {
8
8
  CliError
9
9
  } from "./chunk-5BVIWP3S.js";
@@ -11,7 +11,7 @@ import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
15
15
  var PERMISSION_ANSWERS = ["readonly", "allow"];
16
16
  var QUESTIONS = ["languages", "tools", "permissions"];
17
17
  var SECTION = "setup";
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
8
8
  import { PassThrough, Writable } from "node:stream";
9
9
  var lineReader = /* @__PURE__ */ __name((onMessage) => {
10
10
  let rest = "";
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  LEVELS
5
- } from "./chunk-H5BW7454.js";
5
+ } from "./chunk-5SSFYIFF.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
@@ -35,7 +35,7 @@ import {
35
35
  __name
36
36
  } from "./chunk-ZVVMGPBJ.js";
37
37
 
38
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/resolve.js
38
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/resolve.js
39
39
  var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
40
40
  var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase(), "foldName");
41
41
  var pickChat = /* @__PURE__ */ __name((reference, chats) => {
@@ -73,7 +73,7 @@ ${lines}`, { candidates });
73
73
  }, "ambiguous");
74
74
  var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/domain/formatting.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/domain/formatting.js
77
77
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
78
78
  var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
79
79
  const { text, spans } = formatted;
@@ -133,7 +133,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
133
133
  };
134
134
  }, "visibleFormattedText");
135
135
 
136
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/moderation/check.js
136
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/moderation/check.js
137
137
  var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
138
138
  var LINK = /https?:\/\/\S+/i;
139
139
  var STRENGTH = { report: 0, delete: 1, remove: 2 };
@@ -321,7 +321,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
321
321
  }, "nextPoint");
322
322
  var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
323
323
 
324
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/moderation/rules.js
324
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/moderation/rules.js
325
325
  import { existsSync, readFileSync } from "node:fs";
326
326
  import { join } from "node:path";
327
327
  var RULE_ACTIONS = ["report", "delete", "remove"];
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
11
11
  var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
12
12
  var MAX_SECRET_INPUT = 64 * 1024;
13
13
  var policies = /* @__PURE__ */ new WeakMap();
@@ -6,20 +6,20 @@ import {
6
6
  commandPathOf,
7
7
  findCommand,
8
8
  outputOf
9
- } from "./chunk-5FLW25US.js";
10
- import "./chunk-76IKLP2M.js";
11
- import "./chunk-GQKYSGIA.js";
12
- import "./chunk-H5BW7454.js";
13
- import "./chunk-QUGFBY7O.js";
14
- import "./chunk-7QEE5I7H.js";
15
- import "./chunk-H66ZMBDD.js";
16
- import "./chunk-7REG25RM.js";
17
- import "./chunk-EKE3R36Y.js";
18
- import "./chunk-ZNYJG4AY.js";
9
+ } from "./chunk-MXUUQXMA.js";
10
+ import "./chunk-LJDOPCPW.js";
11
+ import "./chunk-FUXSKWWJ.js";
12
+ import "./chunk-5SSFYIFF.js";
13
+ import "./chunk-RMYYKBFW.js";
14
+ import "./chunk-XQVGIW4R.js";
15
+ import "./chunk-I2ARI6FI.js";
16
+ import "./chunk-FGNTGLWA.js";
17
+ import "./chunk-FX77WAQL.js";
18
+ import "./chunk-C2THROZU.js";
19
19
  import "./chunk-NPGVOZVK.js";
20
- import "./chunk-6HIW7IJL.js";
21
- import "./chunk-CT7NG7BI.js";
22
- import "./chunk-5JOKRFWE.js";
20
+ import "./chunk-JXYFIUVX.js";
21
+ import "./chunk-3RDTVH3H.js";
22
+ import "./chunk-PL6UPJIL.js";
23
23
  import "./chunk-J3QXTBD2.js";
24
24
  import "./chunk-LQ37ALDJ.js";
25
25
  import "./chunk-Y5E2WNWB.js";
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  decodeOgg
6
- } from "./chunk-WJ3LUWRN.js";
6
+ } from "./chunk-KALDYMKJ.js";
7
7
  import "./chunk-J3QXTBD2.js";
8
8
  import "./chunk-LQ37ALDJ.js";
9
9
  import {
@@ -16,7 +16,7 @@ import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/speech/decode.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/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";