@wirecat/mail-cli 0.12.0 → 0.13.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 (110) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/bin/mail.js +6 -2
  3. package/dist/bundle/{all-profiles-OJPRIFKU.js → all-profiles-EEOMFTKE.js} +9 -9
  4. package/dist/bundle/{anthropic-3AXHD4WH.js → anthropic-FPSVNB3F.js} +6 -6
  5. package/dist/bundle/{app-server-V4KHCUGE.js → app-server-3T6UVR7B.js} +47 -45
  6. package/dist/bundle/{bun-ISYNUTQJ.js → bun-MSNAKMDK.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-FH3D4AXL.js → bun-sqlite-GIBBI5DV.js} +5 -5
  8. package/dist/bundle/{chunk-TTKNBUMT.js → chunk-2Y3RKROM.js} +13 -3
  9. package/dist/bundle/{chunk-UDJIC6YL.js → chunk-3BC2XSNX.js} +33 -28
  10. package/dist/bundle/{chunk-OHC4GVWV.js → chunk-3CBK26T2.js} +2 -2
  11. package/dist/bundle/{chunk-QB54TE52.js → chunk-3QEYHTCQ.js} +1 -1
  12. package/dist/bundle/{chunk-T3AGR4TI.js → chunk-5XTJUQZ5.js} +667 -160
  13. package/dist/bundle/{chunk-IG2WXKIT.js → chunk-6KDFUPBT.js} +8 -8
  14. package/dist/bundle/{chunk-GUFWLTOW.js → chunk-6O6CM2ML.js} +2 -2
  15. package/dist/bundle/{chunk-MDIRW3AT.js → chunk-72CGQMAZ.js} +2 -2
  16. package/dist/bundle/{chunk-FYMQPAE5.js → chunk-7CSK47S2.js} +4 -4
  17. package/dist/bundle/{chunk-IWHXM2S7.js → chunk-7D7AKYQ2.js} +625 -298
  18. package/dist/bundle/{chunk-XTIQFMZH.js → chunk-7FCPLSSM.js} +4 -4
  19. package/dist/bundle/{chunk-V6K2GX2Y.js → chunk-7L26RKOS.js} +17 -17
  20. package/dist/bundle/{chunk-G2WDY5XB.js → chunk-AXWTELO4.js} +2 -2
  21. package/dist/bundle/{chunk-N6P55LDU.js → chunk-BZBNBPCR.js} +10 -10
  22. package/dist/bundle/{chunk-4DPICEPQ.js → chunk-CCHHEMPM.js} +2 -2
  23. package/dist/bundle/{chunk-F3QDSQ7V.js → chunk-CJPEL2N5.js} +27 -26
  24. package/dist/bundle/{chunk-AO32MFDY.js → chunk-CSJYZEFR.js} +2 -2
  25. package/dist/bundle/{chunk-6UT3MXOB.js → chunk-EFA7FRFJ.js} +3 -3
  26. package/dist/bundle/{chunk-JIIEJLAX.js → chunk-EW3XTUPB.js} +4 -4
  27. package/dist/bundle/{chunk-SW5NVASW.js → chunk-FVZST7ZH.js} +9 -9
  28. package/dist/bundle/{chunk-X37KLD23.js → chunk-GIZILLRJ.js} +12 -12
  29. package/dist/bundle/{chunk-GFCNSU3B.js → chunk-GQGJV53E.js} +176 -47
  30. package/dist/bundle/{chunk-KJP2B65C.js → chunk-H3XWM2VA.js} +29 -28
  31. package/dist/bundle/{chunk-VEXXVLBM.js → chunk-H5XCD6OG.js} +3 -3
  32. package/dist/bundle/{chunk-L3PVAY3M.js → chunk-H6Y2A4JA.js} +2 -2
  33. package/dist/bundle/{chunk-K2F7YMMM.js → chunk-HANGU5HI.js} +8 -13
  34. package/dist/bundle/{chunk-HVVLSCFB.js → chunk-IGSHWMWC.js} +1 -1
  35. package/dist/bundle/{chunk-JNUKTAMZ.js → chunk-ILHTNOIV.js} +1 -1
  36. package/dist/bundle/{chunk-6LNRNQHJ.js → chunk-JBLZ5XQG.js} +6 -4
  37. package/dist/bundle/{chunk-IXYKM7OJ.js → chunk-JYZCISN7.js} +13 -13
  38. package/dist/bundle/{chunk-44LVUMS2.js → chunk-LO66SLGD.js} +1 -1
  39. package/dist/bundle/{chunk-NSDOYHIS.js → chunk-M7JREJFC.js} +8 -8
  40. package/dist/bundle/{chunk-2TTCKOQ7.js → chunk-MBWVZINS.js} +2 -2
  41. package/dist/bundle/{chunk-LXHLQ6RK.js → chunk-NHVOJHHD.js} +7 -9
  42. package/dist/bundle/{chunk-QPQSMJBW.js → chunk-OHDDGTCH.js} +10 -10
  43. package/dist/bundle/{chunk-GYNHU56E.js → chunk-OHFSAYZG.js} +4 -4
  44. package/dist/bundle/{chunk-TZGQPTZ2.js → chunk-PQLBPYJR.js} +1 -1
  45. package/dist/bundle/{chunk-PLPSFJO6.js → chunk-SOCALLW5.js} +6 -6
  46. package/dist/bundle/{chunk-LIQ5LICB.js → chunk-TBG3FRS6.js} +3 -3
  47. package/dist/bundle/{chunk-AJ4JS2ZR.js → chunk-UFWCJUGA.js} +8 -7
  48. package/dist/bundle/{chunk-4D52FA34.js → chunk-UGXTDYUY.js} +1 -1
  49. package/dist/bundle/{chunk-YDUES6ET.js → chunk-URC4ATBD.js} +4 -4
  50. package/dist/bundle/{chunk-SYBMOE6F.js → chunk-UUBAWUUI.js} +5526 -4503
  51. package/dist/bundle/chunk-V25TCQ3Z.js +34 -0
  52. package/dist/bundle/{chunk-PSXAC6OO.js → chunk-VD5UJUNR.js} +1 -1
  53. package/dist/bundle/{chunk-KVN4RY7E.js → chunk-VMLGER4M.js} +311 -139
  54. package/dist/bundle/{chunk-6QNPJSRM.js → chunk-VNBQHV5H.js} +6 -6
  55. package/dist/bundle/{chunk-YRZ23RCS.js → chunk-VNXCWZDW.js} +7 -7
  56. package/dist/bundle/{chunk-DN54W657.js → chunk-VSHQITKC.js} +4 -4
  57. package/dist/bundle/{chunk-4GPPRLIG.js → chunk-WBI7J5B7.js} +5 -5
  58. package/dist/bundle/{chunk-NBQQ2ZTF.js → chunk-XLCFCOT4.js} +14 -14
  59. package/dist/bundle/{chunk-WL7CYT7O.js → chunk-XPBRNJ2V.js} +1 -1
  60. package/dist/bundle/{chunk-S64N24ON.js → chunk-XV66LQXV.js} +3 -3
  61. package/dist/bundle/{chunk-JAWJZTFL.js → chunk-Y2O3DACO.js} +18 -18
  62. package/dist/bundle/{chunk-BYQ3Z6UL.js → chunk-YHSXNUFQ.js} +3 -3
  63. package/dist/bundle/{chunk-GAIVTJ3E.js → chunk-YMNF4QLY.js} +24 -23
  64. package/dist/bundle/{chunk-35Y3INBK.js → chunk-ZSS22YHM.js} +2 -2
  65. package/dist/bundle/{chunk-5TACUBRJ.js → chunk-ZXLJ5EKZ.js} +8 -8
  66. package/dist/bundle/command-contract-6QSZ5QHQ.js +33 -0
  67. package/dist/bundle/{decode-FM4C2WWG.js → decode-YRTMNHC6.js} +5 -5
  68. package/dist/bundle/{dispatch-K3HG4RYT.js → dispatch-BCS2RDF4.js} +8 -8
  69. package/dist/bundle/{dist-7LNVI7VB.js → dist-NOBSXRL2.js} +13 -13
  70. package/dist/bundle/{echarts-5C2A72XM.js → echarts-5UKZVIF6.js} +2 -2
  71. package/dist/bundle/{embed-N56P6YVY.js → embed-G62XY6BJ.js} +6 -6
  72. package/dist/bundle/{embedder-QLYKFLOL.js → embedder-SCHGLA74.js} +9 -9
  73. package/dist/bundle/{failure-5ZLVZTRU.js → failure-N5S6ZS62.js} +2 -2
  74. package/dist/bundle/{first-run-VMF4PJ7Q.js → first-run-DPF2BBQN.js} +11 -11
  75. package/dist/bundle/first-screen-4MRKF6RQ.js +31 -0
  76. package/dist/bundle/{instructions-QA5FHDOJ.js → instructions-7RP5OKLE.js} +1 -1
  77. package/dist/bundle/mail.js +12 -12
  78. package/dist/bundle/{mcp-LO2XDBBC.js → mcp-MNI62HHE.js} +2 -2
  79. package/dist/bundle/{node-OXJZWUYZ.js → node-ENCKD6SS.js} +2 -2
  80. package/dist/bundle/{node-sqlite-7GCEI67B.js → node-sqlite-4ICXMPYY.js} +11 -5
  81. package/dist/bundle/{oauth-VTPIYBTP.js → oauth-CX2WYMGN.js} +7 -7
  82. package/dist/bundle/{open-7XX3YF2X.js → open-HQZYHMVE.js} +5 -4
  83. package/dist/bundle/{openai-D3KRCXSY.js → openai-3ONJIA3F.js} +14 -14
  84. package/dist/bundle/{process-KFI7SXQD.js → process-OK3HRPMD.js} +1 -1
  85. package/dist/bundle/{program-4B25STRN.js → program-FLKUE6LL.js} +2125 -866
  86. package/dist/bundle/{prompt-TBZT3APW.js → prompt-ZWKUQ42Y.js} +5 -5
  87. package/dist/bundle/{recognize-WQSE5ZPL.js → recognize-PHDYO6DC.js} +4 -4
  88. package/dist/bundle/{remote-J5HHRNVQ.js → remote-4CX7GFMU.js} +7 -7
  89. package/dist/bundle/{rerank-DP2Y3WDT.js → rerank-ZCZTGXDQ.js} +7 -7
  90. package/dist/bundle/{serve-VXPOQDQO.js → serve-3LBS7CPR.js} +11 -10
  91. package/dist/bundle/{server-OSBNGA2F.js → server-2BKI2OQP.js} +38 -37
  92. package/dist/bundle/server-X5F7VD2E.js +63 -0
  93. package/dist/bundle/{sqlite-runtime-XY32WOIT.js → sqlite-runtime-J5T7SR5W.js} +6 -5
  94. package/dist/bundle/{state-KPOPMR6O.js → state-TIRNYVEL.js} +6 -6
  95. package/dist/bundle/{store-FWRGNGP3.js → store-F7ZXMIAP.js} +29 -18
  96. package/dist/bundle/{store-UBI2YCRC.js → store-NGE2E7KZ.js} +16 -13
  97. package/dist/bundle/store-maintenance-command-QZV76KAH.js +53 -0
  98. package/dist/commands/session.js +1 -1
  99. package/dist/commands/session.js.map +1 -1
  100. package/dist/commands/status.d.ts.map +1 -1
  101. package/dist/commands/status.js +12 -7
  102. package/dist/commands/status.js.map +1 -1
  103. package/dist/version.d.ts +1 -1
  104. package/dist/version.js +1 -1
  105. package/package.json +3 -3
  106. package/dist/bundle/command-contract-TW44FY47.js +0 -33
  107. package/dist/bundle/first-screen-ZN7ODW5K.js +0 -31
  108. package/dist/bundle/server-XHWSCXVX.js +0 -62
  109. package/dist/bundle/store-maintenance-command-3ZXPEIGF.js +0 -52
  110. /package/dist/bundle/{chunk-MRLSUCHT.js → chunk-NUN6OGOV.js} +0 -0
@@ -20,7 +20,7 @@ import {
20
20
  tool,
21
21
  toolKey,
22
22
  toolsFromCommands
23
- } from "./chunk-F3QDSQ7V.js";
23
+ } from "./chunk-CJPEL2N5.js";
24
24
  import {
25
25
  CHART_KINDS,
26
26
  CHART_SIZE,
@@ -34,23 +34,23 @@ import {
34
34
  registerPrompts,
35
35
  stdinFieldOf,
36
36
  syncsFirst
37
- } from "./chunk-UDJIC6YL.js";
37
+ } from "./chunk-3BC2XSNX.js";
38
38
  import {
39
39
  agentJson,
40
40
  skillResource
41
- } from "./chunk-NBQQ2ZTF.js";
41
+ } from "./chunk-XLCFCOT4.js";
42
42
  import {
43
43
  instructions
44
- } from "./chunk-HVVLSCFB.js";
44
+ } from "./chunk-IGSHWMWC.js";
45
45
  import {
46
46
  answeredWire
47
- } from "./chunk-4D52FA34.js";
47
+ } from "./chunk-UGXTDYUY.js";
48
48
  import {
49
49
  StdioServerTransport,
50
50
  callerOf,
51
51
  callingAgent,
52
52
  serveStdio
53
- } from "./chunk-G2WDY5XB.js";
53
+ } from "./chunk-AXWTELO4.js";
54
54
  import {
55
55
  McpServer,
56
56
  ResourceTemplate
@@ -58,7 +58,7 @@ import {
58
58
  import {
59
59
  connectedFor,
60
60
  guardFor
61
- } from "./chunk-GAIVTJ3E.js";
61
+ } from "./chunk-YMNF4QLY.js";
62
62
  import {
63
63
  capability,
64
64
  dateWindow,
@@ -67,10 +67,10 @@ import {
67
67
  servicesFor,
68
68
  storedDeps,
69
69
  wholeList
70
- } from "./chunk-SYBMOE6F.js";
70
+ } from "./chunk-UUBAWUUI.js";
71
71
  import {
72
72
  findCommand
73
- } from "./chunk-4GPPRLIG.js";
73
+ } from "./chunk-WBI7J5B7.js";
74
74
  import {
75
75
  DEFAULT_OUTPUT_BYTES,
76
76
  changesAuthorityAt,
@@ -85,28 +85,28 @@ import {
85
85
  sealed,
86
86
  snakeKeys,
87
87
  typedCommand
88
- } from "./chunk-T3AGR4TI.js";
88
+ } from "./chunk-5XTJUQZ5.js";
89
89
  import {
90
90
  levelFor,
91
91
  readKeysForCommand
92
- } from "./chunk-AJ4JS2ZR.js";
92
+ } from "./chunk-UFWCJUGA.js";
93
93
  import {
94
94
  isCliFailure,
95
95
  withCaller
96
- } from "./chunk-SW5NVASW.js";
96
+ } from "./chunk-FVZST7ZH.js";
97
97
  import {
98
98
  mcpHttpMarker
99
- } from "./chunk-GYNHU56E.js";
99
+ } from "./chunk-OHFSAYZG.js";
100
100
  import {
101
101
  warmEmbedders
102
- } from "./chunk-6QNPJSRM.js";
102
+ } from "./chunk-VNBQHV5H.js";
103
103
  import {
104
104
  openStore,
105
105
  pdfPreviewLimits
106
- } from "./chunk-IWHXM2S7.js";
106
+ } from "./chunk-7D7AKYQ2.js";
107
107
  import {
108
108
  timezoneOf
109
- } from "./chunk-KVN4RY7E.js";
109
+ } from "./chunk-VMLGER4M.js";
110
110
  import {
111
111
  description,
112
112
  integer,
@@ -122,19 +122,19 @@ import {
122
122
  regex,
123
123
  strictObject,
124
124
  string
125
- } from "./chunk-NSDOYHIS.js";
125
+ } from "./chunk-M7JREJFC.js";
126
126
  import {
127
127
  CliError,
128
128
  visibleControls
129
- } from "./chunk-4DPICEPQ.js";
129
+ } from "./chunk-CCHHEMPM.js";
130
130
  import {
131
131
  __name
132
132
  } from "./chunk-ZVVMGPBJ.js";
133
133
 
134
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/mcp/server.js
134
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/mcp/server.js
135
135
  import { randomUUID } from "node:crypto";
136
136
 
137
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
137
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
138
138
  var agentLog = /* @__PURE__ */ __name((open) => {
139
139
  let held;
140
140
  return {
@@ -153,7 +153,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
153
153
  };
154
154
  }, "agentLog");
155
155
 
156
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/mcp/resources.js
156
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/mcp/resources.js
157
157
  var LISTED = 100;
158
158
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
159
159
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -191,7 +191,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
191
191
  });
192
192
  }, "registerResources");
193
193
 
194
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/mcp/session.js
194
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/mcp/session.js
195
195
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
196
196
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
197
197
  var MessengerSession = class {
@@ -266,7 +266,7 @@ var MessengerSession = class {
266
266
  }
267
267
  };
268
268
 
269
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
269
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
270
270
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
271
271
  const _command = messenger.app.command;
272
272
  return {
@@ -320,7 +320,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
320
320
  };
321
321
  }, "attachmentsTools");
322
322
 
323
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
323
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
324
324
  var PHOTO_LIMIT = 512 * 1024;
325
325
  var IMAGE_TYPES = [
326
326
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -374,7 +374,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
374
374
  return new Uint8Array(Buffer.concat(chunks));
375
375
  }, "readUpTo");
376
376
 
377
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
377
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
378
378
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
379
379
  stats_charts: tool({
380
380
  title: "A chart from a chat's statistics",
@@ -411,14 +411,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
411
411
  })
412
412
  }), "statsTools");
413
413
 
414
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/mcp/tools.js
414
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/mcp/tools.js
415
415
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
416
416
  ...messagesPhotoTools(messenger),
417
417
  ...attachmentsTools(messenger),
418
418
  ...statsTools(messenger)
419
419
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
420
420
 
421
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/mcp/server.js
421
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/mcp/server.js
422
422
  var PER_RUN = /* @__PURE__ */ new Set([
423
423
  "streams",
424
424
  "stdin",
@@ -742,12 +742,13 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
742
742
  }, "serveOverStdio");
743
743
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
744
744
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
745
- const { serveOverHttp } = await import("./serve-VXPOQDQO.js");
745
+ const { serveOverHttp } = await import("./serve-3LBS7CPR.js");
746
746
  const appName = messenger.app.command;
747
747
  const appEnvPrefix = messenger.app.envPrefix;
748
748
  const listening = await serveOverHttp(build, {
749
749
  ...http,
750
750
  appName,
751
+ reaches: "your messages",
751
752
  // In the background its log is a file; the code goes only to the lock that `mcp server status` reads.
752
753
  onCode: /* @__PURE__ */ __name((code, expires) => context.renderer.note(context.env[mcpHttpMarker(appEnvPrefix)] === void 0 ? `login code for a new browser app: ${code} (until ${expires.toTimeString().slice(0, 5)}; a new one after each login)` : `a new login code for a browser app: \`${appName} ${context.settings.profile} mcp server status\``), "onCode"),
753
754
  onError: /* @__PURE__ */ __name((error) => context.renderer.note(`mcp: ${error.message}`), "onError")
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSharedSection,
5
5
  writeSharedSection
6
- } from "./chunk-PLPSFJO6.js";
6
+ } from "./chunk-SOCALLW5.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-4DPICEPQ.js";
9
+ } from "./chunk-CCHHEMPM.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/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";
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-4DPICEPQ.js";
5
+ } from "./chunk-CCHHEMPM.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
11
11
  var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
12
12
  var MAX_SECRET_INPUT = 64 * 1024;
13
13
  var policies = /* @__PURE__ */ new WeakMap();
@@ -1,20 +1,16 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ PRAGMAS
5
+ } from "./chunk-V25TCQ3Z.js";
3
6
  import {
4
7
  CliError
5
- } from "./chunk-4DPICEPQ.js";
8
+ } from "./chunk-CCHHEMPM.js";
6
9
  import {
7
10
  __name
8
11
  } from "./chunk-ZVVMGPBJ.js";
9
12
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/store/driver.js
11
- var PRAGMAS = `
12
- PRAGMA busy_timeout = 5000;
13
- PRAGMA journal_mode = WAL;
14
- PRAGMA foreign_keys = ON;
15
- `;
16
-
17
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
18
14
  var SQLITE_WARNING = "SQLite is an experimental feature";
19
15
  var quieted = /* @__PURE__ */ new WeakSet();
20
16
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -35,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
35
31
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
36
32
  }, "isSqliteWarning");
37
33
 
38
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/store/open.js
39
35
  var openCache = /* @__PURE__ */ __name(async (path) => {
40
36
  const database = await openFile(path);
41
37
  try {
@@ -48,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
48
44
  }, "openCache");
49
45
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
50
46
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
51
- const { openWithBunSqlite } = await import("./bun-sqlite-FH3D4AXL.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-GIBBI5DV.js");
52
48
  return await openWithBunSqlite(path);
53
49
  }, "openUnderBun");
54
50
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
55
51
  quietSqliteWarning();
56
- const { openWithNodeSqlite } = await import("./node-sqlite-7GCEI67B.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-4ICXMPYY.js");
57
53
  return openWithNodeSqlite(path);
58
54
  }, "openUnderNode");
59
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -90,7 +86,6 @@ var storeCapable = /* @__PURE__ */ __name(() => {
90
86
  }, "storeCapable");
91
87
 
92
88
  export {
93
- PRAGMAS,
94
89
  quietSqliteWarning,
95
90
  openCache,
96
91
  openFile,
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
8
8
  var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
9
9
  const all = typeof profile !== "string";
10
10
  const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
8
8
  var installerOf = /* @__PURE__ */ __name((scriptPath) => {
9
9
  const path = scriptPath.replaceAll("\\", "/");
10
10
  if (path.includes("/_npx/"))
@@ -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-MDIRW3AT.js";
5
+ } from "./chunk-72CGQMAZ.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-4DPICEPQ.js";
8
+ } from "./chunk-CCHHEMPM.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/speech/models.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/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");
@@ -20,6 +20,7 @@ var MODELS = [
20
20
  id: "gigaam-v3",
21
21
  title: "GigaAM v3, with punctuation",
22
22
  languages: "Russian \u2014 the best of the three for Russian",
23
+ language: "ru",
23
24
  featureDim: 64,
24
25
  files: [
25
26
  {
@@ -57,6 +58,7 @@ var MODELS = [
57
58
  id: "gigaam-v3-ctc",
58
59
  title: "GigaAM v3 CTC, with punctuation \u2014 a little faster",
59
60
  languages: "Russian \u2014 a little faster, rougher with capital letters",
61
+ language: "ru",
60
62
  featureDim: 64,
61
63
  files: [
62
64
  {
@@ -135,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
135
137
  return model;
136
138
  }, "speechModel");
137
139
 
138
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/speech/install.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/speech/install.js
139
141
  import { createHash, randomUUID } from "node:crypto";
140
142
  import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
141
143
  import { rename, rm } from "node:fs/promises";
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-4DPICEPQ.js";
5
+ } from "./chunk-CCHHEMPM.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
11
11
  import { constants } from "node:fs";
12
12
  import { lstat, open } from "node:fs/promises";
13
13
  var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
@@ -73,7 +73,7 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
73
73
  }
74
74
  }, "syncDirectory");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
77
77
  import { randomUUID } from "node:crypto";
78
78
  import { constants as constants2 } from "node:fs";
79
79
  import { link, open as open2, realpath, rename, unlink } from "node:fs/promises";
@@ -111,7 +111,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
111
111
  }
112
112
  }, "writeFileAtomic");
113
113
 
114
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
114
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
115
115
  var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
116
116
  if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
117
117
  throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
@@ -140,21 +140,21 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
140
140
  }
141
141
  }, "readBoundedUtf8File");
142
142
 
143
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/files/lock.js
143
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/files/lock.js
144
144
  import { mkdir as mkdir2 } from "node:fs/promises";
145
145
  import { basename as basename2, dirname as dirname2 } from "node:path";
146
146
 
147
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
147
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
148
148
  import { randomUUID as randomUUID2 } from "node:crypto";
149
149
  import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
150
150
  import { hostname as hostname2 } from "node:os";
151
151
  import { join as join3 } from "node:path";
152
152
 
153
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
153
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
154
154
  import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
155
155
  import { join as join2 } from "node:path";
156
156
 
157
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
157
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
158
158
  import { hostname } from "node:os";
159
159
  var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
160
160
  var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
@@ -199,7 +199,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
199
199
  }
200
200
  }, "leaseOwnerStatus");
201
201
 
202
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
202
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
203
203
  var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
204
204
  const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
205
205
  options.signal?.throwIfAborted();
@@ -258,7 +258,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
258
258
  return { inspect, recover };
259
259
  }, "leaseInspection");
260
260
 
261
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
261
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
262
262
  import { rmdir, unlink as unlink3 } from "node:fs/promises";
263
263
  var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
264
264
  let releasing;
@@ -283,7 +283,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
283
283
  };
284
284
  }, "ownedNativeLease");
285
285
 
286
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
286
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
287
287
  var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
288
288
  var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
289
289
  const { markerDirectory, legacyMarker } = layout;
@@ -354,7 +354,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
354
354
  };
355
355
  }, "nativeWriterLeaseStore");
356
356
 
357
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/files/lock.js
357
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/files/lock.js
358
358
  var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
359
359
  const folder = dirname2(path);
360
360
  await mkdir2(folder, { recursive: true, mode: 448 });
@@ -369,7 +369,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
369
369
  });
370
370
  }, "acquireLock");
371
371
 
372
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/files/safe-name.js
372
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/files/safe-name.js
373
373
  import { basename as basename3 } from "node:path";
374
374
  var safeName = /* @__PURE__ */ __name((name, platform = process.platform) => {
375
375
  let plain = name === void 0 ? "" : basename3(name.replaceAll("\\", "/")).replace(/[\p{Cc}​-‏‪-‮⁦-⁩]/gu, "").replace(/^\.+/, "");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/background/processes.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/background/processes.js
8
8
  import { execFileSync } from "node:child_process";
9
9
  import { readdirSync, readFileSync, readlinkSync } from "node:fs";
10
10
  var alive = /* @__PURE__ */ __name((pid) => {
@@ -4,12 +4,12 @@ import {
4
4
  errorCodes,
5
5
  isCliError,
6
6
  visibleControls
7
- } from "./chunk-4DPICEPQ.js";
7
+ } from "./chunk-CCHHEMPM.js";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-ZVVMGPBJ.js";
11
11
 
12
- // node_modules/.pnpm/@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
12
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
13
13
  var EXIT_CODES = {
14
14
  validation_error: 2,
15
15
  configuration_error: 3,
@@ -1245,7 +1245,7 @@ function unwrap(schema) {
1245
1245
  }
1246
1246
  __name(unwrap, "unwrap");
1247
1247
 
1248
- // node_modules/.pnpm/@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
1248
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
1249
1249
  var EFFECT_LEVELS = ["none", "read", "write"];
1250
1250
  var effectsSchema = strictObject({
1251
1251
  remote: picklist(EFFECT_LEVELS),
@@ -1882,7 +1882,7 @@ function toStandardJsonSchema(schema) {
1882
1882
  }
1883
1883
  __name(toStandardJsonSchema, "toStandardJsonSchema");
1884
1884
 
1885
- // node_modules/.pnpm/@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
1885
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
1886
1886
  var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
1887
1887
  var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
1888
1888
  var text = pipe(string(), regex(/\S/, "must not be empty"));
@@ -1924,7 +1924,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
1924
1924
  return String(value);
1925
1925
  }), "fill");
1926
1926
 
1927
- // node_modules/.pnpm/@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
1927
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
1928
1928
  var MAX_NEXT_STEPS = 2;
1929
1929
  var COMPACT_FLAG = "--compact";
1930
1930
  var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
@@ -2025,7 +2025,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
2025
2025
  JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
2026
2026
  ].join("\n"), "jsonlOf");
2027
2027
 
2028
- // node_modules/.pnpm/@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
2028
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
2029
2029
  var CRASH_CODE = "internal_error";
2030
2030
  var CRASH_REASON = "command.crashed";
2031
2031
  var errorObjectSchema = strictObject({
@@ -2112,7 +2112,7 @@ var BASE_REASONS = defineReasons([
2112
2112
  { reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
2113
2113
  ]);
2114
2114
 
2115
- // node_modules/.pnpm/@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
2115
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
2116
2116
  var SAME_COMMAND = "*";
2117
2117
  var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
2118
2118
  var stepSchema = union([
@@ -2191,7 +2191,7 @@ var STEPS = defineSteps([
2191
2191
  }
2192
2192
  ]);
2193
2193
 
2194
- // node_modules/.pnpm/@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
2194
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
2195
2195
  var recognise = /* @__PURE__ */ __name((failure) => {
2196
2196
  if (isCliError(failure))
2197
2197
  return failure;
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CAPABILITY_STATEMENTS,
5
5
  storeCapable
6
- } from "./chunk-K2F7YMMM.js";
6
+ } from "./chunk-HANGU5HI.js";
7
7
  import {
8
8
  importFrom
9
9
  } from "./chunk-Y5E2WNWB.js";
@@ -11,7 +11,7 @@ import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
15
15
  import { spawn, spawnSync } from "node:child_process";
16
16
  import { readFileSync } from "node:fs";
17
17
  import { dirname } from "node:path";
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-4DPICEPQ.js";
5
+ } from "./chunk-CCHHEMPM.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/tasks/model.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/tasks/model.js
11
11
  var TASK_KINDS = ["question", "request", "mention", "promise"];
12
12
  var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
13
13
  var CLOSED_STATES = ["done", "dismissed"];
@@ -22,7 +22,7 @@ function closeTask(task, state, by, at, reason) {
22
22
  }
23
23
  __name(closeTask, "closeTask");
24
24
 
25
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/tasks/priority.js
25
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/tasks/priority.js
26
26
  var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
27
27
  var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
28
28
  var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
@@ -51,7 +51,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
51
51
  }, "priorityOf");
52
52
  var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
53
53
 
54
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/tasks/service.js
54
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/tasks/service.js
55
55
  function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
56
56
  async function find(id) {
57
57
  const task = await store.get(id);
@@ -111,14 +111,13 @@ function median(values) {
111
111
  }
112
112
  __name(median, "median");
113
113
 
114
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/tasks/store.js
114
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/tasks/store.js
115
115
  function matches(task, filter) {
116
116
  return (filter.account === void 0 || task.account === filter.account) && (filter.state === void 0 || task.state === filter.state) && (filter.group === void 0 || task.group === filter.group) && (filter.kind === void 0 || task.kind === filter.kind) && (filter.createdBefore === void 0 || task.createdAt < filter.createdBefore);
117
117
  }
118
118
  __name(matches, "matches");
119
119
 
120
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
121
- var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
120
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
122
121
  var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
123
122
  var MEMORY_KINDS = ["summary", "digest", "preference"];
124
123
  var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
@@ -126,7 +125,7 @@ var MEMORY_SCOPES = ["personal", "work"];
126
125
  var WORK_TASK_TYPES = ["bug", "feature", "chore"];
127
126
  var TASK_TYPES = [...WORK_TASK_TYPES, ...TASK_KINDS];
128
127
 
129
- // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
128
+ // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
130
129
  var LINK_KINDS = [
131
130
  "links-to",
132
131
  "blocked-by",
@@ -163,7 +162,6 @@ export {
163
162
  priorityOption,
164
163
  createTaskService,
165
164
  matches,
166
- FACT_TYPES,
167
165
  FACT_STATUSES,
168
166
  MEMORY_KINDS,
169
167
  MEMORY_STATUSES,