@wirecat/drive-cli 0.70.0 → 0.72.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 (262) hide show
  1. package/README.md +150 -70
  2. package/contracts/wirecat.json +77 -8
  3. package/dist/bin/drive.js +2 -2
  4. package/dist/bundle/agent-23OB2NZP.js +46 -0
  5. package/dist/bundle/{all-profiles-FW3GK3QO.js → all-profiles-GXGDVNQJ.js} +67 -25
  6. package/dist/bundle/{anthropic-QVKJT3II.js → anthropic-H5C4GQHC.js} +9 -9
  7. package/dist/bundle/{app-server-QU73RD5R.js → app-server-EQ3UK4C7.js} +97 -79
  8. package/dist/bundle/{bun-5XCD5CBB.js → bun-DTJVSRY3.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-TIGSVNSV.js → bun-sqlite-JIFY7MAE.js} +9 -9
  10. package/dist/bundle/chunk-2Q325BBD.js +353 -0
  11. package/dist/bundle/chunk-35FIJGTT.js +52 -0
  12. package/dist/bundle/{chunk-7C5KENNU.js → chunk-3FRQ6V4T.js} +3 -3
  13. package/dist/bundle/chunk-47L262VI.js +340 -0
  14. package/dist/bundle/chunk-4HP6KGBI.js +32 -0
  15. package/dist/bundle/{chunk-GA3URWIF.js → chunk-4HPXWYTE.js} +1 -1
  16. package/dist/bundle/{chunk-HYXXMSVD.js → chunk-4IUNYYYL.js} +4473 -2685
  17. package/dist/bundle/{chunk-FYPW7NMH.js → chunk-4JS32SRX.js} +64 -4
  18. package/dist/bundle/chunk-4ZAQMDLD.js +1308 -0
  19. package/dist/bundle/chunk-4ZTB7LS3.js +87 -0
  20. package/dist/bundle/{chunk-SONPLYV7.js → chunk-55FH6IEL.js} +5 -5
  21. package/dist/bundle/{chunk-VVN6GHAZ.js → chunk-5BNMWSU2.js} +659 -255
  22. package/dist/bundle/{chunk-FVTKFIQH.js → chunk-5H747A76.js} +5496 -3195
  23. package/dist/bundle/{chunk-PR7XD2DI.js → chunk-5KWCO56H.js} +2 -2
  24. package/dist/bundle/{chunk-3AHBZP33.js → chunk-5U3NCE5R.js} +35 -12
  25. package/dist/bundle/{chunk-HRATXUFH.js → chunk-6CCO3JCM.js} +31 -22
  26. package/dist/bundle/{chunk-RLNZ7NX5.js → chunk-6ZW2ZJYC.js} +2 -2
  27. package/dist/bundle/{chunk-RQNRYF6D.js → chunk-75DAHQOV.js} +3 -3
  28. package/dist/bundle/{chunk-7QSRODXM.js → chunk-77OBW43F.js} +6 -6
  29. package/dist/bundle/{chunk-GV5DGHSA.js → chunk-7EFM6AW3.js} +4 -4
  30. package/dist/bundle/{chunk-BXPC5TFG.js → chunk-A3S7QM5L.js} +3 -3
  31. package/dist/bundle/{chunk-IGNIUDI3.js → chunk-AA4LKC6W.js} +251 -565
  32. package/dist/bundle/chunk-ASTKHB6B.js +3233 -0
  33. package/dist/bundle/{chunk-3TCMANIM.js → chunk-BM6V7456.js} +8 -227
  34. package/dist/bundle/chunk-BO6EDBYJ.js +50 -0
  35. package/dist/bundle/{chunk-F5KJWRF5.js → chunk-BPA3R4KN.js} +2 -100
  36. package/dist/bundle/chunk-CIFE4KPX.js +2159 -0
  37. package/dist/bundle/chunk-CKB4XZZJ.js +730 -0
  38. package/dist/bundle/{chunk-YCL3SK4T.js → chunk-COJTCEZP.js} +113 -860
  39. package/dist/bundle/{chunk-BD2K2ONK.js → chunk-CWPYDT73.js} +6 -6
  40. package/dist/bundle/{chunk-6BMTW5A6.js → chunk-D4JNCXS7.js} +9 -9
  41. package/dist/bundle/chunk-DCPWZIOV.js +696 -0
  42. package/dist/bundle/{chunk-P7PLKNPX.js → chunk-DHMNCOQI.js} +415 -272
  43. package/dist/bundle/chunk-DOQMH4DC.js +280 -0
  44. package/dist/bundle/chunk-DQSOYH6N.js +20 -0
  45. package/dist/bundle/{chunk-ML3R2UHV.js → chunk-DWRUOLBF.js} +4 -4
  46. package/dist/bundle/{chunk-5JTB4URG.js → chunk-E3VWZC3K.js} +14 -13
  47. package/dist/bundle/chunk-ECYOTDJM.js +14 -0
  48. package/dist/bundle/{chunk-7IBENBCK.js → chunk-EVG3AA5M.js} +2 -2
  49. package/dist/bundle/chunk-F4BX7TH2.js +15 -0
  50. package/dist/bundle/{chunk-FCSHWUMW.js → chunk-FBEZSA76.js} +5 -5
  51. package/dist/bundle/{chunk-RHSBXOQM.js → chunk-FBQJN74J.js} +1 -1
  52. package/dist/bundle/{chunk-4WK26MPY.js → chunk-FIZOPJYY.js} +1 -1
  53. package/dist/bundle/chunk-FNAYSZWK.js +783 -0
  54. package/dist/bundle/{chunk-LINBDWJK.js → chunk-FRCJHGZM.js} +2 -2
  55. package/dist/bundle/{chunk-RCTOWLCD.js → chunk-FTG5QBSD.js} +41 -33
  56. package/dist/bundle/{chunk-ABZ2NYDT.js → chunk-FUDUXIVG.js} +1 -1
  57. package/dist/bundle/{chunk-NYECVHFH.js → chunk-G4NHRFS7.js} +755 -0
  58. package/dist/bundle/{chunk-PAPY6Q6H.js → chunk-GIEZYBRC.js} +1 -1
  59. package/dist/bundle/chunk-GTPPUBYU.js +1876 -0
  60. package/dist/bundle/chunk-GU6ICH53.js +108 -0
  61. package/dist/bundle/{chunk-REM5WHHQ.js → chunk-GUMKKRE6.js} +107 -71
  62. package/dist/bundle/{chunk-QBAOIMVB.js → chunk-GWCDOYSC.js} +1 -1
  63. package/dist/bundle/{chunk-HHAZ6DCY.js → chunk-GXGSC622.js} +69 -7
  64. package/dist/bundle/chunk-HAGXTGJC.js +188 -0
  65. package/dist/bundle/{chunk-TNKQDS5A.js → chunk-IMAWQC5K.js} +6 -6
  66. package/dist/bundle/{chunk-ZHZYGY5R.js → chunk-IVGVVSPW.js} +4 -4
  67. package/dist/bundle/{chunk-EDO5LZVF.js → chunk-J4NUHSM7.js} +1 -1
  68. package/dist/bundle/{chunk-DVVUJ254.js → chunk-K652FYCO.js} +6 -6
  69. package/dist/bundle/chunk-K6ZWNTXY.js +561 -0
  70. package/dist/bundle/{chunk-FONIFRYI.js → chunk-KF3ZBQJV.js} +4 -4
  71. package/dist/bundle/chunk-KFZCHJRT.js +80 -0
  72. package/dist/bundle/chunk-KLPFDFLI.js +221 -0
  73. package/dist/bundle/{chunk-LMJBQFW6.js → chunk-KP2XMCNT.js} +13 -13
  74. package/dist/bundle/{chunk-FADAOLGB.js → chunk-KWDZ3KVH.js} +4 -4
  75. package/dist/bundle/{chunk-MXNQZAJQ.js → chunk-KX4C32WD.js} +2 -2
  76. package/dist/bundle/chunk-L7P3LUDQ.js +286 -0
  77. package/dist/bundle/{chunk-ILAQIBEO.js → chunk-M2ZWYVWO.js} +1 -1
  78. package/dist/bundle/chunk-MEYYH47C.js +25 -0
  79. package/dist/bundle/{chunk-ZCXWV4XO.js → chunk-ML2QIWX2.js} +4 -4
  80. package/dist/bundle/{chunk-XOL346TJ.js → chunk-MUFF2YTH.js} +2 -2
  81. package/dist/bundle/{chunk-GAHIHE4K.js → chunk-N24YSLED.js} +9166 -9751
  82. package/dist/bundle/chunk-N4GTCPML.js +7 -0
  83. package/dist/bundle/{chunk-DVI72ZQG.js → chunk-NBMGDRP4.js} +1 -1
  84. package/dist/bundle/chunk-NMQRSEZM.js +37 -0
  85. package/dist/bundle/{chunk-I7YSHUPW.js → chunk-NNGA4QDR.js} +13 -26
  86. package/dist/bundle/{chunk-5DPV7X27.js → chunk-NTZWY5R3.js} +321 -0
  87. package/dist/bundle/chunk-O7CZZ36M.js +80 -0
  88. package/dist/bundle/{chunk-HWUPU6WX.js → chunk-OAONP6KI.js} +13 -9
  89. package/dist/bundle/{chunk-3CHW7JGR.js → chunk-OESP4PHB.js} +17 -17
  90. package/dist/bundle/chunk-OHR6IZNH.js +116 -0
  91. package/dist/bundle/{chunk-54NDYVZA.js → chunk-OLCU7Q2B.js} +1 -1
  92. package/dist/bundle/{chunk-FN3RXBO7.js → chunk-OLDQLEPA.js} +6 -6
  93. package/dist/bundle/{chunk-7DJNURKV.js → chunk-OPIPG6AP.js} +16 -9
  94. package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
  95. package/dist/bundle/chunk-PRYMT3OG.js +30 -0
  96. package/dist/bundle/chunk-QDUIVMEW.js +36 -0
  97. package/dist/bundle/{chunk-66PL7P4C.js → chunk-QKBPCX7Y.js} +1 -1
  98. package/dist/bundle/{chunk-PN4JYURZ.js → chunk-QSLOACDT.js} +201 -423
  99. package/dist/bundle/{chunk-3UWRAIWA.js → chunk-QUZFDU4K.js} +4 -4
  100. package/dist/bundle/{chunk-KSJAFMU5.js → chunk-R32DHS6J.js} +211 -380
  101. package/dist/bundle/{chunk-2SBC4DVV.js → chunk-R57QUYBG.js} +6 -28
  102. package/dist/bundle/{chunk-IFTX7AQU.js → chunk-R64OSDOD.js} +45 -66
  103. package/dist/bundle/{chunk-WJK6KTCS.js → chunk-RSPBVKOC.js} +8 -8
  104. package/dist/bundle/{chunk-GPDPEHYX.js → chunk-SPNPJ3FZ.js} +3 -4
  105. package/dist/bundle/chunk-SQHDSIFL.js +388 -0
  106. package/dist/bundle/{chunk-XZBA6FVH.js → chunk-ST35FIUG.js} +3 -3
  107. package/dist/bundle/{chunk-37MAA6F2.js → chunk-STUPCKAA.js} +11 -2221
  108. package/dist/bundle/chunk-SZ7XJZGH.js +2231 -0
  109. package/dist/bundle/chunk-TRYYWV7J.js +291 -0
  110. package/dist/bundle/{chunk-OY7TNUEC.js → chunk-TTPWKTVR.js} +1 -1
  111. package/dist/bundle/{chunk-3UZ4OH22.js → chunk-U7VEJ3CW.js} +49 -129
  112. package/dist/bundle/{chunk-6Y2BYFXQ.js → chunk-UC7JLE6J.js} +0 -7
  113. package/dist/bundle/{chunk-HK225DAG.js → chunk-UIQ35CA5.js} +1 -1
  114. package/dist/bundle/{chunk-GK3BJMGK.js → chunk-UJY26HW4.js} +1 -1
  115. package/dist/bundle/{chunk-EG62WVR2.js → chunk-UWG3PRY7.js} +9 -60
  116. package/dist/bundle/{chunk-BBRMDMIR.js → chunk-VAR3MJU6.js} +3 -3
  117. package/dist/bundle/{chunk-GJZSVSV3.js → chunk-VPQSI5IU.js} +4 -4
  118. package/dist/bundle/{chunk-YZPE72GE.js → chunk-VQPT3Y7W.js} +12 -12
  119. package/dist/bundle/{chunk-T5D4OGDC.js → chunk-WMG3H2VK.js} +2 -2
  120. package/dist/bundle/{chunk-6DPOWBKA.js → chunk-X5BGAZC5.js} +6 -6
  121. package/dist/bundle/{chunk-DHX27E5M.js → chunk-XC6TRWLZ.js} +3 -3
  122. package/dist/bundle/{chunk-Q5C6YKAY.js → chunk-XQZEMRCU.js} +402 -402
  123. package/dist/bundle/{chunk-54BQWRJL.js → chunk-XZ7MO6EU.js} +7 -7
  124. package/dist/bundle/{chunk-TGS5VPJD.js → chunk-YAIOEPKU.js} +341 -433
  125. package/dist/bundle/chunk-YHWFF6DN.js +39 -0
  126. package/dist/bundle/{chunk-WWE5GO6G.js → chunk-YWOLQEDV.js} +16 -3
  127. package/dist/bundle/{chunk-DR57KDAY.js → chunk-ZFDSJ5YJ.js} +38 -8
  128. package/dist/bundle/{chunk-BBFXQPKD.js → chunk-ZFUZEFU6.js} +3 -3
  129. package/dist/bundle/{chunk-YRUR3E3E.js → chunk-ZJKXSMXK.js} +72 -59
  130. package/dist/bundle/{chunk-BFKFKDPC.js → chunk-ZKWT6HXT.js} +1 -1
  131. package/dist/bundle/chunk-ZPUY3COZ.js +250 -0
  132. package/dist/bundle/{cli-K4D4DIGQ.js → cli-2P5FW2RL.js} +201 -98
  133. package/dist/bundle/command-contract-BMQT2G5X.js +45 -0
  134. package/dist/bundle/{command-server-entry-WREK3QBB.js → command-server-entry-KP2UDGLA.js} +36 -34
  135. package/dist/bundle/{decode-SEETPKBH.js → decode-K2JZ5D6V.js} +10 -10
  136. package/dist/bundle/{dispatch-SQCEURVK.js → dispatch-KOQZA74A.js} +10 -10
  137. package/dist/bundle/dist-PAKDDIBT.js +191 -0
  138. package/dist/bundle/drive.js +11 -11
  139. package/dist/bundle/{echarts-WZ5RKFCX.js → echarts-URO3QGCG.js} +2 -2
  140. package/dist/bundle/{embed-B2UCRZZR.js → embed-JLIPWTNN.js} +10 -10
  141. package/dist/bundle/{embedder-4R6Z7G7L.js → embedder-LUTDO3HS.js} +15 -15
  142. package/dist/bundle/entry-AVF6LMG7.js +25 -0
  143. package/dist/bundle/{failure-CYNXH3RQ.js → failure-GJMQLM7O.js} +4 -4
  144. package/dist/bundle/first-run-VYTIEUDA.js +31 -0
  145. package/dist/bundle/first-screen-QVZPF7KL.js +45 -0
  146. package/dist/bundle/google-VX7IPACN.js +46 -0
  147. package/dist/bundle/{google-api-SAND2F7L.js → google-api-RFXKRLL4.js} +88 -73
  148. package/dist/bundle/grants-4XWJFVD6.js +133 -0
  149. package/dist/bundle/hast-util-from-html-X2DCPS3T.js +10531 -0
  150. package/dist/bundle/hast-util-to-html-VP6XLPKJ.js +998 -0
  151. package/dist/bundle/hast-util-to-mdast-IZ5PRX72.js +2272 -0
  152. package/dist/bundle/{identity-JVVGS4U6.js → identity-FXPB5EMT.js} +7 -6
  153. package/dist/bundle/{instructions-JSMTSB22.js → instructions-IROIUVZI.js} +1 -1
  154. package/dist/bundle/{login-6WG3YBDU.js → login-WIY5VQU7.js} +96 -81
  155. package/dist/bundle/{mcp-VFIOZDVY.js → mcp-NJIOKW3E.js} +2 -2
  156. package/dist/bundle/{mdast-util-from-markdown-FXEPSNER.js → mdast-util-from-markdown-HEZF7KJ4.js} +137 -195
  157. package/dist/bundle/mdast-util-gfm-AQW6R6MG.js +925 -0
  158. package/dist/bundle/mdast-util-to-hast-DF2QVIRV.js +879 -0
  159. package/dist/bundle/mdast-util-to-markdown-XYLXB3Z3.js +18 -0
  160. package/dist/bundle/meeting-combined-JUNV35GM.js +28 -0
  161. package/dist/bundle/meeting-model-XY4UNWWK.js +29 -0
  162. package/dist/bundle/{meeting-semantic-5U7JQCFF.js → meeting-semantic-62QNQMOM.js} +10 -10
  163. package/dist/bundle/{micromark-extension-gfm-GRL24TU6.js → micromark-extension-gfm-OE2GBORZ.js} +11 -78
  164. package/dist/bundle/{node-VJMVHOWD.js → node-IACCI2CW.js} +2 -2
  165. package/dist/bundle/{node-sqlite-DCNT3HVE.js → node-sqlite-WYIRC7C7.js} +10 -10
  166. package/dist/bundle/notes-search-DEDUJKSN.js +70 -0
  167. package/dist/bundle/oauth-HXBXF4VI.js +22 -0
  168. package/dist/bundle/{open-NFOEHVW7.js → open-H32B6BCT.js} +8 -8
  169. package/dist/bundle/{openai-D47WY7EC.js → openai-VHMPJJUG.js} +22 -21
  170. package/dist/bundle/{process-Q2FRU5VA.js → process-RNHPF5OK.js} +1 -1
  171. package/dist/bundle/{program-T2AJJQEM.js → program-GYMJ3DDH.js} +276 -1132
  172. package/dist/bundle/{prompt-YJSDABXN.js → prompt-TOG2CRCE.js} +8 -8
  173. package/dist/bundle/{reasons-WEHPCSJX.js → reasons-TLFQ45YX.js} +6 -5
  174. package/dist/bundle/{recognize-6OBEIEB3.js → recognize-GYGY45EY.js} +7 -7
  175. package/dist/bundle/remote-6XN2QLI5.js +35 -0
  176. package/dist/bundle/{rerank-L6F5SLIB.js → rerank-HJO3O4TW.js} +11 -11
  177. package/dist/bundle/{serve-GYSWIWH4.js → serve-XPCNLHCR.js} +19 -19
  178. package/dist/bundle/server-UBJZ66XE.js +97 -0
  179. package/dist/bundle/{server-GWWP3RIT.js → server-WPT3NC5B.js} +89 -70
  180. package/dist/bundle/{services-BDQBRXT5.js → services-253KKKVU.js} +109 -89
  181. package/dist/bundle/{sqlite-runtime-ZSZGAUYB.js → sqlite-runtime-EZASGJXW.js} +9 -9
  182. package/dist/bundle/{start-BJ275RUK.js → start-UHI35JFL.js} +7 -7
  183. package/dist/bundle/{state-HLNGFI2T.js → state-KJTSPFGK.js} +9 -9
  184. package/dist/bundle/{store-I43KZNJW.js → store-62J2H2A3.js} +36 -25
  185. package/dist/bundle/{store-OSRTGYGI.js → store-G5B7T7M7.js} +38 -23
  186. package/dist/bundle/store-maintenance-command-C6T4YLVF.js +85 -0
  187. package/dist/bundle/surface-3OT64BHS.js +83 -0
  188. package/dist/bundle/tokens-EHYO6D2X.js +133 -0
  189. package/dist/commands/documents.d.ts.map +1 -1
  190. package/dist/commands/documents.js +11 -1
  191. package/dist/commands/documents.js.map +1 -1
  192. package/dist/commands/remote.d.ts.map +1 -1
  193. package/dist/commands/remote.js +8 -22
  194. package/dist/commands/remote.js.map +1 -1
  195. package/dist/commands/sync.d.ts.map +1 -1
  196. package/dist/commands/sync.js +14 -4
  197. package/dist/commands/sync.js.map +1 -1
  198. package/dist/config.d.ts +5 -0
  199. package/dist/config.d.ts.map +1 -1
  200. package/dist/config.js +7 -1
  201. package/dist/config.js.map +1 -1
  202. package/dist/first-screen.d.ts.map +1 -1
  203. package/dist/first-screen.js +2 -1
  204. package/dist/first-screen.js.map +1 -1
  205. package/dist/generated/manifest.d.ts +2 -1
  206. package/dist/generated/manifest.d.ts.map +1 -1
  207. package/dist/generated/manifest.js +782 -0
  208. package/dist/generated/manifest.js.map +1 -1
  209. package/dist/generated/types.d.ts +262 -58
  210. package/dist/generated/types.d.ts.map +1 -1
  211. package/dist/google.d.ts.map +1 -1
  212. package/dist/google.js +5 -5
  213. package/dist/google.js.map +1 -1
  214. package/dist/model.d.ts +5 -2
  215. package/dist/model.d.ts.map +1 -1
  216. package/dist/model.js.map +1 -1
  217. package/dist/policy-keys.js +1 -1
  218. package/dist/policy-keys.js.map +1 -1
  219. package/dist/program.d.ts.map +1 -1
  220. package/dist/program.js +9 -4
  221. package/dist/program.js.map +1 -1
  222. package/dist/state.d.ts.map +1 -1
  223. package/dist/state.js +6 -1
  224. package/dist/state.js.map +1 -1
  225. package/dist/store.d.ts.map +1 -1
  226. package/dist/store.js +2 -7
  227. package/dist/store.js.map +1 -1
  228. package/dist/supported.d.ts +2 -2
  229. package/dist/supported.d.ts.map +1 -1
  230. package/dist/supported.js +2 -3
  231. package/dist/supported.js.map +1 -1
  232. package/dist/sync.d.ts +2 -1
  233. package/dist/sync.d.ts.map +1 -1
  234. package/dist/sync.js +6 -4
  235. package/dist/sync.js.map +1 -1
  236. package/dist/transcripts.d.ts +0 -6
  237. package/dist/transcripts.d.ts.map +1 -1
  238. package/dist/transcripts.js +0 -13
  239. package/dist/transcripts.js.map +1 -1
  240. package/dist/version.d.ts +1 -1
  241. package/dist/version.js +1 -1
  242. package/package.json +3 -3
  243. package/scenarios/find-decision.md +1 -1
  244. package/skills/drive-cli/SKILL.md +4 -2
  245. package/dist/bundle/chunk-AV5UKJZM.js +0 -729
  246. package/dist/bundle/chunk-NP7LJATI.js +0 -598
  247. package/dist/bundle/chunk-P77FL6RY.js +0 -896
  248. package/dist/bundle/chunk-ZI3YTXSF.js +0 -2
  249. package/dist/bundle/command-contract-V3F452QI.js +0 -43
  250. package/dist/bundle/entry-ORZYRJ5N.js +0 -25
  251. package/dist/bundle/first-run-KAKA6KBY.js +0 -31
  252. package/dist/bundle/first-screen-R645UHRH.js +0 -41
  253. package/dist/bundle/google-BSO3YB7N.js +0 -45
  254. package/dist/bundle/grants-PLNFYARD.js +0 -118
  255. package/dist/bundle/mdast-util-gfm-SZM5GBDF.js +0 -2103
  256. package/dist/bundle/meeting-combined-SUKMFK3F.js +0 -27
  257. package/dist/bundle/meeting-model-S4YGKIFI.js +0 -29
  258. package/dist/bundle/oauth-KCMNQ3ZP.js +0 -22
  259. package/dist/bundle/remote-3SL2QJ7T.js +0 -35
  260. package/dist/bundle/server-BI46BSRE.js +0 -80
  261. package/dist/bundle/store-maintenance-command-FO7LEVSL.js +0 -72
  262. package/dist/bundle/tokens-DB7O7QNB.js +0 -118
@@ -1,9 +1,5 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
- import {
4
- modelSettingsShape,
5
- resolveModelSettings
6
- } from "./chunk-FYPW7NMH.js";
7
3
  import {
8
4
  currentCaller,
9
5
  endpointTemplate,
@@ -13,33 +9,39 @@ import {
13
9
  providerErrorKey,
14
10
  renderEvent,
15
11
  runContextOf
16
- } from "./chunk-54BQWRJL.js";
12
+ } from "./chunk-XZ7MO6EU.js";
13
+ import {
14
+ permissionCeiling
15
+ } from "./chunk-7EFM6AW3.js";
16
+ import {
17
+ carries
18
+ } from "./chunk-FIZOPJYY.js";
19
+ import {
20
+ IMAGE_MODELS,
21
+ stopWrites,
22
+ withWriteScope
23
+ } from "./chunk-HAGXTGJC.js";
24
+ import {
25
+ modelSettingsShape,
26
+ resolveModelSettings,
27
+ runBudget
28
+ } from "./chunk-4JS32SRX.js";
17
29
  import {
18
30
  ancestorValue,
19
31
  envName,
20
32
  readOnlyLockOf,
21
33
  readOnlyRefusal
22
- } from "./chunk-PR7XD2DI.js";
23
- import {
24
- carries
25
- } from "./chunk-4WK26MPY.js";
34
+ } from "./chunk-5KWCO56H.js";
26
35
  import {
27
36
  DEFAULT_RERANK_MODEL,
28
37
  RERANK_MODELS
29
- } from "./chunk-TNKQDS5A.js";
30
- import {
31
- permissionCeiling
32
- } from "./chunk-GV5DGHSA.js";
38
+ } from "./chunk-IMAWQC5K.js";
33
39
  import {
34
40
  endpoint
35
- } from "./chunk-DR57KDAY.js";
41
+ } from "./chunk-ZFDSJ5YJ.js";
36
42
  import {
37
43
  note
38
- } from "./chunk-BBFXQPKD.js";
39
- import {
40
- filesPresent,
41
- sharedModelsDirectory
42
- } from "./chunk-FONIFRYI.js";
44
+ } from "./chunk-ZFUZEFU6.js";
43
45
  import {
44
46
  BUSINESS_KINDS,
45
47
  CATEGORIES,
@@ -51,11 +53,8 @@ import {
51
53
  FINANCE_REVIEWS,
52
54
  INVOICE_DIRECTIONS,
53
55
  INVOICE_STATUSES,
54
- KEEP_STORE_RUNS_FOR_DAYS,
55
- KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
56
56
  LINK_KINDS,
57
57
  LINK_SOURCES,
58
- LOG_ATTRIBUTES,
59
58
  MEMORY_KINDS,
60
59
  MEMORY_SCOPES,
61
60
  MEMORY_STATUSES,
@@ -64,7 +63,6 @@ import {
64
63
  ORDER_STATUSES,
65
64
  PRIORITY_LABELS,
66
65
  RELATION_KINDS,
67
- RUNS_SIZE_LIMIT_MB,
68
66
  STANDINGS,
69
67
  TASK_KINDS,
70
68
  TASK_ORIGINS,
@@ -73,45 +71,52 @@ import {
73
71
  TASK_VERDICTS,
74
72
  WORK_TASK_TYPES,
75
73
  author,
76
- childTrace,
77
74
  count,
78
- currentRun,
79
- enclosingTraceId,
80
75
  evidenceSource,
81
76
  id,
82
- inRun,
83
- isGroupName,
84
- logAttributes,
85
77
  markStoreDamaged,
86
- newRunId,
87
78
  organization,
88
79
  project,
89
80
  providerMetadata,
90
81
  reminder,
91
- runsDirFor,
92
- snakeLogger,
93
82
  sourceReview,
94
- startRun,
95
83
  text,
96
84
  time,
85
+ untrusted
86
+ } from "./chunk-FNAYSZWK.js";
87
+ import {
88
+ KEEP_STORE_RUNS_FOR_DAYS,
89
+ KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
90
+ LOG_ATTRIBUTES,
91
+ RUNS_SIZE_LIMIT_MB,
92
+ childTrace,
93
+ currentRun,
94
+ enclosingTraceId,
95
+ inRun,
96
+ isGroupName,
97
+ logAttributes,
98
+ newRunId,
99
+ runsDirFor,
100
+ snakeLogger,
101
+ startRun,
97
102
  traceOf,
98
103
  typedCommand,
99
- untrusted,
100
104
  useAsProcessRun
101
- } from "./chunk-YCL3SK4T.js";
105
+ } from "./chunk-COJTCEZP.js";
102
106
  import {
103
107
  isCliFailure,
104
108
  storeDamaged
105
- } from "./chunk-RLNZ7NX5.js";
109
+ } from "./chunk-6ZW2ZJYC.js";
106
110
  import {
107
111
  TAG_TYPES
108
- } from "./chunk-DHX27E5M.js";
112
+ } from "./chunk-XC6TRWLZ.js";
109
113
  import {
110
114
  FACT_TYPES,
111
115
  MEETING_RESULT_ENTITIES,
112
116
  callStats,
113
117
  event,
114
118
  meeting,
119
+ meetingCall,
115
120
  meetingCounts,
116
121
  meetingDetails,
117
122
  meetingHit,
@@ -127,21 +132,21 @@ import {
127
132
  meetingTagging,
128
133
  meetingTranscript,
129
134
  readsZone
130
- } from "./chunk-P7PLKNPX.js";
135
+ } from "./chunk-DHMNCOQI.js";
131
136
  import {
132
137
  FIELD_TYPES,
133
138
  QUERY_BACKENDS,
134
139
  describeQuery,
135
140
  parseLucene,
136
141
  timezoneOf
137
- } from "./chunk-Q5C6YKAY.js";
142
+ } from "./chunk-XQZEMRCU.js";
138
143
  import {
139
144
  repairConfigText,
140
145
  sharedConfigPath
141
- } from "./chunk-WJK6KTCS.js";
146
+ } from "./chunk-RSPBVKOC.js";
142
147
  import {
143
148
  storePath
144
- } from "./chunk-T5D4OGDC.js";
149
+ } from "./chunk-WMG3H2VK.js";
145
150
  import {
146
151
  configFilePath,
147
152
  createRecordLog,
@@ -152,19 +157,19 @@ import {
152
157
  resolvePaths,
153
158
  saveConfigFile,
154
159
  writeSecurely
155
- } from "./chunk-HRATXUFH.js";
160
+ } from "./chunk-6CCO3JCM.js";
156
161
  import {
157
162
  EXIT_CODES,
158
163
  GENERIC_FAILURE,
159
164
  exitCodeOfAnswer
160
- } from "./chunk-SONPLYV7.js";
165
+ } from "./chunk-55FH6IEL.js";
161
166
  import {
162
167
  singleLine,
163
168
  visibleControls
164
- } from "./chunk-ABZ2NYDT.js";
169
+ } from "./chunk-FUDUXIVG.js";
165
170
  import {
166
171
  defineLogEvents
167
- } from "./chunk-7IBENBCK.js";
172
+ } from "./chunk-EVG3AA5M.js";
168
173
  import {
169
174
  COMPACT_FLAG,
170
175
  MAX_NEXT_STEPS,
@@ -214,16 +219,15 @@ import {
214
219
  unwrap,
215
220
  variant,
216
221
  writes
217
- } from "./chunk-HHAZ6DCY.js";
222
+ } from "./chunk-GXGSC622.js";
218
223
  import {
219
- CliError,
220
- isCliError
221
- } from "./chunk-54NDYVZA.js";
224
+ CliError
225
+ } from "./chunk-OLCU7Q2B.js";
222
226
  import {
223
227
  __name
224
228
  } from "./chunk-ZVVMGPBJ.js";
225
229
 
226
- // node_modules/.pnpm/@wirecat+cli-base@0.101.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
230
+ // node_modules/.pnpm/@wirecat+cli-base@0.128.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
227
231
  var labels = /* @__PURE__ */ new WeakMap();
228
232
  var annotate = /* @__PURE__ */ __name((command, meta) => {
229
233
  labels.set(command, { ...labels.get(command), ...meta });
@@ -243,8 +247,8 @@ var snake = /* @__PURE__ */ __name((name) => name.replace(/[A-Z]/g, (letter) =>
243
247
  var stepTargets = /* @__PURE__ */ __name((root) => {
244
248
  const found = /* @__PURE__ */ new Map();
245
249
  const optionName = /* @__PURE__ */ __name((option) => snake((option.long ?? option.attributeName()).replace(/^--/, "")), "optionName");
246
- const visit2 = /* @__PURE__ */ __name((command, parents2, above) => {
247
- const path2 = [...parents2, command.name()];
250
+ const visit2 = /* @__PURE__ */ __name((command, parents, above) => {
251
+ const path2 = [...parents, command.name()];
248
252
  const options = [...above, ...command.options];
249
253
  const { effects } = metaOf(command);
250
254
  found.set(path2.join(" "), {
@@ -266,8 +270,8 @@ var describeAlone = /* @__PURE__ */ __name((command, known) => {
266
270
  }
267
271
  return found;
268
272
  }, "describeAlone");
269
- var describe = /* @__PURE__ */ __name((command, cli, parents2, above, known) => {
270
- const path2 = [...parents2, command.name()];
273
+ var describe = /* @__PURE__ */ __name((command, cli, parents, above, known) => {
274
+ const path2 = [...parents, command.name()];
271
275
  const args = command.registeredArguments.map(describeArgument);
272
276
  const options = describeOptions(command);
273
277
  const { origin = "handwritten", query, mcp, offline, ...meta } = metaOf(command);
@@ -3724,7 +3728,7 @@ __name(useColor, "useColor");
3724
3728
  // node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
3725
3729
  var program = new Command();
3726
3730
 
3727
- // node_modules/.pnpm/@wirecat+cli-base@0.101.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
3731
+ // node_modules/.pnpm/@wirecat+cli-base@0.128.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
3728
3732
  import { isDeepStrictEqual } from "node:util";
3729
3733
  var protectedCommands = /* @__PURE__ */ new WeakMap();
3730
3734
  var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
@@ -3926,7 +3930,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
3926
3930
  return command;
3927
3931
  }, "customizeSharedCommand");
3928
3932
 
3929
- // node_modules/.pnpm/@wirecat+cli-base@0.101.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
3933
+ // node_modules/.pnpm/@wirecat+cli-base@0.128.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
3930
3934
  var argumentInfoSchema = object({
3931
3935
  name: string(),
3932
3936
  required: boolean(),
@@ -4009,7 +4013,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
4009
4013
  exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
4010
4014
  }), "commandsDocument");
4011
4015
 
4012
- // node_modules/.pnpm/@wirecat+cli-base@0.101.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
4016
+ // node_modules/.pnpm/@wirecat+cli-base@0.128.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
4013
4017
  var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
4014
4018
  let command = root;
4015
4019
  const path2 = [];
@@ -4027,9 +4031,16 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
4027
4031
  }
4028
4032
  }, "refuseJoinedPath");
4029
4033
 
4030
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/sends/permissions.js
4034
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/sends/permissions.js
4031
4035
  var LEVELS = ["deny", "readonly", "ask", "allow"];
4032
- var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
4036
+ var DANGEROUS = /* @__PURE__ */ new Set([
4037
+ "messages.delete",
4038
+ "messages.scheduled.cancel",
4039
+ "bot.messages.delete",
4040
+ "topics.delete",
4041
+ "chats.delete",
4042
+ "chats.clear"
4043
+ ]);
4033
4044
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
4034
4045
  var DEFAULT_PERMISSIONS = {
4035
4046
  // Owner, 2026-11-14: deleting a message does not ask; a profile that wants the question sets `ask`.
@@ -4250,6 +4261,9 @@ var NAMED_WRITE_KEYS = [
4250
4261
  "messages.sync-first",
4251
4262
  "messages.server-search",
4252
4263
  "messages.press",
4264
+ "messages.scheduled.cancel",
4265
+ "messages.scheduled.edit",
4266
+ "messages.scheduled.send",
4253
4267
  "chats.start",
4254
4268
  "chats.app",
4255
4269
  "stats.messages.counters.sync",
@@ -4453,7 +4467,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
4453
4467
  }
4454
4468
  }, "assertRetentionEvidenceRead");
4455
4469
 
4456
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
4470
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
4457
4471
  var WEIGHTS = {
4458
4472
  bot: 3,
4459
4473
  scam: 3,
@@ -4478,7 +4492,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
4478
4492
  var DIGITS = /\d{5,}/;
4479
4493
  var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
4480
4494
 
4481
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
4495
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
4482
4496
  var linkedIdentity = strictObject({
4483
4497
  provider: text,
4484
4498
  id,
@@ -4533,7 +4547,7 @@ var contactCheck = strictObject({
4533
4547
  checked_at: time
4534
4548
  });
4535
4549
 
4536
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/member.js
4550
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/member.js
4537
4551
  var member = strictObject({
4538
4552
  id,
4539
4553
  name: nullable(text),
@@ -4556,7 +4570,7 @@ var member = strictObject({
4556
4570
  check: optional(record(string(), unknown()))
4557
4571
  });
4558
4572
 
4559
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chat.js
4573
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/chat.js
4560
4574
  var setting = optional(nullable(boolean()));
4561
4575
  var chat = strictObject({
4562
4576
  ref: reference,
@@ -4597,7 +4611,7 @@ var chat = strictObject({
4597
4611
  members: optional(array(member))
4598
4612
  });
4599
4613
 
4600
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/attachment.js
4614
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/attachment.js
4601
4615
  var attachment = strictObject({
4602
4616
  /** The message it came with, as a locator; absent inside that message. */
4603
4617
  message: optional(reference),
@@ -4642,7 +4656,7 @@ var hitFile = strictObject({
4642
4656
  local_path: optional(text)
4643
4657
  });
4644
4658
 
4645
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/message.js
4659
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/message.js
4646
4660
  var quoted = strictObject({
4647
4661
  id,
4648
4662
  sender_id: nullable(id),
@@ -4756,12 +4770,14 @@ var message = strictObject({
4756
4770
  /** Mail `review`: no earlier stored email, in any account, came from this address. */
4757
4771
  new_sender: optional(boolean()),
4758
4772
  /** Mail `review`: how many identities the sender's person has; 1 is this address alone. */
4759
- sender_identities: optional(number())
4773
+ sender_identities: optional(number()),
4774
+ /** Mail `review`: how `inbox` sorted the thread, by the AI model; the reason is untrusted. */
4775
+ inbox: optional(strictObject({ bucket: picklist(["answer", "read", "later"]), reason: text }))
4760
4776
  })),
4761
4777
  provider_metadata: providerMetadata
4762
4778
  });
4763
4779
 
4764
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
4780
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
4765
4781
  var recordedMeeting = strictObject({
4766
4782
  ref: reference,
4767
4783
  meeting_id: count,
@@ -4770,11 +4786,15 @@ var recordedMeeting = strictObject({
4770
4786
  started_at: nullable(time),
4771
4787
  duration_ms: nullable(count),
4772
4788
  has_transcript: boolean(),
4789
+ /** The start of its transcript, on one line: what the people said, never instructions. */
4790
+ snippet: optional(nullable(text)),
4773
4791
  event: nullable(reference),
4774
- people: array(reference)
4792
+ people: array(reference),
4793
+ /** Present only on a phone call: its direction, manager and the other side's number. */
4794
+ call: optional(meetingCall)
4775
4795
  });
4776
4796
 
4777
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
4797
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
4778
4798
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
4779
4799
  var contextMessage = strictObject({
4780
4800
  locator: reference,
@@ -4980,7 +5000,7 @@ var contactPreparation = strictObject({
4980
5000
  })
4981
5001
  });
4982
5002
 
4983
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/deal.js
5003
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/deal.js
4984
5004
  var nullableText = nullable(text);
4985
5005
  var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
4986
5006
  var outcome = picklist(["open", "won", "lost"]);
@@ -4998,6 +5018,12 @@ var activity = strictObject({
4998
5018
  created_at: time,
4999
5019
  updated_at: time
5000
5020
  });
5021
+ var stageEntry = strictObject({
5022
+ from: nullableText,
5023
+ to: text,
5024
+ at: time,
5025
+ exact: boolean()
5026
+ });
5001
5027
  var deal = strictObject({
5002
5028
  id,
5003
5029
  ref: reference,
@@ -5028,7 +5054,10 @@ var deal = strictObject({
5028
5054
  external_id: nullableText,
5029
5055
  /** A CRM copy's assignee, the identity `<account>/user/<id>`. */
5030
5056
  assignee: nullableText,
5031
- /** A CRM copy's own fields by code; a list field's value is its option's label, `option_id` its id. */
5057
+ /**
5058
+ * A CRM copy's own fields by code; a list field's value is its option's label, `option_id` its id. `amount_note` is
5059
+ * WireCat's own note, not a CRM field: the CRM's amount the store could not keep, and why.
5060
+ */
5032
5061
  provider_metadata: record(string(), strictObject({
5033
5062
  label: nullable(string()),
5034
5063
  value: unknown(),
@@ -5053,9 +5082,30 @@ var deal = strictObject({
5053
5082
  activities: optional(array(activity)),
5054
5083
  /** `show` of a CRM copy: the newest recorded meetings and calls of its people, in its account's scope. */
5055
5084
  meetings: optional(array(recordedMeeting)),
5085
+ /**
5086
+ * `show` of a CRM copy: every stage it entered, oldest first. Once the CRM's own history names any, it alone is
5087
+ * listed, from as far back as it was read; the copy's changes between syncs are left out.
5088
+ */
5089
+ stage_history: optional(array(stageEntry)),
5056
5090
  untrusted
5057
5091
  });
5058
5092
  var lead = deal;
5093
+ var amount = strictObject({ amount: text, currency: text, items: count });
5094
+ var winRate = nullable(number());
5095
+ var pipelineOwner = strictObject({
5096
+ assignee: nullableText,
5097
+ name: nullableText,
5098
+ open: count,
5099
+ won: count,
5100
+ lost: count,
5101
+ win_rate: winRate
5102
+ });
5103
+ var pipelineClosed = strictObject({
5104
+ won: count,
5105
+ lost: count,
5106
+ win_rate: winRate,
5107
+ won_amounts: array(amount)
5108
+ });
5059
5109
  var pipelineStage = strictObject({
5060
5110
  name: text,
5061
5111
  position: count,
@@ -5068,8 +5118,11 @@ var pipelineStage = strictObject({
5068
5118
  conversion: optional(nullable(number())),
5069
5119
  /** With a funnel: rows standing in it now, and their sum per currency, never converted. */
5070
5120
  items: optional(count),
5071
- amounts: optional(array(strictObject({ amount: text, currency: text, items: count })))
5121
+ amounts: optional(array(amount)),
5122
+ /** With a funnel: the median days a row of the window stayed in it before it moved on. */
5123
+ median_days: optional(nullable(number()))
5072
5124
  });
5125
+ var pipelineStageAnswer = pipelineStage;
5073
5126
  var pipeline = strictObject({
5074
5127
  id,
5075
5128
  ref: reference,
@@ -5077,10 +5130,20 @@ var pipeline = strictObject({
5077
5130
  kind: picklist(["deal", "lead"]),
5078
5131
  account: crmAccount,
5079
5132
  external_id: nullableText,
5080
- stages: array(pipelineStage),
5133
+ stages: array(pipelineStageAnswer),
5081
5134
  created_at: time,
5082
- totals: optional(strictObject({ items: count, open: count, won: count, lost: count, win_rate: nullable(number()) })),
5135
+ /** `show`: the rows made in the window. */
5136
+ totals: optional(strictObject({ items: count, open: count, won: count, lost: count, win_rate: winRate })),
5137
+ window: optional(strictObject({ since: nullable(time), until: nullable(time) })),
5083
5138
  since: optional(day),
5139
+ /** `show`: rows closed on a day in the window, in the owner's zone. */
5140
+ closed: optional(pipelineClosed),
5141
+ /** `show`: days from made to won, of the rows won in the window. */
5142
+ cycle: optional(strictObject({ median_days: nullable(number()), items: count })),
5143
+ owners: optional(array(pipelineOwner)),
5144
+ lost_reasons: optional(array(strictObject({ reason: text, items: count }))),
5145
+ /** `show`: rows whose stages came from the CRM's own history, and from the copy's diffs. */
5146
+ history: optional(strictObject({ exact: count, copy: count })),
5084
5147
  untrusted
5085
5148
  });
5086
5149
  var stage = strictObject({
@@ -5088,10 +5151,12 @@ var stage = strictObject({
5088
5151
  pipeline: reference,
5089
5152
  pipeline_name: text,
5090
5153
  kind: picklist(["deal", "lead"]),
5154
+ /** A CRM's stage: the task its `stage-tasks` rule opens when a row enters it, or `null`. */
5155
+ stage_task: optional(nullable(strictObject({ title: text, due_days: count }))),
5091
5156
  untrusted
5092
5157
  });
5093
5158
 
5094
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/business-context.js
5159
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/business-context.js
5095
5160
  var nullableText2 = nullable(text);
5096
5161
  var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
5097
5162
  var standing = picklist(STANDINGS);
@@ -5177,6 +5242,16 @@ var taskLine = strictObject({
5177
5242
  due_at: nullable(time)
5178
5243
  });
5179
5244
  var counts = { messages: count, mail: count, meetings: count };
5245
+ var touch = {
5246
+ kind: picklist(["message", "mail", "meeting"]),
5247
+ ref: reference,
5248
+ title: nullableText2,
5249
+ at: nullable(time),
5250
+ people: array(reference),
5251
+ text: optional(nullableText2),
5252
+ call: optional(meetingCall),
5253
+ duration_ms: optional(nullable(count))
5254
+ };
5180
5255
  var personBusiness = strictObject({
5181
5256
  organizations: section(strictObject({ ...related.entries, categories })),
5182
5257
  reports_to: section(related),
@@ -5216,13 +5291,15 @@ var organizationContext = strictObject({
5216
5291
  money,
5217
5292
  /** Counts only, through its own people, in the accounts read. */
5218
5293
  communications: strictObject({ ...counts, has_more: boolean() }),
5294
+ /** Its people's messages, mail and meetings, newest first. */
5295
+ history: section(strictObject(touch)),
5219
5296
  tasks: section(taskLine),
5220
5297
  coverage: coverage2
5221
5298
  });
5222
5299
  var { untrusted: _, ...dealRow } = deal.entries;
5223
5300
  var dealContext = strictObject({
5224
5301
  deal: strictObject(dealRow),
5225
- stages: section(strictObject({ from: nullableText2, to: text, pipeline: reference, at: time })),
5302
+ stages: section(strictObject({ from: nullableText2, to: text, pipeline: reference, at: time, exact: boolean() })),
5226
5303
  organization: nullable(strictObject({ ref: reference, name: nullableText2, categories })),
5227
5304
  participants: section(related),
5228
5305
  owner: nullable(related),
@@ -5231,14 +5308,7 @@ var dealContext = strictObject({
5231
5308
  window: strictObject({ since: time, until: time }),
5232
5309
  /** Shared people within its lifetime: `proposed`, an overlap of people, never a link. */
5233
5310
  communications: strictObject({
5234
- ...section(strictObject({
5235
- kind: picklist(["message", "mail", "meeting"]),
5236
- ref: reference,
5237
- title: nullableText2,
5238
- at: nullable(time),
5239
- people: array(reference),
5240
- standing: literal("proposed")
5241
- })).entries,
5311
+ ...section(strictObject({ ...touch, standing: literal("proposed") })).entries,
5242
5312
  counts: strictObject(counts)
5243
5313
  }),
5244
5314
  tasks: section(taskLine),
@@ -5265,7 +5335,7 @@ var dealBrief = strictObject({
5265
5335
  not_read: coverage2.entries.not_read
5266
5336
  });
5267
5337
 
5268
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/list-results.js
5338
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/list-results.js
5269
5339
  var botProfile = strictObject({
5270
5340
  name: text,
5271
5341
  token: text,
@@ -5389,7 +5459,7 @@ var stickerInventory = strictObject({
5389
5459
  url: optional(nullable(text))
5390
5460
  });
5391
5461
 
5392
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
5462
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
5393
5463
  var actionableError = objectWithRest({
5394
5464
  code: text,
5395
5465
  message: text,
@@ -5406,7 +5476,7 @@ var batchResult = strictObject({
5406
5476
  max_error_percent: count
5407
5477
  });
5408
5478
 
5409
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
5479
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
5410
5480
  var conversationBuild = strictObject({
5411
5481
  chat: id,
5412
5482
  messages: count,
@@ -5431,13 +5501,13 @@ var catchUpPreparation = strictObject({
5431
5501
  prepared: optional(conversationPreparation)
5432
5502
  });
5433
5503
 
5434
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
5504
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
5435
5505
  import { spawn } from "node:child_process";
5436
5506
  import { randomBytes } from "node:crypto";
5437
5507
  import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
5438
5508
  import { dirname, join } from "node:path";
5439
5509
 
5440
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
5510
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
5441
5511
  var progressOf = /* @__PURE__ */ __name((input) => {
5442
5512
  const total = input.total ?? null;
5443
5513
  const updated = input.updatedAt ?? null;
@@ -5453,7 +5523,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
5453
5523
  };
5454
5524
  }, "progressOf");
5455
5525
 
5456
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/runs/record-log.js
5526
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/runs/record-log.js
5457
5527
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
5458
5528
  const run = currentRun();
5459
5529
  const trace = traceId ?? run.traceId;
@@ -5467,7 +5537,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
5467
5537
  }));
5468
5538
  }, "recordLogFor");
5469
5539
 
5470
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
5540
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
5471
5541
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
5472
5542
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
5473
5543
  const out = openSync(log, "a", 384);
@@ -5622,7 +5692,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
5622
5692
  return { job: id6, pid, chat: input.chat, log };
5623
5693
  }, "startArchiveJob");
5624
5694
 
5625
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/job.js
5695
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/job.js
5626
5696
  var problem = strictObject({ code: text, message: text });
5627
5697
  var job = strictObject({
5628
5698
  id,
@@ -5645,7 +5715,7 @@ var job = strictObject({
5645
5715
  error: optional(problem)
5646
5716
  });
5647
5717
 
5648
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
5718
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
5649
5719
  var extractionItem = strictObject({
5650
5720
  ref: reference,
5651
5721
  attachment: count,
@@ -5678,7 +5748,7 @@ var extractionReport = strictObject({
5678
5748
  cursor: optional(text)
5679
5749
  });
5680
5750
 
5681
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
5751
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
5682
5752
  var savedMessageFile = strictObject({
5683
5753
  kind: text,
5684
5754
  path: text,
@@ -5765,7 +5835,7 @@ var messageSyncAll = strictObject({
5765
5835
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
5766
5836
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
5767
5837
 
5768
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/store-records.js
5838
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/store-records.js
5769
5839
  var range = strictObject({ from: number(), to: number() });
5770
5840
  var storeChatStatus = strictObject({
5771
5841
  chat_id: id,
@@ -5863,7 +5933,7 @@ var storeJobRetry = union([
5863
5933
  ]);
5864
5934
  var storeJobClear = strictObject({ cleared: array(id) });
5865
5935
 
5866
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/account.js
5936
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/account.js
5867
5937
  var account = strictObject({
5868
5938
  provider: text,
5869
5939
  id,
@@ -5873,7 +5943,7 @@ var account = strictObject({
5873
5943
  scope: optional(picklist(["personal", "work"]))
5874
5944
  });
5875
5945
 
5876
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/account-session.js
5946
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/account-session.js
5877
5947
  var accountSession = strictObject({
5878
5948
  current: boolean(),
5879
5949
  client: nullable(text),
@@ -5883,7 +5953,7 @@ var accountSession = strictObject({
5883
5953
  created_at: optional(nullable(time))
5884
5954
  });
5885
5955
 
5886
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/account-change.js
5956
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/account-change.js
5887
5957
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
5888
5958
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
5889
5959
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -5912,7 +5982,7 @@ var accountRemoval = strictObject({
5912
5982
  kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
5913
5983
  });
5914
5984
 
5915
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
5985
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
5916
5986
  var accountProfile = strictObject({
5917
5987
  profile: id,
5918
5988
  current: boolean(),
@@ -5924,7 +5994,7 @@ var accountProfile = strictObject({
5924
5994
  bot: optional(literal(true))
5925
5995
  });
5926
5996
 
5927
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
5997
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
5928
5998
  var milliseconds = pipe(number(), minValue(0));
5929
5999
  var counterReading = strictObject({
5930
6000
  counter: picklist(["views", "reactions", "comments"]),
@@ -5936,7 +6006,7 @@ var counterReading = strictObject({
5936
6006
  });
5937
6007
  var selection = record(string(), unknown());
5938
6008
 
5939
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6009
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
5940
6010
  var adminRow = strictObject({
5941
6011
  ref: reference,
5942
6012
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -5989,7 +6059,7 @@ var adminReport = strictObject({
5989
6059
  rows: array(adminRow)
5990
6060
  });
5991
6061
 
5992
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/task.js
6062
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/task.js
5993
6063
  var closeSuggestion = strictObject({
5994
6064
  as: picklist(["done", "dismissed"]),
5995
6065
  /** The agent's name. */
@@ -6051,7 +6121,7 @@ var task = strictObject({
6051
6121
  updated_at: optional(time)
6052
6122
  });
6053
6123
 
6054
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6124
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6055
6125
  var agendaChat = strictObject({
6056
6126
  chat: reference,
6057
6127
  title: nullable(text),
@@ -6121,11 +6191,11 @@ var agenda = strictObject({
6121
6191
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
6122
6192
  });
6123
6193
 
6124
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6194
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6125
6195
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
6126
6196
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
6127
6197
 
6128
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
6198
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
6129
6199
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
6130
6200
  var attachmentBytes = strictObject({
6131
6201
  ref: reference,
@@ -6156,7 +6226,7 @@ var attachmentTextChange = strictObject({
6156
6226
  text: optional(text)
6157
6227
  });
6158
6228
 
6159
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chart.js
6229
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/chart.js
6160
6230
  var chart = strictObject({
6161
6231
  version: literal(1),
6162
6232
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -6171,7 +6241,7 @@ var chart = strictObject({
6171
6241
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
6172
6242
  });
6173
6243
 
6174
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/folder.js
6244
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/folder.js
6175
6245
  var named = strictObject({
6176
6246
  id,
6177
6247
  title: nullable(text),
@@ -6194,7 +6264,7 @@ var folder = strictObject({
6194
6264
  excluded_chats: optional(array(named))
6195
6265
  });
6196
6266
 
6197
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
6267
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
6198
6268
  var inviteLink = strictObject({
6199
6269
  link: text,
6200
6270
  /** Who joins by it asks first, and an admin lets them in. */
@@ -6210,7 +6280,7 @@ var inviteLink = strictObject({
6210
6280
  joined_count: optional(count)
6211
6281
  });
6212
6282
 
6213
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
6283
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
6214
6284
  var operated = { operation_id: id, chat_id: id };
6215
6285
  var group = strictObject({
6216
6286
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -6290,7 +6360,7 @@ var chatFolderOrder = strictObject({
6290
6360
  folders: array(strictObject({ id, title: text }))
6291
6361
  });
6292
6362
 
6293
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
6363
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
6294
6364
  var operated2 = { operation_id: id, chat_id: id };
6295
6365
  var chatRemoval = strictObject(operated2);
6296
6366
  var chatMuting = strictObject({
@@ -6301,7 +6371,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
6301
6371
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
6302
6372
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
6303
6373
 
6304
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
6374
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
6305
6375
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
6306
6376
  var chatEvent = strictObject({
6307
6377
  chat_id: id,
@@ -6318,7 +6388,7 @@ var chatEvent = strictObject({
6318
6388
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
6319
6389
  });
6320
6390
 
6321
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
6391
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
6322
6392
  var chatMetadata = strictObject({
6323
6393
  chat_id: id,
6324
6394
  title: nullable(text),
@@ -6333,7 +6403,7 @@ var chatMetadataRefresh = strictObject({
6333
6403
  has_more: boolean()
6334
6404
  });
6335
6405
 
6336
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
6406
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
6337
6407
  var action = picklist(["report", "delete", "remove"]);
6338
6408
  var level = picklist(["deny", "readonly", "ask", "allow"]);
6339
6409
  var chatRules = strictObject({
@@ -6370,7 +6440,7 @@ var chatModeration = strictObject({
6370
6440
  }))
6371
6441
  });
6372
6442
 
6373
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
6443
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
6374
6444
  var chatSending = strictObject({
6375
6445
  mode: picklist(["allowed", "ask", "denied"]),
6376
6446
  meaning: text,
@@ -6380,7 +6450,7 @@ var chatSending = strictObject({
6380
6450
  changed: optional(boolean())
6381
6451
  });
6382
6452
 
6383
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
6453
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
6384
6454
  var optionalCount = optional(count);
6385
6455
  var minutes = nullable(number());
6386
6456
  var chatStats = strictObject({
@@ -6456,7 +6526,7 @@ var taskStats = strictObject({
6456
6526
  }))
6457
6527
  });
6458
6528
 
6459
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
6529
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
6460
6530
  var memberCount = strictObject({
6461
6531
  day: pipe(text, isoDate()),
6462
6532
  participants: nullable(count),
@@ -6479,7 +6549,7 @@ var chatTracking = strictObject({
6479
6549
  tracked: boolean()
6480
6550
  });
6481
6551
 
6482
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
6552
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
6483
6553
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
6484
6554
  var contactSync = strictObject({ added: count, changed: count, known: count });
6485
6555
  var profileFields = {
@@ -6517,7 +6587,7 @@ var profileFields = {
6517
6587
  }))
6518
6588
  };
6519
6589
 
6520
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/contact.js
6590
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/contact.js
6521
6591
  var contact = strictObject({
6522
6592
  ref: reference,
6523
6593
  id,
@@ -6548,7 +6618,7 @@ var contact = strictObject({
6548
6618
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
6549
6619
  });
6550
6620
 
6551
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
6621
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
6552
6622
  var contactNote = strictObject({
6553
6623
  id,
6554
6624
  /** The contact, as a `contact:` reference. */
@@ -6560,13 +6630,13 @@ var contactNote = strictObject({
6560
6630
  updated_at: time
6561
6631
  });
6562
6632
 
6563
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
6633
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
6564
6634
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
6565
6635
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
6566
6636
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
6567
6637
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
6568
6638
 
6569
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/conversation.js
6639
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/conversation.js
6570
6640
  var conversation = strictObject({
6571
6641
  id,
6572
6642
  chat: reference,
@@ -6581,7 +6651,7 @@ var conversation = strictObject({
6581
6651
  rules_version: count
6582
6652
  });
6583
6653
 
6584
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
6654
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
6585
6655
  var conversationDetails = union([
6586
6656
  strictObject({ ...conversation.entries, messages: array(message) }),
6587
6657
  message
@@ -6668,10 +6738,15 @@ var conversationHit = strictObject({
6668
6738
  score: nullable(number()),
6669
6739
  matched_in: optional(literal("context")),
6670
6740
  by: array(picklist(["meaning", "words"])),
6671
- stale: boolean()
6741
+ stale: boolean(),
6742
+ /** Up to three of the chunk's messages as "sender: text": what the hit says, without opening it. */
6743
+ lines: optional(array(text)),
6744
+ /** In the block of the owner's own conversations, which the hits before it left out. */
6745
+ from_owner: optional(literal(true)),
6746
+ untrusted
6672
6747
  });
6673
6748
 
6674
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/counters.js
6749
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/counters.js
6675
6750
  var counters = strictObject({
6676
6751
  cutoff: time,
6677
6752
  max_age_ms: milliseconds,
@@ -6701,7 +6776,7 @@ var counterRefresh = strictObject({
6701
6776
  complete: optional(boolean())
6702
6777
  });
6703
6778
 
6704
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/document.js
6779
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/document.js
6705
6780
  var document = strictObject({
6706
6781
  ref: reference,
6707
6782
  id,
@@ -6716,7 +6791,7 @@ var document = strictObject({
6716
6791
  owners: optional(array(text))
6717
6792
  });
6718
6793
 
6719
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/document-link.js
6794
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/document-link.js
6720
6795
  var documentLink = strictObject({
6721
6796
  ref: reference,
6722
6797
  url: text,
@@ -6727,7 +6802,7 @@ var documentLink = strictObject({
6727
6802
  sender: strictObject({ id: nullable(id), name: nullable(text) })
6728
6803
  });
6729
6804
 
6730
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/evidence.js
6805
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/evidence.js
6731
6806
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
6732
6807
  var contribution = strictObject({
6733
6808
  message: evidenceMessage,
@@ -6757,7 +6832,7 @@ var retentionStay = strictObject({
6757
6832
  });
6758
6833
  var evidence = union([contribution, retentionStay]);
6759
6834
 
6760
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/fact.js
6835
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/fact.js
6761
6836
  var fact = strictObject({
6762
6837
  ref: reference,
6763
6838
  id,
@@ -6788,9 +6863,20 @@ var fact = strictObject({
6788
6863
  updated_at: time
6789
6864
  });
6790
6865
 
6791
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/hit.js
6866
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/hit.js
6792
6867
  var hit = strictObject({
6793
- kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
6868
+ kind: picklist([
6869
+ "message",
6870
+ "mail",
6871
+ "note",
6872
+ "document",
6873
+ "event",
6874
+ "meeting",
6875
+ "deal",
6876
+ "lead",
6877
+ "crm_file",
6878
+ ...BUSINESS_KINDS
6879
+ ]),
6794
6880
  ref: reference,
6795
6881
  provider: text,
6796
6882
  url: optional(text),
@@ -6836,7 +6922,7 @@ var hit = strictObject({
6836
6922
  untrusted
6837
6923
  });
6838
6924
 
6839
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/identity.js
6925
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/identity.js
6840
6926
  var identity = strictObject({
6841
6927
  ref: reference,
6842
6928
  provider: text,
@@ -6852,7 +6938,7 @@ var identity = strictObject({
6852
6938
  person: optional(nullable(reference))
6853
6939
  });
6854
6940
 
6855
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
6941
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
6856
6942
  var imageEmbedding = strictObject({
6857
6943
  model: text,
6858
6944
  embedded: count,
@@ -6861,7 +6947,7 @@ var imageEmbedding = strictObject({
6861
6947
  more: boolean()
6862
6948
  });
6863
6949
 
6864
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/join-request.js
6950
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/join-request.js
6865
6951
  var joinRequest = strictObject({
6866
6952
  person_id: id,
6867
6953
  name: nullable(text),
@@ -6872,7 +6958,7 @@ var joinRequest = strictObject({
6872
6958
  about: optional(text)
6873
6959
  });
6874
6960
 
6875
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
6961
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
6876
6962
  var pollVote = strictObject({
6877
6963
  person_id: id,
6878
6964
  name: nullable(text),
@@ -6882,7 +6968,7 @@ var pollVote = strictObject({
6882
6968
  voted_at: time
6883
6969
  });
6884
6970
 
6885
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/listener.js
6971
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/listener.js
6886
6972
  var reactions = unwrap(unwrap(message.entries.reactions));
6887
6973
  var observation = strictObject({
6888
6974
  value: pipe(number(), minValue(0)),
@@ -6924,7 +7010,7 @@ var serveSummary = strictObject({
6924
7010
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
6925
7011
  });
6926
7012
 
6927
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
7013
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
6928
7014
  var mailCounts = strictObject({
6929
7015
  by: picklist(["day", "week", "sender"]),
6930
7016
  received: count,
@@ -6939,7 +7025,7 @@ var mailCounts = strictObject({
6939
7025
  }))
6940
7026
  });
6941
7027
 
6942
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
7028
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
6943
7029
  var evidence2 = strictObject({ reference, fingerprint: text });
6944
7030
  var base = { id, evidence: array(evidence2) };
6945
7031
  var finding = variant("kind", [
@@ -7083,7 +7169,7 @@ var mailFindings = strictObject({
7083
7169
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
7084
7170
  });
7085
7171
 
7086
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
7172
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
7087
7173
  var mediaArchive = strictObject({
7088
7174
  directory: text,
7089
7175
  chats: count,
@@ -7115,7 +7201,7 @@ var mediaArchiveTimer = union([
7115
7201
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
7116
7202
  ]);
7117
7203
 
7118
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
7204
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
7119
7205
  var preparationId = pipe(string(), minLength(1));
7120
7206
  var preparationCount = pipe(number(), integer(), minValue(0));
7121
7207
  var preparationTime = nullable(isoTime);
@@ -7207,7 +7293,7 @@ var preparationMeeting = strictObject({
7207
7293
  updated_at: isoTime
7208
7294
  });
7209
7295
 
7210
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
7296
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
7211
7297
  var meetingEvidence = preparationEvidence;
7212
7298
  var meetingPersonContext = strictObject({
7213
7299
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -7229,7 +7315,7 @@ var meetingPersonContext = strictObject({
7229
7315
  })
7230
7316
  });
7231
7317
 
7232
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
7318
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
7233
7319
  var evidence3 = strictObject({ reference, fingerprint: text });
7234
7320
  var base2 = { id, project: reference, evidence: array(evidence3) };
7235
7321
  var finding2 = variant("kind", [
@@ -7267,7 +7353,7 @@ var meetingFindings = strictObject({
7267
7353
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
7268
7354
  });
7269
7355
 
7270
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
7356
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
7271
7357
  var communicationCoverage = strictObject({
7272
7358
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
7273
7359
  query: string(),
@@ -7312,7 +7398,7 @@ var preparationCommunications = strictObject({
7312
7398
  }))
7313
7399
  });
7314
7400
 
7315
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
7401
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
7316
7402
  var meetingPreparation = strictObject({
7317
7403
  communications: optional(preparationCommunications),
7318
7404
  schema_version: literal(1),
@@ -7425,7 +7511,7 @@ var meetingPreparation = strictObject({
7425
7511
  })
7426
7512
  });
7427
7513
 
7428
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
7514
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
7429
7515
  var count3 = pipe(number(), integer(), minValue(0));
7430
7516
  var id3 = pipe(string(), minLength(1));
7431
7517
  var text3 = string();
@@ -7489,7 +7575,7 @@ var meetingProjectCandidates = strictObject({
7489
7575
  })
7490
7576
  });
7491
7577
 
7492
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
7578
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
7493
7579
  var count4 = pipe(number(), integer(), minValue(0));
7494
7580
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
7495
7581
  var meetingSeriesInventory = strictObject({
@@ -7519,7 +7605,7 @@ var meetingSeriesInventory = strictObject({
7519
7605
  })
7520
7606
  });
7521
7607
 
7522
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
7608
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
7523
7609
  var text4 = string();
7524
7610
  var id5 = pipe(number(), integer(), minValue(1));
7525
7611
  var revision = picklist(["current", "superseded"]);
@@ -7536,7 +7622,7 @@ var meetingTaskProposal = strictObject({
7536
7622
  persistence: literal("proposal-only")
7537
7623
  });
7538
7624
 
7539
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/memory.js
7625
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/memory.js
7540
7626
  var memory = strictObject({
7541
7627
  ref: reference,
7542
7628
  id,
@@ -7564,7 +7650,7 @@ var memory = strictObject({
7564
7650
  updated_at: time
7565
7651
  });
7566
7652
 
7567
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/mention.js
7653
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/mention.js
7568
7654
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
7569
7655
  var status = picklist(["found", "linked", "proposed", "dismissed"]);
7570
7656
  var mention = strictObject({
@@ -7608,13 +7694,16 @@ var mentionRebuild = strictObject({
7608
7694
  mentions: count
7609
7695
  });
7610
7696
 
7611
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/message-change.js
7697
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/message-change.js
7612
7698
  var operated3 = { operation_id: id, chat_id: id };
7613
7699
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
7614
7700
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
7615
7701
  var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
7702
+ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) });
7703
+ var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
7704
+ var scheduledSend = strictObject(scheduledSendEntries);
7616
7705
 
7617
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/message-read.js
7706
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/message-read.js
7618
7707
  var messageTranscript = strictObject({
7619
7708
  message_id: id,
7620
7709
  text,
@@ -7672,7 +7761,7 @@ var evidencePacket = strictObject({
7672
7761
  }))
7673
7762
  });
7674
7763
 
7675
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/message-context.js
7764
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/message-context.js
7676
7765
  var messageThread = strictObject({
7677
7766
  ref: reference,
7678
7767
  chat: id,
@@ -7689,7 +7778,7 @@ var messageThread = strictObject({
7689
7778
  });
7690
7779
  var messageContext = union([message, messageThread]);
7691
7780
 
7692
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
7781
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
7693
7782
  var messageCounts = strictObject({
7694
7783
  by: picklist(["chat", "sender", "day", "hour"]),
7695
7784
  total: count,
@@ -7702,7 +7791,7 @@ var messageCounts = strictObject({
7702
7791
  }))
7703
7792
  });
7704
7793
 
7705
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/message-link.js
7794
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/message-link.js
7706
7795
  var messageLink = strictObject({
7707
7796
  ref: reference,
7708
7797
  url: nullable(text),
@@ -7719,7 +7808,7 @@ var messageLink = strictObject({
7719
7808
  })))
7720
7809
  });
7721
7810
 
7722
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/message-write.js
7811
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/message-write.js
7723
7812
  var messageWrite = strictObject({
7724
7813
  operation_id: id,
7725
7814
  message,
@@ -7734,7 +7823,7 @@ var draftWrite = strictObject({
7734
7823
  });
7735
7824
  var messageSend = union([messageWrite, draftWrite]);
7736
7825
 
7737
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/model.js
7826
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/model.js
7738
7827
  var model = strictObject({
7739
7828
  id,
7740
7829
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -7769,7 +7858,7 @@ var chosenModel = strictObject({
7769
7858
  estimate_seconds: nullable(count)
7770
7859
  });
7771
7860
 
7772
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/model-key.js
7861
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/model-key.js
7773
7862
  var source = picklist(["environment", "keyring", "file"]);
7774
7863
  var modelKey = strictObject({
7775
7864
  provider: text,
@@ -7779,7 +7868,7 @@ var modelKey = strictObject({
7779
7868
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
7780
7869
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
7781
7870
 
7782
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
7871
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
7783
7872
  var versus = strictObject({ current: number(), previous: number() });
7784
7873
  var person = { person_ref: reference, name: nullable(text) };
7785
7874
  var graph = strictObject({
@@ -7813,14 +7902,14 @@ var officialStats = strictObject({
7813
7902
  graphs: record(string(), union([graph, strictObject({ error: text })]))
7814
7903
  });
7815
7904
 
7816
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/person.js
7905
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/person.js
7817
7906
  var person2 = strictObject({
7818
7907
  ref: reference,
7819
7908
  name: nullable(text),
7820
7909
  identities: optional(array(identity))
7821
7910
  });
7822
7911
 
7823
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/poll.js
7912
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/poll.js
7824
7913
  var poll = strictObject({
7825
7914
  chat_id: id,
7826
7915
  message_id: id,
@@ -7836,11 +7925,11 @@ var poll = strictObject({
7836
7925
  });
7837
7926
  var pollChange = strictObject({ operation_id: id, poll });
7838
7927
 
7839
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
7928
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
7840
7929
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
7841
7930
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
7842
7931
 
7843
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/ranking.js
7932
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/ranking.js
7844
7933
  var figures = record(string(), number());
7845
7934
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
7846
7935
  var rankingRow = strictObject({
@@ -7887,7 +7976,7 @@ var ranking = strictObject({
7887
7976
  rows: array(rankingRow)
7888
7977
  });
7889
7978
 
7890
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/reaction.js
7979
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/reaction.js
7891
7980
  var reaction = strictObject({
7892
7981
  person: strictObject({ id, name: nullable(text), username: nullable(text) }),
7893
7982
  /** The emoji, or `custom:<id>` for a custom one. */
@@ -7895,7 +7984,7 @@ var reaction = strictObject({
7895
7984
  reacted_at: time
7896
7985
  });
7897
7986
 
7898
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
7987
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
7899
7988
  var reactionChange = strictObject({
7900
7989
  operation_id: id,
7901
7990
  chat_id: id,
@@ -7903,7 +7992,7 @@ var reactionChange = strictObject({
7903
7992
  reaction: nullable(text)
7904
7993
  });
7905
7994
 
7906
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/recipient.js
7995
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/recipient.js
7907
7996
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
7908
7997
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
7909
7998
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -7914,7 +8003,7 @@ var recipientChange = strictObject({
7914
8003
  ...partial(recipientOff).entries
7915
8004
  });
7916
8005
 
7917
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
8006
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
7918
8007
  var events = array(record(string(), unknown()));
7919
8008
  var recordedRun = strictObject({
7920
8009
  run_id: id,
@@ -7986,7 +8075,7 @@ var runHit = strictObject({
7986
8075
  });
7987
8076
  var runLocation = strictObject({ path: text });
7988
8077
 
7989
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/relationship.js
8078
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/relationship.js
7990
8079
  var relationship = strictObject({
7991
8080
  id,
7992
8081
  from: reference,
@@ -8013,7 +8102,7 @@ var relationship = strictObject({
8013
8102
  created_at: time
8014
8103
  });
8015
8104
 
8016
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
8105
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
8017
8106
  var milliseconds2 = nullable(pipe(number(), minValue(0)));
8018
8107
  var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
8019
8108
  var responseTimes = strictObject({
@@ -8030,7 +8119,7 @@ var waitingChats = strictObject({
8030
8119
  by_kind: strictObject({ private: count, group: count })
8031
8120
  });
8032
8121
 
8033
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/retention.js
8122
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/retention.js
8034
8123
  var retentionCohort = strictObject({
8035
8124
  /** The first day of the joining day or week. */
8036
8125
  cohort: text,
@@ -8078,7 +8167,7 @@ var retention = strictObject({
8078
8167
  rows: array(retentionCohort)
8079
8168
  });
8080
8169
 
8081
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
8170
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
8082
8171
  var savedSearch = strictObject({
8083
8172
  id,
8084
8173
  /** `null` for a run in the history. */
@@ -8095,7 +8184,7 @@ var savedSearch = strictObject({
8095
8184
  });
8096
8185
  var searchHistoryClear = strictObject({ cleared: count });
8097
8186
 
8098
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
8187
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
8099
8188
  var sendAttempt = strictObject({
8100
8189
  at: time,
8101
8190
  profile: text,
@@ -8123,7 +8212,7 @@ var sendAttempt = strictObject({
8123
8212
  error_code: optional(text)
8124
8213
  });
8125
8214
 
8126
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
8215
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
8127
8216
  var absent = strictObject({ path: text, exists: literal(false) });
8128
8217
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
8129
8218
  var infoSchema = strictObject({
@@ -8353,7 +8442,7 @@ var storeRepair = union([
8353
8442
  ]);
8354
8443
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
8355
8444
 
8356
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/store-table.js
8445
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/store-table.js
8357
8446
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
8358
8447
  var storeTable = strictObject({
8359
8448
  name: text,
@@ -8362,7 +8451,7 @@ var storeTable = strictObject({
8362
8451
  bytes: optional(nullable(count))
8363
8452
  });
8364
8453
 
8365
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
8454
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
8366
8455
  var tagTarget = variant("type", [
8367
8456
  strictObject({ type: literal("chat"), chat_id: id }),
8368
8457
  strictObject({ type: literal("contact"), person_id: id }),
@@ -8393,7 +8482,7 @@ var automaticTags = strictObject({
8393
8482
  dry_run: boolean()
8394
8483
  });
8395
8484
 
8396
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/tagging.js
8485
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/tagging.js
8397
8486
  var tagging = strictObject({
8398
8487
  tag: text,
8399
8488
  type: picklist(TAG_TYPES),
@@ -8406,7 +8495,7 @@ var tagging = strictObject({
8406
8495
  created_at: time
8407
8496
  });
8408
8497
 
8409
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
8498
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
8410
8499
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
8411
8500
  var taskPair = strictObject({
8412
8501
  task: nullable(side),
@@ -8429,7 +8518,7 @@ var taskPair = strictObject({
8429
8518
  created_at: time
8430
8519
  });
8431
8520
 
8432
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/task-results.js
8521
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/task-results.js
8433
8522
  var nullableTime = nullable(time);
8434
8523
  var link = strictObject({
8435
8524
  id,
@@ -8603,7 +8692,7 @@ var taskReview = strictObject({
8603
8692
  untrusted
8604
8693
  });
8605
8694
 
8606
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/template.js
8695
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/template.js
8607
8696
  var template = strictObject({
8608
8697
  key: text,
8609
8698
  channel: picklist(["telegram", "email", "text"]),
@@ -8615,7 +8704,7 @@ var template = strictObject({
8615
8704
  updated_by: nullable(text)
8616
8705
  });
8617
8706
 
8618
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/topic.js
8707
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/topic.js
8619
8708
  var topic = strictObject({
8620
8709
  id,
8621
8710
  title: text,
@@ -8629,7 +8718,7 @@ var topic = strictObject({
8629
8718
  untrusted
8630
8719
  });
8631
8720
 
8632
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/index.js
8721
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/index.js
8633
8722
  var ENTITIES = {
8634
8723
  sync_progress: progress,
8635
8724
  deal,
@@ -8663,6 +8752,7 @@ var ENTITIES = {
8663
8752
  attachments: optional(array(hitFile)),
8664
8753
  untrusted
8665
8754
  }),
8755
+ // Typed loosely: the inferred type of `ENTITIES` would pass the size the compiler writes out (TS7056).
8666
8756
  "message.summary": strictObject({
8667
8757
  ...pick(message, [
8668
8758
  "ref",
@@ -8685,6 +8775,8 @@ var ENTITIES = {
8685
8775
  message_pin: messagePin,
8686
8776
  message_star: messageStar,
8687
8777
  message_deletion: messageDeletion,
8778
+ scheduled_cancellation: scheduledCancellation,
8779
+ scheduled_send: scheduledSend,
8688
8780
  message_transcript: messageTranscript,
8689
8781
  message_links: messageLinks,
8690
8782
  evidence_packet: evidencePacket,
@@ -8928,7 +9020,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
8928
9020
  return [name, definition];
8929
9021
  })), "entityDefinitions");
8930
9022
 
8931
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
9023
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
8932
9024
  var schemas = /* @__PURE__ */ new WeakMap();
8933
9025
  var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
8934
9026
  if (Object.hasOwn(ENTITIES, name))
@@ -8962,7 +9054,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
8962
9054
  return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
8963
9055
  }, "answerRow");
8964
9056
 
8965
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
9057
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
8966
9058
  var where = [{ field: "ref" }];
8967
9059
  var who2 = { field: ["who.owner", "who.name"], tag: "you" };
8968
9060
  var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
@@ -9054,7 +9146,7 @@ var STATUS_ROWS = {
9054
9146
  "status.failed": { columns: [{ field: "signal" }], text: ["why"] }
9055
9147
  };
9056
9148
 
9057
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/compact.js
9149
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/compact.js
9058
9150
  var TEXT_CHARS = 400;
9059
9151
  var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
9060
9152
  var messageRow = {
@@ -9422,7 +9514,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
9422
9514
  return lines.concat(footerOf(body)).join("\n");
9423
9515
  }, "compactText");
9424
9516
 
9425
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
9517
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
9426
9518
  var named2 = /* @__PURE__ */ __name((work) => {
9427
9519
  try {
9428
9520
  return work();
@@ -9449,7 +9541,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
9449
9541
  return projectFields(value, fields);
9450
9542
  }), "projectFields");
9451
9543
 
9452
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/runs/log-events.js
9544
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/runs/log-events.js
9453
9545
  var CORE_LOG_EVENTS = defineLogEvents([
9454
9546
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
9455
9547
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -9487,7 +9579,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
9487
9579
  progress: "sync.progress"
9488
9580
  };
9489
9581
 
9490
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/runs/recording.js
9582
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/runs/recording.js
9491
9583
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
9492
9584
  const recording = startRecording(options);
9493
9585
  try {
@@ -9702,7 +9794,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
9702
9794
  return void 0;
9703
9795
  }, "partialOutcome");
9704
9796
 
9705
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
9797
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
9706
9798
  import { AsyncLocalStorage } from "node:async_hooks";
9707
9799
  var requests = new AsyncLocalStorage();
9708
9800
  var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
@@ -9717,113 +9809,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
9717
9809
  return direct;
9718
9810
  }, "exitCodeSet");
9719
9811
 
9720
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/sends/guarded.js
9721
- import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
9722
- var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
9723
- messageId: message2.id,
9724
- ...message2.chatId && message2.chatId !== typed2 ? { resultChatId: message2.chatId } : {}
9725
- }), "sentIds");
9726
- var current = new AsyncLocalStorage2();
9727
- var writesInFlight = new AsyncLocalStorage2();
9728
- var parents = /* @__PURE__ */ new WeakMap();
9729
- var stopped = /* @__PURE__ */ new WeakMap();
9730
- var scopesFor = /* @__PURE__ */ __name((scope = writesInFlight.getStore()) => {
9731
- const result = [];
9732
- for (let at2 = scope; at2; at2 = parents.get(at2))
9733
- result.push(at2);
9734
- return result;
9735
- }, "scopesFor");
9736
- var withWriteScope = /* @__PURE__ */ __name((scope, body) => {
9737
- const parent = writesInFlight.getStore();
9738
- if (parent && parent !== scope)
9739
- parents.set(scope, parent);
9740
- return writesInFlight.run(scope, body);
9741
- }, "withWriteScope");
9742
- var stopWrites = /* @__PURE__ */ __name((scope, reason) => {
9743
- stopped.set(scope, reason);
9744
- for (const write of scope)
9745
- write.cut();
9746
- }, "stopWrites");
9747
- var refuseStopped = /* @__PURE__ */ __name((scopes3) => {
9748
- for (const scope of scopes3)
9749
- if (stopped.has(scope))
9750
- throw stopped.get(scope);
9751
- }, "refuseStopped");
9752
- var currentOperation = /* @__PURE__ */ __name(() => current.getStore(), "currentOperation");
9753
- var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 = () => ({}), prepare) => {
9754
- const scopes3 = scopesFor();
9755
- refuseStopped(scopes3);
9756
- try {
9757
- await guard.ask?.(attempt);
9758
- refuseStopped(scopes3);
9759
- if (guard.reserve) {
9760
- guard.check(attempt, { reserve: false });
9761
- await guard.reserve(attempt);
9762
- } else
9763
- guard.check(attempt);
9764
- } catch (error) {
9765
- guard.record({ ...attempt, outcome: "refused", errorCode: codeOf(error) });
9766
- throw error;
9767
- }
9768
- try {
9769
- refuseStopped(scopes3);
9770
- } catch (error) {
9771
- guard.record({ ...attempt, outcome: "failed", errorCode: codeOf(error) });
9772
- throw error;
9773
- }
9774
- let recorded2 = false;
9775
- const once = /* @__PURE__ */ __name((entry) => {
9776
- if (recorded2)
9777
- return;
9778
- recorded2 = true;
9779
- guard.record(entry);
9780
- }, "once");
9781
- let cancelled = false;
9782
- const flight = {
9783
- operationId: attempt.operationId,
9784
- preparing: prepare !== void 0,
9785
- cut: /* @__PURE__ */ __name(() => {
9786
- cancelled = true;
9787
- once({
9788
- ...attempt,
9789
- outcome: flight.preparing ? "failed" : "outcome_unknown",
9790
- errorCode: flight.preparing ? "timeout" : "outcome_unknown"
9791
- });
9792
- }, "cut")
9793
- };
9794
- for (const scope of scopes3)
9795
- scope.add(flight);
9796
- try {
9797
- if (prepare !== void 0)
9798
- await prepare();
9799
- if (cancelled)
9800
- throw new CliError("timeout", "the command ended before sending; nothing was sent", { sent: false });
9801
- flight.preparing = false;
9802
- const done = await current.run(attempt.operationId, act);
9803
- if (cancelled)
9804
- throw new CliError("outcome_unknown", "the command ended with a write in flight; check its result before continuing", { operation_id: attempt.operationId });
9805
- once({ ...attempt, ...settled2(done), outcome: "sent" });
9806
- return done;
9807
- } catch (error) {
9808
- const code = codeOf(error);
9809
- once({ ...attempt, outcome: code === "outcome_unknown" ? "outcome_unknown" : "failed", errorCode: code });
9810
- if (code === "outcome_unknown" && error instanceof Error)
9811
- throw new CliError("outcome_unknown", error.message, {
9812
- ...error.details,
9813
- operation_id: attempt.operationId,
9814
- retryable: false
9815
- });
9816
- if (flight.preparing && isCliError(error) && error.details.sent === void 0)
9817
- throw new CliError(error.code, error.message, { ...error.details, sent: false });
9818
- throw error;
9819
- } finally {
9820
- for (const scope of scopes3)
9821
- scope.delete(flight);
9822
- }
9823
- }, "guardedWrite");
9824
- var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
9825
-
9826
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/deadline.js
9812
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/deadline.js
9827
9813
  var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
9828
9814
  if (ms2 === void 0)
9829
9815
  return body();
@@ -9849,7 +9835,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
9849
9835
  }
9850
9836
  }, "withDeadline");
9851
9837
 
9852
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/execution.js
9838
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/execution.js
9853
9839
  var DEFAULT_COMMAND_MS = 3e4;
9854
9840
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
9855
9841
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -10032,7 +10018,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
10032
10018
  }
10033
10019
  }, "withAbort");
10034
10020
 
10035
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/profile.js
10021
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/profile.js
10036
10022
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
10037
10023
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
10038
10024
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -10119,7 +10105,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
10119
10105
  return void 0;
10120
10106
  }, "sampleCommand");
10121
10107
 
10122
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/analysis/settings.js
10108
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/analysis/settings.js
10123
10109
  var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
10124
10110
  var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
10125
10111
  var AI_FIELDS = {
@@ -10163,7 +10149,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
10163
10149
  };
10164
10150
  }, "resolveAISettings");
10165
10151
 
10166
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/domain/duration.js
10152
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/domain/duration.js
10167
10153
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
10168
10154
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
10169
10155
  var parseDuration = /* @__PURE__ */ __name((value, source2) => {
@@ -10177,7 +10163,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
10177
10163
  return ms2;
10178
10164
  }, "parseDuration");
10179
10165
 
10180
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
10166
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
10181
10167
  import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
10182
10168
  import { join as join2 } from "node:path";
10183
10169
  var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
@@ -10266,7 +10252,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
10266
10252
  return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
10267
10253
  }, "registryProfiles");
10268
10254
 
10269
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
10255
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
10270
10256
  import { readFileSync as readFileSync3 } from "node:fs";
10271
10257
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
10272
10258
  var SECTIONS = ["personal", "bot"];
@@ -10374,8 +10360,8 @@ var failureOffset = /* @__PURE__ */ __name((text5) => {
10374
10360
  value();
10375
10361
  space();
10376
10362
  return at2;
10377
- } catch (stopped2) {
10378
- return typeof stopped2 === "number" ? stopped2 : at2;
10363
+ } catch (stopped) {
10364
+ return typeof stopped === "number" ? stopped : at2;
10379
10365
  }
10380
10366
  }, "failureOffset");
10381
10367
  var parseConfigText = /* @__PURE__ */ __name((text5, file) => {
@@ -10469,7 +10455,10 @@ var scopes2 = /* @__PURE__ */ __name((raw) => {
10469
10455
  return out;
10470
10456
  }, "scopes");
10471
10457
  var savedPermissionKeys = /* @__PURE__ */ __name((raw) => scopes2(raw).flatMap(([path2, scope]) => isNode(scope.permissions) ? Object.keys(scope.permissions).map((key) => ({ key, at: [...path2, "permissions", key] })) : []), "savedPermissionKeys");
10472
- 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");
10458
+ 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) => {
10459
+ const now = renamed.get(name);
10460
+ return now === void 0 ? `${key} names no command` : `${key} names no command: its command moved, so rename it to permissions.${now}`;
10461
+ })), "permissionIssues");
10473
10462
  var pathId = /* @__PURE__ */ __name((path2) => path2.join("\0"), "pathId");
10474
10463
  var prune = /* @__PURE__ */ __name((raw, paths) => {
10475
10464
  const drop = new Set(paths.map(pathId));
@@ -10562,7 +10551,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
10562
10551
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
10563
10552
  }, "readConfigFile");
10564
10553
 
10565
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/default-config.js
10554
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/default-config.js
10566
10555
  import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
10567
10556
  import { dirname as dirname2, join as join3 } from "node:path";
10568
10557
  var DEFAULT_CONFIG = {
@@ -10591,7 +10580,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
10591
10580
  }
10592
10581
  __name(ensureDefaultConfig, "ensureDefaultConfig");
10593
10582
 
10594
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
10583
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
10595
10584
  import { existsSync as existsSync4, readdirSync as readdirSync3, readFileSync as readFileSync4 } from "node:fs";
10596
10585
  import { join as join4 } from "node:path";
10597
10586
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -10613,7 +10602,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
10613
10602
  }, "profilesWithAccounts");
10614
10603
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
10615
10604
 
10616
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
10605
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
10617
10606
  var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
10618
10607
  var parentOf = /* @__PURE__ */ __name((config, key) => {
10619
10608
  const path2 = key.split(".");
@@ -10646,10 +10635,10 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
10646
10635
  };
10647
10636
  }), "settingRows");
10648
10637
 
10649
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/settings.js
10638
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/settings.js
10650
10639
  import { existsSync as existsSync5 } from "node:fs";
10651
10640
 
10652
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/services/history-limits.js
10641
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/history-limits.js
10653
10642
  var HISTORY_MAX_DAYS = 1095;
10654
10643
  var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
10655
10644
  var DAY_MS = 24 * 60 * 60 * 1e3;
@@ -10696,7 +10685,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
10696
10685
  return { batch: { ...batch, messages }, skipped };
10697
10686
  }, "limitBatch");
10698
10687
 
10699
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/settings.js
10688
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/settings.js
10700
10689
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
10701
10690
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
10702
10691
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -10845,13 +10834,13 @@ var NoProfileHere = class extends CliError {
10845
10834
  }
10846
10835
  app;
10847
10836
  constructor(app) {
10848
- super("validation_error", `name a profile: there is none on this computer yet \u2014 create one with \`${app.command} personal setup\` (any name in place of personal)`, { profiles: [] });
10837
+ super("validation_error", `name a profile: there is none on this computer yet \u2014 create one with \`${app.command} personal setup\` (any name in place of personal)`, { reason: "profile.missing", profiles: [] });
10849
10838
  this.app = app;
10850
10839
  }
10851
10840
  /** `words`: the command that was typed, without its arguments, so the suggestion runs as written. */
10852
10841
  withoutSetup(words) {
10853
10842
  const command = words ? `${this.app.command} personal ${words}` : `${this.app.command} personal \u2026`;
10854
- return new CliError("validation_error", `name a profile: there is none on this computer yet \u2014 any name works, such as \`${command}\` (or set ${envName(this.app, "PROFILE")})`, { profiles: [] });
10843
+ return new CliError("validation_error", `name a profile: there is none on this computer yet \u2014 any name works, such as \`${command}\` (or set ${envName(this.app, "PROFILE")})`, { reason: "profile.missing", profiles: [] });
10855
10844
  }
10856
10845
  };
10857
10846
  var first = /* @__PURE__ */ __name((candidates, fallback) => {
@@ -10929,7 +10918,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
10929
10918
  const here = profilesOf(config, env);
10930
10919
  if (here.length === 0)
10931
10920
  throw new NoProfileHere(app);
10932
- throw new CliError("validation_error", `name a profile: \`${app.command} <profile> \u2026\` \u2014 profiles here: ${here.join(", ")} (or set ${PROFILE})`, { profiles: here });
10921
+ throw new CliError("validation_error", `name a profile: \`${app.command} <profile> \u2026\` \u2014 profiles here: ${here.join(", ")} (or set ${PROFILE})`, { reason: "profile.missing", profiles: here });
10933
10922
  }, "unnamed");
10934
10923
  const profilesOf = /* @__PURE__ */ __name((config, env) => profilesHere(app, [...namedProfiles(config), ...extension.profiles?.(env) ?? []], env), "profilesOf");
10935
10924
  const botsOf = /* @__PURE__ */ __name((config, env) => [.../* @__PURE__ */ new Set([...Object.keys(config.bot?.profiles ?? {}), ...registryProfiles(app, env)])].sort(), "botsOf");
@@ -11176,9 +11165,11 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
11176
11165
  saveConfigFile(path2, config);
11177
11166
  return added;
11178
11167
  }, "migrate");
11168
+ const settingSchema = /* @__PURE__ */ __name((key) => Object.hasOwn(profileEntries, key) ? profileEntries[key] : void 0, "settingSchema");
11179
11169
  return {
11180
11170
  resolveSettings,
11181
11171
  configuredProfiles,
11172
+ settingSchema,
11182
11173
  changeSetting,
11183
11174
  migrate,
11184
11175
  declaredSettings,
@@ -11222,50 +11213,7 @@ var given = /* @__PURE__ */ __name((value) => {
11222
11213
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
11223
11214
  }, "given");
11224
11215
 
11225
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/background/budget.js
11226
- var DEADLINE_MARGIN_MS = 5e3;
11227
- var DEADLINE_MARGIN_SHARE = 0.15;
11228
- var DEFAULT_REQUEST_MS = 2e3;
11229
- var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
11230
- var requestsFor = /* @__PURE__ */ __name((deadline, requestMs = DEFAULT_REQUEST_MS) => deadline === void 0 ? null : Math.max(1, Math.floor((deadline.ms - deadlineMargin(deadline)) / requestMs)), "requestsFor");
11231
- var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, requestMs, signal, now = Date.now } = {}) => {
11232
- const fits = requestsFor(deadline, requestMs);
11233
- const limit = fits === null ? requests2 ?? null : Math.min(fits, requests2 ?? fits);
11234
- const margin = deadline ? deadlineMargin(deadline) : 0;
11235
- let used = 0;
11236
- let stopped2 = null;
11237
- let last;
11238
- let slowest = 0;
11239
- return {
11240
- take() {
11241
- if (stopped2)
11242
- return stopped2;
11243
- const at2 = now();
11244
- if (last !== void 0)
11245
- slowest = Math.max(slowest, at2 - last);
11246
- if (signal?.aborted)
11247
- stopped2 = "cancelled";
11248
- else if (limit !== null && used >= limit)
11249
- stopped2 = "requests";
11250
- else if (deadline && at2 + margin + slowest >= deadline.endsAt)
11251
- stopped2 = "deadline";
11252
- if (stopped2)
11253
- return stopped2;
11254
- used += 1;
11255
- last = at2;
11256
- return null;
11257
- },
11258
- get used() {
11259
- return used;
11260
- },
11261
- limit,
11262
- get stopped() {
11263
- return stopped2;
11264
- }
11265
- };
11266
- }, "runBudget");
11267
-
11268
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/output-detail.js
11216
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/output-detail.js
11269
11217
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
11270
11218
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
11271
11219
  var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
@@ -11301,7 +11249,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
11301
11249
  return value;
11302
11250
  }, "atDetail");
11303
11251
 
11304
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/output.js
11252
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/output.js
11305
11253
  var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
11306
11254
  const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
11307
11255
  if (other)
@@ -11365,7 +11313,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
11365
11313
  }, "warn")
11366
11314
  }), "silence");
11367
11315
 
11368
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/context.js
11316
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/context.js
11369
11317
  var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
11370
11318
  const { deadline, signal, app } = environmentOf(command);
11371
11319
  const now = deadline?.();
@@ -11391,9 +11339,17 @@ var provide = /* @__PURE__ */ __name((program2, environment) => {
11391
11339
  environments.set(program2, environment);
11392
11340
  }, "provide");
11393
11341
  var environmentOf = /* @__PURE__ */ __name((command) => environments.get(rootOf(command)) ?? {}, "environmentOf");
11342
+ var PAGING = ["page", "limit", "all"];
11343
+ var withoutOwnPaging = /* @__PURE__ */ __name((command, flags) => {
11344
+ if (metaOf(command).origin !== "generated")
11345
+ return flags;
11346
+ const own = PAGING.filter((name) => command.options.some((option) => option.attributeName() === name));
11347
+ return own.length > 0 ? Object.fromEntries(Object.entries(flags).filter(([name]) => !own.includes(name))) : flags;
11348
+ }, "withoutOwnPaging");
11394
11349
  var withAgentLevels = /* @__PURE__ */ __name((command, flags) => {
11395
11350
  const overrides = environmentOf(command).agent?.overrides ?? [];
11396
- return overrides.length > 0 ? { ...flags, permission: [...overrides, ...flags.permission ?? []] } : flags;
11351
+ const read = withoutOwnPaging(command, flags);
11352
+ return overrides.length > 0 ? { ...read, permission: [...overrides, ...read.permission ?? []] } : read;
11397
11353
  }, "withAgentLevels");
11398
11354
  var secretInputOf = /* @__PURE__ */ __name((command) => {
11399
11355
  const { stdin, stderr } = environmentOf(command);
@@ -11506,12 +11462,12 @@ var inCommandRun = /* @__PURE__ */ __name((command, body) => {
11506
11462
  }, "inCommandRun");
11507
11463
  var commandPath = /* @__PURE__ */ __name((command) => {
11508
11464
  const words = [];
11509
- for (let current2 = command; current2?.parent; current2 = current2.parent)
11510
- words.unshift(current2.name());
11465
+ for (let current = command; current?.parent; current = current.parent)
11466
+ words.unshift(current.name());
11511
11467
  return words.join(" ");
11512
11468
  }, "commandPath");
11513
11469
 
11514
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/effects.js
11470
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/effects.js
11515
11471
  var REMOTE_READ = { remote: "read", local: "read" };
11516
11472
  var FETCH = { remote: "read", local: "write" };
11517
11473
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -11547,7 +11503,12 @@ var destroysNothing = /* @__PURE__ */ __name((command) => {
11547
11503
  KEPT_UNDER_LOCK.add(command);
11548
11504
  return command;
11549
11505
  }, "destroysNothing");
11550
- var PROPOSE_COMMANDS = ["messages acknowledge", "mail findings add"];
11506
+ var PROPOSE_COMMANDS = [
11507
+ "messages acknowledge",
11508
+ "mail findings add",
11509
+ "projects actions add",
11510
+ "meetings actions add"
11511
+ ];
11551
11512
  var PROPOSES = /* @__PURE__ */ new WeakSet();
11552
11513
  var proposesOnly = /* @__PURE__ */ __name((command) => {
11553
11514
  PROPOSES.add(command);
@@ -11663,61 +11624,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
11663
11624
  throw readOnlyRefusal(lock, what);
11664
11625
  }, "refuseUnderReadOnly");
11665
11626
 
11666
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/images/picture/models.js
11667
- import { join as join5 } from "node:path";
11668
- var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
11669
- var IMAGE_MODELS = [
11670
- {
11671
- id: "clip-b32",
11672
- title: "CLIP ViT-B/32, 8-bit",
11673
- languages: "English only: translate a query before searching",
11674
- licence: "MIT",
11675
- dims: 512,
11676
- key: "local:clip-b32:512",
11677
- maxTokens: 77,
11678
- vision: "onnx/vision_model_quantized.onnx",
11679
- text: "onnx/text_model_quantized.onnx",
11680
- files: [
11681
- {
11682
- name: "onnx/vision_model_quantized.onnx",
11683
- url: clip("onnx/vision_model_quantized.onnx"),
11684
- sha256: "583fd1110a514667812fee7d684952aaf82a99b959760c8d7dca7e0ab9839299",
11685
- bytes: 89117001
11686
- },
11687
- {
11688
- name: "onnx/text_model_quantized.onnx",
11689
- url: clip("onnx/text_model_quantized.onnx"),
11690
- sha256: "73baab855d406190da9faa498cfedf65f15cf309f4cc7385b7b032e6d08e5c3a",
11691
- bytes: 64504507
11692
- },
11693
- {
11694
- name: "tokenizer.json",
11695
- url: clip("tokenizer.json"),
11696
- sha256: "f7f3b7af117d467b58374797691a6438d3e6b9e9cef800dfd5dced7f697a90cd",
11697
- bytes: 2224119
11698
- },
11699
- {
11700
- name: "tokenizer_config.json",
11701
- url: clip("tokenizer_config.json"),
11702
- sha256: "60ba2912bc6344c94bc16bbdec27fa1209409167b6f2fdf3cfe9e65462ea3967",
11703
- bytes: 775
11704
- }
11705
- ]
11706
- }
11707
- ];
11708
- var DEFAULT_IMAGE_MODEL = "clip-b32";
11709
- var imageModel = /* @__PURE__ */ __name((id6) => {
11710
- const found = IMAGE_MODELS.find((model3) => model3.id === id6);
11711
- if (!found) {
11712
- throw new CliError("validation_error", `no image model ${id6} \u2014 one of: ${IMAGE_MODELS.map((model3) => model3.id).join(", ")}`);
11713
- }
11714
- return found;
11715
- }, "imageModel");
11716
- var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("image", env), "imageModelsDirectory");
11717
- var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
11718
- var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
11719
-
11720
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/steps.js
11627
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/steps.js
11721
11628
  var STEPS2 = defineSteps([
11722
11629
  ...STEPS,
11723
11630
  {
@@ -12007,7 +11914,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
12007
11914
  ].join(" ");
12008
11915
  }, "stepLine");
12009
11916
 
12010
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11917
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
12011
11918
  var SOFT_OUTPUT_BYTES = 256 * 1024;
12012
11919
  var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
12013
11920
  var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
@@ -12065,7 +11972,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
12065
11972
  return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
12066
11973
  }, "largeAnswerSteps");
12067
11974
 
12068
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11975
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
12069
11976
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
12070
11977
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
12071
11978
  var strip = /* @__PURE__ */ __name((value) => {
@@ -12079,7 +11986,7 @@ var strip = /* @__PURE__ */ __name((value) => {
12079
11986
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
12080
11987
  }, "strip");
12081
11988
 
12082
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
11989
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
12083
11990
  var OPEN = "\u27E6";
12084
11991
  var CLOSE = "\u27E7";
12085
11992
  var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
@@ -12088,6 +11995,10 @@ var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
12088
11995
  const mark = ancestorValue(envName(app, "UNTRUSTED_MARK"), env);
12089
11996
  return mark && /^[0-9a-f]{16}$/.test(mark) ? mark : void 0;
12090
11997
  }, "untrustedMarkOf");
11998
+ var runMarkOf = /* @__PURE__ */ __name((command) => {
11999
+ const { app, env } = environmentOf(command);
12000
+ return app ? untrustedMarkOf(app, env ?? process.env) : void 0;
12001
+ }, "runMarkOf");
12091
12002
  var marked = /* @__PURE__ */ __name((text5, mark, source2, id6) => {
12092
12003
  const inside = text5.replaceAll(OPEN, "").replaceAll(CLOSE, "").replaceAll(mark, "");
12093
12004
  const named3 = id6 === void 0 ? "" : ` id=${id6.replaceAll(OPEN, "").replaceAll(CLOSE, "").replace(/\s/g, "")}`;
@@ -12144,6 +12055,8 @@ var MESSAGE_UNTRUSTED = [
12144
12055
  "bcc.name",
12145
12056
  "reply_addresses.name"
12146
12057
  ];
12058
+ var CHAT_UNTRUSTED = ["title", "description"];
12059
+ var CONTACT_UNTRUSTED = ["description", "chats.title"];
12147
12060
  var DECLARED = /* @__PURE__ */ new WeakMap();
12148
12061
  var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
12149
12062
  DECLARED.set(command, fields);
@@ -12163,7 +12076,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
12163
12076
  return result;
12164
12077
  }, "withFieldsMarked");
12165
12078
 
12166
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/envelope.js
12079
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/envelope.js
12167
12080
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
12168
12081
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
12169
12082
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -12293,8 +12206,7 @@ var renderAnswer = /* @__PURE__ */ __name((command, { renderer, format, streams,
12293
12206
  const root = rootOf2(command);
12294
12207
  const runnableSteps = runnable(root, body.next);
12295
12208
  const next = environmentOf(command).agent ? runnableSteps : withLines(root, runnableSteps);
12296
- const { app, env } = environmentOf(command);
12297
- const mark = app ? untrustedMarkOf(app, env ?? process.env) : void 0;
12209
+ const mark = runMarkOf(command);
12298
12210
  const declared = untrustedFieldsOf(command);
12299
12211
  const shown = mark === void 0 ? body : withUntrustedMarked(declared ? withFieldsMarked(body, declared, mark) : body, mark);
12300
12212
  const kept = withoutProviderRefs({ ...shown, ...next.length > 0 ? { next } : {} });
@@ -12470,10 +12382,6 @@ export {
12470
12382
  inCommandServerRequest,
12471
12383
  commandServerRequest,
12472
12384
  exitCodeSet,
12473
- sentIds,
12474
- currentOperation,
12475
- guardedWrite,
12476
- codeOf,
12477
12385
  withDeadline,
12478
12386
  DEFAULT_COMMAND_MS,
12479
12387
  DEFAULT_COOPERATIVE_MS,
@@ -12537,18 +12445,13 @@ export {
12537
12445
  setExitCode,
12538
12446
  provide,
12539
12447
  environmentOf,
12448
+ withoutOwnPaging,
12540
12449
  withAgentLevels,
12541
12450
  secretInputOf,
12542
12451
  outputFieldsOf,
12543
12452
  outputFor,
12544
12453
  baseContext,
12545
12454
  inCommandRun,
12546
- IMAGE_MODELS,
12547
- DEFAULT_IMAGE_MODEL,
12548
- imageModel,
12549
- imageModelsDirectory,
12550
- placedImage,
12551
- isImageModelInstalled,
12552
12455
  REMOTE_READ,
12553
12456
  FETCH,
12554
12457
  REMOTE_WRITE,
@@ -12599,6 +12502,11 @@ export {
12599
12502
  stepLine,
12600
12503
  tooLargeSteps,
12601
12504
  withoutProviderRefs,
12505
+ runMarkOf,
12506
+ marked,
12507
+ withUntrustedMarked,
12508
+ CHAT_UNTRUSTED,
12509
+ CONTACT_UNTRUSTED,
12602
12510
  marksUntrusted,
12603
12511
  answerSchema,
12604
12512
  listOf,