@maycombhq/atticus 2.0.0-beta.2 → 2.0.0-beta.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +8 -4
- package/dist/chunk-23XVSEV5.js +49 -0
- package/dist/{chunk-ZDPAS56H.js → chunk-24OXGB3P.js} +8 -2
- package/dist/{chunk-7EOBHUMC.js → chunk-24XLDU72.js} +4 -3
- package/dist/{chunk-CR3MTH32.js → chunk-2F4CYZKJ.js} +86 -11
- package/dist/{chunk-6IU67AEK.js → chunk-2GF7OLF3.js} +23 -15
- package/dist/chunk-2IIMFOPM.js +41 -0
- package/dist/chunk-2LGRMVCA.js +617 -0
- package/dist/{chunk-XPCM366L.js → chunk-2MMCFP5C.js} +10 -8
- package/dist/{chunk-JBTK5OP2.js → chunk-2Q56PQPS.js} +6 -4
- package/dist/{chunk-Z6LF7HQN.js → chunk-2Q5EDGEO.js} +7 -5
- package/dist/{chunk-3USYZGRF.js → chunk-2RLKFUUL.js} +38 -27
- package/dist/chunk-2SKB4O2E.js +59 -0
- package/dist/{chunk-SP2I63OO.js → chunk-34S2WGOB.js} +87 -4
- package/dist/{chunk-GQ4N4WKF.js → chunk-3NFFJL5D.js} +33 -27
- package/dist/{chunk-SJRGMG6A.js → chunk-3NWDLGG6.js} +28 -25
- package/dist/{chunk-4WBVUHXN.js → chunk-3RM4UK6W.js} +20 -18
- package/dist/chunk-42SIDKEU.js +583 -0
- package/dist/{chunk-GLUX4EEP.js → chunk-4EURQWQD.js} +20 -15
- package/dist/chunk-4U276ICE.js +39 -0
- package/dist/{chunk-ZMFPW66A.js → chunk-53T4O55J.js} +4 -3
- package/dist/{chunk-6J5OKA4Y.js → chunk-57TDNMI3.js} +17 -15
- package/dist/chunk-5BD2KYLE.js +57 -0
- package/dist/{chunk-7EFILTCI.js → chunk-5F7GFN2F.js} +28 -0
- package/dist/chunk-5NMKONLP.js +95 -0
- package/dist/{chunk-7ZUIMTOU.js → chunk-5SJZW52K.js} +26 -24
- package/dist/{chunk-4RS5KZQD.js → chunk-63YRMR6J.js} +6 -5
- package/dist/chunk-66PPNOON.js +62 -0
- package/dist/chunk-6H3Z5JHH.js +64 -0
- package/dist/{chunk-CEXSU4S6.js → chunk-6MUGR4LS.js} +775 -89
- package/dist/{chunk-QSXK2RGH.js → chunk-6OJQOPUN.js} +5 -3
- package/dist/{chunk-MVZVGYXH.js → chunk-6PPOWY5E.js} +84 -14
- package/dist/{chunk-7EKXJZ2Y.js → chunk-6ZGLAACW.js} +299 -38
- package/dist/chunk-6ZJ5A7AF.js +222 -0
- package/dist/{chunk-L24C55VN.js → chunk-745DAZ4L.js} +142 -30
- package/dist/{chunk-Q4D5X7QB.js → chunk-7ASNL4Q4.js} +46 -24
- package/dist/chunk-7BR7IPOH.js +35 -0
- package/dist/{chunk-7WD63HU2.js → chunk-7DOR27HL.js} +6 -6
- package/dist/chunk-7FTTA3HD.js +341 -0
- package/dist/{chunk-OLQJTJJU.js → chunk-7GJS6DNX.js} +12 -3
- package/dist/{chunk-7JUKDRSZ.js → chunk-7IGKHZ4Z.js} +347 -226
- package/dist/{chunk-G2B4ZQGH.js → chunk-7IOWA5D5.js} +11 -6
- package/dist/{chunk-EBEW3XXQ.js → chunk-7JITZFJC.js} +7 -5
- package/dist/chunk-7MJSQTL5.js +174 -0
- package/dist/{chunk-I4JRCD6M.js → chunk-7UOMVMFG.js} +25 -17
- package/dist/{chunk-YY6ZQQBP.js → chunk-AFWUDXEM.js} +19 -7
- package/dist/chunk-AFZ3QA6W.js +47 -0
- package/dist/chunk-AJQ72EBM.js +420 -0
- package/dist/chunk-AJYXNTNZ.js +317 -0
- package/dist/chunk-AVTBS4OW.js +49 -0
- package/dist/{chunk-FHH4I4ZV.js → chunk-BDKC6H5P.js} +12 -6
- package/dist/{chunk-IPKHE5D6.js → chunk-BEVTIBRH.js} +1526 -875
- package/dist/chunk-BHT7QK4G.js +162 -0
- package/dist/{chunk-6JUBZBMW.js → chunk-BIGDQDHD.js} +6 -4
- package/dist/{chunk-2BFCZ3RK.js → chunk-BO4KX37X.js} +20 -18
- package/dist/chunk-BPK5P77O.js +115 -0
- package/dist/chunk-BQ4SQQC6.js +59 -0
- package/dist/chunk-BQGDB6ZL.js +7342 -0
- package/dist/{chunk-2ANOROX3.js → chunk-BTGPE6CR.js} +11 -9
- package/dist/chunk-BTY3HZBO.js +93 -0
- package/dist/{chunk-DPZHZQKE.js → chunk-BXYMYEJ4.js} +44 -10
- package/dist/{chunk-2RMYG36Q.js → chunk-C3RY6KU6.js} +309 -346
- package/dist/chunk-C4R4JLHE.js +40 -0
- package/dist/chunk-CADWLE2T.js +18 -0
- package/dist/chunk-CBGGOQWU.js +82 -0
- package/dist/chunk-CMDXGQTS.js +47 -0
- package/dist/{chunk-MC3H7736.js → chunk-CQDGOPGH.js} +58 -18
- package/dist/{chunk-HFQCFSJR.js → chunk-CX4RZ2KS.js} +4 -3
- package/dist/{chunk-PAMPPUR6.js → chunk-CXJ6FUKN.js} +1852 -207
- package/dist/{chunk-ABWHYWNI.js → chunk-D73UEXYW.js} +3 -3
- package/dist/chunk-DCZWQLYT.js +1205 -0
- package/dist/chunk-DLOBCJL6.js +48 -0
- package/dist/{chunk-4BN53TG3.js → chunk-DOBQKHIF.js} +31 -23
- package/dist/chunk-E3ISYXO3.js +423 -0
- package/dist/{chunk-7SW2QWLU.js → chunk-E6ZIEVOI.js} +16 -13
- package/dist/chunk-EBL2R3YG.js +43 -0
- package/dist/{chunk-AIOQPLA5.js → chunk-EGQRREQH.js} +41 -15
- package/dist/chunk-EHA7RMZ3.js +58 -0
- package/dist/{chunk-M766ZJ6W.js → chunk-EIPTLPFC.js} +38 -27
- package/dist/chunk-EMRIQUND.js +517 -0
- package/dist/{chunk-DFBCSHVT.js → chunk-EPCJQQWD.js} +6 -4
- package/dist/{chunk-RZPYKDWS.js → chunk-F3P7N7SF.js} +1 -1
- package/dist/{chunk-R77KLRB3.js → chunk-FFLNS6VP.js} +21 -18
- package/dist/chunk-FFTRTL6R.js +26 -0
- package/dist/{chunk-IHMLFRVV.js → chunk-FPJPLKDW.js} +62 -16
- package/dist/{chunk-JCZIKA4C.js → chunk-FSMSFDLD.js} +5 -4
- package/dist/{chunk-AVJDSJ2F.js → chunk-FUJM6RTF.js} +8 -7
- package/dist/chunk-FZOJFH7Q.js +132 -0
- package/dist/{chunk-QRAOANID.js → chunk-G6X77UJZ.js} +23 -21
- package/dist/{chunk-3ALD2W2A.js → chunk-GCWRWSU7.js} +10 -4
- package/dist/chunk-GIW4ZVDB.js +39 -0
- package/dist/{chunk-B2WLAWNJ.js → chunk-GUX3PTYM.js} +3 -3
- package/dist/{chunk-DPUYDDQG.js → chunk-GZY6RUZ6.js} +25 -3
- package/dist/chunk-H4VO6WG3.js +10 -0
- package/dist/{chunk-MMOSZPWJ.js → chunk-H5HBGNXU.js} +5 -4
- package/dist/chunk-H7KM7LZE.js +229 -0
- package/dist/{chunk-AA6YULYB.js → chunk-HNM2YQT2.js} +7 -7
- package/dist/{chunk-3C7EYRFZ.js → chunk-HYU5VLGA.js} +1 -1
- package/dist/{chunk-XY3P7JW7.js → chunk-IDKCWSM5.js} +1032 -172
- package/dist/chunk-IFKEI4SA.js +237 -0
- package/dist/{chunk-F7HYOUFF.js → chunk-IGOE6KPG.js} +67 -22
- package/dist/{chunk-TDD55CJH.js → chunk-IH2XURVQ.js} +6 -5
- package/dist/chunk-INQHESFB.js +38 -0
- package/dist/chunk-IP74LCOQ.js +57 -0
- package/dist/chunk-IPHHDDC6.js +45 -0
- package/dist/{chunk-T6AIP7H5.js → chunk-ISUAAMGS.js} +110 -153
- package/dist/{chunk-A7UPUQFY.js → chunk-IUPG3UKI.js} +624 -319
- package/dist/{chunk-L6SGQIR3.js → chunk-IVBOQAGB.js} +7 -3
- package/dist/{chunk-27NKUS3X.js → chunk-J2JAKCIW.js} +2205 -796
- package/dist/{chunk-V2YTAIQO.js → chunk-J3IOLXWM.js} +24 -7
- package/dist/chunk-JA5FI3QV.js +142 -0
- package/dist/chunk-JAVI7JSP.js +49 -0
- package/dist/{chunk-HLJAXMM4.js → chunk-JB5LINEM.js} +6 -2
- package/dist/{chunk-2VHF7OXM.js → chunk-JENSEMXF.js} +1 -1
- package/dist/{chunk-6BVONWJ7.js → chunk-JJF6HALY.js} +4 -3
- package/dist/chunk-JLUCKAEL.js +38 -0
- package/dist/chunk-JRBFANFE.js +221 -0
- package/dist/{chunk-R6XF6UR3.js → chunk-KDNTAPLX.js} +4 -4
- package/dist/chunk-KFAVQZSX.js +33 -0
- package/dist/chunk-KJXD4PNL.js +50 -0
- package/dist/chunk-KN5BXMWN.js +44 -0
- package/dist/{chunk-PCVDV3UZ.js → chunk-KQGURXFU.js} +9 -7
- package/dist/{chunk-WY6PP6AA.js → chunk-KXITGYLF.js} +40 -6
- package/dist/{chunk-66YVAGGM.js → chunk-L27SV425.js} +22 -20
- package/dist/{chunk-NE2W3OO7.js → chunk-LDLL7LB3.js} +24 -22
- package/dist/chunk-LFGTYX5U.js +379 -0
- package/dist/{chunk-EYWIDJFU.js → chunk-LGBMTVNT.js} +7 -5
- package/dist/{chunk-Q5AMFEWD.js → chunk-LGFL54FP.js} +3 -2
- package/dist/{chunk-6TACQN3N.js → chunk-LJXMYKZJ.js} +7 -5
- package/dist/{chunk-BKVWTZ6A.js → chunk-LKOR5UET.js} +29 -26
- package/dist/chunk-LNBQOP7D.js +294 -0
- package/dist/{chunk-O3WI5KWW.js → chunk-LO6P2VYG.js} +2 -2
- package/dist/chunk-LQJPN536.js +122 -0
- package/dist/{chunk-YEDDOYSC.js → chunk-LYBNHMVZ.js} +29 -5
- package/dist/{chunk-A3GY6SOA.js → chunk-LZ7NUC62.js} +20 -18
- package/dist/chunk-M32BLWDH.js +37 -0
- package/dist/{chunk-VYDBJ73M.js → chunk-M3NANSDZ.js} +17 -15
- package/dist/chunk-MFHL5URL.js +31 -0
- package/dist/chunk-MFR5OPBD.js +109 -0
- package/dist/{chunk-DE76JROX.js → chunk-MG4ZL5RW.js} +32 -20
- package/dist/{chunk-N7IXEHK3.js → chunk-MO6P2JZH.js} +10 -8
- package/dist/{chunk-65NYPGRC.js → chunk-MUWDB4R4.js} +1 -1
- package/dist/chunk-MZCGSXVR.js +34 -0
- package/dist/{chunk-MGYZM27B.js → chunk-N3XIYPU3.js} +51 -23
- package/dist/chunk-NDCF4R6S.js +172 -0
- package/dist/{chunk-DHPACDG7.js → chunk-NR2UJWOC.js} +10 -8
- package/dist/chunk-NXJ5URP6.js +51 -0
- package/dist/{chunk-UNM6ZOKP.js → chunk-NY2XSR5K.js} +147 -18
- package/dist/{chunk-5GDRCDQB.js → chunk-O45HFTFS.js} +3 -2
- package/dist/{chunk-ONLS5QA5.js → chunk-O4GXGGBX.js} +14 -12
- package/dist/chunk-O5PXQR67.js +249 -0
- package/dist/{chunk-PRPPGYZG.js → chunk-O66DM6DJ.js} +6 -4
- package/dist/{chunk-KEM4SDDP.js → chunk-O7FDLW7L.js} +11 -8
- package/dist/{chunk-T2UYZSCQ.js → chunk-O7XLYEFA.js} +169 -29
- package/dist/{chunk-FITWGOJ2.js → chunk-OHNCWBKF.js} +4 -4
- package/dist/{chunk-652QWTLZ.js → chunk-OHVTTOPS.js} +3 -3
- package/dist/chunk-OMI6FPPN.js +43 -0
- package/dist/chunk-ONUPY3H6.js +53 -0
- package/dist/chunk-OTLDSZDV.js +69 -0
- package/dist/chunk-OUBGGKDU.js +22 -0
- package/dist/chunk-OWNCM4ZN.js +330 -0
- package/dist/{chunk-YISXLPHN.js → chunk-P2V7QW4D.js} +235 -35
- package/dist/{chunk-CNUKCS2T.js → chunk-P32RUW3B.js} +1632 -93
- package/dist/{chunk-BWZ77RQT.js → chunk-PAQ2AS5E.js} +1 -1
- package/dist/{chunk-ZMAINWBW.js → chunk-PBPBMP2B.js} +4 -3
- package/dist/{chunk-ZVM6AKKM.js → chunk-PJSJPMJI.js} +3 -3
- package/dist/{chunk-EFHQ3TWP.js → chunk-PKBHS4AA.js} +233 -56
- package/dist/{chunk-GT4I4ZWM.js → chunk-PMUAJGLI.js} +20 -16
- package/dist/chunk-PPD7HTDP.js +152 -0
- package/dist/chunk-PSOFBQWB.js +42 -0
- package/dist/{chunk-S2A7YC3Q.js → chunk-Q2TECDIT.js} +10694 -8896
- package/dist/chunk-Q4K5WB2W.js +42 -0
- package/dist/{chunk-UGLN7QHV.js → chunk-Q6DFNVRJ.js} +14 -12
- package/dist/chunk-QA4O2GGC.js +265 -0
- package/dist/chunk-QAXW2N3B.js +1216 -0
- package/dist/chunk-QBNWF5ZU.js +19 -0
- package/dist/chunk-QFWA2DPH.js +224 -0
- package/dist/{chunk-23W7VWKR.js → chunk-QKUJMING.js} +1363 -114
- package/dist/{chunk-NXFPS2LR.js → chunk-R44CYFPV.js} +16 -13
- package/dist/{chunk-CKSITVS4.js → chunk-R7NYHMUU.js} +2687 -786
- package/dist/chunk-REWWDVQB.js +162 -0
- package/dist/{chunk-JMSCMUCA.js → chunk-RGERPOIV.js} +145 -21
- package/dist/{chunk-6JCPI55B.js → chunk-RLDGWLQ7.js} +49 -7
- package/dist/chunk-RUGXBPWI.js +384 -0
- package/dist/{chunk-CPA6HPVR.js → chunk-RXPJMEOW.js} +18 -12
- package/dist/{chunk-3HI6Z55Y.js → chunk-S4PMJU6H.js} +339 -43
- package/dist/chunk-S5LSDXV4.js +40 -0
- package/dist/chunk-S7FCV7S5.js +51 -0
- package/dist/{chunk-5GGOLAKC.js → chunk-SDKLKB6I.js} +28 -26
- package/dist/chunk-SFSPGFCV.js +62 -0
- package/dist/{chunk-ZNCEKR4J.js → chunk-SFUP7TTO.js} +12 -8
- package/dist/{chunk-64EQYWCA.js → chunk-SLXZOMA6.js} +69 -19
- package/dist/chunk-SQV37XO2.js +273 -0
- package/dist/{chunk-K65BJIMT.js → chunk-SU74NDMQ.js} +19 -17
- package/dist/chunk-SYV5LHML.js +165 -0
- package/dist/chunk-T4YPZIQN.js +36 -0
- package/dist/chunk-T6DQR5TV.js +323 -0
- package/dist/{chunk-JIITQXFB.js → chunk-THDMSZ3R.js} +3075 -802
- package/dist/{chunk-JGZCG5VM.js → chunk-TNR75OXT.js} +7 -7
- package/dist/{chunk-D3PO4DOZ.js → chunk-TUULXQRW.js} +174 -15
- package/dist/chunk-TYQBFTBR.js +516 -0
- package/dist/chunk-U76OWS3Q.js +49 -0
- package/dist/{chunk-YYQN46FY.js → chunk-UCROWG2D.js} +27 -24
- package/dist/{chunk-6M5NK3K3.js → chunk-UF4AZOZB.js} +50 -10
- package/dist/chunk-UF4GLFBX.js +345 -0
- package/dist/{chunk-OT2O76OS.js → chunk-UGUP3ZM6.js} +240 -39
- package/dist/chunk-UNAGJYET.js +45 -0
- package/dist/{chunk-5WG5YP4T.js → chunk-UOR2DTHH.js} +16 -14
- package/dist/{chunk-S3QNRWYR.js → chunk-UPOY4YSQ.js} +14 -12
- package/dist/{chunk-EPTBZ3GP.js → chunk-UPS2DGFC.js} +1 -1
- package/dist/{chunk-4AK7IBVP.js → chunk-UUU4CLJG.js} +4 -2
- package/dist/{chunk-W3BQAZ3Q.js → chunk-UWMJKX5U.js} +14 -12
- package/dist/{chunk-QZSX3F7C.js → chunk-UWOJLHFT.js} +27 -23
- package/dist/chunk-VBTP56CE.js +535 -0
- package/dist/chunk-VCTWPLAO.js +211 -0
- package/dist/chunk-VNU26RCO.js +1215 -0
- package/dist/{chunk-CSZ4C5N6.js → chunk-VTZMAJ3W.js} +93 -10
- package/dist/{chunk-TXLH6WHQ.js → chunk-VW62D6QE.js} +14 -12
- package/dist/{chunk-CAQZUNOH.js → chunk-VY72R2XZ.js} +610 -3
- package/dist/{chunk-2DIQQJCB.js → chunk-VZALIKIF.js} +18 -15
- package/dist/{chunk-TYAID7B7.js → chunk-W62H2XSO.js} +25 -23
- package/dist/{chunk-HVUPKCGJ.js → chunk-W7VWI2YH.js} +9 -6
- package/dist/{chunk-TANFV3MZ.js → chunk-WERM6KPJ.js} +7 -4
- package/dist/{chunk-BOHJZTEQ.js → chunk-WF7B67YE.js} +208 -87
- package/dist/{chunk-7FBGJFEE.js → chunk-WG5U3F5V.js} +14 -12
- package/dist/{chunk-4NDAAFQT.js → chunk-WJF2CS6M.js} +8 -5
- package/dist/{chunk-XAKWMCXI.js → chunk-WKUJ3KPV.js} +4 -4
- package/dist/chunk-WMTRHUI5.js +103 -0
- package/dist/chunk-WNKPRSGI.js +36 -0
- package/dist/chunk-WXFLMQSR.js +223 -0
- package/dist/{chunk-RRTKKSLQ.js → chunk-X3WY6MN3.js} +8 -6
- package/dist/{chunk-ZCJDOK2S.js → chunk-X4CXA2IL.js} +47 -23
- package/dist/{chunk-UBBC2XSG.js → chunk-X5F3Q5LV.js} +560 -105
- package/dist/{chunk-C6EKFH7J.js → chunk-XD75VZIH.js} +9 -7
- package/dist/chunk-XERYFDB5.js +297 -0
- package/dist/chunk-XI2LCCYQ.js +420 -0
- package/dist/chunk-Y2EQNWKV.js +933 -0
- package/dist/{chunk-LR3R6Z2A.js → chunk-YHCMZC2J.js} +7 -7
- package/dist/chunk-YYY3AZFE.js +122 -0
- package/dist/{chunk-GDLULHTC.js → chunk-Z5IA3WDR.js} +19 -31
- package/dist/{chunk-T6XQL73F.js → chunk-ZFFYNRIO.js} +63 -23
- package/dist/{chunk-EDS2L2LD.js → chunk-ZFL7NY4F.js} +56 -27
- package/dist/{chunk-YMZ3TNYB.js → chunk-ZGULQAPZ.js} +7 -4
- package/dist/{chunk-4SKZDI62.js → chunk-ZIUFM5HT.js} +3 -1
- package/dist/{chunk-DKJA76CJ.js → chunk-ZJFRMSJT.js} +15 -13
- package/dist/chunk-ZJXLNDH4.js +239 -0
- package/dist/chunk-ZQ3ON2VQ.js +252 -0
- package/dist/{chunk-HITVBIJS.js → chunk-ZQ7SKESZ.js} +150 -415
- package/dist/{chunk-6QSERWXH.js → chunk-ZQXZ2SES.js} +24 -21
- package/dist/chunk-ZX57KSEQ.js +39 -0
- package/dist/{chunk-I3E7CX4H.js → chunk-ZZK56BLP.js} +5 -3
- package/dist/files.json +664 -368
- package/dist/packages/naysayer/constitution/constitution.yaml +19 -0
- package/dist/packages/sdk/npm/index.js +6194 -2542
- package/dist/packages/ui/dist/assets/{elk-api-tma0MCuh.js → elk-api-CIf-0gz5.js} +2 -2
- package/dist/packages/ui/dist/assets/index-CoK_Dl0D.js +47 -0
- package/dist/packages/ui/dist/assets/index-Dw20IRhQ.css +1 -0
- package/dist/packages/ui/dist/index.html +3 -2
- package/package.json +5 -5
- package/dist/chunk-2BF2EYJV.js +0 -174
- package/dist/chunk-42EVSKME.js +0 -37
- package/dist/chunk-4BKGMUIK.js +0 -53
- package/dist/chunk-5KLGBXG5.js +0 -48
- package/dist/chunk-6BNC6EQ4.js +0 -41
- package/dist/chunk-6D2CQ5II.js +0 -41
- package/dist/chunk-7AVHLZGD.js +0 -45
- package/dist/chunk-D46WUV3T.js +0 -33
- package/dist/chunk-E36QOJMD.js +0 -47
- package/dist/chunk-FQXYPF7E.js +0 -147
- package/dist/chunk-GBRFVT63.js +0 -45
- package/dist/chunk-ICY36XCH.js +0 -34
- package/dist/chunk-J4K3KVLD.js +0 -131
- package/dist/chunk-JZU3H6UQ.js +0 -54
- package/dist/chunk-NN2ZQEB4.js +0 -38
- package/dist/chunk-PCOCACY3.js +0 -385
- package/dist/chunk-RTEYOSJY.js +0 -29
- package/dist/chunk-RUVFXE2L.js +0 -666
- package/dist/chunk-RVH5SUW5.js +0 -69
- package/dist/chunk-VN3DP4LQ.js +0 -43
- package/dist/chunk-W5BVQF44.js +0 -36
- package/dist/chunk-WVPJSRRJ.js +0 -52
- package/dist/chunk-XPTOBS2D.js +0 -48
- package/dist/packages/ui/dist/assets/index-B54fm9FQ.js +0 -29
- package/dist/packages/ui/dist/assets/index-DD_hufQz.css +0 -1
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
changeEstimateCommand,
|
|
8
|
+
estimateOf
|
|
9
|
+
} from "./chunk-BDKC6H5P.js";
|
|
10
|
+
import "./chunk-IH2XURVQ.js";
|
|
11
|
+
import "./chunk-WF7B67YE.js";
|
|
12
|
+
import "./chunk-6PPOWY5E.js";
|
|
13
|
+
import "./chunk-OHNCWBKF.js";
|
|
14
|
+
import "./chunk-BTGPE6CR.js";
|
|
15
|
+
import "./chunk-MUWDB4R4.js";
|
|
16
|
+
import "./chunk-R7NYHMUU.js";
|
|
17
|
+
import "./chunk-IVBOQAGB.js";
|
|
18
|
+
import "./chunk-ISUAAMGS.js";
|
|
19
|
+
import "./chunk-S4PMJU6H.js";
|
|
20
|
+
import "./chunk-IDKCWSM5.js";
|
|
21
|
+
import "./chunk-UUU4CLJG.js";
|
|
22
|
+
import "./chunk-7IGKHZ4Z.js";
|
|
23
|
+
import "./chunk-J2JAKCIW.js";
|
|
24
|
+
import "./chunk-745DAZ4L.js";
|
|
25
|
+
import "./chunk-CXJ6FUKN.js";
|
|
26
|
+
import "./chunk-QKUJMING.js";
|
|
27
|
+
import "./chunk-6ZGLAACW.js";
|
|
28
|
+
import "./chunk-CQDGOPGH.js";
|
|
29
|
+
import "./chunk-3NFFJL5D.js";
|
|
30
|
+
import "./chunk-PKBHS4AA.js";
|
|
31
|
+
import "./chunk-P32RUW3B.js";
|
|
32
|
+
import "./chunk-QA4O2GGC.js";
|
|
33
|
+
import "./chunk-Q2TECDIT.js";
|
|
34
|
+
import "./chunk-TUULXQRW.js";
|
|
35
|
+
import "./chunk-BQGDB6ZL.js";
|
|
36
|
+
import "./chunk-TV45EUGM.js";
|
|
37
|
+
export {
|
|
38
|
+
changeEstimateCommand,
|
|
39
|
+
estimateOf
|
|
40
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
routeQuestions,
|
|
8
|
+
ruleOffers
|
|
9
|
+
} from "./chunk-JA5FI3QV.js";
|
|
10
|
+
import "./chunk-PKBHS4AA.js";
|
|
11
|
+
import "./chunk-Q2TECDIT.js";
|
|
12
|
+
import "./chunk-TUULXQRW.js";
|
|
13
|
+
import "./chunk-BQGDB6ZL.js";
|
|
14
|
+
import "./chunk-TV45EUGM.js";
|
|
15
|
+
export {
|
|
16
|
+
routeQuestions,
|
|
17
|
+
ruleOffers
|
|
18
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
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
|
+
listRuns
|
|
8
|
+
} from "./chunk-GZY6RUZ6.js";
|
|
9
|
+
import "./chunk-P32RUW3B.js";
|
|
10
|
+
import "./chunk-QA4O2GGC.js";
|
|
11
|
+
import {
|
|
12
|
+
runsDirOf
|
|
13
|
+
} from "./chunk-Q2TECDIT.js";
|
|
14
|
+
import "./chunk-TUULXQRW.js";
|
|
15
|
+
import "./chunk-BQGDB6ZL.js";
|
|
16
|
+
import "./chunk-TV45EUGM.js";
|
|
17
|
+
|
|
18
|
+
// packages/cli/dist/handoff-resume.js
|
|
19
|
+
import { readFile, writeFile } from "node:fs/promises";
|
|
20
|
+
import { join } from "node:path";
|
|
21
|
+
var STAGE_PAGES = [
|
|
22
|
+
[
|
|
23
|
+
/^atticus change feature \S+(?: --\S+(?: \S+)?)*$/,
|
|
24
|
+
"prepare the feature stage again on Feature design"
|
|
25
|
+
],
|
|
26
|
+
[
|
|
27
|
+
/^atticus change architecture \S+(?: --\S+(?: \S+)?)*$/,
|
|
28
|
+
"prepare the architecture stage again on Architecture"
|
|
29
|
+
],
|
|
30
|
+
[/^atticus plan stories \S+(?: --\S+(?: \S+)?)*$/, "prepare the stories stage again on Stories"],
|
|
31
|
+
[/^atticus change small \S+(?: --\S+(?: \S+)?)*$/, "prepare its one step again on At a glance"]
|
|
32
|
+
];
|
|
33
|
+
var againWords = (command) => STAGE_PAGES.find(([re]) => re.test(command))?.[1] ?? "prepare it again on the page you prepared it from";
|
|
34
|
+
function appLines(lines, o = {}) {
|
|
35
|
+
const ready = o.next ? "The next prompt is ready: open it on Runs." : "The prompt is ready: open it on Runs, then press Done once your assistant has written the answer.";
|
|
36
|
+
return lines.map((l) => l.replace(/\s*When it is done(?:, run)?: atticus handoff done \S+.*$/, ` ${ready}`).replace(/,? (?:and|then) run atticus handoff done \S+ again/g, ", then press Done again").replace(/\b([Rr])un atticus handoff done \S+ again/g, (_m, r) => r === "R" ? "Press Done again" : "press Done again").replace(/: pull \S+, then run atticus change learn\.$/, ": Bring in what merged on Home; the comparison with what Atticus drafted is kept the next time the drafts are measured.").replace(/^Answer each with atticus questions answer <id> .*, or with \/atticus-answer\.$/, "Answer each on Questions.").replace(/\b([Tt])hen run (atticus [^:]+?) again\b/, (_m, t, cmd) => `${t}hen ${againWords(cmd)}`).replace(/^Open the stage's pull request for a person to approve: .*$/, "Raise the stage's hand-off on the change page for a person to approve.").trimStart());
|
|
37
|
+
}
|
|
38
|
+
async function prepareStep(root, runStep, args, o = {}) {
|
|
39
|
+
const res = await runStep([...args, "--handoff", "--json"]);
|
|
40
|
+
const lines = [...res.out, ...res.err];
|
|
41
|
+
const json = [...res.out].reverse().find((l) => l.trim().startsWith("{"));
|
|
42
|
+
let h = {};
|
|
43
|
+
try {
|
|
44
|
+
h = json ? JSON.parse(json) : {};
|
|
45
|
+
} catch {
|
|
46
|
+
h = {};
|
|
47
|
+
}
|
|
48
|
+
const said = appLines([
|
|
49
|
+
...lines.filter((l) => !l.trim().startsWith("{")),
|
|
50
|
+
...h.messages ?? [],
|
|
51
|
+
...h.errors ?? [],
|
|
52
|
+
...(h.questions ?? []).map((q) => `Question ${q.id}: ${q.question} (answer it on Questions)`),
|
|
53
|
+
...h.pagesLeft ? [`${h.pagesLeft} pages are left for the next part: Prepare it again.`] : []
|
|
54
|
+
], o);
|
|
55
|
+
if (h.state !== "handoff" || !h.runId)
|
|
56
|
+
return { code: res.code, prepared: { lines: said } };
|
|
57
|
+
const run = (await listRuns(root, { limit: 1e5 })).find((x) => x.runId === h.runId);
|
|
58
|
+
if (run && h.resumeArgs)
|
|
59
|
+
await writeFile(join(runsDirOf(root), run.change, run.runId, "resume.json"), JSON.stringify({ args: h.resumeArgs.filter((a) => a !== "--json") }) + "\n", "utf8").catch(() => void 0);
|
|
60
|
+
return {
|
|
61
|
+
code: res.code,
|
|
62
|
+
prepared: {
|
|
63
|
+
runId: h.runId,
|
|
64
|
+
lines: said,
|
|
65
|
+
...h.stillWaiting ? { stillWaiting: true } : {}
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
async function resumeAfterDone(root, runStep, change, runId) {
|
|
70
|
+
const t = await readFile(join(runsDirOf(root), change, runId, "resume.json"), "utf8").catch(() => void 0);
|
|
71
|
+
if (!t)
|
|
72
|
+
return void 0;
|
|
73
|
+
const { args } = JSON.parse(t);
|
|
74
|
+
const words = args.filter((a) => a !== "--handoff");
|
|
75
|
+
const r = await prepareStep(root, runStep, words, { next: true });
|
|
76
|
+
return r.prepared.runId && r.prepared.runId !== runId ? { next: r.prepared.runId, lines: r.prepared.lines } : { lines: r.prepared.lines };
|
|
77
|
+
}
|
|
78
|
+
export {
|
|
79
|
+
appLines,
|
|
80
|
+
prepareStep,
|
|
81
|
+
resumeAfterDone
|
|
82
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
REPO_READER,
|
|
8
|
+
mapCommand,
|
|
9
|
+
mapStateOf,
|
|
10
|
+
readAnswer,
|
|
11
|
+
repoReaderAgent,
|
|
12
|
+
ruleLineOf,
|
|
13
|
+
rulesCovering,
|
|
14
|
+
taughtIn
|
|
15
|
+
} from "./chunk-X5F3Q5LV.js";
|
|
16
|
+
import "./chunk-OUBGGKDU.js";
|
|
17
|
+
import "./chunk-BPK5P77O.js";
|
|
18
|
+
import "./chunk-EHA7RMZ3.js";
|
|
19
|
+
import "./chunk-WXFLMQSR.js";
|
|
20
|
+
import "./chunk-TYQBFTBR.js";
|
|
21
|
+
import "./chunk-2F4CYZKJ.js";
|
|
22
|
+
import "./chunk-LO6P2VYG.js";
|
|
23
|
+
import "./chunk-BEVTIBRH.js";
|
|
24
|
+
import "./chunk-J2JAKCIW.js";
|
|
25
|
+
import "./chunk-745DAZ4L.js";
|
|
26
|
+
import "./chunk-CXJ6FUKN.js";
|
|
27
|
+
import "./chunk-QKUJMING.js";
|
|
28
|
+
import "./chunk-6ZGLAACW.js";
|
|
29
|
+
import "./chunk-CQDGOPGH.js";
|
|
30
|
+
import "./chunk-3NFFJL5D.js";
|
|
31
|
+
import "./chunk-PKBHS4AA.js";
|
|
32
|
+
import "./chunk-P32RUW3B.js";
|
|
33
|
+
import "./chunk-QA4O2GGC.js";
|
|
34
|
+
import "./chunk-Q2TECDIT.js";
|
|
35
|
+
import "./chunk-TUULXQRW.js";
|
|
36
|
+
import "./chunk-BQGDB6ZL.js";
|
|
37
|
+
import "./chunk-TV45EUGM.js";
|
|
38
|
+
export {
|
|
39
|
+
REPO_READER,
|
|
40
|
+
mapCommand,
|
|
41
|
+
mapStateOf,
|
|
42
|
+
readAnswer,
|
|
43
|
+
repoReaderAgent,
|
|
44
|
+
ruleLineOf,
|
|
45
|
+
rulesCovering,
|
|
46
|
+
taughtIn
|
|
47
|
+
};
|
|
@@ -10,13 +10,14 @@ import {
|
|
|
10
10
|
globToRegExp,
|
|
11
11
|
memoryRepo,
|
|
12
12
|
scanRepo
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3NFFJL5D.js";
|
|
14
14
|
import {
|
|
15
15
|
Dialect,
|
|
16
16
|
FrameworkModel,
|
|
17
17
|
MESH_KEY,
|
|
18
18
|
RECORD_SCHEMAS,
|
|
19
19
|
RecordId,
|
|
20
|
+
cmpText,
|
|
20
21
|
fieldTemplates,
|
|
21
22
|
interfaceId,
|
|
22
23
|
matchType,
|
|
@@ -24,9 +25,11 @@ import {
|
|
|
24
25
|
readTarGz,
|
|
25
26
|
readZip,
|
|
26
27
|
renderExpr,
|
|
27
|
-
renderTemplate
|
|
28
|
+
renderTemplate
|
|
29
|
+
} from "./chunk-Q2TECDIT.js";
|
|
30
|
+
import {
|
|
28
31
|
require_dist
|
|
29
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-BQGDB6ZL.js";
|
|
30
33
|
import {
|
|
31
34
|
__commonJS,
|
|
32
35
|
__require,
|
|
@@ -1677,7 +1680,7 @@ async function configSources(repo, globs = [
|
|
|
1677
1680
|
}
|
|
1678
1681
|
function layer(sources2, keep) {
|
|
1679
1682
|
const rank = (s) => !s.profile ? 0 : PROD.test(s.profile) ? 1 : 2;
|
|
1680
|
-
const ordered = sources2.filter(keep).sort((a, b) => rank(a) - rank(b) || (a.profile ?? ""
|
|
1683
|
+
const ordered = sources2.filter(keep).sort((a, b) => rank(a) - rank(b) || cmpText(a.profile ?? "", b.profile ?? "") || a.file.split("/").pop().length - b.file.split("/").pop().length || cmpText(a.file, b.file));
|
|
1681
1684
|
const out2 = /* @__PURE__ */ new Map();
|
|
1682
1685
|
for (const s of ordered)
|
|
1683
1686
|
for (const [k, v] of s.values)
|
|
@@ -2670,7 +2673,7 @@ async function dotenv(repo) {
|
|
|
2670
2673
|
for await (const p of repo.listFiles([".env", "**/.env", ".env.example", "**/.env.example"]))
|
|
2671
2674
|
if (!skipPath(p))
|
|
2672
2675
|
files.push(p);
|
|
2673
|
-
files.sort((a, b) => Number(a.endsWith(".example")) - Number(b.endsWith(".example")) || a.split("/").length - b.split("/").length || a
|
|
2676
|
+
files.sort((a, b) => Number(a.endsWith(".example")) - Number(b.endsWith(".example")) || a.split("/").length - b.split("/").length || cmpText(a, b));
|
|
2674
2677
|
for (const f of files) {
|
|
2675
2678
|
(await repo.readText(f)).split(/\r?\n/).forEach((raw, i2) => {
|
|
2676
2679
|
const m = /^\s*(?:export\s+)?([A-Za-z_][A-Za-z0-9_.]*)\s*=\s*(.*?)\s*$/.exec(raw);
|
|
@@ -4087,7 +4090,7 @@ async function wrapperRequests(repo, paths, scriptOf = (_p, t) => t) {
|
|
|
4087
4090
|
if (url)
|
|
4088
4091
|
out2.push({ method: w.method.v, url, path: w.at.path, line: w.at.line });
|
|
4089
4092
|
}
|
|
4090
|
-
return out2.sort((x, y) => x.path
|
|
4093
|
+
return out2.sort((x, y) => cmpText(x.path, y.path) || x.line - y.line);
|
|
4091
4094
|
}
|
|
4092
4095
|
|
|
4093
4096
|
// packages/extractors/dist/lang/sql.js
|
|
@@ -4709,7 +4712,7 @@ var migrationsExtractor = defineExtractor({
|
|
|
4709
4712
|
for (let i2 = 0; i2 < Math.max(x.length, y.length); i2++)
|
|
4710
4713
|
if ((x[i2] ?? 0) !== (y[i2] ?? 0))
|
|
4711
4714
|
return (x[i2] ?? 0) - (y[i2] ?? 0);
|
|
4712
|
-
return a.path
|
|
4715
|
+
return cmpText(a.path, b.path);
|
|
4713
4716
|
});
|
|
4714
4717
|
let first2 = true;
|
|
4715
4718
|
const state = new DesignState();
|
|
@@ -6293,7 +6296,7 @@ var springExtractor = defineExtractor({
|
|
|
6293
6296
|
}
|
|
6294
6297
|
});
|
|
6295
6298
|
function* settings(repoName, component2, config) {
|
|
6296
|
-
for (const [key, v] of [...config.entries()].sort(([a], [b]) => a
|
|
6299
|
+
for (const [key, v] of [...config.entries()].sort(([a], [b]) => cmpText(a, b))) {
|
|
6297
6300
|
const kind = SETTING_KIND.find(([re2]) => re2.test(key.split(".").pop() ?? ""))?.[1];
|
|
6298
6301
|
if (!kind || v.value === "")
|
|
6299
6302
|
continue;
|
|
@@ -6922,7 +6925,7 @@ var int = (v) => {
|
|
|
6922
6925
|
return Number.isInteger(n) && n >= 0 ? n : void 0;
|
|
6923
6926
|
};
|
|
6924
6927
|
function deployment(f) {
|
|
6925
|
-
const ingress = [...f.ingress ?? []].sort((a, b) => `${a.host}|${a.path ?? ""}
|
|
6928
|
+
const ingress = [...f.ingress ?? []].sort((a, b) => cmpText(`${a.host}|${a.path ?? ""}`, `${b.host}|${b.path ?? ""}`));
|
|
6926
6929
|
return {
|
|
6927
6930
|
schemaVersion: 1,
|
|
6928
6931
|
kind: "Deployment",
|
|
@@ -7003,7 +7006,7 @@ async function loadTerraform(repo, ctx, relevant) {
|
|
|
7003
7006
|
byDir.set(dirOf2(path), [...byDir.get(dirOf2(path)) ?? [], { path, text: text2 }]);
|
|
7004
7007
|
}
|
|
7005
7008
|
const folders = /* @__PURE__ */ new Map();
|
|
7006
|
-
for (const [dir, list2] of [...byDir.entries()].sort(([a], [b]) => a
|
|
7009
|
+
for (const [dir, list2] of [...byDir.entries()].sort(([a], [b]) => cmpText(a, b))) {
|
|
7007
7010
|
const f = {
|
|
7008
7011
|
dir,
|
|
7009
7012
|
relevant: list2.some((x) => x.path.endsWith(".tf") && relevant.test(x.text)),
|
|
@@ -7608,6 +7611,7 @@ async function repoConfigFiles(repo, globs) {
|
|
|
7608
7611
|
}
|
|
7609
7612
|
function dialectExtractor(dialect, parents = /* @__PURE__ */ new Map(), o = {}) {
|
|
7610
7613
|
const rules = /* @__PURE__ */ new Map();
|
|
7614
|
+
const applied = /* @__PURE__ */ new Set();
|
|
7611
7615
|
const visit = (d, seen) => {
|
|
7612
7616
|
for (const p of d.extends) {
|
|
7613
7617
|
if (seen.has(p))
|
|
@@ -7615,8 +7619,11 @@ function dialectExtractor(dialect, parents = /* @__PURE__ */ new Map(), o = {})
|
|
|
7615
7619
|
const parent = parents.get(p);
|
|
7616
7620
|
if (!parent)
|
|
7617
7621
|
throw new Error(`dialect ${d.name} extends ${p}, which isn't loaded`);
|
|
7622
|
+
if (applied.has(p))
|
|
7623
|
+
continue;
|
|
7618
7624
|
visit(parent, /* @__PURE__ */ new Set([...seen, p]));
|
|
7619
7625
|
}
|
|
7626
|
+
applied.add(d.name);
|
|
7620
7627
|
for (const r of d.rules)
|
|
7621
7628
|
rules.set(r.id, r);
|
|
7622
7629
|
};
|
|
@@ -7738,7 +7745,7 @@ function dialectExtractor(dialect, parents = /* @__PURE__ */ new Map(), o = {})
|
|
|
7738
7745
|
}
|
|
7739
7746
|
tables.set(name2, table);
|
|
7740
7747
|
}
|
|
7741
|
-
for (const rule of [...rules.values()].sort((a, b) => a.id
|
|
7748
|
+
for (const rule of [...rules.values()].sort((a, b) => cmpText(a.id, b.id))) {
|
|
7742
7749
|
const emits = Array.isArray(rule.emit) ? rule.emit : [rule.emit];
|
|
7743
7750
|
const yamlValues = await yamlFor([
|
|
7744
7751
|
...emits.flatMap(templatesOf),
|
|
@@ -8218,7 +8225,7 @@ function attrGroup(src, open, close) {
|
|
|
8218
8225
|
}
|
|
8219
8226
|
async function appsettings(repo) {
|
|
8220
8227
|
const files = await listSources(repo, ["**/appsettings.json", "**/appsettings.*.json"]);
|
|
8221
|
-
files.sort((a, b) => a.split("/").pop().length - b.split("/").pop().length || a
|
|
8228
|
+
files.sort((a, b) => a.split("/").pop().length - b.split("/").pop().length || cmpText(a, b));
|
|
8222
8229
|
const out2 = /* @__PURE__ */ new Map();
|
|
8223
8230
|
for (const f of files) {
|
|
8224
8231
|
const flat2 = flattenYaml(stripJsonComments(await repo.readText(f)), f, repo.parseCache);
|
|
@@ -8487,7 +8494,7 @@ var dotnetExtractor = defineExtractor({
|
|
|
8487
8494
|
}
|
|
8488
8495
|
const csproj = (await listSources(repo, ["**/*.csproj"])).map((p) => repo.readText(p));
|
|
8489
8496
|
const packages = (await Promise.all(csproj)).join("\n");
|
|
8490
|
-
for (const [key, v] of [...config.entries()].sort(([a], [b]) => a
|
|
8497
|
+
for (const [key, v] of [...config.entries()].sort(([a], [b]) => cmpText(a, b))) {
|
|
8491
8498
|
if (!key.startsWith("connectionstrings."))
|
|
8492
8499
|
continue;
|
|
8493
8500
|
const scheme = /Npgsql/i.test(packages) ? "postgresql" : /MySql|Pomelo/i.test(packages) ? "mysql" : /SqlClient|SqlServer/i.test(packages) ? "sqlserver" : /Oracle/i.test(packages) ? "oracle" : /(^|;)\s*Host\s*=/i.test(v.value) ? "postgresql" : "sqlserver";
|
|
@@ -14737,7 +14744,7 @@ async function readEfCore(repo) {
|
|
|
14737
14744
|
const has = (p, name2) => p.attrs.find((a) => a.name === name2);
|
|
14738
14745
|
const scalar2 = (p) => SCALARS.has(p.type.replace(/^System\./, "")) || enums.has(p.type);
|
|
14739
14746
|
const info2 = /* @__PURE__ */ new Map();
|
|
14740
|
-
const sorted = entities.map((n) => classes.get(n)).sort((a, b) => a.path
|
|
14747
|
+
const sorted = entities.map((n) => classes.get(n)).sort((a, b) => cmpText(a.path, b.path) || a.line - b.line);
|
|
14741
14748
|
for (const c of sorted) {
|
|
14742
14749
|
const tableAttr = has(c, "Table");
|
|
14743
14750
|
const name2 = fluent.get(c.name) ?? (tableAttr && firstString(tableAttr)) ?? sets.get(c.name) ?? c.name;
|
|
@@ -16005,7 +16012,7 @@ async function markers(repo, ctx) {
|
|
|
16005
16012
|
line: firstLine2(text2, /<Use(WPF|WindowsForms)>/i)
|
|
16006
16013
|
});
|
|
16007
16014
|
}
|
|
16008
|
-
return found.sort((a, b) => order.indexOf(a.runtime) - order.indexOf(b.runtime) || a.path
|
|
16015
|
+
return found.sort((a, b) => order.indexOf(a.runtime) - order.indexOf(b.runtime) || cmpText(a.path, b.path));
|
|
16009
16016
|
}
|
|
16010
16017
|
function joinBase(base, path) {
|
|
16011
16018
|
if (!base || /^https?:\/\//.test(path))
|
|
@@ -18702,6 +18709,8 @@ function clientOf(type, method, names, source) {
|
|
|
18702
18709
|
};
|
|
18703
18710
|
}
|
|
18704
18711
|
function addConstant(c, owner, name2, value2, source) {
|
|
18712
|
+
if (name2 === "serialVersionUID")
|
|
18713
|
+
return;
|
|
18705
18714
|
c.constants[`${owner}.${name2}`] = { value: value2, source };
|
|
18706
18715
|
if (/service/i.test(owner))
|
|
18707
18716
|
c.serviceIds.push(`${owner}.${name2}`);
|
|
@@ -18752,7 +18761,7 @@ function assemble(c, o) {
|
|
|
18752
18761
|
const model = FrameworkModel.parse({
|
|
18753
18762
|
schemaVersion: 1,
|
|
18754
18763
|
name: o.name,
|
|
18755
|
-
packages: o.packages ??
|
|
18764
|
+
packages: o.packages ?? packagesOf(c),
|
|
18756
18765
|
artifacts: [...new Set(c.artifacts)],
|
|
18757
18766
|
annotations,
|
|
18758
18767
|
clients: c.clients,
|
|
@@ -18765,7 +18774,7 @@ async function learnFramework(repo, o) {
|
|
|
18765
18774
|
const src = (path) => ({ kind: "code", ref: `${repo.name}:${path}` });
|
|
18766
18775
|
const c = collected();
|
|
18767
18776
|
for await (const path of repo.listFiles(["**/*.java", "**/pom.xml"])) {
|
|
18768
|
-
if (/(^|\/)src\/test\//.test(path))
|
|
18777
|
+
if (/(^|\/)src\/test\//.test(path) || isBuildOutput(path))
|
|
18769
18778
|
continue;
|
|
18770
18779
|
const text2 = await repo.readText(path);
|
|
18771
18780
|
if (path.endsWith("pom.xml")) {
|
|
@@ -18878,6 +18887,25 @@ function learnFrameworkFromJar(jar, o) {
|
|
|
18878
18887
|
}
|
|
18879
18888
|
return assemble(c, o);
|
|
18880
18889
|
}
|
|
18890
|
+
function isBuildOutput(path) {
|
|
18891
|
+
const m = /(^|\/)(target|build)\//.exec(path);
|
|
18892
|
+
return !!m && !path.slice(0, m.index).split("/").includes("src");
|
|
18893
|
+
}
|
|
18894
|
+
function packagesOf(c) {
|
|
18895
|
+
const names = [...c.packages].sort();
|
|
18896
|
+
if (names.length === 0)
|
|
18897
|
+
throw new Error("no Java source with a package declaration was found (tests, target/ and build/ are left out). Point --from at the framework's own source, its JAR or its .tgz, or name its package with --package <base package>.");
|
|
18898
|
+
const p = commonPrefix(names);
|
|
18899
|
+
if (p)
|
|
18900
|
+
return [p];
|
|
18901
|
+
const count = /* @__PURE__ */ new Map();
|
|
18902
|
+
for (const n of names) {
|
|
18903
|
+
const r = n.split(".").slice(0, 2).join(".");
|
|
18904
|
+
count.set(r, (count.get(r) ?? 0) + 1);
|
|
18905
|
+
}
|
|
18906
|
+
const roots = [...count.keys()].sort((a, b) => count.get(b) - count.get(a) || (a < b ? -1 : 1));
|
|
18907
|
+
throw new Error(`its Java packages share no common package (${roots.slice(0, 6).join(", ")}${roots.length > 6 ? ", ..." : ""}), so the framework's can't be told. Name it with --package <base package>, e.g. --package ${roots[0]}.`);
|
|
18908
|
+
}
|
|
18881
18909
|
function commonPrefix(names) {
|
|
18882
18910
|
if (names.length === 0)
|
|
18883
18911
|
return "";
|
|
@@ -19364,7 +19392,7 @@ async function detectModules(repo) {
|
|
|
19364
19392
|
}
|
|
19365
19393
|
if (parts2.size + (rootPart ? 1 : 0) < 2)
|
|
19366
19394
|
return [];
|
|
19367
|
-
return [...parts2].sort(([a], [b]) => a
|
|
19395
|
+
return [...parts2].sort(([a], [b]) => cmpText(a, b)).map(([path, component2]) => ({ path, component: component2 }));
|
|
19368
19396
|
}
|
|
19369
19397
|
|
|
19370
19398
|
// packages/extractors/dist/dependencies.js
|
|
@@ -19410,6 +19438,18 @@ async function houseDependencies(repo, groups) {
|
|
|
19410
19438
|
for (const block of select(pom, "project/properties"))
|
|
19411
19439
|
for (const p of block.children)
|
|
19412
19440
|
props.set(p.name, p.text.trim());
|
|
19441
|
+
const parentVersion = selectText(pom, "project/parent/version")?.text.trim();
|
|
19442
|
+
const ownVersion = selectText(pom, "project/version")?.text.trim() || parentVersion;
|
|
19443
|
+
const builtIn = {
|
|
19444
|
+
"project.parent.version": parentVersion,
|
|
19445
|
+
"parent.version": parentVersion,
|
|
19446
|
+
"project.version": ownVersion,
|
|
19447
|
+
version: ownVersion,
|
|
19448
|
+
"pom.version": ownVersion
|
|
19449
|
+
};
|
|
19450
|
+
for (const [k, v] of Object.entries(builtIn))
|
|
19451
|
+
if (v && !props.has(k))
|
|
19452
|
+
props.set(k, v);
|
|
19413
19453
|
const fill = (v) => v.replace(/\$\{([\w.-]+)\}/g, (s, k) => props.get(k) ?? s);
|
|
19414
19454
|
for (const d of select(pom, "//dependency")) {
|
|
19415
19455
|
const group = selectText(d, "groupId")?.text;
|
|
@@ -28,9 +28,10 @@ import {
|
|
|
28
28
|
stampEvidence,
|
|
29
29
|
tooLargeMessage,
|
|
30
30
|
withParseCache
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-3NFFJL5D.js";
|
|
32
|
+
import "./chunk-Q2TECDIT.js";
|
|
33
|
+
import "./chunk-TUULXQRW.js";
|
|
34
|
+
import "./chunk-BQGDB6ZL.js";
|
|
34
35
|
import "./chunk-TV45EUGM.js";
|
|
35
36
|
export {
|
|
36
37
|
DEFAULT_IGNORES,
|