@wirecat/cli-memo 0.131.39 → 0.131.40

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 (108) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-5CXMPAOF.js → all-profiles-QFW2NKJY.js} +5 -5
  3. package/dist/bundle/{anthropic-KJECM7MD.js → anthropic-IARLHPYJ.js} +3 -3
  4. package/dist/bundle/{app-server-ZO7Z7RMA.js → app-server-L4N5IWJF.js} +35 -35
  5. package/dist/bundle/auto-24I3FBUW.js +86 -0
  6. package/dist/bundle/{bun-V2HGEGFF.js → bun-NWKIEX53.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-DSFSAFNQ.js → bun-sqlite-HORFVNNY.js} +2 -2
  8. package/dist/bundle/{chunk-P357OGUL.js → chunk-2SZEKYBN.js} +1 -1
  9. package/dist/bundle/{chunk-P3QBCCBA.js → chunk-2YJBI3NK.js} +1 -1
  10. package/dist/bundle/{chunk-QAFJG52K.js → chunk-4EZK5PGX.js} +1 -1
  11. package/dist/bundle/{chunk-PWVNSJBL.js → chunk-5G3NNIJQ.js} +10 -10
  12. package/dist/bundle/{chunk-7DMTHV2P.js → chunk-5HSR6U4Z.js} +1 -1
  13. package/dist/bundle/{chunk-WDDYMCLD.js → chunk-5HXLRQ4Q.js} +43 -43
  14. package/dist/bundle/{chunk-LXNWBHCK.js → chunk-6E4DCMJ5.js} +4 -4
  15. package/dist/bundle/{chunk-EY42TTWE.js → chunk-6RAU7FD2.js} +11 -11
  16. package/dist/bundle/{chunk-QL2YLPB5.js → chunk-756VKGKO.js} +2 -2
  17. package/dist/bundle/{chunk-DZBNKSE2.js → chunk-A7M74RZH.js} +352 -358
  18. package/dist/bundle/{chunk-QMDVWF3C.js → chunk-A7MXWBIX.js} +2 -2
  19. package/dist/bundle/{chunk-UECWAAZ3.js → chunk-ADMB7OK5.js} +4 -4
  20. package/dist/bundle/{chunk-4GA7IMXD.js → chunk-AKSNCK5L.js} +257 -257
  21. package/dist/bundle/{chunk-4MFNKTQQ.js → chunk-ASVVDNAS.js} +3 -3
  22. package/dist/bundle/{chunk-CHAA2BOM.js → chunk-ATR65D7K.js} +8 -8
  23. package/dist/bundle/{chunk-HB3YU52J.js → chunk-B4XRE67Q.js} +10 -9
  24. package/dist/bundle/{chunk-XED6NO7E.js → chunk-BWNNUEHG.js} +1 -1
  25. package/dist/bundle/{chunk-BHBLLZAO.js → chunk-CB34NXQP.js} +89 -74
  26. package/dist/bundle/{chunk-KBDZG6XU.js → chunk-DNZH53VQ.js} +3 -3
  27. package/dist/bundle/{chunk-H4DBYU2J.js → chunk-EGQCBZVM.js} +2 -2
  28. package/dist/bundle/{chunk-552IRBSA.js → chunk-EGRI2NUT.js} +4 -4
  29. package/dist/bundle/{chunk-TSGJRL2S.js → chunk-EIFPQD57.js} +1 -1
  30. package/dist/bundle/{chunk-G35CZBBF.js → chunk-EQQWJM6B.js} +5 -5
  31. package/dist/bundle/{chunk-WJCBQFEM.js → chunk-FBREYLY5.js} +1 -1
  32. package/dist/bundle/{chunk-H4GQZLTW.js → chunk-FTX3OPWV.js} +27 -27
  33. package/dist/bundle/{chunk-7VBSW2RI.js → chunk-G3IO2TLK.js} +5 -5
  34. package/dist/bundle/{chunk-AKLFOL4C.js → chunk-JGDZ3G4P.js} +3 -3
  35. package/dist/bundle/{chunk-5I75PUEK.js → chunk-KAU67PDK.js} +197 -164
  36. package/dist/bundle/{chunk-ZQTFPZ36.js → chunk-KGXVJO2V.js} +5 -5
  37. package/dist/bundle/{chunk-TOZ2COFV.js → chunk-KWGNPUIV.js} +7 -7
  38. package/dist/bundle/{chunk-JQSFIPWA.js → chunk-LL5HPYW5.js} +7 -7
  39. package/dist/bundle/{chunk-QZABT7XH.js → chunk-LXQQ7Q34.js} +9 -9
  40. package/dist/bundle/{chunk-WBWFH7ZT.js → chunk-M7UHHXSH.js} +1 -1
  41. package/dist/bundle/{chunk-QUJXYDYY.js → chunk-MLHRER2H.js} +2 -2
  42. package/dist/bundle/{chunk-U5B2ORUM.js → chunk-NCC3RXUX.js} +3 -3
  43. package/dist/bundle/{chunk-SANEKFUF.js → chunk-OGHWLR5E.js} +1 -1
  44. package/dist/bundle/{chunk-S7W5GFOI.js → chunk-OSDA5EZW.js} +283 -271
  45. package/dist/bundle/{chunk-Q3O7N35U.js → chunk-OZF7QBTS.js} +2 -2
  46. package/dist/bundle/{chunk-OJBM56FX.js → chunk-PAE2NZ7S.js} +20 -20
  47. package/dist/bundle/{chunk-GANKKP5F.js → chunk-QR5KWOZ2.js} +4 -4
  48. package/dist/bundle/{chunk-72DBFKCI.js → chunk-RZ3UQFLE.js} +1 -1
  49. package/dist/bundle/{chunk-Q35DHKBZ.js → chunk-SRYOICSG.js} +1 -1
  50. package/dist/bundle/{chunk-YFBNICKS.js → chunk-THIXDXP3.js} +2 -2
  51. package/dist/bundle/{chunk-SB7V3HFM.js → chunk-TWC6UJD2.js} +12 -12
  52. package/dist/bundle/{chunk-RBLUTSSL.js → chunk-U5WIWLWM.js} +6 -6
  53. package/dist/bundle/{chunk-GRTELFME.js → chunk-UEG3BDCX.js} +4 -4
  54. package/dist/bundle/{chunk-EP5U5WCQ.js → chunk-UGHYNVWQ.js} +1 -1
  55. package/dist/bundle/{chunk-O6ZLAFWQ.js → chunk-W3SMUCMB.js} +1 -1
  56. package/dist/bundle/{chunk-CQJO22KN.js → chunk-WAZWM4KZ.js} +20 -20
  57. package/dist/bundle/{chunk-AX6AMVVY.js → chunk-WHWACGZX.js} +7 -7
  58. package/dist/bundle/{chunk-DMY2YVJ7.js → chunk-WU6PDHXY.js} +5 -5
  59. package/dist/bundle/{chunk-UIUMG7AY.js → chunk-XAWB4WEC.js} +1 -1
  60. package/dist/bundle/{chunk-6BJPSIFE.js → chunk-XF7TG5VK.js} +38 -35
  61. package/dist/bundle/{chunk-ER7SUNTY.js → chunk-XV7M6VWX.js} +4 -4
  62. package/dist/bundle/{chunk-3ZEH35NH.js → chunk-YWWTEWX3.js} +1 -1
  63. package/dist/bundle/{chunk-B2YW6VOA.js → chunk-Z6OKSDP3.js} +1 -1
  64. package/dist/bundle/{chunk-D7JMUN36.js → chunk-ZH43Q2JO.js} +2 -2
  65. package/dist/bundle/{command-contract-JXLIGF3U.js → command-contract-ZRJPMWWI.js} +11 -11
  66. package/dist/bundle/{decode-HXMDIZKS.js → decode-MDCEP64X.js} +2 -2
  67. package/dist/bundle/{echarts-MRWQC3FY.js → echarts-RFIQAWMT.js} +2 -2
  68. package/dist/bundle/{embed-IEJFYZ7N.js → embed-443F7XR4.js} +3 -3
  69. package/dist/bundle/{embedder-N2TXC47Z.js → embedder-VRDPZFWC.js} +6 -6
  70. package/dist/bundle/{entry-VX4RACD7.js → entry-36KBOBA4.js} +4 -4
  71. package/dist/bundle/failure-QKFNHYKC.js +66 -0
  72. package/dist/bundle/{first-run-2GXQUNFV.js → first-run-CYZSGJTG.js} +5 -5
  73. package/dist/bundle/{first-screen-JRKMDJPK.js → first-screen-UY54KNVU.js} +12 -12
  74. package/dist/bundle/{instructions-FR4H42RI.js → instructions-RI2WFMBA.js} +1 -1
  75. package/dist/bundle/{mcp-IP3FEW24.js → mcp-DHX4GF3A.js} +35 -35
  76. package/dist/bundle/memo.js +6 -6
  77. package/dist/bundle/{node-QWBBKDHE.js → node-H7LWGE5H.js} +2 -2
  78. package/dist/bundle/{node-sqlite-GKJHUPHC.js → node-sqlite-N4POELFM.js} +3 -3
  79. package/dist/bundle/{oauth-ZQ7B32ZI.js → oauth-OOUASPSL.js} +4 -4
  80. package/dist/bundle/{open-TDGXVXNV.js → open-2T52CQDG.js} +2 -2
  81. package/dist/bundle/{openai-3T4YGUZM.js → openai-76CJYDRJ.js} +7 -7
  82. package/dist/bundle/{process-OBTDURL4.js → process-7YATIAKW.js} +1 -1
  83. package/dist/bundle/{program-6UJEO4TI.js → program-O4I2BGM2.js} +56 -56
  84. package/dist/bundle/{prompt-JZIIKSM4.js → prompt-MHD5EI75.js} +2 -2
  85. package/dist/bundle/{recognize-47F6WJYE.js → recognize-ARCD7XPJ.js} +1 -1
  86. package/dist/bundle/{remote-NHSYSI2S.js → remote-OQ7TUXN3.js} +4 -4
  87. package/dist/bundle/{rerank-HONNCBTA.js → rerank-422D4DZR.js} +4 -4
  88. package/dist/bundle/{serve-63BFDEQS.js → serve-ZOT62JRM.js} +6 -6
  89. package/dist/bundle/server-EISBI6O6.js +61 -0
  90. package/dist/bundle/{server-QWJPOH7K.js → server-HAZC3T7X.js} +50 -50
  91. package/dist/bundle/server-NNQ3YRBV.js +48 -0
  92. package/dist/bundle/{state-ZLODXERO.js → state-KBW7BI2G.js} +3 -3
  93. package/dist/bundle/{store-Q36VLED7.js → store-KZY5FZPD.js} +9 -9
  94. package/dist/bundle/store-maintenance-command-ZFQOMCLZ.js +48 -0
  95. package/dist/bundle/update-SAX5XN2C.js +69 -0
  96. package/dist/knowledge/project-status-command.js +1 -1
  97. package/dist/knowledge/project-status-command.js.map +1 -1
  98. package/dist/version.d.ts +1 -1
  99. package/dist/version.js +1 -1
  100. package/package.json +2 -2
  101. package/skills/mail-triage/SKILL.md +2 -2
  102. package/dist/bundle/auto-MA47DOER.js +0 -86
  103. package/dist/bundle/failure-LU3CYK3U.js +0 -66
  104. package/dist/bundle/server-I6M5QH5W.js +0 -48
  105. package/dist/bundle/server-XYUNBCYP.js +0 -61
  106. package/dist/bundle/store-maintenance-command-EM53HVOY.js +0 -48
  107. package/dist/bundle/update-UKMV74FK.js +0 -69
  108. /package/dist/bundle/{chunk-TYQAAHHM.js → chunk-5VKETWNU.js} +0 -0
@@ -3,17 +3,17 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  toModelRate
6
- } from "./chunk-AKLFOL4C.js";
6
+ } from "./chunk-JGDZ3G4P.js";
7
7
  import {
8
8
  OPENAI_URL
9
- } from "./chunk-D7JMUN36.js";
9
+ } from "./chunk-ZH43Q2JO.js";
10
10
  import {
11
11
  OPENAI_TRANSCRIBE_MODEL,
12
12
  VAD,
13
13
  filesPresent,
14
14
  modelsDirectory,
15
15
  vadPath
16
- } from "./chunk-4MFNKTQQ.js";
16
+ } from "./chunk-ASVVDNAS.js";
17
17
  import {
18
18
  DEFAULT_RETRY,
19
19
  backoffMs
@@ -25,7 +25,7 @@ import {
25
25
  __name
26
26
  } from "./chunk-ZVVMGPBJ.js";
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/speech/openai.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/speech/openai.js
29
29
  import { setTimeout as wait } from "node:timers/promises";
30
30
 
31
31
  // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/index.js
@@ -52,7 +52,7 @@ var parseRateLimitReset = /* @__PURE__ */ __name((header, now) => {
52
52
  }, "parseRateLimitReset");
53
53
  var providerWaitMs = /* @__PURE__ */ __name((headers, now) => parseRetryAfter(headers.get("retry-after"), now) ?? parseRateLimitReset(headers.get("x-ratelimit-reset"), now), "providerWaitMs");
54
54
 
55
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/speech/wav.js
55
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/speech/wav.js
56
56
  var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
57
57
  const bytes = Buffer.alloc(44 + samples.length * 2);
58
58
  bytes.write("RIFF", 0, "ascii");
@@ -73,7 +73,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
73
73
  return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
74
74
  }, "encodeWav");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/speech/openai.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/speech/openai.js
77
77
  var LONGEST_REQUEST_SECONDS = 600;
78
78
  var JOINED_SECONDS = 0.2;
79
79
  var PAD_SECONDS = 0.2;
@@ -195,7 +195,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
195
195
  return pieces;
196
196
  }, "piecesOf");
197
197
  var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
198
- const { openSpeechCutter } = await import("./recognize-47F6WJYE.js");
198
+ const { openSpeechCutter } = await import("./recognize-ARCD7XPJ.js");
199
199
  return openSpeechCutter(vadModel);
200
200
  }, "openCutter");
201
201
  var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
@@ -4,7 +4,7 @@ import {
4
4
  inspectConfig,
5
5
  loadConfig,
6
6
  memoPermissionKeys
7
- } from "./chunk-6BJPSIFE.js";
7
+ } from "./chunk-XF7TG5VK.js";
8
8
  import {
9
9
  CEILING_KEY,
10
10
  changesAuthority,
@@ -13,17 +13,17 @@ import {
13
13
  layerPermissions,
14
14
  levelFor,
15
15
  metaOf
16
- } from "./chunk-5I75PUEK.js";
16
+ } from "./chunk-KAU67PDK.js";
17
17
  import {
18
18
  setupPermissionCeiling
19
- } from "./chunk-U5B2ORUM.js";
19
+ } from "./chunk-NCC3RXUX.js";
20
20
  import {
21
21
  readOnlyLockOf,
22
22
  readOnlyRefusal
23
- } from "./chunk-EP5U5WCQ.js";
23
+ } from "./chunk-UGHYNVWQ.js";
24
24
  import {
25
25
  APP
26
- } from "./chunk-72DBFKCI.js";
26
+ } from "./chunk-RZ3UQFLE.js";
27
27
  import {
28
28
  CliError
29
29
  } from "./chunk-RZ54DSVU.js";
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/store/path.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/store/path.js
11
11
  import { userInfo } from "node:os";
12
12
  import { isAbsolute, join, relative, resolve } from "node:path";
13
13
  var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
@@ -24,19 +24,19 @@ import {
24
24
  serverSearchOptions,
25
25
  summaryOf,
26
26
  unansweredHours
27
- } from "./chunk-S7W5GFOI.js";
27
+ } from "./chunk-OSDA5EZW.js";
28
28
  import {
29
29
  MAIL_HIT_UNTRUSTED,
30
30
  messagesAnswer,
31
31
  offsetOf,
32
32
  shownOf
33
- } from "./chunk-OJBM56FX.js";
33
+ } from "./chunk-PAE2NZ7S.js";
34
34
  import {
35
35
  messageItem
36
- } from "./chunk-WDDYMCLD.js";
36
+ } from "./chunk-5HXLRQ4Q.js";
37
37
  import {
38
38
  knownPermissionKeys
39
- } from "./chunk-CQJO22KN.js";
39
+ } from "./chunk-WAZWM4KZ.js";
40
40
  import {
41
41
  AGENDA_DEFAULTS,
42
42
  DEFAULT_BACKEND,
@@ -59,7 +59,7 @@ import {
59
59
  sourceKey,
60
60
  typedQuery,
61
61
  withQuery
62
- } from "./chunk-4GA7IMXD.js";
62
+ } from "./chunk-AKSNCK5L.js";
63
63
  import {
64
64
  Command,
65
65
  FETCH,
@@ -91,11 +91,11 @@ import {
91
91
  snakeKeys,
92
92
  withSettingDefaults,
93
93
  withoutSetting
94
- } from "./chunk-5I75PUEK.js";
94
+ } from "./chunk-KAU67PDK.js";
95
95
  import {
96
96
  mailHolderVariable,
97
97
  readOnlyLockOf
98
- } from "./chunk-EP5U5WCQ.js";
98
+ } from "./chunk-UGHYNVWQ.js";
99
99
  import {
100
100
  DEFAULT_DECISION_POLICY,
101
101
  MESSAGE_PARSING,
@@ -108,7 +108,7 @@ import {
108
108
  registrableOf,
109
109
  scoreGroup,
110
110
  validateFields
111
- } from "./chunk-DZBNKSE2.js";
111
+ } from "./chunk-A7M74RZH.js";
112
112
  import {
113
113
  count,
114
114
  dateRange,
@@ -119,7 +119,7 @@ import {
119
119
  time,
120
120
  timezoneOf,
121
121
  untrusted
122
- } from "./chunk-BHBLLZAO.js";
122
+ } from "./chunk-CB34NXQP.js";
123
123
  import {
124
124
  configFilePath,
125
125
  resolvePaths,
@@ -156,7 +156,7 @@ import {
156
156
  __toESM
157
157
  } from "./chunk-ZVVMGPBJ.js";
158
158
 
159
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/attachments.js
159
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/attachments.js
160
160
  var MAX_ATTACHMENT_CHARS = 2e5;
161
161
  var DEFAULT_ATTACHMENT_POLICY = { read: true, maxBytes: 10 * 1024 * 1024 };
162
162
  var POLICY_SKIPS = ["not-read", "too-large"];
@@ -195,7 +195,7 @@ var readAttachments = /* @__PURE__ */ __name(async (mail, messageId, { loadEngin
195
195
  return files;
196
196
  }, "readAttachments");
197
197
 
198
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/read.js
198
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/read.js
199
199
  var lowerSuspicious = /* @__PURE__ */ __name((items, suspicious) => [
200
200
  ...items.filter((item) => !suspicious(item)),
201
201
  ...items.filter(suspicious)
@@ -282,11 +282,11 @@ var attachmentsText = /* @__PURE__ */ __name((hit) => (hit.attachments ?? []).ma
282
282
  ${file.text.replace(/\n/g, "\n ")}`;
283
283
  }).join("\n"), "attachmentsText");
284
284
 
285
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/bulk.js
285
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/bulk.js
286
286
  var BULK = "bulk";
287
287
  var bulkBox = { externalId: "memo:bulk", name: "bulk", kind: BULK };
288
288
 
289
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/email-input.js
289
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/email-input.js
290
290
  var sentAtOf = /* @__PURE__ */ __name((date, receivedAt) => {
291
291
  const sent = date === null ? Number.NaN : Date.parse(date);
292
292
  return Number.isNaN(sent) ? Date.parse(receivedAt) : sent;
@@ -306,7 +306,7 @@ var parsedEmail = /* @__PURE__ */ __name((mail, item, header, address) => ({
306
306
  outgoing: mail.from === null ? null : mail.from.email === address
307
307
  }), "parsedEmail");
308
308
 
309
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/presets.js
309
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/presets.js
310
310
  var PRESETS = {
311
311
  social: {
312
312
  about: "notifications from social networks",
@@ -398,7 +398,7 @@ var presetMatches = /* @__PURE__ */ __name((name, facts) => {
398
398
  return false;
399
399
  }, "presetMatches");
400
400
 
401
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/probe.js
401
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/probe.js
402
402
  var share = /* @__PURE__ */ __name((part, whole) => Math.round(part / whole * 100) / 100, "share");
403
403
  var isSent = /* @__PURE__ */ __name((item) => item.labels?.includes("Sent") || /(^|\/)sent\b/i.test(item.folder ?? ""), "isSent");
404
404
  var groupKey = /* @__PURE__ */ __name((headers) => headers.listId === void 0 ? `from:${headers.from}` : `list:${headers.listId}`, "groupKey");
@@ -466,7 +466,7 @@ var probeMail = /* @__PURE__ */ __name((items, limit, ages = /* @__PURE__ */ new
466
466
  };
467
467
  }, "probeMail");
468
468
 
469
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/facts.js
469
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/facts.js
470
470
  var factsOf = /* @__PURE__ */ __name((listed2, rules, ages = /* @__PURE__ */ new Map()) => {
471
471
  const grouped = rules.some(({ match }) => match.score_at_least !== void 0 || match.preset !== void 0);
472
472
  if (!grouped)
@@ -5737,7 +5737,7 @@ var PostalMime = class _PostalMime {
5737
5737
  }
5738
5738
  };
5739
5739
 
5740
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/headers.js
5740
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/headers.js
5741
5741
  var unfold = /* @__PURE__ */ __name((text2) => text2.replace(/\r?\n[ \t]+/g, " "), "unfold");
5742
5742
  var field = /* @__PURE__ */ __name((unfolded, name) => new RegExp(`^${name}:[ \\t]*(.*?)\\r?$`, "im").exec(unfolded)?.[1], "field");
5743
5743
  var fieldsOf = /* @__PURE__ */ __name((unfolded, name) => [...unfolded.matchAll(new RegExp(`^${name}:[ \\t]*(.*?)\\r?$`, "gim"))].map(([, value]) => value), "fieldsOf");
@@ -5784,7 +5784,7 @@ var mailHeadersOf = /* @__PURE__ */ __name((raw) => {
5784
5784
  };
5785
5785
  }, "mailHeadersOf");
5786
5786
 
5787
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/parse.js
5787
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/parse.js
5788
5788
  var MAX_BODY_CHARS = 1e6;
5789
5789
  var MAX_ATTACHMENTS = 50;
5790
5790
  var BRACKETED_ID = /<[^<>\s]+>/g;
@@ -5849,13 +5849,13 @@ var parseMail = /* @__PURE__ */ __name(async (raw, maxBodyChars = MAX_BODY_CHARS
5849
5849
  };
5850
5850
  }, "parseMail");
5851
5851
 
5852
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/partial.js
5852
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/partial.js
5853
5853
  var PARTIAL = "partial";
5854
5854
 
5855
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/account-key.js
5855
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/account-key.js
5856
5856
  var mailAccountKey = /* @__PURE__ */ __name((address) => ({ provider: "email", account: address.toLowerCase() }), "mailAccountKey");
5857
5857
 
5858
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/rule-stored.js
5858
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/rule-stored.js
5859
5859
  var ACTION_OF = { full: "keep", envelope: "envelope", skip: "skip" };
5860
5860
  var KINDS = {
5861
5861
  from: "string",
@@ -5924,7 +5924,7 @@ var storedMailRuleSet = /* @__PURE__ */ __name(async (store, account, query) =>
5924
5924
  }, "storedMailRuleSet");
5925
5925
  var storedMailRules = /* @__PURE__ */ __name(async (store, account, query) => (await storedMailRuleSet(store, account, query)).rules, "storedMailRules");
5926
5926
 
5927
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/rules.js
5927
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/rules.js
5928
5928
  var DAY_MS = 24 * 60 * 60 * 1e3;
5929
5929
  var domainOf = /* @__PURE__ */ __name((address) => address.slice(address.lastIndexOf("@") + 1), "domainOf");
5930
5930
  var domainMatches = /* @__PURE__ */ __name((wanted2, sender) => {
@@ -5996,7 +5996,7 @@ var tagsOf = /* @__PURE__ */ __name((rules, facts) => {
5996
5996
  }, "tagsOf");
5997
5997
  var conditionKeys = /* @__PURE__ */ __name((match) => Object.keys(match).filter((key) => match[key] !== void 0).sort(), "conditionKeys");
5998
5998
 
5999
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/rule-input.js
5999
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/rule-input.js
6000
6000
  var STORE_ACTION = { keep: "full", envelope: "envelope", skip: "skip" };
6001
6001
  var LOWER = ["from", "domain", "list_id", "subject"];
6002
6002
  var conditionsOf = /* @__PURE__ */ __name((match) => Object.fromEntries(conditionKeys(match).map((key) => {
@@ -6026,7 +6026,7 @@ var ruleInput = /* @__PURE__ */ __name((rule, source = rule.source ?? "owner") =
6026
6026
  decidedAt: decidedAtOf(rule.decided_at)
6027
6027
  }), "ruleInput");
6028
6028
 
6029
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/rule-tags.js
6029
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/rule-tags.js
6030
6030
  var reuseOf = /* @__PURE__ */ __name((error) => {
6031
6031
  const { details } = error;
6032
6032
  return details?.reason === "tag-review.required" ? details.candidates?.[0]?.name : void 0;
@@ -6087,7 +6087,7 @@ var settleRuleTags = /* @__PURE__ */ __name(async (store, accountId, rules, outc
6087
6087
  }
6088
6088
  }, "settleRuleTags");
6089
6089
 
6090
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/server-query.js
6090
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/server-query.js
6091
6091
  var DAY = 864e5;
6092
6092
  var empty = /* @__PURE__ */ __name(() => ({ words: [], from: [], to: [], cc: [], subject: [], body: [] }), "empty");
6093
6093
  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");
@@ -6160,7 +6160,7 @@ var mailCriteriaOf = /* @__PURE__ */ __name((text2, { exact, timezone } = {}) =>
6160
6160
  };
6161
6161
  }, "mailCriteriaOf");
6162
6162
 
6163
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/server-search.js
6163
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/server-search.js
6164
6164
  var refusal = {
6165
6165
  unsupported: "this mailbox's server cannot be searched \u2014 use --backend archive",
6166
6166
  offline: "--backend server needs the network \u2014 not with --offline",
@@ -6375,7 +6375,7 @@ var searchMailServer = /* @__PURE__ */ __name(async (store, mailbox, access, req
6375
6375
  return { report, sources };
6376
6376
  }, "searchMailServer");
6377
6377
 
6378
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/cli/marks.js
6378
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/cli/marks.js
6379
6379
  var iso = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
6380
6380
  var mailMark = strictObject({
6381
6381
  holder: string(),
@@ -6428,6 +6428,8 @@ var mailMarkReset = strictObject({
6428
6428
  bulk: number(),
6429
6429
  /** Emails between the two marks it skips again: drafts, envelopes, suspicious senders, partial mail. */
6430
6430
  skipped: number(),
6431
+ /** How often the owner moved this mark back, this reset counted even when the mark stays: the findings key names it. */
6432
+ resets: number(),
6431
6433
  /** Nothing moved: `--dry-run` only counts. */
6432
6434
  dry_run: boolean()
6433
6435
  });
@@ -6443,7 +6445,7 @@ var resetMarkCommand = /* @__PURE__ */ __name((mail) => answerEntity(annotate(ne
6443
6445
  `${mail.app.command} personal messages reset --holder mail-triage --last 8 --dry-run`,
6444
6446
  `${mail.app.command} personal messages reset --holder mail-triage --since-time 2026-11-04T00:00:00Z`
6445
6447
  ]
6446
- }), "mail_mark_reset", mailMarkReset).summary("move a holder's processing mark back, so it reads that mail again (owner only)").description("the owner moves a holder's mark back past the mail received since --since-time, or past the last --last emails it was given; its next reviews give that mail again. The answer says how many emails it reads again. An agent cannot: a holder only moves its own mark forward, with `messages acknowledge`").requiredOption("--holder <name>", "whose mark: lower-case letters, digits and dashes, such as mail-triage").option("--since-time <time>", "read again what was received since this ISO 8601 time, or 2d ago").option("--last <n>", "read again the last n emails the holder was given", wholeNumber).option("--dry-run", "count what would be read again, and move nothing").action(async function() {
6448
+ }), "mail_mark_reset", mailMarkReset).summary("move a holder's processing mark back, so it reads that mail again (owner only)").description("the owner moves a holder's mark back past the mail received since --since-time, or past the last --last emails it was given; its next reviews give that mail again. The answer says how many emails it reads again. Every reset counts, even one that leaves the mark where it is, so the holder's next findings key is new. An agent cannot: a holder only moves its own mark forward, with `messages acknowledge`").requiredOption("--holder <name>", "whose mark: lower-case letters, digits and dashes, such as mail-triage").option("--since-time <time>", "read again what was received since this ISO 8601 time, or 2d ago").option("--last <n>", "read again the last n emails the holder was given", wholeNumber).option("--dry-run", "count what would be read again, and move nothing").action(async function() {
6447
6449
  const { holder, sinceTime, last, dryRun } = this.opts();
6448
6450
  if (sinceTime === void 0 === (last === void 0))
6449
6451
  throw new CliError("validation_error", "give --since-time or --last, one of them");
@@ -6461,16 +6463,17 @@ var resetMarkCommand = /* @__PURE__ */ __name((mail) => answerEntity(annotate(ne
6461
6463
  again: reset.again,
6462
6464
  bulk: reset.bulk,
6463
6465
  skipped: reset.skipped,
6466
+ resets: reset.mark.resets,
6464
6467
  dry_run: reset.dry
6465
6468
  };
6466
6469
  renderAnswer(this, outputFor(this), itemOf(item), () => {
6467
- const mark = reset.mark.throughId === reset.fromId ? `the mark stays at ${reset.fromId}` : `the mark ${reset.dry ? "would move" : "moved"} from ${reset.fromId} to ${reset.mark.throughId}`;
6470
+ const mark = reset.mark.throughId === reset.fromId ? `mark unchanged at ${reset.fromId}, ${reset.dry ? "would be counted" : "counted"} as a reset (resets ${reset.mark.resets}): the next run gets a new findings key` : `the mark ${reset.dry ? "would move" : "moved"} from ${reset.fromId} to ${reset.mark.throughId} (resets ${reset.mark.resets})`;
6468
6471
  return `${holder} ${reset.dry ? "would read" : "reads"} ${reset.again} emails again, and ${reset.bulk} bulk ones as excerpts unless they are newsletters; ${reset.skipped} are skipped again; ${mark}
6469
6472
  `;
6470
6473
  });
6471
6474
  }), "resetMarkCommand");
6472
6475
 
6473
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/review.js
6476
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/review.js
6474
6477
  var REVIEW_THREADS = 50;
6475
6478
  var REVIEW_PER_THREAD = 50;
6476
6479
  var OWED_DAYS = 30;
@@ -6568,7 +6571,7 @@ var reviewMail = /* @__PURE__ */ __name(async (store, mailbox, options) => {
6568
6571
  };
6569
6572
  }, "reviewMail");
6570
6573
 
6571
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/cli/review.js
6574
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/cli/review.js
6572
6575
  var DAY2 = 864e5;
6573
6576
  var REVIEW_UNTRUSTED = [...SUMMARY_UNTRUSTED, ...MAIL_HIT_UNTRUSTED];
6574
6577
  var MAIL_REVIEW_QUERY = defineQuery({
@@ -6734,7 +6737,7 @@ ${excerpt}` : excerpt, excerptOnly: true };
6734
6737
  const step = stepsFor(mail.mount, mailbox);
6735
6738
  const answer = reviewAnswer(found, mailbox, true, step);
6736
6739
  const skipped = Object.entries(read.skipped).filter(([, count2]) => count2 > 0);
6737
- const stage = read.findingsKey === void 0 ? [] : step("mail-findings.add", { key: read.findingsKey });
6740
+ const stage = read.findingsKey === void 0 || emails.length === 0 ? [] : step("mail-findings.add", { key: read.findingsKey });
6738
6741
  answer.next = [
6739
6742
  ...stage,
6740
6743
  ...step("mail-messages.acknowledge", { holder, cursor: read.cursor }),
@@ -6753,7 +6756,7 @@ ${excerpt}` : excerpt, excerptOnly: true };
6753
6756
  ];
6754
6757
  const output = outputFor(command);
6755
6758
  renderAnswer(command, output, answer, () => {
6756
- output.renderer.note(read.mark ? `${holder}: past ${read.mark.throughId}; findings key ${read.findingsKey}; acknowledge with --cursor ${read.cursor}${read.more ? "; more after these" : ""}` : `${holder} has no mark yet: it starts from now \u2014 acknowledge with --cursor ${read.cursor}`);
6759
+ output.renderer.note(read.mark ? `${holder}: past ${read.mark.throughId}${emails.length ? `; findings key ${read.findingsKey}` : ""}; acknowledge with --cursor ${read.cursor}${read.more ? "; more after these" : ""}` : `${holder} has no mark yet: it starts from now \u2014 acknowledge with --cursor ${read.cursor}`);
6757
6760
  return emails.map((hit) => `${hitText(hit)}${markText2(marks.get(hit.id), hit.excerptOnly)}
6758
6761
  `).join("");
6759
6762
  });
@@ -6830,7 +6833,7 @@ an agent over MCP, and each scheduled run.`).action(async function(query) {
6830
6833
  saved?.save(found.checked ?? {}, found.complete ? { through: found.until } : {});
6831
6834
  }), "mailReviewCommand");
6832
6835
 
6833
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/cli/bulk-settings.js
6836
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/cli/bulk-settings.js
6834
6837
  var listed = /* @__PURE__ */ __name((words2) => words2.join(", "), "listed");
6835
6838
  var MAIL_BULK_SETTINGS = [
6836
6839
  {
@@ -6886,7 +6889,7 @@ var bulkTriageOf = /* @__PURE__ */ __name((config) => {
6886
6889
  };
6887
6890
  }, "bulkTriageOf");
6888
6891
 
6889
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mail/cli/index.js
6892
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mail/cli/index.js
6890
6893
  var absentAccount = /* @__PURE__ */ __name((error) => {
6891
6894
  if (error instanceof CliError && error.code === "not_found")
6892
6895
  return void 0;
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answeredWire
5
- } from "./chunk-B2YW6VOA.js";
5
+ } from "./chunk-Z6OKSDP3.js";
6
6
  import {
7
7
  CALLER_META_KEY,
8
8
  PROXY_CLIENT_NAME,
9
9
  callerOf
10
- } from "./chunk-QL2YLPB5.js";
10
+ } from "./chunk-756VKGKO.js";
11
11
  import {
12
12
  StdioServerTransport,
13
13
  serveStdio
@@ -19,7 +19,7 @@ import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
23
23
  import { spawn } from "node:child_process";
24
24
  import { randomUUID } from "node:crypto";
25
25
  var PROTOCOL = "2025-06-18";
@@ -253,7 +253,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
253
253
  }, "serveAllProfilesOverStdio");
254
254
  var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
255
255
  const { build, close } = allProfilesServer(options);
256
- const { serveOverHttp } = await import("./serve-63BFDEQS.js");
256
+ const { serveOverHttp } = await import("./serve-ZOT62JRM.js");
257
257
  const listening = await serveOverHttp(build, {
258
258
  ...http,
259
259
  appName: options.command,
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/models/types.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/models/types.js
11
11
  var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
12
12
  var validateImages = /* @__PURE__ */ __name((images) => {
13
13
  if (images === void 0)
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
8
8
  import { PassThrough, Writable } from "node:stream";
9
9
  var lineReader = /* @__PURE__ */ __name((onMessage) => {
10
10
  let rest = "";
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  unit
5
- } from "./chunk-ZQTFPZ36.js";
5
+ } from "./chunk-KGXVJO2V.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-RZ54DSVU.js";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
14
14
  import { setTimeout } from "node:timers/promises";
15
15
  var OPENAI_URL = "https://api.openai.com/v1";
16
16
  var OPENAI_MODELS = {
@@ -6,17 +6,17 @@ import {
6
6
  commandPathOf,
7
7
  findCommand,
8
8
  outputOf
9
- } from "./chunk-Q3O7N35U.js";
10
- import "./chunk-5I75PUEK.js";
11
- import "./chunk-JQSFIPWA.js";
12
- import "./chunk-U5B2ORUM.js";
13
- import "./chunk-EP5U5WCQ.js";
14
- import "./chunk-P357OGUL.js";
15
- import "./chunk-BHBLLZAO.js";
16
- import "./chunk-QAFJG52K.js";
17
- import "./chunk-GRTELFME.js";
18
- import "./chunk-4MFNKTQQ.js";
19
- import "./chunk-UIUMG7AY.js";
9
+ } from "./chunk-OZF7QBTS.js";
10
+ import "./chunk-KAU67PDK.js";
11
+ import "./chunk-LL5HPYW5.js";
12
+ import "./chunk-NCC3RXUX.js";
13
+ import "./chunk-UGHYNVWQ.js";
14
+ import "./chunk-2SZEKYBN.js";
15
+ import "./chunk-CB34NXQP.js";
16
+ import "./chunk-4EZK5PGX.js";
17
+ import "./chunk-UEG3BDCX.js";
18
+ import "./chunk-ASVVDNAS.js";
19
+ import "./chunk-XAWB4WEC.js";
20
20
  import "./chunk-AT5Y62SD.js";
21
21
  import "./chunk-2R2Z2VWL.js";
22
22
  import "./chunk-SN63VOE6.js";
@@ -6,8 +6,8 @@ import {
6
6
  decodeChannels,
7
7
  formatOf,
8
8
  runFfmpeg
9
- } from "./chunk-H4DBYU2J.js";
10
- import "./chunk-AKLFOL4C.js";
9
+ } from "./chunk-EGQCBZVM.js";
10
+ import "./chunk-JGDZ3G4P.js";
11
11
  import "./chunk-2R2Z2VWL.js";
12
12
  import "./chunk-SN63VOE6.js";
13
13
  import "./chunk-Y5E2WNWB.js";
@@ -42399,7 +42399,7 @@ function install11(registers) {
42399
42399
  }
42400
42400
  __name(install11, "install");
42401
42401
 
42402
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42402
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42403
42403
  var echartsOption = /* @__PURE__ */ __name((chart) => ({
42404
42404
  animation: false,
42405
42405
  backgroundColor: "#111827",
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
42447
42447
  } : {}
42448
42448
  }), "echartsOption");
42449
42449
 
42450
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42450
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42451
42451
  use([install2, install, install6, install5, install10, install7, install11]);
42452
42452
  var echartsRenderer = {
42453
42453
  render: /* @__PURE__ */ __name(async (chart, size) => {
@@ -13,9 +13,9 @@ import {
13
13
  truncated,
14
14
  unit,
15
15
  warmEmbedders
16
- } from "./chunk-ZQTFPZ36.js";
17
- import "./chunk-4MFNKTQQ.js";
18
- import "./chunk-UIUMG7AY.js";
16
+ } from "./chunk-KGXVJO2V.js";
17
+ import "./chunk-ASVVDNAS.js";
18
+ import "./chunk-XAWB4WEC.js";
19
19
  import "./chunk-2R2Z2VWL.js";
20
20
  import "./chunk-SN63VOE6.js";
21
21
  import "./chunk-Y5E2WNWB.js";
@@ -4,9 +4,9 @@ import {
4
4
  openSession,
5
5
  truncated,
6
6
  unit
7
- } from "./chunk-ZQTFPZ36.js";
8
- import "./chunk-4MFNKTQQ.js";
9
- import "./chunk-UIUMG7AY.js";
7
+ } from "./chunk-KGXVJO2V.js";
8
+ import "./chunk-ASVVDNAS.js";
9
+ import "./chunk-XAWB4WEC.js";
10
10
  import "./chunk-2R2Z2VWL.js";
11
11
  import "./chunk-SN63VOE6.js";
12
12
  import {
@@ -19,11 +19,11 @@ import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
23
23
  import { readFileSync } from "node:fs";
24
24
  import { join } from "node:path";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
27
27
  var SIZE = 224;
28
28
  var MEAN = [0.48145466, 0.4578275, 0.40821073];
29
29
  var STD = [0.26862954, 0.26130258, 0.27577711];
@@ -62,7 +62,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
62
62
  return pixels;
63
63
  }, "preprocess");
64
64
 
65
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
65
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
66
66
  var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
67
67
  const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
68
68
  const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
@@ -3,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  openBrowser,
5
5
  startCli
6
- } from "./chunk-QZABT7XH.js";
7
- import "./chunk-EP5U5WCQ.js";
8
- import "./chunk-G35CZBBF.js";
9
- import "./chunk-XED6NO7E.js";
6
+ } from "./chunk-LXQQ7Q34.js";
7
+ import "./chunk-UGHYNVWQ.js";
8
+ import "./chunk-EQQWJM6B.js";
9
+ import "./chunk-BWNNUEHG.js";
10
10
  import "./chunk-2R2Z2VWL.js";
11
11
  import "./chunk-SN63VOE6.js";
12
12
  import "./chunk-Y5E2WNWB.js";