@dylanpiercey/work 0.0.134 → 0.0.135
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/_B1bgL2tH.js +2 -0
- package/dist/_B3qThpAM.js +2 -0
- package/dist/_BIxwPE98.js +2 -0
- package/dist/{_BBmEhpPH.js → _BJg54Xa1.js} +7 -3
- package/dist/{_D2Ne8oPk.js → _BZpXh6Js.js} +2 -2
- package/dist/{_C04hN9Ui.js → _Boofe5nI.js} +4 -4
- package/dist/{_wkybTEDR.js → _DwK89Lz-.js} +72 -20
- package/dist/{_DBPJnjxF.js → _Fhn3V9QC.js} +50 -50
- package/dist/index.mjs +164 -164
- package/dist/public/assets/{_C0TsHYWM2.js → _0fZEmB9p2.js} +1 -1
- package/dist/public/assets/_0fZEmB9p2.js.br +0 -0
- package/dist/public/assets/{_38lLOyV4.js → _68z4FCtL.js} +1 -1
- package/dist/public/assets/_68z4FCtL.js.br +0 -0
- package/dist/public/assets/{_57VaSNVh.js → _7ulm5F25.js} +1 -1
- package/dist/public/assets/_7ulm5F25.js.br +0 -0
- package/dist/public/assets/{_Nss91pW_2.js → _9ekMcw4E2.js} +1 -1
- package/dist/public/assets/_9ekMcw4E2.js.br +0 -0
- package/dist/public/assets/{_D3Hpj9Te.js → _B1NjOKqM.js} +1 -1
- package/dist/public/assets/_B1NjOKqM.js.br +0 -0
- package/dist/public/assets/{_C45W_Lp6.js → _B1dh4BjF.js} +1 -1
- package/dist/public/assets/_B1dh4BjF.js.br +0 -0
- package/dist/public/assets/{_CMnrd6fU.js → _B2TmPLZR.js} +1 -1
- package/dist/public/assets/_B2TmPLZR.js.br +0 -0
- package/dist/public/assets/{_BOmDUiov.js → _B2oJT0Iz.js} +1 -1
- package/dist/public/assets/_B2oJT0Iz.js.br +0 -0
- package/dist/public/assets/{_SlpmB-w5.js → _BCBCXuNF.js} +1 -1
- package/dist/public/assets/_BCBCXuNF.js.br +0 -0
- package/dist/public/assets/{_Bpy8lJQH.js → _BECiMBRI.js} +6 -6
- package/dist/public/assets/_BECiMBRI.js.br +0 -0
- package/dist/public/assets/{_CoA5CmM72.js → _BEE7mDcv2.js} +1 -1
- package/dist/public/assets/_BEE7mDcv2.js.br +0 -0
- package/dist/public/assets/{_UuRzi2Pg.js → _BHioPQAc.js} +1 -1
- package/dist/public/assets/_BHioPQAc.js.br +0 -0
- package/dist/public/assets/{_CqiVQVB42.js → _BLJqnkdL2.js} +1 -1
- package/dist/public/assets/_BLJqnkdL2.js.br +0 -0
- package/dist/public/assets/{_BAI6pIEH.js → _BRgSM65d.js} +1 -1
- package/dist/public/assets/_BRgSM65d.js.br +0 -0
- package/dist/public/assets/{_Dse6xAP22.js → _BTbmN-k-2.js} +1 -1
- package/dist/public/assets/_BTbmN-k-2.js.br +0 -0
- package/dist/public/assets/{_CUBLnmSA.js → _BfpaQCZS.js} +1 -1
- package/dist/public/assets/_BfpaQCZS.js.br +0 -0
- package/dist/public/assets/{_Yk-TslqA.js → _BhXU-Nbg.js} +1 -1
- package/dist/public/assets/_BhXU-Nbg.js.br +0 -0
- package/dist/public/assets/{_C5N9J9W_.js → _BiVy2gzm.js} +1 -1
- package/dist/public/assets/_BiVy2gzm.js.br +0 -0
- package/dist/public/assets/{_BdlhFWPk.js → _BndzfRf5.js} +1 -1
- package/dist/public/assets/_BndzfRf5.js.br +0 -0
- package/dist/public/assets/{_Ct4sne2O2.js → _Boj0LPAV2.js} +1 -1
- package/dist/public/assets/{_D2zeYViB.js → _BrWQpYKG.js} +1 -1
- package/dist/public/assets/_BrWQpYKG.js.br +0 -0
- package/dist/public/assets/{_9k941mBT2.js → _BrtXr1ji2.js} +1 -1
- package/dist/public/assets/_BrtXr1ji2.js.br +0 -0
- package/dist/public/assets/{_ghOVZPKq.js → _BuS3Vglx.js} +1 -1
- package/dist/public/assets/_BuS3Vglx.js.br +0 -0
- package/dist/public/assets/{_CZZwvo0u.js → _BxpVjKkc.js} +1 -1
- package/dist/public/assets/_BxpVjKkc.js.br +0 -0
- package/dist/public/assets/{_Ci6_nT4t2.js → _C001rM4U2.js} +1 -1
- package/dist/public/assets/_C001rM4U2.js.br +0 -0
- package/dist/public/assets/{_DFT7BTpC.js → _C0ZA5CMc.js} +1 -1
- package/dist/public/assets/_C0ZA5CMc.js.br +0 -0
- package/dist/public/assets/{_cBrUsk6q.js → _C1QAOE9L.js} +1 -1
- package/dist/public/assets/_C1QAOE9L.js.br +0 -0
- package/dist/public/assets/{_DWACLLAl.js → _C6MDqF6r.js} +5 -5
- package/dist/public/assets/_C6MDqF6r.js.br +0 -0
- package/dist/public/assets/{_C9FxJoow.js → _C6ws5wwF.js} +1 -1
- package/dist/public/assets/_C6ws5wwF.js.br +0 -0
- package/dist/public/assets/{_q9s2TQk5.js → _CAKHEQZH.js} +1 -1
- package/dist/public/assets/_CAKHEQZH.js.br +0 -0
- package/dist/public/assets/{_lhQ_uGs7.js → _CCPtn0et.js} +1 -1
- package/dist/public/assets/_CCPtn0et.js.br +0 -0
- package/dist/public/assets/{_CunZWZvv.js → _CEodf7tu.js} +1 -1
- package/dist/public/assets/_CEodf7tu.js.br +0 -0
- package/dist/public/assets/{_CPpT_bAp2.js → _CHEDeh4O2.js} +1 -1
- package/dist/public/assets/_CHEDeh4O2.js.br +0 -0
- package/dist/public/assets/{_B9J_gfIE.js → _CKHv8GUc.js} +1 -1
- package/dist/public/assets/_CKHv8GUc.js.br +0 -0
- package/dist/public/assets/{_DaN82C7i.js → _COhqAPLE.js} +1 -1
- package/dist/public/assets/_COhqAPLE.js.br +0 -0
- package/dist/public/assets/{_DlIwuzEd.js → _CauzJ22b.js} +1 -1
- package/dist/public/assets/_CauzJ22b.js.br +0 -0
- package/dist/public/assets/{_DR6v6KT22.js → _Cm1ANqbQ2.js} +1 -1
- package/dist/public/assets/_Cm1ANqbQ2.js.br +0 -0
- package/dist/public/assets/{_DQdzo5vx.js → _CsQiYtel.js} +1 -1
- package/dist/public/assets/_CsQiYtel.js.br +0 -0
- package/dist/public/assets/{_DU8uUGV12.js → _Cv7lWjV32.js} +1 -1
- package/dist/public/assets/_Cv7lWjV32.js.br +0 -0
- package/dist/public/assets/{_BhUQVKu8.js → _CvIyYSuF.js} +1 -1
- package/dist/public/assets/_CvIyYSuF.js.br +0 -0
- package/dist/public/assets/{_BsFBQnPe.js → _CwaR4-O6.js} +1 -1
- package/dist/public/assets/_CwaR4-O6.js.br +0 -0
- package/dist/public/assets/{_DubxV47f2.js → _CxxWbLuC2.js} +1 -1
- package/dist/public/assets/_CxxWbLuC2.js.br +0 -0
- package/dist/public/assets/{_mzG-3m6a.js → _CzbSiMaL.js} +1 -1
- package/dist/public/assets/_CzbSiMaL.js.br +0 -0
- package/dist/public/assets/{_sMtpt30w2.js → _Czvgy_oc2.js} +1 -1
- package/dist/public/assets/_Czvgy_oc2.js.br +0 -0
- package/dist/public/assets/{_BwsOUnJq2.js → _D3_3zitd2.js} +1 -1
- package/dist/public/assets/_D3_3zitd2.js.br +0 -0
- package/dist/public/assets/{_BXT4rVWU.js → _D7CWWH5a.js} +1 -1
- package/dist/public/assets/_D7CWWH5a.js.br +0 -0
- package/dist/public/assets/{_3M8rHd9q.js → _D9BL0gZh.js} +1 -1
- package/dist/public/assets/_D9BL0gZh.js.br +0 -0
- package/dist/public/assets/{_0Sd4iAaq.js → _DIEL2YtS.js} +1 -1
- package/dist/public/assets/_DIEL2YtS.js.br +0 -0
- package/dist/public/assets/{_B68ws5JM2.js → _DK5vdxh32.js} +1 -1
- package/dist/public/assets/_DK5vdxh32.js.br +0 -0
- package/dist/public/assets/{_BWm6t6g5.js → _DXVzDS8p.js} +1 -1
- package/dist/public/assets/_DXVzDS8p.js.br +0 -0
- package/dist/public/assets/{_NrBF2lTC.js → _DXsjW21V.js} +1 -1
- package/dist/public/assets/_DXsjW21V.js.br +0 -0
- package/dist/public/assets/{_d-TodGvp2.js → _Dbh4cPK_2.js} +1 -1
- package/dist/public/assets/_Dbh4cPK_2.js.br +0 -0
- package/dist/public/assets/{_C_bD7OU6.js → _DjkUqeYn.js} +1 -1
- package/dist/public/assets/_DjkUqeYn.js.br +0 -0
- package/dist/public/assets/{_BV1EiprI2.js → _DlikdYjR2.js} +1 -1
- package/dist/public/assets/_DlikdYjR2.js.br +0 -0
- package/dist/public/assets/{_CUmRJQ35.js → _DotQ9eyD.js} +1 -1
- package/dist/public/assets/_DotQ9eyD.js.br +0 -0
- package/dist/public/assets/{_CisgNUxd.js → _Dsh7sPtX.js} +1 -1
- package/dist/public/assets/_Dsh7sPtX.js.br +0 -0
- package/dist/public/assets/{_Ds61v8vi.js → _DszGB6Nm.js} +1 -1
- package/dist/public/assets/_DszGB6Nm.js.br +0 -0
- package/dist/public/assets/{_BCzjrlAy.js → _DtjFcpep.js} +1 -1
- package/dist/public/assets/_DtjFcpep.js.br +0 -0
- package/dist/public/assets/{_BOP03gps.js → _DwLDpDkb.js} +1 -1
- package/dist/public/assets/_DwLDpDkb.js.br +0 -0
- package/dist/public/assets/{_CIn4drK7.js → _DwnnREUT.js} +1 -1
- package/dist/public/assets/_DwnnREUT.js.br +0 -0
- package/dist/public/assets/{_DBUO8PvB.js → _DzvR3HtZ.js} +1 -1
- package/dist/public/assets/_DzvR3HtZ.js.br +0 -0
- package/dist/public/assets/{_DupM9eEV.js → _FFoEJg8c.js} +1 -1
- package/dist/public/assets/{_m0jpMRnx.js → _KlGqeoIr.js} +1 -1
- package/dist/public/assets/_KlGqeoIr.js.br +0 -0
- package/dist/public/assets/{_Cj36gP3r.js → _WknOXr2p.js} +1 -1
- package/dist/public/assets/_WknOXr2p.js.br +0 -0
- package/dist/public/assets/{_CjUGol_X.js → _XBtiwca3.js} +1 -1
- package/dist/public/assets/_XBtiwca3.js.br +0 -0
- package/dist/public/assets/{_DXSlYsr0.js → _b7W0qIUu.js} +1 -1
- package/dist/public/assets/_b7W0qIUu.js.br +0 -0
- package/dist/public/assets/{_C7yOUMH5.js → _hoypU4ON.js} +1 -1
- package/dist/public/assets/_hoypU4ON.js.br +0 -0
- package/dist/public/assets/{_nq_IIC6O2.js → _jJgk9rI72.js} +1 -1
- package/dist/public/assets/{_B8CJtOsm2.js → _jzzAY-_W2.js} +1 -1
- package/dist/public/assets/_jzzAY-_W2.js.br +0 -0
- package/dist/public/assets/{_Bjw4rVxX.js → _l8ryHBkA.js} +1 -1
- package/dist/public/assets/_l8ryHBkA.js.br +0 -0
- package/dist/public/assets/{_BR7X2c7n2.js → _q-MpIvSC2.js} +1 -1
- package/dist/public/assets/_q-MpIvSC2.js.br +0 -0
- package/dist/public/assets/{_DQqrsLS52.js → _tEOeZ26b2.js} +1 -1
- package/dist/public/assets/_tEOeZ26b2.js.br +0 -0
- package/dist/public/assets/{_BzyjsnUO2.js → _u8bPqpkk2.js} +1 -1
- package/dist/public/assets/_u8bPqpkk2.js.br +0 -0
- package/dist/public/assets/{_2XPzfLYp2.js → _x71nmEt92.js} +1 -1
- package/dist/public/assets/_x71nmEt92.js.br +0 -0
- package/dist/public/assets/{_CJZ6lGU-2.js → _zUM5lYgT2.js} +1 -1
- package/dist/public/assets/_zUM5lYgT2.js.br +0 -0
- package/dist/public/assets/{_KOmqCPbm.js → _zoKtmmeV.js} +1 -1
- package/dist/public/assets/_zoKtmmeV.js.br +0 -0
- package/dist/public/assets/{app-page-CMazjI1P.css → app-page-DL7rHeQL.css} +1 -1
- package/dist/public/assets/app-page-DL7rHeQL.css.br +0 -0
- package/dist/public/assets/{diff-view-BhaHll01.css → diff-view-CQTNRT5q.css} +1 -1
- package/dist/public/assets/diff-view-CQTNRT5q.css.br +0 -0
- package/dist/public/assets/new-KOmGuG9T.js +1 -0
- package/dist/public/assets/settings-KOmGuG9T.js +1 -0
- package/dist/public/assets/w-KOmGuG9T.js +1 -0
- package/dist/public/assets/w._-CQegKUC3.js +1 -0
- package/dist/public/assets/w._-KOmGuG9T.js +1 -0
- package/package.json +1 -1
- package/dist/_B-QvNFcB.js +0 -2
- package/dist/_BTtOB0g5.js +0 -2
- package/dist/_CmQFz3S6.js +0 -2
- package/dist/public/assets/_0Sd4iAaq.js.br +0 -0
- package/dist/public/assets/_2XPzfLYp2.js.br +0 -0
- package/dist/public/assets/_38lLOyV4.js.br +0 -0
- package/dist/public/assets/_3M8rHd9q.js.br +0 -0
- package/dist/public/assets/_57VaSNVh.js.br +0 -0
- package/dist/public/assets/_9k941mBT2.js.br +0 -0
- package/dist/public/assets/_B68ws5JM2.js.br +0 -0
- package/dist/public/assets/_B8CJtOsm2.js.br +0 -0
- package/dist/public/assets/_B9J_gfIE.js.br +0 -0
- package/dist/public/assets/_BAI6pIEH.js.br +0 -0
- package/dist/public/assets/_BCzjrlAy.js.br +0 -0
- package/dist/public/assets/_BOP03gps.js.br +0 -0
- package/dist/public/assets/_BOmDUiov.js.br +0 -0
- package/dist/public/assets/_BR7X2c7n2.js.br +0 -0
- package/dist/public/assets/_BV1EiprI2.js.br +0 -0
- package/dist/public/assets/_BWm6t6g5.js.br +0 -0
- package/dist/public/assets/_BXT4rVWU.js.br +0 -0
- package/dist/public/assets/_BdlhFWPk.js.br +0 -0
- package/dist/public/assets/_BhUQVKu8.js.br +0 -0
- package/dist/public/assets/_Bjw4rVxX.js.br +0 -0
- package/dist/public/assets/_Bpy8lJQH.js.br +0 -0
- package/dist/public/assets/_BsFBQnPe.js.br +0 -0
- package/dist/public/assets/_BwsOUnJq2.js.br +0 -0
- package/dist/public/assets/_BzyjsnUO2.js.br +0 -0
- package/dist/public/assets/_C0TsHYWM2.js.br +0 -0
- package/dist/public/assets/_C45W_Lp6.js.br +0 -0
- package/dist/public/assets/_C5N9J9W_.js.br +0 -0
- package/dist/public/assets/_C7yOUMH5.js.br +0 -0
- package/dist/public/assets/_C9FxJoow.js.br +0 -0
- package/dist/public/assets/_CIn4drK7.js.br +0 -0
- package/dist/public/assets/_CJZ6lGU-2.js.br +0 -0
- package/dist/public/assets/_CMnrd6fU.js.br +0 -0
- package/dist/public/assets/_CPpT_bAp2.js.br +0 -0
- package/dist/public/assets/_CUBLnmSA.js.br +0 -0
- package/dist/public/assets/_CUmRJQ35.js.br +0 -0
- package/dist/public/assets/_CZZwvo0u.js.br +0 -0
- package/dist/public/assets/_C_bD7OU6.js.br +0 -0
- package/dist/public/assets/_Ci6_nT4t2.js.br +0 -0
- package/dist/public/assets/_CisgNUxd.js.br +0 -0
- package/dist/public/assets/_Cj36gP3r.js.br +0 -0
- package/dist/public/assets/_CjUGol_X.js.br +0 -0
- package/dist/public/assets/_CoA5CmM72.js.br +0 -0
- package/dist/public/assets/_CqiVQVB42.js.br +0 -0
- package/dist/public/assets/_CunZWZvv.js.br +0 -0
- package/dist/public/assets/_D2zeYViB.js.br +0 -0
- package/dist/public/assets/_D3Hpj9Te.js.br +0 -0
- package/dist/public/assets/_DBUO8PvB.js.br +0 -0
- package/dist/public/assets/_DFT7BTpC.js.br +0 -0
- package/dist/public/assets/_DQdzo5vx.js.br +0 -0
- package/dist/public/assets/_DQqrsLS52.js.br +0 -0
- package/dist/public/assets/_DR6v6KT22.js.br +0 -0
- package/dist/public/assets/_DU8uUGV12.js.br +0 -0
- package/dist/public/assets/_DWACLLAl.js.br +0 -0
- package/dist/public/assets/_DXSlYsr0.js.br +0 -0
- package/dist/public/assets/_DaN82C7i.js.br +0 -0
- package/dist/public/assets/_DlIwuzEd.js.br +0 -0
- package/dist/public/assets/_Ds61v8vi.js.br +0 -0
- package/dist/public/assets/_Dse6xAP22.js.br +0 -0
- package/dist/public/assets/_DubxV47f2.js.br +0 -0
- package/dist/public/assets/_KOmqCPbm.js.br +0 -0
- package/dist/public/assets/_NrBF2lTC.js.br +0 -0
- package/dist/public/assets/_Nss91pW_2.js.br +0 -0
- package/dist/public/assets/_SlpmB-w5.js.br +0 -0
- package/dist/public/assets/_UuRzi2Pg.js.br +0 -0
- package/dist/public/assets/_Yk-TslqA.js.br +0 -0
- package/dist/public/assets/_cBrUsk6q.js.br +0 -0
- package/dist/public/assets/_d-TodGvp2.js.br +0 -0
- package/dist/public/assets/_ghOVZPKq.js.br +0 -0
- package/dist/public/assets/_lhQ_uGs7.js.br +0 -0
- package/dist/public/assets/_m0jpMRnx.js.br +0 -0
- package/dist/public/assets/_mzG-3m6a.js.br +0 -0
- package/dist/public/assets/_q9s2TQk5.js.br +0 -0
- package/dist/public/assets/_sMtpt30w2.js.br +0 -0
- package/dist/public/assets/app-page-CMazjI1P.css.br +0 -0
- package/dist/public/assets/diff-view-BhaHll01.css.br +0 -0
- package/dist/public/assets/new-DUxUh5q7.js +0 -1
- package/dist/public/assets/settings-DUxUh5q7.js +0 -1
- package/dist/public/assets/w-DUxUh5q7.js +0 -1
- package/dist/public/assets/w._-BpgzbM86.js +0 -1
- package/dist/public/assets/w._-DUxUh5q7.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 "./_BJg54Xa1.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 "./_DwK89Lz-.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 "./_BZpXh6Js.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 "./_Boofe5nI.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import { createServer } from "node:http";
|
|
8
8
|
import path from "node:path";
|
|
@@ -2325,18 +2325,18 @@ function applyInstance(inst) {
|
|
|
2325
2325
|
}
|
|
2326
2326
|
//#endregion
|
|
2327
2327
|
//#region src/tags/settings-page.css.ts
|
|
2328
|
-
var content$2 = "_cc
|
|
2329
|
-
var agentGrid = "_ci
|
|
2330
|
-
var toolGrid = "_cs
|
|
2328
|
+
var content$2 = "_cc _bF _bG";
|
|
2329
|
+
var agentGrid = "_ci _br";
|
|
2330
|
+
var toolGrid = "_cs _br";
|
|
2331
2331
|
var themeSeg = "_cH _6";
|
|
2332
2332
|
var swatches = "_cP _6";
|
|
2333
|
-
var checkList = "_de
|
|
2333
|
+
var checkList = "_de _br";
|
|
2334
2334
|
//#endregion
|
|
2335
2335
|
//#region src/tags/page-head.marko
|
|
2336
2336
|
var page_head_default = _template("t", (input) => {
|
|
2337
2337
|
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);
|
|
2338
2338
|
const $scope0_id = _scope_id();
|
|
2339
|
-
_html(`<header${_attr_class("
|
|
2339
|
+
_html(`<header${_attr_class("_bH")}>`);
|
|
2340
2340
|
_if(() => {
|
|
2341
2341
|
if (input.backHref) {
|
|
2342
2342
|
const $scope1_id = _scope_id();
|
|
@@ -2355,11 +2355,11 @@ var page_head_default = _template("t", (input) => {
|
|
|
2355
2355
|
return 1;
|
|
2356
2356
|
}
|
|
2357
2357
|
}, $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);
|
|
2358
|
-
_html(`<div${_attr_class("
|
|
2358
|
+
_html(`<div${_attr_class("_bJ")}><h1${_attr("id", input.titleId)}${_attr_class("_bI")}>${_escape(input.title)}${_el_resume($scope0_id, "e", _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
|
|
2359
2359
|
_if(() => {
|
|
2360
2360
|
if (input.meta) {
|
|
2361
2361
|
const $scope3_id = _scope_id();
|
|
2362
|
-
_html(`<p${_attr_class("
|
|
2362
|
+
_html(`<p${_attr_class("_bK")}>`);
|
|
2363
2363
|
_dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
|
|
2364
2364
|
_html("</p>");
|
|
2365
2365
|
$si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -2370,7 +2370,7 @@ var page_head_default = _template("t", (input) => {
|
|
|
2370
2370
|
_if(() => {
|
|
2371
2371
|
if (input.actions) {
|
|
2372
2372
|
const $scope4_id = _scope_id();
|
|
2373
|
-
_html(`<div${_attr_class("
|
|
2373
|
+
_html(`<div${_attr_class("_bL")}>`);
|
|
2374
2374
|
_dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
2375
2375
|
_html("</div>");
|
|
2376
2376
|
$si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -3348,7 +3348,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3348
3348
|
const backupId = _id();
|
|
3349
3349
|
const machineId = _id();
|
|
3350
3350
|
const skillsId = _id();
|
|
3351
|
-
_html(`<div${_attr_class("
|
|
3351
|
+
_html(`<div${_attr_class("_bD")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bE")}><div${_attr_class(content$2)}>`);
|
|
3352
3352
|
_set_serialize_reason({
|
|
3353
3353
|
0: _serialize_guard($scope0_reason, 4),
|
|
3354
3354
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -3441,7 +3441,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3441
3441
|
return 0;
|
|
3442
3442
|
}
|
|
3443
3443
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
3444
|
-
_html(`<section${_attr_class("
|
|
3444
|
+
_html(`<section${_attr_class("_bo")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bp")}><h2${_attr("id", agentsId)}${_attr_class("_bC")}>Agents</h2><div${_attr_class("_x")}></div><label${_attr_class("_ck")}><span${_attr_class("_R")}>Default</span><span${_attr_class("_m")}>`);
|
|
3445
3445
|
_attr_select_value($scope0_id, "n", input.preferred, _resume(function(v) {
|
|
3446
3446
|
setPreferred(v);
|
|
3447
3447
|
}, "x2", $scope0_id), () => {
|
|
@@ -3466,14 +3466,14 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3466
3466
|
const rows = lone ? [] : a.instances;
|
|
3467
3467
|
const loneAccounts = lone && lone.enabled ? accountsFor(lone.id) : [];
|
|
3468
3468
|
const extraAccounts = a.installed ? strayAccountsFor(a) : [];
|
|
3469
|
-
_html(`<li${_attr_class(["
|
|
3469
|
+
_html(`<li${_attr_class(["_bt", "_cj"])}><div${_attr_class(["_cm", { ["_cp"]: lone && !lone.enabled }])}>`);
|
|
3470
3470
|
_set_serialize_reason(12);
|
|
3471
3471
|
const $childScope4 = _peek_scope_id();
|
|
3472
3472
|
icon_agent_default({
|
|
3473
3473
|
agent: a.id,
|
|
3474
3474
|
size: 18
|
|
3475
3475
|
});
|
|
3476
|
-
_html(`<div${_attr_class("
|
|
3476
|
+
_html(`<div${_attr_class("_bu")}><span${_attr_class("_bw")}><span${_attr_class("_bv")}>${_escape(a.label)}${_el_resume($scope1_id, "g")}</span>`);
|
|
3477
3477
|
_if(() => {
|
|
3478
3478
|
if (lone && input.preferred === lone.id) {
|
|
3479
3479
|
const $scope84_id = _scope_id();
|
|
@@ -3491,7 +3491,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3491
3491
|
return 0;
|
|
3492
3492
|
} else if (!a.installed) {
|
|
3493
3493
|
const $scope85_id = _scope_id();
|
|
3494
|
-
_html(`<span${_attr_class("
|
|
3494
|
+
_html(`<span${_attr_class("_bx")}>Not installed</span>`);
|
|
3495
3495
|
writeScope($scope85_id, {});
|
|
3496
3496
|
return 1;
|
|
3497
3497
|
}
|
|
@@ -3609,7 +3609,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3609
3609
|
}, "id", $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
3610
3610
|
_for_of(otherUsage, (u) => {
|
|
3611
3611
|
const $scope90_id = _scope_id();
|
|
3612
|
-
_html(`<li${_attr_class(["
|
|
3612
|
+
_html(`<li${_attr_class(["_bt", "_cj"])}>`);
|
|
3613
3613
|
_set_serialize_reason(6);
|
|
3614
3614
|
const $childScope9 = _peek_scope_id();
|
|
3615
3615
|
usage_meters_default({ agent: u });
|
|
@@ -3620,17 +3620,17 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3620
3620
|
_if(() => {
|
|
3621
3621
|
if (!usage && families.length) {
|
|
3622
3622
|
const $scope91_id = _scope_id();
|
|
3623
|
-
_html(`<p${_attr_class("
|
|
3623
|
+
_html(`<p${_attr_class("_bz")}><span${_attr_class("_E")}></span> Loading usage…</p>`);
|
|
3624
3624
|
writeScope($scope91_id, {});
|
|
3625
3625
|
return 0;
|
|
3626
3626
|
} else if (usage?.error) {
|
|
3627
3627
|
const $scope7_id = _scope_id();
|
|
3628
|
-
_html(`<p${_attr_class("
|
|
3628
|
+
_html(`<p${_attr_class("_bz")}>${_escape(usage.error)}${_el_resume($scope7_id, "b")}</p>`);
|
|
3629
3629
|
writeScope($scope7_id, {});
|
|
3630
3630
|
return 1;
|
|
3631
3631
|
}
|
|
3632
3632
|
}, $scope0_id, "t", 1, 1, 1, 0, 1);
|
|
3633
|
-
_html(`</section><section${_attr_class("
|
|
3633
|
+
_html(`</section><section${_attr_class("_bo")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bp")}><h2${_attr("id", githubId)}${_attr_class("_bC")}>GitHub</h2></div><ul${_attr_class("_br")}>`);
|
|
3634
3634
|
_for_of(setup?.github || [], (h) => {
|
|
3635
3635
|
const $scope12_id = _scope_id();
|
|
3636
3636
|
const $for_content4__h_host__closures = /* @__PURE__ */ new Set();
|
|
@@ -3644,7 +3644,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3644
3644
|
const skippedSso = (() => {
|
|
3645
3645
|
return (h.sso || []).filter((s) => ignoredSso.has(s.org));
|
|
3646
3646
|
})();
|
|
3647
|
-
_html(`<li${_attr_class(["
|
|
3647
|
+
_html(`<li${_attr_class(["_bt", "_cB"])}><div${_attr_class("_cC")}><div${_attr_class("_bu")}><span${_attr_class("_bw")}><span${_attr_class(["_bv", "_w"])}>${_escape(h.host)}${_el_resume($scope12_id, "f")}</span>`);
|
|
3648
3648
|
_if(() => {
|
|
3649
3649
|
if (h.isEnterprise) {
|
|
3650
3650
|
const $scope94_id = _scope_id();
|
|
@@ -3667,12 +3667,12 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3667
3667
|
return 1;
|
|
3668
3668
|
} else if (h.authed) {
|
|
3669
3669
|
const $scope92_id = _scope_id();
|
|
3670
|
-
_html(`<span${_attr_class("
|
|
3670
|
+
_html(`<span${_attr_class("_bx")}>Signed in <!>${h.user ? `${_escape(`${_to_text(" ")}`)}as ${_escape(`${_to_text(h.user)}`)}` : ""}${_el_resume($scope92_id, "b")}</span>`);
|
|
3671
3671
|
writeScope($scope92_id, {});
|
|
3672
3672
|
return 2;
|
|
3673
3673
|
} else {
|
|
3674
3674
|
const $scope93_id = _scope_id();
|
|
3675
|
-
_html(`<span${_attr_class("
|
|
3675
|
+
_html(`<span${_attr_class("_bx")}>${_escape(h.error || "Not signed in")}${_el_resume($scope93_id, "b")}</span>`);
|
|
3676
3676
|
writeScope($scope93_id, {});
|
|
3677
3677
|
return 3;
|
|
3678
3678
|
}
|
|
@@ -3703,7 +3703,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3703
3703
|
if (h.isEnterprise) {
|
|
3704
3704
|
const $scope36_id = _scope_id();
|
|
3705
3705
|
_html(`<button${_attr_class([
|
|
3706
|
-
"
|
|
3706
|
+
"_by",
|
|
3707
3707
|
"_2",
|
|
3708
3708
|
"_3",
|
|
3709
3709
|
{ ["_q"]: confirmingRemove === h.host }
|
|
@@ -3778,7 +3778,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3778
3778
|
_if(() => {
|
|
3779
3779
|
if (setup && !setup.github.length) {
|
|
3780
3780
|
const $scope97_id = _scope_id();
|
|
3781
|
-
_html(`<p${_attr_class("
|
|
3781
|
+
_html(`<p${_attr_class("_bz")}>Install the GitHub CLI below to sign in.</p>`);
|
|
3782
3782
|
writeScope($scope97_id, {});
|
|
3783
3783
|
return 0;
|
|
3784
3784
|
}
|
|
@@ -3786,7 +3786,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3786
3786
|
_if(() => {
|
|
3787
3787
|
if (autoPush !== null) {
|
|
3788
3788
|
const $scope65_id = _scope_id();
|
|
3789
|
-
_html(`<div${_attr_class(row)}><div${_attr_class("
|
|
3789
|
+
_html(`<div${_attr_class(row)}><div${_attr_class("_bu")}><span${_attr_class("_cu")}>Auto-push</span><span${_attr_class("_bx")}>Every commit on a workspace branch goes to origin. A push that fails shows on the workspace.</span></div><button${_attr_class([
|
|
3790
3790
|
"_H",
|
|
3791
3791
|
"_J",
|
|
3792
3792
|
{ [tone.ok]: autoPush }
|
|
@@ -3812,7 +3812,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3812
3812
|
return 0;
|
|
3813
3813
|
}
|
|
3814
3814
|
}, $scope0_id, "a0", 1, 1, 1, 0, 1);
|
|
3815
|
-
_html(`</section><section${_attr_class("
|
|
3815
|
+
_html(`</section><section${_attr_class("_bo")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bp")}><h2${_attr("id", machineId)}${_attr_class("_bC")}><button${_attr_class("_cf")} aria-expanded=${machineOpen ? "true" : "false"}>`);
|
|
3816
3816
|
_set_serialize_reason(1);
|
|
3817
3817
|
const $childScope11 = _peek_scope_id();
|
|
3818
3818
|
icon_chevron_right_default({
|
|
@@ -3862,7 +3862,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3862
3862
|
_if(() => {
|
|
3863
3863
|
if (setup && !setup.mise.installed) {
|
|
3864
3864
|
const $scope17_id = _scope_id();
|
|
3865
|
-
_html(`<p${_attr_class("
|
|
3865
|
+
_html(`<p${_attr_class("_bz")}>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>`);
|
|
3866
3866
|
_script($scope17_id, "x59");
|
|
3867
3867
|
_subscribe($active__closures, writeScope($scope17_id, { Cgi: 3 }));
|
|
3868
3868
|
return 0;
|
|
@@ -4063,7 +4063,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4063
4063
|
_html(`<ul${_attr_class([toolGrid, "_cx"])}>`);
|
|
4064
4064
|
_for_of(hits, (h) => {
|
|
4065
4065
|
const $scope22_id = _scope_id();
|
|
4066
|
-
_html(`<li${_attr_class(row)}><div${_attr_class("
|
|
4066
|
+
_html(`<li${_attr_class(row)}><div${_attr_class("_bu")}><span${_attr_class(["_cu", "_w"])}>${_escape(h.name)}${_el_resume($scope22_id, "d")}</span>`);
|
|
4067
4067
|
_if(() => {
|
|
4068
4068
|
if (active.has(h.name)) {
|
|
4069
4069
|
const $scope23_id = _scope_id();
|
|
@@ -4072,7 +4072,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4072
4072
|
return 0;
|
|
4073
4073
|
} else if (h.description) {
|
|
4074
4074
|
const $scope108_id = _scope_id();
|
|
4075
|
-
_html(`<span${_attr_class("
|
|
4075
|
+
_html(`<span${_attr_class("_bx")}${_attr("title", h.description)}>${_escape(h.description)}${_el_resume($scope108_id, "b")}</span>${_el_resume($scope108_id, "a")}`);
|
|
4076
4076
|
writeScope($scope108_id, {});
|
|
4077
4077
|
return 1;
|
|
4078
4078
|
}
|
|
@@ -4111,7 +4111,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4111
4111
|
return 0;
|
|
4112
4112
|
} else if (hits && !searching) {
|
|
4113
4113
|
const $scope45_id = _scope_id();
|
|
4114
|
-
_html(`<p${_attr_class("
|
|
4114
|
+
_html(`<p${_attr_class("_bz")}>No tools match "<!>${_escape(query)}${_el_resume($scope45_id, "b")}".</p>`);
|
|
4115
4115
|
_subscribe($query__closures, writeScope($scope45_id, { Cgr: 1 }));
|
|
4116
4116
|
return 1;
|
|
4117
4117
|
}
|
|
@@ -4126,7 +4126,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4126
4126
|
return 0;
|
|
4127
4127
|
}
|
|
4128
4128
|
}, $scope0_id, "ab");
|
|
4129
|
-
_html(`</section><section${_attr_class("
|
|
4129
|
+
_html(`</section><section${_attr_class("_bo")}${_attr("aria-labelledby", skillsId)}><div${_attr_class("_bp")}><h2${_attr("id", skillsId)}${_attr_class("_bC")}><button${_attr_class("_cf")} aria-expanded=false>`);
|
|
4130
4130
|
_set_serialize_reason(1);
|
|
4131
4131
|
const $childScope12 = _peek_scope_id();
|
|
4132
4132
|
icon_chevron_right_default({
|
|
@@ -4158,7 +4158,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4158
4158
|
label: "Dark"
|
|
4159
4159
|
}
|
|
4160
4160
|
];
|
|
4161
|
-
_html(`</section><section${_attr_class("
|
|
4161
|
+
_html(`</section><section${_attr_class("_bo")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bp")}><h2${_attr("id", appearanceId)}${_attr_class("_bC")}>Appearance</h2></div><div${_attr_class(["_bt", "_cD"])}><label${_attr_class("_cE")}><span${_attr_class("_cF")}>Name</span><input${_attr_input_value($scope0_id, "ap", input.instance.name, _resume(function(v) {
|
|
4162
4162
|
setInstance({ name: v });
|
|
4163
4163
|
}, "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">`);
|
|
4164
4164
|
_for_of(themeOpts, (opt) => {
|
|
@@ -4202,7 +4202,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4202
4202
|
{ ["_cR"]: customOn }
|
|
4203
4203
|
])}${customOn ? _attr_style(`--swatch:${input.instance.accent}`) : ""} title="Custom colour"><input${_attr_input_value($scope0_id, "b2", input.instance.accent || "#3556d8", _resume(function(v) {
|
|
4204
4204
|
setInstance({ accent: v });
|
|
4205
|
-
}, "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("
|
|
4205
|
+
}, "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("_bo")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_bp")}><h2${_attr("id", backupId)}${_attr_class("_bC")}>Backup</h2></div><ul${_attr_class("_br")}><li${_attr_class(["_bt", "_c2"])}><div${_attr_class("_c3")}><div${_attr_class("_bu")}><span${_attr_class("_bv")}>Export</span>`);
|
|
4206
4206
|
_if(() => {
|
|
4207
4207
|
if (backupBusy === "preflight" || backupBusy === "push") {
|
|
4208
4208
|
const $scope66_id = _scope_id();
|
|
@@ -4211,7 +4211,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4211
4211
|
return 0;
|
|
4212
4212
|
} else {
|
|
4213
4213
|
const $scope124_id = _scope_id();
|
|
4214
|
-
_html(`<span${_attr_class("
|
|
4214
|
+
_html(`<span${_attr_class("_bx")}>Workspaces and their branches, settings, skills and tool pins in one file. Code stays on GitHub.</span>`);
|
|
4215
4215
|
writeScope($scope124_id, {});
|
|
4216
4216
|
return 1;
|
|
4217
4217
|
}
|
|
@@ -4251,7 +4251,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4251
4251
|
_for_of(preflight.workspaces, (w) => {
|
|
4252
4252
|
const $scope126_id = _scope_id();
|
|
4253
4253
|
const $for_content18__w_name__closures = /* @__PURE__ */ new Set();
|
|
4254
|
-
_html(`<li${_attr_class("_c8")}><span${_attr_class("
|
|
4254
|
+
_html(`<li${_attr_class("_c8")}><span${_attr_class("_bv")}>${_escape(w.name)}${_el_resume($scope126_id, "c")}</span><ul${_attr_class("_c7")}>`);
|
|
4255
4255
|
_for_of(w.repos, (r) => {
|
|
4256
4256
|
const $scope127_id = _scope_id();
|
|
4257
4257
|
const $for_content19__r_more__closures = /* @__PURE__ */ new Set();
|
|
@@ -4338,7 +4338,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4338
4338
|
return 0;
|
|
4339
4339
|
}
|
|
4340
4340
|
}, $scope0_id, "bd", 1, 1, 1, 0, 1);
|
|
4341
|
-
_html(`</li><li${_attr_class(["
|
|
4341
|
+
_html(`</li><li${_attr_class(["_bt", "_c2"])}><div${_attr_class("_c3")}><div${_attr_class("_bu")}><span${_attr_class("_bv")}>Restore</span>`);
|
|
4342
4342
|
_if(() => {
|
|
4343
4343
|
if (backupBusy === "restore") {
|
|
4344
4344
|
const $scope67_id = _scope_id();
|
|
@@ -4347,12 +4347,12 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4347
4347
|
return 0;
|
|
4348
4348
|
} else if (restoreDone) {
|
|
4349
4349
|
const $scope75_id = _scope_id();
|
|
4350
|
-
_html(`<span${_attr_class("
|
|
4350
|
+
_html(`<span${_attr_class("_bx")}>${_escape(restoreDone)}${_el_resume($scope75_id, "b")}</span>`);
|
|
4351
4351
|
writeScope($scope75_id, {});
|
|
4352
4352
|
return 1;
|
|
4353
4353
|
} else {
|
|
4354
4354
|
const $scope135_id = _scope_id();
|
|
4355
|
-
_html(`<span${_attr_class("
|
|
4355
|
+
_html(`<span${_attr_class("_bx")}>From a file exported here or on another machine. Workspaces come back as they were; their repos clone in the background.</span>`);
|
|
4356
4356
|
writeScope($scope135_id, {});
|
|
4357
4357
|
return 2;
|
|
4358
4358
|
}
|
|
@@ -4379,7 +4379,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4379
4379
|
_html(`<ul${_attr_class(checkList)}>`);
|
|
4380
4380
|
_for_of(preview.workspaces, (w) => {
|
|
4381
4381
|
const $scope72_id = _scope_id();
|
|
4382
|
-
_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("
|
|
4382
|
+
_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("_bu")}><span${_attr_class("_bw")}><span${_attr_class("_bv")}>${_escape(w.name)}${_el_resume($scope72_id, "f")}</span>`);
|
|
4383
4383
|
_if(() => {
|
|
4384
4384
|
if (w.status === "archived") {
|
|
4385
4385
|
const $scope139_id = _scope_id();
|
|
@@ -4401,7 +4401,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4401
4401
|
return 1;
|
|
4402
4402
|
}
|
|
4403
4403
|
}, $scope72_id, "h", 1, 1, 1, 0, 1);
|
|
4404
|
-
_html(`</span><span${_attr_class("
|
|
4404
|
+
_html(`</span><span${_attr_class("_bx")}>${_escape(w.repos.join(", ") || "no repos")}${_el_resume($scope72_id, "j")}</span></span></label>${_el_resume($scope72_id, "a")}</li>`);
|
|
4405
4405
|
_script($scope72_id, "x80");
|
|
4406
4406
|
_subscribe($restoreWs__closures, writeScope($scope72_id, {
|
|
4407
4407
|
n: w?.unknownHost,
|
|
@@ -4412,7 +4412,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4412
4412
|
return 0;
|
|
4413
4413
|
} else {
|
|
4414
4414
|
const $scope137_id = _scope_id();
|
|
4415
|
-
_html(`<p${_attr_class("
|
|
4415
|
+
_html(`<p${_attr_class("_bz")}>No workspaces in this file.</p>`);
|
|
4416
4416
|
writeScope($scope137_id, {});
|
|
4417
4417
|
return 1;
|
|
4418
4418
|
}
|
|
@@ -4452,7 +4452,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4452
4452
|
_if(() => {
|
|
4453
4453
|
if (p.total) {
|
|
4454
4454
|
const $scope74_id = _scope_id();
|
|
4455
|
-
_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("
|
|
4455
|
+
_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("_bu")}><span${_attr_class("_bv")}>${_escape(p.label)}${_el_resume($scope74_id, "e")}</span><span${_attr_class("_bx")}>`);
|
|
4456
4456
|
_if(() => {
|
|
4457
4457
|
if (p.key === "settings") {
|
|
4458
4458
|
const $scope136_id = _scope_id();
|
|
@@ -4689,12 +4689,12 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4689
4689
|
});
|
|
4690
4690
|
//#endregion
|
|
4691
4691
|
//#region src/tags/new-workspace.css.ts
|
|
4692
|
-
var content$1 = "_bM
|
|
4693
|
-
var section$1 = "_bQ
|
|
4692
|
+
var content$1 = "_bM _bF";
|
|
4693
|
+
var section$1 = "_bQ _bo";
|
|
4694
4694
|
var curBase = "_bV _S _R";
|
|
4695
|
-
var archived = "_b0
|
|
4695
|
+
var archived = "_b0 _bo";
|
|
4696
4696
|
var archivedHint = "_b1 _R";
|
|
4697
|
-
var archivedCard = "_b2
|
|
4697
|
+
var archivedCard = "_b2 _bt";
|
|
4698
4698
|
//#endregion
|
|
4699
4699
|
//#region src/tags/icons/icon-group.marko
|
|
4700
4700
|
var icon_group_default = _template("cb", (input) => {
|
|
@@ -4763,7 +4763,7 @@ var branch_pick_default = _template("d", (input) => {
|
|
|
4763
4763
|
_if(() => {
|
|
4764
4764
|
{
|
|
4765
4765
|
const $scope4_id = _scope_id();
|
|
4766
|
-
_html(`<p${_attr_class("
|
|
4766
|
+
_html(`<p${_attr_class("_bz")}><span${_attr_class("_E")}></span> Loading branches…</p>`);
|
|
4767
4767
|
writeScope($scope4_id, {});
|
|
4768
4768
|
return 0;
|
|
4769
4769
|
}
|
|
@@ -4931,7 +4931,7 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4931
4931
|
return 0;
|
|
4932
4932
|
} else if (filter && !catalog) {
|
|
4933
4933
|
const $scope9_id = _scope_id();
|
|
4934
|
-
_html(`<p${_attr_class("
|
|
4934
|
+
_html(`<p${_attr_class("_bz")}>Loading repos…</p>`);
|
|
4935
4935
|
writeScope($scope9_id, {});
|
|
4936
4936
|
return 1;
|
|
4937
4937
|
}
|
|
@@ -4982,7 +4982,7 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4982
4982
|
return 0;
|
|
4983
4983
|
} else if (filter && catalog && !pasted) {
|
|
4984
4984
|
const $scope6_id = _scope_id();
|
|
4985
|
-
_html(`<p${_attr_class("
|
|
4985
|
+
_html(`<p${_attr_class("_bz")}>No repos match "<!>${_escape(filter)}${_el_resume($scope6_id, "b")}". Paste a clone URL to add any repo.</p>`);
|
|
4986
4986
|
writeScope($scope6_id, {});
|
|
4987
4987
|
return 1;
|
|
4988
4988
|
}
|
|
@@ -5286,7 +5286,7 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
5286
5286
|
_html(`<li${_attr_class("_dG")}><span${_attr_class("_dH")}>${_escape(repoLabel(fullName))}${_el_resume($scope9_id, "c")}</span></li>`);
|
|
5287
5287
|
writeScope($scope9_id, {});
|
|
5288
5288
|
}, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
|
|
5289
|
-
_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("
|
|
5289
|
+
_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("_bC")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
|
|
5290
5290
|
name = _new_name;
|
|
5291
5291
|
}, "o1", $scope3_id))}${_attr_class("_T")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
|
|
5292
5292
|
_script($scope3_id, "o8");
|
|
@@ -5490,7 +5490,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5490
5490
|
}
|
|
5491
5491
|
}, "s6", $scope0_id);
|
|
5492
5492
|
const titleId = _id();
|
|
5493
|
-
_html(`<div${_attr_class("
|
|
5493
|
+
_html(`<div${_attr_class("_bD")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bE")}><div${_attr_class(content$1)}>`);
|
|
5494
5494
|
_set_serialize_reason({
|
|
5495
5495
|
0: _serialize_guard($scope0_reason, 2),
|
|
5496
5496
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -5539,9 +5539,9 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5539
5539
|
return 0;
|
|
5540
5540
|
}
|
|
5541
5541
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
5542
|
-
_html(`<label${_attr_class("_bP")}><span${_attr_class("
|
|
5542
|
+
_html(`<label${_attr_class("_bP")}><span${_attr_class("_bC")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
|
|
5543
5543
|
name = _new_name;
|
|
5544
|
-
}, "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("
|
|
5544
|
+
}, "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("_bC")}>Repos</h2><button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
5545
5545
|
_set_serialize_reason(1);
|
|
5546
5546
|
const $childScope2 = _peek_scope_id();
|
|
5547
5547
|
icon_refresh_default({
|
|
@@ -5614,7 +5614,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5614
5614
|
_if(() => {
|
|
5615
5615
|
if (!selected.length) {
|
|
5616
5616
|
const $scope16_id = _scope_id();
|
|
5617
|
-
_html(`<li${_attr_class("
|
|
5617
|
+
_html(`<li${_attr_class("_bz")}>No repos yet. Search below to add one, or create it empty.</li>`);
|
|
5618
5618
|
writeScope($scope16_id, {});
|
|
5619
5619
|
return 0;
|
|
5620
5620
|
}
|
|
@@ -5683,10 +5683,10 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5683
5683
|
_if(() => {
|
|
5684
5684
|
if (archived$1.length) {
|
|
5685
5685
|
const $scope6_id = _scope_id();
|
|
5686
|
-
_html(`<section${_attr_class(archived)}><div${_attr_class("_bR")}><h2${_attr_class("
|
|
5686
|
+
_html(`<section${_attr_class(archived)}><div${_attr_class("_bR")}><h2${_attr_class("_bC")}>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("_br")}>`);
|
|
5687
5687
|
_for_of(archived$1, (ws) => {
|
|
5688
5688
|
const $scope7_id = _scope_id();
|
|
5689
|
-
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("
|
|
5689
|
+
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("_bu")}><span${_attr_class("_bv")}>${_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)}>`);
|
|
5690
5690
|
_if(() => {
|
|
5691
5691
|
if (restoring === ws.id) {
|
|
5692
5692
|
const $scope19_id = _scope_id();
|
|
@@ -5854,12 +5854,12 @@ var ARM_MS = 3500;
|
|
|
5854
5854
|
function disarmLater(fn) {
|
|
5855
5855
|
return setTimeout(fn, ARM_MS);
|
|
5856
5856
|
}
|
|
5857
|
-
var railBtn = "
|
|
5858
|
-
var rowIcon = "
|
|
5859
|
-
var close = "
|
|
5857
|
+
var railBtn = "_gI _j";
|
|
5858
|
+
var rowIcon = "_gR _Y _j";
|
|
5859
|
+
var close = "_gS _1 _j _2";
|
|
5860
5860
|
//#endregion
|
|
5861
5861
|
//#region src/styles/session-pop.css.ts
|
|
5862
|
-
var sessionPop = "
|
|
5862
|
+
var sessionPop = "_gE _4";
|
|
5863
5863
|
//#endregion
|
|
5864
5864
|
//#region src/client/status.ts
|
|
5865
5865
|
/** Workspace activity dot from its polled status counts. */
|
|
@@ -5926,22 +5926,22 @@ var usage_pcts_default = _template("G", (input) => {
|
|
|
5926
5926
|
if (windows.length) {
|
|
5927
5927
|
const $scope1_id = _scope_id();
|
|
5928
5928
|
_html(`<span${_attr_class([
|
|
5929
|
-
"
|
|
5929
|
+
"_f0",
|
|
5930
5930
|
input.class,
|
|
5931
|
-
{ ["
|
|
5931
|
+
{ ["_f1"]: agent.stale_seconds != null }
|
|
5932
5932
|
])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
|
|
5933
5933
|
_for_of(windows, (win$1, i) => {
|
|
5934
5934
|
const $scope2_id = _scope_id();
|
|
5935
|
-
_html(`<span${_attr_class("
|
|
5935
|
+
_html(`<span${_attr_class("_f2")}>`);
|
|
5936
5936
|
_if(() => {
|
|
5937
5937
|
if (i) {
|
|
5938
5938
|
const $scope3_id = _scope_id();
|
|
5939
|
-
_html(`<span${_attr_class("
|
|
5939
|
+
_html(`<span${_attr_class("_f5")} aria-hidden=true>·</span>`);
|
|
5940
5940
|
$si__input_agent && writeScope($scope3_id, {});
|
|
5941
5941
|
return 0;
|
|
5942
5942
|
}
|
|
5943
5943
|
}, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
5944
|
-
_html(`<span${_attr_class("
|
|
5944
|
+
_html(`<span${_attr_class("_f3")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_f4", win$1.used_percent >= 90 ? "_fT" : win$1.used_percent >= 70 ? "_fS" : win$1.used_percent >= 40 ? "_fR" : "_fQ"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
|
|
5945
5945
|
$si__input_agent && writeScope($scope2_id, {});
|
|
5946
5946
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
5947
5947
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -6214,40 +6214,40 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6214
6214
|
_if(() => {
|
|
6215
6215
|
if (input.rail) {
|
|
6216
6216
|
const $scope2_id = _scope_id();
|
|
6217
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["
|
|
6217
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_gG"]: input.current }])}${ws$1.pending ? _attr("title", `${ws$1.name} — restoring`) : _attr("title", ws$1.name)}>${input.index === void 0 ? "·" : _escape(input.index + 1)}${_el_resume($scope2_id, "b", _serialize_guard($scope0_reason, 26))}<span${_attr_class([
|
|
6218
6218
|
"_y",
|
|
6219
6219
|
phase[dot],
|
|
6220
|
-
"
|
|
6220
|
+
"_gJ"
|
|
6221
6221
|
])}></span>${_el_resume($scope2_id, "c", $sg__input_workspaceId__OR__input_status)}</a>${_el_resume($scope2_id, "a", _serialize_guard($scope0_reason, 3))}`);
|
|
6222
6222
|
_serialize_if($scope0_reason, 18) && _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_name__closures, _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_id__closures, _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_pending__closures, _subscribe($si__input_index && $input_index__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }))))));
|
|
6223
6223
|
return 0;
|
|
6224
6224
|
} else if (ws$1.pending) {
|
|
6225
6225
|
const $scope3_id = _scope_id();
|
|
6226
6226
|
_html(`<section${_attr_class([
|
|
6227
|
-
"
|
|
6228
|
-
"
|
|
6227
|
+
"_gL",
|
|
6228
|
+
"_g8",
|
|
6229
6229
|
{
|
|
6230
|
-
["
|
|
6231
|
-
["
|
|
6230
|
+
["_gM"]: input.railPop,
|
|
6231
|
+
["_gK"]: input.page
|
|
6232
6232
|
}
|
|
6233
|
-
])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("
|
|
6233
|
+
])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_gN")}><div${_attr_class("_gO")}>`);
|
|
6234
6234
|
_if(() => {
|
|
6235
6235
|
if (ws$1.pending_error) {
|
|
6236
6236
|
const $scope15_id = _scope_id();
|
|
6237
6237
|
icon_warning_default({
|
|
6238
6238
|
size: 12,
|
|
6239
|
-
class: "
|
|
6239
|
+
class: "_g_"
|
|
6240
6240
|
});
|
|
6241
6241
|
$si__input_workspaces__OR__input_workspaceId && writeScope($scope15_id, {});
|
|
6242
6242
|
return 0;
|
|
6243
6243
|
} else {
|
|
6244
6244
|
const $scope16_id = _scope_id();
|
|
6245
|
-
_html(`<span${_attr_class(["_E", "
|
|
6245
|
+
_html(`<span${_attr_class(["_E", "_g9"])}></span>`);
|
|
6246
6246
|
$si__input_workspaces__OR__input_workspaceId && writeScope($scope16_id, {});
|
|
6247
6247
|
return 1;
|
|
6248
6248
|
}
|
|
6249
6249
|
}, $scope3_id, "d", $sg__input_workspaces__OR__input_workspaceId, $sg__input_workspaces__OR__input_workspaceId, $sg__input_workspaces__OR__input_workspaceId, 0, 1);
|
|
6250
|
-
_html(`<span${_attr_class("
|
|
6250
|
+
_html(`<span${_attr_class("_gU")}><span${_attr_class("_gV")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "g", $sg__input_workspaces__OR__input_workspaceId)}</span><span${_attr_class("_ha")}${_attr("title", ws$1.pending_error || restoreLine)}>${ws$1.pending_error ? `Restore failed: ${_escape(`${ws$1.pending_error}`)}` : _escape("Restoring…")}${_el_resume($scope3_id, "i")}</span>${_el_resume($scope3_id, "h")}</span></div></div></section>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 10))}`);
|
|
6251
6251
|
_subscribe($restoreLine__closures, _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_pending_error__closures, _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_name__closures, _subscribe($si__input_railPop && $input_railPop__closures, _subscribe($si__input_page && $input_page__closures, writeScope($scope3_id, {
|
|
6252
6252
|
_: _scope_with_id($scope1_id),
|
|
6253
6253
|
Cb0: $si__input_workspaces__OR__input_workspaceId && 1
|
|
@@ -6257,15 +6257,15 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6257
6257
|
const $scope4_id = _scope_id();
|
|
6258
6258
|
const sessions$1 = input.sessions || [];
|
|
6259
6259
|
const phaseLabel = dot === "working" ? "Working" : dot === "waiting" ? "Needs input" : dot === "idle" ? "Idle" : "Not running";
|
|
6260
|
-
_html(`<section${_attr_class(["
|
|
6261
|
-
["
|
|
6260
|
+
_html(`<section${_attr_class(["_gL", {
|
|
6261
|
+
["_gG"]: input.current,
|
|
6262
6262
|
["_5"]: input.current,
|
|
6263
|
-
["
|
|
6264
|
-
["
|
|
6265
|
-
}])}><div${_attr_class("
|
|
6263
|
+
["_gM"]: input.railPop,
|
|
6264
|
+
["_gK"]: input.page
|
|
6265
|
+
}])}><div${_attr_class("_gN")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class("_gO")}><span${_attr_class([
|
|
6266
6266
|
"_y",
|
|
6267
6267
|
phase[dot],
|
|
6268
|
-
"
|
|
6268
|
+
"_g0"
|
|
6269
6269
|
])}${_attr("title", phaseLabel)}></span>${_el_resume($scope4_id, "d", $sg__input_workspaceId__OR__input_status)}`);
|
|
6270
6270
|
_if(() => {
|
|
6271
6271
|
if (sessions$1.length === 1) {
|
|
@@ -6278,7 +6278,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6278
6278
|
icon_agent_default({
|
|
6279
6279
|
agent: activeAgent(sessions$1[0]),
|
|
6280
6280
|
size: 12,
|
|
6281
|
-
class: "
|
|
6281
|
+
class: "_gT"
|
|
6282
6282
|
});
|
|
6283
6283
|
$si__input_sessions && writeScope($scope17_id, {
|
|
6284
6284
|
_: _scope_with_id($scope4_id),
|
|
@@ -6288,11 +6288,11 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6288
6288
|
}
|
|
6289
6289
|
}, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions);
|
|
6290
6290
|
const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length > 1 ? `${sessions$1.length} sessions` : "";
|
|
6291
|
-
_html(`<span${_attr_class("
|
|
6291
|
+
_html(`<span${_attr_class("_gU")}><span${_attr_class("_gV")}>${_escape(ws$1.name)}${_el_resume($scope4_id, "h", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
|
|
6292
6292
|
_if(() => {
|
|
6293
6293
|
if (input.page && metaText) {
|
|
6294
6294
|
const $scope18_id = _scope_id();
|
|
6295
|
-
_html(`<span${_attr_class("
|
|
6295
|
+
_html(`<span${_attr_class("_gY")}>${_escape(metaText)}${_el_resume($scope18_id, "b", _serialize_guard($scope0_reason, 6))}</span>`);
|
|
6296
6296
|
$si__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status && writeScope($scope18_id, { _: _serialize_if($scope0_reason, 6) && _scope_with_id($scope4_id) });
|
|
6297
6297
|
return 0;
|
|
6298
6298
|
}
|
|
@@ -6305,7 +6305,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6305
6305
|
"_H",
|
|
6306
6306
|
"_Q",
|
|
6307
6307
|
"_J",
|
|
6308
|
-
"
|
|
6308
|
+
"_gZ"
|
|
6309
6309
|
])}>${input.current ? "Open" : ""}${_el_resume($scope5_id, "b", _serialize_guard($scope0_reason, 21))}</span>`);
|
|
6310
6310
|
$si__input_current__OR__input_page__OR__input_rail__OR__input_workspaces__OR__input_workspaceId && _subscribe($si__input_current && $input_current__closures, writeScope($scope5_id, {
|
|
6311
6311
|
_: _scope_with_id($scope4_id),
|
|
@@ -6318,7 +6318,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6318
6318
|
_if(() => {
|
|
6319
6319
|
if (!input.page) {
|
|
6320
6320
|
const $scope6_id = _scope_id();
|
|
6321
|
-
_html(`<div${_attr_class("
|
|
6321
|
+
_html(`<div${_attr_class("_gP")}>`);
|
|
6322
6322
|
_if(() => {
|
|
6323
6323
|
if (input.onNewSession) {
|
|
6324
6324
|
const $scope7_id = _scope_id();
|
|
@@ -6332,7 +6332,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6332
6332
|
_html(`</button>${_el_resume($scope7_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
|
|
6333
6333
|
_for_of([], (agent) => {
|
|
6334
6334
|
const $scope8_id = _scope_id();
|
|
6335
|
-
_html(`<button${_attr_class("
|
|
6335
|
+
_html(`<button${_attr_class("_gF")}>`);
|
|
6336
6336
|
_set_serialize_reason(12);
|
|
6337
6337
|
const $childScope2 = _peek_scope_id();
|
|
6338
6338
|
icon_agent_default({
|
|
@@ -6367,7 +6367,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6367
6367
|
return 0;
|
|
6368
6368
|
}
|
|
6369
6369
|
}, $scope6_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
|
|
6370
|
-
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["
|
|
6370
|
+
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_gH"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
|
|
6371
6371
|
icon_manage_default({ size: 12 });
|
|
6372
6372
|
_html(`</a>${_el_resume($scope6_id, "d", _serialize_guard($scope0_reason, 7))}</div>`);
|
|
6373
6373
|
_subscribe($si__input_workspaces__OR__input_workspaceId && $ws_id__closures, _subscribe($si__input_managing && $input_managing__closures, _subscribe($si__input_onReview && $input_onReview__closures, _subscribe($si__input_onNewSession && $input_onNewSession__closures, writeScope($scope6_id, {
|
|
@@ -6377,7 +6377,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6377
6377
|
return 0;
|
|
6378
6378
|
}
|
|
6379
6379
|
}, $scope4_id, "k", $sg__input_page, $sg__input_page, 1, 0, 1);
|
|
6380
|
-
_html(`</div><div${_attr_class("
|
|
6380
|
+
_html(`</div><div${_attr_class("_g5")}>`);
|
|
6381
6381
|
_if(() => {
|
|
6382
6382
|
if (sessions$1.length === 1 && openPlan) {
|
|
6383
6383
|
const $scope12_id = _scope_id();
|
|
@@ -6385,7 +6385,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6385
6385
|
const $childScope3 = _peek_scope_id();
|
|
6386
6386
|
usage_pcts_default({
|
|
6387
6387
|
agent: openPlan,
|
|
6388
|
-
class: "
|
|
6388
|
+
class: "_gW"
|
|
6389
6389
|
});
|
|
6390
6390
|
_subscribe($openPlan__closures, writeScope($scope12_id, {
|
|
6391
6391
|
a: _existing_scope($childScope3),
|
|
@@ -6396,14 +6396,14 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6396
6396
|
}, $scope4_id, "m");
|
|
6397
6397
|
_for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
|
|
6398
6398
|
const $scope9_id = _scope_id();
|
|
6399
|
-
_html(`<div${_attr_class(["
|
|
6399
|
+
_html(`<div${_attr_class(["_gQ", { ["_gG"]: s.id === input.currentTab }])}>`);
|
|
6400
6400
|
_if(() => {
|
|
6401
6401
|
if (renamingId === s.id) {
|
|
6402
6402
|
const $scope11_id = _scope_id();
|
|
6403
6403
|
_html(`<span${_attr_class([
|
|
6404
6404
|
"_y",
|
|
6405
6405
|
phase[sessionPhase(s.state)],
|
|
6406
|
-
"
|
|
6406
|
+
"_g3"
|
|
6407
6407
|
])}></span>${_el_resume($scope11_id, "a", $sg__input_sessions)}`);
|
|
6408
6408
|
_set_serialize_reason({
|
|
6409
6409
|
1: $sg__input_sessions,
|
|
@@ -6413,17 +6413,17 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6413
6413
|
icon_agent_default({
|
|
6414
6414
|
agent: activeAgent(s),
|
|
6415
6415
|
size: 13,
|
|
6416
|
-
class: "
|
|
6416
|
+
class: "_g7"
|
|
6417
6417
|
});
|
|
6418
6418
|
_html(`<input${_attr_input_value($scope11_id, "c", renameValue, _resume((_new_renameValue) => {
|
|
6419
6419
|
renameValue = _new_renameValue;
|
|
6420
|
-
}, "z0", $scope11_id))}${_attr_class(["_T", "
|
|
6420
|
+
}, "z0", $scope11_id))}${_attr_class(["_T", "_g4"])} aria-label="Session name">${_el_resume($scope11_id, "c")}`);
|
|
6421
6421
|
_script($scope11_id, "z5");
|
|
6422
6422
|
_subscribe($renameValue__closures, writeScope($scope11_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
|
|
6423
6423
|
return 0;
|
|
6424
6424
|
} else {
|
|
6425
6425
|
const $scope10_id = _scope_id();
|
|
6426
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("
|
|
6426
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("_g6")}><span${_attr_class(["_y", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope10_id, "b", $sg__input_sessions)}`);
|
|
6427
6427
|
_set_serialize_reason({
|
|
6428
6428
|
1: $sg__input_sessions,
|
|
6429
6429
|
2: $sg__input_sessions
|
|
@@ -6432,9 +6432,9 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6432
6432
|
icon_agent_default({
|
|
6433
6433
|
agent: activeAgent(s),
|
|
6434
6434
|
size: 13,
|
|
6435
|
-
class: "
|
|
6435
|
+
class: "_g7"
|
|
6436
6436
|
});
|
|
6437
|
-
_html(`<span${_attr_class("
|
|
6437
|
+
_html(`<span${_attr_class("_g1")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope10_id, "e", $sg__input_sessions)}</span></a>${_el_resume($scope10_id, "a", _serialize_guard($scope0_reason, 5))}<div${_attr_class("_g2")}><button${_attr_class(rowIcon)} title="Rename session">`);
|
|
6438
6438
|
icon_edit_default({ size: 12 });
|
|
6439
6439
|
_html(`</button>${_el_resume($scope10_id, "g")}<button${_attr_class([close, { ["_q"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
|
|
6440
6440
|
icon_xmark_default({ size: 12 });
|
|
@@ -6446,7 +6446,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6446
6446
|
const $childScope6 = _peek_scope_id();
|
|
6447
6447
|
usage_pcts_default({
|
|
6448
6448
|
agent: openPlan,
|
|
6449
|
-
class: "
|
|
6449
|
+
class: "_gX"
|
|
6450
6450
|
});
|
|
6451
6451
|
_subscribe($openPlan__closures, writeScope($scope13_id, {
|
|
6452
6452
|
a: _existing_scope($childScope6),
|
|
@@ -6713,7 +6713,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6713
6713
|
_if(() => {
|
|
6714
6714
|
if (isPage && wsId === ws.id) {
|
|
6715
6715
|
const $scope13_id = _scope_id();
|
|
6716
|
-
_html(`<h2${_attr_class(["
|
|
6716
|
+
_html(`<h2${_attr_class(["_bC", "_d8"])}>Current</h2>`);
|
|
6717
6717
|
writeScope($scope13_id, {});
|
|
6718
6718
|
return 0;
|
|
6719
6719
|
}
|
|
@@ -6721,7 +6721,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6721
6721
|
_if(() => {
|
|
6722
6722
|
if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
|
|
6723
6723
|
const $scope14_id = _scope_id();
|
|
6724
|
-
_html(`<h2${_attr_class(["
|
|
6724
|
+
_html(`<h2${_attr_class(["_bC", "_d8"])}>Other workspaces</h2>`);
|
|
6725
6725
|
writeScope($scope14_id, {});
|
|
6726
6726
|
return 0;
|
|
6727
6727
|
}
|
|
@@ -7055,11 +7055,11 @@ var side_nav_default = _template("A", (input) => {
|
|
|
7055
7055
|
_resume_branch($scope0_id);
|
|
7056
7056
|
});
|
|
7057
7057
|
var iconBtn = "_Z _j";
|
|
7058
|
-
var sectionCount = "
|
|
7059
|
-
var content = "
|
|
7060
|
-
var pageMeta = "
|
|
7061
|
-
var pathMeta = "
|
|
7062
|
-
var dangerHint = "
|
|
7058
|
+
var sectionCount = "_bq _H _I";
|
|
7059
|
+
var content = "_eN _bF";
|
|
7060
|
+
var pageMeta = "_eO _bK";
|
|
7061
|
+
var pathMeta = "_eR _w";
|
|
7062
|
+
var dangerHint = "_eW _R";
|
|
7063
7063
|
//#endregion
|
|
7064
7064
|
//#region src/tags/icons/icon-clipboard.marko
|
|
7065
7065
|
var icon_clipboard_default = _template("U", (input) => {
|
|
@@ -7225,7 +7225,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7225
7225
|
setTimeout(() => loadProcs(void 0), 500);
|
|
7226
7226
|
}, "q8", $scope0_id);
|
|
7227
7227
|
const titleId = _id();
|
|
7228
|
-
_html(`<div${_attr_class("
|
|
7228
|
+
_html(`<div${_attr_class("_bD")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bE")}><div${_attr_class(content)}>`);
|
|
7229
7229
|
_set_serialize_reason(286);
|
|
7230
7230
|
let $actions;
|
|
7231
7231
|
if (ws.repos.length) $actions = attrTag({ content: _content_resume("q16", () => {
|
|
@@ -7261,7 +7261,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7261
7261
|
meta: attrTag({ content: _content_resume("q15", () => {
|
|
7262
7262
|
_scope_reason();
|
|
7263
7263
|
const $scope14_id = _scope_id();
|
|
7264
|
-
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("
|
|
7264
|
+
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_eP")}>${_escape(ws.name)}${_el_resume($scope14_id, "c")}</span>`);
|
|
7265
7265
|
_if(() => {
|
|
7266
7266
|
if (ws.status !== "active") {
|
|
7267
7267
|
const $scope18_id = _scope_id();
|
|
@@ -7270,7 +7270,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7270
7270
|
return 0;
|
|
7271
7271
|
}
|
|
7272
7272
|
}, $scope14_id, "d", 1, 1, 1, 0, 1);
|
|
7273
|
-
_html(`<span${_attr_class("
|
|
7273
|
+
_html(`<span${_attr_class("_eQ")} 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")}`);
|
|
7274
7274
|
_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) })))));
|
|
7275
7275
|
_resume_branch($scope14_id);
|
|
7276
7276
|
}, $scope0_id) })
|
|
@@ -7298,12 +7298,12 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7298
7298
|
_if(() => {
|
|
7299
7299
|
if (pendingAction && actionStep) {
|
|
7300
7300
|
const $scope11_id = _scope_id();
|
|
7301
|
-
_html(`<p${_attr_class("
|
|
7301
|
+
_html(`<p${_attr_class("_bn")}><span${_attr_class("_E")}></span><!>${_escape(actionStep)}${_el_resume($scope11_id, "c")}</p>`);
|
|
7302
7302
|
writeScope($scope11_id, {});
|
|
7303
7303
|
return 0;
|
|
7304
7304
|
}
|
|
7305
7305
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
7306
|
-
_html(`<section${_attr_class("
|
|
7306
|
+
_html(`<section${_attr_class("_bo")}><div${_attr_class("_bp")}><h2${_attr_class("_bC")}>Workspace</h2></div><div${_attr_class("_eV")}>`);
|
|
7307
7307
|
_if(() => {
|
|
7308
7308
|
if (ws.status === "active") {
|
|
7309
7309
|
const $scope8_id = _scope_id();
|
|
@@ -7323,17 +7323,17 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7323
7323
|
btnLg,
|
|
7324
7324
|
"_r",
|
|
7325
7325
|
{ ["_q"]: confirmingDelete }
|
|
7326
|
-
])}${_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("
|
|
7326
|
+
])}${_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("_bo")}><div${_attr_class("_bp")}><h2${_attr_class("_bC")}>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)}>`);
|
|
7327
7327
|
_set_serialize_reason(1);
|
|
7328
7328
|
const $childScope2 = _peek_scope_id();
|
|
7329
7329
|
icon_refresh_default({
|
|
7330
7330
|
size: 14,
|
|
7331
7331
|
class: catalogRefreshing && "_D"
|
|
7332
7332
|
});
|
|
7333
|
-
_html(`</button>${_el_resume($scope0_id, "u")}</div><ul${_attr_class("
|
|
7333
|
+
_html(`</button>${_el_resume($scope0_id, "u")}</div><ul${_attr_class("_br")}>`);
|
|
7334
7334
|
_for_of(ws.repos, (row) => {
|
|
7335
7335
|
const $scope1_id = _scope_id();
|
|
7336
|
-
_html(`<li${_attr_class("
|
|
7336
|
+
_html(`<li${_attr_class("_bt")}><div${_attr_class("_bu")}><span${_attr_class(["_bv", "_w"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bw")}><a${_attr_class(["_bx", "_eT"])}${_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")}`);
|
|
7337
7337
|
_if(() => {
|
|
7338
7338
|
if (row.base_branch !== row.default_branch) {
|
|
7339
7339
|
const $scope21_id = _scope_id();
|
|
@@ -7354,7 +7354,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7354
7354
|
} else {
|
|
7355
7355
|
const $scope10_id = _scope_id();
|
|
7356
7356
|
_html(`<button${_attr_class([
|
|
7357
|
-
"
|
|
7357
|
+
"_by",
|
|
7358
7358
|
"_2",
|
|
7359
7359
|
"_3",
|
|
7360
7360
|
{ ["_q"]: confirmingRemove === row.full_name }
|
|
@@ -7387,19 +7387,19 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7387
7387
|
}, "full_name", $scope0_id, "x", 1, 1, 1, 0, 1);
|
|
7388
7388
|
_for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
|
|
7389
7389
|
const $scope25_id = _scope_id();
|
|
7390
|
-
_html(`<li${_attr_class(["
|
|
7390
|
+
_html(`<li${_attr_class(["_bt", "_bs"])}><span${_attr_class("_E")}></span><div${_attr_class("_bu")}><span${_attr_class("_bx")}>Adding <!>${_escape(name)}${_el_resume($scope25_id, "e")}…</span></div></li>`);
|
|
7391
7391
|
writeScope($scope25_id, {});
|
|
7392
7392
|
}, (n) => n, $scope0_id, "y", 1, 1, 1, 0, 1);
|
|
7393
7393
|
_html("</ul>");
|
|
7394
7394
|
_if(() => {
|
|
7395
7395
|
if (!ws.repos.length && !busy.size) {
|
|
7396
7396
|
const $scope26_id = _scope_id();
|
|
7397
|
-
_html(`<p${_attr_class("
|
|
7397
|
+
_html(`<p${_attr_class("_bz")}>No repos yet. Search below to add one.</p>`);
|
|
7398
7398
|
writeScope($scope26_id, {});
|
|
7399
7399
|
return 0;
|
|
7400
7400
|
}
|
|
7401
7401
|
}, $scope0_id, "z", 1, 1, 1, 0, 1);
|
|
7402
|
-
_html(`<div${_attr_class("
|
|
7402
|
+
_html(`<div${_attr_class("_eS")}>`);
|
|
7403
7403
|
const $childScope3 = _peek_scope_id();
|
|
7404
7404
|
let refreshCatalog = repo_picker_default({
|
|
7405
7405
|
exclude: inWorkspace,
|
|
@@ -7420,7 +7420,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7420
7420
|
_if(() => {
|
|
7421
7421
|
if (wsSkills.length || repoSkills.length) {
|
|
7422
7422
|
const $scope2_id = _scope_id();
|
|
7423
|
-
_html(`<section${_attr_class("
|
|
7423
|
+
_html(`<section${_attr_class("_bo")}><div${_attr_class("_bp")}><h2${_attr_class("_bC")}>Skills</h2>`);
|
|
7424
7424
|
_if(() => {
|
|
7425
7425
|
if (wsSkills.length) {
|
|
7426
7426
|
const $scope27_id = _scope_id();
|
|
@@ -7429,10 +7429,10 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7429
7429
|
return 0;
|
|
7430
7430
|
}
|
|
7431
7431
|
}, $scope2_id, "d", 1, 1, 1, 0, 1);
|
|
7432
|
-
_html(`</div><ul${_attr_class("
|
|
7432
|
+
_html(`</div><ul${_attr_class("_br")}>`);
|
|
7433
7433
|
_for_of(wsSkills, (s) => {
|
|
7434
7434
|
const $scope3_id = _scope_id();
|
|
7435
|
-
_html(`<li${_attr_class("
|
|
7435
|
+
_html(`<li${_attr_class("_bt")}><div${_attr_class("_bu")}><span${_attr_class(["_bv", "_w"])}>${_escape(s.name)}${_el_resume($scope3_id, "d")}</span><span${_attr_class("_bw")}>`);
|
|
7436
7436
|
_if(() => {
|
|
7437
7437
|
if (s.broken) {
|
|
7438
7438
|
const $scope28_id = _scope_id();
|
|
@@ -7470,7 +7470,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7470
7470
|
_if(() => {
|
|
7471
7471
|
if (s.description) {
|
|
7472
7472
|
const $scope31_id = _scope_id();
|
|
7473
|
-
_html(`<span${_attr_class("
|
|
7473
|
+
_html(`<span${_attr_class("_bx")}${_attr("title", s.description)}>${_escape(s.description)}${_el_resume($scope31_id, "b")}</span>${_el_resume($scope31_id, "a")}`);
|
|
7474
7474
|
writeScope($scope31_id, {});
|
|
7475
7475
|
return 0;
|
|
7476
7476
|
}
|
|
@@ -7478,7 +7478,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7478
7478
|
_if(() => {
|
|
7479
7479
|
if (s.sourceUrl) {
|
|
7480
7480
|
const $scope32_id = _scope_id();
|
|
7481
|
-
_html(`<a${_attr_class(["
|
|
7481
|
+
_html(`<a${_attr_class(["_bx", "_eT"])}${_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")}`);
|
|
7482
7482
|
writeScope($scope32_id, {});
|
|
7483
7483
|
return 0;
|
|
7484
7484
|
}
|
|
@@ -7493,7 +7493,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7493
7493
|
} else {
|
|
7494
7494
|
const $scope12_id = _scope_id();
|
|
7495
7495
|
_html(`<button${_attr_class([
|
|
7496
|
-
"
|
|
7496
|
+
"_by",
|
|
7497
7497
|
"_2",
|
|
7498
7498
|
"_3",
|
|
7499
7499
|
{ ["_q"]: confirmingSkill === s.id }
|
|
@@ -7531,10 +7531,10 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7531
7531
|
_if(() => {
|
|
7532
7532
|
if (repoSkills.length) {
|
|
7533
7533
|
const $scope4_id = _scope_id();
|
|
7534
|
-
_html(`<ul${_attr_class("
|
|
7534
|
+
_html(`<ul${_attr_class("_br")}>`);
|
|
7535
7535
|
_for_of(repoSkills, (s) => {
|
|
7536
7536
|
const $scope5_id = _scope_id();
|
|
7537
|
-
_html(`<li${_attr_class("
|
|
7537
|
+
_html(`<li${_attr_class("_bt")}><div${_attr_class("_bu")}><span${_attr_class(["_bv", "_w"])}>${_escape(s.name)}${_el_resume($scope5_id, "d")}</span><span${_attr_class("_bw")}><span${_attr_class(["_bx", "_w"])}>${_escape(s.worktree)}${_el_resume($scope5_id, "g")}/</span>`);
|
|
7538
7538
|
_if(() => {
|
|
7539
7539
|
if (s.shadows) {
|
|
7540
7540
|
const $scope37_id = _scope_id();
|
|
@@ -7547,7 +7547,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7547
7547
|
_if(() => {
|
|
7548
7548
|
if (s.description) {
|
|
7549
7549
|
const $scope38_id = _scope_id();
|
|
7550
|
-
_html(`<span${_attr_class("
|
|
7550
|
+
_html(`<span${_attr_class("_bx")}${_attr("title", s.description)}>${_escape(s.description)}${_el_resume($scope38_id, "b")}</span>${_el_resume($scope38_id, "a")}`);
|
|
7551
7551
|
writeScope($scope38_id, {});
|
|
7552
7552
|
return 0;
|
|
7553
7553
|
}
|
|
@@ -7590,17 +7590,17 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7590
7590
|
_if(() => {
|
|
7591
7591
|
if (running.length) {
|
|
7592
7592
|
const $scope16_id = _scope_id();
|
|
7593
|
-
_html(`<section${_attr_class("
|
|
7593
|
+
_html(`<section${_attr_class("_bo")}><div${_attr_class("_bp")}><h2${_attr_class("_bC")}>Running</h2><span${_attr_class(sectionCount)}>${_escape(running.length)}${_el_resume($scope16_id, "e")}</span></div><ul${_attr_class("_br")}>`);
|
|
7594
7594
|
_for_of(running, (p) => {
|
|
7595
7595
|
const $scope17_id = _scope_id();
|
|
7596
|
-
_html(`<li${_attr_class("
|
|
7596
|
+
_html(`<li${_attr_class("_bt")}><div${_attr_class("_bu")}${_attr("title", p.args)}><span${_attr_class(["_bv", "_w"])}>${_escape(p.cmd)}${_el_resume($scope17_id, "d")}</span>`);
|
|
7597
7597
|
_if(() => {
|
|
7598
7598
|
if (p.ports.length) {
|
|
7599
7599
|
const $scope40_id = _scope_id();
|
|
7600
|
-
_html(`<span${_attr_class("
|
|
7600
|
+
_html(`<span${_attr_class("_bw")}>`);
|
|
7601
7601
|
_for_of(p.ports, (port) => {
|
|
7602
7602
|
const $scope41_id = _scope_id();
|
|
7603
|
-
_html(`<button${_attr_class(["_s", "
|
|
7603
|
+
_html(`<button${_attr_class(["_s", "_eU"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope41_id, "b")}</button>${_el_resume($scope41_id, "a")}`);
|
|
7604
7604
|
_script($scope41_id, "q24");
|
|
7605
7605
|
writeScope($scope41_id, { d: port });
|
|
7606
7606
|
}, (x) => String(x), $scope40_id, "a", 1, 1, 1, "</span>", 1);
|
|
@@ -7608,7 +7608,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7608
7608
|
return 0;
|
|
7609
7609
|
}
|
|
7610
7610
|
}, $scope17_id, "e", 1, 1, 1, 0, 1);
|
|
7611
|
-
_html(`</div>${_el_resume($scope17_id, "b")}<button${_attr_class(["
|
|
7611
|
+
_html(`</div>${_el_resume($scope17_id, "b")}<button${_attr_class(["_by", "_2"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
|
|
7612
7612
|
icon_xmark_default({ size: 14 });
|
|
7613
7613
|
_html(`</button>${_el_resume($scope17_id, "f")}</li>`);
|
|
7614
7614
|
_script($scope17_id, "q25");
|
|
@@ -7690,9 +7690,9 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7690
7690
|
_resume_branch($scope0_id);
|
|
7691
7691
|
});
|
|
7692
7692
|
var kbtn = "_dV _0 _j";
|
|
7693
|
-
var dpadPaste = "
|
|
7694
|
-
var repeat = "
|
|
7695
|
-
var dpadEsc = "
|
|
7693
|
+
var dpadPaste = "_eI _eH";
|
|
7694
|
+
var repeat = "_eJ _eH";
|
|
7695
|
+
var dpadEsc = "_eL _eH";
|
|
7696
7696
|
//#endregion
|
|
7697
7697
|
//#region src/tags/term-find.marko
|
|
7698
7698
|
var term_find_default = _template("C", (input) => {
|
|
@@ -7729,19 +7729,19 @@ var term_find_default = _template("C", (input) => {
|
|
|
7729
7729
|
const canStep = hasQuery && open;
|
|
7730
7730
|
const keybar = input.placement === "keybar";
|
|
7731
7731
|
_html(`<div${_attr_class([
|
|
7732
|
-
"
|
|
7733
|
-
keybar ? "
|
|
7734
|
-
!open && "
|
|
7735
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
7732
|
+
"_gb",
|
|
7733
|
+
keybar ? "_gd" : "_gc",
|
|
7734
|
+
!open && "_gf"
|
|
7735
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_f7", keybar ? "_ge" : "_f9"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
7736
7736
|
if (!open) return;
|
|
7737
7737
|
query = v;
|
|
7738
7738
|
live.query = v;
|
|
7739
7739
|
run(0);
|
|
7740
|
-
}, "C0", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
7740
|
+
}, "C0", $scope0_id))}${_attr_class([findInput, keybar && "_gg"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in terminal" aria-label="Find in terminal">${_el_resume($scope0_id, "c")}<button type=button${_attr_class([findIconBtn, keybar && "_gh"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
7741
7741
|
icon_arrow_up_default({ size: 14 });
|
|
7742
|
-
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
7742
|
+
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_gh"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
7743
7743
|
icon_arrow_down_default({ size: 14 });
|
|
7744
|
-
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
7744
|
+
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_gh"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
|
|
7745
7745
|
icon_xmark_default({ size: 14 });
|
|
7746
7746
|
_html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
|
|
7747
7747
|
_script($scope0_id, "C4");
|
|
@@ -8154,7 +8154,7 @@ var term_default = _template("D", (input) => {
|
|
|
8154
8154
|
trapOpen = true;
|
|
8155
8155
|
}
|
|
8156
8156
|
}, "D14", $scope0_id);
|
|
8157
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
8157
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_ei")}><div${_attr_class("_ej")}></div>${_el_resume($scope0_id, "b")}`);
|
|
8158
8158
|
_if(() => {
|
|
8159
8159
|
if (findOpen) {
|
|
8160
8160
|
const $scope12_id = _scope_id();
|
|
@@ -8181,7 +8181,7 @@ var term_default = _template("D", (input) => {
|
|
|
8181
8181
|
_if(() => {
|
|
8182
8182
|
if (uploading) {
|
|
8183
8183
|
const $scope21_id = _scope_id();
|
|
8184
|
-
_html(`<div${_attr_class("
|
|
8184
|
+
_html(`<div${_attr_class("_ep")}>uploading…</div>`);
|
|
8185
8185
|
writeScope($scope21_id, {});
|
|
8186
8186
|
return 0;
|
|
8187
8187
|
}
|
|
@@ -8189,7 +8189,7 @@ var term_default = _template("D", (input) => {
|
|
|
8189
8189
|
_if(() => {
|
|
8190
8190
|
if (copiedFlash) {
|
|
8191
8191
|
const $scope22_id = _scope_id();
|
|
8192
|
-
_html(`<div${_attr_class("
|
|
8192
|
+
_html(`<div${_attr_class("_eo")}>Copied</div>`);
|
|
8193
8193
|
writeScope($scope22_id, {});
|
|
8194
8194
|
return 0;
|
|
8195
8195
|
}
|
|
@@ -8198,7 +8198,7 @@ var term_default = _template("D", (input) => {
|
|
|
8198
8198
|
_if(() => {
|
|
8199
8199
|
if (trapOpen) {
|
|
8200
8200
|
const $scope11_id = _scope_id();
|
|
8201
|
-
_html(`<div${_attr_class("
|
|
8201
|
+
_html(`<div${_attr_class("_eq")}><div${_attr_class("_er")}><p${_attr_class("_eM")}>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")}`);
|
|
8202
8202
|
_script($scope11_id, "D26");
|
|
8203
8203
|
_script($scope11_id, "D27");
|
|
8204
8204
|
writeScope($scope11_id, {});
|
|
@@ -8272,7 +8272,7 @@ var term_default = _template("D", (input) => {
|
|
|
8272
8272
|
popEl.style.top = `${Math.max(8, btn.top - popEl.offsetHeight - 8)}px`;
|
|
8273
8273
|
popEl.style.left = `${Math.max(8, Math.min(btn.left + btn.width / 2 - popEl.offsetWidth / 2, window.innerWidth - popEl.offsetWidth - 8))}px`;
|
|
8274
8274
|
}, "D20", $scope4_id);
|
|
8275
|
-
_html(`<button${_attr_class([kbtn, "
|
|
8275
|
+
_html(`<button${_attr_class([kbtn, "_es"])} title=${onTermPage ? "Sessions" : "\"Back to session\""}${onTermPage ? _attr("popovertarget", sessPopId) : ""}>`);
|
|
8276
8276
|
_set_serialize_reason({
|
|
8277
8277
|
1: $sg__input_agent__OR__input_sessionState,
|
|
8278
8278
|
2: $sg__input_agent__OR__input_sessionState
|
|
@@ -8284,9 +8284,9 @@ var term_default = _template("D", (input) => {
|
|
|
8284
8284
|
});
|
|
8285
8285
|
_html(`<span${_attr_class([
|
|
8286
8286
|
"_y",
|
|
8287
|
-
"
|
|
8287
|
+
"_et",
|
|
8288
8288
|
phase[sessionPhase(input.sessionState)]
|
|
8289
|
-
])}></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", "
|
|
8289
|
+
])}></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", "_eu"])}>`);
|
|
8290
8290
|
_if(() => {
|
|
8291
8291
|
if ((input.sessions || []).length > 0) {
|
|
8292
8292
|
const $scope5_id = _scope_id();
|
|
@@ -8302,7 +8302,7 @@ var term_default = _template("D", (input) => {
|
|
|
8302
8302
|
const $scope6_id = _scope_id();
|
|
8303
8303
|
const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
|
|
8304
8304
|
const $for_content__s_id__closures = /* @__PURE__ */ new Set();
|
|
8305
|
-
_html(`<div${_attr_class(["
|
|
8305
|
+
_html(`<div${_attr_class(["_ew", { ["_ev"]: s.id === input.sessionId }])}>`);
|
|
8306
8306
|
_if(() => {
|
|
8307
8307
|
if (renamingId === s.id) {
|
|
8308
8308
|
const $scope24_id = _scope_id();
|
|
@@ -8318,13 +8318,13 @@ var term_default = _template("D", (input) => {
|
|
|
8318
8318
|
});
|
|
8319
8319
|
_html(`<input${_attr_input_value($scope24_id, "c", renameValue, _resume((_new_renameValue) => {
|
|
8320
8320
|
renameValue = _new_renameValue;
|
|
8321
|
-
}, "D0", $scope24_id))}${_attr_class(["_T", "
|
|
8321
|
+
}, "D0", $scope24_id))}${_attr_class(["_T", "_eB"])} aria-label="Session name">${_el_resume($scope24_id, "c")}`);
|
|
8322
8322
|
_script($scope24_id, "D28");
|
|
8323
8323
|
_subscribe($if_content4__renameValue__closures, writeScope($scope24_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
|
|
8324
8324
|
return 0;
|
|
8325
8325
|
} else {
|
|
8326
8326
|
const $scope7_id = _scope_id();
|
|
8327
|
-
_html(`<button${_attr_class("
|
|
8327
|
+
_html(`<button${_attr_class("_ex")}><span${_attr_class(["_y", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope7_id, "b", $sg__input_sessions)}`);
|
|
8328
8328
|
_set_serialize_reason({
|
|
8329
8329
|
1: $sg__input_sessions,
|
|
8330
8330
|
2: $sg__input_sessions
|
|
@@ -8334,7 +8334,7 @@ var term_default = _template("D", (input) => {
|
|
|
8334
8334
|
agent: activeAgent(s),
|
|
8335
8335
|
size: 14
|
|
8336
8336
|
});
|
|
8337
|
-
_html(`<span${_attr_class("
|
|
8337
|
+
_html(`<span${_attr_class("_ey")}><span${_attr_class("_eA")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope7_id, "f", $sg__input_sessions)}</span>`);
|
|
8338
8338
|
_if(() => {
|
|
8339
8339
|
if (s.id === input.sessionId) {
|
|
8340
8340
|
const $scope23_id = _scope_id();
|
|
@@ -8346,7 +8346,7 @@ var term_default = _template("D", (input) => {
|
|
|
8346
8346
|
const $childScope6 = _peek_scope_id();
|
|
8347
8347
|
usage_pcts_default({
|
|
8348
8348
|
agent: plan,
|
|
8349
|
-
class: "
|
|
8349
|
+
class: "_ez"
|
|
8350
8350
|
});
|
|
8351
8351
|
writeScope($scope26_id, { a: _existing_scope($childScope6) });
|
|
8352
8352
|
return 0;
|
|
@@ -8363,7 +8363,7 @@ var term_default = _template("D", (input) => {
|
|
|
8363
8363
|
_if(() => {
|
|
8364
8364
|
if (input.onRenameSession) {
|
|
8365
8365
|
const $scope25_id = _scope_id();
|
|
8366
|
-
_html(`<button${_attr_class(["
|
|
8366
|
+
_html(`<button${_attr_class(["_eC", "_eD"])} title="Rename session">`);
|
|
8367
8367
|
icon_edit_default({ size: 12 });
|
|
8368
8368
|
_html(`</button>${_el_resume($scope25_id, "a")}`);
|
|
8369
8369
|
_script($scope25_id, "D29");
|
|
@@ -8375,7 +8375,7 @@ var term_default = _template("D", (input) => {
|
|
|
8375
8375
|
if (input.onCloseSession) {
|
|
8376
8376
|
const $scope8_id = _scope_id();
|
|
8377
8377
|
_html(`<button${_attr_class([
|
|
8378
|
-
"
|
|
8378
|
+
"_eC",
|
|
8379
8379
|
"_2",
|
|
8380
8380
|
{ ["_q"]: armedClose === s.id }
|
|
8381
8381
|
])} title=${armedClose === s.id ? "Close?" : "\"Close session\""}>`);
|
|
@@ -8417,7 +8417,7 @@ var term_default = _template("D", (input) => {
|
|
|
8417
8417
|
return 0;
|
|
8418
8418
|
}
|
|
8419
8419
|
}, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions, $sg__input_sessions);
|
|
8420
|
-
_html(`<div${_attr_class("
|
|
8420
|
+
_html(`<div${_attr_class("_eE")}><span${_attr_class("_eF")}>New session</span>`);
|
|
8421
8421
|
_for_of([...input.agents || [], "shell"], (agent) => {
|
|
8422
8422
|
const $scope9_id = _scope_id();
|
|
8423
8423
|
_html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
|
|
@@ -8482,7 +8482,7 @@ var term_default = _template("D", (input) => {
|
|
|
8482
8482
|
overlay: attrTag({ content: _content_resume("D46", () => {
|
|
8483
8483
|
_scope_reason();
|
|
8484
8484
|
const $scope15_id = _scope_id();
|
|
8485
|
-
_html(`<div${_attr("id", $dpadId_getter)} popover=auto${_attr_class("
|
|
8485
|
+
_html(`<div${_attr("id", $dpadId_getter)} popover=auto${_attr_class("_eG")}>`);
|
|
8486
8486
|
forOf(DPAD, (row) => {
|
|
8487
8487
|
const $scope16_id = _scope_id();
|
|
8488
8488
|
forOf(row, (cell) => {
|
|
@@ -8502,7 +8502,7 @@ var term_default = _template("D", (input) => {
|
|
|
8502
8502
|
writeScope($scope18_id, { _: _scope_with_id($scope17_id) });
|
|
8503
8503
|
} else {
|
|
8504
8504
|
const $scope19_id = _scope_id();
|
|
8505
|
-
_html(`<button${_attr_class([repeat, { ["
|
|
8505
|
+
_html(`<button${_attr_class([repeat, { ["_eK"]: cell.icon === "enter" }])}${_attr("title", cell.label)}${_attr("aria-label", cell.label)}>`);
|
|
8506
8506
|
if (cell.icon === "arrow-up") {
|
|
8507
8507
|
_scope_id();
|
|
8508
8508
|
icon_arrow_up_default({ size: 18 });
|
|
@@ -8642,7 +8642,7 @@ var work_view_default = _template("H", (input) => {
|
|
|
8642
8642
|
let DiffView = null;
|
|
8643
8643
|
const loadDiffView = _resume(() => {
|
|
8644
8644
|
if (DiffView) return;
|
|
8645
|
-
import("./
|
|
8645
|
+
import("./_Fhn3V9QC.js").then((m) => {
|
|
8646
8646
|
DiffView = m.default;
|
|
8647
8647
|
});
|
|
8648
8648
|
}, "H6", $scope0_id);
|
|
@@ -9121,7 +9121,7 @@ var work_view_default = _template("H", (input) => {
|
|
|
9121
9121
|
_if(() => {
|
|
9122
9122
|
if (!shownSessions.length && view === "term") {
|
|
9123
9123
|
const $scope7_id = _scope_id();
|
|
9124
|
-
_html(`<div${_attr_class("
|
|
9124
|
+
_html(`<div${_attr_class("_bA")}><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>`);
|
|
9125
9125
|
_script($scope7_id, "H51");
|
|
9126
9126
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
|
|
9127
9127
|
return 0;
|
|
@@ -9131,7 +9131,7 @@ var work_view_default = _template("H", (input) => {
|
|
|
9131
9131
|
return 0;
|
|
9132
9132
|
} else {
|
|
9133
9133
|
const $scope11_id = _scope_id();
|
|
9134
|
-
_html(`<p${_attr_class("
|
|
9134
|
+
_html(`<p${_attr_class("_bA")}>Loading sessions…</p>`);
|
|
9135
9135
|
writeScope($scope11_id, {});
|
|
9136
9136
|
return 1;
|
|
9137
9137
|
}
|
|
@@ -18597,4 +18597,4 @@ server.listen(port, () => {
|
|
|
18597
18597
|
//#endregion
|
|
18598
18598
|
export {};
|
|
18599
18599
|
|
|
18600
|
-
;var __MARKO_MANIFEST__={"
|
|
18600
|
+
;var __MARKO_MANIFEST__={"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-DL7rHeQL.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DL7rHeQL.css\"",">"],"defer":[2,"/assets/w-KOmGuG9T.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-KOmGuG9T.js\"","></script>",2,"modulepreload#/assets/_C6MDqF6r.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C6MDqF6r.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-DL7rHeQL.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DL7rHeQL.css\"",">"],"defer":[2,"/assets/new-KOmGuG9T.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-KOmGuG9T.js\"","></script>",2,"modulepreload#/assets/_C6MDqF6r.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C6MDqF6r.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-DL7rHeQL.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DL7rHeQL.css\"",">"],"defer":[2,"/assets/settings-KOmGuG9T.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-KOmGuG9T.js\"","></script>",2,"modulepreload#/assets/_C6MDqF6r.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C6MDqF6r.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-DL7rHeQL.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DL7rHeQL.css\"",">"],"defer":[2,"/assets/w._-KOmGuG9T.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-KOmGuG9T.js\"","></script>",2,"modulepreload#/assets/_C6MDqF6r.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C6MDqF6r.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-DL7rHeQL.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DL7rHeQL.css\"",">"],"defer":[2,"/assets/w._-CQegKUC3.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-CQegKUC3.js\"","></script>",2,"modulepreload#/assets/_C6MDqF6r.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C6MDqF6r.js\"",">"]}};
|