@dylanpiercey/work 0.0.51 → 0.0.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/work.mjs +12 -5
- package/dist/{_ChsFL4HL.js → _BF5Ds6l1.js} +67 -67
- package/dist/{_hWr23FrN.js → _DUM0cw3p.js} +21 -21
- package/dist/index.mjs +194 -194
- package/dist/public/assets/{_z-TE6bLm2.js → _1RHB0lSO2.js} +1 -1
- package/dist/public/assets/_1RHB0lSO2.js.br +0 -0
- package/dist/public/assets/{_BZMQNYA92.js → _4o548NMN2.js} +1 -1
- package/dist/public/assets/_4o548NMN2.js.br +0 -0
- package/dist/public/assets/{_Dxgr5ZEE2.js → _53_Gkclz2.js} +1 -1
- package/dist/public/assets/_53_Gkclz2.js.br +0 -0
- package/dist/public/assets/{_h4RVOlAc2.js → _78t63pYl2.js} +1 -1
- package/dist/public/assets/_78t63pYl2.js.br +0 -0
- package/dist/public/assets/{_Co5f57QZ2.js → _97_QHDaA2.js} +1 -1
- package/dist/public/assets/_97_QHDaA2.js.br +0 -0
- package/dist/public/assets/{_COh_iyNM.js → _B2gZ-gos.js} +1 -1
- package/dist/public/assets/_B2gZ-gos.js.br +0 -0
- package/dist/public/assets/{_WWEgOS99.js → _B6MTeJze.js} +1 -1
- package/dist/public/assets/_B6MTeJze.js.br +0 -0
- package/dist/public/assets/{_BsogDiXx.js → _B6XFknRz.js} +1 -1
- package/dist/public/assets/{_DypMRhyB.js → _B8PK0D8p.js} +1 -1
- package/dist/public/assets/_B8PK0D8p.js.br +0 -0
- package/dist/public/assets/{_BepwNj2c.js → _B8dNmljn.js} +1 -1
- package/dist/public/assets/_B8dNmljn.js.br +0 -0
- package/dist/public/assets/{_7zKhgk70.js → _B9FAGz41.js} +1 -1
- package/dist/public/assets/_B9FAGz41.js.br +0 -0
- package/dist/public/assets/{_Daxa4EBi.js → _BFTcE0QK.js} +1 -1
- package/dist/public/assets/_BFTcE0QK.js.br +0 -0
- package/dist/public/assets/{_BvXRPJdv.js → _BHcZQcti.js} +1 -1
- package/dist/public/assets/_BHcZQcti.js.br +0 -0
- package/dist/public/assets/{_D6rlRNb42.js → _BNXgzNaG2.js} +1 -1
- package/dist/public/assets/_BNXgzNaG2.js.br +0 -0
- package/dist/public/assets/{_B1kAPDJf.js → _BSXXs8gN.js} +1 -1
- package/dist/public/assets/_BSXXs8gN.js.br +0 -0
- package/dist/public/assets/{_CZzND5iW.js → _BWI2Do3S.js} +1 -1
- package/dist/public/assets/_BWI2Do3S.js.br +0 -0
- package/dist/public/assets/{_CpF0eDyO2.js → _BfZ-e1Oi2.js} +1 -1
- package/dist/public/assets/_BfZ-e1Oi2.js.br +0 -0
- package/dist/public/assets/{_DsZJYF5S.js → _BftSj8jg.js} +5 -5
- package/dist/public/assets/_BftSj8jg.js.br +0 -0
- package/dist/public/assets/{_Cjp1_INh2.js → _Bfw9COFv2.js} +1 -1
- package/dist/public/assets/_Bfw9COFv2.js.br +0 -0
- package/dist/public/assets/{_De6QD9bA.js → _BhvKdtZS.js} +1 -1
- package/dist/public/assets/_BhvKdtZS.js.br +0 -0
- package/dist/public/assets/{_DmhFYJm3.js → _BnS6LlOZ.js} +1 -1
- package/dist/public/assets/_BnS6LlOZ.js.br +0 -0
- package/dist/public/assets/{_BMRMEvO7.js → _Bp275Xkj.js} +1 -1
- package/dist/public/assets/_Bp275Xkj.js.br +0 -0
- package/dist/public/assets/{_DSSFuJur.js → _BuCp0sVx.js} +1 -1
- package/dist/public/assets/_BuCp0sVx.js.br +0 -0
- package/dist/public/assets/{_Cd9v1nzp.js → _BxhpIRvu.js} +1 -1
- package/dist/public/assets/_BxhpIRvu.js.br +0 -0
- package/dist/public/assets/{_ClePGw1Q2.js → _BylZd5vc2.js} +1 -1
- package/dist/public/assets/_BylZd5vc2.js.br +0 -0
- package/dist/public/assets/{_C2I7cHEj.js → _Byvtq0ph.js} +1 -1
- package/dist/public/assets/_Byvtq0ph.js.br +0 -0
- package/dist/public/assets/{_um1Uylai.js → _C6JD2frp.js} +1 -1
- package/dist/public/assets/_C6JD2frp.js.br +0 -0
- package/dist/public/assets/{_DDIsmVeS.js → _CEIOfkqB.js} +1 -1
- package/dist/public/assets/_CEIOfkqB.js.br +0 -0
- package/dist/public/assets/{_B1q1XEz1.js → _CKTm726Y.js} +1 -1
- package/dist/public/assets/_CKTm726Y.js.br +0 -0
- package/dist/public/assets/{_CzWr4WDS.js → _CKc9I04_.js} +1 -1
- package/dist/public/assets/_CKc9I04_.js.br +0 -0
- package/dist/public/assets/{_DqeMgS1a2.js → _CMu2KECi2.js} +1 -1
- package/dist/public/assets/_CMu2KECi2.js.br +0 -0
- package/dist/public/assets/{_DTl3WJKW2.js → _CN_RQEYv2.js} +1 -1
- package/dist/public/assets/_CN_RQEYv2.js.br +0 -0
- package/dist/public/assets/{_BQWd9iua.js → _COgewrXt.js} +1 -1
- package/dist/public/assets/_COgewrXt.js.br +0 -0
- package/dist/public/assets/{_BXzA1hkF.js → _CPVup1Se.js} +1 -1
- package/dist/public/assets/_CPVup1Se.js.br +0 -0
- package/dist/public/assets/{_DmR5fI7m2.js → _CTdNa10i2.js} +1 -1
- package/dist/public/assets/_CTdNa10i2.js.br +0 -0
- package/dist/public/assets/{_BY6UBzWo2.js → _C_9vp-WL2.js} +1 -1
- package/dist/public/assets/{_Bdd-EVvo.js → _CaO0fTlZ.js} +1 -1
- package/dist/public/assets/_CaO0fTlZ.js.br +0 -0
- package/dist/public/assets/{_DhkDcW9a.js → _CayANnvn.js} +1 -1
- package/dist/public/assets/_CayANnvn.js.br +0 -0
- package/dist/public/assets/{_BgR6JlxP.js → _Ch8RPxrU.js} +1 -1
- package/dist/public/assets/_Ch8RPxrU.js.br +0 -0
- package/dist/public/assets/{_DieSr1Ar.js → _ClfLs_IM.js} +1 -1
- package/dist/public/assets/_ClfLs_IM.js.br +0 -0
- package/dist/public/assets/{_DEMYRqVb.js → _Cn7S3umb.js} +1 -1
- package/dist/public/assets/_Cn7S3umb.js.br +0 -0
- package/dist/public/assets/{_BAe2Rkst.js → _CpZRJMV8.js} +1 -1
- package/dist/public/assets/_CpZRJMV8.js.br +0 -0
- package/dist/public/assets/{_CWmZT485.js → _Cu3QsZQI.js} +1 -1
- package/dist/public/assets/_Cu3QsZQI.js.br +0 -0
- package/dist/public/assets/{_DPZvn_Ns.js → _CukXjwKI.js} +1 -1
- package/dist/public/assets/_CukXjwKI.js.br +0 -0
- package/dist/public/assets/{_BZZMGQsS2.js → _D08sJDf52.js} +1 -1
- package/dist/public/assets/{_CnOIrHd4.js → _D0aymiKi.js} +1 -1
- package/dist/public/assets/_D0aymiKi.js.br +0 -0
- package/dist/public/assets/{_Dkkv3pWr2.js → _D1EizBjN2.js} +1 -1
- package/dist/public/assets/_D1EizBjN2.js.br +0 -0
- package/dist/public/assets/{_BdKJVs01.js → _D7jZA271.js} +1 -1
- package/dist/public/assets/_D7jZA271.js.br +0 -0
- package/dist/public/assets/{_ror9VoLz.js → _D82h5ZUI.js} +1 -1
- package/dist/public/assets/_D82h5ZUI.js.br +0 -0
- package/dist/public/assets/{_Ct4X_xxt.js → _D8IWBuON.js} +1 -1
- package/dist/public/assets/_D8IWBuON.js.br +0 -0
- package/dist/public/assets/{_BiDu7TT-.js → _D8WTBgdC.js} +1 -1
- package/dist/public/assets/_D8WTBgdC.js.br +0 -0
- package/dist/public/assets/{_DS46Nokf2.js → _DBtibQ062.js} +1 -1
- package/dist/public/assets/_DBtibQ062.js.br +0 -0
- package/dist/public/assets/{_LpvSvw1m.js → _DCl9-_gh.js} +1 -1
- package/dist/public/assets/_DCl9-_gh.js.br +0 -0
- package/dist/public/assets/{_OrWHmnP_.js → _DD8n6YTl.js} +1 -1
- package/dist/public/assets/_DD8n6YTl.js.br +0 -0
- package/dist/public/assets/{_k8EORKKh.js → _DH5pWvVo.js} +1 -1
- package/dist/public/assets/_DH5pWvVo.js.br +0 -0
- package/dist/public/assets/{_DDHqFyT6.js → _DKZQgeEl.js} +1 -1
- package/dist/public/assets/_DKZQgeEl.js.br +0 -0
- package/dist/public/assets/{_Cuf3C8O12.js → _DMu0yZlx2.js} +1 -1
- package/dist/public/assets/_DMu0yZlx2.js.br +0 -0
- package/dist/public/assets/{_ANZIBcq8.js → _DU0SgTvn.js} +1 -1
- package/dist/public/assets/_DU0SgTvn.js.br +0 -0
- package/dist/public/assets/{_C0oWdnE5.js → _DbHs54NW.js} +1 -1
- package/dist/public/assets/_DbHs54NW.js.br +0 -0
- package/dist/public/assets/{_BxtJHtVP.js → _DcEIprKB.js} +1 -1
- package/dist/public/assets/_DcEIprKB.js.br +0 -0
- package/dist/public/assets/{_DHn-Con42.js → _DczHK0rZ2.js} +1 -1
- package/dist/public/assets/_DczHK0rZ2.js.br +0 -0
- package/dist/public/assets/{_c0RV9ZTi.js → _Di4f0PbL.js} +1 -1
- package/dist/public/assets/_Di4f0PbL.js.br +0 -0
- package/dist/public/assets/{_Cf3MmuUY.js → _Dj1zNP_A.js} +1 -1
- package/dist/public/assets/_Dj1zNP_A.js.br +0 -0
- package/dist/public/assets/{_Bt7Eey0L.js → _DmPc_0PR.js} +1 -1
- package/dist/public/assets/_DmPc_0PR.js.br +0 -0
- package/dist/public/assets/{_Dd2aGpDJ.js → _DuiZbPA1.js} +1 -1
- package/dist/public/assets/_DuiZbPA1.js.br +0 -0
- package/dist/public/assets/{_CozR6WAm.js → _Dx9V6zg5.js} +1 -1
- package/dist/public/assets/_Dx9V6zg5.js.br +0 -0
- package/dist/public/assets/{_CHrLzFRU2.js → _KX6etuXC2.js} +1 -1
- package/dist/public/assets/_KX6etuXC2.js.br +0 -0
- package/dist/public/assets/{_DJbEi800.js → _QZTLJm_d.js} +1 -1
- package/dist/public/assets/_QZTLJm_d.js.br +0 -0
- package/dist/public/assets/{__yh22OJv2.js → _S9EuUC_B2.js} +1 -1
- package/dist/public/assets/_S9EuUC_B2.js.br +0 -0
- package/dist/public/assets/{_BosbXyNb2.js → _gYK-8iRk2.js} +1 -1
- package/dist/public/assets/_gYK-8iRk2.js.br +0 -0
- package/dist/public/assets/{_CtUpTTh_2.js → _imULvXAt2.js} +1 -1
- package/dist/public/assets/_imULvXAt2.js.br +0 -0
- package/dist/public/assets/{_CTZYzJI9.js → _j8aUkR9C.js} +1 -1
- package/dist/public/assets/_j8aUkR9C.js.br +0 -0
- package/dist/public/assets/{_By0A-jZS2.js → _n9yl6ywa2.js} +1 -1
- package/dist/public/assets/_n9yl6ywa2.js.br +0 -0
- package/dist/public/assets/{_-OkpjNFC2.js → _orRxsaTo2.js} +1 -1
- package/dist/public/assets/_orRxsaTo2.js.br +0 -0
- package/dist/public/assets/{_BglwyDVi.js → _p1DTZYXO.js} +1 -1
- package/dist/public/assets/_p1DTZYXO.js.br +0 -0
- package/dist/public/assets/diff-view-BWLMcZcD.css +1 -0
- package/dist/public/assets/diff-view-BWLMcZcD.css.br +0 -0
- package/dist/public/assets/{index-BTS1WPEB.css → index-Ci2AW5Xt.css} +1 -1
- package/dist/public/assets/index-Ci2AW5Xt.css.br +0 -0
- package/dist/public/assets/{index-g4T1J5qh.js → index-WQhyReVQ.js} +3 -3
- package/dist/public/assets/index-WQhyReVQ.js.br +0 -0
- package/install.sh +3 -1
- package/package.json +1 -1
- package/dist/public/assets/_-OkpjNFC2.js.br +0 -0
- package/dist/public/assets/_7zKhgk70.js.br +0 -0
- package/dist/public/assets/_ANZIBcq8.js.br +0 -0
- package/dist/public/assets/_B1kAPDJf.js.br +0 -0
- package/dist/public/assets/_B1q1XEz1.js.br +0 -0
- package/dist/public/assets/_BAe2Rkst.js.br +0 -0
- package/dist/public/assets/_BMRMEvO7.js.br +0 -0
- package/dist/public/assets/_BQWd9iua.js.br +0 -0
- package/dist/public/assets/_BXzA1hkF.js.br +0 -0
- package/dist/public/assets/_BZMQNYA92.js.br +0 -0
- package/dist/public/assets/_BdKJVs01.js.br +0 -0
- package/dist/public/assets/_Bdd-EVvo.js.br +0 -0
- package/dist/public/assets/_BepwNj2c.js.br +0 -0
- package/dist/public/assets/_BgR6JlxP.js.br +0 -0
- package/dist/public/assets/_BglwyDVi.js.br +0 -0
- package/dist/public/assets/_BiDu7TT-.js.br +0 -0
- package/dist/public/assets/_BosbXyNb2.js.br +0 -0
- package/dist/public/assets/_Bt7Eey0L.js.br +0 -0
- package/dist/public/assets/_BvXRPJdv.js.br +0 -0
- package/dist/public/assets/_BxtJHtVP.js.br +0 -0
- package/dist/public/assets/_By0A-jZS2.js.br +0 -0
- package/dist/public/assets/_C0oWdnE5.js.br +0 -0
- package/dist/public/assets/_C2I7cHEj.js.br +0 -0
- package/dist/public/assets/_CHrLzFRU2.js.br +0 -0
- package/dist/public/assets/_COh_iyNM.js.br +0 -0
- package/dist/public/assets/_CTZYzJI9.js.br +0 -0
- package/dist/public/assets/_CWmZT485.js.br +0 -0
- package/dist/public/assets/_CZzND5iW.js.br +0 -0
- package/dist/public/assets/_Cd9v1nzp.js.br +0 -0
- package/dist/public/assets/_Cf3MmuUY.js.br +0 -0
- package/dist/public/assets/_Cjp1_INh2.js.br +0 -0
- package/dist/public/assets/_ClePGw1Q2.js.br +0 -0
- package/dist/public/assets/_CnOIrHd4.js.br +0 -0
- package/dist/public/assets/_Co5f57QZ2.js.br +0 -0
- package/dist/public/assets/_CozR6WAm.js.br +0 -0
- package/dist/public/assets/_CpF0eDyO2.js.br +0 -0
- package/dist/public/assets/_Ct4X_xxt.js.br +0 -0
- package/dist/public/assets/_CtUpTTh_2.js.br +0 -0
- package/dist/public/assets/_Cuf3C8O12.js.br +0 -0
- package/dist/public/assets/_CzWr4WDS.js.br +0 -0
- package/dist/public/assets/_D6rlRNb42.js.br +0 -0
- package/dist/public/assets/_DDHqFyT6.js.br +0 -0
- package/dist/public/assets/_DDIsmVeS.js.br +0 -0
- package/dist/public/assets/_DEMYRqVb.js.br +0 -0
- package/dist/public/assets/_DHn-Con42.js.br +0 -0
- package/dist/public/assets/_DJbEi800.js.br +0 -0
- package/dist/public/assets/_DPZvn_Ns.js.br +0 -0
- package/dist/public/assets/_DS46Nokf2.js.br +0 -0
- package/dist/public/assets/_DSSFuJur.js.br +0 -0
- package/dist/public/assets/_DTl3WJKW2.js.br +0 -0
- package/dist/public/assets/_Daxa4EBi.js.br +0 -0
- package/dist/public/assets/_Dd2aGpDJ.js.br +0 -0
- package/dist/public/assets/_De6QD9bA.js.br +0 -0
- package/dist/public/assets/_DhkDcW9a.js.br +0 -0
- package/dist/public/assets/_DieSr1Ar.js.br +0 -0
- package/dist/public/assets/_Dkkv3pWr2.js.br +0 -0
- package/dist/public/assets/_DmR5fI7m2.js.br +0 -0
- package/dist/public/assets/_DmhFYJm3.js.br +0 -0
- package/dist/public/assets/_DqeMgS1a2.js.br +0 -0
- package/dist/public/assets/_DsZJYF5S.js.br +0 -0
- package/dist/public/assets/_Dxgr5ZEE2.js.br +0 -0
- package/dist/public/assets/_DypMRhyB.js.br +0 -0
- package/dist/public/assets/_LpvSvw1m.js.br +0 -0
- package/dist/public/assets/_OrWHmnP_.js.br +0 -0
- package/dist/public/assets/_WWEgOS99.js.br +0 -0
- package/dist/public/assets/__yh22OJv2.js.br +0 -0
- package/dist/public/assets/_c0RV9ZTi.js.br +0 -0
- package/dist/public/assets/_h4RVOlAc2.js.br +0 -0
- package/dist/public/assets/_k8EORKKh.js.br +0 -0
- package/dist/public/assets/_ror9VoLz.js.br +0 -0
- package/dist/public/assets/_um1Uylai.js.br +0 -0
- package/dist/public/assets/_z-TE6bLm2.js.br +0 -0
- package/dist/public/assets/diff-view-Cb9k_CUr.css +0 -1
- package/dist/public/assets/diff-view-Cb9k_CUr.css.br +0 -0
- package/dist/public/assets/index-BTS1WPEB.css.br +0 -0
- package/dist/public/assets/index-g4T1J5qh.js.br +0 -0
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 get, A as subscribe, B as setPref, C as setScrapedPhase, D as pushPublicKey, E as deleteSubscription, F as disabledAgents, G as setupPath, H as doctor, I as enabledAgents, J as TOOLS, K as which, L as getSetting, M as subscriberJoins, N as agentChoices, O as saveSubscription, P as allPrefs, Q as db, R as preferredAgent, S as setAgentPhase, T as summaryFromHookPayload, U as ghKnownHosts, V as setSetting, W as miseVersions, X as toolById, Y as agentById, Z as all, _ as tmuxName, a as ensureTmuxServer, at as tmux, b as clearAgentPhase, c as killWorkspaceSessions, d as newSessionArgs, et as workspacePath, g as sessionStates, h as sendToSession, i as disposeSessions, it as run, j as subscriberCount, k as publish, l as listSessions, m as renameSession, n as clearTmuxStarted, nt as gh, o as getSession, ot as config, p as panePids, q as DEFAULT_GITHUB_HOST, r as createSession, rt as git, s as killSession, t as cleanEnv, tt as TMUX_SOCKET, u as markTmuxStarted, v as tmuxWasStarted, w as setSessionViewers, x as reasonFromHookPayload, y as reportsWorking, z as setDisabledAgents } from "./_Bi2N56tu.js";
|
|
3
|
-
import { $ as _set_serialize_reason, A as _dynamic_tag, B as _html, C as _attr_select_value, D as _await, E as _attrs_partial, F as _existing_scope, G as _resume_branch, H as _if, I as _flush_head, J as _scope_with_id, K as _scope_id, L as _for_of, M as _el_read_error, N as _el_resume, O as _content, P as _escape, Q as _serialize_if, R as _hoist, S as _attr_option_value, T as _attrs, U as _peek_scope_id, V as _id, W as _resume, X as _sep, Y as _script, Z as _serialize_guard, _ as $global, at as _trailers, c as sideNavOpen, ct as attrTag, d as rankRepos, et as _show_end, f as icon_refresh_default, g as phase, h as btnSm, i as icon_sidebar_default, it as _to_text, k as _content_resume, l as workspaceTab, lt as withPageAssets, m as toast_default, n as findIconBtn, nt as _subscribe, ot as _try, p as icon_base_default, q as _scope_reason, r as findInput, rt as _template, s as setWorkspaceTab, st as _var, tt as _show_start, ut as writeScope, v as _attr, w as _attr_style, x as _attr_input_value, y as _attr_class, z as _hoist_read_error } from "./
|
|
3
|
+
import { $ as _set_serialize_reason, A as _dynamic_tag, B as _html, C as _attr_select_value, D as _await, E as _attrs_partial, F as _existing_scope, G as _resume_branch, H as _if, I as _flush_head, J as _scope_with_id, K as _scope_id, L as _for_of, M as _el_read_error, N as _el_resume, O as _content, P as _escape, Q as _serialize_if, R as _hoist, S as _attr_option_value, T as _attrs, U as _peek_scope_id, V as _id, W as _resume, X as _sep, Y as _script, Z as _serialize_guard, _ as $global, at as _trailers, c as sideNavOpen, ct as attrTag, d as rankRepos, et as _show_end, f as icon_refresh_default, g as phase, h as btnSm, i as icon_sidebar_default, it as _to_text, k as _content_resume, l as workspaceTab, lt as withPageAssets, m as toast_default, n as findIconBtn, nt as _subscribe, ot as _try, p as icon_base_default, q as _scope_reason, r as findInput, rt as _template, s as setWorkspaceTab, st as _var, tt as _show_start, ut as writeScope, v as _attr, w as _attr_style, x as _attr_input_value, y as _attr_class, z as _hoist_read_error } from "./_DUM0cw3p.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { createServer } from "node:http";
|
|
6
6
|
import path from "node:path";
|
|
@@ -3085,11 +3085,11 @@ function agentFromCommand(command) {
|
|
|
3085
3085
|
}
|
|
3086
3086
|
//#endregion
|
|
3087
3087
|
//#region src/tags/settings-page.css.ts
|
|
3088
|
-
var content$2 = "_bW
|
|
3089
|
-
var agentGrid = "_b0
|
|
3090
|
-
var defaultTag = "_b6
|
|
3091
|
-
var toolGrid = "_cc
|
|
3092
|
-
var iconBtn$3 = "
|
|
3088
|
+
var content$2 = "_bW _T _U";
|
|
3089
|
+
var agentGrid = "_b0 _bx";
|
|
3090
|
+
var defaultTag = "_b6 _bE";
|
|
3091
|
+
var toolGrid = "_cc _bx";
|
|
3092
|
+
var iconBtn$3 = "_bJ _D";
|
|
3093
3093
|
//#endregion
|
|
3094
3094
|
//#region src/tags/icons/icon-agent.marko
|
|
3095
3095
|
var PATHS = {
|
|
@@ -3109,7 +3109,7 @@ var icon_agent_default = _template("z", (input) => {
|
|
|
3109
3109
|
_if(() => {
|
|
3110
3110
|
if (d) {
|
|
3111
3111
|
const $scope1_id = _scope_id();
|
|
3112
|
-
_html(`<svg${_attr_class(["
|
|
3112
|
+
_html(`<svg${_attr_class(["_d", input.class])}${_attr("width", size)}${_attr("height", size)} viewBox="0 0 24 24" fill=currentColor fill-rule=evenodd aria-hidden=true><path${_attr("d", d)}></path>${_el_resume($scope1_id, "b", $sg__input_agent)}`);
|
|
3113
3113
|
_if(() => {
|
|
3114
3114
|
if (badge) {
|
|
3115
3115
|
const $scope3_id = _scope_id();
|
|
@@ -3168,11 +3168,11 @@ var usage_meters_default = _template("x", (input) => {
|
|
|
3168
3168
|
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);
|
|
3169
3169
|
const $scope0_id = _scope_id();
|
|
3170
3170
|
const agent = input.agent;
|
|
3171
|
-
_html(`<div${_attr_class(["
|
|
3171
|
+
_html(`<div${_attr_class(["_cE", { ["_cF"]: input.hideName }])}><div${_attr_class("_cG")}>`);
|
|
3172
3172
|
_if(() => {
|
|
3173
3173
|
if (!input.hideName) {
|
|
3174
3174
|
const $scope1_id = _scope_id();
|
|
3175
|
-
_html(`<strong${_attr_class("
|
|
3175
|
+
_html(`<strong${_attr_class("_cZ")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
|
|
3176
3176
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
3177
3177
|
return 0;
|
|
3178
3178
|
}
|
|
@@ -3180,7 +3180,7 @@ var usage_meters_default = _template("x", (input) => {
|
|
|
3180
3180
|
_if(() => {
|
|
3181
3181
|
if (agent.plan) {
|
|
3182
3182
|
const $scope2_id = _scope_id();
|
|
3183
|
-
_html(`<span${_attr_class("
|
|
3183
|
+
_html(`<span${_attr_class("_cH")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
|
|
3184
3184
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
3185
3185
|
return 0;
|
|
3186
3186
|
}
|
|
@@ -3188,25 +3188,25 @@ var usage_meters_default = _template("x", (input) => {
|
|
|
3188
3188
|
_if(() => {
|
|
3189
3189
|
if (agent.stale_seconds != null) {
|
|
3190
3190
|
const $scope3_id = _scope_id();
|
|
3191
|
-
_html(`<span${_attr_class("
|
|
3191
|
+
_html(`<span${_attr_class("_cI")}${_attr("title", `${agent.note || "couldn't reach this provider"} — these are the last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>⚠ ${_sep($sg__input_agent)}${_escape(duration(agent.stale_seconds * 1e3))}${_el_resume($scope3_id, "b", $sg__input_agent)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
|
|
3192
3192
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
3193
3193
|
return 0;
|
|
3194
3194
|
}
|
|
3195
3195
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
3196
|
-
_html(`</div><div${_attr_class(["
|
|
3196
|
+
_html(`</div><div${_attr_class(["_cJ", { ["_c0"]: agent.stale_seconds != null }])}>`);
|
|
3197
3197
|
_for_of(agent.windows || [], (win) => {
|
|
3198
3198
|
const $scope4_id = _scope_id();
|
|
3199
3199
|
const pct = Math.round(win.used_percent);
|
|
3200
3200
|
const label = resetLabel(win.resets_at, agent.stale_seconds != null);
|
|
3201
|
-
const fillClass = win.used_percent >= 90 ? "
|
|
3202
|
-
const pctClass = win.used_percent >= 90 ? "
|
|
3203
|
-
_html(`<div${_attr_class("
|
|
3201
|
+
const fillClass = win.used_percent >= 90 ? "_cS" : win.used_percent >= 70 ? "_cR" : win.used_percent >= 40 ? "_cQ" : "_cP";
|
|
3202
|
+
const pctClass = win.used_percent >= 90 ? "_cX" : win.used_percent >= 70 ? "_cW" : win.used_percent >= 40 ? "_cV" : "_cU";
|
|
3203
|
+
_html(`<div${_attr_class("_cL")}${_attr("title", `${win.window}: ${pct}% used${win.resets_at ? ` — resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_cM")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_cN")}><span${_attr_class(["_cO", 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(["_cT", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}%</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_cY")}>${label ? `↻ ${_escape(`${_to_text(label)}`)}` : ""}${_el_resume($scope4_id, "i", $sg__input_agent)}</span></div>${_el_resume($scope4_id, "a", $sg__input_agent)}`);
|
|
3204
3204
|
$si__input_agent && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
3205
3205
|
}, "window", $scope0_id, "g", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
3206
3206
|
_if(() => {
|
|
3207
3207
|
if (agent.note) {
|
|
3208
3208
|
const $scope5_id = _scope_id();
|
|
3209
|
-
_html(`<p${_attr_class("
|
|
3209
|
+
_html(`<p${_attr_class("_cK")}>${_escape(agent.note)}${_el_resume($scope5_id, "b", $sg__input_agent)}</p>`);
|
|
3210
3210
|
$si__input_agent && writeScope($scope5_id, { _: _scope_with_id($scope0_id) });
|
|
3211
3211
|
return 0;
|
|
3212
3212
|
}
|
|
@@ -3242,7 +3242,7 @@ var modal_view_default = _template("l", (input) => {
|
|
|
3242
3242
|
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;
|
|
3243
3243
|
const dismissable = input.dismissable !== false;
|
|
3244
3244
|
let open = input.open;
|
|
3245
|
-
_html(`<dialog${_attr_class(["
|
|
3245
|
+
_html(`<dialog${_attr_class(["_e4", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
|
|
3246
3246
|
...htmlInput,
|
|
3247
3247
|
open: null
|
|
3248
3248
|
}, {
|
|
@@ -3252,22 +3252,22 @@ var modal_view_default = _template("l", (input) => {
|
|
|
3252
3252
|
closedby: 1,
|
|
3253
3253
|
"on-cancel": 1,
|
|
3254
3254
|
"on-close": 1
|
|
3255
|
-
}, "a", $scope0_id, "dialog")}><div${_attr_class("
|
|
3255
|
+
}, "a", $scope0_id, "dialog")}><div${_attr_class("_e5")}>`);
|
|
3256
3256
|
_dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
|
|
3257
3257
|
_html("</div>");
|
|
3258
3258
|
_if(() => {
|
|
3259
3259
|
if (footer) {
|
|
3260
3260
|
const $scope1_id = _scope_id();
|
|
3261
|
-
_html(`<form method=dialog${_attr_class("
|
|
3261
|
+
_html(`<form method=dialog${_attr_class("_e6")}>`);
|
|
3262
3262
|
_dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
|
|
3263
3263
|
_html("</form>");
|
|
3264
3264
|
$si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
|
|
3265
3265
|
return 0;
|
|
3266
3266
|
} else if (input.openChange) {
|
|
3267
3267
|
const $scope2_id = _scope_id();
|
|
3268
|
-
_html(`<form method=dialog${_attr_class("
|
|
3268
|
+
_html(`<form method=dialog${_attr_class("_e6")}>`);
|
|
3269
3269
|
dialog_close_default({
|
|
3270
|
-
class: ["
|
|
3270
|
+
class: ["_h", "_i"],
|
|
3271
3271
|
content: _content("l0", () => {
|
|
3272
3272
|
_scope_reason();
|
|
3273
3273
|
_scope_id();
|
|
@@ -3324,16 +3324,16 @@ var prompt_dialog_default = _template("o", (input) => {
|
|
|
3324
3324
|
const $childScope = _peek_scope_id();
|
|
3325
3325
|
modal_view_default({
|
|
3326
3326
|
label: input.label,
|
|
3327
|
-
class: "
|
|
3327
|
+
class: "_c1",
|
|
3328
3328
|
open: input.open,
|
|
3329
3329
|
openChange: input.openChange,
|
|
3330
3330
|
"aria-labelledby": titleId,
|
|
3331
3331
|
footer: attrTag({ content: _content_resume("o5", () => {
|
|
3332
3332
|
_scope_reason();
|
|
3333
3333
|
const $scope1_id = _scope_id();
|
|
3334
|
-
_html(`<button type=button${_attr_class(["
|
|
3334
|
+
_html(`<button type=button${_attr_class(["_h", "_i"])}${_attr("disabled", !value.trim())}>${_escape(input.submitLabel || "OK")}${_el_resume($scope1_id, "b", _serialize_guard($scope0_reason, 4))}</button>${_el_resume($scope1_id, "a")}<div${_attr_class("_r")}></div>`);
|
|
3335
3335
|
dialog_close_default({
|
|
3336
|
-
class: "
|
|
3336
|
+
class: "_h",
|
|
3337
3337
|
content: _content("o2", () => {
|
|
3338
3338
|
_scope_reason();
|
|
3339
3339
|
_scope_id();
|
|
@@ -3347,7 +3347,7 @@ var prompt_dialog_default = _template("o", (input) => {
|
|
|
3347
3347
|
content: _content("o6", () => {
|
|
3348
3348
|
_scope_reason();
|
|
3349
3349
|
const $scope2_id = _scope_id();
|
|
3350
|
-
_html(`<h2${_attr_class("
|
|
3350
|
+
_html(`<h2${_attr_class("_c2")}${_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) => {
|
|
3351
3351
|
value = _new_value;
|
|
3352
3352
|
}, "o0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
|
|
3353
3353
|
_script($scope2_id, "o4");
|
|
@@ -3571,7 +3571,7 @@ var settings_page_default = _template("q", (input) => {
|
|
|
3571
3571
|
const strayAccountsFor = _resume((f) => (usage?.agents || []).filter((u) => !instanceIds.has(u.agent) && familyOf(u.agent, families) === f.id), "q15", $scope0_id);
|
|
3572
3572
|
const otherUsage = (usage?.agents || []).filter((u) => familyOf(u.agent, families) === null);
|
|
3573
3573
|
const titleId = _id();
|
|
3574
|
-
_html(`<div${_attr_class("
|
|
3574
|
+
_html(`<div${_attr_class("_R")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_S")}><div${_attr_class(content$2)}><header${_attr_class("_V")}><div${_attr_class("_X")}><h1${_attr("id", titleId)}${_attr_class("_W")}>Settings</h1><p${_attr_class("_Y")}>`);
|
|
3575
3575
|
_if(() => {
|
|
3576
3576
|
if (!setup) {
|
|
3577
3577
|
const $scope39_id = _scope_id();
|
|
@@ -3590,12 +3590,12 @@ var settings_page_default = _template("q", (input) => {
|
|
|
3590
3590
|
return 2;
|
|
3591
3591
|
}
|
|
3592
3592
|
}, $scope0_id, "g", 1, 1, 1, "</p>");
|
|
3593
|
-
_html(`</div><div${_attr_class("
|
|
3593
|
+
_html(`</div><div${_attr_class("_Z")}><button${_attr_class(iconBtn$3)} title="Re-check this machine" aria-label="Re-check this machine"${_attr("disabled", refreshing)}>`);
|
|
3594
3594
|
_set_serialize_reason(1);
|
|
3595
3595
|
const $childScope = _peek_scope_id();
|
|
3596
3596
|
icon_refresh_default({
|
|
3597
3597
|
size: 14,
|
|
3598
|
-
class: refreshing && "
|
|
3598
|
+
class: refreshing && "_x"
|
|
3599
3599
|
});
|
|
3600
3600
|
_html(`</button>${_el_resume($scope0_id, "i")}</div></header>`);
|
|
3601
3601
|
_if(() => {
|
|
@@ -3618,11 +3618,11 @@ var settings_page_default = _template("q", (input) => {
|
|
|
3618
3618
|
return 0;
|
|
3619
3619
|
}
|
|
3620
3620
|
}, $scope0_id, "k", 1, 1, 1, 0, 1);
|
|
3621
|
-
_html(`<section${_attr_class("
|
|
3621
|
+
_html(`<section${_attr_class("_bu")} aria-labelledby=settings-agents><div${_attr_class("_bv")}><h2 id=settings-agents${_attr_class("_bK")}>Agents</h2><div${_attr_class("_r")}></div><label${_attr_class("_b2")}><span${_attr_class("_b3")}>Default</span><span${_attr_class("_f")}>`);
|
|
3622
3622
|
_attr_select_value($scope0_id, "s", input.preferred, _resume(function(v) {
|
|
3623
3623
|
setPreferred(v);
|
|
3624
3624
|
}, "q0", $scope0_id), () => {
|
|
3625
|
-
_html(`<select${_attr_class(["
|
|
3625
|
+
_html(`<select${_attr_class(["_g", "_b4"])} aria-label="Default agent — starts when a workspace has no session yet" title="Starts when a workspace has no session yet">`);
|
|
3626
3626
|
_for_of(input.agents.filter((a) => a !== "shell"), (id) => {
|
|
3627
3627
|
const $scope41_id = _scope_id();
|
|
3628
3628
|
_html(`<option${_attr_option_value(id)}>${_escape(agentLabel(id))}${_el_resume($scope41_id, "b", $sg__input_agents)}</option>${_el_resume($scope41_id, "a", $sg__input_agents)}`);
|
|
@@ -3634,7 +3634,7 @@ var settings_page_default = _template("q", (input) => {
|
|
|
3634
3634
|
const $childScope2 = _peek_scope_id();
|
|
3635
3635
|
icon_refresh_default({
|
|
3636
3636
|
size: 14,
|
|
3637
|
-
class: usageRefreshing && "
|
|
3637
|
+
class: usageRefreshing && "_x"
|
|
3638
3638
|
});
|
|
3639
3639
|
_html(`</button>${_el_resume($scope0_id, "t")}</div><ul${_attr_class(agentGrid)}>`);
|
|
3640
3640
|
_for_of(families, (a) => {
|
|
@@ -3643,14 +3643,14 @@ var settings_page_default = _template("q", (input) => {
|
|
|
3643
3643
|
const rows = lone ? [] : a.instances;
|
|
3644
3644
|
const loneAccounts = lone && lone.enabled ? accountsFor(lone.id) : [];
|
|
3645
3645
|
const extraAccounts = strayAccountsFor(a);
|
|
3646
|
-
_html(`<li${_attr_class(["
|
|
3646
|
+
_html(`<li${_attr_class(["_bz", "_b1"])}><div${_attr_class("_b5")}>`);
|
|
3647
3647
|
_set_serialize_reason(12);
|
|
3648
3648
|
const $childScope3 = _peek_scope_id();
|
|
3649
3649
|
icon_agent_default({
|
|
3650
3650
|
agent: a.id,
|
|
3651
3651
|
size: 18
|
|
3652
3652
|
});
|
|
3653
|
-
_html(`<div${_attr_class("
|
|
3653
|
+
_html(`<div${_attr_class("_bA")}><span${_attr_class("_bC")}><span${_attr_class("_bB")}>${_escape(a.label)}${_el_resume($scope1_id, "g")}</span>`);
|
|
3654
3654
|
_if(() => {
|
|
3655
3655
|
if (lone && input.preferred === lone.id) {
|
|
3656
3656
|
const $scope42_id = _scope_id();
|
|
@@ -3663,12 +3663,12 @@ var settings_page_default = _template("q", (input) => {
|
|
|
3663
3663
|
_if(() => {
|
|
3664
3664
|
if (active.has(a.id)) {
|
|
3665
3665
|
const $scope8_id = _scope_id();
|
|
3666
|
-
_html(`<span${_attr_class("_bX")}><span${_attr_class("
|
|
3666
|
+
_html(`<span${_attr_class("_bX")}><span${_attr_class("_y")}></span><!>${_escape(active.get(a.id) || "Starting…")}${_el_resume($scope8_id, "c")}</span>`);
|
|
3667
3667
|
_subscribe($active__closures, writeScope($scope8_id, {}));
|
|
3668
3668
|
return 0;
|
|
3669
3669
|
} else if (!a.installed) {
|
|
3670
3670
|
const $scope43_id = _scope_id();
|
|
3671
|
-
_html(`<span${_attr_class("
|
|
3671
|
+
_html(`<span${_attr_class("_bD")}>Not installed</span>`);
|
|
3672
3672
|
writeScope($scope43_id, {});
|
|
3673
3673
|
return 1;
|
|
3674
3674
|
}
|
|
@@ -3707,7 +3707,7 @@ var settings_page_default = _template("q", (input) => {
|
|
|
3707
3707
|
agent: inst.id,
|
|
3708
3708
|
size: 15
|
|
3709
3709
|
});
|
|
3710
|
-
_html(`<span${_attr_class(["_ca", "
|
|
3710
|
+
_html(`<span${_attr_class(["_ca", "_q"])}>${_escape(inst.command)}${_el_resume($scope3_id, "e")}</span>`);
|
|
3711
3711
|
_if(() => {
|
|
3712
3712
|
if (input.preferred === inst.id) {
|
|
3713
3713
|
const $scope44_id = _scope_id();
|
|
@@ -3716,7 +3716,7 @@ var settings_page_default = _template("q", (input) => {
|
|
|
3716
3716
|
return 0;
|
|
3717
3717
|
}
|
|
3718
3718
|
}, $scope3_id, "f", 1, 1, 1, 0, 1);
|
|
3719
|
-
_html(`<span${_attr_class("
|
|
3719
|
+
_html(`<span${_attr_class("_r")}></span><button${_attr_class(["_b8", { ["_b7"]: inst.enabled }])} role=switch aria-checked=${inst.enabled ? "true" : "false"} title=${inst.enabled ? "\"Shown in session pickers — click to hide\"" : "\"Hidden from session pickers — click to show\""}>${inst.enabled ? "on" : "off"}${_el_resume($scope3_id, "i")}</button>${_el_resume($scope3_id, "h")}</div>`);
|
|
3720
3720
|
_for_of(accounts, (u) => {
|
|
3721
3721
|
const $scope45_id = _scope_id();
|
|
3722
3722
|
_set_serialize_reason(6);
|
|
@@ -3778,7 +3778,7 @@ var settings_page_default = _template("q", (input) => {
|
|
|
3778
3778
|
}, "id", $scope0_id, "w", 1, 1, 1, 0, 1);
|
|
3779
3779
|
_for_of(otherUsage, (u) => {
|
|
3780
3780
|
const $scope48_id = _scope_id();
|
|
3781
|
-
_html(`<li${_attr_class(["
|
|
3781
|
+
_html(`<li${_attr_class(["_bz", "_b1"])}>`);
|
|
3782
3782
|
_set_serialize_reason(6);
|
|
3783
3783
|
const $childScope8 = _peek_scope_id();
|
|
3784
3784
|
usage_meters_default({ agent: u });
|
|
@@ -3789,25 +3789,25 @@ var settings_page_default = _template("q", (input) => {
|
|
|
3789
3789
|
_if(() => {
|
|
3790
3790
|
if (!usage && families.length) {
|
|
3791
3791
|
const $scope49_id = _scope_id();
|
|
3792
|
-
_html(`<p${_attr_class("
|
|
3792
|
+
_html(`<p${_attr_class("_bI")}><span${_attr_class("_y")}></span> Loading usage…</p>`);
|
|
3793
3793
|
writeScope($scope49_id, {});
|
|
3794
3794
|
return 0;
|
|
3795
3795
|
} else if (usage?.error) {
|
|
3796
3796
|
const $scope5_id = _scope_id();
|
|
3797
|
-
_html(`<p${_attr_class("
|
|
3797
|
+
_html(`<p${_attr_class("_bI")}>${_escape(usage.error)}${_el_resume($scope5_id, "b")}</p>`);
|
|
3798
3798
|
writeScope($scope5_id, {});
|
|
3799
3799
|
return 1;
|
|
3800
3800
|
}
|
|
3801
3801
|
}, $scope0_id, "y", 1, 1, 1, 0, 1);
|
|
3802
|
-
_html(`</section><section${_attr_class("
|
|
3802
|
+
_html(`</section><section${_attr_class("_bu")} aria-labelledby=settings-github><div${_attr_class("_bv")}><h2 id=settings-github${_attr_class("_bK")}>GitHub</h2></div><ul${_attr_class("_bx")}>`);
|
|
3803
3803
|
_for_of(setup?.github || [], (h) => {
|
|
3804
3804
|
const $scope9_id = _scope_id();
|
|
3805
3805
|
const $for_content3__h_host__closures = /* @__PURE__ */ new Set();
|
|
3806
|
-
_html(`<li${_attr_class("
|
|
3806
|
+
_html(`<li${_attr_class("_bz")}><div${_attr_class("_bA")}><span${_attr_class("_bC")}><span${_attr_class(["_bB", "_q"])}>${_escape(h.host)}${_el_resume($scope9_id, "e")}</span>`);
|
|
3807
3807
|
_if(() => {
|
|
3808
3808
|
if (h.isEnterprise) {
|
|
3809
3809
|
const $scope52_id = _scope_id();
|
|
3810
|
-
_html(`<span${_attr_class("
|
|
3810
|
+
_html(`<span${_attr_class("_bE")}>Enterprise</span>`);
|
|
3811
3811
|
writeScope($scope52_id, {});
|
|
3812
3812
|
return 0;
|
|
3813
3813
|
}
|
|
@@ -3816,22 +3816,22 @@ var settings_page_default = _template("q", (input) => {
|
|
|
3816
3816
|
_if(() => {
|
|
3817
3817
|
if (active.has(h.host) && authCodes.has(h.host)) {
|
|
3818
3818
|
const $scope20_id = _scope_id();
|
|
3819
|
-
_html(`<span${_attr_class("_bX")}><span${_attr_class("
|
|
3819
|
+
_html(`<span${_attr_class("_bX")}><span${_attr_class("_y")}></span> Enter code <strong${_attr_class("_cn")}>${_escape(authCodes.get(h.host))}${_el_resume($scope20_id, "d")}</strong> at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_co")}>${_escape(h.host)}${_el_resume($scope20_id, "f")}/login/device</a>${_el_resume($scope20_id, "e")}</span>`);
|
|
3820
3820
|
_subscribe($authCodes__closures, writeScope($scope20_id, {}));
|
|
3821
3821
|
return 0;
|
|
3822
3822
|
} else if (active.has(h.host)) {
|
|
3823
3823
|
const $scope10_id = _scope_id();
|
|
3824
|
-
_html(`<span${_attr_class("_bX")}><span${_attr_class("
|
|
3824
|
+
_html(`<span${_attr_class("_bX")}><span${_attr_class("_y")}></span><!>${_escape(active.get(h.host) || "Starting…")}${_el_resume($scope10_id, "c")}</span>`);
|
|
3825
3825
|
_subscribe($active__closures, writeScope($scope10_id, { Cch: 1 }));
|
|
3826
3826
|
return 1;
|
|
3827
3827
|
} else if (h.authed) {
|
|
3828
3828
|
const $scope50_id = _scope_id();
|
|
3829
|
-
_html(`<span${_attr_class("
|
|
3829
|
+
_html(`<span${_attr_class("_bD")}>Signed in<!>${h.user ? ` as ${_escape(`${_to_text(h.user)}`)}` : ""}${_el_resume($scope50_id, "b")}</span>`);
|
|
3830
3830
|
writeScope($scope50_id, {});
|
|
3831
3831
|
return 2;
|
|
3832
3832
|
} else {
|
|
3833
3833
|
const $scope51_id = _scope_id();
|
|
3834
|
-
_html(`<span${_attr_class("
|
|
3834
|
+
_html(`<span${_attr_class("_bD")}>${_escape(h.error || "Not signed in")}${_el_resume($scope51_id, "b")}</span>`);
|
|
3835
3835
|
writeScope($scope51_id, {});
|
|
3836
3836
|
return 3;
|
|
3837
3837
|
}
|
|
@@ -3853,9 +3853,9 @@ var settings_page_default = _template("q", (input) => {
|
|
|
3853
3853
|
if (h.isEnterprise) {
|
|
3854
3854
|
const $scope22_id = _scope_id();
|
|
3855
3855
|
_html(`<button${_attr_class([
|
|
3856
|
-
"
|
|
3857
|
-
"
|
|
3858
|
-
{ ["
|
|
3856
|
+
"_bF",
|
|
3857
|
+
"_bH",
|
|
3858
|
+
{ ["_bG"]: confirmingRemove === h.host }
|
|
3859
3859
|
])}${confirmingRemove === h.host ? _attr("title", `Forget ${h.host}? (gh stays signed in)`) : _attr("title", `Forget ${h.host}`)}>${confirmingRemove === h.host ? "Forget?" : "×"}${_el_resume($scope22_id, "b")}</button>${_el_resume($scope22_id, "a")}`);
|
|
3860
3860
|
_script($scope22_id, "q24");
|
|
3861
3861
|
_subscribe($for_content3__h_host__closures, _subscribe($confirmingRemove__closures, writeScope($scope22_id, {})));
|
|
@@ -3879,7 +3879,7 @@ var settings_page_default = _template("q", (input) => {
|
|
|
3879
3879
|
_if(() => {
|
|
3880
3880
|
if (setup && !setup.github.length) {
|
|
3881
3881
|
const $scope53_id = _scope_id();
|
|
3882
|
-
_html(`<p${_attr_class("
|
|
3882
|
+
_html(`<p${_attr_class("_bI")}>Install the GitHub CLI below to sign in.</p>`);
|
|
3883
3883
|
writeScope($scope53_id, {});
|
|
3884
3884
|
return 0;
|
|
3885
3885
|
}
|
|
@@ -3893,11 +3893,11 @@ var settings_page_default = _template("q", (input) => {
|
|
|
3893
3893
|
return 0;
|
|
3894
3894
|
}
|
|
3895
3895
|
}, $scope0_id, "a4", 1, 1, 1, 0, 1);
|
|
3896
|
-
_html(`</section><section${_attr_class("
|
|
3896
|
+
_html(`</section><section${_attr_class("_bu")} aria-labelledby=settings-machine><div${_attr_class("_bv")}><h2 id=settings-machine${_attr_class("_bK")}>Machine</h2>`);
|
|
3897
3897
|
_if(() => {
|
|
3898
3898
|
if (missingCount) {
|
|
3899
3899
|
const $scope37_id = _scope_id();
|
|
3900
|
-
_html(`<span${_attr_class("
|
|
3900
|
+
_html(`<span${_attr_class("_bw")}>${_escape(missingCount)}${_el_resume($scope37_id, "b")} missing</span>`);
|
|
3901
3901
|
writeScope($scope37_id, {});
|
|
3902
3902
|
return 0;
|
|
3903
3903
|
}
|
|
@@ -3905,12 +3905,12 @@ var settings_page_default = _template("q", (input) => {
|
|
|
3905
3905
|
_if(() => {
|
|
3906
3906
|
if (outdatedIds.length) {
|
|
3907
3907
|
const $scope38_id = _scope_id();
|
|
3908
|
-
_html(`<span${_attr_class("
|
|
3908
|
+
_html(`<span${_attr_class("_bw")}>${_escape(outdatedIds.length)}${_el_resume($scope38_id, "b")} outdated</span>`);
|
|
3909
3909
|
writeScope($scope38_id, {});
|
|
3910
3910
|
return 0;
|
|
3911
3911
|
}
|
|
3912
3912
|
}, $scope0_id, "a9", 1, 1, 1, 0, 1);
|
|
3913
|
-
_html(`<div${_attr_class("
|
|
3913
|
+
_html(`<div${_attr_class("_r")}></div>`);
|
|
3914
3914
|
_if(() => {
|
|
3915
3915
|
if (outdatedIds.length > 1) {
|
|
3916
3916
|
const $scope11_id = _scope_id();
|
|
@@ -3933,7 +3933,7 @@ var settings_page_default = _template("q", (input) => {
|
|
|
3933
3933
|
_if(() => {
|
|
3934
3934
|
if (setup && !setup.mise.installed) {
|
|
3935
3935
|
const $scope13_id = _scope_id();
|
|
3936
|
-
_html(`<p${_attr_class("
|
|
3936
|
+
_html(`<p${_attr_class("_bI")}>mise isn't installed — it provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${active.has("mise") ? "Installing…" : "Install mise"}${_el_resume($scope13_id, "c")}</button>${_el_resume($scope13_id, "b")}</p>`);
|
|
3937
3937
|
_script($scope13_id, "q28");
|
|
3938
3938
|
writeScope($scope13_id, {});
|
|
3939
3939
|
return 0;
|
|
@@ -3948,14 +3948,14 @@ var settings_page_default = _template("q", (input) => {
|
|
|
3948
3948
|
const $for_content4__t_latest__closures = /* @__PURE__ */ new Set();
|
|
3949
3949
|
const $for_content4__t_id__closures = /* @__PURE__ */ new Set();
|
|
3950
3950
|
_html(`<li${_attr_class([
|
|
3951
|
-
"
|
|
3951
|
+
"_bz",
|
|
3952
3952
|
"_cd",
|
|
3953
3953
|
{ ["_ce"]: !t.installed }
|
|
3954
|
-
])}><span${_attr_class(["_cf", "
|
|
3954
|
+
])}><span${_attr_class(["_cf", "_q"])}>${_escape(t.label)}${_el_resume($scope14_id, "c")}</span>`);
|
|
3955
3955
|
_if(() => {
|
|
3956
3956
|
if (active.has(t.id)) {
|
|
3957
3957
|
const $scope15_id = _scope_id();
|
|
3958
|
-
_html(`<span${_attr_class("_bX")}><span${_attr_class("
|
|
3958
|
+
_html(`<span${_attr_class("_bX")}><span${_attr_class("_y")}></span><!>${_escape(active.get(t.id) || "Starting…")}${_el_resume($scope15_id, "c")}</span>`);
|
|
3959
3959
|
_subscribe($active__closures, writeScope($scope15_id, { Cch: 2 }));
|
|
3960
3960
|
return 0;
|
|
3961
3961
|
} else if (t.installed) {
|
|
@@ -3963,13 +3963,13 @@ var settings_page_default = _template("q", (input) => {
|
|
|
3963
3963
|
_if(() => {
|
|
3964
3964
|
if (t.version) {
|
|
3965
3965
|
const $scope27_id = _scope_id();
|
|
3966
|
-
_html(`<button${_attr_class(["_ch", "
|
|
3966
|
+
_html(`<button${_attr_class(["_ch", "_q"])}${_attr("title", `${t.path || t.label} — pin a version`)}>v<!>${_escape(t.version)}${_el_resume($scope27_id, "b")}</button>${_el_resume($scope27_id, "a")}`);
|
|
3967
3967
|
_script($scope27_id, "q29");
|
|
3968
3968
|
_subscribe($for_content4__t_path__closures, _subscribe($for_content4__t_version__closures, _subscribe($for_content4__t_label__closures, writeScope($scope27_id, { Cu: 1 }))));
|
|
3969
3969
|
return 0;
|
|
3970
3970
|
} else {
|
|
3971
3971
|
const $scope54_id = _scope_id();
|
|
3972
|
-
_html(`<span${_attr_class(["_cg", "
|
|
3972
|
+
_html(`<span${_attr_class(["_cg", "_q"])}${_attr("title", t.path)}>${_escape(t.path)}${_el_resume($scope54_id, "b")}</span>${_el_resume($scope54_id, "a")}`);
|
|
3973
3973
|
_subscribe($for_content4__t_path__closures, writeScope($scope54_id, { Cx: 1 }));
|
|
3974
3974
|
return 1;
|
|
3975
3975
|
}
|
|
@@ -3997,14 +3997,14 @@ var settings_page_default = _template("q", (input) => {
|
|
|
3997
3997
|
return 3;
|
|
3998
3998
|
}
|
|
3999
3999
|
}, $scope14_id, "d");
|
|
4000
|
-
_html(`<span${_attr_class("
|
|
4000
|
+
_html(`<span${_attr_class("_r")}></span>`);
|
|
4001
4001
|
_if(() => {
|
|
4002
4002
|
if (!active.has(t.id)) {
|
|
4003
4003
|
const $scope23_id = _scope_id();
|
|
4004
4004
|
_if(() => {
|
|
4005
4005
|
if (t.required) {
|
|
4006
4006
|
const $scope57_id = _scope_id();
|
|
4007
|
-
_html(`<span${_attr_class("
|
|
4007
|
+
_html(`<span${_attr_class("_bE")}>required</span>`);
|
|
4008
4008
|
writeScope($scope57_id, {});
|
|
4009
4009
|
return 0;
|
|
4010
4010
|
}
|
|
@@ -4019,10 +4019,10 @@ var settings_page_default = _template("q", (input) => {
|
|
|
4019
4019
|
} else if (t.installed && t.version && !t.required) {
|
|
4020
4020
|
const $scope24_id = _scope_id();
|
|
4021
4021
|
_html(`<button${_attr_class([
|
|
4022
|
-
"
|
|
4023
|
-
"
|
|
4022
|
+
"_bF",
|
|
4023
|
+
"_bH",
|
|
4024
4024
|
"_cj",
|
|
4025
|
-
{ ["
|
|
4025
|
+
{ ["_bG"]: confirmingRemove === t.id }
|
|
4026
4026
|
])}${confirmingRemove === t.id ? _attr("title", `Really remove ${t.label}?`) : _attr("title", `Remove ${t.label}`)}>${confirmingRemove === t.id ? "Remove?" : "×"}${_el_resume($scope24_id, "b")}</button>${_el_resume($scope24_id, "a")}`);
|
|
4027
4027
|
_script($scope24_id, "q32");
|
|
4028
4028
|
_subscribe($for_content4__t_id__closures, _subscribe($for_content4__t_label__closures, _subscribe($confirmingRemove__closures, writeScope($scope24_id, { Cck: 1 }))));
|
|
@@ -4061,16 +4061,16 @@ var settings_page_default = _template("q", (input) => {
|
|
|
4061
4061
|
_html(`<ul${_attr_class([toolGrid, "_cl"])}>`);
|
|
4062
4062
|
_for_of(hits, (h) => {
|
|
4063
4063
|
const $scope18_id = _scope_id();
|
|
4064
|
-
_html(`<li${_attr_class(["
|
|
4064
|
+
_html(`<li${_attr_class(["_bz", "_cd"])}><div${_attr_class("_bA")}><span${_attr_class(["_cf", "_q"])}>${_escape(h.name)}${_el_resume($scope18_id, "d")}</span>`);
|
|
4065
4065
|
_if(() => {
|
|
4066
4066
|
if (active.has(h.name)) {
|
|
4067
4067
|
const $scope19_id = _scope_id();
|
|
4068
|
-
_html(`<span${_attr_class("_bX")}><span${_attr_class("
|
|
4068
|
+
_html(`<span${_attr_class("_bX")}><span${_attr_class("_y")}></span><!>${_escape(active.get(h.name) || "Starting…")}${_el_resume($scope19_id, "c")}</span>`);
|
|
4069
4069
|
_subscribe($active__closures, writeScope($scope19_id, { Cch: 4 }));
|
|
4070
4070
|
return 0;
|
|
4071
4071
|
} else if (h.description) {
|
|
4072
4072
|
const $scope58_id = _scope_id();
|
|
4073
|
-
_html(`<span${_attr_class("
|
|
4073
|
+
_html(`<span${_attr_class("_bD")}${_attr("title", h.description)}>${_escape(h.description)}${_el_resume($scope58_id, "b")}</span>${_el_resume($scope58_id, "a")}`);
|
|
4074
4074
|
writeScope($scope58_id, {});
|
|
4075
4075
|
return 1;
|
|
4076
4076
|
}
|
|
@@ -4082,7 +4082,7 @@ var settings_page_default = _template("q", (input) => {
|
|
|
4082
4082
|
_if(() => {
|
|
4083
4083
|
if (h.installed) {
|
|
4084
4084
|
const $scope59_id = _scope_id();
|
|
4085
|
-
_html(`<span${_attr_class("
|
|
4085
|
+
_html(`<span${_attr_class("_bE")}>installed</span>`);
|
|
4086
4086
|
writeScope($scope59_id, {});
|
|
4087
4087
|
return 0;
|
|
4088
4088
|
} else {
|
|
@@ -4109,7 +4109,7 @@ var settings_page_default = _template("q", (input) => {
|
|
|
4109
4109
|
return 0;
|
|
4110
4110
|
} else if (hits && !searching) {
|
|
4111
4111
|
const $scope31_id = _scope_id();
|
|
4112
|
-
_html(`<p${_attr_class("
|
|
4112
|
+
_html(`<p${_attr_class("_bI")}>No tools match “<!>${_escape(query)}${_el_resume($scope31_id, "b")}”.</p>`);
|
|
4113
4113
|
_subscribe($query__closures, writeScope($scope31_id, {}));
|
|
4114
4114
|
return 1;
|
|
4115
4115
|
}
|
|
@@ -4208,8 +4208,8 @@ var settings_page_default = _template("q", (input) => {
|
|
|
4208
4208
|
});
|
|
4209
4209
|
//#endregion
|
|
4210
4210
|
//#region src/tags/new-workspace.css.ts
|
|
4211
|
-
var content$1 = "_0
|
|
4212
|
-
var iconBtn$2 = "_3
|
|
4211
|
+
var content$1 = "_0 _T";
|
|
4212
|
+
var iconBtn$2 = "_3 _D";
|
|
4213
4213
|
//#endregion
|
|
4214
4214
|
//#region src/tags/icons/icon-plus.marko
|
|
4215
4215
|
var icon_plus_default = _template("M", (input) => {
|
|
@@ -4307,7 +4307,7 @@ var repo_picker_default = _template("p", (input) => {
|
|
|
4307
4307
|
_if(() => {
|
|
4308
4308
|
if (!branches) {
|
|
4309
4309
|
const $scope9_id = _scope_id();
|
|
4310
|
-
_html(`<p${_attr_class("_cA")}><span${_attr_class("
|
|
4310
|
+
_html(`<p${_attr_class("_cA")}><span${_attr_class("_y")}></span> Loading branches…</p>`);
|
|
4311
4311
|
writeScope($scope9_id, {});
|
|
4312
4312
|
return 0;
|
|
4313
4313
|
} else {
|
|
@@ -4327,7 +4327,7 @@ var repo_picker_default = _template("p", (input) => {
|
|
|
4327
4327
|
_html(`<ul${_attr_class("_cx")}>`);
|
|
4328
4328
|
_for_of(shown, (branch) => {
|
|
4329
4329
|
const $scope7_id = _scope_id();
|
|
4330
|
-
_html(`<li><button${_attr_class(["_ct", "_cD"])}><span${_attr_class(["_cz", "
|
|
4330
|
+
_html(`<li><button${_attr_class(["_ct", "_cD"])}><span${_attr_class(["_cz", "_q"])}>${_escape(branch)}${_el_resume($scope7_id, "c")}</span></button>${_el_resume($scope7_id, "a")}</li>`);
|
|
4331
4331
|
_script($scope7_id, "p7");
|
|
4332
4332
|
writeScope($scope7_id, { e: branch });
|
|
4333
4333
|
}, (b) => b, $scope5_id, "c", 1, 1, 1, 0, 1);
|
|
@@ -4473,7 +4473,7 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4473
4473
|
}
|
|
4474
4474
|
}, "m4", $scope0_id);
|
|
4475
4475
|
const titleId = _id();
|
|
4476
|
-
_html(`<div${_attr_class("
|
|
4476
|
+
_html(`<div${_attr_class("_R")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_S")}><div${_attr_class(content$1)}><header${_attr_class("_V")}><div${_attr_class("_X")}><h1${_attr("id", titleId)}${_attr_class("_W")}>New workspace</h1><p${_attr_class("_Y")}>Name the space and pick repos — or restore an archived one below.</p></div></header>`);
|
|
4477
4477
|
_if(() => {
|
|
4478
4478
|
if (error) {
|
|
4479
4479
|
const $scope4_id = _scope_id();
|
|
@@ -4501,7 +4501,7 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4501
4501
|
const $childScope = _peek_scope_id();
|
|
4502
4502
|
icon_refresh_default({
|
|
4503
4503
|
size: 14,
|
|
4504
|
-
class: catalogRefreshing && "
|
|
4504
|
+
class: catalogRefreshing && "_x"
|
|
4505
4505
|
});
|
|
4506
4506
|
_html(`</button>${_el_resume($scope0_id, "o")}</div><ul${_attr_class("_7")}>`);
|
|
4507
4507
|
_for_of(selected, (repo) => {
|
|
@@ -4510,7 +4510,7 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4510
4510
|
_if(() => {
|
|
4511
4511
|
if (repo.baseBranch) {
|
|
4512
4512
|
const $scope8_id = _scope_id();
|
|
4513
|
-
_html(`<span${_attr_class(["__", "
|
|
4513
|
+
_html(`<span${_attr_class(["__", "_q"])} title="Base branch">⎇ <!>${_escape(repo.baseBranch)}${_el_resume($scope8_id, "b")}</span>`);
|
|
4514
4514
|
writeScope($scope8_id, {});
|
|
4515
4515
|
return 0;
|
|
4516
4516
|
}
|
|
@@ -4557,7 +4557,7 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4557
4557
|
_if(() => {
|
|
4558
4558
|
if (i === steps$1.length - 1) {
|
|
4559
4559
|
const $scope10_id = _scope_id();
|
|
4560
|
-
_html(`<span${_attr_class("
|
|
4560
|
+
_html(`<span${_attr_class("_y")}></span>`);
|
|
4561
4561
|
writeScope($scope10_id, {});
|
|
4562
4562
|
return 0;
|
|
4563
4563
|
} else {
|
|
@@ -4574,9 +4574,9 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4574
4574
|
return 0;
|
|
4575
4575
|
}
|
|
4576
4576
|
}, $scope0_id, "v", 1, 1, 1, 0, 1);
|
|
4577
|
-
_html(`<div${_attr_class("_1")}><button type=button${_attr_class(["
|
|
4578
|
-
"
|
|
4579
|
-
"
|
|
4577
|
+
_html(`<div${_attr_class("_1")}><button type=button${_attr_class(["_h", "_bs"])}${_attr("disabled", busy || !!restoring)}>Cancel</button>${_el_resume($scope0_id, "x")}<button type=button${_attr_class([
|
|
4578
|
+
"_h",
|
|
4579
|
+
"_i",
|
|
4580
4580
|
"_2",
|
|
4581
4581
|
"_bs"
|
|
4582
4582
|
])}${_attr("disabled", busy || !!restoring || !name.trim())}>${busy ? "Creating…" : "Create workspace"}${_el_resume($scope0_id, "z")}</button>${_el_resume($scope0_id, "y")}</div>`);
|
|
@@ -4586,11 +4586,11 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4586
4586
|
_html(`<section${_attr_class("_bf")}><div${_attr_class("_6")}><h2${_attr_class("_bq")}>Archived</h2><span${_attr_class("_bg")}>${_escape(archived$1.length)}${_el_resume($scope2_id, "e", $sg__input_workspaces)}</span></div><p${_attr_class("_bh")}>Restore a parked space instead of creating a new one.</p><ul${_attr_class("_bi")}>`);
|
|
4587
4587
|
_for_of(archived$1, (ws) => {
|
|
4588
4588
|
const $scope3_id = _scope_id();
|
|
4589
|
-
_html(`<li${_attr_class("_bj")}><div${_attr_class("_bk")}><span${_attr_class("_bl")}>${_escape(ws.name)}${_el_resume($scope3_id, "d", $sg__input_workspaces)}</span><span${_attr_class(["_bm", "
|
|
4589
|
+
_html(`<li${_attr_class("_bj")}><div${_attr_class("_bk")}><span${_attr_class("_bl")}>${_escape(ws.name)}${_el_resume($scope3_id, "d", $sg__input_workspaces)}</span><span${_attr_class(["_bm", "_q"])}${_attr("title", ws.display_path || ws.path)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope3_id, "f", $sg__input_workspaces)}</span>${_el_resume($scope3_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(["_h", "_bn"])}${_attr("disabled", busy || !!restoring)}>`);
|
|
4590
4590
|
_if(() => {
|
|
4591
4591
|
if (restoring === ws.id) {
|
|
4592
4592
|
const $scope12_id = _scope_id();
|
|
4593
|
-
_html(`<span${_attr_class("
|
|
4593
|
+
_html(`<span${_attr_class("_y")}></span> Restoring…`);
|
|
4594
4594
|
writeScope($scope12_id, {});
|
|
4595
4595
|
return 0;
|
|
4596
4596
|
} else {
|
|
@@ -4725,8 +4725,8 @@ function activeAgent(session) {
|
|
|
4725
4725
|
const command = session.state?.command?.trim();
|
|
4726
4726
|
return command && agentFromCommand(command) || session.agent;
|
|
4727
4727
|
}
|
|
4728
|
-
var iconBtn$1 = "
|
|
4729
|
-
var navToggle = "
|
|
4728
|
+
var iconBtn$1 = "_dh _D";
|
|
4729
|
+
var navToggle = "_dm _D";
|
|
4730
4730
|
_template("C", (input) => {
|
|
4731
4731
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
4732
4732
|
const $scope0_id = _scope_id();
|
|
@@ -4759,7 +4759,7 @@ var icon_settings_default = _template("P", (input) => {
|
|
|
4759
4759
|
});
|
|
4760
4760
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
4761
4761
|
});
|
|
4762
|
-
var railBtn = "
|
|
4762
|
+
var railBtn = "_fo _D";
|
|
4763
4763
|
//#endregion
|
|
4764
4764
|
//#region src/tags/icons/icon-diff.marko
|
|
4765
4765
|
var icon_diff_default = _template("F", (input) => {
|
|
@@ -4811,8 +4811,8 @@ var icon_edit_default = _template("H", (input) => {
|
|
|
4811
4811
|
});
|
|
4812
4812
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
4813
4813
|
});
|
|
4814
|
-
var prChip = "_ge
|
|
4815
|
-
var portChip = "_gf
|
|
4814
|
+
var prChip = "_ge _l _gd";
|
|
4815
|
+
var portChip = "_gf _l _gd";
|
|
4816
4816
|
var prState = {
|
|
4817
4817
|
open: "_gk",
|
|
4818
4818
|
merged: "_gl",
|
|
@@ -4887,11 +4887,11 @@ var side_nav_chips_default = _template("r", (input) => {
|
|
|
4887
4887
|
const $scope3_id = _scope_id();
|
|
4888
4888
|
const open = isOpen(pr);
|
|
4889
4889
|
_html(`<span${_attr_class([
|
|
4890
|
-
"
|
|
4890
|
+
"_l",
|
|
4891
4891
|
prChip,
|
|
4892
4892
|
{
|
|
4893
|
-
["
|
|
4894
|
-
["
|
|
4893
|
+
["_n"]: open && !pr.isDraft,
|
|
4894
|
+
["_o"]: open && pr.isDraft,
|
|
4895
4895
|
[prState.merged]: pr.state === "MERGED",
|
|
4896
4896
|
[prState.closed]: pr.state === "CLOSED"
|
|
4897
4897
|
}
|
|
@@ -4934,7 +4934,7 @@ var side_nav_chips_default = _template("r", (input) => {
|
|
|
4934
4934
|
}, "full_name", $scope1_id, "b", $sg__input_status_repos, $sg__input_status_repos, $sg__input_status_repos__OR__input_status_ports);
|
|
4935
4935
|
_for_of(ports, (p) => {
|
|
4936
4936
|
const $scope5_id = _scope_id();
|
|
4937
|
-
_html(`<span${_attr_class(["
|
|
4937
|
+
_html(`<span${_attr_class(["_l", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_gg", "_gn"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${p.port}`)}>:${_sep($sg__input_status_ports)}${_escape(p.port)}${_el_resume($scope5_id, "c", $sg__input_status_ports)}</button>${_el_resume($scope5_id, "b")}<button type=button${_attr_class([
|
|
4938
4938
|
"_gg",
|
|
4939
4939
|
"_gh",
|
|
4940
4940
|
"_gi",
|
|
@@ -5020,10 +5020,10 @@ var side_nav_item_default = _template("s", (input) => {
|
|
|
5020
5020
|
_if(() => {
|
|
5021
5021
|
if (input.rail) {
|
|
5022
5022
|
const $scope2_id = _scope_id();
|
|
5023
|
-
_html(`<button${_attr_class([railBtn, { ["
|
|
5024
|
-
"
|
|
5023
|
+
_html(`<button${_attr_class([railBtn, { ["_fl"]: input.current }])}${_attr("title", ws$1.name)}>${_escape((input.index ?? 0) + 1)}${_el_resume($scope2_id, "b", _serialize_guard($scope0_reason, 17))}<span${_attr_class([
|
|
5024
|
+
"_s",
|
|
5025
5025
|
phase[dot],
|
|
5026
|
-
"
|
|
5026
|
+
"_fp"
|
|
5027
5027
|
])}></span>${_el_resume($scope2_id, "c", $sg__input_workspaceId__OR__input_status)}</button>${_el_resume($scope2_id, "a")}`);
|
|
5028
5028
|
_script($scope2_id, "s3");
|
|
5029
5029
|
_subscribe($si__input_workspaces__OR__input_workspaceId && $ws_name__closures, _subscribe($si__input_index && $input_index__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }))));
|
|
@@ -5032,14 +5032,14 @@ var side_nav_item_default = _template("s", (input) => {
|
|
|
5032
5032
|
const $scope3_id = _scope_id();
|
|
5033
5033
|
const sessions$1 = input.sessions || [];
|
|
5034
5034
|
const phaseLabel = dot === "working" ? "Working" : dot === "waiting" ? "Needs you" : dot === "idle" ? "Idle" : "Off";
|
|
5035
|
-
_html(`<section${_attr_class(["
|
|
5036
|
-
["
|
|
5037
|
-
["
|
|
5038
|
-
["
|
|
5039
|
-
}])}><div${_attr_class("
|
|
5040
|
-
"
|
|
5035
|
+
_html(`<section${_attr_class(["_fr", {
|
|
5036
|
+
["_fl"]: input.current,
|
|
5037
|
+
["_fs"]: input.railPop,
|
|
5038
|
+
["_fq"]: input.page
|
|
5039
|
+
}])}><div${_attr_class("_ft")}><button${_attr_class("_fu")}><span${_attr_class([
|
|
5040
|
+
"_s",
|
|
5041
5041
|
phase[dot],
|
|
5042
|
-
"
|
|
5042
|
+
"_fE"
|
|
5043
5043
|
])}></span>${_el_resume($scope3_id, "d", $sg__input_workspaceId__OR__input_status)}`);
|
|
5044
5044
|
_if(() => {
|
|
5045
5045
|
if (sessions$1.length === 1) {
|
|
@@ -5052,7 +5052,7 @@ var side_nav_item_default = _template("s", (input) => {
|
|
|
5052
5052
|
icon_agent_default({
|
|
5053
5053
|
agent: activeAgent(sessions$1[0]),
|
|
5054
5054
|
size: 12,
|
|
5055
|
-
class: "
|
|
5055
|
+
class: "_fz"
|
|
5056
5056
|
});
|
|
5057
5057
|
$si__input_sessions && writeScope($scope12_id, {
|
|
5058
5058
|
_: _scope_with_id($scope3_id),
|
|
@@ -5062,11 +5062,11 @@ var side_nav_item_default = _template("s", (input) => {
|
|
|
5062
5062
|
}
|
|
5063
5063
|
}, $scope3_id, "e", $sg__input_sessions, $sg__input_sessions, $sg__input_workspaceId__OR__input_status__OR__input_sessions__OR__input_page);
|
|
5064
5064
|
const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length === 1 ? sessions$1[0].title || "" : `${sessions$1.length} sessions`;
|
|
5065
|
-
_html(`<span${_attr_class("
|
|
5065
|
+
_html(`<span${_attr_class("_fA")}><span${_attr_class("_fB")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "h", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
|
|
5066
5066
|
_if(() => {
|
|
5067
5067
|
if (input.page && metaText) {
|
|
5068
5068
|
const $scope13_id = _scope_id();
|
|
5069
|
-
_html(`<span${_attr_class("
|
|
5069
|
+
_html(`<span${_attr_class("_fC")}>${_escape(metaText)}${_el_resume($scope13_id, "b", _serialize_guard($scope0_reason, 5))}</span>`);
|
|
5070
5070
|
$si__input_workspaceId__OR__input_status__OR__input_sessions__OR__input_page && writeScope($scope13_id, { _: _serialize_if($scope0_reason, 5) && _scope_with_id($scope3_id) });
|
|
5071
5071
|
return 0;
|
|
5072
5072
|
}
|
|
@@ -5075,7 +5075,7 @@ var side_nav_item_default = _template("s", (input) => {
|
|
|
5075
5075
|
_if(() => {
|
|
5076
5076
|
if (input.page) {
|
|
5077
5077
|
const $scope4_id = _scope_id();
|
|
5078
|
-
_html(`<span${_attr_class("
|
|
5078
|
+
_html(`<span${_attr_class("_fD")}>${input.current ? "Open" : ""}${_el_resume($scope4_id, "b", _serialize_guard($scope0_reason, 16))}</span>`);
|
|
5079
5079
|
$si__input_workspaces__OR__input_workspaceId__OR__input_rail__OR__input_current__OR__input_page && _subscribe($si__input_current && $input_current__closures, writeScope($scope4_id, {
|
|
5080
5080
|
_: _scope_with_id($scope3_id),
|
|
5081
5081
|
Cab: $si__input_current && 2
|
|
@@ -5087,21 +5087,21 @@ var side_nav_item_default = _template("s", (input) => {
|
|
|
5087
5087
|
_if(() => {
|
|
5088
5088
|
if (!input.page) {
|
|
5089
5089
|
const $scope5_id = _scope_id();
|
|
5090
|
-
_html(`<div${_attr_class("
|
|
5090
|
+
_html(`<div${_attr_class("_fv")}>`);
|
|
5091
5091
|
_if(() => {
|
|
5092
5092
|
if (input.onNewSession) {
|
|
5093
5093
|
const $scope6_id = _scope_id();
|
|
5094
5094
|
const newPopId = _id();
|
|
5095
5095
|
let pickerReady = false;
|
|
5096
|
-
_html(`<button${_attr_class("
|
|
5096
|
+
_html(`<button${_attr_class("_fx")} title="New session"${_attr("popovertarget", newPopId)}>`);
|
|
5097
5097
|
icon_agent_default({
|
|
5098
5098
|
agent: "shell",
|
|
5099
5099
|
size: 12
|
|
5100
5100
|
});
|
|
5101
|
-
_html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class("
|
|
5101
|
+
_html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class("_e7")}>`);
|
|
5102
5102
|
_for_of([], (agent) => {
|
|
5103
5103
|
const $scope7_id = _scope_id();
|
|
5104
|
-
_html(`<button${_attr_class("
|
|
5104
|
+
_html(`<button${_attr_class("_e8")}>`);
|
|
5105
5105
|
_set_serialize_reason(12);
|
|
5106
5106
|
const $childScope2 = _peek_scope_id();
|
|
5107
5107
|
icon_agent_default({
|
|
@@ -5126,7 +5126,7 @@ var side_nav_item_default = _template("s", (input) => {
|
|
|
5126
5126
|
_if(() => {
|
|
5127
5127
|
if (input.onReview) {
|
|
5128
5128
|
const $scope8_id = _scope_id();
|
|
5129
|
-
_html(`<button${_attr_class("
|
|
5129
|
+
_html(`<button${_attr_class("_fx")} title="Review changes">`);
|
|
5130
5130
|
icon_diff_default({ size: 12 });
|
|
5131
5131
|
_html(`</button>${_el_resume($scope8_id, "a")}`);
|
|
5132
5132
|
_script($scope8_id, "s6");
|
|
@@ -5134,7 +5134,7 @@ var side_nav_item_default = _template("s", (input) => {
|
|
|
5134
5134
|
return 0;
|
|
5135
5135
|
}
|
|
5136
5136
|
}, $scope5_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
|
|
5137
|
-
_html(`<button${_attr_class(["
|
|
5137
|
+
_html(`<button${_attr_class(["_fx", { ["_fm"]: input.managing }])} title="Manage workspace" aria-pressed=${input.managing ? "true" : "false"}>`);
|
|
5138
5138
|
icon_manage_default({ size: 12 });
|
|
5139
5139
|
_html(`</button>${_el_resume($scope5_id, "d")}</div>`);
|
|
5140
5140
|
_script($scope5_id, "s7");
|
|
@@ -5142,17 +5142,17 @@ var side_nav_item_default = _template("s", (input) => {
|
|
|
5142
5142
|
return 0;
|
|
5143
5143
|
}
|
|
5144
5144
|
}, $scope3_id, "k", $sg__input_page, $sg__input_page, $sg__input_workspaceId__OR__input_status__OR__input_sessions__OR__input_page, 0, 1);
|
|
5145
|
-
_html(`</div><div${_attr_class("
|
|
5145
|
+
_html(`</div><div${_attr_class("_fJ")}>`);
|
|
5146
5146
|
_for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
|
|
5147
5147
|
const $scope9_id = _scope_id();
|
|
5148
|
-
_html(`<div${_attr_class(["
|
|
5148
|
+
_html(`<div${_attr_class(["_fw", { ["_fl"]: s.id === input.currentTab }])}>`);
|
|
5149
5149
|
_if(() => {
|
|
5150
5150
|
if (renamingId === s.id) {
|
|
5151
5151
|
const $scope11_id = _scope_id();
|
|
5152
5152
|
_html(`<span${_attr_class([
|
|
5153
|
-
"
|
|
5153
|
+
"_s",
|
|
5154
5154
|
phase[sessionPhase(s.state)],
|
|
5155
|
-
"
|
|
5155
|
+
"_fH"
|
|
5156
5156
|
])}></span>${_el_resume($scope11_id, "a", $sg__input_sessions)}`);
|
|
5157
5157
|
_set_serialize_reason({
|
|
5158
5158
|
1: $sg__input_sessions,
|
|
@@ -5162,17 +5162,17 @@ var side_nav_item_default = _template("s", (input) => {
|
|
|
5162
5162
|
icon_agent_default({
|
|
5163
5163
|
agent: activeAgent(s),
|
|
5164
5164
|
size: 13,
|
|
5165
|
-
class: "
|
|
5165
|
+
class: "_fL"
|
|
5166
5166
|
});
|
|
5167
5167
|
_html(`<input${_attr_input_value($scope11_id, "c", renameValue, _resume((_new_renameValue) => {
|
|
5168
5168
|
renameValue = _new_renameValue;
|
|
5169
|
-
}, "s0", $scope11_id))}${_attr_class("
|
|
5169
|
+
}, "s0", $scope11_id))}${_attr_class("_fI")} aria-label="Session name">${_el_resume($scope11_id, "c")}`);
|
|
5170
5170
|
_script($scope11_id, "s8");
|
|
5171
5171
|
_subscribe($renameValue__closures, writeScope($scope11_id, { b: $si__input_sessions && _existing_scope($childScope3) }));
|
|
5172
5172
|
return 0;
|
|
5173
5173
|
} else {
|
|
5174
5174
|
const $scope10_id = _scope_id();
|
|
5175
|
-
_html(`<button${_attr_class("
|
|
5175
|
+
_html(`<button${_attr_class("_fK")}><span${_attr_class(["_s", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope10_id, "b", $sg__input_sessions)}`);
|
|
5176
5176
|
_set_serialize_reason({
|
|
5177
5177
|
1: $sg__input_sessions,
|
|
5178
5178
|
2: $sg__input_sessions
|
|
@@ -5181,11 +5181,11 @@ var side_nav_item_default = _template("s", (input) => {
|
|
|
5181
5181
|
icon_agent_default({
|
|
5182
5182
|
agent: activeAgent(s),
|
|
5183
5183
|
size: 13,
|
|
5184
|
-
class: "
|
|
5184
|
+
class: "_fL"
|
|
5185
5185
|
});
|
|
5186
|
-
_html(`<span${_attr_class("
|
|
5186
|
+
_html(`<span${_attr_class("_fF")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope10_id, "e", $sg__input_sessions)}</span></button>${_el_resume($scope10_id, "a")}<div${_attr_class("_fG")}><button${_attr_class("_fx")} title="Rename session">`);
|
|
5187
5187
|
icon_edit_default({ size: 12 });
|
|
5188
|
-
_html(`</button>${_el_resume($scope10_id, "g")}<button${_attr_class(["
|
|
5188
|
+
_html(`</button>${_el_resume($scope10_id, "g")}<button${_attr_class(["_fy", { ["_fn"]: armedKill === s.id }])} title=${armedKill === s.id ? "\"Really kill this session?\"" : "\"Kill session\""}>×</button>${_el_resume($scope10_id, "i")}</div>`);
|
|
5189
5189
|
_script($scope10_id, "s9");
|
|
5190
5190
|
_subscribe($armedKill__closures, writeScope($scope10_id, { c: $si__input_sessions && _existing_scope($childScope4) }));
|
|
5191
5191
|
return 1;
|
|
@@ -5366,25 +5366,25 @@ var side_nav_default = _template("t", (input) => {
|
|
|
5366
5366
|
const wsSelected = view !== "settings" && view !== "new";
|
|
5367
5367
|
const otherIds = itemIds.filter((id) => id !== ws.id);
|
|
5368
5368
|
const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
|
|
5369
|
-
_html(`<aside${_attr_class(["
|
|
5370
|
-
["
|
|
5371
|
-
["
|
|
5369
|
+
_html(`<aside${_attr_class(["_dl", {
|
|
5370
|
+
["_dj"]: !navOpen,
|
|
5371
|
+
["_dk"]: isPage
|
|
5372
5372
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
5373
5373
|
_if(() => {
|
|
5374
5374
|
if (isPage) {
|
|
5375
5375
|
const $scope1_id = _scope_id();
|
|
5376
|
-
_html(`<header${_attr_class("
|
|
5376
|
+
_html(`<header${_attr_class("_do")}><h1${_attr_class("_dp")}>Workspaces</h1><div${_attr_class("_dq")}>`);
|
|
5377
5377
|
_if(() => {}, $scope1_id, "d", 1, 1, 1, 0, 1);
|
|
5378
5378
|
_html(`<button${_attr_class([
|
|
5379
5379
|
iconBtn$1,
|
|
5380
|
-
"
|
|
5381
|
-
{ ["
|
|
5380
|
+
"_dr",
|
|
5381
|
+
{ ["_dg"]: view === "settings" }
|
|
5382
5382
|
])} title=Settings aria-pressed=${view === "settings" ? "true" : "false"}>`);
|
|
5383
5383
|
icon_settings_default({ size: 16 });
|
|
5384
5384
|
_if(() => {
|
|
5385
5385
|
if (input.setupReady === false) {
|
|
5386
5386
|
const $scope10_id = _scope_id();
|
|
5387
|
-
_html(`<span${_attr_class(["
|
|
5387
|
+
_html(`<span${_attr_class(["_s", "_di"])} title="Machine setup incomplete"></span>`);
|
|
5388
5388
|
$si__input_setupReady && writeScope($scope10_id, {});
|
|
5389
5389
|
return 0;
|
|
5390
5390
|
}
|
|
@@ -5395,13 +5395,13 @@ var side_nav_default = _template("t", (input) => {
|
|
|
5395
5395
|
return 0;
|
|
5396
5396
|
}
|
|
5397
5397
|
}, $scope0_id, "b", 1, 1, 1, 0, 1);
|
|
5398
|
-
_html(`<div${_attr_class("
|
|
5398
|
+
_html(`<div${_attr_class("_du")}>`);
|
|
5399
5399
|
_for_of(listIds, (wsId) => {
|
|
5400
5400
|
const $scope2_id = _scope_id();
|
|
5401
5401
|
_if(() => {
|
|
5402
5402
|
if (isPage && wsId === ws.id) {
|
|
5403
5403
|
const $scope11_id = _scope_id();
|
|
5404
|
-
_html(`<h2${_attr_class("
|
|
5404
|
+
_html(`<h2${_attr_class("_ds")}>Current</h2>`);
|
|
5405
5405
|
writeScope($scope11_id, {});
|
|
5406
5406
|
return 0;
|
|
5407
5407
|
}
|
|
@@ -5409,7 +5409,7 @@ var side_nav_default = _template("t", (input) => {
|
|
|
5409
5409
|
_if(() => {
|
|
5410
5410
|
if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
|
|
5411
5411
|
const $scope12_id = _scope_id();
|
|
5412
|
-
_html(`<h2${_attr_class("
|
|
5412
|
+
_html(`<h2${_attr_class("_ds")}>Other spaces</h2>`);
|
|
5413
5413
|
writeScope($scope12_id, {});
|
|
5414
5414
|
return 0;
|
|
5415
5415
|
}
|
|
@@ -5507,7 +5507,7 @@ var side_nav_default = _template("t", (input) => {
|
|
|
5507
5507
|
railHover = null;
|
|
5508
5508
|
}, 150);
|
|
5509
5509
|
}, "t9", $scope3_id);
|
|
5510
|
-
_html(`<div${_attr_class("
|
|
5510
|
+
_html(`<div${_attr_class("_dv")}>`);
|
|
5511
5511
|
_for_of(itemIds, (wsId, i) => {
|
|
5512
5512
|
const $scope4_id = _scope_id();
|
|
5513
5513
|
_html("<span>");
|
|
@@ -5554,7 +5554,7 @@ var side_nav_default = _template("t", (input) => {
|
|
|
5554
5554
|
if (railHover) {
|
|
5555
5555
|
const $scope5_id = _scope_id();
|
|
5556
5556
|
const hoverId = railHover.id;
|
|
5557
|
-
_html(`<div${_attr_class("
|
|
5557
|
+
_html(`<div${_attr_class("_dy")}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
|
|
5558
5558
|
_set_serialize_reason({
|
|
5559
5559
|
0: 1,
|
|
5560
5560
|
1: 1,
|
|
@@ -5657,11 +5657,11 @@ var side_nav_default = _template("t", (input) => {
|
|
|
5657
5657
|
return 0;
|
|
5658
5658
|
}
|
|
5659
5659
|
}, $scope0_id, "d");
|
|
5660
|
-
_html(`<div${_attr_class("
|
|
5660
|
+
_html(`<div${_attr_class("_dw")}>`);
|
|
5661
5661
|
_if(() => {
|
|
5662
5662
|
if (isPage) {
|
|
5663
5663
|
const $scope6_id = _scope_id();
|
|
5664
|
-
_html(`<button${_attr_class(["
|
|
5664
|
+
_html(`<button${_attr_class(["_dt", { ["_dg"]: view === "new" }])} title="New workspace" aria-pressed=${view === "new" ? "true" : "false"}>`);
|
|
5665
5665
|
icon_folder_plus_default({ size: 16 });
|
|
5666
5666
|
_html(` New workspace</button>${_el_resume($scope6_id, "a")}`);
|
|
5667
5667
|
_script($scope6_id, "t21");
|
|
@@ -5683,19 +5683,19 @@ var side_nav_default = _template("t", (input) => {
|
|
|
5683
5683
|
return 1;
|
|
5684
5684
|
}
|
|
5685
5685
|
}, $scope7_id, "a", 1, 1, 1, "</button>", 1);
|
|
5686
|
-
_html(`<div${_attr_class(["
|
|
5686
|
+
_html(`<div${_attr_class(["_r", "_dx"])}></div>`);
|
|
5687
5687
|
_if(() => {}, $scope7_id, "c", 1, 1, 1, 0, 1);
|
|
5688
|
-
_html(`<button${_attr_class([iconBtn$1, { ["
|
|
5688
|
+
_html(`<button${_attr_class([iconBtn$1, { ["_dg"]: view === "settings" }])} title=Settings aria-pressed=${view === "settings" ? "true" : "false"}>`);
|
|
5689
5689
|
icon_settings_default({ size: 15 });
|
|
5690
5690
|
_if(() => {
|
|
5691
5691
|
if (input.setupReady === false) {
|
|
5692
5692
|
const $scope15_id = _scope_id();
|
|
5693
|
-
_html(`<span${_attr_class(["
|
|
5693
|
+
_html(`<span${_attr_class(["_s", "_di"])} title="Machine setup incomplete"></span>`);
|
|
5694
5694
|
$si__input_setupReady && writeScope($scope15_id, {});
|
|
5695
5695
|
return 0;
|
|
5696
5696
|
}
|
|
5697
5697
|
}, $scope7_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
5698
|
-
_html(`</button>${_el_resume($scope7_id, "d")}<button${_attr_class([iconBtn$1, { ["
|
|
5698
|
+
_html(`</button>${_el_resume($scope7_id, "d")}<button${_attr_class([iconBtn$1, { ["_dg"]: view === "new" }])} title="New workspace" aria-pressed=${view === "new" ? "true" : "false"}>`);
|
|
5699
5699
|
icon_folder_plus_default({ size: 16 });
|
|
5700
5700
|
_html(`</button>${_el_resume($scope7_id, "g")}`);
|
|
5701
5701
|
_script($scope7_id, "t23");
|
|
@@ -5770,9 +5770,9 @@ function repoWebUrl(fullName) {
|
|
|
5770
5770
|
if (parts.length >= 3 && parts[0].includes(".")) return `https://${parts[0]}/${parts.slice(1).join("/")}`;
|
|
5771
5771
|
return `https://github.com/${fullName}`;
|
|
5772
5772
|
}
|
|
5773
|
-
var iconBtn = "
|
|
5774
|
-
var content = "
|
|
5775
|
-
var pageMeta = "
|
|
5773
|
+
var iconBtn = "_bJ _D";
|
|
5774
|
+
var content = "_c3 _T";
|
|
5775
|
+
var pageMeta = "_c4 _Y";
|
|
5776
5776
|
//#endregion
|
|
5777
5777
|
//#region src/tags/manage-workspace.marko
|
|
5778
5778
|
var api$2;
|
|
@@ -5866,16 +5866,16 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
5866
5866
|
setTimeout(() => loadProcs(void 0), 500);
|
|
5867
5867
|
}, "k5", $scope0_id);
|
|
5868
5868
|
const titleId = _id();
|
|
5869
|
-
_html(`<div${_attr_class("
|
|
5869
|
+
_html(`<div${_attr_class("_R")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_S")}><div${_attr_class(content)}><header${_attr_class("_V")}><div${_attr_class("_X")}><h1${_attr("id", titleId)}${_attr_class("_W")}>Manage</h1><p${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_c5")}>${_escape(ws.name)}${_el_resume($scope0_id, "i")}</span>`);
|
|
5870
5870
|
_if(() => {
|
|
5871
5871
|
if (ws.status !== "active") {
|
|
5872
5872
|
const $scope10_id = _scope_id();
|
|
5873
|
-
_html(`<span${_attr_class(["
|
|
5873
|
+
_html(`<span${_attr_class(["_c8", "_c9"])}>Archived</span>`);
|
|
5874
5874
|
writeScope($scope10_id, {});
|
|
5875
5875
|
return 0;
|
|
5876
5876
|
}
|
|
5877
5877
|
}, $scope0_id, "j", 1, 1, 1, 0, 1);
|
|
5878
|
-
_html(`<span${_attr_class("
|
|
5878
|
+
_html(`<span${_attr_class("_c6")} aria-hidden=true>·</span><span${_attr_class(["_c7", "_q"])}>${_escape(ws.display_path || ws.path)}${_el_resume($scope0_id, "m")}</span></p>${_el_resume($scope0_id, "g")}</div></header>`);
|
|
5879
5879
|
_if(() => {
|
|
5880
5880
|
if (error) {
|
|
5881
5881
|
const $scope2_id = _scope_id();
|
|
@@ -5899,26 +5899,26 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
5899
5899
|
_if(() => {
|
|
5900
5900
|
if (pendingAction && actionStep) {
|
|
5901
5901
|
const $scope7_id = _scope_id();
|
|
5902
|
-
_html(`<p${_attr_class("
|
|
5902
|
+
_html(`<p${_attr_class("_bt")}><span${_attr_class("_y")}></span><!>${_escape(actionStep)}${_el_resume($scope7_id, "c")}</p>`);
|
|
5903
5903
|
writeScope($scope7_id, {});
|
|
5904
5904
|
return 0;
|
|
5905
5905
|
}
|
|
5906
5906
|
}, $scope0_id, "o", 1, 1, 1, 0, 1);
|
|
5907
|
-
_html(`<section${_attr_class("
|
|
5907
|
+
_html(`<section${_attr_class("_bu")}><div${_attr_class("_bv")}><h2${_attr_class("_bK")}>Repos</h2><span${_attr_class("_bw")}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "t")}</span><div${_attr_class("_r")}></div><button${_attr_class(iconBtn)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
5908
5908
|
_set_serialize_reason(1);
|
|
5909
5909
|
const $childScope = _peek_scope_id();
|
|
5910
5910
|
icon_refresh_default({
|
|
5911
5911
|
size: 14,
|
|
5912
|
-
class: catalogRefreshing && "
|
|
5912
|
+
class: catalogRefreshing && "_x"
|
|
5913
5913
|
});
|
|
5914
|
-
_html(`</button>${_el_resume($scope0_id, "v")}</div><ul${_attr_class("
|
|
5914
|
+
_html(`</button>${_el_resume($scope0_id, "v")}</div><ul${_attr_class("_bx")}>`);
|
|
5915
5915
|
_for_of(ws.repos, (row) => {
|
|
5916
5916
|
const $scope1_id = _scope_id();
|
|
5917
|
-
_html(`<li${_attr_class("
|
|
5917
|
+
_html(`<li${_attr_class("_bz")}><div${_attr_class("_bA")}><span${_attr_class(["_bB", "_q"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bC")}><a${_attr_class(["_bD", "_da"])}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_escape(row.full_name)}${_el_resume($scope1_id, "g")}</a>${_el_resume($scope1_id, "f")}`);
|
|
5918
5918
|
_if(() => {
|
|
5919
5919
|
if (row.base_branch !== row.default_branch) {
|
|
5920
5920
|
const $scope11_id = _scope_id();
|
|
5921
|
-
_html(`<span${_attr_class(["
|
|
5921
|
+
_html(`<span${_attr_class(["_bE", "_q"])} title="Base branch">⎇ <!>${_escape(row.base_branch)}${_el_resume($scope11_id, "b")}</span>`);
|
|
5922
5922
|
writeScope($scope11_id, {});
|
|
5923
5923
|
return 0;
|
|
5924
5924
|
}
|
|
@@ -5927,15 +5927,15 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
5927
5927
|
_if(() => {
|
|
5928
5928
|
if (busy.has(row.full_name)) {
|
|
5929
5929
|
const $scope12_id = _scope_id();
|
|
5930
|
-
_html(`<span${_attr_class("
|
|
5930
|
+
_html(`<span${_attr_class("_y")}></span>`);
|
|
5931
5931
|
writeScope($scope12_id, {});
|
|
5932
5932
|
return 0;
|
|
5933
5933
|
} else {
|
|
5934
5934
|
const $scope6_id = _scope_id();
|
|
5935
5935
|
_html(`<button${_attr_class([
|
|
5936
|
-
"
|
|
5937
|
-
"
|
|
5938
|
-
{ ["
|
|
5936
|
+
"_bF",
|
|
5937
|
+
"_bH",
|
|
5938
|
+
{ ["_bG"]: confirmingRemove === row.full_name }
|
|
5939
5939
|
])}${confirmingRemove === row.full_name ? _attr("title", `Really remove ${row.worktree}/? Uncommitted changes are lost.`) : _attr("title", `Remove ${row.worktree}/`)}>${confirmingRemove === row.full_name ? "Remove?" : "×"}${_el_resume($scope6_id, "b")}</button>${_el_resume($scope6_id, "a")}`);
|
|
5940
5940
|
_script($scope6_id, "k11");
|
|
5941
5941
|
_subscribe($confirmingRemove__closures, writeScope($scope6_id, {}));
|
|
@@ -5952,19 +5952,19 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
5952
5952
|
}, "full_name", $scope0_id, "y", 1, 1, 1, 0, 1);
|
|
5953
5953
|
_for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
|
|
5954
5954
|
const $scope13_id = _scope_id();
|
|
5955
|
-
_html(`<li${_attr_class(["
|
|
5955
|
+
_html(`<li${_attr_class(["_bz", "_by"])}><span${_attr_class("_y")}></span><div${_attr_class("_bA")}><span${_attr_class("_bD")}>Adding <!>${_escape(name)}${_el_resume($scope13_id, "e")}…</span></div></li>`);
|
|
5956
5956
|
writeScope($scope13_id, {});
|
|
5957
5957
|
}, (n) => n, $scope0_id, "z", 1, 1, 1, 0, 1);
|
|
5958
5958
|
_html("</ul>");
|
|
5959
5959
|
_if(() => {
|
|
5960
5960
|
if (!ws.repos.length && !busy.size) {
|
|
5961
5961
|
const $scope14_id = _scope_id();
|
|
5962
|
-
_html(`<p${_attr_class("
|
|
5962
|
+
_html(`<p${_attr_class("_bI")}>No repos yet — search below to add one.</p>`);
|
|
5963
5963
|
writeScope($scope14_id, {});
|
|
5964
5964
|
return 0;
|
|
5965
5965
|
}
|
|
5966
5966
|
}, $scope0_id, "a0", 1, 1, 1, 0, 1);
|
|
5967
|
-
_html(`<div${_attr_class("
|
|
5967
|
+
_html(`<div${_attr_class("_c_")}>`);
|
|
5968
5968
|
const $childScope2 = _peek_scope_id();
|
|
5969
5969
|
let refreshCatalog = repo_picker_default({
|
|
5970
5970
|
exclude: inWorkspace,
|
|
@@ -5984,17 +5984,17 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
5984
5984
|
_if(() => {
|
|
5985
5985
|
if (running.length) {
|
|
5986
5986
|
const $scope8_id = _scope_id();
|
|
5987
|
-
_html(`<section${_attr_class("
|
|
5987
|
+
_html(`<section${_attr_class("_bu")}><div${_attr_class("_bv")}><h2${_attr_class("_bK")}>Running</h2><span${_attr_class("_bw")}>${_escape(running.length)}${_el_resume($scope8_id, "e")}</span></div><ul${_attr_class("_bx")}>`);
|
|
5988
5988
|
_for_of(running, (p) => {
|
|
5989
5989
|
const $scope9_id = _scope_id();
|
|
5990
|
-
_html(`<li${_attr_class("
|
|
5990
|
+
_html(`<li${_attr_class("_bz")}><div${_attr_class("_bA")}${_attr("title", p.args)}><span${_attr_class(["_bB", "_q"])}>${_escape(p.cmd)}${_el_resume($scope9_id, "d")}</span>`);
|
|
5991
5991
|
_if(() => {
|
|
5992
5992
|
if (p.ports.length) {
|
|
5993
5993
|
const $scope15_id = _scope_id();
|
|
5994
|
-
_html(`<span${_attr_class("
|
|
5994
|
+
_html(`<span${_attr_class("_bC")}>`);
|
|
5995
5995
|
_for_of(p.ports, (port) => {
|
|
5996
5996
|
const $scope16_id = _scope_id();
|
|
5997
|
-
_html(`<button${_attr_class(["
|
|
5997
|
+
_html(`<button${_attr_class(["_l", "_db"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope16_id, "b")}</button>${_el_resume($scope16_id, "a")}`);
|
|
5998
5998
|
_script($scope16_id, "k13");
|
|
5999
5999
|
writeScope($scope16_id, { d: port });
|
|
6000
6000
|
}, (x) => String(x), $scope15_id, "a", 1, 1, 1, "</span>", 1);
|
|
@@ -6002,7 +6002,7 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6002
6002
|
return 0;
|
|
6003
6003
|
}
|
|
6004
6004
|
}, $scope9_id, "e", 1, 1, 1, 0, 1);
|
|
6005
|
-
_html(`</div>${_el_resume($scope9_id, "b")}<button${_attr_class(["
|
|
6005
|
+
_html(`</div>${_el_resume($scope9_id, "b")}<button${_attr_class(["_bF", "_bH"])} type=button${_attr("title", `Kill ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>×</button>${_el_resume($scope9_id, "f")}</li>`);
|
|
6006
6006
|
_script($scope9_id, "k14");
|
|
6007
6007
|
writeScope($scope9_id, {
|
|
6008
6008
|
k: p?.ports,
|
|
@@ -6014,28 +6014,28 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6014
6014
|
return 0;
|
|
6015
6015
|
}
|
|
6016
6016
|
}, $scope0_id, "a4", 1, 1, 1, 0, 1);
|
|
6017
|
-
_html(`<section${_attr_class(["
|
|
6017
|
+
_html(`<section${_attr_class(["_bu", "_dc"])}><div${_attr_class("_bv")}><h2${_attr_class("_bK")}>Workspace</h2></div><div${_attr_class("_dd")}>`);
|
|
6018
6018
|
_if(() => {
|
|
6019
6019
|
if (ws.status === "active") {
|
|
6020
6020
|
const $scope4_id = _scope_id();
|
|
6021
|
-
_html(`<button type=button${_attr_class(["
|
|
6021
|
+
_html(`<button type=button${_attr_class(["_h", "_de"])}${_attr("disabled", !!pendingAction)}>${pendingAction === "archive" ? "Archiving…" : "Archive"}${_el_resume($scope4_id, "b")}</button>${_el_resume($scope4_id, "a")}`);
|
|
6022
6022
|
_script($scope4_id, "k15");
|
|
6023
6023
|
writeScope($scope4_id, {});
|
|
6024
6024
|
return 0;
|
|
6025
6025
|
} else {
|
|
6026
6026
|
const $scope5_id = _scope_id();
|
|
6027
|
-
_html(`<button type=button${_attr_class(["
|
|
6027
|
+
_html(`<button type=button${_attr_class(["_h", "_de"])}${_attr("disabled", !!pendingAction)}>Restore</button>${_el_resume($scope5_id, "a")}`);
|
|
6028
6028
|
_script($scope5_id, "k16");
|
|
6029
6029
|
writeScope($scope5_id, {});
|
|
6030
6030
|
return 1;
|
|
6031
6031
|
}
|
|
6032
6032
|
}, $scope0_id, "a9", 1, 1, 1, 0, 1);
|
|
6033
6033
|
_html(`<button type=button${_attr_class([
|
|
6034
|
-
"
|
|
6035
|
-
"
|
|
6036
|
-
"
|
|
6037
|
-
{ ["
|
|
6038
|
-
])}${_attr("disabled", !!pendingAction)}>${pendingAction === "delete" ? "Deleting…" : "Delete"}${_el_resume($scope0_id, "ab")}</button>${_el_resume($scope0_id, "aa")}</div><p${_attr_class("
|
|
6034
|
+
"_h",
|
|
6035
|
+
"_k",
|
|
6036
|
+
"_de",
|
|
6037
|
+
{ ["_j"]: confirmingDelete }
|
|
6038
|
+
])}${_attr("disabled", !!pendingAction)}>${pendingAction === "delete" ? "Deleting…" : "Delete"}${_el_resume($scope0_id, "ab")}</button>${_el_resume($scope0_id, "aa")}</div><p${_attr_class("_df")}>Archive hides the space from the list. Delete removes it and its worktrees.</p></section></div></div></div>`);
|
|
6039
6039
|
_script($scope0_id, "k17");
|
|
6040
6040
|
_script($scope0_id, "k18");
|
|
6041
6041
|
writeScope($scope0_id, {
|
|
@@ -6106,15 +6106,15 @@ var term_find_default = _template("u", (input) => {
|
|
|
6106
6106
|
const canStep = hasQuery && open;
|
|
6107
6107
|
const keybar = input.placement === "keybar";
|
|
6108
6108
|
_html(`<div${_attr_class([
|
|
6109
|
-
"
|
|
6110
|
-
keybar ? "
|
|
6111
|
-
!open && "
|
|
6112
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
6109
|
+
"_fe",
|
|
6110
|
+
keybar ? "_fg" : "_ff",
|
|
6111
|
+
!open && "_fi"
|
|
6112
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_e_", keybar ? "_fh" : "_fb"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
6113
6113
|
if (!open) return;
|
|
6114
6114
|
query = v;
|
|
6115
6115
|
live.query = v;
|
|
6116
6116
|
run(0);
|
|
6117
|
-
}, "u0", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
6117
|
+
}, "u0", $scope0_id))}${_attr_class([findInput, keybar && "_fj"])} 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 && "_fk"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_fk"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class([findIconBtn, keybar && "_fk"])} title="Close find" tabindex=${open ? "0" : "-1"}>×</button>${_el_resume($scope0_id, "f")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
|
|
6118
6118
|
_script($scope0_id, "u4");
|
|
6119
6119
|
_script($scope0_id, "u5");
|
|
6120
6120
|
_script($scope0_id, "u6");
|
|
@@ -6383,7 +6383,7 @@ var term_default = _template("v", (input) => {
|
|
|
6383
6383
|
trapOpen = true;
|
|
6384
6384
|
}
|
|
6385
6385
|
}, "v14", $scope0_id);
|
|
6386
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
6386
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_dA")}><div${_attr_class("_dB")}></div>${_el_resume($scope0_id, "b")}`);
|
|
6387
6387
|
_if(() => {
|
|
6388
6388
|
if (findOpen) {
|
|
6389
6389
|
const $scope11_id = _scope_id();
|
|
@@ -6410,7 +6410,7 @@ var term_default = _template("v", (input) => {
|
|
|
6410
6410
|
_if(() => {
|
|
6411
6411
|
if (uploading) {
|
|
6412
6412
|
const $scope18_id = _scope_id();
|
|
6413
|
-
_html(`<div${_attr_class("
|
|
6413
|
+
_html(`<div${_attr_class("_dF")}>uploading…</div>`);
|
|
6414
6414
|
writeScope($scope18_id, {});
|
|
6415
6415
|
return 0;
|
|
6416
6416
|
}
|
|
@@ -6418,7 +6418,7 @@ var term_default = _template("v", (input) => {
|
|
|
6418
6418
|
_if(() => {
|
|
6419
6419
|
if (copiedFlash) {
|
|
6420
6420
|
const $scope19_id = _scope_id();
|
|
6421
|
-
_html(`<div${_attr_class("
|
|
6421
|
+
_html(`<div${_attr_class("_dE")}>Copied</div>`);
|
|
6422
6422
|
writeScope($scope19_id, {});
|
|
6423
6423
|
return 0;
|
|
6424
6424
|
}
|
|
@@ -6427,7 +6427,7 @@ var term_default = _template("v", (input) => {
|
|
|
6427
6427
|
_if(() => {
|
|
6428
6428
|
if (trapOpen) {
|
|
6429
6429
|
const $scope10_id = _scope_id();
|
|
6430
|
-
_html(`<div${_attr_class("
|
|
6430
|
+
_html(`<div${_attr_class("_dG")}><div${_attr_class("_dH")}><p${_attr_class("_ea")}>Long-press below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope10_id, "d")}<button${_attr_class("_h")}>Cancel</button>${_el_resume($scope10_id, "e")}</div>${_el_resume($scope10_id, "b")}</div>${_el_resume($scope10_id, "a")}`);
|
|
6431
6431
|
_script($scope10_id, "v23");
|
|
6432
6432
|
_script($scope10_id, "v24");
|
|
6433
6433
|
writeScope($scope10_id, {});
|
|
@@ -6532,7 +6532,7 @@ var work_view_default = _template("y", (input) => {
|
|
|
6532
6532
|
let DiffView = null;
|
|
6533
6533
|
const loadDiffView = _resume(() => {
|
|
6534
6534
|
if (DiffView) return;
|
|
6535
|
-
import("./
|
|
6535
|
+
import("./_BF5Ds6l1.js").then((m) => {
|
|
6536
6536
|
DiffView = m.default;
|
|
6537
6537
|
});
|
|
6538
6538
|
}, "y4", $scope0_id);
|
|
@@ -6688,7 +6688,7 @@ var work_view_default = _template("y", (input) => {
|
|
|
6688
6688
|
error = String(err.message || err);
|
|
6689
6689
|
}
|
|
6690
6690
|
}, "y19", $scope0_id);
|
|
6691
|
-
_html(`<div${_attr_class(["
|
|
6691
|
+
_html(`<div${_attr_class(["_bM", { ["_bL"]: view === "nav" }])}><div${_attr_class("_bN")}>`);
|
|
6692
6692
|
_set_serialize_reason({
|
|
6693
6693
|
0: _serialize_guard($scope0_reason, 0),
|
|
6694
6694
|
1: _serialize_guard($scope0_reason, 1),
|
|
@@ -6761,7 +6761,7 @@ var work_view_default = _template("y", (input) => {
|
|
|
6761
6761
|
openDiff(pr);
|
|
6762
6762
|
}, "y31", $scope0_id)
|
|
6763
6763
|
});
|
|
6764
|
-
_html(`</div><div${_attr_class("
|
|
6764
|
+
_html(`</div><div${_attr_class("_bO")}>`);
|
|
6765
6765
|
_if(() => {
|
|
6766
6766
|
if (error) {
|
|
6767
6767
|
const $scope8_id = _scope_id();
|
|
@@ -6864,13 +6864,13 @@ var work_view_default = _template("y", (input) => {
|
|
|
6864
6864
|
}
|
|
6865
6865
|
}, $scope0_id, "h");
|
|
6866
6866
|
_if(() => {}, $scope0_id, "i");
|
|
6867
|
-
_html(`<div${_attr_class(["
|
|
6867
|
+
_html(`<div${_attr_class(["_bQ", { ["_bP"]: view !== "term" }])}>`);
|
|
6868
6868
|
_if(() => {
|
|
6869
6869
|
if (shownSessions) {
|
|
6870
6870
|
const $scope5_id = _scope_id();
|
|
6871
6871
|
_for_of(shownSessions, (s) => {
|
|
6872
6872
|
const $scope6_id = _scope_id();
|
|
6873
|
-
_html(`<div${_attr_class(["
|
|
6873
|
+
_html(`<div${_attr_class(["_bR", { ["_bS"]: s.id === curTab }])}>`);
|
|
6874
6874
|
_set_serialize_reason({
|
|
6875
6875
|
0: 1,
|
|
6876
6876
|
1: 1,
|
|
@@ -6937,7 +6937,7 @@ var work_view_default = _template("y", (input) => {
|
|
|
6937
6937
|
_if(() => {
|
|
6938
6938
|
if (!shownSessions.length && view === "term") {
|
|
6939
6939
|
const $scope7_id = _scope_id();
|
|
6940
|
-
_html(`<div${_attr_class("
|
|
6940
|
+
_html(`<div${_attr_class("_bU")}><p${_attr_class("_bV")}>No sessions in this workspace.</p><button${_attr_class(["_h", "_i"])}${_attr("disabled", spawning)}>${spawning ? "Starting…" : `Start ${_escape(`${input.preferred || "claude"}`)}`}${_el_resume($scope7_id, "d")}</button>${_el_resume($scope7_id, "c")}</div>`);
|
|
6941
6941
|
_script($scope7_id, "y51");
|
|
6942
6942
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
|
|
6943
6943
|
return 0;
|
|
@@ -6947,7 +6947,7 @@ var work_view_default = _template("y", (input) => {
|
|
|
6947
6947
|
return 0;
|
|
6948
6948
|
} else {
|
|
6949
6949
|
const $scope10_id = _scope_id();
|
|
6950
|
-
_html(`<p${_attr_class("
|
|
6950
|
+
_html(`<p${_attr_class("_bT")}>Loading sessions…</p>`);
|
|
6951
6951
|
writeScope($scope10_id, {});
|
|
6952
6952
|
return 1;
|
|
6953
6953
|
}
|
|
@@ -7193,7 +7193,7 @@ var page_boot_default = _template("n", (input) => {
|
|
|
7193
7193
|
};
|
|
7194
7194
|
}, "n8", $scope4_id)
|
|
7195
7195
|
});
|
|
7196
|
-
_html(`<div${_attr_class("_C")}><button type=button${_attr_class("
|
|
7196
|
+
_html(`<div${_attr_class("_C")}><button type=button${_attr_class("_h")}>Later — go to workspaces</button>${_el_resume($scope4_id, "d")}</div></div>`);
|
|
7197
7197
|
_script($scope4_id, "n24");
|
|
7198
7198
|
writeScope($scope4_id, { b: _existing_scope($childScope) });
|
|
7199
7199
|
return 0;
|
|
@@ -7345,7 +7345,7 @@ var _page_default = _template("b", (input) => {
|
|
|
7345
7345
|
setup: su
|
|
7346
7346
|
}));
|
|
7347
7347
|
})();
|
|
7348
|
-
_html(`<main${_attr_class("
|
|
7348
|
+
_html(`<main${_attr_class("_c")}>`);
|
|
7349
7349
|
_try($scope0_id, "b", _content_resume("b2", () => {
|
|
7350
7350
|
const $scope1_id = _scope_id();
|
|
7351
7351
|
_scope_reason();
|
|
@@ -7358,12 +7358,12 @@ var _page_default = _template("b", (input) => {
|
|
|
7358
7358
|
placeholder: attrTag({ content: _content_resume("b0", () => {
|
|
7359
7359
|
_scope_reason();
|
|
7360
7360
|
_scope_id();
|
|
7361
|
-
_html(`<div${_attr_class("
|
|
7361
|
+
_html(`<div${_attr_class("_b")}><span${_attr_class("_y")}></span>Loading workspaces…</div>`);
|
|
7362
7362
|
}, $scope0_id) }),
|
|
7363
7363
|
catch: attrTag({ content: _content_resume("b1", (err) => {
|
|
7364
7364
|
const $scope3_reason = _scope_reason();
|
|
7365
7365
|
const $scope3_id = _scope_id();
|
|
7366
|
-
_html(`<div${_attr_class("
|
|
7366
|
+
_html(`<div${_attr_class("_b")}><p>${err instanceof Error ? _escape(err.message) : _escape(String(err))}${_el_resume($scope3_id, "b", _serialize_guard($scope3_reason, 0))}</p></div>`);
|
|
7367
7367
|
_serialize_if($scope3_reason, 0) && writeScope($scope3_id, {});
|
|
7368
7368
|
}, $scope0_id) })
|
|
7369
7369
|
});
|
|
@@ -14782,4 +14782,4 @@ server.listen(port, () => {
|
|
|
14782
14782
|
//#endregion
|
|
14783
14783
|
export {};
|
|
14784
14784
|
|
|
14785
|
-
;var __MARKO_MANIFEST__={"esfPH6H":{"block":[2,"stylesheet#/assets/index-
|
|
14785
|
+
;var __MARKO_MANIFEST__={"esfPH6H":{"block":[2,"stylesheet#/assets/index-Ci2AW5Xt.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/index-Ci2AW5Xt.css\"",">"],"defer":[2,"/assets/index-WQhyReVQ.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/index-WQhyReVQ.js\"","></script>"]}};
|