@dylanpiercey/work 0.0.61 → 0.0.63
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/{_cErkZ7aD.js → _CkMJ5gOG.js} +38 -38
- package/dist/{_BzLkVx8w.js → _DJw6QDd6.js} +61 -63
- package/dist/index.mjs +278 -263
- package/dist/public/assets/{_Z_6Cd4-P.js → _0hNVJ4JO.js} +1 -1
- package/dist/public/assets/_0hNVJ4JO.js.br +0 -0
- package/dist/public/assets/{_C0BBa2LY.js → _14DmBChI.js} +1 -1
- package/dist/public/assets/_14DmBChI.js.br +0 -0
- package/dist/public/assets/{_F8JYtOjC.js → _1aIRcB6T.js} +1 -1
- package/dist/public/assets/_1aIRcB6T.js.br +0 -0
- package/dist/public/assets/{_aJkXzlpz2.js → _AnXZ6DjN2.js} +1 -1
- package/dist/public/assets/_AnXZ6DjN2.js.br +0 -0
- package/dist/public/assets/{_BPUAN-ly.js → _B1u5Uh3T.js} +1 -1
- package/dist/public/assets/_B1u5Uh3T.js.br +0 -0
- package/dist/public/assets/{_DL5VHLiK.js → _BAXP44gA.js} +1 -1
- package/dist/public/assets/{_mXm2QP3a.js → _BAgMDk4k.js} +1 -1
- package/dist/public/assets/_BAgMDk4k.js.br +0 -0
- package/dist/public/assets/{_DpfOvYay.js → _BCdzZsn_.js} +1 -1
- package/dist/public/assets/_BCdzZsn_.js.br +0 -0
- package/dist/public/assets/{_B1NpKRHU2.js → _BDTS1vjt2.js} +1 -1
- package/dist/public/assets/{_DLea9DAM2.js → _BKY_bMM62.js} +1 -1
- package/dist/public/assets/_BKY_bMM62.js.br +0 -0
- package/dist/public/assets/{_MH-qqku82.js → _BMO-ZlzJ2.js} +1 -1
- package/dist/public/assets/_BMO-ZlzJ2.js.br +0 -0
- package/dist/public/assets/{_F5Yoi3rk.js → _BNV4QnFb.js} +1 -1
- package/dist/public/assets/_BNV4QnFb.js.br +0 -0
- package/dist/public/assets/{_BLXU1VLe.js → _BUaVKf3v.js} +1 -1
- package/dist/public/assets/_BUaVKf3v.js.br +0 -0
- package/dist/public/assets/{_R_QpRXWt.js → _BZD7uwi9.js} +1 -1
- package/dist/public/assets/_BZD7uwi9.js.br +0 -0
- package/dist/public/assets/{_B2K__GvG.js → _BahoEUEl.js} +1 -1
- package/dist/public/assets/_BahoEUEl.js.br +0 -0
- package/dist/public/assets/{_BNVhbTVA.js → _BbXjig9P.js} +1 -1
- package/dist/public/assets/_BbXjig9P.js.br +0 -0
- package/dist/public/assets/{_De4MeYuW2.js → _BfBRi0102.js} +1 -1
- package/dist/public/assets/_BfBRi0102.js.br +0 -0
- package/dist/public/assets/{_CknMNivz.js → _Bif8ny7j.js} +1 -1
- package/dist/public/assets/_Bif8ny7j.js.br +0 -0
- package/dist/public/assets/{_DYQtpiuq.js → _Bj-Zy9Ch.js} +1 -1
- package/dist/public/assets/_Bj-Zy9Ch.js.br +0 -0
- package/dist/public/assets/{_CG0AaTPr.js → _BjiBvh1F.js} +1 -1
- package/dist/public/assets/_BjiBvh1F.js.br +0 -0
- package/dist/public/assets/{_CYVZ9QWU2.js → _Bkllp0As2.js} +1 -1
- package/dist/public/assets/_Bkllp0As2.js.br +0 -0
- package/dist/public/assets/{_pJgK38VR.js → _Bla8nnOV.js} +1 -1
- package/dist/public/assets/_Bla8nnOV.js.br +0 -0
- package/dist/public/assets/{_ByAlIYeT2.js → _BnfbE-el2.js} +1 -1
- package/dist/public/assets/_BnfbE-el2.js.br +0 -0
- package/dist/public/assets/{_YNEXLj0t.js → _BoCIFzP2.js} +1 -1
- package/dist/public/assets/_BoCIFzP2.js.br +0 -0
- package/dist/public/assets/{_BnlI4TXY.js → _BrBaHkF_.js} +1 -1
- package/dist/public/assets/_BrBaHkF_.js.br +0 -0
- package/dist/public/assets/{_s_XV4K45.js → _C-PAnbq3.js} +1 -1
- package/dist/public/assets/_C-PAnbq3.js.br +0 -0
- package/dist/public/assets/{_3piuEUbI2.js → _C2_4nxz12.js} +1 -1
- package/dist/public/assets/_C2_4nxz12.js.br +0 -0
- package/dist/public/assets/{_DHd8nhw1.js → _C6wSov-5.js} +1 -1
- package/dist/public/assets/_C6wSov-5.js.br +0 -0
- package/dist/public/assets/{_CjpOzutL2.js → _C7-54NbO2.js} +1 -1
- package/dist/public/assets/_C7-54NbO2.js.br +0 -0
- package/dist/public/assets/{_KqJ09rIG.js → _CB8oTGqD.js} +1 -1
- package/dist/public/assets/_CB8oTGqD.js.br +0 -0
- package/dist/public/assets/{_D8Asevm7.js → _CGdTzrY1.js} +1 -1
- package/dist/public/assets/_CGdTzrY1.js.br +0 -0
- package/dist/public/assets/{_BVYa_mbN.js → _CHMOdIBF.js} +1 -1
- package/dist/public/assets/_CHMOdIBF.js.br +0 -0
- package/dist/public/assets/{_jZBfWvuR.js → _CNqZ6LTq.js} +1 -1
- package/dist/public/assets/_CNqZ6LTq.js.br +0 -0
- package/dist/public/assets/{_B5TnVT0_2.js → _CWkU9r_m2.js} +1 -1
- package/dist/public/assets/_CWkU9r_m2.js.br +0 -0
- package/dist/public/assets/{_sy0kNf-m2.js → _CgURBhsh2.js} +1 -1
- package/dist/public/assets/_CgURBhsh2.js.br +0 -0
- package/dist/public/assets/{_DluzvUDf2.js → _CgVVBthC2.js} +1 -1
- package/dist/public/assets/_CgVVBthC2.js.br +0 -0
- package/dist/public/assets/{_CkzLZdDH.js → _CgpdtGAg.js} +21 -20
- package/dist/public/assets/_CgpdtGAg.js.br +0 -0
- package/dist/public/assets/{_BJ1F2OrR.js → _CoqFfSgg.js} +1 -1
- package/dist/public/assets/_CoqFfSgg.js.br +0 -0
- package/dist/public/assets/{_CrONMUjl.js → _CqHt_5jw.js} +1 -1
- package/dist/public/assets/_CqHt_5jw.js.br +0 -0
- package/dist/public/assets/{_DPVnwe0e.js → _Cs0oBAc0.js} +1 -1
- package/dist/public/assets/_Cs0oBAc0.js.br +0 -0
- package/dist/public/assets/{_CGEXLjN0.js → _Cs32oXy_.js} +1 -1
- package/dist/public/assets/_Cs32oXy_.js.br +0 -0
- package/dist/public/assets/{_j7yh9ttm.js → _CtQ_-SCD.js} +1 -1
- package/dist/public/assets/_CtQ_-SCD.js.br +0 -0
- package/dist/public/assets/{_PMreEjSJ.js → _CuOsKTaT.js} +1 -1
- package/dist/public/assets/_CuOsKTaT.js.br +0 -0
- package/dist/public/assets/{_CZuwab3b2.js → _CzNPwcYd2.js} +1 -1
- package/dist/public/assets/_CzNPwcYd2.js.br +0 -0
- package/dist/public/assets/{_DFIapqbJ.js → _CzaqMz01.js} +1 -1
- package/dist/public/assets/_CzaqMz01.js.br +0 -0
- package/dist/public/assets/{_BHcFvM5h.js → _D9dzMNoO.js} +1 -1
- package/dist/public/assets/_D9dzMNoO.js.br +0 -0
- package/dist/public/assets/{_D2HgdZrx2.js → _DC4Dw05t2.js} +1 -1
- package/dist/public/assets/_DC4Dw05t2.js.br +0 -0
- package/dist/public/assets/{_AzrAZ0FA.js → _DCzqg64T.js} +1 -1
- package/dist/public/assets/_DCzqg64T.js.br +0 -0
- package/dist/public/assets/{_Kqr1AB1M2.js → _DEV1HUyH2.js} +1 -1
- package/dist/public/assets/_DEV1HUyH2.js.br +0 -0
- package/dist/public/assets/{_Bk_O1cRg2.js → _DGvaJxhN2.js} +1 -1
- package/dist/public/assets/_DGvaJxhN2.js.br +0 -0
- package/dist/public/assets/{_4yUlmfQl2.js → _DJx4mibl2.js} +1 -1
- package/dist/public/assets/_DJx4mibl2.js.br +0 -0
- package/dist/public/assets/{_B3PtQn2A.js → _DMG2J4L6.js} +1 -1
- package/dist/public/assets/_DMG2J4L6.js.br +0 -0
- package/dist/public/assets/{_D5eTWJyo.js → _DMp6AZKA.js} +1 -1
- package/dist/public/assets/_DMp6AZKA.js.br +0 -0
- package/dist/public/assets/{_M9eeg3lJ2.js → _DWEFguKu2.js} +1 -1
- package/dist/public/assets/_DWEFguKu2.js.br +0 -0
- package/dist/public/assets/{_C9jEtZ-Q.js → _DY1QitV0.js} +1 -1
- package/dist/public/assets/_DY1QitV0.js.br +0 -0
- package/dist/public/assets/{_Cj-9c1qe.js → _D_J7qiyb.js} +1 -1
- package/dist/public/assets/_D_J7qiyb.js.br +0 -0
- package/dist/public/assets/{_BAmPaV_V.js → _DnGXgL0i.js} +1 -1
- package/dist/public/assets/_DnGXgL0i.js.br +0 -0
- package/dist/public/assets/{_DP9JCjD_.js → _Doqy2mrF.js} +1 -1
- package/dist/public/assets/_Doqy2mrF.js.br +0 -0
- package/dist/public/assets/{_SndtN1_k.js → _DpeDF238.js} +1 -1
- package/dist/public/assets/_DpeDF238.js.br +0 -0
- package/dist/public/assets/{_bFxnpLdR.js → _Dr_nTK62.js} +1 -1
- package/dist/public/assets/_Dr_nTK62.js.br +0 -0
- package/dist/public/assets/{_B2PbVfl02.js → _DsAa3Xy42.js} +1 -1
- package/dist/public/assets/_DsAa3Xy42.js.br +0 -0
- package/dist/public/assets/{_IAdvEM0L.js → _FR2-KCqo.js} +1 -1
- package/dist/public/assets/_FR2-KCqo.js.br +0 -0
- package/dist/public/assets/{_Bjzz254G.js → _H1UQxF28.js} +1 -1
- package/dist/public/assets/_H1UQxF28.js.br +0 -0
- package/dist/public/assets/{_DX-xCHfq2.js → _HcLcz5i82.js} +1 -1
- package/dist/public/assets/_HcLcz5i82.js.br +0 -0
- package/dist/public/assets/{_BtveInpO.js → _Obe-5WKG.js} +1 -1
- package/dist/public/assets/_Obe-5WKG.js.br +0 -0
- package/dist/public/assets/{_k6V3f5qU.js → _Q2qQseiI.js} +1 -1
- package/dist/public/assets/_Q2qQseiI.js.br +0 -0
- package/dist/public/assets/{_CdbVq2ML.js → _RGFDEa9_.js} +1 -1
- package/dist/public/assets/_RGFDEa9_.js.br +0 -0
- package/dist/public/assets/{_B07nUoAy.js → _ScSFhsTr.js} +1 -1
- package/dist/public/assets/_ScSFhsTr.js.br +0 -0
- package/dist/public/assets/{_DWl0Ya7I2.js → _ag3kTHuY2.js} +1 -1
- package/dist/public/assets/{_BXMkOIuV.js → _nC_b5l_M.js} +1 -1
- package/dist/public/assets/_nC_b5l_M.js.br +0 -0
- package/dist/public/assets/{_BKXLk0a-2.js → _njLSeYG62.js} +1 -1
- package/dist/public/assets/_njLSeYG62.js.br +0 -0
- package/dist/public/assets/{__T_7-wUQ2.js → _qx7lbylN2.js} +1 -1
- package/dist/public/assets/_qx7lbylN2.js.br +0 -0
- package/dist/public/assets/{_D6SPTZma.js → _truEpqET.js} +1 -1
- package/dist/public/assets/_truEpqET.js.br +0 -0
- package/dist/public/assets/{_Bmb-TLK0.js → _urqw27Lw.js} +1 -1
- package/dist/public/assets/_urqw27Lw.js.br +0 -0
- package/dist/public/assets/{_uutvKr3l2.js → _zsjVrG7P2.js} +1 -1
- package/dist/public/assets/_zsjVrG7P2.js.br +0 -0
- package/dist/public/assets/diff-view-09aeMxRD.css +1 -0
- package/dist/public/assets/diff-view-09aeMxRD.css.br +0 -0
- package/dist/public/assets/index-BJoarFLU.js +85 -0
- package/dist/public/assets/index-BJoarFLU.js.br +0 -0
- package/dist/public/assets/index-Kv8GSDQR.css +1 -0
- package/dist/public/assets/index-Kv8GSDQR.css.br +0 -0
- package/lib/setup/install.mjs +1 -1
- package/package.json +1 -1
- package/dist/public/assets/_3piuEUbI2.js.br +0 -0
- package/dist/public/assets/_4yUlmfQl2.js.br +0 -0
- package/dist/public/assets/_AzrAZ0FA.js.br +0 -0
- package/dist/public/assets/_B07nUoAy.js.br +0 -0
- package/dist/public/assets/_B2K__GvG.js.br +0 -0
- package/dist/public/assets/_B2PbVfl02.js.br +0 -0
- package/dist/public/assets/_B3PtQn2A.js.br +0 -0
- package/dist/public/assets/_B5TnVT0_2.js.br +0 -0
- package/dist/public/assets/_BAmPaV_V.js.br +0 -0
- package/dist/public/assets/_BHcFvM5h.js.br +0 -0
- package/dist/public/assets/_BJ1F2OrR.js.br +0 -0
- package/dist/public/assets/_BKXLk0a-2.js.br +0 -0
- package/dist/public/assets/_BLXU1VLe.js.br +0 -0
- package/dist/public/assets/_BNVhbTVA.js.br +0 -0
- package/dist/public/assets/_BPUAN-ly.js.br +0 -0
- package/dist/public/assets/_BVYa_mbN.js.br +0 -0
- package/dist/public/assets/_BXMkOIuV.js.br +0 -0
- package/dist/public/assets/_Bjzz254G.js.br +0 -0
- package/dist/public/assets/_Bk_O1cRg2.js.br +0 -0
- package/dist/public/assets/_Bmb-TLK0.js.br +0 -0
- package/dist/public/assets/_BnlI4TXY.js.br +0 -0
- package/dist/public/assets/_BtveInpO.js.br +0 -0
- package/dist/public/assets/_ByAlIYeT2.js.br +0 -0
- package/dist/public/assets/_C0BBa2LY.js.br +0 -0
- package/dist/public/assets/_C9jEtZ-Q.js.br +0 -0
- package/dist/public/assets/_CG0AaTPr.js.br +0 -0
- package/dist/public/assets/_CGEXLjN0.js.br +0 -0
- package/dist/public/assets/_CYVZ9QWU2.js.br +0 -0
- package/dist/public/assets/_CZuwab3b2.js.br +0 -0
- package/dist/public/assets/_CdbVq2ML.js.br +0 -0
- package/dist/public/assets/_Cj-9c1qe.js.br +0 -0
- package/dist/public/assets/_CjpOzutL2.js.br +0 -0
- package/dist/public/assets/_CknMNivz.js.br +0 -0
- package/dist/public/assets/_CkzLZdDH.js.br +0 -0
- package/dist/public/assets/_CrONMUjl.js.br +0 -0
- package/dist/public/assets/_D2HgdZrx2.js.br +0 -0
- package/dist/public/assets/_D5eTWJyo.js.br +0 -0
- package/dist/public/assets/_D6SPTZma.js.br +0 -0
- package/dist/public/assets/_D8Asevm7.js.br +0 -0
- package/dist/public/assets/_DFIapqbJ.js.br +0 -9
- package/dist/public/assets/_DHd8nhw1.js.br +0 -0
- package/dist/public/assets/_DLea9DAM2.js.br +0 -0
- package/dist/public/assets/_DP9JCjD_.js.br +0 -0
- package/dist/public/assets/_DPVnwe0e.js.br +0 -0
- package/dist/public/assets/_DX-xCHfq2.js.br +0 -0
- package/dist/public/assets/_DYQtpiuq.js.br +0 -0
- package/dist/public/assets/_De4MeYuW2.js.br +0 -0
- package/dist/public/assets/_DluzvUDf2.js.br +0 -0
- package/dist/public/assets/_DpfOvYay.js.br +0 -0
- package/dist/public/assets/_F5Yoi3rk.js.br +0 -0
- package/dist/public/assets/_F8JYtOjC.js.br +0 -0
- package/dist/public/assets/_IAdvEM0L.js.br +0 -0
- package/dist/public/assets/_KqJ09rIG.js.br +0 -0
- package/dist/public/assets/_Kqr1AB1M2.js.br +0 -0
- package/dist/public/assets/_M9eeg3lJ2.js.br +0 -0
- package/dist/public/assets/_MH-qqku82.js.br +0 -0
- package/dist/public/assets/_PMreEjSJ.js.br +0 -0
- package/dist/public/assets/_R_QpRXWt.js.br +0 -0
- package/dist/public/assets/_SndtN1_k.js.br +0 -0
- package/dist/public/assets/_YNEXLj0t.js.br +0 -0
- package/dist/public/assets/_Z_6Cd4-P.js.br +0 -0
- package/dist/public/assets/__T_7-wUQ2.js.br +0 -0
- package/dist/public/assets/_aJkXzlpz2.js.br +0 -0
- package/dist/public/assets/_bFxnpLdR.js.br +0 -0
- package/dist/public/assets/_j7yh9ttm.js.br +0 -0
- package/dist/public/assets/_jZBfWvuR.js.br +0 -0
- package/dist/public/assets/_k6V3f5qU.js.br +0 -0
- package/dist/public/assets/_mXm2QP3a.js.br +0 -0
- package/dist/public/assets/_pJgK38VR.js.br +0 -0
- package/dist/public/assets/_s_XV4K45.js.br +0 -0
- package/dist/public/assets/_sy0kNf-m2.js.br +0 -0
- package/dist/public/assets/_uutvKr3l2.js.br +0 -0
- package/dist/public/assets/diff-view-tNfxR0le.css +0 -1
- package/dist/public/assets/diff-view-tNfxR0le.css.br +0 -0
- package/dist/public/assets/index-BHCvfQzn.css +0 -1
- package/dist/public/assets/index-BHCvfQzn.css.br +0 -0
- package/dist/public/assets/index-D0urg3mH.js +0 -85
- package/dist/public/assets/index-D0urg3mH.js.br +0 -0
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
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 "./_BejZlkF2.js";
|
|
3
|
-
import { $ as _hoist, A as tone, B as _attrs, C as btnSm, Ct as attrTag, D as inputLg, E as iconBtnXs, F as _attr_input_value, G as _dynamic_tag, H as _await, I as _attr_option_value, J as _el_resume, L as _attr_or, M as _attr, N as _attr_class, O as metaTrunc, Q as _for_of, R as _attr_select_value, S as btnLg, St as _var, T as iconBtnRow, Tt as writeScope, U as _content, V as _attrs_partial, W as _content_resume, X as _existing_scope, Y as _escape, Z as _flush_head, _ as sectionCount$1, _t as _subscribe, at as _resume, b as repoWebUrl$1, bt as _trailers, c as
|
|
3
|
+
import { $ as _hoist, A as tone, B as _attrs, C as btnSm, Ct as attrTag, D as inputLg, E as iconBtnXs, F as _attr_input_value, G as _dynamic_tag, H as _await, I as _attr_option_value, J as _el_resume, L as _attr_or, M as _attr, N as _attr_class, O as metaTrunc, Q as _for_of, R as _attr_select_value, S as btnLg, St as _var, T as iconBtnRow, Tt as writeScope, U as _content, V as _attrs_partial, W as _content_resume, X as _existing_scope, Y as _escape, Z as _flush_head, _ as sectionCount$1, _t as _subscribe, at as _resume, b as repoWebUrl$1, bt as _trailers, c as workspaceTab, ct as _scope_reason, d as icon_search_default, dt as _sep, et as _hoist_read_error, f as icon_back_default, ft as _serialize_guard, g as row, gt as _show_start, h as iconBtn$2, ht as _show_end, it as _peek_scope_id, j as $global, k as phase, lt as _scope_with_id, m as icon_base_default, mt as _set_serialize_reason, n as findInput, nt as _id, o as setWorkspaceTab, ot as _resume_branch, p as icon_refresh_default, pt as _serialize_if, q as _el_read_error, r as icon_sidebar_default, rt as _if, s as sideNavOpen, st as _scope_id, t as findIconBtn, tt as _html, u as rankRepos, ut as _script, v as toast_default, vt as _template, wt as withPageAssets, x as setPrimaryHost, xt as _try, y as repoLabel, yt as _to_text, z as _attr_style } from "./_CkMJ5gOG.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { createServer } from "node:http";
|
|
6
6
|
import path from "node:path";
|
|
@@ -2705,7 +2705,7 @@ async function installMise(opts = {}) {
|
|
|
2705
2705
|
}
|
|
2706
2706
|
function miseName(idOrName) {
|
|
2707
2707
|
const t = toolById(idOrName);
|
|
2708
|
-
if (t && !t.mise) throw new Error(`${t.label} is a system package — install it with
|
|
2708
|
+
if (t && !t.mise) throw new Error(`${t.label} is a system package — install it with the system package manager`);
|
|
2709
2709
|
return t ? t.mise : idOrName;
|
|
2710
2710
|
}
|
|
2711
2711
|
/** `mise use -g name@version` — installs (or re-pins) a global tool. Accepts
|
|
@@ -3122,19 +3122,19 @@ function agentFromCommand(command) {
|
|
|
3122
3122
|
}
|
|
3123
3123
|
//#endregion
|
|
3124
3124
|
//#region src/tags/settings-page.css.ts
|
|
3125
|
-
var content$2 = "
|
|
3126
|
-
var agentGrid = "
|
|
3127
|
-
var toolGrid = "
|
|
3125
|
+
var content$2 = "_b2 _bg _bh";
|
|
3126
|
+
var agentGrid = "_b6 _br";
|
|
3127
|
+
var toolGrid = "_cf _br";
|
|
3128
3128
|
//#endregion
|
|
3129
3129
|
//#region src/tags/page-head.marko
|
|
3130
3130
|
var page_head_default = _template("o", (input) => {
|
|
3131
3131
|
const $scope0_reason = _scope_reason(), $sg__input_onBack__OR__input_meta__OR__input_actions = _serialize_guard($scope0_reason, 1), $sg__input_meta = _serialize_guard($scope0_reason, 5), $sg__input_actions = _serialize_guard($scope0_reason, 6), $si__input_meta = _serialize_if($scope0_reason, 5), $si__input_actions = _serialize_if($scope0_reason, 6);
|
|
3132
3132
|
const $scope0_id = _scope_id();
|
|
3133
|
-
_html(`<header${_attr_class("
|
|
3133
|
+
_html(`<header${_attr_class("_bi")}>`);
|
|
3134
3134
|
_if(() => {
|
|
3135
3135
|
if (input.onBack) {
|
|
3136
3136
|
const $scope1_id = _scope_id();
|
|
3137
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
3137
|
+
_html(`<button${_attr_class([iconBtnRow, "_co"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
3138
3138
|
icon_back_default({ size: 16 });
|
|
3139
3139
|
_html(`</button>${_el_resume($scope1_id, "a")}`);
|
|
3140
3140
|
_script($scope1_id, "o0");
|
|
@@ -3142,11 +3142,11 @@ var page_head_default = _template("o", (input) => {
|
|
|
3142
3142
|
return 0;
|
|
3143
3143
|
}
|
|
3144
3144
|
}, $scope0_id, "b", _serialize_guard($scope0_reason, 0), _serialize_guard($scope0_reason, 2), $sg__input_onBack__OR__input_meta__OR__input_actions, 0, 1);
|
|
3145
|
-
_html(`<div${_attr_class("
|
|
3145
|
+
_html(`<div${_attr_class("_bk")}><h1${_attr("id", input.titleId)}${_attr_class("_bj")}>${_escape(input.title)}${_el_resume($scope0_id, "e", _serialize_guard($scope0_reason, 4))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 3))}`);
|
|
3146
3146
|
_if(() => {
|
|
3147
3147
|
if (input.meta) {
|
|
3148
3148
|
const $scope2_id = _scope_id();
|
|
3149
|
-
_html(`<p${_attr_class("
|
|
3149
|
+
_html(`<p${_attr_class("_bl")}>`);
|
|
3150
3150
|
_dynamic_tag($scope2_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
|
|
3151
3151
|
_html("</p>");
|
|
3152
3152
|
$si__input_meta && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -3157,7 +3157,7 @@ var page_head_default = _template("o", (input) => {
|
|
|
3157
3157
|
_if(() => {
|
|
3158
3158
|
if (input.actions) {
|
|
3159
3159
|
const $scope3_id = _scope_id();
|
|
3160
|
-
_html(`<div${_attr_class("
|
|
3160
|
+
_html(`<div${_attr_class("_bm")}>`);
|
|
3161
3161
|
_dynamic_tag($scope3_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
3162
3162
|
_html("</div>");
|
|
3163
3163
|
$si__input_actions && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -3231,7 +3231,7 @@ var icon_agent_default = _template("A", (input) => {
|
|
|
3231
3231
|
n: $badge__closures
|
|
3232
3232
|
});
|
|
3233
3233
|
});
|
|
3234
|
-
var usageNote = "
|
|
3234
|
+
var usageNote = "_dO _M";
|
|
3235
3235
|
//#endregion
|
|
3236
3236
|
//#region src/tags/usage-meters.marko
|
|
3237
3237
|
function duration(ms) {
|
|
@@ -3255,11 +3255,11 @@ var usage_meters_default = _template("y", (input) => {
|
|
|
3255
3255
|
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);
|
|
3256
3256
|
const $scope0_id = _scope_id();
|
|
3257
3257
|
const agent = input.agent;
|
|
3258
|
-
_html(`<div${_attr_class(["
|
|
3258
|
+
_html(`<div${_attr_class(["_dI", { ["_dJ"]: input.hideName }])}><div${_attr_class("_dK")}>`);
|
|
3259
3259
|
_if(() => {
|
|
3260
3260
|
if (!input.hideName) {
|
|
3261
3261
|
const $scope1_id = _scope_id();
|
|
3262
|
-
_html(`<strong${_attr_class("
|
|
3262
|
+
_html(`<strong${_attr_class("_d3")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
|
|
3263
3263
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
3264
3264
|
return 0;
|
|
3265
3265
|
}
|
|
@@ -3267,7 +3267,7 @@ var usage_meters_default = _template("y", (input) => {
|
|
|
3267
3267
|
_if(() => {
|
|
3268
3268
|
if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
|
|
3269
3269
|
const $scope2_id = _scope_id();
|
|
3270
|
-
_html(`<span${_attr_class("
|
|
3270
|
+
_html(`<span${_attr_class("_dL")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
|
|
3271
3271
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
3272
3272
|
return 0;
|
|
3273
3273
|
}
|
|
@@ -3275,19 +3275,19 @@ var usage_meters_default = _template("y", (input) => {
|
|
|
3275
3275
|
_if(() => {
|
|
3276
3276
|
if (agent.stale_seconds != null) {
|
|
3277
3277
|
const $scope3_id = _scope_id();
|
|
3278
|
-
_html(`<span${_attr_class("
|
|
3278
|
+
_html(`<span${_attr_class("_dM")}${_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)}`);
|
|
3279
3279
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
3280
3280
|
return 0;
|
|
3281
3281
|
}
|
|
3282
3282
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
3283
|
-
_html(`</div><div${_attr_class(["
|
|
3283
|
+
_html(`</div><div${_attr_class(["_dN", { ["_d4"]: agent.stale_seconds != null }])}>`);
|
|
3284
3284
|
_for_of(agent.windows || [], (win) => {
|
|
3285
3285
|
const $scope4_id = _scope_id();
|
|
3286
3286
|
const pct = pctText(win.used_percent);
|
|
3287
3287
|
const label = resetLabel(win.resets_at, agent.stale_seconds != null);
|
|
3288
|
-
const fillClass = win.used_percent >= 90 ? "
|
|
3289
|
-
const pctClass = win.used_percent >= 90 ? "
|
|
3290
|
-
_html(`<div${_attr_class("
|
|
3288
|
+
const fillClass = win.used_percent >= 90 ? "_dW" : win.used_percent >= 70 ? "_dV" : win.used_percent >= 40 ? "_dU" : "_dT";
|
|
3289
|
+
const pctClass = win.used_percent >= 90 ? "_d1" : win.used_percent >= 70 ? "_d0" : win.used_percent >= 40 ? "_dZ" : "_dY";
|
|
3290
|
+
_html(`<div${_attr_class("_dP")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? ` — resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_dQ")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_dR")}><span${_attr_class(["_dS", 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(["_dX", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_d2")}>${label ? `↻ ${_escape(`${_to_text(label)}`)}` : ""}${_el_resume($scope4_id, "i", $sg__input_agent)}</span></div>${_el_resume($scope4_id, "a", $sg__input_agent)}`);
|
|
3291
3291
|
$si__input_agent && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
3292
3292
|
}, "window", $scope0_id, "g", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
3293
3293
|
_if(() => {
|
|
@@ -3307,6 +3307,23 @@ var usage_meters_default = _template("y", (input) => {
|
|
|
3307
3307
|
});
|
|
3308
3308
|
});
|
|
3309
3309
|
//#endregion
|
|
3310
|
+
//#region src/tags/icons/icon-plus.marko
|
|
3311
|
+
var icon_plus_default = _template("N", (input) => {
|
|
3312
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
3313
|
+
const $scope0_id = _scope_id();
|
|
3314
|
+
_set_serialize_reason({
|
|
3315
|
+
0: $sg__input_size__OR__input_class,
|
|
3316
|
+
1: $sg__input_size__OR__input_class
|
|
3317
|
+
});
|
|
3318
|
+
const $childScope = _peek_scope_id();
|
|
3319
|
+
icon_base_default({
|
|
3320
|
+
d: "M6 12H12M18 12H12M12 12V6M12 12V18",
|
|
3321
|
+
size: input.size,
|
|
3322
|
+
class: input.class
|
|
3323
|
+
});
|
|
3324
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
3325
|
+
});
|
|
3326
|
+
//#endregion
|
|
3310
3327
|
//#region src/tags/dialog-close.marko
|
|
3311
3328
|
var dialog_close_default = _template("c", (input) => {
|
|
3312
3329
|
const $scope0_reason = _scope_reason();
|
|
@@ -3329,7 +3346,7 @@ var modal_view_default = _template("l", (input) => {
|
|
|
3329
3346
|
const { label, class: inputClass, open: _open, openChange: _openChange, dismissable: _dismissable, content, footer, closedby: _closedby, onCancel: _onCancel, onClose: _onClose, "aria-label": inputAriaLabel, "aria-labelledby": inputLabelledBy, ...htmlInput } = input;
|
|
3330
3347
|
const dismissable = input.dismissable !== false;
|
|
3331
3348
|
let open = input.open;
|
|
3332
|
-
_html(`<dialog${_attr_class(["
|
|
3349
|
+
_html(`<dialog${_attr_class(["_fD", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
|
|
3333
3350
|
...htmlInput,
|
|
3334
3351
|
open: null
|
|
3335
3352
|
}, {
|
|
@@ -3339,20 +3356,20 @@ var modal_view_default = _template("l", (input) => {
|
|
|
3339
3356
|
closedby: 1,
|
|
3340
3357
|
"on-cancel": 1,
|
|
3341
3358
|
"on-close": 1
|
|
3342
|
-
}, "a", $scope0_id, "dialog")}><div${_attr_class("
|
|
3359
|
+
}, "a", $scope0_id, "dialog")}><div${_attr_class("_fE")}>`);
|
|
3343
3360
|
_dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
|
|
3344
3361
|
_html("</div>");
|
|
3345
3362
|
_if(() => {
|
|
3346
3363
|
if (footer) {
|
|
3347
3364
|
const $scope1_id = _scope_id();
|
|
3348
|
-
_html(`<form method=dialog${_attr_class("
|
|
3365
|
+
_html(`<form method=dialog${_attr_class("_fF")}>`);
|
|
3349
3366
|
_dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
|
|
3350
3367
|
_html("</form>");
|
|
3351
3368
|
$si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
|
|
3352
3369
|
return 0;
|
|
3353
3370
|
} else if (input.openChange) {
|
|
3354
3371
|
const $scope2_id = _scope_id();
|
|
3355
|
-
_html(`<form method=dialog${_attr_class("
|
|
3372
|
+
_html(`<form method=dialog${_attr_class("_fF")}>`);
|
|
3356
3373
|
dialog_close_default({
|
|
3357
3374
|
class: ["_i", "_j"],
|
|
3358
3375
|
content: _content("l0", () => {
|
|
@@ -3411,7 +3428,7 @@ var prompt_dialog_default = _template("p", (input) => {
|
|
|
3411
3428
|
const $childScope = _peek_scope_id();
|
|
3412
3429
|
modal_view_default({
|
|
3413
3430
|
label: input.label,
|
|
3414
|
-
class: "
|
|
3431
|
+
class: "_d5",
|
|
3415
3432
|
open: input.open,
|
|
3416
3433
|
openChange: input.openChange,
|
|
3417
3434
|
"aria-labelledby": titleId,
|
|
@@ -3434,7 +3451,7 @@ var prompt_dialog_default = _template("p", (input) => {
|
|
|
3434
3451
|
content: _content("p6", () => {
|
|
3435
3452
|
_scope_reason();
|
|
3436
3453
|
const $scope2_id = _scope_id();
|
|
3437
|
-
_html(`<h2${_attr_class("
|
|
3454
|
+
_html(`<h2${_attr_class("_d6")}${_attr("id", titleId)}>${_escape(input.label)}${_el_resume($scope2_id, "b", $sg__input_label)}</h2><input${_attr_input_value($scope2_id, "c", value, _resume((_new_value) => {
|
|
3438
3455
|
value = _new_value;
|
|
3439
3456
|
}, "p0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
|
|
3440
3457
|
_script($scope2_id, "p4");
|
|
@@ -3670,7 +3687,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3670
3687
|
const strayAccountsFor = _resume((f) => (usage?.agents || []).filter((u) => !instanceIds.has(u.agent) && familyOf(u.agent, families) === f.id), "r16", $scope0_id);
|
|
3671
3688
|
const otherUsage = (usage?.agents || []).filter((u) => familyOf(u.agent, families) === null);
|
|
3672
3689
|
const titleId = _id();
|
|
3673
|
-
_html(`<div${_attr_class("
|
|
3690
|
+
_html(`<div${_attr_class("_be")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bf")}><div${_attr_class(content$2)}>`);
|
|
3674
3691
|
_set_serialize_reason({
|
|
3675
3692
|
0: $sg__input_onExit,
|
|
3676
3693
|
1: $sg__input_onExit,
|
|
@@ -3692,12 +3709,12 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3692
3709
|
return 0;
|
|
3693
3710
|
} else if (setup.ready) {
|
|
3694
3711
|
const $scope43_id = _scope_id();
|
|
3695
|
-
_html(`<span${_attr_class("
|
|
3712
|
+
_html(`<span${_attr_class("_b4")}>Ready</span> — tools, GitHub, and an agent are all in place.`);
|
|
3696
3713
|
writeScope($scope43_id, {});
|
|
3697
3714
|
return 1;
|
|
3698
3715
|
} else {
|
|
3699
3716
|
const $scope5_id = _scope_id();
|
|
3700
|
-
_html(`<span${_attr_class("
|
|
3717
|
+
_html(`<span${_attr_class("_b5")}>Not ready</span> — missing <!>${_escape(setup.missing.map((m) => MISSING_LABEL[m] || m).join(", "))}${_el_resume($scope5_id, "b")}.`);
|
|
3701
3718
|
_subscribe($setup_missing__closures, writeScope($scope5_id, {}));
|
|
3702
3719
|
return 2;
|
|
3703
3720
|
}
|
|
@@ -3744,11 +3761,11 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3744
3761
|
return 0;
|
|
3745
3762
|
}
|
|
3746
3763
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
3747
|
-
_html(`<section${_attr_class("
|
|
3764
|
+
_html(`<section${_attr_class("_bo")} aria-labelledby=settings-agents><div${_attr_class("_bp")}><h2 id=settings-agents${_attr_class("_bD")}>Agents</h2><div${_attr_class("_s")}></div><label${_attr_class("_b8")}><span${_attr_class("_M")}>Default</span><span${_attr_class("_g")}>`);
|
|
3748
3765
|
_attr_select_value($scope0_id, "m", input.preferred, _resume(function(v) {
|
|
3749
3766
|
setPreferred(v);
|
|
3750
3767
|
}, "r0", $scope0_id), () => {
|
|
3751
|
-
_html(`<select${_attr_class(["_h", "
|
|
3768
|
+
_html(`<select${_attr_class(["_h", "_b9"])} aria-label="Default agent — starts when a workspace has no session yet" title="Starts when a workspace has no session yet">`);
|
|
3752
3769
|
_for_of(input.agents.filter((a) => a !== "shell"), (id) => {
|
|
3753
3770
|
const $scope44_id = _scope_id();
|
|
3754
3771
|
_html(`<option${_attr_option_value(id)}>${_escape(agentLabel(id))}${_el_resume($scope44_id, "b", $sg__input_agents)}</option>${_el_resume($scope44_id, "a", $sg__input_agents)}`);
|
|
@@ -3769,14 +3786,14 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3769
3786
|
const rows = lone ? [] : a.instances;
|
|
3770
3787
|
const loneAccounts = lone && lone.enabled ? accountsFor(lone.id) : [];
|
|
3771
3788
|
const extraAccounts = a.installed ? strayAccountsFor(a) : [];
|
|
3772
|
-
_html(`<li${_attr_class(["
|
|
3789
|
+
_html(`<li${_attr_class(["_bt", "_b7"])}><div${_attr_class(["_b_", { ["_cc"]: lone && !lone.enabled }])}>`);
|
|
3773
3790
|
_set_serialize_reason(12);
|
|
3774
3791
|
const $childScope4 = _peek_scope_id();
|
|
3775
3792
|
icon_agent_default({
|
|
3776
3793
|
agent: a.id,
|
|
3777
3794
|
size: 18
|
|
3778
3795
|
});
|
|
3779
|
-
_html(`<div${_attr_class("
|
|
3796
|
+
_html(`<div${_attr_class("_bu")}><span${_attr_class("_bw")}><span${_attr_class("_bv")}>${_escape(a.label)}${_el_resume($scope1_id, "g")}</span>`);
|
|
3780
3797
|
_if(() => {
|
|
3781
3798
|
if (lone && input.preferred === lone.id) {
|
|
3782
3799
|
const $scope45_id = _scope_id();
|
|
@@ -3789,12 +3806,12 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3789
3806
|
_if(() => {
|
|
3790
3807
|
if (active.has(a.id)) {
|
|
3791
3808
|
const $scope10_id = _scope_id();
|
|
3792
|
-
_html(`<span${_attr_class("
|
|
3809
|
+
_html(`<span${_attr_class("_b3")}><span${_attr_class("_z")}></span><!>${_escape(active.get(a.id) || "Starting…")}${_el_resume($scope10_id, "c")}</span>`);
|
|
3793
3810
|
_subscribe($active__closures, writeScope($scope10_id, {}));
|
|
3794
3811
|
return 0;
|
|
3795
3812
|
} else if (!a.installed) {
|
|
3796
3813
|
const $scope46_id = _scope_id();
|
|
3797
|
-
_html(`<span${_attr_class("
|
|
3814
|
+
_html(`<span${_attr_class("_bx")}>Not installed</span>`);
|
|
3798
3815
|
writeScope($scope46_id, {});
|
|
3799
3816
|
return 1;
|
|
3800
3817
|
}
|
|
@@ -3816,7 +3833,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3816
3833
|
"_C",
|
|
3817
3834
|
"_E",
|
|
3818
3835
|
{ [tone.ok]: lone.enabled }
|
|
3819
|
-
])} role=switch aria-checked=${lone.enabled ? "true" : "false"} title=${lone.enabled ? "\"Shown in session pickers —
|
|
3836
|
+
])} role=switch aria-checked=${lone.enabled ? "true" : "false"} title=${lone.enabled ? "\"Shown in session pickers — hide\"" : "\"Hidden from session pickers — show\""}>${lone.enabled ? "on" : "off"}${_el_resume($scope39_id, "b")}</button>${_el_resume($scope39_id, "a")}`);
|
|
3820
3837
|
_script($scope39_id, "r26");
|
|
3821
3838
|
writeScope($scope39_id, {});
|
|
3822
3839
|
return 0;
|
|
@@ -3826,18 +3843,18 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3826
3843
|
_if(() => {
|
|
3827
3844
|
if (rows.length || loneAccounts.length || extraAccounts.length) {
|
|
3828
3845
|
const $scope2_id = _scope_id();
|
|
3829
|
-
_html(`<ul${_attr_class("
|
|
3846
|
+
_html(`<ul${_attr_class("_ce")}>`);
|
|
3830
3847
|
_for_of(rows, (inst) => {
|
|
3831
3848
|
const $scope3_id = _scope_id();
|
|
3832
3849
|
const accounts = inst.enabled ? accountsFor(inst.id) : [];
|
|
3833
|
-
_html(`<li${_attr_class("
|
|
3850
|
+
_html(`<li${_attr_class("_ca")}><div${_attr_class(["_cb", { ["_cc"]: !inst.enabled }])}>`);
|
|
3834
3851
|
_set_serialize_reason(12);
|
|
3835
3852
|
const $childScope5 = _peek_scope_id();
|
|
3836
3853
|
icon_agent_default({
|
|
3837
3854
|
agent: inst.id,
|
|
3838
3855
|
size: 15
|
|
3839
3856
|
});
|
|
3840
|
-
_html(`<span${_attr_class(["
|
|
3857
|
+
_html(`<span${_attr_class(["_cd", "_r"])}>${_escape(inst.command)}${_el_resume($scope3_id, "e")}</span>`);
|
|
3841
3858
|
_if(() => {
|
|
3842
3859
|
if (input.preferred === inst.id) {
|
|
3843
3860
|
const $scope47_id = _scope_id();
|
|
@@ -3850,7 +3867,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3850
3867
|
"_C",
|
|
3851
3868
|
"_E",
|
|
3852
3869
|
{ [tone.ok]: inst.enabled }
|
|
3853
|
-
])} role=switch aria-checked=${inst.enabled ? "true" : "false"} title=${inst.enabled ? "\"Shown in session pickers —
|
|
3870
|
+
])} role=switch aria-checked=${inst.enabled ? "true" : "false"} title=${inst.enabled ? "\"Shown in session pickers — hide\"" : "\"Hidden from session pickers — show\""}>${inst.enabled ? "on" : "off"}${_el_resume($scope3_id, "i")}</button>${_el_resume($scope3_id, "h")}</div>${_el_resume($scope3_id, "b")}`);
|
|
3854
3871
|
_for_of(accounts, (u) => {
|
|
3855
3872
|
const $scope48_id = _scope_id();
|
|
3856
3873
|
_set_serialize_reason(6);
|
|
@@ -3912,7 +3929,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3912
3929
|
}, "id", $scope0_id, "q", 1, 1, 1, 0, 1);
|
|
3913
3930
|
_for_of(otherUsage, (u) => {
|
|
3914
3931
|
const $scope51_id = _scope_id();
|
|
3915
|
-
_html(`<li${_attr_class(["
|
|
3932
|
+
_html(`<li${_attr_class(["_bt", "_b7"])}>`);
|
|
3916
3933
|
_set_serialize_reason(6);
|
|
3917
3934
|
const $childScope9 = _peek_scope_id();
|
|
3918
3935
|
usage_meters_default({ agent: u });
|
|
@@ -3923,21 +3940,21 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3923
3940
|
_if(() => {
|
|
3924
3941
|
if (!usage && families.length) {
|
|
3925
3942
|
const $scope52_id = _scope_id();
|
|
3926
|
-
_html(`<p${_attr_class("
|
|
3943
|
+
_html(`<p${_attr_class("_bz")}><span${_attr_class("_z")}></span> Loading usage…</p>`);
|
|
3927
3944
|
writeScope($scope52_id, {});
|
|
3928
3945
|
return 0;
|
|
3929
3946
|
} else if (usage?.error) {
|
|
3930
3947
|
const $scope6_id = _scope_id();
|
|
3931
|
-
_html(`<p${_attr_class("
|
|
3948
|
+
_html(`<p${_attr_class("_bz")}>${_escape(usage.error)}${_el_resume($scope6_id, "b")}</p>`);
|
|
3932
3949
|
writeScope($scope6_id, {});
|
|
3933
3950
|
return 1;
|
|
3934
3951
|
}
|
|
3935
3952
|
}, $scope0_id, "s", 1, 1, 1, 0, 1);
|
|
3936
|
-
_html(`</section><section${_attr_class("
|
|
3953
|
+
_html(`</section><section${_attr_class("_bo")} aria-labelledby=settings-github><div${_attr_class("_bp")}><h2 id=settings-github${_attr_class("_bD")}>GitHub</h2></div><ul${_attr_class("_br")}>`);
|
|
3937
3954
|
_for_of(setup?.github || [], (h) => {
|
|
3938
3955
|
const $scope11_id = _scope_id();
|
|
3939
3956
|
const $for_content3__h_host__closures = /* @__PURE__ */ new Set();
|
|
3940
|
-
_html(`<li${_attr_class("
|
|
3957
|
+
_html(`<li${_attr_class("_bt")}><div${_attr_class("_bu")}><span${_attr_class("_bw")}><span${_attr_class(["_bv", "_r"])}>${_escape(h.host)}${_el_resume($scope11_id, "e")}</span>`);
|
|
3941
3958
|
_if(() => {
|
|
3942
3959
|
if (h.isEnterprise) {
|
|
3943
3960
|
const $scope55_id = _scope_id();
|
|
@@ -3950,22 +3967,22 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3950
3967
|
_if(() => {
|
|
3951
3968
|
if (active.has(h.host) && authCodes.has(h.host)) {
|
|
3952
3969
|
const $scope22_id = _scope_id();
|
|
3953
|
-
_html(`<span${_attr_class("
|
|
3970
|
+
_html(`<span${_attr_class("_b3")}><span${_attr_class("_z")}></span> Enter code <strong${_attr_class("_cm")}>${_escape(authCodes.get(h.host))}${_el_resume($scope22_id, "d")}</strong> at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_cn")}>${_escape(h.host)}${_el_resume($scope22_id, "f")}/login/device</a>${_el_resume($scope22_id, "e")}</span>`);
|
|
3954
3971
|
_subscribe($authCodes__closures, writeScope($scope22_id, {}));
|
|
3955
3972
|
return 0;
|
|
3956
3973
|
} else if (active.has(h.host)) {
|
|
3957
3974
|
const $scope12_id = _scope_id();
|
|
3958
|
-
_html(`<span${_attr_class("
|
|
3975
|
+
_html(`<span${_attr_class("_b3")}><span${_attr_class("_z")}></span><!>${_escape(active.get(h.host) || "Starting…")}${_el_resume($scope12_id, "c")}</span>`);
|
|
3959
3976
|
_subscribe($active__closures, writeScope($scope12_id, { Ccg: 1 }));
|
|
3960
3977
|
return 1;
|
|
3961
3978
|
} else if (h.authed) {
|
|
3962
3979
|
const $scope53_id = _scope_id();
|
|
3963
|
-
_html(`<span${_attr_class("
|
|
3980
|
+
_html(`<span${_attr_class("_bx")}>Signed in<!>${h.user ? ` as ${_escape(`${_to_text(h.user)}`)}` : ""}${_el_resume($scope53_id, "b")}</span>`);
|
|
3964
3981
|
writeScope($scope53_id, {});
|
|
3965
3982
|
return 2;
|
|
3966
3983
|
} else {
|
|
3967
3984
|
const $scope54_id = _scope_id();
|
|
3968
|
-
_html(`<span${_attr_class("
|
|
3985
|
+
_html(`<span${_attr_class("_bx")}>${_escape(h.error || "Not signed in")}${_el_resume($scope54_id, "b")}</span>`);
|
|
3969
3986
|
writeScope($scope54_id, {});
|
|
3970
3987
|
return 3;
|
|
3971
3988
|
}
|
|
@@ -3986,7 +4003,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3986
4003
|
_html(`<button${_attr_class([btnSm, {
|
|
3987
4004
|
["_l"]: confirmingRemove === `out:${h.host}`,
|
|
3988
4005
|
["_k"]: confirmingRemove === `out:${h.host}`
|
|
3989
|
-
}])}${confirmingRemove === `out:${h.host}` ? _attr("title", `
|
|
4006
|
+
}])}${confirmingRemove === `out:${h.host}` ? _attr("title", `Sign out of ${h.host}?`) : _attr("title", `Sign out of ${h.host}`)}>${confirmingRemove === `out:${h.host}` ? "Sign out?" : "Sign out"}${_el_resume($scope24_id, "b")}</button>${_el_resume($scope24_id, "a")}`);
|
|
3990
4007
|
_script($scope24_id, "r29");
|
|
3991
4008
|
_subscribe($for_content3__h_host__closures, _subscribe($confirmingRemove__closures, writeScope($scope24_id, {})));
|
|
3992
4009
|
return 1;
|
|
@@ -3996,8 +4013,8 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3996
4013
|
if (h.isEnterprise) {
|
|
3997
4014
|
const $scope25_id = _scope_id();
|
|
3998
4015
|
_html(`<button${_attr_class([
|
|
3999
|
-
"
|
|
4000
|
-
"
|
|
4016
|
+
"_by",
|
|
4017
|
+
"_W",
|
|
4001
4018
|
{ ["_k"]: confirmingRemove === h.host }
|
|
4002
4019
|
])}${confirmingRemove === h.host ? _attr("title", `Forget ${h.host}? (gh stays signed in)`) : _attr("title", `Forget ${h.host}`)}>${confirmingRemove === h.host ? "Forget?" : "×"}${_el_resume($scope25_id, "b")}</button>${_el_resume($scope25_id, "a")}`);
|
|
4003
4020
|
_script($scope25_id, "r30");
|
|
@@ -4025,7 +4042,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4025
4042
|
_if(() => {
|
|
4026
4043
|
if (setup && !setup.github.length) {
|
|
4027
4044
|
const $scope56_id = _scope_id();
|
|
4028
|
-
_html(`<p${_attr_class("
|
|
4045
|
+
_html(`<p${_attr_class("_bz")}>Install the GitHub CLI below to sign in.</p>`);
|
|
4029
4046
|
writeScope($scope56_id, {});
|
|
4030
4047
|
return 0;
|
|
4031
4048
|
}
|
|
@@ -4033,13 +4050,18 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4033
4050
|
_if(() => {
|
|
4034
4051
|
if (setup) {
|
|
4035
4052
|
const $scope33_id = _scope_id();
|
|
4036
|
-
_html(`<form${_attr_class("
|
|
4053
|
+
_html(`<form${_attr_class("_cl")}><label${_attr_class("_Q")}>`);
|
|
4054
|
+
icon_plus_default({
|
|
4055
|
+
size: 14,
|
|
4056
|
+
class: "_R"
|
|
4057
|
+
});
|
|
4058
|
+
_html(`<input${_attr_input_value($scope33_id, "d", hostInput)}${_attr_class([inputLg, "_S"])} type=text placeholder="Add a GitHub Enterprise host, e.g. github.example.com" aria-label="GitHub Enterprise host" autocomplete=off spellcheck=false>${_el_resume($scope33_id, "d")}</label><button${_attr_class(btnSm)} type=submit${_attr("disabled", !hostInput.trim() || hostBusy)}>${hostBusy ? "Adding…" : "Add host"}${_el_resume($scope33_id, "f")}</button>${_el_resume($scope33_id, "e")}</form>${_el_resume($scope33_id, "a")}`);
|
|
4037
4059
|
_script($scope33_id, "r31");
|
|
4038
4060
|
writeScope($scope33_id, {});
|
|
4039
4061
|
return 0;
|
|
4040
4062
|
}
|
|
4041
4063
|
}, $scope0_id, "y", 1, 1, 1, 0, 1);
|
|
4042
|
-
_html(`</section><section${_attr_class("
|
|
4064
|
+
_html(`</section><section${_attr_class("_bo")} aria-labelledby=settings-machine><div${_attr_class("_bp")}><h2 id=settings-machine${_attr_class("_bD")}>Machine</h2>`);
|
|
4043
4065
|
_if(() => {
|
|
4044
4066
|
if (missingCount) {
|
|
4045
4067
|
const $scope40_id = _scope_id();
|
|
@@ -4079,7 +4101,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4079
4101
|
_if(() => {
|
|
4080
4102
|
if (setup && !setup.mise.installed) {
|
|
4081
4103
|
const $scope15_id = _scope_id();
|
|
4082
|
-
_html(`<p${_attr_class("
|
|
4104
|
+
_html(`<p${_attr_class("_bz")}>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>`);
|
|
4083
4105
|
_script($scope15_id, "r34");
|
|
4084
4106
|
writeScope($scope15_id, {});
|
|
4085
4107
|
return 0;
|
|
@@ -4093,11 +4115,11 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4093
4115
|
const $for_content4__t_path__closures = /* @__PURE__ */ new Set();
|
|
4094
4116
|
const $for_content4__t_latest__closures = /* @__PURE__ */ new Set();
|
|
4095
4117
|
const $for_content4__t_id__closures = /* @__PURE__ */ new Set();
|
|
4096
|
-
_html(`<li${_attr_class([row, { ["
|
|
4118
|
+
_html(`<li${_attr_class([row, { ["_cg"]: !t.installed }])}><span${_attr_class(["_ch", "_r"])}>${_escape(t.label)}${_el_resume($scope16_id, "c")}</span>`);
|
|
4097
4119
|
_if(() => {
|
|
4098
4120
|
if (active.has(t.id)) {
|
|
4099
4121
|
const $scope17_id = _scope_id();
|
|
4100
|
-
_html(`<span${_attr_class("
|
|
4122
|
+
_html(`<span${_attr_class("_b3")}><span${_attr_class("_z")}></span><!>${_escape(active.get(t.id) || "Starting…")}${_el_resume($scope17_id, "c")}</span>`);
|
|
4101
4123
|
_subscribe($active__closures, writeScope($scope17_id, { Ccg: 2 }));
|
|
4102
4124
|
return 0;
|
|
4103
4125
|
} else if (t.installed) {
|
|
@@ -4105,7 +4127,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4105
4127
|
_if(() => {
|
|
4106
4128
|
if (t.version) {
|
|
4107
4129
|
const $scope30_id = _scope_id();
|
|
4108
|
-
_html(`<button${_attr_class(["
|
|
4130
|
+
_html(`<button${_attr_class(["_ci", "_r"])}${_attr("title", `${t.path || t.label} — pin a version`)}>v<!>${_escape(t.version)}${_el_resume($scope30_id, "b")}</button>${_el_resume($scope30_id, "a")}`);
|
|
4109
4131
|
_script($scope30_id, "r35");
|
|
4110
4132
|
_subscribe($for_content4__t_path__closures, _subscribe($for_content4__t_version__closures, _subscribe($for_content4__t_label__closures, writeScope($scope30_id, { Cu: 1 }))));
|
|
4111
4133
|
return 0;
|
|
@@ -4119,7 +4141,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4119
4141
|
_if(() => {
|
|
4120
4142
|
if (outdated(t)) {
|
|
4121
4143
|
const $scope37_id = _scope_id();
|
|
4122
|
-
_html(`<button${_attr_class([btnSm, "
|
|
4144
|
+
_html(`<button${_attr_class([btnSm, "_cj"])}${_attr("title", `Update to v${t.latest}`)}>↑ <!>${_escape(t.latest)}${_el_resume($scope37_id, "b")}</button>${_el_resume($scope37_id, "a")}`);
|
|
4123
4145
|
_script($scope37_id, "r36");
|
|
4124
4146
|
_subscribe($for_content4__t_latest__closures, writeScope($scope37_id, {}));
|
|
4125
4147
|
return 0;
|
|
@@ -4134,7 +4156,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4134
4156
|
return 2;
|
|
4135
4157
|
} else {
|
|
4136
4158
|
const $scope59_id = _scope_id();
|
|
4137
|
-
_html(`<span${_attr_class(metaTrunc)} title="
|
|
4159
|
+
_html(`<span${_attr_class(metaTrunc)} title="Installed with the system package manager">system package</span>`);
|
|
4138
4160
|
writeScope($scope59_id, {});
|
|
4139
4161
|
return 3;
|
|
4140
4162
|
}
|
|
@@ -4162,9 +4184,9 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4162
4184
|
const $scope27_id = _scope_id();
|
|
4163
4185
|
_html(`<button${_attr_class([
|
|
4164
4186
|
iconBtnXs,
|
|
4165
|
-
"
|
|
4187
|
+
"_W",
|
|
4166
4188
|
{ ["_k"]: confirmingRemove === t.id }
|
|
4167
|
-
])}${confirmingRemove === t.id ? _attr("title", `
|
|
4189
|
+
])}${confirmingRemove === t.id ? _attr("title", `Remove ${t.label}?`) : _attr("title", `Remove ${t.label}`)}>${confirmingRemove === t.id ? "Remove?" : "×"}${_el_resume($scope27_id, "b")}</button>${_el_resume($scope27_id, "a")}`);
|
|
4168
4190
|
_script($scope27_id, "r38");
|
|
4169
4191
|
_subscribe($for_content4__t_id__closures, _subscribe($for_content4__t_label__closures, _subscribe($confirmingRemove__closures, writeScope($scope27_id, { Ccj: 2 }))));
|
|
4170
4192
|
return 1;
|
|
@@ -4195,23 +4217,28 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4195
4217
|
_if(() => {
|
|
4196
4218
|
if (setup && setup.mise.installed) {
|
|
4197
4219
|
const $scope18_id = _scope_id();
|
|
4198
|
-
_html(`<div><
|
|
4220
|
+
_html(`<div><label${_attr_class("_Q")}>`);
|
|
4221
|
+
icon_search_default({
|
|
4222
|
+
size: 14,
|
|
4223
|
+
class: "_R"
|
|
4224
|
+
});
|
|
4225
|
+
_html(`<input${_attr_input_value($scope18_id, "c", query)}${_attr_class([inputLg, "_S"])} type=text placeholder="Add a tool from the mise registry…" aria-label="Search the mise registry" autocomplete=off>${_el_resume($scope18_id, "c")}</label>`);
|
|
4199
4226
|
_if(() => {
|
|
4200
4227
|
if (hits && hits.length) {
|
|
4201
4228
|
const $scope19_id = _scope_id();
|
|
4202
|
-
_html(`<ul${_attr_class([toolGrid, "
|
|
4229
|
+
_html(`<ul${_attr_class([toolGrid, "_ck"])}>`);
|
|
4203
4230
|
_for_of(hits, (h) => {
|
|
4204
4231
|
const $scope20_id = _scope_id();
|
|
4205
|
-
_html(`<li${_attr_class(row)}><div${_attr_class("
|
|
4232
|
+
_html(`<li${_attr_class(row)}><div${_attr_class("_bu")}><span${_attr_class(["_ch", "_r"])}>${_escape(h.name)}${_el_resume($scope20_id, "d")}</span>`);
|
|
4206
4233
|
_if(() => {
|
|
4207
4234
|
if (active.has(h.name)) {
|
|
4208
4235
|
const $scope21_id = _scope_id();
|
|
4209
|
-
_html(`<span${_attr_class("
|
|
4236
|
+
_html(`<span${_attr_class("_b3")}><span${_attr_class("_z")}></span><!>${_escape(active.get(h.name) || "Starting…")}${_el_resume($scope21_id, "c")}</span>`);
|
|
4210
4237
|
_subscribe($active__closures, writeScope($scope21_id, { Ccg: 4 }));
|
|
4211
4238
|
return 0;
|
|
4212
4239
|
} else if (h.description) {
|
|
4213
4240
|
const $scope61_id = _scope_id();
|
|
4214
|
-
_html(`<span${_attr_class("
|
|
4241
|
+
_html(`<span${_attr_class("_bx")}${_attr("title", h.description)}>${_escape(h.description)}${_el_resume($scope61_id, "b")}</span>${_el_resume($scope61_id, "a")}`);
|
|
4215
4242
|
writeScope($scope61_id, {});
|
|
4216
4243
|
return 1;
|
|
4217
4244
|
}
|
|
@@ -4250,11 +4277,11 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4250
4277
|
return 0;
|
|
4251
4278
|
} else if (hits && !searching) {
|
|
4252
4279
|
const $scope34_id = _scope_id();
|
|
4253
|
-
_html(`<p${_attr_class("
|
|
4280
|
+
_html(`<p${_attr_class("_bz")}>No tools match "<!>${_escape(query)}${_el_resume($scope34_id, "b")}".</p>`);
|
|
4254
4281
|
_subscribe($query__closures, writeScope($scope34_id, {}));
|
|
4255
4282
|
return 1;
|
|
4256
4283
|
}
|
|
4257
|
-
}, $scope18_id, "
|
|
4284
|
+
}, $scope18_id, "d", 1, 1, 1, 0, 1);
|
|
4258
4285
|
_html("</div>");
|
|
4259
4286
|
_script($scope18_id, "r40");
|
|
4260
4287
|
writeScope($scope18_id, {});
|
|
@@ -4356,31 +4383,14 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4356
4383
|
});
|
|
4357
4384
|
//#endregion
|
|
4358
4385
|
//#region src/tags/new-workspace.css.ts
|
|
4359
|
-
var content$1 = "
|
|
4360
|
-
var section$1 = "
|
|
4361
|
-
var curBase = "
|
|
4362
|
-
var archived = "
|
|
4363
|
-
var archivedHint = "
|
|
4364
|
-
var archivedCard = "
|
|
4365
|
-
var resultBranch = "
|
|
4366
|
-
var branchInput = "
|
|
4367
|
-
//#endregion
|
|
4368
|
-
//#region src/tags/icons/icon-plus.marko
|
|
4369
|
-
var icon_plus_default = _template("N", (input) => {
|
|
4370
|
-
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
4371
|
-
const $scope0_id = _scope_id();
|
|
4372
|
-
_set_serialize_reason({
|
|
4373
|
-
0: $sg__input_size__OR__input_class,
|
|
4374
|
-
1: $sg__input_size__OR__input_class
|
|
4375
|
-
});
|
|
4376
|
-
const $childScope = _peek_scope_id();
|
|
4377
|
-
icon_base_default({
|
|
4378
|
-
d: "M6 12H12M18 12H12M12 12V6M12 12V18",
|
|
4379
|
-
size: input.size,
|
|
4380
|
-
class: input.class
|
|
4381
|
-
});
|
|
4382
|
-
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
4383
|
-
});
|
|
4386
|
+
var content$1 = "_bE _bg";
|
|
4387
|
+
var section$1 = "_bI _bo";
|
|
4388
|
+
var curBase = "_bM _N _M";
|
|
4389
|
+
var archived = "_bQ _bo";
|
|
4390
|
+
var archivedHint = "_bR _M";
|
|
4391
|
+
var archivedCard = "_bS _bt";
|
|
4392
|
+
var resultBranch = "_cv _T _d";
|
|
4393
|
+
var branchInput = "_cA _P _O";
|
|
4384
4394
|
//#endregion
|
|
4385
4395
|
//#region src/tags/repo-picker.marko
|
|
4386
4396
|
var api$5;
|
|
@@ -4430,38 +4440,43 @@ var repo_picker_default = _template("q", (input) => {
|
|
|
4430
4440
|
input.onError?.(String(err.message || err));
|
|
4431
4441
|
}
|
|
4432
4442
|
}, "q5", $scope0_id);
|
|
4433
|
-
_html(`<div${_attr_class("
|
|
4443
|
+
_html(`<div${_attr_class("_cp")}><label${_attr_class("_Q")}>`);
|
|
4444
|
+
icon_search_default({
|
|
4445
|
+
size: 14,
|
|
4446
|
+
class: "_R"
|
|
4447
|
+
});
|
|
4448
|
+
_html(`<input${_attr_input_value($scope0_id, "d", filter, _resume(function(v) {
|
|
4434
4449
|
filter = v;
|
|
4435
4450
|
highlight = 0;
|
|
4436
|
-
}, "q0", $scope0_id))}${_attr_class(inputLg)} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input.disabled)}>${_el_resume($scope0_id, "
|
|
4451
|
+
}, "q0", $scope0_id))}${_attr_class([inputLg, "_S"])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input.disabled)}>${_el_resume($scope0_id, "d")}</label>`);
|
|
4437
4452
|
_if(() => {
|
|
4438
4453
|
if (filter && !catalog) {
|
|
4439
4454
|
const $scope8_id = _scope_id();
|
|
4440
|
-
_html(`<p${_attr_class("
|
|
4455
|
+
_html(`<p${_attr_class("_bz")}>Loading repos…</p>`);
|
|
4441
4456
|
writeScope($scope8_id, {});
|
|
4442
4457
|
return 0;
|
|
4443
4458
|
}
|
|
4444
|
-
}, $scope0_id, "
|
|
4459
|
+
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
4445
4460
|
_if(() => {
|
|
4446
4461
|
if (results.length) {
|
|
4447
4462
|
const $scope2_id = _scope_id();
|
|
4448
|
-
_html(`<ul${_attr_class("
|
|
4463
|
+
_html(`<ul${_attr_class("_cq")}>`);
|
|
4449
4464
|
_for_of(results, (repo, i) => {
|
|
4450
4465
|
const $scope3_id = _scope_id();
|
|
4451
|
-
_html(`<li><div${_attr_class(["
|
|
4466
|
+
_html(`<li><div${_attr_class(["_cs", { ["_cr"]: i === highlight }])}><button${_attr_class("_ct")}>`);
|
|
4452
4467
|
icon_plus_default({
|
|
4453
4468
|
size: 12,
|
|
4454
|
-
class: "
|
|
4469
|
+
class: "_cy"
|
|
4455
4470
|
});
|
|
4456
|
-
_html(`<span${_attr_class("
|
|
4471
|
+
_html(`<span${_attr_class("_cz")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope3_id, "e")}</span></button>${_el_resume($scope3_id, "b")}<button${_attr_class([resultBranch, { ["_cu"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>⎇</button>${_el_resume($scope3_id, "f")}</div>${_el_resume($scope3_id, "a")}`);
|
|
4457
4472
|
_if(() => {
|
|
4458
4473
|
if (branchesFor === repo.nameWithOwner) {
|
|
4459
4474
|
const $scope4_id = _scope_id();
|
|
4460
|
-
_html(`<div${_attr_class("
|
|
4475
|
+
_html(`<div${_attr_class("_cw")}>`);
|
|
4461
4476
|
_if(() => {
|
|
4462
4477
|
if (!branches) {
|
|
4463
4478
|
const $scope9_id = _scope_id();
|
|
4464
|
-
_html(`<p${_attr_class("
|
|
4479
|
+
_html(`<p${_attr_class("_bz")}><span${_attr_class("_z")}></span> Loading branches…</p>`);
|
|
4465
4480
|
writeScope($scope9_id, {});
|
|
4466
4481
|
return 0;
|
|
4467
4482
|
} else {
|
|
@@ -4473,28 +4488,28 @@ var repo_picker_default = _template("q", (input) => {
|
|
|
4473
4488
|
branchFilter = _new_branchFilter;
|
|
4474
4489
|
}, "q1", $scope6_id))}${_attr_class(branchInput)} placeholder="Filter branches…" aria-label="Filter branches" autofocus>${_el_resume($scope6_id, "a")}`);
|
|
4475
4490
|
_script($scope6_id, "q6");
|
|
4476
|
-
_subscribe($branchFilter__closures, writeScope($scope6_id, {
|
|
4491
|
+
_subscribe($branchFilter__closures, writeScope($scope6_id, { Cab: 1 }));
|
|
4477
4492
|
return 0;
|
|
4478
4493
|
}
|
|
4479
4494
|
}, $scope5_id, "a", 1, 1, 1, 0, 1);
|
|
4480
4495
|
const shown = (branchFilter ? branches.filter((b) => b.toLowerCase().includes(branchFilter.toLowerCase())) : branches).slice(0, 12);
|
|
4481
|
-
_html(`<ul${_attr_class("
|
|
4496
|
+
_html(`<ul${_attr_class("_cx")}>`);
|
|
4482
4497
|
_for_of(shown, (branch) => {
|
|
4483
4498
|
const $scope7_id = _scope_id();
|
|
4484
|
-
_html(`<li><button${_attr_class(["
|
|
4499
|
+
_html(`<li><button${_attr_class(["_ct", "_cB"])}><span${_attr_class(["_cz", "_r"])}>${_escape(branch)}${_el_resume($scope7_id, "c")}</span></button>${_el_resume($scope7_id, "a")}</li>`);
|
|
4485
4500
|
_script($scope7_id, "q7");
|
|
4486
4501
|
writeScope($scope7_id, { e: branch });
|
|
4487
4502
|
}, (b) => b, $scope5_id, "c", 1, 1, 1, 0, 1);
|
|
4488
4503
|
_if(() => {
|
|
4489
4504
|
if (!shown.length) {
|
|
4490
4505
|
const $scope10_id = _scope_id();
|
|
4491
|
-
_html(`<li><p${_attr_class("
|
|
4506
|
+
_html(`<li><p${_attr_class("_bz")}>No branches match.</p></li>`);
|
|
4492
4507
|
writeScope($scope10_id, {});
|
|
4493
4508
|
return 0;
|
|
4494
4509
|
}
|
|
4495
4510
|
}, $scope5_id, "d", 1, 1, 1, 0, 1);
|
|
4496
4511
|
_html("</ul>");
|
|
4497
|
-
_subscribe($branchFilter__closures, _subscribe($branches_length__closures, _subscribe($branches__closures, writeScope($scope5_id, {
|
|
4512
|
+
_subscribe($branchFilter__closures, _subscribe($branches_length__closures, _subscribe($branches__closures, writeScope($scope5_id, { Ca9: 1 }))));
|
|
4498
4513
|
return 1;
|
|
4499
4514
|
}
|
|
4500
4515
|
}, $scope4_id, "a", 1, 1, 1, "</div>");
|
|
@@ -4513,37 +4528,37 @@ var repo_picker_default = _template("q", (input) => {
|
|
|
4513
4528
|
return 0;
|
|
4514
4529
|
} else if (filter && catalog) {
|
|
4515
4530
|
const $scope1_id = _scope_id();
|
|
4516
|
-
_html(`<p${_attr_class("
|
|
4531
|
+
_html(`<p${_attr_class("_bz")}>No repos match "<!>${_escape(filter)}${_el_resume($scope1_id, "b")}".</p>`);
|
|
4517
4532
|
writeScope($scope1_id, {});
|
|
4518
4533
|
return 1;
|
|
4519
4534
|
}
|
|
4520
|
-
}, $scope0_id, "
|
|
4535
|
+
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
4521
4536
|
_html("</div>");
|
|
4522
4537
|
const $return = _resume(() => loadCatalog(true), "q2", $scope0_id);
|
|
4523
4538
|
_script($scope0_id, "q9");
|
|
4524
4539
|
_script($scope0_id, "q10");
|
|
4525
4540
|
writeScope($scope0_id, {
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4541
|
+
i: _serialize_if($scope0_reason, 1) && input.refreshing,
|
|
4542
|
+
j: _serialize_if($scope0_reason, 0) && input.refreshingChange,
|
|
4543
|
+
l: input.onError,
|
|
4544
|
+
m: input.exclude,
|
|
4545
|
+
n: input.onPick,
|
|
4546
|
+
p: catalog,
|
|
4547
|
+
q: filter,
|
|
4548
|
+
t: highlight,
|
|
4549
|
+
u: loadCatalog,
|
|
4550
|
+
v: results,
|
|
4551
|
+
y: branchesFor,
|
|
4552
|
+
a0: branches,
|
|
4553
|
+
a1: branches?.length,
|
|
4554
|
+
a2: branchFilter,
|
|
4555
|
+
a3: pick,
|
|
4556
|
+
a4: toggleBranches,
|
|
4557
|
+
ab: $branchFilter__closures,
|
|
4558
|
+
a9: $branches__closures,
|
|
4559
|
+
aa: $branches_length__closures,
|
|
4560
|
+
a6: $highlight__closures,
|
|
4561
|
+
a8: $branchesFor__closures
|
|
4547
4562
|
});
|
|
4548
4563
|
_resume_branch($scope0_id);
|
|
4549
4564
|
return $return;
|
|
@@ -4631,7 +4646,7 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4631
4646
|
}
|
|
4632
4647
|
}, "m4", $scope0_id);
|
|
4633
4648
|
const titleId = _id();
|
|
4634
|
-
_html(`<div${_attr_class("
|
|
4649
|
+
_html(`<div${_attr_class("_be")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bf")}><div${_attr_class(content$1)}>`);
|
|
4635
4650
|
_set_serialize_reason({
|
|
4636
4651
|
0: $sg__input_onExit,
|
|
4637
4652
|
1: $sg__input_onExit,
|
|
@@ -4645,7 +4660,7 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4645
4660
|
meta: attrTag({ content: _content_resume("m10", () => {
|
|
4646
4661
|
_scope_reason();
|
|
4647
4662
|
_scope_id();
|
|
4648
|
-
_html("Name the
|
|
4663
|
+
_html("Name the workspace and pick repos — or restore an archived one below.");
|
|
4649
4664
|
}, $scope0_id) })
|
|
4650
4665
|
});
|
|
4651
4666
|
_if(() => {
|
|
@@ -4668,19 +4683,19 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4668
4683
|
return 0;
|
|
4669
4684
|
}
|
|
4670
4685
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
4671
|
-
_html(`<label${_attr_class("
|
|
4686
|
+
_html(`<label${_attr_class("_bH")}><span${_attr_class("_bD")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
|
|
4672
4687
|
name = _new_name;
|
|
4673
|
-
}, "m0", $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("
|
|
4688
|
+
}, "m0", $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("_bJ")}><h2${_attr_class("_bD")}>Repos</h2><button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
4674
4689
|
_set_serialize_reason(1);
|
|
4675
4690
|
const $childScope2 = _peek_scope_id();
|
|
4676
4691
|
icon_refresh_default({
|
|
4677
4692
|
size: 14,
|
|
4678
4693
|
class: catalogRefreshing && "_y"
|
|
4679
4694
|
});
|
|
4680
|
-
_html(`</button>${_el_resume($scope0_id, "l")}</div><ul${_attr_class("
|
|
4695
|
+
_html(`</button>${_el_resume($scope0_id, "l")}</div><ul${_attr_class("_bK")}>`);
|
|
4681
4696
|
_for_of(selected, (repo) => {
|
|
4682
4697
|
const $scope2_id = _scope_id();
|
|
4683
|
-
_html(`<li${_attr_class(row)}><span${_attr_class("
|
|
4698
|
+
_html(`<li${_attr_class(row)}><span${_attr_class("_bL")}>${_escape(repoLabel(repo.fullName))}${_el_resume($scope2_id, "c")}</span>`);
|
|
4684
4699
|
_if(() => {
|
|
4685
4700
|
if (repo.baseBranch) {
|
|
4686
4701
|
const $scope10_id = _scope_id();
|
|
@@ -4689,7 +4704,7 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4689
4704
|
return 0;
|
|
4690
4705
|
}
|
|
4691
4706
|
}, $scope2_id, "d", 1, 1, 1, 0, 1);
|
|
4692
|
-
_html(`<button${_attr_class([iconBtnXs, "
|
|
4707
|
+
_html(`<button${_attr_class([iconBtnXs, "_W"])}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>×</button>${_el_resume($scope2_id, "e")}</li>`);
|
|
4693
4708
|
_script($scope2_id, "m12");
|
|
4694
4709
|
writeScope($scope2_id, {
|
|
4695
4710
|
h: repo?.fullName,
|
|
@@ -4699,7 +4714,7 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4699
4714
|
_if(() => {
|
|
4700
4715
|
if (!selected.length) {
|
|
4701
4716
|
const $scope11_id = _scope_id();
|
|
4702
|
-
_html(`<li${_attr_class("
|
|
4717
|
+
_html(`<li${_attr_class("_bz")}>No repos yet — search below to add one (or create empty).</li>`);
|
|
4703
4718
|
writeScope($scope11_id, {});
|
|
4704
4719
|
return 0;
|
|
4705
4720
|
}
|
|
@@ -4724,10 +4739,10 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4724
4739
|
_if(() => {
|
|
4725
4740
|
if (busy && steps$1.length) {
|
|
4726
4741
|
const $scope7_id = _scope_id();
|
|
4727
|
-
_html(`<ul${_attr_class("
|
|
4742
|
+
_html(`<ul${_attr_class("_bN")}>`);
|
|
4728
4743
|
_for_of(steps$1, (step$1, i) => {
|
|
4729
4744
|
const $scope8_id = _scope_id();
|
|
4730
|
-
_html(`<li${_attr_class(["
|
|
4745
|
+
_html(`<li${_attr_class(["_bT", { ["_bO"]: i === steps$1.length - 1 }])}>`);
|
|
4731
4746
|
_if(() => {
|
|
4732
4747
|
if (i === steps$1.length - 1) {
|
|
4733
4748
|
const $scope12_id = _scope_id();
|
|
@@ -4736,7 +4751,7 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4736
4751
|
return 0;
|
|
4737
4752
|
} else {
|
|
4738
4753
|
const $scope13_id = _scope_id();
|
|
4739
|
-
_html(`<span${_attr_class("
|
|
4754
|
+
_html(`<span${_attr_class("_bP")}>✓</span>`);
|
|
4740
4755
|
writeScope($scope13_id, {});
|
|
4741
4756
|
return 1;
|
|
4742
4757
|
}
|
|
@@ -4748,7 +4763,7 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4748
4763
|
return 0;
|
|
4749
4764
|
}
|
|
4750
4765
|
}, $scope0_id, "s", 1, 1, 1, 0, 1);
|
|
4751
|
-
_html(`<div${_attr_class("
|
|
4766
|
+
_html(`<div${_attr_class("_bF")}>`);
|
|
4752
4767
|
_if(() => {
|
|
4753
4768
|
if (input.onExit || busy) {
|
|
4754
4769
|
const $scope1_id = _scope_id();
|
|
@@ -4761,15 +4776,15 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4761
4776
|
_html(`<button type=button${_attr_class([
|
|
4762
4777
|
btnLg,
|
|
4763
4778
|
"_j",
|
|
4764
|
-
"
|
|
4779
|
+
"_bG"
|
|
4765
4780
|
])}${_attr("disabled", busy || !!restoring || !name.trim())}>${busy ? "Creating…" : "Create workspace"}${_el_resume($scope0_id, "w")}</button>${_el_resume($scope0_id, "v")}</div>`);
|
|
4766
4781
|
_if(() => {
|
|
4767
4782
|
if (archived$1.length) {
|
|
4768
4783
|
const $scope3_id = _scope_id();
|
|
4769
|
-
_html(`<section${_attr_class(archived)}><div${_attr_class("
|
|
4784
|
+
_html(`<section${_attr_class(archived)}><div${_attr_class("_bJ")}><h2${_attr_class("_bD")}>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("_br")}>`);
|
|
4770
4785
|
_for_of(archived$1, (ws) => {
|
|
4771
4786
|
const $scope4_id = _scope_id();
|
|
4772
|
-
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("
|
|
4787
|
+
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("_bu")}><span${_attr_class("_bv")}>${_escape(ws.name)}${_el_resume($scope4_id, "d", $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_r"])}${_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)}>`);
|
|
4773
4788
|
_if(() => {
|
|
4774
4789
|
if (restoring === ws.id) {
|
|
4775
4790
|
const $scope14_id = _scope_id();
|
|
@@ -4910,8 +4925,8 @@ function activeAgent(session) {
|
|
|
4910
4925
|
const command = session.state?.command?.trim();
|
|
4911
4926
|
return command && agentFromCommand(command) || session.agent;
|
|
4912
4927
|
}
|
|
4913
|
-
var iconBtn$1 = "
|
|
4914
|
-
var navToggle = "
|
|
4928
|
+
var iconBtn$1 = "_cO _d";
|
|
4929
|
+
var navToggle = "_cT _d";
|
|
4915
4930
|
_template("D", (input) => {
|
|
4916
4931
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
4917
4932
|
const $scope0_id = _scope_id();
|
|
@@ -4954,12 +4969,12 @@ var ARM_MS = 3500;
|
|
|
4954
4969
|
function disarmLater(fn) {
|
|
4955
4970
|
return setTimeout(fn, ARM_MS);
|
|
4956
4971
|
}
|
|
4957
|
-
var railBtn = "
|
|
4958
|
-
var rowIcon = "
|
|
4959
|
-
var close = "
|
|
4972
|
+
var railBtn = "_fd _d";
|
|
4973
|
+
var rowIcon = "_fm _T _d";
|
|
4974
|
+
var close = "_fn _T _d _W";
|
|
4960
4975
|
//#endregion
|
|
4961
4976
|
//#region src/styles/session-pop.css.ts
|
|
4962
|
-
var sessionPop = "
|
|
4977
|
+
var sessionPop = "_e_ _X";
|
|
4963
4978
|
//#endregion
|
|
4964
4979
|
//#region src/tags/icons/icon-diff.marko
|
|
4965
4980
|
var icon_diff_default = _template("G", (input) => {
|
|
@@ -5011,12 +5026,12 @@ var icon_edit_default = _template("I", (input) => {
|
|
|
5011
5026
|
});
|
|
5012
5027
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
5013
5028
|
});
|
|
5014
|
-
var prChip = "
|
|
5015
|
-
var portChip = "
|
|
5029
|
+
var prChip = "_f8 _m _f7";
|
|
5030
|
+
var portChip = "_f9 _m _f7";
|
|
5016
5031
|
var prState = {
|
|
5017
|
-
open: "
|
|
5018
|
-
merged: "
|
|
5019
|
-
closed: "
|
|
5032
|
+
open: "_gc",
|
|
5033
|
+
merged: "_gd",
|
|
5034
|
+
closed: "_ge"
|
|
5020
5035
|
};
|
|
5021
5036
|
//#endregion
|
|
5022
5037
|
//#region src/tags/icons/icon-xmark.marko
|
|
@@ -5080,7 +5095,7 @@ var side_nav_chips_default = _template("s", (input) => {
|
|
|
5080
5095
|
const name = repo.full_name.split("/").at(-1);
|
|
5081
5096
|
return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel(repo.full_name) : name;
|
|
5082
5097
|
}, "s2", $scope1_id);
|
|
5083
|
-
_html(`<div${_attr_class("
|
|
5098
|
+
_html(`<div${_attr_class("_f6")}>`);
|
|
5084
5099
|
_for_of(repos, (repo) => {
|
|
5085
5100
|
const $scope2_id = _scope_id();
|
|
5086
5101
|
_for_of(repo.prs || [], (pr) => {
|
|
@@ -5095,11 +5110,11 @@ var side_nav_chips_default = _template("s", (input) => {
|
|
|
5095
5110
|
[prState.merged]: pr.state === "MERGED",
|
|
5096
5111
|
[prState.closed]: pr.state === "CLOSED"
|
|
5097
5112
|
}
|
|
5098
|
-
])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["
|
|
5113
|
+
])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["_f_", { ["_gg"]: !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)}`);
|
|
5099
5114
|
_if(() => {
|
|
5100
5115
|
if (open) {
|
|
5101
5116
|
const $scope4_id = _scope_id();
|
|
5102
|
-
_html(`<button type=button${_attr_class(["
|
|
5117
|
+
_html(`<button type=button${_attr_class(["_f_", "_ga"])}${_attr("title", `Review #${pr.number} changes`)}>`);
|
|
5103
5118
|
icon_diff_default({ size: 12 });
|
|
5104
5119
|
_html(`</button>${_el_resume($scope4_id, "a")}`);
|
|
5105
5120
|
_script($scope4_id, "s3");
|
|
@@ -5108,10 +5123,10 @@ var side_nav_chips_default = _template("s", (input) => {
|
|
|
5108
5123
|
} else {
|
|
5109
5124
|
const $scope6_id = _scope_id();
|
|
5110
5125
|
_html(`<button type=button${_attr_class([
|
|
5111
|
-
"
|
|
5112
|
-
"
|
|
5113
|
-
"
|
|
5114
|
-
])}${_attr("title", `
|
|
5126
|
+
"_f_",
|
|
5127
|
+
"_ga",
|
|
5128
|
+
"_gb"
|
|
5129
|
+
])}${_attr("title", `Dismiss #${pr.number}`)}>`);
|
|
5115
5130
|
icon_xmark_default({ size: 12 });
|
|
5116
5131
|
_html(`</button>${_el_resume($scope6_id, "a")}`);
|
|
5117
5132
|
_script($scope6_id, "s4");
|
|
@@ -5134,12 +5149,12 @@ var side_nav_chips_default = _template("s", (input) => {
|
|
|
5134
5149
|
}, "full_name", $scope1_id, "b", $sg__input_status_repos, $sg__input_status_repos, $sg__input_status_repos__OR__input_status_ports);
|
|
5135
5150
|
_for_of(ports, (p) => {
|
|
5136
5151
|
const $scope5_id = _scope_id();
|
|
5137
|
-
_html(`<span${_attr_class(["_m", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["
|
|
5138
|
-
"
|
|
5139
|
-
"
|
|
5140
|
-
"
|
|
5152
|
+
_html(`<span${_attr_class(["_m", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_f_", "_gf"])}${_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([
|
|
5153
|
+
"_f_",
|
|
5154
|
+
"_ga",
|
|
5155
|
+
"_gb",
|
|
5141
5156
|
{ ["_k"]: armedPid === p.pid }
|
|
5142
|
-
])}${armedPid === p.pid ?
|
|
5157
|
+
])}${armedPid === p.pid ? " title=Kill?" : _attr("title", `Kill ${p.cmd} (pid ${p.pid})`)}>`);
|
|
5143
5158
|
icon_xmark_default({ size: 12 });
|
|
5144
5159
|
_html(`</button>${_el_resume($scope5_id, "d")}</span>${_el_resume($scope5_id, "a", $sg__input_status_ports)}`);
|
|
5145
5160
|
_script($scope5_id, "s5");
|
|
@@ -5220,10 +5235,10 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5220
5235
|
_if(() => {
|
|
5221
5236
|
if (input.rail) {
|
|
5222
5237
|
const $scope2_id = _scope_id();
|
|
5223
|
-
_html(`<button${_attr_class([railBtn, { ["
|
|
5238
|
+
_html(`<button${_attr_class([railBtn, { ["_fb"]: input.current }])}${_attr("title", ws$1.name)}>${_escape((input.index ?? 0) + 1)}${_el_resume($scope2_id, "b", _serialize_guard($scope0_reason, 17))}<span${_attr_class([
|
|
5224
5239
|
"_t",
|
|
5225
5240
|
phase[dot],
|
|
5226
|
-
"
|
|
5241
|
+
"_fe"
|
|
5227
5242
|
])}></span>${_el_resume($scope2_id, "c", $sg__input_workspaceId__OR__input_status)}</button>${_el_resume($scope2_id, "a")}`);
|
|
5228
5243
|
_script($scope2_id, "t3");
|
|
5229
5244
|
_subscribe($si__input_workspaces__OR__input_workspaceId && $ws_name__closures, _subscribe($si__input_index && $input_index__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }))));
|
|
@@ -5231,16 +5246,16 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5231
5246
|
} else {
|
|
5232
5247
|
const $scope3_id = _scope_id();
|
|
5233
5248
|
const sessions$1 = input.sessions || [];
|
|
5234
|
-
const phaseLabel = dot === "working" ? "Working" : dot === "waiting" ? "Needs
|
|
5235
|
-
_html(`<section${_attr_class(["
|
|
5236
|
-
["
|
|
5237
|
-
["
|
|
5238
|
-
["
|
|
5239
|
-
["
|
|
5240
|
-
}])}><div${_attr_class("
|
|
5249
|
+
const phaseLabel = dot === "working" ? "Working" : dot === "waiting" ? "Needs input" : dot === "idle" ? "Idle" : "Not running";
|
|
5250
|
+
_html(`<section${_attr_class(["_fg", {
|
|
5251
|
+
["_fb"]: input.current,
|
|
5252
|
+
["_Y"]: input.current,
|
|
5253
|
+
["_fh"]: input.railPop,
|
|
5254
|
+
["_ff"]: input.page
|
|
5255
|
+
}])}><div${_attr_class("_fi")}><button${_attr_class("_fj")}><span${_attr_class([
|
|
5241
5256
|
"_t",
|
|
5242
5257
|
phase[dot],
|
|
5243
|
-
"
|
|
5258
|
+
"_fu"
|
|
5244
5259
|
])}${_attr("title", phaseLabel)}></span>${_el_resume($scope3_id, "d", $sg__input_workspaceId__OR__input_status)}`);
|
|
5245
5260
|
_if(() => {
|
|
5246
5261
|
if (sessions$1.length === 1) {
|
|
@@ -5253,7 +5268,7 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5253
5268
|
icon_agent_default({
|
|
5254
5269
|
agent: activeAgent(sessions$1[0]),
|
|
5255
5270
|
size: 12,
|
|
5256
|
-
class: "
|
|
5271
|
+
class: "_fo"
|
|
5257
5272
|
});
|
|
5258
5273
|
$si__input_sessions && writeScope($scope12_id, {
|
|
5259
5274
|
_: _scope_with_id($scope3_id),
|
|
@@ -5263,16 +5278,16 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5263
5278
|
}
|
|
5264
5279
|
}, $scope3_id, "e", $sg__input_sessions, $sg__input_sessions, $sg__input_workspaceId__OR__input_status__OR__input_sessions__OR__input_page);
|
|
5265
5280
|
const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length === 1 ? sessions$1[0].title || "" : `${sessions$1.length} sessions`;
|
|
5266
|
-
_html(`<span${_attr_class("
|
|
5281
|
+
_html(`<span${_attr_class("_fp")}><span${_attr_class("_fq")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "h", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
|
|
5267
5282
|
_if(() => {
|
|
5268
5283
|
if (input.page && metaText) {
|
|
5269
5284
|
const $scope14_id = _scope_id();
|
|
5270
|
-
_html(`<span${_attr_class("
|
|
5285
|
+
_html(`<span${_attr_class("_fs")}>${_escape(metaText)}${_el_resume($scope14_id, "b", _serialize_guard($scope0_reason, 5))}</span>`);
|
|
5271
5286
|
$si__input_workspaceId__OR__input_status__OR__input_sessions__OR__input_page && writeScope($scope14_id, { _: _serialize_if($scope0_reason, 5) && _scope_with_id($scope3_id) });
|
|
5272
5287
|
return 0;
|
|
5273
5288
|
} else if (sessions$1.length === 1 && sessions$1[0].title) {
|
|
5274
5289
|
const $scope13_id = _scope_id();
|
|
5275
|
-
_html(`<span${_attr_class("
|
|
5290
|
+
_html(`<span${_attr_class("_fr")}>${_escape(sessions$1[0].title)}${_el_resume($scope13_id, "b", $sg__input_sessions)}</span>`);
|
|
5276
5291
|
$si__input_workspaceId__OR__input_status__OR__input_sessions__OR__input_page && writeScope($scope13_id, { _: $si__input_sessions && _scope_with_id($scope3_id) });
|
|
5277
5292
|
return 1;
|
|
5278
5293
|
}
|
|
@@ -5285,7 +5300,7 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5285
5300
|
"_C",
|
|
5286
5301
|
"_L",
|
|
5287
5302
|
"_E",
|
|
5288
|
-
"
|
|
5303
|
+
"_ft"
|
|
5289
5304
|
])}>${input.current ? "Open" : ""}${_el_resume($scope4_id, "b", _serialize_guard($scope0_reason, 16))}</span>`);
|
|
5290
5305
|
$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, {
|
|
5291
5306
|
_: _scope_with_id($scope3_id),
|
|
@@ -5298,7 +5313,7 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5298
5313
|
_if(() => {
|
|
5299
5314
|
if (!input.page) {
|
|
5300
5315
|
const $scope5_id = _scope_id();
|
|
5301
|
-
_html(`<div${_attr_class("
|
|
5316
|
+
_html(`<div${_attr_class("_fk")}>`);
|
|
5302
5317
|
_if(() => {
|
|
5303
5318
|
if (input.onNewSession) {
|
|
5304
5319
|
const $scope6_id = _scope_id();
|
|
@@ -5312,7 +5327,7 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5312
5327
|
_html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
|
|
5313
5328
|
_for_of([], (agent) => {
|
|
5314
5329
|
const $scope7_id = _scope_id();
|
|
5315
|
-
_html(`<button${_attr_class("
|
|
5330
|
+
_html(`<button${_attr_class("_fa")}>`);
|
|
5316
5331
|
_set_serialize_reason(12);
|
|
5317
5332
|
const $childScope2 = _peek_scope_id();
|
|
5318
5333
|
icon_agent_default({
|
|
@@ -5345,7 +5360,7 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5345
5360
|
return 0;
|
|
5346
5361
|
}
|
|
5347
5362
|
}, $scope5_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
|
|
5348
|
-
_html(`<button${_attr_class([rowIcon, { ["
|
|
5363
|
+
_html(`<button${_attr_class([rowIcon, { ["_fc"]: input.managing }])} title="Manage workspace" aria-pressed=${input.managing ? "true" : "false"}>`);
|
|
5349
5364
|
icon_manage_default({ size: 12 });
|
|
5350
5365
|
_html(`</button>${_el_resume($scope5_id, "d")}</div>`);
|
|
5351
5366
|
_script($scope5_id, "t7");
|
|
@@ -5353,17 +5368,17 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5353
5368
|
return 0;
|
|
5354
5369
|
}
|
|
5355
5370
|
}, $scope3_id, "k", $sg__input_page, $sg__input_page, $sg__input_workspaceId__OR__input_status__OR__input_sessions__OR__input_page, 0, 1);
|
|
5356
|
-
_html(`</div><div${_attr_class("
|
|
5371
|
+
_html(`</div><div${_attr_class("_fz")}>`);
|
|
5357
5372
|
_for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
|
|
5358
5373
|
const $scope9_id = _scope_id();
|
|
5359
|
-
_html(`<div${_attr_class(["
|
|
5374
|
+
_html(`<div${_attr_class(["_fl", { ["_fb"]: s.id === input.currentTab }])}>`);
|
|
5360
5375
|
_if(() => {
|
|
5361
5376
|
if (renamingId === s.id) {
|
|
5362
5377
|
const $scope11_id = _scope_id();
|
|
5363
5378
|
_html(`<span${_attr_class([
|
|
5364
5379
|
"_t",
|
|
5365
5380
|
phase[sessionPhase(s.state)],
|
|
5366
|
-
"
|
|
5381
|
+
"_fx"
|
|
5367
5382
|
])}></span>${_el_resume($scope11_id, "a", $sg__input_sessions)}`);
|
|
5368
5383
|
_set_serialize_reason({
|
|
5369
5384
|
1: $sg__input_sessions,
|
|
@@ -5373,17 +5388,17 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5373
5388
|
icon_agent_default({
|
|
5374
5389
|
agent: activeAgent(s),
|
|
5375
5390
|
size: 13,
|
|
5376
|
-
class: "
|
|
5391
|
+
class: "_fB"
|
|
5377
5392
|
});
|
|
5378
5393
|
_html(`<input${_attr_input_value($scope11_id, "c", renameValue, _resume((_new_renameValue) => {
|
|
5379
5394
|
renameValue = _new_renameValue;
|
|
5380
|
-
}, "t0", $scope11_id))}${_attr_class(["_O", "
|
|
5395
|
+
}, "t0", $scope11_id))}${_attr_class(["_O", "_fy"])} aria-label="Session name">${_el_resume($scope11_id, "c")}`);
|
|
5381
5396
|
_script($scope11_id, "t8");
|
|
5382
5397
|
_subscribe($renameValue__closures, writeScope($scope11_id, { b: $si__input_sessions && _existing_scope($childScope3) }));
|
|
5383
5398
|
return 0;
|
|
5384
5399
|
} else {
|
|
5385
5400
|
const $scope10_id = _scope_id();
|
|
5386
|
-
_html(`<button${_attr_class("
|
|
5401
|
+
_html(`<button${_attr_class("_fA")}><span${_attr_class(["_t", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope10_id, "b", $sg__input_sessions)}`);
|
|
5387
5402
|
_set_serialize_reason({
|
|
5388
5403
|
1: $sg__input_sessions,
|
|
5389
5404
|
2: $sg__input_sessions
|
|
@@ -5392,11 +5407,11 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5392
5407
|
icon_agent_default({
|
|
5393
5408
|
agent: activeAgent(s),
|
|
5394
5409
|
size: 13,
|
|
5395
|
-
class: "
|
|
5410
|
+
class: "_fB"
|
|
5396
5411
|
});
|
|
5397
|
-
_html(`<span${_attr_class("
|
|
5412
|
+
_html(`<span${_attr_class("_fv")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope10_id, "e", $sg__input_sessions)}</span></button>${_el_resume($scope10_id, "a")}<div${_attr_class("_fw")}><button${_attr_class(rowIcon)} title="Rename session">`);
|
|
5398
5413
|
icon_edit_default({ size: 12 });
|
|
5399
|
-
_html(`</button>${_el_resume($scope10_id, "g")}<button${_attr_class([close, { ["_k"]: armedKill === s.id }])} title=${armedKill === s.id ? "
|
|
5414
|
+
_html(`</button>${_el_resume($scope10_id, "g")}<button${_attr_class([close, { ["_k"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>×</button>${_el_resume($scope10_id, "i")}</div>`);
|
|
5400
5415
|
_script($scope10_id, "t9");
|
|
5401
5416
|
_subscribe($armedKill__closures, writeScope($scope10_id, { c: $si__input_sessions && _existing_scope($childScope4) }));
|
|
5402
5417
|
return 1;
|
|
@@ -5561,7 +5576,7 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5561
5576
|
notifyOn = false;
|
|
5562
5577
|
} else {
|
|
5563
5578
|
notifyOn = await enablePush();
|
|
5564
|
-
if (!notifyOn) input.onError?.("Notifications blocked — allow them for this site in browser
|
|
5579
|
+
if (!notifyOn) input.onError?.("Notifications blocked — allow them for this site in browser or system settings.");
|
|
5565
5580
|
}
|
|
5566
5581
|
} catch (err) {
|
|
5567
5582
|
notifyOn = false;
|
|
@@ -5576,25 +5591,25 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5576
5591
|
const wsSelected = true;
|
|
5577
5592
|
const otherIds = itemIds.filter((id) => id !== ws.id);
|
|
5578
5593
|
const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
|
|
5579
|
-
_html(`<aside${_attr_class(["
|
|
5580
|
-
["
|
|
5581
|
-
["
|
|
5594
|
+
_html(`<aside${_attr_class(["_cS", {
|
|
5595
|
+
["_cQ"]: !navOpen,
|
|
5596
|
+
["_cR"]: isPage
|
|
5582
5597
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
5583
5598
|
_if(() => {
|
|
5584
5599
|
if (isPage) {
|
|
5585
5600
|
const $scope1_id = _scope_id();
|
|
5586
|
-
_html(`<header${_attr_class("
|
|
5601
|
+
_html(`<header${_attr_class("_cV")}><h1${_attr_class("_cW")}>Workspaces</h1><div${_attr_class("_cX")}>`);
|
|
5587
5602
|
_if(() => {}, $scope1_id, "d", 1, 1, 1, 0, 1);
|
|
5588
5603
|
_html(`<button${_attr_class([
|
|
5589
5604
|
iconBtn$1,
|
|
5590
|
-
"
|
|
5591
|
-
{ ["
|
|
5605
|
+
"_cY",
|
|
5606
|
+
{ ["_cN"]: view === "settings" }
|
|
5592
5607
|
])} title=Settings aria-pressed=${view === "settings" ? "true" : "false"}>`);
|
|
5593
5608
|
icon_settings_default({ size: 16 });
|
|
5594
5609
|
_if(() => {
|
|
5595
5610
|
if (input.setupReady === false) {
|
|
5596
5611
|
const $scope10_id = _scope_id();
|
|
5597
|
-
_html(`<span${_attr_class(["_t", "
|
|
5612
|
+
_html(`<span${_attr_class(["_t", "_cP"])} title="Machine setup incomplete"></span>`);
|
|
5598
5613
|
$si__input_setupReady && writeScope($scope10_id, {});
|
|
5599
5614
|
return 0;
|
|
5600
5615
|
}
|
|
@@ -5605,13 +5620,13 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5605
5620
|
return 0;
|
|
5606
5621
|
}
|
|
5607
5622
|
}, $scope0_id, "b", 1, 1, 1, 0, 1);
|
|
5608
|
-
_html(`<div${_attr_class("
|
|
5623
|
+
_html(`<div${_attr_class("_c1")}>`);
|
|
5609
5624
|
_for_of(listIds, (wsId) => {
|
|
5610
5625
|
const $scope2_id = _scope_id();
|
|
5611
5626
|
_if(() => {
|
|
5612
5627
|
if (isPage && wsId === ws.id) {
|
|
5613
5628
|
const $scope11_id = _scope_id();
|
|
5614
|
-
_html(`<h2${_attr_class(["
|
|
5629
|
+
_html(`<h2${_attr_class(["_bD", "_cZ"])}>Current</h2>`);
|
|
5615
5630
|
writeScope($scope11_id, {});
|
|
5616
5631
|
return 0;
|
|
5617
5632
|
}
|
|
@@ -5619,7 +5634,7 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5619
5634
|
_if(() => {
|
|
5620
5635
|
if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
|
|
5621
5636
|
const $scope12_id = _scope_id();
|
|
5622
|
-
_html(`<h2${_attr_class(["
|
|
5637
|
+
_html(`<h2${_attr_class(["_bD", "_cZ"])}>Other workspaces</h2>`);
|
|
5623
5638
|
writeScope($scope12_id, {});
|
|
5624
5639
|
return 0;
|
|
5625
5640
|
}
|
|
@@ -5717,7 +5732,7 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5717
5732
|
railHover = null;
|
|
5718
5733
|
}, 150);
|
|
5719
5734
|
}, "u9", $scope3_id);
|
|
5720
|
-
_html(`<div${_attr_class("
|
|
5735
|
+
_html(`<div${_attr_class("_c2")}>`);
|
|
5721
5736
|
_for_of(itemIds, (wsId, i) => {
|
|
5722
5737
|
const $scope4_id = _scope_id();
|
|
5723
5738
|
_html("<span>");
|
|
@@ -5764,7 +5779,7 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5764
5779
|
if (railHover) {
|
|
5765
5780
|
const $scope5_id = _scope_id();
|
|
5766
5781
|
const hoverId = railHover.id;
|
|
5767
|
-
_html(`<div${_attr_class(["
|
|
5782
|
+
_html(`<div${_attr_class(["_X", "_c5"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
|
|
5768
5783
|
_set_serialize_reason({
|
|
5769
5784
|
0: 1,
|
|
5770
5785
|
1: 1,
|
|
@@ -5866,7 +5881,7 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5866
5881
|
return 0;
|
|
5867
5882
|
}
|
|
5868
5883
|
}, $scope0_id, "d");
|
|
5869
|
-
_html(`<div${_attr_class("
|
|
5884
|
+
_html(`<div${_attr_class("_c3")}>`);
|
|
5870
5885
|
_if(() => {
|
|
5871
5886
|
if (isPage) {
|
|
5872
5887
|
const $scope6_id = _scope_id();
|
|
@@ -5874,7 +5889,7 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5874
5889
|
"_i",
|
|
5875
5890
|
"_j",
|
|
5876
5891
|
btnLg,
|
|
5877
|
-
"
|
|
5892
|
+
"_c0"
|
|
5878
5893
|
])} title="New workspace" aria-pressed=${view === "new" ? "true" : "false"}>`);
|
|
5879
5894
|
icon_folder_plus_default({ size: 16 });
|
|
5880
5895
|
_html(` New workspace</button>${_el_resume($scope6_id, "a")}`);
|
|
@@ -5897,19 +5912,19 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5897
5912
|
return 1;
|
|
5898
5913
|
}
|
|
5899
5914
|
}, $scope7_id, "a", 1, 1, 1, "</button>", 1);
|
|
5900
|
-
_html(`<div${_attr_class(["_s", "
|
|
5915
|
+
_html(`<div${_attr_class(["_s", "_c4"])}></div>`);
|
|
5901
5916
|
_if(() => {}, $scope7_id, "c", 1, 1, 1, 0, 1);
|
|
5902
|
-
_html(`<button${_attr_class([iconBtn$1, { ["
|
|
5917
|
+
_html(`<button${_attr_class([iconBtn$1, { ["_cN"]: view === "settings" }])} title=Settings aria-pressed=${view === "settings" ? "true" : "false"}>`);
|
|
5903
5918
|
icon_settings_default({ size: 15 });
|
|
5904
5919
|
_if(() => {
|
|
5905
5920
|
if (input.setupReady === false) {
|
|
5906
5921
|
const $scope15_id = _scope_id();
|
|
5907
|
-
_html(`<span${_attr_class(["_t", "
|
|
5922
|
+
_html(`<span${_attr_class(["_t", "_cP"])} title="Machine setup incomplete"></span>`);
|
|
5908
5923
|
$si__input_setupReady && writeScope($scope15_id, {});
|
|
5909
5924
|
return 0;
|
|
5910
5925
|
}
|
|
5911
5926
|
}, $scope7_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
5912
|
-
_html(`</button>${_el_resume($scope7_id, "d")}<button${_attr_class([iconBtn$1, { ["
|
|
5927
|
+
_html(`</button>${_el_resume($scope7_id, "d")}<button${_attr_class([iconBtn$1, { ["_cN"]: view === "new" }])} title="New workspace" aria-pressed=${view === "new" ? "true" : "false"}>`);
|
|
5913
5928
|
icon_folder_plus_default({ size: 16 });
|
|
5914
5929
|
_html(`</button>${_el_resume($scope7_id, "g")}`);
|
|
5915
5930
|
_script($scope7_id, "u23");
|
|
@@ -5974,12 +5989,12 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5974
5989
|
});
|
|
5975
5990
|
_resume_branch($scope0_id);
|
|
5976
5991
|
});
|
|
5977
|
-
var iconBtn = "
|
|
5978
|
-
var sectionCount = "
|
|
5979
|
-
var content = "
|
|
5980
|
-
var pageMeta = "
|
|
5981
|
-
var pathMeta = "
|
|
5982
|
-
var dangerHint = "
|
|
5992
|
+
var iconBtn = "_U _d";
|
|
5993
|
+
var sectionCount = "_bq _C _D";
|
|
5994
|
+
var content = "_cC _bg";
|
|
5995
|
+
var pageMeta = "_cD _bl";
|
|
5996
|
+
var pathMeta = "_cG _r";
|
|
5997
|
+
var dangerHint = "_cM _M";
|
|
5983
5998
|
//#endregion
|
|
5984
5999
|
//#region src/tags/manage-workspace.marko
|
|
5985
6000
|
var api$2;
|
|
@@ -6077,7 +6092,7 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6077
6092
|
setTimeout(() => loadProcs(void 0), 500);
|
|
6078
6093
|
}, "k5", $scope0_id);
|
|
6079
6094
|
const titleId = _id();
|
|
6080
|
-
_html(`<div${_attr_class("
|
|
6095
|
+
_html(`<div${_attr_class("_be")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bf")}><div${_attr_class(content)}>`);
|
|
6081
6096
|
_set_serialize_reason({
|
|
6082
6097
|
0: $sg__input_onExit,
|
|
6083
6098
|
1: $sg__input_onExit,
|
|
@@ -6093,7 +6108,7 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6093
6108
|
meta: attrTag({ content: _content_resume("k11", () => {
|
|
6094
6109
|
_scope_reason();
|
|
6095
6110
|
const $scope8_id = _scope_id();
|
|
6096
|
-
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("
|
|
6111
|
+
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_cE")}>${_escape(ws.name)}${_el_resume($scope8_id, "c")}</span>`);
|
|
6097
6112
|
_if(() => {
|
|
6098
6113
|
if (ws.status !== "active") {
|
|
6099
6114
|
const $scope11_id = _scope_id();
|
|
@@ -6102,7 +6117,7 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6102
6117
|
return 0;
|
|
6103
6118
|
}
|
|
6104
6119
|
}, $scope8_id, "d", 1, 1, 1, 0, 1);
|
|
6105
|
-
_html(`<span${_attr_class("
|
|
6120
|
+
_html(`<span${_attr_class("_cF")} 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")}`);
|
|
6106
6121
|
_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) })))));
|
|
6107
6122
|
_resume_branch($scope8_id);
|
|
6108
6123
|
}, $scope0_id) })
|
|
@@ -6130,22 +6145,22 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6130
6145
|
_if(() => {
|
|
6131
6146
|
if (pendingAction && actionStep) {
|
|
6132
6147
|
const $scope7_id = _scope_id();
|
|
6133
|
-
_html(`<p${_attr_class("
|
|
6148
|
+
_html(`<p${_attr_class("_bn")}><span${_attr_class("_z")}></span><!>${_escape(actionStep)}${_el_resume($scope7_id, "c")}</p>`);
|
|
6134
6149
|
writeScope($scope7_id, {});
|
|
6135
6150
|
return 0;
|
|
6136
6151
|
}
|
|
6137
6152
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
6138
|
-
_html(`<section${_attr_class("
|
|
6153
|
+
_html(`<section${_attr_class("_bo")}><div${_attr_class("_bp")}><h2${_attr_class("_bD")}>Repos</h2><span${_attr_class(sectionCount)}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "k")}</span><div${_attr_class("_s")}></div><button${_attr_class(iconBtn)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
6139
6154
|
_set_serialize_reason(1);
|
|
6140
6155
|
const $childScope2 = _peek_scope_id();
|
|
6141
6156
|
icon_refresh_default({
|
|
6142
6157
|
size: 14,
|
|
6143
6158
|
class: catalogRefreshing && "_y"
|
|
6144
6159
|
});
|
|
6145
|
-
_html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("
|
|
6160
|
+
_html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("_br")}>`);
|
|
6146
6161
|
_for_of(ws.repos, (row) => {
|
|
6147
6162
|
const $scope1_id = _scope_id();
|
|
6148
|
-
_html(`<li${_attr_class("
|
|
6163
|
+
_html(`<li${_attr_class("_bt")}><div${_attr_class("_bu")}><span${_attr_class(["_bv", "_r"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bw")}><a${_attr_class(["_bx", "_cI"])}${_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")}`);
|
|
6149
6164
|
_if(() => {
|
|
6150
6165
|
if (row.base_branch !== row.default_branch) {
|
|
6151
6166
|
const $scope12_id = _scope_id();
|
|
@@ -6164,10 +6179,10 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6164
6179
|
} else {
|
|
6165
6180
|
const $scope6_id = _scope_id();
|
|
6166
6181
|
_html(`<button${_attr_class([
|
|
6167
|
-
"
|
|
6168
|
-
"
|
|
6182
|
+
"_by",
|
|
6183
|
+
"_W",
|
|
6169
6184
|
{ ["_k"]: confirmingRemove === row.full_name }
|
|
6170
|
-
])}${confirmingRemove === row.full_name ? _attr("title", `
|
|
6185
|
+
])}${confirmingRemove === row.full_name ? _attr("title", `Remove ${row.worktree}/? Uncommitted changes are lost.`) : _attr("title", `Remove ${row.worktree}/`)}>${confirmingRemove === row.full_name ? "Remove?" : "×"}${_el_resume($scope6_id, "b")}</button>${_el_resume($scope6_id, "a")}`);
|
|
6171
6186
|
_script($scope6_id, "k13");
|
|
6172
6187
|
_subscribe($confirmingRemove__closures, writeScope($scope6_id, {}));
|
|
6173
6188
|
return 1;
|
|
@@ -6183,19 +6198,19 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6183
6198
|
}, "full_name", $scope0_id, "p", 1, 1, 1, 0, 1);
|
|
6184
6199
|
_for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
|
|
6185
6200
|
const $scope14_id = _scope_id();
|
|
6186
|
-
_html(`<li${_attr_class(["
|
|
6201
|
+
_html(`<li${_attr_class(["_bt", "_bs"])}><span${_attr_class("_z")}></span><div${_attr_class("_bu")}><span${_attr_class("_bx")}>Adding <!>${_escape(name)}${_el_resume($scope14_id, "e")}…</span></div></li>`);
|
|
6187
6202
|
writeScope($scope14_id, {});
|
|
6188
6203
|
}, (n) => n, $scope0_id, "q", 1, 1, 1, 0, 1);
|
|
6189
6204
|
_html("</ul>");
|
|
6190
6205
|
_if(() => {
|
|
6191
6206
|
if (!ws.repos.length && !busy.size) {
|
|
6192
6207
|
const $scope15_id = _scope_id();
|
|
6193
|
-
_html(`<p${_attr_class("
|
|
6208
|
+
_html(`<p${_attr_class("_bz")}>No repos yet — search below to add one.</p>`);
|
|
6194
6209
|
writeScope($scope15_id, {});
|
|
6195
6210
|
return 0;
|
|
6196
6211
|
}
|
|
6197
6212
|
}, $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
6198
|
-
_html(`<div${_attr_class("
|
|
6213
|
+
_html(`<div${_attr_class("_cH")}>`);
|
|
6199
6214
|
const $childScope3 = _peek_scope_id();
|
|
6200
6215
|
let refreshCatalog = repo_picker_default({
|
|
6201
6216
|
exclude: inWorkspace,
|
|
@@ -6215,17 +6230,17 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6215
6230
|
_if(() => {
|
|
6216
6231
|
if (running.length) {
|
|
6217
6232
|
const $scope9_id = _scope_id();
|
|
6218
|
-
_html(`<section${_attr_class("
|
|
6233
|
+
_html(`<section${_attr_class("_bo")}><div${_attr_class("_bp")}><h2${_attr_class("_bD")}>Running</h2><span${_attr_class(sectionCount)}>${_escape(running.length)}${_el_resume($scope9_id, "e")}</span></div><ul${_attr_class("_br")}>`);
|
|
6219
6234
|
_for_of(running, (p) => {
|
|
6220
6235
|
const $scope10_id = _scope_id();
|
|
6221
|
-
_html(`<li${_attr_class("
|
|
6236
|
+
_html(`<li${_attr_class("_bt")}><div${_attr_class("_bu")}${_attr("title", p.args)}><span${_attr_class(["_bv", "_r"])}>${_escape(p.cmd)}${_el_resume($scope10_id, "d")}</span>`);
|
|
6222
6237
|
_if(() => {
|
|
6223
6238
|
if (p.ports.length) {
|
|
6224
6239
|
const $scope16_id = _scope_id();
|
|
6225
|
-
_html(`<span${_attr_class("
|
|
6240
|
+
_html(`<span${_attr_class("_bw")}>`);
|
|
6226
6241
|
_for_of(p.ports, (port) => {
|
|
6227
6242
|
const $scope17_id = _scope_id();
|
|
6228
|
-
_html(`<button${_attr_class(["_m", "
|
|
6243
|
+
_html(`<button${_attr_class(["_m", "_cJ"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope17_id, "b")}</button>${_el_resume($scope17_id, "a")}`);
|
|
6229
6244
|
_script($scope17_id, "k15");
|
|
6230
6245
|
writeScope($scope17_id, { d: port });
|
|
6231
6246
|
}, (x) => String(x), $scope16_id, "a", 1, 1, 1, "</span>", 1);
|
|
@@ -6233,7 +6248,7 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6233
6248
|
return 0;
|
|
6234
6249
|
}
|
|
6235
6250
|
}, $scope10_id, "e", 1, 1, 1, 0, 1);
|
|
6236
|
-
_html(`</div>${_el_resume($scope10_id, "b")}<button${_attr_class(["
|
|
6251
|
+
_html(`</div>${_el_resume($scope10_id, "b")}<button${_attr_class(["_by", "_W"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>×</button>${_el_resume($scope10_id, "f")}</li>`);
|
|
6237
6252
|
_script($scope10_id, "k16");
|
|
6238
6253
|
writeScope($scope10_id, {
|
|
6239
6254
|
k: p?.ports,
|
|
@@ -6245,7 +6260,7 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6245
6260
|
return 0;
|
|
6246
6261
|
}
|
|
6247
6262
|
}, $scope0_id, "v", 1, 1, 1, 0, 1);
|
|
6248
|
-
_html(`<section${_attr_class(["
|
|
6263
|
+
_html(`<section${_attr_class(["_bo", "_cK"])}><div${_attr_class("_bp")}><h2${_attr_class("_bD")}>Workspace</h2></div><div${_attr_class("_cL")}>`);
|
|
6249
6264
|
_if(() => {
|
|
6250
6265
|
if (ws.status === "active") {
|
|
6251
6266
|
const $scope4_id = _scope_id();
|
|
@@ -6265,7 +6280,7 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6265
6280
|
btnLg,
|
|
6266
6281
|
"_l",
|
|
6267
6282
|
{ ["_k"]: confirmingDelete }
|
|
6268
|
-
])}${_attr("disabled", !!pendingAction)}>${pendingAction === "delete" ? "Deleting…" : "Delete"}${_el_resume($scope0_id, "a2")}</button>${_el_resume($scope0_id, "a1")}</div><p${_attr_class(dangerHint)}>Archive hides the
|
|
6283
|
+
])}${_attr("disabled", !!pendingAction)}>${pendingAction === "delete" ? "Deleting…" : "Delete"}${_el_resume($scope0_id, "a2")}</button>${_el_resume($scope0_id, "a1")}</div><p${_attr_class(dangerHint)}>Archive hides the workspace from the list. Delete removes it and its worktrees.</p></section></div></div></div>`);
|
|
6269
6284
|
_script($scope0_id, "k19");
|
|
6270
6285
|
_script($scope0_id, "k20");
|
|
6271
6286
|
writeScope($scope0_id, {
|
|
@@ -6346,15 +6361,15 @@ var term_find_default = _template("v", (input) => {
|
|
|
6346
6361
|
const canStep = hasQuery && open;
|
|
6347
6362
|
const keybar = input.placement === "keybar";
|
|
6348
6363
|
_html(`<div${_attr_class([
|
|
6349
|
-
"
|
|
6350
|
-
keybar ? "
|
|
6351
|
-
!open && "
|
|
6352
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
6364
|
+
"_e3",
|
|
6365
|
+
keybar ? "_e5" : "_e4",
|
|
6366
|
+
!open && "_e7"
|
|
6367
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_eY", keybar ? "_e6" : "_e0"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
6353
6368
|
if (!open) return;
|
|
6354
6369
|
query = v;
|
|
6355
6370
|
live.query = v;
|
|
6356
6371
|
run(0);
|
|
6357
|
-
}, "v0", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
6372
|
+
}, "v0", $scope0_id))}${_attr_class([findInput, keybar && "_e8"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in terminal" aria-label="Find in terminal">${_el_resume($scope0_id, "c")}<button type=button${_attr_class([findIconBtn, keybar && "_e9"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_e9"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class([findIconBtn, keybar && "_e9"])} title="Close find" tabindex=${open ? "0" : "-1"}>×</button>${_el_resume($scope0_id, "f")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
|
|
6358
6373
|
_script($scope0_id, "v4");
|
|
6359
6374
|
_script($scope0_id, "v5");
|
|
6360
6375
|
_script($scope0_id, "v6");
|
|
@@ -6624,7 +6639,7 @@ var term_default = _template("w", (input) => {
|
|
|
6624
6639
|
trapOpen = true;
|
|
6625
6640
|
}
|
|
6626
6641
|
}, "w14", $scope0_id);
|
|
6627
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
6642
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_c6")}><div${_attr_class("_c7")}></div>${_el_resume($scope0_id, "b")}`);
|
|
6628
6643
|
_if(() => {
|
|
6629
6644
|
if (findOpen) {
|
|
6630
6645
|
const $scope12_id = _scope_id();
|
|
@@ -6651,7 +6666,7 @@ var term_default = _template("w", (input) => {
|
|
|
6651
6666
|
_if(() => {
|
|
6652
6667
|
if (uploading) {
|
|
6653
6668
|
const $scope19_id = _scope_id();
|
|
6654
|
-
_html(`<div${_attr_class("
|
|
6669
|
+
_html(`<div${_attr_class("_dc")}>uploading…</div>`);
|
|
6655
6670
|
writeScope($scope19_id, {});
|
|
6656
6671
|
return 0;
|
|
6657
6672
|
}
|
|
@@ -6659,7 +6674,7 @@ var term_default = _template("w", (input) => {
|
|
|
6659
6674
|
_if(() => {
|
|
6660
6675
|
if (copiedFlash) {
|
|
6661
6676
|
const $scope20_id = _scope_id();
|
|
6662
|
-
_html(`<div${_attr_class("
|
|
6677
|
+
_html(`<div${_attr_class("_db")}>Copied</div>`);
|
|
6663
6678
|
writeScope($scope20_id, {});
|
|
6664
6679
|
return 0;
|
|
6665
6680
|
}
|
|
@@ -6668,7 +6683,7 @@ var term_default = _template("w", (input) => {
|
|
|
6668
6683
|
_if(() => {
|
|
6669
6684
|
if (trapOpen) {
|
|
6670
6685
|
const $scope11_id = _scope_id();
|
|
6671
|
-
_html(`<div${_attr_class("
|
|
6686
|
+
_html(`<div${_attr_class("_dd")}><div${_attr_class("_de")}><p${_attr_class("_dH")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope11_id, "d")}<button${_attr_class("_i")}>Cancel</button>${_el_resume($scope11_id, "e")}</div>${_el_resume($scope11_id, "b")}</div>${_el_resume($scope11_id, "a")}`);
|
|
6672
6687
|
_script($scope11_id, "w24");
|
|
6673
6688
|
_script($scope11_id, "w25");
|
|
6674
6689
|
writeScope($scope11_id, {});
|
|
@@ -6774,7 +6789,7 @@ var work_view_default = _template("z", (input) => {
|
|
|
6774
6789
|
let DiffView = null;
|
|
6775
6790
|
const loadDiffView = _resume(() => {
|
|
6776
6791
|
if (DiffView) return;
|
|
6777
|
-
import("./
|
|
6792
|
+
import("./_DJw6QDd6.js").then((m) => {
|
|
6778
6793
|
DiffView = m.default;
|
|
6779
6794
|
});
|
|
6780
6795
|
}, "z4", $scope0_id);
|
|
@@ -6895,7 +6910,7 @@ var work_view_default = _template("z", (input) => {
|
|
|
6895
6910
|
if (tab === id) tab = sessions[0]?.id || null;
|
|
6896
6911
|
await api$1(`/api/sessions/${id}`, { method: "DELETE" });
|
|
6897
6912
|
} catch (err) {
|
|
6898
|
-
error = `
|
|
6913
|
+
error = `Close session failed: ${String(err.message || err)}`;
|
|
6899
6914
|
loadSessions(false);
|
|
6900
6915
|
}
|
|
6901
6916
|
}, "z17", $scope0_id);
|
|
@@ -6944,7 +6959,7 @@ var work_view_default = _template("z", (input) => {
|
|
|
6944
6959
|
toggleDiff();
|
|
6945
6960
|
}
|
|
6946
6961
|
}, "z20", $scope0_id);
|
|
6947
|
-
_html(`<div${_attr_class(["
|
|
6962
|
+
_html(`<div${_attr_class(["_bV", { ["_bU"]: view === "nav" }])}><div${_attr_class("_bW")}>`);
|
|
6948
6963
|
_set_serialize_reason({
|
|
6949
6964
|
0: _serialize_guard($scope0_reason, 0),
|
|
6950
6965
|
1: _serialize_guard($scope0_reason, 1),
|
|
@@ -7017,7 +7032,7 @@ var work_view_default = _template("z", (input) => {
|
|
|
7017
7032
|
openDiff(pr);
|
|
7018
7033
|
}, "z32", $scope0_id)
|
|
7019
7034
|
});
|
|
7020
|
-
_html(`</div><div${_attr_class("
|
|
7035
|
+
_html(`</div><div${_attr_class("_bX")}>`);
|
|
7021
7036
|
_if(() => {
|
|
7022
7037
|
if (error) {
|
|
7023
7038
|
const $scope8_id = _scope_id();
|
|
@@ -7126,13 +7141,13 @@ var work_view_default = _template("z", (input) => {
|
|
|
7126
7141
|
}
|
|
7127
7142
|
}, $scope0_id, "h");
|
|
7128
7143
|
_if(() => {}, $scope0_id, "i");
|
|
7129
|
-
_html(`<div${_attr_class(["
|
|
7144
|
+
_html(`<div${_attr_class(["_bZ", { ["_bY"]: view !== "term" }])}>`);
|
|
7130
7145
|
_if(() => {
|
|
7131
7146
|
if (shownSessions) {
|
|
7132
7147
|
const $scope5_id = _scope_id();
|
|
7133
7148
|
_for_of(shownSessions, (s) => {
|
|
7134
7149
|
const $scope6_id = _scope_id();
|
|
7135
|
-
_html(`<div${_attr_class(["
|
|
7150
|
+
_html(`<div${_attr_class(["_b0", { ["_b1"]: s.id === curTab }])}>`);
|
|
7136
7151
|
_set_serialize_reason({
|
|
7137
7152
|
0: 1,
|
|
7138
7153
|
1: 1,
|
|
@@ -7199,7 +7214,7 @@ var work_view_default = _template("z", (input) => {
|
|
|
7199
7214
|
_if(() => {
|
|
7200
7215
|
if (!shownSessions.length && view === "term") {
|
|
7201
7216
|
const $scope7_id = _scope_id();
|
|
7202
|
-
_html(`<div${_attr_class("
|
|
7217
|
+
_html(`<div${_attr_class("_bA")}><span>No sessions in this workspace.</span><button${_attr_class(["_i", "_j"])}${_attr("disabled", spawning)}>${spawning ? "Starting…" : `Start ${_escape(`${input.preferred || "shell"}`)}`}${_el_resume($scope7_id, "c")}</button>${_el_resume($scope7_id, "b")}</div>`);
|
|
7203
7218
|
_script($scope7_id, "z54");
|
|
7204
7219
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
|
|
7205
7220
|
return 0;
|
|
@@ -7209,7 +7224,7 @@ var work_view_default = _template("z", (input) => {
|
|
|
7209
7224
|
return 0;
|
|
7210
7225
|
} else {
|
|
7211
7226
|
const $scope10_id = _scope_id();
|
|
7212
|
-
_html(`<p${_attr_class("
|
|
7227
|
+
_html(`<p${_attr_class("_bA")}>Loading sessions…</p>`);
|
|
7213
7228
|
writeScope($scope10_id, {});
|
|
7214
7229
|
return 1;
|
|
7215
7230
|
}
|
|
@@ -7408,7 +7423,7 @@ var page_boot_default = _template("n", (input) => {
|
|
|
7408
7423
|
if (!openIds.includes(id)) openIds = openIds.concat(id);
|
|
7409
7424
|
prefs.setLastWorkspace(id);
|
|
7410
7425
|
}, "n4", $scope0_id);
|
|
7411
|
-
_html(`<div${_attr_class("
|
|
7426
|
+
_html(`<div${_attr_class("_Z")}>`);
|
|
7412
7427
|
_if(() => {
|
|
7413
7428
|
if (error) {
|
|
7414
7429
|
const $scope5_id = _scope_id();
|
|
@@ -7431,7 +7446,7 @@ var page_boot_default = _template("n", (input) => {
|
|
|
7431
7446
|
_if(() => {
|
|
7432
7447
|
if (!selectedId && showSetup) {
|
|
7433
7448
|
const $scope4_id = _scope_id();
|
|
7434
|
-
_html(`<div${_attr_class("
|
|
7449
|
+
_html(`<div${_attr_class("_0")}>`);
|
|
7435
7450
|
_set_serialize_reason(10);
|
|
7436
7451
|
const $childScope = _peek_scope_id();
|
|
7437
7452
|
settings_page_default({
|
|
@@ -7457,7 +7472,7 @@ var page_boot_default = _template("n", (input) => {
|
|
|
7457
7472
|
};
|
|
7458
7473
|
}, "n8", $scope4_id)
|
|
7459
7474
|
});
|
|
7460
|
-
_html(`<div${_attr_class("
|
|
7475
|
+
_html(`<div${_attr_class("_1")}><button type=button${_attr_class("_i")}>Later — go to workspaces</button>${_el_resume($scope4_id, "d")}</div></div>`);
|
|
7461
7476
|
_script($scope4_id, "n23");
|
|
7462
7477
|
writeScope($scope4_id, { b: _existing_scope($childScope) });
|
|
7463
7478
|
return 0;
|
|
@@ -15048,4 +15063,4 @@ server.listen(port, () => {
|
|
|
15048
15063
|
//#endregion
|
|
15049
15064
|
export {};
|
|
15050
15065
|
|
|
15051
|
-
;var __MARKO_MANIFEST__={"esfPH6H":{"block":[2,"stylesheet#/assets/index-
|
|
15066
|
+
;var __MARKO_MANIFEST__={"esfPH6H":{"block":[2,"stylesheet#/assets/index-Kv8GSDQR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/index-Kv8GSDQR.css\"",">"],"defer":[2,"/assets/index-BJoarFLU.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/index-BJoarFLU.js\"","></script>"]}};
|