@wirecat/mail-cli 0.24.0 → 0.25.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 (106) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-VS7P6DJY.js → all-profiles-QEV2PSOR.js} +9 -9
  4. package/dist/bundle/{anthropic-C5JXKGBS.js → anthropic-5NKQXIHM.js} +16 -9
  5. package/dist/bundle/{app-server-HU3LVU42.js → app-server-G2CJNT4R.js} +56 -45
  6. package/dist/bundle/{bun-QLFX47WZ.js → bun-6HBYWQIX.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-W4PGAKVY.js → bun-sqlite-DXIQ7BVR.js} +8 -4
  8. package/dist/bundle/{chunk-U6MMQNNK.js → chunk-37F6QYTO.js} +5 -5
  9. package/dist/bundle/{chunk-5NLHDK7P.js → chunk-3XVR2ROR.js} +30 -30
  10. package/dist/bundle/{chunk-TI7ZIPA2.js → chunk-434YOD6A.js} +3 -3
  11. package/dist/bundle/{chunk-NCRSE647.js → chunk-5QYK3LWS.js} +57 -25
  12. package/dist/bundle/{chunk-WOX7FZJP.js → chunk-5ZYFV6FD.js} +82 -61
  13. package/dist/bundle/chunk-7GLJSJ7M.js +16 -0
  14. package/dist/bundle/{chunk-XBEO472U.js → chunk-A6BPOX5O.js} +11804 -10024
  15. package/dist/bundle/{chunk-VVL4MKYH.js → chunk-ADKMBXY4.js} +1 -1
  16. package/dist/bundle/{chunk-PRQ2U7HF.js → chunk-B7SWTH5O.js} +2 -2
  17. package/dist/bundle/{chunk-64ZG5ERD.js → chunk-BC7PFQL7.js} +2 -2
  18. package/dist/bundle/{chunk-Q6K2XUGU.js → chunk-CBYBZCQP.js} +1 -1
  19. package/dist/bundle/{chunk-ZO4MQWIK.js → chunk-CIWWNBVW.js} +7 -7
  20. package/dist/bundle/{chunk-Q4OKEN3B.js → chunk-DIA56CS7.js} +7 -6
  21. package/dist/bundle/{chunk-QI3PXUOJ.js → chunk-EXVY76VO.js} +36 -30
  22. package/dist/bundle/{chunk-RNZKQMFY.js → chunk-FZZD4AFY.js} +11 -11
  23. package/dist/bundle/{chunk-5X3GU5LI.js → chunk-G5LHHAW2.js} +5 -5
  24. package/dist/bundle/{chunk-YI544LHI.js → chunk-GJRYZXBN.js} +8 -8
  25. package/dist/bundle/{chunk-NSIN5IM4.js → chunk-GY4XCLCO.js} +9 -14
  26. package/dist/bundle/{chunk-IRUN4XOV.js → chunk-HEIDAHRC.js} +2 -2
  27. package/dist/bundle/{chunk-4QNHAM3J.js → chunk-HEYVMAAQ.js} +1 -1
  28. package/dist/bundle/{chunk-RLQZFZLK.js → chunk-HJSJBNCJ.js} +61 -6
  29. package/dist/bundle/{chunk-H5FJTHVA.js → chunk-HLXVUMZJ.js} +2 -2
  30. package/dist/bundle/{chunk-DW3F6DUW.js → chunk-IACWKZWS.js} +1 -1
  31. package/dist/bundle/{chunk-JOQGJUFT.js → chunk-IXO4SCKE.js} +1 -1
  32. package/dist/bundle/{chunk-X7J3TTDO.js → chunk-IZOYW4Z4.js} +24 -0
  33. package/dist/bundle/{chunk-6PWCQKMD.js → chunk-J4OYK4WL.js} +13 -13
  34. package/dist/bundle/{chunk-ZR2BDNGG.js → chunk-JG4MNYG2.js} +1 -1
  35. package/dist/bundle/{chunk-JMLIKXFO.js → chunk-K2OGF7KC.js} +1 -1
  36. package/dist/bundle/chunk-K6HR6HCO.js +32 -0
  37. package/dist/bundle/{chunk-FKWUUCX2.js → chunk-KFB2X6KE.js} +385 -178
  38. package/dist/bundle/{chunk-3FD3IATT.js → chunk-KK4HD3SI.js} +5 -5
  39. package/dist/bundle/{chunk-HBZAJINU.js → chunk-L4QVOEOB.js} +2 -2
  40. package/dist/bundle/chunk-LGZPKKBN.js +53 -0
  41. package/dist/bundle/{chunk-O373QEAJ.js → chunk-MBFPFWCO.js} +25 -25
  42. package/dist/bundle/{chunk-SWKQ6IAR.js → chunk-MWGH3M46.js} +2 -2
  43. package/dist/bundle/{chunk-C5BMCLCQ.js → chunk-ND5H5ADM.js} +3 -3
  44. package/dist/bundle/{chunk-EKGRNFYQ.js → chunk-NMZQTYKJ.js} +1 -1
  45. package/dist/bundle/{chunk-RUASZW3M.js → chunk-OLKCJBZY.js} +4 -4
  46. package/dist/bundle/{chunk-MTO6YVMN.js → chunk-OLLIWNFG.js} +3 -3
  47. package/dist/bundle/{chunk-X47BL4M5.js → chunk-P6GXNT7Z.js} +12 -12
  48. package/dist/bundle/{chunk-YBQ5AYLZ.js → chunk-PGC5TRH6.js} +3 -3
  49. package/dist/bundle/{chunk-RN7OI5KL.js → chunk-PHHH2NQP.js} +14 -8
  50. package/dist/bundle/{chunk-KGOVFEWZ.js → chunk-PP3YOAWG.js} +2 -2
  51. package/dist/bundle/{chunk-YA45XV6G.js → chunk-PQMJ5BXH.js} +4 -4
  52. package/dist/bundle/{chunk-NWKKPDZV.js → chunk-QB3DP2TN.js} +1 -1
  53. package/dist/bundle/{chunk-BFQQV22T.js → chunk-QQUY4MZY.js} +1 -1
  54. package/dist/bundle/{chunk-VNKWSCN7.js → chunk-S2QRAKQI.js} +16 -16
  55. package/dist/bundle/{chunk-6VV7J2TN.js → chunk-SMTBV62X.js} +31 -26
  56. package/dist/bundle/{chunk-A6J4MPTI.js → chunk-T27IMG6X.js} +1 -1
  57. package/dist/bundle/{chunk-FNLUKODV.js → chunk-TY644DKQ.js} +1 -1
  58. package/dist/bundle/{chunk-3KSK5BBB.js → chunk-U6IQ6YQ2.js} +1 -1
  59. package/dist/bundle/{chunk-PT6MF2VU.js → chunk-VFU7PVPQ.js} +336 -106
  60. package/dist/bundle/{chunk-QVMOEB3I.js → chunk-VL6H2BND.js} +13 -13
  61. package/dist/bundle/{chunk-OQW6GHUA.js → chunk-WOAYHCM2.js} +1 -1
  62. package/dist/bundle/{chunk-TLEBSMC7.js → chunk-WX6OYVCH.js} +3968 -3527
  63. package/dist/bundle/{chunk-C3NYJW6B.js → chunk-XMDEM6BZ.js} +631 -79
  64. package/dist/bundle/{chunk-AUTX2MLF.js → chunk-XQYKIZMG.js} +11 -9
  65. package/dist/bundle/{chunk-KV4VTKF3.js → chunk-YNS2YVUR.js} +68 -5
  66. package/dist/bundle/{chunk-JWMLMAHP.js → chunk-Z5T6OW3V.js} +13 -4
  67. package/dist/bundle/command-contract-XSW2Q33S.js +36 -0
  68. package/dist/bundle/{command-server-entry-5E3PPDE5.js → command-server-entry-XMSSY5ID.js} +23 -22
  69. package/dist/bundle/{decode-AVWV7SVZ.js → decode-RYGB4PGT.js} +4 -4
  70. package/dist/bundle/{dispatch-BXPHSNK5.js → dispatch-PLQOIZG5.js} +1 -1
  71. package/dist/bundle/{dist-PIOOKBWT.js → dist-GY2AQETI.js} +23 -16
  72. package/dist/bundle/{echarts-7K6YQV52.js → echarts-7CM2MCMW.js} +2 -2
  73. package/dist/bundle/{embed-4NT76GJK.js → embed-FTBDPOPT.js} +5 -5
  74. package/dist/bundle/{embedder-ITQFF7EN.js → embedder-B43WGNBD.js} +8 -8
  75. package/dist/bundle/{failure-3Q65JOPD.js → failure-XP5QYV2T.js} +1 -1
  76. package/dist/bundle/{first-run-PM74YU4X.js → first-run-XIIUARNM.js} +9 -8
  77. package/dist/bundle/first-screen-Z7HC6PQU.js +34 -0
  78. package/dist/bundle/{instructions-JDSITYHV.js → instructions-R7OHVAWH.js} +1 -1
  79. package/dist/bundle/mail.js +5 -5
  80. package/dist/bundle/{node-D6YIJOJI.js → node-3N2JGZ7V.js} +2 -2
  81. package/dist/bundle/{node-sqlite-PJOHHB4X.js → node-sqlite-WFJXW3CZ.js} +9 -5
  82. package/dist/bundle/{oauth-BOWJ3IBT.js → oauth-SVJLQTWV.js} +6 -6
  83. package/dist/bundle/{open-FIAKKZMW.js → open-ZDONVKSX.js} +4 -4
  84. package/dist/bundle/{openai-QL54VVLC.js → openai-XVEW6XOU.js} +17 -13
  85. package/dist/bundle/{process-AYHK7WRC.js → process-YAHHUFR5.js} +1 -1
  86. package/dist/bundle/{program-6FKWOTBK.js → program-HU2UVMJE.js} +5742 -5008
  87. package/dist/bundle/{prompt-XJZCBELC.js → prompt-JAJ2CUJI.js} +4 -4
  88. package/dist/bundle/{recognize-OQKWAHBY.js → recognize-UFBWUNFR.js} +3 -3
  89. package/dist/bundle/{remote-NLVUZ5WK.js → remote-2GFOVLCR.js} +8 -6
  90. package/dist/bundle/{rerank-NRPZDTJ7.js → rerank-BGPSMXTL.js} +6 -6
  91. package/dist/bundle/{serve-O4YUI7F6.js → serve-CB3XJTH3.js} +8 -8
  92. package/dist/bundle/server-34GEF22R.js +68 -0
  93. package/dist/bundle/{server-WAL3M4OO.js → server-M7FQY7TX.js} +38 -36
  94. package/dist/bundle/{sqlite-runtime-5YHGI4D4.js → sqlite-runtime-AEV6PGDR.js} +5 -5
  95. package/dist/bundle/{state-WYYOJ7KK.js → state-YLBEQLBI.js} +5 -5
  96. package/dist/bundle/{store-6BJO3F2J.js → store-CDUL3HKK.js} +17 -14
  97. package/dist/bundle/{store-X72GOJHD.js → store-EKWKY6GG.js} +22 -17
  98. package/dist/bundle/store-maintenance-command-XH2JUM5F.js +58 -0
  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-B72343TK.js +0 -35
  103. package/dist/bundle/command-contract-ERYYPAD2.js +0 -35
  104. package/dist/bundle/first-screen-WBVGVSMY.js +0 -33
  105. package/dist/bundle/server-6OT5ZEWL.js +0 -66
  106. package/dist/bundle/store-maintenance-command-ASS7RBYC.js +0 -54
package/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.25.0 — 13.11.2026
6
+
7
+ ### Changed — may break callers
8
+
9
+ - **Built on cli-core 0.647.0** (was 0.630.0). The store moves to a newer version on first open (additive). Lists
10
+ read from cli-core are `ListResult`s, `doctor reports show` and `doctor reports create` write a problem report to
11
+ send, and a `crm.<provider>:<account>.activities` setting is offered. What changed in between is in
12
+ [cli-core's changelog](https://github.com/WireCatLabs/cli-core/blob/main/CHANGELOG.md).
13
+ - **Model calls stay on this computer when you ask.** With the local-only switch on (`memo models local-only set on`),
14
+ every model call cli-core makes for mail, remote embeddings included, refuses an address that is not this computer
15
+ before anything is sent. Plain `http://` is now accepted only to this computer, so records never cross the network
16
+ unencrypted; use https or run the model locally.
17
+
5
18
  ## 0.24.0 — 10.11.2026
6
19
 
7
20
  ### Changed — may break callers
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.24.0\n")
12
+ process.stdout.write("0.25.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-VS7P6DJY.js","../bundle/anthropic-C5JXKGBS.js","../bundle/app-server-HU3LVU42.js","../bundle/bun-QLFX47WZ.js","../bundle/bun-sqlite-W4PGAKVY.js","../bundle/decode-AVWV7SVZ.js","../bundle/dispatch-BXPHSNK5.js","../bundle/dist-HFUVURJG.js","../bundle/dist-PIOOKBWT.js","../bundle/echarts-7K6YQV52.js","../bundle/embed-4NT76GJK.js","../bundle/embedder-ITQFF7EN.js","../bundle/failure-3Q65JOPD.js","../bundle/first-screen-WBVGVSMY.js","../bundle/instructions-JDSITYHV.js","../bundle/mcp-7KQUJNFN.js","../bundle/node-D6YIJOJI.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-PJOHHB4X.js","../bundle/oauth-BOWJ3IBT.js","../bundle/open-FIAKKZMW.js","../bundle/openai-QL54VVLC.js","../bundle/process-AYHK7WRC.js","../bundle/program-6FKWOTBK.js","../bundle/prompt-XJZCBELC.js","../bundle/recognize-OQKWAHBY.js","../bundle/remote-NLVUZ5WK.js","../bundle/rerank-NRPZDTJ7.js","../bundle/serve-O4YUI7F6.js","../bundle/server-6OT5ZEWL.js","../bundle/server-WAL3M4OO.js","../bundle/sqlite-runtime-5YHGI4D4.js","../bundle/state-WYYOJ7KK.js","../bundle/store-6BJO3F2J.js","../bundle/store-X72GOJHD.js","../bundle/store-maintenance-command-ASS7RBYC.js"]
31
+ const chunks = ["../bundle/all-profiles-QEV2PSOR.js","../bundle/anthropic-5NKQXIHM.js","../bundle/app-server-G2CJNT4R.js","../bundle/bun-6HBYWQIX.js","../bundle/bun-sqlite-DXIQ7BVR.js","../bundle/decode-RYGB4PGT.js","../bundle/dispatch-PLQOIZG5.js","../bundle/dist-GY2AQETI.js","../bundle/dist-HFUVURJG.js","../bundle/echarts-7CM2MCMW.js","../bundle/embed-FTBDPOPT.js","../bundle/embedder-B43WGNBD.js","../bundle/failure-XP5QYV2T.js","../bundle/first-screen-Z7HC6PQU.js","../bundle/instructions-R7OHVAWH.js","../bundle/mcp-7KQUJNFN.js","../bundle/node-3N2JGZ7V.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-WFJXW3CZ.js","../bundle/oauth-SVJLQTWV.js","../bundle/open-ZDONVKSX.js","../bundle/openai-XVEW6XOU.js","../bundle/process-YAHHUFR5.js","../bundle/program-HU2UVMJE.js","../bundle/prompt-JAJ2CUJI.js","../bundle/recognize-UFBWUNFR.js","../bundle/remote-2GFOVLCR.js","../bundle/rerank-BGPSMXTL.js","../bundle/serve-CB3XJTH3.js","../bundle/server-34GEF22R.js","../bundle/server-M7FQY7TX.js","../bundle/sqlite-runtime-AEV6PGDR.js","../bundle/state-YLBEQLBI.js","../bundle/store-CDUL3HKK.js","../bundle/store-EKWKY6GG.js","../bundle/store-maintenance-command-XH2JUM5F.js"]
32
32
  if (((words) => words
33
33
  .filter((word) => !word.startsWith("-"))
34
34
  .slice(0, 2)
@@ -2,30 +2,30 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answeredWire
5
- } from "./chunk-BFQQV22T.js";
5
+ } from "./chunk-QQUY4MZY.js";
6
6
  import {
7
7
  CALLER_META_KEY,
8
8
  PROXY_CLIENT_NAME,
9
9
  StdioServerTransport,
10
10
  callerOf,
11
11
  serveStdio
12
- } from "./chunk-H5FJTHVA.js";
12
+ } from "./chunk-HLXVUMZJ.js";
13
13
  import {
14
14
  McpServer
15
15
  } from "./chunk-5D4AEUVA.js";
16
- import "./chunk-AUTX2MLF.js";
17
- import "./chunk-3KSK5BBB.js";
18
- import "./chunk-Q6K2XUGU.js";
16
+ import "./chunk-XQYKIZMG.js";
17
+ import "./chunk-U6IQ6YQ2.js";
18
+ import "./chunk-CBYBZCQP.js";
19
19
  import "./chunk-YVNHQFLC.js";
20
- import "./chunk-FNLUKODV.js";
21
- import "./chunk-X7J3TTDO.js";
20
+ import "./chunk-TY644DKQ.js";
21
+ import "./chunk-IZOYW4Z4.js";
22
22
  import "./chunk-Y5E2WNWB.js";
23
23
  import "./chunk-VUBZFMGP.js";
24
24
  import {
25
25
  __name
26
26
  } from "./chunk-ZVVMGPBJ.js";
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
29
29
  import { spawn } from "node:child_process";
30
30
  import { randomUUID } from "node:crypto";
31
31
  var PROTOCOL = "2025-06-18";
@@ -259,7 +259,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
259
259
  }, "serveAllProfilesOverStdio");
260
260
  var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
261
261
  const { build, close } = allProfilesServer(options);
262
- const { serveOverHttp } = await import("./serve-O4YUI7F6.js");
262
+ const { serveOverHttp } = await import("./serve-CB3XJTH3.js");
263
263
  const listening = await serveOverHttp(build, {
264
264
  ...http,
265
265
  appName: options.command,
@@ -4,11 +4,12 @@ import {
4
4
  Anthropic
5
5
  } from "./chunk-XQUUANA2.js";
6
6
  import {
7
+ EmptyAnswer,
7
8
  checkedOptions,
8
9
  messagesFor,
9
10
  systemFor
10
- } from "./chunk-JWMLMAHP.js";
11
- import "./chunk-FNLUKODV.js";
11
+ } from "./chunk-Z5T6OW3V.js";
12
+ import "./chunk-TY644DKQ.js";
12
13
  import {
13
14
  array,
14
15
  literal,
@@ -18,14 +19,14 @@ import {
18
19
  strictObject,
19
20
  string,
20
21
  unknown
21
- } from "./chunk-X7J3TTDO.js";
22
+ } from "./chunk-IZOYW4Z4.js";
22
23
  import "./chunk-Y5E2WNWB.js";
23
24
  import "./chunk-VUBZFMGP.js";
24
25
  import {
25
26
  __name
26
27
  } from "./chunk-ZVVMGPBJ.js";
27
28
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/models/anthropic.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/models/anthropic.js
29
30
  var options = strictObject({
30
31
  stop_sequences: optional(array(string())),
31
32
  thinking: optional(strictObject({ type: picklist(["disabled", "adaptive"]) })),
@@ -57,10 +58,13 @@ var anthropic = {
57
58
  ...request.images === void 0 ? [] : [
58
59
  {
59
60
  role: "user",
60
- content: request.images.map((image) => ({
61
- type: "image",
62
- source: { type: "base64", media_type: image.mimeType, data: image.data }
63
- }))
61
+ content: [
62
+ { type: "text", text: request.prompt },
63
+ ...request.images.map((image) => ({
64
+ type: "image",
65
+ source: { type: "base64", media_type: image.mimeType, data: image.data }
66
+ }))
67
+ ]
64
68
  }
65
69
  ]
66
70
  ],
@@ -68,8 +72,11 @@ var anthropic = {
68
72
  }).finalMessage();
69
73
  if (response.stop_reason !== "end_turn")
70
74
  throw new Error("incomplete response");
75
+ const text = response.content.filter((block) => block.type === "text").map((block) => block.text).join("");
76
+ if (text.trim() === "")
77
+ throw new EmptyAnswer();
71
78
  return {
72
- text: response.content.filter((block) => block.type === "text").map((block) => block.text).join(""),
79
+ text,
73
80
  usage: {
74
81
  input: response.usage.input_tokens + (response.usage.cache_creation_input_tokens ?? 0) + (response.usage.cache_read_input_tokens ?? 0),
75
82
  output: response.usage.output_tokens
@@ -3,47 +3,47 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-5NLHDK7P.js";
6
+ } from "./chunk-3XVR2ROR.js";
7
7
  import {
8
8
  mcpUrlOf
9
- } from "./chunk-6VV7J2TN.js";
10
- import "./chunk-EKGRNFYQ.js";
9
+ } from "./chunk-SMTBV62X.js";
10
+ import "./chunk-NMZQTYKJ.js";
11
11
  import {
12
12
  answered,
13
13
  failed,
14
14
  registerCommands,
15
15
  runCommandForAgent,
16
16
  toolsFromCommands
17
- } from "./chunk-NCRSE647.js";
17
+ } from "./chunk-5QYK3LWS.js";
18
18
  import {
19
19
  agentJson,
20
20
  skillResource
21
- } from "./chunk-RNZKQMFY.js";
22
- import "./chunk-RLQZFZLK.js";
21
+ } from "./chunk-FZZD4AFY.js";
22
+ import "./chunk-HJSJBNCJ.js";
23
23
  import {
24
24
  appInstructions
25
- } from "./chunk-OQW6GHUA.js";
25
+ } from "./chunk-WOAYHCM2.js";
26
26
  import {
27
27
  answeredWire
28
- } from "./chunk-BFQQV22T.js";
28
+ } from "./chunk-QQUY4MZY.js";
29
29
  import {
30
30
  StdioServerTransport,
31
31
  serveStdio
32
- } from "./chunk-H5FJTHVA.js";
32
+ } from "./chunk-HLXVUMZJ.js";
33
33
  import {
34
34
  McpServer
35
35
  } from "./chunk-5D4AEUVA.js";
36
36
  import {
37
37
  mcpHttpMarker
38
- } from "./chunk-YA45XV6G.js";
39
- import "./chunk-QI3PXUOJ.js";
40
- import "./chunk-TLEBSMC7.js";
41
- import "./chunk-X47BL4M5.js";
42
- import "./chunk-YI544LHI.js";
43
- import "./chunk-JWMLMAHP.js";
44
- import "./chunk-YBQ5AYLZ.js";
45
- import "./chunk-NWKKPDZV.js";
46
- import "./chunk-RUASZW3M.js";
38
+ } from "./chunk-PQMJ5BXH.js";
39
+ import "./chunk-EXVY76VO.js";
40
+ import "./chunk-WX6OYVCH.js";
41
+ import "./chunk-P6GXNT7Z.js";
42
+ import "./chunk-GJRYZXBN.js";
43
+ import "./chunk-Z5T6OW3V.js";
44
+ import "./chunk-PGC5TRH6.js";
45
+ import "./chunk-QB3DP2TN.js";
46
+ import "./chunk-OLKCJBZY.js";
47
47
  import {
48
48
  DEFAULT_OUTPUT_BYTES,
49
49
  changesAuthorityAt,
@@ -53,47 +53,56 @@ import {
53
53
  readOnlyLockOf,
54
54
  readsOverMcpAt,
55
55
  rootOf2 as rootOf
56
- } from "./chunk-FKWUUCX2.js";
57
- import "./chunk-Q4OKEN3B.js";
58
- import "./chunk-AUTX2MLF.js";
59
- import "./chunk-DW3F6DUW.js";
60
- import "./chunk-HBZAJINU.js";
56
+ } from "./chunk-KFB2X6KE.js";
57
+ import "./chunk-DIA56CS7.js";
58
+ import "./chunk-XQYKIZMG.js";
59
+ import "./chunk-IACWKZWS.js";
60
+ import "./chunk-L4QVOEOB.js";
61
61
  import "./chunk-MCPOZNWG.js";
62
- import "./chunk-SWKQ6IAR.js";
63
- import "./chunk-VNKWSCN7.js";
64
- import "./chunk-MTO6YVMN.js";
65
- import "./chunk-XBEO472U.js";
66
- import "./chunk-C3NYJW6B.js";
67
- import "./chunk-O373QEAJ.js";
68
- import "./chunk-WOX7FZJP.js";
69
- import "./chunk-3KSK5BBB.js";
70
- import "./chunk-Q6K2XUGU.js";
71
- import "./chunk-NSIN5IM4.js";
72
- import "./chunk-3FD3IATT.js";
73
- import "./chunk-KV4VTKF3.js";
74
- import "./chunk-5X3GU5LI.js";
75
- import "./chunk-TI7ZIPA2.js";
76
- import "./chunk-B72343TK.js";
62
+ import "./chunk-MWGH3M46.js";
63
+ import "./chunk-S2QRAKQI.js";
64
+ import "./chunk-OLLIWNFG.js";
65
+ import "./chunk-A6BPOX5O.js";
66
+ import "./chunk-XMDEM6BZ.js";
67
+ import "./chunk-MBFPFWCO.js";
68
+ import "./chunk-5ZYFV6FD.js";
69
+ import "./chunk-U6IQ6YQ2.js";
70
+ import "./chunk-CBYBZCQP.js";
71
+ import "./chunk-GY4XCLCO.js";
72
+ import "./chunk-7GLJSJ7M.js";
73
+ import "./chunk-YNS2YVUR.js";
74
+ import "./chunk-K6HR6HCO.js";
75
+ import "./chunk-KK4HD3SI.js";
76
+ import "./chunk-G5LHHAW2.js";
77
+ import "./chunk-434YOD6A.js";
77
78
  import "./chunk-RX5CJ55S.js";
78
79
  import "./chunk-YVNHQFLC.js";
79
80
  import "./chunk-D72URWJE.js";
80
- import "./chunk-U6MMQNNK.js";
81
- import "./chunk-A6J4MPTI.js";
82
- import "./chunk-FNLUKODV.js";
81
+ import "./chunk-LGZPKKBN.js";
82
+ import "./chunk-37F6QYTO.js";
83
+ import "./chunk-T27IMG6X.js";
84
+ import "./chunk-TY644DKQ.js";
83
85
  import {
84
86
  mcpErrorResult
85
- } from "./chunk-X7J3TTDO.js";
87
+ } from "./chunk-IZOYW4Z4.js";
86
88
  import "./chunk-Y5E2WNWB.js";
87
89
  import {
88
90
  CliError
89
91
  } from "./chunk-VUBZFMGP.js";
90
- import "./chunk-JOQGJUFT.js";
92
+ import "./chunk-IXO4SCKE.js";
91
93
  import {
92
94
  __name
93
95
  } from "./chunk-ZVVMGPBJ.js";
94
96
 
95
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
97
+ // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
96
98
  var EXCLUDED = [["mcp"]];
99
+ var aliasesOf = /* @__PURE__ */ __name((root, path) => {
100
+ let at = root;
101
+ for (const name of path)
102
+ at = at?.commands.find((child) => child.name() === name);
103
+ const aliases = at?.aliases() ?? [];
104
+ return aliases.length > 0 ? { aliases } : {};
105
+ }, "aliasesOf");
97
106
  var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
98
107
  const { app } = options;
99
108
  const root = rootOf(command);
@@ -130,6 +139,8 @@ var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
130
139
  {
131
140
  title: one.title,
132
141
  description: one.description,
142
+ ...one.keywords ? { keywords: one.keywords } : {},
143
+ ...aliasesOf(root, one.path),
133
144
  writes: one.writes,
134
145
  availability: availability(one),
135
146
  input: one.input,
@@ -210,7 +221,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
210
221
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
211
222
  const { app } = options;
212
223
  const { build } = createAppServer(command, context, options);
213
- const { serveOverHttp } = await import("./serve-O4YUI7F6.js");
224
+ const { serveOverHttp } = await import("./serve-CB3XJTH3.js");
214
225
  const listening = await serveOverHttp(build, {
215
226
  ...http,
216
227
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-JOQGJUFT.js";
21
+ } from "./chunk-IXO4SCKE.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/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,9 +3,12 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-JMLIKXFO.js";
7
- import "./chunk-FNLUKODV.js";
8
- import "./chunk-X7J3TTDO.js";
6
+ } from "./chunk-K2OGF7KC.js";
7
+ import {
8
+ refuseOwnerStoreInTests
9
+ } from "./chunk-LGZPKKBN.js";
10
+ import "./chunk-TY644DKQ.js";
11
+ import "./chunk-IZOYW4Z4.js";
9
12
  import {
10
13
  importFrom
11
14
  } from "./chunk-Y5E2WNWB.js";
@@ -14,7 +17,7 @@ import {
14
17
  __name
15
18
  } from "./chunk-ZVVMGPBJ.js";
16
19
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
18
21
  var customised = false;
19
22
  var ownLibrary = /* @__PURE__ */ __name(async () => {
20
23
  try {
@@ -37,6 +40,7 @@ var bunDatabase = /* @__PURE__ */ __name(async () => {
37
40
  }, "bunDatabase");
38
41
  var openWithBunSqlite = /* @__PURE__ */ __name(async (path) => cacheOverBunSqlite(await bunClient(path)), "openWithBunSqlite");
39
42
  var bunClient = /* @__PURE__ */ __name(async (path, options) => {
43
+ refuseOwnerStoreInTests(path);
40
44
  const Database = await bunDatabase();
41
45
  const extension = await vectorExtension();
42
46
  const client = options ? new Database(path, options) : new Database(path);
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PRAGMAS
5
- } from "./chunk-A6J4MPTI.js";
5
+ } from "./chunk-T27IMG6X.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-VUBZFMGP.js";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/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.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/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-W4PGAKVY.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-DXIQ7BVR.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-PJOHHB4X.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-WFJXW3CZ.js");
53
53
  return openWithNodeSqlite(path);
54
54
  }, "openUnderNode");
55
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -12,10 +12,10 @@ import {
12
12
  refuseWriteBeforeConnecting,
13
13
  registerPrompts,
14
14
  syncsFirst
15
- } from "./chunk-6VV7J2TN.js";
15
+ } from "./chunk-SMTBV62X.js";
16
16
  import {
17
17
  stdinFieldOf
18
- } from "./chunk-EKGRNFYQ.js";
18
+ } from "./chunk-NMZQTYKJ.js";
19
19
  import {
20
20
  BinaryResource,
21
21
  Picture,
@@ -36,33 +36,33 @@ import {
36
36
  tool,
37
37
  toolKey,
38
38
  toolsFromCommands
39
- } from "./chunk-NCRSE647.js";
39
+ } from "./chunk-5QYK3LWS.js";
40
40
  import {
41
41
  agentJson,
42
42
  skillResource
43
- } from "./chunk-RNZKQMFY.js";
43
+ } from "./chunk-FZZD4AFY.js";
44
44
  import {
45
45
  instructions
46
- } from "./chunk-OQW6GHUA.js";
46
+ } from "./chunk-WOAYHCM2.js";
47
47
  import {
48
48
  answeredWire
49
- } from "./chunk-BFQQV22T.js";
49
+ } from "./chunk-QQUY4MZY.js";
50
50
  import {
51
51
  StdioServerTransport,
52
52
  callerOf,
53
53
  callingAgent,
54
54
  serveStdio
55
- } from "./chunk-H5FJTHVA.js";
55
+ } from "./chunk-HLXVUMZJ.js";
56
56
  import {
57
57
  McpServer,
58
58
  ResourceTemplate
59
59
  } from "./chunk-5D4AEUVA.js";
60
60
  import {
61
61
  mcpHttpMarker
62
- } from "./chunk-YA45XV6G.js";
62
+ } from "./chunk-PQMJ5BXH.js";
63
63
  import {
64
64
  connectedFor
65
- } from "./chunk-QI3PXUOJ.js";
65
+ } from "./chunk-EXVY76VO.js";
66
66
  import {
67
67
  capability,
68
68
  dateWindow,
@@ -72,10 +72,10 @@ import {
72
72
  servicesFor,
73
73
  storedDeps,
74
74
  wholeList
75
- } from "./chunk-TLEBSMC7.js";
75
+ } from "./chunk-WX6OYVCH.js";
76
76
  import {
77
77
  findCommand
78
- } from "./chunk-RUASZW3M.js";
78
+ } from "./chunk-OLKCJBZY.js";
79
79
  import {
80
80
  DEFAULT_OUTPUT_BYTES,
81
81
  changesAuthorityAt,
@@ -89,30 +89,30 @@ import {
89
89
  rootOf2 as rootOf,
90
90
  sealed,
91
91
  snakeKeys
92
- } from "./chunk-FKWUUCX2.js";
92
+ } from "./chunk-KFB2X6KE.js";
93
93
  import {
94
94
  levelFor,
95
95
  readKeysForCommand
96
- } from "./chunk-Q4OKEN3B.js";
96
+ } from "./chunk-DIA56CS7.js";
97
97
  import {
98
98
  withCaller
99
- } from "./chunk-AUTX2MLF.js";
99
+ } from "./chunk-XQYKIZMG.js";
100
100
  import {
101
101
  openStore,
102
102
  pdfPreviewLimits
103
- } from "./chunk-XBEO472U.js";
103
+ } from "./chunk-A6BPOX5O.js";
104
104
  import {
105
105
  typedCommand
106
- } from "./chunk-O373QEAJ.js";
106
+ } from "./chunk-MBFPFWCO.js";
107
107
  import {
108
108
  timezoneOf
109
- } from "./chunk-WOX7FZJP.js";
109
+ } from "./chunk-5ZYFV6FD.js";
110
110
  import {
111
111
  isCliFailure
112
- } from "./chunk-3KSK5BBB.js";
112
+ } from "./chunk-U6IQ6YQ2.js";
113
113
  import {
114
114
  warmEmbedders
115
- } from "./chunk-5X3GU5LI.js";
115
+ } from "./chunk-G5LHHAW2.js";
116
116
  import {
117
117
  description,
118
118
  integer,
@@ -128,7 +128,7 @@ import {
128
128
  regex,
129
129
  strictObject,
130
130
  string
131
- } from "./chunk-X7J3TTDO.js";
131
+ } from "./chunk-IZOYW4Z4.js";
132
132
  import {
133
133
  CliError,
134
134
  visibleControls
@@ -137,10 +137,10 @@ import {
137
137
  __name
138
138
  } from "./chunk-ZVVMGPBJ.js";
139
139
 
140
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/mcp/server.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/server.js
141
141
  import { randomUUID } from "node:crypto";
142
142
 
143
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
143
+ // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
144
144
  var agentLog = /* @__PURE__ */ __name((open) => {
145
145
  let held;
146
146
  return {
@@ -159,7 +159,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
159
159
  };
160
160
  }, "agentLog");
161
161
 
162
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/mcp/resources.js
162
+ // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/resources.js
163
163
  var LISTED = 100;
164
164
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
165
165
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -197,7 +197,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
197
197
  });
198
198
  }, "registerResources");
199
199
 
200
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/mcp/session.js
200
+ // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/session.js
201
201
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
202
202
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
203
203
  var MessengerSession = class {
@@ -272,7 +272,7 @@ var MessengerSession = class {
272
272
  }
273
273
  };
274
274
 
275
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
275
+ // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
276
276
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
277
277
  const _command = messenger.app.command;
278
278
  return {
@@ -326,7 +326,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
326
326
  };
327
327
  }, "attachmentsTools");
328
328
 
329
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
329
+ // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
330
330
  var PHOTO_LIMIT = 512 * 1024;
331
331
  var IMAGE_TYPES = [
332
332
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -380,7 +380,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
380
380
  return new Uint8Array(Buffer.concat(chunks));
381
381
  }, "readUpTo");
382
382
 
383
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
383
+ // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
384
384
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
385
385
  stats_charts: tool({
386
386
  title: "A chart from a chat's statistics",
@@ -417,14 +417,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
417
417
  })
418
418
  }), "statsTools");
419
419
 
420
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/mcp/tools.js
420
+ // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/tools.js
421
421
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
422
422
  ...messagesPhotoTools(messenger),
423
423
  ...attachmentsTools(messenger),
424
424
  ...statsTools(messenger)
425
425
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
426
426
 
427
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/mcp/server.js
427
+ // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/server.js
428
428
  var PER_RUN = /* @__PURE__ */ new Set([
429
429
  "streams",
430
430
  "stdin",
@@ -748,7 +748,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
748
748
  }, "serveOverStdio");
749
749
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
750
750
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
751
- const { serveOverHttp } = await import("./serve-O4YUI7F6.js");
751
+ const { serveOverHttp } = await import("./serve-CB3XJTH3.js");
752
752
  const appName = messenger.app.command;
753
753
  const appEnvPrefix = messenger.app.envPrefix;
754
754
  const listening = await serveOverHttp(build, {
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  wirecatDirectory
5
- } from "./chunk-B72343TK.js";
5
+ } from "./chunk-LGZPKKBN.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-VUBZFMGP.js";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/speech/models.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/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.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/speech/install.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/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";