@dylanpiercey/work 0.0.69 → 0.0.70
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/{_BzEc7Y99.js → _AOPS87VY.js} +2 -2
- package/dist/{_BBDhdUuj.js → _B-dzDH9Z.js} +42 -42
- package/dist/{_mSrLyFdO.js → _DgDsZuoQ.js} +101 -41
- package/dist/_xZfpJdQE.js +2 -0
- package/dist/index.mjs +139 -139
- package/dist/public/assets/{_Bk7LZElr2.js → _2jwfRZNX2.js} +1 -1
- package/dist/public/assets/_2jwfRZNX2.js.br +0 -0
- package/dist/public/assets/{_Vyuu16Ad.js → _4Srbdaf8.js} +1 -1
- package/dist/public/assets/_4Srbdaf8.js.br +0 -0
- package/dist/public/assets/{_D3U77twm2.js → _B1dK1Qzq2.js} +1 -1
- package/dist/public/assets/_B1dK1Qzq2.js.br +0 -0
- package/dist/public/assets/{_DohOwerT.js → _B41uLDvj.js} +1 -1
- package/dist/public/assets/_B41uLDvj.js.br +0 -0
- package/dist/public/assets/{_y21Miw0G2.js → _B7R_FSi52.js} +1 -1
- package/dist/public/assets/_B7R_FSi52.js.br +0 -0
- package/dist/public/assets/{_C0gLchFg2.js → _BM3WaJrl2.js} +1 -1
- package/dist/public/assets/_BM3WaJrl2.js.br +0 -0
- package/dist/public/assets/{_B2XlFtZA.js → _BRtDdwZC.js} +1 -1
- package/dist/public/assets/_BRtDdwZC.js.br +0 -0
- package/dist/public/assets/{_QdFvZh29.js → _BUuMdUVD.js} +1 -1
- package/dist/public/assets/_BUuMdUVD.js.br +0 -0
- package/dist/public/assets/{_Dzckria-2.js → _BVOP1Gxw2.js} +1 -1
- package/dist/public/assets/_BVOP1Gxw2.js.br +0 -0
- package/dist/public/assets/{_CNjJeI_E2.js → _B_hrJVb02.js} +1 -1
- package/dist/public/assets/_B_hrJVb02.js.br +0 -0
- package/dist/public/assets/{_DdX84yEG.js → _BhaVokkI.js} +1 -1
- package/dist/public/assets/_BhaVokkI.js.br +0 -0
- package/dist/public/assets/{_DcOH-3Zl2.js → _BnGCBcwF2.js} +1 -1
- package/dist/public/assets/{_7eu3vqOe.js → _BpwxxOzh.js} +1 -1
- package/dist/public/assets/_BpwxxOzh.js.br +0 -0
- package/dist/public/assets/{_cuvR6O2V.js → _BqzmoFMM.js} +1 -1
- package/dist/public/assets/_BqzmoFMM.js.br +0 -0
- package/dist/public/assets/{_CyEK8RLH.js → _BriDrk1l.js} +1 -1
- package/dist/public/assets/_BriDrk1l.js.br +0 -0
- package/dist/public/assets/{_CnWPkpG6.js → _BsZkEJaX.js} +1 -1
- package/dist/public/assets/_BsZkEJaX.js.br +0 -0
- package/dist/public/assets/{_Dk90j4eO.js → _C09f6XJ4.js} +1 -1
- package/dist/public/assets/_C09f6XJ4.js.br +0 -0
- package/dist/public/assets/{_C_hrnmAR.js → _C178aaRj.js} +1 -1
- package/dist/public/assets/_C178aaRj.js.br +0 -0
- package/dist/public/assets/{_BVaiw33j.js → _C5McqdVq.js} +1 -1
- package/dist/public/assets/_C5McqdVq.js.br +0 -0
- package/dist/public/assets/{_DPBnSJ7J.js → _C8xwneiR.js} +1 -1
- package/dist/public/assets/_C8xwneiR.js.br +0 -0
- package/dist/public/assets/{_hsoShTMK.js → _CCwzIksI.js} +1 -1
- package/dist/public/assets/_CCwzIksI.js.br +0 -0
- package/dist/public/assets/{_h65AGMTQ2.js → _CDrCRgYz2.js} +1 -1
- package/dist/public/assets/_CDrCRgYz2.js.br +0 -0
- package/dist/public/assets/{_CqASoXOX.js → _CE_OuXoU.js} +1 -1
- package/dist/public/assets/_CE_OuXoU.js.br +0 -0
- package/dist/public/assets/{_nSzaoNgm2.js → _CF4WUrOg2.js} +1 -1
- package/dist/public/assets/_CF4WUrOg2.js.br +0 -0
- package/dist/public/assets/{_BG91Ur7C.js → _CN37KCcd.js} +1 -1
- package/dist/public/assets/{_C-zOao0B2.js → _CP9QfGt02.js} +1 -1
- package/dist/public/assets/_CP9QfGt02.js.br +0 -0
- package/dist/public/assets/{_Dn9evgOf2.js → _CX7KVAVC2.js} +1 -1
- package/dist/public/assets/_CX7KVAVC2.js.br +0 -0
- package/dist/public/assets/{_DpiQNDSt.js → _CZAtZHwK.js} +1 -1
- package/dist/public/assets/_CZAtZHwK.js.br +0 -0
- package/dist/public/assets/{_CObWod2f2.js → _CZSK2PpM2.js} +1 -1
- package/dist/public/assets/_CZSK2PpM2.js.br +0 -0
- package/dist/public/assets/{_Cn24gDaN.js → _CcaAXEPy.js} +1 -1
- package/dist/public/assets/_CcaAXEPy.js.br +0 -0
- package/dist/public/assets/{_D13hLO2N2.js → _Ce5PUr__2.js} +1 -1
- package/dist/public/assets/{_Yor3dkCs.js → _ChzC-M8b.js} +1 -1
- package/dist/public/assets/_ChzC-M8b.js.br +0 -0
- package/dist/public/assets/{_CQ1se5Ph.js → _CieMd70P.js} +1 -1
- package/dist/public/assets/_CieMd70P.js.br +0 -0
- package/dist/public/assets/{_CI-lBiRq.js → _CktwGNoV.js} +3 -3
- package/dist/public/assets/_CktwGNoV.js.br +0 -0
- package/dist/public/assets/{_DaYRBUL-.js → _Cnkj8G8x.js} +1 -1
- package/dist/public/assets/_Cnkj8G8x.js.br +0 -0
- package/dist/public/assets/{_CaQPDPmE.js → _CphuLRQC.js} +1 -1
- package/dist/public/assets/_CphuLRQC.js.br +0 -0
- package/dist/public/assets/{_RfX8IpFo.js → _CxfSIWfr.js} +1 -1
- package/dist/public/assets/_CxfSIWfr.js.br +0 -0
- package/dist/public/assets/{_Be6zDaw_2.js → _D1ZMPYoI2.js} +1 -1
- package/dist/public/assets/_D1ZMPYoI2.js.br +0 -0
- package/dist/public/assets/{__fELRce2.js → _D5nI5TU0.js} +1 -1
- package/dist/public/assets/_D5nI5TU0.js.br +0 -0
- package/dist/public/assets/{_AjJFGKIO.js → _D70dHsK5.js} +1 -1
- package/dist/public/assets/_D70dHsK5.js.br +0 -0
- package/dist/public/assets/{_C_KMHM_B.js → _DBKHnCnH.js} +1 -1
- package/dist/public/assets/_DBKHnCnH.js.br +0 -0
- package/dist/public/assets/{_uoCfxD-5.js → _DFXWJj8u.js} +1 -1
- package/dist/public/assets/_DFXWJj8u.js.br +0 -0
- package/dist/public/assets/{_C4cnPJZt.js → _DIIVUEO6.js} +1 -1
- package/dist/public/assets/_DIIVUEO6.js.br +0 -0
- package/dist/public/assets/{_CyUpyj0-.js → _DJSAaBeq.js} +1 -1
- package/dist/public/assets/_DJSAaBeq.js.br +0 -0
- package/dist/public/assets/{_DHJUTBX4.js → _DK9AWQX8.js} +1 -1
- package/dist/public/assets/_DK9AWQX8.js.br +0 -0
- package/dist/public/assets/{_By_xPS-p.js → _DP-0321c.js} +1 -1
- package/dist/public/assets/_DP-0321c.js.br +0 -0
- package/dist/public/assets/{_Cimq_3st2.js → _DQjgTNLT2.js} +1 -1
- package/dist/public/assets/_DQjgTNLT2.js.br +0 -0
- package/dist/public/assets/{_Cl5u4DlE.js → _DRzPr12K.js} +1 -1
- package/dist/public/assets/_DRzPr12K.js.br +0 -0
- package/dist/public/assets/{_DbKE1MvW.js → _DSW7pXqz.js} +1 -1
- package/dist/public/assets/_DSW7pXqz.js.br +0 -0
- package/dist/public/assets/{_BtnTWv2c.js → _DThR70Xq.js} +1 -1
- package/dist/public/assets/_DThR70Xq.js.br +0 -0
- package/dist/public/assets/{_B0mlTNYN.js → _De1DhN-1.js} +5 -5
- package/dist/public/assets/_De1DhN-1.js.br +0 -0
- package/dist/public/assets/{_B8QdoRxF.js → _DeFFMAX_.js} +1 -1
- package/dist/public/assets/_DeFFMAX_.js.br +0 -0
- package/dist/public/assets/{_eOSbQ2H52.js → _Dg2DUGem2.js} +1 -1
- package/dist/public/assets/_Dg2DUGem2.js.br +0 -0
- package/dist/public/assets/{_CGxB7jfP2.js → _DgW7RRes2.js} +1 -1
- package/dist/public/assets/_DgW7RRes2.js.br +0 -0
- package/dist/public/assets/{_z9xnkyG0.js → _DhRqr_Rq.js} +1 -1
- package/dist/public/assets/_DhRqr_Rq.js.br +0 -0
- package/dist/public/assets/{_DNT9FflM.js → _Dig0hTtr.js} +1 -1
- package/dist/public/assets/_Dig0hTtr.js.br +0 -0
- package/dist/public/assets/{_B2Wh9q7i2.js → _DkIPVGH_2.js} +1 -1
- package/dist/public/assets/_DkIPVGH_2.js.br +0 -0
- package/dist/public/assets/{_DMbI3C312.js → _DoD7JLuh2.js} +1 -1
- package/dist/public/assets/_DoD7JLuh2.js.br +0 -0
- package/dist/public/assets/{_DIrrBSY3.js → _Dph0mXCv.js} +1 -1
- package/dist/public/assets/_Dph0mXCv.js.br +0 -0
- package/dist/public/assets/{_De2MbV4-.js → _DsU-Nm-J.js} +1 -1
- package/dist/public/assets/_DsU-Nm-J.js.br +0 -0
- package/dist/public/assets/{_Bn42mWko.js → _DsxkxJ9M.js} +1 -1
- package/dist/public/assets/_DsxkxJ9M.js.br +0 -0
- package/dist/public/assets/{_Dh4U5ZBy2.js → _DwMRIbNQ2.js} +1 -1
- package/dist/public/assets/_DwMRIbNQ2.js.br +0 -0
- package/dist/public/assets/{_xQNWoj97.js → _IoBnaDj6.js} +1 -1
- package/dist/public/assets/_IoBnaDj6.js.br +0 -0
- package/dist/public/assets/{_CN7jdIqu.js → _MFSKg2Wj.js} +1 -1
- package/dist/public/assets/_MFSKg2Wj.js.br +0 -0
- package/dist/public/assets/{_PL2w-xvr2.js → _NUfAwX-92.js} +1 -1
- package/dist/public/assets/_NUfAwX-92.js.br +0 -0
- package/dist/public/assets/{_C8JrL8ZU.js → _SYogbY_o.js} +1 -1
- package/dist/public/assets/_SYogbY_o.js.br +0 -0
- package/dist/public/assets/{_D4aBfTEq2.js → _Ve3NFPam2.js} +1 -1
- package/dist/public/assets/_Ve3NFPam2.js.br +0 -0
- package/dist/public/assets/{_D0_YGa2m.js → _astyk4W8.js} +1 -1
- package/dist/public/assets/_astyk4W8.js.br +0 -0
- package/dist/public/assets/{_BTIiA2Aj.js → _dfXi0jTI.js} +1 -1
- package/dist/public/assets/_dfXi0jTI.js.br +0 -0
- package/dist/public/assets/{_DEkiGmgs2.js → _eH0Yg3S22.js} +1 -1
- package/dist/public/assets/_eH0Yg3S22.js.br +0 -0
- package/dist/public/assets/{_9JFMnVkT.js → _okxblAux.js} +1 -1
- package/dist/public/assets/_okxblAux.js.br +0 -0
- package/dist/public/assets/{_DlipybEX.js → _sRXHGNUn.js} +1 -1
- package/dist/public/assets/_sRXHGNUn.js.br +0 -0
- package/dist/public/assets/{_BJbOGqL2.js → _uCHmU2W8.js} +1 -1
- package/dist/public/assets/_uCHmU2W8.js.br +0 -0
- package/dist/public/assets/{_BaW3VCxs2.js → _vJB03LvX2.js} +1 -1
- package/dist/public/assets/_vJB03LvX2.js.br +0 -0
- package/dist/public/assets/{_CANbMbX3.js → _vW-7Ai-v.js} +1 -1
- package/dist/public/assets/_vW-7Ai-v.js.br +0 -0
- package/dist/public/assets/{_Dqp3F2Ex.js → _yaHB4Z8B.js} +1 -1
- package/dist/public/assets/_yaHB4Z8B.js.br +0 -0
- package/dist/public/assets/{app-page-BFosX16q.css → app-page-B-QPv6NA.css} +1 -1
- package/dist/public/assets/app-page-B-QPv6NA.css.br +0 -0
- package/dist/public/assets/{diff-view-DjZg0WLz.css → diff-view-DM1slFkP.css} +1 -1
- package/dist/public/assets/diff-view-DM1slFkP.css.br +0 -0
- package/dist/public/assets/new-CxcQDhex.js +1 -0
- package/dist/public/assets/settings-CxcQDhex.js +1 -0
- package/dist/public/assets/w-CxcQDhex.js +1 -0
- package/dist/public/assets/w._-CuOk-xxd.js +1 -0
- package/dist/public/assets/w._-CxcQDhex.js +1 -0
- package/package.json +1 -1
- package/dist/_C8-SYmgW.js +0 -2
- package/dist/public/assets/_7eu3vqOe.js.br +0 -0
- package/dist/public/assets/_9JFMnVkT.js.br +0 -0
- package/dist/public/assets/_AjJFGKIO.js.br +0 -0
- package/dist/public/assets/_B0mlTNYN.js.br +0 -0
- package/dist/public/assets/_B2Wh9q7i2.js.br +0 -0
- package/dist/public/assets/_B2XlFtZA.js.br +0 -0
- package/dist/public/assets/_B8QdoRxF.js.br +0 -0
- package/dist/public/assets/_BJbOGqL2.js.br +0 -0
- package/dist/public/assets/_BTIiA2Aj.js.br +0 -0
- package/dist/public/assets/_BVaiw33j.js.br +0 -0
- package/dist/public/assets/_BaW3VCxs2.js.br +0 -0
- package/dist/public/assets/_Be6zDaw_2.js.br +0 -0
- package/dist/public/assets/_Bk7LZElr2.js.br +0 -0
- package/dist/public/assets/_Bn42mWko.js.br +0 -0
- package/dist/public/assets/_BtnTWv2c.js.br +0 -0
- package/dist/public/assets/_By_xPS-p.js.br +0 -0
- package/dist/public/assets/_C-zOao0B2.js.br +0 -0
- package/dist/public/assets/_C0gLchFg2.js.br +0 -0
- package/dist/public/assets/_C4cnPJZt.js.br +0 -0
- package/dist/public/assets/_C8JrL8ZU.js.br +0 -0
- package/dist/public/assets/_CANbMbX3.js.br +0 -0
- package/dist/public/assets/_CGxB7jfP2.js.br +0 -0
- package/dist/public/assets/_CI-lBiRq.js.br +0 -0
- package/dist/public/assets/_CN7jdIqu.js.br +0 -0
- package/dist/public/assets/_CNjJeI_E2.js.br +0 -0
- package/dist/public/assets/_CObWod2f2.js.br +0 -0
- package/dist/public/assets/_CQ1se5Ph.js.br +0 -0
- package/dist/public/assets/_C_KMHM_B.js.br +0 -0
- package/dist/public/assets/_C_hrnmAR.js.br +0 -0
- package/dist/public/assets/_CaQPDPmE.js.br +0 -0
- package/dist/public/assets/_Cimq_3st2.js.br +0 -0
- package/dist/public/assets/_Cl5u4DlE.js.br +0 -0
- package/dist/public/assets/_Cn24gDaN.js.br +0 -0
- package/dist/public/assets/_CnWPkpG6.js.br +0 -0
- package/dist/public/assets/_CqASoXOX.js.br +0 -0
- package/dist/public/assets/_CyEK8RLH.js.br +0 -0
- package/dist/public/assets/_CyUpyj0-.js.br +0 -0
- package/dist/public/assets/_D0_YGa2m.js.br +0 -0
- package/dist/public/assets/_D3U77twm2.js.br +0 -0
- package/dist/public/assets/_D4aBfTEq2.js.br +0 -0
- package/dist/public/assets/_DEkiGmgs2.js.br +0 -0
- package/dist/public/assets/_DHJUTBX4.js.br +0 -0
- package/dist/public/assets/_DIrrBSY3.js.br +0 -0
- package/dist/public/assets/_DMbI3C312.js.br +0 -0
- package/dist/public/assets/_DNT9FflM.js.br +0 -0
- package/dist/public/assets/_DPBnSJ7J.js.br +0 -0
- package/dist/public/assets/_DaYRBUL-.js.br +0 -0
- package/dist/public/assets/_DbKE1MvW.js.br +0 -0
- package/dist/public/assets/_DdX84yEG.js.br +0 -0
- package/dist/public/assets/_De2MbV4-.js.br +0 -0
- package/dist/public/assets/_Dh4U5ZBy2.js.br +0 -0
- package/dist/public/assets/_Dk90j4eO.js.br +0 -0
- package/dist/public/assets/_DlipybEX.js.br +0 -0
- package/dist/public/assets/_Dn9evgOf2.js.br +0 -0
- package/dist/public/assets/_DohOwerT.js.br +0 -0
- package/dist/public/assets/_DpiQNDSt.js.br +0 -0
- package/dist/public/assets/_Dqp3F2Ex.js.br +0 -0
- package/dist/public/assets/_Dzckria-2.js.br +0 -0
- package/dist/public/assets/_PL2w-xvr2.js.br +0 -0
- package/dist/public/assets/_QdFvZh29.js.br +0 -0
- package/dist/public/assets/_RfX8IpFo.js.br +0 -0
- package/dist/public/assets/_Vyuu16Ad.js.br +0 -0
- package/dist/public/assets/_Yor3dkCs.js.br +0 -0
- package/dist/public/assets/__fELRce2.js.br +0 -0
- package/dist/public/assets/_cuvR6O2V.js.br +0 -0
- package/dist/public/assets/_eOSbQ2H52.js.br +0 -0
- package/dist/public/assets/_h65AGMTQ2.js.br +0 -0
- package/dist/public/assets/_hsoShTMK.js.br +0 -0
- package/dist/public/assets/_nSzaoNgm2.js.br +0 -0
- package/dist/public/assets/_uoCfxD-5.js.br +0 -0
- package/dist/public/assets/_xQNWoj97.js.br +0 -0
- package/dist/public/assets/_y21Miw0G2.js.br +0 -0
- package/dist/public/assets/_z9xnkyG0.js.br +0 -0
- package/dist/public/assets/app-page-BFosX16q.css.br +0 -0
- package/dist/public/assets/diff-view-DjZg0WLz.css.br +0 -0
- package/dist/public/assets/new-CMpE7Au8.js +0 -1
- package/dist/public/assets/settings-CMpE7Au8.js +0 -1
- package/dist/public/assets/w-CMpE7Au8.js +0 -1
- package/dist/public/assets/w._-BaiMToPS.js +0 -1
- package/dist/public/assets/w._-CMpE7Au8.js +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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 get, A as subscribe, B as setPref, C as setScrapedPhase, D as pushPublicKey, E as deleteSubscription, F as disabledAgents, G as setupPath, H as doctor, I as enabledAgents, J as TOOLS, K as which, L as getSetting, M as subscriberJoins, N as agentChoices, O as saveSubscription, P as allPrefs, Q as db, R as preferredAgent, S as setAgentPhase, T as summaryFromHookPayload, U as ghKnownHosts, V as setSetting, W as miseVersions, X as toolById, Y as agentById, Z as all, _ as tmuxName, a as ensureTmuxServer, at as tmux, b as clearAgentPhase, c as killWorkspaceSessions, d as newSessionArgs, et as workspacePath, g as sessionStates, h as sendToSession, i as disposeSessions, it as run, j as subscriberCount, k as publish, l as listSessions, m as renameSession, n as clearTmuxStarted, nt as gh, o as getSession, ot as config, p as panePids, q as DEFAULT_GITHUB_HOST, r as createSession, rt as git, s as killSession, t as cleanEnv, tt as TMUX_SOCKET, u as markTmuxStarted, v as tmuxWasStarted, w as setSessionViewers, x as reasonFromHookPayload, y as reportsWorking, z as setDisabledAgents } from "./
|
|
3
|
-
import { $ as _flush_head, A as metaTrunc, B as _attr_select_value, C as setPrimaryHost, Ct as _try, D as iconBtnRow, Dt as writeScope, Et as withPageAssets, F as _attr_class, G as _content, H as _attrs, K as _content_resume, L as _attr_input_value, M as tone, N as $global, O as iconBtnXs, P as _attr, Q as _existing_scope, R as _attr_option_value, S as repoWebUrl$1, St as _trailers, T as btnSm, Tt as attrTag, U as _attrs_partial, V as _attr_style, W as _await, X as _el_resume, Y as _el_read_error, Z as _escape, _ as sectionCount$1, _t as _show_end, at as _if, b as icon_base_default, bt as _template, c as sideNavOpen, ct as _resume_branch, d as rankRepos, dt as _scope_with_id, et as _for_of, f as icon_search_default, ft as _script, g as row, gt as _set_serialize_reason, h as iconBtn$2, ht as _serialize_if, it as _id, j as phase, k as inputLg, l as workspaceTab, lt as _scope_id, m as icon_refresh_default, mt as _serialize_guard, n as findInput, nt as _hoist_read_error, ot as _peek_scope_id, p as icon_back_default, pt as _sep, q as _dynamic_tag, r as icon_sidebar_default, rt as _html, s as setWorkspaceTab, st as _resume, t as findIconBtn, tt as _hoist, ut as _scope_reason, v as toast_default, vt as _show_start, w as btnLg, wt as _var, x as repoLabel, xt as _to_text, y as icon_xmark_default, yt as _subscribe, z as _attr_or } from "./
|
|
2
|
+
import { $ as get, A as subscribe, B as setPref, C as setScrapedPhase, D as pushPublicKey, E as deleteSubscription, F as disabledAgents, G as setupPath, H as doctor, I as enabledAgents, J as TOOLS, K as which, L as getSetting, M as subscriberJoins, N as agentChoices, O as saveSubscription, P as allPrefs, Q as db, R as preferredAgent, S as setAgentPhase, T as summaryFromHookPayload, U as ghKnownHosts, V as setSetting, W as miseVersions, X as toolById, Y as agentById, Z as all, _ as tmuxName, a as ensureTmuxServer, at as tmux, b as clearAgentPhase, c as killWorkspaceSessions, d as newSessionArgs, et as workspacePath, g as sessionStates, h as sendToSession, i as disposeSessions, it as run, j as subscriberCount, k as publish, l as listSessions, m as renameSession, n as clearTmuxStarted, nt as gh, o as getSession, ot as config, p as panePids, q as DEFAULT_GITHUB_HOST, r as createSession, rt as git, s as killSession, t as cleanEnv, tt as TMUX_SOCKET, u as markTmuxStarted, v as tmuxWasStarted, w as setSessionViewers, x as reasonFromHookPayload, y as reportsWorking, z as setDisabledAgents } from "./_DgDsZuoQ.js";
|
|
3
|
+
import { $ as _flush_head, A as metaTrunc, B as _attr_select_value, C as setPrimaryHost, Ct as _try, D as iconBtnRow, Dt as writeScope, Et as withPageAssets, F as _attr_class, G as _content, H as _attrs, K as _content_resume, L as _attr_input_value, M as tone, N as $global, O as iconBtnXs, P as _attr, Q as _existing_scope, R as _attr_option_value, S as repoWebUrl$1, St as _trailers, T as btnSm, Tt as attrTag, U as _attrs_partial, V as _attr_style, W as _await, X as _el_resume, Y as _el_read_error, Z as _escape, _ as sectionCount$1, _t as _show_end, at as _if, b as icon_base_default, bt as _template, c as sideNavOpen, ct as _resume_branch, d as rankRepos, dt as _scope_with_id, et as _for_of, f as icon_search_default, ft as _script, g as row, gt as _set_serialize_reason, h as iconBtn$2, ht as _serialize_if, it as _id, j as phase, k as inputLg, l as workspaceTab, lt as _scope_id, m as icon_refresh_default, mt as _serialize_guard, n as findInput, nt as _hoist_read_error, ot as _peek_scope_id, p as icon_back_default, pt as _sep, q as _dynamic_tag, r as icon_sidebar_default, rt as _html, s as setWorkspaceTab, st as _resume, t as findIconBtn, tt as _hoist, ut as _scope_reason, v as toast_default, vt as _show_start, w as btnLg, wt as _var, x as repoLabel, xt as _to_text, y as icon_xmark_default, yt as _subscribe, z as _attr_or } from "./_AOPS87VY.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { createServer } from "node:http";
|
|
6
6
|
import path from "node:path";
|
|
@@ -11,8 +11,8 @@ import { AsyncLocalStorage } from "node:async_hooks";
|
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
import { spawn } from "node:child_process";
|
|
13
13
|
import { DatabaseSync } from "node:sqlite";
|
|
14
|
-
import fsp from "node:fs/promises";
|
|
15
14
|
import crypto, { createHash } from "node:crypto";
|
|
15
|
+
import fsp from "node:fs/promises";
|
|
16
16
|
import pty from "node-pty";
|
|
17
17
|
//#region node_modules/.pnpm/@marko+run@0.11.9_@types+node@26.2.0_esbuild@0.27.7_marko@6.3.34/node_modules/@marko/run/dist/adapter/middleware.js
|
|
18
18
|
function getOrigin(req, trustProxy) {
|
|
@@ -3191,15 +3191,15 @@ function agentFromCommand(command) {
|
|
|
3191
3191
|
}
|
|
3192
3192
|
//#endregion
|
|
3193
3193
|
//#region src/tags/settings-page.css.ts
|
|
3194
|
-
var content$2 = "_b3
|
|
3195
|
-
var agentGrid = "_b7
|
|
3196
|
-
var toolGrid = "_cg
|
|
3194
|
+
var content$2 = "_b3 _bh _bi";
|
|
3195
|
+
var agentGrid = "_b7 _bs";
|
|
3196
|
+
var toolGrid = "_cg _bs";
|
|
3197
3197
|
//#endregion
|
|
3198
3198
|
//#region src/tags/page-head.marko
|
|
3199
3199
|
var page_head_default = _template("o", (input) => {
|
|
3200
3200
|
const $scope0_reason = _scope_reason(), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions = _serialize_guard($scope0_reason, 3), $sg__input_meta = _serialize_guard($scope0_reason, 6), $sg__input_actions = _serialize_guard($scope0_reason, 7), $si__input_backHref__OR__input_onBack = _serialize_if($scope0_reason, 1), $si__input_meta = _serialize_if($scope0_reason, 6), $si__input_actions = _serialize_if($scope0_reason, 7);
|
|
3201
3201
|
const $scope0_id = _scope_id();
|
|
3202
|
-
_html(`<header${_attr_class("
|
|
3202
|
+
_html(`<header${_attr_class("_bj")}>`);
|
|
3203
3203
|
_if(() => {
|
|
3204
3204
|
if (input.backHref) {
|
|
3205
3205
|
const $scope1_id = _scope_id();
|
|
@@ -3218,11 +3218,11 @@ var page_head_default = _template("o", (input) => {
|
|
|
3218
3218
|
return 1;
|
|
3219
3219
|
}
|
|
3220
3220
|
}, $scope0_id, "b", _serialize_guard($scope0_reason, 2), _serialize_guard($scope0_reason, 1), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions, 0, 1);
|
|
3221
|
-
_html(`<div${_attr_class("
|
|
3221
|
+
_html(`<div${_attr_class("_bl")}><h1${_attr("id", input.titleId)}${_attr_class("_bk")}>${_escape(input.title)}${_el_resume($scope0_id, "e", _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
|
|
3222
3222
|
_if(() => {
|
|
3223
3223
|
if (input.meta) {
|
|
3224
3224
|
const $scope3_id = _scope_id();
|
|
3225
|
-
_html(`<p${_attr_class("
|
|
3225
|
+
_html(`<p${_attr_class("_bm")}>`);
|
|
3226
3226
|
_dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
|
|
3227
3227
|
_html("</p>");
|
|
3228
3228
|
$si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -3233,7 +3233,7 @@ var page_head_default = _template("o", (input) => {
|
|
|
3233
3233
|
_if(() => {
|
|
3234
3234
|
if (input.actions) {
|
|
3235
3235
|
const $scope4_id = _scope_id();
|
|
3236
|
-
_html(`<div${_attr_class("
|
|
3236
|
+
_html(`<div${_attr_class("_bn")}>`);
|
|
3237
3237
|
_dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
3238
3238
|
_html("</div>");
|
|
3239
3239
|
$si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -3308,7 +3308,7 @@ var icon_agent_default = _template("C", (input) => {
|
|
|
3308
3308
|
n: $badge__closures
|
|
3309
3309
|
});
|
|
3310
3310
|
});
|
|
3311
|
-
var usageNote = "
|
|
3311
|
+
var usageNote = "_cL _P";
|
|
3312
3312
|
//#endregion
|
|
3313
3313
|
//#region src/tags/usage-meters.marko
|
|
3314
3314
|
function duration(ms) {
|
|
@@ -3332,11 +3332,11 @@ var usage_meters_default = _template("z", (input) => {
|
|
|
3332
3332
|
const $scope0_reason = _scope_reason(), $sg__input_agent__OR__input_hideName = _serialize_guard($scope0_reason, 0), $sg__input_agent = _serialize_guard($scope0_reason, 1), $si__input_agent = _serialize_if($scope0_reason, 1), $sg__input_hideName = _serialize_guard($scope0_reason, 2), $si__input_agent__OR__input_hideName = _serialize_if($scope0_reason, 0);
|
|
3333
3333
|
const $scope0_id = _scope_id();
|
|
3334
3334
|
const agent = input.agent;
|
|
3335
|
-
_html(`<div${_attr_class(["
|
|
3335
|
+
_html(`<div${_attr_class(["_cF", { ["_cG"]: input.hideName }])}><div${_attr_class("_cH")}>`);
|
|
3336
3336
|
_if(() => {
|
|
3337
3337
|
if (!input.hideName) {
|
|
3338
3338
|
const $scope1_id = _scope_id();
|
|
3339
|
-
_html(`<strong${_attr_class("
|
|
3339
|
+
_html(`<strong${_attr_class("_c0")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
|
|
3340
3340
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
3341
3341
|
return 0;
|
|
3342
3342
|
}
|
|
@@ -3344,7 +3344,7 @@ var usage_meters_default = _template("z", (input) => {
|
|
|
3344
3344
|
_if(() => {
|
|
3345
3345
|
if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
|
|
3346
3346
|
const $scope2_id = _scope_id();
|
|
3347
|
-
_html(`<span${_attr_class("
|
|
3347
|
+
_html(`<span${_attr_class("_cI")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
|
|
3348
3348
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
3349
3349
|
return 0;
|
|
3350
3350
|
}
|
|
@@ -3352,19 +3352,19 @@ var usage_meters_default = _template("z", (input) => {
|
|
|
3352
3352
|
_if(() => {
|
|
3353
3353
|
if (agent.stale_seconds != null) {
|
|
3354
3354
|
const $scope3_id = _scope_id();
|
|
3355
|
-
_html(`<span${_attr_class("
|
|
3355
|
+
_html(`<span${_attr_class("_cJ")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>⚠ ${_sep($sg__input_agent)}${_escape(duration(agent.stale_seconds * 1e3))}${_el_resume($scope3_id, "b", $sg__input_agent)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
|
|
3356
3356
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
3357
3357
|
return 0;
|
|
3358
3358
|
}
|
|
3359
3359
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
3360
|
-
_html(`</div><div${_attr_class(["
|
|
3360
|
+
_html(`</div><div${_attr_class(["_cK", { ["_c1"]: agent.stale_seconds != null }])}>`);
|
|
3361
3361
|
_for_of(agent.windows || [], (win) => {
|
|
3362
3362
|
const $scope4_id = _scope_id();
|
|
3363
3363
|
const pct = pctText$1(win.used_percent);
|
|
3364
3364
|
const label = resetLabel(win.resets_at, agent.stale_seconds != null);
|
|
3365
|
-
const fillClass = win.used_percent >= 90 ? "
|
|
3366
|
-
const pctClass = win.used_percent >= 90 ? "
|
|
3367
|
-
_html(`<div${_attr_class("
|
|
3365
|
+
const fillClass = win.used_percent >= 90 ? "_cT" : win.used_percent >= 70 ? "_cS" : win.used_percent >= 40 ? "_cR" : "_cQ";
|
|
3366
|
+
const pctClass = win.used_percent >= 90 ? "_cY" : win.used_percent >= 70 ? "_cX" : win.used_percent >= 40 ? "_cW" : "_cV";
|
|
3367
|
+
_html(`<div${_attr_class("_cM")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_cN")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_cO")}><span${_attr_class(["_cP", 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(["_cU", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_cZ")}>${label ? `↻ ${_escape(`${_to_text(label)}`)}` : ""}${_el_resume($scope4_id, "i", $sg__input_agent)}</span></div>${_el_resume($scope4_id, "a", $sg__input_agent)}`);
|
|
3368
3368
|
$si__input_agent && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
3369
3369
|
}, "window", $scope0_id, "g", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
3370
3370
|
_if(() => {
|
|
@@ -3767,7 +3767,7 @@ var settings_page_default = _template("s", (input) => {
|
|
|
3767
3767
|
const agentsId = _id();
|
|
3768
3768
|
const githubId = _id();
|
|
3769
3769
|
const machineId = _id();
|
|
3770
|
-
_html(`<div${_attr_class("
|
|
3770
|
+
_html(`<div${_attr_class("_bf")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bg")}><div${_attr_class(content$2)}>`);
|
|
3771
3771
|
_set_serialize_reason({
|
|
3772
3772
|
0: _serialize_guard($scope0_reason, 2),
|
|
3773
3773
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -3843,7 +3843,7 @@ var settings_page_default = _template("s", (input) => {
|
|
|
3843
3843
|
return 0;
|
|
3844
3844
|
}
|
|
3845
3845
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
3846
|
-
_html(`<section${_attr_class("
|
|
3846
|
+
_html(`<section${_attr_class("_bp")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bq")}><h2${_attr("id", agentsId)}${_attr_class("_bE")}>Agents</h2><div${_attr_class("_v")}></div><label${_attr_class("_b9")}><span${_attr_class("_P")}>Default</span><span${_attr_class("_j")}>`);
|
|
3847
3847
|
_attr_select_value($scope0_id, "m", input.preferred, _resume(function(v) {
|
|
3848
3848
|
setPreferred(v);
|
|
3849
3849
|
}, "s1", $scope0_id), () => {
|
|
@@ -3868,14 +3868,14 @@ var settings_page_default = _template("s", (input) => {
|
|
|
3868
3868
|
const rows = lone ? [] : a.instances;
|
|
3869
3869
|
const loneAccounts = lone && lone.enabled ? accountsFor(lone.id) : [];
|
|
3870
3870
|
const extraAccounts = a.installed ? strayAccountsFor(a) : [];
|
|
3871
|
-
_html(`<li${_attr_class(["
|
|
3871
|
+
_html(`<li${_attr_class(["_bu", "_b8"])}><div${_attr_class(["_ca", { ["_cd"]: lone && !lone.enabled }])}>`);
|
|
3872
3872
|
_set_serialize_reason(12);
|
|
3873
3873
|
const $childScope4 = _peek_scope_id();
|
|
3874
3874
|
icon_agent_default({
|
|
3875
3875
|
agent: a.id,
|
|
3876
3876
|
size: 18
|
|
3877
3877
|
});
|
|
3878
|
-
_html(`<div${_attr_class("
|
|
3878
|
+
_html(`<div${_attr_class("_bv")}><span${_attr_class("_bx")}><span${_attr_class("_bw")}>${_escape(a.label)}${_el_resume($scope1_id, "g")}</span>`);
|
|
3879
3879
|
_if(() => {
|
|
3880
3880
|
if (lone && input.preferred === lone.id) {
|
|
3881
3881
|
const $scope45_id = _scope_id();
|
|
@@ -3893,7 +3893,7 @@ var settings_page_default = _template("s", (input) => {
|
|
|
3893
3893
|
return 0;
|
|
3894
3894
|
} else if (!a.installed) {
|
|
3895
3895
|
const $scope46_id = _scope_id();
|
|
3896
|
-
_html(`<span${_attr_class("
|
|
3896
|
+
_html(`<span${_attr_class("_by")}>Not installed</span>`);
|
|
3897
3897
|
writeScope($scope46_id, {});
|
|
3898
3898
|
return 1;
|
|
3899
3899
|
}
|
|
@@ -4011,7 +4011,7 @@ var settings_page_default = _template("s", (input) => {
|
|
|
4011
4011
|
}, "id", $scope0_id, "q", 1, 1, 1, 0, 1);
|
|
4012
4012
|
_for_of(otherUsage, (u) => {
|
|
4013
4013
|
const $scope51_id = _scope_id();
|
|
4014
|
-
_html(`<li${_attr_class(["
|
|
4014
|
+
_html(`<li${_attr_class(["_bu", "_b8"])}>`);
|
|
4015
4015
|
_set_serialize_reason(6);
|
|
4016
4016
|
const $childScope9 = _peek_scope_id();
|
|
4017
4017
|
usage_meters_default({ agent: u });
|
|
@@ -4022,21 +4022,21 @@ var settings_page_default = _template("s", (input) => {
|
|
|
4022
4022
|
_if(() => {
|
|
4023
4023
|
if (!usage && families.length) {
|
|
4024
4024
|
const $scope52_id = _scope_id();
|
|
4025
|
-
_html(`<p${_attr_class("
|
|
4025
|
+
_html(`<p${_attr_class("_bA")}><span${_attr_class("_C")}></span> Loading usage…</p>`);
|
|
4026
4026
|
writeScope($scope52_id, {});
|
|
4027
4027
|
return 0;
|
|
4028
4028
|
} else if (usage?.error) {
|
|
4029
4029
|
const $scope6_id = _scope_id();
|
|
4030
|
-
_html(`<p${_attr_class("
|
|
4030
|
+
_html(`<p${_attr_class("_bA")}>${_escape(usage.error)}${_el_resume($scope6_id, "b")}</p>`);
|
|
4031
4031
|
writeScope($scope6_id, {});
|
|
4032
4032
|
return 1;
|
|
4033
4033
|
}
|
|
4034
4034
|
}, $scope0_id, "s", 1, 1, 1, 0, 1);
|
|
4035
|
-
_html(`</section><section${_attr_class("
|
|
4035
|
+
_html(`</section><section${_attr_class("_bp")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bq")}><h2${_attr("id", githubId)}${_attr_class("_bE")}>GitHub</h2></div><ul${_attr_class("_bs")}>`);
|
|
4036
4036
|
_for_of(setup?.github || [], (h) => {
|
|
4037
4037
|
const $scope11_id = _scope_id();
|
|
4038
4038
|
const $for_content3__h_host__closures = /* @__PURE__ */ new Set();
|
|
4039
|
-
_html(`<li${_attr_class("
|
|
4039
|
+
_html(`<li${_attr_class("_bu")}><div${_attr_class("_bv")}><span${_attr_class("_bx")}><span${_attr_class(["_bw", "_u"])}>${_escape(h.host)}${_el_resume($scope11_id, "e")}</span>`);
|
|
4040
4040
|
_if(() => {
|
|
4041
4041
|
if (h.isEnterprise) {
|
|
4042
4042
|
const $scope55_id = _scope_id();
|
|
@@ -4059,12 +4059,12 @@ var settings_page_default = _template("s", (input) => {
|
|
|
4059
4059
|
return 1;
|
|
4060
4060
|
} else if (h.authed) {
|
|
4061
4061
|
const $scope53_id = _scope_id();
|
|
4062
|
-
_html(`<span${_attr_class("
|
|
4062
|
+
_html(`<span${_attr_class("_by")}>Signed in<!>${h.user ? ` as ${_escape(`${_to_text(h.user)}`)}` : ""}${_el_resume($scope53_id, "b")}</span>`);
|
|
4063
4063
|
writeScope($scope53_id, {});
|
|
4064
4064
|
return 2;
|
|
4065
4065
|
} else {
|
|
4066
4066
|
const $scope54_id = _scope_id();
|
|
4067
|
-
_html(`<span${_attr_class("
|
|
4067
|
+
_html(`<span${_attr_class("_by")}>${_escape(h.error || "Not signed in")}${_el_resume($scope54_id, "b")}</span>`);
|
|
4068
4068
|
writeScope($scope54_id, {});
|
|
4069
4069
|
return 3;
|
|
4070
4070
|
}
|
|
@@ -4095,7 +4095,7 @@ var settings_page_default = _template("s", (input) => {
|
|
|
4095
4095
|
if (h.isEnterprise) {
|
|
4096
4096
|
const $scope25_id = _scope_id();
|
|
4097
4097
|
_html(`<button${_attr_class([
|
|
4098
|
-
"
|
|
4098
|
+
"_bz",
|
|
4099
4099
|
"_Z",
|
|
4100
4100
|
"_0",
|
|
4101
4101
|
{ ["_n"]: confirmingRemove === h.host }
|
|
@@ -4138,7 +4138,7 @@ var settings_page_default = _template("s", (input) => {
|
|
|
4138
4138
|
_if(() => {
|
|
4139
4139
|
if (setup && !setup.github.length) {
|
|
4140
4140
|
const $scope58_id = _scope_id();
|
|
4141
|
-
_html(`<p${_attr_class("
|
|
4141
|
+
_html(`<p${_attr_class("_bA")}>Install the GitHub CLI below to sign in.</p>`);
|
|
4142
4142
|
writeScope($scope58_id, {});
|
|
4143
4143
|
return 0;
|
|
4144
4144
|
}
|
|
@@ -4159,7 +4159,7 @@ var settings_page_default = _template("s", (input) => {
|
|
|
4159
4159
|
return 0;
|
|
4160
4160
|
}
|
|
4161
4161
|
}, $scope0_id, "y", 1, 1, 1, 0, 1);
|
|
4162
|
-
_html(`</section><section${_attr_class("
|
|
4162
|
+
_html(`</section><section${_attr_class("_bp")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bq")}><h2${_attr("id", machineId)}${_attr_class("_bE")}>Machine</h2>`);
|
|
4163
4163
|
_if(() => {
|
|
4164
4164
|
if (missingCount) {
|
|
4165
4165
|
const $scope40_id = _scope_id();
|
|
@@ -4199,7 +4199,7 @@ var settings_page_default = _template("s", (input) => {
|
|
|
4199
4199
|
_if(() => {
|
|
4200
4200
|
if (setup && !setup.mise.installed) {
|
|
4201
4201
|
const $scope15_id = _scope_id();
|
|
4202
|
-
_html(`<p${_attr_class("
|
|
4202
|
+
_html(`<p${_attr_class("_bA")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${active.has("mise") ? "Installing…" : "Install mise"}${_el_resume($scope15_id, "c")}</button>${_el_resume($scope15_id, "b")}</p>`);
|
|
4203
4203
|
_script($scope15_id, "s35");
|
|
4204
4204
|
writeScope($scope15_id, {});
|
|
4205
4205
|
return 0;
|
|
@@ -4341,7 +4341,7 @@ var settings_page_default = _template("s", (input) => {
|
|
|
4341
4341
|
_html(`<ul${_attr_class([toolGrid, "_cl"])}>`);
|
|
4342
4342
|
_for_of(hits, (h) => {
|
|
4343
4343
|
const $scope20_id = _scope_id();
|
|
4344
|
-
_html(`<li${_attr_class(row)}><div${_attr_class("
|
|
4344
|
+
_html(`<li${_attr_class(row)}><div${_attr_class("_bv")}><span${_attr_class(["_ci", "_u"])}>${_escape(h.name)}${_el_resume($scope20_id, "d")}</span>`);
|
|
4345
4345
|
_if(() => {
|
|
4346
4346
|
if (active.has(h.name)) {
|
|
4347
4347
|
const $scope21_id = _scope_id();
|
|
@@ -4350,7 +4350,7 @@ var settings_page_default = _template("s", (input) => {
|
|
|
4350
4350
|
return 0;
|
|
4351
4351
|
} else if (h.description) {
|
|
4352
4352
|
const $scope65_id = _scope_id();
|
|
4353
|
-
_html(`<span${_attr_class("
|
|
4353
|
+
_html(`<span${_attr_class("_by")}${_attr("title", h.description)}>${_escape(h.description)}${_el_resume($scope65_id, "b")}</span>${_el_resume($scope65_id, "a")}`);
|
|
4354
4354
|
writeScope($scope65_id, {});
|
|
4355
4355
|
return 1;
|
|
4356
4356
|
}
|
|
@@ -4389,7 +4389,7 @@ var settings_page_default = _template("s", (input) => {
|
|
|
4389
4389
|
return 0;
|
|
4390
4390
|
} else if (hits && !searching) {
|
|
4391
4391
|
const $scope34_id = _scope_id();
|
|
4392
|
-
_html(`<p${_attr_class("
|
|
4392
|
+
_html(`<p${_attr_class("_bA")}>No tools match "<!>${_escape(query)}${_el_resume($scope34_id, "b")}".</p>`);
|
|
4393
4393
|
_subscribe($query__closures, writeScope($scope34_id, {}));
|
|
4394
4394
|
return 1;
|
|
4395
4395
|
}
|
|
@@ -4495,12 +4495,12 @@ var settings_page_default = _template("s", (input) => {
|
|
|
4495
4495
|
});
|
|
4496
4496
|
//#endregion
|
|
4497
4497
|
//#region src/tags/new-workspace.css.ts
|
|
4498
|
-
var content$1 = "_bF
|
|
4499
|
-
var section$1 = "_bJ
|
|
4498
|
+
var content$1 = "_bF _bh";
|
|
4499
|
+
var section$1 = "_bJ _bp";
|
|
4500
4500
|
var curBase = "_bN _Q _P";
|
|
4501
|
-
var archived = "_bR
|
|
4501
|
+
var archived = "_bR _bp";
|
|
4502
4502
|
var archivedHint = "_bS _P";
|
|
4503
|
-
var archivedCard = "_bT
|
|
4503
|
+
var archivedCard = "_bT _bu";
|
|
4504
4504
|
var resultBranch = "_cw _W _g";
|
|
4505
4505
|
var branchInput = "_cB _S _R";
|
|
4506
4506
|
//#endregion
|
|
@@ -4564,7 +4564,7 @@ var repo_picker_default = _template("q", (input) => {
|
|
|
4564
4564
|
_if(() => {
|
|
4565
4565
|
if (filter && !catalog) {
|
|
4566
4566
|
const $scope8_id = _scope_id();
|
|
4567
|
-
_html(`<p${_attr_class("
|
|
4567
|
+
_html(`<p${_attr_class("_bA")}>Loading repos…</p>`);
|
|
4568
4568
|
writeScope($scope8_id, {});
|
|
4569
4569
|
return 0;
|
|
4570
4570
|
}
|
|
@@ -4588,7 +4588,7 @@ var repo_picker_default = _template("q", (input) => {
|
|
|
4588
4588
|
_if(() => {
|
|
4589
4589
|
if (!branches) {
|
|
4590
4590
|
const $scope9_id = _scope_id();
|
|
4591
|
-
_html(`<p${_attr_class("
|
|
4591
|
+
_html(`<p${_attr_class("_bA")}><span${_attr_class("_C")}></span> Loading branches…</p>`);
|
|
4592
4592
|
writeScope($scope9_id, {});
|
|
4593
4593
|
return 0;
|
|
4594
4594
|
} else {
|
|
@@ -4615,7 +4615,7 @@ var repo_picker_default = _template("q", (input) => {
|
|
|
4615
4615
|
_if(() => {
|
|
4616
4616
|
if (!shown.length) {
|
|
4617
4617
|
const $scope10_id = _scope_id();
|
|
4618
|
-
_html(`<li><p${_attr_class("
|
|
4618
|
+
_html(`<li><p${_attr_class("_bA")}>No branches match.</p></li>`);
|
|
4619
4619
|
writeScope($scope10_id, {});
|
|
4620
4620
|
return 0;
|
|
4621
4621
|
}
|
|
@@ -4640,7 +4640,7 @@ var repo_picker_default = _template("q", (input) => {
|
|
|
4640
4640
|
return 0;
|
|
4641
4641
|
} else if (filter && catalog) {
|
|
4642
4642
|
const $scope1_id = _scope_id();
|
|
4643
|
-
_html(`<p${_attr_class("
|
|
4643
|
+
_html(`<p${_attr_class("_bA")}>No repos match "<!>${_escape(filter)}${_el_resume($scope1_id, "b")}".</p>`);
|
|
4644
4644
|
writeScope($scope1_id, {});
|
|
4645
4645
|
return 1;
|
|
4646
4646
|
}
|
|
@@ -4758,7 +4758,7 @@ var new_workspace_default = _template("n", (input) => {
|
|
|
4758
4758
|
}
|
|
4759
4759
|
}, "n4", $scope0_id);
|
|
4760
4760
|
const titleId = _id();
|
|
4761
|
-
_html(`<div${_attr_class("
|
|
4761
|
+
_html(`<div${_attr_class("_bf")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bg")}><div${_attr_class(content$1)}>`);
|
|
4762
4762
|
_set_serialize_reason({
|
|
4763
4763
|
0: _serialize_guard($scope0_reason, 2),
|
|
4764
4764
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -4797,9 +4797,9 @@ var new_workspace_default = _template("n", (input) => {
|
|
|
4797
4797
|
return 0;
|
|
4798
4798
|
}
|
|
4799
4799
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
4800
|
-
_html(`<label${_attr_class("_bI")}><span${_attr_class("
|
|
4800
|
+
_html(`<label${_attr_class("_bI")}><span${_attr_class("_bE")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
|
|
4801
4801
|
name = _new_name;
|
|
4802
|
-
}, "n0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class(section$1)}><div${_attr_class("_bK")}><h2${_attr_class("
|
|
4802
|
+
}, "n0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class(section$1)}><div${_attr_class("_bK")}><h2${_attr_class("_bE")}>Repos</h2><button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
4803
4803
|
_set_serialize_reason(1);
|
|
4804
4804
|
const $childScope2 = _peek_scope_id();
|
|
4805
4805
|
icon_refresh_default({
|
|
@@ -4830,7 +4830,7 @@ var new_workspace_default = _template("n", (input) => {
|
|
|
4830
4830
|
_if(() => {
|
|
4831
4831
|
if (!selected.length) {
|
|
4832
4832
|
const $scope11_id = _scope_id();
|
|
4833
|
-
_html(`<li${_attr_class("
|
|
4833
|
+
_html(`<li${_attr_class("_bA")}>No repos yet. Search below to add one, or create it empty.</li>`);
|
|
4834
4834
|
writeScope($scope11_id, {});
|
|
4835
4835
|
return 0;
|
|
4836
4836
|
}
|
|
@@ -4897,10 +4897,10 @@ var new_workspace_default = _template("n", (input) => {
|
|
|
4897
4897
|
_if(() => {
|
|
4898
4898
|
if (archived$1.length) {
|
|
4899
4899
|
const $scope3_id = _scope_id();
|
|
4900
|
-
_html(`<section${_attr_class(archived)}><div${_attr_class("_bK")}><h2${_attr_class("
|
|
4900
|
+
_html(`<section${_attr_class(archived)}><div${_attr_class("_bK")}><h2${_attr_class("_bE")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_escape(archived$1.length)}${_el_resume($scope3_id, "e", $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore an archived workspace instead of creating a new one.</p><ul${_attr_class("_bs")}>`);
|
|
4901
4901
|
_for_of(archived$1, (ws) => {
|
|
4902
4902
|
const $scope4_id = _scope_id();
|
|
4903
|
-
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("
|
|
4903
|
+
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("_bv")}><span${_attr_class("_bw")}>${_escape(ws.name)}${_el_resume($scope4_id, "d", $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_u"])}${_attr("title", ws.display_path || ws.path)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope4_id, "f", $sg__input_workspaces)}</span>${_el_resume($scope4_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnLg)}${_attr("disabled", busy || !!restoring)}>`);
|
|
4904
4904
|
_if(() => {
|
|
4905
4905
|
if (restoring === ws.id) {
|
|
4906
4906
|
const $scope14_id = _scope_id();
|
|
@@ -5041,8 +5041,8 @@ function activeAgent(session) {
|
|
|
5041
5041
|
const command = session.state?.command?.trim();
|
|
5042
5042
|
return command && agentFromCommand(command) || session.agent;
|
|
5043
5043
|
}
|
|
5044
|
-
var iconBtn$1 = "
|
|
5045
|
-
var navToggle = "
|
|
5044
|
+
var iconBtn$1 = "_c3 _g";
|
|
5045
|
+
var navToggle = "_c8 _g";
|
|
5046
5046
|
_template("F", (input) => {
|
|
5047
5047
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
5048
5048
|
const $scope0_id = _scope_id();
|
|
@@ -5085,12 +5085,12 @@ var ARM_MS = 3500;
|
|
|
5085
5085
|
function disarmLater(fn) {
|
|
5086
5086
|
return setTimeout(fn, ARM_MS);
|
|
5087
5087
|
}
|
|
5088
|
-
var railBtn = "
|
|
5089
|
-
var rowIcon = "
|
|
5090
|
-
var close = "
|
|
5088
|
+
var railBtn = "_f2 _g";
|
|
5089
|
+
var rowIcon = "_ga _W _g";
|
|
5090
|
+
var close = "_gb _W _g _Z";
|
|
5091
5091
|
//#endregion
|
|
5092
5092
|
//#region src/styles/session-pop.css.ts
|
|
5093
|
-
var sessionPop = "
|
|
5093
|
+
var sessionPop = "_ft _1";
|
|
5094
5094
|
//#endregion
|
|
5095
5095
|
//#region src/tags/icons/icon-diff.marko
|
|
5096
5096
|
var icon_diff_default = _template("I", (input) => {
|
|
@@ -5142,12 +5142,12 @@ var icon_edit_default = _template("K", (input) => {
|
|
|
5142
5142
|
});
|
|
5143
5143
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
5144
5144
|
});
|
|
5145
|
-
var prChip = "
|
|
5146
|
-
var portChip = "
|
|
5145
|
+
var prChip = "_gv _p _gu";
|
|
5146
|
+
var portChip = "_gw _p _gu";
|
|
5147
5147
|
var prState = {
|
|
5148
|
-
open: "
|
|
5149
|
-
merged: "
|
|
5150
|
-
closed: "
|
|
5148
|
+
open: "_gA",
|
|
5149
|
+
merged: "_gB",
|
|
5150
|
+
closed: "_gC"
|
|
5151
5151
|
};
|
|
5152
5152
|
//#endregion
|
|
5153
5153
|
//#region src/tags/side-nav-chips.marko
|
|
@@ -5195,7 +5195,7 @@ var side_nav_chips_default = _template("t", (input) => {
|
|
|
5195
5195
|
const name = repo.full_name.split("/").at(-1);
|
|
5196
5196
|
return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel(repo.full_name) : name;
|
|
5197
5197
|
}, "t2", $scope1_id);
|
|
5198
|
-
_html(`<div${_attr_class("
|
|
5198
|
+
_html(`<div${_attr_class("_gt")}>`);
|
|
5199
5199
|
_for_of(repos, (repo) => {
|
|
5200
5200
|
const $scope2_id = _scope_id();
|
|
5201
5201
|
const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
|
|
@@ -5211,11 +5211,11 @@ var side_nav_chips_default = _template("t", (input) => {
|
|
|
5211
5211
|
[prState.merged]: pr.state === "MERGED",
|
|
5212
5212
|
[prState.closed]: pr.state === "CLOSED"
|
|
5213
5213
|
}
|
|
5214
|
-
])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["
|
|
5214
|
+
])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["_gx", { ["_gE"]: !open }])}${_attr("href", pr.url)} target=_blank rel=noopener>${_escape(repoLabel$1(repo))}${_el_resume($scope3_id, "c", $sg__input_status_repos)}#${_sep($sg__input_status_repos)}${_escape(pr.number)}${_el_resume($scope3_id, "d", $sg__input_status_repos)}</a>${_el_resume($scope3_id, "b", $sg__input_status_repos)}`);
|
|
5215
5215
|
_if(() => {
|
|
5216
5216
|
if (open) {
|
|
5217
5217
|
const $scope4_id = _scope_id();
|
|
5218
|
-
_html(`<a${_attr_class(["
|
|
5218
|
+
_html(`<a${_attr_class(["_gx", "_gy"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr.number}`)}`)}${_attr("title", `Review #${pr.number} changes`)}>`);
|
|
5219
5219
|
icon_diff_default({ size: 12 });
|
|
5220
5220
|
_html(`</a>${_el_resume($scope4_id, "a", _serialize_guard($scope0_reason, 0))}`);
|
|
5221
5221
|
_serialize_if($scope0_reason, 2) && _subscribe($si__input_status_repos && $for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, { _: _scope_with_id($scope3_id) })));
|
|
@@ -5223,9 +5223,9 @@ var side_nav_chips_default = _template("t", (input) => {
|
|
|
5223
5223
|
} else {
|
|
5224
5224
|
const $scope6_id = _scope_id();
|
|
5225
5225
|
_html(`<button type=button${_attr_class([
|
|
5226
|
-
"_gw",
|
|
5227
5226
|
"_gx",
|
|
5228
|
-
"_gy"
|
|
5227
|
+
"_gy",
|
|
5228
|
+
"_gz"
|
|
5229
5229
|
])}${_attr("title", `Dismiss #${pr.number}`)}>`);
|
|
5230
5230
|
icon_xmark_default({ size: 12 });
|
|
5231
5231
|
_html(`</button>${_el_resume($scope6_id, "a")}`);
|
|
@@ -5250,10 +5250,10 @@ var side_nav_chips_default = _template("t", (input) => {
|
|
|
5250
5250
|
}, "full_name", $scope1_id, "b", $sg__input_status_repos, $sg__input_status_repos, $sg__input_status_repos__OR__input_status_ports);
|
|
5251
5251
|
_for_of(ports, (p) => {
|
|
5252
5252
|
const $scope5_id = _scope_id();
|
|
5253
|
-
_html(`<span${_attr_class(["_p", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["
|
|
5254
|
-
"_gw",
|
|
5253
|
+
_html(`<span${_attr_class(["_p", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_gx", "_gD"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${p.port}`)}>:${_sep($sg__input_status_ports)}${_escape(p.port)}${_el_resume($scope5_id, "c", $sg__input_status_ports)}</button>${_el_resume($scope5_id, "b")}<button type=button${_attr_class([
|
|
5255
5254
|
"_gx",
|
|
5256
5255
|
"_gy",
|
|
5256
|
+
"_gz",
|
|
5257
5257
|
{ ["_n"]: armedPid === p.pid }
|
|
5258
5258
|
])}${armedPid === p.pid ? " title=Kill?" : _attr("title", `Kill ${p.cmd} (pid ${p.pid})`)}>`);
|
|
5259
5259
|
icon_xmark_default({ size: 12 });
|
|
@@ -5335,10 +5335,10 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5335
5335
|
_if(() => {
|
|
5336
5336
|
if (input.rail) {
|
|
5337
5337
|
const $scope2_id = _scope_id();
|
|
5338
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["
|
|
5338
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_f0"]: input.current }])}${_attr("title", ws$1.name)}>${_escape((input.index ?? 0) + 1)}${_el_resume($scope2_id, "b", _serialize_guard($scope0_reason, 21))}<span${_attr_class([
|
|
5339
5339
|
"_w",
|
|
5340
5340
|
phase[dot],
|
|
5341
|
-
"
|
|
5341
|
+
"_f3"
|
|
5342
5342
|
])}></span>${_el_resume($scope2_id, "c", $sg__input_workspaceId__OR__input_status)}</a>${_el_resume($scope2_id, "a", _serialize_guard($scope0_reason, 4))}`);
|
|
5343
5343
|
_serialize_if($scope0_reason, 16) && _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_name__closures, _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_id__closures, _subscribe($si__input_index && $input_index__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })))));
|
|
5344
5344
|
return 0;
|
|
@@ -5346,15 +5346,15 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5346
5346
|
const $scope3_id = _scope_id();
|
|
5347
5347
|
const sessions$1 = input.sessions || [];
|
|
5348
5348
|
const phaseLabel = dot === "working" ? "Working" : dot === "waiting" ? "Needs input" : dot === "idle" ? "Idle" : "Not running";
|
|
5349
|
-
_html(`<section${_attr_class(["
|
|
5350
|
-
["
|
|
5349
|
+
_html(`<section${_attr_class(["_f5", {
|
|
5350
|
+
["_f0"]: input.current,
|
|
5351
5351
|
["_2"]: input.current,
|
|
5352
|
-
["
|
|
5353
|
-
["
|
|
5354
|
-
}])}><div${_attr_class("
|
|
5352
|
+
["_f6"]: input.railPop,
|
|
5353
|
+
["_f4"]: input.page
|
|
5354
|
+
}])}><div${_attr_class("_f7")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class("_f8")}><span${_attr_class([
|
|
5355
5355
|
"_w",
|
|
5356
5356
|
phase[dot],
|
|
5357
|
-
"
|
|
5357
|
+
"_gi"
|
|
5358
5358
|
])}${_attr("title", phaseLabel)}></span>${_el_resume($scope3_id, "d", $sg__input_workspaceId__OR__input_status)}`);
|
|
5359
5359
|
_if(() => {
|
|
5360
5360
|
if (sessions$1.length === 1) {
|
|
@@ -5367,7 +5367,7 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5367
5367
|
icon_agent_default({
|
|
5368
5368
|
agent: activeAgent(sessions$1[0]),
|
|
5369
5369
|
size: 12,
|
|
5370
|
-
class: "
|
|
5370
|
+
class: "_gc"
|
|
5371
5371
|
});
|
|
5372
5372
|
$si__input_sessions && writeScope($scope12_id, {
|
|
5373
5373
|
_: _scope_with_id($scope3_id),
|
|
@@ -5377,16 +5377,16 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5377
5377
|
}
|
|
5378
5378
|
}, $scope3_id, "e", $sg__input_sessions, $sg__input_sessions, $sg__input_workspaceId__OR__input_status__OR__input_sessions__OR__input_page);
|
|
5379
5379
|
const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length === 1 ? sessions$1[0].title || "" : `${sessions$1.length} sessions`;
|
|
5380
|
-
_html(`<span${_attr_class("
|
|
5380
|
+
_html(`<span${_attr_class("_gd")}><span${_attr_class("_ge")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "h", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
|
|
5381
5381
|
_if(() => {
|
|
5382
5382
|
if (input.page && metaText) {
|
|
5383
5383
|
const $scope14_id = _scope_id();
|
|
5384
|
-
_html(`<span${_attr_class("
|
|
5384
|
+
_html(`<span${_attr_class("_gg")}>${_escape(metaText)}${_el_resume($scope14_id, "b", _serialize_guard($scope0_reason, 8))}</span>`);
|
|
5385
5385
|
$si__input_workspaceId__OR__input_status__OR__input_sessions__OR__input_page && writeScope($scope14_id, { _: _serialize_if($scope0_reason, 8) && _scope_with_id($scope3_id) });
|
|
5386
5386
|
return 0;
|
|
5387
5387
|
} else if (sessions$1.length === 1 && sessions$1[0].title) {
|
|
5388
5388
|
const $scope13_id = _scope_id();
|
|
5389
|
-
_html(`<span${_attr_class("
|
|
5389
|
+
_html(`<span${_attr_class("_gf")}>${_escape(sessions$1[0].title)}${_el_resume($scope13_id, "b", $sg__input_sessions)}</span>`);
|
|
5390
5390
|
$si__input_workspaceId__OR__input_status__OR__input_sessions__OR__input_page && writeScope($scope13_id, { _: $si__input_sessions && _scope_with_id($scope3_id) });
|
|
5391
5391
|
return 1;
|
|
5392
5392
|
}
|
|
@@ -5399,7 +5399,7 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5399
5399
|
"_F",
|
|
5400
5400
|
"_O",
|
|
5401
5401
|
"_H",
|
|
5402
|
-
"
|
|
5402
|
+
"_gh"
|
|
5403
5403
|
])}>${input.current ? "Open" : ""}${_el_resume($scope4_id, "b", _serialize_guard($scope0_reason, 20))}</span>`);
|
|
5404
5404
|
$si__input_workspaces__OR__input_workspaceId__OR__input_rail__OR__input_current__OR__input_page && _subscribe($si__input_current && $input_current__closures, writeScope($scope4_id, {
|
|
5405
5405
|
_: _scope_with_id($scope3_id),
|
|
@@ -5412,7 +5412,7 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5412
5412
|
_if(() => {
|
|
5413
5413
|
if (!input.page) {
|
|
5414
5414
|
const $scope5_id = _scope_id();
|
|
5415
|
-
_html(`<div${_attr_class("
|
|
5415
|
+
_html(`<div${_attr_class("_f9")}>`);
|
|
5416
5416
|
_if(() => {
|
|
5417
5417
|
if (input.onNewSession) {
|
|
5418
5418
|
const $scope6_id = _scope_id();
|
|
@@ -5426,7 +5426,7 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5426
5426
|
_html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
|
|
5427
5427
|
_for_of([], (agent) => {
|
|
5428
5428
|
const $scope7_id = _scope_id();
|
|
5429
|
-
_html(`<button${_attr_class("
|
|
5429
|
+
_html(`<button${_attr_class("_fu")}>`);
|
|
5430
5430
|
_set_serialize_reason(12);
|
|
5431
5431
|
const $childScope2 = _peek_scope_id();
|
|
5432
5432
|
icon_agent_default({
|
|
@@ -5461,7 +5461,7 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5461
5461
|
return 0;
|
|
5462
5462
|
}
|
|
5463
5463
|
}, $scope5_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
|
|
5464
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["
|
|
5464
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_f1"]: input.managing }])} title="Manage workspace"${input.managing ? " aria-current=page" : ""}>`);
|
|
5465
5465
|
icon_manage_default({ size: 12 });
|
|
5466
5466
|
_html(`</a>${_el_resume($scope5_id, "d", _serialize_guard($scope0_reason, 6))}</div>`);
|
|
5467
5467
|
_subscribe($si__input_workspaces__OR__input_workspaceId && $ws_id__closures, _subscribe($si__input_managing && $input_managing__closures, _subscribe($si__input_onReview && $input_onReview__closures, _subscribe($si__input_onNewSession && $input_onNewSession__closures, writeScope($scope5_id, {
|
|
@@ -5471,17 +5471,17 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5471
5471
|
return 0;
|
|
5472
5472
|
}
|
|
5473
5473
|
}, $scope3_id, "k", $sg__input_page, $sg__input_page, $sg__input_workspaceId__OR__input_status__OR__input_sessions__OR__input_page, 0, 1);
|
|
5474
|
-
_html(`</div><div${_attr_class("
|
|
5474
|
+
_html(`</div><div${_attr_class("_gn")}>`);
|
|
5475
5475
|
_for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
|
|
5476
5476
|
const $scope8_id = _scope_id();
|
|
5477
|
-
_html(`<div${_attr_class(["
|
|
5477
|
+
_html(`<div${_attr_class(["_f_", { ["_f0"]: s.id === input.currentTab }])}>`);
|
|
5478
5478
|
_if(() => {
|
|
5479
5479
|
if (renamingId === s.id) {
|
|
5480
5480
|
const $scope10_id = _scope_id();
|
|
5481
5481
|
_html(`<span${_attr_class([
|
|
5482
5482
|
"_w",
|
|
5483
5483
|
phase[sessionPhase(s.state)],
|
|
5484
|
-
"
|
|
5484
|
+
"_gl"
|
|
5485
5485
|
])}></span>${_el_resume($scope10_id, "a", $sg__input_sessions)}`);
|
|
5486
5486
|
_set_serialize_reason({
|
|
5487
5487
|
1: $sg__input_sessions,
|
|
@@ -5491,17 +5491,17 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5491
5491
|
icon_agent_default({
|
|
5492
5492
|
agent: activeAgent(s),
|
|
5493
5493
|
size: 13,
|
|
5494
|
-
class: "
|
|
5494
|
+
class: "_gp"
|
|
5495
5495
|
});
|
|
5496
5496
|
_html(`<input${_attr_input_value($scope10_id, "c", renameValue, _resume((_new_renameValue) => {
|
|
5497
5497
|
renameValue = _new_renameValue;
|
|
5498
|
-
}, "u0", $scope10_id))}${_attr_class(["_R", "
|
|
5498
|
+
}, "u0", $scope10_id))}${_attr_class(["_R", "_gm"])} aria-label="Session name">${_el_resume($scope10_id, "c")}`);
|
|
5499
5499
|
_script($scope10_id, "u5");
|
|
5500
5500
|
_subscribe($renameValue__closures, writeScope($scope10_id, { b: $si__input_sessions && _existing_scope($childScope3) }));
|
|
5501
5501
|
return 0;
|
|
5502
5502
|
} else {
|
|
5503
5503
|
const $scope9_id = _scope_id();
|
|
5504
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("
|
|
5504
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("_go")}><span${_attr_class(["_w", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope9_id, "b", $sg__input_sessions)}`);
|
|
5505
5505
|
_set_serialize_reason({
|
|
5506
5506
|
1: $sg__input_sessions,
|
|
5507
5507
|
2: $sg__input_sessions
|
|
@@ -5510,9 +5510,9 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5510
5510
|
icon_agent_default({
|
|
5511
5511
|
agent: activeAgent(s),
|
|
5512
5512
|
size: 13,
|
|
5513
|
-
class: "
|
|
5513
|
+
class: "_gp"
|
|
5514
5514
|
});
|
|
5515
|
-
_html(`<span${_attr_class("
|
|
5515
|
+
_html(`<span${_attr_class("_gj")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope9_id, "e", $sg__input_sessions)}</span></a>${_el_resume($scope9_id, "a", _serialize_guard($scope0_reason, 5))}<div${_attr_class("_gk")}><button${_attr_class(rowIcon)} title="Rename session">`);
|
|
5516
5516
|
icon_edit_default({ size: 12 });
|
|
5517
5517
|
_html(`</button>${_el_resume($scope9_id, "g")}<button${_attr_class([close, { ["_n"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
|
|
5518
5518
|
icon_xmark_default({ size: 12 });
|
|
@@ -5699,25 +5699,25 @@ var side_nav_default = _template("v", (input) => {
|
|
|
5699
5699
|
const isPage = view === "nav";
|
|
5700
5700
|
const otherIds = itemIds.filter((id) => id !== ws.id);
|
|
5701
5701
|
const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
|
|
5702
|
-
_html(`<aside${_attr_class(["
|
|
5703
|
-
["
|
|
5704
|
-
["
|
|
5702
|
+
_html(`<aside${_attr_class(["_c7", {
|
|
5703
|
+
["_c5"]: !navOpen,
|
|
5704
|
+
["_c6"]: isPage
|
|
5705
5705
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
5706
5706
|
_if(() => {
|
|
5707
5707
|
if (isPage) {
|
|
5708
5708
|
const $scope1_id = _scope_id();
|
|
5709
|
-
_html(`<header${_attr_class("
|
|
5709
|
+
_html(`<header${_attr_class("_c_")}><h1${_attr_class("_da")}>Workspaces</h1><div${_attr_class("_db")}>`);
|
|
5710
5710
|
_if(() => {}, $scope1_id, "d", 1, 1, 1, 0, 1);
|
|
5711
5711
|
_html(`<a href=/settings${_attr_class([
|
|
5712
5712
|
iconBtn$1,
|
|
5713
|
-
"
|
|
5714
|
-
{ ["
|
|
5713
|
+
"_dc",
|
|
5714
|
+
{ ["_c2"]: view === "settings" }
|
|
5715
5715
|
])} title=Settings${view === "settings" ? " aria-current=page" : ""}>`);
|
|
5716
5716
|
icon_settings_default({ size: 16 });
|
|
5717
5717
|
_if(() => {
|
|
5718
5718
|
if (input.setupReady === false) {
|
|
5719
5719
|
const $scope10_id = _scope_id();
|
|
5720
|
-
_html(`<span${_attr_class(["_w", "
|
|
5720
|
+
_html(`<span${_attr_class(["_w", "_c4"])} title="Machine setup incomplete"></span>`);
|
|
5721
5721
|
$si__input_setupReady && writeScope($scope10_id, {});
|
|
5722
5722
|
return 0;
|
|
5723
5723
|
}
|
|
@@ -5727,13 +5727,13 @@ var side_nav_default = _template("v", (input) => {
|
|
|
5727
5727
|
return 0;
|
|
5728
5728
|
}
|
|
5729
5729
|
}, $scope0_id, "b", 1, 1, 1, 0, 1);
|
|
5730
|
-
_html(`<div${_attr_class("
|
|
5730
|
+
_html(`<div${_attr_class("_df")}>`);
|
|
5731
5731
|
_for_of(listIds, (wsId) => {
|
|
5732
5732
|
const $scope2_id = _scope_id();
|
|
5733
5733
|
_if(() => {
|
|
5734
5734
|
if (isPage && wsId === ws.id) {
|
|
5735
5735
|
const $scope11_id = _scope_id();
|
|
5736
|
-
_html(`<h2${_attr_class(["
|
|
5736
|
+
_html(`<h2${_attr_class(["_bE", "_dd"])}>Current</h2>`);
|
|
5737
5737
|
writeScope($scope11_id, {});
|
|
5738
5738
|
return 0;
|
|
5739
5739
|
}
|
|
@@ -5741,7 +5741,7 @@ var side_nav_default = _template("v", (input) => {
|
|
|
5741
5741
|
_if(() => {
|
|
5742
5742
|
if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
|
|
5743
5743
|
const $scope12_id = _scope_id();
|
|
5744
|
-
_html(`<h2${_attr_class(["
|
|
5744
|
+
_html(`<h2${_attr_class(["_bE", "_dd"])}>Other workspaces</h2>`);
|
|
5745
5745
|
writeScope($scope12_id, {});
|
|
5746
5746
|
return 0;
|
|
5747
5747
|
}
|
|
@@ -5825,7 +5825,7 @@ var side_nav_default = _template("v", (input) => {
|
|
|
5825
5825
|
railHover = null;
|
|
5826
5826
|
}, 150);
|
|
5827
5827
|
}, "v6", $scope3_id);
|
|
5828
|
-
_html(`<div${_attr_class("
|
|
5828
|
+
_html(`<div${_attr_class("_dg")}>`);
|
|
5829
5829
|
_for_of(itemIds, (wsId, i) => {
|
|
5830
5830
|
const $scope4_id = _scope_id();
|
|
5831
5831
|
_html("<span>");
|
|
@@ -5876,7 +5876,7 @@ var side_nav_default = _template("v", (input) => {
|
|
|
5876
5876
|
if (railHover) {
|
|
5877
5877
|
const $scope5_id = _scope_id();
|
|
5878
5878
|
const hoverId = railHover.id;
|
|
5879
|
-
_html(`<div${_attr_class(["_1", "
|
|
5879
|
+
_html(`<div${_attr_class(["_1", "_dj"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
|
|
5880
5880
|
_set_serialize_reason({
|
|
5881
5881
|
0: 1,
|
|
5882
5882
|
1: 1,
|
|
@@ -5961,7 +5961,7 @@ var side_nav_default = _template("v", (input) => {
|
|
|
5961
5961
|
return 0;
|
|
5962
5962
|
}
|
|
5963
5963
|
}, $scope0_id, "d");
|
|
5964
|
-
_html(`<div${_attr_class("
|
|
5964
|
+
_html(`<div${_attr_class("_dh")}>`);
|
|
5965
5965
|
_if(() => {
|
|
5966
5966
|
if (isPage) {
|
|
5967
5967
|
const $scope7_id = _scope_id();
|
|
@@ -5969,7 +5969,7 @@ var side_nav_default = _template("v", (input) => {
|
|
|
5969
5969
|
"_l",
|
|
5970
5970
|
"_m",
|
|
5971
5971
|
btnLg,
|
|
5972
|
-
"
|
|
5972
|
+
"_de"
|
|
5973
5973
|
])} title="New workspace"${view === "new" ? " aria-current=page" : ""}>`);
|
|
5974
5974
|
icon_folder_plus_default({ size: 16 });
|
|
5975
5975
|
_html(` New workspace</a>${_el_resume($scope7_id, "a")}`);
|
|
@@ -5991,19 +5991,19 @@ var side_nav_default = _template("v", (input) => {
|
|
|
5991
5991
|
return 1;
|
|
5992
5992
|
}
|
|
5993
5993
|
}, $scope6_id, "a", 1, 1, 1, "</button>", 1);
|
|
5994
|
-
_html(`<div${_attr_class(["_v", "
|
|
5994
|
+
_html(`<div${_attr_class(["_v", "_di"])}></div>`);
|
|
5995
5995
|
_if(() => {}, $scope6_id, "c", 1, 1, 1, 0, 1);
|
|
5996
|
-
_html(`<a href=/settings${_attr_class([iconBtn$1, { ["
|
|
5996
|
+
_html(`<a href=/settings${_attr_class([iconBtn$1, { ["_c2"]: view === "settings" }])} title=Settings${view === "settings" ? " aria-current=page" : ""}>`);
|
|
5997
5997
|
icon_settings_default({ size: 15 });
|
|
5998
5998
|
_if(() => {
|
|
5999
5999
|
if (input.setupReady === false) {
|
|
6000
6000
|
const $scope15_id = _scope_id();
|
|
6001
|
-
_html(`<span${_attr_class(["_w", "
|
|
6001
|
+
_html(`<span${_attr_class(["_w", "_c4"])} title="Machine setup incomplete"></span>`);
|
|
6002
6002
|
$si__input_setupReady && writeScope($scope15_id, {});
|
|
6003
6003
|
return 0;
|
|
6004
6004
|
}
|
|
6005
6005
|
}, $scope6_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
6006
|
-
_html(`</a>${_el_resume($scope6_id, "d")}<a href=/new${_attr_class([iconBtn$1, { ["
|
|
6006
|
+
_html(`</a>${_el_resume($scope6_id, "d")}<a href=/new${_attr_class([iconBtn$1, { ["_c2"]: view === "new" }])} title="New workspace"${view === "new" ? " aria-current=page" : ""}>`);
|
|
6007
6007
|
icon_folder_plus_default({ size: 16 });
|
|
6008
6008
|
_html(`</a>${_el_resume($scope6_id, "g")}`);
|
|
6009
6009
|
_script($scope6_id, "v15");
|
|
@@ -6064,11 +6064,11 @@ var side_nav_default = _template("v", (input) => {
|
|
|
6064
6064
|
_resume_branch($scope0_id);
|
|
6065
6065
|
});
|
|
6066
6066
|
var iconBtn = "_X _g";
|
|
6067
|
-
var sectionCount = "
|
|
6068
|
-
var content = "
|
|
6069
|
-
var pageMeta = "
|
|
6070
|
-
var pathMeta = "
|
|
6071
|
-
var dangerHint = "
|
|
6067
|
+
var sectionCount = "_br _F _G";
|
|
6068
|
+
var content = "_dk _bh";
|
|
6069
|
+
var pageMeta = "_dl _bm";
|
|
6070
|
+
var pathMeta = "_do _u";
|
|
6071
|
+
var dangerHint = "_du _P";
|
|
6072
6072
|
//#endregion
|
|
6073
6073
|
//#region src/tags/manage-workspace.marko
|
|
6074
6074
|
var api$2;
|
|
@@ -6166,7 +6166,7 @@ var manage_workspace_default = _template("l", (input) => {
|
|
|
6166
6166
|
setTimeout(() => loadProcs(void 0), 500);
|
|
6167
6167
|
}, "l5", $scope0_id);
|
|
6168
6168
|
const titleId = _id();
|
|
6169
|
-
_html(`<div${_attr_class("
|
|
6169
|
+
_html(`<div${_attr_class("_bf")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bg")}><div${_attr_class(content)}>`);
|
|
6170
6170
|
_set_serialize_reason(30);
|
|
6171
6171
|
const $childScope = _peek_scope_id();
|
|
6172
6172
|
page_head_default({
|
|
@@ -6179,7 +6179,7 @@ var manage_workspace_default = _template("l", (input) => {
|
|
|
6179
6179
|
meta: attrTag({ content: _content_resume("l11", () => {
|
|
6180
6180
|
_scope_reason();
|
|
6181
6181
|
const $scope8_id = _scope_id();
|
|
6182
|
-
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("
|
|
6182
|
+
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_dm")}>${_escape(ws.name)}${_el_resume($scope8_id, "c")}</span>`);
|
|
6183
6183
|
_if(() => {
|
|
6184
6184
|
if (ws.status !== "active") {
|
|
6185
6185
|
const $scope11_id = _scope_id();
|
|
@@ -6188,7 +6188,7 @@ var manage_workspace_default = _template("l", (input) => {
|
|
|
6188
6188
|
return 0;
|
|
6189
6189
|
}
|
|
6190
6190
|
}, $scope8_id, "d", 1, 1, 1, 0, 1);
|
|
6191
|
-
_html(`<span${_attr_class("
|
|
6191
|
+
_html(`<span${_attr_class("_dn")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope8_id, "g")}</span></span>${_el_resume($scope8_id, "a")}`);
|
|
6192
6192
|
_subscribe($ws_status__closures, _subscribe($ws_name__closures, _subscribe($ws_path__closures, _subscribe($ws_display_path__closures, writeScope($scope8_id, { _: _scope_with_id($scope0_id) })))));
|
|
6193
6193
|
_resume_branch($scope8_id);
|
|
6194
6194
|
}, $scope0_id) })
|
|
@@ -6216,22 +6216,22 @@ var manage_workspace_default = _template("l", (input) => {
|
|
|
6216
6216
|
_if(() => {
|
|
6217
6217
|
if (pendingAction && actionStep) {
|
|
6218
6218
|
const $scope7_id = _scope_id();
|
|
6219
|
-
_html(`<p${_attr_class("
|
|
6219
|
+
_html(`<p${_attr_class("_bo")}><span${_attr_class("_C")}></span><!>${_escape(actionStep)}${_el_resume($scope7_id, "c")}</p>`);
|
|
6220
6220
|
writeScope($scope7_id, {});
|
|
6221
6221
|
return 0;
|
|
6222
6222
|
}
|
|
6223
6223
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
6224
|
-
_html(`<section${_attr_class("
|
|
6224
|
+
_html(`<section${_attr_class("_bp")}><div${_attr_class("_bq")}><h2${_attr_class("_bE")}>Repos</h2><span${_attr_class(sectionCount)}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "k")}</span><div${_attr_class("_v")}></div><button${_attr_class(iconBtn)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
6225
6225
|
_set_serialize_reason(1);
|
|
6226
6226
|
const $childScope2 = _peek_scope_id();
|
|
6227
6227
|
icon_refresh_default({
|
|
6228
6228
|
size: 14,
|
|
6229
6229
|
class: catalogRefreshing && "_B"
|
|
6230
6230
|
});
|
|
6231
|
-
_html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("
|
|
6231
|
+
_html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("_bs")}>`);
|
|
6232
6232
|
_for_of(ws.repos, (row) => {
|
|
6233
6233
|
const $scope1_id = _scope_id();
|
|
6234
|
-
_html(`<li${_attr_class("
|
|
6234
|
+
_html(`<li${_attr_class("_bu")}><div${_attr_class("_bv")}><span${_attr_class(["_bw", "_u"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bx")}><a${_attr_class(["_by", "_dq"])}${_attr("href", repoWebUrl$1(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_escape(repoLabel(row.full_name))}${_el_resume($scope1_id, "g")}</a>${_el_resume($scope1_id, "f")}`);
|
|
6235
6235
|
_if(() => {
|
|
6236
6236
|
if (row.base_branch !== row.default_branch) {
|
|
6237
6237
|
const $scope12_id = _scope_id();
|
|
@@ -6250,7 +6250,7 @@ var manage_workspace_default = _template("l", (input) => {
|
|
|
6250
6250
|
} else {
|
|
6251
6251
|
const $scope6_id = _scope_id();
|
|
6252
6252
|
_html(`<button${_attr_class([
|
|
6253
|
-
"
|
|
6253
|
+
"_bz",
|
|
6254
6254
|
"_Z",
|
|
6255
6255
|
"_0",
|
|
6256
6256
|
{ ["_n"]: confirmingRemove === row.full_name }
|
|
@@ -6283,19 +6283,19 @@ var manage_workspace_default = _template("l", (input) => {
|
|
|
6283
6283
|
}, "full_name", $scope0_id, "p", 1, 1, 1, 0, 1);
|
|
6284
6284
|
_for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
|
|
6285
6285
|
const $scope16_id = _scope_id();
|
|
6286
|
-
_html(`<li${_attr_class(["
|
|
6286
|
+
_html(`<li${_attr_class(["_bu", "_bt"])}><span${_attr_class("_C")}></span><div${_attr_class("_bv")}><span${_attr_class("_by")}>Adding <!>${_escape(name)}${_el_resume($scope16_id, "e")}…</span></div></li>`);
|
|
6287
6287
|
writeScope($scope16_id, {});
|
|
6288
6288
|
}, (n) => n, $scope0_id, "q", 1, 1, 1, 0, 1);
|
|
6289
6289
|
_html("</ul>");
|
|
6290
6290
|
_if(() => {
|
|
6291
6291
|
if (!ws.repos.length && !busy.size) {
|
|
6292
6292
|
const $scope17_id = _scope_id();
|
|
6293
|
-
_html(`<p${_attr_class("
|
|
6293
|
+
_html(`<p${_attr_class("_bA")}>No repos yet. Search below to add one.</p>`);
|
|
6294
6294
|
writeScope($scope17_id, {});
|
|
6295
6295
|
return 0;
|
|
6296
6296
|
}
|
|
6297
6297
|
}, $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
6298
|
-
_html(`<div${_attr_class("
|
|
6298
|
+
_html(`<div${_attr_class("_dp")}>`);
|
|
6299
6299
|
const $childScope3 = _peek_scope_id();
|
|
6300
6300
|
let refreshCatalog = repo_picker_default({
|
|
6301
6301
|
exclude: inWorkspace,
|
|
@@ -6315,17 +6315,17 @@ var manage_workspace_default = _template("l", (input) => {
|
|
|
6315
6315
|
_if(() => {
|
|
6316
6316
|
if (running.length) {
|
|
6317
6317
|
const $scope9_id = _scope_id();
|
|
6318
|
-
_html(`<section${_attr_class("
|
|
6318
|
+
_html(`<section${_attr_class("_bp")}><div${_attr_class("_bq")}><h2${_attr_class("_bE")}>Running</h2><span${_attr_class(sectionCount)}>${_escape(running.length)}${_el_resume($scope9_id, "e")}</span></div><ul${_attr_class("_bs")}>`);
|
|
6319
6319
|
_for_of(running, (p) => {
|
|
6320
6320
|
const $scope10_id = _scope_id();
|
|
6321
|
-
_html(`<li${_attr_class("
|
|
6321
|
+
_html(`<li${_attr_class("_bu")}><div${_attr_class("_bv")}${_attr("title", p.args)}><span${_attr_class(["_bw", "_u"])}>${_escape(p.cmd)}${_el_resume($scope10_id, "d")}</span>`);
|
|
6322
6322
|
_if(() => {
|
|
6323
6323
|
if (p.ports.length) {
|
|
6324
6324
|
const $scope18_id = _scope_id();
|
|
6325
|
-
_html(`<span${_attr_class("
|
|
6325
|
+
_html(`<span${_attr_class("_bx")}>`);
|
|
6326
6326
|
_for_of(p.ports, (port) => {
|
|
6327
6327
|
const $scope19_id = _scope_id();
|
|
6328
|
-
_html(`<button${_attr_class(["_p", "
|
|
6328
|
+
_html(`<button${_attr_class(["_p", "_dr"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope19_id, "b")}</button>${_el_resume($scope19_id, "a")}`);
|
|
6329
6329
|
_script($scope19_id, "l15");
|
|
6330
6330
|
writeScope($scope19_id, { d: port });
|
|
6331
6331
|
}, (x) => String(x), $scope18_id, "a", 1, 1, 1, "</span>", 1);
|
|
@@ -6333,7 +6333,7 @@ var manage_workspace_default = _template("l", (input) => {
|
|
|
6333
6333
|
return 0;
|
|
6334
6334
|
}
|
|
6335
6335
|
}, $scope10_id, "e", 1, 1, 1, 0, 1);
|
|
6336
|
-
_html(`</div>${_el_resume($scope10_id, "b")}<button${_attr_class(["
|
|
6336
|
+
_html(`</div>${_el_resume($scope10_id, "b")}<button${_attr_class(["_bz", "_Z"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
|
|
6337
6337
|
icon_xmark_default({ size: 14 });
|
|
6338
6338
|
_html(`</button>${_el_resume($scope10_id, "f")}</li>`);
|
|
6339
6339
|
_script($scope10_id, "l16");
|
|
@@ -6347,7 +6347,7 @@ var manage_workspace_default = _template("l", (input) => {
|
|
|
6347
6347
|
return 0;
|
|
6348
6348
|
}
|
|
6349
6349
|
}, $scope0_id, "v", 1, 1, 1, 0, 1);
|
|
6350
|
-
_html(`<section${_attr_class(["
|
|
6350
|
+
_html(`<section${_attr_class(["_bp", "_ds"])}><div${_attr_class("_bq")}><h2${_attr_class("_bE")}>Workspace</h2></div><div${_attr_class("_dt")}>`);
|
|
6351
6351
|
_if(() => {
|
|
6352
6352
|
if (ws.status === "active") {
|
|
6353
6353
|
const $scope4_id = _scope_id();
|
|
@@ -6528,7 +6528,7 @@ _template("A", (input) => {
|
|
|
6528
6528
|
return 0;
|
|
6529
6529
|
}
|
|
6530
6530
|
}, $scope2_id, "a", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
6531
|
-
_html(`<span${_attr_class("_eH")}><span${_attr_class("_eI")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_eJ", win$1.used_percent >= 90 ? "
|
|
6531
|
+
_html(`<span${_attr_class("_eH")}><span${_attr_class("_eI")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_eJ", win$1.used_percent >= 90 ? "_cY" : win$1.used_percent >= 70 ? "_cX" : win$1.used_percent >= 40 ? "_cW" : "_cV"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
|
|
6532
6532
|
$si__input_agent && writeScope($scope2_id, {});
|
|
6533
6533
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>");
|
|
6534
6534
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -6920,7 +6920,7 @@ var work_view_default = _template("B", (input) => {
|
|
|
6920
6920
|
let DiffView = null;
|
|
6921
6921
|
const loadDiffView = _resume(() => {
|
|
6922
6922
|
if (DiffView) return;
|
|
6923
|
-
import("./
|
|
6923
|
+
import("./_B-dzDH9Z.js").then((m) => {
|
|
6924
6924
|
DiffView = m.default;
|
|
6925
6925
|
});
|
|
6926
6926
|
}, "B6", $scope0_id);
|
|
@@ -7378,7 +7378,7 @@ var work_view_default = _template("B", (input) => {
|
|
|
7378
7378
|
_if(() => {
|
|
7379
7379
|
if (!shownSessions.length && view === "term") {
|
|
7380
7380
|
const $scope7_id = _scope_id();
|
|
7381
|
-
_html(`<div${_attr_class("
|
|
7381
|
+
_html(`<div${_attr_class("_bB")}><span>No sessions in this workspace.</span><button${_attr_class(["_l", "_m"])}${_attr("disabled", spawning)}>${spawning ? "Starting…" : `Start ${_escape(`${input.preferred || "shell"}`)}`}${_el_resume($scope7_id, "c")}</button>${_el_resume($scope7_id, "b")}</div>`);
|
|
7382
7382
|
_script($scope7_id, "B48");
|
|
7383
7383
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
|
|
7384
7384
|
return 0;
|
|
@@ -7388,7 +7388,7 @@ var work_view_default = _template("B", (input) => {
|
|
|
7388
7388
|
return 0;
|
|
7389
7389
|
} else {
|
|
7390
7390
|
const $scope10_id = _scope_id();
|
|
7391
|
-
_html(`<p${_attr_class("
|
|
7391
|
+
_html(`<p${_attr_class("_bB")}>Loading sessions…</p>`);
|
|
7392
7392
|
writeScope($scope10_id, {});
|
|
7393
7393
|
return 1;
|
|
7394
7394
|
}
|
|
@@ -15736,4 +15736,4 @@ server.listen(port, () => {
|
|
|
15736
15736
|
//#endregion
|
|
15737
15737
|
export {};
|
|
15738
15738
|
|
|
15739
|
-
;var __MARKO_MANIFEST__={"
|
|
15739
|
+
;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-B-QPv6NA.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B-QPv6NA.css\"",">"],"defer":[2,"/assets/new-CxcQDhex.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-CxcQDhex.js\"","></script>",2,"modulepreload#/assets/_CktwGNoV.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CktwGNoV.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-B-QPv6NA.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B-QPv6NA.css\"",">"],"defer":[2,"/assets/settings-CxcQDhex.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-CxcQDhex.js\"","></script>",2,"modulepreload#/assets/_CktwGNoV.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CktwGNoV.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-B-QPv6NA.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B-QPv6NA.css\"",">"],"defer":[2,"/assets/w._-CxcQDhex.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-CxcQDhex.js\"","></script>",2,"modulepreload#/assets/_CktwGNoV.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CktwGNoV.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-B-QPv6NA.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B-QPv6NA.css\"",">"],"defer":[2,"/assets/w-CxcQDhex.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-CxcQDhex.js\"","></script>",2,"modulepreload#/assets/_CktwGNoV.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CktwGNoV.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-B-QPv6NA.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B-QPv6NA.css\"",">"],"defer":[2,"/assets/w._-CuOk-xxd.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-CuOk-xxd.js\"","></script>",2,"modulepreload#/assets/_CktwGNoV.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CktwGNoV.js\"",">"]}};
|