@dylanpiercey/work 0.0.133 → 0.0.134
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/_B-QvNFcB.js +2 -0
- package/dist/{_CdtfdUWD.js → _C04hN9Ui.js} +17 -17
- package/dist/_CmQFz3S6.js +2 -0
- package/dist/{_CM_NBV_t.js → _D2Ne8oPk.js} +1 -1
- package/dist/{_D--C0YAu.js → _DBPJnjxF.js} +50 -50
- package/dist/{_Dud_1oT_.js → _wkybTEDR.js} +12 -11
- package/dist/index.mjs +149 -149
- package/dist/public/assets/{_TK_KMjpE.js → _0Sd4iAaq.js} +1 -1
- package/dist/public/assets/_0Sd4iAaq.js.br +0 -0
- package/dist/public/assets/{_B-lfZPO52.js → _2XPzfLYp2.js} +1 -1
- package/dist/public/assets/_2XPzfLYp2.js.br +0 -0
- package/dist/public/assets/{_Dc180U8E.js → _38lLOyV4.js} +1 -1
- package/dist/public/assets/_38lLOyV4.js.br +0 -0
- package/dist/public/assets/{_BM_uVAuI.js → _3M8rHd9q.js} +1 -1
- package/dist/public/assets/_3M8rHd9q.js.br +0 -0
- package/dist/public/assets/{_DtTOv7W8.js → _57VaSNVh.js} +1 -1
- package/dist/public/assets/_57VaSNVh.js.br +0 -0
- package/dist/public/assets/{_B5jJoqyN2.js → _9k941mBT2.js} +1 -1
- package/dist/public/assets/_9k941mBT2.js.br +0 -0
- package/dist/public/assets/{_CcRIiU572.js → _B68ws5JM2.js} +1 -1
- package/dist/public/assets/_B68ws5JM2.js.br +0 -0
- package/dist/public/assets/{_CkHn_zcY2.js → _B8CJtOsm2.js} +1 -1
- package/dist/public/assets/_B8CJtOsm2.js.br +0 -0
- package/dist/public/assets/{_DNQyz1Dv.js → _B9J_gfIE.js} +1 -1
- package/dist/public/assets/_B9J_gfIE.js.br +0 -0
- package/dist/public/assets/{_D8lG_qkF.js → _BAI6pIEH.js} +1 -1
- package/dist/public/assets/_BAI6pIEH.js.br +0 -0
- package/dist/public/assets/{_DKgp50DK.js → _BCzjrlAy.js} +1 -1
- package/dist/public/assets/_BCzjrlAy.js.br +0 -0
- package/dist/public/assets/{_C605xYHH.js → _BOP03gps.js} +1 -1
- package/dist/public/assets/_BOP03gps.js.br +0 -0
- package/dist/public/assets/{_DOXVydQk.js → _BOmDUiov.js} +1 -1
- package/dist/public/assets/_BOmDUiov.js.br +0 -0
- package/dist/public/assets/{_Ct5fyf0T2.js → _BR7X2c7n2.js} +1 -1
- package/dist/public/assets/_BR7X2c7n2.js.br +0 -0
- package/dist/public/assets/{_CGqMpQCH2.js → _BV1EiprI2.js} +1 -1
- package/dist/public/assets/_BV1EiprI2.js.br +0 -0
- package/dist/public/assets/{_6ducUNCS.js → _BWm6t6g5.js} +1 -1
- package/dist/public/assets/_BWm6t6g5.js.br +0 -0
- package/dist/public/assets/{_DAzvTdol.js → _BXT4rVWU.js} +1 -1
- package/dist/public/assets/_BXT4rVWU.js.br +0 -0
- package/dist/public/assets/{_CsEEAWm6.js → _BdlhFWPk.js} +1 -1
- package/dist/public/assets/_BdlhFWPk.js.br +0 -0
- package/dist/public/assets/{_yQM2xxWk.js → _BhUQVKu8.js} +1 -1
- package/dist/public/assets/_BhUQVKu8.js.br +0 -0
- package/dist/public/assets/{_DC3RSJ1J.js → _Bjw4rVxX.js} +1 -1
- package/dist/public/assets/_Bjw4rVxX.js.br +0 -0
- package/dist/public/assets/{_D390gdTI.js → _Bpy8lJQH.js} +6 -6
- package/dist/public/assets/_Bpy8lJQH.js.br +0 -0
- package/dist/public/assets/{_DcGlariG.js → _BsFBQnPe.js} +1 -1
- package/dist/public/assets/_BsFBQnPe.js.br +0 -0
- package/dist/public/assets/{_BQOSbYm82.js → _BwsOUnJq2.js} +1 -1
- package/dist/public/assets/_BwsOUnJq2.js.br +0 -0
- package/dist/public/assets/{_BSnEbg6J2.js → _BzyjsnUO2.js} +1 -1
- package/dist/public/assets/_BzyjsnUO2.js.br +0 -0
- package/dist/public/assets/{_DE4TfPd_2.js → _C0TsHYWM2.js} +1 -1
- package/dist/public/assets/_C0TsHYWM2.js.br +0 -0
- package/dist/public/assets/{_BYCpNqiL.js → _C45W_Lp6.js} +1 -1
- package/dist/public/assets/_C45W_Lp6.js.br +0 -0
- package/dist/public/assets/{_WsvU9QbI.js → _C5N9J9W_.js} +1 -1
- package/dist/public/assets/_C5N9J9W_.js.br +0 -0
- package/dist/public/assets/{_DxyaUwtt.js → _C7yOUMH5.js} +1 -1
- package/dist/public/assets/_C7yOUMH5.js.br +0 -0
- package/dist/public/assets/{_BKCWqy_g.js → _C9FxJoow.js} +1 -1
- package/dist/public/assets/_C9FxJoow.js.br +0 -0
- package/dist/public/assets/{_CS8tE97O.js → _CIn4drK7.js} +1 -1
- package/dist/public/assets/_CIn4drK7.js.br +0 -0
- package/dist/public/assets/{_DFd_RThf2.js → _CJZ6lGU-2.js} +1 -1
- package/dist/public/assets/_CJZ6lGU-2.js.br +0 -0
- package/dist/public/assets/{_qSvlTqpM.js → _CMnrd6fU.js} +1 -1
- package/dist/public/assets/_CMnrd6fU.js.br +0 -0
- package/dist/public/assets/{_DKsD43Py2.js → _CPpT_bAp2.js} +1 -1
- package/dist/public/assets/_CPpT_bAp2.js.br +0 -0
- package/dist/public/assets/{_DSm3oEmt.js → _CUBLnmSA.js} +1 -1
- package/dist/public/assets/_CUBLnmSA.js.br +0 -0
- package/dist/public/assets/{_BmoA9RLw.js → _CUmRJQ35.js} +1 -1
- package/dist/public/assets/_CUmRJQ35.js.br +0 -0
- package/dist/public/assets/{_BitfBqfc.js → _CZZwvo0u.js} +1 -1
- package/dist/public/assets/_CZZwvo0u.js.br +0 -0
- package/dist/public/assets/{_DSAAEdBx.js → _C_bD7OU6.js} +1 -1
- package/dist/public/assets/_C_bD7OU6.js.br +0 -0
- package/dist/public/assets/{_CGFBnyeU2.js → _Ci6_nT4t2.js} +1 -1
- package/dist/public/assets/_Ci6_nT4t2.js.br +0 -0
- package/dist/public/assets/{_Bl4c1xqN.js → _CisgNUxd.js} +1 -1
- package/dist/public/assets/_CisgNUxd.js.br +0 -0
- package/dist/public/assets/{_DQLTL499.js → _Cj36gP3r.js} +1 -1
- package/dist/public/assets/_Cj36gP3r.js.br +0 -0
- package/dist/public/assets/{_CDqZkwOX.js → _CjUGol_X.js} +1 -1
- package/dist/public/assets/_CjUGol_X.js.br +0 -0
- package/dist/public/assets/{_Dti7zj_m2.js → _CoA5CmM72.js} +1 -1
- package/dist/public/assets/_CoA5CmM72.js.br +0 -0
- package/dist/public/assets/{_Cgn64O7y2.js → _CqiVQVB42.js} +1 -1
- package/dist/public/assets/_CqiVQVB42.js.br +0 -0
- package/dist/public/assets/{_Cr0d_-K72.js → _Ct4sne2O2.js} +1 -1
- package/dist/public/assets/{_-Y6OQk6f.js → _CunZWZvv.js} +1 -1
- package/dist/public/assets/_CunZWZvv.js.br +0 -0
- package/dist/public/assets/{_336Unliu.js → _D2zeYViB.js} +1 -1
- package/dist/public/assets/_D2zeYViB.js.br +0 -0
- package/dist/public/assets/{_Bt_7l3mX.js → _D3Hpj9Te.js} +1 -1
- package/dist/public/assets/_D3Hpj9Te.js.br +0 -0
- package/dist/public/assets/{_CwxbRHXQ.js → _DBUO8PvB.js} +1 -1
- package/dist/public/assets/_DBUO8PvB.js.br +0 -0
- package/dist/public/assets/{_fMd05DIW.js → _DFT7BTpC.js} +1 -1
- package/dist/public/assets/_DFT7BTpC.js.br +0 -0
- package/dist/public/assets/{_DJBRxKE2.js → _DQdzo5vx.js} +1 -1
- package/dist/public/assets/_DQdzo5vx.js.br +0 -0
- package/dist/public/assets/{_C16aaAR72.js → _DQqrsLS52.js} +1 -1
- package/dist/public/assets/_DQqrsLS52.js.br +0 -0
- package/dist/public/assets/{_DLPKGh342.js → _DR6v6KT22.js} +1 -1
- package/dist/public/assets/_DR6v6KT22.js.br +0 -0
- package/dist/public/assets/{_BdGb_NIH2.js → _DU8uUGV12.js} +1 -1
- package/dist/public/assets/_DU8uUGV12.js.br +0 -0
- package/dist/public/assets/{_D0zFtirx.js → _DWACLLAl.js} +5 -5
- package/dist/public/assets/_DWACLLAl.js.br +0 -0
- package/dist/public/assets/{_D-3qr50_.js → _DXSlYsr0.js} +1 -1
- package/dist/public/assets/_DXSlYsr0.js.br +0 -0
- package/dist/public/assets/{_CJKYak5x.js → _DaN82C7i.js} +1 -1
- package/dist/public/assets/_DaN82C7i.js.br +0 -0
- package/dist/public/assets/{_DQ8S5Jdr.js → _DlIwuzEd.js} +1 -1
- package/dist/public/assets/_DlIwuzEd.js.br +0 -0
- package/dist/public/assets/{_BL3Yqcs8.js → _Ds61v8vi.js} +1 -1
- package/dist/public/assets/_Ds61v8vi.js.br +0 -0
- package/dist/public/assets/{_D7VoWiP32.js → _Dse6xAP22.js} +1 -1
- package/dist/public/assets/_Dse6xAP22.js.br +0 -0
- package/dist/public/assets/{_Dp0X0OEj2.js → _DubxV47f2.js} +1 -1
- package/dist/public/assets/_DubxV47f2.js.br +0 -0
- package/dist/public/assets/{_DLCwd_Ai.js → _DupM9eEV.js} +1 -1
- package/dist/public/assets/{__e648QtL.js → _KOmqCPbm.js} +1 -1
- package/dist/public/assets/_KOmqCPbm.js.br +0 -0
- package/dist/public/assets/{_CnwEDX72.js → _NrBF2lTC.js} +1 -1
- package/dist/public/assets/_NrBF2lTC.js.br +0 -0
- package/dist/public/assets/{_BqJwQmzo2.js → _Nss91pW_2.js} +1 -1
- package/dist/public/assets/_Nss91pW_2.js.br +0 -0
- package/dist/public/assets/{_CeZ5Cp0c.js → _SlpmB-w5.js} +1 -1
- package/dist/public/assets/_SlpmB-w5.js.br +0 -0
- package/dist/public/assets/{_BWb8DQ89.js → _UuRzi2Pg.js} +1 -1
- package/dist/public/assets/_UuRzi2Pg.js.br +0 -0
- package/dist/public/assets/{_C3rX0kPY.js → _Yk-TslqA.js} +1 -1
- package/dist/public/assets/_Yk-TslqA.js.br +0 -0
- package/dist/public/assets/{_vCWVZzMf.js → _cBrUsk6q.js} +1 -1
- package/dist/public/assets/_cBrUsk6q.js.br +0 -0
- package/dist/public/assets/{_DWs8yHFx2.js → _d-TodGvp2.js} +1 -1
- package/dist/public/assets/_d-TodGvp2.js.br +0 -0
- package/dist/public/assets/{_hOk60eQo.js → _ghOVZPKq.js} +1 -1
- package/dist/public/assets/_ghOVZPKq.js.br +0 -0
- package/dist/public/assets/{_Czr_mCv6.js → _lhQ_uGs7.js} +1 -1
- package/dist/public/assets/_lhQ_uGs7.js.br +0 -0
- package/dist/public/assets/{_Co4DpOFA.js → _m0jpMRnx.js} +1 -1
- package/dist/public/assets/_m0jpMRnx.js.br +0 -0
- package/dist/public/assets/{_CsNc62Si.js → _mzG-3m6a.js} +1 -1
- package/dist/public/assets/_mzG-3m6a.js.br +0 -0
- package/dist/public/assets/{_sAQcXZ9h2.js → _nq_IIC6O2.js} +1 -1
- package/dist/public/assets/{_DRnRvLVd.js → _q9s2TQk5.js} +1 -1
- package/dist/public/assets/_q9s2TQk5.js.br +0 -0
- package/dist/public/assets/{_BCKvSty22.js → _sMtpt30w2.js} +1 -1
- package/dist/public/assets/_sMtpt30w2.js.br +0 -0
- package/dist/public/assets/{app-page-BkhB1v4W.css → app-page-CMazjI1P.css} +1 -1
- package/dist/public/assets/app-page-CMazjI1P.css.br +0 -0
- package/dist/public/assets/{diff-view-BZ8j55Fj.css → diff-view-BhaHll01.css} +1 -1
- package/dist/public/assets/diff-view-BhaHll01.css.br +0 -0
- package/dist/public/assets/new-DUxUh5q7.js +1 -0
- package/dist/public/assets/settings-DUxUh5q7.js +1 -0
- package/dist/public/assets/w-DUxUh5q7.js +1 -0
- package/dist/public/assets/w._-BpgzbM86.js +1 -0
- package/dist/public/assets/w._-DUxUh5q7.js +1 -0
- package/package.json +1 -1
- package/dist/_B4-5M9y6.js +0 -2
- package/dist/_DaZ1KKTE.js +0 -2
- package/dist/public/assets/_-Y6OQk6f.js.br +0 -0
- package/dist/public/assets/_336Unliu.js.br +0 -0
- package/dist/public/assets/_6ducUNCS.js.br +0 -0
- package/dist/public/assets/_B-lfZPO52.js.br +0 -0
- package/dist/public/assets/_B5jJoqyN2.js.br +0 -0
- package/dist/public/assets/_BCKvSty22.js.br +0 -0
- package/dist/public/assets/_BKCWqy_g.js.br +0 -0
- package/dist/public/assets/_BL3Yqcs8.js.br +0 -0
- package/dist/public/assets/_BM_uVAuI.js.br +0 -0
- package/dist/public/assets/_BQOSbYm82.js.br +0 -0
- package/dist/public/assets/_BSnEbg6J2.js.br +0 -0
- package/dist/public/assets/_BWb8DQ89.js.br +0 -0
- package/dist/public/assets/_BYCpNqiL.js.br +0 -0
- package/dist/public/assets/_BdGb_NIH2.js.br +0 -0
- package/dist/public/assets/_BitfBqfc.js.br +0 -0
- package/dist/public/assets/_Bl4c1xqN.js.br +0 -0
- package/dist/public/assets/_BmoA9RLw.js.br +0 -0
- package/dist/public/assets/_BqJwQmzo2.js.br +0 -0
- package/dist/public/assets/_Bt_7l3mX.js.br +0 -0
- package/dist/public/assets/_C16aaAR72.js.br +0 -0
- package/dist/public/assets/_C3rX0kPY.js.br +0 -0
- package/dist/public/assets/_C605xYHH.js.br +0 -0
- package/dist/public/assets/_CDqZkwOX.js.br +0 -0
- package/dist/public/assets/_CGFBnyeU2.js.br +0 -0
- package/dist/public/assets/_CGqMpQCH2.js.br +0 -0
- package/dist/public/assets/_CJKYak5x.js.br +0 -0
- package/dist/public/assets/_CS8tE97O.js.br +0 -0
- package/dist/public/assets/_CcRIiU572.js.br +0 -0
- package/dist/public/assets/_CeZ5Cp0c.js.br +0 -0
- package/dist/public/assets/_Cgn64O7y2.js.br +0 -0
- package/dist/public/assets/_CkHn_zcY2.js.br +0 -0
- package/dist/public/assets/_CnwEDX72.js.br +0 -0
- package/dist/public/assets/_Co4DpOFA.js.br +0 -0
- package/dist/public/assets/_CsEEAWm6.js.br +0 -0
- package/dist/public/assets/_CsNc62Si.js.br +0 -0
- package/dist/public/assets/_Ct5fyf0T2.js.br +0 -0
- package/dist/public/assets/_CwxbRHXQ.js.br +0 -0
- package/dist/public/assets/_Czr_mCv6.js.br +0 -0
- package/dist/public/assets/_D-3qr50_.js.br +0 -0
- package/dist/public/assets/_D0zFtirx.js.br +0 -0
- package/dist/public/assets/_D390gdTI.js.br +0 -0
- package/dist/public/assets/_D7VoWiP32.js.br +0 -0
- package/dist/public/assets/_D8lG_qkF.js.br +0 -0
- package/dist/public/assets/_DAzvTdol.js.br +0 -0
- package/dist/public/assets/_DC3RSJ1J.js.br +0 -0
- package/dist/public/assets/_DE4TfPd_2.js.br +0 -0
- package/dist/public/assets/_DFd_RThf2.js.br +0 -0
- package/dist/public/assets/_DJBRxKE2.js.br +0 -0
- package/dist/public/assets/_DKgp50DK.js.br +0 -0
- package/dist/public/assets/_DKsD43Py2.js.br +0 -0
- package/dist/public/assets/_DLPKGh342.js.br +0 -0
- package/dist/public/assets/_DNQyz1Dv.js.br +0 -0
- package/dist/public/assets/_DOXVydQk.js.br +0 -0
- package/dist/public/assets/_DQ8S5Jdr.js.br +0 -0
- package/dist/public/assets/_DQLTL499.js.br +0 -0
- package/dist/public/assets/_DRnRvLVd.js.br +0 -0
- package/dist/public/assets/_DSAAEdBx.js.br +0 -0
- package/dist/public/assets/_DSm3oEmt.js.br +0 -0
- package/dist/public/assets/_DWs8yHFx2.js.br +0 -0
- package/dist/public/assets/_Dc180U8E.js.br +0 -0
- package/dist/public/assets/_DcGlariG.js.br +0 -0
- package/dist/public/assets/_Dp0X0OEj2.js.br +0 -0
- package/dist/public/assets/_DtTOv7W8.js.br +0 -0
- package/dist/public/assets/_Dti7zj_m2.js.br +0 -0
- package/dist/public/assets/_DxyaUwtt.js.br +0 -0
- package/dist/public/assets/_TK_KMjpE.js.br +0 -0
- package/dist/public/assets/_WsvU9QbI.js.br +0 -0
- package/dist/public/assets/__e648QtL.js.br +0 -0
- package/dist/public/assets/_fMd05DIW.js.br +0 -0
- package/dist/public/assets/_hOk60eQo.js.br +0 -0
- package/dist/public/assets/_qSvlTqpM.js.br +0 -0
- package/dist/public/assets/_vCWVZzMf.js.br +0 -0
- package/dist/public/assets/_yQM2xxWk.js.br +0 -0
- package/dist/public/assets/app-page-BkhB1v4W.css.br +0 -0
- package/dist/public/assets/diff-view-BZ8j55Fj.css.br +0 -0
- package/dist/public/assets/new-DEzYPlB7.js +0 -1
- package/dist/public/assets/settings-DEzYPlB7.js +0 -1
- package/dist/public/assets/w-DEzYPlB7.js +0 -1
- package/dist/public/assets/w._-CYc55EZn.js +0 -1
- package/dist/public/assets/w._-DEzYPlB7.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
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 "./_BBmEhpPH.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 "./
|
|
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 "./
|
|
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 "./_wkybTEDR.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 "./_D2Ne8oPk.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 "./_C04hN9Ui.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 _bp _bq";
|
|
2329
|
+
var agentGrid = "_ci _bA";
|
|
2330
|
+
var toolGrid = "_cs _bA";
|
|
2331
2331
|
var themeSeg = "_cH _6";
|
|
2332
2332
|
var swatches = "_cP _6";
|
|
2333
|
-
var checkList = "_de
|
|
2333
|
+
var checkList = "_de _bA";
|
|
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("_br")}>`);
|
|
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("_bt")}><h1${_attr("id", input.titleId)}${_attr_class("_bs")}>${_escape(input.title)}${_el_resume($scope0_id, "e", _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
|
|
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("_bu")}>`);
|
|
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("_bv")}>`);
|
|
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) });
|
|
@@ -2534,7 +2534,7 @@ var usage_meters_default = _template("F", (input) => {
|
|
|
2534
2534
|
q: $si__input_agent && agent?.note
|
|
2535
2535
|
});
|
|
2536
2536
|
});
|
|
2537
|
-
var orgSkip = "
|
|
2537
|
+
var orgSkip = "_fr _1 _j";
|
|
2538
2538
|
//#endregion
|
|
2539
2539
|
//#region src/tags/sso-auth.marko
|
|
2540
2540
|
var api$7;
|
|
@@ -2581,14 +2581,14 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2581
2581
|
localCode = null;
|
|
2582
2582
|
}
|
|
2583
2583
|
}, "B0", $scope0_id);
|
|
2584
|
-
_html(`<div${_attr_class("
|
|
2584
|
+
_html(`<div${_attr_class("_fo")}>`);
|
|
2585
2585
|
_if(() => {
|
|
2586
2586
|
if (input.items.length) {
|
|
2587
2587
|
const $scope1_id = _scope_id();
|
|
2588
|
-
_html(`<p${_attr_class("
|
|
2588
|
+
_html(`<p${_attr_class("_fz")}>GitHub CLI needs org SSO for ${_sep($sg__input_items)}${_escape(input.items.map((s) => s.org).join(", "))}${_el_resume($scope1_id, "b", $sg__input_items)}.</p><ul${_attr_class("_fp")}>`);
|
|
2589
2589
|
_for_of(input.items, (s) => {
|
|
2590
2590
|
const $scope2_id = _scope_id();
|
|
2591
|
-
_html(`<li${_attr_class("
|
|
2591
|
+
_html(`<li${_attr_class("_fq")}>${_escape(s.org)}${_el_resume($scope2_id, "b", $sg__input_items)}<button type=button${_attr_class(orgSkip)}${_attr("title", `Skip ${s.org}`)}${_attr("aria-label", `Skip ${s.org}`)}${_attr("disabled", busy)}>`);
|
|
2592
2592
|
icon_xmark_default({ size: 11 });
|
|
2593
2593
|
_html(`</button>${_el_resume($scope2_id, "c")}</li>`);
|
|
2594
2594
|
_script($scope2_id, "B1");
|
|
@@ -2597,17 +2597,17 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2597
2597
|
_: _scope_with_id($scope1_id)
|
|
2598
2598
|
}));
|
|
2599
2599
|
}, "org", $scope1_id, "c", $sg__input_items, $sg__input_items, $sg__input_items, "</ul>", 1);
|
|
2600
|
-
_html(`<div${_attr_class("
|
|
2600
|
+
_html(`<div${_attr_class("_fs")}>`);
|
|
2601
2601
|
_if(() => {
|
|
2602
2602
|
if (localBusy && localCode) {
|
|
2603
2603
|
const $scope5_id = _scope_id();
|
|
2604
|
-
_html(`<span${_attr_class("
|
|
2604
|
+
_html(`<span${_attr_class("_ft")}><span${_attr_class("_E")}></span> Enter code <strong${_attr_class("_fu")}>${_escape(localCode)}${_el_resume($scope5_id, "d")}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_fv")}>${_escape(host)}${_el_resume($scope5_id, "f", _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope5_id, "e")}</span>`);
|
|
2605
2605
|
_script($scope5_id, "B2");
|
|
2606
2606
|
_subscribe($localCode__closures, _subscribe($si__input_items_0_host && $host__closures, writeScope($scope5_id, {})));
|
|
2607
2607
|
return 0;
|
|
2608
2608
|
} else if (localBusy) {
|
|
2609
2609
|
const $scope8_id = _scope_id();
|
|
2610
|
-
_html(`<span${_attr_class("
|
|
2610
|
+
_html(`<span${_attr_class("_ft")}><span${_attr_class("_E")}></span>Starting GitHub re-authorization…</span>`);
|
|
2611
2611
|
writeScope($scope8_id, {});
|
|
2612
2612
|
return 1;
|
|
2613
2613
|
} else if (!busy) {
|
|
@@ -2621,7 +2621,7 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2621
2621
|
_if(() => {
|
|
2622
2622
|
if (localError) {
|
|
2623
2623
|
const $scope6_id = _scope_id();
|
|
2624
|
-
_html(`<p${_attr_class("
|
|
2624
|
+
_html(`<p${_attr_class("_fz")}>${_escape(localError)}${_el_resume($scope6_id, "b")}</p>`);
|
|
2625
2625
|
_subscribe($localError__closures, writeScope($scope6_id, {}));
|
|
2626
2626
|
return 0;
|
|
2627
2627
|
}
|
|
@@ -2633,10 +2633,10 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2633
2633
|
_if(() => {
|
|
2634
2634
|
if (skipped$1.length) {
|
|
2635
2635
|
const $scope3_id = _scope_id();
|
|
2636
|
-
_html(`<p${_attr_class("
|
|
2636
|
+
_html(`<p${_attr_class("_fw")}>Skipped SSO for `);
|
|
2637
2637
|
_for_of(skipped$1, (s) => {
|
|
2638
2638
|
const $scope4_id = _scope_id();
|
|
2639
|
-
_html(`<span${_attr_class("
|
|
2639
|
+
_html(`<span${_attr_class("_fx")}>${_escape(s.org)}${_el_resume($scope4_id, "b", $sg__input_skipped)}<button type=button${_attr_class("_fy")}${_attr("title", `Show ${s.org} again`)}>(undo)</button>${_el_resume($scope4_id, "c")}</span>`);
|
|
2640
2640
|
_script($scope4_id, "B4");
|
|
2641
2641
|
writeScope($scope4_id, {
|
|
2642
2642
|
f: s?.org,
|
|
@@ -2791,7 +2791,7 @@ var prompt_dialog_default = _template("u", (input) => {
|
|
|
2791
2791
|
const $childScope = _peek_scope_id();
|
|
2792
2792
|
modal_view_default({
|
|
2793
2793
|
label: input.label,
|
|
2794
|
-
class: "
|
|
2794
|
+
class: "_fm",
|
|
2795
2795
|
open: input.open,
|
|
2796
2796
|
openChange: input.openChange,
|
|
2797
2797
|
"aria-labelledby": titleId,
|
|
@@ -2814,7 +2814,7 @@ var prompt_dialog_default = _template("u", (input) => {
|
|
|
2814
2814
|
content: _content("u6", () => {
|
|
2815
2815
|
_scope_reason();
|
|
2816
2816
|
const $scope2_id = _scope_id();
|
|
2817
|
-
_html(`<h2${_attr_class("
|
|
2817
|
+
_html(`<h2${_attr_class("_fn")}${_attr("id", titleId)}>${_escape(input.label)}${_el_resume($scope2_id, "b", $sg__input_label)}</h2><input${_attr_input_value($scope2_id, "c", value, _resume((_new_value) => {
|
|
2818
2818
|
value = _new_value;
|
|
2819
2819
|
}, "u0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
|
|
2820
2820
|
_script($scope2_id, "u4");
|
|
@@ -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("_bn")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bo")}><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("_bx")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_by")}><h2${_attr("id", agentsId)}${_attr_class("_bL")}>Agents</h2><div${_attr_class("_x")}></div><label${_attr_class("_ck")}><span${_attr_class("_R")}>Default</span><span${_attr_class("_m")}>`);
|
|
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(["_bC", "_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("_bD")}><span${_attr_class("_bF")}><span${_attr_class("_bE")}>${_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("_bG")}>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(["_bC", "_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("_bI")}><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("_bI")}>${_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("_bx")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_by")}><h2${_attr("id", githubId)}${_attr_class("_bL")}>GitHub</h2></div><ul${_attr_class("_bA")}>`);
|
|
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(["_bC", "_cB"])}><div${_attr_class("_cC")}><div${_attr_class("_bD")}><span${_attr_class("_bF")}><span${_attr_class(["_bE", "_w"])}>${_escape(h.host)}${_el_resume($scope12_id, "f")}</span>`);
|
|
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("_bG")}>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("_bG")}>${_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
|
+
"_bH",
|
|
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("_bI")}>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("_bD")}><span${_attr_class("_cu")}>Auto-push</span><span${_attr_class("_bG")}>Every commit on a workspace branch goes to origin. A push that fails shows on the workspace.</span></div><button${_attr_class([
|
|
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("_bx")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_by")}><h2${_attr("id", machineId)}${_attr_class("_bL")}><button${_attr_class("_cf")} aria-expanded=${machineOpen ? "true" : "false"}>`);
|
|
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("_bI")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${active.has("mise") ? "Installing…" : "Install mise"}${_el_resume($scope17_id, "c")}</button>${_el_resume($scope17_id, "b")}</p>`);
|
|
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("_bD")}><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("_bG")}${_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("_bI")}>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("_bx")}${_attr("aria-labelledby", skillsId)}><div${_attr_class("_by")}><h2${_attr("id", skillsId)}${_attr_class("_bL")}><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("_bx")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_by")}><h2${_attr("id", appearanceId)}${_attr_class("_bL")}>Appearance</h2></div><div${_attr_class(["_bC", "_cD"])}><label${_attr_class("_cE")}><span${_attr_class("_cF")}>Name</span><input${_attr_input_value($scope0_id, "ap", input.instance.name, _resume(function(v) {
|
|
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("_bx")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_by")}><h2${_attr("id", backupId)}${_attr_class("_bL")}>Backup</h2></div><ul${_attr_class("_bA")}><li${_attr_class(["_bC", "_c2"])}><div${_attr_class("_c3")}><div${_attr_class("_bD")}><span${_attr_class("_bE")}>Export</span>`);
|
|
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("_bG")}>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("_bE")}>${_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(["_bC", "_c2"])}><div${_attr_class("_c3")}><div${_attr_class("_bD")}><span${_attr_class("_bE")}>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("_bG")}>${_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("_bG")}>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("_bD")}><span${_attr_class("_bF")}><span${_attr_class("_bE")}>${_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("_bG")}>${_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("_bI")}>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("_bD")}><span${_attr_class("_bE")}>${_escape(p.label)}${_el_resume($scope74_id, "e")}</span><span${_attr_class("_bG")}>`);
|
|
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 = "
|
|
4693
|
-
var section$1 = "
|
|
4694
|
-
var curBase = "
|
|
4695
|
-
var archived = "
|
|
4696
|
-
var archivedHint = "
|
|
4697
|
-
var archivedCard = "
|
|
4692
|
+
var content$1 = "_bM _bp";
|
|
4693
|
+
var section$1 = "_bQ _bx";
|
|
4694
|
+
var curBase = "_bV _S _R";
|
|
4695
|
+
var archived = "_b0 _bx";
|
|
4696
|
+
var archivedHint = "_b1 _R";
|
|
4697
|
+
var archivedCard = "_b2 _bC";
|
|
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("_bI")}><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("_bI")}>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("_bI")}>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("_bL")}>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("_bn")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bo")}><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,23 +5539,23 @@ 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("
|
|
5542
|
+
_html(`<label${_attr_class("_bP")}><span${_attr_class("_bL")}>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("
|
|
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("_bL")}>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({
|
|
5548
5548
|
size: 14,
|
|
5549
5549
|
class: catalogRefreshing && "_D"
|
|
5550
5550
|
});
|
|
5551
|
-
_html(`</button>${_el_resume($scope0_id, "l")}</div><ul${_attr_class("
|
|
5551
|
+
_html(`</button>${_el_resume($scope0_id, "l")}</div><ul${_attr_class("_bS")}>`);
|
|
5552
5552
|
_for_of(selected, (repo) => {
|
|
5553
5553
|
const $scope4_id = _scope_id();
|
|
5554
|
-
_html(`<li><div${_attr_class(row)}><span${_attr_class("
|
|
5554
|
+
_html(`<li><div${_attr_class(row)}><span${_attr_class("_bT")}>${_escape(repoLabel(repo.fullName))}${_el_resume($scope4_id, "c")}</span>`);
|
|
5555
5555
|
_if(() => {
|
|
5556
5556
|
if (repo.fork !== void 0) {
|
|
5557
5557
|
const $scope5_id = _scope_id();
|
|
5558
|
-
_html(`<button${_attr_class(["
|
|
5558
|
+
_html(`<button${_attr_class(["_bW", { ["_bU"]: repo.fork }])}${repo.fork ? _attr("title", `${repo.fullName} will be forked to your account; click to clone as-is instead`) : _attr("title", `Fork ${repo.fullName} to your account and clone the fork`)} aria-pressed=${repo.fork ? "true" : "false"}${_attr("disabled", busy)}>`);
|
|
5559
5559
|
_if(() => {
|
|
5560
5560
|
if (repo.fork) {
|
|
5561
5561
|
const $scope14_id = _scope_id();
|
|
@@ -5578,7 +5578,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5578
5578
|
_html(`<button${_attr_class([
|
|
5579
5579
|
curBase,
|
|
5580
5580
|
"_w",
|
|
5581
|
-
{ ["
|
|
5581
|
+
{ ["_bU"]: branchesFor === repo.fullName }
|
|
5582
5582
|
])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}>`);
|
|
5583
5583
|
icon_branch_default({ size: 12 });
|
|
5584
5584
|
_html(`<!>${repo.baseBranch ? `${_escape(`${_to_text(" ")}`)}${_escape(`${_to_text(repo.baseBranch)}`)}` : ""}${_el_resume($scope4_id, "g")}</button>${_el_resume($scope4_id, "e")}<button${_attr_class([iconBtnXs, "_2"])}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>`);
|
|
@@ -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("_bI")}>No repos yet. Search below to add one, or create it empty.</li>`);
|
|
5618
5618
|
writeScope($scope16_id, {});
|
|
5619
5619
|
return 0;
|
|
5620
5620
|
}
|
|
@@ -5639,10 +5639,10 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5639
5639
|
_if(() => {
|
|
5640
5640
|
if (busy && steps.length) {
|
|
5641
5641
|
const $scope11_id = _scope_id();
|
|
5642
|
-
_html(`<ul${_attr_class("
|
|
5642
|
+
_html(`<ul${_attr_class("_bX")}>`);
|
|
5643
5643
|
_for_of(steps, (step, i) => {
|
|
5644
5644
|
const $scope12_id = _scope_id();
|
|
5645
|
-
_html(`<li${_attr_class(["
|
|
5645
|
+
_html(`<li${_attr_class(["_b3", { ["_bY"]: i === steps.length - 1 }])}>`);
|
|
5646
5646
|
_if(() => {
|
|
5647
5647
|
if (i === steps.length - 1) {
|
|
5648
5648
|
const $scope17_id = _scope_id();
|
|
@@ -5651,7 +5651,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5651
5651
|
return 0;
|
|
5652
5652
|
} else {
|
|
5653
5653
|
const $scope18_id = _scope_id();
|
|
5654
|
-
_html(`<span${_attr_class("
|
|
5654
|
+
_html(`<span${_attr_class("_bZ")}>`);
|
|
5655
5655
|
icon_check_default({ size: 14 });
|
|
5656
5656
|
_html("</span>");
|
|
5657
5657
|
writeScope($scope18_id, {});
|
|
@@ -5665,7 +5665,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5665
5665
|
return 0;
|
|
5666
5666
|
}
|
|
5667
5667
|
}, $scope0_id, "s", 1, 1, 1, 0, 1);
|
|
5668
|
-
_html(`<div${_attr_class("
|
|
5668
|
+
_html(`<div${_attr_class("_bN")}>`);
|
|
5669
5669
|
_if(() => {
|
|
5670
5670
|
if (input.onExit || busy) {
|
|
5671
5671
|
const $scope1_id = _scope_id();
|
|
@@ -5678,15 +5678,15 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5678
5678
|
_html(`<button type=button${_attr_class([
|
|
5679
5679
|
btnLg,
|
|
5680
5680
|
"_p",
|
|
5681
|
-
"
|
|
5681
|
+
"_bO"
|
|
5682
5682
|
])}${_attr("disabled", busy || !!restoring || !name.trim())}>${busy ? "Creating…" : "Create workspace"}${_el_resume($scope0_id, "w")}</button>${_el_resume($scope0_id, "v")}</div>`);
|
|
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("
|
|
5686
|
+
_html(`<section${_attr_class(archived)}><div${_attr_class("_bR")}><h2${_attr_class("_bL")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_escape(archived$1.length)}${_el_resume($scope6_id, "e", $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore an archived workspace instead of creating a new one.</p><ul${_attr_class("_bA")}>`);
|
|
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("_bD")}><span${_attr_class("_bE")}>${_escape(ws.name)}${_el_resume($scope7_id, "d", $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_w"])}${_attr("title", ws.display_path || ws.path)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope7_id, "f", $sg__input_workspaces)}</span>${_el_resume($scope7_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnLg)}${_attr("disabled", busy || !!restoring)}>`);
|
|
5690
5690
|
_if(() => {
|
|
5691
5691
|
if (restoring === ws.id) {
|
|
5692
5692
|
const $scope19_id = _scope_id();
|
|
@@ -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
|
+
"_f4",
|
|
5930
5930
|
input.class,
|
|
5931
|
-
{ ["
|
|
5931
|
+
{ ["_f5"]: 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("_f6")}>`);
|
|
5936
5936
|
_if(() => {
|
|
5937
5937
|
if (i) {
|
|
5938
5938
|
const $scope3_id = _scope_id();
|
|
5939
|
-
_html(`<span${_attr_class("
|
|
5939
|
+
_html(`<span${_attr_class("_f9")} 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("_f7")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_f8", 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) });
|
|
@@ -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(["_bL", "_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(["_bL", "_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 = "_bz _H _I";
|
|
7059
|
+
var content = "_ei _bp";
|
|
7060
|
+
var pageMeta = "_ej _bu";
|
|
7061
|
+
var pathMeta = "_em _w";
|
|
7062
|
+
var dangerHint = "_er _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("_bn")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bo")}><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("_ek")}>${_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("_el")} 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("_bw")}><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("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Workspace</h2></div><div${_attr_class("_eq")}>`);
|
|
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("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Repos</h2><span${_attr_class(sectionCount)}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "s")}</span><div${_attr_class("_x")}></div><button${_attr_class(iconBtn)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
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("_bA")}>`);
|
|
7334
7334
|
_for_of(ws.repos, (row) => {
|
|
7335
7335
|
const $scope1_id = _scope_id();
|
|
7336
|
-
_html(`<li${_attr_class("
|
|
7336
|
+
_html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}><span${_attr_class(["_bE", "_w"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bF")}><a${_attr_class(["_bG", "_eo"])}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_escape(repoLabel(row.full_name))}${_el_resume($scope1_id, "g")}</a>${_el_resume($scope1_id, "f")}`);
|
|
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
|
+
"_bH",
|
|
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(["_bC", "_bB"])}><span${_attr_class("_E")}></span><div${_attr_class("_bD")}><span${_attr_class("_bG")}>Adding <!>${_escape(name)}${_el_resume($scope25_id, "e")}…</span></div></li>`);
|
|
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("_bI")}>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("_en")}>`);
|
|
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("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>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("_bA")}>`);
|
|
7433
7433
|
_for_of(wsSkills, (s) => {
|
|
7434
7434
|
const $scope3_id = _scope_id();
|
|
7435
|
-
_html(`<li${_attr_class("
|
|
7435
|
+
_html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}><span${_attr_class(["_bE", "_w"])}>${_escape(s.name)}${_el_resume($scope3_id, "d")}</span><span${_attr_class("_bF")}>`);
|
|
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("_bG")}${_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(["_bG", "_eo"])}${_attr("href", s.sourceUrl)} target=_blank rel=noopener${_attr("title", `Open ${s.source} on GitHub`)}>${_escape(s.source)}${_el_resume($scope32_id, "b")}</a>${_el_resume($scope32_id, "a")}`);
|
|
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
|
+
"_bH",
|
|
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("_bA")}>`);
|
|
7535
7535
|
_for_of(repoSkills, (s) => {
|
|
7536
7536
|
const $scope5_id = _scope_id();
|
|
7537
|
-
_html(`<li${_attr_class("
|
|
7537
|
+
_html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}><span${_attr_class(["_bE", "_w"])}>${_escape(s.name)}${_el_resume($scope5_id, "d")}</span><span${_attr_class("_bF")}><span${_attr_class(["_bG", "_w"])}>${_escape(s.worktree)}${_el_resume($scope5_id, "g")}/</span>`);
|
|
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("_bG")}${_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("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Running</h2><span${_attr_class(sectionCount)}>${_escape(running.length)}${_el_resume($scope16_id, "e")}</span></div><ul${_attr_class("_bA")}>`);
|
|
7594
7594
|
_for_of(running, (p) => {
|
|
7595
7595
|
const $scope17_id = _scope_id();
|
|
7596
|
-
_html(`<li${_attr_class("
|
|
7596
|
+
_html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}${_attr("title", p.args)}><span${_attr_class(["_bE", "_w"])}>${_escape(p.cmd)}${_el_resume($scope17_id, "d")}</span>`);
|
|
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("_bF")}>`);
|
|
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", "_ep"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope41_id, "b")}</button>${_el_resume($scope41_id, "a")}`);
|
|
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(["_bH", "_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 = "_fh _fg";
|
|
7694
|
+
var repeat = "_fi _fg";
|
|
7695
|
+
var dpadEsc = "_fk _fg";
|
|
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
|
+
"_gP",
|
|
7733
|
+
keybar ? "_gR" : "_gQ",
|
|
7734
|
+
!open && "_gT"
|
|
7735
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_gK", keybar ? "_gS" : "_gM"])}><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 && "_gU"])} 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 && "_gV"])} 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 && "_gV"])} 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 && "_gV"])} 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("_eS")}><div${_attr_class("_eT")}></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("_eZ")}>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("_eY")}>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("_e0")}><div${_attr_class("_e1")}><p${_attr_class("_fl")}>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, "_e2"])} 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
|
+
"_e3",
|
|
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", "_e4"])}>`);
|
|
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(["_e6", { ["_e5"]: 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", "_fa"])} 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("_e7")}><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("_e8")}><span${_attr_class("_e_")}>${_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: "_e9"
|
|
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(["_fb", "_fc"])} 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
|
+
"_fb",
|
|
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("_fd")}><span${_attr_class("_fe")}>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("_ff")}>`);
|
|
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, { ["_fj"]: 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("./_DBPJnjxF.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("_bJ")}><span>No sessions in this workspace.</span><button${_attr_class(["_o", "_p"])}${_attr("disabled", spawning)}>${spawning ? "Starting…" : `Start ${_escape(`${input.preferred || "shell"}`)}`}${_el_resume($scope7_id, "c")}</button>${_el_resume($scope7_id, "b")}</div>`);
|
|
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("_bJ")}>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__={"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-CMazjI1P.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CMazjI1P.css\"",">"],"defer":[2,"/assets/new-DUxUh5q7.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-DUxUh5q7.js\"","></script>",2,"modulepreload#/assets/_DWACLLAl.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DWACLLAl.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-CMazjI1P.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CMazjI1P.css\"",">"],"defer":[2,"/assets/settings-DUxUh5q7.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-DUxUh5q7.js\"","></script>",2,"modulepreload#/assets/_DWACLLAl.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DWACLLAl.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-CMazjI1P.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CMazjI1P.css\"",">"],"defer":[2,"/assets/w._-DUxUh5q7.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-DUxUh5q7.js\"","></script>",2,"modulepreload#/assets/_DWACLLAl.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DWACLLAl.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-CMazjI1P.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CMazjI1P.css\"",">"],"defer":[2,"/assets/w._-BpgzbM86.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-BpgzbM86.js\"","></script>",2,"modulepreload#/assets/_DWACLLAl.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DWACLLAl.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-CMazjI1P.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CMazjI1P.css\"",">"],"defer":[2,"/assets/w-DUxUh5q7.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-DUxUh5q7.js\"","></script>",2,"modulepreload#/assets/_DWACLLAl.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DWACLLAl.js\"",">"]}};
|