@dylanpiercey/work 0.0.103 → 0.0.105
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/{_CCFu_22o.js → _Bn7Vo42N.js} +4 -4
- package/dist/{_BOEACXPY.js → _BuETZvgo.js} +47 -47
- package/dist/index.mjs +180 -180
- package/dist/public/assets/{_Bsgj4mnQ2.js → _6YPfPDI62.js} +1 -1
- package/dist/public/assets/_6YPfPDI62.js.br +0 -0
- package/dist/public/assets/{_CLJysxj2.js → _B0ecEmZT.js} +1 -1
- package/dist/public/assets/_B0ecEmZT.js.br +0 -0
- package/dist/public/assets/{_ChjLT4BW.js → _B3xBMyxG.js} +1 -1
- package/dist/public/assets/_B3xBMyxG.js.br +0 -0
- package/dist/public/assets/{_CDgWUXzI.js → _BCi02Szc.js} +1 -1
- package/dist/public/assets/_BCi02Szc.js.br +0 -0
- package/dist/public/assets/{_DELEyvLh.js → _BEO3l5rw.js} +1 -1
- package/dist/public/assets/_BEO3l5rw.js.br +0 -0
- package/dist/public/assets/{_RhWmjjkn2.js → _BFxqTICp2.js} +1 -1
- package/dist/public/assets/_BFxqTICp2.js.br +0 -0
- package/dist/public/assets/{_CZrYSTD2.js → _BLqga2mU.js} +1 -1
- package/dist/public/assets/_BLqga2mU.js.br +0 -0
- package/dist/public/assets/{_BeZxh-mm.js → _BU4ISbxW.js} +1 -1
- package/dist/public/assets/_BU4ISbxW.js.br +0 -0
- package/dist/public/assets/{_C0KKmjwL.js → _BW55cmST.js} +1 -1
- package/dist/public/assets/_BW55cmST.js.br +0 -0
- package/dist/public/assets/{_BQOcxkC52.js → _BYppen6z2.js} +1 -1
- package/dist/public/assets/_BYppen6z2.js.br +0 -0
- package/dist/public/assets/{_CXr3yXer.js → _BcVRcB9j.js} +1 -1
- package/dist/public/assets/_BcVRcB9j.js.br +0 -0
- package/dist/public/assets/{_4r616vef.js → _BjXvUzVX.js} +1 -1
- package/dist/public/assets/_BjXvUzVX.js.br +0 -0
- package/dist/public/assets/{_Cz3Q_PBh.js → _BlKbB1WQ.js} +1 -1
- package/dist/public/assets/_BlKbB1WQ.js.br +0 -0
- package/dist/public/assets/{_DCJbqegl.js → _BqvL8Q_F.js} +6 -6
- package/dist/public/assets/_BqvL8Q_F.js.br +0 -0
- package/dist/public/assets/{_ctD402GZ.js → _BrD6BZxi.js} +1 -1
- package/dist/public/assets/_BrD6BZxi.js.br +0 -0
- package/dist/public/assets/{_DYSQKsfU.js → _BrLsGhQp.js} +1 -1
- package/dist/public/assets/_BrLsGhQp.js.br +0 -0
- package/dist/public/assets/{_TmpPKG1G2.js → _Bvx3AHBt2.js} +1 -1
- package/dist/public/assets/_Bvx3AHBt2.js.br +0 -0
- package/dist/public/assets/{_OoofsdUJ2.js → _BwUwI70z2.js} +1 -1
- package/dist/public/assets/{_ZwWSSMOB.js → _C3nSfG5r.js} +1 -1
- package/dist/public/assets/_C3nSfG5r.js.br +0 -0
- package/dist/public/assets/{_Cbc0eAHQ.js → _C5TU8ZAS.js} +1 -1
- package/dist/public/assets/_C5TU8ZAS.js.br +0 -0
- package/dist/public/assets/{_DZ2ozFyE2.js → _C5fA1o7F2.js} +1 -1
- package/dist/public/assets/_C5fA1o7F2.js.br +0 -0
- package/dist/public/assets/{_-y9IcHi0.js → _CFMVxyXy.js} +1 -1
- package/dist/public/assets/_CFMVxyXy.js.br +0 -0
- package/dist/public/assets/{_BBwdSVv62.js → _CHHgiJEf2.js} +1 -1
- package/dist/public/assets/{_C5w6NPXI.js → _CIBrDTSe.js} +1 -1
- package/dist/public/assets/_CIBrDTSe.js.br +0 -0
- package/dist/public/assets/{_YSBx8SDL.js → _CLSdxGxS.js} +1 -1
- package/dist/public/assets/_CLSdxGxS.js.br +0 -0
- package/dist/public/assets/{_C0APEMM8.js → _CQnu0mBt.js} +1 -1
- package/dist/public/assets/_CQnu0mBt.js.br +0 -0
- package/dist/public/assets/{_DJ2UU6Tq.js → _CVaCgXiI.js} +1 -1
- package/dist/public/assets/_CVaCgXiI.js.br +0 -0
- package/dist/public/assets/{_DDtWgMTb.js → _CZDjAlvx.js} +1 -1
- package/dist/public/assets/_CZDjAlvx.js.br +0 -0
- package/dist/public/assets/{_BjvRt40f.js → _CaTrqYX-.js} +1 -1
- package/dist/public/assets/_CaTrqYX-.js.br +0 -0
- package/dist/public/assets/{_BH11gEoi.js → _Cb2YgPjW.js} +1 -1
- package/dist/public/assets/_Cb2YgPjW.js.br +4 -0
- package/dist/public/assets/{_CaTMj4Ey2.js → _CdUu-2fh2.js} +1 -1
- package/dist/public/assets/_CdUu-2fh2.js.br +0 -0
- package/dist/public/assets/{_CF1RpvOn.js → _CePmodgU.js} +1 -1
- package/dist/public/assets/{_DXOxxxFa2.js → _Ci0yrL1O2.js} +1 -1
- package/dist/public/assets/_Ci0yrL1O2.js.br +0 -0
- package/dist/public/assets/{_DfoHvGIL.js → _CiZP5SWa.js} +1 -1
- package/dist/public/assets/_CiZP5SWa.js.br +0 -0
- package/dist/public/assets/{_Cz-F5n3k.js → _CjATfBBm.js} +1 -1
- package/dist/public/assets/_CjATfBBm.js.br +0 -0
- package/dist/public/assets/{_CTXtNwcB.js → _CjDax-uG.js} +1 -1
- package/dist/public/assets/_CjDax-uG.js.br +0 -0
- package/dist/public/assets/{_CHi0915U2.js → _CkmLV3hJ2.js} +1 -1
- package/dist/public/assets/_CkmLV3hJ2.js.br +0 -0
- package/dist/public/assets/{_dj-y3boC.js → _Clhb3_UQ.js} +1 -1
- package/dist/public/assets/_Clhb3_UQ.js.br +0 -0
- package/dist/public/assets/{_C6KJHYnD.js → _Cp1qgW4u.js} +1 -1
- package/dist/public/assets/_Cp1qgW4u.js.br +0 -0
- package/dist/public/assets/{_DhOYufO92.js → _CpV6WCxZ2.js} +1 -1
- package/dist/public/assets/_CpV6WCxZ2.js.br +0 -0
- package/dist/public/assets/{_BcLYjRvj2.js → _CrQlVTSw2.js} +1 -1
- package/dist/public/assets/_CrQlVTSw2.js.br +0 -0
- package/dist/public/assets/{_COj2A5or2.js → _CutPxIXt2.js} +1 -1
- package/dist/public/assets/_CutPxIXt2.js.br +0 -0
- package/dist/public/assets/{_x5nTH0On.js → _D-HDmpgw.js} +1 -1
- package/dist/public/assets/_D-HDmpgw.js.br +0 -0
- package/dist/public/assets/{__YTl1JhJ.js → _D6algS7t.js} +1 -1
- package/dist/public/assets/_D6algS7t.js.br +0 -0
- package/dist/public/assets/{_Bqnfd5-l2.js → _D9X7jhy-2.js} +1 -1
- package/dist/public/assets/_D9X7jhy-2.js.br +0 -0
- package/dist/public/assets/{_DVU0fIS52.js → _DEJFvYJ62.js} +1 -1
- package/dist/public/assets/_DEJFvYJ62.js.br +0 -0
- package/dist/public/assets/{_CxvJdv0j.js → _DEQ3hL-_.js} +1 -1
- package/dist/public/assets/_DEQ3hL-_.js.br +0 -0
- package/dist/public/assets/{_Dyl0CkEc.js → _DJizIs0X.js} +1 -1
- package/dist/public/assets/_DJizIs0X.js.br +0 -0
- package/dist/public/assets/{_Dqt_SamS.js → _DKGKy8Ue.js} +1 -1
- package/dist/public/assets/_DKGKy8Ue.js.br +0 -0
- package/dist/public/assets/{_B8NXfLLc2.js → _DLnK9h4u2.js} +1 -1
- package/dist/public/assets/_DLnK9h4u2.js.br +0 -0
- package/dist/public/assets/{_DbVqh6Th2.js → _DQFsV6Gg2.js} +1 -1
- package/dist/public/assets/_DQFsV6Gg2.js.br +0 -0
- package/dist/public/assets/{_DdRslm62.js → _DUAWKDne.js} +1 -1
- package/dist/public/assets/_DUAWKDne.js.br +0 -0
- package/dist/public/assets/{_Cgsoq1kD.js → _DUHq5d-O.js} +1 -1
- package/dist/public/assets/_DUHq5d-O.js.br +0 -0
- package/dist/public/assets/{_BZIMrsDn2.js → _DViTUS4x2.js} +1 -1
- package/dist/public/assets/_DViTUS4x2.js.br +0 -0
- package/dist/public/assets/{_CVxl2RPD.js → _DbacTS0F.js} +1 -1
- package/dist/public/assets/_DbacTS0F.js.br +0 -0
- package/dist/public/assets/{_KcAMZi58.js → _Dd6AxdTB.js} +1 -1
- package/dist/public/assets/_Dd6AxdTB.js.br +0 -0
- package/dist/public/assets/{_CllJAI4M.js → _Dlf2ZDxM.js} +1 -1
- package/dist/public/assets/_Dlf2ZDxM.js.br +0 -0
- package/dist/public/assets/{_CgNZ23K4.js → _DmmsdEZ5.js} +1 -1
- package/dist/public/assets/_DmmsdEZ5.js.br +0 -0
- package/dist/public/assets/{_C_R8yF5L2.js → _DoCKCU_e2.js} +1 -1
- package/dist/public/assets/_DoCKCU_e2.js.br +0 -0
- package/dist/public/assets/{_AETv3BSd.js → _DoTFmtt7.js} +1 -1
- package/dist/public/assets/_DoTFmtt7.js.br +0 -0
- package/dist/public/assets/{_VZNpIoO_.js → _EmeaqKAA.js} +1 -1
- package/dist/public/assets/_EmeaqKAA.js.br +0 -0
- package/dist/public/assets/{_BluAgQCN.js → _LqCR3QeF.js} +1 -1
- package/dist/public/assets/_LqCR3QeF.js.br +0 -0
- package/dist/public/assets/{_CABMXi3p.js → _Om-eeglP.js} +1 -1
- package/dist/public/assets/_Om-eeglP.js.br +0 -0
- package/dist/public/assets/{_HkYUHfHw2.js → _R4Xh_jnK2.js} +1 -1
- package/dist/public/assets/_R4Xh_jnK2.js.br +0 -0
- package/dist/public/assets/{_BiN-p3Mm.js → _RlqlMErp.js} +1 -1
- package/dist/public/assets/_RlqlMErp.js.br +0 -0
- package/dist/public/assets/{_gSF-kG0H.js → _SkLm7UXs.js} +1 -1
- package/dist/public/assets/_SkLm7UXs.js.br +0 -0
- package/dist/public/assets/{_CAJL1j7c.js → _TDnxhggP.js} +1 -1
- package/dist/public/assets/_TDnxhggP.js.br +0 -0
- package/dist/public/assets/{_DHDATJPn.js → _aey-kaDM.js} +1 -1
- package/dist/public/assets/_aey-kaDM.js.br +0 -0
- package/dist/public/assets/{_Yu4fyCcu.js → _be1vkmnl.js} +1 -1
- package/dist/public/assets/_be1vkmnl.js.br +0 -0
- package/dist/public/assets/{_Dxrzn7gD2.js → _eAWjxuKH2.js} +1 -1
- package/dist/public/assets/_eAWjxuKH2.js.br +0 -0
- package/dist/public/assets/{_CPFHxSUK.js → _ehLhw-eU.js} +6 -6
- package/dist/public/assets/_ehLhw-eU.js.br +0 -0
- package/dist/public/assets/{_BxMKrdPQ2.js → _fVNzbcGw2.js} +1 -1
- package/dist/public/assets/_fVNzbcGw2.js.br +0 -0
- package/dist/public/assets/{_CKbWnV5d2.js → _fgBwCMOP2.js} +1 -1
- package/dist/public/assets/_fgBwCMOP2.js.br +0 -0
- package/dist/public/assets/{_lsWZ-d9b2.js → _jw6J8BNS2.js} +1 -1
- package/dist/public/assets/_jw6J8BNS2.js.br +0 -0
- package/dist/public/assets/{_DBXFxML6.js → _m9e7-RL0.js} +1 -1
- package/dist/public/assets/_m9e7-RL0.js.br +0 -0
- package/dist/public/assets/{_CujUTIm_.js → _rt1FuEUK.js} +1 -1
- package/dist/public/assets/_rt1FuEUK.js.br +0 -0
- package/dist/public/assets/{app-page-ClW4MXmb.css → app-page-C2vRDhnS.css} +1 -1
- package/dist/public/assets/app-page-C2vRDhnS.css.br +0 -0
- package/dist/public/assets/{diff-view-DnJaRGTY.css → diff-view-CYgMfo6C.css} +1 -1
- package/dist/public/assets/diff-view-CYgMfo6C.css.br +0 -0
- package/dist/public/assets/new-CwkHt2eP.js +1 -0
- package/dist/public/assets/settings-CwkHt2eP.js +1 -0
- package/dist/public/assets/w-CwkHt2eP.js +1 -0
- package/dist/public/assets/w._-BxPjPqAS.js +1 -0
- package/dist/public/assets/w._-CwkHt2eP.js +1 -0
- package/package.json +1 -1
- package/dist/public/assets/_-y9IcHi0.js.br +0 -0
- package/dist/public/assets/_4r616vef.js.br +0 -0
- package/dist/public/assets/_AETv3BSd.js.br +0 -0
- package/dist/public/assets/_B8NXfLLc2.js.br +0 -0
- package/dist/public/assets/_BH11gEoi.js.br +0 -0
- package/dist/public/assets/_BQOcxkC52.js.br +0 -0
- package/dist/public/assets/_BZIMrsDn2.js.br +0 -0
- package/dist/public/assets/_BcLYjRvj2.js.br +0 -0
- package/dist/public/assets/_BeZxh-mm.js.br +0 -0
- package/dist/public/assets/_BiN-p3Mm.js.br +0 -0
- package/dist/public/assets/_BjvRt40f.js.br +0 -0
- package/dist/public/assets/_BluAgQCN.js.br +0 -0
- package/dist/public/assets/_Bqnfd5-l2.js.br +0 -0
- package/dist/public/assets/_Bsgj4mnQ2.js.br +0 -0
- package/dist/public/assets/_BxMKrdPQ2.js.br +0 -0
- package/dist/public/assets/_C0APEMM8.js.br +0 -0
- package/dist/public/assets/_C0KKmjwL.js.br +0 -0
- package/dist/public/assets/_C5w6NPXI.js.br +0 -0
- package/dist/public/assets/_C6KJHYnD.js.br +0 -0
- package/dist/public/assets/_CABMXi3p.js.br +0 -0
- package/dist/public/assets/_CAJL1j7c.js.br +0 -0
- package/dist/public/assets/_CDgWUXzI.js.br +0 -0
- package/dist/public/assets/_CHi0915U2.js.br +0 -0
- package/dist/public/assets/_CKbWnV5d2.js.br +0 -0
- package/dist/public/assets/_CLJysxj2.js.br +0 -0
- package/dist/public/assets/_COj2A5or2.js.br +0 -0
- package/dist/public/assets/_CPFHxSUK.js.br +0 -0
- package/dist/public/assets/_CTXtNwcB.js.br +0 -0
- package/dist/public/assets/_CVxl2RPD.js.br +0 -0
- package/dist/public/assets/_CXr3yXer.js.br +0 -0
- package/dist/public/assets/_CZrYSTD2.js.br +0 -0
- package/dist/public/assets/_C_R8yF5L2.js.br +0 -0
- package/dist/public/assets/_CaTMj4Ey2.js.br +0 -0
- package/dist/public/assets/_Cbc0eAHQ.js.br +0 -0
- package/dist/public/assets/_CgNZ23K4.js.br +0 -0
- package/dist/public/assets/_Cgsoq1kD.js.br +0 -0
- package/dist/public/assets/_ChjLT4BW.js.br +0 -0
- package/dist/public/assets/_CllJAI4M.js.br +0 -0
- package/dist/public/assets/_CujUTIm_.js.br +0 -0
- package/dist/public/assets/_CxvJdv0j.js.br +0 -0
- package/dist/public/assets/_Cz-F5n3k.js.br +0 -0
- package/dist/public/assets/_Cz3Q_PBh.js.br +0 -0
- package/dist/public/assets/_DBXFxML6.js.br +0 -0
- package/dist/public/assets/_DCJbqegl.js.br +0 -0
- package/dist/public/assets/_DDtWgMTb.js.br +0 -0
- package/dist/public/assets/_DELEyvLh.js.br +0 -0
- package/dist/public/assets/_DHDATJPn.js.br +0 -0
- package/dist/public/assets/_DJ2UU6Tq.js.br +0 -0
- package/dist/public/assets/_DVU0fIS52.js.br +0 -0
- package/dist/public/assets/_DXOxxxFa2.js.br +0 -0
- package/dist/public/assets/_DYSQKsfU.js.br +0 -0
- package/dist/public/assets/_DZ2ozFyE2.js.br +0 -0
- package/dist/public/assets/_DbVqh6Th2.js.br +0 -0
- package/dist/public/assets/_DdRslm62.js.br +0 -0
- package/dist/public/assets/_DfoHvGIL.js.br +0 -0
- package/dist/public/assets/_DhOYufO92.js.br +0 -0
- package/dist/public/assets/_Dqt_SamS.js.br +0 -0
- package/dist/public/assets/_Dxrzn7gD2.js.br +0 -0
- package/dist/public/assets/_Dyl0CkEc.js.br +0 -0
- package/dist/public/assets/_HkYUHfHw2.js.br +0 -0
- package/dist/public/assets/_KcAMZi58.js.br +0 -0
- package/dist/public/assets/_RhWmjjkn2.js.br +0 -0
- package/dist/public/assets/_TmpPKG1G2.js.br +0 -0
- package/dist/public/assets/_VZNpIoO_.js.br +0 -0
- package/dist/public/assets/_YSBx8SDL.js.br +0 -0
- package/dist/public/assets/_Yu4fyCcu.js.br +0 -0
- package/dist/public/assets/_ZwWSSMOB.js.br +0 -0
- package/dist/public/assets/__YTl1JhJ.js.br +0 -0
- package/dist/public/assets/_ctD402GZ.js.br +0 -0
- package/dist/public/assets/_dj-y3boC.js.br +0 -0
- package/dist/public/assets/_gSF-kG0H.js.br +0 -0
- package/dist/public/assets/_lsWZ-d9b2.js.br +0 -0
- package/dist/public/assets/_x5nTH0On.js.br +0 -0
- package/dist/public/assets/app-page-ClW4MXmb.css.br +0 -0
- package/dist/public/assets/diff-view-DnJaRGTY.css.br +0 -0
- package/dist/public/assets/new-Dy2OOQ3s.js +0 -1
- package/dist/public/assets/settings-Dy2OOQ3s.js +0 -1
- package/dist/public/assets/w-Dy2OOQ3s.js +0 -1
- package/dist/public/assets/w._-C0fh5mzT.js +0 -1
- package/dist/public/assets/w._-Dy2OOQ3s.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 "./_BYk3MBDh.js";
|
|
3
|
-
import { $ as _await, A as repoLabel, At as _try, B as phase, C as sideNavOpen, Ct as _serialize_guard, D as icon_xmark_default, Dt as _template, E as toast_default, Et as _subscribe, H as $global, I as iconBtnRow, J as _attr_or, K as _attr_input_value, L as iconBtnXs, M as setPrimaryHost, Mt as attrTag, N as btnLg, Nt as withPageAssets, O as icon_base_default, Ot as _to_text, P as btnSm, Pt as writeScope, Q as _attrs_partial, R as inputLg, S as setWorkspaceTab, St as _sep, T as workspaceTab, Tt as _set_serialize_reason, U as _attr, V as tone, W as _attr_class, X as _attr_style, Y as _attr_select_value, Z as _attrs, _t as _resume_branch, at as _el_resume, bt as _scope_with_id, c as icon_arrow_up_default, ct as _flush_head, d as iconBtn$2, dt as _hoist_read_error, et as _content, f as row, ft as _html, gt as _resume, ht as _peek_scope_id, i as icon_sidebar_default, it as _el_read_error, j as repoWebUrl$1, jt as _var, k as parseRepoUrl, kt as _trailers, l as icon_back_default, lt as _for_of, mt as _if, n as findIconBtn, nt as _dynamic_tag, o as rankRepos, ot as _escape, p as sectionCount$1, pt as _id, q as _attr_option_value, r as findInput, s as icon_search_default, st as _existing_scope, t as icon_arrow_down_default, tt as _content_resume, u as icon_refresh_default, ut as _hoist, v as ignoredSsoOrgs, vt as _scope_id, w as theme, wt as _serialize_if, x as setTheme, xt as _script, yt as _scope_reason, z as metaTrunc } from "./
|
|
3
|
+
import { $ as _await, A as repoLabel, At as _try, B as phase, C as sideNavOpen, Ct as _serialize_guard, D as icon_xmark_default, Dt as _template, E as toast_default, Et as _subscribe, H as $global, I as iconBtnRow, J as _attr_or, K as _attr_input_value, L as iconBtnXs, M as setPrimaryHost, Mt as attrTag, N as btnLg, Nt as withPageAssets, O as icon_base_default, Ot as _to_text, P as btnSm, Pt as writeScope, Q as _attrs_partial, R as inputLg, S as setWorkspaceTab, St as _sep, T as workspaceTab, Tt as _set_serialize_reason, U as _attr, V as tone, W as _attr_class, X as _attr_style, Y as _attr_select_value, Z as _attrs, _t as _resume_branch, at as _el_resume, bt as _scope_with_id, c as icon_arrow_up_default, ct as _flush_head, d as iconBtn$2, dt as _hoist_read_error, et as _content, f as row, ft as _html, gt as _resume, ht as _peek_scope_id, i as icon_sidebar_default, it as _el_read_error, j as repoWebUrl$1, jt as _var, k as parseRepoUrl, kt as _trailers, l as icon_back_default, lt as _for_of, mt as _if, n as findIconBtn, nt as _dynamic_tag, o as rankRepos, ot as _escape, p as sectionCount$1, pt as _id, q as _attr_option_value, r as findInput, s as icon_search_default, st as _existing_scope, t as icon_arrow_down_default, tt as _content_resume, u as icon_refresh_default, ut as _hoist, v as ignoredSsoOrgs, vt as _scope_id, w as theme, wt as _serialize_if, x as setTheme, xt as _script, yt as _scope_reason, z as metaTrunc } from "./_Bn7Vo42N.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { createServer } from "node:http";
|
|
6
6
|
import path from "node:path";
|
|
@@ -3704,26 +3704,26 @@ function applyInstance(inst) {
|
|
|
3704
3704
|
}
|
|
3705
3705
|
//#endregion
|
|
3706
3706
|
//#region src/tags/settings-page.css.ts
|
|
3707
|
-
var content$2 = "
|
|
3708
|
-
var agentGrid = "
|
|
3709
|
-
var toolGrid = "
|
|
3707
|
+
var content$2 = "_b2 _bD _bE";
|
|
3708
|
+
var agentGrid = "_b6 _bo";
|
|
3709
|
+
var toolGrid = "_cf _bo";
|
|
3710
3710
|
//#endregion
|
|
3711
3711
|
//#region src/tags/page-head.marko
|
|
3712
3712
|
var page_head_default = _template("r", (input) => {
|
|
3713
3713
|
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);
|
|
3714
3714
|
const $scope0_id = _scope_id();
|
|
3715
|
-
_html(`<header${_attr_class("
|
|
3715
|
+
_html(`<header${_attr_class("_bF")}>`);
|
|
3716
3716
|
_if(() => {
|
|
3717
3717
|
if (input.backHref) {
|
|
3718
3718
|
const $scope1_id = _scope_id();
|
|
3719
|
-
_html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "
|
|
3719
|
+
_html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_cT"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
3720
3720
|
icon_back_default({ size: 16 });
|
|
3721
3721
|
_html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 0))}`);
|
|
3722
3722
|
_serialize_if($scope0_reason, 2) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 0) && _scope_with_id($scope0_id) });
|
|
3723
3723
|
return 0;
|
|
3724
3724
|
} else if (input.onBack) {
|
|
3725
3725
|
const $scope2_id = _scope_id();
|
|
3726
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
3726
|
+
_html(`<button${_attr_class([iconBtnRow, "_cT"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
3727
3727
|
icon_back_default({ size: 16 });
|
|
3728
3728
|
_html(`</button>${_el_resume($scope2_id, "a")}`);
|
|
3729
3729
|
_script($scope2_id, "r0");
|
|
@@ -3731,11 +3731,11 @@ var page_head_default = _template("r", (input) => {
|
|
|
3731
3731
|
return 1;
|
|
3732
3732
|
}
|
|
3733
3733
|
}, $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);
|
|
3734
|
-
_html(`<div${_attr_class("
|
|
3734
|
+
_html(`<div${_attr_class("_bH")}><h1${_attr("id", input.titleId)}${_attr_class("_bG")}>${_escape(input.title)}${_el_resume($scope0_id, "e", _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
|
|
3735
3735
|
_if(() => {
|
|
3736
3736
|
if (input.meta) {
|
|
3737
3737
|
const $scope3_id = _scope_id();
|
|
3738
|
-
_html(`<p${_attr_class("
|
|
3738
|
+
_html(`<p${_attr_class("_bI")}>`);
|
|
3739
3739
|
_dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
|
|
3740
3740
|
_html("</p>");
|
|
3741
3741
|
$si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -3746,7 +3746,7 @@ var page_head_default = _template("r", (input) => {
|
|
|
3746
3746
|
_if(() => {
|
|
3747
3747
|
if (input.actions) {
|
|
3748
3748
|
const $scope4_id = _scope_id();
|
|
3749
|
-
_html(`<div${_attr_class("
|
|
3749
|
+
_html(`<div${_attr_class("_bJ")}>`);
|
|
3750
3750
|
_dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
3751
3751
|
_html("</div>");
|
|
3752
3752
|
$si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -3814,7 +3814,7 @@ var icon_agent_default = _template("G", (input) => {
|
|
|
3814
3814
|
n: $badge__closures
|
|
3815
3815
|
});
|
|
3816
3816
|
});
|
|
3817
|
-
var usageNote = "
|
|
3817
|
+
var usageNote = "_dt _S";
|
|
3818
3818
|
//#endregion
|
|
3819
3819
|
//#region src/tags/icons/icon-warning.marko
|
|
3820
3820
|
var icon_warning_default = _template("kb", (input) => {
|
|
@@ -3855,11 +3855,11 @@ var usage_meters_default = _template("D", (input) => {
|
|
|
3855
3855
|
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);
|
|
3856
3856
|
const $scope0_id = _scope_id();
|
|
3857
3857
|
const agent = input.agent;
|
|
3858
|
-
_html(`<div${_attr_class(["
|
|
3858
|
+
_html(`<div${_attr_class(["_dn", { ["_do"]: input.hideName }])}><div${_attr_class("_dp")}>`);
|
|
3859
3859
|
_if(() => {
|
|
3860
3860
|
if (!input.hideName) {
|
|
3861
3861
|
const $scope1_id = _scope_id();
|
|
3862
|
-
_html(`<strong${_attr_class("
|
|
3862
|
+
_html(`<strong${_attr_class("_dI")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
|
|
3863
3863
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
3864
3864
|
return 0;
|
|
3865
3865
|
}
|
|
@@ -3867,7 +3867,7 @@ var usage_meters_default = _template("D", (input) => {
|
|
|
3867
3867
|
_if(() => {
|
|
3868
3868
|
if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
|
|
3869
3869
|
const $scope2_id = _scope_id();
|
|
3870
|
-
_html(`<span${_attr_class("
|
|
3870
|
+
_html(`<span${_attr_class("_dq")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
|
|
3871
3871
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
3872
3872
|
return 0;
|
|
3873
3873
|
}
|
|
@@ -3875,21 +3875,21 @@ var usage_meters_default = _template("D", (input) => {
|
|
|
3875
3875
|
_if(() => {
|
|
3876
3876
|
if (agent.stale_seconds != null) {
|
|
3877
3877
|
const $scope3_id = _scope_id();
|
|
3878
|
-
_html(`<span${_attr_class("
|
|
3878
|
+
_html(`<span${_attr_class("_dr")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
|
|
3879
3879
|
icon_warning_default({ size: 12 });
|
|
3880
3880
|
_html(` ${_sep($sg__input_agent)}${_escape(duration(agent.stale_seconds * 1e3))}${_el_resume($scope3_id, "c", $sg__input_agent)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
|
|
3881
3881
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
3882
3882
|
return 0;
|
|
3883
3883
|
}
|
|
3884
3884
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
3885
|
-
_html(`</div><div${_attr_class(["
|
|
3885
|
+
_html(`</div><div${_attr_class(["_ds", { ["_dJ"]: agent.stale_seconds != null }])}>`);
|
|
3886
3886
|
_for_of(agent.windows || [], (win) => {
|
|
3887
3887
|
const $scope4_id = _scope_id();
|
|
3888
3888
|
const pct = pctText$1(win.used_percent);
|
|
3889
3889
|
const label = resetLabel(win.resets_at, agent.stale_seconds != null);
|
|
3890
|
-
const fillClass = win.used_percent >= 90 ? "
|
|
3891
|
-
const pctClass = win.used_percent >= 90 ? "
|
|
3892
|
-
_html(`<div${_attr_class("
|
|
3890
|
+
const fillClass = win.used_percent >= 90 ? "_dB" : win.used_percent >= 70 ? "_dA" : win.used_percent >= 40 ? "_dz" : "_dy";
|
|
3891
|
+
const pctClass = win.used_percent >= 90 ? "_dG" : win.used_percent >= 70 ? "_dF" : win.used_percent >= 40 ? "_dE" : "_dD";
|
|
3892
|
+
_html(`<div${_attr_class("_du")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_dv")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_dw")}><span${_attr_class(["_dx", 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(["_dC", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_dH")}>`);
|
|
3893
3893
|
_if(() => {
|
|
3894
3894
|
if (label) {
|
|
3895
3895
|
const $scope6_id = _scope_id();
|
|
@@ -4098,7 +4098,7 @@ var modal_view_default = _template("p", (input) => {
|
|
|
4098
4098
|
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;
|
|
4099
4099
|
const dismissable = input.dismissable !== false;
|
|
4100
4100
|
let open = input.open;
|
|
4101
|
-
_html(`<dialog${_attr_class(["
|
|
4101
|
+
_html(`<dialog${_attr_class(["_dV", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
|
|
4102
4102
|
...htmlInput,
|
|
4103
4103
|
open: null
|
|
4104
4104
|
}, {
|
|
@@ -4108,20 +4108,20 @@ var modal_view_default = _template("p", (input) => {
|
|
|
4108
4108
|
closedby: 1,
|
|
4109
4109
|
"on-cancel": 1,
|
|
4110
4110
|
"on-close": 1
|
|
4111
|
-
}, "a", $scope0_id, "dialog")}><div${_attr_class("
|
|
4111
|
+
}, "a", $scope0_id, "dialog")}><div${_attr_class("_dW")}>`);
|
|
4112
4112
|
_dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
|
|
4113
4113
|
_html("</div>");
|
|
4114
4114
|
_if(() => {
|
|
4115
4115
|
if (footer) {
|
|
4116
4116
|
const $scope1_id = _scope_id();
|
|
4117
|
-
_html(`<form method=dialog${_attr_class("
|
|
4117
|
+
_html(`<form method=dialog${_attr_class("_dX")}>`);
|
|
4118
4118
|
_dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
|
|
4119
4119
|
_html("</form>");
|
|
4120
4120
|
$si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
|
|
4121
4121
|
return 0;
|
|
4122
4122
|
} else if (input.openChange) {
|
|
4123
4123
|
const $scope2_id = _scope_id();
|
|
4124
|
-
_html(`<form method=dialog${_attr_class("
|
|
4124
|
+
_html(`<form method=dialog${_attr_class("_dX")}>`);
|
|
4125
4125
|
dialog_close_default({
|
|
4126
4126
|
class: ["_o", "_p"],
|
|
4127
4127
|
content: _content("p0", () => {
|
|
@@ -4513,7 +4513,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4513
4513
|
const appearanceId = _id();
|
|
4514
4514
|
const githubId = _id();
|
|
4515
4515
|
const machineId = _id();
|
|
4516
|
-
_html(`<div${_attr_class("
|
|
4516
|
+
_html(`<div${_attr_class("_bB")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bC")}><div${_attr_class(content$2)}>`);
|
|
4517
4517
|
_set_serialize_reason({
|
|
4518
4518
|
0: _serialize_guard($scope0_reason, 4),
|
|
4519
4519
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -4537,12 +4537,12 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4537
4537
|
return 0;
|
|
4538
4538
|
} else if (setup.ready) {
|
|
4539
4539
|
const $scope52_id = _scope_id();
|
|
4540
|
-
_html(`<span${_attr_class("
|
|
4540
|
+
_html(`<span${_attr_class("_b4")}>Ready</span>. Tools, GitHub, and an agent are all in place.`);
|
|
4541
4541
|
writeScope($scope52_id, {});
|
|
4542
4542
|
return 1;
|
|
4543
4543
|
} else {
|
|
4544
4544
|
const $scope6_id = _scope_id();
|
|
4545
|
-
_html(`<span${_attr_class("
|
|
4545
|
+
_html(`<span${_attr_class("_b5")}>Not ready</span>. Missing <!>${_escape(setup.missing.map((m) => MISSING_LABEL[m] || m).join(", "))}${_el_resume($scope6_id, "b")}.`);
|
|
4546
4546
|
_subscribe($setup_missing__closures, writeScope($scope6_id, {}));
|
|
4547
4547
|
return 2;
|
|
4548
4548
|
}
|
|
@@ -4592,16 +4592,16 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4592
4592
|
_if(() => {
|
|
4593
4593
|
if (selfUpdatePending || selfUpdating) {
|
|
4594
4594
|
const $scope37_id = _scope_id();
|
|
4595
|
-
_html(`<div${_attr_class("
|
|
4595
|
+
_html(`<div${_attr_class("_cy")} role=status><div${_attr_class("_cz")}>`);
|
|
4596
4596
|
_if(() => {
|
|
4597
4597
|
if (selfUpdating) {
|
|
4598
4598
|
const $scope53_id = _scope_id();
|
|
4599
|
-
_html(`<span${_attr_class("
|
|
4599
|
+
_html(`<span${_attr_class("_cA")}><span${_attr_class("_F")}></span> Updating work…</span><span${_attr_class("_cB")}>The app restarts and reloads when it is done.</span>`);
|
|
4600
4600
|
writeScope($scope53_id, {});
|
|
4601
4601
|
return 0;
|
|
4602
4602
|
} else {
|
|
4603
4603
|
const $scope38_id = _scope_id();
|
|
4604
|
-
_html(`<span${_attr_class("
|
|
4604
|
+
_html(`<span${_attr_class("_cA")}>Update available</span><span${_attr_class("_cB")}>v<!>${_escape(self.version)}${_el_resume($scope38_id, "c")} → v<!>${_escape(self.latest)}${_el_resume($scope38_id, "d")}</span>`);
|
|
4605
4605
|
_subscribe($self_version__closures, _subscribe($self_latest__closures, writeScope($scope38_id, {})));
|
|
4606
4606
|
return 1;
|
|
4607
4607
|
}
|
|
@@ -4620,11 +4620,11 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4620
4620
|
return 0;
|
|
4621
4621
|
}
|
|
4622
4622
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
4623
|
-
_html(`<section${_attr_class("
|
|
4623
|
+
_html(`<section${_attr_class("_bl")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bm")}><h2${_attr("id", agentsId)}${_attr_class("_bA")}>Agents</h2><div${_attr_class("_y")}></div><label${_attr_class("_b8")}><span${_attr_class("_S")}>Default</span><span${_attr_class("_m")}>`);
|
|
4624
4624
|
_attr_select_value($scope0_id, "n", input.preferred, _resume(function(v) {
|
|
4625
4625
|
setPreferred(v);
|
|
4626
4626
|
}, "v1", $scope0_id), () => {
|
|
4627
|
-
_html(`<select${_attr_class(["_n", "
|
|
4627
|
+
_html(`<select${_attr_class(["_n", "_b9"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
|
|
4628
4628
|
_for_of(input.agents.filter((a) => a !== "shell"), (id) => {
|
|
4629
4629
|
const $scope54_id = _scope_id();
|
|
4630
4630
|
_html(`<option${_attr_option_value(id)}>${_escape(agentLabel(id))}${_el_resume($scope54_id, "b", $sg__input_agents)}</option>${_el_resume($scope54_id, "a", $sg__input_agents)}`);
|
|
@@ -4645,14 +4645,14 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4645
4645
|
const rows = lone ? [] : a.instances;
|
|
4646
4646
|
const loneAccounts = lone && lone.enabled ? accountsFor(lone.id) : [];
|
|
4647
4647
|
const extraAccounts = a.installed ? strayAccountsFor(a) : [];
|
|
4648
|
-
_html(`<li${_attr_class(["
|
|
4648
|
+
_html(`<li${_attr_class(["_bq", "_b7"])}><div${_attr_class(["_b_", { ["_cc"]: lone && !lone.enabled }])}>`);
|
|
4649
4649
|
_set_serialize_reason(12);
|
|
4650
4650
|
const $childScope4 = _peek_scope_id();
|
|
4651
4651
|
icon_agent_default({
|
|
4652
4652
|
agent: a.id,
|
|
4653
4653
|
size: 18
|
|
4654
4654
|
});
|
|
4655
|
-
_html(`<div${_attr_class("
|
|
4655
|
+
_html(`<div${_attr_class("_br")}><span${_attr_class("_bt")}><span${_attr_class("_bs")}>${_escape(a.label)}${_el_resume($scope1_id, "g")}</span>`);
|
|
4656
4656
|
_if(() => {
|
|
4657
4657
|
if (lone && input.preferred === lone.id) {
|
|
4658
4658
|
const $scope55_id = _scope_id();
|
|
@@ -4665,12 +4665,12 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4665
4665
|
_if(() => {
|
|
4666
4666
|
if (active.has(a.id)) {
|
|
4667
4667
|
const $scope11_id = _scope_id();
|
|
4668
|
-
_html(`<span${_attr_class("
|
|
4668
|
+
_html(`<span${_attr_class("_b3")}><span${_attr_class("_F")}></span><!>${_escape(active.get(a.id) || "Starting…")}${_el_resume($scope11_id, "c")}</span>`);
|
|
4669
4669
|
_subscribe($active__closures, writeScope($scope11_id, {}));
|
|
4670
4670
|
return 0;
|
|
4671
4671
|
} else if (!a.installed) {
|
|
4672
4672
|
const $scope56_id = _scope_id();
|
|
4673
|
-
_html(`<span${_attr_class("
|
|
4673
|
+
_html(`<span${_attr_class("_bu")}>Not installed</span>`);
|
|
4674
4674
|
writeScope($scope56_id, {});
|
|
4675
4675
|
return 1;
|
|
4676
4676
|
}
|
|
@@ -4702,18 +4702,18 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4702
4702
|
_if(() => {
|
|
4703
4703
|
if (rows.length || loneAccounts.length || extraAccounts.length) {
|
|
4704
4704
|
const $scope2_id = _scope_id();
|
|
4705
|
-
_html(`<ul${_attr_class("
|
|
4705
|
+
_html(`<ul${_attr_class("_ce")}>`);
|
|
4706
4706
|
_for_of(rows, (inst) => {
|
|
4707
4707
|
const $scope3_id = _scope_id();
|
|
4708
4708
|
const accounts = inst.enabled ? accountsFor(inst.id) : [];
|
|
4709
|
-
_html(`<li${_attr_class("
|
|
4709
|
+
_html(`<li${_attr_class("_ca")}><div${_attr_class(["_cb", { ["_cc"]: !inst.enabled }])}>`);
|
|
4710
4710
|
_set_serialize_reason(12);
|
|
4711
4711
|
const $childScope5 = _peek_scope_id();
|
|
4712
4712
|
icon_agent_default({
|
|
4713
4713
|
agent: inst.id,
|
|
4714
4714
|
size: 15
|
|
4715
4715
|
});
|
|
4716
|
-
_html(`<span${_attr_class(["
|
|
4716
|
+
_html(`<span${_attr_class(["_cd", "_x"])}>${_escape(inst.command)}${_el_resume($scope3_id, "e")}</span>`);
|
|
4717
4717
|
_if(() => {
|
|
4718
4718
|
if (input.preferred === inst.id) {
|
|
4719
4719
|
const $scope57_id = _scope_id();
|
|
@@ -4788,7 +4788,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4788
4788
|
}, "id", $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
4789
4789
|
_for_of(otherUsage, (u) => {
|
|
4790
4790
|
const $scope61_id = _scope_id();
|
|
4791
|
-
_html(`<li${_attr_class(["
|
|
4791
|
+
_html(`<li${_attr_class(["_bq", "_b7"])}>`);
|
|
4792
4792
|
_set_serialize_reason(6);
|
|
4793
4793
|
const $childScope9 = _peek_scope_id();
|
|
4794
4794
|
usage_meters_default({ agent: u });
|
|
@@ -4799,17 +4799,17 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4799
4799
|
_if(() => {
|
|
4800
4800
|
if (!usage && families.length) {
|
|
4801
4801
|
const $scope62_id = _scope_id();
|
|
4802
|
-
_html(`<p${_attr_class("
|
|
4802
|
+
_html(`<p${_attr_class("_bw")}><span${_attr_class("_F")}></span> Loading usage…</p>`);
|
|
4803
4803
|
writeScope($scope62_id, {});
|
|
4804
4804
|
return 0;
|
|
4805
4805
|
} else if (usage?.error) {
|
|
4806
4806
|
const $scope7_id = _scope_id();
|
|
4807
|
-
_html(`<p${_attr_class("
|
|
4807
|
+
_html(`<p${_attr_class("_bw")}>${_escape(usage.error)}${_el_resume($scope7_id, "b")}</p>`);
|
|
4808
4808
|
writeScope($scope7_id, {});
|
|
4809
4809
|
return 1;
|
|
4810
4810
|
}
|
|
4811
4811
|
}, $scope0_id, "t", 1, 1, 1, 0, 1);
|
|
4812
|
-
_html(`</section><section${_attr_class("
|
|
4812
|
+
_html(`</section><section${_attr_class("_bl")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bm")}><h2${_attr("id", githubId)}${_attr_class("_bA")}>GitHub</h2></div><ul${_attr_class("_bo")}>`);
|
|
4813
4813
|
_for_of(setup?.github || [], (h) => {
|
|
4814
4814
|
const $scope12_id = _scope_id();
|
|
4815
4815
|
const $for_content4__h_host__closures = /* @__PURE__ */ new Set();
|
|
@@ -4823,7 +4823,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4823
4823
|
const skippedSso = (() => {
|
|
4824
4824
|
return (h.sso || []).filter((s) => ignoredSso.has(s.org));
|
|
4825
4825
|
})();
|
|
4826
|
-
_html(`<li${_attr_class(["
|
|
4826
|
+
_html(`<li${_attr_class(["_bq", "_co"])}><div${_attr_class("_cp")}><div${_attr_class("_br")}><span${_attr_class("_bt")}><span${_attr_class(["_bs", "_x"])}>${_escape(h.host)}${_el_resume($scope12_id, "f")}</span>`);
|
|
4827
4827
|
_if(() => {
|
|
4828
4828
|
if (h.isEnterprise) {
|
|
4829
4829
|
const $scope65_id = _scope_id();
|
|
@@ -4836,22 +4836,22 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4836
4836
|
_if(() => {
|
|
4837
4837
|
if (active.has(h.host) && authCodes.has(h.host)) {
|
|
4838
4838
|
const $scope24_id = _scope_id();
|
|
4839
|
-
_html(`<span${_attr_class("
|
|
4839
|
+
_html(`<span${_attr_class("_b3")}><span${_attr_class("_F")}></span> Enter code <strong${_attr_class("_cm")}>${_escape(authCodes.get(h.host))}${_el_resume($scope24_id, "d")}</strong> at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_cn")}>${_escape(h.host)}${_el_resume($scope24_id, "f")}/login/device</a>${_el_resume($scope24_id, "e")}</span>`);
|
|
4840
4840
|
_subscribe($authCodes__closures, writeScope($scope24_id, { Cdz: 1 }));
|
|
4841
4841
|
return 0;
|
|
4842
4842
|
} else if (active.has(h.host)) {
|
|
4843
4843
|
const $scope13_id = _scope_id();
|
|
4844
|
-
_html(`<span${_attr_class("
|
|
4844
|
+
_html(`<span${_attr_class("_b3")}><span${_attr_class("_F")}></span><!>${_escape(active.get(h.host) || "Starting…")}${_el_resume($scope13_id, "c")}</span>`);
|
|
4845
4845
|
_subscribe($active__closures, writeScope($scope13_id, { Cdx: 1 }));
|
|
4846
4846
|
return 1;
|
|
4847
4847
|
} else if (h.authed) {
|
|
4848
4848
|
const $scope63_id = _scope_id();
|
|
4849
|
-
_html(`<span${_attr_class("
|
|
4849
|
+
_html(`<span${_attr_class("_bu")}>Signed in<!>${h.user ? ` as ${_escape(`${_to_text(h.user)}`)}` : ""}${_el_resume($scope63_id, "b")}</span>`);
|
|
4850
4850
|
writeScope($scope63_id, {});
|
|
4851
4851
|
return 2;
|
|
4852
4852
|
} else {
|
|
4853
4853
|
const $scope64_id = _scope_id();
|
|
4854
|
-
_html(`<span${_attr_class("
|
|
4854
|
+
_html(`<span${_attr_class("_bu")}>${_escape(h.error || "Not signed in")}${_el_resume($scope64_id, "b")}</span>`);
|
|
4855
4855
|
writeScope($scope64_id, {});
|
|
4856
4856
|
return 3;
|
|
4857
4857
|
}
|
|
@@ -4882,7 +4882,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4882
4882
|
if (h.isEnterprise) {
|
|
4883
4883
|
const $scope27_id = _scope_id();
|
|
4884
4884
|
_html(`<button${_attr_class([
|
|
4885
|
-
"
|
|
4885
|
+
"_bv",
|
|
4886
4886
|
"_2",
|
|
4887
4887
|
"_3",
|
|
4888
4888
|
{ ["_q"]: confirmingRemove === h.host }
|
|
@@ -4958,7 +4958,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4958
4958
|
_if(() => {
|
|
4959
4959
|
if (setup && !setup.github.length) {
|
|
4960
4960
|
const $scope68_id = _scope_id();
|
|
4961
|
-
_html(`<p${_attr_class("
|
|
4961
|
+
_html(`<p${_attr_class("_bw")}>Install the GitHub CLI below to sign in.</p>`);
|
|
4962
4962
|
writeScope($scope68_id, {});
|
|
4963
4963
|
return 0;
|
|
4964
4964
|
}
|
|
@@ -4966,7 +4966,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4966
4966
|
_if(() => {
|
|
4967
4967
|
if (setup) {
|
|
4968
4968
|
const $scope35_id = _scope_id();
|
|
4969
|
-
_html(`<form${_attr_class("
|
|
4969
|
+
_html(`<form${_attr_class("_cl")}><label${_attr_class("_W")}>`);
|
|
4970
4970
|
icon_plus_default({
|
|
4971
4971
|
size: 14,
|
|
4972
4972
|
class: "_X"
|
|
@@ -4979,7 +4979,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4979
4979
|
return 0;
|
|
4980
4980
|
}
|
|
4981
4981
|
}, $scope0_id, "z", 1, 1, 1, 0, 1);
|
|
4982
|
-
_html(`</section><section${_attr_class("
|
|
4982
|
+
_html(`</section><section${_attr_class("_bl")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bm")}><h2${_attr("id", machineId)}${_attr_class("_bA")}>Machine</h2>`);
|
|
4983
4983
|
_if(() => {
|
|
4984
4984
|
if (missingCount) {
|
|
4985
4985
|
const $scope49_id = _scope_id();
|
|
@@ -5019,7 +5019,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5019
5019
|
_if(() => {
|
|
5020
5020
|
if (setup && !setup.mise.installed) {
|
|
5021
5021
|
const $scope17_id = _scope_id();
|
|
5022
|
-
_html(`<p${_attr_class("
|
|
5022
|
+
_html(`<p${_attr_class("_bw")}>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($scope17_id, "c")}</button>${_el_resume($scope17_id, "b")}</p>`);
|
|
5023
5023
|
_script($scope17_id, "v45");
|
|
5024
5024
|
writeScope($scope17_id, {});
|
|
5025
5025
|
return 0;
|
|
@@ -5029,11 +5029,11 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5029
5029
|
_if(() => {
|
|
5030
5030
|
if (self) {
|
|
5031
5031
|
const $scope40_id = _scope_id();
|
|
5032
|
-
_html(`<li${_attr_class(row)}><span${_attr_class(["
|
|
5032
|
+
_html(`<li${_attr_class(row)}><span${_attr_class(["_ch", "_x"])}>work</span>`);
|
|
5033
5033
|
_if(() => {
|
|
5034
5034
|
if (selfUpdating) {
|
|
5035
5035
|
const $scope69_id = _scope_id();
|
|
5036
|
-
_html(`<span${_attr_class("
|
|
5036
|
+
_html(`<span${_attr_class("_b3")}><span${_attr_class("_F")}></span>Updating — the app restarts and reloads when it is done…</span>`);
|
|
5037
5037
|
writeScope($scope69_id, {});
|
|
5038
5038
|
return 0;
|
|
5039
5039
|
} else {
|
|
@@ -5047,7 +5047,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5047
5047
|
return 0;
|
|
5048
5048
|
} else if (self.latest && self.latest !== self.version) {
|
|
5049
5049
|
const $scope42_id = _scope_id();
|
|
5050
|
-
_html(`<button${_attr_class([btnSm, "
|
|
5050
|
+
_html(`<button${_attr_class([btnSm, "_cj"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
|
|
5051
5051
|
icon_arrow_up_default({ size: 12 });
|
|
5052
5052
|
_html(` <!>${_escape(self.latest)}${_el_resume($scope42_id, "c")}</button>${_el_resume($scope42_id, "a")}`);
|
|
5053
5053
|
_script($scope42_id, "v46");
|
|
@@ -5088,11 +5088,11 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5088
5088
|
const $for_content5__t_path__closures = /* @__PURE__ */ new Set();
|
|
5089
5089
|
const $for_content5__t_latest__closures = /* @__PURE__ */ new Set();
|
|
5090
5090
|
const $for_content5__t_id__closures = /* @__PURE__ */ new Set();
|
|
5091
|
-
_html(`<li${_attr_class([row, { ["
|
|
5091
|
+
_html(`<li${_attr_class([row, { ["_cg"]: !t.installed }])}><span${_attr_class(["_ch", "_x"])}>${_escape(t.label)}${_el_resume($scope18_id, "c")}</span>`);
|
|
5092
5092
|
_if(() => {
|
|
5093
5093
|
if (active.has(t.id)) {
|
|
5094
5094
|
const $scope19_id = _scope_id();
|
|
5095
|
-
_html(`<span${_attr_class("
|
|
5095
|
+
_html(`<span${_attr_class("_b3")}><span${_attr_class("_F")}></span><!>${_escape(active.get(t.id) || "Starting…")}${_el_resume($scope19_id, "c")}</span>`);
|
|
5096
5096
|
_subscribe($active__closures, writeScope($scope19_id, { Cdx: 3 }));
|
|
5097
5097
|
return 0;
|
|
5098
5098
|
} else if (t.installed) {
|
|
@@ -5100,7 +5100,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5100
5100
|
_if(() => {
|
|
5101
5101
|
if (t.version) {
|
|
5102
5102
|
const $scope32_id = _scope_id();
|
|
5103
|
-
_html(`<button${_attr_class(["
|
|
5103
|
+
_html(`<button${_attr_class(["_ci", "_x"])}${_attr("title", `${t.path || t.label}. Pin a version`)}>v<!>${_escape(t.version)}${_el_resume($scope32_id, "b")}</button>${_el_resume($scope32_id, "a")}`);
|
|
5104
5104
|
_script($scope32_id, "v47");
|
|
5105
5105
|
_subscribe($for_content5__t_path__closures, _subscribe($for_content5__t_version__closures, _subscribe($for_content5__t_label__closures, writeScope($scope32_id, { Cu: 1 }))));
|
|
5106
5106
|
return 0;
|
|
@@ -5114,7 +5114,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5114
5114
|
_if(() => {
|
|
5115
5115
|
if (outdated(t)) {
|
|
5116
5116
|
const $scope46_id = _scope_id();
|
|
5117
|
-
_html(`<button${_attr_class([btnSm, "
|
|
5117
|
+
_html(`<button${_attr_class([btnSm, "_cj"])}${_attr("title", `Update to v${t.latest}`)}>`);
|
|
5118
5118
|
icon_arrow_up_default({ size: 12 });
|
|
5119
5119
|
_html(` <!>${_escape(t.latest)}${_el_resume($scope46_id, "c")}</button>${_el_resume($scope46_id, "a")}`);
|
|
5120
5120
|
_script($scope46_id, "v48");
|
|
@@ -5216,19 +5216,19 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5216
5216
|
_if(() => {
|
|
5217
5217
|
if (hits && hits.length) {
|
|
5218
5218
|
const $scope21_id = _scope_id();
|
|
5219
|
-
_html(`<ul${_attr_class([toolGrid, "
|
|
5219
|
+
_html(`<ul${_attr_class([toolGrid, "_ck"])}>`);
|
|
5220
5220
|
_for_of(hits, (h) => {
|
|
5221
5221
|
const $scope22_id = _scope_id();
|
|
5222
|
-
_html(`<li${_attr_class(row)}><div${_attr_class("
|
|
5222
|
+
_html(`<li${_attr_class(row)}><div${_attr_class("_br")}><span${_attr_class(["_ch", "_x"])}>${_escape(h.name)}${_el_resume($scope22_id, "d")}</span>`);
|
|
5223
5223
|
_if(() => {
|
|
5224
5224
|
if (active.has(h.name)) {
|
|
5225
5225
|
const $scope23_id = _scope_id();
|
|
5226
|
-
_html(`<span${_attr_class("
|
|
5226
|
+
_html(`<span${_attr_class("_b3")}><span${_attr_class("_F")}></span><!>${_escape(active.get(h.name) || "Starting…")}${_el_resume($scope23_id, "c")}</span>`);
|
|
5227
5227
|
_subscribe($active__closures, writeScope($scope23_id, { Cdx: 5 }));
|
|
5228
5228
|
return 0;
|
|
5229
5229
|
} else if (h.description) {
|
|
5230
5230
|
const $scope79_id = _scope_id();
|
|
5231
|
-
_html(`<span${_attr_class("
|
|
5231
|
+
_html(`<span${_attr_class("_bu")}${_attr("title", h.description)}>${_escape(h.description)}${_el_resume($scope79_id, "b")}</span>${_el_resume($scope79_id, "a")}`);
|
|
5232
5232
|
writeScope($scope79_id, {});
|
|
5233
5233
|
return 1;
|
|
5234
5234
|
}
|
|
@@ -5267,7 +5267,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5267
5267
|
return 0;
|
|
5268
5268
|
} else if (hits && !searching) {
|
|
5269
5269
|
const $scope36_id = _scope_id();
|
|
5270
|
-
_html(`<p${_attr_class("
|
|
5270
|
+
_html(`<p${_attr_class("_bw")}>No tools match "<!>${_escape(query)}${_el_resume($scope36_id, "b")}".</p>`);
|
|
5271
5271
|
_subscribe($query__closures, writeScope($scope36_id, {}));
|
|
5272
5272
|
return 1;
|
|
5273
5273
|
}
|
|
@@ -5278,9 +5278,9 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5278
5278
|
return 0;
|
|
5279
5279
|
}
|
|
5280
5280
|
}, $scope0_id, "ac", 1, 1, 1, 0, 1);
|
|
5281
|
-
_html(`</section><section${_attr_class("
|
|
5281
|
+
_html(`</section><section${_attr_class("_bl")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bm")}><h2${_attr("id", appearanceId)}${_attr_class("_bA")}>Appearance</h2></div><div${_attr_class(["_bq", "_cq"])}><label${_attr_class("_cr")}><span${_attr_class("_cs")}>Name</span><input${_attr_input_value($scope0_id, "aj", input.instance.name, _resume(function(v) {
|
|
5282
5282
|
setInstance({ name: v });
|
|
5283
|
-
}, "v3", $scope0_id))}${_attr_class(["_U", "
|
|
5283
|
+
}, "v3", $scope0_id))}${_attr_class(["_U", "_ct"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false aria-describedby=look-name-hint>${_el_resume($scope0_id, "aj")}<span id=look-name-hint${_attr_class(["_S", "_cu"])}>Tab title, home-screen icon, and notifications.</span></label><div${_attr_class("_cr")} role=radiogroup aria-label="Color theme"><span${_attr_class("_cs")}>Theme</span><span${_attr_class("_cv")}>`);
|
|
5284
5284
|
_for_of([
|
|
5285
5285
|
{
|
|
5286
5286
|
id: "system",
|
|
@@ -5296,21 +5296,21 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5296
5296
|
}
|
|
5297
5297
|
], (opt) => {
|
|
5298
5298
|
const $scope43_id = _scope_id();
|
|
5299
|
-
_html(`<button type=button${_attr_class(["
|
|
5299
|
+
_html(`<button type=button${_attr_class(["_cw", { ["_cx"]: themeMode === opt.id }])} role=radio aria-checked=${themeMode === opt.id ? "true" : "false"}>${_escape(opt.label)}</button>${_el_resume($scope43_id, "a")}`);
|
|
5300
5300
|
_script($scope43_id, "v53");
|
|
5301
5301
|
writeScope($scope43_id, {
|
|
5302
5302
|
e: opt?.id,
|
|
5303
5303
|
_: _scope_with_id($scope0_id)
|
|
5304
5304
|
});
|
|
5305
5305
|
}, "id", $scope0_id, "an", 1, 0, 1, 0, 1);
|
|
5306
|
-
_html(`</span><span${_attr_class(["_S", "
|
|
5307
|
-
"
|
|
5308
|
-
"
|
|
5309
|
-
{ ["
|
|
5306
|
+
_html(`</span><span${_attr_class(["_S", "_cu"])}>Follow the OS, or force light or dark.</span></div><div${_attr_class("_cr")} role=radiogroup aria-label="Accent colour"><span${_attr_class("_cs")}>Accent</span><span${_attr_class("_cC")}><button type=button${_attr_class([
|
|
5307
|
+
"_cD",
|
|
5308
|
+
"_cF",
|
|
5309
|
+
{ ["_cE"]: !input.instance.accent }
|
|
5310
5310
|
])} role=radio aria-checked=${!input.instance.accent ? "true" : "false"} title="Default (blue)" aria-label="Default (blue)"></button>${_el_resume($scope0_id, "as")}`);
|
|
5311
5311
|
_for_of(ACCENT_PRESETS, (p) => {
|
|
5312
5312
|
const $scope4_id = _scope_id();
|
|
5313
|
-
_html(`<button type=button${_attr_class(["
|
|
5313
|
+
_html(`<button type=button${_attr_class(["_cD", { ["_cE"]: 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")}`);
|
|
5314
5314
|
_script($scope4_id, "v54");
|
|
5315
5315
|
writeScope($scope4_id, {
|
|
5316
5316
|
d: p?.value,
|
|
@@ -5319,12 +5319,12 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5319
5319
|
}, "value", $scope0_id, "at", $sg__input_instance_accent, 0, 1, 0, 1);
|
|
5320
5320
|
const customOn = !!input.instance.accent && !ACCENT_PRESETS.some((p) => p.value === input.instance.accent);
|
|
5321
5321
|
_html(`<label${_attr_class([
|
|
5322
|
-
"
|
|
5323
|
-
"
|
|
5324
|
-
{ ["
|
|
5322
|
+
"_cD",
|
|
5323
|
+
"_cG",
|
|
5324
|
+
{ ["_cE"]: customOn }
|
|
5325
5325
|
])}${customOn ? _attr_style(`--swatch:${input.instance.accent}`) : ""} title="Custom colour"><input${_attr_input_value($scope0_id, "av", input.instance.accent || "#3556d8", _resume(function(v) {
|
|
5326
5326
|
setInstance({ accent: v });
|
|
5327
|
-
}, "v4", $scope0_id))}${_attr_class("
|
|
5327
|
+
}, "v4", $scope0_id))}${_attr_class("_cH")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "av")}<span aria-hidden=true>+</span></label>${_el_resume($scope0_id, "au", $sg__input_instance_accent)}</span><span${_attr_class(["_S", "_cu"])}>Selected rows, buttons, and the icon.</span></div></div></section></div></div></div>`);
|
|
5328
5328
|
_if(() => {
|
|
5329
5329
|
if (versionPick) {
|
|
5330
5330
|
const $scope30_id = _scope_id();
|
|
@@ -5438,12 +5438,12 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5438
5438
|
});
|
|
5439
5439
|
//#endregion
|
|
5440
5440
|
//#region src/tags/new-workspace.css.ts
|
|
5441
|
-
var content$1 = "_bK
|
|
5442
|
-
var section$1 = "_bO
|
|
5441
|
+
var content$1 = "_bK _bD";
|
|
5442
|
+
var section$1 = "_bO _bl";
|
|
5443
5443
|
var curBase = "_bT _T _S";
|
|
5444
|
-
var archived = "_bY
|
|
5444
|
+
var archived = "_bY _bl";
|
|
5445
5445
|
var archivedHint = "_bZ _S";
|
|
5446
|
-
var archivedCard = "_b0
|
|
5446
|
+
var archivedCard = "_b0 _bq";
|
|
5447
5447
|
//#endregion
|
|
5448
5448
|
//#region src/tags/icons/icon-check.marko
|
|
5449
5449
|
var icon_check_default = _template("P", (input) => {
|
|
@@ -5478,7 +5478,7 @@ var icon_branch_default = _template("O", (input) => {
|
|
|
5478
5478
|
});
|
|
5479
5479
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
5480
5480
|
});
|
|
5481
|
-
var resultBranch = "
|
|
5481
|
+
var resultBranch = "_c1 _Z _j";
|
|
5482
5482
|
//#endregion
|
|
5483
5483
|
//#region src/tags/branch-pick.marko
|
|
5484
5484
|
var branch_pick_default = _template("d", (input) => {
|
|
@@ -5489,11 +5489,11 @@ var branch_pick_default = _template("d", (input) => {
|
|
|
5489
5489
|
let branches = null;
|
|
5490
5490
|
let defaultBranch = null;
|
|
5491
5491
|
let branchFilter = "";
|
|
5492
|
-
_html(`<div${_attr_class("
|
|
5492
|
+
_html(`<div${_attr_class("_c3")}>`);
|
|
5493
5493
|
_if(() => {
|
|
5494
5494
|
{
|
|
5495
5495
|
const $scope4_id = _scope_id();
|
|
5496
|
-
_html(`<p${_attr_class("
|
|
5496
|
+
_html(`<p${_attr_class("_bw")}><span${_attr_class("_F")}></span> Loading branches…</p>`);
|
|
5497
5497
|
writeScope($scope4_id, {});
|
|
5498
5498
|
return 0;
|
|
5499
5499
|
}
|
|
@@ -5569,11 +5569,11 @@ var repo_picker_default = _template("t", (input) => {
|
|
|
5569
5569
|
const ignored = new Set(prefs$1?.ignoredSsoOrgs?.() ?? []);
|
|
5570
5570
|
return (catalog?.sso || []).filter((s) => !ignored.has(s.org));
|
|
5571
5571
|
})();
|
|
5572
|
-
_html(`<div${_attr_class("
|
|
5572
|
+
_html(`<div${_attr_class("_cU")}>`);
|
|
5573
5573
|
_if(() => {
|
|
5574
5574
|
if (ssoPending.length) {
|
|
5575
5575
|
const $scope7_id = _scope_id();
|
|
5576
|
-
_html(`<div${_attr_class("
|
|
5576
|
+
_html(`<div${_attr_class("_cV")}>`);
|
|
5577
5577
|
_set_serialize_reason(154);
|
|
5578
5578
|
const $childScope = _peek_scope_id();
|
|
5579
5579
|
sso_auth_default({
|
|
@@ -5603,16 +5603,16 @@ var repo_picker_default = _template("t", (input) => {
|
|
|
5603
5603
|
_if(() => {
|
|
5604
5604
|
if (pasted) {
|
|
5605
5605
|
const $scope1_id = _scope_id();
|
|
5606
|
-
_html(`<ul${_attr_class("
|
|
5606
|
+
_html(`<ul${_attr_class("_cW")}><li><div${_attr_class(["_cY", "_cX"])}><button${_attr_class("_cZ")}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
|
|
5607
5607
|
icon_plus_default({
|
|
5608
5608
|
size: 12,
|
|
5609
|
-
class: "
|
|
5609
|
+
class: "_c5"
|
|
5610
5610
|
});
|
|
5611
|
-
_html(`<span${_attr_class("
|
|
5611
|
+
_html(`<span${_attr_class("_c6")}>${_escape(repoLabel(pasted))}${_el_resume($scope1_id, "f")}</span></button>${_el_resume($scope1_id, "c")}`);
|
|
5612
5612
|
_if(() => {
|
|
5613
5613
|
if (pastedForkable) {
|
|
5614
5614
|
const $scope8_id = _scope_id();
|
|
5615
|
-
_html(`<button${_attr_class(["
|
|
5615
|
+
_html(`<button${_attr_class(["_c2", { ["_c0"]: pasteWillFork }])}${pasteWillFork ? " title=\"Will fork to your account; click to clone as-is instead\"" : _attr("title", `Fork ${pasted} to your account and clone the fork`)} aria-pressed=${pasteWillFork ? "true" : "false"}>`);
|
|
5616
5616
|
_if(() => {
|
|
5617
5617
|
if (pasteWillFork) {
|
|
5618
5618
|
const $scope10_id = _scope_id();
|
|
@@ -5632,7 +5632,7 @@ var repo_picker_default = _template("t", (input) => {
|
|
|
5632
5632
|
return 0;
|
|
5633
5633
|
}
|
|
5634
5634
|
}, $scope1_id, "g", 1, 1, 1, 0, 1);
|
|
5635
|
-
_html(`<button${_attr_class([resultBranch, { ["
|
|
5635
|
+
_html(`<button${_attr_class([resultBranch, { ["_c0"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
|
|
5636
5636
|
icon_branch_default({ size: 12 });
|
|
5637
5637
|
_html(`</button>${_el_resume($scope1_id, "h")}</div>`);
|
|
5638
5638
|
_if(() => {
|
|
@@ -5659,7 +5659,7 @@ var repo_picker_default = _template("t", (input) => {
|
|
|
5659
5659
|
return 0;
|
|
5660
5660
|
} else if (filter && !catalog) {
|
|
5661
5661
|
const $scope9_id = _scope_id();
|
|
5662
|
-
_html(`<p${_attr_class("
|
|
5662
|
+
_html(`<p${_attr_class("_bw")}>Loading repos…</p>`);
|
|
5663
5663
|
writeScope($scope9_id, {});
|
|
5664
5664
|
return 1;
|
|
5665
5665
|
}
|
|
@@ -5667,15 +5667,15 @@ var repo_picker_default = _template("t", (input) => {
|
|
|
5667
5667
|
_if(() => {
|
|
5668
5668
|
if (results.length) {
|
|
5669
5669
|
const $scope3_id = _scope_id();
|
|
5670
|
-
_html(`<ul${_attr_class("
|
|
5670
|
+
_html(`<ul${_attr_class("_cW")}>`);
|
|
5671
5671
|
_for_of(results, (repo, i) => {
|
|
5672
5672
|
const $scope4_id = _scope_id();
|
|
5673
|
-
_html(`<li><div${_attr_class(["
|
|
5673
|
+
_html(`<li><div${_attr_class(["_cY", { ["_cX"]: i === highlight }])}><button${_attr_class("_cZ")}>`);
|
|
5674
5674
|
icon_plus_default({
|
|
5675
5675
|
size: 12,
|
|
5676
|
-
class: "
|
|
5676
|
+
class: "_c5"
|
|
5677
5677
|
});
|
|
5678
|
-
_html(`<span${_attr_class("
|
|
5678
|
+
_html(`<span${_attr_class("_c6")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope4_id, "e")}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_c0"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
|
|
5679
5679
|
icon_branch_default({ size: 12 });
|
|
5680
5680
|
_html(`</button>${_el_resume($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
|
|
5681
5681
|
_if(() => {
|
|
@@ -5710,7 +5710,7 @@ var repo_picker_default = _template("t", (input) => {
|
|
|
5710
5710
|
return 0;
|
|
5711
5711
|
} else if (filter && catalog && !pasted) {
|
|
5712
5712
|
const $scope6_id = _scope_id();
|
|
5713
|
-
_html(`<p${_attr_class("
|
|
5713
|
+
_html(`<p${_attr_class("_bw")}>No repos match "<!>${_escape(filter)}${_el_resume($scope6_id, "b")}". Paste a clone URL to add any repo.</p>`);
|
|
5714
5714
|
writeScope($scope6_id, {});
|
|
5715
5715
|
return 1;
|
|
5716
5716
|
}
|
|
@@ -5851,7 +5851,7 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
5851
5851
|
}
|
|
5852
5852
|
}, "q6", $scope0_id);
|
|
5853
5853
|
const titleId = _id();
|
|
5854
|
-
_html(`<div${_attr_class("
|
|
5854
|
+
_html(`<div${_attr_class("_bB")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bC")}><div${_attr_class(content$1)}>`);
|
|
5855
5855
|
_set_serialize_reason({
|
|
5856
5856
|
0: _serialize_guard($scope0_reason, 2),
|
|
5857
5857
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -5890,9 +5890,9 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
5890
5890
|
return 0;
|
|
5891
5891
|
}
|
|
5892
5892
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
5893
|
-
_html(`<label${_attr_class("_bN")}><span${_attr_class("
|
|
5893
|
+
_html(`<label${_attr_class("_bN")}><span${_attr_class("_bA")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
|
|
5894
5894
|
name = _new_name;
|
|
5895
|
-
}, "q0", $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("_bP")}><h2${_attr_class("
|
|
5895
|
+
}, "q0", $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("_bP")}><h2${_attr_class("_bA")}>Repos</h2><button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
5896
5896
|
_set_serialize_reason(1);
|
|
5897
5897
|
const $childScope2 = _peek_scope_id();
|
|
5898
5898
|
icon_refresh_default({
|
|
@@ -5965,7 +5965,7 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
5965
5965
|
_if(() => {
|
|
5966
5966
|
if (!selected.length) {
|
|
5967
5967
|
const $scope14_id = _scope_id();
|
|
5968
|
-
_html(`<li${_attr_class("
|
|
5968
|
+
_html(`<li${_attr_class("_bw")}>No repos yet. Search below to add one, or create it empty.</li>`);
|
|
5969
5969
|
writeScope($scope14_id, {});
|
|
5970
5970
|
return 0;
|
|
5971
5971
|
}
|
|
@@ -6034,10 +6034,10 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
6034
6034
|
_if(() => {
|
|
6035
6035
|
if (archived$1.length) {
|
|
6036
6036
|
const $scope4_id = _scope_id();
|
|
6037
|
-
_html(`<section${_attr_class(archived)}><div${_attr_class("_bP")}><h2${_attr_class("
|
|
6037
|
+
_html(`<section${_attr_class(archived)}><div${_attr_class("_bP")}><h2${_attr_class("_bA")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_escape(archived$1.length)}${_el_resume($scope4_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("_bo")}>`);
|
|
6038
6038
|
_for_of(archived$1, (ws) => {
|
|
6039
6039
|
const $scope5_id = _scope_id();
|
|
6040
|
-
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("
|
|
6040
|
+
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("_br")}><span${_attr_class("_bs")}>${_escape(ws.name)}${_el_resume($scope5_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($scope5_id, "f", $sg__input_workspaces)}</span>${_el_resume($scope5_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnLg)}${_attr("disabled", busy || !!restoring)}>`);
|
|
6041
6041
|
_if(() => {
|
|
6042
6042
|
if (restoring === ws.id) {
|
|
6043
6043
|
const $scope17_id = _scope_id();
|
|
@@ -6194,8 +6194,8 @@ function activeAgent(session) {
|
|
|
6194
6194
|
const command = session.state?.command?.trim();
|
|
6195
6195
|
return command && agentFromCommand(command) || session.agent;
|
|
6196
6196
|
}
|
|
6197
|
-
var iconBtn$1 = "
|
|
6198
|
-
var navToggle = "
|
|
6197
|
+
var iconBtn$1 = "_dZ _j";
|
|
6198
|
+
var navToggle = "_d4 _j";
|
|
6199
6199
|
_template("N", (input) => {
|
|
6200
6200
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
6201
6201
|
const $scope0_id = _scope_id();
|
|
@@ -6243,7 +6243,7 @@ var rowIcon = "_gz _Z _j";
|
|
|
6243
6243
|
var close = "_gA _Z _j _2";
|
|
6244
6244
|
//#endregion
|
|
6245
6245
|
//#region src/styles/session-pop.css.ts
|
|
6246
|
-
var sessionPop = "
|
|
6246
|
+
var sessionPop = "_gm _4";
|
|
6247
6247
|
//#endregion
|
|
6248
6248
|
//#region src/client/usage.ts
|
|
6249
6249
|
/** The plan row an agent instance draws on: its own account (`claude2`)
|
|
@@ -6304,22 +6304,22 @@ var usage_pcts_default = _template("E", (input) => {
|
|
|
6304
6304
|
if (windows.length) {
|
|
6305
6305
|
const $scope1_id = _scope_id();
|
|
6306
6306
|
_html(`<span${_attr_class([
|
|
6307
|
-
"
|
|
6307
|
+
"_fZ",
|
|
6308
6308
|
input.class,
|
|
6309
|
-
{ ["
|
|
6309
|
+
{ ["_f0"]: agent.stale_seconds != null }
|
|
6310
6310
|
])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
|
|
6311
6311
|
_for_of(windows, (win$1, i) => {
|
|
6312
6312
|
const $scope2_id = _scope_id();
|
|
6313
|
-
_html(`<span${_attr_class("
|
|
6313
|
+
_html(`<span${_attr_class("_f1")}>`);
|
|
6314
6314
|
_if(() => {
|
|
6315
6315
|
if (i) {
|
|
6316
6316
|
const $scope3_id = _scope_id();
|
|
6317
|
-
_html(`<span${_attr_class("
|
|
6317
|
+
_html(`<span${_attr_class("_f4")} aria-hidden=true>·</span>`);
|
|
6318
6318
|
$si__input_agent && writeScope($scope3_id, {});
|
|
6319
6319
|
return 0;
|
|
6320
6320
|
}
|
|
6321
6321
|
}, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
6322
|
-
_html(`<span${_attr_class("
|
|
6322
|
+
_html(`<span${_attr_class("_f2")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_f3", win$1.used_percent >= 90 ? "_dG" : win$1.used_percent >= 70 ? "_dF" : win$1.used_percent >= 40 ? "_dE" : "_dD"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
|
|
6323
6323
|
$si__input_agent && writeScope($scope2_id, {});
|
|
6324
6324
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
6325
6325
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -6668,7 +6668,7 @@ var side_nav_item_default = _template("x", (input) => {
|
|
|
6668
6668
|
_html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
|
|
6669
6669
|
_for_of([], (agent) => {
|
|
6670
6670
|
const $scope7_id = _scope_id();
|
|
6671
|
-
_html(`<button${_attr_class("
|
|
6671
|
+
_html(`<button${_attr_class("_gn")}>`);
|
|
6672
6672
|
_set_serialize_reason(12);
|
|
6673
6673
|
const $childScope2 = _peek_scope_id();
|
|
6674
6674
|
icon_agent_default({
|
|
@@ -6978,34 +6978,34 @@ var side_nav_default = _template("y", (input) => {
|
|
|
6978
6978
|
const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
|
|
6979
6979
|
const otherIds = itemIds.filter((id) => id !== ws.id);
|
|
6980
6980
|
const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
|
|
6981
|
-
_html(`<aside${_attr_class(["
|
|
6982
|
-
["
|
|
6983
|
-
["
|
|
6981
|
+
_html(`<aside${_attr_class(["_d3", {
|
|
6982
|
+
["_d1"]: !navOpen,
|
|
6983
|
+
["_d2"]: isPage
|
|
6984
6984
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
6985
6985
|
_if(() => {
|
|
6986
6986
|
if (isPage) {
|
|
6987
6987
|
const $scope1_id = _scope_id();
|
|
6988
|
-
_html(`<header${_attr_class("
|
|
6988
|
+
_html(`<header${_attr_class("_d6")}><div${_attr_class("_ee")}>`);
|
|
6989
6989
|
_if(() => {
|
|
6990
6990
|
if (input.instanceName) {
|
|
6991
6991
|
const $scope2_id = _scope_id();
|
|
6992
|
-
_html(`<div${_attr_class("
|
|
6992
|
+
_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>`);
|
|
6993
6993
|
_subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
|
|
6994
6994
|
return 0;
|
|
6995
6995
|
}
|
|
6996
6996
|
}, $scope1_id, "c", $sg__input_instanceName, $sg__input_instanceName, 1, 0, 1);
|
|
6997
|
-
_html(`<h1${_attr_class("
|
|
6997
|
+
_html(`<h1${_attr_class("_d7")}>Workspaces</h1></div><div${_attr_class("_d8")}>`);
|
|
6998
6998
|
_if(() => {}, $scope1_id, "f", 1, 1, 1, 0, 1);
|
|
6999
6999
|
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
|
|
7000
7000
|
iconBtn$1,
|
|
7001
|
-
"
|
|
7002
|
-
{ ["
|
|
7001
|
+
"_d9",
|
|
7002
|
+
{ ["_dY"]: view === "settings" }
|
|
7003
7003
|
])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
7004
7004
|
icon_settings_default({ size: 16 });
|
|
7005
7005
|
_if(() => {
|
|
7006
7006
|
if (input.setupReady === false) {
|
|
7007
7007
|
const $scope12_id = _scope_id();
|
|
7008
|
-
_html(`<span${_attr_class(["_z", "
|
|
7008
|
+
_html(`<span${_attr_class(["_z", "_d0"])} title="Machine setup incomplete"></span>`);
|
|
7009
7009
|
$si__input_setupReady && writeScope($scope12_id, {});
|
|
7010
7010
|
return 0;
|
|
7011
7011
|
}
|
|
@@ -7018,18 +7018,18 @@ var side_nav_default = _template("y", (input) => {
|
|
|
7018
7018
|
_if(() => {
|
|
7019
7019
|
if (!isPage && input.instanceName) {
|
|
7020
7020
|
const $scope3_id = _scope_id();
|
|
7021
|
-
_html(`<div${_attr_class("
|
|
7021
|
+
_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>`);
|
|
7022
7022
|
writeScope($scope3_id, {});
|
|
7023
7023
|
return 0;
|
|
7024
7024
|
}
|
|
7025
7025
|
}, $scope0_id, "c", 1, 1, 1, 0, 1);
|
|
7026
|
-
_html(`<div${_attr_class("
|
|
7026
|
+
_html(`<div${_attr_class("_ef")}>`);
|
|
7027
7027
|
_for_of(listIds, (wsId) => {
|
|
7028
7028
|
const $scope4_id = _scope_id();
|
|
7029
7029
|
_if(() => {
|
|
7030
7030
|
if (isPage && wsId === ws.id) {
|
|
7031
7031
|
const $scope13_id = _scope_id();
|
|
7032
|
-
_html(`<h2${_attr_class(["
|
|
7032
|
+
_html(`<h2${_attr_class(["_bA", "_d_"])}>Current</h2>`);
|
|
7033
7033
|
writeScope($scope13_id, {});
|
|
7034
7034
|
return 0;
|
|
7035
7035
|
}
|
|
@@ -7037,7 +7037,7 @@ var side_nav_default = _template("y", (input) => {
|
|
|
7037
7037
|
_if(() => {
|
|
7038
7038
|
if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
|
|
7039
7039
|
const $scope14_id = _scope_id();
|
|
7040
|
-
_html(`<h2${_attr_class(["
|
|
7040
|
+
_html(`<h2${_attr_class(["_bA", "_d_"])}>Other workspaces</h2>`);
|
|
7041
7041
|
writeScope($scope14_id, {});
|
|
7042
7042
|
return 0;
|
|
7043
7043
|
}
|
|
@@ -7124,7 +7124,7 @@ var side_nav_default = _template("y", (input) => {
|
|
|
7124
7124
|
railHover = null;
|
|
7125
7125
|
}, 150);
|
|
7126
7126
|
}, "y6", $scope5_id);
|
|
7127
|
-
_html(`<div${_attr_class("
|
|
7127
|
+
_html(`<div${_attr_class("_eg")}>`);
|
|
7128
7128
|
_for_of(itemIds, (wsId, i) => {
|
|
7129
7129
|
const $scope6_id = _scope_id();
|
|
7130
7130
|
_html("<span>");
|
|
@@ -7178,7 +7178,7 @@ var side_nav_default = _template("y", (input) => {
|
|
|
7178
7178
|
if (railHover) {
|
|
7179
7179
|
const $scope7_id = _scope_id();
|
|
7180
7180
|
const hoverId = railHover.id;
|
|
7181
|
-
_html(`<div${_attr_class(["_4", "
|
|
7181
|
+
_html(`<div${_attr_class(["_4", "_ej"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
|
|
7182
7182
|
_set_serialize_reason({
|
|
7183
7183
|
0: 1,
|
|
7184
7184
|
1: 1,
|
|
@@ -7266,7 +7266,7 @@ var side_nav_default = _template("y", (input) => {
|
|
|
7266
7266
|
return 0;
|
|
7267
7267
|
}
|
|
7268
7268
|
}, $scope0_id, "e");
|
|
7269
|
-
_html(`<div${_attr_class("
|
|
7269
|
+
_html(`<div${_attr_class("_eh")}>`);
|
|
7270
7270
|
_if(() => {
|
|
7271
7271
|
if (isPage) {
|
|
7272
7272
|
const $scope9_id = _scope_id();
|
|
@@ -7274,7 +7274,7 @@ var side_nav_default = _template("y", (input) => {
|
|
|
7274
7274
|
"_o",
|
|
7275
7275
|
"_p",
|
|
7276
7276
|
btnLg,
|
|
7277
|
-
"
|
|
7277
|
+
"_ea"
|
|
7278
7278
|
])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
7279
7279
|
icon_folder_plus_default({ size: 16 });
|
|
7280
7280
|
_html(` New workspace</a>${_el_resume($scope9_id, "a")}`);
|
|
@@ -7296,19 +7296,19 @@ var side_nav_default = _template("y", (input) => {
|
|
|
7296
7296
|
return 1;
|
|
7297
7297
|
}
|
|
7298
7298
|
}, $scope8_id, "a", 1, 1, 1, "</button>", 1);
|
|
7299
|
-
_html(`<div${_attr_class(["_y", "
|
|
7299
|
+
_html(`<div${_attr_class(["_y", "_ei"])}></div>`);
|
|
7300
7300
|
_if(() => {}, $scope8_id, "c", 1, 1, 1, 0, 1);
|
|
7301
|
-
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["
|
|
7301
|
+
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["_dY"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
7302
7302
|
icon_settings_default({ size: 15 });
|
|
7303
7303
|
_if(() => {
|
|
7304
7304
|
if (input.setupReady === false) {
|
|
7305
7305
|
const $scope17_id = _scope_id();
|
|
7306
|
-
_html(`<span${_attr_class(["_z", "
|
|
7306
|
+
_html(`<span${_attr_class(["_z", "_d0"])} title="Machine setup incomplete"></span>`);
|
|
7307
7307
|
$si__input_setupReady && writeScope($scope17_id, {});
|
|
7308
7308
|
return 0;
|
|
7309
7309
|
}
|
|
7310
7310
|
}, $scope8_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
7311
|
-
_html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["
|
|
7311
|
+
_html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["_dY"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
7312
7312
|
icon_folder_plus_default({ size: 16 });
|
|
7313
7313
|
_html(`</a>${_el_resume($scope8_id, "g")}`);
|
|
7314
7314
|
_script($scope8_id, "y15");
|
|
@@ -7373,11 +7373,11 @@ var side_nav_default = _template("y", (input) => {
|
|
|
7373
7373
|
_resume_branch($scope0_id);
|
|
7374
7374
|
});
|
|
7375
7375
|
var iconBtn = "_0 _j";
|
|
7376
|
-
var sectionCount = "
|
|
7377
|
-
var content = "
|
|
7378
|
-
var pageMeta = "
|
|
7379
|
-
var pathMeta = "
|
|
7380
|
-
var dangerHint = "
|
|
7376
|
+
var sectionCount = "_bn _I _J";
|
|
7377
|
+
var content = "_dK _bD";
|
|
7378
|
+
var pageMeta = "_dL _bI";
|
|
7379
|
+
var pathMeta = "_dO _x";
|
|
7380
|
+
var dangerHint = "_dU _S";
|
|
7381
7381
|
//#endregion
|
|
7382
7382
|
//#region src/tags/manage-workspace.marko
|
|
7383
7383
|
var api$2;
|
|
@@ -7476,7 +7476,7 @@ var manage_workspace_default = _template("o", (input) => {
|
|
|
7476
7476
|
setTimeout(() => loadProcs(void 0), 500);
|
|
7477
7477
|
}, "o5", $scope0_id);
|
|
7478
7478
|
const titleId = _id();
|
|
7479
|
-
_html(`<div${_attr_class("
|
|
7479
|
+
_html(`<div${_attr_class("_bB")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bC")}><div${_attr_class(content)}>`);
|
|
7480
7480
|
_set_serialize_reason(30);
|
|
7481
7481
|
const $childScope = _peek_scope_id();
|
|
7482
7482
|
page_head_default({
|
|
@@ -7489,7 +7489,7 @@ var manage_workspace_default = _template("o", (input) => {
|
|
|
7489
7489
|
meta: attrTag({ content: _content_resume("o11", () => {
|
|
7490
7490
|
_scope_reason();
|
|
7491
7491
|
const $scope8_id = _scope_id();
|
|
7492
|
-
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("
|
|
7492
|
+
_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>`);
|
|
7493
7493
|
_if(() => {
|
|
7494
7494
|
if (ws.status !== "active") {
|
|
7495
7495
|
const $scope11_id = _scope_id();
|
|
@@ -7498,7 +7498,7 @@ var manage_workspace_default = _template("o", (input) => {
|
|
|
7498
7498
|
return 0;
|
|
7499
7499
|
}
|
|
7500
7500
|
}, $scope8_id, "d", 1, 1, 1, 0, 1);
|
|
7501
|
-
_html(`<span${_attr_class("
|
|
7501
|
+
_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")}`);
|
|
7502
7502
|
_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) })))));
|
|
7503
7503
|
_resume_branch($scope8_id);
|
|
7504
7504
|
}, $scope0_id) })
|
|
@@ -7526,22 +7526,22 @@ var manage_workspace_default = _template("o", (input) => {
|
|
|
7526
7526
|
_if(() => {
|
|
7527
7527
|
if (pendingAction && actionStep) {
|
|
7528
7528
|
const $scope7_id = _scope_id();
|
|
7529
|
-
_html(`<p${_attr_class("
|
|
7529
|
+
_html(`<p${_attr_class("_bk")}><span${_attr_class("_F")}></span><!>${_escape(actionStep)}${_el_resume($scope7_id, "c")}</p>`);
|
|
7530
7530
|
writeScope($scope7_id, {});
|
|
7531
7531
|
return 0;
|
|
7532
7532
|
}
|
|
7533
7533
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
7534
|
-
_html(`<section${_attr_class("
|
|
7534
|
+
_html(`<section${_attr_class("_bl")}><div${_attr_class("_bm")}><h2${_attr_class("_bA")}>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)}>`);
|
|
7535
7535
|
_set_serialize_reason(1);
|
|
7536
7536
|
const $childScope2 = _peek_scope_id();
|
|
7537
7537
|
icon_refresh_default({
|
|
7538
7538
|
size: 14,
|
|
7539
7539
|
class: catalogRefreshing && "_E"
|
|
7540
7540
|
});
|
|
7541
|
-
_html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("
|
|
7541
|
+
_html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("_bo")}>`);
|
|
7542
7542
|
_for_of(ws.repos, (row) => {
|
|
7543
7543
|
const $scope1_id = _scope_id();
|
|
7544
|
-
_html(`<li${_attr_class("
|
|
7544
|
+
_html(`<li${_attr_class("_bq")}><div${_attr_class("_br")}><span${_attr_class(["_bs", "_x"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bt")}><a${_attr_class(["_bu", "_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")}`);
|
|
7545
7545
|
_if(() => {
|
|
7546
7546
|
if (row.base_branch !== row.default_branch) {
|
|
7547
7547
|
const $scope12_id = _scope_id();
|
|
@@ -7562,7 +7562,7 @@ var manage_workspace_default = _template("o", (input) => {
|
|
|
7562
7562
|
} else {
|
|
7563
7563
|
const $scope6_id = _scope_id();
|
|
7564
7564
|
_html(`<button${_attr_class([
|
|
7565
|
-
"
|
|
7565
|
+
"_bv",
|
|
7566
7566
|
"_2",
|
|
7567
7567
|
"_3",
|
|
7568
7568
|
{ ["_q"]: confirmingRemove === row.full_name }
|
|
@@ -7595,19 +7595,19 @@ var manage_workspace_default = _template("o", (input) => {
|
|
|
7595
7595
|
}, "full_name", $scope0_id, "p", 1, 1, 1, 0, 1);
|
|
7596
7596
|
_for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
|
|
7597
7597
|
const $scope16_id = _scope_id();
|
|
7598
|
-
_html(`<li${_attr_class(["
|
|
7598
|
+
_html(`<li${_attr_class(["_bq", "_bp"])}><span${_attr_class("_F")}></span><div${_attr_class("_br")}><span${_attr_class("_bu")}>Adding <!>${_escape(name)}${_el_resume($scope16_id, "e")}…</span></div></li>`);
|
|
7599
7599
|
writeScope($scope16_id, {});
|
|
7600
7600
|
}, (n) => n, $scope0_id, "q", 1, 1, 1, 0, 1);
|
|
7601
7601
|
_html("</ul>");
|
|
7602
7602
|
_if(() => {
|
|
7603
7603
|
if (!ws.repos.length && !busy.size) {
|
|
7604
7604
|
const $scope17_id = _scope_id();
|
|
7605
|
-
_html(`<p${_attr_class("
|
|
7605
|
+
_html(`<p${_attr_class("_bw")}>No repos yet. Search below to add one.</p>`);
|
|
7606
7606
|
writeScope($scope17_id, {});
|
|
7607
7607
|
return 0;
|
|
7608
7608
|
}
|
|
7609
7609
|
}, $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
7610
|
-
_html(`<div${_attr_class("
|
|
7610
|
+
_html(`<div${_attr_class("_dP")}>`);
|
|
7611
7611
|
const $childScope3 = _peek_scope_id();
|
|
7612
7612
|
let refreshCatalog = repo_picker_default({
|
|
7613
7613
|
exclude: inWorkspace,
|
|
@@ -7627,17 +7627,17 @@ var manage_workspace_default = _template("o", (input) => {
|
|
|
7627
7627
|
_if(() => {
|
|
7628
7628
|
if (running.length) {
|
|
7629
7629
|
const $scope9_id = _scope_id();
|
|
7630
|
-
_html(`<section${_attr_class("
|
|
7630
|
+
_html(`<section${_attr_class("_bl")}><div${_attr_class("_bm")}><h2${_attr_class("_bA")}>Running</h2><span${_attr_class(sectionCount)}>${_escape(running.length)}${_el_resume($scope9_id, "e")}</span></div><ul${_attr_class("_bo")}>`);
|
|
7631
7631
|
_for_of(running, (p) => {
|
|
7632
7632
|
const $scope10_id = _scope_id();
|
|
7633
|
-
_html(`<li${_attr_class("
|
|
7633
|
+
_html(`<li${_attr_class("_bq")}><div${_attr_class("_br")}${_attr("title", p.args)}><span${_attr_class(["_bs", "_x"])}>${_escape(p.cmd)}${_el_resume($scope10_id, "d")}</span>`);
|
|
7634
7634
|
_if(() => {
|
|
7635
7635
|
if (p.ports.length) {
|
|
7636
7636
|
const $scope18_id = _scope_id();
|
|
7637
|
-
_html(`<span${_attr_class("
|
|
7637
|
+
_html(`<span${_attr_class("_bt")}>`);
|
|
7638
7638
|
_for_of(p.ports, (port) => {
|
|
7639
7639
|
const $scope19_id = _scope_id();
|
|
7640
|
-
_html(`<button${_attr_class(["_s", "
|
|
7640
|
+
_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")}`);
|
|
7641
7641
|
_script($scope19_id, "o15");
|
|
7642
7642
|
writeScope($scope19_id, { d: port });
|
|
7643
7643
|
}, (x) => String(x), $scope18_id, "a", 1, 1, 1, "</span>", 1);
|
|
@@ -7645,7 +7645,7 @@ var manage_workspace_default = _template("o", (input) => {
|
|
|
7645
7645
|
return 0;
|
|
7646
7646
|
}
|
|
7647
7647
|
}, $scope10_id, "e", 1, 1, 1, 0, 1);
|
|
7648
|
-
_html(`</div>${_el_resume($scope10_id, "b")}<button${_attr_class(["
|
|
7648
|
+
_html(`</div>${_el_resume($scope10_id, "b")}<button${_attr_class(["_bv", "_2"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
|
|
7649
7649
|
icon_xmark_default({ size: 14 });
|
|
7650
7650
|
_html(`</button>${_el_resume($scope10_id, "f")}</li>`);
|
|
7651
7651
|
_script($scope10_id, "o16");
|
|
@@ -7659,7 +7659,7 @@ var manage_workspace_default = _template("o", (input) => {
|
|
|
7659
7659
|
return 0;
|
|
7660
7660
|
}
|
|
7661
7661
|
}, $scope0_id, "v", 1, 1, 1, 0, 1);
|
|
7662
|
-
_html(`<section${_attr_class(["
|
|
7662
|
+
_html(`<section${_attr_class(["_bl", "_dS"])}><div${_attr_class("_bm")}><h2${_attr_class("_bA")}>Workspace</h2></div><div${_attr_class("_dT")}>`);
|
|
7663
7663
|
_if(() => {
|
|
7664
7664
|
if (ws.status === "active") {
|
|
7665
7665
|
const $scope4_id = _scope_id();
|
|
@@ -7760,19 +7760,19 @@ var term_find_default = _template("A", (input) => {
|
|
|
7760
7760
|
const canStep = hasQuery && open;
|
|
7761
7761
|
const keybar = input.placement === "keybar";
|
|
7762
7762
|
_html(`<div${_attr_class([
|
|
7763
|
-
"
|
|
7764
|
-
keybar ? "
|
|
7765
|
-
!open && "
|
|
7766
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
7763
|
+
"_fA",
|
|
7764
|
+
keybar ? "_fC" : "_fB",
|
|
7765
|
+
!open && "_fE"
|
|
7766
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_fv", keybar ? "_fD" : "_fx"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
7767
7767
|
if (!open) return;
|
|
7768
7768
|
query = v;
|
|
7769
7769
|
live.query = v;
|
|
7770
7770
|
run(0);
|
|
7771
|
-
}, "A0", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
7771
|
+
}, "A0", $scope0_id))}${_attr_class([findInput, keybar && "_fF"])} 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 && "_fG"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
7772
7772
|
icon_arrow_up_default({ size: 14 });
|
|
7773
|
-
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
7773
|
+
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_fG"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
7774
7774
|
icon_arrow_down_default({ size: 14 });
|
|
7775
|
-
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
7775
|
+
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_fG"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
|
|
7776
7776
|
icon_xmark_default({ size: 14 });
|
|
7777
7777
|
_html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
|
|
7778
7778
|
_script($scope0_id, "A4");
|
|
@@ -8106,7 +8106,7 @@ var term_default = _template("B", (input) => {
|
|
|
8106
8106
|
trapOpen = true;
|
|
8107
8107
|
}
|
|
8108
8108
|
}, "B14", $scope0_id);
|
|
8109
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
8109
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_ek")}><div${_attr_class("_el")}></div>${_el_resume($scope0_id, "b")}`);
|
|
8110
8110
|
_if(() => {
|
|
8111
8111
|
if (findOpen) {
|
|
8112
8112
|
const $scope12_id = _scope_id();
|
|
@@ -8133,7 +8133,7 @@ var term_default = _template("B", (input) => {
|
|
|
8133
8133
|
_if(() => {
|
|
8134
8134
|
if (uploading) {
|
|
8135
8135
|
const $scope19_id = _scope_id();
|
|
8136
|
-
_html(`<div${_attr_class("
|
|
8136
|
+
_html(`<div${_attr_class("_er")}>uploading…</div>`);
|
|
8137
8137
|
writeScope($scope19_id, {});
|
|
8138
8138
|
return 0;
|
|
8139
8139
|
}
|
|
@@ -8141,7 +8141,7 @@ var term_default = _template("B", (input) => {
|
|
|
8141
8141
|
_if(() => {
|
|
8142
8142
|
if (copiedFlash) {
|
|
8143
8143
|
const $scope20_id = _scope_id();
|
|
8144
|
-
_html(`<div${_attr_class("
|
|
8144
|
+
_html(`<div${_attr_class("_eq")}>Copied</div>`);
|
|
8145
8145
|
writeScope($scope20_id, {});
|
|
8146
8146
|
return 0;
|
|
8147
8147
|
}
|
|
@@ -8150,7 +8150,7 @@ var term_default = _template("B", (input) => {
|
|
|
8150
8150
|
_if(() => {
|
|
8151
8151
|
if (trapOpen) {
|
|
8152
8152
|
const $scope11_id = _scope_id();
|
|
8153
|
-
_html(`<div${_attr_class("
|
|
8153
|
+
_html(`<div${_attr_class("_es")}><div${_attr_class("_et")}><p${_attr_class("_eX")}>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")}`);
|
|
8154
8154
|
_script($scope11_id, "B25");
|
|
8155
8155
|
_script($scope11_id, "B26");
|
|
8156
8156
|
writeScope($scope11_id, {});
|
|
@@ -8253,7 +8253,7 @@ var work_view_default = _template("F", (input) => {
|
|
|
8253
8253
|
let DiffView = null;
|
|
8254
8254
|
const loadDiffView = _resume(() => {
|
|
8255
8255
|
if (DiffView) return;
|
|
8256
|
-
import("./
|
|
8256
|
+
import("./_BuETZvgo.js").then((m) => {
|
|
8257
8257
|
DiffView = m.default;
|
|
8258
8258
|
});
|
|
8259
8259
|
}, "F6", $scope0_id);
|
|
@@ -8439,10 +8439,10 @@ var work_view_default = _template("F", (input) => {
|
|
|
8439
8439
|
toggleDiff();
|
|
8440
8440
|
}
|
|
8441
8441
|
}, "F21", $scope0_id);
|
|
8442
|
-
_html(`<div${_attr_class(["
|
|
8443
|
-
["
|
|
8444
|
-
["
|
|
8445
|
-
}])}><div${_attr_class("
|
|
8442
|
+
_html(`<div${_attr_class(["_cK", {
|
|
8443
|
+
["_cI"]: view === "nav",
|
|
8444
|
+
["_cJ"]: !input.active
|
|
8445
|
+
}])}><div${_attr_class("_cL")}>`);
|
|
8446
8446
|
_set_serialize_reason({
|
|
8447
8447
|
0: _serialize_guard($scope0_reason, 0),
|
|
8448
8448
|
1: 1,
|
|
@@ -8504,7 +8504,7 @@ var work_view_default = _template("F", (input) => {
|
|
|
8504
8504
|
openDiff(pr);
|
|
8505
8505
|
}, "F29", $scope0_id)
|
|
8506
8506
|
});
|
|
8507
|
-
_html(`</div><div${_attr_class("
|
|
8507
|
+
_html(`</div><div${_attr_class("_cM")}>`);
|
|
8508
8508
|
_if(() => {
|
|
8509
8509
|
if (error) {
|
|
8510
8510
|
const $scope8_id = _scope_id();
|
|
@@ -8527,7 +8527,7 @@ var work_view_default = _template("F", (input) => {
|
|
|
8527
8527
|
_if(() => {
|
|
8528
8528
|
if (diffMounted && DiffView) {
|
|
8529
8529
|
const $scope1_id = _scope_id();
|
|
8530
|
-
_html(`<div${_attr_class(["
|
|
8530
|
+
_html(`<div${_attr_class(["_cN", { ["_cO"]: view === "diff" }])}>`);
|
|
8531
8531
|
_dynamic_tag($scope1_id, "b", DiffView, {
|
|
8532
8532
|
workspaceId: ws.id,
|
|
8533
8533
|
workspaceBranch: ws.branch,
|
|
@@ -8567,7 +8567,7 @@ var work_view_default = _template("F", (input) => {
|
|
|
8567
8567
|
_if(() => {
|
|
8568
8568
|
if (manageMounted) {
|
|
8569
8569
|
const $scope2_id = _scope_id();
|
|
8570
|
-
_html(`<div${_attr_class(["
|
|
8570
|
+
_html(`<div${_attr_class(["_cN", { ["_cO"]: view === "manage" }])}>`);
|
|
8571
8571
|
_set_serialize_reason(_serialize_guard($scope0_reason, 16));
|
|
8572
8572
|
const $childScope2 = _peek_scope_id();
|
|
8573
8573
|
manage_workspace_default({
|
|
@@ -8590,7 +8590,7 @@ var work_view_default = _template("F", (input) => {
|
|
|
8590
8590
|
_if(() => {
|
|
8591
8591
|
if (settingsMounted) {
|
|
8592
8592
|
const $scope3_id = _scope_id();
|
|
8593
|
-
_html(`<div${_attr_class(["
|
|
8593
|
+
_html(`<div${_attr_class(["_cN", { ["_cO"]: view === "settings" }])}>`);
|
|
8594
8594
|
_set_serialize_reason({
|
|
8595
8595
|
0: _serialize_guard($scope0_reason, 1),
|
|
8596
8596
|
1: $sg__input_workspace,
|
|
@@ -8631,7 +8631,7 @@ var work_view_default = _template("F", (input) => {
|
|
|
8631
8631
|
_if(() => {
|
|
8632
8632
|
if (newMounted) {
|
|
8633
8633
|
const $scope4_id = _scope_id();
|
|
8634
|
-
_html(`<div${_attr_class(["
|
|
8634
|
+
_html(`<div${_attr_class(["_cN", { ["_cO"]: view === "new" }])}>`);
|
|
8635
8635
|
_set_serialize_reason({
|
|
8636
8636
|
0: 1,
|
|
8637
8637
|
1: $sg__input_allWorkspaces,
|
|
@@ -8658,13 +8658,13 @@ var work_view_default = _template("F", (input) => {
|
|
|
8658
8658
|
return 0;
|
|
8659
8659
|
}
|
|
8660
8660
|
}, $scope0_id, "i", 1, 1, 1, 0, 1);
|
|
8661
|
-
_html(`<div${_attr_class(["
|
|
8661
|
+
_html(`<div${_attr_class(["_cQ", { ["_cP"]: view !== "term" }])}>`);
|
|
8662
8662
|
_if(() => {
|
|
8663
8663
|
if (shownSessions) {
|
|
8664
8664
|
const $scope5_id = _scope_id();
|
|
8665
8665
|
_for_of(shownSessions, (s) => {
|
|
8666
8666
|
const $scope6_id = _scope_id();
|
|
8667
|
-
_html(`<div${_attr_class(["
|
|
8667
|
+
_html(`<div${_attr_class(["_cR", { ["_cS"]: s.id === curTab }])}>`);
|
|
8668
8668
|
_set_serialize_reason({
|
|
8669
8669
|
0: 1,
|
|
8670
8670
|
1: 1,
|
|
@@ -8723,7 +8723,7 @@ var work_view_default = _template("F", (input) => {
|
|
|
8723
8723
|
_if(() => {
|
|
8724
8724
|
if (!shownSessions.length && view === "term") {
|
|
8725
8725
|
const $scope7_id = _scope_id();
|
|
8726
|
-
_html(`<div${_attr_class("
|
|
8726
|
+
_html(`<div${_attr_class("_bx")}><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>`);
|
|
8727
8727
|
_script($scope7_id, "F49");
|
|
8728
8728
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
|
|
8729
8729
|
return 0;
|
|
@@ -8733,7 +8733,7 @@ var work_view_default = _template("F", (input) => {
|
|
|
8733
8733
|
return 0;
|
|
8734
8734
|
} else {
|
|
8735
8735
|
const $scope10_id = _scope_id();
|
|
8736
|
-
_html(`<p${_attr_class("
|
|
8736
|
+
_html(`<p${_attr_class("_bx")}>Loading sessions…</p>`);
|
|
8737
8737
|
writeScope($scope10_id, {});
|
|
8738
8738
|
return 1;
|
|
8739
8739
|
}
|
|
@@ -16737,4 +16737,4 @@ server.listen(port, () => {
|
|
|
16737
16737
|
//#endregion
|
|
16738
16738
|
export {};
|
|
16739
16739
|
|
|
16740
|
-
;var __MARKO_MANIFEST__={"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-
|
|
16740
|
+
;var __MARKO_MANIFEST__={"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-C2vRDhnS.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C2vRDhnS.css\"",">"],"defer":[2,"/assets/w-CwkHt2eP.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-CwkHt2eP.js\"","></script>",2,"modulepreload#/assets/_BqvL8Q_F.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BqvL8Q_F.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-C2vRDhnS.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C2vRDhnS.css\"",">"],"defer":[2,"/assets/new-CwkHt2eP.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-CwkHt2eP.js\"","></script>",2,"modulepreload#/assets/_BqvL8Q_F.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BqvL8Q_F.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-C2vRDhnS.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C2vRDhnS.css\"",">"],"defer":[2,"/assets/settings-CwkHt2eP.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-CwkHt2eP.js\"","></script>",2,"modulepreload#/assets/_BqvL8Q_F.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BqvL8Q_F.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-C2vRDhnS.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C2vRDhnS.css\"",">"],"defer":[2,"/assets/w._-CwkHt2eP.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-CwkHt2eP.js\"","></script>",2,"modulepreload#/assets/_BqvL8Q_F.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BqvL8Q_F.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-C2vRDhnS.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C2vRDhnS.css\"",">"],"defer":[2,"/assets/w._-BxPjPqAS.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-BxPjPqAS.js\"","></script>",2,"modulepreload#/assets/_BqvL8Q_F.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BqvL8Q_F.js\"",">"]}};
|