@wirecat/mail-cli 0.26.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-6NXVQLUQ.js → all-profiles-5XWH7TBM.js} +7 -7
  4. package/dist/bundle/{anthropic-OLNFE2CL.js → anthropic-QEQGUEPW.js} +2 -2
  5. package/dist/bundle/{app-server-J76N6XIK.js → app-server-YWDU56NR.js} +48 -44
  6. package/dist/bundle/{bun-6PYDHXNR.js → bun-PWMM6L45.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-QD5PFHPS.js → bun-sqlite-S4QD5YUO.js} +3 -3
  8. package/dist/bundle/{chunk-VA4V73SL.js → chunk-255RGG5W.js} +5 -5
  9. package/dist/bundle/{chunk-5WROIMUV.js → chunk-2FZMIJW7.js} +4 -4
  10. package/dist/bundle/{chunk-AJ5K74X6.js → chunk-4VDWQKDI.js} +16 -16
  11. package/dist/bundle/{chunk-HI5XUETY.js → chunk-572NWJUN.js} +1 -1
  12. package/dist/bundle/{chunk-H2IJQH5X.js → chunk-5BPOEPYL.js} +4 -4
  13. package/dist/bundle/{chunk-DKIVYAXW.js → chunk-5DLPM5AV.js} +12 -12
  14. package/dist/bundle/{chunk-CZI45AQM.js → chunk-77J5ID2O.js} +2 -2
  15. package/dist/bundle/{chunk-2E2EV4HD.js → chunk-7BXOFLWJ.js} +80 -57
  16. package/dist/bundle/{chunk-QI6EXKSH.js → chunk-AIEMFRBU.js} +1 -1
  17. package/dist/bundle/{chunk-CFBIPM7T.js → chunk-AIZ225IA.js} +267 -251
  18. package/dist/bundle/{chunk-RXKIP2ML.js → chunk-APLVXHFG.js} +1 -1
  19. package/dist/bundle/{chunk-NBJU6MBU.js → chunk-BZCXAVGP.js} +7 -7
  20. package/dist/bundle/{chunk-XZ7CQ6NA.js → chunk-CKFVKHTB.js} +3 -3
  21. package/dist/bundle/{chunk-MIWSCTLG.js → chunk-CZRMT6XV.js} +2 -2
  22. package/dist/bundle/{chunk-NMFPK3MU.js → chunk-DQO2LX5I.js} +2 -2
  23. package/dist/bundle/{chunk-PY2IOVUN.js → chunk-DSUOYJUL.js} +3 -3
  24. package/dist/bundle/{chunk-QJGG6QYV.js → chunk-ELPH22W6.js} +7 -7
  25. package/dist/bundle/{chunk-BMGRDZM3.js → chunk-EXWZCI5G.js} +1 -1
  26. package/dist/bundle/{chunk-M4Y33SJJ.js → chunk-FOTP6QLO.js} +2 -2
  27. package/dist/bundle/{chunk-T7SHPALQ.js → chunk-FVVSBQGK.js} +24 -22
  28. package/dist/bundle/{chunk-76VSHS5Y.js → chunk-HBK6MRAL.js} +7 -7
  29. package/dist/bundle/{chunk-YM345236.js → chunk-IDOHT4Z3.js} +19 -19
  30. package/dist/bundle/{chunk-A3EBRXOQ.js → chunk-KHBZ4OEP.js} +1 -1
  31. package/dist/bundle/{chunk-LTZGLOKE.js → chunk-MY4LVD64.js} +1 -1
  32. package/dist/bundle/{chunk-M7RHPCXM.js → chunk-NZG6IRDW.js} +2 -2
  33. package/dist/bundle/{chunk-V32L23NN.js → chunk-OC3U2JAK.js} +3 -3
  34. package/dist/bundle/{chunk-XELZCDWE.js → chunk-OCUKQRJ3.js} +158 -148
  35. package/dist/bundle/{chunk-VWRT57QU.js → chunk-OEPNLKHI.js} +4 -4
  36. package/dist/bundle/{chunk-UE2NKPA4.js → chunk-OPOEAGVB.js} +6 -6
  37. package/dist/bundle/{chunk-JNKXU7AE.js → chunk-PA7LDYVX.js} +52 -52
  38. package/dist/bundle/{chunk-EDWJ7IYH.js → chunk-PJ3FKBXG.js} +1 -1
  39. package/dist/bundle/{chunk-PJ6YMNJG.js → chunk-PRSXMM4I.js} +447 -407
  40. package/dist/bundle/{chunk-OGE7YG4J.js → chunk-QQTSPQ2D.js} +1 -1
  41. package/dist/bundle/{chunk-52M5BAEG.js → chunk-QVJMFZFW.js} +1 -1
  42. package/dist/bundle/{chunk-YXGHC3NP.js → chunk-R3A65A4D.js} +10 -10
  43. package/dist/bundle/{chunk-BDYQQ6G2.js → chunk-R5FTCNLJ.js} +1 -1
  44. package/dist/bundle/{chunk-A6XETABW.js → chunk-RGQFVVBB.js} +17 -17
  45. package/dist/bundle/{chunk-ZZSZN4CJ.js → chunk-ROLHKFKB.js} +13 -12
  46. package/dist/bundle/{chunk-KXASCNOV.js → chunk-RRLAFEPQ.js} +2 -2
  47. package/dist/bundle/{chunk-LMTQMYUF.js → chunk-S2QRW647.js} +33 -29
  48. package/dist/bundle/{chunk-GIG7F6UW.js → chunk-S7H7TAC3.js} +5 -5
  49. package/dist/bundle/{chunk-VJPLIXV4.js → chunk-SXKKOOA7.js} +1 -1
  50. package/dist/bundle/{chunk-76EKZSDK.js → chunk-T7VERZP5.js} +23 -23
  51. package/dist/bundle/{chunk-66C66FNK.js → chunk-TI2OANJZ.js} +1 -1
  52. package/dist/bundle/{chunk-3J2UJFBJ.js → chunk-TKOZCIHU.js} +15 -15
  53. package/dist/bundle/{chunk-JVJG54QK.js → chunk-UBH4UPZ7.js} +1 -1
  54. package/dist/bundle/{chunk-UNJUCK5R.js → chunk-UEJVXUIO.js} +12 -12
  55. package/dist/bundle/{chunk-V4PFD25P.js → chunk-UIKVP23D.js} +1 -1
  56. package/dist/bundle/{chunk-3XTKQ5EM.js → chunk-VYZ37D2Q.js} +1 -1
  57. package/dist/bundle/{chunk-M2LATBP2.js → chunk-WMXUFUV3.js} +2 -2
  58. package/dist/bundle/{chunk-4Q6KAV4O.js → chunk-WRHAX53U.js} +6 -6
  59. package/dist/bundle/{chunk-3RY4HC4V.js → chunk-XBL46B4V.js} +1 -1
  60. package/dist/bundle/{chunk-XUJEZ5YF.js → chunk-XCYDTIVK.js} +5 -5
  61. package/dist/bundle/{chunk-HNSBXC6U.js → chunk-XM2THVMR.js} +2 -2
  62. package/dist/bundle/{chunk-M7ECSGSN.js → chunk-ZSWSFKNE.js} +4 -6
  63. package/dist/bundle/{chunk-2TCS4PLJ.js → chunk-ZVQDOKDY.js} +1 -1
  64. package/dist/bundle/{command-contract-NNEXHZW5.js → command-contract-MIJONVVG.js} +15 -15
  65. package/dist/bundle/{command-server-entry-AIBWNC5D.js → command-server-entry-VHUFW3OZ.js} +21 -21
  66. package/dist/bundle/{decode-H7KLRD33.js → decode-TIMTSVXM.js} +2 -2
  67. package/dist/bundle/{dist-YYSP43J3.js → dist-IP25JFTN.js} +11 -11
  68. package/dist/bundle/{echarts-VSD3LS6D.js → echarts-SDZA2SWG.js} +2 -2
  69. package/dist/bundle/{embed-UENZ5HN3.js → embed-4W527BCE.js} +3 -3
  70. package/dist/bundle/{embedder-MJMGOJT7.js → embedder-LQE2SBJ3.js} +6 -6
  71. package/dist/bundle/{first-run-HYALREFN.js → first-run-KZTKMEI4.js} +6 -6
  72. package/dist/bundle/first-screen-4LG5SJ6D.js +34 -0
  73. package/dist/bundle/{instructions-WOHRYOLN.js → instructions-7T6JJIFS.js} +1 -1
  74. package/dist/bundle/mail.js +2 -2
  75. package/dist/bundle/{node-4BRWJJCE.js → node-BZDMUFTW.js} +2 -2
  76. package/dist/bundle/{node-sqlite-D3QESEYQ.js → node-sqlite-PVSKI4OS.js} +4 -4
  77. package/dist/bundle/{oauth-T7TTOBIZ.js → oauth-TGYGAVGF.js} +4 -4
  78. package/dist/bundle/{open-6P6627QB.js → open-5YED4Q4C.js} +2 -2
  79. package/dist/bundle/{openai-FIMCJGAP.js → openai-XVJTML22.js} +12 -12
  80. package/dist/bundle/{process-35IH3WHC.js → process-756VBE7E.js} +1 -1
  81. package/dist/bundle/{program-IEXB72IK.js → program-TDHDXAQA.js} +387 -374
  82. package/dist/bundle/{prompt-HFBCPMVL.js → prompt-HPZANASN.js} +2 -2
  83. package/dist/bundle/{recognize-CNL4HJ7Z.js → recognize-PP5XQQHH.js} +1 -1
  84. package/dist/bundle/{remote-AYGZI7HT.js → remote-C2LU2WYG.js} +6 -6
  85. package/dist/bundle/{rerank-5C2OZZXD.js → rerank-WRHNOM4Z.js} +4 -4
  86. package/dist/bundle/{serve-S6OYBDIB.js → serve-RE3IV2QB.js} +6 -6
  87. package/dist/bundle/server-43V7HNFY.js +68 -0
  88. package/dist/bundle/{server-VKO6E6PI.js → server-52BJ7UTO.js} +37 -35
  89. package/dist/bundle/{sqlite-runtime-DBTGNTVE.js → sqlite-runtime-CRRL3MYX.js} +3 -3
  90. package/dist/bundle/{state-ZQG6AL2Y.js → state-YGJRPMWD.js} +3 -3
  91. package/dist/bundle/{store-B7BXWILZ.js → store-6AZ5LVJL.js} +15 -15
  92. package/dist/bundle/{store-LY4QKTOO.js → store-ESQE4VHP.js} +13 -13
  93. package/dist/bundle/store-maintenance-command-AKQMKUYO.js +58 -0
  94. package/dist/version.d.ts +1 -1
  95. package/dist/version.js +1 -1
  96. package/package.json +2 -2
  97. package/dist/bundle/first-screen-GPF5RHBX.js +0 -34
  98. package/dist/bundle/server-WXSHVDME.js +0 -68
  99. package/dist/bundle/store-maintenance-command-UR6NQDVV.js +0 -58
@@ -5,15 +5,15 @@ import {
5
5
  readLock,
6
6
  releaseLock,
7
7
  takeLock
8
- } from "./chunk-HNSBXC6U.js";
8
+ } from "./chunk-XM2THVMR.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
14
14
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
17
17
  import { randomBytes } from "node:crypto";
18
18
  import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
86
86
  };
87
87
  }, "activityRecorder");
88
88
 
89
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
89
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
90
90
  var ACCESS_SECONDS = 60 * 60;
91
91
  var REFRESH_SECONDS = 30 * 24 * 60 * 60;
92
92
  var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  LEVELS
5
- } from "./chunk-5WROIMUV.js";
5
+ } from "./chunk-2FZMIJW7.js";
6
6
  import {
7
7
  WORD_BODY,
8
8
  e164Of
9
- } from "./chunk-A6XETABW.js";
9
+ } from "./chunk-RGQFVVBB.js";
10
10
  import {
11
11
  resolvePaths,
12
12
  writeSecurely
@@ -38,7 +38,7 @@ import {
38
38
  __name
39
39
  } from "./chunk-ZVVMGPBJ.js";
40
40
 
41
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/domain/vcard.js
41
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/vcard.js
42
42
  import { createHash } from "node:crypto";
43
43
  var MAX_ID = 512;
44
44
  var AS_WORD = new RegExp(`^${WORD_BODY}$`);
@@ -269,7 +269,7 @@ var envelopeOfVcard = /* @__PURE__ */ __name((text, { provider, account, batchId
269
269
  };
270
270
  }, "envelopeOfVcard");
271
271
 
272
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/domain/formatting.js
272
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/formatting.js
273
273
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
274
274
  var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
275
275
  const { text, spans } = formatted;
@@ -329,7 +329,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
329
329
  };
330
330
  }, "visibleFormattedText");
331
331
 
332
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/moderation/check.js
332
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/moderation/check.js
333
333
  var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
334
334
  var LINK = /https?:\/\/\S+/i;
335
335
  var STRENGTH = { report: 0, delete: 1, remove: 2 };
@@ -517,7 +517,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
517
517
  }, "nextPoint");
518
518
  var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
519
519
 
520
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/moderation/rules.js
520
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/moderation/rules.js
521
521
  import { existsSync, readFileSync } from "node:fs";
522
522
  import { join } from "node:path";
523
523
  var RULE_ACTIONS = ["report", "delete", "remove"];
@@ -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-OGE7YG4J.js";
5
+ } from "./chunk-QQTSPQ2D.js";
6
6
  import {
7
7
  answerOf,
8
8
  messengerContext
9
- } from "./chunk-3J2UJFBJ.js";
9
+ } from "./chunk-TKOZCIHU.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-CFBIPM7T.js";
34
+ } from "./chunk-AIZ225IA.js";
35
35
  import {
36
36
  holdLock,
37
37
  lockPath,
38
38
  releaseLock,
39
39
  servingProfiles,
40
40
  takeLock
41
- } from "./chunk-HNSBXC6U.js";
41
+ } from "./chunk-XM2THVMR.js";
42
42
  import {
43
43
  readSecret
44
- } from "./chunk-KXASCNOV.js";
44
+ } from "./chunk-RRLAFEPQ.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-XELZCDWE.js";
71
+ } from "./chunk-OCUKQRJ3.js";
72
72
  import {
73
73
  levelFor
74
- } from "./chunk-5WROIMUV.js";
74
+ } from "./chunk-2FZMIJW7.js";
75
75
  import {
76
76
  holdersOf
77
- } from "./chunk-V4PFD25P.js";
77
+ } from "./chunk-UIKVP23D.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-AJ5K74X6.js";
85
+ } from "./chunk-4VDWQKDI.js";
86
86
  import {
87
87
  CORPORA,
88
88
  MIGRATIONS,
@@ -117,38 +117,38 @@ import {
117
117
  storeClients,
118
118
  storeContents,
119
119
  vectorIndexCounts
120
- } from "./chunk-PJ6YMNJG.js";
120
+ } from "./chunk-PRSXMM4I.js";
121
121
  import {
122
122
  currentRun,
123
123
  readDamageMark,
124
124
  readHealthMark,
125
125
  readJournalMark,
126
126
  recordDeepCheck
127
- } from "./chunk-76EKZSDK.js";
127
+ } from "./chunk-T7VERZP5.js";
128
128
  import {
129
129
  formatLocator,
130
130
  parseLocator,
131
131
  queryFieldsOf
132
- } from "./chunk-2E2EV4HD.js";
132
+ } from "./chunk-7BXOFLWJ.js";
133
133
  import {
134
134
  failureKey,
135
135
  isStoreDamage
136
- } from "./chunk-VJPLIXV4.js";
136
+ } from "./chunk-SXKKOOA7.js";
137
137
  import {
138
138
  modelAddressAllowed,
139
139
  onThisComputer
140
- } from "./chunk-3RY4HC4V.js";
140
+ } from "./chunk-XBL46B4V.js";
141
141
  import {
142
142
  readSharedSection,
143
143
  sharedConfigPath,
144
144
  writeSharedSection
145
- } from "./chunk-XUJEZ5YF.js";
145
+ } from "./chunk-XCYDTIVK.js";
146
146
  import {
147
147
  storePath
148
- } from "./chunk-3XTKQ5EM.js";
148
+ } from "./chunk-VYZ37D2Q.js";
149
149
  import {
150
150
  openCache
151
- } from "./chunk-VA4V73SL.js";
151
+ } from "./chunk-255RGG5W.js";
152
152
  import {
153
153
  Credentials,
154
154
  isMovedRun,
@@ -5519,11 +5519,11 @@ var require_liquid_node = __commonJS({
5519
5519
  }
5520
5520
  });
5521
5521
 
5522
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5522
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/sealed.js
5526
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5633
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/store/repair.js
5657
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5911
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
5914
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
5915
5915
  import { existsSync as existsSync3 } from "node:fs";
5916
5916
 
5917
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/store/recover.js
5917
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/store/refill.js
5923
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/store/recover.js
6003
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
6531
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/store-info.js
6687
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
6733
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/replies/rules.js
6752
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/replies/state.js
6923
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/replies/decide.js
6976
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/replies/template.js
7082
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/replies/template.js
7083
7083
  var import_liquidjs2 = __toESM(require_liquid_node(), 1);
7084
7084
 
7085
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/render/liquid.js
7085
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/replies/template.js
7112
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
7251
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/models/ai.js
7365
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/models/purpose.js
7515
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/replies/consents.js
7536
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/replies/rendering.js
7561
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/replies/serve.js
7609
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
7702
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
7779
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
7833
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
7866
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7952
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
7992
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
8088
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
8155
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
8310
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/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" },
@@ -8590,7 +8590,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
8590
8590
  };
8591
8591
  }, "tasking");
8592
8592
 
8593
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
8593
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
8594
8594
  import { existsSync as existsSync9 } from "node:fs";
8595
8595
  var PATH = "store tables list";
8596
8596
  var STORE_TABLES_QUERY = {
@@ -8633,7 +8633,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((owner) => {
8633
8633
  return tables;
8634
8634
  }, "storeTablesCommand");
8635
8635
 
8636
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
8636
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
8637
8637
  var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
8638
8638
  var WORD_INDEX = "message_words";
8639
8639
  var schemaOf = /* @__PURE__ */ __name((database) => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/stdin-field.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/stdin-field.js
8
8
  var fields = /* @__PURE__ */ new WeakMap();
9
9
  var readsStdin = /* @__PURE__ */ __name((command, field) => {
10
10
  fields.set(command, field);