@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
|
@@ -5,10 +5,10 @@ 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-
|
|
8
|
+
} from "./chunk-5QUOPNLN.js";
|
|
9
9
|
import {
|
|
10
10
|
repoFor
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TGVVUKTG.js";
|
|
12
12
|
import {
|
|
13
13
|
checkDraft,
|
|
14
14
|
checkFrameworkDraft,
|
|
@@ -22,25 +22,25 @@ import {
|
|
|
22
22
|
proposalYaml,
|
|
23
23
|
reviewRepo,
|
|
24
24
|
surveyRepo
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-P2VBXX7N.js";
|
|
26
26
|
import {
|
|
27
27
|
offerCodeDir
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ZOSD4FXV.js";
|
|
29
29
|
import {
|
|
30
30
|
matchRepoType
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-4SLBCEPD.js";
|
|
32
32
|
import {
|
|
33
33
|
modelCovers,
|
|
34
34
|
repoImports,
|
|
35
35
|
runDialectTests,
|
|
36
36
|
runFrameworkTests
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-TWQRPM76.js";
|
|
38
38
|
import {
|
|
39
39
|
baseClonePath
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-XOL3GFW2.js";
|
|
41
41
|
import {
|
|
42
42
|
fsRepo
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-7AB6OWTV.js";
|
|
44
44
|
import {
|
|
45
45
|
Dialect,
|
|
46
46
|
FrameworkModel,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
raiseQuestions,
|
|
53
53
|
require_dist,
|
|
54
54
|
reusedLine
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-PAINMSID.js";
|
|
56
56
|
import {
|
|
57
57
|
__toESM
|
|
58
58
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -0,0 +1,294 @@
|
|
|
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
|
+
claimOf,
|
|
8
|
+
factLabel
|
|
9
|
+
} from "./chunk-QOOEYDNJ.js";
|
|
10
|
+
import "./chunk-HK3VOHIE.js";
|
|
11
|
+
import {
|
|
12
|
+
safeMessage
|
|
13
|
+
} from "./chunk-THN26IEF.js";
|
|
14
|
+
import {
|
|
15
|
+
verifyInputsOf
|
|
16
|
+
} from "./chunk-LN77DXBM.js";
|
|
17
|
+
import "./chunk-L4CESDPB.js";
|
|
18
|
+
import "./chunk-U3NBK4EU.js";
|
|
19
|
+
import "./chunk-455SYIIE.js";
|
|
20
|
+
import {
|
|
21
|
+
repoContractsOf
|
|
22
|
+
} from "./chunk-LPV6T362.js";
|
|
23
|
+
import "./chunk-GIFMBCTW.js";
|
|
24
|
+
import "./chunk-MD7KUEJ3.js";
|
|
25
|
+
import {
|
|
26
|
+
checkoutOf
|
|
27
|
+
} from "./chunk-Q46QDDMF.js";
|
|
28
|
+
import "./chunk-TGVVUKTG.js";
|
|
29
|
+
import "./chunk-3AQ2R5NL.js";
|
|
30
|
+
import "./chunk-5WERBKLE.js";
|
|
31
|
+
import "./chunk-K332XW7K.js";
|
|
32
|
+
import "./chunk-HSZMPH5T.js";
|
|
33
|
+
import "./chunk-D2WSW4GU.js";
|
|
34
|
+
import "./chunk-4KNOJC6J.js";
|
|
35
|
+
import "./chunk-4SLBCEPD.js";
|
|
36
|
+
import "./chunk-64AADMTW.js";
|
|
37
|
+
import {
|
|
38
|
+
dirSource,
|
|
39
|
+
repairFormSlips,
|
|
40
|
+
verifyFacts
|
|
41
|
+
} from "./chunk-JYMIB5XY.js";
|
|
42
|
+
import "./chunk-CPK7QSBG.js";
|
|
43
|
+
import "./chunk-YO2PKTXT.js";
|
|
44
|
+
import "./chunk-TWQRPM76.js";
|
|
45
|
+
import "./chunk-API5TOUB.js";
|
|
46
|
+
import "./chunk-XOL3GFW2.js";
|
|
47
|
+
import "./chunk-QHJJMZLX.js";
|
|
48
|
+
import "./chunk-7AB6OWTV.js";
|
|
49
|
+
import {
|
|
50
|
+
factsDirOf,
|
|
51
|
+
factsRelOf,
|
|
52
|
+
headFromFiles,
|
|
53
|
+
layoutOf,
|
|
54
|
+
loadOrgPack,
|
|
55
|
+
mapDirOf,
|
|
56
|
+
mapRelOf,
|
|
57
|
+
orgPackDirOf,
|
|
58
|
+
pairsFromCorrections,
|
|
59
|
+
parseFactsLines,
|
|
60
|
+
questionsRelOf,
|
|
61
|
+
recordPath,
|
|
62
|
+
require_dist,
|
|
63
|
+
specRelOf,
|
|
64
|
+
stackHelpersOff
|
|
65
|
+
} from "./chunk-PAINMSID.js";
|
|
66
|
+
import "./chunk-ODMBPDDV.js";
|
|
67
|
+
import {
|
|
68
|
+
__toESM
|
|
69
|
+
} from "./chunk-TV45EUGM.js";
|
|
70
|
+
|
|
71
|
+
// packages/cli/dist/verify-preview.js
|
|
72
|
+
import { readFile } from "node:fs/promises";
|
|
73
|
+
import { existsSync } from "node:fs";
|
|
74
|
+
import { join } from "node:path";
|
|
75
|
+
var import_yaml = __toESM(require_dist(), 1);
|
|
76
|
+
var sameCommit = (a, b) => a.startsWith(b) || b.startsWith(a);
|
|
77
|
+
var slugPart = (s) => s.toLowerCase().replace(/[^a-z0-9._-]+/g, "-").replace(/^-+|-+$/g, "").slice(0, 60);
|
|
78
|
+
function prCommand(host, branch) {
|
|
79
|
+
switch (host) {
|
|
80
|
+
case "github":
|
|
81
|
+
return `gh pr create --fill --head ${branch}`;
|
|
82
|
+
case "gitlab":
|
|
83
|
+
return `glab mr create --fill --source-branch ${branch}`;
|
|
84
|
+
case "azure-repos":
|
|
85
|
+
return `az repos pr create --source-branch ${branch}`;
|
|
86
|
+
default:
|
|
87
|
+
return void 0;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
function editedFields(was, now) {
|
|
91
|
+
const a = { ...claimOf(was), line: String(was.cite.line) };
|
|
92
|
+
const b = { ...claimOf(now), line: String(now.cite.line) };
|
|
93
|
+
return [.../* @__PURE__ */ new Set([...Object.keys(a), ...Object.keys(b)])].sort().filter((k) => a[k] !== b[k]).map((k) => ({
|
|
94
|
+
name: k,
|
|
95
|
+
...a[k] !== void 0 ? { was: a[k] } : {},
|
|
96
|
+
...b[k] !== void 0 ? { now: b[k] } : {}
|
|
97
|
+
}));
|
|
98
|
+
}
|
|
99
|
+
function stepsOf(root, repo, o) {
|
|
100
|
+
const branch = `correct/${slugPart(repo)}${o.fact ? `-${slugPart(o.fact)}` : ""}`;
|
|
101
|
+
const message = safeMessage(o.fact ? `${repo}: a correction by a person of ${o.fact}, applied by atticus verify --write` : `${repo}: corrections by a person, applied by atticus verify --write`);
|
|
102
|
+
const pr = prCommand(o.host, branch);
|
|
103
|
+
return {
|
|
104
|
+
branch,
|
|
105
|
+
steps: [
|
|
106
|
+
{ step: "verify", command: `atticus verify ${repo} --write` },
|
|
107
|
+
{ step: "branch", command: `git switch -c ${branch}` },
|
|
108
|
+
{ step: "add", command: `git add ${o.files.join(" ")}` },
|
|
109
|
+
{ step: "commit", command: `git commit -m "${message}"` },
|
|
110
|
+
{ step: "push", command: `git push -u origin ${branch}` },
|
|
111
|
+
{ step: "pr", ...pr ? { command: pr } : {} }
|
|
112
|
+
]
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
var linkView = (l) => ({
|
|
116
|
+
id: l.id,
|
|
117
|
+
from: l.from,
|
|
118
|
+
to: l.to,
|
|
119
|
+
...l.method ? { method: l.method } : {},
|
|
120
|
+
path: l.path,
|
|
121
|
+
confidence: l.confidence,
|
|
122
|
+
...l.how ? { how: l.how } : {},
|
|
123
|
+
...l.flags?.length ? { flags: [...l.flags] } : {},
|
|
124
|
+
...l.was ? { was: l.was } : {}
|
|
125
|
+
});
|
|
126
|
+
async function verifyWritePreview(root, repo, o = {}) {
|
|
127
|
+
const rel = factsRelOf(root);
|
|
128
|
+
const wrote = `${rel}/${repo}.corrections.jsonl`;
|
|
129
|
+
const text = await readFile(join(factsDirOf(root), `${repo}.jsonl`), "utf8").catch(() => void 0);
|
|
130
|
+
if (text === void 0)
|
|
131
|
+
return void 0;
|
|
132
|
+
const op = await loadOrgPack(orgPackDirOf(root)).catch(() => void 0);
|
|
133
|
+
const host = op?.runtime.adapters.gitHost?.type;
|
|
134
|
+
const base = [wrote, `${rel}/${repo}.jsonl`, `${rel}/${repo}.verify.yaml`];
|
|
135
|
+
const plain = (files2, unavailable) => ({
|
|
136
|
+
repo,
|
|
137
|
+
wrote,
|
|
138
|
+
...stepsOf(root, repo, {
|
|
139
|
+
...o.fact ? { fact: o.fact } : {},
|
|
140
|
+
...host ? { host } : {},
|
|
141
|
+
files: files2
|
|
142
|
+
}),
|
|
143
|
+
...unavailable ? { unavailable } : {}
|
|
144
|
+
});
|
|
145
|
+
const read = parseFactsLines(text);
|
|
146
|
+
const repaired = repairFormSlips(read.facts, read.bad);
|
|
147
|
+
if (!repaired.facts.length)
|
|
148
|
+
return plain(base, "unreadable-facts");
|
|
149
|
+
const before = repaired.facts;
|
|
150
|
+
const dir = await checkoutOf(root, repo);
|
|
151
|
+
if (!dir || !existsSync(dir))
|
|
152
|
+
return plain(base, "no-checkout");
|
|
153
|
+
const commit = [...new Set(before.map((f) => f.commit))].sort()[0];
|
|
154
|
+
const head = await headFromFiles(dir);
|
|
155
|
+
const off = stackHelpersOff();
|
|
156
|
+
const inputs = await verifyInputsOf(root, repo, dir);
|
|
157
|
+
const report = await verifyFacts({
|
|
158
|
+
facts: before,
|
|
159
|
+
source: dirSource(dir),
|
|
160
|
+
...off.has("derived-names") ? { derivedNames: false } : {},
|
|
161
|
+
...off.has("readers") ? { readers: false } : {},
|
|
162
|
+
exclude: inputs.exclude,
|
|
163
|
+
corrections: [...inputs.corrections.corrections, ...o.extra ?? []],
|
|
164
|
+
reviewed: inputs.reviewed.entries,
|
|
165
|
+
...inputs.estate ? { estate: inputs.estate } : {},
|
|
166
|
+
conventions: inputs.conventions,
|
|
167
|
+
notes: inputs.notes,
|
|
168
|
+
componentTypes: inputs.componentTypes,
|
|
169
|
+
notReached: inputs.notReached
|
|
170
|
+
});
|
|
171
|
+
const kept = new Map(report.accepted.map((f) => [f.id, f]));
|
|
172
|
+
const wrong = new Set(report.corrections.applied.filter((a) => a.action === "wrong").map((a) => a.fact));
|
|
173
|
+
const rejected = new Map(report.rejected.map((r) => [r.fact.id, r]));
|
|
174
|
+
const facts = {
|
|
175
|
+
dropped: before.filter((f) => !kept.has(f.id)).map((f) => ({
|
|
176
|
+
id: f.id,
|
|
177
|
+
kind: f.kind,
|
|
178
|
+
label: factLabel(f),
|
|
179
|
+
why: wrong.has(f.id) ? "wrong" : "rejected",
|
|
180
|
+
...!wrong.has(f.id) && rejected.get(f.id) ? { message: rejected.get(f.id).message } : {}
|
|
181
|
+
})),
|
|
182
|
+
edited: before.flatMap((f) => {
|
|
183
|
+
const now = kept.get(f.id);
|
|
184
|
+
const fields = now ? editedFields(f, now) : [];
|
|
185
|
+
return now && fields.length ? [{ id: f.id, kind: f.kind, label: factLabel(now), fields }] : [];
|
|
186
|
+
}),
|
|
187
|
+
kept: report.accepted.length
|
|
188
|
+
};
|
|
189
|
+
const staleCorrections = [
|
|
190
|
+
...new Set(report.corrections.stale.filter((s) => s.why === "none").map((s) => s.correction.fact))
|
|
191
|
+
].sort();
|
|
192
|
+
const headMoved = head && commit && !sameCommit(head, commit) ? { head: head.slice(0, 12), commit } : void 0;
|
|
193
|
+
const files = [...base];
|
|
194
|
+
if (report.rejected.length || existsSync(join(factsDirOf(root), `${repo}.rejected.jsonl`)))
|
|
195
|
+
files.push(`${rel}/${repo}.rejected.jsonl`);
|
|
196
|
+
if (report.rejected.length) {
|
|
197
|
+
return {
|
|
198
|
+
...plain(files),
|
|
199
|
+
preview: {
|
|
200
|
+
facts,
|
|
201
|
+
blocked: { rejected: report.rejected.length },
|
|
202
|
+
...headMoved ? { headMoved } : {},
|
|
203
|
+
staleCorrections
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
const { projectFactsIntoCatalog } = await import("./chunk-MZGRDONP.js");
|
|
208
|
+
const contracts = await repoContractsOf(root, repo, dir, report.accepted);
|
|
209
|
+
const companion = join(factsDirOf(root), `${repo}.contracts.yaml`);
|
|
210
|
+
const onDisk = await readFile(companion, "utf8").catch(() => void 0);
|
|
211
|
+
const next = contracts.entries.length ? (0, import_yaml.stringify)(contracts, { lineWidth: 0 }) : void 0;
|
|
212
|
+
if (onDisk !== next)
|
|
213
|
+
files.push(`${rel}/${repo}.contracts.yaml`);
|
|
214
|
+
const p = await projectFactsIntoCatalog(root, repo, report.accepted, {
|
|
215
|
+
...op ? { op } : {},
|
|
216
|
+
contracts,
|
|
217
|
+
cache: false,
|
|
218
|
+
...o.extra?.length ? { extraPairs: pairsFromCorrections(report.accepted, o.extra) } : {}
|
|
219
|
+
});
|
|
220
|
+
const catalogRel = layoutOf(root).catalog.replace(/\/+$/, "");
|
|
221
|
+
const recordFiles = [
|
|
222
|
+
...p.diff.added,
|
|
223
|
+
...p.diff.changed,
|
|
224
|
+
...p.diff.removed,
|
|
225
|
+
...p.diff.evidenceOnly
|
|
226
|
+
].map((r) => `${catalogRel}/generated/${recordPath(r)}`).sort();
|
|
227
|
+
files.push(...new Set(recordFiles));
|
|
228
|
+
if (p.result.flows.length || existsSync(join(root, ...specRelOf(root, repo).split("/"))))
|
|
229
|
+
files.push(specRelOf(root, repo));
|
|
230
|
+
if (existsSync(join(mapDirOf(root), repo)) || p.result.records.some((r) => r.kind === "Component"))
|
|
231
|
+
files.push(`${mapRelOf(root)}/${repo}`);
|
|
232
|
+
if (existsSync(join(root, ...questionsRelOf(root).split("/"))))
|
|
233
|
+
files.push(questionsRelOf(root));
|
|
234
|
+
const key = (l) => `${l.from}|${l.method ?? ""}|${l.path}`;
|
|
235
|
+
const added = p.links.added.map(linkView);
|
|
236
|
+
const removed = p.links.removed.map(linkView);
|
|
237
|
+
const ifaces = (rs) => rs.filter((r) => r.kind === "Interface");
|
|
238
|
+
const callerHere = (r) => r.evidence.some((e) => e.repo === repo && e.side !== "callee");
|
|
239
|
+
const after = new Map(ifaces(p.result.records).map((r) => [r.id, r]));
|
|
240
|
+
const moved = [];
|
|
241
|
+
for (const a of added) {
|
|
242
|
+
const old = ifaces(p.existing).find((r) => r.to !== a.to && callerHere(r) && key({ from: r.from, method: r.method, path: r.normalizedPath }) === key(a) && !(after.get(r.id) && callerHere(after.get(r.id))));
|
|
243
|
+
if (old)
|
|
244
|
+
moved.push({
|
|
245
|
+
from: a.from,
|
|
246
|
+
...a.method ? { method: a.method } : {},
|
|
247
|
+
path: a.path,
|
|
248
|
+
was: old.to,
|
|
249
|
+
to: a.to
|
|
250
|
+
});
|
|
251
|
+
}
|
|
252
|
+
const movedIds = /* @__PURE__ */ new Set();
|
|
253
|
+
for (const m of moved) {
|
|
254
|
+
const old = ifaces(p.existing).find((r) => r.to === m.was && key({ from: r.from, method: r.method, path: r.normalizedPath }) === key(m));
|
|
255
|
+
if (old)
|
|
256
|
+
movedIds.add(old.id);
|
|
257
|
+
}
|
|
258
|
+
const unmade = ifaces(p.existing).filter((r) => callerHere(r) && after.has(r.id) && !callerHere(after.get(r.id))).filter((r) => !movedIds.has(r.id)).map((r) => ({
|
|
259
|
+
id: r.id,
|
|
260
|
+
from: r.from,
|
|
261
|
+
to: r.to,
|
|
262
|
+
...r.method ? { method: r.method } : {},
|
|
263
|
+
path: r.normalizedPath,
|
|
264
|
+
confidence: after.get(r.id).confidence,
|
|
265
|
+
...r.flags?.length ? { flags: [...r.flags] } : {}
|
|
266
|
+
})).sort((a, b) => a.id < b.id ? -1 : a.id > b.id ? 1 : 0);
|
|
267
|
+
const movedKeys = new Set(moved.map((m) => `${m.from}|${m.method ?? ""}|${m.path}`));
|
|
268
|
+
return {
|
|
269
|
+
...plain(files),
|
|
270
|
+
preview: {
|
|
271
|
+
facts,
|
|
272
|
+
catalog: {
|
|
273
|
+
added: p.diff.added.length,
|
|
274
|
+
changed: p.diff.changed.length,
|
|
275
|
+
removed: p.diff.removed.length,
|
|
276
|
+
evidenceOnly: p.diff.evidenceOnly.length,
|
|
277
|
+
files: [...new Set(recordFiles)]
|
|
278
|
+
},
|
|
279
|
+
links: {
|
|
280
|
+
added: added.filter((l) => !movedKeys.has(key(l))),
|
|
281
|
+
removed: removed.filter((l) => !movedKeys.has(key(l))),
|
|
282
|
+
changed: p.links.changed.map(linkView),
|
|
283
|
+
unmade,
|
|
284
|
+
moved
|
|
285
|
+
},
|
|
286
|
+
...headMoved ? { headMoved } : {},
|
|
287
|
+
staleCorrections
|
|
288
|
+
}
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
export {
|
|
292
|
+
prCommand,
|
|
293
|
+
verifyWritePreview
|
|
294
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
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
|
+
QUESTION_ROLES,
|
|
8
|
+
changesDirOf,
|
|
9
|
+
orgPackDirOf,
|
|
10
|
+
require_dist,
|
|
11
|
+
roleOfQuestion,
|
|
12
|
+
roleOfStep,
|
|
13
|
+
rolesOfPerson
|
|
14
|
+
} from "./chunk-PAINMSID.js";
|
|
15
|
+
import "./chunk-ODMBPDDV.js";
|
|
16
|
+
import {
|
|
17
|
+
__toESM
|
|
18
|
+
} from "./chunk-TV45EUGM.js";
|
|
19
|
+
|
|
20
|
+
// packages/cli/dist/change-roles.js
|
|
21
|
+
var import_yaml = __toESM(require_dist(), 1);
|
|
22
|
+
import { readdir, readFile } from "node:fs/promises";
|
|
23
|
+
import { join } from "node:path";
|
|
24
|
+
var STAGE_FILES = ["feature", "architecture", "stories", "small"];
|
|
25
|
+
var yamlOf = async (path) => {
|
|
26
|
+
const text = await readFile(path, "utf8").catch(() => void 0);
|
|
27
|
+
if (text === void 0)
|
|
28
|
+
return void 0;
|
|
29
|
+
try {
|
|
30
|
+
return (0, import_yaml.parse)(text);
|
|
31
|
+
} catch {
|
|
32
|
+
return void 0;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
async function stageQuestions(root, only) {
|
|
36
|
+
const out = /* @__PURE__ */ new Map();
|
|
37
|
+
const changes = only ? [only] : await readdir(changesDirOf(root), { withFileTypes: true }).then((d) => d.filter((x) => x.isDirectory()).map((x) => x.name), () => []);
|
|
38
|
+
for (const change of changes.sort())
|
|
39
|
+
for (const stage of STAGE_FILES) {
|
|
40
|
+
const y = await yamlOf(join(changesDirOf(root), change, "stage", `${stage}.yaml`));
|
|
41
|
+
const ids = Array.isArray(y?.questions) ? y.questions : [];
|
|
42
|
+
for (const id of ids)
|
|
43
|
+
if (typeof id === "string" && !out.has(id))
|
|
44
|
+
out.set(id, { change, role: roleOfStep(`change-${stage}`) });
|
|
45
|
+
}
|
|
46
|
+
return out;
|
|
47
|
+
}
|
|
48
|
+
function roleWithStage(q, stages) {
|
|
49
|
+
return roleOfQuestion(q) ?? stages.get(q.id)?.role;
|
|
50
|
+
}
|
|
51
|
+
function isChangeQuestion(q, change, o) {
|
|
52
|
+
return q.repo === change || o.stages.get(q.id)?.change === change || !!o.restsOn?.includes(change);
|
|
53
|
+
}
|
|
54
|
+
async function customRoles(root) {
|
|
55
|
+
const y = await yamlOf(join(orgPackDirOf(root), "roles.yaml"));
|
|
56
|
+
if (!Array.isArray(y?.custom))
|
|
57
|
+
return [];
|
|
58
|
+
return y.custom.flatMap((c) => {
|
|
59
|
+
const x = c;
|
|
60
|
+
return typeof x?.id === "string" && typeof x.basedOn === "string" ? [{ id: x.id, basedOn: x.basedOn }] : [];
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
async function personsRoles(root, change, handle) {
|
|
64
|
+
if (!handle)
|
|
65
|
+
return [];
|
|
66
|
+
const y = await yamlOf(join(changesDirOf(root), change, "change.yaml"));
|
|
67
|
+
const owners = y?.owners;
|
|
68
|
+
if (!owners || typeof owners !== "object" || Array.isArray(owners))
|
|
69
|
+
return [];
|
|
70
|
+
const lists = {};
|
|
71
|
+
for (const [k, v] of Object.entries(owners))
|
|
72
|
+
if (Array.isArray(v))
|
|
73
|
+
lists[k] = v.filter((h) => typeof h === "string");
|
|
74
|
+
return rolesOfPerson(handle, lists, await customRoles(root));
|
|
75
|
+
}
|
|
76
|
+
function countByRole(questions, roleOf) {
|
|
77
|
+
const out = {};
|
|
78
|
+
for (const r of QUESTION_ROLES) {
|
|
79
|
+
const of = questions.filter((q) => roleOf(q) === r);
|
|
80
|
+
if (!of.length)
|
|
81
|
+
continue;
|
|
82
|
+
const k = (s) => of.filter((q) => q.state === s).length;
|
|
83
|
+
out[r] = { open: k("open"), answered: k("answered"), retired: k("retired"), total: of.length };
|
|
84
|
+
}
|
|
85
|
+
return out;
|
|
86
|
+
}
|
|
87
|
+
export {
|
|
88
|
+
countByRole,
|
|
89
|
+
isChangeQuestion,
|
|
90
|
+
personsRoles,
|
|
91
|
+
roleWithStage,
|
|
92
|
+
stageQuestions
|
|
93
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
effectiveComponentTypes,
|
|
8
|
+
loadOrgPack,
|
|
9
|
+
orgPackDirOf
|
|
10
|
+
} from "./chunk-PAINMSID.js";
|
|
11
|
+
|
|
12
|
+
// packages/cli/dist/component-types.js
|
|
13
|
+
async function componentTypesAt(root, given) {
|
|
14
|
+
const op = given ?? await loadOrgPack(orgPackDirOf(root)).catch(() => void 0);
|
|
15
|
+
return effectiveComponentTypes(op?.componentTypes ?? []);
|
|
16
|
+
}
|
|
17
|
+
var componentTypeIds = (types) => new Set(types.map((t) => t.id));
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
componentTypesAt,
|
|
21
|
+
componentTypeIds
|
|
22
|
+
};
|
|
@@ -5,28 +5,28 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
runPluginTests
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-4SLBCEPD.js";
|
|
9
|
+
import "./chunk-64AADMTW.js";
|
|
10
|
+
import "./chunk-JYMIB5XY.js";
|
|
11
|
+
import "./chunk-CPK7QSBG.js";
|
|
12
|
+
import "./chunk-YO2PKTXT.js";
|
|
13
|
+
import "./chunk-TWQRPM76.js";
|
|
14
|
+
import "./chunk-XOL3GFW2.js";
|
|
15
|
+
import {
|
|
16
|
+
SHIPPED_MODEL_PROVIDER_PLUGINS
|
|
17
|
+
} from "./chunk-PRW3HXM3.js";
|
|
18
|
+
import "./chunk-QHJJMZLX.js";
|
|
15
19
|
import {
|
|
16
20
|
pluginEntryHash,
|
|
17
21
|
runTranslator
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import {
|
|
20
|
-
SHIPPED_MODEL_PROVIDER_PLUGINS
|
|
21
|
-
} from "./chunk-YEDDOYSC.js";
|
|
22
|
-
import "./chunk-CNUKCS2T.js";
|
|
22
|
+
} from "./chunk-7AB6OWTV.js";
|
|
23
23
|
import {
|
|
24
24
|
ModelProviderPlugin,
|
|
25
25
|
ScannerPlugin,
|
|
26
26
|
orgPackDirOf,
|
|
27
27
|
require_dist
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-PAINMSID.js";
|
|
29
|
+
import "./chunk-ODMBPDDV.js";
|
|
30
30
|
import {
|
|
31
31
|
__toESM
|
|
32
32
|
} from "./chunk-TV45EUGM.js";
|