@maycombhq/atticus 2.0.0-beta.18 → 2.0.0-beta.21
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.
- package/dist/bin.js +8 -4
- package/dist/{chunk-MUSJJ6CQ.js → chunk-265LWMOA.js} +16 -16
- package/dist/chunk-26WBY34Y.js +37 -0
- package/dist/{chunk-6H5JG5GL.js → chunk-26Z7OGQW.js} +63 -30
- package/dist/{chunk-4REDBQOZ.js → chunk-2D7PWSOK.js} +20 -20
- package/dist/{chunk-YPH6ZJ6R.js → chunk-2HH3UCZM.js} +4 -4
- package/dist/{chunk-RTUUX7PX.js → chunk-2HTEMYTB.js} +12 -26
- package/dist/{chunk-EHQUY26D.js → chunk-2UCRFXFZ.js} +11 -11
- package/dist/{chunk-ILDGIXNH.js → chunk-2V2ZPQQU.js} +81 -13
- package/dist/{chunk-YSEZQ6D3.js → chunk-36RY7ZXM.js} +107 -64
- package/dist/{chunk-QXFDM2FZ.js → chunk-37WE3LS2.js} +3 -3
- package/dist/{chunk-BAXM3JFQ.js → chunk-3AQ2R5NL.js} +1212 -754
- package/dist/chunk-3G6S7LAA.js +43 -0
- package/dist/{chunk-7TOAS7KI.js → chunk-3J5I7ZOU.js} +4 -4
- package/dist/{chunk-TAKAEJRD.js → chunk-3LZ6P5EP.js} +1 -1
- package/dist/chunk-3SSTNB4E.js +191 -0
- package/dist/chunk-3TD6S4TC.js +49 -0
- package/dist/{chunk-UUL6ZGMU.js → chunk-3UTYPHN3.js} +1 -1
- package/dist/{chunk-6AP2ZUUM.js → chunk-3WON4G3M.js} +2 -2
- package/dist/{chunk-AXY6LBW4.js → chunk-42EPP7OB.js} +12 -12
- package/dist/{chunk-QKMDT7VU.js → chunk-455SYIIE.js} +2 -2
- package/dist/{chunk-MFUFB3LN.js → chunk-4B6BT75O.js} +110 -20
- package/dist/{chunk-75MYLZSB.js → chunk-4CLK2RJO.js} +7 -7
- package/dist/chunk-4CYTJ5TZ.js +38 -0
- package/dist/{chunk-IH7RANGB.js → chunk-4D62IZII.js} +5 -5
- package/dist/{chunk-2QMZOCWN.js → chunk-4FOAYLI4.js} +14 -7
- package/dist/{chunk-V3UEPUHT.js → chunk-4KNOJC6J.js} +294 -215
- package/dist/{chunk-O6ILVBYB.js → chunk-4PYC2UGC.js} +1 -1
- package/dist/{chunk-EZBAS5BL.js → chunk-4SLBCEPD.js} +82 -50
- package/dist/{chunk-VIRTPODJ.js → chunk-4TKVU2I2.js} +6 -14
- package/dist/{chunk-IVCDU443.js → chunk-4WXRPQDE.js} +281 -51
- package/dist/{chunk-RMEEHH24.js → chunk-5CMPVC3N.js} +24 -24
- package/dist/chunk-5G7ILBUG.js +66 -0
- package/dist/{chunk-Z75XDWQR.js → chunk-5PV7S2ZP.js} +3 -3
- package/dist/{chunk-WWPC2AZ2.js → chunk-5QUOPNLN.js} +4 -4
- package/dist/{chunk-7OVH2L7L.js → chunk-5TDRBOAV.js} +5 -5
- package/dist/{chunk-YXUIUOQZ.js → chunk-5WERBKLE.js} +199 -63
- package/dist/{chunk-6WNNXEG6.js → chunk-62DLJSLV.js} +8 -8
- package/dist/{chunk-KCQS52TH.js → chunk-64AADMTW.js} +99 -25
- package/dist/{chunk-KLRUXRPN.js → chunk-67BP7HXL.js} +17 -17
- package/dist/chunk-6DQYZU2W.js +379 -0
- package/dist/{chunk-RONDYDMQ.js → chunk-6EXDI5GI.js} +51 -34
- package/dist/chunk-6FNAKCET.js +38 -0
- package/dist/{chunk-6SNEA73E.js → chunk-75ASLHBT.js} +21 -15
- package/dist/{chunk-EFT4KM6K.js → chunk-75ZOZFGH.js} +18 -18
- package/dist/{chunk-B3KW7EQW.js → chunk-77O633L5.js} +12 -12
- package/dist/{chunk-TLDL2ZZI.js → chunk-7AB6OWTV.js} +3 -3
- package/dist/{chunk-R5YXY6NT.js → chunk-7CZHUZBL.js} +25 -25
- package/dist/{chunk-F4D4G2A6.js → chunk-7FHNFCHK.js} +306 -125
- package/dist/{chunk-CC5RNYZF.js → chunk-7FUIVIBG.js} +19 -9
- package/dist/{chunk-UBTOSSNK.js → chunk-7QPCGTPS.js} +21 -21
- package/dist/{chunk-CDLTRJ4N.js → chunk-A2G72UI4.js} +7 -7
- package/dist/{chunk-YGSOQ5LX.js → chunk-AE4P57KK.js} +23 -17
- package/dist/{chunk-PGQL5YGH.js → chunk-AHW3RY3X.js} +7 -7
- package/dist/chunk-AM6FP6JW.js +43 -0
- package/dist/{chunk-DYNC6BAQ.js → chunk-AOCWFA7T.js} +93 -10
- package/dist/{chunk-CYX36GKZ.js → chunk-API5TOUB.js} +1 -1
- package/dist/{chunk-BJ5T3KDF.js → chunk-AZDITBCT.js} +3 -3
- package/dist/{chunk-U6GZSUMC.js → chunk-BA2HUMDN.js} +25 -3
- package/dist/chunk-BA3U7ALS.js +99 -0
- package/dist/{chunk-63565QTF.js → chunk-BC6KKZ67.js} +5 -5
- package/dist/{chunk-XO5RQKNM.js → chunk-BEPCKDCP.js} +1843 -577
- package/dist/{chunk-KUH62AQ3.js → chunk-BPPU3PW7.js} +4 -4
- package/dist/{chunk-52ULYRV4.js → chunk-BVWWPBKD.js} +18 -18
- package/dist/{chunk-R2FGEBIU.js → chunk-BXZ4PKIT.js} +13 -11
- package/dist/{chunk-4BU26GFB.js → chunk-C7CEK3KW.js} +4 -4
- package/dist/chunk-CFH3QH26.js +29 -0
- package/dist/chunk-CG6CULP6.js +170 -0
- package/dist/chunk-CLD4RVTA.js +45 -0
- package/dist/{chunk-BU543ZEC.js → chunk-CNPY4NTZ.js} +13 -13
- package/dist/{chunk-PLBIWEPV.js → chunk-CNU5Q2D5.js} +32 -31
- package/dist/{chunk-JTYYEYRR.js → chunk-COYN3UAN.js} +124 -21
- package/dist/{chunk-TNCROWPQ.js → chunk-CPK7QSBG.js} +10 -10
- package/dist/{chunk-43E6XX67.js → chunk-D2WSW4GU.js} +1 -1
- package/dist/{chunk-SHEUEHKC.js → chunk-D57MFJPP.js} +3 -3
- package/dist/chunk-D5KV5PSK.js +45 -0
- package/dist/chunk-D5MASS4I.js +48 -0
- package/dist/{chunk-TQYBXDVH.js → chunk-DCWN3HFV.js} +1 -1
- package/dist/{chunk-FF4IGX4Z.js → chunk-DDJPM5YX.js} +2 -2
- package/dist/chunk-DN4A2Q2O.js +57 -0
- package/dist/{chunk-4ZCFCIEL.js → chunk-DUPZPDCJ.js} +52 -16
- package/dist/{chunk-CUJ5TIEB.js → chunk-E2VXBSIR.js} +4 -4
- package/dist/{chunk-BX47X5DJ.js → chunk-E57AOFYN.js} +13 -13
- package/dist/{chunk-SSTI7GAV.js → chunk-ECLXZWAG.js} +12 -12
- package/dist/{chunk-KYK3TA4Q.js → chunk-EDZ45WIR.js} +14 -14
- package/dist/chunk-EFCQSMXB.js +37 -0
- package/dist/{chunk-YC2K3FJG.js → chunk-EZIN5E5B.js} +8 -8
- package/dist/{chunk-MIZNACDI.js → chunk-F6H2RJ3N.js} +1 -1
- package/dist/{chunk-EMZVHDJP.js → chunk-FAJDKNSD.js} +7 -3
- package/dist/chunk-FGAGWYZB.js +47 -0
- package/dist/{chunk-KBGQ3IAM.js → chunk-FLVZFTLQ.js} +18 -18
- package/dist/{chunk-2NNXLH53.js → chunk-FQ6WH6PB.js} +22 -7
- package/dist/{chunk-QWSLMVHI.js → chunk-FRHD22WM.js} +61 -23
- package/dist/{chunk-5MEN4SM5.js → chunk-FVMPFCDS.js} +4 -4
- package/dist/{chunk-KLRZKW7Y.js → chunk-FY3QIRTL.js} +3 -3
- package/dist/{chunk-B3SWPNJF.js → chunk-FYBF5MB2.js} +13 -11
- package/dist/{chunk-CVZCW3NI.js → chunk-G5YJBNDZ.js} +14 -5
- package/dist/{chunk-U6EPS5PF.js → chunk-G6IQYM25.js} +5 -5
- package/dist/chunk-G6X4YL4D.js +161 -0
- package/dist/{chunk-DOSX3MRW.js → chunk-GC2VK3JT.js} +25 -25
- package/dist/{chunk-EEWBTFRP.js → chunk-GCS3FZOB.js} +27 -3
- package/dist/{chunk-6H6OPNEP.js → chunk-GDZB57IU.js} +5 -5
- package/dist/chunk-GIFMBCTW.js +221 -0
- package/dist/{chunk-X5WYPIH3.js → chunk-GK4PYVEC.js} +18 -8
- package/dist/{chunk-VBSJ5NRB.js → chunk-GNWAOVFQ.js} +5 -5
- package/dist/{chunk-TXFDQRBL.js → chunk-GS76RXQE.js} +11 -11
- package/dist/{chunk-U3YC4RGC.js → chunk-GSGIZ2OO.js} +23 -23
- package/dist/chunk-GUYL7RMK.js +60 -0
- package/dist/{chunk-AZYBHPV4.js → chunk-GX74YWR7.js} +14 -13
- package/dist/{chunk-YY7VP7KW.js → chunk-HE3HRDNZ.js} +2 -2
- package/dist/{chunk-Z7HYYDZM.js → chunk-HGHRSF3E.js} +14 -13
- package/dist/{chunk-Q2X4IREC.js → chunk-HK3VOHIE.js} +106 -36
- package/dist/{chunk-P5JYMO7Y.js → chunk-HS4BGB4G.js} +22 -22
- package/dist/{chunk-IOW6BF3U.js → chunk-HSZMPH5T.js} +798 -141
- package/dist/{chunk-L3T33FA7.js → chunk-HWD4JPU7.js} +4 -2
- package/dist/{chunk-7NYCH5HY.js → chunk-HXXP2NTE.js} +6 -6
- package/dist/{chunk-7S7OFVIU.js → chunk-I2A3Z5AK.js} +4 -4
- package/dist/{chunk-WQSDKX7M.js → chunk-ICHDSWEY.js} +7 -7
- package/dist/chunk-IFFRGC3N.js +31 -0
- package/dist/{chunk-HMZQAIR5.js → chunk-IFHDV6KQ.js} +24 -17
- package/dist/chunk-J2O4LFVI.js +80 -0
- package/dist/chunk-J5AAZ6OJ.js +161 -0
- package/dist/{chunk-CVRWAG76.js → chunk-JAABT3DA.js} +3 -3
- package/dist/chunk-JITJP64K.js +34 -0
- package/dist/chunk-JKIGL3XQ.js +162 -0
- package/dist/chunk-JRVNXLZP.js +615 -0
- package/dist/chunk-JRXHON4E.js +41 -0
- package/dist/{chunk-XFCK5B27.js → chunk-JS6WMC3J.js} +8 -8
- package/dist/chunk-JU4QNJSR.js +62 -0
- package/dist/{chunk-IPSFMTK2.js → chunk-JYMIB5XY.js} +152 -42
- package/dist/{chunk-L336AJCZ.js → chunk-JYTIHTIK.js} +8 -6
- package/dist/{chunk-VEJYZEPC.js → chunk-K332XW7K.js} +135 -16
- package/dist/{chunk-KCF7TFOE.js → chunk-K6JB6XTX.js} +11 -11
- package/dist/{chunk-LFIIX4OV.js → chunk-KDAHXQIE.js} +46 -34
- package/dist/chunk-KYZMRSPS.js +93 -0
- package/dist/chunk-L4CESDPB.js +22 -0
- package/dist/{chunk-3LR4522O.js → chunk-LEBR5NHW.js} +14 -14
- package/dist/{chunk-US3QZU23.js → chunk-LIJJCBQI.js} +67 -7
- package/dist/{chunk-XLHL6WTI.js → chunk-LIRVU3HW.js} +16 -16
- package/dist/{chunk-BAT4CBB7.js → chunk-LN77DXBM.js} +19 -10
- package/dist/{chunk-E5FM44EJ.js → chunk-LNWEWYCM.js} +2474 -315
- package/dist/{chunk-TX4OGZKU.js → chunk-LO3BLMVG.js} +3 -3
- package/dist/{chunk-RUOGHYSK.js → chunk-LPV6T362.js} +5 -5
- package/dist/{chunk-2T5CQH4R.js → chunk-LQH4P45K.js} +1 -1
- package/dist/chunk-LU4MQVAL.js +41 -0
- package/dist/{chunk-HW4RRIJA.js → chunk-LWDNKE4X.js} +12 -10
- package/dist/chunk-M4H2UG4R.js +218 -0
- package/dist/{chunk-CANMOOE6.js → chunk-M6D2U3YM.js} +3 -3
- package/dist/{chunk-AB5E5HCN.js → chunk-MD7KUEJ3.js} +14 -272
- package/dist/{chunk-ENTAAEDK.js → chunk-MMZUN7ZO.js} +20 -20
- package/dist/{chunk-L4MHJG3I.js → chunk-MZGRDONP.js} +46 -36
- package/dist/{chunk-IYI2S6BB.js → chunk-N3RUGTGV.js} +18 -18
- package/dist/{chunk-WZRCGGXG.js → chunk-NCB6656Z.js} +7 -7
- package/dist/{chunk-SBE773JU.js → chunk-NRQ65LTQ.js} +5 -5
- package/dist/{chunk-NRPMPZWJ.js → chunk-NTAVOWYD.js} +117 -18
- package/dist/{chunk-UJBZS5I7.js → chunk-NYOABJNK.js} +36 -27
- package/dist/{chunk-LXAPJ3BL.js → chunk-O4IKAIZ2.js} +24 -20
- package/dist/{chunk-MMB2OHUY.js → chunk-ODMBPDDV.js} +48 -13
- package/dist/chunk-OKUB6RJA.js +533 -0
- package/dist/{chunk-MKFYQQ5Q.js → chunk-OMPENNWY.js} +4 -1
- package/dist/chunk-OPQZISG3.js +25 -0
- package/dist/{chunk-ROJMXG4E.js → chunk-OV57AHCG.js} +24 -24
- package/dist/{chunk-7KGXDIWV.js → chunk-OZJ3JLYI.js} +9 -8
- package/dist/{chunk-G5BYKJIM.js → chunk-P2VBXX7N.js} +11 -10
- package/dist/{chunk-YK6CSODO.js → chunk-PAINMSID.js} +4353 -1106
- package/dist/chunk-PKJAV25S.js +43 -0
- package/dist/{chunk-R5MNPIMD.js → chunk-PNQLCRSS.js} +4 -4
- package/dist/{chunk-3SMMFQED.js → chunk-PQH56YF6.js} +37 -5
- package/dist/chunk-PRTBPXYA.js +50 -0
- package/dist/{chunk-FF4ZMLSL.js → chunk-PRW3HXM3.js} +2 -2
- package/dist/chunk-PRZ7KMWL.js +42 -0
- package/dist/{chunk-IFV6MKYV.js → chunk-PTQ3ZALZ.js} +42 -4
- package/dist/{chunk-ELQSLAP6.js → chunk-PUEWDYGP.js} +2 -2
- package/dist/{chunk-F2ZCZYIK.js → chunk-Q26LDIUV.js} +12 -11
- package/dist/chunk-Q46QDDMF.js +277 -0
- package/dist/chunk-QBNWF5ZU.js +19 -0
- package/dist/{chunk-ANETFNTV.js → chunk-QE527XRY.js} +24 -21
- package/dist/{chunk-QNMLLYTN.js → chunk-QHJJMZLX.js} +397 -32
- package/dist/chunk-QJCJOMW3.js +425 -0
- package/dist/{chunk-3HOONZUE.js → chunk-QKMRFNMA.js} +15 -15
- package/dist/{chunk-7S6VJ643.js → chunk-QOOEYDNJ.js} +101 -13
- package/dist/{chunk-4YNKN4DF.js → chunk-QSIDVFB7.js} +20 -18
- package/dist/{chunk-2IT7SIJY.js → chunk-RA33EYS4.js} +19 -18
- package/dist/{chunk-P7NV3FEJ.js → chunk-RALY3E5U.js} +4 -4
- package/dist/{chunk-6NESNLVU.js → chunk-S2RY3BOD.js} +35 -21
- package/dist/chunk-SB5GRUFM.js +54 -0
- package/dist/{chunk-EUQHM2CH.js → chunk-SH27FYPF.js} +18 -18
- package/dist/chunk-T74WQQGS.js +40 -0
- package/dist/{chunk-LGDW4G73.js → chunk-TGVVUKTG.js} +2 -2
- package/dist/chunk-THN26IEF.js +48 -0
- package/dist/{chunk-ZV2VCBMQ.js → chunk-TJH2EUAZ.js} +18 -12
- package/dist/{chunk-NGT5LLSE.js → chunk-TQ4TG57V.js} +6 -6
- package/dist/{chunk-WEDXFJPG.js → chunk-TQTRWENN.js} +12 -12
- package/dist/{chunk-ZRWS54RI.js → chunk-TSM6T6GQ.js} +23 -23
- package/dist/{chunk-KET7KOVE.js → chunk-TW3KOSQK.js} +15 -7
- package/dist/{chunk-RBXDHCN7.js → chunk-TWQRPM76.js} +2 -2
- package/dist/{chunk-IO6DQCZX.js → chunk-TYD6I4CZ.js} +4 -4
- package/dist/{chunk-5NLJH6R4.js → chunk-U3NBK4EU.js} +56 -17
- package/dist/{chunk-U542BJME.js → chunk-UDXWIPCB.js} +7 -7
- package/dist/{chunk-OSB6AKF2.js → chunk-UEVZZZU2.js} +4 -4
- package/dist/{chunk-5ZV7BK22.js → chunk-UF4UHCIG.js} +2 -2
- package/dist/{chunk-PHJOOL6U.js → chunk-UFE36WJH.js} +4 -4
- package/dist/{chunk-IHRP4OYV.js → chunk-URIKUID7.js} +12 -12
- package/dist/chunk-UYLBRRFK.js +1106 -0
- package/dist/chunk-UZACEG2C.js +515 -0
- package/dist/{chunk-LR4XBH4L.js → chunk-VAMHOHUU.js} +12 -12
- package/dist/{chunk-S5PSGAQ2.js → chunk-VUVGX5L2.js} +1 -1
- package/dist/{chunk-2TG2QGKW.js → chunk-VYOCPTUB.js} +18 -16
- package/dist/{chunk-VTEDQ6GY.js → chunk-WAZEXEJH.js} +175 -3
- package/dist/{chunk-UTSFKZ72.js → chunk-WCEF7H6L.js} +3 -3
- package/dist/{chunk-DXPUYG5L.js → chunk-WEOMJHPV.js} +12 -12
- package/dist/{chunk-NFKBU2UH.js → chunk-WFU77T3A.js} +5 -5
- package/dist/chunk-WIWTJMMR.js +292 -0
- package/dist/{chunk-MRFSUAJH.js → chunk-WNTIOBOG.js} +18 -18
- package/dist/{chunk-UROTYIGJ.js → chunk-X2CUXTWU.js} +6 -6
- package/dist/chunk-X7EMBM5X.js +34 -0
- package/dist/{chunk-OO5TKEAG.js → chunk-XEQCQO66.js} +8 -8
- package/dist/{chunk-NBQO75XT.js → chunk-XG4WJHLQ.js} +17 -1
- package/dist/{chunk-ZQC7MNQB.js → chunk-XOL3GFW2.js} +101 -30
- package/dist/{chunk-GXDATVSY.js → chunk-XQ3YZ4QW.js} +22 -22
- package/dist/{chunk-GTW54D3D.js → chunk-Y6K3CJBU.js} +726 -88
- package/dist/{chunk-CQCAJI6G.js → chunk-YAH5IQAL.js} +5 -5
- package/dist/{chunk-U6TD7UOH.js → chunk-YBOVNMHC.js} +51 -14
- package/dist/{chunk-OJICVOZH.js → chunk-YF5DZCPN.js} +79 -39
- package/dist/chunk-YIGBJNH4.js +37 -0
- package/dist/{chunk-7C7OZARH.js → chunk-YJ3TBOTK.js} +25 -25
- package/dist/{chunk-HXFSM4LG.js → chunk-YKTE2RU3.js} +2 -2
- package/dist/{chunk-7IM4BVVH.js → chunk-YO2PKTXT.js} +268 -36
- package/dist/{chunk-Z3UU7XV6.js → chunk-YTTNTQOX.js} +15 -15
- package/dist/{chunk-2ZICHO3V.js → chunk-YWAKDNMH.js} +183 -33
- package/dist/{chunk-OXOSJXOI.js → chunk-YZDZOEV4.js} +4 -4
- package/dist/{chunk-MRCETHW5.js → chunk-Z3QFH7YG.js} +4 -4
- package/dist/{chunk-5KZTRD4V.js → chunk-Z6VLC5X4.js} +17 -17
- package/dist/{chunk-EDURU5DF.js → chunk-ZFQMMU5Y.js} +2 -2
- package/dist/{chunk-3GLDB4IT.js → chunk-ZKYRDV7A.js} +12 -12
- package/dist/{chunk-GBGJ6WSO.js → chunk-ZLS6PU2O.js} +3 -3
- package/dist/{chunk-JZOOX3PQ.js → chunk-ZOSD4FXV.js} +3 -3
- package/dist/chunk-ZPDDEVQX.js +47 -0
- package/dist/{chunk-2TTSX7NB.js → chunk-ZQLRCA2V.js} +7 -7
- package/dist/{chunk-ESP3RUUR.js → chunk-ZX7235KR.js} +128 -54
- package/dist/{chunk-MH4XG5XS.js → chunk-ZZFHLRQW.js} +18 -16
- package/dist/files.json +559 -439
- package/dist/packages/sdk/npm/index.js +4679 -2672
- package/dist/packages/ui/dist/assets/{elk-api-BuFBvNyV.js → elk-api-CowTnhEJ.js} +2 -2
- package/dist/packages/ui/dist/assets/index-Dw20IRhQ.css +1 -0
- package/dist/packages/ui/dist/assets/index-z2wv0d5d.js +47 -0
- package/dist/packages/ui/dist/index.html +2 -2
- package/package.json +3 -3
- package/dist/chunk-25TJC2CL.js +0 -48
- package/dist/chunk-3Q5RHGCA.js +0 -47
- package/dist/chunk-4W7FOGAB.js +0 -41
- package/dist/chunk-6AF3CVJT.js +0 -48
- package/dist/chunk-A3KEXFQS.js +0 -34
- package/dist/chunk-BAUINGGJ.js +0 -41
- package/dist/chunk-BOFUCRJX.js +0 -47
- package/dist/chunk-GGKGILIP.js +0 -54
- package/dist/chunk-IKN6C67W.js +0 -53
- package/dist/chunk-K7MYVIFK.js +0 -54
- package/dist/chunk-KHA5LVPE.js +0 -34
- package/dist/chunk-LSXGM6MB.js +0 -37
- package/dist/chunk-M54TDRM3.js +0 -29
- package/dist/chunk-M5GF4NAB.js +0 -45
- package/dist/chunk-UTZGBCXE.js +0 -38
- package/dist/chunk-UVTSMBM4.js +0 -43
- package/dist/chunk-XXE3S3OG.js +0 -44
- package/dist/chunk-YJRQCUVJ.js +0 -43
- package/dist/chunk-ZFTK4BDN.js +0 -41
- package/dist/chunk-ZMARAW37.js +0 -38
- package/dist/packages/ui/dist/assets/index-C5QnK82A.css +0 -1
- package/dist/packages/ui/dist/assets/index-CQ0a1cBg.js +0 -29
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
explainCommand,
|
|
8
|
+
learnCheck,
|
|
9
|
+
learnList,
|
|
10
|
+
learnStart,
|
|
11
|
+
sandboxCreate
|
|
12
|
+
} from "./chunk-ZQLRCA2V.js";
|
|
13
|
+
import "./chunk-4B6BT75O.js";
|
|
14
|
+
import "./chunk-2HTEMYTB.js";
|
|
15
|
+
import "./chunk-3AQ2R5NL.js";
|
|
16
|
+
import "./chunk-BEPCKDCP.js";
|
|
17
|
+
import "./chunk-HWD4JPU7.js";
|
|
18
|
+
import "./chunk-5WERBKLE.js";
|
|
19
|
+
import "./chunk-VOGCSYOI.js";
|
|
20
|
+
import "./chunk-K332XW7K.js";
|
|
21
|
+
import "./chunk-HSZMPH5T.js";
|
|
22
|
+
import "./chunk-D2WSW4GU.js";
|
|
23
|
+
import "./chunk-4KNOJC6J.js";
|
|
24
|
+
import "./chunk-4SLBCEPD.js";
|
|
25
|
+
import "./chunk-64AADMTW.js";
|
|
26
|
+
import "./chunk-JYMIB5XY.js";
|
|
27
|
+
import "./chunk-CPK7QSBG.js";
|
|
28
|
+
import "./chunk-YO2PKTXT.js";
|
|
29
|
+
import "./chunk-TWQRPM76.js";
|
|
30
|
+
import "./chunk-VUVGX5L2.js";
|
|
31
|
+
import "./chunk-XOL3GFW2.js";
|
|
32
|
+
import "./chunk-QHJJMZLX.js";
|
|
33
|
+
import "./chunk-7AB6OWTV.js";
|
|
34
|
+
import "./chunk-PAINMSID.js";
|
|
35
|
+
import "./chunk-ODMBPDDV.js";
|
|
36
|
+
import "./chunk-TV45EUGM.js";
|
|
37
|
+
export {
|
|
38
|
+
explainCommand,
|
|
39
|
+
learnCheck,
|
|
40
|
+
learnList,
|
|
41
|
+
learnStart,
|
|
42
|
+
sandboxCreate
|
|
43
|
+
};
|
|
@@ -5,20 +5,20 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
readCatalog
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4SLBCEPD.js";
|
|
9
9
|
import {
|
|
10
10
|
scopeWords
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-64AADMTW.js";
|
|
12
12
|
import {
|
|
13
13
|
baseClonePath,
|
|
14
14
|
loadManifest
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XOL3GFW2.js";
|
|
16
16
|
import {
|
|
17
17
|
Sources,
|
|
18
18
|
catalogDirOf,
|
|
19
19
|
orgPackDirOf,
|
|
20
20
|
require_dist
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PAINMSID.js";
|
|
22
22
|
import {
|
|
23
23
|
__toESM
|
|
24
24
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -8,10 +8,14 @@ import {
|
|
|
8
8
|
notMetarepo
|
|
9
9
|
} from "./chunk-3G4YI4ZU.js";
|
|
10
10
|
import {
|
|
11
|
+
eolOf,
|
|
12
|
+
inEol,
|
|
11
13
|
orgPackDirOf,
|
|
12
14
|
require_dist
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import
|
|
15
|
+
} from "./chunk-PAINMSID.js";
|
|
16
|
+
import {
|
|
17
|
+
writeFileIfUnchanged
|
|
18
|
+
} from "./chunk-ODMBPDDV.js";
|
|
15
19
|
import {
|
|
16
20
|
__toESM
|
|
17
21
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -20,6 +24,32 @@ import {
|
|
|
20
24
|
var import_yaml = __toESM(require_dist(), 1);
|
|
21
25
|
import { readFile, writeFile } from "node:fs/promises";
|
|
22
26
|
import { join, relative, sep } from "node:path";
|
|
27
|
+
var OwnerEditError = class extends Error {
|
|
28
|
+
code;
|
|
29
|
+
constructor(code, message) {
|
|
30
|
+
super(message);
|
|
31
|
+
this.code = code;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
var HANDLE = /^[A-Za-z0-9][A-Za-z0-9._@-]*$/;
|
|
35
|
+
async function setOrgPackOwner(root, handle, was) {
|
|
36
|
+
const file = join(orgPackDirOf(root), "pack.yaml");
|
|
37
|
+
const rel = relative(root, file).split(sep).join("/");
|
|
38
|
+
const text = await readFile(file, "utf8").catch(() => void 0);
|
|
39
|
+
if (text === void 0)
|
|
40
|
+
throw new OwnerEditError("not-found", `${rel} isn't there: atticus upgrade writes it.`);
|
|
41
|
+
const h = handle.trim();
|
|
42
|
+
if (!HANDLE.test(h))
|
|
43
|
+
throw new OwnerEditError("invalid", "The owner is one handle, such as priya.nair or team-platform: letters, digits, dots, hyphens.");
|
|
44
|
+
const doc = (0, import_yaml.parseDocument)(text);
|
|
45
|
+
const now = doc.get("owner");
|
|
46
|
+
const current = typeof now === "string" && now !== "unassigned" ? now : "";
|
|
47
|
+
if (was !== void 0 && was !== current)
|
|
48
|
+
throw new OwnerEditError("conflict", `pack.yaml's owner changed since you opened the form (now ${current || "unassigned"}): look again, then save.`);
|
|
49
|
+
doc.set("owner", h);
|
|
50
|
+
await writeFileIfUnchanged(file, text, inEol(doc.toString({ lineWidth: 0 }), eolOf(text)));
|
|
51
|
+
return { file: rel, owner: h };
|
|
52
|
+
}
|
|
23
53
|
async function orgPackOwnerCli(root, handle, io) {
|
|
24
54
|
if (!isMetarepo(root)) {
|
|
25
55
|
io.err(notMetarepo(root));
|
|
@@ -39,15 +69,17 @@ async function orgPackOwnerCli(root, handle, io) {
|
|
|
39
69
|
return 0;
|
|
40
70
|
}
|
|
41
71
|
const h = handle.trim();
|
|
42
|
-
if (
|
|
72
|
+
if (!HANDLE.test(h)) {
|
|
43
73
|
io.err("The owner is one handle, such as priya.nair or team-platform: letters, digits, dots, hyphens.");
|
|
44
74
|
return 2;
|
|
45
75
|
}
|
|
46
76
|
doc.set("owner", h);
|
|
47
|
-
await writeFile(file, doc.toString({ lineWidth: 0 }), "utf8");
|
|
77
|
+
await writeFile(file, inEol(doc.toString({ lineWidth: 0 }), eolOf(text)), "utf8");
|
|
48
78
|
io.out(`${h} now looks after the org pack. Commit ${rel} through a pull request; its owner approves changes to it.`);
|
|
49
79
|
return 0;
|
|
50
80
|
}
|
|
51
81
|
export {
|
|
52
|
-
|
|
82
|
+
OwnerEditError,
|
|
83
|
+
orgPackOwnerCli,
|
|
84
|
+
setOrgPackOwner
|
|
53
85
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
MIN_GIT,
|
|
8
|
+
MIN_NODE,
|
|
9
|
+
defaultOnPath,
|
|
10
|
+
doctorChecks,
|
|
11
|
+
doctorCommand,
|
|
12
|
+
stepModelChoices,
|
|
13
|
+
stepModelLine
|
|
14
|
+
} from "./chunk-HGHRSF3E.js";
|
|
15
|
+
import "./chunk-4B6BT75O.js";
|
|
16
|
+
import "./chunk-3G4YI4ZU.js";
|
|
17
|
+
import "./chunk-2HTEMYTB.js";
|
|
18
|
+
import "./chunk-3AQ2R5NL.js";
|
|
19
|
+
import "./chunk-BEPCKDCP.js";
|
|
20
|
+
import "./chunk-HWD4JPU7.js";
|
|
21
|
+
import "./chunk-5WERBKLE.js";
|
|
22
|
+
import "./chunk-K332XW7K.js";
|
|
23
|
+
import "./chunk-HSZMPH5T.js";
|
|
24
|
+
import "./chunk-D2WSW4GU.js";
|
|
25
|
+
import "./chunk-4KNOJC6J.js";
|
|
26
|
+
import "./chunk-4SLBCEPD.js";
|
|
27
|
+
import "./chunk-64AADMTW.js";
|
|
28
|
+
import "./chunk-JYMIB5XY.js";
|
|
29
|
+
import "./chunk-CPK7QSBG.js";
|
|
30
|
+
import "./chunk-YO2PKTXT.js";
|
|
31
|
+
import "./chunk-TWQRPM76.js";
|
|
32
|
+
import {
|
|
33
|
+
versionAtLeast
|
|
34
|
+
} from "./chunk-VUVGX5L2.js";
|
|
35
|
+
import "./chunk-XOL3GFW2.js";
|
|
36
|
+
import "./chunk-QHJJMZLX.js";
|
|
37
|
+
import "./chunk-7AB6OWTV.js";
|
|
38
|
+
import "./chunk-PAINMSID.js";
|
|
39
|
+
import "./chunk-ODMBPDDV.js";
|
|
40
|
+
import "./chunk-TV45EUGM.js";
|
|
41
|
+
export {
|
|
42
|
+
MIN_GIT,
|
|
43
|
+
MIN_NODE,
|
|
44
|
+
defaultOnPath,
|
|
45
|
+
doctorChecks,
|
|
46
|
+
doctorCommand,
|
|
47
|
+
stepModelChoices,
|
|
48
|
+
stepModelLine,
|
|
49
|
+
versionAtLeast
|
|
50
|
+
};
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
RuntimeError,
|
|
9
9
|
estimateTokens,
|
|
10
10
|
registerModelProvider
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QHJJMZLX.js";
|
|
12
12
|
import {
|
|
13
13
|
redactText
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ODMBPDDV.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__require,
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
boxesOf,
|
|
8
|
+
candidatesOf,
|
|
9
|
+
settingsOf,
|
|
10
|
+
uiLinkRoutes
|
|
11
|
+
} from "./chunk-6DQYZU2W.js";
|
|
12
|
+
import "./chunk-HK3VOHIE.js";
|
|
13
|
+
import "./chunk-THN26IEF.js";
|
|
14
|
+
import "./chunk-GX74YWR7.js";
|
|
15
|
+
import "./chunk-G6IQYM25.js";
|
|
16
|
+
import "./chunk-LPV6T362.js";
|
|
17
|
+
import "./chunk-TQ4TG57V.js";
|
|
18
|
+
import "./chunk-5WERBKLE.js";
|
|
19
|
+
import "./chunk-VOGCSYOI.js";
|
|
20
|
+
import "./chunk-K332XW7K.js";
|
|
21
|
+
import "./chunk-HSZMPH5T.js";
|
|
22
|
+
import "./chunk-D2WSW4GU.js";
|
|
23
|
+
import "./chunk-4KNOJC6J.js";
|
|
24
|
+
import "./chunk-4SLBCEPD.js";
|
|
25
|
+
import "./chunk-64AADMTW.js";
|
|
26
|
+
import "./chunk-JYMIB5XY.js";
|
|
27
|
+
import "./chunk-CPK7QSBG.js";
|
|
28
|
+
import "./chunk-YO2PKTXT.js";
|
|
29
|
+
import "./chunk-TWQRPM76.js";
|
|
30
|
+
import "./chunk-VUVGX5L2.js";
|
|
31
|
+
import "./chunk-XOL3GFW2.js";
|
|
32
|
+
import "./chunk-QHJJMZLX.js";
|
|
33
|
+
import "./chunk-7AB6OWTV.js";
|
|
34
|
+
import "./chunk-PAINMSID.js";
|
|
35
|
+
import "./chunk-ODMBPDDV.js";
|
|
36
|
+
import "./chunk-TV45EUGM.js";
|
|
37
|
+
export {
|
|
38
|
+
boxesOf,
|
|
39
|
+
candidatesOf,
|
|
40
|
+
settingsOf,
|
|
41
|
+
uiLinkRoutes
|
|
42
|
+
};
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
CriticError,
|
|
11
11
|
act,
|
|
12
12
|
checkRoundRule,
|
|
13
|
+
completeLensBatch,
|
|
13
14
|
completeLensRun,
|
|
14
15
|
gateStatus,
|
|
15
16
|
lensAnswerProblem,
|
|
@@ -21,7 +22,7 @@ import {
|
|
|
21
22
|
roundsUsed,
|
|
22
23
|
runCritic,
|
|
23
24
|
waitingLenses
|
|
24
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-K332XW7K.js";
|
|
25
26
|
import {
|
|
26
27
|
changeFolder,
|
|
27
28
|
changeStore,
|
|
@@ -29,13 +30,13 @@ import {
|
|
|
29
30
|
phaseStage,
|
|
30
31
|
stageCommand,
|
|
31
32
|
statePhase
|
|
32
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-HSZMPH5T.js";
|
|
33
34
|
import {
|
|
34
35
|
AiOffError,
|
|
35
36
|
HandoffRuntime,
|
|
36
37
|
RuntimeConfigError,
|
|
37
38
|
runtimeForCli
|
|
38
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-QHJJMZLX.js";
|
|
39
40
|
import {
|
|
40
41
|
CriticQuestion,
|
|
41
42
|
LEGACY_LENSES,
|
|
@@ -43,7 +44,7 @@ import {
|
|
|
43
44
|
require_dist,
|
|
44
45
|
runsDirOf,
|
|
45
46
|
runsRelOf
|
|
46
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-PAINMSID.js";
|
|
47
48
|
import {
|
|
48
49
|
__toESM
|
|
49
50
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -253,6 +254,35 @@ async function completeCriticLens(root, run, io, o = {}) {
|
|
|
253
254
|
return fail(io, e);
|
|
254
255
|
}
|
|
255
256
|
}
|
|
257
|
+
async function completeCriticBatch(root, batch, result, io, o = {}) {
|
|
258
|
+
let read;
|
|
259
|
+
try {
|
|
260
|
+
read = await completeLensBatch(root, batch, result, o.now ? { now: o.now } : {});
|
|
261
|
+
} catch (e) {
|
|
262
|
+
return fail(io, e);
|
|
263
|
+
}
|
|
264
|
+
for (const c of read) {
|
|
265
|
+
const where2 = `The ${c.lens.lens} lens of round ${c.round} at the ${c.gate} gate`;
|
|
266
|
+
io.out(c.lens.state === "ran" ? `${where2} raised ${plural(c.findings.length, "finding", "findings")}.` : `${where2} ${c.lens.state}: ${c.lens.reason ?? ""}`.trimEnd());
|
|
267
|
+
for (const d of c.discarded)
|
|
268
|
+
io.err(`Discarded: ${d.reason}`);
|
|
269
|
+
if (c.lens.state === "ran" && c.lens.reason)
|
|
270
|
+
io.out(` ${c.lens.reason}`);
|
|
271
|
+
}
|
|
272
|
+
if (batch.state !== "validated") {
|
|
273
|
+
for (const e of batch.errors)
|
|
274
|
+
io.err(e);
|
|
275
|
+
io.err(`Fix what is listed in ${runsRelOf(root)}/${batch.request.change}/${batch.runId}/${batch.request.outputPath} and run atticus handoff done ${batch.runId} again: only the lenses still out are checked. Or answer a lens alone with its own run.`);
|
|
276
|
+
}
|
|
277
|
+
const last = read.at(-1);
|
|
278
|
+
if (last) {
|
|
279
|
+
if (last.waiting.length)
|
|
280
|
+
io.out(`${plural(last.waiting.length, "AI lens", "AI lenses")} ${last.waiting.length === 1 ? "is" : "are"} still with your assistant: ${last.waiting.map((w) => w.lens).join(", ")}.`);
|
|
281
|
+
else
|
|
282
|
+
io.out(statusLine(last.status));
|
|
283
|
+
}
|
|
284
|
+
return batch.state === "validated" && read.every((c) => c.lens.state === "ran") ? 0 : 1;
|
|
285
|
+
}
|
|
256
286
|
async function resumeLenses(root, changeId, o, io, deps) {
|
|
257
287
|
try {
|
|
258
288
|
await changeStore(root).read(changeId).catch((e) => {
|
|
@@ -370,6 +400,13 @@ async function findingAction(root, changeId, findingId, action, o, io, deps = {}
|
|
|
370
400
|
...deps.now ? { now: deps.now } : {}
|
|
371
401
|
});
|
|
372
402
|
io.out(r.message);
|
|
403
|
+
if (r.finding.state !== "open") {
|
|
404
|
+
const { retireChangeEscalations } = await import("./chunk-NTAVOWYD.js");
|
|
405
|
+
const at = deps.now ?? (/* @__PURE__ */ new Date()).toISOString().replace(/\.\d{3}Z$/, "Z");
|
|
406
|
+
const stages = await retireChangeEscalations(root, changeId, at).catch(() => []);
|
|
407
|
+
if (stages.length)
|
|
408
|
+
io.out(`Retired the ${stages.join(" and ")} stage's question about it: the finding is settled.`);
|
|
409
|
+
}
|
|
373
410
|
return 0;
|
|
374
411
|
} catch (e) {
|
|
375
412
|
return fail(io, e);
|
|
@@ -409,6 +446,7 @@ export {
|
|
|
409
446
|
statusLine,
|
|
410
447
|
critic,
|
|
411
448
|
completeCriticLens,
|
|
449
|
+
completeCriticBatch,
|
|
412
450
|
findings,
|
|
413
451
|
findingAction,
|
|
414
452
|
criticStats
|
|
@@ -5,8 +5,8 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
assistantActor
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-PAINMSID.js";
|
|
9
|
+
import "./chunk-ODMBPDDV.js";
|
|
10
10
|
import "./chunk-TV45EUGM.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/dist/assistant-session.js
|
|
@@ -7,39 +7,40 @@ import {
|
|
|
7
7
|
modelsData,
|
|
8
8
|
reachPlanOf,
|
|
9
9
|
readPathsOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-455SYIIE.js";
|
|
11
11
|
import {
|
|
12
12
|
globHolds,
|
|
13
13
|
modelsModeOf,
|
|
14
14
|
recordNotReached
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-MD7KUEJ3.js";
|
|
16
|
+
import "./chunk-Q46QDDMF.js";
|
|
17
|
+
import "./chunk-TGVVUKTG.js";
|
|
17
18
|
import {
|
|
18
19
|
MODELS_RULE
|
|
19
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3AQ2R5NL.js";
|
|
20
21
|
import {
|
|
21
22
|
lineRangeOf,
|
|
22
23
|
planGaps,
|
|
23
24
|
sameCommit
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-TLDL2ZZI.js";
|
|
25
|
+
} from "./chunk-JYMIB5XY.js";
|
|
26
|
+
import "./chunk-TWQRPM76.js";
|
|
27
|
+
import "./chunk-XOL3GFW2.js";
|
|
28
28
|
import {
|
|
29
29
|
DATA_RULE,
|
|
30
30
|
estimateTokens,
|
|
31
31
|
neutralise,
|
|
32
32
|
wrapData
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-QHJJMZLX.js";
|
|
34
|
+
import "./chunk-7AB6OWTV.js";
|
|
34
35
|
import {
|
|
35
36
|
factsDirOf,
|
|
36
37
|
factsRelOf,
|
|
37
38
|
parseFacts,
|
|
38
39
|
require_dist
|
|
39
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-PAINMSID.js";
|
|
40
41
|
import {
|
|
41
42
|
writeFileAtomic
|
|
42
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-ODMBPDDV.js";
|
|
43
44
|
import {
|
|
44
45
|
__toESM
|
|
45
46
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -0,0 +1,277 @@
|
|
|
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
|
+
repoFor
|
|
8
|
+
} from "./chunk-TGVVUKTG.js";
|
|
9
|
+
import {
|
|
10
|
+
frameworkFacts,
|
|
11
|
+
insideRepo,
|
|
12
|
+
parseReviewed
|
|
13
|
+
} from "./chunk-JYMIB5XY.js";
|
|
14
|
+
import {
|
|
15
|
+
changesSince,
|
|
16
|
+
createGit
|
|
17
|
+
} from "./chunk-XOL3GFW2.js";
|
|
18
|
+
import {
|
|
19
|
+
Conventions,
|
|
20
|
+
DEFAULT_CONVENTIONS,
|
|
21
|
+
QuestionDraft,
|
|
22
|
+
factsDirOf,
|
|
23
|
+
isAdopted,
|
|
24
|
+
isSecretPath,
|
|
25
|
+
loadOrgPack,
|
|
26
|
+
orgPackDirOf,
|
|
27
|
+
parseCorrections,
|
|
28
|
+
parseFactsLines,
|
|
29
|
+
raiseQuestions,
|
|
30
|
+
require_dist,
|
|
31
|
+
serializeFacts
|
|
32
|
+
} from "./chunk-PAINMSID.js";
|
|
33
|
+
import {
|
|
34
|
+
__toESM
|
|
35
|
+
} from "./chunk-TV45EUGM.js";
|
|
36
|
+
|
|
37
|
+
// packages/cli/dist/facts-files.js
|
|
38
|
+
var import_yaml = __toESM(require_dist(), 1);
|
|
39
|
+
import { existsSync } from "node:fs";
|
|
40
|
+
import { mkdir, readFile, rm, writeFile } from "node:fs/promises";
|
|
41
|
+
import { join } from "node:path";
|
|
42
|
+
async function checkoutOf(root, repo, dir) {
|
|
43
|
+
return dir ?? (isAdopted(root) ? root : (await repoFor(root, repo))?.dir ?? void 0);
|
|
44
|
+
}
|
|
45
|
+
async function headOf(dir) {
|
|
46
|
+
try {
|
|
47
|
+
const r = await createGit({ timeoutMs: 3e4 })(["rev-parse", "HEAD"], dir);
|
|
48
|
+
return r.stdout.trim() || void 0;
|
|
49
|
+
} catch {
|
|
50
|
+
return void 0;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
async function carryOf(dir, facts, commit, git) {
|
|
54
|
+
if (!commit)
|
|
55
|
+
return { carry: {}, missing: [] };
|
|
56
|
+
const r = await changesSince(dir, facts.map((f) => f.commit), commit, git);
|
|
57
|
+
return { carry: r.changes, missing: r.missing };
|
|
58
|
+
}
|
|
59
|
+
async function conventionsAt(root) {
|
|
60
|
+
const file = join(orgPackDirOf(root), "conventions.yaml");
|
|
61
|
+
if (!existsSync(file))
|
|
62
|
+
return DEFAULT_CONVENTIONS;
|
|
63
|
+
try {
|
|
64
|
+
const r = Conventions.safeParse((0, import_yaml.parse)(await readFile(file, "utf8")));
|
|
65
|
+
return r.success ? r.data : DEFAULT_CONVENTIONS;
|
|
66
|
+
} catch {
|
|
67
|
+
return DEFAULT_CONVENTIONS;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
async function excludesOf(root, repo) {
|
|
71
|
+
const file = join(orgPackDirOf(root), "scan", `${repo}.yaml`);
|
|
72
|
+
if (!existsSync(file))
|
|
73
|
+
return [];
|
|
74
|
+
try {
|
|
75
|
+
const doc = (0, import_yaml.parse)(await readFile(file, "utf8"));
|
|
76
|
+
return (doc?.exclude ?? []).map((e) => e.path).filter((p) => !!p);
|
|
77
|
+
} catch {
|
|
78
|
+
return [];
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
async function raiseReadQuestions(root, repo, lines, source, by) {
|
|
82
|
+
const drafts = [];
|
|
83
|
+
const problems = [];
|
|
84
|
+
for (const raw of lines) {
|
|
85
|
+
const line = JSON.stringify(raw);
|
|
86
|
+
const r2 = QuestionDraft.safeParse(raw);
|
|
87
|
+
if (!r2.success) {
|
|
88
|
+
problems.push({
|
|
89
|
+
line,
|
|
90
|
+
message: `not a question: ${r2.error.issues.map((i) => `${i.path.join(".") || "(root)"}: ${i.message}`).join("; ")}`
|
|
91
|
+
});
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
94
|
+
const bad = r2.data.evidence.find((e) => {
|
|
95
|
+
const file = e.slice(0, e.lastIndexOf(":"));
|
|
96
|
+
const n = Number(e.slice(e.lastIndexOf(":") + 1));
|
|
97
|
+
if (!insideRepo(file) || isSecretPath(file))
|
|
98
|
+
return true;
|
|
99
|
+
const text = source.read(file);
|
|
100
|
+
return text === void 0 || n < 1 || n > text.split(/\r?\n/).length;
|
|
101
|
+
});
|
|
102
|
+
if (bad) {
|
|
103
|
+
problems.push({ line, message: `its evidence ${bad} is no line of the repo` });
|
|
104
|
+
continue;
|
|
105
|
+
}
|
|
106
|
+
drafts.push(r2.data);
|
|
107
|
+
}
|
|
108
|
+
if (!drafts.length)
|
|
109
|
+
return { raised: [], known: [], problems };
|
|
110
|
+
const r = await raiseQuestions(root, drafts, {
|
|
111
|
+
step: "map",
|
|
112
|
+
repo,
|
|
113
|
+
command: by.command,
|
|
114
|
+
rerun: `atticus map ${repo}`,
|
|
115
|
+
...by.run ? { run: by.run } : {},
|
|
116
|
+
at: by.at
|
|
117
|
+
});
|
|
118
|
+
return { raised: r.raised, known: [...r.known, ...r.reused], problems };
|
|
119
|
+
}
|
|
120
|
+
async function estateComponentsOf(root) {
|
|
121
|
+
const op = await loadOrgPack(orgPackDirOf(root)).catch(() => void 0);
|
|
122
|
+
const repos = (op?.profiles ?? []).flatMap((p) => p.repos?.repos ?? []);
|
|
123
|
+
if (!repos.length)
|
|
124
|
+
return void 0;
|
|
125
|
+
const components = repos.flatMap((r) => [
|
|
126
|
+
r.id,
|
|
127
|
+
...r.component ? [r.component] : [],
|
|
128
|
+
...(r.modules ?? []).map((m) => m.component)
|
|
129
|
+
]);
|
|
130
|
+
const repoComponents = {};
|
|
131
|
+
for (const r of repos) {
|
|
132
|
+
const text = await readFile(join(factsDirOf(root), `${r.id}.jsonl`), "utf8").catch(() => void 0);
|
|
133
|
+
if (text === void 0)
|
|
134
|
+
continue;
|
|
135
|
+
const named = parseFactsLines(text).facts.flatMap((f) => f.component ? [f.component] : []);
|
|
136
|
+
repoComponents[r.id] = [
|
|
137
|
+
.../* @__PURE__ */ new Set([r.component ?? r.id, ...(r.modules ?? []).map((m) => m.component), ...named])
|
|
138
|
+
].sort();
|
|
139
|
+
}
|
|
140
|
+
return { components: [...new Set(components)].sort(), repoComponents };
|
|
141
|
+
}
|
|
142
|
+
var SKIPPED_LISTED = 100;
|
|
143
|
+
function slipNoteLines(slips, verifyYaml, shown = 5) {
|
|
144
|
+
if (!slips.length)
|
|
145
|
+
return [];
|
|
146
|
+
return [
|
|
147
|
+
`${slips.length} ${slips.length === 1 ? "slip" : "slips"} of form fixed in the facts (a note, not a rejection; under slips in ${verifyYaml}):`,
|
|
148
|
+
...slips.slice(0, shown).map((x) => ` ${x.message}`),
|
|
149
|
+
...slips.length > shown ? [` ... and ${slips.length - shown} more (slips in ${verifyYaml})`] : []
|
|
150
|
+
];
|
|
151
|
+
}
|
|
152
|
+
async function writeVerifyFiles(root, repo, report, commit, questionProblems = [], badLines = [], reviewedProblems = [], slips = []) {
|
|
153
|
+
const dir = factsDirOf(root);
|
|
154
|
+
await mkdir(dir, { recursive: true });
|
|
155
|
+
const otherCommit = report.rejected.filter((r) => r.code === "wrong-commit").map((r) => r.fact);
|
|
156
|
+
await writeFile(join(dir, `${repo}.jsonl`), serializeFacts([...report.accepted, ...otherCommit]), "utf8");
|
|
157
|
+
const rejectedFile = join(dir, `${repo}.rejected.jsonl`);
|
|
158
|
+
const lines = [
|
|
159
|
+
...report.rejected.map((r) => JSON.stringify({ code: r.code, message: r.message, fact: r.fact })),
|
|
160
|
+
...questionProblems.map((q) => JSON.stringify({ code: "bad-question", message: q.message, question: JSON.parse(q.line) })),
|
|
161
|
+
...badLines.map((b) => JSON.stringify({ code: "schema", message: b.message, raw: b.raw })),
|
|
162
|
+
...reviewedProblems.map((r) => JSON.stringify({ code: "bad-reviewed", message: r.message, reviewed: r.raw }))
|
|
163
|
+
];
|
|
164
|
+
if (lines.length)
|
|
165
|
+
await writeFile(rejectedFile, lines.join("\n") + "\n", "utf8");
|
|
166
|
+
else
|
|
167
|
+
await rm(rejectedFile, { force: true });
|
|
168
|
+
const summary = {
|
|
169
|
+
repo,
|
|
170
|
+
...commit ? { commit } : {},
|
|
171
|
+
accepted: report.accepted.length,
|
|
172
|
+
rejected: report.rejected.length,
|
|
173
|
+
redacted: report.redacted,
|
|
174
|
+
...report.quotesDropped ? { quotesDropped: report.quotesDropped } : {},
|
|
175
|
+
coverage: {
|
|
176
|
+
ratio: report.coverage.ratio,
|
|
177
|
+
read: report.coverage.read.length,
|
|
178
|
+
...report.coverage.reviewed.length ? { reviewed: report.coverage.reviewed.length } : {},
|
|
179
|
+
unknown: report.coverage.unknown,
|
|
180
|
+
excluded: report.coverage.excluded,
|
|
181
|
+
...report.coverage.notReached.length ? { notReached: report.coverage.notReached } : {}
|
|
182
|
+
},
|
|
183
|
+
rejections: report.rejected.map((r) => ({ id: r.fact.id, code: r.code, message: r.message })),
|
|
184
|
+
// ADR 0124 addendum D-app: a person's corrections, said only when there are some.
|
|
185
|
+
...report.corrections.applied.length || report.corrections.stale.length ? {
|
|
186
|
+
corrections: {
|
|
187
|
+
applied: report.corrections.applied,
|
|
188
|
+
stale: report.corrections.stale.map((s) => ({
|
|
189
|
+
fact: s.correction.fact,
|
|
190
|
+
why: s.why,
|
|
191
|
+
message: s.message
|
|
192
|
+
}))
|
|
193
|
+
}
|
|
194
|
+
} : {}
|
|
195
|
+
};
|
|
196
|
+
if (report.carried.length) {
|
|
197
|
+
const by = /* @__PURE__ */ new Map();
|
|
198
|
+
for (const c of report.carried)
|
|
199
|
+
by.set(c.from, [...by.get(c.from) ?? [], c.id]);
|
|
200
|
+
summary.carried = [...by.entries()].sort((a, b) => a[0] < b[0] ? -1 : 1).map(([from, facts]) => ({ from, facts: facts.sort() }));
|
|
201
|
+
}
|
|
202
|
+
if (report.entriesNoFlowFollows.length)
|
|
203
|
+
summary.entriesNoFlowFollows = report.entriesNoFlowFollows;
|
|
204
|
+
if (report.reviewed.length)
|
|
205
|
+
summary.reviewed = report.reviewed;
|
|
206
|
+
if (report.reviewedDropped.length)
|
|
207
|
+
summary.reviewedDropped = report.reviewedDropped;
|
|
208
|
+
if (report.methodUnseen.length) {
|
|
209
|
+
summary.methodUnseenCount = report.methodUnseen.length;
|
|
210
|
+
summary.methodUnseen = report.methodUnseen;
|
|
211
|
+
}
|
|
212
|
+
if (report.skipped.length) {
|
|
213
|
+
summary.skippedCount = report.skipped.length;
|
|
214
|
+
summary.skipped = report.skipped.slice(0, SKIPPED_LISTED);
|
|
215
|
+
}
|
|
216
|
+
if (report.reviewedHolds.length)
|
|
217
|
+
summary.reviewedHolds = report.reviewedHolds;
|
|
218
|
+
if (report.specOpsUncovered.length) {
|
|
219
|
+
summary.specOpsUncoveredCount = report.specOpsUncovered.length;
|
|
220
|
+
summary.specOpsUncovered = report.specOpsUncovered.slice(0, SKIPPED_LISTED);
|
|
221
|
+
}
|
|
222
|
+
if (slips.length)
|
|
223
|
+
summary.slips = [...slips];
|
|
224
|
+
if (report.authUncited.length)
|
|
225
|
+
summary.authUncited = report.authUncited;
|
|
226
|
+
const fws = frameworkFacts(report.accepted);
|
|
227
|
+
if (fws.length)
|
|
228
|
+
summary.frameworks = fws.map((f) => ({
|
|
229
|
+
name: f.name,
|
|
230
|
+
...f.version ? { version: f.version } : {},
|
|
231
|
+
cite: `${f.cite.file}:${f.cite.line}`,
|
|
232
|
+
...f.component ? { component: f.component } : {}
|
|
233
|
+
}));
|
|
234
|
+
if (report.frameworkGaps.length)
|
|
235
|
+
summary.frameworkGaps = report.frameworkGaps;
|
|
236
|
+
await writeFile(join(dir, `${repo}.verify.yaml`), (0, import_yaml.stringify)(summary), "utf8");
|
|
237
|
+
return summary;
|
|
238
|
+
}
|
|
239
|
+
async function readCorrections(root, repo) {
|
|
240
|
+
const text = await readFile(join(factsDirOf(root), `${repo}.corrections.jsonl`), "utf8").catch(() => void 0);
|
|
241
|
+
return text === void 0 ? { corrections: [], bad: [] } : parseCorrections(text);
|
|
242
|
+
}
|
|
243
|
+
async function readReviewed(root, repo) {
|
|
244
|
+
const text = await readFile(join(factsDirOf(root), `${repo}.reviewed.jsonl`), "utf8").catch(() => void 0);
|
|
245
|
+
if (text === void 0)
|
|
246
|
+
return { entries: [], bad: [] };
|
|
247
|
+
const r = parseReviewed(text);
|
|
248
|
+
return {
|
|
249
|
+
entries: r.entries,
|
|
250
|
+
bad: r.bad.map((b) => ({ line: b.line, raw: b.raw, message: b.message }))
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
function reviewedProblemsOf(bad, report) {
|
|
254
|
+
return [
|
|
255
|
+
...bad,
|
|
256
|
+
...report.reviewedProblems.map((p) => ({
|
|
257
|
+
...p.line !== void 0 ? { line: p.line } : {},
|
|
258
|
+
raw: { path: p.path, why: p.why },
|
|
259
|
+
message: p.message
|
|
260
|
+
}))
|
|
261
|
+
].sort((a, b) => (a.line ?? 0) - (b.line ?? 0));
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export {
|
|
265
|
+
checkoutOf,
|
|
266
|
+
headOf,
|
|
267
|
+
carryOf,
|
|
268
|
+
conventionsAt,
|
|
269
|
+
excludesOf,
|
|
270
|
+
raiseReadQuestions,
|
|
271
|
+
estateComponentsOf,
|
|
272
|
+
slipNoteLines,
|
|
273
|
+
writeVerifyFiles,
|
|
274
|
+
readCorrections,
|
|
275
|
+
readReviewed,
|
|
276
|
+
reviewedProblemsOf
|
|
277
|
+
};
|