@dylanpiercey/work 0.0.94 → 0.0.96
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/{_tpJju-55.js → _C_EF8rh-.js} +56 -22
- package/dist/{_DILbc8yV.js → _Cel25igI.js} +201 -97
- package/dist/index.mjs +339 -160
- package/dist/public/assets/{_C4TNH2ZM.js → _3d2N4uW7.js} +1 -1
- package/dist/public/assets/_3d2N4uW7.js.br +0 -0
- package/dist/public/assets/{_EoqXooxT2.js → _63r8H6KD2.js} +1 -1
- package/dist/public/assets/_63r8H6KD2.js.br +0 -0
- package/dist/public/assets/{_DBqph3js.js → _6Tvpa4Xu.js} +1 -1
- package/dist/public/assets/_6Tvpa4Xu.js.br +0 -0
- package/dist/public/assets/_Ame3I5fr.js +85 -0
- package/dist/public/assets/_Ame3I5fr.js.br +0 -0
- package/dist/public/assets/{_0ap9drti.js → _B2uZZeNN.js} +1 -1
- package/dist/public/assets/_B2uZZeNN.js.br +0 -0
- package/dist/public/assets/{_aUMNXFec.js → _B3G8MYzv.js} +1 -1
- package/dist/public/assets/_B3G8MYzv.js.br +0 -0
- package/dist/public/assets/{_CM1DnGXf2.js → _B4JWlIQw2.js} +1 -1
- package/dist/public/assets/_B4JWlIQw2.js.br +0 -0
- package/dist/public/assets/{_xROUdW2l.js → _BAJq8l9L.js} +1 -1
- package/dist/public/assets/_BAJq8l9L.js.br +0 -0
- package/dist/public/assets/{_CWWMMUQ2.js → _BBpJiyYC.js} +1 -1
- package/dist/public/assets/_BBpJiyYC.js.br +0 -0
- package/dist/public/assets/{_3-QozS0i.js → _BEejQ7lO.js} +1 -1
- package/dist/public/assets/_BEejQ7lO.js.br +0 -0
- package/dist/public/assets/{_9CNGJ9vT.js → _BGuxBUC6.js} +1 -1
- package/dist/public/assets/_BGuxBUC6.js.br +0 -0
- package/dist/public/assets/{_CmDw7YCz.js → _BGz6c5fQ.js} +1 -1
- package/dist/public/assets/_BGz6c5fQ.js.br +0 -0
- package/dist/public/assets/{_DDwgXS0M.js → _BKaiZ1NX.js} +1 -1
- package/dist/public/assets/_BKaiZ1NX.js.br +0 -0
- package/dist/public/assets/{_CS7v5Ou6.js → _BQiqdgb9.js} +1 -1
- package/dist/public/assets/_BQiqdgb9.js.br +0 -0
- package/dist/public/assets/{_FtJI7TqL2.js → _BdRvtpe42.js} +1 -1
- package/dist/public/assets/_BdRvtpe42.js.br +0 -0
- package/dist/public/assets/{_CbLNY8O12.js → _BgA0nPVc2.js} +1 -1
- package/dist/public/assets/_BgA0nPVc2.js.br +0 -0
- package/dist/public/assets/{_BwV0gWNS.js → _BggRFG6b.js} +1 -1
- package/dist/public/assets/{_BdwOi-GZ.js → _BnDvpSPb.js} +1 -1
- package/dist/public/assets/_BnDvpSPb.js.br +0 -0
- package/dist/public/assets/{_7EZIn6_b2.js → _Bpnk-HWG2.js} +1 -1
- package/dist/public/assets/_Bpnk-HWG2.js.br +0 -0
- package/dist/public/assets/{_gJJKIoXJ.js → _Bx5JF3nx.js} +1 -1
- package/dist/public/assets/_Bx5JF3nx.js.br +0 -0
- package/dist/public/assets/{_BTjvprBB2.js → _Bxjd-YPA2.js} +1 -1
- package/dist/public/assets/_Bxjd-YPA2.js.br +0 -0
- package/dist/public/assets/{_D0KXsxOT.js → _Bzv-EzCt.js} +1 -1
- package/dist/public/assets/_Bzv-EzCt.js.br +0 -0
- package/dist/public/assets/{_DfnV6slB.js → _C1AEjtWB.js} +1 -1
- package/dist/public/assets/_C1AEjtWB.js.br +0 -0
- package/dist/public/assets/{_CBDLBvL52.js → _C2Qcx14K2.js} +1 -1
- package/dist/public/assets/_C2Qcx14K2.js.br +0 -0
- package/dist/public/assets/{_BWPWFQVh.js → _C3JlLCxf.js} +1 -1
- package/dist/public/assets/_C3JlLCxf.js.br +0 -0
- package/dist/public/assets/{_D_SSjw-p2.js → _CAhTTF9I2.js} +1 -1
- package/dist/public/assets/_CAhTTF9I2.js.br +0 -0
- package/dist/public/assets/{_VHLalE0r.js → _CBkUW_R-.js} +1 -1
- package/dist/public/assets/_CBkUW_R-.js.br +0 -0
- package/dist/public/assets/{_RcUvSExn.js → _CHSMtXGV.js} +1 -1
- package/dist/public/assets/_CHSMtXGV.js.br +0 -0
- package/dist/public/assets/{_bzyyofyd2.js → _CHu5Km3j2.js} +1 -1
- package/dist/public/assets/_CHu5Km3j2.js.br +0 -0
- package/dist/public/assets/{_Dz0jY0m42.js → _CKqbHwCF2.js} +1 -1
- package/dist/public/assets/_CKqbHwCF2.js.br +0 -0
- package/dist/public/assets/{_Bv7d26Fi2.js → _CNW9dpu42.js} +1 -1
- package/dist/public/assets/_CNW9dpu42.js.br +0 -0
- package/dist/public/assets/{_Dmct9TiM.js → _CRtlCbY-.js} +1 -1
- package/dist/public/assets/_CRtlCbY-.js.br +0 -0
- package/dist/public/assets/{_CAXDYTcU.js → _CaZfk2zB.js} +1 -1
- package/dist/public/assets/_CaZfk2zB.js.br +0 -0
- package/dist/public/assets/{_B2p-Gk_h2.js → _CbFus18_2.js} +1 -1
- package/dist/public/assets/_CbFus18_2.js.br +0 -0
- package/dist/public/assets/{_CK6Y_nu02.js → _Cerr01H42.js} +1 -1
- package/dist/public/assets/_Cerr01H42.js.br +0 -0
- package/dist/public/assets/{_add36kcw.js → _Ch3aclh9.js} +1 -1
- package/dist/public/assets/_Ch3aclh9.js.br +0 -0
- package/dist/public/assets/{_-4uLyFkk2.js → _CnF5wkxz2.js} +1 -1
- package/dist/public/assets/_CnF5wkxz2.js.br +0 -0
- package/dist/public/assets/{_DuibtMJh.js → _CqgdIwou.js} +1 -1
- package/dist/public/assets/_CqgdIwou.js.br +0 -0
- package/dist/public/assets/{_6sn0vJvZ.js → _CvciVzJE.js} +1 -1
- package/dist/public/assets/_CvciVzJE.js.br +0 -0
- package/dist/public/assets/{_CnHoenY3.js → _Cwn2Dzif.js} +1 -1
- package/dist/public/assets/_Cwn2Dzif.js.br +0 -0
- package/dist/public/assets/{_BB6JnGn8.js → _CzGmg6J6.js} +1 -1
- package/dist/public/assets/_CzGmg6J6.js.br +0 -0
- package/dist/public/assets/{_FhaXp6fC2.js → _CzuNzNf52.js} +1 -1
- package/dist/public/assets/_CzuNzNf52.js.br +0 -0
- package/dist/public/assets/{_bKDAmi-82.js → _D0XB9M1F2.js} +1 -1
- package/dist/public/assets/_D0XB9M1F2.js.br +0 -0
- package/dist/public/assets/{_MuSMLCM3.js → _D3o4Rxbh.js} +1 -1
- package/dist/public/assets/_D3o4Rxbh.js.br +0 -0
- package/dist/public/assets/{_DOTpO7fW.js → _D8QuoF51.js} +1 -1
- package/dist/public/assets/_D8QuoF51.js.br +0 -0
- package/dist/public/assets/{_CJuXw-yU.js → _D8ZjEIBC.js} +1 -1
- package/dist/public/assets/_D8ZjEIBC.js.br +0 -0
- package/dist/public/assets/{_reVR5VkG.js → _D8kpusiR.js} +1 -1
- package/dist/public/assets/_D8kpusiR.js.br +0 -0
- package/dist/public/assets/{_DuQe1JMh.js → _D9Iriq-Y.js} +1 -1
- package/dist/public/assets/_D9Iriq-Y.js.br +0 -0
- package/dist/public/assets/{_D37AXv7r.js → _DCUcB2sk.js} +1 -1
- package/dist/public/assets/_DCUcB2sk.js.br +0 -0
- package/dist/public/assets/{_B1WdcSZg.js → _DI8J66CZ.js} +1 -1
- package/dist/public/assets/_DI8J66CZ.js.br +0 -0
- package/dist/public/assets/{_By8sbq8t.js → _DPjHjfD8.js} +1 -1
- package/dist/public/assets/_DPjHjfD8.js.br +0 -0
- package/dist/public/assets/{_DbbH1iIb2.js → _DYN4MZjM2.js} +1 -1
- package/dist/public/assets/_DYN4MZjM2.js.br +0 -0
- package/dist/public/assets/{_lRXSQmR6.js → _D_7Jyml2.js} +1 -1
- package/dist/public/assets/_D_7Jyml2.js.br +0 -0
- package/dist/public/assets/{_BQzt8gQO.js → _D_Ut2Ol9.js} +1 -1
- package/dist/public/assets/_D_Ut2Ol9.js.br +0 -0
- package/dist/public/assets/{_tJnEccOk2.js → _DdeqfoDq2.js} +1 -1
- package/dist/public/assets/_DdeqfoDq2.js.br +0 -0
- package/dist/public/assets/{__OFelAWw.js → _Dfr7TISb.js} +1 -1
- package/dist/public/assets/_Dfr7TISb.js.br +0 -0
- package/dist/public/assets/{_BeMdtqMm2.js → _DkuBJFLN2.js} +1 -1
- package/dist/public/assets/_DkuBJFLN2.js.br +0 -0
- package/dist/public/assets/{_CK8_JQ-J.js → _DmknNPV-.js} +1 -1
- package/dist/public/assets/_DmknNPV-.js.br +0 -0
- package/dist/public/assets/{_Da02h1aJ2.js → _DyVuhWqf2.js} +1 -1
- package/dist/public/assets/_DyVuhWqf2.js.br +0 -0
- package/dist/public/assets/{_DdnViDFP.js → _DzyBRpRU.js} +1 -1
- package/dist/public/assets/_DzyBRpRU.js.br +0 -0
- package/dist/public/assets/{_CSMs4NeF.js → _E4WOoQhA.js} +1 -1
- package/dist/public/assets/_E4WOoQhA.js.br +0 -0
- package/dist/public/assets/{_4QTn6pgM.js → _Em_sWtVW.js} +46 -46
- package/dist/public/assets/_Em_sWtVW.js.br +0 -0
- package/dist/public/assets/{_DxdpRnU9.js → _FsklS6Cf.js} +1 -1
- package/dist/public/assets/_FsklS6Cf.js.br +0 -0
- package/dist/public/assets/{_DGJJBFwy.js → _Qqf8g1TK.js} +1 -1
- package/dist/public/assets/_Qqf8g1TK.js.br +0 -0
- package/dist/public/assets/{_ZZxaDa4e.js → _TPFL8bDN.js} +1 -1
- package/dist/public/assets/_TPFL8bDN.js.br +0 -0
- package/dist/public/assets/{_Cn__Rzhw.js → _a17toZcs.js} +1 -1
- package/dist/public/assets/_a17toZcs.js.br +0 -0
- package/dist/public/assets/{_Bh18hLqm2.js → _jEfYpM3E2.js} +1 -1
- package/dist/public/assets/_jEfYpM3E2.js.br +0 -0
- package/dist/public/assets/{_BiLvO1DD2.js → _koIBjoCI2.js} +1 -1
- package/dist/public/assets/{_bRfUNPeG.js → _mf72EOR_.js} +1 -1
- package/dist/public/assets/_mf72EOR_.js.br +0 -0
- package/dist/public/assets/{_ChXihsr_2.js → _tMvc_5W_2.js} +1 -1
- package/dist/public/assets/{_BQgBjW_z.js → _uVBAFIy8.js} +1 -1
- package/dist/public/assets/_uVBAFIy8.js.br +0 -0
- package/dist/public/assets/{_Do2X8dol.js → _vBAanm_x.js} +1 -1
- package/dist/public/assets/_vBAanm_x.js.br +0 -0
- package/dist/public/assets/{_DcSYeYey.js → _vE0bTBGo.js} +1 -1
- package/dist/public/assets/_vE0bTBGo.js.br +0 -0
- package/dist/public/assets/{_DTu7x41J.js → _xACnj4IY.js} +1 -1
- package/dist/public/assets/_xACnj4IY.js.br +0 -0
- package/dist/public/assets/{_CUPEXKrl.js → _xIRNtE1V.js} +1 -1
- package/dist/public/assets/_xIRNtE1V.js.br +0 -0
- package/dist/public/assets/{_BojsTanh2.js → _y6bl1mtk2.js} +1 -1
- package/dist/public/assets/_y6bl1mtk2.js.br +0 -0
- package/dist/public/assets/app-page-B1_16TZW.css +1 -0
- package/dist/public/assets/app-page-B1_16TZW.css.br +0 -0
- package/dist/public/assets/{diff-view-l__lAr2d.css → diff-view-CKc458jK.css} +1 -1
- package/dist/public/assets/diff-view-CKc458jK.css.br +0 -0
- package/dist/public/assets/new-BpwV-DKC.js +1 -0
- package/dist/public/assets/settings-BpwV-DKC.js +1 -0
- package/dist/public/assets/w-BpwV-DKC.js +1 -0
- package/dist/public/assets/w._-BpwV-DKC.js +1 -0
- package/dist/public/assets/w._-C0I_DcpJ.js +1 -0
- package/package.json +1 -1
- package/dist/public/assets/_-4uLyFkk2.js.br +0 -0
- package/dist/public/assets/_0ap9drti.js.br +0 -0
- package/dist/public/assets/_3-QozS0i.js.br +0 -0
- package/dist/public/assets/_4QTn6pgM.js.br +0 -0
- package/dist/public/assets/_6sn0vJvZ.js.br +0 -0
- package/dist/public/assets/_7EZIn6_b2.js.br +0 -0
- package/dist/public/assets/_9CNGJ9vT.js.br +0 -0
- package/dist/public/assets/_B1WdcSZg.js.br +0 -0
- package/dist/public/assets/_B2p-Gk_h2.js.br +0 -0
- package/dist/public/assets/_BB6JnGn8.js.br +0 -0
- package/dist/public/assets/_BQgBjW_z.js.br +0 -0
- package/dist/public/assets/_BQzt8gQO.js.br +0 -0
- package/dist/public/assets/_BTjvprBB2.js.br +0 -0
- package/dist/public/assets/_BWPWFQVh.js.br +0 -0
- package/dist/public/assets/_BdwOi-GZ.js.br +0 -0
- package/dist/public/assets/_BeMdtqMm2.js.br +0 -0
- package/dist/public/assets/_Bh18hLqm2.js.br +0 -0
- package/dist/public/assets/_BojsTanh2.js.br +0 -0
- package/dist/public/assets/_Bv7d26Fi2.js.br +0 -0
- package/dist/public/assets/_By8sbq8t.js.br +0 -0
- package/dist/public/assets/_C4TNH2ZM.js.br +0 -0
- package/dist/public/assets/_C7EUXi77.js +0 -85
- package/dist/public/assets/_C7EUXi77.js.br +0 -0
- package/dist/public/assets/_CAXDYTcU.js.br +0 -0
- package/dist/public/assets/_CBDLBvL52.js.br +0 -0
- package/dist/public/assets/_CJuXw-yU.js.br +0 -0
- package/dist/public/assets/_CK6Y_nu02.js.br +0 -0
- package/dist/public/assets/_CK8_JQ-J.js.br +0 -0
- package/dist/public/assets/_CM1DnGXf2.js.br +0 -0
- package/dist/public/assets/_CS7v5Ou6.js.br +0 -0
- package/dist/public/assets/_CSMs4NeF.js.br +0 -0
- package/dist/public/assets/_CUPEXKrl.js.br +0 -0
- package/dist/public/assets/_CWWMMUQ2.js.br +0 -0
- package/dist/public/assets/_CbLNY8O12.js.br +0 -0
- package/dist/public/assets/_CmDw7YCz.js.br +0 -0
- package/dist/public/assets/_CnHoenY3.js.br +0 -0
- package/dist/public/assets/_Cn__Rzhw.js.br +0 -0
- package/dist/public/assets/_D0KXsxOT.js.br +0 -0
- package/dist/public/assets/_D37AXv7r.js.br +0 -0
- package/dist/public/assets/_DBqph3js.js.br +0 -0
- package/dist/public/assets/_DDwgXS0M.js.br +0 -0
- package/dist/public/assets/_DGJJBFwy.js.br +0 -0
- package/dist/public/assets/_DOTpO7fW.js.br +0 -0
- package/dist/public/assets/_DTu7x41J.js.br +0 -0
- package/dist/public/assets/_D_SSjw-p2.js.br +0 -0
- package/dist/public/assets/_Da02h1aJ2.js.br +0 -0
- package/dist/public/assets/_DbbH1iIb2.js.br +0 -0
- package/dist/public/assets/_DcSYeYey.js.br +0 -0
- package/dist/public/assets/_DdnViDFP.js.br +0 -0
- package/dist/public/assets/_DfnV6slB.js.br +0 -0
- package/dist/public/assets/_Dmct9TiM.js.br +0 -0
- package/dist/public/assets/_Do2X8dol.js.br +0 -0
- package/dist/public/assets/_DuQe1JMh.js.br +0 -0
- package/dist/public/assets/_DuibtMJh.js.br +0 -0
- package/dist/public/assets/_DxdpRnU9.js.br +0 -0
- package/dist/public/assets/_Dz0jY0m42.js.br +0 -0
- package/dist/public/assets/_EoqXooxT2.js.br +0 -0
- package/dist/public/assets/_FhaXp6fC2.js.br +0 -0
- package/dist/public/assets/_FtJI7TqL2.js.br +0 -0
- package/dist/public/assets/_MuSMLCM3.js.br +0 -0
- package/dist/public/assets/_RcUvSExn.js.br +0 -0
- package/dist/public/assets/_VHLalE0r.js.br +0 -0
- package/dist/public/assets/_ZZxaDa4e.js.br +0 -0
- package/dist/public/assets/__OFelAWw.js.br +0 -0
- package/dist/public/assets/_aUMNXFec.js.br +0 -0
- package/dist/public/assets/_add36kcw.js.br +0 -0
- package/dist/public/assets/_bKDAmi-82.js.br +0 -0
- package/dist/public/assets/_bRfUNPeG.js.br +0 -0
- package/dist/public/assets/_bzyyofyd2.js.br +0 -0
- package/dist/public/assets/_gJJKIoXJ.js.br +0 -0
- package/dist/public/assets/_lRXSQmR6.js.br +0 -0
- package/dist/public/assets/_reVR5VkG.js.br +0 -0
- package/dist/public/assets/_tJnEccOk2.js.br +0 -0
- package/dist/public/assets/_xROUdW2l.js.br +0 -0
- package/dist/public/assets/app-page-Br2mpp1y.css +0 -1
- package/dist/public/assets/app-page-Br2mpp1y.css.br +0 -0
- package/dist/public/assets/diff-view-l__lAr2d.css.br +0 -0
- package/dist/public/assets/new-CwwrA15U.js +0 -1
- package/dist/public/assets/settings-CwwrA15U.js +0 -1
- package/dist/public/assets/w-CwwrA15U.js +0 -1
- package/dist/public/assets/w._-CwwrA15U.js +0 -1
- package/dist/public/assets/w._-CyPkgfCF.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
|
|
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 "./_C_EF8rh-.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { createServer } from "node:http";
|
|
6
6
|
import path from "node:path";
|
|
@@ -3694,7 +3694,7 @@ function applyInstance(inst) {
|
|
|
3694
3694
|
}
|
|
3695
3695
|
//#endregion
|
|
3696
3696
|
//#region src/tags/settings-page.css.ts
|
|
3697
|
-
var content$2 = "_ca
|
|
3697
|
+
var content$2 = "_ca _8 _9";
|
|
3698
3698
|
var agentGrid = "_ce _bv";
|
|
3699
3699
|
var toolGrid = "_co _bv";
|
|
3700
3700
|
//#endregion
|
|
@@ -3702,18 +3702,18 @@ var toolGrid = "_co _bv";
|
|
|
3702
3702
|
var page_head_default = _template("q", (input) => {
|
|
3703
3703
|
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);
|
|
3704
3704
|
const $scope0_id = _scope_id();
|
|
3705
|
-
_html(`<header${_attr_class("
|
|
3705
|
+
_html(`<header${_attr_class("__")}>`);
|
|
3706
3706
|
_if(() => {
|
|
3707
3707
|
if (input.backHref) {
|
|
3708
3708
|
const $scope1_id = _scope_id();
|
|
3709
|
-
_html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "
|
|
3709
|
+
_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")}>`);
|
|
3710
3710
|
icon_back_default({ size: 16 });
|
|
3711
3711
|
_html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 0))}`);
|
|
3712
3712
|
_serialize_if($scope0_reason, 2) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 0) && _scope_with_id($scope0_id) });
|
|
3713
3713
|
return 0;
|
|
3714
3714
|
} else if (input.onBack) {
|
|
3715
3715
|
const $scope2_id = _scope_id();
|
|
3716
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
3716
|
+
_html(`<button${_attr_class([iconBtnRow, "_cR"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
3717
3717
|
icon_back_default({ size: 16 });
|
|
3718
3718
|
_html(`</button>${_el_resume($scope2_id, "a")}`);
|
|
3719
3719
|
_script($scope2_id, "q0");
|
|
@@ -3721,11 +3721,11 @@ var page_head_default = _template("q", (input) => {
|
|
|
3721
3721
|
return 1;
|
|
3722
3722
|
}
|
|
3723
3723
|
}, $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);
|
|
3724
|
-
_html(`<div${_attr_class("
|
|
3724
|
+
_html(`<div${_attr_class("_bb")}><h1${_attr("id", input.titleId)}${_attr_class("_ba")}>${_escape(input.title)}${_el_resume($scope0_id, "e", _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
|
|
3725
3725
|
_if(() => {
|
|
3726
3726
|
if (input.meta) {
|
|
3727
3727
|
const $scope3_id = _scope_id();
|
|
3728
|
-
_html(`<p${_attr_class("
|
|
3728
|
+
_html(`<p${_attr_class("_bc")}>`);
|
|
3729
3729
|
_dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
|
|
3730
3730
|
_html("</p>");
|
|
3731
3731
|
$si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -3736,7 +3736,7 @@ var page_head_default = _template("q", (input) => {
|
|
|
3736
3736
|
_if(() => {
|
|
3737
3737
|
if (input.actions) {
|
|
3738
3738
|
const $scope4_id = _scope_id();
|
|
3739
|
-
_html(`<div${_attr_class("
|
|
3739
|
+
_html(`<div${_attr_class("_bd")}>`);
|
|
3740
3740
|
_dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
3741
3741
|
_html("</div>");
|
|
3742
3742
|
$si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -3804,7 +3804,24 @@ var icon_agent_default = _template("F", (input) => {
|
|
|
3804
3804
|
n: $badge__closures
|
|
3805
3805
|
});
|
|
3806
3806
|
});
|
|
3807
|
-
var usageNote = "
|
|
3807
|
+
var usageNote = "_eR _S";
|
|
3808
|
+
//#endregion
|
|
3809
|
+
//#region src/tags/icons/icon-warning.marko
|
|
3810
|
+
var icon_warning_default = _template("hb", (input) => {
|
|
3811
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
3812
|
+
const $scope0_id = _scope_id();
|
|
3813
|
+
_set_serialize_reason({
|
|
3814
|
+
0: $sg__input_size__OR__input_class,
|
|
3815
|
+
1: $sg__input_size__OR__input_class
|
|
3816
|
+
});
|
|
3817
|
+
const $childScope = _peek_scope_id();
|
|
3818
|
+
icon_base_default({
|
|
3819
|
+
d: "M20.0429 21H3.95705C2.41902 21 1.45658 19.3364 2.22324 18.0031L10.2662 4.01533C11.0352 2.67792 12.9648 2.67791 13.7338 4.01532L21.7768 18.0031C22.5434 19.3364 21.581 21 20.0429 21Z M12 9V13 M12 17.01L12.01 16.9989",
|
|
3820
|
+
size: input.size,
|
|
3821
|
+
class: input.class
|
|
3822
|
+
});
|
|
3823
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
3824
|
+
});
|
|
3808
3825
|
//#endregion
|
|
3809
3826
|
//#region src/tags/usage-meters.marko
|
|
3810
3827
|
function duration(ms) {
|
|
@@ -3828,11 +3845,11 @@ var usage_meters_default = _template("C", (input) => {
|
|
|
3828
3845
|
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);
|
|
3829
3846
|
const $scope0_id = _scope_id();
|
|
3830
3847
|
const agent = input.agent;
|
|
3831
|
-
_html(`<div${_attr_class(["
|
|
3848
|
+
_html(`<div${_attr_class(["_eL", { ["_eM"]: input.hideName }])}><div${_attr_class("_eN")}>`);
|
|
3832
3849
|
_if(() => {
|
|
3833
3850
|
if (!input.hideName) {
|
|
3834
3851
|
const $scope1_id = _scope_id();
|
|
3835
|
-
_html(`<strong${_attr_class("
|
|
3852
|
+
_html(`<strong${_attr_class("_e6")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
|
|
3836
3853
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
3837
3854
|
return 0;
|
|
3838
3855
|
}
|
|
@@ -3840,7 +3857,7 @@ var usage_meters_default = _template("C", (input) => {
|
|
|
3840
3857
|
_if(() => {
|
|
3841
3858
|
if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
|
|
3842
3859
|
const $scope2_id = _scope_id();
|
|
3843
|
-
_html(`<span${_attr_class("
|
|
3860
|
+
_html(`<span${_attr_class("_eO")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
|
|
3844
3861
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
3845
3862
|
return 0;
|
|
3846
3863
|
}
|
|
@@ -3848,20 +3865,35 @@ var usage_meters_default = _template("C", (input) => {
|
|
|
3848
3865
|
_if(() => {
|
|
3849
3866
|
if (agent.stale_seconds != null) {
|
|
3850
3867
|
const $scope3_id = _scope_id();
|
|
3851
|
-
_html(`<span${_attr_class("
|
|
3868
|
+
_html(`<span${_attr_class("_eP")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
|
|
3869
|
+
icon_warning_default({ size: 12 });
|
|
3870
|
+
_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)}`);
|
|
3852
3871
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
3853
3872
|
return 0;
|
|
3854
3873
|
}
|
|
3855
3874
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
3856
|
-
_html(`</div><div${_attr_class(["
|
|
3875
|
+
_html(`</div><div${_attr_class(["_eQ", { ["_e7"]: agent.stale_seconds != null }])}>`);
|
|
3857
3876
|
_for_of(agent.windows || [], (win) => {
|
|
3858
3877
|
const $scope4_id = _scope_id();
|
|
3859
3878
|
const pct = pctText$1(win.used_percent);
|
|
3860
3879
|
const label = resetLabel(win.resets_at, agent.stale_seconds != null);
|
|
3861
|
-
const fillClass = win.used_percent >= 90 ? "
|
|
3862
|
-
const pctClass = win.used_percent >= 90 ? "
|
|
3863
|
-
_html(`<div${_attr_class("
|
|
3864
|
-
|
|
3880
|
+
const fillClass = win.used_percent >= 90 ? "_eZ" : win.used_percent >= 70 ? "_eY" : win.used_percent >= 40 ? "_eX" : "_eW";
|
|
3881
|
+
const pctClass = win.used_percent >= 90 ? "_e4" : win.used_percent >= 70 ? "_e3" : win.used_percent >= 40 ? "_e2" : "_e1";
|
|
3882
|
+
_html(`<div${_attr_class("_eS")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_eT")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_eU")}><span${_attr_class(["_eV", 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(["_e0", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_e5")}>`);
|
|
3883
|
+
_if(() => {
|
|
3884
|
+
if (label) {
|
|
3885
|
+
const $scope6_id = _scope_id();
|
|
3886
|
+
icon_refresh_default({ size: 12 });
|
|
3887
|
+
_html(` ${_sep($sg__input_agent)}${_escape(label)}${_el_resume($scope6_id, "b", $sg__input_agent)}`);
|
|
3888
|
+
$si__input_agent && writeScope($scope6_id, { _: _scope_with_id($scope4_id) });
|
|
3889
|
+
return 0;
|
|
3890
|
+
}
|
|
3891
|
+
}, $scope4_id, "h", $sg__input_agent, $sg__input_agent, $sg__input_agent, "</span>");
|
|
3892
|
+
_html(`</div>${_el_resume($scope4_id, "a", $sg__input_agent)}`);
|
|
3893
|
+
$si__input_agent && writeScope($scope4_id, {
|
|
3894
|
+
q: label,
|
|
3895
|
+
_: _scope_with_id($scope0_id)
|
|
3896
|
+
});
|
|
3865
3897
|
}, "window", $scope0_id, "g", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
3866
3898
|
_if(() => {
|
|
3867
3899
|
if (agent.note) {
|
|
@@ -3926,14 +3958,14 @@ var sso_auth_default = _template("y", (input) => {
|
|
|
3926
3958
|
localCode = null;
|
|
3927
3959
|
}
|
|
3928
3960
|
}, "y0", $scope0_id);
|
|
3929
|
-
_html(`<div${_attr_class("
|
|
3961
|
+
_html(`<div${_attr_class("_e_")}>`);
|
|
3930
3962
|
_if(() => {
|
|
3931
3963
|
if (input.items.length) {
|
|
3932
3964
|
const $scope1_id = _scope_id();
|
|
3933
|
-
_html(`<p${_attr_class("
|
|
3965
|
+
_html(`<p${_attr_class("_fk")}>GitHub CLI needs org SSO for ${_sep($sg__input_items)}${_escape(input.items.map((s) => s.org).join(", "))}${_el_resume($scope1_id, "b", $sg__input_items)}.</p><ul${_attr_class("_fa")}>`);
|
|
3934
3966
|
_for_of(input.items, (s) => {
|
|
3935
3967
|
const $scope2_id = _scope_id();
|
|
3936
|
-
_html(`<li${_attr_class("
|
|
3968
|
+
_html(`<li${_attr_class("_fb")}>${_escape(s.org)}${_el_resume($scope2_id, "b", $sg__input_items)}<button type=button${_attr_class("_fc")}${_attr("title", `Skip ${s.org}`)}${_attr("aria-label", `Skip ${s.org}`)}${_attr("disabled", busy)}>`);
|
|
3937
3969
|
icon_xmark_default({ size: 11 });
|
|
3938
3970
|
_html(`</button>${_el_resume($scope2_id, "c")}</li>`);
|
|
3939
3971
|
_script($scope2_id, "y1");
|
|
@@ -3942,17 +3974,17 @@ var sso_auth_default = _template("y", (input) => {
|
|
|
3942
3974
|
_: _scope_with_id($scope1_id)
|
|
3943
3975
|
}));
|
|
3944
3976
|
}, "org", $scope1_id, "c", $sg__input_items, $sg__input_items, $sg__input_items, "</ul>", 1);
|
|
3945
|
-
_html(`<div${_attr_class("
|
|
3977
|
+
_html(`<div${_attr_class("_fd")}>`);
|
|
3946
3978
|
_if(() => {
|
|
3947
3979
|
if (busy && authCode$2) {
|
|
3948
3980
|
const $scope5_id = _scope_id();
|
|
3949
|
-
_html(`<span${_attr_class("
|
|
3981
|
+
_html(`<span${_attr_class("_fe")}><span${_attr_class("_F")}></span> Enter code <strong${_attr_class("_ff")}>${_escape(authCode$2)}${_el_resume($scope5_id, "d")}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_fg")}>${_escape(host)}${_el_resume($scope5_id, "f", _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope5_id, "e")}</span>`);
|
|
3950
3982
|
_script($scope5_id, "y2");
|
|
3951
3983
|
_subscribe($authCode__closures, _subscribe($si__input_items_0_host && $host__closures, writeScope($scope5_id, {})));
|
|
3952
3984
|
return 0;
|
|
3953
3985
|
} else if (busy) {
|
|
3954
3986
|
const $scope8_id = _scope_id();
|
|
3955
|
-
_html(`<span${_attr_class("
|
|
3987
|
+
_html(`<span${_attr_class("_fe")}><span${_attr_class("_F")}></span>Starting GitHub re-authorization…</span>`);
|
|
3956
3988
|
writeScope($scope8_id, {});
|
|
3957
3989
|
return 1;
|
|
3958
3990
|
} else {
|
|
@@ -3966,7 +3998,7 @@ var sso_auth_default = _template("y", (input) => {
|
|
|
3966
3998
|
_if(() => {
|
|
3967
3999
|
if (localError) {
|
|
3968
4000
|
const $scope6_id = _scope_id();
|
|
3969
|
-
_html(`<p${_attr_class("
|
|
4001
|
+
_html(`<p${_attr_class("_fk")}>${_escape(localError)}${_el_resume($scope6_id, "b")}</p>`);
|
|
3970
4002
|
_subscribe($localError__closures, writeScope($scope6_id, {}));
|
|
3971
4003
|
return 0;
|
|
3972
4004
|
}
|
|
@@ -3978,10 +4010,10 @@ var sso_auth_default = _template("y", (input) => {
|
|
|
3978
4010
|
_if(() => {
|
|
3979
4011
|
if (skipped$1.length) {
|
|
3980
4012
|
const $scope3_id = _scope_id();
|
|
3981
|
-
_html(`<p${_attr_class("
|
|
4013
|
+
_html(`<p${_attr_class("_fh")}>Skipped SSO for `);
|
|
3982
4014
|
_for_of(skipped$1, (s) => {
|
|
3983
4015
|
const $scope4_id = _scope_id();
|
|
3984
|
-
_html(`<span${_attr_class("
|
|
4016
|
+
_html(`<span${_attr_class("_fi")}>${_escape(s.org)}${_el_resume($scope4_id, "b", $sg__input_skipped)}<button type=button${_attr_class("_fj")}${_attr("title", `Show ${s.org} again`)}>(undo)</button>${_el_resume($scope4_id, "c")}</span>`);
|
|
3985
4017
|
_script($scope4_id, "y4");
|
|
3986
4018
|
writeScope($scope4_id, {
|
|
3987
4019
|
f: s?.org,
|
|
@@ -4018,7 +4050,7 @@ var sso_auth_default = _template("y", (input) => {
|
|
|
4018
4050
|
});
|
|
4019
4051
|
//#endregion
|
|
4020
4052
|
//#region src/tags/icons/icon-plus.marko
|
|
4021
|
-
var icon_plus_default = _template("
|
|
4053
|
+
var icon_plus_default = _template("ab", (input) => {
|
|
4022
4054
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
4023
4055
|
const $scope0_id = _scope_id();
|
|
4024
4056
|
_set_serialize_reason({
|
|
@@ -4056,7 +4088,7 @@ var modal_view_default = _template("o", (input) => {
|
|
|
4056
4088
|
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;
|
|
4057
4089
|
const dismissable = input.dismissable !== false;
|
|
4058
4090
|
let open = input.open;
|
|
4059
|
-
_html(`<dialog${_attr_class(["
|
|
4091
|
+
_html(`<dialog${_attr_class(["_f0", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
|
|
4060
4092
|
...htmlInput,
|
|
4061
4093
|
open: null
|
|
4062
4094
|
}, {
|
|
@@ -4066,20 +4098,20 @@ var modal_view_default = _template("o", (input) => {
|
|
|
4066
4098
|
closedby: 1,
|
|
4067
4099
|
"on-cancel": 1,
|
|
4068
4100
|
"on-close": 1
|
|
4069
|
-
}, "a", $scope0_id, "dialog")}><div${_attr_class("
|
|
4101
|
+
}, "a", $scope0_id, "dialog")}><div${_attr_class("_f1")}>`);
|
|
4070
4102
|
_dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
|
|
4071
4103
|
_html("</div>");
|
|
4072
4104
|
_if(() => {
|
|
4073
4105
|
if (footer) {
|
|
4074
4106
|
const $scope1_id = _scope_id();
|
|
4075
|
-
_html(`<form method=dialog${_attr_class("
|
|
4107
|
+
_html(`<form method=dialog${_attr_class("_f2")}>`);
|
|
4076
4108
|
_dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
|
|
4077
4109
|
_html("</form>");
|
|
4078
4110
|
$si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
|
|
4079
4111
|
return 0;
|
|
4080
4112
|
} else if (input.openChange) {
|
|
4081
4113
|
const $scope2_id = _scope_id();
|
|
4082
|
-
_html(`<form method=dialog${_attr_class("
|
|
4114
|
+
_html(`<form method=dialog${_attr_class("_f2")}>`);
|
|
4083
4115
|
dialog_close_default({
|
|
4084
4116
|
class: ["_o", "_p"],
|
|
4085
4117
|
content: _content("o0", () => {
|
|
@@ -4138,7 +4170,7 @@ var prompt_dialog_default = _template("r", (input) => {
|
|
|
4138
4170
|
const $childScope = _peek_scope_id();
|
|
4139
4171
|
modal_view_default({
|
|
4140
4172
|
label: input.label,
|
|
4141
|
-
class: "
|
|
4173
|
+
class: "_e8",
|
|
4142
4174
|
open: input.open,
|
|
4143
4175
|
openChange: input.openChange,
|
|
4144
4176
|
"aria-labelledby": titleId,
|
|
@@ -4161,7 +4193,7 @@ var prompt_dialog_default = _template("r", (input) => {
|
|
|
4161
4193
|
content: _content("r6", () => {
|
|
4162
4194
|
_scope_reason();
|
|
4163
4195
|
const $scope2_id = _scope_id();
|
|
4164
|
-
_html(`<h2${_attr_class("
|
|
4196
|
+
_html(`<h2${_attr_class("_e9")}${_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) => {
|
|
4165
4197
|
value = _new_value;
|
|
4166
4198
|
}, "r0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
|
|
4167
4199
|
_script($scope2_id, "r4");
|
|
@@ -4471,7 +4503,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4471
4503
|
const appearanceId = _id();
|
|
4472
4504
|
const githubId = _id();
|
|
4473
4505
|
const machineId = _id();
|
|
4474
|
-
_html(`<div${_attr_class("
|
|
4506
|
+
_html(`<div${_attr_class("_6")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_7")}><div${_attr_class(content$2)}>`);
|
|
4475
4507
|
_set_serialize_reason({
|
|
4476
4508
|
0: _serialize_guard($scope0_reason, 4),
|
|
4477
4509
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -5005,7 +5037,9 @@ var settings_page_default = _template("u", (input) => {
|
|
|
5005
5037
|
return 0;
|
|
5006
5038
|
} else if (self.latest && self.latest !== self.version) {
|
|
5007
5039
|
const $scope42_id = _scope_id();
|
|
5008
|
-
_html(`<button${_attr_class([btnSm, "_cs"])}${_attr("title", `Update work to v${self.latest} and restart`)}
|
|
5040
|
+
_html(`<button${_attr_class([btnSm, "_cs"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
|
|
5041
|
+
icon_arrow_up_default({ size: 12 });
|
|
5042
|
+
_html(` <!>${_escape(self.latest)}${_el_resume($scope42_id, "c")}</button>${_el_resume($scope42_id, "a")}`);
|
|
5009
5043
|
_script($scope42_id, "u46");
|
|
5010
5044
|
_subscribe($self_latest__closures, writeScope($scope42_id, { Ce9: 3 }));
|
|
5011
5045
|
return 1;
|
|
@@ -5070,7 +5104,9 @@ var settings_page_default = _template("u", (input) => {
|
|
|
5070
5104
|
_if(() => {
|
|
5071
5105
|
if (outdated(t)) {
|
|
5072
5106
|
const $scope46_id = _scope_id();
|
|
5073
|
-
_html(`<button${_attr_class([btnSm, "_cs"])}${_attr("title", `Update to v${t.latest}`)}
|
|
5107
|
+
_html(`<button${_attr_class([btnSm, "_cs"])}${_attr("title", `Update to v${t.latest}`)}>`);
|
|
5108
|
+
icon_arrow_up_default({ size: 12 });
|
|
5109
|
+
_html(` <!>${_escape(t.latest)}${_el_resume($scope46_id, "c")}</button>${_el_resume($scope46_id, "a")}`);
|
|
5074
5110
|
_script($scope46_id, "u48");
|
|
5075
5111
|
_subscribe($for_content5__t_latest__closures, writeScope($scope46_id, {}));
|
|
5076
5112
|
return 0;
|
|
@@ -5392,13 +5428,47 @@ var settings_page_default = _template("u", (input) => {
|
|
|
5392
5428
|
});
|
|
5393
5429
|
//#endregion
|
|
5394
5430
|
//#region src/tags/new-workspace.css.ts
|
|
5395
|
-
var content$1 = "_bI
|
|
5431
|
+
var content$1 = "_bI _8";
|
|
5396
5432
|
var section$1 = "_bM _bs";
|
|
5397
5433
|
var curBase = "_bR _T _S";
|
|
5398
5434
|
var archived = "_bW _bs";
|
|
5399
5435
|
var archivedHint = "_bX _S";
|
|
5400
5436
|
var archivedCard = "_bY _bx";
|
|
5401
|
-
|
|
5437
|
+
//#endregion
|
|
5438
|
+
//#region src/tags/icons/icon-check.marko
|
|
5439
|
+
var icon_check_default = _template("O", (input) => {
|
|
5440
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
5441
|
+
const $scope0_id = _scope_id();
|
|
5442
|
+
_set_serialize_reason({
|
|
5443
|
+
0: $sg__input_size__OR__input_class,
|
|
5444
|
+
1: $sg__input_size__OR__input_class
|
|
5445
|
+
});
|
|
5446
|
+
const $childScope = _peek_scope_id();
|
|
5447
|
+
icon_base_default({
|
|
5448
|
+
d: "M5 13L9 17L19 7",
|
|
5449
|
+
size: input.size,
|
|
5450
|
+
class: input.class
|
|
5451
|
+
});
|
|
5452
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
5453
|
+
});
|
|
5454
|
+
//#endregion
|
|
5455
|
+
//#region src/tags/icons/icon-branch.marko
|
|
5456
|
+
var icon_branch_default = _template("N", (input) => {
|
|
5457
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
5458
|
+
const $scope0_id = _scope_id();
|
|
5459
|
+
_set_serialize_reason({
|
|
5460
|
+
0: $sg__input_size__OR__input_class,
|
|
5461
|
+
1: $sg__input_size__OR__input_class
|
|
5462
|
+
});
|
|
5463
|
+
const $childScope = _peek_scope_id();
|
|
5464
|
+
icon_base_default({
|
|
5465
|
+
d: "M18 8C19.1046 8 20 7.10457 20 6C20 4.89543 19.1046 4 18 4C16.8954 4 16 4.89543 16 6C16 7.10457 16.8954 8 18 8Z M6 20C7.10457 20 8 19.1046 8 18C8 16.8954 7.10457 16 6 16C4.89543 16 4 16.8954 4 18C4 19.1046 4.89543 20 6 20Z M6 16V3 M8 18H9C12.5 18 18 15.9 18 9.5V8",
|
|
5466
|
+
size: input.size,
|
|
5467
|
+
class: input.class
|
|
5468
|
+
});
|
|
5469
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
5470
|
+
});
|
|
5471
|
+
var resultBranch = "_cZ _Z _j";
|
|
5402
5472
|
//#endregion
|
|
5403
5473
|
//#region src/tags/branch-pick.marko
|
|
5404
5474
|
var branch_pick_default = _template("d", (input) => {
|
|
@@ -5409,7 +5479,7 @@ var branch_pick_default = _template("d", (input) => {
|
|
|
5409
5479
|
let branches = null;
|
|
5410
5480
|
let defaultBranch = null;
|
|
5411
5481
|
let branchFilter = "";
|
|
5412
|
-
_html(`<div${_attr_class("
|
|
5482
|
+
_html(`<div${_attr_class("_c1")}>`);
|
|
5413
5483
|
_if(() => {
|
|
5414
5484
|
{
|
|
5415
5485
|
const $scope4_id = _scope_id();
|
|
@@ -5489,11 +5559,11 @@ var repo_picker_default = _template("s", (input) => {
|
|
|
5489
5559
|
const ignored = new Set(prefs$1?.ignoredSsoOrgs?.() ?? []);
|
|
5490
5560
|
return (catalog?.sso || []).filter((s) => !ignored.has(s.org));
|
|
5491
5561
|
})();
|
|
5492
|
-
_html(`<div${_attr_class("
|
|
5562
|
+
_html(`<div${_attr_class("_cS")}>`);
|
|
5493
5563
|
_if(() => {
|
|
5494
5564
|
if (ssoPending.length) {
|
|
5495
5565
|
const $scope7_id = _scope_id();
|
|
5496
|
-
_html(`<div${_attr_class("
|
|
5566
|
+
_html(`<div${_attr_class("_cT")}>`);
|
|
5497
5567
|
_set_serialize_reason(154);
|
|
5498
5568
|
const $childScope = _peek_scope_id();
|
|
5499
5569
|
sso_auth_default({
|
|
@@ -5523,22 +5593,38 @@ var repo_picker_default = _template("s", (input) => {
|
|
|
5523
5593
|
_if(() => {
|
|
5524
5594
|
if (pasted) {
|
|
5525
5595
|
const $scope1_id = _scope_id();
|
|
5526
|
-
_html(`<ul${_attr_class("
|
|
5596
|
+
_html(`<ul${_attr_class("_cU")}><li><div${_attr_class(["_cW", "_cV"])}><button${_attr_class("_cX")}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
|
|
5527
5597
|
icon_plus_default({
|
|
5528
5598
|
size: 12,
|
|
5529
|
-
class: "
|
|
5599
|
+
class: "_c3"
|
|
5530
5600
|
});
|
|
5531
|
-
_html(`<span${_attr_class("
|
|
5601
|
+
_html(`<span${_attr_class("_c4")}>${_escape(repoLabel(pasted))}${_el_resume($scope1_id, "f")}</span></button>${_el_resume($scope1_id, "c")}`);
|
|
5532
5602
|
_if(() => {
|
|
5533
5603
|
if (pastedForkable) {
|
|
5534
5604
|
const $scope8_id = _scope_id();
|
|
5535
|
-
_html(`<button${_attr_class(["
|
|
5605
|
+
_html(`<button${_attr_class(["_c0", { ["_cY"]: 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"}>`);
|
|
5606
|
+
_if(() => {
|
|
5607
|
+
if (pasteWillFork) {
|
|
5608
|
+
const $scope10_id = _scope_id();
|
|
5609
|
+
icon_check_default({ size: 12 });
|
|
5610
|
+
_html(" fork");
|
|
5611
|
+
writeScope($scope10_id, {});
|
|
5612
|
+
return 0;
|
|
5613
|
+
} else {
|
|
5614
|
+
const $scope11_id = _scope_id();
|
|
5615
|
+
_html("Fork");
|
|
5616
|
+
writeScope($scope11_id, {});
|
|
5617
|
+
return 1;
|
|
5618
|
+
}
|
|
5619
|
+
}, $scope8_id, "a", 1, 1, 1, "</button>");
|
|
5536
5620
|
_script($scope8_id, "s13");
|
|
5537
5621
|
_subscribe($pasteWillFork__closures, _subscribe($pasted__closures, writeScope($scope8_id, { Cao: 1 })));
|
|
5538
5622
|
return 0;
|
|
5539
5623
|
}
|
|
5540
5624
|
}, $scope1_id, "g", 1, 1, 1, 0, 1);
|
|
5541
|
-
_html(`<button${_attr_class([resultBranch, { ["
|
|
5625
|
+
_html(`<button${_attr_class([resultBranch, { ["_cY"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
|
|
5626
|
+
icon_branch_default({ size: 12 });
|
|
5627
|
+
_html(`</button>${_el_resume($scope1_id, "h")}</div>`);
|
|
5542
5628
|
_if(() => {
|
|
5543
5629
|
if (branchesFor === pasted) {
|
|
5544
5630
|
const $scope2_id = _scope_id();
|
|
@@ -5556,7 +5642,7 @@ var repo_picker_default = _template("s", (input) => {
|
|
|
5556
5642
|
_subscribe($pasted__closures, _subscribe($si__input_onError && $input_onError__closures, writeScope($scope2_id, { a: _existing_scope($childScope2) })));
|
|
5557
5643
|
return 0;
|
|
5558
5644
|
}
|
|
5559
|
-
}, $scope1_id, "
|
|
5645
|
+
}, $scope1_id, "j", 1, 1, 1, 0, 1);
|
|
5560
5646
|
_html("</li></ul>");
|
|
5561
5647
|
_script($scope1_id, "s14");
|
|
5562
5648
|
writeScope($scope1_id, {});
|
|
@@ -5571,15 +5657,17 @@ var repo_picker_default = _template("s", (input) => {
|
|
|
5571
5657
|
_if(() => {
|
|
5572
5658
|
if (results.length) {
|
|
5573
5659
|
const $scope3_id = _scope_id();
|
|
5574
|
-
_html(`<ul${_attr_class("
|
|
5660
|
+
_html(`<ul${_attr_class("_cU")}>`);
|
|
5575
5661
|
_for_of(results, (repo, i) => {
|
|
5576
5662
|
const $scope4_id = _scope_id();
|
|
5577
|
-
_html(`<li><div${_attr_class(["
|
|
5663
|
+
_html(`<li><div${_attr_class(["_cW", { ["_cV"]: i === highlight }])}><button${_attr_class("_cX")}>`);
|
|
5578
5664
|
icon_plus_default({
|
|
5579
5665
|
size: 12,
|
|
5580
|
-
class: "
|
|
5666
|
+
class: "_c3"
|
|
5581
5667
|
});
|
|
5582
|
-
_html(`<span${_attr_class("
|
|
5668
|
+
_html(`<span${_attr_class("_c4")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope4_id, "e")}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_cY"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
|
|
5669
|
+
icon_branch_default({ size: 12 });
|
|
5670
|
+
_html(`</button>${_el_resume($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
|
|
5583
5671
|
_if(() => {
|
|
5584
5672
|
if (branchesFor === repo.nameWithOwner) {
|
|
5585
5673
|
const $scope5_id = _scope_id();
|
|
@@ -5600,12 +5688,12 @@ var repo_picker_default = _template("s", (input) => {
|
|
|
5600
5688
|
}));
|
|
5601
5689
|
return 0;
|
|
5602
5690
|
}
|
|
5603
|
-
}, $scope4_id, "
|
|
5691
|
+
}, $scope4_id, "h", 1, 1, 1, 0, 1);
|
|
5604
5692
|
_html("</li>");
|
|
5605
5693
|
_script($scope4_id, "s15");
|
|
5606
5694
|
_subscribe($branchesFor__closures, _subscribe($highlight__closures, writeScope($scope4_id, {
|
|
5607
|
-
|
|
5608
|
-
|
|
5695
|
+
k: repo?.nameWithOwner,
|
|
5696
|
+
m: i
|
|
5609
5697
|
})));
|
|
5610
5698
|
}, "nameWithOwner", $scope3_id, "a", 1, 1, 1, "</ul>", 1);
|
|
5611
5699
|
writeScope($scope3_id, {});
|
|
@@ -5753,7 +5841,7 @@ var new_workspace_default = _template("p", (input) => {
|
|
|
5753
5841
|
}
|
|
5754
5842
|
}, "p6", $scope0_id);
|
|
5755
5843
|
const titleId = _id();
|
|
5756
|
-
_html(`<div${_attr_class("
|
|
5844
|
+
_html(`<div${_attr_class("_6")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_7")}><div${_attr_class(content$1)}>`);
|
|
5757
5845
|
_set_serialize_reason({
|
|
5758
5846
|
0: _serialize_guard($scope0_reason, 2),
|
|
5759
5847
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -5808,7 +5896,21 @@ var new_workspace_default = _template("p", (input) => {
|
|
|
5808
5896
|
_if(() => {
|
|
5809
5897
|
if (repo.fork !== void 0) {
|
|
5810
5898
|
const $scope3_id = _scope_id();
|
|
5811
|
-
_html(`<button${_attr_class(["_bS", { ["_bQ"]: repo.fork }])}${repo.fork ? _attr("title", `${repo.fullName} will be forked to your account; click to clone as-is instead`) : _attr("title", `Fork ${repo.fullName} to your account and clone the fork`)} aria-pressed=${repo.fork ? "true" : "false"}${_attr("disabled", busy)}
|
|
5899
|
+
_html(`<button${_attr_class(["_bS", { ["_bQ"]: repo.fork }])}${repo.fork ? _attr("title", `${repo.fullName} will be forked to your account; click to clone as-is instead`) : _attr("title", `Fork ${repo.fullName} to your account and clone the fork`)} aria-pressed=${repo.fork ? "true" : "false"}${_attr("disabled", busy)}>`);
|
|
5900
|
+
_if(() => {
|
|
5901
|
+
if (repo.fork) {
|
|
5902
|
+
const $scope12_id = _scope_id();
|
|
5903
|
+
icon_check_default({ size: 12 });
|
|
5904
|
+
_html(" fork");
|
|
5905
|
+
writeScope($scope12_id, {});
|
|
5906
|
+
return 0;
|
|
5907
|
+
} else {
|
|
5908
|
+
const $scope13_id = _scope_id();
|
|
5909
|
+
_html("fork");
|
|
5910
|
+
writeScope($scope13_id, {});
|
|
5911
|
+
return 1;
|
|
5912
|
+
}
|
|
5913
|
+
}, $scope3_id, "a", 1, 1, 1, "</button>");
|
|
5812
5914
|
_script($scope3_id, "p16");
|
|
5813
5915
|
_subscribe($busy__closures, writeScope($scope3_id, {}));
|
|
5814
5916
|
return 0;
|
|
@@ -5818,9 +5920,11 @@ var new_workspace_default = _template("p", (input) => {
|
|
|
5818
5920
|
curBase,
|
|
5819
5921
|
"_x",
|
|
5820
5922
|
{ ["_bQ"]: branchesFor === repo.fullName }
|
|
5821
|
-
])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}
|
|
5923
|
+
])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}>`);
|
|
5924
|
+
icon_branch_default({ size: 12 });
|
|
5925
|
+
_html(`<!>${repo.baseBranch ? ` ${_escape(`${_to_text(repo.baseBranch)}`)}` : ""}${_el_resume($scope2_id, "g")}</button>${_el_resume($scope2_id, "e")}<button${_attr_class([iconBtnXs, "_2"])}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>`);
|
|
5822
5926
|
icon_xmark_default({ size: 12 });
|
|
5823
|
-
_html(`</button>${_el_resume($scope2_id, "
|
|
5927
|
+
_html(`</button>${_el_resume($scope2_id, "h")}</div>`);
|
|
5824
5928
|
_if(() => {
|
|
5825
5929
|
if (branchesFor === repo.fullName) {
|
|
5826
5930
|
const $scope8_id = _scope_id();
|
|
@@ -5839,20 +5943,20 @@ var new_workspace_default = _template("p", (input) => {
|
|
|
5839
5943
|
writeScope($scope8_id, { a: _existing_scope($childScope3) });
|
|
5840
5944
|
return 0;
|
|
5841
5945
|
}
|
|
5842
|
-
}, $scope2_id, "
|
|
5946
|
+
}, $scope2_id, "j", 1, 1, 1, 0, 1);
|
|
5843
5947
|
_html("</li>");
|
|
5844
5948
|
_script($scope2_id, "p17");
|
|
5845
5949
|
writeScope($scope2_id, {
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5950
|
+
m: repo?.fullName,
|
|
5951
|
+
o: repo?.fork,
|
|
5952
|
+
p: repo?.baseBranch
|
|
5849
5953
|
});
|
|
5850
5954
|
}, "fullName", $scope0_id, "o", 1, 1, 1, 0, 1);
|
|
5851
5955
|
_if(() => {
|
|
5852
5956
|
if (!selected.length) {
|
|
5853
|
-
const $
|
|
5957
|
+
const $scope14_id = _scope_id();
|
|
5854
5958
|
_html(`<li${_attr_class("_bD")}>No repos yet. Search below to add one, or create it empty.</li>`);
|
|
5855
|
-
writeScope($
|
|
5959
|
+
writeScope($scope14_id, {});
|
|
5856
5960
|
return 0;
|
|
5857
5961
|
}
|
|
5858
5962
|
}, $scope0_id, "p", 1, 1, 1, 0, 1);
|
|
@@ -5882,14 +5986,16 @@ var new_workspace_default = _template("p", (input) => {
|
|
|
5882
5986
|
_html(`<li${_attr_class(["_bZ", { ["_bU"]: i === steps$1.length - 1 }])}>`);
|
|
5883
5987
|
_if(() => {
|
|
5884
5988
|
if (i === steps$1.length - 1) {
|
|
5885
|
-
const $
|
|
5989
|
+
const $scope15_id = _scope_id();
|
|
5886
5990
|
_html(`<span${_attr_class("_F")}></span>`);
|
|
5887
|
-
writeScope($
|
|
5991
|
+
writeScope($scope15_id, {});
|
|
5888
5992
|
return 0;
|
|
5889
5993
|
} else {
|
|
5890
|
-
const $
|
|
5891
|
-
_html(`<span${_attr_class("_bV")}
|
|
5892
|
-
|
|
5994
|
+
const $scope16_id = _scope_id();
|
|
5995
|
+
_html(`<span${_attr_class("_bV")}>`);
|
|
5996
|
+
icon_check_default({ size: 14 });
|
|
5997
|
+
_html("</span>");
|
|
5998
|
+
writeScope($scope16_id, {});
|
|
5893
5999
|
return 1;
|
|
5894
6000
|
}
|
|
5895
6001
|
}, $scope10_id, "b", 1, 1, 1, 0, 1);
|
|
@@ -5924,14 +6030,14 @@ var new_workspace_default = _template("p", (input) => {
|
|
|
5924
6030
|
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("_by")}><span${_attr_class("_bz")}>${_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)}>`);
|
|
5925
6031
|
_if(() => {
|
|
5926
6032
|
if (restoring === ws.id) {
|
|
5927
|
-
const $
|
|
6033
|
+
const $scope17_id = _scope_id();
|
|
5928
6034
|
_html(`<span${_attr_class("_F")}></span> Restoring…`);
|
|
5929
|
-
writeScope($
|
|
6035
|
+
writeScope($scope17_id, {});
|
|
5930
6036
|
return 0;
|
|
5931
6037
|
} else {
|
|
5932
|
-
const $
|
|
6038
|
+
const $scope18_id = _scope_id();
|
|
5933
6039
|
_html("Restore");
|
|
5934
|
-
writeScope($
|
|
6040
|
+
writeScope($scope18_id, {});
|
|
5935
6041
|
return 1;
|
|
5936
6042
|
}
|
|
5937
6043
|
}, $scope5_id, "g", 1, 1, 1, "</button>");
|
|
@@ -6078,9 +6184,9 @@ function activeAgent(session) {
|
|
|
6078
6184
|
const command = session.state?.command?.trim();
|
|
6079
6185
|
return command && agentFromCommand(command) || session.agent;
|
|
6080
6186
|
}
|
|
6081
|
-
var iconBtn$1 = "
|
|
6082
|
-
var navToggle = "
|
|
6083
|
-
_template("
|
|
6187
|
+
var iconBtn$1 = "_dj _j";
|
|
6188
|
+
var navToggle = "_do _j";
|
|
6189
|
+
_template("M", (input) => {
|
|
6084
6190
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
6085
6191
|
const $scope0_id = _scope_id();
|
|
6086
6192
|
_set_serialize_reason({
|
|
@@ -6097,7 +6203,7 @@ _template("I", (input) => {
|
|
|
6097
6203
|
});
|
|
6098
6204
|
//#endregion
|
|
6099
6205
|
//#region src/tags/icons/icon-settings.marko
|
|
6100
|
-
var icon_settings_default = _template("
|
|
6206
|
+
var icon_settings_default = _template("db", (input) => {
|
|
6101
6207
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
6102
6208
|
const $scope0_id = _scope_id();
|
|
6103
6209
|
_set_serialize_reason({
|
|
@@ -6141,7 +6247,7 @@ function usageFor(agentId, usage) {
|
|
|
6141
6247
|
}
|
|
6142
6248
|
//#endregion
|
|
6143
6249
|
//#region src/tags/icons/icon-diff.marko
|
|
6144
|
-
var icon_diff_default = _template("
|
|
6250
|
+
var icon_diff_default = _template("T", (input) => {
|
|
6145
6251
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
6146
6252
|
const $scope0_id = _scope_id();
|
|
6147
6253
|
_set_serialize_reason({
|
|
@@ -6158,7 +6264,7 @@ var icon_diff_default = _template("L", (input) => {
|
|
|
6158
6264
|
});
|
|
6159
6265
|
//#endregion
|
|
6160
6266
|
//#region src/tags/icons/icon-manage.marko
|
|
6161
|
-
var icon_manage_default = _template("
|
|
6267
|
+
var icon_manage_default = _template("$", (input) => {
|
|
6162
6268
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
6163
6269
|
const $scope0_id = _scope_id();
|
|
6164
6270
|
_set_serialize_reason({
|
|
@@ -6188,22 +6294,22 @@ var usage_pcts_default = _template("D", (input) => {
|
|
|
6188
6294
|
if (windows.length) {
|
|
6189
6295
|
const $scope1_id = _scope_id();
|
|
6190
6296
|
_html(`<span${_attr_class([
|
|
6191
|
-
"
|
|
6297
|
+
"_fH",
|
|
6192
6298
|
input.class,
|
|
6193
|
-
{ ["
|
|
6299
|
+
{ ["_fI"]: agent.stale_seconds != null }
|
|
6194
6300
|
])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
|
|
6195
6301
|
_for_of(windows, (win$1, i) => {
|
|
6196
6302
|
const $scope2_id = _scope_id();
|
|
6197
|
-
_html(`<span${_attr_class("
|
|
6303
|
+
_html(`<span${_attr_class("_fJ")}>`);
|
|
6198
6304
|
_if(() => {
|
|
6199
6305
|
if (i) {
|
|
6200
6306
|
const $scope3_id = _scope_id();
|
|
6201
|
-
_html(`<span${_attr_class("
|
|
6307
|
+
_html(`<span${_attr_class("_fM")} aria-hidden=true>·</span>`);
|
|
6202
6308
|
$si__input_agent && writeScope($scope3_id, {});
|
|
6203
6309
|
return 0;
|
|
6204
6310
|
}
|
|
6205
6311
|
}, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
6206
|
-
_html(`<span${_attr_class("
|
|
6312
|
+
_html(`<span${_attr_class("_fK")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_fL", win$1.used_percent >= 90 ? "_e4" : win$1.used_percent >= 70 ? "_e3" : win$1.used_percent >= 40 ? "_e2" : "_e1"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
|
|
6207
6313
|
$si__input_agent && writeScope($scope2_id, {});
|
|
6208
6314
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
6209
6315
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -6219,7 +6325,7 @@ var usage_pcts_default = _template("D", (input) => {
|
|
|
6219
6325
|
});
|
|
6220
6326
|
//#endregion
|
|
6221
6327
|
//#region src/tags/icons/icon-edit.marko
|
|
6222
|
-
var icon_edit_default = _template("
|
|
6328
|
+
var icon_edit_default = _template("V", (input) => {
|
|
6223
6329
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
6224
6330
|
const $scope0_id = _scope_id();
|
|
6225
6331
|
_set_serialize_reason({
|
|
@@ -6761,7 +6867,7 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6761
6867
|
});
|
|
6762
6868
|
//#endregion
|
|
6763
6869
|
//#region src/tags/icons/icon-folder-plus.marko
|
|
6764
|
-
var icon_folder_plus_default = _template("
|
|
6870
|
+
var icon_folder_plus_default = _template("X", (input) => {
|
|
6765
6871
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
6766
6872
|
const $scope0_id = _scope_id();
|
|
6767
6873
|
_set_serialize_reason({
|
|
@@ -6778,7 +6884,7 @@ var icon_folder_plus_default = _template("O", (input) => {
|
|
|
6778
6884
|
});
|
|
6779
6885
|
//#endregion
|
|
6780
6886
|
//#region src/tags/icons/icon-sidebar-collapse.marko
|
|
6781
|
-
var icon_sidebar_collapse_default = _template("
|
|
6887
|
+
var icon_sidebar_collapse_default = _template("eb", (input) => {
|
|
6782
6888
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
6783
6889
|
const $scope0_id = _scope_id();
|
|
6784
6890
|
_set_serialize_reason({
|
|
@@ -6845,34 +6951,34 @@ var side_nav_default = _template("x", (input) => {
|
|
|
6845
6951
|
const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
|
|
6846
6952
|
const otherIds = itemIds.filter((id) => id !== ws.id);
|
|
6847
6953
|
const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
|
|
6848
|
-
_html(`<aside${_attr_class(["
|
|
6849
|
-
["
|
|
6850
|
-
["
|
|
6954
|
+
_html(`<aside${_attr_class(["_dn", {
|
|
6955
|
+
["_dl"]: !navOpen,
|
|
6956
|
+
["_dm"]: isPage
|
|
6851
6957
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
6852
6958
|
_if(() => {
|
|
6853
6959
|
if (isPage) {
|
|
6854
6960
|
const $scope1_id = _scope_id();
|
|
6855
|
-
_html(`<header${_attr_class("
|
|
6961
|
+
_html(`<header${_attr_class("_dq")}><div${_attr_class("_dz")}>`);
|
|
6856
6962
|
_if(() => {
|
|
6857
6963
|
if (input.instanceName) {
|
|
6858
6964
|
const $scope2_id = _scope_id();
|
|
6859
|
-
_html(`<div${_attr_class("
|
|
6965
|
+
_html(`<div${_attr_class("_dw")} title="This work server (Settings → Appearance)"><img${_attr_class("_dx")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_dy")}>${_escape(input.instanceName)}${_el_resume($scope2_id, "d", $sg__input_instanceName)}</span></div>`);
|
|
6860
6966
|
_subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
|
|
6861
6967
|
return 0;
|
|
6862
6968
|
}
|
|
6863
6969
|
}, $scope1_id, "c", $sg__input_instanceName, $sg__input_instanceName, 1, 0, 1);
|
|
6864
|
-
_html(`<h1${_attr_class("
|
|
6970
|
+
_html(`<h1${_attr_class("_dr")}>Workspaces</h1></div><div${_attr_class("_ds")}>`);
|
|
6865
6971
|
_if(() => {}, $scope1_id, "f", 1, 1, 1, 0, 1);
|
|
6866
6972
|
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
|
|
6867
6973
|
iconBtn$1,
|
|
6868
|
-
"
|
|
6869
|
-
{ ["
|
|
6974
|
+
"_dt",
|
|
6975
|
+
{ ["_di"]: view === "settings" }
|
|
6870
6976
|
])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
6871
6977
|
icon_settings_default({ size: 16 });
|
|
6872
6978
|
_if(() => {
|
|
6873
6979
|
if (input.setupReady === false) {
|
|
6874
6980
|
const $scope12_id = _scope_id();
|
|
6875
|
-
_html(`<span${_attr_class(["_z", "
|
|
6981
|
+
_html(`<span${_attr_class(["_z", "_dk"])} title="Machine setup incomplete"></span>`);
|
|
6876
6982
|
$si__input_setupReady && writeScope($scope12_id, {});
|
|
6877
6983
|
return 0;
|
|
6878
6984
|
}
|
|
@@ -6885,18 +6991,18 @@ var side_nav_default = _template("x", (input) => {
|
|
|
6885
6991
|
_if(() => {
|
|
6886
6992
|
if (!isPage && input.instanceName) {
|
|
6887
6993
|
const $scope3_id = _scope_id();
|
|
6888
|
-
_html(`<div${_attr_class("
|
|
6994
|
+
_html(`<div${_attr_class("_dw")} title="This work server (Settings → Appearance)"><img${_attr_class("_dx")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_dy")}>${_escape(input.instanceName)}${_el_resume($scope3_id, "d", $sg__input_instanceName)}</span></div>`);
|
|
6889
6995
|
writeScope($scope3_id, {});
|
|
6890
6996
|
return 0;
|
|
6891
6997
|
}
|
|
6892
6998
|
}, $scope0_id, "c", 1, 1, 1, 0, 1);
|
|
6893
|
-
_html(`<div${_attr_class("
|
|
6999
|
+
_html(`<div${_attr_class("_dA")}>`);
|
|
6894
7000
|
_for_of(listIds, (wsId) => {
|
|
6895
7001
|
const $scope4_id = _scope_id();
|
|
6896
7002
|
_if(() => {
|
|
6897
7003
|
if (isPage && wsId === ws.id) {
|
|
6898
7004
|
const $scope13_id = _scope_id();
|
|
6899
|
-
_html(`<h2${_attr_class(["_bH", "
|
|
7005
|
+
_html(`<h2${_attr_class(["_bH", "_du"])}>Current</h2>`);
|
|
6900
7006
|
writeScope($scope13_id, {});
|
|
6901
7007
|
return 0;
|
|
6902
7008
|
}
|
|
@@ -6904,7 +7010,7 @@ var side_nav_default = _template("x", (input) => {
|
|
|
6904
7010
|
_if(() => {
|
|
6905
7011
|
if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
|
|
6906
7012
|
const $scope14_id = _scope_id();
|
|
6907
|
-
_html(`<h2${_attr_class(["_bH", "
|
|
7013
|
+
_html(`<h2${_attr_class(["_bH", "_du"])}>Other workspaces</h2>`);
|
|
6908
7014
|
writeScope($scope14_id, {});
|
|
6909
7015
|
return 0;
|
|
6910
7016
|
}
|
|
@@ -6991,7 +7097,7 @@ var side_nav_default = _template("x", (input) => {
|
|
|
6991
7097
|
railHover = null;
|
|
6992
7098
|
}, 150);
|
|
6993
7099
|
}, "x6", $scope5_id);
|
|
6994
|
-
_html(`<div${_attr_class("
|
|
7100
|
+
_html(`<div${_attr_class("_dB")}>`);
|
|
6995
7101
|
_for_of(itemIds, (wsId, i) => {
|
|
6996
7102
|
const $scope6_id = _scope_id();
|
|
6997
7103
|
_html("<span>");
|
|
@@ -7045,7 +7151,7 @@ var side_nav_default = _template("x", (input) => {
|
|
|
7045
7151
|
if (railHover) {
|
|
7046
7152
|
const $scope7_id = _scope_id();
|
|
7047
7153
|
const hoverId = railHover.id;
|
|
7048
|
-
_html(`<div${_attr_class(["_4", "
|
|
7154
|
+
_html(`<div${_attr_class(["_4", "_dE"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
|
|
7049
7155
|
_set_serialize_reason({
|
|
7050
7156
|
0: 1,
|
|
7051
7157
|
1: 1,
|
|
@@ -7133,7 +7239,7 @@ var side_nav_default = _template("x", (input) => {
|
|
|
7133
7239
|
return 0;
|
|
7134
7240
|
}
|
|
7135
7241
|
}, $scope0_id, "e");
|
|
7136
|
-
_html(`<div${_attr_class("
|
|
7242
|
+
_html(`<div${_attr_class("_dC")}>`);
|
|
7137
7243
|
_if(() => {
|
|
7138
7244
|
if (isPage) {
|
|
7139
7245
|
const $scope9_id = _scope_id();
|
|
@@ -7141,7 +7247,7 @@ var side_nav_default = _template("x", (input) => {
|
|
|
7141
7247
|
"_o",
|
|
7142
7248
|
"_p",
|
|
7143
7249
|
btnLg,
|
|
7144
|
-
"
|
|
7250
|
+
"_dv"
|
|
7145
7251
|
])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
7146
7252
|
icon_folder_plus_default({ size: 16 });
|
|
7147
7253
|
_html(` New workspace</a>${_el_resume($scope9_id, "a")}`);
|
|
@@ -7163,19 +7269,19 @@ var side_nav_default = _template("x", (input) => {
|
|
|
7163
7269
|
return 1;
|
|
7164
7270
|
}
|
|
7165
7271
|
}, $scope8_id, "a", 1, 1, 1, "</button>", 1);
|
|
7166
|
-
_html(`<div${_attr_class(["_y", "
|
|
7272
|
+
_html(`<div${_attr_class(["_y", "_dD"])}></div>`);
|
|
7167
7273
|
_if(() => {}, $scope8_id, "c", 1, 1, 1, 0, 1);
|
|
7168
|
-
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["
|
|
7274
|
+
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["_di"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
7169
7275
|
icon_settings_default({ size: 15 });
|
|
7170
7276
|
_if(() => {
|
|
7171
7277
|
if (input.setupReady === false) {
|
|
7172
7278
|
const $scope17_id = _scope_id();
|
|
7173
|
-
_html(`<span${_attr_class(["_z", "
|
|
7279
|
+
_html(`<span${_attr_class(["_z", "_dk"])} title="Machine setup incomplete"></span>`);
|
|
7174
7280
|
$si__input_setupReady && writeScope($scope17_id, {});
|
|
7175
7281
|
return 0;
|
|
7176
7282
|
}
|
|
7177
7283
|
}, $scope8_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
7178
|
-
_html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["
|
|
7284
|
+
_html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["_di"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
7179
7285
|
icon_folder_plus_default({ size: 16 });
|
|
7180
7286
|
_html(`</a>${_el_resume($scope8_id, "g")}`);
|
|
7181
7287
|
_script($scope8_id, "x15");
|
|
@@ -7241,10 +7347,10 @@ var side_nav_default = _template("x", (input) => {
|
|
|
7241
7347
|
});
|
|
7242
7348
|
var iconBtn = "_0 _j";
|
|
7243
7349
|
var sectionCount = "_bu _I _J";
|
|
7244
|
-
var content = "
|
|
7245
|
-
var pageMeta = "
|
|
7246
|
-
var pathMeta = "
|
|
7247
|
-
var dangerHint = "
|
|
7350
|
+
var content = "_c8 _8";
|
|
7351
|
+
var pageMeta = "_c9 _bc";
|
|
7352
|
+
var pathMeta = "_db _x";
|
|
7353
|
+
var dangerHint = "_dh _S";
|
|
7248
7354
|
//#endregion
|
|
7249
7355
|
//#region src/tags/manage-workspace.marko
|
|
7250
7356
|
var api$2;
|
|
@@ -7343,7 +7449,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
7343
7449
|
setTimeout(() => loadProcs(void 0), 500);
|
|
7344
7450
|
}, "n5", $scope0_id);
|
|
7345
7451
|
const titleId = _id();
|
|
7346
|
-
_html(`<div${_attr_class("
|
|
7452
|
+
_html(`<div${_attr_class("_6")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_7")}><div${_attr_class(content)}>`);
|
|
7347
7453
|
_set_serialize_reason(30);
|
|
7348
7454
|
const $childScope = _peek_scope_id();
|
|
7349
7455
|
page_head_default({
|
|
@@ -7356,7 +7462,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
7356
7462
|
meta: attrTag({ content: _content_resume("n11", () => {
|
|
7357
7463
|
_scope_reason();
|
|
7358
7464
|
const $scope8_id = _scope_id();
|
|
7359
|
-
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("
|
|
7465
|
+
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_c_")}>${_escape(ws.name)}${_el_resume($scope8_id, "c")}</span>`);
|
|
7360
7466
|
_if(() => {
|
|
7361
7467
|
if (ws.status !== "active") {
|
|
7362
7468
|
const $scope11_id = _scope_id();
|
|
@@ -7365,7 +7471,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
7365
7471
|
return 0;
|
|
7366
7472
|
}
|
|
7367
7473
|
}, $scope8_id, "d", 1, 1, 1, 0, 1);
|
|
7368
|
-
_html(`<span${_attr_class("
|
|
7474
|
+
_html(`<span${_attr_class("_da")} 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")}`);
|
|
7369
7475
|
_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) })))));
|
|
7370
7476
|
_resume_branch($scope8_id);
|
|
7371
7477
|
}, $scope0_id) })
|
|
@@ -7408,11 +7514,13 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
7408
7514
|
_html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("_bv")}>`);
|
|
7409
7515
|
_for_of(ws.repos, (row) => {
|
|
7410
7516
|
const $scope1_id = _scope_id();
|
|
7411
|
-
_html(`<li${_attr_class("_bx")}><div${_attr_class("_by")}><span${_attr_class(["_bz", "_x"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bA")}><a${_attr_class(["_bB", "
|
|
7517
|
+
_html(`<li${_attr_class("_bx")}><div${_attr_class("_by")}><span${_attr_class(["_bz", "_x"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bA")}><a${_attr_class(["_bB", "_dd"])}${_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")}`);
|
|
7412
7518
|
_if(() => {
|
|
7413
7519
|
if (row.base_branch !== row.default_branch) {
|
|
7414
7520
|
const $scope12_id = _scope_id();
|
|
7415
|
-
_html(`<span${_attr_class(["_I", "_x"])} title="Base branch"
|
|
7521
|
+
_html(`<span${_attr_class(["_I", "_x"])} title="Base branch">`);
|
|
7522
|
+
icon_branch_default({ size: 12 });
|
|
7523
|
+
_html(` <!>${_escape(row.base_branch)}${_el_resume($scope12_id, "c")}</span>`);
|
|
7416
7524
|
writeScope($scope12_id, {});
|
|
7417
7525
|
return 0;
|
|
7418
7526
|
}
|
|
@@ -7472,7 +7580,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
7472
7580
|
return 0;
|
|
7473
7581
|
}
|
|
7474
7582
|
}, $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
7475
|
-
_html(`<div${_attr_class("
|
|
7583
|
+
_html(`<div${_attr_class("_dc")}>`);
|
|
7476
7584
|
const $childScope3 = _peek_scope_id();
|
|
7477
7585
|
let refreshCatalog = repo_picker_default({
|
|
7478
7586
|
exclude: inWorkspace,
|
|
@@ -7502,7 +7610,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
7502
7610
|
_html(`<span${_attr_class("_bA")}>`);
|
|
7503
7611
|
_for_of(p.ports, (port) => {
|
|
7504
7612
|
const $scope19_id = _scope_id();
|
|
7505
|
-
_html(`<button${_attr_class(["_s", "
|
|
7613
|
+
_html(`<button${_attr_class(["_s", "_de"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope19_id, "b")}</button>${_el_resume($scope19_id, "a")}`);
|
|
7506
7614
|
_script($scope19_id, "n15");
|
|
7507
7615
|
writeScope($scope19_id, { d: port });
|
|
7508
7616
|
}, (x) => String(x), $scope18_id, "a", 1, 1, 1, "</span>", 1);
|
|
@@ -7524,7 +7632,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
7524
7632
|
return 0;
|
|
7525
7633
|
}
|
|
7526
7634
|
}, $scope0_id, "v", 1, 1, 1, 0, 1);
|
|
7527
|
-
_html(`<section${_attr_class(["_bs", "
|
|
7635
|
+
_html(`<section${_attr_class(["_bs", "_df"])}><div${_attr_class("_bt")}><h2${_attr_class("_bH")}>Workspace</h2></div><div${_attr_class("_dg")}>`);
|
|
7528
7636
|
_if(() => {
|
|
7529
7637
|
if (ws.status === "active") {
|
|
7530
7638
|
const $scope4_id = _scope_id();
|
|
@@ -7625,43 +7733,47 @@ var term_find_default = _template("z", (input) => {
|
|
|
7625
7733
|
const canStep = hasQuery && open;
|
|
7626
7734
|
const keybar = input.placement === "keybar";
|
|
7627
7735
|
_html(`<div${_attr_class([
|
|
7628
|
-
"
|
|
7629
|
-
keybar ? "
|
|
7630
|
-
!open && "
|
|
7631
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
7736
|
+
"_fT",
|
|
7737
|
+
keybar ? "_fV" : "_fU",
|
|
7738
|
+
!open && "_fX"
|
|
7739
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_fO", keybar ? "_fW" : "_fQ"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
7632
7740
|
if (!open) return;
|
|
7633
7741
|
query = v;
|
|
7634
7742
|
live.query = v;
|
|
7635
7743
|
run(0);
|
|
7636
|
-
}, "z0", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
7744
|
+
}, "z0", $scope0_id))}${_attr_class([findInput, keybar && "_fY"])} 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 && "_fZ"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
7745
|
+
icon_arrow_up_default({ size: 14 });
|
|
7746
|
+
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_fZ"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
7747
|
+
icon_arrow_down_default({ size: 14 });
|
|
7748
|
+
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_fZ"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
|
|
7637
7749
|
icon_xmark_default({ size: 14 });
|
|
7638
|
-
_html(`</button>${_el_resume($scope0_id, "
|
|
7750
|
+
_html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
|
|
7639
7751
|
_script($scope0_id, "z4");
|
|
7640
7752
|
_script($scope0_id, "z5");
|
|
7641
7753
|
_script($scope0_id, "z6");
|
|
7642
7754
|
writeScope($scope0_id, {
|
|
7643
|
-
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
|
|
7647
|
-
|
|
7648
|
-
|
|
7649
|
-
|
|
7650
|
-
|
|
7651
|
-
|
|
7652
|
-
|
|
7653
|
-
|
|
7654
|
-
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
|
-
|
|
7755
|
+
l: _serialize_if($scope0_reason, 1) && input.open,
|
|
7756
|
+
m: _serialize_if($scope0_reason, 0) && input.openChange,
|
|
7757
|
+
o: input.onSearch,
|
|
7758
|
+
p: input.onClear,
|
|
7759
|
+
q: input.focusRef,
|
|
7760
|
+
r: input.tick,
|
|
7761
|
+
t: open,
|
|
7762
|
+
v: query,
|
|
7763
|
+
x: live.open,
|
|
7764
|
+
z: live.query,
|
|
7765
|
+
a2: box.tick,
|
|
7766
|
+
a3: box.wasOpen,
|
|
7767
|
+
a4: run,
|
|
7768
|
+
a6: close,
|
|
7769
|
+
a7: focusInput,
|
|
7770
|
+
aa: hasQuery,
|
|
7771
|
+
ad: keybar,
|
|
7772
|
+
u: input.openChange || void 0
|
|
7661
7773
|
});
|
|
7662
7774
|
_resume_branch($scope0_id);
|
|
7663
7775
|
});
|
|
7664
|
-
_template("
|
|
7776
|
+
_template("ib", (input) => {
|
|
7665
7777
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7666
7778
|
const $scope0_id = _scope_id();
|
|
7667
7779
|
_set_serialize_reason({
|
|
@@ -7676,7 +7788,7 @@ _template("Z", (input) => {
|
|
|
7676
7788
|
});
|
|
7677
7789
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
7678
7790
|
});
|
|
7679
|
-
_template("
|
|
7791
|
+
_template("U", (input) => {
|
|
7680
7792
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7681
7793
|
const $scope0_id = _scope_id();
|
|
7682
7794
|
_set_serialize_reason({
|
|
@@ -7691,7 +7803,7 @@ _template("M", (input) => {
|
|
|
7691
7803
|
});
|
|
7692
7804
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
7693
7805
|
});
|
|
7694
|
-
_template("
|
|
7806
|
+
_template("Z", (input) => {
|
|
7695
7807
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7696
7808
|
const $scope0_id = _scope_id();
|
|
7697
7809
|
_set_serialize_reason({
|
|
@@ -7706,7 +7818,7 @@ _template("Q", (input) => {
|
|
|
7706
7818
|
});
|
|
7707
7819
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
7708
7820
|
});
|
|
7709
|
-
_template("
|
|
7821
|
+
_template("R", (input) => {
|
|
7710
7822
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7711
7823
|
const $scope0_id = _scope_id();
|
|
7712
7824
|
_set_serialize_reason({
|
|
@@ -7721,6 +7833,66 @@ _template("K", (input) => {
|
|
|
7721
7833
|
});
|
|
7722
7834
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
7723
7835
|
});
|
|
7836
|
+
_template("H", (input) => {
|
|
7837
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7838
|
+
const $scope0_id = _scope_id();
|
|
7839
|
+
_set_serialize_reason({
|
|
7840
|
+
0: $sg__input_size__OR__input_class,
|
|
7841
|
+
1: $sg__input_size__OR__input_class
|
|
7842
|
+
});
|
|
7843
|
+
const $childScope = _peek_scope_id();
|
|
7844
|
+
icon_base_default({
|
|
7845
|
+
d: "M21 12L3 12M3 12L11.5 3.5M3 12L11.5 20.5",
|
|
7846
|
+
size: input.size,
|
|
7847
|
+
class: input.class
|
|
7848
|
+
});
|
|
7849
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
7850
|
+
});
|
|
7851
|
+
_template("I", (input) => {
|
|
7852
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7853
|
+
const $scope0_id = _scope_id();
|
|
7854
|
+
_set_serialize_reason({
|
|
7855
|
+
0: $sg__input_size__OR__input_class,
|
|
7856
|
+
1: $sg__input_size__OR__input_class
|
|
7857
|
+
});
|
|
7858
|
+
const $childScope = _peek_scope_id();
|
|
7859
|
+
icon_base_default({
|
|
7860
|
+
d: "M3 12L21 12M21 12L12.5 3.5M21 12L12.5 20.5",
|
|
7861
|
+
size: input.size,
|
|
7862
|
+
class: input.class
|
|
7863
|
+
});
|
|
7864
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
7865
|
+
});
|
|
7866
|
+
_template("W", (input) => {
|
|
7867
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7868
|
+
const $scope0_id = _scope_id();
|
|
7869
|
+
_set_serialize_reason({
|
|
7870
|
+
0: $sg__input_size__OR__input_class,
|
|
7871
|
+
1: $sg__input_size__OR__input_class
|
|
7872
|
+
});
|
|
7873
|
+
const $childScope = _peek_scope_id();
|
|
7874
|
+
icon_base_default({
|
|
7875
|
+
d: "M19 6V11C19 12.1046 18.1046 13 17 13H5 M9 9L5 13L9 17",
|
|
7876
|
+
size: input.size,
|
|
7877
|
+
class: input.class
|
|
7878
|
+
});
|
|
7879
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
7880
|
+
});
|
|
7881
|
+
_template("gb", (input) => {
|
|
7882
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7883
|
+
const $scope0_id = _scope_id();
|
|
7884
|
+
_set_serialize_reason({
|
|
7885
|
+
0: $sg__input_size__OR__input_class,
|
|
7886
|
+
1: $sg__input_size__OR__input_class
|
|
7887
|
+
});
|
|
7888
|
+
const $childScope = _peek_scope_id();
|
|
7889
|
+
icon_base_default({
|
|
7890
|
+
d: "M4 12H16 M12 8L16 12L12 16 M20 7V17",
|
|
7891
|
+
size: input.size,
|
|
7892
|
+
class: input.class
|
|
7893
|
+
});
|
|
7894
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
7895
|
+
});
|
|
7724
7896
|
//#endregion
|
|
7725
7897
|
//#region src/tags/term.marko
|
|
7726
7898
|
var REPEAT_DELAY = 400;
|
|
@@ -7907,7 +8079,7 @@ var term_default = _template("A", (input) => {
|
|
|
7907
8079
|
trapOpen = true;
|
|
7908
8080
|
}
|
|
7909
8081
|
}, "A14", $scope0_id);
|
|
7910
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
8082
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_d8")}><div${_attr_class("_d9")}></div>${_el_resume($scope0_id, "b")}`);
|
|
7911
8083
|
_if(() => {
|
|
7912
8084
|
if (findOpen) {
|
|
7913
8085
|
const $scope12_id = _scope_id();
|
|
@@ -7934,7 +8106,7 @@ var term_default = _template("A", (input) => {
|
|
|
7934
8106
|
_if(() => {
|
|
7935
8107
|
if (uploading) {
|
|
7936
8108
|
const $scope19_id = _scope_id();
|
|
7937
|
-
_html(`<div${_attr_class("
|
|
8109
|
+
_html(`<div${_attr_class("_ee")}>uploading…</div>`);
|
|
7938
8110
|
writeScope($scope19_id, {});
|
|
7939
8111
|
return 0;
|
|
7940
8112
|
}
|
|
@@ -7942,7 +8114,7 @@ var term_default = _template("A", (input) => {
|
|
|
7942
8114
|
_if(() => {
|
|
7943
8115
|
if (copiedFlash) {
|
|
7944
8116
|
const $scope20_id = _scope_id();
|
|
7945
|
-
_html(`<div${_attr_class("
|
|
8117
|
+
_html(`<div${_attr_class("_ed")}>Copied</div>`);
|
|
7946
8118
|
writeScope($scope20_id, {});
|
|
7947
8119
|
return 0;
|
|
7948
8120
|
}
|
|
@@ -7951,7 +8123,7 @@ var term_default = _template("A", (input) => {
|
|
|
7951
8123
|
_if(() => {
|
|
7952
8124
|
if (trapOpen) {
|
|
7953
8125
|
const $scope11_id = _scope_id();
|
|
7954
|
-
_html(`<div${_attr_class("
|
|
8126
|
+
_html(`<div${_attr_class("_ef")}><div${_attr_class("_eg")}><p${_attr_class("_eK")}>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")}`);
|
|
7955
8127
|
_script($scope11_id, "A25");
|
|
7956
8128
|
_script($scope11_id, "A26");
|
|
7957
8129
|
writeScope($scope11_id, {});
|
|
@@ -8054,7 +8226,7 @@ var work_view_default = _template("E", (input) => {
|
|
|
8054
8226
|
let DiffView = null;
|
|
8055
8227
|
const loadDiffView = _resume(() => {
|
|
8056
8228
|
if (DiffView) return;
|
|
8057
|
-
import("./
|
|
8229
|
+
import("./_Cel25igI.js").then((m) => {
|
|
8058
8230
|
DiffView = m.default;
|
|
8059
8231
|
});
|
|
8060
8232
|
}, "E6", $scope0_id);
|
|
@@ -9079,7 +9251,7 @@ var app_page_default = _template("b", (input) => {
|
|
|
9079
9251
|
});
|
|
9080
9252
|
//#endregion
|
|
9081
9253
|
//#region src/routes/_app/new/+page.marko
|
|
9082
|
-
var _page_default$4 = _template("
|
|
9254
|
+
var _page_default$4 = _template("kb", (input) => {
|
|
9083
9255
|
_scope_reason();
|
|
9084
9256
|
_scope_id();
|
|
9085
9257
|
app_page_default({ initial: {
|
|
@@ -9121,7 +9293,7 @@ var GET$21 = Run.GET(async (_ctx, next) => {
|
|
|
9121
9293
|
});
|
|
9122
9294
|
//#endregion
|
|
9123
9295
|
//#region src/routes/_app/settings/+page.marko
|
|
9124
|
-
var _page_default$3 = _template("
|
|
9296
|
+
var _page_default$3 = _template("lb", (input) => {
|
|
9125
9297
|
_scope_reason();
|
|
9126
9298
|
_scope_id();
|
|
9127
9299
|
app_page_default({ initial: {
|
|
@@ -9158,7 +9330,7 @@ function head3(context) {
|
|
|
9158
9330
|
}
|
|
9159
9331
|
//#endregion
|
|
9160
9332
|
//#region src/routes/_app/w/$id/+page.marko
|
|
9161
|
-
var _page_default$2 = _template("
|
|
9333
|
+
var _page_default$2 = _template("mb", (input) => {
|
|
9162
9334
|
_scope_reason();
|
|
9163
9335
|
_scope_id();
|
|
9164
9336
|
app_page_default({ initial: {
|
|
@@ -9195,7 +9367,7 @@ function head4(context) {
|
|
|
9195
9367
|
}
|
|
9196
9368
|
//#endregion
|
|
9197
9369
|
//#region src/routes/_app/w/$id/manage/+page.marko
|
|
9198
|
-
var _page_default$1 = _template("
|
|
9370
|
+
var _page_default$1 = _template("nb", (input) => {
|
|
9199
9371
|
_scope_reason();
|
|
9200
9372
|
_scope_id();
|
|
9201
9373
|
app_page_default({ initial: {
|
|
@@ -9231,7 +9403,7 @@ function head5(context) {
|
|
|
9231
9403
|
}
|
|
9232
9404
|
//#endregion
|
|
9233
9405
|
//#region src/routes/_app/w/$id/review/+page.marko
|
|
9234
|
-
var _page_default = _template("
|
|
9406
|
+
var _page_default = _template("ob", (input) => {
|
|
9235
9407
|
_scope_reason();
|
|
9236
9408
|
_scope_id();
|
|
9237
9409
|
const q = $global().url.searchParams;
|
|
@@ -16344,6 +16516,7 @@ async function handleTermConnection(ws, req) {
|
|
|
16344
16516
|
} catch {}
|
|
16345
16517
|
forceWindowSize();
|
|
16346
16518
|
}
|
|
16519
|
+
if (parseClaim(text)) forceWindowSize();
|
|
16347
16520
|
const vis = parseVisible(text);
|
|
16348
16521
|
if (vis !== void 0 && vis !== visible) {
|
|
16349
16522
|
visible = vis;
|
|
@@ -16369,6 +16542,12 @@ async function handleTermConnection(ws, req) {
|
|
|
16369
16542
|
proc.kill();
|
|
16370
16543
|
});
|
|
16371
16544
|
}
|
|
16545
|
+
function parseClaim(text) {
|
|
16546
|
+
try {
|
|
16547
|
+
return JSON.parse(text)?.claim === true;
|
|
16548
|
+
} catch {}
|
|
16549
|
+
return false;
|
|
16550
|
+
}
|
|
16372
16551
|
function parseVisible(text) {
|
|
16373
16552
|
try {
|
|
16374
16553
|
const visible = JSON.parse(text)?.visible;
|
|
@@ -16527,4 +16706,4 @@ server.listen(port, () => {
|
|
|
16527
16706
|
//#endregion
|
|
16528
16707
|
export {};
|
|
16529
16708
|
|
|
16530
|
-
;var __MARKO_MANIFEST__={"
|
|
16709
|
+
;var __MARKO_MANIFEST__={"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-B1_16TZW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B1_16TZW.css\"",">"],"defer":[2,"/assets/settings-BpwV-DKC.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-BpwV-DKC.js\"","></script>",2,"modulepreload#/assets/_Ame3I5fr.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Ame3I5fr.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-B1_16TZW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B1_16TZW.css\"",">"],"defer":[2,"/assets/w-BpwV-DKC.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-BpwV-DKC.js\"","></script>",2,"modulepreload#/assets/_Ame3I5fr.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Ame3I5fr.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-B1_16TZW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B1_16TZW.css\"",">"],"defer":[2,"/assets/new-BpwV-DKC.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-BpwV-DKC.js\"","></script>",2,"modulepreload#/assets/_Ame3I5fr.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Ame3I5fr.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-B1_16TZW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B1_16TZW.css\"",">"],"defer":[2,"/assets/w._-BpwV-DKC.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-BpwV-DKC.js\"","></script>",2,"modulepreload#/assets/_Ame3I5fr.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Ame3I5fr.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-B1_16TZW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B1_16TZW.css\"",">"],"defer":[2,"/assets/w._-C0I_DcpJ.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-C0I_DcpJ.js\"","></script>",2,"modulepreload#/assets/_Ame3I5fr.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Ame3I5fr.js\"",">"]}};
|