@wirecat/mail-cli 0.32.0 → 0.34.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 (135) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/contracts/wirecat.json +2 -2
  3. package/dist/bin/mail.js +2 -2
  4. package/dist/bundle/{all-profiles-OTCWJSJS.js → all-profiles-2KUKROHY.js} +10 -10
  5. package/dist/bundle/{anthropic-GUXHDK32.js → anthropic-E5KRCEVC.js} +8 -8
  6. package/dist/bundle/{app-server-GX7DOE4O.js → app-server-HIQ3QO5K.js} +60 -52
  7. package/dist/bundle/{bun-V5QLYBZU.js → bun-KARJPE5D.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-AXD5CCO3.js → bun-sqlite-NHGX6ZUN.js} +6 -6
  9. package/dist/bundle/{chunk-4YNUQGDP.js → chunk-26DYRMXE.js} +1 -1
  10. package/dist/bundle/{chunk-3URYKAJP.js → chunk-2GDLJKPT.js} +1 -1
  11. package/dist/bundle/{chunk-JUS4Y4BW.js → chunk-2SCQ7Z4I.js} +4 -4
  12. package/dist/bundle/{chunk-LVJWN2PR.js → chunk-2VBEBPGX.js} +21 -11
  13. package/dist/bundle/{chunk-OUM4ZO53.js → chunk-4SKE5GYA.js} +1 -1
  14. package/dist/bundle/{chunk-WNGMI6AZ.js → chunk-4URI6EAV.js} +3 -3
  15. package/dist/bundle/chunk-4VHK5UBM.js +170 -0
  16. package/dist/bundle/{chunk-O7OP5NQO.js → chunk-4VM3UCSO.js} +2 -2
  17. package/dist/bundle/chunk-5GANGHQI.js +721 -0
  18. package/dist/bundle/{chunk-SWXKS7JK.js → chunk-6G4VQFVX.js} +19 -19
  19. package/dist/bundle/{chunk-TDTCCHAI.js → chunk-6GGMFL7J.js} +3 -3
  20. package/dist/bundle/{chunk-6XNTELM5.js → chunk-6LFRZDPV.js} +1 -1
  21. package/dist/bundle/{chunk-CD3TAITM.js → chunk-A2Y2RFNW.js} +75 -11
  22. package/dist/bundle/{chunk-M4OP5ASJ.js → chunk-AGZ7SNFF.js} +1 -1
  23. package/dist/bundle/chunk-CKVWAUBW.js +787 -0
  24. package/dist/bundle/{chunk-SZZJOSIS.js → chunk-DYQGEZA2.js} +3 -3
  25. package/dist/bundle/{chunk-JRGPPS6H.js → chunk-DZRP4UCK.js} +13 -13
  26. package/dist/bundle/{chunk-7GW4D3OW.js → chunk-EGQJDEFY.js} +85 -39
  27. package/dist/bundle/{chunk-7MEVD5PI.js → chunk-EZAX77SM.js} +20 -20
  28. package/dist/bundle/{chunk-2IYAZRTC.js → chunk-FNYWC6A3.js} +2 -2
  29. package/dist/bundle/chunk-FORAOCZ3.js +334 -0
  30. package/dist/bundle/{chunk-IX3GUNGV.js → chunk-H77ALM2Y.js} +4 -4
  31. package/dist/bundle/{chunk-MENP3FF5.js → chunk-HH647UBC.js} +23 -23
  32. package/dist/bundle/{chunk-HUWQ7LXZ.js → chunk-HRDCH2VB.js} +947 -953
  33. package/dist/bundle/{chunk-ZDP6A2VL.js → chunk-I3MS74OF.js} +4 -4
  34. package/dist/bundle/{chunk-TWHIZJAZ.js → chunk-IMQ4CVZJ.js} +2 -2
  35. package/dist/bundle/{chunk-NMN5JUYL.js → chunk-JVGVLRBA.js} +5 -5
  36. package/dist/bundle/{chunk-U57QRUP7.js → chunk-KF6O4RZO.js} +3 -3
  37. package/dist/bundle/{chunk-LVFI3TCG.js → chunk-KGYK3OI3.js} +6 -6
  38. package/dist/bundle/{chunk-PALY5PGE.js → chunk-KLI5FKZ2.js} +7 -7
  39. package/dist/bundle/chunk-KNVTBDTE.js +72 -0
  40. package/dist/bundle/{chunk-PCWAZVAD.js → chunk-LKTDW5LH.js} +7 -7
  41. package/dist/bundle/{chunk-ECZSYLSL.js → chunk-LOSYDRJU.js} +45 -8
  42. package/dist/bundle/{chunk-HFA6AZWA.js → chunk-MDISZMK4.js} +4 -4
  43. package/dist/bundle/{chunk-GPOTPA3S.js → chunk-MGXYIVVJ.js} +14 -13
  44. package/dist/bundle/{chunk-KLGZX6QT.js → chunk-NAENYLIO.js} +2 -2
  45. package/dist/bundle/{chunk-SDAYOJLL.js → chunk-NHD5BOJU.js} +6 -6
  46. package/dist/bundle/{chunk-FA3B2DHZ.js → chunk-NI4GCP2T.js} +2 -2
  47. package/dist/bundle/{chunk-ZAD7K4TI.js → chunk-NJVJH5MH.js} +8053 -8240
  48. package/dist/bundle/{chunk-IVD3JTN5.js → chunk-NWD7AFOR.js} +2 -2
  49. package/dist/bundle/{chunk-U346WBJ5.js → chunk-NXERDBEK.js} +4 -4
  50. package/dist/bundle/{chunk-AJY2IT25.js → chunk-OG5QO5RR.js} +8 -8
  51. package/dist/bundle/{chunk-RNBG75HW.js → chunk-OJ3BI2U4.js} +29 -30
  52. package/dist/bundle/chunk-OOYRMTX5.js +374 -0
  53. package/dist/bundle/{chunk-GSXCMQWV.js → chunk-OX5MCGXL.js} +40 -40
  54. package/dist/bundle/{chunk-T577U52I.js → chunk-PA4GEJXQ.js} +9 -9
  55. package/dist/bundle/{chunk-2UMEZY6D.js → chunk-PC3N3LH3.js} +3 -3
  56. package/dist/bundle/{chunk-WQOGHND4.js → chunk-PRDKEVUL.js} +1 -1
  57. package/dist/bundle/{chunk-Z6OKVD3R.js → chunk-PVZMN3UZ.js} +8 -8
  58. package/dist/bundle/{chunk-SEJBS7SI.js → chunk-QFJC6POK.js} +1 -1
  59. package/dist/bundle/{chunk-MVMNZ3Q3.js → chunk-QOQF2TX3.js} +893 -1491
  60. package/dist/bundle/{chunk-7KCBPAQS.js → chunk-QQGPV3QN.js} +2 -2
  61. package/dist/bundle/{chunk-6SJ7HHAE.js → chunk-QXLYLVEC.js} +1 -1
  62. package/dist/bundle/chunk-QXYNDMA6.js +259 -0
  63. package/dist/bundle/{chunk-QHXOXYAT.js → chunk-R2GS3GBJ.js} +61 -59
  64. package/dist/bundle/{chunk-6TRKNME5.js → chunk-RPNQXWRS.js} +4 -4
  65. package/dist/bundle/{chunk-7C6FGWDH.js → chunk-SK3N4CK5.js} +4 -4
  66. package/dist/bundle/{chunk-GDDCKTBR.js → chunk-T2EE5M7O.js} +5 -5
  67. package/dist/bundle/{chunk-U7RLFLTM.js → chunk-TZJC4AOK.js} +30 -29
  68. package/dist/bundle/{chunk-PCMQYGEM.js → chunk-V43KEZYA.js} +9 -9
  69. package/dist/bundle/{chunk-MSK7RNOM.js → chunk-VBVR6JRC.js} +283 -515
  70. package/dist/bundle/{chunk-KLFF54AF.js → chunk-VRGEDK4T.js} +8 -8
  71. package/dist/bundle/{chunk-ANYADN3S.js → chunk-WYGDALB3.js} +31 -85
  72. package/dist/bundle/{chunk-IBCGCYRU.js → chunk-X6IGETU6.js} +2 -2
  73. package/dist/bundle/{chunk-CAQ5GW3A.js → chunk-XIF75Z7D.js} +1 -1
  74. package/dist/bundle/chunk-XWU3A7H6.js +29 -0
  75. package/dist/bundle/{chunk-XXXVVNGI.js → chunk-YWX5X5RI.js} +19 -117
  76. package/dist/bundle/{chunk-FIVFP53N.js → chunk-Z6A6QPPW.js} +1 -1
  77. package/dist/bundle/{chunk-MHXZ62CU.js → chunk-ZGZADWD7.js} +1 -1
  78. package/dist/bundle/{chunk-MT2WDBG2.js → chunk-ZZEWQR43.js} +18 -14
  79. package/dist/bundle/command-contract-PZ7VOOXP.js +39 -0
  80. package/dist/bundle/{command-server-entry-BVXOPKXH.js → command-server-entry-NF45UPEV.js} +28 -25
  81. package/dist/bundle/decode-DUZA3EHC.js +296 -0
  82. package/dist/bundle/{dispatch-DSVN7MNG.js → dispatch-CDJZAMVP.js} +8 -8
  83. package/dist/bundle/{dist-B2JWWTNN.js → dist-RH7EMC4J.js} +29 -24
  84. package/dist/bundle/{echarts-QIXLXS3G.js → echarts-GZHZBNRA.js} +2 -2
  85. package/dist/bundle/{embed-4NC4ELYP.js → embed-VE3CSJN4.js} +6 -6
  86. package/dist/bundle/{embedder-HBRDIFQC.js → embedder-DSJ77DX5.js} +9 -9
  87. package/dist/bundle/{failure-COTPFUP4.js → failure-YH6HAGFT.js} +2 -2
  88. package/dist/bundle/{first-run-6QF67AAZ.js → first-run-3L7HLYTI.js} +12 -12
  89. package/dist/bundle/first-screen-MY5KID77.js +37 -0
  90. package/dist/bundle/{instructions-MD2RZT5Z.js → instructions-OZK3BLIO.js} +1 -1
  91. package/dist/bundle/mail.js +12 -12
  92. package/dist/bundle/{mcp-TDKGDB4V.js → mcp-YUG4YR4R.js} +2 -2
  93. package/dist/bundle/meeting-combined-RYMUPY54.js +24 -0
  94. package/dist/bundle/meeting-model-U7LW5WEN.js +24 -0
  95. package/dist/bundle/meeting-semantic-64IOIQRR.js +21 -0
  96. package/dist/bundle/{node-IEVT2FSJ.js → node-OS3VWBUZ.js} +2 -2
  97. package/dist/bundle/{node-sqlite-EOTTDMOG.js → node-sqlite-RQ623VFA.js} +7 -7
  98. package/dist/bundle/{oauth-A5BEFGCI.js → oauth-CBPAG734.js} +7 -7
  99. package/dist/bundle/{open-HWN2EZYG.js → open-H4DGOMBC.js} +5 -5
  100. package/dist/bundle/{openai-PJKJ4CIU.js → openai-EMWRGR54.js} +28 -26
  101. package/dist/bundle/{process-6Q23D3TO.js → process-3TOIYASI.js} +1 -1
  102. package/dist/bundle/{program-WR43NPAV.js → program-WA6RGAJL.js} +3151 -2105
  103. package/dist/bundle/{prompt-E7Q2662O.js → prompt-22KNCMBI.js} +5 -5
  104. package/dist/bundle/{recognize-4F4PIL4B.js → recognize-UWD4RSCZ.js} +4 -4
  105. package/dist/bundle/{remote-RGJXO7XK.js → remote-LJY7MF2E.js} +9 -9
  106. package/dist/bundle/{rerank-EDY7PHMG.js → rerank-JJ6KNJFB.js} +7 -7
  107. package/dist/bundle/{serve-Q4XF6ID2.js → serve-3EPLJYVZ.js} +9 -9
  108. package/dist/bundle/{server-5I72DSDF.js → server-5JOFO4V4.js} +52 -44
  109. package/dist/bundle/server-EOQNS7B7.js +75 -0
  110. package/dist/bundle/{sqlite-runtime-PU3Z2H7C.js → sqlite-runtime-MGJA5E27.js} +6 -6
  111. package/dist/bundle/{state-CWSXJBU2.js → state-UCRDOWOP.js} +6 -6
  112. package/dist/bundle/{store-KQPKS3PX.js → store-265VRRQV.js} +25 -20
  113. package/dist/bundle/{store-ZAMKKM2A.js → store-HS272YSA.js} +21 -17
  114. package/dist/bundle/store-maintenance-command-IKZM5NRP.js +66 -0
  115. package/dist/commands/messages.js +1 -1
  116. package/dist/commands/messages.js.map +1 -1
  117. package/dist/config.d.ts +1 -0
  118. package/dist/config.d.ts.map +1 -1
  119. package/dist/identity.d.ts.map +1 -1
  120. package/dist/identity.js +2 -2
  121. package/dist/identity.js.map +1 -1
  122. package/dist/mail/cleanup.d.ts.map +1 -1
  123. package/dist/mail/cleanup.js +4 -3
  124. package/dist/mail/cleanup.js.map +1 -1
  125. package/dist/mail/rules/apply.js +1 -1
  126. package/dist/mail/rules/apply.js.map +1 -1
  127. package/dist/version.d.ts +1 -1
  128. package/dist/version.js +1 -1
  129. package/package.json +3 -3
  130. package/dist/bundle/command-contract-DZ6XRIOI.js +0 -36
  131. package/dist/bundle/decode-STN3EHT7.js +0 -162
  132. package/dist/bundle/first-screen-LXSZMK2P.js +0 -34
  133. package/dist/bundle/server-2Y5NSP2U.js +0 -67
  134. package/dist/bundle/store-maintenance-command-PMTTDR6J.js +0 -58
  135. /package/dist/bundle/{chunk-XWBPP2HX.js → chunk-FEBUZHU3.js} +0 -0
@@ -13,26 +13,27 @@ import {
13
13
  kindsIn,
14
14
  providerNamed,
15
15
  providers
16
- } from "./chunk-MVMNZ3Q3.js";
16
+ } from "./chunk-CKVWAUBW.js";
17
17
  import {
18
18
  isCliFailure,
19
19
  isStoreDamage
20
- } from "./chunk-O7OP5NQO.js";
20
+ } from "./chunk-4VM3UCSO.js";
21
21
  import {
22
22
  refuseOwnerStoreInTests
23
- } from "./chunk-FA3B2DHZ.js";
23
+ } from "./chunk-NI4GCP2T.js";
24
24
  import {
25
25
  createRecordLog,
26
26
  resolvePaths,
27
27
  traceIdOf,
28
28
  writeSecurely
29
- } from "./chunk-7MEVD5PI.js";
29
+ } from "./chunk-EZAX77SM.js";
30
30
  import {
31
31
  array,
32
32
  boolean,
33
+ description,
33
34
  integer,
34
35
  isoTime,
35
- isoTimestamp,
36
+ maxLength,
36
37
  minLength,
37
38
  minValue,
38
39
  nullable,
@@ -45,25 +46,25 @@ import {
45
46
  strictObject,
46
47
  string,
47
48
  unknown
48
- } from "./chunk-ECZSYLSL.js";
49
+ } from "./chunk-LOSYDRJU.js";
49
50
  import {
50
51
  CliError
51
- } from "./chunk-7KCBPAQS.js";
52
+ } from "./chunk-QQGPV3QN.js";
52
53
  import {
53
54
  __name
54
55
  } from "./chunk-ZVVMGPBJ.js";
55
56
 
56
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/runs/scope.js
57
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/runs/scope.js
57
58
  import { AsyncLocalStorage } from "node:async_hooks";
58
59
  import { randomBytes } from "node:crypto";
59
60
 
60
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/runs/run.js
61
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/runs/run.js
61
62
  import { randomUUID } from "node:crypto";
62
63
  import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
63
64
  import { userInfo } from "node:os";
64
65
  import { join, sep } from "node:path";
65
66
 
66
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
67
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
67
68
  var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
68
69
  var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
69
70
  var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
@@ -76,7 +77,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
76
77
  error: /* @__PURE__ */ __name((event, message) => logger.error(logAttributes(event), message), "error")
77
78
  }), "snakeLogger");
78
79
 
79
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
80
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
80
81
  var diagnostic = {
81
82
  event: true,
82
83
  operation: true,
@@ -150,7 +151,7 @@ var LOG_ATTRIBUTES = [
150
151
  ...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
151
152
  ].sort();
152
153
 
153
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/runs/run.js
154
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/runs/run.js
154
155
  var KEEP_RUNS_FOR_DAYS = 30;
155
156
  var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
156
157
  var KEEP_STORE_RUNS_FOR_DAYS = 3;
@@ -517,7 +518,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
517
518
  };
518
519
  }, "metadataOf");
519
520
 
520
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/runs/scope.js
521
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/runs/scope.js
521
522
  var scopes = new AsyncLocalStorage();
522
523
  var processScope;
523
524
  var ownProcesses = new AsyncLocalStorage();
@@ -568,7 +569,7 @@ var attempts = new AsyncLocalStorage();
568
569
  var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
569
570
  var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
570
571
 
571
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/tasks/model.js
572
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/tasks/model.js
572
573
  var TASK_KINDS = ["question", "request", "mention", "promise"];
573
574
  var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
574
575
  var CLOSED_STATES = ["done", "dismissed"];
@@ -583,7 +584,7 @@ function closeTask(task, state, by, at, reason) {
583
584
  }
584
585
  __name(closeTask, "closeTask");
585
586
 
586
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/tasks/priority.js
587
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/tasks/priority.js
587
588
  var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
588
589
  var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
589
590
  var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
@@ -612,7 +613,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
612
613
  }, "priorityOf");
613
614
  var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
614
615
 
615
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/tasks/service.js
616
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/tasks/service.js
616
617
  function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
617
618
  async function find(id2) {
618
619
  const task = await store.get(id2);
@@ -672,24 +673,24 @@ function median(values) {
672
673
  }
673
674
  __name(median, "median");
674
675
 
675
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/tasks/store.js
676
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/tasks/store.js
676
677
  function matches(task, filter) {
677
678
  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);
678
679
  }
679
680
  __name(matches, "matches");
680
681
 
681
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/store/source-review.js
682
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/store/source-review.js
682
683
  var SOURCE_REVIEW_KIND = "memory_source_review";
683
684
  var SOURCE_REVIEW_CAUSES = ["changed", "outdated", "deleted", "contradicted"];
684
685
  var ERASED_TEXT = "[source erased]";
685
686
  var severity = /* @__PURE__ */ __name((cause) => SOURCE_REVIEW_CAUSES.indexOf(cause), "severity");
686
687
  var graver = /* @__PURE__ */ __name((a, b) => severity(b) > severity(a) ? b : a, "graver");
687
688
 
688
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/fields.js
689
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/entities/fields.js
689
690
  var text = string();
690
691
  var id = pipe(string(), minLength(1));
691
692
  var time = isoTime;
692
- var zonedTime = pipe(string(), isoTimestamp("an ISO 8601 time with a zone"));
693
+ var typedTime = pipe(string(), minLength(1), maxLength(64), description("an ISO 8601 date or time, in the computer's zone without one; or 30m, 2h, 7d ago"));
693
694
  var count = pipe(number(), integer(), minValue(0));
694
695
  var untrusted = optional(array(text));
695
696
  var providerMetadata = optional(record(string(), unknown()));
@@ -710,7 +711,7 @@ var author = strictObject({
710
711
  name: nullable(text)
711
712
  });
712
713
 
713
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
714
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
714
715
  var organization = strictObject({
715
716
  id,
716
717
  ref: reference,
@@ -740,7 +741,7 @@ var reminder = strictObject({
740
741
  receipt: nullable(text)
741
742
  });
742
743
 
743
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/store/marks.js
744
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/store/marks.js
744
745
  import { readFileSync as readFileSync2, rmSync as rmSync2, statSync as statSync2, writeFileSync as writeFileSync2 } from "node:fs";
745
746
  var damageMarkPath = /* @__PURE__ */ __name((store) => `${store}.damaged.json`, "damageMarkPath");
746
747
  var healthMarkPath = /* @__PURE__ */ __name((store) => `${store}.health.json`, "healthMarkPath");
@@ -861,7 +862,7 @@ var recordDeepCheck = /* @__PURE__ */ __name((store, health, { cli, version, sch
861
862
  return { previous, cleared };
862
863
  }, "recordDeepCheck");
863
864
 
864
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
865
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
865
866
  var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
866
867
  var MEMORY_KINDS = ["summary", "digest", "preference"];
867
868
  var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
@@ -869,7 +870,7 @@ var MEMORY_SCOPES = ["personal", "work"];
869
870
  var WORK_TASK_TYPES = ["bug", "feature", "chore"];
870
871
  var TASK_TYPES = [...WORK_TASK_TYPES, ...TASK_KINDS];
871
872
 
872
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/store/sqlite/link-source.js
873
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/store/sqlite/link-source.js
873
874
  var REPORTER_SQL = "(SELECT provider || ':' || external_id FROM accounts r WHERE r.id = links.account_id) AS reporter";
874
875
  var sourceOf = /* @__PURE__ */ __name((database, row, metadata) => {
875
876
  const reporter = row.account_id == null ? void 0 : "reporter" in row ? row.reporter : database.prepare("SELECT provider || ':' || external_id AS key FROM accounts WHERE id = ?").get(Number(row.account_id))?.key;
@@ -879,7 +880,7 @@ var sourceOf = /* @__PURE__ */ __name((database, row, metadata) => {
879
880
  };
880
881
  }, "sourceOf");
881
882
 
882
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
883
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
883
884
  var LINK_KINDS = [
884
885
  "links-to",
885
886
  "blocked-by",
@@ -903,7 +904,7 @@ var LINK_SOURCES = [...LINK_ORIGINS, "calendar", "meeting"];
903
904
  var linkKind = /* @__PURE__ */ __name((kind) => `'${kind}'`, "linkKind");
904
905
  var COUNTERPART_ROLE = "counterpart";
905
906
 
906
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/search/query.js
907
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/search/query.js
907
908
  var isBotProvider = /* @__PURE__ */ __name((provider) => provider.endsWith("-bot"), "isBotProvider");
908
909
  var inSource = /* @__PURE__ */ __name((source, provider) => source === "all" || source === "bots" && isBotProvider(provider) || source === "personal" && !isBotProvider(provider) || source === provider || providerNamed(source)?.name === provider || isKind(source) && holdsKindOf(provider, source), "inSource");
909
910
  var fail = /* @__PURE__ */ __name((message) => {
@@ -926,7 +927,7 @@ var sourceOf2 = /* @__PURE__ */ __name((name, value, providers2) => {
926
927
  return fail(`${name} takes ${[...sources, "messages", "mail"].join(", ")} \u2014 not "${value}"`);
927
928
  }, "sourceOf");
928
929
 
929
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/search/account-list.js
930
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/search/account-list.js
930
931
  var ACCOUNT_GROUPS = "accountGroups";
931
932
  var ACCOUNT_GROUPS_SETTING = "account_groups";
932
933
  var GROUP_NAME = /^[a-z0-9][a-z0-9_-]*$/i;
@@ -1136,7 +1137,7 @@ var fitting = /* @__PURE__ */ __name((entries, kinds, what, reasonOf = (kind) =>
1136
1137
  return { accounts: [...chosen.values()], skipped };
1137
1138
  }, "fitting");
1138
1139
 
1139
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/categories.js
1140
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/domain/categories.js
1140
1141
  var CATEGORIES = ["client", "supplier", "partner", "employer"];
1141
1142
 
1142
1143
  export {
@@ -1190,7 +1191,7 @@ export {
1190
1191
  text,
1191
1192
  id,
1192
1193
  time,
1193
- zonedTime,
1194
+ typedTime,
1194
1195
  count,
1195
1196
  untrusted,
1196
1197
  providerMetadata,
@@ -1,12 +1,12 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
- import {
4
- commandPathOf,
5
- outputOf
6
- } from "./chunk-NMN5JUYL.js";
7
3
  import {
8
4
  wrapAnsi
9
5
  } from "./chunk-HTQTIKWP.js";
6
+ import {
7
+ commandPathOf,
8
+ outputOf
9
+ } from "./chunk-JVGVLRBA.js";
10
10
  import {
11
11
  Command,
12
12
  Help,
@@ -17,18 +17,18 @@ import {
17
17
  environmentOf,
18
18
  metaOf,
19
19
  takesProfile
20
- } from "./chunk-MSK7RNOM.js";
20
+ } from "./chunk-VBVR6JRC.js";
21
21
  import {
22
22
  writes
23
- } from "./chunk-ECZSYLSL.js";
23
+ } from "./chunk-LOSYDRJU.js";
24
24
  import {
25
25
  CliError
26
- } from "./chunk-7KCBPAQS.js";
26
+ } from "./chunk-QQGPV3QN.js";
27
27
  import {
28
28
  __name
29
29
  } from "./chunk-ZVVMGPBJ.js";
30
30
 
31
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
31
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
32
32
  var ARGUMENT_KINDS = {
33
33
  chat: "chat",
34
34
  chats: "chat",
@@ -221,7 +221,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
221
221
  command.addHelpText("after", () => commandHelpText(command));
222
222
  }, "installCommandHelp");
223
223
 
224
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
224
+ // node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
225
225
  var WIRECAT_TOOLS = [
226
226
  {
227
227
  command: "tg",