@wirecat/drive-cli 0.71.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 (258) hide show
  1. package/README.md +150 -71
  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-3QJG2NAN.js → all-profiles-GXGDVNQJ.js} +67 -25
  6. package/dist/bundle/{anthropic-PSWTEU6G.js → anthropic-H5C4GQHC.js} +9 -9
  7. package/dist/bundle/{app-server-PVTA6ABR.js → app-server-EQ3UK4C7.js} +97 -79
  8. package/dist/bundle/{bun-LU5LP3JI.js → bun-DTJVSRY3.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-PYMKLBRU.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-RWDKMU74.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-YVI5SQPY.js → chunk-4HPXWYTE.js} +1 -1
  16. package/dist/bundle/{chunk-QETR5HIZ.js → chunk-4IUNYYYL.js} +4385 -2684
  17. package/dist/bundle/{chunk-I4RWW3UD.js → chunk-4JS32SRX.js} +20 -5
  18. package/dist/bundle/chunk-4ZAQMDLD.js +1308 -0
  19. package/dist/bundle/chunk-4ZTB7LS3.js +87 -0
  20. package/dist/bundle/{chunk-3N2OFXB5.js → chunk-55FH6IEL.js} +5 -5
  21. package/dist/bundle/{chunk-6TNNT2MQ.js → chunk-5BNMWSU2.js} +483 -176
  22. package/dist/bundle/{chunk-6XFIITOG.js → chunk-5H747A76.js} +5532 -3265
  23. package/dist/bundle/{chunk-MNLL5YLM.js → chunk-5KWCO56H.js} +2 -2
  24. package/dist/bundle/{chunk-GZ2D4KXG.js → chunk-5U3NCE5R.js} +35 -12
  25. package/dist/bundle/{chunk-CJLVYIOP.js → chunk-6CCO3JCM.js} +30 -21
  26. package/dist/bundle/{chunk-26DHFMGZ.js → chunk-6ZW2ZJYC.js} +2 -2
  27. package/dist/bundle/{chunk-COJSWDNU.js → chunk-75DAHQOV.js} +3 -3
  28. package/dist/bundle/{chunk-Q7DOMFJ4.js → chunk-77OBW43F.js} +6 -6
  29. package/dist/bundle/{chunk-FCS26CYQ.js → chunk-7EFM6AW3.js} +4 -4
  30. package/dist/bundle/{chunk-XMMFBPGC.js → chunk-A3S7QM5L.js} +3 -3
  31. package/dist/bundle/{chunk-ASMMG72J.js → chunk-AA4LKC6W.js} +244 -565
  32. package/dist/bundle/chunk-ASTKHB6B.js +3233 -0
  33. package/dist/bundle/{chunk-LXKYKRHD.js → chunk-BM6V7456.js} +8 -227
  34. package/dist/bundle/chunk-BO6EDBYJ.js +50 -0
  35. package/dist/bundle/{chunk-YPFWNVHV.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-RJOQH5YY.js → chunk-COJTCEZP.js} +111 -859
  39. package/dist/bundle/{chunk-FJH7DJWK.js → chunk-CWPYDT73.js} +6 -6
  40. package/dist/bundle/{chunk-BKSQBBYG.js → chunk-D4JNCXS7.js} +9 -9
  41. package/dist/bundle/chunk-DCPWZIOV.js +696 -0
  42. package/dist/bundle/{chunk-PRW6SYA3.js → chunk-DHMNCOQI.js} +313 -257
  43. package/dist/bundle/chunk-DOQMH4DC.js +280 -0
  44. package/dist/bundle/chunk-DQSOYH6N.js +20 -0
  45. package/dist/bundle/{chunk-YJIGGUPI.js → chunk-DWRUOLBF.js} +4 -4
  46. package/dist/bundle/{chunk-6W763DZN.js → chunk-E3VWZC3K.js} +14 -13
  47. package/dist/bundle/chunk-ECYOTDJM.js +14 -0
  48. package/dist/bundle/{chunk-KGYVHPGE.js → chunk-EVG3AA5M.js} +2 -2
  49. package/dist/bundle/chunk-F4BX7TH2.js +15 -0
  50. package/dist/bundle/{chunk-Y2NWGNUB.js → chunk-FBEZSA76.js} +5 -5
  51. package/dist/bundle/{chunk-2BVVU7GG.js → chunk-FBQJN74J.js} +1 -1
  52. package/dist/bundle/{chunk-Z56QFOBR.js → chunk-FIZOPJYY.js} +1 -1
  53. package/dist/bundle/chunk-FNAYSZWK.js +783 -0
  54. package/dist/bundle/{chunk-GPQ44Y2R.js → chunk-FRCJHGZM.js} +2 -2
  55. package/dist/bundle/{chunk-35SCQ4VI.js → chunk-FTG5QBSD.js} +41 -33
  56. package/dist/bundle/{chunk-KYKW2W6X.js → chunk-FUDUXIVG.js} +1 -1
  57. package/dist/bundle/{chunk-NYECVHFH.js → chunk-G4NHRFS7.js} +755 -0
  58. package/dist/bundle/{chunk-FT3LN3HP.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-ACUAV6VX.js → chunk-GUMKKRE6.js} +107 -71
  62. package/dist/bundle/{chunk-KGERXYTV.js → chunk-GWCDOYSC.js} +1 -1
  63. package/dist/bundle/{chunk-OJSBWP3F.js → chunk-GXGSC622.js} +69 -7
  64. package/dist/bundle/chunk-HAGXTGJC.js +188 -0
  65. package/dist/bundle/{chunk-XF4EXO2C.js → chunk-IMAWQC5K.js} +6 -6
  66. package/dist/bundle/{chunk-HKY7X6NY.js → chunk-IVGVVSPW.js} +4 -4
  67. package/dist/bundle/{chunk-P7CUM5IB.js → chunk-J4NUHSM7.js} +1 -1
  68. package/dist/bundle/{chunk-MIA7P6FZ.js → chunk-K652FYCO.js} +6 -6
  69. package/dist/bundle/chunk-K6ZWNTXY.js +561 -0
  70. package/dist/bundle/{chunk-COOOO5B3.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-EOEU3AZN.js → chunk-KP2XMCNT.js} +13 -13
  74. package/dist/bundle/{chunk-FP54WSIR.js → chunk-KWDZ3KVH.js} +4 -4
  75. package/dist/bundle/{chunk-QNRRK3CN.js → chunk-KX4C32WD.js} +2 -2
  76. package/dist/bundle/chunk-L7P3LUDQ.js +286 -0
  77. package/dist/bundle/{chunk-2LHAVY4U.js → chunk-M2ZWYVWO.js} +1 -1
  78. package/dist/bundle/chunk-MEYYH47C.js +25 -0
  79. package/dist/bundle/{chunk-3EBBLKIT.js → chunk-ML2QIWX2.js} +4 -4
  80. package/dist/bundle/{chunk-ZM63SUHG.js → chunk-MUFF2YTH.js} +2 -2
  81. package/dist/bundle/{chunk-2PUNKUYJ.js → chunk-N24YSLED.js} +9150 -9869
  82. package/dist/bundle/chunk-N4GTCPML.js +7 -0
  83. package/dist/bundle/{chunk-B5KSXHJ7.js → chunk-NBMGDRP4.js} +1 -1
  84. package/dist/bundle/chunk-NMQRSEZM.js +37 -0
  85. package/dist/bundle/{chunk-JDV7HNNQ.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-ICDCAQ6K.js → chunk-OAONP6KI.js} +13 -9
  89. package/dist/bundle/{chunk-WVDCCYS3.js → chunk-OESP4PHB.js} +17 -17
  90. package/dist/bundle/chunk-OHR6IZNH.js +116 -0
  91. package/dist/bundle/{chunk-4QNW4NK6.js → chunk-OLCU7Q2B.js} +1 -1
  92. package/dist/bundle/{chunk-SDKQNOL5.js → chunk-OLDQLEPA.js} +6 -6
  93. package/dist/bundle/{chunk-ZCR3IRZ2.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-ZZ32DXTH.js → chunk-QKBPCX7Y.js} +1 -1
  98. package/dist/bundle/{chunk-QXC6IEH6.js → chunk-QSLOACDT.js} +201 -423
  99. package/dist/bundle/{chunk-7PDHGZN4.js → chunk-QUZFDU4K.js} +4 -4
  100. package/dist/bundle/{chunk-3UGYFXH6.js → chunk-R32DHS6J.js} +187 -379
  101. package/dist/bundle/{chunk-6SJOTNHF.js → chunk-R57QUYBG.js} +6 -28
  102. package/dist/bundle/{chunk-UTO2GO4P.js → chunk-R64OSDOD.js} +45 -66
  103. package/dist/bundle/{chunk-GBKNJWOZ.js → chunk-RSPBVKOC.js} +8 -8
  104. package/dist/bundle/{chunk-HL52XXZX.js → chunk-SPNPJ3FZ.js} +3 -4
  105. package/dist/bundle/chunk-SQHDSIFL.js +388 -0
  106. package/dist/bundle/{chunk-YPNWIB6H.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-X4TIMMKJ.js → chunk-TTPWKTVR.js} +1 -1
  111. package/dist/bundle/{chunk-TAFHYHKA.js → chunk-U7VEJ3CW.js} +45 -27
  112. package/dist/bundle/{chunk-6Y2BYFXQ.js → chunk-UC7JLE6J.js} +0 -7
  113. package/dist/bundle/{chunk-4HWJOU7N.js → chunk-UIQ35CA5.js} +1 -1
  114. package/dist/bundle/{chunk-SAKO3P4H.js → chunk-UJY26HW4.js} +1 -1
  115. package/dist/bundle/{chunk-D5TGYUVU.js → chunk-UWG3PRY7.js} +9 -60
  116. package/dist/bundle/{chunk-JZHBZOJR.js → chunk-VAR3MJU6.js} +3 -3
  117. package/dist/bundle/{chunk-GOWXXYEF.js → chunk-VPQSI5IU.js} +4 -4
  118. package/dist/bundle/{chunk-QFR2PNJN.js → chunk-VQPT3Y7W.js} +12 -12
  119. package/dist/bundle/{chunk-Z3KUSRCF.js → chunk-WMG3H2VK.js} +2 -2
  120. package/dist/bundle/{chunk-4PA4DHYV.js → chunk-X5BGAZC5.js} +6 -6
  121. package/dist/bundle/{chunk-2UUWXPOB.js → chunk-XC6TRWLZ.js} +3 -3
  122. package/dist/bundle/{chunk-OF422U5D.js → chunk-XQZEMRCU.js} +402 -402
  123. package/dist/bundle/{chunk-72C4YOCH.js → chunk-XZ7MO6EU.js} +7 -7
  124. package/dist/bundle/{chunk-SERXSCN3.js → chunk-YAIOEPKU.js} +337 -390
  125. package/dist/bundle/chunk-YHWFF6DN.js +39 -0
  126. package/dist/bundle/{chunk-RESDD3Q4.js → chunk-YWOLQEDV.js} +16 -3
  127. package/dist/bundle/{chunk-YMJ6IDGT.js → chunk-ZFDSJ5YJ.js} +38 -8
  128. package/dist/bundle/{chunk-HMS6EEQL.js → chunk-ZFUZEFU6.js} +3 -3
  129. package/dist/bundle/{chunk-TAUBRNC5.js → chunk-ZJKXSMXK.js} +72 -59
  130. package/dist/bundle/{chunk-22QQUKWA.js → chunk-ZKWT6HXT.js} +1 -1
  131. package/dist/bundle/chunk-ZPUY3COZ.js +250 -0
  132. package/dist/bundle/{cli-556DERZL.js → cli-2P5FW2RL.js} +201 -98
  133. package/dist/bundle/command-contract-BMQT2G5X.js +45 -0
  134. package/dist/bundle/{command-server-entry-AYLGNZWD.js → command-server-entry-KP2UDGLA.js} +36 -34
  135. package/dist/bundle/{decode-QU24MWMN.js → decode-K2JZ5D6V.js} +10 -10
  136. package/dist/bundle/{dispatch-4KODNOXV.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-BXX4OQWC.js → echarts-URO3QGCG.js} +2 -2
  140. package/dist/bundle/{embed-KG27KG3D.js → embed-JLIPWTNN.js} +10 -10
  141. package/dist/bundle/{embedder-IPAVUQUV.js → embedder-LUTDO3HS.js} +15 -15
  142. package/dist/bundle/entry-AVF6LMG7.js +25 -0
  143. package/dist/bundle/{failure-ESL7ETL4.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-VCDBSNOW.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-LOWMVGZY.js → identity-FXPB5EMT.js} +7 -6
  153. package/dist/bundle/{instructions-2VECIDXF.js → instructions-IROIUVZI.js} +1 -1
  154. package/dist/bundle/{login-7GBONT7V.js → login-WIY5VQU7.js} +96 -81
  155. package/dist/bundle/{mcp-O6ACR2DX.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-G7PFOKU7.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-MPEQSFI3.js → node-IACCI2CW.js} +2 -2
  165. package/dist/bundle/{node-sqlite-OLQMAYB4.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-OXTE672W.js → open-H32B6BCT.js} +8 -8
  169. package/dist/bundle/{openai-EB3TPIZY.js → openai-VHMPJJUG.js} +22 -21
  170. package/dist/bundle/{process-F6TKXWWA.js → process-RNHPF5OK.js} +1 -1
  171. package/dist/bundle/{program-4IFDZ7FM.js → program-GYMJ3DDH.js} +275 -1148
  172. package/dist/bundle/{prompt-F5RRHPN2.js → prompt-TOG2CRCE.js} +8 -8
  173. package/dist/bundle/{reasons-UORHJDHK.js → reasons-TLFQ45YX.js} +6 -5
  174. package/dist/bundle/{recognize-DAVNZND3.js → recognize-GYGY45EY.js} +7 -7
  175. package/dist/bundle/remote-6XN2QLI5.js +35 -0
  176. package/dist/bundle/{rerank-CND2GVLZ.js → rerank-HJO3O4TW.js} +11 -11
  177. package/dist/bundle/{serve-ZHSPUIGX.js → serve-XPCNLHCR.js} +19 -19
  178. package/dist/bundle/server-UBJZ66XE.js +97 -0
  179. package/dist/bundle/{server-YMAK4LHC.js → server-WPT3NC5B.js} +89 -70
  180. package/dist/bundle/{services-ZILSFJ6E.js → services-253KKKVU.js} +109 -89
  181. package/dist/bundle/{sqlite-runtime-S5VPMZQH.js → sqlite-runtime-EZASGJXW.js} +9 -9
  182. package/dist/bundle/{start-CR6X25RT.js → start-UHI35JFL.js} +7 -7
  183. package/dist/bundle/{state-YFPHVIIJ.js → state-KJTSPFGK.js} +9 -9
  184. package/dist/bundle/{store-UODRT6X4.js → store-62J2H2A3.js} +36 -25
  185. package/dist/bundle/{store-CL4ZJZRI.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 +5 -0
  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 +5 -2
  235. package/dist/sync.js.map +1 -1
  236. package/dist/version.d.ts +1 -1
  237. package/dist/version.js +1 -1
  238. package/package.json +3 -3
  239. package/scenarios/find-decision.md +1 -1
  240. package/skills/drive-cli/SKILL.md +4 -2
  241. package/dist/bundle/chunk-J5Q5FS2N.js +0 -593
  242. package/dist/bundle/chunk-L46C6HQ7.js +0 -729
  243. package/dist/bundle/chunk-UDMNY63V.js +0 -899
  244. package/dist/bundle/chunk-VKE77B3F.js +0 -2
  245. package/dist/bundle/command-contract-VRTOAV6W.js +0 -43
  246. package/dist/bundle/entry-MVXQETWS.js +0 -25
  247. package/dist/bundle/first-run-4UVLW2WR.js +0 -31
  248. package/dist/bundle/first-screen-JAKAIINI.js +0 -41
  249. package/dist/bundle/google-22NXXJX5.js +0 -45
  250. package/dist/bundle/grants-MQMTVCRQ.js +0 -118
  251. package/dist/bundle/mdast-util-gfm-SZM5GBDF.js +0 -2103
  252. package/dist/bundle/meeting-combined-LVP4AZKA.js +0 -27
  253. package/dist/bundle/meeting-model-RAY5XDXZ.js +0 -29
  254. package/dist/bundle/oauth-SGH2I2BY.js +0 -22
  255. package/dist/bundle/remote-D5EYYIAU.js +0 -35
  256. package/dist/bundle/server-DUVJWP3Q.js +0 -80
  257. package/dist/bundle/store-maintenance-command-DY5XIBWR.js +0 -72
  258. package/dist/bundle/tokens-AF7QOFOF.js +0 -118
@@ -1,10 +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
- runBudget
7
- } from "./chunk-I4RWW3UD.js";
8
3
  import {
9
4
  currentCaller,
10
5
  endpointTemplate,
@@ -14,33 +9,39 @@ import {
14
9
  providerErrorKey,
15
10
  renderEvent,
16
11
  runContextOf
17
- } from "./chunk-72C4YOCH.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";
18
29
  import {
19
30
  ancestorValue,
20
31
  envName,
21
32
  readOnlyLockOf,
22
33
  readOnlyRefusal
23
- } from "./chunk-MNLL5YLM.js";
24
- import {
25
- carries
26
- } from "./chunk-Z56QFOBR.js";
34
+ } from "./chunk-5KWCO56H.js";
27
35
  import {
28
36
  DEFAULT_RERANK_MODEL,
29
37
  RERANK_MODELS
30
- } from "./chunk-XF4EXO2C.js";
31
- import {
32
- permissionCeiling
33
- } from "./chunk-FCS26CYQ.js";
38
+ } from "./chunk-IMAWQC5K.js";
34
39
  import {
35
40
  endpoint
36
- } from "./chunk-YMJ6IDGT.js";
41
+ } from "./chunk-ZFDSJ5YJ.js";
37
42
  import {
38
43
  note
39
- } from "./chunk-HMS6EEQL.js";
40
- import {
41
- filesPresent,
42
- sharedModelsDirectory
43
- } from "./chunk-COOOO5B3.js";
44
+ } from "./chunk-ZFUZEFU6.js";
44
45
  import {
45
46
  BUSINESS_KINDS,
46
47
  CATEGORIES,
@@ -52,11 +53,8 @@ import {
52
53
  FINANCE_REVIEWS,
53
54
  INVOICE_DIRECTIONS,
54
55
  INVOICE_STATUSES,
55
- KEEP_STORE_RUNS_FOR_DAYS,
56
- KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
57
56
  LINK_KINDS,
58
57
  LINK_SOURCES,
59
- LOG_ATTRIBUTES,
60
58
  MEMORY_KINDS,
61
59
  MEMORY_SCOPES,
62
60
  MEMORY_STATUSES,
@@ -65,7 +63,6 @@ import {
65
63
  ORDER_STATUSES,
66
64
  PRIORITY_LABELS,
67
65
  RELATION_KINDS,
68
- RUNS_SIZE_LIMIT_MB,
69
66
  STANDINGS,
70
67
  TASK_KINDS,
71
68
  TASK_ORIGINS,
@@ -74,45 +71,52 @@ import {
74
71
  TASK_VERDICTS,
75
72
  WORK_TASK_TYPES,
76
73
  author,
77
- childTrace,
78
74
  count,
79
- currentRun,
80
- enclosingTraceId,
81
75
  evidenceSource,
82
76
  id,
83
- inRun,
84
- isGroupName,
85
- logAttributes,
86
77
  markStoreDamaged,
87
- newRunId,
88
78
  organization,
89
79
  project,
90
80
  providerMetadata,
91
81
  reminder,
92
- runsDirFor,
93
- snakeLogger,
94
82
  sourceReview,
95
- startRun,
96
83
  text,
97
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,
98
102
  traceOf,
99
103
  typedCommand,
100
- untrusted,
101
104
  useAsProcessRun
102
- } from "./chunk-RJOQH5YY.js";
105
+ } from "./chunk-COJTCEZP.js";
103
106
  import {
104
107
  isCliFailure,
105
108
  storeDamaged
106
- } from "./chunk-26DHFMGZ.js";
109
+ } from "./chunk-6ZW2ZJYC.js";
107
110
  import {
108
111
  TAG_TYPES
109
- } from "./chunk-2UUWXPOB.js";
112
+ } from "./chunk-XC6TRWLZ.js";
110
113
  import {
111
114
  FACT_TYPES,
112
115
  MEETING_RESULT_ENTITIES,
113
116
  callStats,
114
117
  event,
115
118
  meeting,
119
+ meetingCall,
116
120
  meetingCounts,
117
121
  meetingDetails,
118
122
  meetingHit,
@@ -128,21 +132,21 @@ import {
128
132
  meetingTagging,
129
133
  meetingTranscript,
130
134
  readsZone
131
- } from "./chunk-PRW6SYA3.js";
135
+ } from "./chunk-DHMNCOQI.js";
132
136
  import {
133
137
  FIELD_TYPES,
134
138
  QUERY_BACKENDS,
135
139
  describeQuery,
136
140
  parseLucene,
137
141
  timezoneOf
138
- } from "./chunk-OF422U5D.js";
142
+ } from "./chunk-XQZEMRCU.js";
139
143
  import {
140
144
  repairConfigText,
141
145
  sharedConfigPath
142
- } from "./chunk-GBKNJWOZ.js";
146
+ } from "./chunk-RSPBVKOC.js";
143
147
  import {
144
148
  storePath
145
- } from "./chunk-Z3KUSRCF.js";
149
+ } from "./chunk-WMG3H2VK.js";
146
150
  import {
147
151
  configFilePath,
148
152
  createRecordLog,
@@ -153,19 +157,19 @@ import {
153
157
  resolvePaths,
154
158
  saveConfigFile,
155
159
  writeSecurely
156
- } from "./chunk-CJLVYIOP.js";
160
+ } from "./chunk-6CCO3JCM.js";
157
161
  import {
158
162
  EXIT_CODES,
159
163
  GENERIC_FAILURE,
160
164
  exitCodeOfAnswer
161
- } from "./chunk-3N2OFXB5.js";
165
+ } from "./chunk-55FH6IEL.js";
162
166
  import {
163
167
  singleLine,
164
168
  visibleControls
165
- } from "./chunk-KYKW2W6X.js";
169
+ } from "./chunk-FUDUXIVG.js";
166
170
  import {
167
171
  defineLogEvents
168
- } from "./chunk-KGYVHPGE.js";
172
+ } from "./chunk-EVG3AA5M.js";
169
173
  import {
170
174
  COMPACT_FLAG,
171
175
  MAX_NEXT_STEPS,
@@ -215,16 +219,15 @@ import {
215
219
  unwrap,
216
220
  variant,
217
221
  writes
218
- } from "./chunk-OJSBWP3F.js";
222
+ } from "./chunk-GXGSC622.js";
219
223
  import {
220
- CliError,
221
- isCliError
222
- } from "./chunk-4QNW4NK6.js";
224
+ CliError
225
+ } from "./chunk-OLCU7Q2B.js";
223
226
  import {
224
227
  __name
225
228
  } from "./chunk-ZVVMGPBJ.js";
226
229
 
227
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_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
228
231
  var labels = /* @__PURE__ */ new WeakMap();
229
232
  var annotate = /* @__PURE__ */ __name((command, meta) => {
230
233
  labels.set(command, { ...labels.get(command), ...meta });
@@ -244,8 +247,8 @@ var snake = /* @__PURE__ */ __name((name) => name.replace(/[A-Z]/g, (letter) =>
244
247
  var stepTargets = /* @__PURE__ */ __name((root) => {
245
248
  const found = /* @__PURE__ */ new Map();
246
249
  const optionName = /* @__PURE__ */ __name((option) => snake((option.long ?? option.attributeName()).replace(/^--/, "")), "optionName");
247
- const visit2 = /* @__PURE__ */ __name((command, parents2, above) => {
248
- const path2 = [...parents2, command.name()];
250
+ const visit2 = /* @__PURE__ */ __name((command, parents, above) => {
251
+ const path2 = [...parents, command.name()];
249
252
  const options = [...above, ...command.options];
250
253
  const { effects } = metaOf(command);
251
254
  found.set(path2.join(" "), {
@@ -267,8 +270,8 @@ var describeAlone = /* @__PURE__ */ __name((command, known) => {
267
270
  }
268
271
  return found;
269
272
  }, "describeAlone");
270
- var describe = /* @__PURE__ */ __name((command, cli, parents2, above, known) => {
271
- const path2 = [...parents2, command.name()];
273
+ var describe = /* @__PURE__ */ __name((command, cli, parents, above, known) => {
274
+ const path2 = [...parents, command.name()];
272
275
  const args = command.registeredArguments.map(describeArgument);
273
276
  const options = describeOptions(command);
274
277
  const { origin = "handwritten", query, mcp, offline, ...meta } = metaOf(command);
@@ -3725,7 +3728,7 @@ __name(useColor, "useColor");
3725
3728
  // node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
3726
3729
  var program = new Command();
3727
3730
 
3728
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_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
3729
3732
  import { isDeepStrictEqual } from "node:util";
3730
3733
  var protectedCommands = /* @__PURE__ */ new WeakMap();
3731
3734
  var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
@@ -3927,7 +3930,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
3927
3930
  return command;
3928
3931
  }, "customizeSharedCommand");
3929
3932
 
3930
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_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
3931
3934
  var argumentInfoSchema = object({
3932
3935
  name: string(),
3933
3936
  required: boolean(),
@@ -4010,7 +4013,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
4010
4013
  exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
4011
4014
  }), "commandsDocument");
4012
4015
 
4013
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_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
4014
4017
  var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
4015
4018
  let command = root;
4016
4019
  const path2 = [];
@@ -4028,9 +4031,16 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
4028
4031
  }
4029
4032
  }, "refuseJoinedPath");
4030
4033
 
4031
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
4032
4035
  var LEVELS = ["deny", "readonly", "ask", "allow"];
4033
- 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
+ ]);
4034
4044
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
4035
4045
  var DEFAULT_PERMISSIONS = {
4036
4046
  // Owner, 2026-11-14: deleting a message does not ask; a profile that wants the question sets `ask`.
@@ -4251,6 +4261,9 @@ var NAMED_WRITE_KEYS = [
4251
4261
  "messages.sync-first",
4252
4262
  "messages.server-search",
4253
4263
  "messages.press",
4264
+ "messages.scheduled.cancel",
4265
+ "messages.scheduled.edit",
4266
+ "messages.scheduled.send",
4254
4267
  "chats.start",
4255
4268
  "chats.app",
4256
4269
  "stats.messages.counters.sync",
@@ -4454,7 +4467,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
4454
4467
  }
4455
4468
  }, "assertRetentionEvidenceRead");
4456
4469
 
4457
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
4458
4471
  var WEIGHTS = {
4459
4472
  bot: 3,
4460
4473
  scam: 3,
@@ -4479,7 +4492,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
4479
4492
  var DIGITS = /\d{5,}/;
4480
4493
  var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
4481
4494
 
4482
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
4483
4496
  var linkedIdentity = strictObject({
4484
4497
  provider: text,
4485
4498
  id,
@@ -4534,7 +4547,7 @@ var contactCheck = strictObject({
4534
4547
  checked_at: time
4535
4548
  });
4536
4549
 
4537
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
4538
4551
  var member = strictObject({
4539
4552
  id,
4540
4553
  name: nullable(text),
@@ -4557,7 +4570,7 @@ var member = strictObject({
4557
4570
  check: optional(record(string(), unknown()))
4558
4571
  });
4559
4572
 
4560
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
4561
4574
  var setting = optional(nullable(boolean()));
4562
4575
  var chat = strictObject({
4563
4576
  ref: reference,
@@ -4598,7 +4611,7 @@ var chat = strictObject({
4598
4611
  members: optional(array(member))
4599
4612
  });
4600
4613
 
4601
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
4602
4615
  var attachment = strictObject({
4603
4616
  /** The message it came with, as a locator; absent inside that message. */
4604
4617
  message: optional(reference),
@@ -4643,7 +4656,7 @@ var hitFile = strictObject({
4643
4656
  local_path: optional(text)
4644
4657
  });
4645
4658
 
4646
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
4647
4660
  var quoted = strictObject({
4648
4661
  id,
4649
4662
  sender_id: nullable(id),
@@ -4757,12 +4770,14 @@ var message = strictObject({
4757
4770
  /** Mail `review`: no earlier stored email, in any account, came from this address. */
4758
4771
  new_sender: optional(boolean()),
4759
4772
  /** Mail `review`: how many identities the sender's person has; 1 is this address alone. */
4760
- 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 }))
4761
4776
  })),
4762
4777
  provider_metadata: providerMetadata
4763
4778
  });
4764
4779
 
4765
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
4766
4781
  var recordedMeeting = strictObject({
4767
4782
  ref: reference,
4768
4783
  meeting_id: count,
@@ -4771,11 +4786,15 @@ var recordedMeeting = strictObject({
4771
4786
  started_at: nullable(time),
4772
4787
  duration_ms: nullable(count),
4773
4788
  has_transcript: boolean(),
4789
+ /** The start of its transcript, on one line: what the people said, never instructions. */
4790
+ snippet: optional(nullable(text)),
4774
4791
  event: nullable(reference),
4775
- 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)
4776
4795
  });
4777
4796
 
4778
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
4779
4798
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
4780
4799
  var contextMessage = strictObject({
4781
4800
  locator: reference,
@@ -4981,7 +5000,7 @@ var contactPreparation = strictObject({
4981
5000
  })
4982
5001
  });
4983
5002
 
4984
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
4985
5004
  var nullableText = nullable(text);
4986
5005
  var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
4987
5006
  var outcome = picklist(["open", "won", "lost"]);
@@ -4999,6 +5018,12 @@ var activity = strictObject({
4999
5018
  created_at: time,
5000
5019
  updated_at: time
5001
5020
  });
5021
+ var stageEntry = strictObject({
5022
+ from: nullableText,
5023
+ to: text,
5024
+ at: time,
5025
+ exact: boolean()
5026
+ });
5002
5027
  var deal = strictObject({
5003
5028
  id,
5004
5029
  ref: reference,
@@ -5057,9 +5082,30 @@ var deal = strictObject({
5057
5082
  activities: optional(array(activity)),
5058
5083
  /** `show` of a CRM copy: the newest recorded meetings and calls of its people, in its account's scope. */
5059
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)),
5060
5090
  untrusted
5061
5091
  });
5062
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
+ });
5063
5109
  var pipelineStage = strictObject({
5064
5110
  name: text,
5065
5111
  position: count,
@@ -5072,8 +5118,11 @@ var pipelineStage = strictObject({
5072
5118
  conversion: optional(nullable(number())),
5073
5119
  /** With a funnel: rows standing in it now, and their sum per currency, never converted. */
5074
5120
  items: optional(count),
5075
- 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()))
5076
5124
  });
5125
+ var pipelineStageAnswer = pipelineStage;
5077
5126
  var pipeline = strictObject({
5078
5127
  id,
5079
5128
  ref: reference,
@@ -5081,10 +5130,20 @@ var pipeline = strictObject({
5081
5130
  kind: picklist(["deal", "lead"]),
5082
5131
  account: crmAccount,
5083
5132
  external_id: nullableText,
5084
- stages: array(pipelineStage),
5133
+ stages: array(pipelineStageAnswer),
5085
5134
  created_at: time,
5086
- 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) })),
5087
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 })),
5088
5147
  untrusted
5089
5148
  });
5090
5149
  var stage = strictObject({
@@ -5092,10 +5151,12 @@ var stage = strictObject({
5092
5151
  pipeline: reference,
5093
5152
  pipeline_name: text,
5094
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 }))),
5095
5156
  untrusted
5096
5157
  });
5097
5158
 
5098
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
5099
5160
  var nullableText2 = nullable(text);
5100
5161
  var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
5101
5162
  var standing = picklist(STANDINGS);
@@ -5181,6 +5242,16 @@ var taskLine = strictObject({
5181
5242
  due_at: nullable(time)
5182
5243
  });
5183
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
+ };
5184
5255
  var personBusiness = strictObject({
5185
5256
  organizations: section(strictObject({ ...related.entries, categories })),
5186
5257
  reports_to: section(related),
@@ -5220,13 +5291,15 @@ var organizationContext = strictObject({
5220
5291
  money,
5221
5292
  /** Counts only, through its own people, in the accounts read. */
5222
5293
  communications: strictObject({ ...counts, has_more: boolean() }),
5294
+ /** Its people's messages, mail and meetings, newest first. */
5295
+ history: section(strictObject(touch)),
5223
5296
  tasks: section(taskLine),
5224
5297
  coverage: coverage2
5225
5298
  });
5226
5299
  var { untrusted: _, ...dealRow } = deal.entries;
5227
5300
  var dealContext = strictObject({
5228
5301
  deal: strictObject(dealRow),
5229
- 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() })),
5230
5303
  organization: nullable(strictObject({ ref: reference, name: nullableText2, categories })),
5231
5304
  participants: section(related),
5232
5305
  owner: nullable(related),
@@ -5235,14 +5308,7 @@ var dealContext = strictObject({
5235
5308
  window: strictObject({ since: time, until: time }),
5236
5309
  /** Shared people within its lifetime: `proposed`, an overlap of people, never a link. */
5237
5310
  communications: strictObject({
5238
- ...section(strictObject({
5239
- kind: picklist(["message", "mail", "meeting"]),
5240
- ref: reference,
5241
- title: nullableText2,
5242
- at: nullable(time),
5243
- people: array(reference),
5244
- standing: literal("proposed")
5245
- })).entries,
5311
+ ...section(strictObject({ ...touch, standing: literal("proposed") })).entries,
5246
5312
  counts: strictObject(counts)
5247
5313
  }),
5248
5314
  tasks: section(taskLine),
@@ -5269,7 +5335,7 @@ var dealBrief = strictObject({
5269
5335
  not_read: coverage2.entries.not_read
5270
5336
  });
5271
5337
 
5272
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
5273
5339
  var botProfile = strictObject({
5274
5340
  name: text,
5275
5341
  token: text,
@@ -5393,7 +5459,7 @@ var stickerInventory = strictObject({
5393
5459
  url: optional(nullable(text))
5394
5460
  });
5395
5461
 
5396
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
5397
5463
  var actionableError = objectWithRest({
5398
5464
  code: text,
5399
5465
  message: text,
@@ -5410,7 +5476,7 @@ var batchResult = strictObject({
5410
5476
  max_error_percent: count
5411
5477
  });
5412
5478
 
5413
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
5414
5480
  var conversationBuild = strictObject({
5415
5481
  chat: id,
5416
5482
  messages: count,
@@ -5435,13 +5501,13 @@ var catchUpPreparation = strictObject({
5435
5501
  prepared: optional(conversationPreparation)
5436
5502
  });
5437
5503
 
5438
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
5439
5505
  import { spawn } from "node:child_process";
5440
5506
  import { randomBytes } from "node:crypto";
5441
5507
  import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
5442
5508
  import { dirname, join } from "node:path";
5443
5509
 
5444
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
5445
5511
  var progressOf = /* @__PURE__ */ __name((input) => {
5446
5512
  const total = input.total ?? null;
5447
5513
  const updated = input.updatedAt ?? null;
@@ -5457,7 +5523,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
5457
5523
  };
5458
5524
  }, "progressOf");
5459
5525
 
5460
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
5461
5527
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
5462
5528
  const run = currentRun();
5463
5529
  const trace = traceId ?? run.traceId;
@@ -5471,7 +5537,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
5471
5537
  }));
5472
5538
  }, "recordLogFor");
5473
5539
 
5474
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
5475
5541
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
5476
5542
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
5477
5543
  const out = openSync(log, "a", 384);
@@ -5626,7 +5692,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
5626
5692
  return { job: id6, pid, chat: input.chat, log };
5627
5693
  }, "startArchiveJob");
5628
5694
 
5629
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
5630
5696
  var problem = strictObject({ code: text, message: text });
5631
5697
  var job = strictObject({
5632
5698
  id,
@@ -5649,7 +5715,7 @@ var job = strictObject({
5649
5715
  error: optional(problem)
5650
5716
  });
5651
5717
 
5652
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
5653
5719
  var extractionItem = strictObject({
5654
5720
  ref: reference,
5655
5721
  attachment: count,
@@ -5682,7 +5748,7 @@ var extractionReport = strictObject({
5682
5748
  cursor: optional(text)
5683
5749
  });
5684
5750
 
5685
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
5686
5752
  var savedMessageFile = strictObject({
5687
5753
  kind: text,
5688
5754
  path: text,
@@ -5769,7 +5835,7 @@ var messageSyncAll = strictObject({
5769
5835
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
5770
5836
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
5771
5837
 
5772
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
5773
5839
  var range = strictObject({ from: number(), to: number() });
5774
5840
  var storeChatStatus = strictObject({
5775
5841
  chat_id: id,
@@ -5867,7 +5933,7 @@ var storeJobRetry = union([
5867
5933
  ]);
5868
5934
  var storeJobClear = strictObject({ cleared: array(id) });
5869
5935
 
5870
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
5871
5937
  var account = strictObject({
5872
5938
  provider: text,
5873
5939
  id,
@@ -5877,7 +5943,7 @@ var account = strictObject({
5877
5943
  scope: optional(picklist(["personal", "work"]))
5878
5944
  });
5879
5945
 
5880
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
5881
5947
  var accountSession = strictObject({
5882
5948
  current: boolean(),
5883
5949
  client: nullable(text),
@@ -5887,7 +5953,7 @@ var accountSession = strictObject({
5887
5953
  created_at: optional(nullable(time))
5888
5954
  });
5889
5955
 
5890
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
5891
5957
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
5892
5958
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
5893
5959
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -5916,7 +5982,7 @@ var accountRemoval = strictObject({
5916
5982
  kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
5917
5983
  });
5918
5984
 
5919
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
5920
5986
  var accountProfile = strictObject({
5921
5987
  profile: id,
5922
5988
  current: boolean(),
@@ -5928,7 +5994,7 @@ var accountProfile = strictObject({
5928
5994
  bot: optional(literal(true))
5929
5995
  });
5930
5996
 
5931
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
5932
5998
  var milliseconds = pipe(number(), minValue(0));
5933
5999
  var counterReading = strictObject({
5934
6000
  counter: picklist(["views", "reactions", "comments"]),
@@ -5940,7 +6006,7 @@ var counterReading = strictObject({
5940
6006
  });
5941
6007
  var selection = record(string(), unknown());
5942
6008
 
5943
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
5944
6010
  var adminRow = strictObject({
5945
6011
  ref: reference,
5946
6012
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -5993,7 +6059,7 @@ var adminReport = strictObject({
5993
6059
  rows: array(adminRow)
5994
6060
  });
5995
6061
 
5996
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
5997
6063
  var closeSuggestion = strictObject({
5998
6064
  as: picklist(["done", "dismissed"]),
5999
6065
  /** The agent's name. */
@@ -6055,7 +6121,7 @@ var task = strictObject({
6055
6121
  updated_at: optional(time)
6056
6122
  });
6057
6123
 
6058
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6059
6125
  var agendaChat = strictObject({
6060
6126
  chat: reference,
6061
6127
  title: nullable(text),
@@ -6125,11 +6191,11 @@ var agenda = strictObject({
6125
6191
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
6126
6192
  });
6127
6193
 
6128
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6129
6195
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
6130
6196
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
6131
6197
 
6132
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6133
6199
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
6134
6200
  var attachmentBytes = strictObject({
6135
6201
  ref: reference,
@@ -6160,7 +6226,7 @@ var attachmentTextChange = strictObject({
6160
6226
  text: optional(text)
6161
6227
  });
6162
6228
 
6163
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6164
6230
  var chart = strictObject({
6165
6231
  version: literal(1),
6166
6232
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -6175,7 +6241,7 @@ var chart = strictObject({
6175
6241
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
6176
6242
  });
6177
6243
 
6178
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6179
6245
  var named = strictObject({
6180
6246
  id,
6181
6247
  title: nullable(text),
@@ -6198,7 +6264,7 @@ var folder = strictObject({
6198
6264
  excluded_chats: optional(array(named))
6199
6265
  });
6200
6266
 
6201
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6202
6268
  var inviteLink = strictObject({
6203
6269
  link: text,
6204
6270
  /** Who joins by it asks first, and an admin lets them in. */
@@ -6214,7 +6280,7 @@ var inviteLink = strictObject({
6214
6280
  joined_count: optional(count)
6215
6281
  });
6216
6282
 
6217
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6218
6284
  var operated = { operation_id: id, chat_id: id };
6219
6285
  var group = strictObject({
6220
6286
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -6294,7 +6360,7 @@ var chatFolderOrder = strictObject({
6294
6360
  folders: array(strictObject({ id, title: text }))
6295
6361
  });
6296
6362
 
6297
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6298
6364
  var operated2 = { operation_id: id, chat_id: id };
6299
6365
  var chatRemoval = strictObject(operated2);
6300
6366
  var chatMuting = strictObject({
@@ -6305,7 +6371,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
6305
6371
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
6306
6372
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
6307
6373
 
6308
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6309
6375
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
6310
6376
  var chatEvent = strictObject({
6311
6377
  chat_id: id,
@@ -6322,7 +6388,7 @@ var chatEvent = strictObject({
6322
6388
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
6323
6389
  });
6324
6390
 
6325
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6326
6392
  var chatMetadata = strictObject({
6327
6393
  chat_id: id,
6328
6394
  title: nullable(text),
@@ -6337,7 +6403,7 @@ var chatMetadataRefresh = strictObject({
6337
6403
  has_more: boolean()
6338
6404
  });
6339
6405
 
6340
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6341
6407
  var action = picklist(["report", "delete", "remove"]);
6342
6408
  var level = picklist(["deny", "readonly", "ask", "allow"]);
6343
6409
  var chatRules = strictObject({
@@ -6374,7 +6440,7 @@ var chatModeration = strictObject({
6374
6440
  }))
6375
6441
  });
6376
6442
 
6377
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6378
6444
  var chatSending = strictObject({
6379
6445
  mode: picklist(["allowed", "ask", "denied"]),
6380
6446
  meaning: text,
@@ -6384,7 +6450,7 @@ var chatSending = strictObject({
6384
6450
  changed: optional(boolean())
6385
6451
  });
6386
6452
 
6387
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6388
6454
  var optionalCount = optional(count);
6389
6455
  var minutes = nullable(number());
6390
6456
  var chatStats = strictObject({
@@ -6460,7 +6526,7 @@ var taskStats = strictObject({
6460
6526
  }))
6461
6527
  });
6462
6528
 
6463
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6464
6530
  var memberCount = strictObject({
6465
6531
  day: pipe(text, isoDate()),
6466
6532
  participants: nullable(count),
@@ -6483,7 +6549,7 @@ var chatTracking = strictObject({
6483
6549
  tracked: boolean()
6484
6550
  });
6485
6551
 
6486
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6487
6553
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
6488
6554
  var contactSync = strictObject({ added: count, changed: count, known: count });
6489
6555
  var profileFields = {
@@ -6521,7 +6587,7 @@ var profileFields = {
6521
6587
  }))
6522
6588
  };
6523
6589
 
6524
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6525
6591
  var contact = strictObject({
6526
6592
  ref: reference,
6527
6593
  id,
@@ -6552,7 +6618,7 @@ var contact = strictObject({
6552
6618
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
6553
6619
  });
6554
6620
 
6555
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6556
6622
  var contactNote = strictObject({
6557
6623
  id,
6558
6624
  /** The contact, as a `contact:` reference. */
@@ -6564,13 +6630,13 @@ var contactNote = strictObject({
6564
6630
  updated_at: time
6565
6631
  });
6566
6632
 
6567
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6568
6634
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
6569
6635
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
6570
6636
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
6571
6637
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
6572
6638
 
6573
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6574
6640
  var conversation = strictObject({
6575
6641
  id,
6576
6642
  chat: reference,
@@ -6585,7 +6651,7 @@ var conversation = strictObject({
6585
6651
  rules_version: count
6586
6652
  });
6587
6653
 
6588
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6589
6655
  var conversationDetails = union([
6590
6656
  strictObject({ ...conversation.entries, messages: array(message) }),
6591
6657
  message
@@ -6672,10 +6738,15 @@ var conversationHit = strictObject({
6672
6738
  score: nullable(number()),
6673
6739
  matched_in: optional(literal("context")),
6674
6740
  by: array(picklist(["meaning", "words"])),
6675
- 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
6676
6747
  });
6677
6748
 
6678
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6679
6750
  var counters = strictObject({
6680
6751
  cutoff: time,
6681
6752
  max_age_ms: milliseconds,
@@ -6705,7 +6776,7 @@ var counterRefresh = strictObject({
6705
6776
  complete: optional(boolean())
6706
6777
  });
6707
6778
 
6708
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6709
6780
  var document = strictObject({
6710
6781
  ref: reference,
6711
6782
  id,
@@ -6720,7 +6791,7 @@ var document = strictObject({
6720
6791
  owners: optional(array(text))
6721
6792
  });
6722
6793
 
6723
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6724
6795
  var documentLink = strictObject({
6725
6796
  ref: reference,
6726
6797
  url: text,
@@ -6731,7 +6802,7 @@ var documentLink = strictObject({
6731
6802
  sender: strictObject({ id: nullable(id), name: nullable(text) })
6732
6803
  });
6733
6804
 
6734
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6735
6806
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
6736
6807
  var contribution = strictObject({
6737
6808
  message: evidenceMessage,
@@ -6761,7 +6832,7 @@ var retentionStay = strictObject({
6761
6832
  });
6762
6833
  var evidence = union([contribution, retentionStay]);
6763
6834
 
6764
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6765
6836
  var fact = strictObject({
6766
6837
  ref: reference,
6767
6838
  id,
@@ -6792,9 +6863,20 @@ var fact = strictObject({
6792
6863
  updated_at: time
6793
6864
  });
6794
6865
 
6795
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6796
6867
  var hit = strictObject({
6797
- 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
+ ]),
6798
6880
  ref: reference,
6799
6881
  provider: text,
6800
6882
  url: optional(text),
@@ -6840,7 +6922,7 @@ var hit = strictObject({
6840
6922
  untrusted
6841
6923
  });
6842
6924
 
6843
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6844
6926
  var identity = strictObject({
6845
6927
  ref: reference,
6846
6928
  provider: text,
@@ -6856,7 +6938,7 @@ var identity = strictObject({
6856
6938
  person: optional(nullable(reference))
6857
6939
  });
6858
6940
 
6859
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6860
6942
  var imageEmbedding = strictObject({
6861
6943
  model: text,
6862
6944
  embedded: count,
@@ -6865,7 +6947,7 @@ var imageEmbedding = strictObject({
6865
6947
  more: boolean()
6866
6948
  });
6867
6949
 
6868
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6869
6951
  var joinRequest = strictObject({
6870
6952
  person_id: id,
6871
6953
  name: nullable(text),
@@ -6876,7 +6958,7 @@ var joinRequest = strictObject({
6876
6958
  about: optional(text)
6877
6959
  });
6878
6960
 
6879
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6880
6962
  var pollVote = strictObject({
6881
6963
  person_id: id,
6882
6964
  name: nullable(text),
@@ -6886,7 +6968,7 @@ var pollVote = strictObject({
6886
6968
  voted_at: time
6887
6969
  });
6888
6970
 
6889
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6890
6972
  var reactions = unwrap(unwrap(message.entries.reactions));
6891
6973
  var observation = strictObject({
6892
6974
  value: pipe(number(), minValue(0)),
@@ -6928,7 +7010,7 @@ var serveSummary = strictObject({
6928
7010
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
6929
7011
  });
6930
7012
 
6931
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6932
7014
  var mailCounts = strictObject({
6933
7015
  by: picklist(["day", "week", "sender"]),
6934
7016
  received: count,
@@ -6943,7 +7025,7 @@ var mailCounts = strictObject({
6943
7025
  }))
6944
7026
  });
6945
7027
 
6946
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
6947
7029
  var evidence2 = strictObject({ reference, fingerprint: text });
6948
7030
  var base = { id, evidence: array(evidence2) };
6949
7031
  var finding = variant("kind", [
@@ -7087,7 +7169,7 @@ var mailFindings = strictObject({
7087
7169
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
7088
7170
  });
7089
7171
 
7090
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7091
7173
  var mediaArchive = strictObject({
7092
7174
  directory: text,
7093
7175
  chats: count,
@@ -7119,7 +7201,7 @@ var mediaArchiveTimer = union([
7119
7201
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
7120
7202
  ]);
7121
7203
 
7122
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7123
7205
  var preparationId = pipe(string(), minLength(1));
7124
7206
  var preparationCount = pipe(number(), integer(), minValue(0));
7125
7207
  var preparationTime = nullable(isoTime);
@@ -7211,7 +7293,7 @@ var preparationMeeting = strictObject({
7211
7293
  updated_at: isoTime
7212
7294
  });
7213
7295
 
7214
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7215
7297
  var meetingEvidence = preparationEvidence;
7216
7298
  var meetingPersonContext = strictObject({
7217
7299
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -7233,7 +7315,7 @@ var meetingPersonContext = strictObject({
7233
7315
  })
7234
7316
  });
7235
7317
 
7236
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7237
7319
  var evidence3 = strictObject({ reference, fingerprint: text });
7238
7320
  var base2 = { id, project: reference, evidence: array(evidence3) };
7239
7321
  var finding2 = variant("kind", [
@@ -7271,7 +7353,7 @@ var meetingFindings = strictObject({
7271
7353
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
7272
7354
  });
7273
7355
 
7274
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7275
7357
  var communicationCoverage = strictObject({
7276
7358
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
7277
7359
  query: string(),
@@ -7316,7 +7398,7 @@ var preparationCommunications = strictObject({
7316
7398
  }))
7317
7399
  });
7318
7400
 
7319
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7320
7402
  var meetingPreparation = strictObject({
7321
7403
  communications: optional(preparationCommunications),
7322
7404
  schema_version: literal(1),
@@ -7429,7 +7511,7 @@ var meetingPreparation = strictObject({
7429
7511
  })
7430
7512
  });
7431
7513
 
7432
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7433
7515
  var count3 = pipe(number(), integer(), minValue(0));
7434
7516
  var id3 = pipe(string(), minLength(1));
7435
7517
  var text3 = string();
@@ -7493,7 +7575,7 @@ var meetingProjectCandidates = strictObject({
7493
7575
  })
7494
7576
  });
7495
7577
 
7496
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7497
7579
  var count4 = pipe(number(), integer(), minValue(0));
7498
7580
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
7499
7581
  var meetingSeriesInventory = strictObject({
@@ -7523,7 +7605,7 @@ var meetingSeriesInventory = strictObject({
7523
7605
  })
7524
7606
  });
7525
7607
 
7526
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7527
7609
  var text4 = string();
7528
7610
  var id5 = pipe(number(), integer(), minValue(1));
7529
7611
  var revision = picklist(["current", "superseded"]);
@@ -7540,7 +7622,7 @@ var meetingTaskProposal = strictObject({
7540
7622
  persistence: literal("proposal-only")
7541
7623
  });
7542
7624
 
7543
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7544
7626
  var memory = strictObject({
7545
7627
  ref: reference,
7546
7628
  id,
@@ -7568,7 +7650,7 @@ var memory = strictObject({
7568
7650
  updated_at: time
7569
7651
  });
7570
7652
 
7571
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7572
7654
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
7573
7655
  var status = picklist(["found", "linked", "proposed", "dismissed"]);
7574
7656
  var mention = strictObject({
@@ -7612,13 +7694,16 @@ var mentionRebuild = strictObject({
7612
7694
  mentions: count
7613
7695
  });
7614
7696
 
7615
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7616
7698
  var operated3 = { operation_id: id, chat_id: id };
7617
7699
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
7618
7700
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
7619
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);
7620
7705
 
7621
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7622
7707
  var messageTranscript = strictObject({
7623
7708
  message_id: id,
7624
7709
  text,
@@ -7676,7 +7761,7 @@ var evidencePacket = strictObject({
7676
7761
  }))
7677
7762
  });
7678
7763
 
7679
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7680
7765
  var messageThread = strictObject({
7681
7766
  ref: reference,
7682
7767
  chat: id,
@@ -7693,7 +7778,7 @@ var messageThread = strictObject({
7693
7778
  });
7694
7779
  var messageContext = union([message, messageThread]);
7695
7780
 
7696
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7697
7782
  var messageCounts = strictObject({
7698
7783
  by: picklist(["chat", "sender", "day", "hour"]),
7699
7784
  total: count,
@@ -7706,7 +7791,7 @@ var messageCounts = strictObject({
7706
7791
  }))
7707
7792
  });
7708
7793
 
7709
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7710
7795
  var messageLink = strictObject({
7711
7796
  ref: reference,
7712
7797
  url: nullable(text),
@@ -7723,7 +7808,7 @@ var messageLink = strictObject({
7723
7808
  })))
7724
7809
  });
7725
7810
 
7726
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7727
7812
  var messageWrite = strictObject({
7728
7813
  operation_id: id,
7729
7814
  message,
@@ -7738,7 +7823,7 @@ var draftWrite = strictObject({
7738
7823
  });
7739
7824
  var messageSend = union([messageWrite, draftWrite]);
7740
7825
 
7741
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7742
7827
  var model = strictObject({
7743
7828
  id,
7744
7829
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -7773,7 +7858,7 @@ var chosenModel = strictObject({
7773
7858
  estimate_seconds: nullable(count)
7774
7859
  });
7775
7860
 
7776
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7777
7862
  var source = picklist(["environment", "keyring", "file"]);
7778
7863
  var modelKey = strictObject({
7779
7864
  provider: text,
@@ -7783,7 +7868,7 @@ var modelKey = strictObject({
7783
7868
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
7784
7869
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
7785
7870
 
7786
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7787
7872
  var versus = strictObject({ current: number(), previous: number() });
7788
7873
  var person = { person_ref: reference, name: nullable(text) };
7789
7874
  var graph = strictObject({
@@ -7817,14 +7902,14 @@ var officialStats = strictObject({
7817
7902
  graphs: record(string(), union([graph, strictObject({ error: text })]))
7818
7903
  });
7819
7904
 
7820
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7821
7906
  var person2 = strictObject({
7822
7907
  ref: reference,
7823
7908
  name: nullable(text),
7824
7909
  identities: optional(array(identity))
7825
7910
  });
7826
7911
 
7827
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7828
7913
  var poll = strictObject({
7829
7914
  chat_id: id,
7830
7915
  message_id: id,
@@ -7840,11 +7925,11 @@ var poll = strictObject({
7840
7925
  });
7841
7926
  var pollChange = strictObject({ operation_id: id, poll });
7842
7927
 
7843
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7844
7929
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
7845
7930
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
7846
7931
 
7847
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7848
7933
  var figures = record(string(), number());
7849
7934
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
7850
7935
  var rankingRow = strictObject({
@@ -7891,7 +7976,7 @@ var ranking = strictObject({
7891
7976
  rows: array(rankingRow)
7892
7977
  });
7893
7978
 
7894
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7895
7980
  var reaction = strictObject({
7896
7981
  person: strictObject({ id, name: nullable(text), username: nullable(text) }),
7897
7982
  /** The emoji, or `custom:<id>` for a custom one. */
@@ -7899,7 +7984,7 @@ var reaction = strictObject({
7899
7984
  reacted_at: time
7900
7985
  });
7901
7986
 
7902
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7903
7988
  var reactionChange = strictObject({
7904
7989
  operation_id: id,
7905
7990
  chat_id: id,
@@ -7907,7 +7992,7 @@ var reactionChange = strictObject({
7907
7992
  reaction: nullable(text)
7908
7993
  });
7909
7994
 
7910
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7911
7996
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
7912
7997
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
7913
7998
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -7918,7 +8003,7 @@ var recipientChange = strictObject({
7918
8003
  ...partial(recipientOff).entries
7919
8004
  });
7920
8005
 
7921
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7922
8007
  var events = array(record(string(), unknown()));
7923
8008
  var recordedRun = strictObject({
7924
8009
  run_id: id,
@@ -7990,7 +8075,7 @@ var runHit = strictObject({
7990
8075
  });
7991
8076
  var runLocation = strictObject({ path: text });
7992
8077
 
7993
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
7994
8079
  var relationship = strictObject({
7995
8080
  id,
7996
8081
  from: reference,
@@ -8017,7 +8102,7 @@ var relationship = strictObject({
8017
8102
  created_at: time
8018
8103
  });
8019
8104
 
8020
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
8021
8106
  var milliseconds2 = nullable(pipe(number(), minValue(0)));
8022
8107
  var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
8023
8108
  var responseTimes = strictObject({
@@ -8034,7 +8119,7 @@ var waitingChats = strictObject({
8034
8119
  by_kind: strictObject({ private: count, group: count })
8035
8120
  });
8036
8121
 
8037
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
8038
8123
  var retentionCohort = strictObject({
8039
8124
  /** The first day of the joining day or week. */
8040
8125
  cohort: text,
@@ -8082,7 +8167,7 @@ var retention = strictObject({
8082
8167
  rows: array(retentionCohort)
8083
8168
  });
8084
8169
 
8085
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
8086
8171
  var savedSearch = strictObject({
8087
8172
  id,
8088
8173
  /** `null` for a run in the history. */
@@ -8099,7 +8184,7 @@ var savedSearch = strictObject({
8099
8184
  });
8100
8185
  var searchHistoryClear = strictObject({ cleared: count });
8101
8186
 
8102
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
8103
8188
  var sendAttempt = strictObject({
8104
8189
  at: time,
8105
8190
  profile: text,
@@ -8127,7 +8212,7 @@ var sendAttempt = strictObject({
8127
8212
  error_code: optional(text)
8128
8213
  });
8129
8214
 
8130
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
8131
8216
  var absent = strictObject({ path: text, exists: literal(false) });
8132
8217
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
8133
8218
  var infoSchema = strictObject({
@@ -8357,7 +8442,7 @@ var storeRepair = union([
8357
8442
  ]);
8358
8443
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
8359
8444
 
8360
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
8361
8446
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
8362
8447
  var storeTable = strictObject({
8363
8448
  name: text,
@@ -8366,7 +8451,7 @@ var storeTable = strictObject({
8366
8451
  bytes: optional(nullable(count))
8367
8452
  });
8368
8453
 
8369
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
8370
8455
  var tagTarget = variant("type", [
8371
8456
  strictObject({ type: literal("chat"), chat_id: id }),
8372
8457
  strictObject({ type: literal("contact"), person_id: id }),
@@ -8397,7 +8482,7 @@ var automaticTags = strictObject({
8397
8482
  dry_run: boolean()
8398
8483
  });
8399
8484
 
8400
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
8401
8486
  var tagging = strictObject({
8402
8487
  tag: text,
8403
8488
  type: picklist(TAG_TYPES),
@@ -8410,7 +8495,7 @@ var tagging = strictObject({
8410
8495
  created_at: time
8411
8496
  });
8412
8497
 
8413
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
8414
8499
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
8415
8500
  var taskPair = strictObject({
8416
8501
  task: nullable(side),
@@ -8433,7 +8518,7 @@ var taskPair = strictObject({
8433
8518
  created_at: time
8434
8519
  });
8435
8520
 
8436
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
8437
8522
  var nullableTime = nullable(time);
8438
8523
  var link = strictObject({
8439
8524
  id,
@@ -8607,7 +8692,7 @@ var taskReview = strictObject({
8607
8692
  untrusted
8608
8693
  });
8609
8694
 
8610
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
8611
8696
  var template = strictObject({
8612
8697
  key: text,
8613
8698
  channel: picklist(["telegram", "email", "text"]),
@@ -8619,7 +8704,7 @@ var template = strictObject({
8619
8704
  updated_by: nullable(text)
8620
8705
  });
8621
8706
 
8622
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
8623
8708
  var topic = strictObject({
8624
8709
  id,
8625
8710
  title: text,
@@ -8633,7 +8718,7 @@ var topic = strictObject({
8633
8718
  untrusted
8634
8719
  });
8635
8720
 
8636
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
8637
8722
  var ENTITIES = {
8638
8723
  sync_progress: progress,
8639
8724
  deal,
@@ -8667,6 +8752,7 @@ var ENTITIES = {
8667
8752
  attachments: optional(array(hitFile)),
8668
8753
  untrusted
8669
8754
  }),
8755
+ // Typed loosely: the inferred type of `ENTITIES` would pass the size the compiler writes out (TS7056).
8670
8756
  "message.summary": strictObject({
8671
8757
  ...pick(message, [
8672
8758
  "ref",
@@ -8689,6 +8775,8 @@ var ENTITIES = {
8689
8775
  message_pin: messagePin,
8690
8776
  message_star: messageStar,
8691
8777
  message_deletion: messageDeletion,
8778
+ scheduled_cancellation: scheduledCancellation,
8779
+ scheduled_send: scheduledSend,
8692
8780
  message_transcript: messageTranscript,
8693
8781
  message_links: messageLinks,
8694
8782
  evidence_packet: evidencePacket,
@@ -8932,7 +9020,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
8932
9020
  return [name, definition];
8933
9021
  })), "entityDefinitions");
8934
9022
 
8935
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
8936
9024
  var schemas = /* @__PURE__ */ new WeakMap();
8937
9025
  var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
8938
9026
  if (Object.hasOwn(ENTITIES, name))
@@ -8966,7 +9054,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
8966
9054
  return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
8967
9055
  }, "answerRow");
8968
9056
 
8969
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
8970
9058
  var where = [{ field: "ref" }];
8971
9059
  var who2 = { field: ["who.owner", "who.name"], tag: "you" };
8972
9060
  var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
@@ -9058,7 +9146,7 @@ var STATUS_ROWS = {
9058
9146
  "status.failed": { columns: [{ field: "signal" }], text: ["why"] }
9059
9147
  };
9060
9148
 
9061
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
9062
9150
  var TEXT_CHARS = 400;
9063
9151
  var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
9064
9152
  var messageRow = {
@@ -9426,7 +9514,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
9426
9514
  return lines.concat(footerOf(body)).join("\n");
9427
9515
  }, "compactText");
9428
9516
 
9429
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
9430
9518
  var named2 = /* @__PURE__ */ __name((work) => {
9431
9519
  try {
9432
9520
  return work();
@@ -9453,7 +9541,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
9453
9541
  return projectFields(value, fields);
9454
9542
  }), "projectFields");
9455
9543
 
9456
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
9457
9545
  var CORE_LOG_EVENTS = defineLogEvents([
9458
9546
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
9459
9547
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -9491,7 +9579,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
9491
9579
  progress: "sync.progress"
9492
9580
  };
9493
9581
 
9494
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
9495
9583
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
9496
9584
  const recording = startRecording(options);
9497
9585
  try {
@@ -9706,7 +9794,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
9706
9794
  return void 0;
9707
9795
  }, "partialOutcome");
9708
9796
 
9709
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
9710
9798
  import { AsyncLocalStorage } from "node:async_hooks";
9711
9799
  var requests = new AsyncLocalStorage();
9712
9800
  var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
@@ -9721,113 +9809,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
9721
9809
  return direct;
9722
9810
  }, "exitCodeSet");
9723
9811
 
9724
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/sends/guarded.js
9725
- import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
9726
- var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
9727
- messageId: message2.id,
9728
- ...message2.chatId && message2.chatId !== typed2 ? { resultChatId: message2.chatId } : {}
9729
- }), "sentIds");
9730
- var current = new AsyncLocalStorage2();
9731
- var writesInFlight = new AsyncLocalStorage2();
9732
- var parents = /* @__PURE__ */ new WeakMap();
9733
- var stopped = /* @__PURE__ */ new WeakMap();
9734
- var scopesFor = /* @__PURE__ */ __name((scope = writesInFlight.getStore()) => {
9735
- const result = [];
9736
- for (let at2 = scope; at2; at2 = parents.get(at2))
9737
- result.push(at2);
9738
- return result;
9739
- }, "scopesFor");
9740
- var withWriteScope = /* @__PURE__ */ __name((scope, body) => {
9741
- const parent = writesInFlight.getStore();
9742
- if (parent && parent !== scope)
9743
- parents.set(scope, parent);
9744
- return writesInFlight.run(scope, body);
9745
- }, "withWriteScope");
9746
- var stopWrites = /* @__PURE__ */ __name((scope, reason) => {
9747
- stopped.set(scope, reason);
9748
- for (const write of scope)
9749
- write.cut();
9750
- }, "stopWrites");
9751
- var refuseStopped = /* @__PURE__ */ __name((scopes3) => {
9752
- for (const scope of scopes3)
9753
- if (stopped.has(scope))
9754
- throw stopped.get(scope);
9755
- }, "refuseStopped");
9756
- var currentOperation = /* @__PURE__ */ __name(() => current.getStore(), "currentOperation");
9757
- var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 = () => ({}), prepare) => {
9758
- const scopes3 = scopesFor();
9759
- refuseStopped(scopes3);
9760
- try {
9761
- await guard.ask?.(attempt);
9762
- refuseStopped(scopes3);
9763
- if (guard.reserve) {
9764
- guard.check(attempt, { reserve: false });
9765
- await guard.reserve(attempt);
9766
- } else
9767
- guard.check(attempt);
9768
- } catch (error) {
9769
- guard.record({ ...attempt, outcome: "refused", errorCode: codeOf(error) });
9770
- throw error;
9771
- }
9772
- try {
9773
- refuseStopped(scopes3);
9774
- } catch (error) {
9775
- guard.record({ ...attempt, outcome: "failed", errorCode: codeOf(error) });
9776
- throw error;
9777
- }
9778
- let recorded2 = false;
9779
- const once = /* @__PURE__ */ __name((entry) => {
9780
- if (recorded2)
9781
- return;
9782
- recorded2 = true;
9783
- guard.record(entry);
9784
- }, "once");
9785
- let cancelled = false;
9786
- const flight = {
9787
- operationId: attempt.operationId,
9788
- preparing: prepare !== void 0,
9789
- cut: /* @__PURE__ */ __name(() => {
9790
- cancelled = true;
9791
- once({
9792
- ...attempt,
9793
- outcome: flight.preparing ? "failed" : "outcome_unknown",
9794
- errorCode: flight.preparing ? "timeout" : "outcome_unknown"
9795
- });
9796
- }, "cut")
9797
- };
9798
- for (const scope of scopes3)
9799
- scope.add(flight);
9800
- try {
9801
- if (prepare !== void 0)
9802
- await prepare();
9803
- if (cancelled)
9804
- throw new CliError("timeout", "the command ended before sending; nothing was sent", { sent: false });
9805
- flight.preparing = false;
9806
- const done = await current.run(attempt.operationId, act);
9807
- if (cancelled)
9808
- throw new CliError("outcome_unknown", "the command ended with a write in flight; check its result before continuing", { operation_id: attempt.operationId });
9809
- once({ ...attempt, ...settled2(done), outcome: "sent" });
9810
- return done;
9811
- } catch (error) {
9812
- const code = codeOf(error);
9813
- once({ ...attempt, outcome: code === "outcome_unknown" ? "outcome_unknown" : "failed", errorCode: code });
9814
- if (code === "outcome_unknown" && error instanceof Error)
9815
- throw new CliError("outcome_unknown", error.message, {
9816
- ...error.details,
9817
- operation_id: attempt.operationId,
9818
- retryable: false
9819
- });
9820
- if (flight.preparing && isCliError(error) && error.details.sent === void 0)
9821
- throw new CliError(error.code, error.message, { ...error.details, sent: false });
9822
- throw error;
9823
- } finally {
9824
- for (const scope of scopes3)
9825
- scope.delete(flight);
9826
- }
9827
- }, "guardedWrite");
9828
- var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
9829
-
9830
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
9831
9813
  var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
9832
9814
  if (ms2 === void 0)
9833
9815
  return body();
@@ -9853,7 +9835,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
9853
9835
  }
9854
9836
  }, "withDeadline");
9855
9837
 
9856
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
9857
9839
  var DEFAULT_COMMAND_MS = 3e4;
9858
9840
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
9859
9841
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -10036,7 +10018,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
10036
10018
  }
10037
10019
  }, "withAbort");
10038
10020
 
10039
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
10040
10022
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
10041
10023
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
10042
10024
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -10123,7 +10105,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
10123
10105
  return void 0;
10124
10106
  }, "sampleCommand");
10125
10107
 
10126
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
10127
10109
  var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
10128
10110
  var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
10129
10111
  var AI_FIELDS = {
@@ -10167,7 +10149,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
10167
10149
  };
10168
10150
  }, "resolveAISettings");
10169
10151
 
10170
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
10171
10153
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
10172
10154
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
10173
10155
  var parseDuration = /* @__PURE__ */ __name((value, source2) => {
@@ -10181,7 +10163,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
10181
10163
  return ms2;
10182
10164
  }, "parseDuration");
10183
10165
 
10184
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
10185
10167
  import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
10186
10168
  import { join as join2 } from "node:path";
10187
10169
  var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
@@ -10270,7 +10252,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
10270
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));
10271
10253
  }, "registryProfiles");
10272
10254
 
10273
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
10274
10256
  import { readFileSync as readFileSync3 } from "node:fs";
10275
10257
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
10276
10258
  var SECTIONS = ["personal", "bot"];
@@ -10378,8 +10360,8 @@ var failureOffset = /* @__PURE__ */ __name((text5) => {
10378
10360
  value();
10379
10361
  space();
10380
10362
  return at2;
10381
- } catch (stopped2) {
10382
- return typeof stopped2 === "number" ? stopped2 : at2;
10363
+ } catch (stopped) {
10364
+ return typeof stopped === "number" ? stopped : at2;
10383
10365
  }
10384
10366
  }, "failureOffset");
10385
10367
  var parseConfigText = /* @__PURE__ */ __name((text5, file) => {
@@ -10473,7 +10455,10 @@ var scopes2 = /* @__PURE__ */ __name((raw) => {
10473
10455
  return out;
10474
10456
  }, "scopes");
10475
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");
10476
- 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");
10477
10462
  var pathId = /* @__PURE__ */ __name((path2) => path2.join("\0"), "pathId");
10478
10463
  var prune = /* @__PURE__ */ __name((raw, paths) => {
10479
10464
  const drop = new Set(paths.map(pathId));
@@ -10566,7 +10551,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
10566
10551
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
10567
10552
  }, "readConfigFile");
10568
10553
 
10569
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
10570
10555
  import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
10571
10556
  import { dirname as dirname2, join as join3 } from "node:path";
10572
10557
  var DEFAULT_CONFIG = {
@@ -10595,7 +10580,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
10595
10580
  }
10596
10581
  __name(ensureDefaultConfig, "ensureDefaultConfig");
10597
10582
 
10598
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
10599
10584
  import { existsSync as existsSync4, readdirSync as readdirSync3, readFileSync as readFileSync4 } from "node:fs";
10600
10585
  import { join as join4 } from "node:path";
10601
10586
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -10617,7 +10602,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
10617
10602
  }, "profilesWithAccounts");
10618
10603
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
10619
10604
 
10620
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
10621
10606
  var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
10622
10607
  var parentOf = /* @__PURE__ */ __name((config, key) => {
10623
10608
  const path2 = key.split(".");
@@ -10650,10 +10635,10 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
10650
10635
  };
10651
10636
  }), "settingRows");
10652
10637
 
10653
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
10654
10639
  import { existsSync as existsSync5 } from "node:fs";
10655
10640
 
10656
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
10657
10642
  var HISTORY_MAX_DAYS = 1095;
10658
10643
  var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
10659
10644
  var DAY_MS = 24 * 60 * 60 * 1e3;
@@ -10700,7 +10685,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
10700
10685
  return { batch: { ...batch, messages }, skipped };
10701
10686
  }, "limitBatch");
10702
10687
 
10703
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
10704
10689
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
10705
10690
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
10706
10691
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -10849,13 +10834,13 @@ var NoProfileHere = class extends CliError {
10849
10834
  }
10850
10835
  app;
10851
10836
  constructor(app) {
10852
- 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: [] });
10853
10838
  this.app = app;
10854
10839
  }
10855
10840
  /** `words`: the command that was typed, without its arguments, so the suggestion runs as written. */
10856
10841
  withoutSetup(words) {
10857
10842
  const command = words ? `${this.app.command} personal ${words}` : `${this.app.command} personal \u2026`;
10858
- 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: [] });
10859
10844
  }
10860
10845
  };
10861
10846
  var first = /* @__PURE__ */ __name((candidates, fallback) => {
@@ -10933,7 +10918,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
10933
10918
  const here = profilesOf(config, env);
10934
10919
  if (here.length === 0)
10935
10920
  throw new NoProfileHere(app);
10936
- 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 });
10937
10922
  }, "unnamed");
10938
10923
  const profilesOf = /* @__PURE__ */ __name((config, env) => profilesHere(app, [...namedProfiles(config), ...extension.profiles?.(env) ?? []], env), "profilesOf");
10939
10924
  const botsOf = /* @__PURE__ */ __name((config, env) => [.../* @__PURE__ */ new Set([...Object.keys(config.bot?.profiles ?? {}), ...registryProfiles(app, env)])].sort(), "botsOf");
@@ -11180,9 +11165,11 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
11180
11165
  saveConfigFile(path2, config);
11181
11166
  return added;
11182
11167
  }, "migrate");
11168
+ const settingSchema = /* @__PURE__ */ __name((key) => Object.hasOwn(profileEntries, key) ? profileEntries[key] : void 0, "settingSchema");
11183
11169
  return {
11184
11170
  resolveSettings,
11185
11171
  configuredProfiles,
11172
+ settingSchema,
11186
11173
  changeSetting,
11187
11174
  migrate,
11188
11175
  declaredSettings,
@@ -11226,7 +11213,7 @@ var given = /* @__PURE__ */ __name((value) => {
11226
11213
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
11227
11214
  }, "given");
11228
11215
 
11229
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
11230
11217
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
11231
11218
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
11232
11219
  var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
@@ -11262,7 +11249,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
11262
11249
  return value;
11263
11250
  }, "atDetail");
11264
11251
 
11265
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
11266
11253
  var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
11267
11254
  const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
11268
11255
  if (other)
@@ -11326,7 +11313,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
11326
11313
  }, "warn")
11327
11314
  }), "silence");
11328
11315
 
11329
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
11330
11317
  var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
11331
11318
  const { deadline, signal, app } = environmentOf(command);
11332
11319
  const now = deadline?.();
@@ -11352,9 +11339,17 @@ var provide = /* @__PURE__ */ __name((program2, environment) => {
11352
11339
  environments.set(program2, environment);
11353
11340
  }, "provide");
11354
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");
11355
11349
  var withAgentLevels = /* @__PURE__ */ __name((command, flags) => {
11356
11350
  const overrides = environmentOf(command).agent?.overrides ?? [];
11357
- 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;
11358
11353
  }, "withAgentLevels");
11359
11354
  var secretInputOf = /* @__PURE__ */ __name((command) => {
11360
11355
  const { stdin, stderr } = environmentOf(command);
@@ -11467,12 +11462,12 @@ var inCommandRun = /* @__PURE__ */ __name((command, body) => {
11467
11462
  }, "inCommandRun");
11468
11463
  var commandPath = /* @__PURE__ */ __name((command) => {
11469
11464
  const words = [];
11470
- for (let current2 = command; current2?.parent; current2 = current2.parent)
11471
- words.unshift(current2.name());
11465
+ for (let current = command; current?.parent; current = current.parent)
11466
+ words.unshift(current.name());
11472
11467
  return words.join(" ");
11473
11468
  }, "commandPath");
11474
11469
 
11475
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
11476
11471
  var REMOTE_READ = { remote: "read", local: "read" };
11477
11472
  var FETCH = { remote: "read", local: "write" };
11478
11473
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -11508,7 +11503,12 @@ var destroysNothing = /* @__PURE__ */ __name((command) => {
11508
11503
  KEPT_UNDER_LOCK.add(command);
11509
11504
  return command;
11510
11505
  }, "destroysNothing");
11511
- 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
+ ];
11512
11512
  var PROPOSES = /* @__PURE__ */ new WeakSet();
11513
11513
  var proposesOnly = /* @__PURE__ */ __name((command) => {
11514
11514
  PROPOSES.add(command);
@@ -11624,61 +11624,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
11624
11624
  throw readOnlyRefusal(lock, what);
11625
11625
  }, "refuseUnderReadOnly");
11626
11626
 
11627
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/images/picture/models.js
11628
- import { join as join5 } from "node:path";
11629
- var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
11630
- var IMAGE_MODELS = [
11631
- {
11632
- id: "clip-b32",
11633
- title: "CLIP ViT-B/32, 8-bit",
11634
- languages: "English only: translate a query before searching",
11635
- licence: "MIT",
11636
- dims: 512,
11637
- key: "local:clip-b32:512",
11638
- maxTokens: 77,
11639
- vision: "onnx/vision_model_quantized.onnx",
11640
- text: "onnx/text_model_quantized.onnx",
11641
- files: [
11642
- {
11643
- name: "onnx/vision_model_quantized.onnx",
11644
- url: clip("onnx/vision_model_quantized.onnx"),
11645
- sha256: "583fd1110a514667812fee7d684952aaf82a99b959760c8d7dca7e0ab9839299",
11646
- bytes: 89117001
11647
- },
11648
- {
11649
- name: "onnx/text_model_quantized.onnx",
11650
- url: clip("onnx/text_model_quantized.onnx"),
11651
- sha256: "73baab855d406190da9faa498cfedf65f15cf309f4cc7385b7b032e6d08e5c3a",
11652
- bytes: 64504507
11653
- },
11654
- {
11655
- name: "tokenizer.json",
11656
- url: clip("tokenizer.json"),
11657
- sha256: "f7f3b7af117d467b58374797691a6438d3e6b9e9cef800dfd5dced7f697a90cd",
11658
- bytes: 2224119
11659
- },
11660
- {
11661
- name: "tokenizer_config.json",
11662
- url: clip("tokenizer_config.json"),
11663
- sha256: "60ba2912bc6344c94bc16bbdec27fa1209409167b6f2fdf3cfe9e65462ea3967",
11664
- bytes: 775
11665
- }
11666
- ]
11667
- }
11668
- ];
11669
- var DEFAULT_IMAGE_MODEL = "clip-b32";
11670
- var imageModel = /* @__PURE__ */ __name((id6) => {
11671
- const found = IMAGE_MODELS.find((model3) => model3.id === id6);
11672
- if (!found) {
11673
- throw new CliError("validation_error", `no image model ${id6} \u2014 one of: ${IMAGE_MODELS.map((model3) => model3.id).join(", ")}`);
11674
- }
11675
- return found;
11676
- }, "imageModel");
11677
- var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("image", env), "imageModelsDirectory");
11678
- var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
11679
- var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
11680
-
11681
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
11682
11628
  var STEPS2 = defineSteps([
11683
11629
  ...STEPS,
11684
11630
  {
@@ -11968,7 +11914,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
11968
11914
  ].join(" ");
11969
11915
  }, "stepLine");
11970
11916
 
11971
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
11972
11918
  var SOFT_OUTPUT_BYTES = 256 * 1024;
11973
11919
  var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
11974
11920
  var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
@@ -12026,7 +11972,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
12026
11972
  return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
12027
11973
  }, "largeAnswerSteps");
12028
11974
 
12029
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
12030
11976
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
12031
11977
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
12032
11978
  var strip = /* @__PURE__ */ __name((value) => {
@@ -12040,7 +11986,7 @@ var strip = /* @__PURE__ */ __name((value) => {
12040
11986
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
12041
11987
  }, "strip");
12042
11988
 
12043
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
12044
11990
  var OPEN = "\u27E6";
12045
11991
  var CLOSE = "\u27E7";
12046
11992
  var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
@@ -12049,6 +11995,10 @@ var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
12049
11995
  const mark = ancestorValue(envName(app, "UNTRUSTED_MARK"), env);
12050
11996
  return mark && /^[0-9a-f]{16}$/.test(mark) ? mark : void 0;
12051
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");
12052
12002
  var marked = /* @__PURE__ */ __name((text5, mark, source2, id6) => {
12053
12003
  const inside = text5.replaceAll(OPEN, "").replaceAll(CLOSE, "").replaceAll(mark, "");
12054
12004
  const named3 = id6 === void 0 ? "" : ` id=${id6.replaceAll(OPEN, "").replaceAll(CLOSE, "").replace(/\s/g, "")}`;
@@ -12105,6 +12055,8 @@ var MESSAGE_UNTRUSTED = [
12105
12055
  "bcc.name",
12106
12056
  "reply_addresses.name"
12107
12057
  ];
12058
+ var CHAT_UNTRUSTED = ["title", "description"];
12059
+ var CONTACT_UNTRUSTED = ["description", "chats.title"];
12108
12060
  var DECLARED = /* @__PURE__ */ new WeakMap();
12109
12061
  var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
12110
12062
  DECLARED.set(command, fields);
@@ -12124,7 +12076,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
12124
12076
  return result;
12125
12077
  }, "withFieldsMarked");
12126
12078
 
12127
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/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
12128
12080
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
12129
12081
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
12130
12082
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -12254,8 +12206,7 @@ var renderAnswer = /* @__PURE__ */ __name((command, { renderer, format, streams,
12254
12206
  const root = rootOf2(command);
12255
12207
  const runnableSteps = runnable(root, body.next);
12256
12208
  const next = environmentOf(command).agent ? runnableSteps : withLines(root, runnableSteps);
12257
- const { app, env } = environmentOf(command);
12258
- const mark = app ? untrustedMarkOf(app, env ?? process.env) : void 0;
12209
+ const mark = runMarkOf(command);
12259
12210
  const declared = untrustedFieldsOf(command);
12260
12211
  const shown = mark === void 0 ? body : withUntrustedMarked(declared ? withFieldsMarked(body, declared, mark) : body, mark);
12261
12212
  const kept = withoutProviderRefs({ ...shown, ...next.length > 0 ? { next } : {} });
@@ -12431,10 +12382,6 @@ export {
12431
12382
  inCommandServerRequest,
12432
12383
  commandServerRequest,
12433
12384
  exitCodeSet,
12434
- sentIds,
12435
- currentOperation,
12436
- guardedWrite,
12437
- codeOf,
12438
12385
  withDeadline,
12439
12386
  DEFAULT_COMMAND_MS,
12440
12387
  DEFAULT_COOPERATIVE_MS,
@@ -12498,18 +12445,13 @@ export {
12498
12445
  setExitCode,
12499
12446
  provide,
12500
12447
  environmentOf,
12448
+ withoutOwnPaging,
12501
12449
  withAgentLevels,
12502
12450
  secretInputOf,
12503
12451
  outputFieldsOf,
12504
12452
  outputFor,
12505
12453
  baseContext,
12506
12454
  inCommandRun,
12507
- IMAGE_MODELS,
12508
- DEFAULT_IMAGE_MODEL,
12509
- imageModel,
12510
- imageModelsDirectory,
12511
- placedImage,
12512
- isImageModelInstalled,
12513
12455
  REMOTE_READ,
12514
12456
  FETCH,
12515
12457
  REMOTE_WRITE,
@@ -12560,6 +12502,11 @@ export {
12560
12502
  stepLine,
12561
12503
  tooLargeSteps,
12562
12504
  withoutProviderRefs,
12505
+ runMarkOf,
12506
+ marked,
12507
+ withUntrustedMarked,
12508
+ CHAT_UNTRUSTED,
12509
+ CONTACT_UNTRUSTED,
12563
12510
  marksUntrusted,
12564
12511
  answerSchema,
12565
12512
  listOf,