@wirecat/mail-cli 0.27.0 → 0.29.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 (115) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-5XWH7TBM.js → all-profiles-Q4E2LPB4.js} +7 -7
  4. package/dist/bundle/{anthropic-QEQGUEPW.js → anthropic-S3N4JDJU.js} +2 -2
  5. package/dist/bundle/{app-server-YWDU56NR.js → app-server-E44CAPPI.js} +44 -44
  6. package/dist/bundle/{bun-PWMM6L45.js → bun-RDYA5FCZ.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-S4QD5YUO.js → bun-sqlite-FPVHKI24.js} +3 -3
  8. package/dist/bundle/{chunk-2FZMIJW7.js → chunk-2MTIGJHQ.js} +4 -4
  9. package/dist/bundle/{chunk-QQTSPQ2D.js → chunk-3AH7UEM6.js} +1 -1
  10. package/dist/bundle/{chunk-7BXOFLWJ.js → chunk-3RBUACSJ.js} +54 -54
  11. package/dist/bundle/{chunk-4VDWQKDI.js → chunk-44IAJV2T.js} +16 -16
  12. package/dist/bundle/{chunk-NZG6IRDW.js → chunk-45ET53MO.js} +2 -2
  13. package/dist/bundle/{chunk-XBL46B4V.js → chunk-5PDWUD3W.js} +1 -1
  14. package/dist/bundle/{chunk-APLVXHFG.js → chunk-5ZJ6IHVE.js} +1 -1
  15. package/dist/bundle/{chunk-255RGG5W.js → chunk-6B2BBL35.js} +5 -5
  16. package/dist/bundle/{chunk-TKOZCIHU.js → chunk-7AO73MJZ.js} +15 -15
  17. package/dist/bundle/{chunk-AIEMFRBU.js → chunk-7E4KECG4.js} +1 -1
  18. package/dist/bundle/{chunk-UIKVP23D.js → chunk-7ESXP4TG.js} +1 -1
  19. package/dist/bundle/{chunk-77J5ID2O.js → chunk-ATJANIQR.js} +2 -2
  20. package/dist/bundle/{chunk-T7VERZP5.js → chunk-BDWOTD7E.js} +23 -23
  21. package/dist/bundle/{chunk-IDOHT4Z3.js → chunk-BPHLFSUO.js} +15 -15
  22. package/dist/bundle/{chunk-KHBZ4OEP.js → chunk-D4QALV67.js} +1 -1
  23. package/dist/bundle/{chunk-WRHAX53U.js → chunk-DIOHJT2W.js} +6 -6
  24. package/dist/bundle/{chunk-QVJMFZFW.js → chunk-DMW6J2P3.js} +1 -1
  25. package/dist/bundle/{chunk-ROLHKFKB.js → chunk-FDGCTY6J.js} +9 -9
  26. package/dist/bundle/{chunk-572NWJUN.js → chunk-FHQ32JKS.js} +1 -1
  27. package/dist/bundle/{chunk-CZRMT6XV.js → chunk-FM4B357N.js} +2 -2
  28. package/dist/bundle/{chunk-CKFVKHTB.js → chunk-FOZXPSHA.js} +3 -3
  29. package/dist/bundle/{chunk-5DLPM5AV.js → chunk-HKC6ZJA5.js} +12 -12
  30. package/dist/bundle/{chunk-BZCXAVGP.js → chunk-IKTBM64M.js} +7 -7
  31. package/dist/bundle/{chunk-WMXUFUV3.js → chunk-IZEK7JI7.js} +2 -2
  32. package/dist/bundle/{chunk-UEJVXUIO.js → chunk-KBTVVHFP.js} +12 -12
  33. package/dist/bundle/{chunk-ELPH22W6.js → chunk-KNTAOY5J.js} +7 -7
  34. package/dist/bundle/{chunk-EXWZCI5G.js → chunk-KSFPMRH6.js} +1 -1
  35. package/dist/bundle/{chunk-DSUOYJUL.js → chunk-KTLJ6F2B.js} +3 -3
  36. package/dist/bundle/{chunk-S7H7TAC3.js → chunk-MT5KDBOM.js} +5 -5
  37. package/dist/bundle/{chunk-XM2THVMR.js → chunk-MVGFB7IS.js} +2 -2
  38. package/dist/bundle/{chunk-SXKKOOA7.js → chunk-NUHUTJTM.js} +1 -1
  39. package/dist/bundle/{chunk-AIZ225IA.js → chunk-NWA7JS74.js} +241 -241
  40. package/dist/bundle/{chunk-PJ3FKBXG.js → chunk-ODPYXNHI.js} +1 -1
  41. package/dist/bundle/{chunk-ZVQDOKDY.js → chunk-OLTJB5PW.js} +1 -1
  42. package/dist/bundle/{chunk-TI2OANJZ.js → chunk-PCYTU7HS.js} +1 -1
  43. package/dist/bundle/{chunk-OEPNLKHI.js → chunk-PIKOQWTL.js} +4 -4
  44. package/dist/bundle/{chunk-RRLAFEPQ.js → chunk-PYOM4J73.js} +2 -2
  45. package/dist/bundle/{chunk-PA7LDYVX.js → chunk-RFM3AAK5.js} +52 -52
  46. package/dist/bundle/{chunk-UBH4UPZ7.js → chunk-RGIEG4XK.js} +2 -1
  47. package/dist/bundle/{chunk-VYZ37D2Q.js → chunk-TXDA437R.js} +1 -1
  48. package/dist/bundle/{chunk-5BPOEPYL.js → chunk-UH7FYLFL.js} +4 -4
  49. package/dist/bundle/{chunk-ZSWSFKNE.js → chunk-UQZJ2GFQ.js} +2 -2
  50. package/dist/bundle/{chunk-DQO2LX5I.js → chunk-UUM7AF32.js} +2 -2
  51. package/dist/bundle/{chunk-R3A65A4D.js → chunk-VERUQQZS.js} +10 -10
  52. package/dist/bundle/{chunk-R5FTCNLJ.js → chunk-VFRI6RF7.js} +1 -1
  53. package/dist/bundle/{chunk-FOTP6QLO.js → chunk-VXHL3XI6.js} +2 -2
  54. package/dist/bundle/{chunk-FVVSBQGK.js → chunk-W32UQL5I.js} +21 -21
  55. package/dist/bundle/{chunk-OCUKQRJ3.js → chunk-WSHPLO4Q.js} +149 -148
  56. package/dist/bundle/{chunk-RGQFVVBB.js → chunk-WZNQ2P7H.js} +17 -17
  57. package/dist/bundle/{chunk-HBK6MRAL.js → chunk-XEMARUGS.js} +7 -7
  58. package/dist/bundle/{chunk-OPOEAGVB.js → chunk-YAQGWHMH.js} +6 -6
  59. package/dist/bundle/{chunk-S2QRW647.js → chunk-YRER6N3Y.js} +29 -29
  60. package/dist/bundle/{chunk-OC3U2JAK.js → chunk-YSR2XBDO.js} +3 -3
  61. package/dist/bundle/{chunk-XCYDTIVK.js → chunk-Z5D6CRY6.js} +4 -4
  62. package/dist/bundle/{chunk-PRSXMM4I.js → chunk-ZIFB6KGQ.js} +359 -359
  63. package/dist/bundle/{chunk-MY4LVD64.js → chunk-ZPVVSA5R.js} +1 -1
  64. package/dist/bundle/{command-contract-MIJONVVG.js → command-contract-TMLXLGVT.js} +15 -15
  65. package/dist/bundle/{command-server-entry-VHUFW3OZ.js → command-server-entry-PFUR2W7X.js} +21 -21
  66. package/dist/bundle/{decode-TIMTSVXM.js → decode-SIVT4JWX.js} +2 -2
  67. package/dist/bundle/{dist-IP25JFTN.js → dist-YWSF5MHP.js} +11 -11
  68. package/dist/bundle/{echarts-SDZA2SWG.js → echarts-CABLIXX7.js} +2 -2
  69. package/dist/bundle/{embed-4W527BCE.js → embed-OHENS6RB.js} +3 -3
  70. package/dist/bundle/{embedder-LQE2SBJ3.js → embedder-JINT4Y4O.js} +6 -6
  71. package/dist/bundle/{first-run-KZTKMEI4.js → first-run-LU2MAK2B.js} +6 -6
  72. package/dist/bundle/first-screen-KZNLKRRQ.js +34 -0
  73. package/dist/bundle/{instructions-7T6JJIFS.js → instructions-3D22PA4T.js} +1 -1
  74. package/dist/bundle/mail.js +2 -2
  75. package/dist/bundle/{node-BZDMUFTW.js → node-42G4RGMW.js} +2 -2
  76. package/dist/bundle/{node-sqlite-PVSKI4OS.js → node-sqlite-KQZM5M3N.js} +4 -4
  77. package/dist/bundle/{oauth-TGYGAVGF.js → oauth-7BNCNKQV.js} +4 -4
  78. package/dist/bundle/{open-5YED4Q4C.js → open-ULOQOP7K.js} +2 -2
  79. package/dist/bundle/{openai-XVJTML22.js → openai-O5AH6VGT.js} +12 -12
  80. package/dist/bundle/{process-756VBE7E.js → process-6D767IDN.js} +1 -1
  81. package/dist/bundle/{program-TDHDXAQA.js → program-OE7MFRMJ.js} +525 -408
  82. package/dist/bundle/{prompt-HPZANASN.js → prompt-WN7EBVKT.js} +2 -2
  83. package/dist/bundle/{recognize-PP5XQQHH.js → recognize-IX33XEXZ.js} +1 -1
  84. package/dist/bundle/{remote-C2LU2WYG.js → remote-22N3FQUC.js} +6 -6
  85. package/dist/bundle/{rerank-WRHNOM4Z.js → rerank-IGX4EFA2.js} +4 -4
  86. package/dist/bundle/{serve-RE3IV2QB.js → serve-XWIRR2QZ.js} +6 -6
  87. package/dist/bundle/server-D5OTVERP.js +68 -0
  88. package/dist/bundle/{server-52BJ7UTO.js → server-DBS4WC6T.js} +35 -35
  89. package/dist/bundle/{sqlite-runtime-CRRL3MYX.js → sqlite-runtime-WFBTXXXJ.js} +3 -3
  90. package/dist/bundle/{state-YGJRPMWD.js → state-4J5ERHJA.js} +3 -3
  91. package/dist/bundle/{store-ESQE4VHP.js → store-YRBX7XLM.js} +13 -13
  92. package/dist/bundle/{store-6AZ5LVJL.js → store-YSP2NPRJ.js} +15 -15
  93. package/dist/bundle/store-maintenance-command-SH6IB7S6.js +58 -0
  94. package/dist/commands/rules.d.ts.map +1 -1
  95. package/dist/commands/rules.js +78 -20
  96. package/dist/commands/rules.js.map +1 -1
  97. package/dist/commands/words.d.ts.map +1 -1
  98. package/dist/commands/words.js +2 -0
  99. package/dist/commands/words.js.map +1 -1
  100. package/dist/mail/imap/connection.d.ts.map +1 -1
  101. package/dist/mail/imap/connection.js +10 -2
  102. package/dist/mail/imap/connection.js.map +1 -1
  103. package/dist/mail/rules/apply.d.ts +10 -2
  104. package/dist/mail/rules/apply.d.ts.map +1 -1
  105. package/dist/mail/rules/apply.js +110 -30
  106. package/dist/mail/rules/apply.js.map +1 -1
  107. package/dist/reasons.d.ts.map +1 -1
  108. package/dist/reasons.js +1 -0
  109. package/dist/reasons.js.map +1 -1
  110. package/dist/version.d.ts +1 -1
  111. package/dist/version.js +1 -1
  112. package/package.json +2 -2
  113. package/dist/bundle/first-screen-4LG5SJ6D.js +0 -34
  114. package/dist/bundle/server-43V7HNFY.js +0 -68
  115. package/dist/bundle/store-maintenance-command-AKQMKUYO.js +0 -58
package/CHANGELOG.md CHANGED
@@ -2,6 +2,32 @@
2
2
 
3
3
  Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.29.0 — 14.11.2026
6
+
7
+ ### Added
8
+
9
+ - **`rules apply --cursor` goes on from where a stopped run ended.** A run that reaches its time limit answers
10
+ `state: partial` with the cursor and the step that goes on. The run that ends the window reports the counts for
11
+ all of it.
12
+ - **`rules apply` takes `--yes` over MCP.** An agent could only preview it: the tool did not offer `--yes`.
13
+
14
+ ### Fixed
15
+
16
+ - **`rules apply` finishes on a large mailbox, and over MCP it answers in time.** It failed after 27 seconds on a
17
+ mailbox of 17,000 emails, which takes about 4 minutes to list. It now runs up to 15 minutes by default (45 seconds
18
+ over MCP, where clients give up after about a minute; `--timeout` still sets it). It reads the headers newest first
19
+ and saves its work batch by batch, so a run that stops keeps what it did. `score:` and `--kind` judge a sender by
20
+ its mail in the store, so where a run stops never changes what they decide.
21
+ - **`rules apply` says when it runs out of its time limit.** The error said the mail server did not answer in time.
22
+ Now it says the command reached its time limit and to run it again with a longer `--timeout`.
23
+
24
+ ## 0.28.0 — 13.11.2026
25
+
26
+ ### Fixed
27
+
28
+ - **Telemost meeting notes in Yandex's older layout get their summary** (cli-core 0.657.0). Most notes emails have no
29
+ «Итоги» heading: the summary is now the text before the first heading, and Yandex's footer is no longer stored.
30
+
5
31
  ## 0.27.0 — 13.11.2026
6
32
 
7
33
  ### 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.27.0\n")
12
+ process.stdout.write("0.29.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-5XWH7TBM.js","../bundle/anthropic-QEQGUEPW.js","../bundle/app-server-YWDU56NR.js","../bundle/bun-PWMM6L45.js","../bundle/bun-sqlite-S4QD5YUO.js","../bundle/decode-TIMTSVXM.js","../bundle/dispatch-DSVN7MNG.js","../bundle/dist-HFUVURJG.js","../bundle/dist-IP25JFTN.js","../bundle/echarts-SDZA2SWG.js","../bundle/embed-4W527BCE.js","../bundle/embedder-LQE2SBJ3.js","../bundle/failure-COTPFUP4.js","../bundle/first-screen-4LG5SJ6D.js","../bundle/instructions-7T6JJIFS.js","../bundle/mcp-TDKGDB4V.js","../bundle/node-BZDMUFTW.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-PVSKI4OS.js","../bundle/oauth-TGYGAVGF.js","../bundle/open-5YED4Q4C.js","../bundle/openai-XVJTML22.js","../bundle/process-756VBE7E.js","../bundle/program-TDHDXAQA.js","../bundle/prompt-HPZANASN.js","../bundle/recognize-PP5XQQHH.js","../bundle/remote-C2LU2WYG.js","../bundle/rerank-WRHNOM4Z.js","../bundle/serve-RE3IV2QB.js","../bundle/server-43V7HNFY.js","../bundle/server-52BJ7UTO.js","../bundle/sqlite-runtime-CRRL3MYX.js","../bundle/state-YGJRPMWD.js","../bundle/store-6AZ5LVJL.js","../bundle/store-ESQE4VHP.js","../bundle/store-maintenance-command-AKQMKUYO.js"]
31
+ const chunks = ["../bundle/all-profiles-Q4E2LPB4.js","../bundle/anthropic-S3N4JDJU.js","../bundle/app-server-E44CAPPI.js","../bundle/bun-RDYA5FCZ.js","../bundle/bun-sqlite-FPVHKI24.js","../bundle/decode-SIVT4JWX.js","../bundle/dispatch-DSVN7MNG.js","../bundle/dist-HFUVURJG.js","../bundle/dist-YWSF5MHP.js","../bundle/echarts-CABLIXX7.js","../bundle/embed-OHENS6RB.js","../bundle/embedder-JINT4Y4O.js","../bundle/failure-COTPFUP4.js","../bundle/first-screen-KZNLKRRQ.js","../bundle/instructions-3D22PA4T.js","../bundle/mcp-TDKGDB4V.js","../bundle/node-42G4RGMW.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-KQZM5M3N.js","../bundle/oauth-7BNCNKQV.js","../bundle/open-ULOQOP7K.js","../bundle/openai-O5AH6VGT.js","../bundle/process-6D767IDN.js","../bundle/program-OE7MFRMJ.js","../bundle/prompt-WN7EBVKT.js","../bundle/recognize-IX33XEXZ.js","../bundle/remote-22N3FQUC.js","../bundle/rerank-IGX4EFA2.js","../bundle/serve-XWIRR2QZ.js","../bundle/server-D5OTVERP.js","../bundle/server-DBS4WC6T.js","../bundle/sqlite-runtime-WFBTXXXJ.js","../bundle/state-4J5ERHJA.js","../bundle/store-YRBX7XLM.js","../bundle/store-YSP2NPRJ.js","../bundle/store-maintenance-command-SH6IB7S6.js"]
32
32
  if (((words) => words
33
33
  .filter((word) => !word.startsWith("-"))
34
34
  .slice(0, 2)
@@ -2,20 +2,20 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answeredWire
5
- } from "./chunk-R5FTCNLJ.js";
5
+ } from "./chunk-VFRI6RF7.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-FOTP6QLO.js";
12
+ } from "./chunk-VXHL3XI6.js";
13
13
  import {
14
14
  McpServer
15
15
  } from "./chunk-5D4AEUVA.js";
16
- import "./chunk-HBK6MRAL.js";
17
- import "./chunk-SXKKOOA7.js";
18
- import "./chunk-MY4LVD64.js";
16
+ import "./chunk-XEMARUGS.js";
17
+ import "./chunk-NUHUTJTM.js";
18
+ import "./chunk-ZPVVSA5R.js";
19
19
  import "./chunk-XWBPP2HX.js";
20
20
  import "./chunk-7MEVD5PI.js";
21
21
  import "./chunk-ECZSYLSL.js";
@@ -25,7 +25,7 @@ import {
25
25
  __name
26
26
  } from "./chunk-ZVVMGPBJ.js";
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/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-RE3IV2QB.js");
262
+ const { serveOverHttp } = await import("./serve-XWIRR2QZ.js");
263
263
  const listening = await serveOverHttp(build, {
264
264
  ...http,
265
265
  appName: options.command,
@@ -8,7 +8,7 @@ import {
8
8
  checkedOptions,
9
9
  messagesFor,
10
10
  systemFor
11
- } from "./chunk-DQO2LX5I.js";
11
+ } from "./chunk-UUM7AF32.js";
12
12
  import "./chunk-7MEVD5PI.js";
13
13
  import {
14
14
  array,
@@ -26,7 +26,7 @@ import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/models/anthropic.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/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,47 +3,47 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-S2QRW647.js";
6
+ } from "./chunk-YRER6N3Y.js";
7
7
  import {
8
8
  mcpUrlOf
9
- } from "./chunk-FVVSBQGK.js";
10
- import "./chunk-PJ3FKBXG.js";
9
+ } from "./chunk-W32UQL5I.js";
10
+ import "./chunk-ODPYXNHI.js";
11
11
  import {
12
12
  answered,
13
13
  failed,
14
14
  registerCommands,
15
15
  runCommandForAgent,
16
16
  toolsFromCommands
17
- } from "./chunk-IDOHT4Z3.js";
17
+ } from "./chunk-BPHLFSUO.js";
18
18
  import {
19
19
  agentJson,
20
20
  skillResource
21
- } from "./chunk-ROLHKFKB.js";
22
- import "./chunk-WMXUFUV3.js";
21
+ } from "./chunk-FDGCTY6J.js";
22
+ import "./chunk-IZEK7JI7.js";
23
23
  import {
24
24
  appInstructions
25
- } from "./chunk-AIEMFRBU.js";
25
+ } from "./chunk-7E4KECG4.js";
26
26
  import {
27
27
  answeredWire
28
- } from "./chunk-R5FTCNLJ.js";
28
+ } from "./chunk-VFRI6RF7.js";
29
29
  import {
30
30
  StdioServerTransport,
31
31
  serveStdio
32
- } from "./chunk-FOTP6QLO.js";
32
+ } from "./chunk-VXHL3XI6.js";
33
33
  import {
34
34
  McpServer
35
35
  } from "./chunk-5D4AEUVA.js";
36
36
  import {
37
37
  mcpHttpMarker
38
- } from "./chunk-OEPNLKHI.js";
39
- import "./chunk-TKOZCIHU.js";
40
- import "./chunk-AIZ225IA.js";
41
- import "./chunk-UEJVXUIO.js";
42
- import "./chunk-OPOEAGVB.js";
43
- import "./chunk-DQO2LX5I.js";
44
- import "./chunk-XM2THVMR.js";
45
- import "./chunk-572NWJUN.js";
46
- import "./chunk-DSUOYJUL.js";
38
+ } from "./chunk-PIKOQWTL.js";
39
+ import "./chunk-7AO73MJZ.js";
40
+ import "./chunk-NWA7JS74.js";
41
+ import "./chunk-KBTVVHFP.js";
42
+ import "./chunk-YAQGWHMH.js";
43
+ import "./chunk-UUM7AF32.js";
44
+ import "./chunk-MVGFB7IS.js";
45
+ import "./chunk-FHQ32JKS.js";
46
+ import "./chunk-KTLJ6F2B.js";
47
47
  import {
48
48
  DEFAULT_OUTPUT_BYTES,
49
49
  changesAuthorityAt,
@@ -54,34 +54,34 @@ import {
54
54
  readOnlyLockOf,
55
55
  readsOverMcpAt,
56
56
  rootOf2 as rootOf
57
- } from "./chunk-OCUKQRJ3.js";
58
- import "./chunk-2FZMIJW7.js";
59
- import "./chunk-HBK6MRAL.js";
60
- import "./chunk-UIKVP23D.js";
57
+ } from "./chunk-WSHPLO4Q.js";
58
+ import "./chunk-2MTIGJHQ.js";
59
+ import "./chunk-XEMARUGS.js";
60
+ import "./chunk-7ESXP4TG.js";
61
61
  import "./chunk-7C6FGWDH.js";
62
62
  import "./chunk-FIVFP53N.js";
63
- import "./chunk-ZSWSFKNE.js";
64
- import "./chunk-4VDWQKDI.js";
65
- import "./chunk-NZG6IRDW.js";
66
- import "./chunk-PRSXMM4I.js";
67
- import "./chunk-RGQFVVBB.js";
68
- import "./chunk-T7VERZP5.js";
69
- import "./chunk-7BXOFLWJ.js";
70
- import "./chunk-SXKKOOA7.js";
71
- import "./chunk-MY4LVD64.js";
72
- import "./chunk-BZCXAVGP.js";
73
- import "./chunk-KHBZ4OEP.js";
74
- import "./chunk-ELPH22W6.js";
75
- import "./chunk-XBL46B4V.js";
76
- import "./chunk-XCYDTIVK.js";
77
- import "./chunk-S7H7TAC3.js";
78
- import "./chunk-CKFVKHTB.js";
63
+ import "./chunk-UQZJ2GFQ.js";
64
+ import "./chunk-44IAJV2T.js";
65
+ import "./chunk-45ET53MO.js";
66
+ import "./chunk-ZIFB6KGQ.js";
67
+ import "./chunk-WZNQ2P7H.js";
68
+ import "./chunk-BDWOTD7E.js";
69
+ import "./chunk-3RBUACSJ.js";
70
+ import "./chunk-NUHUTJTM.js";
71
+ import "./chunk-ZPVVSA5R.js";
72
+ import "./chunk-IKTBM64M.js";
73
+ import "./chunk-D4QALV67.js";
74
+ import "./chunk-KNTAOY5J.js";
75
+ import "./chunk-5PDWUD3W.js";
76
+ import "./chunk-Z5D6CRY6.js";
77
+ import "./chunk-MT5KDBOM.js";
78
+ import "./chunk-FOZXPSHA.js";
79
79
  import "./chunk-M4OP5ASJ.js";
80
80
  import "./chunk-XWBPP2HX.js";
81
81
  import "./chunk-D72URWJE.js";
82
- import "./chunk-VYZ37D2Q.js";
83
- import "./chunk-255RGG5W.js";
84
- import "./chunk-ZVQDOKDY.js";
82
+ import "./chunk-TXDA437R.js";
83
+ import "./chunk-6B2BBL35.js";
84
+ import "./chunk-OLTJB5PW.js";
85
85
  import "./chunk-7MEVD5PI.js";
86
86
  import {
87
87
  mcpErrorResult
@@ -90,12 +90,12 @@ import "./chunk-Y5E2WNWB.js";
90
90
  import {
91
91
  CliError
92
92
  } from "./chunk-7KCBPAQS.js";
93
- import "./chunk-QVJMFZFW.js";
93
+ import "./chunk-DMW6J2P3.js";
94
94
  import {
95
95
  __name
96
96
  } from "./chunk-ZVVMGPBJ.js";
97
97
 
98
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
98
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
99
99
  var EXCLUDED = [["mcp"]];
100
100
  var aliasesOf = /* @__PURE__ */ __name((root, path) => {
101
101
  let at = root;
@@ -225,7 +225,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
225
225
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
226
226
  const { app } = options;
227
227
  const { build } = createAppServer(command, context, options);
228
- const { serveOverHttp } = await import("./serve-RE3IV2QB.js");
228
+ const { serveOverHttp } = await import("./serve-XWIRR2QZ.js");
229
229
  const listening = await serveOverHttp(build, {
230
230
  ...http,
231
231
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-QVJMFZFW.js";
21
+ } from "./chunk-DMW6J2P3.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/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,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-APLVXHFG.js";
6
+ } from "./chunk-5ZJ6IHVE.js";
7
7
  import {
8
8
  refuseOwnerStoreInTests
9
- } from "./chunk-VYZ37D2Q.js";
9
+ } from "./chunk-TXDA437R.js";
10
10
  import "./chunk-7MEVD5PI.js";
11
11
  import "./chunk-ECZSYLSL.js";
12
12
  import {
@@ -17,7 +17,7 @@ import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/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 {
@@ -17,7 +17,7 @@ import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/sends/permissions.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/sends/permissions.js
21
21
  var LEVELS = ["deny", "readonly", "ask", "allow"];
22
22
  var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
23
23
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
@@ -421,7 +421,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
421
421
  }
422
422
  }, "assertRetentionEvidenceRead");
423
423
 
424
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
424
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
425
425
  var named = /* @__PURE__ */ __name((work) => {
426
426
  try {
427
427
  return work();
@@ -448,7 +448,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
448
448
  return projectFields(value, fields);
449
449
  }), "projectFields");
450
450
 
451
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/output-detail.js
451
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/output-detail.js
452
452
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
453
453
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
454
454
  var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
@@ -484,7 +484,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
484
484
  return value;
485
485
  }, "atDetail");
486
486
 
487
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/output.js
487
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/output.js
488
488
  var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
489
489
  const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
490
490
  if (other)
@@ -12,7 +12,7 @@ import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/render/messages.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/render/messages.js
16
16
  import { styleText } from "node:util";
17
17
  var TIME_WIDTH = 8;
18
18
  var INDENT = " ".repeat(TIME_WIDTH + 2);