@wirecat/attio-cli 0.2.0 → 0.2.2

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 (131) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/contracts/wirecat.json +5 -20
  3. package/dist/bin/attio.js +2 -2
  4. package/dist/bundle/agent-3FYEIRN4.js +37 -0
  5. package/dist/bundle/{all-profiles-LZDKPHN2.js → all-profiles-RAFO3NFW.js} +10 -10
  6. package/dist/bundle/{anthropic-BF72H77D.js → anthropic-TNR6QJGA.js} +5 -5
  7. package/dist/bundle/{app-server-H57FZJX5.js → app-server-BXVGXUGQ.js} +61 -61
  8. package/dist/bundle/attio.js +11 -11
  9. package/dist/bundle/{bun-WO77T4LG.js → bun-3RTK5XYF.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-2BP7JDVO.js → bun-sqlite-I5K5Z2ZK.js} +6 -6
  11. package/dist/bundle/{chunk-CMO5ND3Y.js → chunk-2CS7VHUB.js} +34 -34
  12. package/dist/bundle/{chunk-XXOTX4M3.js → chunk-2JB5XD5R.js} +7 -7
  13. package/dist/bundle/{chunk-EQGXEKSV.js → chunk-2PSAS4TT.js} +7 -7
  14. package/dist/bundle/{chunk-EEPE3SOW.js → chunk-2TLGP7BS.js} +5 -5
  15. package/dist/bundle/{chunk-X5S5KUSU.js → chunk-3BM6KBWP.js} +19 -19
  16. package/dist/bundle/{chunk-QLHDUYGE.js → chunk-3JRLPNPO.js} +1 -1
  17. package/dist/bundle/{chunk-J5P5VSRG.js → chunk-3LMW7U7F.js} +8 -8
  18. package/dist/bundle/{chunk-G6FQMVKW.js → chunk-4F3FQ5QX.js} +3 -3
  19. package/dist/bundle/{chunk-LWJ4ZGUM.js → chunk-53BHLQRA.js} +13 -13
  20. package/dist/bundle/{chunk-EQXT7KO4.js → chunk-62FENOMX.js} +6 -6
  21. package/dist/bundle/{chunk-JSTBW7F4.js → chunk-6HYTDMOL.js} +6 -6
  22. package/dist/bundle/{chunk-L5WS6CYZ.js → chunk-6ZBJCBXA.js} +2 -2
  23. package/dist/bundle/{chunk-Q7BSTQ3T.js → chunk-7626I3P4.js} +1 -1
  24. package/dist/bundle/{chunk-VW5F6FK3.js → chunk-7JVKQ6NM.js} +4 -4
  25. package/dist/bundle/{chunk-PMP37KLR.js → chunk-7QH5BZUG.js} +3 -3
  26. package/dist/bundle/{chunk-ZDBTYBFR.js → chunk-7WS4ONXZ.js} +3 -3
  27. package/dist/bundle/{chunk-MT2ZUZRA.js → chunk-AHPGTDO2.js} +43 -64
  28. package/dist/bundle/{chunk-GBZ6JUXU.js → chunk-AMRELFBT.js} +2 -2
  29. package/dist/bundle/{chunk-S7K2XFQB.js → chunk-APNSAKSO.js} +6 -6
  30. package/dist/bundle/{chunk-DSRXCLPO.js → chunk-AV2ZJ4WX.js} +1 -1
  31. package/dist/bundle/{chunk-2E6JGBM5.js → chunk-AXGSAG53.js} +14 -14
  32. package/dist/bundle/{chunk-I3WS6V5H.js → chunk-B7U5FLPP.js} +8 -8
  33. package/dist/bundle/{chunk-HG7FT3H3.js → chunk-BDFNXTNK.js} +7 -7
  34. package/dist/bundle/{chunk-AMUONYQR.js → chunk-BFWERPF6.js} +2 -2
  35. package/dist/bundle/{chunk-5K3FGXZH.js → chunk-CFQQTDSA.js} +1 -1
  36. package/dist/bundle/{chunk-VDMIJ3JW.js → chunk-CKG7GIHR.js} +3 -3
  37. package/dist/bundle/{chunk-X6R74TWX.js → chunk-CZP6C6MX.js} +4 -4
  38. package/dist/bundle/{chunk-RU5J7DWY.js → chunk-DKSO7UTS.js} +31 -9
  39. package/dist/bundle/{chunk-IDU4ESRZ.js → chunk-EMZ4MGPD.js} +8 -1
  40. package/dist/bundle/{chunk-MNQACPXG.js → chunk-FPMWW2HK.js} +25 -25
  41. package/dist/bundle/{chunk-WK7GLHHL.js → chunk-FRCORPOY.js} +5 -5
  42. package/dist/bundle/{chunk-G3JTLVVL.js → chunk-GT3HXSKW.js} +7 -7
  43. package/dist/bundle/{chunk-BUGROVF3.js → chunk-HM6AMYHR.js} +2 -2
  44. package/dist/bundle/{chunk-3NVOKVRY.js → chunk-HMYJLOXE.js} +343 -274
  45. package/dist/bundle/{chunk-3I2FGNWO.js → chunk-HVXOA4FO.js} +1 -1
  46. package/dist/bundle/{chunk-ASCUOOLO.js → chunk-JFFCP52L.js} +1 -1
  47. package/dist/bundle/{chunk-P4U6AGWD.js → chunk-JSAXTIRX.js} +1 -1
  48. package/dist/bundle/{chunk-DF2IIO32.js → chunk-JWRI6ZY6.js} +174 -159
  49. package/dist/bundle/{chunk-4STBJZR4.js → chunk-L7BMGR5W.js} +76 -37
  50. package/dist/bundle/{chunk-XXLQNHKF.js → chunk-LG6Y4NAT.js} +2 -2
  51. package/dist/bundle/{chunk-WARIIYSW.js → chunk-LHKVAZ5T.js} +2 -2
  52. package/dist/bundle/{chunk-GLHFJPYS.js → chunk-LIIOT3AN.js} +3 -3
  53. package/dist/bundle/{chunk-H7QDPW3D.js → chunk-MG4U6AKG.js} +1 -1
  54. package/dist/bundle/{chunk-MC2RQ2OB.js → chunk-MHMHZ6GY.js} +1 -1
  55. package/dist/bundle/{chunk-V6BTAILB.js → chunk-MI6IH5UW.js} +61 -61
  56. package/dist/bundle/{chunk-KHDXRFJZ.js → chunk-MW2OS2GD.js} +8 -8
  57. package/dist/bundle/{chunk-6ALPRBNV.js → chunk-NQJ7QMEF.js} +3 -3
  58. package/dist/bundle/{chunk-OFR3YYT6.js → chunk-NQNFMKL2.js} +1 -1
  59. package/dist/bundle/{chunk-76RRELCU.js → chunk-NWDO4DE3.js} +958 -550
  60. package/dist/bundle/{chunk-7MXCUMHG.js → chunk-O4SX6FXT.js} +1 -1
  61. package/dist/bundle/{chunk-SQHDE3TC.js → chunk-OC35ZLPE.js} +4 -4
  62. package/dist/bundle/{chunk-MRREDVPY.js → chunk-OHCYBSCA.js} +20 -14
  63. package/dist/bundle/{chunk-OBXDRUO4.js → chunk-P76XVKVC.js} +1 -1
  64. package/dist/bundle/{chunk-3YFDZSM3.js → chunk-PRERT2BZ.js} +1 -1
  65. package/dist/bundle/{chunk-MOSH2KPD.js → chunk-Q2U6DGSV.js} +10 -10
  66. package/dist/bundle/{chunk-O4A33Y54.js → chunk-QSUFJGTG.js} +2 -2
  67. package/dist/bundle/{chunk-ERW2WOJT.js → chunk-RKKY3MSZ.js} +1 -1
  68. package/dist/bundle/{chunk-4SMGM2Q6.js → chunk-SEDD6YZQ.js} +4 -4
  69. package/dist/bundle/{chunk-Q3JCUUOR.js → chunk-SYBAMYFY.js} +3 -3
  70. package/dist/bundle/{chunk-ZGADZ4CH.js → chunk-T6DV3ED2.js} +15 -15
  71. package/dist/bundle/{chunk-JA26HG7T.js → chunk-TUOFAUBR.js} +8 -8
  72. package/dist/bundle/{chunk-6SK3YB2B.js → chunk-UTTNGFKW.js} +12 -12
  73. package/dist/bundle/{chunk-CHZ26CW5.js → chunk-UZYL4AMA.js} +61 -58
  74. package/dist/bundle/{chunk-IXCIQ7FZ.js → chunk-V4JWUVNO.js} +4 -4
  75. package/dist/bundle/{chunk-34FJ26K2.js → chunk-VQSVE4RD.js} +2 -2
  76. package/dist/bundle/{chunk-GW4G5KLS.js → chunk-WALQNDXO.js} +8 -8
  77. package/dist/bundle/{chunk-6NDJDDSQ.js → chunk-WHDVRMB7.js} +35 -35
  78. package/dist/bundle/{chunk-ESH2QGCA.js → chunk-XQIRF6PS.js} +24 -8
  79. package/dist/bundle/{chunk-7ZUOI3HY.js → chunk-XSUU7PB7.js} +3 -3
  80. package/dist/bundle/{chunk-DQ6P3R4B.js → chunk-YBJBYPS7.js} +3 -3
  81. package/dist/bundle/{chunk-W6F2CQZ6.js → chunk-Z3HZD24R.js} +17 -17
  82. package/dist/bundle/{chunk-TF7ZGCOK.js → chunk-ZI3IRII7.js} +3 -3
  83. package/dist/bundle/command-contract-N5X3UOTT.js +37 -0
  84. package/dist/bundle/{command-server-entry-MNVPYQZ3.js → command-server-entry-ZKWL26Q5.js} +25 -25
  85. package/dist/bundle/{decode-MQNKNXLK.js → decode-TG45PUJW.js} +5 -5
  86. package/dist/bundle/{dispatch-TAQ7635E.js → dispatch-JQBAZWCL.js} +8 -8
  87. package/dist/bundle/{echarts-6ZSUNO4L.js → echarts-AWICNZBO.js} +2 -2
  88. package/dist/bundle/{embed-PHCCJJ5Z.js → embed-TN6HQUK2.js} +6 -6
  89. package/dist/bundle/{embedder-WLZZQTKZ.js → embedder-T3KJA3I4.js} +9 -9
  90. package/dist/bundle/{failure-MR2XVHFP.js → failure-I6AAF5R5.js} +2 -2
  91. package/dist/bundle/{first-run-64LREHSV.js → first-run-BZUITKMF.js} +12 -12
  92. package/dist/bundle/first-screen-I23NJLFH.js +37 -0
  93. package/dist/bundle/{instructions-22GCKNR5.js → instructions-FRJHLLZX.js} +1 -1
  94. package/dist/bundle/{mcp-CNV7F2XZ.js → mcp-YGOAUNC3.js} +2 -2
  95. package/dist/bundle/meeting-combined-7ZNV4MZ2.js +24 -0
  96. package/dist/bundle/{meeting-model-JWDTCGLZ.js → meeting-model-TENJU3OG.js} +11 -11
  97. package/dist/bundle/{meeting-semantic-375GYPZQ.js → meeting-semantic-ZKOG2XMU.js} +6 -6
  98. package/dist/bundle/{node-ITDTNRRZ.js → node-3ZISJOEM.js} +2 -2
  99. package/dist/bundle/{node-sqlite-IRAGRMEZ.js → node-sqlite-KA35X4F4.js} +7 -7
  100. package/dist/bundle/{oauth-CACOQJEL.js → oauth-C74B6XHN.js} +7 -7
  101. package/dist/bundle/{open-HU4KHKDR.js → open-CJESRWUG.js} +5 -5
  102. package/dist/bundle/{openai-JQUPAVKX.js → openai-WLXOXSTV.js} +15 -15
  103. package/dist/bundle/{process-QS5OHEUK.js → process-JV3KVGJY.js} +1 -1
  104. package/dist/bundle/{program-QLCUCR76.js → program-HSVLSH7A.js} +694 -477
  105. package/dist/bundle/{prompt-VA5MKXJU.js → prompt-EEBVB3XG.js} +5 -5
  106. package/dist/bundle/{recognize-JGA5IVKC.js → recognize-ZFITQZ4W.js} +4 -4
  107. package/dist/bundle/{remote-NPY2KZQ4.js → remote-RZXSYHOJ.js} +9 -9
  108. package/dist/bundle/{rerank-4H2QR4XU.js → rerank-2BHYAEO3.js} +7 -7
  109. package/dist/bundle/{schemas-THAI3G5S.js → schemas-6GTYA2NR.js} +1 -1
  110. package/dist/bundle/{serve-UH46SZQG.js → serve-G3M5H5JM.js} +9 -9
  111. package/dist/bundle/server-3ZL5TECF.js +79 -0
  112. package/dist/bundle/{server-6H7JS6SU.js → server-44WJ5K2W.js} +53 -53
  113. package/dist/bundle/{sqlite-runtime-EJWEUTBR.js → sqlite-runtime-TRISCWIG.js} +6 -6
  114. package/dist/bundle/{state-34B6AUQZ.js → state-BF6IMDP2.js} +6 -6
  115. package/dist/bundle/{store-XSE35P3U.js → store-LZPZC72J.js} +20 -20
  116. package/dist/bundle/{store-3R4ILTCJ.js → store-VSKYLTLH.js} +22 -18
  117. package/dist/bundle/store-maintenance-command-IDAYDJLQ.js +66 -0
  118. package/dist/bundle/surface-OHYA3YS6.js +65 -0
  119. package/dist/commands/crm.d.ts.map +1 -1
  120. package/dist/commands/crm.js +2 -0
  121. package/dist/commands/crm.js.map +1 -1
  122. package/dist/version.d.ts +1 -1
  123. package/dist/version.js +1 -1
  124. package/package.json +3 -3
  125. package/dist/bundle/agent-DYTWDBTT.js +0 -37
  126. package/dist/bundle/command-contract-7M6EPH3D.js +0 -37
  127. package/dist/bundle/first-screen-YSCAZIYJ.js +0 -37
  128. package/dist/bundle/meeting-combined-YX3T5WJD.js +0 -24
  129. package/dist/bundle/server-SR52KBL3.js +0 -79
  130. package/dist/bundle/store-maintenance-command-ABJARLI4.js +0 -66
  131. package/dist/bundle/surface-NOTIEJB5.js +0 -65
@@ -3,19 +3,19 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answerOf,
5
5
  messengerContext
6
- } from "./chunk-2E6JGBM5.js";
6
+ } from "./chunk-AXGSAG53.js";
7
7
  import {
8
8
  chatEventAnswer,
9
9
  memberAnswer,
10
10
  pollVoteAnswer
11
- } from "./chunk-JA26HG7T.js";
11
+ } from "./chunk-TUOFAUBR.js";
12
12
  import {
13
13
  stringWidth,
14
14
  wrapAnsi
15
15
  } from "./chunk-EH6ZEJGT.js";
16
16
  import {
17
17
  serveRelay
18
- } from "./chunk-EEPE3SOW.js";
18
+ } from "./chunk-2TLGP7BS.js";
19
19
  import {
20
20
  FETCHING,
21
21
  RULES_VERSION,
@@ -32,20 +32,20 @@ import {
32
32
  servicesFor,
33
33
  syncsOneChat,
34
34
  withTimeLimit
35
- } from "./chunk-3NVOKVRY.js";
35
+ } from "./chunk-HMYJLOXE.js";
36
36
  import {
37
37
  capability,
38
38
  queryTerms,
39
39
  typedQuery,
40
40
  withQuery
41
- } from "./chunk-MRREDVPY.js";
41
+ } from "./chunk-OHCYBSCA.js";
42
42
  import {
43
43
  holdLock,
44
44
  lockPath,
45
45
  releaseLock,
46
46
  servingProfiles,
47
47
  takeLock
48
- } from "./chunk-7ZUOI3HY.js";
48
+ } from "./chunk-XSUU7PB7.js";
49
49
  import {
50
50
  Command,
51
51
  LOCAL_READ,
@@ -73,13 +73,13 @@ import {
73
73
  snakeKeys,
74
74
  storeTable,
75
75
  withoutProviderRefs
76
- } from "./chunk-DF2IIO32.js";
76
+ } from "./chunk-JWRI6ZY6.js";
77
77
  import {
78
78
  holdersOf
79
- } from "./chunk-OBXDRUO4.js";
79
+ } from "./chunk-P76XVKVC.js";
80
80
  import {
81
81
  readSecret
82
- } from "./chunk-6ALPRBNV.js";
82
+ } from "./chunk-NQJ7QMEF.js";
83
83
  import {
84
84
  QUICK_HEALTH_CHECKS,
85
85
  fts5Tables,
@@ -87,7 +87,7 @@ import {
87
87
  lossUnknown,
88
88
  storeDamageReport,
89
89
  storeHealth
90
- } from "./chunk-W6F2CQZ6.js";
90
+ } from "./chunk-Z3HZD24R.js";
91
91
  import {
92
92
  CORPORA,
93
93
  MIGRATIONS,
@@ -111,6 +111,7 @@ import {
111
111
  readStoreTables,
112
112
  rebuildMentions,
113
113
  resetAttachmentWords,
114
+ resetContentPostWords,
114
115
  resetCrmFileWords,
115
116
  resetNoteIndex,
116
117
  resetSearchIndex,
@@ -124,7 +125,7 @@ import {
124
125
  storeClients,
125
126
  storeContents,
126
127
  vectorIndexCounts
127
- } from "./chunk-76RRELCU.js";
128
+ } from "./chunk-NWDO4DE3.js";
128
129
  import {
129
130
  currentRun,
130
131
  formatLocator,
@@ -133,35 +134,35 @@ import {
133
134
  readHealthMark,
134
135
  readJournalMark,
135
136
  recordDeepCheck
136
- } from "./chunk-6NDJDDSQ.js";
137
+ } from "./chunk-WHDVRMB7.js";
137
138
  import {
138
139
  failureKey,
139
140
  isStoreDamage
140
- } from "./chunk-GLHFJPYS.js";
141
+ } from "./chunk-LIIOT3AN.js";
141
142
  import {
142
143
  queryFieldsOf
143
- } from "./chunk-V6BTAILB.js";
144
+ } from "./chunk-MI6IH5UW.js";
144
145
  import {
145
146
  modelAddressAllowed,
146
147
  onThisComputer
147
- } from "./chunk-ESH2QGCA.js";
148
+ } from "./chunk-XQIRF6PS.js";
148
149
  import {
149
150
  readSharedSection,
150
151
  sharedConfigPath,
151
152
  writeSharedSection
152
- } from "./chunk-EQGXEKSV.js";
153
+ } from "./chunk-2PSAS4TT.js";
153
154
  import {
154
155
  storePath
155
- } from "./chunk-34FJ26K2.js";
156
+ } from "./chunk-VQSVE4RD.js";
156
157
  import {
157
158
  openCache
158
- } from "./chunk-S7K2XFQB.js";
159
+ } from "./chunk-APNSAKSO.js";
159
160
  import {
160
161
  Credentials,
161
162
  isMovedRun,
162
163
  resolvePaths,
163
164
  writeSecurely
164
- } from "./chunk-X5S5KUSU.js";
165
+ } from "./chunk-3BM6KBWP.js";
165
166
  import {
166
167
  array,
167
168
  boolean,
@@ -188,7 +189,7 @@ import {
188
189
  CliError,
189
190
  singleLine,
190
191
  visibleControls
191
- } from "./chunk-BUGROVF3.js";
192
+ } from "./chunk-HM6AMYHR.js";
192
193
  import {
193
194
  __commonJS,
194
195
  __name,
@@ -5528,11 +5529,11 @@ var require_liquid_node = __commonJS({
5528
5529
  }
5529
5530
  });
5530
5531
 
5531
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5532
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5532
5533
  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";
5533
5534
  import { dirname as dirname3, resolve } from "node:path";
5534
5535
 
5535
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/sealed.js
5536
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/sealed.js
5536
5537
  import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
5537
5538
  import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
5538
5539
  import { Transform } from "node:stream";
@@ -5639,7 +5640,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
5639
5640
  renameSync(pending, to);
5640
5641
  }, "unsealFile");
5641
5642
 
5642
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5643
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5643
5644
  var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
5644
5645
  var fileSchemaOf = /* @__PURE__ */ __name((database) => {
5645
5646
  const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
@@ -5663,7 +5664,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
5663
5664
  };
5664
5665
  }, "compatibilityOf");
5665
5666
 
5666
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/store/repair.js
5667
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/store/repair.js
5667
5668
  import { createHash as createHash2 } from "node:crypto";
5668
5669
  var COPY_MARK = "__repair_";
5669
5670
  var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
@@ -5917,19 +5918,19 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
5917
5918
  return found;
5918
5919
  }, "deleteCopy");
5919
5920
 
5920
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5921
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5921
5922
  import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
5922
5923
 
5923
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
5924
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
5924
5925
  import { existsSync as existsSync3 } from "node:fs";
5925
5926
 
5926
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/store/recover.js
5927
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/store/recover.js
5927
5928
  import { execFileSync, spawn } from "node:child_process";
5928
5929
  import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
5929
5930
  import { basename, dirname, join } from "node:path";
5930
5931
  import { Transform as Transform2 } from "node:stream";
5931
5932
 
5932
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/store/refill.js
5933
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/store/refill.js
5933
5934
  var REFILL_MARGIN_MS = 864e5;
5934
5935
  var TIME_KEYS = 1e12;
5935
5936
  var integerId = `external_id GLOB '[0-9]*' AND NOT external_id GLOB '*[^0-9]*'`;
@@ -6009,7 +6010,7 @@ var forgetMail = /* @__PURE__ */ __name((database, cutoff, now) => {
6009
6010
  return [...folders].map(([account, count3]) => ({ account, folders: count3 }));
6010
6011
  }, "forgetMail");
6011
6012
 
6012
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/store/recover.js
6013
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/store/recover.js
6013
6014
  var SQLITE3_MINIMUM = [3, 43, 0];
6014
6015
  var STORE_PARTS = ["", "-wal", "-shm"];
6015
6016
  var RECOVER_LOCK = ".recover-lock";
@@ -6288,6 +6289,7 @@ var FILLERS = {
6288
6289
  attachment_words: /* @__PURE__ */ __name((database) => void resetAttachmentWords(database), "attachment_words"),
6289
6290
  crm_file_words: /* @__PURE__ */ __name((database) => void resetCrmFileWords(database), "crm_file_words"),
6290
6291
  tracker_item_words: /* @__PURE__ */ __name((database) => void resetTrackerItemWords(database), "tracker_item_words"),
6292
+ content_post_words: /* @__PURE__ */ __name((database) => void resetContentPostWords(database), "content_post_words"),
6291
6293
  attachment_name_words: /* @__PURE__ */ __name((database) => (
6292
6294
  // As migration 20 filled it: й and ё fold as the triggers fold them.
6293
6295
  database.exec("INSERT INTO attachment_name_words (rowid, name) SELECT id, replace(replace(replace(replace(name, '\u0439', '\u0438'), '\u0419', '\u0418'), '\u0451', '\u0435'), '\u0401', '\u0415') FROM attachments WHERE name IS NOT NULL")
@@ -6539,7 +6541,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
6539
6541
  }
6540
6542
  }, "recoverLocked");
6541
6543
 
6542
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
6544
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
6543
6545
  var COUNTED = [
6544
6546
  "accounts",
6545
6547
  "chats",
@@ -6695,7 +6697,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
6695
6697
  return recover;
6696
6698
  }, "storeRecoverCommand");
6697
6699
 
6698
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/store-info.js
6700
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/store-info.js
6699
6701
  var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
6700
6702
  var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
6701
6703
  var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
@@ -6741,7 +6743,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
6741
6743
  renderAnswer(this, outputFor(this), itemOf(answer));
6742
6744
  }), "storeInfoCommand");
6743
6745
 
6744
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
6746
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
6745
6747
  var ENCRYPT_OPTION = [
6746
6748
  "--encrypt",
6747
6749
  "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"
@@ -6760,7 +6762,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
6760
6762
  return password;
6761
6763
  }, "passwordOf");
6762
6764
 
6763
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/replies/rules.js
6765
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/replies/rules.js
6764
6766
  import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
6765
6767
  import { join as join2 } from "node:path";
6766
6768
  var REPLY_ACTIONS = ["reply", "task"];
@@ -6931,7 +6933,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
6931
6933
  }, "problem");
6932
6934
  var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
6933
6935
 
6934
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/replies/state.js
6936
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/replies/state.js
6935
6937
  import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
6936
6938
  import { join as join3 } from "node:path";
6937
6939
  var ANSWERED_KEPT = 1e3;
@@ -6984,7 +6986,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
6984
6986
  }, "recordReply");
6985
6987
  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");
6986
6988
 
6987
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/replies/decide.js
6989
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/replies/decide.js
6988
6990
  var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
6989
6991
  var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
6990
6992
  const { message, chat, owner, sender } = incoming;
@@ -7090,10 +7092,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
7090
7092
  return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
7091
7093
  }, "filled");
7092
7094
 
7093
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/replies/template.js
7095
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/replies/template.js
7094
7096
  var import_liquidjs2 = __toESM(require_liquid_node(), 1);
7095
7097
 
7096
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/render/liquid.js
7098
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/render/liquid.js
7097
7099
  var import_liquidjs = __toESM(require_liquid_node(), 1);
7098
7100
  var safeLiquid = /* @__PURE__ */ __name((limits) => {
7099
7101
  const engine = new import_liquidjs.Liquid({
@@ -7120,7 +7122,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
7120
7122
  return engine;
7121
7123
  }, "safeLiquid");
7122
7124
 
7123
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/replies/template.js
7125
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/replies/template.js
7124
7126
  var TEMPLATE_LIMITS = {
7125
7127
  parse: 32768,
7126
7128
  renders: 2e3,
@@ -7259,7 +7261,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
7259
7261
  }
7260
7262
  }, "renderReplyTemplate");
7261
7263
 
7262
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
7264
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
7263
7265
  var DRY_RUN_DAYS = 7;
7264
7266
  var PAGE = 500;
7265
7267
  var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
@@ -7373,7 +7375,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
7373
7375
  }
7374
7376
  }, "storedSince");
7375
7377
 
7376
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/models/ai.js
7378
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/models/ai.js
7377
7379
  var AI_PROVIDERS = ["anthropic", "openai", "ollama"];
7378
7380
  var DEFAULT_BASE_URL = {
7379
7381
  anthropic: "https://api.anthropic.com",
@@ -7523,7 +7525,7 @@ var checkAi = /* @__PURE__ */ __name(async (deps) => {
7523
7525
  }
7524
7526
  }, "checkAi");
7525
7527
 
7526
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/models/purpose.js
7528
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/models/purpose.js
7527
7529
  var HOSTED = {
7528
7530
  openai: "https://api.openai.com/v1",
7529
7531
  anthropic: "https://api.anthropic.com"
@@ -7544,7 +7546,7 @@ var purposeModel = /* @__PURE__ */ __name((settings, purpose, deps) => {
7544
7546
  return shared ? { target: shared.target, key: /* @__PURE__ */ __name(() => shared.key, "key"), shared: shared.setting } : void 0;
7545
7547
  }, "purposeModel");
7546
7548
 
7547
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/replies/consents.js
7549
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/replies/consents.js
7548
7550
  import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
7549
7551
  import { join as join4 } from "node:path";
7550
7552
  var shape = strictObject({
@@ -7569,7 +7571,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
7569
7571
  return consent.provider === provider && !consent.deniedChats.includes(chat);
7570
7572
  }, "mayModelReply");
7571
7573
 
7572
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/replies/rendering.js
7574
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/replies/rendering.js
7573
7575
  var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options = {
7574
7576
  ai: true
7575
7577
  }) => async (rule2, message, chat, now) => {
@@ -7617,7 +7619,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
7617
7619
  return result2;
7618
7620
  }, "replyRenderer");
7619
7621
 
7620
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/replies/serve.js
7622
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/replies/serve.js
7621
7623
  var NOT_ALLOWED = "replies.send is not allow";
7622
7624
  var NO_RULES = "no rules";
7623
7625
  var ONLY_TASK = "opened a task, sent nothing";
@@ -7710,7 +7712,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
7710
7712
  return { skip: why };
7711
7713
  }, "replyTo");
7712
7714
 
7713
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
7715
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
7714
7716
  var START_SYNC_DELAY_MS = 3e4;
7715
7717
  var START_SYNC_BUDGET_MS = 5 * 6e4;
7716
7718
  var START_SYNC_WINDOW_MS = 7 * 864e5;
@@ -7787,7 +7789,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch, note, warn,
7787
7789
  };
7788
7790
  }, "startSync");
7789
7791
 
7790
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
7792
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
7791
7793
  var FIRST_FETCH_MS = 6e4;
7792
7794
  var DAY_MS = 864e5;
7793
7795
  var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
@@ -7841,7 +7843,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs =
7841
7843
  };
7842
7844
  }, "memberFetches");
7843
7845
 
7844
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
7846
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
7845
7847
  var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
7846
7848
  var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
7847
7849
  if (context.format === "pretty") {
@@ -7874,7 +7876,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
7874
7876
  return context;
7875
7877
  }, "recordDiagnostics");
7876
7878
 
7877
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
7879
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
7878
7880
  import { existsSync as existsSync8, readFileSync as readFileSync5, realpathSync as realpathSync2 } from "node:fs";
7879
7881
  import { dirname as dirname2, join as join5 } from "node:path";
7880
7882
  var OUTDATED_CHECK_MS = 6e4;
@@ -7960,7 +7962,7 @@ var watchOutdated = /* @__PURE__ */ __name(({ check: check2, onOutdated, everyMs
7960
7962
  };
7961
7963
  }, "watchOutdated");
7962
7964
 
7963
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7965
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7964
7966
  var STEMS_EVERY_MS = 3e4;
7965
7967
  var STEMS_SLICE_MS = 2e3;
7966
7968
  var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
@@ -8000,7 +8002,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
8000
8002
  };
8001
8003
  }, "stemFills");
8002
8004
 
8003
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/render/messages.js
8005
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/render/messages.js
8004
8006
  import { styleText } from "node:util";
8005
8007
  var TIME_WIDTH = 8;
8006
8008
  var INDENT = " ".repeat(TIME_WIDTH + 2);
@@ -8176,7 +8178,7 @@ var editedAt = /* @__PURE__ */ __name((message, options) => {
8176
8178
  return day(edited) === day(message.timestamp) ? time : `${day(edited)} ${time}`;
8177
8179
  }, "editedAt");
8178
8180
 
8179
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
8181
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
8180
8182
  var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
8181
8183
  var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
8182
8184
  kind: attachment.kind,
@@ -8272,7 +8274,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
8272
8274
  locale: messenger.app.locale
8273
8275
  }), "viewOf");
8274
8276
 
8275
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
8277
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
8276
8278
  var observed = /* @__PURE__ */ __name((value) => ({
8277
8279
  value: value.value,
8278
8280
  observed_at: value.observedAt,
@@ -8339,7 +8341,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
8339
8341
  }
8340
8342
  }, "watchEventItem");
8341
8343
 
8342
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
8344
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
8343
8345
  var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
8344
8346
  output: { entity: "watch_item" },
8345
8347
  effects: REMOTE_READ,
@@ -8494,7 +8496,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
8494
8496
  }
8495
8497
  }, "describe");
8496
8498
 
8497
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
8499
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
8498
8500
  var serveCommand = /* @__PURE__ */ __name((messenger) => {
8499
8501
  const command = annotate(new Command("serve"), {
8500
8502
  output: { entity: "serve_summary" },
@@ -8780,7 +8782,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
8780
8782
  };
8781
8783
  }, "tasking");
8782
8784
 
8783
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
8785
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
8784
8786
  import { existsSync as existsSync9 } from "node:fs";
8785
8787
  var PATH = "store tables list";
8786
8788
  var STORE_TABLES_QUERY = {
@@ -8823,7 +8825,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((owner) => {
8823
8825
  return tables;
8824
8826
  }, "storeTablesCommand");
8825
8827
 
8826
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
8828
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
8827
8829
  var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
8828
8830
  var WORD_INDEX = "message_words";
8829
8831
  var schemaOf = /* @__PURE__ */ __name((database) => {
@@ -9067,7 +9069,8 @@ var inspect = /* @__PURE__ */ __name((path) => reading(path, (database) => {
9067
9069
  ...stems ? [["message_stems", indexIntegrity(database, "message_stems", 0)]] : [],
9068
9070
  ...schema.version > 0 ? [["attachment_words", indexIntegrity(database, "attachment_words", 0)]] : [],
9069
9071
  ...schema.version >= 68 ? [["crm_file_words", indexIntegrity(database, "crm_file_words", 0)]] : [],
9070
- ...schema.version >= 70 ? [["tracker_item_words", indexIntegrity(database, "tracker_item_words", 0)]] : []
9072
+ ...schema.version >= 70 ? [["tracker_item_words", indexIntegrity(database, "tracker_item_words", 0)]] : [],
9073
+ ...schema.version >= 71 ? [["content_post_words", indexIntegrity(database, "content_post_words", 0)]] : []
9071
9074
  ]);
9072
9075
  const size = bytesOf2(path) + bytesOf2(`${path}-wal`);
9073
9076
  const { bavail, bsize } = statfsSync2(dirname3(path));
@@ -9235,7 +9238,7 @@ var reindexCommand = /* @__PURE__ */ __name((owner) => destroysNothing(annotate(
9235
9238
  throw new CliError("validation_error", `the store is behind this build \u2014 \`${lineOf(this, "store migrate")}\` first`);
9236
9239
  }
9237
9240
  resetSearchIndex(database);
9238
- const fileTexts = resetAttachmentWords(database) + resetCrmFileWords(database) + resetTrackerItemWords(database);
9241
+ const fileTexts = resetAttachmentWords(database) + resetCrmFileWords(database) + resetTrackerItemWords(database) + resetContentPostWords(database);
9239
9242
  const words = buildWordIndex(database, (note) => renderer.note(note));
9240
9243
  return {
9241
9244
  path,
@@ -5,15 +5,15 @@ import {
5
5
  readLock,
6
6
  releaseLock,
7
7
  takeLock
8
- } from "./chunk-7ZUOI3HY.js";
8
+ } from "./chunk-XSUU7PB7.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
89
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  resolvePaths
5
- } from "./chunk-X5S5KUSU.js";
5
+ } from "./chunk-3BM6KBWP.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/store/path.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/store/path.js
11
11
  import { realpathSync } from "node:fs";
12
12
  import { userInfo } from "node:os";
13
13
  import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  normalize
5
- } from "./chunk-QLHDUYGE.js";
5
+ } from "./chunk-3JRLPNPO.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-BUGROVF3.js";
8
+ } from "./chunk-HM6AMYHR.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/search/languages.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/search/languages.js
14
14
  var LANGUAGES = [
15
15
  { name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
16
16
  { name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
@@ -18,7 +18,7 @@ var LANGUAGES = [
18
18
  ];
19
19
  var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
22
22
  var BaseStemmer = class {
23
23
  static {
24
24
  __name(this, "BaseStemmer");
@@ -393,7 +393,7 @@ var BaseStemmer = class {
393
393
  }
394
394
  };
395
395
 
396
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
396
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
397
397
  var a_0 = [
398
398
  ["arsen", -1],
399
399
  ["commun", -1],
@@ -1094,7 +1094,7 @@ var english_stemmer_default = class extends BaseStemmer {
1094
1094
  stemWord = this.stem;
1095
1095
  };
1096
1096
 
1097
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1097
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1098
1098
  var a_02 = [
1099
1099
  ["\u0432", 1],
1100
1100
  ["\u0438\u0432", 2, 1],
@@ -1517,7 +1517,7 @@ var russian_stemmer_default = class extends BaseStemmer {
1517
1517
  stemWord = this.stem;
1518
1518
  };
1519
1519
 
1520
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1520
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1521
1521
  var a_03 = [
1522
1522
  ["", 6],
1523
1523
  ["\xE1", 1, 1],
@@ -2193,7 +2193,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
2193
2193
  stemWord = this.stem;
2194
2194
  };
2195
2195
 
2196
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/search/stem.js
2196
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/search/stem.js
2197
2197
  var SNOWBALL_VERSION = "3.1.1";
2198
2198
  var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
2199
2199
  var LATIN_STEMMERS = [...languagesOf("latin"), "none"];