@staff0rd/assist 0.1143.0 → 0.1143.2
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/acceptanceCriteria-CJ4GRITK.js +44 -0
- package/dist/activity-2SEJVUW5.js +73 -0
- package/dist/add-HXSZYGPR.js +51 -0
- package/dist/add-QQQ472AZ.js +250 -0
- package/dist/add-XWJN42HG.js +140 -0
- package/dist/addActivity-EZZ6TFDF.js +120 -0
- package/dist/addPhase-LOT43TS7.js +152 -0
- package/dist/addRule-J432LIS3.js +102 -0
- package/dist/addUserRule-XO2BNQFH.js +136 -0
- package/dist/adviceFragments-5XVE6JXX.js +41 -0
- package/dist/advise-E6QAZIMK.js +96 -0
- package/dist/analyze-2ECBFV3E.js +63 -0
- package/dist/ask-ESCDDQH5.js +47 -0
- package/dist/askCheck-EYZOXM6D.js +303 -0
- package/dist/askDesign-ZMHB4WKG.js +137 -0
- package/dist/askQuestion-EQV37YPA.js +149 -0
- package/dist/associateGithub-VYQUEKWJ.js +95 -0
- package/dist/associateJira-EUNZOJJC.js +83 -0
- package/dist/backup-3SNDW5JN.js +64 -0
- package/dist/blockCodeComments-PZHXN2WG.js +311 -0
- package/dist/branch-4YGQB3MS.js +98 -0
- package/dist/browserConsole-6ZRED7DG.js +50 -0
- package/dist/browserInspect-2IOKKWOF.js +42 -0
- package/dist/browserRun-JJVVNL6H.js +52 -0
- package/dist/browserSnapshot-Q3DUNUYP.js +32 -0
- package/dist/browserStatus-MEQAEC3K.js +38 -0
- package/dist/built-version +1 -1
- package/dist/chart-4G75ADCW.js +80 -0
- package/dist/check-QRHG4J7G.js +219 -0
- package/dist/checkBuildLocks-UBGUSNX5.js +9 -0
- package/dist/chunk-2DBSXFUE.js +40 -0
- package/dist/chunk-2DCOBBPI.js +50 -0
- package/dist/chunk-2EW62DM5.js +17 -0
- package/dist/chunk-2HT3GIJD.js +130 -0
- package/dist/chunk-2JYMVJGZ.js +21 -0
- package/dist/chunk-2KG6ZPX4.js +52 -0
- package/dist/chunk-2O7TIRCQ.js +39 -0
- package/dist/chunk-3E7RVOMC.js +27 -0
- package/dist/chunk-3FSX26XC.js +25 -0
- package/dist/chunk-3JXMQFUS.js +14 -0
- package/dist/chunk-3KLTYFPV.js +57 -0
- package/dist/chunk-3NK55YVZ.js +48 -0
- package/dist/chunk-3OMKOT6D.js +14 -0
- package/dist/chunk-3PM5JCHE.js +72 -0
- package/dist/chunk-3QKE2ONF.js +39 -0
- package/dist/chunk-3XQHTIHW.js +20 -0
- package/dist/chunk-4BVUY25U.js +21 -0
- package/dist/chunk-4GMAYXOS.js +18 -0
- package/dist/chunk-4HKB2TAG.js +11 -0
- package/dist/chunk-4JIXM5NT.js +21 -0
- package/dist/chunk-4L7TQE67.js +22 -0
- package/dist/chunk-4LFRCSJF.js +46 -0
- package/dist/chunk-4TIDERIW.js +12 -0
- package/dist/chunk-4VDWPVY6.js +258 -0
- package/dist/chunk-4XHBAEMS.js +37 -0
- package/dist/chunk-4Y4ADPEK.js +10 -0
- package/dist/chunk-4YAIQN3S.js +77 -0
- package/dist/chunk-4YHDWC5E.js +33 -0
- package/dist/chunk-547VKFOA.js +15 -0
- package/dist/chunk-54QTHCXV.js +12 -0
- package/dist/chunk-556BOFTS.js +44 -0
- package/dist/chunk-5G5VG5P7.js +14 -0
- package/dist/chunk-5JOVEUBS.js +17 -0
- package/dist/chunk-5KSIOK73.js +25 -0
- package/dist/chunk-5MFQ7T3G.js +40 -0
- package/dist/chunk-5PKWV3WT.js +8 -0
- package/dist/chunk-5VW2GS73.js +42 -0
- package/dist/chunk-5WQDLREX.js +40 -0
- package/dist/chunk-66EUBGD6.js +193 -0
- package/dist/chunk-6DGPQ67E.js +26 -0
- package/dist/chunk-6EYCU3MQ.js +41 -0
- package/dist/chunk-6G2ADBNV.js +19 -0
- package/dist/chunk-6H4DP3ZG.js +14 -0
- package/dist/chunk-6LI6DYBH.js +170 -0
- package/dist/chunk-6MNOEMDU.js +45 -0
- package/dist/chunk-6NDXAN45.js +90 -0
- package/dist/chunk-6NXP34PE.js +20 -0
- package/dist/chunk-6PF5BEEE.js +37 -0
- package/dist/chunk-6SOPR77J.js +12 -0
- package/dist/chunk-6T53CG7D.js +56 -0
- package/dist/chunk-7CEIET2O.js +31 -0
- package/dist/chunk-7DSWCPDZ.js +225 -0
- package/dist/chunk-7HMZTDGB.js +152 -0
- package/dist/chunk-7HNRCA3N.js +12 -0
- package/dist/chunk-7NPZZRMK.js +77 -0
- package/dist/chunk-7O466DJY.js +36 -0
- package/dist/chunk-7TT6C4IC.js +100 -0
- package/dist/chunk-7ZN4KX7V.js +26 -0
- package/dist/chunk-A5ELMTXR.js +143 -0
- package/dist/chunk-ABLDOQ4B.js +42 -0
- package/dist/chunk-ADIYP3KC.js +11 -0
- package/dist/chunk-ADLCDG2V.js +61 -0
- package/dist/chunk-AKF654AT.js +32 -0
- package/dist/chunk-ALAS5LZJ.js +22 -0
- package/dist/chunk-ANCYNQJA.js +16 -0
- package/dist/chunk-APS7GTRT.js +23 -0
- package/dist/chunk-APZ6ZTDA.js +8 -0
- package/dist/chunk-AVLELL42.js +34 -0
- package/dist/chunk-B3JSQA5D.js +25 -0
- package/dist/chunk-B5ZOANOD.js +51 -0
- package/dist/chunk-B6RAZW2L.js +14 -0
- package/dist/chunk-B7B26YPF.js +6 -0
- package/dist/chunk-BAHQJHYD.js +16 -0
- package/dist/chunk-BBXEZVRL.js +38 -0
- package/dist/chunk-BFQSGIN6.js +37 -0
- package/dist/chunk-BJDGVLYX.js +20 -0
- package/dist/chunk-BO5JCCC5.js +17 -0
- package/dist/chunk-BPZBZQEY.js +7450 -0
- package/dist/chunk-BV2V6RTH.js +89 -0
- package/dist/chunk-BVHK2VVT.js +31 -0
- package/dist/chunk-C3MGHR3N.js +25 -0
- package/dist/chunk-CDD4ZTG7.js +31 -0
- package/dist/chunk-CDU6M5IX.js +50 -0
- package/dist/chunk-CGYVYHMM.js +49 -0
- package/dist/chunk-CQQFVAGK.js +46 -0
- package/dist/chunk-CXJJGUTK.js +44 -0
- package/dist/chunk-D7UZLH36.js +8 -0
- package/dist/chunk-DBQTGW7F.js +48 -0
- package/dist/chunk-DIAC4XYA.js +29 -0
- package/dist/chunk-DISNKALJ.js +74 -0
- package/dist/chunk-DLNPUAH7.js +3932 -0
- package/dist/chunk-DS2YJZZY.js +34 -0
- package/dist/chunk-DZGYHAE7.js +31 -0
- package/dist/chunk-E36L7ASL.js +19 -0
- package/dist/chunk-E7AZAWIV.js +478 -0
- package/dist/chunk-EHRQ6OST.js +53 -0
- package/dist/chunk-EI42YEVC.js +208 -0
- package/dist/chunk-ENBVLWTC.js +25 -0
- package/dist/chunk-ENTJ2N5Y.js +34 -0
- package/dist/chunk-ERAGZGT5.js +166 -0
- package/dist/chunk-ERG23IG5.js +12 -0
- package/dist/chunk-EW2ZM2PC.js +6 -0
- package/dist/chunk-EYM57SNL.js +60 -0
- package/dist/chunk-F2LP5MBV.js +26 -0
- package/dist/chunk-FOPR6LRY.js +121 -0
- package/dist/chunk-FPWL4VRC.js +12 -0
- package/dist/chunk-FVZP4ULO.js +14 -0
- package/dist/chunk-FXGN4KLP.js +210 -0
- package/dist/chunk-FYYZG4GY.js +47 -0
- package/dist/chunk-G3ROBZ4I.js +31 -0
- package/dist/chunk-G44QYJ57.js +106 -0
- package/dist/chunk-GF4MNBOX.js +95 -0
- package/dist/chunk-GL5GKF5A.js +68 -0
- package/dist/chunk-GOGGPW2L.js +143 -0
- package/dist/chunk-GQF23TWI.js +14 -0
- package/dist/chunk-GRXFWFGP.js +49 -0
- package/dist/chunk-GVI4JSG7.js +13 -0
- package/dist/chunk-GVVK5XFZ.js +42 -0
- package/dist/chunk-GYAXLTV6.js +37 -0
- package/dist/chunk-H3WYQ2NE.js +15 -0
- package/dist/chunk-H6LFISSF.js +40 -0
- package/dist/chunk-HCANRBFK.js +19 -0
- package/dist/chunk-HHKS3UZB.js +16 -0
- package/dist/chunk-HKGCLAZ7.js +8 -0
- package/dist/chunk-HN7MFXZ7.js +46 -0
- package/dist/chunk-HSWDSL22.js +50 -0
- package/dist/chunk-HWUAJTHE.js +92 -0
- package/dist/chunk-HXBNHLL3.js +33 -0
- package/dist/chunk-I2ZQXBOS.js +108 -0
- package/dist/chunk-I3TEQBTO.js +88 -0
- package/dist/chunk-I5MLH7WJ.js +27 -0
- package/dist/chunk-IB543JQJ.js +70 -0
- package/dist/chunk-IBAO4LIZ.js +23 -0
- package/dist/chunk-IBPSXDUB.js +8 -0
- package/dist/chunk-IEK6CQQH.js +23 -0
- package/dist/chunk-IIFOAUOM.js +34 -0
- package/dist/chunk-IMKMNPRL.js +114 -0
- package/dist/chunk-INBM4BQQ.js +27 -0
- package/dist/chunk-IOKBCYSG.js +29 -0
- package/dist/chunk-IOYGR6YV.js +23 -0
- package/dist/chunk-IV7Z4UVQ.js +150 -0
- package/dist/chunk-IVBWOIGE.js +33 -0
- package/dist/chunk-IYTAHYEL.js +98 -0
- package/dist/chunk-IZBQH3LW.js +17 -0
- package/dist/chunk-J3C454L5.js +741 -0
- package/dist/chunk-J3GISX67.js +23 -0
- package/dist/chunk-JHBA5IZR.js +20 -0
- package/dist/chunk-JHIGA7GN.js +43 -0
- package/dist/chunk-JIWFLALZ.js +269 -0
- package/dist/chunk-JM57BCD6.js +30 -0
- package/dist/chunk-JNCFHWBK.js +30 -0
- package/dist/chunk-JNEYUOQ3.js +83 -0
- package/dist/chunk-JPM7HCLI.js +23 -0
- package/dist/chunk-JPRADR2E.js +10 -0
- package/dist/chunk-JRK7JDU4.js +30 -0
- package/dist/chunk-JVG5AJA2.js +29 -0
- package/dist/chunk-JVTCXR7C.js +72 -0
- package/dist/chunk-JW6QOUMN.js +18 -0
- package/dist/chunk-K45LIKCT.js +37 -0
- package/dist/chunk-K4T24UGW.js +18 -0
- package/dist/chunk-K4TQJQWA.js +44 -0
- package/dist/chunk-K5LOYASR.js +18 -0
- package/dist/chunk-K6NKWRK4.js +30 -0
- package/dist/chunk-KD2PWI4Z.js +48 -0
- package/dist/chunk-KGFZYUE2.js +54 -0
- package/dist/chunk-KHOVDX2Y.js +21 -0
- package/dist/chunk-KLEL6TMJ.js +22 -0
- package/dist/chunk-KNXHXMFT.js +77 -0
- package/dist/chunk-KP5S3FE5.js +13 -0
- package/dist/chunk-KUCVY5R7.js +40 -0
- package/dist/chunk-KY77XKAU.js +26 -0
- package/dist/chunk-L363MNYZ.js +14 -0
- package/dist/chunk-L73KKI5J.js +111 -0
- package/dist/chunk-LBAPKP6M.js +473 -0
- package/dist/chunk-LBPOEGTS.js +271 -0
- package/dist/chunk-LDVATRUW.js +23 -0
- package/dist/chunk-LFRSZIAS.js +13 -0
- package/dist/chunk-LKDW2GWH.js +9 -0
- package/dist/chunk-LMHILP5H.js +36 -0
- package/dist/chunk-LMUTL44M.js +58 -0
- package/dist/chunk-LOP6Y256.js +18 -0
- package/dist/chunk-LSBUNT4X.js +32 -0
- package/dist/chunk-M3O2BTJG.js +12 -0
- package/dist/chunk-M5YTH55B.js +284 -0
- package/dist/chunk-MBPVW7BY.js +63 -0
- package/dist/chunk-MELBVXKL.js +36 -0
- package/dist/chunk-MJ44T7R4.js +28 -0
- package/dist/chunk-MJ4RLQ5N.js +177 -0
- package/dist/chunk-MJLABLH5.js +58 -0
- package/dist/chunk-MODUPHYS.js +20 -0
- package/dist/chunk-MRUIXQXS.js +29 -0
- package/dist/chunk-MSCF3PKY.js +26 -0
- package/dist/chunk-MSKC2RCS.js +17 -0
- package/dist/chunk-MY4TNZNI.js +36 -0
- package/dist/chunk-N65VOEFI.js +23 -0
- package/dist/chunk-N755UYFK.js +58 -0
- package/dist/chunk-NBADZOXB.js +24 -0
- package/dist/chunk-NGTSPXSJ.js +9 -0
- package/dist/chunk-NGYZK6AF.js +18 -0
- package/dist/chunk-NH33OKZQ.js +23 -0
- package/dist/chunk-NOHNPOQK.js +49 -0
- package/dist/chunk-NPQGX4IO.js +16 -0
- package/dist/chunk-NQQVL7BY.js +56 -0
- package/dist/chunk-NWNODYLQ.js +25 -0
- package/dist/chunk-NYEGRDOK.js +191 -0
- package/dist/chunk-NZYSENRR.js +50 -0
- package/dist/chunk-O5JIFWMQ.js +39 -0
- package/dist/chunk-O6HFT23O.js +39 -0
- package/dist/chunk-OBC245PJ.js +39 -0
- package/dist/chunk-ODLSWRTS.js +21 -0
- package/dist/chunk-OGJ6AZK4.js +9 -0
- package/dist/chunk-ONODYZ2H.js +146 -0
- package/dist/chunk-ORSRBZ2X.js +15 -0
- package/dist/chunk-OU6Q5ZS3.js +16 -0
- package/dist/chunk-OZNYQOQK.js +25 -0
- package/dist/chunk-P253KAVC.js +75 -0
- package/dist/chunk-P26XSDFU.js +91 -0
- package/dist/chunk-P3RGVQ5B.js +12 -0
- package/dist/chunk-P7FVAGFQ.js +52 -0
- package/dist/chunk-PCF66ALO.js +39 -0
- package/dist/chunk-PD2BTMEY.js +598 -0
- package/dist/chunk-PGQK356A.js +22 -0
- package/dist/chunk-PIDKNOD6.js +25 -0
- package/dist/chunk-PIWSOEVM.js +63 -0
- package/dist/chunk-PRYIRRAS.js +21 -0
- package/dist/chunk-PURNABFX.js +22 -0
- package/dist/chunk-PXQTFJ2N.js +216 -0
- package/dist/chunk-PYACTCZ2.js +13 -0
- package/dist/chunk-PZAEU7LL.js +23 -0
- package/dist/chunk-Q35724GR.js +51 -0
- package/dist/chunk-Q7RUUXND.js +40 -0
- package/dist/chunk-Q7YVMIA3.js +32 -0
- package/dist/chunk-QAJUCN3A.js +76 -0
- package/dist/chunk-QJRCKXTM.js +38 -0
- package/dist/chunk-QKHOYKUQ.js +362 -0
- package/dist/chunk-QPRFHNX7.js +24 -0
- package/dist/chunk-QR7KY3Y6.js +19 -0
- package/dist/chunk-QU6OQZJ2.js +56 -0
- package/dist/chunk-QVQ2OJXX.js +144 -0
- package/dist/chunk-R2HLLDFE.js +36 -0
- package/dist/chunk-R72E45HQ.js +506 -0
- package/dist/chunk-RFMBA6WA.js +18 -0
- package/dist/chunk-RIMA7EFJ.js +35 -0
- package/dist/chunk-RNFWWESE.js +9 -0
- package/dist/chunk-ROBNJX4W.js +68 -0
- package/dist/chunk-ROCHUNJI.js +36 -0
- package/dist/chunk-RPRL6G4R.js +218 -0
- package/dist/chunk-RQFIPKKQ.js +187 -0
- package/dist/chunk-RSLB4ODM.js +30 -0
- package/dist/chunk-RTYIICCX.js +24 -0
- package/dist/chunk-RVABNGZW.js +46 -0
- package/dist/chunk-RXKI4XAU.js +21 -0
- package/dist/chunk-S4S2DD5Z.js +16 -0
- package/dist/chunk-S6FVZYHH.js +16 -0
- package/dist/chunk-S6XYTJU2.js +37 -0
- package/dist/chunk-SB4BG7PH.js +159 -0
- package/dist/chunk-SC4HAADN.js +224 -0
- package/dist/chunk-SDMBTSYP.js +15 -0
- package/dist/chunk-SDOEWLEE.js +22 -0
- package/dist/chunk-SEXIHLGA.js +16 -0
- package/dist/chunk-SOZZKFBX.js +171 -0
- package/dist/chunk-SSKHLBQB.js +15 -0
- package/dist/chunk-SW7FSLHP.js +26 -0
- package/dist/chunk-T2DY3T55.js +10 -0
- package/dist/chunk-T4TPIDXO.js +111 -0
- package/dist/chunk-T7ZPGAB5.js +192 -0
- package/dist/chunk-TA6KQ26I.js +43 -0
- package/dist/chunk-TCTX3UXU.js +19 -0
- package/dist/chunk-TJGF3Z72.js +12 -0
- package/dist/chunk-TK4AJIJZ.js +47 -0
- package/dist/chunk-TK4URTR6.js +104 -0
- package/dist/chunk-TQCCEWWN.js +89 -0
- package/dist/chunk-TUPSNHFZ.js +49 -0
- package/dist/chunk-TVQY3HPZ.js +43 -0
- package/dist/chunk-TZ5PVDAR.js +48 -0
- package/dist/chunk-U732RAGX.js +240 -0
- package/dist/chunk-UEWARAPX.js +37 -0
- package/dist/chunk-UGGH3MEX.js +26 -0
- package/dist/chunk-UJAMN3ML.js +85 -0
- package/dist/chunk-UJBW7FVI.js +384 -0
- package/dist/chunk-UJMXT5CS.js +855 -0
- package/dist/chunk-UN4ABKA7.js +48 -0
- package/dist/chunk-UP6QV5BJ.js +14 -0
- package/dist/chunk-US6TNW5V.js +28 -0
- package/dist/chunk-USKD27FY.js +11 -0
- package/dist/chunk-USVQT2SR.js +94 -0
- package/dist/chunk-UU77KEL6.js +20 -0
- package/dist/chunk-UXXJTR47.js +31 -0
- package/dist/chunk-UYD7R4HL.js +26 -0
- package/dist/chunk-VABNWHSE.js +31 -0
- package/dist/chunk-VAGZIGNN.js +54 -0
- package/dist/chunk-VDE2QVT4.js +14 -0
- package/dist/chunk-VDXS55BC.js +62 -0
- package/dist/chunk-VEZ3FL5H.js +16 -0
- package/dist/chunk-VF2SKQIN.js +79 -0
- package/dist/chunk-VPMI4LV2.js +25 -0
- package/dist/chunk-VRIT72KI.js +73 -0
- package/dist/chunk-VRQ4WDF7.js +22 -0
- package/dist/chunk-VUR35GB7.js +733 -0
- package/dist/chunk-W5FPQALS.js +36 -0
- package/dist/chunk-W64CKPAW.js +101 -0
- package/dist/chunk-W6UBSIJA.js +50 -0
- package/dist/chunk-W7TRZLEM.js +23 -0
- package/dist/chunk-WDODIKZ4.js +72 -0
- package/dist/chunk-WG3TXZMV.js +70 -0
- package/dist/chunk-WG4UDKA2.js +12 -0
- package/dist/chunk-WGV2ELBS.js +41 -0
- package/dist/chunk-WOGUXGZS.js +32 -0
- package/dist/chunk-WUG2UGQC.js +136 -0
- package/dist/chunk-WX5F66TN.js +438 -0
- package/dist/chunk-WXQ3EA5H.js +12 -0
- package/dist/chunk-WYNRHOR7.js +69 -0
- package/dist/chunk-WYVUP7Z3.js +33 -0
- package/dist/chunk-X44VETJF.js +13 -0
- package/dist/chunk-X6ETCS7E.js +656 -0
- package/dist/chunk-XA3VSUG6.js +72 -0
- package/dist/chunk-XADYGSUA.js +25 -0
- package/dist/chunk-XDIVXGPQ.js +73 -0
- package/dist/chunk-XEJODD6D.js +6 -0
- package/dist/chunk-XSJGIJEE.js +8 -0
- package/dist/chunk-XT3AOF2P.js +16 -0
- package/dist/chunk-XTPBXBZA.js +11 -0
- package/dist/chunk-XV2STPP6.js +45 -0
- package/dist/chunk-XV6BO5MK.js +28 -0
- package/dist/chunk-XXXMWMVQ.js +208 -0
- package/dist/chunk-XY5OS2GH.js +147 -0
- package/dist/chunk-XZFSW5AY.js +217 -0
- package/dist/chunk-Y2KEHWBZ.js +35 -0
- package/dist/chunk-Y3JV5CEL.js +19 -0
- package/dist/chunk-Y3R4C2P7.js +231 -0
- package/dist/chunk-YC3CIJQN.js +22 -0
- package/dist/chunk-YDA62L6J.js +147 -0
- package/dist/chunk-YIBSK5OC.js +13 -0
- package/dist/chunk-YJ72SXVD.js +12 -0
- package/dist/chunk-YKVLG4SZ.js +12 -0
- package/dist/chunk-YNHPTUHS.js +75 -0
- package/dist/chunk-YOFY27RM.js +10 -0
- package/dist/chunk-YPQ6OZFB.js +103 -0
- package/dist/chunk-YQ3CNWB3.js +54 -0
- package/dist/chunk-YS3HSXSJ.js +16 -0
- package/dist/chunk-YSNIMCKC.js +8 -0
- package/dist/chunk-YTIVOMM3.js +22 -0
- package/dist/chunk-YVL3NXEB.js +6 -0
- package/dist/chunk-YXXKT6LL.js +513 -0
- package/dist/chunk-YZ5KJFYU.js +8 -0
- package/dist/chunk-Z2YQQYCQ.js +64 -0
- package/dist/chunk-Z64YKE5O.js +208 -0
- package/dist/chunk-ZABRGL2F.js +45 -0
- package/dist/chunk-ZAMEG3EN.js +470 -0
- package/dist/chunk-ZDSSSQZZ.js +12 -0
- package/dist/chunk-ZFX4EZMW.js +20 -0
- package/dist/chunk-ZKVDVSCE.js +61 -0
- package/dist/chunk-ZLRZR64W.js +36 -0
- package/dist/chunk-ZLSFTNFJ.js +12 -0
- package/dist/chunk-ZMH7UZNP.js +14 -0
- package/dist/chunk-ZO7NYS25.js +18 -0
- package/dist/chunk-ZSHH4XS6.js +11 -0
- package/dist/chunk-ZWTRFLA6.js +31 -0
- package/dist/chunk-ZYE25KR3.js +12 -0
- package/dist/chunk-ZYK7V4PG.js +22 -0
- package/dist/clean-W43XKMR2.js +49 -0
- package/dist/cliHook-HA2YOEQG.js +96 -0
- package/dist/cliHookCheck-W66AII3A.js +74 -0
- package/dist/cloneRepo-LSIV3K3X.js +80 -0
- package/dist/closeSession-I2J2ICU4.js +30 -0
- package/dist/codeCommentConfirm-LGYBP6JX.js +69 -0
- package/dist/codeCommentSet-2YWQJXI2.js +115 -0
- package/dist/codexHook-YACIK7S3.js +200 -0
- package/dist/codexHookTrust-YYBCCR7P.js +59 -0
- package/dist/commands/extension/extension/updates.json +2 -2
- package/dist/commands/sessions/web/bundle.js +408 -408
- package/dist/comment-R5MBHRIJ.js +46 -0
- package/dist/comment-SAOYKB2J.js +17 -0
- package/dist/commentIssue-PDIQVTZM.js +43 -0
- package/dist/comments-ABF3S3O5.js +56 -0
- package/dist/commit-ET4QBICB.js +511 -0
- package/dist/commits-QFWMYJC5.js +146 -0
- package/dist/configGet-42P4ONFD.js +94 -0
- package/dist/configImportRepos-ZIUYOKHH.js +142 -0
- package/dist/configImportUser-NWUPLRQE.js +177 -0
- package/dist/configKeys-HFGEHZBT.js +69 -0
- package/dist/configKeys-OGJBDYG6.js +73 -0
- package/dist/configList-CBYHO432.js +75 -0
- package/dist/configSet-3UHHWKDP.js +136 -0
- package/dist/configUnset-LYGRTYB3.js +121 -0
- package/dist/configure-ETWPCRNG.js +86 -0
- package/dist/coverage-G7J25BUX.js +17 -0
- package/dist/createIssue-AIQ3U4LC.js +357 -0
- package/dist/cyclomatic-7ZFTN5VN.js +18 -0
- package/dist/daemonStatus-YXGIS55D.js +112 -0
- package/dist/del-NHH7NU3Y.js +44 -0
- package/dist/deleteCommentCmd-SAG7WMDV.js +73 -0
- package/dist/denyAdd-YXXNFWMO.js +29 -0
- package/dist/denyList-IZVZEOSD.js +43 -0
- package/dist/denyRemove-4IUYBEMU.js +30 -0
- package/dist/deps-RSUOIZPE.js +117 -0
- package/dist/docsConfirm-2LAEAX3R.js +97 -0
- package/dist/docsUnlock-SCPIWHT5.js +93 -0
- package/dist/doctorNodes-JJ2EIU36.js +131 -0
- package/dist/done-ABRDBISM.js +92 -0
- package/dist/drainDaemon-LCQQ3EP4.js +96 -0
- package/dist/dropRetiredTables-JBLALSG5.js +31 -0
- package/dist/edit-CFPOK62A.js +133 -0
- package/dist/editHook-OWHBNL5T.js +388 -0
- package/dist/editIssue-C2G7D3VJ.js +281 -0
- package/dist/editIssueComment-5SIYQKI6.js +68 -0
- package/dist/exportBacklog-NGFOXXUG.js +24 -0
- package/dist/extension-YYRD5EM6.js +32 -0
- package/dist/extract-SGYOCBTT.js +688 -0
- package/dist/fixConflict-IPWVXZWO.js +66 -0
- package/dist/fixStructure-4UTN5ED6.js +436 -0
- package/dist/fixed-OTDA7M25.js +72 -0
- package/dist/forbiddenStrings-GVXIN7QW.js +88 -0
- package/dist/formatConfiguredCommands-WI25I2JJ.js +19 -0
- package/dist/getBacklogDir-AVGEKM42.js +18 -0
- package/dist/halstead-CMFRMXT6.js +18 -0
- package/dist/hardcodedColors-4NBF5Z53.js +61 -0
- package/dist/harnessFollowUps-PNR55PM4.js +87 -0
- package/dist/ignore-7E4ZV5XH.js +30 -0
- package/dist/importBacklog-FOGUOAIJ.js +228 -0
- package/dist/inSln-G4VRY7VM.js +22 -0
- package/dist/index.js +2832 -10
- package/dist/indexRules-65H3IE33.js +31 -0
- package/dist/init-2WH6WD64.js +9 -0
- package/dist/init-6Y2TC67U.js +23 -0
- package/dist/init-BELQ3LDU.js +25 -0
- package/dist/init-BNY2X74K.js +9 -0
- package/dist/init-PZIM2TEG.js +9 -0
- package/dist/inspect-OI5K5KSG.js +368 -0
- package/dist/jiraAuth-4Z5EVL7A.js +51 -0
- package/dist/launchMode-RBSRGUTI.js +85 -0
- package/dist/link-JDJBEJCL.js +124 -0
- package/dist/link-LYQZULAX.js +59 -0
- package/dist/linkNode-IZ7TMIBN.js +88 -0
- package/dist/lint-5AA42LMF.js +418 -0
- package/dist/list-BM6RD4CP.js +43 -0
- package/dist/list-GCJ6WCKC.js +34 -0
- package/dist/list-HCOU6YAY.js +28 -0
- package/dist/list-UXIZ6WY2.js +100 -0
- package/dist/list-ZR6AEAER.js +33 -0
- package/dist/list-ZVSHR4AA.js +113 -0
- package/dist/listComments-CTM5UMWI.js +203 -0
- package/dist/listModels-2US52LRW.js +74 -0
- package/dist/listNodes-HNKK3LEQ.js +54 -0
- package/dist/listRules-XBWM5DPH.js +41 -0
- package/dist/maintainability-P55FDYZW.js +19 -0
- package/dist/merge-MVMNYPO2.js +196 -0
- package/dist/mermaidExport-DKB3X763.js +108 -0
- package/dist/migrate-XZ562LTJ.js +37 -0
- package/dist/migrations-CSVJKLQC.js +206 -0
- package/dist/move-XAN7VFR4.js +63 -0
- package/dist/movePhase-AK3F6A6P.js +103 -0
- package/dist/moveRepo-P7LPCWIL.js +109 -0
- package/dist/netcap-FIHYF3LK.js +203 -0
- package/dist/netcapExtract-KAFERZ6V.js +462 -0
- package/dist/newCli-2HD56JUI.js +132 -0
- package/dist/newProject-5UN6N4MS.js +70 -0
- package/dist/next-FAAUSQLC.js +145 -0
- package/dist/next-H5RR3AHL.js +83 -0
- package/dist/noVenv-DONW2S6P.js +34 -0
- package/dist/nodeLogs-NNLS5TNI.js +64 -0
- package/dist/notify-NRLRUDFI.js +66 -0
- package/dist/permitCliReads-RSRMZMGS.js +313 -0
- package/dist/phaseDone-FBAQDO3S.js +99 -0
- package/dist/piHook-WAOTTSYE.js +89 -0
- package/dist/plan-GBSJWMXP.js +51 -0
- package/dist/postSlackMessage-SJQGYGJQ.js +21 -0
- package/dist/posted-ZNKIE73Q.js +76 -0
- package/dist/printComments-7ROHUEPO.js +169 -0
- package/dist/printExtensionUrl-IW2WTSNS.js +19 -0
- package/dist/prompts-SL6SHWOA.js +55 -0
- package/dist/propose-UAAUUCLA.js +307 -0
- package/dist/prs-2SRUKVTI.js +138 -0
- package/dist/prsSlackChannel-DY35HNQF.js +28 -0
- package/dist/prsStatus-6G3ZTK36.js +319 -0
- package/dist/pullIfConfigured-V2H6IFDQ.js +18 -0
- package/dist/raise-OBGNVBLZ.js +330 -0
- package/dist/raiseHelpText-6TECFMWR.js +148 -0
- package/dist/ravendbAuth-53OAERB3.js +147 -0
- package/dist/ravendbCollections-2NZYZR5P.js +35 -0
- package/dist/ravendbQuery-EY2XGKEK.js +89 -0
- package/dist/ravendbSetConnection-U7X27AIP.js +16 -0
- package/dist/readBodyArgument-NZG3GJMF.js +7 -0
- package/dist/readTime-23CA6JVM.js +168 -0
- package/dist/recordSlack-TZH2THZH.js +60 -0
- package/dist/redirect-G7WS7LDE.js +32 -0
- package/dist/refine-K4HJN4Y3.js +87 -0
- package/dist/refreshDocs-A5S2NQ5Z.js +65 -0
- package/dist/releasesConfigure-JA7QNAJF.js +211 -0
- package/dist/releasesList-EETLBTD2.js +39 -0
- package/dist/remove-CSUOZRGT.js +96 -0
- package/dist/remove-VIGXH42Y.js +43 -0
- package/dist/removePhase-S4WFO6PT.js +62 -0
- package/dist/rename-PM5VQUCY.js +96 -0
- package/dist/renameSession-IQ6RHQUJ.js +30 -0
- package/dist/renameSymbol-OOIIGF3B.js +78 -0
- package/dist/reply-4VV4LEYF.js +65 -0
- package/dist/reportCliError-6UDOLAIT.js +42 -0
- package/dist/repos-JP75ZTBU.js +130 -0
- package/dist/resolveHarness-A3F7CDF2.js +17 -0
- package/dist/resolveModel-GHXLN2T4.js +27 -0
- package/dist/restartDaemon-YSKQMKEQ.js +9 -0
- package/dist/restartNode-AAKYY7RP.js +59 -0
- package/dist/restructure-FJ3BME7E.js +760 -0
- package/dist/review-4XGSPYYJ.js +3870 -0
- package/dist/reviewPrComments-G7BLTDCB.js +80 -0
- package/dist/rewindPhase-D74DZJYB.js +82 -0
- package/dist/run-5GK74KHD.js +178 -0
- package/dist/run-E3IAT5WL.js +78 -0
- package/dist/runDaemon-7VRQFO4S.js +9284 -0
- package/dist/runExtract-IUEUT2IK.js +568 -0
- package/dist/runRefine-KCQDMHH7.js +99 -0
- package/dist/runScope-LCAGTKGG.js +39 -0
- package/dist/scan-ZYPLRIEG.js +74 -0
- package/dist/scheduleBackup-3UZQU67U.js +200 -0
- package/dist/schemaConfirm-BWQ37LUT.js +171 -0
- package/dist/schemaUnlock-6VDN2OVT.js +135 -0
- package/dist/screenshot-ARSOZ2M6.js +182 -0
- package/dist/search-JRE2KNWY.js +79 -0
- package/dist/seqAuth-6IPD5OPG.js +50 -0
- package/dist/seqQuery-HL6H4PMX.js +233 -0
- package/dist/seqSetConnection-IUCGBTON.js +30 -0
- package/dist/sessionOutput-NXHUXIKC.js +92 -0
- package/dist/setSessionStatus-HPHBUHVB.js +12 -0
- package/dist/setStatusCommand-WBRJ4BTB.js +61 -0
- package/dist/show-37KECDJB.js +327 -0
- package/dist/show-GL235RVD.js +186 -0
- package/dist/showClaudeCodeIcon-E4SAM3GN.js +12 -0
- package/dist/showCodexIcon-YUAKV4NI.js +11 -0
- package/dist/signExtension-7YGZ6OFR.js +182 -0
- package/dist/simulateDivergence-VB4UL4UR.js +27 -0
- package/dist/skip-ZZHUH3MU.js +76 -0
- package/dist/slack-74LWSKRK.js +221 -0
- package/dist/sloc-KPIIBOMR.js +18 -0
- package/dist/sqlAuth-IN4PYCIX.js +59 -0
- package/dist/sqlColumns-SNPMTHHK.js +50 -0
- package/dist/sqlMutate-4QC4IT4E.js +43 -0
- package/dist/sqlQuery-OAXPQJPY.js +53 -0
- package/dist/sqlSetConnection-UAX7TRB4.js +30 -0
- package/dist/sqlTables-ZM2PUJ7N.js +39 -0
- package/dist/star-2GG4JB3K.js +46 -0
- package/dist/start-BUUHD4ZQ.js +44 -0
- package/dist/startIssue-JSVKGZZR.js +135 -0
- package/dist/status-63OT6MGQ.js +38 -0
- package/dist/{chunk-W7ZLVOL6.js → statusLine-TK2QPCQO.js} +9 -4
- package/dist/stop-HG3UZOI6.js +52 -0
- package/dist/stopClaudeCodeIcon-P4AVHUOL.js +12 -0
- package/dist/stopCodexIcon-7O6D2SEH.js +11 -0
- package/dist/stopDaemon-XIYQ6SAW.js +8 -0
- package/dist/sync-HAAAJ4LC.js +826 -0
- package/dist/testflightAdd-MBJAAJGR.js +37 -0
- package/dist/unassignIssue-OXNUC2QQ.js +37 -0
- package/dist/unlink-TLLWWJIG.js +71 -0
- package/dist/unlinkNode-O7IZD5BN.js +41 -0
- package/dist/unstar-EEKVLJQI.js +46 -0
- package/dist/update-6NKPYHDT.js +72 -0
- package/dist/update-E72CS3ZO.js +160 -0
- package/dist/updateNode-FC4VXOHB.js +99 -0
- package/dist/updatePhase-USTBTRW4.js +163 -0
- package/dist/updatePlan-UIN3U6VU.js +315 -0
- package/dist/version-4E3HWTDD.js +47 -0
- package/dist/viewIssue-CYHIPCFO.js +36 -0
- package/dist/watchLoop-MV7DVGC6.js +30 -0
- package/dist/watchReport-A4W7UOAJ.js +23 -0
- package/dist/watchWait-FF65XUH2.js +538 -0
- package/dist/web-6YNOCOEQ.js +169 -0
- package/dist/web-L4OX5ZDA.js +178 -0
- package/dist/withPool-APJFDKR2.js +18 -0
- package/dist/wontdo-KOV5YLR6.js +52 -0
- package/dist/wontfix-UZTOERNG.js +79 -0
- package/dist/write-PH5YX6V5.js +132 -0
- package/dist/writeSignal-NGH5I4AX.js +8 -0
- package/package.json +1 -1
- package/dist/chunk-MYJJAJB7.js +0 -113
- package/dist/runCli-3UAJHEBP.js +0 -65692
- package/dist/runStatusLine-6VBMFNUZ.js +0 -17
- package/dist/statusLine-PWO6JAR2.js +0 -7
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import {
|
|
2
|
+
remoteDefaultBranch
|
|
3
|
+
} from "./chunk-B3JSQA5D.js";
|
|
4
|
+
import {
|
|
5
|
+
loadConfig
|
|
6
|
+
} from "./chunk-KGFZYUE2.js";
|
|
7
|
+
|
|
8
|
+
// src/shared/pullIfConfigured.ts
|
|
9
|
+
import { execSync as execSync4 } from "child_process";
|
|
10
|
+
import chalk3 from "chalk";
|
|
11
|
+
|
|
12
|
+
// src/shared/catchUpToRemoteDefault.ts
|
|
13
|
+
import { execSync as execSync3 } from "child_process";
|
|
14
|
+
import chalk2 from "chalk";
|
|
15
|
+
|
|
16
|
+
// src/shared/fastForwardTo.ts
|
|
17
|
+
import { execSync as execSync2 } from "child_process";
|
|
18
|
+
import chalk from "chalk";
|
|
19
|
+
|
|
20
|
+
// src/shared/waitForIndexUnlocked.ts
|
|
21
|
+
import { execSync } from "child_process";
|
|
22
|
+
import { existsSync } from "fs";
|
|
23
|
+
import { resolve } from "path";
|
|
24
|
+
var POLL_MS = 200;
|
|
25
|
+
function indexLockPath() {
|
|
26
|
+
try {
|
|
27
|
+
const rel = execSync("git rev-parse --git-path index.lock", {
|
|
28
|
+
encoding: "utf8",
|
|
29
|
+
stdio: ["ignore", "pipe", "ignore"]
|
|
30
|
+
}).trim();
|
|
31
|
+
return rel ? resolve(rel) : void 0;
|
|
32
|
+
} catch {
|
|
33
|
+
return void 0;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function sleepSync(ms) {
|
|
37
|
+
Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, ms);
|
|
38
|
+
}
|
|
39
|
+
function waitForIndexUnlocked(timeoutMs) {
|
|
40
|
+
const lock = indexLockPath();
|
|
41
|
+
if (!lock) return true;
|
|
42
|
+
const deadline = Date.now() + timeoutMs;
|
|
43
|
+
while (existsSync(lock)) {
|
|
44
|
+
if (Date.now() >= deadline) return false;
|
|
45
|
+
sleepSync(POLL_MS);
|
|
46
|
+
}
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// src/shared/fastForwardTo.ts
|
|
51
|
+
var MERGE_ATTEMPTS = 3;
|
|
52
|
+
var LOCK_WAIT_MS = 1e4;
|
|
53
|
+
function fastForwardTo(ref) {
|
|
54
|
+
for (let attempt = 1; ; attempt++) {
|
|
55
|
+
waitForIndexUnlocked(LOCK_WAIT_MS);
|
|
56
|
+
try {
|
|
57
|
+
execSync2(`git merge --ff-only ${ref}`, {
|
|
58
|
+
stdio: ["inherit", "inherit", "pipe"]
|
|
59
|
+
});
|
|
60
|
+
return;
|
|
61
|
+
} catch (error) {
|
|
62
|
+
const stderr = String(error.stderr ?? "");
|
|
63
|
+
process.stderr.write(stderr);
|
|
64
|
+
if (attempt >= MERGE_ATTEMPTS || !stderr.includes("index.lock"))
|
|
65
|
+
throw error;
|
|
66
|
+
console.warn(
|
|
67
|
+
chalk.yellow("git index.lock is held by another process; retrying.")
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// src/shared/catchUpToRemoteDefault.ts
|
|
74
|
+
async function catchUpToRemoteDefault() {
|
|
75
|
+
try {
|
|
76
|
+
execSync3("git fetch", { stdio: "inherit" });
|
|
77
|
+
} catch {
|
|
78
|
+
skip("git fetch failed");
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
const ref = `origin/${await remoteDefaultBranch(process.cwd())}`;
|
|
82
|
+
if (!succeeds(`git rev-parse --verify --quiet ${ref}`)) {
|
|
83
|
+
skip(`the current branch has no upstream and there is no ${ref}`);
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
if (!succeeds(`git merge-base --is-ancestor HEAD ${ref}`)) {
|
|
87
|
+
skip(
|
|
88
|
+
`the current branch has no upstream and has commits of its own not on ${ref}`
|
|
89
|
+
);
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
try {
|
|
93
|
+
fastForwardTo(ref);
|
|
94
|
+
} catch {
|
|
95
|
+
console.error(chalk2.red(`git fast-forward to ${ref} failed; aborting.`));
|
|
96
|
+
process.exit(1);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
function skip(reason) {
|
|
100
|
+
console.warn(chalk2.yellow(`git pull skipped: ${reason}. Continuing.`));
|
|
101
|
+
}
|
|
102
|
+
function succeeds(command) {
|
|
103
|
+
try {
|
|
104
|
+
execSync3(command, { stdio: "ignore" });
|
|
105
|
+
return true;
|
|
106
|
+
} catch {
|
|
107
|
+
return false;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// src/shared/pullIfConfigured.ts
|
|
112
|
+
async function pullIfConfigured() {
|
|
113
|
+
const config = loadConfig();
|
|
114
|
+
if (!config.commit?.pull) return;
|
|
115
|
+
if (hasLocalChanges()) {
|
|
116
|
+
console.warn(
|
|
117
|
+
chalk3.yellow(
|
|
118
|
+
"git pull skipped: working copy has local changes. Continuing."
|
|
119
|
+
)
|
|
120
|
+
);
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
if (!hasUpstream()) {
|
|
124
|
+
await catchUpToRemoteDefault();
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
try {
|
|
128
|
+
execSync4("git fetch", { stdio: "inherit" });
|
|
129
|
+
fastForwardTo("@{u}");
|
|
130
|
+
} catch {
|
|
131
|
+
console.error(chalk3.red("git fast-forward to upstream failed; aborting."));
|
|
132
|
+
process.exit(1);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
function hasUpstream() {
|
|
136
|
+
try {
|
|
137
|
+
execSync4("git rev-parse --abbrev-ref --symbolic-full-name @{upstream}", {
|
|
138
|
+
encoding: "utf8",
|
|
139
|
+
stdio: ["ignore", "pipe", "ignore"]
|
|
140
|
+
});
|
|
141
|
+
return true;
|
|
142
|
+
} catch {
|
|
143
|
+
return false;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
function hasLocalChanges() {
|
|
147
|
+
try {
|
|
148
|
+
const status = execSync4("git status --porcelain", {
|
|
149
|
+
encoding: "utf8"
|
|
150
|
+
});
|
|
151
|
+
return status.trim().length > 0;
|
|
152
|
+
} catch {
|
|
153
|
+
return false;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export {
|
|
158
|
+
pullIfConfigured
|
|
159
|
+
};
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import {
|
|
2
|
+
formatItemId
|
|
3
|
+
} from "./chunk-N65VOEFI.js";
|
|
4
|
+
import {
|
|
5
|
+
previewAnswerWaitBlocker
|
|
6
|
+
} from "./chunk-HXBNHLL3.js";
|
|
7
|
+
import {
|
|
8
|
+
askQuestionEnabled
|
|
9
|
+
} from "./chunk-IBPSXDUB.js";
|
|
10
|
+
import {
|
|
11
|
+
resolveHarness
|
|
12
|
+
} from "./chunk-K6NKWRK4.js";
|
|
13
|
+
import {
|
|
14
|
+
loadConfig
|
|
15
|
+
} from "./chunk-KGFZYUE2.js";
|
|
16
|
+
|
|
17
|
+
// src/commands/backlog/buildManualCheckLines.ts
|
|
18
|
+
function buildManualCheckLines(manualChecks, commitBeforePhaseEnd, askCheck = false) {
|
|
19
|
+
if (manualChecks.length > 0 && askCheck) {
|
|
20
|
+
return [
|
|
21
|
+
"",
|
|
22
|
+
"Once verify passes, run /commit to commit the work before asking the user to perform the manual checks below.",
|
|
23
|
+
"Then raise each manual check with `assist ask-check --check <n> --json - < <file>` as a background task, where <n> is the check's number in the list below, one check at a time, doing no other work until it returns (see the 'Asking for a manual check' advice for the payload). If it exits non-zero before opening, ask for that check in chat instead.",
|
|
24
|
+
"Keep your chat summary to a few lines; the check itself carries the steps.",
|
|
25
|
+
"Manual checks:",
|
|
26
|
+
...manualChecks.map((c, i) => `${i + 1}. ${c}`),
|
|
27
|
+
"",
|
|
28
|
+
"Wait for every manual check to come back works before proceeding; if one doesn't work, fix it and raise it again.",
|
|
29
|
+
'If a check comes back "moved to phase <m>", the user moved it to that later phase: treat it as resolved for this phase and do not raise it again. Moving a check renumbers the checks after it down by one, so pass their new <n>.'
|
|
30
|
+
];
|
|
31
|
+
}
|
|
32
|
+
if (manualChecks.length > 0) {
|
|
33
|
+
return [
|
|
34
|
+
"",
|
|
35
|
+
...commitBeforePhaseEnd ? [
|
|
36
|
+
"Once verify passes, run /commit to commit the work before asking the user to perform the manual checks below."
|
|
37
|
+
] : [],
|
|
38
|
+
"Before marking this phase as done, ask the user to perform these manual checks:",
|
|
39
|
+
...manualChecks.map((c) => `- ${c}`),
|
|
40
|
+
"",
|
|
41
|
+
"Wait for the user to confirm all manual checks pass before proceeding."
|
|
42
|
+
];
|
|
43
|
+
}
|
|
44
|
+
if (commitBeforePhaseEnd) {
|
|
45
|
+
return [
|
|
46
|
+
"",
|
|
47
|
+
"Once verify passes, run /commit to commit the work before marking this phase as done."
|
|
48
|
+
];
|
|
49
|
+
}
|
|
50
|
+
return [];
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// src/commands/backlog/buildCommentLines.ts
|
|
54
|
+
function buildCommentLines(comments) {
|
|
55
|
+
if (!comments?.length) return [];
|
|
56
|
+
return ["", "Comments:", ...comments.map(formatPromptComment)];
|
|
57
|
+
}
|
|
58
|
+
function formatPromptComment(entry) {
|
|
59
|
+
const id = entry.id !== void 0 ? `#${entry.id} ` : "";
|
|
60
|
+
const tag = entry.type === "summary" ? "[summary]" : "[comment]";
|
|
61
|
+
const phase = entry.phase !== void 0 ? ` (phase ${entry.phase})` : "";
|
|
62
|
+
return `${id}${tag}${phase} ${entry.timestamp}
|
|
63
|
+
${entry.text}`;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// src/commands/backlog/buildContextLines.ts
|
|
67
|
+
function buildContextLines(item, phaseNumber, phase) {
|
|
68
|
+
const ac = item.acceptanceCriteria.map((c, i) => `${i + 1}. ${c}`).join("\n");
|
|
69
|
+
return [
|
|
70
|
+
`You are implementing phase ${phaseNumber} of backlog item ${formatItemId(item.id)}: ${item.name}`,
|
|
71
|
+
"",
|
|
72
|
+
item.description ? `Description: ${item.description}` : "",
|
|
73
|
+
"",
|
|
74
|
+
"Acceptance criteria:",
|
|
75
|
+
ac,
|
|
76
|
+
...buildCommentLines(item.comments),
|
|
77
|
+
"",
|
|
78
|
+
`Phase ${phaseNumber}: ${phase.name}`,
|
|
79
|
+
"Tasks:",
|
|
80
|
+
formatTasks(phase)
|
|
81
|
+
];
|
|
82
|
+
}
|
|
83
|
+
function formatTasks(phase) {
|
|
84
|
+
return phase.tasks.map((t) => `- ${t.task}`).join("\n");
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// src/commands/backlog/buildAuthoredPhasePrompt.ts
|
|
88
|
+
function buildAuthoredPhasePrompt(item, phaseNumber, phase, options = {
|
|
89
|
+
commitBeforePhaseEnd: false
|
|
90
|
+
}) {
|
|
91
|
+
const manualChecks = phase.manualChecks ?? [];
|
|
92
|
+
const needsConfirmation = manualChecks.length > 0;
|
|
93
|
+
const confirmSuffix = needsConfirmation ? " and the user confirms" : "";
|
|
94
|
+
return [
|
|
95
|
+
...buildContextLines(item, phaseNumber, phase),
|
|
96
|
+
...buildStartedLines(item, phaseNumber),
|
|
97
|
+
"",
|
|
98
|
+
"Focus ONLY on this phase. Do not work on other phases.",
|
|
99
|
+
"If you need to modify backlog items, run `assist backlog --help` to discover available commands.",
|
|
100
|
+
"When you have completed all tasks for this phase, run /verify to check your work.",
|
|
101
|
+
...buildManualCheckLines(
|
|
102
|
+
manualChecks,
|
|
103
|
+
options.commitBeforePhaseEnd,
|
|
104
|
+
options.askCheck
|
|
105
|
+
),
|
|
106
|
+
"",
|
|
107
|
+
`Post concise comments for any notable findings or changes using \`assist backlog comment ${formatItemId(item.id)} "<text>"\`.`,
|
|
108
|
+
"",
|
|
109
|
+
`Once verify passes${confirmSuffix}, run: assist backlog phase-done ${formatItemId(item.id)} ${phaseNumber} "<summary>"`,
|
|
110
|
+
"Replace <summary> with a concise summary of what was done in this phase."
|
|
111
|
+
].filter((line) => line !== void 0).join("\n");
|
|
112
|
+
}
|
|
113
|
+
function buildStartedLines(item, phaseNumber) {
|
|
114
|
+
if (phaseNumber !== 1) return [];
|
|
115
|
+
const command = item.jiraKey ? `/jira started ${item.jiraKey}` : item.githubIssue ? `/github started ${item.githubIssue}` : void 0;
|
|
116
|
+
if (!command) return [];
|
|
117
|
+
return [
|
|
118
|
+
"",
|
|
119
|
+
`As your first step, before any implementation, run \`${command}\` to assign the issue to yourself and transition it to In Progress.`
|
|
120
|
+
];
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// src/commands/backlog/buildReviewCheckLines.ts
|
|
124
|
+
function buildReviewCheckLines(manualChecks, askCheck) {
|
|
125
|
+
if (manualChecks.length === 0) return [];
|
|
126
|
+
const list = manualChecks.map((c, i) => `${i + 1}. ${c}`);
|
|
127
|
+
if (askCheck) {
|
|
128
|
+
return [
|
|
129
|
+
"Manual checks moved to this Review phase:",
|
|
130
|
+
...list,
|
|
131
|
+
"",
|
|
132
|
+
"Raise each of these with `assist ask-check --json - < <file>` as a background task, one check at a time, doing no other work until it returns (see the 'Asking for a manual check' advice for the payload). If it exits non-zero before opening, ask for that check in chat instead. Wait for every one to come back works; if one doesn't work, fix it and raise it again.",
|
|
133
|
+
""
|
|
134
|
+
];
|
|
135
|
+
}
|
|
136
|
+
return [
|
|
137
|
+
"Manual checks moved to this Review phase \u2014 ask the user to perform each one and wait for them to confirm it passes:",
|
|
138
|
+
...list,
|
|
139
|
+
""
|
|
140
|
+
];
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// src/commands/backlog/buildReviewCompletionLines.ts
|
|
144
|
+
function buildReviewCompletionLines(itemId, phaseNumber) {
|
|
145
|
+
return [
|
|
146
|
+
"What counts as a completion confirmation \u2014 read carefully:",
|
|
147
|
+
"- Marking the item done/phase-done requires an explicit, unambiguous instruction to complete it (e.g. the user says the item is done/accepted or tells you to mark it complete). Nothing else counts.",
|
|
148
|
+
"- Approving or running an unrelated action is NOT a completion signal. In particular, approving a `/pr`, raising a PR, or posting it to Slack via `/prs-slack` does not mean the item is complete \u2014 raising and announcing a PR is not confirmation that the story is done. Never run `done`/`phase-done` as a side effect of those actions.",
|
|
149
|
+
"- If it is unclear whether the user's message is a completion confirmation, ask them explicitly before running done/phase-done.",
|
|
150
|
+
"",
|
|
151
|
+
"Once the user gives that explicit completion instruction:",
|
|
152
|
+
"1. Run: /commit",
|
|
153
|
+
`2. Run: assist backlog done ${itemId} "<summary>"`,
|
|
154
|
+
`3. Run: assist backlog phase-done ${itemId} ${phaseNumber} "done"`,
|
|
155
|
+
"",
|
|
156
|
+
"Precedence rules \u2014 read carefully:",
|
|
157
|
+
"- An explicit completion instruction plus a successful commit means the work is complete. Always finish with done + phase-done; never rewind already-approved, committed work as an automatic response.",
|
|
158
|
+
"- If the implementation has diverged from the recorded acceptance criteria but the user has approved it, the default is still to complete the item. You may optionally offer to update the acceptance criteria, but stale criteria are not a reason to rewind.",
|
|
159
|
+
`- Rewinding is a confirm-first exception, not the normal path. If you believe a criterion genuinely no longer fits and the work should return to an earlier phase, you must ask the user and get explicit confirmation first. Only after they confirm may you run \`assist backlog rewind ${itemId} <phase> --reason "<reason>"\`. Never rewind silently.`
|
|
160
|
+
];
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
// src/commands/backlog/buildReviewPrompt.ts
|
|
164
|
+
function buildReviewPrompt(item, phaseNumber, options = {
|
|
165
|
+
commitBeforePhaseEnd: false
|
|
166
|
+
}) {
|
|
167
|
+
const acLines = item.acceptanceCriteria.map((ac, i) => `${i + 1}. ${ac}`).join("\n");
|
|
168
|
+
const itemId = formatItemId(item.id);
|
|
169
|
+
return [
|
|
170
|
+
`You are reviewing backlog item ${itemId}: ${item.name}`,
|
|
171
|
+
"",
|
|
172
|
+
item.description ? `Description: ${item.description}` : "",
|
|
173
|
+
"",
|
|
174
|
+
"This is the auto-generated review phase. Verify each acceptance criterion against the current implementation.",
|
|
175
|
+
"If you need to modify backlog items, run `assist backlog --help` to discover available commands.",
|
|
176
|
+
"For each criterion, inspect the code and report PASS or FAIL with a brief explanation:",
|
|
177
|
+
"",
|
|
178
|
+
acLines,
|
|
179
|
+
...buildCommentLines(item.comments),
|
|
180
|
+
"",
|
|
181
|
+
"If any criterion fails, fix the issue and re-verify.",
|
|
182
|
+
"",
|
|
183
|
+
`Post concise comments for any notable findings or changes using \`assist backlog comment ${itemId} "<text>"\`.`,
|
|
184
|
+
"",
|
|
185
|
+
...options.commitBeforePhaseEnd ? [
|
|
186
|
+
"Before asking the user to confirm manual checks, run /commit to commit the work (it is fine if there is nothing new to commit).",
|
|
187
|
+
""
|
|
188
|
+
] : [],
|
|
189
|
+
...buildReviewCheckLines(
|
|
190
|
+
options.manualChecks ?? [],
|
|
191
|
+
options.askCheck === true
|
|
192
|
+
),
|
|
193
|
+
"After all criteria pass, ask the user to confirm any manual checks",
|
|
194
|
+
"(e.g. end-to-end behaviour they need to verify themselves).",
|
|
195
|
+
"Wait for the user to confirm before proceeding.",
|
|
196
|
+
"",
|
|
197
|
+
...buildReviewCompletionLines(itemId, phaseNumber)
|
|
198
|
+
].filter((line) => line !== void 0).join("\n");
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
// src/commands/backlog/buildPhasePrompt.ts
|
|
202
|
+
var REVIEW_PHASE_NAME = "Review";
|
|
203
|
+
function buildPhasePrompt(item, phaseNumber, phase, harness) {
|
|
204
|
+
const config = loadConfig();
|
|
205
|
+
const worktree = config.worktree;
|
|
206
|
+
const commitBeforePhaseEnd = worktree?.commitBeforePhaseEnd ?? worktree?.commitBeforeManualChecks ?? false;
|
|
207
|
+
const askCheck = askQuestionEnabled(config) && previewAnswerWaitBlocker(resolveHarness(harness)) === void 0;
|
|
208
|
+
if (phase.name === REVIEW_PHASE_NAME) {
|
|
209
|
+
return buildReviewPrompt(item, phaseNumber, {
|
|
210
|
+
commitBeforePhaseEnd,
|
|
211
|
+
askCheck,
|
|
212
|
+
manualChecks: phase.manualChecks
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
return buildAuthoredPhasePrompt(item, phaseNumber, phase, {
|
|
216
|
+
commitBeforePhaseEnd,
|
|
217
|
+
askCheck
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export {
|
|
222
|
+
REVIEW_PHASE_NAME,
|
|
223
|
+
buildPhasePrompt
|
|
224
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runGhOrThrow
|
|
3
|
+
} from "./chunk-JHBA5IZR.js";
|
|
4
|
+
|
|
5
|
+
// src/commands/github/issue/assignIssueToSelf.ts
|
|
6
|
+
function assignIssueToSelf(number, repo) {
|
|
7
|
+
runGhOrThrow(
|
|
8
|
+
["issue", "edit", String(number), "--repo", repo, "--add-assignee", "@me"],
|
|
9
|
+
`Could not assign ${repo}#${number} to you`
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export {
|
|
14
|
+
assignIssueToSelf
|
|
15
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
awaitPreviewApproval
|
|
3
|
+
} from "./chunk-RPRL6G4R.js";
|
|
4
|
+
|
|
5
|
+
// src/commands/prs/reviewProposedPrComment.ts
|
|
6
|
+
import { randomUUID } from "crypto";
|
|
7
|
+
async function reviewProposedPrComment(title, body, prNumber) {
|
|
8
|
+
const sessionId = process.env.ASSIST_SESSION_ID;
|
|
9
|
+
if (process.env.ASSIST_SESSION !== "1" || !sessionId) return;
|
|
10
|
+
await awaitPreviewApproval("PR comment preview", {
|
|
11
|
+
sessionId,
|
|
12
|
+
requestId: randomUUID(),
|
|
13
|
+
title,
|
|
14
|
+
body,
|
|
15
|
+
prNumber,
|
|
16
|
+
kind: "pr-comment"
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export {
|
|
21
|
+
reviewProposedPrComment
|
|
22
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getGlobalConfigPath
|
|
3
|
+
} from "./chunk-LBAPKP6M.js";
|
|
4
|
+
|
|
5
|
+
// src/commands/config/globalConfigFileLabel.ts
|
|
6
|
+
var WINDOWS_MOUNT_PREFIX = "/mnt/";
|
|
7
|
+
function globalConfigFileLabel(path) {
|
|
8
|
+
if (path === getGlobalConfigPath()) return "~/.assist.yml";
|
|
9
|
+
if (path.startsWith(WINDOWS_MOUNT_PREFIX))
|
|
10
|
+
return `${path} on the Windows host`;
|
|
11
|
+
return path;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export {
|
|
15
|
+
globalConfigFileLabel
|
|
16
|
+
};
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import {
|
|
2
|
+
loadAdviceFragments
|
|
3
|
+
} from "./chunk-P7FVAGFQ.js";
|
|
4
|
+
import {
|
|
5
|
+
previewAnswerWaitBlocker
|
|
6
|
+
} from "./chunk-HXBNHLL3.js";
|
|
7
|
+
import {
|
|
8
|
+
askQuestionEnabled
|
|
9
|
+
} from "./chunk-IBPSXDUB.js";
|
|
10
|
+
import {
|
|
11
|
+
resolveRunConfigs
|
|
12
|
+
} from "./chunk-G44QYJ57.js";
|
|
13
|
+
import {
|
|
14
|
+
findConfigUp,
|
|
15
|
+
loadConfigFrom
|
|
16
|
+
} from "./chunk-LBAPKP6M.js";
|
|
17
|
+
|
|
18
|
+
// src/commands/advise/adviceContextFor.ts
|
|
19
|
+
function adviceContextFor(cwd, env = process.env) {
|
|
20
|
+
return {
|
|
21
|
+
config: loadConfigFrom(cwd),
|
|
22
|
+
rootDir: findConfigUp(cwd)?.rootDir ?? cwd,
|
|
23
|
+
assistSession: env.ASSIST_SESSION === "1",
|
|
24
|
+
previewAnswerWait: previewAnswerWaitBlocker() === void 0
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// src/commands/advise/verifyRunCommandNames.ts
|
|
29
|
+
function verifyRunCommandNames({
|
|
30
|
+
config,
|
|
31
|
+
rootDir
|
|
32
|
+
}) {
|
|
33
|
+
return resolveRunConfigs(config.run, rootDir).map((entry) => entry.name).filter((name) => name.startsWith("verify"));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// src/commands/advise/renderAdviceBody.ts
|
|
37
|
+
var adviceVariables = {
|
|
38
|
+
verifyCommands: (context) => verifyRunCommandNames(context).map((name) => `\`${name}\``).join(", ")
|
|
39
|
+
};
|
|
40
|
+
var adviceOverrides = {
|
|
41
|
+
verify: ({ config }) => config.advice?.verify
|
|
42
|
+
};
|
|
43
|
+
function renderAdviceBody(fragment, context) {
|
|
44
|
+
const override = adviceOverrides[fragment.name]?.(context);
|
|
45
|
+
if (override !== void 0) return override.trim();
|
|
46
|
+
return fragment.body.replace(/\{\{(\w+)\}\}/g, (_, name) => {
|
|
47
|
+
const variable = adviceVariables[name];
|
|
48
|
+
if (!variable)
|
|
49
|
+
throw new Error(
|
|
50
|
+
`Advice fragment ${fragment.name} uses unknown variable "${name}"`
|
|
51
|
+
);
|
|
52
|
+
return variable(context);
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// src/commands/advise/adviceConditions.ts
|
|
57
|
+
import { existsSync } from "fs";
|
|
58
|
+
import { join } from "path";
|
|
59
|
+
function repoFile(file, label) {
|
|
60
|
+
return {
|
|
61
|
+
whenMet: `the repo has ${label}`,
|
|
62
|
+
whenUnmet: `the repo has no ${label}`,
|
|
63
|
+
matches: ({ rootDir }) => existsSync(join(rootDir, file))
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
var adviceConditions = {
|
|
67
|
+
always: {
|
|
68
|
+
whenMet: "always included",
|
|
69
|
+
whenUnmet: "always included",
|
|
70
|
+
matches: () => true
|
|
71
|
+
},
|
|
72
|
+
jira: {
|
|
73
|
+
whenMet: "jira is configured",
|
|
74
|
+
whenUnmet: "jira is not configured",
|
|
75
|
+
matches: ({ config }) => config.jira !== void 0
|
|
76
|
+
},
|
|
77
|
+
assistSession: {
|
|
78
|
+
whenMet: "the session was launched by assist",
|
|
79
|
+
whenUnmet: "the session was not launched by assist",
|
|
80
|
+
matches: ({ assistSession }) => assistSession
|
|
81
|
+
},
|
|
82
|
+
askQuestion: {
|
|
83
|
+
whenMet: "sessions.askQuestion is on in an assist-launched session whose harness wakes the agent when the answer arrives",
|
|
84
|
+
whenUnmet: "the session was not launched by assist, sessions.askQuestion is off, or the harness cannot wake the agent when the answer arrives",
|
|
85
|
+
matches: ({ assistSession, config, previewAnswerWait }) => assistSession && previewAnswerWait && askQuestionEnabled(config)
|
|
86
|
+
},
|
|
87
|
+
typescript: repoFile("tsconfig.json", "a tsconfig.json"),
|
|
88
|
+
filenameConvention: repoFile(
|
|
89
|
+
join("oxlint-rules", "filenameConvention.ts"),
|
|
90
|
+
"oxlint-rules/filenameConvention.ts"
|
|
91
|
+
),
|
|
92
|
+
claudeSettings: repoFile(
|
|
93
|
+
join("claude", "settings.json"),
|
|
94
|
+
"claude/settings.json"
|
|
95
|
+
),
|
|
96
|
+
verify: {
|
|
97
|
+
whenMet: "the repo has verify commands",
|
|
98
|
+
whenUnmet: "the repo has no verify* run command",
|
|
99
|
+
matches: (context) => context.config.advice?.verify !== void 0 || verifyRunCommandNames(context).length > 0
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
// src/commands/advise/selectAdvice.ts
|
|
104
|
+
function decide(fragment, context) {
|
|
105
|
+
const sections = context.config.advice?.sections ?? {};
|
|
106
|
+
const override = sections[fragment.name];
|
|
107
|
+
if (override !== void 0)
|
|
108
|
+
return {
|
|
109
|
+
fragment,
|
|
110
|
+
included: override,
|
|
111
|
+
reason: `advice.sections.${fragment.name} is ${override}`
|
|
112
|
+
};
|
|
113
|
+
const condition = adviceConditions[fragment.when];
|
|
114
|
+
if (!condition)
|
|
115
|
+
return {
|
|
116
|
+
fragment,
|
|
117
|
+
included: false,
|
|
118
|
+
reason: `unknown condition "${fragment.when}"`
|
|
119
|
+
};
|
|
120
|
+
const included = condition.matches(context);
|
|
121
|
+
return {
|
|
122
|
+
fragment,
|
|
123
|
+
included,
|
|
124
|
+
reason: included ? condition.whenMet : condition.whenUnmet
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
function selectAdvice(fragments, context) {
|
|
128
|
+
return fragments.map((fragment) => decide(fragment, context));
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// src/commands/advise/composeAdvice.ts
|
|
132
|
+
var heading = "# Instructions for this repo (composed by assist)";
|
|
133
|
+
function composeAdvice(context, fragments = loadAdviceFragments()) {
|
|
134
|
+
const sections = selectAdvice(fragments, context).filter((decision) => decision.included).map(
|
|
135
|
+
({ fragment }) => `## ${fragment.title}
|
|
136
|
+
|
|
137
|
+
${renderAdviceBody(fragment, context)}`
|
|
138
|
+
);
|
|
139
|
+
const extra = context.config.advice?.extra?.trim();
|
|
140
|
+
if (extra) sections.push(`## Repo notes
|
|
141
|
+
|
|
142
|
+
${extra}`);
|
|
143
|
+
const rules = context.config.advice?.rules ?? [];
|
|
144
|
+
if (rules.length > 0)
|
|
145
|
+
sections.push(
|
|
146
|
+
`## Your rules
|
|
147
|
+
|
|
148
|
+
${rules.map(({ title, text }) => `- **${title}** \u2014 ${text}`).join("\n")}`
|
|
149
|
+
);
|
|
150
|
+
if (sections.length === 0) return "";
|
|
151
|
+
return [heading, ...sections].join("\n\n");
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// src/commands/advise/adviceHookPayload.ts
|
|
155
|
+
function adviceHookPayload(cwd) {
|
|
156
|
+
const markdown = composeAdvice(adviceContextFor(cwd));
|
|
157
|
+
if (!markdown) return void 0;
|
|
158
|
+
return {
|
|
159
|
+
hookSpecificOutput: {
|
|
160
|
+
hookEventName: "SessionStart",
|
|
161
|
+
additionalContext: markdown
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export {
|
|
167
|
+
adviceContextFor,
|
|
168
|
+
selectAdvice,
|
|
169
|
+
composeAdvice,
|
|
170
|
+
adviceHookPayload
|
|
171
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// src/shared/getInstallDir.ts
|
|
2
|
+
import { execSync } from "child_process";
|
|
3
|
+
import { dirname, resolve } from "path";
|
|
4
|
+
import { fileURLToPath } from "url";
|
|
5
|
+
var __filename = fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = dirname(__filename);
|
|
7
|
+
function getInstallDir() {
|
|
8
|
+
return resolve(__dirname, "..");
|
|
9
|
+
}
|
|
10
|
+
function isGitRepo(dir) {
|
|
11
|
+
try {
|
|
12
|
+
const result = execSync("git rev-parse --show-toplevel", {
|
|
13
|
+
cwd: dir,
|
|
14
|
+
stdio: "pipe",
|
|
15
|
+
windowsHide: true
|
|
16
|
+
}).toString().trim();
|
|
17
|
+
return resolve(result) === resolve(dir);
|
|
18
|
+
} catch {
|
|
19
|
+
return false;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export {
|
|
24
|
+
getInstallDir,
|
|
25
|
+
isGitRepo
|
|
26
|
+
};
|