@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,193 @@
|
|
|
1
|
+
// src/shared/harnessAdapters/unsupported.ts
|
|
2
|
+
var supported = { supported: true };
|
|
3
|
+
function unsupported(reason, remediation, followUp) {
|
|
4
|
+
return followUp ? { supported: false, reason, remediation, followUp } : { supported: false, reason, remediation };
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
// src/shared/harnessAdapters/harnessCapabilityDeclarations.ts
|
|
8
|
+
var claude = {
|
|
9
|
+
"skills.native": supported,
|
|
10
|
+
"launch.terminal": supported,
|
|
11
|
+
"conversation.resume": supported,
|
|
12
|
+
"conversation.relocate": supported,
|
|
13
|
+
"conversation.id": supported,
|
|
14
|
+
"conversation.preassignId": supported,
|
|
15
|
+
"systemPrompt.append": supported,
|
|
16
|
+
"tasks.notifyOnExit": supported,
|
|
17
|
+
"artifacts.publish": supported,
|
|
18
|
+
"transcript.read": supported,
|
|
19
|
+
"oneShot.text": supported,
|
|
20
|
+
"oneShot.structured": supported,
|
|
21
|
+
"usage.rateLimits": supported,
|
|
22
|
+
"tools.restrict": supported,
|
|
23
|
+
"connector.gmail.read": supported,
|
|
24
|
+
"connector.slack.read": supported,
|
|
25
|
+
"intercept.command": supported,
|
|
26
|
+
"intercept.fileRead": supported,
|
|
27
|
+
"intercept.fileWrite": supported,
|
|
28
|
+
"intercept.editDiff": supported,
|
|
29
|
+
"intercept.question": supported,
|
|
30
|
+
"slashCommands.suggest": supported
|
|
31
|
+
};
|
|
32
|
+
var harnessCapabilityDeclarations = {
|
|
33
|
+
claude,
|
|
34
|
+
"claude-sdk": {
|
|
35
|
+
...claude,
|
|
36
|
+
"launch.terminal": unsupported(
|
|
37
|
+
"Claude (SDK) sessions have no terminal, and these workflows start an assist command that opens the Claude CLI's terminal UI",
|
|
38
|
+
"run the workflow with Claude",
|
|
39
|
+
"a1560"
|
|
40
|
+
)
|
|
41
|
+
},
|
|
42
|
+
codex: {
|
|
43
|
+
"skills.native": supported,
|
|
44
|
+
"launch.terminal": supported,
|
|
45
|
+
"conversation.resume": supported,
|
|
46
|
+
"conversation.relocate": supported,
|
|
47
|
+
"conversation.id": supported,
|
|
48
|
+
"conversation.preassignId": unsupported(
|
|
49
|
+
"Codex assigns its own conversation id when its rollout starts",
|
|
50
|
+
"assist binds the Codex conversation id from the rollout after launch"
|
|
51
|
+
),
|
|
52
|
+
"systemPrompt.append": unsupported(
|
|
53
|
+
"Design launches on Codex have not passed manual testing: sessions arrived without the design prompt or stopped before designing anything",
|
|
54
|
+
"start design sessions with Claude",
|
|
55
|
+
"a1589"
|
|
56
|
+
),
|
|
57
|
+
"tasks.notifyOnExit": unsupported(
|
|
58
|
+
"Codex runs a background command in an exec session that reports nothing back once the turn ends, so an agent that ends its turn never sees a command that waits on the user, such as review-high-level's verdict or an assist ask-question answer",
|
|
59
|
+
"run the high-level review on Claude; Codex asks its questions in chat",
|
|
60
|
+
"a1573"
|
|
61
|
+
),
|
|
62
|
+
"artifacts.publish": unsupported(
|
|
63
|
+
"Codex has no tool that publishes a claude.ai artifact, and assist ask-design reviews only artifact links",
|
|
64
|
+
"design in Codex and deliver the HTML file, then review it in chat; start the design session with Claude for preview-pane review rounds",
|
|
65
|
+
"a1567"
|
|
66
|
+
),
|
|
67
|
+
"transcript.read": supported,
|
|
68
|
+
"oneShot.text": supported,
|
|
69
|
+
"oneShot.structured": supported,
|
|
70
|
+
"usage.rateLimits": supported,
|
|
71
|
+
"tools.restrict": unsupported(
|
|
72
|
+
"assist cannot yet limit a headless Codex run to an allow-list of connector tools",
|
|
73
|
+
"run the inbox scan with Claude (assist inbox scan --harness claude)",
|
|
74
|
+
"a1562"
|
|
75
|
+
),
|
|
76
|
+
"connector.gmail.read": unsupported(
|
|
77
|
+
"Codex has no verified read-only Gmail connector",
|
|
78
|
+
"run the inbox scan with Claude (assist inbox scan --harness claude)",
|
|
79
|
+
"a1562"
|
|
80
|
+
),
|
|
81
|
+
"connector.slack.read": unsupported(
|
|
82
|
+
"Codex has no verified read-only Slack connector",
|
|
83
|
+
"run the inbox scan with Claude (assist inbox scan --harness claude)",
|
|
84
|
+
"a1562"
|
|
85
|
+
),
|
|
86
|
+
"intercept.command": supported,
|
|
87
|
+
"intercept.fileRead": supported,
|
|
88
|
+
"intercept.fileWrite": supported,
|
|
89
|
+
"intercept.editDiff": unsupported(
|
|
90
|
+
"assist's maintainability-override and comment guards run only in Claude's edit hook, so Codex patches are not checked for override markers or new code comments",
|
|
91
|
+
"the shared policy still applies the allowlist, restricted paths and docs/schema locks; run work that must keep those guards on Claude",
|
|
92
|
+
"a1592"
|
|
93
|
+
),
|
|
94
|
+
// codex-cli 0.167.1 reports request_user_input and selectable request_user_input_async via PreToolUse; captured in question fixtures and replayed through codexHook.
|
|
95
|
+
"intercept.question": supported,
|
|
96
|
+
"slashCommands.suggest": unsupported(
|
|
97
|
+
"assist reads skills and commands only from Claude's home and project dirs",
|
|
98
|
+
"type the Codex skill name in full in the phone reply bar"
|
|
99
|
+
)
|
|
100
|
+
},
|
|
101
|
+
pi: {
|
|
102
|
+
"skills.native": supported,
|
|
103
|
+
"launch.terminal": supported,
|
|
104
|
+
"conversation.resume": unsupported(
|
|
105
|
+
"pi sessions cannot be resumed yet",
|
|
106
|
+
"restart starts a fresh pi conversation; pick Claude or Codex to keep the conversation across restarts",
|
|
107
|
+
"a696"
|
|
108
|
+
),
|
|
109
|
+
"conversation.relocate": unsupported(
|
|
110
|
+
"pi sessions cannot be resumed, so a pi conversation cannot continue in a replacement worktree",
|
|
111
|
+
"start a fresh session in the replacement worktree; pick Claude or Codex to keep the conversation across worktree replacement",
|
|
112
|
+
"a696"
|
|
113
|
+
),
|
|
114
|
+
"conversation.id": unsupported(
|
|
115
|
+
"assist records no conversation id for pi sessions",
|
|
116
|
+
"comment from the session's own diff panel; a standalone /diff link cannot find a pi session",
|
|
117
|
+
"a696"
|
|
118
|
+
),
|
|
119
|
+
"conversation.preassignId": unsupported(
|
|
120
|
+
"pi does not accept a caller-assigned conversation id",
|
|
121
|
+
"the session card tracks pi without a conversation id"
|
|
122
|
+
),
|
|
123
|
+
"systemPrompt.append": unsupported(
|
|
124
|
+
"assist has not verified a pi flag that appends a system prompt at launch and on resume",
|
|
125
|
+
"start design sessions with Claude or Codex, or run /design inside a pi session to read the design prompt from disk",
|
|
126
|
+
"a696"
|
|
127
|
+
),
|
|
128
|
+
"tasks.notifyOnExit": unsupported(
|
|
129
|
+
"assist has not verified a pi tool that wakes the agent when a background command exits, so an agent that ends its turn would never see a command that waits on the user, such as review-high-level's verdict or an assist ask-question answer",
|
|
130
|
+
"run the high-level review on Claude; pi routes its native question tool to the preview pane instead of assist ask-question",
|
|
131
|
+
"a1573"
|
|
132
|
+
),
|
|
133
|
+
"artifacts.publish": unsupported(
|
|
134
|
+
"pi has no tool that publishes a claude.ai artifact, and assist ask-design reviews only artifact links",
|
|
135
|
+
"deliver the HTML file and review it in chat; start the design session with Claude for preview-pane review rounds",
|
|
136
|
+
"a1567"
|
|
137
|
+
),
|
|
138
|
+
"transcript.read": unsupported(
|
|
139
|
+
"assist cannot read pi conversation transcripts yet",
|
|
140
|
+
"pi session cards show no message previews or transcript-derived status and title; pick Claude or Codex for those",
|
|
141
|
+
"a696"
|
|
142
|
+
),
|
|
143
|
+
"oneShot.text": unsupported(
|
|
144
|
+
"assist has no headless pi one-shot yet",
|
|
145
|
+
"the derived fallback is used instead (slug from the description, no generated title); set harness.engine to claude or codex for generated suggestions",
|
|
146
|
+
"a696"
|
|
147
|
+
),
|
|
148
|
+
"oneShot.structured": unsupported(
|
|
149
|
+
"assist has no headless streaming pi run yet",
|
|
150
|
+
"pick Claude or Codex for review synthesis (review.synthesisHarness); pi cannot be a reviewer",
|
|
151
|
+
"a696"
|
|
152
|
+
),
|
|
153
|
+
"usage.rateLimits": unsupported(
|
|
154
|
+
"pi reports no account rate-limit windows to assist",
|
|
155
|
+
"pi sessions show no usage windows; Claude and Codex usage is still tracked under their own accounts",
|
|
156
|
+
"a696"
|
|
157
|
+
),
|
|
158
|
+
"tools.restrict": unsupported(
|
|
159
|
+
"assist cannot limit a headless pi run to an allow-list of tools",
|
|
160
|
+
"run the inbox scan with Claude (assist inbox scan --harness claude)",
|
|
161
|
+
"a1562"
|
|
162
|
+
),
|
|
163
|
+
"connector.gmail.read": unsupported(
|
|
164
|
+
"pi has no Gmail connector",
|
|
165
|
+
"run the inbox scan with Claude (assist inbox scan --harness claude)",
|
|
166
|
+
"a1562"
|
|
167
|
+
),
|
|
168
|
+
"connector.slack.read": unsupported(
|
|
169
|
+
"pi has no Slack connector",
|
|
170
|
+
"run the inbox scan with Claude (assist inbox scan --harness claude)",
|
|
171
|
+
"a1562"
|
|
172
|
+
),
|
|
173
|
+
"intercept.command": supported,
|
|
174
|
+
"intercept.fileRead": supported,
|
|
175
|
+
"intercept.fileWrite": supported,
|
|
176
|
+
"intercept.editDiff": unsupported(
|
|
177
|
+
"assist's maintainability-override and comment guards run only in Claude's edit hook, so pi edits and writes are not checked for override markers or new code comments",
|
|
178
|
+
"the shared policy still applies the allowlist, restricted paths and docs/schema locks; run work that must keep those guards on Claude",
|
|
179
|
+
"a1592"
|
|
180
|
+
),
|
|
181
|
+
"intercept.question": supported,
|
|
182
|
+
"slashCommands.suggest": unsupported(
|
|
183
|
+
"assist reads skills and commands only from Claude's home and project dirs",
|
|
184
|
+
"type the pi prompt name in full in the phone reply bar"
|
|
185
|
+
)
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
export {
|
|
190
|
+
supported,
|
|
191
|
+
unsupported,
|
|
192
|
+
harnessCapabilityDeclarations
|
|
193
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
exitOnCancel
|
|
3
|
+
} from "./chunk-SSKHLBQB.js";
|
|
4
|
+
|
|
5
|
+
// src/shared/promptConfirm.ts
|
|
6
|
+
import enquirer from "enquirer";
|
|
7
|
+
async function promptConfirm(message, initial = true) {
|
|
8
|
+
const { confirmed } = await exitOnCancel(
|
|
9
|
+
enquirer.prompt({
|
|
10
|
+
type: "confirm",
|
|
11
|
+
name: "confirmed",
|
|
12
|
+
message,
|
|
13
|
+
initial,
|
|
14
|
+
// @ts-expect-error - enquirer types don't include symbols but it's supported
|
|
15
|
+
symbols: {
|
|
16
|
+
on: "[x]",
|
|
17
|
+
off: "[ ]"
|
|
18
|
+
}
|
|
19
|
+
})
|
|
20
|
+
);
|
|
21
|
+
return confirmed;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export {
|
|
25
|
+
promptConfirm
|
|
26
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import {
|
|
2
|
+
exitWithConfigErrors
|
|
3
|
+
} from "./chunk-JPRADR2E.js";
|
|
4
|
+
import {
|
|
5
|
+
resolveSharedRepoBlock,
|
|
6
|
+
saveSharedRepoBlock
|
|
7
|
+
} from "./chunk-BBXEZVRL.js";
|
|
8
|
+
import {
|
|
9
|
+
validateConfig
|
|
10
|
+
} from "./chunk-MBPVW7BY.js";
|
|
11
|
+
import {
|
|
12
|
+
getDb
|
|
13
|
+
} from "./chunk-PD2BTMEY.js";
|
|
14
|
+
import {
|
|
15
|
+
repoConfigSchema
|
|
16
|
+
} from "./chunk-YXXKT6LL.js";
|
|
17
|
+
|
|
18
|
+
// src/commands/run/runCommandFilePath.ts
|
|
19
|
+
import { join } from "path";
|
|
20
|
+
function runCommandFilePath(name) {
|
|
21
|
+
const segments = name.split(":");
|
|
22
|
+
const file = `${segments.pop()}.md`;
|
|
23
|
+
return join(".claude", "commands", ...segments, file);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// src/commands/run/editRepoRunList.ts
|
|
27
|
+
async function editRepoRunList(repoName, cwd, edit) {
|
|
28
|
+
const orm = await getDb();
|
|
29
|
+
const { label, block } = await resolveSharedRepoBlock(orm, repoName, cwd);
|
|
30
|
+
const run = edit(block.run ?? [], label);
|
|
31
|
+
const updated = { ...block, run };
|
|
32
|
+
const validation = validateConfig(updated, "run", repoConfigSchema);
|
|
33
|
+
if (!validation.ok) exitWithConfigErrors(validation.errors);
|
|
34
|
+
await saveSharedRepoBlock(orm, label, updated);
|
|
35
|
+
return label;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export {
|
|
39
|
+
editRepoRunList,
|
|
40
|
+
runCommandFilePath
|
|
41
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// src/commands/sessions/nodes/formatLink.ts
|
|
2
|
+
import chalk from "chalk";
|
|
3
|
+
var STATE_COLOURS = {
|
|
4
|
+
connected: chalk.green,
|
|
5
|
+
connecting: chalk.yellow,
|
|
6
|
+
disconnected: chalk.red,
|
|
7
|
+
"version-blocked": chalk.red
|
|
8
|
+
};
|
|
9
|
+
function formatLink(link) {
|
|
10
|
+
const colour = STATE_COLOURS[link.state] ?? chalk.white;
|
|
11
|
+
const peer = link.peerVersion ? ` peer ${link.peerVersion}` : "";
|
|
12
|
+
const error = link.error ? `
|
|
13
|
+
${chalk.dim(`last error${link.errorAt ? ` ${link.errorAt}` : ""}: ${link.error}`)}` : "";
|
|
14
|
+
return ` ${link.name} ${colour(link.state)} ${link.url}${peer}${error}`;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export {
|
|
18
|
+
formatLink
|
|
19
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
items
|
|
3
|
+
} from "./chunk-PD2BTMEY.js";
|
|
4
|
+
|
|
5
|
+
// src/commands/backlog/updateStarred.ts
|
|
6
|
+
import { eq } from "drizzle-orm";
|
|
7
|
+
async function updateStarred(orm, id, starred) {
|
|
8
|
+
const [row] = await orm.update(items).set({ starred }).where(eq(items.id, id)).returning({ name: items.name });
|
|
9
|
+
return row?.name;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
updateStarred
|
|
14
|
+
};
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import {
|
|
2
|
+
phaseUnlockSuffix
|
|
3
|
+
} from "./chunk-S4S2DD5Z.js";
|
|
4
|
+
import {
|
|
5
|
+
currentExecutionIdentity,
|
|
6
|
+
getSchemaSessionApprovalPath
|
|
7
|
+
} from "./chunk-CQQFVAGK.js";
|
|
8
|
+
import {
|
|
9
|
+
resolveSessionItemId
|
|
10
|
+
} from "./chunk-FPWL4VRC.js";
|
|
11
|
+
import {
|
|
12
|
+
docsRefreshAfter
|
|
13
|
+
} from "./chunk-TCTX3UXU.js";
|
|
14
|
+
import {
|
|
15
|
+
closeDb,
|
|
16
|
+
getDb,
|
|
17
|
+
itemGitRefs,
|
|
18
|
+
items,
|
|
19
|
+
links
|
|
20
|
+
} from "./chunk-PD2BTMEY.js";
|
|
21
|
+
import {
|
|
22
|
+
getProjectRoot
|
|
23
|
+
} from "./chunk-KGFZYUE2.js";
|
|
24
|
+
|
|
25
|
+
// src/commands/backlog/isDocsLocked.ts
|
|
26
|
+
import { and as and2, eq as eq2 } from "drizzle-orm";
|
|
27
|
+
|
|
28
|
+
// src/commands/backlog/hasOpenPhaseUnlock.ts
|
|
29
|
+
import { and, eq, notInArray, sql } from "drizzle-orm";
|
|
30
|
+
async function hasOpenPhaseUnlock(itemId, kind, harness) {
|
|
31
|
+
const orm = await getDb();
|
|
32
|
+
const suffix = phaseUnlockSuffix(harness);
|
|
33
|
+
const [row] = await orm.select({ itemId: itemGitRefs.itemId }).from(itemGitRefs).innerJoin(items, eq(items.id, itemGitRefs.itemId)).where(
|
|
34
|
+
and(
|
|
35
|
+
eq(itemGitRefs.itemId, itemId),
|
|
36
|
+
eq(itemGitRefs.kind, kind),
|
|
37
|
+
eq(
|
|
38
|
+
itemGitRefs.ref,
|
|
39
|
+
sql`'phase-' || coalesce(${items.currentPhase}, 1) || ${suffix}`
|
|
40
|
+
),
|
|
41
|
+
notInArray(items.status, ["done", "wontdo"])
|
|
42
|
+
)
|
|
43
|
+
).limit(1);
|
|
44
|
+
return row !== void 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// src/commands/backlog/isDocsLocked.ts
|
|
48
|
+
async function isDocsRefreshItem(itemId) {
|
|
49
|
+
const orm = await getDb();
|
|
50
|
+
const [row] = await orm.select({ itemId: links.itemId }).from(links).where(and2(eq2(links.itemId, itemId), eq2(links.type, "docs-refresh"))).limit(1);
|
|
51
|
+
return row !== void 0;
|
|
52
|
+
}
|
|
53
|
+
async function isDocsLocked() {
|
|
54
|
+
if (docsRefreshAfter() === void 0) return false;
|
|
55
|
+
const itemId = resolveSessionItemId();
|
|
56
|
+
if (itemId === null) return false;
|
|
57
|
+
try {
|
|
58
|
+
if (await isDocsRefreshItem(itemId)) return false;
|
|
59
|
+
return !await hasOpenPhaseUnlock(itemId, "docs-unlock");
|
|
60
|
+
} catch {
|
|
61
|
+
return false;
|
|
62
|
+
} finally {
|
|
63
|
+
await closeDb().catch(() => {
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// src/commands/schema/isSchemaLocked.ts
|
|
69
|
+
import { existsSync, readFileSync } from "fs";
|
|
70
|
+
function approvalMatches(path, identity) {
|
|
71
|
+
try {
|
|
72
|
+
const approval = JSON.parse(
|
|
73
|
+
readFileSync(path, "utf8")
|
|
74
|
+
);
|
|
75
|
+
const conversation = approval.conversationId ?? approval.claudeSessionId;
|
|
76
|
+
if (approval.harness !== void 0 && approval.harness !== identity.harness)
|
|
77
|
+
return false;
|
|
78
|
+
return conversation === void 0 || conversation === identity.conversationId;
|
|
79
|
+
} catch {
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
function hasSessionApproval(identity) {
|
|
84
|
+
const { harness, conversationId } = identity;
|
|
85
|
+
if (!conversationId) return false;
|
|
86
|
+
const path = getSchemaSessionApprovalPath({ harness, conversationId });
|
|
87
|
+
return path !== void 0 && existsSync(path) && approvalMatches(path, identity);
|
|
88
|
+
}
|
|
89
|
+
async function isSchemaLocked(identity = currentExecutionIdentity()) {
|
|
90
|
+
if (!identity) return false;
|
|
91
|
+
if (identity.itemId === null) return !hasSessionApproval(identity);
|
|
92
|
+
try {
|
|
93
|
+
return !await hasOpenPhaseUnlock(
|
|
94
|
+
identity.itemId,
|
|
95
|
+
"schema-unlock",
|
|
96
|
+
identity.harness
|
|
97
|
+
);
|
|
98
|
+
} catch {
|
|
99
|
+
return true;
|
|
100
|
+
} finally {
|
|
101
|
+
await closeDb().catch(() => {
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// src/commands/backlog/isDocsPath.ts
|
|
107
|
+
import { relative, resolve } from "path";
|
|
108
|
+
var LOCKED_DOCS_DIRS = ["docs/src/content/docs/", "docs/public/screenshots/"];
|
|
109
|
+
var DOCS_LOCK_REASON = `Docs pages and screenshots (${LOCKED_DOCS_DIRS.join(", ")}) are locked during development: they are updated by the Refresh docs backlog item after stories ship, not during development. Leave them untouched and carry on with the phase. If this phase genuinely needs to change docs (e.g. the item is about the docs site itself), first confirm that with the user, then run \`assist docs unlock\` and wait for the user to confirm the PIN with \`assist docs confirm <pin>\` before retrying. The unlock applies to the current phase only.`;
|
|
110
|
+
var SEP = String.raw`[/\\]`;
|
|
111
|
+
var LOCKED_DIR_PATTERN = String.raw`docs${SEP}(?:src${SEP}content${SEP}docs|public${SEP}screenshots)(?:${SEP}|(?![\w.-]))`;
|
|
112
|
+
var RELATIVE_DOCS = new RegExp(
|
|
113
|
+
String.raw`(?:^|[\s'"=(<>|;&:])(?:\.${SEP})?${LOCKED_DIR_PATTERN}`
|
|
114
|
+
);
|
|
115
|
+
function escapeRegExp(value) {
|
|
116
|
+
return value.replace(/[.*+?^${}()|[\]\\]/g, String.raw`\$&`);
|
|
117
|
+
}
|
|
118
|
+
function isLockedDocsRelativePath(rel) {
|
|
119
|
+
const normalized = `${rel.replace(/\\/g, "/")}/`;
|
|
120
|
+
return LOCKED_DOCS_DIRS.some((dir) => normalized.startsWith(dir));
|
|
121
|
+
}
|
|
122
|
+
function isDocsPath(filePath, root = getProjectRoot()) {
|
|
123
|
+
return isLockedDocsRelativePath(relative(root, resolve(root, filePath)));
|
|
124
|
+
}
|
|
125
|
+
function mentionsDocsPath(command, root = getProjectRoot()) {
|
|
126
|
+
if (RELATIVE_DOCS.test(command)) return true;
|
|
127
|
+
const absolute = `${escapeRegExp(root.replace(/\\/g, "/"))}/${LOCKED_DIR_PATTERN}`;
|
|
128
|
+
return new RegExp(absolute).test(command.replace(/\\/g, "/"));
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// src/commands/schema/isSchemaPath.ts
|
|
132
|
+
import { readFileSync as readFileSync2 } from "fs";
|
|
133
|
+
import { relative as relative2, resolve as resolve2 } from "path";
|
|
134
|
+
var SCHEMA_LOCK_REASON = "Database schema files (src/shared/db/migrations/migrationNNNN*.ts, src/shared/db/migrations.ts, src/shared/db/schema.ts and any src/shared/db/*.ts that defines a pgTable) are locked: a schema change needs the user's sign-off (see src/shared/db/CLAUDE.md). Confirm the schema change with the user first, then run `assist schema unlock` to request a PIN and wait for the user to confirm it with `assist schema confirm <pin>` before retrying. In a backlog item session the unlock lasts for the current phase on this harness; otherwise it lasts for this conversation only.";
|
|
135
|
+
var FIXED_SCHEMA_PATH = /^src\/shared\/db\/(?:migrations\/migration\d{4}[^/]*\.ts|migrations\.ts|schema\.ts)$/;
|
|
136
|
+
var DB_MODULE = /^src\/shared\/db\/[^/]+\.ts$/;
|
|
137
|
+
function readOrEmpty(path) {
|
|
138
|
+
try {
|
|
139
|
+
return readFileSync2(path, "utf8");
|
|
140
|
+
} catch {
|
|
141
|
+
return "";
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
function isSchemaRelativePath(rel, root, incomingContents = []) {
|
|
145
|
+
const normalized = rel.replace(/\\/g, "/");
|
|
146
|
+
if (FIXED_SCHEMA_PATH.test(normalized)) return true;
|
|
147
|
+
if (!DB_MODULE.test(normalized)) return false;
|
|
148
|
+
return [...incomingContents, readOrEmpty(resolve2(root, normalized))].some(
|
|
149
|
+
(text) => text.includes("pgTable")
|
|
150
|
+
);
|
|
151
|
+
}
|
|
152
|
+
function isSchemaPath(filePath, incomingContents = [], root = getProjectRoot()) {
|
|
153
|
+
return isSchemaRelativePath(
|
|
154
|
+
relative2(root, resolve2(root, filePath)),
|
|
155
|
+
root,
|
|
156
|
+
incomingContents
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export {
|
|
161
|
+
isDocsLocked,
|
|
162
|
+
DOCS_LOCK_REASON,
|
|
163
|
+
isLockedDocsRelativePath,
|
|
164
|
+
isDocsPath,
|
|
165
|
+
mentionsDocsPath,
|
|
166
|
+
SCHEMA_LOCK_REASON,
|
|
167
|
+
isSchemaRelativePath,
|
|
168
|
+
isSchemaPath,
|
|
169
|
+
isSchemaLocked
|
|
170
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import {
|
|
2
|
+
coerceConfigValue,
|
|
3
|
+
coerceUnion
|
|
4
|
+
} from "./chunk-IV7Z4UVQ.js";
|
|
5
|
+
import {
|
|
6
|
+
describeConfigLeaves
|
|
7
|
+
} from "./chunk-Q35724GR.js";
|
|
8
|
+
import {
|
|
9
|
+
configKeyNode
|
|
10
|
+
} from "./chunk-7TT6C4IC.js";
|
|
11
|
+
import {
|
|
12
|
+
assistConfigSchema
|
|
13
|
+
} from "./chunk-YXXKT6LL.js";
|
|
14
|
+
|
|
15
|
+
// src/commands/config/coerceCliConfigValue.ts
|
|
16
|
+
function coerceCliConfigValue(key, raw) {
|
|
17
|
+
const leaf = describeConfigLeaves(assistConfigSchema).find(
|
|
18
|
+
(candidate) => candidate.key === key
|
|
19
|
+
);
|
|
20
|
+
if (!leaf) return coerceIndexedValue(key, raw);
|
|
21
|
+
if (leaf.itemType) return coerceConfigValue(key, splitList(raw));
|
|
22
|
+
return coerceConfigValue(key, raw);
|
|
23
|
+
}
|
|
24
|
+
function coerceIndexedValue(key, raw) {
|
|
25
|
+
const node = configKeyNode(key.replace(/\.(\d+)(?=\.|$)/g, "[$1]"));
|
|
26
|
+
if (node?.kind !== "scalar")
|
|
27
|
+
return { ok: true, value: coerceWithoutSchemaLeaf(raw) };
|
|
28
|
+
return coerceUnion(
|
|
29
|
+
key,
|
|
30
|
+
raw,
|
|
31
|
+
node.type === "union" ? node.unionTypes ?? [] : [node.type]
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
function splitList(raw) {
|
|
35
|
+
return raw.split(",").map((item) => item.trim()).filter((item) => item !== "");
|
|
36
|
+
}
|
|
37
|
+
function coerceWithoutSchemaLeaf(raw) {
|
|
38
|
+
if (raw === "true") return true;
|
|
39
|
+
if (raw === "false") return false;
|
|
40
|
+
return raw;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export {
|
|
44
|
+
coerceCliConfigValue
|
|
45
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getGlobalConfigPath,
|
|
3
|
+
loadRawYaml,
|
|
4
|
+
projectConfigPathFrom
|
|
5
|
+
} from "./chunk-LBAPKP6M.js";
|
|
6
|
+
|
|
7
|
+
// src/shared/db/MissingDatabaseUrlError.ts
|
|
8
|
+
var DATABASE_URL_ENV = "ASSIST_DATABASE_URL";
|
|
9
|
+
var MISSING_URL_MESSAGE = `No assist database configured.
|
|
10
|
+
|
|
11
|
+
Assist storage requires a Postgres-compatible connection string. Set one via either:
|
|
12
|
+
\u2022 the ${DATABASE_URL_ENV} environment variable, or
|
|
13
|
+
\u2022 database.url in ~/.assist.yml
|
|
14
|
+
|
|
15
|
+
Example:
|
|
16
|
+
database:
|
|
17
|
+
url: postgresql://user:password@host:5432/database
|
|
18
|
+
|
|
19
|
+
Managed Postgres providers such as Supabase or Neon work out of the box.`;
|
|
20
|
+
var MissingDatabaseUrlError = class extends Error {
|
|
21
|
+
constructor() {
|
|
22
|
+
super(MISSING_URL_MESSAGE);
|
|
23
|
+
this.name = "MissingDatabaseUrlError";
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
// src/shared/db/describeDatabaseUrlSource.ts
|
|
28
|
+
function hasDatabaseUrl(path) {
|
|
29
|
+
const database = loadRawYaml(path).database;
|
|
30
|
+
return database?.url !== void 0;
|
|
31
|
+
}
|
|
32
|
+
function describeDatabaseUrlSource(cwd = process.cwd(), globalConfigPath = getGlobalConfigPath()) {
|
|
33
|
+
if (process.env.ASSIST_DATABASE_URL)
|
|
34
|
+
return "ASSIST_DATABASE_URL (environment variable)";
|
|
35
|
+
const projectPath = projectConfigPathFrom(cwd);
|
|
36
|
+
if (hasDatabaseUrl(projectPath))
|
|
37
|
+
return `database.url in repo (git), ${projectPath}`;
|
|
38
|
+
if (hasDatabaseUrl(globalConfigPath))
|
|
39
|
+
return `database.url in user (node), ${globalConfigPath}`;
|
|
40
|
+
return "database.url";
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// src/shared/db/DatabaseConnectionError.ts
|
|
44
|
+
var CONNECTION_ERROR_CODES = /* @__PURE__ */ new Set([
|
|
45
|
+
"ENOTFOUND",
|
|
46
|
+
"EAI_AGAIN",
|
|
47
|
+
"ECONNREFUSED",
|
|
48
|
+
"ECONNRESET",
|
|
49
|
+
"ETIMEDOUT",
|
|
50
|
+
"EHOSTUNREACH",
|
|
51
|
+
"ENETUNREACH",
|
|
52
|
+
"28P01",
|
|
53
|
+
"28000",
|
|
54
|
+
"3D000"
|
|
55
|
+
]);
|
|
56
|
+
function firstCause(error) {
|
|
57
|
+
if (error instanceof AggregateError) return error.errors[0];
|
|
58
|
+
return typeof error === "object" && error !== null ? error : void 0;
|
|
59
|
+
}
|
|
60
|
+
function connectionFailure(error) {
|
|
61
|
+
const cause = firstCause(error);
|
|
62
|
+
const code = error?.code ?? cause?.code ?? void 0;
|
|
63
|
+
const message = String(cause?.message ?? "");
|
|
64
|
+
if (typeof code === "string" && CONNECTION_ERROR_CODES.has(code))
|
|
65
|
+
return message.includes(code) ? message : `${message} (${code})`;
|
|
66
|
+
if (/connection timeout|timeout expired/i.test(message)) return message;
|
|
67
|
+
return void 0;
|
|
68
|
+
}
|
|
69
|
+
var DatabaseConnectionError = class extends Error {
|
|
70
|
+
constructor(failure, source) {
|
|
71
|
+
super(
|
|
72
|
+
`Could not connect to the assist database: ${failure}
|
|
73
|
+
The connection string comes from ${source}.`
|
|
74
|
+
);
|
|
75
|
+
this.name = "DatabaseConnectionError";
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
function toDatabaseConnectionError(error) {
|
|
79
|
+
if (error instanceof DatabaseConnectionError) return error;
|
|
80
|
+
const failure = connectionFailure(error);
|
|
81
|
+
if (!failure) return error;
|
|
82
|
+
return new DatabaseConnectionError(failure, describeDatabaseUrlSource());
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export {
|
|
86
|
+
MissingDatabaseUrlError,
|
|
87
|
+
describeDatabaseUrlSource,
|
|
88
|
+
DatabaseConnectionError,
|
|
89
|
+
toDatabaseConnectionError
|
|
90
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
formatPreviewComments
|
|
3
|
+
} from "./chunk-RPRL6G4R.js";
|
|
4
|
+
|
|
5
|
+
// src/commands/sessions/shared/printApprovedComments.ts
|
|
6
|
+
function printApprovedComments(decision) {
|
|
7
|
+
console.log("Approved.");
|
|
8
|
+
const comments = decision.comments ?? [];
|
|
9
|
+
if (comments.length === 0) return;
|
|
10
|
+
console.log(
|
|
11
|
+
`
|
|
12
|
+
The reviewer left ${comments.length} comment${comments.length === 1 ? "" : "s"} on the preview. Act on each one:
|
|
13
|
+
`
|
|
14
|
+
);
|
|
15
|
+
for (const line of formatPreviewComments(comments)) console.log(line);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
printApprovedComments
|
|
20
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
deliverPinNotification
|
|
3
|
+
} from "./chunk-AKF654AT.js";
|
|
4
|
+
import {
|
|
5
|
+
sweepRestrictedDir
|
|
6
|
+
} from "./chunk-JVG5AJA2.js";
|
|
7
|
+
import {
|
|
8
|
+
getRestrictedDir
|
|
9
|
+
} from "./chunk-ZMH7UZNP.js";
|
|
10
|
+
|
|
11
|
+
// src/commands/notify/issueUnlockPin.ts
|
|
12
|
+
import { randomInt } from "crypto";
|
|
13
|
+
import { mkdirSync, unlinkSync, writeFileSync } from "fs";
|
|
14
|
+
async function issueUnlockPin({
|
|
15
|
+
area,
|
|
16
|
+
label,
|
|
17
|
+
pinPath,
|
|
18
|
+
state
|
|
19
|
+
}) {
|
|
20
|
+
const pin = randomInt(0, 1e3).toString().padStart(3, "0");
|
|
21
|
+
mkdirSync(getRestrictedDir(), { recursive: true });
|
|
22
|
+
sweepRestrictedDir();
|
|
23
|
+
const path = pinPath(pin);
|
|
24
|
+
writeFileSync(path, JSON.stringify({ ...state, pin }));
|
|
25
|
+
const delivery = await deliverPinNotification({
|
|
26
|
+
area,
|
|
27
|
+
pin,
|
|
28
|
+
title: `assist ${area} unlock: ${label}`,
|
|
29
|
+
message: `Pin ${pin} \u2014 run: assist ${area} confirm ${pin}`
|
|
30
|
+
});
|
|
31
|
+
if (!delivery.delivered) unlinkSync(path);
|
|
32
|
+
return delivery;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export {
|
|
36
|
+
issueUnlockPin
|
|
37
|
+
};
|