@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,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
requestTab
|
|
3
|
+
} from "./chunk-QU6OQZJ2.js";
|
|
4
|
+
import "./chunk-YSNIMCKC.js";
|
|
5
|
+
|
|
6
|
+
// src/commands/browser/browserSnapshot.ts
|
|
7
|
+
import { mkdirSync, writeFileSync } from "fs";
|
|
8
|
+
import { dirname } from "path";
|
|
9
|
+
|
|
10
|
+
// src/commands/browser/snapshotPath.ts
|
|
11
|
+
import { homedir } from "os";
|
|
12
|
+
import { join } from "path";
|
|
13
|
+
function snapshotPath(tabUrl, now) {
|
|
14
|
+
const host = new URL(tabUrl).host.replace(/[^\w.-]/g, "-");
|
|
15
|
+
const timestamp = now.toISOString().replace(/[:.]/g, "-");
|
|
16
|
+
return join(homedir(), ".assist", "browser", `${host}-${timestamp}.html`);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// src/commands/browser/browserSnapshot.ts
|
|
20
|
+
async function browserSnapshot(options) {
|
|
21
|
+
const result = await requestTab(options.server, {
|
|
22
|
+
op: "snapshot",
|
|
23
|
+
url: options.url
|
|
24
|
+
});
|
|
25
|
+
const path = snapshotPath(result.tabUrl, /* @__PURE__ */ new Date());
|
|
26
|
+
mkdirSync(dirname(path), { recursive: true });
|
|
27
|
+
writeFileSync(path, result.html);
|
|
28
|
+
console.log(`snapshot: ${path}`);
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
browserSnapshot
|
|
32
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import {
|
|
2
|
+
requestTab
|
|
3
|
+
} from "./chunk-QU6OQZJ2.js";
|
|
4
|
+
import {
|
|
5
|
+
extensionUpdateStatus
|
|
6
|
+
} from "./chunk-LOP6Y256.js";
|
|
7
|
+
import {
|
|
8
|
+
fetchLatestSignedExtension
|
|
9
|
+
} from "./chunk-G3ROBZ4I.js";
|
|
10
|
+
import "./chunk-GQF23TWI.js";
|
|
11
|
+
import "./chunk-YSNIMCKC.js";
|
|
12
|
+
|
|
13
|
+
// src/commands/browser/formatExtensionUpdate.ts
|
|
14
|
+
function formatExtensionUpdate(status) {
|
|
15
|
+
if (!status.latest)
|
|
16
|
+
return "latest signed: unknown (updates.json unreachable)";
|
|
17
|
+
if (!status.behind) return `latest signed: v${status.latest} (up to date)`;
|
|
18
|
+
return `latest signed: v${status.latest} (behind; the assist web UI offers the install link)`;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// src/commands/browser/browserStatus.ts
|
|
22
|
+
async function browserStatus(options) {
|
|
23
|
+
const latest = fetchLatestSignedExtension().then((signed) => signed.latest).catch(() => void 0);
|
|
24
|
+
const result = await requestTab(options.server, {
|
|
25
|
+
op: "status",
|
|
26
|
+
url: options.url
|
|
27
|
+
});
|
|
28
|
+
console.log(`extension: connected (v${result.version})`);
|
|
29
|
+
console.log(
|
|
30
|
+
formatExtensionUpdate(extensionUpdateStatus(result.version, await latest))
|
|
31
|
+
);
|
|
32
|
+
console.log(
|
|
33
|
+
`content script: ${result.contentScript ? "running" : "not running (reload the tab, or update the extension)"}`
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
export {
|
|
37
|
+
browserStatus
|
|
38
|
+
};
|
package/dist/built-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1143.
|
|
1
|
+
0.1143.3
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import {
|
|
2
|
+
renderLineChart
|
|
3
|
+
} from "./chunk-MJLABLH5.js";
|
|
4
|
+
|
|
5
|
+
// src/commands/chart/chartYRange.ts
|
|
6
|
+
var toCentsWithoutFloatError = (value) => Number((value * 100).toFixed(6));
|
|
7
|
+
function chartYRange(values) {
|
|
8
|
+
const min = Math.min(...values);
|
|
9
|
+
const max = Math.max(...values);
|
|
10
|
+
const span = max - min;
|
|
11
|
+
const pad = span === 0 ? Math.max(Math.abs(max) * 0.1, 1) : span * 0.2;
|
|
12
|
+
return {
|
|
13
|
+
minY: Math.floor(toCentsWithoutFloatError(min - pad)) / 100,
|
|
14
|
+
maxY: Math.ceil(toCentsWithoutFloatError(max + pad)) / 100
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// src/commands/chart/parseChartSeries.ts
|
|
19
|
+
function parseChartSeries(lines) {
|
|
20
|
+
const points = [];
|
|
21
|
+
for (const line of lines) {
|
|
22
|
+
const trimmed = line.trim();
|
|
23
|
+
if (trimmed === "") continue;
|
|
24
|
+
const parts = trimmed.split(/[,\t ]+/).filter((part) => part !== "");
|
|
25
|
+
if (parts.length < 2) {
|
|
26
|
+
throw new Error(`Expected a label and a value, got: ${trimmed}`);
|
|
27
|
+
}
|
|
28
|
+
const label = parts.slice(0, -1).join(" ");
|
|
29
|
+
const raw = parts[parts.length - 1];
|
|
30
|
+
const value = Number(raw);
|
|
31
|
+
if (!Number.isFinite(value)) {
|
|
32
|
+
throw new Error(`Value "${raw}" is not numeric, on line: ${trimmed}`);
|
|
33
|
+
}
|
|
34
|
+
points.push({ label, value });
|
|
35
|
+
}
|
|
36
|
+
return points;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// src/commands/chart/readStdinLines.ts
|
|
40
|
+
import * as readline from "readline";
|
|
41
|
+
async function readStdinLines() {
|
|
42
|
+
const rl = readline.createInterface({
|
|
43
|
+
input: process.stdin,
|
|
44
|
+
terminal: false
|
|
45
|
+
});
|
|
46
|
+
const lines = [];
|
|
47
|
+
for await (const line of rl) {
|
|
48
|
+
lines.push(line);
|
|
49
|
+
}
|
|
50
|
+
return lines;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// src/commands/chart.ts
|
|
54
|
+
async function chart(options) {
|
|
55
|
+
const lines = await readStdinLines();
|
|
56
|
+
let points;
|
|
57
|
+
try {
|
|
58
|
+
points = parseChartSeries(lines);
|
|
59
|
+
} catch (error) {
|
|
60
|
+
console.error(error instanceof Error ? error.message : String(error));
|
|
61
|
+
process.exit(1);
|
|
62
|
+
}
|
|
63
|
+
if (points.length < 2) {
|
|
64
|
+
console.log("Not enough data points to chart.");
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
const title = options.title ?? "Chart";
|
|
68
|
+
const values = points.map((p) => p.value);
|
|
69
|
+
renderLineChart({
|
|
70
|
+
title,
|
|
71
|
+
label: title,
|
|
72
|
+
seriesTitle: title,
|
|
73
|
+
labels: points.map((p) => p.label),
|
|
74
|
+
values,
|
|
75
|
+
...chartYRange(values)
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
export {
|
|
79
|
+
chart
|
|
80
|
+
};
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import {
|
|
2
|
+
findSourceFiles
|
|
3
|
+
} from "./chunk-MJ44T7R4.js";
|
|
4
|
+
import {
|
|
5
|
+
isAgentHarness
|
|
6
|
+
} from "./chunk-6SOPR77J.js";
|
|
7
|
+
import {
|
|
8
|
+
findPackageJsonWithVerifyScripts
|
|
9
|
+
} from "./chunk-NZYSENRR.js";
|
|
10
|
+
import "./chunk-BFQSGIN6.js";
|
|
11
|
+
import "./chunk-D7UZLH36.js";
|
|
12
|
+
import "./chunk-XDIVXGPQ.js";
|
|
13
|
+
|
|
14
|
+
// src/commands/refactor/check.ts
|
|
15
|
+
import { spawn } from "child_process";
|
|
16
|
+
import * as path from "path";
|
|
17
|
+
|
|
18
|
+
// src/commands/refactor/logViolations.ts
|
|
19
|
+
import chalk from "chalk";
|
|
20
|
+
var DEFAULT_MAX_LINES = 100;
|
|
21
|
+
function logViolations(violations, maxLines = DEFAULT_MAX_LINES) {
|
|
22
|
+
if (violations.length === 0) {
|
|
23
|
+
if (!isAgentHarness()) {
|
|
24
|
+
console.log(`Refactor check passed. No files exceed ${maxLines} lines.`);
|
|
25
|
+
}
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
console.error(chalk.red(`
|
|
29
|
+
Refactor check failed:
|
|
30
|
+
`));
|
|
31
|
+
console.error(chalk.red(` The following files exceed ${maxLines} lines:
|
|
32
|
+
`));
|
|
33
|
+
for (const violation of violations) {
|
|
34
|
+
console.error(chalk.red(` ${violation.file} (${violation.lines} lines)`));
|
|
35
|
+
}
|
|
36
|
+
console.error(
|
|
37
|
+
chalk.yellow(
|
|
38
|
+
`
|
|
39
|
+
Each file needs to be sensibly refactored, or if there is no sensible
|
|
40
|
+
way to refactor it, ignore it with:
|
|
41
|
+
`
|
|
42
|
+
)
|
|
43
|
+
);
|
|
44
|
+
console.error(chalk.gray(` assist refactor ignore <file>
|
|
45
|
+
`));
|
|
46
|
+
if (isAgentHarness()) {
|
|
47
|
+
console.error(chalk.cyan(`
|
|
48
|
+
## Extracting Code to New Files
|
|
49
|
+
`));
|
|
50
|
+
console.error(
|
|
51
|
+
chalk.cyan(
|
|
52
|
+
` When extracting logic from one file to another, consider where the extracted code belongs:
|
|
53
|
+
`
|
|
54
|
+
)
|
|
55
|
+
);
|
|
56
|
+
console.error(
|
|
57
|
+
chalk.cyan(
|
|
58
|
+
` 1. Keep related logic together: If the extracted code is tightly coupled to the
|
|
59
|
+
original file's domain, create a new folder containing both the original and extracted files.
|
|
60
|
+
`
|
|
61
|
+
)
|
|
62
|
+
);
|
|
63
|
+
console.error(
|
|
64
|
+
chalk.cyan(
|
|
65
|
+
` 2. Share common utilities: If the extracted code can be reused across multiple
|
|
66
|
+
domains, move it to a common/shared folder.
|
|
67
|
+
`
|
|
68
|
+
)
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// src/commands/refactor/check/getViolations.ts
|
|
74
|
+
import { execSync } from "child_process";
|
|
75
|
+
import fs2 from "fs";
|
|
76
|
+
import { minimatch } from "minimatch";
|
|
77
|
+
|
|
78
|
+
// src/commands/refactor/check/getViolations/getIgnoredFiles.ts
|
|
79
|
+
import fs from "fs";
|
|
80
|
+
var REFACTOR_YML_PATH = "refactor.yml";
|
|
81
|
+
function parseRefactorYml() {
|
|
82
|
+
if (!fs.existsSync(REFACTOR_YML_PATH)) {
|
|
83
|
+
return [];
|
|
84
|
+
}
|
|
85
|
+
const content = fs.readFileSync(REFACTOR_YML_PATH, "utf8");
|
|
86
|
+
const entries = [];
|
|
87
|
+
const lines = content.split("\n");
|
|
88
|
+
let currentEntry = {};
|
|
89
|
+
for (const line of lines) {
|
|
90
|
+
const trimmed = line.trim();
|
|
91
|
+
if (trimmed.startsWith("- file:")) {
|
|
92
|
+
if (currentEntry.file) {
|
|
93
|
+
entries.push(currentEntry);
|
|
94
|
+
}
|
|
95
|
+
currentEntry = { file: trimmed.replace("- file:", "").trim() };
|
|
96
|
+
} else if (trimmed.startsWith("maxLines:")) {
|
|
97
|
+
currentEntry.maxLines = parseInt(
|
|
98
|
+
trimmed.replace("maxLines:", "").trim(),
|
|
99
|
+
10
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
if (currentEntry.file) {
|
|
104
|
+
entries.push(currentEntry);
|
|
105
|
+
}
|
|
106
|
+
return entries;
|
|
107
|
+
}
|
|
108
|
+
function getIgnoredFiles() {
|
|
109
|
+
const entries = parseRefactorYml();
|
|
110
|
+
return new Map(entries.map((e) => [e.file, e.maxLines]));
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// src/commands/refactor/check/getViolations.ts
|
|
114
|
+
function countLines(filePath) {
|
|
115
|
+
const content = fs2.readFileSync(filePath, "utf8");
|
|
116
|
+
return content.split("\n").length;
|
|
117
|
+
}
|
|
118
|
+
function getGitFiles(options) {
|
|
119
|
+
if (!options.modified && !options.staged && !options.unstaged) {
|
|
120
|
+
return null;
|
|
121
|
+
}
|
|
122
|
+
const files = /* @__PURE__ */ new Set();
|
|
123
|
+
if (options.staged || options.modified) {
|
|
124
|
+
const staged = execSync("git diff --cached --name-only", {
|
|
125
|
+
encoding: "utf8"
|
|
126
|
+
});
|
|
127
|
+
for (const file of staged.trim().split("\n").filter(Boolean)) {
|
|
128
|
+
files.add(file);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
if (options.unstaged || options.modified) {
|
|
132
|
+
const unstaged = execSync("git diff --name-only", { encoding: "utf8" });
|
|
133
|
+
for (const file of unstaged.trim().split("\n").filter(Boolean)) {
|
|
134
|
+
files.add(file);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
return files;
|
|
138
|
+
}
|
|
139
|
+
function getViolations(pattern, options = {}, maxLines = DEFAULT_MAX_LINES) {
|
|
140
|
+
let sourceFiles = findSourceFiles("src", { includeTests: false });
|
|
141
|
+
const ignoredFiles = getIgnoredFiles();
|
|
142
|
+
const gitFiles = getGitFiles(options);
|
|
143
|
+
if (pattern) {
|
|
144
|
+
sourceFiles = sourceFiles.filter((f) => minimatch(f, pattern));
|
|
145
|
+
}
|
|
146
|
+
if (gitFiles) {
|
|
147
|
+
sourceFiles = sourceFiles.filter((f) => gitFiles.has(f));
|
|
148
|
+
}
|
|
149
|
+
const violations = [];
|
|
150
|
+
for (const filePath of sourceFiles) {
|
|
151
|
+
const lineCount = countLines(filePath);
|
|
152
|
+
const maxAllowed = ignoredFiles.get(filePath) ?? maxLines;
|
|
153
|
+
if (lineCount > maxAllowed) {
|
|
154
|
+
violations.push({ file: filePath, lines: lineCount });
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
return violations;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// src/commands/refactor/check.ts
|
|
161
|
+
function runScript(script, cwd) {
|
|
162
|
+
return new Promise((resolve) => {
|
|
163
|
+
const child = spawn("npm", ["run", script], {
|
|
164
|
+
stdio: "pipe",
|
|
165
|
+
shell: true,
|
|
166
|
+
cwd
|
|
167
|
+
});
|
|
168
|
+
let output = "";
|
|
169
|
+
child.stdout?.on("data", (data) => {
|
|
170
|
+
output += data.toString();
|
|
171
|
+
});
|
|
172
|
+
child.stderr?.on("data", (data) => {
|
|
173
|
+
output += data.toString();
|
|
174
|
+
});
|
|
175
|
+
child.on("close", (code) => {
|
|
176
|
+
resolve({ script, code: code ?? 1, output });
|
|
177
|
+
});
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
function logFailures(failed) {
|
|
181
|
+
for (const f of failed) {
|
|
182
|
+
console.error(f.output);
|
|
183
|
+
}
|
|
184
|
+
console.error(`
|
|
185
|
+
${failed.length} verify script(s) failed:`);
|
|
186
|
+
for (const f of failed) {
|
|
187
|
+
console.error(` - ${f.script} (exit code ${f.code})`);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
async function runVerifyQuietly() {
|
|
191
|
+
const result = findPackageJsonWithVerifyScripts(process.cwd());
|
|
192
|
+
if (!result) return true;
|
|
193
|
+
const packageDir = path.dirname(result.packageJsonPath);
|
|
194
|
+
const results = await Promise.all(
|
|
195
|
+
result.verifyScripts.map((script) => runScript(script, packageDir))
|
|
196
|
+
);
|
|
197
|
+
const failed = results.filter((r) => r.code !== 0);
|
|
198
|
+
if (failed.length > 0) {
|
|
199
|
+
logFailures(failed);
|
|
200
|
+
return false;
|
|
201
|
+
}
|
|
202
|
+
return true;
|
|
203
|
+
}
|
|
204
|
+
async function check(pattern, options) {
|
|
205
|
+
const verifyPassed = await runVerifyQuietly();
|
|
206
|
+
if (!verifyPassed) {
|
|
207
|
+
process.exit(1);
|
|
208
|
+
}
|
|
209
|
+
const maxLines = options.maxLines ?? DEFAULT_MAX_LINES;
|
|
210
|
+
const violations = getViolations(pattern, options, maxLines);
|
|
211
|
+
violations.sort((a, b) => b.lines - a.lines);
|
|
212
|
+
logViolations(violations, maxLines);
|
|
213
|
+
if (violations.length > 0) {
|
|
214
|
+
process.exit(1);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
export {
|
|
218
|
+
check
|
|
219
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import {
|
|
2
|
+
readSocketLines
|
|
3
|
+
} from "./chunk-2EW62DM5.js";
|
|
4
|
+
import {
|
|
5
|
+
connectToDaemon
|
|
6
|
+
} from "./chunk-UGGH3MEX.js";
|
|
7
|
+
|
|
8
|
+
// src/commands/sessions/shared/requestSession.ts
|
|
9
|
+
function parseIncoming(line, type) {
|
|
10
|
+
try {
|
|
11
|
+
const msg = JSON.parse(line);
|
|
12
|
+
if (msg.type === "error" && (msg.message ?? "").includes(type))
|
|
13
|
+
return { kind: "error", message: msg.message ?? `${type} failed` };
|
|
14
|
+
if (msg.type !== "created" || !msg.sessionId) return null;
|
|
15
|
+
return { kind: "created", sessionId: msg.sessionId };
|
|
16
|
+
} catch {
|
|
17
|
+
return null;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
function requestSession(message) {
|
|
21
|
+
return new Promise((resolve, reject) => {
|
|
22
|
+
connectToDaemon().then((socket) => {
|
|
23
|
+
let settled = false;
|
|
24
|
+
const finish = (error, sessionId) => {
|
|
25
|
+
if (settled) return;
|
|
26
|
+
settled = true;
|
|
27
|
+
socket.destroy();
|
|
28
|
+
if (error) reject(error);
|
|
29
|
+
else resolve(sessionId);
|
|
30
|
+
};
|
|
31
|
+
readSocketLines(socket, (line) => {
|
|
32
|
+
const incoming = parseIncoming(line, message.type);
|
|
33
|
+
if (!incoming) return;
|
|
34
|
+
if (incoming.kind === "error") finish(new Error(incoming.message));
|
|
35
|
+
else finish(void 0, incoming.sessionId);
|
|
36
|
+
});
|
|
37
|
+
socket.on("error", (error) => finish(error));
|
|
38
|
+
socket.on(
|
|
39
|
+
"close",
|
|
40
|
+
() => finish(new Error("daemon closed before the session was created"))
|
|
41
|
+
);
|
|
42
|
+
socket.write(`${JSON.stringify(message)}
|
|
43
|
+
`);
|
|
44
|
+
}, reject);
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export {
|
|
49
|
+
requestSession
|
|
50
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// src/commands/sessions/daemon/readSocketLines.ts
|
|
2
|
+
function readSocketLines(socket, onLine) {
|
|
3
|
+
let buffer = "";
|
|
4
|
+
socket.on("data", (chunk) => {
|
|
5
|
+
buffer += chunk.toString("utf8");
|
|
6
|
+
let newline = buffer.indexOf("\n");
|
|
7
|
+
while (newline !== -1) {
|
|
8
|
+
onLine(buffer.slice(0, newline));
|
|
9
|
+
buffer = buffer.slice(newline + 1);
|
|
10
|
+
newline = buffer.indexOf("\n");
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
readSocketLines
|
|
17
|
+
};
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getPreferredRemoteRepo,
|
|
3
|
+
parseGitHubUrl
|
|
4
|
+
} from "./chunk-DISNKALJ.js";
|
|
5
|
+
|
|
6
|
+
// src/commands/prs/shared.ts
|
|
7
|
+
import { execSync } from "child_process";
|
|
8
|
+
|
|
9
|
+
// src/commands/prs/currentPrSelector.ts
|
|
10
|
+
import { execFileSync } from "child_process";
|
|
11
|
+
var PULL_REF = /^refs\/pull\/(\d+)\/head$/;
|
|
12
|
+
var HEAD_REF = /^refs\/heads\/(.+)$/;
|
|
13
|
+
function gitOrNull(args) {
|
|
14
|
+
try {
|
|
15
|
+
return execFileSync("git", args, {
|
|
16
|
+
encoding: "utf8",
|
|
17
|
+
stdio: ["pipe", "pipe", "pipe"],
|
|
18
|
+
windowsHide: true
|
|
19
|
+
}).trim() || null;
|
|
20
|
+
} catch {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
function branchConfig(branch, key) {
|
|
25
|
+
return gitOrNull(["config", "--get", `branch.${branch}.${key}`]);
|
|
26
|
+
}
|
|
27
|
+
function remoteOwner(remote) {
|
|
28
|
+
const url = parseGitHubUrl(remote) ? remote : gitOrNull(["remote", "get-url", remote]);
|
|
29
|
+
return url ? parseGitHubUrl(url)?.org ?? null : null;
|
|
30
|
+
}
|
|
31
|
+
function currentPrSelector(branch, baseOrg) {
|
|
32
|
+
const merge = branchConfig(branch, "merge");
|
|
33
|
+
const pull = merge?.match(PULL_REF);
|
|
34
|
+
if (pull) return pull[1];
|
|
35
|
+
const remote = branchConfig(branch, "remote");
|
|
36
|
+
const owner = remote ? remoteOwner(remote) : null;
|
|
37
|
+
if (owner && owner.toLowerCase() !== baseOrg.toLowerCase())
|
|
38
|
+
return `${owner}:${merge?.match(HEAD_REF)?.[1] ?? branch}`;
|
|
39
|
+
return branch;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// src/commands/prs/shared.ts
|
|
43
|
+
function isGhNotInstalled(error) {
|
|
44
|
+
if (error instanceof Error) {
|
|
45
|
+
const msg = error.message.toLowerCase();
|
|
46
|
+
return msg.includes("enoent") || msg.includes("command not found");
|
|
47
|
+
}
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
function getRepoInfo() {
|
|
51
|
+
const preferred = getPreferredRemoteRepo();
|
|
52
|
+
if (preferred) return preferred;
|
|
53
|
+
const repoInfo = JSON.parse(
|
|
54
|
+
execSync("gh repo view --json owner,name", { encoding: "utf8" })
|
|
55
|
+
);
|
|
56
|
+
return { org: repoInfo.owner.login, repo: repoInfo.name };
|
|
57
|
+
}
|
|
58
|
+
function getCurrentBranch() {
|
|
59
|
+
return execSync("git rev-parse --abbrev-ref HEAD", {
|
|
60
|
+
encoding: "utf8"
|
|
61
|
+
}).trim();
|
|
62
|
+
}
|
|
63
|
+
function viewCurrentPr(fields) {
|
|
64
|
+
const { org, repo } = getRepoInfo();
|
|
65
|
+
const selector = currentPrSelector(getCurrentBranch(), org);
|
|
66
|
+
return JSON.parse(
|
|
67
|
+
execSync(`gh pr view ${selector} --json ${fields} -R ${org}/${repo}`, {
|
|
68
|
+
encoding: "utf8"
|
|
69
|
+
})
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
function getCurrentPrNumber() {
|
|
73
|
+
try {
|
|
74
|
+
return viewCurrentPr("number").number;
|
|
75
|
+
} catch (error) {
|
|
76
|
+
if (error instanceof Error && error.message.includes("no pull requests")) {
|
|
77
|
+
console.error("Error: No pull request found for the current branch.");
|
|
78
|
+
process.exit(1);
|
|
79
|
+
}
|
|
80
|
+
throw error;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
function getCurrentPr() {
|
|
84
|
+
try {
|
|
85
|
+
return viewCurrentPr(
|
|
86
|
+
"number,title,body"
|
|
87
|
+
);
|
|
88
|
+
} catch (error) {
|
|
89
|
+
if (error instanceof Error && error.message.includes("no pull requests")) {
|
|
90
|
+
console.error("Error: No pull request found for the current branch.");
|
|
91
|
+
process.exit(1);
|
|
92
|
+
}
|
|
93
|
+
throw error;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
function getCurrentPrNodeId() {
|
|
97
|
+
try {
|
|
98
|
+
return viewCurrentPr("id").id;
|
|
99
|
+
} catch (error) {
|
|
100
|
+
if (error instanceof Error && error.message.includes("no pull requests")) {
|
|
101
|
+
console.error("Error: No pull request found for the current branch.");
|
|
102
|
+
process.exit(1);
|
|
103
|
+
}
|
|
104
|
+
throw error;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
function findCurrentPrNumber() {
|
|
108
|
+
return findCurrentPr()?.number ?? null;
|
|
109
|
+
}
|
|
110
|
+
function findCurrentPr() {
|
|
111
|
+
try {
|
|
112
|
+
return viewCurrentPr("number,state");
|
|
113
|
+
} catch (error) {
|
|
114
|
+
if (error instanceof Error && error.message.includes("no pull requests")) {
|
|
115
|
+
return null;
|
|
116
|
+
}
|
|
117
|
+
throw error;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export {
|
|
122
|
+
isGhNotInstalled,
|
|
123
|
+
getRepoInfo,
|
|
124
|
+
getCurrentBranch,
|
|
125
|
+
getCurrentPrNumber,
|
|
126
|
+
getCurrentPr,
|
|
127
|
+
getCurrentPrNodeId,
|
|
128
|
+
findCurrentPrNumber,
|
|
129
|
+
findCurrentPr
|
|
130
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// src/shared/mapAsync.ts
|
|
2
|
+
async function mapAsync(items, concurrency, fn) {
|
|
3
|
+
const results = Array.from({ length: items.length });
|
|
4
|
+
let next = 0;
|
|
5
|
+
async function worker() {
|
|
6
|
+
while (next < items.length) {
|
|
7
|
+
const idx = next++;
|
|
8
|
+
results[idx] = await fn(items[idx]);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
const workers = Array.from(
|
|
12
|
+
{ length: Math.min(concurrency, items.length) },
|
|
13
|
+
() => worker()
|
|
14
|
+
);
|
|
15
|
+
await Promise.all(workers);
|
|
16
|
+
return results;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
mapAsync
|
|
21
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import {
|
|
2
|
+
gitMarkerPath
|
|
3
|
+
} from "./chunk-VEZ3FL5H.js";
|
|
4
|
+
import {
|
|
5
|
+
readBuiltVersion
|
|
6
|
+
} from "./chunk-RXKI4XAU.js";
|
|
7
|
+
import {
|
|
8
|
+
runGit
|
|
9
|
+
} from "./chunk-XV2STPP6.js";
|
|
10
|
+
|
|
11
|
+
// src/commands/watch/isBuildPending.ts
|
|
12
|
+
import { existsSync } from "fs";
|
|
13
|
+
|
|
14
|
+
// src/commands/watch/buildPendingPath.ts
|
|
15
|
+
function buildPendingPath(cwd) {
|
|
16
|
+
return gitMarkerPath("assist-watch-build-pending", cwd);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// src/commands/watch/readDistVersion.ts
|
|
20
|
+
import { readFileSync } from "fs";
|
|
21
|
+
import { join } from "path";
|
|
22
|
+
function readDistVersion(cwd) {
|
|
23
|
+
try {
|
|
24
|
+
const root = runGit(["rev-parse", "--show-toplevel"], cwd);
|
|
25
|
+
return readFileSync(join(root, "dist", "built-version"), "utf8").trim();
|
|
26
|
+
} catch {
|
|
27
|
+
return void 0;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// src/commands/watch/isDistBehind.ts
|
|
32
|
+
function isDistBehind(cwd) {
|
|
33
|
+
const dist = readDistVersion(cwd);
|
|
34
|
+
return dist !== void 0 && dist !== readBuiltVersion(cwd);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// src/commands/watch/isBuildPending.ts
|
|
38
|
+
function markedPending(cwd) {
|
|
39
|
+
try {
|
|
40
|
+
return existsSync(buildPendingPath(cwd));
|
|
41
|
+
} catch {
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
function isBuildPending(cwd) {
|
|
46
|
+
return markedPending(cwd) || isDistBehind(cwd);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export {
|
|
50
|
+
buildPendingPath,
|
|
51
|
+
isBuildPending
|
|
52
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getNestedValue
|
|
3
|
+
} from "./chunk-OU6Q5ZS3.js";
|
|
4
|
+
import {
|
|
5
|
+
updateUserConfig,
|
|
6
|
+
userDbKeyError
|
|
7
|
+
} from "./chunk-WGV2ELBS.js";
|
|
8
|
+
import {
|
|
9
|
+
setNestedValue
|
|
10
|
+
} from "./chunk-B5ZOANOD.js";
|
|
11
|
+
import {
|
|
12
|
+
refreshRepoConfigCache
|
|
13
|
+
} from "./chunk-HSWDSL22.js";
|
|
14
|
+
import {
|
|
15
|
+
validateConfig
|
|
16
|
+
} from "./chunk-MBPVW7BY.js";
|
|
17
|
+
import {
|
|
18
|
+
getDb
|
|
19
|
+
} from "./chunk-PD2BTMEY.js";
|
|
20
|
+
|
|
21
|
+
// src/commands/config/applyUserConfigSet.ts
|
|
22
|
+
async function applyUserConfigSet(key, coerced) {
|
|
23
|
+
const nodeOnly = userDbKeyError(key, "Set");
|
|
24
|
+
if (nodeOnly) return nodeOnly;
|
|
25
|
+
const orm = await getDb();
|
|
26
|
+
const outcome = await updateUserConfig(orm, (current) => {
|
|
27
|
+
const value = typeof coerced === "function" ? coerced(getNestedValue(current, key)) : coerced;
|
|
28
|
+
const config = setNestedValue(current, key, value);
|
|
29
|
+
const validation = validateConfig(config, key);
|
|
30
|
+
return validation.ok ? { ok: true, config, result: void 0 } : validation;
|
|
31
|
+
});
|
|
32
|
+
if (!outcome.ok) return outcome;
|
|
33
|
+
await refreshRepoConfigCache(orm);
|
|
34
|
+
return { ok: true, target: "user" };
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export {
|
|
38
|
+
applyUserConfigSet
|
|
39
|
+
};
|