@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,32 +5,40 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
RunLevel,
|
|
8
|
+
TASK_RUNNER,
|
|
8
9
|
completeTaskHandoff,
|
|
10
|
+
findTaskRunOfRun,
|
|
11
|
+
isTaskRun,
|
|
12
|
+
previewTaskRun,
|
|
9
13
|
runTask
|
|
10
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Y6K3CJBU.js";
|
|
15
|
+
import {
|
|
16
|
+
handoffDone
|
|
17
|
+
} from "./chunk-IFHDV6KQ.js";
|
|
11
18
|
import {
|
|
12
19
|
driftCheck,
|
|
13
20
|
handDown,
|
|
14
21
|
handUp
|
|
15
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YWAKDNMH.js";
|
|
16
23
|
import {
|
|
17
24
|
generateAssistantFiles,
|
|
18
25
|
smokeCheck
|
|
19
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-3AQ2R5NL.js";
|
|
20
27
|
import {
|
|
21
28
|
createAdapters,
|
|
22
29
|
fileStepStore
|
|
23
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-4KNOJC6J.js";
|
|
24
31
|
import {
|
|
25
32
|
RUNTIME_MODES,
|
|
26
33
|
runtimeForCli
|
|
27
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-QHJJMZLX.js";
|
|
28
35
|
import {
|
|
29
36
|
changesRelOf,
|
|
30
37
|
loadOrgPack,
|
|
31
38
|
orgPackDirOf,
|
|
39
|
+
runsDirOf,
|
|
32
40
|
runsRelOf
|
|
33
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-PAINMSID.js";
|
|
34
42
|
|
|
35
43
|
// packages/cli/dist/run-commands.js
|
|
36
44
|
import { readFile } from "node:fs/promises";
|
|
@@ -38,6 +46,8 @@ import { join } from "node:path";
|
|
|
38
46
|
var KNOWN = /* @__PURE__ */ new Set([
|
|
39
47
|
"SpecKitError",
|
|
40
48
|
"TaskRunError",
|
|
49
|
+
"GitError",
|
|
50
|
+
"RuntimeError",
|
|
41
51
|
"RuntimeConfigError",
|
|
42
52
|
"AssistantFilesError",
|
|
43
53
|
"ChangeError",
|
|
@@ -53,10 +63,11 @@ function fail(io, e) {
|
|
|
53
63
|
throw e;
|
|
54
64
|
}
|
|
55
65
|
var plural = (n, w) => `${n} ${w}${n === 1 ? "" : "s"}`;
|
|
66
|
+
var exitOf = (r) => r.state === "failed" || r.state === "needs-person" || r.level === "pr" && r.state === "built" ? 1 : 0;
|
|
56
67
|
function describeRun(root, r, io) {
|
|
57
68
|
const what = {
|
|
58
69
|
planned: `Wrote the plan for task ${r.task}: ${changesRelOf(root)}/${r.change}/tasks/${r.task}/plan.md.`,
|
|
59
|
-
waiting: `Handed task ${r.task} to your assistant. The prompt is in ${runsRelOf(root)}/${r.change}/${r.waiting}/prompt.md; it ends with: atticus handoff done ${r.waiting}`,
|
|
70
|
+
waiting: r.level === "pr" ? `Handed task ${r.task} to your assistant. The prompt is in ${runsRelOf(root)}/${r.change}/${r.waiting}/prompt.md. When it is done, you run: atticus handoff done ${r.waiting} --approve (it pushes the branch and opens the PR; an assistant never approves a push)` : `Handed task ${r.task} to your assistant. The prompt is in ${runsRelOf(root)}/${r.change}/${r.waiting}/prompt.md; it ends with: atticus handoff done ${r.waiting}`,
|
|
60
71
|
built: `Task ${r.task} is drafted on ${r.branch} and the build passes (${plural(r.attempts.length, "attempt")}); committed ${r.commit?.slice(0, 12) ?? ""}.`,
|
|
61
72
|
unverified: `Task ${r.task} is drafted on ${r.branch} but wasn't built: ${r.repo} has no build command.`,
|
|
62
73
|
"pr-open": `Opened PR ${r.pr?.url ?? ""} from ${r.branch} for review.`,
|
|
@@ -67,7 +78,7 @@ function describeRun(root, r, io) {
|
|
|
67
78
|
io.out(reason ? `The run for task ${r.task} failed: ${reason}` : what[r.state]);
|
|
68
79
|
for (const n of reason ? r.notes.slice(0, -1) : r.notes)
|
|
69
80
|
io.out(` ${n}`);
|
|
70
|
-
return r
|
|
81
|
+
return exitOf(r);
|
|
71
82
|
}
|
|
72
83
|
async function taskRun(root, changeId, taskId, o, io, deps = {}) {
|
|
73
84
|
if (!changeId || !taskId) {
|
|
@@ -88,6 +99,30 @@ async function taskRun(root, changeId, taskId, o, io, deps = {}) {
|
|
|
88
99
|
io.err(`Unknown mode ${mode}. Use one of: hand-off, model, headless-claude-code, replay.`);
|
|
89
100
|
return 2;
|
|
90
101
|
}
|
|
102
|
+
if (o.dryRun || !o.approve) {
|
|
103
|
+
let p;
|
|
104
|
+
try {
|
|
105
|
+
p = await previewTaskRun(root, changeId, taskId, {
|
|
106
|
+
...o.level ? { level: o.level } : {},
|
|
107
|
+
...deps.gitHost ? { gitHost: deps.gitHost } : {}
|
|
108
|
+
});
|
|
109
|
+
} catch (e) {
|
|
110
|
+
return fail(io, e);
|
|
111
|
+
}
|
|
112
|
+
if (o.dryRun || p.level === "pr") {
|
|
113
|
+
const what = [
|
|
114
|
+
p.level === "plan" ? `Task ${p.task} of ${p.change} at the plan level: the plan is written to tasks/${p.task}/plan.md; no code changes.` : `Task ${p.task} of ${p.change} at the ${p.level} level: drafted on ${p.branch} in its own worktree of ${p.repo}, built and committed${p.level === "pr" ? p.gitHost ? `, then the branch is pushed and a PR opened into change/${p.change}.` : `; no Git host is connected (runtime.yaml adapters.gitHost), so you push it and open the PR by hand.` : "."}`,
|
|
115
|
+
// The yes is the person's: an assistant that ran this says so to them, never adds it.
|
|
116
|
+
o.dryRun || p.level !== "pr" || o.approve ? "Nothing was done: this was a dry run." : p.gitHost ? "Nothing was done: run it again with --approve to let it push and open the PR (the person's yes; an assistant never approves a push)." : "Nothing was done: run it again with --approve to draft and commit it; you push and open the PR (the person's yes; an assistant never approves a push)."
|
|
117
|
+
];
|
|
118
|
+
if (o.json)
|
|
119
|
+
io.out(JSON.stringify({ dryRun: true, ...p, lines: what }, null, 2));
|
|
120
|
+
else
|
|
121
|
+
for (const l of what)
|
|
122
|
+
io.out(l);
|
|
123
|
+
return 0;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
91
126
|
const now = deps.now ?? (() => /* @__PURE__ */ new Date());
|
|
92
127
|
try {
|
|
93
128
|
const r = await runTask(root, changeId, taskId, {
|
|
@@ -111,7 +146,7 @@ async function taskRun(root, changeId, taskId, o, io, deps = {}) {
|
|
|
111
146
|
});
|
|
112
147
|
if (o.json) {
|
|
113
148
|
io.out(JSON.stringify(r, null, 2));
|
|
114
|
-
return r
|
|
149
|
+
return exitOf(r);
|
|
115
150
|
}
|
|
116
151
|
return describeRun(root, r, io);
|
|
117
152
|
} catch (e) {
|
|
@@ -135,7 +170,7 @@ async function taskHandoff(root, runId, o, io, deps = {}) {
|
|
|
135
170
|
if (o.json)
|
|
136
171
|
io.out(JSON.stringify(r, null, 2));
|
|
137
172
|
else if (r.state === "waiting")
|
|
138
|
-
io.out(`The build still fails; fix it in ${r.worktree} and run atticus handoff done ${runId} again.`);
|
|
173
|
+
io.out(r.notes.at(-1)?.startsWith("Build attempt") ? `The build still fails; fix it in ${r.worktree} and run atticus handoff done ${runId} again.` : r.notes.at(-1) ?? `Run atticus handoff done ${runId} again.`);
|
|
139
174
|
else
|
|
140
175
|
return describeRun(root, r, io);
|
|
141
176
|
return r.state === "waiting" ? 1 : 0;
|
|
@@ -143,6 +178,52 @@ async function taskHandoff(root, runId, o, io, deps = {}) {
|
|
|
143
178
|
return fail(io, e);
|
|
144
179
|
}
|
|
145
180
|
}
|
|
181
|
+
async function runDone(root, runId, o, io, deps = {}) {
|
|
182
|
+
if (await isTaskRun(root, runId))
|
|
183
|
+
return taskHandoff(root, runId, {
|
|
184
|
+
...o.by ? { by: o.by } : {},
|
|
185
|
+
...o.approve ? { approve: true } : {},
|
|
186
|
+
...o.json ? { json: true } : {}
|
|
187
|
+
}, io, deps);
|
|
188
|
+
const owner = await findTaskRunOfRun(root, runId);
|
|
189
|
+
if (owner) {
|
|
190
|
+
io.err(taskRunNotWaiting(runId, owner));
|
|
191
|
+
return 1;
|
|
192
|
+
}
|
|
193
|
+
if (await runAgentOf(root, runId) === TASK_RUNNER) {
|
|
194
|
+
io.err(`Run ${runId} was a task run's, and no task run waits on it now: run the task again (atticus task run <change> <task>).`);
|
|
195
|
+
return 1;
|
|
196
|
+
}
|
|
197
|
+
const agent = await runAgentOf(root, runId);
|
|
198
|
+
if (agent === "decide-propose" || agent === "decide-match") {
|
|
199
|
+
const { decideRunDone } = await import("./chunk-EFCQSMXB.js");
|
|
200
|
+
return decideRunDone(root, runId, io);
|
|
201
|
+
}
|
|
202
|
+
return handoffDone(root, runId, io, o.model ? { model: o.model } : {});
|
|
203
|
+
}
|
|
204
|
+
async function runAgentOf(root, runId) {
|
|
205
|
+
if (!/^run-[0-9a-z-]+$/.test(runId))
|
|
206
|
+
return void 0;
|
|
207
|
+
const { readdir } = await import("node:fs/promises");
|
|
208
|
+
const runs = runsDirOf(root);
|
|
209
|
+
for (const change of await readdir(runs).catch(() => [])) {
|
|
210
|
+
const text = await readFile(join(runs, change, runId, "run.json"), "utf8").catch(() => void 0);
|
|
211
|
+
if (!text)
|
|
212
|
+
continue;
|
|
213
|
+
try {
|
|
214
|
+
const a = JSON.parse(text).request?.agent;
|
|
215
|
+
return typeof a === "string" ? a : a?.id;
|
|
216
|
+
} catch {
|
|
217
|
+
return void 0;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
return void 0;
|
|
221
|
+
}
|
|
222
|
+
function taskRunNotWaiting(runId, r) {
|
|
223
|
+
if (r.notes.at(-1)?.startsWith(`Run ${runId} was cancelled`))
|
|
224
|
+
return `Run ${runId} was cancelled; run the task again (atticus task run ${r.change} ${r.task}).`;
|
|
225
|
+
return r.state === "needs-person" ? `Run ${runId} is part of task ${r.task}'s run, which needs a person now: carry on in ${r.worktree}, or run atticus task run ${r.change} ${r.task} again.` : `Run ${runId} is part of task ${r.task}'s run, which is ${r.state} and waits on no run: run the task again (atticus task run ${r.change} ${r.task}).`;
|
|
226
|
+
}
|
|
146
227
|
async function specHandDown(root, changeId, taskId, o, io, deps = {}) {
|
|
147
228
|
if (!changeId || !taskId) {
|
|
148
229
|
io.err("Usage: atticus spec hand-down <change> <task> [--force]");
|
|
@@ -300,6 +381,8 @@ export {
|
|
|
300
381
|
describeRun,
|
|
301
382
|
taskRun,
|
|
302
383
|
taskHandoff,
|
|
384
|
+
runDone,
|
|
385
|
+
taskRunNotWaiting,
|
|
303
386
|
specHandDown,
|
|
304
387
|
specHandUp,
|
|
305
388
|
driftCommand,
|
|
@@ -5,7 +5,7 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
parseFactLine
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PAINMSID.js";
|
|
9
9
|
|
|
10
10
|
// packages/cli/dist/memory-room.js
|
|
11
11
|
import { createReadStream } from "node:fs";
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
releaseNotes,
|
|
16
16
|
securityReview,
|
|
17
17
|
writeEvidencePack
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-36RY7ZXM.js";
|
|
19
19
|
import {
|
|
20
20
|
judgingRuntime
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-F6H2RJ3N.js";
|
|
22
22
|
import {
|
|
23
23
|
changeStore
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HSZMPH5T.js";
|
|
25
25
|
|
|
26
26
|
// packages/cli/dist/release-commands.js
|
|
27
27
|
import { resolve } from "node:path";
|
|
@@ -6,14 +6,14 @@ var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
|
6
6
|
import {
|
|
7
7
|
resumedAttempt,
|
|
8
8
|
stepClassOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QHJJMZLX.js";
|
|
10
10
|
import {
|
|
11
11
|
RUN_SCHEMA_VERSION,
|
|
12
12
|
STEP_CLASSES,
|
|
13
13
|
changesDirOf,
|
|
14
14
|
runsDirOf,
|
|
15
15
|
runsRelOf
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PAINMSID.js";
|
|
17
17
|
|
|
18
18
|
// packages/cli/dist/runs-view.js
|
|
19
19
|
import { createHash } from "node:crypto";
|
|
@@ -86,6 +86,8 @@ async function item(root, s) {
|
|
|
86
86
|
startedAt: r.startedAt,
|
|
87
87
|
...r.finishedAt ? { finishedAt: r.finishedAt } : {},
|
|
88
88
|
...r.request.outputPath ? { output: r.request.outputPath } : {},
|
|
89
|
+
// Third UX walk: a failed run's problems, which its page shows (they were left out).
|
|
90
|
+
errors: r.errors ?? [],
|
|
89
91
|
...r.usage ? { usage: r.usage } : {},
|
|
90
92
|
contextManifestSha256: sha(manifest),
|
|
91
93
|
promptPath: `${runsRelOf(root)}/${r.request.change}/${r.runId}/prompt.md`,
|
|
@@ -97,9 +99,28 @@ async function item(root, s) {
|
|
|
97
99
|
// ADR 0121 addendum: the kind of step and the model that ran it. A run kept before either
|
|
98
100
|
// was recorded is given its kind from its agent; its model stays unsaid.
|
|
99
101
|
...classOf(r) ? { stepClass: classOf(r) } : {},
|
|
100
|
-
...r.model ? { model: r.model } : {}
|
|
102
|
+
...r.model ? { model: r.model } : {},
|
|
103
|
+
// ADR 0185: the batched hand-off a lens was asked in, or a batch's lenses and where each is.
|
|
104
|
+
...r.batch ? { batch: r.batch } : {},
|
|
105
|
+
...r.parts?.length ? { parts: await partStates(root, r.request.change, r.parts) } : {}
|
|
101
106
|
};
|
|
102
107
|
}
|
|
108
|
+
async function partStates(root, change, parts) {
|
|
109
|
+
return Promise.all(parts.map(async (p) => {
|
|
110
|
+
const text = RUN_ID.test(p.runId) ? await readFile(join(runsDirOf(root), change, p.runId, "run.json"), "utf8").catch(() => void 0) : void 0;
|
|
111
|
+
let state;
|
|
112
|
+
try {
|
|
113
|
+
state = text ? JSON.parse(text).state : void 0;
|
|
114
|
+
} catch {
|
|
115
|
+
state = void 0;
|
|
116
|
+
}
|
|
117
|
+
return {
|
|
118
|
+
name: p.name,
|
|
119
|
+
runId: p.runId,
|
|
120
|
+
...state ? { state } : {}
|
|
121
|
+
};
|
|
122
|
+
}));
|
|
123
|
+
}
|
|
103
124
|
function classOf(r) {
|
|
104
125
|
if (r.stepClass && STEP_CLASSES.includes(r.stepClass))
|
|
105
126
|
return r.stepClass;
|
|
@@ -159,6 +180,7 @@ async function runTranscript(root, runId) {
|
|
|
159
180
|
}
|
|
160
181
|
|
|
161
182
|
export {
|
|
183
|
+
partStates,
|
|
162
184
|
listRuns,
|
|
163
185
|
runTranscript
|
|
164
186
|
};
|
|
@@ -0,0 +1,99 @@
|
|
|
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
|
+
AUDIENCES,
|
|
8
|
+
MEASURABLE,
|
|
9
|
+
OUTCOMES_FILE,
|
|
10
|
+
REQUESTS_FILE,
|
|
11
|
+
ReleaseError,
|
|
12
|
+
breakingItem,
|
|
13
|
+
buildModel,
|
|
14
|
+
changeFiles,
|
|
15
|
+
classOf,
|
|
16
|
+
deploymentPlan,
|
|
17
|
+
estimateChange,
|
|
18
|
+
evidencePack,
|
|
19
|
+
findMeasure,
|
|
20
|
+
hasWord,
|
|
21
|
+
judgedFor,
|
|
22
|
+
loadRelease,
|
|
23
|
+
measureId,
|
|
24
|
+
measuresOf,
|
|
25
|
+
opOf,
|
|
26
|
+
outcomesView,
|
|
27
|
+
pathKey,
|
|
28
|
+
readOutcomes,
|
|
29
|
+
readServiceRequests,
|
|
30
|
+
recordOutcome,
|
|
31
|
+
releaseForecast,
|
|
32
|
+
releaseNotes,
|
|
33
|
+
secretItem,
|
|
34
|
+
sectionOf,
|
|
35
|
+
sectionsOf,
|
|
36
|
+
securityReview,
|
|
37
|
+
sentences,
|
|
38
|
+
sortStrings,
|
|
39
|
+
undoesItem,
|
|
40
|
+
writeEvidencePack
|
|
41
|
+
} from "./chunk-36RY7ZXM.js";
|
|
42
|
+
import "./chunk-2V2ZPQQU.js";
|
|
43
|
+
import "./chunk-EZIN5E5B.js";
|
|
44
|
+
import "./chunk-3LZ6P5EP.js";
|
|
45
|
+
import "./chunk-BEPCKDCP.js";
|
|
46
|
+
import "./chunk-HWD4JPU7.js";
|
|
47
|
+
import "./chunk-5WERBKLE.js";
|
|
48
|
+
import "./chunk-K332XW7K.js";
|
|
49
|
+
import "./chunk-HSZMPH5T.js";
|
|
50
|
+
import "./chunk-D2WSW4GU.js";
|
|
51
|
+
import "./chunk-4KNOJC6J.js";
|
|
52
|
+
import "./chunk-4SLBCEPD.js";
|
|
53
|
+
import "./chunk-64AADMTW.js";
|
|
54
|
+
import "./chunk-JYMIB5XY.js";
|
|
55
|
+
import "./chunk-CPK7QSBG.js";
|
|
56
|
+
import "./chunk-YO2PKTXT.js";
|
|
57
|
+
import "./chunk-TWQRPM76.js";
|
|
58
|
+
import "./chunk-XOL3GFW2.js";
|
|
59
|
+
import "./chunk-QHJJMZLX.js";
|
|
60
|
+
import "./chunk-7AB6OWTV.js";
|
|
61
|
+
import "./chunk-PAINMSID.js";
|
|
62
|
+
import "./chunk-ODMBPDDV.js";
|
|
63
|
+
import "./chunk-TV45EUGM.js";
|
|
64
|
+
export {
|
|
65
|
+
AUDIENCES,
|
|
66
|
+
MEASURABLE,
|
|
67
|
+
OUTCOMES_FILE,
|
|
68
|
+
REQUESTS_FILE,
|
|
69
|
+
ReleaseError,
|
|
70
|
+
breakingItem,
|
|
71
|
+
buildModel,
|
|
72
|
+
changeFiles,
|
|
73
|
+
classOf,
|
|
74
|
+
deploymentPlan,
|
|
75
|
+
estimateChange,
|
|
76
|
+
evidencePack,
|
|
77
|
+
findMeasure,
|
|
78
|
+
hasWord,
|
|
79
|
+
judgedFor,
|
|
80
|
+
loadRelease,
|
|
81
|
+
measureId,
|
|
82
|
+
measuresOf,
|
|
83
|
+
opOf,
|
|
84
|
+
outcomesView,
|
|
85
|
+
pathKey,
|
|
86
|
+
readOutcomes,
|
|
87
|
+
readServiceRequests,
|
|
88
|
+
recordOutcome,
|
|
89
|
+
releaseForecast,
|
|
90
|
+
releaseNotes,
|
|
91
|
+
secretItem,
|
|
92
|
+
sectionOf,
|
|
93
|
+
sectionsOf,
|
|
94
|
+
securityReview,
|
|
95
|
+
sentences,
|
|
96
|
+
sortStrings,
|
|
97
|
+
undoesItem,
|
|
98
|
+
writeEvidencePack
|
|
99
|
+
};
|
|
@@ -6,13 +6,13 @@ var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
|
6
6
|
import {
|
|
7
7
|
openIndex,
|
|
8
8
|
searchIndex
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-5WERBKLE.js";
|
|
10
|
+
import "./chunk-QHJJMZLX.js";
|
|
11
11
|
import {
|
|
12
12
|
changesDirOf,
|
|
13
13
|
require_dist
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-PAINMSID.js";
|
|
15
|
+
import "./chunk-ODMBPDDV.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
18
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -118,7 +118,7 @@ async function pastChangeMarkdown(root, folder) {
|
|
|
118
118
|
`;
|
|
119
119
|
}
|
|
120
120
|
async function attachPastChange(root, change, folder, by, now = /* @__PURE__ */ new Date()) {
|
|
121
|
-
const { attachFiles } = await import("./chunk-
|
|
121
|
+
const { attachFiles } = await import("./chunk-XQ3YZ4QW.js");
|
|
122
122
|
const name = `like-${folder.replace(DATED, "$2")}.md`;
|
|
123
123
|
await attachFiles(root, change, [{ name, bytes: new TextEncoder().encode(await pastChangeMarkdown(root, folder)) }], by, now);
|
|
124
124
|
return name;
|