@wirecat/mail-cli 0.31.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 +24 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-XL62TNUO.js → all-profiles-W3CGXEEJ.js} +10 -10
  4. package/dist/bundle/{anthropic-3MSWVYCE.js → anthropic-UMDO5AKP.js} +5 -5
  5. package/dist/bundle/{app-server-RRNR5XFA.js → app-server-4SICQ5RP.js} +50 -50
  6. package/dist/bundle/{bun-E3F3PEQQ.js → bun-QVVCH4MJ.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-UOFN77LO.js → bun-sqlite-CHD4AIUK.js} +6 -6
  8. package/dist/bundle/{chunk-JYGFEMTR.js → chunk-2BFXHCZW.js} +2 -2
  9. package/dist/bundle/{chunk-NEJU74O4.js → chunk-2L6D54BR.js} +8 -8
  10. package/dist/bundle/{chunk-BS6WYCNZ.js → chunk-2P44S7XK.js} +27 -30
  11. package/dist/bundle/{chunk-TUXNILKR.js → chunk-2X344EUT.js} +8 -8
  12. package/dist/bundle/{chunk-M4OP5ASJ.js → chunk-35AH33VJ.js} +1 -1
  13. package/dist/bundle/{chunk-UFMR2TB3.js → chunk-47YNANPZ.js} +2 -2
  14. package/dist/bundle/{chunk-7C6FGWDH.js → chunk-6IS4BEN4.js} +4 -4
  15. package/dist/bundle/{chunk-ITU6K7LU.js → chunk-6VCQ4CTK.js} +1 -1
  16. package/dist/bundle/{chunk-NYQPKZWL.js → chunk-74BYHR44.js} +590 -604
  17. package/dist/bundle/{chunk-T72DWT37.js → chunk-7OYZU5SP.js} +4 -4
  18. package/dist/bundle/{chunk-4BW5JACS.js → chunk-AEKWEYIG.js} +17 -17
  19. package/dist/bundle/{chunk-3CJ4C6BB.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-GZLCZU5B.js → chunk-BZY5W35X.js} +7 -7
  23. package/dist/bundle/{chunk-6UOUDIXL.js → chunk-CHNNKHLL.js} +7468 -7317
  24. package/dist/bundle/{chunk-QVGCHTTU.js → chunk-CIG4UVP6.js} +12 -12
  25. package/dist/bundle/{chunk-D6D6JLXG.js → chunk-CZ6ZXDSO.js} +46 -37
  26. package/dist/bundle/{chunk-7E7YXQ52.js → chunk-DI74RP6R.js} +18 -18
  27. package/dist/bundle/{chunk-IX3GUNGV.js → chunk-EW3JFV7J.js} +4 -4
  28. package/dist/bundle/{chunk-GWKGZOSO.js → chunk-FSMCXQH2.js} +2 -2
  29. package/dist/bundle/{chunk-DDCDOBZS.js → chunk-GZYICXO4.js} +1 -1
  30. package/dist/bundle/{chunk-BKRIIZPV.js → chunk-H46MANPR.js} +3 -3
  31. package/dist/bundle/{chunk-OP5ZLH53.js → chunk-HFFHL7SV.js} +55 -55
  32. package/dist/bundle/{chunk-DCR3IWC7.js → chunk-I3UAD4EI.js} +33 -32
  33. package/dist/bundle/{chunk-EMVLCION.js → chunk-IBIFX2LK.js} +2 -2
  34. package/dist/bundle/{chunk-BNP7WLDQ.js → chunk-IPSLQX64.js} +2 -2
  35. package/dist/bundle/{chunk-DPDS6IZJ.js → chunk-JADBHKBP.js} +1 -1
  36. package/dist/bundle/{chunk-DWBY7DMF.js → chunk-JCQ47WR4.js} +5 -5
  37. package/dist/bundle/{chunk-LGDJDD5J.js → chunk-JUYUWMTG.js} +4 -4
  38. package/dist/bundle/{chunk-OXHQNEXU.js → chunk-KLLT572M.js} +3 -3
  39. package/dist/bundle/{chunk-5YRR52NH.js → chunk-L3MKFI3Y.js} +2 -2
  40. package/dist/bundle/{chunk-PZL7DHVJ.js → chunk-LACMDMDI.js} +9 -9
  41. package/dist/bundle/{chunk-DZSS2IUK.js → chunk-LB5FTCPZ.js} +3 -4
  42. package/dist/bundle/{chunk-JLIVJSCF.js → chunk-LFBD6RTX.js} +2 -2
  43. package/dist/bundle/{chunk-QSXJ2BVQ.js → chunk-LKGJMM6W.js} +6 -6
  44. package/dist/bundle/{chunk-NV3WPD3B.js → chunk-LXAX6AZU.js} +6 -6
  45. package/dist/bundle/{chunk-H2QTUZ3C.js → chunk-LXUHYDNE.js} +1 -1
  46. package/dist/bundle/{chunk-I3BQ2QIY.js → chunk-MJ7DUSHT.js} +14 -14
  47. package/dist/bundle/{chunk-4ME2NHNJ.js → chunk-MNJ3BMPZ.js} +3 -3
  48. package/dist/bundle/{chunk-THZHNCJP.js → chunk-MT7T5N2N.js} +4 -4
  49. package/dist/bundle/{chunk-KPFB2VUY.js → chunk-OFMYFFEF.js} +461 -402
  50. package/dist/bundle/{chunk-WZGFC7D5.js → chunk-OOYIPK4F.js} +1 -1
  51. package/dist/bundle/{chunk-NUN7DBR4.js → chunk-OWAJN74H.js} +17 -18
  52. package/dist/bundle/{chunk-S2QO6KUI.js → chunk-QN423PC6.js} +3 -3
  53. package/dist/bundle/{chunk-EV5SR3OC.js → chunk-QO7BK4WD.js} +8 -8
  54. package/dist/bundle/{chunk-GXBNTKJW.js → chunk-RENCSP47.js} +3 -3
  55. package/dist/bundle/{chunk-FIVFP53N.js → chunk-RXUVXAMM.js} +1 -1
  56. package/dist/bundle/{chunk-HZCINHHS.js → chunk-S6CHYNFE.js} +2 -2
  57. package/dist/bundle/{chunk-E3IOR37T.js → chunk-SDWYOYGN.js} +4 -4
  58. package/dist/bundle/{chunk-MS5XYEYW.js → chunk-SW7YGW3T.js} +28 -7
  59. package/dist/bundle/{chunk-BXMLIKUM.js → chunk-SYUIAMVA.js} +181 -156
  60. package/dist/bundle/{chunk-HZL3X4XR.js → chunk-TBZLGT7R.js} +20 -17
  61. package/dist/bundle/{chunk-FRXDSR45.js → chunk-TK77DCE5.js} +1 -1
  62. package/dist/bundle/{chunk-P6CYVOL6.js → chunk-UAV74EY4.js} +1 -1
  63. package/dist/bundle/{chunk-SQA5JI7Q.js → chunk-UG2QDGAH.js} +1 -1
  64. package/dist/bundle/{chunk-ECZSYLSL.js → chunk-UWF3SSRL.js} +25 -8
  65. package/dist/bundle/{chunk-QANXOKYQ.js → chunk-UX76GMQM.js} +6 -6
  66. package/dist/bundle/{chunk-I5Y6Y7Q5.js → chunk-UYZDH5LK.js} +1 -1
  67. package/dist/bundle/{chunk-3V6J7VPF.js → chunk-XN5KH24X.js} +5 -5
  68. package/dist/bundle/{chunk-FYP2M6IT.js → chunk-XQXYAOBV.js} +30 -29
  69. package/dist/bundle/{chunk-PIXFZZUZ.js → chunk-Y2P2LC5R.js} +21 -11
  70. package/dist/bundle/command-contract-NRNQAFFE.js +36 -0
  71. package/dist/bundle/{command-server-entry-A3FCP24M.js → command-server-entry-G2ZHCN5J.js} +25 -25
  72. package/dist/bundle/{decode-FI2ISRNZ.js → decode-U6V6D6XH.js} +5 -5
  73. package/dist/bundle/{dispatch-DSVN7MNG.js → dispatch-RHIK22OA.js} +8 -8
  74. package/dist/bundle/{dist-NLOOZJ64.js → dist-X5G2IMYG.js} +15 -15
  75. package/dist/bundle/{echarts-PMAJUJFE.js → echarts-UZJ6AREV.js} +2 -2
  76. package/dist/bundle/{embed-OIMT6SAX.js → embed-FEXLUH3T.js} +6 -6
  77. package/dist/bundle/{embedder-Q5IF5WIM.js → embedder-NHQARKFJ.js} +9 -9
  78. package/dist/bundle/{failure-COTPFUP4.js → failure-7DIA4OET.js} +2 -2
  79. package/dist/bundle/{first-run-4L53QWOT.js → first-run-PS5NR2QG.js} +12 -12
  80. package/dist/bundle/first-screen-C2WTLOG2.js +34 -0
  81. package/dist/bundle/{instructions-ZJGGGXOA.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-DCSOHRD6.js → node-ELCNUOCE.js} +2 -2
  85. package/dist/bundle/{node-sqlite-7F77K5JA.js → node-sqlite-2E5MKZMH.js} +7 -7
  86. package/dist/bundle/{oauth-LVPMEN6M.js → oauth-JGPEIY3M.js} +7 -7
  87. package/dist/bundle/{open-XM5LWEN6.js → open-6DEMCZAB.js} +5 -5
  88. package/dist/bundle/{openai-H2LCGK22.js → openai-IVKDU5AH.js} +15 -15
  89. package/dist/bundle/{process-MFC5VSPT.js → process-67DAKAAQ.js} +1 -1
  90. package/dist/bundle/{program-ZQ43ZYKZ.js → program-ESJDQMAJ.js} +498 -481
  91. package/dist/bundle/{prompt-3LZAZNQ4.js → prompt-ZBWOT5KG.js} +5 -5
  92. package/dist/bundle/{recognize-GYQMHFY2.js → recognize-UUBH2DOH.js} +4 -4
  93. package/dist/bundle/{remote-P2MD5G64.js → remote-UYTNWNOB.js} +9 -9
  94. package/dist/bundle/{rerank-A5X6THV6.js → rerank-X2633CQN.js} +7 -7
  95. package/dist/bundle/{serve-IEC3EUKS.js → serve-CP7Q4OVW.js} +9 -9
  96. package/dist/bundle/{server-3REPXFNI.js → server-I7MXRSAG.js} +42 -42
  97. package/dist/bundle/server-QGTMJ7SF.js +67 -0
  98. package/dist/bundle/{sqlite-runtime-AOLQGC5J.js → sqlite-runtime-BX55LI5G.js} +6 -6
  99. package/dist/bundle/{state-D3P5IXXA.js → state-LLNJQXFH.js} +6 -6
  100. package/dist/bundle/{store-MZCQXBVW.js → store-K4KU5N75.js} +19 -19
  101. package/dist/bundle/{store-DIN6OY3K.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-YRNKDQDL.js +0 -36
  114. package/dist/bundle/first-screen-ZPQLAAIS.js +0 -34
  115. package/dist/bundle/server-E2QTFURI.js +0 -67
  116. package/dist/bundle/store-maintenance-command-UMVFI6M6.js +0 -58
  117. /package/dist/bundle/{chunk-XWBPP2HX.js → chunk-BDCC2J2Z.js} +0 -0
@@ -5,12 +5,12 @@ import {
5
5
  } from "./chunk-Y5E2WNWB.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-7KCBPAQS.js";
8
+ } from "./chunk-BI5P7JWM.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
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/store/vector-extension.js
13
+ // 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/store/vector-extension.js
14
14
  import { readFileSync } from "node:fs";
15
15
  var musl = /* @__PURE__ */ __name(() => {
16
16
  if (process.platform !== "linux")
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  resolvePaths
5
- } from "./chunk-7MEVD5PI.js";
5
+ } from "./chunk-BRRHYXUP.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // 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/path.js
10
+ // 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/store/path.js
11
11
  import { realpathSync } from "node:fs";
12
12
  import { userInfo } from "node:os";
13
13
  import { basename, dirname, isAbsolute, join, relative, resolve } 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.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/sqlite/drizzle/shared-55XJMTPA.js
7
+ // 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/store/sqlite/drizzle/shared-55XJMTPA.js
8
8
  var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
9
9
  var kindsByConstructor = /* @__PURE__ */ new WeakMap();
10
10
  function collectKinds(ctor) {
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError,
5
5
  isCliError
6
- } from "./chunk-7KCBPAQS.js";
6
+ } from "./chunk-BI5P7JWM.js";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-ZVVMGPBJ.js";
10
10
 
11
- // 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/http/hosts.js
11
+ // 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/http/hosts.js
12
12
  var LABEL = "[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?";
13
13
  var HOST_PATTERN = new RegExp(`^(?:${LABEL}(?:\\.${LABEL})*|\\*\\.${LABEL}(?:\\.${LABEL})+)$`);
14
14
  var hostProblems = /* @__PURE__ */ __name((hosts) => [
@@ -20,7 +20,7 @@ var hostCovered = /* @__PURE__ */ __name((hostname, hosts) => {
20
20
  return hosts.some((host) => host.startsWith("*.") ? name.endsWith(host.slice(1)) : name === host);
21
21
  }, "hostCovered");
22
22
 
23
- // 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/http/fetch.js
23
+ // 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/http/fetch.js
24
24
  var HOST_FETCH_TIMEOUT_MS = 3e4;
25
25
  var REDIRECTS = 5;
26
26
  var REDIRECT_STATUSES = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]);
@@ -108,7 +108,7 @@ var hostFetch = /* @__PURE__ */ __name((options) => {
108
108
  };
109
109
  }, "hostFetch");
110
110
 
111
- // 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/http/index.js
111
+ // 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/http/index.js
112
112
  var parseRetryAfter = /* @__PURE__ */ __name((header, now) => {
113
113
  if (!header)
114
114
  return void 0;
@@ -132,7 +132,7 @@ var parseRateLimitReset = /* @__PURE__ */ __name((header, now) => {
132
132
  }, "parseRateLimitReset");
133
133
  var providerWaitMs = /* @__PURE__ */ __name((headers, now) => parseRetryAfter(headers.get("retry-after"), now) ?? parseRateLimitReset(headers.get("x-ratelimit-reset"), now), "providerWaitMs");
134
134
 
135
- // 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/endpoint.js
135
+ // 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/models/endpoint.js
136
136
  var endpoint = /* @__PURE__ */ __name((value) => {
137
137
  try {
138
138
  const url = new URL(value);
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  wirecatDirectory
5
- } from "./chunk-BNP7WLDQ.js";
5
+ } from "./chunk-IPSLQX64.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-7KCBPAQS.js";
8
+ } from "./chunk-BI5P7JWM.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
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/models.js
13
+ // 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/models.js
14
14
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
15
15
  var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
16
16
  var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
137
137
  return model;
138
138
  }, "speechModel");
139
139
 
140
- // 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/install.js
140
+ // 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/install.js
141
141
  import { createHash, randomUUID } from "node:crypto";
142
142
  import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
143
143
  import { rename, rm } from "node:fs/promises";
@@ -29,7 +29,7 @@ import {
29
29
  agentOf,
30
30
  clientHash,
31
31
  currentCaller
32
- } from "./chunk-TUXNILKR.js";
32
+ } from "./chunk-2X344EUT.js";
33
33
  import {
34
34
  __name
35
35
  } from "./chunk-ZVVMGPBJ.js";
@@ -541,7 +541,7 @@ function toError(value) {
541
541
  }
542
542
  __name(toError, "toError");
543
543
 
544
- // 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/caller.js
544
+ // 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/mcp/caller.js
545
545
  var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
546
546
  const client = caller?.agent?.client?.name;
547
547
  if (client && client !== "unknown")
@@ -629,7 +629,7 @@ var passedOn = /* @__PURE__ */ __name((value, tool) => {
629
629
  };
630
630
  }, "passedOn");
631
631
 
632
- // 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/stdio-wire.js
632
+ // 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/mcp/stdio-wire.js
633
633
  import { PassThrough, Writable } from "node:stream";
634
634
  var lineReader = /* @__PURE__ */ __name((onMessage) => {
635
635
  let rest = "";
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError,
5
5
  errorCodes
6
- } from "./chunk-7KCBPAQS.js";
6
+ } from "./chunk-BI5P7JWM.js";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-ZVVMGPBJ.js";
10
10
 
11
- // 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/errors/failures.js
11
+ // 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/errors/failures.js
12
12
  var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
13
13
  var isCommanderFailure = /* @__PURE__ */ __name((value) => {
14
14
  const { code, exitCode } = value ?? {};
@@ -4,18 +4,18 @@ import {
4
4
  PLAIN_HTTP_REFUSED,
5
5
  modelAddressAllowed,
6
6
  onThisComputer
7
- } from "./chunk-DWBY7DMF.js";
7
+ } from "./chunk-JCQ47WR4.js";
8
8
  import {
9
9
  readSharedSection,
10
10
  sharedConfigPath,
11
11
  writeSharedSection
12
- } from "./chunk-GZLCZU5B.js";
12
+ } from "./chunk-BZY5W35X.js";
13
13
  import {
14
14
  unit
15
- } from "./chunk-QANXOKYQ.js";
15
+ } from "./chunk-UX76GMQM.js";
16
16
  import {
17
17
  storePath
18
- } from "./chunk-BNP7WLDQ.js";
18
+ } from "./chunk-IPSLQX64.js";
19
19
  import {
20
20
  boolean,
21
21
  isoTimestamp,
@@ -23,18 +23,18 @@ import {
23
23
  safeParse,
24
24
  strictObject,
25
25
  string
26
- } from "./chunk-ECZSYLSL.js";
26
+ } from "./chunk-UWF3SSRL.js";
27
27
  import {
28
28
  CliError
29
- } from "./chunk-7KCBPAQS.js";
29
+ } from "./chunk-BI5P7JWM.js";
30
30
  import {
31
31
  __name
32
32
  } from "./chunk-ZVVMGPBJ.js";
33
33
 
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
34
+ // 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/embeddings/remote.js
35
35
  import { setTimeout } from "node:timers/promises";
36
36
 
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
37
+ // 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/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.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
71
+ // 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/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 },
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  QUERY_REASONS
5
- } from "./chunk-KPFB2VUY.js";
5
+ } from "./chunk-OFMYFFEF.js";
6
6
  import {
7
7
  defineReasons
8
- } from "./chunk-ECZSYLSL.js";
8
+ } from "./chunk-UWF3SSRL.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
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/errors/reasons.js
13
+ // 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/errors/reasons.js
14
14
  var validation = /* @__PURE__ */ __name((reason, message) => [reason, "validation_error", message], "validation");
15
15
  var QUERY = [
16
16
  ["query.aborted", "the search was stopped before it finished"],
@@ -318,7 +318,6 @@ var OTHERS = [
318
318
  ],
319
319
  ["store.vector-extension-failed", "configuration_error", "the sqlite-vec extension did not load; reinstall the CLI"],
320
320
  validation("store.vector-invalid", "a vector to store had a non-finite value"),
321
- validation("catalog.scope-limit", "the selected catalog exceeds its entry limit"),
322
321
  validation("evidence.quote-length", "a quote from the evidence is empty or over 500 characters"),
323
322
  validation("evidence.quote-not-found", "the cited source does not say the quoted words"),
324
323
  validation("evidence.row-too-large", "one evidence row is over its size limit"),
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  defineReasons
5
- } from "./chunk-ECZSYLSL.js";
5
+ } from "./chunk-UWF3SSRL.js";
6
6
 
7
7
  // dist/reasons.js
8
8
  var ENTRIES = [
@@ -58,7 +58,7 @@ var ENTRIES = [
58
58
  var REASONS = defineReasons(ENTRIES.map(([reason, code, message]) => ({ reason, code, message, details: [] })));
59
59
 
60
60
  // dist/version.js
61
- var VERSION = "0.31.0";
61
+ var VERSION = "0.33.0";
62
62
 
63
63
  // dist/identity.js
64
64
  var PACKAGE = "@wirecat/mail-cli";
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  commandPathOf,
5
5
  outputOf
6
- } from "./chunk-3V6J7VPF.js";
6
+ } from "./chunk-XN5KH24X.js";
7
7
  import {
8
8
  wrapAnsi
9
9
  } from "./chunk-HTQTIKWP.js";
@@ -17,18 +17,18 @@ import {
17
17
  environmentOf,
18
18
  metaOf,
19
19
  takesProfile
20
- } from "./chunk-BXMLIKUM.js";
20
+ } from "./chunk-SYUIAMVA.js";
21
21
  import {
22
22
  writes
23
- } from "./chunk-ECZSYLSL.js";
23
+ } from "./chunk-UWF3SSRL.js";
24
24
  import {
25
25
  CliError
26
- } from "./chunk-7KCBPAQS.js";
26
+ } from "./chunk-BI5P7JWM.js";
27
27
  import {
28
28
  __name
29
29
  } from "./chunk-ZVVMGPBJ.js";
30
30
 
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
31
+ // 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/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.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
224
+ // 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/help/first-screen.js
225
225
  var WIRECAT_TOOLS = [
226
226
  {
227
227
  command: "tg",
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PRAGMAS
5
- } from "./chunk-WZGFC7D5.js";
5
+ } from "./chunk-OOYIPK4F.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-7KCBPAQS.js";
8
+ } from "./chunk-BI5P7JWM.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
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/store/sqlite-warning.js
13
+ // 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/store/sqlite-warning.js
14
14
  var SQLITE_WARNING = "SQLite is an experimental feature";
15
15
  var quieted = /* @__PURE__ */ new WeakSet();
16
16
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
31
31
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
32
32
  }, "isSqliteWarning");
33
33
 
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/store/open.js
34
+ // 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/store/open.js
35
35
  var openCache = /* @__PURE__ */ __name(async (path) => {
36
36
  const database = await openFile(path);
37
37
  try {
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
44
44
  }, "openCache");
45
45
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
46
46
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
47
- const { openWithBunSqlite } = await import("./bun-sqlite-UOFN77LO.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-CHD4AIUK.js");
48
48
  return await openWithBunSqlite(path);
49
49
  }, "openUnderBun");
50
50
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
51
51
  quietSqliteWarning();
52
- const { openWithNodeSqlite } = await import("./node-sqlite-7F77K5JA.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-2E5MKZMH.js");
53
53
  return openWithNodeSqlite(path);
54
54
  }, "openUnderNode");
55
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
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/runs/secrets.js
7
+ // 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/runs/secrets.js
8
8
  var SECRET_WORDS = /* @__PURE__ */ new Set([
9
9
  "authorization",
10
10
  "cookie",
@@ -2,34 +2,34 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  validateFormattedText
5
- } from "./chunk-PIXFZZUZ.js";
5
+ } from "./chunk-Y2P2LC5R.js";
6
6
  import {
7
7
  inputPolicy
8
- } from "./chunk-HZCINHHS.js";
8
+ } from "./chunk-S6CHYNFE.js";
9
9
  import {
10
10
  RECORDS_SCHEMA_VERSION,
11
11
  RECORD_TYPES,
12
12
  pointerOf
13
- } from "./chunk-7E7YXQ52.js";
13
+ } from "./chunk-DI74RP6R.js";
14
14
  import {
15
15
  parseReference
16
- } from "./chunk-KPFB2VUY.js";
16
+ } from "./chunk-OFMYFFEF.js";
17
17
  import {
18
18
  indent
19
- } from "./chunk-7MEVD5PI.js";
19
+ } from "./chunk-BRRHYXUP.js";
20
20
  import {
21
21
  CliError
22
- } from "./chunk-7KCBPAQS.js";
22
+ } from "./chunk-BI5P7JWM.js";
23
23
  import {
24
24
  __name
25
25
  } from "./chunk-ZVVMGPBJ.js";
26
26
 
27
- // 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/domain/checks.js
27
+ // 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/checks.js
28
28
  var spelled = /* @__PURE__ */ __name((check, args) => `${check.replaceAll(".", " ")}${args === void 0 ? "" : ` ${args}`}`, "spelled");
29
29
  var bareCheck = /* @__PURE__ */ __name((check, args) => `\`${spelled(check, args)}\``, "bareCheck");
30
30
  var checkWords = /* @__PURE__ */ __name((command, profile) => (check, args) => `\`${command} ${profile === void 0 ? "" : `${profile} `}${spelled(check, args)}\``, "checkWords");
31
31
 
32
- // 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/domain/links.js
32
+ // 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/links.js
33
33
  var LINK_VERSION = "v1";
34
34
  var DEFAULT_LINK_CONFIG = { base: "https://wirecat.dev/o", enabled: true };
35
35
  var APP_PREFIX = "wirecat://open";
@@ -146,7 +146,7 @@ var linkFor = /* @__PURE__ */ __name((ref, { form, config = DEFAULT_LINK_CONFIG,
146
146
  return form === "app" ? `${APP_PREFIX}${path}` : `${config.base}#${path}`;
147
147
  }, "linkFor");
148
148
 
149
- // 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/domain/markdown.js
149
+ // 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/markdown.js
150
150
  var MARKERS = [
151
151
  ["**", "bold"],
152
152
  ["~~", "strike"],
@@ -192,7 +192,7 @@ var closing = /* @__PURE__ */ __name((input, open, marker) => {
192
192
  return end;
193
193
  }, "closing");
194
194
 
195
- // 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/domain/markdown-spans.js
195
+ // 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/markdown-spans.js
196
196
  var STYLES = [
197
197
  ["**", "bold"],
198
198
  ["__", "underline"],
@@ -352,7 +352,7 @@ var parseMarkdownSpans = /* @__PURE__ */ __name((input) => {
352
352
  return validateFormattedText(result);
353
353
  }, "parseMarkdownSpans");
354
354
 
355
- // 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/domain/polls.js
355
+ // 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/polls.js
356
356
  var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
357
357
  const cast = votes.filter((vote) => vote.answers.length > 0);
358
358
  const mine = self === null ? void 0 : votes.find((vote) => vote.person.id === self);
@@ -367,7 +367,7 @@ var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
367
367
  };
368
368
  }, "countedPoll");
369
369
 
370
- // 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/domain/records-table.js
370
+ // 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/records-table.js
371
371
  var TABLE_RECORD_TYPES = Object.keys(RECORD_TYPES).filter((type) => RECORD_TYPES[type].sheet !== false);
372
372
  var TableError = class extends Error {
373
373
  static {
@@ -2357,7 +2357,7 @@ var createDataURL = /* @__PURE__ */ __name(function(width, height, getPixel) {
2357
2357
  var qrcode_default = qrcode;
2358
2358
  var stringToBytes = qrcode.stringToBytes;
2359
2359
 
2360
- // 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/qr.js
2360
+ // 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/terminal/qr.js
2361
2361
  var QUIET_ZONE = 4;
2362
2362
  var BLACK_ON_WHITE = "\x1B[30;107m";
2363
2363
  var RESET = "\x1B[0m";
@@ -2404,7 +2404,7 @@ var plainQr = /* @__PURE__ */ __name((link) => {
2404
2404
  return lines.join("\n");
2405
2405
  }, "plainQr");
2406
2406
 
2407
- // 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/login-qr.js
2407
+ // 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/terminal/login-qr.js
2408
2408
  var MARGIN = 2;
2409
2409
  var atTerminal = /* @__PURE__ */ __name((input) => input.isTTY === true && !inputPolicy(input).noInput, "atTerminal");
2410
2410
  var PASTE_QR = "agents: paste the QR code above into the chat as a code block, exactly as printed; when a new one is printed, paste it and say the old one expired";
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSharedSection,
5
5
  writeSharedSection
6
- } from "./chunk-GZLCZU5B.js";
6
+ } from "./chunk-BZY5W35X.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-7KCBPAQS.js";
9
+ } from "./chunk-BI5P7JWM.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // 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/setup-answers.js
14
+ // 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/setup-answers.js
15
15
  var PERMISSION_ANSWERS = ["readonly", "allow"];
16
16
  var QUESTIONS = ["languages", "tools", "permissions"];
17
17
  var SECTION = "setup";
@@ -5,15 +5,15 @@ import {
5
5
  } from "./chunk-Y5E2WNWB.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-7KCBPAQS.js";
8
+ } from "./chunk-BI5P7JWM.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
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
13
+ // 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/recognize.js
14
14
  import { createRequire } from "node:module";
15
15
 
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
16
+ // 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/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.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
73
+ // 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/recognize.js
74
74
  var SAMPLE_RATE = 16e3;
75
75
  var LEAD = SAMPLE_RATE / 2;
76
76
  var toModelRate = /* @__PURE__ */ __name((samples, rate) => {