@wirecat/mail-cli 0.25.0 → 0.26.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 (157) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +3 -0
  3. package/contracts/wirecat.json +1325 -0
  4. package/dist/bin/mail.js +2 -2
  5. package/dist/bin/mail.js.map +1 -1
  6. package/dist/bundle/{all-profiles-QEV2PSOR.js → all-profiles-6NXVQLUQ.js} +11 -11
  7. package/dist/bundle/{anthropic-5NKQXIHM.js → anthropic-OLNFE2CL.js} +5 -5
  8. package/dist/bundle/{app-server-G2CJNT4R.js → app-server-J76N6XIK.js} +51 -51
  9. package/dist/bundle/{bun-6HBYWQIX.js → bun-6PYDHXNR.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-DXIQ7BVR.js → bun-sqlite-QD5PFHPS.js} +6 -6
  11. package/dist/bundle/{chunk-5ZYFV6FD.js → chunk-2E2EV4HD.js} +103 -71
  12. package/dist/bundle/{chunk-T27IMG6X.js → chunk-2TCS4PLJ.js} +1 -1
  13. package/dist/bundle/{chunk-EXVY76VO.js → chunk-3J2UJFBJ.js} +19 -18
  14. package/dist/bundle/{chunk-LVGX7VTD.js → chunk-3RY4HC4V.js} +63 -5
  15. package/dist/bundle/{chunk-LGZPKKBN.js → chunk-3XTKQ5EM.js} +3 -2
  16. package/dist/bundle/{chunk-CIWWNBVW.js → chunk-4Q6KAV4O.js} +8 -8
  17. package/dist/bundle/{chunk-IXO4SCKE.js → chunk-52M5BAEG.js} +1 -1
  18. package/dist/bundle/{chunk-DIA56CS7.js → chunk-5WROIMUV.js} +11 -7
  19. package/dist/bundle/{chunk-ADKMBXY4.js → chunk-66C66FNK.js} +1 -1
  20. package/dist/bundle/{chunk-MBFPFWCO.js → chunk-76EKZSDK.js} +27 -27
  21. package/dist/bundle/{chunk-XQYKIZMG.js → chunk-76VSHS5Y.js} +12 -9
  22. package/dist/bundle/{chunk-L4QVOEOB.js → chunk-7C6FGWDH.js} +4 -4
  23. package/dist/bundle/{chunk-VUBZFMGP.js → chunk-7KCBPAQS.js} +2 -2
  24. package/dist/bundle/{chunk-TY644DKQ.js → chunk-7MEVD5PI.js} +57 -28
  25. package/dist/bundle/{chunk-7GLJSJ7M.js → chunk-A3EBRXOQ.js} +1 -1
  26. package/dist/bundle/{chunk-XMDEM6BZ.js → chunk-A6XETABW.js} +276 -254
  27. package/dist/bundle/{chunk-S2QRAKQI.js → chunk-AJ5K74X6.js} +17 -17
  28. package/dist/bundle/{chunk-QQUY4MZY.js → chunk-BDYQQ6G2.js} +1 -1
  29. package/dist/bundle/{chunk-JG4MNYG2.js → chunk-BMGRDZM3.js} +1 -1
  30. package/dist/bundle/{chunk-WX6OYVCH.js → chunk-CFBIPM7T.js} +363 -270
  31. package/dist/bundle/{chunk-HEIDAHRC.js → chunk-CZI45AQM.js} +2 -2
  32. package/dist/bundle/{chunk-VL6H2BND.js → chunk-DKIVYAXW.js} +18 -17
  33. package/dist/bundle/{chunk-IZOYW4Z4.js → chunk-ECZSYLSL.js} +24 -9
  34. package/dist/bundle/{chunk-NMZQTYKJ.js → chunk-EDWJ7IYH.js} +1 -1
  35. package/dist/bundle/{chunk-MCPOZNWG.js → chunk-FIVFP53N.js} +1 -1
  36. package/dist/bundle/{chunk-G5LHHAW2.js → chunk-GIG7F6UW.js} +6 -6
  37. package/dist/bundle/{chunk-PHHH2NQP.js → chunk-H2IJQH5X.js} +15 -113
  38. package/dist/bundle/{chunk-QB3DP2TN.js → chunk-HI5XUETY.js} +2 -2
  39. package/dist/bundle/{chunk-PGC5TRH6.js → chunk-HNSBXC6U.js} +3 -3
  40. package/dist/bundle/{chunk-4W4EVVL4.js → chunk-IX3GUNGV.js} +4 -4
  41. package/dist/bundle/{chunk-VFU7PVPQ.js → chunk-JNKXU7AE.js} +62 -60
  42. package/dist/bundle/{chunk-BC7PFQL7.js → chunk-JVJG54QK.js} +40 -2
  43. package/dist/bundle/{chunk-PP3YOAWG.js → chunk-KXASCNOV.js} +3 -3
  44. package/dist/bundle/{chunk-3XVR2ROR.js → chunk-LMTQMYUF.js} +31 -31
  45. package/dist/bundle/{chunk-CBYBZCQP.js → chunk-LTZGLOKE.js} +3 -2
  46. package/dist/bundle/{chunk-HJSJBNCJ.js → chunk-M2LATBP2.js} +28 -9
  47. package/dist/bundle/{chunk-RX5CJ55S.js → chunk-M4OP5ASJ.js} +1 -1
  48. package/dist/bundle/{chunk-HLXVUMZJ.js → chunk-M4Y33SJJ.js} +2 -2
  49. package/dist/bundle/{chunk-MWGH3M46.js → chunk-M7ECSGSN.js} +3 -3
  50. package/dist/bundle/{chunk-OLLIWNFG.js → chunk-M7RHPCXM.js} +3 -3
  51. package/dist/bundle/{chunk-B7SWTH5O.js → chunk-MIWSCTLG.js} +2 -2
  52. package/dist/bundle/{chunk-GY4XCLCO.js → chunk-NBJU6MBU.js} +8 -8
  53. package/dist/bundle/{chunk-Z5T6OW3V.js → chunk-NMFPK3MU.js} +4 -4
  54. package/dist/bundle/{chunk-HEYVMAAQ.js → chunk-OGE7YG4J.js} +2 -2
  55. package/dist/bundle/{chunk-A6BPOX5O.js → chunk-PJ6YMNJG.js} +3954 -3685
  56. package/dist/bundle/{chunk-OLKCJBZY.js → chunk-PY2IOVUN.js} +5 -5
  57. package/dist/bundle/{chunk-WOAYHCM2.js → chunk-QI6EXKSH.js} +1 -1
  58. package/dist/bundle/{chunk-YNS2YVUR.js → chunk-QJGG6QYV.js} +9 -9
  59. package/dist/bundle/{chunk-K2OGF7KC.js → chunk-RXKIP2ML.js} +2 -2
  60. package/dist/bundle/{chunk-SMTBV62X.js → chunk-T7SHPALQ.js} +26 -24
  61. package/dist/bundle/{chunk-GJRYZXBN.js → chunk-UE2NKPA4.js} +9 -9
  62. package/dist/bundle/{chunk-P6GXNT7Z.js → chunk-UNJUCK5R.js} +13 -13
  63. package/dist/bundle/{chunk-ND5H5ADM.js → chunk-V32L23NN.js} +4 -4
  64. package/dist/bundle/{chunk-IACWKZWS.js → chunk-V4PFD25P.js} +1 -1
  65. package/dist/bundle/{chunk-37F6QYTO.js → chunk-VA4V73SL.js} +6 -6
  66. package/dist/bundle/{chunk-U6IQ6YQ2.js → chunk-VJPLIXV4.js} +8 -2
  67. package/dist/bundle/{chunk-PQMJ5BXH.js → chunk-VWRT57QU.js} +4 -4
  68. package/dist/bundle/{chunk-KFB2X6KE.js → chunk-XELZCDWE.js} +191 -160
  69. package/dist/bundle/{chunk-KK4HD3SI.js → chunk-XUJEZ5YF.js} +6 -6
  70. package/dist/bundle/{chunk-434YOD6A.js → chunk-XZ7CQ6NA.js} +4 -4
  71. package/dist/bundle/{chunk-5QYK3LWS.js → chunk-YM345236.js} +119 -38
  72. package/dist/bundle/{chunk-J4OYK4WL.js → chunk-YXGHC3NP.js} +12 -12
  73. package/dist/bundle/{chunk-FZZD4AFY.js → chunk-ZZSZN4CJ.js} +22 -15
  74. package/dist/bundle/command-contract-NNEXHZW5.js +36 -0
  75. package/dist/bundle/{command-server-entry-XMSSY5ID.js → command-server-entry-AIBWNC5D.js} +25 -25
  76. package/dist/bundle/{decode-RYGB4PGT.js → decode-H7KLRD33.js} +5 -5
  77. package/dist/bundle/{dispatch-PLQOIZG5.js → dispatch-DSVN7MNG.js} +8 -8
  78. package/dist/bundle/{dist-GY2AQETI.js → dist-YYSP43J3.js} +19 -15
  79. package/dist/bundle/{echarts-7CM2MCMW.js → echarts-VSD3LS6D.js} +2 -2
  80. package/dist/bundle/{embed-FTBDPOPT.js → embed-UENZ5HN3.js} +6 -6
  81. package/dist/bundle/{embedder-B43WGNBD.js → embedder-MJMGOJT7.js} +9 -9
  82. package/dist/bundle/{failure-XP5QYV2T.js → failure-COTPFUP4.js} +2 -2
  83. package/dist/bundle/{first-run-XIIUARNM.js → first-run-HYALREFN.js} +12 -12
  84. package/dist/bundle/first-screen-GPF5RHBX.js +34 -0
  85. package/dist/bundle/{instructions-R7OHVAWH.js → instructions-WOHRYOLN.js} +1 -1
  86. package/dist/bundle/mail.js +15 -20
  87. package/dist/bundle/{mcp-7KQUJNFN.js → mcp-TDKGDB4V.js} +2 -2
  88. package/dist/bundle/{node-3N2JGZ7V.js → node-4BRWJJCE.js} +2 -2
  89. package/dist/bundle/{node-sqlite-WFJXW3CZ.js → node-sqlite-D3QESEYQ.js} +7 -7
  90. package/dist/bundle/{oauth-SVJLQTWV.js → oauth-T7TTOBIZ.js} +7 -7
  91. package/dist/bundle/{open-ZDONVKSX.js → open-6P6627QB.js} +5 -5
  92. package/dist/bundle/{openai-XVEW6XOU.js → openai-FIMCJGAP.js} +21 -20
  93. package/dist/bundle/{process-YAHHUFR5.js → process-35IH3WHC.js} +1 -1
  94. package/dist/bundle/{program-HU2UVMJE.js → program-IEXB72IK.js} +1475 -987
  95. package/dist/bundle/{prompt-JAJ2CUJI.js → prompt-HFBCPMVL.js} +5 -5
  96. package/dist/bundle/{recognize-UFBWUNFR.js → recognize-CNL4HJ7Z.js} +4 -4
  97. package/dist/bundle/{remote-2GFOVLCR.js → remote-AYGZI7HT.js} +9 -9
  98. package/dist/bundle/{rerank-BGPSMXTL.js → rerank-5C2OZZXD.js} +7 -7
  99. package/dist/bundle/{serve-CB3XJTH3.js → serve-S6OYBDIB.js} +9 -9
  100. package/dist/bundle/{server-M7FQY7TX.js → server-VKO6E6PI.js} +42 -42
  101. package/dist/bundle/server-WXSHVDME.js +68 -0
  102. package/dist/bundle/{sqlite-runtime-AEV6PGDR.js → sqlite-runtime-DBTGNTVE.js} +6 -6
  103. package/dist/bundle/{state-YLBEQLBI.js → state-ZQG6AL2Y.js} +6 -6
  104. package/dist/bundle/{store-EKWKY6GG.js → store-B7BXWILZ.js} +21 -19
  105. package/dist/bundle/{store-CDUL3HKK.js → store-LY4QKTOO.js} +17 -17
  106. package/dist/bundle/store-maintenance-command-UR6NQDVV.js +58 -0
  107. package/dist/commands/rules.d.ts.map +1 -1
  108. package/dist/commands/rules.js +57 -19
  109. package/dist/commands/rules.js.map +1 -1
  110. package/dist/commands/session-start.d.ts.map +1 -1
  111. package/dist/commands/session-start.js +1 -1
  112. package/dist/commands/session-start.js.map +1 -1
  113. package/dist/config.d.ts +1 -0
  114. package/dist/config.d.ts.map +1 -1
  115. package/dist/config.js +13 -12
  116. package/dist/config.js.map +1 -1
  117. package/dist/discovery.d.ts.map +1 -1
  118. package/dist/discovery.js +7 -2
  119. package/dist/discovery.js.map +1 -1
  120. package/dist/identity.d.ts +2 -0
  121. package/dist/identity.d.ts.map +1 -1
  122. package/dist/identity.js +34 -0
  123. package/dist/identity.js.map +1 -1
  124. package/dist/mail/domain-age.d.ts +1 -1
  125. package/dist/mail/domain-age.d.ts.map +1 -1
  126. package/dist/mail/domain-age.js +9 -3
  127. package/dist/mail/domain-age.js.map +1 -1
  128. package/dist/mail/rules/file.d.ts.map +1 -1
  129. package/dist/mail/rules/file.js +4 -1
  130. package/dist/mail/rules/file.js.map +1 -1
  131. package/dist/mail/rules/query.d.ts +2 -1
  132. package/dist/mail/rules/query.d.ts.map +1 -1
  133. package/dist/mail/rules/query.js +16 -3
  134. package/dist/mail/rules/query.js.map +1 -1
  135. package/dist/oauth.d.ts +3 -1
  136. package/dist/oauth.d.ts.map +1 -1
  137. package/dist/oauth.js +48 -34
  138. package/dist/oauth.js.map +1 -1
  139. package/dist/reasons.d.ts.map +1 -1
  140. package/dist/reasons.js +5 -0
  141. package/dist/reasons.js.map +1 -1
  142. package/dist/store.d.ts.map +1 -1
  143. package/dist/store.js +2 -21
  144. package/dist/store.js.map +1 -1
  145. package/dist/version.d.ts +1 -1
  146. package/dist/version.js +1 -1
  147. package/dist/wcat.d.ts +3 -0
  148. package/dist/wcat.d.ts.map +1 -0
  149. package/dist/wcat.js +4 -0
  150. package/dist/wcat.js.map +1 -0
  151. package/package.json +10 -9
  152. package/dist/bundle/chunk-K6HR6HCO.js +0 -32
  153. package/dist/bundle/command-contract-XSW2Q33S.js +0 -36
  154. package/dist/bundle/first-screen-Z7HC6PQU.js +0 -34
  155. package/dist/bundle/server-34GEF22R.js +0 -68
  156. package/dist/bundle/store-maintenance-command-XH2JUM5F.js +0 -58
  157. /package/dist/bundle/{chunk-YVNHQFLC.js → chunk-XWBPP2HX.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,41 @@
2
2
 
3
3
  Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.26.0 — 13.11.2026
6
+
7
+ ### Added
8
+
9
+ - **`rules add --do meeting-notes:<provider>` saves meeting notes as meetings.** Each email the rule matches is kept whole,
10
+ protected, and on sync also saved as a meeting of that provider, linked to the calendar event in the same room that
11
+ day. Without a condition it matches the provider's sender: `--do meeting-notes:telemost` is
12
+ `keeper@telemost.yandex.ru`. `rules apply --yes` saves the notes stored before the rule; its dry run counts them.
13
+ `rules list`, `export` and `import` carry the flag.
14
+
15
+ ### Changed — may break callers
16
+
17
+ - **Built on cli-core 0.651.0** (was 0.648.0). A missing OAuth sign-in is now reason `session.missing` (was
18
+ `oauth.missing`), `ai.address-refused` is now `model.address-refused`, and a stale meeting project fingerprint exits
19
+ as `conflict` instead of `configuration_error`. The first screen lists `pbx`, the Asterisk tool. What changed in
20
+ between is in [cli-core's changelog](https://github.com/WireCatLabs/cli-core/blob/main/CHANGELOG.md).
21
+ - **Built on cli-core 0.648.0** (was 0.647.0). A profile name that no profile has now exits with code 6.
22
+ `store reset` is no longer offered over MCP. What changed in between is in
23
+ [cli-core's changelog](https://github.com/WireCatLabs/cli-core/blob/main/CHANGELOG.md).
24
+
25
+ ### Fixed
26
+
27
+ - **Two sign-ins that finish at the same time keep both records.** `sign-ins.json`, which `doctor` reads, is changed
28
+ under a lock, so one profile's record no longer overwrites another's.
29
+
30
+ ### Security
31
+
32
+ - **`contracts/wirecat.json` lists the hosts cli-core reaches for mail**: npm for `upgrade`, and Hugging Face and
33
+ GitHub for the model downloads and the hosts they redirect to. WireCat Desktop shows them before you install mail.
34
+ - **mail reaches only the hosts it declares.** Sign-in, the Google account check, server discovery and the sender
35
+ score's registry lookups go through `hostFetch`, which refuses any other host before a byte leaves and checks every
36
+ redirect. A discovery file or a registry that redirects to another host is no longer followed: discovery tries the
37
+ next source, and the registry lookup counts as failed and is asked again on a later run. The package ships
38
+ `contracts/wirecat.json`, so WireCat Desktop shows these hosts before you install mail.
39
+
5
40
  ## 0.25.0 — 13.11.2026
6
41
 
7
42
  ### Changed — may break callers
package/README.md CHANGED
@@ -72,6 +72,9 @@ You need Node.js 22.16 or a later 22.x, or 24 or later. To try it with no instal
72
72
  - **Decide what to keep.** `rules add|list|remove|import|export` keep the owner's rules on which mail to store whole,
73
73
  as an envelope or not at all; `rules apply` cuts stored mail to its envelope, and `messages delete --rules`
74
74
  moves envelope mail to Trash, each email decided again.
75
+ - **Meeting notes become meetings.** `rules add --do meeting-notes:telemost` marks the notes Yandex Telemost mails after
76
+ a meeting: each one is kept whole and also saved as a meeting, linked to your calendar event in the same room that
77
+ day. `rules apply --yes` does the same for notes already stored.
75
78
 
76
79
  ## For AI agents
77
80