@wirecat/mail-cli 0.32.0 → 0.33.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 (117) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-OTCWJSJS.js → all-profiles-W3CGXEEJ.js} +10 -10
  4. package/dist/bundle/{anthropic-GUXHDK32.js → anthropic-UMDO5AKP.js} +5 -5
  5. package/dist/bundle/{app-server-GX7DOE4O.js → app-server-4SICQ5RP.js} +50 -50
  6. package/dist/bundle/{bun-V5QLYBZU.js → bun-QVVCH4MJ.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-AXD5CCO3.js → bun-sqlite-CHD4AIUK.js} +6 -6
  8. package/dist/bundle/{chunk-KLGZX6QT.js → chunk-2BFXHCZW.js} +2 -2
  9. package/dist/bundle/{chunk-AJY2IT25.js → chunk-2L6D54BR.js} +8 -8
  10. package/dist/bundle/{chunk-RNBG75HW.js → chunk-2P44S7XK.js} +26 -29
  11. package/dist/bundle/{chunk-Z6OKVD3R.js → chunk-2X344EUT.js} +8 -8
  12. package/dist/bundle/{chunk-M4OP5ASJ.js → chunk-35AH33VJ.js} +1 -1
  13. package/dist/bundle/{chunk-2IYAZRTC.js → chunk-47YNANPZ.js} +2 -2
  14. package/dist/bundle/{chunk-7C6FGWDH.js → chunk-6IS4BEN4.js} +4 -4
  15. package/dist/bundle/{chunk-CAQ5GW3A.js → chunk-6VCQ4CTK.js} +1 -1
  16. package/dist/bundle/{chunk-HUWQ7LXZ.js → chunk-74BYHR44.js} +584 -588
  17. package/dist/bundle/{chunk-U346WBJ5.js → chunk-7OYZU5SP.js} +4 -4
  18. package/dist/bundle/{chunk-SWXKS7JK.js → chunk-AEKWEYIG.js} +17 -17
  19. package/dist/bundle/{chunk-JRGPPS6H.js → chunk-BF73DBAA.js} +13 -13
  20. package/dist/bundle/{chunk-7KCBPAQS.js → chunk-BI5P7JWM.js} +2 -2
  21. package/dist/bundle/{chunk-7MEVD5PI.js → chunk-BRRHYXUP.js} +19 -19
  22. package/dist/bundle/{chunk-PALY5PGE.js → chunk-BZY5W35X.js} +7 -7
  23. package/dist/bundle/{chunk-ZAD7K4TI.js → chunk-CHNNKHLL.js} +7468 -7317
  24. package/dist/bundle/{chunk-GPOTPA3S.js → chunk-CIG4UVP6.js} +12 -12
  25. package/dist/bundle/{chunk-7GW4D3OW.js → chunk-CZ6ZXDSO.js} +43 -35
  26. package/dist/bundle/{chunk-ANYADN3S.js → chunk-DI74RP6R.js} +18 -18
  27. package/dist/bundle/{chunk-IX3GUNGV.js → chunk-EW3JFV7J.js} +4 -4
  28. package/dist/bundle/{chunk-TWHIZJAZ.js → chunk-FSMCXQH2.js} +2 -2
  29. package/dist/bundle/{chunk-SEJBS7SI.js → chunk-GZYICXO4.js} +1 -1
  30. package/dist/bundle/{chunk-WNGMI6AZ.js → chunk-H46MANPR.js} +3 -3
  31. package/dist/bundle/{chunk-QHXOXYAT.js → chunk-HFFHL7SV.js} +55 -55
  32. package/dist/bundle/{chunk-GSXCMQWV.js → chunk-I3UAD4EI.js} +30 -30
  33. package/dist/bundle/{chunk-IBCGCYRU.js → chunk-IBIFX2LK.js} +2 -2
  34. package/dist/bundle/{chunk-FA3B2DHZ.js → chunk-IPSLQX64.js} +2 -2
  35. package/dist/bundle/{chunk-3URYKAJP.js → chunk-JADBHKBP.js} +1 -1
  36. package/dist/bundle/{chunk-GDDCKTBR.js → chunk-JCQ47WR4.js} +5 -5
  37. package/dist/bundle/{chunk-JUS4Y4BW.js → chunk-JUYUWMTG.js} +4 -4
  38. package/dist/bundle/{chunk-TDTCCHAI.js → chunk-KLLT572M.js} +3 -3
  39. package/dist/bundle/{chunk-O7OP5NQO.js → chunk-L3MKFI3Y.js} +2 -2
  40. package/dist/bundle/{chunk-T577U52I.js → chunk-LACMDMDI.js} +9 -9
  41. package/dist/bundle/{chunk-CD3TAITM.js → chunk-LB5FTCPZ.js} +3 -4
  42. package/dist/bundle/{chunk-6TRKNME5.js → chunk-LFBD6RTX.js} +2 -2
  43. package/dist/bundle/{chunk-PCMQYGEM.js → chunk-LKGJMM6W.js} +6 -6
  44. package/dist/bundle/{chunk-SDAYOJLL.js → chunk-LXAX6AZU.js} +6 -6
  45. package/dist/bundle/{chunk-6SJ7HHAE.js → chunk-LXUHYDNE.js} +1 -1
  46. package/dist/bundle/{chunk-MT2WDBG2.js → chunk-MJ7DUSHT.js} +14 -14
  47. package/dist/bundle/{chunk-U57QRUP7.js → chunk-MNJ3BMPZ.js} +3 -3
  48. package/dist/bundle/{chunk-HFA6AZWA.js → chunk-MT7T5N2N.js} +4 -4
  49. package/dist/bundle/{chunk-MVMNZ3Q3.js → chunk-OFMYFFEF.js} +461 -402
  50. package/dist/bundle/{chunk-OUM4ZO53.js → chunk-OOYIPK4F.js} +1 -1
  51. package/dist/bundle/{chunk-MENP3FF5.js → chunk-OWAJN74H.js} +15 -15
  52. package/dist/bundle/{chunk-SZZJOSIS.js → chunk-QN423PC6.js} +3 -3
  53. package/dist/bundle/{chunk-KLFF54AF.js → chunk-QO7BK4WD.js} +8 -8
  54. package/dist/bundle/{chunk-2UMEZY6D.js → chunk-RENCSP47.js} +3 -3
  55. package/dist/bundle/{chunk-FIVFP53N.js → chunk-RXUVXAMM.js} +1 -1
  56. package/dist/bundle/{chunk-IVD3JTN5.js → chunk-S6CHYNFE.js} +2 -2
  57. package/dist/bundle/{chunk-ZDP6A2VL.js → chunk-SDWYOYGN.js} +4 -4
  58. package/dist/bundle/{chunk-PCWAZVAD.js → chunk-SW7YGW3T.js} +7 -7
  59. package/dist/bundle/{chunk-MSK7RNOM.js → chunk-SYUIAMVA.js} +178 -154
  60. package/dist/bundle/{chunk-XXXVVNGI.js → chunk-TBZLGT7R.js} +17 -17
  61. package/dist/bundle/{chunk-4YNUQGDP.js → chunk-TK77DCE5.js} +1 -1
  62. package/dist/bundle/{chunk-MHXZ62CU.js → chunk-UAV74EY4.js} +1 -1
  63. package/dist/bundle/{chunk-WQOGHND4.js → chunk-UG2QDGAH.js} +1 -1
  64. package/dist/bundle/{chunk-ECZSYLSL.js → chunk-UWF3SSRL.js} +25 -8
  65. package/dist/bundle/{chunk-LVFI3TCG.js → chunk-UX76GMQM.js} +6 -6
  66. package/dist/bundle/{chunk-6XNTELM5.js → chunk-UYZDH5LK.js} +1 -1
  67. package/dist/bundle/{chunk-NMN5JUYL.js → chunk-XN5KH24X.js} +5 -5
  68. package/dist/bundle/{chunk-U7RLFLTM.js → chunk-XQXYAOBV.js} +30 -29
  69. package/dist/bundle/{chunk-LVJWN2PR.js → chunk-Y2P2LC5R.js} +21 -11
  70. package/dist/bundle/command-contract-NRNQAFFE.js +36 -0
  71. package/dist/bundle/{command-server-entry-BVXOPKXH.js → command-server-entry-G2ZHCN5J.js} +25 -25
  72. package/dist/bundle/{decode-STN3EHT7.js → decode-U6V6D6XH.js} +5 -5
  73. package/dist/bundle/{dispatch-DSVN7MNG.js → dispatch-RHIK22OA.js} +8 -8
  74. package/dist/bundle/{dist-B2JWWTNN.js → dist-X5G2IMYG.js} +15 -15
  75. package/dist/bundle/{echarts-QIXLXS3G.js → echarts-UZJ6AREV.js} +2 -2
  76. package/dist/bundle/{embed-4NC4ELYP.js → embed-FEXLUH3T.js} +6 -6
  77. package/dist/bundle/{embedder-HBRDIFQC.js → embedder-NHQARKFJ.js} +9 -9
  78. package/dist/bundle/{failure-COTPFUP4.js → failure-7DIA4OET.js} +2 -2
  79. package/dist/bundle/{first-run-6QF67AAZ.js → first-run-PS5NR2QG.js} +12 -12
  80. package/dist/bundle/first-screen-C2WTLOG2.js +34 -0
  81. package/dist/bundle/{instructions-MD2RZT5Z.js → instructions-SDDUBGH4.js} +1 -1
  82. package/dist/bundle/mail.js +12 -12
  83. package/dist/bundle/{mcp-TDKGDB4V.js → mcp-GN4FTJX5.js} +2 -2
  84. package/dist/bundle/{node-IEVT2FSJ.js → node-ELCNUOCE.js} +2 -2
  85. package/dist/bundle/{node-sqlite-EOTTDMOG.js → node-sqlite-2E5MKZMH.js} +7 -7
  86. package/dist/bundle/{oauth-A5BEFGCI.js → oauth-JGPEIY3M.js} +7 -7
  87. package/dist/bundle/{open-HWN2EZYG.js → open-6DEMCZAB.js} +5 -5
  88. package/dist/bundle/{openai-PJKJ4CIU.js → openai-IVKDU5AH.js} +15 -15
  89. package/dist/bundle/{process-6Q23D3TO.js → process-67DAKAAQ.js} +1 -1
  90. package/dist/bundle/{program-WR43NPAV.js → program-ESJDQMAJ.js} +461 -466
  91. package/dist/bundle/{prompt-E7Q2662O.js → prompt-ZBWOT5KG.js} +5 -5
  92. package/dist/bundle/{recognize-4F4PIL4B.js → recognize-UUBH2DOH.js} +4 -4
  93. package/dist/bundle/{remote-RGJXO7XK.js → remote-UYTNWNOB.js} +9 -9
  94. package/dist/bundle/{rerank-EDY7PHMG.js → rerank-X2633CQN.js} +7 -7
  95. package/dist/bundle/{serve-Q4XF6ID2.js → serve-CP7Q4OVW.js} +9 -9
  96. package/dist/bundle/{server-5I72DSDF.js → server-I7MXRSAG.js} +42 -42
  97. package/dist/bundle/server-QGTMJ7SF.js +67 -0
  98. package/dist/bundle/{sqlite-runtime-PU3Z2H7C.js → sqlite-runtime-BX55LI5G.js} +6 -6
  99. package/dist/bundle/{state-CWSXJBU2.js → state-LLNJQXFH.js} +6 -6
  100. package/dist/bundle/{store-KQPKS3PX.js → store-K4KU5N75.js} +19 -19
  101. package/dist/bundle/{store-ZAMKKM2A.js → store-N27XI3VV.js} +17 -17
  102. package/dist/bundle/store-maintenance-command-VPAFQCNA.js +58 -0
  103. package/dist/commands/messages.js +1 -1
  104. package/dist/commands/messages.js.map +1 -1
  105. package/dist/mail/cleanup.d.ts.map +1 -1
  106. package/dist/mail/cleanup.js +4 -3
  107. package/dist/mail/cleanup.js.map +1 -1
  108. package/dist/mail/rules/apply.js +1 -1
  109. package/dist/mail/rules/apply.js.map +1 -1
  110. package/dist/version.d.ts +1 -1
  111. package/dist/version.js +1 -1
  112. package/package.json +3 -3
  113. package/dist/bundle/command-contract-DZ6XRIOI.js +0 -36
  114. package/dist/bundle/first-screen-LXSZMK2P.js +0 -34
  115. package/dist/bundle/server-2Y5NSP2U.js +0 -67
  116. package/dist/bundle/store-maintenance-command-PMTTDR6J.js +0 -58
  117. /package/dist/bundle/{chunk-XWBPP2HX.js → chunk-BDCC2J2Z.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-KLGZX6QT.js";
5
+ } from "./chunk-2BFXHCZW.js";
6
6
  import {
7
7
  answerOf,
8
8
  messengerContext
9
- } from "./chunk-XXXVVNGI.js";
9
+ } from "./chunk-TBZLGT7R.js";
10
10
  import {
11
11
  FETCHING,
12
12
  RULES_VERSION,
@@ -31,17 +31,17 @@ import {
31
31
  typedQuery,
32
32
  withQuery,
33
33
  withTimeLimit
34
- } from "./chunk-HUWQ7LXZ.js";
34
+ } from "./chunk-74BYHR44.js";
35
35
  import {
36
36
  holdLock,
37
37
  lockPath,
38
38
  releaseLock,
39
39
  servingProfiles,
40
40
  takeLock
41
- } from "./chunk-2UMEZY6D.js";
41
+ } from "./chunk-RENCSP47.js";
42
42
  import {
43
43
  readSecret
44
- } from "./chunk-SZZJOSIS.js";
44
+ } from "./chunk-QN423PC6.js";
45
45
  import {
46
46
  Command,
47
47
  LOCAL_READ,
@@ -68,13 +68,13 @@ import {
68
68
  snakeKeys,
69
69
  storeTable,
70
70
  withoutProviderRefs
71
- } from "./chunk-MSK7RNOM.js";
71
+ } from "./chunk-SYUIAMVA.js";
72
72
  import {
73
73
  levelFor
74
- } from "./chunk-PCWAZVAD.js";
74
+ } from "./chunk-SW7YGW3T.js";
75
75
  import {
76
76
  holdersOf
77
- } from "./chunk-WQOGHND4.js";
77
+ } from "./chunk-UG2QDGAH.js";
78
78
  import {
79
79
  QUICK_HEALTH_CHECKS,
80
80
  fts5Tables,
@@ -82,7 +82,7 @@ import {
82
82
  lossUnknown,
83
83
  storeDamageReport,
84
84
  storeHealth
85
- } from "./chunk-SWXKS7JK.js";
85
+ } from "./chunk-AEKWEYIG.js";
86
86
  import {
87
87
  CORPORA,
88
88
  MIGRATIONS,
@@ -117,44 +117,44 @@ import {
117
117
  storeClients,
118
118
  storeContents,
119
119
  vectorIndexCounts
120
- } from "./chunk-ZAD7K4TI.js";
120
+ } from "./chunk-CHNNKHLL.js";
121
121
  import {
122
122
  currentRun,
123
123
  readDamageMark,
124
124
  readHealthMark,
125
125
  readJournalMark,
126
126
  recordDeepCheck
127
- } from "./chunk-U7RLFLTM.js";
127
+ } from "./chunk-XQXYAOBV.js";
128
128
  import {
129
129
  formatLocator,
130
130
  parseLocator,
131
131
  queryFieldsOf
132
- } from "./chunk-MVMNZ3Q3.js";
132
+ } from "./chunk-OFMYFFEF.js";
133
133
  import {
134
134
  failureKey,
135
135
  isStoreDamage
136
- } from "./chunk-O7OP5NQO.js";
136
+ } from "./chunk-L3MKFI3Y.js";
137
137
  import {
138
138
  modelAddressAllowed,
139
139
  onThisComputer
140
- } from "./chunk-GDDCKTBR.js";
140
+ } from "./chunk-JCQ47WR4.js";
141
141
  import {
142
142
  readSharedSection,
143
143
  sharedConfigPath,
144
144
  writeSharedSection
145
- } from "./chunk-PALY5PGE.js";
145
+ } from "./chunk-BZY5W35X.js";
146
146
  import {
147
147
  storePath
148
- } from "./chunk-FA3B2DHZ.js";
148
+ } from "./chunk-IPSLQX64.js";
149
149
  import {
150
150
  openCache
151
- } from "./chunk-SDAYOJLL.js";
151
+ } from "./chunk-LXAX6AZU.js";
152
152
  import {
153
153
  Credentials,
154
154
  isMovedRun,
155
155
  resolvePaths,
156
156
  writeSecurely
157
- } from "./chunk-7MEVD5PI.js";
157
+ } from "./chunk-BRRHYXUP.js";
158
158
  import {
159
159
  array,
160
160
  boolean,
@@ -176,10 +176,10 @@ import {
176
176
  string,
177
177
  transform,
178
178
  trim
179
- } from "./chunk-ECZSYLSL.js";
179
+ } from "./chunk-UWF3SSRL.js";
180
180
  import {
181
181
  CliError
182
- } from "./chunk-7KCBPAQS.js";
182
+ } from "./chunk-BI5P7JWM.js";
183
183
  import {
184
184
  __commonJS,
185
185
  __name,
@@ -5519,11 +5519,11 @@ var require_liquid_node = __commonJS({
5519
5519
  }
5520
5520
  });
5521
5521
 
5522
- // 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/messenger/store-maintenance-command.js
5522
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5523
5523
  import { chmodSync, constants, copyFileSync, existsSync as existsSync10, mkdirSync, realpathSync as realpathSync3, renameSync as renameSync3, rmSync as rmSync3, statfsSync as statfsSync2, statSync as statSync4, writeFileSync as writeFileSync2 } from "node:fs";
5524
5524
  import { dirname as dirname3, resolve } from "node:path";
5525
5525
 
5526
- // 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/sealed.js
5526
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/sealed.js
5527
5527
  import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
5528
5528
  import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
5529
5529
  import { Transform } from "node:stream";
@@ -5630,7 +5630,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
5630
5630
  renameSync(pending, to);
5631
5631
  }, "unsealFile");
5632
5632
 
5633
- // 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/compatibility.js
5633
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5634
5634
  var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
5635
5635
  var fileSchemaOf = /* @__PURE__ */ __name((database) => {
5636
5636
  const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
@@ -5654,7 +5654,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
5654
5654
  };
5655
5655
  }, "compatibilityOf");
5656
5656
 
5657
- // 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/repair.js
5657
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/repair.js
5658
5658
  import { createHash as createHash2 } from "node:crypto";
5659
5659
  var COPY_MARK = "__repair_";
5660
5660
  var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
@@ -5908,19 +5908,19 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
5908
5908
  return found;
5909
5909
  }, "deleteCopy");
5910
5910
 
5911
- // 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/store-info.js
5911
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5912
5912
  import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
5913
5913
 
5914
- // 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/store-recover.js
5914
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
5915
5915
  import { existsSync as existsSync3 } from "node:fs";
5916
5916
 
5917
- // 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/recover.js
5917
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/recover.js
5918
5918
  import { execFileSync, spawn } from "node:child_process";
5919
5919
  import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
5920
5920
  import { basename, dirname, join } from "node:path";
5921
5921
  import { Transform as Transform2 } from "node:stream";
5922
5922
 
5923
- // 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/refill.js
5923
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/refill.js
5924
5924
  var REFILL_MARGIN_MS = 864e5;
5925
5925
  var TIME_KEYS = 1e12;
5926
5926
  var integerId = `external_id GLOB '[0-9]*' AND NOT external_id GLOB '*[^0-9]*'`;
@@ -6000,7 +6000,7 @@ var forgetMail = /* @__PURE__ */ __name((database, cutoff, now) => {
6000
6000
  return [...folders].map(([account, count3]) => ({ account, folders: count3 }));
6001
6001
  }, "forgetMail");
6002
6002
 
6003
- // 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/recover.js
6003
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/recover.js
6004
6004
  var SQLITE3_MINIMUM = [3, 43, 0];
6005
6005
  var STORE_PARTS = ["", "-wal", "-shm"];
6006
6006
  var RECOVER_LOCK = ".recover-lock";
@@ -6528,7 +6528,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
6528
6528
  }
6529
6529
  }, "recoverLocked");
6530
6530
 
6531
- // 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/store-recover.js
6531
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
6532
6532
  var COUNTED = [
6533
6533
  "accounts",
6534
6534
  "chats",
@@ -6684,7 +6684,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
6684
6684
  return recover;
6685
6685
  }, "storeRecoverCommand");
6686
6686
 
6687
- // 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/store-info.js
6687
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/store-info.js
6688
6688
  var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
6689
6689
  var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
6690
6690
  var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
@@ -6730,7 +6730,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
6730
6730
  renderAnswer(this, outputFor(this), itemOf(answer));
6731
6731
  }), "storeInfoCommand");
6732
6732
 
6733
- // 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/messenger/password.js
6733
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
6734
6734
  var ENCRYPT_OPTION = [
6735
6735
  "--encrypt",
6736
6736
  "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"
@@ -6749,7 +6749,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
6749
6749
  return password;
6750
6750
  }, "passwordOf");
6751
6751
 
6752
- // 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/replies/rules.js
6752
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/replies/rules.js
6753
6753
  import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
6754
6754
  import { join as join2 } from "node:path";
6755
6755
  var REPLY_ACTIONS = ["reply", "task"];
@@ -6920,7 +6920,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
6920
6920
  }, "problem");
6921
6921
  var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
6922
6922
 
6923
- // 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/replies/state.js
6923
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/replies/state.js
6924
6924
  import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
6925
6925
  import { join as join3 } from "node:path";
6926
6926
  var ANSWERED_KEPT = 1e3;
@@ -6973,7 +6973,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
6973
6973
  }, "recordReply");
6974
6974
  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");
6975
6975
 
6976
- // 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/replies/decide.js
6976
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/replies/decide.js
6977
6977
  var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
6978
6978
  var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
6979
6979
  const { message, chat, owner, sender } = incoming;
@@ -7079,10 +7079,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
7079
7079
  return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
7080
7080
  }, "filled");
7081
7081
 
7082
- // 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/replies/template.js
7082
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/replies/template.js
7083
7083
  var import_liquidjs2 = __toESM(require_liquid_node(), 1);
7084
7084
 
7085
- // 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/render/liquid.js
7085
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/render/liquid.js
7086
7086
  var import_liquidjs = __toESM(require_liquid_node(), 1);
7087
7087
  var safeLiquid = /* @__PURE__ */ __name((limits) => {
7088
7088
  const engine = new import_liquidjs.Liquid({
@@ -7109,7 +7109,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
7109
7109
  return engine;
7110
7110
  }, "safeLiquid");
7111
7111
 
7112
- // 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/replies/template.js
7112
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/replies/template.js
7113
7113
  var TEMPLATE_LIMITS = {
7114
7114
  parse: 32768,
7115
7115
  renders: 2e3,
@@ -7248,7 +7248,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
7248
7248
  }
7249
7249
  }, "renderReplyTemplate");
7250
7250
 
7251
- // 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/replies/dry-run.js
7251
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
7252
7252
  var DRY_RUN_DAYS = 7;
7253
7253
  var PAGE = 500;
7254
7254
  var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
@@ -7362,7 +7362,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
7362
7362
  }
7363
7363
  }, "storedSince");
7364
7364
 
7365
- // 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/models/ai.js
7365
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/models/ai.js
7366
7366
  var AI_PROVIDERS = ["anthropic", "openai", "ollama"];
7367
7367
  var DEFAULT_BASE_URL = {
7368
7368
  anthropic: "https://api.anthropic.com",
@@ -7512,7 +7512,7 @@ var checkAi = /* @__PURE__ */ __name(async (deps) => {
7512
7512
  }
7513
7513
  }, "checkAi");
7514
7514
 
7515
- // 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/models/purpose.js
7515
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/models/purpose.js
7516
7516
  var HOSTED = {
7517
7517
  openai: "https://api.openai.com/v1",
7518
7518
  anthropic: "https://api.anthropic.com"
@@ -7533,7 +7533,7 @@ var purposeModel = /* @__PURE__ */ __name((settings, purpose, deps) => {
7533
7533
  return shared ? { target: shared.target, key: /* @__PURE__ */ __name(() => shared.key, "key"), shared: shared.setting } : void 0;
7534
7534
  }, "purposeModel");
7535
7535
 
7536
- // 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/replies/consents.js
7536
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/replies/consents.js
7537
7537
  import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
7538
7538
  import { join as join4 } from "node:path";
7539
7539
  var shape = strictObject({
@@ -7558,7 +7558,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
7558
7558
  return consent.provider === provider && !consent.deniedChats.includes(chat);
7559
7559
  }, "mayModelReply");
7560
7560
 
7561
- // 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/replies/rendering.js
7561
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/replies/rendering.js
7562
7562
  var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options = {
7563
7563
  ai: true
7564
7564
  }) => async (rule2, message, chat, now) => {
@@ -7606,7 +7606,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
7606
7606
  return result2;
7607
7607
  }, "replyRenderer");
7608
7608
 
7609
- // 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/replies/serve.js
7609
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/replies/serve.js
7610
7610
  var NOT_ALLOWED = "replies.send is not allow";
7611
7611
  var NO_RULES = "no rules";
7612
7612
  var ONLY_TASK = "opened a task, sent nothing";
@@ -7699,7 +7699,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
7699
7699
  return { skip: why };
7700
7700
  }, "replyTo");
7701
7701
 
7702
- // 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/messenger/serve-catch-up.js
7702
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
7703
7703
  var START_SYNC_DELAY_MS = 3e4;
7704
7704
  var START_SYNC_BUDGET_MS = 5 * 6e4;
7705
7705
  var START_SYNC_WINDOW_MS = 7 * 864e5;
@@ -7776,7 +7776,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch, note, warn,
7776
7776
  };
7777
7777
  }, "startSync");
7778
7778
 
7779
- // 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/messenger/serve-members.js
7779
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
7780
7780
  var FIRST_FETCH_MS = 6e4;
7781
7781
  var DAY_MS = 864e5;
7782
7782
  var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
@@ -7830,7 +7830,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs =
7830
7830
  };
7831
7831
  }, "memberFetches");
7832
7832
 
7833
- // 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/messenger/serve-notice.js
7833
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
7834
7834
  var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
7835
7835
  var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
7836
7836
  if (context.format === "pretty") {
@@ -7863,7 +7863,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
7863
7863
  return context;
7864
7864
  }, "recordDiagnostics");
7865
7865
 
7866
- // 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/messenger/serve-outdated.js
7866
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
7867
7867
  import { existsSync as existsSync8, readFileSync as readFileSync5, realpathSync as realpathSync2 } from "node:fs";
7868
7868
  import { dirname as dirname2, join as join5 } from "node:path";
7869
7869
  var OUTDATED_CHECK_MS = 6e4;
@@ -7949,7 +7949,7 @@ var watchOutdated = /* @__PURE__ */ __name(({ check: check2, onOutdated, everyMs
7949
7949
  };
7950
7950
  }, "watchOutdated");
7951
7951
 
7952
- // 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/messenger/serve-stems.js
7952
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7953
7953
  var STEMS_EVERY_MS = 3e4;
7954
7954
  var STEMS_SLICE_MS = 2e3;
7955
7955
  var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
@@ -7989,7 +7989,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
7989
7989
  };
7990
7990
  }, "stemFills");
7991
7991
 
7992
- // 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/messenger/message-items.js
7992
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
7993
7993
  var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
7994
7994
  var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
7995
7995
  kind: attachment.kind,
@@ -8085,7 +8085,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
8085
8085
  locale: messenger.app.locale
8086
8086
  }), "viewOf");
8087
8087
 
8088
- // 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/messenger/watch-answers.js
8088
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
8089
8089
  var observed = /* @__PURE__ */ __name((value) => ({
8090
8090
  value: value.value,
8091
8091
  observed_at: value.observedAt,
@@ -8152,7 +8152,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
8152
8152
  }
8153
8153
  }, "watchEventItem");
8154
8154
 
8155
- // 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/messenger/watch-command.js
8155
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
8156
8156
  var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
8157
8157
  output: { entity: "watch_item" },
8158
8158
  effects: REMOTE_READ,
@@ -8307,7 +8307,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
8307
8307
  }
8308
8308
  }, "describe");
8309
8309
 
8310
- // 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/messenger/serve-command.js
8310
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
8311
8311
  var serveCommand = /* @__PURE__ */ __name((messenger) => {
8312
8312
  const command = annotate(new Command("serve"), {
8313
8313
  output: { entity: "serve_summary" },
@@ -8593,7 +8593,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
8593
8593
  };
8594
8594
  }, "tasking");
8595
8595
 
8596
- // 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/messenger/store-tables-command.js
8596
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
8597
8597
  import { existsSync as existsSync9 } from "node:fs";
8598
8598
  var PATH = "store tables list";
8599
8599
  var STORE_TABLES_QUERY = {
@@ -8636,7 +8636,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((owner) => {
8636
8636
  return tables;
8637
8637
  }, "storeTablesCommand");
8638
8638
 
8639
- // 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/messenger/store-maintenance-command.js
8639
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
8640
8640
  var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
8641
8641
  var WORD_INDEX = "message_words";
8642
8642
  var schemaOf = /* @__PURE__ */ __name((database) => {
@@ -12,10 +12,10 @@ import {
12
12
  refuseWriteBeforeConnecting,
13
13
  registerPrompts,
14
14
  syncsFirst
15
- } from "./chunk-RNBG75HW.js";
15
+ } from "./chunk-2P44S7XK.js";
16
16
  import {
17
17
  stdinFieldOf
18
- } from "./chunk-MHXZ62CU.js";
18
+ } from "./chunk-UAV74EY4.js";
19
19
  import {
20
20
  BinaryResource,
21
21
  Picture,
@@ -36,31 +36,31 @@ import {
36
36
  tool,
37
37
  toolKey,
38
38
  toolsFromCommands
39
- } from "./chunk-7GW4D3OW.js";
39
+ } from "./chunk-CZ6ZXDSO.js";
40
40
  import {
41
41
  agentJson,
42
42
  skillResource
43
- } from "./chunk-MENP3FF5.js";
43
+ } from "./chunk-OWAJN74H.js";
44
44
  import {
45
45
  instructions
46
- } from "./chunk-CAQ5GW3A.js";
46
+ } from "./chunk-6VCQ4CTK.js";
47
47
  import {
48
48
  StdioServerTransport,
49
49
  answeredWire,
50
50
  callerOf,
51
51
  callingAgent,
52
52
  serveStdio
53
- } from "./chunk-TDTCCHAI.js";
53
+ } from "./chunk-KLLT572M.js";
54
54
  import {
55
55
  McpServer,
56
56
  ResourceTemplate
57
57
  } from "./chunk-5D4AEUVA.js";
58
58
  import {
59
59
  mcpHttpMarker
60
- } from "./chunk-U346WBJ5.js";
60
+ } from "./chunk-7OYZU5SP.js";
61
61
  import {
62
62
  connectedFor
63
- } from "./chunk-XXXVVNGI.js";
63
+ } from "./chunk-TBZLGT7R.js";
64
64
  import {
65
65
  capability,
66
66
  dateWindow,
@@ -70,10 +70,10 @@ import {
70
70
  servicesFor,
71
71
  storedDeps,
72
72
  wholeList
73
- } from "./chunk-HUWQ7LXZ.js";
73
+ } from "./chunk-74BYHR44.js";
74
74
  import {
75
75
  findCommand
76
- } from "./chunk-NMN5JUYL.js";
76
+ } from "./chunk-XN5KH24X.js";
77
77
  import {
78
78
  DEFAULT_OUTPUT_BYTES,
79
79
  changesAuthorityAt,
@@ -88,31 +88,31 @@ import {
88
88
  rootOf2 as rootOf,
89
89
  sealed,
90
90
  snakeKeys
91
- } from "./chunk-MSK7RNOM.js";
91
+ } from "./chunk-SYUIAMVA.js";
92
92
  import {
93
93
  fetchesAt,
94
94
  levelFor,
95
95
  readKeysForCommand
96
- } from "./chunk-PCWAZVAD.js";
96
+ } from "./chunk-SW7YGW3T.js";
97
97
  import {
98
98
  withCaller
99
- } from "./chunk-Z6OKVD3R.js";
99
+ } from "./chunk-2X344EUT.js";
100
100
  import {
101
101
  openStore,
102
102
  pdfPreviewLimits
103
- } from "./chunk-ZAD7K4TI.js";
103
+ } from "./chunk-CHNNKHLL.js";
104
104
  import {
105
105
  typedCommand
106
- } from "./chunk-U7RLFLTM.js";
106
+ } from "./chunk-XQXYAOBV.js";
107
107
  import {
108
108
  timezoneOf
109
- } from "./chunk-MVMNZ3Q3.js";
109
+ } from "./chunk-OFMYFFEF.js";
110
110
  import {
111
111
  isCliFailure
112
- } from "./chunk-O7OP5NQO.js";
112
+ } from "./chunk-L3MKFI3Y.js";
113
113
  import {
114
114
  warmEmbedders
115
- } from "./chunk-LVFI3TCG.js";
115
+ } from "./chunk-UX76GMQM.js";
116
116
  import {
117
117
  description,
118
118
  errorObjectOf,
@@ -129,19 +129,19 @@ import {
129
129
  regex,
130
130
  strictObject,
131
131
  string
132
- } from "./chunk-ECZSYLSL.js";
132
+ } from "./chunk-UWF3SSRL.js";
133
133
  import {
134
134
  CliError,
135
135
  visibleControls
136
- } from "./chunk-7KCBPAQS.js";
136
+ } from "./chunk-BI5P7JWM.js";
137
137
  import {
138
138
  __name
139
139
  } from "./chunk-ZVVMGPBJ.js";
140
140
 
141
- // 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/mcp/server.js
141
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/mcp/server.js
142
142
  import { randomUUID } from "node:crypto";
143
143
 
144
- // 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/mcp/agent-log.js
144
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
145
145
  var agentLog = /* @__PURE__ */ __name((open) => {
146
146
  let held;
147
147
  return {
@@ -160,7 +160,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
160
160
  };
161
161
  }, "agentLog");
162
162
 
163
- // 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/mcp/resources.js
163
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/mcp/resources.js
164
164
  var LISTED = 100;
165
165
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
166
166
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -198,7 +198,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
198
198
  });
199
199
  }, "registerResources");
200
200
 
201
- // 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/mcp/session.js
201
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/mcp/session.js
202
202
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
203
203
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
204
204
  var MessengerSession = class {
@@ -273,7 +273,7 @@ var MessengerSession = class {
273
273
  }
274
274
  };
275
275
 
276
- // 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/mcp/tools/attachments.js
276
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
277
277
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
278
278
  const _command = messenger.app.command;
279
279
  return {
@@ -327,7 +327,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
327
327
  };
328
328
  }, "attachmentsTools");
329
329
 
330
- // 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/mcp/tools/messages-photo.js
330
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
331
331
  var PHOTO_LIMIT = 512 * 1024;
332
332
  var IMAGE_TYPES = [
333
333
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -383,7 +383,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
383
383
  return new Uint8Array(Buffer.concat(chunks));
384
384
  }, "readUpTo");
385
385
 
386
- // 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/mcp/tools/stats.js
386
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
387
387
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
388
388
  stats_charts: tool({
389
389
  title: "A chart from a chat's statistics",
@@ -420,14 +420,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
420
420
  })
421
421
  }), "statsTools");
422
422
 
423
- // 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/mcp/tools.js
423
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/mcp/tools.js
424
424
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
425
425
  ...messagesPhotoTools(messenger),
426
426
  ...attachmentsTools(messenger),
427
427
  ...statsTools(messenger)
428
428
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
429
429
 
430
- // 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/mcp/server.js
430
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/mcp/server.js
431
431
  var PER_RUN = /* @__PURE__ */ new Set([
432
432
  "streams",
433
433
  "stdin",
@@ -744,7 +744,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
744
744
  }, "serveOverStdio");
745
745
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
746
746
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
747
- const { serveOverHttp } = await import("./serve-Q4XF6ID2.js");
747
+ const { serveOverHttp } = await import("./serve-CP7Q4OVW.js");
748
748
  const appName = messenger.app.command;
749
749
  const appEnvPrefix = messenger.app.envPrefix;
750
750
  const listening = await serveOverHttp(build, {
@@ -5,12 +5,12 @@ import {
5
5
  } from "./chunk-Y5E2WNWB.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-7KCBPAQS.js";
8
+ } from "./chunk-BI5P7JWM.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // 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/vector-extension.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
14
14
  import { readFileSync } from "node:fs";
15
15
  var musl = /* @__PURE__ */ __name(() => {
16
16
  if (process.platform !== "linux")