@wirecat/mail-cli 0.33.0 → 0.35.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 (153) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/README.md +4 -1
  3. package/contracts/wirecat.json +54 -4
  4. package/dist/bin/mail.js +2 -2
  5. package/dist/bundle/agent-KWLCQCSC.js +39 -0
  6. package/dist/bundle/{all-profiles-W3CGXEEJ.js → all-profiles-6BDSMVOO.js} +63 -21
  7. package/dist/bundle/{anthropic-UMDO5AKP.js → anthropic-C3XUXUCJ.js} +8 -8
  8. package/dist/bundle/{app-server-4SICQ5RP.js → app-server-GUHDK4OR.js} +82 -64
  9. package/dist/bundle/{bun-QVVCH4MJ.js → bun-FN7AM4AG.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-CHD4AIUK.js → bun-sqlite-56IVBF22.js} +6 -6
  11. package/dist/bundle/{chunk-HFFHL7SV.js → chunk-2B67TUIF.js} +101 -69
  12. package/dist/bundle/{chunk-OOYIPK4F.js → chunk-2UNQTKRH.js} +1 -1
  13. package/dist/bundle/{chunk-LXUHYDNE.js → chunk-3ACF6TIV.js} +1 -1
  14. package/dist/bundle/chunk-3EV2B7KZ.js +726 -0
  15. package/dist/bundle/chunk-3KAJCOJP.js +109 -0
  16. package/dist/bundle/{chunk-2BFXHCZW.js → chunk-3WAZKCDF.js} +2 -2
  17. package/dist/bundle/{chunk-LKGJMM6W.js → chunk-46SBNO67.js} +12 -63
  18. package/dist/bundle/{chunk-LB5FTCPZ.js → chunk-4IASS7NQ.js} +128 -10
  19. package/dist/bundle/chunk-4U5ODZO7.js +360 -0
  20. package/dist/bundle/{chunk-QN423PC6.js → chunk-5WYBI35N.js} +3 -3
  21. package/dist/bundle/{chunk-GZYICXO4.js → chunk-5XQI7WCJ.js} +1 -1
  22. package/dist/bundle/{chunk-JUYUWMTG.js → chunk-635AFLZO.js} +4 -4
  23. package/dist/bundle/{chunk-2P44S7XK.js → chunk-6B4WZVLN.js} +36 -28
  24. package/dist/bundle/{chunk-47YNANPZ.js → chunk-6Q5THDNW.js} +3 -3
  25. package/dist/bundle/chunk-6VARUB3J.js +787 -0
  26. package/dist/bundle/{chunk-BRRHYXUP.js → chunk-7FXZKQAC.js} +87 -76
  27. package/dist/bundle/{chunk-EW3JFV7J.js → chunk-7JVKQ6NM.js} +4 -4
  28. package/dist/bundle/{chunk-OWAJN74H.js → chunk-7KMI47AP.js} +106 -257
  29. package/dist/bundle/{chunk-BF73DBAA.js → chunk-7PXAUMK5.js} +30 -15
  30. package/dist/bundle/{chunk-UX76GMQM.js → chunk-7YMLEWTX.js} +43 -64
  31. package/dist/bundle/{chunk-2L6D54BR.js → chunk-AISQNKT7.js} +8 -8
  32. package/dist/bundle/chunk-AV2ZJ4WX.js +7 -0
  33. package/dist/bundle/{chunk-OFMYFFEF.js → chunk-AXKIXVQA.js} +991 -1609
  34. package/dist/bundle/{chunk-UAV74EY4.js → chunk-CDGVYQXG.js} +1 -1
  35. package/dist/bundle/{chunk-RXUVXAMM.js → chunk-CFQQTDSA.js} +1 -1
  36. package/dist/bundle/chunk-CMGZXBJW.js +259 -0
  37. package/dist/bundle/{chunk-H46MANPR.js → chunk-DD2P67NP.js} +3 -3
  38. package/dist/bundle/{chunk-IBIFX2LK.js → chunk-DFHUJTP5.js} +2 -2
  39. package/dist/bundle/{chunk-DI74RP6R.js → chunk-DREU6TN6.js} +31 -85
  40. package/dist/bundle/{chunk-XQXYAOBV.js → chunk-DZHEVVXA.js} +53 -33
  41. package/dist/bundle/{chunk-LFBD6RTX.js → chunk-E6HSSKRX.js} +4 -4
  42. package/dist/bundle/{chunk-UYZDH5LK.js → chunk-EHAXFDDP.js} +1 -1
  43. package/dist/bundle/chunk-EU4J6GCJ.js +52 -0
  44. package/dist/bundle/{chunk-CHNNKHLL.js → chunk-EX4Z7CCO.js} +4051 -2788
  45. package/dist/bundle/chunk-G662S2M4.js +559 -0
  46. package/dist/bundle/{chunk-XN5KH24X.js → chunk-GG634DR3.js} +5 -5
  47. package/dist/bundle/{chunk-FSMCXQH2.js → chunk-GU3PYIV2.js} +2 -2
  48. package/dist/bundle/{chunk-SW7YGW3T.js → chunk-HF5QWKK2.js} +18 -8
  49. package/dist/bundle/chunk-HJDIMVFW.js +108 -0
  50. package/dist/bundle/chunk-HKWZG7CZ.js +334 -0
  51. package/dist/bundle/{chunk-BI5P7JWM.js → chunk-HM6AMYHR.js} +2 -2
  52. package/dist/bundle/{chunk-35AH33VJ.js → chunk-HVXOA4FO.js} +1 -1
  53. package/dist/bundle/{chunk-LXAX6AZU.js → chunk-I3QZCQJT.js} +6 -6
  54. package/dist/bundle/{chunk-I3UAD4EI.js → chunk-ILEKGH44.js} +68 -59
  55. package/dist/bundle/{chunk-SDWYOYGN.js → chunk-J5ULUTWE.js} +4 -4
  56. package/dist/bundle/{chunk-TK77DCE5.js → chunk-L4RCWRWS.js} +1 -1
  57. package/dist/bundle/chunk-MCJYJIH5.js +192 -0
  58. package/dist/bundle/{chunk-S6CHYNFE.js → chunk-NEDS4ORI.js} +2 -2
  59. package/dist/bundle/{chunk-QO7BK4WD.js → chunk-ODQCRZX5.js} +35 -12
  60. package/dist/bundle/chunk-OO4OKMNB.js +80 -0
  61. package/dist/bundle/{chunk-JCQ47WR4.js → chunk-OOQFBRNR.js} +144 -10
  62. package/dist/bundle/{chunk-LACMDMDI.js → chunk-OTP2HJ67.js} +9 -9
  63. package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
  64. package/dist/bundle/{chunk-AEKWEYIG.js → chunk-PQDQCCGG.js} +19 -19
  65. package/dist/bundle/{chunk-BZY5W35X.js → chunk-Q5U2HIBJ.js} +7 -7
  66. package/dist/bundle/{chunk-74BYHR44.js → chunk-QFMKCU42.js} +3738 -3415
  67. package/dist/bundle/{chunk-SYUIAMVA.js → chunk-QYCMB7JY.js} +373 -533
  68. package/dist/bundle/{chunk-KLLT572M.js → chunk-RBV2AM52.js} +2 -100
  69. package/dist/bundle/{chunk-6VCQ4CTK.js → chunk-RJNKM3CQ.js} +1 -1
  70. package/dist/bundle/{chunk-6IS4BEN4.js → chunk-RQHWSNX4.js} +4 -4
  71. package/dist/bundle/chunk-RQJGX7F7.js +170 -0
  72. package/dist/bundle/{chunk-RENCSP47.js → chunk-TARNPINT.js} +3 -3
  73. package/dist/bundle/chunk-TP2BCK2Z.js +721 -0
  74. package/dist/bundle/{chunk-MJ7DUSHT.js → chunk-TP766H4O.js} +18 -14
  75. package/dist/bundle/{chunk-2X344EUT.js → chunk-UHGKN5US.js} +8 -8
  76. package/dist/bundle/{chunk-L3MKFI3Y.js → chunk-UWDRU3R6.js} +2 -2
  77. package/dist/bundle/chunk-V4O47JV6.js +72 -0
  78. package/dist/bundle/{chunk-CIG4UVP6.js → chunk-W4JYGMTU.js} +14 -13
  79. package/dist/bundle/{chunk-JADBHKBP.js → chunk-W7ICCFG5.js} +1 -1
  80. package/dist/bundle/{chunk-MNJ3BMPZ.js → chunk-WDEVKKAD.js} +3 -3
  81. package/dist/bundle/{chunk-TBZLGT7R.js → chunk-WZKM5I7B.js} +23 -119
  82. package/dist/bundle/{chunk-MT7T5N2N.js → chunk-XKKYRMGG.js} +4 -4
  83. package/dist/bundle/chunk-XQNKAM26.js +338 -0
  84. package/dist/bundle/{chunk-UWF3SSRL.js → chunk-YA44BG3N.js} +58 -9
  85. package/dist/bundle/{chunk-Y2P2LC5R.js → chunk-YCIWSKOH.js} +9 -9
  86. package/dist/bundle/{chunk-7OYZU5SP.js → chunk-YQTRKNZQ.js} +4 -4
  87. package/dist/bundle/chunk-YRAJFTFU.js +353 -0
  88. package/dist/bundle/chunk-YTI533XF.js +29 -0
  89. package/dist/bundle/{chunk-UG2QDGAH.js → chunk-ZMYRPMAJ.js} +1 -1
  90. package/dist/bundle/{chunk-CZ6ZXDSO.js → chunk-ZX7HZDD6.js} +182 -562
  91. package/dist/bundle/{chunk-IPSLQX64.js → chunk-ZYEU35MB.js} +2 -2
  92. package/dist/bundle/command-contract-D5UXWHMS.js +39 -0
  93. package/dist/bundle/{command-server-entry-G2ZHCN5J.js → command-server-entry-TPJ47FYS.js} +28 -25
  94. package/dist/bundle/decode-XHUASXQK.js +296 -0
  95. package/dist/bundle/{dispatch-RHIK22OA.js → dispatch-MQZHGGVP.js} +8 -8
  96. package/dist/bundle/{dist-X5G2IMYG.js → dist-BAE4IQ52.js} +34 -29
  97. package/dist/bundle/dist-PAKDDIBT.js +191 -0
  98. package/dist/bundle/{echarts-UZJ6AREV.js → echarts-U7Z2PKIG.js} +2 -2
  99. package/dist/bundle/{embed-FEXLUH3T.js → embed-W7GPB6EI.js} +6 -6
  100. package/dist/bundle/{embedder-NHQARKFJ.js → embedder-T72XLFQ5.js} +9 -9
  101. package/dist/bundle/{failure-7DIA4OET.js → failure-MP6VKL5Y.js} +2 -2
  102. package/dist/bundle/{first-run-PS5NR2QG.js → first-run-C44TJXRI.js} +12 -12
  103. package/dist/bundle/first-screen-IESI7DAU.js +39 -0
  104. package/dist/bundle/{instructions-SDDUBGH4.js → instructions-WGMWQNPP.js} +1 -1
  105. package/dist/bundle/mail.js +12 -12
  106. package/dist/bundle/{mcp-GN4FTJX5.js → mcp-YGOAUNC3.js} +2 -2
  107. package/dist/bundle/meeting-combined-XGZBSWIQ.js +24 -0
  108. package/dist/bundle/meeting-model-QVHLD4WI.js +24 -0
  109. package/dist/bundle/meeting-semantic-QKQHUHXX.js +21 -0
  110. package/dist/bundle/{node-ELCNUOCE.js → node-WANDMJJQ.js} +2 -2
  111. package/dist/bundle/{node-sqlite-2E5MKZMH.js → node-sqlite-NM5XA4DR.js} +7 -7
  112. package/dist/bundle/{oauth-JGPEIY3M.js → oauth-6E63ELEE.js} +8 -8
  113. package/dist/bundle/{open-6DEMCZAB.js → open-5542RTLE.js} +5 -5
  114. package/dist/bundle/{openai-IVKDU5AH.js → openai-NOYNPFB5.js} +28 -26
  115. package/dist/bundle/{process-67DAKAAQ.js → process-7AEXXSBX.js} +1 -1
  116. package/dist/bundle/{program-ESJDQMAJ.js → program-VMA5CGNR.js} +5712 -3640
  117. package/dist/bundle/{prompt-ZBWOT5KG.js → prompt-WYYO4AJL.js} +5 -5
  118. package/dist/bundle/{recognize-UUBH2DOH.js → recognize-UGCCOMAS.js} +4 -4
  119. package/dist/bundle/{remote-UYTNWNOB.js → remote-VZS6BNQB.js} +9 -9
  120. package/dist/bundle/{rerank-X2633CQN.js → rerank-O46D5GJ2.js} +7 -7
  121. package/dist/bundle/{serve-CP7Q4OVW.js → serve-QAAF2LCW.js} +10 -10
  122. package/dist/bundle/server-456MYK3X.js +84 -0
  123. package/dist/bundle/{server-I7MXRSAG.js → server-Q3PUZLLX.js} +77 -58
  124. package/dist/bundle/{sqlite-runtime-BX55LI5G.js → sqlite-runtime-EQBCDO2U.js} +6 -6
  125. package/dist/bundle/{state-LLNJQXFH.js → state-XIOHYXCR.js} +6 -6
  126. package/dist/bundle/{store-N27XI3VV.js → store-OXJZZUR7.js} +34 -17
  127. package/dist/bundle/{store-K4KU5N75.js → store-VJBL5XKR.js} +30 -20
  128. package/dist/bundle/store-maintenance-command-D7XYIX52.js +71 -0
  129. package/dist/bundle/surface-N7LK7PKN.js +70 -0
  130. package/dist/commands/read.d.ts +2 -2
  131. package/dist/commands/read.d.ts.map +1 -1
  132. package/dist/commands/read.js +5 -4
  133. package/dist/commands/read.js.map +1 -1
  134. package/dist/commands/sync.d.ts +2 -1
  135. package/dist/commands/sync.d.ts.map +1 -1
  136. package/dist/commands/sync.js +16 -9
  137. package/dist/commands/sync.js.map +1 -1
  138. package/dist/config.d.ts +6 -0
  139. package/dist/config.d.ts.map +1 -1
  140. package/dist/config.js +16 -1
  141. package/dist/config.js.map +1 -1
  142. package/dist/identity.d.ts.map +1 -1
  143. package/dist/identity.js +2 -2
  144. package/dist/identity.js.map +1 -1
  145. package/dist/version.d.ts +1 -1
  146. package/dist/version.js +1 -1
  147. package/package.json +3 -3
  148. package/dist/bundle/chunk-BDCC2J2Z.js +0 -2
  149. package/dist/bundle/command-contract-NRNQAFFE.js +0 -36
  150. package/dist/bundle/decode-U6V6D6XH.js +0 -162
  151. package/dist/bundle/first-screen-C2WTLOG2.js +0 -34
  152. package/dist/bundle/server-QGTMJ7SF.js +0 -67
  153. package/dist/bundle/store-maintenance-command-VPAFQCNA.js +0 -58
@@ -0,0 +1,109 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+
4
+ // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/ports/wirecat-tools.js
5
+ var WIRECAT_TOOLS = [
6
+ {
7
+ command: "tg",
8
+ appName: "tg-cli",
9
+ envPrefix: "TG",
10
+ package: "@wirecat/tg-cli",
11
+ does: "Telegram in the same local store: search, review and tasks offline"
12
+ },
13
+ {
14
+ command: "max",
15
+ appName: "max-cli",
16
+ envPrefix: "MAX",
17
+ package: "@wirecat/max-cli",
18
+ does: "MAX in the same local store: search, review and tasks offline"
19
+ },
20
+ {
21
+ command: "wa",
22
+ appName: "whatsapp-cli",
23
+ envPrefix: "WA",
24
+ package: "@wirecat/whatsapp-cli",
25
+ does: "WhatsApp in the same local store: search, review and tasks offline"
26
+ },
27
+ {
28
+ command: "zm",
29
+ appName: "zoom-cli",
30
+ envPrefix: "ZM",
31
+ package: "@wirecat/zoom-cli",
32
+ does: "Zoom meetings: transcripts and summaries, searchable with your other WireCat data"
33
+ },
34
+ {
35
+ command: "drive",
36
+ appName: "drive-cli",
37
+ envPrefix: "DRIVE",
38
+ package: "@wirecat/drive-cli",
39
+ does: "Google Drive and Docs as local text, searchable with your other WireCat data"
40
+ },
41
+ {
42
+ command: "gcal",
43
+ appName: "gcal-cli",
44
+ envPrefix: "GCAL",
45
+ package: "@wirecat/gcal-cli",
46
+ does: "Google Calendar events, searchable with your other WireCat data"
47
+ },
48
+ {
49
+ command: "memo",
50
+ appName: "cli-memo",
51
+ envPrefix: "MEMO",
52
+ package: "@wirecat/cli-memo",
53
+ shown: "memo context <person>",
54
+ does: "one person across messengers, mail, notes and meetings"
55
+ },
56
+ {
57
+ command: "mail",
58
+ appName: "mail-cli",
59
+ envPrefix: "MAIL",
60
+ package: "@wirecat/mail-cli",
61
+ does: "IMAP mail in the same local store: search your mailbox offline, next to your other WireCat data"
62
+ },
63
+ {
64
+ command: "b24",
65
+ appName: "bitrix24-cli",
66
+ envPrefix: "B24",
67
+ package: "@wirecat/bitrix24-cli",
68
+ does: "Bitrix24 CRM: deals, leads and pipelines, searchable with your other WireCat data"
69
+ },
70
+ {
71
+ command: "amo",
72
+ appName: "amo-cli",
73
+ envPrefix: "AMO",
74
+ package: "@wirecat/amo-cli",
75
+ does: "amoCRM and Kommo: deals, contacts and companies, searchable with your other WireCat data"
76
+ },
77
+ {
78
+ command: "pbx",
79
+ appName: "asterisk-cli",
80
+ envPrefix: "PBX",
81
+ package: "@wirecat/asterisk-cli",
82
+ does: "Asterisk PBX calls and recordings, searchable with your other WireCat data"
83
+ },
84
+ {
85
+ command: "notion",
86
+ appName: "notion-cli",
87
+ envPrefix: "WCNOTION",
88
+ package: "@wirecat/notion-cli",
89
+ does: "Notion pages and databases as local text, searchable with your other WireCat data"
90
+ },
91
+ {
92
+ command: "ydisk",
93
+ appName: "yandex-disk-cli",
94
+ envPrefix: "YDISK",
95
+ package: "@wirecat/yandex-disk-cli",
96
+ does: "Yandex Disk folders as local text, searchable with your other WireCat data"
97
+ },
98
+ {
99
+ command: "wordpress",
100
+ appName: "wordpress-cli",
101
+ envPrefix: "WCWP",
102
+ package: "@wirecat/wordpress-cli",
103
+ does: "WordPress posts and pages, searchable with your other WireCat data"
104
+ }
105
+ ];
106
+
107
+ export {
108
+ WIRECAT_TOOLS
109
+ };
@@ -7,12 +7,12 @@ import {
7
7
  import {
8
8
  singleLine,
9
9
  visibleControls
10
- } from "./chunk-BI5P7JWM.js";
10
+ } from "./chunk-HM6AMYHR.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/render/messages.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/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);
@@ -1,12 +1,15 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
- import {
4
- commandPathOf,
5
- outputOf
6
- } from "./chunk-XN5KH24X.js";
7
3
  import {
8
4
  wrapAnsi
9
5
  } from "./chunk-HTQTIKWP.js";
6
+ import {
7
+ WIRECAT_TOOLS
8
+ } from "./chunk-3KAJCOJP.js";
9
+ import {
10
+ commandPathOf,
11
+ outputOf
12
+ } from "./chunk-GG634DR3.js";
10
13
  import {
11
14
  Command,
12
15
  Help,
@@ -17,18 +20,18 @@ import {
17
20
  environmentOf,
18
21
  metaOf,
19
22
  takesProfile
20
- } from "./chunk-SYUIAMVA.js";
23
+ } from "./chunk-QYCMB7JY.js";
21
24
  import {
22
25
  writes
23
- } from "./chunk-UWF3SSRL.js";
26
+ } from "./chunk-YA44BG3N.js";
24
27
  import {
25
28
  CliError
26
- } from "./chunk-BI5P7JWM.js";
29
+ } from "./chunk-HM6AMYHR.js";
27
30
  import {
28
31
  __name
29
32
  } from "./chunk-ZVVMGPBJ.js";
30
33
 
31
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
32
35
  var ARGUMENT_KINDS = {
33
36
  chat: "chat",
34
37
  chats: "chat",
@@ -221,60 +224,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
221
224
  command.addHelpText("after", () => commandHelpText(command));
222
225
  }, "installCommandHelp");
223
226
 
224
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
225
- var WIRECAT_TOOLS = [
226
- {
227
- command: "tg",
228
- package: "@wirecat/tg-cli",
229
- does: "Telegram in the same local store: search, review and tasks offline"
230
- },
231
- {
232
- command: "max",
233
- package: "@wirecat/max-cli",
234
- does: "MAX in the same local store: search, review and tasks offline"
235
- },
236
- {
237
- command: "wa",
238
- package: "@wirecat/whatsapp-cli",
239
- does: "WhatsApp in the same local store: search, review and tasks offline"
240
- },
241
- {
242
- command: "zm",
243
- package: "@wirecat/zoom-cli",
244
- does: "Zoom meetings: transcripts and summaries, searchable with your other WireCat data"
245
- },
246
- {
247
- command: "drive",
248
- package: "@wirecat/drive-cli",
249
- does: "Google Drive and Docs as local text, searchable with your other WireCat data"
250
- },
251
- {
252
- command: "gcal",
253
- package: "@wirecat/gcal-cli",
254
- does: "Google Calendar events, searchable with your other WireCat data"
255
- },
256
- {
257
- command: "memo",
258
- package: "@wirecat/cli-memo",
259
- shown: "memo context <person>",
260
- does: "one person across messengers, mail, notes and meetings"
261
- },
262
- {
263
- command: "mail",
264
- package: "@wirecat/mail-cli",
265
- does: "IMAP mail in the same local store: search your mailbox offline, next to your other WireCat data"
266
- },
267
- {
268
- command: "b24",
269
- package: "@wirecat/bitrix24-cli",
270
- does: "Bitrix24 CRM: deals, leads and pipelines, searchable with your other WireCat data"
271
- },
272
- {
273
- command: "pbx",
274
- package: "@wirecat/asterisk-cli",
275
- does: "Asterisk PBX calls and recordings, searchable with your other WireCat data"
276
- }
277
- ];
227
+ // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
278
228
  var WIDTH = 100;
279
229
  var widest = /* @__PURE__ */ __name((texts) => texts.reduce((most, text) => Math.max(most, text.length), 0), "widest");
280
230
  var block = /* @__PURE__ */ __name((title, rows, column) => rows.length === 0 ? [] : ["", `${title}:`, ...rows.map(([left, right]) => ` ${left.padEnd(column)}${right}`)], "block");
@@ -364,7 +314,6 @@ var installHelp = /* @__PURE__ */ __name((program, screen = {}) => {
364
314
  }, "installHelp");
365
315
 
366
316
  export {
367
- WIRECAT_TOOLS,
368
317
  firstScreen,
369
318
  installHelp
370
319
  };
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  QUERY_REASONS
5
- } from "./chunk-OFMYFFEF.js";
5
+ } from "./chunk-AXKIXVQA.js";
6
6
  import {
7
7
  defineReasons
8
- } from "./chunk-UWF3SSRL.js";
8
+ } from "./chunk-YA44BG3N.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/errors/reasons.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/errors/reasons.js
14
14
  var validation = /* @__PURE__ */ __name((reason, message) => [reason, "validation_error", message], "validation");
15
15
  var QUERY = [
16
16
  ["query.aborted", "the search was stopped before it finished"],
@@ -32,10 +32,16 @@ var SIGN_IN = [
32
32
  ["oauth.timeout", "timeout", "the sign-in was not finished in time"],
33
33
  ["oauth.mismatch", "authentication_error", "the pasted sign-in result belongs to another sign-in"],
34
34
  ["session.missing", "authentication_error", "this profile is not signed in: no saved sign-in or API token"],
35
+ ["session.unreadable", "configuration_error", "the profile's stored secrets cannot be read; sign in again"],
35
36
  ["oauth.locked", "provider_unavailable", "another process holds this sign-in's lock"],
36
37
  ["oauth.no-response", "outcome_unknown", "the token request did not finish"],
37
38
  ["oauth.unavailable", "provider_unavailable", "the provider's token endpoint is unavailable"],
38
39
  ["oauth.expired", "authentication_error", "the provider refused the saved sign-in; sign in again"],
40
+ [
41
+ "oauth.moved-rotating",
42
+ "authentication_error",
43
+ "a run with moved folders cannot refresh a sign-in whose refresh token rotates"
44
+ ],
39
45
  ["oauth.invalid-response", "invalid_response", "the provider's token response could not be used"],
40
46
  ["oauth.failed", "authentication_error", "the provider returned no offline refresh token"],
41
47
  ["oauth.revoke-failed", "outcome_unknown", "the provider did not confirm the revoke"],
@@ -48,6 +54,7 @@ var SIGN_IN = [
48
54
  ["sign-in.secret-without-id", "configuration_error", "an OAuth client secret is set without its client id"],
49
55
  validation("account-remove.no-choice", "account remove needs --keep-data or --delete-data, one of them"),
50
56
  ["account-remove.unknown-profile", "not_found", "no profile by this name on this computer"],
57
+ validation("profile.missing", "no profile named, and none is picked for the owner; details.profiles lists the ones here"),
51
58
  ["profile.unknown", "not_found", "no profile by this name on this computer; details.profiles lists the ones here"],
52
59
  ["account-remove.busy", "conflict", "a serve or a sync runs for this profile; stop it first"],
53
60
  ["account-remove.unconfirmed", "confirmation_required", "removing an account asks first; add --yes"],
@@ -62,12 +69,15 @@ var PROVIDER_API = [
62
69
  ["offline.refused", "permission_error", "this command needs the provider; --offline was given"],
63
70
  validation("api.unknown-method", "the provider has no method by this name"),
64
71
  ["api.disabled", "configuration_error", "the provider's API is turned off for this OAuth project"],
72
+ ["manifest.invalid", "configuration_error", "the source manifest does not match its shape or the generated API"],
73
+ ["verify.no-id", "provider_error", "the answer to the sign-in check holds no account id where auth.verify says"],
65
74
  ["provider.usage-limit", "rate_limited", "the account's usage limit at the provider is reached; wait, do not retry"],
66
75
  ["access.denied", "permission_error", "the provider refused this account access to the item"],
67
76
  ["item.not-found", "not_found", "the provider has no item by this id, or this account cannot see it"],
68
77
  ["file.not-found", "not_found", "the file named, or its folder, does not exist"],
69
78
  validation("file.not-a-file", "the path names a folder or another thing that is not a file"),
70
- ["file.denied", "permission_error", "the file cannot be opened: permission denied"]
79
+ ["file.denied", "permission_error", "the file cannot be opened: permission denied"],
80
+ validation("file.too-large", "the file is larger than the limit set for this read")
71
81
  ];
72
82
  var SFTP = [
73
83
  ["sftp.host-key-missing", "configuration_error", "no host key is pinned for the SFTP server"],
@@ -77,7 +87,21 @@ var SFTP = [
77
87
  ["sftp.library-missing", "configuration_error", "SFTP needs the ssh2 package in the CLI's dependencies"],
78
88
  ["sftp.timeout", "timeout", "the SFTP server did not answer in time"],
79
89
  validation("sftp.too-large", "the file is larger than the read's byte limit"),
80
- validation("sftp.closed", "the SFTP connection was closed before the operation")
90
+ validation("sftp.closed", "the SFTP connection was closed before the operation"),
91
+ validation("sftp.file-changed", "the file changed on the server while a stream read it; read it again"),
92
+ ["ssh.forward-refused", "permission_error", "the SSH server does not allow forwarding to that address"],
93
+ ["ssh.forward-failed", "network_error", "the SSH server could not reach the address behind it"]
94
+ ];
95
+ var SQL = [
96
+ validation("sql.bad-identifier", "a table or column name is not a plain identifier"),
97
+ ["sql.library-missing", "configuration_error", "this database needs the mysql2 or pg package in the CLI"],
98
+ ["db.refused", "authentication_error", "the database server refused the user or password"],
99
+ ["db.no-database", "not_found", "the database server has no such database"],
100
+ ["db.no-table", "not_found", "the database has no such table"],
101
+ ["db.no-select", "permission_error", "the database user may not read the table; grant it SELECT"],
102
+ ["db.read-only", "permission_error", "the database refused a write: the connection only reads"],
103
+ ["db.timeout", "timeout", "the database server did not answer in time"],
104
+ ["db.failed", "provider_error", "the database server failed the query"]
81
105
  ];
82
106
  var OTHERS = [
83
107
  validation("doctor.report-exists", "the report's file exists; a problem report never overwrites a file"),
@@ -109,6 +133,13 @@ var OTHERS = [
109
133
  ["ai.images-not-allowed", "permission_error", "the AI model may not read pictures; models ai set --allow-remote"],
110
134
  ["picture-reading.off", "permission_error", "picture reading is never; models picture-reading set request"],
111
135
  ["picture-reading.owner-only", "permission_error", "only the owner turns picture reading on, not an agent"],
136
+ [
137
+ "chat-sending.denied",
138
+ "permission_error",
139
+ "models chats is denied: chat text never goes to a model off this computer, even with --yes"
140
+ ],
141
+ ["chat-sending.ask", "confirmation_required", "models chats is ask: pass --yes, or the owner sets it to allowed"],
142
+ ["chat-sending.owner-only", "permission_error", "only the owner makes models chats less strict, not an agent"],
112
143
  validation("picture-reading.agent-missing", "choose the agent that reads: --agent claude or --agent codex"),
113
144
  validation("picture-reading.not-a-picture", "the file is not a PNG, JPEG or WebP picture"),
114
145
  ["picture-reading.unavailable-file", "not_found", "the picture could not be fetched, or is over the size limit"],
@@ -163,7 +194,17 @@ var OTHERS = [
163
194
  validation("document.changed", "the document changed while it was read; nothing was saved"),
164
195
  ["document.not-imported", "not_found", "the document is not imported in this source account"],
165
196
  ["document.not-found", "not_found", "no listed document has that reference"],
197
+ ["state.unreadable", "configuration_error", "a sync state file cannot be read; move it away and sync again"],
198
+ ["profile.busy", "provider_unavailable", "another sync or write holds this profile's local copy"],
199
+ ["profile.account-taken", "conflict", "another profile here already uses this provider account"],
200
+ ["profile.other-account", "conflict", "this profile's copy was synced from another provider account"],
201
+ ["profile.not-synced", "not_found", "the profile has no local copy yet; sync it first"],
202
+ ["provider.failed", "provider_error", "a read from the provider failed"],
203
+ ["identity.none", "not_found", "the provider shows no accounts on a document"],
204
+ validation("folder.not-a-folder", "what was named is not a folder the account can read"),
205
+ ["folder.not-chosen", "not_found", "the folder is not among the chosen folders"],
166
206
  ["meeting.not-found", "not_found", "no meeting row has that event or meeting reference"],
207
+ ["listing.too-large", "provider_error", "the listing is over its bound; the checkpoint was kept"],
167
208
  ["listing.source-not-found", "not_found", "a source: term names no account holding what is listed"],
168
209
  validation("query.empty-window", "the time window ends before it starts, so no row can fall in it"),
169
210
  ["extraction.invalid-proposals", "invalid_response", "the model's memory proposals could not be used"],
@@ -172,6 +213,8 @@ var OTHERS = [
172
213
  validation("mail.cursor-ahead", "an acknowledge cursor is past the newest stored email"),
173
214
  ["mail.holder-not-yours", "permission_error", "a run moves only the mark of the holder its schedule names"],
174
215
  ["mail.no-mark", "not_found", "the holder has no mark in the mailbox yet; its first review starts it"],
216
+ ["mail.inbox-agent", "permission_error", "an agent sorts mail itself from review; inbox --offline lists"],
217
+ ["mail.inbox-answer-invalid", "invalid_response", "the AI model's answer to inbox is not the JSON it asks for"],
175
218
  ["mail.reset-owner-only", "permission_error", "only the owner moves a holder's mark back"],
176
219
  ["mail.source-failed", "provider_error", "the mail server refused or did not complete a request"],
177
220
  ["mail.search-refused", "provider_error", "the mail server refused to search a folder"],
@@ -181,6 +224,29 @@ var OTHERS = [
181
224
  "the email could not be read again, so its skipped attachments have no text"
182
225
  ],
183
226
  ["mirror.partial", "provider_error", "some mirrored files were not synced"],
227
+ ["mirror.none", "not_found", "the profile has no mirrors; add one with mirrors add"],
228
+ ["mirror.not-found", "not_found", "no such mirror in this profile; see mirrors list"],
229
+ validation("mirror.not-folder", "the path to mirror is not a folder"),
230
+ validation("mirror.symlink", "the file is under a symbolic link, which the sync does not follow"),
231
+ [
232
+ "mirror.too-many-deletions",
233
+ "confirmation_required",
234
+ "the sync would delete more files than the guard allows; check them with --dry-run and allow them explicitly"
235
+ ],
236
+ [
237
+ "mirror.version-not-kept",
238
+ "provider_error",
239
+ "the earlier content could not be kept in the version store, so the sync did not replace it"
240
+ ],
241
+ ["mirror.remote-changed", "conflict", "the remote file changed since the listing; the next sync settles it"],
242
+ ["upload.mismatch", "conflict", "the uploaded file reads back with other content; the local file changed meanwhile"],
243
+ ["download.mismatch", "invalid_response", "the downloaded file has other content than the listing said"],
244
+ ["catalog.unavailable", "configuration_error", "the store has no shared catalog for this account"],
245
+ ["catalog.not-found", "not_found", "the file or folder is not in the local catalog; run catalog import or sync"],
246
+ validation("catalog.depth-invalid", "tree depth must be between 0 and 50"),
247
+ ["catalog.cycle", "invalid_response", "local folder ancestry contains a cycle"],
248
+ validation("catalog.tree-limit", "the tree is over 10000 entries; name a smaller folder or lower --depth"),
249
+ validation("export.exists", "the output file already exists"),
184
250
  ["profile.wrong-account", "authentication_error", "the signed-in source account does not match this profile"],
185
251
  validation("push.too-many-files", "the folder holds more files than one push takes"),
186
252
  validation("push.unreadable", "the folder to push could not be read"),
@@ -191,7 +257,7 @@ var OTHERS = [
191
257
  "the settings file's damage has more than one reading; nothing was changed, so it is fixed by hand"
192
258
  ],
193
259
  ["state.invalid", "configuration_error", "the saved sync state is unreadable or invalid; it is kept, not reset"],
194
- ["sync.partial", "provider_error", "some calendars did not sync; the next sync retries them"],
260
+ ["sync.partial", "provider_error", "some sources did not sync; the next sync retries them"],
195
261
  validation("event.conflict", "the event changed at the provider since the last sync; sync and try again"),
196
262
  validation("event.notify-required", "the event has other attendees; say whether to notify them"),
197
263
  validation("remind.window", "--due-within is outside 1m to 1d"),
@@ -202,6 +268,7 @@ var OTHERS = [
202
268
  "the reminder program failed for some events; the next run retries them"
203
269
  ],
204
270
  ["sync.failed", "provider_error", "the sync failed; the answer comes from what the store already holds"],
271
+ validation("event.conference-exists", "the event has a meeting link already, which its attendees use"),
205
272
  validation("event.repeat-invalid", "the repeat rule is outside the RFC 5545 subset the calendars take"),
206
273
  validation("event.repeat-kind", "the series' rule holds a date or a time of the kind the event is leaving"),
207
274
  validation("event.repeat-split", "the series cannot be split at this occurrence, or was split there already"),
@@ -251,6 +318,7 @@ var OTHERS = [
251
318
  ["meetings.server-unreachable", "network_error", "the meetings service could not be reached"],
252
319
  ["meetings.server-signed-out", "authentication_error", "the meetings service needs a sign-in"],
253
320
  ["meetings.server-refused", "permission_error", "the meetings service refused the request"],
321
+ ["meetings.server-rate-limited", "rate_limited", "the meetings service asked to wait before more requests"],
254
322
  ["meetings.server-failed", "provider_error", "the meetings service could not be read, or what it returned kept"],
255
323
  [
256
324
  "meetings.server-capped",
@@ -324,6 +392,7 @@ var OTHERS = [
324
392
  validation("index.not-ready", "the search index is still being built"),
325
393
  validation("input.closed", "the input closed before the answer"),
326
394
  validation("input.empty", "a hidden prompt got an empty answer three times"),
395
+ validation("input.incomplete", "the answers stop before the step that checks them"),
327
396
  validation("input.required", "the command needs an answer and cannot ask for one"),
328
397
  validation("input.too-large", "the input is over its size limit"),
329
398
  ["meeting-project.stale", "conflict", "the meeting's project changed meanwhile"],
@@ -380,6 +449,7 @@ var OTHERS = [
380
449
  validation("deal.field", "a field of the deal or lead is not valid"),
381
450
  ["deal.denied", "permission_error", "the profile denies listing deals or leads, so none is answered"],
382
451
  ["deal.out-of-scope", "not_found", "the deal or lead is a copy from an account outside the accounts asked for"],
452
+ ["deal.not-readable", "not_found", "the deal or lead is a copy the profile's CRM sign-in may not read"],
383
453
  validation("deal.ref", "the reference names no deal or lead"),
384
454
  validation("deal.stage", "no stage of that name, or a stage name more than one pipeline has"),
385
455
  validation("stage.base-field", "a base stage needs a name its set has once and a position within the set"),
@@ -401,17 +471,55 @@ var OTHERS = [
401
471
  validation("pipeline.duplicate", "a pipeline of that name and kind is already stored"),
402
472
  validation("pipeline.field", "a pipeline needs a name and at least one stage, each named once"),
403
473
  ["pipeline.not-found", "not_found", "no stored pipeline has that name or reference"],
474
+ validation("crm.self-from-sync", "only a sync records whose CRM copy it is; config unset hands the copy to the next sync"),
404
475
  validation("crm.stage-unknown", "a CRM item stands in a stage the store does not hold; it was not kept"),
405
- validation("crm.item-invalid", "a CRM item has a field the store refuses, such as a currency it does not keep"),
476
+ validation("crm.item-invalid", "a CRM item has a field the store refuses, such as a status it does not know"),
477
+ validation("crm.amount-unkept", "a CRM deal's amount is in a currency or with decimals the store cannot hold: the deal is kept without it"),
406
478
  validation("crm.pipeline-required", "the CRM has more than one pipeline of the kind; the command names one"),
407
479
  validation("field.unknown", "no custom field of the kind has that code or label; `fields list` lists them"),
408
480
  validation("field.ambiguous", "more than one custom field has that label; name one by its code"),
409
481
  validation("field.unknown-option", "the list field has no option with that id or label"),
482
+ validation("crm.record-ambiguous", "more than one contact or company has that name; name one by its id"),
483
+ validation("field.ambiguous-option", "more than one option of the list field has that label; name one by its id"),
410
484
  validation("field.unknown-kind", "fields are listed for deals, leads, people and organizations only"),
485
+ [
486
+ "crm.foreign-contacts-spent",
487
+ "permission_error",
488
+ "the day's reads of records that are not yours (contacts, companies, other people's files) are spent"
489
+ ],
490
+ validation("crm.files-limit-range", "a files setting takes a whole number within its range; it is never clamped"),
491
+ validation("crm.file-too-large", "the file is larger than the download may take; --max-size raises it up to 2048 MB"),
492
+ validation("crm.files-disk-full", "the account's files folder is at its files.max_total_mb even after dropping"),
493
+ ["crm.file-unavailable", "provider_error", "the CRM did not give the file; its link is never shown"],
494
+ ["crm.files-denied", "permission_error", "the profile's files.download level stops downloading files"],
495
+ [
496
+ "crm.file-exists",
497
+ "conflict",
498
+ "the --dir folder already holds a file of that name, which a download never overwrites"
499
+ ],
500
+ ["crm.scope-missing", "permission_error", "the CRM sign-in lacks a scope one kind of a record's files needs"],
501
+ [
502
+ "crm.client-reads-admin-only",
503
+ "permission_error",
504
+ "a raw api call that reads contacts or companies is the CRM administrator's"
505
+ ],
506
+ validation("field.not-filterable", "the CRM cannot filter a list by that custom field"),
507
+ validation("query.bad-value", "a term's value is not the kind its field takes, such as an id or a number"),
508
+ validation("crm.record-field", "a contact's or company's field is not valid"),
509
+ validation("crm.owner-unknown", "owner: names no CRM user: me without a known sign-in user, or not a user id"),
411
510
  validation("crm.write-unsupported", "the CRM does not take this write, or does not recognise a repeated one"),
412
511
  validation("crm.unlisted-held", "a list of every id would mark most of a kind deleted; nothing was, until --rescan"),
512
+ validation("tracker.unlisted-held", "a tracker's id list would mark too much deleted, or the sign-in read only part; nothing was, until --rescan"),
513
+ validation("content.unlisted-held", "a content id list would mark too much deleted, the sign-in read only part, or the site moved; nothing was"),
514
+ validation("content.conflict", "the post changed at the source since the last sync; sync, then write again"),
515
+ validation("content.lossy-body", "the post's text holds blocks or embeds Markdown does not keep; --replace-body"),
516
+ validation("content.schedule-past", "a post is scheduled for a time to come, not one that passed"),
517
+ validation("content.already-published", "a published post cannot be scheduled; unpublish it first"),
518
+ validation("content.empty", "a write names no field to set"),
519
+ ["content.get-unsupported", "configuration_error", "the source cannot read one post, author or term by its id"],
520
+ validation("content.write-unsupported", "the source does not take this write, such as a deletion past the trash"),
413
521
  validation("crm.narrowing-held", "the default scope mine would mark most of a kind's stored rows deleted; none is, until the owner sets the scope"),
414
- validation("crm.unassigned-dropped", "the CRM does not let this sign-in count a user in unassigned as nobody's; that user's deals are not copied"),
522
+ validation("crm.unassigned-dropped", "the CRM does not let this sign-in choose a user in unassigned; that user's deals are not copied"),
415
523
  validation("crm.not-reported", "the CRM did not list users or departments; what they would say is unknown, nothing withdrawn"),
416
524
  validation("crm.reference-unknown", "a CRM row names a contact, company or user the store does not hold; that link was not made"),
417
525
  validation("crm.pending-dropped", "relationships waited too long for an end that never came; they were dropped"),
@@ -475,6 +583,11 @@ var OTHERS = [
475
583
  "conflict",
476
584
  "the people a merge or a proposed link names changed since; undo the later merge, or propose the link again"
477
585
  ],
586
+ [
587
+ "identity.merge-conflict",
588
+ "conflict",
589
+ "a row of the renamed identity has no counterpart on the identity it merges into; the pair is left as it was"
590
+ ],
478
591
  ["identity.no-merge", "not_found", "nothing of that person is merged into the other; people show lists the merges"],
479
592
  validation("identity.held-elsewhere", "the identity sits on another person than the one named; name that person to take it off them"),
480
593
  validation("identity.several-persons", "the identities that leave a person are all of that one person"),
@@ -490,6 +603,7 @@ var OTHERS = [
490
603
  "the owner rejected linking these people on this evidence; only a new signal or identity proposes them again"
491
604
  ],
492
605
  validation("identity.same", "the two identities are one person already"),
606
+ validation("identity.agent-unnamed", "an agent's link names the agent, and never as the owner"),
493
607
  validation("identity.not-shared", "only a match on a shared mailbox can say the mailbox is a company's"),
494
608
  ["organization.not-found", "not_found", "no stored organization has that id"],
495
609
  validation("organization.unnamed", "a free mailbox names no company; name the organization or the company"),
@@ -612,7 +726,7 @@ var INPUT_FIELD_REASONS = defineReasons([
612
726
  var REASONS = defineReasons([
613
727
  ...QUERY_REASONS,
614
728
  ...INPUT_FIELD_REASONS,
615
- ...[...QUERY, ...SIGN_IN, ...PROVIDER_API, ...SFTP, ...OTHERS].map(([reason, code, message]) => ({
729
+ ...[...QUERY, ...SIGN_IN, ...PROVIDER_API, ...SFTP, ...SQL, ...OTHERS].map(([reason, code, message]) => ({
616
730
  reason,
617
731
  code,
618
732
  message,
@@ -620,6 +734,8 @@ var REASONS = defineReasons([
620
734
  }))
621
735
  ]);
622
736
  var DETAILS = [
737
+ "holders",
738
+ "profile",
623
739
  "contracts",
624
740
  "calendars",
625
741
  "allowed",
@@ -689,6 +805,8 @@ var DETAILS = [
689
805
  ];
690
806
  var SHARED = { reasons: REASONS, details: DETAILS };
691
807
  var merged = /* @__PURE__ */ new WeakMap();
808
+ var coreCodes = new Map(REASONS.map((entry) => [entry.reason, entry.code]));
809
+ var sameAsCore = /* @__PURE__ */ __name((entry) => coreCodes.get(entry.reason) === entry.code, "sameAsCore");
692
810
  var failureContext = /* @__PURE__ */ __name((errors) => {
693
811
  if (!errors)
694
812
  return SHARED;
@@ -699,7 +817,7 @@ var failureContext = /* @__PURE__ */ __name((errors) => {
699
817
  if (unnamed.length > 0)
700
818
  throw new Error(`error details must be snake_case: ${unnamed.join(", ")}`);
701
819
  const context = {
702
- reasons: defineReasons([...REASONS, ...errors.reasons ?? []]),
820
+ reasons: defineReasons([...REASONS, ...(errors.reasons ?? []).filter((entry) => !sameAsCore(entry))]),
703
821
  details: [.../* @__PURE__ */ new Set([...DETAILS, ...errors.details ?? []])]
704
822
  };
705
823
  merged.set(errors, context);