@maycombhq/atticus 2.0.0-beta.2 → 2.0.0-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +8 -4
- package/dist/chunk-265LWMOA.js +91 -0
- package/dist/chunk-26WBY34Y.js +37 -0
- package/dist/{chunk-UBBC2XSG.js → chunk-26Z7OGQW.js} +518 -93
- package/dist/chunk-2D7PWSOK.js +172 -0
- package/dist/{chunk-JCZIKA4C.js → chunk-2HH3UCZM.js} +4 -4
- package/dist/{chunk-GDLULHTC.js → chunk-2HTEMYTB.js} +12 -26
- package/dist/chunk-2UCRFXFZ.js +130 -0
- package/dist/{chunk-MVZVGYXH.js → chunk-2V2ZPQQU.js} +81 -13
- package/dist/{chunk-BOHJZTEQ.js → chunk-36RY7ZXM.js} +130 -71
- package/dist/{chunk-I3E7CX4H.js → chunk-37WE3LS2.js} +3 -3
- package/dist/{chunk-IPKHE5D6.js → chunk-3AQ2R5NL.js} +1520 -871
- package/dist/chunk-3G6S7LAA.js +43 -0
- package/dist/chunk-3J5I7ZOU.js +58 -0
- package/dist/{chunk-65NYPGRC.js → chunk-3LZ6P5EP.js} +1 -1
- package/dist/chunk-3SSTNB4E.js +191 -0
- package/dist/chunk-3TD6S4TC.js +49 -0
- package/dist/{chunk-3C7EYRFZ.js → chunk-3UTYPHN3.js} +1 -1
- package/dist/{chunk-G2B4ZQGH.js → chunk-3WON4G3M.js} +2 -2
- package/dist/{chunk-S3QNRWYR.js → chunk-42EPP7OB.js} +12 -12
- package/dist/chunk-455SYIIE.js +113 -0
- package/dist/{chunk-YISXLPHN.js → chunk-4B6BT75O.js} +166 -23
- package/dist/{chunk-C6EKFH7J.js → chunk-4CLK2RJO.js} +7 -7
- package/dist/chunk-4CYTJ5TZ.js +38 -0
- package/dist/{chunk-EYWIDJFU.js → chunk-4D62IZII.js} +5 -5
- package/dist/chunk-4FOAYLI4.js +328 -0
- package/dist/{chunk-7JUKDRSZ.js → chunk-4KNOJC6J.js} +294 -215
- package/dist/{chunk-YMZ3TNYB.js → chunk-4PYC2UGC.js} +2 -2
- package/dist/{chunk-27NKUS3X.js → chunk-4SLBCEPD.js} +2104 -726
- package/dist/chunk-4TKVU2I2.js +122 -0
- package/dist/{chunk-RUVFXE2L.js → chunk-4WXRPQDE.js} +448 -47
- package/dist/{chunk-7ZUIMTOU.js → chunk-5CMPVC3N.js} +24 -24
- package/dist/chunk-5G7ILBUG.js +66 -0
- package/dist/{chunk-HFQCFSJR.js → chunk-5PV7S2ZP.js} +3 -3
- package/dist/{chunk-FITWGOJ2.js → chunk-5QUOPNLN.js} +4 -4
- package/dist/{chunk-Z6LF7HQN.js → chunk-5TDRBOAV.js} +5 -5
- package/dist/{chunk-T6AIP7H5.js → chunk-5WERBKLE.js} +199 -63
- package/dist/{chunk-XPCM366L.js → chunk-62DLJSLV.js} +8 -8
- package/dist/{chunk-L24C55VN.js → chunk-64AADMTW.js} +99 -25
- package/dist/{chunk-K65BJIMT.js → chunk-67BP7HXL.js} +17 -17
- package/dist/chunk-6DQYZU2W.js +379 -0
- package/dist/{chunk-EDS2L2LD.js → chunk-6EXDI5GI.js} +52 -26
- package/dist/chunk-6FNAKCET.js +38 -0
- package/dist/{chunk-6IU67AEK.js → chunk-75ASLHBT.js} +21 -15
- package/dist/{chunk-A3GY6SOA.js → chunk-75ZOZFGH.js} +18 -18
- package/dist/{chunk-MGYZM27B.js → chunk-77O633L5.js} +49 -23
- package/dist/{chunk-GQ4N4WKF.js → chunk-7AB6OWTV.js} +3 -3
- package/dist/{chunk-M766ZJ6W.js → chunk-7CZHUZBL.js} +25 -25
- package/dist/{chunk-A7UPUQFY.js → chunk-7FHNFCHK.js} +643 -124
- package/dist/chunk-7FUIVIBG.js +415 -0
- package/dist/{chunk-6QSERWXH.js → chunk-7QPCGTPS.js} +21 -21
- package/dist/{chunk-LR3R6Z2A.js → chunk-A2G72UI4.js} +7 -7
- package/dist/{chunk-I4JRCD6M.js → chunk-AE4P57KK.js} +23 -17
- package/dist/{chunk-AVJDSJ2F.js → chunk-AHW3RY3X.js} +7 -7
- package/dist/chunk-AM6FP6JW.js +43 -0
- package/dist/{chunk-CSZ4C5N6.js → chunk-AOCWFA7T.js} +93 -10
- package/dist/{chunk-EPTBZ3GP.js → chunk-API5TOUB.js} +1 -1
- package/dist/{chunk-652QWTLZ.js → chunk-AZDITBCT.js} +3 -3
- package/dist/{chunk-DPUYDDQG.js → chunk-BA2HUMDN.js} +25 -3
- package/dist/chunk-BA3U7ALS.js +99 -0
- package/dist/{chunk-HVUPKCGJ.js → chunk-BC6KKZ67.js} +5 -5
- package/dist/{chunk-CKSITVS4.js → chunk-BEPCKDCP.js} +2554 -722
- package/dist/{chunk-3ALD2W2A.js → chunk-BPPU3PW7.js} +4 -4
- package/dist/{chunk-QRAOANID.js → chunk-BVWWPBKD.js} +21 -21
- package/dist/{chunk-ZDPAS56H.js → chunk-BXBCMGIQ.js} +7 -1
- package/dist/chunk-BXZ4PKIT.js +233 -0
- package/dist/chunk-C7CEK3KW.js +247 -0
- package/dist/chunk-CFH3QH26.js +29 -0
- package/dist/chunk-CG6CULP6.js +170 -0
- package/dist/chunk-CLD4RVTA.js +45 -0
- package/dist/{chunk-DKJA76CJ.js → chunk-CNPY4NTZ.js} +13 -13
- package/dist/chunk-CNU5Q2D5.js +575 -0
- package/dist/{chunk-T2UYZSCQ.js → chunk-COYN3UAN.js} +126 -23
- package/dist/{chunk-23W7VWKR.js → chunk-CPK7QSBG.js} +1360 -113
- package/dist/{chunk-4AK7IBVP.js → chunk-D2WSW4GU.js} +1 -1
- package/dist/{chunk-ABWHYWNI.js → chunk-D57MFJPP.js} +3 -3
- package/dist/chunk-D5KV5PSK.js +45 -0
- package/dist/chunk-D5MASS4I.js +48 -0
- package/dist/{chunk-7EOBHUMC.js → chunk-DCWN3HFV.js} +2 -2
- package/dist/{chunk-QSXK2RGH.js → chunk-DDJPM5YX.js} +2 -2
- package/dist/chunk-DN4A2Q2O.js +57 -0
- package/dist/{chunk-IHMLFRVV.js → chunk-DUPZPDCJ.js} +58 -16
- package/dist/{chunk-PRPPGYZG.js → chunk-E2VXBSIR.js} +4 -4
- package/dist/chunk-E57AOFYN.js +32 -0
- package/dist/{chunk-UGLN7QHV.js → chunk-ECLXZWAG.js} +12 -12
- package/dist/{chunk-5WG5YP4T.js → chunk-EDZ45WIR.js} +14 -14
- package/dist/chunk-EFCQSMXB.js +37 -0
- package/dist/{chunk-2ANOROX3.js → chunk-EZIN5E5B.js} +8 -8
- package/dist/{chunk-BWZ77RQT.js → chunk-F6H2RJ3N.js} +1 -1
- package/dist/{chunk-OLQJTJJU.js → chunk-FAJDKNSD.js} +7 -3
- package/dist/chunk-FGAGWYZB.js +47 -0
- package/dist/{chunk-4WBVUHXN.js → chunk-FLVZFTLQ.js} +18 -18
- package/dist/chunk-FQ6WH6PB.js +140 -0
- package/dist/{chunk-T6XQL73F.js → chunk-FRHD22WM.js} +61 -23
- package/dist/{chunk-XAKWMCXI.js → chunk-FVMPFCDS.js} +4 -4
- package/dist/{chunk-B2WLAWNJ.js → chunk-FY3QIRTL.js} +3 -3
- package/dist/{chunk-CPA6HPVR.js → chunk-FYBF5MB2.js} +15 -11
- package/dist/{chunk-V2YTAIQO.js → chunk-G5YJBNDZ.js} +21 -6
- package/dist/chunk-G6IQYM25.js +339 -0
- package/dist/chunk-G6X4YL4D.js +161 -0
- package/dist/{chunk-SJRGMG6A.js → chunk-GC2VK3JT.js} +25 -25
- package/dist/{chunk-SP2I63OO.js → chunk-GCS3FZOB.js} +77 -3
- package/dist/{chunk-6TACQN3N.js → chunk-GDZB57IU.js} +5 -5
- package/dist/chunk-GIFMBCTW.js +221 -0
- package/dist/{chunk-YY6ZQQBP.js → chunk-GK4PYVEC.js} +18 -8
- package/dist/{chunk-TDD55CJH.js → chunk-GNWAOVFQ.js} +6 -5
- package/dist/chunk-GS76RXQE.js +226 -0
- package/dist/{chunk-YYQN46FY.js → chunk-GSGIZ2OO.js} +23 -23
- package/dist/chunk-GUYL7RMK.js +60 -0
- package/dist/chunk-GX74YWR7.js +321 -0
- package/dist/chunk-HE3HRDNZ.js +122 -0
- package/dist/{chunk-AIOQPLA5.js → chunk-HGHRSF3E.js} +30 -12
- package/dist/{chunk-2RMYG36Q.js → chunk-HK3VOHIE.js} +198 -336
- package/dist/{chunk-QZSX3F7C.js → chunk-HS4BGB4G.js} +24 -22
- package/dist/{chunk-XY3P7JW7.js → chunk-HSZMPH5T.js} +834 -149
- package/dist/{chunk-L6SGQIR3.js → chunk-HWD4JPU7.js} +4 -2
- package/dist/{chunk-PCVDV3UZ.js → chunk-HXXP2NTE.js} +6 -6
- package/dist/{chunk-AA6YULYB.js → chunk-I2A3Z5AK.js} +7 -7
- package/dist/{chunk-N7IXEHK3.js → chunk-ICHDSWEY.js} +7 -7
- package/dist/chunk-IFFRGC3N.js +31 -0
- package/dist/{chunk-4BN53TG3.js → chunk-IFHDV6KQ.js} +31 -23
- package/dist/chunk-J2O4LFVI.js +80 -0
- package/dist/chunk-J5AAZ6OJ.js +161 -0
- package/dist/{chunk-ZMFPW66A.js → chunk-JAABT3DA.js} +3 -3
- package/dist/chunk-JITJP64K.js +34 -0
- package/dist/chunk-JKIGL3XQ.js +162 -0
- package/dist/chunk-JRVNXLZP.js +615 -0
- package/dist/chunk-JRXHON4E.js +41 -0
- package/dist/{chunk-DHPACDG7.js → chunk-JS6WMC3J.js} +8 -8
- package/dist/chunk-JU4QNJSR.js +62 -0
- package/dist/{chunk-PAMPPUR6.js → chunk-JYMIB5XY.js} +1697 -172
- package/dist/{chunk-RRTKKSLQ.js → chunk-JYTIHTIK.js} +8 -6
- package/dist/{chunk-3HI6Z55Y.js → chunk-K332XW7K.js} +324 -39
- package/dist/{chunk-GLUX4EEP.js → chunk-K6JB6XTX.js} +9 -9
- package/dist/chunk-KDAHXQIE.js +294 -0
- package/dist/chunk-KYZMRSPS.js +93 -0
- package/dist/chunk-L4CESDPB.js +22 -0
- package/dist/{chunk-NXFPS2LR.js → chunk-LEBR5NHW.js} +14 -14
- package/dist/chunk-LIJJCBQI.js +223 -0
- package/dist/{chunk-DE76JROX.js → chunk-LIRVU3HW.js} +16 -16
- package/dist/{chunk-JMSCMUCA.js → chunk-LN77DXBM.js} +145 -21
- package/dist/{chunk-JIITQXFB.js → chunk-LNWEWYCM.js} +2969 -788
- package/dist/{chunk-TANFV3MZ.js → chunk-LO3BLMVG.js} +3 -3
- package/dist/chunk-LPV6T362.js +250 -0
- package/dist/{chunk-2VHF7OXM.js → chunk-LQH4P45K.js} +1 -1
- package/dist/chunk-LU4MQVAL.js +41 -0
- package/dist/chunk-LWDNKE4X.js +273 -0
- package/dist/chunk-M4H2UG4R.js +218 -0
- package/dist/{chunk-6BVONWJ7.js → chunk-M6D2U3YM.js} +3 -3
- package/dist/chunk-MD7KUEJ3.js +514 -0
- package/dist/{chunk-66YVAGGM.js → chunk-MMZUN7ZO.js} +20 -20
- package/dist/chunk-MZGRDONP.js +916 -0
- package/dist/chunk-N3RUGTGV.js +39 -0
- package/dist/{chunk-JGZCG5VM.js → chunk-NCB6656Z.js} +7 -7
- package/dist/{chunk-4NDAAFQT.js → chunk-NRQ65LTQ.js} +7 -5
- package/dist/{chunk-UNM6ZOKP.js → chunk-NTAVOWYD.js} +145 -18
- package/dist/{chunk-3USYZGRF.js → chunk-NYOABJNK.js} +36 -27
- package/dist/{chunk-WVPJSRRJ.js → chunk-O4IKAIZ2.js} +24 -20
- package/dist/{chunk-D3PO4DOZ.js → chunk-ODMBPDDV.js} +51 -14
- package/dist/chunk-OKUB6RJA.js +533 -0
- package/dist/chunk-OMPENNWY.js +39 -0
- package/dist/chunk-OPQZISG3.js +25 -0
- package/dist/{chunk-5GGOLAKC.js → chunk-OV57AHCG.js} +26 -26
- package/dist/chunk-OZJ3JLYI.js +58 -0
- package/dist/{chunk-KEM4SDDP.js → chunk-P2VBXX7N.js} +11 -10
- package/dist/{chunk-S2A7YC3Q.js → chunk-PAINMSID.js} +10150 -1720
- package/dist/chunk-PKJAV25S.js +43 -0
- package/dist/{chunk-EBEW3XXQ.js → chunk-PNQLCRSS.js} +4 -4
- package/dist/{chunk-WY6PP6AA.js → chunk-PQH56YF6.js} +37 -5
- package/dist/chunk-PRTBPXYA.js +50 -0
- package/dist/{chunk-YEDDOYSC.js → chunk-PRW3HXM3.js} +2 -2
- package/dist/chunk-PRZ7KMWL.js +42 -0
- package/dist/{chunk-6M5NK3K3.js → chunk-PTQ3ZALZ.js} +42 -4
- package/dist/{chunk-5GDRCDQB.js → chunk-PUEWDYGP.js} +2 -2
- package/dist/chunk-Q26LDIUV.js +236 -0
- package/dist/{chunk-CR3MTH32.js → chunk-Q46QDDMF.js} +77 -7
- package/dist/chunk-QBNWF5ZU.js +19 -0
- package/dist/chunk-QE527XRY.js +342 -0
- package/dist/{chunk-CNUKCS2T.js → chunk-QHJJMZLX.js} +1518 -54
- package/dist/chunk-QJCJOMW3.js +425 -0
- package/dist/{chunk-VYDBJ73M.js → chunk-QKMRFNMA.js} +15 -15
- package/dist/chunk-QOOEYDNJ.js +317 -0
- package/dist/chunk-QSIDVFB7.js +45 -0
- package/dist/{chunk-R77KLRB3.js → chunk-RA33EYS4.js} +19 -18
- package/dist/{chunk-DFBCSHVT.js → chunk-RALY3E5U.js} +4 -4
- package/dist/{chunk-ZCJDOK2S.js → chunk-S2RY3BOD.js} +35 -21
- package/dist/chunk-S5LSDXV4.js +40 -0
- package/dist/chunk-SB5GRUFM.js +54 -0
- package/dist/chunk-SH27FYPF.js +150 -0
- package/dist/chunk-T74WQQGS.js +40 -0
- package/dist/{chunk-O3WI5KWW.js → chunk-TGVVUKTG.js} +2 -2
- package/dist/chunk-THN26IEF.js +48 -0
- package/dist/chunk-TJH2EUAZ.js +47 -0
- package/dist/{chunk-ZNCEKR4J.js → chunk-TQ4TG57V.js} +12 -8
- package/dist/{chunk-7FBGJFEE.js → chunk-TQTRWENN.js} +12 -12
- package/dist/{chunk-TYAID7B7.js → chunk-TSM6T6GQ.js} +23 -23
- package/dist/{chunk-DPZHZQKE.js → chunk-TW3KOSQK.js} +43 -10
- package/dist/{chunk-MC3H7736.js → chunk-TWQRPM76.js} +37 -4
- package/dist/chunk-TYD6I4CZ.js +109 -0
- package/dist/chunk-U3NBK4EU.js +420 -0
- package/dist/{chunk-6JCPI55B.js → chunk-UDXWIPCB.js} +47 -7
- package/dist/{chunk-MMOSZPWJ.js → chunk-UEVZZZU2.js} +4 -4
- package/dist/{chunk-JBTK5OP2.js → chunk-UF4UHCIG.js} +2 -2
- package/dist/{chunk-6JUBZBMW.js → chunk-UFE36WJH.js} +4 -4
- package/dist/{chunk-ONLS5QA5.js → chunk-URIKUID7.js} +12 -12
- package/dist/chunk-UYLBRRFK.js +1106 -0
- package/dist/chunk-UZACEG2C.js +515 -0
- package/dist/{chunk-7SW2QWLU.js → chunk-VAMHOHUU.js} +12 -12
- package/dist/{chunk-RZPYKDWS.js → chunk-VUVGX5L2.js} +1 -1
- package/dist/{chunk-Q4D5X7QB.js → chunk-VYOCPTUB.js} +44 -24
- package/dist/{chunk-CAQZUNOH.js → chunk-WAZEXEJH.js} +567 -3
- package/dist/chunk-WCEF7H6L.js +221 -0
- package/dist/{chunk-2DIQQJCB.js → chunk-WEOMJHPV.js} +12 -12
- package/dist/{chunk-FHH4I4ZV.js → chunk-WFU77T3A.js} +12 -6
- package/dist/chunk-WIWTJMMR.js +292 -0
- package/dist/{chunk-2BFCZ3RK.js → chunk-WNTIOBOG.js} +18 -18
- package/dist/{chunk-7WD63HU2.js → chunk-X2CUXTWU.js} +6 -6
- package/dist/chunk-X7EMBM5X.js +34 -0
- package/dist/chunk-XEQCQO66.js +33 -0
- package/dist/{chunk-F7HYOUFF.js → chunk-XG4WJHLQ.js} +20 -4
- package/dist/{chunk-EFHQ3TWP.js → chunk-XOL3GFW2.js} +171 -31
- package/dist/{chunk-NE2W3OO7.js → chunk-XQ3YZ4QW.js} +22 -22
- package/dist/{chunk-CEXSU4S6.js → chunk-Y6K3CJBU.js} +723 -85
- package/dist/{chunk-4RS5KZQD.js → chunk-YAH5IQAL.js} +5 -5
- package/dist/{chunk-64EQYWCA.js → chunk-YBOVNMHC.js} +51 -14
- package/dist/chunk-YF5DZCPN.js +1212 -0
- package/dist/chunk-YIGBJNH4.js +37 -0
- package/dist/{chunk-BKVWTZ6A.js → chunk-YJ3TBOTK.js} +25 -25
- package/dist/{chunk-Q5AMFEWD.js → chunk-YKTE2RU3.js} +2 -2
- package/dist/{chunk-7EKXJZ2Y.js → chunk-YO2PKTXT.js} +296 -37
- package/dist/{chunk-6J5OKA4Y.js → chunk-YTTNTQOX.js} +15 -15
- package/dist/{chunk-OT2O76OS.js → chunk-YWAKDNMH.js} +183 -33
- package/dist/{chunk-R6XF6UR3.js → chunk-YZDZOEV4.js} +4 -4
- package/dist/chunk-Z3QFH7YG.js +17 -0
- package/dist/{chunk-W5BVQF44.js → chunk-Z6VLC5X4.js} +17 -17
- package/dist/{chunk-HLJAXMM4.js → chunk-ZFQMMU5Y.js} +2 -2
- package/dist/{chunk-W3BQAZ3Q.js → chunk-ZKYRDV7A.js} +12 -12
- package/dist/{chunk-ZMAINWBW.js → chunk-ZLS6PU2O.js} +3 -3
- package/dist/{chunk-ZVM6AKKM.js → chunk-ZOSD4FXV.js} +3 -3
- package/dist/chunk-ZPDDEVQX.js +47 -0
- package/dist/{chunk-TXLH6WHQ.js → chunk-ZQLRCA2V.js} +11 -11
- package/dist/{chunk-HITVBIJS.js → chunk-ZX7235KR.js} +128 -54
- package/dist/{chunk-GT4I4ZWM.js → chunk-ZZFHLRQW.js} +18 -16
- package/dist/files.json +636 -364
- package/dist/packages/naysayer/constitution/constitution.yaml +19 -0
- package/dist/packages/sdk/npm/index.js +5614 -2343
- package/dist/packages/ui/dist/assets/{elk-api-tma0MCuh.js → elk-api-CowTnhEJ.js} +2 -2
- package/dist/packages/ui/dist/assets/index-Dw20IRhQ.css +1 -0
- package/dist/packages/ui/dist/assets/index-z2wv0d5d.js +47 -0
- package/dist/packages/ui/dist/index.html +2 -2
- package/package.json +4 -4
- 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-RVH5SUW5.js +0 -69
- package/dist/chunk-VN3DP4LQ.js +0 -43
- 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
package/dist/chunk-PCOCACY3.js
DELETED
|
@@ -1,385 +0,0 @@
|
|
|
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
|
-
diffLines
|
|
8
|
-
} from "./chunk-JGZCG5VM.js";
|
|
9
|
-
import {
|
|
10
|
-
askHosts
|
|
11
|
-
} from "./chunk-RVH5SUW5.js";
|
|
12
|
-
import "./chunk-OT2O76OS.js";
|
|
13
|
-
import "./chunk-IPKHE5D6.js";
|
|
14
|
-
import "./chunk-3HI6Z55Y.js";
|
|
15
|
-
import "./chunk-XY3P7JW7.js";
|
|
16
|
-
import "./chunk-4AK7IBVP.js";
|
|
17
|
-
import "./chunk-7JUKDRSZ.js";
|
|
18
|
-
import {
|
|
19
|
-
TARGETS_STEP,
|
|
20
|
-
catalogWithFacts,
|
|
21
|
-
diffCatalogs,
|
|
22
|
-
diffIsEmpty,
|
|
23
|
-
estateFacts,
|
|
24
|
-
isPrototypeRepo,
|
|
25
|
-
prototypeLeftOut,
|
|
26
|
-
readCatalog,
|
|
27
|
-
targetQuestionDrafts,
|
|
28
|
-
targetsFromAnswers,
|
|
29
|
-
writeCatalog
|
|
30
|
-
} from "./chunk-27NKUS3X.js";
|
|
31
|
-
import "./chunk-L24C55VN.js";
|
|
32
|
-
import {
|
|
33
|
-
codeLinkerFor,
|
|
34
|
-
frameworkFacts,
|
|
35
|
-
frameworkGaps,
|
|
36
|
-
renderMap,
|
|
37
|
-
trustOf
|
|
38
|
-
} from "./chunk-PAMPPUR6.js";
|
|
39
|
-
import "./chunk-23W7VWKR.js";
|
|
40
|
-
import "./chunk-7EKXJZ2Y.js";
|
|
41
|
-
import "./chunk-MC3H7736.js";
|
|
42
|
-
import {
|
|
43
|
-
baseClonePath,
|
|
44
|
-
loadRepos
|
|
45
|
-
} from "./chunk-EFHQ3TWP.js";
|
|
46
|
-
import "./chunk-GQ4N4WKF.js";
|
|
47
|
-
import "./chunk-CNUKCS2T.js";
|
|
48
|
-
import {
|
|
49
|
-
SPEC_HEADER_SCHEMA_VERSION,
|
|
50
|
-
catalogDirOf,
|
|
51
|
-
factsDirOf,
|
|
52
|
-
flowFiles,
|
|
53
|
-
isAdopted,
|
|
54
|
-
listQuestions,
|
|
55
|
-
loadOrgPack,
|
|
56
|
-
mapDirOf,
|
|
57
|
-
mapRelOf,
|
|
58
|
-
orgPackDirOf,
|
|
59
|
-
parseFacts,
|
|
60
|
-
parseRecord,
|
|
61
|
-
questionsRelOf,
|
|
62
|
-
raiseQuestions,
|
|
63
|
-
readRepoSpec,
|
|
64
|
-
removeFlow,
|
|
65
|
-
require_dist,
|
|
66
|
-
specFileHash,
|
|
67
|
-
specRelOf,
|
|
68
|
-
writeFlow,
|
|
69
|
-
writeSpecHeader
|
|
70
|
-
} from "./chunk-S2A7YC3Q.js";
|
|
71
|
-
import {
|
|
72
|
-
LockHeldError,
|
|
73
|
-
acquireLock,
|
|
74
|
-
writeFileAtomic
|
|
75
|
-
} from "./chunk-D3PO4DOZ.js";
|
|
76
|
-
import {
|
|
77
|
-
__toESM
|
|
78
|
-
} from "./chunk-TV45EUGM.js";
|
|
79
|
-
|
|
80
|
-
// packages/cli/dist/map-render-commands.js
|
|
81
|
-
var import_yaml = __toESM(require_dist(), 1);
|
|
82
|
-
import { existsSync } from "node:fs";
|
|
83
|
-
import { readFile, readdir, rm } from "node:fs/promises";
|
|
84
|
-
import { join, relative, sep } from "node:path";
|
|
85
|
-
var FACTS_TEMPLATE = "facts@1";
|
|
86
|
-
var posix = (p) => p.split(sep).join("/");
|
|
87
|
-
function countByKind(d) {
|
|
88
|
-
const out = {};
|
|
89
|
-
const of = (k) => out[k] ??= { added: 0, changed: 0, removed: 0 };
|
|
90
|
-
for (const r of d.added)
|
|
91
|
-
of(r.kind).added++;
|
|
92
|
-
for (const r of [...d.changed, ...d.evidenceOnly])
|
|
93
|
-
of(r.kind).changed++;
|
|
94
|
-
for (const r of d.removed)
|
|
95
|
-
of(r.kind).removed++;
|
|
96
|
-
return Object.fromEntries(Object.entries(out).sort(([a], [b]) => a < b ? -1 : 1));
|
|
97
|
-
}
|
|
98
|
-
function kindLine(byKind) {
|
|
99
|
-
const parts = Object.entries(byKind).map(([kind, c]) => [
|
|
100
|
-
kind,
|
|
101
|
-
c.added ? `+${c.added}` : "",
|
|
102
|
-
c.changed ? `~${c.changed}` : "",
|
|
103
|
-
c.removed ? `-${c.removed}` : ""
|
|
104
|
-
].filter(Boolean).join(" "));
|
|
105
|
-
return parts.join(", ");
|
|
106
|
-
}
|
|
107
|
-
async function writeFactsIntoCatalog(root, repo, facts, o, io) {
|
|
108
|
-
let lock;
|
|
109
|
-
try {
|
|
110
|
-
lock = await acquireLock(root, "scan", o.command);
|
|
111
|
-
} catch (e) {
|
|
112
|
-
if (e instanceof LockHeldError) {
|
|
113
|
-
io.err(e.message);
|
|
114
|
-
return void 0;
|
|
115
|
-
}
|
|
116
|
-
throw e;
|
|
117
|
-
}
|
|
118
|
-
try {
|
|
119
|
-
const op = await loadOrgPack(orgPackDirOf(root));
|
|
120
|
-
const generated = join(catalogDirOf(root), "generated");
|
|
121
|
-
const existing = await readCatalog(generated, { cacheRoot: root });
|
|
122
|
-
if (isPrototypeRepo(op, repo)) {
|
|
123
|
-
for (const n of prototypeLeftOut({ repo, facts, existing: [], op, decisions: [] }).notes)
|
|
124
|
-
io.out(n);
|
|
125
|
-
const none = diffCatalogs(existing.records, existing.records);
|
|
126
|
-
return {
|
|
127
|
-
written: { written: 0, unchanged: 0, removed: 0 },
|
|
128
|
-
flows: [],
|
|
129
|
-
questions: [],
|
|
130
|
-
map: [],
|
|
131
|
-
changes: { ...none, byKind: {} }
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
const curated = await readCatalog(join(catalogDirOf(root), "curated"), { cacheRoot: root });
|
|
135
|
-
const rerun = `atticus verify ${repo} --write`;
|
|
136
|
-
const answered = (await listQuestions(root, { repo, step: TARGETS_STEP })).questions;
|
|
137
|
-
const estate = await estateFacts(root, op, repo);
|
|
138
|
-
const result = catalogWithFacts({
|
|
139
|
-
repo,
|
|
140
|
-
facts,
|
|
141
|
-
existing: existing.records,
|
|
142
|
-
op,
|
|
143
|
-
decisions: curated.records,
|
|
144
|
-
targets: targetsFromAnswers(repo, facts, answered),
|
|
145
|
-
estate: estate.repos,
|
|
146
|
-
estateTargets: estate.targets
|
|
147
|
-
});
|
|
148
|
-
for (const i of result.invalid)
|
|
149
|
-
io.err(`A merged record isn't valid C1 (a bug): ${i.issues.map((x) => `${x.path}: ${x.message}`).join("; ")}`);
|
|
150
|
-
const diff = diffCatalogs(existing.records, result.records);
|
|
151
|
-
const written = await writeCatalog(generated, result.records);
|
|
152
|
-
const flows = result.flows.filter((f) => {
|
|
153
|
-
const p = parseRecord(f);
|
|
154
|
-
if (p.ok)
|
|
155
|
-
return true;
|
|
156
|
-
io.err(`The flow ${f.id} isn't written to ${specRelOf(root, repo)}/: ${p.issues.map((i) => `${i.path}: ${i.message}`).join("; ")}. Have your assistant fix its flow fact (each call-out step's ref names the call it makes), then run ${rerun}.`);
|
|
157
|
-
return false;
|
|
158
|
-
});
|
|
159
|
-
const spec = await readRepoSpec(root, repo, { cacheRoot: root });
|
|
160
|
-
const ids = new Set(flows.map((f) => f.id));
|
|
161
|
-
for (const f of spec.flows)
|
|
162
|
-
if (f.template === FACTS_TEMPLATE && !ids.has(f.id))
|
|
163
|
-
await removeFlow(root, repo, f.id);
|
|
164
|
-
const flowPaths = [];
|
|
165
|
-
for (const f of flows)
|
|
166
|
-
flowPaths.push(await writeFlow(root, repo, f));
|
|
167
|
-
const files = {};
|
|
168
|
-
for (const f of flows)
|
|
169
|
-
for (const p of flowFiles(f)) {
|
|
170
|
-
const text = await readFile(join(o.dir, ...p.split("/")), "utf8").catch(() => void 0);
|
|
171
|
-
if (text !== void 0)
|
|
172
|
-
files[p] = specFileHash(text);
|
|
173
|
-
}
|
|
174
|
-
const commit = facts.map((f) => f.commit).sort()[0];
|
|
175
|
-
const kept = spec.flows.filter((f) => f.template !== FACTS_TEMPLATE).map((f) => f.id);
|
|
176
|
-
const header = spec.header;
|
|
177
|
-
await writeSpecHeader(root, {
|
|
178
|
-
schemaVersion: SPEC_HEADER_SCHEMA_VERSION,
|
|
179
|
-
repo,
|
|
180
|
-
template: header?.template ?? FACTS_TEMPLATE,
|
|
181
|
-
templateReviewed: header?.templateReviewed ?? false,
|
|
182
|
-
...commit ? { commit } : {},
|
|
183
|
-
...header?.drafted ? { drafted: header.drafted } : {},
|
|
184
|
-
flows: [.../* @__PURE__ */ new Set([...kept, ...ids])].sort(),
|
|
185
|
-
files: Object.fromEntries(Object.entries({ ...header?.files ?? {}, ...files }).sort(([a], [b]) => a < b ? -1 : 1)),
|
|
186
|
-
questions: header?.questions ?? []
|
|
187
|
-
});
|
|
188
|
-
const at = (o.now ?? /* @__PURE__ */ new Date()).toISOString();
|
|
189
|
-
const hosts = await askHosts(root, result.records, { command: o.command, rerun, now: o.now });
|
|
190
|
-
const loose = new Set(result.unresolved.map((u) => u.factId));
|
|
191
|
-
const ambiguous = new Set((result.join?.asks ?? []).filter((a) => a.reason === "ambiguous" && a.call.repo === repo).map((a) => a.call.fact));
|
|
192
|
-
const named = new Set(facts.filter((f) => f.kind === "call" && f.to).map((f) => f.id));
|
|
193
|
-
const raised = [...hosts.raised];
|
|
194
|
-
const lines = [...hosts.lines];
|
|
195
|
-
for (const t of targetQuestionDrafts(facts, result.records, op, result.join?.asks)) {
|
|
196
|
-
if (!(loose.has(t.factId) || ambiguous.has(t.factId)))
|
|
197
|
-
continue;
|
|
198
|
-
if (answered.some((q) => q.id === t.id))
|
|
199
|
-
continue;
|
|
200
|
-
const r = await raiseQuestions(root, [t.draft], {
|
|
201
|
-
step: TARGETS_STEP,
|
|
202
|
-
repo,
|
|
203
|
-
command: o.command,
|
|
204
|
-
rerun,
|
|
205
|
-
at
|
|
206
|
-
});
|
|
207
|
-
for (const q of r.raised) {
|
|
208
|
-
raised.push(q);
|
|
209
|
-
lines.push(named.has(t.factId) ? `A call names a target the estate doesn't have, and more than one entry serves it: asked ${q.id}: ${q.question} Answer it: atticus questions answer ${q.id} --option <n>, then ${rerun}.` : `A call names no target: asked ${q.id}: ${q.question} Answer it: atticus questions answer ${q.id} --option <n>, then ${rerun}.`);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
const byKind = countByKind(diff);
|
|
213
|
-
io.out(`Wrote the catalog for ${repo}: ${written.written} files written, ${written.removed} removed, ${written.unchanged} unchanged.`);
|
|
214
|
-
io.out(diffIsEmpty(diff) ? " No catalog changes." : ` Records: ${kindLine(byKind)}.`);
|
|
215
|
-
if (o.verbose)
|
|
216
|
-
for (const l of diffLines(diff).slice(1))
|
|
217
|
-
io.out(` ${l}`);
|
|
218
|
-
const specsRel = specRelOf(root, repo);
|
|
219
|
-
io.out(` Flows: ${flowPaths.length} in ${specsRel}/.`);
|
|
220
|
-
if (o.verbose)
|
|
221
|
-
for (const p of flowPaths)
|
|
222
|
-
io.out(` ${p}`);
|
|
223
|
-
else if (!diffIsEmpty(diff) || flowPaths.length)
|
|
224
|
-
io.out(` atticus verify ${repo} --write --verbose lists each record and flow.`);
|
|
225
|
-
for (const p of result.curated.problems)
|
|
226
|
-
io.out(`Curated decision ${p.decision} no longer applies: ${p.message}`);
|
|
227
|
-
for (const p of result.projectionIssues)
|
|
228
|
-
io.out(` ${p.code}: ${p.message}`);
|
|
229
|
-
for (const l of joinLines(repo, result.join, estate.notes, { verbose: o.verbose === true }))
|
|
230
|
-
io.out(l);
|
|
231
|
-
for (const l of lines)
|
|
232
|
-
io.out(l);
|
|
233
|
-
const map = await renderRepoMap(root, repo, io);
|
|
234
|
-
return {
|
|
235
|
-
written,
|
|
236
|
-
flows: flowPaths,
|
|
237
|
-
questions: raised.map((q) => q.id),
|
|
238
|
-
map: map ?? [],
|
|
239
|
-
changes: { ...diff, byKind }
|
|
240
|
-
};
|
|
241
|
-
} finally {
|
|
242
|
-
await lock.release();
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
function joinLines(repo, join2, notes = [], o = {}) {
|
|
246
|
-
if (!join2)
|
|
247
|
-
return [...notes];
|
|
248
|
-
const out = [...notes];
|
|
249
|
-
const mine = join2.joins.filter((j) => j.call.repo === repo && j.call.repo !== j.entry.repo);
|
|
250
|
-
const into = join2.joins.filter((j) => j.entry.repo === repo && j.call.repo !== repo);
|
|
251
|
-
if (mine.length || into.length)
|
|
252
|
-
out.push(`Joined across repos: ${mine.length} of ${repo}'s calls to the entries that serve them, ${into.length} calls of other repos into ${repo}, each citing both ends.`);
|
|
253
|
-
const guessed = join2.joins.filter((j) => j.call.repo === repo && j.inferred);
|
|
254
|
-
if (guessed.length) {
|
|
255
|
-
const own = guessed.filter((j) => j.inferred.within === "repo").length;
|
|
256
|
-
const where = [
|
|
257
|
-
own ? `${own} in ${repo} itself` : "",
|
|
258
|
-
guessed.length - own ? `${guessed.length - own} in another repo${guessed.length - own === 1 ? "" : "s"}` : ""
|
|
259
|
-
].filter(Boolean).join(", ");
|
|
260
|
-
out.push(`Joined by method and path, inferred: ${guessed.length} of ${repo}'s calls name no target the estate has, so each joined the one entry that serves it (${where}).`);
|
|
261
|
-
if (o.verbose)
|
|
262
|
-
for (const j of guessed) {
|
|
263
|
-
const what = j.method ? `${j.method} ${j.path}` : j.path;
|
|
264
|
-
const named = j.inferred.named ? ` (named ${j.inferred.named})` : "";
|
|
265
|
-
const there = j.entry.repo === repo ? "" : ` (${j.entry.repo})`;
|
|
266
|
-
out.push(` ${j.call.at} ${what}${named} \u2192 ${j.entry.component}${there}`);
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
for (const m of join2.misses)
|
|
270
|
-
out.push(`Not joined: ${m.message} (${m.call.at}).`);
|
|
271
|
-
for (const g of join2.gaps.slice(0, 10))
|
|
272
|
-
out.push(`Field gap: ${g.message}.`);
|
|
273
|
-
return out;
|
|
274
|
-
}
|
|
275
|
-
async function renderRepoMap(root, repo, io) {
|
|
276
|
-
const records = (await readCatalog(join(catalogDirOf(root), "generated"), { cacheRoot: root })).records;
|
|
277
|
-
const spec = await readRepoSpec(root, repo, { cacheRoot: root });
|
|
278
|
-
const ofRepo = records.some((r) => r.kind === "Component" && r.repo === repo);
|
|
279
|
-
if (!ofRepo && spec.flows.length === 0) {
|
|
280
|
-
io.err(`Nothing of ${repo} is in the catalog yet. Have your assistant read it (/atticus map), then run atticus verify ${repo} --write.`);
|
|
281
|
-
return void 0;
|
|
282
|
-
}
|
|
283
|
-
let trust;
|
|
284
|
-
const report = join(factsDirOf(root), `${repo}.verify.yaml`);
|
|
285
|
-
if (existsSync(report)) {
|
|
286
|
-
try {
|
|
287
|
-
trust = trustOf((0, import_yaml.parse)(await readFile(report, "utf8")));
|
|
288
|
-
} catch {
|
|
289
|
-
trust = void 0;
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
const open = (await listQuestions(root, { state: "open", repo })).questions;
|
|
293
|
-
const manifest = (await loadRepos(root).catch(() => [])).find((r) => r.id === repo);
|
|
294
|
-
const adopted = isAdopted(root);
|
|
295
|
-
const url = manifest?.url && manifest.url !== "." && !manifest.url.startsWith("./") ? manifest.url : void 0;
|
|
296
|
-
const codeLink = codeLinkerFor(url ? { url } : { dir: adopted ? "" : posix(relative(root, baseClonePath(root, repo))) });
|
|
297
|
-
const rel = `${mapRelOf(root)}/${repo}`;
|
|
298
|
-
const files = renderMap({
|
|
299
|
-
repo,
|
|
300
|
-
records,
|
|
301
|
-
flows: spec.flows,
|
|
302
|
-
...trust ? { trust } : {},
|
|
303
|
-
// What a person says the repo is (ADR 0128), above the trust line.
|
|
304
|
-
...manifest?.description ? {
|
|
305
|
-
about: {
|
|
306
|
-
text: manifest.description.text,
|
|
307
|
-
trust: manifest.description.trust,
|
|
308
|
-
...manifest.description.by ? { by: manifest.description.by } : {}
|
|
309
|
-
}
|
|
310
|
-
} : {},
|
|
311
|
-
// What the repo is built on (ADR 0124 addendum A-framework): read from the facts, since no
|
|
312
|
-
// catalog record holds a framework.
|
|
313
|
-
...builtOnOf(await factsOf(root, repo)),
|
|
314
|
-
questions: open.map((q) => ({ id: q.id, question: q.question, evidence: q.evidence })),
|
|
315
|
-
paths: { map: rel, questions: questionsRelOf(root), specs: specRelOf(root, repo) },
|
|
316
|
-
codeLink
|
|
317
|
-
});
|
|
318
|
-
const dir = join(mapDirOf(root), repo);
|
|
319
|
-
for (const old of await listFiles(dir))
|
|
320
|
-
if (!(old in files))
|
|
321
|
-
await rm(join(dir, ...old.split("/")), { force: true });
|
|
322
|
-
for (const [path, text] of Object.entries(files)) {
|
|
323
|
-
const full = join(dir, ...path.split("/"));
|
|
324
|
-
const now = await readFile(full, "utf8").catch(() => void 0);
|
|
325
|
-
if (now !== text)
|
|
326
|
-
await writeFileAtomic(full, text);
|
|
327
|
-
}
|
|
328
|
-
const paths = Object.keys(files).map((p) => `${rel}/${p}`);
|
|
329
|
-
io.out(`Map: ${rel}/map.md (${Object.keys(files).length} files; review them in the PR).`);
|
|
330
|
-
return paths;
|
|
331
|
-
}
|
|
332
|
-
async function factsOf(root, repo) {
|
|
333
|
-
const text = await readFile(join(factsDirOf(root), `${repo}.jsonl`), "utf8").catch(() => void 0);
|
|
334
|
-
if (text === void 0)
|
|
335
|
-
return [];
|
|
336
|
-
const p = parseFacts(text);
|
|
337
|
-
return p.ok ? p.facts : [];
|
|
338
|
-
}
|
|
339
|
-
function builtOnOf(facts) {
|
|
340
|
-
const built = frameworkFacts(facts).map((f) => ({
|
|
341
|
-
name: f.name,
|
|
342
|
-
...f.version ? { version: f.version } : {},
|
|
343
|
-
...f.component ? { component: f.component } : {},
|
|
344
|
-
cite: { path: f.cite.file, line: f.cite.line, commit: f.commit }
|
|
345
|
-
}));
|
|
346
|
-
if (!built.length)
|
|
347
|
-
return {};
|
|
348
|
-
const gaps = frameworkGaps(facts).map((g) => ({ framework: g.framework, question: g.question }));
|
|
349
|
-
return { frameworks: { built, ...gaps.length ? { gaps } : {} } };
|
|
350
|
-
}
|
|
351
|
-
async function listFiles(dir) {
|
|
352
|
-
const out = [];
|
|
353
|
-
const walk = async (d, prefix) => {
|
|
354
|
-
let entries;
|
|
355
|
-
try {
|
|
356
|
-
entries = await readdir(d, { withFileTypes: true });
|
|
357
|
-
} catch {
|
|
358
|
-
return;
|
|
359
|
-
}
|
|
360
|
-
for (const e of entries)
|
|
361
|
-
if (e.isDirectory())
|
|
362
|
-
await walk(join(d, e.name), `${prefix}${e.name}/`);
|
|
363
|
-
else
|
|
364
|
-
out.push(`${prefix}${e.name}`);
|
|
365
|
-
};
|
|
366
|
-
await walk(dir, "");
|
|
367
|
-
return out.sort();
|
|
368
|
-
}
|
|
369
|
-
async function mapRenderCommand(root, repo, o, io) {
|
|
370
|
-
const quiet = o.json ? { ...io, out: () => void 0 } : io;
|
|
371
|
-
const written = await renderRepoMap(root, repo, quiet);
|
|
372
|
-
if (!written)
|
|
373
|
-
return 2;
|
|
374
|
-
if (o.json)
|
|
375
|
-
io.out(JSON.stringify({ repo, files: written }, null, 2));
|
|
376
|
-
return 0;
|
|
377
|
-
}
|
|
378
|
-
export {
|
|
379
|
-
builtOnOf,
|
|
380
|
-
countByKind,
|
|
381
|
-
joinLines,
|
|
382
|
-
kindLine,
|
|
383
|
-
mapRenderCommand,
|
|
384
|
-
writeFactsIntoCatalog
|
|
385
|
-
};
|
package/dist/chunk-RTEYOSJY.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
buildDigest,
|
|
8
|
-
digestCommand
|
|
9
|
-
} from "./chunk-7WD63HU2.js";
|
|
10
|
-
import "./chunk-3HI6Z55Y.js";
|
|
11
|
-
import "./chunk-XY3P7JW7.js";
|
|
12
|
-
import "./chunk-4AK7IBVP.js";
|
|
13
|
-
import "./chunk-7JUKDRSZ.js";
|
|
14
|
-
import "./chunk-27NKUS3X.js";
|
|
15
|
-
import "./chunk-L24C55VN.js";
|
|
16
|
-
import "./chunk-PAMPPUR6.js";
|
|
17
|
-
import "./chunk-23W7VWKR.js";
|
|
18
|
-
import "./chunk-7EKXJZ2Y.js";
|
|
19
|
-
import "./chunk-MC3H7736.js";
|
|
20
|
-
import "./chunk-EFHQ3TWP.js";
|
|
21
|
-
import "./chunk-GQ4N4WKF.js";
|
|
22
|
-
import "./chunk-CNUKCS2T.js";
|
|
23
|
-
import "./chunk-S2A7YC3Q.js";
|
|
24
|
-
import "./chunk-D3PO4DOZ.js";
|
|
25
|
-
import "./chunk-TV45EUGM.js";
|
|
26
|
-
export {
|
|
27
|
-
buildDigest,
|
|
28
|
-
digestCommand
|
|
29
|
-
};
|
package/dist/chunk-RVH5SUW5.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
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
|
-
hostQuestionDrafts,
|
|
8
|
-
unknownHosts
|
|
9
|
-
} from "./chunk-27NKUS3X.js";
|
|
10
|
-
import {
|
|
11
|
-
baseClonePath,
|
|
12
|
-
loadRepos
|
|
13
|
-
} from "./chunk-EFHQ3TWP.js";
|
|
14
|
-
import {
|
|
15
|
-
fsRepo
|
|
16
|
-
} from "./chunk-GQ4N4WKF.js";
|
|
17
|
-
import {
|
|
18
|
-
HOSTS_STEP,
|
|
19
|
-
hostOfQuestion,
|
|
20
|
-
listQuestions,
|
|
21
|
-
raiseQuestions
|
|
22
|
-
} from "./chunk-S2A7YC3Q.js";
|
|
23
|
-
|
|
24
|
-
// packages/cli/dist/host-questions.js
|
|
25
|
-
import { stat } from "node:fs/promises";
|
|
26
|
-
var HOSTS_RERUN = "atticus scan";
|
|
27
|
-
var isDir = (p) => stat(p).then((s) => s.isDirectory(), () => false);
|
|
28
|
-
async function askHosts(root, records, o) {
|
|
29
|
-
const repos = await loadRepos(root).catch(() => []);
|
|
30
|
-
const dirs = /* @__PURE__ */ new Map();
|
|
31
|
-
for (const r of repos) {
|
|
32
|
-
const dir = baseClonePath(root, r.id);
|
|
33
|
-
if (await isDir(dir))
|
|
34
|
-
dirs.set(r.id, dir);
|
|
35
|
-
}
|
|
36
|
-
const asks = await unknownHosts({
|
|
37
|
-
records,
|
|
38
|
-
repos,
|
|
39
|
-
handle: (id) => dirs.has(id) ? fsRepo(id, dirs.get(id), "0".repeat(40)) : void 0
|
|
40
|
-
});
|
|
41
|
-
const before = (await listQuestions(root, { step: HOSTS_STEP })).questions;
|
|
42
|
-
const asked = new Set(before.map((q) => hostOfQuestion(q)));
|
|
43
|
-
const raised = [];
|
|
44
|
-
const at = (o.now ?? /* @__PURE__ */ new Date()).toISOString();
|
|
45
|
-
for (const { repo, draft } of hostQuestionDrafts(asks)) {
|
|
46
|
-
if (asked.has(hostOfQuestion(draft)))
|
|
47
|
-
continue;
|
|
48
|
-
const r = await raiseQuestions(root, [draft], {
|
|
49
|
-
step: HOSTS_STEP,
|
|
50
|
-
repo,
|
|
51
|
-
command: o.command,
|
|
52
|
-
rerun: o.rerun ?? HOSTS_RERUN,
|
|
53
|
-
at
|
|
54
|
-
});
|
|
55
|
-
raised.push(...r.raised);
|
|
56
|
-
}
|
|
57
|
-
const hosts = new Set(asks.map((a) => a.host));
|
|
58
|
-
const open = before.filter((q) => q.state === "open" && hosts.has(hostOfQuestion(q)));
|
|
59
|
-
const lines = [];
|
|
60
|
-
for (const q of raised)
|
|
61
|
-
lines.push(`Calls to ${hostOfQuestion(q)} join no repo: no repo lists it under hosts. Asked ${q.id}: ${q.question} Answer it: atticus questions answer ${q.id} --option <n> (1 is ${q.options[0].label}).`);
|
|
62
|
-
for (const q of open)
|
|
63
|
-
lines.push(`Still open: ${q.question} Answer it: atticus questions answer ${q.id} --option <n>, then ${o.rerun ?? HOSTS_RERUN}.`);
|
|
64
|
-
return { raised, open, lines };
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export {
|
|
68
|
-
askHosts
|
|
69
|
-
};
|
package/dist/chunk-VN3DP4LQ.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { createRequire as __atticusCreateRequire } from "node:module";
|
|
2
|
-
import { fileURLToPath as __atticusFileURLToPath } from "node:url";
|
|
3
|
-
var require = __atticusCreateRequire(import.meta.url);
|
|
4
|
-
var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
5
|
-
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
|
-
import {
|
|
7
|
-
explainCommand,
|
|
8
|
-
learnCheck,
|
|
9
|
-
learnList,
|
|
10
|
-
learnStart,
|
|
11
|
-
sandboxCreate
|
|
12
|
-
} from "./chunk-TXLH6WHQ.js";
|
|
13
|
-
import "./chunk-YISXLPHN.js";
|
|
14
|
-
import "./chunk-GDLULHTC.js";
|
|
15
|
-
import "./chunk-VOGCSYOI.js";
|
|
16
|
-
import "./chunk-IPKHE5D6.js";
|
|
17
|
-
import "./chunk-CKSITVS4.js";
|
|
18
|
-
import "./chunk-L6SGQIR3.js";
|
|
19
|
-
import "./chunk-3HI6Z55Y.js";
|
|
20
|
-
import "./chunk-XY3P7JW7.js";
|
|
21
|
-
import "./chunk-4AK7IBVP.js";
|
|
22
|
-
import "./chunk-7JUKDRSZ.js";
|
|
23
|
-
import "./chunk-27NKUS3X.js";
|
|
24
|
-
import "./chunk-L24C55VN.js";
|
|
25
|
-
import "./chunk-PAMPPUR6.js";
|
|
26
|
-
import "./chunk-23W7VWKR.js";
|
|
27
|
-
import "./chunk-7EKXJZ2Y.js";
|
|
28
|
-
import "./chunk-MC3H7736.js";
|
|
29
|
-
import "./chunk-T6AIP7H5.js";
|
|
30
|
-
import "./chunk-RZPYKDWS.js";
|
|
31
|
-
import "./chunk-EFHQ3TWP.js";
|
|
32
|
-
import "./chunk-GQ4N4WKF.js";
|
|
33
|
-
import "./chunk-CNUKCS2T.js";
|
|
34
|
-
import "./chunk-S2A7YC3Q.js";
|
|
35
|
-
import "./chunk-D3PO4DOZ.js";
|
|
36
|
-
import "./chunk-TV45EUGM.js";
|
|
37
|
-
export {
|
|
38
|
-
explainCommand,
|
|
39
|
-
learnCheck,
|
|
40
|
-
learnList,
|
|
41
|
-
learnStart,
|
|
42
|
-
sandboxCreate
|
|
43
|
-
};
|
package/dist/chunk-XPTOBS2D.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
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
|
-
benchFactsCommand,
|
|
8
|
-
benchFetch,
|
|
9
|
-
benchRepos,
|
|
10
|
-
benchResults,
|
|
11
|
-
benchRun,
|
|
12
|
-
benchSurvey,
|
|
13
|
-
benchVerify
|
|
14
|
-
} from "./chunk-N7IXEHK3.js";
|
|
15
|
-
import "./chunk-CPA6HPVR.js";
|
|
16
|
-
import "./chunk-BOHJZTEQ.js";
|
|
17
|
-
import "./chunk-MVZVGYXH.js";
|
|
18
|
-
import "./chunk-KEM4SDDP.js";
|
|
19
|
-
import "./chunk-2ANOROX3.js";
|
|
20
|
-
import "./chunk-65NYPGRC.js";
|
|
21
|
-
import "./chunk-CKSITVS4.js";
|
|
22
|
-
import "./chunk-L6SGQIR3.js";
|
|
23
|
-
import "./chunk-3HI6Z55Y.js";
|
|
24
|
-
import "./chunk-XY3P7JW7.js";
|
|
25
|
-
import "./chunk-4AK7IBVP.js";
|
|
26
|
-
import "./chunk-7JUKDRSZ.js";
|
|
27
|
-
import "./chunk-27NKUS3X.js";
|
|
28
|
-
import "./chunk-L24C55VN.js";
|
|
29
|
-
import "./chunk-PAMPPUR6.js";
|
|
30
|
-
import "./chunk-23W7VWKR.js";
|
|
31
|
-
import "./chunk-7EKXJZ2Y.js";
|
|
32
|
-
import "./chunk-MC3H7736.js";
|
|
33
|
-
import "./chunk-T6AIP7H5.js";
|
|
34
|
-
import "./chunk-EFHQ3TWP.js";
|
|
35
|
-
import "./chunk-GQ4N4WKF.js";
|
|
36
|
-
import "./chunk-CNUKCS2T.js";
|
|
37
|
-
import "./chunk-S2A7YC3Q.js";
|
|
38
|
-
import "./chunk-D3PO4DOZ.js";
|
|
39
|
-
import "./chunk-TV45EUGM.js";
|
|
40
|
-
export {
|
|
41
|
-
benchFactsCommand,
|
|
42
|
-
benchFetch,
|
|
43
|
-
benchRepos,
|
|
44
|
-
benchResults,
|
|
45
|
-
benchRun,
|
|
46
|
-
benchSurvey,
|
|
47
|
-
benchVerify
|
|
48
|
-
};
|