@dylanpiercey/work 0.0.121 → 0.0.122
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/{_CivNK9fo.js → _BPX2_wNT.js} +4 -4
- package/dist/{_DnaZVHJ7.js → _BdBrOaZF.js} +11 -11
- package/dist/index.mjs +161 -157
- package/dist/public/assets/{_CwZYmUdt2.js → _22Wep3Qj2.js} +1 -1
- package/dist/public/assets/{_Bmt76eWT.js → _4C4ZKftZ.js} +1 -1
- package/dist/public/assets/_4C4ZKftZ.js.br +0 -0
- package/dist/public/assets/{_BH015W2i2.js → _5waGGcsH2.js} +1 -1
- package/dist/public/assets/_5waGGcsH2.js.br +0 -0
- package/dist/public/assets/{_S9QQtt68.js → _6yLwnUth.js} +1 -1
- package/dist/public/assets/_6yLwnUth.js.br +0 -0
- package/dist/public/assets/{_XCJLLGxV.js → _8ixfpSLV.js} +1 -1
- package/dist/public/assets/_8ixfpSLV.js.br +0 -0
- package/dist/public/assets/{_DQGTProt.js → _9NNG2Bg-.js} +1 -1
- package/dist/public/assets/_9NNG2Bg-.js.br +0 -0
- package/dist/public/assets/{_DSIH6_Li.js → _9wp1Weya.js} +1 -1
- package/dist/public/assets/_9wp1Weya.js.br +0 -0
- package/dist/public/assets/{_BRSJwfZ3.js → _B80Me7dX.js} +1 -1
- package/dist/public/assets/{_BSFENb4l.js → _BJVUTWAN.js} +1 -1
- package/dist/public/assets/_BJVUTWAN.js.br +0 -0
- package/dist/public/assets/{_BPgL37mi2.js → _BO5eXuo12.js} +1 -1
- package/dist/public/assets/_BO5eXuo12.js.br +0 -0
- package/dist/public/assets/{_DyUvL09k2.js → _BO6TG3u42.js} +1 -1
- package/dist/public/assets/_BO6TG3u42.js.br +0 -0
- package/dist/public/assets/{_sSWgnHeU.js → _BO_carFG.js} +1 -1
- package/dist/public/assets/_BO_carFG.js.br +0 -0
- package/dist/public/assets/{_CFBaZNUT.js → _BPjnrd1A.js} +1 -1
- package/dist/public/assets/_BPjnrd1A.js.br +0 -0
- package/dist/public/assets/{_CbNmSe5k.js → _BQfrm6Hv.js} +1 -1
- package/dist/public/assets/_BQfrm6Hv.js.br +0 -0
- package/dist/public/assets/{_B5nrQZIq2.js → _BYOrCsb12.js} +1 -1
- package/dist/public/assets/_BYOrCsb12.js.br +0 -0
- package/dist/public/assets/{_CUVw5V4z.js → _BcA9iBrt.js} +1 -1
- package/dist/public/assets/_BcA9iBrt.js.br +0 -0
- package/dist/public/assets/{_D-KjGTSW.js → _BcnKn75V.js} +5 -5
- package/dist/public/assets/_BcnKn75V.js.br +0 -0
- package/dist/public/assets/{_Y8TOk1pR.js → _BeYy7LJv.js} +1 -1
- package/dist/public/assets/_BeYy7LJv.js.br +0 -0
- package/dist/public/assets/{_BSWpz0dK.js → _BfzwZXGo.js} +1 -1
- package/dist/public/assets/_BfzwZXGo.js.br +0 -0
- package/dist/public/assets/{_BNIilCsC.js → _Bgq0Djxf.js} +1 -1
- package/dist/public/assets/_Bgq0Djxf.js.br +0 -0
- package/dist/public/assets/{_B03G1Nvs.js → _BgxHsV2q.js} +1 -1
- package/dist/public/assets/_BgxHsV2q.js.br +0 -0
- package/dist/public/assets/{_CUOao_Hj.js → _Bhf_wksG.js} +1 -1
- package/dist/public/assets/_Bhf_wksG.js.br +0 -0
- package/dist/public/assets/{_CBUJNdeq2.js → _Bkd9T8qO2.js} +1 -1
- package/dist/public/assets/_Bkd9T8qO2.js.br +0 -0
- package/dist/public/assets/{_CYMGOhCb.js → _BllRu2dt.js} +1 -1
- package/dist/public/assets/_BllRu2dt.js.br +0 -0
- package/dist/public/assets/{_Y-bTh0dW.js → _Buu8_cyc.js} +1 -1
- package/dist/public/assets/_Buu8_cyc.js.br +0 -0
- package/dist/public/assets/{_B_dMglA92.js → _BvJHLrwP2.js} +1 -1
- package/dist/public/assets/_BvJHLrwP2.js.br +0 -0
- package/dist/public/assets/{_mbzaOqik.js → _BvTWp2QQ.js} +1 -1
- package/dist/public/assets/_BvTWp2QQ.js.br +0 -0
- package/dist/public/assets/{_DgDEdxEu.js → _BxfzYLyp.js} +1 -1
- package/dist/public/assets/_BxfzYLyp.js.br +0 -0
- package/dist/public/assets/{_CPX0D-my.js → _Bz61WBUI.js} +1 -1
- package/dist/public/assets/_Bz61WBUI.js.br +0 -0
- package/dist/public/assets/{_BlLuOKRT.js → _C0Wcm1DA.js} +1 -1
- package/dist/public/assets/_C0Wcm1DA.js.br +0 -0
- package/dist/public/assets/{_BjIMoOV-2.js → _C5fkGs032.js} +1 -1
- package/dist/public/assets/_C5fkGs032.js.br +0 -0
- package/dist/public/assets/{_9dJ8BnyZ2.js → _CKAWtCKg2.js} +1 -1
- package/dist/public/assets/_CKAWtCKg2.js.br +0 -0
- package/dist/public/assets/{_DcMfCkmd.js → _CLM87vGj.js} +1 -1
- package/dist/public/assets/_CLM87vGj.js.br +0 -0
- package/dist/public/assets/{_xOeYy_3v.js → _CM8zmLXB.js} +1 -1
- package/dist/public/assets/_CM8zmLXB.js.br +0 -0
- package/dist/public/assets/{_CdtuhZSc.js → _CNBki2Aq.js} +1 -1
- package/dist/public/assets/_CNBki2Aq.js.br +0 -0
- package/dist/public/assets/{_42jdam49.js → _CNVk64eD.js} +1 -1
- package/dist/public/assets/_CNVk64eD.js.br +0 -0
- package/dist/public/assets/{_CMGgQ-4H2.js → _CPCFHsPT2.js} +1 -1
- package/dist/public/assets/_CPCFHsPT2.js.br +0 -0
- package/dist/public/assets/{_B0dZ7_qK.js → _CW70CETb.js} +1 -1
- package/dist/public/assets/_CW70CETb.js.br +0 -0
- package/dist/public/assets/{_D7cQLLGK2.js → _CWU_IJjz2.js} +1 -1
- package/dist/public/assets/_CWU_IJjz2.js.br +0 -0
- package/dist/public/assets/{_BoS5LU5l.js → _ClA-9QLW.js} +1 -1
- package/dist/public/assets/_ClA-9QLW.js.br +0 -0
- package/dist/public/assets/{_DlhDim1D.js → _CorgOnjQ.js} +1 -1
- package/dist/public/assets/_CorgOnjQ.js.br +0 -0
- package/dist/public/assets/{_B1VuWiKK.js → _CpByFq0N.js} +1 -1
- package/dist/public/assets/_CpByFq0N.js.br +0 -0
- package/dist/public/assets/{_Ds0Qa0YX.js → _CqEc7KwE.js} +1 -1
- package/dist/public/assets/_CqEc7KwE.js.br +0 -0
- package/dist/public/assets/{_CZfap_Dj.js → _CqgcFjOQ.js} +1 -1
- package/dist/public/assets/_CqgcFjOQ.js.br +0 -0
- package/dist/public/assets/{_CRuHDn_O2.js → _CrlXwiFN2.js} +1 -1
- package/dist/public/assets/_CrlXwiFN2.js.br +0 -0
- package/dist/public/assets/{_rMcfapaa.js → _CtuCeJaB.js} +1 -1
- package/dist/public/assets/_CtuCeJaB.js.br +0 -0
- package/dist/public/assets/{_CCNhM32c2.js → _D1zxC16I2.js} +1 -1
- package/dist/public/assets/_D1zxC16I2.js.br +0 -0
- package/dist/public/assets/{_0L2K8sFq2.js → _D2SIC9vH2.js} +1 -1
- package/dist/public/assets/_D2SIC9vH2.js.br +0 -0
- package/dist/public/assets/{_DqLib98x.js → _D9QYQO8L.js} +1 -1
- package/dist/public/assets/_D9QYQO8L.js.br +0 -0
- package/dist/public/assets/{_DNcd1xtp.js → _DDNq8klN.js} +1 -1
- package/dist/public/assets/_DDNq8klN.js.br +0 -0
- package/dist/public/assets/{_rRtbbfKJ2.js → _DL2HExUi2.js} +1 -1
- package/dist/public/assets/_DL2HExUi2.js.br +0 -0
- package/dist/public/assets/{_CvA5IOAW2.js → _DLbcflUX2.js} +1 -1
- package/dist/public/assets/_DLbcflUX2.js.br +0 -0
- package/dist/public/assets/{_Beb6Lb1w.js → _DMzElmqz.js} +1 -1
- package/dist/public/assets/_DMzElmqz.js.br +0 -0
- package/dist/public/assets/{_DXHf4WHs2.js → _DOa36sDf2.js} +1 -1
- package/dist/public/assets/_DOa36sDf2.js.br +0 -0
- package/dist/public/assets/{_DBoABI85.js → _DWZLw9u5.js} +1 -1
- package/dist/public/assets/_DWZLw9u5.js.br +0 -0
- package/dist/public/assets/{_D6CjH3JN.js → _DY5MuJqh.js} +1 -1
- package/dist/public/assets/_DY5MuJqh.js.br +0 -0
- package/dist/public/assets/{_J6xlcydH2.js → _DZXcx3AV2.js} +1 -1
- package/dist/public/assets/_DZXcx3AV2.js.br +0 -0
- package/dist/public/assets/{_ClhApln3.js → _D_5rjG0o.js} +1 -1
- package/dist/public/assets/_D_5rjG0o.js.br +0 -0
- package/dist/public/assets/{_D4u4SpiK.js → _DbEs3COY.js} +1 -1
- package/dist/public/assets/_DbEs3COY.js.br +0 -0
- package/dist/public/assets/{_-zdUyUYM2.js → _DegNdi0y2.js} +1 -1
- package/dist/public/assets/_DegNdi0y2.js.br +0 -0
- package/dist/public/assets/{_B8ZQ8inF.js → _DfLxwQXd.js} +1 -1
- package/dist/public/assets/_DfLxwQXd.js.br +0 -0
- package/dist/public/assets/{_BlXwius8.js → _DwTIenq9.js} +1 -1
- package/dist/public/assets/_DwTIenq9.js.br +0 -0
- package/dist/public/assets/{_D_qDhyn2.js → _Dwsfrcqr.js} +1 -1
- package/dist/public/assets/_Dwsfrcqr.js.br +0 -0
- package/dist/public/assets/{_BsNKabYu2.js → _DyZPE8LD2.js} +1 -1
- package/dist/public/assets/_DyZPE8LD2.js.br +0 -0
- package/dist/public/assets/{_C0OXw3Vy.js → _MEclBKIH.js} +1 -1
- package/dist/public/assets/_MEclBKIH.js.br +0 -0
- package/dist/public/assets/{_B9e51G1K.js → _Tpid4lIw.js} +1 -1
- package/dist/public/assets/_Tpid4lIw.js.br +0 -0
- package/dist/public/assets/{_YetFhXkM.js → _W9aOkr2v.js} +1 -1
- package/dist/public/assets/_W9aOkr2v.js.br +0 -0
- package/dist/public/assets/{_BR3D4nzj2.js → _Y8lHXkX62.js} +1 -1
- package/dist/public/assets/_Y8lHXkX62.js.br +0 -0
- package/dist/public/assets/{_QMVFINxi.js → _Z4spekbX.js} +1 -1
- package/dist/public/assets/_Z4spekbX.js.br +0 -0
- package/dist/public/assets/{_YmJopjX92.js → _a18bdHwu2.js} +1 -1
- package/dist/public/assets/_a18bdHwu2.js.br +0 -0
- package/dist/public/assets/{_MInulccf2.js → _hO1aV02w2.js} +1 -1
- package/dist/public/assets/{_BUOWar32.js → _ih_22Lwc.js} +1 -1
- package/dist/public/assets/_ih_22Lwc.js.br +0 -0
- package/dist/public/assets/{_CxrcWZPE.js → _kQ849tt6.js} +1 -1
- package/dist/public/assets/_kQ849tt6.js.br +0 -0
- package/dist/public/assets/{_BZWlvMSJ.js → _lo4uGYhv.js} +1 -1
- package/dist/public/assets/_lo4uGYhv.js.br +0 -0
- package/dist/public/assets/{_BHjcfVXB.js → _sWtKlZZ5.js} +6 -6
- package/dist/public/assets/_sWtKlZZ5.js.br +0 -0
- package/dist/public/assets/{_CJHqzl--2.js → _xvmiPi6J2.js} +1 -1
- package/dist/public/assets/_xvmiPi6J2.js.br +0 -0
- package/dist/public/assets/{app-page-BWf0w6W9.css → app-page-9ukuDxSW.css} +1 -1
- package/dist/public/assets/app-page-9ukuDxSW.css.br +0 -0
- package/dist/public/assets/{diff-view-BZaYYEDK.css → diff-view-BmyKvz_f.css} +1 -1
- package/dist/public/assets/diff-view-BmyKvz_f.css.br +0 -0
- package/dist/public/assets/new-PmY_tc2O.js +1 -0
- package/dist/public/assets/settings-PmY_tc2O.js +1 -0
- package/dist/public/assets/w-PmY_tc2O.js +1 -0
- package/dist/public/assets/w._-DL1tdfaH.js +1 -0
- package/dist/public/assets/w._-PmY_tc2O.js +1 -0
- package/package.json +1 -1
- package/dist/public/assets/_-zdUyUYM2.js.br +0 -0
- package/dist/public/assets/_0L2K8sFq2.js.br +0 -0
- package/dist/public/assets/_42jdam49.js.br +0 -0
- package/dist/public/assets/_9dJ8BnyZ2.js.br +0 -0
- package/dist/public/assets/_B03G1Nvs.js.br +0 -0
- package/dist/public/assets/_B0dZ7_qK.js.br +0 -0
- package/dist/public/assets/_B1VuWiKK.js.br +0 -0
- package/dist/public/assets/_B5nrQZIq2.js.br +0 -0
- package/dist/public/assets/_B8ZQ8inF.js.br +0 -0
- package/dist/public/assets/_B9e51G1K.js.br +0 -0
- package/dist/public/assets/_BH015W2i2.js.br +0 -0
- package/dist/public/assets/_BHjcfVXB.js.br +0 -0
- package/dist/public/assets/_BNIilCsC.js.br +0 -0
- package/dist/public/assets/_BPgL37mi2.js.br +0 -0
- package/dist/public/assets/_BR3D4nzj2.js.br +0 -0
- package/dist/public/assets/_BSFENb4l.js.br +0 -0
- package/dist/public/assets/_BSWpz0dK.js.br +0 -0
- package/dist/public/assets/_BUOWar32.js.br +0 -0
- package/dist/public/assets/_BZWlvMSJ.js.br +0 -0
- package/dist/public/assets/_B_dMglA92.js.br +0 -0
- package/dist/public/assets/_Beb6Lb1w.js.br +0 -0
- package/dist/public/assets/_BjIMoOV-2.js.br +0 -0
- package/dist/public/assets/_BlLuOKRT.js.br +0 -0
- package/dist/public/assets/_BlXwius8.js.br +0 -0
- package/dist/public/assets/_Bmt76eWT.js.br +0 -0
- package/dist/public/assets/_BoS5LU5l.js.br +0 -0
- package/dist/public/assets/_BsNKabYu2.js.br +0 -0
- package/dist/public/assets/_C0OXw3Vy.js.br +0 -0
- package/dist/public/assets/_CBUJNdeq2.js.br +0 -0
- package/dist/public/assets/_CCNhM32c2.js.br +0 -0
- package/dist/public/assets/_CFBaZNUT.js.br +0 -0
- package/dist/public/assets/_CJHqzl--2.js.br +0 -0
- package/dist/public/assets/_CMGgQ-4H2.js.br +0 -0
- package/dist/public/assets/_CPX0D-my.js.br +0 -0
- package/dist/public/assets/_CRuHDn_O2.js.br +0 -0
- package/dist/public/assets/_CUOao_Hj.js.br +0 -0
- package/dist/public/assets/_CUVw5V4z.js.br +0 -0
- package/dist/public/assets/_CYMGOhCb.js.br +0 -0
- package/dist/public/assets/_CZfap_Dj.js.br +0 -0
- package/dist/public/assets/_CbNmSe5k.js.br +0 -0
- package/dist/public/assets/_CdtuhZSc.js.br +0 -0
- package/dist/public/assets/_ClhApln3.js.br +0 -0
- package/dist/public/assets/_CvA5IOAW2.js.br +0 -0
- package/dist/public/assets/_CxrcWZPE.js.br +0 -0
- package/dist/public/assets/_D-KjGTSW.js.br +0 -0
- package/dist/public/assets/_D4u4SpiK.js.br +0 -0
- package/dist/public/assets/_D6CjH3JN.js.br +0 -0
- package/dist/public/assets/_D7cQLLGK2.js.br +0 -0
- package/dist/public/assets/_DBoABI85.js.br +0 -0
- package/dist/public/assets/_DNcd1xtp.js.br +0 -0
- package/dist/public/assets/_DQGTProt.js.br +0 -0
- package/dist/public/assets/_DSIH6_Li.js.br +0 -0
- package/dist/public/assets/_DXHf4WHs2.js.br +0 -0
- package/dist/public/assets/_D_qDhyn2.js.br +0 -0
- package/dist/public/assets/_DcMfCkmd.js.br +0 -0
- package/dist/public/assets/_DgDEdxEu.js.br +0 -0
- package/dist/public/assets/_DlhDim1D.js.br +0 -0
- package/dist/public/assets/_DqLib98x.js.br +0 -0
- package/dist/public/assets/_Ds0Qa0YX.js.br +0 -0
- package/dist/public/assets/_DyUvL09k2.js.br +0 -0
- package/dist/public/assets/_J6xlcydH2.js.br +0 -0
- package/dist/public/assets/_QMVFINxi.js.br +0 -0
- package/dist/public/assets/_S9QQtt68.js.br +0 -0
- package/dist/public/assets/_XCJLLGxV.js.br +0 -0
- package/dist/public/assets/_Y-bTh0dW.js.br +0 -0
- package/dist/public/assets/_Y8TOk1pR.js.br +0 -0
- package/dist/public/assets/_YetFhXkM.js.br +0 -0
- package/dist/public/assets/_YmJopjX92.js.br +0 -0
- package/dist/public/assets/_mbzaOqik.js.br +0 -0
- package/dist/public/assets/_rMcfapaa.js.br +0 -0
- package/dist/public/assets/_rRtbbfKJ2.js.br +0 -0
- package/dist/public/assets/_sSWgnHeU.js.br +0 -0
- package/dist/public/assets/_xOeYy_3v.js.br +0 -0
- package/dist/public/assets/app-page-BWf0w6W9.css.br +0 -0
- package/dist/public/assets/diff-view-BZaYYEDK.css.br +0 -0
- package/dist/public/assets/new-K-7z0qE8.js +0 -1
- package/dist/public/assets/settings-K-7z0qE8.js +0 -1
- package/dist/public/assets/w-K-7z0qE8.js +0 -1
- package/dist/public/assets/w._-D5d4klUv.js +0 -1
- package/dist/public/assets/w._-K-7z0qE8.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 "./_Cr71Xd0d.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 "./_DJyHc1w-.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 "./_CfwTkTbL.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 "./_BPX2_wNT.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import { createServer } from "node:http";
|
|
8
8
|
import path from "node:path";
|
|
@@ -2323,18 +2323,18 @@ 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("s", (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();
|
|
@@ -2353,11 +2353,11 @@ var page_head_default = _template("s", (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("s", (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) });
|
|
@@ -3349,7 +3349,7 @@ var settings_page_default = _template("w", (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("w", (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
|
}, "w2", $scope0_id), () => {
|
|
@@ -3467,14 +3467,14 @@ var settings_page_default = _template("w", (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("w", (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("w", (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("w", (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("w", (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("w", (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("w", (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("w", (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("w", (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("w", (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("w", (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, "w59");
|
|
3869
3869
|
_subscribe($active__closures, writeScope($scope17_id, { Cgi: 3 }));
|
|
3870
3870
|
return 0;
|
|
@@ -4065,7 +4065,7 @@ var settings_page_default = _template("w", (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("w", (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("w", (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("w", (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("w", (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
|
}, "w4", $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("w", (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
|
-
}, "w6", $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
|
+
}, "w6", $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("w", (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("w", (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("w", (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("w", (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("w", (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("w", (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, "w80");
|
|
4408
4408
|
_subscribe($restoreWs__closures, writeScope($scope72_id, {
|
|
4409
4409
|
n: w?.unknownHost,
|
|
@@ -4414,7 +4414,7 @@ var settings_page_default = _template("w", (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("w", (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("w", (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("bb", (input) => {
|
|
@@ -4748,7 +4748,7 @@ var icon_branch_default = _template("P", (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 = "_dD _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("_dF")}>`);
|
|
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("u", (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("_dw")}>`);
|
|
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("_dx")}>`);
|
|
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("u", (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("_dy")}><li><div${_attr_class(["_dA", "_dz"])}><button${_attr_class("_dB")}${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: "_dH"
|
|
4884
4884
|
});
|
|
4885
|
-
_html(`<span${_attr_class("
|
|
4885
|
+
_html(`<span${_attr_class("_dI")}>${_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(["_dE", { ["_dC"]: 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("u", (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, { ["_dC"]: 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("u", (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("u", (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("_dy")}>`);
|
|
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(["_dA", { ["_dz"]: i === highlight }])}><button${_attr_class("_dB")}>`);
|
|
4948
4948
|
icon_plus_default({
|
|
4949
4949
|
size: 12,
|
|
4950
|
-
class: "
|
|
4950
|
+
class: "_dH"
|
|
4951
4951
|
});
|
|
4952
|
-
_html(`<span${_attr_class("
|
|
4952
|
+
_html(`<span${_attr_class("_dI")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope4_id, "e")}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_dC"]: 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("u", (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 = "_dl _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: "_dj",
|
|
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("_dk")}${_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
|
+
"_dn"
|
|
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, "_dm"])}>${_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("_do")}>`);
|
|
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("_dp")}><span${_attr_class("_dq")}>${_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("_dr")}><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("_ds")}>`);
|
|
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(["_du", { ["_dt"]: 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("_dv")}>`);
|
|
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("r", (input) => {
|
|
|
5492
5492
|
}
|
|
5493
5493
|
}, "r6", $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("r", (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
|
-
}, "r0", $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
|
+
}, "r0", $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("r", (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("r", (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 = "_gr _j";
|
|
5860
|
+
var rowIcon = "_gA _Y _j";
|
|
5861
|
+
var close = "_gB _1 _j _2";
|
|
5862
5862
|
//#endregion
|
|
5863
5863
|
//#region src/styles/session-pop.css.ts
|
|
5864
|
-
var sessionPop = "
|
|
5864
|
+
var sessionPop = "_gn _4";
|
|
5865
5865
|
//#endregion
|
|
5866
5866
|
//#region src/client/status.ts
|
|
5867
5867
|
/** Workspace activity dot from its polled status counts. */
|
|
@@ -6216,40 +6216,40 @@ var side_nav_item_default = _template("y", (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, { ["_gp"]: 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
|
+
"_gs"
|
|
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
|
+
"_gu",
|
|
6230
|
+
"_gR",
|
|
6231
6231
|
{
|
|
6232
|
-
["
|
|
6233
|
-
["
|
|
6232
|
+
["_gv"]: input.railPop,
|
|
6233
|
+
["_gt"]: 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("_gw")}><div${_attr_class("_gx")}>`);
|
|
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: "_gT"
|
|
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", "_gS"])}></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("_gD")}><span${_attr_class("_gE")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "g", $sg__input_workspaces__OR__input_workspaceId)}</span><span${_attr_class("_gU")}${_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("y", (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(["_gu", {
|
|
6263
|
+
["_gp"]: input.current,
|
|
6264
6264
|
["_5"]: input.current,
|
|
6265
|
-
["
|
|
6266
|
-
["
|
|
6267
|
-
}])}><div${_attr_class("
|
|
6265
|
+
["_gv"]: input.railPop,
|
|
6266
|
+
["_gt"]: input.page
|
|
6267
|
+
}])}><div${_attr_class("_gw")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class("_gx")}><span${_attr_class([
|
|
6268
6268
|
"_y",
|
|
6269
6269
|
phase[dot],
|
|
6270
|
-
"
|
|
6270
|
+
"_gJ"
|
|
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("y", (input) => {
|
|
|
6280
6280
|
icon_agent_default({
|
|
6281
6281
|
agent: activeAgent(sessions$1[0]),
|
|
6282
6282
|
size: 12,
|
|
6283
|
-
class: "
|
|
6283
|
+
class: "_gC"
|
|
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("y", (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("_gD")}><span${_attr_class("_gE")}>${_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("_gH")}>${_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("y", (input) => {
|
|
|
6307
6307
|
"_H",
|
|
6308
6308
|
"_Q",
|
|
6309
6309
|
"_J",
|
|
6310
|
-
"
|
|
6310
|
+
"_gI"
|
|
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("y", (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("_gy")}>`);
|
|
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("y", (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("_go")}>`);
|
|
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("y", (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, { ["_gq"]: 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("y", (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("_gO")}>`);
|
|
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("y", (input) => {
|
|
|
6387
6387
|
const $childScope3 = _peek_scope_id();
|
|
6388
6388
|
usage_pcts_default({
|
|
6389
6389
|
agent: openPlan,
|
|
6390
|
-
class: "
|
|
6390
|
+
class: "_gF"
|
|
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("y", (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(["_gz", { ["_gp"]: 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
|
+
"_gM"
|
|
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("y", (input) => {
|
|
|
6415
6415
|
icon_agent_default({
|
|
6416
6416
|
agent: activeAgent(s),
|
|
6417
6417
|
size: 13,
|
|
6418
|
-
class: "
|
|
6418
|
+
class: "_gQ"
|
|
6419
6419
|
});
|
|
6420
6420
|
_html(`<input${_attr_input_value($scope11_id, "c", renameValue, _resume((_new_renameValue) => {
|
|
6421
6421
|
renameValue = _new_renameValue;
|
|
6422
|
-
}, "y0", $scope11_id))}${_attr_class(["_T", "
|
|
6422
|
+
}, "y0", $scope11_id))}${_attr_class(["_T", "_gN"])} aria-label="Session name">${_el_resume($scope11_id, "c")}`);
|
|
6423
6423
|
_script($scope11_id, "y5");
|
|
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("_gP")}><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("y", (input) => {
|
|
|
6434
6434
|
icon_agent_default({
|
|
6435
6435
|
agent: activeAgent(s),
|
|
6436
6436
|
size: 13,
|
|
6437
|
-
class: "
|
|
6437
|
+
class: "_gQ"
|
|
6438
6438
|
});
|
|
6439
|
-
_html(`<span${_attr_class("
|
|
6439
|
+
_html(`<span${_attr_class("_gK")}>${_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("_gL")}><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("y", (input) => {
|
|
|
6448
6448
|
const $childScope6 = _peek_scope_id();
|
|
6449
6449
|
usage_pcts_default({
|
|
6450
6450
|
agent: openPlan,
|
|
6451
|
-
class: "
|
|
6451
|
+
class: "_gG"
|
|
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("z", (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", "_dZ"])}>Current</h2>`);
|
|
6719
6719
|
writeScope($scope13_id, {});
|
|
6720
6720
|
return 0;
|
|
6721
6721
|
}
|
|
@@ -6723,7 +6723,7 @@ var side_nav_default = _template("z", (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", "_dZ"])}>Other workspaces</h2>`);
|
|
6727
6727
|
writeScope($scope14_id, {});
|
|
6728
6728
|
return 0;
|
|
6729
6729
|
}
|
|
@@ -7057,9 +7057,9 @@ var side_nav_default = _template("z", (input) => {
|
|
|
7057
7057
|
_resume_branch($scope0_id);
|
|
7058
7058
|
});
|
|
7059
7059
|
var iconBtn = "_Z _j";
|
|
7060
|
-
var sectionCount = "
|
|
7061
|
-
var content = "_d_
|
|
7062
|
-
var pageMeta = "_ea
|
|
7060
|
+
var sectionCount = "_bz _H _I";
|
|
7061
|
+
var content = "_d_ _bp";
|
|
7062
|
+
var pageMeta = "_ea _bu";
|
|
7063
7063
|
var pathMeta = "_ed _w";
|
|
7064
7064
|
var dangerHint = "_ei _R";
|
|
7065
7065
|
//#endregion
|
|
@@ -7227,7 +7227,7 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
7227
7227
|
setTimeout(() => loadProcs(void 0), 500);
|
|
7228
7228
|
}, "p8", $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("p16", () => {
|
|
@@ -7300,12 +7300,12 @@ var manage_workspace_default = _template("p", (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("_eh")}>`);
|
|
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("p", (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", "_ef"])}${_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("p", (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("p", (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("p", (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("p", (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("p", (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("p", (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", "_ef"])}${_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("p", (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("p", (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("p", (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("p", (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", "_eg"])}${_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("p", (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, "p25");
|
|
@@ -7727,19 +7727,19 @@ var term_find_default = _template("B", (input) => {
|
|
|
7727
7727
|
const canStep = hasQuery && open;
|
|
7728
7728
|
const keybar = input.placement === "keybar";
|
|
7729
7729
|
_html(`<div${_attr_class([
|
|
7730
|
-
"
|
|
7731
|
-
keybar ? "
|
|
7732
|
-
!open && "
|
|
7733
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
7730
|
+
"_gg",
|
|
7731
|
+
keybar ? "_gi" : "_gh",
|
|
7732
|
+
!open && "_gk"
|
|
7733
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_gb", keybar ? "_gj" : "_gd"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
7734
7734
|
if (!open) return;
|
|
7735
7735
|
query = v;
|
|
7736
7736
|
live.query = v;
|
|
7737
7737
|
run(0);
|
|
7738
|
-
}, "B0", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
7738
|
+
}, "B0", $scope0_id))}${_attr_class([findInput, keybar && "_gl"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in terminal" aria-label="Find in terminal">${_el_resume($scope0_id, "c")}<button type=button${_attr_class([findIconBtn, keybar && "_gm"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
7739
7739
|
icon_arrow_up_default({ size: 14 });
|
|
7740
|
-
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
7740
|
+
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_gm"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
7741
7741
|
icon_arrow_down_default({ size: 14 });
|
|
7742
|
-
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
7742
|
+
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_gm"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
|
|
7743
7743
|
icon_xmark_default({ size: 14 });
|
|
7744
7744
|
_html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
|
|
7745
7745
|
_script($scope0_id, "B4");
|
|
@@ -8206,7 +8206,7 @@ var work_view_default = _template("G", (input) => {
|
|
|
8206
8206
|
let DiffView = null;
|
|
8207
8207
|
const loadDiffView = _resume(() => {
|
|
8208
8208
|
if (DiffView) return;
|
|
8209
|
-
import("./
|
|
8209
|
+
import("./_BdBrOaZF.js").then((m) => {
|
|
8210
8210
|
DiffView = m.default;
|
|
8211
8211
|
});
|
|
8212
8212
|
}, "G6", $scope0_id);
|
|
@@ -8686,7 +8686,7 @@ var work_view_default = _template("G", (input) => {
|
|
|
8686
8686
|
_if(() => {
|
|
8687
8687
|
if (!shownSessions.length && view === "term") {
|
|
8688
8688
|
const $scope7_id = _scope_id();
|
|
8689
|
-
_html(`<div${_attr_class("
|
|
8689
|
+
_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>`);
|
|
8690
8690
|
_script($scope7_id, "G50");
|
|
8691
8691
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
|
|
8692
8692
|
return 0;
|
|
@@ -8696,7 +8696,7 @@ var work_view_default = _template("G", (input) => {
|
|
|
8696
8696
|
return 0;
|
|
8697
8697
|
} else {
|
|
8698
8698
|
const $scope10_id = _scope_id();
|
|
8699
|
-
_html(`<p${_attr_class("
|
|
8699
|
+
_html(`<p${_attr_class("_bJ")}>Loading sessions…</p>`);
|
|
8700
8700
|
writeScope($scope10_id, {});
|
|
8701
8701
|
return 1;
|
|
8702
8702
|
}
|
|
@@ -10747,15 +10747,19 @@ async function pushAll() {
|
|
|
10747
10747
|
}
|
|
10748
10748
|
return preflight();
|
|
10749
10749
|
}
|
|
10750
|
-
/** Settings rows a manifest carries
|
|
10751
|
-
*
|
|
10752
|
-
*
|
|
10750
|
+
/** Settings rows a manifest carries, under the keys they are stored with —
|
|
10751
|
+
* `restore` writes them back through `setSetting`, which does not prefix.
|
|
10752
|
+
* Most `ui.*` rows stay behind (layout state, many keyed by workspace id),
|
|
10753
|
+
* but the diff scope is a real preference and lives under that prefix only
|
|
10754
|
+
* because the client writes it through `setPref`. Not `review.seen:*`, not
|
|
10755
|
+
* the one-shot migration flags. `command.<agent>` overrides come as a
|
|
10756
|
+
* family. */
|
|
10753
10757
|
var SETTING_KEYS = [
|
|
10754
10758
|
"preferredAgent",
|
|
10755
10759
|
"disabledAgents",
|
|
10756
10760
|
"instance.name",
|
|
10757
10761
|
"instance.accent",
|
|
10758
|
-
"diff-scope",
|
|
10762
|
+
"ui.diff-scope",
|
|
10759
10763
|
"autoPush"
|
|
10760
10764
|
];
|
|
10761
10765
|
function exportableSettings() {
|
|
@@ -17905,4 +17909,4 @@ server.listen(port, () => {
|
|
|
17905
17909
|
//#endregion
|
|
17906
17910
|
export {};
|
|
17907
17911
|
|
|
17908
|
-
;var __MARKO_MANIFEST__={"
|
|
17912
|
+
;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-9ukuDxSW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-9ukuDxSW.css\"",">"],"defer":[2,"/assets/new-PmY_tc2O.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-PmY_tc2O.js\"","></script>",2,"modulepreload#/assets/_BcnKn75V.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BcnKn75V.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-9ukuDxSW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-9ukuDxSW.css\"",">"],"defer":[2,"/assets/w._-PmY_tc2O.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-PmY_tc2O.js\"","></script>",2,"modulepreload#/assets/_BcnKn75V.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BcnKn75V.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-9ukuDxSW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-9ukuDxSW.css\"",">"],"defer":[2,"/assets/settings-PmY_tc2O.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-PmY_tc2O.js\"","></script>",2,"modulepreload#/assets/_BcnKn75V.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BcnKn75V.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-9ukuDxSW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-9ukuDxSW.css\"",">"],"defer":[2,"/assets/w._-DL1tdfaH.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-DL1tdfaH.js\"","></script>",2,"modulepreload#/assets/_BcnKn75V.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BcnKn75V.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-9ukuDxSW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-9ukuDxSW.css\"",">"],"defer":[2,"/assets/w-PmY_tc2O.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-PmY_tc2O.js\"","></script>",2,"modulepreload#/assets/_BcnKn75V.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BcnKn75V.js\"",">"]}};
|