@maycombhq/atticus 2.0.0-beta.2 → 2.0.0-beta.22

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 (284) hide show
  1. package/dist/bin.js +8 -4
  2. package/dist/chunk-23XVSEV5.js +49 -0
  3. package/dist/{chunk-ZDPAS56H.js → chunk-24OXGB3P.js} +8 -2
  4. package/dist/{chunk-7EOBHUMC.js → chunk-24XLDU72.js} +4 -3
  5. package/dist/{chunk-CR3MTH32.js → chunk-2F4CYZKJ.js} +86 -11
  6. package/dist/{chunk-6IU67AEK.js → chunk-2GF7OLF3.js} +23 -15
  7. package/dist/chunk-2IIMFOPM.js +41 -0
  8. package/dist/chunk-2LGRMVCA.js +617 -0
  9. package/dist/{chunk-XPCM366L.js → chunk-2MMCFP5C.js} +10 -8
  10. package/dist/{chunk-JBTK5OP2.js → chunk-2Q56PQPS.js} +6 -4
  11. package/dist/{chunk-Z6LF7HQN.js → chunk-2Q5EDGEO.js} +7 -5
  12. package/dist/{chunk-3USYZGRF.js → chunk-2RLKFUUL.js} +38 -27
  13. package/dist/chunk-2SKB4O2E.js +59 -0
  14. package/dist/{chunk-SP2I63OO.js → chunk-34S2WGOB.js} +87 -4
  15. package/dist/{chunk-GQ4N4WKF.js → chunk-3NFFJL5D.js} +33 -27
  16. package/dist/{chunk-SJRGMG6A.js → chunk-3NWDLGG6.js} +28 -25
  17. package/dist/{chunk-4WBVUHXN.js → chunk-3RM4UK6W.js} +20 -18
  18. package/dist/chunk-42SIDKEU.js +583 -0
  19. package/dist/{chunk-GLUX4EEP.js → chunk-4EURQWQD.js} +20 -15
  20. package/dist/chunk-4U276ICE.js +39 -0
  21. package/dist/{chunk-ZMFPW66A.js → chunk-53T4O55J.js} +4 -3
  22. package/dist/{chunk-6J5OKA4Y.js → chunk-57TDNMI3.js} +17 -15
  23. package/dist/chunk-5BD2KYLE.js +57 -0
  24. package/dist/{chunk-7EFILTCI.js → chunk-5F7GFN2F.js} +28 -0
  25. package/dist/chunk-5NMKONLP.js +95 -0
  26. package/dist/{chunk-7ZUIMTOU.js → chunk-5SJZW52K.js} +26 -24
  27. package/dist/{chunk-4RS5KZQD.js → chunk-63YRMR6J.js} +6 -5
  28. package/dist/chunk-66PPNOON.js +62 -0
  29. package/dist/chunk-6H3Z5JHH.js +64 -0
  30. package/dist/{chunk-CEXSU4S6.js → chunk-6MUGR4LS.js} +775 -89
  31. package/dist/{chunk-QSXK2RGH.js → chunk-6OJQOPUN.js} +5 -3
  32. package/dist/{chunk-MVZVGYXH.js → chunk-6PPOWY5E.js} +84 -14
  33. package/dist/{chunk-7EKXJZ2Y.js → chunk-6ZGLAACW.js} +299 -38
  34. package/dist/chunk-6ZJ5A7AF.js +222 -0
  35. package/dist/{chunk-L24C55VN.js → chunk-745DAZ4L.js} +142 -30
  36. package/dist/{chunk-Q4D5X7QB.js → chunk-7ASNL4Q4.js} +46 -24
  37. package/dist/chunk-7BR7IPOH.js +35 -0
  38. package/dist/{chunk-7WD63HU2.js → chunk-7DOR27HL.js} +6 -6
  39. package/dist/chunk-7FTTA3HD.js +341 -0
  40. package/dist/{chunk-OLQJTJJU.js → chunk-7GJS6DNX.js} +12 -3
  41. package/dist/{chunk-7JUKDRSZ.js → chunk-7IGKHZ4Z.js} +347 -226
  42. package/dist/{chunk-G2B4ZQGH.js → chunk-7IOWA5D5.js} +11 -6
  43. package/dist/{chunk-EBEW3XXQ.js → chunk-7JITZFJC.js} +7 -5
  44. package/dist/chunk-7MJSQTL5.js +174 -0
  45. package/dist/{chunk-I4JRCD6M.js → chunk-7UOMVMFG.js} +25 -17
  46. package/dist/{chunk-YY6ZQQBP.js → chunk-AFWUDXEM.js} +19 -7
  47. package/dist/chunk-AFZ3QA6W.js +47 -0
  48. package/dist/chunk-AJQ72EBM.js +420 -0
  49. package/dist/chunk-AJYXNTNZ.js +317 -0
  50. package/dist/chunk-AVTBS4OW.js +49 -0
  51. package/dist/{chunk-FHH4I4ZV.js → chunk-BDKC6H5P.js} +12 -6
  52. package/dist/{chunk-IPKHE5D6.js → chunk-BEVTIBRH.js} +1526 -875
  53. package/dist/chunk-BHT7QK4G.js +162 -0
  54. package/dist/{chunk-6JUBZBMW.js → chunk-BIGDQDHD.js} +6 -4
  55. package/dist/{chunk-2BFCZ3RK.js → chunk-BO4KX37X.js} +20 -18
  56. package/dist/chunk-BPK5P77O.js +115 -0
  57. package/dist/chunk-BQ4SQQC6.js +59 -0
  58. package/dist/chunk-BQGDB6ZL.js +7342 -0
  59. package/dist/{chunk-2ANOROX3.js → chunk-BTGPE6CR.js} +11 -9
  60. package/dist/chunk-BTY3HZBO.js +93 -0
  61. package/dist/{chunk-DPZHZQKE.js → chunk-BXYMYEJ4.js} +44 -10
  62. package/dist/{chunk-2RMYG36Q.js → chunk-C3RY6KU6.js} +309 -346
  63. package/dist/chunk-C4R4JLHE.js +40 -0
  64. package/dist/chunk-CADWLE2T.js +18 -0
  65. package/dist/chunk-CBGGOQWU.js +82 -0
  66. package/dist/chunk-CMDXGQTS.js +47 -0
  67. package/dist/{chunk-MC3H7736.js → chunk-CQDGOPGH.js} +58 -18
  68. package/dist/{chunk-HFQCFSJR.js → chunk-CX4RZ2KS.js} +4 -3
  69. package/dist/{chunk-PAMPPUR6.js → chunk-CXJ6FUKN.js} +1852 -207
  70. package/dist/{chunk-ABWHYWNI.js → chunk-D73UEXYW.js} +3 -3
  71. package/dist/chunk-DCZWQLYT.js +1205 -0
  72. package/dist/chunk-DLOBCJL6.js +48 -0
  73. package/dist/{chunk-4BN53TG3.js → chunk-DOBQKHIF.js} +31 -23
  74. package/dist/chunk-E3ISYXO3.js +423 -0
  75. package/dist/{chunk-7SW2QWLU.js → chunk-E6ZIEVOI.js} +16 -13
  76. package/dist/chunk-EBL2R3YG.js +43 -0
  77. package/dist/{chunk-AIOQPLA5.js → chunk-EGQRREQH.js} +41 -15
  78. package/dist/chunk-EHA7RMZ3.js +58 -0
  79. package/dist/{chunk-M766ZJ6W.js → chunk-EIPTLPFC.js} +38 -27
  80. package/dist/chunk-EMRIQUND.js +517 -0
  81. package/dist/{chunk-DFBCSHVT.js → chunk-EPCJQQWD.js} +6 -4
  82. package/dist/{chunk-RZPYKDWS.js → chunk-F3P7N7SF.js} +1 -1
  83. package/dist/{chunk-R77KLRB3.js → chunk-FFLNS6VP.js} +21 -18
  84. package/dist/chunk-FFTRTL6R.js +26 -0
  85. package/dist/{chunk-IHMLFRVV.js → chunk-FPJPLKDW.js} +62 -16
  86. package/dist/{chunk-JCZIKA4C.js → chunk-FSMSFDLD.js} +5 -4
  87. package/dist/{chunk-AVJDSJ2F.js → chunk-FUJM6RTF.js} +8 -7
  88. package/dist/chunk-FZOJFH7Q.js +132 -0
  89. package/dist/{chunk-QRAOANID.js → chunk-G6X77UJZ.js} +23 -21
  90. package/dist/{chunk-3ALD2W2A.js → chunk-GCWRWSU7.js} +10 -4
  91. package/dist/chunk-GIW4ZVDB.js +39 -0
  92. package/dist/{chunk-B2WLAWNJ.js → chunk-GUX3PTYM.js} +3 -3
  93. package/dist/{chunk-DPUYDDQG.js → chunk-GZY6RUZ6.js} +25 -3
  94. package/dist/chunk-H4VO6WG3.js +10 -0
  95. package/dist/{chunk-MMOSZPWJ.js → chunk-H5HBGNXU.js} +5 -4
  96. package/dist/chunk-H7KM7LZE.js +229 -0
  97. package/dist/{chunk-AA6YULYB.js → chunk-HNM2YQT2.js} +7 -7
  98. package/dist/{chunk-3C7EYRFZ.js → chunk-HYU5VLGA.js} +1 -1
  99. package/dist/{chunk-XY3P7JW7.js → chunk-IDKCWSM5.js} +1032 -172
  100. package/dist/chunk-IFKEI4SA.js +237 -0
  101. package/dist/{chunk-F7HYOUFF.js → chunk-IGOE6KPG.js} +67 -22
  102. package/dist/{chunk-TDD55CJH.js → chunk-IH2XURVQ.js} +6 -5
  103. package/dist/chunk-INQHESFB.js +38 -0
  104. package/dist/chunk-IP74LCOQ.js +57 -0
  105. package/dist/chunk-IPHHDDC6.js +45 -0
  106. package/dist/{chunk-T6AIP7H5.js → chunk-ISUAAMGS.js} +110 -153
  107. package/dist/{chunk-A7UPUQFY.js → chunk-IUPG3UKI.js} +624 -319
  108. package/dist/{chunk-L6SGQIR3.js → chunk-IVBOQAGB.js} +7 -3
  109. package/dist/{chunk-27NKUS3X.js → chunk-J2JAKCIW.js} +2205 -796
  110. package/dist/{chunk-V2YTAIQO.js → chunk-J3IOLXWM.js} +24 -7
  111. package/dist/chunk-JA5FI3QV.js +142 -0
  112. package/dist/chunk-JAVI7JSP.js +49 -0
  113. package/dist/{chunk-HLJAXMM4.js → chunk-JB5LINEM.js} +6 -2
  114. package/dist/{chunk-2VHF7OXM.js → chunk-JENSEMXF.js} +1 -1
  115. package/dist/{chunk-6BVONWJ7.js → chunk-JJF6HALY.js} +4 -3
  116. package/dist/chunk-JLUCKAEL.js +38 -0
  117. package/dist/chunk-JRBFANFE.js +221 -0
  118. package/dist/{chunk-R6XF6UR3.js → chunk-KDNTAPLX.js} +4 -4
  119. package/dist/chunk-KFAVQZSX.js +33 -0
  120. package/dist/chunk-KJXD4PNL.js +50 -0
  121. package/dist/chunk-KN5BXMWN.js +44 -0
  122. package/dist/{chunk-PCVDV3UZ.js → chunk-KQGURXFU.js} +9 -7
  123. package/dist/{chunk-WY6PP6AA.js → chunk-KXITGYLF.js} +40 -6
  124. package/dist/{chunk-66YVAGGM.js → chunk-L27SV425.js} +22 -20
  125. package/dist/{chunk-NE2W3OO7.js → chunk-LDLL7LB3.js} +24 -22
  126. package/dist/chunk-LFGTYX5U.js +379 -0
  127. package/dist/{chunk-EYWIDJFU.js → chunk-LGBMTVNT.js} +7 -5
  128. package/dist/{chunk-Q5AMFEWD.js → chunk-LGFL54FP.js} +3 -2
  129. package/dist/{chunk-6TACQN3N.js → chunk-LJXMYKZJ.js} +7 -5
  130. package/dist/{chunk-BKVWTZ6A.js → chunk-LKOR5UET.js} +29 -26
  131. package/dist/chunk-LNBQOP7D.js +294 -0
  132. package/dist/{chunk-O3WI5KWW.js → chunk-LO6P2VYG.js} +2 -2
  133. package/dist/chunk-LQJPN536.js +122 -0
  134. package/dist/{chunk-YEDDOYSC.js → chunk-LYBNHMVZ.js} +29 -5
  135. package/dist/{chunk-A3GY6SOA.js → chunk-LZ7NUC62.js} +20 -18
  136. package/dist/chunk-M32BLWDH.js +37 -0
  137. package/dist/{chunk-VYDBJ73M.js → chunk-M3NANSDZ.js} +17 -15
  138. package/dist/chunk-MFHL5URL.js +31 -0
  139. package/dist/chunk-MFR5OPBD.js +109 -0
  140. package/dist/{chunk-DE76JROX.js → chunk-MG4ZL5RW.js} +32 -20
  141. package/dist/{chunk-N7IXEHK3.js → chunk-MO6P2JZH.js} +10 -8
  142. package/dist/{chunk-65NYPGRC.js → chunk-MUWDB4R4.js} +1 -1
  143. package/dist/chunk-MZCGSXVR.js +34 -0
  144. package/dist/{chunk-MGYZM27B.js → chunk-N3XIYPU3.js} +51 -23
  145. package/dist/chunk-NDCF4R6S.js +172 -0
  146. package/dist/{chunk-DHPACDG7.js → chunk-NR2UJWOC.js} +10 -8
  147. package/dist/chunk-NXJ5URP6.js +51 -0
  148. package/dist/{chunk-UNM6ZOKP.js → chunk-NY2XSR5K.js} +147 -18
  149. package/dist/{chunk-5GDRCDQB.js → chunk-O45HFTFS.js} +3 -2
  150. package/dist/{chunk-ONLS5QA5.js → chunk-O4GXGGBX.js} +14 -12
  151. package/dist/chunk-O5PXQR67.js +249 -0
  152. package/dist/{chunk-PRPPGYZG.js → chunk-O66DM6DJ.js} +6 -4
  153. package/dist/{chunk-KEM4SDDP.js → chunk-O7FDLW7L.js} +11 -8
  154. package/dist/{chunk-T2UYZSCQ.js → chunk-O7XLYEFA.js} +169 -29
  155. package/dist/{chunk-FITWGOJ2.js → chunk-OHNCWBKF.js} +4 -4
  156. package/dist/{chunk-652QWTLZ.js → chunk-OHVTTOPS.js} +3 -3
  157. package/dist/chunk-OMI6FPPN.js +43 -0
  158. package/dist/chunk-ONUPY3H6.js +53 -0
  159. package/dist/chunk-OTLDSZDV.js +69 -0
  160. package/dist/chunk-OUBGGKDU.js +22 -0
  161. package/dist/chunk-OWNCM4ZN.js +330 -0
  162. package/dist/{chunk-YISXLPHN.js → chunk-P2V7QW4D.js} +235 -35
  163. package/dist/{chunk-CNUKCS2T.js → chunk-P32RUW3B.js} +1632 -93
  164. package/dist/{chunk-BWZ77RQT.js → chunk-PAQ2AS5E.js} +1 -1
  165. package/dist/{chunk-ZMAINWBW.js → chunk-PBPBMP2B.js} +4 -3
  166. package/dist/{chunk-ZVM6AKKM.js → chunk-PJSJPMJI.js} +3 -3
  167. package/dist/{chunk-EFHQ3TWP.js → chunk-PKBHS4AA.js} +233 -56
  168. package/dist/{chunk-GT4I4ZWM.js → chunk-PMUAJGLI.js} +20 -16
  169. package/dist/chunk-PPD7HTDP.js +152 -0
  170. package/dist/chunk-PSOFBQWB.js +42 -0
  171. package/dist/{chunk-S2A7YC3Q.js → chunk-Q2TECDIT.js} +10694 -8896
  172. package/dist/chunk-Q4K5WB2W.js +42 -0
  173. package/dist/{chunk-UGLN7QHV.js → chunk-Q6DFNVRJ.js} +14 -12
  174. package/dist/chunk-QA4O2GGC.js +265 -0
  175. package/dist/chunk-QAXW2N3B.js +1216 -0
  176. package/dist/chunk-QBNWF5ZU.js +19 -0
  177. package/dist/chunk-QFWA2DPH.js +224 -0
  178. package/dist/{chunk-23W7VWKR.js → chunk-QKUJMING.js} +1363 -114
  179. package/dist/{chunk-NXFPS2LR.js → chunk-R44CYFPV.js} +16 -13
  180. package/dist/{chunk-CKSITVS4.js → chunk-R7NYHMUU.js} +2687 -786
  181. package/dist/chunk-REWWDVQB.js +162 -0
  182. package/dist/{chunk-JMSCMUCA.js → chunk-RGERPOIV.js} +145 -21
  183. package/dist/{chunk-6JCPI55B.js → chunk-RLDGWLQ7.js} +49 -7
  184. package/dist/chunk-RUGXBPWI.js +384 -0
  185. package/dist/{chunk-CPA6HPVR.js → chunk-RXPJMEOW.js} +18 -12
  186. package/dist/{chunk-3HI6Z55Y.js → chunk-S4PMJU6H.js} +339 -43
  187. package/dist/chunk-S5LSDXV4.js +40 -0
  188. package/dist/chunk-S7FCV7S5.js +51 -0
  189. package/dist/{chunk-5GGOLAKC.js → chunk-SDKLKB6I.js} +28 -26
  190. package/dist/chunk-SFSPGFCV.js +62 -0
  191. package/dist/{chunk-ZNCEKR4J.js → chunk-SFUP7TTO.js} +12 -8
  192. package/dist/{chunk-64EQYWCA.js → chunk-SLXZOMA6.js} +69 -19
  193. package/dist/chunk-SQV37XO2.js +273 -0
  194. package/dist/{chunk-K65BJIMT.js → chunk-SU74NDMQ.js} +19 -17
  195. package/dist/chunk-SYV5LHML.js +165 -0
  196. package/dist/chunk-T4YPZIQN.js +36 -0
  197. package/dist/chunk-T6DQR5TV.js +323 -0
  198. package/dist/{chunk-JIITQXFB.js → chunk-THDMSZ3R.js} +3075 -802
  199. package/dist/{chunk-JGZCG5VM.js → chunk-TNR75OXT.js} +7 -7
  200. package/dist/{chunk-D3PO4DOZ.js → chunk-TUULXQRW.js} +174 -15
  201. package/dist/chunk-TYQBFTBR.js +516 -0
  202. package/dist/chunk-U76OWS3Q.js +49 -0
  203. package/dist/{chunk-YYQN46FY.js → chunk-UCROWG2D.js} +27 -24
  204. package/dist/{chunk-6M5NK3K3.js → chunk-UF4AZOZB.js} +50 -10
  205. package/dist/chunk-UF4GLFBX.js +345 -0
  206. package/dist/{chunk-OT2O76OS.js → chunk-UGUP3ZM6.js} +240 -39
  207. package/dist/chunk-UNAGJYET.js +45 -0
  208. package/dist/{chunk-5WG5YP4T.js → chunk-UOR2DTHH.js} +16 -14
  209. package/dist/{chunk-S3QNRWYR.js → chunk-UPOY4YSQ.js} +14 -12
  210. package/dist/{chunk-EPTBZ3GP.js → chunk-UPS2DGFC.js} +1 -1
  211. package/dist/{chunk-4AK7IBVP.js → chunk-UUU4CLJG.js} +4 -2
  212. package/dist/{chunk-W3BQAZ3Q.js → chunk-UWMJKX5U.js} +14 -12
  213. package/dist/{chunk-QZSX3F7C.js → chunk-UWOJLHFT.js} +27 -23
  214. package/dist/chunk-VBTP56CE.js +535 -0
  215. package/dist/chunk-VCTWPLAO.js +211 -0
  216. package/dist/chunk-VNU26RCO.js +1215 -0
  217. package/dist/{chunk-CSZ4C5N6.js → chunk-VTZMAJ3W.js} +93 -10
  218. package/dist/{chunk-TXLH6WHQ.js → chunk-VW62D6QE.js} +14 -12
  219. package/dist/{chunk-CAQZUNOH.js → chunk-VY72R2XZ.js} +610 -3
  220. package/dist/{chunk-2DIQQJCB.js → chunk-VZALIKIF.js} +18 -15
  221. package/dist/{chunk-TYAID7B7.js → chunk-W62H2XSO.js} +25 -23
  222. package/dist/{chunk-HVUPKCGJ.js → chunk-W7VWI2YH.js} +9 -6
  223. package/dist/{chunk-TANFV3MZ.js → chunk-WERM6KPJ.js} +7 -4
  224. package/dist/{chunk-BOHJZTEQ.js → chunk-WF7B67YE.js} +208 -87
  225. package/dist/{chunk-7FBGJFEE.js → chunk-WG5U3F5V.js} +14 -12
  226. package/dist/{chunk-4NDAAFQT.js → chunk-WJF2CS6M.js} +8 -5
  227. package/dist/{chunk-XAKWMCXI.js → chunk-WKUJ3KPV.js} +4 -4
  228. package/dist/chunk-WMTRHUI5.js +103 -0
  229. package/dist/chunk-WNKPRSGI.js +36 -0
  230. package/dist/chunk-WXFLMQSR.js +223 -0
  231. package/dist/{chunk-RRTKKSLQ.js → chunk-X3WY6MN3.js} +8 -6
  232. package/dist/{chunk-ZCJDOK2S.js → chunk-X4CXA2IL.js} +47 -23
  233. package/dist/{chunk-UBBC2XSG.js → chunk-X5F3Q5LV.js} +560 -105
  234. package/dist/{chunk-C6EKFH7J.js → chunk-XD75VZIH.js} +9 -7
  235. package/dist/chunk-XERYFDB5.js +297 -0
  236. package/dist/chunk-XI2LCCYQ.js +420 -0
  237. package/dist/chunk-Y2EQNWKV.js +933 -0
  238. package/dist/{chunk-LR3R6Z2A.js → chunk-YHCMZC2J.js} +7 -7
  239. package/dist/chunk-YYY3AZFE.js +122 -0
  240. package/dist/{chunk-GDLULHTC.js → chunk-Z5IA3WDR.js} +19 -31
  241. package/dist/{chunk-T6XQL73F.js → chunk-ZFFYNRIO.js} +63 -23
  242. package/dist/{chunk-EDS2L2LD.js → chunk-ZFL7NY4F.js} +56 -27
  243. package/dist/{chunk-YMZ3TNYB.js → chunk-ZGULQAPZ.js} +7 -4
  244. package/dist/{chunk-4SKZDI62.js → chunk-ZIUFM5HT.js} +3 -1
  245. package/dist/{chunk-DKJA76CJ.js → chunk-ZJFRMSJT.js} +15 -13
  246. package/dist/chunk-ZJXLNDH4.js +239 -0
  247. package/dist/chunk-ZQ3ON2VQ.js +252 -0
  248. package/dist/{chunk-HITVBIJS.js → chunk-ZQ7SKESZ.js} +150 -415
  249. package/dist/{chunk-6QSERWXH.js → chunk-ZQXZ2SES.js} +24 -21
  250. package/dist/chunk-ZX57KSEQ.js +39 -0
  251. package/dist/{chunk-I3E7CX4H.js → chunk-ZZK56BLP.js} +5 -3
  252. package/dist/files.json +664 -368
  253. package/dist/packages/naysayer/constitution/constitution.yaml +19 -0
  254. package/dist/packages/sdk/npm/index.js +6194 -2542
  255. package/dist/packages/ui/dist/assets/{elk-api-tma0MCuh.js → elk-api-CIf-0gz5.js} +2 -2
  256. package/dist/packages/ui/dist/assets/index-CoK_Dl0D.js +47 -0
  257. package/dist/packages/ui/dist/assets/index-Dw20IRhQ.css +1 -0
  258. package/dist/packages/ui/dist/index.html +3 -2
  259. package/package.json +5 -5
  260. package/dist/chunk-2BF2EYJV.js +0 -174
  261. package/dist/chunk-42EVSKME.js +0 -37
  262. package/dist/chunk-4BKGMUIK.js +0 -53
  263. package/dist/chunk-5KLGBXG5.js +0 -48
  264. package/dist/chunk-6BNC6EQ4.js +0 -41
  265. package/dist/chunk-6D2CQ5II.js +0 -41
  266. package/dist/chunk-7AVHLZGD.js +0 -45
  267. package/dist/chunk-D46WUV3T.js +0 -33
  268. package/dist/chunk-E36QOJMD.js +0 -47
  269. package/dist/chunk-FQXYPF7E.js +0 -147
  270. package/dist/chunk-GBRFVT63.js +0 -45
  271. package/dist/chunk-ICY36XCH.js +0 -34
  272. package/dist/chunk-J4K3KVLD.js +0 -131
  273. package/dist/chunk-JZU3H6UQ.js +0 -54
  274. package/dist/chunk-NN2ZQEB4.js +0 -38
  275. package/dist/chunk-PCOCACY3.js +0 -385
  276. package/dist/chunk-RTEYOSJY.js +0 -29
  277. package/dist/chunk-RUVFXE2L.js +0 -666
  278. package/dist/chunk-RVH5SUW5.js +0 -69
  279. package/dist/chunk-VN3DP4LQ.js +0 -43
  280. package/dist/chunk-W5BVQF44.js +0 -36
  281. package/dist/chunk-WVPJSRRJ.js +0 -52
  282. package/dist/chunk-XPTOBS2D.js +0 -48
  283. package/dist/packages/ui/dist/assets/index-B54fm9FQ.js +0 -29
  284. package/dist/packages/ui/dist/assets/index-DD_hufQz.css +0 -1
@@ -0,0 +1,317 @@
1
+ import { createRequire as __atticusCreateRequire } from "node:module";
2
+ import { fileURLToPath as __atticusFileURLToPath } from "node:url";
3
+ var require = __atticusCreateRequire(import.meta.url);
4
+ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
5
+ var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
6
+ import {
7
+ HttpError,
8
+ badRequest,
9
+ notFound
10
+ } from "./chunk-C3RY6KU6.js";
11
+ import {
12
+ appendLines
13
+ } from "./chunk-S7FCV7S5.js";
14
+ import {
15
+ readCorrections
16
+ } from "./chunk-2F4CYZKJ.js";
17
+ import {
18
+ applyCorrections,
19
+ correctedFact,
20
+ correctionFor,
21
+ outsidePairingFor,
22
+ repairFormSlips
23
+ } from "./chunk-CXJ6FUKN.js";
24
+ import {
25
+ FACT_FIXED_FIELDS,
26
+ FactCorrection,
27
+ FactId,
28
+ api_exports,
29
+ correctionLine,
30
+ factsDirOf,
31
+ factsRelOf,
32
+ listQuestions,
33
+ parseAuditFile,
34
+ parseFactsLines,
35
+ questionsDirOf,
36
+ sampleConfirmed
37
+ } from "./chunk-Q2TECDIT.js";
38
+
39
+ // packages/cli/dist/ui-api-facts.js
40
+ import { mkdir, readFile } from "node:fs/promises";
41
+
42
+ // packages/cli/dist/file-memo.js
43
+ import { readdir, stat } from "node:fs/promises";
44
+ import { join } from "node:path";
45
+ var kept = /* @__PURE__ */ new Map();
46
+ async function stampOf(paths) {
47
+ const parts = await Promise.all(paths.map((p) => stat(p).then((s) => `${s.size}:${s.mtimeMs}`, () => "-")));
48
+ return parts.join("|");
49
+ }
50
+ var asking = /* @__PURE__ */ new Map();
51
+ function memoByFiles(key, paths, work, o = {}) {
52
+ const on = asking.get(key);
53
+ if (on)
54
+ return on;
55
+ const p = memoOnce(key, paths, work, o).finally(() => {
56
+ if (asking.get(key) === p)
57
+ asking.delete(key);
58
+ });
59
+ asking.set(key, p);
60
+ return p;
61
+ }
62
+ async function memoOnce(key, paths, work, o) {
63
+ const hit = kept.get(key);
64
+ if (hit && o.recheckAfterMs && Date.now() - hit.checked < o.recheckAfterMs)
65
+ return hit.value;
66
+ const stamp = await stampOf(typeof paths === "function" ? await paths() : paths);
67
+ if (hit && hit.stamp === stamp) {
68
+ hit.checked = Date.now();
69
+ return hit.value;
70
+ }
71
+ const value = work();
72
+ kept.set(key, { stamp, value, checked: Date.now() });
73
+ value.catch(() => {
74
+ if (kept.get(key)?.value === value)
75
+ kept.delete(key);
76
+ });
77
+ return value;
78
+ }
79
+ async function filesIn(dir) {
80
+ const names = await readdir(dir).catch(() => []);
81
+ return [dir, ...names.sort().map((n) => join(dir, n))];
82
+ }
83
+ async function filesUnder(dir) {
84
+ const out = [dir];
85
+ const entries = await readdir(dir, { withFileTypes: true }).catch(() => []);
86
+ for (const e of entries.sort((a, b) => a.name < b.name ? -1 : 1)) {
87
+ const p = join(dir, e.name);
88
+ if (e.isDirectory())
89
+ out.push(...await filesUnder(p));
90
+ else
91
+ out.push(p);
92
+ }
93
+ return out;
94
+ }
95
+ function recheckNow(key) {
96
+ const hit = kept.get(key);
97
+ if (hit)
98
+ hit.checked = 0;
99
+ }
100
+
101
+ // packages/cli/dist/ui-api-facts.js
102
+ import { join as join2 } from "node:path";
103
+ var REPO = /^[a-z0-9][a-z0-9._-]{0,99}$/i;
104
+ var fixed = new Set(FACT_FIXED_FIELDS);
105
+ function factLabel(f) {
106
+ switch (f.kind) {
107
+ case "entry":
108
+ return `${f.method ? `${f.method} ` : ""}${f.path}`;
109
+ case "call":
110
+ return `${f.method ? `${f.method} ` : ""}${f.path}${f.to ? ` \u2192 ${f.to}` : ""}`;
111
+ case "store":
112
+ return `${f.name} (${f.op})`;
113
+ case "field":
114
+ return `${f.name}${f.type ? `: ${f.type}` : ""}`;
115
+ case "deploy":
116
+ return `${f.platform}${f.resourceName ? ` ${f.resourceName}` : ""}`;
117
+ case "config":
118
+ return `${f.key}${f.value !== void 0 ? ` = ${f.value}` : ""}`;
119
+ // ADR 0124 addendum A-framework: what the repo or the module is built on.
120
+ case "framework":
121
+ return `${f.name}${f.version ? ` ${f.version}` : ""}`;
122
+ case "flow":
123
+ return f.name;
124
+ // ADR 0163: a term of the organisation's, with the role a note gave it.
125
+ case "term":
126
+ return `${f.term} ${f.value} (${f.role})`;
127
+ // ADR 0180: what a component is.
128
+ case "component":
129
+ return `${f.component ?? f.repo} is a ${f.type}`;
130
+ }
131
+ }
132
+ function claimOf(f) {
133
+ const out = {};
134
+ for (const [k, v] of Object.entries(f))
135
+ if (!fixed.has(k) && typeof v === "string")
136
+ out[k] = v;
137
+ out.value = f.cite.value;
138
+ return out;
139
+ }
140
+ var spot = (c) => ({
141
+ file: c.file,
142
+ line: c.line,
143
+ value: c.value,
144
+ ...c.quote ? { quote: c.quote } : {}
145
+ });
146
+ async function readFacts(root, repo) {
147
+ const file = `${factsRelOf(root)}/${repo}.jsonl`;
148
+ const text = await readFile(join2(factsDirOf(root), `${repo}.jsonl`), "utf8").catch(() => void 0);
149
+ if (text === void 0)
150
+ return { file, present: false, facts: [], bad: [] };
151
+ const read = parseFactsLines(text);
152
+ const p = repairFormSlips(read.facts, read.bad);
153
+ return {
154
+ file,
155
+ present: true,
156
+ facts: p.facts,
157
+ bad: [
158
+ ...p.slips.map((x) => ({
159
+ file,
160
+ message: `slip of form fixed as read (a note; atticus verify ${repo} writes the fix into the facts file): ${x.message}`
161
+ })),
162
+ ...p.bad.map((b) => ({
163
+ file,
164
+ message: `line ${b.line} isn't a fact: ${b.issues.map((i) => i.message).join("; ")}`
165
+ }))
166
+ ]
167
+ };
168
+ }
169
+ async function repoFactsView(root, repo) {
170
+ const dir = factsDirOf(root);
171
+ return memoByFiles(`facts-view\0${root}\0${repo}`, [
172
+ ...[`${repo}.jsonl`, `${repo}.corrections.jsonl`, `${repo}.audit.yaml`].map((f) => join2(dir, f)),
173
+ // Its open questions are part of the view.
174
+ ...await filesIn(questionsDirOf(root))
175
+ ], () => repoFactsViewNow(root, repo));
176
+ }
177
+ async function repoFactsViewNow(root, repo) {
178
+ const f = await readFacts(root, repo);
179
+ const cFile = `${factsRelOf(root)}/${repo}.corrections.jsonl`;
180
+ const c = await readCorrections(root, repo);
181
+ const problems = [
182
+ ...f.bad,
183
+ ...c.bad.map((b) => ({
184
+ file: cFile,
185
+ message: `line ${b.line} isn't a correction: ${b.message}`
186
+ }))
187
+ ];
188
+ const auditText = await readFile(join2(factsDirOf(root), `${repo}.audit.yaml`), "utf8").catch(() => void 0);
189
+ const audit = auditText === void 0 ? void 0 : parseAuditFile(auditText);
190
+ const sampled = sampleConfirmed(audit?.ok ? audit.file : void 0, f.facts);
191
+ if (audit && !audit.ok)
192
+ problems.push({
193
+ file: `${factsRelOf(root)}/${repo}.audit.yaml`,
194
+ message: `isn't an audit file: ${audit.issues[0] ?? "invalid"}`
195
+ });
196
+ const facts = f.facts.map((x) => {
197
+ const corr = correctionFor(x, c.corrections) ?? outsidePairingFor(x, c.corrections);
198
+ return {
199
+ id: x.id,
200
+ kind: x.kind,
201
+ label: factLabel(x),
202
+ claim: claimOf(x),
203
+ cite: spot(x.cite),
204
+ ...x.kind === "flow" ? {
205
+ steps: [
206
+ ...x.steps.map((s) => ({ ...spot(s.cite), what: s.what })),
207
+ ...x.errors.map((e) => ({ ...spot(e.cite), what: `${e.when} \u2192 ${e.then}` }))
208
+ ]
209
+ } : {},
210
+ verified: x.verified === "line" && sampled.has(x.id) ? "sample" : x.verified,
211
+ by: x.by,
212
+ ...corr ? { correction: corr } : {}
213
+ };
214
+ });
215
+ const staleAll = applyCorrections(f.facts, c.corrections).stale;
216
+ const stale = staleAll.filter((s) => s.why === "none").map((s) => s.correction.fact);
217
+ for (const s of staleAll)
218
+ if (s.why === "invalid")
219
+ problems.push({ file: cFile, message: s.message });
220
+ const questions = await listQuestions(root, { repo, state: "open" }).then((l) => l.questions.map((q) => ({ id: q.id, question: q.question, evidence: q.evidence })), () => []);
221
+ return {
222
+ repo,
223
+ file: f.file,
224
+ present: f.present,
225
+ ...f.facts[0] ? { commit: f.facts[0].commit } : {},
226
+ facts,
227
+ corrections: { file: cFile, count: c.corrections.length, stale: [...new Set(stale)].sort() },
228
+ questions,
229
+ verify: `atticus verify ${repo}`,
230
+ problems
231
+ };
232
+ }
233
+ var repoOf = (v) => {
234
+ if (!REPO.test(v))
235
+ throw badRequest(`${JSON.stringify(v)} isn't a repo name.`);
236
+ return v;
237
+ };
238
+ function uiFactsRoutes(r, ctx, deps = {}) {
239
+ const now = deps.now ?? (() => /* @__PURE__ */ new Date());
240
+ return r.add("GET", "/api/facts/{repo}", async ({ params }) => ({
241
+ status: 200,
242
+ body: await repoFactsView(ctx.root, repoOf(params.repo))
243
+ })).add("GET", "/api/facts/{repo}/preview", async ({ params, query }) => {
244
+ const repo = repoOf(params.repo);
245
+ const fact = query.get("fact") || void 0;
246
+ if (fact && !FactId.safeParse(fact).success)
247
+ throw badRequest(`${JSON.stringify(fact)} isn't a fact id.`);
248
+ const { verifyWritePreview } = await import("./chunk-XERYFDB5.js");
249
+ const v = await verifyWritePreview(ctx.root, repo, fact ? { fact } : {});
250
+ if (!v)
251
+ throw notFound(`There are no facts for ${repo} at ${factsRelOf(ctx.root)}/${repo}.jsonl.`);
252
+ return { status: 200, body: v };
253
+ }).add("POST", "/api/facts/{repo}/corrections", async ({ params, body }) => {
254
+ const repo = repoOf(params.repo);
255
+ const b = api_exports.FactCorrectionRequest.safeParse(body ?? {});
256
+ if (!b.success)
257
+ throw badRequest("Say which fact and what is wrong: { fact, action, set, line, reason }.", {
258
+ errors: b.error.issues.map((i) => ({ path: i.path.join("."), message: i.message }))
259
+ });
260
+ const f = await readFacts(ctx.root, repo);
261
+ if (!f.present)
262
+ throw notFound(`There are no facts for ${repo} at ${f.file}.`);
263
+ const fact = f.facts.find((x) => x.id === b.data.fact);
264
+ if (!fact)
265
+ throw notFound(`${f.file} has no fact ${b.data.fact}.`);
266
+ const was = claimOf(fact);
267
+ const set = Object.fromEntries(Object.entries(b.data.set ?? {}).map(([k, v]) => [k, v.trim()]).filter(([k, v]) => was[k] !== v));
268
+ const line = b.data.line !== void 0 && b.data.line !== fact.cite.line ? b.data.line : void 0;
269
+ const c = FactCorrection.safeParse({
270
+ schemaVersion: 1,
271
+ fact: fact.id,
272
+ target: {
273
+ kind: fact.kind,
274
+ file: fact.cite.file,
275
+ line: fact.cite.line,
276
+ value: fact.cite.value
277
+ },
278
+ action: b.data.action,
279
+ ...b.data.action === "edit" && Object.keys(set).length ? { set } : {},
280
+ ...b.data.action === "edit" && line !== void 0 ? { line } : {},
281
+ ...b.data.reason ? { reason: b.data.reason } : {},
282
+ by: ctx.user,
283
+ at: now().toISOString()
284
+ });
285
+ if (!c.success)
286
+ throw new HttpError(422, "Atticus can't record that", c.error.issues.map((i) => i.message).join("; "));
287
+ if (c.data.action === "edit") {
288
+ const fixedFact = correctedFact(fact, c.data);
289
+ if (typeof fixedFact === "string")
290
+ throw new HttpError(422, "That isn't a fact", `The corrected ${fact.kind} isn't one: ${fixedFact}.`);
291
+ }
292
+ const rel = `${factsRelOf(ctx.root)}/${repo}.corrections.jsonl`;
293
+ const written = correctionLine(c.data);
294
+ await mkdir(factsDirOf(ctx.root), { recursive: true });
295
+ const cfile = join2(factsDirOf(ctx.root), `${repo}.corrections.jsonl`);
296
+ await appendLines(cfile, [written]);
297
+ ctx.events.publish({ type: "file.changed", path: rel });
298
+ const result = {
299
+ correction: c.data,
300
+ file: rel,
301
+ commit: `git add ${rel}
302
+ git commit -m "${repo}: a person's correction of ${fact.id}"`,
303
+ verify: `atticus verify ${repo}`,
304
+ line: written
305
+ };
306
+ return { status: 200, body: result };
307
+ });
308
+ }
309
+
310
+ export {
311
+ memoByFiles,
312
+ filesUnder,
313
+ recheckNow,
314
+ factLabel,
315
+ claimOf,
316
+ uiFactsRoutes
317
+ };
@@ -0,0 +1,49 @@
1
+ import { createRequire as __atticusCreateRequire } from "node:module";
2
+ import { fileURLToPath as __atticusFileURLToPath } from "node:url";
3
+ var require = __atticusCreateRequire(import.meta.url);
4
+ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
5
+ var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
6
+ import {
7
+ MIGRATIONS,
8
+ STAMP_FILE,
9
+ newerAtticusOf,
10
+ newerThan,
11
+ newerWords,
12
+ readStamp,
13
+ upgradeCheck,
14
+ upgradeCommand
15
+ } from "./chunk-P2V7QW4D.js";
16
+ import "./chunk-Z5IA3WDR.js";
17
+ import "./chunk-R7NYHMUU.js";
18
+ import "./chunk-IVBOQAGB.js";
19
+ import "./chunk-ISUAAMGS.js";
20
+ import "./chunk-BEVTIBRH.js";
21
+ import "./chunk-S4PMJU6H.js";
22
+ import "./chunk-IDKCWSM5.js";
23
+ import "./chunk-UUU4CLJG.js";
24
+ import "./chunk-7IGKHZ4Z.js";
25
+ import "./chunk-J2JAKCIW.js";
26
+ import "./chunk-745DAZ4L.js";
27
+ import "./chunk-CXJ6FUKN.js";
28
+ import "./chunk-QKUJMING.js";
29
+ import "./chunk-6ZGLAACW.js";
30
+ import "./chunk-CQDGOPGH.js";
31
+ import "./chunk-3NFFJL5D.js";
32
+ import "./chunk-F3P7N7SF.js";
33
+ import "./chunk-PKBHS4AA.js";
34
+ import "./chunk-P32RUW3B.js";
35
+ import "./chunk-QA4O2GGC.js";
36
+ import "./chunk-Q2TECDIT.js";
37
+ import "./chunk-TUULXQRW.js";
38
+ import "./chunk-BQGDB6ZL.js";
39
+ import "./chunk-TV45EUGM.js";
40
+ export {
41
+ MIGRATIONS,
42
+ STAMP_FILE,
43
+ newerAtticusOf,
44
+ newerThan,
45
+ newerWords,
46
+ readStamp,
47
+ upgradeCheck,
48
+ upgradeCommand
49
+ };
@@ -5,23 +5,25 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
5
5
  var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
6
6
  import {
7
7
  targetFlowsOf
8
- } from "./chunk-TDD55CJH.js";
8
+ } from "./chunk-IH2XURVQ.js";
9
9
  import {
10
10
  estimateChange,
11
11
  loadRelease,
12
12
  releaseForecast
13
- } from "./chunk-BOHJZTEQ.js";
13
+ } from "./chunk-WF7B67YE.js";
14
14
  import {
15
15
  gateStatus,
16
16
  reviewedGates
17
- } from "./chunk-3HI6Z55Y.js";
17
+ } from "./chunk-S4PMJU6H.js";
18
18
  import {
19
- detectConflicts
20
- } from "./chunk-XY3P7JW7.js";
19
+ detectConflicts,
20
+ outsideSystemsOf
21
+ } from "./chunk-IDKCWSM5.js";
21
22
  import {
22
23
  loadEstimates,
24
+ loadOrgPack,
23
25
  orgPackDirOf
24
- } from "./chunk-S2A7YC3Q.js";
26
+ } from "./chunk-Q2TECDIT.js";
25
27
 
26
28
  // packages/cli/dist/change-estimate.js
27
29
  import { relative, sep } from "node:path";
@@ -42,6 +44,9 @@ async function estimateOf(root, change, o = {}) {
42
44
  systemOf.set(r.id, r.system);
43
45
  }
44
46
  const boundaryOf = (c) => systems.get(systemOf.get(c) ?? c);
47
+ const op = await loadOrgPack(orgPackDirOf(root)).catch(() => void 0);
48
+ const outside = op ? outsideSystemsOf(op) : /* @__PURE__ */ new Map();
49
+ const otherTeam = (c) => boundaryOf(c) !== "vendor" && outside.get(systemOf.get(c) ?? c) === "other-team";
45
50
  let openBlocking = 0;
46
51
  for (const gate of await reviewedGates(root, change).catch(() => []))
47
52
  openBlocking += await gateStatus(root, change, gate).then((s) => s.open.blocking, () => 0);
@@ -76,6 +81,7 @@ async function estimateOf(root, change, o = {}) {
76
81
  flows,
77
82
  ...estimates ? { table: estimates } : {},
78
83
  boundaryOf,
84
+ otherTeam,
79
85
  openBlocking,
80
86
  conflicts,
81
87
  ...waitDays !== void 0 ? { waitDays } : {}