@wirecat/notion-cli 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/README.md +20 -3
  3. package/contracts/wirecat.json +238 -2
  4. package/dist/bin/notion.js +2 -2
  5. package/dist/bundle/agent-FDS2ENXJ.js +42 -0
  6. package/dist/bundle/{all-profiles-CKOACXTW.js → all-profiles-MIGUJ6UM.js} +11 -11
  7. package/dist/bundle/{anthropic-DWBBVTU3.js → anthropic-ZTYBZ7PI.js} +5 -5
  8. package/dist/bundle/{app-server-BHFYNCDE.js → app-server-MGXJZOJ2.js} +72 -72
  9. package/dist/bundle/{bun-ICK2XT7J.js → bun-NS5YLOQT.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-LU5V5Y4A.js → bun-sqlite-EKMD3TXK.js} +6 -6
  11. package/dist/bundle/{chunk-UYEDQGMI.js → chunk-2BPQNFA5.js} +6 -6
  12. package/dist/bundle/{chunk-5NFIUY2P.js → chunk-2Q5ATPA6.js} +4 -4
  13. package/dist/bundle/{chunk-NCCRLAAI.js → chunk-2T76TPDD.js} +3 -3
  14. package/dist/bundle/{chunk-OCGNOJYD.js → chunk-2TVHFJKV.js} +1 -1
  15. package/dist/bundle/{chunk-ITWINZ6R.js → chunk-2XWVZDOM.js} +12 -12
  16. package/dist/bundle/{chunk-IEY7KS6Q.js → chunk-43PCMVTZ.js} +1 -1
  17. package/dist/bundle/{chunk-KWBLDSRV.js → chunk-53UXHJEO.js} +3 -3
  18. package/dist/bundle/{chunk-EMIJVLOA.js → chunk-5KL3PQWI.js} +2 -2
  19. package/dist/bundle/{chunk-SRVTGI3M.js → chunk-5QCPDJLB.js} +2 -2
  20. package/dist/bundle/{chunk-MB4HXDBT.js → chunk-64KVWK5N.js} +5 -5
  21. package/dist/bundle/{chunk-ITW26OBI.js → chunk-66M7VFIM.js} +38 -38
  22. package/dist/bundle/{chunk-QK52ARAU.js → chunk-6BOEXO72.js} +3 -3
  23. package/dist/bundle/{chunk-ZMKAI3F3.js → chunk-6P7HUUR5.js} +3 -3
  24. package/dist/bundle/{chunk-LBRTLZHI.js → chunk-77727OQH.js} +197 -155
  25. package/dist/bundle/{chunk-BXXHUO7Y.js → chunk-7KNBZOLH.js} +13 -13
  26. package/dist/bundle/{chunk-EUF5JNPG.js → chunk-7YPZPJTB.js} +1 -1
  27. package/dist/bundle/{chunk-TWY543BS.js → chunk-A5PL2GYK.js} +1 -1
  28. package/dist/bundle/{chunk-6MQSBWWF.js → chunk-AG34MPVN.js} +1 -1
  29. package/dist/bundle/{chunk-46JBCXLI.js → chunk-BCO37YUH.js} +327 -6
  30. package/dist/bundle/{chunk-7COTHS6G.js → chunk-COF6KS7A.js} +6 -6
  31. package/dist/bundle/{chunk-VXKD533R.js → chunk-CWTTCFDX.js} +995 -610
  32. package/dist/bundle/{chunk-3T3OAYL4.js → chunk-D2IVASIC.js} +2 -2
  33. package/dist/bundle/{chunk-PDVXG3T3.js → chunk-D3G375NT.js} +6 -6
  34. package/dist/bundle/{chunk-3ZSUVFR7.js → chunk-DGZNVYKK.js} +8 -8
  35. package/dist/bundle/{chunk-FHYV4VWY.js → chunk-DLEAVO2T.js} +7 -7
  36. package/dist/bundle/{chunk-UQVUXG7H.js → chunk-DW6YAEMZ.js} +10 -10
  37. package/dist/bundle/{chunk-LEPPRULN.js → chunk-E4FNVLTR.js} +23 -4
  38. package/dist/bundle/{chunk-VRBEYOJL.js → chunk-E5EYJU5R.js} +1 -1
  39. package/dist/bundle/{chunk-A3RJ6FD5.js → chunk-E5XATHAF.js} +8 -8
  40. package/dist/bundle/{chunk-63SW4UXG.js → chunk-EXHTGQR2.js} +1 -1
  41. package/dist/bundle/{chunk-FO3XY2Y2.js → chunk-EZAVBR47.js} +2 -2
  42. package/dist/bundle/{chunk-NV7NNL5T.js → chunk-F7DHR4OO.js} +7 -7
  43. package/dist/bundle/{chunk-4FHKSSXQ.js → chunk-FGWQHNKK.js} +2 -2
  44. package/dist/bundle/{chunk-B6DJQBZI.js → chunk-FSWLPNJT.js} +5 -5
  45. package/dist/bundle/{chunk-364ET7LV.js → chunk-GFI3UUIU.js} +1 -1
  46. package/dist/bundle/{chunk-2OZVCNU5.js → chunk-GGNVBN2S.js} +2 -2
  47. package/dist/bundle/{chunk-X737FHZP.js → chunk-GPFE4SS7.js} +4 -4
  48. package/dist/bundle/{chunk-OW5HW3TD.js → chunk-H76WEF2L.js} +6 -6
  49. package/dist/bundle/{chunk-RNVYNPXT.js → chunk-HPS2YGSZ.js} +1 -1
  50. package/dist/bundle/{chunk-S5P7THM5.js → chunk-HZ5LRWKH.js} +2 -2
  51. package/dist/bundle/{chunk-ZGUUP2T3.js → chunk-I5OAVMOI.js} +12 -12
  52. package/dist/bundle/{chunk-OALFRUMI.js → chunk-I62MWK5L.js} +14 -2
  53. package/dist/bundle/{chunk-3AKMIKND.js → chunk-IBFCD6TR.js} +17 -17
  54. package/dist/bundle/{chunk-HJDQTM3T.js → chunk-IL3UYHCR.js} +8 -8
  55. package/dist/bundle/{chunk-HSVKU4OJ.js → chunk-J4CXJJJU.js} +116 -30
  56. package/dist/bundle/{chunk-R4JV3VLU.js → chunk-JRZEXLRQ.js} +13 -12
  57. package/dist/bundle/{chunk-ALAPDLCP.js → chunk-KDPV6YBX.js} +2 -2
  58. package/dist/bundle/{chunk-BFCRGLOF.js → chunk-KHEISFJO.js} +3 -3
  59. package/dist/bundle/{chunk-FNESLLZS.js → chunk-KI6OOW6D.js} +8 -1
  60. package/dist/bundle/{chunk-3DGHBXH2.js → chunk-KPBUJQKT.js} +1 -1
  61. package/dist/bundle/{chunk-OP2BH55P.js → chunk-LEO5GWPD.js} +3 -3
  62. package/dist/bundle/{chunk-N3NJPHZB.js → chunk-LKUWH6KU.js} +1 -1
  63. package/dist/bundle/{chunk-JPGN473W.js → chunk-LYJDZILD.js} +3 -3
  64. package/dist/bundle/{chunk-JVRBW5LH.js → chunk-M27SMKNH.js} +5 -5
  65. package/dist/bundle/{chunk-YSF5JBRA.js → chunk-MA6U4XH2.js} +1 -1
  66. package/dist/bundle/{chunk-64IK7JFO.js → chunk-MC3LAGIW.js} +2 -2
  67. package/dist/bundle/{chunk-J3DZVB67.js → chunk-MGC2BAD2.js} +1 -1
  68. package/dist/bundle/{chunk-S35UJBFZ.js → chunk-MLXDGBH4.js} +19 -19
  69. package/dist/bundle/{chunk-IYZWHCZJ.js → chunk-NQA2STEE.js} +35 -14
  70. package/dist/bundle/{chunk-2RNJ2JP3.js → chunk-NSBTYJRP.js} +4 -4
  71. package/dist/bundle/{chunk-REOBWSGV.js → chunk-NSQN4F7H.js} +8 -8
  72. package/dist/bundle/{chunk-WUNEJRLJ.js → chunk-NVXMWAEV.js} +6 -6
  73. package/dist/bundle/{chunk-UO4O6WQ4.js → chunk-OZAP4FEG.js} +8 -8
  74. package/dist/bundle/{chunk-OFMCU3BH.js → chunk-OZZ5PTHG.js} +5 -5
  75. package/dist/bundle/{chunk-BQ6CXCLP.js → chunk-P4ADIGTL.js} +8 -8
  76. package/dist/bundle/{chunk-KBY42GKW.js → chunk-PVTW7ZOY.js} +23 -23
  77. package/dist/bundle/{chunk-PSMRUOII.js → chunk-Q5PNS2K2.js} +3 -3
  78. package/dist/bundle/{chunk-LVAFTQ45.js → chunk-QQP54EEZ.js} +29 -178
  79. package/dist/bundle/{chunk-3YXYA6HB.js → chunk-RM4DO2WZ.js} +1 -1
  80. package/dist/bundle/{chunk-JEZJFQQW.js → chunk-S3SLDYTU.js} +1 -1
  81. package/dist/bundle/{chunk-RXGX2CZX.js → chunk-S5NFSVNK.js} +63 -63
  82. package/dist/bundle/{chunk-EWXMIKZN.js → chunk-UE7ST7JC.js} +30 -30
  83. package/dist/bundle/{chunk-6UZ5D2WP.js → chunk-ULTKZLJV.js} +7 -7
  84. package/dist/bundle/{chunk-WJFQMOVM.js → chunk-VJ5EF4C7.js} +61 -61
  85. package/dist/bundle/{chunk-OS4WPXPZ.js → chunk-WBVZVP4T.js} +4 -4
  86. package/dist/bundle/{chunk-QMNEDK7Z.js → chunk-WDL3QYN2.js} +3 -3
  87. package/dist/bundle/{chunk-HOO53OYK.js → chunk-WPNY2J2X.js} +16 -16
  88. package/dist/bundle/{chunk-BFHPT67P.js → chunk-XRA2V4MM.js} +1556 -620
  89. package/dist/bundle/{chunk-3KOJNZH3.js → chunk-Y6KPZOOD.js} +3 -3
  90. package/dist/bundle/{chunk-ADCAWRRX.js → chunk-YAYVXHMO.js} +48 -48
  91. package/dist/bundle/{chunk-DCSPCOPB.js → chunk-YG2FFC2R.js} +9 -9
  92. package/dist/bundle/{chunk-X5LUHN62.js → chunk-YOZHKJEN.js} +2 -2
  93. package/dist/bundle/{chunk-VYZ2J7DT.js → chunk-ZKD3TL3O.js} +4 -4
  94. package/dist/bundle/command-contract-ZGBZCKZP.js +41 -0
  95. package/dist/bundle/{command-server-entry-F3B2KSPO.js → command-server-entry-ZXB7VUIG.js} +29 -29
  96. package/dist/bundle/{decode-FDHFF7GC.js → decode-BGLAM2YP.js} +5 -5
  97. package/dist/bundle/{dispatch-IXKG5Z5Y.js → dispatch-A3WIRXBM.js} +8 -8
  98. package/dist/bundle/{echarts-PGJPVPA4.js → echarts-ISH62J4E.js} +2 -2
  99. package/dist/bundle/{embed-U6X7CNNK.js → embed-POZWSFKL.js} +6 -6
  100. package/dist/bundle/{embedder-3ROL6ROQ.js → embedder-7DIUHQOQ.js} +9 -9
  101. package/dist/bundle/{failure-IYMRXM2X.js → failure-BBT3B4UY.js} +2 -2
  102. package/dist/bundle/{first-run-PNVNHGR7.js → first-run-SLMRAWYB.js} +12 -12
  103. package/dist/bundle/first-screen-CCLGBTQ2.js +41 -0
  104. package/dist/bundle/{instructions-MJQWRI2D.js → instructions-G5ZGHVFB.js} +1 -1
  105. package/dist/bundle/{mcp-JNHOSK4L.js → mcp-MQ2L5IIM.js} +2 -2
  106. package/dist/bundle/meeting-combined-P56K6BUT.js +25 -0
  107. package/dist/bundle/meeting-model-UY4ABXAZ.js +27 -0
  108. package/dist/bundle/{meeting-semantic-7WPLMBNT.js → meeting-semantic-VPMFO4FB.js} +6 -6
  109. package/dist/bundle/{node-3UXNV3CD.js → node-NLJINXVQ.js} +2 -2
  110. package/dist/bundle/{node-sqlite-ULWDWM3I.js → node-sqlite-LPV27ECD.js} +7 -7
  111. package/dist/bundle/notes-search-TKP34WJZ.js +64 -0
  112. package/dist/bundle/notion.js +13 -13
  113. package/dist/bundle/{oauth-LNUZMA72.js → oauth-SC4HSJ7X.js} +7 -7
  114. package/dist/bundle/{open-HGHC35M4.js → open-K2JIOWCG.js} +5 -5
  115. package/dist/bundle/{openai-ISSP57MV.js → openai-MCKQLBZM.js} +18 -18
  116. package/dist/bundle/{process-PB2WCOR2.js → process-LPVAYRO7.js} +1 -1
  117. package/dist/bundle/{program-GASBJRMG.js → program-QXA6YXUO.js} +11176 -8685
  118. package/dist/bundle/{prompt-3VGQVX2B.js → prompt-XWESMSOG.js} +5 -5
  119. package/dist/bundle/{recognize-7Q2P3NME.js → recognize-TDE6PPXV.js} +4 -4
  120. package/dist/bundle/{remote-BBAWKVIT.js → remote-OAGPQQVE.js} +11 -11
  121. package/dist/bundle/{rerank-H4PUS4HV.js → rerank-375AKI4E.js} +7 -7
  122. package/dist/bundle/{schemas-TTVUADHT.js → schemas-ZE62D6CG.js} +1 -1
  123. package/dist/bundle/{serve-FZNSKY7R.js → serve-YWCHKQEP.js} +9 -9
  124. package/dist/bundle/{server-BRRNDW6L.js → server-C4SH5PRK.js} +64 -64
  125. package/dist/bundle/server-SYGVF5BJ.js +90 -0
  126. package/dist/bundle/{services-PEU557KZ.js → services-5Z2P4D2K.js} +51 -51
  127. package/dist/bundle/{sqlite-runtime-4IZJ4YUM.js → sqlite-runtime-KLELNUHI.js} +6 -6
  128. package/dist/bundle/{state-MX3JVT5Q.js → state-OWEBLXCG.js} +6 -6
  129. package/dist/bundle/{store-JUT34REM.js → store-F63SKKV7.js} +27 -23
  130. package/dist/bundle/{store-PP4BPADZ.js → store-IVJXGAX7.js} +21 -21
  131. package/dist/bundle/store-maintenance-command-YBMOO7XH.js +77 -0
  132. package/dist/bundle/surface-G3ITURGS.js +76 -0
  133. package/dist/commands/comments.d.ts +1 -1
  134. package/dist/commands/comments.d.ts.map +1 -1
  135. package/dist/commands/comments.js +33 -2
  136. package/dist/commands/comments.js.map +1 -1
  137. package/dist/commands/databases.d.ts.map +1 -1
  138. package/dist/commands/databases.js +3 -2
  139. package/dist/commands/databases.js.map +1 -1
  140. package/dist/commands/documents.d.ts +13 -2
  141. package/dist/commands/documents.d.ts.map +1 -1
  142. package/dist/commands/documents.js +291 -23
  143. package/dist/commands/documents.js.map +1 -1
  144. package/dist/commands/library.d.ts.map +1 -1
  145. package/dist/commands/library.js +12 -4
  146. package/dist/commands/library.js.map +1 -1
  147. package/dist/commands/meetings.d.ts +7 -0
  148. package/dist/commands/meetings.d.ts.map +1 -0
  149. package/dist/commands/meetings.js +136 -0
  150. package/dist/commands/meetings.js.map +1 -0
  151. package/dist/commands/rows.d.ts +4 -0
  152. package/dist/commands/rows.d.ts.map +1 -0
  153. package/dist/commands/rows.js +51 -0
  154. package/dist/commands/rows.js.map +1 -0
  155. package/dist/commands/writing.d.ts +2 -1
  156. package/dist/commands/writing.d.ts.map +1 -1
  157. package/dist/commands/writing.js +2 -2
  158. package/dist/commands/writing.js.map +1 -1
  159. package/dist/config.d.ts.map +1 -1
  160. package/dist/config.js +12 -2
  161. package/dist/config.js.map +1 -1
  162. package/dist/context.d.ts +2 -0
  163. package/dist/context.d.ts.map +1 -1
  164. package/dist/context.js +2 -0
  165. package/dist/context.js.map +1 -1
  166. package/dist/generated/wirecat-config.d.ts.map +1 -1
  167. package/dist/generated/wirecat-config.js +8 -0
  168. package/dist/generated/wirecat-config.js.map +1 -1
  169. package/dist/knowledge.d.ts +18 -1
  170. package/dist/knowledge.d.ts.map +1 -1
  171. package/dist/library.d.ts +4 -0
  172. package/dist/library.d.ts.map +1 -1
  173. package/dist/library.js +11 -1
  174. package/dist/library.js.map +1 -1
  175. package/dist/notion/errors.d.ts.map +1 -1
  176. package/dist/notion/errors.js +19 -0
  177. package/dist/notion/errors.js.map +1 -1
  178. package/dist/notion/meeting-notes.d.ts +10 -0
  179. package/dist/notion/meeting-notes.d.ts.map +1 -0
  180. package/dist/notion/meeting-notes.js +196 -0
  181. package/dist/notion/meeting-notes.js.map +1 -0
  182. package/dist/notion/notion.d.ts +46 -0
  183. package/dist/notion/notion.d.ts.map +1 -1
  184. package/dist/notion/notion.js +105 -14
  185. package/dist/notion/notion.js.map +1 -1
  186. package/dist/notion/page-target.d.ts +30 -0
  187. package/dist/notion/page-target.d.ts.map +1 -0
  188. package/dist/notion/page-target.js +73 -0
  189. package/dist/notion/page-target.js.map +1 -0
  190. package/dist/notion/port.d.ts.map +1 -1
  191. package/dist/notion/port.js +2 -0
  192. package/dist/notion/port.js.map +1 -1
  193. package/dist/notion/properties.d.ts +55 -0
  194. package/dist/notion/properties.d.ts.map +1 -0
  195. package/dist/notion/properties.js +280 -0
  196. package/dist/notion/properties.js.map +1 -0
  197. package/dist/notion/reads.d.ts +19 -1
  198. package/dist/notion/reads.d.ts.map +1 -1
  199. package/dist/notion/reads.js +2 -1
  200. package/dist/notion/reads.js.map +1 -1
  201. package/dist/notion/rows.d.ts +14 -0
  202. package/dist/notion/rows.d.ts.map +1 -0
  203. package/dist/notion/rows.js +119 -0
  204. package/dist/notion/rows.js.map +1 -0
  205. package/dist/notion/writes.d.ts +99 -0
  206. package/dist/notion/writes.d.ts.map +1 -1
  207. package/dist/notion/writes.js +278 -67
  208. package/dist/notion/writes.js.map +1 -1
  209. package/dist/program.d.ts.map +1 -1
  210. package/dist/program.js +7 -1
  211. package/dist/program.js.map +1 -1
  212. package/dist/sync/comments.d.ts +12 -0
  213. package/dist/sync/comments.d.ts.map +1 -0
  214. package/dist/sync/comments.js +47 -0
  215. package/dist/sync/comments.js.map +1 -0
  216. package/dist/sync/files.d.ts +7 -1
  217. package/dist/sync/files.d.ts.map +1 -1
  218. package/dist/sync/files.js.map +1 -1
  219. package/dist/sync/from-config.d.ts.map +1 -1
  220. package/dist/sync/from-config.js +5 -4
  221. package/dist/sync/from-config.js.map +1 -1
  222. package/dist/sync/source.d.ts.map +1 -1
  223. package/dist/sync/source.js +21 -9
  224. package/dist/sync/source.js.map +1 -1
  225. package/dist/version.d.ts +1 -1
  226. package/dist/version.js +1 -1
  227. package/package.json +3 -3
  228. package/skills/notion-cli/SKILL.md +29 -3
  229. package/dist/bundle/agent-AILW4JPO.js +0 -42
  230. package/dist/bundle/command-contract-C2CF4QAH.js +0 -41
  231. package/dist/bundle/first-screen-DEDD64YH.js +0 -41
  232. package/dist/bundle/meeting-combined-HEC25QPY.js +0 -25
  233. package/dist/bundle/meeting-model-R7QPDNZZ.js +0 -27
  234. package/dist/bundle/notes-search-7PE3E3C7.js +0 -64
  235. package/dist/bundle/server-CQJ4LKAZ.js +0 -90
  236. package/dist/bundle/store-maintenance-command-GRFTJBSB.js +0 -77
  237. package/dist/bundle/surface-FPWES3NY.js +0 -76
  238. package/dist/bundle/{hast-util-from-html-X2DCPS3T.js → hast-util-from-html-237ZT4C7.js} +3 -3
  239. package/dist/bundle/{hast-util-to-mdast-3CSMIWK2.js → hast-util-to-mdast-H5COQ6HJ.js} +6 -6
  240. package/dist/bundle/{mdast-util-gfm-JO7PHUIB.js → mdast-util-gfm-M3K5BNY2.js} +16 -16
  241. package/dist/bundle/{mdast-util-to-hast-AYJV7KAE.js → mdast-util-to-hast-TSB5MAAV.js} +1 -1
  242. package/dist/bundle/{mdast-util-to-markdown-DOXGHRI7.js → mdast-util-to-markdown-SG6455IT.js} +10 -10
  243. package/dist/bundle/{micromark-extension-gfm-PQ7DWZM7.js → micromark-extension-gfm-7SUOOQ3A.js} +3 -3
@@ -9,10 +9,10 @@ import {
9
9
  providerErrorKey,
10
10
  renderEvent,
11
11
  runContextOf
12
- } from "./chunk-BQ6CXCLP.js";
12
+ } from "./chunk-P4ADIGTL.js";
13
13
  import {
14
14
  permissionCeiling
15
- } from "./chunk-ZMKAI3F3.js";
15
+ } from "./chunk-6P7HUUR5.js";
16
16
  import {
17
17
  IMAGE_MODELS,
18
18
  ancestorValue,
@@ -24,17 +24,17 @@ import {
24
24
  runBudget,
25
25
  stopWrites,
26
26
  withWriteScope
27
- } from "./chunk-3ZSUVFR7.js";
27
+ } from "./chunk-DGZNVYKK.js";
28
28
  import {
29
29
  DEFAULT_RERANK_MODEL,
30
30
  RERANK_MODELS
31
- } from "./chunk-B6DJQBZI.js";
31
+ } from "./chunk-FSWLPNJT.js";
32
32
  import {
33
33
  carries
34
- } from "./chunk-J3DZVB67.js";
34
+ } from "./chunk-MGC2BAD2.js";
35
35
  import {
36
36
  note
37
- } from "./chunk-NCCRLAAI.js";
37
+ } from "./chunk-2T76TPDD.js";
38
38
  import {
39
39
  BUSINESS_KINDS,
40
40
  CATEGORIES,
@@ -76,7 +76,7 @@ import {
76
76
  text,
77
77
  time,
78
78
  untrusted
79
- } from "./chunk-KBY42GKW.js";
79
+ } from "./chunk-PVTW7ZOY.js";
80
80
  import {
81
81
  KEEP_STORE_RUNS_FOR_DAYS,
82
82
  KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
@@ -94,14 +94,14 @@ import {
94
94
  traceOf,
95
95
  typedCommand,
96
96
  useAsProcessRun
97
- } from "./chunk-BXXHUO7Y.js";
97
+ } from "./chunk-7KNBZOLH.js";
98
98
  import {
99
99
  isCliFailure,
100
100
  storeDamaged
101
- } from "./chunk-S5P7THM5.js";
101
+ } from "./chunk-HZ5LRWKH.js";
102
102
  import {
103
103
  TAG_TYPES
104
- } from "./chunk-3T3OAYL4.js";
104
+ } from "./chunk-D2IVASIC.js";
105
105
  import {
106
106
  FACT_TYPES,
107
107
  FIELD_TYPES,
@@ -129,17 +129,17 @@ import {
129
129
  parseLucene,
130
130
  readsZone,
131
131
  timezoneOf
132
- } from "./chunk-RXGX2CZX.js";
132
+ } from "./chunk-S5NFSVNK.js";
133
133
  import {
134
134
  endpoint
135
- } from "./chunk-OP2BH55P.js";
135
+ } from "./chunk-LEO5GWPD.js";
136
136
  import {
137
137
  repairConfigText,
138
138
  sharedConfigPath
139
- } from "./chunk-NV7NNL5T.js";
139
+ } from "./chunk-F7DHR4OO.js";
140
140
  import {
141
141
  storePath
142
- } from "./chunk-X5LUHN62.js";
142
+ } from "./chunk-YOZHKJEN.js";
143
143
  import {
144
144
  configFilePath,
145
145
  createRecordLog,
@@ -151,7 +151,7 @@ import {
151
151
  resolvePaths,
152
152
  saveConfigFile,
153
153
  writeSecurely
154
- } from "./chunk-S35UJBFZ.js";
154
+ } from "./chunk-MLXDGBH4.js";
155
155
  import {
156
156
  COMPACT_FLAG,
157
157
  MAX_NEXT_STEPS,
@@ -168,7 +168,7 @@ import {
168
168
  reference,
169
169
  stepOf,
170
170
  writes
171
- } from "./chunk-A3RJ6FD5.js";
171
+ } from "./chunk-E5XATHAF.js";
172
172
  import {
173
173
  array,
174
174
  boolean,
@@ -209,12 +209,12 @@ import {
209
209
  CliError,
210
210
  singleLine,
211
211
  visibleControls
212
- } from "./chunk-4FHKSSXQ.js";
212
+ } from "./chunk-FGWQHNKK.js";
213
213
  import {
214
214
  __name
215
215
  } from "./chunk-ZVVMGPBJ.js";
216
216
 
217
- // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
217
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
218
218
  var labels = /* @__PURE__ */ new WeakMap();
219
219
  var annotate = /* @__PURE__ */ __name((command, meta) => {
220
220
  labels.set(command, { ...labels.get(command), ...meta });
@@ -3715,7 +3715,7 @@ __name(useColor, "useColor");
3715
3715
  // node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
3716
3716
  var program = new Command();
3717
3717
 
3718
- // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
3718
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
3719
3719
  var argumentInfoSchema = object({
3720
3720
  name: string(),
3721
3721
  required: boolean(),
@@ -3789,7 +3789,7 @@ var commandsDocumentSchema = strictObject({
3789
3789
  exit_codes: record(string(), pipe(number(), integer()))
3790
3790
  });
3791
3791
 
3792
- // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
3792
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
3793
3793
  import { isDeepStrictEqual } from "node:util";
3794
3794
  var protectedCommands = /* @__PURE__ */ new WeakMap();
3795
3795
  var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
@@ -3831,6 +3831,30 @@ var assertSharedContracts = /* @__PURE__ */ __name((root) => {
3831
3831
  if (changed.length)
3832
3832
  throw new CliError("configuration_error", `shared contract changed without an explicit override: ${changed.map((one) => `${one.command} (${one.fields.join(", ")})`).join("; ")}; use overrideSharedContract before changing it`, { reason: "contract.unacknowledged-override", contracts: changed });
3833
3833
  }, "assertSharedContracts");
3834
+ var overrideSharedContract = /* @__PURE__ */ __name((command, reason, change) => {
3835
+ if (reason.trim().length < 10)
3836
+ throw new Error("a shared contract override needs a specific reason");
3837
+ const protectedContract = protectedCommands.get(command);
3838
+ if (!protectedContract)
3839
+ throw new Error("only a core-owned command contract can be overridden");
3840
+ assertSharedContracts(command);
3841
+ const before = structuredClone(snapshot(command));
3842
+ change(command);
3843
+ const after = structuredClone(snapshot(command));
3844
+ const fields = differences(before, after);
3845
+ if (fields.length === 0)
3846
+ throw new Error("a shared contract override must change its named command");
3847
+ for (const field of fields)
3848
+ protectedContract.overrides.push({
3849
+ command: pathOf(command),
3850
+ field,
3851
+ before: before[field] ?? null,
3852
+ after: after[field] ?? null,
3853
+ reason: reason.trim()
3854
+ });
3855
+ protectedContract.contract = after;
3856
+ return command;
3857
+ }, "overrideSharedContract");
3834
3858
  var sharedContractOverrides = /* @__PURE__ */ __name((root) => {
3835
3859
  assertSharedContracts(root);
3836
3860
  const result = [];
@@ -3899,7 +3923,7 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
3899
3923
  return result;
3900
3924
  }, "sharedCommand");
3901
3925
 
3902
- // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
3926
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
3903
3927
  var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3904
3928
  let command = root;
3905
3929
  const path2 = [];
@@ -3917,7 +3941,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3917
3941
  }
3918
3942
  }, "refuseJoinedPath");
3919
3943
 
3920
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/sends/permissions.js
3944
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/sends/permissions.js
3921
3945
  var LEVELS = ["deny", "readonly", "ask", "allow"];
3922
3946
  var DANGEROUS = /* @__PURE__ */ new Set([
3923
3947
  "messages.delete",
@@ -4353,7 +4377,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
4353
4377
  }
4354
4378
  }, "assertRetentionEvidenceRead");
4355
4379
 
4356
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
4380
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
4357
4381
  import { AsyncLocalStorage } from "node:async_hooks";
4358
4382
  var requests = new AsyncLocalStorage();
4359
4383
  var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
@@ -4368,7 +4392,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
4368
4392
  return direct;
4369
4393
  }, "exitCodeSet");
4370
4394
 
4371
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
4395
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
4372
4396
  var named = /* @__PURE__ */ __name((work) => {
4373
4397
  try {
4374
4398
  return work();
@@ -4395,7 +4419,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
4395
4419
  return projectFields(value, fields);
4396
4420
  }), "projectFields");
4397
4421
 
4398
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/execution.js
4422
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/execution.js
4399
4423
  var DEFAULT_COMMAND_MS = 3e4;
4400
4424
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
4401
4425
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -4578,7 +4602,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
4578
4602
  }
4579
4603
  }, "withAbort");
4580
4604
 
4581
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4605
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4582
4606
  import { existsSync, readdirSync, readFileSync } from "node:fs";
4583
4607
  import { join } from "node:path";
4584
4608
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -4600,7 +4624,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
4600
4624
  }, "profilesWithAccounts");
4601
4625
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
4602
4626
 
4603
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/output-detail.js
4627
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/output-detail.js
4604
4628
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
4605
4629
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
4606
4630
  var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
@@ -4636,7 +4660,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
4636
4660
  return value;
4637
4661
  }, "atDetail");
4638
4662
 
4639
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/output.js
4663
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/output.js
4640
4664
  var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
4641
4665
  const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
4642
4666
  if (other)
@@ -4700,7 +4724,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
4700
4724
  }, "warn")
4701
4725
  }), "silence");
4702
4726
 
4703
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4727
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4704
4728
  var CORE_LOG_EVENTS = defineLogEvents([
4705
4729
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
4706
4730
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -4738,7 +4762,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
4738
4762
  progress: "sync.progress"
4739
4763
  };
4740
4764
 
4741
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/runs/recording.js
4765
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/runs/recording.js
4742
4766
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
4743
4767
  const recording = startRecording(options);
4744
4768
  try {
@@ -4953,7 +4977,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
4953
4977
  return void 0;
4954
4978
  }, "partialOutcome");
4955
4979
 
4956
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4980
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4957
4981
  var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
4958
4982
  if (ms2 === void 0)
4959
4983
  return body();
@@ -4979,7 +5003,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
4979
5003
  }
4980
5004
  }, "withDeadline");
4981
5005
 
4982
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/profile.js
5006
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/profile.js
4983
5007
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
4984
5008
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
4985
5009
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -5048,10 +5072,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
5048
5072
  return void 0;
5049
5073
  }, "sampleCommand");
5050
5074
 
5051
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/settings.js
5075
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/settings.js
5052
5076
  import { existsSync as existsSync4 } from "node:fs";
5053
5077
 
5054
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/analysis/settings.js
5078
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/analysis/settings.js
5055
5079
  var model = pipe(string(), trim(), minLength(1), maxLength(200));
5056
5080
  var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
5057
5081
  var AI_FIELDS = {
@@ -5095,7 +5119,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
5095
5119
  };
5096
5120
  }, "resolveAISettings");
5097
5121
 
5098
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/domain/duration.js
5122
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/domain/duration.js
5099
5123
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
5100
5124
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
5101
5125
  var parseDuration = /* @__PURE__ */ __name((value, source2) => {
@@ -5109,7 +5133,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
5109
5133
  return ms2;
5110
5134
  }, "parseDuration");
5111
5135
 
5112
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/services/history-limits.js
5136
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/history-limits.js
5113
5137
  var HISTORY_MAX_DAYS = 1095;
5114
5138
  var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
5115
5139
  var DAY_MS = 24 * 60 * 60 * 1e3;
@@ -5156,7 +5180,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
5156
5180
  return { batch: { ...batch, messages }, skipped };
5157
5181
  }, "limitBatch");
5158
5182
 
5159
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
5183
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
5160
5184
  import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
5161
5185
  import { join as join2 } from "node:path";
5162
5186
  var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
@@ -5245,7 +5269,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
5245
5269
  return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
5246
5270
  }, "registryProfiles");
5247
5271
 
5248
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5272
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5249
5273
  import { readFileSync as readFileSync3 } from "node:fs";
5250
5274
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5251
5275
  var SECTIONS = ["personal", "bot"];
@@ -5448,7 +5472,10 @@ var scopes = /* @__PURE__ */ __name((raw) => {
5448
5472
  return out;
5449
5473
  }, "scopes");
5450
5474
  var savedPermissionKeys = /* @__PURE__ */ __name((raw) => scopes(raw).flatMap(([path2, scope]) => isNode(scope.permissions) ? Object.keys(scope.permissions).map((key) => ({ key, at: [...path2, "permissions", key] })) : []), "savedPermissionKeys");
5451
- var permissionIssues = /* @__PURE__ */ __name((saved, known, context2) => saved.filter(({ key }) => !known.has(key)).map(({ at: at2 }) => locate("unknown_permission", at2, context2, (key) => `${key} names no command`)), "permissionIssues");
5475
+ var permissionIssues = /* @__PURE__ */ __name((saved, known, context2, renamed = /* @__PURE__ */ new Map()) => saved.filter(({ key }) => !known.has(key)).map(({ key: name, at: at2 }) => locate("unknown_permission", at2, context2, (key) => {
5476
+ const now = renamed.get(name);
5477
+ return now === void 0 ? `${key} names no command` : `${key} names no command: its command moved, so rename it to permissions.${now}`;
5478
+ })), "permissionIssues");
5452
5479
  var pathId = /* @__PURE__ */ __name((path2) => path2.join("\0"), "pathId");
5453
5480
  var prune = /* @__PURE__ */ __name((raw, paths) => {
5454
5481
  const drop = new Set(paths.map(pathId));
@@ -5540,7 +5567,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
5540
5567
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
5541
5568
  }, "readConfigFile");
5542
5569
 
5543
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/default-config.js
5570
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/default-config.js
5544
5571
  import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
5545
5572
  import { dirname, join as join3 } from "node:path";
5546
5573
  var DEFAULT_CONFIG = {
@@ -5569,7 +5596,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
5569
5596
  }
5570
5597
  __name(ensureDefaultConfig, "ensureDefaultConfig");
5571
5598
 
5572
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
5599
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
5573
5600
  var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5574
5601
  var parentOf = /* @__PURE__ */ __name((config, key) => {
5575
5602
  const path2 = key.split(".");
@@ -5591,7 +5618,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
5591
5618
  return { config, added };
5592
5619
  }, "withSettingDefaults");
5593
5620
 
5594
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/settings.js
5621
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/settings.js
5595
5622
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
5596
5623
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
5597
5624
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -6119,7 +6146,7 @@ var given = /* @__PURE__ */ __name((value) => {
6119
6146
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
6120
6147
  }, "given");
6121
6148
 
6122
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/context.js
6149
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/context.js
6123
6150
  var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
6124
6151
  const { deadline, signal, app } = environmentOf(command);
6125
6152
  const now = deadline?.();
@@ -6273,7 +6300,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
6273
6300
  return words.join(" ");
6274
6301
  }, "commandPath");
6275
6302
 
6276
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/effects.js
6303
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/effects.js
6277
6304
  var REMOTE_READ = { remote: "read", local: "read" };
6278
6305
  var FETCH = { remote: "read", local: "write" };
6279
6306
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -6352,6 +6379,14 @@ var fetchesOnlyAt = /* @__PURE__ */ __name((root) => (path2) => {
6352
6379
  return at2 !== void 0 && fetchesOnly(at2);
6353
6380
  }, "fetchesOnlyAt");
6354
6381
  var FILE_OPTION = /* @__PURE__ */ new WeakMap();
6382
+ var writesFileOnlyWith = /* @__PURE__ */ __name((command, option) => {
6383
+ const flag2 = command.options.find((one) => one.attributeName() === option);
6384
+ if (!flag2 || optionMetaOf(flag2).mcp !== false)
6385
+ throw new Error(`${command.name()}: writesFileOnlyWith needs --${option} added first, as an owner-only option`);
6386
+ FILE_OPTION.set(command, option);
6387
+ return command;
6388
+ }, "writesFileOnlyWith");
6389
+ var writesNewFileOnlyWith = /* @__PURE__ */ __name((command, option) => destroysNothing(writesFileOnlyWith(command, option)), "writesNewFileOnlyWith");
6355
6390
  var fileOptionOf = /* @__PURE__ */ __name((command) => FILE_OPTION.get(command), "fileOptionOf");
6356
6391
  var writesFileNow = /* @__PURE__ */ __name((command) => {
6357
6392
  const option = FILE_OPTION.get(command);
@@ -6414,7 +6449,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
6414
6449
  throw readOnlyRefusal(lock, what);
6415
6450
  }, "refuseUnderReadOnly");
6416
6451
 
6417
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/account.js
6452
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/account.js
6418
6453
  var account = strictObject({
6419
6454
  provider: text,
6420
6455
  id,
@@ -6424,7 +6459,7 @@ var account = strictObject({
6424
6459
  scope: optional(picklist(["personal", "work"]))
6425
6460
  });
6426
6461
 
6427
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6462
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6428
6463
  var accountSession = strictObject({
6429
6464
  current: boolean(),
6430
6465
  client: nullable(text),
@@ -6434,7 +6469,7 @@ var accountSession = strictObject({
6434
6469
  created_at: optional(nullable(time))
6435
6470
  });
6436
6471
 
6437
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6472
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6438
6473
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
6439
6474
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
6440
6475
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -6463,7 +6498,7 @@ var accountRemoval = strictObject({
6463
6498
  kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
6464
6499
  });
6465
6500
 
6466
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6501
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6467
6502
  var accountProfile = strictObject({
6468
6503
  profile: id,
6469
6504
  current: boolean(),
@@ -6475,7 +6510,7 @@ var accountProfile = strictObject({
6475
6510
  bot: optional(literal(true))
6476
6511
  });
6477
6512
 
6478
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6513
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6479
6514
  var milliseconds = pipe(number(), minValue(0));
6480
6515
  var counterReading = strictObject({
6481
6516
  counter: picklist(["views", "reactions", "comments"]),
@@ -6487,7 +6522,7 @@ var counterReading = strictObject({
6487
6522
  });
6488
6523
  var selection = record(string(), unknown());
6489
6524
 
6490
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6525
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6491
6526
  var adminRow = strictObject({
6492
6527
  ref: reference,
6493
6528
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -6540,7 +6575,7 @@ var adminReport = strictObject({
6540
6575
  rows: array(adminRow)
6541
6576
  });
6542
6577
 
6543
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/task.js
6578
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/task.js
6544
6579
  var closeSuggestion = strictObject({
6545
6580
  as: picklist(["done", "dismissed"]),
6546
6581
  /** The agent's name. */
@@ -6602,7 +6637,7 @@ var task = strictObject({
6602
6637
  updated_at: optional(time)
6603
6638
  });
6604
6639
 
6605
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6640
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6606
6641
  var agendaChat = strictObject({
6607
6642
  chat: reference,
6608
6643
  title: nullable(text),
@@ -6672,11 +6707,11 @@ var agenda = strictObject({
6672
6707
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
6673
6708
  });
6674
6709
 
6675
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6710
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6676
6711
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
6677
6712
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
6678
6713
 
6679
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/attachment.js
6714
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/attachment.js
6680
6715
  var attachment = strictObject({
6681
6716
  /** The message it came with, as a locator; absent inside that message. */
6682
6717
  message: optional(reference),
@@ -6721,7 +6756,7 @@ var hitFile = strictObject({
6721
6756
  local_path: optional(text)
6722
6757
  });
6723
6758
 
6724
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
6759
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
6725
6760
  var actionableError = objectWithRest({
6726
6761
  code: text,
6727
6762
  message: text,
@@ -6738,7 +6773,7 @@ var batchResult = strictObject({
6738
6773
  max_error_percent: count
6739
6774
  });
6740
6775
 
6741
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
6776
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
6742
6777
  var extractionItem = strictObject({
6743
6778
  ref: reference,
6744
6779
  attachment: count,
@@ -6771,7 +6806,7 @@ var extractionReport = strictObject({
6771
6806
  cursor: optional(text)
6772
6807
  });
6773
6808
 
6774
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
6809
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
6775
6810
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
6776
6811
  var attachmentBytes = strictObject({
6777
6812
  ref: reference,
@@ -6802,7 +6837,7 @@ var attachmentTextChange = strictObject({
6802
6837
  text: optional(text)
6803
6838
  });
6804
6839
 
6805
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
6840
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
6806
6841
  var WEIGHTS = {
6807
6842
  bot: 3,
6808
6843
  scam: 3,
@@ -6827,7 +6862,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
6827
6862
  var DIGITS = /\d{5,}/;
6828
6863
  var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
6829
6864
 
6830
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
6865
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
6831
6866
  var linkedIdentity = strictObject({
6832
6867
  provider: text,
6833
6868
  id,
@@ -6882,7 +6917,7 @@ var contactCheck = strictObject({
6882
6917
  checked_at: time
6883
6918
  });
6884
6919
 
6885
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/member.js
6920
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/member.js
6886
6921
  var member = strictObject({
6887
6922
  id,
6888
6923
  name: nullable(text),
@@ -6905,7 +6940,7 @@ var member = strictObject({
6905
6940
  check: optional(record(string(), unknown()))
6906
6941
  });
6907
6942
 
6908
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chat.js
6943
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chat.js
6909
6944
  var setting = optional(nullable(boolean()));
6910
6945
  var chat = strictObject({
6911
6946
  ref: reference,
@@ -6946,7 +6981,7 @@ var chat = strictObject({
6946
6981
  members: optional(array(member))
6947
6982
  });
6948
6983
 
6949
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/message.js
6984
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/message.js
6950
6985
  var quoted = strictObject({
6951
6986
  id,
6952
6987
  sender_id: nullable(id),
@@ -7067,7 +7102,7 @@ var message = strictObject({
7067
7102
  provider_metadata: providerMetadata
7068
7103
  });
7069
7104
 
7070
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
7105
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
7071
7106
  var recordedMeeting = strictObject({
7072
7107
  ref: reference,
7073
7108
  meeting_id: count,
@@ -7084,7 +7119,7 @@ var recordedMeeting = strictObject({
7084
7119
  call: optional(meetingCall)
7085
7120
  });
7086
7121
 
7087
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
7122
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
7088
7123
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
7089
7124
  var contextMessage = strictObject({
7090
7125
  locator: reference,
@@ -7290,7 +7325,7 @@ var contactPreparation = strictObject({
7290
7325
  })
7291
7326
  });
7292
7327
 
7293
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/deal.js
7328
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/deal.js
7294
7329
  var nullableText = nullable(text);
7295
7330
  var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
7296
7331
  var outcome = picklist(["open", "won", "lost"]);
@@ -7446,7 +7481,7 @@ var stage = strictObject({
7446
7481
  untrusted
7447
7482
  });
7448
7483
 
7449
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/business-context.js
7484
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/business-context.js
7450
7485
  var nullableText2 = nullable(text);
7451
7486
  var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
7452
7487
  var standing = picklist(STANDINGS);
@@ -7625,7 +7660,7 @@ var dealBrief = strictObject({
7625
7660
  not_read: coverage2.entries.not_read
7626
7661
  });
7627
7662
 
7628
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chart.js
7663
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chart.js
7629
7664
  var chart = strictObject({
7630
7665
  version: literal(1),
7631
7666
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -7640,7 +7675,7 @@ var chart = strictObject({
7640
7675
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
7641
7676
  });
7642
7677
 
7643
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/folder.js
7678
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/folder.js
7644
7679
  var named2 = strictObject({
7645
7680
  id,
7646
7681
  title: nullable(text),
@@ -7663,7 +7698,7 @@ var folder = strictObject({
7663
7698
  excluded_chats: optional(array(named2))
7664
7699
  });
7665
7700
 
7666
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7701
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7667
7702
  var inviteLink = strictObject({
7668
7703
  link: text,
7669
7704
  /** Who joins by it asks first, and an admin lets them in. */
@@ -7679,7 +7714,7 @@ var inviteLink = strictObject({
7679
7714
  joined_count: optional(count)
7680
7715
  });
7681
7716
 
7682
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7717
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7683
7718
  var operated = { operation_id: id, chat_id: id };
7684
7719
  var group = strictObject({
7685
7720
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -7759,7 +7794,7 @@ var chatFolderOrder = strictObject({
7759
7794
  folders: array(strictObject({ id, title: text }))
7760
7795
  });
7761
7796
 
7762
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
7797
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
7763
7798
  var operated2 = { operation_id: id, chat_id: id };
7764
7799
  var chatRemoval = strictObject(operated2);
7765
7800
  var chatMuting = strictObject({
@@ -7770,7 +7805,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
7770
7805
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
7771
7806
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
7772
7807
 
7773
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
7808
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
7774
7809
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
7775
7810
  var chatEvent = strictObject({
7776
7811
  chat_id: id,
@@ -7787,7 +7822,7 @@ var chatEvent = strictObject({
7787
7822
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
7788
7823
  });
7789
7824
 
7790
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
7825
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
7791
7826
  var chatMetadata = strictObject({
7792
7827
  chat_id: id,
7793
7828
  title: nullable(text),
@@ -7802,7 +7837,7 @@ var chatMetadataRefresh = strictObject({
7802
7837
  has_more: boolean()
7803
7838
  });
7804
7839
 
7805
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
7840
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
7806
7841
  var action = picklist(["report", "delete", "remove"]);
7807
7842
  var level = picklist(["deny", "readonly", "ask", "allow"]);
7808
7843
  var chatRules = strictObject({
@@ -7839,7 +7874,7 @@ var chatModeration = strictObject({
7839
7874
  }))
7840
7875
  });
7841
7876
 
7842
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
7877
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
7843
7878
  var chatSending = strictObject({
7844
7879
  mode: picklist(["allowed", "ask", "denied"]),
7845
7880
  meaning: text,
@@ -7849,7 +7884,7 @@ var chatSending = strictObject({
7849
7884
  changed: optional(boolean())
7850
7885
  });
7851
7886
 
7852
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
7887
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
7853
7888
  var optionalCount = optional(count);
7854
7889
  var minutes = nullable(number());
7855
7890
  var chatStats = strictObject({
@@ -7925,7 +7960,7 @@ var taskStats = strictObject({
7925
7960
  }))
7926
7961
  });
7927
7962
 
7928
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
7963
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
7929
7964
  var memberCount = strictObject({
7930
7965
  day: pipe(text, isoDate()),
7931
7966
  participants: nullable(count),
@@ -7948,7 +7983,7 @@ var chatTracking = strictObject({
7948
7983
  tracked: boolean()
7949
7984
  });
7950
7985
 
7951
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
7986
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
7952
7987
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
7953
7988
  var contactSync = strictObject({ added: count, changed: count, known: count });
7954
7989
  var profileFields = {
@@ -7986,7 +8021,7 @@ var profileFields = {
7986
8021
  }))
7987
8022
  };
7988
8023
 
7989
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/contact.js
8024
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/contact.js
7990
8025
  var contact = strictObject({
7991
8026
  ref: reference,
7992
8027
  id,
@@ -8017,7 +8052,7 @@ var contact = strictObject({
8017
8052
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
8018
8053
  });
8019
8054
 
8020
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
8055
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
8021
8056
  var contactNote = strictObject({
8022
8057
  id,
8023
8058
  /** The contact, as a `contact:` reference. */
@@ -8029,13 +8064,13 @@ var contactNote = strictObject({
8029
8064
  updated_at: time
8030
8065
  });
8031
8066
 
8032
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
8067
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
8033
8068
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
8034
8069
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
8035
8070
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
8036
8071
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
8037
8072
 
8038
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/conversation.js
8073
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/conversation.js
8039
8074
  var conversation = strictObject({
8040
8075
  id,
8041
8076
  chat: reference,
@@ -8050,7 +8085,7 @@ var conversation = strictObject({
8050
8085
  rules_version: count
8051
8086
  });
8052
8087
 
8053
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
8088
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
8054
8089
  var conversationBuild = strictObject({
8055
8090
  chat: id,
8056
8091
  messages: count,
@@ -8075,7 +8110,7 @@ var catchUpPreparation = strictObject({
8075
8110
  prepared: optional(conversationPreparation)
8076
8111
  });
8077
8112
 
8078
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
8113
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
8079
8114
  var conversationDetails = union([
8080
8115
  strictObject({ ...conversation.entries, messages: array(message) }),
8081
8116
  message
@@ -8170,7 +8205,7 @@ var conversationHit = strictObject({
8170
8205
  untrusted
8171
8206
  });
8172
8207
 
8173
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/counters.js
8208
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/counters.js
8174
8209
  var counters = strictObject({
8175
8210
  cutoff: time,
8176
8211
  max_age_ms: milliseconds,
@@ -8200,7 +8235,7 @@ var counterRefresh = strictObject({
8200
8235
  complete: optional(boolean())
8201
8236
  });
8202
8237
 
8203
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/document.js
8238
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/document.js
8204
8239
  var document = strictObject({
8205
8240
  ref: reference,
8206
8241
  id,
@@ -8215,7 +8250,7 @@ var document = strictObject({
8215
8250
  owners: optional(array(text))
8216
8251
  });
8217
8252
 
8218
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/document-link.js
8253
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/document-link.js
8219
8254
  var documentLink = strictObject({
8220
8255
  ref: reference,
8221
8256
  url: text,
@@ -8226,7 +8261,7 @@ var documentLink = strictObject({
8226
8261
  sender: strictObject({ id: nullable(id), name: nullable(text) })
8227
8262
  });
8228
8263
 
8229
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/evidence.js
8264
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/evidence.js
8230
8265
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
8231
8266
  var contribution = strictObject({
8232
8267
  message: evidenceMessage,
@@ -8256,7 +8291,7 @@ var retentionStay = strictObject({
8256
8291
  });
8257
8292
  var evidence = union([contribution, retentionStay]);
8258
8293
 
8259
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/fact.js
8294
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/fact.js
8260
8295
  var fact = strictObject({
8261
8296
  ref: reference,
8262
8297
  id,
@@ -8287,7 +8322,7 @@ var fact = strictObject({
8287
8322
  updated_at: time
8288
8323
  });
8289
8324
 
8290
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/hit.js
8325
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/hit.js
8291
8326
  var hit = strictObject({
8292
8327
  kind: picklist([
8293
8328
  "message",
@@ -8346,7 +8381,7 @@ var hit = strictObject({
8346
8381
  untrusted
8347
8382
  });
8348
8383
 
8349
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/identity.js
8384
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/identity.js
8350
8385
  var identity = strictObject({
8351
8386
  ref: reference,
8352
8387
  provider: text,
@@ -8362,7 +8397,7 @@ var identity = strictObject({
8362
8397
  person: optional(nullable(reference))
8363
8398
  });
8364
8399
 
8365
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8400
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8366
8401
  var imageEmbedding = strictObject({
8367
8402
  model: text,
8368
8403
  embedded: count,
@@ -8371,13 +8406,13 @@ var imageEmbedding = strictObject({
8371
8406
  more: boolean()
8372
8407
  });
8373
8408
 
8374
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8409
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8375
8410
  import { spawn } from "node:child_process";
8376
8411
  import { randomBytes } from "node:crypto";
8377
8412
  import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync4, realpathSync, rmSync as rmSync2 } from "node:fs";
8378
8413
  import { dirname as dirname2, join as join4 } from "node:path";
8379
8414
 
8380
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
8415
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
8381
8416
  var progressOf = /* @__PURE__ */ __name((input) => {
8382
8417
  const total = input.total ?? null;
8383
8418
  const updated = input.updatedAt ?? null;
@@ -8393,7 +8428,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
8393
8428
  };
8394
8429
  }, "progressOf");
8395
8430
 
8396
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/runs/record-log.js
8431
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/runs/record-log.js
8397
8432
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
8398
8433
  const run = currentRun();
8399
8434
  const trace = traceId ?? run.traceId;
@@ -8407,7 +8442,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
8407
8442
  }));
8408
8443
  }, "recordLogFor");
8409
8444
 
8410
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8445
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8411
8446
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
8412
8447
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
8413
8448
  const out = openSync(log, "a", 384);
@@ -8562,7 +8597,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
8562
8597
  return { job: id6, pid, chat: input.chat, log };
8563
8598
  }, "startArchiveJob");
8564
8599
 
8565
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/job.js
8600
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/job.js
8566
8601
  var problem = strictObject({ code: text, message: text });
8567
8602
  var job = strictObject({
8568
8603
  id,
@@ -8585,7 +8620,7 @@ var job = strictObject({
8585
8620
  error: optional(problem)
8586
8621
  });
8587
8622
 
8588
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8623
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8589
8624
  var joinRequest = strictObject({
8590
8625
  person_id: id,
8591
8626
  name: nullable(text),
@@ -8596,7 +8631,7 @@ var joinRequest = strictObject({
8596
8631
  about: optional(text)
8597
8632
  });
8598
8633
 
8599
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/list-results.js
8634
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/list-results.js
8600
8635
  var botProfile = strictObject({
8601
8636
  name: text,
8602
8637
  token: text,
@@ -8720,7 +8755,7 @@ var stickerInventory = strictObject({
8720
8755
  url: optional(nullable(text))
8721
8756
  });
8722
8757
 
8723
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8758
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8724
8759
  var pollVote = strictObject({
8725
8760
  person_id: id,
8726
8761
  name: nullable(text),
@@ -8730,7 +8765,7 @@ var pollVote = strictObject({
8730
8765
  voted_at: time
8731
8766
  });
8732
8767
 
8733
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/listener.js
8768
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/listener.js
8734
8769
  var reactions = unwrap(unwrap(message.entries.reactions));
8735
8770
  var observation = strictObject({
8736
8771
  value: pipe(number(), minValue(0)),
@@ -8772,7 +8807,7 @@ var serveSummary = strictObject({
8772
8807
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
8773
8808
  });
8774
8809
 
8775
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8810
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8776
8811
  var mailCounts = strictObject({
8777
8812
  by: picklist(["day", "week", "sender"]),
8778
8813
  received: count,
@@ -8787,7 +8822,7 @@ var mailCounts = strictObject({
8787
8822
  }))
8788
8823
  });
8789
8824
 
8790
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8825
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8791
8826
  var evidence2 = strictObject({ reference, fingerprint: text });
8792
8827
  var base = { id, evidence: array(evidence2) };
8793
8828
  var finding = variant("kind", [
@@ -8931,7 +8966,7 @@ var mailFindings = strictObject({
8931
8966
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
8932
8967
  });
8933
8968
 
8934
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
8969
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
8935
8970
  var mediaArchive = strictObject({
8936
8971
  directory: text,
8937
8972
  chats: count,
@@ -8963,7 +8998,7 @@ var mediaArchiveTimer = union([
8963
8998
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
8964
8999
  ]);
8965
9000
 
8966
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
9001
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
8967
9002
  var preparationId = pipe(string(), minLength(1));
8968
9003
  var preparationCount = pipe(number(), integer(), minValue(0));
8969
9004
  var preparationTime = nullable(isoTime);
@@ -9055,7 +9090,7 @@ var preparationMeeting = strictObject({
9055
9090
  updated_at: isoTime
9056
9091
  });
9057
9092
 
9058
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
9093
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
9059
9094
  var meetingEvidence = preparationEvidence;
9060
9095
  var meetingPersonContext = strictObject({
9061
9096
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -9077,7 +9112,7 @@ var meetingPersonContext = strictObject({
9077
9112
  })
9078
9113
  });
9079
9114
 
9080
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
9115
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
9081
9116
  var evidence3 = strictObject({ reference, fingerprint: text });
9082
9117
  var base2 = { id, project: reference, evidence: array(evidence3) };
9083
9118
  var finding2 = variant("kind", [
@@ -9115,7 +9150,7 @@ var meetingFindings = strictObject({
9115
9150
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
9116
9151
  });
9117
9152
 
9118
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
9153
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
9119
9154
  var communicationCoverage = strictObject({
9120
9155
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
9121
9156
  query: string(),
@@ -9160,7 +9195,7 @@ var preparationCommunications = strictObject({
9160
9195
  }))
9161
9196
  });
9162
9197
 
9163
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
9198
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
9164
9199
  var meetingPreparation = strictObject({
9165
9200
  communications: optional(preparationCommunications),
9166
9201
  schema_version: literal(1),
@@ -9273,7 +9308,7 @@ var meetingPreparation = strictObject({
9273
9308
  })
9274
9309
  });
9275
9310
 
9276
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
9311
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
9277
9312
  var count4 = pipe(number(), integer(), minValue(0));
9278
9313
  var id3 = pipe(string(), minLength(1));
9279
9314
  var text3 = string();
@@ -9337,7 +9372,7 @@ var meetingProjectCandidates = strictObject({
9337
9372
  })
9338
9373
  });
9339
9374
 
9340
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
9375
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
9341
9376
  var count5 = pipe(number(), integer(), minValue(0));
9342
9377
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
9343
9378
  var meetingSeriesInventory = strictObject({
@@ -9367,7 +9402,7 @@ var meetingSeriesInventory = strictObject({
9367
9402
  })
9368
9403
  });
9369
9404
 
9370
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
9405
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
9371
9406
  var text4 = string();
9372
9407
  var id5 = pipe(number(), integer(), minValue(1));
9373
9408
  var revision = picklist(["current", "superseded"]);
@@ -9384,7 +9419,7 @@ var meetingTaskProposal = strictObject({
9384
9419
  persistence: literal("proposal-only")
9385
9420
  });
9386
9421
 
9387
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/memory.js
9422
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/memory.js
9388
9423
  var memory = strictObject({
9389
9424
  ref: reference,
9390
9425
  id,
@@ -9412,7 +9447,7 @@ var memory = strictObject({
9412
9447
  updated_at: time
9413
9448
  });
9414
9449
 
9415
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/mention.js
9450
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/mention.js
9416
9451
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
9417
9452
  var status = picklist(["found", "linked", "proposed", "dismissed"]);
9418
9453
  var mention = strictObject({
@@ -9456,7 +9491,7 @@ var mentionRebuild = strictObject({
9456
9491
  mentions: count
9457
9492
  });
9458
9493
 
9459
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/message-change.js
9494
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/message-change.js
9460
9495
  var operated3 = { operation_id: id, chat_id: id };
9461
9496
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
9462
9497
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
@@ -9465,7 +9500,7 @@ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) })
9465
9500
  var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
9466
9501
  var scheduledSend = strictObject(scheduledSendEntries);
9467
9502
 
9468
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/message-read.js
9503
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/message-read.js
9469
9504
  var messageTranscript = strictObject({
9470
9505
  message_id: id,
9471
9506
  text,
@@ -9523,7 +9558,7 @@ var evidencePacket = strictObject({
9523
9558
  }))
9524
9559
  });
9525
9560
 
9526
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9561
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9527
9562
  var messageThread = strictObject({
9528
9563
  ref: reference,
9529
9564
  chat: id,
@@ -9540,7 +9575,7 @@ var messageThread = strictObject({
9540
9575
  });
9541
9576
  var messageContext = union([message, messageThread]);
9542
9577
 
9543
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9578
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9544
9579
  var messageCounts = strictObject({
9545
9580
  by: picklist(["chat", "sender", "day", "hour"]),
9546
9581
  total: count,
@@ -9553,7 +9588,7 @@ var messageCounts = strictObject({
9553
9588
  }))
9554
9589
  });
9555
9590
 
9556
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9591
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9557
9592
  var messageLink = strictObject({
9558
9593
  ref: reference,
9559
9594
  url: nullable(text),
@@ -9570,7 +9605,7 @@ var messageLink = strictObject({
9570
9605
  })))
9571
9606
  });
9572
9607
 
9573
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
9608
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
9574
9609
  var savedMessageFile = strictObject({
9575
9610
  kind: text,
9576
9611
  path: text,
@@ -9657,7 +9692,7 @@ var messageSyncAll = strictObject({
9657
9692
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
9658
9693
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
9659
9694
 
9660
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9695
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9661
9696
  var messageWrite = strictObject({
9662
9697
  operation_id: id,
9663
9698
  message,
@@ -9672,7 +9707,7 @@ var draftWrite = strictObject({
9672
9707
  });
9673
9708
  var messageSend = union([messageWrite, draftWrite]);
9674
9709
 
9675
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/model.js
9710
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/model.js
9676
9711
  var model2 = strictObject({
9677
9712
  id,
9678
9713
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -9707,7 +9742,7 @@ var chosenModel = strictObject({
9707
9742
  estimate_seconds: nullable(count)
9708
9743
  });
9709
9744
 
9710
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/model-key.js
9745
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/model-key.js
9711
9746
  var source = picklist(["environment", "keyring", "file"]);
9712
9747
  var modelKey = strictObject({
9713
9748
  provider: text,
@@ -9717,7 +9752,7 @@ var modelKey = strictObject({
9717
9752
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
9718
9753
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
9719
9754
 
9720
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
9755
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
9721
9756
  var versus = strictObject({ current: number(), previous: number() });
9722
9757
  var person = { person_ref: reference, name: nullable(text) };
9723
9758
  var graph = strictObject({
@@ -9751,14 +9786,14 @@ var officialStats = strictObject({
9751
9786
  graphs: record(string(), union([graph, strictObject({ error: text })]))
9752
9787
  });
9753
9788
 
9754
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/person.js
9789
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/person.js
9755
9790
  var person2 = strictObject({
9756
9791
  ref: reference,
9757
9792
  name: nullable(text),
9758
9793
  identities: optional(array(identity))
9759
9794
  });
9760
9795
 
9761
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/poll.js
9796
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/poll.js
9762
9797
  var poll = strictObject({
9763
9798
  chat_id: id,
9764
9799
  message_id: id,
@@ -9774,11 +9809,11 @@ var poll = strictObject({
9774
9809
  });
9775
9810
  var pollChange = strictObject({ operation_id: id, poll });
9776
9811
 
9777
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9812
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9778
9813
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
9779
9814
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
9780
9815
 
9781
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9816
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9782
9817
  var figures = record(string(), number());
9783
9818
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
9784
9819
  var rankingRow = strictObject({
@@ -9825,7 +9860,7 @@ var ranking = strictObject({
9825
9860
  rows: array(rankingRow)
9826
9861
  });
9827
9862
 
9828
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9863
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9829
9864
  var reaction = strictObject({
9830
9865
  person: strictObject({ id, name: nullable(text), username: nullable(text) }),
9831
9866
  /** The emoji, or `custom:<id>` for a custom one. */
@@ -9833,7 +9868,7 @@ var reaction = strictObject({
9833
9868
  reacted_at: time
9834
9869
  });
9835
9870
 
9836
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9871
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9837
9872
  var reactionChange = strictObject({
9838
9873
  operation_id: id,
9839
9874
  chat_id: id,
@@ -9841,7 +9876,7 @@ var reactionChange = strictObject({
9841
9876
  reaction: nullable(text)
9842
9877
  });
9843
9878
 
9844
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9879
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9845
9880
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
9846
9881
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
9847
9882
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -9852,7 +9887,7 @@ var recipientChange = strictObject({
9852
9887
  ...partial(recipientOff).entries
9853
9888
  });
9854
9889
 
9855
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9890
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9856
9891
  var events = array(record(string(), unknown()));
9857
9892
  var recordedRun = strictObject({
9858
9893
  run_id: id,
@@ -9924,7 +9959,7 @@ var runHit = strictObject({
9924
9959
  });
9925
9960
  var runLocation = strictObject({ path: text });
9926
9961
 
9927
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9962
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9928
9963
  var relationship = strictObject({
9929
9964
  id,
9930
9965
  from: reference,
@@ -9951,7 +9986,7 @@ var relationship = strictObject({
9951
9986
  created_at: time
9952
9987
  });
9953
9988
 
9954
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
9989
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
9955
9990
  var milliseconds2 = nullable(pipe(number(), minValue(0)));
9956
9991
  var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
9957
9992
  var responseTimes = strictObject({
@@ -9968,7 +10003,7 @@ var waitingChats = strictObject({
9968
10003
  by_kind: strictObject({ private: count, group: count })
9969
10004
  });
9970
10005
 
9971
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/retention.js
10006
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/retention.js
9972
10007
  var retentionCohort = strictObject({
9973
10008
  /** The first day of the joining day or week. */
9974
10009
  cohort: text,
@@ -10016,7 +10051,7 @@ var retention = strictObject({
10016
10051
  rows: array(retentionCohort)
10017
10052
  });
10018
10053
 
10019
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
10054
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
10020
10055
  var savedSearch = strictObject({
10021
10056
  id,
10022
10057
  /** `null` for a run in the history. */
@@ -10033,7 +10068,7 @@ var savedSearch = strictObject({
10033
10068
  });
10034
10069
  var searchHistoryClear = strictObject({ cleared: count });
10035
10070
 
10036
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
10071
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
10037
10072
  var sendAttempt = strictObject({
10038
10073
  at: time,
10039
10074
  profile: text,
@@ -10061,7 +10096,7 @@ var sendAttempt = strictObject({
10061
10096
  error_code: optional(text)
10062
10097
  });
10063
10098
 
10064
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
10099
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
10065
10100
  var absent = strictObject({ path: text, exists: literal(false) });
10066
10101
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
10067
10102
  var infoSchema = strictObject({
@@ -10291,7 +10326,7 @@ var storeRepair = union([
10291
10326
  ]);
10292
10327
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
10293
10328
 
10294
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/store-records.js
10329
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/store-records.js
10295
10330
  var range = strictObject({ from: number(), to: number() });
10296
10331
  var storeChatStatus = strictObject({
10297
10332
  chat_id: id,
@@ -10389,7 +10424,7 @@ var storeJobRetry = union([
10389
10424
  ]);
10390
10425
  var storeJobClear = strictObject({ cleared: array(id) });
10391
10426
 
10392
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/store-table.js
10427
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/store-table.js
10393
10428
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
10394
10429
  var storeTable = strictObject({
10395
10430
  name: text,
@@ -10398,7 +10433,7 @@ var storeTable = strictObject({
10398
10433
  bytes: optional(nullable(count))
10399
10434
  });
10400
10435
 
10401
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
10436
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
10402
10437
  var tagTarget = variant("type", [
10403
10438
  strictObject({ type: literal("chat"), chat_id: id }),
10404
10439
  strictObject({ type: literal("contact"), person_id: id }),
@@ -10429,7 +10464,7 @@ var automaticTags = strictObject({
10429
10464
  dry_run: boolean()
10430
10465
  });
10431
10466
 
10432
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/tagging.js
10467
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/tagging.js
10433
10468
  var tagging = strictObject({
10434
10469
  tag: text,
10435
10470
  type: picklist(TAG_TYPES),
@@ -10442,7 +10477,7 @@ var tagging = strictObject({
10442
10477
  created_at: time
10443
10478
  });
10444
10479
 
10445
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
10480
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
10446
10481
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
10447
10482
  var taskPair = strictObject({
10448
10483
  task: nullable(side),
@@ -10465,7 +10500,7 @@ var taskPair = strictObject({
10465
10500
  created_at: time
10466
10501
  });
10467
10502
 
10468
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/task-results.js
10503
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/task-results.js
10469
10504
  var nullableTime = nullable(time);
10470
10505
  var link = strictObject({
10471
10506
  id,
@@ -10639,7 +10674,7 @@ var taskReview = strictObject({
10639
10674
  untrusted
10640
10675
  });
10641
10676
 
10642
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/template.js
10677
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/template.js
10643
10678
  var template = strictObject({
10644
10679
  key: text,
10645
10680
  channel: picklist(["telegram", "email", "text"]),
@@ -10651,7 +10686,7 @@ var template = strictObject({
10651
10686
  updated_by: nullable(text)
10652
10687
  });
10653
10688
 
10654
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/topic.js
10689
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/topic.js
10655
10690
  var topic = strictObject({
10656
10691
  id,
10657
10692
  title: text,
@@ -10665,7 +10700,7 @@ var topic = strictObject({
10665
10700
  untrusted
10666
10701
  });
10667
10702
 
10668
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/index.js
10703
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/index.js
10669
10704
  var ENTITIES = {
10670
10705
  sync_progress: progress,
10671
10706
  deal,
@@ -10967,7 +11002,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
10967
11002
  return [name, definition];
10968
11003
  })), "entityDefinitions");
10969
11004
 
10970
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
11005
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
10971
11006
  var schemas = /* @__PURE__ */ new WeakMap();
10972
11007
  var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
10973
11008
  if (Object.hasOwn(ENTITIES, name))
@@ -11001,7 +11036,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
11001
11036
  return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
11002
11037
  }, "answerRow");
11003
11038
 
11004
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/steps.js
11039
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/steps.js
11005
11040
  var STEPS2 = defineSteps([
11006
11041
  ...STEPS,
11007
11042
  {
@@ -11291,7 +11326,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
11291
11326
  ].join(" ");
11292
11327
  }, "stepLine");
11293
11328
 
11294
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11329
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11295
11330
  var where = [{ field: "ref" }];
11296
11331
  var who2 = { field: ["who.owner", "who.name"], tag: "you" };
11297
11332
  var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
@@ -11383,7 +11418,7 @@ var STATUS_ROWS = {
11383
11418
  "status.failed": { columns: [{ field: "signal" }], text: ["why"] }
11384
11419
  };
11385
11420
 
11386
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/compact.js
11421
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/compact.js
11387
11422
  var TEXT_CHARS = 400;
11388
11423
  var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
11389
11424
  var messageRow = {
@@ -11751,7 +11786,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
11751
11786
  return lines.concat(footerOf(body)).join("\n");
11752
11787
  }, "compactText");
11753
11788
 
11754
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11789
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11755
11790
  var SOFT_OUTPUT_BYTES = 256 * 1024;
11756
11791
  var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
11757
11792
  var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
@@ -11809,7 +11844,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
11809
11844
  return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
11810
11845
  }, "largeAnswerSteps");
11811
11846
 
11812
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11847
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11813
11848
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
11814
11849
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
11815
11850
  var strip = /* @__PURE__ */ __name((value) => {
@@ -11823,7 +11858,7 @@ var strip = /* @__PURE__ */ __name((value) => {
11823
11858
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
11824
11859
  }, "strip");
11825
11860
 
11826
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
11861
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
11827
11862
  var OPEN = "\u27E6";
11828
11863
  var CLOSE = "\u27E7";
11829
11864
  var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
@@ -11892,6 +11927,8 @@ var MESSAGE_UNTRUSTED = [
11892
11927
  "bcc.name",
11893
11928
  "reply_addresses.name"
11894
11929
  ];
11930
+ var CHAT_UNTRUSTED = ["title", "description"];
11931
+ var CONTACT_UNTRUSTED = ["description", "chats.title"];
11895
11932
  var DECLARED = /* @__PURE__ */ new WeakMap();
11896
11933
  var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
11897
11934
  DECLARED.set(command, fields);
@@ -11911,7 +11948,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
11911
11948
  return result;
11912
11949
  }, "withFieldsMarked");
11913
11950
 
11914
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/envelope.js
11951
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/envelope.js
11915
11952
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
11916
11953
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
11917
11954
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -12134,6 +12171,7 @@ export {
12134
12171
  Command,
12135
12172
  hasSharedContract,
12136
12173
  assertSharedContracts,
12174
+ overrideSharedContract,
12137
12175
  sharedContractOverrides,
12138
12176
  sharedContracts,
12139
12177
  sharedCommand,
@@ -12200,6 +12238,7 @@ export {
12200
12238
  rememberAccount,
12201
12239
  recalledAccount,
12202
12240
  profilesHere,
12241
+ count2 as count,
12203
12242
  NONE_NAMED,
12204
12243
  namedProfile,
12205
12244
  NoProfileHere,
@@ -12234,6 +12273,7 @@ export {
12234
12273
  writesOwnerFiles,
12235
12274
  fetchesOnly,
12236
12275
  fetchesOnlyAt,
12276
+ writesNewFileOnlyWith,
12237
12277
  fileOptionOf,
12238
12278
  readsOverMcpAt,
12239
12279
  isStoreChange,
@@ -12295,6 +12335,8 @@ export {
12295
12335
  runMarkOf,
12296
12336
  marked,
12297
12337
  withUntrustedMarked,
12338
+ CHAT_UNTRUSTED,
12339
+ CONTACT_UNTRUSTED,
12298
12340
  marksUntrusted,
12299
12341
  answerSchema,
12300
12342
  listOf,