@wirecat/hubspot-cli 0.1.0 → 0.3.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 (212) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +40 -16
  3. package/contracts/wirecat.json +1516 -173
  4. package/dist/bin/hubspot.js +2 -2
  5. package/dist/bundle/agent-A7ARC3QB.js +40 -0
  6. package/dist/bundle/{all-profiles-64JAUYW4.js → all-profiles-6452VSJB.js} +64 -22
  7. package/dist/bundle/{anthropic-VJOS4OUM.js → anthropic-VQUOVYOW.js} +6 -6
  8. package/dist/bundle/{app-server-422MCA7S.js → app-server-FFYKM37G.js} +79 -68
  9. package/dist/bundle/{bun-M3J2QTR3.js → bun-AJPJ4ZUN.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-IX3XYA5F.js → bun-sqlite-AGXGSF6D.js} +7 -7
  11. package/dist/bundle/{chunk-N2XADGL4.js → chunk-2A64XS22.js} +4 -4
  12. package/dist/bundle/{chunk-HTAN663T.js → chunk-2HYGCLKN.js} +93 -565
  13. package/dist/bundle/{chunk-FOZYMDRL.js → chunk-2NCO4E4T.js} +6 -6
  14. package/dist/bundle/{chunk-FBCCBCFH.js → chunk-2PRVWEJC.js} +3 -3
  15. package/dist/bundle/{chunk-LOBVOGOE.js → chunk-3DIXAEGH.js} +4 -4
  16. package/dist/bundle/{chunk-O3DYRCIT.js → chunk-3I2FGNWO.js} +1 -1
  17. package/dist/bundle/{chunk-65TWQ7BV.js → chunk-3PEKYGZ3.js} +2 -2
  18. package/dist/bundle/{chunk-DRWWJLI6.js → chunk-3R4KRNUZ.js} +8 -8
  19. package/dist/bundle/{chunk-2VGD63G6.js → chunk-3TEFE6YU.js} +7 -7
  20. package/dist/bundle/{chunk-BKXDHU3G.js → chunk-3WIVJJNB.js} +19 -17
  21. package/dist/bundle/{chunk-TI46WQXQ.js → chunk-4DNHXRCJ.js} +7 -7
  22. package/dist/bundle/{chunk-QU25DA5N.js → chunk-5AYKCKSE.js} +11 -11
  23. package/dist/bundle/chunk-5HD64ETI.js +561 -0
  24. package/dist/bundle/{chunk-CWXOXIWS.js → chunk-5K3FGXZH.js} +1 -1
  25. package/dist/bundle/{chunk-24ERVFJP.js → chunk-5YNAVVCW.js} +3 -3
  26. package/dist/bundle/chunk-77CUE3VX.js +46 -0
  27. package/dist/bundle/{chunk-36ITRDYY.js → chunk-7LQRXVQ3.js} +783 -482
  28. package/dist/bundle/{chunk-E5WLE7BM.js → chunk-7NZT7Y55.js} +1 -1
  29. package/dist/bundle/{chunk-C32AKHTY.js → chunk-7UEL65GQ.js} +35 -12
  30. package/dist/bundle/chunk-7VHBS5BJ.js +108 -0
  31. package/dist/bundle/{chunk-O55RWNSH.js → chunk-A6UFH3QU.js} +4 -4
  32. package/dist/bundle/{chunk-WE4UFASG.js → chunk-ABXVU5O4.js} +8 -1
  33. package/dist/bundle/{chunk-4W6BMH45.js → chunk-AF7DANIR.js} +2 -100
  34. package/dist/bundle/{chunk-LNV33FDC.js → chunk-AFL2C4JR.js} +60 -50
  35. package/dist/bundle/{chunk-2VGZRYEH.js → chunk-ARTJLL7W.js} +6 -6
  36. package/dist/bundle/chunk-AVUMH42T.js +194 -0
  37. package/dist/bundle/chunk-B2W3C4N6.js +338 -0
  38. package/dist/bundle/{chunk-FKA7DOCK.js → chunk-B3EH22CO.js} +1 -1
  39. package/dist/bundle/{chunk-E52JAS35.js → chunk-BAUK2MD5.js} +6 -6
  40. package/dist/bundle/{chunk-JLDBMEKZ.js → chunk-BN22EKQQ.js} +2 -2
  41. package/dist/bundle/{chunk-DB2XKHI4.js → chunk-BUGROVF3.js} +2 -2
  42. package/dist/bundle/{chunk-DSP36YHQ.js → chunk-CBCEMFCF.js} +2 -2
  43. package/dist/bundle/{chunk-WQBX7XYP.js → chunk-CYADK744.js} +1559 -1888
  44. package/dist/bundle/{chunk-HZRQLAHO.js → chunk-DQB5JMTY.js} +1 -1
  45. package/dist/bundle/{chunk-JRCPCVPI.js → chunk-DQP2GAAO.js} +75 -66
  46. package/dist/bundle/{chunk-FPUGMDJV.js → chunk-DSRXCLPO.js} +1 -1
  47. package/dist/bundle/{chunk-UUMUL4L3.js → chunk-DW23LM47.js} +2 -2
  48. package/dist/bundle/{chunk-TKVL2C3B.js → chunk-E4X7JAFC.js} +3 -3
  49. package/dist/bundle/{chunk-NUU4WZVL.js → chunk-EE4JSYGZ.js} +3 -3
  50. package/dist/bundle/{chunk-NWHEHV3K.js → chunk-EMOVVERN.js} +5 -5
  51. package/dist/bundle/{chunk-PVKF24ZW.js → chunk-FIVD4HM4.js} +8 -8
  52. package/dist/bundle/{chunk-QJW35N5V.js → chunk-GC6FLHZF.js} +12 -12
  53. package/dist/bundle/{chunk-TP7GDWVF.js → chunk-GRFICQTZ.js} +1 -1
  54. package/dist/bundle/{chunk-X2M6NIQG.js → chunk-HPZRUY6S.js} +1 -1
  55. package/dist/bundle/{chunk-CLAN3FES.js → chunk-IBTMK5KD.js} +54 -34
  56. package/dist/bundle/{chunk-5A6ZYNAQ.js → chunk-IQ2XZ62J.js} +18 -18
  57. package/dist/bundle/{chunk-DBEQI5YM.js → chunk-ITGNDZRR.js} +3 -3
  58. package/dist/bundle/{chunk-W53EJOFQ.js → chunk-IXZLMFPO.js} +1 -1
  59. package/dist/bundle/{chunk-TOSCB4SO.js → chunk-J5P5VSRG.js} +16 -10
  60. package/dist/bundle/{chunk-VIEYMDBR.js → chunk-J6C2QWL5.js} +3 -3
  61. package/dist/bundle/{chunk-ZBDSHFG4.js → chunk-JG7YMHNB.js} +3427 -3284
  62. package/dist/bundle/{chunk-RMIYKDUL.js → chunk-JK2SNLU5.js} +17 -17
  63. package/dist/bundle/{chunk-43EKCUBJ.js → chunk-JP2HJXFO.js} +3 -3
  64. package/dist/bundle/{chunk-DFCHHR5M.js → chunk-JUKAIXKY.js} +1 -1
  65. package/dist/bundle/{chunk-5GBUCHRU.js → chunk-KO4VR5NK.js} +4 -4
  66. package/dist/bundle/{chunk-PPHBRESD.js → chunk-KVXEEKBB.js} +2 -2
  67. package/dist/bundle/{chunk-SDQGB4KB.js → chunk-L433IDOX.js} +9 -9
  68. package/dist/bundle/chunk-LA3YU4K7.js +40 -0
  69. package/dist/bundle/{chunk-ECEZOLOD.js → chunk-LKSNISYV.js} +4 -4
  70. package/dist/bundle/{chunk-5K7QLJMM.js → chunk-LT5KE44Q.js} +226 -226
  71. package/dist/bundle/chunk-M763RNWP.js +733 -0
  72. package/dist/bundle/chunk-M7XLG6AN.js +353 -0
  73. package/dist/bundle/{chunk-IMJQRPLN.js → chunk-NNMU2TDU.js} +1 -1
  74. package/dist/bundle/chunk-NTQBS2JL.js +52 -0
  75. package/dist/bundle/{chunk-HCAZV5NP.js → chunk-NZGI74GS.js} +6 -6
  76. package/dist/bundle/{chunk-W7HM2VGO.js → chunk-O3VM5PTJ.js} +1 -1
  77. package/dist/bundle/chunk-OPVNUI4M.js +195 -0
  78. package/dist/bundle/{chunk-7ELMWE3P.js → chunk-PHXOL5HZ.js} +176 -160
  79. package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
  80. package/dist/bundle/{chunk-B3MANLNK.js → chunk-PLRUUXK7.js} +19 -233
  81. package/dist/bundle/{chunk-RR5MX5TM.js → chunk-PMP37KLR.js} +4 -4
  82. package/dist/bundle/{chunk-FTFV3HFW.js → chunk-Q27QAB4X.js} +9 -9
  83. package/dist/bundle/{chunk-2TWQIWWG.js → chunk-QFZD6MTF.js} +35 -29
  84. package/dist/bundle/{chunk-2QZK5BEP.js → chunk-RVWGFD32.js} +30 -15
  85. package/dist/bundle/{chunk-MVA5HVKL.js → chunk-S4UUN6LD.js} +18 -0
  86. package/dist/bundle/{chunk-QGFX5MXL.js → chunk-SEELWPRD.js} +9 -9
  87. package/dist/bundle/{chunk-SAKK2YRU.js → chunk-SMTTIKZ5.js} +12 -12
  88. package/dist/bundle/{chunk-X7XUX7A4.js → chunk-TDQJS3JG.js} +10 -10
  89. package/dist/bundle/{chunk-HC5ZWE5X.js → chunk-TIHDBKA7.js} +2 -2
  90. package/dist/bundle/{chunk-NHHJHXMQ.js → chunk-U6XA3OOM.js} +2 -2
  91. package/dist/bundle/{chunk-NXERIDPJ.js → chunk-VQEAZXTV.js} +7 -7
  92. package/dist/bundle/{chunk-P5BHKKBI.js → chunk-VW5F6FK3.js} +4 -4
  93. package/dist/bundle/{chunk-XRREFEIW.js → chunk-WCQW4GYO.js} +7 -7
  94. package/dist/bundle/{chunk-H3TNVEQX.js → chunk-WGBVRDY3.js} +29 -4
  95. package/dist/bundle/chunk-WRCKE5ND.js +80 -0
  96. package/dist/bundle/{chunk-TBJYLC5K.js → chunk-X5S5KUSU.js} +75 -75
  97. package/dist/bundle/command-contract-R2FGN7CQ.js +40 -0
  98. package/dist/bundle/{command-server-entry-DJKVVZCQ.js → command-server-entry-GJSMDSNE.js} +29 -29
  99. package/dist/bundle/{decode-FC65Y4IV.js → decode-6PLXHVHW.js} +6 -6
  100. package/dist/bundle/{dispatch-KOISQ5QJ.js → dispatch-TAQ7635E.js} +8 -8
  101. package/dist/bundle/{dist-MYZZKZJ7.js → dist-7TGU56B2.js} +1 -1
  102. package/dist/bundle/dist-PAKDDIBT.js +191 -0
  103. package/dist/bundle/{echarts-FVTUDXDU.js → echarts-UZ7QLRE2.js} +2 -2
  104. package/dist/bundle/{embed-VNBZFPYH.js → embed-AWLL4EBF.js} +7 -7
  105. package/dist/bundle/{embedder-6U4NOFRO.js → embedder-MM225YJ6.js} +10 -10
  106. package/dist/bundle/{failure-FZ6VYKEQ.js → failure-MR2XVHFP.js} +3 -3
  107. package/dist/bundle/first-run-MAUI6QJ7.js +29 -0
  108. package/dist/bundle/first-screen-SCDV7TXT.js +40 -0
  109. package/dist/bundle/hubspot.js +26 -26
  110. package/dist/bundle/{instructions-HET7BCYK.js → instructions-ZJ7U3QUE.js} +1 -1
  111. package/dist/bundle/{mcp-RGNRW77S.js → mcp-CNV7F2XZ.js} +2 -2
  112. package/dist/bundle/meeting-combined-EL5XZIJ5.js +25 -0
  113. package/dist/bundle/meeting-model-OYXB2NOE.js +25 -0
  114. package/dist/bundle/{meeting-semantic-JY3OGCBS.js → meeting-semantic-S3DBB7XD.js} +7 -7
  115. package/dist/bundle/{node-CXZIFHZC.js → node-HGCZGZ4R.js} +2 -2
  116. package/dist/bundle/{node-sqlite-P3O7XN7Q.js → node-sqlite-RKYSRKEB.js} +8 -8
  117. package/dist/bundle/oauth-PYDCAQ7Y.js +20 -0
  118. package/dist/bundle/{open-F4P6YV54.js → open-UCDSQUN2.js} +6 -6
  119. package/dist/bundle/{openai-4AICLIK3.js → openai-Y4F5ZC7O.js} +16 -16
  120. package/dist/bundle/{process-5RUXWGYS.js → process-P7FB7YO7.js} +1 -1
  121. package/dist/bundle/{program-POG5GHUQ.js → program-2D5D32HK.js} +835 -261
  122. package/dist/bundle/{prompt-NFMDVBZ4.js → prompt-E5TKZ37Q.js} +6 -6
  123. package/dist/bundle/{recognize-DKN3RY4V.js → recognize-5NYPTSLT.js} +5 -5
  124. package/dist/bundle/{remote-6QHAGQWY.js → remote-U4LUAHF2.js} +10 -10
  125. package/dist/bundle/{rerank-M4KHEHUZ.js → rerank-AJAVKK5L.js} +8 -8
  126. package/dist/bundle/{schemas-JRL3DLMP.js → schemas-QLQ2K6DL.js} +7 -33
  127. package/dist/bundle/{serve-DNU43ND6.js → serve-4UJ3R5IP.js} +11 -11
  128. package/dist/bundle/server-CN6VQNNF.js +86 -0
  129. package/dist/bundle/{server-XJSNF3K5.js → server-OJPCTV77.js} +73 -61
  130. package/dist/bundle/{source-A3SBLHC4.js → source-VHDK74YS.js} +133 -399
  131. package/dist/bundle/{sqlite-runtime-EMQAC63N.js → sqlite-runtime-KLEA4XAU.js} +7 -7
  132. package/dist/bundle/{state-T45CX7VY.js → state-COGSYMVH.js} +7 -7
  133. package/dist/bundle/{store-6TZ2FCVA.js → store-BJXCSP26.js} +25 -24
  134. package/dist/bundle/store-HXA2MRWI.js +32 -0
  135. package/dist/bundle/{store-6LCEVBAZ.js → store-V5UMSWK4.js} +27 -22
  136. package/dist/bundle/store-maintenance-command-AC7GGLYC.js +73 -0
  137. package/dist/bundle/surface-ZZNG3OW2.js +72 -0
  138. package/dist/bundle/writer-CZYA657G.js +86 -0
  139. package/dist/commands/api.d.ts +4 -4
  140. package/dist/commands/api.d.ts.map +1 -1
  141. package/dist/commands/api.js +12 -7
  142. package/dist/commands/api.js.map +1 -1
  143. package/dist/commands/crm-shared.d.ts +2 -2
  144. package/dist/commands/crm-shared.d.ts.map +1 -1
  145. package/dist/commands/crm-shared.js +20 -4
  146. package/dist/commands/crm-shared.js.map +1 -1
  147. package/dist/config.d.ts +46 -8
  148. package/dist/config.d.ts.map +1 -1
  149. package/dist/config.js +133 -12
  150. package/dist/config.js.map +1 -1
  151. package/dist/context.d.ts +2 -2
  152. package/dist/context.d.ts.map +1 -1
  153. package/dist/context.js +1 -1
  154. package/dist/context.js.map +1 -1
  155. package/dist/crm/source.d.ts +7 -2
  156. package/dist/crm/source.d.ts.map +1 -1
  157. package/dist/crm/source.js +26 -29
  158. package/dist/crm/source.js.map +1 -1
  159. package/dist/crm/writer.d.ts +15 -0
  160. package/dist/crm/writer.d.ts.map +1 -0
  161. package/dist/crm/writer.js +199 -0
  162. package/dist/crm/writer.js.map +1 -0
  163. package/dist/generated/manifest.d.ts.map +1 -1
  164. package/dist/generated/manifest.js +6 -116
  165. package/dist/generated/manifest.js.map +1 -1
  166. package/dist/generated/types.d.ts +160 -0
  167. package/dist/generated/types.d.ts.map +1 -1
  168. package/dist/hubspot/transport.d.ts +6 -1
  169. package/dist/hubspot/transport.d.ts.map +1 -1
  170. package/dist/hubspot/transport.js +13 -5
  171. package/dist/hubspot/transport.js.map +1 -1
  172. package/dist/identity.js +3 -3
  173. package/dist/identity.js.map +1 -1
  174. package/dist/program.d.ts.map +1 -1
  175. package/dist/program.js +2 -1
  176. package/dist/program.js.map +1 -1
  177. package/dist/setup/texts.en.json +3 -3
  178. package/dist/setup/texts.es.json +3 -3
  179. package/dist/setup/texts.ru.json +3 -3
  180. package/dist/version.d.ts +1 -1
  181. package/dist/version.js +1 -1
  182. package/package.json +4 -4
  183. package/skills/hubspot-cli/SKILL.md +13 -8
  184. package/skills/hubspot-cli/references/api/api-advanced.md +51 -0
  185. package/skills/hubspot-cli/references/api/api-basic.md +602 -0
  186. package/skills/hubspot-cli/references/api/api-batch.md +575 -0
  187. package/skills/hubspot-cli/references/api.md +3 -2
  188. package/dist/bundle/command-contract-C6CBFXZF.js +0 -40
  189. package/dist/bundle/first-run-RPIJZEDT.js +0 -29
  190. package/dist/bundle/first-screen-RTVMGHAE.js +0 -40
  191. package/dist/bundle/meeting-combined-L5AGBPYX.js +0 -25
  192. package/dist/bundle/meeting-model-NTB4RK3F.js +0 -25
  193. package/dist/bundle/oauth-HNCY4B2S.js +0 -20
  194. package/dist/bundle/server-C3ZHA7AZ.js +0 -77
  195. package/dist/bundle/store-CCDNUB6A.js +0 -32
  196. package/dist/bundle/store-maintenance-command-BRCG6MNA.js +0 -68
  197. package/dist/commands/comments.d.ts +0 -3
  198. package/dist/commands/comments.d.ts.map +0 -1
  199. package/dist/commands/comments.js +0 -114
  200. package/dist/commands/comments.js.map +0 -1
  201. package/dist/sample/comments.d.ts +0 -61
  202. package/dist/sample/comments.d.ts.map +0 -1
  203. package/dist/sample/comments.js +0 -39
  204. package/dist/sample/comments.js.map +0 -1
  205. package/dist/sample/records.d.ts +0 -16
  206. package/dist/sample/records.d.ts.map +0 -1
  207. package/dist/sample/records.js +0 -22
  208. package/dist/sample/records.js.map +0 -1
  209. package/dist/sample/transport.d.ts +0 -42
  210. package/dist/sample/transport.d.ts.map +0 -1
  211. package/dist/sample/transport.js +0 -153
  212. package/dist/sample/transport.js.map +0 -1
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/normalize.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/store/normalize.js
8
8
  var NORMALIZER_VERSION = 1;
9
9
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
10
10
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
@@ -3,39 +3,45 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answerOf,
5
5
  messengerContext
6
- } from "./chunk-BKXDHU3G.js";
6
+ } from "./chunk-3WIVJJNB.js";
7
+ import {
8
+ chatEventAnswer,
9
+ memberAnswer,
10
+ pollVoteAnswer
11
+ } from "./chunk-M7XLG6AN.js";
12
+ import {
13
+ serveRelay
14
+ } from "./chunk-B2W3C4N6.js";
7
15
  import {
8
16
  FETCHING,
9
17
  RULES_VERSION,
10
18
  applyTaskRulesOnArrival,
11
- capability,
12
- chatEventAnswer,
13
19
  embeddingKeys,
14
20
  endpointKeyName,
15
- memberAnswer,
16
21
  modelGateway,
17
22
  newSendId,
18
23
  onlineDeps,
19
24
  openRequestTask,
20
25
  patiently,
21
- pollVoteAnswer,
22
- queryTerms,
23
26
  refuseLockedOutput,
24
27
  senderIsMe,
25
- serveRelay,
26
28
  servicesFor,
27
29
  syncsOneChat,
28
- typedQuery,
29
- withQuery,
30
30
  withTimeLimit
31
- } from "./chunk-ZBDSHFG4.js";
31
+ } from "./chunk-JG7YMHNB.js";
32
+ import {
33
+ capability,
34
+ queryTerms,
35
+ typedQuery,
36
+ withQuery
37
+ } from "./chunk-M763RNWP.js";
32
38
  import {
33
39
  holdLock,
34
40
  lockPath,
35
41
  releaseLock,
36
42
  servingProfiles,
37
43
  takeLock
38
- } from "./chunk-24ERVFJP.js";
44
+ } from "./chunk-5YNAVVCW.js";
39
45
  import {
40
46
  Command,
41
47
  LOCAL_READ,
@@ -62,10 +68,10 @@ import {
62
68
  snakeKeys,
63
69
  storeTable,
64
70
  withoutProviderRefs
65
- } from "./chunk-7ELMWE3P.js";
71
+ } from "./chunk-PHXOL5HZ.js";
66
72
  import {
67
73
  holdersOf
68
- } from "./chunk-W53EJOFQ.js";
74
+ } from "./chunk-IXZLMFPO.js";
69
75
  import {
70
76
  QUICK_HEALTH_CHECKS,
71
77
  fts5Tables,
@@ -73,7 +79,7 @@ import {
73
79
  lossUnknown,
74
80
  storeDamageReport,
75
81
  storeHealth
76
- } from "./chunk-RMIYKDUL.js";
82
+ } from "./chunk-JK2SNLU5.js";
77
83
  import {
78
84
  CORPORA,
79
85
  MIGRATIONS,
@@ -101,6 +107,7 @@ import {
101
107
  resetNoteIndex,
102
108
  resetSearchIndex,
103
109
  resetStems,
110
+ resetTrackerItemWords,
104
111
  rollBack,
105
112
  rowCounts,
106
113
  searchIndexState,
@@ -109,55 +116,55 @@ import {
109
116
  storeClients,
110
117
  storeContents,
111
118
  vectorIndexCounts
112
- } from "./chunk-36ITRDYY.js";
119
+ } from "./chunk-7LQRXVQ3.js";
113
120
  import {
114
121
  currentRun,
115
122
  readDamageMark,
116
123
  readHealthMark,
117
124
  readJournalMark,
118
125
  recordDeepCheck
119
- } from "./chunk-CLAN3FES.js";
126
+ } from "./chunk-IBTMK5KD.js";
120
127
  import {
121
128
  failureKey,
122
129
  isStoreDamage
123
- } from "./chunk-UUMUL4L3.js";
130
+ } from "./chunk-DW23LM47.js";
124
131
  import {
125
132
  modelAddressAllowed,
126
133
  onThisComputer
127
- } from "./chunk-XRREFEIW.js";
134
+ } from "./chunk-WCQW4GYO.js";
128
135
  import {
129
136
  readSharedSection,
130
137
  sharedConfigPath,
131
138
  writeSharedSection
132
- } from "./chunk-TI46WQXQ.js";
139
+ } from "./chunk-4DNHXRCJ.js";
133
140
  import {
134
141
  renderMessages
135
- } from "./chunk-HC5ZWE5X.js";
142
+ } from "./chunk-TIHDBKA7.js";
136
143
  import {
137
144
  levelFor
138
- } from "./chunk-2VGD63G6.js";
145
+ } from "./chunk-3TEFE6YU.js";
139
146
  import {
140
147
  formatLocator,
141
148
  parseLocator
142
- } from "./chunk-QJW35N5V.js";
149
+ } from "./chunk-GC6FLHZF.js";
143
150
  import {
144
151
  queryFieldsOf
145
- } from "./chunk-5K7QLJMM.js";
152
+ } from "./chunk-LT5KE44Q.js";
146
153
  import {
147
154
  readSecret
148
- } from "./chunk-DBEQI5YM.js";
155
+ } from "./chunk-ITGNDZRR.js";
149
156
  import {
150
157
  storePath
151
- } from "./chunk-65TWQ7BV.js";
158
+ } from "./chunk-3PEKYGZ3.js";
152
159
  import {
153
160
  openCache
154
- } from "./chunk-HCAZV5NP.js";
161
+ } from "./chunk-NZGI74GS.js";
155
162
  import {
156
163
  Credentials,
157
164
  isMovedRun,
158
165
  resolvePaths,
159
166
  writeSecurely
160
- } from "./chunk-TBJYLC5K.js";
167
+ } from "./chunk-X5S5KUSU.js";
161
168
  import {
162
169
  array,
163
170
  boolean,
@@ -179,10 +186,10 @@ import {
179
186
  string,
180
187
  transform,
181
188
  trim
182
- } from "./chunk-MVA5HVKL.js";
189
+ } from "./chunk-S4UUN6LD.js";
183
190
  import {
184
191
  CliError
185
- } from "./chunk-DB2XKHI4.js";
192
+ } from "./chunk-BUGROVF3.js";
186
193
  import {
187
194
  __commonJS,
188
195
  __name,
@@ -5522,11 +5529,11 @@ var require_liquid_node = __commonJS({
5522
5529
  }
5523
5530
  });
5524
5531
 
5525
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5532
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5526
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";
5527
5534
  import { dirname as dirname3, resolve } from "node:path";
5528
5535
 
5529
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/sealed.js
5536
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/sealed.js
5530
5537
  import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
5531
5538
  import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
5532
5539
  import { Transform } from "node:stream";
@@ -5633,7 +5640,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
5633
5640
  renameSync(pending, to);
5634
5641
  }, "unsealFile");
5635
5642
 
5636
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5643
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5637
5644
  var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
5638
5645
  var fileSchemaOf = /* @__PURE__ */ __name((database) => {
5639
5646
  const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
@@ -5657,7 +5664,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
5657
5664
  };
5658
5665
  }, "compatibilityOf");
5659
5666
 
5660
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/repair.js
5667
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/store/repair.js
5661
5668
  import { createHash as createHash2 } from "node:crypto";
5662
5669
  var COPY_MARK = "__repair_";
5663
5670
  var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
@@ -5911,19 +5918,19 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
5911
5918
  return found;
5912
5919
  }, "deleteCopy");
5913
5920
 
5914
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5921
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5915
5922
  import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
5916
5923
 
5917
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
5924
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
5918
5925
  import { existsSync as existsSync3 } from "node:fs";
5919
5926
 
5920
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/recover.js
5927
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/store/recover.js
5921
5928
  import { execFileSync, spawn } from "node:child_process";
5922
5929
  import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
5923
5930
  import { basename, dirname, join } from "node:path";
5924
5931
  import { Transform as Transform2 } from "node:stream";
5925
5932
 
5926
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/refill.js
5933
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/store/refill.js
5927
5934
  var REFILL_MARGIN_MS = 864e5;
5928
5935
  var TIME_KEYS = 1e12;
5929
5936
  var integerId = `external_id GLOB '[0-9]*' AND NOT external_id GLOB '*[^0-9]*'`;
@@ -6003,7 +6010,7 @@ var forgetMail = /* @__PURE__ */ __name((database, cutoff, now) => {
6003
6010
  return [...folders].map(([account, count3]) => ({ account, folders: count3 }));
6004
6011
  }, "forgetMail");
6005
6012
 
6006
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/recover.js
6013
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/store/recover.js
6007
6014
  var SQLITE3_MINIMUM = [3, 43, 0];
6008
6015
  var STORE_PARTS = ["", "-wal", "-shm"];
6009
6016
  var RECOVER_LOCK = ".recover-lock";
@@ -6281,6 +6288,7 @@ var FILLERS = {
6281
6288
  }, "message_stems"),
6282
6289
  attachment_words: /* @__PURE__ */ __name((database) => void resetAttachmentWords(database), "attachment_words"),
6283
6290
  crm_file_words: /* @__PURE__ */ __name((database) => void resetCrmFileWords(database), "crm_file_words"),
6291
+ tracker_item_words: /* @__PURE__ */ __name((database) => void resetTrackerItemWords(database), "tracker_item_words"),
6284
6292
  attachment_name_words: /* @__PURE__ */ __name((database) => (
6285
6293
  // As migration 20 filled it: й and ё fold as the triggers fold them.
6286
6294
  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")
@@ -6532,7 +6540,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
6532
6540
  }
6533
6541
  }, "recoverLocked");
6534
6542
 
6535
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
6543
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
6536
6544
  var COUNTED = [
6537
6545
  "accounts",
6538
6546
  "chats",
@@ -6688,7 +6696,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
6688
6696
  return recover;
6689
6697
  }, "storeRecoverCommand");
6690
6698
 
6691
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/store-info.js
6699
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/store-info.js
6692
6700
  var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
6693
6701
  var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
6694
6702
  var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
@@ -6734,7 +6742,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
6734
6742
  renderAnswer(this, outputFor(this), itemOf(answer));
6735
6743
  }), "storeInfoCommand");
6736
6744
 
6737
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
6745
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
6738
6746
  var ENCRYPT_OPTION = [
6739
6747
  "--encrypt",
6740
6748
  "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"
@@ -6753,7 +6761,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
6753
6761
  return password;
6754
6762
  }, "passwordOf");
6755
6763
 
6756
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/replies/rules.js
6764
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/replies/rules.js
6757
6765
  import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
6758
6766
  import { join as join2 } from "node:path";
6759
6767
  var REPLY_ACTIONS = ["reply", "task"];
@@ -6924,7 +6932,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
6924
6932
  }, "problem");
6925
6933
  var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
6926
6934
 
6927
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/replies/state.js
6935
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/replies/state.js
6928
6936
  import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
6929
6937
  import { join as join3 } from "node:path";
6930
6938
  var ANSWERED_KEPT = 1e3;
@@ -6977,7 +6985,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
6977
6985
  }, "recordReply");
6978
6986
  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");
6979
6987
 
6980
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/replies/decide.js
6988
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/replies/decide.js
6981
6989
  var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
6982
6990
  var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
6983
6991
  const { message, chat, owner, sender } = incoming;
@@ -7083,10 +7091,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
7083
7091
  return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
7084
7092
  }, "filled");
7085
7093
 
7086
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/replies/template.js
7094
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/replies/template.js
7087
7095
  var import_liquidjs2 = __toESM(require_liquid_node(), 1);
7088
7096
 
7089
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/render/liquid.js
7097
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/render/liquid.js
7090
7098
  var import_liquidjs = __toESM(require_liquid_node(), 1);
7091
7099
  var safeLiquid = /* @__PURE__ */ __name((limits) => {
7092
7100
  const engine = new import_liquidjs.Liquid({
@@ -7113,7 +7121,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
7113
7121
  return engine;
7114
7122
  }, "safeLiquid");
7115
7123
 
7116
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/replies/template.js
7124
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/replies/template.js
7117
7125
  var TEMPLATE_LIMITS = {
7118
7126
  parse: 32768,
7119
7127
  renders: 2e3,
@@ -7252,7 +7260,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
7252
7260
  }
7253
7261
  }, "renderReplyTemplate");
7254
7262
 
7255
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
7263
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
7256
7264
  var DRY_RUN_DAYS = 7;
7257
7265
  var PAGE = 500;
7258
7266
  var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
@@ -7366,7 +7374,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
7366
7374
  }
7367
7375
  }, "storedSince");
7368
7376
 
7369
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/models/ai.js
7377
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/models/ai.js
7370
7378
  var AI_PROVIDERS = ["anthropic", "openai", "ollama"];
7371
7379
  var DEFAULT_BASE_URL = {
7372
7380
  anthropic: "https://api.anthropic.com",
@@ -7516,7 +7524,7 @@ var checkAi = /* @__PURE__ */ __name(async (deps) => {
7516
7524
  }
7517
7525
  }, "checkAi");
7518
7526
 
7519
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/models/purpose.js
7527
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/models/purpose.js
7520
7528
  var HOSTED = {
7521
7529
  openai: "https://api.openai.com/v1",
7522
7530
  anthropic: "https://api.anthropic.com"
@@ -7537,7 +7545,7 @@ var purposeModel = /* @__PURE__ */ __name((settings, purpose, deps) => {
7537
7545
  return shared ? { target: shared.target, key: /* @__PURE__ */ __name(() => shared.key, "key"), shared: shared.setting } : void 0;
7538
7546
  }, "purposeModel");
7539
7547
 
7540
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/replies/consents.js
7548
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/replies/consents.js
7541
7549
  import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
7542
7550
  import { join as join4 } from "node:path";
7543
7551
  var shape = strictObject({
@@ -7562,7 +7570,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
7562
7570
  return consent.provider === provider && !consent.deniedChats.includes(chat);
7563
7571
  }, "mayModelReply");
7564
7572
 
7565
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/replies/rendering.js
7573
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/replies/rendering.js
7566
7574
  var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options = {
7567
7575
  ai: true
7568
7576
  }) => async (rule2, message, chat, now) => {
@@ -7610,7 +7618,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
7610
7618
  return result2;
7611
7619
  }, "replyRenderer");
7612
7620
 
7613
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/replies/serve.js
7621
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/replies/serve.js
7614
7622
  var NOT_ALLOWED = "replies.send is not allow";
7615
7623
  var NO_RULES = "no rules";
7616
7624
  var ONLY_TASK = "opened a task, sent nothing";
@@ -7703,7 +7711,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
7703
7711
  return { skip: why };
7704
7712
  }, "replyTo");
7705
7713
 
7706
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
7714
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
7707
7715
  var START_SYNC_DELAY_MS = 3e4;
7708
7716
  var START_SYNC_BUDGET_MS = 5 * 6e4;
7709
7717
  var START_SYNC_WINDOW_MS = 7 * 864e5;
@@ -7780,7 +7788,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch, note, warn,
7780
7788
  };
7781
7789
  }, "startSync");
7782
7790
 
7783
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
7791
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
7784
7792
  var FIRST_FETCH_MS = 6e4;
7785
7793
  var DAY_MS = 864e5;
7786
7794
  var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
@@ -7834,7 +7842,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs =
7834
7842
  };
7835
7843
  }, "memberFetches");
7836
7844
 
7837
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
7845
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
7838
7846
  var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
7839
7847
  var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
7840
7848
  if (context.format === "pretty") {
@@ -7867,7 +7875,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
7867
7875
  return context;
7868
7876
  }, "recordDiagnostics");
7869
7877
 
7870
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
7878
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
7871
7879
  import { existsSync as existsSync8, readFileSync as readFileSync5, realpathSync as realpathSync2 } from "node:fs";
7872
7880
  import { dirname as dirname2, join as join5 } from "node:path";
7873
7881
  var OUTDATED_CHECK_MS = 6e4;
@@ -7953,7 +7961,7 @@ var watchOutdated = /* @__PURE__ */ __name(({ check: check2, onOutdated, everyMs
7953
7961
  };
7954
7962
  }, "watchOutdated");
7955
7963
 
7956
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7964
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7957
7965
  var STEMS_EVERY_MS = 3e4;
7958
7966
  var STEMS_SLICE_MS = 2e3;
7959
7967
  var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
@@ -7993,7 +8001,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
7993
8001
  };
7994
8002
  }, "stemFills");
7995
8003
 
7996
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
8004
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
7997
8005
  var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
7998
8006
  var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
7999
8007
  kind: attachment.kind,
@@ -8089,7 +8097,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
8089
8097
  locale: messenger.app.locale
8090
8098
  }), "viewOf");
8091
8099
 
8092
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
8100
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
8093
8101
  var observed = /* @__PURE__ */ __name((value) => ({
8094
8102
  value: value.value,
8095
8103
  observed_at: value.observedAt,
@@ -8156,7 +8164,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
8156
8164
  }
8157
8165
  }, "watchEventItem");
8158
8166
 
8159
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
8167
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
8160
8168
  var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
8161
8169
  output: { entity: "watch_item" },
8162
8170
  effects: REMOTE_READ,
@@ -8311,7 +8319,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
8311
8319
  }
8312
8320
  }, "describe");
8313
8321
 
8314
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
8322
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
8315
8323
  var serveCommand = /* @__PURE__ */ __name((messenger) => {
8316
8324
  const command = annotate(new Command("serve"), {
8317
8325
  output: { entity: "serve_summary" },
@@ -8597,7 +8605,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
8597
8605
  };
8598
8606
  }, "tasking");
8599
8607
 
8600
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
8608
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
8601
8609
  import { existsSync as existsSync9 } from "node:fs";
8602
8610
  var PATH = "store tables list";
8603
8611
  var STORE_TABLES_QUERY = {
@@ -8640,7 +8648,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((owner) => {
8640
8648
  return tables;
8641
8649
  }, "storeTablesCommand");
8642
8650
 
8643
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
8651
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
8644
8652
  var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
8645
8653
  var WORD_INDEX = "message_words";
8646
8654
  var schemaOf = /* @__PURE__ */ __name((database) => {
@@ -8883,7 +8891,8 @@ var inspect = /* @__PURE__ */ __name((path) => reading(path, (database) => {
8883
8891
  ...wordIndex ? [[WORD_INDEX, indexIntegrity(database, WORD_INDEX, 0)]] : [],
8884
8892
  ...stems ? [["message_stems", indexIntegrity(database, "message_stems", 0)]] : [],
8885
8893
  ...schema.version > 0 ? [["attachment_words", indexIntegrity(database, "attachment_words", 0)]] : [],
8886
- ...schema.version >= 68 ? [["crm_file_words", indexIntegrity(database, "crm_file_words", 0)]] : []
8894
+ ...schema.version >= 68 ? [["crm_file_words", indexIntegrity(database, "crm_file_words", 0)]] : [],
8895
+ ...schema.version >= 70 ? [["tracker_item_words", indexIntegrity(database, "tracker_item_words", 0)]] : []
8887
8896
  ]);
8888
8897
  const size = bytesOf2(path) + bytesOf2(`${path}-wal`);
8889
8898
  const { bavail, bsize } = statfsSync2(dirname3(path));
@@ -9051,7 +9060,7 @@ var reindexCommand = /* @__PURE__ */ __name((owner) => destroysNothing(annotate(
9051
9060
  throw new CliError("validation_error", `the store is behind this build \u2014 \`${lineOf(this, "store migrate")}\` first`);
9052
9061
  }
9053
9062
  resetSearchIndex(database);
9054
- const fileTexts = resetAttachmentWords(database) + resetCrmFileWords(database);
9063
+ const fileTexts = resetAttachmentWords(database) + resetCrmFileWords(database) + resetTrackerItemWords(database);
9055
9064
  const words = buildWordIndex(database, (note) => renderer.note(note));
9056
9065
  return {
9057
9066
  path,
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
 
4
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/monthly.js
4
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/monthly.js
5
5
  import { dirname, join } from "node:path";
6
6
  import { fileURLToPath } from "node:url";
7
7
  var CI_PAGE = join(dirname(fileURLToPath(new URL("standards/monthly.js", import.meta.resolve("@wirecat/cli-base")).href)), "../../docs/standards/ci.md");
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError,
5
5
  errorCodes
6
- } from "./chunk-DB2XKHI4.js";
6
+ } from "./chunk-BUGROVF3.js";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-ZVVMGPBJ.js";
10
10
 
11
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/errors/failures.js
11
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/errors/failures.js
12
12
  var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
13
13
  var isCommanderFailure = /* @__PURE__ */ __name((value) => {
14
14
  const { code, exitCode } = value ?? {};
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  formatMeetingReference
5
- } from "./chunk-5K7QLJMM.js";
5
+ } from "./chunk-LT5KE44Q.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-DB2XKHI4.js";
8
+ } from "./chunk-BUGROVF3.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/services/meeting-semantic.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/services/meeting-semantic.js
14
14
  var positive = /* @__PURE__ */ __name((value, name, max) => {
15
15
  if (!Number.isSafeInteger(value) || value < 1 || value > max)
16
16
  throw new CliError("validation_error", `Invalid ${name}`);
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSharedSection,
5
5
  writeSharedSection
6
- } from "./chunk-TI46WQXQ.js";
6
+ } from "./chunk-4DNHXRCJ.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-DB2XKHI4.js";
9
+ } from "./chunk-BUGROVF3.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
15
15
  var PERMISSION_ANSWERS = ["readonly", "allow"];
16
16
  var QUESTIONS = ["languages", "tools", "permissions"];
17
17
  var SECTION = "setup";
@@ -6,21 +6,21 @@ import {
6
6
  answerSchema,
7
7
  describeOptions,
8
8
  metaOf
9
- } from "./chunk-7ELMWE3P.js";
9
+ } from "./chunk-PHXOL5HZ.js";
10
10
  import {
11
11
  keyForCommand
12
- } from "./chunk-2VGD63G6.js";
12
+ } from "./chunk-3TEFE6YU.js";
13
13
  import {
14
14
  jsonSchemaOf
15
- } from "./chunk-TOSCB4SO.js";
15
+ } from "./chunk-J5P5VSRG.js";
16
16
  import {
17
17
  CliError
18
- } from "./chunk-DB2XKHI4.js";
18
+ } from "./chunk-BUGROVF3.js";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-ZVVMGPBJ.js";
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
24
24
  var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
25
25
  var outputOf = /* @__PURE__ */ __name((command) => {
26
26
  const entity = answerEntitySchema(command);