@maycombhq/atticus 2.0.0-beta.21 → 2.0.0-beta.23
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 +12 -7
- package/dist/{chunk-BXBCMGIQ.js → chunk-24OXGB3P.js} +1 -1
- package/dist/{chunk-PRW3HXM3.js → chunk-27AJAKX7.js} +29 -5
- package/dist/{chunk-PQH56YF6.js → chunk-2QPJ4E4Z.js} +6 -4
- package/dist/{chunk-7CZHUZBL.js → chunk-2UMSHYCB.js} +38 -27
- package/dist/{chunk-2V2ZPQQU.js → chunk-2WUTCPPJ.js} +9 -7
- package/dist/{chunk-YF5DZCPN.js → chunk-2YSD6E6V.js} +38 -34
- package/dist/{chunk-QHJJMZLX.js → chunk-3424TLIJ.js} +204 -97
- package/dist/{chunk-62DLJSLV.js → chunk-3ASYYMOX.js} +10 -8
- package/dist/{chunk-XOL3GFW2.js → chunk-3EWKO457.js} +111 -43
- package/dist/{chunk-G5YJBNDZ.js → chunk-3EX5HCZD.js} +8 -6
- package/dist/{chunk-WFU77T3A.js → chunk-3MYBT62N.js} +5 -5
- package/dist/{chunk-6EXDI5GI.js → chunk-3UHV76UD.js} +72 -41
- package/dist/{chunk-LU4MQVAL.js → chunk-3ZA3AK2D.js} +11 -10
- package/dist/{chunk-P2VBXX7N.js → chunk-4ETO2FXE.js} +11 -9
- package/dist/{chunk-GK4PYVEC.js → chunk-4FLNCK6Q.js} +31 -14
- package/dist/{chunk-64AADMTW.js → chunk-4GAB5ZOZ.js} +943 -336
- package/dist/{chunk-FLVZFTLQ.js → chunk-4MYHETJ3.js} +20 -18
- package/dist/chunk-4R3TO4VL.js +94 -0
- package/dist/{chunk-7EFILTCI.js → chunk-5F7GFN2F.js} +28 -0
- package/dist/chunk-5MYE42AP.js +43 -0
- package/dist/chunk-5O7U67UA.js +57 -0
- package/dist/{chunk-MZGRDONP.js → chunk-5OXKCH4Z.js} +54 -37
- package/dist/{chunk-PUEWDYGP.js → chunk-5VTIWEWP.js} +3 -2
- package/dist/{chunk-3G6S7LAA.js → chunk-63NFFAGI.js} +14 -12
- package/dist/{chunk-LIJJCBQI.js → chunk-66AQ2JIU.js} +15 -16
- package/dist/chunk-6JVPBGQG.js +50 -0
- package/dist/{chunk-WAZEXEJH.js → chunk-6NCPLIIP.js} +167 -2
- package/dist/{chunk-D57MFJPP.js → chunk-6NN36LVK.js} +3 -3
- package/dist/{chunk-G6IQYM25.js → chunk-6R5VHR3N.js} +8 -6
- package/dist/{chunk-Z3QFH7YG.js → chunk-6RQOINER.js} +5 -4
- package/dist/{chunk-TQTRWENN.js → chunk-6RYB3EET.js} +14 -12
- package/dist/{chunk-FYBF5MB2.js → chunk-6SNTHK43.js} +13 -11
- package/dist/{chunk-FRHD22WM.js → chunk-6Y4FXOMI.js} +27 -23
- package/dist/{chunk-LWDNKE4X.js → chunk-6ZFF7XSL.js} +6 -6
- package/dist/{chunk-FQ6WH6PB.js → chunk-6ZSYLZ7O.js} +6 -4
- package/dist/{chunk-LQH4P45K.js → chunk-73CC73I4.js} +1 -1
- package/dist/{chunk-Q46QDDMF.js → chunk-73GFVW2L.js} +14 -9
- package/dist/{chunk-QKMRFNMA.js → chunk-73V2OONC.js} +17 -15
- package/dist/{chunk-FVMPFCDS.js → chunk-75OMRKY2.js} +4 -4
- package/dist/{chunk-XEQCQO66.js → chunk-7IFTSAHP.js} +10 -8
- package/dist/{chunk-4FOAYLI4.js → chunk-7K5OH45X.js} +139 -17
- package/dist/{chunk-3SSTNB4E.js → chunk-7NQAGYK4.js} +34 -14
- package/dist/{chunk-URIKUID7.js → chunk-7XWJ6ED2.js} +14 -12
- package/dist/{chunk-TYD6I4CZ.js → chunk-7XYLNQFO.js} +7 -7
- package/dist/{chunk-BPPU3PW7.js → chunk-7YQBDE5W.js} +10 -4
- package/dist/{chunk-CPK7QSBG.js → chunk-A4JXVO5O.js} +8 -6
- package/dist/{chunk-YJ3TBOTK.js → chunk-AFBCNZRZ.js} +29 -26
- package/dist/{chunk-TW3KOSQK.js → chunk-AGOLEMHK.js} +13 -13
- package/dist/chunk-AHFQHPFF.js +49 -0
- package/dist/{chunk-NTAVOWYD.js → chunk-APDN6UOR.js} +118 -18
- package/dist/chunk-AQRUQNFB.js +322 -0
- package/dist/{chunk-KYZMRSPS.js → chunk-AVMWESFZ.js} +6 -3
- package/dist/chunk-B4AEL3RF.js +1011 -0
- package/dist/{chunk-GS76RXQE.js → chunk-BAY4K55I.js} +15 -12
- package/dist/{chunk-4CLK2RJO.js → chunk-BFL4PO64.js} +9 -7
- package/dist/{chunk-GCS3FZOB.js → chunk-BFMTGNAQ.js} +15 -4
- package/dist/{chunk-YBOVNMHC.js → chunk-BP33TBLI.js} +29 -16
- package/dist/chunk-BQGDB6ZL.js +7342 -0
- package/dist/{chunk-BXZ4PKIT.js → chunk-BUUJ7N4O.js} +15 -11
- package/dist/{chunk-HGHRSF3E.js → chunk-BYBU2EIB.js} +38 -19
- package/dist/{chunk-TQ4TG57V.js → chunk-C6ORPLCN.js} +4 -4
- package/dist/{chunk-HWD4JPU7.js → chunk-CA3DKO4D.js} +27 -3
- package/dist/{chunk-YTTNTQOX.js → chunk-CFUDAW3R.js} +17 -15
- package/dist/{chunk-OPQZISG3.js → chunk-CJEBRJBS.js} +5 -4
- package/dist/{chunk-RALY3E5U.js → chunk-CKVBDVIW.js} +6 -4
- package/dist/{chunk-DUPZPDCJ.js → chunk-CMB7FXHJ.js} +42 -16
- package/dist/{chunk-YIGBJNH4.js → chunk-CQ7RF4QN.js} +5 -4
- package/dist/{chunk-YAH5IQAL.js → chunk-CS4BMJLL.js} +6 -5
- package/dist/{chunk-455SYIIE.js → chunk-CT6NINGR.js} +5 -3
- package/dist/chunk-CXTG6AWM.js +40 -0
- package/dist/{chunk-JYMIB5XY.js → chunk-CZ2ZS7AT.js} +170 -45
- package/dist/{chunk-K332XW7K.js → chunk-D6BVLTDV.js} +100 -33
- package/dist/chunk-DCRYOMTM.js +37 -0
- package/dist/{chunk-G6X4YL4D.js → chunk-DHKDH464.js} +5 -4
- package/dist/{chunk-JRVNXLZP.js → chunk-DSHRA72L.js} +14 -12
- package/dist/{chunk-LNWEWYCM.js → chunk-E3PDCQRH.js} +2813 -621
- package/dist/chunk-EHXDB3SA.js +25 -0
- package/dist/{chunk-EZIN5E5B.js → chunk-EMVZIOOD.js} +11 -9
- package/dist/{chunk-IFHDV6KQ.js → chunk-ENH6Z4TY.js} +21 -20
- package/dist/{chunk-YKTE2RU3.js → chunk-EVTI22PQ.js} +7 -2
- package/dist/{chunk-2D7PWSOK.js → chunk-EXJZBL5N.js} +22 -20
- package/dist/{chunk-77O633L5.js → chunk-FBCVC2GJ.js} +14 -12
- package/dist/{chunk-HS4BGB4G.js → chunk-FJVUHQPS.js} +37 -24
- package/dist/{chunk-4KNOJC6J.js → chunk-FL344WQD.js} +270 -221
- package/dist/{chunk-GNWAOVFQ.js → chunk-FMJYKLDY.js} +5 -5
- package/dist/chunk-FMR2D3AZ.js +41 -0
- package/dist/{chunk-PAINMSID.js → chunk-FPBUTZI5.js} +3102 -7859
- package/dist/{chunk-ZOSD4FXV.js → chunk-FQVSLBTV.js} +3 -3
- package/dist/chunk-FRAEQVYN.js +52 -0
- package/dist/{chunk-UDXWIPCB.js → chunk-FRCOKUU4.js} +9 -7
- package/dist/{chunk-UYLBRRFK.js → chunk-FSN6JFXB.js} +129 -27
- package/dist/{chunk-BC6KKZ67.js → chunk-FTLYXMHA.js} +9 -6
- package/dist/{chunk-FAJDKNSD.js → chunk-FVYZ4Y52.js} +16 -3
- package/dist/{chunk-TWQRPM76.js → chunk-G6EFXTUO.js} +23 -16
- package/dist/{chunk-ZFQMMU5Y.js → chunk-G7VBMOZH.js} +6 -2
- package/dist/{chunk-VYOCPTUB.js → chunk-GM4EFHUX.js} +17 -15
- package/dist/chunk-GOZLTLRY.js +232 -0
- package/dist/chunk-GPNMSX5H.js +36 -0
- package/dist/{chunk-OZJ3JLYI.js → chunk-GUGQSIQM.js} +10 -9
- package/dist/chunk-H4VO6WG3.js +10 -0
- package/dist/{chunk-QJCJOMW3.js → chunk-HJQVUOUL.js} +16 -18
- package/dist/chunk-HMWJWYE2.js +31 -0
- package/dist/{chunk-4TKVU2I2.js → chunk-HMZ2DRBC.js} +2 -2
- package/dist/{chunk-HK3VOHIE.js → chunk-HRS5O7VV.js} +609 -171
- package/dist/{chunk-7FUIVIBG.js → chunk-HUGQZQ2K.js} +13 -8
- package/dist/{chunk-QOOEYDNJ.js → chunk-ICBGVVRI.js} +10 -10
- package/dist/{chunk-XG4WJHLQ.js → chunk-IGOE6KPG.js} +49 -20
- package/dist/{chunk-4SLBCEPD.js → chunk-IKAW2KJU.js} +95 -64
- package/dist/{chunk-L4CESDPB.js → chunk-IMZFOMVX.js} +1 -1
- package/dist/{chunk-XQ3YZ4QW.js → chunk-ISG547IS.js} +24 -22
- package/dist/{chunk-BA2HUMDN.js → chunk-IYNCSYU4.js} +5 -2
- package/dist/{chunk-UEVZZZU2.js → chunk-J25YOUIZ.js} +5 -4
- package/dist/chunk-J2CDBSFP.js +69 -0
- package/dist/chunk-J2H7YG3K.js +34 -0
- package/dist/{chunk-O4IKAIZ2.js → chunk-J32IPTVQ.js} +28 -22
- package/dist/{chunk-3AQ2R5NL.js → chunk-J4CPHJUL.js} +11 -9
- package/dist/{chunk-VUVGX5L2.js → chunk-JFFKHIM6.js} +1 -1
- package/dist/chunk-JMEWJPF2.js +384 -0
- package/dist/{chunk-LO3BLMVG.js → chunk-JSP73CDW.js} +13 -5
- package/dist/chunk-JXAKYP45.js +63 -0
- package/dist/{chunk-PNQLCRSS.js → chunk-K4OXYSGS.js} +7 -5
- package/dist/{chunk-3J5I7ZOU.js → chunk-K4RNVDR4.js} +4 -4
- package/dist/{chunk-LEBR5NHW.js → chunk-K757G7AD.js} +18 -15
- package/dist/{chunk-AHW3RY3X.js → chunk-KDJ2YKAZ.js} +8 -7
- package/dist/{chunk-4WXRPQDE.js → chunk-KT6Q44CA.js} +178 -31
- package/dist/{chunk-EFCQSMXB.js → chunk-KTNOBTV5.js} +10 -4
- package/dist/chunk-KVVNAUIG.js +66 -0
- package/dist/{chunk-26Z7OGQW.js → chunk-L3RCQWVQ.js} +64 -31
- package/dist/{chunk-3WON4G3M.js → chunk-LHH5KG5A.js} +21 -6
- package/dist/{chunk-NCB6656Z.js → chunk-LM45GMMB.js} +11 -8
- package/dist/{chunk-2HH3UCZM.js → chunk-LO6Y7OTG.js} +5 -4
- package/dist/{chunk-36RY7ZXM.js → chunk-LPDTDFKA.js} +88 -26
- package/dist/{chunk-67BP7HXL.js → chunk-LSHSDC6S.js} +19 -17
- package/dist/{chunk-GDZB57IU.js → chunk-LZVHP7CT.js} +7 -5
- package/dist/{chunk-GC2VK3JT.js → chunk-M3EOFSPY.js} +28 -25
- package/dist/chunk-MBYYQHPM.js +31 -0
- package/dist/{chunk-HXXP2NTE.js → chunk-MEJ63LDG.js} +35 -12
- package/dist/{chunk-2UCRFXFZ.js → chunk-MH2ZK67S.js} +13 -11
- package/dist/{chunk-BEPCKDCP.js → chunk-MLGWSBF4.js} +5447 -4165
- package/dist/{chunk-NRQ65LTQ.js → chunk-MNIPPBCT.js} +6 -5
- package/dist/{chunk-3LZ6P5EP.js → chunk-MUWDB4R4.js} +1 -1
- package/dist/{chunk-KDAHXQIE.js → chunk-MWF4PXQR.js} +38 -34
- package/dist/{chunk-WNTIOBOG.js → chunk-N2YX6JMY.js} +20 -18
- package/dist/{chunk-FY3QIRTL.js → chunk-NAPHHWW2.js} +3 -3
- package/dist/{chunk-D2WSW4GU.js → chunk-NC755EKE.js} +8 -2
- package/dist/{chunk-BA3U7ALS.js → chunk-NCLZJCXA.js} +26 -22
- package/dist/chunk-NKJDO4UC.js +39 -0
- package/dist/chunk-NOYOFYAJ.js +59 -0
- package/dist/{chunk-LPV6T362.js → chunk-NROSSWMS.js} +8 -6
- package/dist/{chunk-ZKYRDV7A.js → chunk-OBUB3H72.js} +14 -12
- package/dist/{chunk-ZQLRCA2V.js → chunk-OCQWSFJD.js} +10 -8
- package/dist/{chunk-42EPP7OB.js → chunk-OK6JGLE7.js} +14 -12
- package/dist/{chunk-MD7KUEJ3.js → chunk-OPWGPQ2N.js} +9 -7
- package/dist/{chunk-SH27FYPF.js → chunk-OSYHGGL3.js} +20 -18
- package/dist/chunk-OXXZZ7HQ.js +50 -0
- package/dist/chunk-P22EPEBR.js +57 -0
- package/dist/chunk-P4YUT7W7.js +45 -0
- package/dist/chunk-PCCLVIDP.js +217 -0
- package/dist/chunk-PFULMC2D.js +48 -0
- package/dist/chunk-PGAMTKBI.js +16 -0
- package/dist/{chunk-Y6K3CJBU.js → chunk-PNSSE7JM.js} +152 -29
- package/dist/{chunk-3UTYPHN3.js → chunk-POEMZECG.js} +1 -1
- package/dist/{chunk-GSGIZ2OO.js → chunk-POSDBRKV.js} +27 -24
- package/dist/{chunk-YZDZOEV4.js → chunk-POSZFDSQ.js} +3 -3
- package/dist/{chunk-7AB6OWTV.js → chunk-PQQKZPBU.js} +31 -25
- package/dist/{chunk-K6JB6XTX.js → chunk-PRMUQUWN.js} +20 -15
- package/dist/{chunk-ICHDSWEY.js → chunk-PT4USJNN.js} +10 -8
- package/dist/{chunk-265LWMOA.js → chunk-PWXB5GBB.js} +18 -16
- package/dist/{chunk-DCWN3HFV.js → chunk-PXMV2LLY.js} +6 -5
- package/dist/{chunk-THN26IEF.js → chunk-PXW2RZGQ.js} +4 -1
- package/dist/{chunk-CG6CULP6.js → chunk-Q367UGYN.js} +7 -5
- package/dist/chunk-QA4O2GGC.js +265 -0
- package/dist/{chunk-7FHNFCHK.js → chunk-QAVRDONY.js} +225 -375
- package/dist/{chunk-VAMHOHUU.js → chunk-QBMLBCQH.js} +16 -13
- package/dist/{chunk-WEOMJHPV.js → chunk-QLQIFJP3.js} +18 -15
- package/dist/{chunk-UZACEG2C.js → chunk-QLWDIKO4.js} +84 -27
- package/dist/{chunk-ZZFHLRQW.js → chunk-QVVGJVVX.js} +18 -16
- package/dist/{chunk-WIWTJMMR.js → chunk-QX4MAMUG.js} +23 -21
- package/dist/{chunk-JYTIHTIK.js → chunk-QZWRPQTI.js} +6 -6
- package/dist/{chunk-5WERBKLE.js → chunk-RCG5IAAT.js} +55 -227
- package/dist/chunk-RGZFOKVO.js +106 -0
- package/dist/{chunk-C7CEK3KW.js → chunk-RLZFL76D.js} +7 -5
- package/dist/{chunk-PTQ3ZALZ.js → chunk-RPQITJNX.js} +14 -12
- package/dist/{chunk-JS6WMC3J.js → chunk-RQQYEDAC.js} +10 -8
- package/dist/chunk-RQSLHZ7T.js +36 -0
- package/dist/{chunk-API5TOUB.js → chunk-RRQUQAXP.js} +1 -1
- package/dist/chunk-RYQ4JCFT.js +65 -0
- package/dist/chunk-S35DIFJH.js +38 -0
- package/dist/{chunk-YWAKDNMH.js → chunk-S5GSQPIN.js} +70 -19
- package/dist/chunk-S5XFO4GY.js +42 -0
- package/dist/chunk-S6LW2RRC.js +25 -0
- package/dist/{chunk-TSM6T6GQ.js → chunk-S6W3D5GS.js} +25 -23
- package/dist/{chunk-5PV7S2ZP.js → chunk-S7GUZ45I.js} +4 -3
- package/dist/{chunk-MMZUN7ZO.js → chunk-SCT4CEF7.js} +22 -20
- package/dist/{chunk-AOCWFA7T.js → chunk-SK5RVP7X.js} +8 -8
- package/dist/chunk-SRTUETF5.js +50 -0
- package/dist/{chunk-E57AOFYN.js → chunk-SVGGMBJI.js} +15 -13
- package/dist/{chunk-OV57AHCG.js → chunk-SWNKO4C4.js} +35 -26
- package/dist/chunk-SYP56T2D.js +65 -0
- package/dist/{chunk-5CMPVC3N.js → chunk-T33TPFGI.js} +25 -23
- package/dist/{chunk-Q26LDIUV.js → chunk-T3FNG2H2.js} +18 -15
- package/dist/{chunk-UFE36WJH.js → chunk-T6MAWL5P.js} +6 -4
- package/dist/{chunk-LN77DXBM.js → chunk-T6MX7WXM.js} +14 -11
- package/dist/{chunk-WCEF7H6L.js → chunk-T7IIEDA3.js} +10 -7
- package/dist/{chunk-2HTEMYTB.js → chunk-TABH4RBZ.js} +163 -84
- package/dist/{chunk-YO2PKTXT.js → chunk-TDSCKP3V.js} +5 -3
- package/dist/{chunk-BVWWPBKD.js → chunk-TMFMXQEN.js} +23 -21
- package/dist/{chunk-4B6BT75O.js → chunk-TNCF26JK.js} +83 -26
- package/dist/{chunk-75ASLHBT.js → chunk-TUM52SOE.js} +21 -15
- package/dist/{chunk-ZLS6PU2O.js → chunk-TV56QLLV.js} +4 -3
- package/dist/{chunk-JKIGL3XQ.js → chunk-TVQSXWWV.js} +36 -33
- package/dist/{chunk-OKUB6RJA.js → chunk-TXNSQ24G.js} +14 -11
- package/dist/{chunk-4CYTJ5TZ.js → chunk-UALE35WK.js} +4 -3
- package/dist/{chunk-CNU5Q2D5.js → chunk-UJF7PIMP.js} +35 -27
- package/dist/chunk-UMCDODBX.js +53 -0
- package/dist/{chunk-M6D2U3YM.js → chunk-UTPIFH4I.js} +4 -3
- package/dist/{chunk-COYN3UAN.js → chunk-V7PEHQZU.js} +95 -26
- package/dist/{chunk-U3NBK4EU.js → chunk-VJFXQISZ.js} +8 -8
- package/dist/chunk-VJZI6KFP.js +47 -0
- package/dist/{chunk-ECLXZWAG.js → chunk-VK7WYA64.js} +14 -12
- package/dist/{chunk-DDJPM5YX.js → chunk-VKTXFFOZ.js} +5 -3
- package/dist/{chunk-LIRVU3HW.js → chunk-VNIN7Q6Q.js} +32 -20
- package/dist/{chunk-7QPCGTPS.js → chunk-VRO7KSGL.js} +24 -21
- package/dist/{chunk-AZDITBCT.js → chunk-W3AZE7LN.js} +3 -3
- package/dist/chunk-W4TNCEI4.js +44 -0
- package/dist/{chunk-S2RY3BOD.js → chunk-W5VYJWOG.js} +31 -21
- package/dist/{chunk-X2CUXTWU.js → chunk-WF3RCZNO.js} +6 -6
- package/dist/{chunk-4D62IZII.js → chunk-WOMQQWTO.js} +7 -5
- package/dist/{chunk-UF4UHCIG.js → chunk-WXVTYLVH.js} +6 -4
- package/dist/{chunk-EDZ45WIR.js → chunk-WYGTSZHR.js} +18 -14
- package/dist/{chunk-HSZMPH5T.js → chunk-WZYM5M4U.js} +592 -133
- package/dist/chunk-X5ZHDSLU.js +49 -0
- package/dist/chunk-X7XVMYIL.js +5 -0
- package/dist/chunk-X7ZKNSK4.js +41 -0
- package/dist/{chunk-QE527XRY.js → chunk-XAPXKFIS.js} +26 -23
- package/dist/{chunk-HE3HRDNZ.js → chunk-XF6TSZW2.js} +2 -2
- package/dist/{chunk-GX74YWR7.js → chunk-XFDDJQT7.js} +16 -14
- package/dist/{chunk-5QUOPNLN.js → chunk-XGO74QWR.js} +4 -4
- package/dist/chunk-XLZAAAPX.js +43 -0
- package/dist/{chunk-NYOABJNK.js → chunk-XMUWPA56.js} +26 -24
- package/dist/{chunk-M4H2UG4R.js → chunk-XNFM6WUK.js} +19 -16
- package/dist/{chunk-TGVVUKTG.js → chunk-XOMEQVLK.js} +2 -2
- package/dist/{chunk-A2G72UI4.js → chunk-Y2H7X3VI.js} +7 -7
- package/dist/{chunk-37WE3LS2.js → chunk-Y5IE6YKD.js} +5 -3
- package/dist/{chunk-IFFRGC3N.js → chunk-YD3KTW4H.js} +14 -12
- package/dist/{chunk-75ZOZFGH.js → chunk-YDCOZOER.js} +20 -18
- package/dist/{chunk-6DQYZU2W.js → chunk-YERAAEO4.js} +20 -20
- package/dist/{chunk-J5AAZ6OJ.js → chunk-YHMPDIRG.js} +5 -4
- package/dist/{chunk-CNPY4NTZ.js → chunk-Z2D4P3R3.js} +15 -13
- package/dist/{chunk-E2VXBSIR.js → chunk-Z3H27OMV.js} +6 -4
- package/dist/{chunk-AE4P57KK.js → chunk-Z3RAFU5B.js} +17 -15
- package/dist/{chunk-RA33EYS4.js → chunk-ZENHDXRZ.js} +23 -17
- package/dist/{chunk-TJH2EUAZ.js → chunk-ZFHFC74B.js} +20 -18
- package/dist/{chunk-4PYC2UGC.js → chunk-ZGULQAPZ.js} +7 -4
- package/dist/{chunk-4SKZDI62.js → chunk-ZIUFM5HT.js} +3 -1
- package/dist/{chunk-JAABT3DA.js → chunk-ZJGCGKA4.js} +4 -3
- package/dist/{chunk-GIFMBCTW.js → chunk-ZLQEQR3D.js} +10 -8
- package/dist/{chunk-I2A3Z5AK.js → chunk-ZNHQGG7J.js} +7 -7
- package/dist/{chunk-5TDRBOAV.js → chunk-ZNTTW4IT.js} +7 -5
- package/dist/{chunk-ZX7235KR.js → chunk-ZR6J4QFQ.js} +44 -383
- package/dist/{chunk-F6H2RJ3N.js → chunk-ZSNOILL5.js} +1 -1
- package/dist/files.json +585 -509
- package/dist/packages/sdk/npm/index.js +1491 -110
- package/dist/packages/ui/dist/assets/{elk-api-CowTnhEJ.js → elk-api-DxfAMOJq.js} +2 -2
- package/dist/packages/ui/dist/assets/index-Buit9TfP.js +62 -0
- package/dist/packages/ui/dist/assets/index-Jyc9dFeZ.css +1 -0
- package/dist/packages/ui/dist/index.html +3 -2
- package/package.json +3 -3
- package/dist/chunk-26WBY34Y.js +0 -37
- package/dist/chunk-3TD6S4TC.js +0 -49
- package/dist/chunk-5G7ILBUG.js +0 -66
- package/dist/chunk-6FNAKCET.js +0 -38
- package/dist/chunk-AM6FP6JW.js +0 -43
- package/dist/chunk-CFH3QH26.js +0 -29
- package/dist/chunk-CLD4RVTA.js +0 -45
- package/dist/chunk-D5KV5PSK.js +0 -45
- package/dist/chunk-D5MASS4I.js +0 -48
- package/dist/chunk-DN4A2Q2O.js +0 -57
- package/dist/chunk-FGAGWYZB.js +0 -47
- package/dist/chunk-GUYL7RMK.js +0 -60
- package/dist/chunk-J2O4LFVI.js +0 -80
- package/dist/chunk-JITJP64K.js +0 -34
- package/dist/chunk-JRXHON4E.js +0 -41
- package/dist/chunk-JU4QNJSR.js +0 -62
- package/dist/chunk-N3RUGTGV.js +0 -39
- package/dist/chunk-ODMBPDDV.js +0 -298
- package/dist/chunk-OMPENNWY.js +0 -39
- package/dist/chunk-PKJAV25S.js +0 -43
- package/dist/chunk-PRTBPXYA.js +0 -50
- package/dist/chunk-PRZ7KMWL.js +0 -42
- package/dist/chunk-QSIDVFB7.js +0 -45
- package/dist/chunk-SB5GRUFM.js +0 -54
- package/dist/chunk-T74WQQGS.js +0 -40
- package/dist/chunk-X7EMBM5X.js +0 -34
- package/dist/chunk-Z6VLC5X4.js +0 -36
- package/dist/chunk-ZPDDEVQX.js +0 -47
- package/dist/packages/ui/dist/assets/index-Dw20IRhQ.css +0 -1
- package/dist/packages/ui/dist/assets/index-z2wv0d5d.js +0 -47
|
@@ -10,17 +10,17 @@ import {
|
|
|
10
10
|
parseHeader,
|
|
11
11
|
renderAssistantFiles,
|
|
12
12
|
writeAssistantFiles
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-J4CPHJUL.js";
|
|
14
14
|
import {
|
|
15
15
|
BUILT_IN_CHECKS,
|
|
16
16
|
STARTER_REVIEW_PATH,
|
|
17
17
|
starterReviewText
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-D6BVLTDV.js";
|
|
19
19
|
import {
|
|
20
20
|
changeFootprint,
|
|
21
21
|
changeStore,
|
|
22
22
|
loadChangeContext
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WZYM5M4U.js";
|
|
24
24
|
import {
|
|
25
25
|
ORG_FLOW,
|
|
26
26
|
createOpenSpec,
|
|
@@ -28,23 +28,24 @@ import {
|
|
|
28
28
|
storeIdOf,
|
|
29
29
|
writeOrgFlowSchema,
|
|
30
30
|
writeStoreMarker
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-NC755EKE.js";
|
|
32
32
|
import {
|
|
33
33
|
readCatalog
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-IKAW2KJU.js";
|
|
35
35
|
import {
|
|
36
36
|
componentExtractor
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import {
|
|
39
|
-
createGit,
|
|
40
|
-
ensureGitignore
|
|
41
|
-
} from "./chunk-XOL3GFW2.js";
|
|
37
|
+
} from "./chunk-G6EFXTUO.js";
|
|
42
38
|
import {
|
|
43
39
|
DEFAULT_IGNORES,
|
|
44
40
|
fsRepo,
|
|
45
41
|
memoryRepo,
|
|
46
42
|
runExtractor
|
|
47
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-PQQKZPBU.js";
|
|
44
|
+
import {
|
|
45
|
+
cloneUrlKey,
|
|
46
|
+
createGit,
|
|
47
|
+
ensureGitignore
|
|
48
|
+
} from "./chunk-3EWKO457.js";
|
|
48
49
|
import {
|
|
49
50
|
ChangeLifecycle,
|
|
50
51
|
ChecklistPack,
|
|
@@ -59,12 +60,17 @@ import {
|
|
|
59
60
|
SOURCES_SCHEMA_VERSION,
|
|
60
61
|
SkillMeta,
|
|
61
62
|
Sources,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
WORKSPACE_SCHEMA_VERSION,
|
|
64
|
+
eolOf,
|
|
65
|
+
inEol,
|
|
66
|
+
loadOrgPack
|
|
67
|
+
} from "./chunk-FPBUTZI5.js";
|
|
65
68
|
import {
|
|
66
69
|
LOCAL_ONLY
|
|
67
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-B4AEL3RF.js";
|
|
71
|
+
import {
|
|
72
|
+
require_dist
|
|
73
|
+
} from "./chunk-BQGDB6ZL.js";
|
|
68
74
|
import {
|
|
69
75
|
__toESM
|
|
70
76
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -405,7 +411,7 @@ async function detectRepoType(repo, o = {}) {
|
|
|
405
411
|
|
|
406
412
|
// packages/adopt/dist/discover.js
|
|
407
413
|
var import_yaml2 = __toESM(require_dist(), 1);
|
|
408
|
-
import { readdir as readdir2, realpath } from "node:fs/promises";
|
|
414
|
+
import { readdir as readdir2, readFile as readFile2, realpath } from "node:fs/promises";
|
|
409
415
|
import { basename, isAbsolute, join as join3, relative as relative2, resolve } from "node:path";
|
|
410
416
|
var UNASSIGNED = "unassigned";
|
|
411
417
|
var MockRepoListing = class {
|
|
@@ -428,12 +434,15 @@ var MockRepoListing = class {
|
|
|
428
434
|
throw new Error(`no repo ${repo.name} on the mock Git host`);
|
|
429
435
|
}
|
|
430
436
|
};
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
437
|
+
function withoutCredentials(url) {
|
|
438
|
+
return url.replace(/^(https?:\/\/)[^/@]*@/i, "$1");
|
|
439
|
+
}
|
|
440
|
+
async function originUrl(dir, git) {
|
|
441
|
+
if (!await exists(join3(dir, ".git")))
|
|
434
442
|
return void 0;
|
|
435
|
-
const
|
|
436
|
-
|
|
443
|
+
const asked = await isDir(join3(dir, ".git")) ? ["config", "--file", join3(dir, ".git", "config"), "--get", "remote.origin.url"] : ["config", "--get", "remote.origin.url"];
|
|
444
|
+
const url = await git(asked, dir).then((r) => r.stdout.replace(/\r?\n$/, ""), () => "");
|
|
445
|
+
return url ? withoutCredentials(url) : void 0;
|
|
437
446
|
}
|
|
438
447
|
async function headBranch(dir) {
|
|
439
448
|
const head = await readText(join3(dir, ".git", "HEAD"));
|
|
@@ -598,27 +607,41 @@ function questionsFor(entry, det) {
|
|
|
598
607
|
return q;
|
|
599
608
|
}
|
|
600
609
|
async function existingManifest(path) {
|
|
601
|
-
const text2 = await
|
|
610
|
+
const text2 = await readFile2(path, "utf8").catch(() => void 0);
|
|
602
611
|
if (text2 === void 0)
|
|
603
612
|
return void 0;
|
|
604
613
|
try {
|
|
605
614
|
const r = RepoManifest.safeParse((0, import_yaml2.parse)(text2));
|
|
606
|
-
return r.success ? r.data.repos : null;
|
|
615
|
+
return { text: text2, repos: r.success ? r.data.repos : null };
|
|
607
616
|
} catch {
|
|
608
|
-
return null;
|
|
617
|
+
return { text: text2, repos: null };
|
|
609
618
|
}
|
|
610
619
|
}
|
|
620
|
+
var unset = (k, v) => v === void 0 || Array.isArray(v) && v.length === 0 || k === "archived" && v === false;
|
|
621
|
+
function entryOut(r) {
|
|
622
|
+
const out = {};
|
|
623
|
+
for (const [k, v] of Object.entries(r)) {
|
|
624
|
+
if (unset(k, v))
|
|
625
|
+
continue;
|
|
626
|
+
out[k] = k === "modules" ? v.map((m) => Object.fromEntries(Object.entries(m).filter(([mk, mv]) => !unset(mk, mv)))) : v;
|
|
627
|
+
}
|
|
628
|
+
return out;
|
|
629
|
+
}
|
|
630
|
+
function sameRepo(a, b) {
|
|
631
|
+
const ka = cloneUrlKey(a.url);
|
|
632
|
+
const kb = cloneUrlKey(b.url);
|
|
633
|
+
return ka !== void 0 && kb !== void 0 ? ka === kb : a.url.trim() === b.url.trim();
|
|
634
|
+
}
|
|
611
635
|
var HEADER = "# Proposed by atticus repos discover. Types come from each repo's files; owners marked\n# `unassigned` and missing systems are questions (see QUESTIONS.md). Review before use.\n";
|
|
612
636
|
async function reposDiscover(root, source, o = {}, paths) {
|
|
613
637
|
const p = paths ?? await resolveMetarepo(root);
|
|
638
|
+
const git = o.git ?? createGit({ timeoutMs: 15e3 });
|
|
614
639
|
let platform = o.platform;
|
|
615
640
|
if (!platform) {
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
platform = "default";
|
|
621
|
-
}
|
|
641
|
+
const profiles = (await readdir2(join3(p.orgPackDir, "profiles"), { withFileTypes: true }).catch(() => [])).filter((d) => d.isDirectory()).map((d) => d.name).sort();
|
|
642
|
+
if (profiles.length > 1)
|
|
643
|
+
throw new AdoptError("usage", `There are ${profiles.length} platform profiles (${profiles.join(", ")}): say which the repos belong to with --platform.`);
|
|
644
|
+
platform = profiles[0] ?? "default";
|
|
622
645
|
}
|
|
623
646
|
const found = [];
|
|
624
647
|
let skipped = [];
|
|
@@ -637,7 +660,7 @@ async function reposDiscover(root, source, o = {}, paths) {
|
|
|
637
660
|
const det = await detectRepoType(repo);
|
|
638
661
|
const rel = toPosix(relative2(root, dir));
|
|
639
662
|
const inside = !rel.startsWith("..") && !isAbsolute(rel);
|
|
640
|
-
const url = o.inPlace && inside ? rel === "" ? "." : `./${rel}` : await originUrl(dir) ?? toPosix(resolve(dir));
|
|
663
|
+
const url = o.inPlace && inside ? rel === "" ? "." : `./${rel}` : await originUrl(dir, git) ?? toPosix(resolve(dir));
|
|
641
664
|
const entry = {
|
|
642
665
|
id: uniqueId(dir === source.dir ? basename(resolve(dir)) : basename(dir)),
|
|
643
666
|
url,
|
|
@@ -677,45 +700,67 @@ async function reposDiscover(root, source, o = {}, paths) {
|
|
|
677
700
|
});
|
|
678
701
|
}
|
|
679
702
|
}
|
|
680
|
-
const questions = found.flatMap((f) => questionsFor(f.entry, f.detection));
|
|
681
703
|
const manifestPath = join3(p.orgPackDir, "profiles", platform, "repos.manifest.yaml");
|
|
682
704
|
const current = await existingManifest(manifestPath);
|
|
683
|
-
const
|
|
705
|
+
const kept = current?.repos ?? [];
|
|
706
|
+
const renamed = [];
|
|
707
|
+
const taken = /* @__PURE__ */ new Set([...kept.map((r) => r.id), ...found.map((f) => f.entry.id)]);
|
|
708
|
+
const added = [];
|
|
709
|
+
for (const f of found) {
|
|
710
|
+
if (kept.some((k) => sameRepo(k, f.entry)))
|
|
711
|
+
continue;
|
|
712
|
+
if (kept.some((k) => k.id === f.entry.id)) {
|
|
713
|
+
let id = f.entry.id;
|
|
714
|
+
for (let n = 2; taken.has(id); n++)
|
|
715
|
+
id = `${f.entry.id}-${n}`;
|
|
716
|
+
taken.add(id);
|
|
717
|
+
renamed.push({
|
|
718
|
+
from: f.entry.id,
|
|
719
|
+
to: id,
|
|
720
|
+
why: `the manifest lists ${f.entry.id} already, with another clone URL`
|
|
721
|
+
});
|
|
722
|
+
f.entry = { ...f.entry, id };
|
|
723
|
+
}
|
|
724
|
+
added.push(f);
|
|
725
|
+
}
|
|
726
|
+
const questions = found.flatMap((f) => questionsFor(f.entry, f.detection));
|
|
727
|
+
const result = {
|
|
728
|
+
platform,
|
|
729
|
+
repos: found,
|
|
730
|
+
skipped,
|
|
731
|
+
questions,
|
|
732
|
+
renamed,
|
|
733
|
+
wrote: "nothing"
|
|
734
|
+
};
|
|
684
735
|
if (o.dryRun)
|
|
685
736
|
return result;
|
|
686
|
-
const
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
component: m.component,
|
|
703
|
-
...m.hosts.length ? { hosts: m.hosts } : {}
|
|
704
|
-
}))
|
|
705
|
-
} : {}
|
|
706
|
-
}))
|
|
707
|
-
}, { lineWidth: 0 });
|
|
737
|
+
const fresh = (repos) => (0, import_yaml2.stringify)({ schemaVersion: WORKSPACE_SCHEMA_VERSION, platform, repos: repos.map(entryOut) }, { lineWidth: 0 });
|
|
738
|
+
const appended = (text2, repos) => {
|
|
739
|
+
const doc = (0, import_yaml2.parseDocument)(text2.replace(/\r\n/g, "\n"));
|
|
740
|
+
let list = doc.get("repos");
|
|
741
|
+
if (!(0, import_yaml2.isSeq)(list)) {
|
|
742
|
+
doc.set("repos", doc.createNode([]));
|
|
743
|
+
list = doc.get("repos");
|
|
744
|
+
}
|
|
745
|
+
if (!(0, import_yaml2.isSeq)(list))
|
|
746
|
+
return fresh(repos);
|
|
747
|
+
if (!list.items.length)
|
|
748
|
+
list.flow = false;
|
|
749
|
+
for (const r of repos)
|
|
750
|
+
list.add(doc.createNode(entryOut(r)));
|
|
751
|
+
return inEol(doc.toString({ lineWidth: 0, flowCollectionPadding: /\[ \S/.test(text2) }), eolOf(text2));
|
|
752
|
+
};
|
|
708
753
|
const proposalDir = join3(p.proposalsDir, "repos", platform);
|
|
709
|
-
if (current === void 0 || current !== null && current.length === 0) {
|
|
710
|
-
|
|
754
|
+
if (current === void 0 || current.repos !== null && current.repos.length === 0) {
|
|
755
|
+
const entries = found.map((f) => f.entry);
|
|
756
|
+
await writeNew(manifestPath, current ? inEol((current.text.includes(HEADER) ? "" : HEADER) + appended(current.text, entries), eolOf(current.text)) : HEADER + fresh(entries), false);
|
|
711
757
|
result.wrote = "manifest";
|
|
712
758
|
result.file = toPosix(relative2(root, manifestPath));
|
|
759
|
+
await writeNew(join3(p.orgPackDir, "profiles", platform, "profile.yaml"), (0, import_yaml2.stringify)({ schemaVersion: 1, platform, name: platform, systems: [] }, { lineWidth: 0 }));
|
|
713
760
|
} else {
|
|
714
|
-
const kept = current ?? [];
|
|
715
|
-
const have = new Set(kept.flatMap((r) => [r.id, r.url]));
|
|
716
|
-
const added = found.filter((f) => !have.has(f.entry.id) && !have.has(f.entry.url));
|
|
717
761
|
const file = join3(proposalDir, "repos.manifest.yaml");
|
|
718
|
-
|
|
762
|
+
const entries = added.map((a) => a.entry);
|
|
763
|
+
await writeNew(file, current.repos === null ? HEADER + fresh(entries) : inEol(HEADER + appended(current.text, entries), eolOf(current.text)), false);
|
|
719
764
|
result.wrote = "proposal";
|
|
720
765
|
result.file = toPosix(relative2(root, file));
|
|
721
766
|
}
|
|
@@ -762,6 +807,18 @@ var FOLDER_READMES = [
|
|
|
762
807
|
"# Service-desk templates\n\nOne YAML file per request template. `atticus templates draft` proposes them from wikis and past tickets.\n"
|
|
763
808
|
]
|
|
764
809
|
];
|
|
810
|
+
function runtimeText(gitHost) {
|
|
811
|
+
if (!gitHost)
|
|
812
|
+
return yaml(DEFAULT_RUNTIME, DEFAULT_HEADER);
|
|
813
|
+
const doc = new import_yaml3.Document(DEFAULT_RUNTIME);
|
|
814
|
+
const host = gitHost.metarepo ? doc.createNode({ type: "manual", settings: { metarepo: gitHost.metarepo } }) : doc.createNode("manual");
|
|
815
|
+
doc.setIn(["adapters", "gitHost"], host);
|
|
816
|
+
const adapters = doc.get("adapters");
|
|
817
|
+
if ((0, import_yaml3.isMap)(adapters))
|
|
818
|
+
adapters.flow = false;
|
|
819
|
+
return `# ${DEFAULT_HEADER}
|
|
820
|
+
${doc.toString({ lineWidth: 0 })}`;
|
|
821
|
+
}
|
|
765
822
|
async function writeStartingPack(dir, p) {
|
|
766
823
|
const files = [
|
|
767
824
|
[
|
|
@@ -780,13 +837,14 @@ async function writeStartingPack(dir, p) {
|
|
|
780
837
|
],
|
|
781
838
|
[
|
|
782
839
|
`profiles/${p.platform}/repos.manifest.yaml`,
|
|
783
|
-
|
|
840
|
+
// Round 50: at the current version, so a new metarepo has no manifest step to upgrade.
|
|
841
|
+
yaml({ schemaVersion: WORKSPACE_SCHEMA_VERSION, platform: p.platform, repos: [] })
|
|
784
842
|
],
|
|
785
843
|
["checklists/README.md", p.defaults ? STARTER_CHECKLISTS_README : CHECKLISTS_README],
|
|
786
844
|
...FOLDER_READMES
|
|
787
845
|
];
|
|
788
846
|
if (p.defaults)
|
|
789
|
-
files.push([STARTER_REVIEW_PATH, await starterReviewText()], ["change-types.yaml", yaml(DEFAULT_CHANGE_TYPES, DEFAULT_HEADER)], ["gates.yaml", yaml(DEFAULT_GATES, DEFAULT_HEADER)], ["runtime.yaml",
|
|
847
|
+
files.push([STARTER_REVIEW_PATH, await starterReviewText()], ["change-types.yaml", yaml(DEFAULT_CHANGE_TYPES, DEFAULT_HEADER)], ["gates.yaml", yaml(DEFAULT_GATES, DEFAULT_HEADER)], ["runtime.yaml", runtimeText(p.gitHost)], ["test-strategy.yaml", yaml(DEFAULT_TEST_STRATEGY, DEFAULT_HEADER)]);
|
|
790
848
|
const written = [];
|
|
791
849
|
for (const [rel, text2] of files)
|
|
792
850
|
if (await writeNew(join4(dir, ...rel.split("/")), text2))
|
|
@@ -795,9 +853,25 @@ async function writeStartingPack(dir, p) {
|
|
|
795
853
|
}
|
|
796
854
|
|
|
797
855
|
// packages/adopt/dist/init.js
|
|
798
|
-
import { mkdir as mkdir2, readFile as
|
|
856
|
+
import { mkdir as mkdir2, readFile as readFile3, writeFile as writeFile2 } from "node:fs/promises";
|
|
799
857
|
import { dirname as dirname2, join as join5, resolve as resolve2 } from "node:path";
|
|
800
858
|
var ATTICUS_FOLDER_IGNORE = ["/.atticus/*", "!/.atticus/metarepo.yaml"];
|
|
859
|
+
function metarepoIdFromUrl(url) {
|
|
860
|
+
const u = url.trim().replace(/^([a-z][a-z0-9+.-]*:\/\/[^?#]*)[?#].*$/i, "$1").replace(/[/\\]+$/, "").replace(/\.git$/i, "");
|
|
861
|
+
if (!u)
|
|
862
|
+
return void 0;
|
|
863
|
+
const underGit = /\/_git\/([^/]+)/.exec(u);
|
|
864
|
+
if (underGit)
|
|
865
|
+
return decodeURIComponent(underGit[1]);
|
|
866
|
+
const scheme = /^[a-z][a-z0-9+.-]*:\/\/[^/]+\/(.+)$/i.exec(u);
|
|
867
|
+
const scp = /^[^/\\@\s]+@[^:/\\]+:(.+)$/.exec(u);
|
|
868
|
+
const path = scheme?.[1] ?? scp?.[1];
|
|
869
|
+
if (path) {
|
|
870
|
+
const parts = path.split("/").filter(Boolean).map(decodeURIComponent);
|
|
871
|
+
return parts.slice(-2).join("/") || void 0;
|
|
872
|
+
}
|
|
873
|
+
return u.split(/[/\\]/).pop() || void 0;
|
|
874
|
+
}
|
|
801
875
|
async function insideRepo(dir) {
|
|
802
876
|
for (let d = resolve2(dir); ; d = dirname2(d)) {
|
|
803
877
|
if (await exists(join5(d, ".git")))
|
|
@@ -864,12 +938,14 @@ async function init(dir, o) {
|
|
|
864
938
|
defaults: false
|
|
865
939
|
});
|
|
866
940
|
} else {
|
|
941
|
+
const origin = o.metarepo ?? (gitState !== "inside" ? void 0 : await (o.git ?? createGit())(["config", "--get", "remote.origin.url"], dir).then((r) => metarepoIdFromUrl(r.stdout), () => void 0));
|
|
867
942
|
await writeStartingPack(orgPack, {
|
|
868
943
|
name: o.name,
|
|
869
944
|
platform: o.platform,
|
|
870
945
|
owner,
|
|
871
946
|
sources: { schemaVersion: SOURCES_SCHEMA_VERSION },
|
|
872
|
-
defaults: true
|
|
947
|
+
defaults: true,
|
|
948
|
+
gitHost: origin ? { metarepo: origin } : {}
|
|
873
949
|
});
|
|
874
950
|
}
|
|
875
951
|
let mode = "folders";
|
|
@@ -906,11 +982,10 @@ async function init(dir, o) {
|
|
|
906
982
|
await writeNew(join5(dir, "README.md"), README(o.name, o.platform));
|
|
907
983
|
await ensureGitignore(dir);
|
|
908
984
|
const gi = join5(dir, ".gitignore");
|
|
909
|
-
const text2 = await
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
`}${ATTICUS_FOLDER_IGNORE.join("
|
|
913
|
-
`, "utf8");
|
|
985
|
+
const text2 = await readFile3(gi, "utf8");
|
|
986
|
+
const eol = text2.includes("\r\n") ? "\r\n" : "\n";
|
|
987
|
+
if (!/^\/?\.atticus(\/\*?)?\r?$/m.test(text2))
|
|
988
|
+
await writeFile2(gi, `${text2.endsWith("\n") ? text2 : `${text2}${eol}`}${ATTICUS_FOLDER_IGNORE.join(eol)}${eol}`, "utf8");
|
|
914
989
|
const op = await loadOrgPack(orgPack);
|
|
915
990
|
let assistantFiles = 0;
|
|
916
991
|
try {
|
|
@@ -1011,6 +1086,8 @@ var GITIGNORE = `# Atticus local state in an adopted repo: never committed.
|
|
|
1011
1086
|
${STATE_FOLDERS.map((f) => `/${f}/`).join("\n")}
|
|
1012
1087
|
/executors.yaml
|
|
1013
1088
|
/inputs/inbox/
|
|
1089
|
+
# This machine's own files: never committed.
|
|
1090
|
+
${LOCAL_ONLY.join("\n")}
|
|
1014
1091
|
`;
|
|
1015
1092
|
var README2 = `# .atticus
|
|
1016
1093
|
|
|
@@ -1103,7 +1180,7 @@ async function adopt(path, o = {}) {
|
|
|
1103
1180
|
}
|
|
1104
1181
|
|
|
1105
1182
|
// packages/adopt/dist/unadopt.js
|
|
1106
|
-
import { readFile as
|
|
1183
|
+
import { readFile as readFile4, rm, rmdir, writeFile as writeFile4 } from "node:fs/promises";
|
|
1107
1184
|
import { join as join7, resolve as resolve4 } from "node:path";
|
|
1108
1185
|
var ROOT_STATE = ["workspace", ".index", ".runs"];
|
|
1109
1186
|
var CHANGE_OWNED = /* @__PURE__ */ new Set(["change.yaml", "brief.md", "repos.yaml", "ux.md"]);
|
|
@@ -1155,7 +1232,7 @@ async function unadopt(path) {
|
|
|
1155
1232
|
const layout = await readLayout(join7(a, "org-pack"));
|
|
1156
1233
|
let snap;
|
|
1157
1234
|
try {
|
|
1158
|
-
snap = JSON.parse(await
|
|
1235
|
+
snap = JSON.parse(await readFile4(join7(root, SNAPSHOT_FILE), "utf8"));
|
|
1159
1236
|
} catch {
|
|
1160
1237
|
snap = void 0;
|
|
1161
1238
|
}
|
|
@@ -1193,7 +1270,7 @@ async function unadopt(path) {
|
|
|
1193
1270
|
for (const f of files) {
|
|
1194
1271
|
const full = join7(root, f);
|
|
1195
1272
|
if (existed(f)) {
|
|
1196
|
-
const now = sha256(await
|
|
1273
|
+
const now = sha256(await readFile4(full));
|
|
1197
1274
|
if (now === before[f])
|
|
1198
1275
|
continue;
|
|
1199
1276
|
const text2 = await readText(full) ?? "";
|
|
@@ -1872,7 +1949,7 @@ async function openSource(source, o) {
|
|
|
1872
1949
|
|
|
1873
1950
|
// packages/adopt/dist/absorb/absorb.js
|
|
1874
1951
|
var import_yaml7 = __toESM(require_dist(), 1);
|
|
1875
|
-
import { mkdir as mkdir5, readFile as
|
|
1952
|
+
import { mkdir as mkdir5, readFile as readFile5, rm as rm3, writeFile as writeFile5 } from "node:fs/promises";
|
|
1876
1953
|
import { dirname as dirname4, join as join9 } from "node:path";
|
|
1877
1954
|
var DOC = /(^|\/)(README|LICENSE|LICENCE|CHANGELOG|CONTRIBUTING|CODE_OF_CONDUCT|SECURITY|NOTICE|CODEOWNERS)(\.(md|txt|rst|adoc))?$/i;
|
|
1878
1955
|
var CODE = /\.(java|kt|scala|groovy|ts|tsx|js|jsx|mjs|cjs|vue|py|go|cs|fs|rb|php|rs|c|h|cpp|swift|sql|sh|ps1|bat|cbl|cob|jcl|cpy|tf|hcl|gradle|xml|properties|toml|lock|csproj|sln|dockerfile|ini|cfg)$|(^|\/)(Dockerfile|Makefile|tspconfig\.ya?ml|go\.mod|go\.sum|package\.json|package-lock\.json|pnpm-lock\.yaml|yarn\.lock|requirements\.txt|\.gitignore|\.gitattributes|\.editorconfig|\.npmrc|\.nvmrc)$/i;
|
|
@@ -1908,7 +1985,7 @@ async function absorb(root, source, o, paths) {
|
|
|
1908
1985
|
fmt.openspec = theirs.sources.layout.openspec;
|
|
1909
1986
|
}
|
|
1910
1987
|
const files = (await listFiles(dir, { skipNames: /* @__PURE__ */ new Set([".git", "node_modules"]) })).filter((f) => !isLocalState(f, fmt.format === "atticus"));
|
|
1911
|
-
const read = async (f) => (await
|
|
1988
|
+
const read = async (f) => (await readFile5(join9(dir, f), "utf8")).replace(/\r\n/g, "\n");
|
|
1912
1989
|
const items = [];
|
|
1913
1990
|
const problems = [];
|
|
1914
1991
|
const claimed = /* @__PURE__ */ new Set();
|
|
@@ -2441,7 +2518,7 @@ async function absorb(root, source, o, paths) {
|
|
|
2441
2518
|
files: [],
|
|
2442
2519
|
problems,
|
|
2443
2520
|
ms: 0,
|
|
2444
|
-
sourceFiles: Object.fromEntries(await Promise.all(files.map(async (f) => [f, sha256(await
|
|
2521
|
+
sourceFiles: Object.fromEntries(await Promise.all(files.map(async (f) => [f, sha256(await readFile5(join9(dir, f)))])))
|
|
2445
2522
|
};
|
|
2446
2523
|
if (!o.dryRun) {
|
|
2447
2524
|
const out = join9(p.proposalsDir, "absorb", o.id);
|
|
@@ -2557,21 +2634,21 @@ function prMd(r) {
|
|
|
2557
2634
|
}
|
|
2558
2635
|
|
|
2559
2636
|
// packages/adopt/dist/absorb/refresh.js
|
|
2560
|
-
import { readFile as
|
|
2637
|
+
import { readFile as readFile6 } from "node:fs/promises";
|
|
2561
2638
|
import { join as join10 } from "node:path";
|
|
2562
2639
|
var META = /* @__PURE__ */ new Set(["SUMMARY.md", "PR.md", "inventory.json"]);
|
|
2563
2640
|
async function snapshot(dir) {
|
|
2564
2641
|
const out = /* @__PURE__ */ new Map();
|
|
2565
2642
|
for (const f of await listFiles(dir))
|
|
2566
2643
|
if (!META.has(f))
|
|
2567
|
-
out.set(f, sha256(await
|
|
2644
|
+
out.set(f, sha256(await readFile6(join10(dir, f))));
|
|
2568
2645
|
return out;
|
|
2569
2646
|
}
|
|
2570
2647
|
async function refreshAbsorbed(root, id, o = {}) {
|
|
2571
2648
|
const p = await resolveMetarepo(root);
|
|
2572
2649
|
const listed = (await loadOrgPack(p.orgPackDir)).sources.absorbed.find((a) => a.id === id);
|
|
2573
2650
|
const proposal = join10(p.proposalsDir, "absorb", id);
|
|
2574
|
-
const inventory = JSON.parse(await
|
|
2651
|
+
const inventory = JSON.parse(await readFile6(join10(proposal, "inventory.json"), "utf8").catch(() => "{}"));
|
|
2575
2652
|
const entry = listed ?? inventory.entry;
|
|
2576
2653
|
if (!entry)
|
|
2577
2654
|
throw new AdoptError("not-found", `There is no absorbed source ${id}: absorb it first with atticus absorb <git-url|path> --id ${id}.`);
|
|
@@ -2618,7 +2695,7 @@ async function refreshAllAbsorbed(root, o = {}) {
|
|
|
2618
2695
|
|
|
2619
2696
|
// packages/adopt/dist/absorb/accept.js
|
|
2620
2697
|
var import_yaml8 = __toESM(require_dist(), 1);
|
|
2621
|
-
import { copyFile, mkdir as mkdir6, readFile as
|
|
2698
|
+
import { copyFile, mkdir as mkdir6, readFile as readFile7, writeFile as writeFile6 } from "node:fs/promises";
|
|
2622
2699
|
import { dirname as dirname5, join as join11, relative as relative3 } from "node:path";
|
|
2623
2700
|
function targetOf(p, file) {
|
|
2624
2701
|
const [head, ...rest] = file.split("/");
|
|
@@ -2651,8 +2728,8 @@ async function acceptAbsorbed(root, id, o = {}, paths) {
|
|
|
2651
2728
|
if (!to)
|
|
2652
2729
|
continue;
|
|
2653
2730
|
const from = join11(dir, ...f.split("/"));
|
|
2654
|
-
const theirs = await
|
|
2655
|
-
const ours = await
|
|
2731
|
+
const theirs = await readFile7(from);
|
|
2732
|
+
const ours = await readFile7(to).catch(() => void 0);
|
|
2656
2733
|
if (ours && ours.equals(theirs)) {
|
|
2657
2734
|
out.same.push(rel(to));
|
|
2658
2735
|
continue;
|
|
@@ -2694,7 +2771,7 @@ async function acceptAbsorbed(root, id, o = {}, paths) {
|
|
|
2694
2771
|
|
|
2695
2772
|
// packages/adopt/dist/federation.js
|
|
2696
2773
|
var import_yaml9 = __toESM(require_dist(), 1);
|
|
2697
|
-
import { readdir as readdir4, readFile as
|
|
2774
|
+
import { readdir as readdir4, readFile as readFile8 } from "node:fs/promises";
|
|
2698
2775
|
import { isAbsolute as isAbsolute3, join as join12, resolve as resolve6 } from "node:path";
|
|
2699
2776
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
2700
2777
|
var REMOTE2 = /^[a-z][a-z0-9+.-]*:\/\//i;
|
|
@@ -2730,7 +2807,7 @@ async function federatedChanges(sources) {
|
|
|
2730
2807
|
for (const n of names) {
|
|
2731
2808
|
let text2;
|
|
2732
2809
|
try {
|
|
2733
|
-
text2 = await
|
|
2810
|
+
text2 = await readFile8(join12(changes, n, "change.yaml"), "utf8");
|
|
2734
2811
|
} catch {
|
|
2735
2812
|
continue;
|
|
2736
2813
|
}
|
|
@@ -2861,11 +2938,13 @@ export {
|
|
|
2861
2938
|
detectRepoType,
|
|
2862
2939
|
UNASSIGNED,
|
|
2863
2940
|
MockRepoListing,
|
|
2941
|
+
withoutCredentials,
|
|
2864
2942
|
reposDiscover,
|
|
2865
2943
|
CHECKLISTS_README,
|
|
2866
2944
|
STARTER_CHECKLISTS_README,
|
|
2867
2945
|
writeStartingPack,
|
|
2868
2946
|
ATTICUS_FOLDER_IGNORE,
|
|
2947
|
+
metarepoIdFromUrl,
|
|
2869
2948
|
init,
|
|
2870
2949
|
SNAPSHOT_FILE,
|
|
2871
2950
|
ADOPTED_FILE,
|
|
@@ -5,14 +5,16 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
parseXml
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-G6EFXTUO.js";
|
|
9
9
|
import {
|
|
10
10
|
JOINED_BY_PERSON,
|
|
11
11
|
ZipError,
|
|
12
12
|
peekZip,
|
|
13
|
-
readZip
|
|
13
|
+
readZip
|
|
14
|
+
} from "./chunk-FPBUTZI5.js";
|
|
15
|
+
import {
|
|
14
16
|
require_dist
|
|
15
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BQGDB6ZL.js";
|
|
16
18
|
import {
|
|
17
19
|
__toESM
|
|
18
20
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -7,41 +7,43 @@ import {
|
|
|
7
7
|
contextFlags,
|
|
8
8
|
contextLines
|
|
9
9
|
} from "./chunk-R6RY4Q5T.js";
|
|
10
|
+
import {
|
|
11
|
+
table
|
|
12
|
+
} from "./chunk-VOGCSYOI.js";
|
|
10
13
|
import {
|
|
11
14
|
findNeeds,
|
|
12
15
|
markNeed,
|
|
13
16
|
readNeeds
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-4KNOJC6J.js";
|
|
24
|
-
import "./chunk-4SLBCEPD.js";
|
|
17
|
+
} from "./chunk-MLGWSBF4.js";
|
|
18
|
+
import "./chunk-CA3DKO4D.js";
|
|
19
|
+
import "./chunk-D6BVLTDV.js";
|
|
20
|
+
import "./chunk-RCG5IAAT.js";
|
|
21
|
+
import "./chunk-WZYM5M4U.js";
|
|
22
|
+
import "./chunk-NC755EKE.js";
|
|
23
|
+
import "./chunk-FL344WQD.js";
|
|
24
|
+
import "./chunk-IKAW2KJU.js";
|
|
25
|
+
import "./chunk-CZ2ZS7AT.js";
|
|
25
26
|
import {
|
|
26
27
|
readKnowledge
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-4GAB5ZOZ.js";
|
|
29
|
+
import "./chunk-A4JXVO5O.js";
|
|
30
|
+
import "./chunk-TDSCKP3V.js";
|
|
31
|
+
import "./chunk-G6EFXTUO.js";
|
|
32
|
+
import "./chunk-PQQKZPBU.js";
|
|
33
|
+
import "./chunk-3EWKO457.js";
|
|
33
34
|
import {
|
|
34
35
|
RuntimeConfigError,
|
|
35
36
|
runtimeForCli
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-3424TLIJ.js";
|
|
38
|
+
import "./chunk-QA4O2GGC.js";
|
|
38
39
|
import {
|
|
39
40
|
changesDirOf,
|
|
40
41
|
changesRelOf,
|
|
41
42
|
loadOrgPack,
|
|
42
43
|
orgPackDirOf
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
44
|
+
} from "./chunk-FPBUTZI5.js";
|
|
45
|
+
import "./chunk-B4AEL3RF.js";
|
|
46
|
+
import "./chunk-BQGDB6ZL.js";
|
|
45
47
|
import "./chunk-TV45EUGM.js";
|
|
46
48
|
|
|
47
49
|
// packages/cli/dist/needs-commands.js
|