@dylanpiercey/work 0.0.73 → 0.0.74
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/{_a4E7JVTq.js → _C4T3WOc-.js} +327 -293
- package/dist/{_hclnI8dX.js → _JZKScK_6.js} +2 -2
- package/dist/index.mjs +146 -146
- package/dist/public/assets/{_29x9Ht-Q2.js → _0_BxD6tA2.js} +1 -1
- package/dist/public/assets/_0_BxD6tA2.js.br +0 -0
- package/dist/public/assets/{_B-PT04Ok2.js → _B-ZLatX02.js} +1 -1
- package/dist/public/assets/_B-ZLatX02.js.br +0 -0
- package/dist/public/assets/{_ynuKZgua2.js → _B-vJ063K2.js} +1 -1
- package/dist/public/assets/_B-vJ063K2.js.br +0 -0
- package/dist/public/assets/{_CdWuqeZK.js → _B3-kV650.js} +1 -1
- package/dist/public/assets/_B3-kV650.js.br +0 -0
- package/dist/public/assets/{_DswD_yru2.js → _B6cp2Tnt2.js} +1 -1
- package/dist/public/assets/_B6cp2Tnt2.js.br +0 -0
- package/dist/public/assets/{_BYAOEh2-.js → _B7qLfWk7.js} +1 -1
- package/dist/public/assets/_B7qLfWk7.js.br +0 -0
- package/dist/public/assets/{_Dnrrwurs.js → _B8yL5yfH.js} +1 -1
- package/dist/public/assets/_B8yL5yfH.js.br +0 -0
- package/dist/public/assets/{_YuhWYT9L.js → _BAM8hQx8.js} +1 -1
- package/dist/public/assets/_BAM8hQx8.js.br +0 -0
- package/dist/public/assets/{_CYjQ_rQU.js → _BCELU8uk.js} +1 -1
- package/dist/public/assets/_BCELU8uk.js.br +0 -0
- package/dist/public/assets/{_DC8LVwVY.js → _BEsGJwj1.js} +1 -1
- package/dist/public/assets/_BEsGJwj1.js.br +0 -0
- package/dist/public/assets/{_CdB7VHwX2.js → _BIlkaSXj2.js} +1 -1
- package/dist/public/assets/_BIlkaSXj2.js.br +0 -0
- package/dist/public/assets/{_ByMM8N1r.js → _BRKdH0Xv.js} +1 -1
- package/dist/public/assets/_BRKdH0Xv.js.br +0 -0
- package/dist/public/assets/{_D-P8DqvK2.js → _BRrshe202.js} +1 -1
- package/dist/public/assets/{_CMkaOgq5.js → _BSnpBPhR.js} +1 -1
- package/dist/public/assets/_BSnpBPhR.js.br +0 -0
- package/dist/public/assets/{_Bud2gpcs.js → _Bf8W6hR7.js} +1 -1
- package/dist/public/assets/_Bf8W6hR7.js.br +0 -0
- package/dist/public/assets/{_C-JDWYNo2.js → _BjS-vjVo2.js} +1 -1
- package/dist/public/assets/_BjS-vjVo2.js.br +0 -0
- package/dist/public/assets/{_D7mRLhwX2.js → _BsMtWEvw2.js} +1 -1
- package/dist/public/assets/_BsMtWEvw2.js.br +0 -0
- package/dist/public/assets/{_DQSUDhad.js → _Bsi-MUb-.js} +1 -1
- package/dist/public/assets/_Bsi-MUb-.js.br +0 -0
- package/dist/public/assets/{_DJARroah2.js → _C4OOpxns2.js} +1 -1
- package/dist/public/assets/_C4OOpxns2.js.br +0 -0
- package/dist/public/assets/{_BhRT35mT.js → _C4bcAkxw.js} +4 -4
- package/dist/public/assets/_C4bcAkxw.js.br +0 -0
- package/dist/public/assets/{_C6iBocvM2.js → _CEjOmogC2.js} +1 -1
- package/dist/public/assets/_CEjOmogC2.js.br +0 -0
- package/dist/public/assets/{_Ce-R03cZ2.js → _CHUg0ksH2.js} +1 -1
- package/dist/public/assets/_CHUg0ksH2.js.br +0 -0
- package/dist/public/assets/{_BmDB0rQV.js → _CJmkmGNg.js} +1 -1
- package/dist/public/assets/_CJmkmGNg.js.br +0 -0
- package/dist/public/assets/{_CkNCn2942.js → _CKkkXYf42.js} +1 -1
- package/dist/public/assets/_CKkkXYf42.js.br +0 -0
- package/dist/public/assets/{_ChkPwLnS2.js → _CL6hsAgf2.js} +1 -1
- package/dist/public/assets/_CL6hsAgf2.js.br +0 -0
- package/dist/public/assets/{_DynCQhpp.js → _CNHWN4ne.js} +1 -1
- package/dist/public/assets/_CNHWN4ne.js.br +0 -0
- package/dist/public/assets/{_Mggy21Fi.js → _COQdreVN.js} +1 -1
- package/dist/public/assets/_COQdreVN.js.br +0 -0
- package/dist/public/assets/{_QfF14R_b.js → _CRzcId75.js} +1 -1
- package/dist/public/assets/_CRzcId75.js.br +0 -0
- package/dist/public/assets/{_mn9C4e-7.js → _CSSWCImt.js} +1 -1
- package/dist/public/assets/_CSSWCImt.js.br +0 -0
- package/dist/public/assets/{_DKHAhfGs.js → _CTIj6y6q.js} +1 -1
- package/dist/public/assets/_CTIj6y6q.js.br +0 -0
- package/dist/public/assets/{_DcXafbQI.js → _CVQsXn4K.js} +1 -1
- package/dist/public/assets/_CVQsXn4K.js.br +0 -0
- package/dist/public/assets/{_CnaMcooO.js → _CY8DnUYp.js} +1 -1
- package/dist/public/assets/_CY8DnUYp.js.br +0 -0
- package/dist/public/assets/{_Bx-jImeN.js → _CbnLiunX.js} +1 -1
- package/dist/public/assets/_CbnLiunX.js.br +0 -0
- package/dist/public/assets/{_C7CzRI13.js → _Ckz3mCrC.js} +1 -1
- package/dist/public/assets/_Ckz3mCrC.js.br +0 -0
- package/dist/public/assets/{_BUc_Vl5e.js → _Cl6zL1rb.js} +1 -1
- package/dist/public/assets/_Cl6zL1rb.js.br +0 -0
- package/dist/public/assets/{_Ce2B5H6R.js → _CmATrSbQ.js} +1 -1
- package/dist/public/assets/_CmATrSbQ.js.br +0 -0
- package/dist/public/assets/{_CQ_0JcVs2.js → _Cq4B-czG2.js} +1 -1
- package/dist/public/assets/_Cq4B-czG2.js.br +0 -0
- package/dist/public/assets/{_Dh1jAyYX.js → _CqJy9zqf.js} +1 -1
- package/dist/public/assets/_CqJy9zqf.js.br +0 -0
- package/dist/public/assets/{_D6MZcQKP.js → _Cv5cB1Gc.js} +1 -1
- package/dist/public/assets/_Cv5cB1Gc.js.br +0 -0
- package/dist/public/assets/{_bYuFEVvN.js → _CvqFUYec.js} +1 -1
- package/dist/public/assets/_CvqFUYec.js.br +0 -0
- package/dist/public/assets/{_A-SnIf68.js → _Cy4Qu_lY.js} +1 -1
- package/dist/public/assets/_Cy4Qu_lY.js.br +0 -0
- package/dist/public/assets/{_EA4z6Ocg.js → _Cy6s-DjW.js} +1 -1
- package/dist/public/assets/_Cy6s-DjW.js.br +0 -0
- package/dist/public/assets/{_CJDpwABS.js → _Cymp0KkN.js} +1 -1
- package/dist/public/assets/_Cymp0KkN.js.br +0 -0
- package/dist/public/assets/{_srUTg489.js → _CzvbtXgZ.js} +1 -1
- package/dist/public/assets/_CzvbtXgZ.js.br +0 -0
- package/dist/public/assets/{_C6Eavzmt.js → _D-wyWmAu.js} +1 -1
- package/dist/public/assets/_D-wyWmAu.js.br +0 -0
- package/dist/public/assets/{_BN-ThWaS.js → _DAQlNNDT.js} +1 -1
- package/dist/public/assets/_DAQlNNDT.js.br +0 -0
- package/dist/public/assets/{_CiYb_Bp1.js → _DCLWmEuS.js} +1 -1
- package/dist/public/assets/_DCLWmEuS.js.br +0 -0
- package/dist/public/assets/{_DK6p9z1j2.js → _DHth5jay2.js} +1 -1
- package/dist/public/assets/_DHth5jay2.js.br +0 -0
- package/dist/public/assets/{_CIkNdjAJ.js → _DI_ZoCy4.js} +1 -1
- package/dist/public/assets/_DI_ZoCy4.js.br +0 -0
- package/dist/public/assets/{_CkABEOAv.js → _DPPdU-Av.js} +1 -1
- package/dist/public/assets/_DPPdU-Av.js.br +0 -0
- package/dist/public/assets/{_C-ifLHsW.js → _DPfjt9fQ.js} +1 -1
- package/dist/public/assets/_DPfjt9fQ.js.br +0 -0
- package/dist/public/assets/{_UJESRnqQ.js → _DTZJyM9w.js} +1 -1
- package/dist/public/assets/_DTZJyM9w.js.br +0 -0
- package/dist/public/assets/{_DSWOPuxC2.js → _DXCkImvC2.js} +1 -1
- package/dist/public/assets/{_BU_ZD020.js → _DdSK0SaL.js} +1 -1
- package/dist/public/assets/_DdSK0SaL.js.br +0 -0
- package/dist/public/assets/{_D99GO9JW2.js → _Dim3Qa8e2.js} +1 -1
- package/dist/public/assets/_Dim3Qa8e2.js.br +0 -0
- package/dist/public/assets/{_Bpr7lRdd.js → _DncKjJb4.js} +1 -1
- package/dist/public/assets/_DncKjJb4.js.br +0 -0
- package/dist/public/assets/{_DSiaWqg3.js → _DsjVSWqF.js} +1 -1
- package/dist/public/assets/_DsjVSWqF.js.br +0 -0
- package/dist/public/assets/{_CSfPA_mo.js → _DwvzTp2-.js} +1 -1
- package/dist/public/assets/_DwvzTp2-.js.br +0 -0
- package/dist/public/assets/{_C9CdATEd2.js → _DxrYm2uA2.js} +1 -1
- package/dist/public/assets/_DxrYm2uA2.js.br +0 -0
- package/dist/public/assets/{_CHhO4fFL.js → _DztmqTsm.js} +1 -1
- package/dist/public/assets/_DztmqTsm.js.br +0 -0
- package/dist/public/assets/{_T__665hy.js → _ETZIHvA2.js} +1 -1
- package/dist/public/assets/_ETZIHvA2.js.br +0 -0
- package/dist/public/assets/{_DngVnDg5.js → _FgVKeYCS.js} +1 -1
- package/dist/public/assets/_FgVKeYCS.js.br +0 -0
- package/dist/public/assets/{_DgqFUsuu.js → _JL1loQ5W.js} +1 -1
- package/dist/public/assets/_JL1loQ5W.js.br +0 -0
- package/dist/public/assets/{_C1RzE6Mp.js → _QP0MFlyi.js} +1 -1
- package/dist/public/assets/_QP0MFlyi.js.br +0 -0
- package/dist/public/assets/{_DcfF8nxm.js → _RZIVk7xV.js} +1 -1
- package/dist/public/assets/_RZIVk7xV.js.br +0 -0
- package/dist/public/assets/{_BTjgy5c62.js → _RjnwisyN2.js} +1 -1
- package/dist/public/assets/_RjnwisyN2.js.br +0 -0
- package/dist/public/assets/{_CtowbQCb2.js → _U11SdqZG2.js} +1 -1
- package/dist/public/assets/_U11SdqZG2.js.br +0 -0
- package/dist/public/assets/{_CKSRE8zv2.js → _XSVpb5jO2.js} +1 -1
- package/dist/public/assets/_XSVpb5jO2.js.br +0 -0
- package/dist/public/assets/{_YxDFo3_J.js → _fDUiWXKb.js} +1 -1
- package/dist/public/assets/_fDUiWXKb.js.br +0 -0
- package/dist/public/assets/{_DESY84xu2.js → _kVKsguoi2.js} +1 -1
- package/dist/public/assets/_kVKsguoi2.js.br +0 -0
- package/dist/public/assets/{_DoN89b6G2.js → _o_bMNXwQ2.js} +1 -1
- package/dist/public/assets/_o_bMNXwQ2.js.br +0 -0
- package/dist/public/assets/{_CQeNDnCp.js → _tP5Jh-Ws.js} +45 -45
- package/dist/public/assets/_tP5Jh-Ws.js.br +0 -0
- package/dist/public/assets/{_C0xjFWIM.js → _tpRUSSso.js} +1 -1
- package/dist/public/assets/_tpRUSSso.js.br +0 -0
- package/dist/public/assets/{_CE-w6G87.js → _uEb-xDmI.js} +1 -1
- package/dist/public/assets/{_CpByMJ40.js → _uKsdufG5.js} +1 -1
- package/dist/public/assets/_uKsdufG5.js.br +0 -0
- package/dist/public/assets/{_BGsHhxfZ2.js → _vs0DFS9r2.js} +1 -1
- package/dist/public/assets/_vs0DFS9r2.js.br +0 -0
- package/dist/public/assets/{app-page-B0jusuKZ.css → app-page-KK8yJIbR.css} +1 -1
- package/dist/public/assets/app-page-KK8yJIbR.css.br +0 -0
- package/dist/public/assets/diff-view-TbHko8ib.css +1 -0
- package/dist/public/assets/diff-view-TbHko8ib.css.br +0 -0
- package/dist/public/assets/new-OSO__hUI.js +1 -0
- package/dist/public/assets/settings-OSO__hUI.js +1 -0
- package/dist/public/assets/w-OSO__hUI.js +1 -0
- package/dist/public/assets/w._-BVUaVdRa.js +1 -0
- package/dist/public/assets/w._-OSO__hUI.js +1 -0
- package/package.json +1 -1
- package/dist/public/assets/_29x9Ht-Q2.js.br +0 -0
- package/dist/public/assets/_A-SnIf68.js.br +0 -0
- package/dist/public/assets/_B-PT04Ok2.js.br +0 -0
- package/dist/public/assets/_BGsHhxfZ2.js.br +0 -0
- package/dist/public/assets/_BN-ThWaS.js.br +0 -0
- package/dist/public/assets/_BTjgy5c62.js.br +0 -0
- package/dist/public/assets/_BU_ZD020.js.br +0 -0
- package/dist/public/assets/_BUc_Vl5e.js.br +0 -0
- package/dist/public/assets/_BYAOEh2-.js.br +0 -0
- package/dist/public/assets/_BhRT35mT.js.br +0 -0
- package/dist/public/assets/_BmDB0rQV.js.br +0 -0
- package/dist/public/assets/_Bpr7lRdd.js.br +0 -0
- package/dist/public/assets/_Bud2gpcs.js.br +0 -0
- package/dist/public/assets/_Bx-jImeN.js.br +0 -0
- package/dist/public/assets/_ByMM8N1r.js.br +0 -0
- package/dist/public/assets/_C-JDWYNo2.js.br +0 -0
- package/dist/public/assets/_C-ifLHsW.js.br +0 -0
- package/dist/public/assets/_C0xjFWIM.js.br +0 -0
- package/dist/public/assets/_C1RzE6Mp.js.br +0 -0
- package/dist/public/assets/_C6Eavzmt.js.br +0 -0
- package/dist/public/assets/_C6iBocvM2.js.br +0 -0
- package/dist/public/assets/_C7CzRI13.js.br +0 -0
- package/dist/public/assets/_C9CdATEd2.js.br +0 -0
- package/dist/public/assets/_CHhO4fFL.js.br +0 -0
- package/dist/public/assets/_CIkNdjAJ.js.br +0 -0
- package/dist/public/assets/_CJDpwABS.js.br +0 -0
- package/dist/public/assets/_CKSRE8zv2.js.br +0 -0
- package/dist/public/assets/_CMkaOgq5.js.br +0 -0
- package/dist/public/assets/_CQ_0JcVs2.js.br +0 -0
- package/dist/public/assets/_CQeNDnCp.js.br +0 -0
- package/dist/public/assets/_CSfPA_mo.js.br +0 -0
- package/dist/public/assets/_CYjQ_rQU.js.br +0 -0
- package/dist/public/assets/_CdB7VHwX2.js.br +0 -0
- package/dist/public/assets/_CdWuqeZK.js.br +0 -0
- package/dist/public/assets/_Ce-R03cZ2.js.br +0 -0
- package/dist/public/assets/_Ce2B5H6R.js.br +0 -0
- package/dist/public/assets/_ChkPwLnS2.js.br +0 -0
- package/dist/public/assets/_CiYb_Bp1.js.br +0 -0
- package/dist/public/assets/_CkABEOAv.js.br +0 -0
- package/dist/public/assets/_CkNCn2942.js.br +0 -0
- package/dist/public/assets/_CnaMcooO.js.br +0 -0
- package/dist/public/assets/_CpByMJ40.js.br +0 -0
- package/dist/public/assets/_CtowbQCb2.js.br +0 -0
- package/dist/public/assets/_D6MZcQKP.js.br +0 -0
- package/dist/public/assets/_D7mRLhwX2.js.br +0 -0
- package/dist/public/assets/_D99GO9JW2.js.br +0 -0
- package/dist/public/assets/_DC8LVwVY.js.br +0 -0
- package/dist/public/assets/_DESY84xu2.js.br +0 -0
- package/dist/public/assets/_DJARroah2.js.br +0 -0
- package/dist/public/assets/_DK6p9z1j2.js.br +0 -0
- package/dist/public/assets/_DKHAhfGs.js.br +0 -0
- package/dist/public/assets/_DQSUDhad.js.br +0 -0
- package/dist/public/assets/_DSiaWqg3.js.br +0 -0
- package/dist/public/assets/_DcXafbQI.js.br +0 -0
- package/dist/public/assets/_DcfF8nxm.js.br +0 -0
- package/dist/public/assets/_DgqFUsuu.js.br +0 -0
- package/dist/public/assets/_Dh1jAyYX.js.br +0 -0
- package/dist/public/assets/_DngVnDg5.js.br +0 -0
- package/dist/public/assets/_Dnrrwurs.js.br +0 -0
- package/dist/public/assets/_DoN89b6G2.js.br +0 -0
- package/dist/public/assets/_DswD_yru2.js.br +0 -0
- package/dist/public/assets/_DynCQhpp.js.br +0 -0
- package/dist/public/assets/_EA4z6Ocg.js.br +0 -0
- package/dist/public/assets/_Mggy21Fi.js.br +0 -0
- package/dist/public/assets/_QfF14R_b.js.br +0 -0
- package/dist/public/assets/_T__665hy.js.br +0 -0
- package/dist/public/assets/_UJESRnqQ.js.br +0 -0
- package/dist/public/assets/_YuhWYT9L.js.br +0 -0
- package/dist/public/assets/_YxDFo3_J.js.br +0 -0
- package/dist/public/assets/_bYuFEVvN.js.br +0 -0
- package/dist/public/assets/_mn9C4e-7.js.br +0 -0
- package/dist/public/assets/_srUTg489.js.br +0 -0
- package/dist/public/assets/_ynuKZgua2.js.br +0 -0
- package/dist/public/assets/app-page-B0jusuKZ.css.br +0 -0
- package/dist/public/assets/diff-view-CXzNOw49.css +0 -1
- package/dist/public/assets/diff-view-CXzNOw49.css.br +0 -0
- package/dist/public/assets/new-DEf08lXy.js +0 -1
- package/dist/public/assets/settings-DEf08lXy.js +0 -1
- package/dist/public/assets/w-DEf08lXy.js +0 -1
- package/dist/public/assets/w._-C3AKQvSa.js +0 -1
- package/dist/public/assets/w._-DEf08lXy.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 DEFAULT_GITHUB_HOST, A as setScrapedPhase, B as allPrefs, C as agentBadge, D as agentMeta, E as agentLabel, F as publish, G as setDisabledAgents, H as enabledAgents, I as subscribe, J as doctor, K as setPref, L as subscriberCount, M as deleteSubscription, N as pushPublicKey, O as clearAgentPhase, P as saveSubscription, Q as which, R as subscriberJoins, S as blankRow, T as agentFromCommand, U as getSetting, V as disabledAgents, W as preferredAgent, X as miseVersions, Y as ghKnownHosts, Z as setupPath, _ as tmuxName, a as ensureTmuxServer, at as get, b as readHookPayload, c as killWorkspaceSessions, ct as gh, d as newSessionArgs, dt as tmux, et as TOOLS, ft as config, g as sessionStates, h as sendToSession, i as disposeSessions, it as db, j as setSessionViewers, k as setAgentPhase, l as listSessions, lt as git, m as renameSession, n as clearTmuxStarted, nt as toolById, o as getSession, ot as workspacePath, p as panePids, q as setSetting, r as createSession, rt as all, s as killSession, st as TMUX_SOCKET, t as cleanEnv, tt as agentById, u as markTmuxStarted, ut as run, v as tmuxWasStarted, w as agentFamily, x as reportsWorking, y as AGENTS, z as agentChoices } from "./_BDyG-m5v.js";
|
|
3
|
-
import { $ as _flush_head, A as metaTrunc, B as _attr_select_value, C as setPrimaryHost, Ct as _try, D as iconBtnRow, Dt as writeScope, Et as withPageAssets, F as _attr_class, G as _content, H as _attrs, K as _content_resume, L as _attr_input_value, M as tone, N as $global, O as iconBtnXs, P as _attr, Q as _existing_scope, R as _attr_option_value, S as repoWebUrl$1, St as _trailers, T as btnSm, Tt as attrTag, U as _attrs_partial, V as _attr_style, W as _await, X as _el_resume, Y as _el_read_error, Z as _escape, _ as sectionCount$1, _t as _show_end, at as _if, b as icon_base_default, bt as _template, c as sideNavOpen, ct as _resume_branch, d as rankRepos, dt as _scope_with_id, et as _for_of, f as icon_search_default, ft as _script, g as row, gt as _set_serialize_reason, h as iconBtn$2, ht as _serialize_if, it as _id, j as phase, k as inputLg, l as workspaceTab, lt as _scope_id, m as icon_refresh_default, mt as _serialize_guard, n as findInput, nt as _hoist_read_error, ot as _peek_scope_id, p as icon_back_default, pt as _sep, q as _dynamic_tag, r as icon_sidebar_default, rt as _html, s as setWorkspaceTab, st as _resume, t as findIconBtn, tt as _hoist, ut as _scope_reason, v as toast_default, vt as _show_start, w as btnLg, wt as _var, x as repoLabel, xt as _to_text, y as icon_xmark_default, yt as _subscribe, z as _attr_or } from "./
|
|
3
|
+
import { $ as _flush_head, A as metaTrunc, B as _attr_select_value, C as setPrimaryHost, Ct as _try, D as iconBtnRow, Dt as writeScope, Et as withPageAssets, F as _attr_class, G as _content, H as _attrs, K as _content_resume, L as _attr_input_value, M as tone, N as $global, O as iconBtnXs, P as _attr, Q as _existing_scope, R as _attr_option_value, S as repoWebUrl$1, St as _trailers, T as btnSm, Tt as attrTag, U as _attrs_partial, V as _attr_style, W as _await, X as _el_resume, Y as _el_read_error, Z as _escape, _ as sectionCount$1, _t as _show_end, at as _if, b as icon_base_default, bt as _template, c as sideNavOpen, ct as _resume_branch, d as rankRepos, dt as _scope_with_id, et as _for_of, f as icon_search_default, ft as _script, g as row, gt as _set_serialize_reason, h as iconBtn$2, ht as _serialize_if, it as _id, j as phase, k as inputLg, l as workspaceTab, lt as _scope_id, m as icon_refresh_default, mt as _serialize_guard, n as findInput, nt as _hoist_read_error, ot as _peek_scope_id, p as icon_back_default, pt as _sep, q as _dynamic_tag, r as icon_sidebar_default, rt as _html, s as setWorkspaceTab, st as _resume, t as findIconBtn, tt as _hoist, ut as _scope_reason, v as toast_default, vt as _show_start, w as btnLg, wt as _var, x as repoLabel, xt as _to_text, y as icon_xmark_default, yt as _subscribe, z as _attr_or } from "./_JZKScK_6.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { createServer } from "node:http";
|
|
6
6
|
import path from "node:path";
|
|
@@ -3133,9 +3133,9 @@ function coalesce(fn) {
|
|
|
3133
3133
|
}
|
|
3134
3134
|
//#endregion
|
|
3135
3135
|
//#region src/tags/settings-page.css.ts
|
|
3136
|
-
var content$2 = "
|
|
3137
|
-
var agentGrid = "
|
|
3138
|
-
var toolGrid = "
|
|
3136
|
+
var content$2 = "_bV _bh _bi";
|
|
3137
|
+
var agentGrid = "_bZ _bs";
|
|
3138
|
+
var toolGrid = "_b9 _bs";
|
|
3139
3139
|
//#endregion
|
|
3140
3140
|
//#region src/tags/page-head.marko
|
|
3141
3141
|
var page_head_default = _template("o", (input) => {
|
|
@@ -3145,14 +3145,14 @@ var page_head_default = _template("o", (input) => {
|
|
|
3145
3145
|
_if(() => {
|
|
3146
3146
|
if (input.backHref) {
|
|
3147
3147
|
const $scope1_id = _scope_id();
|
|
3148
|
-
_html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "
|
|
3148
|
+
_html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_cr"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
3149
3149
|
icon_back_default({ size: 16 });
|
|
3150
3150
|
_html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 0))}`);
|
|
3151
3151
|
_serialize_if($scope0_reason, 2) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 0) && _scope_with_id($scope0_id) });
|
|
3152
3152
|
return 0;
|
|
3153
3153
|
} else if (input.onBack) {
|
|
3154
3154
|
const $scope2_id = _scope_id();
|
|
3155
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
3155
|
+
_html(`<button${_attr_class([iconBtnRow, "_cr"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
3156
3156
|
icon_back_default({ size: 16 });
|
|
3157
3157
|
_html(`</button>${_el_resume($scope2_id, "a")}`);
|
|
3158
3158
|
_script($scope2_id, "o0");
|
|
@@ -3243,7 +3243,7 @@ var icon_agent_default = _template("C", (input) => {
|
|
|
3243
3243
|
n: $badge__closures
|
|
3244
3244
|
});
|
|
3245
3245
|
});
|
|
3246
|
-
var usageNote = "
|
|
3246
|
+
var usageNote = "_cy _P";
|
|
3247
3247
|
//#endregion
|
|
3248
3248
|
//#region src/tags/usage-meters.marko
|
|
3249
3249
|
function duration(ms) {
|
|
@@ -3267,11 +3267,11 @@ var usage_meters_default = _template("z", (input) => {
|
|
|
3267
3267
|
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);
|
|
3268
3268
|
const $scope0_id = _scope_id();
|
|
3269
3269
|
const agent = input.agent;
|
|
3270
|
-
_html(`<div${_attr_class(["
|
|
3270
|
+
_html(`<div${_attr_class(["_cs", { ["_ct"]: input.hideName }])}><div${_attr_class("_cu")}>`);
|
|
3271
3271
|
_if(() => {
|
|
3272
3272
|
if (!input.hideName) {
|
|
3273
3273
|
const $scope1_id = _scope_id();
|
|
3274
|
-
_html(`<strong${_attr_class("
|
|
3274
|
+
_html(`<strong${_attr_class("_cN")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
|
|
3275
3275
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
3276
3276
|
return 0;
|
|
3277
3277
|
}
|
|
@@ -3279,7 +3279,7 @@ var usage_meters_default = _template("z", (input) => {
|
|
|
3279
3279
|
_if(() => {
|
|
3280
3280
|
if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
|
|
3281
3281
|
const $scope2_id = _scope_id();
|
|
3282
|
-
_html(`<span${_attr_class("
|
|
3282
|
+
_html(`<span${_attr_class("_cv")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
|
|
3283
3283
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
3284
3284
|
return 0;
|
|
3285
3285
|
}
|
|
@@ -3287,19 +3287,19 @@ var usage_meters_default = _template("z", (input) => {
|
|
|
3287
3287
|
_if(() => {
|
|
3288
3288
|
if (agent.stale_seconds != null) {
|
|
3289
3289
|
const $scope3_id = _scope_id();
|
|
3290
|
-
_html(`<span${_attr_class("
|
|
3290
|
+
_html(`<span${_attr_class("_cw")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>⚠ ${_sep($sg__input_agent)}${_escape(duration(agent.stale_seconds * 1e3))}${_el_resume($scope3_id, "b", $sg__input_agent)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
|
|
3291
3291
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
3292
3292
|
return 0;
|
|
3293
3293
|
}
|
|
3294
3294
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
3295
|
-
_html(`</div><div${_attr_class(["
|
|
3295
|
+
_html(`</div><div${_attr_class(["_cx", { ["_cO"]: agent.stale_seconds != null }])}>`);
|
|
3296
3296
|
_for_of(agent.windows || [], (win) => {
|
|
3297
3297
|
const $scope4_id = _scope_id();
|
|
3298
3298
|
const pct = pctText$1(win.used_percent);
|
|
3299
3299
|
const label = resetLabel(win.resets_at, agent.stale_seconds != null);
|
|
3300
|
-
const fillClass = win.used_percent >= 90 ? "
|
|
3301
|
-
const pctClass = win.used_percent >= 90 ? "
|
|
3302
|
-
_html(`<div${_attr_class("
|
|
3300
|
+
const fillClass = win.used_percent >= 90 ? "_cG" : win.used_percent >= 70 ? "_cF" : win.used_percent >= 40 ? "_cE" : "_cD";
|
|
3301
|
+
const pctClass = win.used_percent >= 90 ? "_cL" : win.used_percent >= 70 ? "_cK" : win.used_percent >= 40 ? "_cJ" : "_cI";
|
|
3302
|
+
_html(`<div${_attr_class("_cz")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_cA")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_cB")}><span${_attr_class(["_cC", 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(["_cH", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_cM")}>${label ? `↻ ${_escape(`${_to_text(label)}`)}` : ""}${_el_resume($scope4_id, "i", $sg__input_agent)}</span></div>${_el_resume($scope4_id, "a", $sg__input_agent)}`);
|
|
3303
3303
|
$si__input_agent && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
3304
3304
|
}, "window", $scope0_id, "g", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
3305
3305
|
_if(() => {
|
|
@@ -3358,7 +3358,7 @@ var modal_view_default = _template("m", (input) => {
|
|
|
3358
3358
|
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;
|
|
3359
3359
|
const dismissable = input.dismissable !== false;
|
|
3360
3360
|
let open = input.open;
|
|
3361
|
-
_html(`<dialog${_attr_class(["
|
|
3361
|
+
_html(`<dialog${_attr_class(["_c2", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
|
|
3362
3362
|
...htmlInput,
|
|
3363
3363
|
open: null
|
|
3364
3364
|
}, {
|
|
@@ -3368,20 +3368,20 @@ var modal_view_default = _template("m", (input) => {
|
|
|
3368
3368
|
closedby: 1,
|
|
3369
3369
|
"on-cancel": 1,
|
|
3370
3370
|
"on-close": 1
|
|
3371
|
-
}, "a", $scope0_id, "dialog")}><div${_attr_class("
|
|
3371
|
+
}, "a", $scope0_id, "dialog")}><div${_attr_class("_c3")}>`);
|
|
3372
3372
|
_dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
|
|
3373
3373
|
_html("</div>");
|
|
3374
3374
|
_if(() => {
|
|
3375
3375
|
if (footer) {
|
|
3376
3376
|
const $scope1_id = _scope_id();
|
|
3377
|
-
_html(`<form method=dialog${_attr_class("
|
|
3377
|
+
_html(`<form method=dialog${_attr_class("_c4")}>`);
|
|
3378
3378
|
_dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
|
|
3379
3379
|
_html("</form>");
|
|
3380
3380
|
$si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
|
|
3381
3381
|
return 0;
|
|
3382
3382
|
} else if (input.openChange) {
|
|
3383
3383
|
const $scope2_id = _scope_id();
|
|
3384
|
-
_html(`<form method=dialog${_attr_class("
|
|
3384
|
+
_html(`<form method=dialog${_attr_class("_c4")}>`);
|
|
3385
3385
|
dialog_close_default({
|
|
3386
3386
|
class: ["_l", "_m"],
|
|
3387
3387
|
content: _content("m0", () => {
|
|
@@ -3440,7 +3440,7 @@ var prompt_dialog_default = _template("p", (input) => {
|
|
|
3440
3440
|
const $childScope = _peek_scope_id();
|
|
3441
3441
|
modal_view_default({
|
|
3442
3442
|
label: input.label,
|
|
3443
|
-
class: "
|
|
3443
|
+
class: "_cp",
|
|
3444
3444
|
open: input.open,
|
|
3445
3445
|
openChange: input.openChange,
|
|
3446
3446
|
"aria-labelledby": titleId,
|
|
@@ -3463,7 +3463,7 @@ var prompt_dialog_default = _template("p", (input) => {
|
|
|
3463
3463
|
content: _content("p6", () => {
|
|
3464
3464
|
_scope_reason();
|
|
3465
3465
|
const $scope2_id = _scope_id();
|
|
3466
|
-
_html(`<h2${_attr_class("
|
|
3466
|
+
_html(`<h2${_attr_class("_cq")}${_attr("id", titleId)}>${_escape(input.label)}${_el_resume($scope2_id, "b", $sg__input_label)}</h2><input${_attr_input_value($scope2_id, "c", value, _resume((_new_value) => {
|
|
3467
3467
|
value = _new_value;
|
|
3468
3468
|
}, "p0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
|
|
3469
3469
|
_script($scope2_id, "p4");
|
|
@@ -3726,12 +3726,12 @@ var settings_page_default = _template("s", (input) => {
|
|
|
3726
3726
|
return 0;
|
|
3727
3727
|
} else if (setup.ready) {
|
|
3728
3728
|
const $scope43_id = _scope_id();
|
|
3729
|
-
_html(`<span${_attr_class("
|
|
3729
|
+
_html(`<span${_attr_class("_bX")}>Ready</span>. Tools, GitHub, and an agent are all in place.`);
|
|
3730
3730
|
writeScope($scope43_id, {});
|
|
3731
3731
|
return 1;
|
|
3732
3732
|
} else {
|
|
3733
3733
|
const $scope5_id = _scope_id();
|
|
3734
|
-
_html(`<span${_attr_class("
|
|
3734
|
+
_html(`<span${_attr_class("_bY")}>Not ready</span>. Missing <!>${_escape(setup.missing.map((m) => MISSING_LABEL[m] || m).join(", "))}${_el_resume($scope5_id, "b")}.`);
|
|
3735
3735
|
_subscribe($setup_missing__closures, writeScope($scope5_id, {}));
|
|
3736
3736
|
return 2;
|
|
3737
3737
|
}
|
|
@@ -3778,11 +3778,11 @@ var settings_page_default = _template("s", (input) => {
|
|
|
3778
3778
|
return 0;
|
|
3779
3779
|
}
|
|
3780
3780
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
3781
|
-
_html(`<section${_attr_class("_bp")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bq")}><h2${_attr("id", agentsId)}${_attr_class("_bE")}>Agents</h2><div${_attr_class("_v")}></div><label${_attr_class("
|
|
3781
|
+
_html(`<section${_attr_class("_bp")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bq")}><h2${_attr("id", agentsId)}${_attr_class("_bE")}>Agents</h2><div${_attr_class("_v")}></div><label${_attr_class("_b1")}><span${_attr_class("_P")}>Default</span><span${_attr_class("_j")}>`);
|
|
3782
3782
|
_attr_select_value($scope0_id, "m", input.preferred, _resume(function(v) {
|
|
3783
3783
|
setPreferred(v);
|
|
3784
3784
|
}, "s1", $scope0_id), () => {
|
|
3785
|
-
_html(`<select${_attr_class(["_k", "
|
|
3785
|
+
_html(`<select${_attr_class(["_k", "_b2"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
|
|
3786
3786
|
_for_of(input.agents.filter((a) => a !== "shell"), (id) => {
|
|
3787
3787
|
const $scope44_id = _scope_id();
|
|
3788
3788
|
_html(`<option${_attr_option_value(id)}>${_escape(agentLabel(id))}${_el_resume($scope44_id, "b", $sg__input_agents)}</option>${_el_resume($scope44_id, "a", $sg__input_agents)}`);
|
|
@@ -3803,7 +3803,7 @@ var settings_page_default = _template("s", (input) => {
|
|
|
3803
3803
|
const rows = lone ? [] : a.instances;
|
|
3804
3804
|
const loneAccounts = lone && lone.enabled ? accountsFor(lone.id) : [];
|
|
3805
3805
|
const extraAccounts = a.installed ? strayAccountsFor(a) : [];
|
|
3806
|
-
_html(`<li${_attr_class(["_bu", "
|
|
3806
|
+
_html(`<li${_attr_class(["_bu", "_b0"])}><div${_attr_class(["_b3", { ["_b6"]: lone && !lone.enabled }])}>`);
|
|
3807
3807
|
_set_serialize_reason(12);
|
|
3808
3808
|
const $childScope4 = _peek_scope_id();
|
|
3809
3809
|
icon_agent_default({
|
|
@@ -3823,7 +3823,7 @@ var settings_page_default = _template("s", (input) => {
|
|
|
3823
3823
|
_if(() => {
|
|
3824
3824
|
if (active.has(a.id)) {
|
|
3825
3825
|
const $scope10_id = _scope_id();
|
|
3826
|
-
_html(`<span${_attr_class("
|
|
3826
|
+
_html(`<span${_attr_class("_bW")}><span${_attr_class("_C")}></span><!>${_escape(active.get(a.id) || "Starting…")}${_el_resume($scope10_id, "c")}</span>`);
|
|
3827
3827
|
_subscribe($active__closures, writeScope($scope10_id, {}));
|
|
3828
3828
|
return 0;
|
|
3829
3829
|
} else if (!a.installed) {
|
|
@@ -3860,18 +3860,18 @@ var settings_page_default = _template("s", (input) => {
|
|
|
3860
3860
|
_if(() => {
|
|
3861
3861
|
if (rows.length || loneAccounts.length || extraAccounts.length) {
|
|
3862
3862
|
const $scope2_id = _scope_id();
|
|
3863
|
-
_html(`<ul${_attr_class("
|
|
3863
|
+
_html(`<ul${_attr_class("_b8")}>`);
|
|
3864
3864
|
_for_of(rows, (inst) => {
|
|
3865
3865
|
const $scope3_id = _scope_id();
|
|
3866
3866
|
const accounts = inst.enabled ? accountsFor(inst.id) : [];
|
|
3867
|
-
_html(`<li${_attr_class("
|
|
3867
|
+
_html(`<li${_attr_class("_b4")}><div${_attr_class(["_b5", { ["_b6"]: !inst.enabled }])}>`);
|
|
3868
3868
|
_set_serialize_reason(12);
|
|
3869
3869
|
const $childScope5 = _peek_scope_id();
|
|
3870
3870
|
icon_agent_default({
|
|
3871
3871
|
agent: inst.id,
|
|
3872
3872
|
size: 15
|
|
3873
3873
|
});
|
|
3874
|
-
_html(`<span${_attr_class(["
|
|
3874
|
+
_html(`<span${_attr_class(["_b7", "_u"])}>${_escape(inst.command)}${_el_resume($scope3_id, "e")}</span>`);
|
|
3875
3875
|
_if(() => {
|
|
3876
3876
|
if (input.preferred === inst.id) {
|
|
3877
3877
|
const $scope47_id = _scope_id();
|
|
@@ -3946,7 +3946,7 @@ var settings_page_default = _template("s", (input) => {
|
|
|
3946
3946
|
}, "id", $scope0_id, "q", 1, 1, 1, 0, 1);
|
|
3947
3947
|
_for_of(otherUsage, (u) => {
|
|
3948
3948
|
const $scope51_id = _scope_id();
|
|
3949
|
-
_html(`<li${_attr_class(["_bu", "
|
|
3949
|
+
_html(`<li${_attr_class(["_bu", "_b0"])}>`);
|
|
3950
3950
|
_set_serialize_reason(6);
|
|
3951
3951
|
const $childScope9 = _peek_scope_id();
|
|
3952
3952
|
usage_meters_default({ agent: u });
|
|
@@ -3984,12 +3984,12 @@ var settings_page_default = _template("s", (input) => {
|
|
|
3984
3984
|
_if(() => {
|
|
3985
3985
|
if (active.has(h.host) && authCodes.has(h.host)) {
|
|
3986
3986
|
const $scope22_id = _scope_id();
|
|
3987
|
-
_html(`<span${_attr_class("
|
|
3987
|
+
_html(`<span${_attr_class("_bW")}><span${_attr_class("_C")}></span> Enter code <strong${_attr_class("_cf")}>${_escape(authCodes.get(h.host))}${_el_resume($scope22_id, "d")}</strong> at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_cg")}>${_escape(h.host)}${_el_resume($scope22_id, "f")}/login/device</a>${_el_resume($scope22_id, "e")}</span>`);
|
|
3988
3988
|
_subscribe($authCodes__closures, writeScope($scope22_id, {}));
|
|
3989
3989
|
return 0;
|
|
3990
3990
|
} else if (active.has(h.host)) {
|
|
3991
3991
|
const $scope12_id = _scope_id();
|
|
3992
|
-
_html(`<span${_attr_class("
|
|
3992
|
+
_html(`<span${_attr_class("_bW")}><span${_attr_class("_C")}></span><!>${_escape(active.get(h.host) || "Starting…")}${_el_resume($scope12_id, "c")}</span>`);
|
|
3993
3993
|
_subscribe($active__closures, writeScope($scope12_id, { Cck: 1 }));
|
|
3994
3994
|
return 1;
|
|
3995
3995
|
} else if (h.authed) {
|
|
@@ -4081,7 +4081,7 @@ var settings_page_default = _template("s", (input) => {
|
|
|
4081
4081
|
_if(() => {
|
|
4082
4082
|
if (setup) {
|
|
4083
4083
|
const $scope33_id = _scope_id();
|
|
4084
|
-
_html(`<form${_attr_class("
|
|
4084
|
+
_html(`<form${_attr_class("_ce")}><label${_attr_class("_T")}>`);
|
|
4085
4085
|
icon_plus_default({
|
|
4086
4086
|
size: 14,
|
|
4087
4087
|
class: "_U"
|
|
@@ -4148,11 +4148,11 @@ var settings_page_default = _template("s", (input) => {
|
|
|
4148
4148
|
const $for_content4__t_path__closures = /* @__PURE__ */ new Set();
|
|
4149
4149
|
const $for_content4__t_latest__closures = /* @__PURE__ */ new Set();
|
|
4150
4150
|
const $for_content4__t_id__closures = /* @__PURE__ */ new Set();
|
|
4151
|
-
_html(`<li${_attr_class([row, { ["
|
|
4151
|
+
_html(`<li${_attr_class([row, { ["_b_"]: !t.installed }])}><span${_attr_class(["_ca", "_u"])}>${_escape(t.label)}${_el_resume($scope16_id, "c")}</span>`);
|
|
4152
4152
|
_if(() => {
|
|
4153
4153
|
if (active.has(t.id)) {
|
|
4154
4154
|
const $scope17_id = _scope_id();
|
|
4155
|
-
_html(`<span${_attr_class("
|
|
4155
|
+
_html(`<span${_attr_class("_bW")}><span${_attr_class("_C")}></span><!>${_escape(active.get(t.id) || "Starting…")}${_el_resume($scope17_id, "c")}</span>`);
|
|
4156
4156
|
_subscribe($active__closures, writeScope($scope17_id, { Cck: 2 }));
|
|
4157
4157
|
return 0;
|
|
4158
4158
|
} else if (t.installed) {
|
|
@@ -4160,7 +4160,7 @@ var settings_page_default = _template("s", (input) => {
|
|
|
4160
4160
|
_if(() => {
|
|
4161
4161
|
if (t.version) {
|
|
4162
4162
|
const $scope30_id = _scope_id();
|
|
4163
|
-
_html(`<button${_attr_class(["
|
|
4163
|
+
_html(`<button${_attr_class(["_cb", "_u"])}${_attr("title", `${t.path || t.label}. Pin a version`)}>v<!>${_escape(t.version)}${_el_resume($scope30_id, "b")}</button>${_el_resume($scope30_id, "a")}`);
|
|
4164
4164
|
_script($scope30_id, "s36");
|
|
4165
4165
|
_subscribe($for_content4__t_path__closures, _subscribe($for_content4__t_version__closures, _subscribe($for_content4__t_label__closures, writeScope($scope30_id, { Cu: 1 }))));
|
|
4166
4166
|
return 0;
|
|
@@ -4174,7 +4174,7 @@ var settings_page_default = _template("s", (input) => {
|
|
|
4174
4174
|
_if(() => {
|
|
4175
4175
|
if (outdated(t)) {
|
|
4176
4176
|
const $scope37_id = _scope_id();
|
|
4177
|
-
_html(`<button${_attr_class([btnSm, "
|
|
4177
|
+
_html(`<button${_attr_class([btnSm, "_cc"])}${_attr("title", `Update to v${t.latest}`)}>↑ <!>${_escape(t.latest)}${_el_resume($scope37_id, "b")}</button>${_el_resume($scope37_id, "a")}`);
|
|
4178
4178
|
_script($scope37_id, "s37");
|
|
4179
4179
|
_subscribe($for_content4__t_latest__closures, writeScope($scope37_id, {}));
|
|
4180
4180
|
return 0;
|
|
@@ -4273,14 +4273,14 @@ var settings_page_default = _template("s", (input) => {
|
|
|
4273
4273
|
_if(() => {
|
|
4274
4274
|
if (hits && hits.length) {
|
|
4275
4275
|
const $scope19_id = _scope_id();
|
|
4276
|
-
_html(`<ul${_attr_class([toolGrid, "
|
|
4276
|
+
_html(`<ul${_attr_class([toolGrid, "_cd"])}>`);
|
|
4277
4277
|
_for_of(hits, (h) => {
|
|
4278
4278
|
const $scope20_id = _scope_id();
|
|
4279
|
-
_html(`<li${_attr_class(row)}><div${_attr_class("_bv")}><span${_attr_class(["
|
|
4279
|
+
_html(`<li${_attr_class(row)}><div${_attr_class("_bv")}><span${_attr_class(["_ca", "_u"])}>${_escape(h.name)}${_el_resume($scope20_id, "d")}</span>`);
|
|
4280
4280
|
_if(() => {
|
|
4281
4281
|
if (active.has(h.name)) {
|
|
4282
4282
|
const $scope21_id = _scope_id();
|
|
4283
|
-
_html(`<span${_attr_class("
|
|
4283
|
+
_html(`<span${_attr_class("_bW")}><span${_attr_class("_C")}></span><!>${_escape(active.get(h.name) || "Starting…")}${_el_resume($scope21_id, "c")}</span>`);
|
|
4284
4284
|
_subscribe($active__closures, writeScope($scope21_id, { Cck: 4 }));
|
|
4285
4285
|
return 0;
|
|
4286
4286
|
} else if (h.description) {
|
|
@@ -4436,8 +4436,8 @@ var curBase = "_bN _Q _P";
|
|
|
4436
4436
|
var archived = "_bR _bp";
|
|
4437
4437
|
var archivedHint = "_bS _P";
|
|
4438
4438
|
var archivedCard = "_bT _bu";
|
|
4439
|
-
var resultBranch = "
|
|
4440
|
-
var branchInput = "
|
|
4439
|
+
var resultBranch = "_cV _W _g";
|
|
4440
|
+
var branchInput = "_c0 _S _R";
|
|
4441
4441
|
//#endregion
|
|
4442
4442
|
//#region src/tags/repo-picker.marko
|
|
4443
4443
|
var api$5;
|
|
@@ -4487,7 +4487,7 @@ var repo_picker_default = _template("q", (input) => {
|
|
|
4487
4487
|
input.onError?.(String(err.message || err));
|
|
4488
4488
|
}
|
|
4489
4489
|
}, "q5", $scope0_id);
|
|
4490
|
-
_html(`<div${_attr_class("
|
|
4490
|
+
_html(`<div${_attr_class("_cP")}><label${_attr_class("_T")}>`);
|
|
4491
4491
|
icon_search_default({
|
|
4492
4492
|
size: 14,
|
|
4493
4493
|
class: "_U"
|
|
@@ -4507,19 +4507,19 @@ var repo_picker_default = _template("q", (input) => {
|
|
|
4507
4507
|
_if(() => {
|
|
4508
4508
|
if (results.length) {
|
|
4509
4509
|
const $scope2_id = _scope_id();
|
|
4510
|
-
_html(`<ul${_attr_class("
|
|
4510
|
+
_html(`<ul${_attr_class("_cQ")}>`);
|
|
4511
4511
|
_for_of(results, (repo, i) => {
|
|
4512
4512
|
const $scope3_id = _scope_id();
|
|
4513
|
-
_html(`<li><div${_attr_class(["
|
|
4513
|
+
_html(`<li><div${_attr_class(["_cS", { ["_cR"]: i === highlight }])}><button${_attr_class("_cT")}>`);
|
|
4514
4514
|
icon_plus_default({
|
|
4515
4515
|
size: 12,
|
|
4516
|
-
class: "
|
|
4516
|
+
class: "_cY"
|
|
4517
4517
|
});
|
|
4518
|
-
_html(`<span${_attr_class("
|
|
4518
|
+
_html(`<span${_attr_class("_cZ")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope3_id, "e")}</span></button>${_el_resume($scope3_id, "b")}<button${_attr_class([resultBranch, { ["_cU"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>⎇</button>${_el_resume($scope3_id, "f")}</div>${_el_resume($scope3_id, "a")}`);
|
|
4519
4519
|
_if(() => {
|
|
4520
4520
|
if (branchesFor === repo.nameWithOwner) {
|
|
4521
4521
|
const $scope4_id = _scope_id();
|
|
4522
|
-
_html(`<div${_attr_class("
|
|
4522
|
+
_html(`<div${_attr_class("_cW")}>`);
|
|
4523
4523
|
_if(() => {
|
|
4524
4524
|
if (!branches) {
|
|
4525
4525
|
const $scope9_id = _scope_id();
|
|
@@ -4540,10 +4540,10 @@ var repo_picker_default = _template("q", (input) => {
|
|
|
4540
4540
|
}
|
|
4541
4541
|
}, $scope5_id, "a", 1, 1, 1, 0, 1);
|
|
4542
4542
|
const shown = (branchFilter ? branches.filter((b) => b.toLowerCase().includes(branchFilter.toLowerCase())) : branches).slice(0, 12);
|
|
4543
|
-
_html(`<ul${_attr_class("
|
|
4543
|
+
_html(`<ul${_attr_class("_cX")}>`);
|
|
4544
4544
|
_for_of(shown, (branch) => {
|
|
4545
4545
|
const $scope7_id = _scope_id();
|
|
4546
|
-
_html(`<li><button${_attr_class(["
|
|
4546
|
+
_html(`<li><button${_attr_class(["_cT", "_c1"])}><span${_attr_class(["_cZ", "_u"])}>${_escape(branch)}${_el_resume($scope7_id, "c")}</span></button>${_el_resume($scope7_id, "a")}</li>`);
|
|
4547
4547
|
_script($scope7_id, "q7");
|
|
4548
4548
|
writeScope($scope7_id, { e: branch });
|
|
4549
4549
|
}, (b) => b, $scope5_id, "c", 1, 1, 1, 0, 1);
|
|
@@ -4976,8 +4976,8 @@ function activeAgent(session) {
|
|
|
4976
4976
|
const command = session.state?.command?.trim();
|
|
4977
4977
|
return command && agentFromCommand(command) || session.agent;
|
|
4978
4978
|
}
|
|
4979
|
-
var iconBtn$1 = "
|
|
4980
|
-
var navToggle = "
|
|
4979
|
+
var iconBtn$1 = "_dg _g";
|
|
4980
|
+
var navToggle = "_dl _g";
|
|
4981
4981
|
_template("F", (input) => {
|
|
4982
4982
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
4983
4983
|
const $scope0_id = _scope_id();
|
|
@@ -5020,12 +5020,12 @@ var ARM_MS = 3500;
|
|
|
5020
5020
|
function disarmLater(fn) {
|
|
5021
5021
|
return setTimeout(fn, ARM_MS);
|
|
5022
5022
|
}
|
|
5023
|
-
var railBtn = "
|
|
5024
|
-
var rowIcon = "
|
|
5025
|
-
var close = "
|
|
5023
|
+
var railBtn = "_fy _g";
|
|
5024
|
+
var rowIcon = "_fH _W _g";
|
|
5025
|
+
var close = "_fI _W _g _Z";
|
|
5026
5026
|
//#endregion
|
|
5027
5027
|
//#region src/styles/session-pop.css.ts
|
|
5028
|
-
var sessionPop = "
|
|
5028
|
+
var sessionPop = "_e2 _1";
|
|
5029
5029
|
//#endregion
|
|
5030
5030
|
//#region src/client/usage.ts
|
|
5031
5031
|
/** The plan row an agent instance draws on: its own account (`claude2`)
|
|
@@ -5086,21 +5086,21 @@ var usage_pcts_default = _template("A", (input) => {
|
|
|
5086
5086
|
if (windows.length) {
|
|
5087
5087
|
const $scope1_id = _scope_id();
|
|
5088
5088
|
_html(`<span${_attr_class([
|
|
5089
|
-
"
|
|
5089
|
+
"_eW",
|
|
5090
5090
|
input.class,
|
|
5091
|
-
{ ["
|
|
5091
|
+
{ ["_eX"]: agent.stale_seconds != null }
|
|
5092
5092
|
])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
|
|
5093
5093
|
_for_of(windows, (win$1, i) => {
|
|
5094
5094
|
const $scope2_id = _scope_id();
|
|
5095
5095
|
_if(() => {
|
|
5096
5096
|
if (i) {
|
|
5097
5097
|
const $scope3_id = _scope_id();
|
|
5098
|
-
_html(`<span${_attr_class("
|
|
5098
|
+
_html(`<span${_attr_class("_e1")} aria-hidden=true>·</span>`);
|
|
5099
5099
|
$si__input_agent && writeScope($scope3_id, {});
|
|
5100
5100
|
return 0;
|
|
5101
5101
|
}
|
|
5102
5102
|
}, $scope2_id, "a", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
5103
|
-
_html(`<span${_attr_class("
|
|
5103
|
+
_html(`<span${_attr_class("_eY")}><span${_attr_class("_eZ")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_e0", win$1.used_percent >= 90 ? "_cL" : win$1.used_percent >= 70 ? "_cK" : win$1.used_percent >= 40 ? "_cJ" : "_cI"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
|
|
5104
5104
|
$si__input_agent && writeScope($scope2_id, {});
|
|
5105
5105
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>");
|
|
5106
5106
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -5131,12 +5131,12 @@ var icon_edit_default = _template("K", (input) => {
|
|
|
5131
5131
|
});
|
|
5132
5132
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
5133
5133
|
});
|
|
5134
|
-
var prChip = "
|
|
5135
|
-
var portChip = "
|
|
5134
|
+
var prChip = "_gz _p _gy";
|
|
5135
|
+
var portChip = "_gA _p _gy";
|
|
5136
5136
|
var prState = {
|
|
5137
|
-
open: "
|
|
5138
|
-
merged: "
|
|
5139
|
-
closed: "
|
|
5137
|
+
open: "_gE",
|
|
5138
|
+
merged: "_gF",
|
|
5139
|
+
closed: "_gG"
|
|
5140
5140
|
};
|
|
5141
5141
|
//#endregion
|
|
5142
5142
|
//#region src/tags/side-nav-chips.marko
|
|
@@ -5184,7 +5184,7 @@ var side_nav_chips_default = _template("t", (input) => {
|
|
|
5184
5184
|
const name = repo.full_name.split("/").at(-1);
|
|
5185
5185
|
return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel(repo.full_name) : name;
|
|
5186
5186
|
}, "t2", $scope1_id);
|
|
5187
|
-
_html(`<div${_attr_class("
|
|
5187
|
+
_html(`<div${_attr_class("_gx")}>`);
|
|
5188
5188
|
_for_of(repos, (repo) => {
|
|
5189
5189
|
const $scope2_id = _scope_id();
|
|
5190
5190
|
const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
|
|
@@ -5200,11 +5200,11 @@ var side_nav_chips_default = _template("t", (input) => {
|
|
|
5200
5200
|
[prState.merged]: pr.state === "MERGED",
|
|
5201
5201
|
[prState.closed]: pr.state === "CLOSED"
|
|
5202
5202
|
}
|
|
5203
|
-
])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["
|
|
5203
|
+
])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["_gB", { ["_gI"]: !open }])}${_attr("href", pr.url)} target=_blank rel=noopener>${_escape(repoLabel$1(repo))}${_el_resume($scope3_id, "c", $sg__input_status_repos)}#${_sep($sg__input_status_repos)}${_escape(pr.number)}${_el_resume($scope3_id, "d", $sg__input_status_repos)}</a>${_el_resume($scope3_id, "b", $sg__input_status_repos)}`);
|
|
5204
5204
|
_if(() => {
|
|
5205
5205
|
if (open) {
|
|
5206
5206
|
const $scope4_id = _scope_id();
|
|
5207
|
-
_html(`<a${_attr_class(["
|
|
5207
|
+
_html(`<a${_attr_class(["_gB", "_gC"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr.number}`)}`)}${_attr("title", `Review #${pr.number} changes`)}>`);
|
|
5208
5208
|
icon_diff_default({ size: 12 });
|
|
5209
5209
|
_html(`</a>${_el_resume($scope4_id, "a", _serialize_guard($scope0_reason, 0))}`);
|
|
5210
5210
|
_serialize_if($scope0_reason, 2) && _subscribe($si__input_status_repos && $for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, { _: _scope_with_id($scope3_id) })));
|
|
@@ -5212,9 +5212,9 @@ var side_nav_chips_default = _template("t", (input) => {
|
|
|
5212
5212
|
} else {
|
|
5213
5213
|
const $scope6_id = _scope_id();
|
|
5214
5214
|
_html(`<button type=button${_attr_class([
|
|
5215
|
-
"
|
|
5216
|
-
"
|
|
5217
|
-
"
|
|
5215
|
+
"_gB",
|
|
5216
|
+
"_gC",
|
|
5217
|
+
"_gD"
|
|
5218
5218
|
])}${_attr("title", `Dismiss #${pr.number}`)}>`);
|
|
5219
5219
|
icon_xmark_default({ size: 12 });
|
|
5220
5220
|
_html(`</button>${_el_resume($scope6_id, "a")}`);
|
|
@@ -5239,10 +5239,10 @@ var side_nav_chips_default = _template("t", (input) => {
|
|
|
5239
5239
|
}, "full_name", $scope1_id, "b", $sg__input_status_repos, $sg__input_status_repos, $sg__input_status_repos__OR__input_status_ports);
|
|
5240
5240
|
_for_of(ports, (p) => {
|
|
5241
5241
|
const $scope5_id = _scope_id();
|
|
5242
|
-
_html(`<span${_attr_class(["_p", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["
|
|
5243
|
-
"
|
|
5244
|
-
"
|
|
5245
|
-
"
|
|
5242
|
+
_html(`<span${_attr_class(["_p", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_gB", "_gH"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${p.port}`)}>:${_sep($sg__input_status_ports)}${_escape(p.port)}${_el_resume($scope5_id, "c", $sg__input_status_ports)}</button>${_el_resume($scope5_id, "b")}<button type=button${_attr_class([
|
|
5243
|
+
"_gB",
|
|
5244
|
+
"_gC",
|
|
5245
|
+
"_gD",
|
|
5246
5246
|
{ ["_n"]: armedPid === p.pid }
|
|
5247
5247
|
])}${armedPid === p.pid ? " title=Kill?" : _attr("title", `Kill ${p.cmd} (pid ${p.pid})`)}>`);
|
|
5248
5248
|
icon_xmark_default({ size: 12 });
|
|
@@ -5334,10 +5334,10 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5334
5334
|
_if(() => {
|
|
5335
5335
|
if (input.rail) {
|
|
5336
5336
|
const $scope2_id = _scope_id();
|
|
5337
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["
|
|
5337
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_fw"]: input.current }])}${_attr("title", ws$1.name)}>${_escape((input.index ?? 0) + 1)}${_el_resume($scope2_id, "b", _serialize_guard($scope0_reason, 27))}<span${_attr_class([
|
|
5338
5338
|
"_w",
|
|
5339
5339
|
phase[dot],
|
|
5340
|
-
"
|
|
5340
|
+
"_fz"
|
|
5341
5341
|
])}></span>${_el_resume($scope2_id, "c", $sg__input_workspaceId__OR__input_status)}</a>${_el_resume($scope2_id, "a", _serialize_guard($scope0_reason, 3))}`);
|
|
5342
5342
|
_serialize_if($scope0_reason, 18) && _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_name__closures, _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_id__closures, _subscribe($si__input_index && $input_index__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })))));
|
|
5343
5343
|
return 0;
|
|
@@ -5345,15 +5345,15 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5345
5345
|
const $scope3_id = _scope_id();
|
|
5346
5346
|
const sessions$1 = input.sessions || [];
|
|
5347
5347
|
const phaseLabel = dot === "working" ? "Working" : dot === "waiting" ? "Needs input" : dot === "idle" ? "Idle" : "Not running";
|
|
5348
|
-
_html(`<section${_attr_class(["
|
|
5349
|
-
["
|
|
5348
|
+
_html(`<section${_attr_class(["_fB", {
|
|
5349
|
+
["_fw"]: input.current,
|
|
5350
5350
|
["_2"]: input.current,
|
|
5351
|
-
["
|
|
5352
|
-
["
|
|
5353
|
-
}])}><div${_attr_class("
|
|
5351
|
+
["_fC"]: input.railPop,
|
|
5352
|
+
["_fA"]: input.page
|
|
5353
|
+
}])}><div${_attr_class("_fD")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class("_fE")}><span${_attr_class([
|
|
5354
5354
|
"_w",
|
|
5355
5355
|
phase[dot],
|
|
5356
|
-
"
|
|
5356
|
+
"_fS"
|
|
5357
5357
|
])}${_attr("title", phaseLabel)}></span>${_el_resume($scope3_id, "d", $sg__input_workspaceId__OR__input_status)}`);
|
|
5358
5358
|
_if(() => {
|
|
5359
5359
|
if (sessions$1.length === 1) {
|
|
@@ -5366,7 +5366,7 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5366
5366
|
icon_agent_default({
|
|
5367
5367
|
agent: activeAgent(sessions$1[0]),
|
|
5368
5368
|
size: 12,
|
|
5369
|
-
class: "
|
|
5369
|
+
class: "_fJ"
|
|
5370
5370
|
});
|
|
5371
5371
|
$si__input_sessions && writeScope($scope14_id, {
|
|
5372
5372
|
_: _scope_with_id($scope3_id),
|
|
@@ -5376,16 +5376,16 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5376
5376
|
}
|
|
5377
5377
|
}, $scope3_id, "e", $sg__input_sessions, $sg__input_sessions);
|
|
5378
5378
|
const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length === 1 ? sessions$1[0].title || "" : `${sessions$1.length} sessions`;
|
|
5379
|
-
_html(`<span${_attr_class("
|
|
5379
|
+
_html(`<span${_attr_class("_fK")}><span${_attr_class("_fL")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "h", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
|
|
5380
5380
|
_if(() => {
|
|
5381
5381
|
if (input.page && metaText) {
|
|
5382
5382
|
const $scope16_id = _scope_id();
|
|
5383
|
-
_html(`<span${_attr_class("
|
|
5383
|
+
_html(`<span${_attr_class("_fQ")}>${_escape(metaText)}${_el_resume($scope16_id, "b", _serialize_guard($scope0_reason, 7))}</span>`);
|
|
5384
5384
|
$si__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status && writeScope($scope16_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope3_id) });
|
|
5385
5385
|
return 0;
|
|
5386
5386
|
} else if (sessions$1.length === 1 && sessions$1[0].title) {
|
|
5387
5387
|
const $scope15_id = _scope_id();
|
|
5388
|
-
_html(`<span${_attr_class("
|
|
5388
|
+
_html(`<span${_attr_class("_fM")}>${_escape(sessions$1[0].title)}${_el_resume($scope15_id, "b", $sg__input_sessions)}</span>`);
|
|
5389
5389
|
$si__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status && writeScope($scope15_id, { _: $si__input_sessions && _scope_with_id($scope3_id) });
|
|
5390
5390
|
return 1;
|
|
5391
5391
|
}
|
|
@@ -5398,7 +5398,7 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5398
5398
|
"_F",
|
|
5399
5399
|
"_O",
|
|
5400
5400
|
"_H",
|
|
5401
|
-
"
|
|
5401
|
+
"_fR"
|
|
5402
5402
|
])}>${input.current ? "Open" : ""}${_el_resume($scope4_id, "b", _serialize_guard($scope0_reason, 21))}</span>`);
|
|
5403
5403
|
$si__input_current__OR__input_page__OR__input_rail__OR__input_workspaces__OR__input_workspaceId && _subscribe($si__input_current && $input_current__closures, writeScope($scope4_id, {
|
|
5404
5404
|
_: _scope_with_id($scope3_id),
|
|
@@ -5411,7 +5411,7 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5411
5411
|
_if(() => {
|
|
5412
5412
|
if (!input.page) {
|
|
5413
5413
|
const $scope5_id = _scope_id();
|
|
5414
|
-
_html(`<div${_attr_class("
|
|
5414
|
+
_html(`<div${_attr_class("_fF")}>`);
|
|
5415
5415
|
_if(() => {
|
|
5416
5416
|
if (input.onNewSession) {
|
|
5417
5417
|
const $scope6_id = _scope_id();
|
|
@@ -5425,7 +5425,7 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5425
5425
|
_html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
|
|
5426
5426
|
_for_of([], (agent) => {
|
|
5427
5427
|
const $scope7_id = _scope_id();
|
|
5428
|
-
_html(`<button${_attr_class("
|
|
5428
|
+
_html(`<button${_attr_class("_e3")}>`);
|
|
5429
5429
|
_set_serialize_reason(12);
|
|
5430
5430
|
const $childScope2 = _peek_scope_id();
|
|
5431
5431
|
icon_agent_default({
|
|
@@ -5460,7 +5460,7 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5460
5460
|
return 0;
|
|
5461
5461
|
}
|
|
5462
5462
|
}, $scope5_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
|
|
5463
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["
|
|
5463
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_fx"]: input.managing }])} title="Manage workspace"${input.managing ? " aria-current=page" : ""}>`);
|
|
5464
5464
|
icon_manage_default({ size: 12 });
|
|
5465
5465
|
_html(`</a>${_el_resume($scope5_id, "d", _serialize_guard($scope0_reason, 8))}</div>`);
|
|
5466
5466
|
_subscribe($si__input_workspaces__OR__input_workspaceId && $ws_id__closures, _subscribe($si__input_managing && $input_managing__closures, _subscribe($si__input_onReview && $input_onReview__closures, _subscribe($si__input_onNewSession && $input_onNewSession__closures, writeScope($scope5_id, {
|
|
@@ -5470,7 +5470,7 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5470
5470
|
return 0;
|
|
5471
5471
|
}
|
|
5472
5472
|
}, $scope3_id, "k", $sg__input_page, $sg__input_page, 1, 0, 1);
|
|
5473
|
-
_html(`</div><div${_attr_class("
|
|
5473
|
+
_html(`</div><div${_attr_class("_fX")}>`);
|
|
5474
5474
|
_if(() => {
|
|
5475
5475
|
if (sessions$1.length === 1 && openPlan) {
|
|
5476
5476
|
const $scope11_id = _scope_id();
|
|
@@ -5478,7 +5478,7 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5478
5478
|
const $childScope3 = _peek_scope_id();
|
|
5479
5479
|
usage_pcts_default({
|
|
5480
5480
|
agent: openPlan,
|
|
5481
|
-
class: "
|
|
5481
|
+
class: "_fN"
|
|
5482
5482
|
});
|
|
5483
5483
|
_subscribe($openPlan__closures, writeScope($scope11_id, {
|
|
5484
5484
|
a: _existing_scope($childScope3),
|
|
@@ -5489,14 +5489,14 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5489
5489
|
}, $scope3_id, "m");
|
|
5490
5490
|
_for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
|
|
5491
5491
|
const $scope8_id = _scope_id();
|
|
5492
|
-
_html(`<div${_attr_class(["
|
|
5492
|
+
_html(`<div${_attr_class(["_fG", { ["_fw"]: s.id === input.currentTab }])}>`);
|
|
5493
5493
|
_if(() => {
|
|
5494
5494
|
if (renamingId === s.id) {
|
|
5495
5495
|
const $scope10_id = _scope_id();
|
|
5496
5496
|
_html(`<span${_attr_class([
|
|
5497
5497
|
"_w",
|
|
5498
5498
|
phase[sessionPhase(s.state)],
|
|
5499
|
-
"
|
|
5499
|
+
"_fV"
|
|
5500
5500
|
])}></span>${_el_resume($scope10_id, "a", $sg__input_sessions)}`);
|
|
5501
5501
|
_set_serialize_reason({
|
|
5502
5502
|
1: $sg__input_sessions,
|
|
@@ -5506,17 +5506,17 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5506
5506
|
icon_agent_default({
|
|
5507
5507
|
agent: activeAgent(s),
|
|
5508
5508
|
size: 13,
|
|
5509
|
-
class: "
|
|
5509
|
+
class: "_fZ"
|
|
5510
5510
|
});
|
|
5511
5511
|
_html(`<input${_attr_input_value($scope10_id, "c", renameValue, _resume((_new_renameValue) => {
|
|
5512
5512
|
renameValue = _new_renameValue;
|
|
5513
|
-
}, "u0", $scope10_id))}${_attr_class(["_R", "
|
|
5513
|
+
}, "u0", $scope10_id))}${_attr_class(["_R", "_fW"])} aria-label="Session name">${_el_resume($scope10_id, "c")}`);
|
|
5514
5514
|
_script($scope10_id, "u5");
|
|
5515
5515
|
_subscribe($renameValue__closures, writeScope($scope10_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
|
|
5516
5516
|
return 0;
|
|
5517
5517
|
} else {
|
|
5518
5518
|
const $scope9_id = _scope_id();
|
|
5519
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("
|
|
5519
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("_fY")}><span${_attr_class(["_w", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope9_id, "b", $sg__input_sessions)}`);
|
|
5520
5520
|
_set_serialize_reason({
|
|
5521
5521
|
1: $sg__input_sessions,
|
|
5522
5522
|
2: $sg__input_sessions
|
|
@@ -5525,9 +5525,9 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5525
5525
|
icon_agent_default({
|
|
5526
5526
|
agent: activeAgent(s),
|
|
5527
5527
|
size: 13,
|
|
5528
|
-
class: "
|
|
5528
|
+
class: "_fZ"
|
|
5529
5529
|
});
|
|
5530
|
-
_html(`<span${_attr_class("
|
|
5530
|
+
_html(`<span${_attr_class("_fO")}><span${_attr_class("_fT")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope9_id, "f", $sg__input_sessions)}</span>`);
|
|
5531
5531
|
_if(() => {
|
|
5532
5532
|
if (openPlan && s.id === openSess?.id) {
|
|
5533
5533
|
const $scope12_id = _scope_id();
|
|
@@ -5535,7 +5535,7 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5535
5535
|
const $childScope6 = _peek_scope_id();
|
|
5536
5536
|
usage_pcts_default({
|
|
5537
5537
|
agent: openPlan,
|
|
5538
|
-
class: "
|
|
5538
|
+
class: "_fP"
|
|
5539
5539
|
});
|
|
5540
5540
|
_subscribe($openPlan__closures, writeScope($scope12_id, {
|
|
5541
5541
|
a: _existing_scope($childScope6),
|
|
@@ -5544,7 +5544,7 @@ var side_nav_item_default = _template("u", (input) => {
|
|
|
5544
5544
|
return 0;
|
|
5545
5545
|
}
|
|
5546
5546
|
}, $scope9_id, "g");
|
|
5547
|
-
_html(`</span></a>${_el_resume($scope9_id, "a", _serialize_guard($scope0_reason, 6))}<div${_attr_class("
|
|
5547
|
+
_html(`</span></a>${_el_resume($scope9_id, "a", _serialize_guard($scope0_reason, 6))}<div${_attr_class("_fU")}><button${_attr_class(rowIcon)} title="Rename session">`);
|
|
5548
5548
|
icon_edit_default({ size: 12 });
|
|
5549
5549
|
_html(`</button>${_el_resume($scope9_id, "i")}<button${_attr_class([close, { ["_n"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
|
|
5550
5550
|
icon_xmark_default({ size: 12 });
|
|
@@ -5739,25 +5739,25 @@ var side_nav_default = _template("v", (input) => {
|
|
|
5739
5739
|
const isPage = view === "nav";
|
|
5740
5740
|
const otherIds = itemIds.filter((id) => id !== ws.id);
|
|
5741
5741
|
const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
|
|
5742
|
-
_html(`<aside${_attr_class(["
|
|
5743
|
-
["
|
|
5744
|
-
["
|
|
5742
|
+
_html(`<aside${_attr_class(["_dk", {
|
|
5743
|
+
["_di"]: !navOpen,
|
|
5744
|
+
["_dj"]: isPage
|
|
5745
5745
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
5746
5746
|
_if(() => {
|
|
5747
5747
|
if (isPage) {
|
|
5748
5748
|
const $scope1_id = _scope_id();
|
|
5749
|
-
_html(`<header${_attr_class("
|
|
5749
|
+
_html(`<header${_attr_class("_dn")}><h1${_attr_class("_do")}>Workspaces</h1><div${_attr_class("_dp")}>`);
|
|
5750
5750
|
_if(() => {}, $scope1_id, "d", 1, 1, 1, 0, 1);
|
|
5751
5751
|
_html(`<a href=/settings${_attr_class([
|
|
5752
5752
|
iconBtn$1,
|
|
5753
|
-
"
|
|
5754
|
-
{ ["
|
|
5753
|
+
"_dq",
|
|
5754
|
+
{ ["_df"]: view === "settings" }
|
|
5755
5755
|
])} title=Settings${view === "settings" ? " aria-current=page" : ""}>`);
|
|
5756
5756
|
icon_settings_default({ size: 16 });
|
|
5757
5757
|
_if(() => {
|
|
5758
5758
|
if (input.setupReady === false) {
|
|
5759
5759
|
const $scope10_id = _scope_id();
|
|
5760
|
-
_html(`<span${_attr_class(["_w", "
|
|
5760
|
+
_html(`<span${_attr_class(["_w", "_dh"])} title="Machine setup incomplete"></span>`);
|
|
5761
5761
|
$si__input_setupReady && writeScope($scope10_id, {});
|
|
5762
5762
|
return 0;
|
|
5763
5763
|
}
|
|
@@ -5767,13 +5767,13 @@ var side_nav_default = _template("v", (input) => {
|
|
|
5767
5767
|
return 0;
|
|
5768
5768
|
}
|
|
5769
5769
|
}, $scope0_id, "b", 1, 1, 1, 0, 1);
|
|
5770
|
-
_html(`<div${_attr_class("
|
|
5770
|
+
_html(`<div${_attr_class("_dt")}>`);
|
|
5771
5771
|
_for_of(listIds, (wsId) => {
|
|
5772
5772
|
const $scope2_id = _scope_id();
|
|
5773
5773
|
_if(() => {
|
|
5774
5774
|
if (isPage && wsId === ws.id) {
|
|
5775
5775
|
const $scope11_id = _scope_id();
|
|
5776
|
-
_html(`<h2${_attr_class(["_bE", "
|
|
5776
|
+
_html(`<h2${_attr_class(["_bE", "_dr"])}>Current</h2>`);
|
|
5777
5777
|
writeScope($scope11_id, {});
|
|
5778
5778
|
return 0;
|
|
5779
5779
|
}
|
|
@@ -5781,7 +5781,7 @@ var side_nav_default = _template("v", (input) => {
|
|
|
5781
5781
|
_if(() => {
|
|
5782
5782
|
if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
|
|
5783
5783
|
const $scope12_id = _scope_id();
|
|
5784
|
-
_html(`<h2${_attr_class(["_bE", "
|
|
5784
|
+
_html(`<h2${_attr_class(["_bE", "_dr"])}>Other workspaces</h2>`);
|
|
5785
5785
|
writeScope($scope12_id, {});
|
|
5786
5786
|
return 0;
|
|
5787
5787
|
}
|
|
@@ -5868,7 +5868,7 @@ var side_nav_default = _template("v", (input) => {
|
|
|
5868
5868
|
railHover = null;
|
|
5869
5869
|
}, 150);
|
|
5870
5870
|
}, "v6", $scope3_id);
|
|
5871
|
-
_html(`<div${_attr_class("
|
|
5871
|
+
_html(`<div${_attr_class("_du")}>`);
|
|
5872
5872
|
_for_of(itemIds, (wsId, i) => {
|
|
5873
5873
|
const $scope4_id = _scope_id();
|
|
5874
5874
|
_html("<span>");
|
|
@@ -5922,7 +5922,7 @@ var side_nav_default = _template("v", (input) => {
|
|
|
5922
5922
|
if (railHover) {
|
|
5923
5923
|
const $scope5_id = _scope_id();
|
|
5924
5924
|
const hoverId = railHover.id;
|
|
5925
|
-
_html(`<div${_attr_class(["_1", "
|
|
5925
|
+
_html(`<div${_attr_class(["_1", "_dx"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
|
|
5926
5926
|
_set_serialize_reason({
|
|
5927
5927
|
0: 1,
|
|
5928
5928
|
1: 1,
|
|
@@ -6010,7 +6010,7 @@ var side_nav_default = _template("v", (input) => {
|
|
|
6010
6010
|
return 0;
|
|
6011
6011
|
}
|
|
6012
6012
|
}, $scope0_id, "d");
|
|
6013
|
-
_html(`<div${_attr_class("
|
|
6013
|
+
_html(`<div${_attr_class("_dv")}>`);
|
|
6014
6014
|
_if(() => {
|
|
6015
6015
|
if (isPage) {
|
|
6016
6016
|
const $scope7_id = _scope_id();
|
|
@@ -6018,7 +6018,7 @@ var side_nav_default = _template("v", (input) => {
|
|
|
6018
6018
|
"_l",
|
|
6019
6019
|
"_m",
|
|
6020
6020
|
btnLg,
|
|
6021
|
-
"
|
|
6021
|
+
"_ds"
|
|
6022
6022
|
])} title="New workspace"${view === "new" ? " aria-current=page" : ""}>`);
|
|
6023
6023
|
icon_folder_plus_default({ size: 16 });
|
|
6024
6024
|
_html(` New workspace</a>${_el_resume($scope7_id, "a")}`);
|
|
@@ -6040,19 +6040,19 @@ var side_nav_default = _template("v", (input) => {
|
|
|
6040
6040
|
return 1;
|
|
6041
6041
|
}
|
|
6042
6042
|
}, $scope6_id, "a", 1, 1, 1, "</button>", 1);
|
|
6043
|
-
_html(`<div${_attr_class(["_v", "
|
|
6043
|
+
_html(`<div${_attr_class(["_v", "_dw"])}></div>`);
|
|
6044
6044
|
_if(() => {}, $scope6_id, "c", 1, 1, 1, 0, 1);
|
|
6045
|
-
_html(`<a href=/settings${_attr_class([iconBtn$1, { ["
|
|
6045
|
+
_html(`<a href=/settings${_attr_class([iconBtn$1, { ["_df"]: view === "settings" }])} title=Settings${view === "settings" ? " aria-current=page" : ""}>`);
|
|
6046
6046
|
icon_settings_default({ size: 15 });
|
|
6047
6047
|
_if(() => {
|
|
6048
6048
|
if (input.setupReady === false) {
|
|
6049
6049
|
const $scope15_id = _scope_id();
|
|
6050
|
-
_html(`<span${_attr_class(["_w", "
|
|
6050
|
+
_html(`<span${_attr_class(["_w", "_dh"])} title="Machine setup incomplete"></span>`);
|
|
6051
6051
|
$si__input_setupReady && writeScope($scope15_id, {});
|
|
6052
6052
|
return 0;
|
|
6053
6053
|
}
|
|
6054
6054
|
}, $scope6_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
6055
|
-
_html(`</a>${_el_resume($scope6_id, "d")}<a href=/new${_attr_class([iconBtn$1, { ["
|
|
6055
|
+
_html(`</a>${_el_resume($scope6_id, "d")}<a href=/new${_attr_class([iconBtn$1, { ["_df"]: view === "new" }])} title="New workspace"${view === "new" ? " aria-current=page" : ""}>`);
|
|
6056
6056
|
icon_folder_plus_default({ size: 16 });
|
|
6057
6057
|
_html(`</a>${_el_resume($scope6_id, "g")}`);
|
|
6058
6058
|
_script($scope6_id, "v15");
|
|
@@ -6114,10 +6114,10 @@ var side_nav_default = _template("v", (input) => {
|
|
|
6114
6114
|
});
|
|
6115
6115
|
var iconBtn = "_X _g";
|
|
6116
6116
|
var sectionCount = "_br _F _G";
|
|
6117
|
-
var content = "
|
|
6118
|
-
var pageMeta = "
|
|
6119
|
-
var pathMeta = "
|
|
6120
|
-
var dangerHint = "
|
|
6117
|
+
var content = "_c5 _bh";
|
|
6118
|
+
var pageMeta = "_c6 _bm";
|
|
6119
|
+
var pathMeta = "_c9 _u";
|
|
6120
|
+
var dangerHint = "_de _P";
|
|
6121
6121
|
//#endregion
|
|
6122
6122
|
//#region src/tags/manage-workspace.marko
|
|
6123
6123
|
var api$2;
|
|
@@ -6228,7 +6228,7 @@ var manage_workspace_default = _template("l", (input) => {
|
|
|
6228
6228
|
meta: attrTag({ content: _content_resume("l11", () => {
|
|
6229
6229
|
_scope_reason();
|
|
6230
6230
|
const $scope8_id = _scope_id();
|
|
6231
|
-
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("
|
|
6231
|
+
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_c7")}>${_escape(ws.name)}${_el_resume($scope8_id, "c")}</span>`);
|
|
6232
6232
|
_if(() => {
|
|
6233
6233
|
if (ws.status !== "active") {
|
|
6234
6234
|
const $scope11_id = _scope_id();
|
|
@@ -6237,7 +6237,7 @@ var manage_workspace_default = _template("l", (input) => {
|
|
|
6237
6237
|
return 0;
|
|
6238
6238
|
}
|
|
6239
6239
|
}, $scope8_id, "d", 1, 1, 1, 0, 1);
|
|
6240
|
-
_html(`<span${_attr_class("
|
|
6240
|
+
_html(`<span${_attr_class("_c8")} 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")}`);
|
|
6241
6241
|
_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) })))));
|
|
6242
6242
|
_resume_branch($scope8_id);
|
|
6243
6243
|
}, $scope0_id) })
|
|
@@ -6280,7 +6280,7 @@ var manage_workspace_default = _template("l", (input) => {
|
|
|
6280
6280
|
_html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("_bs")}>`);
|
|
6281
6281
|
_for_of(ws.repos, (row) => {
|
|
6282
6282
|
const $scope1_id = _scope_id();
|
|
6283
|
-
_html(`<li${_attr_class("_bu")}><div${_attr_class("_bv")}><span${_attr_class(["_bw", "_u"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bx")}><a${_attr_class(["_by", "
|
|
6283
|
+
_html(`<li${_attr_class("_bu")}><div${_attr_class("_bv")}><span${_attr_class(["_bw", "_u"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bx")}><a${_attr_class(["_by", "_da"])}${_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")}`);
|
|
6284
6284
|
_if(() => {
|
|
6285
6285
|
if (row.base_branch !== row.default_branch) {
|
|
6286
6286
|
const $scope12_id = _scope_id();
|
|
@@ -6344,7 +6344,7 @@ var manage_workspace_default = _template("l", (input) => {
|
|
|
6344
6344
|
return 0;
|
|
6345
6345
|
}
|
|
6346
6346
|
}, $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
6347
|
-
_html(`<div${_attr_class("
|
|
6347
|
+
_html(`<div${_attr_class("_c_")}>`);
|
|
6348
6348
|
const $childScope3 = _peek_scope_id();
|
|
6349
6349
|
let refreshCatalog = repo_picker_default({
|
|
6350
6350
|
exclude: inWorkspace,
|
|
@@ -6374,7 +6374,7 @@ var manage_workspace_default = _template("l", (input) => {
|
|
|
6374
6374
|
_html(`<span${_attr_class("_bx")}>`);
|
|
6375
6375
|
_for_of(p.ports, (port) => {
|
|
6376
6376
|
const $scope19_id = _scope_id();
|
|
6377
|
-
_html(`<button${_attr_class(["_p", "
|
|
6377
|
+
_html(`<button${_attr_class(["_p", "_db"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope19_id, "b")}</button>${_el_resume($scope19_id, "a")}`);
|
|
6378
6378
|
_script($scope19_id, "l15");
|
|
6379
6379
|
writeScope($scope19_id, { d: port });
|
|
6380
6380
|
}, (x) => String(x), $scope18_id, "a", 1, 1, 1, "</span>", 1);
|
|
@@ -6396,7 +6396,7 @@ var manage_workspace_default = _template("l", (input) => {
|
|
|
6396
6396
|
return 0;
|
|
6397
6397
|
}
|
|
6398
6398
|
}, $scope0_id, "v", 1, 1, 1, 0, 1);
|
|
6399
|
-
_html(`<section${_attr_class(["_bp", "
|
|
6399
|
+
_html(`<section${_attr_class(["_bp", "_dc"])}><div${_attr_class("_bq")}><h2${_attr_class("_bE")}>Workspace</h2></div><div${_attr_class("_dd")}>`);
|
|
6400
6400
|
_if(() => {
|
|
6401
6401
|
if (ws.status === "active") {
|
|
6402
6402
|
const $scope4_id = _scope_id();
|
|
@@ -6497,15 +6497,15 @@ var term_find_default = _template("w", (input) => {
|
|
|
6497
6497
|
const canStep = hasQuery && open;
|
|
6498
6498
|
const keybar = input.placement === "keybar";
|
|
6499
6499
|
_html(`<div${_attr_class([
|
|
6500
|
-
"
|
|
6501
|
-
keybar ? "
|
|
6502
|
-
!open && "
|
|
6503
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
6500
|
+
"_eP",
|
|
6501
|
+
keybar ? "_eR" : "_eQ",
|
|
6502
|
+
!open && "_eT"
|
|
6503
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_eK", keybar ? "_eS" : "_eM"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
6504
6504
|
if (!open) return;
|
|
6505
6505
|
query = v;
|
|
6506
6506
|
live.query = v;
|
|
6507
6507
|
run(0);
|
|
6508
|
-
}, "w0", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
6508
|
+
}, "w0", $scope0_id))}${_attr_class([findInput, keybar && "_eU"])} 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 && "_eV"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_eV"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class([findIconBtn, keybar && "_eV"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
|
|
6509
6509
|
icon_xmark_default({ size: 14 });
|
|
6510
6510
|
_html(`</button>${_el_resume($scope0_id, "f")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
|
|
6511
6511
|
_script($scope0_id, "w4");
|
|
@@ -6779,7 +6779,7 @@ var term_default = _template("x", (input) => {
|
|
|
6779
6779
|
trapOpen = true;
|
|
6780
6780
|
}
|
|
6781
6781
|
}, "x14", $scope0_id);
|
|
6782
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
6782
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_dy")}><div${_attr_class("_dz")}></div>${_el_resume($scope0_id, "b")}`);
|
|
6783
6783
|
_if(() => {
|
|
6784
6784
|
if (findOpen) {
|
|
6785
6785
|
const $scope12_id = _scope_id();
|
|
@@ -6806,7 +6806,7 @@ var term_default = _template("x", (input) => {
|
|
|
6806
6806
|
_if(() => {
|
|
6807
6807
|
if (uploading) {
|
|
6808
6808
|
const $scope19_id = _scope_id();
|
|
6809
|
-
_html(`<div${_attr_class("
|
|
6809
|
+
_html(`<div${_attr_class("_dF")}>uploading…</div>`);
|
|
6810
6810
|
writeScope($scope19_id, {});
|
|
6811
6811
|
return 0;
|
|
6812
6812
|
}
|
|
@@ -6814,7 +6814,7 @@ var term_default = _template("x", (input) => {
|
|
|
6814
6814
|
_if(() => {
|
|
6815
6815
|
if (copiedFlash) {
|
|
6816
6816
|
const $scope20_id = _scope_id();
|
|
6817
|
-
_html(`<div${_attr_class("
|
|
6817
|
+
_html(`<div${_attr_class("_dE")}>Copied</div>`);
|
|
6818
6818
|
writeScope($scope20_id, {});
|
|
6819
6819
|
return 0;
|
|
6820
6820
|
}
|
|
@@ -6823,7 +6823,7 @@ var term_default = _template("x", (input) => {
|
|
|
6823
6823
|
_if(() => {
|
|
6824
6824
|
if (trapOpen) {
|
|
6825
6825
|
const $scope11_id = _scope_id();
|
|
6826
|
-
_html(`<div${_attr_class("
|
|
6826
|
+
_html(`<div${_attr_class("_dG")}><div${_attr_class("_dH")}><p${_attr_class("_eb")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope11_id, "d")}<button${_attr_class("_l")}>Cancel</button>${_el_resume($scope11_id, "e")}</div>${_el_resume($scope11_id, "b")}</div>${_el_resume($scope11_id, "a")}`);
|
|
6827
6827
|
_script($scope11_id, "x25");
|
|
6828
6828
|
_script($scope11_id, "x26");
|
|
6829
6829
|
writeScope($scope11_id, {});
|
|
@@ -6926,7 +6926,7 @@ var work_view_default = _template("B", (input) => {
|
|
|
6926
6926
|
let DiffView = null;
|
|
6927
6927
|
const loadDiffView = _resume(() => {
|
|
6928
6928
|
if (DiffView) return;
|
|
6929
|
-
import("./
|
|
6929
|
+
import("./_C4T3WOc-.js").then((m) => {
|
|
6930
6930
|
DiffView = m.default;
|
|
6931
6931
|
});
|
|
6932
6932
|
}, "B6", $scope0_id);
|
|
@@ -7112,7 +7112,7 @@ var work_view_default = _template("B", (input) => {
|
|
|
7112
7112
|
toggleDiff();
|
|
7113
7113
|
}
|
|
7114
7114
|
}, "B21", $scope0_id);
|
|
7115
|
-
_html(`<div${_attr_class(["
|
|
7115
|
+
_html(`<div${_attr_class(["_ci", { ["_ch"]: view === "nav" }])}><div${_attr_class("_cj")}>`);
|
|
7116
7116
|
_set_serialize_reason({
|
|
7117
7117
|
0: _serialize_guard($scope0_reason, 0),
|
|
7118
7118
|
1: _serialize_guard($scope0_reason, 1),
|
|
@@ -7168,7 +7168,7 @@ var work_view_default = _template("B", (input) => {
|
|
|
7168
7168
|
openDiff(pr);
|
|
7169
7169
|
}, "B29", $scope0_id)
|
|
7170
7170
|
});
|
|
7171
|
-
_html(`</div><div${_attr_class("
|
|
7171
|
+
_html(`</div><div${_attr_class("_ck")}>`);
|
|
7172
7172
|
_if(() => {
|
|
7173
7173
|
if (error) {
|
|
7174
7174
|
const $scope8_id = _scope_id();
|
|
@@ -7319,13 +7319,13 @@ var work_view_default = _template("B", (input) => {
|
|
|
7319
7319
|
return 0;
|
|
7320
7320
|
}
|
|
7321
7321
|
}, $scope0_id, "i");
|
|
7322
|
-
_html(`<div${_attr_class(["
|
|
7322
|
+
_html(`<div${_attr_class(["_cm", { ["_cl"]: view !== "term" }])}>`);
|
|
7323
7323
|
_if(() => {
|
|
7324
7324
|
if (shownSessions) {
|
|
7325
7325
|
const $scope5_id = _scope_id();
|
|
7326
7326
|
_for_of(shownSessions, (s) => {
|
|
7327
7327
|
const $scope6_id = _scope_id();
|
|
7328
|
-
_html(`<div${_attr_class(["
|
|
7328
|
+
_html(`<div${_attr_class(["_cn", { ["_co"]: s.id === curTab }])}>`);
|
|
7329
7329
|
_set_serialize_reason({
|
|
7330
7330
|
0: 1,
|
|
7331
7331
|
1: 1,
|
|
@@ -15047,4 +15047,4 @@ server.listen(port, () => {
|
|
|
15047
15047
|
//#endregion
|
|
15048
15048
|
export {};
|
|
15049
15049
|
|
|
15050
|
-
;var __MARKO_MANIFEST__={"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-
|
|
15050
|
+
;var __MARKO_MANIFEST__={"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-KK8yJIbR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-KK8yJIbR.css\"",">"],"defer":[2,"/assets/w._-OSO__hUI.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-OSO__hUI.js\"","></script>",2,"modulepreload#/assets/_C4bcAkxw.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C4bcAkxw.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-KK8yJIbR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-KK8yJIbR.css\"",">"],"defer":[2,"/assets/new-OSO__hUI.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-OSO__hUI.js\"","></script>",2,"modulepreload#/assets/_C4bcAkxw.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C4bcAkxw.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-KK8yJIbR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-KK8yJIbR.css\"",">"],"defer":[2,"/assets/settings-OSO__hUI.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-OSO__hUI.js\"","></script>",2,"modulepreload#/assets/_C4bcAkxw.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C4bcAkxw.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-KK8yJIbR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-KK8yJIbR.css\"",">"],"defer":[2,"/assets/w._-BVUaVdRa.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-BVUaVdRa.js\"","></script>",2,"modulepreload#/assets/_C4bcAkxw.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C4bcAkxw.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-KK8yJIbR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-KK8yJIbR.css\"",">"],"defer":[2,"/assets/w-OSO__hUI.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-OSO__hUI.js\"","></script>",2,"modulepreload#/assets/_C4bcAkxw.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C4bcAkxw.js\"",">"]}};
|