@dylanpiercey/work 0.0.87 → 0.0.88
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/bin/work.mjs +9 -0
- package/dist/{_CExzMbX7.js → _BdPU13C_.js} +16 -2
- package/dist/{_DA4jJP-k.js → _CoU5siEE.js} +4 -4
- package/dist/{_CGQWSq7x.js → _Cz8F94WW.js} +67 -67
- package/dist/_Dj0ybKwE.js +2 -0
- package/dist/index.mjs +162 -162
- package/dist/public/assets/{_BiIzmSt-.js → _07qJecSc.js} +1 -1
- package/dist/public/assets/_07qJecSc.js.br +0 -0
- package/dist/public/assets/{_BRMTGLhC.js → _B04Rz6or.js} +1 -1
- package/dist/public/assets/_B04Rz6or.js.br +0 -0
- package/dist/public/assets/{_DOyko_7k.js → _B07KnwWv.js} +1 -1
- package/dist/public/assets/{_BJG4qcrP.js → _B1fvNVfH.js} +1 -1
- package/dist/public/assets/_B1fvNVfH.js.br +0 -0
- package/dist/public/assets/{_Ciq2ywTg2.js → _B8HQGdOD2.js} +1 -1
- package/dist/public/assets/_B8HQGdOD2.js.br +0 -0
- package/dist/public/assets/{_Dt4Da0qD.js → _B9D_0ZQr.js} +1 -1
- package/dist/public/assets/_B9D_0ZQr.js.br +0 -0
- package/dist/public/assets/{_BbIL-U7Q.js → _BG6UrECj.js} +1 -1
- package/dist/public/assets/_BG6UrECj.js.br +0 -0
- package/dist/public/assets/{_BuxBV9KZ.js → _BJhC5Swa.js} +1 -1
- package/dist/public/assets/_BJhC5Swa.js.br +0 -0
- package/dist/public/assets/{_D8yBV-3W.js → _BK1AsBrt.js} +1 -1
- package/dist/public/assets/_BK1AsBrt.js.br +0 -0
- package/dist/public/assets/{_DRF3Di45.js → _BNlnm23c.js} +1 -1
- package/dist/public/assets/_BNlnm23c.js.br +0 -0
- package/dist/public/assets/{_DBN-ARTK2.js → _BOo2ADNE2.js} +1 -1
- package/dist/public/assets/_BOo2ADNE2.js.br +0 -0
- package/dist/public/assets/{_B1bIs2_k.js → _BR-j-QRg.js} +1 -1
- package/dist/public/assets/_BR-j-QRg.js.br +0 -0
- package/dist/public/assets/{_Csb4KIv-2.js → _BWg4qN7U2.js} +1 -1
- package/dist/public/assets/_BWg4qN7U2.js.br +0 -0
- package/dist/public/assets/{_3pnM3GnR.js → _BYwpUM-g.js} +1 -1
- package/dist/public/assets/_BYwpUM-g.js.br +0 -0
- package/dist/public/assets/{_Co8Ezvh22.js → _BcDcSdJH2.js} +1 -1
- package/dist/public/assets/_BcDcSdJH2.js.br +0 -0
- package/dist/public/assets/{_Bx-akz-g2.js → _BcboNVrv2.js} +1 -1
- package/dist/public/assets/_BcboNVrv2.js.br +0 -0
- package/dist/public/assets/{_Bc2XBH7E2.js → _Bed4-hRw2.js} +1 -1
- package/dist/public/assets/_Bed4-hRw2.js.br +0 -0
- package/dist/public/assets/{_BWyRK-vd2.js → _Bev6eZfU2.js} +1 -1
- package/dist/public/assets/_Bev6eZfU2.js.br +0 -0
- package/dist/public/assets/{_BblIDBxk.js → _BqGM5Qj0.js} +1 -1
- package/dist/public/assets/_BqGM5Qj0.js.br +0 -0
- package/dist/public/assets/{_BuPlYdZf.js → _BrwDJWFC.js} +1 -1
- package/dist/public/assets/_BrwDJWFC.js.br +0 -0
- package/dist/public/assets/{_B1lW0JwB2.js → _Bw9AEf9U2.js} +1 -1
- package/dist/public/assets/_Bw9AEf9U2.js.br +0 -0
- package/dist/public/assets/{_IvxXQmT0.js → _BwbHWVEx.js} +1 -1
- package/dist/public/assets/_BwbHWVEx.js.br +0 -0
- package/dist/public/assets/{_D273_csH.js → _BwuFR15N.js} +1 -1
- package/dist/public/assets/_BwuFR15N.js.br +0 -0
- package/dist/public/assets/{_BwubERfJ.js → _C3--a3ig.js} +1 -1
- package/dist/public/assets/_C3--a3ig.js.br +0 -0
- package/dist/public/assets/{_CCBfIvK-2.js → _C3ByoAdu2.js} +1 -1
- package/dist/public/assets/_C3ByoAdu2.js.br +0 -0
- package/dist/public/assets/{__CmiW5mo.js → _C7T0iOcK.js} +1 -1
- package/dist/public/assets/_C7T0iOcK.js.br +0 -0
- package/dist/public/assets/{_CcrxW0kr.js → _CKZUxuhA.js} +1 -1
- package/dist/public/assets/_CKZUxuhA.js.br +0 -0
- package/dist/public/assets/{_Cf9cdsh0.js → _CPukMy5X.js} +1 -1
- package/dist/public/assets/_CPukMy5X.js.br +0 -0
- package/dist/public/assets/{_Bf3K2pdL2.js → _CRi3sQaK2.js} +1 -1
- package/dist/public/assets/_CRi3sQaK2.js.br +0 -0
- package/dist/public/assets/{_RjK3rf_Y.js → _CWGKayAn.js} +1 -1
- package/dist/public/assets/_CWGKayAn.js.br +0 -0
- package/dist/public/assets/{_CyefKW6N.js → _CWMWI6ue.js} +1 -1
- package/dist/public/assets/_CWMWI6ue.js.br +0 -0
- package/dist/public/assets/{_K7Edgfgc.js → _CZ4weotP.js} +1 -1
- package/dist/public/assets/_CZ4weotP.js.br +0 -0
- package/dist/public/assets/{_Bu0d16Gz2.js → _CdOTbzEk2.js} +1 -1
- package/dist/public/assets/_CdOTbzEk2.js.br +0 -0
- package/dist/public/assets/{_C-6C490f.js → _CkjdmXvh.js} +1 -1
- package/dist/public/assets/_CkjdmXvh.js.br +0 -0
- package/dist/public/assets/{_D0GH7ugf.js → _Cld64l7w.js} +1 -1
- package/dist/public/assets/_Cld64l7w.js.br +0 -0
- package/dist/public/assets/{_Bn5bz8Fw.js → _CmY7d5sh.js} +1 -1
- package/dist/public/assets/_CmY7d5sh.js.br +0 -0
- package/dist/public/assets/{_CKjR1BXt2.js → _CpwxuUbM2.js} +1 -1
- package/dist/public/assets/_CpwxuUbM2.js.br +0 -0
- package/dist/public/assets/{_Bs60UQQp.js → _Cshjy-tr.js} +1 -1
- package/dist/public/assets/_Cshjy-tr.js.br +0 -0
- package/dist/public/assets/{_DjPgs5rw.js → _Cwzls7ul.js} +1 -1
- package/dist/public/assets/_Cwzls7ul.js.br +0 -0
- package/dist/public/assets/{_BuFvVDBW.js → _Cx97qUQa.js} +1 -1
- package/dist/public/assets/_Cx97qUQa.js.br +0 -0
- package/dist/public/assets/{_D6nGNdbM2.js → _CxUl3SEz2.js} +1 -1
- package/dist/public/assets/_CxUl3SEz2.js.br +0 -0
- package/dist/public/assets/{_Dhm70a8Q.js → _CyD33Xwe.js} +1 -1
- package/dist/public/assets/_CyD33Xwe.js.br +0 -0
- package/dist/public/assets/{_DGiIMv8G2.js → _D45Y3kzM2.js} +1 -1
- package/dist/public/assets/_D45Y3kzM2.js.br +0 -0
- package/dist/public/assets/{_BQYp-OlQ2.js → _DCmGRWXl2.js} +1 -1
- package/dist/public/assets/_DCmGRWXl2.js.br +0 -0
- package/dist/public/assets/{_B85aTaqZ2.js → _DESBqf832.js} +1 -1
- package/dist/public/assets/_DESBqf832.js.br +0 -0
- package/dist/public/assets/{_BI2Swe_u2.js → _DHmeJbF12.js} +1 -1
- package/dist/public/assets/_DHmeJbF12.js.br +0 -0
- package/dist/public/assets/{_DF7p8NtB.js → _DIOpQGuO.js} +1 -1
- package/dist/public/assets/_DIOpQGuO.js.br +0 -0
- package/dist/public/assets/{_DbEL5xWz.js → _DO2j2wai.js} +1 -1
- package/dist/public/assets/_DO2j2wai.js.br +0 -0
- package/dist/public/assets/{_CuyaYiRW.js → _DOihbSbE.js} +1 -1
- package/dist/public/assets/_DOihbSbE.js.br +0 -0
- package/dist/public/assets/{_BYYz0lx8.js → _DW5_6QEJ.js} +1 -1
- package/dist/public/assets/_DW5_6QEJ.js.br +0 -0
- package/dist/public/assets/{_S4Deki6-.js → _DY1ZTiKf.js} +3 -3
- package/dist/public/assets/_DY1ZTiKf.js.br +0 -0
- package/dist/public/assets/{_B00t6Lqk.js → _Df4EyoB-.js} +1 -1
- package/dist/public/assets/_Df4EyoB-.js.br +0 -0
- package/dist/public/assets/{_BT-gmkkS.js → _Dq3Fnsny.js} +1 -1
- package/dist/public/assets/_Dq3Fnsny.js.br +0 -0
- package/dist/public/assets/{_MlgXnVcu.js → _DrOqesVG.js} +1 -1
- package/dist/public/assets/_DrOqesVG.js.br +0 -0
- package/dist/public/assets/{_BAvf1cap.js → _Dtt87bkn.js} +1 -1
- package/dist/public/assets/_Dtt87bkn.js.br +0 -0
- package/dist/public/assets/{_D9FyVasE.js → _DwGOtsEM.js} +1 -1
- package/dist/public/assets/_DwGOtsEM.js.br +0 -0
- package/dist/public/assets/{_pehMb-MO2.js → _DwK4Diby2.js} +1 -1
- package/dist/public/assets/{_CYia-nz02.js → _Dye_WaXg2.js} +1 -1
- package/dist/public/assets/_Dye_WaXg2.js.br +0 -0
- package/dist/public/assets/{_C6ldYeFm.js → _Dz2BYxkE.js} +1 -1
- package/dist/public/assets/_Dz2BYxkE.js.br +0 -0
- package/dist/public/assets/{_o1mi4aXB2.js → _EWc7i02-2.js} +1 -1
- package/dist/public/assets/_EWc7i02-2.js.br +0 -0
- package/dist/public/assets/{_B_Mbp4rL2.js → _EoZ_xBXq2.js} +1 -1
- package/dist/public/assets/{_Dnva3Iwh.js → _Fiqv8D5E.js} +1 -1
- package/dist/public/assets/_Fiqv8D5E.js.br +0 -0
- package/dist/public/assets/{_C1jhh4rH.js → _GrrScuAr.js} +1 -1
- package/dist/public/assets/_GrrScuAr.js.br +0 -0
- package/dist/public/assets/{_Bn8crSCH.js → _Hqm5mf9S.js} +1 -1
- package/dist/public/assets/_Hqm5mf9S.js.br +0 -0
- package/dist/public/assets/{_CzF3na4k2.js → _U8cSRlqn2.js} +1 -1
- package/dist/public/assets/_U8cSRlqn2.js.br +0 -0
- package/dist/public/assets/{_BmuJ1O9P.js → _aJR0pEfl.js} +1 -1
- package/dist/public/assets/_aJR0pEfl.js.br +0 -0
- package/dist/public/assets/{_BfymrLUh.js → _aWRBkGVy.js} +1 -1
- package/dist/public/assets/_aWRBkGVy.js.br +0 -0
- package/dist/public/assets/{_CE47SDMW.js → _cCTeyYAY.js} +1 -1
- package/dist/public/assets/_cCTeyYAY.js.br +0 -0
- package/dist/public/assets/{_PKde0FEU2.js → _i31Rddpf2.js} +1 -1
- package/dist/public/assets/_i31Rddpf2.js.br +0 -0
- package/dist/public/assets/{_Cqjh6FxH2.js → _ix4YrGtW2.js} +1 -1
- package/dist/public/assets/_ix4YrGtW2.js.br +0 -0
- package/dist/public/assets/{_DYkG4loD.js → _j4GDdAJs.js} +1 -1
- package/dist/public/assets/_j4GDdAJs.js.br +0 -0
- package/dist/public/assets/{_JLngONpn.js → _k2rzFYXw.js} +1 -1
- package/dist/public/assets/_k2rzFYXw.js.br +0 -0
- package/dist/public/assets/{_CyrJ6uCP.js → _nNPOLNo7.js} +1 -1
- package/dist/public/assets/_nNPOLNo7.js.br +0 -0
- package/dist/public/assets/{_BvYVSdj3.js → _vfKZvCts.js} +1 -1
- package/dist/public/assets/_vfKZvCts.js.br +0 -0
- package/dist/public/assets/{_DX3XTwvW.js → _wu7LU_F-.js} +1 -1
- package/dist/public/assets/_wu7LU_F-.js.br +0 -0
- package/dist/public/assets/{_4-GSVnAN.js → _x05B0wD3.js} +6 -6
- package/dist/public/assets/_x05B0wD3.js.br +0 -0
- package/dist/public/assets/app-page-DOL8nhko.css +1 -0
- package/dist/public/assets/app-page-DOL8nhko.css.br +0 -0
- package/dist/public/assets/diff-view-6DYaXCWP.css +1 -0
- package/dist/public/assets/diff-view-6DYaXCWP.css.br +0 -0
- package/dist/public/assets/new-hKsQDica.js +1 -0
- package/dist/public/assets/settings-hKsQDica.js +1 -0
- package/dist/public/assets/w-hKsQDica.js +1 -0
- package/dist/public/assets/w._-CyAQSfuD.js +1 -0
- package/dist/public/assets/w._-hKsQDica.js +1 -0
- package/package.json +1 -1
- package/dist/_DkOK1JPO.js +0 -2
- package/dist/public/assets/_3pnM3GnR.js.br +0 -0
- package/dist/public/assets/_4-GSVnAN.js.br +0 -0
- package/dist/public/assets/_B00t6Lqk.js.br +0 -0
- package/dist/public/assets/_B1bIs2_k.js.br +0 -0
- package/dist/public/assets/_B1lW0JwB2.js.br +0 -0
- package/dist/public/assets/_B85aTaqZ2.js.br +0 -0
- package/dist/public/assets/_BAvf1cap.js.br +0 -0
- package/dist/public/assets/_BI2Swe_u2.js.br +0 -0
- package/dist/public/assets/_BJG4qcrP.js.br +0 -0
- package/dist/public/assets/_BQYp-OlQ2.js.br +0 -0
- package/dist/public/assets/_BRMTGLhC.js.br +0 -0
- package/dist/public/assets/_BT-gmkkS.js.br +0 -0
- package/dist/public/assets/_BWyRK-vd2.js.br +0 -0
- package/dist/public/assets/_BYYz0lx8.js.br +0 -0
- package/dist/public/assets/_BbIL-U7Q.js.br +0 -0
- package/dist/public/assets/_BblIDBxk.js.br +0 -2
- package/dist/public/assets/_Bc2XBH7E2.js.br +0 -0
- package/dist/public/assets/_Bf3K2pdL2.js.br +0 -0
- package/dist/public/assets/_BfymrLUh.js.br +0 -0
- package/dist/public/assets/_BiIzmSt-.js.br +0 -0
- package/dist/public/assets/_BmuJ1O9P.js.br +0 -0
- package/dist/public/assets/_Bn5bz8Fw.js.br +0 -0
- package/dist/public/assets/_Bn8crSCH.js.br +0 -0
- package/dist/public/assets/_Bs60UQQp.js.br +0 -0
- package/dist/public/assets/_Bu0d16Gz2.js.br +0 -0
- package/dist/public/assets/_BuFvVDBW.js.br +0 -0
- package/dist/public/assets/_BuPlYdZf.js.br +0 -0
- package/dist/public/assets/_BuxBV9KZ.js.br +0 -1
- package/dist/public/assets/_BvYVSdj3.js.br +0 -0
- package/dist/public/assets/_BwubERfJ.js.br +0 -0
- package/dist/public/assets/_Bx-akz-g2.js.br +0 -0
- package/dist/public/assets/_C-6C490f.js.br +0 -0
- package/dist/public/assets/_C1jhh4rH.js.br +0 -0
- package/dist/public/assets/_C6ldYeFm.js.br +0 -0
- package/dist/public/assets/_CCBfIvK-2.js.br +0 -0
- package/dist/public/assets/_CE47SDMW.js.br +0 -0
- package/dist/public/assets/_CKjR1BXt2.js.br +0 -0
- package/dist/public/assets/_CYia-nz02.js.br +0 -0
- package/dist/public/assets/_CcrxW0kr.js.br +0 -0
- package/dist/public/assets/_Cf9cdsh0.js.br +0 -0
- package/dist/public/assets/_Ciq2ywTg2.js.br +0 -0
- package/dist/public/assets/_Co8Ezvh22.js.br +0 -0
- package/dist/public/assets/_Cqjh6FxH2.js.br +0 -0
- package/dist/public/assets/_Csb4KIv-2.js.br +0 -0
- package/dist/public/assets/_CuyaYiRW.js.br +0 -0
- package/dist/public/assets/_CyefKW6N.js.br +0 -0
- package/dist/public/assets/_CyrJ6uCP.js.br +0 -0
- package/dist/public/assets/_CzF3na4k2.js.br +0 -0
- package/dist/public/assets/_D0GH7ugf.js.br +0 -0
- package/dist/public/assets/_D273_csH.js.br +0 -0
- package/dist/public/assets/_D6nGNdbM2.js.br +0 -0
- package/dist/public/assets/_D8yBV-3W.js.br +0 -0
- package/dist/public/assets/_D9FyVasE.js.br +0 -0
- package/dist/public/assets/_DBN-ARTK2.js.br +0 -0
- package/dist/public/assets/_DF7p8NtB.js.br +0 -0
- package/dist/public/assets/_DGiIMv8G2.js.br +0 -0
- package/dist/public/assets/_DRF3Di45.js.br +0 -0
- package/dist/public/assets/_DX3XTwvW.js.br +0 -0
- package/dist/public/assets/_DYkG4loD.js.br +0 -0
- package/dist/public/assets/_DbEL5xWz.js.br +0 -0
- package/dist/public/assets/_Dhm70a8Q.js.br +0 -0
- package/dist/public/assets/_DjPgs5rw.js.br +0 -0
- package/dist/public/assets/_Dnva3Iwh.js.br +0 -0
- package/dist/public/assets/_Dt4Da0qD.js.br +0 -0
- package/dist/public/assets/_IvxXQmT0.js.br +0 -0
- package/dist/public/assets/_JLngONpn.js.br +0 -0
- package/dist/public/assets/_K7Edgfgc.js.br +0 -0
- package/dist/public/assets/_MlgXnVcu.js.br +0 -0
- package/dist/public/assets/_PKde0FEU2.js.br +0 -0
- package/dist/public/assets/_RjK3rf_Y.js.br +0 -0
- package/dist/public/assets/_S4Deki6-.js.br +0 -0
- package/dist/public/assets/__CmiW5mo.js.br +0 -0
- package/dist/public/assets/_o1mi4aXB2.js.br +0 -0
- package/dist/public/assets/app-page-DgDTDOHI.css +0 -1
- package/dist/public/assets/app-page-DgDTDOHI.css.br +0 -0
- package/dist/public/assets/diff-view-BXhpA0AC.css +0 -1
- package/dist/public/assets/diff-view-BXhpA0AC.css.br +0 -0
- package/dist/public/assets/new-BH-hZ4d8.js +0 -1
- package/dist/public/assets/settings-BH-hZ4d8.js +0 -1
- package/dist/public/assets/w-BH-hZ4d8.js +0 -1
- package/dist/public/assets/w._-BH-hZ4d8.js +0 -1
- package/dist/public/assets/w._-DxgRF7k8.js +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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, U as subscriberCount, V as publish, W as subscriberJoins, X as preferredAgent, Y as getSetting, Z as setDisabledAgents, _ as tmuxName, _t as tmux, a as ensureTmuxServer, at as DEFAULT_GITHUB_HOST, b as readHookPayload, c as killWorkspaceSessions, ct as toolById, d as newSessionArgs, dt as get, et as doctor, ft as workspacePath, g as sessionStates, gt as run, h as sendToSession, ht as git, i as disposeSessions, it as which, j as setSessionViewers, k as setAgentPhase, l as listSessions, lt as all, m as renameSession, mt as gh, n as clearTmuxStarted, nt as miseVersions, o as getSession, ot as TOOLS, p as panePids, pt as TMUX_SOCKET, q as disabledAgents, r as createSession, rt as setupPath, s as killSession, st as agentById, t as cleanEnv, tt as ghKnownHosts, u as markTmuxStarted, ut as db, v as tmuxWasStarted, vt as config, w as agentFamily, x as reportsWorking, y as AGENTS, z as pushPublicKey } from "./
|
|
3
|
-
import { $ as _dynamic_tag, A as btnLg, At as withPageAssets, B as _attr, C as toast_default, Ct as _subscribe, D as repoLabel, Dt as _try, E as parseRepoUrl, Et as _trailers, F as inputLg, G as _attr_or, I as metaTrunc, J as _attrs, K as _attr_select_value, L as phase, N as iconBtnRow, O as repoWebUrl$1, Ot as _var, P as iconBtnXs, Q as _content_resume, R as tone, S as workspaceTab, St as _set_serialize_reason, T as icon_base_default, Tt as _to_text, U as _attr_input_value, V as _attr_class, W as _attr_option_value, X as _await, Y as _attrs_partial, Z as _content, _t as _scope_with_id, a as rankRepos, at as _flush_head, b as sideNavOpen, bt as _serialize_guard, c as icon_refresh_default, ct as _hoist_read_error, d as sectionCount$1, dt as _if, ft as _peek_scope_id, gt as _scope_reason, ht as _scope_id, it as _existing_scope, j as btnSm, jt as writeScope, k as setPrimaryHost, kt as attrTag, l as iconBtn$2, lt as _html, mt as _resume_branch, n as findInput, nt as _el_resume, o as icon_search_default, ot as _for_of, pt as _resume, q as _attr_style, r as icon_sidebar_default, rt as _escape, s as icon_back_default, st as _hoist, t as findIconBtn, tt as _el_read_error, u as row, ut as _id, v as setTheme, vt as _script, w as icon_xmark_default, wt as _template, x as theme, xt as _serialize_if, y as setWorkspaceTab, yt as _sep, z as $global } 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, U as subscriberCount, V as publish, W as subscriberJoins, X as preferredAgent, Y as getSetting, Z as setDisabledAgents, _ as tmuxName, _t as tmux, a as ensureTmuxServer, at as DEFAULT_GITHUB_HOST, b as readHookPayload, c as killWorkspaceSessions, ct as toolById, d as newSessionArgs, dt as get, et as doctor, ft as workspacePath, g as sessionStates, gt as run, h as sendToSession, ht as git, i as disposeSessions, it as which, j as setSessionViewers, k as setAgentPhase, l as listSessions, lt as all, m as renameSession, mt as gh, n as clearTmuxStarted, nt as miseVersions, o as getSession, ot as TOOLS, p as panePids, pt as TMUX_SOCKET, q as disabledAgents, r as createSession, rt as setupPath, s as killSession, st as agentById, t as cleanEnv, tt as ghKnownHosts, u as markTmuxStarted, ut as db, v as tmuxWasStarted, vt as config, w as agentFamily, x as reportsWorking, y as AGENTS, z as pushPublicKey } from "./_BdPU13C_.js";
|
|
3
|
+
import { $ as _dynamic_tag, A as btnLg, At as withPageAssets, B as _attr, C as toast_default, Ct as _subscribe, D as repoLabel, Dt as _try, E as parseRepoUrl, Et as _trailers, F as inputLg, G as _attr_or, I as metaTrunc, J as _attrs, K as _attr_select_value, L as phase, N as iconBtnRow, O as repoWebUrl$1, Ot as _var, P as iconBtnXs, Q as _content_resume, R as tone, S as workspaceTab, St as _set_serialize_reason, T as icon_base_default, Tt as _to_text, U as _attr_input_value, V as _attr_class, W as _attr_option_value, X as _await, Y as _attrs_partial, Z as _content, _t as _scope_with_id, a as rankRepos, at as _flush_head, b as sideNavOpen, bt as _serialize_guard, c as icon_refresh_default, ct as _hoist_read_error, d as sectionCount$1, dt as _if, ft as _peek_scope_id, gt as _scope_reason, ht as _scope_id, it as _existing_scope, j as btnSm, jt as writeScope, k as setPrimaryHost, kt as attrTag, l as iconBtn$2, lt as _html, mt as _resume_branch, n as findInput, nt as _el_resume, o as icon_search_default, ot as _for_of, pt as _resume, q as _attr_style, r as icon_sidebar_default, rt as _escape, s as icon_back_default, st as _hoist, t as findIconBtn, tt as _el_read_error, u as row, ut as _id, v as setTheme, vt as _script, w as icon_xmark_default, wt as _template, x as theme, xt as _serialize_if, y as setWorkspaceTab, yt as _sep, z as $global } from "./_CoU5siEE.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { createServer } from "node:http";
|
|
6
6
|
import path from "node:path";
|
|
@@ -3494,15 +3494,15 @@ function applyInstance(inst) {
|
|
|
3494
3494
|
}
|
|
3495
3495
|
//#endregion
|
|
3496
3496
|
//#region src/tags/settings-page.css.ts
|
|
3497
|
-
var content$2 = "_ca
|
|
3498
|
-
var agentGrid = "_ce
|
|
3499
|
-
var toolGrid = "_co
|
|
3497
|
+
var content$2 = "_ca _bB _bC";
|
|
3498
|
+
var agentGrid = "_ce _bm";
|
|
3499
|
+
var toolGrid = "_co _bm";
|
|
3500
3500
|
//#endregion
|
|
3501
3501
|
//#region src/tags/page-head.marko
|
|
3502
3502
|
var page_head_default = _template("q", (input) => {
|
|
3503
3503
|
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);
|
|
3504
3504
|
const $scope0_id = _scope_id();
|
|
3505
|
-
_html(`<header${_attr_class("
|
|
3505
|
+
_html(`<header${_attr_class("_bD")}>`);
|
|
3506
3506
|
_if(() => {
|
|
3507
3507
|
if (input.backHref) {
|
|
3508
3508
|
const $scope1_id = _scope_id();
|
|
@@ -3521,11 +3521,11 @@ var page_head_default = _template("q", (input) => {
|
|
|
3521
3521
|
return 1;
|
|
3522
3522
|
}
|
|
3523
3523
|
}, $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);
|
|
3524
|
-
_html(`<div${_attr_class("
|
|
3524
|
+
_html(`<div${_attr_class("_bF")}><h1${_attr("id", input.titleId)}${_attr_class("_bE")}>${_escape(input.title)}${_el_resume($scope0_id, "e", _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
|
|
3525
3525
|
_if(() => {
|
|
3526
3526
|
if (input.meta) {
|
|
3527
3527
|
const $scope3_id = _scope_id();
|
|
3528
|
-
_html(`<p${_attr_class("
|
|
3528
|
+
_html(`<p${_attr_class("_bG")}>`);
|
|
3529
3529
|
_dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
|
|
3530
3530
|
_html("</p>");
|
|
3531
3531
|
$si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -3536,7 +3536,7 @@ var page_head_default = _template("q", (input) => {
|
|
|
3536
3536
|
_if(() => {
|
|
3537
3537
|
if (input.actions) {
|
|
3538
3538
|
const $scope4_id = _scope_id();
|
|
3539
|
-
_html(`<div${_attr_class("
|
|
3539
|
+
_html(`<div${_attr_class("_bH")}>`);
|
|
3540
3540
|
_dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
3541
3541
|
_html("</div>");
|
|
3542
3542
|
$si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -3604,7 +3604,7 @@ var icon_agent_default = _template("E", (input) => {
|
|
|
3604
3604
|
n: $badge__closures
|
|
3605
3605
|
});
|
|
3606
3606
|
});
|
|
3607
|
-
var usageNote = "
|
|
3607
|
+
var usageNote = "_eR _S";
|
|
3608
3608
|
//#endregion
|
|
3609
3609
|
//#region src/tags/usage-meters.marko
|
|
3610
3610
|
function duration(ms) {
|
|
@@ -3628,11 +3628,11 @@ var usage_meters_default = _template("B", (input) => {
|
|
|
3628
3628
|
const $scope0_reason = _scope_reason(), $sg__input_agent__OR__input_hideName = _serialize_guard($scope0_reason, 0), $sg__input_agent = _serialize_guard($scope0_reason, 1), $si__input_agent = _serialize_if($scope0_reason, 1), $sg__input_hideName = _serialize_guard($scope0_reason, 2), $si__input_agent__OR__input_hideName = _serialize_if($scope0_reason, 0);
|
|
3629
3629
|
const $scope0_id = _scope_id();
|
|
3630
3630
|
const agent = input.agent;
|
|
3631
|
-
_html(`<div${_attr_class(["
|
|
3631
|
+
_html(`<div${_attr_class(["_eL", { ["_eM"]: input.hideName }])}><div${_attr_class("_eN")}>`);
|
|
3632
3632
|
_if(() => {
|
|
3633
3633
|
if (!input.hideName) {
|
|
3634
3634
|
const $scope1_id = _scope_id();
|
|
3635
|
-
_html(`<strong${_attr_class("
|
|
3635
|
+
_html(`<strong${_attr_class("_e6")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
|
|
3636
3636
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
3637
3637
|
return 0;
|
|
3638
3638
|
}
|
|
@@ -3640,7 +3640,7 @@ var usage_meters_default = _template("B", (input) => {
|
|
|
3640
3640
|
_if(() => {
|
|
3641
3641
|
if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
|
|
3642
3642
|
const $scope2_id = _scope_id();
|
|
3643
|
-
_html(`<span${_attr_class("
|
|
3643
|
+
_html(`<span${_attr_class("_eO")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
|
|
3644
3644
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
3645
3645
|
return 0;
|
|
3646
3646
|
}
|
|
@@ -3648,19 +3648,19 @@ var usage_meters_default = _template("B", (input) => {
|
|
|
3648
3648
|
_if(() => {
|
|
3649
3649
|
if (agent.stale_seconds != null) {
|
|
3650
3650
|
const $scope3_id = _scope_id();
|
|
3651
|
-
_html(`<span${_attr_class("
|
|
3651
|
+
_html(`<span${_attr_class("_eP")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>⚠ ${_sep($sg__input_agent)}${_escape(duration(agent.stale_seconds * 1e3))}${_el_resume($scope3_id, "b", $sg__input_agent)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
|
|
3652
3652
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
3653
3653
|
return 0;
|
|
3654
3654
|
}
|
|
3655
3655
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
3656
|
-
_html(`</div><div${_attr_class(["
|
|
3656
|
+
_html(`</div><div${_attr_class(["_eQ", { ["_e7"]: agent.stale_seconds != null }])}>`);
|
|
3657
3657
|
_for_of(agent.windows || [], (win) => {
|
|
3658
3658
|
const $scope4_id = _scope_id();
|
|
3659
3659
|
const pct = pctText$1(win.used_percent);
|
|
3660
3660
|
const label = resetLabel(win.resets_at, agent.stale_seconds != null);
|
|
3661
|
-
const fillClass = win.used_percent >= 90 ? "
|
|
3662
|
-
const pctClass = win.used_percent >= 90 ? "
|
|
3663
|
-
_html(`<div${_attr_class("
|
|
3661
|
+
const fillClass = win.used_percent >= 90 ? "_eZ" : win.used_percent >= 70 ? "_eY" : win.used_percent >= 40 ? "_eX" : "_eW";
|
|
3662
|
+
const pctClass = win.used_percent >= 90 ? "_e4" : win.used_percent >= 70 ? "_e3" : win.used_percent >= 40 ? "_e2" : "_e1";
|
|
3663
|
+
_html(`<div${_attr_class("_eS")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_eT")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_eU")}><span${_attr_class(["_eV", fillClass])}${_attr_style(`width:${Math.min(100, Math.max(2, win.used_percent))}%`)}></span>${_el_resume($scope4_id, "e", $sg__input_agent)}</span><span${_attr_class(["_e0", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_e5")}>${label ? `↻ ${_escape(`${_to_text(label)}`)}` : ""}${_el_resume($scope4_id, "i", $sg__input_agent)}</span></div>${_el_resume($scope4_id, "a", $sg__input_agent)}`);
|
|
3664
3664
|
$si__input_agent && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
3665
3665
|
}, "window", $scope0_id, "g", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
3666
3666
|
_if(() => {
|
|
@@ -3719,7 +3719,7 @@ var modal_view_default = _template("o", (input) => {
|
|
|
3719
3719
|
const { label, class: inputClass, open: _open, openChange: _openChange, dismissable: _dismissable, content, footer, closedby: _closedby, onCancel: _onCancel, onClose: _onClose, "aria-label": inputAriaLabel, "aria-labelledby": inputLabelledBy, ...htmlInput } = input;
|
|
3720
3720
|
const dismissable = input.dismissable !== false;
|
|
3721
3721
|
let open = input.open;
|
|
3722
|
-
_html(`<dialog${_attr_class(["
|
|
3722
|
+
_html(`<dialog${_attr_class(["_g2", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
|
|
3723
3723
|
...htmlInput,
|
|
3724
3724
|
open: null
|
|
3725
3725
|
}, {
|
|
@@ -3729,20 +3729,20 @@ var modal_view_default = _template("o", (input) => {
|
|
|
3729
3729
|
closedby: 1,
|
|
3730
3730
|
"on-cancel": 1,
|
|
3731
3731
|
"on-close": 1
|
|
3732
|
-
}, "a", $scope0_id, "dialog")}><div${_attr_class("
|
|
3732
|
+
}, "a", $scope0_id, "dialog")}><div${_attr_class("_g3")}>`);
|
|
3733
3733
|
_dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
|
|
3734
3734
|
_html("</div>");
|
|
3735
3735
|
_if(() => {
|
|
3736
3736
|
if (footer) {
|
|
3737
3737
|
const $scope1_id = _scope_id();
|
|
3738
|
-
_html(`<form method=dialog${_attr_class("
|
|
3738
|
+
_html(`<form method=dialog${_attr_class("_g4")}>`);
|
|
3739
3739
|
_dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
|
|
3740
3740
|
_html("</form>");
|
|
3741
3741
|
$si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
|
|
3742
3742
|
return 0;
|
|
3743
3743
|
} else if (input.openChange) {
|
|
3744
3744
|
const $scope2_id = _scope_id();
|
|
3745
|
-
_html(`<form method=dialog${_attr_class("
|
|
3745
|
+
_html(`<form method=dialog${_attr_class("_g4")}>`);
|
|
3746
3746
|
dialog_close_default({
|
|
3747
3747
|
class: ["_o", "_p"],
|
|
3748
3748
|
content: _content("o0", () => {
|
|
@@ -3801,7 +3801,7 @@ var prompt_dialog_default = _template("r", (input) => {
|
|
|
3801
3801
|
const $childScope = _peek_scope_id();
|
|
3802
3802
|
modal_view_default({
|
|
3803
3803
|
label: input.label,
|
|
3804
|
-
class: "
|
|
3804
|
+
class: "_eJ",
|
|
3805
3805
|
open: input.open,
|
|
3806
3806
|
openChange: input.openChange,
|
|
3807
3807
|
"aria-labelledby": titleId,
|
|
@@ -3824,7 +3824,7 @@ var prompt_dialog_default = _template("r", (input) => {
|
|
|
3824
3824
|
content: _content("r6", () => {
|
|
3825
3825
|
_scope_reason();
|
|
3826
3826
|
const $scope2_id = _scope_id();
|
|
3827
|
-
_html(`<h2${_attr_class("
|
|
3827
|
+
_html(`<h2${_attr_class("_eK")}${_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) => {
|
|
3828
3828
|
value = _new_value;
|
|
3829
3829
|
}, "r0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
|
|
3830
3830
|
_script($scope2_id, "r4");
|
|
@@ -4132,7 +4132,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4132
4132
|
const appearanceId = _id();
|
|
4133
4133
|
const githubId = _id();
|
|
4134
4134
|
const machineId = _id();
|
|
4135
|
-
_html(`<div${_attr_class("
|
|
4135
|
+
_html(`<div${_attr_class("_bz")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bA")}><div${_attr_class(content$2)}>`);
|
|
4136
4136
|
_set_serialize_reason({
|
|
4137
4137
|
0: _serialize_guard($scope0_reason, 3),
|
|
4138
4138
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -4239,7 +4239,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4239
4239
|
return 0;
|
|
4240
4240
|
}
|
|
4241
4241
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
4242
|
-
_html(`<section${_attr_class("
|
|
4242
|
+
_html(`<section${_attr_class("_bj")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bk")}><h2${_attr("id", agentsId)}${_attr_class("_by")}>Agents</h2><div${_attr_class("_y")}></div><label${_attr_class("_cg")}><span${_attr_class("_S")}>Default</span><span${_attr_class("_m")}>`);
|
|
4243
4243
|
_attr_select_value($scope0_id, "n", input.preferred, _resume(function(v) {
|
|
4244
4244
|
setPreferred(v);
|
|
4245
4245
|
}, "u1", $scope0_id), () => {
|
|
@@ -4264,14 +4264,14 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4264
4264
|
const rows = lone ? [] : a.instances;
|
|
4265
4265
|
const loneAccounts = lone && lone.enabled ? accountsFor(lone.id) : [];
|
|
4266
4266
|
const extraAccounts = a.installed ? strayAccountsFor(a) : [];
|
|
4267
|
-
_html(`<li${_attr_class(["
|
|
4267
|
+
_html(`<li${_attr_class(["_bo", "_cf"])}><div${_attr_class(["_ci", { ["_cl"]: lone && !lone.enabled }])}>`);
|
|
4268
4268
|
_set_serialize_reason(12);
|
|
4269
4269
|
const $childScope4 = _peek_scope_id();
|
|
4270
4270
|
icon_agent_default({
|
|
4271
4271
|
agent: a.id,
|
|
4272
4272
|
size: 18
|
|
4273
4273
|
});
|
|
4274
|
-
_html(`<div${_attr_class("
|
|
4274
|
+
_html(`<div${_attr_class("_bp")}><span${_attr_class("_br")}><span${_attr_class("_bq")}>${_escape(a.label)}${_el_resume($scope1_id, "g")}</span>`);
|
|
4275
4275
|
_if(() => {
|
|
4276
4276
|
if (lone && input.preferred === lone.id) {
|
|
4277
4277
|
const $scope54_id = _scope_id();
|
|
@@ -4289,7 +4289,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4289
4289
|
return 0;
|
|
4290
4290
|
} else if (!a.installed) {
|
|
4291
4291
|
const $scope55_id = _scope_id();
|
|
4292
|
-
_html(`<span${_attr_class("
|
|
4292
|
+
_html(`<span${_attr_class("_bs")}>Not installed</span>`);
|
|
4293
4293
|
writeScope($scope55_id, {});
|
|
4294
4294
|
return 1;
|
|
4295
4295
|
}
|
|
@@ -4407,7 +4407,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4407
4407
|
}, "id", $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
4408
4408
|
_for_of(otherUsage, (u) => {
|
|
4409
4409
|
const $scope60_id = _scope_id();
|
|
4410
|
-
_html(`<li${_attr_class(["
|
|
4410
|
+
_html(`<li${_attr_class(["_bo", "_cf"])}>`);
|
|
4411
4411
|
_set_serialize_reason(6);
|
|
4412
4412
|
const $childScope9 = _peek_scope_id();
|
|
4413
4413
|
usage_meters_default({ agent: u });
|
|
@@ -4418,21 +4418,21 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4418
4418
|
_if(() => {
|
|
4419
4419
|
if (!usage && families.length) {
|
|
4420
4420
|
const $scope61_id = _scope_id();
|
|
4421
|
-
_html(`<p${_attr_class("
|
|
4421
|
+
_html(`<p${_attr_class("_bu")}><span${_attr_class("_F")}></span> Loading usage…</p>`);
|
|
4422
4422
|
writeScope($scope61_id, {});
|
|
4423
4423
|
return 0;
|
|
4424
4424
|
} else if (usage?.error) {
|
|
4425
4425
|
const $scope7_id = _scope_id();
|
|
4426
|
-
_html(`<p${_attr_class("
|
|
4426
|
+
_html(`<p${_attr_class("_bu")}>${_escape(usage.error)}${_el_resume($scope7_id, "b")}</p>`);
|
|
4427
4427
|
writeScope($scope7_id, {});
|
|
4428
4428
|
return 1;
|
|
4429
4429
|
}
|
|
4430
4430
|
}, $scope0_id, "t", 1, 1, 1, 0, 1);
|
|
4431
|
-
_html(`</section><section${_attr_class("
|
|
4431
|
+
_html(`</section><section${_attr_class("_bj")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bk")}><h2${_attr("id", githubId)}${_attr_class("_by")}>GitHub</h2></div><ul${_attr_class("_bm")}>`);
|
|
4432
4432
|
_for_of(setup?.github || [], (h) => {
|
|
4433
4433
|
const $scope12_id = _scope_id();
|
|
4434
4434
|
const $for_content4__h_host__closures = /* @__PURE__ */ new Set();
|
|
4435
|
-
_html(`<li${_attr_class("
|
|
4435
|
+
_html(`<li${_attr_class("_bo")}><div${_attr_class("_bp")}><span${_attr_class("_br")}><span${_attr_class(["_bq", "_x"])}>${_escape(h.host)}${_el_resume($scope12_id, "e")}</span>`);
|
|
4436
4436
|
_if(() => {
|
|
4437
4437
|
if (h.isEnterprise) {
|
|
4438
4438
|
const $scope64_id = _scope_id();
|
|
@@ -4455,12 +4455,12 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4455
4455
|
return 1;
|
|
4456
4456
|
} else if (h.authed) {
|
|
4457
4457
|
const $scope62_id = _scope_id();
|
|
4458
|
-
_html(`<span${_attr_class("
|
|
4458
|
+
_html(`<span${_attr_class("_bs")}>Signed in<!>${h.user ? ` as ${_escape(`${_to_text(h.user)}`)}` : ""}${_el_resume($scope62_id, "b")}</span>`);
|
|
4459
4459
|
writeScope($scope62_id, {});
|
|
4460
4460
|
return 2;
|
|
4461
4461
|
} else {
|
|
4462
4462
|
const $scope63_id = _scope_id();
|
|
4463
|
-
_html(`<span${_attr_class("
|
|
4463
|
+
_html(`<span${_attr_class("_bs")}>${_escape(h.error || "Not signed in")}${_el_resume($scope63_id, "b")}</span>`);
|
|
4464
4464
|
writeScope($scope63_id, {});
|
|
4465
4465
|
return 3;
|
|
4466
4466
|
}
|
|
@@ -4491,7 +4491,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4491
4491
|
if (h.isEnterprise) {
|
|
4492
4492
|
const $scope26_id = _scope_id();
|
|
4493
4493
|
_html(`<button${_attr_class([
|
|
4494
|
-
"
|
|
4494
|
+
"_bt",
|
|
4495
4495
|
"_2",
|
|
4496
4496
|
"_3",
|
|
4497
4497
|
{ ["_q"]: confirmingRemove === h.host }
|
|
@@ -4534,7 +4534,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4534
4534
|
_if(() => {
|
|
4535
4535
|
if (setup && !setup.github.length) {
|
|
4536
4536
|
const $scope67_id = _scope_id();
|
|
4537
|
-
_html(`<p${_attr_class("
|
|
4537
|
+
_html(`<p${_attr_class("_bu")}>Install the GitHub CLI below to sign in.</p>`);
|
|
4538
4538
|
writeScope($scope67_id, {});
|
|
4539
4539
|
return 0;
|
|
4540
4540
|
}
|
|
@@ -4555,7 +4555,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4555
4555
|
return 0;
|
|
4556
4556
|
}
|
|
4557
4557
|
}, $scope0_id, "z", 1, 1, 1, 0, 1);
|
|
4558
|
-
_html(`</section><section${_attr_class("
|
|
4558
|
+
_html(`</section><section${_attr_class("_bj")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bk")}><h2${_attr("id", machineId)}${_attr_class("_by")}>Machine</h2>`);
|
|
4559
4559
|
_if(() => {
|
|
4560
4560
|
if (missingCount) {
|
|
4561
4561
|
const $scope48_id = _scope_id();
|
|
@@ -4595,7 +4595,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4595
4595
|
_if(() => {
|
|
4596
4596
|
if (setup && !setup.mise.installed) {
|
|
4597
4597
|
const $scope16_id = _scope_id();
|
|
4598
|
-
_html(`<p${_attr_class("
|
|
4598
|
+
_html(`<p${_attr_class("_bu")}>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($scope16_id, "c")}</button>${_el_resume($scope16_id, "b")}</p>`);
|
|
4599
4599
|
_script($scope16_id, "u42");
|
|
4600
4600
|
writeScope($scope16_id, {});
|
|
4601
4601
|
return 0;
|
|
@@ -4791,7 +4791,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4791
4791
|
_html(`<ul${_attr_class([toolGrid, "_ct"])}>`);
|
|
4792
4792
|
_for_of(hits, (h) => {
|
|
4793
4793
|
const $scope21_id = _scope_id();
|
|
4794
|
-
_html(`<li${_attr_class(row)}><div${_attr_class("
|
|
4794
|
+
_html(`<li${_attr_class(row)}><div${_attr_class("_bp")}><span${_attr_class(["_cq", "_x"])}>${_escape(h.name)}${_el_resume($scope21_id, "d")}</span>`);
|
|
4795
4795
|
_if(() => {
|
|
4796
4796
|
if (active.has(h.name)) {
|
|
4797
4797
|
const $scope22_id = _scope_id();
|
|
@@ -4800,7 +4800,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4800
4800
|
return 0;
|
|
4801
4801
|
} else if (h.description) {
|
|
4802
4802
|
const $scope78_id = _scope_id();
|
|
4803
|
-
_html(`<span${_attr_class("
|
|
4803
|
+
_html(`<span${_attr_class("_bs")}${_attr("title", h.description)}>${_escape(h.description)}${_el_resume($scope78_id, "b")}</span>${_el_resume($scope78_id, "a")}`);
|
|
4804
4804
|
writeScope($scope78_id, {});
|
|
4805
4805
|
return 1;
|
|
4806
4806
|
}
|
|
@@ -4839,7 +4839,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4839
4839
|
return 0;
|
|
4840
4840
|
} else if (hits && !searching) {
|
|
4841
4841
|
const $scope35_id = _scope_id();
|
|
4842
|
-
_html(`<p${_attr_class("
|
|
4842
|
+
_html(`<p${_attr_class("_bu")}>No tools match "<!>${_escape(query)}${_el_resume($scope35_id, "b")}".</p>`);
|
|
4843
4843
|
_subscribe($query__closures, writeScope($scope35_id, {}));
|
|
4844
4844
|
return 1;
|
|
4845
4845
|
}
|
|
@@ -4850,7 +4850,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4850
4850
|
return 0;
|
|
4851
4851
|
}
|
|
4852
4852
|
}, $scope0_id, "ac", 1, 1, 1, 0, 1);
|
|
4853
|
-
_html(`</section><section${_attr_class("
|
|
4853
|
+
_html(`</section><section${_attr_class("_bj")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bk")}><h2${_attr("id", appearanceId)}${_attr_class("_by")}>Appearance</h2></div><div${_attr_class(["_bo", "_cx"])}><label${_attr_class("_cy")}><span${_attr_class("_cz")}>Name</span><input${_attr_input_value($scope0_id, "aj", input.instance.name, _resume(function(v) {
|
|
4854
4854
|
setInstance({ name: v });
|
|
4855
4855
|
}, "u3", $scope0_id))}${_attr_class(["_U", "_cA"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false aria-describedby=look-name-hint>${_el_resume($scope0_id, "aj")}<span id=look-name-hint${_attr_class(["_S", "_cB"])}>Tab title, home-screen icon, and notifications.</span></label><div${_attr_class("_cy")} role=radiogroup aria-label="Color theme"><span${_attr_class("_cz")}>Theme</span><span${_attr_class("_cC")}>`);
|
|
4856
4856
|
_for_of([
|
|
@@ -5008,13 +5008,13 @@ var settings_page_default = _template("u", (input) => {
|
|
|
5008
5008
|
});
|
|
5009
5009
|
//#endregion
|
|
5010
5010
|
//#region src/tags/new-workspace.css.ts
|
|
5011
|
-
var content$1 = "_bI
|
|
5012
|
-
var section$1 = "_bM
|
|
5011
|
+
var content$1 = "_bI _bB";
|
|
5012
|
+
var section$1 = "_bM _bj";
|
|
5013
5013
|
var curBase = "_bR _T _S";
|
|
5014
|
-
var archived = "_bW
|
|
5014
|
+
var archived = "_bW _bj";
|
|
5015
5015
|
var archivedHint = "_bX _S";
|
|
5016
|
-
var archivedCard = "_bY
|
|
5017
|
-
var resultBranch = "
|
|
5016
|
+
var archivedCard = "_bY _bo";
|
|
5017
|
+
var resultBranch = "_c7 _Z _j";
|
|
5018
5018
|
//#endregion
|
|
5019
5019
|
//#region src/tags/branch-pick.marko
|
|
5020
5020
|
var branch_pick_default = _template("d", (input) => {
|
|
@@ -5025,11 +5025,11 @@ var branch_pick_default = _template("d", (input) => {
|
|
|
5025
5025
|
let branches = null;
|
|
5026
5026
|
let defaultBranch = null;
|
|
5027
5027
|
let branchFilter = "";
|
|
5028
|
-
_html(`<div${_attr_class("
|
|
5028
|
+
_html(`<div${_attr_class("_c9")}>`);
|
|
5029
5029
|
_if(() => {
|
|
5030
5030
|
{
|
|
5031
5031
|
const $scope4_id = _scope_id();
|
|
5032
|
-
_html(`<p${_attr_class("
|
|
5032
|
+
_html(`<p${_attr_class("_bu")}><span${_attr_class("_F")}></span> Loading branches…</p>`);
|
|
5033
5033
|
writeScope($scope4_id, {});
|
|
5034
5034
|
return 0;
|
|
5035
5035
|
}
|
|
@@ -5099,7 +5099,7 @@ var repo_picker_default = _template("s", (input) => {
|
|
|
5099
5099
|
branchesFor = branchesFor === fullName ? null : fullName;
|
|
5100
5100
|
if (fullName !== pasted) pasteWillFork = false;
|
|
5101
5101
|
}, "s6", $scope0_id);
|
|
5102
|
-
_html(`<div${_attr_class("
|
|
5102
|
+
_html(`<div${_attr_class("_c1")}><label${_attr_class("_W")}>`);
|
|
5103
5103
|
icon_search_default({
|
|
5104
5104
|
size: 14,
|
|
5105
5105
|
class: "_X"
|
|
@@ -5112,22 +5112,22 @@ var repo_picker_default = _template("s", (input) => {
|
|
|
5112
5112
|
_if(() => {
|
|
5113
5113
|
if (pasted) {
|
|
5114
5114
|
const $scope1_id = _scope_id();
|
|
5115
|
-
_html(`<ul${_attr_class("
|
|
5115
|
+
_html(`<ul${_attr_class("_c2")}><li><div${_attr_class(["_c4", "_c3"])}><button${_attr_class("_c5")}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
|
|
5116
5116
|
icon_plus_default({
|
|
5117
5117
|
size: 12,
|
|
5118
|
-
class: "
|
|
5118
|
+
class: "_da"
|
|
5119
5119
|
});
|
|
5120
|
-
_html(`<span${_attr_class("
|
|
5120
|
+
_html(`<span${_attr_class("_db")}>${_escape(repoLabel(pasted))}${_el_resume($scope1_id, "f")}</span></button>${_el_resume($scope1_id, "c")}`);
|
|
5121
5121
|
_if(() => {
|
|
5122
5122
|
if (pastedForkable) {
|
|
5123
5123
|
const $scope7_id = _scope_id();
|
|
5124
|
-
_html(`<button${_attr_class(["
|
|
5124
|
+
_html(`<button${_attr_class(["_c8", { ["_c6"]: pasteWillFork }])}${pasteWillFork ? " title=\"Will fork to your account; click to clone as-is instead\"" : _attr("title", `Fork ${pasted} to your account and clone the fork`)} aria-pressed=${pasteWillFork ? "true" : "false"}>${pasteWillFork ? "✓ fork" : "Fork"}${_el_resume($scope7_id, "b")}</button>${_el_resume($scope7_id, "a")}`);
|
|
5125
5125
|
_script($scope7_id, "s11");
|
|
5126
5126
|
_subscribe($pasteWillFork__closures, _subscribe($pasted__closures, writeScope($scope7_id, { Cah: 1 })));
|
|
5127
5127
|
return 0;
|
|
5128
5128
|
}
|
|
5129
5129
|
}, $scope1_id, "g", 1, 1, 1, 0, 1);
|
|
5130
|
-
_html(`<button${_attr_class([resultBranch, { ["
|
|
5130
|
+
_html(`<button${_attr_class([resultBranch, { ["_c6"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>⎇</button>${_el_resume($scope1_id, "h")}</div>`);
|
|
5131
5131
|
_if(() => {
|
|
5132
5132
|
if (branchesFor === pasted) {
|
|
5133
5133
|
const $scope2_id = _scope_id();
|
|
@@ -5152,7 +5152,7 @@ var repo_picker_default = _template("s", (input) => {
|
|
|
5152
5152
|
return 0;
|
|
5153
5153
|
} else if (filter && !catalog) {
|
|
5154
5154
|
const $scope8_id = _scope_id();
|
|
5155
|
-
_html(`<p${_attr_class("
|
|
5155
|
+
_html(`<p${_attr_class("_bu")}>Loading repos…</p>`);
|
|
5156
5156
|
writeScope($scope8_id, {});
|
|
5157
5157
|
return 1;
|
|
5158
5158
|
}
|
|
@@ -5160,15 +5160,15 @@ var repo_picker_default = _template("s", (input) => {
|
|
|
5160
5160
|
_if(() => {
|
|
5161
5161
|
if (results.length) {
|
|
5162
5162
|
const $scope3_id = _scope_id();
|
|
5163
|
-
_html(`<ul${_attr_class("
|
|
5163
|
+
_html(`<ul${_attr_class("_c2")}>`);
|
|
5164
5164
|
_for_of(results, (repo, i) => {
|
|
5165
5165
|
const $scope4_id = _scope_id();
|
|
5166
|
-
_html(`<li><div${_attr_class(["
|
|
5166
|
+
_html(`<li><div${_attr_class(["_c4", { ["_c3"]: i === highlight }])}><button${_attr_class("_c5")}>`);
|
|
5167
5167
|
icon_plus_default({
|
|
5168
5168
|
size: 12,
|
|
5169
|
-
class: "
|
|
5169
|
+
class: "_da"
|
|
5170
5170
|
});
|
|
5171
|
-
_html(`<span${_attr_class("
|
|
5171
|
+
_html(`<span${_attr_class("_db")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope4_id, "e")}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_c6"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>⎇</button>${_el_resume($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
|
|
5172
5172
|
_if(() => {
|
|
5173
5173
|
if (branchesFor === repo.nameWithOwner) {
|
|
5174
5174
|
const $scope5_id = _scope_id();
|
|
@@ -5201,7 +5201,7 @@ var repo_picker_default = _template("s", (input) => {
|
|
|
5201
5201
|
return 0;
|
|
5202
5202
|
} else if (filter && catalog && !pasted) {
|
|
5203
5203
|
const $scope6_id = _scope_id();
|
|
5204
|
-
_html(`<p${_attr_class("
|
|
5204
|
+
_html(`<p${_attr_class("_bu")}>No repos match "<!>${_escape(filter)}${_el_resume($scope6_id, "b")}". Paste a clone URL to add any repo.</p>`);
|
|
5205
5205
|
writeScope($scope6_id, {});
|
|
5206
5206
|
return 1;
|
|
5207
5207
|
}
|
|
@@ -5339,7 +5339,7 @@ var new_workspace_default = _template("p", (input) => {
|
|
|
5339
5339
|
}
|
|
5340
5340
|
}, "p6", $scope0_id);
|
|
5341
5341
|
const titleId = _id();
|
|
5342
|
-
_html(`<div${_attr_class("
|
|
5342
|
+
_html(`<div${_attr_class("_bz")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bA")}><div${_attr_class(content$1)}>`);
|
|
5343
5343
|
_set_serialize_reason({
|
|
5344
5344
|
0: _serialize_guard($scope0_reason, 2),
|
|
5345
5345
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -5378,9 +5378,9 @@ var new_workspace_default = _template("p", (input) => {
|
|
|
5378
5378
|
return 0;
|
|
5379
5379
|
}
|
|
5380
5380
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
5381
|
-
_html(`<label${_attr_class("_bL")}><span${_attr_class("
|
|
5381
|
+
_html(`<label${_attr_class("_bL")}><span${_attr_class("_by")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
|
|
5382
5382
|
name = _new_name;
|
|
5383
|
-
}, "p0", $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("_bN")}><h2${_attr_class("
|
|
5383
|
+
}, "p0", $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("_bN")}><h2${_attr_class("_by")}>Repos</h2><button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
5384
5384
|
_set_serialize_reason(1);
|
|
5385
5385
|
const $childScope2 = _peek_scope_id();
|
|
5386
5386
|
icon_refresh_default({
|
|
@@ -5437,7 +5437,7 @@ var new_workspace_default = _template("p", (input) => {
|
|
|
5437
5437
|
_if(() => {
|
|
5438
5438
|
if (!selected.length) {
|
|
5439
5439
|
const $scope12_id = _scope_id();
|
|
5440
|
-
_html(`<li${_attr_class("
|
|
5440
|
+
_html(`<li${_attr_class("_bu")}>No repos yet. Search below to add one, or create it empty.</li>`);
|
|
5441
5441
|
writeScope($scope12_id, {});
|
|
5442
5442
|
return 0;
|
|
5443
5443
|
}
|
|
@@ -5504,10 +5504,10 @@ var new_workspace_default = _template("p", (input) => {
|
|
|
5504
5504
|
_if(() => {
|
|
5505
5505
|
if (archived$1.length) {
|
|
5506
5506
|
const $scope4_id = _scope_id();
|
|
5507
|
-
_html(`<section${_attr_class(archived)}><div${_attr_class("_bN")}><h2${_attr_class("
|
|
5507
|
+
_html(`<section${_attr_class(archived)}><div${_attr_class("_bN")}><h2${_attr_class("_by")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_escape(archived$1.length)}${_el_resume($scope4_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("_bm")}>`);
|
|
5508
5508
|
_for_of(archived$1, (ws) => {
|
|
5509
5509
|
const $scope5_id = _scope_id();
|
|
5510
|
-
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("
|
|
5510
|
+
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("_bp")}><span${_attr_class("_bq")}>${_escape(ws.name)}${_el_resume($scope5_id, "d", $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_x"])}${_attr("title", ws.display_path || ws.path)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope5_id, "f", $sg__input_workspaces)}</span>${_el_resume($scope5_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnLg)}${_attr("disabled", busy || !!restoring)}>`);
|
|
5511
5511
|
_if(() => {
|
|
5512
5512
|
if (restoring === ws.id) {
|
|
5513
5513
|
const $scope15_id = _scope_id();
|
|
@@ -5652,8 +5652,8 @@ function activeAgent(session) {
|
|
|
5652
5652
|
const command = session.state?.command?.trim();
|
|
5653
5653
|
return command && agentFromCommand(command) || session.agent;
|
|
5654
5654
|
}
|
|
5655
|
-
var iconBtn$1 = "
|
|
5656
|
-
var navToggle = "
|
|
5655
|
+
var iconBtn$1 = "_dg _j";
|
|
5656
|
+
var navToggle = "_dl _j";
|
|
5657
5657
|
_template("H", (input) => {
|
|
5658
5658
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
5659
5659
|
const $scope0_id = _scope_id();
|
|
@@ -5696,12 +5696,12 @@ var ARM_MS = 3500;
|
|
|
5696
5696
|
function disarmLater(fn) {
|
|
5697
5697
|
return setTimeout(fn, ARM_MS);
|
|
5698
5698
|
}
|
|
5699
|
-
var railBtn = "
|
|
5700
|
-
var rowIcon = "
|
|
5701
|
-
var close = "
|
|
5699
|
+
var railBtn = "_f7 _j";
|
|
5700
|
+
var rowIcon = "_gf _Z _j";
|
|
5701
|
+
var close = "_gg _Z _j _2";
|
|
5702
5702
|
//#endregion
|
|
5703
5703
|
//#region src/styles/session-pop.css.ts
|
|
5704
|
-
var sessionPop = "
|
|
5704
|
+
var sessionPop = "_fM _4";
|
|
5705
5705
|
//#endregion
|
|
5706
5706
|
//#region src/client/usage.ts
|
|
5707
5707
|
/** The plan row an agent instance draws on: its own account (`claude2`)
|
|
@@ -5762,22 +5762,22 @@ var usage_pcts_default = _template("C", (input) => {
|
|
|
5762
5762
|
if (windows.length) {
|
|
5763
5763
|
const $scope1_id = _scope_id();
|
|
5764
5764
|
_html(`<span${_attr_class([
|
|
5765
|
-
"
|
|
5765
|
+
"_e8",
|
|
5766
5766
|
input.class,
|
|
5767
|
-
{ ["
|
|
5767
|
+
{ ["_e9"]: agent.stale_seconds != null }
|
|
5768
5768
|
])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
|
|
5769
5769
|
_for_of(windows, (win$1, i) => {
|
|
5770
5770
|
const $scope2_id = _scope_id();
|
|
5771
|
-
_html(`<span${_attr_class("
|
|
5771
|
+
_html(`<span${_attr_class("_e_")}>`);
|
|
5772
5772
|
_if(() => {
|
|
5773
5773
|
if (i) {
|
|
5774
5774
|
const $scope3_id = _scope_id();
|
|
5775
|
-
_html(`<span${_attr_class("
|
|
5775
|
+
_html(`<span${_attr_class("_fc")} aria-hidden=true>·</span>`);
|
|
5776
5776
|
$si__input_agent && writeScope($scope3_id, {});
|
|
5777
5777
|
return 0;
|
|
5778
5778
|
}
|
|
5779
5779
|
}, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
5780
|
-
_html(`<span${_attr_class("
|
|
5780
|
+
_html(`<span${_attr_class("_fa")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_fb", win$1.used_percent >= 90 ? "_e4" : win$1.used_percent >= 70 ? "_e3" : win$1.used_percent >= 40 ? "_e2" : "_e1"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
|
|
5781
5781
|
$si__input_agent && writeScope($scope2_id, {});
|
|
5782
5782
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
5783
5783
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -6011,10 +6011,10 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6011
6011
|
_if(() => {
|
|
6012
6012
|
if (input.rail) {
|
|
6013
6013
|
const $scope2_id = _scope_id();
|
|
6014
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["
|
|
6014
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_f5"]: input.current }])}${_attr("title", ws$1.name)}>${_escape((input.index ?? 0) + 1)}${_el_resume($scope2_id, "b", _serialize_guard($scope0_reason, 27))}<span${_attr_class([
|
|
6015
6015
|
"_z",
|
|
6016
6016
|
phase[dot],
|
|
6017
|
-
"
|
|
6017
|
+
"_f8"
|
|
6018
6018
|
])}></span>${_el_resume($scope2_id, "c", $sg__input_workspaceId__OR__input_status)}</a>${_el_resume($scope2_id, "a", _serialize_guard($scope0_reason, 3))}`);
|
|
6019
6019
|
_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_index && $input_index__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })))));
|
|
6020
6020
|
return 0;
|
|
@@ -6022,15 +6022,15 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6022
6022
|
const $scope3_id = _scope_id();
|
|
6023
6023
|
const sessions$1 = input.sessions || [];
|
|
6024
6024
|
const phaseLabel = dot === "working" ? "Working" : dot === "waiting" ? "Needs input" : dot === "idle" ? "Idle" : "Not running";
|
|
6025
|
-
_html(`<section${_attr_class(["
|
|
6026
|
-
["
|
|
6025
|
+
_html(`<section${_attr_class(["_f_", {
|
|
6026
|
+
["_f5"]: input.current,
|
|
6027
6027
|
["_5"]: input.current,
|
|
6028
|
-
["
|
|
6029
|
-
["
|
|
6030
|
-
}])}><div${_attr_class("
|
|
6028
|
+
["_ga"]: input.railPop,
|
|
6029
|
+
["_f9"]: input.page
|
|
6030
|
+
}])}><div${_attr_class("_gb")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class("_gc")}><span${_attr_class([
|
|
6031
6031
|
"_z",
|
|
6032
6032
|
phase[dot],
|
|
6033
|
-
"
|
|
6033
|
+
"_gp"
|
|
6034
6034
|
])}${_attr("title", phaseLabel)}></span>${_el_resume($scope3_id, "d", $sg__input_workspaceId__OR__input_status)}`);
|
|
6035
6035
|
_if(() => {
|
|
6036
6036
|
if (sessions$1.length === 1) {
|
|
@@ -6043,7 +6043,7 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6043
6043
|
icon_agent_default({
|
|
6044
6044
|
agent: activeAgent(sessions$1[0]),
|
|
6045
6045
|
size: 12,
|
|
6046
|
-
class: "
|
|
6046
|
+
class: "_gh"
|
|
6047
6047
|
});
|
|
6048
6048
|
$si__input_sessions && writeScope($scope14_id, {
|
|
6049
6049
|
_: _scope_with_id($scope3_id),
|
|
@@ -6053,16 +6053,16 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6053
6053
|
}
|
|
6054
6054
|
}, $scope3_id, "e", $sg__input_sessions, $sg__input_sessions);
|
|
6055
6055
|
const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length === 1 ? sessions$1[0].title || "" : `${sessions$1.length} sessions`;
|
|
6056
|
-
_html(`<span${_attr_class("
|
|
6056
|
+
_html(`<span${_attr_class("_gi")}><span${_attr_class("_gj")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "h", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
|
|
6057
6057
|
_if(() => {
|
|
6058
6058
|
if (input.page && metaText) {
|
|
6059
6059
|
const $scope16_id = _scope_id();
|
|
6060
|
-
_html(`<span${_attr_class("
|
|
6060
|
+
_html(`<span${_attr_class("_gn")}>${_escape(metaText)}${_el_resume($scope16_id, "b", _serialize_guard($scope0_reason, 7))}</span>`);
|
|
6061
6061
|
$si__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status && writeScope($scope16_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope3_id) });
|
|
6062
6062
|
return 0;
|
|
6063
6063
|
} else if (sessions$1.length === 1 && sessions$1[0].title) {
|
|
6064
6064
|
const $scope15_id = _scope_id();
|
|
6065
|
-
_html(`<span${_attr_class("
|
|
6065
|
+
_html(`<span${_attr_class("_gk")}>${_escape(sessions$1[0].title)}${_el_resume($scope15_id, "b", $sg__input_sessions)}</span>`);
|
|
6066
6066
|
$si__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status && writeScope($scope15_id, { _: $si__input_sessions && _scope_with_id($scope3_id) });
|
|
6067
6067
|
return 1;
|
|
6068
6068
|
}
|
|
@@ -6075,7 +6075,7 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6075
6075
|
"_I",
|
|
6076
6076
|
"_R",
|
|
6077
6077
|
"_K",
|
|
6078
|
-
"
|
|
6078
|
+
"_go"
|
|
6079
6079
|
])}>${input.current ? "Open" : ""}${_el_resume($scope4_id, "b", _serialize_guard($scope0_reason, 21))}</span>`);
|
|
6080
6080
|
$si__input_current__OR__input_page__OR__input_rail__OR__input_workspaces__OR__input_workspaceId && _subscribe($si__input_current && $input_current__closures, writeScope($scope4_id, {
|
|
6081
6081
|
_: _scope_with_id($scope3_id),
|
|
@@ -6088,7 +6088,7 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6088
6088
|
_if(() => {
|
|
6089
6089
|
if (!input.page) {
|
|
6090
6090
|
const $scope5_id = _scope_id();
|
|
6091
|
-
_html(`<div${_attr_class("
|
|
6091
|
+
_html(`<div${_attr_class("_gd")}>`);
|
|
6092
6092
|
_if(() => {
|
|
6093
6093
|
if (input.onNewSession) {
|
|
6094
6094
|
const $scope6_id = _scope_id();
|
|
@@ -6102,7 +6102,7 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6102
6102
|
_html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
|
|
6103
6103
|
_for_of([], (agent) => {
|
|
6104
6104
|
const $scope7_id = _scope_id();
|
|
6105
|
-
_html(`<button${_attr_class("
|
|
6105
|
+
_html(`<button${_attr_class("_fN")}>`);
|
|
6106
6106
|
_set_serialize_reason(12);
|
|
6107
6107
|
const $childScope2 = _peek_scope_id();
|
|
6108
6108
|
icon_agent_default({
|
|
@@ -6137,7 +6137,7 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6137
6137
|
return 0;
|
|
6138
6138
|
}
|
|
6139
6139
|
}, $scope5_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
|
|
6140
|
-
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["
|
|
6140
|
+
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_f6"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
|
|
6141
6141
|
icon_manage_default({ size: 12 });
|
|
6142
6142
|
_html(`</a>${_el_resume($scope5_id, "d", _serialize_guard($scope0_reason, 8))}</div>`);
|
|
6143
6143
|
_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($scope5_id, {
|
|
@@ -6147,7 +6147,7 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6147
6147
|
return 0;
|
|
6148
6148
|
}
|
|
6149
6149
|
}, $scope3_id, "k", $sg__input_page, $sg__input_page, 1, 0, 1);
|
|
6150
|
-
_html(`</div><div${_attr_class("
|
|
6150
|
+
_html(`</div><div${_attr_class("_gu")}>`);
|
|
6151
6151
|
_if(() => {
|
|
6152
6152
|
if (sessions$1.length === 1 && openPlan) {
|
|
6153
6153
|
const $scope11_id = _scope_id();
|
|
@@ -6155,7 +6155,7 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6155
6155
|
const $childScope3 = _peek_scope_id();
|
|
6156
6156
|
usage_pcts_default({
|
|
6157
6157
|
agent: openPlan,
|
|
6158
|
-
class: "
|
|
6158
|
+
class: "_gl"
|
|
6159
6159
|
});
|
|
6160
6160
|
_subscribe($openPlan__closures, writeScope($scope11_id, {
|
|
6161
6161
|
a: _existing_scope($childScope3),
|
|
@@ -6166,14 +6166,14 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6166
6166
|
}, $scope3_id, "m");
|
|
6167
6167
|
_for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
|
|
6168
6168
|
const $scope8_id = _scope_id();
|
|
6169
|
-
_html(`<div${_attr_class(["
|
|
6169
|
+
_html(`<div${_attr_class(["_ge", { ["_f5"]: s.id === input.currentTab }])}>`);
|
|
6170
6170
|
_if(() => {
|
|
6171
6171
|
if (renamingId === s.id) {
|
|
6172
6172
|
const $scope10_id = _scope_id();
|
|
6173
6173
|
_html(`<span${_attr_class([
|
|
6174
6174
|
"_z",
|
|
6175
6175
|
phase[sessionPhase(s.state)],
|
|
6176
|
-
"
|
|
6176
|
+
"_gs"
|
|
6177
6177
|
])}></span>${_el_resume($scope10_id, "a", $sg__input_sessions)}`);
|
|
6178
6178
|
_set_serialize_reason({
|
|
6179
6179
|
1: $sg__input_sessions,
|
|
@@ -6183,17 +6183,17 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6183
6183
|
icon_agent_default({
|
|
6184
6184
|
agent: activeAgent(s),
|
|
6185
6185
|
size: 13,
|
|
6186
|
-
class: "
|
|
6186
|
+
class: "_gw"
|
|
6187
6187
|
});
|
|
6188
6188
|
_html(`<input${_attr_input_value($scope10_id, "c", renameValue, _resume((_new_renameValue) => {
|
|
6189
6189
|
renameValue = _new_renameValue;
|
|
6190
|
-
}, "w0", $scope10_id))}${_attr_class(["_U", "
|
|
6190
|
+
}, "w0", $scope10_id))}${_attr_class(["_U", "_gt"])} aria-label="Session name">${_el_resume($scope10_id, "c")}`);
|
|
6191
6191
|
_script($scope10_id, "w5");
|
|
6192
6192
|
_subscribe($renameValue__closures, writeScope($scope10_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
|
|
6193
6193
|
return 0;
|
|
6194
6194
|
} else {
|
|
6195
6195
|
const $scope9_id = _scope_id();
|
|
6196
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("
|
|
6196
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("_gv")}><span${_attr_class(["_z", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope9_id, "b", $sg__input_sessions)}`);
|
|
6197
6197
|
_set_serialize_reason({
|
|
6198
6198
|
1: $sg__input_sessions,
|
|
6199
6199
|
2: $sg__input_sessions
|
|
@@ -6202,9 +6202,9 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6202
6202
|
icon_agent_default({
|
|
6203
6203
|
agent: activeAgent(s),
|
|
6204
6204
|
size: 13,
|
|
6205
|
-
class: "
|
|
6205
|
+
class: "_gw"
|
|
6206
6206
|
});
|
|
6207
|
-
_html(`<span${_attr_class("
|
|
6207
|
+
_html(`<span${_attr_class("_gq")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope9_id, "e", $sg__input_sessions)}</span></a>${_el_resume($scope9_id, "a", _serialize_guard($scope0_reason, 6))}<div${_attr_class("_gr")}><button${_attr_class(rowIcon)} title="Rename session">`);
|
|
6208
6208
|
icon_edit_default({ size: 12 });
|
|
6209
6209
|
_html(`</button>${_el_resume($scope9_id, "g")}<button${_attr_class([close, { ["_q"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
|
|
6210
6210
|
icon_xmark_default({ size: 12 });
|
|
@@ -6216,7 +6216,7 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6216
6216
|
const $childScope6 = _peek_scope_id();
|
|
6217
6217
|
usage_pcts_default({
|
|
6218
6218
|
agent: openPlan,
|
|
6219
|
-
class: "
|
|
6219
|
+
class: "_gm"
|
|
6220
6220
|
});
|
|
6221
6221
|
_subscribe($openPlan__closures, writeScope($scope12_id, {
|
|
6222
6222
|
a: _existing_scope($childScope6),
|
|
@@ -6419,34 +6419,34 @@ var side_nav_default = _template("x", (input) => {
|
|
|
6419
6419
|
const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
|
|
6420
6420
|
const otherIds = itemIds.filter((id) => id !== ws.id);
|
|
6421
6421
|
const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
|
|
6422
|
-
_html(`<aside${_attr_class(["
|
|
6423
|
-
["
|
|
6424
|
-
["
|
|
6422
|
+
_html(`<aside${_attr_class(["_dk", {
|
|
6423
|
+
["_di"]: !navOpen,
|
|
6424
|
+
["_dj"]: isPage
|
|
6425
6425
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
6426
6426
|
_if(() => {
|
|
6427
6427
|
if (isPage) {
|
|
6428
6428
|
const $scope1_id = _scope_id();
|
|
6429
|
-
_html(`<header${_attr_class("
|
|
6429
|
+
_html(`<header${_attr_class("_dn")}><div${_attr_class("_dw")}>`);
|
|
6430
6430
|
_if(() => {
|
|
6431
6431
|
if (input.instanceName) {
|
|
6432
6432
|
const $scope2_id = _scope_id();
|
|
6433
|
-
_html(`<div${_attr_class("
|
|
6433
|
+
_html(`<div${_attr_class("_dt")} title="This work server (Settings → Appearance)"><img${_attr_class("_du")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_dv")}>${_escape(input.instanceName)}${_el_resume($scope2_id, "d", $sg__input_instanceName)}</span></div>`);
|
|
6434
6434
|
_subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
|
|
6435
6435
|
return 0;
|
|
6436
6436
|
}
|
|
6437
6437
|
}, $scope1_id, "c", $sg__input_instanceName, $sg__input_instanceName, 1, 0, 1);
|
|
6438
|
-
_html(`<h1${_attr_class("
|
|
6438
|
+
_html(`<h1${_attr_class("_do")}>Workspaces</h1></div><div${_attr_class("_dp")}>`);
|
|
6439
6439
|
_if(() => {}, $scope1_id, "f", 1, 1, 1, 0, 1);
|
|
6440
6440
|
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
|
|
6441
6441
|
iconBtn$1,
|
|
6442
|
-
"
|
|
6443
|
-
{ ["
|
|
6442
|
+
"_dq",
|
|
6443
|
+
{ ["_df"]: view === "settings" }
|
|
6444
6444
|
])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
6445
6445
|
icon_settings_default({ size: 16 });
|
|
6446
6446
|
_if(() => {
|
|
6447
6447
|
if (input.setupReady === false) {
|
|
6448
6448
|
const $scope12_id = _scope_id();
|
|
6449
|
-
_html(`<span${_attr_class(["_z", "
|
|
6449
|
+
_html(`<span${_attr_class(["_z", "_dh"])} title="Machine setup incomplete"></span>`);
|
|
6450
6450
|
$si__input_setupReady && writeScope($scope12_id, {});
|
|
6451
6451
|
return 0;
|
|
6452
6452
|
}
|
|
@@ -6459,18 +6459,18 @@ var side_nav_default = _template("x", (input) => {
|
|
|
6459
6459
|
_if(() => {
|
|
6460
6460
|
if (!isPage && input.instanceName) {
|
|
6461
6461
|
const $scope3_id = _scope_id();
|
|
6462
|
-
_html(`<div${_attr_class("
|
|
6462
|
+
_html(`<div${_attr_class("_dt")} title="This work server (Settings → Appearance)"><img${_attr_class("_du")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_dv")}>${_escape(input.instanceName)}${_el_resume($scope3_id, "d", $sg__input_instanceName)}</span></div>`);
|
|
6463
6463
|
writeScope($scope3_id, {});
|
|
6464
6464
|
return 0;
|
|
6465
6465
|
}
|
|
6466
6466
|
}, $scope0_id, "c", 1, 1, 1, 0, 1);
|
|
6467
|
-
_html(`<div${_attr_class("
|
|
6467
|
+
_html(`<div${_attr_class("_dx")}>`);
|
|
6468
6468
|
_for_of(listIds, (wsId) => {
|
|
6469
6469
|
const $scope4_id = _scope_id();
|
|
6470
6470
|
_if(() => {
|
|
6471
6471
|
if (isPage && wsId === ws.id) {
|
|
6472
6472
|
const $scope13_id = _scope_id();
|
|
6473
|
-
_html(`<h2${_attr_class(["
|
|
6473
|
+
_html(`<h2${_attr_class(["_by", "_dr"])}>Current</h2>`);
|
|
6474
6474
|
writeScope($scope13_id, {});
|
|
6475
6475
|
return 0;
|
|
6476
6476
|
}
|
|
@@ -6478,7 +6478,7 @@ var side_nav_default = _template("x", (input) => {
|
|
|
6478
6478
|
_if(() => {
|
|
6479
6479
|
if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
|
|
6480
6480
|
const $scope14_id = _scope_id();
|
|
6481
|
-
_html(`<h2${_attr_class(["
|
|
6481
|
+
_html(`<h2${_attr_class(["_by", "_dr"])}>Other workspaces</h2>`);
|
|
6482
6482
|
writeScope($scope14_id, {});
|
|
6483
6483
|
return 0;
|
|
6484
6484
|
}
|
|
@@ -6565,7 +6565,7 @@ var side_nav_default = _template("x", (input) => {
|
|
|
6565
6565
|
railHover = null;
|
|
6566
6566
|
}, 150);
|
|
6567
6567
|
}, "x6", $scope5_id);
|
|
6568
|
-
_html(`<div${_attr_class("
|
|
6568
|
+
_html(`<div${_attr_class("_dy")}>`);
|
|
6569
6569
|
_for_of(itemIds, (wsId, i) => {
|
|
6570
6570
|
const $scope6_id = _scope_id();
|
|
6571
6571
|
_html("<span>");
|
|
@@ -6619,7 +6619,7 @@ var side_nav_default = _template("x", (input) => {
|
|
|
6619
6619
|
if (railHover) {
|
|
6620
6620
|
const $scope7_id = _scope_id();
|
|
6621
6621
|
const hoverId = railHover.id;
|
|
6622
|
-
_html(`<div${_attr_class(["_4", "
|
|
6622
|
+
_html(`<div${_attr_class(["_4", "_dB"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
|
|
6623
6623
|
_set_serialize_reason({
|
|
6624
6624
|
0: 1,
|
|
6625
6625
|
1: 1,
|
|
@@ -6707,7 +6707,7 @@ var side_nav_default = _template("x", (input) => {
|
|
|
6707
6707
|
return 0;
|
|
6708
6708
|
}
|
|
6709
6709
|
}, $scope0_id, "e");
|
|
6710
|
-
_html(`<div${_attr_class("
|
|
6710
|
+
_html(`<div${_attr_class("_dz")}>`);
|
|
6711
6711
|
_if(() => {
|
|
6712
6712
|
if (isPage) {
|
|
6713
6713
|
const $scope9_id = _scope_id();
|
|
@@ -6715,7 +6715,7 @@ var side_nav_default = _template("x", (input) => {
|
|
|
6715
6715
|
"_o",
|
|
6716
6716
|
"_p",
|
|
6717
6717
|
btnLg,
|
|
6718
|
-
"
|
|
6718
|
+
"_ds"
|
|
6719
6719
|
])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
6720
6720
|
icon_folder_plus_default({ size: 16 });
|
|
6721
6721
|
_html(` New workspace</a>${_el_resume($scope9_id, "a")}`);
|
|
@@ -6737,19 +6737,19 @@ var side_nav_default = _template("x", (input) => {
|
|
|
6737
6737
|
return 1;
|
|
6738
6738
|
}
|
|
6739
6739
|
}, $scope8_id, "a", 1, 1, 1, "</button>", 1);
|
|
6740
|
-
_html(`<div${_attr_class(["_y", "
|
|
6740
|
+
_html(`<div${_attr_class(["_y", "_dA"])}></div>`);
|
|
6741
6741
|
_if(() => {}, $scope8_id, "c", 1, 1, 1, 0, 1);
|
|
6742
|
-
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["
|
|
6742
|
+
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["_df"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
6743
6743
|
icon_settings_default({ size: 15 });
|
|
6744
6744
|
_if(() => {
|
|
6745
6745
|
if (input.setupReady === false) {
|
|
6746
6746
|
const $scope17_id = _scope_id();
|
|
6747
|
-
_html(`<span${_attr_class(["_z", "
|
|
6747
|
+
_html(`<span${_attr_class(["_z", "_dh"])} title="Machine setup incomplete"></span>`);
|
|
6748
6748
|
$si__input_setupReady && writeScope($scope17_id, {});
|
|
6749
6749
|
return 0;
|
|
6750
6750
|
}
|
|
6751
6751
|
}, $scope8_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
6752
|
-
_html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["
|
|
6752
|
+
_html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["_df"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
6753
6753
|
icon_folder_plus_default({ size: 16 });
|
|
6754
6754
|
_html(`</a>${_el_resume($scope8_id, "g")}`);
|
|
6755
6755
|
_script($scope8_id, "x15");
|
|
@@ -6814,11 +6814,11 @@ var side_nav_default = _template("x", (input) => {
|
|
|
6814
6814
|
_resume_branch($scope0_id);
|
|
6815
6815
|
});
|
|
6816
6816
|
var iconBtn = "_0 _j";
|
|
6817
|
-
var sectionCount = "
|
|
6818
|
-
var content = "
|
|
6819
|
-
var pageMeta = "
|
|
6820
|
-
var pathMeta = "
|
|
6821
|
-
var dangerHint = "
|
|
6817
|
+
var sectionCount = "_bl _I _J";
|
|
6818
|
+
var content = "_cQ _bB";
|
|
6819
|
+
var pageMeta = "_cR _bG";
|
|
6820
|
+
var pathMeta = "_cU _x";
|
|
6821
|
+
var dangerHint = "_c0 _S";
|
|
6822
6822
|
//#endregion
|
|
6823
6823
|
//#region src/tags/manage-workspace.marko
|
|
6824
6824
|
var api$2;
|
|
@@ -6917,7 +6917,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
6917
6917
|
setTimeout(() => loadProcs(void 0), 500);
|
|
6918
6918
|
}, "n5", $scope0_id);
|
|
6919
6919
|
const titleId = _id();
|
|
6920
|
-
_html(`<div${_attr_class("
|
|
6920
|
+
_html(`<div${_attr_class("_bz")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bA")}><div${_attr_class(content)}>`);
|
|
6921
6921
|
_set_serialize_reason(30);
|
|
6922
6922
|
const $childScope = _peek_scope_id();
|
|
6923
6923
|
page_head_default({
|
|
@@ -6930,7 +6930,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
6930
6930
|
meta: attrTag({ content: _content_resume("n11", () => {
|
|
6931
6931
|
_scope_reason();
|
|
6932
6932
|
const $scope8_id = _scope_id();
|
|
6933
|
-
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("
|
|
6933
|
+
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_cS")}>${_escape(ws.name)}${_el_resume($scope8_id, "c")}</span>`);
|
|
6934
6934
|
_if(() => {
|
|
6935
6935
|
if (ws.status !== "active") {
|
|
6936
6936
|
const $scope11_id = _scope_id();
|
|
@@ -6939,7 +6939,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
6939
6939
|
return 0;
|
|
6940
6940
|
}
|
|
6941
6941
|
}, $scope8_id, "d", 1, 1, 1, 0, 1);
|
|
6942
|
-
_html(`<span${_attr_class("
|
|
6942
|
+
_html(`<span${_attr_class("_cT")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope8_id, "g")}</span></span>${_el_resume($scope8_id, "a")}`);
|
|
6943
6943
|
_subscribe($ws_status__closures, _subscribe($ws_name__closures, _subscribe($ws_path__closures, _subscribe($ws_display_path__closures, writeScope($scope8_id, { _: _scope_with_id($scope0_id) })))));
|
|
6944
6944
|
_resume_branch($scope8_id);
|
|
6945
6945
|
}, $scope0_id) })
|
|
@@ -6967,22 +6967,22 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
6967
6967
|
_if(() => {
|
|
6968
6968
|
if (pendingAction && actionStep) {
|
|
6969
6969
|
const $scope7_id = _scope_id();
|
|
6970
|
-
_html(`<p${_attr_class("
|
|
6970
|
+
_html(`<p${_attr_class("_bi")}><span${_attr_class("_F")}></span><!>${_escape(actionStep)}${_el_resume($scope7_id, "c")}</p>`);
|
|
6971
6971
|
writeScope($scope7_id, {});
|
|
6972
6972
|
return 0;
|
|
6973
6973
|
}
|
|
6974
6974
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
6975
|
-
_html(`<section${_attr_class("
|
|
6975
|
+
_html(`<section${_attr_class("_bj")}><div${_attr_class("_bk")}><h2${_attr_class("_by")}>Repos</h2><span${_attr_class(sectionCount)}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "k")}</span><div${_attr_class("_y")}></div><button${_attr_class(iconBtn)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
6976
6976
|
_set_serialize_reason(1);
|
|
6977
6977
|
const $childScope2 = _peek_scope_id();
|
|
6978
6978
|
icon_refresh_default({
|
|
6979
6979
|
size: 14,
|
|
6980
6980
|
class: catalogRefreshing && "_E"
|
|
6981
6981
|
});
|
|
6982
|
-
_html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("
|
|
6982
|
+
_html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("_bm")}>`);
|
|
6983
6983
|
_for_of(ws.repos, (row) => {
|
|
6984
6984
|
const $scope1_id = _scope_id();
|
|
6985
|
-
_html(`<li${_attr_class("
|
|
6985
|
+
_html(`<li${_attr_class("_bo")}><div${_attr_class("_bp")}><span${_attr_class(["_bq", "_x"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_br")}><a${_attr_class(["_bs", "_cW"])}${_attr("href", repoWebUrl$1(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")}`);
|
|
6986
6986
|
_if(() => {
|
|
6987
6987
|
if (row.base_branch !== row.default_branch) {
|
|
6988
6988
|
const $scope12_id = _scope_id();
|
|
@@ -7001,7 +7001,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
7001
7001
|
} else {
|
|
7002
7002
|
const $scope6_id = _scope_id();
|
|
7003
7003
|
_html(`<button${_attr_class([
|
|
7004
|
-
"
|
|
7004
|
+
"_bt",
|
|
7005
7005
|
"_2",
|
|
7006
7006
|
"_3",
|
|
7007
7007
|
{ ["_q"]: confirmingRemove === row.full_name }
|
|
@@ -7034,19 +7034,19 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
7034
7034
|
}, "full_name", $scope0_id, "p", 1, 1, 1, 0, 1);
|
|
7035
7035
|
_for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
|
|
7036
7036
|
const $scope16_id = _scope_id();
|
|
7037
|
-
_html(`<li${_attr_class(["
|
|
7037
|
+
_html(`<li${_attr_class(["_bo", "_bn"])}><span${_attr_class("_F")}></span><div${_attr_class("_bp")}><span${_attr_class("_bs")}>Adding <!>${_escape(name)}${_el_resume($scope16_id, "e")}…</span></div></li>`);
|
|
7038
7038
|
writeScope($scope16_id, {});
|
|
7039
7039
|
}, (n) => n, $scope0_id, "q", 1, 1, 1, 0, 1);
|
|
7040
7040
|
_html("</ul>");
|
|
7041
7041
|
_if(() => {
|
|
7042
7042
|
if (!ws.repos.length && !busy.size) {
|
|
7043
7043
|
const $scope17_id = _scope_id();
|
|
7044
|
-
_html(`<p${_attr_class("
|
|
7044
|
+
_html(`<p${_attr_class("_bu")}>No repos yet. Search below to add one.</p>`);
|
|
7045
7045
|
writeScope($scope17_id, {});
|
|
7046
7046
|
return 0;
|
|
7047
7047
|
}
|
|
7048
7048
|
}, $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
7049
|
-
_html(`<div${_attr_class("
|
|
7049
|
+
_html(`<div${_attr_class("_cV")}>`);
|
|
7050
7050
|
const $childScope3 = _peek_scope_id();
|
|
7051
7051
|
let refreshCatalog = repo_picker_default({
|
|
7052
7052
|
exclude: inWorkspace,
|
|
@@ -7066,17 +7066,17 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
7066
7066
|
_if(() => {
|
|
7067
7067
|
if (running.length) {
|
|
7068
7068
|
const $scope9_id = _scope_id();
|
|
7069
|
-
_html(`<section${_attr_class("
|
|
7069
|
+
_html(`<section${_attr_class("_bj")}><div${_attr_class("_bk")}><h2${_attr_class("_by")}>Running</h2><span${_attr_class(sectionCount)}>${_escape(running.length)}${_el_resume($scope9_id, "e")}</span></div><ul${_attr_class("_bm")}>`);
|
|
7070
7070
|
_for_of(running, (p) => {
|
|
7071
7071
|
const $scope10_id = _scope_id();
|
|
7072
|
-
_html(`<li${_attr_class("
|
|
7072
|
+
_html(`<li${_attr_class("_bo")}><div${_attr_class("_bp")}${_attr("title", p.args)}><span${_attr_class(["_bq", "_x"])}>${_escape(p.cmd)}${_el_resume($scope10_id, "d")}</span>`);
|
|
7073
7073
|
_if(() => {
|
|
7074
7074
|
if (p.ports.length) {
|
|
7075
7075
|
const $scope18_id = _scope_id();
|
|
7076
|
-
_html(`<span${_attr_class("
|
|
7076
|
+
_html(`<span${_attr_class("_br")}>`);
|
|
7077
7077
|
_for_of(p.ports, (port) => {
|
|
7078
7078
|
const $scope19_id = _scope_id();
|
|
7079
|
-
_html(`<button${_attr_class(["_s", "
|
|
7079
|
+
_html(`<button${_attr_class(["_s", "_cX"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope19_id, "b")}</button>${_el_resume($scope19_id, "a")}`);
|
|
7080
7080
|
_script($scope19_id, "n15");
|
|
7081
7081
|
writeScope($scope19_id, { d: port });
|
|
7082
7082
|
}, (x) => String(x), $scope18_id, "a", 1, 1, 1, "</span>", 1);
|
|
@@ -7084,7 +7084,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
7084
7084
|
return 0;
|
|
7085
7085
|
}
|
|
7086
7086
|
}, $scope10_id, "e", 1, 1, 1, 0, 1);
|
|
7087
|
-
_html(`</div>${_el_resume($scope10_id, "b")}<button${_attr_class(["
|
|
7087
|
+
_html(`</div>${_el_resume($scope10_id, "b")}<button${_attr_class(["_bt", "_2"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
|
|
7088
7088
|
icon_xmark_default({ size: 14 });
|
|
7089
7089
|
_html(`</button>${_el_resume($scope10_id, "f")}</li>`);
|
|
7090
7090
|
_script($scope10_id, "n16");
|
|
@@ -7098,7 +7098,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
7098
7098
|
return 0;
|
|
7099
7099
|
}
|
|
7100
7100
|
}, $scope0_id, "v", 1, 1, 1, 0, 1);
|
|
7101
|
-
_html(`<section${_attr_class(["
|
|
7101
|
+
_html(`<section${_attr_class(["_bj", "_cY"])}><div${_attr_class("_bk")}><h2${_attr_class("_by")}>Workspace</h2></div><div${_attr_class("_cZ")}>`);
|
|
7102
7102
|
_if(() => {
|
|
7103
7103
|
if (ws.status === "active") {
|
|
7104
7104
|
const $scope4_id = _scope_id();
|
|
@@ -7199,15 +7199,15 @@ var term_find_default = _template("y", (input) => {
|
|
|
7199
7199
|
const canStep = hasQuery && open;
|
|
7200
7200
|
const keybar = input.placement === "keybar";
|
|
7201
7201
|
_html(`<div${_attr_class([
|
|
7202
|
-
"
|
|
7203
|
-
keybar ? "
|
|
7204
|
-
!open && "
|
|
7205
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
7202
|
+
"_fj",
|
|
7203
|
+
keybar ? "_fl" : "_fk",
|
|
7204
|
+
!open && "_fn"
|
|
7205
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_fe", keybar ? "_fm" : "_fg"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
7206
7206
|
if (!open) return;
|
|
7207
7207
|
query = v;
|
|
7208
7208
|
live.query = v;
|
|
7209
7209
|
run(0);
|
|
7210
|
-
}, "y0", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
7210
|
+
}, "y0", $scope0_id))}${_attr_class([findInput, keybar && "_fo"])} 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 && "_fp"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_fp"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class([findIconBtn, keybar && "_fp"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
|
|
7211
7211
|
icon_xmark_default({ size: 14 });
|
|
7212
7212
|
_html(`</button>${_el_resume($scope0_id, "f")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
|
|
7213
7213
|
_script($scope0_id, "y4");
|
|
@@ -7481,7 +7481,7 @@ var term_default = _template("z", (input) => {
|
|
|
7481
7481
|
trapOpen = true;
|
|
7482
7482
|
}
|
|
7483
7483
|
}, "z14", $scope0_id);
|
|
7484
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
7484
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_dC")}><div${_attr_class("_dD")}></div>${_el_resume($scope0_id, "b")}`);
|
|
7485
7485
|
_if(() => {
|
|
7486
7486
|
if (findOpen) {
|
|
7487
7487
|
const $scope12_id = _scope_id();
|
|
@@ -7508,7 +7508,7 @@ var term_default = _template("z", (input) => {
|
|
|
7508
7508
|
_if(() => {
|
|
7509
7509
|
if (uploading) {
|
|
7510
7510
|
const $scope19_id = _scope_id();
|
|
7511
|
-
_html(`<div${_attr_class("
|
|
7511
|
+
_html(`<div${_attr_class("_dJ")}>uploading…</div>`);
|
|
7512
7512
|
writeScope($scope19_id, {});
|
|
7513
7513
|
return 0;
|
|
7514
7514
|
}
|
|
@@ -7516,7 +7516,7 @@ var term_default = _template("z", (input) => {
|
|
|
7516
7516
|
_if(() => {
|
|
7517
7517
|
if (copiedFlash) {
|
|
7518
7518
|
const $scope20_id = _scope_id();
|
|
7519
|
-
_html(`<div${_attr_class("
|
|
7519
|
+
_html(`<div${_attr_class("_dI")}>Copied</div>`);
|
|
7520
7520
|
writeScope($scope20_id, {});
|
|
7521
7521
|
return 0;
|
|
7522
7522
|
}
|
|
@@ -7525,7 +7525,7 @@ var term_default = _template("z", (input) => {
|
|
|
7525
7525
|
_if(() => {
|
|
7526
7526
|
if (trapOpen) {
|
|
7527
7527
|
const $scope11_id = _scope_id();
|
|
7528
|
-
_html(`<div${_attr_class("
|
|
7528
|
+
_html(`<div${_attr_class("_dK")}><div${_attr_class("_dL")}><p${_attr_class("_ef")}>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")}`);
|
|
7529
7529
|
_script($scope11_id, "z25");
|
|
7530
7530
|
_script($scope11_id, "z26");
|
|
7531
7531
|
writeScope($scope11_id, {});
|
|
@@ -7628,7 +7628,7 @@ var work_view_default = _template("D", (input) => {
|
|
|
7628
7628
|
let DiffView = null;
|
|
7629
7629
|
const loadDiffView = _resume(() => {
|
|
7630
7630
|
if (DiffView) return;
|
|
7631
|
-
import("./
|
|
7631
|
+
import("./_Cz8F94WW.js").then((m) => {
|
|
7632
7632
|
DiffView = m.default;
|
|
7633
7633
|
});
|
|
7634
7634
|
}, "D6", $scope0_id);
|
|
@@ -8097,7 +8097,7 @@ var work_view_default = _template("D", (input) => {
|
|
|
8097
8097
|
_if(() => {
|
|
8098
8098
|
if (!shownSessions.length && view === "term") {
|
|
8099
8099
|
const $scope7_id = _scope_id();
|
|
8100
|
-
_html(`<div${_attr_class("
|
|
8100
|
+
_html(`<div${_attr_class("_bv")}><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>`);
|
|
8101
8101
|
_script($scope7_id, "D49");
|
|
8102
8102
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
|
|
8103
8103
|
return 0;
|
|
@@ -8107,7 +8107,7 @@ var work_view_default = _template("D", (input) => {
|
|
|
8107
8107
|
return 0;
|
|
8108
8108
|
} else {
|
|
8109
8109
|
const $scope10_id = _scope_id();
|
|
8110
|
-
_html(`<p${_attr_class("
|
|
8110
|
+
_html(`<p${_attr_class("_bv")}>Loading sessions…</p>`);
|
|
8111
8111
|
writeScope($scope10_id, {});
|
|
8112
8112
|
return 1;
|
|
8113
8113
|
}
|
|
@@ -16050,4 +16050,4 @@ server.listen(port, () => {
|
|
|
16050
16050
|
//#endregion
|
|
16051
16051
|
export {};
|
|
16052
16052
|
|
|
16053
|
-
;var __MARKO_MANIFEST__={"
|
|
16053
|
+
;var __MARKO_MANIFEST__={"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-DOL8nhko.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DOL8nhko.css\"",">"],"defer":[2,"/assets/w._-hKsQDica.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-hKsQDica.js\"","></script>",2,"modulepreload#/assets/_DY1ZTiKf.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DY1ZTiKf.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-DOL8nhko.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DOL8nhko.css\"",">"],"defer":[2,"/assets/new-hKsQDica.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-hKsQDica.js\"","></script>",2,"modulepreload#/assets/_DY1ZTiKf.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DY1ZTiKf.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-DOL8nhko.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DOL8nhko.css\"",">"],"defer":[2,"/assets/settings-hKsQDica.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-hKsQDica.js\"","></script>",2,"modulepreload#/assets/_DY1ZTiKf.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DY1ZTiKf.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-DOL8nhko.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DOL8nhko.css\"",">"],"defer":[2,"/assets/w._-CyAQSfuD.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-CyAQSfuD.js\"","></script>",2,"modulepreload#/assets/_DY1ZTiKf.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DY1ZTiKf.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-DOL8nhko.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DOL8nhko.css\"",">"],"defer":[2,"/assets/w-hKsQDica.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-hKsQDica.js\"","></script>",2,"modulepreload#/assets/_DY1ZTiKf.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DY1ZTiKf.js\"",">"]}};
|