@wirecat/notion-cli 0.6.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (259) hide show
  1. package/CHANGELOG.md +70 -0
  2. package/README.md +20 -3
  3. package/contracts/wirecat.json +238 -2
  4. package/dist/bin/notion.js +2 -2
  5. package/dist/bundle/agent-FDS2ENXJ.js +42 -0
  6. package/dist/bundle/{all-profiles-AELHUTFU.js → all-profiles-MIGUJ6UM.js} +11 -11
  7. package/dist/bundle/{anthropic-3CCYAGO3.js → anthropic-ZTYBZ7PI.js} +5 -5
  8. package/dist/bundle/{app-server-DJ6P4NY4.js → app-server-MGXJZOJ2.js} +72 -72
  9. package/dist/bundle/{bun-2FLR4IV4.js → bun-NS5YLOQT.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-QB6CU6TH.js → bun-sqlite-EKMD3TXK.js} +6 -6
  11. package/dist/bundle/{chunk-GUIQJUJV.js → chunk-2BPQNFA5.js} +6 -6
  12. package/dist/bundle/{chunk-RD7BKTWV.js → chunk-2Q5ATPA6.js} +4 -4
  13. package/dist/bundle/{chunk-DHVVXQEL.js → chunk-2T76TPDD.js} +3 -3
  14. package/dist/bundle/{chunk-CFQQTDSA.js → chunk-2TVHFJKV.js} +1 -1
  15. package/dist/bundle/{chunk-IURYZSG3.js → chunk-2XWVZDOM.js} +12 -12
  16. package/dist/bundle/{chunk-OEQNP56V.js → chunk-43PCMVTZ.js} +1 -1
  17. package/dist/bundle/{chunk-WGZH2M64.js → chunk-53UXHJEO.js} +16 -3
  18. package/dist/bundle/{chunk-KB35BVTG.js → chunk-5KL3PQWI.js} +2 -2
  19. package/dist/bundle/{chunk-A42T4YX7.js → chunk-5QCPDJLB.js} +2 -2
  20. package/dist/bundle/{chunk-PHKED7AG.js → chunk-64KVWK5N.js} +5 -5
  21. package/dist/bundle/{chunk-QGGRFRMP.js → chunk-66M7VFIM.js} +38 -38
  22. package/dist/bundle/{chunk-EHW45LLT.js → chunk-6BOEXO72.js} +3 -3
  23. package/dist/bundle/{chunk-QEJFBORC.js → chunk-6P7HUUR5.js} +3 -3
  24. package/dist/bundle/{chunk-P27NDZQR.js → chunk-77727OQH.js} +214 -158
  25. package/dist/bundle/{chunk-BEV5LO4D.js → chunk-7KNBZOLH.js} +13 -13
  26. package/dist/bundle/{chunk-FMMYBVCH.js → chunk-7YPZPJTB.js} +1 -1
  27. package/dist/bundle/{chunk-CHPWBQUK.js → chunk-A5PL2GYK.js} +1 -1
  28. package/dist/bundle/{chunk-2Z7UOXFC.js → chunk-AG34MPVN.js} +1 -1
  29. package/dist/bundle/{chunk-STTO2MSY.js → chunk-BCO37YUH.js} +327 -6
  30. package/dist/bundle/{chunk-CL3YNUCC.js → chunk-COF6KS7A.js} +6 -6
  31. package/dist/bundle/{chunk-YDDI4QIT.js → chunk-CWTTCFDX.js} +1182 -669
  32. package/dist/bundle/{chunk-T37TAXVL.js → chunk-D2IVASIC.js} +2 -2
  33. package/dist/bundle/{chunk-5OJLUUOJ.js → chunk-D3G375NT.js} +6 -6
  34. package/dist/bundle/{chunk-3MYN2RMG.js → chunk-DGZNVYKK.js} +8 -8
  35. package/dist/bundle/{chunk-LC6WE6JS.js → chunk-DLEAVO2T.js} +14 -7
  36. package/dist/bundle/{chunk-KGAUINBO.js → chunk-DW6YAEMZ.js} +10 -10
  37. package/dist/bundle/{chunk-WB2KSQIP.js → chunk-E4FNVLTR.js} +39 -6
  38. package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-E5EYJU5R.js} +1 -1
  39. package/dist/bundle/{chunk-3LMW7U7F.js → chunk-E5XATHAF.js} +21 -8
  40. package/dist/bundle/{chunk-3UX4VJWD.js → chunk-EXHTGQR2.js} +3 -4
  41. package/dist/bundle/{chunk-JFSVAOA7.js → chunk-EZAVBR47.js} +2 -2
  42. package/dist/bundle/{chunk-HOVHE3A3.js → chunk-F7DHR4OO.js} +7 -7
  43. package/dist/bundle/{chunk-HM6AMYHR.js → chunk-FGWQHNKK.js} +2 -2
  44. package/dist/bundle/{chunk-DGMTSDKB.js → chunk-FSWLPNJT.js} +5 -5
  45. package/dist/bundle/{chunk-F5ZAN7OC.js → chunk-GFI3UUIU.js} +1 -1
  46. package/dist/bundle/{chunk-4RFR4J2O.js → chunk-GGNVBN2S.js} +2 -2
  47. package/dist/bundle/{chunk-UOC52GCB.js → chunk-GPFE4SS7.js} +4 -4
  48. package/dist/bundle/{chunk-ESZHGC4Q.js → chunk-H76WEF2L.js} +6 -6
  49. package/dist/bundle/{chunk-LECMHK2F.js → chunk-HPS2YGSZ.js} +1 -1
  50. package/dist/bundle/{chunk-LQVDFD65.js → chunk-HZ5LRWKH.js} +2 -2
  51. package/dist/bundle/{chunk-SEAGUFBX.js → chunk-I5OAVMOI.js} +12 -12
  52. package/dist/bundle/{chunk-TFT4FVRU.js → chunk-I62MWK5L.js} +14 -2
  53. package/dist/bundle/{chunk-WAGADES3.js → chunk-IBFCD6TR.js} +17 -17
  54. package/dist/bundle/{chunk-7L2XOKDZ.js → chunk-IL3UYHCR.js} +8 -8
  55. package/dist/bundle/{chunk-T6XIBULH.js → chunk-J4CXJJJU.js} +132 -32
  56. package/dist/bundle/{chunk-RXU5T5NM.js → chunk-JRZEXLRQ.js} +13 -12
  57. package/dist/bundle/{chunk-IJVTN5L3.js → chunk-KDPV6YBX.js} +2 -2
  58. package/dist/bundle/{chunk-BAXNAOOL.js → chunk-KHEISFJO.js} +3 -3
  59. package/dist/bundle/{chunk-GPRJXJC7.js → chunk-KI6OOW6D.js} +22 -1
  60. package/dist/bundle/{chunk-HVXOA4FO.js → chunk-KPBUJQKT.js} +1 -1
  61. package/dist/bundle/{chunk-FRB2L7OE.js → chunk-LEO5GWPD.js} +3 -3
  62. package/dist/bundle/{chunk-BQBC2WIG.js → chunk-LKUWH6KU.js} +1 -1
  63. package/dist/bundle/{chunk-AE4VW4NB.js → chunk-LYJDZILD.js} +3 -3
  64. package/dist/bundle/{chunk-NSR43UEW.js → chunk-M27SMKNH.js} +5 -5
  65. package/dist/bundle/{chunk-K5IC4FZN.js → chunk-MA6U4XH2.js} +1 -1
  66. package/dist/bundle/{chunk-2XUV7HNE.js → chunk-MC3LAGIW.js} +2 -2
  67. package/dist/bundle/{chunk-YUDVRFXN.js → chunk-MGC2BAD2.js} +1 -1
  68. package/dist/bundle/{chunk-KNCPBX5P.js → chunk-MLXDGBH4.js} +19 -19
  69. package/dist/bundle/{chunk-WAU5LSHP.js → chunk-NQA2STEE.js} +113 -13
  70. package/dist/bundle/{chunk-6EJCI47L.js → chunk-NSBTYJRP.js} +4 -4
  71. package/dist/bundle/{chunk-5XPHFV7H.js → chunk-NSQN4F7H.js} +8 -8
  72. package/dist/bundle/{chunk-YXYZAWWW.js → chunk-NVXMWAEV.js} +6 -6
  73. package/dist/bundle/{chunk-EZMG5QXB.js → chunk-OZAP4FEG.js} +8 -8
  74. package/dist/bundle/{chunk-2CMLY2X3.js → chunk-OZZ5PTHG.js} +5 -5
  75. package/dist/bundle/{chunk-6YOMPW7Y.js → chunk-P4ADIGTL.js} +8 -8
  76. package/dist/bundle/{chunk-DIU2QJJF.js → chunk-PVTW7ZOY.js} +23 -23
  77. package/dist/bundle/{chunk-4VXXOJ2F.js → chunk-Q5PNS2K2.js} +3 -3
  78. package/dist/bundle/{chunk-ERN53B3Z.js → chunk-QQP54EEZ.js} +29 -178
  79. package/dist/bundle/{chunk-XYQVVW4R.js → chunk-RM4DO2WZ.js} +1 -1
  80. package/dist/bundle/{chunk-GCAJW4SR.js → chunk-S3SLDYTU.js} +1 -1
  81. package/dist/bundle/{chunk-JVESLS7B.js → chunk-S5NFSVNK.js} +63 -63
  82. package/dist/bundle/{chunk-Q7EIL6VU.js → chunk-UE7ST7JC.js} +30 -30
  83. package/dist/bundle/{chunk-SAPP2LEH.js → chunk-ULTKZLJV.js} +7 -7
  84. package/dist/bundle/{chunk-G4ZU73SD.js → chunk-VJ5EF4C7.js} +76 -61
  85. package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-WBVZVP4T.js} +4 -4
  86. package/dist/bundle/{chunk-AZLDR36U.js → chunk-WDL3QYN2.js} +3 -3
  87. package/dist/bundle/{chunk-FV4WTZCU.js → chunk-WPNY2J2X.js} +16 -16
  88. package/dist/bundle/{chunk-YYQ5GKAI.js → chunk-XRA2V4MM.js} +1886 -860
  89. package/dist/bundle/{chunk-VH7526NL.js → chunk-Y6KPZOOD.js} +3 -3
  90. package/dist/bundle/{chunk-ZDYEOE7L.js → chunk-YAYVXHMO.js} +48 -48
  91. package/dist/bundle/{chunk-W2VQDIU5.js → chunk-YG2FFC2R.js} +9 -9
  92. package/dist/bundle/{chunk-HHEWTLAT.js → chunk-YOZHKJEN.js} +2 -2
  93. package/dist/bundle/{chunk-KZJQPJK5.js → chunk-ZKD3TL3O.js} +4 -4
  94. package/dist/bundle/command-contract-ZGBZCKZP.js +41 -0
  95. package/dist/bundle/{command-server-entry-VUR6WL77.js → command-server-entry-ZXB7VUIG.js} +29 -29
  96. package/dist/bundle/{decode-I64PF2RM.js → decode-BGLAM2YP.js} +5 -5
  97. package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-A3WIRXBM.js} +8 -8
  98. package/dist/bundle/{echarts-YRRVLEX3.js → echarts-ISH62J4E.js} +2 -2
  99. package/dist/bundle/{embed-BLXLKMK2.js → embed-POZWSFKL.js} +6 -6
  100. package/dist/bundle/{embedder-JYGF6R7I.js → embedder-7DIUHQOQ.js} +9 -9
  101. package/dist/bundle/{failure-I6AAF5R5.js → failure-BBT3B4UY.js} +2 -2
  102. package/dist/bundle/{first-run-YLDOZGY6.js → first-run-SLMRAWYB.js} +12 -12
  103. package/dist/bundle/first-screen-CCLGBTQ2.js +41 -0
  104. package/dist/bundle/{instructions-AG7SRWTR.js → instructions-G5ZGHVFB.js} +1 -1
  105. package/dist/bundle/{mcp-YGOAUNC3.js → mcp-MQ2L5IIM.js} +2 -2
  106. package/dist/bundle/meeting-combined-P56K6BUT.js +25 -0
  107. package/dist/bundle/meeting-model-UY4ABXAZ.js +27 -0
  108. package/dist/bundle/{meeting-semantic-3DZPHM7L.js → meeting-semantic-VPMFO4FB.js} +6 -6
  109. package/dist/bundle/{node-GJQYN4FT.js → node-NLJINXVQ.js} +2 -2
  110. package/dist/bundle/{node-sqlite-7VXIRQPH.js → node-sqlite-LPV27ECD.js} +7 -7
  111. package/dist/bundle/notes-search-TKP34WJZ.js +64 -0
  112. package/dist/bundle/notion.js +13 -13
  113. package/dist/bundle/{oauth-N67CH2TK.js → oauth-SC4HSJ7X.js} +7 -7
  114. package/dist/bundle/{open-JGXVHIKO.js → open-K2JIOWCG.js} +5 -5
  115. package/dist/bundle/{openai-PFQJTF4H.js → openai-MCKQLBZM.js} +18 -18
  116. package/dist/bundle/{process-MEKCZMX3.js → process-LPVAYRO7.js} +1 -1
  117. package/dist/bundle/{program-DUJYLJH5.js → program-QXA6YXUO.js} +11870 -8637
  118. package/dist/bundle/{prompt-FW44QDHD.js → prompt-XWESMSOG.js} +5 -5
  119. package/dist/bundle/{recognize-62TDQ6A7.js → recognize-TDE6PPXV.js} +4 -4
  120. package/dist/bundle/{remote-7ONFD7GG.js → remote-OAGPQQVE.js} +11 -11
  121. package/dist/bundle/{rerank-YOHQQJS4.js → rerank-375AKI4E.js} +7 -7
  122. package/dist/bundle/{schemas-IIGJ7DOP.js → schemas-ZE62D6CG.js} +1 -1
  123. package/dist/bundle/{serve-ZCXGT5RB.js → serve-YWCHKQEP.js} +9 -9
  124. package/dist/bundle/{server-RQ74M637.js → server-C4SH5PRK.js} +64 -64
  125. package/dist/bundle/server-SYGVF5BJ.js +90 -0
  126. package/dist/bundle/{services-FWBRZ57M.js → services-5Z2P4D2K.js} +51 -51
  127. package/dist/bundle/{sqlite-runtime-ZZBNGV5L.js → sqlite-runtime-KLELNUHI.js} +6 -6
  128. package/dist/bundle/{state-GDDFO62Y.js → state-OWEBLXCG.js} +6 -6
  129. package/dist/bundle/{store-D2LRIWEI.js → store-F63SKKV7.js} +27 -23
  130. package/dist/bundle/{store-KQCLR57N.js → store-IVJXGAX7.js} +21 -21
  131. package/dist/bundle/store-maintenance-command-YBMOO7XH.js +77 -0
  132. package/dist/bundle/surface-G3ITURGS.js +76 -0
  133. package/dist/commands/api.d.ts.map +1 -1
  134. package/dist/commands/api.js +3 -25
  135. package/dist/commands/api.js.map +1 -1
  136. package/dist/commands/comments.d.ts +1 -1
  137. package/dist/commands/comments.d.ts.map +1 -1
  138. package/dist/commands/comments.js +33 -2
  139. package/dist/commands/comments.js.map +1 -1
  140. package/dist/commands/databases.d.ts.map +1 -1
  141. package/dist/commands/databases.js +3 -2
  142. package/dist/commands/databases.js.map +1 -1
  143. package/dist/commands/documents.d.ts +13 -2
  144. package/dist/commands/documents.d.ts.map +1 -1
  145. package/dist/commands/documents.js +291 -23
  146. package/dist/commands/documents.js.map +1 -1
  147. package/dist/commands/library.d.ts.map +1 -1
  148. package/dist/commands/library.js +20 -10
  149. package/dist/commands/library.js.map +1 -1
  150. package/dist/commands/meetings.d.ts +7 -0
  151. package/dist/commands/meetings.d.ts.map +1 -0
  152. package/dist/commands/meetings.js +136 -0
  153. package/dist/commands/meetings.js.map +1 -0
  154. package/dist/commands/rows.d.ts +4 -0
  155. package/dist/commands/rows.d.ts.map +1 -0
  156. package/dist/commands/rows.js +51 -0
  157. package/dist/commands/rows.js.map +1 -0
  158. package/dist/commands/writing.d.ts +2 -1
  159. package/dist/commands/writing.d.ts.map +1 -1
  160. package/dist/commands/writing.js +2 -2
  161. package/dist/commands/writing.js.map +1 -1
  162. package/dist/config.d.ts.map +1 -1
  163. package/dist/config.js +12 -2
  164. package/dist/config.js.map +1 -1
  165. package/dist/context.d.ts +13 -3
  166. package/dist/context.d.ts.map +1 -1
  167. package/dist/context.js +22 -7
  168. package/dist/context.js.map +1 -1
  169. package/dist/generated/wirecat-config.d.ts +13 -0
  170. package/dist/generated/wirecat-config.d.ts.map +1 -0
  171. package/dist/generated/wirecat-config.js +90 -0
  172. package/dist/generated/wirecat-config.js.map +1 -0
  173. package/dist/knowledge.d.ts +18 -1
  174. package/dist/knowledge.d.ts.map +1 -1
  175. package/dist/library.d.ts +4 -5
  176. package/dist/library.d.ts.map +1 -1
  177. package/dist/library.js +11 -14
  178. package/dist/library.js.map +1 -1
  179. package/dist/notion/client.d.ts +2 -6
  180. package/dist/notion/client.d.ts.map +1 -1
  181. package/dist/notion/client.js +7 -8
  182. package/dist/notion/client.js.map +1 -1
  183. package/dist/notion/errors.d.ts +5 -0
  184. package/dist/notion/errors.d.ts.map +1 -1
  185. package/dist/notion/errors.js +40 -1
  186. package/dist/notion/errors.js.map +1 -1
  187. package/dist/notion/meeting-notes.d.ts +10 -0
  188. package/dist/notion/meeting-notes.d.ts.map +1 -0
  189. package/dist/notion/meeting-notes.js +196 -0
  190. package/dist/notion/meeting-notes.js.map +1 -0
  191. package/dist/notion/notion.d.ts +46 -0
  192. package/dist/notion/notion.d.ts.map +1 -1
  193. package/dist/notion/notion.js +105 -14
  194. package/dist/notion/notion.js.map +1 -1
  195. package/dist/notion/page-target.d.ts +30 -0
  196. package/dist/notion/page-target.d.ts.map +1 -0
  197. package/dist/notion/page-target.js +73 -0
  198. package/dist/notion/page-target.js.map +1 -0
  199. package/dist/notion/port.d.ts +10 -0
  200. package/dist/notion/port.d.ts.map +1 -1
  201. package/dist/notion/port.js +21 -0
  202. package/dist/notion/port.js.map +1 -1
  203. package/dist/notion/properties.d.ts +55 -0
  204. package/dist/notion/properties.d.ts.map +1 -0
  205. package/dist/notion/properties.js +280 -0
  206. package/dist/notion/properties.js.map +1 -0
  207. package/dist/notion/reads.d.ts +19 -1
  208. package/dist/notion/reads.d.ts.map +1 -1
  209. package/dist/notion/reads.js +2 -1
  210. package/dist/notion/reads.js.map +1 -1
  211. package/dist/notion/rows.d.ts +14 -0
  212. package/dist/notion/rows.d.ts.map +1 -0
  213. package/dist/notion/rows.js +119 -0
  214. package/dist/notion/rows.js.map +1 -0
  215. package/dist/notion/writes.d.ts +99 -0
  216. package/dist/notion/writes.d.ts.map +1 -1
  217. package/dist/notion/writes.js +278 -67
  218. package/dist/notion/writes.js.map +1 -1
  219. package/dist/program.d.ts.map +1 -1
  220. package/dist/program.js +7 -1
  221. package/dist/program.js.map +1 -1
  222. package/dist/sync/comments.d.ts +12 -0
  223. package/dist/sync/comments.d.ts.map +1 -0
  224. package/dist/sync/comments.js +47 -0
  225. package/dist/sync/comments.js.map +1 -0
  226. package/dist/sync/files.d.ts +10 -4
  227. package/dist/sync/files.d.ts.map +1 -1
  228. package/dist/sync/files.js.map +1 -1
  229. package/dist/sync/from-config.d.ts +13 -0
  230. package/dist/sync/from-config.d.ts.map +1 -0
  231. package/dist/sync/from-config.js +33 -0
  232. package/dist/sync/from-config.js.map +1 -0
  233. package/dist/sync/source.d.ts +2 -1
  234. package/dist/sync/source.d.ts.map +1 -1
  235. package/dist/sync/source.js +25 -29
  236. package/dist/sync/source.js.map +1 -1
  237. package/dist/sync/users.d.ts +1 -11
  238. package/dist/sync/users.d.ts.map +1 -1
  239. package/dist/sync/users.js +0 -33
  240. package/dist/sync/users.js.map +1 -1
  241. package/dist/version.d.ts +1 -1
  242. package/dist/version.js +1 -1
  243. package/package.json +7 -7
  244. package/skills/notion-cli/SKILL.md +29 -3
  245. package/dist/bundle/agent-ILG6AH7S.js +0 -42
  246. package/dist/bundle/command-contract-L2FASWD6.js +0 -41
  247. package/dist/bundle/first-screen-GZH3LMLZ.js +0 -41
  248. package/dist/bundle/meeting-combined-OFQSGKBG.js +0 -25
  249. package/dist/bundle/meeting-model-K6NSX3O5.js +0 -27
  250. package/dist/bundle/notes-search-ACDOPTNH.js +0 -64
  251. package/dist/bundle/server-XMZF57WM.js +0 -90
  252. package/dist/bundle/store-maintenance-command-CK2MU5M6.js +0 -77
  253. package/dist/bundle/surface-K4TPIQW7.js +0 -76
  254. package/dist/bundle/{hast-util-from-html-X2DCPS3T.js → hast-util-from-html-237ZT4C7.js} +3 -3
  255. package/dist/bundle/{hast-util-to-mdast-3CSMIWK2.js → hast-util-to-mdast-H5COQ6HJ.js} +6 -6
  256. package/dist/bundle/{mdast-util-gfm-JO7PHUIB.js → mdast-util-gfm-M3K5BNY2.js} +16 -16
  257. package/dist/bundle/{mdast-util-to-hast-AYJV7KAE.js → mdast-util-to-hast-TSB5MAAV.js} +1 -1
  258. package/dist/bundle/{mdast-util-to-markdown-DOXGHRI7.js → mdast-util-to-markdown-SG6455IT.js} +10 -10
  259. package/dist/bundle/{micromark-extension-gfm-PQ7DWZM7.js → micromark-extension-gfm-7SUOOQ3A.js} +3 -3
@@ -9,10 +9,10 @@ import {
9
9
  providerErrorKey,
10
10
  renderEvent,
11
11
  runContextOf
12
- } from "./chunk-6YOMPW7Y.js";
12
+ } from "./chunk-P4ADIGTL.js";
13
13
  import {
14
14
  permissionCeiling
15
- } from "./chunk-QEJFBORC.js";
15
+ } from "./chunk-6P7HUUR5.js";
16
16
  import {
17
17
  IMAGE_MODELS,
18
18
  ancestorValue,
@@ -24,17 +24,17 @@ import {
24
24
  runBudget,
25
25
  stopWrites,
26
26
  withWriteScope
27
- } from "./chunk-3MYN2RMG.js";
27
+ } from "./chunk-DGZNVYKK.js";
28
28
  import {
29
29
  DEFAULT_RERANK_MODEL,
30
30
  RERANK_MODELS
31
- } from "./chunk-DGMTSDKB.js";
31
+ } from "./chunk-FSWLPNJT.js";
32
32
  import {
33
33
  carries
34
- } from "./chunk-YUDVRFXN.js";
34
+ } from "./chunk-MGC2BAD2.js";
35
35
  import {
36
36
  note
37
- } from "./chunk-DHVVXQEL.js";
37
+ } from "./chunk-2T76TPDD.js";
38
38
  import {
39
39
  BUSINESS_KINDS,
40
40
  CATEGORIES,
@@ -76,7 +76,7 @@ import {
76
76
  text,
77
77
  time,
78
78
  untrusted
79
- } from "./chunk-DIU2QJJF.js";
79
+ } from "./chunk-PVTW7ZOY.js";
80
80
  import {
81
81
  KEEP_STORE_RUNS_FOR_DAYS,
82
82
  KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
@@ -94,14 +94,14 @@ import {
94
94
  traceOf,
95
95
  typedCommand,
96
96
  useAsProcessRun
97
- } from "./chunk-BEV5LO4D.js";
97
+ } from "./chunk-7KNBZOLH.js";
98
98
  import {
99
99
  isCliFailure,
100
100
  storeDamaged
101
- } from "./chunk-LQVDFD65.js";
101
+ } from "./chunk-HZ5LRWKH.js";
102
102
  import {
103
103
  TAG_TYPES
104
- } from "./chunk-T37TAXVL.js";
104
+ } from "./chunk-D2IVASIC.js";
105
105
  import {
106
106
  FACT_TYPES,
107
107
  FIELD_TYPES,
@@ -129,17 +129,17 @@ import {
129
129
  parseLucene,
130
130
  readsZone,
131
131
  timezoneOf
132
- } from "./chunk-JVESLS7B.js";
132
+ } from "./chunk-S5NFSVNK.js";
133
133
  import {
134
134
  endpoint
135
- } from "./chunk-FRB2L7OE.js";
135
+ } from "./chunk-LEO5GWPD.js";
136
136
  import {
137
137
  repairConfigText,
138
138
  sharedConfigPath
139
- } from "./chunk-HOVHE3A3.js";
139
+ } from "./chunk-F7DHR4OO.js";
140
140
  import {
141
141
  storePath
142
- } from "./chunk-HHEWTLAT.js";
142
+ } from "./chunk-YOZHKJEN.js";
143
143
  import {
144
144
  configFilePath,
145
145
  createRecordLog,
@@ -151,7 +151,7 @@ import {
151
151
  resolvePaths,
152
152
  saveConfigFile,
153
153
  writeSecurely
154
- } from "./chunk-KNCPBX5P.js";
154
+ } from "./chunk-MLXDGBH4.js";
155
155
  import {
156
156
  COMPACT_FLAG,
157
157
  MAX_NEXT_STEPS,
@@ -168,7 +168,7 @@ import {
168
168
  reference,
169
169
  stepOf,
170
170
  writes
171
- } from "./chunk-3LMW7U7F.js";
171
+ } from "./chunk-E5XATHAF.js";
172
172
  import {
173
173
  array,
174
174
  boolean,
@@ -209,12 +209,12 @@ import {
209
209
  CliError,
210
210
  singleLine,
211
211
  visibleControls
212
- } from "./chunk-HM6AMYHR.js";
212
+ } from "./chunk-FGWQHNKK.js";
213
213
  import {
214
214
  __name
215
215
  } from "./chunk-ZVVMGPBJ.js";
216
216
 
217
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
217
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
218
218
  var labels = /* @__PURE__ */ new WeakMap();
219
219
  var annotate = /* @__PURE__ */ __name((command, meta) => {
220
220
  labels.set(command, { ...labels.get(command), ...meta });
@@ -3715,7 +3715,7 @@ __name(useColor, "useColor");
3715
3715
  // node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
3716
3716
  var program = new Command();
3717
3717
 
3718
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
3718
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
3719
3719
  var argumentInfoSchema = object({
3720
3720
  name: string(),
3721
3721
  required: boolean(),
@@ -3789,7 +3789,7 @@ var commandsDocumentSchema = strictObject({
3789
3789
  exit_codes: record(string(), pipe(number(), integer()))
3790
3790
  });
3791
3791
 
3792
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
3792
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
3793
3793
  import { isDeepStrictEqual } from "node:util";
3794
3794
  var protectedCommands = /* @__PURE__ */ new WeakMap();
3795
3795
  var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
@@ -3831,6 +3831,30 @@ var assertSharedContracts = /* @__PURE__ */ __name((root) => {
3831
3831
  if (changed.length)
3832
3832
  throw new CliError("configuration_error", `shared contract changed without an explicit override: ${changed.map((one) => `${one.command} (${one.fields.join(", ")})`).join("; ")}; use overrideSharedContract before changing it`, { reason: "contract.unacknowledged-override", contracts: changed });
3833
3833
  }, "assertSharedContracts");
3834
+ var overrideSharedContract = /* @__PURE__ */ __name((command, reason, change) => {
3835
+ if (reason.trim().length < 10)
3836
+ throw new Error("a shared contract override needs a specific reason");
3837
+ const protectedContract = protectedCommands.get(command);
3838
+ if (!protectedContract)
3839
+ throw new Error("only a core-owned command contract can be overridden");
3840
+ assertSharedContracts(command);
3841
+ const before = structuredClone(snapshot(command));
3842
+ change(command);
3843
+ const after = structuredClone(snapshot(command));
3844
+ const fields = differences(before, after);
3845
+ if (fields.length === 0)
3846
+ throw new Error("a shared contract override must change its named command");
3847
+ for (const field of fields)
3848
+ protectedContract.overrides.push({
3849
+ command: pathOf(command),
3850
+ field,
3851
+ before: before[field] ?? null,
3852
+ after: after[field] ?? null,
3853
+ reason: reason.trim()
3854
+ });
3855
+ protectedContract.contract = after;
3856
+ return command;
3857
+ }, "overrideSharedContract");
3834
3858
  var sharedContractOverrides = /* @__PURE__ */ __name((root) => {
3835
3859
  assertSharedContracts(root);
3836
3860
  const result = [];
@@ -3899,7 +3923,7 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
3899
3923
  return result;
3900
3924
  }, "sharedCommand");
3901
3925
 
3902
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
3926
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
3903
3927
  var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3904
3928
  let command = root;
3905
3929
  const path2 = [];
@@ -3917,7 +3941,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3917
3941
  }
3918
3942
  }, "refuseJoinedPath");
3919
3943
 
3920
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/sends/permissions.js
3944
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/sends/permissions.js
3921
3945
  var LEVELS = ["deny", "readonly", "ask", "allow"];
3922
3946
  var DANGEROUS = /* @__PURE__ */ new Set([
3923
3947
  "messages.delete",
@@ -4353,7 +4377,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
4353
4377
  }
4354
4378
  }, "assertRetentionEvidenceRead");
4355
4379
 
4356
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
4380
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
4357
4381
  import { AsyncLocalStorage } from "node:async_hooks";
4358
4382
  var requests = new AsyncLocalStorage();
4359
4383
  var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
@@ -4368,7 +4392,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
4368
4392
  return direct;
4369
4393
  }, "exitCodeSet");
4370
4394
 
4371
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
4395
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
4372
4396
  var named = /* @__PURE__ */ __name((work) => {
4373
4397
  try {
4374
4398
  return work();
@@ -4395,7 +4419,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
4395
4419
  return projectFields(value, fields);
4396
4420
  }), "projectFields");
4397
4421
 
4398
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/execution.js
4422
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/execution.js
4399
4423
  var DEFAULT_COMMAND_MS = 3e4;
4400
4424
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
4401
4425
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -4578,7 +4602,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
4578
4602
  }
4579
4603
  }, "withAbort");
4580
4604
 
4581
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4605
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4582
4606
  import { existsSync, readdirSync, readFileSync } from "node:fs";
4583
4607
  import { join } from "node:path";
4584
4608
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -4600,7 +4624,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
4600
4624
  }, "profilesWithAccounts");
4601
4625
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
4602
4626
 
4603
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/output-detail.js
4627
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/output-detail.js
4604
4628
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
4605
4629
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
4606
4630
  var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
@@ -4636,7 +4660,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
4636
4660
  return value;
4637
4661
  }, "atDetail");
4638
4662
 
4639
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/output.js
4663
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/output.js
4640
4664
  var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
4641
4665
  const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
4642
4666
  if (other)
@@ -4700,7 +4724,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
4700
4724
  }, "warn")
4701
4725
  }), "silence");
4702
4726
 
4703
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4727
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4704
4728
  var CORE_LOG_EVENTS = defineLogEvents([
4705
4729
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
4706
4730
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -4738,7 +4762,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
4738
4762
  progress: "sync.progress"
4739
4763
  };
4740
4764
 
4741
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/runs/recording.js
4765
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/runs/recording.js
4742
4766
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
4743
4767
  const recording = startRecording(options);
4744
4768
  try {
@@ -4953,7 +4977,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
4953
4977
  return void 0;
4954
4978
  }, "partialOutcome");
4955
4979
 
4956
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4980
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4957
4981
  var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
4958
4982
  if (ms2 === void 0)
4959
4983
  return body();
@@ -4979,7 +5003,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
4979
5003
  }
4980
5004
  }, "withDeadline");
4981
5005
 
4982
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/profile.js
5006
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/profile.js
4983
5007
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
4984
5008
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
4985
5009
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -5048,10 +5072,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
5048
5072
  return void 0;
5049
5073
  }, "sampleCommand");
5050
5074
 
5051
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/settings.js
5075
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/settings.js
5052
5076
  import { existsSync as existsSync4 } from "node:fs";
5053
5077
 
5054
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/analysis/settings.js
5078
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/analysis/settings.js
5055
5079
  var model = pipe(string(), trim(), minLength(1), maxLength(200));
5056
5080
  var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
5057
5081
  var AI_FIELDS = {
@@ -5095,7 +5119,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
5095
5119
  };
5096
5120
  }, "resolveAISettings");
5097
5121
 
5098
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/duration.js
5122
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/domain/duration.js
5099
5123
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
5100
5124
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
5101
5125
  var parseDuration = /* @__PURE__ */ __name((value, source2) => {
@@ -5109,7 +5133,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
5109
5133
  return ms2;
5110
5134
  }, "parseDuration");
5111
5135
 
5112
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/services/history-limits.js
5136
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/history-limits.js
5113
5137
  var HISTORY_MAX_DAYS = 1095;
5114
5138
  var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
5115
5139
  var DAY_MS = 24 * 60 * 60 * 1e3;
@@ -5156,7 +5180,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
5156
5180
  return { batch: { ...batch, messages }, skipped };
5157
5181
  }, "limitBatch");
5158
5182
 
5159
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
5183
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
5160
5184
  import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
5161
5185
  import { join as join2 } from "node:path";
5162
5186
  var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
@@ -5245,7 +5269,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
5245
5269
  return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
5246
5270
  }, "registryProfiles");
5247
5271
 
5248
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5272
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5249
5273
  import { readFileSync as readFileSync3 } from "node:fs";
5250
5274
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5251
5275
  var SECTIONS = ["personal", "bot"];
@@ -5448,7 +5472,10 @@ var scopes = /* @__PURE__ */ __name((raw) => {
5448
5472
  return out;
5449
5473
  }, "scopes");
5450
5474
  var savedPermissionKeys = /* @__PURE__ */ __name((raw) => scopes(raw).flatMap(([path2, scope]) => isNode(scope.permissions) ? Object.keys(scope.permissions).map((key) => ({ key, at: [...path2, "permissions", key] })) : []), "savedPermissionKeys");
5451
- var permissionIssues = /* @__PURE__ */ __name((saved, known, context2) => saved.filter(({ key }) => !known.has(key)).map(({ at: at2 }) => locate("unknown_permission", at2, context2, (key) => `${key} names no command`)), "permissionIssues");
5475
+ var permissionIssues = /* @__PURE__ */ __name((saved, known, context2, renamed = /* @__PURE__ */ new Map()) => saved.filter(({ key }) => !known.has(key)).map(({ key: name, at: at2 }) => locate("unknown_permission", at2, context2, (key) => {
5476
+ const now = renamed.get(name);
5477
+ return now === void 0 ? `${key} names no command` : `${key} names no command: its command moved, so rename it to permissions.${now}`;
5478
+ })), "permissionIssues");
5452
5479
  var pathId = /* @__PURE__ */ __name((path2) => path2.join("\0"), "pathId");
5453
5480
  var prune = /* @__PURE__ */ __name((raw, paths) => {
5454
5481
  const drop = new Set(paths.map(pathId));
@@ -5540,7 +5567,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
5540
5567
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
5541
5568
  }, "readConfigFile");
5542
5569
 
5543
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/default-config.js
5570
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/default-config.js
5544
5571
  import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
5545
5572
  import { dirname, join as join3 } from "node:path";
5546
5573
  var DEFAULT_CONFIG = {
@@ -5569,7 +5596,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
5569
5596
  }
5570
5597
  __name(ensureDefaultConfig, "ensureDefaultConfig");
5571
5598
 
5572
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
5599
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
5573
5600
  var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5574
5601
  var parentOf = /* @__PURE__ */ __name((config, key) => {
5575
5602
  const path2 = key.split(".");
@@ -5591,7 +5618,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
5591
5618
  return { config, added };
5592
5619
  }, "withSettingDefaults");
5593
5620
 
5594
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/settings.js
5621
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/settings.js
5595
5622
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
5596
5623
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
5597
5624
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -6119,7 +6146,7 @@ var given = /* @__PURE__ */ __name((value) => {
6119
6146
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
6120
6147
  }, "given");
6121
6148
 
6122
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/context.js
6149
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/context.js
6123
6150
  var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
6124
6151
  const { deadline, signal, app } = environmentOf(command);
6125
6152
  const now = deadline?.();
@@ -6273,7 +6300,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
6273
6300
  return words.join(" ");
6274
6301
  }, "commandPath");
6275
6302
 
6276
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/effects.js
6303
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/effects.js
6277
6304
  var REMOTE_READ = { remote: "read", local: "read" };
6278
6305
  var FETCH = { remote: "read", local: "write" };
6279
6306
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -6309,7 +6336,12 @@ var destroysNothing = /* @__PURE__ */ __name((command) => {
6309
6336
  KEPT_UNDER_LOCK.add(command);
6310
6337
  return command;
6311
6338
  }, "destroysNothing");
6312
- var PROPOSE_COMMANDS = ["messages acknowledge", "mail findings add"];
6339
+ var PROPOSE_COMMANDS = [
6340
+ "messages acknowledge",
6341
+ "mail findings add",
6342
+ "projects actions add",
6343
+ "meetings actions add"
6344
+ ];
6313
6345
  var PROPOSES = /* @__PURE__ */ new WeakSet();
6314
6346
  var isProposal = /* @__PURE__ */ __name((command) => {
6315
6347
  if (!PROPOSES.has(command))
@@ -6347,6 +6379,14 @@ var fetchesOnlyAt = /* @__PURE__ */ __name((root) => (path2) => {
6347
6379
  return at2 !== void 0 && fetchesOnly(at2);
6348
6380
  }, "fetchesOnlyAt");
6349
6381
  var FILE_OPTION = /* @__PURE__ */ new WeakMap();
6382
+ var writesFileOnlyWith = /* @__PURE__ */ __name((command, option) => {
6383
+ const flag2 = command.options.find((one) => one.attributeName() === option);
6384
+ if (!flag2 || optionMetaOf(flag2).mcp !== false)
6385
+ throw new Error(`${command.name()}: writesFileOnlyWith needs --${option} added first, as an owner-only option`);
6386
+ FILE_OPTION.set(command, option);
6387
+ return command;
6388
+ }, "writesFileOnlyWith");
6389
+ var writesNewFileOnlyWith = /* @__PURE__ */ __name((command, option) => destroysNothing(writesFileOnlyWith(command, option)), "writesNewFileOnlyWith");
6350
6390
  var fileOptionOf = /* @__PURE__ */ __name((command) => FILE_OPTION.get(command), "fileOptionOf");
6351
6391
  var writesFileNow = /* @__PURE__ */ __name((command) => {
6352
6392
  const option = FILE_OPTION.get(command);
@@ -6409,7 +6449,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
6409
6449
  throw readOnlyRefusal(lock, what);
6410
6450
  }, "refuseUnderReadOnly");
6411
6451
 
6412
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/account.js
6452
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/account.js
6413
6453
  var account = strictObject({
6414
6454
  provider: text,
6415
6455
  id,
@@ -6419,7 +6459,7 @@ var account = strictObject({
6419
6459
  scope: optional(picklist(["personal", "work"]))
6420
6460
  });
6421
6461
 
6422
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6462
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6423
6463
  var accountSession = strictObject({
6424
6464
  current: boolean(),
6425
6465
  client: nullable(text),
@@ -6429,7 +6469,7 @@ var accountSession = strictObject({
6429
6469
  created_at: optional(nullable(time))
6430
6470
  });
6431
6471
 
6432
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6472
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6433
6473
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
6434
6474
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
6435
6475
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -6458,7 +6498,7 @@ var accountRemoval = strictObject({
6458
6498
  kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
6459
6499
  });
6460
6500
 
6461
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6501
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6462
6502
  var accountProfile = strictObject({
6463
6503
  profile: id,
6464
6504
  current: boolean(),
@@ -6470,7 +6510,7 @@ var accountProfile = strictObject({
6470
6510
  bot: optional(literal(true))
6471
6511
  });
6472
6512
 
6473
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6513
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6474
6514
  var milliseconds = pipe(number(), minValue(0));
6475
6515
  var counterReading = strictObject({
6476
6516
  counter: picklist(["views", "reactions", "comments"]),
@@ -6482,7 +6522,7 @@ var counterReading = strictObject({
6482
6522
  });
6483
6523
  var selection = record(string(), unknown());
6484
6524
 
6485
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6525
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6486
6526
  var adminRow = strictObject({
6487
6527
  ref: reference,
6488
6528
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -6535,7 +6575,7 @@ var adminReport = strictObject({
6535
6575
  rows: array(adminRow)
6536
6576
  });
6537
6577
 
6538
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/task.js
6578
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/task.js
6539
6579
  var closeSuggestion = strictObject({
6540
6580
  as: picklist(["done", "dismissed"]),
6541
6581
  /** The agent's name. */
@@ -6597,7 +6637,7 @@ var task = strictObject({
6597
6637
  updated_at: optional(time)
6598
6638
  });
6599
6639
 
6600
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6640
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6601
6641
  var agendaChat = strictObject({
6602
6642
  chat: reference,
6603
6643
  title: nullable(text),
@@ -6667,11 +6707,11 @@ var agenda = strictObject({
6667
6707
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
6668
6708
  });
6669
6709
 
6670
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6710
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6671
6711
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
6672
6712
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
6673
6713
 
6674
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/attachment.js
6714
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/attachment.js
6675
6715
  var attachment = strictObject({
6676
6716
  /** The message it came with, as a locator; absent inside that message. */
6677
6717
  message: optional(reference),
@@ -6716,7 +6756,7 @@ var hitFile = strictObject({
6716
6756
  local_path: optional(text)
6717
6757
  });
6718
6758
 
6719
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
6759
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
6720
6760
  var actionableError = objectWithRest({
6721
6761
  code: text,
6722
6762
  message: text,
@@ -6733,7 +6773,7 @@ var batchResult = strictObject({
6733
6773
  max_error_percent: count
6734
6774
  });
6735
6775
 
6736
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
6776
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
6737
6777
  var extractionItem = strictObject({
6738
6778
  ref: reference,
6739
6779
  attachment: count,
@@ -6766,7 +6806,7 @@ var extractionReport = strictObject({
6766
6806
  cursor: optional(text)
6767
6807
  });
6768
6808
 
6769
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
6809
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
6770
6810
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
6771
6811
  var attachmentBytes = strictObject({
6772
6812
  ref: reference,
@@ -6797,7 +6837,7 @@ var attachmentTextChange = strictObject({
6797
6837
  text: optional(text)
6798
6838
  });
6799
6839
 
6800
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
6840
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
6801
6841
  var WEIGHTS = {
6802
6842
  bot: 3,
6803
6843
  scam: 3,
@@ -6822,7 +6862,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
6822
6862
  var DIGITS = /\d{5,}/;
6823
6863
  var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
6824
6864
 
6825
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
6865
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
6826
6866
  var linkedIdentity = strictObject({
6827
6867
  provider: text,
6828
6868
  id,
@@ -6877,7 +6917,7 @@ var contactCheck = strictObject({
6877
6917
  checked_at: time
6878
6918
  });
6879
6919
 
6880
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/member.js
6920
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/member.js
6881
6921
  var member = strictObject({
6882
6922
  id,
6883
6923
  name: nullable(text),
@@ -6900,7 +6940,7 @@ var member = strictObject({
6900
6940
  check: optional(record(string(), unknown()))
6901
6941
  });
6902
6942
 
6903
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat.js
6943
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chat.js
6904
6944
  var setting = optional(nullable(boolean()));
6905
6945
  var chat = strictObject({
6906
6946
  ref: reference,
@@ -6941,7 +6981,7 @@ var chat = strictObject({
6941
6981
  members: optional(array(member))
6942
6982
  });
6943
6983
 
6944
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message.js
6984
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/message.js
6945
6985
  var quoted = strictObject({
6946
6986
  id,
6947
6987
  sender_id: nullable(id),
@@ -7055,12 +7095,14 @@ var message = strictObject({
7055
7095
  /** Mail `review`: no earlier stored email, in any account, came from this address. */
7056
7096
  new_sender: optional(boolean()),
7057
7097
  /** Mail `review`: how many identities the sender's person has; 1 is this address alone. */
7058
- sender_identities: optional(number())
7098
+ sender_identities: optional(number()),
7099
+ /** Mail `review`: how `inbox` sorted the thread, by the AI model; the reason is untrusted. */
7100
+ inbox: optional(strictObject({ bucket: picklist(["answer", "read", "later"]), reason: text }))
7059
7101
  })),
7060
7102
  provider_metadata: providerMetadata
7061
7103
  });
7062
7104
 
7063
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
7105
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
7064
7106
  var recordedMeeting = strictObject({
7065
7107
  ref: reference,
7066
7108
  meeting_id: count,
@@ -7077,7 +7119,7 @@ var recordedMeeting = strictObject({
7077
7119
  call: optional(meetingCall)
7078
7120
  });
7079
7121
 
7080
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
7122
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
7081
7123
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
7082
7124
  var contextMessage = strictObject({
7083
7125
  locator: reference,
@@ -7283,7 +7325,7 @@ var contactPreparation = strictObject({
7283
7325
  })
7284
7326
  });
7285
7327
 
7286
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/deal.js
7328
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/deal.js
7287
7329
  var nullableText = nullable(text);
7288
7330
  var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
7289
7331
  var outcome = picklist(["open", "won", "lost"]);
@@ -7439,7 +7481,7 @@ var stage = strictObject({
7439
7481
  untrusted
7440
7482
  });
7441
7483
 
7442
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/business-context.js
7484
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/business-context.js
7443
7485
  var nullableText2 = nullable(text);
7444
7486
  var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
7445
7487
  var standing = picklist(STANDINGS);
@@ -7618,7 +7660,7 @@ var dealBrief = strictObject({
7618
7660
  not_read: coverage2.entries.not_read
7619
7661
  });
7620
7662
 
7621
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chart.js
7663
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chart.js
7622
7664
  var chart = strictObject({
7623
7665
  version: literal(1),
7624
7666
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -7633,7 +7675,7 @@ var chart = strictObject({
7633
7675
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
7634
7676
  });
7635
7677
 
7636
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/folder.js
7678
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/folder.js
7637
7679
  var named2 = strictObject({
7638
7680
  id,
7639
7681
  title: nullable(text),
@@ -7656,7 +7698,7 @@ var folder = strictObject({
7656
7698
  excluded_chats: optional(array(named2))
7657
7699
  });
7658
7700
 
7659
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7701
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7660
7702
  var inviteLink = strictObject({
7661
7703
  link: text,
7662
7704
  /** Who joins by it asks first, and an admin lets them in. */
@@ -7672,7 +7714,7 @@ var inviteLink = strictObject({
7672
7714
  joined_count: optional(count)
7673
7715
  });
7674
7716
 
7675
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7717
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7676
7718
  var operated = { operation_id: id, chat_id: id };
7677
7719
  var group = strictObject({
7678
7720
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -7752,7 +7794,7 @@ var chatFolderOrder = strictObject({
7752
7794
  folders: array(strictObject({ id, title: text }))
7753
7795
  });
7754
7796
 
7755
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
7797
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
7756
7798
  var operated2 = { operation_id: id, chat_id: id };
7757
7799
  var chatRemoval = strictObject(operated2);
7758
7800
  var chatMuting = strictObject({
@@ -7763,7 +7805,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
7763
7805
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
7764
7806
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
7765
7807
 
7766
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
7808
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
7767
7809
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
7768
7810
  var chatEvent = strictObject({
7769
7811
  chat_id: id,
@@ -7780,7 +7822,7 @@ var chatEvent = strictObject({
7780
7822
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
7781
7823
  });
7782
7824
 
7783
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
7825
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
7784
7826
  var chatMetadata = strictObject({
7785
7827
  chat_id: id,
7786
7828
  title: nullable(text),
@@ -7795,7 +7837,7 @@ var chatMetadataRefresh = strictObject({
7795
7837
  has_more: boolean()
7796
7838
  });
7797
7839
 
7798
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
7840
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
7799
7841
  var action = picklist(["report", "delete", "remove"]);
7800
7842
  var level = picklist(["deny", "readonly", "ask", "allow"]);
7801
7843
  var chatRules = strictObject({
@@ -7832,7 +7874,7 @@ var chatModeration = strictObject({
7832
7874
  }))
7833
7875
  });
7834
7876
 
7835
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
7877
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
7836
7878
  var chatSending = strictObject({
7837
7879
  mode: picklist(["allowed", "ask", "denied"]),
7838
7880
  meaning: text,
@@ -7842,7 +7884,7 @@ var chatSending = strictObject({
7842
7884
  changed: optional(boolean())
7843
7885
  });
7844
7886
 
7845
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
7887
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
7846
7888
  var optionalCount = optional(count);
7847
7889
  var minutes = nullable(number());
7848
7890
  var chatStats = strictObject({
@@ -7918,7 +7960,7 @@ var taskStats = strictObject({
7918
7960
  }))
7919
7961
  });
7920
7962
 
7921
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
7963
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
7922
7964
  var memberCount = strictObject({
7923
7965
  day: pipe(text, isoDate()),
7924
7966
  participants: nullable(count),
@@ -7941,7 +7983,7 @@ var chatTracking = strictObject({
7941
7983
  tracked: boolean()
7942
7984
  });
7943
7985
 
7944
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
7986
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
7945
7987
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
7946
7988
  var contactSync = strictObject({ added: count, changed: count, known: count });
7947
7989
  var profileFields = {
@@ -7979,7 +8021,7 @@ var profileFields = {
7979
8021
  }))
7980
8022
  };
7981
8023
 
7982
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/contact.js
8024
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/contact.js
7983
8025
  var contact = strictObject({
7984
8026
  ref: reference,
7985
8027
  id,
@@ -8010,7 +8052,7 @@ var contact = strictObject({
8010
8052
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
8011
8053
  });
8012
8054
 
8013
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
8055
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
8014
8056
  var contactNote = strictObject({
8015
8057
  id,
8016
8058
  /** The contact, as a `contact:` reference. */
@@ -8022,13 +8064,13 @@ var contactNote = strictObject({
8022
8064
  updated_at: time
8023
8065
  });
8024
8066
 
8025
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
8067
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
8026
8068
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
8027
8069
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
8028
8070
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
8029
8071
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
8030
8072
 
8031
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/conversation.js
8073
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/conversation.js
8032
8074
  var conversation = strictObject({
8033
8075
  id,
8034
8076
  chat: reference,
@@ -8043,7 +8085,7 @@ var conversation = strictObject({
8043
8085
  rules_version: count
8044
8086
  });
8045
8087
 
8046
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
8088
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
8047
8089
  var conversationBuild = strictObject({
8048
8090
  chat: id,
8049
8091
  messages: count,
@@ -8068,7 +8110,7 @@ var catchUpPreparation = strictObject({
8068
8110
  prepared: optional(conversationPreparation)
8069
8111
  });
8070
8112
 
8071
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
8113
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
8072
8114
  var conversationDetails = union([
8073
8115
  strictObject({ ...conversation.entries, messages: array(message) }),
8074
8116
  message
@@ -8155,10 +8197,15 @@ var conversationHit = strictObject({
8155
8197
  score: nullable(number()),
8156
8198
  matched_in: optional(literal("context")),
8157
8199
  by: array(picklist(["meaning", "words"])),
8158
- stale: boolean()
8200
+ stale: boolean(),
8201
+ /** Up to three of the chunk's messages as "sender: text": what the hit says, without opening it. */
8202
+ lines: optional(array(text)),
8203
+ /** In the block of the owner's own conversations, which the hits before it left out. */
8204
+ from_owner: optional(literal(true)),
8205
+ untrusted
8159
8206
  });
8160
8207
 
8161
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/counters.js
8208
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/counters.js
8162
8209
  var counters = strictObject({
8163
8210
  cutoff: time,
8164
8211
  max_age_ms: milliseconds,
@@ -8188,7 +8235,7 @@ var counterRefresh = strictObject({
8188
8235
  complete: optional(boolean())
8189
8236
  });
8190
8237
 
8191
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/document.js
8238
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/document.js
8192
8239
  var document = strictObject({
8193
8240
  ref: reference,
8194
8241
  id,
@@ -8203,7 +8250,7 @@ var document = strictObject({
8203
8250
  owners: optional(array(text))
8204
8251
  });
8205
8252
 
8206
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/document-link.js
8253
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/document-link.js
8207
8254
  var documentLink = strictObject({
8208
8255
  ref: reference,
8209
8256
  url: text,
@@ -8214,7 +8261,7 @@ var documentLink = strictObject({
8214
8261
  sender: strictObject({ id: nullable(id), name: nullable(text) })
8215
8262
  });
8216
8263
 
8217
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/evidence.js
8264
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/evidence.js
8218
8265
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
8219
8266
  var contribution = strictObject({
8220
8267
  message: evidenceMessage,
@@ -8244,7 +8291,7 @@ var retentionStay = strictObject({
8244
8291
  });
8245
8292
  var evidence = union([contribution, retentionStay]);
8246
8293
 
8247
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/fact.js
8294
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/fact.js
8248
8295
  var fact = strictObject({
8249
8296
  ref: reference,
8250
8297
  id,
@@ -8275,7 +8322,7 @@ var fact = strictObject({
8275
8322
  updated_at: time
8276
8323
  });
8277
8324
 
8278
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/hit.js
8325
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/hit.js
8279
8326
  var hit = strictObject({
8280
8327
  kind: picklist([
8281
8328
  "message",
@@ -8334,7 +8381,7 @@ var hit = strictObject({
8334
8381
  untrusted
8335
8382
  });
8336
8383
 
8337
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/identity.js
8384
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/identity.js
8338
8385
  var identity = strictObject({
8339
8386
  ref: reference,
8340
8387
  provider: text,
@@ -8350,7 +8397,7 @@ var identity = strictObject({
8350
8397
  person: optional(nullable(reference))
8351
8398
  });
8352
8399
 
8353
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8400
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8354
8401
  var imageEmbedding = strictObject({
8355
8402
  model: text,
8356
8403
  embedded: count,
@@ -8359,13 +8406,13 @@ var imageEmbedding = strictObject({
8359
8406
  more: boolean()
8360
8407
  });
8361
8408
 
8362
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8409
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8363
8410
  import { spawn } from "node:child_process";
8364
8411
  import { randomBytes } from "node:crypto";
8365
8412
  import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync4, realpathSync, rmSync as rmSync2 } from "node:fs";
8366
8413
  import { dirname as dirname2, join as join4 } from "node:path";
8367
8414
 
8368
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
8415
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
8369
8416
  var progressOf = /* @__PURE__ */ __name((input) => {
8370
8417
  const total = input.total ?? null;
8371
8418
  const updated = input.updatedAt ?? null;
@@ -8381,7 +8428,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
8381
8428
  };
8382
8429
  }, "progressOf");
8383
8430
 
8384
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/runs/record-log.js
8431
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/runs/record-log.js
8385
8432
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
8386
8433
  const run = currentRun();
8387
8434
  const trace = traceId ?? run.traceId;
@@ -8395,7 +8442,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
8395
8442
  }));
8396
8443
  }, "recordLogFor");
8397
8444
 
8398
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8445
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8399
8446
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
8400
8447
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
8401
8448
  const out = openSync(log, "a", 384);
@@ -8550,7 +8597,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
8550
8597
  return { job: id6, pid, chat: input.chat, log };
8551
8598
  }, "startArchiveJob");
8552
8599
 
8553
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/job.js
8600
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/job.js
8554
8601
  var problem = strictObject({ code: text, message: text });
8555
8602
  var job = strictObject({
8556
8603
  id,
@@ -8573,7 +8620,7 @@ var job = strictObject({
8573
8620
  error: optional(problem)
8574
8621
  });
8575
8622
 
8576
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8623
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8577
8624
  var joinRequest = strictObject({
8578
8625
  person_id: id,
8579
8626
  name: nullable(text),
@@ -8584,7 +8631,7 @@ var joinRequest = strictObject({
8584
8631
  about: optional(text)
8585
8632
  });
8586
8633
 
8587
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/list-results.js
8634
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/list-results.js
8588
8635
  var botProfile = strictObject({
8589
8636
  name: text,
8590
8637
  token: text,
@@ -8708,7 +8755,7 @@ var stickerInventory = strictObject({
8708
8755
  url: optional(nullable(text))
8709
8756
  });
8710
8757
 
8711
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8758
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8712
8759
  var pollVote = strictObject({
8713
8760
  person_id: id,
8714
8761
  name: nullable(text),
@@ -8718,7 +8765,7 @@ var pollVote = strictObject({
8718
8765
  voted_at: time
8719
8766
  });
8720
8767
 
8721
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/listener.js
8768
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/listener.js
8722
8769
  var reactions = unwrap(unwrap(message.entries.reactions));
8723
8770
  var observation = strictObject({
8724
8771
  value: pipe(number(), minValue(0)),
@@ -8760,7 +8807,7 @@ var serveSummary = strictObject({
8760
8807
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
8761
8808
  });
8762
8809
 
8763
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8810
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8764
8811
  var mailCounts = strictObject({
8765
8812
  by: picklist(["day", "week", "sender"]),
8766
8813
  received: count,
@@ -8775,7 +8822,7 @@ var mailCounts = strictObject({
8775
8822
  }))
8776
8823
  });
8777
8824
 
8778
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8825
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8779
8826
  var evidence2 = strictObject({ reference, fingerprint: text });
8780
8827
  var base = { id, evidence: array(evidence2) };
8781
8828
  var finding = variant("kind", [
@@ -8919,7 +8966,7 @@ var mailFindings = strictObject({
8919
8966
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
8920
8967
  });
8921
8968
 
8922
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
8969
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
8923
8970
  var mediaArchive = strictObject({
8924
8971
  directory: text,
8925
8972
  chats: count,
@@ -8951,7 +8998,7 @@ var mediaArchiveTimer = union([
8951
8998
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
8952
8999
  ]);
8953
9000
 
8954
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
9001
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
8955
9002
  var preparationId = pipe(string(), minLength(1));
8956
9003
  var preparationCount = pipe(number(), integer(), minValue(0));
8957
9004
  var preparationTime = nullable(isoTime);
@@ -9043,7 +9090,7 @@ var preparationMeeting = strictObject({
9043
9090
  updated_at: isoTime
9044
9091
  });
9045
9092
 
9046
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
9093
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
9047
9094
  var meetingEvidence = preparationEvidence;
9048
9095
  var meetingPersonContext = strictObject({
9049
9096
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -9065,7 +9112,7 @@ var meetingPersonContext = strictObject({
9065
9112
  })
9066
9113
  });
9067
9114
 
9068
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
9115
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
9069
9116
  var evidence3 = strictObject({ reference, fingerprint: text });
9070
9117
  var base2 = { id, project: reference, evidence: array(evidence3) };
9071
9118
  var finding2 = variant("kind", [
@@ -9103,7 +9150,7 @@ var meetingFindings = strictObject({
9103
9150
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
9104
9151
  });
9105
9152
 
9106
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
9153
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
9107
9154
  var communicationCoverage = strictObject({
9108
9155
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
9109
9156
  query: string(),
@@ -9148,7 +9195,7 @@ var preparationCommunications = strictObject({
9148
9195
  }))
9149
9196
  });
9150
9197
 
9151
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
9198
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
9152
9199
  var meetingPreparation = strictObject({
9153
9200
  communications: optional(preparationCommunications),
9154
9201
  schema_version: literal(1),
@@ -9261,7 +9308,7 @@ var meetingPreparation = strictObject({
9261
9308
  })
9262
9309
  });
9263
9310
 
9264
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
9311
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
9265
9312
  var count4 = pipe(number(), integer(), minValue(0));
9266
9313
  var id3 = pipe(string(), minLength(1));
9267
9314
  var text3 = string();
@@ -9325,7 +9372,7 @@ var meetingProjectCandidates = strictObject({
9325
9372
  })
9326
9373
  });
9327
9374
 
9328
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
9375
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
9329
9376
  var count5 = pipe(number(), integer(), minValue(0));
9330
9377
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
9331
9378
  var meetingSeriesInventory = strictObject({
@@ -9355,7 +9402,7 @@ var meetingSeriesInventory = strictObject({
9355
9402
  })
9356
9403
  });
9357
9404
 
9358
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
9405
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
9359
9406
  var text4 = string();
9360
9407
  var id5 = pipe(number(), integer(), minValue(1));
9361
9408
  var revision = picklist(["current", "superseded"]);
@@ -9372,7 +9419,7 @@ var meetingTaskProposal = strictObject({
9372
9419
  persistence: literal("proposal-only")
9373
9420
  });
9374
9421
 
9375
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/memory.js
9422
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/memory.js
9376
9423
  var memory = strictObject({
9377
9424
  ref: reference,
9378
9425
  id,
@@ -9400,7 +9447,7 @@ var memory = strictObject({
9400
9447
  updated_at: time
9401
9448
  });
9402
9449
 
9403
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/mention.js
9450
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/mention.js
9404
9451
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
9405
9452
  var status = picklist(["found", "linked", "proposed", "dismissed"]);
9406
9453
  var mention = strictObject({
@@ -9444,7 +9491,7 @@ var mentionRebuild = strictObject({
9444
9491
  mentions: count
9445
9492
  });
9446
9493
 
9447
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-change.js
9494
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/message-change.js
9448
9495
  var operated3 = { operation_id: id, chat_id: id };
9449
9496
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
9450
9497
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
@@ -9453,7 +9500,7 @@ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) })
9453
9500
  var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
9454
9501
  var scheduledSend = strictObject(scheduledSendEntries);
9455
9502
 
9456
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-read.js
9503
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/message-read.js
9457
9504
  var messageTranscript = strictObject({
9458
9505
  message_id: id,
9459
9506
  text,
@@ -9511,7 +9558,7 @@ var evidencePacket = strictObject({
9511
9558
  }))
9512
9559
  });
9513
9560
 
9514
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9561
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9515
9562
  var messageThread = strictObject({
9516
9563
  ref: reference,
9517
9564
  chat: id,
@@ -9528,7 +9575,7 @@ var messageThread = strictObject({
9528
9575
  });
9529
9576
  var messageContext = union([message, messageThread]);
9530
9577
 
9531
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9578
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9532
9579
  var messageCounts = strictObject({
9533
9580
  by: picklist(["chat", "sender", "day", "hour"]),
9534
9581
  total: count,
@@ -9541,7 +9588,7 @@ var messageCounts = strictObject({
9541
9588
  }))
9542
9589
  });
9543
9590
 
9544
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9591
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9545
9592
  var messageLink = strictObject({
9546
9593
  ref: reference,
9547
9594
  url: nullable(text),
@@ -9558,7 +9605,7 @@ var messageLink = strictObject({
9558
9605
  })))
9559
9606
  });
9560
9607
 
9561
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
9608
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
9562
9609
  var savedMessageFile = strictObject({
9563
9610
  kind: text,
9564
9611
  path: text,
@@ -9645,7 +9692,7 @@ var messageSyncAll = strictObject({
9645
9692
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
9646
9693
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
9647
9694
 
9648
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9695
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9649
9696
  var messageWrite = strictObject({
9650
9697
  operation_id: id,
9651
9698
  message,
@@ -9660,7 +9707,7 @@ var draftWrite = strictObject({
9660
9707
  });
9661
9708
  var messageSend = union([messageWrite, draftWrite]);
9662
9709
 
9663
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/model.js
9710
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/model.js
9664
9711
  var model2 = strictObject({
9665
9712
  id,
9666
9713
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -9695,7 +9742,7 @@ var chosenModel = strictObject({
9695
9742
  estimate_seconds: nullable(count)
9696
9743
  });
9697
9744
 
9698
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/model-key.js
9745
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/model-key.js
9699
9746
  var source = picklist(["environment", "keyring", "file"]);
9700
9747
  var modelKey = strictObject({
9701
9748
  provider: text,
@@ -9705,7 +9752,7 @@ var modelKey = strictObject({
9705
9752
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
9706
9753
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
9707
9754
 
9708
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
9755
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
9709
9756
  var versus = strictObject({ current: number(), previous: number() });
9710
9757
  var person = { person_ref: reference, name: nullable(text) };
9711
9758
  var graph = strictObject({
@@ -9739,14 +9786,14 @@ var officialStats = strictObject({
9739
9786
  graphs: record(string(), union([graph, strictObject({ error: text })]))
9740
9787
  });
9741
9788
 
9742
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/person.js
9789
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/person.js
9743
9790
  var person2 = strictObject({
9744
9791
  ref: reference,
9745
9792
  name: nullable(text),
9746
9793
  identities: optional(array(identity))
9747
9794
  });
9748
9795
 
9749
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/poll.js
9796
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/poll.js
9750
9797
  var poll = strictObject({
9751
9798
  chat_id: id,
9752
9799
  message_id: id,
@@ -9762,11 +9809,11 @@ var poll = strictObject({
9762
9809
  });
9763
9810
  var pollChange = strictObject({ operation_id: id, poll });
9764
9811
 
9765
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9812
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9766
9813
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
9767
9814
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
9768
9815
 
9769
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9816
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9770
9817
  var figures = record(string(), number());
9771
9818
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
9772
9819
  var rankingRow = strictObject({
@@ -9813,7 +9860,7 @@ var ranking = strictObject({
9813
9860
  rows: array(rankingRow)
9814
9861
  });
9815
9862
 
9816
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9863
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9817
9864
  var reaction = strictObject({
9818
9865
  person: strictObject({ id, name: nullable(text), username: nullable(text) }),
9819
9866
  /** The emoji, or `custom:<id>` for a custom one. */
@@ -9821,7 +9868,7 @@ var reaction = strictObject({
9821
9868
  reacted_at: time
9822
9869
  });
9823
9870
 
9824
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9871
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9825
9872
  var reactionChange = strictObject({
9826
9873
  operation_id: id,
9827
9874
  chat_id: id,
@@ -9829,7 +9876,7 @@ var reactionChange = strictObject({
9829
9876
  reaction: nullable(text)
9830
9877
  });
9831
9878
 
9832
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9879
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9833
9880
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
9834
9881
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
9835
9882
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -9840,7 +9887,7 @@ var recipientChange = strictObject({
9840
9887
  ...partial(recipientOff).entries
9841
9888
  });
9842
9889
 
9843
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9890
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9844
9891
  var events = array(record(string(), unknown()));
9845
9892
  var recordedRun = strictObject({
9846
9893
  run_id: id,
@@ -9912,7 +9959,7 @@ var runHit = strictObject({
9912
9959
  });
9913
9960
  var runLocation = strictObject({ path: text });
9914
9961
 
9915
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9962
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9916
9963
  var relationship = strictObject({
9917
9964
  id,
9918
9965
  from: reference,
@@ -9939,7 +9986,7 @@ var relationship = strictObject({
9939
9986
  created_at: time
9940
9987
  });
9941
9988
 
9942
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
9989
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
9943
9990
  var milliseconds2 = nullable(pipe(number(), minValue(0)));
9944
9991
  var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
9945
9992
  var responseTimes = strictObject({
@@ -9956,7 +10003,7 @@ var waitingChats = strictObject({
9956
10003
  by_kind: strictObject({ private: count, group: count })
9957
10004
  });
9958
10005
 
9959
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/retention.js
10006
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/retention.js
9960
10007
  var retentionCohort = strictObject({
9961
10008
  /** The first day of the joining day or week. */
9962
10009
  cohort: text,
@@ -10004,7 +10051,7 @@ var retention = strictObject({
10004
10051
  rows: array(retentionCohort)
10005
10052
  });
10006
10053
 
10007
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
10054
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
10008
10055
  var savedSearch = strictObject({
10009
10056
  id,
10010
10057
  /** `null` for a run in the history. */
@@ -10021,7 +10068,7 @@ var savedSearch = strictObject({
10021
10068
  });
10022
10069
  var searchHistoryClear = strictObject({ cleared: count });
10023
10070
 
10024
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
10071
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
10025
10072
  var sendAttempt = strictObject({
10026
10073
  at: time,
10027
10074
  profile: text,
@@ -10049,7 +10096,7 @@ var sendAttempt = strictObject({
10049
10096
  error_code: optional(text)
10050
10097
  });
10051
10098
 
10052
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
10099
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
10053
10100
  var absent = strictObject({ path: text, exists: literal(false) });
10054
10101
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
10055
10102
  var infoSchema = strictObject({
@@ -10279,7 +10326,7 @@ var storeRepair = union([
10279
10326
  ]);
10280
10327
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
10281
10328
 
10282
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/store-records.js
10329
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/store-records.js
10283
10330
  var range = strictObject({ from: number(), to: number() });
10284
10331
  var storeChatStatus = strictObject({
10285
10332
  chat_id: id,
@@ -10377,7 +10424,7 @@ var storeJobRetry = union([
10377
10424
  ]);
10378
10425
  var storeJobClear = strictObject({ cleared: array(id) });
10379
10426
 
10380
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/store-table.js
10427
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/store-table.js
10381
10428
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
10382
10429
  var storeTable = strictObject({
10383
10430
  name: text,
@@ -10386,7 +10433,7 @@ var storeTable = strictObject({
10386
10433
  bytes: optional(nullable(count))
10387
10434
  });
10388
10435
 
10389
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
10436
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
10390
10437
  var tagTarget = variant("type", [
10391
10438
  strictObject({ type: literal("chat"), chat_id: id }),
10392
10439
  strictObject({ type: literal("contact"), person_id: id }),
@@ -10417,7 +10464,7 @@ var automaticTags = strictObject({
10417
10464
  dry_run: boolean()
10418
10465
  });
10419
10466
 
10420
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/tagging.js
10467
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/tagging.js
10421
10468
  var tagging = strictObject({
10422
10469
  tag: text,
10423
10470
  type: picklist(TAG_TYPES),
@@ -10430,7 +10477,7 @@ var tagging = strictObject({
10430
10477
  created_at: time
10431
10478
  });
10432
10479
 
10433
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
10480
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
10434
10481
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
10435
10482
  var taskPair = strictObject({
10436
10483
  task: nullable(side),
@@ -10453,7 +10500,7 @@ var taskPair = strictObject({
10453
10500
  created_at: time
10454
10501
  });
10455
10502
 
10456
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/task-results.js
10503
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/task-results.js
10457
10504
  var nullableTime = nullable(time);
10458
10505
  var link = strictObject({
10459
10506
  id,
@@ -10627,7 +10674,7 @@ var taskReview = strictObject({
10627
10674
  untrusted
10628
10675
  });
10629
10676
 
10630
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/template.js
10677
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/template.js
10631
10678
  var template = strictObject({
10632
10679
  key: text,
10633
10680
  channel: picklist(["telegram", "email", "text"]),
@@ -10639,7 +10686,7 @@ var template = strictObject({
10639
10686
  updated_by: nullable(text)
10640
10687
  });
10641
10688
 
10642
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/topic.js
10689
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/topic.js
10643
10690
  var topic = strictObject({
10644
10691
  id,
10645
10692
  title: text,
@@ -10653,7 +10700,7 @@ var topic = strictObject({
10653
10700
  untrusted
10654
10701
  });
10655
10702
 
10656
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/index.js
10703
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/index.js
10657
10704
  var ENTITIES = {
10658
10705
  sync_progress: progress,
10659
10706
  deal,
@@ -10687,6 +10734,7 @@ var ENTITIES = {
10687
10734
  attachments: optional(array(hitFile)),
10688
10735
  untrusted
10689
10736
  }),
10737
+ // Typed loosely: the inferred type of `ENTITIES` would pass the size the compiler writes out (TS7056).
10690
10738
  "message.summary": strictObject({
10691
10739
  ...pick(message, [
10692
10740
  "ref",
@@ -10954,7 +11002,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
10954
11002
  return [name, definition];
10955
11003
  })), "entityDefinitions");
10956
11004
 
10957
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
11005
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
10958
11006
  var schemas = /* @__PURE__ */ new WeakMap();
10959
11007
  var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
10960
11008
  if (Object.hasOwn(ENTITIES, name))
@@ -10988,7 +11036,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
10988
11036
  return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
10989
11037
  }, "answerRow");
10990
11038
 
10991
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/steps.js
11039
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/steps.js
10992
11040
  var STEPS2 = defineSteps([
10993
11041
  ...STEPS,
10994
11042
  {
@@ -11278,7 +11326,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
11278
11326
  ].join(" ");
11279
11327
  }, "stepLine");
11280
11328
 
11281
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11329
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11282
11330
  var where = [{ field: "ref" }];
11283
11331
  var who2 = { field: ["who.owner", "who.name"], tag: "you" };
11284
11332
  var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
@@ -11370,7 +11418,7 @@ var STATUS_ROWS = {
11370
11418
  "status.failed": { columns: [{ field: "signal" }], text: ["why"] }
11371
11419
  };
11372
11420
 
11373
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/compact.js
11421
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/compact.js
11374
11422
  var TEXT_CHARS = 400;
11375
11423
  var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
11376
11424
  var messageRow = {
@@ -11738,7 +11786,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
11738
11786
  return lines.concat(footerOf(body)).join("\n");
11739
11787
  }, "compactText");
11740
11788
 
11741
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11789
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11742
11790
  var SOFT_OUTPUT_BYTES = 256 * 1024;
11743
11791
  var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
11744
11792
  var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
@@ -11796,7 +11844,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
11796
11844
  return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
11797
11845
  }, "largeAnswerSteps");
11798
11846
 
11799
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11847
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11800
11848
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
11801
11849
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
11802
11850
  var strip = /* @__PURE__ */ __name((value) => {
@@ -11810,7 +11858,7 @@ var strip = /* @__PURE__ */ __name((value) => {
11810
11858
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
11811
11859
  }, "strip");
11812
11860
 
11813
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
11861
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
11814
11862
  var OPEN = "\u27E6";
11815
11863
  var CLOSE = "\u27E7";
11816
11864
  var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
@@ -11879,6 +11927,8 @@ var MESSAGE_UNTRUSTED = [
11879
11927
  "bcc.name",
11880
11928
  "reply_addresses.name"
11881
11929
  ];
11930
+ var CHAT_UNTRUSTED = ["title", "description"];
11931
+ var CONTACT_UNTRUSTED = ["description", "chats.title"];
11882
11932
  var DECLARED = /* @__PURE__ */ new WeakMap();
11883
11933
  var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
11884
11934
  DECLARED.set(command, fields);
@@ -11898,7 +11948,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
11898
11948
  return result;
11899
11949
  }, "withFieldsMarked");
11900
11950
 
11901
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/envelope.js
11951
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/envelope.js
11902
11952
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
11903
11953
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
11904
11954
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -12121,6 +12171,7 @@ export {
12121
12171
  Command,
12122
12172
  hasSharedContract,
12123
12173
  assertSharedContracts,
12174
+ overrideSharedContract,
12124
12175
  sharedContractOverrides,
12125
12176
  sharedContracts,
12126
12177
  sharedCommand,
@@ -12187,6 +12238,7 @@ export {
12187
12238
  rememberAccount,
12188
12239
  recalledAccount,
12189
12240
  profilesHere,
12241
+ count2 as count,
12190
12242
  NONE_NAMED,
12191
12243
  namedProfile,
12192
12244
  NoProfileHere,
@@ -12221,6 +12273,7 @@ export {
12221
12273
  writesOwnerFiles,
12222
12274
  fetchesOnly,
12223
12275
  fetchesOnlyAt,
12276
+ writesNewFileOnlyWith,
12224
12277
  fileOptionOf,
12225
12278
  readsOverMcpAt,
12226
12279
  isStoreChange,
@@ -12280,7 +12333,10 @@ export {
12280
12333
  tooLargeSteps,
12281
12334
  withoutProviderRefs,
12282
12335
  runMarkOf,
12336
+ marked,
12283
12337
  withUntrustedMarked,
12338
+ CHAT_UNTRUSTED,
12339
+ CONTACT_UNTRUSTED,
12284
12340
  marksUntrusted,
12285
12341
  answerSchema,
12286
12342
  listOf,