@dylanpiercey/work 0.0.190 → 0.0.191
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/{_VuW7J8S2.js → _BWLKBjTB.js} +3 -3
- package/dist/_YpgGgTBj.js +2 -0
- package/dist/index.mjs +909 -888
- package/dist/public/assets/{_wkYZPyqx.js → _-8GYu4d7.js} +1 -1
- package/dist/public/assets/_-8GYu4d7.js.br +0 -0
- package/dist/public/assets/_0MOPzzo1.js +1 -0
- package/dist/public/assets/{_DIQ0Z4-U.js → _43F7eahy.js} +1 -1
- package/dist/public/assets/_43F7eahy.js.br +0 -0
- package/dist/public/assets/{_ChOfL4D2.js → _49H5GpVL.js} +1 -1
- package/dist/public/assets/_49H5GpVL.js.br +0 -0
- package/dist/public/assets/{_DO1wCJvg.js → _6zIXEA16.js} +1 -1
- package/dist/public/assets/_6zIXEA16.js.br +0 -0
- package/dist/public/assets/{_D6hTyuU8.js → _9TUqRC_Y.js} +1 -1
- package/dist/public/assets/_9TUqRC_Y.js.br +0 -0
- package/dist/public/assets/_B08LhG3k.js +1 -0
- package/dist/public/assets/_B2mypNDN.js +1 -0
- package/dist/public/assets/_B4hEu5CM.js +1 -0
- package/dist/public/assets/_B5pqzo76.js +1 -0
- package/dist/public/assets/_B6gLrmZU.js +1 -0
- package/dist/public/assets/{_BOXJCPs7.js → _B8EOf3xF.js} +1 -1
- package/dist/public/assets/_B8EOf3xF.js.br +0 -0
- package/dist/public/assets/{_BSFAaDpd.js → _B8F99Qpw.js} +1 -1
- package/dist/public/assets/_B8F99Qpw.js.br +0 -0
- package/dist/public/assets/{_COMeN-2L.js → _B8MEEP2O.js} +1 -1
- package/dist/public/assets/_B8MEEP2O.js.br +0 -0
- package/dist/public/assets/{_my8RmZNw.js → _B8pM-x0b.js} +1 -1
- package/dist/public/assets/_B8pM-x0b.js.br +0 -0
- package/dist/public/assets/_BA8vsNsX.js +1 -0
- package/dist/public/assets/{_D91dxY1X.js → _BBuDki-U.js} +1 -1
- package/dist/public/assets/_BBuDki-U.js.br +0 -0
- package/dist/public/assets/{_D_kNvMRX.js → _BDe2PXNe.js} +1 -1
- package/dist/public/assets/_BDe2PXNe.js.br +0 -0
- package/dist/public/assets/{_BP-493x-.js → _BGHa9hli.js} +1 -1
- package/dist/public/assets/_BGHa9hli.js.br +0 -0
- package/dist/public/assets/_BHC41ULp.js +1 -0
- package/dist/public/assets/_BIt47vJY.js +1 -0
- package/dist/public/assets/_BJnFgLbr.js +6 -0
- package/dist/public/assets/_BJnFgLbr.js.br +0 -0
- package/dist/public/assets/_BN4LfLtU.js +1 -0
- package/dist/public/assets/{_D2g0cq2r.js → _BNVbR3Fd.js} +1 -1
- package/dist/public/assets/_BNVbR3Fd.js.br +0 -0
- package/dist/public/assets/{_wuhkkb_5.js → _BNxnLDjR.js} +1 -1
- package/dist/public/assets/_BNxnLDjR.js.br +0 -0
- package/dist/public/assets/_BUsPHX_i.js +1 -0
- package/dist/public/assets/{_DEqTl49q.js → _BYeNDyMq.js} +1 -1
- package/dist/public/assets/{_DGhjWNZB.js → _B_dIKpRB.js} +1 -1
- package/dist/public/assets/_B_dIKpRB.js.br +0 -0
- package/dist/public/assets/{_Bk-KFU1Y.js → _Bb8elL-A.js} +1 -1
- package/dist/public/assets/_Bb8elL-A.js.br +0 -0
- package/dist/public/assets/{_DJc4-pyH.js → _Bc2FSoqf.js} +1 -1
- package/dist/public/assets/_Bc2FSoqf.js.br +0 -0
- package/dist/public/assets/{_DIURyv07.js → _BdTGpWQl.js} +1 -1
- package/dist/public/assets/_Be18WmsB.js +1 -0
- package/dist/public/assets/_BhZLXzRt.js +1 -0
- package/dist/public/assets/{_BvUP7exK.js → _BkSnnuEl.js} +1 -1
- package/dist/public/assets/_BkSnnuEl.js.br +0 -0
- package/dist/public/assets/_Bl3fh4Vv.js +1 -0
- package/dist/public/assets/{_Do1bA-c7.js → _Bob9krJ7.js} +1 -1
- package/dist/public/assets/_Bob9krJ7.js.br +0 -0
- package/dist/public/assets/{_BwOQfcZM.js → _Btn3KyeZ.js} +1 -1
- package/dist/public/assets/_Btn3KyeZ.js.br +0 -0
- package/dist/public/assets/{_D2GIvWvX.js → _BunXMUMx.js} +1 -1
- package/dist/public/assets/_BunXMUMx.js.br +0 -0
- package/dist/public/assets/{_C6BHh7DF.js → _BuqaQtnV.js} +1 -1
- package/dist/public/assets/_BuqaQtnV.js.br +0 -0
- package/dist/public/assets/{_wwPxDeTd.js → _BzSo51B-.js} +1 -1
- package/dist/public/assets/_BzSo51B-.js.br +0 -0
- package/dist/public/assets/{_53v1DCyi.js → _C1jN2SHU.js} +1 -1
- package/dist/public/assets/_C1jN2SHU.js.br +0 -0
- package/dist/public/assets/_C2LHfbKu.js +1 -0
- package/dist/public/assets/_C4QQ3ZoU.js +1 -0
- package/dist/public/assets/_C4gyqsR9.js +1 -0
- package/dist/public/assets/{_DmmlUz8N.js → _C57CqqGy.js} +1 -1
- package/dist/public/assets/_C57CqqGy.js.br +0 -0
- package/dist/public/assets/_C5v8o_bA.js +1 -0
- package/dist/public/assets/{_DTzo-U2i.js → _C66WDA05.js} +1 -1
- package/dist/public/assets/_C66WDA05.js.br +0 -0
- package/dist/public/assets/{_C04mOIIs.js → _C6k1SyOi.js} +1 -1
- package/dist/public/assets/_C6k1SyOi.js.br +0 -0
- package/dist/public/assets/{_BpR300Xn.js → _C8tYJU0G.js} +1 -1
- package/dist/public/assets/_C8tYJU0G.js.br +0 -0
- package/dist/public/assets/{_Ckm-kgAb.js → _CB5WH5ou.js} +1 -1
- package/dist/public/assets/_CB5WH5ou.js.br +0 -0
- package/dist/public/assets/_CCE6VM6E.js +1 -0
- package/dist/public/assets/{_Brrxdwav.js → _CEGjTJoA.js} +1 -1
- package/dist/public/assets/_CEGjTJoA.js.br +0 -0
- package/dist/public/assets/{_DIQqtw9z.js → _CH_KmT8r.js} +1 -1
- package/dist/public/assets/_CH_KmT8r.js.br +0 -0
- package/dist/public/assets/{_B1vEWGSS.js → _CJqZI2nm.js} +1 -1
- package/dist/public/assets/_CN9AJBEE.js +1 -0
- package/dist/public/assets/_CRMN-2an.js +1 -0
- package/dist/public/assets/{_D8_2eIJL.js → _CVAQYRbn.js} +1 -1
- package/dist/public/assets/_CVAQYRbn.js.br +0 -0
- package/dist/public/assets/{_CZfC6jTr.js → _CW0Gcvvf.js} +1 -1
- package/dist/public/assets/_CW0Gcvvf.js.br +0 -0
- package/dist/public/assets/{_Dh9JSjE2.js → _CWCCjRdZ.js} +1 -1
- package/dist/public/assets/_CWCCjRdZ.js.br +0 -0
- package/dist/public/assets/{_9jzkidBm.js → _CX0nchN6.js} +1 -1
- package/dist/public/assets/_CX0nchN6.js.br +0 -0
- package/dist/public/assets/{_CmGp3KNB.js → _CbyF5IqG.js} +1 -1
- package/dist/public/assets/_CbyF5IqG.js.br +0 -0
- package/dist/public/assets/{_C8eaZzMf.js → _CdHVhmul.js} +1 -1
- package/dist/public/assets/_CdHVhmul.js.br +0 -0
- package/dist/public/assets/{_BnNVJ2OR.js → _CdmptqwG.js} +1 -1
- package/dist/public/assets/_CdmptqwG.js.br +0 -0
- package/dist/public/assets/{_DOx651Cv.js → _CdsytV1D.js} +1 -1
- package/dist/public/assets/_CdsytV1D.js.br +0 -0
- package/dist/public/assets/_Ce28dZuN.js +1 -0
- package/dist/public/assets/{_BuSKfKJh.js → _CeLqCBV7.js} +1 -1
- package/dist/public/assets/_CeLqCBV7.js.br +0 -0
- package/dist/public/assets/_Cia-fmjr.js +1 -0
- package/dist/public/assets/{_C_IHscZc.js → _Cl3qInEI.js} +1 -1
- package/dist/public/assets/_Cl3qInEI.js.br +0 -0
- package/dist/public/assets/_Cmtx1jxN.js +1 -0
- package/dist/public/assets/{_CSamdrzh.js → _Cpy6ZUlf.js} +1 -1
- package/dist/public/assets/_Cpy6ZUlf.js.br +0 -0
- package/dist/public/assets/_Cr2r9NVy.js +1 -0
- package/dist/public/assets/{_DeflzZix.js → _Cr6_6wzw.js} +1 -1
- package/dist/public/assets/_Cr6_6wzw.js.br +0 -0
- package/dist/public/assets/_Cw-b0YrG.js +1 -0
- package/dist/public/assets/_Cw7o87xt.js +1 -0
- package/dist/public/assets/{_Cp_ZfGCX.js → _D-PJE01o.js} +1 -1
- package/dist/public/assets/_D-PJE01o.js.br +0 -0
- package/dist/public/assets/_D1EwbmUi.js +1 -0
- package/dist/public/assets/{_0t_FRZ6j.js → _D1dKw3N7.js} +1 -1
- package/dist/public/assets/_D1dKw3N7.js.br +0 -0
- package/dist/public/assets/_D4PatyWd.js +1 -0
- package/dist/public/assets/{_uTmgt689.js → _D59CqJns.js} +1 -1
- package/dist/public/assets/_D59CqJns.js.br +0 -0
- package/dist/public/assets/_D7zxqX73.js +1 -0
- package/dist/public/assets/{_B5h2Zdh6.js → _DCplm8G6.js} +1 -1
- package/dist/public/assets/_DCplm8G6.js.br +0 -0
- package/dist/public/assets/{_BWu1Cupu.js → _DENFw_uk.js} +1 -1
- package/dist/public/assets/_DENFw_uk.js.br +0 -0
- package/dist/public/assets/{_W1WRcHNg.js → _DFFJiI2t.js} +1 -1
- package/dist/public/assets/_DFFJiI2t.js.br +0 -0
- package/dist/public/assets/{_CB_wd2sb.js → _DFkuuFZT.js} +1 -1
- package/dist/public/assets/_DFkuuFZT.js.br +0 -0
- package/dist/public/assets/{_O0Naw72x.js → _DIo6HfiY.js} +1 -1
- package/dist/public/assets/_DIo6HfiY.js.br +0 -0
- package/dist/public/assets/{_D8GAp65C.js → _DNt2kZrm.js} +1 -1
- package/dist/public/assets/_DNt2kZrm.js.br +0 -0
- package/dist/public/assets/{_Bq4K0toi.js → _DQ-hoh0L.js} +1 -1
- package/dist/public/assets/_DQ-hoh0L.js.br +0 -0
- package/dist/public/assets/{_PfhDoFF7.js → _DRqEBqAr.js} +1 -1
- package/dist/public/assets/_DRqEBqAr.js.br +0 -0
- package/dist/public/assets/{_C92BJrk-.js → _DTGgThEH.js} +1 -1
- package/dist/public/assets/_DTGgThEH.js.br +0 -0
- package/dist/public/assets/_DV4RRbcG.js +9 -0
- package/dist/public/assets/_DV4RRbcG.js.br +0 -0
- package/dist/public/assets/{_3ThST238.js → _DWkKjTzs.js} +1 -1
- package/dist/public/assets/_DWkKjTzs.js.br +0 -0
- package/dist/public/assets/{_B3Ud_EsG.js → _DZEk15Wj.js} +1 -1
- package/dist/public/assets/_DZEk15Wj.js.br +0 -0
- package/dist/public/assets/_DaPDg-DP.js +1 -0
- package/dist/public/assets/_DazfsWiY.js +1 -0
- package/dist/public/assets/{_BE_0-Wde.js → _DfplxQBR.js} +1 -1
- package/dist/public/assets/_DfplxQBR.js.br +0 -0
- package/dist/public/assets/{_ByAMjT_4.js → _DmwKpgO6.js} +1 -1
- package/dist/public/assets/_DmwKpgO6.js.br +0 -0
- package/dist/public/assets/{_xLRIkDFR.js → _DnomBKUN.js} +1 -1
- package/dist/public/assets/_DnomBKUN.js.br +0 -0
- package/dist/public/assets/_DoEEwGCH.js +1 -0
- package/dist/public/assets/_DpzYgDsD.js +1 -0
- package/dist/public/assets/{_B-VjpWBi.js → _DsFB1YNo.js} +1 -1
- package/dist/public/assets/_DsFB1YNo.js.br +0 -0
- package/dist/public/assets/_Dugwy7J2.js +1 -0
- package/dist/public/assets/{_ClJohpoD.js → _JOgy0pNI.js} +1 -1
- package/dist/public/assets/_JOgy0pNI.js.br +0 -0
- package/dist/public/assets/_K3u5oI1M.js +1 -0
- package/dist/public/assets/{_DNxs6p49.js → _OBWmAoId.js} +1 -1
- package/dist/public/assets/_OBWmAoId.js.br +0 -0
- package/dist/public/assets/{_DlDJuPHs.js → _PHOHNnoF.js} +1 -1
- package/dist/public/assets/_PHOHNnoF.js.br +0 -0
- package/dist/public/assets/_PPAMS8S1.js +1 -0
- package/dist/public/assets/{_37WtcXHc.js → _Q3BM4fa6.js} +1 -1
- package/dist/public/assets/_Q3BM4fa6.js.br +0 -0
- package/dist/public/assets/{_91uiHrxu.js → _S-OTL4Uc.js} +1 -1
- package/dist/public/assets/_S-OTL4Uc.js.br +0 -0
- package/dist/public/assets/{_BWtDw2XF.js → _XYAv6hrf.js} +4 -4
- package/dist/public/assets/_XYAv6hrf.js.br +0 -0
- package/dist/public/assets/{_D1yLj3IO.js → _ZKaDSTTz.js} +1 -1
- package/dist/public/assets/_ZKaDSTTz.js.br +0 -0
- package/dist/public/assets/__HUf4TNR.js +1 -0
- package/dist/public/assets/{_BGBa-rwx.js → _aAcQj0GS.js} +1 -1
- package/dist/public/assets/_aAcQj0GS.js.br +0 -0
- package/dist/public/assets/{_BFMKhh0r.js → _cNJgbmob.js} +1 -1
- package/dist/public/assets/_cNJgbmob.js.br +0 -0
- package/dist/public/assets/_hRcrYakS.js +87 -0
- package/dist/public/assets/_hRcrYakS.js.br +0 -0
- package/dist/public/assets/{_BRZcERqj.js → _j5wRDdC7.js} +1 -1
- package/dist/public/assets/_j5wRDdC7.js.br +0 -0
- package/dist/public/assets/_j_9eMoig.js +1 -0
- package/dist/public/assets/_jk81L_CZ.js +1 -0
- package/dist/public/assets/_m4IKmSuU.js +1 -0
- package/dist/public/assets/{_B47YKxbr.js → _muD8e1IV.js} +1 -1
- package/dist/public/assets/_muD8e1IV.js.br +0 -0
- package/dist/public/assets/{_B9qJHZYm.js → _npLcetbH.js} +1 -1
- package/dist/public/assets/_npLcetbH.js.br +0 -0
- package/dist/public/assets/{_pdA2hOt1.js → _oF0VuVHT.js} +1 -1
- package/dist/public/assets/_oF0VuVHT.js.br +0 -0
- package/dist/public/assets/{_D2Y9tm87.js → _xbSLmdMl.js} +1 -1
- package/dist/public/assets/_xbSLmdMl.js.br +0 -0
- package/dist/public/assets/{app-page-CDsakTUZ.css → app-page-Ch2WNrls.css} +1 -1
- package/dist/public/assets/app-page-Ch2WNrls.css.br +0 -0
- package/dist/public/assets/files-view-C3BiSWRl.css +1 -0
- package/dist/public/assets/files-view-C3BiSWRl.css.br +0 -0
- package/dist/public/assets/files-view-Daufya8D.js +2 -0
- package/dist/public/assets/{icon-folder-C1k_DC_E.css → icon-folder-BPapa-iT.css} +1 -1
- package/dist/public/assets/icon-folder-BPapa-iT.css.br +0 -0
- package/dist/public/assets/key-bar.css.ts-Cn1EB8no.css +1 -0
- package/dist/public/assets/key-bar.css.ts-Cn1EB8no.css.br +0 -0
- package/dist/public/assets/new-BWfPfN2i.js +1 -0
- package/dist/public/assets/quick-open-Dv9UrKwH.css +1 -0
- package/dist/public/assets/quick-open-Dv9UrKwH.css.br +0 -0
- package/dist/public/assets/review-view-B0NZMqnR.js +2 -0
- package/dist/public/assets/{review-view-nA9SJJSL.css → review-view-D2tbG0KH.css} +1 -1
- package/dist/public/assets/review-view-D2tbG0KH.css.br +0 -0
- package/dist/public/assets/settings-BWfPfN2i.js +1 -0
- package/dist/public/assets/w-BWfPfN2i.js +1 -0
- package/dist/public/assets/w._-BWfPfN2i.js +1 -0
- package/dist/public/assets/w._-DWMNJBN1.js +1 -0
- package/dist/public/assets/w._-Qh-uM482.js +1 -0
- package/lib/setup/catalog.mjs +1 -1
- package/lib/setup/doctor.mjs +6 -1
- package/lib/setup/install.mjs +2 -2
- package/lib/share/manifest.mjs +1 -1
- package/package.json +1 -1
- package/dist/_DE6OaXU6.js +0 -2
- package/dist/public/assets/_0t_FRZ6j.js.br +0 -0
- package/dist/public/assets/_37WtcXHc.js.br +0 -0
- package/dist/public/assets/_3ThST238.js.br +0 -0
- package/dist/public/assets/_53v1DCyi.js.br +0 -0
- package/dist/public/assets/_7FjEBICx.js +0 -1
- package/dist/public/assets/_91uiHrxu.js.br +0 -0
- package/dist/public/assets/_9jzkidBm.js.br +0 -0
- package/dist/public/assets/_B-IhfmuQ.js +0 -1
- package/dist/public/assets/_B-VjpWBi.js.br +0 -0
- package/dist/public/assets/_B0ShnUBT.js +0 -1
- package/dist/public/assets/_B3Ud_EsG.js.br +0 -0
- package/dist/public/assets/_B47YKxbr.js.br +0 -0
- package/dist/public/assets/_B5h2Zdh6.js.br +0 -0
- package/dist/public/assets/_B6l7yCEt.js +0 -1
- package/dist/public/assets/_B9qJHZYm.js.br +0 -0
- package/dist/public/assets/_BBP8kDDa.js +0 -1
- package/dist/public/assets/_BDTUrRNL.js +0 -1
- package/dist/public/assets/_BE_0-Wde.js.br +0 -0
- package/dist/public/assets/_BFMKhh0r.js.br +0 -0
- package/dist/public/assets/_BGBa-rwx.js.br +0 -0
- package/dist/public/assets/_BGSSpf3S.js +0 -1
- package/dist/public/assets/_BGn9eeyv.js +0 -87
- package/dist/public/assets/_BGn9eeyv.js.br +0 -0
- package/dist/public/assets/_BIPLIHAC.js +0 -1
- package/dist/public/assets/_BOXJCPs7.js.br +0 -0
- package/dist/public/assets/_BP-493x-.js.br +0 -0
- package/dist/public/assets/_BRZcERqj.js.br +0 -0
- package/dist/public/assets/_BSFAaDpd.js.br +0 -0
- package/dist/public/assets/_BWtDw2XF.js.br +0 -0
- package/dist/public/assets/_BWu1Cupu.js.br +0 -0
- package/dist/public/assets/_BgoTLmCW.js +0 -1
- package/dist/public/assets/_BhbnASq-.js +0 -1
- package/dist/public/assets/_Bk-KFU1Y.js.br +0 -0
- package/dist/public/assets/_BkeWeJu_.js +0 -1
- package/dist/public/assets/_Bl4BzjEO.js +0 -1
- package/dist/public/assets/_BmViFegQ.js +0 -1
- package/dist/public/assets/_BnNVJ2OR.js.br +0 -0
- package/dist/public/assets/_BoORCF5M.js +0 -1
- package/dist/public/assets/_BpR300Xn.js.br +0 -0
- package/dist/public/assets/_Bq4K0toi.js.br +0 -0
- package/dist/public/assets/_Brrxdwav.js.br +0 -0
- package/dist/public/assets/_Bt47M2TG.js +0 -1
- package/dist/public/assets/_BuSKfKJh.js.br +0 -0
- package/dist/public/assets/_BvUP7exK.js.br +0 -0
- package/dist/public/assets/_BwOQfcZM.js.br +0 -0
- package/dist/public/assets/_ByAMjT_4.js.br +0 -0
- package/dist/public/assets/_C04mOIIs.js.br +0 -0
- package/dist/public/assets/_C6BHh7DF.js.br +0 -0
- package/dist/public/assets/_C6DzbO3r.js +0 -1
- package/dist/public/assets/_C8eaZzMf.js.br +0 -0
- package/dist/public/assets/_C92BJrk-.js.br +0 -0
- package/dist/public/assets/_CB_wd2sb.js.br +0 -0
- package/dist/public/assets/_CNCNbf--.js +0 -1
- package/dist/public/assets/_CNOxop8j.js +0 -1
- package/dist/public/assets/_COMeN-2L.js.br +0 -0
- package/dist/public/assets/_CRax3wrS.js +0 -1
- package/dist/public/assets/_CSamdrzh.js.br +0 -0
- package/dist/public/assets/_CSiinSQ6.js +0 -1
- package/dist/public/assets/_CTjzRxhS.js +0 -1
- package/dist/public/assets/_CV21U0g_.js +0 -1
- package/dist/public/assets/_CZfC6jTr.js.br +0 -0
- package/dist/public/assets/_C_IHscZc.js.br +0 -0
- package/dist/public/assets/_Cc72o3Q2.js +0 -1
- package/dist/public/assets/_CfX3D9Fh.js +0 -9
- package/dist/public/assets/_CfX3D9Fh.js.br +0 -0
- package/dist/public/assets/_ChCvMZ3P.js +0 -1
- package/dist/public/assets/_ChOfL4D2.js.br +0 -0
- package/dist/public/assets/_Ckm-kgAb.js.br +0 -0
- package/dist/public/assets/_ClJohpoD.js.br +0 -0
- package/dist/public/assets/_CmGp3KNB.js.br +0 -0
- package/dist/public/assets/_CoTbdUIH.js +0 -1
- package/dist/public/assets/_Cp_ZfGCX.js.br +0 -0
- package/dist/public/assets/_CsPhyyKa.js +0 -1
- package/dist/public/assets/_CtwAU1UB.js +0 -1
- package/dist/public/assets/_CwD41rCP.js +0 -1
- package/dist/public/assets/_D1yLj3IO.js.br +0 -0
- package/dist/public/assets/_D2GIvWvX.js.br +0 -0
- package/dist/public/assets/_D2Y9tm87.js.br +0 -0
- package/dist/public/assets/_D2g0cq2r.js.br +0 -0
- package/dist/public/assets/_D3pCiKqg.js +0 -1
- package/dist/public/assets/_D6hTyuU8.js.br +0 -0
- package/dist/public/assets/_D8GAp65C.js.br +0 -0
- package/dist/public/assets/_D8_2eIJL.js.br +0 -0
- package/dist/public/assets/_D91dxY1X.js.br +0 -0
- package/dist/public/assets/_DGhjWNZB.js.br +0 -0
- package/dist/public/assets/_DHzwN56c.js +0 -1
- package/dist/public/assets/_DIQ0Z4-U.js.br +0 -0
- package/dist/public/assets/_DIQqtw9z.js.br +0 -0
- package/dist/public/assets/_DJc4-pyH.js.br +0 -0
- package/dist/public/assets/_DMsRaTUv.js +0 -1
- package/dist/public/assets/_DNxs6p49.js.br +0 -0
- package/dist/public/assets/_DO1wCJvg.js.br +0 -0
- package/dist/public/assets/_DOx651Cv.js.br +0 -0
- package/dist/public/assets/_DTzo-U2i.js.br +0 -0
- package/dist/public/assets/_D_kNvMRX.js.br +0 -0
- package/dist/public/assets/_DcsKAaQZ.js +0 -1
- package/dist/public/assets/_DeflzZix.js.br +0 -0
- package/dist/public/assets/_Dgkti7WK.js +0 -1
- package/dist/public/assets/_Dh9JSjE2.js.br +0 -0
- package/dist/public/assets/_DlDJuPHs.js.br +0 -0
- package/dist/public/assets/_DmmlUz8N.js.br +0 -0
- package/dist/public/assets/_DnUOoABu.js +0 -1
- package/dist/public/assets/_Do1bA-c7.js.br +0 -0
- package/dist/public/assets/_DoRSE8gM.js +0 -1
- package/dist/public/assets/_DydpxW6U.js +0 -6
- package/dist/public/assets/_DydpxW6U.js.br +0 -0
- package/dist/public/assets/_EZQ54mFP.js +0 -1
- package/dist/public/assets/_LAkWfyCV.js +0 -1
- package/dist/public/assets/_O0Naw72x.js.br +0 -0
- package/dist/public/assets/_PfhDoFF7.js.br +0 -0
- package/dist/public/assets/_RryPYuJ0.js +0 -1
- package/dist/public/assets/_W1WRcHNg.js.br +0 -0
- package/dist/public/assets/_WuhZnhFU.js +0 -1
- package/dist/public/assets/_YgcsQRxe.js +0 -1
- package/dist/public/assets/_my8RmZNw.js.br +0 -0
- package/dist/public/assets/_pMZyKEA5.js +0 -1
- package/dist/public/assets/_pdA2hOt1.js.br +0 -0
- package/dist/public/assets/_uTmgt689.js.br +0 -0
- package/dist/public/assets/_wkYZPyqx.js.br +0 -0
- package/dist/public/assets/_wuhkkb_5.js.br +0 -0
- package/dist/public/assets/_wwPxDeTd.js.br +0 -0
- package/dist/public/assets/_xLRIkDFR.js.br +0 -0
- package/dist/public/assets/app-page-CDsakTUZ.css.br +0 -0
- package/dist/public/assets/files-view-CH_3HMWu.js +0 -2
- package/dist/public/assets/files-view-Czm0ntVP.css +0 -1
- package/dist/public/assets/files-view-Czm0ntVP.css.br +0 -0
- package/dist/public/assets/icon-folder-C1k_DC_E.css.br +0 -0
- package/dist/public/assets/key-bar.css.ts-OlxVm-Io.css +0 -1
- package/dist/public/assets/key-bar.css.ts-OlxVm-Io.css.br +0 -0
- package/dist/public/assets/new-ukXEx_QL.js +0 -1
- package/dist/public/assets/quick-open-D6c3NJJw.css +0 -1
- package/dist/public/assets/quick-open-D6c3NJJw.css.br +0 -0
- package/dist/public/assets/review-view-DvDuRwP1.js +0 -2
- package/dist/public/assets/review-view-nA9SJJSL.css.br +0 -0
- package/dist/public/assets/settings-ukXEx_QL.js +0 -1
- package/dist/public/assets/w-ukXEx_QL.js +0 -1
- package/dist/public/assets/w._-2hlpCJQe.js +0 -1
- package/dist/public/assets/w._-LrwDM0Lp.js +0 -1
- package/dist/public/assets/w._-ukXEx_QL.js +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./_BMI-E3GI.js";
|
|
2
|
-
import { $ as disabledAgents, A as agentFamily, B as deleteSubscription, C as reportsWorking, Ct as gh, D as setScrapedPhase, Dt as config, E as setAgentPhase, Et as tmux, F as getInstance, G as subscribe, H as saveSubscription, I as iconSvg, J as shared, K as subscriberCount, L as manifest, M as agentLabel, N as agentMeta, O as setSessionViewers, P as ACCENT_RE, Q as allPrefs, R as normalizeAccent, S as readHookPayload, St as TMUX_SOCKET, T as clearAgentPhase, Tt as run, U as publish, V as pushPublicKey, W as publishJson, X as withLock, Y as swr, Z as agentChoices, _ as sendToSession, _t as toolById, a as ensureTmuxServer, at as setSetting, b as tmuxWasStarted, bt as get$1, c as killSession, ct as ghKnownHosts, d as listSessions, dt as setupPath, et as enabledAgents, f as markTmuxStarted, ft as which, g as renameSession, gt as agentLabel$1, h as panePids, ht as agentById, i as disposeSessions, it as setPref, j as agentFromCommand, k as agentBadge, l as killWorkspaceSessions, lt as miseInstalls, mt as TOOLS, n as clearTmuxStarted, nt as preferredAgent, o as forgetPanes, ot as discoverAgents, p as newSessionArgs, pt as DEFAULT_GITHUB_HOST, q as subscriberJoins, r as createSession, rt as setDisabledAgents, s as getSession, st as doctor, t as cleanEnv, tt as getSetting, u as listPanes, ut as miseVersions, v as sessionStates, vt as all, w as blankRow, wt as git, x as AGENTS, xt as workspacePath, y as tmuxName, yt as db, z as setInstance } from "./
|
|
2
|
+
import { $ as disabledAgents, A as agentFamily, B as deleteSubscription, C as reportsWorking, Ct as gh, D as setScrapedPhase, Dt as config, E as setAgentPhase, Et as tmux, F as getInstance, G as subscribe, H as saveSubscription, I as iconSvg, J as shared, K as subscriberCount, L as manifest, M as agentLabel, N as agentMeta, O as setSessionViewers, P as ACCENT_RE, Q as allPrefs, R as normalizeAccent, S as readHookPayload, St as TMUX_SOCKET, T as clearAgentPhase, Tt as run, U as publish, V as pushPublicKey, W as publishJson, X as withLock, Y as swr, Z as agentChoices, _ as sendToSession, _t as toolById, a as ensureTmuxServer, at as setSetting, b as tmuxWasStarted, bt as get$1, c as killSession, ct as ghKnownHosts, d as listSessions, dt as setupPath, et as enabledAgents, f as markTmuxStarted, ft as which, g as renameSession, gt as agentLabel$1, h as panePids, ht as agentById, i as disposeSessions, it as setPref, j as agentFromCommand, k as agentBadge, l as killWorkspaceSessions, lt as miseInstalls, mt as TOOLS, n as clearTmuxStarted, nt as preferredAgent, o as forgetPanes, ot as discoverAgents, p as newSessionArgs, pt as DEFAULT_GITHUB_HOST, q as subscriberJoins, r as createSession, rt as setDisabledAgents, s as getSession, st as doctor, t as cleanEnv, tt as getSetting, u as listPanes, ut as miseVersions, v as sessionStates, vt as all, w as blankRow, wt as git, x as AGENTS, xt as workspacePath, y as tmuxName, yt as db, z as setInstance } from "./_BWLKBjTB.js";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import http, { createServer } from "node:http";
|
|
5
5
|
import path from "node:path";
|
|
@@ -2344,8 +2344,8 @@ var cachePath = (host) => path.join(config.dataDir, host === DEFAULT_HOST ? "rep
|
|
|
2344
2344
|
*/
|
|
2345
2345
|
async function repoCatalog(refresh = false) {
|
|
2346
2346
|
const hosts = configuredHosts();
|
|
2347
|
-
const [parts, ssoParts] = await Promise.all([Promise.all(hosts.map((host) => catalog(host, refresh).catch(() => {
|
|
2348
|
-
if (host === DEFAULT_HOST && refresh) throw new Error(`
|
|
2347
|
+
const [parts, ssoParts] = await Promise.all([Promise.all(hosts.map((host) => catalog(host, refresh).catch((err) => {
|
|
2348
|
+
if (host === DEFAULT_HOST && refresh) throw new Error(`Repo list refresh failed: ${err instanceof Error ? err.message : err}`);
|
|
2349
2349
|
return catalog.get(host) ?? null;
|
|
2350
2350
|
}))), Promise.all(hosts.map((host) => pendingSsoOrgs(host, refresh).catch(() => [])))]);
|
|
2351
2351
|
const repos = parts.flatMap((c) => c?.repos ?? []);
|
|
@@ -2505,7 +2505,7 @@ async function fetchCatalog(host) {
|
|
|
2505
2505
|
repos
|
|
2506
2506
|
};
|
|
2507
2507
|
if (partial) {
|
|
2508
|
-
if (readDiskCache(host)) throw new Error("gh
|
|
2508
|
+
if (readDiskCache(host)) throw new Error("gh could not list every repo");
|
|
2509
2509
|
return catalog;
|
|
2510
2510
|
}
|
|
2511
2511
|
const tmp = cachePath(host) + ".tmp";
|
|
@@ -3478,7 +3478,7 @@ async function resolveFork(repo) {
|
|
|
3478
3478
|
* pasted `evil.com/o/r` from reaching ls-remote / clone. */
|
|
3479
3479
|
function assertKnownHost(fullName) {
|
|
3480
3480
|
const { host } = splitRepo(fullName);
|
|
3481
|
-
if (!configuredHosts().includes(host)) throw new Error(`unknown host ${host}: add it in Settings
|
|
3481
|
+
if (!configuredHosts().includes(host)) throw new Error(`unknown GitHub host ${host}: add it in Settings → GitHub`);
|
|
3482
3482
|
}
|
|
3483
3483
|
/** Reject when the workspace already holds the resolved name, the
|
|
3484
3484
|
* requested upstream, or a fork/parent pair of either — so forking
|
|
@@ -3622,7 +3622,7 @@ async function addWorkspaceWorktree(bare, dest, branch, base) {
|
|
|
3622
3622
|
}
|
|
3623
3623
|
const label = path.basename(dest);
|
|
3624
3624
|
if (!baseOid) {
|
|
3625
|
-
if (await remoteHasHeads(bare)) throw new Error(`
|
|
3625
|
+
if (await remoteHasHeads(bare)) throw new Error(`base branch ${base} not found on origin`);
|
|
3626
3626
|
progress(`Adding empty worktree ${label}/…`);
|
|
3627
3627
|
await git([
|
|
3628
3628
|
"worktree",
|
|
@@ -3883,7 +3883,7 @@ async function runRemoteScript(url, shell, opts) {
|
|
|
3883
3883
|
}
|
|
3884
3884
|
async function installMise(opts = {}) {
|
|
3885
3885
|
if (which("mise")) return;
|
|
3886
|
-
opts.log?.("
|
|
3886
|
+
opts.log?.("Installing mise…");
|
|
3887
3887
|
await runRemoteScript("https://mise.run", "sh", opts);
|
|
3888
3888
|
if (!which("mise")) throw new Error("mise install finished but binary not found");
|
|
3889
3889
|
}
|
|
@@ -3937,7 +3937,7 @@ async function removeTool(idOrName, opts = {}) {
|
|
|
3937
3937
|
async function installAgent(id, opts = {}) {
|
|
3938
3938
|
const a = agentById(id);
|
|
3939
3939
|
if (!a) throw new Error(`unknown agent: ${id}`);
|
|
3940
|
-
opts.log?.(`
|
|
3940
|
+
opts.log?.(`Installing ${a.label} from ${a.install.url}…`);
|
|
3941
3941
|
await runRemoteScript(a.install.url, a.install.shell, opts);
|
|
3942
3942
|
if (!a.bins.some((b) => which(b))) throw new Error(`${a.label} installer finished but ${a.bins[0]} is not on PATH`);
|
|
3943
3943
|
}
|
|
@@ -7200,14 +7200,14 @@ var openable = (ws) => ws.status === "active" && !ws.pending;
|
|
|
7200
7200
|
*/
|
|
7201
7201
|
var numbered = (all) => all.filter(openable).sort((a, b) => a.name.localeCompare(b.name));
|
|
7202
7202
|
var toastKind = {
|
|
7203
|
-
error: "
|
|
7204
|
-
warn: "
|
|
7205
|
-
info: "
|
|
7203
|
+
error: "_b8",
|
|
7204
|
+
warn: "_b9",
|
|
7205
|
+
info: "_b_"
|
|
7206
7206
|
};
|
|
7207
7207
|
var toastTitle = {
|
|
7208
|
-
error: "
|
|
7209
|
-
warn: "
|
|
7210
|
-
info: "
|
|
7208
|
+
error: "_ca",
|
|
7209
|
+
warn: "_cb",
|
|
7210
|
+
info: "_cc"
|
|
7211
7211
|
};
|
|
7212
7212
|
//#endregion
|
|
7213
7213
|
//#region src/tags/icons/paths.ts
|
|
@@ -7327,19 +7327,19 @@ var toast_default = _template("db", (input) => {
|
|
|
7327
7327
|
const kind = inputKind || "error";
|
|
7328
7328
|
const placement = inputPlacement || "float";
|
|
7329
7329
|
const placementClass = {
|
|
7330
|
-
float: "
|
|
7331
|
-
inline: "
|
|
7330
|
+
float: "_b5",
|
|
7331
|
+
inline: "_b6"
|
|
7332
7332
|
}[placement];
|
|
7333
7333
|
_html(`<div${_attr_class([
|
|
7334
|
-
"
|
|
7334
|
+
"_b4",
|
|
7335
7335
|
toastKind[kind],
|
|
7336
7336
|
placementClass,
|
|
7337
|
-
placement === "inline" && kind === "error" && "
|
|
7337
|
+
placement === "inline" && kind === "error" && "_b7",
|
|
7338
7338
|
inputClass
|
|
7339
7339
|
])} role=${kind === "error" ? "alert" : "status"}${_attrs_partial(htmlInput, {
|
|
7340
7340
|
class: 1,
|
|
7341
7341
|
role: 1
|
|
7342
|
-
}, "a", $scope0_id, "div")}><div${_attr_class("
|
|
7342
|
+
}, "a", $scope0_id, "div")}><div${_attr_class("_cd")}>`);
|
|
7343
7343
|
_if(() => {
|
|
7344
7344
|
if (title) {
|
|
7345
7345
|
const $scope1_id = _scope_id();
|
|
@@ -7351,7 +7351,7 @@ var toast_default = _template("db", (input) => {
|
|
|
7351
7351
|
_if(() => {
|
|
7352
7352
|
if (content) {
|
|
7353
7353
|
const $scope2_id = _scope_id();
|
|
7354
|
-
_html(`<div${_attr_class("
|
|
7354
|
+
_html(`<div${_attr_class("_ce")}>`);
|
|
7355
7355
|
_dynamic_tag($scope2_id, "b", content, {}, 0, 0, $sg__input_content);
|
|
7356
7356
|
_html("</div>");
|
|
7357
7357
|
$si__input_content && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -7362,7 +7362,7 @@ var toast_default = _template("db", (input) => {
|
|
|
7362
7362
|
_if(() => {
|
|
7363
7363
|
if (action || onDismiss) {
|
|
7364
7364
|
const $scope3_id = _scope_id();
|
|
7365
|
-
_html(`<div${_attr_class(["
|
|
7365
|
+
_html(`<div${_attr_class(["_cf", action && "_cg"])}>`);
|
|
7366
7366
|
_if(() => {
|
|
7367
7367
|
if (action) {
|
|
7368
7368
|
const $scope4_id = _scope_id();
|
|
@@ -7374,7 +7374,7 @@ var toast_default = _template("db", (input) => {
|
|
|
7374
7374
|
_if(() => {
|
|
7375
7375
|
if (onDismiss) {
|
|
7376
7376
|
const $scope5_id = _scope_id();
|
|
7377
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
7377
|
+
_html(`<button${_attr_class([iconBtnRow, "_ch"])} type=button title=Dismiss aria-label=Dismiss>`);
|
|
7378
7378
|
icon_xmark_default({ size: 14 });
|
|
7379
7379
|
_html(`</button>${_el_resume($scope5_id, "a")}`);
|
|
7380
7380
|
_script($scope5_id, "db0");
|
|
@@ -7558,13 +7558,13 @@ function setTheme(mode) {
|
|
|
7558
7558
|
}
|
|
7559
7559
|
var agentRow = "_eE _dB";
|
|
7560
7560
|
var toolLead = "_eO _dW";
|
|
7561
|
-
var list$3 = "_dN
|
|
7561
|
+
var list$3 = "_dN _dl _dA _dL";
|
|
7562
7562
|
var metaChip = "_d1 _bi _bh";
|
|
7563
|
-
var pop = "
|
|
7564
|
-
var spinner = "
|
|
7563
|
+
var pop = "_ep _bw";
|
|
7564
|
+
var spinner = "_es _bm _2";
|
|
7565
7565
|
var name$4 = "_d5 _dW";
|
|
7566
7566
|
var desc = "_d6 _dX";
|
|
7567
|
-
var sectionCount$1 = "
|
|
7567
|
+
var sectionCount$1 = "_di _9 __";
|
|
7568
7568
|
//#endregion
|
|
7569
7569
|
//#region src/tags/icons/icon-refresh.marko
|
|
7570
7570
|
var icon_refresh_default = _template("Qb", (input) => {
|
|
@@ -7584,11 +7584,11 @@ var icon_refresh_default = _template("Qb", (input) => {
|
|
|
7584
7584
|
var page_head_default = _template("F", (input) => {
|
|
7585
7585
|
const $scope0_reason = _scope_reason(), $sg__input_meta = _serialize_guard($scope0_reason, 4), $sg__input_actions = _serialize_guard($scope0_reason, 5), $sg__input_meta__OR__input_actions = _serialize_guard($scope0_reason, 0), $sg__input_titleId = _serialize_guard($scope0_reason, 2), $sg__input_title = _serialize_guard($scope0_reason, 3), $si__input_meta = _serialize_if($scope0_reason, 4), $si__input_actions = _serialize_if($scope0_reason, 5);
|
|
7586
7586
|
const $scope0_id = _scope_id();
|
|
7587
|
-
_html(`<header${_attr_class("
|
|
7587
|
+
_html(`<header${_attr_class("_d_")}><div${_attr_class("_ea")}><h1${_attr("id", input.titleId)}${_attr_class("_ed")}>${_text_resume($scope0_id, "d", input.title, $sg__input_title)}</h1>${_el_resume($scope0_id, "c", $sg__input_titleId)}`);
|
|
7588
7588
|
_if(() => {
|
|
7589
7589
|
if (input.meta) {
|
|
7590
7590
|
const $scope1_id = _scope_id();
|
|
7591
|
-
_html(`<div${_attr_class("
|
|
7591
|
+
_html(`<div${_attr_class("_ee")}>`);
|
|
7592
7592
|
_dynamic_tag($scope1_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
|
|
7593
7593
|
_html("</div>");
|
|
7594
7594
|
$si__input_meta && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -7598,7 +7598,7 @@ var page_head_default = _template("F", (input) => {
|
|
|
7598
7598
|
_if(() => {
|
|
7599
7599
|
if (input.actions) {
|
|
7600
7600
|
const $scope2_id = _scope_id();
|
|
7601
|
-
_html(`<div${_attr_class("
|
|
7601
|
+
_html(`<div${_attr_class("_ef")}>`);
|
|
7602
7602
|
_dynamic_tag($scope2_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
7603
7603
|
_html("</div>");
|
|
7604
7604
|
$si__input_actions && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -7660,7 +7660,7 @@ var icon_agent_default = _template("lb", (input) => {
|
|
|
7660
7660
|
n: $badge__closures
|
|
7661
7661
|
});
|
|
7662
7662
|
});
|
|
7663
|
-
var usageNote = "
|
|
7663
|
+
var usageNote = "_h6 _bh";
|
|
7664
7664
|
//#endregion
|
|
7665
7665
|
//#region src/tags/icons/icon-warning.marko
|
|
7666
7666
|
var icon_warning_default = _template("Zb", (input) => {
|
|
@@ -7689,14 +7689,14 @@ var usage_meters_default = _template("fb", (input) => {
|
|
|
7689
7689
|
const agent = input.agent;
|
|
7690
7690
|
const showPlan = !!agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase();
|
|
7691
7691
|
const bare$1 = input.hideName && !showPlan && agent.stale_seconds == null;
|
|
7692
|
-
_html(`<div${_attr_class(["
|
|
7693
|
-
["
|
|
7694
|
-
["
|
|
7695
|
-
}])}><div${_attr_class("
|
|
7692
|
+
_html(`<div${_attr_class(["_hZ", {
|
|
7693
|
+
["_h0"]: input.hideName,
|
|
7694
|
+
["_h1"]: bare$1
|
|
7695
|
+
}])}><div${_attr_class("_h2")}${_attr("hidden", bare$1)}>`);
|
|
7696
7696
|
_if(() => {
|
|
7697
7697
|
if (!input.hideName) {
|
|
7698
7698
|
const $scope1_id = _scope_id();
|
|
7699
|
-
_html(`<strong${_attr_class("
|
|
7699
|
+
_html(`<strong${_attr_class("_id")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
|
|
7700
7700
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
7701
7701
|
return 0;
|
|
7702
7702
|
}
|
|
@@ -7704,7 +7704,7 @@ var usage_meters_default = _template("fb", (input) => {
|
|
|
7704
7704
|
_if(() => {
|
|
7705
7705
|
if (showPlan) {
|
|
7706
7706
|
const $scope2_id = _scope_id();
|
|
7707
|
-
_html(`<span${_attr_class("
|
|
7707
|
+
_html(`<span${_attr_class("_h3")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
|
|
7708
7708
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
7709
7709
|
return 0;
|
|
7710
7710
|
}
|
|
@@ -7712,14 +7712,14 @@ var usage_meters_default = _template("fb", (input) => {
|
|
|
7712
7712
|
_if(() => {
|
|
7713
7713
|
if (agent.stale_seconds != null) {
|
|
7714
7714
|
const $scope3_id = _scope_id();
|
|
7715
|
-
_html(`<span${_attr_class("
|
|
7715
|
+
_html(`<span${_attr_class("_h4")}${_attr("title", `Cached ${duration(agent.stale_seconds * 1e3)} ago: ${agent.note || "provider unreachable"}`)}>`);
|
|
7716
7716
|
icon_warning_default({ size: 12 });
|
|
7717
7717
|
_html(` ${_text_resume($scope3_id, "c", duration(agent.stale_seconds * 1e3), $sg__input_agent * 2)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
|
|
7718
7718
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
7719
7719
|
return 0;
|
|
7720
7720
|
}
|
|
7721
7721
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
7722
|
-
_html(`</div>${_el_resume($scope0_id, "b", $sg__input_agent__OR__input_hideName)}<div${_attr_class(["
|
|
7722
|
+
_html(`</div>${_el_resume($scope0_id, "b", $sg__input_agent__OR__input_hideName)}<div${_attr_class(["_h5", { ["_O"]: agent.stale_seconds != null }])}>`);
|
|
7723
7723
|
_for_of(agent.windows || [], (win) => {
|
|
7724
7724
|
const $scope4_id = _scope_id();
|
|
7725
7725
|
const pct = pctText(win.used_percent);
|
|
@@ -7727,7 +7727,7 @@ var usage_meters_default = _template("fb", (input) => {
|
|
|
7727
7727
|
const tone = usageTone(win.used_percent);
|
|
7728
7728
|
const fillClass = usageFill[tone];
|
|
7729
7729
|
const pctClass = usageInk[tone];
|
|
7730
|
-
_html(`<div${_attr_class("
|
|
7730
|
+
_html(`<div${_attr_class("_h8")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_h9")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_h_")}><span${_attr_class(["_ia", fillClass])}${_attr_style(`width:${Math.min(100, Math.max(2, win.used_percent))}%`)}></span>${_el_resume($scope4_id, "e", $sg__input_agent)}</span><span${_attr_class(["_ib", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_ic")}>`);
|
|
7731
7731
|
_if(() => {
|
|
7732
7732
|
if (label) {
|
|
7733
7733
|
const $scope6_id = _scope_id();
|
|
@@ -7752,7 +7752,7 @@ var usage_meters_default = _template("fb", (input) => {
|
|
|
7752
7752
|
_if(() => {
|
|
7753
7753
|
if (i % 2) {
|
|
7754
7754
|
const $scope8_id = _scope_id();
|
|
7755
|
-
_html(`<code${_attr_class("
|
|
7755
|
+
_html(`<code${_attr_class("_h7")}>${_text_resume($scope8_id, "b", part, $sg__input_agent)}</code>`);
|
|
7756
7756
|
$si__input_agent && writeScope($scope8_id, { _: _scope_with_id($scope7_id) });
|
|
7757
7757
|
return 0;
|
|
7758
7758
|
} else {
|
|
@@ -7830,7 +7830,7 @@ var add_field_default = _template("c", (input) => {
|
|
|
7830
7830
|
_if(() => {
|
|
7831
7831
|
if (!open) {
|
|
7832
7832
|
const $scope1_id = _scope_id();
|
|
7833
|
-
_html(`<button${input.row ? _attr_class("
|
|
7833
|
+
_html(`<button${input.row ? _attr_class("_ew") : _attr_class([iconBtnRow, input.class])}${_attr("title", input.addTitle)}${_attr("aria-label", input.addTitle)}>`);
|
|
7834
7834
|
icon_plus_default({ size: 14 });
|
|
7835
7835
|
_html(`${_text_resume($scope1_id, "c", input.row ? input.row : "", $sg__input_row)}</button>${_el_resume($scope1_id, "a")}`);
|
|
7836
7836
|
_script($scope1_id, "c2");
|
|
@@ -7839,13 +7839,13 @@ var add_field_default = _template("c", (input) => {
|
|
|
7839
7839
|
}
|
|
7840
7840
|
}, $scope0_id, "a", 1, 1, 1, 0, 1);
|
|
7841
7841
|
_html(`<form${_attr_class([
|
|
7842
|
-
"
|
|
7843
|
-
input.row ? ["
|
|
7844
|
-
{ ["
|
|
7842
|
+
"_ei",
|
|
7843
|
+
input.row ? ["_ek", "_et"] : input.class,
|
|
7844
|
+
{ ["_ej"]: !open }
|
|
7845
7845
|
])}><label${_attr_class([
|
|
7846
7846
|
"_bl",
|
|
7847
|
-
"
|
|
7848
|
-
input.row && "
|
|
7847
|
+
"_el",
|
|
7848
|
+
input.row && "_eu"
|
|
7849
7849
|
])}>`);
|
|
7850
7850
|
_if(() => {
|
|
7851
7851
|
if (input.searching) {
|
|
@@ -7873,8 +7873,8 @@ var add_field_default = _template("c", (input) => {
|
|
|
7873
7873
|
}, "c0", $scope0_id))}${_attr_class([
|
|
7874
7874
|
"_bj",
|
|
7875
7875
|
"_bn",
|
|
7876
|
-
"
|
|
7877
|
-
input.row && "
|
|
7876
|
+
"_em",
|
|
7877
|
+
input.row && "_ev"
|
|
7878
7878
|
])}${open || input.row ? "" : " tabindex=-1"} type=text${_attr("placeholder", input.placeholder)}${_attr("aria-label", input.ariaLabel)} autocomplete=off spellcheck=false>${_el_resume($scope0_id, "e")}</label>${_el_resume($scope0_id, "c", $sg__input_row)}`);
|
|
7879
7879
|
_if(() => {
|
|
7880
7880
|
if (input.submitLabel) {
|
|
@@ -7882,19 +7882,19 @@ var add_field_default = _template("c", (input) => {
|
|
|
7882
7882
|
_html(`<button${_attr_class([
|
|
7883
7883
|
btnSm,
|
|
7884
7884
|
"_s",
|
|
7885
|
-
"
|
|
7885
|
+
"_en"
|
|
7886
7886
|
])} type=submit${_attr("hidden", !open)}${_attr("disabled", !value.trim() || input.busy)}>${_text_resume($scope3_id, "b", input.busy ? "Adding…" : input.submitLabel, _serialize_guard($scope0_reason, 1))}</button>${_el_resume($scope3_id, "a")}`);
|
|
7887
7887
|
writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
7888
7888
|
return 0;
|
|
7889
7889
|
}
|
|
7890
7890
|
}, $scope0_id, "f", 1, _serialize_guard($scope0_reason, 8), 1, 0, 1);
|
|
7891
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
7891
|
+
_html(`<button${_attr_class([iconBtnRow, "_eo"])} type=button${_attr("hidden", !open)} title=Close aria-label=Close${_attr("disabled", input.busy)}>`);
|
|
7892
7892
|
icon_xmark_default({ size: 14 });
|
|
7893
7893
|
_html(`</button>${_el_resume($scope0_id, "g")}`);
|
|
7894
7894
|
_if(() => {
|
|
7895
7895
|
if (input.content) {
|
|
7896
7896
|
const $scope4_id = _scope_id();
|
|
7897
|
-
_html(`<ul${_attr_class([pop, "
|
|
7897
|
+
_html(`<ul${_attr_class([pop, "_eq"])} data-add-pop${_attr("hidden", !open || !value.trim())}>`);
|
|
7898
7898
|
_dynamic_tag($scope4_id, "b", input.content, {}, 0, 0, $sg__input_content);
|
|
7899
7899
|
_html(`</ul>${_el_resume($scope4_id, "a")}`);
|
|
7900
7900
|
writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -8010,14 +8010,14 @@ var sso_auth_default = _template("bb", (input) => {
|
|
|
8010
8010
|
localCode = null;
|
|
8011
8011
|
}
|
|
8012
8012
|
}, "bb0", $scope0_id);
|
|
8013
|
-
_html(`<div${_attr_class(["
|
|
8013
|
+
_html(`<div${_attr_class(["_hN", input.class])}>`);
|
|
8014
8014
|
_for_of(input.items, (s) => {
|
|
8015
8015
|
const $scope1_id = _scope_id();
|
|
8016
|
-
_html(`<div${_attr_class("
|
|
8016
|
+
_html(`<div${_attr_class("_hO")}><span${_attr_class("_hQ")}><span${_attr_class("_hR")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_hS", "_hT"])} title="Repos and PRs in this org stay hidden until authorized">SSO not authorized</span></span>`);
|
|
8017
8017
|
_if(() => {
|
|
8018
8018
|
if (!busy) {
|
|
8019
8019
|
const $scope2_id = _scope_id();
|
|
8020
|
-
_html(`<button type=button${_attr_class([btnSm, "_s"])} title="Re-authorize GitHub CLI
|
|
8020
|
+
_html(`<button type=button${_attr_class([btnSm, "_s"])} title="Re-authorize the GitHub CLI">Authorize</button>${_el_resume($scope2_id, "a")}<button type=button${_attr_class([btnSm, "_hU"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
|
|
8021
8021
|
_script($scope2_id, "bb1");
|
|
8022
8022
|
writeScope($scope2_id, {});
|
|
8023
8023
|
return 0;
|
|
@@ -8032,13 +8032,13 @@ var sso_auth_default = _template("bb", (input) => {
|
|
|
8032
8032
|
_if(() => {
|
|
8033
8033
|
if (localBusy && localCode) {
|
|
8034
8034
|
const $scope4_id = _scope_id();
|
|
8035
|
-
_html(`<div${_attr_class(["
|
|
8035
|
+
_html(`<div${_attr_class(["_hO", "_hV"])}><span${_attr_class("_2")}></span> Enter code <strong${_attr_class("_hW")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_hX")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
|
|
8036
8036
|
_script($scope4_id, "bb2");
|
|
8037
8037
|
writeScope($scope4_id, {});
|
|
8038
8038
|
return 0;
|
|
8039
8039
|
} else if (localBusy) {
|
|
8040
8040
|
const $scope6_id = _scope_id();
|
|
8041
|
-
_html(`<div${_attr_class(["
|
|
8041
|
+
_html(`<div${_attr_class(["_hO", "_hV"])}><span${_attr_class("_2")}></span>Starting GitHub re-authorization…</div>`);
|
|
8042
8042
|
writeScope($scope6_id, {});
|
|
8043
8043
|
return 1;
|
|
8044
8044
|
}
|
|
@@ -8046,14 +8046,14 @@ var sso_auth_default = _template("bb", (input) => {
|
|
|
8046
8046
|
_if(() => {
|
|
8047
8047
|
if (localError) {
|
|
8048
8048
|
const $scope5_id = _scope_id();
|
|
8049
|
-
_html(`<p${_attr_class(["
|
|
8049
|
+
_html(`<p${_attr_class(["_hO", "_hY"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
|
|
8050
8050
|
writeScope($scope5_id, {});
|
|
8051
8051
|
return 0;
|
|
8052
8052
|
}
|
|
8053
8053
|
}, $scope0_id, "d", 1, 1, 1, 0, 1);
|
|
8054
8054
|
_for_of(skipped, (s) => {
|
|
8055
8055
|
const $scope3_id = _scope_id();
|
|
8056
|
-
_html(`<div${_attr_class(["
|
|
8056
|
+
_html(`<div${_attr_class(["_hO", "_hP"])}><span${_attr_class("_hQ")}><span${_attr_class("_hR")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_hS")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_hU"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
|
|
8057
8057
|
_script($scope3_id, "bb3");
|
|
8058
8058
|
writeScope($scope3_id, {
|
|
8059
8059
|
i: s?.org,
|
|
@@ -8087,7 +8087,7 @@ var skill_row_default = _template("ab", (input) => {
|
|
|
8087
8087
|
_if(() => {
|
|
8088
8088
|
if (input.busy != null) {
|
|
8089
8089
|
const $scope1_id = _scope_id();
|
|
8090
|
-
_html(`<span${_attr_class(["
|
|
8090
|
+
_html(`<span${_attr_class(["_df", desc])}><span${_attr_class("_2")}></span>${_text_resume($scope1_id, "c", input.busy || "Starting…", $sg__input_busy)}</span>`);
|
|
8091
8091
|
$si__input_busy && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
8092
8092
|
return 0;
|
|
8093
8093
|
} else {
|
|
@@ -8228,7 +8228,7 @@ function applyInstance(inst) {
|
|
|
8228
8228
|
if (icon) icon.href = `/api/instance/icon${inst.accent ? `?v=${inst.accent.slice(1)}` : ""}`;
|
|
8229
8229
|
syncThemeColorMetas(theme(), inst.accent || "");
|
|
8230
8230
|
}
|
|
8231
|
-
var themeSeg = "
|
|
8231
|
+
var themeSeg = "_iF _bB";
|
|
8232
8232
|
//#endregion
|
|
8233
8233
|
//#region src/tags/icons/icon-monitor.marko
|
|
8234
8234
|
var icon_monitor_default = _template("Lb", (input) => {
|
|
@@ -8322,14 +8322,14 @@ var settings_appearance_default = _template("V", (input) => {
|
|
|
8322
8322
|
label: "Dark"
|
|
8323
8323
|
}
|
|
8324
8324
|
];
|
|
8325
|
-
_html(`<section${_attr_class("
|
|
8325
|
+
_html(`<section${_attr_class("_dg")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_dh")}><h2${_attr("id", appearanceId)}${_attr_class("_dt")}>Appearance</h2></div><div${_attr_class(["_dl", "_iB"])}><div${_attr_class("_iJ")}><img${_attr_class("_iK")}${_attr("src", `/api/instance/icon${accent ? `?v=${accent.slice(1)}` : ""}`)} alt aria-hidden=true>${_el_resume($scope0_id, "f")}<span${_attr_class("_iL")}><span${_attr_class("_iM")}>${_text_resume($scope0_id, "i", instance.name || "work")}</span><span${_attr_class("_iN")}>Tab, home-screen icon and notifications</span></span></div><label${_attr_class("_iC")}><span${_attr_class("_iD")}>Name</span><input${_attr_input_value($scope0_id, "m", instance.name, _resume(function(v) {
|
|
8326
8326
|
setInstance({ name: v });
|
|
8327
|
-
}, "V0", $scope0_id))}${_attr_class(["_bj", "
|
|
8327
|
+
}, "V0", $scope0_id))}${_attr_class(["_bj", "_iE"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "m")}</label><div${_attr_class("_iC")}><span${_attr_class("_iD")}>Theme</span><span${_attr_class("_iG")}><span${_attr_class(themeSeg)} role=radiogroup aria-label=Theme>`);
|
|
8328
8328
|
_for_of(themeOpts, (opt) => {
|
|
8329
8329
|
const $scope1_id = _scope_id();
|
|
8330
8330
|
_html(`<button type=button${_attr_class([
|
|
8331
8331
|
"_bD",
|
|
8332
|
-
"
|
|
8332
|
+
"_iO",
|
|
8333
8333
|
{ ["_bC"]: themeMode === opt.id }
|
|
8334
8334
|
])} role=radio aria-checked=${themeMode === opt.id ? "true" : "false"}>`);
|
|
8335
8335
|
if (opt.id === "system") {
|
|
@@ -8349,28 +8349,28 @@ var settings_appearance_default = _template("V", (input) => {
|
|
|
8349
8349
|
_: _scope_with_id($scope0_id)
|
|
8350
8350
|
});
|
|
8351
8351
|
}, "id", $scope0_id, "q", 1, 0, 0, 0, 1);
|
|
8352
|
-
_html(`</span><span${_attr_class(["_p", "
|
|
8352
|
+
_html(`</span><span${_attr_class(["_p", "_iH"])}>`);
|
|
8353
8353
|
_attr_select_value($scope0_id, "s", themeMode, _resume(function(v) {
|
|
8354
8354
|
setThemeMode(v);
|
|
8355
8355
|
}, "V1", $scope0_id), () => {
|
|
8356
|
-
_html(`<select${_attr_class(["_q", "
|
|
8356
|
+
_html(`<select${_attr_class(["_q", "_iI"])} aria-label=Theme>`);
|
|
8357
8357
|
forOf(themeOpts, (opt) => {
|
|
8358
8358
|
_scope_id();
|
|
8359
8359
|
_html(`<option${_attr_option_value(opt.id)}>${_escape(opt.label)}</option>`);
|
|
8360
8360
|
});
|
|
8361
8361
|
_html("</select>");
|
|
8362
8362
|
});
|
|
8363
|
-
_html(`${_el_resume($scope0_id, "s")}</span></span></div><div${_attr_class("
|
|
8364
|
-
"
|
|
8365
|
-
"
|
|
8366
|
-
{ ["
|
|
8363
|
+
_html(`${_el_resume($scope0_id, "s")}</span></span></div><div${_attr_class("_iC")}><span${_attr_class("_iD")}>Accent</span><span${_attr_class("_iP")} role=radiogroup aria-label=Accent><button type=button${_attr_class([
|
|
8364
|
+
"_iQ",
|
|
8365
|
+
"_iT",
|
|
8366
|
+
{ ["_iR"]: !accent }
|
|
8367
8367
|
])} role=radio aria-checked=${!accent ? "true" : "false"} title="Default (blue)" aria-label="Default (blue)">`);
|
|
8368
8368
|
_if(() => {
|
|
8369
8369
|
if (!accent) {
|
|
8370
8370
|
const $scope7_id = _scope_id();
|
|
8371
8371
|
icon_check_default({
|
|
8372
8372
|
size: 12,
|
|
8373
|
-
class: "
|
|
8373
|
+
class: "_iS"
|
|
8374
8374
|
});
|
|
8375
8375
|
writeScope($scope7_id, {});
|
|
8376
8376
|
return 0;
|
|
@@ -8378,13 +8378,13 @@ var settings_appearance_default = _template("V", (input) => {
|
|
|
8378
8378
|
}, $scope0_id, "w", 1, 1, 1, "</button>", 1);
|
|
8379
8379
|
_for_of(ACCENT_PRESETS, (p) => {
|
|
8380
8380
|
const $scope2_id = _scope_id();
|
|
8381
|
-
_html(`<button type=button${_attr_class(["
|
|
8381
|
+
_html(`<button type=button${_attr_class(["_iQ", { ["_iR"]: accent === p.value }])}${_attr_style(`--swatch:${p.value};--swatch-ink:${textOn(p.value)}`)} role=radio aria-checked=${accent === p.value ? "true" : "false"}${_attr("title", p.name)}${_attr("aria-label", p.name)}>`);
|
|
8382
8382
|
_if(() => {
|
|
8383
8383
|
if (accent === p.value) {
|
|
8384
8384
|
const $scope8_id = _scope_id();
|
|
8385
8385
|
icon_check_default({
|
|
8386
8386
|
size: 12,
|
|
8387
|
-
class: "
|
|
8387
|
+
class: "_iS"
|
|
8388
8388
|
});
|
|
8389
8389
|
writeScope($scope8_id, {});
|
|
8390
8390
|
return 0;
|
|
@@ -8398,18 +8398,18 @@ var settings_appearance_default = _template("V", (input) => {
|
|
|
8398
8398
|
}, "value", $scope0_id, "x", 1, 0, 0, 0, 1);
|
|
8399
8399
|
const customOn = !!accent && !ACCENT_PRESETS.some((p) => p.value === accent);
|
|
8400
8400
|
_html(`<label${_attr_class([
|
|
8401
|
-
"
|
|
8402
|
-
"
|
|
8403
|
-
{ ["
|
|
8404
|
-
])}${customOn ? _attr_style(`--swatch:${accent};--swatch-ink:${textOn(accent)}`) : ""}${customOn ? _attr("title", `Custom ${accent}`) : " title=\"Custom
|
|
8401
|
+
"_iQ",
|
|
8402
|
+
"_iU",
|
|
8403
|
+
{ ["_iR"]: customOn }
|
|
8404
|
+
])}${customOn ? _attr_style(`--swatch:${accent};--swatch-ink:${textOn(accent)}`) : ""}${customOn ? _attr("title", `Custom ${accent}`) : " title=\"Custom color\""}><input${_attr_input_value($scope0_id, "z", accent || "#3556d8", _resume(function(v) {
|
|
8405
8405
|
setInstance({ accent: v });
|
|
8406
|
-
}, "V2", $scope0_id))}${_attr_class("
|
|
8406
|
+
}, "V2", $scope0_id))}${_attr_class("_iV")} type=color aria-label="Custom color">${_el_resume($scope0_id, "z")}`);
|
|
8407
8407
|
_if(() => {
|
|
8408
8408
|
if (customOn) {
|
|
8409
8409
|
const $scope9_id = _scope_id();
|
|
8410
8410
|
icon_check_default({
|
|
8411
8411
|
size: 12,
|
|
8412
|
-
class: "
|
|
8412
|
+
class: "_iS"
|
|
8413
8413
|
});
|
|
8414
8414
|
writeScope($scope9_id, {});
|
|
8415
8415
|
return 0;
|
|
@@ -8448,7 +8448,7 @@ function plural(count, noun, many = `${noun}s`) {
|
|
|
8448
8448
|
function num(count) {
|
|
8449
8449
|
return count.toLocaleString("en-US");
|
|
8450
8450
|
}
|
|
8451
|
-
var checkList = "
|
|
8451
|
+
var checkList = "_ix _dj";
|
|
8452
8452
|
//#endregion
|
|
8453
8453
|
//#region src/tags/settings-backup.marko
|
|
8454
8454
|
var api$8;
|
|
@@ -8550,7 +8550,7 @@ var settings_backup_default = _template("W", (input) => {
|
|
|
8550
8550
|
...restoreParts
|
|
8551
8551
|
}
|
|
8552
8552
|
})).restored.length;
|
|
8553
|
-
restoreDone = n ? `Restored ${plural(n, "workspace")} — repos are cloning in the background.` : "
|
|
8553
|
+
restoreDone = n ? `Restored ${plural(n, "workspace")} — repos are cloning in the background.` : "Restore finished.";
|
|
8554
8554
|
restorePreview = null;
|
|
8555
8555
|
await input.onRestored?.();
|
|
8556
8556
|
} catch (err) {
|
|
@@ -8561,16 +8561,16 @@ var settings_backup_default = _template("W", (input) => {
|
|
|
8561
8561
|
}
|
|
8562
8562
|
}, "W4", $scope0_id);
|
|
8563
8563
|
const backupId = _id();
|
|
8564
|
-
_html(`<section${_attr_class("
|
|
8564
|
+
_html(`<section${_attr_class("_dg")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_dh")}><h2${_attr("id", backupId)}${_attr_class("_dt")}>Backup</h2></div><div${_attr_class(["_dl", "_dA"])}><div${_attr_class("_dB")}><div${_attr_class("_im")}><div${_attr_class("_dm")}>`);
|
|
8565
8565
|
_if(() => {
|
|
8566
8566
|
if (backupBusy === "preflight") {
|
|
8567
8567
|
const $scope1_id = _scope_id();
|
|
8568
|
-
_html(`<span${_attr_class("
|
|
8568
|
+
_html(`<span${_attr_class("_df")}><span${_attr_class("_2")}></span>${_text_resume($scope1_id, "c", backupLine || "Checking workspaces…")}</span>`);
|
|
8569
8569
|
writeScope($scope1_id, {});
|
|
8570
8570
|
return 0;
|
|
8571
8571
|
} else {
|
|
8572
8572
|
const $scope13_id = _scope_id();
|
|
8573
|
-
_html(`<span${_attr_class("
|
|
8573
|
+
_html(`<span${_attr_class("_dp")}>Save workspaces, settings, skills, agents and tool pins to a file. Code stays on GitHub.</span>`);
|
|
8574
8574
|
writeScope($scope13_id, {});
|
|
8575
8575
|
return 1;
|
|
8576
8576
|
}
|
|
@@ -8588,7 +8588,7 @@ var settings_backup_default = _template("W", (input) => {
|
|
|
8588
8588
|
_if(() => {
|
|
8589
8589
|
if (preflight && !backupBusy) {
|
|
8590
8590
|
const $scope3_id = _scope_id();
|
|
8591
|
-
_html(`<div${_attr_class("
|
|
8591
|
+
_html(`<div${_attr_class("_io")}><p${_attr_class("_ip")}>In the file: ${_text_resume($scope3_id, "c", plural(preflight.contents.workspaces, "workspace"), 2)}${_text_resume($scope3_id, "d", preflight.contents.archived ? `${_to_text(" ")}(${_to_text(preflight.contents.archived)} archived)` : "", 2)} , ${_text_resume($scope3_id, "e", plural(preflight.contents.tools, "tool pin"), 2)}, ${_text_resume($scope3_id, "f", plural(preflight.contents.skills, "skill"), 2)}, ${_text_resume($scope3_id, "g", plural(preflight.contents.agents, "agent"), 2)}.</p><p${_attr_class("_ip")}>Not in the file: `);
|
|
8592
8592
|
_if(() => {
|
|
8593
8593
|
if (preflight.unpushed) {
|
|
8594
8594
|
const $scope4_id = _scope_id();
|
|
@@ -8605,15 +8605,15 @@ var settings_backup_default = _template("W", (input) => {
|
|
|
8605
8605
|
return 0;
|
|
8606
8606
|
}
|
|
8607
8607
|
}, $scope3_id, "i");
|
|
8608
|
-
_html(`${_text_resume($scope3_id, "j", preflight.files ? `${_to_text(" ")}${_to_text(plural(preflight.files, "uncommitted file"))}` : "", 2)} .</p><ul${_attr_class("
|
|
8608
|
+
_html(`${_text_resume($scope3_id, "j", preflight.files ? `${_to_text(" ")}${_to_text(plural(preflight.files, "uncommitted file"))}` : "", 2)} .</p><ul${_attr_class("_iq")}>`);
|
|
8609
8609
|
_for_of(preflight.workspaces, (w) => {
|
|
8610
8610
|
const $scope15_id = _scope_id();
|
|
8611
8611
|
const $for_content3__w_name__closures = /* @__PURE__ */ new Set();
|
|
8612
|
-
_html(`<li${_attr_class("
|
|
8612
|
+
_html(`<li${_attr_class("_ir")}><span${_attr_class("_dn")}>${_text_resume($scope15_id, "c", w.name)}</span><ul${_attr_class("_iq")}>`);
|
|
8613
8613
|
_for_of(w.repos, (r) => {
|
|
8614
8614
|
const $scope16_id = _scope_id();
|
|
8615
8615
|
const $for_content4__r_more__closures = /* @__PURE__ */ new Set();
|
|
8616
|
-
_html(`<li${_attr_class("
|
|
8616
|
+
_html(`<li${_attr_class("_is")}><span${_attr_class("_it")}><span${_attr_class("_M")}>${_text_resume($scope16_id, "d", r.worktree)}/</span>`);
|
|
8617
8617
|
_for_of(r.unpushed, (b) => {
|
|
8618
8618
|
const $scope17_id = _scope_id();
|
|
8619
8619
|
_html(`<span${_attr_class(["_9", tone.warn])}${_attr("title", `${b.branch}: ${plural(b.count, "commit")} origin does not have`)}>${_text_resume($scope17_id, "b", b.count)} unpushed `);
|
|
@@ -8632,10 +8632,10 @@ var settings_backup_default = _template("W", (input) => {
|
|
|
8632
8632
|
_if(() => {
|
|
8633
8633
|
if (r.modified.length || r.untracked.length || r.ignored.length) {
|
|
8634
8634
|
const $scope18_id = _scope_id();
|
|
8635
|
-
_html(`<ul${_attr_class("
|
|
8635
|
+
_html(`<ul${_attr_class("_iu")}>`);
|
|
8636
8636
|
_for_of(r.modified, (f) => {
|
|
8637
8637
|
const $scope21_id = _scope_id();
|
|
8638
|
-
_html(`<li${_attr_class("
|
|
8638
|
+
_html(`<li${_attr_class("_iv")}><span${_attr_class([
|
|
8639
8639
|
"_9",
|
|
8640
8640
|
"_ba",
|
|
8641
8641
|
tone.warn
|
|
@@ -8644,18 +8644,18 @@ var settings_backup_default = _template("W", (input) => {
|
|
|
8644
8644
|
}, (f) => f, $scope18_id, "b", 1, 1, 1, 0, 1);
|
|
8645
8645
|
_for_of(r.untracked, (f) => {
|
|
8646
8646
|
const $scope22_id = _scope_id();
|
|
8647
|
-
_html(`<li${_attr_class("
|
|
8647
|
+
_html(`<li${_attr_class("_iv")}><span${_attr_class(["_9", "_ba"])} title=Untracked>?</span><span${_attr_class(["_M", "_by"])}>${_text_resume($scope22_id, "d", f)}</span></li>`);
|
|
8648
8648
|
writeScope($scope22_id, {});
|
|
8649
8649
|
}, (f) => f, $scope18_id, "c", 1, 1, 1, 0, 1);
|
|
8650
8650
|
_for_of(r.ignored, (f) => {
|
|
8651
8651
|
const $scope23_id = _scope_id();
|
|
8652
|
-
_html(`<li${_attr_class("
|
|
8652
|
+
_html(`<li${_attr_class("_iv")}><span${_attr_class(["_9", "_ba"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_M", "_by"])}>${_text_resume($scope23_id, "d", f)}</span></li>`);
|
|
8653
8653
|
writeScope($scope23_id, {});
|
|
8654
8654
|
}, (f) => f, $scope18_id, "d", 1, 1, 1, 0, 1);
|
|
8655
8655
|
_if(() => {
|
|
8656
8656
|
if (r.more) {
|
|
8657
8657
|
const $scope19_id = _scope_id();
|
|
8658
|
-
_html(`<li${_attr_class(["
|
|
8658
|
+
_html(`<li${_attr_class(["_iv", "_L"])}>+${_text_resume($scope19_id, "b", r.more, 2)} more</li>`);
|
|
8659
8659
|
_subscribe($for_content4__r_more__closures, writeScope($scope19_id, {}));
|
|
8660
8660
|
return 0;
|
|
8661
8661
|
}
|
|
@@ -8680,27 +8680,27 @@ var settings_backup_default = _template("W", (input) => {
|
|
|
8680
8680
|
i: $for_content3__w_name__closures
|
|
8681
8681
|
});
|
|
8682
8682
|
}, "id", $scope3_id, "k", 1, 1, 1, "</ul>", 1);
|
|
8683
|
-
_html(`<div${_attr_class("
|
|
8683
|
+
_html(`<div${_attr_class("_iw")}><button${_attr_class([btnSm, { ["_s"]: !preflight.unpushed }])}>${_text_resume($scope3_id, "n", preflight.unpushed ? "Export anyway" : "Export")}</button>${_el_resume($scope3_id, "m")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope3_id, "o")}</div></div>`);
|
|
8684
8684
|
_script($scope3_id, "W6");
|
|
8685
8685
|
writeScope($scope3_id, {});
|
|
8686
8686
|
return 0;
|
|
8687
8687
|
}
|
|
8688
8688
|
}, $scope0_id, "i", 1, 1, 1, 0, 1);
|
|
8689
|
-
_html(`</div><div${_attr_class("_dB")}><div${_attr_class("
|
|
8689
|
+
_html(`</div><div${_attr_class("_dB")}><div${_attr_class("_im")}><div${_attr_class("_dm")}>`);
|
|
8690
8690
|
_if(() => {
|
|
8691
8691
|
if (backupBusy === "restore") {
|
|
8692
8692
|
const $scope2_id = _scope_id();
|
|
8693
|
-
_html(`<span${_attr_class("
|
|
8693
|
+
_html(`<span${_attr_class("_df")}><span${_attr_class("_2")}></span>${_text_resume($scope2_id, "c", backupLine || "Restoring…")}</span>`);
|
|
8694
8694
|
writeScope($scope2_id, {});
|
|
8695
8695
|
return 0;
|
|
8696
8696
|
} else if (restoreDone) {
|
|
8697
8697
|
const $scope10_id = _scope_id();
|
|
8698
|
-
_html(`<span${_attr_class("
|
|
8698
|
+
_html(`<span${_attr_class("_dp")}>${_text_resume($scope10_id, "b", restoreDone)}</span>`);
|
|
8699
8699
|
writeScope($scope10_id, {});
|
|
8700
8700
|
return 1;
|
|
8701
8701
|
} else {
|
|
8702
8702
|
const $scope24_id = _scope_id();
|
|
8703
|
-
_html(`<span${_attr_class("
|
|
8703
|
+
_html(`<span${_attr_class("_dp")}>Load a backup file. Repos clone in the background.</span>`);
|
|
8704
8704
|
writeScope($scope24_id, {});
|
|
8705
8705
|
return 2;
|
|
8706
8706
|
}
|
|
@@ -8708,7 +8708,7 @@ var settings_backup_default = _template("W", (input) => {
|
|
|
8708
8708
|
_if(() => {
|
|
8709
8709
|
if (!restorePreview && backupBusy !== "restore") {
|
|
8710
8710
|
const $scope12_id = _scope_id();
|
|
8711
|
-
_html(`<label${_attr_class(btnSm)}
|
|
8711
|
+
_html(`<label${_attr_class(btnSm)}>Restore… <input${_attr_class("_in")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope12_id, "b")}</label>`);
|
|
8712
8712
|
_script($scope12_id, "W7");
|
|
8713
8713
|
writeScope($scope12_id, {});
|
|
8714
8714
|
return 0;
|
|
@@ -8719,14 +8719,14 @@ var settings_backup_default = _template("W", (input) => {
|
|
|
8719
8719
|
if (restorePreview && backupBusy !== "restore") {
|
|
8720
8720
|
const $scope5_id = _scope_id();
|
|
8721
8721
|
const { preview } = restorePreview;
|
|
8722
|
-
_html(`<div${_attr_class("
|
|
8722
|
+
_html(`<div${_attr_class("_io")}><p${_attr_class("_ip")}>From ${_text_resume($scope5_id, "c", preview.from.host, 2)} on ${_text_resume($scope5_id, "d", new Date(preview.from.exportedAt).toLocaleDateString(), 2)}${_text_resume($scope5_id, "e", preview.from.version ? ` (work ${preview.from.version})` : "", 2)}.</p>`);
|
|
8723
8723
|
_if(() => {
|
|
8724
8724
|
if (preview.workspaces.length) {
|
|
8725
8725
|
const $scope6_id = _scope_id();
|
|
8726
8726
|
_html(`<ul${_attr_class(checkList)}>`);
|
|
8727
8727
|
_for_of(preview.workspaces, (w) => {
|
|
8728
8728
|
const $scope7_id = _scope_id();
|
|
8729
|
-
_html(`<li><label${_attr_class(["
|
|
8729
|
+
_html(`<li><label${_attr_class(["_iy", { ["_iA"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope7_id, "b", restoreWs.has(w.id))}${_attr_class("_iz")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope7_id, "b")}<span${_attr_class("_dm")}><span${_attr_class("_do")}><span${_attr_class("_dn")}>${_text_resume($scope7_id, "f", w.name)}</span>`);
|
|
8730
8730
|
_if(() => {
|
|
8731
8731
|
if (w.status === "archived") {
|
|
8732
8732
|
const $scope28_id = _scope_id();
|
|
@@ -8748,7 +8748,7 @@ var settings_backup_default = _template("W", (input) => {
|
|
|
8748
8748
|
return 1;
|
|
8749
8749
|
}
|
|
8750
8750
|
}, $scope7_id, "h", 1, 1, 1, 0, 1);
|
|
8751
|
-
_html(`</span><span${_attr_class("
|
|
8751
|
+
_html(`</span><span${_attr_class("_dp")}>${_text_resume($scope7_id, "j", w.repos.join(", ") || "no repos")}</span></span></label>${_el_resume($scope7_id, "a")}</li>`);
|
|
8752
8752
|
_script($scope7_id, "W8");
|
|
8753
8753
|
_subscribe($restoreWs__closures, writeScope($scope7_id, {
|
|
8754
8754
|
n: w?.unknownHost,
|
|
@@ -8759,7 +8759,7 @@ var settings_backup_default = _template("W", (input) => {
|
|
|
8759
8759
|
return 0;
|
|
8760
8760
|
} else {
|
|
8761
8761
|
const $scope26_id = _scope_id();
|
|
8762
|
-
_html(`<p${_attr_class("
|
|
8762
|
+
_html(`<p${_attr_class("_dr")}>No workspaces in this file.</p>`);
|
|
8763
8763
|
writeScope($scope26_id, {});
|
|
8764
8764
|
return 1;
|
|
8765
8765
|
}
|
|
@@ -8799,7 +8799,7 @@ var settings_backup_default = _template("W", (input) => {
|
|
|
8799
8799
|
_if(() => {
|
|
8800
8800
|
if (p.total) {
|
|
8801
8801
|
const $scope9_id = _scope_id();
|
|
8802
|
-
_html(`<li><label${_attr_class(["
|
|
8802
|
+
_html(`<li><label${_attr_class(["_iy", { ["_iA"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope9_id, "b", restoreParts[p.key])}${_attr_class("_iz")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope9_id, "b")}<span${_attr_class("_dm")}><span${_attr_class("_dn")}>${_text_resume($scope9_id, "e", p.label)}</span><span${_attr_class("_dp")}>`);
|
|
8803
8803
|
_if(() => {
|
|
8804
8804
|
if (p.key === "settings") {
|
|
8805
8805
|
const $scope25_id = _scope_id();
|
|
@@ -8846,7 +8846,7 @@ var settings_backup_default = _template("W", (input) => {
|
|
|
8846
8846
|
i: $for_content2__p_total__closures
|
|
8847
8847
|
});
|
|
8848
8848
|
}, "key", $scope5_id, "h");
|
|
8849
|
-
_html(`</ul><div${_attr_class("
|
|
8849
|
+
_html(`</ul><div${_attr_class("_iw")}><button${_attr_class([btnSm, "_s"])}${_attr("disabled", !restoreWs.size && !Object.values(restoreParts).some(Boolean))}>Restore</button>${_el_resume($scope5_id, "j")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope5_id, "k")}</div></div>`);
|
|
8850
8850
|
_script($scope5_id, "W10");
|
|
8851
8851
|
writeScope($scope5_id, {});
|
|
8852
8852
|
return 0;
|
|
@@ -9120,6 +9120,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
9120
9120
|
const $scope0_reason = _scope_reason(), $sg__input_agents = _serialize_guard($scope0_reason, 4), $si__input_preferred = _serialize_if($scope0_reason, 3), $si__input_setupChange = _serialize_if($scope0_reason, 2);
|
|
9121
9121
|
const $scope0_id = _scope_id();
|
|
9122
9122
|
const $refreshing__closures = /* @__PURE__ */ new Set();
|
|
9123
|
+
const $setup_tools__closures = /* @__PURE__ */ new Set();
|
|
9123
9124
|
const $setup_missing__closures = /* @__PURE__ */ new Set();
|
|
9124
9125
|
const $error__closures = /* @__PURE__ */ new Set();
|
|
9125
9126
|
const $self_latest__closures = /* @__PURE__ */ new Set();
|
|
@@ -9466,14 +9467,14 @@ var settings_page_default = _template("X", (input) => {
|
|
|
9466
9467
|
const githubId = _id();
|
|
9467
9468
|
const skillsId = _id();
|
|
9468
9469
|
const toolsId = _id();
|
|
9469
|
-
_html(`<div${_attr_class(["
|
|
9470
|
+
_html(`<div${_attr_class(["_d9", "_ex"])} role=region${_attr("aria-labelledby", titleId)}>`);
|
|
9470
9471
|
page_head_default({
|
|
9471
9472
|
title: "Settings",
|
|
9472
9473
|
titleId,
|
|
9473
9474
|
actions: attrTag({ content: _content("X47", () => {
|
|
9474
9475
|
_scope_reason();
|
|
9475
9476
|
const $scope12_id = _scope_id();
|
|
9476
|
-
_html(`<button${_attr_class(iconBtnRow)} title="
|
|
9477
|
+
_html(`<button${_attr_class(iconBtnRow)} title="Re-check machine and usage" aria-label="Re-check machine and usage"${_attr("disabled", refreshing)}>`);
|
|
9477
9478
|
_set_serialize_reason(2);
|
|
9478
9479
|
const $childScope = _peek_scope_id();
|
|
9479
9480
|
icon_refresh_default({
|
|
@@ -9488,7 +9489,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
9488
9489
|
}));
|
|
9489
9490
|
}, $scope0_id) })
|
|
9490
9491
|
});
|
|
9491
|
-
_html(`<div${_attr_class("
|
|
9492
|
+
_html(`<div${_attr_class("_eg")}><div${_attr_class(["_eh", "_ey"])}><nav${_attr_class("_ez")} aria-label="Settings sections">`);
|
|
9492
9493
|
_for_of(SECTIONS, (s) => {
|
|
9493
9494
|
const $scope68_id = _scope_id();
|
|
9494
9495
|
_html(`<button type=button${_attr_class(["_eB", { ["_eA"]: spy === s.id }])}${spy === s.id ? " aria-current=true" : ""}>${_escape(s.label)}</button>${_el_resume($scope68_id, "a")}`);
|
|
@@ -9506,8 +9507,8 @@ var settings_page_default = _template("X", (input) => {
|
|
|
9506
9507
|
content: _content("X49", () => {
|
|
9507
9508
|
_scope_reason();
|
|
9508
9509
|
const $scope5_id = _scope_id();
|
|
9509
|
-
_html(`Missing ${_text_resume($scope5_id, "a", setup.missing.map((m) => MISSING_LABEL[m] || m).join(", "), 2)}.`);
|
|
9510
|
-
_subscribe($setup_missing__closures, writeScope($scope5_id, { _: _scope_with_id($scope4_id) }));
|
|
9510
|
+
_html(`Missing ${_text_resume($scope5_id, "a", setup.missing.map((m) => MISSING_LABEL[m] || setup.tools.find((t) => t.id === m)?.label || m).join(", "), 2)}.`);
|
|
9511
|
+
_subscribe($setup_missing__closures, _subscribe($setup_tools__closures, writeScope($scope5_id, { _: _scope_with_id($scope4_id) })));
|
|
9511
9512
|
}, $scope4_id)
|
|
9512
9513
|
});
|
|
9513
9514
|
writeScope($scope4_id, {});
|
|
@@ -9555,7 +9556,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
9555
9556
|
const $scope44_id = _scope_id();
|
|
9556
9557
|
_html(`<button${_attr_class(["_r", "_s"])}${_attr("title", `Update work to v${self.latest} and restart`)}>Update and restart</button>${_el_resume($scope44_id, "a")}`);
|
|
9557
9558
|
_script($scope44_id, "X51");
|
|
9558
|
-
_subscribe($self_latest__closures, writeScope($scope44_id, {
|
|
9559
|
+
_subscribe($self_latest__closures, writeScope($scope44_id, { Cez: 1 }));
|
|
9559
9560
|
return 0;
|
|
9560
9561
|
}
|
|
9561
9562
|
}, $scope42_id, "c", 1, 1, 1, 0, 1);
|
|
@@ -9567,7 +9568,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
9567
9568
|
const EnabledSwitch = { content: _content("X52", ({ id, enabled }) => {
|
|
9568
9569
|
const $scope66_id = _scope_id();
|
|
9569
9570
|
_scope_reason();
|
|
9570
|
-
_html(`<button${_attr_class("_3")} role=switch aria-checked=${enabled ? "true" : "false"} title
|
|
9571
|
+
_html(`<button${_attr_class("_3")} role=switch aria-checked=${enabled ? "true" : "false"} title="Show in session pickers"${_attr("aria-label", `Show ${agentLabel(id)} in session pickers`)}></button>${_el_resume($scope66_id, "a")}`);
|
|
9571
9572
|
_script($scope66_id, "X53");
|
|
9572
9573
|
writeScope($scope66_id, {
|
|
9573
9574
|
d: id,
|
|
@@ -9575,11 +9576,11 @@ var settings_page_default = _template("X", (input) => {
|
|
|
9575
9576
|
_: _scope_with_id($scope0_id)
|
|
9576
9577
|
});
|
|
9577
9578
|
}, $scope0_id) };
|
|
9578
|
-
_html(`<section${_attr_class(["
|
|
9579
|
+
_html(`<section${_attr_class(["_dg", "_eD"])}${_attr("aria-labelledby", agentsId)} data-section=agents><div${_attr_class("_dh")}><h2${_attr("id", agentsId)}${_attr_class("_dt")}>Agents</h2><div${_attr_class("_N")}></div><label${_attr_class("_eF")}><span${_attr_class("_bh")}>Default</span><span${_attr_class("_p")}>`);
|
|
9579
9580
|
_attr_select_value($scope0_id, "q", input.preferred, _resume(function(v) {
|
|
9580
9581
|
setPreferred(v);
|
|
9581
9582
|
}, "X0", $scope0_id), () => {
|
|
9582
|
-
_html(`<select${_attr_class(["_q", "_eG"])} aria-label="Default agent
|
|
9583
|
+
_html(`<select${_attr_class(["_q", "_eG"])} aria-label="Default agent" title="Starts when a workspace has no session yet">`);
|
|
9583
9584
|
_for_of(input.agents.filter((a) => a !== "shell"), (id) => {
|
|
9584
9585
|
const $scope71_id = _scope_id();
|
|
9585
9586
|
_html(`<option${_attr_option_value(id)}>${_text_resume($scope71_id, "b", agentLabel(id), $sg__input_agents)}</option>${_el_resume($scope71_id, "a", $sg__input_agents)}`);
|
|
@@ -9601,7 +9602,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
9601
9602
|
agent: a.id,
|
|
9602
9603
|
size: 18
|
|
9603
9604
|
});
|
|
9604
|
-
_html(`<div${_attr_class("
|
|
9605
|
+
_html(`<div${_attr_class("_dm")}><span${_attr_class("_do")}><span${_attr_class("_dn")}>${_text_resume($scope1_id, "g", a.label)}</span>`);
|
|
9605
9606
|
_if(() => {
|
|
9606
9607
|
if (lone && input.preferred === lone.id) {
|
|
9607
9608
|
const $scope73_id = _scope_id();
|
|
@@ -9614,12 +9615,12 @@ var settings_page_default = _template("X", (input) => {
|
|
|
9614
9615
|
_if(() => {
|
|
9615
9616
|
if (active.has(a.id)) {
|
|
9616
9617
|
const $scope13_id = _scope_id();
|
|
9617
|
-
_html(`<span${_attr_class("
|
|
9618
|
+
_html(`<span${_attr_class("_df")}><span${_attr_class("_2")}></span>${_text_resume($scope13_id, "c", active.get(a.id) || "Starting…")}</span>`);
|
|
9618
9619
|
_subscribe($active__closures, writeScope($scope13_id, {}));
|
|
9619
9620
|
return 0;
|
|
9620
9621
|
} else if (!a.installed) {
|
|
9621
9622
|
const $scope74_id = _scope_id();
|
|
9622
|
-
_html(`<span${_attr_class("
|
|
9623
|
+
_html(`<span${_attr_class("_dp")}>Not installed</span>`);
|
|
9623
9624
|
writeScope($scope74_id, {});
|
|
9624
9625
|
return 1;
|
|
9625
9626
|
}
|
|
@@ -9737,17 +9738,17 @@ var settings_page_default = _template("X", (input) => {
|
|
|
9737
9738
|
_if(() => {
|
|
9738
9739
|
if (!usage && families.length) {
|
|
9739
9740
|
const $scope78_id = _scope_id();
|
|
9740
|
-
_html(`<p${_attr_class("
|
|
9741
|
+
_html(`<p${_attr_class("_dr")}><span${_attr_class("_2")}></span> Loading usage…</p>`);
|
|
9741
9742
|
writeScope($scope78_id, {});
|
|
9742
9743
|
return 0;
|
|
9743
9744
|
} else if (usage?.error) {
|
|
9744
9745
|
const $scope9_id = _scope_id();
|
|
9745
|
-
_html(`<p${_attr_class("
|
|
9746
|
+
_html(`<p${_attr_class("_dr")}>${_text_resume($scope9_id, "b", usage.error)}</p>`);
|
|
9746
9747
|
writeScope($scope9_id, {});
|
|
9747
9748
|
return 1;
|
|
9748
9749
|
}
|
|
9749
9750
|
}, $scope0_id, "u", 1, 1, 1, 0, 1);
|
|
9750
|
-
_html(`</section><section${_attr_class(["
|
|
9751
|
+
_html(`</section><section${_attr_class(["_dg", "_eD"])}${_attr("aria-labelledby", githubId)} data-section=github><div${_attr_class("_dh")}><h2${_attr("id", githubId)}${_attr_class("_dt")}>GitHub</h2>`);
|
|
9751
9752
|
_if(() => {
|
|
9752
9753
|
if (setup) {
|
|
9753
9754
|
const $scope40_id = _scope_id();
|
|
@@ -9784,7 +9785,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
9784
9785
|
return 0;
|
|
9785
9786
|
}
|
|
9786
9787
|
}, $scope0_id, "y");
|
|
9787
|
-
_html(`</div><div${_attr_class(["
|
|
9788
|
+
_html(`</div><div${_attr_class(["_dl", "_dA"])}>`);
|
|
9788
9789
|
_for_of(setup?.github || [], (h) => {
|
|
9789
9790
|
const $scope7_id = _scope_id();
|
|
9790
9791
|
const $for_content4__h_host__closures = /* @__PURE__ */ new Set();
|
|
@@ -9796,7 +9797,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
9796
9797
|
size: 18,
|
|
9797
9798
|
class: "_eY"
|
|
9798
9799
|
});
|
|
9799
|
-
_html(`<div${_attr_class("
|
|
9800
|
+
_html(`<div${_attr_class("_dm")}><span${_attr_class("_do")}><span${_attr_class("_dn")}>${_text_resume($scope7_id, "g", h.host)}</span>`);
|
|
9800
9801
|
_if(() => {
|
|
9801
9802
|
if (h.isEnterprise) {
|
|
9802
9803
|
const $scope82_id = _scope_id();
|
|
@@ -9809,12 +9810,12 @@ var settings_page_default = _template("X", (input) => {
|
|
|
9809
9810
|
_if(() => {
|
|
9810
9811
|
if (busy) {
|
|
9811
9812
|
const $scope14_id = _scope_id();
|
|
9812
|
-
_html(`<span${_attr_class(["
|
|
9813
|
-
_subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope14_id, {
|
|
9813
|
+
_html(`<span${_attr_class(["_dp", "_eZ"])}><span${_attr_class("_2")}></span>${_text_resume($scope14_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
|
|
9814
|
+
_subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope14_id, { Ceh: 1 })));
|
|
9814
9815
|
return 0;
|
|
9815
9816
|
} else if (h.authed) {
|
|
9816
9817
|
const $scope80_id = _scope_id();
|
|
9817
|
-
_html(`<span${_attr_class(["
|
|
9818
|
+
_html(`<span${_attr_class(["_dp", "_eZ"])}>`);
|
|
9818
9819
|
icon_check_default({
|
|
9819
9820
|
size: 12,
|
|
9820
9821
|
class: "_e0"
|
|
@@ -9825,7 +9826,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
9825
9826
|
} else if (h.error) {
|
|
9826
9827
|
const $scope81_id = _scope_id();
|
|
9827
9828
|
_html(`<span${_attr_class([
|
|
9828
|
-
"
|
|
9829
|
+
"_dp",
|
|
9829
9830
|
"_eZ",
|
|
9830
9831
|
"_e1"
|
|
9831
9832
|
])}>`);
|
|
@@ -9835,7 +9836,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
9835
9836
|
return 2;
|
|
9836
9837
|
} else {
|
|
9837
9838
|
const $scope83_id = _scope_id();
|
|
9838
|
-
_html(`<span${_attr_class(["
|
|
9839
|
+
_html(`<span${_attr_class(["_dp", "_eZ"])}>Not signed in</span>`);
|
|
9839
9840
|
writeScope($scope83_id, {});
|
|
9840
9841
|
return 3;
|
|
9841
9842
|
}
|
|
@@ -9878,13 +9879,13 @@ var settings_page_default = _template("X", (input) => {
|
|
|
9878
9879
|
const $childScope11 = _peek_scope_id();
|
|
9879
9880
|
arm_button_default({
|
|
9880
9881
|
class: [
|
|
9881
|
-
"
|
|
9882
|
+
"_dq",
|
|
9882
9883
|
"_bs",
|
|
9883
9884
|
"_bt"
|
|
9884
9885
|
],
|
|
9885
|
-
title: `
|
|
9886
|
-
armedTitle: `
|
|
9887
|
-
armedLabel: "
|
|
9886
|
+
title: `Remove ${h.host}`,
|
|
9887
|
+
armedTitle: `Remove ${h.host}? (gh stays signed in)`,
|
|
9888
|
+
armedLabel: "Remove?",
|
|
9888
9889
|
onFire: _resume(function() {
|
|
9889
9890
|
changeHost(h.host, true);
|
|
9890
9891
|
}, "X33", $scope65_id),
|
|
@@ -9910,7 +9911,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
9910
9911
|
if (busy && authCodes.has(h.host)) {
|
|
9911
9912
|
const $scope34_id = _scope_id();
|
|
9912
9913
|
_html(`<div${_attr_class("_e3")}><span${_attr_class("_e4")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_e6")}>${_text_resume($scope34_id, "d", h.host)}/login/device</a>${_el_resume($scope34_id, "c")}</span><code${_attr_class("_e5")}>${_text_resume($scope34_id, "f", authCodes.get(h.host))}</code></div>`);
|
|
9913
|
-
_subscribe($authCodes__closures, writeScope($scope34_id, {
|
|
9914
|
+
_subscribe($authCodes__closures, writeScope($scope34_id, { Cem: 1 }));
|
|
9914
9915
|
return 0;
|
|
9915
9916
|
}
|
|
9916
9917
|
}, $scope7_id, "k", 1, 1, 1, 0, 1);
|
|
@@ -9955,12 +9956,12 @@ var settings_page_default = _template("X", (input) => {
|
|
|
9955
9956
|
_if(() => {
|
|
9956
9957
|
if (setup && !setup.github.length) {
|
|
9957
9958
|
const $scope86_id = _scope_id();
|
|
9958
|
-
_html(`<p${_attr_class("
|
|
9959
|
+
_html(`<p${_attr_class("_dr")}>Install the GitHub CLI below to sign in.</p>`);
|
|
9959
9960
|
writeScope($scope86_id, {});
|
|
9960
9961
|
return 0;
|
|
9961
9962
|
}
|
|
9962
9963
|
}, $scope0_id, "a0", 1, 1, 1, 0, 1);
|
|
9963
|
-
_html(`</section><section${_attr_class(["
|
|
9964
|
+
_html(`</section><section${_attr_class(["_dg", "_eD"])}${_attr("aria-labelledby", skillsId)} data-section=skills><div${_attr_class("_dh")}><h2${_attr("id", skillsId)}${_attr_class("_dt")}>Skills</h2>`);
|
|
9964
9965
|
_if(() => {
|
|
9965
9966
|
if (skills?.global.length) {
|
|
9966
9967
|
const $scope48_id = _scope_id();
|
|
@@ -9986,7 +9987,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
9986
9987
|
"_dQ",
|
|
9987
9988
|
"_dR",
|
|
9988
9989
|
"_dZ"
|
|
9989
|
-
])}><span>
|
|
9990
|
+
])}><span>Adding, updating or removing skills needs the skills CLI.</span><button${_attr_class(["_eS", "_dY"])}${_attr("disabled", active.has("skills"))}>${_text_resume($scope15_id, "c", active.has("skills") ? "Installing…" : "Install it")}</button>${_el_resume($scope15_id, "b")}</li>`);
|
|
9990
9991
|
_script($scope15_id, "X59");
|
|
9991
9992
|
writeScope($scope15_id, {});
|
|
9992
9993
|
return 1;
|
|
@@ -10004,8 +10005,8 @@ var settings_page_default = _template("X", (input) => {
|
|
|
10004
10005
|
value: skillQuery,
|
|
10005
10006
|
valueChange: searchSkills,
|
|
10006
10007
|
placeholder: "Add a skill: search skills.sh, or paste owner/repo",
|
|
10007
|
-
ariaLabel: "
|
|
10008
|
-
addTitle: "Add skill",
|
|
10008
|
+
ariaLabel: "Add a skill",
|
|
10009
|
+
addTitle: "Add a skill",
|
|
10009
10010
|
searching: skillSearching,
|
|
10010
10011
|
content: _content("X62", () => {
|
|
10011
10012
|
_scope_reason();
|
|
@@ -10013,7 +10014,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
10013
10014
|
_if(() => {
|
|
10014
10015
|
if (skillSearching && !skillHits?.length && !looksLikeSource(skillQuery)) {
|
|
10015
10016
|
const $scope88_id = _scope_id();
|
|
10016
|
-
_html(`<li${_attr_class("
|
|
10017
|
+
_html(`<li${_attr_class("_er")}>Searching skills.sh…</li>`);
|
|
10017
10018
|
writeScope($scope88_id, {});
|
|
10018
10019
|
return 0;
|
|
10019
10020
|
}
|
|
@@ -10021,19 +10022,19 @@ var settings_page_default = _template("X", (input) => {
|
|
|
10021
10022
|
_if(() => {
|
|
10022
10023
|
if (looksLikeSource(skillQuery)) {
|
|
10023
10024
|
const $scope18_id = _scope_id();
|
|
10024
|
-
_html(`<li${_attr_class("_dM")}><div${_attr_class("
|
|
10025
|
+
_html(`<li${_attr_class("_dM")}><div${_attr_class("_dm")}><span${_attr_class(["_eN", "_M"])}>${_text_resume($scope18_id, "d", skillQuery.trim())}</span>`);
|
|
10025
10026
|
_if(() => {
|
|
10026
10027
|
if (active.has(skillQuery.trim())) {
|
|
10027
10028
|
const $scope19_id = _scope_id();
|
|
10028
|
-
_html(`<span${_attr_class("
|
|
10029
|
+
_html(`<span${_attr_class("_df")}><span${_attr_class("_2")}></span>${_text_resume($scope19_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
|
|
10029
10030
|
_subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope19_id, {
|
|
10030
|
-
|
|
10031
|
-
|
|
10031
|
+
Ceh: 3,
|
|
10032
|
+
Cf6: 2
|
|
10032
10033
|
})));
|
|
10033
10034
|
return 0;
|
|
10034
10035
|
} else {
|
|
10035
10036
|
const $scope89_id = _scope_id();
|
|
10036
|
-
_html(`<span${_attr_class("
|
|
10037
|
+
_html(`<span${_attr_class("_dp")}>Add from this source</span>`);
|
|
10037
10038
|
writeScope($scope89_id, {});
|
|
10038
10039
|
return 1;
|
|
10039
10040
|
}
|
|
@@ -10050,8 +10051,8 @@ var settings_page_default = _template("X", (input) => {
|
|
|
10050
10051
|
}, $scope18_id, "f", 1, 1, 1, 0, 1);
|
|
10051
10052
|
_html("</li>");
|
|
10052
10053
|
_subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope18_id, {
|
|
10053
|
-
|
|
10054
|
-
|
|
10054
|
+
Ceh: 2,
|
|
10055
|
+
Cf6: 1
|
|
10055
10056
|
})));
|
|
10056
10057
|
return 0;
|
|
10057
10058
|
}
|
|
@@ -10059,16 +10060,16 @@ var settings_page_default = _template("X", (input) => {
|
|
|
10059
10060
|
_for_of(skillHits || [], (h) => {
|
|
10060
10061
|
const $scope20_id = _scope_id();
|
|
10061
10062
|
const $for_content5__h_installs__closures = /* @__PURE__ */ new Set();
|
|
10062
|
-
_html(`<li${_attr_class("_dM")}><div${_attr_class("
|
|
10063
|
+
_html(`<li${_attr_class("_dM")}><div${_attr_class("_dm")}><span${_attr_class(["_eN", "_M"])}>${_text_resume($scope20_id, "d", h.name)}</span>`);
|
|
10063
10064
|
_if(() => {
|
|
10064
10065
|
if (active.has(h.skillId)) {
|
|
10065
10066
|
const $scope21_id = _scope_id();
|
|
10066
|
-
_html(`<span${_attr_class("
|
|
10067
|
-
_subscribe($active__closures, writeScope($scope21_id, {
|
|
10067
|
+
_html(`<span${_attr_class("_df")}><span${_attr_class("_2")}></span>${_text_resume($scope21_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
|
|
10068
|
+
_subscribe($active__closures, writeScope($scope21_id, { Ceh: 5 }));
|
|
10068
10069
|
return 0;
|
|
10069
10070
|
} else {
|
|
10070
10071
|
const $scope90_id = _scope_id();
|
|
10071
|
-
_html(`<span${_attr_class("
|
|
10072
|
+
_html(`<span${_attr_class("_dp")}${_attr("title", h.source)}>${_text_resume($scope90_id, "b", h.source)}</span>${_el_resume($scope90_id, "a")}`);
|
|
10072
10073
|
writeScope($scope90_id, {});
|
|
10073
10074
|
return 1;
|
|
10074
10075
|
}
|
|
@@ -10110,14 +10111,14 @@ var settings_page_default = _template("X", (input) => {
|
|
|
10110
10111
|
m: h?.installs,
|
|
10111
10112
|
n: h?.installed,
|
|
10112
10113
|
q: $for_content5__h_installs__closures,
|
|
10113
|
-
|
|
10114
|
+
Ceh: 4
|
|
10114
10115
|
}));
|
|
10115
10116
|
}, "skillId", $scope17_id, "c", 1, 1, 1, 0, 1);
|
|
10116
10117
|
_if(() => {
|
|
10117
10118
|
if (skillHits && !skillHits.length && !skillSearching && !looksLikeSource(skillQuery)) {
|
|
10118
10119
|
const $scope51_id = _scope_id();
|
|
10119
|
-
_html(`<li${_attr_class("
|
|
10120
|
-
_subscribe($skillQuery__closures, writeScope($scope51_id, {
|
|
10120
|
+
_html(`<li${_attr_class("_er")}>No skills match "${_text_resume($scope51_id, "b", skillQuery, 2)}".</li>`);
|
|
10121
|
+
_subscribe($skillQuery__closures, writeScope($scope51_id, { Cf6: 3 }));
|
|
10121
10122
|
return 0;
|
|
10122
10123
|
}
|
|
10123
10124
|
}, $scope17_id, "d", 1, 1, 1, 0, 1);
|
|
@@ -10236,7 +10237,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
10236
10237
|
return 1;
|
|
10237
10238
|
} else {
|
|
10238
10239
|
const $scope98_id = _scope_id();
|
|
10239
|
-
_html(`<span${_attr_class("_d7")} title="
|
|
10240
|
+
_html(`<span${_attr_class("_d7")} title="No source to update from">local</span>`);
|
|
10240
10241
|
writeScope($scope98_id, {});
|
|
10241
10242
|
return 2;
|
|
10242
10243
|
}
|
|
@@ -10258,7 +10259,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
10258
10259
|
a: _existing_scope($childScope15)
|
|
10259
10260
|
});
|
|
10260
10261
|
}, "id", $scope0_id, "a8", 1, 1, 1, 0, 1);
|
|
10261
|
-
_html(`</ul></section><section${_attr_class(["
|
|
10262
|
+
_html(`</ul></section><section${_attr_class(["_dg", "_eD"])}${_attr("aria-labelledby", toolsId)} data-section=tools><div${_attr_class("_dh")}><h2${_attr("id", toolsId)}${_attr_class("_dt")}>Tools</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "ad", tools.filter((t) => t.installed).length)}</span>`);
|
|
10262
10263
|
_if(() => {
|
|
10263
10264
|
if (missingCount || outdatedIds.length) {
|
|
10264
10265
|
const $scope67_id = _scope_id();
|
|
@@ -10271,7 +10272,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
10271
10272
|
_if(() => {
|
|
10272
10273
|
if (bulk) {
|
|
10273
10274
|
const $scope33_id = _scope_id();
|
|
10274
|
-
_html(`<span${_attr_class("
|
|
10275
|
+
_html(`<span${_attr_class("_df")}><span${_attr_class("_2")}></span>${_text_resume($scope33_id, "c", bulk.action === "update" ? "Updating" : "Installing")} ${_text_resume($scope33_id, "d", Math.min(bulk.done + 1, bulk.total), 2)}/${_text_resume($scope33_id, "e", bulk.total, 2)}${_text_resume($scope33_id, "f", activeLine && ` — ${activeLine}`, 2)}</span>`);
|
|
10275
10276
|
writeScope($scope33_id, {});
|
|
10276
10277
|
return 0;
|
|
10277
10278
|
} else {
|
|
@@ -10292,7 +10293,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
10292
10293
|
const $scope25_id = _scope_id();
|
|
10293
10294
|
_html(`<button${_attr_class("_eT")}${_attr("disabled", active.size > 0)}>Install missing</button>${_el_resume($scope25_id, "a")}`);
|
|
10294
10295
|
_script($scope25_id, "X68");
|
|
10295
|
-
_subscribe($active_size__closures, writeScope($scope25_id, {
|
|
10296
|
+
_subscribe($active_size__closures, writeScope($scope25_id, { Cei: 1 }));
|
|
10296
10297
|
return 0;
|
|
10297
10298
|
}
|
|
10298
10299
|
}, $scope23_id, "b", 1, 1, 1, 0, 1);
|
|
@@ -10308,7 +10309,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
10308
10309
|
"_dQ",
|
|
10309
10310
|
"_dR",
|
|
10310
10311
|
"_dZ"
|
|
10311
|
-
])}><span>mise is not installed.
|
|
10312
|
+
])}><span>mise is not installed. Most tools below install with it.</span><button${_attr_class(["_eS", "_dY"])}${_attr("disabled", active.has("mise"))}>${_text_resume($scope26_id, "c", active.has("mise") ? "Installing…" : "Install mise")}</button>${_el_resume($scope26_id, "b")}</li>`);
|
|
10312
10313
|
_script($scope26_id, "X69");
|
|
10313
10314
|
writeScope($scope26_id, {});
|
|
10314
10315
|
return 0;
|
|
@@ -10316,7 +10317,6 @@ var settings_page_default = _template("X", (input) => {
|
|
|
10316
10317
|
}, $scope0_id, "ai", 1, 1, 1, 0, 1);
|
|
10317
10318
|
_for_of(toolBands, (band$2) => {
|
|
10318
10319
|
const $scope6_id = _scope_id();
|
|
10319
|
-
const $for_content3__band_tools__closures = /* @__PURE__ */ new Set();
|
|
10320
10320
|
_html(`<li${_attr_class("_dT")}>${_text_resume($scope6_id, "b", band$2.label)}<span${_attr_class("_dU")}>${_text_resume($scope6_id, "d", band$2.tools.length || "")}</span></li>`);
|
|
10321
10321
|
_if(() => {
|
|
10322
10322
|
if (band$2.id === "required" && self) {
|
|
@@ -10325,7 +10325,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
10325
10325
|
_if(() => {
|
|
10326
10326
|
if (selfUpdating) {
|
|
10327
10327
|
const $scope100_id = _scope_id();
|
|
10328
|
-
_html(`<span${_attr_class("
|
|
10328
|
+
_html(`<span${_attr_class("_df")}><span${_attr_class("_2")}></span>Updating…</span>`);
|
|
10329
10329
|
writeScope($scope100_id, {});
|
|
10330
10330
|
return 0;
|
|
10331
10331
|
} else {
|
|
@@ -10334,7 +10334,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
10334
10334
|
_if(() => {
|
|
10335
10335
|
if (self.install === "source") {
|
|
10336
10336
|
const $scope101_id = _scope_id();
|
|
10337
|
-
_html("<span title=\"
|
|
10337
|
+
_html("<span title=\"Update it with git\">source checkout</span>");
|
|
10338
10338
|
writeScope($scope101_id, {});
|
|
10339
10339
|
return 0;
|
|
10340
10340
|
} else if (self.latest && self.latest !== self.version) {
|
|
@@ -10343,13 +10343,13 @@ var settings_page_default = _template("X", (input) => {
|
|
|
10343
10343
|
icon_arrow_up_default({ size: 12 });
|
|
10344
10344
|
_html(`${_text_resume($scope47_id, "c", self.latest)}</button>${_el_resume($scope47_id, "a")}`);
|
|
10345
10345
|
_script($scope47_id, "X70");
|
|
10346
|
-
_subscribe($self_latest__closures, writeScope($scope47_id, {
|
|
10346
|
+
_subscribe($self_latest__closures, writeScope($scope47_id, { Cez: 3 }));
|
|
10347
10347
|
return 1;
|
|
10348
10348
|
}
|
|
10349
10349
|
}, $scope46_id, "c", 1, 1, 1, 0, 1);
|
|
10350
10350
|
_subscribe($self_version__closures, _subscribe($self_latest__closures, _subscribe($self_install__closures, writeScope($scope46_id, {
|
|
10351
|
-
|
|
10352
|
-
|
|
10351
|
+
Cez: 2,
|
|
10352
|
+
Cf0: 1
|
|
10353
10353
|
}))));
|
|
10354
10354
|
return 1;
|
|
10355
10355
|
}
|
|
@@ -10364,7 +10364,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
10364
10364
|
const $scope27_id = _scope_id();
|
|
10365
10365
|
_html(`<li${_attr_class("_dS")}>`);
|
|
10366
10366
|
_set_serialize_reason(546);
|
|
10367
|
-
const $
|
|
10367
|
+
const $childScope16 = _peek_scope_id();
|
|
10368
10368
|
add_field_default({
|
|
10369
10369
|
row: "Add a tool",
|
|
10370
10370
|
open: addingTool,
|
|
@@ -10374,228 +10374,223 @@ var settings_page_default = _template("X", (input) => {
|
|
|
10374
10374
|
value: query,
|
|
10375
10375
|
valueChange: search,
|
|
10376
10376
|
placeholder: "Add a tool from the mise registry",
|
|
10377
|
-
ariaLabel: "
|
|
10378
|
-
addTitle: "Add tool",
|
|
10377
|
+
ariaLabel: "Add a tool",
|
|
10378
|
+
addTitle: "Add a tool",
|
|
10379
10379
|
searching,
|
|
10380
|
-
content: _content("
|
|
10380
|
+
content: _content("X72", () => {
|
|
10381
10381
|
_scope_reason();
|
|
10382
10382
|
const $scope28_id = _scope_id();
|
|
10383
10383
|
_if(() => {
|
|
10384
10384
|
if (searching && !hits?.length) {
|
|
10385
10385
|
const $scope102_id = _scope_id();
|
|
10386
|
-
_html(`<li${_attr_class("
|
|
10386
|
+
_html(`<li${_attr_class("_er")}>Searching the mise registry…</li>`);
|
|
10387
10387
|
writeScope($scope102_id, {});
|
|
10388
10388
|
return 0;
|
|
10389
10389
|
}
|
|
10390
10390
|
}, $scope28_id, "a", 1, 1, 1, 0, 1);
|
|
10391
|
-
_for_of(band$2.tools, (t) => {
|
|
10392
|
-
const $scope29_id = _scope_id();
|
|
10393
|
-
const $for_content7__t_pin__closures = /* @__PURE__ */ new Set();
|
|
10394
|
-
const $for_content7__t__closures = /* @__PURE__ */ new Set();
|
|
10395
|
-
const $for_content7__t_version__closures = /* @__PURE__ */ new Set();
|
|
10396
|
-
const $for_content7__t_path__closures = /* @__PURE__ */ new Set();
|
|
10397
|
-
const $for_content7__t_latest__closures = /* @__PURE__ */ new Set();
|
|
10398
|
-
const $for_content7__t_label__closures = /* @__PURE__ */ new Set();
|
|
10399
|
-
const $for_content7__t_newest__closures = /* @__PURE__ */ new Set();
|
|
10400
|
-
_html(`<li${_attr_class(["_dQ", { ["_eM"]: !t.installed }])}><span${_attr_class(["_M", toolLead])}>${_text_resume($scope29_id, "c", t.label)}</span><span${_attr_class("_dX")}>`);
|
|
10401
|
-
_if(() => {
|
|
10402
|
-
if (active.has(t.id)) {
|
|
10403
|
-
const $scope30_id = _scope_id();
|
|
10404
|
-
_html(`<span${_attr_class("_cr")}><span${_attr_class("_2")}></span>${_text_resume($scope30_id, "c", active.get(t.id) || "Starting…")}</span>`);
|
|
10405
|
-
_subscribe($active__closures, writeScope($scope30_id, { Ceg: 7 }));
|
|
10406
|
-
return 0;
|
|
10407
|
-
} else if (t.installed) {
|
|
10408
|
-
const $scope36_id = _scope_id();
|
|
10409
|
-
_if(() => {
|
|
10410
|
-
if (t.version) {
|
|
10411
|
-
const $scope37_id = _scope_id();
|
|
10412
|
-
_html(`<button${_attr_class(["_eQ", "_M"])}${_attr("title", `${t.path || t.label}${aliasPin(t) ? `, pinned to ${t.pin}` : ""}. Pin a version`)}>v${_text_resume($scope37_id, "b", t.version, 2)}`);
|
|
10413
|
-
_if(() => {
|
|
10414
|
-
if (aliasPin(t)) {
|
|
10415
|
-
const $scope103_id = _scope_id();
|
|
10416
|
-
_html(`<span${_attr_class("_eP")}>${_text_resume($scope103_id, "b", t.pin)}</span>`);
|
|
10417
|
-
_subscribe($for_content7__t_pin__closures, writeScope($scope103_id, { Cz: 1 }));
|
|
10418
|
-
return 0;
|
|
10419
|
-
}
|
|
10420
|
-
}, $scope37_id, "c", 1, 1, 1, 0, 1);
|
|
10421
|
-
_html(`</button>${_el_resume($scope37_id, "a")}`);
|
|
10422
|
-
_script($scope37_id, "X71");
|
|
10423
|
-
_subscribe($for_content7__t_version__closures, _subscribe($for_content7__t__closures, writeScope($scope37_id, {})));
|
|
10424
|
-
return 0;
|
|
10425
|
-
} else {
|
|
10426
|
-
const $scope104_id = _scope_id();
|
|
10427
|
-
_html(`<span${_attr("title", t.path)}>system</span>${_el_resume($scope104_id, "a")}`);
|
|
10428
|
-
_subscribe($for_content7__t_path__closures, writeScope($scope104_id, {}));
|
|
10429
|
-
return 1;
|
|
10430
|
-
}
|
|
10431
|
-
}, $scope36_id, "a", 1, 1, 1, 0, 1);
|
|
10432
|
-
_if(() => {
|
|
10433
|
-
if (outdated(t)) {
|
|
10434
|
-
const $scope56_id = _scope_id();
|
|
10435
|
-
_html(`<button${_attr_class(["_eR", "_M"])}${_attr("title", `Update to v${t.latest}`)}>`);
|
|
10436
|
-
icon_arrow_up_default({ size: 12 });
|
|
10437
|
-
_html(`${_text_resume($scope56_id, "c", t.latest)}</button>${_el_resume($scope56_id, "a")}`);
|
|
10438
|
-
_script($scope56_id, "X72");
|
|
10439
|
-
_subscribe($for_content7__t_latest__closures, writeScope($scope56_id, {}));
|
|
10440
|
-
return 0;
|
|
10441
|
-
} else if (t.newest) {
|
|
10442
|
-
const $scope57_id = _scope_id();
|
|
10443
|
-
_html(`<button${_attr_class(["_eQ", "_M"])}${_attr("title", `v${t.newest} is out; ${t.pin} holds ${t.label} at v${t.version}. Pin v${t.newest} instead`)}>${_text_resume($scope57_id, "b", t.newest)} available</button>${_el_resume($scope57_id, "a")}`);
|
|
10444
|
-
_script($scope57_id, "X73");
|
|
10445
|
-
_subscribe($for_content7__t_newest__closures, _subscribe($for_content7__t_pin__closures, _subscribe($for_content7__t_version__closures, _subscribe($for_content7__t_label__closures, writeScope($scope57_id, { Cx: 1 })))));
|
|
10446
|
-
return 1;
|
|
10447
|
-
}
|
|
10448
|
-
}, $scope36_id, "b", 1, 1, 1, 0, 1);
|
|
10449
|
-
writeScope($scope36_id, {});
|
|
10450
|
-
return 1;
|
|
10451
|
-
} else if (t.installable) {
|
|
10452
|
-
const $scope105_id = _scope_id();
|
|
10453
|
-
_html("not installed");
|
|
10454
|
-
writeScope($scope105_id, {});
|
|
10455
|
-
return 2;
|
|
10456
|
-
} else {
|
|
10457
|
-
const $scope106_id = _scope_id();
|
|
10458
|
-
_html("<span title=\"Installed with the system package manager\">system package</span>");
|
|
10459
|
-
writeScope($scope106_id, {});
|
|
10460
|
-
return 3;
|
|
10461
|
-
}
|
|
10462
|
-
}, $scope29_id, "d", 1, 1, 1, "</span>");
|
|
10463
|
-
_html(`<span${_attr_class("_dY")}>`);
|
|
10464
|
-
_if(() => {
|
|
10465
|
-
if (!active.has(t.id)) {
|
|
10466
|
-
const $scope58_id = _scope_id();
|
|
10467
|
-
_if(() => {
|
|
10468
|
-
if (!t.installed && t.installable) {
|
|
10469
|
-
const $scope59_id = _scope_id();
|
|
10470
|
-
_html(`<button${_attr_class("_eS")}>Install</button>${_el_resume($scope59_id, "a")}`);
|
|
10471
|
-
_script($scope59_id, "X74");
|
|
10472
|
-
writeScope($scope59_id, {});
|
|
10473
|
-
return 0;
|
|
10474
|
-
} else if (t.installed && t.version && !t.required) {
|
|
10475
|
-
const $scope60_id = _scope_id();
|
|
10476
|
-
const $childScope16 = _peek_scope_id();
|
|
10477
|
-
arm_button_default({
|
|
10478
|
-
class: [
|
|
10479
|
-
chipBtn,
|
|
10480
|
-
"_bs",
|
|
10481
|
-
"_bt",
|
|
10482
|
-
"_eU",
|
|
10483
|
-
"_dV"
|
|
10484
|
-
],
|
|
10485
|
-
title: `Remove ${t.label}`,
|
|
10486
|
-
armedLabel: "Remove?",
|
|
10487
|
-
onFire: _resume(function() {
|
|
10488
|
-
run(t.id, "remove");
|
|
10489
|
-
}, "X40", $scope60_id),
|
|
10490
|
-
content: _content("X75", () => {
|
|
10491
|
-
_scope_reason();
|
|
10492
|
-
_scope_id();
|
|
10493
|
-
icon_xmark_default({ size: 12 });
|
|
10494
|
-
}, $scope60_id)
|
|
10495
|
-
});
|
|
10496
|
-
_subscribe($for_content7__t_label__closures, writeScope($scope60_id, {
|
|
10497
|
-
a: _existing_scope($childScope16),
|
|
10498
|
-
Cv: 1
|
|
10499
|
-
}));
|
|
10500
|
-
return 1;
|
|
10501
|
-
}
|
|
10502
|
-
}, $scope58_id, "a", 1, 1, 1, 0, 1);
|
|
10503
|
-
writeScope($scope58_id, {});
|
|
10504
|
-
return 0;
|
|
10505
|
-
}
|
|
10506
|
-
}, $scope29_id, "e", 1, 1, 1, "</span>");
|
|
10507
|
-
_html(`</li>${_el_resume($scope29_id, "a")}`);
|
|
10508
|
-
_subscribe($active__closures, writeScope($scope29_id, {
|
|
10509
|
-
g: t,
|
|
10510
|
-
h: t?.installed,
|
|
10511
|
-
i: t?.label,
|
|
10512
|
-
j: t?.id,
|
|
10513
|
-
l: t?.version,
|
|
10514
|
-
m: t?.path,
|
|
10515
|
-
n: t?.pin,
|
|
10516
|
-
o: t?.newest,
|
|
10517
|
-
p: t?.latest,
|
|
10518
|
-
q: t?.installable,
|
|
10519
|
-
s: t?.required,
|
|
10520
|
-
z: $for_content7__t_pin__closures,
|
|
10521
|
-
t: $for_content7__t__closures,
|
|
10522
|
-
x: $for_content7__t_version__closures,
|
|
10523
|
-
y: $for_content7__t_path__closures,
|
|
10524
|
-
a1: $for_content7__t_latest__closures,
|
|
10525
|
-
v: $for_content7__t_label__closures,
|
|
10526
|
-
a0: $for_content7__t_newest__closures,
|
|
10527
|
-
Ceg: 6
|
|
10528
|
-
}));
|
|
10529
|
-
}, "id", $scope28_id, "b", 1, 1, 1, 0, 1);
|
|
10530
10391
|
_if(() => {
|
|
10531
10392
|
if (hits && !hits.length && !searching) {
|
|
10532
10393
|
const $scope41_id = _scope_id();
|
|
10533
|
-
_html(`<li${_attr_class("
|
|
10534
|
-
_subscribe($query__closures, writeScope($scope41_id, {
|
|
10394
|
+
_html(`<li${_attr_class("_er")}>No tools match "${_text_resume($scope41_id, "b", query, 2)}".</li>`);
|
|
10395
|
+
_subscribe($query__closures, writeScope($scope41_id, { Ceu: 1 }));
|
|
10535
10396
|
return 0;
|
|
10536
10397
|
}
|
|
10537
|
-
}, $scope28_id, "
|
|
10398
|
+
}, $scope28_id, "b", 1, 1, 1, 0, 1);
|
|
10538
10399
|
_for_of(hits || [], (h) => {
|
|
10539
|
-
const $
|
|
10540
|
-
_html(`<li${_attr_class("_dM")}><div${_attr_class("
|
|
10400
|
+
const $scope29_id = _scope_id();
|
|
10401
|
+
_html(`<li${_attr_class("_dM")}><div${_attr_class("_dm")}><span${_attr_class(["_eN", "_M"])}>${_text_resume($scope29_id, "d", h.name)}</span>`);
|
|
10541
10402
|
_if(() => {
|
|
10542
10403
|
if (active.has(h.name)) {
|
|
10543
|
-
const $
|
|
10544
|
-
_html(`<span${_attr_class("
|
|
10545
|
-
_subscribe($active__closures, writeScope($
|
|
10404
|
+
const $scope30_id = _scope_id();
|
|
10405
|
+
_html(`<span${_attr_class("_df")}><span${_attr_class("_2")}></span>${_text_resume($scope30_id, "c", active.get(h.name) || "Starting…")}</span>`);
|
|
10406
|
+
_subscribe($active__closures, writeScope($scope30_id, { Ceh: 7 }));
|
|
10546
10407
|
return 0;
|
|
10547
10408
|
} else if (h.description) {
|
|
10548
|
-
const $
|
|
10549
|
-
_html(`<span${_attr_class("
|
|
10550
|
-
writeScope($
|
|
10409
|
+
const $scope103_id = _scope_id();
|
|
10410
|
+
_html(`<span${_attr_class("_dp")}${_attr("title", h.description)}>${_text_resume($scope103_id, "b", h.description)}</span>${_el_resume($scope103_id, "a")}`);
|
|
10411
|
+
writeScope($scope103_id, {});
|
|
10551
10412
|
return 1;
|
|
10552
10413
|
}
|
|
10553
|
-
}, $
|
|
10414
|
+
}, $scope29_id, "e", 1, 1, 1, 0, 1);
|
|
10554
10415
|
_html("</div>");
|
|
10555
10416
|
_if(() => {
|
|
10556
10417
|
if (!active.has(h.name)) {
|
|
10557
|
-
const $
|
|
10418
|
+
const $scope36_id = _scope_id();
|
|
10558
10419
|
_if(() => {
|
|
10559
10420
|
if (h.installed) {
|
|
10560
|
-
const $
|
|
10421
|
+
const $scope104_id = _scope_id();
|
|
10561
10422
|
_html(`<span${_attr_class("_9")}>installed</span>`);
|
|
10562
|
-
writeScope($
|
|
10423
|
+
writeScope($scope104_id, {});
|
|
10563
10424
|
return 0;
|
|
10564
10425
|
} else {
|
|
10565
|
-
const $
|
|
10566
|
-
_html(`<button${_attr_class(btnSm)}>Install</button>${_el_resume($
|
|
10567
|
-
_script($
|
|
10568
|
-
writeScope($
|
|
10426
|
+
const $scope37_id = _scope_id();
|
|
10427
|
+
_html(`<button${_attr_class(btnSm)}>Install</button>${_el_resume($scope37_id, "a")}<button${_attr_class(btnSm)} title="Install a specific version">@…</button>${_el_resume($scope37_id, "b")}`);
|
|
10428
|
+
_script($scope37_id, "X71");
|
|
10429
|
+
writeScope($scope37_id, {});
|
|
10569
10430
|
return 1;
|
|
10570
10431
|
}
|
|
10571
|
-
}, $
|
|
10572
|
-
writeScope($
|
|
10432
|
+
}, $scope36_id, "a");
|
|
10433
|
+
writeScope($scope36_id, {});
|
|
10573
10434
|
return 0;
|
|
10574
10435
|
}
|
|
10575
|
-
}, $
|
|
10436
|
+
}, $scope29_id, "f");
|
|
10576
10437
|
_html("</li>");
|
|
10577
|
-
_subscribe($active__closures, writeScope($
|
|
10438
|
+
_subscribe($active__closures, writeScope($scope29_id, {
|
|
10578
10439
|
i: h?.name,
|
|
10579
10440
|
k: h?.description,
|
|
10580
10441
|
m: h?.installed,
|
|
10581
|
-
|
|
10442
|
+
Ceh: 6
|
|
10582
10443
|
}));
|
|
10583
|
-
}, "name", $scope28_id, "
|
|
10584
|
-
_subscribe($
|
|
10444
|
+
}, "name", $scope28_id, "c", 1, 1, 1, 0, 1);
|
|
10445
|
+
_subscribe($searching__closures, _subscribe($hits_length__closures, _subscribe($hits__closures, writeScope($scope28_id, {
|
|
10585
10446
|
_: _scope_with_id($scope27_id),
|
|
10586
|
-
|
|
10587
|
-
}))))
|
|
10447
|
+
Cf2: 1
|
|
10448
|
+
}))));
|
|
10588
10449
|
}, $scope27_id)
|
|
10589
10450
|
});
|
|
10590
10451
|
_html("</li>");
|
|
10591
|
-
_subscribe($addingTool__closures, _subscribe($searching__closures, _subscribe($query__closures, writeScope($scope27_id, { b: _existing_scope($
|
|
10452
|
+
_subscribe($addingTool__closures, _subscribe($searching__closures, _subscribe($query__closures, writeScope($scope27_id, { b: _existing_scope($childScope16) }))));
|
|
10592
10453
|
return 0;
|
|
10593
10454
|
}
|
|
10594
10455
|
}, $scope6_id, "f", 1, 1, 1, 0, 1);
|
|
10595
|
-
|
|
10596
|
-
|
|
10597
|
-
|
|
10598
|
-
|
|
10456
|
+
_for_of(band$2.tools, (t) => {
|
|
10457
|
+
const $scope31_id = _scope_id();
|
|
10458
|
+
const $for_content8__t_pin__closures = /* @__PURE__ */ new Set();
|
|
10459
|
+
const $for_content8__t__closures = /* @__PURE__ */ new Set();
|
|
10460
|
+
const $for_content8__t_version__closures = /* @__PURE__ */ new Set();
|
|
10461
|
+
const $for_content8__t_path__closures = /* @__PURE__ */ new Set();
|
|
10462
|
+
const $for_content8__t_latest__closures = /* @__PURE__ */ new Set();
|
|
10463
|
+
const $for_content8__t_newest__closures = /* @__PURE__ */ new Set();
|
|
10464
|
+
const $for_content8__t_label__closures = /* @__PURE__ */ new Set();
|
|
10465
|
+
_html(`<li${_attr_class(["_dQ", { ["_eM"]: !t.installed }])}><span${_attr_class(["_M", toolLead])}>${_text_resume($scope31_id, "c", t.label)}</span><span${_attr_class("_dX")}>`);
|
|
10466
|
+
_if(() => {
|
|
10467
|
+
if (active.has(t.id)) {
|
|
10468
|
+
const $scope32_id = _scope_id();
|
|
10469
|
+
_html(`<span${_attr_class("_df")}><span${_attr_class("_2")}></span>${_text_resume($scope32_id, "c", active.get(t.id) || "Starting…")}</span>`);
|
|
10470
|
+
_subscribe($active__closures, writeScope($scope32_id, { Ceh: 9 }));
|
|
10471
|
+
return 0;
|
|
10472
|
+
} else if (t.installed) {
|
|
10473
|
+
const $scope38_id = _scope_id();
|
|
10474
|
+
_if(() => {
|
|
10475
|
+
if (t.version) {
|
|
10476
|
+
const $scope39_id = _scope_id();
|
|
10477
|
+
_html(`<button${_attr_class(["_eQ", "_M"])}${_attr("title", `${t.path || t.label}${aliasPin(t) ? `, pinned to ${t.pin}` : ""}. Pin a version`)}>v${_text_resume($scope39_id, "b", t.version, 2)}`);
|
|
10478
|
+
_if(() => {
|
|
10479
|
+
if (aliasPin(t)) {
|
|
10480
|
+
const $scope105_id = _scope_id();
|
|
10481
|
+
_html(`<span${_attr_class("_eP")}>${_text_resume($scope105_id, "b", t.pin)}</span>`);
|
|
10482
|
+
_subscribe($for_content8__t_pin__closures, writeScope($scope105_id, { Ca0: 1 }));
|
|
10483
|
+
return 0;
|
|
10484
|
+
}
|
|
10485
|
+
}, $scope39_id, "c", 1, 1, 1, 0, 1);
|
|
10486
|
+
_html(`</button>${_el_resume($scope39_id, "a")}`);
|
|
10487
|
+
_script($scope39_id, "X73");
|
|
10488
|
+
_subscribe($for_content8__t_version__closures, _subscribe($for_content8__t__closures, writeScope($scope39_id, {})));
|
|
10489
|
+
return 0;
|
|
10490
|
+
} else {
|
|
10491
|
+
const $scope106_id = _scope_id();
|
|
10492
|
+
_html(`<span${_attr("title", t.path)}>system</span>${_el_resume($scope106_id, "a")}`);
|
|
10493
|
+
_subscribe($for_content8__t_path__closures, writeScope($scope106_id, {}));
|
|
10494
|
+
return 1;
|
|
10495
|
+
}
|
|
10496
|
+
}, $scope38_id, "a", 1, 1, 1, 0, 1);
|
|
10497
|
+
_if(() => {
|
|
10498
|
+
if (outdated(t)) {
|
|
10499
|
+
const $scope56_id = _scope_id();
|
|
10500
|
+
_html(`<button${_attr_class(["_eR", "_M"])}${_attr("title", `Update to v${t.latest}`)}>`);
|
|
10501
|
+
icon_arrow_up_default({ size: 12 });
|
|
10502
|
+
_html(`${_text_resume($scope56_id, "c", t.latest)}</button>${_el_resume($scope56_id, "a")}`);
|
|
10503
|
+
_script($scope56_id, "X74");
|
|
10504
|
+
_subscribe($for_content8__t_latest__closures, writeScope($scope56_id, {}));
|
|
10505
|
+
return 0;
|
|
10506
|
+
} else if (t.newest) {
|
|
10507
|
+
const $scope57_id = _scope_id();
|
|
10508
|
+
_html(`<button${_attr_class(["_eQ", "_M"])}${_attr("title", `Pin v${t.newest} (${t.pin} holds it at v${t.version})`)}>${_text_resume($scope57_id, "b", t.newest)} available</button>${_el_resume($scope57_id, "a")}`);
|
|
10509
|
+
_script($scope57_id, "X75");
|
|
10510
|
+
_subscribe($for_content8__t_newest__closures, _subscribe($for_content8__t_pin__closures, _subscribe($for_content8__t_version__closures, writeScope($scope57_id, { Cy: 1 }))));
|
|
10511
|
+
return 1;
|
|
10512
|
+
}
|
|
10513
|
+
}, $scope38_id, "b", 1, 1, 1, 0, 1);
|
|
10514
|
+
writeScope($scope38_id, {});
|
|
10515
|
+
return 1;
|
|
10516
|
+
} else if (t.installable || t.mise) {
|
|
10517
|
+
const $scope107_id = _scope_id();
|
|
10518
|
+
_html("not installed");
|
|
10519
|
+
writeScope($scope107_id, {});
|
|
10520
|
+
return 2;
|
|
10521
|
+
} else {
|
|
10522
|
+
const $scope108_id = _scope_id();
|
|
10523
|
+
_html("<span title=\"Install it with the system package manager\">system package</span>");
|
|
10524
|
+
writeScope($scope108_id, {});
|
|
10525
|
+
return 3;
|
|
10526
|
+
}
|
|
10527
|
+
}, $scope31_id, "d", 1, 1, 1, "</span>");
|
|
10528
|
+
_html(`<span${_attr_class("_dY")}>`);
|
|
10529
|
+
_if(() => {
|
|
10530
|
+
if (!active.has(t.id)) {
|
|
10531
|
+
const $scope58_id = _scope_id();
|
|
10532
|
+
_if(() => {
|
|
10533
|
+
if (!t.installed && t.installable) {
|
|
10534
|
+
const $scope59_id = _scope_id();
|
|
10535
|
+
_html(`<button${_attr_class("_eS")}>Install</button>${_el_resume($scope59_id, "a")}`);
|
|
10536
|
+
_script($scope59_id, "X76");
|
|
10537
|
+
writeScope($scope59_id, {});
|
|
10538
|
+
return 0;
|
|
10539
|
+
} else if (t.installed && t.version && !t.required) {
|
|
10540
|
+
const $scope60_id = _scope_id();
|
|
10541
|
+
const $childScope17 = _peek_scope_id();
|
|
10542
|
+
arm_button_default({
|
|
10543
|
+
class: [
|
|
10544
|
+
chipBtn,
|
|
10545
|
+
"_bs",
|
|
10546
|
+
"_bt",
|
|
10547
|
+
"_eU",
|
|
10548
|
+
"_dV"
|
|
10549
|
+
],
|
|
10550
|
+
title: `Remove ${t.label}`,
|
|
10551
|
+
armedLabel: "Remove?",
|
|
10552
|
+
onFire: _resume(function() {
|
|
10553
|
+
run(t.id, "remove");
|
|
10554
|
+
}, "X40", $scope60_id),
|
|
10555
|
+
content: _content("X77", () => {
|
|
10556
|
+
_scope_reason();
|
|
10557
|
+
_scope_id();
|
|
10558
|
+
icon_xmark_default({ size: 12 });
|
|
10559
|
+
}, $scope60_id)
|
|
10560
|
+
});
|
|
10561
|
+
_subscribe($for_content8__t_label__closures, writeScope($scope60_id, { a: _existing_scope($childScope17) }));
|
|
10562
|
+
return 1;
|
|
10563
|
+
}
|
|
10564
|
+
}, $scope58_id, "a", 1, 1, 1, 0, 1);
|
|
10565
|
+
writeScope($scope58_id, {});
|
|
10566
|
+
return 0;
|
|
10567
|
+
}
|
|
10568
|
+
}, $scope31_id, "e", 1, 1, 1, "</span>");
|
|
10569
|
+
_html(`</li>${_el_resume($scope31_id, "a")}`);
|
|
10570
|
+
_subscribe($active__closures, writeScope($scope31_id, {
|
|
10571
|
+
g: t,
|
|
10572
|
+
h: t?.installed,
|
|
10573
|
+
i: t?.label,
|
|
10574
|
+
j: t?.id,
|
|
10575
|
+
l: t?.version,
|
|
10576
|
+
m: t?.path,
|
|
10577
|
+
n: t?.pin,
|
|
10578
|
+
o: t?.newest,
|
|
10579
|
+
p: t?.latest,
|
|
10580
|
+
q: t?.installable,
|
|
10581
|
+
r: t?.mise,
|
|
10582
|
+
t: t?.required,
|
|
10583
|
+
a0: $for_content8__t_pin__closures,
|
|
10584
|
+
u: $for_content8__t__closures,
|
|
10585
|
+
y: $for_content8__t_version__closures,
|
|
10586
|
+
z: $for_content8__t_path__closures,
|
|
10587
|
+
a2: $for_content8__t_latest__closures,
|
|
10588
|
+
a1: $for_content8__t_newest__closures,
|
|
10589
|
+
w: $for_content8__t_label__closures,
|
|
10590
|
+
Ceh: 8
|
|
10591
|
+
}));
|
|
10592
|
+
}, "id", $scope6_id, "g", 1, 1, 1, 0, 1);
|
|
10593
|
+
writeScope($scope6_id, {});
|
|
10599
10594
|
}, "id", $scope0_id, "aj");
|
|
10600
10595
|
_html(`</ul></section><div${_attr_class("_eD")} data-section=appearance>`);
|
|
10601
10596
|
_set_serialize_reason(_serialize_guard($scope0_reason, 5) << 1 | _serialize_guard($scope0_reason, 6) << 3);
|
|
@@ -10658,6 +10653,7 @@ var settings_page_default = _template("X", (input) => {
|
|
|
10658
10653
|
av: input.preferredChange,
|
|
10659
10654
|
b0: setup,
|
|
10660
10655
|
b1: setup?.agents,
|
|
10656
|
+
b2: setup?.tools,
|
|
10661
10657
|
b4: setup?.mise?.installed,
|
|
10662
10658
|
b5: setup?.missing,
|
|
10663
10659
|
b7: ignoredSso,
|
|
@@ -10740,35 +10736,36 @@ var settings_page_default = _template("X", (input) => {
|
|
|
10740
10736
|
e0: spyScroll,
|
|
10741
10737
|
e1: release,
|
|
10742
10738
|
e2: jump,
|
|
10743
|
-
|
|
10744
|
-
|
|
10745
|
-
|
|
10746
|
-
|
|
10747
|
-
ez: $
|
|
10748
|
-
|
|
10739
|
+
eg: $refreshing__closures,
|
|
10740
|
+
ea: $setup_tools__closures,
|
|
10741
|
+
ec: $setup_missing__closures,
|
|
10742
|
+
ef: $error__closures,
|
|
10743
|
+
ez: $self_latest__closures,
|
|
10744
|
+
f0: $self_version__closures,
|
|
10745
|
+
eh: $active__closures,
|
|
10749
10746
|
e9: $si__input_preferred && $input_preferred__closures,
|
|
10750
|
-
|
|
10751
|
-
|
|
10752
|
-
|
|
10753
|
-
|
|
10754
|
-
|
|
10755
|
-
|
|
10756
|
-
|
|
10757
|
-
|
|
10758
|
-
|
|
10759
|
-
|
|
10760
|
-
|
|
10761
|
-
|
|
10762
|
-
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
10766
|
-
|
|
10747
|
+
fm: $accountsFor2__closures,
|
|
10748
|
+
em: $authCodes__closures,
|
|
10749
|
+
fc: $si__input_setupChange && $refresh2__closures,
|
|
10750
|
+
fd: $run2__closures,
|
|
10751
|
+
f6: $skillQuery__closures,
|
|
10752
|
+
f7: $skillHits__closures,
|
|
10753
|
+
f8: $skillHits_length__closures,
|
|
10754
|
+
f9: $skillSearching__closures,
|
|
10755
|
+
f3: $skills__closures,
|
|
10756
|
+
ei: $active_size__closures,
|
|
10757
|
+
ey: $self_install__closures,
|
|
10758
|
+
f1: $selfUpdating__closures,
|
|
10759
|
+
eu: $query__closures,
|
|
10760
|
+
ev: $hits__closures,
|
|
10761
|
+
ew: $hits_length__closures,
|
|
10762
|
+
f2: $searching__closures,
|
|
10763
|
+
fb: $addingTool__closures,
|
|
10767
10764
|
al: _serialize_if($scope0_reason, 0) && _existing_scope($childScope18),
|
|
10768
10765
|
an: _serialize_if($scope0_reason, 1) && _existing_scope($childScope19)
|
|
10769
10766
|
});
|
|
10770
10767
|
});
|
|
10771
|
-
var item$1 = "
|
|
10768
|
+
var item$1 = "_bQ _m";
|
|
10772
10769
|
//#endregion
|
|
10773
10770
|
//#region src/tags/icons/icon-diff.marko
|
|
10774
10771
|
var icon_diff_default = _template("Ab", (input) => {
|
|
@@ -10797,7 +10794,7 @@ var icon_manage_default = _template("Kb", (input) => {
|
|
|
10797
10794
|
});
|
|
10798
10795
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
10799
10796
|
});
|
|
10800
|
-
var glance = "
|
|
10797
|
+
var glance = "_fe _m";
|
|
10801
10798
|
//#endregion
|
|
10802
10799
|
//#region src/tags/usage-rings.marko
|
|
10803
10800
|
var RADII = [
|
|
@@ -10823,7 +10820,7 @@ var usage_rings_default = _template("hb", (input) => {
|
|
|
10823
10820
|
if (windows.length) {
|
|
10824
10821
|
const $scope1_id = _scope_id();
|
|
10825
10822
|
_html(`<svg${_attr_class([
|
|
10826
|
-
"
|
|
10823
|
+
"_ij",
|
|
10827
10824
|
input.class,
|
|
10828
10825
|
{ ["_O"]: agent.stale_seconds != null }
|
|
10829
10826
|
])}${_attr_nullish("width", input.size, " width=20")}${_attr_nullish("height", input.size, " height=20")} viewBox="0 0 24 24" role=img${_attr("aria-label", `Plan usage: ${summary}`)}>`);
|
|
@@ -10831,11 +10828,11 @@ var usage_rings_default = _template("hb", (input) => {
|
|
|
10831
10828
|
const $scope2_id = _scope_id();
|
|
10832
10829
|
const r = radii[i];
|
|
10833
10830
|
const pct = Math.max(0, Math.min(100, win.used_percent));
|
|
10834
|
-
_html(`<circle${_attr_class("
|
|
10831
|
+
_html(`<circle${_attr_class("_ik")} cx=12 cy=12${_attr("r", r)}${_attr("stroke-width", stroke)}></circle>${_el_resume($scope2_id, "a", $sg__input_agent)}`);
|
|
10835
10832
|
_if(() => {
|
|
10836
10833
|
if (pct > 0) {
|
|
10837
10834
|
const $scope3_id = _scope_id();
|
|
10838
|
-
_html(`<circle${_attr_class(["
|
|
10835
|
+
_html(`<circle${_attr_class(["_il", usageInk[usageTone(win.used_percent)]])} cx=12 cy=12${_attr("r", r)}${_attr("stroke-width", stroke)} pathLength=100${_attr("stroke-dasharray", `${Math.max(pct, 3)} 100`)} transform="rotate(-90 12 12)"></circle>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
|
|
10839
10836
|
$si__input_agent && _subscribe($stroke__closures, writeScope($scope3_id, {
|
|
10840
10837
|
_: _scope_with_id($scope2_id),
|
|
10841
10838
|
Ct: 1
|
|
@@ -10890,7 +10887,7 @@ var usage_glance_default = _template("eb", (input) => {
|
|
|
10890
10887
|
_html(`<button type=button${_attr_class([
|
|
10891
10888
|
glance,
|
|
10892
10889
|
input.class,
|
|
10893
|
-
{ ["
|
|
10890
|
+
{ ["_fd"]: open }
|
|
10894
10891
|
])}${_attr("title", `${agentLabel(plan.agent)} usage`)} aria-label="Plan usage" aria-expanded=false>`);
|
|
10895
10892
|
_set_serialize_reason(42);
|
|
10896
10893
|
const $childScope = _peek_scope_id();
|
|
@@ -10992,7 +10989,7 @@ var notify_toggle_default = _template("E", (input) => {
|
|
|
10992
10989
|
_if(() => {
|
|
10993
10990
|
{
|
|
10994
10991
|
const $scope1_id = _scope_id();
|
|
10995
|
-
_html(`<button type=button${_attr_class([input.class, on && input.onClass])} aria-pressed=${on ? "true" : "false"} title=${on ? "\"
|
|
10992
|
+
_html(`<button type=button${_attr_class([input.class, on && input.onClass])} aria-pressed=${on ? "true" : "false"} title=${on ? "\"Turn off notifications\"" : "\"Notify when an agent finishes or needs input\""}>`);
|
|
10996
10993
|
_set_serialize_reason(_serialize_guard($scope0_reason, 0) << 1);
|
|
10997
10994
|
const $childScope = _peek_scope_id();
|
|
10998
10995
|
icon_bell_default({ size: input.size });
|
|
@@ -11062,29 +11059,30 @@ function tileLetters(name) {
|
|
|
11062
11059
|
return (words.length > 1 ? words[0][0] + words[1][0] : name.slice(0, 2)).toUpperCase();
|
|
11063
11060
|
}
|
|
11064
11061
|
var activity_bar_default = _template("b", (input) => {
|
|
11065
|
-
const $scope0_reason = _scope_reason(), $sg__input_workspace__OR__input_view = _serialize_guard($scope0_reason, 0), $sg__input_workspace = _serialize_guard($scope0_reason,
|
|
11062
|
+
const $scope0_reason = _scope_reason(), $sg__input_workspace__OR__input_view = _serialize_guard($scope0_reason, 0), $sg__input_workspace = _serialize_guard($scope0_reason, 8), $sg__input_setupReady = _serialize_guard($scope0_reason, 11), $si__input_view = _serialize_if($scope0_reason, 9), $si__input_workspace__OR__input_view = _serialize_if($scope0_reason, 0), $si__input_workspace = _serialize_if($scope0_reason, 8);
|
|
11066
11063
|
const $scope0_id = _scope_id();
|
|
11067
11064
|
let navOpen = input.navOpen;
|
|
11068
11065
|
const ws = input.workspace;
|
|
11069
11066
|
const home = ws ? `/w/${ws.id}` : "/new";
|
|
11070
11067
|
const page = _resume((view, href) => input.view === view ? home : href, "b0", $scope0_id);
|
|
11068
|
+
const back = ws ? "Back to terminal" : "Back to New workspace";
|
|
11071
11069
|
const reviewing = input.view === "diff" || input.view === "files";
|
|
11072
11070
|
const initials = ws ? tileLetters(ws.name) : "";
|
|
11073
|
-
_html(`<nav${_attr_class("
|
|
11071
|
+
_html(`<nav${_attr_class("_bN")} aria-label=Pages>`);
|
|
11074
11072
|
_if(() => {
|
|
11075
11073
|
if (ws) {
|
|
11076
11074
|
const $scope1_id = _scope_id();
|
|
11077
|
-
_html(`<a${_attr("href", `/w/${ws.id}`)}${_attr_class(["
|
|
11075
|
+
_html(`<a${_attr("href", `/w/${ws.id}`)}${_attr_class(["_bP", input.view === "term" && "_bO"])}${_attr("title", `${ws.name}: terminal`)}${_attr("aria-label", `${ws.name}: terminal`)}${input.view === "term" ? " aria-current=page" : ""}>${_text_resume($scope1_id, "b", initials, $sg__input_workspace)}</a>${_el_resume($scope1_id, "a", $sg__input_workspace__OR__input_view)}<a${reviewing ? _attr("href", home) : _attr("href", `/w/${ws.id}/review`)}${_attr_class([item$1, reviewing && "_bO"])}${reviewing ? _attr("title", back) : " title=\"Review (⌘⇧D)\""}${reviewing ? " aria-current=page" : ""}>`);
|
|
11078
11076
|
icon_diff_default({ size: 16 });
|
|
11079
|
-
_html(`</a>${_el_resume($scope1_id, "c", $sg__input_workspace__OR__input_view)}<a${_attr("href", page("manage", `/w/${ws.id}/manage`))}${_attr_class([item$1, input.view === "manage" && "
|
|
11077
|
+
_html(`</a>${_el_resume($scope1_id, "c", $sg__input_workspace__OR__input_view)}<a${_attr("href", page("manage", `/w/${ws.id}/manage`))}${_attr_class([item$1, input.view === "manage" && "_bO"])}${input.view === "manage" ? _attr("title", back) : " title=Manage"}${input.view === "manage" ? " aria-current=page" : ""}>`);
|
|
11080
11078
|
icon_manage_default({ size: 16 });
|
|
11081
11079
|
_html(`</a>${_el_resume($scope1_id, "e", $sg__input_workspace__OR__input_view)}`);
|
|
11082
11080
|
$si__input_workspace__OR__input_view && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
11083
11081
|
return 0;
|
|
11084
11082
|
}
|
|
11085
11083
|
}, $scope0_id, "b", $sg__input_workspace__OR__input_view, $sg__input_workspace);
|
|
11086
|
-
_html(`<div${_attr_class("
|
|
11087
|
-
_set_serialize_reason(_serialize_guard($scope0_reason,
|
|
11084
|
+
_html(`<div${_attr_class("_bR")}></div>`);
|
|
11085
|
+
_set_serialize_reason(_serialize_guard($scope0_reason, 3) << 1 | _serialize_guard($scope0_reason, 2) << 3 | _serialize_guard($scope0_reason, 4) << 5 | _serialize_guard($scope0_reason, 5) << 7);
|
|
11088
11086
|
const $childScope = _peek_scope_id();
|
|
11089
11087
|
usage_glance_default({
|
|
11090
11088
|
sessions: input.sessions ?? null,
|
|
@@ -11093,27 +11091,27 @@ var activity_bar_default = _template("b", (input) => {
|
|
|
11093
11091
|
});
|
|
11094
11092
|
_html(`<button type=button${_attr_class(item$1)} title="Command palette (⌘⇧P / Ctrl+Shift+P)">`);
|
|
11095
11093
|
icon_command_default({ size: 16 });
|
|
11096
|
-
_html(`</button>${_el_resume($scope0_id, "e")}<a${_attr("href", page("new", "/new"))}${_attr_class([item$1, input.view === "new" && "
|
|
11094
|
+
_html(`</button>${_el_resume($scope0_id, "e")}<a${_attr("href", page("new", "/new"))}${_attr_class([item$1, input.view === "new" && "_bO"])}${input.view === "new" && ws ? _attr("title", back) : " title=\"New workspace\""}${input.view === "new" ? " aria-current=page" : ""}>`);
|
|
11097
11095
|
icon_new_workspace_default({ size: 16 });
|
|
11098
11096
|
_html(`</a>${_el_resume($scope0_id, "g", $sg__input_workspace__OR__input_view)}`);
|
|
11099
11097
|
const $childScope2 = _peek_scope_id();
|
|
11100
11098
|
notify_toggle_default({
|
|
11101
11099
|
class: item$1,
|
|
11102
|
-
onClass: "
|
|
11100
|
+
onClass: "_bO",
|
|
11103
11101
|
size: 16,
|
|
11104
11102
|
onError: input.onError
|
|
11105
11103
|
});
|
|
11106
|
-
_html(`<a${_attr("href", page("settings", "/settings"))}${_attr_class([item$1, input.view === "settings" && "
|
|
11104
|
+
_html(`<a${_attr("href", page("settings", "/settings"))}${_attr_class([item$1, input.view === "settings" && "_bO"])}${input.view === "settings" ? _attr("title", back) : " title=Settings"}${input.view === "settings" ? " aria-current=page" : ""}>`);
|
|
11107
11105
|
icon_settings_default({ size: 16 });
|
|
11108
11106
|
_if(() => {
|
|
11109
11107
|
if (input.setupReady === false) {
|
|
11110
11108
|
const $scope2_id = _scope_id();
|
|
11111
|
-
_html(`<span${_attr_class(["_U", "
|
|
11112
|
-
_serialize_if($scope0_reason,
|
|
11109
|
+
_html(`<span${_attr_class(["_U", "_bS"])} title="Machine setup incomplete"></span>`);
|
|
11110
|
+
_serialize_if($scope0_reason, 11) && writeScope($scope2_id, {});
|
|
11113
11111
|
return 0;
|
|
11114
11112
|
}
|
|
11115
11113
|
}, $scope0_id, "l", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
11116
|
-
_html(`</a>${_el_resume($scope0_id, "j", $sg__input_workspace__OR__input_view)}<button type=button${_attr_class(item$1)}${
|
|
11114
|
+
_html(`</a>${_el_resume($scope0_id, "j", $sg__input_workspace__OR__input_view)}<button type=button${_attr_class(item$1)}${reviewing ? ` title=${navOpen ? "\"Hide file tree\"" : "\"Show file tree\""}` : ` title=${navOpen ? "\"Hide sidebar\"" : "\"Show sidebar\""}`} aria-pressed=${navOpen ? "true" : "false"}>`);
|
|
11117
11115
|
_if(() => {
|
|
11118
11116
|
if (navOpen) {
|
|
11119
11117
|
const $scope3_id = _scope_id();
|
|
@@ -11130,33 +11128,35 @@ var activity_bar_default = _template("b", (input) => {
|
|
|
11130
11128
|
_html("</nav>");
|
|
11131
11129
|
_script($scope0_id, "b1");
|
|
11132
11130
|
writeScope($scope0_id, {
|
|
11133
|
-
p: _serialize_if($scope0_reason,
|
|
11134
|
-
q: _serialize_if($scope0_reason,
|
|
11135
|
-
t: input.view,
|
|
11136
|
-
v:
|
|
11131
|
+
p: _serialize_if($scope0_reason, 7) && input.navOpen,
|
|
11132
|
+
q: _serialize_if($scope0_reason, 6) && input.navOpenChange,
|
|
11133
|
+
t: _serialize_if($scope0_reason, 1) && input.view,
|
|
11134
|
+
v: $si__input_view && input.tab,
|
|
11137
11135
|
y: input.onPalette,
|
|
11138
11136
|
a1: navOpen,
|
|
11139
|
-
|
|
11140
|
-
|
|
11141
|
-
|
|
11142
|
-
|
|
11143
|
-
|
|
11144
|
-
|
|
11137
|
+
a3: $si__input_view && ws,
|
|
11138
|
+
a4: $si__input_workspace__OR__input_view && ws?.id,
|
|
11139
|
+
a5: $si__input_workspace && ws?.name,
|
|
11140
|
+
a6: $si__input_workspace__OR__input_view && home,
|
|
11141
|
+
a8: $si__input_workspace && page,
|
|
11142
|
+
a9: $si__input_workspace__OR__input_view && back,
|
|
11143
|
+
ac: reviewing,
|
|
11144
|
+
ae: $si__input_workspace && initials,
|
|
11145
11145
|
a2: input.navOpenChange || void 0,
|
|
11146
|
-
d: _serialize_if($scope0_reason,
|
|
11147
|
-
i: _serialize_if($scope0_reason,
|
|
11146
|
+
d: _serialize_if($scope0_reason, 5) && _existing_scope($childScope),
|
|
11147
|
+
i: _serialize_if($scope0_reason, 10) && _existing_scope($childScope2)
|
|
11148
11148
|
});
|
|
11149
11149
|
});
|
|
11150
|
-
var iconBtn = "
|
|
11151
|
-
var settingsDot = "
|
|
11152
|
-
var headTitle = "
|
|
11153
|
-
var notifyBtn = "
|
|
11154
|
-
var filterChip = "
|
|
11155
|
-
var filterBtn = "
|
|
11150
|
+
var iconBtn = "_bU _m";
|
|
11151
|
+
var settingsDot = "_bV _bz";
|
|
11152
|
+
var headTitle = "_bZ _P";
|
|
11153
|
+
var notifyBtn = "_b2 _m";
|
|
11154
|
+
var filterChip = "_cp _br _m";
|
|
11155
|
+
var filterBtn = "_cr _bp _m";
|
|
11156
11156
|
//#endregion
|
|
11157
11157
|
//#region src/styles/session-pop.css.ts
|
|
11158
|
-
var sessionPop = "
|
|
11159
|
-
var sessionPopBtn = "
|
|
11158
|
+
var sessionPop = "_ci _bw";
|
|
11159
|
+
var sessionPopBtn = "_cj _4";
|
|
11160
11160
|
//#endregion
|
|
11161
11161
|
//#region src/client/status.ts
|
|
11162
11162
|
/** Workspace activity dot from its polled status counts. */
|
|
@@ -11196,8 +11196,8 @@ function activeAgent(session) {
|
|
|
11196
11196
|
const command = session.state?.command?.trim();
|
|
11197
11197
|
return command && agentFromCommand(command) || session.agent;
|
|
11198
11198
|
}
|
|
11199
|
-
var wsBtn = "
|
|
11200
|
-
var rowIcon = "
|
|
11199
|
+
var wsBtn = "_gg _4";
|
|
11200
|
+
var rowIcon = "_gi _bo _m";
|
|
11201
11201
|
//#endregion
|
|
11202
11202
|
//#region src/tags/icons/icon-trash.marko
|
|
11203
11203
|
var icon_trash_default = _template("Xb", (input) => {
|
|
@@ -11258,10 +11258,10 @@ function prState(pr) {
|
|
|
11258
11258
|
if (pr.state === "CLOSED") return "closed";
|
|
11259
11259
|
return pr.isDraft ? "draft" : "open";
|
|
11260
11260
|
}
|
|
11261
|
-
var prChip = "
|
|
11261
|
+
var prChip = "_jk _v _je";
|
|
11262
11262
|
//#endregion
|
|
11263
11263
|
//#region src/tags/port-chip.css.ts
|
|
11264
|
-
var port$1 = "
|
|
11264
|
+
var port$1 = "_jF _v _je";
|
|
11265
11265
|
//#endregion
|
|
11266
11266
|
//#region src/tags/port-chip.marko
|
|
11267
11267
|
var port_chip_default = _template("G", (input) => {
|
|
@@ -11273,7 +11273,7 @@ var port_chip_default = _template("G", (input) => {
|
|
|
11273
11273
|
_if(() => {
|
|
11274
11274
|
{
|
|
11275
11275
|
const $scope2_id = _scope_id();
|
|
11276
|
-
_html(`<a${_attr_class(["
|
|
11276
|
+
_html(`<a${_attr_class(["_jf", "_jH"])}${_attr("href", href)} target=_blank rel=noopener${_attr("title", `Open port ${input.port}`)}>:${_text_resume($scope2_id, "b", input.port, $sg__input_port * 2)}</a>${_el_resume($scope2_id, "a")}`);
|
|
11277
11277
|
writeScope($scope2_id, {});
|
|
11278
11278
|
return 1;
|
|
11279
11279
|
}
|
|
@@ -11284,13 +11284,13 @@ var port_chip_default = _template("G", (input) => {
|
|
|
11284
11284
|
const $childScope = _peek_scope_id();
|
|
11285
11285
|
arm_button_default({
|
|
11286
11286
|
class: [
|
|
11287
|
-
"
|
|
11288
|
-
"
|
|
11289
|
-
"
|
|
11287
|
+
"_jf",
|
|
11288
|
+
"_jg",
|
|
11289
|
+
"_jh"
|
|
11290
11290
|
],
|
|
11291
|
-
title: `Kill ${input.cmd || "
|
|
11291
|
+
title: `Kill ${input.cmd || "process"}${input.pid ? ` (pid ${input.pid})` : ""}`,
|
|
11292
11292
|
armedTitle: "Kill?",
|
|
11293
|
-
ariaLabel: `Kill
|
|
11293
|
+
ariaLabel: `Kill process on port ${input.port}`,
|
|
11294
11294
|
onFire: _resume(function() {
|
|
11295
11295
|
input.onKill?.();
|
|
11296
11296
|
}, "G0", $scope3_id),
|
|
@@ -11366,7 +11366,7 @@ var side_nav_chips_default = _template("Y", (input) => {
|
|
|
11366
11366
|
const name = repo.full_name.split("/").at(-1);
|
|
11367
11367
|
return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel(repo.full_name) : name;
|
|
11368
11368
|
}, "Y3", $scope1_id);
|
|
11369
|
-
_html(`<div${_attr_class(["
|
|
11369
|
+
_html(`<div${_attr_class(["_ji", { ["_jj"]: input.placement === "pop" }])}>`);
|
|
11370
11370
|
_for_of(repos, (repo) => {
|
|
11371
11371
|
const $scope2_id = _scope_id();
|
|
11372
11372
|
const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
|
|
@@ -11378,11 +11378,11 @@ var side_nav_chips_default = _template("Y", (input) => {
|
|
|
11378
11378
|
"_v",
|
|
11379
11379
|
prChip,
|
|
11380
11380
|
prTone[state]
|
|
11381
|
-
])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["
|
|
11381
|
+
])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["_jf", { ["_jl"]: !open }])}${_attr("href", pr.url)} target=_blank rel=noopener>${_text_resume($scope3_id, "c", repoLabel$1(repo))}#${_text_resume($scope3_id, "d", pr.number, 2)}</a>${_el_resume($scope3_id, "b")}`);
|
|
11382
11382
|
_if(() => {
|
|
11383
11383
|
if (open) {
|
|
11384
11384
|
const $scope4_id = _scope_id();
|
|
11385
|
-
_html(`<a${_attr_class(["
|
|
11385
|
+
_html(`<a${_attr_class(["_jf", "_jg"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr.number}`)}`)}${_attr("title", `Review #${pr.number}`)}>`);
|
|
11386
11386
|
icon_diff_default({ size: 12 });
|
|
11387
11387
|
_html(`</a>${_el_resume($scope4_id, "a")}`);
|
|
11388
11388
|
_subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
|
|
@@ -11390,9 +11390,9 @@ var side_nav_chips_default = _template("Y", (input) => {
|
|
|
11390
11390
|
} else {
|
|
11391
11391
|
const $scope5_id = _scope_id();
|
|
11392
11392
|
_html(`<button type=button${_attr_class([
|
|
11393
|
-
"
|
|
11394
|
-
"
|
|
11395
|
-
"
|
|
11393
|
+
"_jf",
|
|
11394
|
+
"_jg",
|
|
11395
|
+
"_jh"
|
|
11396
11396
|
])}${_attr("title", `Dismiss #${pr.number}`)}>`);
|
|
11397
11397
|
icon_xmark_default({ size: 12 });
|
|
11398
11398
|
_html(`</button>${_el_resume($scope5_id, "a")}`);
|
|
@@ -11511,31 +11511,31 @@ var side_nav_item_default = _template("Z", (input) => {
|
|
|
11511
11511
|
if (ws$1.pending) {
|
|
11512
11512
|
const $scope2_id = _scope_id();
|
|
11513
11513
|
_html(`<section${_attr_class([
|
|
11514
|
-
"
|
|
11515
|
-
"
|
|
11516
|
-
{ ["
|
|
11517
|
-
])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("
|
|
11514
|
+
"_ge",
|
|
11515
|
+
"_gm",
|
|
11516
|
+
{ ["_gd"]: input.page }
|
|
11517
|
+
])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_gf")}><div${_attr_class(wsBtn)}><span${_attr_class("_gj")}>`);
|
|
11518
11518
|
_if(() => {
|
|
11519
11519
|
if (ws$1.pending_error) {
|
|
11520
11520
|
const $scope10_id = _scope_id();
|
|
11521
11521
|
icon_warning_default({
|
|
11522
11522
|
size: 12,
|
|
11523
|
-
class: "
|
|
11523
|
+
class: "_go"
|
|
11524
11524
|
});
|
|
11525
11525
|
$si__input_workspace && writeScope($scope10_id, {});
|
|
11526
11526
|
return 0;
|
|
11527
11527
|
} else {
|
|
11528
11528
|
const $scope11_id = _scope_id();
|
|
11529
|
-
_html(`<span${_attr_class(["_2", "
|
|
11529
|
+
_html(`<span${_attr_class(["_2", "_gn"])}></span>`);
|
|
11530
11530
|
$si__input_workspace && writeScope($scope11_id, {});
|
|
11531
11531
|
return 1;
|
|
11532
11532
|
}
|
|
11533
11533
|
}, $scope2_id, "d", $sg__input_workspace, $sg__input_workspace, 1, "</span>", 1);
|
|
11534
|
-
_html(`<span${_attr_class("
|
|
11534
|
+
_html(`<span${_attr_class("_gk")}><span${_attr_class("_gl")}>${_text_resume($scope2_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_gq")}${_attr("title", ws$1.pending_error || restoreLine)}>${_text_resume($scope2_id, "i", ws$1.pending_error ? `Restore failed: ${ws$1.pending_error}` : restoreLine || "Restoring…")}</span>${_el_resume($scope2_id, "h")}</span></div>`);
|
|
11535
11535
|
_if(() => {
|
|
11536
11536
|
if (ws$1.pending_error && !retrying) {
|
|
11537
11537
|
const $scope6_id = _scope_id();
|
|
11538
|
-
_html(`<div${_attr_class(["
|
|
11538
|
+
_html(`<div${_attr_class(["_gh", "_gp"])} data-row-actions><button type=button${_attr_class(rowIcon)} title="Retry restore"${_attr("aria-label", `Retry restoring ${ws$1.name}`)}>`);
|
|
11539
11539
|
icon_refresh_default({ size: 12 });
|
|
11540
11540
|
_html(`</button>${_el_resume($scope6_id, "b")}`);
|
|
11541
11541
|
const $childScope = _peek_scope_id();
|
|
@@ -11545,7 +11545,7 @@ var side_nav_item_default = _template("Z", (input) => {
|
|
|
11545
11545
|
"_bs",
|
|
11546
11546
|
"_bt"
|
|
11547
11547
|
],
|
|
11548
|
-
title: "Delete workspace",
|
|
11548
|
+
title: "Delete workspace and worktrees (origin branches stay)",
|
|
11549
11549
|
armedTitle: `Delete ${ws$1.name}?`,
|
|
11550
11550
|
armedLabel: "Delete?",
|
|
11551
11551
|
ariaLabel: `Delete ${ws$1.name}`,
|
|
@@ -11574,7 +11574,7 @@ var side_nav_item_default = _template("Z", (input) => {
|
|
|
11574
11574
|
const $scope3_id = _scope_id();
|
|
11575
11575
|
const sessions = input.sessions || [];
|
|
11576
11576
|
const lead = leadSession(sessions, dot);
|
|
11577
|
-
_html(`<section${_attr_class(["
|
|
11577
|
+
_html(`<section${_attr_class(["_ge", { ["_gc"]: input.current }])}><div${_attr_class("_gf")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class(wsBtn)}${_attr("title", ws$1.name)}${input.current ? " aria-current=true" : ""}><span${_attr_class("_gj")}>`);
|
|
11578
11578
|
_if(() => {
|
|
11579
11579
|
if (lead) {
|
|
11580
11580
|
const $scope9_id = _scope_id();
|
|
@@ -11592,11 +11592,11 @@ var side_nav_item_default = _template("Z", (input) => {
|
|
|
11592
11592
|
return 0;
|
|
11593
11593
|
}
|
|
11594
11594
|
}, $scope3_id, "d", $sg__input_status__OR__input_sessions, $sg__input_status__OR__input_sessions, $sg__input_status__OR__input_sessions__OR__input_digit__OR__input_onNewSession, "</span>", 1);
|
|
11595
|
-
_html(`<span${_attr_class("
|
|
11595
|
+
_html(`<span${_attr_class("_gk")}><span${_attr_class("_gl")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span></span>`);
|
|
11596
11596
|
_if(() => {
|
|
11597
11597
|
if (input.digit) {
|
|
11598
11598
|
const $scope4_id = _scope_id();
|
|
11599
|
-
_html(`<kbd${_attr_class("
|
|
11599
|
+
_html(`<kbd${_attr_class("_gs")} aria-hidden=true>${_text_resume($scope4_id, "b", input.digit, $sg__input_digit)}</kbd>`);
|
|
11600
11600
|
$si__input_workspace__OR__input_digit && _subscribe($si__input_digit && $input_digit__closures, writeScope($scope4_id, {
|
|
11601
11601
|
_: _scope_with_id($scope3_id),
|
|
11602
11602
|
Ca4: $si__input_digit && 1
|
|
@@ -11607,16 +11607,16 @@ var side_nav_item_default = _template("Z", (input) => {
|
|
|
11607
11607
|
_if(() => {
|
|
11608
11608
|
if (sessions.length > 1) {
|
|
11609
11609
|
const $scope13_id = _scope_id();
|
|
11610
|
-
_html(`<span${_attr_class("
|
|
11610
|
+
_html(`<span${_attr_class("_gr")}>${_text_resume($scope13_id, "b", sessions.length, $sg__input_sessions)}</span>`);
|
|
11611
11611
|
$si__input_sessions && writeScope($scope13_id, { _: _scope_with_id($scope3_id) });
|
|
11612
11612
|
return 0;
|
|
11613
11613
|
}
|
|
11614
11614
|
}, $scope3_id, "i", $sg__input_sessions, $sg__input_sessions, $sg__input_status__OR__input_sessions__OR__input_digit__OR__input_onNewSession, 0, 1);
|
|
11615
|
-
_html(`</a>${_el_resume($scope3_id, "c", _serialize_guard($scope0_reason, 2))}<div${_attr_class("
|
|
11615
|
+
_html(`</a>${_el_resume($scope3_id, "c", _serialize_guard($scope0_reason, 2))}<div${_attr_class("_gh")} data-row-actions>`);
|
|
11616
11616
|
_if(() => {
|
|
11617
11617
|
if (input.onNewSession) {
|
|
11618
11618
|
const $scope5_id = _scope_id();
|
|
11619
|
-
_html(`<button type=button${_attr_class(rowIcon)}
|
|
11619
|
+
_html(`<button type=button${_attr_class(rowIcon)} title="New session"${_attr("aria-label", `New session in ${ws$1.name}`)}>`);
|
|
11620
11620
|
icon_plus_default({ size: 12 });
|
|
11621
11621
|
_html(`</button>${_el_resume($scope5_id, "a")}`);
|
|
11622
11622
|
_script($scope5_id, "Z7");
|
|
@@ -11627,13 +11627,13 @@ var side_nav_item_default = _template("Z", (input) => {
|
|
|
11627
11627
|
return 0;
|
|
11628
11628
|
}
|
|
11629
11629
|
}, $scope3_id, "k", $sg__input_onNewSession, $sg__input_onNewSession, $sg__input_status__OR__input_sessions__OR__input_digit__OR__input_onNewSession, 0, 1);
|
|
11630
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}/review`)}${_attr_class(rowIcon)}${_attr("
|
|
11630
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}/review`)}${_attr_class(rowIcon)} title=Review${_attr("aria-label", `Review ${ws$1.name}`)}>`);
|
|
11631
11631
|
icon_diff_default({ size: 12 });
|
|
11632
11632
|
_html(`</a>${_el_resume($scope3_id, "l", $sg__input_workspace)}`);
|
|
11633
11633
|
const $childScope3 = _peek_scope_id();
|
|
11634
11634
|
arm_button_default({
|
|
11635
11635
|
class: [rowIcon, "_bt"],
|
|
11636
|
-
title: "Archive
|
|
11636
|
+
title: "Archive (worktrees stay on disk)",
|
|
11637
11637
|
armedTitle: `Archive ${ws$1.name}?`,
|
|
11638
11638
|
armedLabel: "Archive?",
|
|
11639
11639
|
ariaLabel: `Archive ${ws$1.name}`,
|
|
@@ -11671,7 +11671,7 @@ var side_nav_item_default = _template("Z", (input) => {
|
|
|
11671
11671
|
"_bs",
|
|
11672
11672
|
"_bt"
|
|
11673
11673
|
],
|
|
11674
|
-
title: "Delete
|
|
11674
|
+
title: "Delete workspace and worktrees (origin branches stay)",
|
|
11675
11675
|
armedTitle: `Delete ${ws$1.name}?`,
|
|
11676
11676
|
armedLabel: "Delete?",
|
|
11677
11677
|
ariaLabel: `Delete ${ws$1.name}`,
|
|
@@ -11702,7 +11702,7 @@ var side_nav_item_default = _template("Z", (input) => {
|
|
|
11702
11702
|
}));
|
|
11703
11703
|
}, $scope3_id)
|
|
11704
11704
|
});
|
|
11705
|
-
_html(`</div></div><div${_attr_class("
|
|
11705
|
+
_html(`</div></div><div${_attr_class("_gt")}>`);
|
|
11706
11706
|
_set_serialize_reason(_serialize_guard($scope0_reason, 9) << 1);
|
|
11707
11707
|
const $childScope5 = _peek_scope_id();
|
|
11708
11708
|
side_nav_chips_default({
|
|
@@ -11782,8 +11782,8 @@ var icon_more_default = _template("Nb", (input) => {
|
|
|
11782
11782
|
});
|
|
11783
11783
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
11784
11784
|
});
|
|
11785
|
-
var open = "
|
|
11786
|
-
var action = "
|
|
11785
|
+
var open = "_jR _4";
|
|
11786
|
+
var action = "_jV _br _m";
|
|
11787
11787
|
//#endregion
|
|
11788
11788
|
//#region src/tags/rename-input.marko
|
|
11789
11789
|
var rename_input_default = _template("K", (input) => {
|
|
@@ -11842,9 +11842,9 @@ var session_row_default = _template("U", (input) => {
|
|
|
11842
11842
|
let renaming = false;
|
|
11843
11843
|
const s = input.session;
|
|
11844
11844
|
const icon = glyphFor(input.compact);
|
|
11845
|
-
_html(`<div${_attr_class(["
|
|
11846
|
-
["
|
|
11847
|
-
["
|
|
11845
|
+
_html(`<div${_attr_class(["_jQ", {
|
|
11846
|
+
["_jO"]: input.current,
|
|
11847
|
+
["_jP"]: input.compact
|
|
11848
11848
|
}])}>`);
|
|
11849
11849
|
_if(() => {
|
|
11850
11850
|
if (renaming) {
|
|
@@ -11855,11 +11855,11 @@ var session_row_default = _template("U", (input) => {
|
|
|
11855
11855
|
agent: activeAgent(s),
|
|
11856
11856
|
phase: sessionPhase(s.state),
|
|
11857
11857
|
size: icon,
|
|
11858
|
-
class: "
|
|
11858
|
+
class: "_jW"
|
|
11859
11859
|
});
|
|
11860
11860
|
const $childScope2 = _peek_scope_id();
|
|
11861
11861
|
rename_input_default({
|
|
11862
|
-
class: "
|
|
11862
|
+
class: "_jX",
|
|
11863
11863
|
value: sessionLabel(s),
|
|
11864
11864
|
ariaLabel: "Session name",
|
|
11865
11865
|
onCommit: _resume(function(title) {
|
|
@@ -11885,7 +11885,7 @@ var session_row_default = _template("U", (input) => {
|
|
|
11885
11885
|
phase: sessionPhase(s.state),
|
|
11886
11886
|
size: icon
|
|
11887
11887
|
});
|
|
11888
|
-
_html(`<span${_attr_class("
|
|
11888
|
+
_html(`<span${_attr_class("_jS")}><span${_attr_class("_jT")}>${_text_resume($scope2_id, "e", sessionLabel(s), $sg__input_session)}</span>`);
|
|
11889
11889
|
_if(() => {
|
|
11890
11890
|
if (input.content) {
|
|
11891
11891
|
const $scope3_id = _scope_id();
|
|
@@ -11898,7 +11898,7 @@ var session_row_default = _template("U", (input) => {
|
|
|
11898
11898
|
_if(() => {
|
|
11899
11899
|
if (input.onRename || input.onClose) {
|
|
11900
11900
|
const $scope4_id = _scope_id();
|
|
11901
|
-
_html(`<span${_attr_class("
|
|
11901
|
+
_html(`<span${_attr_class("_jU")}>`);
|
|
11902
11902
|
_if(() => {
|
|
11903
11903
|
if (input.onRename) {
|
|
11904
11904
|
const $scope6_id = _scope_id();
|
|
@@ -11970,8 +11970,8 @@ var session_row_default = _template("U", (input) => {
|
|
|
11970
11970
|
u: $si__input_onClose && $input_onClose__closures
|
|
11971
11971
|
});
|
|
11972
11972
|
});
|
|
11973
|
-
var toggle$1 = "
|
|
11974
|
-
var fold = "
|
|
11973
|
+
var toggle$1 = "_fn _P";
|
|
11974
|
+
var fold = "_fo _dJ";
|
|
11975
11975
|
//#endregion
|
|
11976
11976
|
//#region src/tags/icons/icon-chevron-right.marko
|
|
11977
11977
|
var icon_chevron_right_default = _template("vb", (input) => {
|
|
@@ -12038,14 +12038,14 @@ var archived_list_default = _template("g", (input) => {
|
|
|
12038
12038
|
_if(() => {
|
|
12039
12039
|
if (archived.length) {
|
|
12040
12040
|
const $scope1_id = _scope_id();
|
|
12041
|
-
_html(`<section${_attr_class(["
|
|
12041
|
+
_html(`<section${_attr_class(["_fm", input.page && "_fl"])}><button type=button${_attr_class(toggle$1)} aria-expanded=false>`);
|
|
12042
12042
|
_set_serialize_reason(2);
|
|
12043
12043
|
const $childScope = _peek_scope_id();
|
|
12044
12044
|
icon_chevron_right_default({
|
|
12045
12045
|
size: 12,
|
|
12046
12046
|
class: [fold, open]
|
|
12047
12047
|
});
|
|
12048
|
-
_html(`<span${_attr_class("
|
|
12048
|
+
_html(`<span${_attr_class("_fq")}>Archived</span><span${_attr_class("_fr")}>${_text_resume($scope1_id, "f", archived.length)}</span></button>${_el_resume($scope1_id, "b")}`);
|
|
12049
12049
|
_if(() => {}, $scope1_id, "g", 1, 1, 1, 0, 1);
|
|
12050
12050
|
_html(`</section>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 0))}`);
|
|
12051
12051
|
_script($scope1_id, "g5");
|
|
@@ -12069,7 +12069,7 @@ var archived_list_default = _template("g", (input) => {
|
|
|
12069
12069
|
u: $archived__closures
|
|
12070
12070
|
});
|
|
12071
12071
|
});
|
|
12072
|
-
var item = "
|
|
12072
|
+
var item = "_i4 _4";
|
|
12073
12073
|
//#endregion
|
|
12074
12074
|
//#region src/tags/workspace-actions.marko
|
|
12075
12075
|
var workspaceAction$1;
|
|
@@ -12094,7 +12094,7 @@ _template("jb", (input) => {
|
|
|
12094
12094
|
pending = null;
|
|
12095
12095
|
}
|
|
12096
12096
|
}, "jb0", $scope0_id);
|
|
12097
|
-
_html(`<div${_attr_class("
|
|
12097
|
+
_html(`<div${_attr_class("_i1")}>${_text_resume($scope0_id, "b", ws.name, _serialize_guard($scope0_reason, 2))}</div><div${_attr_class("_i2")} role=group${_attr("aria-label", `New session in ${ws.name}`)}>`);
|
|
12098
12098
|
_for_of(["shell", ...input.agents], (agent) => {
|
|
12099
12099
|
const $scope1_id = _scope_id();
|
|
12100
12100
|
_html(`<button type=button${_attr_class(iconBtnRow)}${_attr("title", `New ${agentLabel(agent)} session`)}>`);
|
|
@@ -12109,11 +12109,11 @@ _template("jb", (input) => {
|
|
|
12109
12109
|
b: _serialize_if($scope0_reason, 3) && _existing_scope($childScope)
|
|
12110
12110
|
});
|
|
12111
12111
|
}, (a) => a, $scope0_id, "c", $sg__input_agents, _serialize_guard($scope0_reason, 0), $sg__input_agents, "</div>", 1);
|
|
12112
|
-
_html(`<div${_attr_class("
|
|
12112
|
+
_html(`<div${_attr_class("_i3")}><a${_attr("href", `/w/${ws.id}/review`)}${_attr_class(item)}>`);
|
|
12113
12113
|
icon_diff_default({ size: 16 });
|
|
12114
|
-
_html(` Review
|
|
12114
|
+
_html(` Review</a>${_el_resume($scope0_id, "e")}<a${_attr("href", `/w/${ws.id}/manage`)}${_attr_class(item)}>`);
|
|
12115
12115
|
icon_manage_default({ size: 16 });
|
|
12116
|
-
_html(` Manage</a>${_el_resume($scope0_id, "g")}<button type=button${_attr_class(item)} title="
|
|
12116
|
+
_html(` Manage</a>${_el_resume($scope0_id, "g")}<button type=button${_attr_class(item)} title="Archive (worktrees stay on disk)"${pending === "archive" ? " aria-busy=true" : ""}${_attr("disabled", !!pending)}>`);
|
|
12117
12117
|
_if(() => {
|
|
12118
12118
|
if (pending === "archive") {
|
|
12119
12119
|
const $scope3_id = _scope_id();
|
|
@@ -12131,9 +12131,9 @@ _template("jb", (input) => {
|
|
|
12131
12131
|
_set_serialize_reason(2);
|
|
12132
12132
|
const $childScope2 = _peek_scope_id();
|
|
12133
12133
|
arm_button_default({
|
|
12134
|
-
class: [item, "
|
|
12135
|
-
armedClass: "
|
|
12136
|
-
title: "
|
|
12134
|
+
class: [item, "_i5"],
|
|
12135
|
+
armedClass: "_i6",
|
|
12136
|
+
title: "Delete workspace and worktrees (origin branches stay)",
|
|
12137
12137
|
armedTitle: `Delete ${ws.name}?`,
|
|
12138
12138
|
armed: deleteArmed,
|
|
12139
12139
|
armedChange: _resume((_new_deleteArmed) => {
|
|
@@ -12160,7 +12160,7 @@ _template("jb", (input) => {
|
|
|
12160
12160
|
return 1;
|
|
12161
12161
|
}
|
|
12162
12162
|
}, $scope2_id, "a", 1, 1, 1, 0, 1);
|
|
12163
|
-
_html(_text_resume($scope2_id, "b", deleteArmed ? "Delete?
|
|
12163
|
+
_html(_text_resume($scope2_id, "b", deleteArmed ? "Delete?" : "Delete", 2));
|
|
12164
12164
|
_subscribe($deleteArmed__closures, _subscribe($pending__closures, writeScope($scope2_id, { _: _scope_with_id($scope0_id) })));
|
|
12165
12165
|
}, $scope0_id)
|
|
12166
12166
|
});
|
|
@@ -12192,7 +12192,7 @@ var workspace_switcher_default = _template("kb", (input) => {
|
|
|
12192
12192
|
let sheet$1 = null;
|
|
12193
12193
|
const press = { openFor: null };
|
|
12194
12194
|
const sheetWs = void 0;
|
|
12195
|
-
_html(`<div${_attr_class("
|
|
12195
|
+
_html(`<div${_attr_class("_fK")}>`);
|
|
12196
12196
|
_for_of(input.ids, (id) => {
|
|
12197
12197
|
const $scope1_id = _scope_id();
|
|
12198
12198
|
const $for_content__id__closures = /* @__PURE__ */ new Set();
|
|
@@ -12222,7 +12222,7 @@ var workspace_switcher_default = _template("kb", (input) => {
|
|
|
12222
12222
|
const rp = phaseOf(rs);
|
|
12223
12223
|
const rowSessions = current && input.sessions || rs?.sessions || [];
|
|
12224
12224
|
const rowLead = leadSession(rowSessions, rp);
|
|
12225
|
-
_html(`<section${_attr_class(["
|
|
12225
|
+
_html(`<section${_attr_class(["_fM", { ["_fL"]: current }])}><div${_attr_class("_fN")}><a${_attr("href", `/w/${id}`)}${_attr_class("_fO")}${current ? " aria-current=true" : ""}><span${_attr_class("_fP")}>`);
|
|
12226
12226
|
_if(() => {
|
|
12227
12227
|
if (rowLead) {
|
|
12228
12228
|
const $scope7_id = _scope_id();
|
|
@@ -12240,22 +12240,22 @@ var workspace_switcher_default = _template("kb", (input) => {
|
|
|
12240
12240
|
return 0;
|
|
12241
12241
|
}
|
|
12242
12242
|
}, $scope3_id, "d", $sg__input_workspace__OR__input_ids__OR__input_allStatus__OR__input_sessions, $sg__input_workspace__OR__input_ids__OR__input_allStatus__OR__input_sessions, $sg__input_workspace__OR__input_ids__OR__input_allStatus__OR__input_sessions, "</span>", 1);
|
|
12243
|
-
_html(`<span${_attr_class("
|
|
12243
|
+
_html(`<span${_attr_class("_fQ")}>${_text_resume($scope3_id, "f", w.name, $sg__input_byId__OR__input_ids)}</span>`);
|
|
12244
12244
|
_if(() => {
|
|
12245
12245
|
if (rowSessions.length > 1 && !current) {
|
|
12246
12246
|
const $scope8_id = _scope_id();
|
|
12247
|
-
_html(`<span${_attr_class("
|
|
12247
|
+
_html(`<span${_attr_class("_fR")}>${_text_resume($scope8_id, "b", rowSessions.length, $sg__input_workspace__OR__input_ids__OR__input_allStatus__OR__input_sessions)}</span>`);
|
|
12248
12248
|
$si__input_workspace__OR__input_ids__OR__input_allStatus__OR__input_sessions && writeScope($scope8_id, { _: _scope_with_id($scope3_id) });
|
|
12249
12249
|
return 0;
|
|
12250
12250
|
}
|
|
12251
12251
|
}, $scope3_id, "g", $sg__input_workspace__OR__input_ids__OR__input_allStatus__OR__input_sessions, $sg__input_workspace__OR__input_ids__OR__input_allStatus__OR__input_sessions, $sg__input_workspace__OR__input_ids__OR__input_allStatus__OR__input_sessions, 0, 1);
|
|
12252
12252
|
_html(`</a>${_el_resume($scope3_id, "c", $sg__input_workspace__OR__input_ids)}<button type=button${_attr_class([
|
|
12253
12253
|
iconBtnLg,
|
|
12254
|
-
"
|
|
12255
|
-
{ ["
|
|
12256
|
-
])}
|
|
12254
|
+
"_fS",
|
|
12255
|
+
{ ["_fT"]: void 0 === id }
|
|
12256
|
+
])} title=Actions${_attr("aria-label", `Actions for ${w.name}`)} aria-haspopup=dialog aria-expanded=${void 0 === id ? "true" : "false"}>`);
|
|
12257
12257
|
icon_more_default({ size: 16 });
|
|
12258
|
-
_html(`</button>${_el_resume($scope3_id, "h")}</div><div${_attr_class("
|
|
12258
|
+
_html(`</button>${_el_resume($scope3_id, "h")}</div><div${_attr_class("_fU")}>`);
|
|
12259
12259
|
_set_serialize_reason($sg__input_ids << 1);
|
|
12260
12260
|
const $childScope3 = _peek_scope_id();
|
|
12261
12261
|
side_nav_chips_default({
|
|
@@ -12266,7 +12266,7 @@ var workspace_switcher_default = _template("kb", (input) => {
|
|
|
12266
12266
|
_if(() => {
|
|
12267
12267
|
if (current && rowSessions.length > 1) {
|
|
12268
12268
|
const $scope4_id = _scope_id();
|
|
12269
|
-
_html(`<div${_attr_class("
|
|
12269
|
+
_html(`<div${_attr_class("_fV")}>`);
|
|
12270
12270
|
_for_of(rowSessions, (s) => {
|
|
12271
12271
|
const $scope5_id = _scope_id();
|
|
12272
12272
|
_set_serialize_reason($sg__input_workspace__OR__input_ids__OR__input_allStatus__OR__input_sessions << 1 | $sg__input_workspace__OR__input_ids__OR__input_allStatus__OR__input_sessions << 3 | $sg__input_workspace__OR__input_ids__OR__input_allStatus__OR__input_sessions << 9 | $sg__input_workspace__OR__input_ids__OR__input_allStatus__OR__input_sessions__OR__input_tab << 13);
|
|
@@ -12318,7 +12318,7 @@ var workspace_switcher_default = _template("kb", (input) => {
|
|
|
12318
12318
|
onRestored: input.onRestored,
|
|
12319
12319
|
onError: input.onError
|
|
12320
12320
|
});
|
|
12321
|
-
_html(`</div><div popover=auto role=dialog${_attr_class(["_bw", "
|
|
12321
|
+
_html(`</div><div popover=auto role=dialog${_attr_class(["_bw", "_fW"])}>`);
|
|
12322
12322
|
_if(() => {}, $scope0_id, "d", 1, 1, 1, "</div>");
|
|
12323
12323
|
_script($scope0_id, "kb5");
|
|
12324
12324
|
_script($scope0_id, "kb6");
|
|
@@ -12356,7 +12356,7 @@ var session_pane_default = _template("T", (input) => {
|
|
|
12356
12356
|
_if(() => {
|
|
12357
12357
|
if (input.sessions.length > 1) {
|
|
12358
12358
|
const $scope1_id = _scope_id();
|
|
12359
|
-
_html(`<section${_attr_class("
|
|
12359
|
+
_html(`<section${_attr_class("_fh")} aria-label=Sessions><div${_attr_class("_fi")}><span${_attr_class("_P")}>Sessions</span><span${_attr_class("_fj")}>${_text_resume($scope1_id, "e", input.sessions.length, $sg__input_sessions_length)}</span><span${_attr_class("_N")}></span>`);
|
|
12360
12360
|
_if(() => {
|
|
12361
12361
|
if (input.onNewSession) {
|
|
12362
12362
|
const $scope2_id = _scope_id();
|
|
@@ -12368,7 +12368,7 @@ var session_pane_default = _template("T", (input) => {
|
|
|
12368
12368
|
return 0;
|
|
12369
12369
|
}
|
|
12370
12370
|
}, $scope1_id, "g", $sg__input_onNewSession, $sg__input_onNewSession, $sg__input_onNewSession, 0, 1);
|
|
12371
|
-
_html(`</div><div${_attr_class("
|
|
12371
|
+
_html(`</div><div${_attr_class("_fk")}>`);
|
|
12372
12372
|
_for_of(input.sessions, (s) => {
|
|
12373
12373
|
const $scope3_id = _scope_id();
|
|
12374
12374
|
_set_serialize_reason($sg__input_sessions << 1 | $sg__input_sessions__OR__input_onRenameSession << 3 | $sg__input_sessions__OR__input_onRenameSession__OR__input_onCloseSession << 5 | $sg__input_sessions__OR__input_onRenameSession__OR__input_onCloseSession << 7 | $sg__input_sessions << 9 | _serialize_guard($scope0_reason, 1) << 13 | $sg__input_sessions__OR__input_onRenameSession << 15 | _serialize_guard($scope0_reason, 3) << 19);
|
|
@@ -12472,11 +12472,11 @@ var side_nav_default = _template("$", (input) => {
|
|
|
12472
12472
|
id: -1,
|
|
12473
12473
|
w: 0
|
|
12474
12474
|
};
|
|
12475
|
-
_html(`<aside${_attr_class(["
|
|
12475
|
+
_html(`<aside${_attr_class(["_bX", isPage && "_bW"])}${_attr("hidden", view === "diff" || view === "files" || !isPage && !input.open)}>`);
|
|
12476
12476
|
_if(() => {
|
|
12477
12477
|
if (!isPage) {
|
|
12478
12478
|
const $scope10_id = _scope_id();
|
|
12479
|
-
_html(`<div${_attr_class(["
|
|
12479
|
+
_html(`<div${_attr_class(["_cK", { ["_cJ"]: dragging$3 }])} title="Drag to resize"></div>${_el_resume($scope10_id, "a")}`);
|
|
12480
12480
|
_script($scope10_id, "$7");
|
|
12481
12481
|
writeScope($scope10_id, {});
|
|
12482
12482
|
return 0;
|
|
@@ -12497,13 +12497,13 @@ var side_nav_default = _template("$", (input) => {
|
|
|
12497
12497
|
actions: attrTag({ content: _content("$10", () => {
|
|
12498
12498
|
_scope_reason();
|
|
12499
12499
|
const $scope3_id = _scope_id();
|
|
12500
|
-
_html(`<button type=button${_attr_class([iconBtnRow, iconBtn])} title="
|
|
12500
|
+
_html(`<button type=button${_attr_class([iconBtnRow, iconBtn])} title="Command palette" aria-label="Command palette">`);
|
|
12501
12501
|
icon_search_default({ size: 16 });
|
|
12502
12502
|
_html(`</button>${_el_resume($scope3_id, "a")}`);
|
|
12503
12503
|
const $childScope2 = _peek_scope_id();
|
|
12504
12504
|
notify_toggle_default({
|
|
12505
12505
|
class: [iconBtnRow, notifyBtn],
|
|
12506
|
-
onClass: "
|
|
12506
|
+
onClass: "_bT",
|
|
12507
12507
|
size: 16,
|
|
12508
12508
|
onError: input.onError
|
|
12509
12509
|
});
|
|
@@ -12517,7 +12517,7 @@ var side_nav_default = _template("$", (input) => {
|
|
|
12517
12517
|
return 0;
|
|
12518
12518
|
}
|
|
12519
12519
|
}, $scope3_id, "f", $sg__input_setupReady, $sg__input_setupReady, $sg__input_setupReady, 0, 1);
|
|
12520
|
-
_html(`</a><a href=/new${_attr_class([iconBtnRow, "
|
|
12520
|
+
_html(`</a><a href=/new${_attr_class([iconBtnRow, "_b1"])} title="New workspace" aria-label="New workspace">`);
|
|
12521
12521
|
icon_plus_default({ size: 16 });
|
|
12522
12522
|
_html("</a>");
|
|
12523
12523
|
_script($scope3_id, "$8");
|
|
@@ -12534,7 +12534,7 @@ var side_nav_default = _template("$", (input) => {
|
|
|
12534
12534
|
_if(() => {
|
|
12535
12535
|
if (!isPage) {
|
|
12536
12536
|
const $scope9_id = _scope_id();
|
|
12537
|
-
_html(`<div${_attr_class("
|
|
12537
|
+
_html(`<div${_attr_class("_bY")}><span${_attr_class(headTitle)}>Workspaces</span><span${_attr_class("_b0")}>${_text_resume($scope9_id, "d", orderedIds.length, $sg__input_workspace__OR__input_allWorkspaces)}</span></div>`);
|
|
12538
12538
|
writeScope($scope9_id, {});
|
|
12539
12539
|
return 0;
|
|
12540
12540
|
}
|
|
@@ -12582,7 +12582,7 @@ var side_nav_default = _template("$", (input) => {
|
|
|
12582
12582
|
return 0;
|
|
12583
12583
|
} else {
|
|
12584
12584
|
const $scope5_id = _scope_id();
|
|
12585
|
-
_html(`<div${_attr_class("
|
|
12585
|
+
_html(`<div${_attr_class("_b3")}>`);
|
|
12586
12586
|
_for_of(orderedIds, (wsId) => {
|
|
12587
12587
|
const $scope6_id = _scope_id();
|
|
12588
12588
|
_set_serialize_reason({
|
|
@@ -13867,13 +13867,13 @@ function shortBranch(name, wsBranch = "", wsName = "") {
|
|
|
13867
13867
|
}
|
|
13868
13868
|
return shortHeadFallback(head);
|
|
13869
13869
|
}
|
|
13870
|
-
var findBtn = "
|
|
13870
|
+
var findBtn = "_hl _bp _m _hd";
|
|
13871
13871
|
//#endregion
|
|
13872
13872
|
//#region src/tags/review-mode.marko
|
|
13873
13873
|
var review_mode_default = _template("O", (input) => {
|
|
13874
13874
|
const $scope0_reason = _scope_reason(), $sg__input_mode__OR__input_changesHref = _serialize_guard($scope0_reason, 0), $sg__input_mode__OR__input_filesHref = _serialize_guard($scope0_reason, 1), $sg__input_mode = _serialize_guard($scope0_reason, 3);
|
|
13875
13875
|
const $scope0_id = _scope_id();
|
|
13876
|
-
_html(`<h1${_attr_class("_Q")}>${_text_resume($scope0_id, "b", input.mode === "files" ? "Files" : "Review", $sg__input_mode)}</h1><nav${_attr_class(["_bB", "
|
|
13876
|
+
_html(`<h1${_attr_class("_Q")}>${_text_resume($scope0_id, "b", input.mode === "files" ? "Files" : "Review", $sg__input_mode)}</h1><nav${_attr_class(["_bB", "_iW"])} aria-label="Review views"><a${_attr("href", input.changesHref)}${_attr_class(["_bD", input.mode === "changes" && "_bC"])}${input.mode === "changes" ? " aria-current=page" : ""} title="What changed">Changes</a>${_el_resume($scope0_id, "d", $sg__input_mode__OR__input_changesHref)}<a${_attr("href", input.filesHref)}${_attr_class(["_bD", input.mode === "files" && "_bC"])}${input.mode === "files" ? " aria-current=page" : ""} title="Every file in the workspace">Files</a>${_el_resume($scope0_id, "e", $sg__input_mode__OR__input_filesHref)}</nav>`);
|
|
13877
13877
|
_serialize_if($scope0_reason, 2) && writeScope($scope0_id, {});
|
|
13878
13878
|
});
|
|
13879
13879
|
//#endregion
|
|
@@ -13904,8 +13904,8 @@ var icon_branch_default = _template("tb", (input) => {
|
|
|
13904
13904
|
});
|
|
13905
13905
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
13906
13906
|
});
|
|
13907
|
-
var findInput = "
|
|
13908
|
-
var keybarIconBtn = "
|
|
13907
|
+
var findInput = "_fA _o";
|
|
13908
|
+
var keybarIconBtn = "_fJ _br _m";
|
|
13909
13909
|
//#endregion
|
|
13910
13910
|
//#region src/tags/icons/icon-arrow-down.marko
|
|
13911
13911
|
var icon_arrow_down_default = _template("nb", (input) => {
|
|
@@ -13962,24 +13962,24 @@ var find_bar_default = _template("w", (input) => {
|
|
|
13962
13962
|
const step = _resume((dir) => {
|
|
13963
13963
|
if (live.open && live.query.trim()) input.onStep(dir);
|
|
13964
13964
|
}, "w4", $scope0_id);
|
|
13965
|
-
_html(`<div${placement === "row" ? _attr_class("
|
|
13966
|
-
"
|
|
13967
|
-
keybar ? "
|
|
13968
|
-
!open && "
|
|
13965
|
+
_html(`<div${placement === "row" ? _attr_class("_fD") : _attr_class([
|
|
13966
|
+
"_fE",
|
|
13967
|
+
keybar ? "_fG" : "_fF",
|
|
13968
|
+
!open && "_fx"
|
|
13969
13969
|
])}><div${_attr_class([
|
|
13970
|
-
"
|
|
13971
|
-
placement === "overlay" && "
|
|
13972
|
-
keybar && "
|
|
13973
|
-
placement === "row" && !open && "
|
|
13974
|
-
])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("
|
|
13970
|
+
"_fy",
|
|
13971
|
+
placement === "overlay" && "_fB",
|
|
13972
|
+
keybar && "_fH",
|
|
13973
|
+
placement === "row" && !open && "_fx"
|
|
13974
|
+
])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("_fz")} aria-hidden=true>`);
|
|
13975
13975
|
icon_search_default({ size: 14 });
|
|
13976
13976
|
_html(`</span><input${_attr_input_value($scope0_id, "e", query, _resume(function(v) {
|
|
13977
13977
|
if (open) setQuery(v);
|
|
13978
|
-
}, "w0", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
13978
|
+
}, "w0", $scope0_id))}${_attr_class([findInput, keybar && "_fI"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"}${_attr("placeholder", input.label)}${_attr("aria-label", input.label)}>${_el_resume($scope0_id, "e")}`);
|
|
13979
13979
|
_if(() => {
|
|
13980
13980
|
if (input.count !== void 0) {
|
|
13981
13981
|
const $scope1_id = _scope_id();
|
|
13982
|
-
_html(`<span${_attr_class("
|
|
13982
|
+
_html(`<span${_attr_class("_fC")}>${_text_resume($scope1_id, "b", open && query.trim() ? input.count : "")}</span>`);
|
|
13983
13983
|
writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
13984
13984
|
return 0;
|
|
13985
13985
|
}
|
|
@@ -14235,7 +14235,7 @@ var review_sections_default = _template("P", (input) => {
|
|
|
14235
14235
|
_html(`<div${_attr_class(["_kA", {
|
|
14236
14236
|
["_kB"]: more.start,
|
|
14237
14237
|
["_kC"]: more.end
|
|
14238
|
-
}])} role=group aria-label=Sections title="Sections
|
|
14238
|
+
}])} role=group aria-label=Sections title="Sections ([ / ])"><button type=button${_attr_class(["_kJ", { ["_kH"]: !input.focus }])} aria-pressed=${input.focus ? "false" : "true"} data-pick>All <span${_attr_class("_kQ")}>${_text_resume($scope0_id, "f", num(input.total), _serialize_guard($scope0_reason, 5))}</span></button>${_el_resume($scope0_id, "d")}`);
|
|
14239
14239
|
_for_of(groups, (g) => {
|
|
14240
14240
|
const $scope4_id = _scope_id();
|
|
14241
14241
|
const $for_content__g_worktree__closures = /* @__PURE__ */ new Set();
|
|
@@ -14456,28 +14456,28 @@ var diff_send_default = _template("r", (input) => {
|
|
|
14456
14456
|
}
|
|
14457
14457
|
})();
|
|
14458
14458
|
}, "r1", $scope0_id);
|
|
14459
|
-
_html(`<div${_attr_class(["
|
|
14459
|
+
_html(`<div${_attr_class(["_j8", !input.count && "_ki"])} role=group${_attr("aria-label", label)}><span${_attr_class(["_w", "_j9"])}${_attr("title", label)}>`);
|
|
14460
14460
|
icon_comment_default({
|
|
14461
14461
|
size: 18,
|
|
14462
14462
|
class: "_x"
|
|
14463
14463
|
});
|
|
14464
|
-
_html(`<span${_attr_class([glyphBadgeNum, "
|
|
14464
|
+
_html(`<span${_attr_class([glyphBadgeNum, "_j_"])} aria-hidden=true>${_text_resume($scope0_id, "e", input.count > 99 ? "99+" : input.count, $sg__input_count)}</span></span>${_el_resume($scope0_id, "b", $sg__input_count)}`);
|
|
14465
14465
|
_set_serialize_reason($sg__input_count__OR__input_onCopy << 1 | $sg__input_count__OR__input_onCopy << 3 | $sg__input_count__OR__input_onCopy << 5 | $sg__input_count__OR__input_onCopy << 7);
|
|
14466
14466
|
const $childScope = _peek_scope_id();
|
|
14467
14467
|
copy_button_default({
|
|
14468
|
-
class: ["
|
|
14468
|
+
class: ["_ka", "_kj"],
|
|
14469
14469
|
text: input.onCopy,
|
|
14470
|
-
label: "Copy comments
|
|
14470
|
+
label: "Copy comments",
|
|
14471
14471
|
disabled: !input.count
|
|
14472
14472
|
});
|
|
14473
14473
|
_if(() => {
|
|
14474
14474
|
if (target) {
|
|
14475
14475
|
const $scope1_id = _scope_id();
|
|
14476
|
-
_html(`<button type=button${_attr_class(["
|
|
14476
|
+
_html(`<button type=button${_attr_class(["_ka", "_kb"])}${_attr("disabled", sending || !input.count)}${_attr("title", `Send to ${sessionLabel(target)}`)}>`);
|
|
14477
14477
|
_if(() => {
|
|
14478
14478
|
if (sessions.length > 1) {
|
|
14479
14479
|
const $scope2_id = _scope_id();
|
|
14480
|
-
_html(`<span${_attr_class(["
|
|
14480
|
+
_html(`<span${_attr_class(["_kc", "_S"])}>${_text_resume($scope2_id, "b", sending ? "Sending…" : `Send to ${sessionLabel(target)}`)}</span><span${_attr_class("_R")}>${_text_resume($scope2_id, "d", sending ? "Sending…" : "Send")}</span>`);
|
|
14481
14481
|
_subscribe($target__closures, _subscribe($sending__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
|
|
14482
14482
|
return 0;
|
|
14483
14483
|
} else {
|
|
@@ -14493,15 +14493,15 @@ var diff_send_default = _template("r", (input) => {
|
|
|
14493
14493
|
_if(() => {
|
|
14494
14494
|
if (sessions.length > 1) {
|
|
14495
14495
|
const $scope4_id = _scope_id();
|
|
14496
|
-
_html(`<span${_attr_class("
|
|
14497
|
-
"_j_",
|
|
14496
|
+
_html(`<span${_attr_class("_kd")}><button type=button${_attr_class([
|
|
14498
14497
|
"_ka",
|
|
14499
|
-
"
|
|
14500
|
-
|
|
14498
|
+
"_kb",
|
|
14499
|
+
"_ke"
|
|
14500
|
+
])} aria-label="Choose session"${_attr("disabled", sending)}></button>${_el_resume($scope4_id, "b")}`);
|
|
14501
14501
|
_attr_select_value($scope4_id, "c", target.id, _resume(function(v) {
|
|
14502
14502
|
sendTarget = v;
|
|
14503
14503
|
}, "r0", $scope4_id), () => {
|
|
14504
|
-
_html(`<select${_attr_class("_T")} aria-label="Send
|
|
14504
|
+
_html(`<select${_attr_class("_T")} aria-label="Send to session" tabindex=-1${_attr("disabled", sending)}>`);
|
|
14505
14505
|
_for_of(sessions, (s) => {
|
|
14506
14506
|
const $scope5_id = _scope_id();
|
|
14507
14507
|
_html(`<option${_attr_option_value(s.id)}>${_text_resume($scope5_id, "b", sessionLabel(s), $sg__input_sessions)}</option>${_el_resume($scope5_id, "a", $sg__input_sessions)}`);
|
|
@@ -14549,7 +14549,7 @@ var diff_stat_default = _template("s", (input) => {
|
|
|
14549
14549
|
_if(() => {
|
|
14550
14550
|
if (input.additions || input.deletions) {
|
|
14551
14551
|
const $scope1_id = _scope_id();
|
|
14552
|
-
_html(`<span${_attr_class("
|
|
14552
|
+
_html(`<span${_attr_class("_le")}><span${_attr_class("_lf")}>+${_text_resume($scope1_id, "c", num(input.additions), $sg__input_additions * 2)}</span><span${_attr_class("_lg")}>−${_text_resume($scope1_id, "e", num(input.deletions), $sg__input_deletions * 2)}</span></span>`);
|
|
14553
14553
|
$si__input_additions__OR__input_deletions && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
14554
14554
|
return 0;
|
|
14555
14555
|
}
|
|
@@ -14565,18 +14565,18 @@ var review_summary_default = _template("Q", (input) => {
|
|
|
14565
14565
|
const $scope0_reason = _scope_reason(), $sg__input_fileCount = _serialize_guard($scope0_reason, 3), $sg__input_hiddenCount = _serialize_guard($scope0_reason, 6);
|
|
14566
14566
|
const $scope0_id = _scope_id();
|
|
14567
14567
|
let onlyNew = input.onlyNew;
|
|
14568
|
-
_html(`<div${_attr_class("
|
|
14568
|
+
_html(`<div${_attr_class("_kk")}><span${_attr_class("_kl")}><span>${_text_resume($scope0_id, "c", num(input.fileCount), $sg__input_fileCount)} ${_text_resume($scope0_id, "d", input.fileCount === 1 ? "file" : "files", $sg__input_fileCount * 2)}</span>`);
|
|
14569
14569
|
_set_serialize_reason(_serialize_guard($scope0_reason, 0) << 1 | _serialize_guard($scope0_reason, 4) << 3 | _serialize_guard($scope0_reason, 5) << 5);
|
|
14570
14570
|
const $childScope = _peek_scope_id();
|
|
14571
14571
|
diff_stat_default({
|
|
14572
14572
|
additions: input.additions,
|
|
14573
14573
|
deletions: input.deletions
|
|
14574
14574
|
});
|
|
14575
|
-
_html(`</span><span${_attr_class("
|
|
14575
|
+
_html(`</span><span${_attr_class("_km")}>`);
|
|
14576
14576
|
_if(() => {
|
|
14577
14577
|
if (input.hiddenCount) {
|
|
14578
14578
|
const $scope1_id = _scope_id();
|
|
14579
|
-
_html(`<button type=button${_attr_class("
|
|
14579
|
+
_html(`<button type=button${_attr_class("_ko")} data-toggle=hidden title="Clear filters">${_text_resume($scope1_id, "b", num(input.hiddenCount), $sg__input_hiddenCount)} hidden</button>${_el_resume($scope1_id, "a")}`);
|
|
14580
14580
|
_script($scope1_id, "Q0");
|
|
14581
14581
|
writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
14582
14582
|
return 0;
|
|
@@ -14585,7 +14585,7 @@ var review_summary_default = _template("Q", (input) => {
|
|
|
14585
14585
|
_if(() => {
|
|
14586
14586
|
if (input.newCount || onlyNew) {
|
|
14587
14587
|
const $scope2_id = _scope_id();
|
|
14588
|
-
_html(`<button type=button${_attr_class(["
|
|
14588
|
+
_html(`<button type=button${_attr_class(["_ko", { ["_kn"]: onlyNew }])} aria-pressed=${onlyNew ? "true" : "false"} title=${onlyNew ? "\"Show every file\"" : "\"Show only files changed since your last visit\""}>${_text_resume($scope2_id, "b", num(input.newCount), _serialize_guard($scope0_reason, 7))} new</button>${_el_resume($scope2_id, "a")}`);
|
|
14589
14589
|
_script($scope2_id, "Q1");
|
|
14590
14590
|
writeScope($scope2_id, {});
|
|
14591
14591
|
return 0;
|
|
@@ -14655,7 +14655,7 @@ var review_head_default = _template("N", (input) => {
|
|
|
14655
14655
|
"_9",
|
|
14656
14656
|
tone.warn,
|
|
14657
14657
|
"_ky"
|
|
14658
|
-
])}${_attr("title", `origin/${repo.pr.headRefName} ${repo.head} · GitHub ${repo.pr.headRefOid}
|
|
14658
|
+
])}${_attr("title", `Reload (origin/${repo.pr.headRefName} ${repo.head} · GitHub ${repo.pr.headRefOid})`)}${_attr("disabled", input.loading)}>behind GitHub ${_text_resume($scope2_id, "b", shortSha(repo.head, 7), $sg__input_repo * 2)} → ${_text_resume($scope2_id, "c", shortSha(repo.pr.headRefOid, 7), $sg__input_repo * 2)}</button>${_el_resume($scope2_id, "a")}`);
|
|
14659
14659
|
_script($scope2_id, "N0");
|
|
14660
14660
|
_subscribe($si__input_repo && $repo_pr_headRefOid__closures, _subscribe($si__input_repo && $repo_head__closures, _subscribe($si__input_repo && $repo_pr_headRefName__closures, _subscribe($si__input_loading && $input_loading__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })))));
|
|
14661
14661
|
return 0;
|
|
@@ -14794,16 +14794,16 @@ var review_compare_default = _template("M", (input) => {
|
|
|
14794
14794
|
_if(() => {
|
|
14795
14795
|
if (compare) {
|
|
14796
14796
|
const $scope1_id = _scope_id();
|
|
14797
|
-
_html(`<span${_attr_class("
|
|
14797
|
+
_html(`<span${_attr_class("_lq")}${_attr("title", compare.title)}>`);
|
|
14798
14798
|
_if(() => {
|
|
14799
14799
|
if (compare.topic) {
|
|
14800
14800
|
const $scope2_id = _scope_id();
|
|
14801
|
-
_html(`<span${_attr_class("
|
|
14801
|
+
_html(`<span${_attr_class("_ls")}>${_text_resume($scope2_id, "b", compare.topic, $sg__input_compare_topic)}</span>`);
|
|
14802
14802
|
$si__input_compare && _subscribe($si__input_compare_topic && $input_compare_topic__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }));
|
|
14803
14803
|
return 0;
|
|
14804
14804
|
} else if (compare.head) {
|
|
14805
14805
|
const $scope3_id = _scope_id();
|
|
14806
|
-
_html(`<span${_attr_class("
|
|
14806
|
+
_html(`<span${_attr_class("_lr")}>${_text_resume($scope3_id, "b", compare.head, $sg__input_compare_head)}</span>`);
|
|
14807
14807
|
$si__input_compare && _subscribe($si__input_compare_head && $input_compare_head__closures, writeScope($scope3_id, { _: _scope_with_id($scope1_id) }));
|
|
14808
14808
|
return 1;
|
|
14809
14809
|
}
|
|
@@ -14830,10 +14830,10 @@ var comments_elsewhere_default = _template("l", (input) => {
|
|
|
14830
14830
|
_if(() => {
|
|
14831
14831
|
if (input.items.length) {
|
|
14832
14832
|
const $scope1_id = _scope_id();
|
|
14833
|
-
_html(`<div${_attr_class("
|
|
14833
|
+
_html(`<div${_attr_class("_lh")} role=group aria-label="Comments on other files"><div${_attr_class("_li")}>Comments on other files</div>`);
|
|
14834
14834
|
_for_of(input.items, (e) => {
|
|
14835
14835
|
const $scope2_id = _scope_id();
|
|
14836
|
-
_html(`<a${_attr_class("
|
|
14836
|
+
_html(`<a${_attr_class("_lj")}${_attr("href", e.href)}${_attr("title", `${e.label}: open it in Files`)}><span${_attr_class("_lk")}><bdi>${_text_resume($scope2_id, "c", e.label, $sg__input_items)}</bdi></span><span${_attr_class("_ll")}>`);
|
|
14837
14837
|
icon_comment_default({ size: 12 });
|
|
14838
14838
|
_html(`${_text_resume($scope2_id, "f", e.count, $sg__input_items)}</span></a>${_el_resume($scope2_id, "a")}`);
|
|
14839
14839
|
_script($scope2_id, "l0");
|
|
@@ -14857,12 +14857,12 @@ var fold_dock_default = _template("x", (input) => {
|
|
|
14857
14857
|
_if(() => {
|
|
14858
14858
|
if (input.sections.length) {
|
|
14859
14859
|
const $scope1_id = _scope_id();
|
|
14860
|
-
_html(`<div${_attr_class("
|
|
14860
|
+
_html(`<div${_attr_class("_lm")} role=group aria-label="Folded sections">`);
|
|
14861
14861
|
_for_of(input.sections, (section) => {
|
|
14862
14862
|
const $scope2_id = _scope_id();
|
|
14863
|
-
_html(`<button type=button${_attr_class(["_v", "
|
|
14863
|
+
_html(`<button type=button${_attr_class(["_v", "_ln"])}${_attr("title", `Unfold ${section.label} (${plural(section.files.length, "file")})`)} aria-expanded=false><span${_attr_class("_lo")} aria-hidden=true>`);
|
|
14864
14864
|
icon_chevron_right_default({ size: 12 });
|
|
14865
|
-
_html(`</span><span${_attr_class("
|
|
14865
|
+
_html(`</span><span${_attr_class("_lp")}>${_text_resume($scope2_id, "e", section.label, $sg__input_sections)}</span></button>${_el_resume($scope2_id, "a")}`);
|
|
14866
14866
|
_script($scope2_id, "x0");
|
|
14867
14867
|
writeScope($scope2_id, {
|
|
14868
14868
|
l: section?.id,
|
|
@@ -14905,7 +14905,7 @@ var review_tree_default = _template("R", (input) => {
|
|
|
14905
14905
|
id: -1,
|
|
14906
14906
|
w: 0
|
|
14907
14907
|
};
|
|
14908
|
-
_html(`<div${_attr_class(["
|
|
14908
|
+
_html(`<div${_attr_class(["_cl", { ["_ck"]: input.open === false }])}><div${_attr_class(["_cK", { ["_cJ"]: dragging$2 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class(["_cm", { ["_co"]: !!filter && !editing }])}>`);
|
|
14909
14909
|
_if(() => {
|
|
14910
14910
|
if (editing) {
|
|
14911
14911
|
const $scope6_id = _scope_id();
|
|
@@ -14925,7 +14925,7 @@ var review_tree_default = _template("R", (input) => {
|
|
|
14925
14925
|
return 0;
|
|
14926
14926
|
} else {
|
|
14927
14927
|
const $scope1_id = _scope_id();
|
|
14928
|
-
_html(`<div${_attr_class("
|
|
14928
|
+
_html(`<div${_attr_class("_cn")}>`);
|
|
14929
14929
|
_if(() => {
|
|
14930
14930
|
if (input.summary) {
|
|
14931
14931
|
const $scope2_id = _scope_id();
|
|
@@ -14937,9 +14937,9 @@ var review_tree_default = _template("R", (input) => {
|
|
|
14937
14937
|
_if(() => {
|
|
14938
14938
|
if (filter) {
|
|
14939
14939
|
const $scope7_id = _scope_id();
|
|
14940
|
-
_html(`<button type=button${_attr_class(filterChip)}${_attr("title", `
|
|
14940
|
+
_html(`<button type=button${_attr_class(filterChip)}${_attr("title", `Edit the filter: ${filter}`)}>`);
|
|
14941
14941
|
icon_filter_default({ size: 12 });
|
|
14942
|
-
_html(`<span${_attr_class("
|
|
14942
|
+
_html(`<span${_attr_class("_cq")}>${_text_resume($scope7_id, "d", filter)}</span></button>${_el_resume($scope7_id, "a")}<button type=button${_attr_class(filterBtn)} title="Clear the filter" aria-label="Clear the filter">`);
|
|
14943
14943
|
icon_xmark_default({ size: 12 });
|
|
14944
14944
|
_html(`</button>${_el_resume($scope7_id, "e")}`);
|
|
14945
14945
|
_script($scope7_id, "R3");
|
|
@@ -14959,7 +14959,7 @@ var review_tree_default = _template("R", (input) => {
|
|
|
14959
14959
|
return 1;
|
|
14960
14960
|
}
|
|
14961
14961
|
}, $scope0_id, "c", 1, 1, 1, "</div>");
|
|
14962
|
-
_html(`<div${_attr_class("
|
|
14962
|
+
_html(`<div${_attr_class("_cs")}><div${_attr_class(["_cu", { ["_ct"]: lone }])}>`);
|
|
14963
14963
|
_for_of(input.sections, (section$2) => {
|
|
14964
14964
|
const $scope3_id = _scope_id();
|
|
14965
14965
|
const $for_content__section_compare__closures = /* @__PURE__ */ new Set();
|
|
@@ -14968,16 +14968,16 @@ var review_tree_default = _template("R", (input) => {
|
|
|
14968
14968
|
const isFolded = !lone && input.folded.has(section$2.id);
|
|
14969
14969
|
const sub = subIds.has(section$2.id);
|
|
14970
14970
|
const filtered = section$2.files.length !== section$2.total;
|
|
14971
|
-
const
|
|
14972
|
-
_html(`<div${_attr_class(["
|
|
14973
|
-
["
|
|
14974
|
-
["
|
|
14975
|
-
["
|
|
14976
|
-
}])}${_attr("data-section", section$2.id)}${_attr("hidden", !picked)}><div${_attr_class("
|
|
14971
|
+
const stats = `${num(section$2.files.length)}${filtered ? ` of ${num(section$2.total)}` : ""} ${section$2.total === 1 ? "file" : "files"}, +${num(section$2.additions)} −${num(section$2.deletions)}`;
|
|
14972
|
+
_html(`<div${_attr_class(["_cy", {
|
|
14973
|
+
["_cv"]: lone,
|
|
14974
|
+
["_cw"]: isFolded,
|
|
14975
|
+
["_cx"]: !lone && section$2.id === input.active
|
|
14976
|
+
}])}${_attr("data-section", section$2.id)}${_attr("hidden", !picked)}><div${_attr_class("_cz")} data-head>`);
|
|
14977
14977
|
_if(() => {
|
|
14978
14978
|
if (lone) {
|
|
14979
14979
|
const $scope9_id = _scope_id();
|
|
14980
|
-
_html(`<div${_attr_class("
|
|
14980
|
+
_html(`<div${_attr_class("_cA")}${_attr("title", `${section$2.label}: ${stats}`)}><span${_attr_class("_cE")}>${_text_resume($scope9_id, "c", section$2.label, $sg__input_sections)}</span>`);
|
|
14981
14981
|
_set_serialize_reason($sg__input_sections << 1 | $sg__input_sections << 3 | $sg__input_sections << 5 | $sg__input_sections << 7 | $sg__input_sections << 9 | $sg__input_sections << 11);
|
|
14982
14982
|
const $childScope2 = _peek_scope_id();
|
|
14983
14983
|
review_compare_default({ compare: section$2.compare });
|
|
@@ -14990,16 +14990,16 @@ var review_tree_default = _template("R", (input) => {
|
|
|
14990
14990
|
} else {
|
|
14991
14991
|
const $scope4_id = _scope_id();
|
|
14992
14992
|
_html(`<button type=button${_attr_class([
|
|
14993
|
-
"
|
|
14994
|
-
"
|
|
14995
|
-
{ ["
|
|
14996
|
-
])}${_attr("title", `${
|
|
14993
|
+
"_cA",
|
|
14994
|
+
"_cB",
|
|
14995
|
+
{ ["_cC"]: sub }
|
|
14996
|
+
])}${_attr("title", `${isFolded ? "Unfold" : "Fold"} ${section$2.label} (${stats})`)} aria-expanded=${isFolded ? "false" : "true"}><span${_attr_class("_cD")} aria-hidden=true>`);
|
|
14997
14997
|
icon_chevron_right_default({ size: 12 });
|
|
14998
14998
|
_html("</span>");
|
|
14999
14999
|
_if(() => {
|
|
15000
15000
|
if (sub) {
|
|
15001
15001
|
const $scope10_id = _scope_id();
|
|
15002
|
-
_html(`<span${_attr_class("
|
|
15002
|
+
_html(`<span${_attr_class("_cE")}>`);
|
|
15003
15003
|
_set_serialize_reason($sg__input_sections << 1 | $sg__input_sections << 3 | $sg__input_sections << 5 | $sg__input_sections << 7 | $sg__input_sections << 9 | $sg__input_sections << 11);
|
|
15004
15004
|
const $childScope3 = _peek_scope_id();
|
|
15005
15005
|
review_compare_default({ compare: section$2.compare });
|
|
@@ -15011,7 +15011,7 @@ var review_tree_default = _template("R", (input) => {
|
|
|
15011
15011
|
return 0;
|
|
15012
15012
|
} else {
|
|
15013
15013
|
const $scope11_id = _scope_id();
|
|
15014
|
-
_html(`<span${_attr_class("
|
|
15014
|
+
_html(`<span${_attr_class("_cE")}>${_text_resume($scope11_id, "b", section$2.label, $sg__input_sections)}</span>`);
|
|
15015
15015
|
_set_serialize_reason($sg__input_sections << 1 | $sg__input_sections << 3 | $sg__input_sections << 5 | $sg__input_sections << 7 | $sg__input_sections << 9 | $sg__input_sections << 11);
|
|
15016
15016
|
const $childScope4 = _peek_scope_id();
|
|
15017
15017
|
review_compare_default({ compare: section$2.compare });
|
|
@@ -15023,7 +15023,7 @@ var review_tree_default = _template("R", (input) => {
|
|
|
15023
15023
|
return 1;
|
|
15024
15024
|
}
|
|
15025
15025
|
}, $scope4_id, "d", $sg__input_sections, $sg__input_sections, $sg__input_sections);
|
|
15026
|
-
_html(`<span${_attr_class("
|
|
15026
|
+
_html(`<span${_attr_class("_cF")}>${_text_resume($scope4_id, "f", num(section$2.files.length), $sg__input_sections)}</span></button>${_el_resume($scope4_id, "a")}`);
|
|
15027
15027
|
_script($scope4_id, "R5");
|
|
15028
15028
|
writeScope($scope4_id, { _: _scope_with_id($scope3_id) });
|
|
15029
15029
|
return 1;
|
|
@@ -15032,22 +15032,22 @@ var review_tree_default = _template("R", (input) => {
|
|
|
15032
15032
|
_if(() => {
|
|
15033
15033
|
if (input.detail) {
|
|
15034
15034
|
const $scope5_id = _scope_id();
|
|
15035
|
-
_html(`<div${_attr_class("
|
|
15035
|
+
_html(`<div${_attr_class("_cG")}>`);
|
|
15036
15036
|
_dynamic_tag($scope5_id, "b", input.detail, { id: section$2.id }, 0, 0, $sg__input_sections__OR__input_detail);
|
|
15037
15037
|
_html("</div>");
|
|
15038
15038
|
$si__input_sections__OR__input_detail && _subscribe($si__input_detail && $input_detail__closures, writeScope($scope5_id, { _: _scope_with_id($scope3_id) }));
|
|
15039
15039
|
return 0;
|
|
15040
15040
|
}
|
|
15041
15041
|
}, $scope3_id, "d", $sg__input_sections__OR__input_detail, $sg__input_detail, $sg__input_only__OR__input_sections__OR__input_detail, 0, 1);
|
|
15042
|
-
_html(`</div><div${_attr_class(["
|
|
15042
|
+
_html(`</div><div${_attr_class(["_cI", { ["_cH"]: lone }])}${_attr("data-tree", section$2.id)}${_attr("hidden", isFolded || !section$2.files.length)}></div>${_el_resume($scope3_id, "e", $sg__input_only__OR__input_sections__OR__input_folded)}</div>${_el_resume($scope3_id, "a", $sg__input_only__OR__input_sections__OR__input_folded__OR__input_active)}`);
|
|
15043
15043
|
writeScope($scope3_id, {
|
|
15044
15044
|
h: section$2?.id,
|
|
15045
15045
|
m: $si__input_only__OR__input_sections__OR__input_folded && section$2?.files?.length,
|
|
15046
|
-
|
|
15046
|
+
r: $si__input_only__OR__input_sections__OR__input_folded && section$2?.label,
|
|
15047
15047
|
s: $si__input_only__OR__input_sections && section$2?.compare,
|
|
15048
15048
|
u: _serialize_if($scope0_reason, 3) && isFolded,
|
|
15049
15049
|
x: $si__input_only__OR__input_sections && sub,
|
|
15050
|
-
a0: $si__input_only__OR__input_sections__OR__input_folded &&
|
|
15050
|
+
a0: $si__input_only__OR__input_sections__OR__input_folded && stats,
|
|
15051
15051
|
_: _scope_with_id($scope0_id),
|
|
15052
15052
|
a4: $si__input_sections && $for_content__section_compare__closures,
|
|
15053
15053
|
a3: $si__input_sections && $for_content__section_label__closures
|
|
@@ -15238,9 +15238,9 @@ function rankPaths(items, pathOf, query, limit) {
|
|
|
15238
15238
|
out.sort((a, b) => b.match.score - a.match.score || pathOf(a.item).localeCompare(pathOf(b.item)));
|
|
15239
15239
|
return out.slice(0, limit);
|
|
15240
15240
|
}
|
|
15241
|
-
var input = "
|
|
15242
|
-
var group = "
|
|
15243
|
-
var hint$1 = "
|
|
15241
|
+
var input = "_cN _o";
|
|
15242
|
+
var group = "_cQ _P";
|
|
15243
|
+
var hint$1 = "_kt _9 _M";
|
|
15244
15244
|
//#endregion
|
|
15245
15245
|
//#region src/tags/quick-open.marko
|
|
15246
15246
|
var LIMIT = 60;
|
|
@@ -15259,7 +15259,7 @@ function runs(path, hits, from, to) {
|
|
|
15259
15259
|
return out;
|
|
15260
15260
|
}
|
|
15261
15261
|
var quick_open_default = _template("J", (input$4) => {
|
|
15262
|
-
const $scope0_reason = _scope_reason(), $sg__input_more_label = _serialize_guard($scope0_reason,
|
|
15262
|
+
const $scope0_reason = _scope_reason(), $sg__input_more_label = _serialize_guard($scope0_reason, 2), $si__input_more_label = _serialize_if($scope0_reason, 2), $si__input_loading = _serialize_if($scope0_reason, 3);
|
|
15263
15263
|
const $scope0_id = _scope_id();
|
|
15264
15264
|
const $input_more_label__closures = /* @__PURE__ */ new Set();
|
|
15265
15265
|
const $parsed_line__closures = /* @__PURE__ */ new Set();
|
|
@@ -15267,7 +15267,6 @@ var quick_open_default = _template("J", (input$4) => {
|
|
|
15267
15267
|
const $rows__closures = /* @__PURE__ */ new Set();
|
|
15268
15268
|
const $at__closures = /* @__PURE__ */ new Set();
|
|
15269
15269
|
const $input_loading__closures = /* @__PURE__ */ new Set();
|
|
15270
|
-
const $input_placeholder__closures = /* @__PURE__ */ new Set();
|
|
15271
15270
|
const $query__closures = /* @__PURE__ */ new Set();
|
|
15272
15271
|
const $rows_length__closures = /* @__PURE__ */ new Set();
|
|
15273
15272
|
const $open__closures = /* @__PURE__ */ new Set();
|
|
@@ -15315,7 +15314,7 @@ var quick_open_default = _template("J", (input$4) => {
|
|
|
15315
15314
|
const $childScope = _peek_scope_id();
|
|
15316
15315
|
modal_view_default({
|
|
15317
15316
|
label: "Go to file",
|
|
15318
|
-
class: ["_bH", "
|
|
15317
|
+
class: ["_bH", "_cL"],
|
|
15319
15318
|
open,
|
|
15320
15319
|
openChange: _resume((_new_open) => {
|
|
15321
15320
|
open = _new_open;
|
|
@@ -15327,14 +15326,14 @@ var quick_open_default = _template("J", (input$4) => {
|
|
|
15327
15326
|
_if(() => {
|
|
15328
15327
|
if (open) {
|
|
15329
15328
|
const $scope2_id = _scope_id();
|
|
15330
|
-
_html(`<div${_attr_class("
|
|
15329
|
+
_html(`<div${_attr_class("_cM")}>`);
|
|
15331
15330
|
icon_search_default({ size: 14 });
|
|
15332
15331
|
_html(`<input${_attr_input_value($scope2_id, "c", query, _resume(function(v) {
|
|
15333
15332
|
query = v;
|
|
15334
15333
|
hi = 0;
|
|
15335
|
-
}, "J0", $scope2_id))}${_attr_class(input)} type=search autofocus autocomplete=off
|
|
15334
|
+
}, "J0", $scope2_id))}${_attr_class(input)} type=search autofocus autocomplete=off placeholder="Go to file (name:42 for a line)" aria-label="Go to file" role=combobox aria-expanded=true${_attr("aria-controls", listId)}>${_el_resume($scope2_id, "c")}<button type=button${_attr_class([iconBtnLg, "_cO"])} title=Close aria-label=Close>`);
|
|
15336
15335
|
icon_xmark_default({ size: 16 });
|
|
15337
|
-
_html(`</button>${_el_resume($scope2_id, "d")}</div><ul${_attr("id", listId)}${_attr_class("
|
|
15336
|
+
_html(`</button>${_el_resume($scope2_id, "d")}</div><ul${_attr("id", listId)}${_attr_class("_cP")} role=listbox>`);
|
|
15338
15337
|
_for_of(rows, (row$5, i) => {
|
|
15339
15338
|
const $scope3_id = _scope_id();
|
|
15340
15339
|
_if(() => {
|
|
@@ -15352,13 +15351,13 @@ var quick_open_default = _template("J", (input$4) => {
|
|
|
15352
15351
|
}, $scope3_id, "a", 1, 1, 1, 0, 1);
|
|
15353
15352
|
const path = row$5.item.path;
|
|
15354
15353
|
const cut = path.lastIndexOf("/") + 1;
|
|
15355
|
-
_html(`<li role=option aria-selected=${i === at ? "true" : "false"}><button type=button${_attr_class(["
|
|
15354
|
+
_html(`<li role=option aria-selected=${i === at ? "true" : "false"}><button type=button${_attr_class(["_cS", i === at && "_cR"])}${_attr("title", path)}><span${_attr_class("_kp")}>`);
|
|
15356
15355
|
_for_of(runs(path, row$5.hits, cut, path.length), (r) => {
|
|
15357
15356
|
const $scope9_id = _scope_id();
|
|
15358
15357
|
_if(() => {
|
|
15359
15358
|
if (r.hit) {
|
|
15360
15359
|
const $scope10_id = _scope_id();
|
|
15361
|
-
_html(`<mark${_attr_class("
|
|
15360
|
+
_html(`<mark${_attr_class("_kr")}>${_text_resume($scope10_id, "b", r.text)}</mark>`);
|
|
15362
15361
|
writeScope($scope10_id, {});
|
|
15363
15362
|
return 0;
|
|
15364
15363
|
} else {
|
|
@@ -15370,13 +15369,13 @@ var quick_open_default = _template("J", (input$4) => {
|
|
|
15370
15369
|
}, $scope9_id, "a", 1, 1, 1, 0, 1);
|
|
15371
15370
|
writeScope($scope9_id, { e: r?.text });
|
|
15372
15371
|
}, 0, $scope3_id, "d", 1, 1, 1, "</span>");
|
|
15373
|
-
_html(`<span${_attr_class("
|
|
15372
|
+
_html(`<span${_attr_class("_kq")}>`);
|
|
15374
15373
|
_for_of(runs(path, row$5.hits, 0, Math.max(0, cut - 1)), (r) => {
|
|
15375
15374
|
const $scope12_id = _scope_id();
|
|
15376
15375
|
_if(() => {
|
|
15377
15376
|
if (r.hit) {
|
|
15378
15377
|
const $scope13_id = _scope_id();
|
|
15379
|
-
_html(`<mark${_attr_class("
|
|
15378
|
+
_html(`<mark${_attr_class("_kr")}>${_text_resume($scope13_id, "b", r.text)}</mark>`);
|
|
15380
15379
|
writeScope($scope13_id, {});
|
|
15381
15380
|
return 0;
|
|
15382
15381
|
} else {
|
|
@@ -15399,8 +15398,8 @@ var quick_open_default = _template("J", (input$4) => {
|
|
|
15399
15398
|
_if(() => {
|
|
15400
15399
|
if (parsed.line && i === at) {
|
|
15401
15400
|
const $scope6_id = _scope_id();
|
|
15402
|
-
_html(`<span${_attr_class("
|
|
15403
|
-
_subscribe($parsed_line__closures, writeScope($scope6_id, {
|
|
15401
|
+
_html(`<span${_attr_class("_ks")}>:${_text_resume($scope6_id, "b", parsed.line, 2)}</span>`);
|
|
15402
|
+
_subscribe($parsed_line__closures, writeScope($scope6_id, { Ca8: 1 }));
|
|
15404
15403
|
return 0;
|
|
15405
15404
|
}
|
|
15406
15405
|
}, $scope3_id, "g", 1, 1, 1, 0, 1);
|
|
@@ -15409,20 +15408,20 @@ var quick_open_default = _template("J", (input$4) => {
|
|
|
15409
15408
|
_subscribe($at__closures, _subscribe($rows__closures, _subscribe($parsed_line__closures, _subscribe($parsed_query__closures, writeScope($scope3_id, {
|
|
15410
15409
|
n: row$5?.item?.hint,
|
|
15411
15410
|
o: i,
|
|
15412
|
-
|
|
15411
|
+
Ca9: 1
|
|
15413
15412
|
})))));
|
|
15414
15413
|
}, (r) => `${r.more ? "+" : ""}${r.item.key}`, $scope2_id, "f", 1, 1, 1, "</ul>");
|
|
15415
15414
|
_if(() => {
|
|
15416
15415
|
if (!rows.length) {
|
|
15417
15416
|
const $scope5_id = _scope_id();
|
|
15418
|
-
_html(`<p${_attr_class("
|
|
15419
|
-
_subscribe($parsed_query__closures, _subscribe($si__input_loading && $input_loading__closures, writeScope($scope5_id, {
|
|
15417
|
+
_html(`<p${_attr_class("_cX")}>${_text_resume($scope5_id, "b", input$4.loading ? "Loading files…" : parsed.query ? `No file matches “${_to_text(parsed.query)}”.` : "Type part of a file's name. Add :42 to open it at line 42.")}</p>`);
|
|
15418
|
+
_subscribe($parsed_query__closures, _subscribe($si__input_loading && $input_loading__closures, writeScope($scope5_id, { Ca7: 1 })));
|
|
15420
15419
|
return 0;
|
|
15421
15420
|
}
|
|
15422
15421
|
}, $scope2_id, "g", 1, 1, 1, 0, 1);
|
|
15423
15422
|
_script($scope2_id, "J5");
|
|
15424
15423
|
_script($scope2_id, "J6");
|
|
15425
|
-
_subscribe($rows_length__closures, _subscribe($rows__closures, _subscribe($query__closures,
|
|
15424
|
+
_subscribe($rows_length__closures, _subscribe($rows__closures, _subscribe($query__closures, writeScope($scope2_id, {}))));
|
|
15426
15425
|
return 0;
|
|
15427
15426
|
}
|
|
15428
15427
|
}, $scope1_id, "a");
|
|
@@ -15436,30 +15435,28 @@ var quick_open_default = _template("J", (input$4) => {
|
|
|
15436
15435
|
h: input$4.recent,
|
|
15437
15436
|
i: input$4.more,
|
|
15438
15437
|
j: input$4.onPick,
|
|
15439
|
-
k: input$4.
|
|
15440
|
-
l: input$4.
|
|
15441
|
-
|
|
15442
|
-
p:
|
|
15443
|
-
q:
|
|
15444
|
-
|
|
15445
|
-
|
|
15446
|
-
v:
|
|
15447
|
-
w: rows,
|
|
15448
|
-
|
|
15449
|
-
z:
|
|
15450
|
-
|
|
15451
|
-
|
|
15452
|
-
|
|
15453
|
-
|
|
15454
|
-
|
|
15455
|
-
a9: $
|
|
15456
|
-
ab: $
|
|
15457
|
-
|
|
15458
|
-
a5: $
|
|
15459
|
-
|
|
15460
|
-
|
|
15461
|
-
ac: $rows_length__closures,
|
|
15462
|
-
a6: $open__closures,
|
|
15438
|
+
k: input$4.more?.label,
|
|
15439
|
+
l: input$4.loading,
|
|
15440
|
+
o: query,
|
|
15441
|
+
p: hi,
|
|
15442
|
+
q: listId,
|
|
15443
|
+
s: parsed?.query,
|
|
15444
|
+
u: parsed?.line,
|
|
15445
|
+
v: rows,
|
|
15446
|
+
w: rows?.length,
|
|
15447
|
+
y: at,
|
|
15448
|
+
z: close$3,
|
|
15449
|
+
a1: pick,
|
|
15450
|
+
n: input$4.openChange || void 0,
|
|
15451
|
+
a2: $si__input_more_label && $input_more_label__closures,
|
|
15452
|
+
a8: $parsed_line__closures,
|
|
15453
|
+
a7: $parsed_query__closures,
|
|
15454
|
+
a9: $rows__closures,
|
|
15455
|
+
ab: $at__closures,
|
|
15456
|
+
a3: $si__input_loading && $input_loading__closures,
|
|
15457
|
+
a5: $query__closures,
|
|
15458
|
+
aa: $rows_length__closures,
|
|
15459
|
+
a4: $open__closures,
|
|
15463
15460
|
a: _existing_scope($childScope)
|
|
15464
15461
|
});
|
|
15465
15462
|
});
|
|
@@ -15531,7 +15528,7 @@ var diff_file_sheet_default = _template("p", (input) => {
|
|
|
15531
15528
|
_set_serialize_reason(139264);
|
|
15532
15529
|
const $childScope7 = _peek_scope_id();
|
|
15533
15530
|
modal_view_default({
|
|
15534
|
-
label: "
|
|
15531
|
+
label: "File tree",
|
|
15535
15532
|
class: ["_bI", "_kT"],
|
|
15536
15533
|
open,
|
|
15537
15534
|
openChange: _resume((_new_open) => {
|
|
@@ -15544,7 +15541,7 @@ var diff_file_sheet_default = _template("p", (input) => {
|
|
|
15544
15541
|
_if(() => {
|
|
15545
15542
|
if (open) {
|
|
15546
15543
|
const $scope2_id = _scope_id();
|
|
15547
|
-
_html(`<div${_attr_class("_kU")}><strong${_attr_class("_kS")}>
|
|
15544
|
+
_html(`<div${_attr_class("_kU")}><strong${_attr_class("_kS")}>File tree</strong><span${_attr_class("_N")}></span><button type=button${_attr_class([iconBtnLg, "_kR"])} title=Close aria-label=Close>`);
|
|
15548
15545
|
icon_xmark_default({ size: 16 });
|
|
15549
15546
|
_html(`</button>${_el_resume($scope2_id, "d")}</div><div${_attr_class("_k9")}>`);
|
|
15550
15547
|
_set_serialize_reason(2);
|
|
@@ -15583,7 +15580,7 @@ var diff_file_sheet_default = _template("p", (input) => {
|
|
|
15583
15580
|
"_kX",
|
|
15584
15581
|
"_kY",
|
|
15585
15582
|
{ ["_kZ"]: sub }
|
|
15586
|
-
])} aria-expanded=true
|
|
15583
|
+
])} aria-expanded=true${_attr("title", `Fold ${section.label}`)}><span${_attr_class("_k0")} aria-hidden=true>`);
|
|
15587
15584
|
icon_chevron_right_default({ size: 12 });
|
|
15588
15585
|
_html("</span>");
|
|
15589
15586
|
_if(() => {
|
|
@@ -15605,10 +15602,10 @@ var diff_file_sheet_default = _template("p", (input) => {
|
|
|
15605
15602
|
_set_serialize_reason($sg__input_sections__OR__input_folded << 1 | $sg__input_sections__OR__input_folded << 3 | $sg__input_sections__OR__input_folded << 5 | $sg__input_sections__OR__input_folded << 7 | $sg__input_sections__OR__input_folded << 9 | $sg__input_sections__OR__input_folded << 11);
|
|
15606
15603
|
const $childScope3 = _peek_scope_id();
|
|
15607
15604
|
review_compare_default({ compare: section.compare });
|
|
15608
|
-
$si__input_sections__OR__input_folded && _subscribe($
|
|
15605
|
+
$si__input_sections__OR__input_folded && _subscribe($for_content__section_compare__closures, _subscribe($for_content__section_label__closures, writeScope($scope10_id, {
|
|
15609
15606
|
_: _scope_with_id($scope5_id),
|
|
15610
15607
|
c: _existing_scope($childScope3),
|
|
15611
|
-
|
|
15608
|
+
Cp: 1
|
|
15612
15609
|
})));
|
|
15613
15610
|
return 1;
|
|
15614
15611
|
}
|
|
@@ -15693,12 +15690,12 @@ var diff_file_sheet_default = _template("p", (input) => {
|
|
|
15693
15690
|
_html("</div>");
|
|
15694
15691
|
_subscribe($si__input_sections_length && $many__closures, _subscribe($si__input_detail && $input_detail__closures, writeScope($scope4_id, {
|
|
15695
15692
|
j: section?.id,
|
|
15696
|
-
k: $si__input_sections__OR__input_folded && section?.
|
|
15697
|
-
l: $si__input_sections__OR__input_folded && section?.
|
|
15693
|
+
k: $si__input_sections__OR__input_folded && section?.label,
|
|
15694
|
+
l: $si__input_sections__OR__input_folded && section?.compare,
|
|
15698
15695
|
m: $si__input_sections_length && count,
|
|
15699
15696
|
_: _scope_with_id($scope2_id),
|
|
15700
|
-
|
|
15701
|
-
|
|
15697
|
+
p: $si__input_sections__OR__input_folded && $for_content__section_compare__closures,
|
|
15698
|
+
o: $si__input_sections__OR__input_folded && $for_content__section_label__closures
|
|
15702
15699
|
})));
|
|
15703
15700
|
}, "id", $scope2_id, "j", $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded, 0, 1);
|
|
15704
15701
|
_if(() => {
|
|
@@ -15796,7 +15793,6 @@ var review_view_default = _template("S", (input) => {
|
|
|
15796
15793
|
const $scope0_id = _scope_id();
|
|
15797
15794
|
const $findFocus_getter = _hoist($scope0_id, "S41");
|
|
15798
15795
|
const $error__closures = /* @__PURE__ */ new Set();
|
|
15799
|
-
const $scope__closures = /* @__PURE__ */ new Set();
|
|
15800
15796
|
const $onlyNew__closures = /* @__PURE__ */ new Set();
|
|
15801
15797
|
const $viewFiles__closures = /* @__PURE__ */ new Set();
|
|
15802
15798
|
const $viewFiles_length__closures = /* @__PURE__ */ new Set();
|
|
@@ -15932,7 +15928,7 @@ var review_view_default = _template("S", (input) => {
|
|
|
15932
15928
|
seen.add(c.sha);
|
|
15933
15929
|
out.push({
|
|
15934
15930
|
sha: c.sha,
|
|
15935
|
-
label: `${r.worktree}
|
|
15931
|
+
label: `${r.worktree} · ${shortSha(c.sha, 7)} ${c.subject}`
|
|
15936
15932
|
});
|
|
15937
15933
|
}
|
|
15938
15934
|
if (rev && !seen.has(rev)) out.unshift({
|
|
@@ -16046,7 +16042,7 @@ var review_view_default = _template("S", (input) => {
|
|
|
16046
16042
|
}
|
|
16047
16043
|
} catch (err) {
|
|
16048
16044
|
if (seq !== loadBox.seq) return;
|
|
16049
|
-
error = errText$8(err)
|
|
16045
|
+
error = `Loading diff failed: ${errText$8(err)}`;
|
|
16050
16046
|
} finally {
|
|
16051
16047
|
if (seq === loadBox.seq) loading = false;
|
|
16052
16048
|
}
|
|
@@ -16176,7 +16172,7 @@ var review_view_default = _template("S", (input) => {
|
|
|
16176
16172
|
});
|
|
16177
16173
|
comments = comments.some((c) => c.id === comment.id) ? comments : comments.concat(comment);
|
|
16178
16174
|
} catch (err) {
|
|
16179
|
-
error = errText$8(err)
|
|
16175
|
+
error = `Add comment failed: ${errText$8(err)}`;
|
|
16180
16176
|
}
|
|
16181
16177
|
}, "S24", $scope0_id);
|
|
16182
16178
|
const removeComment = _resume(async (id) => {
|
|
@@ -16187,7 +16183,7 @@ var review_view_default = _template("S", (input) => {
|
|
|
16187
16183
|
await deleteComments$1(input.workspaceId, [id]);
|
|
16188
16184
|
} catch (err) {
|
|
16189
16185
|
if (!comments.some((c) => c.id === id)) comments = [...comments, gone].sort((a, b) => a.id - b.id);
|
|
16190
|
-
error = `
|
|
16186
|
+
error = `Remove comment failed: ${errText$8(err)}`;
|
|
16191
16187
|
}
|
|
16192
16188
|
}, "S25", $scope0_id);
|
|
16193
16189
|
const editComment = _resume(async (id, text) => {
|
|
@@ -16203,7 +16199,7 @@ var review_view_default = _template("S", (input) => {
|
|
|
16203
16199
|
await patchComment$1(input.workspaceId, id, trimmed);
|
|
16204
16200
|
} catch (err) {
|
|
16205
16201
|
comments = comments.map((c) => c.id === id ? prev : c);
|
|
16206
|
-
error = errText$8(err)
|
|
16202
|
+
error = `Edit comment failed: ${errText$8(err)}`;
|
|
16207
16203
|
throw err;
|
|
16208
16204
|
}
|
|
16209
16205
|
}, "S26", $scope0_id);
|
|
@@ -16215,7 +16211,7 @@ var review_view_default = _template("S", (input) => {
|
|
|
16215
16211
|
const text = commentMarkdown(list, repos);
|
|
16216
16212
|
if ("clipboard" in to) {
|
|
16217
16213
|
if (!await copyText(text)) {
|
|
16218
|
-
error = "Copy failed: the
|
|
16214
|
+
error = "Copy failed: the browser blocked the clipboard";
|
|
16219
16215
|
return false;
|
|
16220
16216
|
}
|
|
16221
16217
|
} else {
|
|
@@ -16232,12 +16228,12 @@ var review_view_default = _template("S", (input) => {
|
|
|
16232
16228
|
comments = comments.filter((c) => !gone.has(c.id));
|
|
16233
16229
|
}
|
|
16234
16230
|
if (consume === "all" || consume.length) await deleteComments$1(input.workspaceId, consume).catch((err) => {
|
|
16235
|
-
error =
|
|
16231
|
+
error = `${"clipboard" in to ? "Copied" : "Sent"}, but the comments are still saved: ${errText$8(err)}`;
|
|
16236
16232
|
loadReview();
|
|
16237
16233
|
});
|
|
16238
16234
|
return true;
|
|
16239
16235
|
} catch (err) {
|
|
16240
|
-
error = errText$8(err)
|
|
16236
|
+
error = `Send failed: ${errText$8(err)}`;
|
|
16241
16237
|
return false;
|
|
16242
16238
|
} finally {
|
|
16243
16239
|
sendGate.busy--;
|
|
@@ -16282,7 +16278,7 @@ var review_view_default = _template("S", (input) => {
|
|
|
16282
16278
|
else viewBox.scrollToLine(hit.key, hit.line, hit.side);
|
|
16283
16279
|
}, 0);
|
|
16284
16280
|
};
|
|
16285
|
-
_html(`<div${_attr_class("
|
|
16281
|
+
_html(`<div${_attr_class("_hb")}><div${_attr_class("_hf")}><div${_attr_class("_hM")}><div${_attr_class("_hg")}><div${_attr_class("_ho")}>`);
|
|
16286
16282
|
_set_serialize_reason(_serialize_guard($scope0_reason, 10) << 1 | _serialize_guard($scope0_reason, 11) << 3 | _serialize_guard($scope0_reason, 0) << 5);
|
|
16287
16283
|
const $childScope = _peek_scope_id();
|
|
16288
16284
|
review_mode_default({
|
|
@@ -16290,7 +16286,7 @@ var review_view_default = _template("S", (input) => {
|
|
|
16290
16286
|
changesHref: input.changesHref,
|
|
16291
16287
|
filesHref: input.filesHref
|
|
16292
16288
|
});
|
|
16293
|
-
_html(`</div><div${_attr_class(["
|
|
16289
|
+
_html(`</div><div${_attr_class(["_he", "_hL"])}><button${_attr_class([iconBtnRow, "_hd"])} title="Refresh diff"${_attr("disabled", loading)}>`);
|
|
16294
16290
|
_set_serialize_reason(2);
|
|
16295
16291
|
const $childScope2 = _peek_scope_id();
|
|
16296
16292
|
icon_refresh_default({
|
|
@@ -16300,27 +16296,27 @@ var review_view_default = _template("S", (input) => {
|
|
|
16300
16296
|
_html(`</button>${_el_resume($scope0_id, "h")}`);
|
|
16301
16297
|
_if(() => {
|
|
16302
16298
|
if (hasFiles) {
|
|
16303
|
-
const $
|
|
16299
|
+
const $scope8_id = _scope_id();
|
|
16304
16300
|
_html(`<button${_attr_class([
|
|
16305
16301
|
iconBtnRow,
|
|
16306
|
-
"
|
|
16307
|
-
"
|
|
16308
|
-
])}
|
|
16302
|
+
"_hd",
|
|
16303
|
+
"_hx"
|
|
16304
|
+
])} title="Show file tree"${_attr("aria-label", `Show file tree (${shownFiles.length} files)`)}><span${_attr_class("_w")} aria-hidden=true>`);
|
|
16309
16305
|
icon_folder_default({
|
|
16310
16306
|
size: 18,
|
|
16311
16307
|
class: "_x"
|
|
16312
16308
|
});
|
|
16313
|
-
_html(`<span${_attr_class([glyphBadgeNum, "
|
|
16314
|
-
_script($
|
|
16315
|
-
writeScope($
|
|
16309
|
+
_html(`<span${_attr_class([glyphBadgeNum, "_hy"])}>${_text_resume($scope8_id, "e", shownFiles.length > 99 ? "99+" : shownFiles.length)}</span></span></button>${_el_resume($scope8_id, "a")}`);
|
|
16310
|
+
_script($scope8_id, "S42");
|
|
16311
|
+
writeScope($scope8_id, {});
|
|
16316
16312
|
return 0;
|
|
16317
16313
|
}
|
|
16318
16314
|
}, $scope0_id, "j", 1, 1, 1, 0, 1);
|
|
16319
|
-
_html(`<span${_attr_class("
|
|
16315
|
+
_html(`<span${_attr_class("_hp")}><button${_attr_class([
|
|
16320
16316
|
iconBtnRow,
|
|
16321
|
-
"
|
|
16322
|
-
{ ["
|
|
16323
|
-
])}${_attr("title",
|
|
16317
|
+
"_hd",
|
|
16318
|
+
{ ["_hc"]: !!rev }
|
|
16319
|
+
])}${_attr("title", `Compare: ${compareLabel}\n${compareTitle}`)} aria-label=Compare${_attr("disabled", loading)}>`);
|
|
16324
16320
|
icon_branch_default({ size: 14 });
|
|
16325
16321
|
_html(`</button>${_el_resume($scope0_id, "l")}`);
|
|
16326
16322
|
_attr_select_value($scope0_id, "n", rev ? `rev:${rev}` : scope, _resume(function(v) {
|
|
@@ -16329,20 +16325,20 @@ var review_view_default = _template("S", (input) => {
|
|
|
16329
16325
|
_html(`<select${_attr_class("_T")} aria-label=Compare tabindex=-1${_attr("disabled", loading)}><option${_attr_option_value("committed")}>Committed</option><option${_attr_option_value("working")}>Working tree</option><option${_attr_option_value("dirty")}>Uncommitted</option>`);
|
|
16330
16326
|
_if(() => {
|
|
16331
16327
|
if (commitOptions.length) {
|
|
16332
|
-
const $
|
|
16328
|
+
const $scope13_id = _scope_id();
|
|
16333
16329
|
_html("<optgroup label=Commits>");
|
|
16334
16330
|
_for_of(commitOptions, (c) => {
|
|
16335
|
-
const $
|
|
16336
|
-
_html(`<option${_attr_option_value(`rev:${c.sha}`)}>${_text_resume($
|
|
16337
|
-
writeScope($
|
|
16338
|
-
}, "sha", $
|
|
16339
|
-
writeScope($
|
|
16331
|
+
const $scope14_id = _scope_id();
|
|
16332
|
+
_html(`<option${_attr_option_value(`rev:${c.sha}`)}>${_text_resume($scope14_id, "b", c.label)}</option>${_el_resume($scope14_id, "a")}`);
|
|
16333
|
+
writeScope($scope14_id, {});
|
|
16334
|
+
}, "sha", $scope13_id, "a", 1, 1, 1, "</optgroup>", 1);
|
|
16335
|
+
writeScope($scope13_id, {});
|
|
16340
16336
|
return 0;
|
|
16341
16337
|
}
|
|
16342
16338
|
}, $scope0_id, "o", 1, 1, 1, 0, 1);
|
|
16343
16339
|
_html("</select>");
|
|
16344
16340
|
});
|
|
16345
|
-
_html(`${_el_resume($scope0_id, "n")}</span> <div${_attr_class(["
|
|
16341
|
+
_html(`${_el_resume($scope0_id, "n")}</span> <div${_attr_class(["_hn", { ["_hm"]: !findOpen }])}>`);
|
|
16346
16342
|
_set_serialize_reason(2);
|
|
16347
16343
|
const $childScope3 = _peek_scope_id();
|
|
16348
16344
|
let findFocus = diff_find_default({
|
|
@@ -16361,39 +16357,39 @@ var review_view_default = _template("S", (input) => {
|
|
|
16361
16357
|
_html(`</div>${_el_resume($scope0_id, "p")}`);
|
|
16362
16358
|
_if(() => {
|
|
16363
16359
|
if (hasFiles) {
|
|
16364
|
-
const $
|
|
16365
|
-
_html(`<button${_attr_class(findBtn)} title="Find in review (
|
|
16360
|
+
const $scope9_id = _scope_id();
|
|
16361
|
+
_html(`<button${_attr_class(findBtn)} title="Find in review (⌘F / Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
|
|
16366
16362
|
icon_search_default({ size: 14 });
|
|
16367
|
-
_html(`</button>${_el_resume($
|
|
16368
|
-
_script($
|
|
16369
|
-
writeScope($
|
|
16363
|
+
_html(`</button>${_el_resume($scope9_id, "a")}`);
|
|
16364
|
+
_script($scope9_id, "S44");
|
|
16365
|
+
writeScope($scope9_id, {});
|
|
16370
16366
|
return 0;
|
|
16371
16367
|
}
|
|
16372
16368
|
}, $scope0_id, "s", 1, 1, 1, 0, 1);
|
|
16373
16369
|
_html("</div>");
|
|
16374
16370
|
_if(() => {
|
|
16375
16371
|
if (stripSections.length > 1) {
|
|
16376
|
-
const $
|
|
16372
|
+
const $scope10_id = _scope_id();
|
|
16377
16373
|
_set_serialize_reason(2218);
|
|
16378
16374
|
const $childScope4 = _peek_scope_id();
|
|
16379
16375
|
review_sections_default({
|
|
16380
|
-
class: "
|
|
16376
|
+
class: "_hi",
|
|
16381
16377
|
sections: stripSections,
|
|
16382
16378
|
focus: focusId,
|
|
16383
16379
|
spy: focusId ? null : activeRepo,
|
|
16384
16380
|
total: listFiles.length,
|
|
16385
16381
|
onPick: pickSection
|
|
16386
16382
|
});
|
|
16387
|
-
writeScope($
|
|
16383
|
+
writeScope($scope10_id, { a: _existing_scope($childScope4) });
|
|
16388
16384
|
return 0;
|
|
16389
16385
|
} else if (!repos && diffFocus(input.workspaceId) != null) {
|
|
16390
|
-
const $
|
|
16391
|
-
_html(`<div${_attr_class(["
|
|
16392
|
-
writeScope($
|
|
16386
|
+
const $scope15_id = _scope_id();
|
|
16387
|
+
_html(`<div${_attr_class(["_hi", "_hj"])} aria-hidden=true></div>`);
|
|
16388
|
+
writeScope($scope15_id, {});
|
|
16393
16389
|
return 1;
|
|
16394
16390
|
}
|
|
16395
16391
|
}, $scope0_id, "t", 1, 1, 1, 0, 1);
|
|
16396
|
-
_html(`<span${_attr_class("
|
|
16392
|
+
_html(`<span${_attr_class("_hh")}>`);
|
|
16397
16393
|
_set_serialize_reason(34 | _serialize_guard($scope0_reason, 12) << 3);
|
|
16398
16394
|
const $childScope5 = _peek_scope_id();
|
|
16399
16395
|
diff_send_default({
|
|
@@ -16402,7 +16398,7 @@ var review_view_default = _template("S", (input) => {
|
|
|
16402
16398
|
onCopy: copyMarkdown,
|
|
16403
16399
|
onSend: sendTo
|
|
16404
16400
|
});
|
|
16405
|
-
_html(`</span></div><div${_attr_class("
|
|
16401
|
+
_html(`</span></div><div${_attr_class("_hz")}>`);
|
|
16406
16402
|
_if(() => {
|
|
16407
16403
|
if (error) {
|
|
16408
16404
|
const $scope3_id = _scope_id();
|
|
@@ -16422,59 +16418,54 @@ var review_view_default = _template("S", (input) => {
|
|
|
16422
16418
|
}
|
|
16423
16419
|
}, $scope0_id, "x", 1, 1, 1, 0, 1);
|
|
16424
16420
|
_for_of(repoList.filter((r) => r.baseMissing), (repo) => {
|
|
16425
|
-
const $
|
|
16426
|
-
const $for_content__repo_base__closures = /* @__PURE__ */ new Set();
|
|
16421
|
+
const $scope16_id = _scope_id();
|
|
16427
16422
|
_set_serialize_reason(35336);
|
|
16428
16423
|
const $childScope6 = _peek_scope_id();
|
|
16429
16424
|
toast_default({
|
|
16430
16425
|
kind: "warn",
|
|
16431
16426
|
placement: "inline",
|
|
16432
|
-
title: `${repo.worktree}: base not found`,
|
|
16427
|
+
title: `${repo.worktree}: base ${repo.base} not found`,
|
|
16433
16428
|
content: _content("S46", () => {
|
|
16434
16429
|
_scope_reason();
|
|
16435
|
-
|
|
16436
|
-
_html(
|
|
16437
|
-
|
|
16438
|
-
}, $scope7_id)
|
|
16439
|
-
});
|
|
16440
|
-
writeScope($scope7_id, {
|
|
16441
|
-
f: $for_content__repo_base__closures,
|
|
16442
|
-
a: _existing_scope($childScope6)
|
|
16430
|
+
_scope_id();
|
|
16431
|
+
_html("Committed changes can't be shown.");
|
|
16432
|
+
}, $scope16_id)
|
|
16443
16433
|
});
|
|
16434
|
+
writeScope($scope16_id, { a: _existing_scope($childScope6) });
|
|
16444
16435
|
}, "id", $scope0_id, "y", 1, 1, 1, 0, 1);
|
|
16445
16436
|
_if(() => {
|
|
16446
16437
|
if (repos && !allFiles.length) {
|
|
16447
|
-
const $
|
|
16448
|
-
_html(`<p${_attr_class("
|
|
16449
|
-
writeScope($
|
|
16438
|
+
const $scope7_id = _scope_id();
|
|
16439
|
+
_html(`<p${_attr_class("_ds")}>${_text_resume($scope7_id, "b", !repoList.length ? "This workspace has no repos to review." : rev ? "This commit is not in any of these repos." : repoList.some((r) => r.unborn) ? "No commits yet." : scope === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base.")}</p>`);
|
|
16440
|
+
writeScope($scope7_id, {});
|
|
16450
16441
|
return 0;
|
|
16451
16442
|
} else if (repos && !listFiles.length && !findState.hit) {
|
|
16452
16443
|
const $scope5_id = _scope_id();
|
|
16453
|
-
_html(`<p${_attr_class("
|
|
16444
|
+
_html(`<p${_attr_class("_ds")}>${_text_resume($scope5_id, "b", findState.query.trim() ? "No matches in review." : onlyNew && !fileFilter ? "Nothing changed since your last visit." : `No files match "${fileFilter}".`)}</p>`);
|
|
16454
16445
|
writeScope($scope5_id, {});
|
|
16455
16446
|
return 1;
|
|
16456
16447
|
} else if (repos && focusId && !shownFiles.length) {
|
|
16457
|
-
const $
|
|
16448
|
+
const $scope12_id = _scope_id();
|
|
16458
16449
|
const elsewhere = listFiles.length === 1 ? "1 file does" : `${num(listFiles.length)} files do`;
|
|
16459
|
-
_html(`<p${_attr_class("
|
|
16460
|
-
writeScope($
|
|
16450
|
+
_html(`<p${_attr_class("_ds")}>Nothing here matches: ${_text_resume($scope12_id, "b", elsewhere, 2)} in the other sections.</p>`);
|
|
16451
|
+
writeScope($scope12_id, {});
|
|
16461
16452
|
return 2;
|
|
16462
16453
|
} else if (repos && !shownFiles.length) {
|
|
16463
|
-
const $
|
|
16464
|
-
_html(`<div${_attr_class("
|
|
16465
|
-
_script($
|
|
16466
|
-
writeScope($
|
|
16454
|
+
const $scope11_id = _scope_id();
|
|
16455
|
+
_html(`<div${_attr_class("_ds")}><span>Every section is folded.</span><button${_attr_class("_r")}>Unfold all</button>${_el_resume($scope11_id, "b")}</div>`);
|
|
16456
|
+
_script($scope11_id, "S47");
|
|
16457
|
+
writeScope($scope11_id, {});
|
|
16467
16458
|
return 3;
|
|
16468
16459
|
}
|
|
16469
16460
|
}, $scope0_id, "z", 1, 1, 1, 0, 1);
|
|
16470
|
-
_html(`</div></div><div${_attr_class("
|
|
16461
|
+
_html(`</div></div><div${_attr_class("_hA")}><div${_attr_class("_hB")} data-diff-main></div>${_el_resume($scope0_id, "a1")}`);
|
|
16471
16462
|
_if(() => {
|
|
16472
16463
|
if (!repos && loading) {
|
|
16473
16464
|
const $scope18_id = _scope_id();
|
|
16474
|
-
_html(`<div${_attr_class(["
|
|
16465
|
+
_html(`<div${_attr_class(["_hr", "_hs"])} aria-hidden=true>`);
|
|
16475
16466
|
forTo(2, 0, 1, () => {
|
|
16476
16467
|
_scope_id();
|
|
16477
|
-
_html(`<div${_attr_class("
|
|
16468
|
+
_html(`<div${_attr_class("_hu")}><div${_attr_class(["_ht", "_hv"])}></div><div${_attr_class(["_ht", "_hw"])}></div></div>`);
|
|
16478
16469
|
});
|
|
16479
16470
|
_html("</div>");
|
|
16480
16471
|
writeScope($scope18_id, {});
|
|
@@ -16564,7 +16555,7 @@ var review_view_default = _template("S", (input) => {
|
|
|
16564
16555
|
_serialize_if($scope22_reason, 0) && writeScope($scope22_id, { a: _existing_scope($childScope9) });
|
|
16565
16556
|
}, $scope0_id) })
|
|
16566
16557
|
});
|
|
16567
|
-
_set_serialize_reason(
|
|
16558
|
+
_set_serialize_reason(34);
|
|
16568
16559
|
const $childScope11 = _peek_scope_id();
|
|
16569
16560
|
quick_open_default({
|
|
16570
16561
|
open: goOpen,
|
|
@@ -16586,7 +16577,6 @@ var review_view_default = _template("S", (input) => {
|
|
|
16586
16577
|
}));
|
|
16587
16578
|
})()
|
|
16588
16579
|
},
|
|
16589
|
-
placeholder: "Go to a changed file, or any file (name:line for a line)",
|
|
16590
16580
|
onPick: _resume(function(key, line, fromMore) {
|
|
16591
16581
|
if (fromMore) {
|
|
16592
16582
|
input.onOpenFile?.(key, line);
|
|
@@ -16768,27 +16758,26 @@ var review_view_default = _template("S", (input) => {
|
|
|
16768
16758
|
ef: setRev,
|
|
16769
16759
|
eh: pickCompare,
|
|
16770
16760
|
ej: markSeen,
|
|
16771
|
-
em:
|
|
16772
|
-
|
|
16773
|
-
|
|
16774
|
-
|
|
16775
|
-
|
|
16776
|
-
f2:
|
|
16777
|
-
f3:
|
|
16778
|
-
f4:
|
|
16779
|
-
|
|
16780
|
-
f7:
|
|
16781
|
-
f8:
|
|
16782
|
-
|
|
16783
|
-
|
|
16784
|
-
|
|
16785
|
-
fi:
|
|
16786
|
-
fj:
|
|
16787
|
-
|
|
16788
|
-
|
|
16789
|
-
fp: dockBox.
|
|
16790
|
-
|
|
16791
|
-
fs: dockFind,
|
|
16761
|
+
em: shownFiles,
|
|
16762
|
+
eo: shownFiles?.length,
|
|
16763
|
+
er: viewFiles?.length,
|
|
16764
|
+
ez: compareTitle,
|
|
16765
|
+
f1: fileWorktree,
|
|
16766
|
+
f2: anchorFor,
|
|
16767
|
+
f3: filesByKey,
|
|
16768
|
+
f4: fileByKey,
|
|
16769
|
+
f6: saveComment,
|
|
16770
|
+
f7: removeComment,
|
|
16771
|
+
f8: editComment,
|
|
16772
|
+
fa: sendGate.busy,
|
|
16773
|
+
fc: dispatch,
|
|
16774
|
+
fh: sendOneComment,
|
|
16775
|
+
fi: sendDraftComment,
|
|
16776
|
+
fj: openFind,
|
|
16777
|
+
fm: findFocus,
|
|
16778
|
+
fo: dockBox.home,
|
|
16779
|
+
fp: dockBox.raf,
|
|
16780
|
+
fr: dockFind,
|
|
16792
16781
|
bg: input.fileChange || void 0,
|
|
16793
16782
|
bl: input.findOpenChange || void 0,
|
|
16794
16783
|
bo: input.findTickChange || void 0,
|
|
@@ -16796,20 +16785,19 @@ var review_view_default = _template("S", (input) => {
|
|
|
16796
16785
|
i: _existing_scope($childScope2),
|
|
16797
16786
|
q: _existing_scope($childScope3),
|
|
16798
16787
|
v: _existing_scope($childScope5),
|
|
16799
|
-
|
|
16800
|
-
|
|
16801
|
-
|
|
16802
|
-
|
|
16803
|
-
|
|
16804
|
-
|
|
16805
|
-
|
|
16806
|
-
|
|
16807
|
-
fu: $
|
|
16808
|
-
|
|
16809
|
-
|
|
16810
|
-
|
|
16811
|
-
|
|
16812
|
-
ga: $sectionById__closures,
|
|
16788
|
+
fv: $error__closures,
|
|
16789
|
+
fy: $onlyNew__closures,
|
|
16790
|
+
ge: $viewFiles__closures,
|
|
16791
|
+
gf: $viewFiles_length__closures,
|
|
16792
|
+
gg: $viewListed_length__closures,
|
|
16793
|
+
gh: $totals_additions__closures,
|
|
16794
|
+
gi: $totals_deletions__closures,
|
|
16795
|
+
ft: $si__input_workspaceBranch && $input_workspaceBranch__closures,
|
|
16796
|
+
fu: $si__input_workspaceName && $input_workspaceName__closures,
|
|
16797
|
+
fw: $loading__closures,
|
|
16798
|
+
g6: $localDifferIds__closures,
|
|
16799
|
+
gc: $reload2__closures,
|
|
16800
|
+
g8: $sectionById__closures,
|
|
16813
16801
|
a3: _existing_scope($childScope10),
|
|
16814
16802
|
a4: _existing_scope($childScope11),
|
|
16815
16803
|
a5: _existing_scope($childScope13)
|
|
@@ -16834,7 +16822,7 @@ var comment_card_default = _template("k", (input) => {
|
|
|
16834
16822
|
j: live.sessions
|
|
16835
16823
|
});
|
|
16836
16824
|
});
|
|
16837
|
-
var note = "
|
|
16825
|
+
var note = "_j0 _bh";
|
|
16838
16826
|
//#endregion
|
|
16839
16827
|
//#region src/tags/files-tree.marko
|
|
16840
16828
|
var files_tree_default = _template("u", (input) => {
|
|
@@ -16850,13 +16838,13 @@ var files_tree_default = _template("u", (input) => {
|
|
|
16850
16838
|
w: 0
|
|
16851
16839
|
};
|
|
16852
16840
|
_html(`<div${_attr_class([
|
|
16853
|
-
"
|
|
16854
|
-
"
|
|
16841
|
+
"_cl",
|
|
16842
|
+
"_jZ",
|
|
16855
16843
|
{
|
|
16856
|
-
["
|
|
16857
|
-
["
|
|
16844
|
+
["_ck"]: input.open === false,
|
|
16845
|
+
["_jY"]: !!input.phoneOpen
|
|
16858
16846
|
}
|
|
16859
|
-
])}><div${_attr_class(["
|
|
16847
|
+
])}><div${_attr_class(["_cK", { ["_cJ"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class(["_cm", { ["_co"]: !!filter && !editing }])}>`);
|
|
16860
16848
|
_if(() => {
|
|
16861
16849
|
if (editing) {
|
|
16862
16850
|
const $scope2_id = _scope_id();
|
|
@@ -16876,13 +16864,13 @@ var files_tree_default = _template("u", (input) => {
|
|
|
16876
16864
|
return 0;
|
|
16877
16865
|
} else {
|
|
16878
16866
|
const $scope1_id = _scope_id();
|
|
16879
|
-
_html(`<div${_attr_class(["
|
|
16867
|
+
_html(`<div${_attr_class(["_cn", "_j1"])}>${_text_resume($scope1_id, "b", filter?.trim() ? `${_to_text(num(shown.length))} of ${_to_text(num(input.paths.length))} files` : `${_to_text(num(input.paths.length))} files`)}</div>`);
|
|
16880
16868
|
_if(() => {
|
|
16881
16869
|
if (filter) {
|
|
16882
16870
|
const $scope3_id = _scope_id();
|
|
16883
|
-
_html(`<button type=button${_attr_class(filterChip)}${_attr("title", `
|
|
16871
|
+
_html(`<button type=button${_attr_class(filterChip)}${_attr("title", `Edit the filter: ${filter}`)}>`);
|
|
16884
16872
|
icon_filter_default({ size: 12 });
|
|
16885
|
-
_html(`<span${_attr_class("
|
|
16873
|
+
_html(`<span${_attr_class("_cq")}>${_text_resume($scope3_id, "d", filter)}</span></button>${_el_resume($scope3_id, "a")}<button type=button${_attr_class(filterBtn)} title="Clear the filter" aria-label="Clear the filter">`);
|
|
16886
16874
|
icon_xmark_default({ size: 12 });
|
|
16887
16875
|
_html(`</button>${_el_resume($scope3_id, "e")}`);
|
|
16888
16876
|
_script($scope3_id, "u2");
|
|
@@ -16905,12 +16893,12 @@ var files_tree_default = _template("u", (input) => {
|
|
|
16905
16893
|
_if(() => {
|
|
16906
16894
|
if (input.truncated) {
|
|
16907
16895
|
const $scope5_id = _scope_id();
|
|
16908
|
-
_html(`<p${_attr_class(note)}>A repo
|
|
16896
|
+
_html(`<p${_attr_class(note)}>A repo has too many files: only its first ${_escape(num(1e5))} are listed.</p>`);
|
|
16909
16897
|
_serialize_if($scope0_reason, 4) && writeScope($scope5_id, {});
|
|
16910
16898
|
return 0;
|
|
16911
16899
|
}
|
|
16912
16900
|
}, $scope0_id, "d", $sg__input_truncated, $sg__input_truncated, 1, 0, 1);
|
|
16913
|
-
_html(`<div${_attr_class(["
|
|
16901
|
+
_html(`<div${_attr_class(["_cI", "_cH"])}></div>${_el_resume($scope0_id, "e")}</div>${_el_resume($scope0_id, "a")}`);
|
|
16914
16902
|
_script($scope0_id, "u4");
|
|
16915
16903
|
_script($scope0_id, "u5");
|
|
16916
16904
|
writeScope($scope0_id, {
|
|
@@ -16997,7 +16985,7 @@ var files_view_default = _template("v", (input) => {
|
|
|
16997
16985
|
const next = await api$5(`/api/workspaces/${input.workspaceId}/files`);
|
|
16998
16986
|
if (mine === seq.files) repos = next;
|
|
16999
16987
|
} catch (err) {
|
|
17000
|
-
if (mine === seq.files) error = errText$7(err)
|
|
16988
|
+
if (mine === seq.files) error = `Loading files failed: ${errText$7(err)}`;
|
|
17001
16989
|
}
|
|
17002
16990
|
}, "v0", $scope0_id);
|
|
17003
16991
|
const loadDoc = _resume(async (key) => {
|
|
@@ -17031,7 +17019,7 @@ var files_view_default = _template("v", (input) => {
|
|
|
17031
17019
|
if (mine === seq.doc) doc = {
|
|
17032
17020
|
key,
|
|
17033
17021
|
kind: "none",
|
|
17034
|
-
why: errText$7(err)
|
|
17022
|
+
why: `Open failed: ${errText$7(err)}`
|
|
17035
17023
|
};
|
|
17036
17024
|
} finally {
|
|
17037
17025
|
if (mine === seq.doc) opening$1 = false;
|
|
@@ -17070,7 +17058,7 @@ var files_view_default = _template("v", (input) => {
|
|
|
17070
17058
|
});
|
|
17071
17059
|
comments = comments.some((c) => c.id === comment.id) ? comments : comments.concat(comment);
|
|
17072
17060
|
} catch (err) {
|
|
17073
|
-
error = errText$7(err)
|
|
17061
|
+
error = `Add comment failed: ${errText$7(err)}`;
|
|
17074
17062
|
}
|
|
17075
17063
|
}, "v4", $scope0_id);
|
|
17076
17064
|
const removeComment = _resume(async (id) => {
|
|
@@ -17081,7 +17069,7 @@ var files_view_default = _template("v", (input) => {
|
|
|
17081
17069
|
await deleteComments(input.workspaceId, [id]);
|
|
17082
17070
|
} catch (err) {
|
|
17083
17071
|
if (!comments.some((c) => c.id === id)) comments = [...comments, gone].sort((a, b) => a.id - b.id);
|
|
17084
|
-
error = `
|
|
17072
|
+
error = `Remove comment failed: ${errText$7(err)}`;
|
|
17085
17073
|
}
|
|
17086
17074
|
}, "v5", $scope0_id);
|
|
17087
17075
|
const editComment = _resume(async (id, text) => {
|
|
@@ -17096,7 +17084,7 @@ var files_view_default = _template("v", (input) => {
|
|
|
17096
17084
|
await patchComment(input.workspaceId, id, trimmed);
|
|
17097
17085
|
} catch (err) {
|
|
17098
17086
|
comments = comments.map((c) => c.id === id ? prev : c);
|
|
17099
|
-
error = errText$7(err)
|
|
17087
|
+
error = `Edit comment failed: ${errText$7(err)}`;
|
|
17100
17088
|
throw err;
|
|
17101
17089
|
}
|
|
17102
17090
|
}, "v6", $scope0_id);
|
|
@@ -17106,7 +17094,7 @@ var files_view_default = _template("v", (input) => {
|
|
|
17106
17094
|
const text = commentMarkdown(list, null);
|
|
17107
17095
|
if ("clipboard" in to) {
|
|
17108
17096
|
if (!await copyText(text)) {
|
|
17109
|
-
error = "Copy failed: the
|
|
17097
|
+
error = "Copy failed: the browser blocked the clipboard";
|
|
17110
17098
|
return false;
|
|
17111
17099
|
}
|
|
17112
17100
|
} else {
|
|
@@ -17120,12 +17108,12 @@ var files_view_default = _template("v", (input) => {
|
|
|
17120
17108
|
const gone = consume === "all" ? null : new Set(consume);
|
|
17121
17109
|
comments = gone ? comments.filter((c) => !gone.has(c.id)) : [];
|
|
17122
17110
|
await deleteComments(input.workspaceId, consume).catch((err) => {
|
|
17123
|
-
error =
|
|
17111
|
+
error = `${"clipboard" in to ? "Copied" : "Sent"}, but the comments are still saved: ${errText$7(err)}`;
|
|
17124
17112
|
loadAllComments();
|
|
17125
17113
|
});
|
|
17126
17114
|
return true;
|
|
17127
17115
|
} catch (err) {
|
|
17128
|
-
error = errText$7(err)
|
|
17116
|
+
error = `Send failed: ${errText$7(err)}`;
|
|
17129
17117
|
return false;
|
|
17130
17118
|
}
|
|
17131
17119
|
}, "v7", $scope0_id);
|
|
@@ -17224,7 +17212,7 @@ var files_view_default = _template("v", (input) => {
|
|
|
17224
17212
|
const crumbDir = file ? dirOf(file) : "";
|
|
17225
17213
|
const crumbName$1 = file ? nameOf(file) : "";
|
|
17226
17214
|
const recent$1 = filesRecent(input.workspaceId).filter((k) => paths.includes(k));
|
|
17227
|
-
_html(`<div${_attr_class(["
|
|
17215
|
+
_html(`<div${_attr_class(["_gL", { ["_gM"]: browsing || !file }])}><div${_attr_class("_gN")}><div${_attr_class("_gO")}>`);
|
|
17228
17216
|
_set_serialize_reason(_serialize_guard($scope0_reason, 6) << 1 | _serialize_guard($scope0_reason, 7) << 3 | _serialize_guard($scope0_reason, 0) << 5);
|
|
17229
17217
|
const $childScope = _peek_scope_id();
|
|
17230
17218
|
review_mode_default({
|
|
@@ -17232,24 +17220,23 @@ var files_view_default = _template("v", (input) => {
|
|
|
17232
17220
|
changesHref: input.changesHref,
|
|
17233
17221
|
filesHref: input.filesHref
|
|
17234
17222
|
});
|
|
17235
|
-
_html(`<button type=button${_attr_class([iconBtnRow, "
|
|
17223
|
+
_html(`<button type=button${_attr_class([iconBtnRow, "_g3"])} title="Show file tree" aria-label="Show file tree">`);
|
|
17236
17224
|
icon_folder_default({ size: 16 });
|
|
17237
17225
|
_html(`</button>${_el_resume($scope0_id, "e")}`);
|
|
17238
17226
|
_if(() => {
|
|
17239
17227
|
if (file) {
|
|
17240
17228
|
const $scope6_id = _scope_id();
|
|
17241
|
-
_html(`<span${_attr_class("
|
|
17229
|
+
_html(`<span${_attr_class("_gQ")}><span${_attr_class("_gP")}${_attr("title", file)}><bdi>${_text_resume($scope6_id, "c", crumbDir)}<span${_attr_class("_gR")}>${_text_resume($scope6_id, "e", crumbName$1)}</span></bdi></span>${_el_resume($scope6_id, "b")}`);
|
|
17242
17230
|
_set_serialize_reason(170);
|
|
17243
17231
|
const $childScope2 = _peek_scope_id();
|
|
17244
17232
|
copy_button_default({
|
|
17245
17233
|
text: file,
|
|
17246
|
-
label: "Copy path"
|
|
17247
|
-
title: "Copy the path"
|
|
17234
|
+
label: "Copy path"
|
|
17248
17235
|
});
|
|
17249
17236
|
_if(() => {
|
|
17250
17237
|
if (status.get(file)) {
|
|
17251
17238
|
const $scope7_id = _scope_id();
|
|
17252
|
-
_html(`<span${_attr_class(["_9", "_M"])} title=
|
|
17239
|
+
_html(`<span${_attr_class(["_9", "_M"])} title=Uncommitted>${_text_resume($scope7_id, "b", status.get(file) === "?" ? "untracked" : status.get(file) === "A" ? "added" : "modified")}</span>`);
|
|
17253
17240
|
_subscribe($status__closures, _subscribe($file__closures, writeScope($scope7_id, {})));
|
|
17254
17241
|
return 0;
|
|
17255
17242
|
}
|
|
@@ -17294,7 +17281,7 @@ var files_view_default = _template("v", (input) => {
|
|
|
17294
17281
|
return 0;
|
|
17295
17282
|
}
|
|
17296
17283
|
}, $scope0_id, "h", 1, 1, 1, 0, 1);
|
|
17297
|
-
_html(`<span${_attr_class("
|
|
17284
|
+
_html(`<span${_attr_class("_gS")}></span>`);
|
|
17298
17285
|
_set_serialize_reason(34 | _serialize_guard($scope0_reason, 8) << 3);
|
|
17299
17286
|
const $childScope4 = _peek_scope_id();
|
|
17300
17287
|
diff_send_default({
|
|
@@ -17325,21 +17312,21 @@ var files_view_default = _template("v", (input) => {
|
|
|
17325
17312
|
return 0;
|
|
17326
17313
|
}
|
|
17327
17314
|
}, $scope0_id, "m", 1, 1, 1, 0, 1);
|
|
17328
|
-
_html(`<div${_attr_class("
|
|
17315
|
+
_html(`<div${_attr_class("_gT")}>`);
|
|
17329
17316
|
_if(() => {
|
|
17330
17317
|
if (file && doc?.key === file && removedComments.length) {
|
|
17331
17318
|
const $scope1_id = _scope_id();
|
|
17332
|
-
_html(`<section${_attr_class("
|
|
17319
|
+
_html(`<section${_attr_class("_g4")} aria-label="Comments on removed lines"><div${_attr_class("_g5")}><span>Comments on removed lines</span><a${_attr_class("_6")}${_attr("href", `${input.changesHref.split("?")[0]}?file=${encodeURIComponent(file)}`)}>Show in Changes</a>${_el_resume($scope1_id, "c")}</div>`);
|
|
17333
17320
|
_for_of(removedComments, (c) => {
|
|
17334
17321
|
const $scope2_id = _scope_id();
|
|
17335
|
-
_html(`<div${_attr_class("
|
|
17322
|
+
_html(`<div${_attr_class("_g6")}>`);
|
|
17336
17323
|
_if(() => {
|
|
17337
17324
|
if (c.snippet) {
|
|
17338
17325
|
const $scope14_id = _scope_id();
|
|
17339
|
-
_html(`<pre${_attr_class("
|
|
17326
|
+
_html(`<pre${_attr_class("_g7")}>`);
|
|
17340
17327
|
_for_of(quoteRows(c.snippet), (r) => {
|
|
17341
17328
|
const $scope15_id = _scope_id();
|
|
17342
|
-
_html(`<span${_attr_class(r.removed && "
|
|
17329
|
+
_html(`<span${_attr_class(r.removed && "_g8")}>${_text_resume($scope15_id, "b", r.text)}
|
|
17343
17330
|
</span>${_el_resume($scope15_id, "a")}`);
|
|
17344
17331
|
writeScope($scope15_id, {});
|
|
17345
17332
|
}, 0, $scope14_id, "a", 1, 1, 1, "</pre>", 1);
|
|
@@ -17366,11 +17353,11 @@ var files_view_default = _template("v", (input) => {
|
|
|
17366
17353
|
return 0;
|
|
17367
17354
|
}
|
|
17368
17355
|
}, $scope0_id, "o", 1, 1, 1, 0, 1);
|
|
17369
|
-
_html(`<div${_attr_class(["
|
|
17356
|
+
_html(`<div${_attr_class(["_gU", switching && "_g9"])}${_attr("hidden", doc?.kind !== "text")}></div>${_el_resume($scope0_id, "p")}`);
|
|
17370
17357
|
_if(() => {
|
|
17371
17358
|
if (switching) {
|
|
17372
17359
|
const $scope16_id = _scope_id();
|
|
17373
|
-
_html(`<div${_attr_class("
|
|
17360
|
+
_html(`<div${_attr_class("_ha")} aria-hidden=true><span${_attr_class("_2")}></span></div>`);
|
|
17374
17361
|
writeScope($scope16_id, {});
|
|
17375
17362
|
return 0;
|
|
17376
17363
|
}
|
|
@@ -17378,14 +17365,14 @@ var files_view_default = _template("v", (input) => {
|
|
|
17378
17365
|
_if(() => {
|
|
17379
17366
|
if (!file) {
|
|
17380
17367
|
const $scope3_id = _scope_id();
|
|
17381
|
-
_html(`<div${_attr_class("
|
|
17368
|
+
_html(`<div${_attr_class("_gZ")}><p>Open a file from the tree, or go to one by name (⌘P / Ctrl+P).</p>`);
|
|
17382
17369
|
_if(() => {
|
|
17383
17370
|
if (recent$1.length) {
|
|
17384
17371
|
const $scope4_id = _scope_id();
|
|
17385
|
-
_html(`<ul${_attr_class("
|
|
17372
|
+
_html(`<ul${_attr_class("_g0")}>`);
|
|
17386
17373
|
_for_of(recent$1.slice(0, 8), (k) => {
|
|
17387
17374
|
const $scope5_id = _scope_id();
|
|
17388
|
-
_html(`<li><a${_attr_class("
|
|
17375
|
+
_html(`<li><a${_attr_class("_g1")}${_attr("href", `/w/${input.workspaceId}/files?file=${encodeURIComponent(k)}`)}>${_text_resume($scope5_id, "b", nameOf(k))}<span${_attr_class("_g2")}>${_text_resume($scope5_id, "d", dirOf(k))}</span></a>${_el_resume($scope5_id, "a")}</li>`);
|
|
17389
17376
|
_script($scope5_id, "v30");
|
|
17390
17377
|
_subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope5_id, { f: k }));
|
|
17391
17378
|
}, 0, $scope4_id, "a", 1, 1, 1, "</ul>", 1);
|
|
@@ -17398,18 +17385,18 @@ var files_view_default = _template("v", (input) => {
|
|
|
17398
17385
|
return 0;
|
|
17399
17386
|
} else if (doc?.kind === "image") {
|
|
17400
17387
|
const $scope8_id = _scope_id();
|
|
17401
|
-
_html(`<div${_attr_class("
|
|
17388
|
+
_html(`<div${_attr_class("_gV")}><img${_attr_class("_gX")}${_attr("src", doc.src)}${_attr("alt", file)}>${_el_resume($scope8_id, "b")}<span${_attr_class("_gW")}>${_text_resume($scope8_id, "d", sizeText)}</span></div>`);
|
|
17402
17389
|
_script($scope8_id, "v31");
|
|
17403
17390
|
writeScope($scope8_id, {});
|
|
17404
17391
|
return 1;
|
|
17405
17392
|
} else if (doc?.kind === "pdf") {
|
|
17406
17393
|
const $scope9_id = _scope_id();
|
|
17407
|
-
_html(`<div${_attr_class("
|
|
17394
|
+
_html(`<div${_attr_class("_gV")}><iframe${_attr_class("_gY")}${_attr("src", doc.src)}${_attr("title", file)}></iframe>${_el_resume($scope9_id, "b")}</div>`);
|
|
17408
17395
|
writeScope($scope9_id, {});
|
|
17409
17396
|
return 2;
|
|
17410
17397
|
} else if (doc?.kind === "none") {
|
|
17411
17398
|
const $scope10_id = _scope_id();
|
|
17412
|
-
_html(`<div${_attr_class("
|
|
17399
|
+
_html(`<div${_attr_class("_gZ")}><p>${_text_resume($scope10_id, "b", doc.why)}</p></div>`);
|
|
17413
17400
|
writeScope($scope10_id, {});
|
|
17414
17401
|
return 3;
|
|
17415
17402
|
}
|
|
@@ -17433,7 +17420,7 @@ var files_view_default = _template("v", (input) => {
|
|
|
17433
17420
|
openFile(k);
|
|
17434
17421
|
}, "v25", $scope0_id)
|
|
17435
17422
|
});
|
|
17436
|
-
_set_serialize_reason(
|
|
17423
|
+
_set_serialize_reason(130);
|
|
17437
17424
|
const $childScope7 = _peek_scope_id();
|
|
17438
17425
|
quick_open_default({
|
|
17439
17426
|
open: finding,
|
|
@@ -17668,7 +17655,7 @@ function parseInvite(text) {
|
|
|
17668
17655
|
}
|
|
17669
17656
|
if (!obj || typeof obj !== "object") throw new Error("not an invite");
|
|
17670
17657
|
if (Array.isArray(obj.workspaces)) {
|
|
17671
|
-
if (obj.workspaces.length !== 1) throw new Error(obj.workspaces.length ? "this is a whole backup — restore it from Settings, or paste one workspace entry" : "this backup holds no workspaces");
|
|
17658
|
+
if (obj.workspaces.length !== 1) throw new Error(obj.workspaces.length ? "this is a whole backup — restore it from Settings → Backup, or paste one workspace entry" : "this backup holds no workspaces");
|
|
17672
17659
|
obj = obj.workspaces[0];
|
|
17673
17660
|
if (!obj || typeof obj !== "object") throw new Error("not an invite");
|
|
17674
17661
|
}
|
|
@@ -17691,8 +17678,8 @@ function parseInvite(text) {
|
|
|
17691
17678
|
}
|
|
17692
17679
|
//#endregion
|
|
17693
17680
|
//#region src/tags/manage-workspace.css.ts
|
|
17694
|
-
var procCmd = "
|
|
17695
|
-
var factCopy = "
|
|
17681
|
+
var procCmd = "_gA _dW";
|
|
17682
|
+
var factCopy = "_gH _br _m";
|
|
17696
17683
|
//#endregion
|
|
17697
17684
|
//#region src/tags/icons/icon-group.marko
|
|
17698
17685
|
var icon_group_default = _template("Ib", (input) => {
|
|
@@ -17707,9 +17694,9 @@ var icon_group_default = _template("Ib", (input) => {
|
|
|
17707
17694
|
});
|
|
17708
17695
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
17709
17696
|
});
|
|
17710
|
-
var resultRow = "
|
|
17711
|
-
var resultBranch = "
|
|
17712
|
-
var urlAction = "
|
|
17697
|
+
var resultRow = "_jq _4";
|
|
17698
|
+
var resultBranch = "_jr _d1 _bi _bh _bo _m";
|
|
17699
|
+
var urlAction = "_js _d1 _bi _bh _d2";
|
|
17713
17700
|
//#endregion
|
|
17714
17701
|
//#region src/tags/branch-pick.marko
|
|
17715
17702
|
var branch_pick_default = _template("i", (input) => {
|
|
@@ -17722,11 +17709,11 @@ var branch_pick_default = _template("i", (input) => {
|
|
|
17722
17709
|
let branchFilter = "";
|
|
17723
17710
|
let reloadTick = 0;
|
|
17724
17711
|
let refreshing = false;
|
|
17725
|
-
_html(`<div${_attr_class("
|
|
17712
|
+
_html(`<div${_attr_class("_jt")}>`);
|
|
17726
17713
|
_if(() => {
|
|
17727
17714
|
{
|
|
17728
17715
|
const $scope4_id = _scope_id();
|
|
17729
|
-
_html(`<p${_attr_class("
|
|
17716
|
+
_html(`<p${_attr_class("_dr")}><span${_attr_class("_2")}></span> Loading branches…</p>`);
|
|
17730
17717
|
writeScope($scope4_id, {});
|
|
17731
17718
|
return 0;
|
|
17732
17719
|
}
|
|
@@ -17834,17 +17821,17 @@ var repo_picker_default = _template("L", (input) => {
|
|
|
17834
17821
|
}, $scope0_id) };
|
|
17835
17822
|
const addedList = [];
|
|
17836
17823
|
const hasBody = !!(pasted || results.length || filter && (!catalog || !pasted) || ssoPending.length || sheet);
|
|
17837
|
-
_html(`<button type=button${input.row ? _attr_class("
|
|
17824
|
+
_html(`<button type=button${input.row ? _attr_class("_ew") : _attr_class([iconBtnRow, "_R"])} title="Add a repo" aria-label="Add a repo"${_attr("hidden", open)}${_attr("disabled", input.disabled)}>`);
|
|
17838
17825
|
icon_plus_default({ size: 14 });
|
|
17839
17826
|
_html(`${_text_resume($scope0_id, "c", input.row ? "Add a repo" : "", $sg__input_row)}</button>${_el_resume($scope0_id, "a")}<div${_attr_class([
|
|
17840
|
-
"
|
|
17841
|
-
"
|
|
17842
|
-
input.row && "
|
|
17843
|
-
!open && "
|
|
17827
|
+
"_ei",
|
|
17828
|
+
"_ek",
|
|
17829
|
+
input.row && "_et",
|
|
17830
|
+
!open && "_ej"
|
|
17844
17831
|
])}><label${_attr_class([
|
|
17845
17832
|
"_bl",
|
|
17846
|
-
"
|
|
17847
|
-
input.row && "
|
|
17833
|
+
"_el",
|
|
17834
|
+
input.row && "_eu"
|
|
17848
17835
|
])}>`);
|
|
17849
17836
|
icon_search_default({
|
|
17850
17837
|
size: 14,
|
|
@@ -17857,13 +17844,13 @@ var repo_picker_default = _template("L", (input) => {
|
|
|
17857
17844
|
}, "L0", $scope0_id))}${_attr_class([
|
|
17858
17845
|
"_bj",
|
|
17859
17846
|
"_bn",
|
|
17860
|
-
"
|
|
17861
|
-
input.row && "
|
|
17847
|
+
"_em",
|
|
17848
|
+
input.row && "_ev"
|
|
17862
17849
|
])} placeholder=${input.row ? "\"Add a repo by name or clone URL\"" : "\"Add a repo…\""} aria-label="Add a repo"${_attr("disabled", input.disabled)}>${_el_resume($scope0_id, "g")}</label>${_el_resume($scope0_id, "e", $sg__input_row)}`);
|
|
17863
17850
|
_if(() => {
|
|
17864
17851
|
if (input.row) {
|
|
17865
17852
|
const $scope6_id = _scope_id();
|
|
17866
|
-
_html(`<button type=button${_attr_class([chipBtn, "
|
|
17853
|
+
_html(`<button type=button${_attr_class([chipBtn, "_jE"])} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", refreshing)}>`);
|
|
17867
17854
|
_set_serialize_reason(2);
|
|
17868
17855
|
const $childScope2 = _peek_scope_id();
|
|
17869
17856
|
icon_refresh_default({
|
|
@@ -17879,13 +17866,13 @@ var repo_picker_default = _template("L", (input) => {
|
|
|
17879
17866
|
return 0;
|
|
17880
17867
|
}
|
|
17881
17868
|
}, $scope0_id, "h", 1, $sg__input_row, 1, 0, 1);
|
|
17882
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
17869
|
+
_html(`<button${_attr_class([iconBtnRow, "_eo"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !open)}>`);
|
|
17883
17870
|
icon_xmark_default({ size: 14 });
|
|
17884
17871
|
_html(`</button>${_el_resume($scope0_id, "i")}<div${_attr_class(pop)} data-add-pop${_attr("hidden", !hasBody)}>`);
|
|
17885
17872
|
_if(() => {
|
|
17886
17873
|
if (ssoPending.length) {
|
|
17887
17874
|
const $scope13_id = _scope_id();
|
|
17888
|
-
_html(`<div${_attr_class("
|
|
17875
|
+
_html(`<div${_attr_class("_jm")}>`);
|
|
17889
17876
|
ssoBlock.content({});
|
|
17890
17877
|
_html("</div>");
|
|
17891
17878
|
writeScope($scope13_id, {});
|
|
@@ -17895,12 +17882,12 @@ var repo_picker_default = _template("L", (input) => {
|
|
|
17895
17882
|
_if(() => {
|
|
17896
17883
|
if (pasted) {
|
|
17897
17884
|
const $scope1_id = _scope_id();
|
|
17898
|
-
_html(`<ul${_attr_class("
|
|
17885
|
+
_html(`<ul${_attr_class("_jn")}><li><div${_attr_class(["_jp", "_jo"])}><button${_attr_class(resultRow)}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
|
|
17899
17886
|
icon_plus_default({
|
|
17900
17887
|
size: 12,
|
|
17901
|
-
class: "
|
|
17888
|
+
class: "_jv"
|
|
17902
17889
|
});
|
|
17903
|
-
_html(`<span${_attr_class("
|
|
17890
|
+
_html(`<span${_attr_class("_jw")}>${_text_resume($scope1_id, "f", repoLabel(pasted))}</span></button>${_el_resume($scope1_id, "c")}`);
|
|
17904
17891
|
_if(() => {
|
|
17905
17892
|
if (pastedForkable) {
|
|
17906
17893
|
const $scope12_id = _scope_id();
|
|
@@ -17951,7 +17938,7 @@ var repo_picker_default = _template("L", (input) => {
|
|
|
17951
17938
|
return 0;
|
|
17952
17939
|
} else if (filter && !catalog) {
|
|
17953
17940
|
const $scope14_id = _scope_id();
|
|
17954
|
-
_html(`<p${_attr_class("
|
|
17941
|
+
_html(`<p${_attr_class("_dr")}>Loading repos…</p>`);
|
|
17955
17942
|
writeScope($scope14_id, {});
|
|
17956
17943
|
return 1;
|
|
17957
17944
|
}
|
|
@@ -17959,15 +17946,15 @@ var repo_picker_default = _template("L", (input) => {
|
|
|
17959
17946
|
_if(() => {
|
|
17960
17947
|
if (results.length) {
|
|
17961
17948
|
const $scope3_id = _scope_id();
|
|
17962
|
-
_html(`<ul${_attr_class("
|
|
17949
|
+
_html(`<ul${_attr_class("_jn")}>`);
|
|
17963
17950
|
_for_of(results, (repo, i) => {
|
|
17964
17951
|
const $scope4_id = _scope_id();
|
|
17965
|
-
_html(`<li><div${_attr_class(["
|
|
17952
|
+
_html(`<li><div${_attr_class(["_jp", { ["_jo"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
|
|
17966
17953
|
icon_plus_default({
|
|
17967
17954
|
size: 12,
|
|
17968
|
-
class: "
|
|
17955
|
+
class: "_jv"
|
|
17969
17956
|
});
|
|
17970
|
-
_html(`<span${_attr_class("
|
|
17957
|
+
_html(`<span${_attr_class("_jw")}>${_text_resume($scope4_id, "e", repoLabel(repo.nameWithOwner))}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_d0"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
|
|
17971
17958
|
icon_branch_default({ size: 12 });
|
|
17972
17959
|
_html(`</button>${_el_resume($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
|
|
17973
17960
|
_if(() => {
|
|
@@ -18002,7 +17989,7 @@ var repo_picker_default = _template("L", (input) => {
|
|
|
18002
17989
|
return 0;
|
|
18003
17990
|
} else if (filter && catalog && !pasted) {
|
|
18004
17991
|
const $scope10_id = _scope_id();
|
|
18005
|
-
_html(`<p${_attr_class("
|
|
17992
|
+
_html(`<p${_attr_class("_dr")}>No repos match "${_text_resume($scope10_id, "b", filter, 2)}". Paste a clone URL to add any repo.</p>`);
|
|
18006
17993
|
writeScope($scope10_id, {});
|
|
18007
17994
|
return 1;
|
|
18008
17995
|
}
|
|
@@ -18192,7 +18179,7 @@ var manage_workspace_default = _template("B", (input) => {
|
|
|
18192
18179
|
setTimeout(() => loadProcs(void 0), 500);
|
|
18193
18180
|
}, "B8", $scope0_id);
|
|
18194
18181
|
const titleId = _id();
|
|
18195
|
-
_html(`<div${_attr_class("
|
|
18182
|
+
_html(`<div${_attr_class("_d9")} role=region${_attr("aria-labelledby", titleId)}>`);
|
|
18196
18183
|
_set_serialize_reason(2058);
|
|
18197
18184
|
let $actions;
|
|
18198
18185
|
if (ws.repos.length) $actions = attrTag({ content: _content_resume("B18", () => {
|
|
@@ -18201,11 +18188,11 @@ var manage_workspace_default = _template("B", (input) => {
|
|
|
18201
18188
|
_set_serialize_reason(170);
|
|
18202
18189
|
const $childScope2 = _peek_scope_id();
|
|
18203
18190
|
copy_button_default({
|
|
18204
|
-
class: "
|
|
18205
|
-
labelClass: "
|
|
18191
|
+
class: "_eb",
|
|
18192
|
+
labelClass: "_ec",
|
|
18206
18193
|
text: invite,
|
|
18207
18194
|
label: "Copy invite",
|
|
18208
|
-
title: "Copy invite
|
|
18195
|
+
title: "Copy invite: joiners get these repos on their own lane",
|
|
18209
18196
|
content: _content_resume("B16", () => {
|
|
18210
18197
|
_scope_reason();
|
|
18211
18198
|
_scope_id();
|
|
@@ -18225,8 +18212,8 @@ var manage_workspace_default = _template("B", (input) => {
|
|
|
18225
18212
|
meta: attrTag({ content: _content("B17", () => {
|
|
18226
18213
|
_scope_reason();
|
|
18227
18214
|
const $scope11_id = _scope_id();
|
|
18228
|
-
_html(`<span${_attr_class("
|
|
18229
|
-
"
|
|
18215
|
+
_html(`<span${_attr_class("_gG")}${_attr("title", ws.display_path || ws.path)}><span${_attr_class([
|
|
18216
|
+
"_gI",
|
|
18230
18217
|
"_M",
|
|
18231
18218
|
"_by"
|
|
18232
18219
|
])}><bdi>${_text_resume($scope11_id, "c", ws.display_path || ws.path)}</bdi></span>`);
|
|
@@ -18245,7 +18232,7 @@ var manage_workspace_default = _template("B", (input) => {
|
|
|
18245
18232
|
})));
|
|
18246
18233
|
}, $scope0_id) })
|
|
18247
18234
|
});
|
|
18248
|
-
_html(`<div${_attr_class("
|
|
18235
|
+
_html(`<div${_attr_class("_eg")}><div${_attr_class("_eh")}>`);
|
|
18249
18236
|
_if(() => {
|
|
18250
18237
|
if (error) {
|
|
18251
18238
|
const $scope8_id = _scope_id();
|
|
@@ -18265,7 +18252,7 @@ var manage_workspace_default = _template("B", (input) => {
|
|
|
18265
18252
|
return 0;
|
|
18266
18253
|
}
|
|
18267
18254
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
18268
|
-
_html(`<section${_attr_class("
|
|
18255
|
+
_html(`<section${_attr_class("_dg")}><div${_attr_class("_dh")}><h2${_attr_class("_dt")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "j", ws.repos.length)}</span></div><ul${_attr_class([list$3, "_dP"])}><li${_attr_class("_dS")}>`);
|
|
18269
18256
|
const $childScope4 = _peek_scope_id();
|
|
18270
18257
|
repo_picker_default({
|
|
18271
18258
|
row: true,
|
|
@@ -18287,7 +18274,7 @@ var manage_workspace_default = _template("B", (input) => {
|
|
|
18287
18274
|
_html("</li>");
|
|
18288
18275
|
_for_of(ws.repos, (row) => {
|
|
18289
18276
|
const $scope1_id = _scope_id();
|
|
18290
|
-
_html(`<li${_attr_class("_dQ")}><span${_attr_class(["_M", procCmd])}>${_text_resume($scope1_id, "c", row.worktree)}/</span><span${_attr_class("_dX")}><a${_attr_class(["_6", "
|
|
18277
|
+
_html(`<li${_attr_class("_dQ")}><span${_attr_class(["_M", procCmd])}>${_text_resume($scope1_id, "c", row.worktree)}/</span><span${_attr_class("_dX")}><a${_attr_class(["_6", "_gE"])}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_text_resume($scope1_id, "f", repoLabel(row.full_name))}</a>${_el_resume($scope1_id, "e")}`);
|
|
18291
18278
|
_if(() => {
|
|
18292
18279
|
if (row.base_branch !== row.default_branch) {
|
|
18293
18280
|
const $scope21_id = _scope_id();
|
|
@@ -18302,10 +18289,10 @@ var manage_workspace_default = _template("B", (input) => {
|
|
|
18302
18289
|
_if(() => {
|
|
18303
18290
|
if (prs.length) {
|
|
18304
18291
|
const $scope22_id = _scope_id();
|
|
18305
|
-
_html(`<span${_attr_class("
|
|
18292
|
+
_html(`<span${_attr_class("_gJ")}>`);
|
|
18306
18293
|
_for_of(prs, (pr) => {
|
|
18307
18294
|
const $scope23_id = _scope_id();
|
|
18308
|
-
_html(`<a${_attr_class([prTone[prState(pr)], "
|
|
18295
|
+
_html(`<a${_attr_class([prTone[prState(pr)], "_gK"])}${_attr("href", `${pr.url}/files`)} target=_blank rel=noopener${_attr("title", `#${pr.number} ${pr.title} · ${prState(pr)}${pr.headRefName ? `: ${pr.headRefName}` : ""}`)}>#${_text_resume($scope23_id, "b", pr.number, 2)}</a>${_el_resume($scope23_id, "a")}`);
|
|
18309
18296
|
writeScope($scope23_id, {});
|
|
18310
18297
|
}, "number", $scope22_id, "a", 1, 1, 1, "</span>", 1);
|
|
18311
18298
|
writeScope($scope22_id, {});
|
|
@@ -18324,12 +18311,12 @@ var manage_workspace_default = _template("B", (input) => {
|
|
|
18324
18311
|
const $childScope5 = _peek_scope_id();
|
|
18325
18312
|
arm_button_default({
|
|
18326
18313
|
class: [
|
|
18327
|
-
"
|
|
18314
|
+
"_dq",
|
|
18328
18315
|
"_bs",
|
|
18329
18316
|
"_bt"
|
|
18330
18317
|
],
|
|
18331
18318
|
title: `Remove ${row.worktree}/`,
|
|
18332
|
-
armedTitle: `Remove ${row.worktree}/? Uncommitted
|
|
18319
|
+
armedTitle: `Remove ${row.worktree}/? Uncommitted and unpushed work is lost.`,
|
|
18333
18320
|
armedLabel: "Remove?",
|
|
18334
18321
|
onFire: _resume(function() {
|
|
18335
18322
|
removeRepo(row);
|
|
@@ -18358,8 +18345,8 @@ var manage_workspace_default = _template("B", (input) => {
|
|
|
18358
18345
|
_html(`<li${_attr_class([
|
|
18359
18346
|
"_dQ",
|
|
18360
18347
|
"_dR",
|
|
18361
|
-
"
|
|
18362
|
-
])}><span${_attr_class("_2")}></span><span${_attr_class("
|
|
18348
|
+
"_dk"
|
|
18349
|
+
])}><span${_attr_class("_2")}></span><span${_attr_class("_dp")}>Adding ${_text_resume($scope26_id, "d", name, 2)}…</span></li>`);
|
|
18363
18350
|
writeScope($scope26_id, {});
|
|
18364
18351
|
}, (n) => n, $scope0_id, "o", 1, 1, 1, 0, 1);
|
|
18365
18352
|
const running = procs || [];
|
|
@@ -18368,13 +18355,13 @@ var manage_workspace_default = _template("B", (input) => {
|
|
|
18368
18355
|
_if(() => {
|
|
18369
18356
|
if (running.length) {
|
|
18370
18357
|
const $scope2_id = _scope_id();
|
|
18371
|
-
_html(`<section${_attr_class("
|
|
18358
|
+
_html(`<section${_attr_class("_dg")}><div${_attr_class("_dh")}><h2${_attr_class("_dt")}>Running</h2><span${_attr_class(sectionCount$1)}${running.length === groups.length ? "" : _attr("title", `${running.length} processes in all`)}>${_text_resume($scope2_id, "e", groups.length)}</span>${_el_resume($scope2_id, "d")}</div><ul${_attr_class(list$3)}>`);
|
|
18372
18359
|
_for_of(groups, (g) => {
|
|
18373
18360
|
const $scope3_id = _scope_id();
|
|
18374
18361
|
const p = g.root;
|
|
18375
18362
|
const more = g.children.length;
|
|
18376
18363
|
const open = openProcs.has(p.pid);
|
|
18377
|
-
_html(`<li${_attr_class("_dQ")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_M", procCmd])}>${_text_resume($scope3_id, "c", p.cmd)}</span><span${_attr_class(["_M", "_dX"])}>${_text_resume($scope3_id, "e", p.args)}</span><span${_attr_class(["_dY", "
|
|
18364
|
+
_html(`<li${_attr_class("_dQ")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_M", procCmd])}>${_text_resume($scope3_id, "c", p.cmd)}</span><span${_attr_class(["_M", "_dX"])}>${_text_resume($scope3_id, "e", p.args)}</span><span${_attr_class(["_dY", "_gD"])}>`);
|
|
18378
18365
|
_if(() => {
|
|
18379
18366
|
if (more) {
|
|
18380
18367
|
const $scope4_id = _scope_id();
|
|
@@ -18394,19 +18381,19 @@ var manage_workspace_default = _template("B", (input) => {
|
|
|
18394
18381
|
});
|
|
18395
18382
|
writeScope($scope27_id, { a: _existing_scope($childScope6) });
|
|
18396
18383
|
}, (x) => String(x), $scope3_id, "h", 1, 1, 1, 0, 1);
|
|
18397
|
-
_html(`<span${_attr_class(["_M", "
|
|
18384
|
+
_html(`<span${_attr_class(["_M", "_gC"])}>${_text_resume($scope3_id, "j", p.pid)}</span>`);
|
|
18398
18385
|
_set_serialize_reason(128);
|
|
18399
18386
|
const $childScope7 = _peek_scope_id();
|
|
18400
18387
|
arm_button_default({
|
|
18401
18388
|
class: [
|
|
18402
|
-
"
|
|
18389
|
+
"_dq",
|
|
18403
18390
|
"_bs",
|
|
18404
18391
|
"_bt",
|
|
18405
|
-
"
|
|
18392
|
+
"_gF"
|
|
18406
18393
|
],
|
|
18407
18394
|
title: more ? `Kill ${p.cmd} (pid ${p.pid}) and the ${more} it started` : `Kill ${p.cmd} (pid ${p.pid})`,
|
|
18408
18395
|
armedLabel: more ? "Kill all?" : "Kill?",
|
|
18409
|
-
ariaLabel: `Kill
|
|
18396
|
+
ariaLabel: more ? `Kill ${p.cmd} (pid ${p.pid}) and the ${more} it started` : `Kill ${p.cmd} (pid ${p.pid})`,
|
|
18410
18397
|
onFire: _resume(function() {
|
|
18411
18398
|
kill([p.pid, ...g.children.map((c) => c.pid)]);
|
|
18412
18399
|
}, "B13", $scope3_id),
|
|
@@ -18422,7 +18409,7 @@ var manage_workspace_default = _template("B", (input) => {
|
|
|
18422
18409
|
const $scope17_id = _scope_id();
|
|
18423
18410
|
_for_of(g.children, (c) => {
|
|
18424
18411
|
const $scope18_id = _scope_id();
|
|
18425
|
-
_html(`<li${_attr_class(["_dQ", "
|
|
18412
|
+
_html(`<li${_attr_class(["_dQ", "_gB"])}${_attr("title", `${c.cmd} ${c.args}`.trim())}><span${_attr_class(["_M", procCmd])}>${_text_resume($scope18_id, "c", c.cmd)}</span><span${_attr_class(["_M", "_dX"])}>${_text_resume($scope18_id, "e", c.args)}</span><span${_attr_class("_dY")}>`);
|
|
18426
18413
|
_for_of(c.ports, (port) => {
|
|
18427
18414
|
const $scope29_id = _scope_id();
|
|
18428
18415
|
_set_serialize_reason(672);
|
|
@@ -18433,18 +18420,18 @@ var manage_workspace_default = _template("B", (input) => {
|
|
|
18433
18420
|
});
|
|
18434
18421
|
writeScope($scope29_id, { a: _existing_scope($childScope8) });
|
|
18435
18422
|
}, (x) => String(x), $scope18_id, "g", 1, 1, 1, 0, 1);
|
|
18436
|
-
_html(`<span${_attr_class(["_M", "
|
|
18423
|
+
_html(`<span${_attr_class(["_M", "_gC"])}>${_text_resume($scope18_id, "i", c.pid)}</span>`);
|
|
18437
18424
|
const $childScope9 = _peek_scope_id();
|
|
18438
18425
|
arm_button_default({
|
|
18439
18426
|
class: [
|
|
18440
|
-
"
|
|
18427
|
+
"_dq",
|
|
18441
18428
|
"_bs",
|
|
18442
18429
|
"_bt",
|
|
18443
|
-
"
|
|
18430
|
+
"_gF"
|
|
18444
18431
|
],
|
|
18445
18432
|
title: `Kill ${c.cmd} (pid ${c.pid})`,
|
|
18446
18433
|
armedLabel: "Kill?",
|
|
18447
|
-
ariaLabel: `Kill
|
|
18434
|
+
ariaLabel: `Kill ${c.cmd} (pid ${c.pid})`,
|
|
18448
18435
|
onFire: _resume(function() {
|
|
18449
18436
|
kill([c.pid]);
|
|
18450
18437
|
}, "B14", $scope18_id),
|
|
@@ -18502,7 +18489,7 @@ var manage_workspace_default = _template("B", (input) => {
|
|
|
18502
18489
|
_if(() => {
|
|
18503
18490
|
if (allSkills.length) {
|
|
18504
18491
|
const $scope5_id = _scope_id();
|
|
18505
|
-
_html(`<section${_attr_class("
|
|
18492
|
+
_html(`<section${_attr_class("_dg")}><div${_attr_class("_dh")}><h2${_attr_class("_dt")}>Skills</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope5_id, "e", allSkills.length)}</span>`);
|
|
18506
18493
|
_if(() => {
|
|
18507
18494
|
if (wsSkills.length) {
|
|
18508
18495
|
const $scope31_id = _scope_id();
|
|
@@ -18517,7 +18504,7 @@ var manage_workspace_default = _template("B", (input) => {
|
|
|
18517
18504
|
_if(() => {
|
|
18518
18505
|
if (band$1.repo || skillBands.length > 1) {
|
|
18519
18506
|
const $scope32_id = _scope_id();
|
|
18520
|
-
_html(`<li${_attr_class("_dT")}${band$1.repo ? _attr("title", `Skills ${band$1.repo}
|
|
18507
|
+
_html(`<li${_attr_class("_dT")}${band$1.repo ? _attr("title", `Skills in ${band$1.repo}/: switch one on to use it in this workspace`) : " title=\"Installed into this workspace\""}><span${_attr_class("_M")}>${_text_resume($scope32_id, "c", band$1.repo ? `${band$1.repo}/` : "This workspace")}</span><span${_attr_class("_dU")}>${_text_resume($scope32_id, "e", band$1.items.length)}</span></li>${_el_resume($scope32_id, "a")}`);
|
|
18521
18508
|
writeScope($scope32_id, {});
|
|
18522
18509
|
return 0;
|
|
18523
18510
|
}
|
|
@@ -18573,7 +18560,7 @@ var manage_workspace_default = _template("B", (input) => {
|
|
|
18573
18560
|
_if(() => {
|
|
18574
18561
|
if (!linked && s.shadows) {
|
|
18575
18562
|
const $scope35_id = _scope_id();
|
|
18576
|
-
_html(`<span${_attr_class("_9")}
|
|
18563
|
+
_html(`<span${_attr_class("_9")} title=${s.shadows === "global" ? "\"A system skill already has this name\"" : "\"A skill in this workspace already has this name\""}>name taken</span>${_el_resume($scope35_id, "a")}`);
|
|
18577
18564
|
_subscribe($for_content4__s_shadows__closures, writeScope($scope35_id, { Cx: 2 }));
|
|
18578
18565
|
return 0;
|
|
18579
18566
|
}
|
|
@@ -18597,7 +18584,7 @@ var manage_workspace_default = _template("B", (input) => {
|
|
|
18597
18584
|
const $childScope10 = _peek_scope_id();
|
|
18598
18585
|
arm_button_default({
|
|
18599
18586
|
class: [
|
|
18600
|
-
"
|
|
18587
|
+
"_dq",
|
|
18601
18588
|
"_bs",
|
|
18602
18589
|
"_bt",
|
|
18603
18590
|
"_d8"
|
|
@@ -18623,7 +18610,7 @@ var manage_workspace_default = _template("B", (input) => {
|
|
|
18623
18610
|
return 0;
|
|
18624
18611
|
} else if (linked || !s.shadows) {
|
|
18625
18612
|
const $scope15_id = _scope_id();
|
|
18626
|
-
_html(`<button${_attr_class("_3")} role=switch aria-checked=${linked ? "true" : "false"}${_attr("disabled", isBusy)}${isBusy ? " aria-busy=true" : ""}${
|
|
18613
|
+
_html(`<button${_attr_class("_3")} role=switch aria-checked=${linked ? "true" : "false"}${_attr("disabled", isBusy)}${isBusy ? " aria-busy=true" : ""}${_attr("title", `Use ${s.name} in this workspace`)}></button>${_el_resume($scope15_id, "a")}`);
|
|
18627
18614
|
_script($scope15_id, "B25");
|
|
18628
18615
|
_subscribe($for_content4__isBusy__closures, _subscribe($for_content4__linked__closures, _subscribe($for_content4__s_name__closures, writeScope($scope15_id, {
|
|
18629
18616
|
Cs: 1,
|
|
@@ -18721,26 +18708,26 @@ var manage_workspace_default = _template("B", (input) => {
|
|
|
18721
18708
|
bs: $skillBands_length__closures
|
|
18722
18709
|
});
|
|
18723
18710
|
});
|
|
18724
|
-
var curRow = "
|
|
18711
|
+
var curRow = "_gy _dQ";
|
|
18725
18712
|
//#endregion
|
|
18726
18713
|
//#region src/tags/progress-steps.marko
|
|
18727
18714
|
var progress_steps_default = _template("H", (input) => {
|
|
18728
18715
|
const $scope0_reason = _scope_reason(), $si__input_steps_length = _serialize_if($scope0_reason, 1), $sg__input_steps_length = _serialize_guard($scope0_reason, 1), $sg__input_steps = _serialize_guard($scope0_reason, 0), $si__input_steps = _serialize_if($scope0_reason, 0);
|
|
18729
18716
|
const $scope0_id = _scope_id();
|
|
18730
|
-
_html(`<ul${_attr_class("
|
|
18717
|
+
_html(`<ul${_attr_class("_iX")} aria-live=polite>`);
|
|
18731
18718
|
_for_of(input.steps, (step$1, i) => {
|
|
18732
18719
|
const $scope1_id = _scope_id();
|
|
18733
18720
|
const last = i === input.steps.length - 1;
|
|
18734
|
-
_html(`<li${_attr_class(["
|
|
18721
|
+
_html(`<li${_attr_class(["_iZ", last && "_iY"])}>`);
|
|
18735
18722
|
_if(() => {
|
|
18736
18723
|
if (last) {
|
|
18737
18724
|
const $scope2_id = _scope_id();
|
|
18738
|
-
_html(`<span${_attr_class("
|
|
18725
|
+
_html(`<span${_attr_class("_i0")}><span${_attr_class("_2")}></span></span>`);
|
|
18739
18726
|
$si__input_steps_length && writeScope($scope2_id, {});
|
|
18740
18727
|
return 0;
|
|
18741
18728
|
} else {
|
|
18742
18729
|
const $scope3_id = _scope_id();
|
|
18743
|
-
_html(`<span${_attr_class("
|
|
18730
|
+
_html(`<span${_attr_class("_i0")}>`);
|
|
18744
18731
|
icon_check_default({ size: 14 });
|
|
18745
18732
|
_html("</span>");
|
|
18746
18733
|
$si__input_steps_length && writeScope($scope3_id, {});
|
|
@@ -18757,8 +18744,8 @@ var progress_steps_default = _template("H", (input) => {
|
|
|
18757
18744
|
});
|
|
18758
18745
|
//#endregion
|
|
18759
18746
|
//#region src/tags/join-dialog.css.ts
|
|
18760
|
-
var dlg = "
|
|
18761
|
-
var hint = "
|
|
18747
|
+
var dlg = "_i7 _bH";
|
|
18748
|
+
var hint = "_i8 _bh";
|
|
18762
18749
|
//#endregion
|
|
18763
18750
|
//#region src/tags/join-dialog.marko
|
|
18764
18751
|
var errText$4;
|
|
@@ -18876,26 +18863,26 @@ var join_dialog_default = _template("y", (input) => {
|
|
|
18876
18863
|
content: _content("y12", () => {
|
|
18877
18864
|
_scope_reason();
|
|
18878
18865
|
const $scope1_id = _scope_id();
|
|
18879
|
-
_html(`<h2${_attr_class("_bJ")}${_attr("id", titleId)}>Join a workspace</h2><p${_attr_class(hint)}>Paste an invite
|
|
18866
|
+
_html(`<h2${_attr_class("_bJ")}${_attr("id", titleId)}>Join a workspace</h2><p${_attr_class(hint)}>Paste an invite copied from Manage.</p><textarea${_attr_class([
|
|
18880
18867
|
"_bj",
|
|
18881
18868
|
"_M",
|
|
18882
|
-
"
|
|
18869
|
+
"_i_"
|
|
18883
18870
|
])} placeholder="{ "name": …, "branch": …, "repos": ["owner/name", …] }" aria-label="Workspace invite" rows=6 autocomplete=off spellcheck=false${_attr("disabled", busy)} autofocus>${_attr_textarea_value($scope1_id, "c", invite, setInvite)}</textarea>${_el_resume($scope1_id, "c")}`);
|
|
18884
18871
|
_if(() => {
|
|
18885
18872
|
if (parsed.error) {
|
|
18886
18873
|
const $scope7_id = _scope_id();
|
|
18887
|
-
_html(`<p${_attr_class([hint, "
|
|
18874
|
+
_html(`<p${_attr_class([hint, "_i9"])}>${_text_resume($scope7_id, "b", parsed.error)}</p>`);
|
|
18888
18875
|
_subscribe($parsed_error__closures, writeScope($scope7_id, { Cag: 1 }));
|
|
18889
18876
|
return 0;
|
|
18890
18877
|
} else if (parsed.ok) {
|
|
18891
18878
|
const $scope3_id = _scope_id();
|
|
18892
|
-
_html(`<ul${_attr_class("
|
|
18879
|
+
_html(`<ul${_attr_class("_ja")}>`);
|
|
18893
18880
|
_for_of(parsed.ok.repos, (fullName) => {
|
|
18894
18881
|
const $scope8_id = _scope_id();
|
|
18895
|
-
_html(`<li${_attr_class("
|
|
18882
|
+
_html(`<li${_attr_class("_jb")}><span${_attr_class("_jc")}>${_text_resume($scope8_id, "c", repoLabel(fullName))}</span></li>`);
|
|
18896
18883
|
writeScope($scope8_id, {});
|
|
18897
18884
|
}, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
|
|
18898
|
-
_html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_M")}>${_text_resume($scope3_id, "d", parsed.ok.branch)}</span> in each; PRs target theirs.</p><label${_attr_class("
|
|
18885
|
+
_html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_M")}>${_text_resume($scope3_id, "d", parsed.ok.branch)}</span> in each; PRs target theirs.</p><label${_attr_class("_jd")}><span${_attr_class("_dt")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
|
|
18899
18886
|
name = _new_name;
|
|
18900
18887
|
}, "y0", $scope3_id))}${_attr_class("_bj")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
|
|
18901
18888
|
_script($scope3_id, "y8");
|
|
@@ -19043,21 +19030,21 @@ var new_workspace_default = _template("D", (input) => {
|
|
|
19043
19030
|
}
|
|
19044
19031
|
}, "D5", $scope0_id);
|
|
19045
19032
|
const titleId = _id();
|
|
19046
|
-
_html(`<div${_attr_class("
|
|
19033
|
+
_html(`<div${_attr_class("_d9")} role=region${_attr("aria-labelledby", titleId)}>`);
|
|
19047
19034
|
page_head_default({
|
|
19048
19035
|
title: "New workspace",
|
|
19049
19036
|
titleId,
|
|
19050
19037
|
actions: attrTag({ content: _content("D13", () => {
|
|
19051
19038
|
_scope_reason();
|
|
19052
19039
|
const $scope2_id = _scope_id();
|
|
19053
|
-
_html(`<button type=button${_attr_class("
|
|
19040
|
+
_html(`<button type=button${_attr_class("_eb")} aria-label="Join from invite" title="Join from invite"${_attr("disabled", busy)}>`);
|
|
19054
19041
|
icon_group_default({ size: 14 });
|
|
19055
|
-
_html(`<span${_attr_class("
|
|
19042
|
+
_html(`<span${_attr_class("_ec")}>Join from invite</span></button>${_el_resume($scope2_id, "a")}`);
|
|
19056
19043
|
_script($scope2_id, "D12");
|
|
19057
19044
|
_subscribe($busy__closures, writeScope($scope2_id, { _: _scope_with_id($scope0_id) }));
|
|
19058
19045
|
}, $scope0_id) })
|
|
19059
19046
|
});
|
|
19060
|
-
_html(`<div${_attr_class("
|
|
19047
|
+
_html(`<div${_attr_class("_eg")}><div${_attr_class("_eh")}>`);
|
|
19061
19048
|
_if(() => {
|
|
19062
19049
|
if (error) {
|
|
19063
19050
|
const $scope5_id = _scope_id();
|
|
@@ -19077,9 +19064,9 @@ var new_workspace_default = _template("D", (input) => {
|
|
|
19077
19064
|
return 0;
|
|
19078
19065
|
}
|
|
19079
19066
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
19080
|
-
_html(`<label${_attr_class("
|
|
19067
|
+
_html(`<label${_attr_class("_gw")}><span${_attr_class("_dt")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
|
|
19081
19068
|
name = _new_name;
|
|
19082
|
-
}, "D0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class("
|
|
19069
|
+
}, "D0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class("_dg")}><div${_attr_class("_dh")}><h2${_attr_class("_dt")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "m", selected.length)}</span></div><ul${_attr_class(list$3)}><li${_attr_class("_dS")}>`);
|
|
19083
19070
|
const $childScope = _peek_scope_id();
|
|
19084
19071
|
repo_picker_default({
|
|
19085
19072
|
row: true,
|
|
@@ -19099,7 +19086,7 @@ var new_workspace_default = _template("D", (input) => {
|
|
|
19099
19086
|
_html("</li>");
|
|
19100
19087
|
_for_of(selected, (repo) => {
|
|
19101
19088
|
const $scope3_id = _scope_id();
|
|
19102
|
-
_html(`<li${_attr_class("
|
|
19089
|
+
_html(`<li${_attr_class("_gx")}><div${_attr_class(curRow)}><span${_attr_class("_dW")}>${_text_resume($scope3_id, "d", repoLabel(repo.fullName))}</span><span${_attr_class("_dY")}>`);
|
|
19103
19090
|
_if(() => {
|
|
19104
19091
|
if (repo.fork !== void 0) {
|
|
19105
19092
|
const $scope4_id = _scope_id();
|
|
@@ -19139,7 +19126,7 @@ var new_workspace_default = _template("D", (input) => {
|
|
|
19139
19126
|
_if(() => {
|
|
19140
19127
|
if (branchesFor === repo.fullName) {
|
|
19141
19128
|
const $scope7_id = _scope_id();
|
|
19142
|
-
_html(`<div${_attr_class("
|
|
19129
|
+
_html(`<div${_attr_class("_gz")}>`);
|
|
19143
19130
|
const $childScope2 = _peek_scope_id();
|
|
19144
19131
|
branch_pick_default({
|
|
19145
19132
|
repo: repo.fullName,
|
|
@@ -19176,10 +19163,10 @@ var new_workspace_default = _template("D", (input) => {
|
|
|
19176
19163
|
return 0;
|
|
19177
19164
|
}
|
|
19178
19165
|
}, $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
19179
|
-
_html(`<div${_attr_class("
|
|
19166
|
+
_html(`<div${_attr_class("_gu")}><button type=button${_attr_class([
|
|
19180
19167
|
btnLg,
|
|
19181
19168
|
"_s",
|
|
19182
|
-
"
|
|
19169
|
+
"_gv"
|
|
19183
19170
|
])}${_attr("disabled", busy || !name.trim())}>${_text_resume($scope0_id, "u", busy ? "Creating…" : "Create workspace")}</button>${_el_resume($scope0_id, "t")}</div></div></div>`);
|
|
19184
19171
|
_if(() => {
|
|
19185
19172
|
if (joinOpen) {
|
|
@@ -19316,7 +19303,7 @@ var term_default = _template("cb", (input) => {
|
|
|
19316
19303
|
});
|
|
19317
19304
|
if (data.path) ioBox.current?.send(`${data.path} `);
|
|
19318
19305
|
} catch (err) {
|
|
19319
|
-
input.onError?.(`
|
|
19306
|
+
input.onError?.(`Upload of ${file.name || "the image"} failed: ${errText$2(err)}`);
|
|
19320
19307
|
} finally {
|
|
19321
19308
|
uploading = false;
|
|
19322
19309
|
}
|
|
@@ -19351,7 +19338,7 @@ var term_default = _template("cb", (input) => {
|
|
|
19351
19338
|
}
|
|
19352
19339
|
}, "cb12", $scope0_id);
|
|
19353
19340
|
input.keys;
|
|
19354
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
19341
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_f3")}><div${_attr_class("_f4")}></div>${_el_resume($scope0_id, "b")}`);
|
|
19355
19342
|
_if(() => {
|
|
19356
19343
|
if (findOpen) {
|
|
19357
19344
|
const $scope3_id = _scope_id();
|
|
@@ -19377,7 +19364,7 @@ var term_default = _template("cb", (input) => {
|
|
|
19377
19364
|
_if(() => {
|
|
19378
19365
|
if (uploading) {
|
|
19379
19366
|
const $scope5_id = _scope_id();
|
|
19380
|
-
_html(`<div${_attr_class("
|
|
19367
|
+
_html(`<div${_attr_class("_f_")}>Uploading…</div>`);
|
|
19381
19368
|
writeScope($scope5_id, {});
|
|
19382
19369
|
return 0;
|
|
19383
19370
|
}
|
|
@@ -19385,7 +19372,7 @@ var term_default = _template("cb", (input) => {
|
|
|
19385
19372
|
_if(() => {
|
|
19386
19373
|
if (copiedFlash) {
|
|
19387
19374
|
const $scope6_id = _scope_id();
|
|
19388
|
-
_html(`<div${_attr_class("
|
|
19375
|
+
_html(`<div${_attr_class("_f9")}>Copied</div>`);
|
|
19389
19376
|
writeScope($scope6_id, {});
|
|
19390
19377
|
return 0;
|
|
19391
19378
|
}
|
|
@@ -19395,7 +19382,7 @@ var term_default = _template("cb", (input) => {
|
|
|
19395
19382
|
const $childScope2 = _peek_scope_id();
|
|
19396
19383
|
modal_view_default({
|
|
19397
19384
|
label: "Paste",
|
|
19398
|
-
class: ["_bH", "
|
|
19385
|
+
class: ["_bH", "_ga"],
|
|
19399
19386
|
open: trapOpen,
|
|
19400
19387
|
openChange: _resume((_new_trapOpen) => {
|
|
19401
19388
|
trapOpen = _new_trapOpen;
|
|
@@ -19416,7 +19403,7 @@ var term_default = _template("cb", (input) => {
|
|
|
19416
19403
|
content: _content("cb21", () => {
|
|
19417
19404
|
_scope_reason();
|
|
19418
19405
|
const $scope4_id = _scope_id();
|
|
19419
|
-
_html(`<p${_attr_class("
|
|
19406
|
+
_html(`<p${_attr_class("_gb")}>Long-press the field below and choose Paste</p><input${_attr_class("_bj")} placeholder="Paste here…" aria-label="Paste here" autofocus>${_el_resume($scope4_id, "b")}`);
|
|
19420
19407
|
_script($scope4_id, "cb19");
|
|
19421
19408
|
writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
19422
19409
|
}, $scope0_id)
|
|
@@ -19615,7 +19602,7 @@ var work_view_default = _template("ib", (input) => {
|
|
|
19615
19602
|
}
|
|
19616
19603
|
return session;
|
|
19617
19604
|
} catch (err) {
|
|
19618
|
-
error = errText$1(err)
|
|
19605
|
+
error = `New session failed: ${errText$1(err)}`;
|
|
19619
19606
|
return null;
|
|
19620
19607
|
} finally {
|
|
19621
19608
|
spawning = false;
|
|
@@ -19645,7 +19632,7 @@ var work_view_default = _template("ib", (input) => {
|
|
|
19645
19632
|
} catch (err) {
|
|
19646
19633
|
sessions = sessions || [];
|
|
19647
19634
|
if (isTransientApiError$1(err)) return;
|
|
19648
|
-
error = errText$1(err)
|
|
19635
|
+
error = `Loading sessions failed: ${errText$1(err)}`;
|
|
19649
19636
|
}
|
|
19650
19637
|
}, "ib10", $scope0_id);
|
|
19651
19638
|
const loadSessions = _resume((autoCreate) => {
|
|
@@ -19692,7 +19679,7 @@ var work_view_default = _template("ib", (input) => {
|
|
|
19692
19679
|
setWorkspaceTab(wsId, (await postJson(`/api/workspaces/${wsId}/sessions`, { agent })).id);
|
|
19693
19680
|
input.onSelectWorkspace?.(wsId);
|
|
19694
19681
|
} catch (err) {
|
|
19695
|
-
error = errText$1(err)
|
|
19682
|
+
error = `New session failed: ${errText$1(err)}`;
|
|
19696
19683
|
}
|
|
19697
19684
|
}, "ib14", $scope0_id);
|
|
19698
19685
|
const onKey = _resume((e) => {
|
|
@@ -19709,7 +19696,7 @@ var work_view_default = _template("ib", (input) => {
|
|
|
19709
19696
|
toggleDiff();
|
|
19710
19697
|
}
|
|
19711
19698
|
}, "ib15", $scope0_id);
|
|
19712
|
-
_html(`<div${_attr_class(["
|
|
19699
|
+
_html(`<div${_attr_class(["_dv", { ["_du"]: !input.active }])}><div${_attr_class("_dw")}>`);
|
|
19713
19700
|
_if(() => {
|
|
19714
19701
|
if (error) {
|
|
19715
19702
|
const $scope9_id = _scope_id();
|
|
@@ -19731,7 +19718,7 @@ var work_view_default = _template("ib", (input) => {
|
|
|
19731
19718
|
_if(() => {
|
|
19732
19719
|
if (diffMounted && ws) {
|
|
19733
19720
|
const $scope1_id = _scope_id();
|
|
19734
|
-
_html(`<div${_attr_class("
|
|
19721
|
+
_html(`<div${_attr_class("_dx")}${_attr_or("data-live", view === "diff", "")}${_attr("inert", view !== "diff")}>`);
|
|
19735
19722
|
_set_serialize_reason(44048930 | ($sg__input_workspace << 3 | $sg__input_workspace << 17 | $sg__input_workspace << 19));
|
|
19736
19723
|
const $childScope = _peek_scope_id();
|
|
19737
19724
|
let reviewFindFocus = $ReviewView_withLoadAssets({
|
|
@@ -19789,7 +19776,7 @@ var work_view_default = _template("ib", (input) => {
|
|
|
19789
19776
|
_if(() => {
|
|
19790
19777
|
if (filesMounted && ws) {
|
|
19791
19778
|
const $scope2_id = _scope_id();
|
|
19792
|
-
_html(`<div${_attr_class("
|
|
19779
|
+
_html(`<div${_attr_class("_dx")}${_attr_or("data-live", view === "files", "")}${_attr("inert", view !== "files")}>`);
|
|
19793
19780
|
_set_serialize_reason(172170 | ($sg__input_workspace << 11 | _serialize_guard($scope0_reason, 10) << 19));
|
|
19794
19781
|
const $childScope2 = _peek_scope_id();
|
|
19795
19782
|
$FilesView_withLoadAssets({
|
|
@@ -19822,7 +19809,7 @@ var work_view_default = _template("ib", (input) => {
|
|
|
19822
19809
|
_if(() => {
|
|
19823
19810
|
if (manageMounted && ws) {
|
|
19824
19811
|
const $scope3_id = _scope_id();
|
|
19825
|
-
_html(`<div${_attr_class("
|
|
19812
|
+
_html(`<div${_attr_class("_dx")}${_attr_or("data-live", view === "manage", "")}${_attr("inert", view !== "manage")}>`);
|
|
19826
19813
|
_set_serialize_reason($sg__input_workspace << 1 | _serialize_guard($scope0_reason, 11) << 3);
|
|
19827
19814
|
const $childScope3 = _peek_scope_id();
|
|
19828
19815
|
manage_workspace_default({
|
|
@@ -19840,7 +19827,7 @@ var work_view_default = _template("ib", (input) => {
|
|
|
19840
19827
|
_if(() => {
|
|
19841
19828
|
if (settingsMounted) {
|
|
19842
19829
|
const $scope4_id = _scope_id();
|
|
19843
|
-
_html(`<div${_attr_class("
|
|
19830
|
+
_html(`<div${_attr_class("_dx")}${_attr_or("data-live", view === "settings", "")}${_attr("inert", view !== "settings")}>`);
|
|
19844
19831
|
_set_serialize_reason(_serialize_guard($scope0_reason, 0) << 1 | _serialize_guard($scope0_reason, 2) << 3 | _serialize_guard($scope0_reason, 15) << 5 | _serialize_guard($scope0_reason, 9) << 7 | _serialize_guard($scope0_reason, 12) << 9 | _serialize_guard($scope0_reason, 13) << 11 | _serialize_guard($scope0_reason, 14) << 13);
|
|
19845
19832
|
const $childScope4 = _peek_scope_id();
|
|
19846
19833
|
settings_page_default({
|
|
@@ -19861,7 +19848,7 @@ var work_view_default = _template("ib", (input) => {
|
|
|
19861
19848
|
_if(() => {
|
|
19862
19849
|
if (newMounted) {
|
|
19863
19850
|
const $scope5_id = _scope_id();
|
|
19864
|
-
_html(`<div${_attr_class("
|
|
19851
|
+
_html(`<div${_attr_class("_dx")}${_attr_or("data-live", view === "new", "")}${_attr("inert", view !== "new")}>`);
|
|
19865
19852
|
const $childScope5 = _peek_scope_id();
|
|
19866
19853
|
new_workspace_default({ onCreate: _resume(function(ws) {
|
|
19867
19854
|
input.onCreated?.(ws);
|
|
@@ -19871,13 +19858,13 @@ var work_view_default = _template("ib", (input) => {
|
|
|
19871
19858
|
return 0;
|
|
19872
19859
|
}
|
|
19873
19860
|
}, $scope0_id, "h", 1, 1, 1, 0, 1);
|
|
19874
|
-
_html(`<div${_attr_class("
|
|
19861
|
+
_html(`<div${_attr_class("_dy")}${_attr("inert", view !== "term")}>`);
|
|
19875
19862
|
_if(() => {
|
|
19876
19863
|
if (ws && shownSessions) {
|
|
19877
19864
|
const $scope6_id = _scope_id();
|
|
19878
19865
|
_for_of(input.active ? shownSessions : shownSessions.filter((x) => x.id === curTab), (s) => {
|
|
19879
19866
|
const $scope7_id = _scope_id();
|
|
19880
|
-
_html(`<div${_attr_class("
|
|
19867
|
+
_html(`<div${_attr_class("_dz")}${_attr_or("data-live", s.id === curTab, "")}${_attr("inert", s.id !== curTab)}>`);
|
|
19881
19868
|
_set_serialize_reason(2);
|
|
19882
19869
|
const $childScope6 = _peek_scope_id();
|
|
19883
19870
|
term_default({
|
|
@@ -19906,7 +19893,7 @@ var work_view_default = _template("ib", (input) => {
|
|
|
19906
19893
|
_if(() => {
|
|
19907
19894
|
if (!shownSessions.length && view === "term") {
|
|
19908
19895
|
const $scope8_id = _scope_id();
|
|
19909
|
-
_html(`<div${_attr_class("
|
|
19896
|
+
_html(`<div${_attr_class("_ds")}><span>No sessions in this workspace.</span><button${_attr_class(["_r", "_s"])}${_attr("disabled", spawning)}>${_text_resume($scope8_id, "c", spawning ? "Starting…" : `New ${agentLabel(input.preferred || "shell")} session`)}</button>${_el_resume($scope8_id, "b")}</div>`);
|
|
19910
19897
|
_script($scope8_id, "ib37");
|
|
19911
19898
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope8_id, {})));
|
|
19912
19899
|
return 0;
|
|
@@ -19916,7 +19903,7 @@ var work_view_default = _template("ib", (input) => {
|
|
|
19916
19903
|
return 0;
|
|
19917
19904
|
} else if (ws) {
|
|
19918
19905
|
const $scope11_id = _scope_id();
|
|
19919
|
-
_html(`<p${_attr_class("
|
|
19906
|
+
_html(`<p${_attr_class("_ds")}>Loading sessions…</p>`);
|
|
19920
19907
|
writeScope($scope11_id, {});
|
|
19921
19908
|
return 1;
|
|
19922
19909
|
}
|
|
@@ -20028,9 +20015,9 @@ var work_view_default = _template("ib", (input) => {
|
|
|
20028
20015
|
du: $spawning__closures
|
|
20029
20016
|
});
|
|
20030
20017
|
});
|
|
20031
|
-
var kbtn = "
|
|
20032
|
-
var repeat = "
|
|
20033
|
-
var dpadEsc = "
|
|
20018
|
+
var kbtn = "_c9 _bq _m";
|
|
20019
|
+
var repeat = "_db _da";
|
|
20020
|
+
var dpadEsc = "_dd _da";
|
|
20034
20021
|
//#endregion
|
|
20035
20022
|
//#region src/tags/icons/icon-workspaces.marko
|
|
20036
20023
|
var icon_workspaces_default = _template("$b", (input) => {
|
|
@@ -20056,22 +20043,22 @@ var usage_pcts_default = _template("gb", (input) => {
|
|
|
20056
20043
|
if (windows.length) {
|
|
20057
20044
|
const $scope1_id = _scope_id();
|
|
20058
20045
|
_html(`<span${_attr_class([
|
|
20059
|
-
"
|
|
20046
|
+
"_ie",
|
|
20060
20047
|
input.class,
|
|
20061
20048
|
{ ["_O"]: agent.stale_seconds != null }
|
|
20062
|
-
])}${agent.stale_seconds != null ? _attr("title",
|
|
20049
|
+
])}${agent.stale_seconds != null ? _attr("title", `Cached ${duration(agent.stale_seconds * 1e3)} ago: ${agent.note || "provider unreachable"}`) : " title=\"Plan usage\""}>`);
|
|
20063
20050
|
_for_of(windows, (win$1, i) => {
|
|
20064
20051
|
const $scope2_id = _scope_id();
|
|
20065
|
-
_html(`<span${_attr_class("
|
|
20052
|
+
_html(`<span${_attr_class("_if")}>`);
|
|
20066
20053
|
_if(() => {
|
|
20067
20054
|
if (i) {
|
|
20068
20055
|
const $scope3_id = _scope_id();
|
|
20069
|
-
_html(`<span${_attr_class("
|
|
20056
|
+
_html(`<span${_attr_class("_ii")} aria-hidden=true>·</span>`);
|
|
20070
20057
|
$si__input_agent && writeScope($scope3_id, {});
|
|
20071
20058
|
return 0;
|
|
20072
20059
|
}
|
|
20073
20060
|
}, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
20074
|
-
_html(`<span${_attr_class("
|
|
20061
|
+
_html(`<span${_attr_class("_ig")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_ih", usageInk[usageTone(win$1.used_percent)]])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
|
|
20075
20062
|
$si__input_agent && writeScope($scope2_id, {});
|
|
20076
20063
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
20077
20064
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -20102,7 +20089,7 @@ var key_bar_sessions_default = _template("z", (input) => {
|
|
|
20102
20089
|
align: "center",
|
|
20103
20090
|
gap: 8
|
|
20104
20091
|
}), "z0", $scope0_id);
|
|
20105
|
-
_html(`<button${_attr_class([kbtn, "
|
|
20092
|
+
_html(`<button${_attr_class([kbtn, "_fX"])} title=${input.onTermPage ? "Sessions" : "\"Back to terminal\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
|
|
20106
20093
|
_set_serialize_reason($sg__input_sessions__OR__input_sessionId << 1 | $sg__input_sessions__OR__input_sessionId << 3 | $sg__input_sessions__OR__input_sessionId << 5);
|
|
20107
20094
|
const $childScope = _peek_scope_id();
|
|
20108
20095
|
agent_status_default({
|
|
@@ -20110,7 +20097,7 @@ var key_bar_sessions_default = _template("z", (input) => {
|
|
|
20110
20097
|
phase: sessionPhase(current?.state),
|
|
20111
20098
|
size: 16
|
|
20112
20099
|
});
|
|
20113
|
-
_html(`</button>${_el_resume($scope0_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(["_bw", "
|
|
20100
|
+
_html(`</button>${_el_resume($scope0_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(["_bw", "_fY"])}><div${_attr_class("_fZ")}>`);
|
|
20114
20101
|
_set_serialize_reason(_serialize_guard($scope0_reason, 10) << 1);
|
|
20115
20102
|
const $childScope2 = _peek_scope_id();
|
|
20116
20103
|
side_nav_chips_default({
|
|
@@ -20153,7 +20140,7 @@ var key_bar_sessions_default = _template("z", (input) => {
|
|
|
20153
20140
|
const $childScope3 = _peek_scope_id();
|
|
20154
20141
|
usage_pcts_default({
|
|
20155
20142
|
agent: plan,
|
|
20156
|
-
class: "
|
|
20143
|
+
class: "_f0"
|
|
20157
20144
|
});
|
|
20158
20145
|
writeScope($scope5_id, { a: _existing_scope($childScope3) });
|
|
20159
20146
|
return 0;
|
|
@@ -20179,7 +20166,7 @@ var key_bar_sessions_default = _template("z", (input) => {
|
|
|
20179
20166
|
a: _serialize_if($scope0_reason, 6) && _existing_scope($childScope4)
|
|
20180
20167
|
});
|
|
20181
20168
|
}, "id", $scope0_id, "f", $sg__input_sessions__OR__input_sessionId__OR__input_workspaceId__OR__input_onRenameSession__OR__input_onCloseSession, $sg__input_sessions, $sg__input_sessions__OR__input_agents, 0, 1);
|
|
20182
|
-
_html(`<div${_attr_class("
|
|
20169
|
+
_html(`<div${_attr_class("_f1")} role=group aria-label="New session"><div${_attr_class("_f2")}>`);
|
|
20183
20170
|
_for_of(["shell", ...input.agents], (agent) => {
|
|
20184
20171
|
const $scope3_id = _scope_id();
|
|
20185
20172
|
_html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agentLabel(agent)} session`)}>`);
|
|
@@ -20397,7 +20384,7 @@ var key_bar_default = _template("A", (input) => {
|
|
|
20397
20384
|
}, "A1", $scope0_id);
|
|
20398
20385
|
const dpadId = _id();
|
|
20399
20386
|
const dpadOpenBox = { open: false };
|
|
20400
|
-
_html(`<div${_attr_class("
|
|
20387
|
+
_html(`<div${_attr_class("_cY")}><div${_attr_class("_c0")}>`);
|
|
20401
20388
|
_if(() => {
|
|
20402
20389
|
if (keys) {
|
|
20403
20390
|
const $scope4_id = _scope_id();
|
|
@@ -20430,27 +20417,27 @@ var key_bar_default = _template("A", (input) => {
|
|
|
20430
20417
|
_if(() => {
|
|
20431
20418
|
if (input.mode === "diff" && !keys) {
|
|
20432
20419
|
const $scope9_id = _scope_id();
|
|
20433
|
-
_html(`<div data-review-find-host${_attr_class(["
|
|
20420
|
+
_html(`<div data-review-find-host${_attr_class(["_c3", { ["_c4"]: findLit }])}></div>${_el_resume($scope9_id, "a", $sg__input_mode__OR__input_keys__OR__input_reviewFindOpen)}`);
|
|
20434
20421
|
$si__input_mode__OR__input_keys__OR__input_reviewFindOpen && writeScope($scope9_id, { _: _scope_with_id($scope0_id) });
|
|
20435
20422
|
return 0;
|
|
20436
20423
|
}
|
|
20437
20424
|
}, $scope0_id, "d", $sg__input_mode__OR__input_keys__OR__input_reviewFindOpen, $sg__input_mode__OR__input_keys, $sg__input_mode__OR__input_keys__OR__input_workspaceId__OR__input_sessions_length__OR__input_workspaceName, 0, 1);
|
|
20438
|
-
_html(`<div${_attr_class(["
|
|
20425
|
+
_html(`<div${_attr_class(["_c1", { ["_c2"]: findLit }])}><button${_attr_class([kbtn, { ["_c8"]: input.mode === "nav" }])} title=Workspaces aria-pressed=${input.mode === "nav" ? "true" : "false"}>`);
|
|
20439
20426
|
icon_workspaces_default({ size: 16 });
|
|
20440
20427
|
_html(`</button>${_el_resume($scope0_id, "f")}`);
|
|
20441
20428
|
_if(() => {
|
|
20442
20429
|
if (input.workspaceId) {
|
|
20443
20430
|
const $scope1_id = _scope_id();
|
|
20444
|
-
_html(`<a${input.mode === "manage" ? _attr("href", `/w/${input.workspaceId}`) : _attr("href", `/w/${input.workspaceId}/manage`)}${_attr_class([kbtn, { ["
|
|
20431
|
+
_html(`<a${input.mode === "manage" ? _attr("href", `/w/${input.workspaceId}`) : _attr("href", `/w/${input.workspaceId}/manage`)}${_attr_class([kbtn, { ["_c8"]: input.mode === "manage" }])} title=${input.mode === "manage" ? "\"Back to terminal\"" : "Manage"}${input.mode === "manage" ? " aria-current=page" : ""}>`);
|
|
20445
20432
|
icon_manage_default({ size: 16 });
|
|
20446
|
-
_html(`</a>${_el_resume($scope1_id, "a", $sg__input_mode__OR__input_workspaceId)}<a${reviewing ? _attr("href", `/w/${input.workspaceId}`) : _attr("href", `/w/${input.workspaceId}/review`)}${_attr_class([kbtn, { ["
|
|
20433
|
+
_html(`</a>${_el_resume($scope1_id, "a", $sg__input_mode__OR__input_workspaceId)}<a${reviewing ? _attr("href", `/w/${input.workspaceId}`) : _attr("href", `/w/${input.workspaceId}/review`)}${_attr_class([kbtn, { ["_c8"]: reviewing }])} title=${reviewing ? "\"Back to terminal\"" : "Review"}${reviewing ? " aria-current=page" : ""}>`);
|
|
20447
20434
|
icon_diff_default({ size: 16 });
|
|
20448
20435
|
_html(`</a>${_el_resume($scope1_id, "c", $sg__input_mode__OR__input_workspaceId)}`);
|
|
20449
20436
|
_serialize_if($scope0_reason, 1) && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
20450
20437
|
return 0;
|
|
20451
20438
|
}
|
|
20452
20439
|
}, $scope0_id, "h", $sg__input_mode__OR__input_workspaceId, $sg__input_workspaceId, $sg__input_mode__OR__input_keys__OR__input_workspaceId__OR__input_sessions_length__OR__input_workspaceName);
|
|
20453
|
-
_html(`<div${_attr_class("
|
|
20440
|
+
_html(`<div${_attr_class("_c5")}>`);
|
|
20454
20441
|
_if(() => {
|
|
20455
20442
|
if (input.workspaceId && input.sessions?.length) {
|
|
20456
20443
|
const $scope2_id = _scope_id();
|
|
@@ -20478,29 +20465,29 @@ var key_bar_default = _template("A", (input) => {
|
|
|
20478
20465
|
_if(() => {
|
|
20479
20466
|
if (input.workspaceName) {
|
|
20480
20467
|
const $scope3_id = _scope_id();
|
|
20481
|
-
_html(`<span${_attr_class("
|
|
20468
|
+
_html(`<span${_attr_class("_c6")} aria-hidden=true><span${_attr_class("_c7")}>${_text_resume($scope3_id, "c", input.workspaceName, $sg__input_workspaceName)}</span></span>`);
|
|
20482
20469
|
$si__input_workspaceName && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
20483
20470
|
return 0;
|
|
20484
20471
|
}
|
|
20485
20472
|
}, $scope0_id, "j", $sg__input_workspaceName, $sg__input_workspaceName, $sg__input_mode__OR__input_keys__OR__input_workspaceId__OR__input_sessions_length__OR__input_workspaceName, 0, 1);
|
|
20486
|
-
_html(`<button${_attr_class([kbtn, "
|
|
20473
|
+
_html(`<button${_attr_class([kbtn, "_cZ"])} title=${keys ? "\"More keys\"" : "\"Keys unavailable on this page\""} aria-haspopup=dialog${_attr("aria-controls", dpadId)}${_attr("disabled", !keys)}>`);
|
|
20487
20474
|
icon_dpad_default({ size: 16 });
|
|
20488
20475
|
_html(`</button>${_el_resume($scope0_id, "k")}<button${_attr_class([
|
|
20489
20476
|
kbtn,
|
|
20490
|
-
"
|
|
20491
|
-
{ ["
|
|
20477
|
+
"_cZ",
|
|
20478
|
+
{ ["_c8"]: !!keys?.keyboard }
|
|
20492
20479
|
])}${keys ? ` title=${keys.keyboard ? "\"Hide keyboard\"" : "\"Show keyboard\""}` : " title=\"Keyboard unavailable on this page\""}${_attr("disabled", !keys)}>`);
|
|
20493
20480
|
icon_keyboard_default({ size: 16 });
|
|
20494
|
-
_html(`</button>${_el_resume($scope0_id, "m")}<button${_attr_class([kbtn, { ["
|
|
20481
|
+
_html(`</button>${_el_resume($scope0_id, "m")}<button${_attr_class([kbtn, { ["_c8"]: findLit }])}${findLit ? " title=\"Close find\"" : canKeys ? ` title=${input.mode === "diff" ? "\"Find in review\"" : "\"Find in terminal\""}` : " title=\"Find unavailable on this page\""} aria-pressed=${findLit ? "true" : "false"}${_attr("disabled", !canKeys)}>`);
|
|
20495
20482
|
icon_search_default({ size: 16 });
|
|
20496
|
-
_html(`</button>${_el_resume($scope0_id, "o")}</div>${_el_resume($scope0_id, "e", $sg__input_mode__OR__input_keys__OR__input_reviewFindOpen)}<div${_attr("id", dpadId)} popover=auto${_attr_class("
|
|
20483
|
+
_html(`</button>${_el_resume($scope0_id, "o")}</div>${_el_resume($scope0_id, "e", $sg__input_mode__OR__input_keys__OR__input_reviewFindOpen)}<div${_attr("id", dpadId)} popover=auto${_attr_class("_c_")}>`);
|
|
20497
20484
|
forOf(DPAD, (row, r) => {
|
|
20498
20485
|
const $scope5_id = _scope_id();
|
|
20499
20486
|
forOf(row, (cell, c) => {
|
|
20500
20487
|
const $scope6_id = _scope_id();
|
|
20501
20488
|
if (cell.kind === "paste") {
|
|
20502
20489
|
const $scope7_id = _scope_id();
|
|
20503
|
-
_html(`<button${_attr_class("
|
|
20490
|
+
_html(`<button${_attr_class("_da")} title=Paste>`);
|
|
20504
20491
|
icon_clipboard_default({ size: 16 });
|
|
20505
20492
|
_html(`</button>${_el_resume($scope7_id, "a")}`);
|
|
20506
20493
|
_script($scope7_id, "A5");
|
|
@@ -20512,7 +20499,7 @@ var key_bar_default = _template("A", (input) => {
|
|
|
20512
20499
|
writeScope($scope8_id, { _: _scope_with_id($scope6_id) });
|
|
20513
20500
|
} else {
|
|
20514
20501
|
const $scope10_id = _scope_id();
|
|
20515
|
-
_html(`<button${_attr_class([repeat, { ["
|
|
20502
|
+
_html(`<button${_attr_class([repeat, { ["_dc"]: cell.icon === "enter" }])}${_attr("title", cell.label)}${_attr("aria-label", cell.label)}>`);
|
|
20516
20503
|
if (cell.icon === "arrow-up") {
|
|
20517
20504
|
_scope_id();
|
|
20518
20505
|
icon_arrow_up_default({ size: 18 });
|
|
@@ -20641,14 +20628,14 @@ var command_palette_default = _template("j", (input$3) => {
|
|
|
20641
20628
|
}, {
|
|
20642
20629
|
id: "review",
|
|
20643
20630
|
group: ws.name,
|
|
20644
|
-
label: "Review
|
|
20631
|
+
label: "Review",
|
|
20645
20632
|
key: "⌘⇧D",
|
|
20646
20633
|
glyph: "review",
|
|
20647
20634
|
href: `/w/${ws.id}/review`
|
|
20648
20635
|
}, {
|
|
20649
20636
|
id: "manage",
|
|
20650
20637
|
group: ws.name,
|
|
20651
|
-
label: "Manage
|
|
20638
|
+
label: "Manage",
|
|
20652
20639
|
glyph: "manage",
|
|
20653
20640
|
href: `/w/${ws.id}/manage`
|
|
20654
20641
|
});
|
|
@@ -20759,7 +20746,7 @@ var command_palette_default = _template("j", (input$3) => {
|
|
|
20759
20746
|
const $childScope2 = _peek_scope_id();
|
|
20760
20747
|
modal_view_default({
|
|
20761
20748
|
label: "Command palette",
|
|
20762
|
-
class: ["_bH", "
|
|
20749
|
+
class: ["_bH", "_cL"],
|
|
20763
20750
|
open,
|
|
20764
20751
|
openChange: _resume((_new_open) => {
|
|
20765
20752
|
open = _new_open;
|
|
@@ -20771,14 +20758,14 @@ var command_palette_default = _template("j", (input$3) => {
|
|
|
20771
20758
|
_if(() => {
|
|
20772
20759
|
if (open) {
|
|
20773
20760
|
const $scope2_id = _scope_id();
|
|
20774
|
-
_html(`<div${_attr_class("
|
|
20761
|
+
_html(`<div${_attr_class("_cM")}>`);
|
|
20775
20762
|
icon_search_default({ size: 14 });
|
|
20776
20763
|
_html(`<input${_attr_input_value($scope2_id, "c", query, _resume(function(v) {
|
|
20777
20764
|
query = v;
|
|
20778
20765
|
hi = 0;
|
|
20779
|
-
}, "j0", $scope2_id))}${_attr_class(input)} type=search autofocus autocomplete=off placeholder="Workspaces, sessions, commands…" aria-label=Command role=combobox aria-expanded=true${_attr("aria-controls", listId)}>${_el_resume($scope2_id, "c")}<button type=button${_attr_class([iconBtnLg, "
|
|
20766
|
+
}, "j0", $scope2_id))}${_attr_class(input)} type=search autofocus autocomplete=off placeholder="Workspaces, sessions, commands…" aria-label=Command role=combobox aria-expanded=true${_attr("aria-controls", listId)}>${_el_resume($scope2_id, "c")}<button type=button${_attr_class([iconBtnLg, "_cO"])} title=Close aria-label=Close>`);
|
|
20780
20767
|
icon_xmark_default({ size: 16 });
|
|
20781
|
-
_html(`</button>${_el_resume($scope2_id, "d")}</div><ul${_attr("id", listId)}${_attr_class("
|
|
20768
|
+
_html(`</button>${_el_resume($scope2_id, "d")}</div><ul${_attr("id", listId)}${_attr_class("_cP")} role=listbox>`);
|
|
20782
20769
|
_for_of(results, (item, i) => {
|
|
20783
20770
|
const $scope4_id = _scope_id();
|
|
20784
20771
|
const $for_content__item_agent__closures = /* @__PURE__ */ new Set();
|
|
@@ -20798,7 +20785,7 @@ var command_palette_default = _template("j", (input$3) => {
|
|
|
20798
20785
|
_dynamic_tag($scope4_id, "c", item.href ? "a" : "button", {
|
|
20799
20786
|
href: item.href,
|
|
20800
20787
|
type: item.href ? void 0 : "button",
|
|
20801
|
-
class: ["
|
|
20788
|
+
class: ["_cS", i === at && "_cR"],
|
|
20802
20789
|
"data-palette-row": i,
|
|
20803
20790
|
onMouseMove: _resume(function() {
|
|
20804
20791
|
if (hi !== i) hi = i;
|
|
@@ -20809,7 +20796,7 @@ var command_palette_default = _template("j", (input$3) => {
|
|
|
20809
20796
|
}, _content_resume("j6", () => {
|
|
20810
20797
|
const $scope6_id = _scope_id();
|
|
20811
20798
|
_scope_reason();
|
|
20812
|
-
_html(`<span${_attr_class("
|
|
20799
|
+
_html(`<span${_attr_class("_cT")} aria-hidden=true>`);
|
|
20813
20800
|
_if(() => {
|
|
20814
20801
|
if (item.glyph === "agent") {
|
|
20815
20802
|
const $scope7_id = _scope_id();
|
|
@@ -20878,11 +20865,11 @@ var command_palette_default = _template("j", (input$3) => {
|
|
|
20878
20865
|
return 11;
|
|
20879
20866
|
}
|
|
20880
20867
|
}, $scope6_id, "a", 1, 1, 1, "</span>");
|
|
20881
|
-
_html(`<span${_attr_class("
|
|
20868
|
+
_html(`<span${_attr_class("_cU")}>${_text_resume($scope6_id, "c", item.label)}</span>`);
|
|
20882
20869
|
_if(() => {
|
|
20883
20870
|
if (item.hint) {
|
|
20884
20871
|
const $scope8_id = _scope_id();
|
|
20885
|
-
_html(`<span${_attr_class("
|
|
20872
|
+
_html(`<span${_attr_class("_cV")}>${_text_resume($scope8_id, "b", item.hint)}</span>`);
|
|
20886
20873
|
_subscribe($for_content__item_hint__closures, writeScope($scope8_id, { Ct: 1 }));
|
|
20887
20874
|
return 0;
|
|
20888
20875
|
}
|
|
@@ -20890,7 +20877,7 @@ var command_palette_default = _template("j", (input$3) => {
|
|
|
20890
20877
|
_if(() => {
|
|
20891
20878
|
if (item.key) {
|
|
20892
20879
|
const $scope9_id = _scope_id();
|
|
20893
|
-
_html(`<kbd${_attr_class("
|
|
20880
|
+
_html(`<kbd${_attr_class("_cW")}>${_text_resume($scope9_id, "b", item.key)}</kbd>`);
|
|
20894
20881
|
_subscribe($for_content__item_key__closures, writeScope($scope9_id, { Cu: 1 }));
|
|
20895
20882
|
return 0;
|
|
20896
20883
|
}
|
|
@@ -20918,7 +20905,7 @@ var command_palette_default = _template("j", (input$3) => {
|
|
|
20918
20905
|
_if(() => {
|
|
20919
20906
|
if (!results.length) {
|
|
20920
20907
|
const $scope3_id = _scope_id();
|
|
20921
|
-
_html(`<p${_attr_class("
|
|
20908
|
+
_html(`<p${_attr_class("_cX")}>Nothing matches “${_text_resume($scope3_id, "b", query, 2)}”.</p>`);
|
|
20922
20909
|
_subscribe($query__closures, writeScope($scope3_id, { Ca9: 1 }));
|
|
20923
20910
|
return 0;
|
|
20924
20911
|
}
|
|
@@ -21104,7 +21091,7 @@ var app_shell_default = _template("f", (input) => {
|
|
|
21104
21091
|
try {
|
|
21105
21092
|
await workspaceAction(id, "restore");
|
|
21106
21093
|
} catch (err) {
|
|
21107
|
-
error = `
|
|
21094
|
+
error = `Unarchive failed: ${errText(err)}`;
|
|
21108
21095
|
return;
|
|
21109
21096
|
}
|
|
21110
21097
|
workspaces = workspaces.map((w) => w.id === id ? {
|
|
@@ -21207,7 +21194,7 @@ var app_shell_default = _template("f", (input) => {
|
|
|
21207
21194
|
};
|
|
21208
21195
|
}, "f11", $scope3_id)
|
|
21209
21196
|
});
|
|
21210
|
-
_html(`<div${_attr_class("_l")}><button type=button${_attr_class("_r")}>
|
|
21197
|
+
_html(`<div${_attr_class("_l")}><button type=button${_attr_class("_r")}>Set up later</button>${_el_resume($scope3_id, "d")}</div></div>`);
|
|
21211
21198
|
_script($scope3_id, "f49");
|
|
21212
21199
|
writeScope($scope3_id, { b: _existing_scope($childScope) });
|
|
21213
21200
|
return 0;
|
|
@@ -21231,7 +21218,7 @@ var app_shell_default = _template("f", (input) => {
|
|
|
21231
21218
|
["_g"]: !selectedId && showSetup,
|
|
21232
21219
|
["_e"]: navView === "nav"
|
|
21233
21220
|
}])}>`);
|
|
21234
|
-
_set_serialize_reason(
|
|
21221
|
+
_set_serialize_reason(9054890);
|
|
21235
21222
|
const $childScope2 = _peek_scope_id();
|
|
21236
21223
|
activity_bar_default({
|
|
21237
21224
|
workspace: navWs,
|
|
@@ -22180,7 +22167,7 @@ function cliArgs(args, opts, scopeToAgents) {
|
|
|
22180
22167
|
];
|
|
22181
22168
|
}
|
|
22182
22169
|
function runCli(args, opts, scopeToAgents = true) {
|
|
22183
|
-
if (!skillsCliAvailable()) throw httpError(400, "The skills CLI is not installed —
|
|
22170
|
+
if (!skillsCliAvailable()) throw httpError(400, "The skills CLI is not installed — install it from Settings → Skills.");
|
|
22184
22171
|
const cwd = opts.scope === "workspace" ? opts.wsPath : void 0;
|
|
22185
22172
|
const key = opts.scope === "global" ? "global" : opts.wsPath ?? "workspace";
|
|
22186
22173
|
return withLock(key, () => runStreaming("skills", cliArgs(args, opts, scopeToAgents), {
|
|
@@ -22550,7 +22537,7 @@ function manifestFileName() {
|
|
|
22550
22537
|
function parseManifest(input) {
|
|
22551
22538
|
const m = input;
|
|
22552
22539
|
if (!m || typeof m !== "object" || !m.work || !Array.isArray(m.workspaces)) throw httpError(400, "not a work backup file");
|
|
22553
|
-
if (typeof m.work.format !== "number" || m.work.format > 2) throw httpError(400, `backup format ${m.work.format} is newer than this work (2) — update first`);
|
|
22540
|
+
if (typeof m.work.format !== "number" || m.work.format > 2) throw httpError(400, `backup format ${m.work.format} is newer than this work reads (2) — update work first`);
|
|
22554
22541
|
const dense = m.work.format >= 2;
|
|
22555
22542
|
const workspaces = [];
|
|
22556
22543
|
for (const ws of m.workspaces) {
|
|
@@ -23222,7 +23209,7 @@ var deleteHandler$4 = normalizeHandler(Run.DELETE({ params({ pid }) {
|
|
|
23222
23209
|
return { pid: n };
|
|
23223
23210
|
} }, async (ctx) => {
|
|
23224
23211
|
const paths = listWorkspaces().map((ws) => ws.path);
|
|
23225
|
-
if (!await killWorkspaceProc(ctx.params.pid, paths)) throw httpError(404,
|
|
23212
|
+
if (!await killWorkspaceProc(ctx.params.pid, paths)) throw httpError(404, `process ${ctx.params.pid} has exited or is not in a workspace`);
|
|
23226
23213
|
return Response.json({ ok: true });
|
|
23227
23214
|
}), "DELETE");
|
|
23228
23215
|
var delete20_options = normalizeOptions("DELETE", mware12, deleteHandler$4);
|
|
@@ -30190,17 +30177,47 @@ var forceChain = /* @__PURE__ */ new Map();
|
|
|
30190
30177
|
* read and the write cannot interleave with another client's force, and an
|
|
30191
30178
|
* attach or viewport change costs one tmux spawn instead of two. A
|
|
30192
30179
|
* same-size resize-window would still SIGWINCH the agent TUI into a
|
|
30193
|
-
* visible reflow, which is why the check exists at all.
|
|
30180
|
+
* visible reflow, which is why the check exists at all. Says whether it
|
|
30181
|
+
* resized. */
|
|
30194
30182
|
async function resizeWindowIfNeeded(name, cols, rows) {
|
|
30195
|
-
await tmux([
|
|
30183
|
+
return (await tmux([
|
|
30196
30184
|
"if-shell",
|
|
30197
30185
|
"-F",
|
|
30198
30186
|
"-t",
|
|
30199
30187
|
name,
|
|
30200
30188
|
`#{==:#{window_width}x#{window_height},${cols}x${rows}}`,
|
|
30201
30189
|
"",
|
|
30202
|
-
`resize-window -t ${name} -x ${cols} -y ${rows}`
|
|
30203
|
-
]).catch(() =>
|
|
30190
|
+
`resize-window -t ${name} -x ${cols} -y ${rows} ; display-message -p resized`
|
|
30191
|
+
]).catch(() => "")).includes("resized");
|
|
30192
|
+
}
|
|
30193
|
+
/** How long an attach waits, at most, for the agent's redraw after the
|
|
30194
|
+
* window was resized for it, and how often it looks. A spinner never goes
|
|
30195
|
+
* quiet, so the wait is capped rather than exact. */
|
|
30196
|
+
var REDRAW_SETTLE_MAX_MS = 300;
|
|
30197
|
+
var REDRAW_SETTLE_POLL_MS = 25;
|
|
30198
|
+
/** Wait for a just-resized pane to finish redrawing: the agent repaints
|
|
30199
|
+
* for its new size a moment after the SIGWINCH, and an attach inside that
|
|
30200
|
+
* moment paints the old frame (cropped or letterboxed) with the redraw
|
|
30201
|
+
* landing over it — the relayout a pane showed on its first open after
|
|
30202
|
+
* another screen had it. Done when two looks a poll apart match, after
|
|
30203
|
+
* one poll at least: straight after the resize nothing has redrawn yet. */
|
|
30204
|
+
async function redrawSettled(name) {
|
|
30205
|
+
const look = () => tmux([
|
|
30206
|
+
"capture-pane",
|
|
30207
|
+
"-p",
|
|
30208
|
+
"-t",
|
|
30209
|
+
name
|
|
30210
|
+
]).catch(() => "");
|
|
30211
|
+
const deadline = Date.now() + REDRAW_SETTLE_MAX_MS;
|
|
30212
|
+
const wait = () => new Promise((r) => setTimeout(r, REDRAW_SETTLE_POLL_MS));
|
|
30213
|
+
await wait();
|
|
30214
|
+
let prev = await look();
|
|
30215
|
+
while (Date.now() < deadline) {
|
|
30216
|
+
await wait();
|
|
30217
|
+
const next = await look();
|
|
30218
|
+
if (next === prev) return;
|
|
30219
|
+
prev = next;
|
|
30220
|
+
}
|
|
30204
30221
|
}
|
|
30205
30222
|
/** Visible-viewer counts per session; mirrored into agent state so push
|
|
30206
30223
|
* notifications skip sessions someone is actively watching. */
|
|
@@ -30293,6 +30310,10 @@ async function handleTermConnection(ws, req) {
|
|
|
30293
30310
|
markTmuxStarted(session.id);
|
|
30294
30311
|
tmuxArgs = newSessionArgs(session, wsPath, "-A");
|
|
30295
30312
|
} else return ws.close(WS_EXITED, "exited");
|
|
30313
|
+
if (alive && !respawn && connectedVisible) {
|
|
30314
|
+
lastForced.set(session.id, `${cols}x${rows}`);
|
|
30315
|
+
if (await resizeWindowIfNeeded(name, cols, rows)) await redrawSettled(name);
|
|
30316
|
+
}
|
|
30296
30317
|
if (ws.readyState !== ws.OPEN) return;
|
|
30297
30318
|
proc = pty.spawn("tmux", [
|
|
30298
30319
|
"-L",
|
|
@@ -30643,4 +30664,4 @@ server.listen(port, () => {
|
|
|
30643
30664
|
//#endregion
|
|
30644
30665
|
export {};
|
|
30645
30666
|
|
|
30646
|
-
;var __MARKO_MANIFEST__={"
|
|
30667
|
+
;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-folder-BPapa-iT.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-folder-BPapa-iT.css\"",">",2,"stylesheet#/assets/key-bar.css.ts-Cn1EB8no.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/key-bar.css.ts-Cn1EB8no.css\"",">",2,"stylesheet#/assets/app-page-Ch2WNrls.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Ch2WNrls.css\"",">"],"defer":[2,"/assets/new-BWfPfN2i.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-BWfPfN2i.js\"","></script>",2,"modulepreload#/assets/_JEFA6C6p.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_JEFA6C6p.js\"",">",2,"modulepreload#/assets/_C8tYJU0G.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C8tYJU0G.js\"",">",2,"modulepreload#/assets/_Btn3KyeZ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Btn3KyeZ.js\"",">",2,"modulepreload#/assets/_hRcrYakS.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hRcrYakS.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-folder-BPapa-iT.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-folder-BPapa-iT.css\"",">",2,"stylesheet#/assets/key-bar.css.ts-Cn1EB8no.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/key-bar.css.ts-Cn1EB8no.css\"",">",2,"stylesheet#/assets/app-page-Ch2WNrls.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Ch2WNrls.css\"",">"],"defer":[2,"/assets/w._-BWfPfN2i.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-BWfPfN2i.js\"","></script>",2,"modulepreload#/assets/_JEFA6C6p.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_JEFA6C6p.js\"",">",2,"modulepreload#/assets/_C8tYJU0G.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C8tYJU0G.js\"",">",2,"modulepreload#/assets/_Btn3KyeZ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Btn3KyeZ.js\"",">",2,"modulepreload#/assets/_hRcrYakS.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hRcrYakS.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-folder-BPapa-iT.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-folder-BPapa-iT.css\"",">",2,"stylesheet#/assets/key-bar.css.ts-Cn1EB8no.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/key-bar.css.ts-Cn1EB8no.css\"",">",2,"stylesheet#/assets/app-page-Ch2WNrls.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Ch2WNrls.css\"",">"],"defer":[2,"/assets/w-BWfPfN2i.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-BWfPfN2i.js\"","></script>",2,"modulepreload#/assets/_JEFA6C6p.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_JEFA6C6p.js\"",">",2,"modulepreload#/assets/_C8tYJU0G.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C8tYJU0G.js\"",">",2,"modulepreload#/assets/_Btn3KyeZ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Btn3KyeZ.js\"",">",2,"modulepreload#/assets/_hRcrYakS.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hRcrYakS.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-folder-BPapa-iT.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-folder-BPapa-iT.css\"",">",2,"stylesheet#/assets/key-bar.css.ts-Cn1EB8no.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/key-bar.css.ts-Cn1EB8no.css\"",">",2,"stylesheet#/assets/app-page-Ch2WNrls.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Ch2WNrls.css\"",">"],"defer":[2,"/assets/settings-BWfPfN2i.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-BWfPfN2i.js\"","></script>",2,"modulepreload#/assets/_JEFA6C6p.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_JEFA6C6p.js\"",">",2,"modulepreload#/assets/_C8tYJU0G.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C8tYJU0G.js\"",">",2,"modulepreload#/assets/_Btn3KyeZ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Btn3KyeZ.js\"",">",2,"modulepreload#/assets/_hRcrYakS.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hRcrYakS.js\"",">"]},"OXEVeHv":{"block":[2,"stylesheet#/assets/icon-folder-BPapa-iT.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-folder-BPapa-iT.css\"",">",2,"stylesheet#/assets/key-bar.css.ts-Cn1EB8no.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/key-bar.css.ts-Cn1EB8no.css\"",">",2,"stylesheet#/assets/app-page-Ch2WNrls.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Ch2WNrls.css\"",">"],"defer":[2,"/assets/w._-DWMNJBN1.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-DWMNJBN1.js\"","></script>",2,"modulepreload#/assets/_JEFA6C6p.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_JEFA6C6p.js\"",">",2,"modulepreload#/assets/_C8tYJU0G.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C8tYJU0G.js\"",">",2,"modulepreload#/assets/_Btn3KyeZ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Btn3KyeZ.js\"",">",2,"modulepreload#/assets/_hRcrYakS.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hRcrYakS.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-folder-BPapa-iT.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-folder-BPapa-iT.css\"",">",2,"stylesheet#/assets/key-bar.css.ts-Cn1EB8no.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/key-bar.css.ts-Cn1EB8no.css\"",">",2,"stylesheet#/assets/app-page-Ch2WNrls.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Ch2WNrls.css\"",">"],"defer":[2,"/assets/w._-Qh-uM482.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-Qh-uM482.js\"","></script>",2,"modulepreload#/assets/_JEFA6C6p.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_JEFA6C6p.js\"",">",2,"modulepreload#/assets/_C8tYJU0G.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C8tYJU0G.js\"",">",2,"modulepreload#/assets/_Btn3KyeZ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Btn3KyeZ.js\"",">",2,"modulepreload#/assets/_hRcrYakS.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hRcrYakS.js\"",">"]},"_S":{"block":[2,"stylesheet#/assets/review-view-D2tbG0KH.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-D2tbG0KH.css\"",">",2,"stylesheet#/assets/icon-folder-BPapa-iT.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-folder-BPapa-iT.css\"",">",2,"stylesheet#/assets/key-bar.css.ts-Cn1EB8no.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/key-bar.css.ts-Cn1EB8no.css\"",">",2,"stylesheet#/assets/quick-open-Dv9UrKwH.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/quick-open-Dv9UrKwH.css\"",">"],"defer":[2,"/assets/review-view-B0NZMqnR.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-B0NZMqnR.js\"","></script>",2,"modulepreload#/assets/_JEFA6C6p.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_JEFA6C6p.js\"",">"]},"_v":{"block":[2,"stylesheet#/assets/files-view-C3BiSWRl.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/files-view-C3BiSWRl.css\"",">",2,"stylesheet#/assets/icon-folder-BPapa-iT.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-folder-BPapa-iT.css\"",">",2,"stylesheet#/assets/quick-open-Dv9UrKwH.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/quick-open-Dv9UrKwH.css\"",">"],"defer":[2,"/assets/files-view-Daufya8D.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/files-view-Daufya8D.js\"","></script>",2,"modulepreload#/assets/_JEFA6C6p.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_JEFA6C6p.js\"",">"]}};
|