@maycombhq/atticus 2.0.0-beta.2 → 2.0.0-beta.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +8 -4
- package/dist/chunk-23XVSEV5.js +49 -0
- package/dist/{chunk-ZDPAS56H.js → chunk-24OXGB3P.js} +8 -2
- package/dist/{chunk-7EOBHUMC.js → chunk-24XLDU72.js} +4 -3
- package/dist/{chunk-CR3MTH32.js → chunk-2F4CYZKJ.js} +86 -11
- package/dist/{chunk-6IU67AEK.js → chunk-2GF7OLF3.js} +23 -15
- package/dist/chunk-2IIMFOPM.js +41 -0
- package/dist/chunk-2LGRMVCA.js +617 -0
- package/dist/{chunk-XPCM366L.js → chunk-2MMCFP5C.js} +10 -8
- package/dist/{chunk-JBTK5OP2.js → chunk-2Q56PQPS.js} +6 -4
- package/dist/{chunk-Z6LF7HQN.js → chunk-2Q5EDGEO.js} +7 -5
- package/dist/{chunk-3USYZGRF.js → chunk-2RLKFUUL.js} +38 -27
- package/dist/chunk-2SKB4O2E.js +59 -0
- package/dist/{chunk-SP2I63OO.js → chunk-34S2WGOB.js} +87 -4
- package/dist/{chunk-GQ4N4WKF.js → chunk-3NFFJL5D.js} +33 -27
- package/dist/{chunk-SJRGMG6A.js → chunk-3NWDLGG6.js} +28 -25
- package/dist/{chunk-4WBVUHXN.js → chunk-3RM4UK6W.js} +20 -18
- package/dist/chunk-42SIDKEU.js +583 -0
- package/dist/{chunk-GLUX4EEP.js → chunk-4EURQWQD.js} +20 -15
- package/dist/chunk-4U276ICE.js +39 -0
- package/dist/{chunk-ZMFPW66A.js → chunk-53T4O55J.js} +4 -3
- package/dist/{chunk-6J5OKA4Y.js → chunk-57TDNMI3.js} +17 -15
- package/dist/chunk-5BD2KYLE.js +57 -0
- package/dist/{chunk-7EFILTCI.js → chunk-5F7GFN2F.js} +28 -0
- package/dist/chunk-5NMKONLP.js +95 -0
- package/dist/{chunk-7ZUIMTOU.js → chunk-5SJZW52K.js} +26 -24
- package/dist/{chunk-4RS5KZQD.js → chunk-63YRMR6J.js} +6 -5
- package/dist/chunk-66PPNOON.js +62 -0
- package/dist/chunk-6H3Z5JHH.js +64 -0
- package/dist/{chunk-CEXSU4S6.js → chunk-6MUGR4LS.js} +775 -89
- package/dist/{chunk-QSXK2RGH.js → chunk-6OJQOPUN.js} +5 -3
- package/dist/{chunk-MVZVGYXH.js → chunk-6PPOWY5E.js} +84 -14
- package/dist/{chunk-7EKXJZ2Y.js → chunk-6ZGLAACW.js} +299 -38
- package/dist/chunk-6ZJ5A7AF.js +222 -0
- package/dist/{chunk-L24C55VN.js → chunk-745DAZ4L.js} +142 -30
- package/dist/{chunk-Q4D5X7QB.js → chunk-7ASNL4Q4.js} +46 -24
- package/dist/chunk-7BR7IPOH.js +35 -0
- package/dist/{chunk-7WD63HU2.js → chunk-7DOR27HL.js} +6 -6
- package/dist/chunk-7FTTA3HD.js +341 -0
- package/dist/{chunk-OLQJTJJU.js → chunk-7GJS6DNX.js} +12 -3
- package/dist/{chunk-7JUKDRSZ.js → chunk-7IGKHZ4Z.js} +347 -226
- package/dist/{chunk-G2B4ZQGH.js → chunk-7IOWA5D5.js} +11 -6
- package/dist/{chunk-EBEW3XXQ.js → chunk-7JITZFJC.js} +7 -5
- package/dist/chunk-7MJSQTL5.js +174 -0
- package/dist/{chunk-I4JRCD6M.js → chunk-7UOMVMFG.js} +25 -17
- package/dist/{chunk-YY6ZQQBP.js → chunk-AFWUDXEM.js} +19 -7
- package/dist/chunk-AFZ3QA6W.js +47 -0
- package/dist/chunk-AJQ72EBM.js +420 -0
- package/dist/chunk-AJYXNTNZ.js +317 -0
- package/dist/chunk-AVTBS4OW.js +49 -0
- package/dist/{chunk-FHH4I4ZV.js → chunk-BDKC6H5P.js} +12 -6
- package/dist/{chunk-IPKHE5D6.js → chunk-BEVTIBRH.js} +1526 -875
- package/dist/chunk-BHT7QK4G.js +162 -0
- package/dist/{chunk-6JUBZBMW.js → chunk-BIGDQDHD.js} +6 -4
- package/dist/{chunk-2BFCZ3RK.js → chunk-BO4KX37X.js} +20 -18
- package/dist/chunk-BPK5P77O.js +115 -0
- package/dist/chunk-BQ4SQQC6.js +59 -0
- package/dist/chunk-BQGDB6ZL.js +7342 -0
- package/dist/{chunk-2ANOROX3.js → chunk-BTGPE6CR.js} +11 -9
- package/dist/chunk-BTY3HZBO.js +93 -0
- package/dist/{chunk-DPZHZQKE.js → chunk-BXYMYEJ4.js} +44 -10
- package/dist/{chunk-2RMYG36Q.js → chunk-C3RY6KU6.js} +309 -346
- package/dist/chunk-C4R4JLHE.js +40 -0
- package/dist/chunk-CADWLE2T.js +18 -0
- package/dist/chunk-CBGGOQWU.js +82 -0
- package/dist/chunk-CMDXGQTS.js +47 -0
- package/dist/{chunk-MC3H7736.js → chunk-CQDGOPGH.js} +58 -18
- package/dist/{chunk-HFQCFSJR.js → chunk-CX4RZ2KS.js} +4 -3
- package/dist/{chunk-PAMPPUR6.js → chunk-CXJ6FUKN.js} +1852 -207
- package/dist/{chunk-ABWHYWNI.js → chunk-D73UEXYW.js} +3 -3
- package/dist/chunk-DCZWQLYT.js +1205 -0
- package/dist/chunk-DLOBCJL6.js +48 -0
- package/dist/{chunk-4BN53TG3.js → chunk-DOBQKHIF.js} +31 -23
- package/dist/chunk-E3ISYXO3.js +423 -0
- package/dist/{chunk-7SW2QWLU.js → chunk-E6ZIEVOI.js} +16 -13
- package/dist/chunk-EBL2R3YG.js +43 -0
- package/dist/{chunk-AIOQPLA5.js → chunk-EGQRREQH.js} +41 -15
- package/dist/chunk-EHA7RMZ3.js +58 -0
- package/dist/{chunk-M766ZJ6W.js → chunk-EIPTLPFC.js} +38 -27
- package/dist/chunk-EMRIQUND.js +517 -0
- package/dist/{chunk-DFBCSHVT.js → chunk-EPCJQQWD.js} +6 -4
- package/dist/{chunk-RZPYKDWS.js → chunk-F3P7N7SF.js} +1 -1
- package/dist/{chunk-R77KLRB3.js → chunk-FFLNS6VP.js} +21 -18
- package/dist/chunk-FFTRTL6R.js +26 -0
- package/dist/{chunk-IHMLFRVV.js → chunk-FPJPLKDW.js} +62 -16
- package/dist/{chunk-JCZIKA4C.js → chunk-FSMSFDLD.js} +5 -4
- package/dist/{chunk-AVJDSJ2F.js → chunk-FUJM6RTF.js} +8 -7
- package/dist/chunk-FZOJFH7Q.js +132 -0
- package/dist/{chunk-QRAOANID.js → chunk-G6X77UJZ.js} +23 -21
- package/dist/{chunk-3ALD2W2A.js → chunk-GCWRWSU7.js} +10 -4
- package/dist/chunk-GIW4ZVDB.js +39 -0
- package/dist/{chunk-B2WLAWNJ.js → chunk-GUX3PTYM.js} +3 -3
- package/dist/{chunk-DPUYDDQG.js → chunk-GZY6RUZ6.js} +25 -3
- package/dist/chunk-H4VO6WG3.js +10 -0
- package/dist/{chunk-MMOSZPWJ.js → chunk-H5HBGNXU.js} +5 -4
- package/dist/chunk-H7KM7LZE.js +229 -0
- package/dist/{chunk-AA6YULYB.js → chunk-HNM2YQT2.js} +7 -7
- package/dist/{chunk-3C7EYRFZ.js → chunk-HYU5VLGA.js} +1 -1
- package/dist/{chunk-XY3P7JW7.js → chunk-IDKCWSM5.js} +1032 -172
- package/dist/chunk-IFKEI4SA.js +237 -0
- package/dist/{chunk-F7HYOUFF.js → chunk-IGOE6KPG.js} +67 -22
- package/dist/{chunk-TDD55CJH.js → chunk-IH2XURVQ.js} +6 -5
- package/dist/chunk-INQHESFB.js +38 -0
- package/dist/chunk-IP74LCOQ.js +57 -0
- package/dist/chunk-IPHHDDC6.js +45 -0
- package/dist/{chunk-T6AIP7H5.js → chunk-ISUAAMGS.js} +110 -153
- package/dist/{chunk-A7UPUQFY.js → chunk-IUPG3UKI.js} +624 -319
- package/dist/{chunk-L6SGQIR3.js → chunk-IVBOQAGB.js} +7 -3
- package/dist/{chunk-27NKUS3X.js → chunk-J2JAKCIW.js} +2205 -796
- package/dist/{chunk-V2YTAIQO.js → chunk-J3IOLXWM.js} +24 -7
- package/dist/chunk-JA5FI3QV.js +142 -0
- package/dist/chunk-JAVI7JSP.js +49 -0
- package/dist/{chunk-HLJAXMM4.js → chunk-JB5LINEM.js} +6 -2
- package/dist/{chunk-2VHF7OXM.js → chunk-JENSEMXF.js} +1 -1
- package/dist/{chunk-6BVONWJ7.js → chunk-JJF6HALY.js} +4 -3
- package/dist/chunk-JLUCKAEL.js +38 -0
- package/dist/chunk-JRBFANFE.js +221 -0
- package/dist/{chunk-R6XF6UR3.js → chunk-KDNTAPLX.js} +4 -4
- package/dist/chunk-KFAVQZSX.js +33 -0
- package/dist/chunk-KJXD4PNL.js +50 -0
- package/dist/chunk-KN5BXMWN.js +44 -0
- package/dist/{chunk-PCVDV3UZ.js → chunk-KQGURXFU.js} +9 -7
- package/dist/{chunk-WY6PP6AA.js → chunk-KXITGYLF.js} +40 -6
- package/dist/{chunk-66YVAGGM.js → chunk-L27SV425.js} +22 -20
- package/dist/{chunk-NE2W3OO7.js → chunk-LDLL7LB3.js} +24 -22
- package/dist/chunk-LFGTYX5U.js +379 -0
- package/dist/{chunk-EYWIDJFU.js → chunk-LGBMTVNT.js} +7 -5
- package/dist/{chunk-Q5AMFEWD.js → chunk-LGFL54FP.js} +3 -2
- package/dist/{chunk-6TACQN3N.js → chunk-LJXMYKZJ.js} +7 -5
- package/dist/{chunk-BKVWTZ6A.js → chunk-LKOR5UET.js} +29 -26
- package/dist/chunk-LNBQOP7D.js +294 -0
- package/dist/{chunk-O3WI5KWW.js → chunk-LO6P2VYG.js} +2 -2
- package/dist/chunk-LQJPN536.js +122 -0
- package/dist/{chunk-YEDDOYSC.js → chunk-LYBNHMVZ.js} +29 -5
- package/dist/{chunk-A3GY6SOA.js → chunk-LZ7NUC62.js} +20 -18
- package/dist/chunk-M32BLWDH.js +37 -0
- package/dist/{chunk-VYDBJ73M.js → chunk-M3NANSDZ.js} +17 -15
- package/dist/chunk-MFHL5URL.js +31 -0
- package/dist/chunk-MFR5OPBD.js +109 -0
- package/dist/{chunk-DE76JROX.js → chunk-MG4ZL5RW.js} +32 -20
- package/dist/{chunk-N7IXEHK3.js → chunk-MO6P2JZH.js} +10 -8
- package/dist/{chunk-65NYPGRC.js → chunk-MUWDB4R4.js} +1 -1
- package/dist/chunk-MZCGSXVR.js +34 -0
- package/dist/{chunk-MGYZM27B.js → chunk-N3XIYPU3.js} +51 -23
- package/dist/chunk-NDCF4R6S.js +172 -0
- package/dist/{chunk-DHPACDG7.js → chunk-NR2UJWOC.js} +10 -8
- package/dist/chunk-NXJ5URP6.js +51 -0
- package/dist/{chunk-UNM6ZOKP.js → chunk-NY2XSR5K.js} +147 -18
- package/dist/{chunk-5GDRCDQB.js → chunk-O45HFTFS.js} +3 -2
- package/dist/{chunk-ONLS5QA5.js → chunk-O4GXGGBX.js} +14 -12
- package/dist/chunk-O5PXQR67.js +249 -0
- package/dist/{chunk-PRPPGYZG.js → chunk-O66DM6DJ.js} +6 -4
- package/dist/{chunk-KEM4SDDP.js → chunk-O7FDLW7L.js} +11 -8
- package/dist/{chunk-T2UYZSCQ.js → chunk-O7XLYEFA.js} +169 -29
- package/dist/{chunk-FITWGOJ2.js → chunk-OHNCWBKF.js} +4 -4
- package/dist/{chunk-652QWTLZ.js → chunk-OHVTTOPS.js} +3 -3
- package/dist/chunk-OMI6FPPN.js +43 -0
- package/dist/chunk-ONUPY3H6.js +53 -0
- package/dist/chunk-OTLDSZDV.js +69 -0
- package/dist/chunk-OUBGGKDU.js +22 -0
- package/dist/chunk-OWNCM4ZN.js +330 -0
- package/dist/{chunk-YISXLPHN.js → chunk-P2V7QW4D.js} +235 -35
- package/dist/{chunk-CNUKCS2T.js → chunk-P32RUW3B.js} +1632 -93
- package/dist/{chunk-BWZ77RQT.js → chunk-PAQ2AS5E.js} +1 -1
- package/dist/{chunk-ZMAINWBW.js → chunk-PBPBMP2B.js} +4 -3
- package/dist/{chunk-ZVM6AKKM.js → chunk-PJSJPMJI.js} +3 -3
- package/dist/{chunk-EFHQ3TWP.js → chunk-PKBHS4AA.js} +233 -56
- package/dist/{chunk-GT4I4ZWM.js → chunk-PMUAJGLI.js} +20 -16
- package/dist/chunk-PPD7HTDP.js +152 -0
- package/dist/chunk-PSOFBQWB.js +42 -0
- package/dist/{chunk-S2A7YC3Q.js → chunk-Q2TECDIT.js} +10694 -8896
- package/dist/chunk-Q4K5WB2W.js +42 -0
- package/dist/{chunk-UGLN7QHV.js → chunk-Q6DFNVRJ.js} +14 -12
- package/dist/chunk-QA4O2GGC.js +265 -0
- package/dist/chunk-QAXW2N3B.js +1216 -0
- package/dist/chunk-QBNWF5ZU.js +19 -0
- package/dist/chunk-QFWA2DPH.js +224 -0
- package/dist/{chunk-23W7VWKR.js → chunk-QKUJMING.js} +1363 -114
- package/dist/{chunk-NXFPS2LR.js → chunk-R44CYFPV.js} +16 -13
- package/dist/{chunk-CKSITVS4.js → chunk-R7NYHMUU.js} +2687 -786
- package/dist/chunk-REWWDVQB.js +162 -0
- package/dist/{chunk-JMSCMUCA.js → chunk-RGERPOIV.js} +145 -21
- package/dist/{chunk-6JCPI55B.js → chunk-RLDGWLQ7.js} +49 -7
- package/dist/chunk-RUGXBPWI.js +384 -0
- package/dist/{chunk-CPA6HPVR.js → chunk-RXPJMEOW.js} +18 -12
- package/dist/{chunk-3HI6Z55Y.js → chunk-S4PMJU6H.js} +339 -43
- package/dist/chunk-S5LSDXV4.js +40 -0
- package/dist/chunk-S7FCV7S5.js +51 -0
- package/dist/{chunk-5GGOLAKC.js → chunk-SDKLKB6I.js} +28 -26
- package/dist/chunk-SFSPGFCV.js +62 -0
- package/dist/{chunk-ZNCEKR4J.js → chunk-SFUP7TTO.js} +12 -8
- package/dist/{chunk-64EQYWCA.js → chunk-SLXZOMA6.js} +69 -19
- package/dist/chunk-SQV37XO2.js +273 -0
- package/dist/{chunk-K65BJIMT.js → chunk-SU74NDMQ.js} +19 -17
- package/dist/chunk-SYV5LHML.js +165 -0
- package/dist/chunk-T4YPZIQN.js +36 -0
- package/dist/chunk-T6DQR5TV.js +323 -0
- package/dist/{chunk-JIITQXFB.js → chunk-THDMSZ3R.js} +3075 -802
- package/dist/{chunk-JGZCG5VM.js → chunk-TNR75OXT.js} +7 -7
- package/dist/{chunk-D3PO4DOZ.js → chunk-TUULXQRW.js} +174 -15
- package/dist/chunk-TYQBFTBR.js +516 -0
- package/dist/chunk-U76OWS3Q.js +49 -0
- package/dist/{chunk-YYQN46FY.js → chunk-UCROWG2D.js} +27 -24
- package/dist/{chunk-6M5NK3K3.js → chunk-UF4AZOZB.js} +50 -10
- package/dist/chunk-UF4GLFBX.js +345 -0
- package/dist/{chunk-OT2O76OS.js → chunk-UGUP3ZM6.js} +240 -39
- package/dist/chunk-UNAGJYET.js +45 -0
- package/dist/{chunk-5WG5YP4T.js → chunk-UOR2DTHH.js} +16 -14
- package/dist/{chunk-S3QNRWYR.js → chunk-UPOY4YSQ.js} +14 -12
- package/dist/{chunk-EPTBZ3GP.js → chunk-UPS2DGFC.js} +1 -1
- package/dist/{chunk-4AK7IBVP.js → chunk-UUU4CLJG.js} +4 -2
- package/dist/{chunk-W3BQAZ3Q.js → chunk-UWMJKX5U.js} +14 -12
- package/dist/{chunk-QZSX3F7C.js → chunk-UWOJLHFT.js} +27 -23
- package/dist/chunk-VBTP56CE.js +535 -0
- package/dist/chunk-VCTWPLAO.js +211 -0
- package/dist/chunk-VNU26RCO.js +1215 -0
- package/dist/{chunk-CSZ4C5N6.js → chunk-VTZMAJ3W.js} +93 -10
- package/dist/{chunk-TXLH6WHQ.js → chunk-VW62D6QE.js} +14 -12
- package/dist/{chunk-CAQZUNOH.js → chunk-VY72R2XZ.js} +610 -3
- package/dist/{chunk-2DIQQJCB.js → chunk-VZALIKIF.js} +18 -15
- package/dist/{chunk-TYAID7B7.js → chunk-W62H2XSO.js} +25 -23
- package/dist/{chunk-HVUPKCGJ.js → chunk-W7VWI2YH.js} +9 -6
- package/dist/{chunk-TANFV3MZ.js → chunk-WERM6KPJ.js} +7 -4
- package/dist/{chunk-BOHJZTEQ.js → chunk-WF7B67YE.js} +208 -87
- package/dist/{chunk-7FBGJFEE.js → chunk-WG5U3F5V.js} +14 -12
- package/dist/{chunk-4NDAAFQT.js → chunk-WJF2CS6M.js} +8 -5
- package/dist/{chunk-XAKWMCXI.js → chunk-WKUJ3KPV.js} +4 -4
- package/dist/chunk-WMTRHUI5.js +103 -0
- package/dist/chunk-WNKPRSGI.js +36 -0
- package/dist/chunk-WXFLMQSR.js +223 -0
- package/dist/{chunk-RRTKKSLQ.js → chunk-X3WY6MN3.js} +8 -6
- package/dist/{chunk-ZCJDOK2S.js → chunk-X4CXA2IL.js} +47 -23
- package/dist/{chunk-UBBC2XSG.js → chunk-X5F3Q5LV.js} +560 -105
- package/dist/{chunk-C6EKFH7J.js → chunk-XD75VZIH.js} +9 -7
- package/dist/chunk-XERYFDB5.js +297 -0
- package/dist/chunk-XI2LCCYQ.js +420 -0
- package/dist/chunk-Y2EQNWKV.js +933 -0
- package/dist/{chunk-LR3R6Z2A.js → chunk-YHCMZC2J.js} +7 -7
- package/dist/chunk-YYY3AZFE.js +122 -0
- package/dist/{chunk-GDLULHTC.js → chunk-Z5IA3WDR.js} +19 -31
- package/dist/{chunk-T6XQL73F.js → chunk-ZFFYNRIO.js} +63 -23
- package/dist/{chunk-EDS2L2LD.js → chunk-ZFL7NY4F.js} +56 -27
- package/dist/{chunk-YMZ3TNYB.js → chunk-ZGULQAPZ.js} +7 -4
- package/dist/{chunk-4SKZDI62.js → chunk-ZIUFM5HT.js} +3 -1
- package/dist/{chunk-DKJA76CJ.js → chunk-ZJFRMSJT.js} +15 -13
- package/dist/chunk-ZJXLNDH4.js +239 -0
- package/dist/chunk-ZQ3ON2VQ.js +252 -0
- package/dist/{chunk-HITVBIJS.js → chunk-ZQ7SKESZ.js} +150 -415
- package/dist/{chunk-6QSERWXH.js → chunk-ZQXZ2SES.js} +24 -21
- package/dist/chunk-ZX57KSEQ.js +39 -0
- package/dist/{chunk-I3E7CX4H.js → chunk-ZZK56BLP.js} +5 -3
- package/dist/files.json +664 -368
- package/dist/packages/naysayer/constitution/constitution.yaml +19 -0
- package/dist/packages/sdk/npm/index.js +6194 -2542
- package/dist/packages/ui/dist/assets/{elk-api-tma0MCuh.js → elk-api-CIf-0gz5.js} +2 -2
- package/dist/packages/ui/dist/assets/index-CoK_Dl0D.js +47 -0
- package/dist/packages/ui/dist/assets/index-Dw20IRhQ.css +1 -0
- package/dist/packages/ui/dist/index.html +3 -2
- package/package.json +5 -5
- package/dist/chunk-2BF2EYJV.js +0 -174
- package/dist/chunk-42EVSKME.js +0 -37
- package/dist/chunk-4BKGMUIK.js +0 -53
- package/dist/chunk-5KLGBXG5.js +0 -48
- package/dist/chunk-6BNC6EQ4.js +0 -41
- package/dist/chunk-6D2CQ5II.js +0 -41
- package/dist/chunk-7AVHLZGD.js +0 -45
- package/dist/chunk-D46WUV3T.js +0 -33
- package/dist/chunk-E36QOJMD.js +0 -47
- package/dist/chunk-FQXYPF7E.js +0 -147
- package/dist/chunk-GBRFVT63.js +0 -45
- package/dist/chunk-ICY36XCH.js +0 -34
- package/dist/chunk-J4K3KVLD.js +0 -131
- package/dist/chunk-JZU3H6UQ.js +0 -54
- package/dist/chunk-NN2ZQEB4.js +0 -38
- package/dist/chunk-PCOCACY3.js +0 -385
- package/dist/chunk-RTEYOSJY.js +0 -29
- package/dist/chunk-RUVFXE2L.js +0 -666
- package/dist/chunk-RVH5SUW5.js +0 -69
- package/dist/chunk-VN3DP4LQ.js +0 -43
- package/dist/chunk-W5BVQF44.js +0 -36
- package/dist/chunk-WVPJSRRJ.js +0 -52
- package/dist/chunk-XPTOBS2D.js +0 -48
- package/dist/packages/ui/dist/assets/index-B54fm9FQ.js +0 -29
- package/dist/packages/ui/dist/assets/index-DD_hufQz.css +0 -1
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
generateAssistantFiles,
|
|
12
12
|
parseHeader,
|
|
13
13
|
writeAssistantFiles
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BEVTIBRH.js";
|
|
15
15
|
import {
|
|
16
16
|
CONSTITUTION_FILE_LABEL,
|
|
17
17
|
buildContext,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
sectionMatching,
|
|
34
34
|
toFinding,
|
|
35
35
|
writeFinding
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-S4PMJU6H.js";
|
|
37
37
|
import {
|
|
38
38
|
changeFolder,
|
|
39
39
|
changeFootprint,
|
|
@@ -41,10 +41,13 @@ import {
|
|
|
41
41
|
changeTypeOf,
|
|
42
42
|
loadChangeContext,
|
|
43
43
|
referenceMetarepoIn
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-IDKCWSM5.js";
|
|
45
45
|
import {
|
|
46
46
|
readSpecKitFeatures
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-CQDGOPGH.js";
|
|
48
|
+
import {
|
|
49
|
+
fsRepo
|
|
50
|
+
} from "./chunk-3NFFJL5D.js";
|
|
48
51
|
import {
|
|
49
52
|
baseClonePath,
|
|
50
53
|
changeWorktreesDir,
|
|
@@ -52,14 +55,11 @@ import {
|
|
|
52
55
|
loadRepos,
|
|
53
56
|
readChangeRepos,
|
|
54
57
|
toRepoRelative
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import {
|
|
57
|
-
fsRepo
|
|
58
|
-
} from "./chunk-GQ4N4WKF.js";
|
|
58
|
+
} from "./chunk-PKBHS4AA.js";
|
|
59
59
|
import {
|
|
60
60
|
buildContextPack,
|
|
61
61
|
toRunSummary
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-P32RUW3B.js";
|
|
63
63
|
import {
|
|
64
64
|
ChecklistPack,
|
|
65
65
|
Finding,
|
|
@@ -68,13 +68,16 @@ import {
|
|
|
68
68
|
changesRelOf,
|
|
69
69
|
normalizePath,
|
|
70
70
|
orgPackDirOf,
|
|
71
|
-
require_dist,
|
|
72
71
|
taskBranch,
|
|
73
72
|
toCanonicalYaml
|
|
74
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-Q2TECDIT.js";
|
|
75
74
|
import {
|
|
75
|
+
renameRetrying,
|
|
76
76
|
writeFileAtomic
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-TUULXQRW.js";
|
|
78
|
+
import {
|
|
79
|
+
require_dist
|
|
80
|
+
} from "./chunk-BQGDB6ZL.js";
|
|
78
81
|
import {
|
|
79
82
|
__toESM
|
|
80
83
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -114,7 +117,8 @@ function readChangeTasks(files) {
|
|
|
114
117
|
title: rest.replace(/\s*\((?:story|stories)\b[^)]*\)\s*$/i, "").trim(),
|
|
115
118
|
stories,
|
|
116
119
|
line: i + 1,
|
|
117
|
-
done: m[2].toLowerCase() === "x"
|
|
120
|
+
done: m[2].toLowerCase() === "x",
|
|
121
|
+
.../(^|\s)\[P\](\s|$)/.test(rest) ? { parallel: true } : {}
|
|
118
122
|
});
|
|
119
123
|
});
|
|
120
124
|
return out;
|
|
@@ -128,10 +132,34 @@ async function markTaskDone(root, changeId, task) {
|
|
|
128
132
|
return false;
|
|
129
133
|
if (m[2].toLowerCase() === "x")
|
|
130
134
|
return false;
|
|
131
|
-
lines[task.line - 1] =
|
|
135
|
+
lines[task.line - 1] = `${m[1]}x${m[3]}${m[4]} ${m[5]}${l.endsWith("\r") ? "\r" : ""}`;
|
|
132
136
|
await writeFileAtomic(path, lines.join("\n"));
|
|
133
137
|
return true;
|
|
134
138
|
}
|
|
139
|
+
async function setTaskDone(root, changeId, taskId, done) {
|
|
140
|
+
const path = join(changeFolder(root, changeId), "tasks.md");
|
|
141
|
+
const text = await readFile(path, "utf8").catch(() => void 0);
|
|
142
|
+
if (text === void 0)
|
|
143
|
+
return false;
|
|
144
|
+
const lines = text.split("\n");
|
|
145
|
+
let repo = false;
|
|
146
|
+
for (const [i, l] of lines.entries()) {
|
|
147
|
+
if (/^##\s+\S/.test(l)) {
|
|
148
|
+
repo = true;
|
|
149
|
+
continue;
|
|
150
|
+
}
|
|
151
|
+
const m = repo ? TASK_LINE.exec(l.replace(/\r$/, "")) : null;
|
|
152
|
+
if (!m || m[4].toLowerCase() !== taskId.toLowerCase())
|
|
153
|
+
continue;
|
|
154
|
+
if (m[2].toLowerCase() === "x" === done)
|
|
155
|
+
return false;
|
|
156
|
+
const at = m[1].length;
|
|
157
|
+
lines[i] = `${l.slice(0, at)}${done ? "x" : " "}${l.slice(at + m[2].length)}`;
|
|
158
|
+
await writeFileAtomic(path, lines.join("\n"));
|
|
159
|
+
return true;
|
|
160
|
+
}
|
|
161
|
+
return false;
|
|
162
|
+
}
|
|
135
163
|
function readStory(files, id) {
|
|
136
164
|
const doc = files.docs.get(`stories/${id}.md`);
|
|
137
165
|
if (!doc)
|
|
@@ -226,7 +254,7 @@ function mappingSections(doc) {
|
|
|
226
254
|
}
|
|
227
255
|
|
|
228
256
|
// packages/speckit/dist/handdown.js
|
|
229
|
-
import { mkdir, readFile as readFile2,
|
|
257
|
+
import { mkdir, readFile as readFile2, rm, writeFile } from "node:fs/promises";
|
|
230
258
|
import { dirname, join as join3 } from "node:path";
|
|
231
259
|
|
|
232
260
|
// packages/speckit/dist/constitution.js
|
|
@@ -399,6 +427,24 @@ function repoData(t) {
|
|
|
399
427
|
function contractFile(t) {
|
|
400
428
|
return `contracts/${t.component}.yaml`;
|
|
401
429
|
}
|
|
430
|
+
function designSummary(t) {
|
|
431
|
+
const design = docOf(t.files, "design.md");
|
|
432
|
+
const body = (s, from = s.line) => design.rawLines.slice(from, s.end).join("\n").trim();
|
|
433
|
+
const approach = sectionMatching(design, /^approach$/i);
|
|
434
|
+
if (design && approach)
|
|
435
|
+
return body(approach);
|
|
436
|
+
const flows = sectionMatching(design, /^target flows$/i);
|
|
437
|
+
if (design && flows) {
|
|
438
|
+
const repo = `(${t.repo.id}, `;
|
|
439
|
+
const mine = design.sections.filter((s) => s.level === flows.level + 1 && s.line > flows.line && s.line <= flows.end && s.heading.endsWith(")") && s.heading.includes(repo));
|
|
440
|
+
if (mine.length)
|
|
441
|
+
return mine.map((s) => body(s, s.line - 1)).join("\n\n");
|
|
442
|
+
}
|
|
443
|
+
const decisions = sectionMatching(design, /^decisions$/i);
|
|
444
|
+
if (design && decisions)
|
|
445
|
+
return body(decisions);
|
|
446
|
+
return `[${NC}: the change's design.md has no Approach, Decisions or target flow for ${t.repo.id}]`;
|
|
447
|
+
}
|
|
402
448
|
function renderPlan(t) {
|
|
403
449
|
const { calls, serves } = repoHops(t);
|
|
404
450
|
const data = repoData(t);
|
|
@@ -411,9 +457,7 @@ function renderPlan(t) {
|
|
|
411
457
|
const platforms = [
|
|
412
458
|
...new Set(t.ctx.records.filter((r) => r.kind === "Deployment" && r.component === t.component).map((r) => r.platform))
|
|
413
459
|
].sort();
|
|
414
|
-
const
|
|
415
|
-
const approach = sectionMatching(design, /^approach$/i);
|
|
416
|
-
const summary = design && approach ? design.rawLines.slice(approach.line, approach.end).join("\n").trim() : `[${NC}: the change's design.md has no Approach section]`;
|
|
460
|
+
const summary = designSummary(t);
|
|
417
461
|
const status = (s) => /^planned-(new|modify|retire)$/.test(s) ? s : "planned-new";
|
|
418
462
|
const mapping = mappingSections(docOf(t.files, "mappings.md")).filter((m) => [...calls, ...serves].some((h) => h.method === m.method && h.path === m.path));
|
|
419
463
|
const feature = `specs/${t.task.id}`;
|
|
@@ -629,8 +673,13 @@ async function putIfFree(dir, rel, text, force, r) {
|
|
|
629
673
|
return;
|
|
630
674
|
}
|
|
631
675
|
await mkdir(dirname(full), { recursive: true });
|
|
632
|
-
|
|
633
|
-
|
|
676
|
+
try {
|
|
677
|
+
await writeFile(`${full}.atticus-tmp`, text, "utf8");
|
|
678
|
+
await renameRetrying(`${full}.atticus-tmp`, full);
|
|
679
|
+
} catch (e) {
|
|
680
|
+
await rm(`${full}.atticus-tmp`, { force: true });
|
|
681
|
+
throw e;
|
|
682
|
+
}
|
|
634
683
|
r.written.push(rel);
|
|
635
684
|
}
|
|
636
685
|
function handDownFiles(t, engine) {
|
|
@@ -680,8 +729,12 @@ async function handDown(root, changeId, taskId, o = {}) {
|
|
|
680
729
|
assistantFiles: { results: [], upToDate: true },
|
|
681
730
|
problems: []
|
|
682
731
|
};
|
|
732
|
+
const commit = o.commit !== false;
|
|
733
|
+
const git = o.git ?? createGit();
|
|
734
|
+
const dirty = commit ? await dirtyPaths(git, dir) : /* @__PURE__ */ new Set();
|
|
683
735
|
for (const [rel, text] of handDownFiles(t, engine))
|
|
684
736
|
await putIfFree(dir, rel, text, !!o.force, r);
|
|
737
|
+
const whole = new Set(r.written);
|
|
685
738
|
const ref = await referenceMetarepoIn(root, dir, o.git ? { git: o.git } : {});
|
|
686
739
|
if (ref.action === "added")
|
|
687
740
|
r.written.push(ref.file);
|
|
@@ -726,25 +779,52 @@ async function handDown(root, changeId, taskId, o = {}) {
|
|
|
726
779
|
});
|
|
727
780
|
r.assistantFiles = { results: af.results, upToDate: af.upToDate };
|
|
728
781
|
r.problems.push(...af.problems);
|
|
729
|
-
if (
|
|
730
|
-
const
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
], dir);
|
|
743
|
-
|
|
782
|
+
if (commit) {
|
|
783
|
+
const ours = [];
|
|
784
|
+
for (const p of [...r.written, ...af.results.filter((x) => x.written).map((x) => x.path)]) {
|
|
785
|
+
if (ours.includes(p))
|
|
786
|
+
continue;
|
|
787
|
+
if (dirty.has(p) && !whole.has(p)) {
|
|
788
|
+
r.problems.push(`${p} had your uncommitted edits, so the hand-down didn't commit it: Atticus's part is in the file with yours. Commit it yourself when it's ready.`);
|
|
789
|
+
continue;
|
|
790
|
+
}
|
|
791
|
+
ours.push(p);
|
|
792
|
+
}
|
|
793
|
+
if (ours.length) {
|
|
794
|
+
await git(["add", "-A", "--", ...ours.map(literal)], dir);
|
|
795
|
+
const staged = (await git(["diff", "--cached", "--name-only", "--", ...ours.map(literal)], dir)).stdout.trim();
|
|
796
|
+
if (staged) {
|
|
797
|
+
await git([
|
|
798
|
+
"commit",
|
|
799
|
+
"-q",
|
|
800
|
+
"--only",
|
|
801
|
+
"-m",
|
|
802
|
+
`Hand down task ${t.task.id} of ${t.change.id}: ${t.task.title}`,
|
|
803
|
+
"-m",
|
|
804
|
+
`Atticus-Change: ${t.change.id}
|
|
805
|
+
Atticus-Task: ${t.task.id}`,
|
|
806
|
+
"--",
|
|
807
|
+
...ours.map(literal)
|
|
808
|
+
], dir);
|
|
809
|
+
r.commit = (await git(["rev-parse", "HEAD"], dir)).stdout.trim();
|
|
810
|
+
}
|
|
744
811
|
}
|
|
745
812
|
}
|
|
746
813
|
return r;
|
|
747
814
|
}
|
|
815
|
+
var literal = (p) => `:(literal)${p}`;
|
|
816
|
+
async function dirtyPaths(git, dir) {
|
|
817
|
+
const out = (await git(["-c", "core.quotePath=false", "status", "--porcelain", "-z", "--untracked-files=all"], dir)).stdout;
|
|
818
|
+
const parts = out.split("\0").filter(Boolean);
|
|
819
|
+
const paths = /* @__PURE__ */ new Set();
|
|
820
|
+
for (let k = 0; k < parts.length; k++) {
|
|
821
|
+
const e = parts[k];
|
|
822
|
+
paths.add(e.slice(3));
|
|
823
|
+
if (/^[RC]/.test(e) && parts[k + 1])
|
|
824
|
+
paths.add(parts[++k]);
|
|
825
|
+
}
|
|
826
|
+
return paths;
|
|
827
|
+
}
|
|
748
828
|
|
|
749
829
|
// packages/speckit/dist/drift.js
|
|
750
830
|
import { existsSync as existsSync2 } from "node:fs";
|
|
@@ -825,19 +905,111 @@ function taskWorktreePath(root, change, task, repo) {
|
|
|
825
905
|
throw new SpecKitError("invalid", `${what} "${v}" must be a lowercase slug`);
|
|
826
906
|
return join5(changeWorktreesDir(root, change), ".tasks", task, repo);
|
|
827
907
|
}
|
|
828
|
-
async function
|
|
908
|
+
async function catchUpChangeBranch(root, change, task, repo, changeDir, git = createGit(), o = {}) {
|
|
909
|
+
const base = baseClonePath(root, repo);
|
|
910
|
+
if (!existsSync(base))
|
|
911
|
+
return void 0;
|
|
912
|
+
const from = changeBranch(change);
|
|
913
|
+
const rev = (ref) => git(["rev-parse", "--verify", "--quiet", ref], base).then((r) => r.stdout.trim() || void 0, () => void 0);
|
|
914
|
+
if (!o.settled && await rev(`refs/heads/${taskBranch(change, task)}`))
|
|
915
|
+
return void 0;
|
|
916
|
+
const local = await rev(`refs/heads/${from}`);
|
|
917
|
+
if (!local)
|
|
918
|
+
return void 0;
|
|
919
|
+
const onHost = await git(["ls-remote", "--heads", "origin", `refs/heads/${from}`], base).then((r) => r.stdout.trim(), () => "");
|
|
920
|
+
if (!onHost)
|
|
921
|
+
return void 0;
|
|
922
|
+
const fetched = await git(["fetch", "-q", "origin", `+refs/heads/${from}:refs/remotes/origin/${from}`], base).then(() => true, () => false);
|
|
923
|
+
const remote = fetched ? await rev(`refs/remotes/origin/${from}`) : void 0;
|
|
924
|
+
if (!remote || remote === local)
|
|
925
|
+
return void 0;
|
|
926
|
+
const ancestor = (a, b) => git(["merge-base", "--is-ancestor", a, b], base).then(() => true, () => false);
|
|
927
|
+
if (await ancestor(remote, local))
|
|
928
|
+
return void 0;
|
|
929
|
+
const onlyHandDowns = async (onHostTip, localTip) => {
|
|
930
|
+
try {
|
|
931
|
+
const log = await git(["log", "--format=%P%x00%B%x1e", `${onHostTip}..${localTip}`], base);
|
|
932
|
+
const commits = log.stdout.split("").map((c) => c.replace(/^\n+/, "")).filter(Boolean);
|
|
933
|
+
if (commits.length === 0)
|
|
934
|
+
return false;
|
|
935
|
+
for (const c of commits) {
|
|
936
|
+
const [parents = "", body = ""] = c.split("\0");
|
|
937
|
+
if (parents.trim().split(/\s+/).length !== 1)
|
|
938
|
+
return false;
|
|
939
|
+
if (!body.startsWith("Hand down task "))
|
|
940
|
+
return false;
|
|
941
|
+
if (!body.split("\n").includes(`Atticus-Change: ${change}`))
|
|
942
|
+
return false;
|
|
943
|
+
}
|
|
944
|
+
const diff = await git(["diff", "--name-only", "-z", `${onHostTip}...${localTip}`], base);
|
|
945
|
+
const files = [...new Set(diff.stdout.split("\0").filter(Boolean))];
|
|
946
|
+
if (files.length > 0)
|
|
947
|
+
await git(["--literal-pathspecs", "diff", "--quiet", onHostTip, localTip, "--", ...files], base);
|
|
948
|
+
return true;
|
|
949
|
+
} catch {
|
|
950
|
+
return false;
|
|
951
|
+
}
|
|
952
|
+
};
|
|
953
|
+
const rel = changeDir.slice(root.length + 1).replace(/\\/g, "/");
|
|
954
|
+
const note = (handedDown2) => `Brought ${from} in ${repo} up to the Git host's first (the tasks merged into it there).${handedDown2 ? " Its local hand-down commits were already there, in the tasks' merged PRs." : ""}`;
|
|
955
|
+
const behind = await ancestor(local, remote);
|
|
956
|
+
const handedDown = !behind && await onlyHandDowns(remote, local);
|
|
957
|
+
if (!behind && !handedDown)
|
|
958
|
+
throw new SpecKitError("refused", `${from} in ${repo} has commits the Git host's hasn't, and the host's has commits it hasn't (tasks merged there): Atticus doesn't rewrite it. Merge origin/${from} into it in ${rel} (or push it), then run task ${task} again.`);
|
|
959
|
+
const there = await git(["symbolic-ref", "-q", "HEAD"], changeDir).then((r) => r.stdout.trim(), () => "");
|
|
960
|
+
if (there !== `refs/heads/${from}`) {
|
|
961
|
+
const list = await git(["worktree", "list", "--porcelain"], base);
|
|
962
|
+
const out = list.stdout.split("\n").includes(`branch refs/heads/${from}`);
|
|
963
|
+
if (out) {
|
|
964
|
+
const has = there ? there.replace(/^refs\/heads\//, "") : "a detached HEAD";
|
|
965
|
+
const own = there ? ` (commit your work on ${has} first)` : "";
|
|
966
|
+
throw new SpecKitError("refused", `${from} in ${repo} is behind the Git host's (tasks merged there), but the change worktree ${rel} has ${has} checked out, not ${from}, and ${from} is checked out in another worktree: Atticus doesn't move a branch you're working on. Switch ${rel} back to ${from}${own}, then run task ${task} again.`);
|
|
967
|
+
}
|
|
968
|
+
await git(["update-ref", `refs/heads/${from}`, remote, local], base);
|
|
969
|
+
return note(handedDown);
|
|
970
|
+
}
|
|
971
|
+
try {
|
|
972
|
+
await git(handedDown ? ["reset", "-q", "--keep", remote] : ["merge", "-q", "--ff-only", remote], changeDir);
|
|
973
|
+
} catch (e) {
|
|
974
|
+
throw new SpecKitError("refused", `${from} in ${repo} is behind the Git host's (tasks merged there), and it can't fast-forward in ${rel}: ${(e instanceof Error ? e.message : String(e)).trim()}. Commit or put aside the edits there, then run task ${task} again.`);
|
|
975
|
+
}
|
|
976
|
+
return note(handedDown);
|
|
977
|
+
}
|
|
978
|
+
async function taskBranchOwnCommits(root, change, task, repo, git = createGit()) {
|
|
979
|
+
const base = baseClonePath(root, repo);
|
|
980
|
+
if (!existsSync(base))
|
|
981
|
+
return 0;
|
|
982
|
+
const branch = taskBranch(change, task);
|
|
983
|
+
const from = changeBranch(change);
|
|
984
|
+
const has = (ref) => git(["rev-parse", "--verify", "--quiet", ref], base).then((r2) => !!r2.stdout.trim(), () => false);
|
|
985
|
+
if (!await has(`refs/heads/${branch}`))
|
|
986
|
+
return 0;
|
|
987
|
+
await git(["fetch", "-q", "origin", `+refs/heads/${from}:refs/remotes/origin/${from}`], base).catch(() => void 0);
|
|
988
|
+
const not = [];
|
|
989
|
+
for (const ref of [`refs/heads/${from}`, `refs/remotes/origin/${from}`])
|
|
990
|
+
if (await has(ref))
|
|
991
|
+
not.push(ref);
|
|
992
|
+
const r = await git(["rev-list", "--count", `refs/heads/${branch}`, "--not", ...not], base);
|
|
993
|
+
return Number(r.stdout.trim()) || 0;
|
|
994
|
+
}
|
|
995
|
+
async function openTaskWorktree(root, change, task, repo, git = createGit(), o = {}) {
|
|
829
996
|
const path = taskWorktreePath(root, change, task, repo);
|
|
830
997
|
const branch = taskBranch(change, task);
|
|
831
|
-
if (existsSync(path))
|
|
998
|
+
if (existsSync(path)) {
|
|
999
|
+
if (o.fresh)
|
|
1000
|
+
await fastForwardTask(root, change, task, repo, path, git);
|
|
832
1001
|
return { path, branch, created: false };
|
|
1002
|
+
}
|
|
833
1003
|
const base = baseClonePath(root, repo);
|
|
834
1004
|
if (!existsSync(base))
|
|
835
1005
|
throw new SpecKitError("refused", `There is no base clone of ${repo}; run atticus workspace sync first.`);
|
|
836
1006
|
const ok = async (ref) => git(["rev-parse", "--verify", "--quiet", ref], base).then(() => true, () => false);
|
|
837
1007
|
await mkdir2(dirname2(path), { recursive: true });
|
|
838
|
-
if (await ok(`refs/heads/${branch}`))
|
|
1008
|
+
if (await ok(`refs/heads/${branch}`)) {
|
|
1009
|
+
if (o.fresh)
|
|
1010
|
+
await fastForwardTask(root, change, task, repo, void 0, git);
|
|
839
1011
|
await git(["worktree", "add", "--", path, branch], base);
|
|
840
|
-
else {
|
|
1012
|
+
} else {
|
|
841
1013
|
const from = changeBranch(change);
|
|
842
1014
|
if (!await ok(`refs/heads/${from}`))
|
|
843
1015
|
throw new SpecKitError("refused", `${repo} has no ${from} branch yet. Open the change first: atticus workspace open ${change} --repos ${repo}`);
|
|
@@ -845,6 +1017,32 @@ async function openTaskWorktree(root, change, task, repo, git = createGit()) {
|
|
|
845
1017
|
}
|
|
846
1018
|
return { path, branch, created: true };
|
|
847
1019
|
}
|
|
1020
|
+
async function fastForwardTask(root, change, task, repo, path, git) {
|
|
1021
|
+
const base = baseClonePath(root, repo);
|
|
1022
|
+
const branch = taskBranch(change, task);
|
|
1023
|
+
const from = changeBranch(change);
|
|
1024
|
+
const rev = (ref) => git(["rev-parse", "--verify", "--quiet", `${ref}^{commit}`], base).then((r) => r.stdout.trim() || void 0, () => void 0);
|
|
1025
|
+
const tip = await rev(`refs/heads/${branch}`);
|
|
1026
|
+
const to = await rev(`refs/heads/${from}`);
|
|
1027
|
+
if (!tip || !to || tip === to)
|
|
1028
|
+
return;
|
|
1029
|
+
const behind = await git(["merge-base", "--is-ancestor", tip, to], base).then(() => true, () => false);
|
|
1030
|
+
if (!behind)
|
|
1031
|
+
return;
|
|
1032
|
+
const there = path ? await git(["symbolic-ref", "-q", "HEAD"], path).then((r) => r.stdout.trim(), () => "") : "";
|
|
1033
|
+
try {
|
|
1034
|
+
if (path && there === `refs/heads/${branch}`) {
|
|
1035
|
+
await git(["merge", "-q", "--ff-only", to], path);
|
|
1036
|
+
return;
|
|
1037
|
+
}
|
|
1038
|
+
const list = await git(["worktree", "list", "--porcelain"], base);
|
|
1039
|
+
if (list.stdout.split("\n").includes(`branch refs/heads/${branch}`))
|
|
1040
|
+
throw new Error(`${branch} is checked out in another worktree`);
|
|
1041
|
+
await git(["update-ref", `refs/heads/${branch}`, to, tip], base);
|
|
1042
|
+
} catch (e) {
|
|
1043
|
+
throw new SpecKitError("refused", `${branch} in ${repo} couldn't move on to ${from} for a fresh start: ${(e instanceof Error ? e.message : String(e)).trim()}. Commit or put aside the edits in its worktree, then run task ${task} again.`);
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
848
1046
|
|
|
849
1047
|
// packages/speckit/dist/drift.js
|
|
850
1048
|
var DRIFT_GATE = "drift";
|
|
@@ -1483,10 +1681,13 @@ async function driftAfterScan(root, o = {}) {
|
|
|
1483
1681
|
|
|
1484
1682
|
export {
|
|
1485
1683
|
readChangeTasks,
|
|
1684
|
+
setTaskDone,
|
|
1486
1685
|
readStory,
|
|
1487
1686
|
loadTask,
|
|
1488
1687
|
changeWorktree,
|
|
1489
1688
|
handDown,
|
|
1689
|
+
catchUpChangeBranch,
|
|
1690
|
+
taskBranchOwnCommits,
|
|
1490
1691
|
openTaskWorktree,
|
|
1491
1692
|
driftCheck,
|
|
1492
1693
|
handUpLensTask,
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
effectiveRules,
|
|
8
|
+
exampleOf,
|
|
9
|
+
kindGlob,
|
|
10
|
+
orgRulesLacking,
|
|
11
|
+
readingRulesText,
|
|
12
|
+
ruleFromPairing,
|
|
13
|
+
ruleId,
|
|
14
|
+
ruleIds,
|
|
15
|
+
ruleMatches,
|
|
16
|
+
rulesDirOf,
|
|
17
|
+
rulesLackingAll
|
|
18
|
+
} from "./chunk-WXFLMQSR.js";
|
|
19
|
+
import "./chunk-J2JAKCIW.js";
|
|
20
|
+
import "./chunk-745DAZ4L.js";
|
|
21
|
+
import "./chunk-CXJ6FUKN.js";
|
|
22
|
+
import "./chunk-QKUJMING.js";
|
|
23
|
+
import "./chunk-6ZGLAACW.js";
|
|
24
|
+
import "./chunk-CQDGOPGH.js";
|
|
25
|
+
import "./chunk-3NFFJL5D.js";
|
|
26
|
+
import "./chunk-PKBHS4AA.js";
|
|
27
|
+
import "./chunk-P32RUW3B.js";
|
|
28
|
+
import "./chunk-QA4O2GGC.js";
|
|
29
|
+
import "./chunk-Q2TECDIT.js";
|
|
30
|
+
import "./chunk-TUULXQRW.js";
|
|
31
|
+
import "./chunk-BQGDB6ZL.js";
|
|
32
|
+
import "./chunk-TV45EUGM.js";
|
|
33
|
+
export {
|
|
34
|
+
effectiveRules,
|
|
35
|
+
exampleOf,
|
|
36
|
+
kindGlob,
|
|
37
|
+
orgRulesLacking,
|
|
38
|
+
readingRulesText,
|
|
39
|
+
ruleFromPairing,
|
|
40
|
+
ruleId,
|
|
41
|
+
ruleIds,
|
|
42
|
+
ruleMatches,
|
|
43
|
+
rulesDirOf,
|
|
44
|
+
rulesLackingAll
|
|
45
|
+
};
|
|
@@ -9,21 +9,23 @@ import {
|
|
|
9
9
|
questionsCommand,
|
|
10
10
|
sourcesAdd,
|
|
11
11
|
sourcesSync
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-KQGURXFU.js";
|
|
13
|
+
import "./chunk-D73UEXYW.js";
|
|
14
|
+
import "./chunk-PAQ2AS5E.js";
|
|
15
15
|
import "./chunk-VOGCSYOI.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-J2JAKCIW.js";
|
|
17
|
+
import "./chunk-745DAZ4L.js";
|
|
18
|
+
import "./chunk-CXJ6FUKN.js";
|
|
19
|
+
import "./chunk-QKUJMING.js";
|
|
20
|
+
import "./chunk-6ZGLAACW.js";
|
|
21
|
+
import "./chunk-CQDGOPGH.js";
|
|
22
|
+
import "./chunk-3NFFJL5D.js";
|
|
23
|
+
import "./chunk-PKBHS4AA.js";
|
|
24
|
+
import "./chunk-P32RUW3B.js";
|
|
25
|
+
import "./chunk-QA4O2GGC.js";
|
|
26
|
+
import "./chunk-Q2TECDIT.js";
|
|
27
|
+
import "./chunk-TUULXQRW.js";
|
|
28
|
+
import "./chunk-BQGDB6ZL.js";
|
|
27
29
|
import "./chunk-TV45EUGM.js";
|
|
28
30
|
export {
|
|
29
31
|
coverageCommand,
|
|
@@ -6,18 +6,20 @@ var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
|
6
6
|
import {
|
|
7
7
|
aliasCommand,
|
|
8
8
|
reconcileCommand
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-KDNTAPLX.js";
|
|
10
|
+
import "./chunk-J2JAKCIW.js";
|
|
11
|
+
import "./chunk-745DAZ4L.js";
|
|
12
|
+
import "./chunk-CXJ6FUKN.js";
|
|
13
|
+
import "./chunk-QKUJMING.js";
|
|
14
|
+
import "./chunk-6ZGLAACW.js";
|
|
15
|
+
import "./chunk-CQDGOPGH.js";
|
|
16
|
+
import "./chunk-3NFFJL5D.js";
|
|
17
|
+
import "./chunk-PKBHS4AA.js";
|
|
18
|
+
import "./chunk-P32RUW3B.js";
|
|
19
|
+
import "./chunk-QA4O2GGC.js";
|
|
20
|
+
import "./chunk-Q2TECDIT.js";
|
|
21
|
+
import "./chunk-TUULXQRW.js";
|
|
22
|
+
import "./chunk-BQGDB6ZL.js";
|
|
21
23
|
import "./chunk-TV45EUGM.js";
|
|
22
24
|
export {
|
|
23
25
|
aliasCommand,
|
|
@@ -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-Q2TECDIT.js";
|
|
9
9
|
|
|
10
10
|
// packages/cli/dist/memory-room.js
|
|
11
11
|
import { createReadStream } from "node:fs";
|
|
@@ -4,9 +4,11 @@ var require = __atticusCreateRequire(import.meta.url);
|
|
|
4
4
|
var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
|
-
external_exports
|
|
7
|
+
external_exports
|
|
8
|
+
} from "./chunk-Q2TECDIT.js";
|
|
9
|
+
import {
|
|
8
10
|
require_dist
|
|
9
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BQGDB6ZL.js";
|
|
10
12
|
import {
|
|
11
13
|
__toESM
|
|
12
14
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -10,19 +10,21 @@ import {
|
|
|
10
10
|
intakeList,
|
|
11
11
|
triageDecide,
|
|
12
12
|
triageList
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-SFUP7TTO.js";
|
|
14
14
|
import "./chunk-VOGCSYOI.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-J2JAKCIW.js";
|
|
16
|
+
import "./chunk-745DAZ4L.js";
|
|
17
|
+
import "./chunk-CXJ6FUKN.js";
|
|
18
|
+
import "./chunk-QKUJMING.js";
|
|
19
|
+
import "./chunk-6ZGLAACW.js";
|
|
20
|
+
import "./chunk-CQDGOPGH.js";
|
|
21
|
+
import "./chunk-3NFFJL5D.js";
|
|
22
|
+
import "./chunk-PKBHS4AA.js";
|
|
23
|
+
import "./chunk-P32RUW3B.js";
|
|
24
|
+
import "./chunk-QA4O2GGC.js";
|
|
25
|
+
import "./chunk-Q2TECDIT.js";
|
|
26
|
+
import "./chunk-TUULXQRW.js";
|
|
27
|
+
import "./chunk-BQGDB6ZL.js";
|
|
26
28
|
import "./chunk-TV45EUGM.js";
|
|
27
29
|
export {
|
|
28
30
|
addToInbox,
|