@staff0rd/assist 0.1143.1 → 0.1143.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/acceptanceCriteria-CJ4GRITK.js +44 -0
- package/dist/activity-2SEJVUW5.js +73 -0
- package/dist/add-HXSZYGPR.js +51 -0
- package/dist/add-QQQ472AZ.js +250 -0
- package/dist/add-XWJN42HG.js +140 -0
- package/dist/addActivity-EZZ6TFDF.js +120 -0
- package/dist/addPhase-LOT43TS7.js +152 -0
- package/dist/addRule-J432LIS3.js +102 -0
- package/dist/addUserRule-XO2BNQFH.js +136 -0
- package/dist/adviceFragments-5XVE6JXX.js +41 -0
- package/dist/advise-E6QAZIMK.js +96 -0
- package/dist/analyze-2ECBFV3E.js +63 -0
- package/dist/ask-ESCDDQH5.js +47 -0
- package/dist/askCheck-EYZOXM6D.js +303 -0
- package/dist/askDesign-ZMHB4WKG.js +137 -0
- package/dist/askQuestion-EQV37YPA.js +149 -0
- package/dist/associateGithub-VYQUEKWJ.js +95 -0
- package/dist/associateJira-EUNZOJJC.js +83 -0
- package/dist/backup-3SNDW5JN.js +64 -0
- package/dist/blockCodeComments-PZHXN2WG.js +311 -0
- package/dist/branch-4YGQB3MS.js +98 -0
- package/dist/browserConsole-6ZRED7DG.js +50 -0
- package/dist/browserInspect-2IOKKWOF.js +42 -0
- package/dist/browserRun-JJVVNL6H.js +52 -0
- package/dist/browserSnapshot-Q3DUNUYP.js +32 -0
- package/dist/browserStatus-MEQAEC3K.js +38 -0
- package/dist/built-version +1 -1
- package/dist/chart-4G75ADCW.js +80 -0
- package/dist/check-QRHG4J7G.js +219 -0
- package/dist/checkBuildLocks-UBGUSNX5.js +9 -0
- package/dist/chunk-2DBSXFUE.js +40 -0
- package/dist/chunk-2DCOBBPI.js +50 -0
- package/dist/chunk-2EW62DM5.js +17 -0
- package/dist/chunk-2HT3GIJD.js +130 -0
- package/dist/chunk-2JYMVJGZ.js +21 -0
- package/dist/chunk-2KG6ZPX4.js +52 -0
- package/dist/chunk-2O7TIRCQ.js +39 -0
- package/dist/chunk-3E7RVOMC.js +27 -0
- package/dist/chunk-3FSX26XC.js +25 -0
- package/dist/chunk-3JXMQFUS.js +14 -0
- package/dist/chunk-3KLTYFPV.js +57 -0
- package/dist/chunk-3NK55YVZ.js +48 -0
- package/dist/chunk-3OMKOT6D.js +14 -0
- package/dist/chunk-3PM5JCHE.js +72 -0
- package/dist/chunk-3QKE2ONF.js +39 -0
- package/dist/chunk-3XQHTIHW.js +20 -0
- package/dist/chunk-4BVUY25U.js +21 -0
- package/dist/chunk-4GMAYXOS.js +18 -0
- package/dist/chunk-4HKB2TAG.js +11 -0
- package/dist/chunk-4JIXM5NT.js +21 -0
- package/dist/chunk-4L7TQE67.js +22 -0
- package/dist/chunk-4LFRCSJF.js +46 -0
- package/dist/chunk-4TIDERIW.js +12 -0
- package/dist/chunk-4VDWPVY6.js +258 -0
- package/dist/chunk-4XHBAEMS.js +37 -0
- package/dist/chunk-4Y4ADPEK.js +10 -0
- package/dist/chunk-4YAIQN3S.js +77 -0
- package/dist/chunk-4YHDWC5E.js +33 -0
- package/dist/chunk-547VKFOA.js +15 -0
- package/dist/chunk-54QTHCXV.js +12 -0
- package/dist/chunk-556BOFTS.js +44 -0
- package/dist/chunk-5G5VG5P7.js +14 -0
- package/dist/chunk-5JOVEUBS.js +17 -0
- package/dist/chunk-5KSIOK73.js +25 -0
- package/dist/chunk-5MFQ7T3G.js +40 -0
- package/dist/chunk-5PKWV3WT.js +8 -0
- package/dist/chunk-5VW2GS73.js +42 -0
- package/dist/chunk-5WQDLREX.js +40 -0
- package/dist/chunk-66EUBGD6.js +193 -0
- package/dist/chunk-6DGPQ67E.js +26 -0
- package/dist/chunk-6EYCU3MQ.js +41 -0
- package/dist/chunk-6G2ADBNV.js +19 -0
- package/dist/chunk-6H4DP3ZG.js +14 -0
- package/dist/chunk-6LI6DYBH.js +170 -0
- package/dist/chunk-6MNOEMDU.js +45 -0
- package/dist/chunk-6NDXAN45.js +90 -0
- package/dist/chunk-6NXP34PE.js +20 -0
- package/dist/chunk-6PF5BEEE.js +37 -0
- package/dist/chunk-6SOPR77J.js +12 -0
- package/dist/chunk-6T53CG7D.js +56 -0
- package/dist/chunk-7CEIET2O.js +31 -0
- package/dist/chunk-7DSWCPDZ.js +225 -0
- package/dist/chunk-7HMZTDGB.js +152 -0
- package/dist/chunk-7HNRCA3N.js +12 -0
- package/dist/chunk-7NPZZRMK.js +77 -0
- package/dist/chunk-7O466DJY.js +36 -0
- package/dist/chunk-7TT6C4IC.js +100 -0
- package/dist/chunk-7ZN4KX7V.js +26 -0
- package/dist/chunk-A5ELMTXR.js +143 -0
- package/dist/chunk-ABLDOQ4B.js +42 -0
- package/dist/chunk-ADIYP3KC.js +11 -0
- package/dist/chunk-ADLCDG2V.js +61 -0
- package/dist/chunk-AKF654AT.js +32 -0
- package/dist/chunk-ALAS5LZJ.js +22 -0
- package/dist/chunk-ANCYNQJA.js +16 -0
- package/dist/chunk-APS7GTRT.js +23 -0
- package/dist/chunk-APZ6ZTDA.js +8 -0
- package/dist/chunk-AVLELL42.js +34 -0
- package/dist/chunk-B3JSQA5D.js +25 -0
- package/dist/chunk-B5ZOANOD.js +51 -0
- package/dist/chunk-B6RAZW2L.js +14 -0
- package/dist/chunk-B7B26YPF.js +6 -0
- package/dist/chunk-BAHQJHYD.js +16 -0
- package/dist/chunk-BBXEZVRL.js +38 -0
- package/dist/chunk-BFQSGIN6.js +37 -0
- package/dist/chunk-BJDGVLYX.js +20 -0
- package/dist/chunk-BO5JCCC5.js +17 -0
- package/dist/chunk-BPZBZQEY.js +7450 -0
- package/dist/chunk-BV2V6RTH.js +89 -0
- package/dist/chunk-BVHK2VVT.js +31 -0
- package/dist/chunk-C3MGHR3N.js +25 -0
- package/dist/chunk-CDD4ZTG7.js +31 -0
- package/dist/chunk-CDU6M5IX.js +50 -0
- package/dist/chunk-CGYVYHMM.js +49 -0
- package/dist/chunk-CQQFVAGK.js +46 -0
- package/dist/chunk-CXJJGUTK.js +44 -0
- package/dist/chunk-D7UZLH36.js +8 -0
- package/dist/chunk-DBQTGW7F.js +48 -0
- package/dist/chunk-DIAC4XYA.js +29 -0
- package/dist/chunk-DISNKALJ.js +74 -0
- package/dist/chunk-DLNPUAH7.js +3932 -0
- package/dist/chunk-DS2YJZZY.js +34 -0
- package/dist/chunk-DZGYHAE7.js +31 -0
- package/dist/chunk-E36L7ASL.js +19 -0
- package/dist/chunk-E7AZAWIV.js +478 -0
- package/dist/chunk-EHRQ6OST.js +53 -0
- package/dist/chunk-EI42YEVC.js +208 -0
- package/dist/chunk-ENBVLWTC.js +25 -0
- package/dist/chunk-ENTJ2N5Y.js +34 -0
- package/dist/chunk-ERAGZGT5.js +166 -0
- package/dist/chunk-ERG23IG5.js +12 -0
- package/dist/chunk-EW2ZM2PC.js +6 -0
- package/dist/chunk-EYM57SNL.js +60 -0
- package/dist/chunk-F2LP5MBV.js +26 -0
- package/dist/chunk-FOPR6LRY.js +121 -0
- package/dist/chunk-FPWL4VRC.js +12 -0
- package/dist/chunk-FVZP4ULO.js +14 -0
- package/dist/chunk-FXGN4KLP.js +210 -0
- package/dist/chunk-FYYZG4GY.js +47 -0
- package/dist/chunk-G3ROBZ4I.js +31 -0
- package/dist/chunk-G44QYJ57.js +106 -0
- package/dist/chunk-GF4MNBOX.js +95 -0
- package/dist/chunk-GL5GKF5A.js +68 -0
- package/dist/chunk-GOGGPW2L.js +143 -0
- package/dist/chunk-GQF23TWI.js +14 -0
- package/dist/chunk-GRXFWFGP.js +49 -0
- package/dist/chunk-GVI4JSG7.js +13 -0
- package/dist/chunk-GVVK5XFZ.js +42 -0
- package/dist/chunk-GYAXLTV6.js +37 -0
- package/dist/chunk-H3WYQ2NE.js +15 -0
- package/dist/chunk-H6LFISSF.js +40 -0
- package/dist/chunk-HCANRBFK.js +19 -0
- package/dist/chunk-HHKS3UZB.js +16 -0
- package/dist/chunk-HKGCLAZ7.js +8 -0
- package/dist/chunk-HN7MFXZ7.js +46 -0
- package/dist/chunk-HSWDSL22.js +50 -0
- package/dist/chunk-HWUAJTHE.js +92 -0
- package/dist/chunk-HXBNHLL3.js +33 -0
- package/dist/chunk-I2ZQXBOS.js +108 -0
- package/dist/chunk-I3TEQBTO.js +88 -0
- package/dist/chunk-I5MLH7WJ.js +27 -0
- package/dist/chunk-IB543JQJ.js +70 -0
- package/dist/chunk-IBAO4LIZ.js +23 -0
- package/dist/chunk-IBPSXDUB.js +8 -0
- package/dist/chunk-IEK6CQQH.js +23 -0
- package/dist/chunk-IIFOAUOM.js +34 -0
- package/dist/chunk-IMKMNPRL.js +114 -0
- package/dist/chunk-INBM4BQQ.js +27 -0
- package/dist/chunk-IOKBCYSG.js +29 -0
- package/dist/chunk-IOYGR6YV.js +23 -0
- package/dist/chunk-IV7Z4UVQ.js +150 -0
- package/dist/chunk-IVBWOIGE.js +33 -0
- package/dist/chunk-IYTAHYEL.js +98 -0
- package/dist/chunk-IZBQH3LW.js +17 -0
- package/dist/chunk-J3C454L5.js +741 -0
- package/dist/chunk-J3GISX67.js +23 -0
- package/dist/chunk-JHBA5IZR.js +20 -0
- package/dist/chunk-JHIGA7GN.js +43 -0
- package/dist/chunk-JIWFLALZ.js +269 -0
- package/dist/chunk-JM57BCD6.js +30 -0
- package/dist/chunk-JNCFHWBK.js +30 -0
- package/dist/chunk-JNEYUOQ3.js +83 -0
- package/dist/chunk-JPM7HCLI.js +23 -0
- package/dist/chunk-JPRADR2E.js +10 -0
- package/dist/chunk-JRK7JDU4.js +30 -0
- package/dist/chunk-JVG5AJA2.js +29 -0
- package/dist/chunk-JVTCXR7C.js +72 -0
- package/dist/chunk-JW6QOUMN.js +18 -0
- package/dist/chunk-K45LIKCT.js +37 -0
- package/dist/chunk-K4T24UGW.js +18 -0
- package/dist/chunk-K4TQJQWA.js +44 -0
- package/dist/chunk-K5LOYASR.js +18 -0
- package/dist/chunk-K6NKWRK4.js +30 -0
- package/dist/chunk-KD2PWI4Z.js +48 -0
- package/dist/chunk-KGFZYUE2.js +54 -0
- package/dist/chunk-KHOVDX2Y.js +21 -0
- package/dist/chunk-KLEL6TMJ.js +22 -0
- package/dist/chunk-KNXHXMFT.js +77 -0
- package/dist/chunk-KP5S3FE5.js +13 -0
- package/dist/chunk-KUCVY5R7.js +40 -0
- package/dist/chunk-KY77XKAU.js +26 -0
- package/dist/chunk-L363MNYZ.js +14 -0
- package/dist/chunk-L73KKI5J.js +111 -0
- package/dist/chunk-LBAPKP6M.js +473 -0
- package/dist/chunk-LBPOEGTS.js +271 -0
- package/dist/chunk-LDVATRUW.js +23 -0
- package/dist/chunk-LFRSZIAS.js +13 -0
- package/dist/chunk-LKDW2GWH.js +9 -0
- package/dist/chunk-LMHILP5H.js +36 -0
- package/dist/chunk-LMUTL44M.js +58 -0
- package/dist/chunk-LOP6Y256.js +18 -0
- package/dist/chunk-LSBUNT4X.js +32 -0
- package/dist/chunk-M3O2BTJG.js +12 -0
- package/dist/chunk-M5YTH55B.js +284 -0
- package/dist/chunk-MBPVW7BY.js +63 -0
- package/dist/chunk-MELBVXKL.js +36 -0
- package/dist/chunk-MJ44T7R4.js +28 -0
- package/dist/chunk-MJ4RLQ5N.js +177 -0
- package/dist/chunk-MJLABLH5.js +58 -0
- package/dist/chunk-MODUPHYS.js +20 -0
- package/dist/chunk-MRUIXQXS.js +29 -0
- package/dist/chunk-MSCF3PKY.js +26 -0
- package/dist/chunk-MSKC2RCS.js +17 -0
- package/dist/chunk-MY4TNZNI.js +36 -0
- package/dist/chunk-N65VOEFI.js +23 -0
- package/dist/chunk-N755UYFK.js +58 -0
- package/dist/chunk-NBADZOXB.js +24 -0
- package/dist/chunk-NGTSPXSJ.js +9 -0
- package/dist/chunk-NGYZK6AF.js +18 -0
- package/dist/chunk-NH33OKZQ.js +23 -0
- package/dist/chunk-NOHNPOQK.js +49 -0
- package/dist/chunk-NPQGX4IO.js +16 -0
- package/dist/chunk-NQQVL7BY.js +56 -0
- package/dist/chunk-NWNODYLQ.js +25 -0
- package/dist/chunk-NYEGRDOK.js +191 -0
- package/dist/chunk-NZYSENRR.js +50 -0
- package/dist/chunk-O5JIFWMQ.js +39 -0
- package/dist/chunk-O6HFT23O.js +39 -0
- package/dist/chunk-OBC245PJ.js +39 -0
- package/dist/chunk-ODLSWRTS.js +21 -0
- package/dist/chunk-OGJ6AZK4.js +9 -0
- package/dist/chunk-ONODYZ2H.js +146 -0
- package/dist/chunk-ORSRBZ2X.js +15 -0
- package/dist/chunk-OU6Q5ZS3.js +16 -0
- package/dist/chunk-OZNYQOQK.js +25 -0
- package/dist/chunk-P253KAVC.js +75 -0
- package/dist/chunk-P26XSDFU.js +91 -0
- package/dist/chunk-P3RGVQ5B.js +12 -0
- package/dist/chunk-P7FVAGFQ.js +52 -0
- package/dist/chunk-PCF66ALO.js +39 -0
- package/dist/chunk-PD2BTMEY.js +598 -0
- package/dist/chunk-PGQK356A.js +22 -0
- package/dist/chunk-PIDKNOD6.js +25 -0
- package/dist/chunk-PIWSOEVM.js +63 -0
- package/dist/chunk-PRYIRRAS.js +21 -0
- package/dist/chunk-PURNABFX.js +22 -0
- package/dist/chunk-PXQTFJ2N.js +216 -0
- package/dist/chunk-PYACTCZ2.js +13 -0
- package/dist/chunk-PZAEU7LL.js +23 -0
- package/dist/chunk-Q35724GR.js +51 -0
- package/dist/chunk-Q7RUUXND.js +40 -0
- package/dist/chunk-Q7YVMIA3.js +32 -0
- package/dist/chunk-QAJUCN3A.js +76 -0
- package/dist/chunk-QJRCKXTM.js +38 -0
- package/dist/chunk-QKHOYKUQ.js +362 -0
- package/dist/chunk-QPRFHNX7.js +24 -0
- package/dist/chunk-QR7KY3Y6.js +19 -0
- package/dist/chunk-QU6OQZJ2.js +56 -0
- package/dist/chunk-QVQ2OJXX.js +144 -0
- package/dist/chunk-R2HLLDFE.js +36 -0
- package/dist/chunk-R72E45HQ.js +506 -0
- package/dist/chunk-RFMBA6WA.js +18 -0
- package/dist/chunk-RIMA7EFJ.js +35 -0
- package/dist/chunk-RNFWWESE.js +9 -0
- package/dist/chunk-ROBNJX4W.js +68 -0
- package/dist/chunk-ROCHUNJI.js +36 -0
- package/dist/chunk-RPRL6G4R.js +218 -0
- package/dist/chunk-RQFIPKKQ.js +187 -0
- package/dist/chunk-RSLB4ODM.js +30 -0
- package/dist/chunk-RTYIICCX.js +24 -0
- package/dist/chunk-RVABNGZW.js +46 -0
- package/dist/chunk-RXKI4XAU.js +21 -0
- package/dist/chunk-S4S2DD5Z.js +16 -0
- package/dist/chunk-S6FVZYHH.js +16 -0
- package/dist/chunk-S6XYTJU2.js +37 -0
- package/dist/chunk-SB4BG7PH.js +159 -0
- package/dist/chunk-SC4HAADN.js +224 -0
- package/dist/chunk-SDMBTSYP.js +15 -0
- package/dist/chunk-SDOEWLEE.js +22 -0
- package/dist/chunk-SEXIHLGA.js +16 -0
- package/dist/chunk-SOZZKFBX.js +171 -0
- package/dist/chunk-SSKHLBQB.js +15 -0
- package/dist/chunk-SW7FSLHP.js +26 -0
- package/dist/chunk-T2DY3T55.js +10 -0
- package/dist/chunk-T4TPIDXO.js +111 -0
- package/dist/chunk-T7ZPGAB5.js +192 -0
- package/dist/chunk-TA6KQ26I.js +43 -0
- package/dist/chunk-TCTX3UXU.js +19 -0
- package/dist/chunk-TJGF3Z72.js +12 -0
- package/dist/chunk-TK4AJIJZ.js +47 -0
- package/dist/chunk-TK4URTR6.js +104 -0
- package/dist/chunk-TQCCEWWN.js +89 -0
- package/dist/chunk-TUPSNHFZ.js +49 -0
- package/dist/chunk-TVQY3HPZ.js +43 -0
- package/dist/chunk-TZ5PVDAR.js +48 -0
- package/dist/chunk-U732RAGX.js +240 -0
- package/dist/chunk-UEWARAPX.js +37 -0
- package/dist/chunk-UGGH3MEX.js +26 -0
- package/dist/chunk-UJAMN3ML.js +85 -0
- package/dist/chunk-UJBW7FVI.js +384 -0
- package/dist/chunk-UJMXT5CS.js +855 -0
- package/dist/chunk-UN4ABKA7.js +48 -0
- package/dist/chunk-UP6QV5BJ.js +14 -0
- package/dist/chunk-US6TNW5V.js +28 -0
- package/dist/chunk-USKD27FY.js +11 -0
- package/dist/chunk-USVQT2SR.js +94 -0
- package/dist/chunk-UU77KEL6.js +20 -0
- package/dist/chunk-UXXJTR47.js +31 -0
- package/dist/chunk-UYD7R4HL.js +26 -0
- package/dist/chunk-VABNWHSE.js +31 -0
- package/dist/chunk-VAGZIGNN.js +54 -0
- package/dist/chunk-VDE2QVT4.js +14 -0
- package/dist/chunk-VDXS55BC.js +62 -0
- package/dist/chunk-VEZ3FL5H.js +16 -0
- package/dist/chunk-VF2SKQIN.js +79 -0
- package/dist/chunk-VPMI4LV2.js +25 -0
- package/dist/chunk-VRIT72KI.js +73 -0
- package/dist/chunk-VRQ4WDF7.js +22 -0
- package/dist/chunk-VUR35GB7.js +733 -0
- package/dist/chunk-W5FPQALS.js +36 -0
- package/dist/chunk-W64CKPAW.js +101 -0
- package/dist/chunk-W6UBSIJA.js +50 -0
- package/dist/chunk-W7TRZLEM.js +23 -0
- package/dist/chunk-WDODIKZ4.js +72 -0
- package/dist/chunk-WG3TXZMV.js +70 -0
- package/dist/chunk-WG4UDKA2.js +12 -0
- package/dist/chunk-WGV2ELBS.js +41 -0
- package/dist/chunk-WOGUXGZS.js +32 -0
- package/dist/chunk-WUG2UGQC.js +136 -0
- package/dist/chunk-WX5F66TN.js +438 -0
- package/dist/chunk-WXQ3EA5H.js +12 -0
- package/dist/chunk-WYNRHOR7.js +69 -0
- package/dist/chunk-WYVUP7Z3.js +33 -0
- package/dist/chunk-X44VETJF.js +13 -0
- package/dist/chunk-X6ETCS7E.js +656 -0
- package/dist/chunk-XA3VSUG6.js +72 -0
- package/dist/chunk-XADYGSUA.js +25 -0
- package/dist/chunk-XDIVXGPQ.js +73 -0
- package/dist/chunk-XEJODD6D.js +6 -0
- package/dist/chunk-XSJGIJEE.js +8 -0
- package/dist/chunk-XT3AOF2P.js +16 -0
- package/dist/chunk-XTPBXBZA.js +11 -0
- package/dist/chunk-XV2STPP6.js +45 -0
- package/dist/chunk-XV6BO5MK.js +28 -0
- package/dist/chunk-XXXMWMVQ.js +208 -0
- package/dist/chunk-XY5OS2GH.js +147 -0
- package/dist/chunk-XZFSW5AY.js +217 -0
- package/dist/chunk-Y2KEHWBZ.js +35 -0
- package/dist/chunk-Y3JV5CEL.js +19 -0
- package/dist/chunk-Y3R4C2P7.js +231 -0
- package/dist/chunk-YC3CIJQN.js +22 -0
- package/dist/chunk-YDA62L6J.js +147 -0
- package/dist/chunk-YIBSK5OC.js +13 -0
- package/dist/chunk-YJ72SXVD.js +12 -0
- package/dist/chunk-YKVLG4SZ.js +12 -0
- package/dist/chunk-YNHPTUHS.js +75 -0
- package/dist/chunk-YOFY27RM.js +10 -0
- package/dist/chunk-YPQ6OZFB.js +103 -0
- package/dist/chunk-YQ3CNWB3.js +54 -0
- package/dist/chunk-YS3HSXSJ.js +16 -0
- package/dist/chunk-YSNIMCKC.js +8 -0
- package/dist/chunk-YTIVOMM3.js +22 -0
- package/dist/chunk-YVL3NXEB.js +6 -0
- package/dist/chunk-YXXKT6LL.js +513 -0
- package/dist/chunk-YZ5KJFYU.js +8 -0
- package/dist/chunk-Z2YQQYCQ.js +64 -0
- package/dist/chunk-Z64YKE5O.js +208 -0
- package/dist/chunk-ZABRGL2F.js +45 -0
- package/dist/chunk-ZAMEG3EN.js +470 -0
- package/dist/chunk-ZDSSSQZZ.js +12 -0
- package/dist/chunk-ZFX4EZMW.js +20 -0
- package/dist/chunk-ZKVDVSCE.js +61 -0
- package/dist/chunk-ZLRZR64W.js +36 -0
- package/dist/chunk-ZLSFTNFJ.js +12 -0
- package/dist/chunk-ZMH7UZNP.js +14 -0
- package/dist/chunk-ZO7NYS25.js +18 -0
- package/dist/chunk-ZSHH4XS6.js +11 -0
- package/dist/chunk-ZWTRFLA6.js +31 -0
- package/dist/chunk-ZYE25KR3.js +12 -0
- package/dist/chunk-ZYK7V4PG.js +22 -0
- package/dist/clean-W43XKMR2.js +49 -0
- package/dist/cliHook-HA2YOEQG.js +96 -0
- package/dist/cliHookCheck-W66AII3A.js +74 -0
- package/dist/cloneRepo-LSIV3K3X.js +80 -0
- package/dist/closeSession-I2J2ICU4.js +30 -0
- package/dist/codeCommentConfirm-LGYBP6JX.js +69 -0
- package/dist/codeCommentSet-2YWQJXI2.js +115 -0
- package/dist/codexHook-YACIK7S3.js +200 -0
- package/dist/codexHookTrust-YYBCCR7P.js +59 -0
- package/dist/commands/sessions/web/bundle.js +1 -1
- package/dist/comment-R5MBHRIJ.js +46 -0
- package/dist/comment-SAOYKB2J.js +17 -0
- package/dist/commentIssue-PDIQVTZM.js +43 -0
- package/dist/comments-ABF3S3O5.js +56 -0
- package/dist/commit-ET4QBICB.js +511 -0
- package/dist/commits-QFWMYJC5.js +146 -0
- package/dist/configGet-42P4ONFD.js +94 -0
- package/dist/configImportRepos-ZIUYOKHH.js +142 -0
- package/dist/configImportUser-NWUPLRQE.js +177 -0
- package/dist/configKeys-HFGEHZBT.js +69 -0
- package/dist/configKeys-OGJBDYG6.js +73 -0
- package/dist/configList-CBYHO432.js +75 -0
- package/dist/configSet-3UHHWKDP.js +136 -0
- package/dist/configUnset-LYGRTYB3.js +121 -0
- package/dist/configure-ETWPCRNG.js +86 -0
- package/dist/coverage-G7J25BUX.js +17 -0
- package/dist/createIssue-AIQ3U4LC.js +357 -0
- package/dist/cyclomatic-7ZFTN5VN.js +18 -0
- package/dist/daemonStatus-YXGIS55D.js +112 -0
- package/dist/del-NHH7NU3Y.js +44 -0
- package/dist/deleteCommentCmd-SAG7WMDV.js +73 -0
- package/dist/denyAdd-YXXNFWMO.js +29 -0
- package/dist/denyList-IZVZEOSD.js +43 -0
- package/dist/denyRemove-4IUYBEMU.js +30 -0
- package/dist/deps-RSUOIZPE.js +117 -0
- package/dist/docsConfirm-2LAEAX3R.js +97 -0
- package/dist/docsUnlock-SCPIWHT5.js +93 -0
- package/dist/doctorNodes-JJ2EIU36.js +131 -0
- package/dist/done-ABRDBISM.js +92 -0
- package/dist/drainDaemon-LCQQ3EP4.js +96 -0
- package/dist/dropRetiredTables-JBLALSG5.js +31 -0
- package/dist/edit-CFPOK62A.js +133 -0
- package/dist/editHook-OWHBNL5T.js +388 -0
- package/dist/editIssue-C2G7D3VJ.js +281 -0
- package/dist/editIssueComment-5SIYQKI6.js +68 -0
- package/dist/exportBacklog-NGFOXXUG.js +24 -0
- package/dist/extension-YYRD5EM6.js +32 -0
- package/dist/extract-SGYOCBTT.js +688 -0
- package/dist/fixConflict-IPWVXZWO.js +66 -0
- package/dist/fixStructure-4UTN5ED6.js +436 -0
- package/dist/fixed-OTDA7M25.js +72 -0
- package/dist/forbiddenStrings-GVXIN7QW.js +88 -0
- package/dist/formatConfiguredCommands-WI25I2JJ.js +19 -0
- package/dist/getBacklogDir-AVGEKM42.js +18 -0
- package/dist/halstead-CMFRMXT6.js +18 -0
- package/dist/hardcodedColors-4NBF5Z53.js +61 -0
- package/dist/harnessFollowUps-PNR55PM4.js +87 -0
- package/dist/ignore-7E4ZV5XH.js +30 -0
- package/dist/importBacklog-FOGUOAIJ.js +228 -0
- package/dist/inSln-G4VRY7VM.js +22 -0
- package/dist/index.js +2832 -10
- package/dist/indexRules-65H3IE33.js +31 -0
- package/dist/init-2WH6WD64.js +9 -0
- package/dist/init-6Y2TC67U.js +23 -0
- package/dist/init-BELQ3LDU.js +25 -0
- package/dist/init-BNY2X74K.js +9 -0
- package/dist/init-PZIM2TEG.js +9 -0
- package/dist/inspect-OI5K5KSG.js +368 -0
- package/dist/jiraAuth-4Z5EVL7A.js +51 -0
- package/dist/launchMode-RBSRGUTI.js +85 -0
- package/dist/link-JDJBEJCL.js +124 -0
- package/dist/link-LYQZULAX.js +59 -0
- package/dist/linkNode-IZ7TMIBN.js +88 -0
- package/dist/lint-5AA42LMF.js +418 -0
- package/dist/list-BM6RD4CP.js +43 -0
- package/dist/list-GCJ6WCKC.js +34 -0
- package/dist/list-HCOU6YAY.js +28 -0
- package/dist/list-UXIZ6WY2.js +100 -0
- package/dist/list-ZR6AEAER.js +33 -0
- package/dist/list-ZVSHR4AA.js +113 -0
- package/dist/listComments-CTM5UMWI.js +203 -0
- package/dist/listModels-2US52LRW.js +74 -0
- package/dist/listNodes-HNKK3LEQ.js +54 -0
- package/dist/listRules-XBWM5DPH.js +41 -0
- package/dist/maintainability-P55FDYZW.js +19 -0
- package/dist/merge-MVMNYPO2.js +196 -0
- package/dist/mermaidExport-DKB3X763.js +108 -0
- package/dist/migrate-XZ562LTJ.js +37 -0
- package/dist/migrations-CSVJKLQC.js +206 -0
- package/dist/move-XAN7VFR4.js +63 -0
- package/dist/movePhase-AK3F6A6P.js +103 -0
- package/dist/moveRepo-P7LPCWIL.js +109 -0
- package/dist/netcap-FIHYF3LK.js +203 -0
- package/dist/netcapExtract-KAFERZ6V.js +462 -0
- package/dist/newCli-2HD56JUI.js +132 -0
- package/dist/newProject-5UN6N4MS.js +70 -0
- package/dist/next-FAAUSQLC.js +145 -0
- package/dist/next-H5RR3AHL.js +83 -0
- package/dist/noVenv-DONW2S6P.js +34 -0
- package/dist/nodeLogs-NNLS5TNI.js +64 -0
- package/dist/notify-NRLRUDFI.js +66 -0
- package/dist/permitCliReads-RSRMZMGS.js +313 -0
- package/dist/phaseDone-FBAQDO3S.js +99 -0
- package/dist/piHook-WAOTTSYE.js +89 -0
- package/dist/plan-GBSJWMXP.js +51 -0
- package/dist/postSlackMessage-SJQGYGJQ.js +21 -0
- package/dist/posted-ZNKIE73Q.js +76 -0
- package/dist/printComments-7ROHUEPO.js +169 -0
- package/dist/printExtensionUrl-IW2WTSNS.js +19 -0
- package/dist/prompts-SL6SHWOA.js +55 -0
- package/dist/propose-UAAUUCLA.js +307 -0
- package/dist/prs-2SRUKVTI.js +138 -0
- package/dist/prsSlackChannel-DY35HNQF.js +28 -0
- package/dist/prsStatus-6G3ZTK36.js +319 -0
- package/dist/pullIfConfigured-V2H6IFDQ.js +18 -0
- package/dist/raise-OBGNVBLZ.js +330 -0
- package/dist/raiseHelpText-6TECFMWR.js +148 -0
- package/dist/ravendbAuth-53OAERB3.js +147 -0
- package/dist/ravendbCollections-2NZYZR5P.js +35 -0
- package/dist/ravendbQuery-EY2XGKEK.js +89 -0
- package/dist/ravendbSetConnection-U7X27AIP.js +16 -0
- package/dist/readBodyArgument-NZG3GJMF.js +7 -0
- package/dist/readTime-23CA6JVM.js +168 -0
- package/dist/recordSlack-TZH2THZH.js +60 -0
- package/dist/redirect-G7WS7LDE.js +32 -0
- package/dist/refine-K4HJN4Y3.js +87 -0
- package/dist/refreshDocs-A5S2NQ5Z.js +65 -0
- package/dist/releasesConfigure-JA7QNAJF.js +211 -0
- package/dist/releasesList-EETLBTD2.js +39 -0
- package/dist/remove-CSUOZRGT.js +96 -0
- package/dist/remove-VIGXH42Y.js +43 -0
- package/dist/removePhase-S4WFO6PT.js +62 -0
- package/dist/rename-PM5VQUCY.js +96 -0
- package/dist/renameSession-IQ6RHQUJ.js +30 -0
- package/dist/renameSymbol-OOIIGF3B.js +78 -0
- package/dist/reply-4VV4LEYF.js +65 -0
- package/dist/reportCliError-6UDOLAIT.js +42 -0
- package/dist/repos-JP75ZTBU.js +130 -0
- package/dist/resolveHarness-A3F7CDF2.js +17 -0
- package/dist/resolveModel-GHXLN2T4.js +27 -0
- package/dist/restartDaemon-YSKQMKEQ.js +9 -0
- package/dist/restartNode-AAKYY7RP.js +59 -0
- package/dist/restructure-FJ3BME7E.js +760 -0
- package/dist/review-4XGSPYYJ.js +3870 -0
- package/dist/reviewPrComments-G7BLTDCB.js +80 -0
- package/dist/rewindPhase-D74DZJYB.js +82 -0
- package/dist/run-5GK74KHD.js +178 -0
- package/dist/run-E3IAT5WL.js +78 -0
- package/dist/runDaemon-7VRQFO4S.js +9284 -0
- package/dist/runExtract-IUEUT2IK.js +568 -0
- package/dist/runRefine-KCQDMHH7.js +99 -0
- package/dist/runScope-LCAGTKGG.js +39 -0
- package/dist/scan-ZYPLRIEG.js +74 -0
- package/dist/scheduleBackup-3UZQU67U.js +200 -0
- package/dist/schemaConfirm-BWQ37LUT.js +171 -0
- package/dist/schemaUnlock-6VDN2OVT.js +135 -0
- package/dist/screenshot-ARSOZ2M6.js +182 -0
- package/dist/search-JRE2KNWY.js +79 -0
- package/dist/seqAuth-6IPD5OPG.js +50 -0
- package/dist/seqQuery-HL6H4PMX.js +233 -0
- package/dist/seqSetConnection-IUCGBTON.js +30 -0
- package/dist/sessionOutput-NXHUXIKC.js +92 -0
- package/dist/setSessionStatus-HPHBUHVB.js +12 -0
- package/dist/setStatusCommand-WBRJ4BTB.js +61 -0
- package/dist/show-37KECDJB.js +327 -0
- package/dist/show-GL235RVD.js +186 -0
- package/dist/showClaudeCodeIcon-E4SAM3GN.js +12 -0
- package/dist/showCodexIcon-YUAKV4NI.js +11 -0
- package/dist/signExtension-7YGZ6OFR.js +182 -0
- package/dist/simulateDivergence-VB4UL4UR.js +27 -0
- package/dist/skip-ZZHUH3MU.js +76 -0
- package/dist/slack-74LWSKRK.js +221 -0
- package/dist/sloc-KPIIBOMR.js +18 -0
- package/dist/sqlAuth-IN4PYCIX.js +59 -0
- package/dist/sqlColumns-SNPMTHHK.js +50 -0
- package/dist/sqlMutate-4QC4IT4E.js +43 -0
- package/dist/sqlQuery-OAXPQJPY.js +53 -0
- package/dist/sqlSetConnection-UAX7TRB4.js +30 -0
- package/dist/sqlTables-ZM2PUJ7N.js +39 -0
- package/dist/star-2GG4JB3K.js +46 -0
- package/dist/start-BUUHD4ZQ.js +44 -0
- package/dist/startIssue-JSVKGZZR.js +135 -0
- package/dist/status-63OT6MGQ.js +38 -0
- package/dist/{chunk-W7ZLVOL6.js → statusLine-TK2QPCQO.js} +9 -4
- package/dist/stop-HG3UZOI6.js +52 -0
- package/dist/stopClaudeCodeIcon-P4AVHUOL.js +12 -0
- package/dist/stopCodexIcon-7O6D2SEH.js +11 -0
- package/dist/stopDaemon-XIYQ6SAW.js +8 -0
- package/dist/sync-HAAAJ4LC.js +826 -0
- package/dist/testflightAdd-MBJAAJGR.js +37 -0
- package/dist/unassignIssue-OXNUC2QQ.js +37 -0
- package/dist/unlink-TLLWWJIG.js +71 -0
- package/dist/unlinkNode-O7IZD5BN.js +41 -0
- package/dist/unstar-EEKVLJQI.js +46 -0
- package/dist/update-6NKPYHDT.js +72 -0
- package/dist/update-E72CS3ZO.js +160 -0
- package/dist/updateNode-FC4VXOHB.js +99 -0
- package/dist/updatePhase-USTBTRW4.js +163 -0
- package/dist/updatePlan-UIN3U6VU.js +315 -0
- package/dist/version-4E3HWTDD.js +47 -0
- package/dist/viewIssue-CYHIPCFO.js +36 -0
- package/dist/watchLoop-MV7DVGC6.js +30 -0
- package/dist/watchReport-A4W7UOAJ.js +23 -0
- package/dist/watchWait-FF65XUH2.js +538 -0
- package/dist/web-6YNOCOEQ.js +169 -0
- package/dist/web-L4OX5ZDA.js +178 -0
- package/dist/withPool-APJFDKR2.js +18 -0
- package/dist/wontdo-KOV5YLR6.js +52 -0
- package/dist/wontfix-UZTOERNG.js +79 -0
- package/dist/write-PH5YX6V5.js +132 -0
- package/dist/writeSignal-NGH5I4AX.js +8 -0
- package/package.json +1 -1
- package/dist/chunk-MYJJAJB7.js +0 -113
- package/dist/runCli-OSXLT6CQ.js +0 -65704
- package/dist/runStatusLine-6VBMFNUZ.js +0 -17
- package/dist/statusLine-PWO6JAR2.js +0 -7
|
@@ -0,0 +1,438 @@
|
|
|
1
|
+
import {
|
|
2
|
+
mapAsync
|
|
3
|
+
} from "./chunk-2JYMVJGZ.js";
|
|
4
|
+
import {
|
|
5
|
+
launchBlocker
|
|
6
|
+
} from "./chunk-NWNODYLQ.js";
|
|
7
|
+
import {
|
|
8
|
+
INBOX_LAST_SCAN_KEY,
|
|
9
|
+
inboxConnectorRun,
|
|
10
|
+
inboxScanSchema,
|
|
11
|
+
readInboxLastScan
|
|
12
|
+
} from "./chunk-EHRQ6OST.js";
|
|
13
|
+
import {
|
|
14
|
+
inboxMessages,
|
|
15
|
+
jobRuns,
|
|
16
|
+
metadata
|
|
17
|
+
} from "./chunk-PD2BTMEY.js";
|
|
18
|
+
import {
|
|
19
|
+
emptyScanUsage,
|
|
20
|
+
harnessAdapter,
|
|
21
|
+
scanUsageTokens
|
|
22
|
+
} from "./chunk-DLNPUAH7.js";
|
|
23
|
+
import {
|
|
24
|
+
inboxFeature
|
|
25
|
+
} from "./chunk-PXQTFJ2N.js";
|
|
26
|
+
|
|
27
|
+
// src/shared/formatTokens.ts
|
|
28
|
+
function formatTokens(n) {
|
|
29
|
+
if (n < 1e3) return String(n);
|
|
30
|
+
if (n < 1e6) return `${(n / 1e3).toFixed(1)}k`;
|
|
31
|
+
return `${(n / 1e6).toFixed(1)}M`;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// src/commands/inbox/formatScanCost.ts
|
|
35
|
+
function formatScanCost(costUsd) {
|
|
36
|
+
return `$${costUsd.toFixed(2)}`;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// src/commands/inbox/formatScanUsage.ts
|
|
40
|
+
function formatScanUsage(usage) {
|
|
41
|
+
const tokens = `${formatTokens(scanUsageTokens(usage))} tokens`;
|
|
42
|
+
return usage.costUsd === null ? tokens : `${tokens} \xB7 ${formatScanCost(usage.costUsd)}`;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// src/commands/inbox/inboxScanBlocker.ts
|
|
46
|
+
function inboxScanBlocker(harness) {
|
|
47
|
+
return launchBlocker(harnessAdapter(harness), inboxFeature);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// src/shared/db/upsertInboxMessages.ts
|
|
51
|
+
async function upsertInboxMessages(orm, messages) {
|
|
52
|
+
if (messages.length === 0) return 0;
|
|
53
|
+
const inserted = await orm.insert(inboxMessages).values(messages).onConflictDoNothing({
|
|
54
|
+
target: [inboxMessages.source, inboxMessages.messageId]
|
|
55
|
+
}).returning({ messageId: inboxMessages.messageId });
|
|
56
|
+
return inserted.length;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// src/shared/db/writeInboxLastScan.ts
|
|
60
|
+
async function writeInboxLastScan(orm, at) {
|
|
61
|
+
const value = at.toISOString();
|
|
62
|
+
await orm.insert(metadata).values({ key: INBOX_LAST_SCAN_KEY, value }).onConflictDoUpdate({ target: metadata.key, set: { value } });
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// src/commands/inbox/addScanUsage.ts
|
|
66
|
+
function sumNullable(a, b) {
|
|
67
|
+
return a === null && b === null ? null : (a ?? 0) + (b ?? 0);
|
|
68
|
+
}
|
|
69
|
+
function addScanUsage(a, b) {
|
|
70
|
+
return {
|
|
71
|
+
input: a.input + b.input,
|
|
72
|
+
output: a.output + b.output,
|
|
73
|
+
cacheRead: a.cacheRead + b.cacheRead,
|
|
74
|
+
cacheWrite: a.cacheWrite + b.cacheWrite,
|
|
75
|
+
costUsd: sumNullable(a.costUsd, b.costUsd),
|
|
76
|
+
durationMs: sumNullable(a.durationMs, b.durationMs)
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
// src/commands/inbox/inboxFlagInstructions.ts
|
|
81
|
+
function inboxFlagInstructions() {
|
|
82
|
+
return [
|
|
83
|
+
"Do not flag purely automated messages with no person-written message to me: bots, apps, CI, calendars, ticketing, monitoring, newsletters or mailing lists.",
|
|
84
|
+
`A notification email that relays a message a person wrote to me (such as a Teams chat @mention or reply, "<Name> mentioned you in your chat") is a person's message, not an automated one: judge the relayed message like any other and flag it when it needs my reply or action, even when it comes from a no-reply address.`,
|
|
85
|
+
"Flag messages a person wrote to me that need me to reply or act. That includes messages that hand me something to act on without asking a question, such as a credential or secret to retrieve, a document to review, or a deadline to meet.",
|
|
86
|
+
"Judge each message on its full content, never on a search snippet alone.",
|
|
87
|
+
"",
|
|
88
|
+
"For each flagged message return:",
|
|
89
|
+
'- source: "gmail" or "slack"',
|
|
90
|
+
"- messageId: the Gmail message id, or for Slack <channel_id>:<message ts>",
|
|
91
|
+
"- sender: the sender's name; for a relayed message, the person who wrote it, never the notification address or service",
|
|
92
|
+
"- summary: one sentence on the reply or action it needs from me",
|
|
93
|
+
"- link: the Gmail message viewUrl or the Slack permalink",
|
|
94
|
+
"- receivedAt: when it was sent, as an ISO 8601 timestamp",
|
|
95
|
+
"",
|
|
96
|
+
"Return an empty messages array when nothing needs my reply or action."
|
|
97
|
+
];
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// src/commands/inbox/buildInboxScanPrompt.ts
|
|
101
|
+
function buildInboxScanPrompt(since) {
|
|
102
|
+
const sinceUnix = Math.floor(since.getTime() / 1e3);
|
|
103
|
+
return [
|
|
104
|
+
"Triage my Gmail and Slack for messages a person wrote to me that need my reply or action.",
|
|
105
|
+
"You are read-only: never label, mark read, react to, reply to or otherwise change any message.",
|
|
106
|
+
"",
|
|
107
|
+
"Gmail:",
|
|
108
|
+
'- Call search_threads with query "in:inbox is:unread" (page through all results).',
|
|
109
|
+
"- Call get_thread with messageFormat PLAIN_TEXT on each thread.",
|
|
110
|
+
"- Consider the latest unread message in each thread.",
|
|
111
|
+
"",
|
|
112
|
+
`Slack (only messages since ${since.toISOString()}, unix ${sinceUnix}):`,
|
|
113
|
+
`- Call slack_search_public_and_private with filters "is:dm" and after "${sinceUnix}".`,
|
|
114
|
+
`- Call slack_search_public_and_private with keywords ["<@MY_USER_ID>"] and after "${sinceUnix}", where MY_USER_ID is the logged-in user id from the tool description.`,
|
|
115
|
+
"- Skip messages I wrote myself.",
|
|
116
|
+
"- For a message in a thread, call slack_read_thread and skip it if I have replied in that thread after it.",
|
|
117
|
+
"",
|
|
118
|
+
...inboxFlagInstructions()
|
|
119
|
+
].join("\n");
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// src/commands/inbox/buildInboxThreadsPrompt.ts
|
|
123
|
+
function buildInboxThreadsPrompt(threadIds) {
|
|
124
|
+
return [
|
|
125
|
+
"Triage these unread threads from my Gmail inbox for messages that need my reply or action.",
|
|
126
|
+
"You are read-only: never label, mark read, reply to or otherwise change any message.",
|
|
127
|
+
"",
|
|
128
|
+
"Call get_thread with messageFormat PLAIN_TEXT on every one of these thread ids, and consider the latest unread message in each:",
|
|
129
|
+
...threadIds.map((id) => `- ${id}`),
|
|
130
|
+
"",
|
|
131
|
+
...inboxFlagInstructions()
|
|
132
|
+
].join("\n");
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// src/commands/inbox/openedThreadId.ts
|
|
136
|
+
var BODILESS_FORMATS = /* @__PURE__ */ new Set(["MINIMAL", "METADATA_ONLY"]);
|
|
137
|
+
function openedThreadId(input) {
|
|
138
|
+
const { threadId, messageFormat } = input ?? {};
|
|
139
|
+
if (typeof threadId !== "string") return void 0;
|
|
140
|
+
return typeof messageFormat === "string" && BODILESS_FORMATS.has(messageFormat) ? void 0 : threadId;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// src/commands/inbox/searchResultThreadIds.ts
|
|
144
|
+
function items(value) {
|
|
145
|
+
return Array.isArray(value) ? value : [];
|
|
146
|
+
}
|
|
147
|
+
function searchResultThreadIds(text) {
|
|
148
|
+
try {
|
|
149
|
+
const { threads } = JSON.parse(text);
|
|
150
|
+
return items(threads).map((thread) => thread.id).filter((id) => typeof id === "string");
|
|
151
|
+
} catch {
|
|
152
|
+
return [];
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
// src/commands/inbox/createGmailCoverage.ts
|
|
157
|
+
function createGmailCoverage() {
|
|
158
|
+
const searches = /* @__PURE__ */ new Set();
|
|
159
|
+
const found = /* @__PURE__ */ new Set();
|
|
160
|
+
const opened = /* @__PURE__ */ new Set();
|
|
161
|
+
return {
|
|
162
|
+
onEvent(event) {
|
|
163
|
+
if (event.type === "toolCall") {
|
|
164
|
+
if (event.tool === "gmail.searchThreads") searches.add(event.callId);
|
|
165
|
+
else if (event.tool === "gmail.getThread") {
|
|
166
|
+
const id = openedThreadId(event.input);
|
|
167
|
+
if (id) opened.add(id);
|
|
168
|
+
}
|
|
169
|
+
} else if (event.type === "toolResult" && searches.has(event.callId))
|
|
170
|
+
for (const id of searchResultThreadIds(event.text)) found.add(id);
|
|
171
|
+
},
|
|
172
|
+
current: () => ({ found: [...found], opened: [...opened] })
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
// src/commands/inbox/describeInboxScanTool.ts
|
|
177
|
+
function pick(input, keys) {
|
|
178
|
+
return keys.map((key) => input[key]).filter(
|
|
179
|
+
(value) => typeof value === "string" || typeof value === "number"
|
|
180
|
+
).map(String);
|
|
181
|
+
}
|
|
182
|
+
function describeInboxScanTool(input) {
|
|
183
|
+
return pick(input, [
|
|
184
|
+
"query",
|
|
185
|
+
"thread_id",
|
|
186
|
+
"threadId",
|
|
187
|
+
"channel_id",
|
|
188
|
+
"message_ts"
|
|
189
|
+
]).join(" ");
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
// src/commands/inbox/inboxProgressEvent.ts
|
|
193
|
+
var MAX_TEXT = 500;
|
|
194
|
+
function inboxProgressEvent(event) {
|
|
195
|
+
const at = (/* @__PURE__ */ new Date()).toISOString();
|
|
196
|
+
const tokens = "tokens" in event && event.tokens !== void 0 ? { tokens: event.tokens } : {};
|
|
197
|
+
if (event.type === "toolCall")
|
|
198
|
+
return {
|
|
199
|
+
at,
|
|
200
|
+
kind: "tool",
|
|
201
|
+
label: event.label,
|
|
202
|
+
detail: describeInboxScanTool(event.input),
|
|
203
|
+
...tokens
|
|
204
|
+
};
|
|
205
|
+
if (event.type === "text")
|
|
206
|
+
return {
|
|
207
|
+
at,
|
|
208
|
+
kind: "text",
|
|
209
|
+
label: "Assistant",
|
|
210
|
+
detail: truncate(event.text),
|
|
211
|
+
...tokens
|
|
212
|
+
};
|
|
213
|
+
return void 0;
|
|
214
|
+
}
|
|
215
|
+
function truncate(text) {
|
|
216
|
+
const trimmed = text.trim();
|
|
217
|
+
return trimmed.length <= MAX_TEXT ? trimmed : `${trimmed.slice(0, MAX_TEXT - 1)}\u2026`;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
// src/commands/inbox/parseInboxScanOutput.ts
|
|
221
|
+
import { z } from "zod";
|
|
222
|
+
function parseInboxScanOutput(output) {
|
|
223
|
+
const parsed = inboxScanSchema.safeParse(output);
|
|
224
|
+
if (!parsed.success)
|
|
225
|
+
throw new Error(
|
|
226
|
+
`Inbox scan returned malformed output: ${z.prettifyError(parsed.error)}`
|
|
227
|
+
);
|
|
228
|
+
return parsed.data.messages;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
// src/commands/inbox/runInboxScanPass.ts
|
|
232
|
+
async function runInboxScanPass(adapter, { prompt, tools }, {
|
|
233
|
+
onEvent = () => {
|
|
234
|
+
},
|
|
235
|
+
onUsage = () => {
|
|
236
|
+
},
|
|
237
|
+
onModel = () => {
|
|
238
|
+
}
|
|
239
|
+
} = {}) {
|
|
240
|
+
const coverage = createGmailCoverage();
|
|
241
|
+
const handle = (event) => {
|
|
242
|
+
coverage.onEvent(event);
|
|
243
|
+
if (event.type === "model") onModel(event.model);
|
|
244
|
+
else if (event.type === "usage") onUsage(event.usage);
|
|
245
|
+
const progress = inboxProgressEvent(event);
|
|
246
|
+
if (progress) onEvent(progress);
|
|
247
|
+
};
|
|
248
|
+
const result = await inboxConnectorRun(adapter, prompt, tools, handle);
|
|
249
|
+
return {
|
|
250
|
+
messages: parseInboxScanOutput(result.output),
|
|
251
|
+
usage: result.usage,
|
|
252
|
+
threads: coverage.current()
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
// src/commands/inbox/scanUnopenedThreads.ts
|
|
257
|
+
var BATCH_SIZE = 25;
|
|
258
|
+
var CONCURRENCY = 4;
|
|
259
|
+
var MAX_ATTEMPTS = 2;
|
|
260
|
+
function chunk(items2, size) {
|
|
261
|
+
return Array.from(
|
|
262
|
+
{ length: Math.ceil(items2.length / size) },
|
|
263
|
+
(_, i) => items2.slice(i * size, (i + 1) * size)
|
|
264
|
+
);
|
|
265
|
+
}
|
|
266
|
+
function errorEvent(detail) {
|
|
267
|
+
return {
|
|
268
|
+
at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
269
|
+
kind: "error",
|
|
270
|
+
label: "Gmail",
|
|
271
|
+
detail
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
async function scanUnopenedThreads(threadIds, scanThreads, onEvent = () => {
|
|
275
|
+
}) {
|
|
276
|
+
const messages = [];
|
|
277
|
+
let pending = threadIds;
|
|
278
|
+
for (let attempt = 0; attempt < MAX_ATTEMPTS && pending.length; attempt++) {
|
|
279
|
+
const results = await mapAsync(
|
|
280
|
+
chunk(pending, BATCH_SIZE),
|
|
281
|
+
CONCURRENCY,
|
|
282
|
+
(batch) => scanThreads(batch).catch((error) => {
|
|
283
|
+
onEvent(
|
|
284
|
+
errorEvent(error instanceof Error ? error.message : String(error))
|
|
285
|
+
);
|
|
286
|
+
return void 0;
|
|
287
|
+
})
|
|
288
|
+
);
|
|
289
|
+
const opened = new Set(results.flatMap((r) => r?.threads.opened ?? []));
|
|
290
|
+
messages.push(...results.flatMap((r) => r?.messages ?? []));
|
|
291
|
+
pending = pending.filter((id) => !opened.has(id));
|
|
292
|
+
}
|
|
293
|
+
if (pending.length)
|
|
294
|
+
onEvent(
|
|
295
|
+
errorEvent(
|
|
296
|
+
`${pending.length} unread thread(s) never opened: ${pending.join(" ")}`
|
|
297
|
+
)
|
|
298
|
+
);
|
|
299
|
+
return messages;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
// src/commands/inbox/scanInboxWithCoverage.ts
|
|
303
|
+
async function scanInboxWithCoverage(adapter, since, listener) {
|
|
304
|
+
const runs = [];
|
|
305
|
+
const total = () => runs.reduce(addScanUsage, emptyScanUsage());
|
|
306
|
+
const run = async (pass) => {
|
|
307
|
+
const slot = runs.push(emptyScanUsage()) - 1;
|
|
308
|
+
const result = await runInboxScanPass(adapter, pass, {
|
|
309
|
+
...listener,
|
|
310
|
+
onUsage: (usage) => {
|
|
311
|
+
runs[slot] = usage;
|
|
312
|
+
listener.onUsage?.(total());
|
|
313
|
+
}
|
|
314
|
+
});
|
|
315
|
+
runs[slot] = result.usage;
|
|
316
|
+
return result;
|
|
317
|
+
};
|
|
318
|
+
const main = await run({
|
|
319
|
+
prompt: buildInboxScanPrompt(since),
|
|
320
|
+
tools: [
|
|
321
|
+
"gmail.searchThreads",
|
|
322
|
+
"gmail.getThread",
|
|
323
|
+
"slack.search",
|
|
324
|
+
"slack.readThread"
|
|
325
|
+
]
|
|
326
|
+
});
|
|
327
|
+
const opened = new Set(main.threads.opened);
|
|
328
|
+
const followUp = await scanUnopenedThreads(
|
|
329
|
+
main.threads.found.filter((id) => !opened.has(id)),
|
|
330
|
+
(threadIds) => run({
|
|
331
|
+
prompt: buildInboxThreadsPrompt(threadIds),
|
|
332
|
+
tools: ["gmail.getThread"]
|
|
333
|
+
}),
|
|
334
|
+
listener.onEvent
|
|
335
|
+
);
|
|
336
|
+
return { messages: [...main.messages, ...followUp], usage: total() };
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
// src/shared/db/finishJobRun.ts
|
|
340
|
+
import { eq } from "drizzle-orm";
|
|
341
|
+
async function finishJobRun(db, id, result) {
|
|
342
|
+
await db.update(jobRuns).set(result).where(eq(jobRuns.id, id));
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
// src/shared/db/startJobRun.ts
|
|
346
|
+
async function startJobRun(db, run) {
|
|
347
|
+
const [row] = await db.insert(jobRuns).values({ ...run, status: "running" }).returning({ id: jobRuns.id });
|
|
348
|
+
return row.id;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
// src/commands/inbox/withInboxScanJob.ts
|
|
352
|
+
function usageColumns(usage) {
|
|
353
|
+
return {
|
|
354
|
+
inputTokens: usage.input,
|
|
355
|
+
outputTokens: usage.output,
|
|
356
|
+
cacheReadTokens: usage.cacheRead,
|
|
357
|
+
cacheWriteTokens: usage.cacheWrite,
|
|
358
|
+
costUsd: usage.costUsd
|
|
359
|
+
};
|
|
360
|
+
}
|
|
361
|
+
async function withInboxScanJob(orm, trigger, listener, scan) {
|
|
362
|
+
const startedAt = /* @__PURE__ */ new Date();
|
|
363
|
+
const id = await startJobRun(orm, { kind: "inbox-scan", trigger, startedAt });
|
|
364
|
+
let usage = emptyScanUsage();
|
|
365
|
+
let model = null;
|
|
366
|
+
const finish = (status, detail) => {
|
|
367
|
+
const finishedAt = /* @__PURE__ */ new Date();
|
|
368
|
+
return finishJobRun(orm, id, {
|
|
369
|
+
status,
|
|
370
|
+
finishedAt,
|
|
371
|
+
durationMs: finishedAt.getTime() - startedAt.getTime(),
|
|
372
|
+
model,
|
|
373
|
+
...usageColumns(usage),
|
|
374
|
+
detail
|
|
375
|
+
});
|
|
376
|
+
};
|
|
377
|
+
try {
|
|
378
|
+
const result = await scan({
|
|
379
|
+
...listener,
|
|
380
|
+
onUsage: (next) => {
|
|
381
|
+
usage = next;
|
|
382
|
+
listener.onUsage?.(next);
|
|
383
|
+
},
|
|
384
|
+
onModel: (next) => {
|
|
385
|
+
model = next;
|
|
386
|
+
listener.onModel?.(next);
|
|
387
|
+
}
|
|
388
|
+
});
|
|
389
|
+
usage = result.usage;
|
|
390
|
+
await finish("finished", `${result.flagged} flagged \xB7 ${result.added} new`);
|
|
391
|
+
return result;
|
|
392
|
+
} catch (error) {
|
|
393
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
394
|
+
await finish("failed", message).catch(() => {
|
|
395
|
+
});
|
|
396
|
+
throw error;
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
// src/commands/inbox/runInboxScan.ts
|
|
401
|
+
var FIRST_SCAN_LOOKBACK_MS = 24 * 60 * 6e4;
|
|
402
|
+
function toRow(message) {
|
|
403
|
+
const receivedAt = message.receivedAt ? new Date(message.receivedAt) : void 0;
|
|
404
|
+
return {
|
|
405
|
+
source: message.source,
|
|
406
|
+
messageId: message.messageId,
|
|
407
|
+
sender: message.sender,
|
|
408
|
+
summary: message.summary,
|
|
409
|
+
link: message.link,
|
|
410
|
+
receivedAt: receivedAt && !Number.isNaN(receivedAt.getTime()) ? receivedAt : null
|
|
411
|
+
};
|
|
412
|
+
}
|
|
413
|
+
async function runInboxScan(orm, {
|
|
414
|
+
trigger,
|
|
415
|
+
adapter = harnessAdapter(void 0),
|
|
416
|
+
wrap = (_since, run) => run(),
|
|
417
|
+
...listener
|
|
418
|
+
}) {
|
|
419
|
+
const blocker = launchBlocker(adapter, inboxFeature);
|
|
420
|
+
if (blocker) throw new Error(blocker);
|
|
421
|
+
return withInboxScanJob(orm, trigger, listener, async (tracked) => {
|
|
422
|
+
const startedAt = /* @__PURE__ */ new Date();
|
|
423
|
+
const since = await readInboxLastScan(orm) ?? new Date(startedAt.getTime() - FIRST_SCAN_LOOKBACK_MS);
|
|
424
|
+
const { messages, usage } = await wrap(
|
|
425
|
+
since,
|
|
426
|
+
() => scanInboxWithCoverage(adapter, since, tracked)
|
|
427
|
+
);
|
|
428
|
+
const added = await upsertInboxMessages(orm, messages.map(toRow));
|
|
429
|
+
await writeInboxLastScan(orm, startedAt);
|
|
430
|
+
return { flagged: messages.length, added, usage };
|
|
431
|
+
});
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
export {
|
|
435
|
+
formatScanUsage,
|
|
436
|
+
inboxScanBlocker,
|
|
437
|
+
runInboxScan
|
|
438
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/shared/findRepoRoot.ts
|
|
2
|
+
import { existsSync } from "fs";
|
|
3
|
+
import path from "path";
|
|
4
|
+
function findRepoRoot(dir) {
|
|
5
|
+
if (existsSync(path.join(dir, ".git"))) return dir;
|
|
6
|
+
const parent = path.dirname(dir);
|
|
7
|
+
return parent === dir ? null : findRepoRoot(parent);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
findRepoRoot
|
|
12
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import {
|
|
2
|
+
loadJson,
|
|
3
|
+
saveJson
|
|
4
|
+
} from "./chunk-CGYVYHMM.js";
|
|
5
|
+
|
|
6
|
+
// src/commands/sessions/daemon/worktree/readWorktreeRegistry.ts
|
|
7
|
+
var REGISTRY_FILE = "worktrees.json";
|
|
8
|
+
function readWorktreeRegistry() {
|
|
9
|
+
const data = loadJson(REGISTRY_FILE);
|
|
10
|
+
return Object.entries(data).filter(([, record]) => !record.reaped).map(([path, { reaped: _reaped, ...record }]) => ({ path, ...record }));
|
|
11
|
+
}
|
|
12
|
+
function readReapedWorktreeRegistry() {
|
|
13
|
+
const data = loadJson(REGISTRY_FILE);
|
|
14
|
+
return Object.entries(data).filter(([, record]) => record.reaped).map(([path, { reaped: _reaped, ...record }]) => ({ path, ...record }));
|
|
15
|
+
}
|
|
16
|
+
function worktreeAttributionIncludingReaped(path) {
|
|
17
|
+
const record = loadJson(REGISTRY_FILE)[path];
|
|
18
|
+
return record ? { clone: record.clone, origin: record.origin } : void 0;
|
|
19
|
+
}
|
|
20
|
+
function recordWorktree(path, clone, origin) {
|
|
21
|
+
const data = loadJson(REGISTRY_FILE);
|
|
22
|
+
data[path] = { clone, origin };
|
|
23
|
+
saveJson(REGISTRY_FILE, data);
|
|
24
|
+
}
|
|
25
|
+
function recordWorktreeHarness(path, harness) {
|
|
26
|
+
const data = loadJson(REGISTRY_FILE);
|
|
27
|
+
const record = data[path];
|
|
28
|
+
if (!record || record.reaped || record.harness === harness) return;
|
|
29
|
+
data[path] = { ...record, harness };
|
|
30
|
+
saveJson(REGISTRY_FILE, data);
|
|
31
|
+
}
|
|
32
|
+
function forgetWorktree(path) {
|
|
33
|
+
const data = loadJson(REGISTRY_FILE);
|
|
34
|
+
const record = data[path];
|
|
35
|
+
if (!record || record.reaped) return;
|
|
36
|
+
data[path] = { ...record, reaped: true };
|
|
37
|
+
saveJson(REGISTRY_FILE, data);
|
|
38
|
+
}
|
|
39
|
+
function markLeftover(path, deferredReason) {
|
|
40
|
+
const data = loadJson(REGISTRY_FILE);
|
|
41
|
+
const record = data[path];
|
|
42
|
+
if (!record) return;
|
|
43
|
+
const { leftover: _leftover, ...rest } = record;
|
|
44
|
+
data[path] = {
|
|
45
|
+
...rest,
|
|
46
|
+
reaped: true,
|
|
47
|
+
...deferredReason ? { leftover: deferredReason } : {}
|
|
48
|
+
};
|
|
49
|
+
saveJson(REGISTRY_FILE, data);
|
|
50
|
+
}
|
|
51
|
+
function clearLeftover(path) {
|
|
52
|
+
const data = loadJson(REGISTRY_FILE);
|
|
53
|
+
const record = data[path];
|
|
54
|
+
if (!record?.leftover) return;
|
|
55
|
+
const { leftover: _leftover, ...rest } = record;
|
|
56
|
+
data[path] = rest;
|
|
57
|
+
saveJson(REGISTRY_FILE, data);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export {
|
|
61
|
+
readWorktreeRegistry,
|
|
62
|
+
readReapedWorktreeRegistry,
|
|
63
|
+
worktreeAttributionIncludingReaped,
|
|
64
|
+
recordWorktree,
|
|
65
|
+
recordWorktreeHarness,
|
|
66
|
+
forgetWorktree,
|
|
67
|
+
markLeftover,
|
|
68
|
+
clearLeftover
|
|
69
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
parseRepoSlug
|
|
3
|
+
} from "./chunk-YIBSK5OC.js";
|
|
4
|
+
import {
|
|
5
|
+
normalizeGithubIssue
|
|
6
|
+
} from "./chunk-FVZP4ULO.js";
|
|
7
|
+
|
|
8
|
+
// src/commands/github/issue/fixStructure/resolveFixStructureTarget.ts
|
|
9
|
+
var BARE_NUMBER = /^#?(\d+)$/;
|
|
10
|
+
function resolveFixStructureTarget(target, repo) {
|
|
11
|
+
const shorthand = normalizeGithubIssue(target);
|
|
12
|
+
if (shorthand) {
|
|
13
|
+
const [slug, number] = shorthand.split("#");
|
|
14
|
+
const [owner, name] = (slug ?? "").split("/");
|
|
15
|
+
return { owner: owner ?? "", repo: name ?? "", number: Number(number) };
|
|
16
|
+
}
|
|
17
|
+
const bare = BARE_NUMBER.exec(target.trim());
|
|
18
|
+
if (!bare) {
|
|
19
|
+
throw new Error(
|
|
20
|
+
`Could not read "${target}" as a GitHub issue. Pass owner/repo#number, a github.com issue URL, or a bare number with --repo owner/repo`
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
if (!repo) {
|
|
24
|
+
throw new Error(
|
|
25
|
+
`A bare issue number needs a repository. Re-run with --repo owner/repo, or pass the issue as owner/repo#${bare[1]}`
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
return { ...parseRepoSlug(repo), number: Number(bare[1]) };
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export {
|
|
32
|
+
resolveFixStructureTarget
|
|
33
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getRestrictedDir
|
|
3
|
+
} from "./chunk-ZMH7UZNP.js";
|
|
4
|
+
|
|
5
|
+
// src/commands/docs/getDocsUnlockPinPath.ts
|
|
6
|
+
import { join } from "path";
|
|
7
|
+
function getDocsUnlockPinPath(pin) {
|
|
8
|
+
return join(getRestrictedDir(), `docs-unlock-pin-${pin}.json`);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export {
|
|
12
|
+
getDocsUnlockPinPath
|
|
13
|
+
};
|