@wirecat/mail-cli 0.26.0 → 0.27.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 (99) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-6NXVQLUQ.js → all-profiles-5XWH7TBM.js} +7 -7
  4. package/dist/bundle/{anthropic-OLNFE2CL.js → anthropic-QEQGUEPW.js} +2 -2
  5. package/dist/bundle/{app-server-J76N6XIK.js → app-server-YWDU56NR.js} +48 -44
  6. package/dist/bundle/{bun-6PYDHXNR.js → bun-PWMM6L45.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-QD5PFHPS.js → bun-sqlite-S4QD5YUO.js} +3 -3
  8. package/dist/bundle/{chunk-VA4V73SL.js → chunk-255RGG5W.js} +5 -5
  9. package/dist/bundle/{chunk-5WROIMUV.js → chunk-2FZMIJW7.js} +4 -4
  10. package/dist/bundle/{chunk-AJ5K74X6.js → chunk-4VDWQKDI.js} +16 -16
  11. package/dist/bundle/{chunk-HI5XUETY.js → chunk-572NWJUN.js} +1 -1
  12. package/dist/bundle/{chunk-H2IJQH5X.js → chunk-5BPOEPYL.js} +4 -4
  13. package/dist/bundle/{chunk-DKIVYAXW.js → chunk-5DLPM5AV.js} +12 -12
  14. package/dist/bundle/{chunk-CZI45AQM.js → chunk-77J5ID2O.js} +2 -2
  15. package/dist/bundle/{chunk-2E2EV4HD.js → chunk-7BXOFLWJ.js} +80 -57
  16. package/dist/bundle/{chunk-QI6EXKSH.js → chunk-AIEMFRBU.js} +1 -1
  17. package/dist/bundle/{chunk-CFBIPM7T.js → chunk-AIZ225IA.js} +267 -251
  18. package/dist/bundle/{chunk-RXKIP2ML.js → chunk-APLVXHFG.js} +1 -1
  19. package/dist/bundle/{chunk-NBJU6MBU.js → chunk-BZCXAVGP.js} +7 -7
  20. package/dist/bundle/{chunk-XZ7CQ6NA.js → chunk-CKFVKHTB.js} +3 -3
  21. package/dist/bundle/{chunk-MIWSCTLG.js → chunk-CZRMT6XV.js} +2 -2
  22. package/dist/bundle/{chunk-NMFPK3MU.js → chunk-DQO2LX5I.js} +2 -2
  23. package/dist/bundle/{chunk-PY2IOVUN.js → chunk-DSUOYJUL.js} +3 -3
  24. package/dist/bundle/{chunk-QJGG6QYV.js → chunk-ELPH22W6.js} +7 -7
  25. package/dist/bundle/{chunk-BMGRDZM3.js → chunk-EXWZCI5G.js} +1 -1
  26. package/dist/bundle/{chunk-M4Y33SJJ.js → chunk-FOTP6QLO.js} +2 -2
  27. package/dist/bundle/{chunk-T7SHPALQ.js → chunk-FVVSBQGK.js} +24 -22
  28. package/dist/bundle/{chunk-76VSHS5Y.js → chunk-HBK6MRAL.js} +7 -7
  29. package/dist/bundle/{chunk-YM345236.js → chunk-IDOHT4Z3.js} +19 -19
  30. package/dist/bundle/{chunk-A3EBRXOQ.js → chunk-KHBZ4OEP.js} +1 -1
  31. package/dist/bundle/{chunk-LTZGLOKE.js → chunk-MY4LVD64.js} +1 -1
  32. package/dist/bundle/{chunk-M7RHPCXM.js → chunk-NZG6IRDW.js} +2 -2
  33. package/dist/bundle/{chunk-V32L23NN.js → chunk-OC3U2JAK.js} +3 -3
  34. package/dist/bundle/{chunk-XELZCDWE.js → chunk-OCUKQRJ3.js} +158 -148
  35. package/dist/bundle/{chunk-VWRT57QU.js → chunk-OEPNLKHI.js} +4 -4
  36. package/dist/bundle/{chunk-UE2NKPA4.js → chunk-OPOEAGVB.js} +6 -6
  37. package/dist/bundle/{chunk-JNKXU7AE.js → chunk-PA7LDYVX.js} +52 -52
  38. package/dist/bundle/{chunk-EDWJ7IYH.js → chunk-PJ3FKBXG.js} +1 -1
  39. package/dist/bundle/{chunk-PJ6YMNJG.js → chunk-PRSXMM4I.js} +447 -407
  40. package/dist/bundle/{chunk-OGE7YG4J.js → chunk-QQTSPQ2D.js} +1 -1
  41. package/dist/bundle/{chunk-52M5BAEG.js → chunk-QVJMFZFW.js} +1 -1
  42. package/dist/bundle/{chunk-YXGHC3NP.js → chunk-R3A65A4D.js} +10 -10
  43. package/dist/bundle/{chunk-BDYQQ6G2.js → chunk-R5FTCNLJ.js} +1 -1
  44. package/dist/bundle/{chunk-A6XETABW.js → chunk-RGQFVVBB.js} +17 -17
  45. package/dist/bundle/{chunk-ZZSZN4CJ.js → chunk-ROLHKFKB.js} +13 -12
  46. package/dist/bundle/{chunk-KXASCNOV.js → chunk-RRLAFEPQ.js} +2 -2
  47. package/dist/bundle/{chunk-LMTQMYUF.js → chunk-S2QRW647.js} +33 -29
  48. package/dist/bundle/{chunk-GIG7F6UW.js → chunk-S7H7TAC3.js} +5 -5
  49. package/dist/bundle/{chunk-VJPLIXV4.js → chunk-SXKKOOA7.js} +1 -1
  50. package/dist/bundle/{chunk-76EKZSDK.js → chunk-T7VERZP5.js} +23 -23
  51. package/dist/bundle/{chunk-66C66FNK.js → chunk-TI2OANJZ.js} +1 -1
  52. package/dist/bundle/{chunk-3J2UJFBJ.js → chunk-TKOZCIHU.js} +15 -15
  53. package/dist/bundle/{chunk-JVJG54QK.js → chunk-UBH4UPZ7.js} +1 -1
  54. package/dist/bundle/{chunk-UNJUCK5R.js → chunk-UEJVXUIO.js} +12 -12
  55. package/dist/bundle/{chunk-V4PFD25P.js → chunk-UIKVP23D.js} +1 -1
  56. package/dist/bundle/{chunk-3XTKQ5EM.js → chunk-VYZ37D2Q.js} +1 -1
  57. package/dist/bundle/{chunk-M2LATBP2.js → chunk-WMXUFUV3.js} +2 -2
  58. package/dist/bundle/{chunk-4Q6KAV4O.js → chunk-WRHAX53U.js} +6 -6
  59. package/dist/bundle/{chunk-3RY4HC4V.js → chunk-XBL46B4V.js} +1 -1
  60. package/dist/bundle/{chunk-XUJEZ5YF.js → chunk-XCYDTIVK.js} +5 -5
  61. package/dist/bundle/{chunk-HNSBXC6U.js → chunk-XM2THVMR.js} +2 -2
  62. package/dist/bundle/{chunk-M7ECSGSN.js → chunk-ZSWSFKNE.js} +4 -6
  63. package/dist/bundle/{chunk-2TCS4PLJ.js → chunk-ZVQDOKDY.js} +1 -1
  64. package/dist/bundle/{command-contract-NNEXHZW5.js → command-contract-MIJONVVG.js} +15 -15
  65. package/dist/bundle/{command-server-entry-AIBWNC5D.js → command-server-entry-VHUFW3OZ.js} +21 -21
  66. package/dist/bundle/{decode-H7KLRD33.js → decode-TIMTSVXM.js} +2 -2
  67. package/dist/bundle/{dist-YYSP43J3.js → dist-IP25JFTN.js} +11 -11
  68. package/dist/bundle/{echarts-VSD3LS6D.js → echarts-SDZA2SWG.js} +2 -2
  69. package/dist/bundle/{embed-UENZ5HN3.js → embed-4W527BCE.js} +3 -3
  70. package/dist/bundle/{embedder-MJMGOJT7.js → embedder-LQE2SBJ3.js} +6 -6
  71. package/dist/bundle/{first-run-HYALREFN.js → first-run-KZTKMEI4.js} +6 -6
  72. package/dist/bundle/first-screen-4LG5SJ6D.js +34 -0
  73. package/dist/bundle/{instructions-WOHRYOLN.js → instructions-7T6JJIFS.js} +1 -1
  74. package/dist/bundle/mail.js +2 -2
  75. package/dist/bundle/{node-4BRWJJCE.js → node-BZDMUFTW.js} +2 -2
  76. package/dist/bundle/{node-sqlite-D3QESEYQ.js → node-sqlite-PVSKI4OS.js} +4 -4
  77. package/dist/bundle/{oauth-T7TTOBIZ.js → oauth-TGYGAVGF.js} +4 -4
  78. package/dist/bundle/{open-6P6627QB.js → open-5YED4Q4C.js} +2 -2
  79. package/dist/bundle/{openai-FIMCJGAP.js → openai-XVJTML22.js} +12 -12
  80. package/dist/bundle/{process-35IH3WHC.js → process-756VBE7E.js} +1 -1
  81. package/dist/bundle/{program-IEXB72IK.js → program-TDHDXAQA.js} +387 -374
  82. package/dist/bundle/{prompt-HFBCPMVL.js → prompt-HPZANASN.js} +2 -2
  83. package/dist/bundle/{recognize-CNL4HJ7Z.js → recognize-PP5XQQHH.js} +1 -1
  84. package/dist/bundle/{remote-AYGZI7HT.js → remote-C2LU2WYG.js} +6 -6
  85. package/dist/bundle/{rerank-5C2OZZXD.js → rerank-WRHNOM4Z.js} +4 -4
  86. package/dist/bundle/{serve-S6OYBDIB.js → serve-RE3IV2QB.js} +6 -6
  87. package/dist/bundle/server-43V7HNFY.js +68 -0
  88. package/dist/bundle/{server-VKO6E6PI.js → server-52BJ7UTO.js} +37 -35
  89. package/dist/bundle/{sqlite-runtime-DBTGNTVE.js → sqlite-runtime-CRRL3MYX.js} +3 -3
  90. package/dist/bundle/{state-ZQG6AL2Y.js → state-YGJRPMWD.js} +3 -3
  91. package/dist/bundle/{store-B7BXWILZ.js → store-6AZ5LVJL.js} +15 -15
  92. package/dist/bundle/{store-LY4QKTOO.js → store-ESQE4VHP.js} +13 -13
  93. package/dist/bundle/store-maintenance-command-AKQMKUYO.js +58 -0
  94. package/dist/version.d.ts +1 -1
  95. package/dist/version.js +1 -1
  96. package/package.json +2 -2
  97. package/dist/bundle/first-screen-GPF5RHBX.js +0 -34
  98. package/dist/bundle/server-WXSHVDME.js +0 -68
  99. package/dist/bundle/store-maintenance-command-UR6NQDVV.js +0 -58
@@ -2,18 +2,18 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  validateFormattedText
5
- } from "./chunk-UE2NKPA4.js";
5
+ } from "./chunk-OPOEAGVB.js";
6
6
  import {
7
7
  inputPolicy
8
- } from "./chunk-HI5XUETY.js";
8
+ } from "./chunk-572NWJUN.js";
9
9
  import {
10
10
  RECORDS_SCHEMA_VERSION,
11
11
  RECORD_TYPES,
12
12
  pointerOf
13
- } from "./chunk-A6XETABW.js";
13
+ } from "./chunk-RGQFVVBB.js";
14
14
  import {
15
15
  parseReference
16
- } from "./chunk-2E2EV4HD.js";
16
+ } from "./chunk-7BXOFLWJ.js";
17
17
  import {
18
18
  indent
19
19
  } from "./chunk-7MEVD5PI.js";
@@ -24,12 +24,12 @@ import {
24
24
  __name
25
25
  } from "./chunk-ZVVMGPBJ.js";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/domain/checks.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/checks.js
28
28
  var spelled = /* @__PURE__ */ __name((check, args) => `${check.replaceAll(".", " ")}${args === void 0 ? "" : ` ${args}`}`, "spelled");
29
29
  var bareCheck = /* @__PURE__ */ __name((check, args) => `\`${spelled(check, args)}\``, "bareCheck");
30
30
  var checkWords = /* @__PURE__ */ __name((command, profile) => (check, args) => `\`${command} ${profile === void 0 ? "" : `${profile} `}${spelled(check, args)}\``, "checkWords");
31
31
 
32
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/domain/links.js
32
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/links.js
33
33
  var LINK_VERSION = "v1";
34
34
  var DEFAULT_LINK_CONFIG = { base: "https://wirecat.dev/o", enabled: true };
35
35
  var APP_PREFIX = "wirecat://open";
@@ -146,7 +146,7 @@ var linkFor = /* @__PURE__ */ __name((ref, { form, config = DEFAULT_LINK_CONFIG,
146
146
  return form === "app" ? `${APP_PREFIX}${path}` : `${config.base}#${path}`;
147
147
  }, "linkFor");
148
148
 
149
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/domain/markdown.js
149
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/markdown.js
150
150
  var MARKERS = [
151
151
  ["**", "bold"],
152
152
  ["~~", "strike"],
@@ -192,7 +192,7 @@ var closing = /* @__PURE__ */ __name((input, open, marker) => {
192
192
  return end;
193
193
  }, "closing");
194
194
 
195
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/domain/markdown-spans.js
195
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/markdown-spans.js
196
196
  var STYLES = [
197
197
  ["**", "bold"],
198
198
  ["__", "underline"],
@@ -352,7 +352,7 @@ var parseMarkdownSpans = /* @__PURE__ */ __name((input) => {
352
352
  return validateFormattedText(result);
353
353
  }, "parseMarkdownSpans");
354
354
 
355
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/domain/polls.js
355
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/polls.js
356
356
  var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
357
357
  const cast = votes.filter((vote) => vote.answers.length > 0);
358
358
  const mine = self === null ? void 0 : votes.find((vote) => vote.person.id === self);
@@ -367,7 +367,7 @@ var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
367
367
  };
368
368
  }, "countedPoll");
369
369
 
370
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/domain/records-table.js
370
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/records-table.js
371
371
  var TABLE_RECORD_TYPES = Object.keys(RECORD_TYPES).filter((type) => RECORD_TYPES[type].sheet !== false);
372
372
  var TableError = class extends Error {
373
373
  static {
@@ -2357,7 +2357,7 @@ var createDataURL = /* @__PURE__ */ __name(function(width, height, getPixel) {
2357
2357
  var qrcode_default = qrcode;
2358
2358
  var stringToBytes = qrcode.stringToBytes;
2359
2359
 
2360
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/terminal/qr.js
2360
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/terminal/qr.js
2361
2361
  var QUIET_ZONE = 4;
2362
2362
  var BLACK_ON_WHITE = "\x1B[30;107m";
2363
2363
  var RESET = "\x1B[0m";
@@ -2404,7 +2404,7 @@ var plainQr = /* @__PURE__ */ __name((link) => {
2404
2404
  return lines.join("\n");
2405
2405
  }, "plainQr");
2406
2406
 
2407
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/terminal/login-qr.js
2407
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/terminal/login-qr.js
2408
2408
  var MARGIN = 2;
2409
2409
  var atTerminal = /* @__PURE__ */ __name((input) => input.isTTY === true && !inputPolicy(input).noInput, "atTerminal");
2410
2410
  var PASTE_QR = "agents: paste the QR code above into the chat as a code block, exactly as printed; when a new one is printed, paste it and say the old one expired";
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CAPABILITY_STATEMENTS,
5
5
  storeCapable
6
- } from "./chunk-VA4V73SL.js";
6
+ } from "./chunk-255RGG5W.js";
7
7
  import {
8
8
  importFrom
9
9
  } from "./chunk-Y5E2WNWB.js";
@@ -11,7 +11,7 @@ import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
15
15
  import { spawn, spawnSync } from "node:child_process";
16
16
  import { readFileSync } from "node:fs";
17
17
  import { dirname } from "node:path";