@wirecat/mail-cli 0.7.0 → 0.8.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 (115) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-SI67TKZM.js → all-profiles-MXGDUBAM.js} +9 -9
  4. package/dist/bundle/{anthropic-DALMLC3Y.js → anthropic-A2QA4W7L.js} +6 -6
  5. package/dist/bundle/{app-server-XOH327Z2.js → app-server-PMIMK6FK.js} +48 -48
  6. package/dist/bundle/{bun-ORL67CJ6.js → bun-3UW3LFNL.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-DGXFNFHI.js → bun-sqlite-TGFZFKAX.js} +5 -5
  8. package/dist/bundle/{chunk-IYZHM3ZN.js → chunk-2KZJWBXB.js} +3 -3
  9. package/dist/bundle/{chunk-2M4K7HYR.js → chunk-2MQXXPPK.js} +17 -17
  10. package/dist/bundle/{chunk-VBOMKZ4E.js → chunk-4QDBMYK4.js} +70 -53
  11. package/dist/bundle/{chunk-23IEVVL2.js → chunk-5PWKPRTD.js} +4 -4
  12. package/dist/bundle/{chunk-RQVWZBW3.js → chunk-5W74YMCK.js} +3 -3
  13. package/dist/bundle/{chunk-7K6KJWTO.js → chunk-6J3DKKOV.js} +12 -12
  14. package/dist/bundle/{chunk-4NYWHINR.js → chunk-6JK46V5X.js} +6 -6
  15. package/dist/bundle/{chunk-CAKBG5FC.js → chunk-6U6Z3GXR.js} +6 -6
  16. package/dist/bundle/{chunk-V4TDG4KF.js → chunk-7JUTNCQX.js} +14 -14
  17. package/dist/bundle/{chunk-6XNPXAJU.js → chunk-AO3XYONW.js} +23 -23
  18. package/dist/bundle/{chunk-JFMUI4H6.js → chunk-BCDPLG7T.js} +1 -1
  19. package/dist/bundle/{chunk-PDL4UREY.js → chunk-BEUQ2X7U.js} +8 -8
  20. package/dist/bundle/{chunk-DXGMPMFP.js → chunk-CMNFLAUG.js} +4 -4
  21. package/dist/bundle/{chunk-U6UJ3HRS.js → chunk-CRS63C3T.js} +2 -2
  22. package/dist/bundle/{chunk-SQLCCKEL.js → chunk-DLB2JPLU.js} +1 -1
  23. package/dist/bundle/{chunk-XQJWMBDY.js → chunk-DM4ULDS3.js} +6 -6
  24. package/dist/bundle/{chunk-BGUMGCUY.js → chunk-DYCPBLUC.js} +2 -2
  25. package/dist/bundle/{chunk-3TYEJRMZ.js → chunk-EN3UZPGB.js} +4 -4
  26. package/dist/bundle/{chunk-DKQWTQVY.js → chunk-EU35YQXE.js} +23 -23
  27. package/dist/bundle/{chunk-GJUUTUK4.js → chunk-EVO77D3Y.js} +8 -8
  28. package/dist/bundle/{chunk-S4YUR4S3.js → chunk-FSBKLJXM.js} +219 -206
  29. package/dist/bundle/{chunk-EYT33MM3.js → chunk-J5RKMQ6A.js} +46 -46
  30. package/dist/bundle/{chunk-ZNGQ3NZ4.js → chunk-J6ACLZKV.js} +9 -9
  31. package/dist/bundle/{chunk-45KA5667.js → chunk-KBKEZV4L.js} +13 -13
  32. package/dist/bundle/{chunk-73OJJGZE.js → chunk-KEZHPPMI.js} +17 -3
  33. package/dist/bundle/{chunk-4ULY3GDL.js → chunk-KF4YULWC.js} +10 -10
  34. package/dist/bundle/{chunk-HFJNEXU7.js → chunk-L2ZHPIFC.js} +2 -2
  35. package/dist/bundle/{chunk-BM445GYF.js → chunk-L3KMVMRJ.js} +2 -2
  36. package/dist/bundle/{chunk-FTFNWGIR.js → chunk-LN7TNZIS.js} +8 -8
  37. package/dist/bundle/{chunk-NXJLC2WK.js → chunk-NAIJNJZZ.js} +12 -8
  38. package/dist/bundle/{chunk-5JEYIHS6.js → chunk-NEBO3NZU.js} +3 -3
  39. package/dist/bundle/{chunk-VNJMO5F6.js → chunk-NI6WX55Z.js} +2 -2
  40. package/dist/bundle/{chunk-M2JCUVCJ.js → chunk-NSODLSEL.js} +94 -94
  41. package/dist/bundle/{chunk-6RMMAUUW.js → chunk-NWKLBZN5.js} +30 -30
  42. package/dist/bundle/{chunk-5BSEGMNE.js → chunk-OAQ4UB6V.js} +4 -4
  43. package/dist/bundle/{chunk-FUB3X25H.js → chunk-PEF637VV.js} +4 -4
  44. package/dist/bundle/{chunk-NNIXREJH.js → chunk-PXCIM6D5.js} +7 -7
  45. package/dist/bundle/{chunk-6LK7KTWB.js → chunk-Q5DOXSBM.js} +1 -1
  46. package/dist/bundle/{chunk-35KD2CI2.js → chunk-QBBKSCQD.js} +286 -252
  47. package/dist/bundle/{chunk-MHQKHWCJ.js → chunk-RFWTPSJX.js} +34 -28
  48. package/dist/bundle/{chunk-QZBT6BOU.js → chunk-ROZBXOES.js} +1 -1
  49. package/dist/bundle/{chunk-AP7V256W.js → chunk-RVZ4JIRR.js} +1 -1
  50. package/dist/bundle/{chunk-MMXMVGA6.js → chunk-SZ5PKNDF.js} +7 -7
  51. package/dist/bundle/{chunk-VSHJWTX5.js → chunk-TCWJYOZV.js} +6 -6
  52. package/dist/bundle/{chunk-HV3EIYX4.js → chunk-TMQA4KR7.js} +1 -1
  53. package/dist/bundle/{chunk-VKPWP3AK.js → chunk-U4IF2MOB.js} +2 -2
  54. package/dist/bundle/{chunk-ZKCNMW7G.js → chunk-UR6WHUJF.js} +2 -2
  55. package/dist/bundle/{chunk-MCJ7LKYR.js → chunk-VGR3AGAC.js} +6 -6
  56. package/dist/bundle/{chunk-R5MML3FC.js → chunk-VSDVH2M2.js} +67 -59
  57. package/dist/bundle/{chunk-E3DRM6YP.js → chunk-W5J6I5GW.js} +3 -3
  58. package/dist/bundle/{chunk-FPOGVDLS.js → chunk-W7H3PZ67.js} +2 -2
  59. package/dist/bundle/{chunk-BEMLGWY4.js → chunk-WS4L47DG.js} +1 -1
  60. package/dist/bundle/{chunk-ZKZABB4K.js → chunk-WWNAQ75T.js} +3 -3
  61. package/dist/bundle/{chunk-Q44AYEOB.js → chunk-XWNCXFR5.js} +2 -2
  62. package/dist/bundle/{chunk-LZ5J3UXD.js → chunk-YS2WUWY7.js} +4 -4
  63. package/dist/bundle/{chunk-OHTR4WFO.js → chunk-Z5GDZ3QF.js} +2 -2
  64. package/dist/bundle/{chunk-Q2C3VMSU.js → chunk-ZISFMUYB.js} +18 -18
  65. package/dist/bundle/{chunk-3GZK5GTU.js → chunk-ZKAT6I2I.js} +1 -1
  66. package/dist/bundle/command-contract-Q32SL5KX.js +34 -0
  67. package/dist/bundle/{decode-KOBURZIQ.js → decode-NF4TGOR3.js} +5 -5
  68. package/dist/bundle/{dispatch-GDAH4JHS.js → dispatch-5C6XNGEE.js} +8 -8
  69. package/dist/bundle/{dist-T7HMT675.js → dist-DVYY3YFG.js} +13 -13
  70. package/dist/bundle/{echarts-LEWTQO6H.js → echarts-F3USGP5B.js} +2 -2
  71. package/dist/bundle/{embed-PUFE4BSQ.js → embed-2RXV3BEC.js} +6 -6
  72. package/dist/bundle/{embedder-3G4BQQ6X.js → embedder-I2SJMC6N.js} +9 -9
  73. package/dist/bundle/{failure-6COJAO7T.js → failure-YRGRZBTX.js} +2 -2
  74. package/dist/bundle/{first-run-FLXOC53U.js → first-run-3GA7YCKZ.js} +11 -11
  75. package/dist/bundle/first-screen-JFIXKYAK.js +32 -0
  76. package/dist/bundle/{instructions-HGSXDCBT.js → instructions-VHI5CWH5.js} +1 -1
  77. package/dist/bundle/mail.js +12 -12
  78. package/dist/bundle/{mcp-GAPDLFWA.js → mcp-B25MZCS7.js} +2 -2
  79. package/dist/bundle/{node-5Z7PS4F5.js → node-4RBB3RDY.js} +2 -2
  80. package/dist/bundle/{node-sqlite-OAW7APIX.js → node-sqlite-FWYX3P2D.js} +5 -5
  81. package/dist/bundle/{oauth-ZFZWPAJN.js → oauth-6JKKRGLX.js} +7 -7
  82. package/dist/bundle/{open-ZQMBZVH4.js → open-7JSNC3MR.js} +4 -4
  83. package/dist/bundle/{openai-XT2RIXAK.js → openai-ASLWL3D6.js} +14 -14
  84. package/dist/bundle/{process-VVEQIHPE.js → process-AB2D2G2Q.js} +1 -1
  85. package/dist/bundle/{program-RD3BBDNY.js → program-ZJPQ3IDU.js} +447 -382
  86. package/dist/bundle/{prompt-PU7GE4Z4.js → prompt-JDFVQR3L.js} +5 -5
  87. package/dist/bundle/{recognize-AG4A3KUK.js → recognize-PKYA4HRC.js} +4 -4
  88. package/dist/bundle/{remote-D6TQ6T7F.js → remote-USBVVO4O.js} +7 -7
  89. package/dist/bundle/{rerank-GO24HJPF.js → rerank-UBMV6KO6.js} +7 -7
  90. package/dist/bundle/{serve-WCHJAH6G.js → serve-SVS3YOYS.js} +9 -9
  91. package/dist/bundle/{server-CAVNBG3P.js → server-7PZMYXY6.js} +38 -38
  92. package/dist/bundle/server-KA7Q5XCL.js +63 -0
  93. package/dist/bundle/{sqlite-runtime-ANXC4AW2.js → sqlite-runtime-IDPTXAM7.js} +5 -5
  94. package/dist/bundle/{state-EGJ66A62.js → state-6G2TSVP7.js} +6 -6
  95. package/dist/bundle/{store-OON7FCMQ.js → store-7A464D4X.js} +15 -15
  96. package/dist/bundle/{store-SBFA444C.js → store-L56GFI4P.js} +13 -13
  97. package/dist/bundle/store-maintenance-command-2LM4GOI3.js +52 -0
  98. package/dist/commands/read.d.ts.map +1 -1
  99. package/dist/commands/read.js +1 -0
  100. package/dist/commands/read.js.map +1 -1
  101. package/dist/commands/server-search.d.ts.map +1 -1
  102. package/dist/commands/server-search.js +3 -2
  103. package/dist/commands/server-search.js.map +1 -1
  104. package/dist/providers.d.ts +8 -0
  105. package/dist/providers.d.ts.map +1 -1
  106. package/dist/providers.js +2 -0
  107. package/dist/providers.js.map +1 -1
  108. package/dist/version.d.ts +1 -1
  109. package/dist/version.js +1 -1
  110. package/package.json +3 -3
  111. package/dist/bundle/command-contract-CB5BII3S.js +0 -34
  112. package/dist/bundle/first-screen-VUZEDSQW.js +0 -32
  113. package/dist/bundle/server-5KJJ3D6P.js +0 -63
  114. package/dist/bundle/store-maintenance-command-UEOJLYMJ.js +0 -52
  115. /package/dist/bundle/{chunk-WJWLHLQ7.js → chunk-EKRM2QJB.js} +0 -0
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  renderMessages
5
- } from "./chunk-HFJNEXU7.js";
5
+ } from "./chunk-L2ZHPIFC.js";
6
6
  import {
7
7
  answerOf,
8
8
  messengerContext
9
- } from "./chunk-DKQWTQVY.js";
9
+ } from "./chunk-EU35YQXE.js";
10
10
  import {
11
11
  RULES_VERSION,
12
12
  applyTaskRulesOnArrival,
@@ -23,19 +23,19 @@ import {
23
23
  syncsOneChat,
24
24
  typedQuery,
25
25
  withQuery
26
- } from "./chunk-S4YUR4S3.js";
26
+ } from "./chunk-FSBKLJXM.js";
27
27
  import {
28
28
  checkedOptions,
29
29
  range
30
- } from "./chunk-ZKZABB4K.js";
30
+ } from "./chunk-WWNAQ75T.js";
31
31
  import {
32
32
  messagesFor,
33
33
  systemFor,
34
34
  validateImages
35
- } from "./chunk-ZKCNMW7G.js";
35
+ } from "./chunk-UR6WHUJF.js";
36
36
  import {
37
37
  readSecret
38
- } from "./chunk-E3DRM6YP.js";
38
+ } from "./chunk-W5J6I5GW.js";
39
39
  import {
40
40
  Command,
41
41
  LOCAL_READ,
@@ -62,23 +62,23 @@ import {
62
62
  snakeKeys,
63
63
  storeTable,
64
64
  withoutProviderRefs
65
- } from "./chunk-R5MML3FC.js";
65
+ } from "./chunk-VSDVH2M2.js";
66
66
  import {
67
67
  levelFor
68
- } from "./chunk-VSHJWTX5.js";
68
+ } from "./chunk-TCWJYOZV.js";
69
69
  import {
70
70
  failureKey
71
- } from "./chunk-ZNGQ3NZ4.js";
71
+ } from "./chunk-J6ACLZKV.js";
72
72
  import {
73
73
  holdLock,
74
74
  lockPath,
75
75
  releaseLock,
76
76
  servingProfiles,
77
77
  takeLock
78
- } from "./chunk-5JEYIHS6.js";
78
+ } from "./chunk-NEBO3NZU.js";
79
79
  import {
80
80
  holdersOf
81
- } from "./chunk-6LK7KTWB.js";
81
+ } from "./chunk-Q5DOXSBM.js";
82
82
  import {
83
83
  MIGRATIONS,
84
84
  drainNoteIndex,
@@ -105,26 +105,26 @@ import {
105
105
  storeClients,
106
106
  storeContents,
107
107
  vectorIndexCounts
108
- } from "./chunk-35KD2CI2.js";
108
+ } from "./chunk-QBBKSCQD.js";
109
109
  import {
110
110
  formatLocator,
111
111
  parseLocator
112
- } from "./chunk-MCJ7LKYR.js";
112
+ } from "./chunk-VGR3AGAC.js";
113
113
  import {
114
114
  queryFieldsOf
115
- } from "./chunk-VBOMKZ4E.js";
115
+ } from "./chunk-4QDBMYK4.js";
116
116
  import {
117
117
  openCache
118
- } from "./chunk-XQJWMBDY.js";
118
+ } from "./chunk-DM4ULDS3.js";
119
119
  import {
120
120
  storePath
121
- } from "./chunk-Q44AYEOB.js";
121
+ } from "./chunk-XWNCXFR5.js";
122
122
  import {
123
123
  Credentials,
124
124
  pathsAreOverridden,
125
125
  resolvePaths,
126
126
  writeSecurely
127
- } from "./chunk-Q2C3VMSU.js";
127
+ } from "./chunk-ZISFMUYB.js";
128
128
  import {
129
129
  array,
130
130
  boolean,
@@ -148,10 +148,10 @@ import {
148
148
  transform,
149
149
  trim,
150
150
  union
151
- } from "./chunk-NXJLC2WK.js";
151
+ } from "./chunk-NAIJNJZZ.js";
152
152
  import {
153
153
  CliError
154
- } from "./chunk-BM445GYF.js";
154
+ } from "./chunk-L3KMVMRJ.js";
155
155
  import {
156
156
  __commonJS,
157
157
  __name,
@@ -5491,11 +5491,11 @@ var require_liquid_node = __commonJS({
5491
5491
  }
5492
5492
  });
5493
5493
 
5494
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5494
+ // 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/store-maintenance-command.js
5495
5495
  import { chmodSync, constants, copyFileSync, existsSync as existsSync7, mkdirSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync3, writeFileSync } from "node:fs";
5496
5496
  import { dirname, resolve } from "node:path";
5497
5497
 
5498
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/sealed.js
5498
+ // 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/sealed.js
5499
5499
  import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
5500
5500
  import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
5501
5501
  import { Transform } from "node:stream";
@@ -5602,7 +5602,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
5602
5602
  renameSync(pending, to);
5603
5603
  }, "unsealFile");
5604
5604
 
5605
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5605
+ // 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/store/compatibility.js
5606
5606
  var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
5607
5607
  var fileSchemaOf = /* @__PURE__ */ __name((database) => {
5608
5608
  const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
@@ -5626,7 +5626,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
5626
5626
  };
5627
5627
  }, "compatibilityOf");
5628
5628
 
5629
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/repair.js
5629
+ // 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/store/repair.js
5630
5630
  import { createHash as createHash2 } from "node:crypto";
5631
5631
  var COPY_MARK = "__repair_";
5632
5632
  var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
@@ -5880,7 +5880,7 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
5880
5880
  return found;
5881
5881
  }, "deleteCopy");
5882
5882
 
5883
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5883
+ // 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/store-info.js
5884
5884
  import { existsSync as existsSync2, statSync as statSync2 } from "node:fs";
5885
5885
  var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
5886
5886
  var bytesOf = /* @__PURE__ */ __name((path) => existsSync2(path) ? statSync2(path).size : 0, "bytesOf");
@@ -5927,7 +5927,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
5927
5927
  renderAnswer(this, outputFor(this), itemOf(answer));
5928
5928
  }), "storeInfoCommand");
5929
5929
 
5930
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
5930
+ // 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/password.js
5931
5931
  var ENCRYPT_OPTION = [
5932
5932
  "--encrypt",
5933
5933
  "compress and encrypt with a password, typed at a hidden prompt or piped on stdin; it is never kept \u2014 lose it and the file cannot be opened"
@@ -5946,7 +5946,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
5946
5946
  return password;
5947
5947
  }, "passwordOf");
5948
5948
 
5949
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/replies/rules.js
5949
+ // 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/replies/rules.js
5950
5950
  import { existsSync as existsSync3, readFileSync } from "node:fs";
5951
5951
  import { join } from "node:path";
5952
5952
  var REPLY_ACTIONS = ["reply", "task"];
@@ -6117,7 +6117,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
6117
6117
  }, "problem");
6118
6118
  var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
6119
6119
 
6120
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/replies/state.js
6120
+ // 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/replies/state.js
6121
6121
  import { existsSync as existsSync4, readFileSync as readFileSync2 } from "node:fs";
6122
6122
  import { join as join2 } from "node:path";
6123
6123
  var ANSWERED_KEPT = 1e3;
@@ -6170,7 +6170,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
6170
6170
  }, "recordReply");
6171
6171
  var broken2 = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply state ${path} cannot be read (${why}) \u2014 fix or move the file`), "broken");
6172
6172
 
6173
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/replies/decide.js
6173
+ // 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/replies/decide.js
6174
6174
  var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
6175
6175
  var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
6176
6176
  const { message, chat, owner, sender } = incoming;
@@ -6276,7 +6276,7 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
6276
6276
  return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
6277
6277
  }, "filled");
6278
6278
 
6279
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/replies/template.js
6279
+ // 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/replies/template.js
6280
6280
  var import_liquidjs = __toESM(require_liquid_node(), 1);
6281
6281
  var TEMPLATE_LIMITS = {
6282
6282
  parse: 32768,
@@ -6436,7 +6436,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
6436
6436
  }
6437
6437
  }, "renderReplyTemplate");
6438
6438
 
6439
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
6439
+ // 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/replies/dry-run.js
6440
6440
  var DRY_RUN_DAYS = 7;
6441
6441
  var PAGE = 500;
6442
6442
  var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
@@ -6550,7 +6550,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
6550
6550
  }
6551
6551
  }, "storedSince");
6552
6552
 
6553
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
6553
+ // 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/embeddings/keys.js
6554
6554
  var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
6555
6555
  const host = new URL(baseUrl).host;
6556
6556
  return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
@@ -6581,7 +6581,7 @@ var embeddingKeys = /* @__PURE__ */ __name((app, env = process.env, keyring) =>
6581
6581
  };
6582
6582
  }, "embeddingKeys");
6583
6583
 
6584
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/models/openai.js
6584
+ // 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/models/openai.js
6585
6585
  var options = strictObject({
6586
6586
  temperature: range(0, 2),
6587
6587
  top_p: range(0, 1),
@@ -6630,7 +6630,7 @@ var openai = {
6630
6630
  }, "complete")
6631
6631
  };
6632
6632
 
6633
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/models/index.js
6633
+ // 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/models/index.js
6634
6634
  var modelGateway = /* @__PURE__ */ __name((deps) => ({
6635
6635
  complete: /* @__PURE__ */ __name(async (request) => {
6636
6636
  if (deps.signal?.aborted)
@@ -6645,7 +6645,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
6645
6645
  if (!adapter && target.provider === "openai")
6646
6646
  adapter = openai;
6647
6647
  if (!adapter && target.provider === "anthropic")
6648
- adapter = (await import("./anthropic-DALMLC3Y.js")).anthropic;
6648
+ adapter = (await import("./anthropic-A2QA4W7L.js")).anthropic;
6649
6649
  if (!adapter)
6650
6650
  throw new CliError("validation_error", `no model adapter for ${target.provider}`);
6651
6651
  if (request.images !== void 0 && adapter.images !== true)
@@ -6686,7 +6686,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
6686
6686
  }, "complete")
6687
6687
  }), "modelGateway");
6688
6688
 
6689
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/replies/consents.js
6689
+ // 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/replies/consents.js
6690
6690
  import { existsSync as existsSync5, readFileSync as readFileSync3 } from "node:fs";
6691
6691
  import { join as join3 } from "node:path";
6692
6692
  var shape = strictObject({
@@ -6711,7 +6711,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
6711
6711
  return consent.provider === provider && !consent.deniedChats.includes(chat);
6712
6712
  }, "mayModelReply");
6713
6713
 
6714
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/replies/rendering.js
6714
+ // 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/replies/rendering.js
6715
6715
  var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options2 = {
6716
6716
  ai: true
6717
6717
  }) => async (rule2, message, chat, now) => {
@@ -6758,7 +6758,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
6758
6758
  return result2;
6759
6759
  }, "replyRenderer");
6760
6760
 
6761
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/replies/serve.js
6761
+ // 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/replies/serve.js
6762
6762
  var NOT_ALLOWED = "replies.send is not allow";
6763
6763
  var NO_RULES = "no rules";
6764
6764
  var ONLY_TASK = "opened a task, sent nothing";
@@ -6851,7 +6851,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
6851
6851
  return { skip: why };
6852
6852
  }, "replyTo");
6853
6853
 
6854
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
6854
+ // 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/serve-members.js
6855
6855
  var FIRST_FETCH_MS = 6e4;
6856
6856
  var DAY_MS = 864e5;
6857
6857
  var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
@@ -6905,7 +6905,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, fi
6905
6905
  };
6906
6906
  }, "memberFetches");
6907
6907
 
6908
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
6908
+ // 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/serve-notice.js
6909
6909
  var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
6910
6910
  var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
6911
6911
  if (context.format === "pretty") {
@@ -6938,7 +6938,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
6938
6938
  return context;
6939
6939
  }, "recordDiagnostics");
6940
6940
 
6941
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
6941
+ // 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/serve-stems.js
6942
6942
  var STEMS_EVERY_MS = 3e4;
6943
6943
  var STEMS_SLICE_MS = 2e3;
6944
6944
  var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
@@ -6978,7 +6978,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
6978
6978
  };
6979
6979
  }, "stemFills");
6980
6980
 
6981
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
6981
+ // 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/message-items.js
6982
6982
  var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
6983
6983
  var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
6984
6984
  kind: attachment.kind,
@@ -7073,7 +7073,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
7073
7073
  locale: messenger.app.locale
7074
7074
  }), "viewOf");
7075
7075
 
7076
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7076
+ // 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/watch-answers.js
7077
7077
  var observed = /* @__PURE__ */ __name((value) => ({
7078
7078
  value: value.value,
7079
7079
  observed_at: value.observedAt,
@@ -7140,7 +7140,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
7140
7140
  }
7141
7141
  }, "watchEventItem");
7142
7142
 
7143
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
7143
+ // 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/watch-command.js
7144
7144
  var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
7145
7145
  output: { entity: "watch_item" },
7146
7146
  effects: REMOTE_READ,
@@ -7295,7 +7295,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
7295
7295
  }
7296
7296
  }, "describe");
7297
7297
 
7298
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
7298
+ // 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/serve-command.js
7299
7299
  var serveCommand = /* @__PURE__ */ __name((messenger) => {
7300
7300
  const command = annotate(new Command("serve"), {
7301
7301
  output: { entity: "serve_summary" },
@@ -7511,7 +7511,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
7511
7511
  };
7512
7512
  }, "tasking");
7513
7513
 
7514
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
7514
+ // 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/store-tables-command.js
7515
7515
  import { existsSync as existsSync6 } from "node:fs";
7516
7516
  var PATH = "store tables list";
7517
7517
  var STORE_TABLES_QUERY = {
@@ -7554,7 +7554,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((messenger) => {
7554
7554
  return tables;
7555
7555
  }, "storeTablesCommand");
7556
7556
 
7557
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
7557
+ // 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/store-maintenance-command.js
7558
7558
  var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
7559
7559
  var WORD_INDEX = "message_words";
7560
7560
  var schemaOf = /* @__PURE__ */ __name((database) => {
@@ -2,22 +2,22 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  isContentKey
5
- } from "./chunk-Q2C3VMSU.js";
5
+ } from "./chunk-ZISFMUYB.js";
6
6
  import {
7
7
  errorCodes
8
- } from "./chunk-BM445GYF.js";
8
+ } from "./chunk-L3KMVMRJ.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/runs/run-context.js
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
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.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
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
18
18
  import { homedir } from "node:os";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/errors/failures.js
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
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.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/runs/events.js
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
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.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/runs/secrets.js
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
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.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
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
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.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/runs/run-context.js
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
267
267
  var REDACTED = "[redacted]";
268
268
  var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
269
269
  if (!record)
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-BM445GYF.js";
5
+ } from "./chunk-L3KMVMRJ.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
10
+ // 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/files/ordinary-file.js
11
11
  import { constants } from "node:fs";
12
12
  import { lstat, open } from "node:fs/promises";
13
13
  var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
@@ -73,7 +73,7 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
73
73
  }
74
74
  }, "syncDirectory");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
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/files/atomic-write.js
77
77
  import { randomUUID } from "node:crypto";
78
78
  import { constants as constants2 } from "node:fs";
79
79
  import { link, open as open2, realpath, rename, unlink } from "node:fs/promises";
@@ -111,7 +111,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
111
111
  }
112
112
  }, "writeFileAtomic");
113
113
 
114
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
114
+ // 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/files/bounded-utf8.js
115
115
  var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
116
116
  if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
117
117
  throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
@@ -140,21 +140,21 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
140
140
  }
141
141
  }, "readBoundedUtf8File");
142
142
 
143
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/files/lock.js
143
+ // 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/files/lock.js
144
144
  import { mkdir as mkdir2 } from "node:fs/promises";
145
145
  import { basename as basename2, dirname as dirname2 } from "node:path";
146
146
 
147
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
147
+ // 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/files/native-writer-lease.js
148
148
  import { randomUUID as randomUUID2 } from "node:crypto";
149
149
  import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
150
150
  import { hostname as hostname2 } from "node:os";
151
151
  import { join as join3 } from "node:path";
152
152
 
153
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
153
+ // 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/files/native-lease-inspection.js
154
154
  import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
155
155
  import { join as join2 } from "node:path";
156
156
 
157
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
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/files/native-lease-owner.js
158
158
  import { hostname } from "node:os";
159
159
  var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
160
160
  var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
@@ -199,7 +199,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
199
199
  }
200
200
  }, "leaseOwnerStatus");
201
201
 
202
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
202
+ // 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/files/native-lease-inspection.js
203
203
  var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
204
204
  const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
205
205
  options.signal?.throwIfAborted();
@@ -258,7 +258,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
258
258
  return { inspect, recover };
259
259
  }, "leaseInspection");
260
260
 
261
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
261
+ // 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/files/native-lease-release.js
262
262
  import { rmdir, unlink as unlink3 } from "node:fs/promises";
263
263
  var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
264
264
  let releasing;
@@ -283,7 +283,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
283
283
  };
284
284
  }, "ownedNativeLease");
285
285
 
286
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
286
+ // 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/files/native-writer-lease.js
287
287
  var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
288
288
  var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
289
289
  const { markerDirectory, legacyMarker } = layout;
@@ -354,7 +354,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
354
354
  };
355
355
  }, "nativeWriterLeaseStore");
356
356
 
357
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/files/lock.js
357
+ // 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/files/lock.js
358
358
  var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
359
359
  const folder = dirname2(path);
360
360
  await mkdir2(folder, { recursive: true, mode: 448 });
@@ -369,7 +369,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
369
369
  });
370
370
  }, "acquireLock");
371
371
 
372
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/files/safe-name.js
372
+ // 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/files/safe-name.js
373
373
  import { basename as basename3 } from "node:path";
374
374
  var safeName = /* @__PURE__ */ __name((name, platform = process.platform) => {
375
375
  let plain = name === void 0 ? "" : basename3(name.replaceAll("\\", "/")).replace(/[\p{Cc}​-‏‪-‮⁦-⁩]/gu, "").replace(/^\.+/, "");
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  QUERY_REASONS
5
- } from "./chunk-VBOMKZ4E.js";
5
+ } from "./chunk-4QDBMYK4.js";
6
6
  import {
7
7
  defineReasons
8
- } from "./chunk-NXJLC2WK.js";
8
+ } from "./chunk-NAIJNJZZ.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/errors/reasons.js
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/errors/reasons.js
14
14
  var validation = /* @__PURE__ */ __name((reason, message) => [reason, "validation_error", message], "validation");
15
15
  var QUERY = [
16
16
  ["query.aborted", "the search was stopped before it finished"],
@@ -72,9 +72,19 @@ var OTHERS = [
72
72
  validation("event.repeat-split", "the series cannot be split at this occurrence, or was split there already"),
73
73
  validation("event.repeat-count", "a COUNT series is split only with a rule for its new part"),
74
74
  validation("event.unmovable", "the provider keeps this kind of event on its calendar"),
75
+ validation("event.text-with-fields", "--text takes the whole event from its line, so no field option goes with it"),
76
+ validation("calendar.ambiguous", "two or more calendars have this name; name one by its id"),
77
+ validation("export.too-many", "the query finds more events than one export writes"),
78
+ validation("ics.not-icalendar", "the file is not iCalendar"),
79
+ validation("ics.no-events", "the file holds no event that can be imported"),
80
+ validation("ics.too-many", "the file holds more events than one import sends"),
81
+ validation("ics.too-large", "the file is larger than one import reads"),
75
82
  ["calendar.read-only", "permission_error", "the calendar takes no new events from this account"],
76
83
  ["calendar.unsynced", "not_found", "the calendar account has no synced calendar in the store"],
77
84
  ["calendar.sync-incomplete", "not_found", "a synced calendar's sync never finished or is mid-round"],
85
+ ["calendar.no-upcoming", "not_found", "no upcoming meeting with other attendees is stored for this account"],
86
+ ["chat.not-read", "not_found", "a chat shared with this person is not held whole in the store"],
87
+ ["meetings.index-pending", "not_found", "some stored meetings are not indexed by person yet"],
78
88
  ["profile.locked", "permission_error", "a profile lock pins this process to its own account"],
79
89
  ["busy.offline", "permission_error", "calendars busy asks the provider; --offline was given"],
80
90
  validation("busy.no-calendars", "no calendar syncs and no person was named, so there is nobody to ask"),
@@ -89,6 +99,7 @@ var OTHERS = [
89
99
  ["search.server-failed", "provider_unavailable", "the server did not answer a search"],
90
100
  ["search.server-timeout", "timeout", "the server did not answer within --server-time"],
91
101
  ["search.server-capped", "outcome_unknown", "the server found more than one search reads, or a branch was not sent"],
102
+ ["search.server-too-large", "outcome_unknown", "a message the server found is too large to download during a search"],
92
103
  validation("store.refused", "the local store refused the document text"),
93
104
  ["store.not-writable", "permission_error", "the message store cannot be written from this process"],
94
105
  [
@@ -144,6 +155,7 @@ var OTHERS = [
144
155
  validation("task.column", "the task beside which it moves is in another column than the status asked for"),
145
156
  validation("task.dependency-cycle", "the task would depend on itself"),
146
157
  validation("task.has-subtasks", "the task has subtasks; move or detach them before it moves to another project"),
158
+ validation("task.is-subtask", "a subtask moves to another project only when it is detached from its parent in the same write"),
147
159
  validation("task.duplicate-candidates", "open tasks may be the same job: attach to one, or add it as new"),
148
160
  validation("task.certainty-required", "an agent closes a task with its certainty, 0 to 1"),
149
161
  ["task.pair-decided", "permission_error", "the owner already decided the pair; an agent does not change it"],
@@ -215,7 +227,9 @@ var DETAILS = [
215
227
  "operation_ids",
216
228
  "text_limit",
217
229
  "store_refused_in",
230
+ "subtasks",
218
231
  "partial_output",
232
+ "parent",
219
233
  "path",
220
234
  "permission",
221
235
  "person_ids",