@dylanpiercey/work 0.0.133 → 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/{_CM_NBV_t.js → _BZpXh6Js.js} +2 -2
- package/dist/{_CdtfdUWD.js → _Boofe5nI.js} +15 -15
- package/dist/{_Dud_1oT_.js → _DwK89Lz-.js} +81 -28
- package/dist/{_D--C0YAu.js → _Fhn3V9QC.js} +13 -13
- package/dist/index.mjs +149 -149
- package/dist/public/assets/{_DE4TfPd_2.js → _0fZEmB9p2.js} +1 -1
- package/dist/public/assets/_0fZEmB9p2.js.br +0 -0
- package/dist/public/assets/{_Dc180U8E.js → _68z4FCtL.js} +1 -1
- package/dist/public/assets/_68z4FCtL.js.br +0 -0
- package/dist/public/assets/{_DtTOv7W8.js → _7ulm5F25.js} +1 -1
- package/dist/public/assets/_7ulm5F25.js.br +0 -0
- package/dist/public/assets/{_BqJwQmzo2.js → _9ekMcw4E2.js} +1 -1
- package/dist/public/assets/_9ekMcw4E2.js.br +0 -0
- package/dist/public/assets/{_Bt_7l3mX.js → _B1NjOKqM.js} +1 -1
- package/dist/public/assets/_B1NjOKqM.js.br +0 -0
- package/dist/public/assets/{_BYCpNqiL.js → _B1dh4BjF.js} +1 -1
- package/dist/public/assets/_B1dh4BjF.js.br +0 -0
- package/dist/public/assets/{_qSvlTqpM.js → _B2TmPLZR.js} +1 -1
- package/dist/public/assets/_B2TmPLZR.js.br +0 -0
- package/dist/public/assets/{_DOXVydQk.js → _B2oJT0Iz.js} +1 -1
- package/dist/public/assets/_B2oJT0Iz.js.br +0 -0
- package/dist/public/assets/{_CeZ5Cp0c.js → _BCBCXuNF.js} +1 -1
- package/dist/public/assets/_BCBCXuNF.js.br +0 -0
- package/dist/public/assets/{_D390gdTI.js → _BECiMBRI.js} +4 -4
- package/dist/public/assets/_BECiMBRI.js.br +0 -0
- package/dist/public/assets/{_Dti7zj_m2.js → _BEE7mDcv2.js} +1 -1
- package/dist/public/assets/_BEE7mDcv2.js.br +0 -0
- package/dist/public/assets/{_BWb8DQ89.js → _BHioPQAc.js} +1 -1
- package/dist/public/assets/_BHioPQAc.js.br +0 -0
- package/dist/public/assets/{_Cgn64O7y2.js → _BLJqnkdL2.js} +1 -1
- package/dist/public/assets/_BLJqnkdL2.js.br +0 -0
- package/dist/public/assets/{_D8lG_qkF.js → _BRgSM65d.js} +1 -1
- package/dist/public/assets/_BRgSM65d.js.br +0 -0
- package/dist/public/assets/{_D7VoWiP32.js → _BTbmN-k-2.js} +1 -1
- package/dist/public/assets/_BTbmN-k-2.js.br +0 -0
- package/dist/public/assets/{_DSm3oEmt.js → _BfpaQCZS.js} +1 -1
- package/dist/public/assets/_BfpaQCZS.js.br +0 -0
- package/dist/public/assets/{_C3rX0kPY.js → _BhXU-Nbg.js} +1 -1
- package/dist/public/assets/_BhXU-Nbg.js.br +0 -0
- package/dist/public/assets/{_WsvU9QbI.js → _BiVy2gzm.js} +1 -1
- package/dist/public/assets/_BiVy2gzm.js.br +0 -0
- package/dist/public/assets/{_CsEEAWm6.js → _BndzfRf5.js} +1 -1
- package/dist/public/assets/_BndzfRf5.js.br +0 -0
- package/dist/public/assets/{_Cr0d_-K72.js → _Boj0LPAV2.js} +1 -1
- package/dist/public/assets/{_336Unliu.js → _BrWQpYKG.js} +1 -1
- package/dist/public/assets/_BrWQpYKG.js.br +0 -0
- package/dist/public/assets/{_B5jJoqyN2.js → _BrtXr1ji2.js} +1 -1
- package/dist/public/assets/_BrtXr1ji2.js.br +0 -0
- package/dist/public/assets/{_hOk60eQo.js → _BuS3Vglx.js} +1 -1
- package/dist/public/assets/_BuS3Vglx.js.br +0 -0
- package/dist/public/assets/{_BitfBqfc.js → _BxpVjKkc.js} +1 -1
- package/dist/public/assets/_BxpVjKkc.js.br +0 -0
- package/dist/public/assets/{_CGFBnyeU2.js → _C001rM4U2.js} +1 -1
- package/dist/public/assets/_C001rM4U2.js.br +0 -0
- package/dist/public/assets/{_fMd05DIW.js → _C0ZA5CMc.js} +1 -1
- package/dist/public/assets/_C0ZA5CMc.js.br +0 -0
- package/dist/public/assets/{_vCWVZzMf.js → _C1QAOE9L.js} +1 -1
- package/dist/public/assets/_C1QAOE9L.js.br +0 -0
- package/dist/public/assets/{_D0zFtirx.js → _C6MDqF6r.js} +5 -5
- package/dist/public/assets/_C6MDqF6r.js.br +0 -0
- package/dist/public/assets/{_BKCWqy_g.js → _C6ws5wwF.js} +1 -1
- package/dist/public/assets/_C6ws5wwF.js.br +0 -0
- package/dist/public/assets/{_DRnRvLVd.js → _CAKHEQZH.js} +1 -1
- package/dist/public/assets/_CAKHEQZH.js.br +0 -0
- package/dist/public/assets/{_Czr_mCv6.js → _CCPtn0et.js} +1 -1
- package/dist/public/assets/_CCPtn0et.js.br +0 -0
- package/dist/public/assets/{_-Y6OQk6f.js → _CEodf7tu.js} +1 -1
- package/dist/public/assets/_CEodf7tu.js.br +0 -0
- package/dist/public/assets/{_DKsD43Py2.js → _CHEDeh4O2.js} +1 -1
- package/dist/public/assets/_CHEDeh4O2.js.br +0 -0
- package/dist/public/assets/{_DNQyz1Dv.js → _CKHv8GUc.js} +1 -1
- package/dist/public/assets/_CKHv8GUc.js.br +0 -0
- package/dist/public/assets/{_CJKYak5x.js → _COhqAPLE.js} +1 -1
- package/dist/public/assets/_COhqAPLE.js.br +0 -0
- package/dist/public/assets/{_DQ8S5Jdr.js → _CauzJ22b.js} +1 -1
- package/dist/public/assets/_CauzJ22b.js.br +0 -0
- package/dist/public/assets/{_DLPKGh342.js → _Cm1ANqbQ2.js} +1 -1
- package/dist/public/assets/_Cm1ANqbQ2.js.br +0 -0
- package/dist/public/assets/{_DJBRxKE2.js → _CsQiYtel.js} +1 -1
- package/dist/public/assets/_CsQiYtel.js.br +0 -0
- package/dist/public/assets/{_BdGb_NIH2.js → _Cv7lWjV32.js} +1 -1
- package/dist/public/assets/_Cv7lWjV32.js.br +0 -0
- package/dist/public/assets/{_yQM2xxWk.js → _CvIyYSuF.js} +1 -1
- package/dist/public/assets/_CvIyYSuF.js.br +0 -0
- package/dist/public/assets/{_DcGlariG.js → _CwaR4-O6.js} +1 -1
- package/dist/public/assets/_CwaR4-O6.js.br +0 -0
- package/dist/public/assets/{_Dp0X0OEj2.js → _CxxWbLuC2.js} +1 -1
- package/dist/public/assets/_CxxWbLuC2.js.br +0 -0
- package/dist/public/assets/{_CsNc62Si.js → _CzbSiMaL.js} +1 -1
- package/dist/public/assets/_CzbSiMaL.js.br +0 -0
- package/dist/public/assets/{_BCKvSty22.js → _Czvgy_oc2.js} +1 -1
- package/dist/public/assets/_Czvgy_oc2.js.br +0 -0
- package/dist/public/assets/{_BQOSbYm82.js → _D3_3zitd2.js} +1 -1
- package/dist/public/assets/_D3_3zitd2.js.br +0 -0
- package/dist/public/assets/{_DAzvTdol.js → _D7CWWH5a.js} +1 -1
- package/dist/public/assets/_D7CWWH5a.js.br +0 -0
- package/dist/public/assets/{_BM_uVAuI.js → _D9BL0gZh.js} +1 -1
- package/dist/public/assets/_D9BL0gZh.js.br +0 -0
- package/dist/public/assets/{_TK_KMjpE.js → _DIEL2YtS.js} +1 -1
- package/dist/public/assets/_DIEL2YtS.js.br +0 -0
- package/dist/public/assets/{_CcRIiU572.js → _DK5vdxh32.js} +1 -1
- package/dist/public/assets/_DK5vdxh32.js.br +0 -0
- package/dist/public/assets/{_6ducUNCS.js → _DXVzDS8p.js} +1 -1
- package/dist/public/assets/_DXVzDS8p.js.br +0 -0
- package/dist/public/assets/{_CnwEDX72.js → _DXsjW21V.js} +1 -1
- package/dist/public/assets/_DXsjW21V.js.br +0 -0
- package/dist/public/assets/{_DWs8yHFx2.js → _Dbh4cPK_2.js} +1 -1
- package/dist/public/assets/_Dbh4cPK_2.js.br +0 -0
- package/dist/public/assets/{_DSAAEdBx.js → _DjkUqeYn.js} +1 -1
- package/dist/public/assets/_DjkUqeYn.js.br +0 -0
- package/dist/public/assets/{_CGqMpQCH2.js → _DlikdYjR2.js} +1 -1
- package/dist/public/assets/_DlikdYjR2.js.br +0 -0
- package/dist/public/assets/{_BmoA9RLw.js → _DotQ9eyD.js} +1 -1
- package/dist/public/assets/_DotQ9eyD.js.br +0 -0
- package/dist/public/assets/{_Bl4c1xqN.js → _Dsh7sPtX.js} +1 -1
- package/dist/public/assets/_Dsh7sPtX.js.br +0 -0
- package/dist/public/assets/{_BL3Yqcs8.js → _DszGB6Nm.js} +1 -1
- package/dist/public/assets/_DszGB6Nm.js.br +0 -0
- package/dist/public/assets/{_DKgp50DK.js → _DtjFcpep.js} +1 -1
- package/dist/public/assets/_DtjFcpep.js.br +0 -0
- package/dist/public/assets/{_C605xYHH.js → _DwLDpDkb.js} +1 -1
- package/dist/public/assets/_DwLDpDkb.js.br +0 -0
- package/dist/public/assets/{_CS8tE97O.js → _DwnnREUT.js} +1 -1
- package/dist/public/assets/_DwnnREUT.js.br +0 -0
- package/dist/public/assets/{_CwxbRHXQ.js → _DzvR3HtZ.js} +1 -1
- package/dist/public/assets/_DzvR3HtZ.js.br +0 -0
- package/dist/public/assets/{_DLCwd_Ai.js → _FFoEJg8c.js} +1 -1
- package/dist/public/assets/{_Co4DpOFA.js → _KlGqeoIr.js} +1 -1
- package/dist/public/assets/_KlGqeoIr.js.br +0 -0
- package/dist/public/assets/{_DQLTL499.js → _WknOXr2p.js} +1 -1
- package/dist/public/assets/_WknOXr2p.js.br +0 -0
- package/dist/public/assets/{_CDqZkwOX.js → _XBtiwca3.js} +1 -1
- package/dist/public/assets/_XBtiwca3.js.br +0 -0
- package/dist/public/assets/{_D-3qr50_.js → _b7W0qIUu.js} +1 -1
- package/dist/public/assets/_b7W0qIUu.js.br +0 -0
- package/dist/public/assets/{_DxyaUwtt.js → _hoypU4ON.js} +1 -1
- package/dist/public/assets/_hoypU4ON.js.br +0 -0
- package/dist/public/assets/{_sAQcXZ9h2.js → _jJgk9rI72.js} +1 -1
- package/dist/public/assets/{_CkHn_zcY2.js → _jzzAY-_W2.js} +1 -1
- package/dist/public/assets/_jzzAY-_W2.js.br +0 -0
- package/dist/public/assets/{_DC3RSJ1J.js → _l8ryHBkA.js} +1 -1
- package/dist/public/assets/_l8ryHBkA.js.br +0 -0
- package/dist/public/assets/{_Ct5fyf0T2.js → _q-MpIvSC2.js} +1 -1
- package/dist/public/assets/_q-MpIvSC2.js.br +0 -0
- package/dist/public/assets/{_C16aaAR72.js → _tEOeZ26b2.js} +1 -1
- package/dist/public/assets/_tEOeZ26b2.js.br +0 -0
- package/dist/public/assets/{_BSnEbg6J2.js → _u8bPqpkk2.js} +1 -1
- package/dist/public/assets/_u8bPqpkk2.js.br +0 -0
- package/dist/public/assets/{_B-lfZPO52.js → _x71nmEt92.js} +1 -1
- package/dist/public/assets/_x71nmEt92.js.br +0 -0
- package/dist/public/assets/{_DFd_RThf2.js → _zUM5lYgT2.js} +1 -1
- package/dist/public/assets/_zUM5lYgT2.js.br +0 -0
- package/dist/public/assets/{__e648QtL.js → _zoKtmmeV.js} +1 -1
- package/dist/public/assets/_zoKtmmeV.js.br +0 -0
- package/dist/public/assets/{app-page-BkhB1v4W.css → app-page-DL7rHeQL.css} +1 -1
- package/dist/public/assets/app-page-DL7rHeQL.css.br +0 -0
- package/dist/public/assets/{diff-view-BZ8j55Fj.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/_B4-5M9y6.js +0 -2
- package/dist/_BTtOB0g5.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
|
-
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) });
|
|
@@ -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("_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 = "
|
|
4693
|
-
var section$1 = "
|
|
4694
|
-
var curBase = "
|
|
4695
|
-
var archived = "
|
|
4696
|
-
var archivedHint = "
|
|
4697
|
-
var archivedCard = "
|
|
4692
|
+
var content$1 = "_bM _bF";
|
|
4693
|
+
var section$1 = "_bQ _bo";
|
|
4694
|
+
var curBase = "_bV _S _R";
|
|
4695
|
+
var archived = "_b0 _bo";
|
|
4696
|
+
var archivedHint = "_b1 _R";
|
|
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,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("_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("
|
|
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({
|
|
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("_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
|
}
|
|
@@ -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("_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. */
|
|
@@ -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,9 +7055,9 @@ 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 = "_eN
|
|
7060
|
-
var pageMeta = "_eO
|
|
7058
|
+
var sectionCount = "_bq _H _I";
|
|
7059
|
+
var content = "_eN _bF";
|
|
7060
|
+
var pageMeta = "_eO _bK";
|
|
7061
7061
|
var pathMeta = "_eR _w";
|
|
7062
7062
|
var dangerHint = "_eW _R";
|
|
7063
7063
|
//#endregion
|
|
@@ -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", () => {
|
|
@@ -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,14 +7387,14 @@ 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
|
}
|
|
@@ -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,14 +7590,14 @@ 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
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")}`);
|
|
@@ -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");
|
|
@@ -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\"",">"]}};
|