@dylanpiercey/work 0.0.79 → 0.0.80
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/{_vIpKl--3.js → _D1lZyfhn.js} +4 -4
- package/dist/{_D_A7Htaq.js → _D4GY5TqP.js} +70 -70
- package/dist/index.mjs +229 -229
- package/dist/public/assets/{_Dw3-4lzD.js → _-_1uzCbj.js} +1 -1
- package/dist/public/assets/_-_1uzCbj.js.br +0 -0
- package/dist/public/assets/{_CF37bG-Q2.js → _0X2_Mv-q2.js} +1 -1
- package/dist/public/assets/_0X2_Mv-q2.js.br +0 -0
- package/dist/public/assets/{_BCLA5mzd.js → _1Voq0Tvi.js} +1 -1
- package/dist/public/assets/_1Voq0Tvi.js.br +0 -0
- package/dist/public/assets/{_mrdnqgxh2.js → _4BZWp0-K2.js} +1 -1
- package/dist/public/assets/_4BZWp0-K2.js.br +0 -0
- package/dist/public/assets/{_Bj4YaGbW.js → _B57bXPt-.js} +1 -1
- package/dist/public/assets/_B57bXPt-.js.br +0 -0
- package/dist/public/assets/{_Dl_xIwGY.js → _BIOoG2MW.js} +1 -1
- package/dist/public/assets/_BIOoG2MW.js.br +0 -0
- package/dist/public/assets/{_CBI5dWW1.js → _BL3XPexu.js} +1 -1
- package/dist/public/assets/_BL3XPexu.js.br +0 -0
- package/dist/public/assets/{_fB1Jk0Pw2.js → _BLBbZB1M2.js} +1 -1
- package/dist/public/assets/_BLBbZB1M2.js.br +0 -0
- package/dist/public/assets/{_El-gnioo.js → _BOV1NV0A.js} +1 -1
- package/dist/public/assets/_BOV1NV0A.js.br +0 -0
- package/dist/public/assets/{_DBhOhjp-.js → _BOcXuwtf.js} +1 -1
- package/dist/public/assets/_BOcXuwtf.js.br +0 -0
- package/dist/public/assets/{_CIo8CLly.js → _BSczjQFi.js} +1 -1
- package/dist/public/assets/_BSczjQFi.js.br +0 -0
- package/dist/public/assets/{_5nMs3hE8.js → _BeBGpe3Y.js} +1 -1
- package/dist/public/assets/_BeBGpe3Y.js.br +0 -0
- package/dist/public/assets/{_M9tReZxn.js → _BevHqZSj.js} +1 -1
- package/dist/public/assets/_BevHqZSj.js.br +0 -0
- package/dist/public/assets/{_DQ_O5Kdu.js → _Bia5CO-O.js} +1 -1
- package/dist/public/assets/_Bia5CO-O.js.br +0 -0
- package/dist/public/assets/{_Ma0bP4Xx2.js → _BmbCyC-C2.js} +1 -1
- package/dist/public/assets/_BmbCyC-C2.js.br +0 -0
- package/dist/public/assets/{_BnBX-rho.js → _BukPRfhq.js} +1 -1
- package/dist/public/assets/_BukPRfhq.js.br +0 -0
- package/dist/public/assets/{_DBU5qokm.js → _Buq4ye4t.js} +1 -1
- package/dist/public/assets/_Buq4ye4t.js.br +0 -0
- package/dist/public/assets/{_CB0XIEp7.js → _C0bTVsr0.js} +1 -1
- package/dist/public/assets/_C0bTVsr0.js.br +0 -0
- package/dist/public/assets/{_D14PFcsd.js → _C0kLzTAa.js} +1 -1
- package/dist/public/assets/{_BWEWFDdh.js → _C4Y720OO.js} +1 -1
- package/dist/public/assets/_C4Y720OO.js.br +0 -0
- package/dist/public/assets/{_ChEePKsL.js → _C7PSMYJs.js} +1 -1
- package/dist/public/assets/_C7PSMYJs.js.br +0 -0
- package/dist/public/assets/{_BXBAlZRb.js → _CCIN6X06.js} +1 -1
- package/dist/public/assets/_CCIN6X06.js.br +0 -0
- package/dist/public/assets/{_Dg_13haB.js → _CFggeVG6.js} +1 -1
- package/dist/public/assets/_CFggeVG6.js.br +0 -0
- package/dist/public/assets/{_BnJsDtAt.js → _CKxp-ONU.js} +1 -1
- package/dist/public/assets/_CKxp-ONU.js.br +0 -0
- package/dist/public/assets/{_CqR_auoj.js → _CLZCTIA_.js} +1 -1
- package/dist/public/assets/_CLZCTIA_.js.br +0 -0
- package/dist/public/assets/{_D8ar8Pg82.js → _CNFCY1jn2.js} +1 -1
- package/dist/public/assets/{_Czz-MMTu.js → _CRCEsPci.js} +1 -1
- package/dist/public/assets/_CRCEsPci.js.br +0 -0
- package/dist/public/assets/{_DpdbhOXM.js → _CRucQQmw.js} +1 -1
- package/dist/public/assets/_CRucQQmw.js.br +0 -0
- package/dist/public/assets/{_B6N7XS-E2.js → _CT3sl0JO2.js} +1 -1
- package/dist/public/assets/_CT3sl0JO2.js.br +0 -0
- package/dist/public/assets/{_BoP77A_V.js → _CX5GSQ-I.js} +1 -1
- package/dist/public/assets/_CX5GSQ-I.js.br +0 -0
- package/dist/public/assets/{_h7Ns5sTj2.js → _Cc7yyasY2.js} +1 -1
- package/dist/public/assets/_Cc7yyasY2.js.br +0 -0
- package/dist/public/assets/{_CSj-Z7XJ.js → _CdIi88c9.js} +1 -1
- package/dist/public/assets/_CdIi88c9.js.br +0 -0
- package/dist/public/assets/{_bsQIR6eh.js → _ChicqFiW.js} +1 -1
- package/dist/public/assets/_ChicqFiW.js.br +0 -0
- package/dist/public/assets/{_B_TQEHF1.js → _Clx5s-FJ.js} +1 -1
- package/dist/public/assets/_Clx5s-FJ.js.br +0 -0
- package/dist/public/assets/{_BQ3Sbfev2.js → _CmuJjNdE2.js} +1 -1
- package/dist/public/assets/{_DkeimbxU.js → _Cn3z63nF.js} +1 -1
- package/dist/public/assets/_Cn3z63nF.js.br +0 -0
- package/dist/public/assets/{_BssKLycr2.js → _Co9NaFmf2.js} +1 -1
- package/dist/public/assets/_Co9NaFmf2.js.br +0 -0
- package/dist/public/assets/{_CnFFm3ju.js → _CuUXgKMe.js} +1 -1
- package/dist/public/assets/_CuUXgKMe.js.br +0 -0
- package/dist/public/assets/{_XOqmR7PZ.js → _Cx9nOZgC.js} +1 -1
- package/dist/public/assets/_Cx9nOZgC.js.br +0 -0
- package/dist/public/assets/{_C4UNGTaE.js → _CzanMhWk.js} +1 -1
- package/dist/public/assets/_CzanMhWk.js.br +0 -0
- package/dist/public/assets/{_Cfzqdxjh2.js → _D-SK8BwL2.js} +1 -1
- package/dist/public/assets/_D-SK8BwL2.js.br +0 -0
- package/dist/public/assets/{_hd2HONfp.js → _D1NB2_jG.js} +6 -6
- package/dist/public/assets/_D1NB2_jG.js.br +0 -0
- package/dist/public/assets/{_hJI7SmWv.js → _D4nk-T8f.js} +20 -20
- package/dist/public/assets/_D4nk-T8f.js.br +0 -0
- package/dist/public/assets/{_C6zuhH732.js → _DDHS9LUX2.js} +1 -1
- package/dist/public/assets/_DDHS9LUX2.js.br +0 -0
- package/dist/public/assets/{_BEyxQXzF2.js → _DEMbq_el2.js} +1 -1
- package/dist/public/assets/_DEMbq_el2.js.br +0 -0
- package/dist/public/assets/{_B0PcvEn-2.js → _DEsuWejQ2.js} +1 -1
- package/dist/public/assets/_DEsuWejQ2.js.br +0 -0
- package/dist/public/assets/{_DklnRVwW.js → _DFe4lHOD.js} +1 -1
- package/dist/public/assets/_DFe4lHOD.js.br +0 -0
- package/dist/public/assets/{_CqCS-TFj.js → _DJ-Aqdke.js} +1 -1
- package/dist/public/assets/_DJ-Aqdke.js.br +0 -0
- package/dist/public/assets/{_CmoosGH72.js → _DML6bFDl2.js} +1 -1
- package/dist/public/assets/_DML6bFDl2.js.br +0 -0
- package/dist/public/assets/{_BOb23Mxu2.js → _DNQ2MNaD2.js} +1 -1
- package/dist/public/assets/_DNQ2MNaD2.js.br +0 -0
- package/dist/public/assets/{_DdESkQx6.js → _DOh6efC-.js} +1 -1
- package/dist/public/assets/_DOh6efC-.js.br +0 -0
- package/dist/public/assets/{_CeTEgNI52.js → _DS3RjflW2.js} +1 -1
- package/dist/public/assets/_DS3RjflW2.js.br +0 -0
- package/dist/public/assets/{_DlZVWmxG.js → _DVwvtjCv.js} +1 -1
- package/dist/public/assets/_DVwvtjCv.js.br +0 -0
- package/dist/public/assets/{_Dq3JBUhI2.js → _DbBDq2j32.js} +1 -1
- package/dist/public/assets/_DbBDq2j32.js.br +0 -0
- package/dist/public/assets/{_J4NG9p8y2.js → _DfhdqIhr2.js} +1 -1
- package/dist/public/assets/_DfhdqIhr2.js.br +0 -0
- package/dist/public/assets/{_BMzyCCjh2.js → _DgEmFUpu2.js} +1 -1
- package/dist/public/assets/_DgEmFUpu2.js.br +0 -0
- package/dist/public/assets/{_BjiEroCJ2.js → _DhBYsUk72.js} +1 -1
- package/dist/public/assets/_DhBYsUk72.js.br +0 -0
- package/dist/public/assets/{_f0zKG2ng.js → _DnOz7d4b.js} +1 -1
- package/dist/public/assets/_DnOz7d4b.js.br +0 -0
- package/dist/public/assets/{_DMXIRb5J.js → _DwXf2pQ1.js} +1 -1
- package/dist/public/assets/_DwXf2pQ1.js.br +0 -0
- package/dist/public/assets/{_DMdTYxLu2.js → _HNN3arNH2.js} +1 -1
- package/dist/public/assets/_HNN3arNH2.js.br +0 -0
- package/dist/public/assets/{_C0Pe1By2.js → _IcgmyRGa.js} +1 -1
- package/dist/public/assets/_IcgmyRGa.js.br +0 -0
- package/dist/public/assets/{_OrSdK8GL.js → _Je1tk1xD.js} +1 -1
- package/dist/public/assets/_Je1tk1xD.js.br +0 -0
- package/dist/public/assets/{_B6suEvQQ.js → _LohRrLVB.js} +1 -1
- package/dist/public/assets/_LohRrLVB.js.br +0 -0
- package/dist/public/assets/{_DJ4WX01K.js → _PKA1Hpie.js} +1 -1
- package/dist/public/assets/_PKA1Hpie.js.br +0 -0
- package/dist/public/assets/{_CMv8_JTR.js → _ZdxrEY9r.js} +1 -1
- package/dist/public/assets/_ZdxrEY9r.js.br +0 -0
- package/dist/public/assets/{_GNPTJpcC2.js → __aTzeBpz2.js} +1 -1
- package/dist/public/assets/__aTzeBpz2.js.br +0 -0
- package/dist/public/assets/{_C7d5HpCI.js → _ax03flRa.js} +1 -1
- package/dist/public/assets/_ax03flRa.js.br +0 -0
- package/dist/public/assets/{_cG9lxcwh.js → _fykxNNOE.js} +1 -1
- package/dist/public/assets/_fykxNNOE.js.br +0 -0
- package/dist/public/assets/{_CjfD3eqt.js → _gv1nxzbM.js} +1 -1
- package/dist/public/assets/_gv1nxzbM.js.br +0 -0
- package/dist/public/assets/{_GLvdmbbN2.js → _i5Fl_1GP2.js} +1 -1
- package/dist/public/assets/_i5Fl_1GP2.js.br +0 -0
- package/dist/public/assets/{_DZqXZ3e5.js → _j-gweiPd.js} +1 -1
- package/dist/public/assets/_j-gweiPd.js.br +0 -0
- package/dist/public/assets/{_B0qmVjen.js → _piQSsSYC.js} +1 -1
- package/dist/public/assets/_piQSsSYC.js.br +0 -0
- package/dist/public/assets/{_Ctz_CMRN.js → _qcjRMVcV.js} +1 -1
- package/dist/public/assets/_qcjRMVcV.js.br +0 -0
- package/dist/public/assets/{_C9VpnMv8.js → _rMjBCCAH.js} +1 -1
- package/dist/public/assets/_rMjBCCAH.js.br +0 -0
- package/dist/public/assets/{_CxPP5Bqs.js → _uS_Hw2OQ.js} +1 -1
- package/dist/public/assets/_uS_Hw2OQ.js.br +0 -0
- package/dist/public/assets/{_tjzlONDb2.js → _wpv1gKlN2.js} +1 -1
- package/dist/public/assets/_wpv1gKlN2.js.br +0 -0
- package/dist/public/assets/app-page-DmG8xzGs.css +1 -0
- package/dist/public/assets/app-page-DmG8xzGs.css.br +0 -0
- package/dist/public/assets/diff-view-BIcFG_jN.css +1 -0
- package/dist/public/assets/diff-view-BIcFG_jN.css.br +0 -0
- package/dist/public/assets/new-UbjAS00i.js +1 -0
- package/dist/public/assets/settings-UbjAS00i.js +1 -0
- package/dist/public/assets/w-UbjAS00i.js +1 -0
- package/dist/public/assets/w._-DezkAdF7.js +1 -0
- package/dist/public/assets/w._-UbjAS00i.js +1 -0
- package/package.json +1 -1
- package/dist/public/assets/_5nMs3hE8.js.br +0 -0
- package/dist/public/assets/_B0PcvEn-2.js.br +0 -0
- package/dist/public/assets/_B0qmVjen.js.br +0 -0
- package/dist/public/assets/_B6N7XS-E2.js.br +0 -0
- package/dist/public/assets/_B6suEvQQ.js.br +0 -0
- package/dist/public/assets/_BCLA5mzd.js.br +0 -0
- package/dist/public/assets/_BEyxQXzF2.js.br +0 -0
- package/dist/public/assets/_BMzyCCjh2.js.br +0 -0
- package/dist/public/assets/_BOb23Mxu2.js.br +0 -0
- package/dist/public/assets/_BWEWFDdh.js.br +0 -0
- package/dist/public/assets/_BXBAlZRb.js.br +0 -0
- package/dist/public/assets/_B_TQEHF1.js.br +0 -0
- package/dist/public/assets/_Bj4YaGbW.js.br +0 -0
- package/dist/public/assets/_BjiEroCJ2.js.br +0 -0
- package/dist/public/assets/_BnBX-rho.js.br +0 -0
- package/dist/public/assets/_BnJsDtAt.js.br +0 -0
- package/dist/public/assets/_BoP77A_V.js.br +0 -0
- package/dist/public/assets/_BssKLycr2.js.br +0 -0
- package/dist/public/assets/_C0Pe1By2.js.br +0 -0
- package/dist/public/assets/_C4UNGTaE.js.br +0 -0
- package/dist/public/assets/_C6zuhH732.js.br +0 -0
- package/dist/public/assets/_C7d5HpCI.js.br +0 -0
- package/dist/public/assets/_C9VpnMv8.js.br +0 -0
- package/dist/public/assets/_CB0XIEp7.js.br +0 -0
- package/dist/public/assets/_CBI5dWW1.js.br +0 -0
- package/dist/public/assets/_CF37bG-Q2.js.br +0 -0
- package/dist/public/assets/_CIo8CLly.js.br +0 -0
- package/dist/public/assets/_CMv8_JTR.js.br +0 -0
- package/dist/public/assets/_CSj-Z7XJ.js.br +0 -0
- package/dist/public/assets/_CeTEgNI52.js.br +0 -0
- package/dist/public/assets/_Cfzqdxjh2.js.br +0 -0
- package/dist/public/assets/_ChEePKsL.js.br +0 -0
- package/dist/public/assets/_CjfD3eqt.js.br +0 -0
- package/dist/public/assets/_CmoosGH72.js.br +0 -0
- package/dist/public/assets/_CnFFm3ju.js.br +0 -0
- package/dist/public/assets/_CqCS-TFj.js.br +0 -0
- package/dist/public/assets/_CqR_auoj.js.br +0 -0
- package/dist/public/assets/_Ctz_CMRN.js.br +0 -0
- package/dist/public/assets/_CxPP5Bqs.js.br +0 -0
- package/dist/public/assets/_Czz-MMTu.js.br +0 -0
- package/dist/public/assets/_DBU5qokm.js.br +0 -0
- package/dist/public/assets/_DBhOhjp-.js.br +0 -0
- package/dist/public/assets/_DJ4WX01K.js.br +0 -0
- package/dist/public/assets/_DMXIRb5J.js.br +0 -0
- package/dist/public/assets/_DMdTYxLu2.js.br +0 -0
- package/dist/public/assets/_DQ_O5Kdu.js.br +0 -0
- package/dist/public/assets/_DZqXZ3e5.js.br +0 -0
- package/dist/public/assets/_DdESkQx6.js.br +0 -0
- package/dist/public/assets/_Dg_13haB.js.br +0 -0
- package/dist/public/assets/_DkeimbxU.js.br +0 -0
- package/dist/public/assets/_DklnRVwW.js.br +0 -0
- package/dist/public/assets/_DlZVWmxG.js.br +0 -0
- package/dist/public/assets/_Dl_xIwGY.js.br +0 -0
- package/dist/public/assets/_DpdbhOXM.js.br +0 -0
- package/dist/public/assets/_Dq3JBUhI2.js.br +0 -0
- package/dist/public/assets/_Dw3-4lzD.js.br +0 -0
- package/dist/public/assets/_El-gnioo.js.br +0 -0
- package/dist/public/assets/_GLvdmbbN2.js.br +0 -0
- package/dist/public/assets/_GNPTJpcC2.js.br +0 -0
- package/dist/public/assets/_J4NG9p8y2.js.br +0 -0
- package/dist/public/assets/_M9tReZxn.js.br +0 -0
- package/dist/public/assets/_Ma0bP4Xx2.js.br +0 -0
- package/dist/public/assets/_OrSdK8GL.js.br +0 -0
- package/dist/public/assets/_XOqmR7PZ.js.br +0 -0
- package/dist/public/assets/_bsQIR6eh.js.br +0 -0
- package/dist/public/assets/_cG9lxcwh.js.br +0 -0
- package/dist/public/assets/_f0zKG2ng.js.br +0 -0
- package/dist/public/assets/_fB1Jk0Pw2.js.br +0 -0
- package/dist/public/assets/_h7Ns5sTj2.js.br +0 -0
- package/dist/public/assets/_hJI7SmWv.js.br +0 -0
- package/dist/public/assets/_hd2HONfp.js.br +0 -0
- package/dist/public/assets/_mrdnqgxh2.js.br +0 -0
- package/dist/public/assets/_tjzlONDb2.js.br +0 -0
- package/dist/public/assets/app-page-IaztMdEL.css +0 -1
- package/dist/public/assets/app-page-IaztMdEL.css.br +0 -0
- package/dist/public/assets/diff-view-BrKiFH5B.css +0 -1
- package/dist/public/assets/diff-view-BrKiFH5B.css.br +0 -0
- package/dist/public/assets/new-U29Wfg5O.js +0 -1
- package/dist/public/assets/settings-U29Wfg5O.js +0 -1
- package/dist/public/assets/w-U29Wfg5O.js +0 -1
- package/dist/public/assets/w._-Canrberm.js +0 -1
- package/dist/public/assets/w._-U29Wfg5O.js +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./_BMI-E3GI.js";
|
|
2
2
|
import { $ as setSetting, A as setScrapedPhase, B as saveSubscription, C as agentBadge, D as agentMeta, E as agentLabel, F as manifest, G as agentChoices, H as subscribe, I as normalizeAccent, J as enabledAgents, K as allPrefs, L as setInstance, M as ACCENT_RE, N as getInstance, O as clearAgentPhase, P as iconSvg, Q as setPref, R as deleteSubscription, S as blankRow, T as agentFromCommand, U as subscriberCount, V as publish, W as subscriberJoins, X as preferredAgent, Y as getSetting, Z as setDisabledAgents, _ as tmuxName, _t as tmux, a as ensureTmuxServer, at as DEFAULT_GITHUB_HOST, b as readHookPayload, c as killWorkspaceSessions, ct as toolById, d as newSessionArgs, dt as get, et as doctor, ft as workspacePath, g as sessionStates, gt as run, h as sendToSession, ht as git, i as disposeSessions, it as which, j as setSessionViewers, k as setAgentPhase, l as listSessions, lt as all, m as renameSession, mt as gh, n as clearTmuxStarted, nt as miseVersions, o as getSession, ot as TOOLS, p as panePids, pt as TMUX_SOCKET, q as disabledAgents, r as createSession, rt as setupPath, s as killSession, st as agentById, t as cleanEnv, tt as ghKnownHosts, u as markTmuxStarted, ut as db, v as tmuxWasStarted, vt as config, w as agentFamily, x as reportsWorking, y as AGENTS, z as pushPublicKey } from "./_DYjQjuVZ.js";
|
|
3
|
-
import { $ as _el_resume, A as iconBtnRow, B as _attr_input_value, C as icon_base_default, Ct as _trailers, D as btnLg, Dt as withPageAssets, E as setPrimaryHost, Et as attrTag, F as tone, G as _attrs, H as _attr_or, I as $global, J as _content, K as _attrs_partial, L as _attr, M as inputLg, N as metaTrunc, O as btnSm, Ot as writeScope, P as phase, Q as _el_read_error, R as _attr_class, S as icon_xmark_default, St as _to_text, T as repoWebUrl$1, Tt as _var, U as _attr_select_value, V as _attr_option_value, W as _attr_style, X as _dynamic_tag, Y as _content_resume, _ as icon_refresh_default, _t as _serialize_guard, at as _hoist_read_error, b as sectionCount$1, bt as _subscribe, ct as _if, d as sideNavOpen, dt as _resume_branch, et as _escape, f as workspaceTab, ft as _scope_id, g as icon_back_default, gt as _sep, h as icon_search_default, ht as _script, it as _hoist, j as iconBtnXs, lt as _peek_scope_id, m as rankRepos, mt as _scope_with_id, n as findInput, nt as _flush_head, ot as _html, pt as _scope_reason, q as _await, r as icon_sidebar_default, rt as _for_of, st as _id, t as findIconBtn, tt as _existing_scope, u as setWorkspaceTab, ut as _resume, v as iconBtn$2, vt as _serialize_if, w as repoLabel, wt as _try, x as toast_default, xt as _template, y as row, yt as _set_serialize_reason } from "./
|
|
3
|
+
import { $ as _el_resume, A as iconBtnRow, B as _attr_input_value, C as icon_base_default, Ct as _trailers, D as btnLg, Dt as withPageAssets, E as setPrimaryHost, Et as attrTag, F as tone, G as _attrs, H as _attr_or, I as $global, J as _content, K as _attrs_partial, L as _attr, M as inputLg, N as metaTrunc, O as btnSm, Ot as writeScope, P as phase, Q as _el_read_error, R as _attr_class, S as icon_xmark_default, St as _to_text, T as repoWebUrl$1, Tt as _var, U as _attr_select_value, V as _attr_option_value, W as _attr_style, X as _dynamic_tag, Y as _content_resume, _ as icon_refresh_default, _t as _serialize_guard, at as _hoist_read_error, b as sectionCount$1, bt as _subscribe, ct as _if, d as sideNavOpen, dt as _resume_branch, et as _escape, f as workspaceTab, ft as _scope_id, g as icon_back_default, gt as _sep, h as icon_search_default, ht as _script, it as _hoist, j as iconBtnXs, lt as _peek_scope_id, m as rankRepos, mt as _scope_with_id, n as findInput, nt as _flush_head, ot as _html, pt as _scope_reason, q as _await, r as icon_sidebar_default, rt as _for_of, st as _id, t as findIconBtn, tt as _existing_scope, u as setWorkspaceTab, ut as _resume, v as iconBtn$2, vt as _serialize_if, w as repoLabel, wt as _try, x as toast_default, xt as _template, y as row, yt as _set_serialize_reason } from "./_D1lZyfhn.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { createServer } from "node:http";
|
|
6
6
|
import path from "node:path";
|
|
@@ -3185,26 +3185,26 @@ function applyInstance(inst) {
|
|
|
3185
3185
|
}
|
|
3186
3186
|
//#endregion
|
|
3187
3187
|
//#region src/tags/settings-page.css.ts
|
|
3188
|
-
var content$2 = "
|
|
3189
|
-
var agentGrid = "
|
|
3190
|
-
var toolGrid = "
|
|
3188
|
+
var content$2 = "_bI _bk _bl";
|
|
3189
|
+
var agentGrid = "_bM _bv";
|
|
3190
|
+
var toolGrid = "_bW _bv";
|
|
3191
3191
|
//#endregion
|
|
3192
3192
|
//#region src/tags/page-head.marko
|
|
3193
3193
|
var page_head_default = _template("p", (input) => {
|
|
3194
3194
|
const $scope0_reason = _scope_reason(), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions = _serialize_guard($scope0_reason, 3), $sg__input_meta = _serialize_guard($scope0_reason, 6), $sg__input_actions = _serialize_guard($scope0_reason, 7), $si__input_backHref__OR__input_onBack = _serialize_if($scope0_reason, 1), $si__input_meta = _serialize_if($scope0_reason, 6), $si__input_actions = _serialize_if($scope0_reason, 7);
|
|
3195
3195
|
const $scope0_id = _scope_id();
|
|
3196
|
-
_html(`<header${_attr_class("
|
|
3196
|
+
_html(`<header${_attr_class("_bm")}>`);
|
|
3197
3197
|
_if(() => {
|
|
3198
3198
|
if (input.backHref) {
|
|
3199
3199
|
const $scope1_id = _scope_id();
|
|
3200
|
-
_html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "
|
|
3200
|
+
_html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_em"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
3201
3201
|
icon_back_default({ size: 16 });
|
|
3202
3202
|
_html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 0))}`);
|
|
3203
3203
|
_serialize_if($scope0_reason, 2) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 0) && _scope_with_id($scope0_id) });
|
|
3204
3204
|
return 0;
|
|
3205
3205
|
} else if (input.onBack) {
|
|
3206
3206
|
const $scope2_id = _scope_id();
|
|
3207
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
3207
|
+
_html(`<button${_attr_class([iconBtnRow, "_em"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
3208
3208
|
icon_back_default({ size: 16 });
|
|
3209
3209
|
_html(`</button>${_el_resume($scope2_id, "a")}`);
|
|
3210
3210
|
_script($scope2_id, "p0");
|
|
@@ -3212,11 +3212,11 @@ var page_head_default = _template("p", (input) => {
|
|
|
3212
3212
|
return 1;
|
|
3213
3213
|
}
|
|
3214
3214
|
}, $scope0_id, "b", _serialize_guard($scope0_reason, 2), _serialize_guard($scope0_reason, 1), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions, 0, 1);
|
|
3215
|
-
_html(`<div${_attr_class("
|
|
3215
|
+
_html(`<div${_attr_class("_bo")}><h1${_attr("id", input.titleId)}${_attr_class("_bn")}>${_escape(input.title)}${_el_resume($scope0_id, "e", _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
|
|
3216
3216
|
_if(() => {
|
|
3217
3217
|
if (input.meta) {
|
|
3218
3218
|
const $scope3_id = _scope_id();
|
|
3219
|
-
_html(`<p${_attr_class("
|
|
3219
|
+
_html(`<p${_attr_class("_bp")}>`);
|
|
3220
3220
|
_dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
|
|
3221
3221
|
_html("</p>");
|
|
3222
3222
|
$si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -3227,7 +3227,7 @@ var page_head_default = _template("p", (input) => {
|
|
|
3227
3227
|
_if(() => {
|
|
3228
3228
|
if (input.actions) {
|
|
3229
3229
|
const $scope4_id = _scope_id();
|
|
3230
|
-
_html(`<div${_attr_class("
|
|
3230
|
+
_html(`<div${_attr_class("_bq")}>`);
|
|
3231
3231
|
_dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
3232
3232
|
_html("</div>");
|
|
3233
3233
|
$si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -3295,7 +3295,7 @@ var icon_agent_default = _template("D", (input) => {
|
|
|
3295
3295
|
n: $badge__closures
|
|
3296
3296
|
});
|
|
3297
3297
|
});
|
|
3298
|
-
var usageNote = "
|
|
3298
|
+
var usageNote = "_d4 _S";
|
|
3299
3299
|
//#endregion
|
|
3300
3300
|
//#region src/tags/usage-meters.marko
|
|
3301
3301
|
function duration(ms) {
|
|
@@ -3319,11 +3319,11 @@ var usage_meters_default = _template("A", (input) => {
|
|
|
3319
3319
|
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);
|
|
3320
3320
|
const $scope0_id = _scope_id();
|
|
3321
3321
|
const agent = input.agent;
|
|
3322
|
-
_html(`<div${_attr_class(["
|
|
3322
|
+
_html(`<div${_attr_class(["_dY", { ["_dZ"]: input.hideName }])}><div${_attr_class("_d0")}>`);
|
|
3323
3323
|
_if(() => {
|
|
3324
3324
|
if (!input.hideName) {
|
|
3325
3325
|
const $scope1_id = _scope_id();
|
|
3326
|
-
_html(`<strong${_attr_class("
|
|
3326
|
+
_html(`<strong${_attr_class("_ei")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
|
|
3327
3327
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
3328
3328
|
return 0;
|
|
3329
3329
|
}
|
|
@@ -3331,7 +3331,7 @@ var usage_meters_default = _template("A", (input) => {
|
|
|
3331
3331
|
_if(() => {
|
|
3332
3332
|
if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
|
|
3333
3333
|
const $scope2_id = _scope_id();
|
|
3334
|
-
_html(`<span${_attr_class("
|
|
3334
|
+
_html(`<span${_attr_class("_d1")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
|
|
3335
3335
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
3336
3336
|
return 0;
|
|
3337
3337
|
}
|
|
@@ -3339,19 +3339,19 @@ var usage_meters_default = _template("A", (input) => {
|
|
|
3339
3339
|
_if(() => {
|
|
3340
3340
|
if (agent.stale_seconds != null) {
|
|
3341
3341
|
const $scope3_id = _scope_id();
|
|
3342
|
-
_html(`<span${_attr_class("
|
|
3342
|
+
_html(`<span${_attr_class("_d2")}${_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)}`);
|
|
3343
3343
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
3344
3344
|
return 0;
|
|
3345
3345
|
}
|
|
3346
3346
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
3347
|
-
_html(`</div><div${_attr_class(["
|
|
3347
|
+
_html(`</div><div${_attr_class(["_d3", { ["_ej"]: agent.stale_seconds != null }])}>`);
|
|
3348
3348
|
_for_of(agent.windows || [], (win) => {
|
|
3349
3349
|
const $scope4_id = _scope_id();
|
|
3350
3350
|
const pct = pctText$1(win.used_percent);
|
|
3351
3351
|
const label = resetLabel(win.resets_at, agent.stale_seconds != null);
|
|
3352
|
-
const fillClass = win.used_percent >= 90 ? "
|
|
3353
|
-
const pctClass = win.used_percent >= 90 ? "
|
|
3354
|
-
_html(`<div${_attr_class("
|
|
3352
|
+
const fillClass = win.used_percent >= 90 ? "_eb" : win.used_percent >= 70 ? "_ea" : win.used_percent >= 40 ? "_d_" : "_d9";
|
|
3353
|
+
const pctClass = win.used_percent >= 90 ? "_eg" : win.used_percent >= 70 ? "_ef" : win.used_percent >= 40 ? "_ee" : "_ed";
|
|
3354
|
+
_html(`<div${_attr_class("_d5")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_d6")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_d7")}><span${_attr_class(["_d8", 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(["_ec", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_eh")}>${label ? `↻ ${_escape(`${_to_text(label)}`)}` : ""}${_el_resume($scope4_id, "i", $sg__input_agent)}</span></div>${_el_resume($scope4_id, "a", $sg__input_agent)}`);
|
|
3355
3355
|
$si__input_agent && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
3356
3356
|
}, "window", $scope0_id, "g", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
3357
3357
|
_if(() => {
|
|
@@ -3410,7 +3410,7 @@ var modal_view_default = _template("n", (input) => {
|
|
|
3410
3410
|
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;
|
|
3411
3411
|
const dismissable = input.dismissable !== false;
|
|
3412
3412
|
let open = input.open;
|
|
3413
|
-
_html(`<dialog${_attr_class(["
|
|
3413
|
+
_html(`<dialog${_attr_class(["_gm", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
|
|
3414
3414
|
...htmlInput,
|
|
3415
3415
|
open: null
|
|
3416
3416
|
}, {
|
|
@@ -3420,20 +3420,20 @@ var modal_view_default = _template("n", (input) => {
|
|
|
3420
3420
|
closedby: 1,
|
|
3421
3421
|
"on-cancel": 1,
|
|
3422
3422
|
"on-close": 1
|
|
3423
|
-
}, "a", $scope0_id, "dialog")}><div${_attr_class("
|
|
3423
|
+
}, "a", $scope0_id, "dialog")}><div${_attr_class("_gn")}>`);
|
|
3424
3424
|
_dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
|
|
3425
3425
|
_html("</div>");
|
|
3426
3426
|
_if(() => {
|
|
3427
3427
|
if (footer) {
|
|
3428
3428
|
const $scope1_id = _scope_id();
|
|
3429
|
-
_html(`<form method=dialog${_attr_class("
|
|
3429
|
+
_html(`<form method=dialog${_attr_class("_go")}>`);
|
|
3430
3430
|
_dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
|
|
3431
3431
|
_html("</form>");
|
|
3432
3432
|
$si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
|
|
3433
3433
|
return 0;
|
|
3434
3434
|
} else if (input.openChange) {
|
|
3435
3435
|
const $scope2_id = _scope_id();
|
|
3436
|
-
_html(`<form method=dialog${_attr_class("
|
|
3436
|
+
_html(`<form method=dialog${_attr_class("_go")}>`);
|
|
3437
3437
|
dialog_close_default({
|
|
3438
3438
|
class: ["_o", "_p"],
|
|
3439
3439
|
content: _content("n0", () => {
|
|
@@ -3492,7 +3492,7 @@ var prompt_dialog_default = _template("q", (input) => {
|
|
|
3492
3492
|
const $childScope = _peek_scope_id();
|
|
3493
3493
|
modal_view_default({
|
|
3494
3494
|
label: input.label,
|
|
3495
|
-
class: "
|
|
3495
|
+
class: "_ek",
|
|
3496
3496
|
open: input.open,
|
|
3497
3497
|
openChange: input.openChange,
|
|
3498
3498
|
"aria-labelledby": titleId,
|
|
@@ -3515,7 +3515,7 @@ var prompt_dialog_default = _template("q", (input) => {
|
|
|
3515
3515
|
content: _content("q6", () => {
|
|
3516
3516
|
_scope_reason();
|
|
3517
3517
|
const $scope2_id = _scope_id();
|
|
3518
|
-
_html(`<h2${_attr_class("
|
|
3518
|
+
_html(`<h2${_attr_class("_el")}${_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) => {
|
|
3519
3519
|
value = _new_value;
|
|
3520
3520
|
}, "q0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
|
|
3521
3521
|
_script($scope2_id, "q4");
|
|
@@ -3816,7 +3816,7 @@ var settings_page_default = _template("t", (input) => {
|
|
|
3816
3816
|
const appearanceId = _id();
|
|
3817
3817
|
const githubId = _id();
|
|
3818
3818
|
const machineId = _id();
|
|
3819
|
-
_html(`<div${_attr_class("
|
|
3819
|
+
_html(`<div${_attr_class("_bi")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bj")}><div${_attr_class(content$2)}>`);
|
|
3820
3820
|
_set_serialize_reason({
|
|
3821
3821
|
0: _serialize_guard($scope0_reason, 3),
|
|
3822
3822
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -3840,12 +3840,12 @@ var settings_page_default = _template("t", (input) => {
|
|
|
3840
3840
|
return 0;
|
|
3841
3841
|
} else if (setup.ready) {
|
|
3842
3842
|
const $scope47_id = _scope_id();
|
|
3843
|
-
_html(`<span${_attr_class("
|
|
3843
|
+
_html(`<span${_attr_class("_bK")}>Ready</span>. Tools, GitHub, and an agent are all in place.`);
|
|
3844
3844
|
writeScope($scope47_id, {});
|
|
3845
3845
|
return 1;
|
|
3846
3846
|
} else {
|
|
3847
3847
|
const $scope6_id = _scope_id();
|
|
3848
|
-
_html(`<span${_attr_class("
|
|
3848
|
+
_html(`<span${_attr_class("_bL")}>Not ready</span>. Missing <!>${_escape(setup.missing.map((m) => MISSING_LABEL[m] || m).join(", "))}${_el_resume($scope6_id, "b")}.`);
|
|
3849
3849
|
_subscribe($setup_missing__closures, writeScope($scope6_id, {}));
|
|
3850
3850
|
return 2;
|
|
3851
3851
|
}
|
|
@@ -3892,11 +3892,11 @@ var settings_page_default = _template("t", (input) => {
|
|
|
3892
3892
|
return 0;
|
|
3893
3893
|
}
|
|
3894
3894
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
3895
|
-
_html(`<section${_attr_class("
|
|
3895
|
+
_html(`<section${_attr_class("_bs")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bt")}><h2${_attr("id", agentsId)}${_attr_class("_bH")}>Agents</h2><div${_attr_class("_y")}></div><label${_attr_class("_bO")}><span${_attr_class("_S")}>Default</span><span${_attr_class("_m")}>`);
|
|
3896
3896
|
_attr_select_value($scope0_id, "m", input.preferred, _resume(function(v) {
|
|
3897
3897
|
setPreferred(v);
|
|
3898
3898
|
}, "t1", $scope0_id), () => {
|
|
3899
|
-
_html(`<select${_attr_class(["_n", "
|
|
3899
|
+
_html(`<select${_attr_class(["_n", "_bP"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
|
|
3900
3900
|
_for_of(input.agents.filter((a) => a !== "shell"), (id) => {
|
|
3901
3901
|
const $scope48_id = _scope_id();
|
|
3902
3902
|
_html(`<option${_attr_option_value(id)}>${_escape(agentLabel(id))}${_el_resume($scope48_id, "b", $sg__input_agents)}</option>${_el_resume($scope48_id, "a", $sg__input_agents)}`);
|
|
@@ -3917,14 +3917,14 @@ var settings_page_default = _template("t", (input) => {
|
|
|
3917
3917
|
const rows = lone ? [] : a.instances;
|
|
3918
3918
|
const loneAccounts = lone && lone.enabled ? accountsFor(lone.id) : [];
|
|
3919
3919
|
const extraAccounts = a.installed ? strayAccountsFor(a) : [];
|
|
3920
|
-
_html(`<li${_attr_class(["
|
|
3920
|
+
_html(`<li${_attr_class(["_bx", "_bN"])}><div${_attr_class(["_bQ", { ["_bT"]: lone && !lone.enabled }])}>`);
|
|
3921
3921
|
_set_serialize_reason(12);
|
|
3922
3922
|
const $childScope4 = _peek_scope_id();
|
|
3923
3923
|
icon_agent_default({
|
|
3924
3924
|
agent: a.id,
|
|
3925
3925
|
size: 18
|
|
3926
3926
|
});
|
|
3927
|
-
_html(`<div${_attr_class("
|
|
3927
|
+
_html(`<div${_attr_class("_by")}><span${_attr_class("_bA")}><span${_attr_class("_bz")}>${_escape(a.label)}${_el_resume($scope1_id, "g")}</span>`);
|
|
3928
3928
|
_if(() => {
|
|
3929
3929
|
if (lone && input.preferred === lone.id) {
|
|
3930
3930
|
const $scope49_id = _scope_id();
|
|
@@ -3937,12 +3937,12 @@ var settings_page_default = _template("t", (input) => {
|
|
|
3937
3937
|
_if(() => {
|
|
3938
3938
|
if (active.has(a.id)) {
|
|
3939
3939
|
const $scope11_id = _scope_id();
|
|
3940
|
-
_html(`<span${_attr_class("
|
|
3940
|
+
_html(`<span${_attr_class("_bJ")}><span${_attr_class("_F")}></span><!>${_escape(active.get(a.id) || "Starting…")}${_el_resume($scope11_id, "c")}</span>`);
|
|
3941
3941
|
_subscribe($active__closures, writeScope($scope11_id, {}));
|
|
3942
3942
|
return 0;
|
|
3943
3943
|
} else if (!a.installed) {
|
|
3944
3944
|
const $scope50_id = _scope_id();
|
|
3945
|
-
_html(`<span${_attr_class("
|
|
3945
|
+
_html(`<span${_attr_class("_bB")}>Not installed</span>`);
|
|
3946
3946
|
writeScope($scope50_id, {});
|
|
3947
3947
|
return 1;
|
|
3948
3948
|
}
|
|
@@ -3974,18 +3974,18 @@ var settings_page_default = _template("t", (input) => {
|
|
|
3974
3974
|
_if(() => {
|
|
3975
3975
|
if (rows.length || loneAccounts.length || extraAccounts.length) {
|
|
3976
3976
|
const $scope2_id = _scope_id();
|
|
3977
|
-
_html(`<ul${_attr_class("
|
|
3977
|
+
_html(`<ul${_attr_class("_bV")}>`);
|
|
3978
3978
|
_for_of(rows, (inst) => {
|
|
3979
3979
|
const $scope3_id = _scope_id();
|
|
3980
3980
|
const accounts = inst.enabled ? accountsFor(inst.id) : [];
|
|
3981
|
-
_html(`<li${_attr_class("
|
|
3981
|
+
_html(`<li${_attr_class("_bR")}><div${_attr_class(["_bS", { ["_bT"]: !inst.enabled }])}>`);
|
|
3982
3982
|
_set_serialize_reason(12);
|
|
3983
3983
|
const $childScope5 = _peek_scope_id();
|
|
3984
3984
|
icon_agent_default({
|
|
3985
3985
|
agent: inst.id,
|
|
3986
3986
|
size: 15
|
|
3987
3987
|
});
|
|
3988
|
-
_html(`<span${_attr_class(["
|
|
3988
|
+
_html(`<span${_attr_class(["_bU", "_x"])}>${_escape(inst.command)}${_el_resume($scope3_id, "e")}</span>`);
|
|
3989
3989
|
_if(() => {
|
|
3990
3990
|
if (input.preferred === inst.id) {
|
|
3991
3991
|
const $scope51_id = _scope_id();
|
|
@@ -4060,7 +4060,7 @@ var settings_page_default = _template("t", (input) => {
|
|
|
4060
4060
|
}, "id", $scope0_id, "q", 1, 1, 1, 0, 1);
|
|
4061
4061
|
_for_of(otherUsage, (u) => {
|
|
4062
4062
|
const $scope55_id = _scope_id();
|
|
4063
|
-
_html(`<li${_attr_class(["
|
|
4063
|
+
_html(`<li${_attr_class(["_bx", "_bN"])}>`);
|
|
4064
4064
|
_set_serialize_reason(6);
|
|
4065
4065
|
const $childScope9 = _peek_scope_id();
|
|
4066
4066
|
usage_meters_default({ agent: u });
|
|
@@ -4071,21 +4071,21 @@ var settings_page_default = _template("t", (input) => {
|
|
|
4071
4071
|
_if(() => {
|
|
4072
4072
|
if (!usage && families.length) {
|
|
4073
4073
|
const $scope56_id = _scope_id();
|
|
4074
|
-
_html(`<p${_attr_class("
|
|
4074
|
+
_html(`<p${_attr_class("_bD")}><span${_attr_class("_F")}></span> Loading usage…</p>`);
|
|
4075
4075
|
writeScope($scope56_id, {});
|
|
4076
4076
|
return 0;
|
|
4077
4077
|
} else if (usage?.error) {
|
|
4078
4078
|
const $scope7_id = _scope_id();
|
|
4079
|
-
_html(`<p${_attr_class("
|
|
4079
|
+
_html(`<p${_attr_class("_bD")}>${_escape(usage.error)}${_el_resume($scope7_id, "b")}</p>`);
|
|
4080
4080
|
writeScope($scope7_id, {});
|
|
4081
4081
|
return 1;
|
|
4082
4082
|
}
|
|
4083
4083
|
}, $scope0_id, "s", 1, 1, 1, 0, 1);
|
|
4084
|
-
_html(`</section><section${_attr_class("
|
|
4084
|
+
_html(`</section><section${_attr_class("_bs")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bt")}><h2${_attr("id", githubId)}${_attr_class("_bH")}>GitHub</h2></div><ul${_attr_class("_bv")}>`);
|
|
4085
4085
|
_for_of(setup?.github || [], (h) => {
|
|
4086
4086
|
const $scope12_id = _scope_id();
|
|
4087
4087
|
const $for_content4__h_host__closures = /* @__PURE__ */ new Set();
|
|
4088
|
-
_html(`<li${_attr_class("
|
|
4088
|
+
_html(`<li${_attr_class("_bx")}><div${_attr_class("_by")}><span${_attr_class("_bA")}><span${_attr_class(["_bz", "_x"])}>${_escape(h.host)}${_el_resume($scope12_id, "e")}</span>`);
|
|
4089
4089
|
_if(() => {
|
|
4090
4090
|
if (h.isEnterprise) {
|
|
4091
4091
|
const $scope59_id = _scope_id();
|
|
@@ -4098,22 +4098,22 @@ var settings_page_default = _template("t", (input) => {
|
|
|
4098
4098
|
_if(() => {
|
|
4099
4099
|
if (active.has(h.host) && authCodes.has(h.host)) {
|
|
4100
4100
|
const $scope23_id = _scope_id();
|
|
4101
|
-
_html(`<span${_attr_class("
|
|
4101
|
+
_html(`<span${_attr_class("_bJ")}><span${_attr_class("_F")}></span> Enter code <strong${_attr_class("_b3")}>${_escape(authCodes.get(h.host))}${_el_resume($scope23_id, "d")}</strong> at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_b4")}>${_escape(h.host)}${_el_resume($scope23_id, "f")}/login/device</a>${_el_resume($scope23_id, "e")}</span>`);
|
|
4102
4102
|
_subscribe($authCodes__closures, writeScope($scope23_id, {}));
|
|
4103
4103
|
return 0;
|
|
4104
4104
|
} else if (active.has(h.host)) {
|
|
4105
4105
|
const $scope13_id = _scope_id();
|
|
4106
|
-
_html(`<span${_attr_class("
|
|
4106
|
+
_html(`<span${_attr_class("_bJ")}><span${_attr_class("_F")}></span><!>${_escape(active.get(h.host) || "Starting…")}${_el_resume($scope13_id, "c")}</span>`);
|
|
4107
4107
|
_subscribe($active__closures, writeScope($scope13_id, { Cdo: 1 }));
|
|
4108
4108
|
return 1;
|
|
4109
4109
|
} else if (h.authed) {
|
|
4110
4110
|
const $scope57_id = _scope_id();
|
|
4111
|
-
_html(`<span${_attr_class("
|
|
4111
|
+
_html(`<span${_attr_class("_bB")}>Signed in<!>${h.user ? ` as ${_escape(`${_to_text(h.user)}`)}` : ""}${_el_resume($scope57_id, "b")}</span>`);
|
|
4112
4112
|
writeScope($scope57_id, {});
|
|
4113
4113
|
return 2;
|
|
4114
4114
|
} else {
|
|
4115
4115
|
const $scope58_id = _scope_id();
|
|
4116
|
-
_html(`<span${_attr_class("
|
|
4116
|
+
_html(`<span${_attr_class("_bB")}>${_escape(h.error || "Not signed in")}${_el_resume($scope58_id, "b")}</span>`);
|
|
4117
4117
|
writeScope($scope58_id, {});
|
|
4118
4118
|
return 3;
|
|
4119
4119
|
}
|
|
@@ -4144,7 +4144,7 @@ var settings_page_default = _template("t", (input) => {
|
|
|
4144
4144
|
if (h.isEnterprise) {
|
|
4145
4145
|
const $scope26_id = _scope_id();
|
|
4146
4146
|
_html(`<button${_attr_class([
|
|
4147
|
-
"
|
|
4147
|
+
"_bC",
|
|
4148
4148
|
"_2",
|
|
4149
4149
|
"_3",
|
|
4150
4150
|
{ ["_q"]: confirmingRemove === h.host }
|
|
@@ -4187,7 +4187,7 @@ var settings_page_default = _template("t", (input) => {
|
|
|
4187
4187
|
_if(() => {
|
|
4188
4188
|
if (setup && !setup.github.length) {
|
|
4189
4189
|
const $scope62_id = _scope_id();
|
|
4190
|
-
_html(`<p${_attr_class("
|
|
4190
|
+
_html(`<p${_attr_class("_bD")}>Install the GitHub CLI below to sign in.</p>`);
|
|
4191
4191
|
writeScope($scope62_id, {});
|
|
4192
4192
|
return 0;
|
|
4193
4193
|
}
|
|
@@ -4195,7 +4195,7 @@ var settings_page_default = _template("t", (input) => {
|
|
|
4195
4195
|
_if(() => {
|
|
4196
4196
|
if (setup) {
|
|
4197
4197
|
const $scope34_id = _scope_id();
|
|
4198
|
-
_html(`<form${_attr_class("
|
|
4198
|
+
_html(`<form${_attr_class("_b2")}><label${_attr_class("_W")}>`);
|
|
4199
4199
|
icon_plus_default({
|
|
4200
4200
|
size: 14,
|
|
4201
4201
|
class: "_X"
|
|
@@ -4208,7 +4208,7 @@ var settings_page_default = _template("t", (input) => {
|
|
|
4208
4208
|
return 0;
|
|
4209
4209
|
}
|
|
4210
4210
|
}, $scope0_id, "y", 1, 1, 1, 0, 1);
|
|
4211
|
-
_html(`</section><section${_attr_class("
|
|
4211
|
+
_html(`</section><section${_attr_class("_bs")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bt")}><h2${_attr("id", machineId)}${_attr_class("_bH")}>Machine</h2>`);
|
|
4212
4212
|
_if(() => {
|
|
4213
4213
|
if (missingCount) {
|
|
4214
4214
|
const $scope44_id = _scope_id();
|
|
@@ -4248,7 +4248,7 @@ var settings_page_default = _template("t", (input) => {
|
|
|
4248
4248
|
_if(() => {
|
|
4249
4249
|
if (setup && !setup.mise.installed) {
|
|
4250
4250
|
const $scope16_id = _scope_id();
|
|
4251
|
-
_html(`<p${_attr_class("
|
|
4251
|
+
_html(`<p${_attr_class("_bD")}>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($scope16_id, "c")}</button>${_el_resume($scope16_id, "b")}</p>`);
|
|
4252
4252
|
_script($scope16_id, "t40");
|
|
4253
4253
|
writeScope($scope16_id, {});
|
|
4254
4254
|
return 0;
|
|
@@ -4258,11 +4258,11 @@ var settings_page_default = _template("t", (input) => {
|
|
|
4258
4258
|
_if(() => {
|
|
4259
4259
|
if (self) {
|
|
4260
4260
|
const $scope36_id = _scope_id();
|
|
4261
|
-
_html(`<li${_attr_class(row)}><span${_attr_class(["
|
|
4261
|
+
_html(`<li${_attr_class(row)}><span${_attr_class(["_bY", "_x"])}>work</span>`);
|
|
4262
4262
|
_if(() => {
|
|
4263
4263
|
if (selfUpdating) {
|
|
4264
4264
|
const $scope63_id = _scope_id();
|
|
4265
|
-
_html(`<span${_attr_class("
|
|
4265
|
+
_html(`<span${_attr_class("_bJ")}><span${_attr_class("_F")}></span>Updating — the app restarts and reloads when it is done…</span>`);
|
|
4266
4266
|
writeScope($scope63_id, {});
|
|
4267
4267
|
return 0;
|
|
4268
4268
|
} else {
|
|
@@ -4276,7 +4276,7 @@ var settings_page_default = _template("t", (input) => {
|
|
|
4276
4276
|
return 0;
|
|
4277
4277
|
} else if (self.latest && self.latest !== self.version) {
|
|
4278
4278
|
const $scope38_id = _scope_id();
|
|
4279
|
-
_html(`<button${_attr_class([btnSm, "
|
|
4279
|
+
_html(`<button${_attr_class([btnSm, "_b0"])}${_attr("title", `Update work to v${self.latest} and restart`)}>↑ <!>${_escape(self.latest)}${_el_resume($scope38_id, "b")}</button>${_el_resume($scope38_id, "a")}`);
|
|
4280
4280
|
_script($scope38_id, "t41");
|
|
4281
4281
|
_subscribe($self_latest__closures, writeScope($scope38_id, { Ce1: 1 }));
|
|
4282
4282
|
return 1;
|
|
@@ -4312,11 +4312,11 @@ var settings_page_default = _template("t", (input) => {
|
|
|
4312
4312
|
const $for_content5__t_path__closures = /* @__PURE__ */ new Set();
|
|
4313
4313
|
const $for_content5__t_latest__closures = /* @__PURE__ */ new Set();
|
|
4314
4314
|
const $for_content5__t_id__closures = /* @__PURE__ */ new Set();
|
|
4315
|
-
_html(`<li${_attr_class([row, { ["
|
|
4315
|
+
_html(`<li${_attr_class([row, { ["_bX"]: !t.installed }])}><span${_attr_class(["_bY", "_x"])}>${_escape(t.label)}${_el_resume($scope17_id, "c")}</span>`);
|
|
4316
4316
|
_if(() => {
|
|
4317
4317
|
if (active.has(t.id)) {
|
|
4318
4318
|
const $scope18_id = _scope_id();
|
|
4319
|
-
_html(`<span${_attr_class("
|
|
4319
|
+
_html(`<span${_attr_class("_bJ")}><span${_attr_class("_F")}></span><!>${_escape(active.get(t.id) || "Starting…")}${_el_resume($scope18_id, "c")}</span>`);
|
|
4320
4320
|
_subscribe($active__closures, writeScope($scope18_id, { Cdo: 2 }));
|
|
4321
4321
|
return 0;
|
|
4322
4322
|
} else if (t.installed) {
|
|
@@ -4324,7 +4324,7 @@ var settings_page_default = _template("t", (input) => {
|
|
|
4324
4324
|
_if(() => {
|
|
4325
4325
|
if (t.version) {
|
|
4326
4326
|
const $scope31_id = _scope_id();
|
|
4327
|
-
_html(`<button${_attr_class(["
|
|
4327
|
+
_html(`<button${_attr_class(["_bZ", "_x"])}${_attr("title", `${t.path || t.label}. Pin a version`)}>v<!>${_escape(t.version)}${_el_resume($scope31_id, "b")}</button>${_el_resume($scope31_id, "a")}`);
|
|
4328
4328
|
_script($scope31_id, "t42");
|
|
4329
4329
|
_subscribe($for_content5__t_path__closures, _subscribe($for_content5__t_version__closures, _subscribe($for_content5__t_label__closures, writeScope($scope31_id, { Cu: 1 }))));
|
|
4330
4330
|
return 0;
|
|
@@ -4338,7 +4338,7 @@ var settings_page_default = _template("t", (input) => {
|
|
|
4338
4338
|
_if(() => {
|
|
4339
4339
|
if (outdated(t)) {
|
|
4340
4340
|
const $scope41_id = _scope_id();
|
|
4341
|
-
_html(`<button${_attr_class([btnSm, "
|
|
4341
|
+
_html(`<button${_attr_class([btnSm, "_b0"])}${_attr("title", `Update to v${t.latest}`)}>↑ <!>${_escape(t.latest)}${_el_resume($scope41_id, "b")}</button>${_el_resume($scope41_id, "a")}`);
|
|
4342
4342
|
_script($scope41_id, "t43");
|
|
4343
4343
|
_subscribe($for_content5__t_latest__closures, writeScope($scope41_id, {}));
|
|
4344
4344
|
return 0;
|
|
@@ -4438,19 +4438,19 @@ var settings_page_default = _template("t", (input) => {
|
|
|
4438
4438
|
_if(() => {
|
|
4439
4439
|
if (hits && hits.length) {
|
|
4440
4440
|
const $scope20_id = _scope_id();
|
|
4441
|
-
_html(`<ul${_attr_class([toolGrid, "
|
|
4441
|
+
_html(`<ul${_attr_class([toolGrid, "_b1"])}>`);
|
|
4442
4442
|
_for_of(hits, (h) => {
|
|
4443
4443
|
const $scope21_id = _scope_id();
|
|
4444
|
-
_html(`<li${_attr_class(row)}><div${_attr_class("
|
|
4444
|
+
_html(`<li${_attr_class(row)}><div${_attr_class("_by")}><span${_attr_class(["_bY", "_x"])}>${_escape(h.name)}${_el_resume($scope21_id, "d")}</span>`);
|
|
4445
4445
|
_if(() => {
|
|
4446
4446
|
if (active.has(h.name)) {
|
|
4447
4447
|
const $scope22_id = _scope_id();
|
|
4448
|
-
_html(`<span${_attr_class("
|
|
4448
|
+
_html(`<span${_attr_class("_bJ")}><span${_attr_class("_F")}></span><!>${_escape(active.get(h.name) || "Starting…")}${_el_resume($scope22_id, "c")}</span>`);
|
|
4449
4449
|
_subscribe($active__closures, writeScope($scope22_id, { Cdo: 4 }));
|
|
4450
4450
|
return 0;
|
|
4451
4451
|
} else if (h.description) {
|
|
4452
4452
|
const $scope73_id = _scope_id();
|
|
4453
|
-
_html(`<span${_attr_class("
|
|
4453
|
+
_html(`<span${_attr_class("_bB")}${_attr("title", h.description)}>${_escape(h.description)}${_el_resume($scope73_id, "b")}</span>${_el_resume($scope73_id, "a")}`);
|
|
4454
4454
|
writeScope($scope73_id, {});
|
|
4455
4455
|
return 1;
|
|
4456
4456
|
}
|
|
@@ -4489,7 +4489,7 @@ var settings_page_default = _template("t", (input) => {
|
|
|
4489
4489
|
return 0;
|
|
4490
4490
|
} else if (hits && !searching) {
|
|
4491
4491
|
const $scope35_id = _scope_id();
|
|
4492
|
-
_html(`<p${_attr_class("
|
|
4492
|
+
_html(`<p${_attr_class("_bD")}>No tools match "<!>${_escape(query)}${_el_resume($scope35_id, "b")}".</p>`);
|
|
4493
4493
|
_subscribe($query__closures, writeScope($scope35_id, {}));
|
|
4494
4494
|
return 1;
|
|
4495
4495
|
}
|
|
@@ -4500,16 +4500,16 @@ var settings_page_default = _template("t", (input) => {
|
|
|
4500
4500
|
return 0;
|
|
4501
4501
|
}
|
|
4502
4502
|
}, $scope0_id, "ab", 1, 1, 1, 0, 1);
|
|
4503
|
-
_html(`</section><section${_attr_class("
|
|
4503
|
+
_html(`</section><section${_attr_class("_bs")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bt")}><h2${_attr("id", appearanceId)}${_attr_class("_bH")}>Appearance</h2></div><div${_attr_class(["_bx", "_b5"])}><label${_attr_class("_b6")}><span${_attr_class("_b7")}>Name</span><input${_attr_input_value($scope0_id, "ai", input.instance.name, _resume(function(v) {
|
|
4504
4504
|
setInstance({ name: v });
|
|
4505
|
-
}, "t3", $scope0_id))}${_attr_class(["_U", "
|
|
4506
|
-
"
|
|
4507
|
-
"
|
|
4508
|
-
{ ["
|
|
4505
|
+
}, "t3", $scope0_id))}${_attr_class(["_U", "_b8"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false aria-describedby=look-name-hint>${_el_resume($scope0_id, "ai")}<span id=look-name-hint${_attr_class(["_S", "_b9"])}>Tab title, home-screen icon, and notifications.</span></label><div${_attr_class("_b6")} role=radiogroup aria-label="Accent colour"><span${_attr_class("_b7")}>Accent</span><span${_attr_class("_b_")}><button type=button${_attr_class([
|
|
4506
|
+
"_ca",
|
|
4507
|
+
"_cc",
|
|
4508
|
+
{ ["_cb"]: !input.instance.accent }
|
|
4509
4509
|
])} role=radio aria-checked=${!input.instance.accent ? "true" : "false"} title="Default (blue)" aria-label="Default (blue)"></button>${_el_resume($scope0_id, "an")}`);
|
|
4510
4510
|
_for_of(ACCENT_PRESETS, (p) => {
|
|
4511
4511
|
const $scope4_id = _scope_id();
|
|
4512
|
-
_html(`<button type=button${_attr_class(["
|
|
4512
|
+
_html(`<button type=button${_attr_class(["_ca", { ["_cb"]: input.instance.accent === p.value }])}${_attr_style(`--swatch:${p.value}`)} role=radio aria-checked=${input.instance.accent === p.value ? "true" : "false"}${_attr("title", p.name)}${_attr("aria-label", p.name)}></button>${_el_resume($scope4_id, "a")}`);
|
|
4513
4513
|
_script($scope4_id, "t48");
|
|
4514
4514
|
writeScope($scope4_id, {
|
|
4515
4515
|
d: p?.value,
|
|
@@ -4518,12 +4518,12 @@ var settings_page_default = _template("t", (input) => {
|
|
|
4518
4518
|
}, "value", $scope0_id, "ao", $sg__input_instance_accent, 0, 1, 0, 1);
|
|
4519
4519
|
const customOn = !!input.instance.accent && !ACCENT_PRESETS.some((p) => p.value === input.instance.accent);
|
|
4520
4520
|
_html(`<label${_attr_class([
|
|
4521
|
-
"
|
|
4522
|
-
"
|
|
4523
|
-
{ ["
|
|
4521
|
+
"_ca",
|
|
4522
|
+
"_cd",
|
|
4523
|
+
{ ["_cb"]: customOn }
|
|
4524
4524
|
])}${customOn ? _attr_style(`--swatch:${input.instance.accent}`) : ""} title="Custom colour"><input${_attr_input_value($scope0_id, "aq", input.instance.accent || "#3556d8", _resume(function(v) {
|
|
4525
4525
|
setInstance({ accent: v });
|
|
4526
|
-
}, "t4", $scope0_id))}${_attr_class("
|
|
4526
|
+
}, "t4", $scope0_id))}${_attr_class("_ce")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "aq")}<span aria-hidden=true>+</span></label>${_el_resume($scope0_id, "ap", $sg__input_instance_accent)}</span><span${_attr_class(["_S", "_b9"])}>Selected rows, buttons, and the icon.</span></div></div></section></div></div></div>`);
|
|
4527
4527
|
_if(() => {
|
|
4528
4528
|
if (versionPick) {
|
|
4529
4529
|
const $scope29_id = _scope_id();
|
|
@@ -4634,14 +4634,14 @@ var settings_page_default = _template("t", (input) => {
|
|
|
4634
4634
|
});
|
|
4635
4635
|
//#endregion
|
|
4636
4636
|
//#region src/tags/new-workspace.css.ts
|
|
4637
|
-
var content$1 = "
|
|
4638
|
-
var section$1 = "
|
|
4639
|
-
var curBase = "
|
|
4640
|
-
var archived = "
|
|
4641
|
-
var archivedHint = "
|
|
4642
|
-
var archivedCard = "
|
|
4643
|
-
var resultBranch = "
|
|
4644
|
-
var branchInput = "
|
|
4637
|
+
var content$1 = "_cq _bk";
|
|
4638
|
+
var section$1 = "_cu _bs";
|
|
4639
|
+
var curBase = "_cy _T _S";
|
|
4640
|
+
var archived = "_cC _bs";
|
|
4641
|
+
var archivedHint = "_cD _S";
|
|
4642
|
+
var archivedCard = "_cE _bx";
|
|
4643
|
+
var resultBranch = "_eQ _Z _j";
|
|
4644
|
+
var branchInput = "_eV _V _U";
|
|
4645
4645
|
//#endregion
|
|
4646
4646
|
//#region src/tags/repo-picker.marko
|
|
4647
4647
|
var api$5;
|
|
@@ -4691,7 +4691,7 @@ var repo_picker_default = _template("r", (input) => {
|
|
|
4691
4691
|
input.onError?.(String(err.message || err));
|
|
4692
4692
|
}
|
|
4693
4693
|
}, "r5", $scope0_id);
|
|
4694
|
-
_html(`<div${_attr_class("
|
|
4694
|
+
_html(`<div${_attr_class("_eK")}><label${_attr_class("_W")}>`);
|
|
4695
4695
|
icon_search_default({
|
|
4696
4696
|
size: 14,
|
|
4697
4697
|
class: "_X"
|
|
@@ -4703,7 +4703,7 @@ var repo_picker_default = _template("r", (input) => {
|
|
|
4703
4703
|
_if(() => {
|
|
4704
4704
|
if (filter && !catalog) {
|
|
4705
4705
|
const $scope8_id = _scope_id();
|
|
4706
|
-
_html(`<p${_attr_class("
|
|
4706
|
+
_html(`<p${_attr_class("_bD")}>Loading repos…</p>`);
|
|
4707
4707
|
writeScope($scope8_id, {});
|
|
4708
4708
|
return 0;
|
|
4709
4709
|
}
|
|
@@ -4711,23 +4711,23 @@ var repo_picker_default = _template("r", (input) => {
|
|
|
4711
4711
|
_if(() => {
|
|
4712
4712
|
if (results.length) {
|
|
4713
4713
|
const $scope2_id = _scope_id();
|
|
4714
|
-
_html(`<ul${_attr_class("
|
|
4714
|
+
_html(`<ul${_attr_class("_eL")}>`);
|
|
4715
4715
|
_for_of(results, (repo, i) => {
|
|
4716
4716
|
const $scope3_id = _scope_id();
|
|
4717
|
-
_html(`<li><div${_attr_class(["
|
|
4717
|
+
_html(`<li><div${_attr_class(["_eN", { ["_eM"]: i === highlight }])}><button${_attr_class("_eO")}>`);
|
|
4718
4718
|
icon_plus_default({
|
|
4719
4719
|
size: 12,
|
|
4720
|
-
class: "
|
|
4720
|
+
class: "_eT"
|
|
4721
4721
|
});
|
|
4722
|
-
_html(`<span${_attr_class("
|
|
4722
|
+
_html(`<span${_attr_class("_eU")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope3_id, "e")}</span></button>${_el_resume($scope3_id, "b")}<button${_attr_class([resultBranch, { ["_eP"]: 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")}`);
|
|
4723
4723
|
_if(() => {
|
|
4724
4724
|
if (branchesFor === repo.nameWithOwner) {
|
|
4725
4725
|
const $scope4_id = _scope_id();
|
|
4726
|
-
_html(`<div${_attr_class("
|
|
4726
|
+
_html(`<div${_attr_class("_eR")}>`);
|
|
4727
4727
|
_if(() => {
|
|
4728
4728
|
if (!branches) {
|
|
4729
4729
|
const $scope9_id = _scope_id();
|
|
4730
|
-
_html(`<p${_attr_class("
|
|
4730
|
+
_html(`<p${_attr_class("_bD")}><span${_attr_class("_F")}></span> Loading branches…</p>`);
|
|
4731
4731
|
writeScope($scope9_id, {});
|
|
4732
4732
|
return 0;
|
|
4733
4733
|
} else {
|
|
@@ -4744,17 +4744,17 @@ var repo_picker_default = _template("r", (input) => {
|
|
|
4744
4744
|
}
|
|
4745
4745
|
}, $scope5_id, "a", 1, 1, 1, 0, 1);
|
|
4746
4746
|
const shown = (branchFilter ? branches.filter((b) => b.toLowerCase().includes(branchFilter.toLowerCase())) : branches).slice(0, 12);
|
|
4747
|
-
_html(`<ul${_attr_class("
|
|
4747
|
+
_html(`<ul${_attr_class("_eS")}>`);
|
|
4748
4748
|
_for_of(shown, (branch) => {
|
|
4749
4749
|
const $scope7_id = _scope_id();
|
|
4750
|
-
_html(`<li><button${_attr_class(["
|
|
4750
|
+
_html(`<li><button${_attr_class(["_eO", "_eW"])}><span${_attr_class(["_eU", "_x"])}>${_escape(branch)}${_el_resume($scope7_id, "c")}</span></button>${_el_resume($scope7_id, "a")}</li>`);
|
|
4751
4751
|
_script($scope7_id, "r7");
|
|
4752
4752
|
writeScope($scope7_id, { e: branch });
|
|
4753
4753
|
}, (b) => b, $scope5_id, "c", 1, 1, 1, 0, 1);
|
|
4754
4754
|
_if(() => {
|
|
4755
4755
|
if (!shown.length) {
|
|
4756
4756
|
const $scope10_id = _scope_id();
|
|
4757
|
-
_html(`<li><p${_attr_class("
|
|
4757
|
+
_html(`<li><p${_attr_class("_bD")}>No branches match.</p></li>`);
|
|
4758
4758
|
writeScope($scope10_id, {});
|
|
4759
4759
|
return 0;
|
|
4760
4760
|
}
|
|
@@ -4779,7 +4779,7 @@ var repo_picker_default = _template("r", (input) => {
|
|
|
4779
4779
|
return 0;
|
|
4780
4780
|
} else if (filter && catalog) {
|
|
4781
4781
|
const $scope1_id = _scope_id();
|
|
4782
|
-
_html(`<p${_attr_class("
|
|
4782
|
+
_html(`<p${_attr_class("_bD")}>No repos match "<!>${_escape(filter)}${_el_resume($scope1_id, "b")}".</p>`);
|
|
4783
4783
|
writeScope($scope1_id, {});
|
|
4784
4784
|
return 1;
|
|
4785
4785
|
}
|
|
@@ -4898,7 +4898,7 @@ var new_workspace_default = _template("o", (input) => {
|
|
|
4898
4898
|
}
|
|
4899
4899
|
}, "o4", $scope0_id);
|
|
4900
4900
|
const titleId = _id();
|
|
4901
|
-
_html(`<div${_attr_class("
|
|
4901
|
+
_html(`<div${_attr_class("_bi")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bj")}><div${_attr_class(content$1)}>`);
|
|
4902
4902
|
_set_serialize_reason({
|
|
4903
4903
|
0: _serialize_guard($scope0_reason, 2),
|
|
4904
4904
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -4937,19 +4937,19 @@ var new_workspace_default = _template("o", (input) => {
|
|
|
4937
4937
|
return 0;
|
|
4938
4938
|
}
|
|
4939
4939
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
4940
|
-
_html(`<label${_attr_class("
|
|
4940
|
+
_html(`<label${_attr_class("_ct")}><span${_attr_class("_bH")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
|
|
4941
4941
|
name = _new_name;
|
|
4942
|
-
}, "o0", $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("
|
|
4942
|
+
}, "o0", $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("_cv")}><h2${_attr_class("_bH")}>Repos</h2><button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
4943
4943
|
_set_serialize_reason(1);
|
|
4944
4944
|
const $childScope2 = _peek_scope_id();
|
|
4945
4945
|
icon_refresh_default({
|
|
4946
4946
|
size: 14,
|
|
4947
4947
|
class: catalogRefreshing && "_E"
|
|
4948
4948
|
});
|
|
4949
|
-
_html(`</button>${_el_resume($scope0_id, "l")}</div><ul${_attr_class("
|
|
4949
|
+
_html(`</button>${_el_resume($scope0_id, "l")}</div><ul${_attr_class("_cw")}>`);
|
|
4950
4950
|
_for_of(selected, (repo) => {
|
|
4951
4951
|
const $scope2_id = _scope_id();
|
|
4952
|
-
_html(`<li${_attr_class(row)}><span${_attr_class("
|
|
4952
|
+
_html(`<li${_attr_class(row)}><span${_attr_class("_cx")}>${_escape(repoLabel(repo.fullName))}${_el_resume($scope2_id, "c")}</span>`);
|
|
4953
4953
|
_if(() => {
|
|
4954
4954
|
if (repo.baseBranch) {
|
|
4955
4955
|
const $scope10_id = _scope_id();
|
|
@@ -4970,7 +4970,7 @@ var new_workspace_default = _template("o", (input) => {
|
|
|
4970
4970
|
_if(() => {
|
|
4971
4971
|
if (!selected.length) {
|
|
4972
4972
|
const $scope11_id = _scope_id();
|
|
4973
|
-
_html(`<li${_attr_class("
|
|
4973
|
+
_html(`<li${_attr_class("_bD")}>No repos yet. Search below to add one, or create it empty.</li>`);
|
|
4974
4974
|
writeScope($scope11_id, {});
|
|
4975
4975
|
return 0;
|
|
4976
4976
|
}
|
|
@@ -4995,10 +4995,10 @@ var new_workspace_default = _template("o", (input) => {
|
|
|
4995
4995
|
_if(() => {
|
|
4996
4996
|
if (busy && steps$1.length) {
|
|
4997
4997
|
const $scope7_id = _scope_id();
|
|
4998
|
-
_html(`<ul${_attr_class("
|
|
4998
|
+
_html(`<ul${_attr_class("_cz")}>`);
|
|
4999
4999
|
_for_of(steps$1, (step$1, i) => {
|
|
5000
5000
|
const $scope8_id = _scope_id();
|
|
5001
|
-
_html(`<li${_attr_class(["
|
|
5001
|
+
_html(`<li${_attr_class(["_cF", { ["_cA"]: i === steps$1.length - 1 }])}>`);
|
|
5002
5002
|
_if(() => {
|
|
5003
5003
|
if (i === steps$1.length - 1) {
|
|
5004
5004
|
const $scope12_id = _scope_id();
|
|
@@ -5007,7 +5007,7 @@ var new_workspace_default = _template("o", (input) => {
|
|
|
5007
5007
|
return 0;
|
|
5008
5008
|
} else {
|
|
5009
5009
|
const $scope13_id = _scope_id();
|
|
5010
|
-
_html(`<span${_attr_class("
|
|
5010
|
+
_html(`<span${_attr_class("_cB")}>✓</span>`);
|
|
5011
5011
|
writeScope($scope13_id, {});
|
|
5012
5012
|
return 1;
|
|
5013
5013
|
}
|
|
@@ -5019,7 +5019,7 @@ var new_workspace_default = _template("o", (input) => {
|
|
|
5019
5019
|
return 0;
|
|
5020
5020
|
}
|
|
5021
5021
|
}, $scope0_id, "s", 1, 1, 1, 0, 1);
|
|
5022
|
-
_html(`<div${_attr_class("
|
|
5022
|
+
_html(`<div${_attr_class("_cr")}>`);
|
|
5023
5023
|
_if(() => {
|
|
5024
5024
|
if (input.onExit || busy) {
|
|
5025
5025
|
const $scope1_id = _scope_id();
|
|
@@ -5032,15 +5032,15 @@ var new_workspace_default = _template("o", (input) => {
|
|
|
5032
5032
|
_html(`<button type=button${_attr_class([
|
|
5033
5033
|
btnLg,
|
|
5034
5034
|
"_p",
|
|
5035
|
-
"
|
|
5035
|
+
"_cs"
|
|
5036
5036
|
])}${_attr("disabled", busy || !!restoring || !name.trim())}>${busy ? "Creating…" : "Create workspace"}${_el_resume($scope0_id, "w")}</button>${_el_resume($scope0_id, "v")}</div>`);
|
|
5037
5037
|
_if(() => {
|
|
5038
5038
|
if (archived$1.length) {
|
|
5039
5039
|
const $scope3_id = _scope_id();
|
|
5040
|
-
_html(`<section${_attr_class(archived)}><div${_attr_class("
|
|
5040
|
+
_html(`<section${_attr_class(archived)}><div${_attr_class("_cv")}><h2${_attr_class("_bH")}>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("_bv")}>`);
|
|
5041
5041
|
_for_of(archived$1, (ws) => {
|
|
5042
5042
|
const $scope4_id = _scope_id();
|
|
5043
|
-
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("
|
|
5043
|
+
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("_by")}><span${_attr_class("_bz")}>${_escape(ws.name)}${_el_resume($scope4_id, "d", $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_x"])}${_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)}>`);
|
|
5044
5044
|
_if(() => {
|
|
5045
5045
|
if (restoring === ws.id) {
|
|
5046
5046
|
const $scope14_id = _scope_id();
|
|
@@ -5181,8 +5181,8 @@ function activeAgent(session) {
|
|
|
5181
5181
|
const command = session.state?.command?.trim();
|
|
5182
5182
|
return command && agentFromCommand(command) || session.agent;
|
|
5183
5183
|
}
|
|
5184
|
-
var iconBtn$1 = "
|
|
5185
|
-
var navToggle = "
|
|
5184
|
+
var iconBtn$1 = "_eo _j";
|
|
5185
|
+
var navToggle = "_et _j";
|
|
5186
5186
|
_template("G", (input) => {
|
|
5187
5187
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
5188
5188
|
const $scope0_id = _scope_id();
|
|
@@ -5225,12 +5225,12 @@ var ARM_MS = 3500;
|
|
|
5225
5225
|
function disarmLater(fn) {
|
|
5226
5226
|
return setTimeout(fn, ARM_MS);
|
|
5227
5227
|
}
|
|
5228
|
-
var railBtn = "
|
|
5229
|
-
var rowIcon = "
|
|
5230
|
-
var close = "
|
|
5228
|
+
var railBtn = "_gt _j";
|
|
5229
|
+
var rowIcon = "_gC _Z _j";
|
|
5230
|
+
var close = "_gD _Z _j _2";
|
|
5231
5231
|
//#endregion
|
|
5232
5232
|
//#region src/styles/session-pop.css.ts
|
|
5233
|
-
var sessionPop = "
|
|
5233
|
+
var sessionPop = "_gp _4";
|
|
5234
5234
|
//#endregion
|
|
5235
5235
|
//#region src/client/usage.ts
|
|
5236
5236
|
/** The plan row an agent instance draws on: its own account (`claude2`)
|
|
@@ -5291,23 +5291,24 @@ var usage_pcts_default = _template("B", (input) => {
|
|
|
5291
5291
|
if (windows.length) {
|
|
5292
5292
|
const $scope1_id = _scope_id();
|
|
5293
5293
|
_html(`<span${_attr_class([
|
|
5294
|
-
"
|
|
5294
|
+
"_fM",
|
|
5295
5295
|
input.class,
|
|
5296
|
-
{ ["
|
|
5296
|
+
{ ["_fN"]: agent.stale_seconds != null }
|
|
5297
5297
|
])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
|
|
5298
5298
|
_for_of(windows, (win$1, i) => {
|
|
5299
5299
|
const $scope2_id = _scope_id();
|
|
5300
|
+
_html(`<span${_attr_class("_fO")}>`);
|
|
5300
5301
|
_if(() => {
|
|
5301
5302
|
if (i) {
|
|
5302
5303
|
const $scope3_id = _scope_id();
|
|
5303
|
-
_html(`<span${_attr_class("
|
|
5304
|
+
_html(`<span${_attr_class("_fR")} aria-hidden=true>·</span>`);
|
|
5304
5305
|
$si__input_agent && writeScope($scope3_id, {});
|
|
5305
5306
|
return 0;
|
|
5306
5307
|
}
|
|
5307
|
-
}, $scope2_id, "
|
|
5308
|
-
_html(`<span${_attr_class("
|
|
5308
|
+
}, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
5309
|
+
_html(`<span${_attr_class("_fP")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_fQ", win$1.used_percent >= 90 ? "_eg" : win$1.used_percent >= 70 ? "_ef" : win$1.used_percent >= 40 ? "_ee" : "_ed"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
|
|
5309
5310
|
$si__input_agent && writeScope($scope2_id, {});
|
|
5310
|
-
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>");
|
|
5311
|
+
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
5311
5312
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
5312
5313
|
return 0;
|
|
5313
5314
|
}
|
|
@@ -5336,12 +5337,12 @@ var icon_edit_default = _template("L", (input) => {
|
|
|
5336
5337
|
});
|
|
5337
5338
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
5338
5339
|
});
|
|
5339
|
-
var prChip = "
|
|
5340
|
-
var portChip = "
|
|
5340
|
+
var prChip = "_gZ _s _gY";
|
|
5341
|
+
var portChip = "_g0 _s _gY";
|
|
5341
5342
|
var prState = {
|
|
5342
|
-
open: "
|
|
5343
|
-
merged: "
|
|
5344
|
-
closed: "
|
|
5343
|
+
open: "_g4",
|
|
5344
|
+
merged: "_g5",
|
|
5345
|
+
closed: "_g6"
|
|
5345
5346
|
};
|
|
5346
5347
|
//#endregion
|
|
5347
5348
|
//#region src/tags/side-nav-chips.marko
|
|
@@ -5389,7 +5390,7 @@ var side_nav_chips_default = _template("u", (input) => {
|
|
|
5389
5390
|
const name = repo.full_name.split("/").at(-1);
|
|
5390
5391
|
return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel(repo.full_name) : name;
|
|
5391
5392
|
}, "u2", $scope1_id);
|
|
5392
|
-
_html(`<div${_attr_class("
|
|
5393
|
+
_html(`<div${_attr_class("_gX")}>`);
|
|
5393
5394
|
_for_of(repos, (repo) => {
|
|
5394
5395
|
const $scope2_id = _scope_id();
|
|
5395
5396
|
const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
|
|
@@ -5405,11 +5406,11 @@ var side_nav_chips_default = _template("u", (input) => {
|
|
|
5405
5406
|
[prState.merged]: pr.state === "MERGED",
|
|
5406
5407
|
[prState.closed]: pr.state === "CLOSED"
|
|
5407
5408
|
}
|
|
5408
|
-
])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["
|
|
5409
|
+
])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["_g1", { ["_g8"]: !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)}`);
|
|
5409
5410
|
_if(() => {
|
|
5410
5411
|
if (open) {
|
|
5411
5412
|
const $scope4_id = _scope_id();
|
|
5412
|
-
_html(`<a${_attr_class(["
|
|
5413
|
+
_html(`<a${_attr_class(["_g1", "_g2"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr.number}`)}`)}${_attr("title", `Review #${pr.number} changes`)}>`);
|
|
5413
5414
|
icon_diff_default({ size: 12 });
|
|
5414
5415
|
_html(`</a>${_el_resume($scope4_id, "a", _serialize_guard($scope0_reason, 0))}`);
|
|
5415
5416
|
_serialize_if($scope0_reason, 2) && _subscribe($si__input_status_repos && $for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, { _: _scope_with_id($scope3_id) })));
|
|
@@ -5417,9 +5418,9 @@ var side_nav_chips_default = _template("u", (input) => {
|
|
|
5417
5418
|
} else {
|
|
5418
5419
|
const $scope6_id = _scope_id();
|
|
5419
5420
|
_html(`<button type=button${_attr_class([
|
|
5421
|
+
"_g1",
|
|
5420
5422
|
"_g2",
|
|
5421
|
-
"_g3"
|
|
5422
|
-
"_g4"
|
|
5423
|
+
"_g3"
|
|
5423
5424
|
])}${_attr("title", `Dismiss #${pr.number}`)}>`);
|
|
5424
5425
|
icon_xmark_default({ size: 12 });
|
|
5425
5426
|
_html(`</button>${_el_resume($scope6_id, "a")}`);
|
|
@@ -5444,10 +5445,10 @@ var side_nav_chips_default = _template("u", (input) => {
|
|
|
5444
5445
|
}, "full_name", $scope1_id, "b", $sg__input_status_repos, $sg__input_status_repos, $sg__input_status_repos__OR__input_status_ports);
|
|
5445
5446
|
_for_of(ports, (p) => {
|
|
5446
5447
|
const $scope5_id = _scope_id();
|
|
5447
|
-
_html(`<span${_attr_class(["_s", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["
|
|
5448
|
+
_html(`<span${_attr_class(["_s", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_g1", "_g7"])}${_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([
|
|
5449
|
+
"_g1",
|
|
5448
5450
|
"_g2",
|
|
5449
5451
|
"_g3",
|
|
5450
|
-
"_g4",
|
|
5451
5452
|
{ ["_q"]: armedPid === p.pid }
|
|
5452
5453
|
])}${armedPid === p.pid ? " title=Kill?" : _attr("title", `Kill ${p.cmd} (pid ${p.pid})`)}>`);
|
|
5453
5454
|
icon_xmark_default({ size: 12 });
|
|
@@ -5539,10 +5540,10 @@ var side_nav_item_default = _template("v", (input) => {
|
|
|
5539
5540
|
_if(() => {
|
|
5540
5541
|
if (input.rail) {
|
|
5541
5542
|
const $scope2_id = _scope_id();
|
|
5542
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["
|
|
5543
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_gr"]: input.current }])}${_attr("title", ws$1.name)}>${_escape((input.index ?? 0) + 1)}${_el_resume($scope2_id, "b", _serialize_guard($scope0_reason, 27))}<span${_attr_class([
|
|
5543
5544
|
"_z",
|
|
5544
5545
|
phase[dot],
|
|
5545
|
-
"
|
|
5546
|
+
"_gu"
|
|
5546
5547
|
])}></span>${_el_resume($scope2_id, "c", $sg__input_workspaceId__OR__input_status)}</a>${_el_resume($scope2_id, "a", _serialize_guard($scope0_reason, 3))}`);
|
|
5547
5548
|
_serialize_if($scope0_reason, 18) && _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_name__closures, _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_id__closures, _subscribe($si__input_index && $input_index__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })))));
|
|
5548
5549
|
return 0;
|
|
@@ -5550,15 +5551,15 @@ var side_nav_item_default = _template("v", (input) => {
|
|
|
5550
5551
|
const $scope3_id = _scope_id();
|
|
5551
5552
|
const sessions$1 = input.sessions || [];
|
|
5552
5553
|
const phaseLabel = dot === "working" ? "Working" : dot === "waiting" ? "Needs input" : dot === "idle" ? "Idle" : "Not running";
|
|
5553
|
-
_html(`<section${_attr_class(["
|
|
5554
|
-
["
|
|
5554
|
+
_html(`<section${_attr_class(["_gw", {
|
|
5555
|
+
["_gr"]: input.current,
|
|
5555
5556
|
["_5"]: input.current,
|
|
5556
|
-
["
|
|
5557
|
-
["
|
|
5558
|
-
}])}><div${_attr_class("
|
|
5557
|
+
["_gx"]: input.railPop,
|
|
5558
|
+
["_gv"]: input.page
|
|
5559
|
+
}])}><div${_attr_class("_gy")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class("_gz")}><span${_attr_class([
|
|
5559
5560
|
"_z",
|
|
5560
5561
|
phase[dot],
|
|
5561
|
-
"
|
|
5562
|
+
"_gM"
|
|
5562
5563
|
])}${_attr("title", phaseLabel)}></span>${_el_resume($scope3_id, "d", $sg__input_workspaceId__OR__input_status)}`);
|
|
5563
5564
|
_if(() => {
|
|
5564
5565
|
if (sessions$1.length === 1) {
|
|
@@ -5571,7 +5572,7 @@ var side_nav_item_default = _template("v", (input) => {
|
|
|
5571
5572
|
icon_agent_default({
|
|
5572
5573
|
agent: activeAgent(sessions$1[0]),
|
|
5573
5574
|
size: 12,
|
|
5574
|
-
class: "
|
|
5575
|
+
class: "_gE"
|
|
5575
5576
|
});
|
|
5576
5577
|
$si__input_sessions && writeScope($scope14_id, {
|
|
5577
5578
|
_: _scope_with_id($scope3_id),
|
|
@@ -5581,16 +5582,16 @@ var side_nav_item_default = _template("v", (input) => {
|
|
|
5581
5582
|
}
|
|
5582
5583
|
}, $scope3_id, "e", $sg__input_sessions, $sg__input_sessions);
|
|
5583
5584
|
const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length === 1 ? sessions$1[0].title || "" : `${sessions$1.length} sessions`;
|
|
5584
|
-
_html(`<span${_attr_class("
|
|
5585
|
+
_html(`<span${_attr_class("_gF")}><span${_attr_class("_gG")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "h", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
|
|
5585
5586
|
_if(() => {
|
|
5586
5587
|
if (input.page && metaText) {
|
|
5587
5588
|
const $scope16_id = _scope_id();
|
|
5588
|
-
_html(`<span${_attr_class("
|
|
5589
|
+
_html(`<span${_attr_class("_gK")}>${_escape(metaText)}${_el_resume($scope16_id, "b", _serialize_guard($scope0_reason, 7))}</span>`);
|
|
5589
5590
|
$si__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status && writeScope($scope16_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope3_id) });
|
|
5590
5591
|
return 0;
|
|
5591
5592
|
} else if (sessions$1.length === 1 && sessions$1[0].title) {
|
|
5592
5593
|
const $scope15_id = _scope_id();
|
|
5593
|
-
_html(`<span${_attr_class("
|
|
5594
|
+
_html(`<span${_attr_class("_gH")}>${_escape(sessions$1[0].title)}${_el_resume($scope15_id, "b", $sg__input_sessions)}</span>`);
|
|
5594
5595
|
$si__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status && writeScope($scope15_id, { _: $si__input_sessions && _scope_with_id($scope3_id) });
|
|
5595
5596
|
return 1;
|
|
5596
5597
|
}
|
|
@@ -5603,7 +5604,7 @@ var side_nav_item_default = _template("v", (input) => {
|
|
|
5603
5604
|
"_I",
|
|
5604
5605
|
"_R",
|
|
5605
5606
|
"_K",
|
|
5606
|
-
"
|
|
5607
|
+
"_gL"
|
|
5607
5608
|
])}>${input.current ? "Open" : ""}${_el_resume($scope4_id, "b", _serialize_guard($scope0_reason, 21))}</span>`);
|
|
5608
5609
|
$si__input_current__OR__input_page__OR__input_rail__OR__input_workspaces__OR__input_workspaceId && _subscribe($si__input_current && $input_current__closures, writeScope($scope4_id, {
|
|
5609
5610
|
_: _scope_with_id($scope3_id),
|
|
@@ -5616,7 +5617,7 @@ var side_nav_item_default = _template("v", (input) => {
|
|
|
5616
5617
|
_if(() => {
|
|
5617
5618
|
if (!input.page) {
|
|
5618
5619
|
const $scope5_id = _scope_id();
|
|
5619
|
-
_html(`<div${_attr_class("
|
|
5620
|
+
_html(`<div${_attr_class("_gA")}>`);
|
|
5620
5621
|
_if(() => {
|
|
5621
5622
|
if (input.onNewSession) {
|
|
5622
5623
|
const $scope6_id = _scope_id();
|
|
@@ -5630,7 +5631,7 @@ var side_nav_item_default = _template("v", (input) => {
|
|
|
5630
5631
|
_html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
|
|
5631
5632
|
_for_of([], (agent) => {
|
|
5632
5633
|
const $scope7_id = _scope_id();
|
|
5633
|
-
_html(`<button${_attr_class("
|
|
5634
|
+
_html(`<button${_attr_class("_gq")}>`);
|
|
5634
5635
|
_set_serialize_reason(12);
|
|
5635
5636
|
const $childScope2 = _peek_scope_id();
|
|
5636
5637
|
icon_agent_default({
|
|
@@ -5665,7 +5666,7 @@ var side_nav_item_default = _template("v", (input) => {
|
|
|
5665
5666
|
return 0;
|
|
5666
5667
|
}
|
|
5667
5668
|
}, $scope5_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
|
|
5668
|
-
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["
|
|
5669
|
+
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_gs"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
|
|
5669
5670
|
icon_manage_default({ size: 12 });
|
|
5670
5671
|
_html(`</a>${_el_resume($scope5_id, "d", _serialize_guard($scope0_reason, 8))}</div>`);
|
|
5671
5672
|
_subscribe($si__input_workspaces__OR__input_workspaceId && $ws_id__closures, _subscribe($si__input_managing && $input_managing__closures, _subscribe($si__input_onReview && $input_onReview__closures, _subscribe($si__input_onNewSession && $input_onNewSession__closures, writeScope($scope5_id, {
|
|
@@ -5675,7 +5676,7 @@ var side_nav_item_default = _template("v", (input) => {
|
|
|
5675
5676
|
return 0;
|
|
5676
5677
|
}
|
|
5677
5678
|
}, $scope3_id, "k", $sg__input_page, $sg__input_page, 1, 0, 1);
|
|
5678
|
-
_html(`</div><div${_attr_class("
|
|
5679
|
+
_html(`</div><div${_attr_class("_gR")}>`);
|
|
5679
5680
|
_if(() => {
|
|
5680
5681
|
if (sessions$1.length === 1 && openPlan) {
|
|
5681
5682
|
const $scope11_id = _scope_id();
|
|
@@ -5683,7 +5684,7 @@ var side_nav_item_default = _template("v", (input) => {
|
|
|
5683
5684
|
const $childScope3 = _peek_scope_id();
|
|
5684
5685
|
usage_pcts_default({
|
|
5685
5686
|
agent: openPlan,
|
|
5686
|
-
class: "
|
|
5687
|
+
class: "_gI"
|
|
5687
5688
|
});
|
|
5688
5689
|
_subscribe($openPlan__closures, writeScope($scope11_id, {
|
|
5689
5690
|
a: _existing_scope($childScope3),
|
|
@@ -5694,14 +5695,14 @@ var side_nav_item_default = _template("v", (input) => {
|
|
|
5694
5695
|
}, $scope3_id, "m");
|
|
5695
5696
|
_for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
|
|
5696
5697
|
const $scope8_id = _scope_id();
|
|
5697
|
-
_html(`<div${_attr_class(["
|
|
5698
|
+
_html(`<div${_attr_class(["_gB", { ["_gr"]: s.id === input.currentTab }])}>`);
|
|
5698
5699
|
_if(() => {
|
|
5699
5700
|
if (renamingId === s.id) {
|
|
5700
5701
|
const $scope10_id = _scope_id();
|
|
5701
5702
|
_html(`<span${_attr_class([
|
|
5702
5703
|
"_z",
|
|
5703
5704
|
phase[sessionPhase(s.state)],
|
|
5704
|
-
"
|
|
5705
|
+
"_gP"
|
|
5705
5706
|
])}></span>${_el_resume($scope10_id, "a", $sg__input_sessions)}`);
|
|
5706
5707
|
_set_serialize_reason({
|
|
5707
5708
|
1: $sg__input_sessions,
|
|
@@ -5711,17 +5712,17 @@ var side_nav_item_default = _template("v", (input) => {
|
|
|
5711
5712
|
icon_agent_default({
|
|
5712
5713
|
agent: activeAgent(s),
|
|
5713
5714
|
size: 13,
|
|
5714
|
-
class: "
|
|
5715
|
+
class: "_gT"
|
|
5715
5716
|
});
|
|
5716
5717
|
_html(`<input${_attr_input_value($scope10_id, "c", renameValue, _resume((_new_renameValue) => {
|
|
5717
5718
|
renameValue = _new_renameValue;
|
|
5718
|
-
}, "v0", $scope10_id))}${_attr_class(["_U", "
|
|
5719
|
+
}, "v0", $scope10_id))}${_attr_class(["_U", "_gQ"])} aria-label="Session name">${_el_resume($scope10_id, "c")}`);
|
|
5719
5720
|
_script($scope10_id, "v5");
|
|
5720
5721
|
_subscribe($renameValue__closures, writeScope($scope10_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
|
|
5721
5722
|
return 0;
|
|
5722
5723
|
} else {
|
|
5723
5724
|
const $scope9_id = _scope_id();
|
|
5724
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("
|
|
5725
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("_gS")}><span${_attr_class(["_z", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope9_id, "b", $sg__input_sessions)}`);
|
|
5725
5726
|
_set_serialize_reason({
|
|
5726
5727
|
1: $sg__input_sessions,
|
|
5727
5728
|
2: $sg__input_sessions
|
|
@@ -5730,9 +5731,13 @@ var side_nav_item_default = _template("v", (input) => {
|
|
|
5730
5731
|
icon_agent_default({
|
|
5731
5732
|
agent: activeAgent(s),
|
|
5732
5733
|
size: 13,
|
|
5733
|
-
class: "
|
|
5734
|
+
class: "_gT"
|
|
5734
5735
|
});
|
|
5735
|
-
_html(`<span${_attr_class("
|
|
5736
|
+
_html(`<span${_attr_class("_gN")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope9_id, "e", $sg__input_sessions)}</span></a>${_el_resume($scope9_id, "a", _serialize_guard($scope0_reason, 6))}<div${_attr_class("_gO")}><button${_attr_class(rowIcon)} title="Rename session">`);
|
|
5737
|
+
icon_edit_default({ size: 12 });
|
|
5738
|
+
_html(`</button>${_el_resume($scope9_id, "g")}<button${_attr_class([close, { ["_q"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
|
|
5739
|
+
icon_xmark_default({ size: 12 });
|
|
5740
|
+
_html(`</button>${_el_resume($scope9_id, "i")}</div>`);
|
|
5736
5741
|
_if(() => {
|
|
5737
5742
|
if (openPlan && s.id === openSess?.id) {
|
|
5738
5743
|
const $scope12_id = _scope_id();
|
|
@@ -5740,7 +5745,7 @@ var side_nav_item_default = _template("v", (input) => {
|
|
|
5740
5745
|
const $childScope6 = _peek_scope_id();
|
|
5741
5746
|
usage_pcts_default({
|
|
5742
5747
|
agent: openPlan,
|
|
5743
|
-
class: "
|
|
5748
|
+
class: "_gJ"
|
|
5744
5749
|
});
|
|
5745
5750
|
_subscribe($openPlan__closures, writeScope($scope12_id, {
|
|
5746
5751
|
a: _existing_scope($childScope6),
|
|
@@ -5748,12 +5753,7 @@ var side_nav_item_default = _template("v", (input) => {
|
|
|
5748
5753
|
}));
|
|
5749
5754
|
return 0;
|
|
5750
5755
|
}
|
|
5751
|
-
}, $scope9_id, "
|
|
5752
|
-
_html(`</span></a>${_el_resume($scope9_id, "a", _serialize_guard($scope0_reason, 6))}<div${_attr_class("_fC")}><button${_attr_class(rowIcon)} title="Rename session">`);
|
|
5753
|
-
icon_edit_default({ size: 12 });
|
|
5754
|
-
_html(`</button>${_el_resume($scope9_id, "i")}<button${_attr_class([close, { ["_q"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
|
|
5755
|
-
icon_xmark_default({ size: 12 });
|
|
5756
|
-
_html(`</button>${_el_resume($scope9_id, "k")}</div>`);
|
|
5756
|
+
}, $scope9_id, "k");
|
|
5757
5757
|
_script($scope9_id, "v6");
|
|
5758
5758
|
_subscribe($si__input_workspaces__OR__input_workspaceId && $ws_id__closures, _subscribe($openPlan__closures, _subscribe($si__input_current__OR__input_page__OR__input_rail__OR__input_sessions__OR__input_currentTab && $openSess_id__closures, _subscribe($armedKill__closures, writeScope($scope9_id, {
|
|
5759
5759
|
c: $si__input_sessions && _existing_scope($childScope5),
|
|
@@ -5948,34 +5948,34 @@ var side_nav_default = _template("w", (input) => {
|
|
|
5948
5948
|
const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
|
|
5949
5949
|
const otherIds = itemIds.filter((id) => id !== ws.id);
|
|
5950
5950
|
const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
|
|
5951
|
-
_html(`<aside${_attr_class(["
|
|
5952
|
-
["
|
|
5953
|
-
["
|
|
5951
|
+
_html(`<aside${_attr_class(["_es", {
|
|
5952
|
+
["_eq"]: !navOpen,
|
|
5953
|
+
["_er"]: isPage
|
|
5954
5954
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
5955
5955
|
_if(() => {
|
|
5956
5956
|
if (isPage) {
|
|
5957
5957
|
const $scope1_id = _scope_id();
|
|
5958
|
-
_html(`<header${_attr_class("
|
|
5958
|
+
_html(`<header${_attr_class("_ev")}><div${_attr_class("_eE")}>`);
|
|
5959
5959
|
_if(() => {
|
|
5960
5960
|
if (input.instanceName) {
|
|
5961
5961
|
const $scope2_id = _scope_id();
|
|
5962
|
-
_html(`<div${_attr_class("
|
|
5962
|
+
_html(`<div${_attr_class("_eB")} title="This work server (Settings → Appearance)"><img${_attr_class("_eC")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_eD")}>${_escape(input.instanceName)}${_el_resume($scope2_id, "d", $sg__input_instanceName)}</span></div>`);
|
|
5963
5963
|
_subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
|
|
5964
5964
|
return 0;
|
|
5965
5965
|
}
|
|
5966
5966
|
}, $scope1_id, "c", $sg__input_instanceName, $sg__input_instanceName, 1, 0, 1);
|
|
5967
|
-
_html(`<h1${_attr_class("
|
|
5967
|
+
_html(`<h1${_attr_class("_ew")}>Workspaces</h1></div><div${_attr_class("_ex")}>`);
|
|
5968
5968
|
_if(() => {}, $scope1_id, "f", 1, 1, 1, 0, 1);
|
|
5969
5969
|
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
|
|
5970
5970
|
iconBtn$1,
|
|
5971
|
-
"
|
|
5972
|
-
{ ["
|
|
5971
|
+
"_ey",
|
|
5972
|
+
{ ["_en"]: view === "settings" }
|
|
5973
5973
|
])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
5974
5974
|
icon_settings_default({ size: 16 });
|
|
5975
5975
|
_if(() => {
|
|
5976
5976
|
if (input.setupReady === false) {
|
|
5977
5977
|
const $scope12_id = _scope_id();
|
|
5978
|
-
_html(`<span${_attr_class(["_z", "
|
|
5978
|
+
_html(`<span${_attr_class(["_z", "_ep"])} title="Machine setup incomplete"></span>`);
|
|
5979
5979
|
$si__input_setupReady && writeScope($scope12_id, {});
|
|
5980
5980
|
return 0;
|
|
5981
5981
|
}
|
|
@@ -5988,18 +5988,18 @@ var side_nav_default = _template("w", (input) => {
|
|
|
5988
5988
|
_if(() => {
|
|
5989
5989
|
if (!isPage && input.instanceName) {
|
|
5990
5990
|
const $scope3_id = _scope_id();
|
|
5991
|
-
_html(`<div${_attr_class("
|
|
5991
|
+
_html(`<div${_attr_class("_eB")} title="This work server (Settings → Appearance)"><img${_attr_class("_eC")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_eD")}>${_escape(input.instanceName)}${_el_resume($scope3_id, "d", $sg__input_instanceName)}</span></div>`);
|
|
5992
5992
|
writeScope($scope3_id, {});
|
|
5993
5993
|
return 0;
|
|
5994
5994
|
}
|
|
5995
5995
|
}, $scope0_id, "c", 1, 1, 1, 0, 1);
|
|
5996
|
-
_html(`<div${_attr_class("
|
|
5996
|
+
_html(`<div${_attr_class("_eF")}>`);
|
|
5997
5997
|
_for_of(listIds, (wsId) => {
|
|
5998
5998
|
const $scope4_id = _scope_id();
|
|
5999
5999
|
_if(() => {
|
|
6000
6000
|
if (isPage && wsId === ws.id) {
|
|
6001
6001
|
const $scope13_id = _scope_id();
|
|
6002
|
-
_html(`<h2${_attr_class(["
|
|
6002
|
+
_html(`<h2${_attr_class(["_bH", "_ez"])}>Current</h2>`);
|
|
6003
6003
|
writeScope($scope13_id, {});
|
|
6004
6004
|
return 0;
|
|
6005
6005
|
}
|
|
@@ -6007,7 +6007,7 @@ var side_nav_default = _template("w", (input) => {
|
|
|
6007
6007
|
_if(() => {
|
|
6008
6008
|
if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
|
|
6009
6009
|
const $scope14_id = _scope_id();
|
|
6010
|
-
_html(`<h2${_attr_class(["
|
|
6010
|
+
_html(`<h2${_attr_class(["_bH", "_ez"])}>Other workspaces</h2>`);
|
|
6011
6011
|
writeScope($scope14_id, {});
|
|
6012
6012
|
return 0;
|
|
6013
6013
|
}
|
|
@@ -6094,7 +6094,7 @@ var side_nav_default = _template("w", (input) => {
|
|
|
6094
6094
|
railHover = null;
|
|
6095
6095
|
}, 150);
|
|
6096
6096
|
}, "w6", $scope5_id);
|
|
6097
|
-
_html(`<div${_attr_class("
|
|
6097
|
+
_html(`<div${_attr_class("_eG")}>`);
|
|
6098
6098
|
_for_of(itemIds, (wsId, i) => {
|
|
6099
6099
|
const $scope6_id = _scope_id();
|
|
6100
6100
|
_html("<span>");
|
|
@@ -6148,7 +6148,7 @@ var side_nav_default = _template("w", (input) => {
|
|
|
6148
6148
|
if (railHover) {
|
|
6149
6149
|
const $scope7_id = _scope_id();
|
|
6150
6150
|
const hoverId = railHover.id;
|
|
6151
|
-
_html(`<div${_attr_class(["_4", "
|
|
6151
|
+
_html(`<div${_attr_class(["_4", "_eJ"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
|
|
6152
6152
|
_set_serialize_reason({
|
|
6153
6153
|
0: 1,
|
|
6154
6154
|
1: 1,
|
|
@@ -6236,7 +6236,7 @@ var side_nav_default = _template("w", (input) => {
|
|
|
6236
6236
|
return 0;
|
|
6237
6237
|
}
|
|
6238
6238
|
}, $scope0_id, "e");
|
|
6239
|
-
_html(`<div${_attr_class("
|
|
6239
|
+
_html(`<div${_attr_class("_eH")}>`);
|
|
6240
6240
|
_if(() => {
|
|
6241
6241
|
if (isPage) {
|
|
6242
6242
|
const $scope9_id = _scope_id();
|
|
@@ -6244,7 +6244,7 @@ var side_nav_default = _template("w", (input) => {
|
|
|
6244
6244
|
"_o",
|
|
6245
6245
|
"_p",
|
|
6246
6246
|
btnLg,
|
|
6247
|
-
"
|
|
6247
|
+
"_eA"
|
|
6248
6248
|
])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
6249
6249
|
icon_folder_plus_default({ size: 16 });
|
|
6250
6250
|
_html(` New workspace</a>${_el_resume($scope9_id, "a")}`);
|
|
@@ -6266,19 +6266,19 @@ var side_nav_default = _template("w", (input) => {
|
|
|
6266
6266
|
return 1;
|
|
6267
6267
|
}
|
|
6268
6268
|
}, $scope8_id, "a", 1, 1, 1, "</button>", 1);
|
|
6269
|
-
_html(`<div${_attr_class(["_y", "
|
|
6269
|
+
_html(`<div${_attr_class(["_y", "_eI"])}></div>`);
|
|
6270
6270
|
_if(() => {}, $scope8_id, "c", 1, 1, 1, 0, 1);
|
|
6271
|
-
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["
|
|
6271
|
+
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["_en"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
6272
6272
|
icon_settings_default({ size: 15 });
|
|
6273
6273
|
_if(() => {
|
|
6274
6274
|
if (input.setupReady === false) {
|
|
6275
6275
|
const $scope17_id = _scope_id();
|
|
6276
|
-
_html(`<span${_attr_class(["_z", "
|
|
6276
|
+
_html(`<span${_attr_class(["_z", "_ep"])} title="Machine setup incomplete"></span>`);
|
|
6277
6277
|
$si__input_setupReady && writeScope($scope17_id, {});
|
|
6278
6278
|
return 0;
|
|
6279
6279
|
}
|
|
6280
6280
|
}, $scope8_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
6281
|
-
_html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["
|
|
6281
|
+
_html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["_en"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
6282
6282
|
icon_folder_plus_default({ size: 16 });
|
|
6283
6283
|
_html(`</a>${_el_resume($scope8_id, "g")}`);
|
|
6284
6284
|
_script($scope8_id, "w15");
|
|
@@ -6344,11 +6344,11 @@ var side_nav_default = _template("w", (input) => {
|
|
|
6344
6344
|
_resume_branch($scope0_id);
|
|
6345
6345
|
});
|
|
6346
6346
|
var iconBtn = "_0 _j";
|
|
6347
|
-
var sectionCount = "
|
|
6348
|
-
var content = "
|
|
6349
|
-
var pageMeta = "
|
|
6350
|
-
var pathMeta = "
|
|
6351
|
-
var dangerHint = "
|
|
6347
|
+
var sectionCount = "_bu _I _J";
|
|
6348
|
+
var content = "_dk _bk";
|
|
6349
|
+
var pageMeta = "_dl _bp";
|
|
6350
|
+
var pathMeta = "_do _x";
|
|
6351
|
+
var dangerHint = "_du _S";
|
|
6352
6352
|
//#endregion
|
|
6353
6353
|
//#region src/tags/manage-workspace.marko
|
|
6354
6354
|
var api$2;
|
|
@@ -6446,7 +6446,7 @@ var manage_workspace_default = _template("m", (input) => {
|
|
|
6446
6446
|
setTimeout(() => loadProcs(void 0), 500);
|
|
6447
6447
|
}, "m5", $scope0_id);
|
|
6448
6448
|
const titleId = _id();
|
|
6449
|
-
_html(`<div${_attr_class("
|
|
6449
|
+
_html(`<div${_attr_class("_bi")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bj")}><div${_attr_class(content)}>`);
|
|
6450
6450
|
_set_serialize_reason(30);
|
|
6451
6451
|
const $childScope = _peek_scope_id();
|
|
6452
6452
|
page_head_default({
|
|
@@ -6459,7 +6459,7 @@ var manage_workspace_default = _template("m", (input) => {
|
|
|
6459
6459
|
meta: attrTag({ content: _content_resume("m11", () => {
|
|
6460
6460
|
_scope_reason();
|
|
6461
6461
|
const $scope8_id = _scope_id();
|
|
6462
|
-
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("
|
|
6462
|
+
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_dm")}>${_escape(ws.name)}${_el_resume($scope8_id, "c")}</span>`);
|
|
6463
6463
|
_if(() => {
|
|
6464
6464
|
if (ws.status !== "active") {
|
|
6465
6465
|
const $scope11_id = _scope_id();
|
|
@@ -6468,7 +6468,7 @@ var manage_workspace_default = _template("m", (input) => {
|
|
|
6468
6468
|
return 0;
|
|
6469
6469
|
}
|
|
6470
6470
|
}, $scope8_id, "d", 1, 1, 1, 0, 1);
|
|
6471
|
-
_html(`<span${_attr_class("
|
|
6471
|
+
_html(`<span${_attr_class("_dn")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope8_id, "g")}</span></span>${_el_resume($scope8_id, "a")}`);
|
|
6472
6472
|
_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) })))));
|
|
6473
6473
|
_resume_branch($scope8_id);
|
|
6474
6474
|
}, $scope0_id) })
|
|
@@ -6496,22 +6496,22 @@ var manage_workspace_default = _template("m", (input) => {
|
|
|
6496
6496
|
_if(() => {
|
|
6497
6497
|
if (pendingAction && actionStep) {
|
|
6498
6498
|
const $scope7_id = _scope_id();
|
|
6499
|
-
_html(`<p${_attr_class("
|
|
6499
|
+
_html(`<p${_attr_class("_br")}><span${_attr_class("_F")}></span><!>${_escape(actionStep)}${_el_resume($scope7_id, "c")}</p>`);
|
|
6500
6500
|
writeScope($scope7_id, {});
|
|
6501
6501
|
return 0;
|
|
6502
6502
|
}
|
|
6503
6503
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
6504
|
-
_html(`<section${_attr_class("
|
|
6504
|
+
_html(`<section${_attr_class("_bs")}><div${_attr_class("_bt")}><h2${_attr_class("_bH")}>Repos</h2><span${_attr_class(sectionCount)}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "k")}</span><div${_attr_class("_y")}></div><button${_attr_class(iconBtn)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
6505
6505
|
_set_serialize_reason(1);
|
|
6506
6506
|
const $childScope2 = _peek_scope_id();
|
|
6507
6507
|
icon_refresh_default({
|
|
6508
6508
|
size: 14,
|
|
6509
6509
|
class: catalogRefreshing && "_E"
|
|
6510
6510
|
});
|
|
6511
|
-
_html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("
|
|
6511
|
+
_html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("_bv")}>`);
|
|
6512
6512
|
_for_of(ws.repos, (row) => {
|
|
6513
6513
|
const $scope1_id = _scope_id();
|
|
6514
|
-
_html(`<li${_attr_class("
|
|
6514
|
+
_html(`<li${_attr_class("_bx")}><div${_attr_class("_by")}><span${_attr_class(["_bz", "_x"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bA")}><a${_attr_class(["_bB", "_dq"])}${_attr("href", repoWebUrl$1(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_escape(repoLabel(row.full_name))}${_el_resume($scope1_id, "g")}</a>${_el_resume($scope1_id, "f")}`);
|
|
6515
6515
|
_if(() => {
|
|
6516
6516
|
if (row.base_branch !== row.default_branch) {
|
|
6517
6517
|
const $scope12_id = _scope_id();
|
|
@@ -6530,7 +6530,7 @@ var manage_workspace_default = _template("m", (input) => {
|
|
|
6530
6530
|
} else {
|
|
6531
6531
|
const $scope6_id = _scope_id();
|
|
6532
6532
|
_html(`<button${_attr_class([
|
|
6533
|
-
"
|
|
6533
|
+
"_bC",
|
|
6534
6534
|
"_2",
|
|
6535
6535
|
"_3",
|
|
6536
6536
|
{ ["_q"]: confirmingRemove === row.full_name }
|
|
@@ -6563,19 +6563,19 @@ var manage_workspace_default = _template("m", (input) => {
|
|
|
6563
6563
|
}, "full_name", $scope0_id, "p", 1, 1, 1, 0, 1);
|
|
6564
6564
|
_for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
|
|
6565
6565
|
const $scope16_id = _scope_id();
|
|
6566
|
-
_html(`<li${_attr_class(["
|
|
6566
|
+
_html(`<li${_attr_class(["_bx", "_bw"])}><span${_attr_class("_F")}></span><div${_attr_class("_by")}><span${_attr_class("_bB")}>Adding <!>${_escape(name)}${_el_resume($scope16_id, "e")}…</span></div></li>`);
|
|
6567
6567
|
writeScope($scope16_id, {});
|
|
6568
6568
|
}, (n) => n, $scope0_id, "q", 1, 1, 1, 0, 1);
|
|
6569
6569
|
_html("</ul>");
|
|
6570
6570
|
_if(() => {
|
|
6571
6571
|
if (!ws.repos.length && !busy.size) {
|
|
6572
6572
|
const $scope17_id = _scope_id();
|
|
6573
|
-
_html(`<p${_attr_class("
|
|
6573
|
+
_html(`<p${_attr_class("_bD")}>No repos yet. Search below to add one.</p>`);
|
|
6574
6574
|
writeScope($scope17_id, {});
|
|
6575
6575
|
return 0;
|
|
6576
6576
|
}
|
|
6577
6577
|
}, $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
6578
|
-
_html(`<div${_attr_class("
|
|
6578
|
+
_html(`<div${_attr_class("_dp")}>`);
|
|
6579
6579
|
const $childScope3 = _peek_scope_id();
|
|
6580
6580
|
let refreshCatalog = repo_picker_default({
|
|
6581
6581
|
exclude: inWorkspace,
|
|
@@ -6595,17 +6595,17 @@ var manage_workspace_default = _template("m", (input) => {
|
|
|
6595
6595
|
_if(() => {
|
|
6596
6596
|
if (running.length) {
|
|
6597
6597
|
const $scope9_id = _scope_id();
|
|
6598
|
-
_html(`<section${_attr_class("
|
|
6598
|
+
_html(`<section${_attr_class("_bs")}><div${_attr_class("_bt")}><h2${_attr_class("_bH")}>Running</h2><span${_attr_class(sectionCount)}>${_escape(running.length)}${_el_resume($scope9_id, "e")}</span></div><ul${_attr_class("_bv")}>`);
|
|
6599
6599
|
_for_of(running, (p) => {
|
|
6600
6600
|
const $scope10_id = _scope_id();
|
|
6601
|
-
_html(`<li${_attr_class("
|
|
6601
|
+
_html(`<li${_attr_class("_bx")}><div${_attr_class("_by")}${_attr("title", p.args)}><span${_attr_class(["_bz", "_x"])}>${_escape(p.cmd)}${_el_resume($scope10_id, "d")}</span>`);
|
|
6602
6602
|
_if(() => {
|
|
6603
6603
|
if (p.ports.length) {
|
|
6604
6604
|
const $scope18_id = _scope_id();
|
|
6605
|
-
_html(`<span${_attr_class("
|
|
6605
|
+
_html(`<span${_attr_class("_bA")}>`);
|
|
6606
6606
|
_for_of(p.ports, (port) => {
|
|
6607
6607
|
const $scope19_id = _scope_id();
|
|
6608
|
-
_html(`<button${_attr_class(["_s", "
|
|
6608
|
+
_html(`<button${_attr_class(["_s", "_dr"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope19_id, "b")}</button>${_el_resume($scope19_id, "a")}`);
|
|
6609
6609
|
_script($scope19_id, "m15");
|
|
6610
6610
|
writeScope($scope19_id, { d: port });
|
|
6611
6611
|
}, (x) => String(x), $scope18_id, "a", 1, 1, 1, "</span>", 1);
|
|
@@ -6613,7 +6613,7 @@ var manage_workspace_default = _template("m", (input) => {
|
|
|
6613
6613
|
return 0;
|
|
6614
6614
|
}
|
|
6615
6615
|
}, $scope10_id, "e", 1, 1, 1, 0, 1);
|
|
6616
|
-
_html(`</div>${_el_resume($scope10_id, "b")}<button${_attr_class(["
|
|
6616
|
+
_html(`</div>${_el_resume($scope10_id, "b")}<button${_attr_class(["_bC", "_2"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
|
|
6617
6617
|
icon_xmark_default({ size: 14 });
|
|
6618
6618
|
_html(`</button>${_el_resume($scope10_id, "f")}</li>`);
|
|
6619
6619
|
_script($scope10_id, "m16");
|
|
@@ -6627,7 +6627,7 @@ var manage_workspace_default = _template("m", (input) => {
|
|
|
6627
6627
|
return 0;
|
|
6628
6628
|
}
|
|
6629
6629
|
}, $scope0_id, "v", 1, 1, 1, 0, 1);
|
|
6630
|
-
_html(`<section${_attr_class(["
|
|
6630
|
+
_html(`<section${_attr_class(["_bs", "_ds"])}><div${_attr_class("_bt")}><h2${_attr_class("_bH")}>Workspace</h2></div><div${_attr_class("_dt")}>`);
|
|
6631
6631
|
_if(() => {
|
|
6632
6632
|
if (ws.status === "active") {
|
|
6633
6633
|
const $scope4_id = _scope_id();
|
|
@@ -6728,15 +6728,15 @@ var term_find_default = _template("x", (input) => {
|
|
|
6728
6728
|
const canStep = hasQuery && open;
|
|
6729
6729
|
const keybar = input.placement === "keybar";
|
|
6730
6730
|
_html(`<div${_attr_class([
|
|
6731
|
-
"
|
|
6732
|
-
keybar ? "
|
|
6733
|
-
!open && "
|
|
6734
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
6731
|
+
"_fY",
|
|
6732
|
+
keybar ? "_f0" : "_fZ",
|
|
6733
|
+
!open && "_f2"
|
|
6734
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_fT", keybar ? "_f1" : "_fV"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
6735
6735
|
if (!open) return;
|
|
6736
6736
|
query = v;
|
|
6737
6737
|
live.query = v;
|
|
6738
6738
|
run(0);
|
|
6739
|
-
}, "x0", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
6739
|
+
}, "x0", $scope0_id))}${_attr_class([findInput, keybar && "_f3"])} 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 && "_f4"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_f4"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class([findIconBtn, keybar && "_f4"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
|
|
6740
6740
|
icon_xmark_default({ size: 14 });
|
|
6741
6741
|
_html(`</button>${_el_resume($scope0_id, "f")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
|
|
6742
6742
|
_script($scope0_id, "x4");
|
|
@@ -7010,7 +7010,7 @@ var term_default = _template("y", (input) => {
|
|
|
7010
7010
|
trapOpen = true;
|
|
7011
7011
|
}
|
|
7012
7012
|
}, "y14", $scope0_id);
|
|
7013
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
7013
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_cG")}><div${_attr_class("_cH")}></div>${_el_resume($scope0_id, "b")}`);
|
|
7014
7014
|
_if(() => {
|
|
7015
7015
|
if (findOpen) {
|
|
7016
7016
|
const $scope12_id = _scope_id();
|
|
@@ -7037,7 +7037,7 @@ var term_default = _template("y", (input) => {
|
|
|
7037
7037
|
_if(() => {
|
|
7038
7038
|
if (uploading) {
|
|
7039
7039
|
const $scope19_id = _scope_id();
|
|
7040
|
-
_html(`<div${_attr_class("
|
|
7040
|
+
_html(`<div${_attr_class("_cN")}>uploading…</div>`);
|
|
7041
7041
|
writeScope($scope19_id, {});
|
|
7042
7042
|
return 0;
|
|
7043
7043
|
}
|
|
@@ -7045,7 +7045,7 @@ var term_default = _template("y", (input) => {
|
|
|
7045
7045
|
_if(() => {
|
|
7046
7046
|
if (copiedFlash) {
|
|
7047
7047
|
const $scope20_id = _scope_id();
|
|
7048
|
-
_html(`<div${_attr_class("
|
|
7048
|
+
_html(`<div${_attr_class("_cM")}>Copied</div>`);
|
|
7049
7049
|
writeScope($scope20_id, {});
|
|
7050
7050
|
return 0;
|
|
7051
7051
|
}
|
|
@@ -7054,7 +7054,7 @@ var term_default = _template("y", (input) => {
|
|
|
7054
7054
|
_if(() => {
|
|
7055
7055
|
if (trapOpen) {
|
|
7056
7056
|
const $scope11_id = _scope_id();
|
|
7057
|
-
_html(`<div${_attr_class("
|
|
7057
|
+
_html(`<div${_attr_class("_cO")}><div${_attr_class("_cP")}><p${_attr_class("_dj")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope11_id, "d")}<button${_attr_class("_o")}>Cancel</button>${_el_resume($scope11_id, "e")}</div>${_el_resume($scope11_id, "b")}</div>${_el_resume($scope11_id, "a")}`);
|
|
7058
7058
|
_script($scope11_id, "y25");
|
|
7059
7059
|
_script($scope11_id, "y26");
|
|
7060
7060
|
writeScope($scope11_id, {});
|
|
@@ -7157,7 +7157,7 @@ var work_view_default = _template("C", (input) => {
|
|
|
7157
7157
|
let DiffView = null;
|
|
7158
7158
|
const loadDiffView = _resume(() => {
|
|
7159
7159
|
if (DiffView) return;
|
|
7160
|
-
import("./
|
|
7160
|
+
import("./_D4GY5TqP.js").then((m) => {
|
|
7161
7161
|
DiffView = m.default;
|
|
7162
7162
|
});
|
|
7163
7163
|
}, "C6", $scope0_id);
|
|
@@ -7343,10 +7343,10 @@ var work_view_default = _template("C", (input) => {
|
|
|
7343
7343
|
toggleDiff();
|
|
7344
7344
|
}
|
|
7345
7345
|
}, "C21", $scope0_id);
|
|
7346
|
-
_html(`<div${_attr_class(["
|
|
7347
|
-
["
|
|
7348
|
-
["
|
|
7349
|
-
}])}><div${_attr_class("
|
|
7346
|
+
_html(`<div${_attr_class(["_ch", {
|
|
7347
|
+
["_cf"]: view === "nav",
|
|
7348
|
+
["_cg"]: !input.active
|
|
7349
|
+
}])}><div${_attr_class("_ci")}>`);
|
|
7350
7350
|
_set_serialize_reason({
|
|
7351
7351
|
0: _serialize_guard($scope0_reason, 0),
|
|
7352
7352
|
1: _serialize_guard($scope0_reason, 2),
|
|
@@ -7407,7 +7407,7 @@ var work_view_default = _template("C", (input) => {
|
|
|
7407
7407
|
openDiff(pr);
|
|
7408
7408
|
}, "C29", $scope0_id)
|
|
7409
7409
|
});
|
|
7410
|
-
_html(`</div><div${_attr_class("
|
|
7410
|
+
_html(`</div><div${_attr_class("_cj")}>`);
|
|
7411
7411
|
_if(() => {
|
|
7412
7412
|
if (error) {
|
|
7413
7413
|
const $scope8_id = _scope_id();
|
|
@@ -7430,7 +7430,7 @@ var work_view_default = _template("C", (input) => {
|
|
|
7430
7430
|
_if(() => {
|
|
7431
7431
|
if (diffMounted && DiffView) {
|
|
7432
7432
|
const $scope1_id = _scope_id();
|
|
7433
|
-
_html(`<div${_attr_class(["
|
|
7433
|
+
_html(`<div${_attr_class(["_ck", { ["_cl"]: view === "diff" }])}>`);
|
|
7434
7434
|
_dynamic_tag($scope1_id, "b", DiffView, {
|
|
7435
7435
|
workspaceId: ws.id,
|
|
7436
7436
|
workspaceBranch: ws.branch,
|
|
@@ -7470,7 +7470,7 @@ var work_view_default = _template("C", (input) => {
|
|
|
7470
7470
|
_if(() => {
|
|
7471
7471
|
if (manageMounted) {
|
|
7472
7472
|
const $scope2_id = _scope_id();
|
|
7473
|
-
_html(`<div${_attr_class(["
|
|
7473
|
+
_html(`<div${_attr_class(["_ck", { ["_cl"]: view === "manage" }])}>`);
|
|
7474
7474
|
_set_serialize_reason(_serialize_guard($scope0_reason, 16));
|
|
7475
7475
|
const $childScope2 = _peek_scope_id();
|
|
7476
7476
|
manage_workspace_default({
|
|
@@ -7493,7 +7493,7 @@ var work_view_default = _template("C", (input) => {
|
|
|
7493
7493
|
_if(() => {
|
|
7494
7494
|
if (settingsMounted) {
|
|
7495
7495
|
const $scope3_id = _scope_id();
|
|
7496
|
-
_html(`<div${_attr_class(["
|
|
7496
|
+
_html(`<div${_attr_class(["_ck", { ["_cl"]: view === "settings" }])}>`);
|
|
7497
7497
|
_set_serialize_reason({
|
|
7498
7498
|
0: _serialize_guard($scope0_reason, 1),
|
|
7499
7499
|
1: $sg__input_workspace,
|
|
@@ -7533,7 +7533,7 @@ var work_view_default = _template("C", (input) => {
|
|
|
7533
7533
|
_if(() => {
|
|
7534
7534
|
if (newMounted) {
|
|
7535
7535
|
const $scope4_id = _scope_id();
|
|
7536
|
-
_html(`<div${_attr_class(["
|
|
7536
|
+
_html(`<div${_attr_class(["_ck", { ["_cl"]: view === "new" }])}>`);
|
|
7537
7537
|
_set_serialize_reason({
|
|
7538
7538
|
0: 1,
|
|
7539
7539
|
1: $sg__input_allWorkspaces,
|
|
@@ -7560,13 +7560,13 @@ var work_view_default = _template("C", (input) => {
|
|
|
7560
7560
|
return 0;
|
|
7561
7561
|
}
|
|
7562
7562
|
}, $scope0_id, "i", 1, 1, 1, 0, 1);
|
|
7563
|
-
_html(`<div${_attr_class(["
|
|
7563
|
+
_html(`<div${_attr_class(["_cn", { ["_cm"]: view !== "term" }])}>`);
|
|
7564
7564
|
_if(() => {
|
|
7565
7565
|
if (shownSessions) {
|
|
7566
7566
|
const $scope5_id = _scope_id();
|
|
7567
7567
|
_for_of(shownSessions, (s) => {
|
|
7568
7568
|
const $scope6_id = _scope_id();
|
|
7569
|
-
_html(`<div${_attr_class(["
|
|
7569
|
+
_html(`<div${_attr_class(["_co", { ["_cp"]: s.id === curTab }])}>`);
|
|
7570
7570
|
_set_serialize_reason({
|
|
7571
7571
|
0: 1,
|
|
7572
7572
|
1: 1,
|
|
@@ -7625,7 +7625,7 @@ var work_view_default = _template("C", (input) => {
|
|
|
7625
7625
|
_if(() => {
|
|
7626
7626
|
if (!shownSessions.length && view === "term") {
|
|
7627
7627
|
const $scope7_id = _scope_id();
|
|
7628
|
-
_html(`<div${_attr_class("
|
|
7628
|
+
_html(`<div${_attr_class("_bE")}><span>No sessions in this workspace.</span><button${_attr_class(["_o", "_p"])}${_attr("disabled", spawning)}>${spawning ? "Starting…" : `Start ${_escape(`${input.preferred || "shell"}`)}`}${_el_resume($scope7_id, "c")}</button>${_el_resume($scope7_id, "b")}</div>`);
|
|
7629
7629
|
_script($scope7_id, "C49");
|
|
7630
7630
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
|
|
7631
7631
|
return 0;
|
|
@@ -7635,7 +7635,7 @@ var work_view_default = _template("C", (input) => {
|
|
|
7635
7635
|
return 0;
|
|
7636
7636
|
} else {
|
|
7637
7637
|
const $scope10_id = _scope_id();
|
|
7638
|
-
_html(`<p${_attr_class("
|
|
7638
|
+
_html(`<p${_attr_class("_bE")}>Loading sessions…</p>`);
|
|
7639
7639
|
writeScope($scope10_id, {});
|
|
7640
7640
|
return 1;
|
|
7641
7641
|
}
|
|
@@ -15574,4 +15574,4 @@ server.listen(port, () => {
|
|
|
15574
15574
|
//#endregion
|
|
15575
15575
|
export {};
|
|
15576
15576
|
|
|
15577
|
-
;var __MARKO_MANIFEST__={"
|
|
15577
|
+
;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-DmG8xzGs.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DmG8xzGs.css\"",">"],"defer":[2,"/assets/new-UbjAS00i.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-UbjAS00i.js\"","></script>",2,"modulepreload#/assets/_D4nk-T8f.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_D4nk-T8f.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-DmG8xzGs.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DmG8xzGs.css\"",">"],"defer":[2,"/assets/w._-UbjAS00i.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-UbjAS00i.js\"","></script>",2,"modulepreload#/assets/_D4nk-T8f.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_D4nk-T8f.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-DmG8xzGs.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DmG8xzGs.css\"",">"],"defer":[2,"/assets/settings-UbjAS00i.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-UbjAS00i.js\"","></script>",2,"modulepreload#/assets/_D4nk-T8f.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_D4nk-T8f.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-DmG8xzGs.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DmG8xzGs.css\"",">"],"defer":[2,"/assets/w._-DezkAdF7.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-DezkAdF7.js\"","></script>",2,"modulepreload#/assets/_D4nk-T8f.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_D4nk-T8f.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-DmG8xzGs.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DmG8xzGs.css\"",">"],"defer":[2,"/assets/w-UbjAS00i.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-UbjAS00i.js\"","></script>",2,"modulepreload#/assets/_D4nk-T8f.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_D4nk-T8f.js\"",">"]}};
|