@dylanpiercey/work 0.0.124 → 0.0.126
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/{_CBA__L3F.js → _BbeyxI4D.js} +49 -49
- package/dist/{_Bzb6xzDq.js → _DN0yiF9R.js} +2 -2
- package/dist/index.mjs +189 -189
- package/dist/public/assets/{_iUhOV8GI.js → _3BRA7txp.js} +1 -1
- package/dist/public/assets/_3BRA7txp.js.br +0 -0
- package/dist/public/assets/{_DxEgOJrA2.js → _4Sc0xkpv2.js} +1 -1
- package/dist/public/assets/_4Sc0xkpv2.js.br +0 -0
- package/dist/public/assets/{_DrK8xGce.js → _61JieLHZ.js} +1 -1
- package/dist/public/assets/_61JieLHZ.js.br +0 -0
- package/dist/public/assets/{_AmbAR7S52.js → _6b3F5W1q2.js} +1 -1
- package/dist/public/assets/_6b3F5W1q2.js.br +0 -0
- package/dist/public/assets/{_DhF3kqKM.js → _B-r654rs.js} +1 -1
- package/dist/public/assets/_B-r654rs.js.br +0 -0
- package/dist/public/assets/{_CrdZJZZd.js → _B3ZOGdCQ.js} +1 -1
- package/dist/public/assets/_B3ZOGdCQ.js.br +0 -0
- package/dist/public/assets/{_DuA-u7gQ.js → _BALGRv43.js} +1 -1
- package/dist/public/assets/_BALGRv43.js.br +0 -0
- package/dist/public/assets/{_BzZTGAcf.js → _BEl3PsaU.js} +1 -1
- package/dist/public/assets/_BEl3PsaU.js.br +0 -0
- package/dist/public/assets/{_CNIVJCYh.js → _BFqcwyCU.js} +1 -1
- package/dist/public/assets/_BFqcwyCU.js.br +0 -0
- package/dist/public/assets/{_BHJ9GJI52.js → _BGCxGXkk2.js} +1 -1
- package/dist/public/assets/_BGCxGXkk2.js.br +0 -0
- package/dist/public/assets/{_DU-HvI1X2.js → _BI1oLg382.js} +1 -1
- package/dist/public/assets/_BI1oLg382.js.br +0 -0
- package/dist/public/assets/{_BKfwbuKk.js → _BZ0Oaoke.js} +1 -1
- package/dist/public/assets/_BZ0Oaoke.js.br +0 -0
- package/dist/public/assets/{_BBxg4PRF.js → _B_xvbOWX.js} +1 -1
- package/dist/public/assets/_B_xvbOWX.js.br +0 -0
- package/dist/public/assets/{_BbElRt4j2.js → _Ba-sjk5f2.js} +1 -1
- package/dist/public/assets/_Ba-sjk5f2.js.br +0 -0
- package/dist/public/assets/{_Bu1p9uSE.js → _BbLGlPoc.js} +1 -1
- package/dist/public/assets/_BbLGlPoc.js.br +0 -0
- package/dist/public/assets/{_BJFqA5yY2.js → _Bcc5-Afq2.js} +1 -1
- package/dist/public/assets/_Bcc5-Afq2.js.br +0 -0
- package/dist/public/assets/{_DaicYUdR2.js → _BjWfza3x2.js} +1 -1
- package/dist/public/assets/_BjWfza3x2.js.br +0 -0
- package/dist/public/assets/_Bpt7qjjQ.js +89 -0
- package/dist/public/assets/_Bpt7qjjQ.js.br +0 -0
- package/dist/public/assets/{_C7xNavdA.js → _BqbAh5gK.js} +1 -1
- package/dist/public/assets/_BqbAh5gK.js.br +0 -0
- package/dist/public/assets/{_DSMA17Ls.js → _Br-gbTtE.js} +1 -1
- package/dist/public/assets/_Br-gbTtE.js.br +0 -0
- package/dist/public/assets/{_DeGTY8L-.js → _BrQeyKxO.js} +1 -1
- package/dist/public/assets/_BrQeyKxO.js.br +0 -0
- package/dist/public/assets/{_B44tyyUG2.js → _BwHsR4Hu2.js} +1 -1
- package/dist/public/assets/_BwHsR4Hu2.js.br +0 -0
- package/dist/public/assets/{_DLblqdFG2.js → _BwczNDmk2.js} +1 -1
- package/dist/public/assets/{_Dtnyhhg42.js → _BxaWEtEO2.js} +1 -1
- package/dist/public/assets/_BxaWEtEO2.js.br +0 -0
- package/dist/public/assets/{_hv6mbBf-.js → _BzEJqCpG.js} +1 -1
- package/dist/public/assets/_BzEJqCpG.js.br +0 -0
- package/dist/public/assets/{_DHzj4OkK.js → _C4fzVfer.js} +1 -1
- package/dist/public/assets/_C4fzVfer.js.br +0 -0
- package/dist/public/assets/{_BOMd8TCK.js → _C4zv6QU4.js} +1 -1
- package/dist/public/assets/_C4zv6QU4.js.br +0 -0
- package/dist/public/assets/{_Dg8W2qKd.js → _C9SdMpiK.js} +1 -1
- package/dist/public/assets/_C9SdMpiK.js.br +0 -0
- package/dist/public/assets/{_DCWzPBMu.js → _CEHp689i.js} +1 -1
- package/dist/public/assets/_CEHp689i.js.br +0 -0
- package/dist/public/assets/{_Bo6N68cW2.js → _CIu4BTJ42.js} +1 -1
- package/dist/public/assets/_CIu4BTJ42.js.br +0 -0
- package/dist/public/assets/{_Dbdv5Cok2.js → _COqj49mb2.js} +1 -1
- package/dist/public/assets/_COqj49mb2.js.br +0 -0
- package/dist/public/assets/{_Dkj5kUs_.js → _CSVGMOm7.js} +1 -1
- package/dist/public/assets/_CSVGMOm7.js.br +0 -0
- package/dist/public/assets/{_Clf2e2n_.js → _CYPLBNAS.js} +1 -1
- package/dist/public/assets/_CYPLBNAS.js.br +0 -0
- package/dist/public/assets/{_6APRznCj.js → _ChysmIko.js} +1 -1
- package/dist/public/assets/_ChysmIko.js.br +0 -0
- package/dist/public/assets/{_DXtAKSWy.js → _Cm3QOMjp.js} +1 -1
- package/dist/public/assets/{_DYiWc3Qv2.js → _CmFgspMi2.js} +1 -1
- package/dist/public/assets/_CmFgspMi2.js.br +0 -0
- package/dist/public/assets/{_Cxsd1Imx.js → _Cm_EGitm.js} +1 -1
- package/dist/public/assets/_Cm_EGitm.js.br +0 -0
- package/dist/public/assets/{_Csc5thvE.js → _Co35m3IZ.js} +1 -1
- package/dist/public/assets/_Co35m3IZ.js.br +0 -0
- package/dist/public/assets/{_BxfEGvTl2.js → _CqR_fAZt2.js} +1 -1
- package/dist/public/assets/{_kZUgqOeI.js → _CsOy-9EE.js} +1 -1
- package/dist/public/assets/_CsOy-9EE.js.br +0 -0
- package/dist/public/assets/{_Df4m81GI.js → _CzFtzpPJ.js} +1 -1
- package/dist/public/assets/_CzFtzpPJ.js.br +0 -0
- package/dist/public/assets/{_BC012r8W2.js → _D-toI9a32.js} +1 -1
- package/dist/public/assets/_D-toI9a32.js.br +0 -0
- package/dist/public/assets/{_7mj205Em2.js → _D6h_nzqN2.js} +1 -1
- package/dist/public/assets/_D6h_nzqN2.js.br +0 -0
- package/dist/public/assets/{_C8zp54RX2.js → _D9jAcnDl2.js} +1 -1
- package/dist/public/assets/_D9jAcnDl2.js.br +0 -0
- package/dist/public/assets/{_BeiKlFyF.js → _DAImTOxp.js} +1 -1
- package/dist/public/assets/_DAImTOxp.js.br +0 -0
- package/dist/public/assets/{_BDrcfwfI.js → _DClaYPlK.js} +1 -1
- package/dist/public/assets/_DClaYPlK.js.br +0 -0
- package/dist/public/assets/{_9aVyqty8.js → _DFaA-2NW.js} +1 -1
- package/dist/public/assets/_DFaA-2NW.js.br +0 -0
- package/dist/public/assets/{_CkMbbZTV.js → _DFgDIu2Y.js} +1 -1
- package/dist/public/assets/_DFgDIu2Y.js.br +0 -0
- package/dist/public/assets/{_By0ZhvwN.js → _DFvrKpQ4.js} +1 -1
- package/dist/public/assets/_DFvrKpQ4.js.br +0 -0
- package/dist/public/assets/{_DyFKKRcb2.js → _DNVQ-9kk2.js} +1 -1
- package/dist/public/assets/_DNVQ-9kk2.js.br +0 -0
- package/dist/public/assets/{_lcPvr6W1.js → _DSjWzxBS.js} +1 -1
- package/dist/public/assets/_DSjWzxBS.js.br +0 -0
- package/dist/public/assets/{_BqMMY6m_.js → _DXXIdX5L.js} +1 -1
- package/dist/public/assets/_DXXIdX5L.js.br +0 -0
- package/dist/public/assets/{_Bfxr0cJZ.js → _D_rl5asE.js} +1 -1
- package/dist/public/assets/_D_rl5asE.js.br +0 -0
- package/dist/public/assets/{_BHZFjFr72.js → _D_wjIaWS2.js} +1 -1
- package/dist/public/assets/_D_wjIaWS2.js.br +0 -0
- package/dist/public/assets/{_YUHil-cs.js → _DiQE2eC7.js} +1 -1
- package/dist/public/assets/_DiQE2eC7.js.br +0 -0
- package/dist/public/assets/{_Ccw2WcFJ.js → _Dlh45sdA.js} +1 -1
- package/dist/public/assets/_Dlh45sdA.js.br +0 -0
- package/dist/public/assets/{_0BOh03kg.js → _DoKPYHor.js} +1 -1
- package/dist/public/assets/_DoKPYHor.js.br +0 -0
- package/dist/public/assets/{_BngsVbfs.js → _DvXw6uys.js} +1 -1
- package/dist/public/assets/_DvXw6uys.js.br +0 -0
- package/dist/public/assets/{_DsFrJ9e-.js → _DxAipRKA.js} +1 -1
- package/dist/public/assets/_DxAipRKA.js.br +0 -0
- package/dist/public/assets/{_DSZXi7PW2.js → _DzOppB-E2.js} +1 -1
- package/dist/public/assets/_DzOppB-E2.js.br +0 -0
- package/dist/public/assets/{_BLqcxg502.js → _EE2Ozl5q2.js} +1 -1
- package/dist/public/assets/_EE2Ozl5q2.js.br +0 -0
- package/dist/public/assets/{_gz2ki5-c.js → _LM3iN9-P.js} +1 -1
- package/dist/public/assets/_LM3iN9-P.js.br +0 -0
- package/dist/public/assets/{_C7K5skmZ.js → _O0SjYRZ8.js} +1 -1
- package/dist/public/assets/_O0SjYRZ8.js.br +0 -0
- package/dist/public/assets/{_Cg4e3YdF.js → _QMEB-AJI.js} +1 -1
- package/dist/public/assets/_QMEB-AJI.js.br +0 -0
- package/dist/public/assets/{_DU546zvR2.js → _W45rYmoq2.js} +1 -1
- package/dist/public/assets/_W45rYmoq2.js.br +0 -0
- package/dist/public/assets/{_BZ1ORFOG.js → _W5FaLamO.js} +1 -1
- package/dist/public/assets/_W5FaLamO.js.br +0 -0
- package/dist/public/assets/{_CpBLPn2w.js → _YOB_O7zw.js} +1 -1
- package/dist/public/assets/_YOB_O7zw.js.br +0 -0
- package/dist/public/assets/{_ChgUBap2.js → _aehLxum1.js} +1 -1
- package/dist/public/assets/_aehLxum1.js.br +0 -0
- package/dist/public/assets/{_Ce_0QLmD2.js → _cybjKrzf2.js} +1 -1
- package/dist/public/assets/_cybjKrzf2.js.br +0 -0
- package/dist/public/assets/{_C3jgMqec.js → _fCbASA3z.js} +1 -1
- package/dist/public/assets/_fCbASA3z.js.br +0 -0
- package/dist/public/assets/{_DFti8M4d.js → _gpk_PSVn.js} +6 -6
- package/dist/public/assets/_gpk_PSVn.js.br +0 -0
- package/dist/public/assets/{_D7F06nEE.js → _k68CcE-R.js} +1 -1
- package/dist/public/assets/_k68CcE-R.js.br +0 -0
- package/dist/public/assets/{_PyWD-OLD.js → _ootO_6Al.js} +1 -1
- package/dist/public/assets/_ootO_6Al.js.br +0 -0
- package/dist/public/assets/{_XKdqeQJS2.js → _rOZ568Td2.js} +1 -1
- package/dist/public/assets/_rOZ568Td2.js.br +0 -0
- package/dist/public/assets/{_D1EW4Pmg.js → _svshX-aQ.js} +1 -1
- package/dist/public/assets/_svshX-aQ.js.br +0 -0
- package/dist/public/assets/{_CdJgBBp1.js → _wtUaV484.js} +1 -1
- package/dist/public/assets/_wtUaV484.js.br +0 -0
- package/dist/public/assets/{app-page-Dk_mvqt2.css → app-page-Cw_q7_9l.css} +1 -1
- package/dist/public/assets/app-page-Cw_q7_9l.css.br +0 -0
- package/dist/public/assets/{diff-view-DJbuoCt_.css → diff-view-D96qn7oa.css} +1 -1
- package/dist/public/assets/diff-view-D96qn7oa.css.br +0 -0
- package/dist/public/assets/new-CvZ_DGtP.js +1 -0
- package/dist/public/assets/settings-CvZ_DGtP.js +1 -0
- package/dist/public/assets/w-CvZ_DGtP.js +1 -0
- package/dist/public/assets/w._-CvZ_DGtP.js +1 -0
- package/dist/public/assets/w._-DnR1UpxG.js +1 -0
- package/package.json +1 -1
- package/dist/public/assets/_0BOh03kg.js.br +0 -0
- package/dist/public/assets/_6APRznCj.js.br +0 -0
- package/dist/public/assets/_7mj205Em2.js.br +0 -0
- package/dist/public/assets/_9aVyqty8.js.br +0 -0
- package/dist/public/assets/_AmbAR7S52.js.br +0 -0
- package/dist/public/assets/_B44tyyUG2.js.br +0 -0
- package/dist/public/assets/_BBxg4PRF.js.br +0 -0
- package/dist/public/assets/_BC012r8W2.js.br +0 -0
- package/dist/public/assets/_BDrcfwfI.js.br +0 -0
- package/dist/public/assets/_BHJ9GJI52.js.br +0 -0
- package/dist/public/assets/_BHZFjFr72.js.br +0 -0
- package/dist/public/assets/_BJFqA5yY2.js.br +0 -0
- package/dist/public/assets/_BKfwbuKk.js.br +0 -0
- package/dist/public/assets/_BLqcxg502.js.br +0 -0
- package/dist/public/assets/_BOMd8TCK.js.br +0 -0
- package/dist/public/assets/_BZ1ORFOG.js.br +0 -0
- package/dist/public/assets/_BbElRt4j2.js.br +0 -0
- package/dist/public/assets/_BeiKlFyF.js.br +0 -0
- package/dist/public/assets/_Bfxr0cJZ.js.br +0 -0
- package/dist/public/assets/_BngsVbfs.js.br +0 -0
- package/dist/public/assets/_Bo6N68cW2.js.br +0 -0
- package/dist/public/assets/_BqMMY6m_.js.br +0 -0
- package/dist/public/assets/_Bu1p9uSE.js.br +0 -0
- package/dist/public/assets/_Bwf6AXcG.js +0 -89
- package/dist/public/assets/_Bwf6AXcG.js.br +0 -0
- package/dist/public/assets/_By0ZhvwN.js.br +0 -0
- package/dist/public/assets/_BzZTGAcf.js.br +0 -0
- package/dist/public/assets/_C3jgMqec.js.br +0 -0
- package/dist/public/assets/_C7K5skmZ.js.br +0 -0
- package/dist/public/assets/_C7xNavdA.js.br +0 -0
- package/dist/public/assets/_C8zp54RX2.js.br +0 -0
- package/dist/public/assets/_CNIVJCYh.js.br +0 -0
- package/dist/public/assets/_Ccw2WcFJ.js.br +0 -0
- package/dist/public/assets/_CdJgBBp1.js.br +0 -0
- package/dist/public/assets/_Ce_0QLmD2.js.br +0 -0
- package/dist/public/assets/_Cg4e3YdF.js.br +0 -0
- package/dist/public/assets/_ChgUBap2.js.br +0 -0
- package/dist/public/assets/_CkMbbZTV.js.br +0 -0
- package/dist/public/assets/_Clf2e2n_.js.br +0 -0
- package/dist/public/assets/_CpBLPn2w.js.br +0 -0
- package/dist/public/assets/_CrdZJZZd.js.br +0 -0
- package/dist/public/assets/_Csc5thvE.js.br +0 -0
- package/dist/public/assets/_Cxsd1Imx.js.br +0 -0
- package/dist/public/assets/_D1EW4Pmg.js.br +0 -0
- package/dist/public/assets/_D7F06nEE.js.br +0 -0
- package/dist/public/assets/_DCWzPBMu.js.br +0 -0
- package/dist/public/assets/_DFti8M4d.js.br +0 -0
- package/dist/public/assets/_DHzj4OkK.js.br +0 -0
- package/dist/public/assets/_DSMA17Ls.js.br +0 -0
- package/dist/public/assets/_DSZXi7PW2.js.br +0 -0
- package/dist/public/assets/_DU-HvI1X2.js.br +0 -0
- package/dist/public/assets/_DU546zvR2.js.br +0 -0
- package/dist/public/assets/_DYiWc3Qv2.js.br +0 -0
- package/dist/public/assets/_DaicYUdR2.js.br +0 -0
- package/dist/public/assets/_Dbdv5Cok2.js.br +0 -0
- package/dist/public/assets/_DeGTY8L-.js.br +0 -0
- package/dist/public/assets/_Df4m81GI.js.br +0 -0
- package/dist/public/assets/_Dg8W2qKd.js.br +0 -0
- package/dist/public/assets/_DhF3kqKM.js.br +0 -0
- package/dist/public/assets/_Dkj5kUs_.js.br +0 -0
- package/dist/public/assets/_DrK8xGce.js.br +0 -0
- package/dist/public/assets/_DsFrJ9e-.js.br +0 -0
- package/dist/public/assets/_Dtnyhhg42.js.br +0 -0
- package/dist/public/assets/_DuA-u7gQ.js.br +0 -0
- package/dist/public/assets/_DxEgOJrA2.js.br +0 -0
- package/dist/public/assets/_DyFKKRcb2.js.br +0 -0
- package/dist/public/assets/_PyWD-OLD.js.br +0 -0
- package/dist/public/assets/_XKdqeQJS2.js.br +0 -0
- package/dist/public/assets/_YUHil-cs.js.br +0 -0
- package/dist/public/assets/_gz2ki5-c.js.br +0 -0
- package/dist/public/assets/_hv6mbBf-.js.br +0 -0
- package/dist/public/assets/_iUhOV8GI.js.br +0 -0
- package/dist/public/assets/_kZUgqOeI.js.br +0 -0
- package/dist/public/assets/_lcPvr6W1.js.br +0 -0
- package/dist/public/assets/app-page-Dk_mvqt2.css.br +0 -0
- package/dist/public/assets/diff-view-DJbuoCt_.css.br +0 -0
- package/dist/public/assets/new-B8Rn8B9U.js +0 -1
- package/dist/public/assets/settings-B8Rn8B9U.js +0 -1
- package/dist/public/assets/w-B8Rn8B9U.js +0 -1
- package/dist/public/assets/w._-B8Rn8B9U.js +0 -1
- package/dist/public/assets/w._-DIHEc1VL.js +0 -1
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __
|
|
|
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, V as publish, X as preferredAgent, Y as getSetting, Z as setDisabledAgents, _ as tmuxName, _t as git, a as ensureTmuxServer, at as which, b as readHookPayload, bt as config, ct as agentById, d as newSessionArgs, dt as all, et as discoverAgents, ft as db, g as sessionStates, h as sendToSession, ht as TMUX_SOCKET, it as setupPath, j as setSessionViewers, k as setAgentPhase, l as listSessions, lt as agentLabel$1, m as renameSession, mt as workspacePath, n as clearTmuxStarted, o as getSession, pt as get, q as disabledAgents, r as createSession, rt as miseVersions, s as killSession, st as TOOLS, t as cleanEnv, tt as doctor, u as markTmuxStarted, ut as toolById, v as tmuxWasStarted, w as agentFamily, x as reportsWorking, y as AGENTS, yt as tmux, z as pushPublicKey } from "./_DOBRRnfU.js";
|
|
3
3
|
import { B as withLock, C as revParse, D as ensureAllPushHooks, E as workspaceBranches, F as repoBranches, G as ensureGitCredentials, H as addHost, I as repoCatalog, K as forgetToken, L as repoDefaultBranch, M as headOid, N as remoteHasHeads, O as hookToken, P as pendingSsoOrgs, Q as ownsBranch, S as resumePendingWorkspaces, T as withProgressOp, U as cloneUrl, V as DEFAULT_HOST, W as configuredHosts, X as removeHost, Z as splitRepo, _ as progress$1, b as queueMaterialize, c as setAutoPush, d as createWorkspace, f as deleteWorkspace, g as otherWorkspaceBranches, h as listWorkspaces, i as noteRemoteRef, j as workspaceProcs, k as killWorkspaceProc, l as addRepo$1, m as insertPendingWorkspace, p as getWorkspace, r as noteLocalRefs, s as pushWorkspaceRepo, t as autoPushEnabled, u as barePath, v as progressSince, w as setWorkspaceStatus, x as removeRepo, y as pruneLaneBranch, z as swr } from "./_930ti7l4.js";
|
|
4
4
|
import { a as statusForAllFresh, c as refreshPrsBatch, i as statusForAll, l as workspacePrs, n as pokeStatusWatch, o as dismissPr, r as startStatusWatch, s as notePushActivity, t as activeRepoTargets } from "./_BJcBOXUi.js";
|
|
5
|
-
import { $ as _attr_style, A as parseRepoUrl, At as _subscribe, B as metaTrunc, C as setWorkspaceTab, Ct as _scope_reason, D as toast_default, Dt as _serialize_guard, E as workspaceTab, Et as _sep, F as btnSm, Ft as attrTag, G as _attr_class, H as tone, It as forOf, J as _attr_input_value, L as iconBtnRow, Lt as withPageAssets, M as repoWebUrl, Mt as _to_text, N as setPrimaryHost, Nt as _trailers, O as icon_xmark_default, Ot as _serialize_if, P as btnLg, Pt as _var, Q as _attr_select_value, R as iconBtnXs, Rt as writeScope, S as setTheme, St as _scope_id, T as theme, Tt as _script, U as $global, V as phase, W as _attr, X as _attr_option_value, Y as _attr_nonce, Z as _attr_or, _t as _id, at as _dynamic_tag, bt as _resume, c as icon_arrow_up_default, ct as _el_resume, d as icon_refresh_default, dt as _existing_scope, et as _attr_textarea_value, f as iconBtn$2, ft as _flush_head, gt as _html, ht as _hoist_read_error, i as icon_sidebar_default, it as _content_resume, j as repoLabel, jt as _template, k as icon_base_default, kt as _set_serialize_reason, l as icon_chevron_right_default, lt as _escape, m as sectionCount$1, mt as _hoist, n as findIconBtn, nt as _attrs_partial, o as rankRepos, p as row, pt as _for_of, q as _attr_input_checked, r as findInput, rt as _content, s as icon_search_default, st as _el_read_error, t as icon_arrow_down_default, tt as _attrs, u as icon_back_default, ut as _escape_script, vt as _if, w as sideNavOpen, wt as _scope_with_id, xt as _resume_branch, y as ignoredSsoOrgs, yt as _peek_scope_id, z as inputLg } from "./
|
|
5
|
+
import { $ as _attr_style, A as parseRepoUrl, At as _subscribe, B as metaTrunc, C as setWorkspaceTab, Ct as _scope_reason, D as toast_default, Dt as _serialize_guard, E as workspaceTab, Et as _sep, F as btnSm, Ft as attrTag, G as _attr_class, H as tone, It as forOf, J as _attr_input_value, L as iconBtnRow, Lt as withPageAssets, M as repoWebUrl, Mt as _to_text, N as setPrimaryHost, Nt as _trailers, O as icon_xmark_default, Ot as _serialize_if, P as btnLg, Pt as _var, Q as _attr_select_value, R as iconBtnXs, Rt as writeScope, S as setTheme, St as _scope_id, T as theme, Tt as _script, U as $global, V as phase, W as _attr, X as _attr_option_value, Y as _attr_nonce, Z as _attr_or, _t as _id, at as _dynamic_tag, bt as _resume, c as icon_arrow_up_default, ct as _el_resume, d as icon_refresh_default, dt as _existing_scope, et as _attr_textarea_value, f as iconBtn$2, ft as _flush_head, gt as _html, ht as _hoist_read_error, i as icon_sidebar_default, it as _content_resume, j as repoLabel, jt as _template, k as icon_base_default, kt as _set_serialize_reason, l as icon_chevron_right_default, lt as _escape, m as sectionCount$1, mt as _hoist, n as findIconBtn, nt as _attrs_partial, o as rankRepos, p as row, pt as _for_of, q as _attr_input_checked, r as findInput, rt as _content, s as icon_search_default, st as _el_read_error, t as icon_arrow_down_default, tt as _attrs, u as icon_back_default, ut as _escape_script, vt as _if, w as sideNavOpen, wt as _scope_with_id, xt as _resume_branch, y as ignoredSsoOrgs, yt as _peek_scope_id, z as inputLg } from "./_DN0yiF9R.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import { createServer } from "node:http";
|
|
8
8
|
import path from "node:path";
|
|
@@ -2323,29 +2323,29 @@ function applyInstance(inst) {
|
|
|
2323
2323
|
}
|
|
2324
2324
|
//#endregion
|
|
2325
2325
|
//#region src/tags/settings-page.css.ts
|
|
2326
|
-
var content$2 = "_cc
|
|
2327
|
-
var agentGrid = "_ci
|
|
2328
|
-
var toolGrid = "_cs
|
|
2326
|
+
var content$2 = "_cc _bp _bq";
|
|
2327
|
+
var agentGrid = "_ci _bA";
|
|
2328
|
+
var toolGrid = "_cs _bA";
|
|
2329
2329
|
var themeSeg = "_cH _6";
|
|
2330
2330
|
var swatches = "_cP _6";
|
|
2331
|
-
var checkList = "_de
|
|
2331
|
+
var checkList = "_de _bA";
|
|
2332
2332
|
//#endregion
|
|
2333
2333
|
//#region src/tags/page-head.marko
|
|
2334
2334
|
var page_head_default = _template("t", (input) => {
|
|
2335
2335
|
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);
|
|
2336
2336
|
const $scope0_id = _scope_id();
|
|
2337
|
-
_html(`<header${_attr_class("
|
|
2337
|
+
_html(`<header${_attr_class("_br")}>`);
|
|
2338
2338
|
_if(() => {
|
|
2339
2339
|
if (input.backHref) {
|
|
2340
2340
|
const $scope1_id = _scope_id();
|
|
2341
|
-
_html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "
|
|
2341
|
+
_html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_dM"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
2342
2342
|
icon_back_default({ size: 16 });
|
|
2343
2343
|
_html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 0))}`);
|
|
2344
2344
|
_serialize_if($scope0_reason, 2) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 0) && _scope_with_id($scope0_id) });
|
|
2345
2345
|
return 0;
|
|
2346
2346
|
} else if (input.onBack) {
|
|
2347
2347
|
const $scope2_id = _scope_id();
|
|
2348
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
2348
|
+
_html(`<button${_attr_class([iconBtnRow, "_dM"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
2349
2349
|
icon_back_default({ size: 16 });
|
|
2350
2350
|
_html(`</button>${_el_resume($scope2_id, "a")}`);
|
|
2351
2351
|
_script($scope2_id, "t0");
|
|
@@ -2353,11 +2353,11 @@ var page_head_default = _template("t", (input) => {
|
|
|
2353
2353
|
return 1;
|
|
2354
2354
|
}
|
|
2355
2355
|
}, $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);
|
|
2356
|
-
_html(`<div${_attr_class("
|
|
2356
|
+
_html(`<div${_attr_class("_bt")}><h1${_attr("id", input.titleId)}${_attr_class("_bs")}>${_escape(input.title)}${_el_resume($scope0_id, "e", _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
|
|
2357
2357
|
_if(() => {
|
|
2358
2358
|
if (input.meta) {
|
|
2359
2359
|
const $scope3_id = _scope_id();
|
|
2360
|
-
_html(`<p${_attr_class("
|
|
2360
|
+
_html(`<p${_attr_class("_bu")}>`);
|
|
2361
2361
|
_dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
|
|
2362
2362
|
_html("</p>");
|
|
2363
2363
|
$si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -2368,7 +2368,7 @@ var page_head_default = _template("t", (input) => {
|
|
|
2368
2368
|
_if(() => {
|
|
2369
2369
|
if (input.actions) {
|
|
2370
2370
|
const $scope4_id = _scope_id();
|
|
2371
|
-
_html(`<div${_attr_class("
|
|
2371
|
+
_html(`<div${_attr_class("_bv")}>`);
|
|
2372
2372
|
_dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
2373
2373
|
_html("</div>");
|
|
2374
2374
|
$si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -2436,7 +2436,7 @@ var icon_agent_default = _template("I", (input) => {
|
|
|
2436
2436
|
n: $badge__closures
|
|
2437
2437
|
});
|
|
2438
2438
|
});
|
|
2439
|
-
var usageNote = "
|
|
2439
|
+
var usageNote = "_fy _R";
|
|
2440
2440
|
//#endregion
|
|
2441
2441
|
//#region src/tags/icons/icon-warning.marko
|
|
2442
2442
|
var icon_warning_default = _template("mb", (input) => {
|
|
@@ -2466,11 +2466,11 @@ var usage_meters_default = _template("F", (input) => {
|
|
|
2466
2466
|
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);
|
|
2467
2467
|
const $scope0_id = _scope_id();
|
|
2468
2468
|
const agent = input.agent;
|
|
2469
|
-
_html(`<div${_attr_class(["
|
|
2469
|
+
_html(`<div${_attr_class(["_fs", { ["_ft"]: input.hideName }])}><div${_attr_class("_fu")}>`);
|
|
2470
2470
|
_if(() => {
|
|
2471
2471
|
if (!input.hideName) {
|
|
2472
2472
|
const $scope1_id = _scope_id();
|
|
2473
|
-
_html(`<strong${_attr_class("
|
|
2473
|
+
_html(`<strong${_attr_class("_fN")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
|
|
2474
2474
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
2475
2475
|
return 0;
|
|
2476
2476
|
}
|
|
@@ -2478,7 +2478,7 @@ var usage_meters_default = _template("F", (input) => {
|
|
|
2478
2478
|
_if(() => {
|
|
2479
2479
|
if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
|
|
2480
2480
|
const $scope2_id = _scope_id();
|
|
2481
|
-
_html(`<span${_attr_class("
|
|
2481
|
+
_html(`<span${_attr_class("_fv")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
|
|
2482
2482
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
2483
2483
|
return 0;
|
|
2484
2484
|
}
|
|
@@ -2486,21 +2486,21 @@ var usage_meters_default = _template("F", (input) => {
|
|
|
2486
2486
|
_if(() => {
|
|
2487
2487
|
if (agent.stale_seconds != null) {
|
|
2488
2488
|
const $scope3_id = _scope_id();
|
|
2489
|
-
_html(`<span${_attr_class("
|
|
2489
|
+
_html(`<span${_attr_class("_fw")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
|
|
2490
2490
|
icon_warning_default({ size: 12 });
|
|
2491
2491
|
_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)}`);
|
|
2492
2492
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
2493
2493
|
return 0;
|
|
2494
2494
|
}
|
|
2495
2495
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
2496
|
-
_html(`</div><div${_attr_class(["
|
|
2496
|
+
_html(`</div><div${_attr_class(["_fx", { ["_fO"]: agent.stale_seconds != null }])}>`);
|
|
2497
2497
|
_for_of(agent.windows || [], (win) => {
|
|
2498
2498
|
const $scope4_id = _scope_id();
|
|
2499
2499
|
const pct = pctText(win.used_percent);
|
|
2500
2500
|
const label = resetLabel(win.resets_at, agent.stale_seconds != null);
|
|
2501
|
-
const fillClass = win.used_percent >= 90 ? "
|
|
2502
|
-
const pctClass = win.used_percent >= 90 ? "
|
|
2503
|
-
_html(`<div${_attr_class("
|
|
2501
|
+
const fillClass = win.used_percent >= 90 ? "_fG" : win.used_percent >= 70 ? "_fF" : win.used_percent >= 40 ? "_fE" : "_fD";
|
|
2502
|
+
const pctClass = win.used_percent >= 90 ? "_fL" : win.used_percent >= 70 ? "_fK" : win.used_percent >= 40 ? "_fJ" : "_fI";
|
|
2503
|
+
_html(`<div${_attr_class("_fz")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_fA")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_fB")}><span${_attr_class(["_fC", 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(["_fH", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_fM")}>`);
|
|
2504
2504
|
_if(() => {
|
|
2505
2505
|
if (label) {
|
|
2506
2506
|
const $scope6_id = _scope_id();
|
|
@@ -2532,7 +2532,7 @@ var usage_meters_default = _template("F", (input) => {
|
|
|
2532
2532
|
q: $si__input_agent && agent?.note
|
|
2533
2533
|
});
|
|
2534
2534
|
});
|
|
2535
|
-
var orgSkip = "
|
|
2535
|
+
var orgSkip = "_fS _1 _j";
|
|
2536
2536
|
//#endregion
|
|
2537
2537
|
//#region src/tags/sso-auth.marko
|
|
2538
2538
|
var api$7;
|
|
@@ -2580,14 +2580,14 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2580
2580
|
localCode = null;
|
|
2581
2581
|
}
|
|
2582
2582
|
}, "B0", $scope0_id);
|
|
2583
|
-
_html(`<div${_attr_class("
|
|
2583
|
+
_html(`<div${_attr_class("_fP")}>`);
|
|
2584
2584
|
_if(() => {
|
|
2585
2585
|
if (input.items.length) {
|
|
2586
2586
|
const $scope1_id = _scope_id();
|
|
2587
|
-
_html(`<p${_attr_class("
|
|
2587
|
+
_html(`<p${_attr_class("_f0")}>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("_fQ")}>`);
|
|
2588
2588
|
_for_of(input.items, (s) => {
|
|
2589
2589
|
const $scope2_id = _scope_id();
|
|
2590
|
-
_html(`<li${_attr_class("
|
|
2590
|
+
_html(`<li${_attr_class("_fR")}>${_escape(s.org)}${_el_resume($scope2_id, "b", $sg__input_items)}<button type=button${_attr_class(orgSkip)}${_attr("title", `Skip ${s.org}`)}${_attr("aria-label", `Skip ${s.org}`)}${_attr("disabled", busy)}>`);
|
|
2591
2591
|
icon_xmark_default({ size: 11 });
|
|
2592
2592
|
_html(`</button>${_el_resume($scope2_id, "c")}</li>`);
|
|
2593
2593
|
_script($scope2_id, "B1");
|
|
@@ -2596,17 +2596,17 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2596
2596
|
_: _scope_with_id($scope1_id)
|
|
2597
2597
|
}));
|
|
2598
2598
|
}, "org", $scope1_id, "c", $sg__input_items, $sg__input_items, $sg__input_items, "</ul>", 1);
|
|
2599
|
-
_html(`<div${_attr_class("
|
|
2599
|
+
_html(`<div${_attr_class("_fT")}>`);
|
|
2600
2600
|
_if(() => {
|
|
2601
2601
|
if (busy && authCode$2) {
|
|
2602
2602
|
const $scope5_id = _scope_id();
|
|
2603
|
-
_html(`<span${_attr_class("
|
|
2603
|
+
_html(`<span${_attr_class("_fU")}><span${_attr_class("_E")}></span> Enter code <strong${_attr_class("_fV")}>${_escape(authCode$2)}${_el_resume($scope5_id, "d")}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_fW")}>${_escape(host)}${_el_resume($scope5_id, "f", _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope5_id, "e")}</span>`);
|
|
2604
2604
|
_script($scope5_id, "B2");
|
|
2605
2605
|
_subscribe($authCode__closures, _subscribe($si__input_items_0_host && $host__closures, writeScope($scope5_id, {})));
|
|
2606
2606
|
return 0;
|
|
2607
2607
|
} else if (busy) {
|
|
2608
2608
|
const $scope8_id = _scope_id();
|
|
2609
|
-
_html(`<span${_attr_class("
|
|
2609
|
+
_html(`<span${_attr_class("_fU")}><span${_attr_class("_E")}></span>Starting GitHub re-authorization…</span>`);
|
|
2610
2610
|
writeScope($scope8_id, {});
|
|
2611
2611
|
return 1;
|
|
2612
2612
|
} else {
|
|
@@ -2620,7 +2620,7 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2620
2620
|
_if(() => {
|
|
2621
2621
|
if (localError) {
|
|
2622
2622
|
const $scope6_id = _scope_id();
|
|
2623
|
-
_html(`<p${_attr_class("
|
|
2623
|
+
_html(`<p${_attr_class("_f0")}>${_escape(localError)}${_el_resume($scope6_id, "b")}</p>`);
|
|
2624
2624
|
_subscribe($localError__closures, writeScope($scope6_id, {}));
|
|
2625
2625
|
return 0;
|
|
2626
2626
|
}
|
|
@@ -2632,10 +2632,10 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2632
2632
|
_if(() => {
|
|
2633
2633
|
if (skipped$1.length) {
|
|
2634
2634
|
const $scope3_id = _scope_id();
|
|
2635
|
-
_html(`<p${_attr_class("
|
|
2635
|
+
_html(`<p${_attr_class("_fX")}>Skipped SSO for `);
|
|
2636
2636
|
_for_of(skipped$1, (s) => {
|
|
2637
2637
|
const $scope4_id = _scope_id();
|
|
2638
|
-
_html(`<span${_attr_class("
|
|
2638
|
+
_html(`<span${_attr_class("_fY")}>${_escape(s.org)}${_el_resume($scope4_id, "b", $sg__input_skipped)}<button type=button${_attr_class("_fZ")}${_attr("title", `Show ${s.org} again`)}>(undo)</button>${_el_resume($scope4_id, "c")}</span>`);
|
|
2639
2639
|
_script($scope4_id, "B4");
|
|
2640
2640
|
writeScope($scope4_id, {
|
|
2641
2641
|
f: s?.org,
|
|
@@ -2710,7 +2710,7 @@ var modal_view_default = _template("r", (input) => {
|
|
|
2710
2710
|
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;
|
|
2711
2711
|
const dismissable = input.dismissable !== false;
|
|
2712
2712
|
let open = input.open;
|
|
2713
|
-
_html(`<dialog${_attr_class(["
|
|
2713
|
+
_html(`<dialog${_attr_class(["_fp", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
|
|
2714
2714
|
...htmlInput,
|
|
2715
2715
|
open: null
|
|
2716
2716
|
}, {
|
|
@@ -2720,20 +2720,20 @@ var modal_view_default = _template("r", (input) => {
|
|
|
2720
2720
|
closedby: 1,
|
|
2721
2721
|
"on-cancel": 1,
|
|
2722
2722
|
"on-close": 1
|
|
2723
|
-
}, "a", $scope0_id, "dialog")}><div${_attr_class("
|
|
2723
|
+
}, "a", $scope0_id, "dialog")}><div${_attr_class("_fq")}>`);
|
|
2724
2724
|
_dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
|
|
2725
2725
|
_html("</div>");
|
|
2726
2726
|
_if(() => {
|
|
2727
2727
|
if (footer) {
|
|
2728
2728
|
const $scope1_id = _scope_id();
|
|
2729
|
-
_html(`<form method=dialog${_attr_class("
|
|
2729
|
+
_html(`<form method=dialog${_attr_class("_fr")}>`);
|
|
2730
2730
|
_dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
|
|
2731
2731
|
_html("</form>");
|
|
2732
2732
|
$si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
|
|
2733
2733
|
return 0;
|
|
2734
2734
|
} else if (input.openChange) {
|
|
2735
2735
|
const $scope2_id = _scope_id();
|
|
2736
|
-
_html(`<form method=dialog${_attr_class("
|
|
2736
|
+
_html(`<form method=dialog${_attr_class("_fr")}>`);
|
|
2737
2737
|
dialog_close_default({
|
|
2738
2738
|
class: ["_o", "_p"],
|
|
2739
2739
|
content: _content("r0", () => {
|
|
@@ -2792,7 +2792,7 @@ var prompt_dialog_default = _template("u", (input) => {
|
|
|
2792
2792
|
const $childScope = _peek_scope_id();
|
|
2793
2793
|
modal_view_default({
|
|
2794
2794
|
label: input.label,
|
|
2795
|
-
class: "
|
|
2795
|
+
class: "_fn",
|
|
2796
2796
|
open: input.open,
|
|
2797
2797
|
openChange: input.openChange,
|
|
2798
2798
|
"aria-labelledby": titleId,
|
|
@@ -2815,7 +2815,7 @@ var prompt_dialog_default = _template("u", (input) => {
|
|
|
2815
2815
|
content: _content("u6", () => {
|
|
2816
2816
|
_scope_reason();
|
|
2817
2817
|
const $scope2_id = _scope_id();
|
|
2818
|
-
_html(`<h2${_attr_class("
|
|
2818
|
+
_html(`<h2${_attr_class("_fo")}${_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) => {
|
|
2819
2819
|
value = _new_value;
|
|
2820
2820
|
}, "u0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
|
|
2821
2821
|
_script($scope2_id, "u4");
|
|
@@ -3349,7 +3349,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3349
3349
|
const backupId = _id();
|
|
3350
3350
|
const machineId = _id();
|
|
3351
3351
|
const skillsId = _id();
|
|
3352
|
-
_html(`<div${_attr_class("
|
|
3352
|
+
_html(`<div${_attr_class("_bn")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bo")}><div${_attr_class(content$2)}>`);
|
|
3353
3353
|
_set_serialize_reason({
|
|
3354
3354
|
0: _serialize_guard($scope0_reason, 4),
|
|
3355
3355
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -3442,7 +3442,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3442
3442
|
return 0;
|
|
3443
3443
|
}
|
|
3444
3444
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
3445
|
-
_html(`<section${_attr_class("
|
|
3445
|
+
_html(`<section${_attr_class("_bx")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_by")}><h2${_attr("id", agentsId)}${_attr_class("_bL")}>Agents</h2><div${_attr_class("_x")}></div><label${_attr_class("_ck")}><span${_attr_class("_R")}>Default</span><span${_attr_class("_m")}>`);
|
|
3446
3446
|
_attr_select_value($scope0_id, "n", input.preferred, _resume(function(v) {
|
|
3447
3447
|
setPreferred(v);
|
|
3448
3448
|
}, "x2", $scope0_id), () => {
|
|
@@ -3467,14 +3467,14 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3467
3467
|
const rows = lone ? [] : a.instances;
|
|
3468
3468
|
const loneAccounts = lone && lone.enabled ? accountsFor(lone.id) : [];
|
|
3469
3469
|
const extraAccounts = a.installed ? strayAccountsFor(a) : [];
|
|
3470
|
-
_html(`<li${_attr_class(["
|
|
3470
|
+
_html(`<li${_attr_class(["_bC", "_cj"])}><div${_attr_class(["_cm", { ["_cp"]: lone && !lone.enabled }])}>`);
|
|
3471
3471
|
_set_serialize_reason(12);
|
|
3472
3472
|
const $childScope4 = _peek_scope_id();
|
|
3473
3473
|
icon_agent_default({
|
|
3474
3474
|
agent: a.id,
|
|
3475
3475
|
size: 18
|
|
3476
3476
|
});
|
|
3477
|
-
_html(`<div${_attr_class("
|
|
3477
|
+
_html(`<div${_attr_class("_bD")}><span${_attr_class("_bF")}><span${_attr_class("_bE")}>${_escape(a.label)}${_el_resume($scope1_id, "g")}</span>`);
|
|
3478
3478
|
_if(() => {
|
|
3479
3479
|
if (lone && input.preferred === lone.id) {
|
|
3480
3480
|
const $scope84_id = _scope_id();
|
|
@@ -3492,7 +3492,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3492
3492
|
return 0;
|
|
3493
3493
|
} else if (!a.installed) {
|
|
3494
3494
|
const $scope85_id = _scope_id();
|
|
3495
|
-
_html(`<span${_attr_class("
|
|
3495
|
+
_html(`<span${_attr_class("_bG")}>Not installed</span>`);
|
|
3496
3496
|
writeScope($scope85_id, {});
|
|
3497
3497
|
return 1;
|
|
3498
3498
|
}
|
|
@@ -3610,7 +3610,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3610
3610
|
}, "id", $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
3611
3611
|
_for_of(otherUsage, (u) => {
|
|
3612
3612
|
const $scope90_id = _scope_id();
|
|
3613
|
-
_html(`<li${_attr_class(["
|
|
3613
|
+
_html(`<li${_attr_class(["_bC", "_cj"])}>`);
|
|
3614
3614
|
_set_serialize_reason(6);
|
|
3615
3615
|
const $childScope9 = _peek_scope_id();
|
|
3616
3616
|
usage_meters_default({ agent: u });
|
|
@@ -3621,17 +3621,17 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3621
3621
|
_if(() => {
|
|
3622
3622
|
if (!usage && families.length) {
|
|
3623
3623
|
const $scope91_id = _scope_id();
|
|
3624
|
-
_html(`<p${_attr_class("
|
|
3624
|
+
_html(`<p${_attr_class("_bI")}><span${_attr_class("_E")}></span> Loading usage…</p>`);
|
|
3625
3625
|
writeScope($scope91_id, {});
|
|
3626
3626
|
return 0;
|
|
3627
3627
|
} else if (usage?.error) {
|
|
3628
3628
|
const $scope7_id = _scope_id();
|
|
3629
|
-
_html(`<p${_attr_class("
|
|
3629
|
+
_html(`<p${_attr_class("_bI")}>${_escape(usage.error)}${_el_resume($scope7_id, "b")}</p>`);
|
|
3630
3630
|
writeScope($scope7_id, {});
|
|
3631
3631
|
return 1;
|
|
3632
3632
|
}
|
|
3633
3633
|
}, $scope0_id, "t", 1, 1, 1, 0, 1);
|
|
3634
|
-
_html(`</section><section${_attr_class("
|
|
3634
|
+
_html(`</section><section${_attr_class("_bx")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_by")}><h2${_attr("id", githubId)}${_attr_class("_bL")}>GitHub</h2></div><ul${_attr_class("_bA")}>`);
|
|
3635
3635
|
_for_of(setup?.github || [], (h) => {
|
|
3636
3636
|
const $scope12_id = _scope_id();
|
|
3637
3637
|
const $for_content4__h_host__closures = /* @__PURE__ */ new Set();
|
|
@@ -3645,7 +3645,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3645
3645
|
const skippedSso = (() => {
|
|
3646
3646
|
return (h.sso || []).filter((s) => ignoredSso.has(s.org));
|
|
3647
3647
|
})();
|
|
3648
|
-
_html(`<li${_attr_class(["
|
|
3648
|
+
_html(`<li${_attr_class(["_bC", "_cB"])}><div${_attr_class("_cC")}><div${_attr_class("_bD")}><span${_attr_class("_bF")}><span${_attr_class(["_bE", "_w"])}>${_escape(h.host)}${_el_resume($scope12_id, "f")}</span>`);
|
|
3649
3649
|
_if(() => {
|
|
3650
3650
|
if (h.isEnterprise) {
|
|
3651
3651
|
const $scope94_id = _scope_id();
|
|
@@ -3668,12 +3668,12 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3668
3668
|
return 1;
|
|
3669
3669
|
} else if (h.authed) {
|
|
3670
3670
|
const $scope92_id = _scope_id();
|
|
3671
|
-
_html(`<span${_attr_class("
|
|
3671
|
+
_html(`<span${_attr_class("_bG")}>Signed in <!>${h.user ? `${_escape(`${_to_text(" ")}`)}as ${_escape(`${_to_text(h.user)}`)}` : ""}${_el_resume($scope92_id, "b")}</span>`);
|
|
3672
3672
|
writeScope($scope92_id, {});
|
|
3673
3673
|
return 2;
|
|
3674
3674
|
} else {
|
|
3675
3675
|
const $scope93_id = _scope_id();
|
|
3676
|
-
_html(`<span${_attr_class("
|
|
3676
|
+
_html(`<span${_attr_class("_bG")}>${_escape(h.error || "Not signed in")}${_el_resume($scope93_id, "b")}</span>`);
|
|
3677
3677
|
writeScope($scope93_id, {});
|
|
3678
3678
|
return 3;
|
|
3679
3679
|
}
|
|
@@ -3704,7 +3704,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3704
3704
|
if (h.isEnterprise) {
|
|
3705
3705
|
const $scope36_id = _scope_id();
|
|
3706
3706
|
_html(`<button${_attr_class([
|
|
3707
|
-
"
|
|
3707
|
+
"_bH",
|
|
3708
3708
|
"_2",
|
|
3709
3709
|
"_3",
|
|
3710
3710
|
{ ["_q"]: confirmingRemove === h.host }
|
|
@@ -3780,7 +3780,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3780
3780
|
_if(() => {
|
|
3781
3781
|
if (setup && !setup.github.length) {
|
|
3782
3782
|
const $scope97_id = _scope_id();
|
|
3783
|
-
_html(`<p${_attr_class("
|
|
3783
|
+
_html(`<p${_attr_class("_bI")}>Install the GitHub CLI below to sign in.</p>`);
|
|
3784
3784
|
writeScope($scope97_id, {});
|
|
3785
3785
|
return 0;
|
|
3786
3786
|
}
|
|
@@ -3788,7 +3788,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3788
3788
|
_if(() => {
|
|
3789
3789
|
if (autoPush !== null) {
|
|
3790
3790
|
const $scope65_id = _scope_id();
|
|
3791
|
-
_html(`<div${_attr_class(row)}><div${_attr_class("
|
|
3791
|
+
_html(`<div${_attr_class(row)}><div${_attr_class("_bD")}><span${_attr_class("_cu")}>Auto-push</span><span${_attr_class("_bG")}>Every commit on a workspace branch goes to origin. A push that fails shows on the workspace.</span></div><button${_attr_class([
|
|
3792
3792
|
"_H",
|
|
3793
3793
|
"_J",
|
|
3794
3794
|
{ [tone.ok]: autoPush }
|
|
@@ -3814,7 +3814,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3814
3814
|
return 0;
|
|
3815
3815
|
}
|
|
3816
3816
|
}, $scope0_id, "a0", 1, 1, 1, 0, 1);
|
|
3817
|
-
_html(`</section><section${_attr_class("
|
|
3817
|
+
_html(`</section><section${_attr_class("_bx")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_by")}><h2${_attr("id", machineId)}${_attr_class("_bL")}><button${_attr_class("_cf")} aria-expanded=${machineOpen ? "true" : "false"}>`);
|
|
3818
3818
|
_set_serialize_reason(1);
|
|
3819
3819
|
const $childScope11 = _peek_scope_id();
|
|
3820
3820
|
icon_chevron_right_default({
|
|
@@ -3864,7 +3864,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3864
3864
|
_if(() => {
|
|
3865
3865
|
if (setup && !setup.mise.installed) {
|
|
3866
3866
|
const $scope17_id = _scope_id();
|
|
3867
|
-
_html(`<p${_attr_class("
|
|
3867
|
+
_html(`<p${_attr_class("_bI")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${active.has("mise") ? "Installing…" : "Install mise"}${_el_resume($scope17_id, "c")}</button>${_el_resume($scope17_id, "b")}</p>`);
|
|
3868
3868
|
_script($scope17_id, "x59");
|
|
3869
3869
|
_subscribe($active__closures, writeScope($scope17_id, { Cgi: 3 }));
|
|
3870
3870
|
return 0;
|
|
@@ -4065,7 +4065,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4065
4065
|
_html(`<ul${_attr_class([toolGrid, "_cx"])}>`);
|
|
4066
4066
|
_for_of(hits, (h) => {
|
|
4067
4067
|
const $scope22_id = _scope_id();
|
|
4068
|
-
_html(`<li${_attr_class(row)}><div${_attr_class("
|
|
4068
|
+
_html(`<li${_attr_class(row)}><div${_attr_class("_bD")}><span${_attr_class(["_cu", "_w"])}>${_escape(h.name)}${_el_resume($scope22_id, "d")}</span>`);
|
|
4069
4069
|
_if(() => {
|
|
4070
4070
|
if (active.has(h.name)) {
|
|
4071
4071
|
const $scope23_id = _scope_id();
|
|
@@ -4074,7 +4074,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4074
4074
|
return 0;
|
|
4075
4075
|
} else if (h.description) {
|
|
4076
4076
|
const $scope108_id = _scope_id();
|
|
4077
|
-
_html(`<span${_attr_class("
|
|
4077
|
+
_html(`<span${_attr_class("_bG")}${_attr("title", h.description)}>${_escape(h.description)}${_el_resume($scope108_id, "b")}</span>${_el_resume($scope108_id, "a")}`);
|
|
4078
4078
|
writeScope($scope108_id, {});
|
|
4079
4079
|
return 1;
|
|
4080
4080
|
}
|
|
@@ -4113,7 +4113,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4113
4113
|
return 0;
|
|
4114
4114
|
} else if (hits && !searching) {
|
|
4115
4115
|
const $scope45_id = _scope_id();
|
|
4116
|
-
_html(`<p${_attr_class("
|
|
4116
|
+
_html(`<p${_attr_class("_bI")}>No tools match "<!>${_escape(query)}${_el_resume($scope45_id, "b")}".</p>`);
|
|
4117
4117
|
_subscribe($query__closures, writeScope($scope45_id, { Cgr: 1 }));
|
|
4118
4118
|
return 1;
|
|
4119
4119
|
}
|
|
@@ -4128,7 +4128,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4128
4128
|
return 0;
|
|
4129
4129
|
}
|
|
4130
4130
|
}, $scope0_id, "ab");
|
|
4131
|
-
_html(`</section><section${_attr_class("
|
|
4131
|
+
_html(`</section><section${_attr_class("_bx")}${_attr("aria-labelledby", skillsId)}><div${_attr_class("_by")}><h2${_attr("id", skillsId)}${_attr_class("_bL")}><button${_attr_class("_cf")} aria-expanded=false>`);
|
|
4132
4132
|
_set_serialize_reason(1);
|
|
4133
4133
|
const $childScope12 = _peek_scope_id();
|
|
4134
4134
|
icon_chevron_right_default({
|
|
@@ -4160,7 +4160,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4160
4160
|
label: "Dark"
|
|
4161
4161
|
}
|
|
4162
4162
|
];
|
|
4163
|
-
_html(`</section><section${_attr_class("
|
|
4163
|
+
_html(`</section><section${_attr_class("_bx")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_by")}><h2${_attr("id", appearanceId)}${_attr_class("_bL")}>Appearance</h2></div><div${_attr_class(["_bC", "_cD"])}><label${_attr_class("_cE")}><span${_attr_class("_cF")}>Name</span><input${_attr_input_value($scope0_id, "ap", input.instance.name, _resume(function(v) {
|
|
4164
4164
|
setInstance({ name: v });
|
|
4165
4165
|
}, "x4", $scope0_id))}${_attr_class(["_T", "_cG"])} type=text placeholder="Tab title" maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "ap")}</label><div${_attr_class("_cE")}><span${_attr_class("_cF")}>Theme</span><span${_attr_class("_cI")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
|
|
4166
4166
|
_for_of(themeOpts, (opt) => {
|
|
@@ -4204,7 +4204,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4204
4204
|
{ ["_cR"]: customOn }
|
|
4205
4205
|
])}${customOn ? _attr_style(`--swatch:${input.instance.accent}`) : ""} title="Custom colour"><input${_attr_input_value($scope0_id, "b2", input.instance.accent || "#3556d8", _resume(function(v) {
|
|
4206
4206
|
setInstance({ accent: v });
|
|
4207
|
-
}, "x6", $scope0_id))}${_attr_class("_cU")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "b2")}<span aria-hidden=true>+</span></label>${_el_resume($scope0_id, "b1", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("
|
|
4207
|
+
}, "x6", $scope0_id))}${_attr_class("_cU")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "b2")}<span aria-hidden=true>+</span></label>${_el_resume($scope0_id, "b1", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_bx")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_by")}><h2${_attr("id", backupId)}${_attr_class("_bL")}>Backup</h2></div><ul${_attr_class("_bA")}><li${_attr_class(["_bC", "_c2"])}><div${_attr_class("_c3")}><div${_attr_class("_bD")}><span${_attr_class("_bE")}>Export</span>`);
|
|
4208
4208
|
_if(() => {
|
|
4209
4209
|
if (backupBusy === "preflight" || backupBusy === "push") {
|
|
4210
4210
|
const $scope66_id = _scope_id();
|
|
@@ -4213,7 +4213,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4213
4213
|
return 0;
|
|
4214
4214
|
} else {
|
|
4215
4215
|
const $scope124_id = _scope_id();
|
|
4216
|
-
_html(`<span${_attr_class("
|
|
4216
|
+
_html(`<span${_attr_class("_bG")}>Workspaces and their branches, settings, skills and tool pins in one file. Code stays on GitHub.</span>`);
|
|
4217
4217
|
writeScope($scope124_id, {});
|
|
4218
4218
|
return 1;
|
|
4219
4219
|
}
|
|
@@ -4253,7 +4253,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4253
4253
|
_for_of(preflight.workspaces, (w) => {
|
|
4254
4254
|
const $scope126_id = _scope_id();
|
|
4255
4255
|
const $for_content18__w_name__closures = /* @__PURE__ */ new Set();
|
|
4256
|
-
_html(`<li${_attr_class("_c8")}><span${_attr_class("
|
|
4256
|
+
_html(`<li${_attr_class("_c8")}><span${_attr_class("_bE")}>${_escape(w.name)}${_el_resume($scope126_id, "c")}</span><ul${_attr_class("_c7")}>`);
|
|
4257
4257
|
_for_of(w.repos, (r) => {
|
|
4258
4258
|
const $scope127_id = _scope_id();
|
|
4259
4259
|
const $for_content19__r_more__closures = /* @__PURE__ */ new Set();
|
|
@@ -4340,7 +4340,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4340
4340
|
return 0;
|
|
4341
4341
|
}
|
|
4342
4342
|
}, $scope0_id, "bd", 1, 1, 1, 0, 1);
|
|
4343
|
-
_html(`</li><li${_attr_class(["
|
|
4343
|
+
_html(`</li><li${_attr_class(["_bC", "_c2"])}><div${_attr_class("_c3")}><div${_attr_class("_bD")}><span${_attr_class("_bE")}>Restore</span>`);
|
|
4344
4344
|
_if(() => {
|
|
4345
4345
|
if (backupBusy === "restore") {
|
|
4346
4346
|
const $scope67_id = _scope_id();
|
|
@@ -4349,12 +4349,12 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4349
4349
|
return 0;
|
|
4350
4350
|
} else if (restoreDone) {
|
|
4351
4351
|
const $scope75_id = _scope_id();
|
|
4352
|
-
_html(`<span${_attr_class("
|
|
4352
|
+
_html(`<span${_attr_class("_bG")}>${_escape(restoreDone)}${_el_resume($scope75_id, "b")}</span>`);
|
|
4353
4353
|
writeScope($scope75_id, {});
|
|
4354
4354
|
return 1;
|
|
4355
4355
|
} else {
|
|
4356
4356
|
const $scope135_id = _scope_id();
|
|
4357
|
-
_html(`<span${_attr_class("
|
|
4357
|
+
_html(`<span${_attr_class("_bG")}>From a file exported here or on another machine. Workspaces come back as they were; their repos clone in the background.</span>`);
|
|
4358
4358
|
writeScope($scope135_id, {});
|
|
4359
4359
|
return 2;
|
|
4360
4360
|
}
|
|
@@ -4381,7 +4381,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4381
4381
|
_html(`<ul${_attr_class(checkList)}>`);
|
|
4382
4382
|
_for_of(preview.workspaces, (w) => {
|
|
4383
4383
|
const $scope72_id = _scope_id();
|
|
4384
|
-
_html(`<li><label${_attr_class(["_df", { ["_dh"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_dg")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("
|
|
4384
|
+
_html(`<li><label${_attr_class(["_df", { ["_dh"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_dg")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_bD")}><span${_attr_class("_bF")}><span${_attr_class("_bE")}>${_escape(w.name)}${_el_resume($scope72_id, "f")}</span>`);
|
|
4385
4385
|
_if(() => {
|
|
4386
4386
|
if (w.status === "archived") {
|
|
4387
4387
|
const $scope139_id = _scope_id();
|
|
@@ -4403,7 +4403,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4403
4403
|
return 1;
|
|
4404
4404
|
}
|
|
4405
4405
|
}, $scope72_id, "h", 1, 1, 1, 0, 1);
|
|
4406
|
-
_html(`</span><span${_attr_class("
|
|
4406
|
+
_html(`</span><span${_attr_class("_bG")}>${_escape(w.repos.join(", ") || "no repos")}${_el_resume($scope72_id, "j")}</span></span></label>${_el_resume($scope72_id, "a")}</li>`);
|
|
4407
4407
|
_script($scope72_id, "x80");
|
|
4408
4408
|
_subscribe($restoreWs__closures, writeScope($scope72_id, {
|
|
4409
4409
|
n: w?.unknownHost,
|
|
@@ -4414,7 +4414,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4414
4414
|
return 0;
|
|
4415
4415
|
} else {
|
|
4416
4416
|
const $scope137_id = _scope_id();
|
|
4417
|
-
_html(`<p${_attr_class("
|
|
4417
|
+
_html(`<p${_attr_class("_bI")}>No workspaces in this file.</p>`);
|
|
4418
4418
|
writeScope($scope137_id, {});
|
|
4419
4419
|
return 1;
|
|
4420
4420
|
}
|
|
@@ -4454,7 +4454,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4454
4454
|
_if(() => {
|
|
4455
4455
|
if (p.total) {
|
|
4456
4456
|
const $scope74_id = _scope_id();
|
|
4457
|
-
_html(`<li><label${_attr_class(["_df", { ["_dh"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_dg")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("
|
|
4457
|
+
_html(`<li><label${_attr_class(["_df", { ["_dh"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_dg")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_bD")}><span${_attr_class("_bE")}>${_escape(p.label)}${_el_resume($scope74_id, "e")}</span><span${_attr_class("_bG")}>`);
|
|
4458
4458
|
_if(() => {
|
|
4459
4459
|
if (p.key === "settings") {
|
|
4460
4460
|
const $scope136_id = _scope_id();
|
|
@@ -4691,12 +4691,12 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4691
4691
|
});
|
|
4692
4692
|
//#endregion
|
|
4693
4693
|
//#region src/tags/new-workspace.css.ts
|
|
4694
|
-
var content$1 = "_bM
|
|
4695
|
-
var section$1 = "_bQ
|
|
4694
|
+
var content$1 = "_bM _bp";
|
|
4695
|
+
var section$1 = "_bQ _bx";
|
|
4696
4696
|
var curBase = "_bV _S _R";
|
|
4697
|
-
var archived = "_b0
|
|
4697
|
+
var archived = "_b0 _bx";
|
|
4698
4698
|
var archivedHint = "_b1 _R";
|
|
4699
|
-
var archivedCard = "_b2
|
|
4699
|
+
var archivedCard = "_b2 _bC";
|
|
4700
4700
|
//#endregion
|
|
4701
4701
|
//#region src/tags/icons/icon-group.marko
|
|
4702
4702
|
var icon_group_default = _template("cb", (input) => {
|
|
@@ -4748,7 +4748,7 @@ var icon_branch_default = _template("Q", (input) => {
|
|
|
4748
4748
|
});
|
|
4749
4749
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
4750
4750
|
});
|
|
4751
|
-
var resultBranch = "
|
|
4751
|
+
var resultBranch = "_dC _Y _j";
|
|
4752
4752
|
//#endregion
|
|
4753
4753
|
//#region src/tags/branch-pick.marko
|
|
4754
4754
|
var branch_pick_default = _template("d", (input) => {
|
|
@@ -4761,11 +4761,11 @@ var branch_pick_default = _template("d", (input) => {
|
|
|
4761
4761
|
let branchFilter = "";
|
|
4762
4762
|
let reloadTick = 0;
|
|
4763
4763
|
let refreshing = false;
|
|
4764
|
-
_html(`<div${_attr_class("
|
|
4764
|
+
_html(`<div${_attr_class("_dE")}>`);
|
|
4765
4765
|
_if(() => {
|
|
4766
4766
|
{
|
|
4767
4767
|
const $scope4_id = _scope_id();
|
|
4768
|
-
_html(`<p${_attr_class("
|
|
4768
|
+
_html(`<p${_attr_class("_bI")}><span${_attr_class("_E")}></span> Loading branches…</p>`);
|
|
4769
4769
|
writeScope($scope4_id, {});
|
|
4770
4770
|
return 0;
|
|
4771
4771
|
}
|
|
@@ -4843,11 +4843,11 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4843
4843
|
const ignored = new Set(prefs$1?.ignoredSsoOrgs?.() ?? []);
|
|
4844
4844
|
return (catalog?.sso || []).filter((s) => !ignored.has(s.org));
|
|
4845
4845
|
})();
|
|
4846
|
-
_html(`<div${_attr_class("
|
|
4846
|
+
_html(`<div${_attr_class("_dv")}>`);
|
|
4847
4847
|
_if(() => {
|
|
4848
4848
|
if (ssoPending.length) {
|
|
4849
4849
|
const $scope7_id = _scope_id();
|
|
4850
|
-
_html(`<div${_attr_class("
|
|
4850
|
+
_html(`<div${_attr_class("_dw")}>`);
|
|
4851
4851
|
_set_serialize_reason(154);
|
|
4852
4852
|
const $childScope = _peek_scope_id();
|
|
4853
4853
|
sso_auth_default({
|
|
@@ -4877,16 +4877,16 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4877
4877
|
_if(() => {
|
|
4878
4878
|
if (pasted) {
|
|
4879
4879
|
const $scope1_id = _scope_id();
|
|
4880
|
-
_html(`<ul${_attr_class("
|
|
4880
|
+
_html(`<ul${_attr_class("_dx")}><li><div${_attr_class(["_dz", "_dy"])}><button${_attr_class("_dA")}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
|
|
4881
4881
|
icon_plus_default({
|
|
4882
4882
|
size: 12,
|
|
4883
|
-
class: "
|
|
4883
|
+
class: "_dG"
|
|
4884
4884
|
});
|
|
4885
|
-
_html(`<span${_attr_class("
|
|
4885
|
+
_html(`<span${_attr_class("_dH")}>${_escape(repoLabel(pasted))}${_el_resume($scope1_id, "f")}</span></button>${_el_resume($scope1_id, "c")}`);
|
|
4886
4886
|
_if(() => {
|
|
4887
4887
|
if (pastedForkable) {
|
|
4888
4888
|
const $scope8_id = _scope_id();
|
|
4889
|
-
_html(`<button${_attr_class(["
|
|
4889
|
+
_html(`<button${_attr_class(["_dD", { ["_dB"]: 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"}>`);
|
|
4890
4890
|
_if(() => {
|
|
4891
4891
|
if (pasteWillFork) {
|
|
4892
4892
|
const $scope10_id = _scope_id();
|
|
@@ -4906,7 +4906,7 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4906
4906
|
return 0;
|
|
4907
4907
|
}
|
|
4908
4908
|
}, $scope1_id, "g", 1, 1, 1, 0, 1);
|
|
4909
|
-
_html(`<button${_attr_class([resultBranch, { ["
|
|
4909
|
+
_html(`<button${_attr_class([resultBranch, { ["_dB"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
|
|
4910
4910
|
icon_branch_default({ size: 12 });
|
|
4911
4911
|
_html(`</button>${_el_resume($scope1_id, "h")}</div>`);
|
|
4912
4912
|
_if(() => {
|
|
@@ -4933,7 +4933,7 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4933
4933
|
return 0;
|
|
4934
4934
|
} else if (filter && !catalog) {
|
|
4935
4935
|
const $scope9_id = _scope_id();
|
|
4936
|
-
_html(`<p${_attr_class("
|
|
4936
|
+
_html(`<p${_attr_class("_bI")}>Loading repos…</p>`);
|
|
4937
4937
|
writeScope($scope9_id, {});
|
|
4938
4938
|
return 1;
|
|
4939
4939
|
}
|
|
@@ -4941,15 +4941,15 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4941
4941
|
_if(() => {
|
|
4942
4942
|
if (results.length) {
|
|
4943
4943
|
const $scope3_id = _scope_id();
|
|
4944
|
-
_html(`<ul${_attr_class("
|
|
4944
|
+
_html(`<ul${_attr_class("_dx")}>`);
|
|
4945
4945
|
_for_of(results, (repo, i) => {
|
|
4946
4946
|
const $scope4_id = _scope_id();
|
|
4947
|
-
_html(`<li><div${_attr_class(["
|
|
4947
|
+
_html(`<li><div${_attr_class(["_dz", { ["_dy"]: i === highlight }])}><button${_attr_class("_dA")}>`);
|
|
4948
4948
|
icon_plus_default({
|
|
4949
4949
|
size: 12,
|
|
4950
|
-
class: "
|
|
4950
|
+
class: "_dG"
|
|
4951
4951
|
});
|
|
4952
|
-
_html(`<span${_attr_class("
|
|
4952
|
+
_html(`<span${_attr_class("_dH")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope4_id, "e")}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_dB"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
|
|
4953
4953
|
icon_branch_default({ size: 12 });
|
|
4954
4954
|
_html(`</button>${_el_resume($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
|
|
4955
4955
|
_if(() => {
|
|
@@ -4984,7 +4984,7 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4984
4984
|
return 0;
|
|
4985
4985
|
} else if (filter && catalog && !pasted) {
|
|
4986
4986
|
const $scope6_id = _scope_id();
|
|
4987
|
-
_html(`<p${_attr_class("
|
|
4987
|
+
_html(`<p${_attr_class("_bI")}>No repos match "<!>${_escape(filter)}${_el_resume($scope6_id, "b")}". Paste a clone URL to add any repo.</p>`);
|
|
4988
4988
|
writeScope($scope6_id, {});
|
|
4989
4989
|
return 1;
|
|
4990
4990
|
}
|
|
@@ -5136,7 +5136,7 @@ function parseInvite(text) {
|
|
|
5136
5136
|
repos
|
|
5137
5137
|
};
|
|
5138
5138
|
}
|
|
5139
|
-
var hint = "
|
|
5139
|
+
var hint = "_dk _R";
|
|
5140
5140
|
//#endregion
|
|
5141
5141
|
//#region src/tags/join-dialog.marko
|
|
5142
5142
|
var api$4;
|
|
@@ -5246,7 +5246,7 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
5246
5246
|
const $childScope = _peek_scope_id();
|
|
5247
5247
|
modal_view_default({
|
|
5248
5248
|
label: "Join a workspace",
|
|
5249
|
-
class: "
|
|
5249
|
+
class: "_di",
|
|
5250
5250
|
open: input.open,
|
|
5251
5251
|
openChange: _resume(function(next) {
|
|
5252
5252
|
if (!next) reset();
|
|
@@ -5269,26 +5269,26 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
5269
5269
|
content: _content("o12", () => {
|
|
5270
5270
|
_scope_reason();
|
|
5271
5271
|
const $scope1_id = _scope_id();
|
|
5272
|
-
_html(`<h2${_attr_class("
|
|
5272
|
+
_html(`<h2${_attr_class("_dj")}${_attr("id", titleId)}>Join a workspace</h2><p${_attr_class(hint)}>Paste an invite: the same repos, on your own lane of their branch.</p><textarea${_attr_class([
|
|
5273
5273
|
"_T",
|
|
5274
5274
|
"_w",
|
|
5275
|
-
"
|
|
5275
|
+
"_dm"
|
|
5276
5276
|
])} placeholder="{ "name": …, "branch": …, "repos": ["owner/name", …] }" aria-label="Workspace invite" rows=6 autocomplete=off spellcheck=false${_attr("disabled", busy)} autofocus>${_attr_textarea_value($scope1_id, "c", invite, setInvite)}</textarea>${_el_resume($scope1_id, "c")}`);
|
|
5277
5277
|
_if(() => {
|
|
5278
5278
|
if (parsed.error) {
|
|
5279
5279
|
const $scope8_id = _scope_id();
|
|
5280
|
-
_html(`<p${_attr_class([hint, "
|
|
5280
|
+
_html(`<p${_attr_class([hint, "_dl"])}>${_escape(parsed.error)}${_el_resume($scope8_id, "b")}</p>`);
|
|
5281
5281
|
_subscribe($parsed_error__closures, writeScope($scope8_id, { Cae: 1 }));
|
|
5282
5282
|
return 0;
|
|
5283
5283
|
} else if (parsed.ok) {
|
|
5284
5284
|
const $scope3_id = _scope_id();
|
|
5285
|
-
_html(`<ul${_attr_class("
|
|
5285
|
+
_html(`<ul${_attr_class("_dn")}>`);
|
|
5286
5286
|
_for_of(parsed.ok.repos, (fullName) => {
|
|
5287
5287
|
const $scope9_id = _scope_id();
|
|
5288
|
-
_html(`<li${_attr_class("
|
|
5288
|
+
_html(`<li${_attr_class("_do")}><span${_attr_class("_dp")}>${_escape(repoLabel(fullName))}${_el_resume($scope9_id, "c")}</span></li>`);
|
|
5289
5289
|
writeScope($scope9_id, {});
|
|
5290
5290
|
}, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
|
|
5291
|
-
_html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_w")}>${_escape(parsed.ok.branch)}${_el_resume($scope3_id, "d")}</span> in each; PRs target theirs.</p><label${_attr_class("
|
|
5291
|
+
_html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_w")}>${_escape(parsed.ok.branch)}${_el_resume($scope3_id, "d")}</span> in each; PRs target theirs.</p><label${_attr_class("_dq")}><span${_attr_class("_bL")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
|
|
5292
5292
|
name = _new_name;
|
|
5293
5293
|
}, "o1", $scope3_id))}${_attr_class("_T")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
|
|
5294
5294
|
_script($scope3_id, "o8");
|
|
@@ -5325,10 +5325,10 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
5325
5325
|
_if(() => {
|
|
5326
5326
|
if (busy && steps$2.length) {
|
|
5327
5327
|
const $scope6_id = _scope_id();
|
|
5328
|
-
_html(`<ul${_attr_class("
|
|
5328
|
+
_html(`<ul${_attr_class("_dr")}>`);
|
|
5329
5329
|
_for_of(steps$2, (step$2, i) => {
|
|
5330
5330
|
const $scope7_id = _scope_id();
|
|
5331
|
-
_html(`<li${_attr_class(["
|
|
5331
|
+
_html(`<li${_attr_class(["_dt", { ["_ds"]: i === steps$2.length - 1 }])}>`);
|
|
5332
5332
|
_if(() => {
|
|
5333
5333
|
if (i === steps$2.length - 1) {
|
|
5334
5334
|
const $scope10_id = _scope_id();
|
|
@@ -5337,7 +5337,7 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
5337
5337
|
return 0;
|
|
5338
5338
|
} else {
|
|
5339
5339
|
const $scope11_id = _scope_id();
|
|
5340
|
-
_html(`<span${_attr_class("
|
|
5340
|
+
_html(`<span${_attr_class("_du")}>`);
|
|
5341
5341
|
icon_check_default({ size: 14 });
|
|
5342
5342
|
_html("</span>");
|
|
5343
5343
|
writeScope($scope11_id, {});
|
|
@@ -5492,7 +5492,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5492
5492
|
}
|
|
5493
5493
|
}, "s6", $scope0_id);
|
|
5494
5494
|
const titleId = _id();
|
|
5495
|
-
_html(`<div${_attr_class("
|
|
5495
|
+
_html(`<div${_attr_class("_bn")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bo")}><div${_attr_class(content$1)}>`);
|
|
5496
5496
|
_set_serialize_reason({
|
|
5497
5497
|
0: _serialize_guard($scope0_reason, 2),
|
|
5498
5498
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -5541,9 +5541,9 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5541
5541
|
return 0;
|
|
5542
5542
|
}
|
|
5543
5543
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
5544
|
-
_html(`<label${_attr_class("_bP")}><span${_attr_class("
|
|
5544
|
+
_html(`<label${_attr_class("_bP")}><span${_attr_class("_bL")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
|
|
5545
5545
|
name = _new_name;
|
|
5546
|
-
}, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class(section$1)}><div${_attr_class("_bR")}><h2${_attr_class("
|
|
5546
|
+
}, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class(section$1)}><div${_attr_class("_bR")}><h2${_attr_class("_bL")}>Repos</h2><button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
5547
5547
|
_set_serialize_reason(1);
|
|
5548
5548
|
const $childScope2 = _peek_scope_id();
|
|
5549
5549
|
icon_refresh_default({
|
|
@@ -5616,7 +5616,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5616
5616
|
_if(() => {
|
|
5617
5617
|
if (!selected.length) {
|
|
5618
5618
|
const $scope16_id = _scope_id();
|
|
5619
|
-
_html(`<li${_attr_class("
|
|
5619
|
+
_html(`<li${_attr_class("_bI")}>No repos yet. Search below to add one, or create it empty.</li>`);
|
|
5620
5620
|
writeScope($scope16_id, {});
|
|
5621
5621
|
return 0;
|
|
5622
5622
|
}
|
|
@@ -5685,10 +5685,10 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5685
5685
|
_if(() => {
|
|
5686
5686
|
if (archived$1.length) {
|
|
5687
5687
|
const $scope6_id = _scope_id();
|
|
5688
|
-
_html(`<section${_attr_class(archived)}><div${_attr_class("_bR")}><h2${_attr_class("
|
|
5688
|
+
_html(`<section${_attr_class(archived)}><div${_attr_class("_bR")}><h2${_attr_class("_bL")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_escape(archived$1.length)}${_el_resume($scope6_id, "e", $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore an archived workspace instead of creating a new one.</p><ul${_attr_class("_bA")}>`);
|
|
5689
5689
|
_for_of(archived$1, (ws) => {
|
|
5690
5690
|
const $scope7_id = _scope_id();
|
|
5691
|
-
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("
|
|
5691
|
+
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("_bD")}><span${_attr_class("_bE")}>${_escape(ws.name)}${_el_resume($scope7_id, "d", $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_w"])}${_attr("title", ws.display_path || ws.path)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope7_id, "f", $sg__input_workspaces)}</span>${_el_resume($scope7_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnLg)}${_attr("disabled", busy || !!restoring)}>`);
|
|
5692
5692
|
_if(() => {
|
|
5693
5693
|
if (restoring === ws.id) {
|
|
5694
5694
|
const $scope19_id = _scope_id();
|
|
@@ -5856,12 +5856,12 @@ var ARM_MS = 3500;
|
|
|
5856
5856
|
function disarmLater(fn) {
|
|
5857
5857
|
return setTimeout(fn, ARM_MS);
|
|
5858
5858
|
}
|
|
5859
|
-
var railBtn = "
|
|
5860
|
-
var rowIcon = "
|
|
5861
|
-
var close = "
|
|
5859
|
+
var railBtn = "_g1 _j";
|
|
5860
|
+
var rowIcon = "_g_ _Y _j";
|
|
5861
|
+
var close = "_ha _1 _j _2";
|
|
5862
5862
|
//#endregion
|
|
5863
5863
|
//#region src/styles/session-pop.css.ts
|
|
5864
|
-
var sessionPop = "
|
|
5864
|
+
var sessionPop = "_gX _4";
|
|
5865
5865
|
//#endregion
|
|
5866
5866
|
//#region src/client/status.ts
|
|
5867
5867
|
/** Workspace activity dot from its polled status counts. */
|
|
@@ -5943,7 +5943,7 @@ var usage_pcts_default = _template("G", (input) => {
|
|
|
5943
5943
|
return 0;
|
|
5944
5944
|
}
|
|
5945
5945
|
}, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
5946
|
-
_html(`<span${_attr_class("_f4")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_f5", win$1.used_percent >= 90 ? "
|
|
5946
|
+
_html(`<span${_attr_class("_f4")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_f5", win$1.used_percent >= 90 ? "_fL" : win$1.used_percent >= 70 ? "_fK" : win$1.used_percent >= 40 ? "_fJ" : "_fI"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
|
|
5947
5947
|
$si__input_agent && writeScope($scope2_id, {});
|
|
5948
5948
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
5949
5949
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -5974,12 +5974,12 @@ var icon_edit_default = _template("Z", (input) => {
|
|
|
5974
5974
|
});
|
|
5975
5975
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
5976
5976
|
});
|
|
5977
|
-
var prChip = "
|
|
5978
|
-
var portChip = "
|
|
5977
|
+
var prChip = "_h6 _s _h5";
|
|
5978
|
+
var portChip = "_h7 _s _h5";
|
|
5979
5979
|
var prState = {
|
|
5980
|
-
open: "
|
|
5981
|
-
merged: "
|
|
5982
|
-
closed: "
|
|
5980
|
+
open: "_ia",
|
|
5981
|
+
merged: "_ib",
|
|
5982
|
+
closed: "_ic"
|
|
5983
5983
|
};
|
|
5984
5984
|
//#endregion
|
|
5985
5985
|
//#region src/tags/side-nav-chips.marko
|
|
@@ -6052,7 +6052,7 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
6052
6052
|
const name = repo.full_name.split("/").at(-1);
|
|
6053
6053
|
return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel(repo.full_name) : name;
|
|
6054
6054
|
}, "y4", $scope1_id);
|
|
6055
|
-
_html(`<div${_attr_class("
|
|
6055
|
+
_html(`<div${_attr_class("_h4")}>`);
|
|
6056
6056
|
_for_of(unpushed, (repo) => {
|
|
6057
6057
|
const $scope7_id = _scope_id();
|
|
6058
6058
|
_html(`<span${_attr_class(["_s", tone.warn])}${_attr("title", `${repo.worktree}: ${repo.unpushed}`)}>${_escape(repoLabel$1(repo))}${_el_resume($scope7_id, "b")}<!>${repoLabel$1(repo) ? _escape(`${_to_text(" ")}`) : ""}${_el_resume($scope7_id, "c")} unpushed</span>${_el_resume($scope7_id, "a")}`);
|
|
@@ -6073,11 +6073,11 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
6073
6073
|
[prState.merged]: pr.state === "MERGED",
|
|
6074
6074
|
[prState.closed]: pr.state === "CLOSED"
|
|
6075
6075
|
}
|
|
6076
|
-
])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["
|
|
6076
|
+
])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["_h8", { ["_ie"]: !open }])}${_attr("href", pr.url)} target=_blank rel=noopener>${_escape(repoLabel$1(repo))}${_el_resume($scope3_id, "c")}#<!>${_escape(pr.number)}${_el_resume($scope3_id, "d")}</a>${_el_resume($scope3_id, "b")}`);
|
|
6077
6077
|
_if(() => {
|
|
6078
6078
|
if (open) {
|
|
6079
6079
|
const $scope4_id = _scope_id();
|
|
6080
|
-
_html(`<a${_attr_class(["
|
|
6080
|
+
_html(`<a${_attr_class(["_h8", "_h9"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr.number}`)}`)}${_attr("title", `Review #${pr.number} changes`)}>`);
|
|
6081
6081
|
icon_diff_default({ size: 12 });
|
|
6082
6082
|
_html(`</a>${_el_resume($scope4_id, "a")}`);
|
|
6083
6083
|
_subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
|
|
@@ -6085,9 +6085,9 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
6085
6085
|
} else {
|
|
6086
6086
|
const $scope6_id = _scope_id();
|
|
6087
6087
|
_html(`<button type=button${_attr_class([
|
|
6088
|
-
"
|
|
6089
|
-
"
|
|
6090
|
-
"
|
|
6088
|
+
"_h8",
|
|
6089
|
+
"_h9",
|
|
6090
|
+
"_h_"
|
|
6091
6091
|
])}${_attr("title", `Dismiss #${pr.number}`)}>`);
|
|
6092
6092
|
icon_xmark_default({ size: 12 });
|
|
6093
6093
|
_html(`</button>${_el_resume($scope6_id, "a")}`);
|
|
@@ -6111,10 +6111,10 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
6111
6111
|
}, "full_name", $scope1_id, "c");
|
|
6112
6112
|
_for_of(ports, (p) => {
|
|
6113
6113
|
const $scope5_id = _scope_id();
|
|
6114
|
-
_html(`<span${_attr_class(["_s", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["
|
|
6115
|
-
"
|
|
6116
|
-
"
|
|
6117
|
-
"
|
|
6114
|
+
_html(`<span${_attr_class(["_s", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_h8", "_id"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${p.port}`)}>:<!>${_escape(p.port)}${_el_resume($scope5_id, "c")}</button>${_el_resume($scope5_id, "b")}<button type=button${_attr_class([
|
|
6115
|
+
"_h8",
|
|
6116
|
+
"_h9",
|
|
6117
|
+
"_h_",
|
|
6118
6118
|
{ ["_q"]: armedPid === p.pid }
|
|
6119
6119
|
])}${armedPid === p.pid ? " title=Kill?" : _attr("title", `Kill ${p.cmd} (pid ${p.pid})`)}>`);
|
|
6120
6120
|
icon_xmark_default({ size: 12 });
|
|
@@ -6216,40 +6216,40 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6216
6216
|
_if(() => {
|
|
6217
6217
|
if (input.rail) {
|
|
6218
6218
|
const $scope2_id = _scope_id();
|
|
6219
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["
|
|
6219
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_gZ"]: input.current }])}${ws$1.pending ? _attr("title", `${ws$1.name} — restoring`) : _attr("title", ws$1.name)}>${input.index === void 0 ? "·" : _escape(input.index + 1)}${_el_resume($scope2_id, "b", _serialize_guard($scope0_reason, 26))}<span${_attr_class([
|
|
6220
6220
|
"_y",
|
|
6221
6221
|
phase[dot],
|
|
6222
|
-
"
|
|
6222
|
+
"_g2"
|
|
6223
6223
|
])}></span>${_el_resume($scope2_id, "c", $sg__input_workspaceId__OR__input_status)}</a>${_el_resume($scope2_id, "a", _serialize_guard($scope0_reason, 3))}`);
|
|
6224
6224
|
_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_workspaces__OR__input_workspaceId && $ws_pending__closures, _subscribe($si__input_index && $input_index__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }))))));
|
|
6225
6225
|
return 0;
|
|
6226
6226
|
} else if (ws$1.pending) {
|
|
6227
6227
|
const $scope3_id = _scope_id();
|
|
6228
6228
|
_html(`<section${_attr_class([
|
|
6229
|
-
"
|
|
6230
|
-
"
|
|
6229
|
+
"_g4",
|
|
6230
|
+
"_hq",
|
|
6231
6231
|
{
|
|
6232
|
-
["
|
|
6233
|
-
["
|
|
6232
|
+
["_g5"]: input.railPop,
|
|
6233
|
+
["_g3"]: input.page
|
|
6234
6234
|
}
|
|
6235
|
-
])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("
|
|
6235
|
+
])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_g6")}><div${_attr_class("_g7")}>`);
|
|
6236
6236
|
_if(() => {
|
|
6237
6237
|
if (ws$1.pending_error) {
|
|
6238
6238
|
const $scope15_id = _scope_id();
|
|
6239
6239
|
icon_warning_default({
|
|
6240
6240
|
size: 12,
|
|
6241
|
-
class: "
|
|
6241
|
+
class: "_hs"
|
|
6242
6242
|
});
|
|
6243
6243
|
$si__input_workspaces__OR__input_workspaceId && writeScope($scope15_id, {});
|
|
6244
6244
|
return 0;
|
|
6245
6245
|
} else {
|
|
6246
6246
|
const $scope16_id = _scope_id();
|
|
6247
|
-
_html(`<span${_attr_class(["_E", "
|
|
6247
|
+
_html(`<span${_attr_class(["_E", "_hr"])}></span>`);
|
|
6248
6248
|
$si__input_workspaces__OR__input_workspaceId && writeScope($scope16_id, {});
|
|
6249
6249
|
return 1;
|
|
6250
6250
|
}
|
|
6251
6251
|
}, $scope3_id, "d", $sg__input_workspaces__OR__input_workspaceId, $sg__input_workspaces__OR__input_workspaceId, $sg__input_workspaces__OR__input_workspaceId, 0, 1);
|
|
6252
|
-
_html(`<span${_attr_class("
|
|
6252
|
+
_html(`<span${_attr_class("_hc")}><span${_attr_class("_hd")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "g", $sg__input_workspaces__OR__input_workspaceId)}</span><span${_attr_class("_ht")}${_attr("title", ws$1.pending_error || restoreLine)}>${ws$1.pending_error ? `Restore failed: ${_escape(`${ws$1.pending_error}`)}` : _escape("Restoring…")}${_el_resume($scope3_id, "i")}</span>${_el_resume($scope3_id, "h")}</span></div></div></section>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 10))}`);
|
|
6253
6253
|
_subscribe($restoreLine__closures, _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_pending_error__closures, _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_name__closures, _subscribe($si__input_railPop && $input_railPop__closures, _subscribe($si__input_page && $input_page__closures, writeScope($scope3_id, {
|
|
6254
6254
|
_: _scope_with_id($scope1_id),
|
|
6255
6255
|
Cb0: $si__input_workspaces__OR__input_workspaceId && 1
|
|
@@ -6259,15 +6259,15 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6259
6259
|
const $scope4_id = _scope_id();
|
|
6260
6260
|
const sessions$1 = input.sessions || [];
|
|
6261
6261
|
const phaseLabel = dot === "working" ? "Working" : dot === "waiting" ? "Needs input" : dot === "idle" ? "Idle" : "Not running";
|
|
6262
|
-
_html(`<section${_attr_class(["
|
|
6263
|
-
["
|
|
6262
|
+
_html(`<section${_attr_class(["_g4", {
|
|
6263
|
+
["_gZ"]: input.current,
|
|
6264
6264
|
["_5"]: input.current,
|
|
6265
|
-
["
|
|
6266
|
-
["
|
|
6267
|
-
}])}><div${_attr_class("
|
|
6265
|
+
["_g5"]: input.railPop,
|
|
6266
|
+
["_g3"]: input.page
|
|
6267
|
+
}])}><div${_attr_class("_g6")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class("_g7")}><span${_attr_class([
|
|
6268
6268
|
"_y",
|
|
6269
6269
|
phase[dot],
|
|
6270
|
-
"
|
|
6270
|
+
"_hi"
|
|
6271
6271
|
])}${_attr("title", phaseLabel)}></span>${_el_resume($scope4_id, "d", $sg__input_workspaceId__OR__input_status)}`);
|
|
6272
6272
|
_if(() => {
|
|
6273
6273
|
if (sessions$1.length === 1) {
|
|
@@ -6280,7 +6280,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6280
6280
|
icon_agent_default({
|
|
6281
6281
|
agent: activeAgent(sessions$1[0]),
|
|
6282
6282
|
size: 12,
|
|
6283
|
-
class: "
|
|
6283
|
+
class: "_hb"
|
|
6284
6284
|
});
|
|
6285
6285
|
$si__input_sessions && writeScope($scope17_id, {
|
|
6286
6286
|
_: _scope_with_id($scope4_id),
|
|
@@ -6290,11 +6290,11 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6290
6290
|
}
|
|
6291
6291
|
}, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions);
|
|
6292
6292
|
const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length > 1 ? `${sessions$1.length} sessions` : "";
|
|
6293
|
-
_html(`<span${_attr_class("
|
|
6293
|
+
_html(`<span${_attr_class("_hc")}><span${_attr_class("_hd")}>${_escape(ws$1.name)}${_el_resume($scope4_id, "h", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
|
|
6294
6294
|
_if(() => {
|
|
6295
6295
|
if (input.page && metaText) {
|
|
6296
6296
|
const $scope18_id = _scope_id();
|
|
6297
|
-
_html(`<span${_attr_class("
|
|
6297
|
+
_html(`<span${_attr_class("_hg")}>${_escape(metaText)}${_el_resume($scope18_id, "b", _serialize_guard($scope0_reason, 6))}</span>`);
|
|
6298
6298
|
$si__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status && writeScope($scope18_id, { _: _serialize_if($scope0_reason, 6) && _scope_with_id($scope4_id) });
|
|
6299
6299
|
return 0;
|
|
6300
6300
|
}
|
|
@@ -6307,7 +6307,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6307
6307
|
"_H",
|
|
6308
6308
|
"_Q",
|
|
6309
6309
|
"_J",
|
|
6310
|
-
"
|
|
6310
|
+
"_hh"
|
|
6311
6311
|
])}>${input.current ? "Open" : ""}${_el_resume($scope5_id, "b", _serialize_guard($scope0_reason, 21))}</span>`);
|
|
6312
6312
|
$si__input_current__OR__input_page__OR__input_rail__OR__input_workspaces__OR__input_workspaceId && _subscribe($si__input_current && $input_current__closures, writeScope($scope5_id, {
|
|
6313
6313
|
_: _scope_with_id($scope4_id),
|
|
@@ -6320,7 +6320,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6320
6320
|
_if(() => {
|
|
6321
6321
|
if (!input.page) {
|
|
6322
6322
|
const $scope6_id = _scope_id();
|
|
6323
|
-
_html(`<div${_attr_class("
|
|
6323
|
+
_html(`<div${_attr_class("_g8")}>`);
|
|
6324
6324
|
_if(() => {
|
|
6325
6325
|
if (input.onNewSession) {
|
|
6326
6326
|
const $scope7_id = _scope_id();
|
|
@@ -6334,7 +6334,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6334
6334
|
_html(`</button>${_el_resume($scope7_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
|
|
6335
6335
|
_for_of([], (agent) => {
|
|
6336
6336
|
const $scope8_id = _scope_id();
|
|
6337
|
-
_html(`<button${_attr_class("
|
|
6337
|
+
_html(`<button${_attr_class("_gY")}>`);
|
|
6338
6338
|
_set_serialize_reason(12);
|
|
6339
6339
|
const $childScope2 = _peek_scope_id();
|
|
6340
6340
|
icon_agent_default({
|
|
@@ -6369,7 +6369,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6369
6369
|
return 0;
|
|
6370
6370
|
}
|
|
6371
6371
|
}, $scope6_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
|
|
6372
|
-
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["
|
|
6372
|
+
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_g0"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
|
|
6373
6373
|
icon_manage_default({ size: 12 });
|
|
6374
6374
|
_html(`</a>${_el_resume($scope6_id, "d", _serialize_guard($scope0_reason, 7))}</div>`);
|
|
6375
6375
|
_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($scope6_id, {
|
|
@@ -6379,7 +6379,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6379
6379
|
return 0;
|
|
6380
6380
|
}
|
|
6381
6381
|
}, $scope4_id, "k", $sg__input_page, $sg__input_page, 1, 0, 1);
|
|
6382
|
-
_html(`</div><div${_attr_class("
|
|
6382
|
+
_html(`</div><div${_attr_class("_hn")}>`);
|
|
6383
6383
|
_if(() => {
|
|
6384
6384
|
if (sessions$1.length === 1 && openPlan) {
|
|
6385
6385
|
const $scope12_id = _scope_id();
|
|
@@ -6387,7 +6387,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6387
6387
|
const $childScope3 = _peek_scope_id();
|
|
6388
6388
|
usage_pcts_default({
|
|
6389
6389
|
agent: openPlan,
|
|
6390
|
-
class: "
|
|
6390
|
+
class: "_he"
|
|
6391
6391
|
});
|
|
6392
6392
|
_subscribe($openPlan__closures, writeScope($scope12_id, {
|
|
6393
6393
|
a: _existing_scope($childScope3),
|
|
@@ -6398,14 +6398,14 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6398
6398
|
}, $scope4_id, "m");
|
|
6399
6399
|
_for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
|
|
6400
6400
|
const $scope9_id = _scope_id();
|
|
6401
|
-
_html(`<div${_attr_class(["
|
|
6401
|
+
_html(`<div${_attr_class(["_g9", { ["_gZ"]: s.id === input.currentTab }])}>`);
|
|
6402
6402
|
_if(() => {
|
|
6403
6403
|
if (renamingId === s.id) {
|
|
6404
6404
|
const $scope11_id = _scope_id();
|
|
6405
6405
|
_html(`<span${_attr_class([
|
|
6406
6406
|
"_y",
|
|
6407
6407
|
phase[sessionPhase(s.state)],
|
|
6408
|
-
"
|
|
6408
|
+
"_hl"
|
|
6409
6409
|
])}></span>${_el_resume($scope11_id, "a", $sg__input_sessions)}`);
|
|
6410
6410
|
_set_serialize_reason({
|
|
6411
6411
|
1: $sg__input_sessions,
|
|
@@ -6415,17 +6415,17 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6415
6415
|
icon_agent_default({
|
|
6416
6416
|
agent: activeAgent(s),
|
|
6417
6417
|
size: 13,
|
|
6418
|
-
class: "
|
|
6418
|
+
class: "_hp"
|
|
6419
6419
|
});
|
|
6420
6420
|
_html(`<input${_attr_input_value($scope11_id, "c", renameValue, _resume((_new_renameValue) => {
|
|
6421
6421
|
renameValue = _new_renameValue;
|
|
6422
|
-
}, "z0", $scope11_id))}${_attr_class(["_T", "
|
|
6422
|
+
}, "z0", $scope11_id))}${_attr_class(["_T", "_hm"])} aria-label="Session name">${_el_resume($scope11_id, "c")}`);
|
|
6423
6423
|
_script($scope11_id, "z5");
|
|
6424
6424
|
_subscribe($renameValue__closures, writeScope($scope11_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
|
|
6425
6425
|
return 0;
|
|
6426
6426
|
} else {
|
|
6427
6427
|
const $scope10_id = _scope_id();
|
|
6428
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("
|
|
6428
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("_ho")}><span${_attr_class(["_y", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope10_id, "b", $sg__input_sessions)}`);
|
|
6429
6429
|
_set_serialize_reason({
|
|
6430
6430
|
1: $sg__input_sessions,
|
|
6431
6431
|
2: $sg__input_sessions
|
|
@@ -6434,9 +6434,9 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6434
6434
|
icon_agent_default({
|
|
6435
6435
|
agent: activeAgent(s),
|
|
6436
6436
|
size: 13,
|
|
6437
|
-
class: "
|
|
6437
|
+
class: "_hp"
|
|
6438
6438
|
});
|
|
6439
|
-
_html(`<span${_attr_class("
|
|
6439
|
+
_html(`<span${_attr_class("_hj")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope10_id, "e", $sg__input_sessions)}</span></a>${_el_resume($scope10_id, "a", _serialize_guard($scope0_reason, 5))}<div${_attr_class("_hk")}><button${_attr_class(rowIcon)} title="Rename session">`);
|
|
6440
6440
|
icon_edit_default({ size: 12 });
|
|
6441
6441
|
_html(`</button>${_el_resume($scope10_id, "g")}<button${_attr_class([close, { ["_q"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
|
|
6442
6442
|
icon_xmark_default({ size: 12 });
|
|
@@ -6448,7 +6448,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6448
6448
|
const $childScope6 = _peek_scope_id();
|
|
6449
6449
|
usage_pcts_default({
|
|
6450
6450
|
agent: openPlan,
|
|
6451
|
-
class: "
|
|
6451
|
+
class: "_hf"
|
|
6452
6452
|
});
|
|
6453
6453
|
_subscribe($openPlan__closures, writeScope($scope13_id, {
|
|
6454
6454
|
a: _existing_scope($childScope6),
|
|
@@ -6715,7 +6715,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6715
6715
|
_if(() => {
|
|
6716
6716
|
if (isPage && wsId === ws.id) {
|
|
6717
6717
|
const $scope13_id = _scope_id();
|
|
6718
|
-
_html(`<h2${_attr_class(["
|
|
6718
|
+
_html(`<h2${_attr_class(["_bL", "_d8"])}>Current</h2>`);
|
|
6719
6719
|
writeScope($scope13_id, {});
|
|
6720
6720
|
return 0;
|
|
6721
6721
|
}
|
|
@@ -6723,7 +6723,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6723
6723
|
_if(() => {
|
|
6724
6724
|
if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
|
|
6725
6725
|
const $scope14_id = _scope_id();
|
|
6726
|
-
_html(`<h2${_attr_class(["
|
|
6726
|
+
_html(`<h2${_attr_class(["_bL", "_d8"])}>Other workspaces</h2>`);
|
|
6727
6727
|
writeScope($scope14_id, {});
|
|
6728
6728
|
return 0;
|
|
6729
6729
|
}
|
|
@@ -7057,9 +7057,9 @@ var side_nav_default = _template("A", (input) => {
|
|
|
7057
7057
|
_resume_branch($scope0_id);
|
|
7058
7058
|
});
|
|
7059
7059
|
var iconBtn = "_Z _j";
|
|
7060
|
-
var sectionCount = "
|
|
7061
|
-
var content = "_ei
|
|
7062
|
-
var pageMeta = "_ej
|
|
7060
|
+
var sectionCount = "_bz _H _I";
|
|
7061
|
+
var content = "_ei _bp";
|
|
7062
|
+
var pageMeta = "_ej _bu";
|
|
7063
7063
|
var pathMeta = "_em _w";
|
|
7064
7064
|
var dangerHint = "_er _R";
|
|
7065
7065
|
//#endregion
|
|
@@ -7227,7 +7227,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7227
7227
|
setTimeout(() => loadProcs(void 0), 500);
|
|
7228
7228
|
}, "q8", $scope0_id);
|
|
7229
7229
|
const titleId = _id();
|
|
7230
|
-
_html(`<div${_attr_class("
|
|
7230
|
+
_html(`<div${_attr_class("_bn")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bo")}><div${_attr_class(content)}>`);
|
|
7231
7231
|
_set_serialize_reason(286);
|
|
7232
7232
|
let $actions;
|
|
7233
7233
|
if (ws.repos.length) $actions = attrTag({ content: _content_resume("q16", () => {
|
|
@@ -7300,12 +7300,12 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7300
7300
|
_if(() => {
|
|
7301
7301
|
if (pendingAction && actionStep) {
|
|
7302
7302
|
const $scope11_id = _scope_id();
|
|
7303
|
-
_html(`<p${_attr_class("
|
|
7303
|
+
_html(`<p${_attr_class("_bw")}><span${_attr_class("_E")}></span><!>${_escape(actionStep)}${_el_resume($scope11_id, "c")}</p>`);
|
|
7304
7304
|
writeScope($scope11_id, {});
|
|
7305
7305
|
return 0;
|
|
7306
7306
|
}
|
|
7307
7307
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
7308
|
-
_html(`<section${_attr_class("
|
|
7308
|
+
_html(`<section${_attr_class("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Workspace</h2></div><div${_attr_class("_eq")}>`);
|
|
7309
7309
|
_if(() => {
|
|
7310
7310
|
if (ws.status === "active") {
|
|
7311
7311
|
const $scope8_id = _scope_id();
|
|
@@ -7325,17 +7325,17 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7325
7325
|
btnLg,
|
|
7326
7326
|
"_r",
|
|
7327
7327
|
{ ["_q"]: confirmingDelete }
|
|
7328
|
-
])}${_attr("disabled", !!pendingAction)}>${pendingAction === "delete" ? "Deleting…" : "Delete"}${_el_resume($scope0_id, "m")}</button>${_el_resume($scope0_id, "l")}</div><p${_attr_class(dangerHint)}>Archive hides the workspace from the list. Delete removes it and its worktrees.</p></section><section${_attr_class("
|
|
7328
|
+
])}${_attr("disabled", !!pendingAction)}>${pendingAction === "delete" ? "Deleting…" : "Delete"}${_el_resume($scope0_id, "m")}</button>${_el_resume($scope0_id, "l")}</div><p${_attr_class(dangerHint)}>Archive hides the workspace from the list. Delete removes it and its worktrees.</p></section><section${_attr_class("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Repos</h2><span${_attr_class(sectionCount)}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "s")}</span><div${_attr_class("_x")}></div><button${_attr_class(iconBtn)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
7329
7329
|
_set_serialize_reason(1);
|
|
7330
7330
|
const $childScope2 = _peek_scope_id();
|
|
7331
7331
|
icon_refresh_default({
|
|
7332
7332
|
size: 14,
|
|
7333
7333
|
class: catalogRefreshing && "_D"
|
|
7334
7334
|
});
|
|
7335
|
-
_html(`</button>${_el_resume($scope0_id, "u")}</div><ul${_attr_class("
|
|
7335
|
+
_html(`</button>${_el_resume($scope0_id, "u")}</div><ul${_attr_class("_bA")}>`);
|
|
7336
7336
|
_for_of(ws.repos, (row) => {
|
|
7337
7337
|
const $scope1_id = _scope_id();
|
|
7338
|
-
_html(`<li${_attr_class("
|
|
7338
|
+
_html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}><span${_attr_class(["_bE", "_w"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bF")}><a${_attr_class(["_bG", "_eo"])}${_attr("href", repoWebUrl(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")}`);
|
|
7339
7339
|
_if(() => {
|
|
7340
7340
|
if (row.base_branch !== row.default_branch) {
|
|
7341
7341
|
const $scope21_id = _scope_id();
|
|
@@ -7356,7 +7356,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7356
7356
|
} else {
|
|
7357
7357
|
const $scope10_id = _scope_id();
|
|
7358
7358
|
_html(`<button${_attr_class([
|
|
7359
|
-
"
|
|
7359
|
+
"_bH",
|
|
7360
7360
|
"_2",
|
|
7361
7361
|
"_3",
|
|
7362
7362
|
{ ["_q"]: confirmingRemove === row.full_name }
|
|
@@ -7389,14 +7389,14 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7389
7389
|
}, "full_name", $scope0_id, "x", 1, 1, 1, 0, 1);
|
|
7390
7390
|
_for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
|
|
7391
7391
|
const $scope25_id = _scope_id();
|
|
7392
|
-
_html(`<li${_attr_class(["
|
|
7392
|
+
_html(`<li${_attr_class(["_bC", "_bB"])}><span${_attr_class("_E")}></span><div${_attr_class("_bD")}><span${_attr_class("_bG")}>Adding <!>${_escape(name)}${_el_resume($scope25_id, "e")}…</span></div></li>`);
|
|
7393
7393
|
writeScope($scope25_id, {});
|
|
7394
7394
|
}, (n) => n, $scope0_id, "y", 1, 1, 1, 0, 1);
|
|
7395
7395
|
_html("</ul>");
|
|
7396
7396
|
_if(() => {
|
|
7397
7397
|
if (!ws.repos.length && !busy.size) {
|
|
7398
7398
|
const $scope26_id = _scope_id();
|
|
7399
|
-
_html(`<p${_attr_class("
|
|
7399
|
+
_html(`<p${_attr_class("_bI")}>No repos yet. Search below to add one.</p>`);
|
|
7400
7400
|
writeScope($scope26_id, {});
|
|
7401
7401
|
return 0;
|
|
7402
7402
|
}
|
|
@@ -7422,7 +7422,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7422
7422
|
_if(() => {
|
|
7423
7423
|
if (wsSkills.length || repoSkills.length) {
|
|
7424
7424
|
const $scope2_id = _scope_id();
|
|
7425
|
-
_html(`<section${_attr_class("
|
|
7425
|
+
_html(`<section${_attr_class("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Skills</h2>`);
|
|
7426
7426
|
_if(() => {
|
|
7427
7427
|
if (wsSkills.length) {
|
|
7428
7428
|
const $scope27_id = _scope_id();
|
|
@@ -7431,10 +7431,10 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7431
7431
|
return 0;
|
|
7432
7432
|
}
|
|
7433
7433
|
}, $scope2_id, "d", 1, 1, 1, 0, 1);
|
|
7434
|
-
_html(`</div><ul${_attr_class("
|
|
7434
|
+
_html(`</div><ul${_attr_class("_bA")}>`);
|
|
7435
7435
|
_for_of(wsSkills, (s) => {
|
|
7436
7436
|
const $scope3_id = _scope_id();
|
|
7437
|
-
_html(`<li${_attr_class("
|
|
7437
|
+
_html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}><span${_attr_class(["_bE", "_w"])}>${_escape(s.name)}${_el_resume($scope3_id, "d")}</span><span${_attr_class("_bF")}>`);
|
|
7438
7438
|
_if(() => {
|
|
7439
7439
|
if (s.broken) {
|
|
7440
7440
|
const $scope28_id = _scope_id();
|
|
@@ -7472,7 +7472,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7472
7472
|
_if(() => {
|
|
7473
7473
|
if (s.description) {
|
|
7474
7474
|
const $scope31_id = _scope_id();
|
|
7475
|
-
_html(`<span${_attr_class("
|
|
7475
|
+
_html(`<span${_attr_class("_bG")}${_attr("title", s.description)}>${_escape(s.description)}${_el_resume($scope31_id, "b")}</span>${_el_resume($scope31_id, "a")}`);
|
|
7476
7476
|
writeScope($scope31_id, {});
|
|
7477
7477
|
return 0;
|
|
7478
7478
|
}
|
|
@@ -7480,7 +7480,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7480
7480
|
_if(() => {
|
|
7481
7481
|
if (s.sourceUrl) {
|
|
7482
7482
|
const $scope32_id = _scope_id();
|
|
7483
|
-
_html(`<a${_attr_class(["
|
|
7483
|
+
_html(`<a${_attr_class(["_bG", "_eo"])}${_attr("href", s.sourceUrl)} target=_blank rel=noopener${_attr("title", `Open ${s.source} on GitHub`)}>${_escape(s.source)}${_el_resume($scope32_id, "b")}</a>${_el_resume($scope32_id, "a")}`);
|
|
7484
7484
|
writeScope($scope32_id, {});
|
|
7485
7485
|
return 0;
|
|
7486
7486
|
}
|
|
@@ -7495,7 +7495,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7495
7495
|
} else {
|
|
7496
7496
|
const $scope12_id = _scope_id();
|
|
7497
7497
|
_html(`<button${_attr_class([
|
|
7498
|
-
"
|
|
7498
|
+
"_bH",
|
|
7499
7499
|
"_2",
|
|
7500
7500
|
"_3",
|
|
7501
7501
|
{ ["_q"]: confirmingSkill === s.id }
|
|
@@ -7533,10 +7533,10 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7533
7533
|
_if(() => {
|
|
7534
7534
|
if (repoSkills.length) {
|
|
7535
7535
|
const $scope4_id = _scope_id();
|
|
7536
|
-
_html(`<ul${_attr_class("
|
|
7536
|
+
_html(`<ul${_attr_class("_bA")}>`);
|
|
7537
7537
|
_for_of(repoSkills, (s) => {
|
|
7538
7538
|
const $scope5_id = _scope_id();
|
|
7539
|
-
_html(`<li${_attr_class("
|
|
7539
|
+
_html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}><span${_attr_class(["_bE", "_w"])}>${_escape(s.name)}${_el_resume($scope5_id, "d")}</span><span${_attr_class("_bF")}><span${_attr_class(["_bG", "_w"])}>${_escape(s.worktree)}${_el_resume($scope5_id, "g")}/</span>`);
|
|
7540
7540
|
_if(() => {
|
|
7541
7541
|
if (s.shadows) {
|
|
7542
7542
|
const $scope37_id = _scope_id();
|
|
@@ -7549,7 +7549,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7549
7549
|
_if(() => {
|
|
7550
7550
|
if (s.description) {
|
|
7551
7551
|
const $scope38_id = _scope_id();
|
|
7552
|
-
_html(`<span${_attr_class("
|
|
7552
|
+
_html(`<span${_attr_class("_bG")}${_attr("title", s.description)}>${_escape(s.description)}${_el_resume($scope38_id, "b")}</span>${_el_resume($scope38_id, "a")}`);
|
|
7553
7553
|
writeScope($scope38_id, {});
|
|
7554
7554
|
return 0;
|
|
7555
7555
|
}
|
|
@@ -7592,14 +7592,14 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7592
7592
|
_if(() => {
|
|
7593
7593
|
if (running.length) {
|
|
7594
7594
|
const $scope16_id = _scope_id();
|
|
7595
|
-
_html(`<section${_attr_class("
|
|
7595
|
+
_html(`<section${_attr_class("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Running</h2><span${_attr_class(sectionCount)}>${_escape(running.length)}${_el_resume($scope16_id, "e")}</span></div><ul${_attr_class("_bA")}>`);
|
|
7596
7596
|
_for_of(running, (p) => {
|
|
7597
7597
|
const $scope17_id = _scope_id();
|
|
7598
|
-
_html(`<li${_attr_class("
|
|
7598
|
+
_html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}${_attr("title", p.args)}><span${_attr_class(["_bE", "_w"])}>${_escape(p.cmd)}${_el_resume($scope17_id, "d")}</span>`);
|
|
7599
7599
|
_if(() => {
|
|
7600
7600
|
if (p.ports.length) {
|
|
7601
7601
|
const $scope40_id = _scope_id();
|
|
7602
|
-
_html(`<span${_attr_class("
|
|
7602
|
+
_html(`<span${_attr_class("_bF")}>`);
|
|
7603
7603
|
_for_of(p.ports, (port) => {
|
|
7604
7604
|
const $scope41_id = _scope_id();
|
|
7605
7605
|
_html(`<button${_attr_class(["_s", "_ep"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope41_id, "b")}</button>${_el_resume($scope41_id, "a")}`);
|
|
@@ -7610,7 +7610,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7610
7610
|
return 0;
|
|
7611
7611
|
}
|
|
7612
7612
|
}, $scope17_id, "e", 1, 1, 1, 0, 1);
|
|
7613
|
-
_html(`</div>${_el_resume($scope17_id, "b")}<button${_attr_class(["
|
|
7613
|
+
_html(`</div>${_el_resume($scope17_id, "b")}<button${_attr_class(["_bH", "_2"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
|
|
7614
7614
|
icon_xmark_default({ size: 14 });
|
|
7615
7615
|
_html(`</button>${_el_resume($scope17_id, "f")}</li>`);
|
|
7616
7616
|
_script($scope17_id, "q25");
|
|
@@ -8644,7 +8644,7 @@ var work_view_default = _template("H", (input) => {
|
|
|
8644
8644
|
let DiffView = null;
|
|
8645
8645
|
const loadDiffView = _resume(() => {
|
|
8646
8646
|
if (DiffView) return;
|
|
8647
|
-
import("./
|
|
8647
|
+
import("./_BbeyxI4D.js").then((m) => {
|
|
8648
8648
|
DiffView = m.default;
|
|
8649
8649
|
});
|
|
8650
8650
|
}, "H6", $scope0_id);
|
|
@@ -9123,7 +9123,7 @@ var work_view_default = _template("H", (input) => {
|
|
|
9123
9123
|
_if(() => {
|
|
9124
9124
|
if (!shownSessions.length && view === "term") {
|
|
9125
9125
|
const $scope7_id = _scope_id();
|
|
9126
|
-
_html(`<div${_attr_class("
|
|
9126
|
+
_html(`<div${_attr_class("_bJ")}><span>No sessions in this workspace.</span><button${_attr_class(["_o", "_p"])}${_attr("disabled", spawning)}>${spawning ? "Starting…" : `Start ${_escape(`${input.preferred || "shell"}`)}`}${_el_resume($scope7_id, "c")}</button>${_el_resume($scope7_id, "b")}</div>`);
|
|
9127
9127
|
_script($scope7_id, "H51");
|
|
9128
9128
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
|
|
9129
9129
|
return 0;
|
|
@@ -9133,7 +9133,7 @@ var work_view_default = _template("H", (input) => {
|
|
|
9133
9133
|
return 0;
|
|
9134
9134
|
} else {
|
|
9135
9135
|
const $scope11_id = _scope_id();
|
|
9136
|
-
_html(`<p${_attr_class("
|
|
9136
|
+
_html(`<p${_attr_class("_bJ")}>Loading sessions…</p>`);
|
|
9137
9137
|
writeScope($scope11_id, {});
|
|
9138
9138
|
return 1;
|
|
9139
9139
|
}
|
|
@@ -18368,4 +18368,4 @@ server.listen(port, () => {
|
|
|
18368
18368
|
//#endregion
|
|
18369
18369
|
export {};
|
|
18370
18370
|
|
|
18371
|
-
;var __MARKO_MANIFEST__={"
|
|
18371
|
+
;var __MARKO_MANIFEST__={"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-Cw_q7_9l.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Cw_q7_9l.css\"",">"],"defer":[2,"/assets/w._-CvZ_DGtP.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-CvZ_DGtP.js\"","></script>",2,"modulepreload#/assets/_Bpt7qjjQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Bpt7qjjQ.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-Cw_q7_9l.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Cw_q7_9l.css\"",">"],"defer":[2,"/assets/new-CvZ_DGtP.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-CvZ_DGtP.js\"","></script>",2,"modulepreload#/assets/_Bpt7qjjQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Bpt7qjjQ.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-Cw_q7_9l.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Cw_q7_9l.css\"",">"],"defer":[2,"/assets/settings-CvZ_DGtP.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-CvZ_DGtP.js\"","></script>",2,"modulepreload#/assets/_Bpt7qjjQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Bpt7qjjQ.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-Cw_q7_9l.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Cw_q7_9l.css\"",">"],"defer":[2,"/assets/w-CvZ_DGtP.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-CvZ_DGtP.js\"","></script>",2,"modulepreload#/assets/_Bpt7qjjQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Bpt7qjjQ.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-Cw_q7_9l.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Cw_q7_9l.css\"",">"],"defer":[2,"/assets/w._-DnR1UpxG.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-DnR1UpxG.js\"","></script>",2,"modulepreload#/assets/_Bpt7qjjQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Bpt7qjjQ.js\"",">"]}};
|