@wirecat/mail-cli 0.8.0 → 0.9.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 (96) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-MXGDUBAM.js → all-profiles-X6ROLLMF.js} +5 -5
  4. package/dist/bundle/{anthropic-A2QA4W7L.js → anthropic-MPARKCMJ.js} +3 -3
  5. package/dist/bundle/{app-server-PMIMK6FK.js → app-server-JQ5XCXWT.js} +39 -39
  6. package/dist/bundle/{bun-3UW3LFNL.js → bun-H7LT5433.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-TGFZFKAX.js → bun-sqlite-AGK2BHAN.js} +2 -2
  8. package/dist/bundle/{chunk-QBBKSCQD.js → chunk-24MHYGNE.js} +247 -247
  9. package/dist/bundle/{chunk-DM4ULDS3.js → chunk-25N52S7U.js} +5 -5
  10. package/dist/bundle/{chunk-NI6WX55Z.js → chunk-2FDROA4Q.js} +2 -2
  11. package/dist/bundle/{chunk-6U6Z3GXR.js → chunk-3LMWAO6A.js} +5 -5
  12. package/dist/bundle/{chunk-RVZ4JIRR.js → chunk-3W6VSSQQ.js} +1 -1
  13. package/dist/bundle/{chunk-CRS63C3T.js → chunk-3Y7H3CXI.js} +1 -1
  14. package/dist/bundle/{chunk-EVO77D3Y.js → chunk-4EFKQXA5.js} +7 -7
  15. package/dist/bundle/{chunk-WS4L47DG.js → chunk-4MIC7S7B.js} +1 -1
  16. package/dist/bundle/{chunk-U4IF2MOB.js → chunk-5NYUCY5W.js} +1 -1
  17. package/dist/bundle/{chunk-W5J6I5GW.js → chunk-64FN5JK6.js} +2 -2
  18. package/dist/bundle/{chunk-2KZJWBXB.js → chunk-65SVO3T7.js} +2 -2
  19. package/dist/bundle/{chunk-PXCIM6D5.js → chunk-6FBBDIX6.js} +5 -5
  20. package/dist/bundle/{chunk-BEUQ2X7U.js → chunk-BNPCRWZ6.js} +6 -6
  21. package/dist/bundle/{chunk-BCDPLG7T.js → chunk-CHK3V7FG.js} +1 -1
  22. package/dist/bundle/{chunk-6J3DKKOV.js → chunk-DL32PWLR.js} +10 -10
  23. package/dist/bundle/{chunk-SZ5PKNDF.js → chunk-DQHAXX33.js} +6 -6
  24. package/dist/bundle/{chunk-4QDBMYK4.js → chunk-EUJTQY43.js} +42 -42
  25. package/dist/bundle/{chunk-NSODLSEL.js → chunk-EVG7MOAH.js} +91 -91
  26. package/dist/bundle/{chunk-Z5GDZ3QF.js → chunk-FEA5E7WQ.js} +2 -2
  27. package/dist/bundle/{chunk-AO3XYONW.js → chunk-FUDHVV4R.js} +21 -21
  28. package/dist/bundle/{chunk-OAQ4UB6V.js → chunk-GPCKNZIA.js} +3 -3
  29. package/dist/bundle/{chunk-2MQXXPPK.js → chunk-HWLAV2HM.js} +16 -16
  30. package/dist/bundle/{chunk-XWNCXFR5.js → chunk-HZ42NO25.js} +1 -1
  31. package/dist/bundle/{chunk-J5RKMQ6A.js → chunk-INVEYTAL.js} +43 -43
  32. package/dist/bundle/{chunk-W7H3PZ67.js → chunk-IYC3IHEZ.js} +2 -2
  33. package/dist/bundle/{chunk-RFWTPSJX.js → chunk-J4MY3QIN.js} +14 -14
  34. package/dist/bundle/{chunk-KEZHPPMI.js → chunk-JYVZDJNO.js} +2 -2
  35. package/dist/bundle/{chunk-DYCPBLUC.js → chunk-JZMPDFM4.js} +1 -1
  36. package/dist/bundle/{chunk-LN7TNZIS.js → chunk-K3RWO7LR.js} +5 -5
  37. package/dist/bundle/{chunk-EU35YQXE.js → chunk-KWHFDVAF.js} +21 -21
  38. package/dist/bundle/{chunk-J6ACLZKV.js → chunk-M55XFZMG.js} +7 -7
  39. package/dist/bundle/{chunk-FSBKLJXM.js → chunk-N6YA4OQI.js} +194 -194
  40. package/dist/bundle/{chunk-TMQA4KR7.js → chunk-NTWORG4T.js} +1 -1
  41. package/dist/bundle/{chunk-NWKLBZN5.js → chunk-OZGDPG6I.js} +26 -26
  42. package/dist/bundle/{chunk-EN3UZPGB.js → chunk-PC3AFEEA.js} +3 -3
  43. package/dist/bundle/{chunk-7JUTNCQX.js → chunk-PTDJXPXG.js} +9 -9
  44. package/dist/bundle/{chunk-5W74YMCK.js → chunk-PXQ7A5HQ.js} +2 -2
  45. package/dist/bundle/{chunk-6JK46V5X.js → chunk-QO4K6R7K.js} +4 -4
  46. package/dist/bundle/{chunk-KF4YULWC.js → chunk-QXXBDW6N.js} +8 -8
  47. package/dist/bundle/{chunk-NEBO3NZU.js → chunk-RGM66WZ3.js} +2 -2
  48. package/dist/bundle/{chunk-TCWJYOZV.js → chunk-SEL7SJCM.js} +4 -4
  49. package/dist/bundle/{chunk-WWNAQ75T.js → chunk-SUB4DRMA.js} +1 -1
  50. package/dist/bundle/{chunk-L2ZHPIFC.js → chunk-SYFBRZ5F.js} +1 -1
  51. package/dist/bundle/{chunk-VGR3AGAC.js → chunk-TKFQ3GNY.js} +5 -5
  52. package/dist/bundle/{chunk-KBKEZV4L.js → chunk-TVZFDVZP.js} +12 -12
  53. package/dist/bundle/{chunk-ZKAT6I2I.js → chunk-U6BDAY55.js} +1 -1
  54. package/dist/bundle/{chunk-Q5DOXSBM.js → chunk-UHBCL66Y.js} +1 -1
  55. package/dist/bundle/{chunk-UR6WHUJF.js → chunk-VOGSDGVL.js} +1 -1
  56. package/dist/bundle/{chunk-CMNFLAUG.js → chunk-YLSV3WOO.js} +4 -4
  57. package/dist/bundle/{chunk-YS2WUWY7.js → chunk-YXQIZORE.js} +3 -3
  58. package/dist/bundle/{chunk-VSDVH2M2.js → chunk-Z3TZTOR2.js} +46 -46
  59. package/dist/bundle/{command-contract-Q32SL5KX.js → command-contract-T3H5CAX3.js} +13 -13
  60. package/dist/bundle/{decode-NF4TGOR3.js → decode-ZATANRER.js} +2 -2
  61. package/dist/bundle/{dist-DVYY3YFG.js → dist-JN22LNLZ.js} +9 -9
  62. package/dist/bundle/{echarts-F3USGP5B.js → echarts-WKTVUY3O.js} +2 -2
  63. package/dist/bundle/{embed-2RXV3BEC.js → embed-AVKPYK4V.js} +3 -3
  64. package/dist/bundle/{embedder-I2SJMC6N.js → embedder-PSV2E5TR.js} +6 -6
  65. package/dist/bundle/{first-run-3GA7YCKZ.js → first-run-YN4SF5RZ.js} +5 -5
  66. package/dist/bundle/{first-screen-JFIXKYAK.js → first-screen-IJJZJP6Q.js} +14 -14
  67. package/dist/bundle/{instructions-VHI5CWH5.js → instructions-W5SJW23S.js} +1 -1
  68. package/dist/bundle/mail.js +2 -2
  69. package/dist/bundle/{node-4RBB3RDY.js → node-BHBFRH6H.js} +2 -2
  70. package/dist/bundle/{node-sqlite-FWYX3P2D.js → node-sqlite-7FHC3W5U.js} +2 -2
  71. package/dist/bundle/{oauth-6JKKRGLX.js → oauth-ORPM6FLL.js} +4 -4
  72. package/dist/bundle/{open-7JSNC3MR.js → open-AY5KLPWO.js} +1 -1
  73. package/dist/bundle/{openai-ASLWL3D6.js → openai-U7VALRI7.js} +10 -10
  74. package/dist/bundle/{process-AB2D2G2Q.js → process-7AWARSC5.js} +1 -1
  75. package/dist/bundle/{program-ZJPQ3IDU.js → program-2W4J47LM.js} +317 -303
  76. package/dist/bundle/{prompt-JDFVQR3L.js → prompt-STNX6JL7.js} +2 -2
  77. package/dist/bundle/{recognize-PKYA4HRC.js → recognize-2XWWTN6Y.js} +1 -1
  78. package/dist/bundle/{remote-USBVVO4O.js → remote-OIC32DKQ.js} +4 -4
  79. package/dist/bundle/{rerank-UBMV6KO6.js → rerank-IFTSO576.js} +4 -4
  80. package/dist/bundle/{serve-SVS3YOYS.js → serve-P2D2AJAU.js} +6 -6
  81. package/dist/bundle/server-6D7W5Q4A.js +63 -0
  82. package/dist/bundle/{server-7PZMYXY6.js → server-DFEJBMXO.js} +31 -31
  83. package/dist/bundle/{sqlite-runtime-IDPTXAM7.js → sqlite-runtime-DD4Y35DQ.js} +2 -2
  84. package/dist/bundle/{state-6G2TSVP7.js → state-XUSQMIKJ.js} +3 -3
  85. package/dist/bundle/{store-L56GFI4P.js → store-EQC5DKSY.js} +9 -9
  86. package/dist/bundle/{store-7A464D4X.js → store-T3PKOLER.js} +11 -11
  87. package/dist/bundle/store-maintenance-command-7YQZXE4V.js +52 -0
  88. package/dist/oauth.d.ts +2 -5
  89. package/dist/oauth.d.ts.map +1 -1
  90. package/dist/oauth.js +4 -7
  91. package/dist/oauth.js.map +1 -1
  92. package/dist/version.d.ts +1 -1
  93. package/dist/version.js +1 -1
  94. package/package.json +2 -2
  95. package/dist/bundle/server-KA7Q5XCL.js +0 -63
  96. package/dist/bundle/store-maintenance-command-2LM4GOI3.js +0 -52
@@ -7,12 +7,12 @@ import {
7
7
  refuseLacking,
8
8
  servicesFor,
9
9
  throughWrapper
10
- } from "./chunk-FSBKLJXM.js";
10
+ } from "./chunk-N6YA4OQI.js";
11
11
  import {
12
12
  foldName,
13
13
  isId,
14
14
  pickPerson
15
- } from "./chunk-LN7TNZIS.js";
15
+ } from "./chunk-K3RWO7LR.js";
16
16
  import {
17
17
  LOG_ATTRIBUTES,
18
18
  MESSENGER_CHANGE_REFUSAL,
@@ -31,7 +31,7 @@ import {
31
31
  recalledAccount,
32
32
  rememberAccount,
33
33
  rootOf2 as rootOf
34
- } from "./chunk-VSDVH2M2.js";
34
+ } from "./chunk-Z3TZTOR2.js";
35
35
  import {
36
36
  AUTHORITY_KEY,
37
37
  CEILING_KEY,
@@ -42,17 +42,17 @@ import {
42
42
  levelFor,
43
43
  readKeysForCommand,
44
44
  skipFlagFor
45
- } from "./chunk-TCWJYOZV.js";
45
+ } from "./chunk-SEL7SJCM.js";
46
46
  import {
47
47
  isCliFailure,
48
48
  providerErrorKey
49
- } from "./chunk-J6ACLZKV.js";
49
+ } from "./chunk-M55XFZMG.js";
50
50
  import {
51
51
  servingProfiles
52
- } from "./chunk-NEBO3NZU.js";
52
+ } from "./chunk-RGM66WZ3.js";
53
53
  import {
54
54
  openStore
55
- } from "./chunk-QBBKSCQD.js";
55
+ } from "./chunk-24MHYGNE.js";
56
56
  import {
57
57
  logRecordOf,
58
58
  realSleep,
@@ -66,10 +66,10 @@ import {
66
66
  __name
67
67
  } from "./chunk-ZVVMGPBJ.js";
68
68
 
69
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/sends/guard.js
69
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/sends/guard.js
70
70
  import { randomUUID } from "node:crypto";
71
71
 
72
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/sends/flood.js
72
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/sends/flood.js
73
73
  import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
74
74
  import { dirname, join } from "node:path";
75
75
  var MOST_DEADLINES = 50;
@@ -153,11 +153,11 @@ var FloodMemory = class {
153
153
  }
154
154
  };
155
155
 
156
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/sends/journal.js
156
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/sends/journal.js
157
157
  import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
158
158
  import { dirname as dirname3, join as join2 } from "node:path";
159
159
 
160
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
160
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
161
161
  import { closeSync, mkdirSync as mkdirSync2, openSync, statSync, unlinkSync } from "node:fs";
162
162
  import { dirname as dirname2 } from "node:path";
163
163
  var LOCK_WAIT_MS = 5e3;
@@ -224,7 +224,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
224
224
  }
225
225
  }, "lockTime");
226
226
 
227
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/sends/journal.js
227
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/sends/journal.js
228
228
  var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
229
229
  var SendJournal = class {
230
230
  static {
@@ -301,7 +301,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
301
301
  return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
302
302
  }, "withSendId");
303
303
 
304
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/sends/recipients.js
304
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/sends/recipients.js
305
305
  import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
306
306
  import { join as join3 } from "node:path";
307
307
  var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
@@ -413,7 +413,7 @@ var RecipientList = class {
413
413
  }
414
414
  };
415
415
 
416
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/sends/guard.js
416
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/sends/guard.js
417
417
  var HOUR_MS = 60 * 60 * 1e3;
418
418
  var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
419
419
  "attachments.extract",
@@ -606,7 +606,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
606
606
  }), "guardFor");
607
607
  var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
608
608
 
609
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
609
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
610
610
  import { openSync as openSync2 } from "node:fs";
611
611
  import { createInterface } from "node:readline";
612
612
  import { ReadStream } from "node:tty";
@@ -661,7 +661,7 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
661
661
  throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
662
662
  }, "terminalAsker");
663
663
 
664
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/sends/pace.js
664
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/sends/pace.js
665
665
  import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
666
666
  import { join as join4 } from "node:path";
667
667
  var DEFAULT_PACE = { perMinute: 60, burst: 20 };
@@ -720,7 +720,7 @@ var Pacer = class {
720
720
  }
721
721
  };
722
722
 
723
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
723
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
724
724
  var HOUSEKEEPING = /* @__PURE__ */ new Set([
725
725
  "help",
726
726
  "guide",
@@ -799,7 +799,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
799
799
  throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
800
800
  }, "refuseUnknownPermissionKeys");
801
801
 
802
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
802
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
803
803
  var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
804
804
  var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
805
805
  var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
@@ -918,7 +918,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
918
918
  });
919
919
  }, "flooded");
920
920
 
921
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
921
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
922
922
  var observed = /* @__PURE__ */ __name((messenger, events) => {
923
923
  const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
924
924
  const write = currentOperation();
@@ -1017,7 +1017,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
1017
1017
  counts[part] = (counts[part] ?? 0) + items.length;
1018
1018
  }, "byPart");
1019
1019
 
1020
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1020
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1021
1021
  var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
1022
1022
  var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false }) => {
1023
1023
  let warned = false;
@@ -1509,7 +1509,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
1509
1509
  }
1510
1510
  }, "keep");
1511
1511
 
1512
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1512
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1513
1513
  var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
1514
1514
  let opened;
1515
1515
  return {
@@ -10,14 +10,14 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/runs/run-context.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/runs/run-context.js
14
14
  import { AsyncLocalStorage } from "node:async_hooks";
15
15
  import { createHash } from "node:crypto";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
18
18
  import { homedir } from "node:os";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/errors/failures.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/errors/failures.js
21
21
  var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
22
22
  var isCommanderFailure = /* @__PURE__ */ __name((value) => {
23
23
  const { code, exitCode } = value ?? {};
@@ -25,7 +25,7 @@ var isCommanderFailure = /* @__PURE__ */ __name((value) => {
25
25
  }, "isCommanderFailure");
26
26
  var failureKey = /* @__PURE__ */ __name((error) => isCliFailure(error) ? error.code : error instanceof Error ? error.name : "error", "failureKey");
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/runs/events.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/runs/events.js
29
29
  var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
30
30
  var renderEvent = /* @__PURE__ */ __name((event) => {
31
31
  if (event.event === "warning") {
@@ -73,7 +73,7 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
73
73
  var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
74
74
  var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/runs/secrets.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/runs/secrets.js
77
77
  var SECRET_WORDS = /* @__PURE__ */ new Set([
78
78
  "authorization",
79
79
  "cookie",
@@ -154,7 +154,7 @@ var withoutSecrets = /* @__PURE__ */ __name((text, mark = "[redacted]") => text.
154
154
  var RUN = /(?<![A-Za-z0-9_+/-])[A-Za-z0-9_+/-]{20,}/g;
155
155
  var HEX = /(?<![A-Za-z0-9])(?=[0-9]*[a-f])[0-9a-f]{20,}(?![A-Za-z0-9])/g;
156
156
 
157
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
157
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
158
158
  var MESSAGE_AT_MOST = 500;
159
159
  var CAUSES_AT_MOST = 5;
160
160
  var FRAMES_AT_MOST = 15;
@@ -263,7 +263,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
263
263
  return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
264
264
  }, "redactText");
265
265
 
266
- // node_modules/.pnpm/@wirecat+cli-core@0.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/node_modules/@wirecat/cli-core/dist/runs/run-context.js
266
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/runs/run-context.js
267
267
  var REDACTED = "[redacted]";
268
268
  var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
269
269
  if (!record)