@dylanpiercey/work 0.0.95 → 0.0.96
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/{_-9SN7lhj.js → _C_EF8rh-.js} +58 -24
- package/dist/{_D13gIzTc.js → _Cel25igI.js} +226 -122
- package/dist/index.mjs +368 -196
- package/dist/public/assets/{_DFoZ_gHS.js → _3d2N4uW7.js} +1 -1
- package/dist/public/assets/_3d2N4uW7.js.br +0 -0
- package/dist/public/assets/{_DxP9fuIM2.js → _63r8H6KD2.js} +1 -1
- package/dist/public/assets/_63r8H6KD2.js.br +0 -0
- package/dist/public/assets/{_o-goWiqn.js → _6Tvpa4Xu.js} +1 -1
- package/dist/public/assets/_6Tvpa4Xu.js.br +0 -0
- package/dist/public/assets/_Ame3I5fr.js +85 -0
- package/dist/public/assets/_Ame3I5fr.js.br +0 -0
- package/dist/public/assets/{_DcqgsKkp.js → _B2uZZeNN.js} +1 -1
- package/dist/public/assets/_B2uZZeNN.js.br +0 -0
- package/dist/public/assets/{_B1tDI_nQ.js → _B3G8MYzv.js} +1 -1
- package/dist/public/assets/_B3G8MYzv.js.br +0 -0
- package/dist/public/assets/{_DKFPQ1582.js → _B4JWlIQw2.js} +1 -1
- package/dist/public/assets/_B4JWlIQw2.js.br +0 -0
- package/dist/public/assets/{_vGqkGb_u.js → _BAJq8l9L.js} +1 -1
- package/dist/public/assets/_BAJq8l9L.js.br +0 -0
- package/dist/public/assets/{_loA_xJ2W.js → _BBpJiyYC.js} +1 -1
- package/dist/public/assets/_BBpJiyYC.js.br +0 -0
- package/dist/public/assets/{_BCw4FOz1.js → _BEejQ7lO.js} +1 -1
- package/dist/public/assets/_BEejQ7lO.js.br +0 -0
- package/dist/public/assets/{_6wZbjEqF.js → _BGuxBUC6.js} +1 -1
- package/dist/public/assets/_BGuxBUC6.js.br +0 -0
- package/dist/public/assets/{_YHDsSm6D.js → _BGz6c5fQ.js} +1 -1
- package/dist/public/assets/_BGz6c5fQ.js.br +0 -0
- package/dist/public/assets/{_C8Iu43Ry.js → _BKaiZ1NX.js} +1 -1
- package/dist/public/assets/_BKaiZ1NX.js.br +0 -0
- package/dist/public/assets/{_CPP_bPjn.js → _BQiqdgb9.js} +1 -1
- package/dist/public/assets/_BQiqdgb9.js.br +0 -0
- package/dist/public/assets/{_C12MnCJE2.js → _BdRvtpe42.js} +1 -1
- package/dist/public/assets/_BdRvtpe42.js.br +0 -0
- package/dist/public/assets/{_7HSHWkd02.js → _BgA0nPVc2.js} +1 -1
- package/dist/public/assets/_BgA0nPVc2.js.br +0 -0
- package/dist/public/assets/{_lX7nytmW.js → _BggRFG6b.js} +1 -1
- package/dist/public/assets/{_Txji4y3b.js → _BnDvpSPb.js} +1 -1
- package/dist/public/assets/_BnDvpSPb.js.br +0 -0
- package/dist/public/assets/{_QZPTxSDf2.js → _Bpnk-HWG2.js} +1 -1
- package/dist/public/assets/_Bpnk-HWG2.js.br +0 -0
- package/dist/public/assets/{_BAC_-o69.js → _Bx5JF3nx.js} +1 -1
- package/dist/public/assets/_Bx5JF3nx.js.br +0 -0
- package/dist/public/assets/{_DXC_JO9C2.js → _Bxjd-YPA2.js} +1 -1
- package/dist/public/assets/_Bxjd-YPA2.js.br +0 -0
- package/dist/public/assets/{_x7q187z1.js → _Bzv-EzCt.js} +1 -1
- package/dist/public/assets/_Bzv-EzCt.js.br +0 -0
- package/dist/public/assets/{_DJWz5IwD.js → _C1AEjtWB.js} +1 -1
- package/dist/public/assets/_C1AEjtWB.js.br +0 -0
- package/dist/public/assets/{_MMZVDI0Q2.js → _C2Qcx14K2.js} +1 -1
- package/dist/public/assets/_C2Qcx14K2.js.br +0 -0
- package/dist/public/assets/{_D3DCFNQ9.js → _C3JlLCxf.js} +1 -1
- package/dist/public/assets/_C3JlLCxf.js.br +0 -0
- package/dist/public/assets/{_BC2fmz4Y2.js → _CAhTTF9I2.js} +1 -1
- package/dist/public/assets/_CAhTTF9I2.js.br +0 -0
- package/dist/public/assets/{_amMU20AI.js → _CBkUW_R-.js} +1 -1
- package/dist/public/assets/_CBkUW_R-.js.br +0 -0
- package/dist/public/assets/{_YyV-EVam.js → _CHSMtXGV.js} +1 -1
- package/dist/public/assets/_CHSMtXGV.js.br +0 -0
- package/dist/public/assets/{_DFmhG3rm2.js → _CHu5Km3j2.js} +1 -1
- package/dist/public/assets/_CHu5Km3j2.js.br +0 -0
- package/dist/public/assets/{_i50DwB9Z2.js → _CKqbHwCF2.js} +1 -1
- package/dist/public/assets/_CKqbHwCF2.js.br +0 -0
- package/dist/public/assets/{_Bt5xnL2D2.js → _CNW9dpu42.js} +1 -1
- package/dist/public/assets/_CNW9dpu42.js.br +0 -0
- package/dist/public/assets/{_bRvxXZbS.js → _CRtlCbY-.js} +1 -1
- package/dist/public/assets/_CRtlCbY-.js.br +0 -0
- package/dist/public/assets/{_BS7qhSY6.js → _CaZfk2zB.js} +1 -1
- package/dist/public/assets/_CaZfk2zB.js.br +0 -0
- package/dist/public/assets/{_B_0nqTdg2.js → _CbFus18_2.js} +1 -1
- package/dist/public/assets/_CbFus18_2.js.br +0 -0
- package/dist/public/assets/{_zIcbcxRV2.js → _Cerr01H42.js} +1 -1
- package/dist/public/assets/_Cerr01H42.js.br +0 -0
- package/dist/public/assets/{_D8yYAlmO.js → _Ch3aclh9.js} +1 -1
- package/dist/public/assets/_Ch3aclh9.js.br +0 -0
- package/dist/public/assets/{_D4Uyoa0g2.js → _CnF5wkxz2.js} +1 -1
- package/dist/public/assets/_CnF5wkxz2.js.br +0 -0
- package/dist/public/assets/{_DGKIFykf.js → _CqgdIwou.js} +1 -1
- package/dist/public/assets/_CqgdIwou.js.br +0 -0
- package/dist/public/assets/{_BZ5oh9fs.js → _CvciVzJE.js} +1 -1
- package/dist/public/assets/_CvciVzJE.js.br +0 -0
- package/dist/public/assets/{_D2inRKMJ.js → _Cwn2Dzif.js} +1 -1
- package/dist/public/assets/_Cwn2Dzif.js.br +0 -0
- package/dist/public/assets/{_DIhnt-RM.js → _CzGmg6J6.js} +1 -1
- package/dist/public/assets/_CzGmg6J6.js.br +0 -0
- package/dist/public/assets/{_VXhkFKrd2.js → _CzuNzNf52.js} +1 -1
- package/dist/public/assets/_CzuNzNf52.js.br +0 -0
- package/dist/public/assets/{_DMqW9uIi2.js → _D0XB9M1F2.js} +1 -1
- package/dist/public/assets/_D0XB9M1F2.js.br +0 -0
- package/dist/public/assets/{_B1jHOqZH.js → _D3o4Rxbh.js} +1 -1
- package/dist/public/assets/_D3o4Rxbh.js.br +0 -0
- package/dist/public/assets/{__T5qbsZi.js → _D8QuoF51.js} +1 -1
- package/dist/public/assets/_D8QuoF51.js.br +0 -0
- package/dist/public/assets/{_B0hS9ikc.js → _D8ZjEIBC.js} +1 -1
- package/dist/public/assets/_D8ZjEIBC.js.br +0 -0
- package/dist/public/assets/{_CAx_6lfv.js → _D8kpusiR.js} +1 -1
- package/dist/public/assets/_D8kpusiR.js.br +0 -0
- package/dist/public/assets/{_dfU2imZ4.js → _D9Iriq-Y.js} +1 -1
- package/dist/public/assets/_D9Iriq-Y.js.br +0 -0
- package/dist/public/assets/{_BlMjgG5a.js → _DCUcB2sk.js} +1 -1
- package/dist/public/assets/_DCUcB2sk.js.br +0 -0
- package/dist/public/assets/{_wbLaii1_.js → _DI8J66CZ.js} +1 -1
- package/dist/public/assets/_DI8J66CZ.js.br +0 -0
- package/dist/public/assets/{_DHIGTTg6.js → _DPjHjfD8.js} +1 -1
- package/dist/public/assets/_DPjHjfD8.js.br +0 -0
- package/dist/public/assets/{_fxHb-KbN2.js → _DYN4MZjM2.js} +1 -1
- package/dist/public/assets/_DYN4MZjM2.js.br +0 -0
- package/dist/public/assets/{_C6R_qpkO.js → _D_7Jyml2.js} +1 -1
- package/dist/public/assets/_D_7Jyml2.js.br +0 -0
- package/dist/public/assets/{_19yjqtuP.js → _D_Ut2Ol9.js} +1 -1
- package/dist/public/assets/_D_Ut2Ol9.js.br +0 -0
- package/dist/public/assets/{_9Cb6PnoF2.js → _DdeqfoDq2.js} +1 -1
- package/dist/public/assets/_DdeqfoDq2.js.br +0 -0
- package/dist/public/assets/{_CP5BtWSQ.js → _Dfr7TISb.js} +1 -1
- package/dist/public/assets/_Dfr7TISb.js.br +0 -0
- package/dist/public/assets/{_BCKtabuZ2.js → _DkuBJFLN2.js} +1 -1
- package/dist/public/assets/_DkuBJFLN2.js.br +0 -0
- package/dist/public/assets/{_DK0lys0m.js → _DmknNPV-.js} +1 -1
- package/dist/public/assets/_DmknNPV-.js.br +0 -0
- package/dist/public/assets/{_DgfTg0IW2.js → _DyVuhWqf2.js} +1 -1
- package/dist/public/assets/_DyVuhWqf2.js.br +0 -0
- package/dist/public/assets/{_BfXdOIFL.js → _DzyBRpRU.js} +1 -1
- package/dist/public/assets/_DzyBRpRU.js.br +0 -0
- package/dist/public/assets/{_CQsoywcI.js → _E4WOoQhA.js} +1 -1
- package/dist/public/assets/_E4WOoQhA.js.br +0 -0
- package/dist/public/assets/{_B8wWQ620.js → _Em_sWtVW.js} +46 -46
- package/dist/public/assets/_Em_sWtVW.js.br +0 -0
- package/dist/public/assets/{_BGtYhUy5.js → _FsklS6Cf.js} +1 -1
- package/dist/public/assets/_FsklS6Cf.js.br +0 -0
- package/dist/public/assets/{_BavnyJ90.js → _Qqf8g1TK.js} +1 -1
- package/dist/public/assets/_Qqf8g1TK.js.br +0 -0
- package/dist/public/assets/{_hyQI5FsG.js → _TPFL8bDN.js} +1 -1
- package/dist/public/assets/_TPFL8bDN.js.br +0 -0
- package/dist/public/assets/{_BFDKvdah.js → _a17toZcs.js} +1 -1
- package/dist/public/assets/_a17toZcs.js.br +0 -0
- package/dist/public/assets/{_DcNus2Vf2.js → _jEfYpM3E2.js} +1 -1
- package/dist/public/assets/_jEfYpM3E2.js.br +0 -0
- package/dist/public/assets/{_Drn3lXQP2.js → _koIBjoCI2.js} +1 -1
- package/dist/public/assets/{_CeELTPQl.js → _mf72EOR_.js} +1 -1
- package/dist/public/assets/_mf72EOR_.js.br +0 -0
- package/dist/public/assets/{_CBZeUUWn2.js → _tMvc_5W_2.js} +1 -1
- package/dist/public/assets/{_Cl1qk0QM.js → _uVBAFIy8.js} +1 -1
- package/dist/public/assets/_uVBAFIy8.js.br +0 -0
- package/dist/public/assets/{_D6aLEWL7.js → _vBAanm_x.js} +1 -1
- package/dist/public/assets/_vBAanm_x.js.br +0 -0
- package/dist/public/assets/{_CN7YZ9Jt.js → _vE0bTBGo.js} +1 -1
- package/dist/public/assets/_vE0bTBGo.js.br +0 -0
- package/dist/public/assets/{_xMSqf4Dz.js → _xACnj4IY.js} +1 -1
- package/dist/public/assets/_xACnj4IY.js.br +0 -0
- package/dist/public/assets/{_vC8X4_FF.js → _xIRNtE1V.js} +1 -1
- package/dist/public/assets/_xIRNtE1V.js.br +0 -0
- package/dist/public/assets/{_CsPn7vMJ2.js → _y6bl1mtk2.js} +1 -1
- package/dist/public/assets/_y6bl1mtk2.js.br +0 -0
- package/dist/public/assets/app-page-B1_16TZW.css +1 -0
- package/dist/public/assets/app-page-B1_16TZW.css.br +0 -0
- package/dist/public/assets/diff-view-CKc458jK.css +1 -0
- package/dist/public/assets/diff-view-CKc458jK.css.br +0 -0
- package/dist/public/assets/new-BpwV-DKC.js +1 -0
- package/dist/public/assets/settings-BpwV-DKC.js +1 -0
- package/dist/public/assets/w-BpwV-DKC.js +1 -0
- package/dist/public/assets/w._-BpwV-DKC.js +1 -0
- package/dist/public/assets/w._-C0I_DcpJ.js +1 -0
- package/package.json +1 -1
- package/dist/public/assets/_19yjqtuP.js.br +0 -0
- package/dist/public/assets/_6wZbjEqF.js.br +0 -0
- package/dist/public/assets/_7HSHWkd02.js.br +0 -0
- package/dist/public/assets/_9Cb6PnoF2.js.br +0 -0
- package/dist/public/assets/_B0hS9ikc.js.br +0 -0
- package/dist/public/assets/_B1jHOqZH.js.br +0 -0
- package/dist/public/assets/_B1tDI_nQ.js.br +0 -0
- package/dist/public/assets/_B8wWQ620.js.br +0 -0
- package/dist/public/assets/_BAC_-o69.js.br +0 -0
- package/dist/public/assets/_BC2fmz4Y2.js.br +0 -0
- package/dist/public/assets/_BCKtabuZ2.js.br +0 -0
- package/dist/public/assets/_BCw4FOz1.js.br +0 -0
- package/dist/public/assets/_BFDKvdah.js.br +0 -0
- package/dist/public/assets/_BGtYhUy5.js.br +0 -0
- package/dist/public/assets/_BS7qhSY6.js.br +0 -0
- package/dist/public/assets/_BZ5oh9fs.js.br +0 -0
- package/dist/public/assets/_B_0nqTdg2.js.br +0 -0
- package/dist/public/assets/_BavnyJ90.js.br +0 -0
- package/dist/public/assets/_BfXdOIFL.js.br +0 -0
- package/dist/public/assets/_BlMjgG5a.js.br +0 -0
- package/dist/public/assets/_BpdeumzG.js +0 -85
- package/dist/public/assets/_BpdeumzG.js.br +0 -0
- package/dist/public/assets/_Bt5xnL2D2.js.br +0 -0
- package/dist/public/assets/_C12MnCJE2.js.br +0 -0
- package/dist/public/assets/_C6R_qpkO.js.br +0 -0
- package/dist/public/assets/_C8Iu43Ry.js.br +0 -0
- package/dist/public/assets/_CAx_6lfv.js.br +0 -0
- package/dist/public/assets/_CN7YZ9Jt.js.br +0 -0
- package/dist/public/assets/_CP5BtWSQ.js.br +0 -0
- package/dist/public/assets/_CPP_bPjn.js.br +0 -0
- package/dist/public/assets/_CQsoywcI.js.br +0 -0
- package/dist/public/assets/_CeELTPQl.js.br +0 -0
- package/dist/public/assets/_Cl1qk0QM.js.br +0 -0
- package/dist/public/assets/_CsPn7vMJ2.js.br +0 -0
- package/dist/public/assets/_D2inRKMJ.js.br +0 -0
- package/dist/public/assets/_D3DCFNQ9.js.br +0 -0
- package/dist/public/assets/_D4Uyoa0g2.js.br +0 -0
- package/dist/public/assets/_D6aLEWL7.js.br +0 -0
- package/dist/public/assets/_D8yYAlmO.js.br +0 -0
- package/dist/public/assets/_DFmhG3rm2.js.br +0 -0
- package/dist/public/assets/_DFoZ_gHS.js.br +0 -0
- package/dist/public/assets/_DGKIFykf.js.br +0 -0
- package/dist/public/assets/_DHIGTTg6.js.br +0 -0
- package/dist/public/assets/_DIhnt-RM.js.br +0 -0
- package/dist/public/assets/_DJWz5IwD.js.br +0 -0
- package/dist/public/assets/_DK0lys0m.js.br +0 -0
- package/dist/public/assets/_DKFPQ1582.js.br +0 -0
- package/dist/public/assets/_DMqW9uIi2.js.br +0 -0
- package/dist/public/assets/_DXC_JO9C2.js.br +0 -0
- package/dist/public/assets/_DcNus2Vf2.js.br +0 -0
- package/dist/public/assets/_DcqgsKkp.js.br +0 -0
- package/dist/public/assets/_DgfTg0IW2.js.br +0 -0
- package/dist/public/assets/_DxP9fuIM2.js.br +0 -0
- package/dist/public/assets/_MMZVDI0Q2.js.br +0 -0
- package/dist/public/assets/_QZPTxSDf2.js.br +0 -0
- package/dist/public/assets/_Txji4y3b.js.br +0 -0
- package/dist/public/assets/_VXhkFKrd2.js.br +0 -0
- package/dist/public/assets/_YHDsSm6D.js.br +0 -0
- package/dist/public/assets/_YyV-EVam.js.br +0 -0
- package/dist/public/assets/__T5qbsZi.js.br +0 -0
- package/dist/public/assets/_amMU20AI.js.br +0 -0
- package/dist/public/assets/_bRvxXZbS.js.br +0 -0
- package/dist/public/assets/_dfU2imZ4.js.br +0 -0
- package/dist/public/assets/_fxHb-KbN2.js.br +0 -0
- package/dist/public/assets/_hyQI5FsG.js.br +0 -0
- package/dist/public/assets/_i50DwB9Z2.js.br +0 -0
- package/dist/public/assets/_loA_xJ2W.js.br +0 -0
- package/dist/public/assets/_o-goWiqn.js.br +0 -0
- package/dist/public/assets/_vC8X4_FF.js.br +0 -0
- package/dist/public/assets/_vGqkGb_u.js.br +0 -0
- package/dist/public/assets/_wbLaii1_.js.br +0 -0
- package/dist/public/assets/_x7q187z1.js.br +0 -0
- package/dist/public/assets/_xMSqf4Dz.js.br +0 -0
- package/dist/public/assets/_zIcbcxRV2.js.br +0 -0
- package/dist/public/assets/app-page-BB6oW8H9.css +0 -1
- package/dist/public/assets/app-page-BB6oW8H9.css.br +0 -0
- package/dist/public/assets/diff-view-DU-XDz7X.css +0 -1
- package/dist/public/assets/diff-view-DU-XDz7X.css.br +0 -0
- package/dist/public/assets/new-BmwwujAD.js +0 -1
- package/dist/public/assets/settings-BmwwujAD.js +0 -1
- package/dist/public/assets/w-BmwwujAD.js +0 -1
- package/dist/public/assets/w._-BmwwujAD.js +0 -1
- package/dist/public/assets/w._-DQmoJHNi.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
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 "./_BYk3MBDh.js";
|
|
3
|
-
import { $ as
|
|
3
|
+
import { $ as _await, A as repoLabel, At as _try, B as phase, C as sideNavOpen, Ct as _serialize_guard, D as icon_xmark_default, Dt as _template, E as toast_default, Et as _subscribe, H as $global, I as iconBtnRow, J as _attr_or, K as _attr_input_value, L as iconBtnXs, M as setPrimaryHost, Mt as attrTag, N as btnLg, Nt as withPageAssets, O as icon_base_default, Ot as _to_text, P as btnSm, Pt as writeScope, Q as _attrs_partial, R as inputLg, S as setWorkspaceTab, St as _sep, T as workspaceTab, Tt as _set_serialize_reason, U as _attr, V as tone, W as _attr_class, X as _attr_style, Y as _attr_select_value, Z as _attrs, _t as _resume_branch, at as _el_resume, bt as _scope_with_id, c as icon_arrow_up_default, ct as _flush_head, d as iconBtn$2, dt as _hoist_read_error, et as _content, f as row, ft as _html, gt as _resume, ht as _peek_scope_id, i as icon_sidebar_default, it as _el_read_error, j as repoWebUrl$1, jt as _var, k as parseRepoUrl, kt as _trailers, l as icon_back_default, lt as _for_of, mt as _if, n as findIconBtn, nt as _dynamic_tag, o as rankRepos, ot as _escape, p as sectionCount$1, pt as _id, q as _attr_option_value, r as findInput, s as icon_search_default, st as _existing_scope, t as icon_arrow_down_default, tt as _content_resume, u as icon_refresh_default, ut as _hoist, v as ignoredSsoOrgs, vt as _scope_id, w as theme, wt as _serialize_if, x as setTheme, xt as _script, yt as _scope_reason, z as metaTrunc } from "./_C_EF8rh-.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { createServer } from "node:http";
|
|
6
6
|
import path from "node:path";
|
|
@@ -3694,15 +3694,15 @@ function applyInstance(inst) {
|
|
|
3694
3694
|
}
|
|
3695
3695
|
//#endregion
|
|
3696
3696
|
//#region src/tags/settings-page.css.ts
|
|
3697
|
-
var content$2 = "_ca
|
|
3698
|
-
var agentGrid = "_ce
|
|
3699
|
-
var toolGrid = "_co
|
|
3697
|
+
var content$2 = "_ca _8 _9";
|
|
3698
|
+
var agentGrid = "_ce _bv";
|
|
3699
|
+
var toolGrid = "_co _bv";
|
|
3700
3700
|
//#endregion
|
|
3701
3701
|
//#region src/tags/page-head.marko
|
|
3702
3702
|
var page_head_default = _template("q", (input) => {
|
|
3703
3703
|
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);
|
|
3704
3704
|
const $scope0_id = _scope_id();
|
|
3705
|
-
_html(`<header${_attr_class("
|
|
3705
|
+
_html(`<header${_attr_class("__")}>`);
|
|
3706
3706
|
_if(() => {
|
|
3707
3707
|
if (input.backHref) {
|
|
3708
3708
|
const $scope1_id = _scope_id();
|
|
@@ -3721,11 +3721,11 @@ var page_head_default = _template("q", (input) => {
|
|
|
3721
3721
|
return 1;
|
|
3722
3722
|
}
|
|
3723
3723
|
}, $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);
|
|
3724
|
-
_html(`<div${_attr_class("
|
|
3724
|
+
_html(`<div${_attr_class("_bb")}><h1${_attr("id", input.titleId)}${_attr_class("_ba")}>${_escape(input.title)}${_el_resume($scope0_id, "e", _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
|
|
3725
3725
|
_if(() => {
|
|
3726
3726
|
if (input.meta) {
|
|
3727
3727
|
const $scope3_id = _scope_id();
|
|
3728
|
-
_html(`<p${_attr_class("
|
|
3728
|
+
_html(`<p${_attr_class("_bc")}>`);
|
|
3729
3729
|
_dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
|
|
3730
3730
|
_html("</p>");
|
|
3731
3731
|
$si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -3736,7 +3736,7 @@ var page_head_default = _template("q", (input) => {
|
|
|
3736
3736
|
_if(() => {
|
|
3737
3737
|
if (input.actions) {
|
|
3738
3738
|
const $scope4_id = _scope_id();
|
|
3739
|
-
_html(`<div${_attr_class("
|
|
3739
|
+
_html(`<div${_attr_class("_bd")}>`);
|
|
3740
3740
|
_dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
3741
3741
|
_html("</div>");
|
|
3742
3742
|
$si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -3804,7 +3804,24 @@ var icon_agent_default = _template("F", (input) => {
|
|
|
3804
3804
|
n: $badge__closures
|
|
3805
3805
|
});
|
|
3806
3806
|
});
|
|
3807
|
-
var usageNote = "
|
|
3807
|
+
var usageNote = "_eR _S";
|
|
3808
|
+
//#endregion
|
|
3809
|
+
//#region src/tags/icons/icon-warning.marko
|
|
3810
|
+
var icon_warning_default = _template("hb", (input) => {
|
|
3811
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
3812
|
+
const $scope0_id = _scope_id();
|
|
3813
|
+
_set_serialize_reason({
|
|
3814
|
+
0: $sg__input_size__OR__input_class,
|
|
3815
|
+
1: $sg__input_size__OR__input_class
|
|
3816
|
+
});
|
|
3817
|
+
const $childScope = _peek_scope_id();
|
|
3818
|
+
icon_base_default({
|
|
3819
|
+
d: "M20.0429 21H3.95705C2.41902 21 1.45658 19.3364 2.22324 18.0031L10.2662 4.01533C11.0352 2.67792 12.9648 2.67791 13.7338 4.01532L21.7768 18.0031C22.5434 19.3364 21.581 21 20.0429 21Z M12 9V13 M12 17.01L12.01 16.9989",
|
|
3820
|
+
size: input.size,
|
|
3821
|
+
class: input.class
|
|
3822
|
+
});
|
|
3823
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
3824
|
+
});
|
|
3808
3825
|
//#endregion
|
|
3809
3826
|
//#region src/tags/usage-meters.marko
|
|
3810
3827
|
function duration(ms) {
|
|
@@ -3828,11 +3845,11 @@ var usage_meters_default = _template("C", (input) => {
|
|
|
3828
3845
|
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);
|
|
3829
3846
|
const $scope0_id = _scope_id();
|
|
3830
3847
|
const agent = input.agent;
|
|
3831
|
-
_html(`<div${_attr_class(["
|
|
3848
|
+
_html(`<div${_attr_class(["_eL", { ["_eM"]: input.hideName }])}><div${_attr_class("_eN")}>`);
|
|
3832
3849
|
_if(() => {
|
|
3833
3850
|
if (!input.hideName) {
|
|
3834
3851
|
const $scope1_id = _scope_id();
|
|
3835
|
-
_html(`<strong${_attr_class("
|
|
3852
|
+
_html(`<strong${_attr_class("_e6")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
|
|
3836
3853
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
3837
3854
|
return 0;
|
|
3838
3855
|
}
|
|
@@ -3840,7 +3857,7 @@ var usage_meters_default = _template("C", (input) => {
|
|
|
3840
3857
|
_if(() => {
|
|
3841
3858
|
if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
|
|
3842
3859
|
const $scope2_id = _scope_id();
|
|
3843
|
-
_html(`<span${_attr_class("
|
|
3860
|
+
_html(`<span${_attr_class("_eO")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
|
|
3844
3861
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
3845
3862
|
return 0;
|
|
3846
3863
|
}
|
|
@@ -3848,20 +3865,35 @@ var usage_meters_default = _template("C", (input) => {
|
|
|
3848
3865
|
_if(() => {
|
|
3849
3866
|
if (agent.stale_seconds != null) {
|
|
3850
3867
|
const $scope3_id = _scope_id();
|
|
3851
|
-
_html(`<span${_attr_class("
|
|
3868
|
+
_html(`<span${_attr_class("_eP")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
|
|
3869
|
+
icon_warning_default({ size: 12 });
|
|
3870
|
+
_html(` ${_sep($sg__input_agent)}${_escape(duration(agent.stale_seconds * 1e3))}${_el_resume($scope3_id, "c", $sg__input_agent)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
|
|
3852
3871
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
3853
3872
|
return 0;
|
|
3854
3873
|
}
|
|
3855
3874
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
3856
|
-
_html(`</div><div${_attr_class(["
|
|
3875
|
+
_html(`</div><div${_attr_class(["_eQ", { ["_e7"]: agent.stale_seconds != null }])}>`);
|
|
3857
3876
|
_for_of(agent.windows || [], (win) => {
|
|
3858
3877
|
const $scope4_id = _scope_id();
|
|
3859
3878
|
const pct = pctText$1(win.used_percent);
|
|
3860
3879
|
const label = resetLabel(win.resets_at, agent.stale_seconds != null);
|
|
3861
|
-
const fillClass = win.used_percent >= 90 ? "
|
|
3862
|
-
const pctClass = win.used_percent >= 90 ? "
|
|
3863
|
-
_html(`<div${_attr_class("
|
|
3864
|
-
|
|
3880
|
+
const fillClass = win.used_percent >= 90 ? "_eZ" : win.used_percent >= 70 ? "_eY" : win.used_percent >= 40 ? "_eX" : "_eW";
|
|
3881
|
+
const pctClass = win.used_percent >= 90 ? "_e4" : win.used_percent >= 70 ? "_e3" : win.used_percent >= 40 ? "_e2" : "_e1";
|
|
3882
|
+
_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")}>`);
|
|
3883
|
+
_if(() => {
|
|
3884
|
+
if (label) {
|
|
3885
|
+
const $scope6_id = _scope_id();
|
|
3886
|
+
icon_refresh_default({ size: 12 });
|
|
3887
|
+
_html(` ${_sep($sg__input_agent)}${_escape(label)}${_el_resume($scope6_id, "b", $sg__input_agent)}`);
|
|
3888
|
+
$si__input_agent && writeScope($scope6_id, { _: _scope_with_id($scope4_id) });
|
|
3889
|
+
return 0;
|
|
3890
|
+
}
|
|
3891
|
+
}, $scope4_id, "h", $sg__input_agent, $sg__input_agent, $sg__input_agent, "</span>");
|
|
3892
|
+
_html(`</div>${_el_resume($scope4_id, "a", $sg__input_agent)}`);
|
|
3893
|
+
$si__input_agent && writeScope($scope4_id, {
|
|
3894
|
+
q: label,
|
|
3895
|
+
_: _scope_with_id($scope0_id)
|
|
3896
|
+
});
|
|
3865
3897
|
}, "window", $scope0_id, "g", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
3866
3898
|
_if(() => {
|
|
3867
3899
|
if (agent.note) {
|
|
@@ -3926,14 +3958,14 @@ var sso_auth_default = _template("y", (input) => {
|
|
|
3926
3958
|
localCode = null;
|
|
3927
3959
|
}
|
|
3928
3960
|
}, "y0", $scope0_id);
|
|
3929
|
-
_html(`<div${_attr_class("
|
|
3961
|
+
_html(`<div${_attr_class("_e_")}>`);
|
|
3930
3962
|
_if(() => {
|
|
3931
3963
|
if (input.items.length) {
|
|
3932
3964
|
const $scope1_id = _scope_id();
|
|
3933
|
-
_html(`<p${_attr_class("
|
|
3965
|
+
_html(`<p${_attr_class("_fk")}>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("_fa")}>`);
|
|
3934
3966
|
_for_of(input.items, (s) => {
|
|
3935
3967
|
const $scope2_id = _scope_id();
|
|
3936
|
-
_html(`<li${_attr_class("
|
|
3968
|
+
_html(`<li${_attr_class("_fb")}>${_escape(s.org)}${_el_resume($scope2_id, "b", $sg__input_items)}<button type=button${_attr_class("_fc")}${_attr("title", `Skip ${s.org}`)}${_attr("aria-label", `Skip ${s.org}`)}${_attr("disabled", busy)}>`);
|
|
3937
3969
|
icon_xmark_default({ size: 11 });
|
|
3938
3970
|
_html(`</button>${_el_resume($scope2_id, "c")}</li>`);
|
|
3939
3971
|
_script($scope2_id, "y1");
|
|
@@ -3942,17 +3974,17 @@ var sso_auth_default = _template("y", (input) => {
|
|
|
3942
3974
|
_: _scope_with_id($scope1_id)
|
|
3943
3975
|
}));
|
|
3944
3976
|
}, "org", $scope1_id, "c", $sg__input_items, $sg__input_items, $sg__input_items, "</ul>", 1);
|
|
3945
|
-
_html(`<div${_attr_class("
|
|
3977
|
+
_html(`<div${_attr_class("_fd")}>`);
|
|
3946
3978
|
_if(() => {
|
|
3947
3979
|
if (busy && authCode$2) {
|
|
3948
3980
|
const $scope5_id = _scope_id();
|
|
3949
|
-
_html(`<span${_attr_class("
|
|
3981
|
+
_html(`<span${_attr_class("_fe")}><span${_attr_class("_F")}></span> Enter code <strong${_attr_class("_ff")}>${_escape(authCode$2)}${_el_resume($scope5_id, "d")}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_fg")}>${_escape(host)}${_el_resume($scope5_id, "f", _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope5_id, "e")}</span>`);
|
|
3950
3982
|
_script($scope5_id, "y2");
|
|
3951
3983
|
_subscribe($authCode__closures, _subscribe($si__input_items_0_host && $host__closures, writeScope($scope5_id, {})));
|
|
3952
3984
|
return 0;
|
|
3953
3985
|
} else if (busy) {
|
|
3954
3986
|
const $scope8_id = _scope_id();
|
|
3955
|
-
_html(`<span${_attr_class("
|
|
3987
|
+
_html(`<span${_attr_class("_fe")}><span${_attr_class("_F")}></span>Starting GitHub re-authorization…</span>`);
|
|
3956
3988
|
writeScope($scope8_id, {});
|
|
3957
3989
|
return 1;
|
|
3958
3990
|
} else {
|
|
@@ -3966,7 +3998,7 @@ var sso_auth_default = _template("y", (input) => {
|
|
|
3966
3998
|
_if(() => {
|
|
3967
3999
|
if (localError) {
|
|
3968
4000
|
const $scope6_id = _scope_id();
|
|
3969
|
-
_html(`<p${_attr_class("
|
|
4001
|
+
_html(`<p${_attr_class("_fk")}>${_escape(localError)}${_el_resume($scope6_id, "b")}</p>`);
|
|
3970
4002
|
_subscribe($localError__closures, writeScope($scope6_id, {}));
|
|
3971
4003
|
return 0;
|
|
3972
4004
|
}
|
|
@@ -3978,10 +4010,10 @@ var sso_auth_default = _template("y", (input) => {
|
|
|
3978
4010
|
_if(() => {
|
|
3979
4011
|
if (skipped$1.length) {
|
|
3980
4012
|
const $scope3_id = _scope_id();
|
|
3981
|
-
_html(`<p${_attr_class("
|
|
4013
|
+
_html(`<p${_attr_class("_fh")}>Skipped SSO for `);
|
|
3982
4014
|
_for_of(skipped$1, (s) => {
|
|
3983
4015
|
const $scope4_id = _scope_id();
|
|
3984
|
-
_html(`<span${_attr_class("
|
|
4016
|
+
_html(`<span${_attr_class("_fi")}>${_escape(s.org)}${_el_resume($scope4_id, "b", $sg__input_skipped)}<button type=button${_attr_class("_fj")}${_attr("title", `Show ${s.org} again`)}>(undo)</button>${_el_resume($scope4_id, "c")}</span>`);
|
|
3985
4017
|
_script($scope4_id, "y4");
|
|
3986
4018
|
writeScope($scope4_id, {
|
|
3987
4019
|
f: s?.org,
|
|
@@ -4018,7 +4050,7 @@ var sso_auth_default = _template("y", (input) => {
|
|
|
4018
4050
|
});
|
|
4019
4051
|
//#endregion
|
|
4020
4052
|
//#region src/tags/icons/icon-plus.marko
|
|
4021
|
-
var icon_plus_default = _template("
|
|
4053
|
+
var icon_plus_default = _template("ab", (input) => {
|
|
4022
4054
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
4023
4055
|
const $scope0_id = _scope_id();
|
|
4024
4056
|
_set_serialize_reason({
|
|
@@ -4056,7 +4088,7 @@ var modal_view_default = _template("o", (input) => {
|
|
|
4056
4088
|
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;
|
|
4057
4089
|
const dismissable = input.dismissable !== false;
|
|
4058
4090
|
let open = input.open;
|
|
4059
|
-
_html(`<dialog${_attr_class(["
|
|
4091
|
+
_html(`<dialog${_attr_class(["_f0", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
|
|
4060
4092
|
...htmlInput,
|
|
4061
4093
|
open: null
|
|
4062
4094
|
}, {
|
|
@@ -4066,20 +4098,20 @@ var modal_view_default = _template("o", (input) => {
|
|
|
4066
4098
|
closedby: 1,
|
|
4067
4099
|
"on-cancel": 1,
|
|
4068
4100
|
"on-close": 1
|
|
4069
|
-
}, "a", $scope0_id, "dialog")}><div${_attr_class("
|
|
4101
|
+
}, "a", $scope0_id, "dialog")}><div${_attr_class("_f1")}>`);
|
|
4070
4102
|
_dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
|
|
4071
4103
|
_html("</div>");
|
|
4072
4104
|
_if(() => {
|
|
4073
4105
|
if (footer) {
|
|
4074
4106
|
const $scope1_id = _scope_id();
|
|
4075
|
-
_html(`<form method=dialog${_attr_class("
|
|
4107
|
+
_html(`<form method=dialog${_attr_class("_f2")}>`);
|
|
4076
4108
|
_dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
|
|
4077
4109
|
_html("</form>");
|
|
4078
4110
|
$si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
|
|
4079
4111
|
return 0;
|
|
4080
4112
|
} else if (input.openChange) {
|
|
4081
4113
|
const $scope2_id = _scope_id();
|
|
4082
|
-
_html(`<form method=dialog${_attr_class("
|
|
4114
|
+
_html(`<form method=dialog${_attr_class("_f2")}>`);
|
|
4083
4115
|
dialog_close_default({
|
|
4084
4116
|
class: ["_o", "_p"],
|
|
4085
4117
|
content: _content("o0", () => {
|
|
@@ -4138,7 +4170,7 @@ var prompt_dialog_default = _template("r", (input) => {
|
|
|
4138
4170
|
const $childScope = _peek_scope_id();
|
|
4139
4171
|
modal_view_default({
|
|
4140
4172
|
label: input.label,
|
|
4141
|
-
class: "
|
|
4173
|
+
class: "_e8",
|
|
4142
4174
|
open: input.open,
|
|
4143
4175
|
openChange: input.openChange,
|
|
4144
4176
|
"aria-labelledby": titleId,
|
|
@@ -4161,7 +4193,7 @@ var prompt_dialog_default = _template("r", (input) => {
|
|
|
4161
4193
|
content: _content("r6", () => {
|
|
4162
4194
|
_scope_reason();
|
|
4163
4195
|
const $scope2_id = _scope_id();
|
|
4164
|
-
_html(`<h2${_attr_class("
|
|
4196
|
+
_html(`<h2${_attr_class("_e9")}${_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) => {
|
|
4165
4197
|
value = _new_value;
|
|
4166
4198
|
}, "r0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
|
|
4167
4199
|
_script($scope2_id, "r4");
|
|
@@ -4471,7 +4503,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4471
4503
|
const appearanceId = _id();
|
|
4472
4504
|
const githubId = _id();
|
|
4473
4505
|
const machineId = _id();
|
|
4474
|
-
_html(`<div${_attr_class("
|
|
4506
|
+
_html(`<div${_attr_class("_6")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_7")}><div${_attr_class(content$2)}>`);
|
|
4475
4507
|
_set_serialize_reason({
|
|
4476
4508
|
0: _serialize_guard($scope0_reason, 4),
|
|
4477
4509
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -4578,7 +4610,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4578
4610
|
return 0;
|
|
4579
4611
|
}
|
|
4580
4612
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
4581
|
-
_html(`<section${_attr_class("
|
|
4613
|
+
_html(`<section${_attr_class("_bs")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bt")}><h2${_attr("id", agentsId)}${_attr_class("_bH")}>Agents</h2><div${_attr_class("_y")}></div><label${_attr_class("_cg")}><span${_attr_class("_S")}>Default</span><span${_attr_class("_m")}>`);
|
|
4582
4614
|
_attr_select_value($scope0_id, "n", input.preferred, _resume(function(v) {
|
|
4583
4615
|
setPreferred(v);
|
|
4584
4616
|
}, "u1", $scope0_id), () => {
|
|
@@ -4603,14 +4635,14 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4603
4635
|
const rows = lone ? [] : a.instances;
|
|
4604
4636
|
const loneAccounts = lone && lone.enabled ? accountsFor(lone.id) : [];
|
|
4605
4637
|
const extraAccounts = a.installed ? strayAccountsFor(a) : [];
|
|
4606
|
-
_html(`<li${_attr_class(["
|
|
4638
|
+
_html(`<li${_attr_class(["_bx", "_cf"])}><div${_attr_class(["_ci", { ["_cl"]: lone && !lone.enabled }])}>`);
|
|
4607
4639
|
_set_serialize_reason(12);
|
|
4608
4640
|
const $childScope4 = _peek_scope_id();
|
|
4609
4641
|
icon_agent_default({
|
|
4610
4642
|
agent: a.id,
|
|
4611
4643
|
size: 18
|
|
4612
4644
|
});
|
|
4613
|
-
_html(`<div${_attr_class("
|
|
4645
|
+
_html(`<div${_attr_class("_by")}><span${_attr_class("_bA")}><span${_attr_class("_bz")}>${_escape(a.label)}${_el_resume($scope1_id, "g")}</span>`);
|
|
4614
4646
|
_if(() => {
|
|
4615
4647
|
if (lone && input.preferred === lone.id) {
|
|
4616
4648
|
const $scope55_id = _scope_id();
|
|
@@ -4628,7 +4660,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4628
4660
|
return 0;
|
|
4629
4661
|
} else if (!a.installed) {
|
|
4630
4662
|
const $scope56_id = _scope_id();
|
|
4631
|
-
_html(`<span${_attr_class("
|
|
4663
|
+
_html(`<span${_attr_class("_bB")}>Not installed</span>`);
|
|
4632
4664
|
writeScope($scope56_id, {});
|
|
4633
4665
|
return 1;
|
|
4634
4666
|
}
|
|
@@ -4746,7 +4778,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4746
4778
|
}, "id", $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
4747
4779
|
_for_of(otherUsage, (u) => {
|
|
4748
4780
|
const $scope61_id = _scope_id();
|
|
4749
|
-
_html(`<li${_attr_class(["
|
|
4781
|
+
_html(`<li${_attr_class(["_bx", "_cf"])}>`);
|
|
4750
4782
|
_set_serialize_reason(6);
|
|
4751
4783
|
const $childScope9 = _peek_scope_id();
|
|
4752
4784
|
usage_meters_default({ agent: u });
|
|
@@ -4757,17 +4789,17 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4757
4789
|
_if(() => {
|
|
4758
4790
|
if (!usage && families.length) {
|
|
4759
4791
|
const $scope62_id = _scope_id();
|
|
4760
|
-
_html(`<p${_attr_class("
|
|
4792
|
+
_html(`<p${_attr_class("_bD")}><span${_attr_class("_F")}></span> Loading usage…</p>`);
|
|
4761
4793
|
writeScope($scope62_id, {});
|
|
4762
4794
|
return 0;
|
|
4763
4795
|
} else if (usage?.error) {
|
|
4764
4796
|
const $scope7_id = _scope_id();
|
|
4765
|
-
_html(`<p${_attr_class("
|
|
4797
|
+
_html(`<p${_attr_class("_bD")}>${_escape(usage.error)}${_el_resume($scope7_id, "b")}</p>`);
|
|
4766
4798
|
writeScope($scope7_id, {});
|
|
4767
4799
|
return 1;
|
|
4768
4800
|
}
|
|
4769
4801
|
}, $scope0_id, "t", 1, 1, 1, 0, 1);
|
|
4770
|
-
_html(`</section><section${_attr_class("
|
|
4802
|
+
_html(`</section><section${_attr_class("_bs")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bt")}><h2${_attr("id", githubId)}${_attr_class("_bH")}>GitHub</h2></div><ul${_attr_class("_bv")}>`);
|
|
4771
4803
|
_for_of(setup?.github || [], (h) => {
|
|
4772
4804
|
const $scope12_id = _scope_id();
|
|
4773
4805
|
const $for_content4__h_host__closures = /* @__PURE__ */ new Set();
|
|
@@ -4781,7 +4813,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4781
4813
|
const skippedSso = (() => {
|
|
4782
4814
|
return (h.sso || []).filter((s) => ignoredSso.has(s.org));
|
|
4783
4815
|
})();
|
|
4784
|
-
_html(`<li${_attr_class(["
|
|
4816
|
+
_html(`<li${_attr_class(["_bx", "_cx"])}><div${_attr_class("_cy")}><div${_attr_class("_by")}><span${_attr_class("_bA")}><span${_attr_class(["_bz", "_x"])}>${_escape(h.host)}${_el_resume($scope12_id, "f")}</span>`);
|
|
4785
4817
|
_if(() => {
|
|
4786
4818
|
if (h.isEnterprise) {
|
|
4787
4819
|
const $scope65_id = _scope_id();
|
|
@@ -4804,12 +4836,12 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4804
4836
|
return 1;
|
|
4805
4837
|
} else if (h.authed) {
|
|
4806
4838
|
const $scope63_id = _scope_id();
|
|
4807
|
-
_html(`<span${_attr_class("
|
|
4839
|
+
_html(`<span${_attr_class("_bB")}>Signed in<!>${h.user ? ` as ${_escape(`${_to_text(h.user)}`)}` : ""}${_el_resume($scope63_id, "b")}</span>`);
|
|
4808
4840
|
writeScope($scope63_id, {});
|
|
4809
4841
|
return 2;
|
|
4810
4842
|
} else {
|
|
4811
4843
|
const $scope64_id = _scope_id();
|
|
4812
|
-
_html(`<span${_attr_class("
|
|
4844
|
+
_html(`<span${_attr_class("_bB")}>${_escape(h.error || "Not signed in")}${_el_resume($scope64_id, "b")}</span>`);
|
|
4813
4845
|
writeScope($scope64_id, {});
|
|
4814
4846
|
return 3;
|
|
4815
4847
|
}
|
|
@@ -4840,7 +4872,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4840
4872
|
if (h.isEnterprise) {
|
|
4841
4873
|
const $scope27_id = _scope_id();
|
|
4842
4874
|
_html(`<button${_attr_class([
|
|
4843
|
-
"
|
|
4875
|
+
"_bC",
|
|
4844
4876
|
"_2",
|
|
4845
4877
|
"_3",
|
|
4846
4878
|
{ ["_q"]: confirmingRemove === h.host }
|
|
@@ -4916,7 +4948,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4916
4948
|
_if(() => {
|
|
4917
4949
|
if (setup && !setup.github.length) {
|
|
4918
4950
|
const $scope68_id = _scope_id();
|
|
4919
|
-
_html(`<p${_attr_class("
|
|
4951
|
+
_html(`<p${_attr_class("_bD")}>Install the GitHub CLI below to sign in.</p>`);
|
|
4920
4952
|
writeScope($scope68_id, {});
|
|
4921
4953
|
return 0;
|
|
4922
4954
|
}
|
|
@@ -4937,7 +4969,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4937
4969
|
return 0;
|
|
4938
4970
|
}
|
|
4939
4971
|
}, $scope0_id, "z", 1, 1, 1, 0, 1);
|
|
4940
|
-
_html(`</section><section${_attr_class("
|
|
4972
|
+
_html(`</section><section${_attr_class("_bs")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bt")}><h2${_attr("id", machineId)}${_attr_class("_bH")}>Machine</h2>`);
|
|
4941
4973
|
_if(() => {
|
|
4942
4974
|
if (missingCount) {
|
|
4943
4975
|
const $scope49_id = _scope_id();
|
|
@@ -4977,7 +5009,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
4977
5009
|
_if(() => {
|
|
4978
5010
|
if (setup && !setup.mise.installed) {
|
|
4979
5011
|
const $scope17_id = _scope_id();
|
|
4980
|
-
_html(`<p${_attr_class("
|
|
5012
|
+
_html(`<p${_attr_class("_bD")}>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>`);
|
|
4981
5013
|
_script($scope17_id, "u45");
|
|
4982
5014
|
writeScope($scope17_id, {});
|
|
4983
5015
|
return 0;
|
|
@@ -5005,7 +5037,9 @@ var settings_page_default = _template("u", (input) => {
|
|
|
5005
5037
|
return 0;
|
|
5006
5038
|
} else if (self.latest && self.latest !== self.version) {
|
|
5007
5039
|
const $scope42_id = _scope_id();
|
|
5008
|
-
_html(`<button${_attr_class([btnSm, "_cs"])}${_attr("title", `Update work to v${self.latest} and restart`)}
|
|
5040
|
+
_html(`<button${_attr_class([btnSm, "_cs"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
|
|
5041
|
+
icon_arrow_up_default({ size: 12 });
|
|
5042
|
+
_html(` <!>${_escape(self.latest)}${_el_resume($scope42_id, "c")}</button>${_el_resume($scope42_id, "a")}`);
|
|
5009
5043
|
_script($scope42_id, "u46");
|
|
5010
5044
|
_subscribe($self_latest__closures, writeScope($scope42_id, { Ce9: 3 }));
|
|
5011
5045
|
return 1;
|
|
@@ -5070,7 +5104,9 @@ var settings_page_default = _template("u", (input) => {
|
|
|
5070
5104
|
_if(() => {
|
|
5071
5105
|
if (outdated(t)) {
|
|
5072
5106
|
const $scope46_id = _scope_id();
|
|
5073
|
-
_html(`<button${_attr_class([btnSm, "_cs"])}${_attr("title", `Update to v${t.latest}`)}
|
|
5107
|
+
_html(`<button${_attr_class([btnSm, "_cs"])}${_attr("title", `Update to v${t.latest}`)}>`);
|
|
5108
|
+
icon_arrow_up_default({ size: 12 });
|
|
5109
|
+
_html(` <!>${_escape(t.latest)}${_el_resume($scope46_id, "c")}</button>${_el_resume($scope46_id, "a")}`);
|
|
5074
5110
|
_script($scope46_id, "u48");
|
|
5075
5111
|
_subscribe($for_content5__t_latest__closures, writeScope($scope46_id, {}));
|
|
5076
5112
|
return 0;
|
|
@@ -5173,7 +5209,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
5173
5209
|
_html(`<ul${_attr_class([toolGrid, "_ct"])}>`);
|
|
5174
5210
|
_for_of(hits, (h) => {
|
|
5175
5211
|
const $scope22_id = _scope_id();
|
|
5176
|
-
_html(`<li${_attr_class(row)}><div${_attr_class("
|
|
5212
|
+
_html(`<li${_attr_class(row)}><div${_attr_class("_by")}><span${_attr_class(["_cq", "_x"])}>${_escape(h.name)}${_el_resume($scope22_id, "d")}</span>`);
|
|
5177
5213
|
_if(() => {
|
|
5178
5214
|
if (active.has(h.name)) {
|
|
5179
5215
|
const $scope23_id = _scope_id();
|
|
@@ -5182,7 +5218,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
5182
5218
|
return 0;
|
|
5183
5219
|
} else if (h.description) {
|
|
5184
5220
|
const $scope79_id = _scope_id();
|
|
5185
|
-
_html(`<span${_attr_class("
|
|
5221
|
+
_html(`<span${_attr_class("_bB")}${_attr("title", h.description)}>${_escape(h.description)}${_el_resume($scope79_id, "b")}</span>${_el_resume($scope79_id, "a")}`);
|
|
5186
5222
|
writeScope($scope79_id, {});
|
|
5187
5223
|
return 1;
|
|
5188
5224
|
}
|
|
@@ -5221,7 +5257,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
5221
5257
|
return 0;
|
|
5222
5258
|
} else if (hits && !searching) {
|
|
5223
5259
|
const $scope36_id = _scope_id();
|
|
5224
|
-
_html(`<p${_attr_class("
|
|
5260
|
+
_html(`<p${_attr_class("_bD")}>No tools match "<!>${_escape(query)}${_el_resume($scope36_id, "b")}".</p>`);
|
|
5225
5261
|
_subscribe($query__closures, writeScope($scope36_id, {}));
|
|
5226
5262
|
return 1;
|
|
5227
5263
|
}
|
|
@@ -5232,7 +5268,7 @@ var settings_page_default = _template("u", (input) => {
|
|
|
5232
5268
|
return 0;
|
|
5233
5269
|
}
|
|
5234
5270
|
}, $scope0_id, "ac", 1, 1, 1, 0, 1);
|
|
5235
|
-
_html(`</section><section${_attr_class("
|
|
5271
|
+
_html(`</section><section${_attr_class("_bs")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bt")}><h2${_attr("id", appearanceId)}${_attr_class("_bH")}>Appearance</h2></div><div${_attr_class(["_bx", "_cz"])}><label${_attr_class("_cA")}><span${_attr_class("_cB")}>Name</span><input${_attr_input_value($scope0_id, "aj", input.instance.name, _resume(function(v) {
|
|
5236
5272
|
setInstance({ name: v });
|
|
5237
5273
|
}, "u3", $scope0_id))}${_attr_class(["_U", "_cC"])} 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", "_cD"])}>Tab title, home-screen icon, and notifications.</span></label><div${_attr_class("_cA")} role=radiogroup aria-label="Color theme"><span${_attr_class("_cB")}>Theme</span><span${_attr_class("_cE")}>`);
|
|
5238
5274
|
_for_of([
|
|
@@ -5392,12 +5428,46 @@ var settings_page_default = _template("u", (input) => {
|
|
|
5392
5428
|
});
|
|
5393
5429
|
//#endregion
|
|
5394
5430
|
//#region src/tags/new-workspace.css.ts
|
|
5395
|
-
var content$1 = "_bI
|
|
5396
|
-
var section$1 = "_bM
|
|
5431
|
+
var content$1 = "_bI _8";
|
|
5432
|
+
var section$1 = "_bM _bs";
|
|
5397
5433
|
var curBase = "_bR _T _S";
|
|
5398
|
-
var archived = "_bW
|
|
5434
|
+
var archived = "_bW _bs";
|
|
5399
5435
|
var archivedHint = "_bX _S";
|
|
5400
|
-
var archivedCard = "_bY
|
|
5436
|
+
var archivedCard = "_bY _bx";
|
|
5437
|
+
//#endregion
|
|
5438
|
+
//#region src/tags/icons/icon-check.marko
|
|
5439
|
+
var icon_check_default = _template("O", (input) => {
|
|
5440
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
5441
|
+
const $scope0_id = _scope_id();
|
|
5442
|
+
_set_serialize_reason({
|
|
5443
|
+
0: $sg__input_size__OR__input_class,
|
|
5444
|
+
1: $sg__input_size__OR__input_class
|
|
5445
|
+
});
|
|
5446
|
+
const $childScope = _peek_scope_id();
|
|
5447
|
+
icon_base_default({
|
|
5448
|
+
d: "M5 13L9 17L19 7",
|
|
5449
|
+
size: input.size,
|
|
5450
|
+
class: input.class
|
|
5451
|
+
});
|
|
5452
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
5453
|
+
});
|
|
5454
|
+
//#endregion
|
|
5455
|
+
//#region src/tags/icons/icon-branch.marko
|
|
5456
|
+
var icon_branch_default = _template("N", (input) => {
|
|
5457
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
5458
|
+
const $scope0_id = _scope_id();
|
|
5459
|
+
_set_serialize_reason({
|
|
5460
|
+
0: $sg__input_size__OR__input_class,
|
|
5461
|
+
1: $sg__input_size__OR__input_class
|
|
5462
|
+
});
|
|
5463
|
+
const $childScope = _peek_scope_id();
|
|
5464
|
+
icon_base_default({
|
|
5465
|
+
d: "M18 8C19.1046 8 20 7.10457 20 6C20 4.89543 19.1046 4 18 4C16.8954 4 16 4.89543 16 6C16 7.10457 16.8954 8 18 8Z M6 20C7.10457 20 8 19.1046 8 18C8 16.8954 7.10457 16 6 16C4.89543 16 4 16.8954 4 18C4 19.1046 4.89543 20 6 20Z M6 16V3 M8 18H9C12.5 18 18 15.9 18 9.5V8",
|
|
5466
|
+
size: input.size,
|
|
5467
|
+
class: input.class
|
|
5468
|
+
});
|
|
5469
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
5470
|
+
});
|
|
5401
5471
|
var resultBranch = "_cZ _Z _j";
|
|
5402
5472
|
//#endregion
|
|
5403
5473
|
//#region src/tags/branch-pick.marko
|
|
@@ -5413,7 +5483,7 @@ var branch_pick_default = _template("d", (input) => {
|
|
|
5413
5483
|
_if(() => {
|
|
5414
5484
|
{
|
|
5415
5485
|
const $scope4_id = _scope_id();
|
|
5416
|
-
_html(`<p${_attr_class("
|
|
5486
|
+
_html(`<p${_attr_class("_bD")}><span${_attr_class("_F")}></span> Loading branches…</p>`);
|
|
5417
5487
|
writeScope($scope4_id, {});
|
|
5418
5488
|
return 0;
|
|
5419
5489
|
}
|
|
@@ -5532,13 +5602,29 @@ var repo_picker_default = _template("s", (input) => {
|
|
|
5532
5602
|
_if(() => {
|
|
5533
5603
|
if (pastedForkable) {
|
|
5534
5604
|
const $scope8_id = _scope_id();
|
|
5535
|
-
_html(`<button${_attr_class(["_c0", { ["_cY"]: 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"}
|
|
5605
|
+
_html(`<button${_attr_class(["_c0", { ["_cY"]: 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"}>`);
|
|
5606
|
+
_if(() => {
|
|
5607
|
+
if (pasteWillFork) {
|
|
5608
|
+
const $scope10_id = _scope_id();
|
|
5609
|
+
icon_check_default({ size: 12 });
|
|
5610
|
+
_html(" fork");
|
|
5611
|
+
writeScope($scope10_id, {});
|
|
5612
|
+
return 0;
|
|
5613
|
+
} else {
|
|
5614
|
+
const $scope11_id = _scope_id();
|
|
5615
|
+
_html("Fork");
|
|
5616
|
+
writeScope($scope11_id, {});
|
|
5617
|
+
return 1;
|
|
5618
|
+
}
|
|
5619
|
+
}, $scope8_id, "a", 1, 1, 1, "</button>");
|
|
5536
5620
|
_script($scope8_id, "s13");
|
|
5537
5621
|
_subscribe($pasteWillFork__closures, _subscribe($pasted__closures, writeScope($scope8_id, { Cao: 1 })));
|
|
5538
5622
|
return 0;
|
|
5539
5623
|
}
|
|
5540
5624
|
}, $scope1_id, "g", 1, 1, 1, 0, 1);
|
|
5541
|
-
_html(`<button${_attr_class([resultBranch, { ["_cY"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}
|
|
5625
|
+
_html(`<button${_attr_class([resultBranch, { ["_cY"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
|
|
5626
|
+
icon_branch_default({ size: 12 });
|
|
5627
|
+
_html(`</button>${_el_resume($scope1_id, "h")}</div>`);
|
|
5542
5628
|
_if(() => {
|
|
5543
5629
|
if (branchesFor === pasted) {
|
|
5544
5630
|
const $scope2_id = _scope_id();
|
|
@@ -5556,14 +5642,14 @@ var repo_picker_default = _template("s", (input) => {
|
|
|
5556
5642
|
_subscribe($pasted__closures, _subscribe($si__input_onError && $input_onError__closures, writeScope($scope2_id, { a: _existing_scope($childScope2) })));
|
|
5557
5643
|
return 0;
|
|
5558
5644
|
}
|
|
5559
|
-
}, $scope1_id, "
|
|
5645
|
+
}, $scope1_id, "j", 1, 1, 1, 0, 1);
|
|
5560
5646
|
_html("</li></ul>");
|
|
5561
5647
|
_script($scope1_id, "s14");
|
|
5562
5648
|
writeScope($scope1_id, {});
|
|
5563
5649
|
return 0;
|
|
5564
5650
|
} else if (filter && !catalog) {
|
|
5565
5651
|
const $scope9_id = _scope_id();
|
|
5566
|
-
_html(`<p${_attr_class("
|
|
5652
|
+
_html(`<p${_attr_class("_bD")}>Loading repos…</p>`);
|
|
5567
5653
|
writeScope($scope9_id, {});
|
|
5568
5654
|
return 1;
|
|
5569
5655
|
}
|
|
@@ -5579,7 +5665,9 @@ var repo_picker_default = _template("s", (input) => {
|
|
|
5579
5665
|
size: 12,
|
|
5580
5666
|
class: "_c3"
|
|
5581
5667
|
});
|
|
5582
|
-
_html(`<span${_attr_class("_c4")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope4_id, "e")}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_cY"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}
|
|
5668
|
+
_html(`<span${_attr_class("_c4")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope4_id, "e")}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_cY"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
|
|
5669
|
+
icon_branch_default({ size: 12 });
|
|
5670
|
+
_html(`</button>${_el_resume($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
|
|
5583
5671
|
_if(() => {
|
|
5584
5672
|
if (branchesFor === repo.nameWithOwner) {
|
|
5585
5673
|
const $scope5_id = _scope_id();
|
|
@@ -5600,19 +5688,19 @@ var repo_picker_default = _template("s", (input) => {
|
|
|
5600
5688
|
}));
|
|
5601
5689
|
return 0;
|
|
5602
5690
|
}
|
|
5603
|
-
}, $scope4_id, "
|
|
5691
|
+
}, $scope4_id, "h", 1, 1, 1, 0, 1);
|
|
5604
5692
|
_html("</li>");
|
|
5605
5693
|
_script($scope4_id, "s15");
|
|
5606
5694
|
_subscribe($branchesFor__closures, _subscribe($highlight__closures, writeScope($scope4_id, {
|
|
5607
|
-
|
|
5608
|
-
|
|
5695
|
+
k: repo?.nameWithOwner,
|
|
5696
|
+
m: i
|
|
5609
5697
|
})));
|
|
5610
5698
|
}, "nameWithOwner", $scope3_id, "a", 1, 1, 1, "</ul>", 1);
|
|
5611
5699
|
writeScope($scope3_id, {});
|
|
5612
5700
|
return 0;
|
|
5613
5701
|
} else if (filter && catalog && !pasted) {
|
|
5614
5702
|
const $scope6_id = _scope_id();
|
|
5615
|
-
_html(`<p${_attr_class("
|
|
5703
|
+
_html(`<p${_attr_class("_bD")}>No repos match "<!>${_escape(filter)}${_el_resume($scope6_id, "b")}". Paste a clone URL to add any repo.</p>`);
|
|
5616
5704
|
writeScope($scope6_id, {});
|
|
5617
5705
|
return 1;
|
|
5618
5706
|
}
|
|
@@ -5753,7 +5841,7 @@ var new_workspace_default = _template("p", (input) => {
|
|
|
5753
5841
|
}
|
|
5754
5842
|
}, "p6", $scope0_id);
|
|
5755
5843
|
const titleId = _id();
|
|
5756
|
-
_html(`<div${_attr_class("
|
|
5844
|
+
_html(`<div${_attr_class("_6")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_7")}><div${_attr_class(content$1)}>`);
|
|
5757
5845
|
_set_serialize_reason({
|
|
5758
5846
|
0: _serialize_guard($scope0_reason, 2),
|
|
5759
5847
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -5792,9 +5880,9 @@ var new_workspace_default = _template("p", (input) => {
|
|
|
5792
5880
|
return 0;
|
|
5793
5881
|
}
|
|
5794
5882
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
5795
|
-
_html(`<label${_attr_class("_bL")}><span${_attr_class("
|
|
5883
|
+
_html(`<label${_attr_class("_bL")}><span${_attr_class("_bH")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
|
|
5796
5884
|
name = _new_name;
|
|
5797
|
-
}, "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("
|
|
5885
|
+
}, "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("_bH")}>Repos</h2><button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
5798
5886
|
_set_serialize_reason(1);
|
|
5799
5887
|
const $childScope2 = _peek_scope_id();
|
|
5800
5888
|
icon_refresh_default({
|
|
@@ -5808,7 +5896,21 @@ var new_workspace_default = _template("p", (input) => {
|
|
|
5808
5896
|
_if(() => {
|
|
5809
5897
|
if (repo.fork !== void 0) {
|
|
5810
5898
|
const $scope3_id = _scope_id();
|
|
5811
|
-
_html(`<button${_attr_class(["_bS", { ["_bQ"]: 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)}
|
|
5899
|
+
_html(`<button${_attr_class(["_bS", { ["_bQ"]: 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)}>`);
|
|
5900
|
+
_if(() => {
|
|
5901
|
+
if (repo.fork) {
|
|
5902
|
+
const $scope12_id = _scope_id();
|
|
5903
|
+
icon_check_default({ size: 12 });
|
|
5904
|
+
_html(" fork");
|
|
5905
|
+
writeScope($scope12_id, {});
|
|
5906
|
+
return 0;
|
|
5907
|
+
} else {
|
|
5908
|
+
const $scope13_id = _scope_id();
|
|
5909
|
+
_html("fork");
|
|
5910
|
+
writeScope($scope13_id, {});
|
|
5911
|
+
return 1;
|
|
5912
|
+
}
|
|
5913
|
+
}, $scope3_id, "a", 1, 1, 1, "</button>");
|
|
5812
5914
|
_script($scope3_id, "p16");
|
|
5813
5915
|
_subscribe($busy__closures, writeScope($scope3_id, {}));
|
|
5814
5916
|
return 0;
|
|
@@ -5818,9 +5920,11 @@ var new_workspace_default = _template("p", (input) => {
|
|
|
5818
5920
|
curBase,
|
|
5819
5921
|
"_x",
|
|
5820
5922
|
{ ["_bQ"]: branchesFor === repo.fullName }
|
|
5821
|
-
])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}
|
|
5923
|
+
])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}>`);
|
|
5924
|
+
icon_branch_default({ size: 12 });
|
|
5925
|
+
_html(`<!>${repo.baseBranch ? ` ${_escape(`${_to_text(repo.baseBranch)}`)}` : ""}${_el_resume($scope2_id, "g")}</button>${_el_resume($scope2_id, "e")}<button${_attr_class([iconBtnXs, "_2"])}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>`);
|
|
5822
5926
|
icon_xmark_default({ size: 12 });
|
|
5823
|
-
_html(`</button>${_el_resume($scope2_id, "
|
|
5927
|
+
_html(`</button>${_el_resume($scope2_id, "h")}</div>`);
|
|
5824
5928
|
_if(() => {
|
|
5825
5929
|
if (branchesFor === repo.fullName) {
|
|
5826
5930
|
const $scope8_id = _scope_id();
|
|
@@ -5839,20 +5943,20 @@ var new_workspace_default = _template("p", (input) => {
|
|
|
5839
5943
|
writeScope($scope8_id, { a: _existing_scope($childScope3) });
|
|
5840
5944
|
return 0;
|
|
5841
5945
|
}
|
|
5842
|
-
}, $scope2_id, "
|
|
5946
|
+
}, $scope2_id, "j", 1, 1, 1, 0, 1);
|
|
5843
5947
|
_html("</li>");
|
|
5844
5948
|
_script($scope2_id, "p17");
|
|
5845
5949
|
writeScope($scope2_id, {
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5950
|
+
m: repo?.fullName,
|
|
5951
|
+
o: repo?.fork,
|
|
5952
|
+
p: repo?.baseBranch
|
|
5849
5953
|
});
|
|
5850
5954
|
}, "fullName", $scope0_id, "o", 1, 1, 1, 0, 1);
|
|
5851
5955
|
_if(() => {
|
|
5852
5956
|
if (!selected.length) {
|
|
5853
|
-
const $
|
|
5854
|
-
_html(`<li${_attr_class("
|
|
5855
|
-
writeScope($
|
|
5957
|
+
const $scope14_id = _scope_id();
|
|
5958
|
+
_html(`<li${_attr_class("_bD")}>No repos yet. Search below to add one, or create it empty.</li>`);
|
|
5959
|
+
writeScope($scope14_id, {});
|
|
5856
5960
|
return 0;
|
|
5857
5961
|
}
|
|
5858
5962
|
}, $scope0_id, "p", 1, 1, 1, 0, 1);
|
|
@@ -5882,14 +5986,16 @@ var new_workspace_default = _template("p", (input) => {
|
|
|
5882
5986
|
_html(`<li${_attr_class(["_bZ", { ["_bU"]: i === steps$1.length - 1 }])}>`);
|
|
5883
5987
|
_if(() => {
|
|
5884
5988
|
if (i === steps$1.length - 1) {
|
|
5885
|
-
const $
|
|
5989
|
+
const $scope15_id = _scope_id();
|
|
5886
5990
|
_html(`<span${_attr_class("_F")}></span>`);
|
|
5887
|
-
writeScope($
|
|
5991
|
+
writeScope($scope15_id, {});
|
|
5888
5992
|
return 0;
|
|
5889
5993
|
} else {
|
|
5890
|
-
const $
|
|
5891
|
-
_html(`<span${_attr_class("_bV")}
|
|
5892
|
-
|
|
5994
|
+
const $scope16_id = _scope_id();
|
|
5995
|
+
_html(`<span${_attr_class("_bV")}>`);
|
|
5996
|
+
icon_check_default({ size: 14 });
|
|
5997
|
+
_html("</span>");
|
|
5998
|
+
writeScope($scope16_id, {});
|
|
5893
5999
|
return 1;
|
|
5894
6000
|
}
|
|
5895
6001
|
}, $scope10_id, "b", 1, 1, 1, 0, 1);
|
|
@@ -5918,20 +6024,20 @@ var new_workspace_default = _template("p", (input) => {
|
|
|
5918
6024
|
_if(() => {
|
|
5919
6025
|
if (archived$1.length) {
|
|
5920
6026
|
const $scope4_id = _scope_id();
|
|
5921
|
-
_html(`<section${_attr_class(archived)}><div${_attr_class("_bN")}><h2${_attr_class("
|
|
6027
|
+
_html(`<section${_attr_class(archived)}><div${_attr_class("_bN")}><h2${_attr_class("_bH")}>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("_bv")}>`);
|
|
5922
6028
|
_for_of(archived$1, (ws) => {
|
|
5923
6029
|
const $scope5_id = _scope_id();
|
|
5924
|
-
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("
|
|
6030
|
+
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("_by")}><span${_attr_class("_bz")}>${_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)}>`);
|
|
5925
6031
|
_if(() => {
|
|
5926
6032
|
if (restoring === ws.id) {
|
|
5927
|
-
const $
|
|
6033
|
+
const $scope17_id = _scope_id();
|
|
5928
6034
|
_html(`<span${_attr_class("_F")}></span> Restoring…`);
|
|
5929
|
-
writeScope($
|
|
6035
|
+
writeScope($scope17_id, {});
|
|
5930
6036
|
return 0;
|
|
5931
6037
|
} else {
|
|
5932
|
-
const $
|
|
6038
|
+
const $scope18_id = _scope_id();
|
|
5933
6039
|
_html("Restore");
|
|
5934
|
-
writeScope($
|
|
6040
|
+
writeScope($scope18_id, {});
|
|
5935
6041
|
return 1;
|
|
5936
6042
|
}
|
|
5937
6043
|
}, $scope5_id, "g", 1, 1, 1, "</button>");
|
|
@@ -6080,7 +6186,7 @@ function activeAgent(session) {
|
|
|
6080
6186
|
}
|
|
6081
6187
|
var iconBtn$1 = "_dj _j";
|
|
6082
6188
|
var navToggle = "_do _j";
|
|
6083
|
-
_template("
|
|
6189
|
+
_template("M", (input) => {
|
|
6084
6190
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
6085
6191
|
const $scope0_id = _scope_id();
|
|
6086
6192
|
_set_serialize_reason({
|
|
@@ -6097,7 +6203,7 @@ _template("I", (input) => {
|
|
|
6097
6203
|
});
|
|
6098
6204
|
//#endregion
|
|
6099
6205
|
//#region src/tags/icons/icon-settings.marko
|
|
6100
|
-
var icon_settings_default = _template("
|
|
6206
|
+
var icon_settings_default = _template("db", (input) => {
|
|
6101
6207
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
6102
6208
|
const $scope0_id = _scope_id();
|
|
6103
6209
|
_set_serialize_reason({
|
|
@@ -6122,12 +6228,12 @@ var ARM_MS = 3500;
|
|
|
6122
6228
|
function disarmLater(fn) {
|
|
6123
6229
|
return setTimeout(fn, ARM_MS);
|
|
6124
6230
|
}
|
|
6125
|
-
var railBtn = "
|
|
6126
|
-
var rowIcon = "
|
|
6127
|
-
var close = "
|
|
6231
|
+
var railBtn = "_go _j";
|
|
6232
|
+
var rowIcon = "_gx _Z _j";
|
|
6233
|
+
var close = "_gy _Z _j _2";
|
|
6128
6234
|
//#endregion
|
|
6129
6235
|
//#region src/styles/session-pop.css.ts
|
|
6130
|
-
var sessionPop = "
|
|
6236
|
+
var sessionPop = "_gk _4";
|
|
6131
6237
|
//#endregion
|
|
6132
6238
|
//#region src/client/usage.ts
|
|
6133
6239
|
/** The plan row an agent instance draws on: its own account (`claude2`)
|
|
@@ -6141,7 +6247,7 @@ function usageFor(agentId, usage) {
|
|
|
6141
6247
|
}
|
|
6142
6248
|
//#endregion
|
|
6143
6249
|
//#region src/tags/icons/icon-diff.marko
|
|
6144
|
-
var icon_diff_default = _template("
|
|
6250
|
+
var icon_diff_default = _template("T", (input) => {
|
|
6145
6251
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
6146
6252
|
const $scope0_id = _scope_id();
|
|
6147
6253
|
_set_serialize_reason({
|
|
@@ -6158,7 +6264,7 @@ var icon_diff_default = _template("L", (input) => {
|
|
|
6158
6264
|
});
|
|
6159
6265
|
//#endregion
|
|
6160
6266
|
//#region src/tags/icons/icon-manage.marko
|
|
6161
|
-
var icon_manage_default = _template("
|
|
6267
|
+
var icon_manage_default = _template("$", (input) => {
|
|
6162
6268
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
6163
6269
|
const $scope0_id = _scope_id();
|
|
6164
6270
|
_set_serialize_reason({
|
|
@@ -6188,22 +6294,22 @@ var usage_pcts_default = _template("D", (input) => {
|
|
|
6188
6294
|
if (windows.length) {
|
|
6189
6295
|
const $scope1_id = _scope_id();
|
|
6190
6296
|
_html(`<span${_attr_class([
|
|
6191
|
-
"
|
|
6297
|
+
"_fH",
|
|
6192
6298
|
input.class,
|
|
6193
|
-
{ ["
|
|
6299
|
+
{ ["_fI"]: agent.stale_seconds != null }
|
|
6194
6300
|
])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
|
|
6195
6301
|
_for_of(windows, (win$1, i) => {
|
|
6196
6302
|
const $scope2_id = _scope_id();
|
|
6197
|
-
_html(`<span${_attr_class("
|
|
6303
|
+
_html(`<span${_attr_class("_fJ")}>`);
|
|
6198
6304
|
_if(() => {
|
|
6199
6305
|
if (i) {
|
|
6200
6306
|
const $scope3_id = _scope_id();
|
|
6201
|
-
_html(`<span${_attr_class("
|
|
6307
|
+
_html(`<span${_attr_class("_fM")} aria-hidden=true>·</span>`);
|
|
6202
6308
|
$si__input_agent && writeScope($scope3_id, {});
|
|
6203
6309
|
return 0;
|
|
6204
6310
|
}
|
|
6205
6311
|
}, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
6206
|
-
_html(`<span${_attr_class("
|
|
6312
|
+
_html(`<span${_attr_class("_fK")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_fL", 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>`);
|
|
6207
6313
|
$si__input_agent && writeScope($scope2_id, {});
|
|
6208
6314
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
6209
6315
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -6219,7 +6325,7 @@ var usage_pcts_default = _template("D", (input) => {
|
|
|
6219
6325
|
});
|
|
6220
6326
|
//#endregion
|
|
6221
6327
|
//#region src/tags/icons/icon-edit.marko
|
|
6222
|
-
var icon_edit_default = _template("
|
|
6328
|
+
var icon_edit_default = _template("V", (input) => {
|
|
6223
6329
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
6224
6330
|
const $scope0_id = _scope_id();
|
|
6225
6331
|
_set_serialize_reason({
|
|
@@ -6437,10 +6543,10 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6437
6543
|
_if(() => {
|
|
6438
6544
|
if (input.rail) {
|
|
6439
6545
|
const $scope2_id = _scope_id();
|
|
6440
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["
|
|
6546
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_gm"]: 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([
|
|
6441
6547
|
"_z",
|
|
6442
6548
|
phase[dot],
|
|
6443
|
-
"
|
|
6549
|
+
"_gp"
|
|
6444
6550
|
])}></span>${_el_resume($scope2_id, "c", $sg__input_workspaceId__OR__input_status)}</a>${_el_resume($scope2_id, "a", _serialize_guard($scope0_reason, 3))}`);
|
|
6445
6551
|
_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) })))));
|
|
6446
6552
|
return 0;
|
|
@@ -6448,15 +6554,15 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6448
6554
|
const $scope3_id = _scope_id();
|
|
6449
6555
|
const sessions$1 = input.sessions || [];
|
|
6450
6556
|
const phaseLabel = dot === "working" ? "Working" : dot === "waiting" ? "Needs input" : dot === "idle" ? "Idle" : "Not running";
|
|
6451
|
-
_html(`<section${_attr_class(["
|
|
6452
|
-
["
|
|
6557
|
+
_html(`<section${_attr_class(["_gr", {
|
|
6558
|
+
["_gm"]: input.current,
|
|
6453
6559
|
["_5"]: input.current,
|
|
6454
|
-
["
|
|
6455
|
-
["
|
|
6456
|
-
}])}><div${_attr_class("
|
|
6560
|
+
["_gs"]: input.railPop,
|
|
6561
|
+
["_gq"]: input.page
|
|
6562
|
+
}])}><div${_attr_class("_gt")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class("_gu")}><span${_attr_class([
|
|
6457
6563
|
"_z",
|
|
6458
6564
|
phase[dot],
|
|
6459
|
-
"
|
|
6565
|
+
"_gH"
|
|
6460
6566
|
])}${_attr("title", phaseLabel)}></span>${_el_resume($scope3_id, "d", $sg__input_workspaceId__OR__input_status)}`);
|
|
6461
6567
|
_if(() => {
|
|
6462
6568
|
if (sessions$1.length === 1) {
|
|
@@ -6469,7 +6575,7 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6469
6575
|
icon_agent_default({
|
|
6470
6576
|
agent: activeAgent(sessions$1[0]),
|
|
6471
6577
|
size: 12,
|
|
6472
|
-
class: "
|
|
6578
|
+
class: "_gz"
|
|
6473
6579
|
});
|
|
6474
6580
|
$si__input_sessions && writeScope($scope14_id, {
|
|
6475
6581
|
_: _scope_with_id($scope3_id),
|
|
@@ -6479,16 +6585,16 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6479
6585
|
}
|
|
6480
6586
|
}, $scope3_id, "e", $sg__input_sessions, $sg__input_sessions);
|
|
6481
6587
|
const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length === 1 ? sessions$1[0].title || "" : `${sessions$1.length} sessions`;
|
|
6482
|
-
_html(`<span${_attr_class("
|
|
6588
|
+
_html(`<span${_attr_class("_gA")}><span${_attr_class("_gB")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "h", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
|
|
6483
6589
|
_if(() => {
|
|
6484
6590
|
if (input.page && metaText) {
|
|
6485
6591
|
const $scope16_id = _scope_id();
|
|
6486
|
-
_html(`<span${_attr_class("
|
|
6592
|
+
_html(`<span${_attr_class("_gF")}>${_escape(metaText)}${_el_resume($scope16_id, "b", _serialize_guard($scope0_reason, 7))}</span>`);
|
|
6487
6593
|
$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) });
|
|
6488
6594
|
return 0;
|
|
6489
6595
|
} else if (sessions$1.length === 1 && sessions$1[0].title) {
|
|
6490
6596
|
const $scope15_id = _scope_id();
|
|
6491
|
-
_html(`<span${_attr_class("
|
|
6597
|
+
_html(`<span${_attr_class("_gC")}>${_escape(sessions$1[0].title)}${_el_resume($scope15_id, "b", $sg__input_sessions)}</span>`);
|
|
6492
6598
|
$si__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status && writeScope($scope15_id, { _: $si__input_sessions && _scope_with_id($scope3_id) });
|
|
6493
6599
|
return 1;
|
|
6494
6600
|
}
|
|
@@ -6501,7 +6607,7 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6501
6607
|
"_I",
|
|
6502
6608
|
"_R",
|
|
6503
6609
|
"_K",
|
|
6504
|
-
"
|
|
6610
|
+
"_gG"
|
|
6505
6611
|
])}>${input.current ? "Open" : ""}${_el_resume($scope4_id, "b", _serialize_guard($scope0_reason, 21))}</span>`);
|
|
6506
6612
|
$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, {
|
|
6507
6613
|
_: _scope_with_id($scope3_id),
|
|
@@ -6514,7 +6620,7 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6514
6620
|
_if(() => {
|
|
6515
6621
|
if (!input.page) {
|
|
6516
6622
|
const $scope5_id = _scope_id();
|
|
6517
|
-
_html(`<div${_attr_class("
|
|
6623
|
+
_html(`<div${_attr_class("_gv")}>`);
|
|
6518
6624
|
_if(() => {
|
|
6519
6625
|
if (input.onNewSession) {
|
|
6520
6626
|
const $scope6_id = _scope_id();
|
|
@@ -6528,7 +6634,7 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6528
6634
|
_html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
|
|
6529
6635
|
_for_of([], (agent) => {
|
|
6530
6636
|
const $scope7_id = _scope_id();
|
|
6531
|
-
_html(`<button${_attr_class("
|
|
6637
|
+
_html(`<button${_attr_class("_gl")}>`);
|
|
6532
6638
|
_set_serialize_reason(12);
|
|
6533
6639
|
const $childScope2 = _peek_scope_id();
|
|
6534
6640
|
icon_agent_default({
|
|
@@ -6563,7 +6669,7 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6563
6669
|
return 0;
|
|
6564
6670
|
}
|
|
6565
6671
|
}, $scope5_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
|
|
6566
|
-
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["
|
|
6672
|
+
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_gn"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
|
|
6567
6673
|
icon_manage_default({ size: 12 });
|
|
6568
6674
|
_html(`</a>${_el_resume($scope5_id, "d", _serialize_guard($scope0_reason, 8))}</div>`);
|
|
6569
6675
|
_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, {
|
|
@@ -6573,7 +6679,7 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6573
6679
|
return 0;
|
|
6574
6680
|
}
|
|
6575
6681
|
}, $scope3_id, "k", $sg__input_page, $sg__input_page, 1, 0, 1);
|
|
6576
|
-
_html(`</div><div${_attr_class("
|
|
6682
|
+
_html(`</div><div${_attr_class("_gM")}>`);
|
|
6577
6683
|
_if(() => {
|
|
6578
6684
|
if (sessions$1.length === 1 && openPlan) {
|
|
6579
6685
|
const $scope11_id = _scope_id();
|
|
@@ -6581,7 +6687,7 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6581
6687
|
const $childScope3 = _peek_scope_id();
|
|
6582
6688
|
usage_pcts_default({
|
|
6583
6689
|
agent: openPlan,
|
|
6584
|
-
class: "
|
|
6690
|
+
class: "_gD"
|
|
6585
6691
|
});
|
|
6586
6692
|
_subscribe($openPlan__closures, writeScope($scope11_id, {
|
|
6587
6693
|
a: _existing_scope($childScope3),
|
|
@@ -6592,14 +6698,14 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6592
6698
|
}, $scope3_id, "m");
|
|
6593
6699
|
_for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
|
|
6594
6700
|
const $scope8_id = _scope_id();
|
|
6595
|
-
_html(`<div${_attr_class(["
|
|
6701
|
+
_html(`<div${_attr_class(["_gw", { ["_gm"]: s.id === input.currentTab }])}>`);
|
|
6596
6702
|
_if(() => {
|
|
6597
6703
|
if (renamingId === s.id) {
|
|
6598
6704
|
const $scope10_id = _scope_id();
|
|
6599
6705
|
_html(`<span${_attr_class([
|
|
6600
6706
|
"_z",
|
|
6601
6707
|
phase[sessionPhase(s.state)],
|
|
6602
|
-
"
|
|
6708
|
+
"_gK"
|
|
6603
6709
|
])}></span>${_el_resume($scope10_id, "a", $sg__input_sessions)}`);
|
|
6604
6710
|
_set_serialize_reason({
|
|
6605
6711
|
1: $sg__input_sessions,
|
|
@@ -6609,17 +6715,17 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6609
6715
|
icon_agent_default({
|
|
6610
6716
|
agent: activeAgent(s),
|
|
6611
6717
|
size: 13,
|
|
6612
|
-
class: "
|
|
6718
|
+
class: "_gO"
|
|
6613
6719
|
});
|
|
6614
6720
|
_html(`<input${_attr_input_value($scope10_id, "c", renameValue, _resume((_new_renameValue) => {
|
|
6615
6721
|
renameValue = _new_renameValue;
|
|
6616
|
-
}, "w0", $scope10_id))}${_attr_class(["_U", "
|
|
6722
|
+
}, "w0", $scope10_id))}${_attr_class(["_U", "_gL"])} aria-label="Session name">${_el_resume($scope10_id, "c")}`);
|
|
6617
6723
|
_script($scope10_id, "w5");
|
|
6618
6724
|
_subscribe($renameValue__closures, writeScope($scope10_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
|
|
6619
6725
|
return 0;
|
|
6620
6726
|
} else {
|
|
6621
6727
|
const $scope9_id = _scope_id();
|
|
6622
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("
|
|
6728
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("_gN")}><span${_attr_class(["_z", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope9_id, "b", $sg__input_sessions)}`);
|
|
6623
6729
|
_set_serialize_reason({
|
|
6624
6730
|
1: $sg__input_sessions,
|
|
6625
6731
|
2: $sg__input_sessions
|
|
@@ -6628,9 +6734,9 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6628
6734
|
icon_agent_default({
|
|
6629
6735
|
agent: activeAgent(s),
|
|
6630
6736
|
size: 13,
|
|
6631
|
-
class: "
|
|
6737
|
+
class: "_gO"
|
|
6632
6738
|
});
|
|
6633
|
-
_html(`<span${_attr_class("
|
|
6739
|
+
_html(`<span${_attr_class("_gI")}>${_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("_gJ")}><button${_attr_class(rowIcon)} title="Rename session">`);
|
|
6634
6740
|
icon_edit_default({ size: 12 });
|
|
6635
6741
|
_html(`</button>${_el_resume($scope9_id, "g")}<button${_attr_class([close, { ["_q"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
|
|
6636
6742
|
icon_xmark_default({ size: 12 });
|
|
@@ -6642,7 +6748,7 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6642
6748
|
const $childScope6 = _peek_scope_id();
|
|
6643
6749
|
usage_pcts_default({
|
|
6644
6750
|
agent: openPlan,
|
|
6645
|
-
class: "
|
|
6751
|
+
class: "_gE"
|
|
6646
6752
|
});
|
|
6647
6753
|
_subscribe($openPlan__closures, writeScope($scope12_id, {
|
|
6648
6754
|
a: _existing_scope($childScope6),
|
|
@@ -6761,7 +6867,7 @@ var side_nav_item_default = _template("w", (input) => {
|
|
|
6761
6867
|
});
|
|
6762
6868
|
//#endregion
|
|
6763
6869
|
//#region src/tags/icons/icon-folder-plus.marko
|
|
6764
|
-
var icon_folder_plus_default = _template("
|
|
6870
|
+
var icon_folder_plus_default = _template("X", (input) => {
|
|
6765
6871
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
6766
6872
|
const $scope0_id = _scope_id();
|
|
6767
6873
|
_set_serialize_reason({
|
|
@@ -6778,7 +6884,7 @@ var icon_folder_plus_default = _template("O", (input) => {
|
|
|
6778
6884
|
});
|
|
6779
6885
|
//#endregion
|
|
6780
6886
|
//#region src/tags/icons/icon-sidebar-collapse.marko
|
|
6781
|
-
var icon_sidebar_collapse_default = _template("
|
|
6887
|
+
var icon_sidebar_collapse_default = _template("eb", (input) => {
|
|
6782
6888
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
6783
6889
|
const $scope0_id = _scope_id();
|
|
6784
6890
|
_set_serialize_reason({
|
|
@@ -6896,7 +7002,7 @@ var side_nav_default = _template("x", (input) => {
|
|
|
6896
7002
|
_if(() => {
|
|
6897
7003
|
if (isPage && wsId === ws.id) {
|
|
6898
7004
|
const $scope13_id = _scope_id();
|
|
6899
|
-
_html(`<h2${_attr_class(["
|
|
7005
|
+
_html(`<h2${_attr_class(["_bH", "_du"])}>Current</h2>`);
|
|
6900
7006
|
writeScope($scope13_id, {});
|
|
6901
7007
|
return 0;
|
|
6902
7008
|
}
|
|
@@ -6904,7 +7010,7 @@ var side_nav_default = _template("x", (input) => {
|
|
|
6904
7010
|
_if(() => {
|
|
6905
7011
|
if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
|
|
6906
7012
|
const $scope14_id = _scope_id();
|
|
6907
|
-
_html(`<h2${_attr_class(["
|
|
7013
|
+
_html(`<h2${_attr_class(["_bH", "_du"])}>Other workspaces</h2>`);
|
|
6908
7014
|
writeScope($scope14_id, {});
|
|
6909
7015
|
return 0;
|
|
6910
7016
|
}
|
|
@@ -7240,9 +7346,9 @@ var side_nav_default = _template("x", (input) => {
|
|
|
7240
7346
|
_resume_branch($scope0_id);
|
|
7241
7347
|
});
|
|
7242
7348
|
var iconBtn = "_0 _j";
|
|
7243
|
-
var sectionCount = "
|
|
7244
|
-
var content = "_c8
|
|
7245
|
-
var pageMeta = "_c9
|
|
7349
|
+
var sectionCount = "_bu _I _J";
|
|
7350
|
+
var content = "_c8 _8";
|
|
7351
|
+
var pageMeta = "_c9 _bc";
|
|
7246
7352
|
var pathMeta = "_db _x";
|
|
7247
7353
|
var dangerHint = "_dh _S";
|
|
7248
7354
|
//#endregion
|
|
@@ -7343,7 +7449,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
7343
7449
|
setTimeout(() => loadProcs(void 0), 500);
|
|
7344
7450
|
}, "n5", $scope0_id);
|
|
7345
7451
|
const titleId = _id();
|
|
7346
|
-
_html(`<div${_attr_class("
|
|
7452
|
+
_html(`<div${_attr_class("_6")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_7")}><div${_attr_class(content)}>`);
|
|
7347
7453
|
_set_serialize_reason(30);
|
|
7348
7454
|
const $childScope = _peek_scope_id();
|
|
7349
7455
|
page_head_default({
|
|
@@ -7393,26 +7499,28 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
7393
7499
|
_if(() => {
|
|
7394
7500
|
if (pendingAction && actionStep) {
|
|
7395
7501
|
const $scope7_id = _scope_id();
|
|
7396
|
-
_html(`<p${_attr_class("
|
|
7502
|
+
_html(`<p${_attr_class("_br")}><span${_attr_class("_F")}></span><!>${_escape(actionStep)}${_el_resume($scope7_id, "c")}</p>`);
|
|
7397
7503
|
writeScope($scope7_id, {});
|
|
7398
7504
|
return 0;
|
|
7399
7505
|
}
|
|
7400
7506
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
7401
|
-
_html(`<section${_attr_class("
|
|
7507
|
+
_html(`<section${_attr_class("_bs")}><div${_attr_class("_bt")}><h2${_attr_class("_bH")}>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)}>`);
|
|
7402
7508
|
_set_serialize_reason(1);
|
|
7403
7509
|
const $childScope2 = _peek_scope_id();
|
|
7404
7510
|
icon_refresh_default({
|
|
7405
7511
|
size: 14,
|
|
7406
7512
|
class: catalogRefreshing && "_E"
|
|
7407
7513
|
});
|
|
7408
|
-
_html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("
|
|
7514
|
+
_html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("_bv")}>`);
|
|
7409
7515
|
_for_of(ws.repos, (row) => {
|
|
7410
7516
|
const $scope1_id = _scope_id();
|
|
7411
|
-
_html(`<li${_attr_class("
|
|
7517
|
+
_html(`<li${_attr_class("_bx")}><div${_attr_class("_by")}><span${_attr_class(["_bz", "_x"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bA")}><a${_attr_class(["_bB", "_dd"])}${_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")}`);
|
|
7412
7518
|
_if(() => {
|
|
7413
7519
|
if (row.base_branch !== row.default_branch) {
|
|
7414
7520
|
const $scope12_id = _scope_id();
|
|
7415
|
-
_html(`<span${_attr_class(["_I", "_x"])} title="Base branch"
|
|
7521
|
+
_html(`<span${_attr_class(["_I", "_x"])} title="Base branch">`);
|
|
7522
|
+
icon_branch_default({ size: 12 });
|
|
7523
|
+
_html(` <!>${_escape(row.base_branch)}${_el_resume($scope12_id, "c")}</span>`);
|
|
7416
7524
|
writeScope($scope12_id, {});
|
|
7417
7525
|
return 0;
|
|
7418
7526
|
}
|
|
@@ -7427,7 +7535,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
7427
7535
|
} else {
|
|
7428
7536
|
const $scope6_id = _scope_id();
|
|
7429
7537
|
_html(`<button${_attr_class([
|
|
7430
|
-
"
|
|
7538
|
+
"_bC",
|
|
7431
7539
|
"_2",
|
|
7432
7540
|
"_3",
|
|
7433
7541
|
{ ["_q"]: confirmingRemove === row.full_name }
|
|
@@ -7460,14 +7568,14 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
7460
7568
|
}, "full_name", $scope0_id, "p", 1, 1, 1, 0, 1);
|
|
7461
7569
|
_for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
|
|
7462
7570
|
const $scope16_id = _scope_id();
|
|
7463
|
-
_html(`<li${_attr_class(["
|
|
7571
|
+
_html(`<li${_attr_class(["_bx", "_bw"])}><span${_attr_class("_F")}></span><div${_attr_class("_by")}><span${_attr_class("_bB")}>Adding <!>${_escape(name)}${_el_resume($scope16_id, "e")}…</span></div></li>`);
|
|
7464
7572
|
writeScope($scope16_id, {});
|
|
7465
7573
|
}, (n) => n, $scope0_id, "q", 1, 1, 1, 0, 1);
|
|
7466
7574
|
_html("</ul>");
|
|
7467
7575
|
_if(() => {
|
|
7468
7576
|
if (!ws.repos.length && !busy.size) {
|
|
7469
7577
|
const $scope17_id = _scope_id();
|
|
7470
|
-
_html(`<p${_attr_class("
|
|
7578
|
+
_html(`<p${_attr_class("_bD")}>No repos yet. Search below to add one.</p>`);
|
|
7471
7579
|
writeScope($scope17_id, {});
|
|
7472
7580
|
return 0;
|
|
7473
7581
|
}
|
|
@@ -7492,14 +7600,14 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
7492
7600
|
_if(() => {
|
|
7493
7601
|
if (running.length) {
|
|
7494
7602
|
const $scope9_id = _scope_id();
|
|
7495
|
-
_html(`<section${_attr_class("
|
|
7603
|
+
_html(`<section${_attr_class("_bs")}><div${_attr_class("_bt")}><h2${_attr_class("_bH")}>Running</h2><span${_attr_class(sectionCount)}>${_escape(running.length)}${_el_resume($scope9_id, "e")}</span></div><ul${_attr_class("_bv")}>`);
|
|
7496
7604
|
_for_of(running, (p) => {
|
|
7497
7605
|
const $scope10_id = _scope_id();
|
|
7498
|
-
_html(`<li${_attr_class("
|
|
7606
|
+
_html(`<li${_attr_class("_bx")}><div${_attr_class("_by")}${_attr("title", p.args)}><span${_attr_class(["_bz", "_x"])}>${_escape(p.cmd)}${_el_resume($scope10_id, "d")}</span>`);
|
|
7499
7607
|
_if(() => {
|
|
7500
7608
|
if (p.ports.length) {
|
|
7501
7609
|
const $scope18_id = _scope_id();
|
|
7502
|
-
_html(`<span${_attr_class("
|
|
7610
|
+
_html(`<span${_attr_class("_bA")}>`);
|
|
7503
7611
|
_for_of(p.ports, (port) => {
|
|
7504
7612
|
const $scope19_id = _scope_id();
|
|
7505
7613
|
_html(`<button${_attr_class(["_s", "_de"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope19_id, "b")}</button>${_el_resume($scope19_id, "a")}`);
|
|
@@ -7510,7 +7618,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
7510
7618
|
return 0;
|
|
7511
7619
|
}
|
|
7512
7620
|
}, $scope10_id, "e", 1, 1, 1, 0, 1);
|
|
7513
|
-
_html(`</div>${_el_resume($scope10_id, "b")}<button${_attr_class(["
|
|
7621
|
+
_html(`</div>${_el_resume($scope10_id, "b")}<button${_attr_class(["_bC", "_2"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
|
|
7514
7622
|
icon_xmark_default({ size: 14 });
|
|
7515
7623
|
_html(`</button>${_el_resume($scope10_id, "f")}</li>`);
|
|
7516
7624
|
_script($scope10_id, "n16");
|
|
@@ -7524,7 +7632,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
7524
7632
|
return 0;
|
|
7525
7633
|
}
|
|
7526
7634
|
}, $scope0_id, "v", 1, 1, 1, 0, 1);
|
|
7527
|
-
_html(`<section${_attr_class(["
|
|
7635
|
+
_html(`<section${_attr_class(["_bs", "_df"])}><div${_attr_class("_bt")}><h2${_attr_class("_bH")}>Workspace</h2></div><div${_attr_class("_dg")}>`);
|
|
7528
7636
|
_if(() => {
|
|
7529
7637
|
if (ws.status === "active") {
|
|
7530
7638
|
const $scope4_id = _scope_id();
|
|
@@ -7625,43 +7733,47 @@ var term_find_default = _template("z", (input) => {
|
|
|
7625
7733
|
const canStep = hasQuery && open;
|
|
7626
7734
|
const keybar = input.placement === "keybar";
|
|
7627
7735
|
_html(`<div${_attr_class([
|
|
7628
|
-
"
|
|
7629
|
-
keybar ? "
|
|
7630
|
-
!open && "
|
|
7631
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
7736
|
+
"_fT",
|
|
7737
|
+
keybar ? "_fV" : "_fU",
|
|
7738
|
+
!open && "_fX"
|
|
7739
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_fO", keybar ? "_fW" : "_fQ"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
7632
7740
|
if (!open) return;
|
|
7633
7741
|
query = v;
|
|
7634
7742
|
live.query = v;
|
|
7635
7743
|
run(0);
|
|
7636
|
-
}, "z0", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
7744
|
+
}, "z0", $scope0_id))}${_attr_class([findInput, keybar && "_fY"])} 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 && "_fZ"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
7745
|
+
icon_arrow_up_default({ size: 14 });
|
|
7746
|
+
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_fZ"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
7747
|
+
icon_arrow_down_default({ size: 14 });
|
|
7748
|
+
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_fZ"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
|
|
7637
7749
|
icon_xmark_default({ size: 14 });
|
|
7638
|
-
_html(`</button>${_el_resume($scope0_id, "
|
|
7750
|
+
_html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
|
|
7639
7751
|
_script($scope0_id, "z4");
|
|
7640
7752
|
_script($scope0_id, "z5");
|
|
7641
7753
|
_script($scope0_id, "z6");
|
|
7642
7754
|
writeScope($scope0_id, {
|
|
7643
|
-
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
|
|
7647
|
-
|
|
7648
|
-
|
|
7649
|
-
|
|
7650
|
-
|
|
7651
|
-
|
|
7652
|
-
|
|
7653
|
-
|
|
7654
|
-
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
|
-
|
|
7755
|
+
l: _serialize_if($scope0_reason, 1) && input.open,
|
|
7756
|
+
m: _serialize_if($scope0_reason, 0) && input.openChange,
|
|
7757
|
+
o: input.onSearch,
|
|
7758
|
+
p: input.onClear,
|
|
7759
|
+
q: input.focusRef,
|
|
7760
|
+
r: input.tick,
|
|
7761
|
+
t: open,
|
|
7762
|
+
v: query,
|
|
7763
|
+
x: live.open,
|
|
7764
|
+
z: live.query,
|
|
7765
|
+
a2: box.tick,
|
|
7766
|
+
a3: box.wasOpen,
|
|
7767
|
+
a4: run,
|
|
7768
|
+
a6: close,
|
|
7769
|
+
a7: focusInput,
|
|
7770
|
+
aa: hasQuery,
|
|
7771
|
+
ad: keybar,
|
|
7772
|
+
u: input.openChange || void 0
|
|
7661
7773
|
});
|
|
7662
7774
|
_resume_branch($scope0_id);
|
|
7663
7775
|
});
|
|
7664
|
-
_template("
|
|
7776
|
+
_template("ib", (input) => {
|
|
7665
7777
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7666
7778
|
const $scope0_id = _scope_id();
|
|
7667
7779
|
_set_serialize_reason({
|
|
@@ -7676,7 +7788,7 @@ _template("Z", (input) => {
|
|
|
7676
7788
|
});
|
|
7677
7789
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
7678
7790
|
});
|
|
7679
|
-
_template("
|
|
7791
|
+
_template("U", (input) => {
|
|
7680
7792
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7681
7793
|
const $scope0_id = _scope_id();
|
|
7682
7794
|
_set_serialize_reason({
|
|
@@ -7691,7 +7803,7 @@ _template("M", (input) => {
|
|
|
7691
7803
|
});
|
|
7692
7804
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
7693
7805
|
});
|
|
7694
|
-
_template("
|
|
7806
|
+
_template("Z", (input) => {
|
|
7695
7807
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7696
7808
|
const $scope0_id = _scope_id();
|
|
7697
7809
|
_set_serialize_reason({
|
|
@@ -7706,7 +7818,7 @@ _template("Q", (input) => {
|
|
|
7706
7818
|
});
|
|
7707
7819
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
7708
7820
|
});
|
|
7709
|
-
_template("
|
|
7821
|
+
_template("R", (input) => {
|
|
7710
7822
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7711
7823
|
const $scope0_id = _scope_id();
|
|
7712
7824
|
_set_serialize_reason({
|
|
@@ -7721,6 +7833,66 @@ _template("K", (input) => {
|
|
|
7721
7833
|
});
|
|
7722
7834
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
7723
7835
|
});
|
|
7836
|
+
_template("H", (input) => {
|
|
7837
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7838
|
+
const $scope0_id = _scope_id();
|
|
7839
|
+
_set_serialize_reason({
|
|
7840
|
+
0: $sg__input_size__OR__input_class,
|
|
7841
|
+
1: $sg__input_size__OR__input_class
|
|
7842
|
+
});
|
|
7843
|
+
const $childScope = _peek_scope_id();
|
|
7844
|
+
icon_base_default({
|
|
7845
|
+
d: "M21 12L3 12M3 12L11.5 3.5M3 12L11.5 20.5",
|
|
7846
|
+
size: input.size,
|
|
7847
|
+
class: input.class
|
|
7848
|
+
});
|
|
7849
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
7850
|
+
});
|
|
7851
|
+
_template("I", (input) => {
|
|
7852
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7853
|
+
const $scope0_id = _scope_id();
|
|
7854
|
+
_set_serialize_reason({
|
|
7855
|
+
0: $sg__input_size__OR__input_class,
|
|
7856
|
+
1: $sg__input_size__OR__input_class
|
|
7857
|
+
});
|
|
7858
|
+
const $childScope = _peek_scope_id();
|
|
7859
|
+
icon_base_default({
|
|
7860
|
+
d: "M3 12L21 12M21 12L12.5 3.5M21 12L12.5 20.5",
|
|
7861
|
+
size: input.size,
|
|
7862
|
+
class: input.class
|
|
7863
|
+
});
|
|
7864
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
7865
|
+
});
|
|
7866
|
+
_template("W", (input) => {
|
|
7867
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7868
|
+
const $scope0_id = _scope_id();
|
|
7869
|
+
_set_serialize_reason({
|
|
7870
|
+
0: $sg__input_size__OR__input_class,
|
|
7871
|
+
1: $sg__input_size__OR__input_class
|
|
7872
|
+
});
|
|
7873
|
+
const $childScope = _peek_scope_id();
|
|
7874
|
+
icon_base_default({
|
|
7875
|
+
d: "M19 6V11C19 12.1046 18.1046 13 17 13H5 M9 9L5 13L9 17",
|
|
7876
|
+
size: input.size,
|
|
7877
|
+
class: input.class
|
|
7878
|
+
});
|
|
7879
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
7880
|
+
});
|
|
7881
|
+
_template("gb", (input) => {
|
|
7882
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7883
|
+
const $scope0_id = _scope_id();
|
|
7884
|
+
_set_serialize_reason({
|
|
7885
|
+
0: $sg__input_size__OR__input_class,
|
|
7886
|
+
1: $sg__input_size__OR__input_class
|
|
7887
|
+
});
|
|
7888
|
+
const $childScope = _peek_scope_id();
|
|
7889
|
+
icon_base_default({
|
|
7890
|
+
d: "M4 12H16 M12 8L16 12L12 16 M20 7V17",
|
|
7891
|
+
size: input.size,
|
|
7892
|
+
class: input.class
|
|
7893
|
+
});
|
|
7894
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
7895
|
+
});
|
|
7724
7896
|
//#endregion
|
|
7725
7897
|
//#region src/tags/term.marko
|
|
7726
7898
|
var REPEAT_DELAY = 400;
|
|
@@ -7907,7 +8079,7 @@ var term_default = _template("A", (input) => {
|
|
|
7907
8079
|
trapOpen = true;
|
|
7908
8080
|
}
|
|
7909
8081
|
}, "A14", $scope0_id);
|
|
7910
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
8082
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_d8")}><div${_attr_class("_d9")}></div>${_el_resume($scope0_id, "b")}`);
|
|
7911
8083
|
_if(() => {
|
|
7912
8084
|
if (findOpen) {
|
|
7913
8085
|
const $scope12_id = _scope_id();
|
|
@@ -7934,7 +8106,7 @@ var term_default = _template("A", (input) => {
|
|
|
7934
8106
|
_if(() => {
|
|
7935
8107
|
if (uploading) {
|
|
7936
8108
|
const $scope19_id = _scope_id();
|
|
7937
|
-
_html(`<div${_attr_class("
|
|
8109
|
+
_html(`<div${_attr_class("_ee")}>uploading…</div>`);
|
|
7938
8110
|
writeScope($scope19_id, {});
|
|
7939
8111
|
return 0;
|
|
7940
8112
|
}
|
|
@@ -7942,7 +8114,7 @@ var term_default = _template("A", (input) => {
|
|
|
7942
8114
|
_if(() => {
|
|
7943
8115
|
if (copiedFlash) {
|
|
7944
8116
|
const $scope20_id = _scope_id();
|
|
7945
|
-
_html(`<div${_attr_class("
|
|
8117
|
+
_html(`<div${_attr_class("_ed")}>Copied</div>`);
|
|
7946
8118
|
writeScope($scope20_id, {});
|
|
7947
8119
|
return 0;
|
|
7948
8120
|
}
|
|
@@ -7951,7 +8123,7 @@ var term_default = _template("A", (input) => {
|
|
|
7951
8123
|
_if(() => {
|
|
7952
8124
|
if (trapOpen) {
|
|
7953
8125
|
const $scope11_id = _scope_id();
|
|
7954
|
-
_html(`<div${_attr_class("
|
|
8126
|
+
_html(`<div${_attr_class("_ef")}><div${_attr_class("_eg")}><p${_attr_class("_eK")}>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")}`);
|
|
7955
8127
|
_script($scope11_id, "A25");
|
|
7956
8128
|
_script($scope11_id, "A26");
|
|
7957
8129
|
writeScope($scope11_id, {});
|
|
@@ -8054,7 +8226,7 @@ var work_view_default = _template("E", (input) => {
|
|
|
8054
8226
|
let DiffView = null;
|
|
8055
8227
|
const loadDiffView = _resume(() => {
|
|
8056
8228
|
if (DiffView) return;
|
|
8057
|
-
import("./
|
|
8229
|
+
import("./_Cel25igI.js").then((m) => {
|
|
8058
8230
|
DiffView = m.default;
|
|
8059
8231
|
});
|
|
8060
8232
|
}, "E6", $scope0_id);
|
|
@@ -8524,7 +8696,7 @@ var work_view_default = _template("E", (input) => {
|
|
|
8524
8696
|
_if(() => {
|
|
8525
8697
|
if (!shownSessions.length && view === "term") {
|
|
8526
8698
|
const $scope7_id = _scope_id();
|
|
8527
|
-
_html(`<div${_attr_class("
|
|
8699
|
+
_html(`<div${_attr_class("_bE")}><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>`);
|
|
8528
8700
|
_script($scope7_id, "E49");
|
|
8529
8701
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
|
|
8530
8702
|
return 0;
|
|
@@ -8534,7 +8706,7 @@ var work_view_default = _template("E", (input) => {
|
|
|
8534
8706
|
return 0;
|
|
8535
8707
|
} else {
|
|
8536
8708
|
const $scope10_id = _scope_id();
|
|
8537
|
-
_html(`<p${_attr_class("
|
|
8709
|
+
_html(`<p${_attr_class("_bE")}>Loading sessions…</p>`);
|
|
8538
8710
|
writeScope($scope10_id, {});
|
|
8539
8711
|
return 1;
|
|
8540
8712
|
}
|
|
@@ -9079,7 +9251,7 @@ var app_page_default = _template("b", (input) => {
|
|
|
9079
9251
|
});
|
|
9080
9252
|
//#endregion
|
|
9081
9253
|
//#region src/routes/_app/new/+page.marko
|
|
9082
|
-
var _page_default$4 = _template("
|
|
9254
|
+
var _page_default$4 = _template("kb", (input) => {
|
|
9083
9255
|
_scope_reason();
|
|
9084
9256
|
_scope_id();
|
|
9085
9257
|
app_page_default({ initial: {
|
|
@@ -9121,7 +9293,7 @@ var GET$21 = Run.GET(async (_ctx, next) => {
|
|
|
9121
9293
|
});
|
|
9122
9294
|
//#endregion
|
|
9123
9295
|
//#region src/routes/_app/settings/+page.marko
|
|
9124
|
-
var _page_default$3 = _template("
|
|
9296
|
+
var _page_default$3 = _template("lb", (input) => {
|
|
9125
9297
|
_scope_reason();
|
|
9126
9298
|
_scope_id();
|
|
9127
9299
|
app_page_default({ initial: {
|
|
@@ -9158,7 +9330,7 @@ function head3(context) {
|
|
|
9158
9330
|
}
|
|
9159
9331
|
//#endregion
|
|
9160
9332
|
//#region src/routes/_app/w/$id/+page.marko
|
|
9161
|
-
var _page_default$2 = _template("
|
|
9333
|
+
var _page_default$2 = _template("mb", (input) => {
|
|
9162
9334
|
_scope_reason();
|
|
9163
9335
|
_scope_id();
|
|
9164
9336
|
app_page_default({ initial: {
|
|
@@ -9195,7 +9367,7 @@ function head4(context) {
|
|
|
9195
9367
|
}
|
|
9196
9368
|
//#endregion
|
|
9197
9369
|
//#region src/routes/_app/w/$id/manage/+page.marko
|
|
9198
|
-
var _page_default$1 = _template("
|
|
9370
|
+
var _page_default$1 = _template("nb", (input) => {
|
|
9199
9371
|
_scope_reason();
|
|
9200
9372
|
_scope_id();
|
|
9201
9373
|
app_page_default({ initial: {
|
|
@@ -9231,7 +9403,7 @@ function head5(context) {
|
|
|
9231
9403
|
}
|
|
9232
9404
|
//#endregion
|
|
9233
9405
|
//#region src/routes/_app/w/$id/review/+page.marko
|
|
9234
|
-
var _page_default = _template("
|
|
9406
|
+
var _page_default = _template("ob", (input) => {
|
|
9235
9407
|
_scope_reason();
|
|
9236
9408
|
_scope_id();
|
|
9237
9409
|
const q = $global().url.searchParams;
|
|
@@ -16534,4 +16706,4 @@ server.listen(port, () => {
|
|
|
16534
16706
|
//#endregion
|
|
16535
16707
|
export {};
|
|
16536
16708
|
|
|
16537
|
-
;var __MARKO_MANIFEST__={"
|
|
16709
|
+
;var __MARKO_MANIFEST__={"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-B1_16TZW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B1_16TZW.css\"",">"],"defer":[2,"/assets/settings-BpwV-DKC.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-BpwV-DKC.js\"","></script>",2,"modulepreload#/assets/_Ame3I5fr.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Ame3I5fr.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-B1_16TZW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B1_16TZW.css\"",">"],"defer":[2,"/assets/w-BpwV-DKC.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-BpwV-DKC.js\"","></script>",2,"modulepreload#/assets/_Ame3I5fr.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Ame3I5fr.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-B1_16TZW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B1_16TZW.css\"",">"],"defer":[2,"/assets/new-BpwV-DKC.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-BpwV-DKC.js\"","></script>",2,"modulepreload#/assets/_Ame3I5fr.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Ame3I5fr.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-B1_16TZW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B1_16TZW.css\"",">"],"defer":[2,"/assets/w._-BpwV-DKC.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-BpwV-DKC.js\"","></script>",2,"modulepreload#/assets/_Ame3I5fr.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Ame3I5fr.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-B1_16TZW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B1_16TZW.css\"",">"],"defer":[2,"/assets/w._-C0I_DcpJ.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-C0I_DcpJ.js\"","></script>",2,"modulepreload#/assets/_Ame3I5fr.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Ame3I5fr.js\"",">"]}};
|