@staff0rd/assist 0.1143.1 → 0.1143.3
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-XDHJ7CV5.js +120 -0
- package/dist/addPhase-XZO6BH26.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-YDAJA5NI.js +96 -0
- package/dist/analyze-2ECBFV3E.js +63 -0
- package/dist/ask-ESCDDQH5.js +47 -0
- package/dist/askCheck-WILQF3JN.js +303 -0
- package/dist/askDesign-RDIXLTMM.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-7NZ5K4AI.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-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-43GYFW24.js +170 -0
- package/dist/chunk-46B7OBV4.js +21 -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-4TIDERIW.js +12 -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-5CCCIT5E.js +33 -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-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-7HNRCA3N.js +12 -0
- package/dist/chunk-7MUAIGYQ.js +56 -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-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-AWAUWR2H.js +258 -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-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-CSQLE62N.js +7450 -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-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-EF7AXKON.js +187 -0
- package/dist/chunk-EHRQ6OST.js +53 -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-F2GXOU5H.js +171 -0
- package/dist/chunk-F2LP5MBV.js +26 -0
- package/dist/chunk-FFKJYEDJ.js +73 -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-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-GLIYWSW7.js +208 -0
- package/dist/chunk-GOGGPW2L.js +143 -0
- package/dist/chunk-GQF23TWI.js +14 -0
- package/dist/chunk-GQMP5NS4.js +15 -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-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-I2ZQXBOS.js +108 -0
- package/dist/chunk-I3TEQBTO.js +88 -0
- package/dist/chunk-I5MLH7WJ.js +27 -0
- package/dist/chunk-IBPSXDUB.js +8 -0
- package/dist/chunk-IDFJE5DP.js +224 -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-IRUDR6GR.js +63 -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-J7XASX4N.js +733 -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-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-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-LGMCQUJJ.js +40 -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-M3QEBIQL.js +855 -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-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-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-O5NYB4W5.js +31 -0
- package/dist/chunk-O6GPPB6G.js +26 -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-OUT62LF4.js +111 -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-PNOSR4S4.js +152 -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-Q55RN3EG.js +43 -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-QDQ6A2MZ.js +23 -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-R33SW6V2.js +104 -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-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-S3I6PZTN.js +438 -0
- package/dist/chunk-S4S2DD5Z.js +16 -0
- package/dist/chunk-S4Y7TLRT.js +12 -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-SDMBTSYP.js +15 -0
- package/dist/chunk-SDOEWLEE.js +22 -0
- package/dist/chunk-SEXIHLGA.js +16 -0
- package/dist/chunk-SSKHLBQB.js +15 -0
- package/dist/chunk-STUWMYJ3.js +3941 -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-T5WE33UZ.js +70 -0
- package/dist/chunk-T7ZPGAB5.js +192 -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-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-UJX7N737.js +101 -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-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-VNPRH5XZ.js +143 -0
- package/dist/chunk-VPMI4LV2.js +25 -0
- package/dist/chunk-VQZVG7KJ.js +46 -0
- package/dist/chunk-VRQ4WDF7.js +22 -0
- package/dist/chunk-W5FPQALS.js +36 -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-WIG7VKXE.js +92 -0
- package/dist/chunk-WOGUXGZS.js +32 -0
- package/dist/chunk-WUG2UGQC.js +136 -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-XGG4NZLE.js +210 -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-Y46IKU4U.js +46 -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-Z76MGO4R.js +284 -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-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-QGUENERI.js +96 -0
- package/dist/cliHookCheck-VLLUDLZD.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-24HGGAM3.js +200 -0
- package/dist/codexHookTrust-YYBCCR7P.js +59 -0
- package/dist/commands/sessions/web/bundle.js +257 -257
- 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-OWV2KIOD.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-KURLWXJF.js +131 -0
- package/dist/done-ZQCDA2OJ.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-YPYSRJLU.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-SW33MRTL.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-VKS5XM4V.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-OWWW2G36.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-XRXA7ZLN.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-WWYLIELZ.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-PYAPK2PU.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-NAJUWIFV.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-GAM4QS3V.js +59 -0
- package/dist/restructure-FJ3BME7E.js +760 -0
- package/dist/review-IXQ67Q2I.js +3870 -0
- package/dist/reviewPrComments-YELGPQIH.js +80 -0
- package/dist/rewindPhase-RKEURCE5.js +82 -0
- package/dist/run-JEUQGX5U.js +78 -0
- package/dist/run-KI7FYVOY.js +178 -0
- package/dist/runDaemon-WNUM5HUG.js +9292 -0
- package/dist/runExtract-IUEUT2IK.js +568 -0
- package/dist/runRefine-DWJATWCB.js +99 -0
- package/dist/runScope-LCAGTKGG.js +39 -0
- package/dist/scan-VM2LYP6W.js +74 -0
- package/dist/scheduleBackup-3UZQU67U.js +200 -0
- package/dist/schemaConfirm-WZCBGM7A.js +171 -0
- package/dist/schemaUnlock-JKXSG6BI.js +135 -0
- package/dist/screenshot-ARSOZ2M6.js +182 -0
- package/dist/search-HLB25O4S.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-65RGZKWW.js +327 -0
- package/dist/show-SPEIA7AL.js +186 -0
- package/dist/showClaudeCodeIcon-E4SAM3GN.js +12 -0
- package/dist/showCodexIcon-YUAKV4NI.js +11 -0
- package/dist/signExtension-VF34F7UR.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-4IYWN3MS.js +99 -0
- package/dist/updatePhase-USTBTRW4.js +163 -0
- package/dist/updatePlan-RV77RV4J.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-3X54NV64.js +178 -0
- package/dist/web-XW33SYEX.js +169 -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-OSXLT6CQ.js +0 -65704
- package/dist/runStatusLine-6VBMFNUZ.js +0 -17
- package/dist/statusLine-PWO6JAR2.js +0 -7
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runGhGraphqlJson
|
|
3
|
+
} from "./chunk-4BVUY25U.js";
|
|
4
|
+
|
|
5
|
+
// src/commands/github/issue/projectV2Query.ts
|
|
6
|
+
function projectV2Query(root) {
|
|
7
|
+
return `query($owner: String!, $number: Int!) {
|
|
8
|
+
${root}(login: $owner) {
|
|
9
|
+
projectV2(number: $number) {
|
|
10
|
+
id
|
|
11
|
+
title
|
|
12
|
+
field(name: "Status") {
|
|
13
|
+
... on ProjectV2SingleSelectField { id options { id name } }
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}`;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// src/commands/github/issue/readProject.ts
|
|
21
|
+
function readProject(owner, number, root) {
|
|
22
|
+
let raw;
|
|
23
|
+
try {
|
|
24
|
+
raw = runGhGraphqlJson(projectV2Query(root), { owner, number });
|
|
25
|
+
} catch (error) {
|
|
26
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
27
|
+
if (root === "organization" && message.includes("Could not resolve to an")) {
|
|
28
|
+
return void 0;
|
|
29
|
+
}
|
|
30
|
+
throw error;
|
|
31
|
+
}
|
|
32
|
+
const project = JSON.parse(raw).data?.[root]?.projectV2;
|
|
33
|
+
if (!project?.id) return void 0;
|
|
34
|
+
const field = project.field;
|
|
35
|
+
return {
|
|
36
|
+
id: project.id,
|
|
37
|
+
number,
|
|
38
|
+
title: project.title ?? String(number),
|
|
39
|
+
statusField: field?.id ? { id: field.id, options: field.options ?? [] } : void 0
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// src/commands/github/issue/fetchProjectV2.ts
|
|
44
|
+
function fetchProjectV2(owner, number) {
|
|
45
|
+
const project = readProject(owner, number, "organization") ?? readProject(owner, number, "user");
|
|
46
|
+
if (!project) {
|
|
47
|
+
throw new Error(`No project ${number} owned by ${owner} could be read`);
|
|
48
|
+
}
|
|
49
|
+
return project;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export {
|
|
53
|
+
fetchProjectV2
|
|
54
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// src/commands/review/startChainedSession.ts
|
|
2
|
+
async function startChainedSession(label, start) {
|
|
3
|
+
if (process.env.ASSIST_SESSION !== "1") return;
|
|
4
|
+
try {
|
|
5
|
+
await start();
|
|
6
|
+
console.log(`Started ${label}.`);
|
|
7
|
+
} catch (error) {
|
|
8
|
+
console.error(
|
|
9
|
+
`Warning: could not start ${label}: ${error instanceof Error ? error.message : String(error)}`
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export {
|
|
15
|
+
startChainedSession
|
|
16
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
startChainedSession
|
|
3
|
+
} from "./chunk-YS3HSXSJ.js";
|
|
4
|
+
import {
|
|
5
|
+
requestPromptSession
|
|
6
|
+
} from "./chunk-PGQK356A.js";
|
|
7
|
+
|
|
8
|
+
// src/commands/review/announcePr.ts
|
|
9
|
+
function announcePr(prNumber) {
|
|
10
|
+
return startChainedSession(
|
|
11
|
+
`a Slack announce session for PR #${prNumber}`,
|
|
12
|
+
() => requestPromptSession(
|
|
13
|
+
`/prs-slack ${prNumber} --no-confirm`,
|
|
14
|
+
process.cwd(),
|
|
15
|
+
{ inPlace: true }
|
|
16
|
+
)
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export {
|
|
21
|
+
announcePr
|
|
22
|
+
};
|
|
@@ -0,0 +1,513 @@
|
|
|
1
|
+
import {
|
|
2
|
+
harnessKinds
|
|
3
|
+
} from "./chunk-USKD27FY.js";
|
|
4
|
+
import {
|
|
5
|
+
adviceFragmentNames
|
|
6
|
+
} from "./chunk-HN7MFXZ7.js";
|
|
7
|
+
import {
|
|
8
|
+
defaultCriticalPaths,
|
|
9
|
+
parseDuration
|
|
10
|
+
} from "./chunk-DZGYHAE7.js";
|
|
11
|
+
|
|
12
|
+
// src/shared/types.ts
|
|
13
|
+
import { z as z6 } from "zod";
|
|
14
|
+
|
|
15
|
+
// src/shared/durationSchema.ts
|
|
16
|
+
import { z } from "zod";
|
|
17
|
+
var durationSchema = z.string().superRefine((value, ctx) => {
|
|
18
|
+
try {
|
|
19
|
+
parseDuration(value);
|
|
20
|
+
} catch (error) {
|
|
21
|
+
ctx.addIssue({ code: "custom", message: error.message });
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
// src/shared/hotkeys/hotkeysSchema.ts
|
|
26
|
+
import { z as z2 } from "zod";
|
|
27
|
+
|
|
28
|
+
// src/shared/hotkeys/hotkeyKeyCode.ts
|
|
29
|
+
var PUNCTUATION_CODES = {
|
|
30
|
+
"/": "Slash",
|
|
31
|
+
".": "Period",
|
|
32
|
+
",": "Comma",
|
|
33
|
+
";": "Semicolon",
|
|
34
|
+
"'": "Quote",
|
|
35
|
+
"[": "BracketLeft",
|
|
36
|
+
"]": "BracketRight",
|
|
37
|
+
"\\": "Backslash",
|
|
38
|
+
"-": "Minus",
|
|
39
|
+
"=": "Equal",
|
|
40
|
+
"`": "Backquote"
|
|
41
|
+
};
|
|
42
|
+
var NAMED_KEYS = [
|
|
43
|
+
"Enter",
|
|
44
|
+
"Space",
|
|
45
|
+
"Escape",
|
|
46
|
+
"Backspace",
|
|
47
|
+
"Delete",
|
|
48
|
+
"Insert",
|
|
49
|
+
"Home",
|
|
50
|
+
"End",
|
|
51
|
+
"PageUp",
|
|
52
|
+
"PageDown",
|
|
53
|
+
"ArrowUp",
|
|
54
|
+
"ArrowDown",
|
|
55
|
+
"ArrowLeft",
|
|
56
|
+
"ArrowRight"
|
|
57
|
+
];
|
|
58
|
+
function hotkeyKeyCode(token) {
|
|
59
|
+
if (/^[a-z]$/i.test(token)) {
|
|
60
|
+
const label = token.toUpperCase();
|
|
61
|
+
return { code: `Key${label}`, label };
|
|
62
|
+
}
|
|
63
|
+
if (/^\d$/.test(token)) return { code: `Digit${token}`, label: token };
|
|
64
|
+
const punctuation = PUNCTUATION_CODES[token];
|
|
65
|
+
if (punctuation) return { code: punctuation, label: token };
|
|
66
|
+
if (/^F([1-9]|1[0-2])$/i.test(token)) {
|
|
67
|
+
const label = token.toUpperCase();
|
|
68
|
+
return { code: label, label };
|
|
69
|
+
}
|
|
70
|
+
const named = NAMED_KEYS.find(
|
|
71
|
+
(name) => name.toLowerCase() === token.toLowerCase()
|
|
72
|
+
);
|
|
73
|
+
return named ? { code: named, label: named } : void 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// src/shared/hotkeys/parseModifiers.ts
|
|
77
|
+
var MODIFIER_ALIASES = {
|
|
78
|
+
mod: "Mod",
|
|
79
|
+
ctrl: "Ctrl",
|
|
80
|
+
control: "Ctrl",
|
|
81
|
+
alt: "Alt",
|
|
82
|
+
option: "Alt",
|
|
83
|
+
opt: "Alt",
|
|
84
|
+
shift: "Shift",
|
|
85
|
+
meta: "Meta",
|
|
86
|
+
cmd: "Meta",
|
|
87
|
+
command: "Meta",
|
|
88
|
+
win: "Meta"
|
|
89
|
+
};
|
|
90
|
+
var MODIFIER_ORDER = [
|
|
91
|
+
"Mod",
|
|
92
|
+
"Ctrl",
|
|
93
|
+
"Alt",
|
|
94
|
+
"Shift",
|
|
95
|
+
"Meta"
|
|
96
|
+
];
|
|
97
|
+
function parseModifiers(tokens, text) {
|
|
98
|
+
const modifiers = /* @__PURE__ */ new Set();
|
|
99
|
+
for (const token of tokens) {
|
|
100
|
+
const modifier = MODIFIER_ALIASES[token.toLowerCase()];
|
|
101
|
+
if (!modifier)
|
|
102
|
+
return { ok: false, error: `"${token}" is not a modifier in "${text}"` };
|
|
103
|
+
if (modifiers.has(modifier))
|
|
104
|
+
return { ok: false, error: `"${token}" is repeated in "${text}"` };
|
|
105
|
+
modifiers.add(modifier);
|
|
106
|
+
}
|
|
107
|
+
if (![...modifiers].some((modifier) => modifier !== "Shift"))
|
|
108
|
+
return {
|
|
109
|
+
ok: false,
|
|
110
|
+
error: `"${text}" needs at least one of Mod, Ctrl, Alt or Meta`
|
|
111
|
+
};
|
|
112
|
+
if (modifiers.has("Mod") && (modifiers.has("Ctrl") || modifiers.has("Meta")))
|
|
113
|
+
return {
|
|
114
|
+
ok: false,
|
|
115
|
+
error: `"${text}" combines Mod with Ctrl or Meta, which Mod already means`
|
|
116
|
+
};
|
|
117
|
+
return {
|
|
118
|
+
ok: true,
|
|
119
|
+
modifiers: MODIFIER_ORDER.filter((modifier) => modifiers.has(modifier))
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// src/shared/hotkeys/parseChord.ts
|
|
124
|
+
function parseChord(text, { modifiersOnly = false } = {}) {
|
|
125
|
+
const tokens = text.split("+").map((token) => token.trim());
|
|
126
|
+
const keyToken = modifiersOnly ? void 0 : tokens.pop();
|
|
127
|
+
const parsed = parseModifiers(tokens, text);
|
|
128
|
+
if (!parsed.ok) return parsed;
|
|
129
|
+
const { modifiers } = parsed;
|
|
130
|
+
if (keyToken === void 0) return { ok: true, chord: { modifiers } };
|
|
131
|
+
const key = hotkeyKeyCode(keyToken);
|
|
132
|
+
if (!key)
|
|
133
|
+
return { ok: false, error: `"${keyToken}" is not a key in "${text}"` };
|
|
134
|
+
return { ok: true, chord: { modifiers, key } };
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
// src/shared/hotkeys/hotkeysSchema.ts
|
|
138
|
+
function chordSchema(modifiersOnly) {
|
|
139
|
+
return z2.string().superRefine((value, ctx) => {
|
|
140
|
+
const parsed = parseChord(value, { modifiersOnly });
|
|
141
|
+
if (!parsed.ok) ctx.addIssue({ code: "custom", message: parsed.error });
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
var keyChord = chordSchema(false).optional();
|
|
145
|
+
var hotkeysSchema = z2.strictObject({
|
|
146
|
+
navTab: chordSchema(true).optional(),
|
|
147
|
+
focusSidebar: keyChord,
|
|
148
|
+
focusTerminal: keyChord,
|
|
149
|
+
toggleDiff: keyChord,
|
|
150
|
+
focusRepoPicker: keyChord,
|
|
151
|
+
openUpdates: keyChord,
|
|
152
|
+
openConfig: keyChord,
|
|
153
|
+
openMenu: keyChord,
|
|
154
|
+
focusAddAgent: keyChord,
|
|
155
|
+
focusVsCode: keyChord,
|
|
156
|
+
focusDone: keyChord,
|
|
157
|
+
nextWaiting: keyChord,
|
|
158
|
+
newSession: keyChord,
|
|
159
|
+
quickOpen: keyChord,
|
|
160
|
+
save: keyChord,
|
|
161
|
+
shortcutsSheet: keyChord
|
|
162
|
+
});
|
|
163
|
+
|
|
164
|
+
// src/shared/runConfigSchema.ts
|
|
165
|
+
import { z as z3 } from "zod";
|
|
166
|
+
var runParamSchema = z3.strictObject({
|
|
167
|
+
name: z3.string(),
|
|
168
|
+
required: z3.boolean().optional(),
|
|
169
|
+
default: z3.string().optional(),
|
|
170
|
+
description: z3.string().optional()
|
|
171
|
+
});
|
|
172
|
+
var runConfigSchema = z3.strictObject({
|
|
173
|
+
name: z3.string(),
|
|
174
|
+
command: z3.string(),
|
|
175
|
+
args: z3.array(z3.string()).optional(),
|
|
176
|
+
params: z3.array(runParamSchema).optional(),
|
|
177
|
+
env: z3.record(z3.string(), z3.string()).optional(),
|
|
178
|
+
filter: z3.string().optional(),
|
|
179
|
+
pre: z3.array(z3.string()).optional(),
|
|
180
|
+
cwd: z3.string().optional(),
|
|
181
|
+
quiet: z3.boolean().optional(),
|
|
182
|
+
server: z3.union([z3.boolean(), z3.string().min(1)]).optional(),
|
|
183
|
+
port: z3.number().optional(),
|
|
184
|
+
protocol: z3.enum(["http", "https"]).optional(),
|
|
185
|
+
path: z3.string().optional()
|
|
186
|
+
});
|
|
187
|
+
var runLinkSchema = z3.strictObject({
|
|
188
|
+
link: z3.string(),
|
|
189
|
+
prefix: z3.string()
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
// src/shared/secretConfigValue.ts
|
|
193
|
+
import { z as z4 } from "zod";
|
|
194
|
+
var SECRET_META_KEY = "assistSecret";
|
|
195
|
+
function secretConfigValue(schema) {
|
|
196
|
+
return schema.meta({ [SECRET_META_KEY]: true });
|
|
197
|
+
}
|
|
198
|
+
function isSecretSchemaNode(node) {
|
|
199
|
+
const meta = z4.globalRegistry.get(node);
|
|
200
|
+
return meta?.[SECRET_META_KEY] === true;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
// src/shared/sessionLinkSchema.ts
|
|
204
|
+
import { z as z5 } from "zod";
|
|
205
|
+
var SSH_LINK_RETIRED = "ssh links are no longer supported; relink with `assist sessions nodes link <name> --tailscale <host> --port <port>`";
|
|
206
|
+
var sessionLinkSchema = z5.preprocess(
|
|
207
|
+
(link, ctx) => {
|
|
208
|
+
if (link && typeof link === "object" && "ssh" in link)
|
|
209
|
+
ctx.issues.push({
|
|
210
|
+
code: "custom",
|
|
211
|
+
message: SSH_LINK_RETIRED,
|
|
212
|
+
input: link
|
|
213
|
+
});
|
|
214
|
+
return link;
|
|
215
|
+
},
|
|
216
|
+
z5.strictObject({ name: z5.string(), url: z5.string() })
|
|
217
|
+
);
|
|
218
|
+
|
|
219
|
+
// src/shared/types.ts
|
|
220
|
+
var transcriptConfigSchema = z6.strictObject({
|
|
221
|
+
vttDir: z6.string(),
|
|
222
|
+
transcriptsDir: z6.string(),
|
|
223
|
+
summaryDir: z6.string()
|
|
224
|
+
});
|
|
225
|
+
var miroExtractSchema = z6.strictObject({
|
|
226
|
+
board: z6.string().optional(),
|
|
227
|
+
frame: z6.string().optional(),
|
|
228
|
+
topLeft: z6.string(),
|
|
229
|
+
bottomRight: z6.string(),
|
|
230
|
+
items: z6.string(),
|
|
231
|
+
ignore: z6.string().optional(),
|
|
232
|
+
out: z6.string().optional()
|
|
233
|
+
});
|
|
234
|
+
var DEFAULT_BACKUP_DIR = "~/.assist/backups";
|
|
235
|
+
var DEFAULT_BACKUP_STALE_AFTER = "32h";
|
|
236
|
+
var DEFAULT_CLONE_DIR = "~/git";
|
|
237
|
+
var harnessKindSchema = z6.enum(harnessKinds);
|
|
238
|
+
var sessionTypeDefaultsSchema = z6.strictObject({
|
|
239
|
+
harness: harnessKindSchema.optional(),
|
|
240
|
+
model: z6.string().min(1).optional()
|
|
241
|
+
}).optional();
|
|
242
|
+
var assistConfigShape = {
|
|
243
|
+
advice: z6.strictObject({
|
|
244
|
+
sections: z6.partialRecord(z6.enum(adviceFragmentNames), z6.boolean()).default({}),
|
|
245
|
+
extra: z6.string().optional(),
|
|
246
|
+
verify: z6.string().optional(),
|
|
247
|
+
rules: z6.array(z6.strictObject({ title: z6.string(), text: z6.string() })).optional()
|
|
248
|
+
}).optional(),
|
|
249
|
+
backup: z6.strictObject({
|
|
250
|
+
dir: z6.string().default(DEFAULT_BACKUP_DIR),
|
|
251
|
+
staleAfter: durationSchema.default(DEFAULT_BACKUP_STALE_AFTER)
|
|
252
|
+
}).default({
|
|
253
|
+
dir: DEFAULT_BACKUP_DIR,
|
|
254
|
+
staleAfter: DEFAULT_BACKUP_STALE_AFTER
|
|
255
|
+
}),
|
|
256
|
+
clone: z6.strictObject({
|
|
257
|
+
baseDir: z6.string().default(DEFAULT_CLONE_DIR)
|
|
258
|
+
}).default({ baseDir: DEFAULT_CLONE_DIR }),
|
|
259
|
+
commit: z6.strictObject({
|
|
260
|
+
conventional: z6.boolean().default(false),
|
|
261
|
+
pull: z6.boolean().default(false),
|
|
262
|
+
push: z6.boolean().default(false),
|
|
263
|
+
expectedBranch: z6.string().optional()
|
|
264
|
+
}).default({ conventional: false, pull: false, push: false }),
|
|
265
|
+
branch: z6.strictObject({
|
|
266
|
+
prefix: z6.string().optional(),
|
|
267
|
+
defaultBranch: z6.string().optional()
|
|
268
|
+
}).optional(),
|
|
269
|
+
devlog: z6.strictObject({
|
|
270
|
+
name: z6.string().optional(),
|
|
271
|
+
dir: z6.string().optional(),
|
|
272
|
+
ignore: z6.array(z6.string()).optional(),
|
|
273
|
+
slack: z6.string().optional(),
|
|
274
|
+
url: z6.string().optional(),
|
|
275
|
+
skipWeeks: z6.array(z6.string().regex(/^\d{4}-W\d{2}$/, "Use YYYY-Www")).optional()
|
|
276
|
+
}).optional(),
|
|
277
|
+
docs: z6.strictObject({
|
|
278
|
+
refreshAfter: z6.number().int().positive().optional()
|
|
279
|
+
}).optional(),
|
|
280
|
+
extension: z6.strictObject({
|
|
281
|
+
redirects: z6.record(z6.string(), z6.string()).optional()
|
|
282
|
+
}).optional(),
|
|
283
|
+
notify: z6.strictObject({
|
|
284
|
+
enabled: z6.boolean().default(true)
|
|
285
|
+
}).default({ enabled: true }),
|
|
286
|
+
complexity: z6.strictObject({
|
|
287
|
+
ignore: z6.array(z6.string()).default(["**/*test.ts*"])
|
|
288
|
+
}).default({ ignore: ["**/*test.ts*"] }),
|
|
289
|
+
hardcodedColors: z6.strictObject({
|
|
290
|
+
ignore: z6.array(z6.string()).default([])
|
|
291
|
+
}).optional(),
|
|
292
|
+
blockCodeComments: z6.strictObject({
|
|
293
|
+
ignore: z6.array(z6.string()).default([])
|
|
294
|
+
}).optional(),
|
|
295
|
+
verify: z6.strictObject({
|
|
296
|
+
roots: z6.array(z6.string()).default([])
|
|
297
|
+
}).optional(),
|
|
298
|
+
restructure: z6.strictObject({
|
|
299
|
+
ignore: z6.array(z6.string()).default([]),
|
|
300
|
+
pin: z6.array(z6.string()).default([]),
|
|
301
|
+
maxDepth: z6.number().int().positive().default(10),
|
|
302
|
+
maxPathLength: z6.number().int().positive().default(200)
|
|
303
|
+
}).optional(),
|
|
304
|
+
jira: z6.strictObject({
|
|
305
|
+
acField: z6.string().default("customfield_11937")
|
|
306
|
+
}).optional(),
|
|
307
|
+
slack: z6.strictObject({
|
|
308
|
+
channel: z6.string().optional()
|
|
309
|
+
}).optional(),
|
|
310
|
+
prs: z6.strictObject({
|
|
311
|
+
slack: z6.string().optional(),
|
|
312
|
+
required: z6.boolean().default(true),
|
|
313
|
+
promptJira: z6.boolean().default(false),
|
|
314
|
+
promptGithub: z6.boolean().default(false),
|
|
315
|
+
draft: z6.boolean().default(false),
|
|
316
|
+
reviewAfterRaise: z6.boolean().default(true),
|
|
317
|
+
readingWordsPerMinute: z6.number().int().positive().optional()
|
|
318
|
+
}).optional(),
|
|
319
|
+
review: z6.strictObject({
|
|
320
|
+
codexModel: z6.string().optional(),
|
|
321
|
+
synthesisHarness: z6.enum(["claude", "codex"]).optional(),
|
|
322
|
+
highLevel: z6.strictObject({
|
|
323
|
+
criticalPaths: z6.array(z6.string()).default(defaultCriticalPaths),
|
|
324
|
+
uiPaths: z6.array(z6.string()).default([]),
|
|
325
|
+
descriptionWordCap: z6.number().int().positive().default(300),
|
|
326
|
+
testPaths: z6.array(z6.string()).default(["**/*.{test,spec}.{ts,tsx,js,jsx}"]),
|
|
327
|
+
collapsedPaths: z6.array(z6.string()).default(["**/*.test.*", "**/generated/**"])
|
|
328
|
+
}).optional()
|
|
329
|
+
}).optional(),
|
|
330
|
+
readTime: z6.strictObject({
|
|
331
|
+
wordsPerMinute: z6.number().int().positive().default(200)
|
|
332
|
+
}).optional(),
|
|
333
|
+
releases: z6.strictObject({
|
|
334
|
+
streams: z6.array(
|
|
335
|
+
z6.strictObject({
|
|
336
|
+
name: z6.string(),
|
|
337
|
+
repo: z6.string(),
|
|
338
|
+
workflow: z6.string(),
|
|
339
|
+
nodes: z6.array(
|
|
340
|
+
z6.strictObject({
|
|
341
|
+
id: z6.string(),
|
|
342
|
+
environment: z6.string().optional(),
|
|
343
|
+
kind: z6.enum(["build", "gate"]).optional(),
|
|
344
|
+
label: z6.string().optional()
|
|
345
|
+
})
|
|
346
|
+
),
|
|
347
|
+
edges: z6.array(z6.tuple([z6.string(), z6.string()])).default([])
|
|
348
|
+
})
|
|
349
|
+
).default([])
|
|
350
|
+
}).optional(),
|
|
351
|
+
inbox: z6.strictObject({
|
|
352
|
+
intervalMinutes: z6.number().int().positive().optional()
|
|
353
|
+
}).optional(),
|
|
354
|
+
autoUpdate: z6.strictObject({
|
|
355
|
+
enabled: z6.boolean().default(true),
|
|
356
|
+
restart: z6.boolean().default(false),
|
|
357
|
+
idleMinutes: z6.number().positive().default(2)
|
|
358
|
+
}).optional(),
|
|
359
|
+
worktree: z6.strictObject({
|
|
360
|
+
enabled: z6.boolean().default(false),
|
|
361
|
+
trunk: z6.boolean().default(false),
|
|
362
|
+
root: z6.string().optional(),
|
|
363
|
+
install: z6.union([z6.boolean(), z6.string(), z6.array(z6.string())]).default(true),
|
|
364
|
+
commitBeforeManualChecks: z6.boolean().default(false),
|
|
365
|
+
commitBeforePhaseEnd: z6.boolean().optional(),
|
|
366
|
+
copy: z6.array(z6.string()).default([
|
|
367
|
+
".env",
|
|
368
|
+
"settings.local.json",
|
|
369
|
+
".claude/settings.local.json"
|
|
370
|
+
])
|
|
371
|
+
}).optional(),
|
|
372
|
+
run: z6.array(z6.union([runConfigSchema, runLinkSchema])).optional(),
|
|
373
|
+
transcript: transcriptConfigSchema.optional(),
|
|
374
|
+
cliHook: z6.strictObject({
|
|
375
|
+
blockNpmRun: z6.boolean().default(true)
|
|
376
|
+
}).optional(),
|
|
377
|
+
dotnet: z6.strictObject({
|
|
378
|
+
inspect: z6.strictObject({
|
|
379
|
+
suppress: z6.array(z6.string()).default([])
|
|
380
|
+
}).default({ suppress: [] })
|
|
381
|
+
}).optional(),
|
|
382
|
+
litellm: z6.strictObject({
|
|
383
|
+
baseUrl: z6.string().optional(),
|
|
384
|
+
apiKey: secretConfigValue(z6.string()).optional()
|
|
385
|
+
}).optional(),
|
|
386
|
+
ravendb: z6.strictObject({
|
|
387
|
+
connections: z6.array(
|
|
388
|
+
z6.strictObject({
|
|
389
|
+
name: z6.string(),
|
|
390
|
+
url: z6.string(),
|
|
391
|
+
database: z6.string(),
|
|
392
|
+
apiKeyRef: z6.string()
|
|
393
|
+
})
|
|
394
|
+
).default([]),
|
|
395
|
+
defaultConnection: z6.string().optional()
|
|
396
|
+
}).optional(),
|
|
397
|
+
seq: z6.strictObject({
|
|
398
|
+
connections: z6.array(
|
|
399
|
+
z6.strictObject({
|
|
400
|
+
name: z6.string(),
|
|
401
|
+
url: z6.string(),
|
|
402
|
+
apiToken: secretConfigValue(z6.string())
|
|
403
|
+
})
|
|
404
|
+
).default([]),
|
|
405
|
+
defaultConnection: z6.string().optional()
|
|
406
|
+
}).optional(),
|
|
407
|
+
testflight: z6.strictObject({
|
|
408
|
+
keyId: z6.string().optional(),
|
|
409
|
+
issuerId: z6.string().optional(),
|
|
410
|
+
keyRef: z6.string().optional(),
|
|
411
|
+
bundleId: z6.string().optional(),
|
|
412
|
+
externalGroup: z6.string().optional(),
|
|
413
|
+
internalGroup: z6.string().optional()
|
|
414
|
+
}).optional(),
|
|
415
|
+
sql: z6.strictObject({
|
|
416
|
+
connections: z6.array(
|
|
417
|
+
z6.strictObject({
|
|
418
|
+
name: z6.string(),
|
|
419
|
+
server: z6.string(),
|
|
420
|
+
port: z6.number(),
|
|
421
|
+
user: z6.string(),
|
|
422
|
+
password: secretConfigValue(z6.string()),
|
|
423
|
+
database: z6.string()
|
|
424
|
+
})
|
|
425
|
+
).default([]),
|
|
426
|
+
defaultConnection: z6.string().optional()
|
|
427
|
+
}).optional(),
|
|
428
|
+
screenshot: z6.strictObject({
|
|
429
|
+
outputDir: z6.string().default("./screenshots")
|
|
430
|
+
}).default({ outputDir: "./screenshots" }),
|
|
431
|
+
sessions: z6.strictObject({
|
|
432
|
+
nodeName: z6.string().optional(),
|
|
433
|
+
links: z6.array(sessionLinkSchema).optional(),
|
|
434
|
+
linkVersionCheck: z6.enum(["block", "warn", "off"]).default("block"),
|
|
435
|
+
tailscaleServe: z6.boolean().default(true),
|
|
436
|
+
includeCommittedChanges: z6.boolean().default(true),
|
|
437
|
+
maxLive: z6.number().default(24),
|
|
438
|
+
newSessionMode: z6.enum(["draft", "bug", "prompt", "design"]).default("draft"),
|
|
439
|
+
hotkeys: hotkeysSchema.optional(),
|
|
440
|
+
askQuestion: z6.boolean().default(true),
|
|
441
|
+
askQuestionAutoSubmit: z6.boolean().default(false),
|
|
442
|
+
cleanLeftovers: z6.boolean().default(true)
|
|
443
|
+
}).optional(),
|
|
444
|
+
database: z6.strictObject({
|
|
445
|
+
url: secretConfigValue(z6.string()).optional()
|
|
446
|
+
}).default({}),
|
|
447
|
+
mermaid: z6.strictObject({
|
|
448
|
+
krokiUrl: z6.string().default("https://kroki.io")
|
|
449
|
+
}).default({ krokiUrl: "https://kroki.io" }),
|
|
450
|
+
miro: z6.strictObject({
|
|
451
|
+
extracts: z6.record(z6.string(), miroExtractSchema).optional()
|
|
452
|
+
}).optional(),
|
|
453
|
+
news: z6.strictObject({
|
|
454
|
+
showInNav: z6.boolean().default(false),
|
|
455
|
+
feeds: z6.array(z6.string()).optional()
|
|
456
|
+
}).optional(),
|
|
457
|
+
next: z6.strictObject({
|
|
458
|
+
peers: z6.array(z6.string()).optional(),
|
|
459
|
+
repos: z6.array(z6.string()).optional(),
|
|
460
|
+
projects: z6.array(
|
|
461
|
+
z6.string().regex(
|
|
462
|
+
/^[^/\s]+\/\d+$/,
|
|
463
|
+
"Use <owner>/<project number>, e.g. my-org/3"
|
|
464
|
+
)
|
|
465
|
+
).optional(),
|
|
466
|
+
pickStatuses: z6.array(z6.string()).optional(),
|
|
467
|
+
excludeLabels: z6.array(z6.string()).optional(),
|
|
468
|
+
excludeTypes: z6.array(z6.string()).optional()
|
|
469
|
+
}).optional(),
|
|
470
|
+
deny: z6.array(
|
|
471
|
+
z6.strictObject({
|
|
472
|
+
pattern: z6.string(),
|
|
473
|
+
message: z6.string()
|
|
474
|
+
})
|
|
475
|
+
).optional(),
|
|
476
|
+
forbiddenStrings: z6.array(
|
|
477
|
+
z6.strictObject({
|
|
478
|
+
file: z6.string(),
|
|
479
|
+
paths: z6.array(z6.string()),
|
|
480
|
+
disallowed: z6.string()
|
|
481
|
+
})
|
|
482
|
+
).optional(),
|
|
483
|
+
sync: z6.strictObject({
|
|
484
|
+
autoConfirm: z6.boolean().default(false),
|
|
485
|
+
preferences: z6.boolean().default(false)
|
|
486
|
+
}).default({ autoConfirm: false, preferences: false }),
|
|
487
|
+
harness: z6.strictObject({
|
|
488
|
+
engine: harnessKindSchema.default("claude"),
|
|
489
|
+
exposeCodexActions: z6.boolean().optional(),
|
|
490
|
+
exposePiActions: z6.boolean().optional(),
|
|
491
|
+
codexModel: z6.string().optional(),
|
|
492
|
+
defaults: z6.strictObject({
|
|
493
|
+
draft: sessionTypeDefaultsSchema,
|
|
494
|
+
bug: sessionTypeDefaultsSchema,
|
|
495
|
+
prompt: sessionTypeDefaultsSchema,
|
|
496
|
+
design: sessionTypeDefaultsSchema,
|
|
497
|
+
run: sessionTypeDefaultsSchema
|
|
498
|
+
}).optional()
|
|
499
|
+
}).default({ engine: "claude" })
|
|
500
|
+
};
|
|
501
|
+
var repoConfigSchema = z6.strictObject(assistConfigShape).partial();
|
|
502
|
+
var assistConfigSchema = z6.strictObject({
|
|
503
|
+
...assistConfigShape,
|
|
504
|
+
repos: z6.record(z6.string(), repoConfigSchema).optional()
|
|
505
|
+
});
|
|
506
|
+
|
|
507
|
+
export {
|
|
508
|
+
isSecretSchemaNode,
|
|
509
|
+
SSH_LINK_RETIRED,
|
|
510
|
+
miroExtractSchema,
|
|
511
|
+
repoConfigSchema,
|
|
512
|
+
assistConfigSchema
|
|
513
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// src/commands/prs/azureDevops/azureDevopsRepoUrl.ts
|
|
2
|
+
function azureDevopsRepoUrl({ org, project, repo }) {
|
|
3
|
+
return `https://dev.azure.com/${encodeURIComponent(org)}/${encodeURIComponent(project)}/_git/${encodeURIComponent(repo)}`;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export {
|
|
7
|
+
azureDevopsRepoUrl
|
|
8
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import {
|
|
2
|
+
expandEnv
|
|
3
|
+
} from "./chunk-L363MNYZ.js";
|
|
4
|
+
|
|
5
|
+
// src/commands/run/runCommandToCompletion.ts
|
|
6
|
+
import { spawn } from "child_process";
|
|
7
|
+
import { existsSync as existsSync2 } from "fs";
|
|
8
|
+
|
|
9
|
+
// src/commands/run/resolveCommand.ts
|
|
10
|
+
import { execFileSync } from "child_process";
|
|
11
|
+
import { existsSync } from "fs";
|
|
12
|
+
import { dirname, join, resolve } from "path";
|
|
13
|
+
function resolveCommand(command) {
|
|
14
|
+
if (process.platform !== "win32" || command !== "bash") return command;
|
|
15
|
+
try {
|
|
16
|
+
const gitPath = execFileSync("where", ["git"], { encoding: "utf8" }).trim().split("\r\n")[0];
|
|
17
|
+
const gitRoot = resolve(dirname(gitPath), "..");
|
|
18
|
+
const gitBash = join(gitRoot, "bin", "bash.exe");
|
|
19
|
+
if (existsSync(gitBash)) return gitBash;
|
|
20
|
+
} catch {
|
|
21
|
+
return command;
|
|
22
|
+
}
|
|
23
|
+
return command;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// src/commands/run/runCommandToCompletion.ts
|
|
27
|
+
function runCommandToCompletion(command, args, env, cwd, quiet) {
|
|
28
|
+
return new Promise((resolveResult) => {
|
|
29
|
+
if (cwd && !existsSync2(cwd)) {
|
|
30
|
+
resolveResult({
|
|
31
|
+
kind: "failed",
|
|
32
|
+
message: `Failed to execute command: cwd ${cwd} does not exist`
|
|
33
|
+
});
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
const child = spawn(resolveCommand(command), args, {
|
|
37
|
+
stdio: quiet ? "pipe" : "inherit",
|
|
38
|
+
env: env ? { ...process.env, ...expandEnv(env) } : void 0,
|
|
39
|
+
cwd
|
|
40
|
+
});
|
|
41
|
+
const chunks = [];
|
|
42
|
+
if (quiet) {
|
|
43
|
+
child.stdout?.on("data", (data) => chunks.push(data));
|
|
44
|
+
child.stderr?.on("data", (data) => chunks.push(data));
|
|
45
|
+
}
|
|
46
|
+
child.on("close", (code) => {
|
|
47
|
+
resolveResult({
|
|
48
|
+
kind: "completed",
|
|
49
|
+
exitCode: code ?? 0,
|
|
50
|
+
output: Buffer.concat(chunks).toString()
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
child.on("error", (err) => {
|
|
54
|
+
resolveResult({
|
|
55
|
+
kind: "failed",
|
|
56
|
+
message: `Failed to execute command: ${err.message}`
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export {
|
|
63
|
+
runCommandToCompletion
|
|
64
|
+
};
|