@wirecat/mail-cli 0.17.0 → 0.18.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 (111) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-55AU2Q2N.js → all-profiles-4CVOXA5Y.js} +10 -10
  4. package/dist/bundle/{anthropic-I7RI7YPK.js → anthropic-5VIKYINO.js} +6 -6
  5. package/dist/bundle/{app-server-NY72GTQA.js → app-server-LTSQBDPF.js} +53 -50
  6. package/dist/bundle/{bun-C2R7UPM2.js → bun-C7DBRUW2.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-RNPHH3KC.js → bun-sqlite-Y5JKT62B.js} +5 -5
  8. package/dist/bundle/{chunk-YO7BLBVE.js → chunk-23HWKHPZ.js} +301 -259
  9. package/dist/bundle/{chunk-OHS5CYZI.js → chunk-2NWOYXPJ.js} +56 -56
  10. package/dist/bundle/{chunk-JSB6BTPT.js → chunk-3DQYO7FB.js} +1 -1
  11. package/dist/bundle/{chunk-B73I6KLW.js → chunk-3W5H4TM7.js} +184 -16
  12. package/dist/bundle/{chunk-2EVM7GV5.js → chunk-3YRE6DNM.js} +8 -8
  13. package/dist/bundle/{chunk-YIJRPPF5.js → chunk-43I5XD7S.js} +1 -1
  14. package/dist/bundle/{chunk-HZL42476.js → chunk-5S6Q3SWU.js} +4 -2
  15. package/dist/bundle/{chunk-DG43I7MC.js → chunk-6RO5RDNR.js} +27 -9
  16. package/dist/bundle/{chunk-J7XH6CJC.js → chunk-7P4ICYJT.js} +1 -1
  17. package/dist/bundle/{chunk-BWCYUXF7.js → chunk-7SWWVDEZ.js} +4 -4
  18. package/dist/bundle/{chunk-24H2KUGW.js → chunk-A5OMARL4.js} +28 -28
  19. package/dist/bundle/{chunk-QDX2O5BN.js → chunk-ACLILULA.js} +3 -3
  20. package/dist/bundle/{chunk-QRNL5DIS.js → chunk-AOMSP4EI.js} +6 -6
  21. package/dist/bundle/{chunk-XJQJ3ZIY.js → chunk-BHNBWFT5.js} +8 -8
  22. package/dist/bundle/{chunk-LNC7XMEQ.js → chunk-BMFPCW6Q.js} +4 -4
  23. package/dist/bundle/{chunk-MG4NWXWI.js → chunk-BMGVKULS.js} +4 -4
  24. package/dist/bundle/{chunk-4HTTN4NO.js → chunk-BMV56JCL.js} +19 -19
  25. package/dist/bundle/{chunk-22WVQJW3.js → chunk-C4RUKMDT.js} +16 -10
  26. package/dist/bundle/{chunk-QU5TWVG5.js → chunk-C5T5K7HW.js} +127 -27
  27. package/dist/bundle/{chunk-KJKRLI2S.js → chunk-CPEN6BZZ.js} +2 -2
  28. package/dist/bundle/{chunk-YHUCNI2W.js → chunk-DALBYUPC.js} +2 -2
  29. package/dist/bundle/{chunk-6NN5ZX5T.js → chunk-DPSH46NO.js} +5 -5
  30. package/dist/bundle/{chunk-CHVHIDNK.js → chunk-EFP5NN7I.js} +3 -3
  31. package/dist/bundle/{chunk-22IKW3TY.js → chunk-ERBEBORA.js} +14 -14
  32. package/dist/bundle/{chunk-YCOBSDZY.js → chunk-FLOOPXOT.js} +12 -12
  33. package/dist/bundle/{chunk-F4P3VDJZ.js → chunk-GLLLYACZ.js} +6 -6
  34. package/dist/bundle/{chunk-S4NIDBLI.js → chunk-GRP67IQ4.js} +56 -47
  35. package/dist/bundle/{chunk-T4RRZILQ.js → chunk-HFUS33UT.js} +2 -2
  36. package/dist/bundle/{chunk-RFFE5ACS.js → chunk-HTFBXGJF.js} +2 -2
  37. package/dist/bundle/{chunk-MTFTMPB6.js → chunk-IANOK5SE.js} +2 -2
  38. package/dist/bundle/{chunk-WHI3LTAW.js → chunk-ITUC5WAV.js} +1 -1
  39. package/dist/bundle/{chunk-VMXMHC6E.js → chunk-JO3BIMYK.js} +3 -3
  40. package/dist/bundle/{chunk-45JQ72CH.js → chunk-KVSC657S.js} +19 -12
  41. package/dist/bundle/{chunk-OFZDCUUJ.js → chunk-L3YX7A5M.js} +7 -7
  42. package/dist/bundle/{chunk-2CY44MKY.js → chunk-M7C4IGJ6.js} +8 -8
  43. package/dist/bundle/{chunk-GBM7FFFI.js → chunk-MCR43SWG.js} +4 -4
  44. package/dist/bundle/{chunk-YB47AQWE.js → chunk-N5VEJ3E7.js} +10 -10
  45. package/dist/bundle/{chunk-IPFFPD3M.js → chunk-NDJZQCF3.js} +297 -174
  46. package/dist/bundle/{chunk-R3G33QIV.js → chunk-OLJDZTHB.js} +13 -13
  47. package/dist/bundle/{chunk-CHC2LWKY.js → chunk-OMKPALMX.js} +2 -2
  48. package/dist/bundle/{chunk-MRTSDBTN.js → chunk-OUGGAAXI.js} +1508 -559
  49. package/dist/bundle/{chunk-SHEVFBZT.js → chunk-P6WCG6X2.js} +36 -30
  50. package/dist/bundle/{chunk-GYCJQGFO.js → chunk-QPF4LTK5.js} +6 -6
  51. package/dist/bundle/{chunk-WOFGEJ6W.js → chunk-RIO3TD3I.js} +1 -1
  52. package/dist/bundle/{chunk-RIAHISWA.js → chunk-RQSF7X22.js} +1 -1
  53. package/dist/bundle/{chunk-2ON2PDHC.js → chunk-SIYT2BBI.js} +10 -10
  54. package/dist/bundle/{chunk-M6GLFDWV.js → chunk-SMS5YNPB.js} +3 -3
  55. package/dist/bundle/{chunk-H32SKDF2.js → chunk-SW2KERUB.js} +640 -123
  56. package/dist/bundle/{chunk-BPDUVWL2.js → chunk-TVZ77ZOV.js} +2 -2
  57. package/dist/bundle/{chunk-SQAAOEGI.js → chunk-U43HUE35.js} +9 -9
  58. package/dist/bundle/{chunk-RQGTRB73.js → chunk-UEGABYXI.js} +3 -3
  59. package/dist/bundle/{chunk-TCYLDGRA.js → chunk-UHC5I3JV.js} +1 -1
  60. package/dist/bundle/{chunk-XOJ5E777.js → chunk-UWL2IOII.js} +4 -4
  61. package/dist/bundle/{chunk-ITMGJX7I.js → chunk-UXD5JMS5.js} +1 -1
  62. package/dist/bundle/{chunk-JI225TBX.js → chunk-WA3DQSAZ.js} +2 -2
  63. package/dist/bundle/{chunk-VXBUDZV3.js → chunk-XGTW3GRX.js} +2 -2
  64. package/dist/bundle/{chunk-QEO7MI3E.js → chunk-YA2JPMYX.js} +2 -2
  65. package/dist/bundle/{chunk-A3PKKY24.js → chunk-ZLH465EU.js} +1 -1
  66. package/dist/bundle/{chunk-BD7OK4P5.js → chunk-ZT2Y267T.js} +3 -3
  67. package/dist/bundle/command-contract-Y3GIKCPB.js +34 -0
  68. package/dist/bundle/{decode-5AYG6LLW.js → decode-WVIDLK4E.js} +5 -5
  69. package/dist/bundle/{dispatch-EVLWT6N3.js → dispatch-R5OF2FVZ.js} +8 -8
  70. package/dist/bundle/{dist-JRTLLLLG.js → dist-KGQWS3XL.js} +24 -14
  71. package/dist/bundle/{echarts-EFAEE4D2.js → echarts-VMKACZBF.js} +2 -2
  72. package/dist/bundle/{embed-6SSOYGZQ.js → embed-EQINOOST.js} +6 -6
  73. package/dist/bundle/{embedder-VFSLGHBO.js → embedder-LM52TDRN.js} +9 -9
  74. package/dist/bundle/{failure-RBBZ7F3L.js → failure-WYKVF6RH.js} +2 -2
  75. package/dist/bundle/{first-run-PVEHOQOD.js → first-run-H4VXZAAF.js} +11 -11
  76. package/dist/bundle/first-screen-ZP74TJLK.js +32 -0
  77. package/dist/bundle/{instructions-EOLC3GYB.js → instructions-NLSME663.js} +1 -1
  78. package/dist/bundle/mail.js +12 -12
  79. package/dist/bundle/{mcp-JYLZR5LQ.js → mcp-CFVG2OUS.js} +2 -2
  80. package/dist/bundle/{node-2ZRMQAYF.js → node-FGMSXLTA.js} +2 -2
  81. package/dist/bundle/{node-sqlite-UKWOBONA.js → node-sqlite-K3T3ZRBY.js} +6 -6
  82. package/dist/bundle/{oauth-HFD46WAY.js → oauth-OJKJ6JLH.js} +7 -7
  83. package/dist/bundle/{open-2DLCQUC4.js → open-DCYIXHXS.js} +5 -5
  84. package/dist/bundle/{openai-A7YLLQEE.js → openai-C4H4W57J.js} +14 -14
  85. package/dist/bundle/{process-I3INVLFQ.js → process-MN4NSYGA.js} +1 -1
  86. package/dist/bundle/{program-4ZCATQND.js → program-ZZZOKWCX.js} +1028 -642
  87. package/dist/bundle/{prompt-R636OFYK.js → prompt-ELEJUDAU.js} +5 -5
  88. package/dist/bundle/{recognize-G4WUSU5I.js → recognize-G2FVMI5M.js} +4 -4
  89. package/dist/bundle/{remote-BMXVVYTN.js → remote-F4YVSEYM.js} +7 -7
  90. package/dist/bundle/{rerank-7W3QEZ3Q.js → rerank-7VM5R5N6.js} +7 -7
  91. package/dist/bundle/{serve-JQCPQYOJ.js → serve-A7NRFPRN.js} +9 -9
  92. package/dist/bundle/{server-IMOCOYXH.js → server-7R2BEIRY.js} +39 -39
  93. package/dist/bundle/server-DFJA2HBO.js +64 -0
  94. package/dist/bundle/{sqlite-runtime-H2IEHDRZ.js → sqlite-runtime-4SKUB4EN.js} +6 -6
  95. package/dist/bundle/{state-J5N3Y4LX.js → state-S2FKK2XB.js} +6 -6
  96. package/dist/bundle/{store-C4TIYTGI.js → store-4HAARQVR.js} +26 -18
  97. package/dist/bundle/{store-U5WIT3P4.js → store-FLHO3UMA.js} +17 -15
  98. package/dist/bundle/store-maintenance-command-BINJIQ6F.js +54 -0
  99. package/dist/commands/restore.js +1 -1
  100. package/dist/commands/restore.js.map +1 -1
  101. package/dist/commands/status.d.ts.map +1 -1
  102. package/dist/commands/status.js +2 -8
  103. package/dist/commands/status.js.map +1 -1
  104. package/dist/version.d.ts +1 -1
  105. package/dist/version.js +1 -1
  106. package/package.json +3 -3
  107. package/dist/bundle/command-contract-AUPKK5Y4.js +0 -34
  108. package/dist/bundle/first-screen-7ONKJ7QW.js +0 -32
  109. package/dist/bundle/server-GYVOIGF5.js +0 -64
  110. package/dist/bundle/store-maintenance-command-WRRZ7Q7B.js +0 -54
  111. /package/dist/bundle/{chunk-CNMSF5QU.js → chunk-QZLK2ISN.js} +0 -0
@@ -18,15 +18,15 @@ import {
18
18
  strictObject,
19
19
  string,
20
20
  unknown
21
- } from "./chunk-XJQJ3ZIY.js";
21
+ } from "./chunk-BHNBWFT5.js";
22
22
  import {
23
23
  CliError
24
- } from "./chunk-YHUCNI2W.js";
24
+ } from "./chunk-DALBYUPC.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/tasks/model.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/tasks/model.js
30
30
  var TASK_KINDS = ["question", "request", "mention", "promise"];
31
31
  var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
32
32
  var CLOSED_STATES = ["done", "dismissed"];
@@ -41,7 +41,7 @@ function closeTask(task, state, by, at, reason) {
41
41
  }
42
42
  __name(closeTask, "closeTask");
43
43
 
44
- // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/tasks/priority.js
44
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/tasks/priority.js
45
45
  var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
46
46
  var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
47
47
  var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
@@ -70,7 +70,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
70
70
  }, "priorityOf");
71
71
  var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
72
72
 
73
- // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/tasks/service.js
73
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/tasks/service.js
74
74
  function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
75
75
  async function find(id2) {
76
76
  const task = await store.get(id2);
@@ -130,13 +130,13 @@ function median(values) {
130
130
  }
131
131
  __name(median, "median");
132
132
 
133
- // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/tasks/store.js
133
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/tasks/store.js
134
134
  function matches(task, filter) {
135
135
  return (filter.account === void 0 || task.account === filter.account) && (filter.state === void 0 || task.state === filter.state) && (filter.group === void 0 || task.group === filter.group) && (filter.kind === void 0 || task.kind === filter.kind) && (filter.createdBefore === void 0 || task.createdAt < filter.createdBefore);
136
136
  }
137
137
  __name(matches, "matches");
138
138
 
139
- // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
139
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
140
140
  var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
141
141
  var MEMORY_KINDS = ["summary", "digest", "preference"];
142
142
  var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
@@ -144,7 +144,7 @@ var MEMORY_SCOPES = ["personal", "work"];
144
144
  var WORK_TASK_TYPES = ["bug", "feature", "chore"];
145
145
  var TASK_TYPES = [...WORK_TASK_TYPES, ...TASK_KINDS];
146
146
 
147
- // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/entities/fields.js
147
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/fields.js
148
148
  var text = string();
149
149
  var id = pipe(string(), minLength(1));
150
150
  var time = isoTime;
@@ -168,7 +168,7 @@ var author = strictObject({
168
168
  name: nullable(text)
169
169
  });
170
170
 
171
- // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
171
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
172
172
  var organization = strictObject({
173
173
  id,
174
174
  ref: reference,
@@ -198,7 +198,7 @@ var reminder = strictObject({
198
198
  receipt: nullable(text)
199
199
  });
200
200
 
201
- // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
201
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
202
202
  var LINK_KINDS = [
203
203
  "links-to",
204
204
  "blocked-by",