@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
|
@@ -7,18 +7,18 @@ import {
|
|
|
7
7
|
readRound,
|
|
8
8
|
reviewedGates,
|
|
9
9
|
roundsOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-K332XW7K.js";
|
|
11
11
|
import {
|
|
12
12
|
changeStore,
|
|
13
13
|
liveHandoff
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HSZMPH5T.js";
|
|
15
15
|
import {
|
|
16
16
|
createAdapters
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4KNOJC6J.js";
|
|
18
18
|
import {
|
|
19
19
|
loadOrgPack,
|
|
20
20
|
orgPackDirOf
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PAINMSID.js";
|
|
22
22
|
|
|
23
23
|
// packages/cli/dist/digest-commands.js
|
|
24
24
|
var norm = (s) => s.toLowerCase().replace(/^@/, "");
|
|
@@ -68,8 +68,8 @@ async function buildDigest(root, user) {
|
|
|
68
68
|
}
|
|
69
69
|
if (!lines.length)
|
|
70
70
|
lines.push("Nothing waits on you.");
|
|
71
|
-
const { readMe } = await import("./chunk-
|
|
72
|
-
const { watchLine } = await import("./chunk-
|
|
71
|
+
const { readMe } = await import("./chunk-ZLS6PU2O.js");
|
|
72
|
+
const { watchLine } = await import("./chunk-LIRVU3HW.js");
|
|
73
73
|
const watching = [];
|
|
74
74
|
for (const c of (await readMe(root)).watch)
|
|
75
75
|
watching.push(await watchLine(root, c));
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
citesCli,
|
|
8
|
+
fileInRepo,
|
|
9
|
+
uiCiteRoutes
|
|
10
|
+
} from "./chunk-WCEF7H6L.js";
|
|
11
|
+
import "./chunk-HK3VOHIE.js";
|
|
12
|
+
import "./chunk-FY3QIRTL.js";
|
|
13
|
+
import "./chunk-5WERBKLE.js";
|
|
14
|
+
import "./chunk-K332XW7K.js";
|
|
15
|
+
import "./chunk-HSZMPH5T.js";
|
|
16
|
+
import "./chunk-D2WSW4GU.js";
|
|
17
|
+
import "./chunk-4KNOJC6J.js";
|
|
18
|
+
import "./chunk-4SLBCEPD.js";
|
|
19
|
+
import "./chunk-64AADMTW.js";
|
|
20
|
+
import "./chunk-JYMIB5XY.js";
|
|
21
|
+
import "./chunk-CPK7QSBG.js";
|
|
22
|
+
import "./chunk-YO2PKTXT.js";
|
|
23
|
+
import "./chunk-TWQRPM76.js";
|
|
24
|
+
import "./chunk-XOL3GFW2.js";
|
|
25
|
+
import "./chunk-QHJJMZLX.js";
|
|
26
|
+
import "./chunk-7AB6OWTV.js";
|
|
27
|
+
import "./chunk-PAINMSID.js";
|
|
28
|
+
import "./chunk-ODMBPDDV.js";
|
|
29
|
+
import "./chunk-TV45EUGM.js";
|
|
30
|
+
export {
|
|
31
|
+
citesCli,
|
|
32
|
+
fileInRepo,
|
|
33
|
+
uiCiteRoutes
|
|
34
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
denyHash,
|
|
8
|
+
denyHashesAt,
|
|
9
|
+
intakeTraffic,
|
|
10
|
+
linkEvidenceAbout,
|
|
11
|
+
linkEvidenceLines,
|
|
12
|
+
loadLinkEvidence,
|
|
13
|
+
repoContractsOf,
|
|
14
|
+
writeRepoContracts
|
|
15
|
+
} from "./chunk-LPV6T362.js";
|
|
16
|
+
import "./chunk-CPK7QSBG.js";
|
|
17
|
+
import "./chunk-YO2PKTXT.js";
|
|
18
|
+
import "./chunk-TWQRPM76.js";
|
|
19
|
+
import "./chunk-QHJJMZLX.js";
|
|
20
|
+
import "./chunk-7AB6OWTV.js";
|
|
21
|
+
import "./chunk-PAINMSID.js";
|
|
22
|
+
import "./chunk-ODMBPDDV.js";
|
|
23
|
+
import "./chunk-TV45EUGM.js";
|
|
24
|
+
export {
|
|
25
|
+
denyHash,
|
|
26
|
+
denyHashesAt,
|
|
27
|
+
intakeTraffic,
|
|
28
|
+
linkEvidenceAbout,
|
|
29
|
+
linkEvidenceLines,
|
|
30
|
+
loadLinkEvidence,
|
|
31
|
+
repoContractsOf,
|
|
32
|
+
writeRepoContracts
|
|
33
|
+
};
|
|
@@ -6,7 +6,7 @@ var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
|
6
6
|
import {
|
|
7
7
|
aliasArgv,
|
|
8
8
|
isLegacy
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BXBCMGIQ.js";
|
|
10
10
|
import {
|
|
11
11
|
isHandoffStep
|
|
12
12
|
} from "./chunk-4Q3NN7VF.js";
|
|
@@ -54,6 +54,13 @@ var AREA_BY_WORD = {
|
|
|
54
54
|
spec: "repos",
|
|
55
55
|
estate: "repos",
|
|
56
56
|
"repo-type": "repos",
|
|
57
|
+
// ADR 0176, 0177: reading rules, and skills and agents, set up for the organisation.
|
|
58
|
+
rules: "repos",
|
|
59
|
+
// ADR 0178: Copilot proposes pairings of a repo's calls with another box's APIs.
|
|
60
|
+
connect: "repos",
|
|
61
|
+
// ADR 0180: the organisation's component types.
|
|
62
|
+
types: "start",
|
|
63
|
+
skills: "start",
|
|
57
64
|
repo: "repos",
|
|
58
65
|
repos: "repos",
|
|
59
66
|
workspace: "repos",
|
|
@@ -138,6 +145,7 @@ var KIND_BY_COMMAND = {
|
|
|
138
145
|
"change status": ["change"],
|
|
139
146
|
"change handoff": ["change"],
|
|
140
147
|
"change sync": ["change"],
|
|
148
|
+
"change release-prs": ["change"],
|
|
141
149
|
"change return": ["change"],
|
|
142
150
|
"change archive": ["change"],
|
|
143
151
|
finding: ["change", "finding"],
|
|
@@ -148,6 +156,13 @@ var KIND_BY_COMMAND = {
|
|
|
148
156
|
};
|
|
149
157
|
var SERVES = /* @__PURE__ */ new Set(["ui", "stub serve", "mcp"]);
|
|
150
158
|
var APPROVE_FLAGS = ["--approve", "--send"];
|
|
159
|
+
var LOCAL_ALWAYS = /* @__PURE__ */ new Set(["handoff done"]);
|
|
160
|
+
var APPROVE_WHEN = {
|
|
161
|
+
"task run": { flag: "--level", value: "pr" },
|
|
162
|
+
// ADR 0181 part 4: Run all ready tasks runs each task itself; only --level pr pushes and opens PRs.
|
|
163
|
+
"task run-ready": { flag: "--level", value: "pr" },
|
|
164
|
+
task: { flag: "--level", value: "pr" }
|
|
165
|
+
};
|
|
151
166
|
var isWord = (t) => /^[a-z][a-z-]*$/.test(t);
|
|
152
167
|
function parseArgs(id, usage) {
|
|
153
168
|
const out = [];
|
|
@@ -191,7 +206,7 @@ function parseFlags(text, summaries) {
|
|
|
191
206
|
name,
|
|
192
207
|
...value ? { value } : {},
|
|
193
208
|
// `<folder> | --org <org>`: the option is given instead of the argument, not as well.
|
|
194
|
-
required: opened <= 0 &&
|
|
209
|
+
required: opened <= 0 && !/(<[^>]+>|"[^"]*")\s*\|\s*$/.test(before),
|
|
195
210
|
...summary ? { summary } : {}
|
|
196
211
|
});
|
|
197
212
|
}
|
|
@@ -237,7 +252,7 @@ function parseHelp(help) {
|
|
|
237
252
|
summaries.set(f[0], what);
|
|
238
253
|
}
|
|
239
254
|
const optionText = [
|
|
240
|
-
usage
|
|
255
|
+
`${usage} `,
|
|
241
256
|
written,
|
|
242
257
|
// Each option line's option part only: its description may hold brackets of its own.
|
|
243
258
|
...b.more.map((m) => {
|
|
@@ -267,7 +282,7 @@ function commandCatalog(help) {
|
|
|
267
282
|
}
|
|
268
283
|
seen.add(c.id);
|
|
269
284
|
const area = AREA_BY_ID[c.id] ?? AREA_BY_WORD[c.words[0] ?? ""] ?? "";
|
|
270
|
-
const approve = APPROVE_FLAGS.find((f) => c.flags.some((x) => x.name === f));
|
|
285
|
+
const approve = LOCAL_ALWAYS.has(c.id) ? void 0 : APPROVE_FLAGS.find((f) => c.flags.some((x) => x.name === f));
|
|
271
286
|
const [w0, w1] = aliasArgv(c.words, c.words.map((_, i) => i));
|
|
272
287
|
const runs = isHandoffStep(w0, w1) || c.id === "critic" || c.id === "map" ? "ai" : SERVES.has(c.id) ? "serve" : approve ? "shared" : "local";
|
|
273
288
|
return {
|
|
@@ -275,6 +290,7 @@ function commandCatalog(help) {
|
|
|
275
290
|
area,
|
|
276
291
|
runs,
|
|
277
292
|
...approve && runs === "shared" ? { approve } : {},
|
|
293
|
+
...approve && runs === "shared" && APPROVE_WHEN[c.id] ? { approveWhen: APPROVE_WHEN[c.id] } : {},
|
|
278
294
|
legacy: isLegacy(c.words[0])
|
|
279
295
|
};
|
|
280
296
|
});
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
require_dist,
|
|
15
15
|
runsDirOf,
|
|
16
16
|
toCanonicalYaml
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PAINMSID.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
20
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -40,8 +40,9 @@ function createGit(opts = {}) {
|
|
|
40
40
|
GIT_PAGER: "cat",
|
|
41
41
|
LC_ALL: "C"
|
|
42
42
|
};
|
|
43
|
+
const pre = process.platform === "win32" ? ["-c", "core.longpaths=true"] : [];
|
|
43
44
|
return (args, cwd) => new Promise((resolve, reject) => {
|
|
44
|
-
execFile("git", args, {
|
|
45
|
+
execFile("git", [...pre, ...args], {
|
|
45
46
|
cwd,
|
|
46
47
|
env,
|
|
47
48
|
timeout: opts.timeoutMs ?? 10 * 6e4,
|
|
@@ -97,6 +98,7 @@ async function changesSince(dir, commits, to, git) {
|
|
|
97
98
|
const missing = [];
|
|
98
99
|
for (const c of [...new Set(commits)].filter((x) => !sameCommit(x, to)).sort()) {
|
|
99
100
|
try {
|
|
101
|
+
await (git ?? createGit({ timeoutMs: 6e4 }))(["merge-base", "--is-ancestor", c, to], dir);
|
|
100
102
|
changes[c] = await changedFiles(dir, c, to, git);
|
|
101
103
|
} catch {
|
|
102
104
|
missing.push(c);
|
|
@@ -244,7 +246,7 @@ async function writeChangeRepos(root, value) {
|
|
|
244
246
|
|
|
245
247
|
// packages/workspace/dist/editors.js
|
|
246
248
|
import { existsSync } from "node:fs";
|
|
247
|
-
import { mkdir as mkdir2, rm, writeFile as writeFile3 } from "node:fs/promises";
|
|
249
|
+
import { mkdir as mkdir2, readdir as readdir2, rm, writeFile as writeFile3 } from "node:fs/promises";
|
|
248
250
|
import { join as join3, relative as relative2, sep as sep2 } from "node:path";
|
|
249
251
|
var posix = (p) => p.split(sep2).join("/");
|
|
250
252
|
function xmlEscape(s) {
|
|
@@ -329,9 +331,12 @@ async function writeEditorWorkspaces(root, repos) {
|
|
|
329
331
|
await writeFile3(vscode, JSON.stringify(vscodeWorkspace(root, repos), null, 2) + "\n", "utf8");
|
|
330
332
|
const intellij = intellijProjectPath(root, repos.change);
|
|
331
333
|
const ideaDir = join3(intellij, ".idea");
|
|
332
|
-
await rm(ideaDir, { recursive: true, force: true });
|
|
333
334
|
await mkdir2(ideaDir, { recursive: true });
|
|
334
|
-
|
|
335
|
+
const files = intellijProject(root, repos);
|
|
336
|
+
for (const name of await readdir2(ideaDir).catch(() => []))
|
|
337
|
+
if (name.endsWith(".iml") && !(name in files))
|
|
338
|
+
await rm(join3(ideaDir, name), { force: true });
|
|
339
|
+
for (const [name, text] of Object.entries(files)) {
|
|
335
340
|
await writeFile3(join3(ideaDir, name), text, "utf8");
|
|
336
341
|
}
|
|
337
342
|
return { vscode, intellij };
|
|
@@ -350,10 +355,25 @@ async function checkoutState(dir, git = createGit()) {
|
|
|
350
355
|
|
|
351
356
|
// packages/workspace/dist/manager.js
|
|
352
357
|
import { existsSync as existsSync2 } from "node:fs";
|
|
353
|
-
import { mkdir as mkdir3, rm as rm2 } from "node:fs/promises";
|
|
354
|
-
import { dirname as dirname2 } from "node:path";
|
|
358
|
+
import { mkdir as mkdir3, readdir as readdir3, rm as rm2 } from "node:fs/promises";
|
|
359
|
+
import { basename, dirname as dirname2, join as join4 } from "node:path";
|
|
355
360
|
function isInPlace(url) {
|
|
356
|
-
|
|
361
|
+
const u = url.replace(/\\/g, "/");
|
|
362
|
+
return u === "." || u.startsWith("./");
|
|
363
|
+
}
|
|
364
|
+
function inPlacePath(url) {
|
|
365
|
+
if (!isInPlace(url))
|
|
366
|
+
return void 0;
|
|
367
|
+
const segs = url.split(/[\\/]+/).filter((s) => s !== "" && s !== ".");
|
|
368
|
+
if (segs.includes(".."))
|
|
369
|
+
return void 0;
|
|
370
|
+
return segs.length ? segs.join("/") : ".";
|
|
371
|
+
}
|
|
372
|
+
function inPlaceDir(root, url) {
|
|
373
|
+
const p = inPlacePath(url);
|
|
374
|
+
if (p === void 0)
|
|
375
|
+
return void 0;
|
|
376
|
+
return p === "." ? root : join4(root, ...p.split("/"));
|
|
357
377
|
}
|
|
358
378
|
async function remoteDefaultBranch(dir, git = createGit()) {
|
|
359
379
|
if (!existsSync2(dir))
|
|
@@ -385,7 +405,44 @@ function createWorkspace(root, git = createGit()) {
|
|
|
385
405
|
const b = await remoteDefaultBranch(cwd, git);
|
|
386
406
|
return b ? { remoteDefault: b } : {};
|
|
387
407
|
};
|
|
388
|
-
async function
|
|
408
|
+
async function copyFrom(repo, from, dest) {
|
|
409
|
+
const branch = repo.defaultBranch;
|
|
410
|
+
const sha = async (ref) => {
|
|
411
|
+
try {
|
|
412
|
+
return (await g(["rev-parse", "--verify", "--quiet", `${ref}^{commit}`], from)).stdout.trim();
|
|
413
|
+
} catch {
|
|
414
|
+
return "";
|
|
415
|
+
}
|
|
416
|
+
};
|
|
417
|
+
const at = await sha(`refs/remotes/origin/${branch}`) || await sha(`refs/heads/${branch}`);
|
|
418
|
+
if (!at)
|
|
419
|
+
return {
|
|
420
|
+
id: repo.id,
|
|
421
|
+
action: "failed",
|
|
422
|
+
reason: `your clone at ${from} has no ${branch} branch; fetch it there, or sync without --from`
|
|
423
|
+
};
|
|
424
|
+
await g([
|
|
425
|
+
"clone",
|
|
426
|
+
"-c",
|
|
427
|
+
"core.longpaths=true",
|
|
428
|
+
"--quiet",
|
|
429
|
+
"--no-tags",
|
|
430
|
+
"--no-checkout",
|
|
431
|
+
"--",
|
|
432
|
+
from,
|
|
433
|
+
dest
|
|
434
|
+
]);
|
|
435
|
+
await g(["remote", "set-url", "origin", "--", repo.url], dest);
|
|
436
|
+
const refs = (await g(["for-each-ref", "--format=%(refname)", "refs/remotes/origin"], dest)).stdout.split("\n").filter(Boolean);
|
|
437
|
+
for (const r of refs)
|
|
438
|
+
await g(["update-ref", "-d", r], dest);
|
|
439
|
+
await g(["update-ref", `refs/remotes/origin/${branch}`, at], dest);
|
|
440
|
+
if (repo.sparse.length > 0)
|
|
441
|
+
await g(["sparse-checkout", "set", "--", ...repo.sparse], dest);
|
|
442
|
+
await g(["checkout", "--quiet", "-B", branch, at], dest);
|
|
443
|
+
return { id: repo.id, action: "cloned", sha: await head(dest), from };
|
|
444
|
+
}
|
|
445
|
+
async function syncOne(repo, local) {
|
|
389
446
|
if (repo.archived)
|
|
390
447
|
return { id: repo.id, action: "skipped", reason: "archived" };
|
|
391
448
|
if (isInPlace(repo.url))
|
|
@@ -396,10 +453,22 @@ function createWorkspace(root, git = createGit()) {
|
|
|
396
453
|
};
|
|
397
454
|
const dest = baseClonePath(root, repo.id);
|
|
398
455
|
const branch = repo.defaultBranch;
|
|
456
|
+
const made = !existsSync2(dest);
|
|
399
457
|
try {
|
|
400
|
-
if (
|
|
458
|
+
if (made) {
|
|
401
459
|
await mkdir3(dirname2(dest), { recursive: true });
|
|
402
|
-
const
|
|
460
|
+
const from = local && yourClone(local, repo);
|
|
461
|
+
if (from)
|
|
462
|
+
return await copyFrom(repo, from, dest);
|
|
463
|
+
const args = [
|
|
464
|
+
"clone",
|
|
465
|
+
"-c",
|
|
466
|
+
"core.longpaths=true",
|
|
467
|
+
"--no-tags",
|
|
468
|
+
"--branch",
|
|
469
|
+
branch,
|
|
470
|
+
"--filter=blob:none"
|
|
471
|
+
];
|
|
403
472
|
if (repo.sparse.length > 0)
|
|
404
473
|
args.push("--sparse");
|
|
405
474
|
args.push("--", repo.url, dest);
|
|
@@ -432,7 +501,14 @@ function createWorkspace(root, git = createGit()) {
|
|
|
432
501
|
...await remoteDefault(dest)
|
|
433
502
|
};
|
|
434
503
|
} catch (err) {
|
|
435
|
-
|
|
504
|
+
if (made)
|
|
505
|
+
await rm2(dest, { recursive: true, force: true }).catch(() => void 0);
|
|
506
|
+
const msg = err.message;
|
|
507
|
+
return {
|
|
508
|
+
id: repo.id,
|
|
509
|
+
action: "failed",
|
|
510
|
+
reason: /Filename too long/i.test(msg) ? `${msg.trim()} \u2014 a path in the repo is longer than Windows allows: run git config --global core.longpaths true, then sync again` : msg
|
|
511
|
+
};
|
|
436
512
|
}
|
|
437
513
|
}
|
|
438
514
|
async function worktreeFor(change, repo) {
|
|
@@ -468,12 +544,13 @@ function createWorkspace(root, git = createGit()) {
|
|
|
468
544
|
}
|
|
469
545
|
return {
|
|
470
546
|
root,
|
|
471
|
-
async sync(repos) {
|
|
547
|
+
async sync(repos, opts = {}) {
|
|
472
548
|
if (repos.some((r) => !r.archived && !isInPlace(r.url)))
|
|
473
549
|
await ensureGitignore(root);
|
|
474
550
|
const out = [];
|
|
551
|
+
const local = opts.from ? await localClones(opts.from, git) : void 0;
|
|
475
552
|
for (const repo of repos)
|
|
476
|
-
out.push(await syncOne(repo));
|
|
553
|
+
out.push(await syncOne(repo, local));
|
|
477
554
|
return out;
|
|
478
555
|
},
|
|
479
556
|
async checkoutBranch(repo, branch) {
|
|
@@ -490,8 +567,11 @@ function createWorkspace(root, git = createGit()) {
|
|
|
490
567
|
if (!existsSync2(dir)) {
|
|
491
568
|
await mkdir3(dirname2(dir), { recursive: true });
|
|
492
569
|
await g(["worktree", "add", "--detach", "--", dir, ref], base);
|
|
493
|
-
} else
|
|
570
|
+
} else {
|
|
571
|
+
if (await dirty(dir))
|
|
572
|
+
throw new Error(`${repo.id}'s checkout of ${branch} has local changes: commit or stash them in ${dir}, then try again`);
|
|
494
573
|
await g(["checkout", "--quiet", "--force", "--detach", ref], dir);
|
|
574
|
+
}
|
|
495
575
|
return { dir, commit: await head(dir) };
|
|
496
576
|
},
|
|
497
577
|
async openChange(change, repos) {
|
|
@@ -518,10 +598,27 @@ function createWorkspace(root, git = createGit()) {
|
|
|
518
598
|
const kept = [];
|
|
519
599
|
if (!repos)
|
|
520
600
|
return { removed, kept };
|
|
601
|
+
const removeOne = async (id2, path, repo) => {
|
|
602
|
+
try {
|
|
603
|
+
if (!opts.force && await dirty(path)) {
|
|
604
|
+
kept.push({ id: id2, reason: "uncommitted changes in the worktree" });
|
|
605
|
+
return;
|
|
606
|
+
}
|
|
607
|
+
const args = ["worktree", "remove"];
|
|
608
|
+
if (opts.force)
|
|
609
|
+
args.push("--force");
|
|
610
|
+
await g([...args, "--", path], baseClonePath(root, repo));
|
|
611
|
+
removed.push(id2);
|
|
612
|
+
} catch (err) {
|
|
613
|
+
kept.push({ id: id2, reason: err instanceof GitError ? err.message : String(err) });
|
|
614
|
+
}
|
|
615
|
+
};
|
|
616
|
+
const waiting = /* @__PURE__ */ new Set();
|
|
521
617
|
for (const r of repos.repos) {
|
|
522
618
|
const done = r.pr?.state === "merged" || r.pr?.state === "closed";
|
|
523
619
|
if (!done && !opts.all) {
|
|
524
620
|
kept.push({ id: r.id, reason: r.pr ? `PR is ${r.pr.state}` : "no PR yet" });
|
|
621
|
+
waiting.add(r.id);
|
|
525
622
|
continue;
|
|
526
623
|
}
|
|
527
624
|
const path = worktreePath(root, change, r.id);
|
|
@@ -529,24 +626,27 @@ function createWorkspace(root, git = createGit()) {
|
|
|
529
626
|
removed.push(r.id);
|
|
530
627
|
continue;
|
|
531
628
|
}
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
629
|
+
await removeOne(r.id, path, r.id);
|
|
630
|
+
}
|
|
631
|
+
const tasksDir = join4(changeWorktreesDir(root, change), ".tasks");
|
|
632
|
+
const subdirs = async (dir) => (await readdir3(dir, { withFileTypes: true }).catch(() => [])).filter((d) => d.isDirectory()).map((d) => d.name).sort();
|
|
633
|
+
const taskRepos = /* @__PURE__ */ new Set();
|
|
634
|
+
for (const task of await subdirs(tasksDir))
|
|
635
|
+
for (const repo of await subdirs(join4(tasksDir, task))) {
|
|
636
|
+
taskRepos.add(repo);
|
|
637
|
+
if (waiting.has(repo))
|
|
536
638
|
continue;
|
|
537
|
-
}
|
|
538
|
-
const args = ["worktree", "remove"];
|
|
539
|
-
if (opts.force)
|
|
540
|
-
args.push("--force");
|
|
541
|
-
await g([...args, "--", path], base);
|
|
542
|
-
removed.push(r.id);
|
|
543
|
-
} catch (err) {
|
|
544
|
-
kept.push({ id: r.id, reason: err instanceof GitError ? err.message : String(err) });
|
|
639
|
+
await removeOne(`${repo} task ${task}`, join4(tasksDir, task, repo), repo);
|
|
545
640
|
}
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
641
|
+
for (const id2 of /* @__PURE__ */ new Set([...repos.repos.map((r) => r.id), ...taskRepos])) {
|
|
642
|
+
let base;
|
|
643
|
+
try {
|
|
644
|
+
base = baseClonePath(root, id2);
|
|
645
|
+
} catch {
|
|
646
|
+
continue;
|
|
647
|
+
}
|
|
648
|
+
if (existsSync2(base))
|
|
649
|
+
await g(["worktree", "prune"], base).catch(() => void 0);
|
|
550
650
|
}
|
|
551
651
|
if (kept.length === 0) {
|
|
552
652
|
await removeEditorWorkspaces(root, change);
|
|
@@ -556,6 +656,44 @@ function createWorkspace(root, git = createGit()) {
|
|
|
556
656
|
}
|
|
557
657
|
};
|
|
558
658
|
}
|
|
659
|
+
function remoteKey(url) {
|
|
660
|
+
let u = url.trim().replace(/\\/g, "/");
|
|
661
|
+
const scp = /^[\w.-]+@([^:/]+):(.+)$/.exec(u);
|
|
662
|
+
if (scp)
|
|
663
|
+
u = `${scp[1]}/${scp[2]}`;
|
|
664
|
+
u = u.replace(/^[a-z+]+:\/\//i, "").replace(/^[^@/]+@/, "");
|
|
665
|
+
u = u.replace(/\/{2,}/g, "/").replace(/\/+$/, "").replace(/\.git$/i, "");
|
|
666
|
+
const slash = u.indexOf("/");
|
|
667
|
+
return slash < 0 ? u.toLowerCase() : u.slice(0, slash).toLowerCase() + u.slice(slash);
|
|
668
|
+
}
|
|
669
|
+
async function localClones(dir, g) {
|
|
670
|
+
const found = /* @__PURE__ */ new Map();
|
|
671
|
+
const visit = async (d, depth) => {
|
|
672
|
+
let names;
|
|
673
|
+
try {
|
|
674
|
+
names = await readdir3(d);
|
|
675
|
+
} catch {
|
|
676
|
+
return;
|
|
677
|
+
}
|
|
678
|
+
if (names.includes(".git")) {
|
|
679
|
+
const url = await g(["config", "--get", "remote.origin.url"], d).then((r) => r.stdout.trim(), () => "");
|
|
680
|
+
if (url && !found.has(`url:${remoteKey(url)}`))
|
|
681
|
+
found.set(`url:${remoteKey(url)}`, d);
|
|
682
|
+
if (!found.has(`name:${nameKey(basename(d))}`))
|
|
683
|
+
found.set(`name:${nameKey(basename(d))}`, d);
|
|
684
|
+
return;
|
|
685
|
+
}
|
|
686
|
+
if (depth === 0)
|
|
687
|
+
return;
|
|
688
|
+
for (const n of names)
|
|
689
|
+
if (!n.startsWith(".") && n !== "node_modules")
|
|
690
|
+
await visit(join4(d, n), depth - 1);
|
|
691
|
+
};
|
|
692
|
+
await visit(dir, 2);
|
|
693
|
+
return found;
|
|
694
|
+
}
|
|
695
|
+
var yourClone = (local, repo) => local.get(`url:${remoteKey(repo.url)}`) ?? local.get(`name:${nameKey(repo.id)}`);
|
|
696
|
+
var nameKey = (s) => s.toLowerCase().replace(/[^a-z0-9._-]+/g, "-");
|
|
559
697
|
|
|
560
698
|
// packages/workspace/dist/identity.js
|
|
561
699
|
import { userInfo } from "node:os";
|
|
@@ -630,6 +768,8 @@ export {
|
|
|
630
768
|
removeEditorWorkspaces,
|
|
631
769
|
checkoutState,
|
|
632
770
|
isInPlace,
|
|
771
|
+
inPlacePath,
|
|
772
|
+
inPlaceDir,
|
|
633
773
|
remoteDefaultBranch,
|
|
634
774
|
createWorkspace,
|
|
635
775
|
toHandle,
|
|
@@ -6,32 +6,32 @@ var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
|
6
6
|
import {
|
|
7
7
|
renderTaskContext,
|
|
8
8
|
taskContext
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-BEPCKDCP.js";
|
|
10
|
+
import "./chunk-HWD4JPU7.js";
|
|
11
|
+
import "./chunk-5WERBKLE.js";
|
|
12
|
+
import "./chunk-K332XW7K.js";
|
|
12
13
|
import {
|
|
13
14
|
changeFolder,
|
|
14
15
|
changeStore
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-HSZMPH5T.js";
|
|
17
|
+
import "./chunk-D2WSW4GU.js";
|
|
18
|
+
import "./chunk-4KNOJC6J.js";
|
|
19
|
+
import "./chunk-4SLBCEPD.js";
|
|
20
|
+
import "./chunk-64AADMTW.js";
|
|
21
|
+
import "./chunk-JYMIB5XY.js";
|
|
21
22
|
import {
|
|
22
23
|
attachToChange
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-CNUKCS2T.js";
|
|
24
|
+
} from "./chunk-CPK7QSBG.js";
|
|
25
|
+
import "./chunk-YO2PKTXT.js";
|
|
26
|
+
import "./chunk-TWQRPM76.js";
|
|
27
|
+
import "./chunk-XOL3GFW2.js";
|
|
28
|
+
import "./chunk-QHJJMZLX.js";
|
|
29
|
+
import "./chunk-7AB6OWTV.js";
|
|
30
30
|
import {
|
|
31
31
|
changesRelOf,
|
|
32
32
|
inputsDirOf
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-PAINMSID.js";
|
|
34
|
+
import "./chunk-ODMBPDDV.js";
|
|
35
35
|
import "./chunk-TV45EUGM.js";
|
|
36
36
|
|
|
37
37
|
// packages/cli/dist/attach-commands.js
|
|
@@ -90,7 +90,7 @@ async function promoteChangeInput(root, change, file) {
|
|
|
90
90
|
} catch {
|
|
91
91
|
throw new AttachError("not-found", `inputs/${name} isn't attached to ${c.id}: atticus change attach ${c.id} adds it.`);
|
|
92
92
|
}
|
|
93
|
-
const { addToInbox } = await import("./chunk-
|
|
93
|
+
const { addToInbox } = await import("./chunk-ZKYRDV7A.js");
|
|
94
94
|
const r = await addToInbox(root, [{ name, bytes }]);
|
|
95
95
|
const added = r.added[0];
|
|
96
96
|
if (!added)
|
|
@@ -107,11 +107,11 @@ function attachedLine(rel, a) {
|
|
|
107
107
|
async function changeAttachCli(root, change, paths, o, io) {
|
|
108
108
|
if (change && o.prototype) {
|
|
109
109
|
if (paths.length) {
|
|
110
|
-
const { PROTOTYPE_CLI_WORDS } = await import("./chunk-
|
|
110
|
+
const { PROTOTYPE_CLI_WORDS } = await import("./chunk-VYOCPTUB.js");
|
|
111
111
|
io.err(PROTOTYPE_CLI_WORDS.usage(change, o.prototype));
|
|
112
112
|
return 2;
|
|
113
113
|
}
|
|
114
|
-
const { attachPrototype } = await import("./chunk-
|
|
114
|
+
const { attachPrototype } = await import("./chunk-VYOCPTUB.js");
|
|
115
115
|
return attachPrototype(root, change, o.prototype, { by: o.by, ...o.json ? { json: true } : {}, ...o.now ? { now: o.now } : {} }, io);
|
|
116
116
|
}
|
|
117
117
|
if (change && o.like) {
|
|
@@ -119,7 +119,7 @@ async function changeAttachCli(root, change, paths, o, io) {
|
|
|
119
119
|
io.err("--like names an archived change, attached on its own: atticus change attach add-refund-window --like raise-transfer-limit");
|
|
120
120
|
return 2;
|
|
121
121
|
}
|
|
122
|
-
const { attachPastChange, findPastChange } = await import("./chunk-
|
|
122
|
+
const { attachPastChange, findPastChange } = await import("./chunk-BC6KKZ67.js");
|
|
123
123
|
const folder = await findPastChange(root, o.like);
|
|
124
124
|
if (!folder) {
|
|
125
125
|
io.err(`There is no archived change ${o.like}: atticus change similar "<what it is about>" lists them.`);
|