@wirecat/mail-cli 0.30.0 → 0.31.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 (105) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-523GLORJ.js → all-profiles-XL62TNUO.js} +19 -29
  4. package/dist/bundle/{anthropic-KKYGROQR.js → anthropic-3MSWVYCE.js} +2 -2
  5. package/dist/bundle/{app-server-RJR7U5NT.js → app-server-RRNR5XFA.js} +45 -60
  6. package/dist/bundle/{bun-EBQHHLKR.js → bun-E3F3PEQQ.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-LTG2RRSL.js → bun-sqlite-UOFN77LO.js} +3 -3
  8. package/dist/bundle/{chunk-IIV43UIC.js → chunk-3CJ4C6BB.js} +12 -12
  9. package/dist/bundle/{chunk-ZG2XBWFT.js → chunk-3V6J7VPF.js} +3 -3
  10. package/dist/bundle/{chunk-U7VYDTXN.js → chunk-4BW5JACS.js} +16 -16
  11. package/dist/bundle/{chunk-MP572GP7.js → chunk-4ME2NHNJ.js} +2 -2
  12. package/dist/bundle/{chunk-JKWNPRZD.js → chunk-5YRR52NH.js} +1 -1
  13. package/dist/bundle/{chunk-QGIQ62KV.js → chunk-6UOUDIXL.js} +382 -366
  14. package/dist/bundle/{chunk-KE2RQUQO.js → chunk-7E7YXQ52.js} +17 -17
  15. package/dist/bundle/{chunk-ENKZEQ4Y.js → chunk-BKRIIZPV.js} +2 -2
  16. package/dist/bundle/{chunk-54JKDFOV.js → chunk-BNP7WLDQ.js} +1 -1
  17. package/dist/bundle/{chunk-WXQK5RO5.js → chunk-BS6WYCNZ.js} +32 -22
  18. package/dist/bundle/{chunk-B3NXAN6J.js → chunk-BXMLIKUM.js} +146 -146
  19. package/dist/bundle/{chunk-NMN7RTX5.js → chunk-D6D6JLXG.js} +16 -16
  20. package/dist/bundle/{chunk-S2KKQA7O.js → chunk-DCR3IWC7.js} +38 -47
  21. package/dist/bundle/{chunk-LN2LWPN2.js → chunk-DDCDOBZS.js} +1 -1
  22. package/dist/bundle/{chunk-XGEPAJBY.js → chunk-DPDS6IZJ.js} +1 -1
  23. package/dist/bundle/{chunk-Q23EEGPC.js → chunk-DWBY7DMF.js} +1 -1
  24. package/dist/bundle/{chunk-SNZFQ5SS.js → chunk-DZSS2IUK.js} +14 -2
  25. package/dist/bundle/{chunk-26H2HVJD.js → chunk-E3IOR37T.js} +2 -2
  26. package/dist/bundle/{chunk-5X5A3CAX.js → chunk-EMVLCION.js} +1 -1
  27. package/dist/bundle/{chunk-F22PLRCG.js → chunk-EV5SR3OC.js} +7 -7
  28. package/dist/bundle/{chunk-SPWKGRTO.js → chunk-FRXDSR45.js} +1 -1
  29. package/dist/bundle/{chunk-YMJXGIYG.js → chunk-FYP2M6IT.js} +23 -23
  30. package/dist/bundle/{chunk-FYXGD6R6.js → chunk-GWKGZOSO.js} +2 -2
  31. package/dist/bundle/{chunk-ONA3UI3R.js → chunk-GXBNTKJW.js} +2 -2
  32. package/dist/bundle/{chunk-KIZYN3NG.js → chunk-GZLCZU5B.js} +5 -5
  33. package/dist/bundle/{chunk-MVDP7VL6.js → chunk-H2QTUZ3C.js} +1 -1
  34. package/dist/bundle/{chunk-4F7WQHDO.js → chunk-HZCINHHS.js} +1 -1
  35. package/dist/bundle/{chunk-A3YXTDTP.js → chunk-HZL3X4XR.js} +15 -15
  36. package/dist/bundle/{chunk-D3J4T5OZ.js → chunk-I3BQ2QIY.js} +12 -12
  37. package/dist/bundle/{chunk-YNI57LTZ.js → chunk-I5Y6Y7Q5.js} +1 -1
  38. package/dist/bundle/{chunk-FL2TKSZY.js → chunk-ITU6K7LU.js} +1 -1
  39. package/dist/bundle/{chunk-T7A6HSBF.js → chunk-JLIVJSCF.js} +1 -1
  40. package/dist/bundle/{chunk-J5PUHGK2.js → chunk-JYGFEMTR.js} +1 -1
  41. package/dist/bundle/{chunk-2M7PPII5.js → chunk-KPFB2VUY.js} +745 -336
  42. package/dist/bundle/{chunk-3ECFSRLQ.js → chunk-LGDJDD5J.js} +3 -3
  43. package/dist/bundle/{chunk-GCSFZTRI.js → chunk-MS5XYEYW.js} +9 -5
  44. package/dist/bundle/{chunk-3HCEKXXB.js → chunk-NEJU74O4.js} +6 -6
  45. package/dist/bundle/{chunk-E2SL7HIZ.js → chunk-NUN7DBR4.js} +9 -9
  46. package/dist/bundle/{chunk-TIMBTN5Z.js → chunk-NV3WPD3B.js} +5 -5
  47. package/dist/bundle/{chunk-DBI22GQL.js → chunk-NYQPKZWL.js} +500 -322
  48. package/dist/bundle/{chunk-6C7SA4LD.js → chunk-OP5ZLH53.js} +57 -54
  49. package/dist/bundle/{chunk-SN5V6CKH.js → chunk-OXHQNEXU.js} +98 -6
  50. package/dist/bundle/{chunk-HZUUVNWC.js → chunk-P6CYVOL6.js} +1 -1
  51. package/dist/bundle/{chunk-GDFJKUMK.js → chunk-PIXFZZUZ.js} +6 -6
  52. package/dist/bundle/{chunk-WHS3CTTM.js → chunk-PZL7DHVJ.js} +7 -7
  53. package/dist/bundle/{chunk-CWAA73PJ.js → chunk-QANXOKYQ.js} +5 -5
  54. package/dist/bundle/{chunk-LM4K6K2R.js → chunk-QSXJ2BVQ.js} +4 -4
  55. package/dist/bundle/{chunk-HVJ2WQI7.js → chunk-QVGCHTTU.js} +10 -10
  56. package/dist/bundle/{chunk-R3IFRHZ2.js → chunk-S2QO6KUI.js} +2 -2
  57. package/dist/bundle/{chunk-BOGGQOVO.js → chunk-SQA5JI7Q.js} +1 -1
  58. package/dist/bundle/{chunk-K5FTIIYR.js → chunk-T72DWT37.js} +4 -4
  59. package/dist/bundle/{chunk-GXKFRZUP.js → chunk-THZHNCJP.js} +3 -3
  60. package/dist/bundle/{chunk-RLPWLGP6.js → chunk-TUXNILKR.js} +7 -7
  61. package/dist/bundle/{chunk-L2D5QYI3.js → chunk-UFMR2TB3.js} +2 -2
  62. package/dist/bundle/{chunk-NV2REPY6.js → chunk-WZGFC7D5.js} +1 -1
  63. package/dist/bundle/{command-contract-ETECA2AC.js → command-contract-YRNKDQDL.js} +15 -15
  64. package/dist/bundle/{command-server-entry-BFXRYTBC.js → command-server-entry-A3FCP24M.js} +21 -21
  65. package/dist/bundle/{decode-4QRYNPD5.js → decode-FI2ISRNZ.js} +2 -2
  66. package/dist/bundle/{dist-MHJPECI4.js → dist-NLOOZJ64.js} +15 -11
  67. package/dist/bundle/{echarts-EJXBKCJT.js → echarts-PMAJUJFE.js} +2 -2
  68. package/dist/bundle/{embed-46WZZMUQ.js → embed-OIMT6SAX.js} +3 -3
  69. package/dist/bundle/{embedder-56WHJKJE.js → embedder-Q5IF5WIM.js} +6 -6
  70. package/dist/bundle/{first-run-CATDBOBV.js → first-run-4L53QWOT.js} +6 -6
  71. package/dist/bundle/first-screen-ZPQLAAIS.js +34 -0
  72. package/dist/bundle/{instructions-Z7GVGWXS.js → instructions-ZJGGGXOA.js} +1 -1
  73. package/dist/bundle/mail.js +2 -2
  74. package/dist/bundle/{node-L2PVEW3N.js → node-DCSOHRD6.js} +2 -2
  75. package/dist/bundle/{node-sqlite-RIGII7U7.js → node-sqlite-7F77K5JA.js} +4 -4
  76. package/dist/bundle/{oauth-OWT6NYRS.js → oauth-LVPMEN6M.js} +4 -4
  77. package/dist/bundle/{open-D3SPYL7O.js → open-XM5LWEN6.js} +2 -2
  78. package/dist/bundle/{openai-IPTZDMFD.js → openai-H2LCGK22.js} +12 -12
  79. package/dist/bundle/{process-MNZTQ2DA.js → process-MFC5VSPT.js} +1 -1
  80. package/dist/bundle/{program-QCHTCOCR.js → program-ZQ43ZYKZ.js} +485 -438
  81. package/dist/bundle/{prompt-BN6AKRWN.js → prompt-3LZAZNQ4.js} +2 -2
  82. package/dist/bundle/{recognize-I5TH7OEW.js → recognize-GYQMHFY2.js} +1 -1
  83. package/dist/bundle/{remote-R324LAUL.js → remote-P2MD5G64.js} +6 -6
  84. package/dist/bundle/{rerank-ZMGZCUJV.js → rerank-A5X6THV6.js} +4 -4
  85. package/dist/bundle/{serve-YUFZSNJC.js → serve-IEC3EUKS.js} +6 -6
  86. package/dist/bundle/{server-54ULZ3RA.js → server-3REPXFNI.js} +43 -41
  87. package/dist/bundle/server-E2QTFURI.js +67 -0
  88. package/dist/bundle/{sqlite-runtime-AYQTUQXM.js → sqlite-runtime-AOLQGC5J.js} +3 -3
  89. package/dist/bundle/{state-PHEBOYYI.js → state-D3P5IXXA.js} +3 -3
  90. package/dist/bundle/{store-4PHDSXEV.js → store-DIN6OY3K.js} +13 -13
  91. package/dist/bundle/{store-NGX3A5XT.js → store-MZCQXBVW.js} +15 -15
  92. package/dist/bundle/store-maintenance-command-UMVFI6M6.js +58 -0
  93. package/dist/commands/rules.d.ts.map +1 -1
  94. package/dist/commands/rules.js +73 -22
  95. package/dist/commands/rules.js.map +1 -1
  96. package/dist/mail/rules/apply.d.ts.map +1 -1
  97. package/dist/mail/rules/apply.js +1 -9
  98. package/dist/mail/rules/apply.js.map +1 -1
  99. package/dist/version.d.ts +1 -1
  100. package/dist/version.js +1 -1
  101. package/package.json +2 -2
  102. package/dist/bundle/chunk-IJONJTST.js +0 -76
  103. package/dist/bundle/first-screen-WCDR3QUR.js +0 -34
  104. package/dist/bundle/server-UD75CYDG.js +0 -68
  105. package/dist/bundle/store-maintenance-command-WHBIV6HC.js +0 -58
@@ -4,18 +4,18 @@ import {
4
4
  PLAIN_HTTP_REFUSED,
5
5
  modelAddressAllowed,
6
6
  onThisComputer
7
- } from "./chunk-Q23EEGPC.js";
7
+ } from "./chunk-DWBY7DMF.js";
8
8
  import {
9
9
  readSharedSection,
10
10
  sharedConfigPath,
11
11
  writeSharedSection
12
- } from "./chunk-KIZYN3NG.js";
12
+ } from "./chunk-GZLCZU5B.js";
13
13
  import {
14
14
  unit
15
- } from "./chunk-CWAA73PJ.js";
15
+ } from "./chunk-QANXOKYQ.js";
16
16
  import {
17
17
  storePath
18
- } from "./chunk-54JKDFOV.js";
18
+ } from "./chunk-BNP7WLDQ.js";
19
19
  import {
20
20
  boolean,
21
21
  isoTimestamp,
@@ -31,10 +31,10 @@ import {
31
31
  __name
32
32
  } from "./chunk-ZVVMGPBJ.js";
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
35
35
  import { setTimeout } from "node:timers/promises";
36
36
 
37
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/models/local-only.js
37
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/models/local-only.js
38
38
  var SECTION = "local_only";
39
39
  var Setting = strictObject({
40
40
  on: boolean(),
@@ -68,7 +68,7 @@ var refuseModelAddress = /* @__PURE__ */ __name((env, address, what) => {
68
68
  refuseOffComputer(env, address, what);
69
69
  }, "refuseModelAddress");
70
70
 
71
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
71
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
72
72
  var OPENAI_URL = "https://api.openai.com/v1";
73
73
  var OPENAI_MODELS = {
74
74
  "text-embedding-3-small": { dims: 1536, perMillion: 0.02 },
@@ -5,7 +5,7 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-3ECFSRLQ.js";
8
+ } from "./chunk-LGDJDD5J.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.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
861
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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");
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  commandPathOf,
5
5
  outputOf
6
- } from "./chunk-ZG2XBWFT.js";
6
+ } from "./chunk-3V6J7VPF.js";
7
7
  import {
8
8
  wrapAnsi
9
9
  } from "./chunk-HTQTIKWP.js";
@@ -17,7 +17,7 @@ import {
17
17
  environmentOf,
18
18
  metaOf,
19
19
  takesProfile
20
- } from "./chunk-B3NXAN6J.js";
20
+ } from "./chunk-BXMLIKUM.js";
21
21
  import {
22
22
  writes
23
23
  } from "./chunk-ECZSYLSL.js";
@@ -28,7 +28,7 @@ import {
28
28
  __name
29
29
  } from "./chunk-ZVVMGPBJ.js";
30
30
 
31
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
31
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
32
32
  var ARGUMENT_KINDS = {
33
33
  chat: "chat",
34
34
  chats: "chat",
@@ -221,7 +221,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
221
221
  command.addHelpText("after", () => commandHelpText(command));
222
222
  }, "installCommandHelp");
223
223
 
224
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
224
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
225
225
  var WIRECAT_TOOLS = [
226
226
  {
227
227
  command: "tg",
@@ -8,25 +8,25 @@ import {
8
8
  readSetupAnswers,
9
9
  unanswered,
10
10
  writeSetupAnswers
11
- } from "./chunk-MP572GP7.js";
11
+ } from "./chunk-4ME2NHNJ.js";
12
12
  import {
13
13
  DEFAULT_STEMMERS,
14
14
  LANGUAGES
15
- } from "./chunk-F22PLRCG.js";
15
+ } from "./chunk-EV5SR3OC.js";
16
16
  import {
17
17
  sharedConfigPath
18
- } from "./chunk-KIZYN3NG.js";
18
+ } from "./chunk-GZLCZU5B.js";
19
19
  import {
20
20
  installerOf
21
21
  } from "./chunk-M4OP5ASJ.js";
22
22
  import {
23
23
  storePath
24
- } from "./chunk-54JKDFOV.js";
24
+ } from "./chunk-BNP7WLDQ.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/cli/first-run.js
30
30
  import { spawnSync } from "node:child_process";
31
31
  import { accessSync, constants, realpathSync } from "node:fs";
32
32
  import { delimiter, join } from "node:path";
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
84
84
  return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
85
85
  }, "suggested");
86
86
  var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
87
- const { openStore } = await import("./store-4PHDSXEV.js");
87
+ const { openStore } = await import("./store-DIN6OY3K.js");
88
88
  const store = await openStore({ env });
89
89
  let rebuild = false;
90
90
  try {
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
113
113
  if (!rebuild)
114
114
  return;
115
115
  const [{ openCache }, { buildStems }] = await Promise.all([
116
- import("./open-D3SPYL7O.js"),
117
- import("./store-maintenance-command-WHBIV6HC.js")
116
+ import("./open-XM5LWEN6.js"),
117
+ import("./store-maintenance-command-UMVFI6M6.js")
118
118
  ]);
119
119
  const database = await openCache(storePath(env));
120
120
  try {
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
126
126
  var askTools = /* @__PURE__ */ __name(async (run) => {
127
127
  const { command, env, io } = run;
128
128
  const installed = run.installed ?? ((name) => onPath(name, env));
129
- const { WIRECAT_TOOLS } = await import("./first-screen-WCDR3QUR.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-ZPQLAAIS.js");
130
130
  const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
131
131
  const missing = others.filter((tool) => !installed(tool.command));
132
132
  io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
@@ -199,7 +199,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
199
199
  contentLanguages: start.contentLanguages,
200
200
  all: start.path[0] === "setup",
201
201
  io: {
202
- ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-BN6AKRWN.js")).readSecret(prompt, { input, echo: true }), "ask"),
202
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-3LZAZNQ4.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
203
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
204
204
  `), "say")
205
205
  }
@@ -4,7 +4,7 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-4F7WQHDO.js";
7
+ } from "./chunk-HZCINHHS.js";
8
8
  import {
9
9
  CliError
10
10
  } from "./chunk-7KCBPAQS.js";
@@ -12,7 +12,7 @@ import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
16
16
  import { createInterface } from "node:readline";
17
17
  import { Writable } from "node:stream";
18
18
  var EMPTY_TRIES = 3;
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/background/processes.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/background/processes.js
8
8
  import { execFileSync } from "node:child_process";
9
9
  import { readdirSync, readFileSync, readlinkSync } from "node:fs";
10
10
  var alive = /* @__PURE__ */ __name((pid) => {
@@ -5,15 +5,15 @@ import {
5
5
  readLock,
6
6
  releaseLock,
7
7
  takeLock
8
- } from "./chunk-ONA3UI3R.js";
8
+ } from "./chunk-GXBNTKJW.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
14
14
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
17
17
  import { randomBytes } from "node:crypto";
18
18
  import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
86
86
  };
87
87
  }, "activityRecorder");
88
88
 
89
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
89
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
90
90
  var ACCESS_SECONDS = 60 * 60;
91
91
  var REFRESH_SECONDS = 30 * 24 * 60 * 60;
92
92
  var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
@@ -10,10 +10,10 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/speech/recognize.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/speech/recognize.js
14
14
  import { createRequire } from "node:module";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
17
17
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
18
18
  var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
19
19
  const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
70
70
  throw invalid();
71
71
  }, "checkOggDuration");
72
72
 
73
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/speech/recognize.js
73
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/speech/recognize.js
74
74
  var SAMPLE_RATE = 16e3;
75
75
  var LEAD = SAMPLE_RATE / 2;
76
76
  var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  isCliFailure
5
- } from "./chunk-JKWNPRZD.js";
5
+ } from "./chunk-5YRR52NH.js";
6
6
  import {
7
7
  secretNamed,
8
8
  withoutSecrets
9
- } from "./chunk-MVDP7VL6.js";
9
+ } from "./chunk-H2QTUZ3C.js";
10
10
  import {
11
11
  isContentKey
12
12
  } from "./chunk-7MEVD5PI.js";
@@ -14,14 +14,14 @@ import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/runs/run-context.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/runs/run-context.js
18
18
  import { AsyncLocalStorage } from "node:async_hooks";
19
19
  import { createHash } from "node:crypto";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
22
22
  import { homedir } from "node:os";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/runs/events.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/runs/events.js
25
25
  var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
26
26
  var renderEvent = /* @__PURE__ */ __name((event) => {
27
27
  if (event.event === "store")
@@ -73,7 +73,7 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
73
73
  var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
74
74
  var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
77
77
  var MESSAGE_AT_MOST = 500;
78
78
  var CAUSES_AT_MOST = 5;
79
79
  var FRAMES_AT_MOST = 15;
@@ -185,7 +185,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
185
185
  return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
186
186
  }, "redactText");
187
187
 
188
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/runs/run-context.js
188
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/runs/run-context.js
189
189
  var REDACTED = "[redacted]";
190
190
  var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
191
191
  if (!record)
@@ -8,12 +8,12 @@ import {
8
8
  ACCESS_SECONDS,
9
9
  REFRESH_SECONDS,
10
10
  readStored
11
- } from "./chunk-K5FTIIYR.js";
11
+ } from "./chunk-T72DWT37.js";
12
12
  import {
13
13
  __name
14
14
  } from "./chunk-ZVVMGPBJ.js";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
17
17
  import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
18
18
  import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/store/driver.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/store/driver.js
8
8
  var TIME_LIMIT_FUNCTION = "wc_time_limit";
9
9
  var TimeLimitReached = class extends Error {
10
10
  static {
@@ -6,22 +6,22 @@ import {
6
6
  commandPathOf,
7
7
  findCommand,
8
8
  outputOf
9
- } from "./chunk-ZG2XBWFT.js";
10
- import "./chunk-B3NXAN6J.js";
11
- import "./chunk-GCSFZTRI.js";
12
- import "./chunk-RLPWLGP6.js";
13
- import "./chunk-BOGGQOVO.js";
14
- import "./chunk-MP572GP7.js";
15
- import "./chunk-ENKZEQ4Y.js";
16
- import "./chunk-YMJXGIYG.js";
17
- import "./chunk-2M7PPII5.js";
18
- import "./chunk-JKWNPRZD.js";
19
- import "./chunk-MVDP7VL6.js";
20
- import "./chunk-Q23EEGPC.js";
21
- import "./chunk-KIZYN3NG.js";
22
- import "./chunk-3ECFSRLQ.js";
9
+ } from "./chunk-3V6J7VPF.js";
10
+ import "./chunk-BXMLIKUM.js";
11
+ import "./chunk-MS5XYEYW.js";
12
+ import "./chunk-TUXNILKR.js";
13
+ import "./chunk-SQA5JI7Q.js";
14
+ import "./chunk-4ME2NHNJ.js";
15
+ import "./chunk-BKRIIZPV.js";
16
+ import "./chunk-FYP2M6IT.js";
17
+ import "./chunk-KPFB2VUY.js";
18
+ import "./chunk-5YRR52NH.js";
19
+ import "./chunk-H2QTUZ3C.js";
20
+ import "./chunk-DWBY7DMF.js";
21
+ import "./chunk-GZLCZU5B.js";
22
+ import "./chunk-LGDJDD5J.js";
23
23
  import "./chunk-XWBPP2HX.js";
24
- import "./chunk-54JKDFOV.js";
24
+ import "./chunk-BNP7WLDQ.js";
25
25
  import "./chunk-7MEVD5PI.js";
26
26
  import "./chunk-ECZSYLSL.js";
27
27
  import "./chunk-Y5E2WNWB.js";
@@ -4,35 +4,35 @@ import {
4
4
  COMMAND_SERVER_CONCURRENT,
5
5
  enterCommandServer,
6
6
  serveCommands
7
- } from "./chunk-3HCEKXXB.js";
7
+ } from "./chunk-NEJU74O4.js";
8
8
  import {
9
9
  ensureSqlite
10
- } from "./chunk-FYXGD6R6.js";
11
- import "./chunk-HZUUVNWC.js";
12
- import "./chunk-ZG2XBWFT.js";
10
+ } from "./chunk-GWKGZOSO.js";
11
+ import "./chunk-P6CYVOL6.js";
12
+ import "./chunk-3V6J7VPF.js";
13
13
  import {
14
14
  commandServerRequest,
15
15
  exitCodeSet,
16
16
  inCommandServerRequest
17
- } from "./chunk-B3NXAN6J.js";
18
- import "./chunk-GCSFZTRI.js";
19
- import "./chunk-RLPWLGP6.js";
20
- import "./chunk-BOGGQOVO.js";
21
- import "./chunk-MP572GP7.js";
22
- import "./chunk-ENKZEQ4Y.js";
17
+ } from "./chunk-BXMLIKUM.js";
18
+ import "./chunk-MS5XYEYW.js";
19
+ import "./chunk-TUXNILKR.js";
20
+ import "./chunk-SQA5JI7Q.js";
21
+ import "./chunk-4ME2NHNJ.js";
22
+ import "./chunk-BKRIIZPV.js";
23
23
  import {
24
24
  asOwnProcess
25
- } from "./chunk-YMJXGIYG.js";
26
- import "./chunk-2M7PPII5.js";
27
- import "./chunk-JKWNPRZD.js";
28
- import "./chunk-MVDP7VL6.js";
29
- import "./chunk-Q23EEGPC.js";
30
- import "./chunk-KIZYN3NG.js";
31
- import "./chunk-3ECFSRLQ.js";
25
+ } from "./chunk-FYP2M6IT.js";
26
+ import "./chunk-KPFB2VUY.js";
27
+ import "./chunk-5YRR52NH.js";
28
+ import "./chunk-H2QTUZ3C.js";
29
+ import "./chunk-DWBY7DMF.js";
30
+ import "./chunk-GZLCZU5B.js";
31
+ import "./chunk-LGDJDD5J.js";
32
32
  import "./chunk-XWBPP2HX.js";
33
- import "./chunk-54JKDFOV.js";
34
- import "./chunk-TIMBTN5Z.js";
35
- import "./chunk-NV2REPY6.js";
33
+ import "./chunk-BNP7WLDQ.js";
34
+ import "./chunk-NV3WPD3B.js";
35
+ import "./chunk-WZGFC7D5.js";
36
36
  import "./chunk-7MEVD5PI.js";
37
37
  import {
38
38
  catchCrashes
@@ -45,7 +45,7 @@ import {
45
45
  __name
46
46
  } from "./chunk-ZVVMGPBJ.js";
47
47
 
48
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/command-server-entry.js
48
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  decodeOgg
6
- } from "./chunk-GXKFRZUP.js";
6
+ } from "./chunk-THZHNCJP.js";
7
7
  import "./chunk-7MEVD5PI.js";
8
8
  import "./chunk-ECZSYLSL.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.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/speech/decode.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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";
@@ -24,17 +24,17 @@ import {
24
24
  recordTemplate,
25
25
  refsForLink,
26
26
  terminalQr
27
- } from "./chunk-D3J4T5OZ.js";
27
+ } from "./chunk-I3BQ2QIY.js";
28
28
  import {
29
29
  DETAILS,
30
30
  REASONS,
31
31
  failureContext
32
- } from "./chunk-SNZFQ5SS.js";
32
+ } from "./chunk-DZSS2IUK.js";
33
33
  import {
34
34
  pollLines,
35
35
  renderMessage,
36
36
  renderMessages
37
- } from "./chunk-J5PUHGK2.js";
37
+ } from "./chunk-JYGFEMTR.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-GDFJKUMK.js";
47
+ } from "./chunk-PIXFZZUZ.js";
48
48
  import {
49
49
  readSecret
50
- } from "./chunk-R3IFRHZ2.js";
51
- import "./chunk-4F7WQHDO.js";
50
+ } from "./chunk-S2QO6KUI.js";
51
+ import "./chunk-HZCINHHS.js";
52
52
  import "./chunk-HTQTIKWP.js";
53
53
  import {
54
54
  resolveOutput
55
- } from "./chunk-GCSFZTRI.js";
55
+ } from "./chunk-MS5XYEYW.js";
56
56
  import {
57
57
  COUNTER_FIELDS,
58
58
  PHONE_COUNTRIES,
@@ -76,10 +76,11 @@ import {
76
76
  pickChat,
77
77
  pickPerson,
78
78
  rankingOptions
79
- } from "./chunk-KE2RQUQO.js";
79
+ } from "./chunk-7E7YXQ52.js";
80
80
  import {
81
81
  ADDED_ACCOUNT,
82
82
  ADDED_PROVIDER,
83
+ BACKENDS,
83
84
  CATALOG_KINDS,
84
85
  CONTRACT_KINDS,
85
86
  CONTRACT_ROLES,
@@ -151,13 +152,14 @@ import {
151
152
  providerNamed,
152
153
  providers,
153
154
  rolesOf,
155
+ serviceCallsOf,
154
156
  signedMinorUnits,
155
157
  standingOf,
156
158
  usableLink,
157
159
  useProviders
158
- } from "./chunk-2M7PPII5.js";
159
- import "./chunk-MVDP7VL6.js";
160
- import "./chunk-SPWKGRTO.js";
160
+ } from "./chunk-KPFB2VUY.js";
161
+ import "./chunk-H2QTUZ3C.js";
162
+ import "./chunk-FRXDSR45.js";
161
163
  import "./chunk-XWBPP2HX.js";
162
164
  import "./chunk-7MEVD5PI.js";
163
165
  import "./chunk-ECZSYLSL.js";
@@ -167,6 +169,7 @@ import "./chunk-ZVVMGPBJ.js";
167
169
  export {
168
170
  ADDED_ACCOUNT,
169
171
  ADDED_PROVIDER,
172
+ BACKENDS,
170
173
  CATALOG_KINDS,
171
174
  CONTRACT_KINDS,
172
175
  CONTRACT_ROLES,
@@ -297,6 +300,7 @@ export {
297
300
  renderMessages,
298
301
  resolveOutput,
299
302
  rolesOf,
303
+ serviceCallsOf,
300
304
  signedMinorUnits,
301
305
  standingOf,
302
306
  terminalQr,
@@ -42399,7 +42399,7 @@ function install11(registers) {
42399
42399
  }
42400
42400
  __name(install11, "install");
42401
42401
 
42402
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42402
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42450
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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,9 +13,9 @@ import {
13
13
  truncated,
14
14
  unit,
15
15
  warmEmbedders
16
- } from "./chunk-CWAA73PJ.js";
17
- import "./chunk-3ECFSRLQ.js";
18
- import "./chunk-54JKDFOV.js";
16
+ } from "./chunk-QANXOKYQ.js";
17
+ import "./chunk-LGDJDD5J.js";
18
+ import "./chunk-BNP7WLDQ.js";
19
19
  import "./chunk-7MEVD5PI.js";
20
20
  import "./chunk-ECZSYLSL.js";
21
21
  import "./chunk-Y5E2WNWB.js";
@@ -4,9 +4,9 @@ import {
4
4
  openSession,
5
5
  truncated,
6
6
  unit
7
- } from "./chunk-CWAA73PJ.js";
8
- import "./chunk-3ECFSRLQ.js";
9
- import "./chunk-54JKDFOV.js";
7
+ } from "./chunk-QANXOKYQ.js";
8
+ import "./chunk-LGDJDD5J.js";
9
+ import "./chunk-BNP7WLDQ.js";
10
10
  import "./chunk-7MEVD5PI.js";
11
11
  import "./chunk-ECZSYLSL.js";
12
12
  import {
@@ -19,11 +19,11 @@ import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
65
+ // node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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");