@dylanpiercey/work 0.0.129 → 0.0.130
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/_8iHmnCS9.js +2 -0
- package/dist/{_ClRtSKMs.js → _BXnpEUMe.js} +4 -4
- package/dist/_Btz7jvxW.js +2 -0
- package/dist/{_B30PhyQg.js → _C3FtpsED.js} +2 -2
- package/dist/{_10g8qIc8.js → _CiRMn9AO.js} +2 -2
- package/dist/{_J7sexRRq.js → _CowXjuPj.js} +46 -46
- package/dist/{_BerH0QBf.js → _fNIR_clX.js} +6 -1
- package/dist/_p28CBvIu.js +2 -0
- package/dist/index.mjs +189 -189
- package/dist/public/assets/{_BdoN1bos2.js → _7RUEEWT42.js} +1 -1
- package/dist/public/assets/_7RUEEWT42.js.br +0 -0
- package/dist/public/assets/{_BM4Es6Tb.js → _7bOHqdxO.js} +1 -1
- package/dist/public/assets/_7bOHqdxO.js.br +0 -0
- package/dist/public/assets/{_Di-EX1b7.js → _9YMeHT-e.js} +1 -1
- package/dist/public/assets/_9YMeHT-e.js.br +0 -0
- package/dist/public/assets/{_esB_KJm-2.js → _B1xp-8RX2.js} +1 -1
- package/dist/public/assets/_B1xp-8RX2.js.br +0 -0
- package/dist/public/assets/{_C2c3QAjk2.js → _BFNV9fDC2.js} +1 -1
- package/dist/public/assets/_BFNV9fDC2.js.br +0 -0
- package/dist/public/assets/{_BTgDIi1K.js → _BJnUA9k5.js} +1 -1
- package/dist/public/assets/_BJnUA9k5.js.br +0 -0
- package/dist/public/assets/{_3wLlkED9.js → _BTtTfKbh.js} +1 -1
- package/dist/public/assets/_BTtTfKbh.js.br +0 -0
- package/dist/public/assets/{_B2se_pgz.js → _BZZ1YIH9.js} +1 -1
- package/dist/public/assets/_BZZ1YIH9.js.br +0 -0
- package/dist/public/assets/{_CCcX7xr2.js → _BcZBn188.js} +1 -1
- package/dist/public/assets/_BcZBn188.js.br +0 -0
- package/dist/public/assets/{_CdLAoE0b.js → _Bca274-Q.js} +1 -1
- package/dist/public/assets/_Bca274-Q.js.br +0 -0
- package/dist/public/assets/{_ubp3Lzd4.js → _BeykFgGp.js} +1 -1
- package/dist/public/assets/_BeykFgGp.js.br +0 -0
- package/dist/public/assets/{_TjBJUuMd.js → _Bh9MI1by.js} +1 -1
- package/dist/public/assets/_Bh9MI1by.js.br +0 -0
- package/dist/public/assets/{_qPGSB6gw.js → _Bj9z2EOh.js} +1 -1
- package/dist/public/assets/_Bj9z2EOh.js.br +0 -0
- package/dist/public/assets/{_mOHl-qLw.js → _BjfX9UqL.js} +1 -1
- package/dist/public/assets/_BjfX9UqL.js.br +0 -0
- package/dist/public/assets/{_CSVsdz0e2.js → _Bk4O3G_O2.js} +1 -1
- package/dist/public/assets/_Bk4O3G_O2.js.br +0 -0
- package/dist/public/assets/{_CMx248mK2.js → _BlCHICVF2.js} +1 -1
- package/dist/public/assets/_BlCHICVF2.js.br +0 -0
- package/dist/public/assets/{_DA0-ySSI2.js → _Bo0VOrXv2.js} +1 -1
- package/dist/public/assets/_Bo0VOrXv2.js.br +0 -0
- package/dist/public/assets/{_BqkcNNjo.js → _BpentVHf.js} +1 -1
- package/dist/public/assets/_BpentVHf.js.br +0 -0
- package/dist/public/assets/{_CO1qXE9g2.js → _Bq9D3N8E2.js} +1 -1
- package/dist/public/assets/_Bq9D3N8E2.js.br +0 -0
- package/dist/public/assets/{_bT_VJYie2.js → _BqOBppXN2.js} +1 -1
- package/dist/public/assets/{_BH2HC92Z2.js → _Br40XpBC2.js} +1 -1
- package/dist/public/assets/_Br40XpBC2.js.br +0 -0
- package/dist/public/assets/{_DTQVG2Yr.js → _C27Hkmsl.js} +6 -6
- package/dist/public/assets/_C27Hkmsl.js.br +0 -0
- package/dist/public/assets/{_6aRnPVav.js → _C2KYdnet.js} +1 -1
- package/dist/public/assets/_C2KYdnet.js.br +0 -0
- package/dist/public/assets/{_99YJcMUn2.js → _C5h2J0F-2.js} +1 -1
- package/dist/public/assets/_C5h2J0F-2.js.br +0 -0
- package/dist/public/assets/{_Db8KpOKn.js → _C611KMu5.js} +1 -1
- package/dist/public/assets/_C611KMu5.js.br +0 -0
- package/dist/public/assets/{_D7uZiIGw2.js → _CBiqBZDL2.js} +1 -1
- package/dist/public/assets/_CBiqBZDL2.js.br +0 -0
- package/dist/public/assets/{_DXNiGMGD.js → _CC0C1EPk.js} +1 -1
- package/dist/public/assets/_CC0C1EPk.js.br +0 -0
- package/dist/public/assets/{_DU_pZQOg.js → _CEz2ZOyA.js} +1 -1
- package/dist/public/assets/_CEz2ZOyA.js.br +0 -0
- package/dist/public/assets/{_Ci7xQD_V.js → _CFSKoBDu.js} +1 -1
- package/dist/public/assets/_CFSKoBDu.js.br +0 -0
- package/dist/public/assets/{_BW8ORKSv2.js → _CFdilFkj2.js} +1 -1
- package/dist/public/assets/{_DsUixNKe.js → _CGhVDur7.js} +1 -1
- package/dist/public/assets/_CGhVDur7.js.br +0 -0
- package/dist/public/assets/{_BXp17g_k.js → _CHS9mf8_.js} +1 -1
- package/dist/public/assets/_CHS9mf8_.js.br +0 -0
- package/dist/public/assets/{_Cq_YJDmy2.js → _CJmyCr-s2.js} +1 -1
- package/dist/public/assets/_CJmyCr-s2.js.br +0 -0
- package/dist/public/assets/{_ZZU6MAiV.js → _CTNoAHgp.js} +1 -1
- package/dist/public/assets/_CTNoAHgp.js.br +0 -0
- package/dist/public/assets/{_52zEfCjO2.js → _CWIpDSbB2.js} +1 -1
- package/dist/public/assets/_CWIpDSbB2.js.br +0 -0
- package/dist/public/assets/{_BoyAzBpG2.js → _CcKqKOMs2.js} +1 -1
- package/dist/public/assets/_CcKqKOMs2.js.br +0 -0
- package/dist/public/assets/{_BNxSZ6aK.js → _CoR2IY5I.js} +1 -1
- package/dist/public/assets/_CoR2IY5I.js.br +0 -0
- package/dist/public/assets/{_CeXRQ6n1.js → _CrI5Ho6D.js} +5 -5
- package/dist/public/assets/_CrI5Ho6D.js.br +0 -0
- package/dist/public/assets/{_Deslis1o.js → _CvILhJZQ.js} +1 -1
- package/dist/public/assets/_CvILhJZQ.js.br +0 -0
- package/dist/public/assets/{_D57xG7fN.js → _CvWQW-8E.js} +1 -1
- package/dist/public/assets/_CvWQW-8E.js.br +0 -0
- package/dist/public/assets/{_DBzQI7Fc.js → _CwojVICl.js} +1 -1
- package/dist/public/assets/_CwojVICl.js.br +0 -0
- package/dist/public/assets/{_D4LIQ6Lx.js → _D05yRb7F.js} +1 -1
- package/dist/public/assets/{_Bn_o5JCS.js → _D06eTMkW.js} +1 -1
- package/dist/public/assets/_D06eTMkW.js.br +0 -0
- package/dist/public/assets/{_CUo4ijVA.js → _D1jbv1g5.js} +1 -1
- package/dist/public/assets/_D1jbv1g5.js.br +0 -0
- package/dist/public/assets/{_DHagfBBR.js → _D33cyBQR.js} +1 -1
- package/dist/public/assets/_D33cyBQR.js.br +0 -0
- package/dist/public/assets/{_DdKiKAPk.js → _D6BKPjx0.js} +1 -1
- package/dist/public/assets/_D6BKPjx0.js.br +0 -0
- package/dist/public/assets/{_CgW3fZUl.js → _D8n6QzII.js} +1 -1
- package/dist/public/assets/_D8n6QzII.js.br +0 -0
- package/dist/public/assets/{_B9eUrsj2.js → _DFEEfOqg.js} +1 -1
- package/dist/public/assets/_DFEEfOqg.js.br +0 -0
- package/dist/public/assets/{_DbGcfVbZ2.js → _DP5WtF2F2.js} +1 -1
- package/dist/public/assets/_DP5WtF2F2.js.br +0 -0
- package/dist/public/assets/{_DwgoyKXR2.js → _DYPfDleI2.js} +1 -1
- package/dist/public/assets/_DYPfDleI2.js.br +0 -0
- package/dist/public/assets/{_C-FQ0ys32.js → _DZvJvsu32.js} +1 -1
- package/dist/public/assets/_DZvJvsu32.js.br +0 -0
- package/dist/public/assets/{_SUciI1Gv.js → _DeSxv9J3.js} +1 -1
- package/dist/public/assets/_DeSxv9J3.js.br +0 -0
- package/dist/public/assets/{_DP53olnm.js → _Dk3H6lep.js} +1 -1
- package/dist/public/assets/_Dk3H6lep.js.br +0 -0
- package/dist/public/assets/{_DK_NIQ8y.js → _DmBXdH0m.js} +1 -1
- package/dist/public/assets/_DmBXdH0m.js.br +0 -0
- package/dist/public/assets/{_Bvv1d3oN.js → _DmqnSuVa.js} +1 -1
- package/dist/public/assets/_DmqnSuVa.js.br +0 -0
- package/dist/public/assets/{_Bb-Pv5bu.js → _Dp5VVe6i.js} +1 -1
- package/dist/public/assets/_Dp5VVe6i.js.br +0 -0
- package/dist/public/assets/{_CkKsdaoM.js → _DsnB1E5Q.js} +1 -1
- package/dist/public/assets/_DsnB1E5Q.js.br +0 -0
- package/dist/public/assets/{_BX15bWY7.js → _DuH37q4J.js} +1 -1
- package/dist/public/assets/_DuH37q4J.js.br +0 -0
- package/dist/public/assets/{_BcggQ3YH.js → _DvevQVhK.js} +1 -1
- package/dist/public/assets/_DvevQVhK.js.br +0 -0
- package/dist/public/assets/{_Uh-uh7hT2.js → _DvkWj1SP2.js} +1 -1
- package/dist/public/assets/_DvkWj1SP2.js.br +0 -0
- package/dist/public/assets/{_i6BjIXhK2.js → _DyMSk87d2.js} +1 -1
- package/dist/public/assets/_DyMSk87d2.js.br +0 -0
- package/dist/public/assets/{_C1nJm6lQ.js → _L8nNj1ck.js} +1 -1
- package/dist/public/assets/_L8nNj1ck.js.br +0 -0
- package/dist/public/assets/{_CzOCWtg-.js → _SqmIgqwl.js} +1 -1
- package/dist/public/assets/_SqmIgqwl.js.br +0 -0
- package/dist/public/assets/{_U6OVDCJb.js → _UAomfoF_.js} +1 -1
- package/dist/public/assets/_UAomfoF_.js.br +0 -0
- package/dist/public/assets/{_Dg6ejz2B.js → _XHonkVEA.js} +1 -1
- package/dist/public/assets/_XHonkVEA.js.br +0 -0
- package/dist/public/assets/{_Qkrq4E4X.js → _ZusQguOq.js} +1 -1
- package/dist/public/assets/_ZusQguOq.js.br +0 -0
- package/dist/public/assets/{_DBgwUGM42.js → __ziruLxv2.js} +1 -1
- package/dist/public/assets/__ziruLxv2.js.br +0 -0
- package/dist/public/assets/{_B65X4nQm.js → _bWhSjZnQ.js} +1 -1
- package/dist/public/assets/_bWhSjZnQ.js.br +0 -0
- package/dist/public/assets/{_Bqh8jXAu.js → _gmruYy_C.js} +1 -1
- package/dist/public/assets/_gmruYy_C.js.br +0 -0
- package/dist/public/assets/{_B1fFsQy22.js → _h0_uQKFV2.js} +1 -1
- package/dist/public/assets/_h0_uQKFV2.js.br +0 -0
- package/dist/public/assets/{_BqWyT01p.js → _ll_lGA-X.js} +1 -1
- package/dist/public/assets/_ll_lGA-X.js.br +0 -0
- package/dist/public/assets/{_IsYsu85_.js → _q-ZaUMrN.js} +1 -1
- package/dist/public/assets/_q-ZaUMrN.js.br +0 -0
- package/dist/public/assets/{_aBZuh8zn2.js → _wagVpOy02.js} +1 -1
- package/dist/public/assets/_wagVpOy02.js.br +0 -0
- package/dist/public/assets/{_DuRUMaPn.js → _wrNucRqv.js} +1 -1
- package/dist/public/assets/_wrNucRqv.js.br +0 -0
- package/dist/public/assets/{_BlhUhOHU2.js → _xmOY7nKx2.js} +1 -1
- package/dist/public/assets/_xmOY7nKx2.js.br +0 -0
- package/dist/public/assets/{_Dlf-M1S1.js → _zBshawlw.js} +1 -1
- package/dist/public/assets/_zBshawlw.js.br +0 -0
- package/dist/public/assets/{app-page-BKTdqk6I.css → app-page-BUHctmeP.css} +1 -1
- package/dist/public/assets/app-page-BUHctmeP.css.br +0 -0
- package/dist/public/assets/{diff-view-Cz4Tj-Xi.css → diff-view-Ib_cSgB2.css} +1 -1
- package/dist/public/assets/diff-view-Ib_cSgB2.css.br +0 -0
- package/dist/public/assets/new-D04e4VBb.js +1 -0
- package/dist/public/assets/settings-D04e4VBb.js +1 -0
- package/dist/public/assets/w-D04e4VBb.js +1 -0
- package/dist/public/assets/w._-D04e4VBb.js +1 -0
- package/dist/public/assets/w._-DOaRv41v.js +1 -0
- package/package.json +1 -1
- package/dist/_Bhd3BMas.js +0 -2
- package/dist/_DLULQXOg.js +0 -2
- package/dist/_PwfoxOUv.js +0 -2
- package/dist/public/assets/_3wLlkED9.js.br +0 -0
- package/dist/public/assets/_52zEfCjO2.js.br +0 -0
- package/dist/public/assets/_6aRnPVav.js.br +0 -0
- package/dist/public/assets/_99YJcMUn2.js.br +0 -0
- package/dist/public/assets/_B1fFsQy22.js.br +0 -0
- package/dist/public/assets/_B2se_pgz.js.br +0 -0
- package/dist/public/assets/_B65X4nQm.js.br +0 -0
- package/dist/public/assets/_B9eUrsj2.js.br +0 -0
- package/dist/public/assets/_BH2HC92Z2.js.br +0 -0
- package/dist/public/assets/_BM4Es6Tb.js.br +0 -0
- package/dist/public/assets/_BNxSZ6aK.js.br +0 -0
- package/dist/public/assets/_BTgDIi1K.js.br +0 -0
- package/dist/public/assets/_BX15bWY7.js.br +0 -0
- package/dist/public/assets/_BXp17g_k.js.br +0 -0
- package/dist/public/assets/_Bb-Pv5bu.js.br +0 -0
- package/dist/public/assets/_BcggQ3YH.js.br +0 -0
- package/dist/public/assets/_BdoN1bos2.js.br +0 -0
- package/dist/public/assets/_BlhUhOHU2.js.br +0 -0
- package/dist/public/assets/_Bn_o5JCS.js.br +0 -0
- package/dist/public/assets/_BoyAzBpG2.js.br +0 -0
- package/dist/public/assets/_BqWyT01p.js.br +0 -0
- package/dist/public/assets/_Bqh8jXAu.js.br +0 -0
- package/dist/public/assets/_BqkcNNjo.js.br +0 -0
- package/dist/public/assets/_Bvv1d3oN.js.br +0 -0
- package/dist/public/assets/_C-FQ0ys32.js.br +0 -0
- package/dist/public/assets/_C1nJm6lQ.js.br +0 -0
- package/dist/public/assets/_C2c3QAjk2.js.br +0 -0
- package/dist/public/assets/_CCcX7xr2.js.br +0 -0
- package/dist/public/assets/_CMx248mK2.js.br +0 -0
- package/dist/public/assets/_CO1qXE9g2.js.br +0 -0
- package/dist/public/assets/_CSVsdz0e2.js.br +0 -0
- package/dist/public/assets/_CUo4ijVA.js.br +0 -0
- package/dist/public/assets/_CdLAoE0b.js.br +0 -0
- package/dist/public/assets/_CeXRQ6n1.js.br +0 -0
- package/dist/public/assets/_CgW3fZUl.js.br +0 -0
- package/dist/public/assets/_Ci7xQD_V.js.br +0 -0
- package/dist/public/assets/_CkKsdaoM.js.br +0 -0
- package/dist/public/assets/_Cq_YJDmy2.js.br +0 -0
- package/dist/public/assets/_CzOCWtg-.js.br +0 -0
- package/dist/public/assets/_D57xG7fN.js.br +0 -0
- package/dist/public/assets/_D7uZiIGw2.js.br +0 -0
- package/dist/public/assets/_DA0-ySSI2.js.br +0 -0
- package/dist/public/assets/_DBgwUGM42.js.br +0 -0
- package/dist/public/assets/_DBzQI7Fc.js.br +0 -0
- package/dist/public/assets/_DHagfBBR.js.br +0 -0
- package/dist/public/assets/_DK_NIQ8y.js.br +0 -0
- package/dist/public/assets/_DP53olnm.js.br +0 -0
- package/dist/public/assets/_DTQVG2Yr.js.br +0 -0
- package/dist/public/assets/_DU_pZQOg.js.br +0 -0
- package/dist/public/assets/_DXNiGMGD.js.br +0 -0
- package/dist/public/assets/_Db8KpOKn.js.br +0 -0
- package/dist/public/assets/_DbGcfVbZ2.js.br +0 -0
- package/dist/public/assets/_DdKiKAPk.js.br +0 -0
- package/dist/public/assets/_Deslis1o.js.br +0 -0
- package/dist/public/assets/_Dg6ejz2B.js.br +0 -0
- package/dist/public/assets/_Di-EX1b7.js.br +0 -0
- package/dist/public/assets/_Dlf-M1S1.js.br +0 -0
- package/dist/public/assets/_DsUixNKe.js.br +0 -0
- package/dist/public/assets/_DuRUMaPn.js.br +0 -0
- package/dist/public/assets/_DwgoyKXR2.js.br +0 -0
- package/dist/public/assets/_IsYsu85_.js.br +0 -0
- package/dist/public/assets/_Qkrq4E4X.js.br +0 -0
- package/dist/public/assets/_SUciI1Gv.js.br +0 -0
- package/dist/public/assets/_TjBJUuMd.js.br +0 -0
- package/dist/public/assets/_U6OVDCJb.js.br +0 -0
- package/dist/public/assets/_Uh-uh7hT2.js.br +0 -0
- package/dist/public/assets/_ZZU6MAiV.js.br +0 -0
- package/dist/public/assets/_aBZuh8zn2.js.br +0 -0
- package/dist/public/assets/_esB_KJm-2.js.br +0 -0
- package/dist/public/assets/_i6BjIXhK2.js.br +0 -0
- package/dist/public/assets/_mOHl-qLw.js.br +0 -0
- package/dist/public/assets/_qPGSB6gw.js.br +0 -0
- package/dist/public/assets/_ubp3Lzd4.js.br +0 -0
- package/dist/public/assets/app-page-BKTdqk6I.css.br +0 -0
- package/dist/public/assets/diff-view-Cz4Tj-Xi.css.br +0 -0
- package/dist/public/assets/new-CMRMU1vs.js +0 -1
- package/dist/public/assets/settings-CMRMU1vs.js +0 -1
- package/dist/public/assets/w-CMRMU1vs.js +0 -1
- package/dist/public/assets/w._-CMEpH_9a.js +0 -1
- package/dist/public/assets/w._-CMRMU1vs.js +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./_BMI-E3GI.js";
|
|
2
|
-
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 "./
|
|
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 "./
|
|
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 "./
|
|
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 "./
|
|
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 "./_fNIR_clX.js";
|
|
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 "./_BXnpEUMe.js";
|
|
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 "./_C3FtpsED.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 "./_CiRMn9AO.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("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();
|
|
@@ -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 = "_ei _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(["_ec", { ["_ed"]: input.hideName }])}><div${_attr_class("_ee")}>`);
|
|
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("_ex")}>${_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("_ef")}>${_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("_eg")}${_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(["_eh", { ["_ey"]: 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 ? "_eq" : win.used_percent >= 70 ? "_ep" : win.used_percent >= 40 ? "_eo" : "_en";
|
|
2502
|
+
const pctClass = win.used_percent >= 90 ? "_ev" : win.used_percent >= 70 ? "_eu" : win.used_percent >= 40 ? "_et" : "_es";
|
|
2503
|
+
_html(`<div${_attr_class("_ej")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_ek")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_el")}><span${_attr_class(["_em", 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(["_er", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_ew")}>`);
|
|
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 = "_dZ _1 _j";
|
|
2536
2536
|
//#endregion
|
|
2537
2537
|
//#region src/tags/sso-auth.marko
|
|
2538
2538
|
var api$7;
|
|
@@ -2579,14 +2579,14 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2579
2579
|
localCode = null;
|
|
2580
2580
|
}
|
|
2581
2581
|
}, "B0", $scope0_id);
|
|
2582
|
-
_html(`<div${_attr_class("
|
|
2582
|
+
_html(`<div${_attr_class("_dW")}>`);
|
|
2583
2583
|
_if(() => {
|
|
2584
2584
|
if (input.items.length) {
|
|
2585
2585
|
const $scope1_id = _scope_id();
|
|
2586
|
-
_html(`<p${_attr_class("
|
|
2586
|
+
_html(`<p${_attr_class("_d7")}>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("_dX")}>`);
|
|
2587
2587
|
_for_of(input.items, (s) => {
|
|
2588
2588
|
const $scope2_id = _scope_id();
|
|
2589
|
-
_html(`<li${_attr_class("
|
|
2589
|
+
_html(`<li${_attr_class("_dY")}>${_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)}>`);
|
|
2590
2590
|
icon_xmark_default({ size: 11 });
|
|
2591
2591
|
_html(`</button>${_el_resume($scope2_id, "c")}</li>`);
|
|
2592
2592
|
_script($scope2_id, "B1");
|
|
@@ -2595,17 +2595,17 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2595
2595
|
_: _scope_with_id($scope1_id)
|
|
2596
2596
|
}));
|
|
2597
2597
|
}, "org", $scope1_id, "c", $sg__input_items, $sg__input_items, $sg__input_items, "</ul>", 1);
|
|
2598
|
-
_html(`<div${_attr_class("
|
|
2598
|
+
_html(`<div${_attr_class("_d0")}>`);
|
|
2599
2599
|
_if(() => {
|
|
2600
2600
|
if (localBusy && localCode) {
|
|
2601
2601
|
const $scope5_id = _scope_id();
|
|
2602
|
-
_html(`<span${_attr_class("
|
|
2602
|
+
_html(`<span${_attr_class("_d1")}><span${_attr_class("_E")}></span> Enter code <strong${_attr_class("_d2")}>${_escape(localCode)}${_el_resume($scope5_id, "d")}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_d3")}>${_escape(host)}${_el_resume($scope5_id, "f", _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope5_id, "e")}</span>`);
|
|
2603
2603
|
_script($scope5_id, "B2");
|
|
2604
2604
|
_subscribe($localCode__closures, _subscribe($si__input_items_0_host && $host__closures, writeScope($scope5_id, {})));
|
|
2605
2605
|
return 0;
|
|
2606
2606
|
} else if (localBusy) {
|
|
2607
2607
|
const $scope8_id = _scope_id();
|
|
2608
|
-
_html(`<span${_attr_class("
|
|
2608
|
+
_html(`<span${_attr_class("_d1")}><span${_attr_class("_E")}></span>Starting GitHub re-authorization…</span>`);
|
|
2609
2609
|
writeScope($scope8_id, {});
|
|
2610
2610
|
return 1;
|
|
2611
2611
|
} else if (!busy) {
|
|
@@ -2619,7 +2619,7 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2619
2619
|
_if(() => {
|
|
2620
2620
|
if (localError) {
|
|
2621
2621
|
const $scope6_id = _scope_id();
|
|
2622
|
-
_html(`<p${_attr_class("
|
|
2622
|
+
_html(`<p${_attr_class("_d7")}>${_escape(localError)}${_el_resume($scope6_id, "b")}</p>`);
|
|
2623
2623
|
_subscribe($localError__closures, writeScope($scope6_id, {}));
|
|
2624
2624
|
return 0;
|
|
2625
2625
|
}
|
|
@@ -2631,10 +2631,10 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2631
2631
|
_if(() => {
|
|
2632
2632
|
if (skipped$1.length) {
|
|
2633
2633
|
const $scope3_id = _scope_id();
|
|
2634
|
-
_html(`<p${_attr_class("
|
|
2634
|
+
_html(`<p${_attr_class("_d4")}>Skipped SSO for `);
|
|
2635
2635
|
_for_of(skipped$1, (s) => {
|
|
2636
2636
|
const $scope4_id = _scope_id();
|
|
2637
|
-
_html(`<span${_attr_class("
|
|
2637
|
+
_html(`<span${_attr_class("_d5")}>${_escape(s.org)}${_el_resume($scope4_id, "b", $sg__input_skipped)}<button type=button${_attr_class("_d6")}${_attr("title", `Show ${s.org} again`)}>(undo)</button>${_el_resume($scope4_id, "c")}</span>`);
|
|
2638
2638
|
_script($scope4_id, "B4");
|
|
2639
2639
|
writeScope($scope4_id, {
|
|
2640
2640
|
f: s?.org,
|
|
@@ -2707,7 +2707,7 @@ var modal_view_default = _template("r", (input) => {
|
|
|
2707
2707
|
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;
|
|
2708
2708
|
const dismissable = input.dismissable !== false;
|
|
2709
2709
|
let open = input.open;
|
|
2710
|
-
_html(`<dialog${_attr_class(["
|
|
2710
|
+
_html(`<dialog${_attr_class(["_d_", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
|
|
2711
2711
|
...htmlInput,
|
|
2712
2712
|
open: null
|
|
2713
2713
|
}, {
|
|
@@ -2717,20 +2717,20 @@ var modal_view_default = _template("r", (input) => {
|
|
|
2717
2717
|
closedby: 1,
|
|
2718
2718
|
"on-cancel": 1,
|
|
2719
2719
|
"on-close": 1
|
|
2720
|
-
}, "a", $scope0_id, "dialog")}><div${_attr_class("
|
|
2720
|
+
}, "a", $scope0_id, "dialog")}><div${_attr_class("_ea")}>`);
|
|
2721
2721
|
_dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
|
|
2722
2722
|
_html("</div>");
|
|
2723
2723
|
_if(() => {
|
|
2724
2724
|
if (footer) {
|
|
2725
2725
|
const $scope1_id = _scope_id();
|
|
2726
|
-
_html(`<form method=dialog${_attr_class("
|
|
2726
|
+
_html(`<form method=dialog${_attr_class("_eb")}>`);
|
|
2727
2727
|
_dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
|
|
2728
2728
|
_html("</form>");
|
|
2729
2729
|
$si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
|
|
2730
2730
|
return 0;
|
|
2731
2731
|
} else if (input.openChange) {
|
|
2732
2732
|
const $scope2_id = _scope_id();
|
|
2733
|
-
_html(`<form method=dialog${_attr_class("
|
|
2733
|
+
_html(`<form method=dialog${_attr_class("_eb")}>`);
|
|
2734
2734
|
dialog_close_default({
|
|
2735
2735
|
class: ["_o", "_p"],
|
|
2736
2736
|
content: _content("r0", () => {
|
|
@@ -2789,7 +2789,7 @@ var prompt_dialog_default = _template("u", (input) => {
|
|
|
2789
2789
|
const $childScope = _peek_scope_id();
|
|
2790
2790
|
modal_view_default({
|
|
2791
2791
|
label: input.label,
|
|
2792
|
-
class: "
|
|
2792
|
+
class: "_d8",
|
|
2793
2793
|
open: input.open,
|
|
2794
2794
|
openChange: input.openChange,
|
|
2795
2795
|
"aria-labelledby": titleId,
|
|
@@ -2812,7 +2812,7 @@ var prompt_dialog_default = _template("u", (input) => {
|
|
|
2812
2812
|
content: _content("u6", () => {
|
|
2813
2813
|
_scope_reason();
|
|
2814
2814
|
const $scope2_id = _scope_id();
|
|
2815
|
-
_html(`<h2${_attr_class("
|
|
2815
|
+
_html(`<h2${_attr_class("_d9")}${_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) => {
|
|
2816
2816
|
value = _new_value;
|
|
2817
2817
|
}, "u0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
|
|
2818
2818
|
_script($scope2_id, "u4");
|
|
@@ -3346,7 +3346,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3346
3346
|
const backupId = _id();
|
|
3347
3347
|
const machineId = _id();
|
|
3348
3348
|
const skillsId = _id();
|
|
3349
|
-
_html(`<div${_attr_class("
|
|
3349
|
+
_html(`<div${_attr_class("_bn")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bo")}><div${_attr_class(content$2)}>`);
|
|
3350
3350
|
_set_serialize_reason({
|
|
3351
3351
|
0: _serialize_guard($scope0_reason, 4),
|
|
3352
3352
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -3439,7 +3439,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3439
3439
|
return 0;
|
|
3440
3440
|
}
|
|
3441
3441
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
3442
|
-
_html(`<section${_attr_class("
|
|
3442
|
+
_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")}>`);
|
|
3443
3443
|
_attr_select_value($scope0_id, "n", input.preferred, _resume(function(v) {
|
|
3444
3444
|
setPreferred(v);
|
|
3445
3445
|
}, "x2", $scope0_id), () => {
|
|
@@ -3464,14 +3464,14 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3464
3464
|
const rows = lone ? [] : a.instances;
|
|
3465
3465
|
const loneAccounts = lone && lone.enabled ? accountsFor(lone.id) : [];
|
|
3466
3466
|
const extraAccounts = a.installed ? strayAccountsFor(a) : [];
|
|
3467
|
-
_html(`<li${_attr_class(["
|
|
3467
|
+
_html(`<li${_attr_class(["_bC", "_cj"])}><div${_attr_class(["_cm", { ["_cp"]: lone && !lone.enabled }])}>`);
|
|
3468
3468
|
_set_serialize_reason(12);
|
|
3469
3469
|
const $childScope4 = _peek_scope_id();
|
|
3470
3470
|
icon_agent_default({
|
|
3471
3471
|
agent: a.id,
|
|
3472
3472
|
size: 18
|
|
3473
3473
|
});
|
|
3474
|
-
_html(`<div${_attr_class("
|
|
3474
|
+
_html(`<div${_attr_class("_bD")}><span${_attr_class("_bF")}><span${_attr_class("_bE")}>${_escape(a.label)}${_el_resume($scope1_id, "g")}</span>`);
|
|
3475
3475
|
_if(() => {
|
|
3476
3476
|
if (lone && input.preferred === lone.id) {
|
|
3477
3477
|
const $scope84_id = _scope_id();
|
|
@@ -3489,7 +3489,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3489
3489
|
return 0;
|
|
3490
3490
|
} else if (!a.installed) {
|
|
3491
3491
|
const $scope85_id = _scope_id();
|
|
3492
|
-
_html(`<span${_attr_class("
|
|
3492
|
+
_html(`<span${_attr_class("_bG")}>Not installed</span>`);
|
|
3493
3493
|
writeScope($scope85_id, {});
|
|
3494
3494
|
return 1;
|
|
3495
3495
|
}
|
|
@@ -3607,7 +3607,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3607
3607
|
}, "id", $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
3608
3608
|
_for_of(otherUsage, (u) => {
|
|
3609
3609
|
const $scope90_id = _scope_id();
|
|
3610
|
-
_html(`<li${_attr_class(["
|
|
3610
|
+
_html(`<li${_attr_class(["_bC", "_cj"])}>`);
|
|
3611
3611
|
_set_serialize_reason(6);
|
|
3612
3612
|
const $childScope9 = _peek_scope_id();
|
|
3613
3613
|
usage_meters_default({ agent: u });
|
|
@@ -3618,17 +3618,17 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3618
3618
|
_if(() => {
|
|
3619
3619
|
if (!usage && families.length) {
|
|
3620
3620
|
const $scope91_id = _scope_id();
|
|
3621
|
-
_html(`<p${_attr_class("
|
|
3621
|
+
_html(`<p${_attr_class("_bI")}><span${_attr_class("_E")}></span> Loading usage…</p>`);
|
|
3622
3622
|
writeScope($scope91_id, {});
|
|
3623
3623
|
return 0;
|
|
3624
3624
|
} else if (usage?.error) {
|
|
3625
3625
|
const $scope7_id = _scope_id();
|
|
3626
|
-
_html(`<p${_attr_class("
|
|
3626
|
+
_html(`<p${_attr_class("_bI")}>${_escape(usage.error)}${_el_resume($scope7_id, "b")}</p>`);
|
|
3627
3627
|
writeScope($scope7_id, {});
|
|
3628
3628
|
return 1;
|
|
3629
3629
|
}
|
|
3630
3630
|
}, $scope0_id, "t", 1, 1, 1, 0, 1);
|
|
3631
|
-
_html(`</section><section${_attr_class("
|
|
3631
|
+
_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")}>`);
|
|
3632
3632
|
_for_of(setup?.github || [], (h) => {
|
|
3633
3633
|
const $scope12_id = _scope_id();
|
|
3634
3634
|
const $for_content4__h_host__closures = /* @__PURE__ */ new Set();
|
|
@@ -3642,7 +3642,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3642
3642
|
const skippedSso = (() => {
|
|
3643
3643
|
return (h.sso || []).filter((s) => ignoredSso.has(s.org));
|
|
3644
3644
|
})();
|
|
3645
|
-
_html(`<li${_attr_class(["
|
|
3645
|
+
_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>`);
|
|
3646
3646
|
_if(() => {
|
|
3647
3647
|
if (h.isEnterprise) {
|
|
3648
3648
|
const $scope94_id = _scope_id();
|
|
@@ -3665,12 +3665,12 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3665
3665
|
return 1;
|
|
3666
3666
|
} else if (h.authed) {
|
|
3667
3667
|
const $scope92_id = _scope_id();
|
|
3668
|
-
_html(`<span${_attr_class("
|
|
3668
|
+
_html(`<span${_attr_class("_bG")}>Signed in <!>${h.user ? `${_escape(`${_to_text(" ")}`)}as ${_escape(`${_to_text(h.user)}`)}` : ""}${_el_resume($scope92_id, "b")}</span>`);
|
|
3669
3669
|
writeScope($scope92_id, {});
|
|
3670
3670
|
return 2;
|
|
3671
3671
|
} else {
|
|
3672
3672
|
const $scope93_id = _scope_id();
|
|
3673
|
-
_html(`<span${_attr_class("
|
|
3673
|
+
_html(`<span${_attr_class("_bG")}>${_escape(h.error || "Not signed in")}${_el_resume($scope93_id, "b")}</span>`);
|
|
3674
3674
|
writeScope($scope93_id, {});
|
|
3675
3675
|
return 3;
|
|
3676
3676
|
}
|
|
@@ -3701,7 +3701,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3701
3701
|
if (h.isEnterprise) {
|
|
3702
3702
|
const $scope36_id = _scope_id();
|
|
3703
3703
|
_html(`<button${_attr_class([
|
|
3704
|
-
"
|
|
3704
|
+
"_bH",
|
|
3705
3705
|
"_2",
|
|
3706
3706
|
"_3",
|
|
3707
3707
|
{ ["_q"]: confirmingRemove === h.host }
|
|
@@ -3776,7 +3776,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3776
3776
|
_if(() => {
|
|
3777
3777
|
if (setup && !setup.github.length) {
|
|
3778
3778
|
const $scope97_id = _scope_id();
|
|
3779
|
-
_html(`<p${_attr_class("
|
|
3779
|
+
_html(`<p${_attr_class("_bI")}>Install the GitHub CLI below to sign in.</p>`);
|
|
3780
3780
|
writeScope($scope97_id, {});
|
|
3781
3781
|
return 0;
|
|
3782
3782
|
}
|
|
@@ -3784,7 +3784,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3784
3784
|
_if(() => {
|
|
3785
3785
|
if (autoPush !== null) {
|
|
3786
3786
|
const $scope65_id = _scope_id();
|
|
3787
|
-
_html(`<div${_attr_class(row)}><div${_attr_class("
|
|
3787
|
+
_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([
|
|
3788
3788
|
"_H",
|
|
3789
3789
|
"_J",
|
|
3790
3790
|
{ [tone.ok]: autoPush }
|
|
@@ -3810,7 +3810,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3810
3810
|
return 0;
|
|
3811
3811
|
}
|
|
3812
3812
|
}, $scope0_id, "a0", 1, 1, 1, 0, 1);
|
|
3813
|
-
_html(`</section><section${_attr_class("
|
|
3813
|
+
_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"}>`);
|
|
3814
3814
|
_set_serialize_reason(1);
|
|
3815
3815
|
const $childScope11 = _peek_scope_id();
|
|
3816
3816
|
icon_chevron_right_default({
|
|
@@ -3860,7 +3860,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3860
3860
|
_if(() => {
|
|
3861
3861
|
if (setup && !setup.mise.installed) {
|
|
3862
3862
|
const $scope17_id = _scope_id();
|
|
3863
|
-
_html(`<p${_attr_class("
|
|
3863
|
+
_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>`);
|
|
3864
3864
|
_script($scope17_id, "x59");
|
|
3865
3865
|
_subscribe($active__closures, writeScope($scope17_id, { Cgi: 3 }));
|
|
3866
3866
|
return 0;
|
|
@@ -4061,7 +4061,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4061
4061
|
_html(`<ul${_attr_class([toolGrid, "_cx"])}>`);
|
|
4062
4062
|
_for_of(hits, (h) => {
|
|
4063
4063
|
const $scope22_id = _scope_id();
|
|
4064
|
-
_html(`<li${_attr_class(row)}><div${_attr_class("
|
|
4064
|
+
_html(`<li${_attr_class(row)}><div${_attr_class("_bD")}><span${_attr_class(["_cu", "_w"])}>${_escape(h.name)}${_el_resume($scope22_id, "d")}</span>`);
|
|
4065
4065
|
_if(() => {
|
|
4066
4066
|
if (active.has(h.name)) {
|
|
4067
4067
|
const $scope23_id = _scope_id();
|
|
@@ -4070,7 +4070,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4070
4070
|
return 0;
|
|
4071
4071
|
} else if (h.description) {
|
|
4072
4072
|
const $scope108_id = _scope_id();
|
|
4073
|
-
_html(`<span${_attr_class("
|
|
4073
|
+
_html(`<span${_attr_class("_bG")}${_attr("title", h.description)}>${_escape(h.description)}${_el_resume($scope108_id, "b")}</span>${_el_resume($scope108_id, "a")}`);
|
|
4074
4074
|
writeScope($scope108_id, {});
|
|
4075
4075
|
return 1;
|
|
4076
4076
|
}
|
|
@@ -4109,7 +4109,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4109
4109
|
return 0;
|
|
4110
4110
|
} else if (hits && !searching) {
|
|
4111
4111
|
const $scope45_id = _scope_id();
|
|
4112
|
-
_html(`<p${_attr_class("
|
|
4112
|
+
_html(`<p${_attr_class("_bI")}>No tools match "<!>${_escape(query)}${_el_resume($scope45_id, "b")}".</p>`);
|
|
4113
4113
|
_subscribe($query__closures, writeScope($scope45_id, { Cgr: 1 }));
|
|
4114
4114
|
return 1;
|
|
4115
4115
|
}
|
|
@@ -4124,7 +4124,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4124
4124
|
return 0;
|
|
4125
4125
|
}
|
|
4126
4126
|
}, $scope0_id, "ab");
|
|
4127
|
-
_html(`</section><section${_attr_class("
|
|
4127
|
+
_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>`);
|
|
4128
4128
|
_set_serialize_reason(1);
|
|
4129
4129
|
const $childScope12 = _peek_scope_id();
|
|
4130
4130
|
icon_chevron_right_default({
|
|
@@ -4156,7 +4156,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4156
4156
|
label: "Dark"
|
|
4157
4157
|
}
|
|
4158
4158
|
];
|
|
4159
|
-
_html(`</section><section${_attr_class("
|
|
4159
|
+
_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) {
|
|
4160
4160
|
setInstance({ name: v });
|
|
4161
4161
|
}, "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">`);
|
|
4162
4162
|
_for_of(themeOpts, (opt) => {
|
|
@@ -4200,7 +4200,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4200
4200
|
{ ["_cR"]: customOn }
|
|
4201
4201
|
])}${customOn ? _attr_style(`--swatch:${input.instance.accent}`) : ""} title="Custom colour"><input${_attr_input_value($scope0_id, "b2", input.instance.accent || "#3556d8", _resume(function(v) {
|
|
4202
4202
|
setInstance({ accent: v });
|
|
4203
|
-
}, "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("
|
|
4203
|
+
}, "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>`);
|
|
4204
4204
|
_if(() => {
|
|
4205
4205
|
if (backupBusy === "preflight" || backupBusy === "push") {
|
|
4206
4206
|
const $scope66_id = _scope_id();
|
|
@@ -4209,7 +4209,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4209
4209
|
return 0;
|
|
4210
4210
|
} else {
|
|
4211
4211
|
const $scope124_id = _scope_id();
|
|
4212
|
-
_html(`<span${_attr_class("
|
|
4212
|
+
_html(`<span${_attr_class("_bG")}>Workspaces and their branches, settings, skills and tool pins in one file. Code stays on GitHub.</span>`);
|
|
4213
4213
|
writeScope($scope124_id, {});
|
|
4214
4214
|
return 1;
|
|
4215
4215
|
}
|
|
@@ -4249,7 +4249,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4249
4249
|
_for_of(preflight.workspaces, (w) => {
|
|
4250
4250
|
const $scope126_id = _scope_id();
|
|
4251
4251
|
const $for_content18__w_name__closures = /* @__PURE__ */ new Set();
|
|
4252
|
-
_html(`<li${_attr_class("_c8")}><span${_attr_class("
|
|
4252
|
+
_html(`<li${_attr_class("_c8")}><span${_attr_class("_bE")}>${_escape(w.name)}${_el_resume($scope126_id, "c")}</span><ul${_attr_class("_c7")}>`);
|
|
4253
4253
|
_for_of(w.repos, (r) => {
|
|
4254
4254
|
const $scope127_id = _scope_id();
|
|
4255
4255
|
const $for_content19__r_more__closures = /* @__PURE__ */ new Set();
|
|
@@ -4336,7 +4336,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4336
4336
|
return 0;
|
|
4337
4337
|
}
|
|
4338
4338
|
}, $scope0_id, "bd", 1, 1, 1, 0, 1);
|
|
4339
|
-
_html(`</li><li${_attr_class(["
|
|
4339
|
+
_html(`</li><li${_attr_class(["_bC", "_c2"])}><div${_attr_class("_c3")}><div${_attr_class("_bD")}><span${_attr_class("_bE")}>Restore</span>`);
|
|
4340
4340
|
_if(() => {
|
|
4341
4341
|
if (backupBusy === "restore") {
|
|
4342
4342
|
const $scope67_id = _scope_id();
|
|
@@ -4345,12 +4345,12 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4345
4345
|
return 0;
|
|
4346
4346
|
} else if (restoreDone) {
|
|
4347
4347
|
const $scope75_id = _scope_id();
|
|
4348
|
-
_html(`<span${_attr_class("
|
|
4348
|
+
_html(`<span${_attr_class("_bG")}>${_escape(restoreDone)}${_el_resume($scope75_id, "b")}</span>`);
|
|
4349
4349
|
writeScope($scope75_id, {});
|
|
4350
4350
|
return 1;
|
|
4351
4351
|
} else {
|
|
4352
4352
|
const $scope135_id = _scope_id();
|
|
4353
|
-
_html(`<span${_attr_class("
|
|
4353
|
+
_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>`);
|
|
4354
4354
|
writeScope($scope135_id, {});
|
|
4355
4355
|
return 2;
|
|
4356
4356
|
}
|
|
@@ -4377,7 +4377,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4377
4377
|
_html(`<ul${_attr_class(checkList)}>`);
|
|
4378
4378
|
_for_of(preview.workspaces, (w) => {
|
|
4379
4379
|
const $scope72_id = _scope_id();
|
|
4380
|
-
_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("
|
|
4380
|
+
_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>`);
|
|
4381
4381
|
_if(() => {
|
|
4382
4382
|
if (w.status === "archived") {
|
|
4383
4383
|
const $scope139_id = _scope_id();
|
|
@@ -4399,7 +4399,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4399
4399
|
return 1;
|
|
4400
4400
|
}
|
|
4401
4401
|
}, $scope72_id, "h", 1, 1, 1, 0, 1);
|
|
4402
|
-
_html(`</span><span${_attr_class("
|
|
4402
|
+
_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>`);
|
|
4403
4403
|
_script($scope72_id, "x80");
|
|
4404
4404
|
_subscribe($restoreWs__closures, writeScope($scope72_id, {
|
|
4405
4405
|
n: w?.unknownHost,
|
|
@@ -4410,7 +4410,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4410
4410
|
return 0;
|
|
4411
4411
|
} else {
|
|
4412
4412
|
const $scope137_id = _scope_id();
|
|
4413
|
-
_html(`<p${_attr_class("
|
|
4413
|
+
_html(`<p${_attr_class("_bI")}>No workspaces in this file.</p>`);
|
|
4414
4414
|
writeScope($scope137_id, {});
|
|
4415
4415
|
return 1;
|
|
4416
4416
|
}
|
|
@@ -4450,7 +4450,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4450
4450
|
_if(() => {
|
|
4451
4451
|
if (p.total) {
|
|
4452
4452
|
const $scope74_id = _scope_id();
|
|
4453
|
-
_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("
|
|
4453
|
+
_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")}>`);
|
|
4454
4454
|
_if(() => {
|
|
4455
4455
|
if (p.key === "settings") {
|
|
4456
4456
|
const $scope136_id = _scope_id();
|
|
@@ -4687,12 +4687,12 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4687
4687
|
});
|
|
4688
4688
|
//#endregion
|
|
4689
4689
|
//#region src/tags/new-workspace.css.ts
|
|
4690
|
-
var content$1 = "_bM
|
|
4691
|
-
var section$1 = "_bQ
|
|
4690
|
+
var content$1 = "_bM _bp";
|
|
4691
|
+
var section$1 = "_bQ _bx";
|
|
4692
4692
|
var curBase = "_bV _S _R";
|
|
4693
|
-
var archived = "_b0
|
|
4693
|
+
var archived = "_b0 _bx";
|
|
4694
4694
|
var archivedHint = "_b1 _R";
|
|
4695
|
-
var archivedCard = "_b2
|
|
4695
|
+
var archivedCard = "_b2 _bC";
|
|
4696
4696
|
//#endregion
|
|
4697
4697
|
//#region src/tags/icons/icon-group.marko
|
|
4698
4698
|
var icon_group_default = _template("cb", (input) => {
|
|
@@ -4744,7 +4744,7 @@ var icon_branch_default = _template("Q", (input) => {
|
|
|
4744
4744
|
});
|
|
4745
4745
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
4746
4746
|
});
|
|
4747
|
-
var resultBranch = "
|
|
4747
|
+
var resultBranch = "_dq _Y _j";
|
|
4748
4748
|
//#endregion
|
|
4749
4749
|
//#region src/tags/branch-pick.marko
|
|
4750
4750
|
var branch_pick_default = _template("d", (input) => {
|
|
@@ -4757,11 +4757,11 @@ var branch_pick_default = _template("d", (input) => {
|
|
|
4757
4757
|
let branchFilter = "";
|
|
4758
4758
|
let reloadTick = 0;
|
|
4759
4759
|
let refreshing = false;
|
|
4760
|
-
_html(`<div${_attr_class("
|
|
4760
|
+
_html(`<div${_attr_class("_ds")}>`);
|
|
4761
4761
|
_if(() => {
|
|
4762
4762
|
{
|
|
4763
4763
|
const $scope4_id = _scope_id();
|
|
4764
|
-
_html(`<p${_attr_class("
|
|
4764
|
+
_html(`<p${_attr_class("_bI")}><span${_attr_class("_E")}></span> Loading branches…</p>`);
|
|
4765
4765
|
writeScope($scope4_id, {});
|
|
4766
4766
|
return 0;
|
|
4767
4767
|
}
|
|
@@ -4839,11 +4839,11 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4839
4839
|
const ignored = new Set(prefs$1?.ignoredSsoOrgs?.() ?? []);
|
|
4840
4840
|
return (catalog?.sso || []).filter((s) => !ignored.has(s.org));
|
|
4841
4841
|
})();
|
|
4842
|
-
_html(`<div${_attr_class("
|
|
4842
|
+
_html(`<div${_attr_class("_dj")}>`);
|
|
4843
4843
|
_if(() => {
|
|
4844
4844
|
if (ssoPending.length) {
|
|
4845
4845
|
const $scope7_id = _scope_id();
|
|
4846
|
-
_html(`<div${_attr_class("
|
|
4846
|
+
_html(`<div${_attr_class("_dk")}>`);
|
|
4847
4847
|
_set_serialize_reason(58);
|
|
4848
4848
|
const $childScope = _peek_scope_id();
|
|
4849
4849
|
sso_auth_default({
|
|
@@ -4873,16 +4873,16 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4873
4873
|
_if(() => {
|
|
4874
4874
|
if (pasted) {
|
|
4875
4875
|
const $scope1_id = _scope_id();
|
|
4876
|
-
_html(`<ul${_attr_class("
|
|
4876
|
+
_html(`<ul${_attr_class("_dl")}><li><div${_attr_class(["_dn", "_dm"])}><button${_attr_class("_do")}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
|
|
4877
4877
|
icon_plus_default({
|
|
4878
4878
|
size: 12,
|
|
4879
|
-
class: "
|
|
4879
|
+
class: "_du"
|
|
4880
4880
|
});
|
|
4881
|
-
_html(`<span${_attr_class("
|
|
4881
|
+
_html(`<span${_attr_class("_dv")}>${_escape(repoLabel(pasted))}${_el_resume($scope1_id, "f")}</span></button>${_el_resume($scope1_id, "c")}`);
|
|
4882
4882
|
_if(() => {
|
|
4883
4883
|
if (pastedForkable) {
|
|
4884
4884
|
const $scope8_id = _scope_id();
|
|
4885
|
-
_html(`<button${_attr_class(["
|
|
4885
|
+
_html(`<button${_attr_class(["_dr", { ["_dp"]: 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"}>`);
|
|
4886
4886
|
_if(() => {
|
|
4887
4887
|
if (pasteWillFork) {
|
|
4888
4888
|
const $scope10_id = _scope_id();
|
|
@@ -4902,7 +4902,7 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4902
4902
|
return 0;
|
|
4903
4903
|
}
|
|
4904
4904
|
}, $scope1_id, "g", 1, 1, 1, 0, 1);
|
|
4905
|
-
_html(`<button${_attr_class([resultBranch, { ["
|
|
4905
|
+
_html(`<button${_attr_class([resultBranch, { ["_dp"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
|
|
4906
4906
|
icon_branch_default({ size: 12 });
|
|
4907
4907
|
_html(`</button>${_el_resume($scope1_id, "h")}</div>`);
|
|
4908
4908
|
_if(() => {
|
|
@@ -4929,7 +4929,7 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4929
4929
|
return 0;
|
|
4930
4930
|
} else if (filter && !catalog) {
|
|
4931
4931
|
const $scope9_id = _scope_id();
|
|
4932
|
-
_html(`<p${_attr_class("
|
|
4932
|
+
_html(`<p${_attr_class("_bI")}>Loading repos…</p>`);
|
|
4933
4933
|
writeScope($scope9_id, {});
|
|
4934
4934
|
return 1;
|
|
4935
4935
|
}
|
|
@@ -4937,15 +4937,15 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4937
4937
|
_if(() => {
|
|
4938
4938
|
if (results.length) {
|
|
4939
4939
|
const $scope3_id = _scope_id();
|
|
4940
|
-
_html(`<ul${_attr_class("
|
|
4940
|
+
_html(`<ul${_attr_class("_dl")}>`);
|
|
4941
4941
|
_for_of(results, (repo, i) => {
|
|
4942
4942
|
const $scope4_id = _scope_id();
|
|
4943
|
-
_html(`<li><div${_attr_class(["
|
|
4943
|
+
_html(`<li><div${_attr_class(["_dn", { ["_dm"]: i === highlight }])}><button${_attr_class("_do")}>`);
|
|
4944
4944
|
icon_plus_default({
|
|
4945
4945
|
size: 12,
|
|
4946
|
-
class: "
|
|
4946
|
+
class: "_du"
|
|
4947
4947
|
});
|
|
4948
|
-
_html(`<span${_attr_class("
|
|
4948
|
+
_html(`<span${_attr_class("_dv")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope4_id, "e")}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_dp"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
|
|
4949
4949
|
icon_branch_default({ size: 12 });
|
|
4950
4950
|
_html(`</button>${_el_resume($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
|
|
4951
4951
|
_if(() => {
|
|
@@ -4980,7 +4980,7 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4980
4980
|
return 0;
|
|
4981
4981
|
} else if (filter && catalog && !pasted) {
|
|
4982
4982
|
const $scope6_id = _scope_id();
|
|
4983
|
-
_html(`<p${_attr_class("
|
|
4983
|
+
_html(`<p${_attr_class("_bI")}>No repos match "<!>${_escape(filter)}${_el_resume($scope6_id, "b")}". Paste a clone URL to add any repo.</p>`);
|
|
4984
4984
|
writeScope($scope6_id, {});
|
|
4985
4985
|
return 1;
|
|
4986
4986
|
}
|
|
@@ -5132,7 +5132,7 @@ function parseInvite(text) {
|
|
|
5132
5132
|
repos
|
|
5133
5133
|
};
|
|
5134
5134
|
}
|
|
5135
|
-
var hint = "
|
|
5135
|
+
var hint = "_dC _R";
|
|
5136
5136
|
//#endregion
|
|
5137
5137
|
//#region src/tags/join-dialog.marko
|
|
5138
5138
|
var api$4;
|
|
@@ -5242,7 +5242,7 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
5242
5242
|
const $childScope = _peek_scope_id();
|
|
5243
5243
|
modal_view_default({
|
|
5244
5244
|
label: "Join a workspace",
|
|
5245
|
-
class: "
|
|
5245
|
+
class: "_dA",
|
|
5246
5246
|
open: input.open,
|
|
5247
5247
|
openChange: _resume(function(next) {
|
|
5248
5248
|
if (!next) reset();
|
|
@@ -5265,26 +5265,26 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
5265
5265
|
content: _content("o12", () => {
|
|
5266
5266
|
_scope_reason();
|
|
5267
5267
|
const $scope1_id = _scope_id();
|
|
5268
|
-
_html(`<h2${_attr_class("
|
|
5268
|
+
_html(`<h2${_attr_class("_dB")}${_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([
|
|
5269
5269
|
"_T",
|
|
5270
5270
|
"_w",
|
|
5271
|
-
"
|
|
5271
|
+
"_dE"
|
|
5272
5272
|
])} 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")}`);
|
|
5273
5273
|
_if(() => {
|
|
5274
5274
|
if (parsed.error) {
|
|
5275
5275
|
const $scope8_id = _scope_id();
|
|
5276
|
-
_html(`<p${_attr_class([hint, "
|
|
5276
|
+
_html(`<p${_attr_class([hint, "_dD"])}>${_escape(parsed.error)}${_el_resume($scope8_id, "b")}</p>`);
|
|
5277
5277
|
_subscribe($parsed_error__closures, writeScope($scope8_id, { Cae: 1 }));
|
|
5278
5278
|
return 0;
|
|
5279
5279
|
} else if (parsed.ok) {
|
|
5280
5280
|
const $scope3_id = _scope_id();
|
|
5281
|
-
_html(`<ul${_attr_class("
|
|
5281
|
+
_html(`<ul${_attr_class("_dF")}>`);
|
|
5282
5282
|
_for_of(parsed.ok.repos, (fullName) => {
|
|
5283
5283
|
const $scope9_id = _scope_id();
|
|
5284
|
-
_html(`<li${_attr_class("
|
|
5284
|
+
_html(`<li${_attr_class("_dG")}><span${_attr_class("_dH")}>${_escape(repoLabel(fullName))}${_el_resume($scope9_id, "c")}</span></li>`);
|
|
5285
5285
|
writeScope($scope9_id, {});
|
|
5286
5286
|
}, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
|
|
5287
|
-
_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("
|
|
5287
|
+
_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("_dI")}><span${_attr_class("_bL")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
|
|
5288
5288
|
name = _new_name;
|
|
5289
5289
|
}, "o1", $scope3_id))}${_attr_class("_T")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
|
|
5290
5290
|
_script($scope3_id, "o8");
|
|
@@ -5321,10 +5321,10 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
5321
5321
|
_if(() => {
|
|
5322
5322
|
if (busy && steps$2.length) {
|
|
5323
5323
|
const $scope6_id = _scope_id();
|
|
5324
|
-
_html(`<ul${_attr_class("
|
|
5324
|
+
_html(`<ul${_attr_class("_dJ")}>`);
|
|
5325
5325
|
_for_of(steps$2, (step$2, i) => {
|
|
5326
5326
|
const $scope7_id = _scope_id();
|
|
5327
|
-
_html(`<li${_attr_class(["
|
|
5327
|
+
_html(`<li${_attr_class(["_dL", { ["_dK"]: i === steps$2.length - 1 }])}>`);
|
|
5328
5328
|
_if(() => {
|
|
5329
5329
|
if (i === steps$2.length - 1) {
|
|
5330
5330
|
const $scope10_id = _scope_id();
|
|
@@ -5333,7 +5333,7 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
5333
5333
|
return 0;
|
|
5334
5334
|
} else {
|
|
5335
5335
|
const $scope11_id = _scope_id();
|
|
5336
|
-
_html(`<span${_attr_class("
|
|
5336
|
+
_html(`<span${_attr_class("_dM")}>`);
|
|
5337
5337
|
icon_check_default({ size: 14 });
|
|
5338
5338
|
_html("</span>");
|
|
5339
5339
|
writeScope($scope11_id, {});
|
|
@@ -5488,7 +5488,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5488
5488
|
}
|
|
5489
5489
|
}, "s6", $scope0_id);
|
|
5490
5490
|
const titleId = _id();
|
|
5491
|
-
_html(`<div${_attr_class("
|
|
5491
|
+
_html(`<div${_attr_class("_bn")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bo")}><div${_attr_class(content$1)}>`);
|
|
5492
5492
|
_set_serialize_reason({
|
|
5493
5493
|
0: _serialize_guard($scope0_reason, 2),
|
|
5494
5494
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -5537,9 +5537,9 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5537
5537
|
return 0;
|
|
5538
5538
|
}
|
|
5539
5539
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
5540
|
-
_html(`<label${_attr_class("_bP")}><span${_attr_class("
|
|
5540
|
+
_html(`<label${_attr_class("_bP")}><span${_attr_class("_bL")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
|
|
5541
5541
|
name = _new_name;
|
|
5542
|
-
}, "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("
|
|
5542
|
+
}, "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)}>`);
|
|
5543
5543
|
_set_serialize_reason(1);
|
|
5544
5544
|
const $childScope2 = _peek_scope_id();
|
|
5545
5545
|
icon_refresh_default({
|
|
@@ -5612,7 +5612,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5612
5612
|
_if(() => {
|
|
5613
5613
|
if (!selected.length) {
|
|
5614
5614
|
const $scope16_id = _scope_id();
|
|
5615
|
-
_html(`<li${_attr_class("
|
|
5615
|
+
_html(`<li${_attr_class("_bI")}>No repos yet. Search below to add one, or create it empty.</li>`);
|
|
5616
5616
|
writeScope($scope16_id, {});
|
|
5617
5617
|
return 0;
|
|
5618
5618
|
}
|
|
@@ -5681,10 +5681,10 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5681
5681
|
_if(() => {
|
|
5682
5682
|
if (archived$1.length) {
|
|
5683
5683
|
const $scope6_id = _scope_id();
|
|
5684
|
-
_html(`<section${_attr_class(archived)}><div${_attr_class("_bR")}><h2${_attr_class("
|
|
5684
|
+
_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")}>`);
|
|
5685
5685
|
_for_of(archived$1, (ws) => {
|
|
5686
5686
|
const $scope7_id = _scope_id();
|
|
5687
|
-
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("
|
|
5687
|
+
_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)}>`);
|
|
5688
5688
|
_if(() => {
|
|
5689
5689
|
if (restoring === ws.id) {
|
|
5690
5690
|
const $scope19_id = _scope_id();
|
|
@@ -5808,8 +5808,8 @@ function vapidKey(base64) {
|
|
|
5808
5808
|
const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
|
|
5809
5809
|
return Uint8Array.from(raw, (c) => c.charCodeAt(0));
|
|
5810
5810
|
}
|
|
5811
|
-
var iconBtn$1 = "
|
|
5812
|
-
var navToggle = "
|
|
5811
|
+
var iconBtn$1 = "_eA _j";
|
|
5812
|
+
var navToggle = "_eF _j";
|
|
5813
5813
|
_template("P", (input) => {
|
|
5814
5814
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
5815
5815
|
const $scope0_id = _scope_id();
|
|
@@ -5924,22 +5924,22 @@ var usage_pcts_default = _template("G", (input) => {
|
|
|
5924
5924
|
if (windows.length) {
|
|
5925
5925
|
const $scope1_id = _scope_id();
|
|
5926
5926
|
_html(`<span${_attr_class([
|
|
5927
|
-
"
|
|
5927
|
+
"_f5",
|
|
5928
5928
|
input.class,
|
|
5929
|
-
{ ["
|
|
5929
|
+
{ ["_f6"]: agent.stale_seconds != null }
|
|
5930
5930
|
])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
|
|
5931
5931
|
_for_of(windows, (win$1, i) => {
|
|
5932
5932
|
const $scope2_id = _scope_id();
|
|
5933
|
-
_html(`<span${_attr_class("
|
|
5933
|
+
_html(`<span${_attr_class("_f7")}>`);
|
|
5934
5934
|
_if(() => {
|
|
5935
5935
|
if (i) {
|
|
5936
5936
|
const $scope3_id = _scope_id();
|
|
5937
|
-
_html(`<span${_attr_class("
|
|
5937
|
+
_html(`<span${_attr_class("_f_")} aria-hidden=true>·</span>`);
|
|
5938
5938
|
$si__input_agent && writeScope($scope3_id, {});
|
|
5939
5939
|
return 0;
|
|
5940
5940
|
}
|
|
5941
5941
|
}, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
5942
|
-
_html(`<span${_attr_class("
|
|
5942
|
+
_html(`<span${_attr_class("_f8")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_f9", win$1.used_percent >= 90 ? "_ev" : win$1.used_percent >= 70 ? "_eu" : win$1.used_percent >= 40 ? "_et" : "_es"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
|
|
5943
5943
|
$si__input_agent && writeScope($scope2_id, {});
|
|
5944
5944
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
5945
5945
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -6660,34 +6660,34 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6660
6660
|
const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
|
|
6661
6661
|
_html(`<script${_attr_nonce()}>${_escape_script(`
|
|
6662
6662
|
${_to_text(`if (matchMedia("(max-width: 899px)").matches) document.documentElement.classList.add("work-no-rail");`)};
|
|
6663
|
-
`)}<\/script><aside${_attr_class(["
|
|
6664
|
-
["
|
|
6665
|
-
["
|
|
6663
|
+
`)}<\/script><aside${_attr_class(["_eE", {
|
|
6664
|
+
["_eC"]: !navOpen,
|
|
6665
|
+
["_eD"]: isPage
|
|
6666
6666
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
6667
6667
|
_if(() => {
|
|
6668
6668
|
if (isPage) {
|
|
6669
6669
|
const $scope1_id = _scope_id();
|
|
6670
|
-
_html(`<header${_attr_class("
|
|
6670
|
+
_html(`<header${_attr_class("_eH")}><div${_attr_class("_eQ")}>`);
|
|
6671
6671
|
_if(() => {
|
|
6672
6672
|
if (input.instanceName) {
|
|
6673
6673
|
const $scope2_id = _scope_id();
|
|
6674
|
-
_html(`<div${_attr_class("
|
|
6674
|
+
_html(`<div${_attr_class("_eN")} title="This work server (Settings → Appearance)"><img${_attr_class("_eO")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_eP")}>${_escape(input.instanceName)}${_el_resume($scope2_id, "d", $sg__input_instanceName)}</span></div>`);
|
|
6675
6675
|
_subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
|
|
6676
6676
|
return 0;
|
|
6677
6677
|
}
|
|
6678
6678
|
}, $scope1_id, "c", $sg__input_instanceName, $sg__input_instanceName, 1, 0, 1);
|
|
6679
|
-
_html(`<h1${_attr_class("
|
|
6679
|
+
_html(`<h1${_attr_class("_eI")}>Workspaces</h1></div><div${_attr_class("_eJ")}>`);
|
|
6680
6680
|
_if(() => {}, $scope1_id, "f", 1, 1, 1, 0, 1);
|
|
6681
6681
|
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
|
|
6682
6682
|
iconBtn$1,
|
|
6683
|
-
"
|
|
6684
|
-
{ ["
|
|
6683
|
+
"_eK",
|
|
6684
|
+
{ ["_ez"]: view === "settings" }
|
|
6685
6685
|
])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
6686
6686
|
icon_settings_default({ size: 16 });
|
|
6687
6687
|
_if(() => {
|
|
6688
6688
|
if (input.setupReady === false) {
|
|
6689
6689
|
const $scope12_id = _scope_id();
|
|
6690
|
-
_html(`<span${_attr_class(["_y", "
|
|
6690
|
+
_html(`<span${_attr_class(["_y", "_eB"])} title="Machine setup incomplete"></span>`);
|
|
6691
6691
|
$si__input_setupReady && writeScope($scope12_id, {});
|
|
6692
6692
|
return 0;
|
|
6693
6693
|
}
|
|
@@ -6700,18 +6700,18 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6700
6700
|
_if(() => {
|
|
6701
6701
|
if (!isPage && input.instanceName) {
|
|
6702
6702
|
const $scope3_id = _scope_id();
|
|
6703
|
-
_html(`<div${_attr_class("
|
|
6703
|
+
_html(`<div${_attr_class("_eN")} title="This work server (Settings → Appearance)"><img${_attr_class("_eO")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_eP")}>${_escape(input.instanceName)}${_el_resume($scope3_id, "d", $sg__input_instanceName)}</span></div>`);
|
|
6704
6704
|
writeScope($scope3_id, {});
|
|
6705
6705
|
return 0;
|
|
6706
6706
|
}
|
|
6707
6707
|
}, $scope0_id, "d", 1, 1, 1, 0, 1);
|
|
6708
|
-
_html(`<div${_attr_class("
|
|
6708
|
+
_html(`<div${_attr_class("_eR")}>`);
|
|
6709
6709
|
_for_of(listIds, (wsId) => {
|
|
6710
6710
|
const $scope4_id = _scope_id();
|
|
6711
6711
|
_if(() => {
|
|
6712
6712
|
if (isPage && wsId === ws.id) {
|
|
6713
6713
|
const $scope13_id = _scope_id();
|
|
6714
|
-
_html(`<h2${_attr_class(["
|
|
6714
|
+
_html(`<h2${_attr_class(["_bL", "_eL"])}>Current</h2>`);
|
|
6715
6715
|
writeScope($scope13_id, {});
|
|
6716
6716
|
return 0;
|
|
6717
6717
|
}
|
|
@@ -6719,7 +6719,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6719
6719
|
_if(() => {
|
|
6720
6720
|
if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
|
|
6721
6721
|
const $scope14_id = _scope_id();
|
|
6722
|
-
_html(`<h2${_attr_class(["
|
|
6722
|
+
_html(`<h2${_attr_class(["_bL", "_eL"])}>Other workspaces</h2>`);
|
|
6723
6723
|
writeScope($scope14_id, {});
|
|
6724
6724
|
return 0;
|
|
6725
6725
|
}
|
|
@@ -6803,7 +6803,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6803
6803
|
railHover = null;
|
|
6804
6804
|
}, 150);
|
|
6805
6805
|
}, "A6", $scope5_id);
|
|
6806
|
-
_html(`<div${_attr_class("
|
|
6806
|
+
_html(`<div${_attr_class("_eS")} data-rail>`);
|
|
6807
6807
|
_for_of(itemIds, (wsId, i) => {
|
|
6808
6808
|
const $scope6_id = _scope_id();
|
|
6809
6809
|
_html("<span>");
|
|
@@ -6857,7 +6857,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6857
6857
|
if (railHover) {
|
|
6858
6858
|
const $scope7_id = _scope_id();
|
|
6859
6859
|
const hoverId = railHover.id;
|
|
6860
|
-
_html(`<div${_attr_class(["_4", "
|
|
6860
|
+
_html(`<div${_attr_class(["_4", "_eV"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
|
|
6861
6861
|
_set_serialize_reason({
|
|
6862
6862
|
0: 1,
|
|
6863
6863
|
1: 1,
|
|
@@ -6942,7 +6942,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6942
6942
|
return 0;
|
|
6943
6943
|
}
|
|
6944
6944
|
}, $scope0_id, "f");
|
|
6945
|
-
_html(`<div${_attr_class("
|
|
6945
|
+
_html(`<div${_attr_class("_eT")}>`);
|
|
6946
6946
|
_if(() => {
|
|
6947
6947
|
if (isPage) {
|
|
6948
6948
|
const $scope9_id = _scope_id();
|
|
@@ -6950,7 +6950,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6950
6950
|
"_o",
|
|
6951
6951
|
"_p",
|
|
6952
6952
|
btnLg,
|
|
6953
|
-
"
|
|
6953
|
+
"_eM"
|
|
6954
6954
|
])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
6955
6955
|
icon_folder_plus_default({ size: 16 });
|
|
6956
6956
|
_html(` New workspace</a>${_el_resume($scope9_id, "a")}`);
|
|
@@ -6972,19 +6972,19 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6972
6972
|
return 1;
|
|
6973
6973
|
}
|
|
6974
6974
|
}, $scope8_id, "a", 1, 1, 1, "</button>", 1);
|
|
6975
|
-
_html(`<div${_attr_class(["_x", "
|
|
6975
|
+
_html(`<div${_attr_class(["_x", "_eU"])}></div>`);
|
|
6976
6976
|
_if(() => {}, $scope8_id, "c", 1, 1, 1, 0, 1);
|
|
6977
|
-
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["
|
|
6977
|
+
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["_ez"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
6978
6978
|
icon_settings_default({ size: 15 });
|
|
6979
6979
|
_if(() => {
|
|
6980
6980
|
if (input.setupReady === false) {
|
|
6981
6981
|
const $scope17_id = _scope_id();
|
|
6982
|
-
_html(`<span${_attr_class(["_y", "
|
|
6982
|
+
_html(`<span${_attr_class(["_y", "_eB"])} title="Machine setup incomplete"></span>`);
|
|
6983
6983
|
$si__input_setupReady && writeScope($scope17_id, {});
|
|
6984
6984
|
return 0;
|
|
6985
6985
|
}
|
|
6986
6986
|
}, $scope8_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
6987
|
-
_html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["
|
|
6987
|
+
_html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["_ez"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
6988
6988
|
icon_folder_plus_default({ size: 16 });
|
|
6989
6989
|
_html(`</a>${_el_resume($scope8_id, "g")}`);
|
|
6990
6990
|
_script($scope8_id, "A15");
|
|
@@ -7053,11 +7053,11 @@ var side_nav_default = _template("A", (input) => {
|
|
|
7053
7053
|
_resume_branch($scope0_id);
|
|
7054
7054
|
});
|
|
7055
7055
|
var iconBtn = "_Z _j";
|
|
7056
|
-
var sectionCount = "
|
|
7057
|
-
var content = "
|
|
7058
|
-
var pageMeta = "
|
|
7059
|
-
var pathMeta = "
|
|
7060
|
-
var dangerHint = "
|
|
7056
|
+
var sectionCount = "_bz _H _I";
|
|
7057
|
+
var content = "_fm _bp";
|
|
7058
|
+
var pageMeta = "_fn _bu";
|
|
7059
|
+
var pathMeta = "_fq _w";
|
|
7060
|
+
var dangerHint = "_fv _R";
|
|
7061
7061
|
//#endregion
|
|
7062
7062
|
//#region src/tags/icons/icon-clipboard.marko
|
|
7063
7063
|
var icon_clipboard_default = _template("U", (input) => {
|
|
@@ -7223,7 +7223,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7223
7223
|
setTimeout(() => loadProcs(void 0), 500);
|
|
7224
7224
|
}, "q8", $scope0_id);
|
|
7225
7225
|
const titleId = _id();
|
|
7226
|
-
_html(`<div${_attr_class("
|
|
7226
|
+
_html(`<div${_attr_class("_bn")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bo")}><div${_attr_class(content)}>`);
|
|
7227
7227
|
_set_serialize_reason(286);
|
|
7228
7228
|
let $actions;
|
|
7229
7229
|
if (ws.repos.length) $actions = attrTag({ content: _content_resume("q16", () => {
|
|
@@ -7259,7 +7259,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7259
7259
|
meta: attrTag({ content: _content_resume("q15", () => {
|
|
7260
7260
|
_scope_reason();
|
|
7261
7261
|
const $scope14_id = _scope_id();
|
|
7262
|
-
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("
|
|
7262
|
+
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_fo")}>${_escape(ws.name)}${_el_resume($scope14_id, "c")}</span>`);
|
|
7263
7263
|
_if(() => {
|
|
7264
7264
|
if (ws.status !== "active") {
|
|
7265
7265
|
const $scope18_id = _scope_id();
|
|
@@ -7268,7 +7268,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7268
7268
|
return 0;
|
|
7269
7269
|
}
|
|
7270
7270
|
}, $scope14_id, "d", 1, 1, 1, 0, 1);
|
|
7271
|
-
_html(`<span${_attr_class("
|
|
7271
|
+
_html(`<span${_attr_class("_fp")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope14_id, "g")}</span></span>${_el_resume($scope14_id, "a")}`);
|
|
7272
7272
|
_subscribe($ws_status__closures, _subscribe($ws_path__closures, _subscribe($ws_display_path__closures, _subscribe($ws_name__closures, writeScope($scope14_id, { _: _scope_with_id($scope0_id) })))));
|
|
7273
7273
|
_resume_branch($scope14_id);
|
|
7274
7274
|
}, $scope0_id) })
|
|
@@ -7296,12 +7296,12 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7296
7296
|
_if(() => {
|
|
7297
7297
|
if (pendingAction && actionStep) {
|
|
7298
7298
|
const $scope11_id = _scope_id();
|
|
7299
|
-
_html(`<p${_attr_class("
|
|
7299
|
+
_html(`<p${_attr_class("_bw")}><span${_attr_class("_E")}></span><!>${_escape(actionStep)}${_el_resume($scope11_id, "c")}</p>`);
|
|
7300
7300
|
writeScope($scope11_id, {});
|
|
7301
7301
|
return 0;
|
|
7302
7302
|
}
|
|
7303
7303
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
7304
|
-
_html(`<section${_attr_class("
|
|
7304
|
+
_html(`<section${_attr_class("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Workspace</h2></div><div${_attr_class("_fu")}>`);
|
|
7305
7305
|
_if(() => {
|
|
7306
7306
|
if (ws.status === "active") {
|
|
7307
7307
|
const $scope8_id = _scope_id();
|
|
@@ -7321,17 +7321,17 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7321
7321
|
btnLg,
|
|
7322
7322
|
"_r",
|
|
7323
7323
|
{ ["_q"]: confirmingDelete }
|
|
7324
|
-
])}${_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("
|
|
7324
|
+
])}${_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)}>`);
|
|
7325
7325
|
_set_serialize_reason(1);
|
|
7326
7326
|
const $childScope2 = _peek_scope_id();
|
|
7327
7327
|
icon_refresh_default({
|
|
7328
7328
|
size: 14,
|
|
7329
7329
|
class: catalogRefreshing && "_D"
|
|
7330
7330
|
});
|
|
7331
|
-
_html(`</button>${_el_resume($scope0_id, "u")}</div><ul${_attr_class("
|
|
7331
|
+
_html(`</button>${_el_resume($scope0_id, "u")}</div><ul${_attr_class("_bA")}>`);
|
|
7332
7332
|
_for_of(ws.repos, (row) => {
|
|
7333
7333
|
const $scope1_id = _scope_id();
|
|
7334
|
-
_html(`<li${_attr_class("
|
|
7334
|
+
_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", "_fs"])}${_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")}`);
|
|
7335
7335
|
_if(() => {
|
|
7336
7336
|
if (row.base_branch !== row.default_branch) {
|
|
7337
7337
|
const $scope21_id = _scope_id();
|
|
@@ -7352,7 +7352,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7352
7352
|
} else {
|
|
7353
7353
|
const $scope10_id = _scope_id();
|
|
7354
7354
|
_html(`<button${_attr_class([
|
|
7355
|
-
"
|
|
7355
|
+
"_bH",
|
|
7356
7356
|
"_2",
|
|
7357
7357
|
"_3",
|
|
7358
7358
|
{ ["_q"]: confirmingRemove === row.full_name }
|
|
@@ -7385,19 +7385,19 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7385
7385
|
}, "full_name", $scope0_id, "x", 1, 1, 1, 0, 1);
|
|
7386
7386
|
_for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
|
|
7387
7387
|
const $scope25_id = _scope_id();
|
|
7388
|
-
_html(`<li${_attr_class(["
|
|
7388
|
+
_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>`);
|
|
7389
7389
|
writeScope($scope25_id, {});
|
|
7390
7390
|
}, (n) => n, $scope0_id, "y", 1, 1, 1, 0, 1);
|
|
7391
7391
|
_html("</ul>");
|
|
7392
7392
|
_if(() => {
|
|
7393
7393
|
if (!ws.repos.length && !busy.size) {
|
|
7394
7394
|
const $scope26_id = _scope_id();
|
|
7395
|
-
_html(`<p${_attr_class("
|
|
7395
|
+
_html(`<p${_attr_class("_bI")}>No repos yet. Search below to add one.</p>`);
|
|
7396
7396
|
writeScope($scope26_id, {});
|
|
7397
7397
|
return 0;
|
|
7398
7398
|
}
|
|
7399
7399
|
}, $scope0_id, "z", 1, 1, 1, 0, 1);
|
|
7400
|
-
_html(`<div${_attr_class("
|
|
7400
|
+
_html(`<div${_attr_class("_fr")}>`);
|
|
7401
7401
|
const $childScope3 = _peek_scope_id();
|
|
7402
7402
|
let refreshCatalog = repo_picker_default({
|
|
7403
7403
|
exclude: inWorkspace,
|
|
@@ -7418,7 +7418,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7418
7418
|
_if(() => {
|
|
7419
7419
|
if (wsSkills.length || repoSkills.length) {
|
|
7420
7420
|
const $scope2_id = _scope_id();
|
|
7421
|
-
_html(`<section${_attr_class("
|
|
7421
|
+
_html(`<section${_attr_class("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Skills</h2>`);
|
|
7422
7422
|
_if(() => {
|
|
7423
7423
|
if (wsSkills.length) {
|
|
7424
7424
|
const $scope27_id = _scope_id();
|
|
@@ -7427,10 +7427,10 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7427
7427
|
return 0;
|
|
7428
7428
|
}
|
|
7429
7429
|
}, $scope2_id, "d", 1, 1, 1, 0, 1);
|
|
7430
|
-
_html(`</div><ul${_attr_class("
|
|
7430
|
+
_html(`</div><ul${_attr_class("_bA")}>`);
|
|
7431
7431
|
_for_of(wsSkills, (s) => {
|
|
7432
7432
|
const $scope3_id = _scope_id();
|
|
7433
|
-
_html(`<li${_attr_class("
|
|
7433
|
+
_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")}>`);
|
|
7434
7434
|
_if(() => {
|
|
7435
7435
|
if (s.broken) {
|
|
7436
7436
|
const $scope28_id = _scope_id();
|
|
@@ -7468,7 +7468,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7468
7468
|
_if(() => {
|
|
7469
7469
|
if (s.description) {
|
|
7470
7470
|
const $scope31_id = _scope_id();
|
|
7471
|
-
_html(`<span${_attr_class("
|
|
7471
|
+
_html(`<span${_attr_class("_bG")}${_attr("title", s.description)}>${_escape(s.description)}${_el_resume($scope31_id, "b")}</span>${_el_resume($scope31_id, "a")}`);
|
|
7472
7472
|
writeScope($scope31_id, {});
|
|
7473
7473
|
return 0;
|
|
7474
7474
|
}
|
|
@@ -7476,7 +7476,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7476
7476
|
_if(() => {
|
|
7477
7477
|
if (s.sourceUrl) {
|
|
7478
7478
|
const $scope32_id = _scope_id();
|
|
7479
|
-
_html(`<a${_attr_class(["
|
|
7479
|
+
_html(`<a${_attr_class(["_bG", "_fs"])}${_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")}`);
|
|
7480
7480
|
writeScope($scope32_id, {});
|
|
7481
7481
|
return 0;
|
|
7482
7482
|
}
|
|
@@ -7491,7 +7491,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7491
7491
|
} else {
|
|
7492
7492
|
const $scope12_id = _scope_id();
|
|
7493
7493
|
_html(`<button${_attr_class([
|
|
7494
|
-
"
|
|
7494
|
+
"_bH",
|
|
7495
7495
|
"_2",
|
|
7496
7496
|
"_3",
|
|
7497
7497
|
{ ["_q"]: confirmingSkill === s.id }
|
|
@@ -7529,10 +7529,10 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7529
7529
|
_if(() => {
|
|
7530
7530
|
if (repoSkills.length) {
|
|
7531
7531
|
const $scope4_id = _scope_id();
|
|
7532
|
-
_html(`<ul${_attr_class("
|
|
7532
|
+
_html(`<ul${_attr_class("_bA")}>`);
|
|
7533
7533
|
_for_of(repoSkills, (s) => {
|
|
7534
7534
|
const $scope5_id = _scope_id();
|
|
7535
|
-
_html(`<li${_attr_class("
|
|
7535
|
+
_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>`);
|
|
7536
7536
|
_if(() => {
|
|
7537
7537
|
if (s.shadows) {
|
|
7538
7538
|
const $scope37_id = _scope_id();
|
|
@@ -7545,7 +7545,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7545
7545
|
_if(() => {
|
|
7546
7546
|
if (s.description) {
|
|
7547
7547
|
const $scope38_id = _scope_id();
|
|
7548
|
-
_html(`<span${_attr_class("
|
|
7548
|
+
_html(`<span${_attr_class("_bG")}${_attr("title", s.description)}>${_escape(s.description)}${_el_resume($scope38_id, "b")}</span>${_el_resume($scope38_id, "a")}`);
|
|
7549
7549
|
writeScope($scope38_id, {});
|
|
7550
7550
|
return 0;
|
|
7551
7551
|
}
|
|
@@ -7588,17 +7588,17 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7588
7588
|
_if(() => {
|
|
7589
7589
|
if (running.length) {
|
|
7590
7590
|
const $scope16_id = _scope_id();
|
|
7591
|
-
_html(`<section${_attr_class("
|
|
7591
|
+
_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")}>`);
|
|
7592
7592
|
_for_of(running, (p) => {
|
|
7593
7593
|
const $scope17_id = _scope_id();
|
|
7594
|
-
_html(`<li${_attr_class("
|
|
7594
|
+
_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>`);
|
|
7595
7595
|
_if(() => {
|
|
7596
7596
|
if (p.ports.length) {
|
|
7597
7597
|
const $scope40_id = _scope_id();
|
|
7598
|
-
_html(`<span${_attr_class("
|
|
7598
|
+
_html(`<span${_attr_class("_bF")}>`);
|
|
7599
7599
|
_for_of(p.ports, (port) => {
|
|
7600
7600
|
const $scope41_id = _scope_id();
|
|
7601
|
-
_html(`<button${_attr_class(["_s", "
|
|
7601
|
+
_html(`<button${_attr_class(["_s", "_ft"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope41_id, "b")}</button>${_el_resume($scope41_id, "a")}`);
|
|
7602
7602
|
_script($scope41_id, "q24");
|
|
7603
7603
|
writeScope($scope41_id, { d: port });
|
|
7604
7604
|
}, (x) => String(x), $scope40_id, "a", 1, 1, 1, "</span>", 1);
|
|
@@ -7606,7 +7606,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7606
7606
|
return 0;
|
|
7607
7607
|
}
|
|
7608
7608
|
}, $scope17_id, "e", 1, 1, 1, 0, 1);
|
|
7609
|
-
_html(`</div>${_el_resume($scope17_id, "b")}<button${_attr_class(["
|
|
7609
|
+
_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}`)}>`);
|
|
7610
7610
|
icon_xmark_default({ size: 14 });
|
|
7611
7611
|
_html(`</button>${_el_resume($scope17_id, "f")}</li>`);
|
|
7612
7612
|
_script($scope17_id, "q25");
|
|
@@ -7688,9 +7688,9 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7688
7688
|
_resume_branch($scope0_id);
|
|
7689
7689
|
});
|
|
7690
7690
|
var kbtn = "_dV _0 _j";
|
|
7691
|
-
var dpadPaste = "
|
|
7692
|
-
var repeat = "
|
|
7693
|
-
var dpadEsc = "
|
|
7691
|
+
var dpadPaste = "_fW _fV";
|
|
7692
|
+
var repeat = "_fX _fV";
|
|
7693
|
+
var dpadEsc = "_fZ _fV";
|
|
7694
7694
|
//#endregion
|
|
7695
7695
|
//#region src/tags/term-find.marko
|
|
7696
7696
|
var term_find_default = _template("C", (input) => {
|
|
@@ -8152,7 +8152,7 @@ var term_default = _template("D", (input) => {
|
|
|
8152
8152
|
trapOpen = true;
|
|
8153
8153
|
}
|
|
8154
8154
|
}, "D14", $scope0_id);
|
|
8155
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
8155
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_fw")}><div${_attr_class("_fx")}></div>${_el_resume($scope0_id, "b")}`);
|
|
8156
8156
|
_if(() => {
|
|
8157
8157
|
if (findOpen) {
|
|
8158
8158
|
const $scope12_id = _scope_id();
|
|
@@ -8179,7 +8179,7 @@ var term_default = _template("D", (input) => {
|
|
|
8179
8179
|
_if(() => {
|
|
8180
8180
|
if (uploading) {
|
|
8181
8181
|
const $scope21_id = _scope_id();
|
|
8182
|
-
_html(`<div${_attr_class("
|
|
8182
|
+
_html(`<div${_attr_class("_fD")}>uploading…</div>`);
|
|
8183
8183
|
writeScope($scope21_id, {});
|
|
8184
8184
|
return 0;
|
|
8185
8185
|
}
|
|
@@ -8187,7 +8187,7 @@ var term_default = _template("D", (input) => {
|
|
|
8187
8187
|
_if(() => {
|
|
8188
8188
|
if (copiedFlash) {
|
|
8189
8189
|
const $scope22_id = _scope_id();
|
|
8190
|
-
_html(`<div${_attr_class("
|
|
8190
|
+
_html(`<div${_attr_class("_fC")}>Copied</div>`);
|
|
8191
8191
|
writeScope($scope22_id, {});
|
|
8192
8192
|
return 0;
|
|
8193
8193
|
}
|
|
@@ -8196,7 +8196,7 @@ var term_default = _template("D", (input) => {
|
|
|
8196
8196
|
_if(() => {
|
|
8197
8197
|
if (trapOpen) {
|
|
8198
8198
|
const $scope11_id = _scope_id();
|
|
8199
|
-
_html(`<div${_attr_class("
|
|
8199
|
+
_html(`<div${_attr_class("_fE")}><div${_attr_class("_fF")}><p${_attr_class("_f0")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope11_id, "d")}<button${_attr_class("_o")}>Cancel</button>${_el_resume($scope11_id, "e")}</div>${_el_resume($scope11_id, "b")}</div>${_el_resume($scope11_id, "a")}`);
|
|
8200
8200
|
_script($scope11_id, "D26");
|
|
8201
8201
|
_script($scope11_id, "D27");
|
|
8202
8202
|
writeScope($scope11_id, {});
|
|
@@ -8270,7 +8270,7 @@ var term_default = _template("D", (input) => {
|
|
|
8270
8270
|
popEl.style.top = `${Math.max(8, btn.top - popEl.offsetHeight - 8)}px`;
|
|
8271
8271
|
popEl.style.left = `${Math.max(8, Math.min(btn.left + btn.width / 2 - popEl.offsetWidth / 2, window.innerWidth - popEl.offsetWidth - 8))}px`;
|
|
8272
8272
|
}, "D20", $scope4_id);
|
|
8273
|
-
_html(`<button${_attr_class([kbtn, "
|
|
8273
|
+
_html(`<button${_attr_class([kbtn, "_fG"])} title=${onTermPage ? "Sessions" : "\"Back to session\""}${onTermPage ? _attr("popovertarget", sessPopId) : ""}>`);
|
|
8274
8274
|
_set_serialize_reason({
|
|
8275
8275
|
1: $sg__input_agent__OR__input_sessionState,
|
|
8276
8276
|
2: $sg__input_agent__OR__input_sessionState
|
|
@@ -8282,9 +8282,9 @@ var term_default = _template("D", (input) => {
|
|
|
8282
8282
|
});
|
|
8283
8283
|
_html(`<span${_attr_class([
|
|
8284
8284
|
"_y",
|
|
8285
|
-
"
|
|
8285
|
+
"_fH",
|
|
8286
8286
|
phase[sessionPhase(input.sessionState)]
|
|
8287
|
-
])}></span>${_el_resume($scope4_id, "c", _serialize_guard($scope0_reason, 5))}</button>${_el_resume($scope4_id, "a")}<div${_attr("id", sessPopId)} popover=auto${_attr_class(["_4", "
|
|
8287
|
+
])}></span>${_el_resume($scope4_id, "c", _serialize_guard($scope0_reason, 5))}</button>${_el_resume($scope4_id, "a")}<div${_attr("id", sessPopId)} popover=auto${_attr_class(["_4", "_fI"])}>`);
|
|
8288
8288
|
_if(() => {
|
|
8289
8289
|
if ((input.sessions || []).length > 0) {
|
|
8290
8290
|
const $scope5_id = _scope_id();
|
|
@@ -8300,7 +8300,7 @@ var term_default = _template("D", (input) => {
|
|
|
8300
8300
|
const $scope6_id = _scope_id();
|
|
8301
8301
|
const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
|
|
8302
8302
|
const $for_content__s_id__closures = /* @__PURE__ */ new Set();
|
|
8303
|
-
_html(`<div${_attr_class(["
|
|
8303
|
+
_html(`<div${_attr_class(["_fK", { ["_fJ"]: s.id === input.sessionId }])}>`);
|
|
8304
8304
|
_if(() => {
|
|
8305
8305
|
if (renamingId === s.id) {
|
|
8306
8306
|
const $scope24_id = _scope_id();
|
|
@@ -8316,13 +8316,13 @@ var term_default = _template("D", (input) => {
|
|
|
8316
8316
|
});
|
|
8317
8317
|
_html(`<input${_attr_input_value($scope24_id, "c", renameValue, _resume((_new_renameValue) => {
|
|
8318
8318
|
renameValue = _new_renameValue;
|
|
8319
|
-
}, "D0", $scope24_id))}${_attr_class(["_T", "
|
|
8319
|
+
}, "D0", $scope24_id))}${_attr_class(["_T", "_fP"])} aria-label="Session name">${_el_resume($scope24_id, "c")}`);
|
|
8320
8320
|
_script($scope24_id, "D28");
|
|
8321
8321
|
_subscribe($if_content4__renameValue__closures, writeScope($scope24_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
|
|
8322
8322
|
return 0;
|
|
8323
8323
|
} else {
|
|
8324
8324
|
const $scope7_id = _scope_id();
|
|
8325
|
-
_html(`<button${_attr_class("
|
|
8325
|
+
_html(`<button${_attr_class("_fL")}><span${_attr_class(["_y", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope7_id, "b", $sg__input_sessions)}`);
|
|
8326
8326
|
_set_serialize_reason({
|
|
8327
8327
|
1: $sg__input_sessions,
|
|
8328
8328
|
2: $sg__input_sessions
|
|
@@ -8332,7 +8332,7 @@ var term_default = _template("D", (input) => {
|
|
|
8332
8332
|
agent: activeAgent(s),
|
|
8333
8333
|
size: 14
|
|
8334
8334
|
});
|
|
8335
|
-
_html(`<span${_attr_class("
|
|
8335
|
+
_html(`<span${_attr_class("_fM")}><span${_attr_class("_fO")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope7_id, "f", $sg__input_sessions)}</span>`);
|
|
8336
8336
|
_if(() => {
|
|
8337
8337
|
if (s.id === input.sessionId) {
|
|
8338
8338
|
const $scope23_id = _scope_id();
|
|
@@ -8344,7 +8344,7 @@ var term_default = _template("D", (input) => {
|
|
|
8344
8344
|
const $childScope6 = _peek_scope_id();
|
|
8345
8345
|
usage_pcts_default({
|
|
8346
8346
|
agent: plan,
|
|
8347
|
-
class: "
|
|
8347
|
+
class: "_fN"
|
|
8348
8348
|
});
|
|
8349
8349
|
writeScope($scope26_id, { a: _existing_scope($childScope6) });
|
|
8350
8350
|
return 0;
|
|
@@ -8361,7 +8361,7 @@ var term_default = _template("D", (input) => {
|
|
|
8361
8361
|
_if(() => {
|
|
8362
8362
|
if (input.onRenameSession) {
|
|
8363
8363
|
const $scope25_id = _scope_id();
|
|
8364
|
-
_html(`<button${_attr_class(["
|
|
8364
|
+
_html(`<button${_attr_class(["_fQ", "_fR"])} title="Rename session">`);
|
|
8365
8365
|
icon_edit_default({ size: 12 });
|
|
8366
8366
|
_html(`</button>${_el_resume($scope25_id, "a")}`);
|
|
8367
8367
|
_script($scope25_id, "D29");
|
|
@@ -8373,7 +8373,7 @@ var term_default = _template("D", (input) => {
|
|
|
8373
8373
|
if (input.onCloseSession) {
|
|
8374
8374
|
const $scope8_id = _scope_id();
|
|
8375
8375
|
_html(`<button${_attr_class([
|
|
8376
|
-
"
|
|
8376
|
+
"_fQ",
|
|
8377
8377
|
"_2",
|
|
8378
8378
|
{ ["_q"]: armedClose === s.id }
|
|
8379
8379
|
])} title=${armedClose === s.id ? "Close?" : "\"Close session\""}>`);
|
|
@@ -8415,7 +8415,7 @@ var term_default = _template("D", (input) => {
|
|
|
8415
8415
|
return 0;
|
|
8416
8416
|
}
|
|
8417
8417
|
}, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions, $sg__input_sessions);
|
|
8418
|
-
_html(`<div${_attr_class("
|
|
8418
|
+
_html(`<div${_attr_class("_fS")}><span${_attr_class("_fT")}>New session</span>`);
|
|
8419
8419
|
_for_of([...input.agents || [], "shell"], (agent) => {
|
|
8420
8420
|
const $scope9_id = _scope_id();
|
|
8421
8421
|
_html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
|
|
@@ -8480,7 +8480,7 @@ var term_default = _template("D", (input) => {
|
|
|
8480
8480
|
overlay: attrTag({ content: _content_resume("D46", () => {
|
|
8481
8481
|
_scope_reason();
|
|
8482
8482
|
const $scope15_id = _scope_id();
|
|
8483
|
-
_html(`<div${_attr("id", $dpadId_getter)} popover=auto${_attr_class("
|
|
8483
|
+
_html(`<div${_attr("id", $dpadId_getter)} popover=auto${_attr_class("_fU")}>`);
|
|
8484
8484
|
forOf(DPAD, (row) => {
|
|
8485
8485
|
const $scope16_id = _scope_id();
|
|
8486
8486
|
forOf(row, (cell) => {
|
|
@@ -8500,7 +8500,7 @@ var term_default = _template("D", (input) => {
|
|
|
8500
8500
|
writeScope($scope18_id, { _: _scope_with_id($scope17_id) });
|
|
8501
8501
|
} else {
|
|
8502
8502
|
const $scope19_id = _scope_id();
|
|
8503
|
-
_html(`<button${_attr_class([repeat, { ["
|
|
8503
|
+
_html(`<button${_attr_class([repeat, { ["_fY"]: cell.icon === "enter" }])}${_attr("title", cell.label)}${_attr("aria-label", cell.label)}>`);
|
|
8504
8504
|
if (cell.icon === "arrow-up") {
|
|
8505
8505
|
_scope_id();
|
|
8506
8506
|
icon_arrow_up_default({ size: 18 });
|
|
@@ -8640,7 +8640,7 @@ var work_view_default = _template("H", (input) => {
|
|
|
8640
8640
|
let DiffView = null;
|
|
8641
8641
|
const loadDiffView = _resume(() => {
|
|
8642
8642
|
if (DiffView) return;
|
|
8643
|
-
import("./
|
|
8643
|
+
import("./_CowXjuPj.js").then((m) => {
|
|
8644
8644
|
DiffView = m.default;
|
|
8645
8645
|
});
|
|
8646
8646
|
}, "H6", $scope0_id);
|
|
@@ -9119,7 +9119,7 @@ var work_view_default = _template("H", (input) => {
|
|
|
9119
9119
|
_if(() => {
|
|
9120
9120
|
if (!shownSessions.length && view === "term") {
|
|
9121
9121
|
const $scope7_id = _scope_id();
|
|
9122
|
-
_html(`<div${_attr_class("
|
|
9122
|
+
_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>`);
|
|
9123
9123
|
_script($scope7_id, "H51");
|
|
9124
9124
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
|
|
9125
9125
|
return 0;
|
|
@@ -9129,7 +9129,7 @@ var work_view_default = _template("H", (input) => {
|
|
|
9129
9129
|
return 0;
|
|
9130
9130
|
} else {
|
|
9131
9131
|
const $scope11_id = _scope_id();
|
|
9132
|
-
_html(`<p${_attr_class("
|
|
9132
|
+
_html(`<p${_attr_class("_bJ")}>Loading sessions…</p>`);
|
|
9133
9133
|
writeScope($scope11_id, {});
|
|
9134
9134
|
return 1;
|
|
9135
9135
|
}
|
|
@@ -18365,4 +18365,4 @@ server.listen(port, () => {
|
|
|
18365
18365
|
//#endregion
|
|
18366
18366
|
export {};
|
|
18367
18367
|
|
|
18368
|
-
;var __MARKO_MANIFEST__={"
|
|
18368
|
+
;var __MARKO_MANIFEST__={"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-BUHctmeP.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BUHctmeP.css\"",">"],"defer":[2,"/assets/w._-D04e4VBb.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-D04e4VBb.js\"","></script>",2,"modulepreload#/assets/_CrI5Ho6D.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CrI5Ho6D.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-BUHctmeP.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BUHctmeP.css\"",">"],"defer":[2,"/assets/new-D04e4VBb.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-D04e4VBb.js\"","></script>",2,"modulepreload#/assets/_CrI5Ho6D.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CrI5Ho6D.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-BUHctmeP.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BUHctmeP.css\"",">"],"defer":[2,"/assets/settings-D04e4VBb.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-D04e4VBb.js\"","></script>",2,"modulepreload#/assets/_CrI5Ho6D.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CrI5Ho6D.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-BUHctmeP.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BUHctmeP.css\"",">"],"defer":[2,"/assets/w-D04e4VBb.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-D04e4VBb.js\"","></script>",2,"modulepreload#/assets/_CrI5Ho6D.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CrI5Ho6D.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-BUHctmeP.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BUHctmeP.css\"",">"],"defer":[2,"/assets/w._-DOaRv41v.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-DOaRv41v.js\"","></script>",2,"modulepreload#/assets/_CrI5Ho6D.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CrI5Ho6D.js\"",">"]}};
|