@maycombhq/atticus 2.0.0-beta.26 → 2.0.0-beta.27
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 +3 -3
- package/dist/chunk-22A2K555.js +653 -0
- package/dist/{chunk-UTZMF5CV.js → chunk-23TTURB2.js} +1 -1
- package/dist/{chunk-XIGVTH24.js → chunk-2666BPJE.js} +19 -19
- package/dist/{chunk-KFZ5IXEZ.js → chunk-2ALBHI4Q.js} +28 -27
- package/dist/chunk-2ANBMA74.js +107 -0
- package/dist/{chunk-UIYPX2BA.js → chunk-2HCW6HXK.js} +27 -26
- package/dist/{chunk-DJBXXYYA.js → chunk-2ISR6MWD.js} +15 -15
- package/dist/{chunk-ZDA72732.js → chunk-2MRYL45Z.js} +50 -9
- package/dist/{chunk-DB3NWAU3.js → chunk-3GNUHLAN.js} +4 -4
- package/dist/chunk-3GURU22K.js +44 -0
- package/dist/{chunk-UFIQ5FWY.js → chunk-3M3MDBOG.js} +1 -1
- package/dist/{chunk-DHQXCP2X.js → chunk-3PBIZBWN.js} +1 -1
- package/dist/{chunk-7IWMRZRI.js → chunk-3PWXVBCB.js} +83 -40
- package/dist/chunk-3W2QX6TT.js +58 -0
- package/dist/{chunk-H7CSCA73.js → chunk-3Z7ATALI.js} +5 -5
- package/dist/{chunk-ZGULQAPZ.js → chunk-44SWXDD7.js} +8 -5
- package/dist/{chunk-IEIHVMM6.js → chunk-46N5O5H7.js} +5 -5
- package/dist/{chunk-4DHYXODN.js → chunk-4D4DNTFE.js} +4 -4
- package/dist/{chunk-B3JHERXM.js → chunk-4EAT7HOX.js} +7 -5
- package/dist/{chunk-OH2OHNB5.js → chunk-4FLIW5PJ.js} +4 -4
- package/dist/{chunk-PGDVJWCI.js → chunk-4LWA5VMJ.js} +52 -37
- package/dist/{chunk-YWQZ7CCW.js → chunk-4ODVHNA6.js} +18 -17
- package/dist/{chunk-IH6BYFMH.js → chunk-4POSAXNC.js} +6 -6
- package/dist/{chunk-D5H3RZNE.js → chunk-4PQ4KDOA.js} +16 -15
- package/dist/{chunk-RQM5Y3HJ.js → chunk-4UVTNHA6.js} +1 -1
- package/dist/{chunk-KVVNAUIG.js → chunk-4XK3HLOH.js} +1 -0
- package/dist/{chunk-ZQGFZJH5.js → chunk-523NRKHF.js} +4 -4
- package/dist/{chunk-GJSLO2E2.js → chunk-5GCCG3GJ.js} +11 -5
- package/dist/{chunk-VGGSHDQU.js → chunk-5XW6RUDV.js} +8 -8
- package/dist/{chunk-K35VNKJH.js → chunk-5YEUAZZE.js} +8 -8
- package/dist/{chunk-YEHSJY6B.js → chunk-62LD7CSY.js} +13 -13
- package/dist/{chunk-DB6TDJ4T.js → chunk-67Y2J55V.js} +22 -21
- package/dist/{chunk-KL7UHAOR.js → chunk-6DSZ4CL7.js} +36 -21
- package/dist/{chunk-WM4EMP7T.js → chunk-6G67LSBG.js} +283 -61
- package/dist/{chunk-TLBPTUFU.js → chunk-6OEB4FTC.js} +20 -19
- package/dist/{chunk-GXJ2PSDW.js → chunk-6OTGCKYH.js} +9 -9
- package/dist/{chunk-EQMNMG6X.js → chunk-6XLCMDIP.js} +13 -13
- package/dist/chunk-76DZJTU7.js +190 -0
- package/dist/chunk-7764GVJK.js +37 -0
- package/dist/{chunk-KS2IQYTZ.js → chunk-7BOGXFZ3.js} +11 -11
- package/dist/{chunk-ZA2PWNR3.js → chunk-7CVHKNAF.js} +16 -15
- package/dist/{chunk-LBBI5P5G.js → chunk-7FEIS3KV.js} +25 -24
- package/dist/{chunk-OXCHO2QS.js → chunk-7GXM45T5.js} +26 -23
- package/dist/{chunk-YLXPJWNO.js → chunk-7YMAMNMT.js} +17 -16
- package/dist/chunk-7YWS47SE.js +56 -0
- package/dist/{chunk-LZFKJ2BR.js → chunk-A3LVMCA5.js} +1 -1
- package/dist/{chunk-PXDAGXQN.js → chunk-A7ZJKLFC.js} +11 -11
- package/dist/chunk-AANQC5QP.js +47 -0
- package/dist/{chunk-HV6PXXK7.js → chunk-AIQLTDC3.js} +3 -3
- package/dist/{chunk-PFWP624T.js → chunk-AKZTCZ6F.js} +4 -4
- package/dist/{chunk-KAWWXCPI.js → chunk-ALCSTVWQ.js} +3 -3
- package/dist/{chunk-7ZBYRMWK.js → chunk-ALUHO7SE.js} +26 -25
- package/dist/{chunk-3KP7OOJ4.js → chunk-AMZ4XMES.js} +8 -8
- package/dist/{chunk-V5ZKGBYL.js → chunk-AOQG37K4.js} +8 -6
- package/dist/{chunk-CNT6T2JM.js → chunk-ARXZTHEI.js} +16 -15
- package/dist/{chunk-KFJMQUSK.js → chunk-AS4CTARY.js} +16 -15
- package/dist/{chunk-MM7JSMLW.js → chunk-AVUPW23W.js} +18 -17
- package/dist/{chunk-NQDVD2YR.js → chunk-B56FCIEJ.js} +12 -12
- package/dist/{chunk-CPE7HLIK.js → chunk-BABATPOZ.js} +18 -17
- package/dist/{chunk-63572EFC.js → chunk-BIOKDLLX.js} +21 -19
- package/dist/{chunk-D4TW3PUO.js → chunk-BUBKKEUV.js} +5 -5
- package/dist/{chunk-FOOU5OJE.js → chunk-CDC6VECU.js} +3 -3
- package/dist/chunk-CHEFUNZ4.js +425 -0
- package/dist/{chunk-IL7PVMUO.js → chunk-CIFR3DPV.js} +6 -6
- package/dist/{chunk-DS5M2J2H.js → chunk-CLBVKD4P.js} +16 -15
- package/dist/{chunk-2FTHLB2H.js → chunk-CLM5Z3R5.js} +5 -5
- package/dist/{chunk-CFK6CFXM.js → chunk-CLYV5MB6.js} +9 -9
- package/dist/{chunk-KZ4I5M2X.js → chunk-CRYIBCGP.js} +37 -19
- package/dist/{chunk-PLSCWC2V.js → chunk-D3L5SO27.js} +5 -5
- package/dist/chunk-DAZM2INZ.js +34 -0
- package/dist/{chunk-I72PEROE.js → chunk-DF4BXBB2.js} +6 -6
- package/dist/{chunk-PZFZPHCT.js → chunk-E7Q52EOO.js} +11 -11
- package/dist/{chunk-R2FUFBHW.js → chunk-EFDUC35B.js} +3 -3
- package/dist/{chunk-43OWNS5N.js → chunk-EHXEJFHD.js} +5 -5
- package/dist/{chunk-HQMLY2R6.js → chunk-ELJ5Q4J2.js} +2 -2
- package/dist/{chunk-F4EGHECF.js → chunk-EM6DKBTJ.js} +3 -3
- package/dist/{chunk-UZBLVNW6.js → chunk-EMC46SU4.js} +38 -17
- package/dist/{chunk-F6GRBF5L.js → chunk-EQEDIWFQ.js} +25 -24
- package/dist/chunk-EW574EZI.js +57 -0
- package/dist/{chunk-HSJKYDHI.js → chunk-EYINWNXL.js} +5 -5
- package/dist/{chunk-KUEG2Y7M.js → chunk-EYVYHYCA.js} +8 -8
- package/dist/{chunk-ELR7DEQM.js → chunk-F66542M6.js} +34 -9
- package/dist/{chunk-RCLBIJRN.js → chunk-F74OMLNU.js} +6 -6
- package/dist/{chunk-PBDIVTFL.js → chunk-FADIWOA5.js} +3 -3
- package/dist/{chunk-LHN5UCXD.js → chunk-FC3ZVD3O.js} +3 -3
- package/dist/{chunk-DXLWZ3BJ.js → chunk-FG65LXED.js} +8 -8
- package/dist/{chunk-V5FT3MZG.js → chunk-FKAUBC4Y.js} +8 -8
- package/dist/{chunk-RBO4A7TC.js → chunk-FM3EEDS2.js} +15 -15
- package/dist/{chunk-TYN5SG5H.js → chunk-FS4E7F6O.js} +403 -148
- package/dist/{chunk-HVWPN2RY.js → chunk-FSYJPYLE.js} +16 -15
- package/dist/{chunk-IBIIKUC7.js → chunk-G33UIUG3.js} +46 -20
- package/dist/{chunk-4NWE2KY3.js → chunk-G3F4BYML.js} +15 -14
- package/dist/{chunk-2GT47PWU.js → chunk-GBJRFFDW.js} +5 -5
- package/dist/{chunk-NMURRF5F.js → chunk-GF6GBHFN.js} +13 -11
- package/dist/{chunk-C3TBDX7Y.js → chunk-GLHOUT5E.js} +26 -25
- package/dist/{chunk-ZWMHL346.js → chunk-GM6GXO2A.js} +20 -19
- package/dist/{chunk-MKUBDKE2.js → chunk-GSJ2RXE7.js} +29 -28
- package/dist/{chunk-YJBD5NDV.js → chunk-GT72FDER.js} +6 -6
- package/dist/{chunk-BEEHCL5O.js → chunk-GW6ZH77P.js} +37 -36
- package/dist/{chunk-BABRMZET.js → chunk-GZILYRGC.js} +3 -3
- package/dist/{chunk-5JGRF53S.js → chunk-GZSOZYEP.js} +3 -3
- package/dist/{chunk-IP6ARMZU.js → chunk-H25QNDKK.js} +58 -36
- package/dist/{chunk-BIAQ6NQS.js → chunk-H3RKW4RF.js} +7 -7
- package/dist/chunk-H7M7ZH6H.js +52 -0
- package/dist/chunk-H7NRWSMP.js +55 -0
- package/dist/{chunk-2JT4QV3Q.js → chunk-HDWVR5KD.js} +4 -4
- package/dist/{chunk-UAYU6K24.js → chunk-HG24EF5S.js} +16 -15
- package/dist/chunk-HPNYSY5M.js +1068 -0
- package/dist/{chunk-JJEXMHNZ.js → chunk-HUMM4S5I.js} +6 -6
- package/dist/{chunk-DARX3ATP.js → chunk-HVPS2YCW.js} +11 -11
- package/dist/{chunk-IGOE6KPG.js → chunk-I34CXV2C.js} +185 -11
- package/dist/{chunk-6U65YB54.js → chunk-I57IH5X6.js} +360 -271
- package/dist/{chunk-WYO4L4NU.js → chunk-I5X4WU7U.js} +6 -6
- package/dist/chunk-IAVVJ34R.js +55 -0
- package/dist/chunk-IBJE2E2S.js +51 -0
- package/dist/{chunk-HNNMT5L2.js → chunk-IF3X6FMO.js} +1 -1
- package/dist/{chunk-CUTMM4NY.js → chunk-IJHJIL6T.js} +154 -25
- package/dist/chunk-IM435QAM.js +72 -0
- package/dist/{chunk-MQ6HP2TU.js → chunk-IMBJ7WAO.js} +6 -6
- package/dist/{chunk-5A4RHEEL.js → chunk-INCFIDCB.js} +2 -2
- package/dist/{chunk-RTCZKKG7.js → chunk-IPMPLTEG.js} +3 -3
- package/dist/{chunk-QAFQLILX.js → chunk-IPSZDVLI.js} +12 -12
- package/dist/{chunk-JLTJAOO4.js → chunk-IX2EOYOU.js} +50 -13
- package/dist/{chunk-DOU52XFZ.js → chunk-IXNMGPF7.js} +61 -28
- package/dist/{chunk-XT3ZW7C7.js → chunk-J6GO3K7G.js} +19 -18
- package/dist/chunk-JBLM6IUA.js +42 -0
- package/dist/{chunk-CSHJZFOE.js → chunk-JL2VOYSL.js} +91 -93
- package/dist/{chunk-ACY3U2RD.js → chunk-JRXFZB6J.js} +8 -8
- package/dist/{chunk-P6EJNPFF.js → chunk-JTOLBS7R.js} +951 -409
- package/dist/{chunk-FYCN2Y5P.js → chunk-K73BHPTQ.js} +19 -18
- package/dist/{chunk-EVKDWJ5Y.js → chunk-KF7KVUNJ.js} +5 -5
- package/dist/{chunk-SRB54QGX.js → chunk-KKUCBKJE.js} +20 -19
- package/dist/{chunk-LTOBNBJ6.js → chunk-KLFFHBWG.js} +27 -26
- package/dist/{chunk-DXBXZNKV.js → chunk-KMYB2XO7.js} +21 -13
- package/dist/chunk-KNYQUWFN.js +52 -0
- package/dist/{chunk-6EMJ4XFC.js → chunk-KOAJPMU2.js} +31 -20
- package/dist/chunk-KRTSE73S.js +55 -0
- package/dist/{chunk-GAJBMPWC.js → chunk-L3AM5YRP.js} +28 -9
- package/dist/{chunk-YYV276DM.js → chunk-LCIIFAID.js} +22 -21
- package/dist/{chunk-SZDOBIWE.js → chunk-LCQIRCOT.js} +55 -10
- package/dist/{chunk-OI32KTDM.js → chunk-LFHBAWIM.js} +13 -13
- package/dist/chunk-LIHEMWIT.js +39 -0
- package/dist/{chunk-CG6MG7SE.js → chunk-LJLYWILK.js} +14 -14
- package/dist/{chunk-6SIGGA37.js → chunk-LNJKDS5C.js} +26 -25
- package/dist/{chunk-3GEAUW62.js → chunk-LTHY7E2P.js} +16 -15
- package/dist/{chunk-RO6BE7ZS.js → chunk-LTVOQJKT.js} +7 -7
- package/dist/{chunk-BD7HBZLP.js → chunk-LZO3JABE.js} +6 -6
- package/dist/{chunk-PXMV2LLY.js → chunk-M65AZ4ZE.js} +3 -5
- package/dist/chunk-MPNTEWNY.js +492 -0
- package/dist/chunk-MQGQ3AWK.js +58 -0
- package/dist/{chunk-ZNYSBQIA.js → chunk-MUXYUIBV.js} +6 -6
- package/dist/{chunk-CNEOKSTO.js → chunk-MWRRJDXQ.js} +34 -31
- package/dist/{chunk-VJO7M34N.js → chunk-MZDHFWTN.js} +2 -2
- package/dist/chunk-N2XCT5OX.js +68 -0
- package/dist/{chunk-2IO6XH37.js → chunk-N3JGYAMD.js} +15 -15
- package/dist/{chunk-K3QKOVZN.js → chunk-N5DLB74D.js} +367 -71
- package/dist/{chunk-H5BIVULF.js → chunk-NC3Q7RIB.js} +10 -10
- package/dist/{chunk-HVOE7ZW2.js → chunk-NCNLX4DL.js} +19 -18
- package/dist/{chunk-3D74UADA.js → chunk-NGSGJLKW.js} +2 -2
- package/dist/{chunk-B7KGNEFI.js → chunk-NN7K2LLN.js} +25 -24
- package/dist/{chunk-76AHTJVY.js → chunk-NNURP7VO.js} +15 -15
- package/dist/chunk-NSQB24WR.js +56 -0
- package/dist/{chunk-GFFTVQ7R.js → chunk-NV5S63YK.js} +7 -7
- package/dist/{chunk-CTJHEG6A.js → chunk-NWMFVPEP.js} +2 -0
- package/dist/{chunk-7JZONWAA.js → chunk-NYT6QGZA.js} +22 -18
- package/dist/chunk-OB2DAIJX.js +62 -0
- package/dist/{chunk-IZIGZ7KY.js → chunk-OC3OXDTG.js} +13 -8
- package/dist/{chunk-2XIIUXGX.js → chunk-OD6RNYMQ.js} +16 -16
- package/dist/{chunk-723OQZ3N.js → chunk-OFYBRMRG.js} +6 -6
- package/dist/chunk-OGTELPDN.js +43 -0
- package/dist/{chunk-E5NHFHGC.js → chunk-OQ7SBQ2Z.js} +7 -7
- package/dist/{chunk-6TZ4YRGJ.js → chunk-OUDGBJC2.js} +16 -9
- package/dist/{chunk-W4SMKUAK.js → chunk-OUGTAOGA.js} +2 -2
- package/dist/chunk-OWP5FCYM.js +60 -0
- package/dist/{chunk-ET7SPOBA.js → chunk-P36PTWBM.js} +8 -8
- package/dist/{chunk-64LSDT3D.js → chunk-P6Y2J2QY.js} +12 -12
- package/dist/{chunk-ANFBBJEV.js → chunk-PDJL2HO5.js} +24 -22
- package/dist/{chunk-UXVKFOMC.js → chunk-PPKH6ULR.js} +152 -20
- package/dist/{chunk-WLA2JZ2K.js → chunk-Q4PFF2ZE.js} +8 -8
- package/dist/chunk-Q7EUPQEG.js +5 -0
- package/dist/{chunk-2HDNOUJU.js → chunk-QC6GSNIK.js} +7055 -3456
- package/dist/chunk-QCRQNYGI.js +211 -0
- package/dist/chunk-QDF533AW.js +90 -0
- package/dist/chunk-QDGNDNBG.js +50 -0
- package/dist/{chunk-HWPX3T55.js → chunk-QGMD3PYL.js} +31 -24
- package/dist/{chunk-VCXFMXMX.js → chunk-QLT3WYTD.js} +6 -6
- package/dist/{chunk-ZFLBWL2G.js → chunk-QNDMAKQS.js} +11 -3
- package/dist/{chunk-UWBPC5XH.js → chunk-QNXMVJMA.js} +8 -8
- package/dist/{chunk-XDLMQL5A.js → chunk-QPAANKUR.js} +7 -7
- package/dist/{chunk-BGOAJFPB.js → chunk-QS4VX3HZ.js} +1 -1
- package/dist/{chunk-YIOYKA4V.js → chunk-QSM4K6LI.js} +7 -7
- package/dist/{chunk-TPKJD42W.js → chunk-QUFZDWPC.js} +8 -8
- package/dist/{chunk-QXCGRQGO.js → chunk-QXXEOH3A.js} +18 -6
- package/dist/{chunk-QA4O2GGC.js → chunk-R4TUWD4C.js} +17 -1
- package/dist/{chunk-UJ5ZJS4B.js → chunk-ROI64BAI.js} +22 -21
- package/dist/{chunk-LCRQPWTC.js → chunk-RPVL3RTX.js} +19 -18
- package/dist/{chunk-QQAWI5LD.js → chunk-RUNHVUCW.js} +16 -15
- package/dist/{chunk-7AEB74KW.js → chunk-RWYPLODE.js} +9 -9
- package/dist/{chunk-VTR4AC2U.js → chunk-RZYRUXSU.js} +4 -4
- package/dist/{chunk-CWLXVRFH.js → chunk-S6TLXRBR.js} +7 -7
- package/dist/{chunk-Z33UNTHI.js → chunk-SCOP3J6X.js} +7 -7
- package/dist/{chunk-XEWFVHOT.js → chunk-SCP24MJX.js} +24 -23
- package/dist/{chunk-MCORC2LG.js → chunk-SF3HXNXR.js} +6 -6
- package/dist/{chunk-BSZII65X.js → chunk-SFCFL7Y5.js} +1 -1
- package/dist/{chunk-LY7DOYX2.js → chunk-SHFY73RI.js} +53 -112
- package/dist/{chunk-IERXBWQU.js → chunk-SHIARIEZ.js} +20 -19
- package/dist/chunk-SMFFUFMN.js +1876 -0
- package/dist/{chunk-WH3ZFLXT.js → chunk-SVOGRJO6.js} +197 -124
- package/dist/chunk-SVZAAOHJ.js +46 -0
- package/dist/{chunk-NCZS2BN2.js → chunk-SZOU32VF.js} +21 -20
- package/dist/{chunk-MTIRNHRJ.js → chunk-T2MN24LZ.js} +1 -1
- package/dist/{chunk-KZH5YV6J.js → chunk-TD5WWJLN.js} +6 -6
- package/dist/{chunk-UBEFT3MQ.js → chunk-TFN2N227.js} +6 -6
- package/dist/{chunk-BIKMME4S.js → chunk-TFXNOQEU.js} +28 -27
- package/dist/{chunk-6P67IUET.js → chunk-TMETWJFO.js} +11 -11
- package/dist/chunk-TNSAIISO.js +50 -0
- package/dist/{chunk-SDHGFMES.js → chunk-TRJO2I4S.js} +3 -3
- package/dist/{chunk-NVVEVP5O.js → chunk-TRSNIJNM.js} +7 -7
- package/dist/{chunk-VIQHZA53.js → chunk-U3Z2QZE3.js} +6 -6
- package/dist/{chunk-TQG2DDWH.js → chunk-U7L3ORPK.js} +22 -21
- package/dist/{chunk-3KIMLBGZ.js → chunk-UDM6HGF4.js} +6 -6
- package/dist/{chunk-NMCPIYTF.js → chunk-UDM7LXNJ.js} +7 -7
- package/dist/chunk-UDTO3U6E.js +35 -0
- package/dist/{chunk-ZFEOIYK5.js → chunk-UEUPEUZX.js} +3 -3
- package/dist/chunk-UWBODTY7.js +514 -0
- package/dist/{chunk-BIWNRS5I.js → chunk-UYYYQTPD.js} +78 -47
- package/dist/{chunk-IDRCBMJF.js → chunk-V34N6JAN.js} +32 -31
- package/dist/{chunk-EY3OVHNC.js → chunk-V3Y5P7OS.js} +24 -23
- package/dist/chunk-V6MLVGTP.js +89 -0
- package/dist/{chunk-EECFUQP3.js → chunk-VC2XHC7P.js} +184 -46
- package/dist/{chunk-H26T2LQL.js → chunk-VCYE4MUD.js} +29 -28
- package/dist/{chunk-EUTZTJIO.js → chunk-VN2VJ6BV.js} +19 -15
- package/dist/{chunk-P6DM2EFI.js → chunk-VVLWEM2Y.js} +6 -6
- package/dist/{chunk-YXKCE5BA.js → chunk-VWCNMDMZ.js} +5 -5
- package/dist/{chunk-BV2BZIUF.js → chunk-W2A4NHQD.js} +25 -24
- package/dist/{chunk-VPQUFIE7.js → chunk-W6OY2PMB.js} +10 -10
- package/dist/{chunk-FIZ5LYL2.js → chunk-WC6DHBVG.js} +16 -15
- package/dist/{chunk-GHST3KAB.js → chunk-WCA3WIGG.js} +5 -5
- package/dist/{chunk-6ZDAEUKB.js → chunk-WJWSB65O.js} +1602 -452
- package/dist/{chunk-IFQJ3YQE.js → chunk-WNPGLGCJ.js} +5 -5
- package/dist/chunk-WTOVWEY3.js +67 -0
- package/dist/{chunk-XIJBQM45.js → chunk-X5B7KYPD.js} +507 -20
- package/dist/{chunk-ZLBUFK7L.js → chunk-X73WLHSN.js} +7 -7
- package/dist/{chunk-GNFZ227W.js → chunk-XIIT4PVT.js} +3 -3
- package/dist/{chunk-U3JXMY56.js → chunk-XLTT5QCX.js} +28 -25
- package/dist/{chunk-5UIGGXA5.js → chunk-XMIS25ZJ.js} +21 -20
- package/dist/{chunk-IYEET4VM.js → chunk-XPDQ4T6G.js} +27 -26
- package/dist/{chunk-WT6EXYEY.js → chunk-XRWUYOX3.js} +138 -22
- package/dist/{chunk-I2EWY3MG.js → chunk-XZY4GTCX.js} +14 -9
- package/dist/{chunk-2SCZZQNQ.js → chunk-Y2TVTI4P.js} +121 -15
- package/dist/{chunk-Q3RKXK5Z.js → chunk-Y2U4CSCA.js} +28 -27
- package/dist/chunk-Y2U63JKE.js +41 -0
- package/dist/{chunk-V3M4VFUB.js → chunk-Y6S7VCYN.js} +6 -6
- package/dist/{chunk-SAPX3PVK.js → chunk-YAPMGK7E.js} +11 -11
- package/dist/{chunk-MY3LDBMR.js → chunk-YAPVAYZN.js} +3 -3
- package/dist/{chunk-ZYLGEWTC.js → chunk-YCBDNWX3.js} +78 -57
- package/dist/{chunk-RK5P2DWD.js → chunk-YIGSUTW2.js} +1329 -92
- package/dist/{chunk-XI3GPYP4.js → chunk-YJTBE6AJ.js} +5 -5
- package/dist/chunk-YQ3IXQIH.js +185 -0
- package/dist/{chunk-MZXDSAKW.js → chunk-YRHKEXTP.js} +11 -11
- package/dist/{chunk-DPH4BS3F.js → chunk-YSSFS3YC.js} +17 -17
- package/dist/{chunk-ISCX25D7.js → chunk-YXG2VQJJ.js} +200 -56
- package/dist/{chunk-VUSYN4R4.js → chunk-Z4GLFTEH.js} +8 -8
- package/dist/{chunk-NP3PG6OI.js → chunk-Z65FWO6A.js} +157 -89
- package/dist/{chunk-KJD4DLRZ.js → chunk-ZDG637ZT.js} +22 -21
- package/dist/{chunk-DASVVML7.js → chunk-ZIAMPN7N.js} +6 -6
- package/dist/chunk-ZIIBQHCX.js +53 -0
- package/dist/{chunk-IJN5PSDU.js → chunk-ZJJMYPGZ.js} +57 -27
- package/dist/{chunk-NECDBPFP.js → chunk-ZOAX7W5S.js} +11 -11
- package/dist/chunk-ZSSR5GGB.js +48 -0
- package/dist/files.json +657 -553
- package/dist/fixtures/forge/expected/crosscheck.json +726 -0
- package/dist/fixtures/forge/slots/README.md +13 -0
- package/dist/fixtures/forge/slots/build.json +2686 -0
- package/dist/fixtures/forge/slots/crosscheck/forge-ledger.crosscheck.yaml +8 -0
- package/dist/fixtures/forge/slots/facts/forge-ledger.jsonl +17 -0
- package/dist/fixtures/forge/slots/facts/forge-ledger.meta.json +9 -0
- package/dist/fixtures/forge/slots/legacy/joins.json +113 -0
- package/dist/fixtures/forge/slots/readers/forge-events.json +306 -0
- package/dist/fixtures/forge/slots/readers/forge-gateway.json +238 -0
- package/dist/fixtures/forge/slots/readers/forge-infra.json +264 -0
- package/dist/fixtures/forge/slots/readers/forge-ledger.json +756 -0
- package/dist/fixtures/forge/slots/readers/forge-portal-bff.json +349 -0
- package/dist/fixtures/forge/slots/readers/forge-portal-ui.json +214 -0
- package/dist/fixtures/forge/slots/readers/forge-reports-job.json +258 -0
- package/dist/packages/sdk/npm/index.js +3788 -2939
- package/dist/packages/ui/dist/assets/{elk-api-BdXSPeBO.js → elk-api-CPE6PVL8.js} +2 -2
- package/dist/packages/ui/dist/assets/index-BYcVqj0l.js +65 -0
- package/dist/packages/ui/dist/assets/index-DF52Ejvz.css +1 -0
- package/dist/packages/ui/dist/index.html +2 -2
- package/package.json +4 -4
- package/dist/chunk-24OXGB3P.js +0 -82
- package/dist/chunk-3FFIDQQB.js +0 -42
- package/dist/chunk-4N5W7LYW.js +0 -41
- package/dist/chunk-7NVLGPER.js +0 -45
- package/dist/chunk-A6LGX56J.js +0 -52
- package/dist/chunk-AHACUPGL.js +0 -46
- package/dist/chunk-DG7KYZAL.js +0 -40
- package/dist/chunk-DWD6BKHG.js +0 -52
- package/dist/chunk-EEVSFGIU.js +0 -50
- package/dist/chunk-EN3N6LNU.js +0 -52
- package/dist/chunk-FWQDH5NK.js +0 -55
- package/dist/chunk-GHCFWIUW.js +0 -38
- package/dist/chunk-GSIJWDXH.js +0 -43
- package/dist/chunk-HCC5547C.js +0 -232
- package/dist/chunk-HLDUWEO7.js +0 -36
- package/dist/chunk-K2NQTROJ.js +0 -170
- package/dist/chunk-LH4WAJLC.js +0 -45
- package/dist/chunk-M5IQUWJR.js +0 -59
- package/dist/chunk-MEMEO7YO.js +0 -988
- package/dist/chunk-MGNO4Q6V.js +0 -51
- package/dist/chunk-MZ6GOFRF.js +0 -55
- package/dist/chunk-N2AW2DHF.js +0 -51
- package/dist/chunk-N35Y5HZO.js +0 -47
- package/dist/chunk-NHFMLMLN.js +0 -257
- package/dist/chunk-PR6Z5L7W.js +0 -67
- package/dist/chunk-STBJ6SVJ.js +0 -50
- package/dist/chunk-U3RGBYXE.js +0 -62
- package/dist/chunk-URZKIL37.js +0 -42
- package/dist/chunk-W7HNZDHB.js +0 -71
- package/dist/chunk-YYZWSVIS.js +0 -33
- package/dist/chunk-ZAMSF2DF.js +0 -54
- package/dist/packages/ui/dist/assets/index-DRSUhpFi.css +0 -1
- package/dist/packages/ui/dist/assets/index-RZe5iotJ.js +0 -63
|
@@ -10,25 +10,26 @@ import {
|
|
|
10
10
|
questionsCommand,
|
|
11
11
|
sourcesAdd,
|
|
12
12
|
sourcesSync
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-5XW6RUDV.js";
|
|
14
|
+
import "./chunk-EM6DKBTJ.js";
|
|
15
|
+
import "./chunk-4UVTNHA6.js";
|
|
16
16
|
import "./chunk-VOGCSYOI.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-QC6GSNIK.js";
|
|
18
|
+
import "./chunk-YIGSUTW2.js";
|
|
19
|
+
import "./chunk-N5DLB74D.js";
|
|
20
|
+
import "./chunk-UWBODTY7.js";
|
|
21
|
+
import "./chunk-X5B7KYPD.js";
|
|
22
|
+
import "./chunk-IPSZDVLI.js";
|
|
23
|
+
import "./chunk-2MRYL45Z.js";
|
|
24
|
+
import "./chunk-ELJ5Q4J2.js";
|
|
25
|
+
import "./chunk-XZY4GTCX.js";
|
|
26
|
+
import "./chunk-3M3MDBOG.js";
|
|
27
|
+
import "./chunk-WJWSB65O.js";
|
|
28
|
+
import "./chunk-SMFFUFMN.js";
|
|
29
|
+
import "./chunk-A3LVMCA5.js";
|
|
30
|
+
import "./chunk-NWMFVPEP.js";
|
|
31
31
|
import "./chunk-BQGDB6ZL.js";
|
|
32
|
+
import "./chunk-R4TUWD4C.js";
|
|
32
33
|
import "./chunk-TV45EUGM.js";
|
|
33
34
|
export {
|
|
34
35
|
coverageCommand,
|
|
@@ -5,26 +5,29 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
loadCatalog
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-EYINWNXL.js";
|
|
9
|
+
import "./chunk-QC6GSNIK.js";
|
|
10
|
+
import "./chunk-YIGSUTW2.js";
|
|
11
11
|
import {
|
|
12
12
|
domainProfile
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-N5DLB74D.js";
|
|
14
|
+
import "./chunk-UWBODTY7.js";
|
|
15
|
+
import "./chunk-X5B7KYPD.js";
|
|
16
|
+
import "./chunk-IPSZDVLI.js";
|
|
17
|
+
import "./chunk-2MRYL45Z.js";
|
|
18
|
+
import "./chunk-ELJ5Q4J2.js";
|
|
19
|
+
import "./chunk-XZY4GTCX.js";
|
|
20
|
+
import "./chunk-3M3MDBOG.js";
|
|
21
21
|
import {
|
|
22
22
|
orgPackDirOf
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import
|
|
26
|
-
|
|
23
|
+
} from "./chunk-WJWSB65O.js";
|
|
24
|
+
import "./chunk-SMFFUFMN.js";
|
|
25
|
+
import {
|
|
26
|
+
loadOrgPack
|
|
27
|
+
} from "./chunk-A3LVMCA5.js";
|
|
28
|
+
import "./chunk-NWMFVPEP.js";
|
|
27
29
|
import "./chunk-BQGDB6ZL.js";
|
|
30
|
+
import "./chunk-R4TUWD4C.js";
|
|
28
31
|
import "./chunk-TV45EUGM.js";
|
|
29
32
|
|
|
30
33
|
// packages/cli/dist/domain-commands.js
|
|
@@ -45,10 +48,9 @@ async function domainProfileCommand(root, system, o, io) {
|
|
|
45
48
|
const scannedAt = records.flatMap((r) => r.evidence.map((e) => e.scannedAt ?? "")).sort().pop();
|
|
46
49
|
let text;
|
|
47
50
|
try {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
});
|
|
51
|
+
const orgPack = await loadOrgPack(orgPackDirOf(root)).catch(() => void 0);
|
|
52
|
+
const base = { ...template ? { template } : {}, ...scannedAt ? { scannedAt } : {} };
|
|
53
|
+
text = domainProfile(records, system, orgPack ? { ...base, orgPack, now: (/* @__PURE__ */ new Date()).toISOString() } : base);
|
|
52
54
|
} catch (e) {
|
|
53
55
|
io.err(e.message);
|
|
54
56
|
return 1;
|
|
@@ -28,11 +28,11 @@ import {
|
|
|
28
28
|
stampEvidence,
|
|
29
29
|
tooLargeMessage,
|
|
30
30
|
withParseCache
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-3M3MDBOG.js";
|
|
32
|
+
import "./chunk-WJWSB65O.js";
|
|
33
|
+
import "./chunk-SMFFUFMN.js";
|
|
34
|
+
import "./chunk-A3LVMCA5.js";
|
|
35
|
+
import "./chunk-NWMFVPEP.js";
|
|
36
36
|
import "./chunk-BQGDB6ZL.js";
|
|
37
37
|
import "./chunk-TV45EUGM.js";
|
|
38
38
|
export {
|
|
@@ -5,13 +5,13 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
changeStore
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SVOGRJO6.js";
|
|
9
9
|
import {
|
|
10
10
|
readCatalog
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QC6GSNIK.js";
|
|
12
12
|
import {
|
|
13
13
|
catalogDirOf
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WJWSB65O.js";
|
|
15
15
|
|
|
16
16
|
// packages/cli/dist/site-commands.js
|
|
17
17
|
import { resolve, join as join2 } from "node:path";
|
|
@@ -0,0 +1,425 @@
|
|
|
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
|
+
buildAndWrite,
|
|
8
|
+
buildCatalog,
|
|
9
|
+
buildLines,
|
|
10
|
+
curatedDirOf,
|
|
11
|
+
factsSlotOf,
|
|
12
|
+
forgetCatalogs,
|
|
13
|
+
forgetKeptReads,
|
|
14
|
+
listUndo,
|
|
15
|
+
loadBuildInputs,
|
|
16
|
+
readCatalog,
|
|
17
|
+
readersSlotRead,
|
|
18
|
+
rollBackUndo,
|
|
19
|
+
undoDirOf,
|
|
20
|
+
withSlotWrites
|
|
21
|
+
} from "./chunk-QC6GSNIK.js";
|
|
22
|
+
import "./chunk-YIGSUTW2.js";
|
|
23
|
+
import "./chunk-N5DLB74D.js";
|
|
24
|
+
import {
|
|
25
|
+
factsSlotPaths,
|
|
26
|
+
legacyJoinsPath,
|
|
27
|
+
parseLegacyJoins,
|
|
28
|
+
readersSlotPath,
|
|
29
|
+
serializeFactsSlotMeta,
|
|
30
|
+
serializeLegacyJoins,
|
|
31
|
+
serializeReadersSlot,
|
|
32
|
+
sha256Of
|
|
33
|
+
} from "./chunk-UWBODTY7.js";
|
|
34
|
+
import {
|
|
35
|
+
loadRepos
|
|
36
|
+
} from "./chunk-X5B7KYPD.js";
|
|
37
|
+
import "./chunk-IPSZDVLI.js";
|
|
38
|
+
import "./chunk-2MRYL45Z.js";
|
|
39
|
+
import "./chunk-ELJ5Q4J2.js";
|
|
40
|
+
import "./chunk-XZY4GTCX.js";
|
|
41
|
+
import "./chunk-3M3MDBOG.js";
|
|
42
|
+
import {
|
|
43
|
+
FACTS_COMPANIONS,
|
|
44
|
+
ManifestEditError,
|
|
45
|
+
factsDirOf,
|
|
46
|
+
factsRelOf,
|
|
47
|
+
listQuestions,
|
|
48
|
+
mapRelOf,
|
|
49
|
+
orgPackDirOf,
|
|
50
|
+
parseRecord,
|
|
51
|
+
questionFileOf,
|
|
52
|
+
questionFileText,
|
|
53
|
+
recordPath,
|
|
54
|
+
renamedManifest,
|
|
55
|
+
serializeRecord,
|
|
56
|
+
specRelOf
|
|
57
|
+
} from "./chunk-WJWSB65O.js";
|
|
58
|
+
import {
|
|
59
|
+
LockHeldError,
|
|
60
|
+
acquireLock
|
|
61
|
+
} from "./chunk-SMFFUFMN.js";
|
|
62
|
+
import {
|
|
63
|
+
Question,
|
|
64
|
+
RecordId,
|
|
65
|
+
loadOrgPack
|
|
66
|
+
} from "./chunk-A3LVMCA5.js";
|
|
67
|
+
import "./chunk-NWMFVPEP.js";
|
|
68
|
+
import {
|
|
69
|
+
require_dist
|
|
70
|
+
} from "./chunk-BQGDB6ZL.js";
|
|
71
|
+
import "./chunk-R4TUWD4C.js";
|
|
72
|
+
import {
|
|
73
|
+
__toESM
|
|
74
|
+
} from "./chunk-TV45EUGM.js";
|
|
75
|
+
|
|
76
|
+
// packages/cli/dist/repo-rename.js
|
|
77
|
+
var import_yaml = __toESM(require_dist(), 1);
|
|
78
|
+
import { existsSync } from "node:fs";
|
|
79
|
+
import { readFile } from "node:fs/promises";
|
|
80
|
+
import { join, relative, sep } from "node:path";
|
|
81
|
+
var posix = (p) => p.split(sep).join("/");
|
|
82
|
+
function renamed(v, from, to) {
|
|
83
|
+
let changed = false;
|
|
84
|
+
const walk = (x) => {
|
|
85
|
+
if (Array.isArray(x))
|
|
86
|
+
return x.map(walk);
|
|
87
|
+
if (x && typeof x === "object") {
|
|
88
|
+
const out = {};
|
|
89
|
+
for (const [k, y] of Object.entries(x)) {
|
|
90
|
+
if (k === "repo" && y === from) {
|
|
91
|
+
out[k] = to;
|
|
92
|
+
changed = true;
|
|
93
|
+
} else
|
|
94
|
+
out[k] = walk(y);
|
|
95
|
+
}
|
|
96
|
+
return out;
|
|
97
|
+
}
|
|
98
|
+
return x;
|
|
99
|
+
};
|
|
100
|
+
return { value: walk(v), changed };
|
|
101
|
+
}
|
|
102
|
+
function renamedText(text, from, to) {
|
|
103
|
+
const esc = from.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
104
|
+
return text.replace(new RegExp(`(?<![A-Za-z0-9._-])${esc}(?![A-Za-z0-9._-])`, "g"), to);
|
|
105
|
+
}
|
|
106
|
+
function rewriteFactsFile(name, text, from, to) {
|
|
107
|
+
if (name.endsWith(".jsonl"))
|
|
108
|
+
return text.split(/\r?\n/).map((line) => {
|
|
109
|
+
if (!line.trim())
|
|
110
|
+
return line;
|
|
111
|
+
try {
|
|
112
|
+
const r = renamed(JSON.parse(line), from, to);
|
|
113
|
+
return r.changed ? JSON.stringify(r.value) : line;
|
|
114
|
+
} catch {
|
|
115
|
+
return line;
|
|
116
|
+
}
|
|
117
|
+
}).join("\n");
|
|
118
|
+
try {
|
|
119
|
+
const r = renamed((0, import_yaml.parse)(text), from, to);
|
|
120
|
+
return r.changed ? (0, import_yaml.stringify)(r.value) : text;
|
|
121
|
+
} catch {
|
|
122
|
+
return text;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
var renameHooks = {};
|
|
126
|
+
async function repoRename(root, from, to, io, o = {}) {
|
|
127
|
+
const breakSlots = renameHooks.breakNewSlots === true;
|
|
128
|
+
renameHooks.breakNewSlots = void 0;
|
|
129
|
+
if (!from || !to) {
|
|
130
|
+
io.err("Usage: atticus repo rename <old id> <new id>");
|
|
131
|
+
return 2;
|
|
132
|
+
}
|
|
133
|
+
if (!RecordId.safeParse(to).success) {
|
|
134
|
+
io.err(`${to} isn't a repo id: ids are lowercase slugs (a-z, 0-9, '.', '_' and '-').`);
|
|
135
|
+
return 2;
|
|
136
|
+
}
|
|
137
|
+
let lock;
|
|
138
|
+
try {
|
|
139
|
+
lock = await acquireLock(root, "scan", `atticus repo rename ${from} ${to}`);
|
|
140
|
+
} catch (e) {
|
|
141
|
+
if (e instanceof LockHeldError) {
|
|
142
|
+
io.err(e.message);
|
|
143
|
+
return 1;
|
|
144
|
+
}
|
|
145
|
+
throw e;
|
|
146
|
+
}
|
|
147
|
+
try {
|
|
148
|
+
return await renameLocked(root, from, to, io, o, breakSlots);
|
|
149
|
+
} finally {
|
|
150
|
+
await lock.release();
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
async function renameLocked(root, from, to, io, o, breakSlots) {
|
|
154
|
+
const refusedJson = (reasons, message) => {
|
|
155
|
+
if (o.json)
|
|
156
|
+
io.out(JSON.stringify({ renamed: false, refused: { reasons, message } }, null, 2));
|
|
157
|
+
};
|
|
158
|
+
const listed = await loadRepos(root).catch(() => []);
|
|
159
|
+
if (!listed.some((r) => r.id === from)) {
|
|
160
|
+
io.err(`There is no repo ${from} in any manifest (atticus repos list shows the ids).`);
|
|
161
|
+
return 2;
|
|
162
|
+
}
|
|
163
|
+
if (listed.some((r) => r.id === to)) {
|
|
164
|
+
io.err(`${to} is already listed; repo ids are unique across every profile.`);
|
|
165
|
+
return 2;
|
|
166
|
+
}
|
|
167
|
+
const factsDir = factsDirOf(root);
|
|
168
|
+
const fRel = factsRelOf(root);
|
|
169
|
+
const moves = [];
|
|
170
|
+
for (const suffix of [".jsonl", ...FACTS_COMPANIONS]) {
|
|
171
|
+
const src = join(factsDir, `${from}${suffix}`);
|
|
172
|
+
if (!existsSync(src))
|
|
173
|
+
continue;
|
|
174
|
+
moves.push({
|
|
175
|
+
src,
|
|
176
|
+
dst: join(factsDir, `${to}${suffix}`),
|
|
177
|
+
rel: `${fRel}/${from}${suffix}`,
|
|
178
|
+
relTo: `${fRel}/${to}${suffix}`,
|
|
179
|
+
name: suffix
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
const scanDir = join(orgPackDirOf(root), "scan");
|
|
183
|
+
const scanSrc = join(scanDir, `${from}.yaml`);
|
|
184
|
+
if (existsSync(scanSrc)) {
|
|
185
|
+
const rel = posix(relative(root, scanDir));
|
|
186
|
+
moves.push({
|
|
187
|
+
src: scanSrc,
|
|
188
|
+
dst: join(scanDir, `${to}.yaml`),
|
|
189
|
+
rel: `${rel}/${from}.yaml`,
|
|
190
|
+
relTo: `${rel}/${to}.yaml`,
|
|
191
|
+
name: ".yaml"
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
const taken = moves.filter((m) => existsSync(m.dst));
|
|
195
|
+
if (taken.length) {
|
|
196
|
+
for (const m of taken)
|
|
197
|
+
io.err(`${m.relTo} is already there: move or remove it first, so ${m.rel} doesn't overwrite it. Nothing was changed.`);
|
|
198
|
+
return 1;
|
|
199
|
+
}
|
|
200
|
+
const slotWrites = [];
|
|
201
|
+
const readText = (p) => readFile(p, "utf8").then((t) => t.replace(/\r\n?/g, "\n"), () => void 0);
|
|
202
|
+
const rOld = readersSlotPath(root, from);
|
|
203
|
+
const rText = await readText(rOld);
|
|
204
|
+
if (rText !== void 0) {
|
|
205
|
+
const read = readersSlotRead(rText);
|
|
206
|
+
const next0 = "slot" in read ? serializeReadersSlot(renamed({ ...read.slot }, from, to).value) : void 0;
|
|
207
|
+
const next = breakSlots && next0 ? next0.slice(0, -10) : next0;
|
|
208
|
+
const check = next === void 0 ? void 0 : readersSlotRead(next);
|
|
209
|
+
if (!next || !check || !("slot" in check) || check.slot.repo !== to) {
|
|
210
|
+
const why = `The readers slot of ${from} doesn't read under ${to} (${"problem" in read ? read.problem : "problem" in (check ?? {}) ? check.problem : "renamed, it isn't a slot"}); nothing was changed.`;
|
|
211
|
+
io.err(why);
|
|
212
|
+
refusedJson(["build-failed"], why);
|
|
213
|
+
return 1;
|
|
214
|
+
}
|
|
215
|
+
slotWrites.push({ path: readersSlotPath(root, to), text: next });
|
|
216
|
+
}
|
|
217
|
+
const fOld = factsSlotPaths(root, from);
|
|
218
|
+
const [fText, mText] = [await readText(fOld.facts), await readText(fOld.meta)];
|
|
219
|
+
if (fText !== void 0 || mText !== void 0) {
|
|
220
|
+
const facts = fText === void 0 ? void 0 : rewriteFactsFile(".jsonl", fText, from, to);
|
|
221
|
+
let meta;
|
|
222
|
+
try {
|
|
223
|
+
const m = mText === void 0 ? void 0 : JSON.parse(mText);
|
|
224
|
+
if (m && facts !== void 0) {
|
|
225
|
+
const n = renamed(m, from, to).value;
|
|
226
|
+
meta = serializeFactsSlotMeta({
|
|
227
|
+
...n,
|
|
228
|
+
repo: to,
|
|
229
|
+
factsHash: sha256Of(facts)
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
} catch {
|
|
233
|
+
meta = void 0;
|
|
234
|
+
}
|
|
235
|
+
const check = factsSlotOf(to, facts, breakSlots && meta ? meta.slice(0, -10) : meta);
|
|
236
|
+
if (!check?.ok || facts === void 0 || meta === void 0) {
|
|
237
|
+
const why = `The facts snapshot of ${from} doesn't read under ${to} (${check && !check.ok ? check.problem : "its meta isn't JSON"}); nothing was changed.`;
|
|
238
|
+
io.err(why);
|
|
239
|
+
refusedJson(["build-failed"], why);
|
|
240
|
+
return 1;
|
|
241
|
+
}
|
|
242
|
+
const p = factsSlotPaths(root, to);
|
|
243
|
+
slotWrites.push({ path: p.facts, text: facts }, { path: p.meta, text: meta });
|
|
244
|
+
}
|
|
245
|
+
const ljPath = legacyJoinsPath(root);
|
|
246
|
+
const ljText = await readText(ljPath);
|
|
247
|
+
if (ljText !== void 0) {
|
|
248
|
+
const lj = parseLegacyJoins(ljText);
|
|
249
|
+
if (!lj.ok) {
|
|
250
|
+
const why = `catalog/sources/legacy/joins.json doesn't read (${lj.issues[0]?.message ?? "invalid"}); nothing was changed.`;
|
|
251
|
+
io.err(why);
|
|
252
|
+
refusedJson(["build-failed"], why);
|
|
253
|
+
return 1;
|
|
254
|
+
}
|
|
255
|
+
const relPath = (abs) => posix(relative(root, abs));
|
|
256
|
+
const moved = /* @__PURE__ */ new Map();
|
|
257
|
+
for (const w of slotWrites)
|
|
258
|
+
if (w.text !== null)
|
|
259
|
+
moved.set(relPath(w.path).replace(`/${to}.`, `/${from}.`), relPath(w.path));
|
|
260
|
+
const inputs2 = {};
|
|
261
|
+
for (const [k, h] of Object.entries(lj.slot.inputs)) {
|
|
262
|
+
const next2 = moved.get(k);
|
|
263
|
+
const w = next2 ? slotWrites.find((x) => relPath(x.path) === next2) : void 0;
|
|
264
|
+
if (next2 && w?.text)
|
|
265
|
+
inputs2[next2] = sha256Of(w.text);
|
|
266
|
+
else
|
|
267
|
+
inputs2[k] = h;
|
|
268
|
+
}
|
|
269
|
+
const records = lj.slot.records.map((r) => {
|
|
270
|
+
const n = renamed(r, from, to);
|
|
271
|
+
if (!n.changed)
|
|
272
|
+
return r;
|
|
273
|
+
const p = parseRecord(n.value);
|
|
274
|
+
return p.ok ? p.record : r;
|
|
275
|
+
});
|
|
276
|
+
const next = serializeLegacyJoins({ ...lj.slot, records, inputs: inputs2 });
|
|
277
|
+
if (next !== ljText)
|
|
278
|
+
slotWrites.push({ path: ljPath, text: next });
|
|
279
|
+
}
|
|
280
|
+
forgetKeptReads();
|
|
281
|
+
const said = [];
|
|
282
|
+
const inputWrites = [];
|
|
283
|
+
const inputRemovals = [];
|
|
284
|
+
let manifest;
|
|
285
|
+
try {
|
|
286
|
+
manifest = await renamedManifest(root, from, to);
|
|
287
|
+
} catch (e) {
|
|
288
|
+
if (e instanceof ManifestEditError) {
|
|
289
|
+
io.err(e.message);
|
|
290
|
+
return e.code === "not-found" ? 2 : 1;
|
|
291
|
+
}
|
|
292
|
+
throw e;
|
|
293
|
+
}
|
|
294
|
+
inputWrites.push({ path: manifest.file.path, text: manifest.next, input: true });
|
|
295
|
+
said.push(`${manifest.file.rel}: the entry's id`);
|
|
296
|
+
for (const m of moves) {
|
|
297
|
+
const text = await readFile(m.src, "utf8");
|
|
298
|
+
inputWrites.push({ path: m.dst, text: rewriteFactsFile(m.name, text, from, to), input: true });
|
|
299
|
+
inputRemovals.push({ path: m.src, text: null, input: true });
|
|
300
|
+
said.push(`${m.rel} \u2192 ${m.relTo}`);
|
|
301
|
+
}
|
|
302
|
+
const questions = (await listQuestions(root)).questions.map((q) => q.repo === from ? Question.parse({
|
|
303
|
+
...q,
|
|
304
|
+
repo: to,
|
|
305
|
+
rerun: renamedText(q.rerun, from, to),
|
|
306
|
+
askedBy: { ...q.askedBy, command: renamedText(q.askedBy.command, from, to) },
|
|
307
|
+
...q.scope.level === "repo" && q.scope.id === from ? { scope: { ...q.scope, id: to } } : {}
|
|
308
|
+
}) : q);
|
|
309
|
+
const qMoved = questions.filter((q) => q.repo === to);
|
|
310
|
+
for (const q of qMoved)
|
|
311
|
+
inputWrites.push({ path: questionFileOf(root, q.id), text: questionFileText(q), input: true });
|
|
312
|
+
if (qMoved.length)
|
|
313
|
+
said.push(`${qMoved.length} question${qMoved.length === 1 ? "" : "s"} (repo ${to})`);
|
|
314
|
+
const op0 = await loadOrgPack(orgPackDirOf(root));
|
|
315
|
+
const op = structuredClone(op0);
|
|
316
|
+
for (const p of op.profiles)
|
|
317
|
+
for (const r of p.repos?.repos ?? [])
|
|
318
|
+
if (r.id === from)
|
|
319
|
+
r.id = to;
|
|
320
|
+
for (const s of op.scanSettings)
|
|
321
|
+
if (s.repo === from)
|
|
322
|
+
s.repo = to;
|
|
323
|
+
const curatedDir = curatedDirOf(root, op0);
|
|
324
|
+
const curatedNow = await readCatalog(curatedDir, { cacheRoot: root, fresh: true });
|
|
325
|
+
let decisions = 0;
|
|
326
|
+
const curatedNext = curatedNow.records.map((r) => {
|
|
327
|
+
const n = renamed(r, from, to);
|
|
328
|
+
if (!n.changed)
|
|
329
|
+
return r;
|
|
330
|
+
const p = parseRecord(n.value);
|
|
331
|
+
if (!p.ok) {
|
|
332
|
+
io.err(`${r.kind} ${r.id} names ${from} but wouldn't be valid renamed (${p.issues.map((i) => i.message).join("; ")}); left as it is.`);
|
|
333
|
+
return r;
|
|
334
|
+
}
|
|
335
|
+
inputWrites.push({
|
|
336
|
+
path: join(curatedDir, ...recordPath(p.record).split("/")),
|
|
337
|
+
text: serializeRecord(p.record),
|
|
338
|
+
input: true
|
|
339
|
+
});
|
|
340
|
+
decisions++;
|
|
341
|
+
return p.record;
|
|
342
|
+
});
|
|
343
|
+
const writes = [
|
|
344
|
+
...slotWrites,
|
|
345
|
+
...inputWrites,
|
|
346
|
+
...inputRemovals,
|
|
347
|
+
// The old slot files go last, once the new ones are written.
|
|
348
|
+
...rText !== void 0 ? [{ path: rOld, text: null }] : [],
|
|
349
|
+
...fText !== void 0 ? [{ path: fOld.facts, text: null }] : [],
|
|
350
|
+
...mText !== void 0 ? [{ path: fOld.meta, text: null }] : []
|
|
351
|
+
];
|
|
352
|
+
const pending = /* @__PURE__ */ new Map();
|
|
353
|
+
for (const w of [...inputWrites, ...inputRemovals])
|
|
354
|
+
pending.set(w.path, w.text);
|
|
355
|
+
const command = `atticus repo rename ${from} ${to}`;
|
|
356
|
+
const inputs = await loadBuildInputs(root, { op, curated: curatedNext, pending, questions });
|
|
357
|
+
const build = await buildCatalog({
|
|
358
|
+
...inputs,
|
|
359
|
+
slots: await withSlotWrites(root, inputs.slots, writes.filter((w) => !w.input))
|
|
360
|
+
});
|
|
361
|
+
const confirm = {
|
|
362
|
+
...o.allowRemovals !== void 0 ? { allowRemovals: o.allowRemovals } : {},
|
|
363
|
+
...o.discardEdits !== void 0 ? { discardEdits: o.discardEdits } : {}
|
|
364
|
+
};
|
|
365
|
+
const undoDir = await undoDirOf(root);
|
|
366
|
+
const newest = (await listUndo(undoDir))[0]?.n ?? 0;
|
|
367
|
+
let written;
|
|
368
|
+
try {
|
|
369
|
+
written = await buildAndWrite(root, { command, build, slots: writes, ...confirm });
|
|
370
|
+
} catch (e) {
|
|
371
|
+
await rollBackUndo(root, undoDir, newest);
|
|
372
|
+
forgetKeptReads();
|
|
373
|
+
io.err(`The rename stopped part way (${e instanceof Error ? e.message : String(e)}); every file it had written was put back, so nothing was renamed.`);
|
|
374
|
+
throw e;
|
|
375
|
+
}
|
|
376
|
+
if (written.guard.refused) {
|
|
377
|
+
for (const l of buildLines(root, written))
|
|
378
|
+
io.err(l);
|
|
379
|
+
io.err("Nothing was renamed.");
|
|
380
|
+
if (o.json)
|
|
381
|
+
io.out(JSON.stringify({ renamed: false, refused: written.guard.refused }, null, 2));
|
|
382
|
+
return 1;
|
|
383
|
+
}
|
|
384
|
+
if (decisions)
|
|
385
|
+
said.push(`${decisions} curated decision${decisions === 1 ? "" : "s"} (repo ${to})`);
|
|
386
|
+
for (const l of buildLines(root, written))
|
|
387
|
+
said.push(l);
|
|
388
|
+
forgetCatalogs();
|
|
389
|
+
if (o.json) {
|
|
390
|
+
io.out(JSON.stringify({
|
|
391
|
+
renamed: true,
|
|
392
|
+
from,
|
|
393
|
+
to,
|
|
394
|
+
files: written.write ? {
|
|
395
|
+
written: written.write.written,
|
|
396
|
+
unchanged: written.write.unchanged,
|
|
397
|
+
removed: written.write.removed
|
|
398
|
+
} : null,
|
|
399
|
+
slots: written.write?.slots ?? [],
|
|
400
|
+
removed: (written.write?.removals ?? []).map((x) => ({
|
|
401
|
+
kind: x.kind,
|
|
402
|
+
id: x.id,
|
|
403
|
+
repos: x.repos,
|
|
404
|
+
explainedBy: x.explainedBy,
|
|
405
|
+
reasons: x.reasons
|
|
406
|
+
}))
|
|
407
|
+
}, null, 2));
|
|
408
|
+
return 0;
|
|
409
|
+
}
|
|
410
|
+
io.out(`Renamed ${from} to ${to}:`);
|
|
411
|
+
for (const l of said)
|
|
412
|
+
io.out(` ${l}`);
|
|
413
|
+
const left = [
|
|
414
|
+
existsSync(join(root, ...specRelOf(root, from).split("/"))) ? specRelOf(root, from) : "",
|
|
415
|
+
existsSync(join(root, ...`${mapRelOf(root)}/${from}`.split("/"))) ? `${mapRelOf(root)}/${from}` : ""
|
|
416
|
+
].filter(Boolean);
|
|
417
|
+
if (left.length)
|
|
418
|
+
io.out(`Left as they are: ${left.join(" and ")}. atticus verify ${to} --write writes them under ${to}; remove the old ones in the same pull request.`);
|
|
419
|
+
io.out(`Review the change and commit it in a pull request: Atticus commits and pushes nothing. A clone under the old id is cloned again under ${to} by atticus workspace sync.`);
|
|
420
|
+
return 0;
|
|
421
|
+
}
|
|
422
|
+
export {
|
|
423
|
+
renameHooks,
|
|
424
|
+
repoRename
|
|
425
|
+
};
|
|
@@ -5,15 +5,15 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
rulesLackingAll
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FKAUBC4Y.js";
|
|
9
9
|
import {
|
|
10
10
|
loadReadPlan
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VVLWEM2Y.js";
|
|
12
12
|
import {
|
|
13
13
|
carryOf,
|
|
14
14
|
checkoutOf,
|
|
15
15
|
excludesOf
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QPAANKUR.js";
|
|
17
17
|
import {
|
|
18
18
|
isMetarepo,
|
|
19
19
|
notMetarepo
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
dirSource,
|
|
23
23
|
rereadPlan,
|
|
24
24
|
sameCommit
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YIGSUTW2.js";
|
|
26
26
|
import {
|
|
27
27
|
loadRepos
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-X5B7KYPD.js";
|
|
29
29
|
import {
|
|
30
30
|
citedFiles,
|
|
31
31
|
factsDirOf,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
factsRelOf,
|
|
34
34
|
headFromFiles,
|
|
35
35
|
parseFacts
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-WJWSB65O.js";
|
|
37
37
|
|
|
38
38
|
// packages/cli/dist/estate-fresh.js
|
|
39
39
|
import { readdir, readFile } from "node:fs/promises";
|
|
@@ -14,32 +14,33 @@ import {
|
|
|
14
14
|
scaffoldDialect,
|
|
15
15
|
surveyRepos,
|
|
16
16
|
testDialect
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-RWYPLODE.js";
|
|
18
|
+
import "./chunk-QC6GSNIK.js";
|
|
19
|
+
import "./chunk-YIGSUTW2.js";
|
|
20
|
+
import "./chunk-N5DLB74D.js";
|
|
21
|
+
import "./chunk-UWBODTY7.js";
|
|
22
|
+
import "./chunk-X5B7KYPD.js";
|
|
23
|
+
import "./chunk-IPSZDVLI.js";
|
|
24
|
+
import "./chunk-2MRYL45Z.js";
|
|
25
|
+
import "./chunk-ELJ5Q4J2.js";
|
|
23
26
|
import {
|
|
24
27
|
SYNTAX_LANGUAGES,
|
|
25
28
|
syntaxLanguageOf,
|
|
26
29
|
syntaxOutline
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-ZDA72732.js";
|
|
30
|
-
import "./chunk-QA4O2GGC.js";
|
|
31
|
-
import "./chunk-XIJBQM45.js";
|
|
30
|
+
} from "./chunk-XZY4GTCX.js";
|
|
31
|
+
import "./chunk-3M3MDBOG.js";
|
|
32
32
|
import {
|
|
33
33
|
orgPackDirOf
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-WJWSB65O.js";
|
|
35
|
+
import "./chunk-SMFFUFMN.js";
|
|
36
36
|
import {
|
|
37
37
|
RecordId
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-A3LVMCA5.js";
|
|
39
|
+
import "./chunk-NWMFVPEP.js";
|
|
40
40
|
import {
|
|
41
41
|
require_dist
|
|
42
42
|
} from "./chunk-BQGDB6ZL.js";
|
|
43
|
+
import "./chunk-R4TUWD4C.js";
|
|
43
44
|
import {
|
|
44
45
|
__toESM
|
|
45
46
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -5,22 +5,22 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
excludesOf
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QPAANKUR.js";
|
|
9
9
|
import {
|
|
10
10
|
dirSource,
|
|
11
11
|
houseImportsUntaught,
|
|
12
12
|
readRulesOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YIGSUTW2.js";
|
|
14
14
|
import {
|
|
15
15
|
globToRegExp
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3M3MDBOG.js";
|
|
17
17
|
import {
|
|
18
18
|
orgPackDirOf
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WJWSB65O.js";
|
|
20
20
|
import {
|
|
21
21
|
conventionsOf,
|
|
22
22
|
loadOrgPack
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-A3LVMCA5.js";
|
|
24
24
|
|
|
25
25
|
// packages/cli/dist/house-imports.js
|
|
26
26
|
async function houseUntaughtOf(root, repo, o) {
|