@wirecat/mail-cli 0.33.0 → 0.34.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 (128) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/contracts/wirecat.json +2 -2
  3. package/dist/bin/mail.js +2 -2
  4. package/dist/bundle/{all-profiles-W3CGXEEJ.js → all-profiles-2KUKROHY.js} +10 -10
  5. package/dist/bundle/{anthropic-UMDO5AKP.js → anthropic-E5KRCEVC.js} +8 -8
  6. package/dist/bundle/{app-server-4SICQ5RP.js → app-server-HIQ3QO5K.js} +60 -52
  7. package/dist/bundle/{bun-QVVCH4MJ.js → bun-KARJPE5D.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-CHD4AIUK.js → bun-sqlite-NHGX6ZUN.js} +6 -6
  9. package/dist/bundle/{chunk-TK77DCE5.js → chunk-26DYRMXE.js} +1 -1
  10. package/dist/bundle/{chunk-JADBHKBP.js → chunk-2GDLJKPT.js} +1 -1
  11. package/dist/bundle/{chunk-JUYUWMTG.js → chunk-2SCQ7Z4I.js} +4 -4
  12. package/dist/bundle/{chunk-Y2P2LC5R.js → chunk-2VBEBPGX.js} +9 -9
  13. package/dist/bundle/{chunk-OOYIPK4F.js → chunk-4SKE5GYA.js} +1 -1
  14. package/dist/bundle/{chunk-H46MANPR.js → chunk-4URI6EAV.js} +3 -3
  15. package/dist/bundle/chunk-4VHK5UBM.js +170 -0
  16. package/dist/bundle/{chunk-L3MKFI3Y.js → chunk-4VM3UCSO.js} +2 -2
  17. package/dist/bundle/chunk-5GANGHQI.js +721 -0
  18. package/dist/bundle/{chunk-AEKWEYIG.js → chunk-6G4VQFVX.js} +19 -19
  19. package/dist/bundle/{chunk-KLLT572M.js → chunk-6GGMFL7J.js} +3 -3
  20. package/dist/bundle/{chunk-UYZDH5LK.js → chunk-6LFRZDPV.js} +1 -1
  21. package/dist/bundle/{chunk-LB5FTCPZ.js → chunk-A2Y2RFNW.js} +75 -10
  22. package/dist/bundle/{chunk-35AH33VJ.js → chunk-AGZ7SNFF.js} +1 -1
  23. package/dist/bundle/chunk-CKVWAUBW.js +787 -0
  24. package/dist/bundle/{chunk-QN423PC6.js → chunk-DYQGEZA2.js} +3 -3
  25. package/dist/bundle/{chunk-BF73DBAA.js → chunk-DZRP4UCK.js} +13 -13
  26. package/dist/bundle/{chunk-CZ6ZXDSO.js → chunk-EGQJDEFY.js} +74 -36
  27. package/dist/bundle/{chunk-BRRHYXUP.js → chunk-EZAX77SM.js} +20 -20
  28. package/dist/bundle/{chunk-47YNANPZ.js → chunk-FNYWC6A3.js} +2 -2
  29. package/dist/bundle/chunk-FORAOCZ3.js +334 -0
  30. package/dist/bundle/{chunk-EW3JFV7J.js → chunk-H77ALM2Y.js} +4 -4
  31. package/dist/bundle/{chunk-OWAJN74H.js → chunk-HH647UBC.js} +23 -23
  32. package/dist/bundle/{chunk-74BYHR44.js → chunk-HRDCH2VB.js} +620 -622
  33. package/dist/bundle/{chunk-SDWYOYGN.js → chunk-I3MS74OF.js} +4 -4
  34. package/dist/bundle/{chunk-FSMCXQH2.js → chunk-IMQ4CVZJ.js} +2 -2
  35. package/dist/bundle/{chunk-XN5KH24X.js → chunk-JVGVLRBA.js} +5 -5
  36. package/dist/bundle/{chunk-MNJ3BMPZ.js → chunk-KF6O4RZO.js} +3 -3
  37. package/dist/bundle/{chunk-UX76GMQM.js → chunk-KGYK3OI3.js} +6 -6
  38. package/dist/bundle/{chunk-BZY5W35X.js → chunk-KLI5FKZ2.js} +7 -7
  39. package/dist/bundle/chunk-KNVTBDTE.js +72 -0
  40. package/dist/bundle/{chunk-SW7YGW3T.js → chunk-LKTDW5LH.js} +7 -7
  41. package/dist/bundle/{chunk-UWF3SSRL.js → chunk-LOSYDRJU.js} +28 -8
  42. package/dist/bundle/{chunk-MT7T5N2N.js → chunk-MDISZMK4.js} +4 -4
  43. package/dist/bundle/{chunk-CIG4UVP6.js → chunk-MGXYIVVJ.js} +14 -13
  44. package/dist/bundle/{chunk-2BFXHCZW.js → chunk-NAENYLIO.js} +2 -2
  45. package/dist/bundle/{chunk-LXAX6AZU.js → chunk-NHD5BOJU.js} +6 -6
  46. package/dist/bundle/{chunk-IPSLQX64.js → chunk-NI4GCP2T.js} +2 -2
  47. package/dist/bundle/{chunk-CHNNKHLL.js → chunk-NJVJH5MH.js} +1206 -1544
  48. package/dist/bundle/{chunk-S6CHYNFE.js → chunk-NWD7AFOR.js} +2 -2
  49. package/dist/bundle/{chunk-7OYZU5SP.js → chunk-NXERDBEK.js} +4 -4
  50. package/dist/bundle/{chunk-2L6D54BR.js → chunk-OG5QO5RR.js} +8 -8
  51. package/dist/bundle/{chunk-2P44S7XK.js → chunk-OJ3BI2U4.js} +26 -24
  52. package/dist/bundle/chunk-OOYRMTX5.js +374 -0
  53. package/dist/bundle/{chunk-I3UAD4EI.js → chunk-OX5MCGXL.js} +40 -40
  54. package/dist/bundle/{chunk-LACMDMDI.js → chunk-PA4GEJXQ.js} +9 -9
  55. package/dist/bundle/{chunk-RENCSP47.js → chunk-PC3N3LH3.js} +3 -3
  56. package/dist/bundle/{chunk-UG2QDGAH.js → chunk-PRDKEVUL.js} +1 -1
  57. package/dist/bundle/{chunk-2X344EUT.js → chunk-PVZMN3UZ.js} +8 -8
  58. package/dist/bundle/{chunk-GZYICXO4.js → chunk-QFJC6POK.js} +1 -1
  59. package/dist/bundle/{chunk-OFMYFFEF.js → chunk-QOQF2TX3.js} +487 -1144
  60. package/dist/bundle/{chunk-BI5P7JWM.js → chunk-QQGPV3QN.js} +2 -2
  61. package/dist/bundle/{chunk-LXUHYDNE.js → chunk-QXLYLVEC.js} +1 -1
  62. package/dist/bundle/chunk-QXYNDMA6.js +259 -0
  63. package/dist/bundle/{chunk-HFFHL7SV.js → chunk-R2GS3GBJ.js} +61 -59
  64. package/dist/bundle/{chunk-LFBD6RTX.js → chunk-RPNQXWRS.js} +4 -4
  65. package/dist/bundle/{chunk-6IS4BEN4.js → chunk-SK3N4CK5.js} +4 -4
  66. package/dist/bundle/{chunk-JCQ47WR4.js → chunk-T2EE5M7O.js} +5 -5
  67. package/dist/bundle/{chunk-XQXYAOBV.js → chunk-TZJC4AOK.js} +26 -26
  68. package/dist/bundle/{chunk-LKGJMM6W.js → chunk-V43KEZYA.js} +9 -9
  69. package/dist/bundle/{chunk-SYUIAMVA.js → chunk-VBVR6JRC.js} +260 -516
  70. package/dist/bundle/{chunk-QO7BK4WD.js → chunk-VRGEDK4T.js} +8 -8
  71. package/dist/bundle/{chunk-DI74RP6R.js → chunk-WYGDALB3.js} +31 -85
  72. package/dist/bundle/{chunk-IBIFX2LK.js → chunk-X6IGETU6.js} +2 -2
  73. package/dist/bundle/{chunk-6VCQ4CTK.js → chunk-XIF75Z7D.js} +1 -1
  74. package/dist/bundle/chunk-XWU3A7H6.js +29 -0
  75. package/dist/bundle/{chunk-TBZLGT7R.js → chunk-YWX5X5RI.js} +19 -117
  76. package/dist/bundle/{chunk-RXUVXAMM.js → chunk-Z6A6QPPW.js} +1 -1
  77. package/dist/bundle/{chunk-UAV74EY4.js → chunk-ZGZADWD7.js} +1 -1
  78. package/dist/bundle/{chunk-MJ7DUSHT.js → chunk-ZZEWQR43.js} +18 -14
  79. package/dist/bundle/command-contract-PZ7VOOXP.js +39 -0
  80. package/dist/bundle/{command-server-entry-G2ZHCN5J.js → command-server-entry-NF45UPEV.js} +28 -25
  81. package/dist/bundle/decode-DUZA3EHC.js +296 -0
  82. package/dist/bundle/{dispatch-RHIK22OA.js → dispatch-CDJZAMVP.js} +8 -8
  83. package/dist/bundle/{dist-X5G2IMYG.js → dist-RH7EMC4J.js} +29 -24
  84. package/dist/bundle/{echarts-UZJ6AREV.js → echarts-GZHZBNRA.js} +2 -2
  85. package/dist/bundle/{embed-FEXLUH3T.js → embed-VE3CSJN4.js} +6 -6
  86. package/dist/bundle/{embedder-NHQARKFJ.js → embedder-DSJ77DX5.js} +9 -9
  87. package/dist/bundle/{failure-7DIA4OET.js → failure-YH6HAGFT.js} +2 -2
  88. package/dist/bundle/{first-run-PS5NR2QG.js → first-run-3L7HLYTI.js} +12 -12
  89. package/dist/bundle/first-screen-MY5KID77.js +37 -0
  90. package/dist/bundle/{instructions-SDDUBGH4.js → instructions-OZK3BLIO.js} +1 -1
  91. package/dist/bundle/mail.js +12 -12
  92. package/dist/bundle/{mcp-GN4FTJX5.js → mcp-YUG4YR4R.js} +2 -2
  93. package/dist/bundle/meeting-combined-RYMUPY54.js +24 -0
  94. package/dist/bundle/meeting-model-U7LW5WEN.js +24 -0
  95. package/dist/bundle/meeting-semantic-64IOIQRR.js +21 -0
  96. package/dist/bundle/{node-ELCNUOCE.js → node-OS3VWBUZ.js} +2 -2
  97. package/dist/bundle/{node-sqlite-2E5MKZMH.js → node-sqlite-RQ623VFA.js} +7 -7
  98. package/dist/bundle/{oauth-JGPEIY3M.js → oauth-CBPAG734.js} +7 -7
  99. package/dist/bundle/{open-6DEMCZAB.js → open-H4DGOMBC.js} +5 -5
  100. package/dist/bundle/{openai-IVKDU5AH.js → openai-EMWRGR54.js} +28 -26
  101. package/dist/bundle/{process-67DAKAAQ.js → process-3TOIYASI.js} +1 -1
  102. package/dist/bundle/{program-ESJDQMAJ.js → program-WA6RGAJL.js} +3075 -2024
  103. package/dist/bundle/{prompt-ZBWOT5KG.js → prompt-22KNCMBI.js} +5 -5
  104. package/dist/bundle/{recognize-UUBH2DOH.js → recognize-UWD4RSCZ.js} +4 -4
  105. package/dist/bundle/{remote-UYTNWNOB.js → remote-LJY7MF2E.js} +9 -9
  106. package/dist/bundle/{rerank-X2633CQN.js → rerank-JJ6KNJFB.js} +7 -7
  107. package/dist/bundle/{serve-CP7Q4OVW.js → serve-3EPLJYVZ.js} +9 -9
  108. package/dist/bundle/{server-I7MXRSAG.js → server-5JOFO4V4.js} +52 -44
  109. package/dist/bundle/server-EOQNS7B7.js +75 -0
  110. package/dist/bundle/{sqlite-runtime-BX55LI5G.js → sqlite-runtime-MGJA5E27.js} +6 -6
  111. package/dist/bundle/{state-LLNJQXFH.js → state-UCRDOWOP.js} +6 -6
  112. package/dist/bundle/{store-K4KU5N75.js → store-265VRRQV.js} +25 -20
  113. package/dist/bundle/{store-N27XI3VV.js → store-HS272YSA.js} +21 -17
  114. package/dist/bundle/store-maintenance-command-IKZM5NRP.js +66 -0
  115. package/dist/config.d.ts +1 -0
  116. package/dist/config.d.ts.map +1 -1
  117. package/dist/identity.d.ts.map +1 -1
  118. package/dist/identity.js +2 -2
  119. package/dist/identity.js.map +1 -1
  120. package/dist/version.d.ts +1 -1
  121. package/dist/version.js +1 -1
  122. package/package.json +3 -3
  123. package/dist/bundle/command-contract-NRNQAFFE.js +0 -36
  124. package/dist/bundle/decode-U6V6D6XH.js +0 -162
  125. package/dist/bundle/first-screen-C2WTLOG2.js +0 -34
  126. package/dist/bundle/server-QGTMJ7SF.js +0 -67
  127. package/dist/bundle/store-maintenance-command-VPAFQCNA.js +0 -58
  128. /package/dist/bundle/{chunk-BDCC2J2Z.js → chunk-FEBUZHU3.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.34.0 — 16.11.2026
6
+
7
+ ### Changed — may break callers
8
+
9
+ - **Built on cli-core 0.674.0** (was 0.663.0) and cli-base 0.103.0 (was 0.100.0). The shared store moves to version
10
+ 67, so upgrade the other WireCat CLIs that share it too. A command run without a profile it needs now carries the
11
+ reason `profile.missing`. See the
12
+ [cli-core changelog](https://github.com/WireCatLabs/cli-core/blob/main/CHANGELOG.md).
13
+
14
+ ### Fixed
15
+
16
+ - **WireCat Desktop's texts for mail say what it does.** The sign-in card said mail reads, organises and sends your
17
+ mail. It now says the agent sorts and sends mail as far as your settings allow (deleting and mail to others ask by
18
+ default), and that a Microsoft sign-in may not grant sending. The sync's label is
19
+ "mail", one word, as Desktop expects.
20
+
5
21
  ## 0.33.0 — 14.11.2026
6
22
 
7
23
  ### Changed — may break callers
@@ -1216,7 +1216,7 @@
1216
1216
  "start"
1217
1217
  ],
1218
1218
  "signIn": {
1219
- "gives": "Lets your agent read, organise and send your mail.",
1219
+ "gives": "Lets your agent read and search your mail, and sort and send it as far as your settings allow. A Microsoft sign-in may not grant sending.",
1220
1220
  "asks": "Your mail address and an app password, or a Microsoft or Google sign-in in the browser."
1221
1221
  },
1222
1222
  "skill": {
@@ -1305,7 +1305,7 @@
1305
1305
  "--json"
1306
1306
  ],
1307
1307
  "lastShape": "runs",
1308
- "what": "mail from the folders you choose",
1308
+ "what": "mail",
1309
1309
  "note": null
1310
1310
  },
1311
1311
  "storeInfo": null,
package/dist/bin/mail.js CHANGED
@@ -9,7 +9,7 @@ if (
9
9
  (words[0] === "--version" || words[0] === "-V") &&
10
10
  !Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
11
11
  ) {
12
- process.stdout.write("0.33.0\n")
12
+ process.stdout.write("0.34.0\n")
13
13
  } else {
14
14
  // Before the bundle compiles: the bundle's own call comes after its chunks.
15
15
  module.enableCompileCache()
@@ -28,7 +28,7 @@ if (
28
28
  : next(specifier, context),
29
29
  })
30
30
  }
31
- const chunks = ["../bundle/all-profiles-W3CGXEEJ.js","../bundle/anthropic-UMDO5AKP.js","../bundle/app-server-4SICQ5RP.js","../bundle/bun-QVVCH4MJ.js","../bundle/bun-sqlite-CHD4AIUK.js","../bundle/decode-U6V6D6XH.js","../bundle/dispatch-RHIK22OA.js","../bundle/dist-HFUVURJG.js","../bundle/dist-X5G2IMYG.js","../bundle/echarts-UZJ6AREV.js","../bundle/embed-FEXLUH3T.js","../bundle/embedder-NHQARKFJ.js","../bundle/failure-7DIA4OET.js","../bundle/first-screen-C2WTLOG2.js","../bundle/instructions-SDDUBGH4.js","../bundle/mcp-GN4FTJX5.js","../bundle/node-ELCNUOCE.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-2E5MKZMH.js","../bundle/oauth-JGPEIY3M.js","../bundle/open-6DEMCZAB.js","../bundle/openai-IVKDU5AH.js","../bundle/process-67DAKAAQ.js","../bundle/program-ESJDQMAJ.js","../bundle/prompt-ZBWOT5KG.js","../bundle/recognize-UUBH2DOH.js","../bundle/remote-UYTNWNOB.js","../bundle/rerank-X2633CQN.js","../bundle/serve-CP7Q4OVW.js","../bundle/server-I7MXRSAG.js","../bundle/server-QGTMJ7SF.js","../bundle/sqlite-runtime-BX55LI5G.js","../bundle/state-LLNJQXFH.js","../bundle/store-K4KU5N75.js","../bundle/store-N27XI3VV.js","../bundle/store-maintenance-command-VPAFQCNA.js"]
31
+ const chunks = ["../bundle/all-profiles-2KUKROHY.js","../bundle/anthropic-E5KRCEVC.js","../bundle/app-server-HIQ3QO5K.js","../bundle/bun-KARJPE5D.js","../bundle/bun-sqlite-NHGX6ZUN.js","../bundle/decode-DUZA3EHC.js","../bundle/dispatch-CDJZAMVP.js","../bundle/dist-HFUVURJG.js","../bundle/dist-RH7EMC4J.js","../bundle/echarts-GZHZBNRA.js","../bundle/embed-VE3CSJN4.js","../bundle/embedder-DSJ77DX5.js","../bundle/failure-YH6HAGFT.js","../bundle/first-screen-MY5KID77.js","../bundle/instructions-OZK3BLIO.js","../bundle/mcp-YUG4YR4R.js","../bundle/node-KM3CUABH.js","../bundle/node-OS3VWBUZ.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-RQ623VFA.js","../bundle/oauth-CBPAG734.js","../bundle/open-H4DGOMBC.js","../bundle/openai-EMWRGR54.js","../bundle/process-3TOIYASI.js","../bundle/program-WA6RGAJL.js","../bundle/prompt-22KNCMBI.js","../bundle/recognize-UWD4RSCZ.js","../bundle/remote-LJY7MF2E.js","../bundle/rerank-JJ6KNJFB.js","../bundle/serve-3EPLJYVZ.js","../bundle/server-5JOFO4V4.js","../bundle/server-EOQNS7B7.js","../bundle/sqlite-runtime-MGJA5E27.js","../bundle/state-UCRDOWOP.js","../bundle/store-265VRRQV.js","../bundle/store-HS272YSA.js","../bundle/store-maintenance-command-IKZM5NRP.js"]
32
32
  if (((words) => words
33
33
  .filter((word) => !word.startsWith("-"))
34
34
  .slice(0, 2)
@@ -7,28 +7,28 @@ import {
7
7
  answeredWire,
8
8
  callerOf,
9
9
  serveStdio
10
- } from "./chunk-KLLT572M.js";
10
+ } from "./chunk-6GGMFL7J.js";
11
11
  import {
12
12
  McpServer
13
13
  } from "./chunk-5D4AEUVA.js";
14
- import "./chunk-2X344EUT.js";
15
- import "./chunk-L3MKFI3Y.js";
16
- import "./chunk-LXUHYDNE.js";
17
- import "./chunk-BDCC2J2Z.js";
18
- import "./chunk-BRRHYXUP.js";
14
+ import "./chunk-PVZMN3UZ.js";
15
+ import "./chunk-4VM3UCSO.js";
16
+ import "./chunk-QXLYLVEC.js";
17
+ import "./chunk-FEBUZHU3.js";
18
+ import "./chunk-EZAX77SM.js";
19
19
  import {
20
20
  errorObjectOf,
21
21
  mcpErrorResult
22
- } from "./chunk-UWF3SSRL.js";
22
+ } from "./chunk-LOSYDRJU.js";
23
23
  import "./chunk-Y5E2WNWB.js";
24
24
  import {
25
25
  CliError
26
- } from "./chunk-BI5P7JWM.js";
26
+ } from "./chunk-QQGPV3QN.js";
27
27
  import {
28
28
  __name
29
29
  } from "./chunk-ZVVMGPBJ.js";
30
30
 
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/mcp/all-profiles.js
31
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
32
32
  import { spawn } from "node:child_process";
33
33
  import { randomUUID } from "node:crypto";
34
34
  var PROTOCOL = "2025-06-18";
@@ -249,7 +249,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
249
249
  }, "serveAllProfilesOverStdio");
250
250
  var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
251
251
  const { build, close } = allProfilesServer(options);
252
- const { serveOverHttp } = await import("./serve-CP7Q4OVW.js");
252
+ const { serveOverHttp } = await import("./serve-3EPLJYVZ.js");
253
253
  const listening = await serveOverHttp(build, {
254
254
  ...http,
255
255
  appName: options.command,
@@ -1,15 +1,15 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
- import {
4
- Anthropic
5
- } from "./chunk-XQUUANA2.js";
6
3
  import {
7
4
  EmptyAnswer,
8
5
  checkedOptions,
9
6
  messagesFor,
10
7
  systemFor
11
- } from "./chunk-SDWYOYGN.js";
12
- import "./chunk-BRRHYXUP.js";
8
+ } from "./chunk-I3MS74OF.js";
9
+ import {
10
+ Anthropic
11
+ } from "./chunk-XQUUANA2.js";
12
+ import "./chunk-EZAX77SM.js";
13
13
  import {
14
14
  array,
15
15
  literal,
@@ -19,14 +19,14 @@ import {
19
19
  strictObject,
20
20
  string,
21
21
  unknown
22
- } from "./chunk-UWF3SSRL.js";
22
+ } from "./chunk-LOSYDRJU.js";
23
23
  import "./chunk-Y5E2WNWB.js";
24
- import "./chunk-BI5P7JWM.js";
24
+ import "./chunk-QQGPV3QN.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // 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/anthropic.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/models/anthropic.js
30
30
  var options = strictObject({
31
31
  stop_sequences: optional(array(string())),
32
32
  thinking: optional(strictObject({ type: picklist(["disabled", "adaptive"]) })),
@@ -3,45 +3,49 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-I3UAD4EI.js";
6
+ } from "./chunk-OX5MCGXL.js";
7
7
  import {
8
8
  mcpUrlOf
9
- } from "./chunk-2P44S7XK.js";
10
- import "./chunk-UAV74EY4.js";
9
+ } from "./chunk-OJ3BI2U4.js";
10
+ import "./chunk-ZGZADWD7.js";
11
11
  import {
12
12
  answered,
13
13
  failed,
14
14
  registerCommands,
15
15
  runCommandForAgent,
16
16
  toolsFromCommands
17
- } from "./chunk-CZ6ZXDSO.js";
17
+ } from "./chunk-EGQJDEFY.js";
18
18
  import {
19
19
  agentJson,
20
20
  skillResource
21
- } from "./chunk-OWAJN74H.js";
22
- import "./chunk-LB5FTCPZ.js";
23
- import {
24
- appInstructions
25
- } from "./chunk-6VCQ4CTK.js";
21
+ } from "./chunk-HH647UBC.js";
22
+ import "./chunk-A2Y2RFNW.js";
26
23
  import {
27
24
  StdioServerTransport,
28
25
  answeredWire,
29
26
  serveStdio
30
- } from "./chunk-KLLT572M.js";
27
+ } from "./chunk-6GGMFL7J.js";
28
+ import "./chunk-YWX5X5RI.js";
29
+ import "./chunk-HRDCH2VB.js";
30
+ import "./chunk-DZRP4UCK.js";
31
+ import "./chunk-2VBEBPGX.js";
32
+ import "./chunk-SK3N4CK5.js";
33
+ import "./chunk-Z6A6QPPW.js";
34
+ import {
35
+ appInstructions
36
+ } from "./chunk-XIF75Z7D.js";
31
37
  import {
32
38
  McpServer
33
39
  } from "./chunk-5D4AEUVA.js";
40
+ import "./chunk-I3MS74OF.js";
41
+ import "./chunk-QXYNDMA6.js";
42
+ import "./chunk-OOYRMTX5.js";
43
+ import "./chunk-4VHK5UBM.js";
34
44
  import {
35
45
  mcpHttpMarker
36
- } from "./chunk-7OYZU5SP.js";
37
- import "./chunk-TBZLGT7R.js";
38
- import "./chunk-74BYHR44.js";
39
- import "./chunk-BF73DBAA.js";
40
- import "./chunk-Y2P2LC5R.js";
41
- import "./chunk-SDWYOYGN.js";
42
- import "./chunk-RENCSP47.js";
43
- import "./chunk-S6CHYNFE.js";
44
- import "./chunk-XN5KH24X.js";
46
+ } from "./chunk-NXERDBEK.js";
47
+ import "./chunk-PC3N3LH3.js";
48
+ import "./chunk-JVGVLRBA.js";
45
49
  import {
46
50
  DEFAULT_OUTPUT_BYTES,
47
51
  changesAuthorityAt,
@@ -52,48 +56,52 @@ import {
52
56
  readOnlyLockOf,
53
57
  readsOverMcpAt,
54
58
  rootOf2 as rootOf
55
- } from "./chunk-SYUIAMVA.js";
56
- import "./chunk-SW7YGW3T.js";
57
- import "./chunk-2X344EUT.js";
58
- import "./chunk-UG2QDGAH.js";
59
- import "./chunk-6IS4BEN4.js";
60
- import "./chunk-RXUVXAMM.js";
61
- import "./chunk-MNJ3BMPZ.js";
62
- import "./chunk-AEKWEYIG.js";
63
- import "./chunk-H46MANPR.js";
64
- import "./chunk-CHNNKHLL.js";
65
- import "./chunk-DI74RP6R.js";
66
- import "./chunk-XQXYAOBV.js";
67
- import "./chunk-OFMYFFEF.js";
68
- import "./chunk-L3MKFI3Y.js";
69
- import "./chunk-LXUHYDNE.js";
70
- import "./chunk-QO7BK4WD.js";
71
- import "./chunk-TK77DCE5.js";
72
- import "./chunk-LACMDMDI.js";
73
- import "./chunk-JCQ47WR4.js";
74
- import "./chunk-BZY5W35X.js";
75
- import "./chunk-UX76GMQM.js";
76
- import "./chunk-JUYUWMTG.js";
77
- import "./chunk-35AH33VJ.js";
78
- import "./chunk-BDCC2J2Z.js";
59
+ } from "./chunk-VBVR6JRC.js";
60
+ import "./chunk-LKTDW5LH.js";
61
+ import "./chunk-PVZMN3UZ.js";
62
+ import "./chunk-KF6O4RZO.js";
63
+ import "./chunk-FORAOCZ3.js";
64
+ import "./chunk-PRDKEVUL.js";
65
+ import "./chunk-NWD7AFOR.js";
66
+ import "./chunk-6G4VQFVX.js";
67
+ import "./chunk-4URI6EAV.js";
68
+ import "./chunk-NJVJH5MH.js";
69
+ import "./chunk-WYGDALB3.js";
70
+ import "./chunk-VRGEDK4T.js";
71
+ import "./chunk-5GANGHQI.js";
72
+ import "./chunk-KNVTBDTE.js";
73
+ import "./chunk-26DYRMXE.js";
74
+ import "./chunk-TZJC4AOK.js";
75
+ import "./chunk-CKVWAUBW.js";
76
+ import "./chunk-4VM3UCSO.js";
77
+ import "./chunk-QXLYLVEC.js";
78
+ import "./chunk-XWU3A7H6.js";
79
+ import "./chunk-QOQF2TX3.js";
80
+ import "./chunk-PA4GEJXQ.js";
81
+ import "./chunk-T2EE5M7O.js";
82
+ import "./chunk-KLI5FKZ2.js";
83
+ import "./chunk-KGYK3OI3.js";
84
+ import "./chunk-2SCQ7Z4I.js";
85
+ import "./chunk-AGZ7SNFF.js";
86
+ import "./chunk-FEBUZHU3.js";
79
87
  import "./chunk-D72URWJE.js";
80
- import "./chunk-IPSLQX64.js";
81
- import "./chunk-LXAX6AZU.js";
82
- import "./chunk-OOYIPK4F.js";
83
- import "./chunk-BRRHYXUP.js";
88
+ import "./chunk-NI4GCP2T.js";
89
+ import "./chunk-NHD5BOJU.js";
90
+ import "./chunk-4SKE5GYA.js";
91
+ import "./chunk-EZAX77SM.js";
84
92
  import {
85
93
  mcpErrorResult
86
- } from "./chunk-UWF3SSRL.js";
94
+ } from "./chunk-LOSYDRJU.js";
87
95
  import "./chunk-Y5E2WNWB.js";
88
96
  import {
89
97
  CliError
90
- } from "./chunk-BI5P7JWM.js";
91
- import "./chunk-JADBHKBP.js";
98
+ } from "./chunk-QQGPV3QN.js";
99
+ import "./chunk-2GDLJKPT.js";
92
100
  import {
93
101
  __name
94
102
  } from "./chunk-ZVVMGPBJ.js";
95
103
 
96
- // 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/app-server.js
104
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
97
105
  var EXCLUDED = [["mcp"]];
98
106
  var aliasesOf = /* @__PURE__ */ __name((root, path) => {
99
107
  let at = root;
@@ -210,7 +218,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
210
218
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
211
219
  const { app } = options;
212
220
  const { build } = createAppServer(command, context, options);
213
- const { serveOverHttp } = await import("./serve-CP7Q4OVW.js");
221
+ const { serveOverHttp } = await import("./serve-3EPLJYVZ.js");
214
222
  const listening = await serveOverHttp(build, {
215
223
  ...http,
216
224
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-JADBHKBP.js";
21
+ } from "./chunk-2GDLJKPT.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
27
27
  import { Database } from "bun:sqlite";
28
28
  var bunSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,21 +3,21 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-IBIFX2LK.js";
6
+ } from "./chunk-X6IGETU6.js";
7
7
  import {
8
8
  refuseOwnerStoreInTests
9
- } from "./chunk-IPSLQX64.js";
10
- import "./chunk-BRRHYXUP.js";
11
- import "./chunk-UWF3SSRL.js";
9
+ } from "./chunk-NI4GCP2T.js";
10
+ import "./chunk-EZAX77SM.js";
11
+ import "./chunk-LOSYDRJU.js";
12
12
  import {
13
13
  importFrom
14
14
  } from "./chunk-Y5E2WNWB.js";
15
- import "./chunk-BI5P7JWM.js";
15
+ import "./chunk-QQGPV3QN.js";
16
16
  import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // 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/drivers/bun-sqlite.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
21
21
  var customised = false;
22
22
  var ownLibrary = /* @__PURE__ */ __name(async () => {
23
23
  try {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
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/normalize.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/store/normalize.js
8
8
  var NORMALIZER_VERSION = 1;
9
9
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
10
10
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
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
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-5XR7K42U.js
8
8
  var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
9
9
  var kindsByConstructor = /* @__PURE__ */ new WeakMap();
10
10
  function collectKinds(ctor) {
@@ -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-IPSLQX64.js";
5
+ } from "./chunk-NI4GCP2T.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-BI5P7JWM.js";
8
+ } from "./chunk-QQGPV3QN.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
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
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/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.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
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/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";
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  LEVELS
5
- } from "./chunk-SW7YGW3T.js";
5
+ } from "./chunk-LKTDW5LH.js";
6
6
  import {
7
7
  WORD_BODY,
8
8
  e164Of
9
- } from "./chunk-DI74RP6R.js";
9
+ } from "./chunk-WYGDALB3.js";
10
10
  import {
11
11
  resolvePaths,
12
12
  writeSecurely
13
- } from "./chunk-BRRHYXUP.js";
13
+ } from "./chunk-EZAX77SM.js";
14
14
  import {
15
15
  array,
16
16
  getDotPath,
@@ -29,16 +29,16 @@ import {
29
29
  string,
30
30
  transform,
31
31
  unknown
32
- } from "./chunk-UWF3SSRL.js";
32
+ } from "./chunk-LOSYDRJU.js";
33
33
  import {
34
34
  CliError,
35
35
  visibleControls
36
- } from "./chunk-BI5P7JWM.js";
36
+ } from "./chunk-QQGPV3QN.js";
37
37
  import {
38
38
  __name
39
39
  } from "./chunk-ZVVMGPBJ.js";
40
40
 
41
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/vcard.js
41
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/domain/vcard.js
42
42
  import { createHash } from "node:crypto";
43
43
  var MAX_ID = 512;
44
44
  var AS_WORD = new RegExp(`^${WORD_BODY}$`);
@@ -269,7 +269,7 @@ var envelopeOfVcard = /* @__PURE__ */ __name((text, { provider, account, batchId
269
269
  };
270
270
  }, "envelopeOfVcard");
271
271
 
272
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/formatting.js
272
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/domain/formatting.js
273
273
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
274
274
  var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
275
275
  const { text, spans } = formatted;
@@ -329,7 +329,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
329
329
  };
330
330
  }, "visibleFormattedText");
331
331
 
332
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/moderation/check.js
332
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/moderation/check.js
333
333
  var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
334
334
  var LINK = /https?:\/\/\S+/i;
335
335
  var STRENGTH = { report: 0, delete: 1, remove: 2 };
@@ -517,7 +517,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
517
517
  }, "nextPoint");
518
518
  var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
519
519
 
520
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/moderation/rules.js
520
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/moderation/rules.js
521
521
  import { existsSync, readdirSync, readFileSync } from "node:fs";
522
522
  import { join } from "node:path";
523
523
  var RULE_ACTIONS = ["report", "delete", "remove"];
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
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/driver.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/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 {
@@ -5,7 +5,7 @@ import {
5
5
  id,
6
6
  text,
7
7
  time
8
- } from "./chunk-XQXYAOBV.js";
8
+ } from "./chunk-TZJC4AOK.js";
9
9
  import {
10
10
  array,
11
11
  nullable,
@@ -16,9 +16,9 @@ import {
16
16
  strictObject,
17
17
  string,
18
18
  unknown
19
- } from "./chunk-UWF3SSRL.js";
19
+ } from "./chunk-LOSYDRJU.js";
20
20
 
21
- // 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/entities/note.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/entities/note.js
22
22
  var link = {
23
23
  target_text: nullable(text),
24
24
  kind: text,