@wirecat/cli-memo 0.131.46 → 0.131.48

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 (132) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-I2JBJDOR.js → all-profiles-5YVSKBEV.js} +9 -9
  3. package/dist/bundle/{anthropic-CARSCLDG.js → anthropic-BMK6F36V.js} +6 -6
  4. package/dist/bundle/{app-server-SAMZMY3C.js → app-server-PUBWKHUG.js} +48 -45
  5. package/dist/bundle/auto-FXCXORUF.js +86 -0
  6. package/dist/bundle/{bun-T6E2RGI5.js → bun-ZBM364I6.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-WWDLRDBW.js → bun-sqlite-YLBILWBE.js} +5 -5
  8. package/dist/bundle/{chunk-PIHAI7NF.js → chunk-2O32QNK3.js} +7 -7
  9. package/dist/bundle/{chunk-HE535VWC.js → chunk-3A3KPJHP.js} +4 -4
  10. package/dist/bundle/{chunk-XB43J5VQ.js → chunk-3LA6OE35.js} +9 -9
  11. package/dist/bundle/{chunk-IQJQLLAV.js → chunk-4FDK7LVF.js} +7 -7
  12. package/dist/bundle/{chunk-3ZLDPPI4.js → chunk-5BDWOMH6.js} +6 -6
  13. package/dist/bundle/{chunk-IFGMJXND.js → chunk-66KZBRZN.js} +3 -3
  14. package/dist/bundle/{chunk-JY34MQW4.js → chunk-7RNHFNHX.js} +4 -4
  15. package/dist/bundle/{chunk-CWBRCYDY.js → chunk-ADV7DNGM.js} +5 -5
  16. package/dist/bundle/{chunk-YFZ45S6S.js → chunk-BRLVX4V6.js} +1 -1
  17. package/dist/bundle/{chunk-RZ54DSVU.js → chunk-BXTDAGM4.js} +2 -2
  18. package/dist/bundle/{chunk-NFSFUVP2.js → chunk-C3I6L7JZ.js} +6 -6
  19. package/dist/bundle/{chunk-6B75W6XW.js → chunk-C6UTJATA.js} +38 -14
  20. package/dist/bundle/{chunk-J6EUSJ3X.js → chunk-CSPAEYKK.js} +4 -4
  21. package/dist/bundle/{chunk-AXCYTZJD.js → chunk-DGLSE6XA.js} +6 -6
  22. package/dist/bundle/{chunk-CV5MM7HG.js → chunk-DHO2JWF7.js} +3 -3
  23. package/dist/bundle/{chunk-UT2K3TAH.js → chunk-DMI3SFLF.js} +2 -2
  24. package/dist/bundle/{chunk-2K7E5YOZ.js → chunk-DNZYXNMB.js} +4 -4
  25. package/dist/bundle/{chunk-BJSZECFV.js → chunk-DPQL5JK6.js} +2 -2
  26. package/dist/bundle/{chunk-UI4MKFTZ.js → chunk-E4YCKC3F.js} +12 -12
  27. package/dist/bundle/{chunk-SN63VOE6.js → chunk-EBNNONF5.js} +8 -8
  28. package/dist/bundle/{chunk-YPD27HJI.js → chunk-EGVRMA2C.js} +198 -81
  29. package/dist/bundle/{chunk-RF3R3W2I.js → chunk-EQ237UYC.js} +22 -22
  30. package/dist/bundle/{chunk-V7QNIJOE.js → chunk-F7S25YVA.js} +9 -9
  31. package/dist/bundle/{chunk-TOSRVNCY.js → chunk-FTRFN3MU.js} +8 -8
  32. package/dist/bundle/{chunk-VUSM6XFE.js → chunk-H4726KFZ.js} +1 -1
  33. package/dist/bundle/{chunk-PZQCIEMC.js → chunk-HE56X542.js} +1 -1
  34. package/dist/bundle/{chunk-QUUYSYCG.js → chunk-IGYOKYG7.js} +4 -4
  35. package/dist/bundle/{chunk-MKA3NOUU.js → chunk-IHFK634F.js} +8 -8
  36. package/dist/bundle/{chunk-IPNORZSF.js → chunk-IWEL7QCT.js} +11 -11
  37. package/dist/bundle/{chunk-KGVDWSGM.js → chunk-J737T3RM.js} +3 -3
  38. package/dist/bundle/{chunk-JX6JZTOI.js → chunk-KNUUZW42.js} +29 -29
  39. package/dist/bundle/{chunk-36DLHVMS.js → chunk-LDHFV34C.js} +2 -2
  40. package/dist/bundle/{chunk-7UNXTC2J.js → chunk-LDXCFBIC.js} +34 -34
  41. package/dist/bundle/{chunk-TU34HVOY.js → chunk-MIMLBSUQ.js} +2 -2
  42. package/dist/bundle/{chunk-UEMY6RSB.js → chunk-MKLDUZ7N.js} +2 -2
  43. package/dist/bundle/{chunk-F7XQEYF3.js → chunk-MN3SFFTU.js} +303 -280
  44. package/dist/bundle/{chunk-WXCRRP4B.js → chunk-NWRITJ7F.js} +2 -2
  45. package/dist/bundle/{chunk-2R2Z2VWL.js → chunk-O3ZOYXH3.js} +20 -20
  46. package/dist/bundle/{chunk-CID4MNRQ.js → chunk-P3ASN72F.js} +1 -1
  47. package/dist/bundle/{chunk-LOSAAPRY.js → chunk-PUZ2G2KS.js} +8 -8
  48. package/dist/bundle/{chunk-Y5CAKD4X.js → chunk-QOGYHU3Q.js} +4 -4
  49. package/dist/bundle/{chunk-AAKU7TGI.js → chunk-QTBFV5RL.js} +3 -3
  50. package/dist/bundle/{chunk-ZGQSWRCY.js → chunk-QUQJZSRF.js} +566 -351
  51. package/dist/bundle/{chunk-IEVJMRL2.js → chunk-RCEDN42Q.js} +1 -1
  52. package/dist/bundle/{chunk-ICF3LNBX.js → chunk-RSJJGXZP.js} +1 -1
  53. package/dist/bundle/{chunk-UYITVRUC.js → chunk-SGDTAVMU.js} +2 -2
  54. package/dist/bundle/{chunk-TFWTSBON.js → chunk-T56R3TF2.js} +664 -117
  55. package/dist/bundle/{chunk-37D3IHOG.js → chunk-TW643BIA.js} +99 -74
  56. package/dist/bundle/{chunk-5FBJQHCG.js → chunk-TYOZC3BU.js} +3 -3
  57. package/dist/bundle/{chunk-2FYCJ3KB.js → chunk-TZROQCQ5.js} +18 -4
  58. package/dist/bundle/{chunk-LTZHG4BX.js → chunk-U2EFWFDN.js} +10 -10
  59. package/dist/bundle/{chunk-VZRGIWJM.js → chunk-U64G664E.js} +6 -6
  60. package/dist/bundle/{chunk-HDNMDLWC.js → chunk-UHWQ2YXW.js} +1 -1
  61. package/dist/bundle/{chunk-ADBD5GOY.js → chunk-UK2MMZFW.js} +2 -2
  62. package/dist/bundle/{chunk-QR5HJROX.js → chunk-VICARVCN.js} +1 -1
  63. package/dist/bundle/{chunk-YBBCGTZO.js → chunk-VJJCF52V.js} +655 -403
  64. package/dist/bundle/{chunk-XFT24B7A.js → chunk-VOJU5FVA.js} +179 -159
  65. package/dist/bundle/{chunk-LER7G4XY.js → chunk-VW6BF6M7.js} +1 -1
  66. package/dist/bundle/{chunk-GPBUD6WS.js → chunk-X3KMQW2Z.js} +27 -25
  67. package/dist/bundle/{chunk-5FN27OVR.js → chunk-X7UITQ66.js} +5 -5
  68. package/dist/bundle/{chunk-VOUTO3WF.js → chunk-XR4N2MYB.js} +13 -13
  69. package/dist/bundle/{chunk-2MKPY6NU.js → chunk-YBN7UF2Y.js} +1 -1
  70. package/dist/bundle/{chunk-W2EY5PSH.js → chunk-YO7AUGUT.js} +2 -2
  71. package/dist/bundle/{chunk-HFQZYHLX.js → chunk-YZEIVLAG.js} +4 -4
  72. package/dist/bundle/command-contract-BRZAKY6L.js +32 -0
  73. package/dist/bundle/{decode-E3TI4HEU.js → decode-WW5ZMB5R.js} +5 -5
  74. package/dist/bundle/{dispatch-MLRETSNQ.js → dispatch-HCRXCPCF.js} +8 -8
  75. package/dist/bundle/{echarts-B46XTHOI.js → echarts-ODD3E2RQ.js} +2 -2
  76. package/dist/bundle/{embed-BIUMRFOQ.js → embed-3ETM2WYU.js} +6 -6
  77. package/dist/bundle/{embedder-IA3CG6LB.js → embedder-6YL3WFBR.js} +9 -9
  78. package/dist/bundle/{entry-E3QEAAYL.js → entry-F2UGXKZ3.js} +7 -7
  79. package/dist/bundle/{failure-UJBGB2GP.js → failure-G4DCTWFD.js} +2 -2
  80. package/dist/bundle/failure-X7CYCJWD.js +66 -0
  81. package/dist/bundle/{first-run-6UQRVGZ4.js → first-run-OHQHOP5U.js} +11 -11
  82. package/dist/bundle/first-screen-ULF26GYG.js +30 -0
  83. package/dist/bundle/{instructions-6AISOK6M.js → instructions-RS5VERM7.js} +1 -1
  84. package/dist/bundle/{mcp-YMXA6IH6.js → mcp-M4QN2E7R.js} +2 -2
  85. package/dist/bundle/mcp-TS2UAN5I.js +90 -0
  86. package/dist/bundle/memo.js +16 -16
  87. package/dist/bundle/{node-6GP2V36M.js → node-BU6NHYHF.js} +2 -2
  88. package/dist/bundle/{node-sqlite-2CC5J5RZ.js → node-sqlite-WAF44CWS.js} +6 -6
  89. package/dist/bundle/{oauth-VOOLTPGW.js → oauth-T7RCNIYO.js} +7 -7
  90. package/dist/bundle/{open-AGFSOJG6.js → open-QLX2IVTC.js} +5 -5
  91. package/dist/bundle/{openai-KPRA5NIB.js → openai-O25HCJEY.js} +10 -10
  92. package/dist/bundle/{process-J74KA6F3.js → process-SB2X3TKY.js} +1 -1
  93. package/dist/bundle/{program-VAYJBUPU.js → program-SDLIDODQ.js} +98 -68
  94. package/dist/bundle/{prompt-PDQD5OD5.js → prompt-OHVHUNV4.js} +5 -5
  95. package/dist/bundle/{recognize-QH6FBB2L.js → recognize-SESVG7O3.js} +4 -4
  96. package/dist/bundle/{remote-BREQR2BJ.js → remote-DNGLVDYJ.js} +7 -7
  97. package/dist/bundle/{rerank-HWNJXOHL.js → rerank-SF3OUPEB.js} +7 -7
  98. package/dist/bundle/{serve-A63VR5F4.js → serve-6RK7QFZ2.js} +9 -9
  99. package/dist/bundle/server-JKWE764O.js +61 -0
  100. package/dist/bundle/{server-6UZJQQ4E.js → server-N6PCX7K7.js} +57 -57
  101. package/dist/bundle/server-RKGTOY4D.js +48 -0
  102. package/dist/bundle/{state-GMJJEIPI.js → state-J6WLL4TQ.js} +6 -6
  103. package/dist/bundle/{store-HLK3ZQ7A.js → store-R2PHK3FR.js} +13 -13
  104. package/dist/bundle/store-maintenance-command-LRZ5R3UM.js +48 -0
  105. package/dist/bundle/update-RV2WSULI.js +69 -0
  106. package/dist/contract-overrides/doctor.d.ts.map +1 -1
  107. package/dist/contract-overrides/doctor.js +6 -0
  108. package/dist/contract-overrides/doctor.js.map +1 -1
  109. package/dist/doctor/command.d.ts +25 -2
  110. package/dist/doctor/command.d.ts.map +1 -1
  111. package/dist/doctor/command.js +13 -5
  112. package/dist/doctor/command.js.map +1 -1
  113. package/dist/examples.d.ts.map +1 -1
  114. package/dist/examples.js +2 -0
  115. package/dist/examples.js.map +1 -1
  116. package/dist/store/info-command.d.ts.map +1 -1
  117. package/dist/store/info-command.js +23 -1
  118. package/dist/store/info-command.js.map +1 -1
  119. package/dist/version.d.ts +1 -1
  120. package/dist/version.js +1 -1
  121. package/package.json +4 -4
  122. package/dist/bundle/auto-KD7L4X6G.js +0 -86
  123. package/dist/bundle/command-contract-B6MBG7GI.js +0 -32
  124. package/dist/bundle/failure-UKRO32A7.js +0 -66
  125. package/dist/bundle/first-screen-W3BPVWCT.js +0 -30
  126. package/dist/bundle/mcp-RX3COQPC.js +0 -90
  127. package/dist/bundle/server-3FKLHDFN.js +0 -48
  128. package/dist/bundle/server-XKZXPS7I.js +0 -61
  129. package/dist/bundle/store-maintenance-command-2WOANSCK.js +0 -48
  130. package/dist/bundle/update-GIAB6TXY.js +0 -69
  131. /package/dist/bundle/{chunk-AT5Y62SD.js → chunk-IO44XLFM.js} +0 -0
  132. /package/dist/bundle/{chunk-B6ZCQNF4.js → chunk-VOXIGICJ.js} +0 -0
@@ -25,19 +25,19 @@ import {
25
25
  serverSearchOptions,
26
26
  summaryOf,
27
27
  unansweredHours
28
- } from "./chunk-F7XQEYF3.js";
28
+ } from "./chunk-MN3SFFTU.js";
29
29
  import {
30
30
  MAIL_HIT_UNTRUSTED,
31
31
  messagesAnswer,
32
32
  offsetOf,
33
33
  shownOf
34
- } from "./chunk-GPBUD6WS.js";
34
+ } from "./chunk-X3KMQW2Z.js";
35
35
  import {
36
36
  messageItem
37
- } from "./chunk-TFWTSBON.js";
37
+ } from "./chunk-T56R3TF2.js";
38
38
  import {
39
39
  knownPermissionKeys
40
- } from "./chunk-RF3R3W2I.js";
40
+ } from "./chunk-EQ237UYC.js";
41
41
  import {
42
42
  AGENDA_DEFAULTS,
43
43
  DEFAULT_BACKEND,
@@ -60,7 +60,7 @@ import {
60
60
  sourceKey,
61
61
  typedQuery,
62
62
  withQuery
63
- } from "./chunk-ZGQSWRCY.js";
63
+ } from "./chunk-QUQJZSRF.js";
64
64
  import {
65
65
  Command,
66
66
  FETCH,
@@ -92,11 +92,11 @@ import {
92
92
  snakeKeys,
93
93
  withSettingDefaults,
94
94
  withoutSetting
95
- } from "./chunk-XFT24B7A.js";
95
+ } from "./chunk-VOJU5FVA.js";
96
96
  import {
97
97
  mailHolderVariable,
98
98
  readOnlyLockOf
99
- } from "./chunk-UT2K3TAH.js";
99
+ } from "./chunk-DMI3SFLF.js";
100
100
  import {
101
101
  DEFAULT_DECISION_POLICY,
102
102
  MESSAGE_PARSING,
@@ -109,7 +109,7 @@ import {
109
109
  registrableOf,
110
110
  scoreGroup,
111
111
  validateFields
112
- } from "./chunk-YBBCGTZO.js";
112
+ } from "./chunk-VJJCF52V.js";
113
113
  import {
114
114
  count,
115
115
  dateRange,
@@ -120,12 +120,12 @@ import {
120
120
  time,
121
121
  timezoneOf,
122
122
  untrusted
123
- } from "./chunk-37D3IHOG.js";
123
+ } from "./chunk-TW643BIA.js";
124
124
  import {
125
125
  configFilePath,
126
126
  resolvePaths,
127
127
  saveConfigFile
128
- } from "./chunk-2R2Z2VWL.js";
128
+ } from "./chunk-O3ZOYXH3.js";
129
129
  import {
130
130
  MAX_NEXT_STEPS,
131
131
  array,
@@ -148,16 +148,16 @@ import {
148
148
  string,
149
149
  union,
150
150
  unknown
151
- } from "./chunk-SN63VOE6.js";
151
+ } from "./chunk-EBNNONF5.js";
152
152
  import {
153
153
  CliError
154
- } from "./chunk-RZ54DSVU.js";
154
+ } from "./chunk-BXTDAGM4.js";
155
155
  import {
156
156
  __name,
157
157
  __toESM
158
158
  } from "./chunk-ZVVMGPBJ.js";
159
159
 
160
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/attachments.js
160
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/attachments.js
161
161
  var MAX_ATTACHMENT_CHARS = 2e5;
162
162
  var DEFAULT_ATTACHMENT_POLICY = { read: true, maxBytes: 10 * 1024 * 1024 };
163
163
  var POLICY_SKIPS = ["not-read", "too-large"];
@@ -196,7 +196,7 @@ var readAttachments = /* @__PURE__ */ __name(async (mail, messageId, { loadEngin
196
196
  return files;
197
197
  }, "readAttachments");
198
198
 
199
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/read.js
199
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/read.js
200
200
  var lowerSuspicious = /* @__PURE__ */ __name((items, suspicious) => [
201
201
  ...items.filter((item) => !suspicious(item)),
202
202
  ...items.filter(suspicious)
@@ -283,11 +283,11 @@ var attachmentsText = /* @__PURE__ */ __name((hit) => (hit.attachments ?? []).ma
283
283
  ${file.text.replace(/\n/g, "\n ")}`;
284
284
  }).join("\n"), "attachmentsText");
285
285
 
286
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/bulk.js
286
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/bulk.js
287
287
  var BULK = "bulk";
288
288
  var bulkBox = { externalId: "memo:bulk", name: "bulk", kind: BULK };
289
289
 
290
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/email-input.js
290
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/email-input.js
291
291
  var sentAtOf = /* @__PURE__ */ __name((date, receivedAt) => {
292
292
  const sent = date === null ? Number.NaN : Date.parse(date);
293
293
  return Number.isNaN(sent) ? Date.parse(receivedAt) : sent;
@@ -307,7 +307,7 @@ var parsedEmail = /* @__PURE__ */ __name((mail, item, header, address) => ({
307
307
  outgoing: mail.from === null ? null : mail.from.email === address
308
308
  }), "parsedEmail");
309
309
 
310
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/presets.js
310
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/presets.js
311
311
  var PRESETS = {
312
312
  social: {
313
313
  about: "notifications from social networks",
@@ -399,7 +399,7 @@ var presetMatches = /* @__PURE__ */ __name((name, facts) => {
399
399
  return false;
400
400
  }, "presetMatches");
401
401
 
402
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/probe.js
402
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/probe.js
403
403
  var share = /* @__PURE__ */ __name((part, whole) => Math.round(part / whole * 100) / 100, "share");
404
404
  var isSent = /* @__PURE__ */ __name((item) => item.labels?.includes("Sent") || /(^|\/)sent\b/i.test(item.folder ?? ""), "isSent");
405
405
  var groupKey = /* @__PURE__ */ __name((headers) => headers.listId === void 0 ? `from:${headers.from}` : `list:${headers.listId}`, "groupKey");
@@ -467,7 +467,7 @@ var probeMail = /* @__PURE__ */ __name((items, limit, ages = /* @__PURE__ */ new
467
467
  };
468
468
  }, "probeMail");
469
469
 
470
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/facts.js
470
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/facts.js
471
471
  var factsOf = /* @__PURE__ */ __name((listed2, rules, ages = /* @__PURE__ */ new Map()) => {
472
472
  const grouped = rules.some(({ match }) => match.score_at_least !== void 0 || match.preset !== void 0);
473
473
  if (!grouped)
@@ -5738,7 +5738,7 @@ var PostalMime = class _PostalMime {
5738
5738
  }
5739
5739
  };
5740
5740
 
5741
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/headers.js
5741
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/headers.js
5742
5742
  var unfold = /* @__PURE__ */ __name((text2) => text2.replace(/\r?\n[ \t]+/g, " "), "unfold");
5743
5743
  var field = /* @__PURE__ */ __name((unfolded, name) => new RegExp(`^${name}:[ \\t]*(.*?)\\r?$`, "im").exec(unfolded)?.[1], "field");
5744
5744
  var fieldsOf = /* @__PURE__ */ __name((unfolded, name) => [...unfolded.matchAll(new RegExp(`^${name}:[ \\t]*(.*?)\\r?$`, "gim"))].map(([, value]) => value), "fieldsOf");
@@ -5785,7 +5785,7 @@ var mailHeadersOf = /* @__PURE__ */ __name((raw) => {
5785
5785
  };
5786
5786
  }, "mailHeadersOf");
5787
5787
 
5788
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/parse.js
5788
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/parse.js
5789
5789
  var MAX_BODY_CHARS = 1e6;
5790
5790
  var MAX_ATTACHMENTS = 50;
5791
5791
  var BRACKETED_ID = /<[^<>\s]+>/g;
@@ -5850,13 +5850,13 @@ var parseMail = /* @__PURE__ */ __name(async (raw, maxBodyChars = MAX_BODY_CHARS
5850
5850
  };
5851
5851
  }, "parseMail");
5852
5852
 
5853
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/partial.js
5853
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/partial.js
5854
5854
  var PARTIAL = "partial";
5855
5855
 
5856
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/account-key.js
5856
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/account-key.js
5857
5857
  var mailAccountKey = /* @__PURE__ */ __name((address) => ({ provider: "email", account: address.toLowerCase() }), "mailAccountKey");
5858
5858
 
5859
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/rule-stored.js
5859
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/rule-stored.js
5860
5860
  var ACTION_OF = { full: "keep", envelope: "envelope", skip: "skip" };
5861
5861
  var KINDS = {
5862
5862
  from: "string",
@@ -5925,7 +5925,7 @@ var storedMailRuleSet = /* @__PURE__ */ __name(async (store, account, query) =>
5925
5925
  }, "storedMailRuleSet");
5926
5926
  var storedMailRules = /* @__PURE__ */ __name(async (store, account, query) => (await storedMailRuleSet(store, account, query)).rules, "storedMailRules");
5927
5927
 
5928
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/rules.js
5928
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/rules.js
5929
5929
  var DAY_MS = 24 * 60 * 60 * 1e3;
5930
5930
  var domainOf = /* @__PURE__ */ __name((address) => address.slice(address.lastIndexOf("@") + 1), "domainOf");
5931
5931
  var domainMatches = /* @__PURE__ */ __name((wanted2, sender) => {
@@ -5997,7 +5997,7 @@ var tagsOf = /* @__PURE__ */ __name((rules, facts) => {
5997
5997
  }, "tagsOf");
5998
5998
  var conditionKeys = /* @__PURE__ */ __name((match) => Object.keys(match).filter((key) => match[key] !== void 0).sort(), "conditionKeys");
5999
5999
 
6000
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/rule-input.js
6000
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/rule-input.js
6001
6001
  var STORE_ACTION = { keep: "full", envelope: "envelope", skip: "skip" };
6002
6002
  var LOWER = ["from", "domain", "list_id", "subject"];
6003
6003
  var conditionsOf = /* @__PURE__ */ __name((match) => Object.fromEntries(conditionKeys(match).map((key) => {
@@ -6027,7 +6027,7 @@ var ruleInput = /* @__PURE__ */ __name((rule, source = rule.source ?? "owner") =
6027
6027
  decidedAt: decidedAtOf(rule.decided_at)
6028
6028
  }), "ruleInput");
6029
6029
 
6030
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/rule-tags.js
6030
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/rule-tags.js
6031
6031
  var reuseOf = /* @__PURE__ */ __name((error) => {
6032
6032
  const { details } = error;
6033
6033
  return details?.reason === "tag-review.required" ? details.candidates?.[0]?.name : void 0;
@@ -6088,7 +6088,7 @@ var settleRuleTags = /* @__PURE__ */ __name(async (store, accountId, rules, outc
6088
6088
  }
6089
6089
  }, "settleRuleTags");
6090
6090
 
6091
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/server-query.js
6091
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/server-query.js
6092
6092
  var DAY = 864e5;
6093
6093
  var empty = /* @__PURE__ */ __name(() => ({ words: [], from: [], to: [], cc: [], subject: [], body: [] }), "empty");
6094
6094
  var narrows = /* @__PURE__ */ __name((criteria) => criteria.words.length + criteria.from.length + criteria.to.length + criteria.cc.length + criteria.subject.length + criteria.body.length > 0 || criteria.since !== void 0 || criteria.before !== void 0 || criteria.seen !== void 0 || criteria.flagged !== void 0, "narrows");
@@ -6161,7 +6161,7 @@ var mailCriteriaOf = /* @__PURE__ */ __name((text2, { exact, timezone } = {}) =>
6161
6161
  };
6162
6162
  }, "mailCriteriaOf");
6163
6163
 
6164
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/server-search.js
6164
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/server-search.js
6165
6165
  var refusal = {
6166
6166
  unsupported: "this mailbox's server cannot be searched \u2014 use --backend archive",
6167
6167
  offline: "--backend server needs the network \u2014 not with --offline",
@@ -6376,7 +6376,7 @@ var searchMailServer = /* @__PURE__ */ __name(async (store, mailbox, access, req
6376
6376
  return { report, sources };
6377
6377
  }, "searchMailServer");
6378
6378
 
6379
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/cli/marks.js
6379
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/cli/marks.js
6380
6380
  var iso = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
6381
6381
  var mailMark = strictObject({
6382
6382
  holder: string(),
@@ -6474,7 +6474,7 @@ var resetMarkCommand = /* @__PURE__ */ __name((mail) => answerEntity(annotate(ne
6474
6474
  });
6475
6475
  }), "resetMarkCommand");
6476
6476
 
6477
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/review.js
6477
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/review.js
6478
6478
  var REVIEW_THREADS = 50;
6479
6479
  var REVIEW_PER_THREAD = 50;
6480
6480
  var OWED_DAYS = 30;
@@ -6572,7 +6572,7 @@ var reviewMail = /* @__PURE__ */ __name(async (store, mailbox, options) => {
6572
6572
  };
6573
6573
  }, "reviewMail");
6574
6574
 
6575
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/cli/review.js
6575
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/cli/review.js
6576
6576
  var DAY2 = 864e5;
6577
6577
  var REVIEW_UNTRUSTED = [...SUMMARY_UNTRUSTED, ...MAIL_HIT_UNTRUSTED];
6578
6578
  var MAIL_REVIEW_QUERY = defineQuery({
@@ -6841,7 +6841,7 @@ an agent over MCP, and each scheduled run.`).action(async function(query) {
6841
6841
  saved?.save(found.checked ?? {}, found.complete ? { through: found.until } : {});
6842
6842
  }), "mailReviewCommand");
6843
6843
 
6844
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/cli/bulk-settings.js
6844
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/cli/bulk-settings.js
6845
6845
  var listed = /* @__PURE__ */ __name((words2) => words2.join(", "), "listed");
6846
6846
  var MAIL_BULK_SETTINGS = [
6847
6847
  {
@@ -6897,7 +6897,7 @@ var bulkTriageOf = /* @__PURE__ */ __name((config) => {
6897
6897
  };
6898
6898
  }, "bulkTriageOf");
6899
6899
 
6900
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mail/cli/index.js
6900
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mail/cli/index.js
6901
6901
  var absentAccount = /* @__PURE__ */ __name((error) => {
6902
6902
  if (error instanceof CliError && error.code === "not_found")
6903
6903
  return void 0;
@@ -7,12 +7,12 @@ import {
7
7
  agentOf,
8
8
  clientHash,
9
9
  currentCaller
10
- } from "./chunk-V7QNIJOE.js";
10
+ } from "./chunk-F7S25YVA.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mcp/caller.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mcp/caller.js
16
16
  var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
17
17
  const client = caller?.agent?.client?.name;
18
18
  if (client && client !== "unknown")
@@ -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-RZ54DSVU.js";
5
+ } from "./chunk-BXTDAGM4.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/http/public-url.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/http/public-url.js
11
11
  var EXAMPLE = "--public-url https://<name>.ts.net";
12
12
  var publicUrlOf = /* @__PURE__ */ __name((given, { missing, reaches, path = false }) => {
13
13
  if (!given)