@dylanpiercey/work 0.0.56 → 0.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{_DIz1o5GR.js → _FtnOihLp.js} +18 -18
- package/dist/{_NR7OKpDq.js → _w176gAgg.js} +4 -4
- package/dist/index.mjs +112 -112
- package/dist/public/assets/{_Biu-1XkM2.js → _1fi3_epC2.js} +1 -1
- package/dist/public/assets/_1fi3_epC2.js.br +0 -0
- package/dist/public/assets/{_CaIg6xVS.js → _1wDweXVz.js} +1 -1
- package/dist/public/assets/_1wDweXVz.js.br +0 -0
- package/dist/public/assets/{_iu_009nj2.js → _2eNsNaYO2.js} +1 -1
- package/dist/public/assets/{_DW7rXYKI.js → _5Iu7-7Yu.js} +1 -1
- package/dist/public/assets/_5Iu7-7Yu.js.br +0 -0
- package/dist/public/assets/{_C7Jrixyu.js → _6T4AyNhc.js} +1 -1
- package/dist/public/assets/_6T4AyNhc.js.br +0 -0
- package/dist/public/assets/{_CF6jXhzt.js → _8SEHbP04.js} +1 -1
- package/dist/public/assets/_8SEHbP04.js.br +0 -0
- package/dist/public/assets/{_CZqQrh0N.js → _9MQkmzyB.js} +1 -1
- package/dist/public/assets/_9MQkmzyB.js.br +0 -0
- package/dist/public/assets/{_WttPWnIr2.js → _9hZUx9rh2.js} +1 -1
- package/dist/public/assets/{_DY71Ifmc2.js → _B2LynlWb2.js} +1 -1
- package/dist/public/assets/_B2LynlWb2.js.br +0 -0
- package/dist/public/assets/{_B17TTTZR.js → _B2hrD7F7.js} +1 -1
- package/dist/public/assets/_B2hrD7F7.js.br +0 -0
- package/dist/public/assets/{_Cxs8hu_52.js → _B4kzyFEk2.js} +1 -1
- package/dist/public/assets/_B4kzyFEk2.js.br +0 -0
- package/dist/public/assets/{_CwKBm8kp.js → _B9I0gYKr.js} +1 -1
- package/dist/public/assets/_B9I0gYKr.js.br +0 -0
- package/dist/public/assets/{_fQHFmOad.js → _BDAJLqcL.js} +1 -1
- package/dist/public/assets/_BDAJLqcL.js.br +0 -0
- package/dist/public/assets/{_CJhLmJWq.js → _BE7DCCdk.js} +1 -1
- package/dist/public/assets/_BE7DCCdk.js.br +0 -0
- package/dist/public/assets/{_BaIIgHFy2.js → _BFI_GEk72.js} +1 -1
- package/dist/public/assets/_BFI_GEk72.js.br +0 -0
- package/dist/public/assets/{_k1dlhrqh2.js → _BTSelz322.js} +1 -1
- package/dist/public/assets/_BTSelz322.js.br +0 -0
- package/dist/public/assets/{_DY9msspQ2.js → _BVgN-hoS2.js} +1 -1
- package/dist/public/assets/_BVgN-hoS2.js.br +0 -0
- package/dist/public/assets/{_Cu2JPWTZ.js → _B_XtpOB4.js} +1 -1
- package/dist/public/assets/_B_XtpOB4.js.br +0 -0
- package/dist/public/assets/{_AbzQXEHp2.js → _BeVJhIuF2.js} +1 -1
- package/dist/public/assets/_BeVJhIuF2.js.br +0 -0
- package/dist/public/assets/{_DQ1mq82l.js → _BnarL5fN.js} +1 -1
- package/dist/public/assets/_BnarL5fN.js.br +0 -0
- package/dist/public/assets/{_D7qGgJvf2.js → _BqVZXi4B2.js} +1 -1
- package/dist/public/assets/_BqVZXi4B2.js.br +0 -0
- package/dist/public/assets/{_BcEDvwN5.js → _BtfQL6MC.js} +1 -1
- package/dist/public/assets/_BtfQL6MC.js.br +0 -0
- package/dist/public/assets/{_CmgnZObA.js → _BwLUD1-V.js} +1 -1
- package/dist/public/assets/_BwLUD1-V.js.br +0 -0
- package/dist/public/assets/{_SyQQGpVD.js → _Bwsljc8D.js} +1 -1
- package/dist/public/assets/_Bwsljc8D.js.br +0 -0
- package/dist/public/assets/{_Dful9JXZ.js → _C0G6dH_3.js} +1 -1
- package/dist/public/assets/_C0G6dH_3.js.br +0 -0
- package/dist/public/assets/{_BBKegQCI.js → _C5ycl8bH.js} +1 -1
- package/dist/public/assets/_C5ycl8bH.js.br +0 -0
- package/dist/public/assets/{_D3W0XyUU2.js → _C7Sxjw9-2.js} +1 -1
- package/dist/public/assets/_C7Sxjw9-2.js.br +0 -0
- package/dist/public/assets/{_qzqTdGii2.js → _CEPbJDCZ2.js} +1 -1
- package/dist/public/assets/_CEPbJDCZ2.js.br +0 -0
- package/dist/public/assets/{_mZNHePjN.js → _CFmJjroU.js} +1 -1
- package/dist/public/assets/_CFmJjroU.js.br +0 -0
- package/dist/public/assets/{_fYprPTRa2.js → _CLNzU4Fu2.js} +1 -1
- package/dist/public/assets/_CLNzU4Fu2.js.br +0 -0
- package/dist/public/assets/{_DtBpXNIh.js → _CMh1B9b2.js} +1 -1
- package/dist/public/assets/_CMh1B9b2.js.br +0 -0
- package/dist/public/assets/{_SpxsOOpo2.js → _CQppsb6k2.js} +1 -1
- package/dist/public/assets/_CQppsb6k2.js.br +0 -0
- package/dist/public/assets/{_kBcVAsq0.js → _CV_YENib.js} +1 -1
- package/dist/public/assets/_CV_YENib.js.br +0 -0
- package/dist/public/assets/{_BO5qyyi2.js → _Cb49FSPc.js} +1 -1
- package/dist/public/assets/_Cb49FSPc.js.br +0 -0
- package/dist/public/assets/{_CZWTVsYT.js → _Cdh1RpOT.js} +1 -1
- package/dist/public/assets/_Cdh1RpOT.js.br +0 -0
- package/dist/public/assets/{_BiGLT1t7.js → _CerTd-Ge.js} +1 -1
- package/dist/public/assets/_CerTd-Ge.js.br +0 -0
- package/dist/public/assets/{_BaXDiy612.js → _Ch0jJRpF2.js} +1 -1
- package/dist/public/assets/_Ch0jJRpF2.js.br +0 -0
- package/dist/public/assets/{_DTCgKMCu.js → _ChH_lxP0.js} +1 -1
- package/dist/public/assets/_ChH_lxP0.js.br +0 -0
- package/dist/public/assets/{_Dwf8rf44.js → _CwTH8KQI.js} +1 -1
- package/dist/public/assets/_CwTH8KQI.js.br +0 -0
- package/dist/public/assets/{_Dqxtkq0w2.js → _Cyj2M_On2.js} +1 -1
- package/dist/public/assets/_Cyj2M_On2.js.br +0 -0
- package/dist/public/assets/{_uQRM3h6j.js → _Cze8y5Dt.js} +1 -1
- package/dist/public/assets/_Cze8y5Dt.js.br +0 -0
- package/dist/public/assets/{_DF8KYJxU2.js → _D-cnMUsr2.js} +1 -1
- package/dist/public/assets/_D-cnMUsr2.js.br +0 -0
- package/dist/public/assets/{_DgUBZtR3.js → _D2U5c8OX.js} +1 -1
- package/dist/public/assets/_D2U5c8OX.js.br +0 -0
- package/dist/public/assets/{_0sKce3DV.js → _D4j2b-Sq.js} +1 -1
- package/dist/public/assets/_D4j2b-Sq.js.br +0 -0
- package/dist/public/assets/{_D_8_vYUR2.js → _D6yFaFbX2.js} +1 -1
- package/dist/public/assets/_D6yFaFbX2.js.br +0 -0
- package/dist/public/assets/{_TfOHMltj.js → _DCOTsdST.js} +1 -1
- package/dist/public/assets/_DCOTsdST.js.br +0 -0
- package/dist/public/assets/{_mUaACIff.js → _DFb-bc2g.js} +1 -1
- package/dist/public/assets/_DFb-bc2g.js.br +0 -0
- package/dist/public/assets/{_D0yMt5Tt.js → _DHHUcj7y.js} +1 -1
- package/dist/public/assets/_DHHUcj7y.js.br +0 -0
- package/dist/public/assets/{_CTZc-Lfc.js → _DSCr8lsq.js} +1 -1
- package/dist/public/assets/_DSCr8lsq.js.br +0 -0
- package/dist/public/assets/{_fHPGL1Uw.js → _DU8wr53F.js} +1 -1
- package/dist/public/assets/_DU8wr53F.js.br +0 -0
- package/dist/public/assets/{_C9XDAb0z.js → _DdxTeNA9.js} +1 -1
- package/dist/public/assets/_DdxTeNA9.js.br +0 -0
- package/dist/public/assets/{_CE-iT2kz.js → _Dfp4rDzR.js} +1 -1
- package/dist/public/assets/{_BlFvBX6J2.js → _DgPtL3nO2.js} +1 -1
- package/dist/public/assets/_DgPtL3nO2.js.br +0 -0
- package/dist/public/assets/{_Dj6Mbuuc2.js → _Dmu0qP4E2.js} +1 -1
- package/dist/public/assets/_Dmu0qP4E2.js.br +0 -0
- package/dist/public/assets/{_CubUwl0d2.js → _DoRfBKHD2.js} +1 -1
- package/dist/public/assets/_DoRfBKHD2.js.br +0 -0
- package/dist/public/assets/{_C2Gfwg0M.js → _DrnyAK_d.js} +1 -1
- package/dist/public/assets/_DrnyAK_d.js.br +0 -0
- package/dist/public/assets/{_B8d3tGnJ2.js → _DtPDIeZK2.js} +1 -1
- package/dist/public/assets/_DtPDIeZK2.js.br +0 -0
- package/dist/public/assets/{_CgEyfAXY.js → _GFh_4VnR.js} +1 -1
- package/dist/public/assets/_GFh_4VnR.js.br +0 -0
- package/dist/public/assets/{_CQryXtHV.js → _GL3cIFCF.js} +1 -1
- package/dist/public/assets/_GL3cIFCF.js.br +0 -0
- package/dist/public/assets/{_BOGVYYJ7.js → _HaM1Jlk_.js} +1 -1
- package/dist/public/assets/_HaM1Jlk_.js.br +0 -0
- package/dist/public/assets/{_DgZSpof0.js → _JaDTz4Zd.js} +1 -1
- package/dist/public/assets/_JaDTz4Zd.js.br +0 -0
- package/dist/public/assets/{_B0Gim1bv.js → _MTTPoEES.js} +1 -1
- package/dist/public/assets/_MTTPoEES.js.br +0 -0
- package/dist/public/assets/{_BNl09okr.js → _PDPd6X9w.js} +1 -1
- package/dist/public/assets/_PDPd6X9w.js.br +0 -0
- package/dist/public/assets/{_Ce5_uM-0.js → _T9SFwu6g.js} +1 -1
- package/dist/public/assets/_T9SFwu6g.js.br +0 -0
- package/dist/public/assets/{_DUYb6nZs.js → _Y34IZ-eE.js} +1 -1
- package/dist/public/assets/_Y34IZ-eE.js.br +0 -0
- package/dist/public/assets/{_Dshlpqjt2.js → _ZYMh934D2.js} +1 -1
- package/dist/public/assets/_ZYMh934D2.js.br +0 -0
- package/dist/public/assets/{_DdZ4PATN.js → __KJ088ly.js} +1 -1
- package/dist/public/assets/__KJ088ly.js.br +0 -0
- package/dist/public/assets/{_CN5zho60.js → _cNK-MYFz.js} +1 -1
- package/dist/public/assets/_cNK-MYFz.js.br +0 -0
- package/dist/public/assets/{_-lSLGa1X.js → _eYTm2vWj.js} +1 -1
- package/dist/public/assets/_eYTm2vWj.js.br +0 -0
- package/dist/public/assets/{_chCpX0h02.js → _fnxdmnrX2.js} +1 -1
- package/dist/public/assets/_fnxdmnrX2.js.br +0 -0
- package/dist/public/assets/{_CKY9r5tW.js → _jzPvuV0O.js} +1 -1
- package/dist/public/assets/_jzPvuV0O.js.br +0 -0
- package/dist/public/assets/{_CXjvK8or.js → _wc0iQVbg.js} +1 -1
- package/dist/public/assets/_wc0iQVbg.js.br +0 -0
- package/dist/public/assets/{_JvWZam0k.js → _we6oEKqn.js} +1 -1
- package/dist/public/assets/_we6oEKqn.js.br +0 -0
- package/dist/public/assets/{_D8kyhtPi.js → _ynedISZP.js} +1 -1
- package/dist/public/assets/_ynedISZP.js.br +0 -0
- package/dist/public/assets/{_7b2d3rgi.js → _zkD43Znp.js} +5 -5
- package/dist/public/assets/_zkD43Znp.js.br +0 -0
- package/dist/public/assets/{diff-view-DO46OB-W.css → diff-view-BmH-xWiy.css} +1 -1
- package/dist/public/assets/diff-view-BmH-xWiy.css.br +0 -0
- package/dist/public/assets/{index-DlWmrprG.css → index-BVwzVz2z.css} +1 -1
- package/dist/public/assets/index-BVwzVz2z.css.br +0 -0
- package/dist/public/assets/{index-CbawCDfW.js → index-CxFTRVMW.js} +3 -3
- package/dist/public/assets/index-CxFTRVMW.js.br +0 -0
- package/package.json +1 -1
- package/dist/public/assets/_-lSLGa1X.js.br +0 -0
- package/dist/public/assets/_0sKce3DV.js.br +0 -0
- package/dist/public/assets/_7b2d3rgi.js.br +0 -0
- package/dist/public/assets/_AbzQXEHp2.js.br +0 -0
- package/dist/public/assets/_B0Gim1bv.js.br +0 -0
- package/dist/public/assets/_B17TTTZR.js.br +0 -0
- package/dist/public/assets/_B8d3tGnJ2.js.br +0 -0
- package/dist/public/assets/_BBKegQCI.js.br +0 -0
- package/dist/public/assets/_BNl09okr.js.br +0 -0
- package/dist/public/assets/_BO5qyyi2.js.br +0 -0
- package/dist/public/assets/_BOGVYYJ7.js.br +0 -0
- package/dist/public/assets/_BaIIgHFy2.js.br +0 -0
- package/dist/public/assets/_BaXDiy612.js.br +0 -0
- package/dist/public/assets/_BcEDvwN5.js.br +0 -0
- package/dist/public/assets/_BiGLT1t7.js.br +0 -0
- package/dist/public/assets/_Biu-1XkM2.js.br +0 -0
- package/dist/public/assets/_BlFvBX6J2.js.br +0 -0
- package/dist/public/assets/_C2Gfwg0M.js.br +0 -0
- package/dist/public/assets/_C7Jrixyu.js.br +0 -0
- package/dist/public/assets/_C9XDAb0z.js.br +0 -0
- package/dist/public/assets/_CF6jXhzt.js.br +0 -0
- package/dist/public/assets/_CJhLmJWq.js.br +0 -0
- package/dist/public/assets/_CKY9r5tW.js.br +0 -0
- package/dist/public/assets/_CN5zho60.js.br +0 -0
- package/dist/public/assets/_CQryXtHV.js.br +0 -0
- package/dist/public/assets/_CTZc-Lfc.js.br +0 -0
- package/dist/public/assets/_CXjvK8or.js.br +0 -0
- package/dist/public/assets/_CZWTVsYT.js.br +0 -0
- package/dist/public/assets/_CZqQrh0N.js.br +0 -0
- package/dist/public/assets/_CaIg6xVS.js.br +0 -0
- package/dist/public/assets/_Ce5_uM-0.js.br +0 -0
- package/dist/public/assets/_CgEyfAXY.js.br +0 -0
- package/dist/public/assets/_CmgnZObA.js.br +0 -0
- package/dist/public/assets/_Cu2JPWTZ.js.br +0 -0
- package/dist/public/assets/_CubUwl0d2.js.br +0 -0
- package/dist/public/assets/_CwKBm8kp.js.br +0 -0
- package/dist/public/assets/_Cxs8hu_52.js.br +0 -0
- package/dist/public/assets/_D0yMt5Tt.js.br +0 -0
- package/dist/public/assets/_D3W0XyUU2.js.br +0 -0
- package/dist/public/assets/_D7qGgJvf2.js.br +0 -0
- package/dist/public/assets/_D8kyhtPi.js.br +0 -0
- package/dist/public/assets/_DF8KYJxU2.js.br +0 -0
- package/dist/public/assets/_DQ1mq82l.js.br +0 -0
- package/dist/public/assets/_DTCgKMCu.js.br +0 -0
- package/dist/public/assets/_DUYb6nZs.js.br +0 -0
- package/dist/public/assets/_DW7rXYKI.js.br +0 -0
- package/dist/public/assets/_DY71Ifmc2.js.br +0 -0
- package/dist/public/assets/_DY9msspQ2.js.br +0 -0
- package/dist/public/assets/_D_8_vYUR2.js.br +0 -0
- package/dist/public/assets/_DdZ4PATN.js.br +0 -0
- package/dist/public/assets/_Dful9JXZ.js.br +0 -0
- package/dist/public/assets/_DgUBZtR3.js.br +0 -0
- package/dist/public/assets/_DgZSpof0.js.br +0 -0
- package/dist/public/assets/_Dj6Mbuuc2.js.br +0 -0
- package/dist/public/assets/_Dqxtkq0w2.js.br +0 -0
- package/dist/public/assets/_Dshlpqjt2.js.br +0 -0
- package/dist/public/assets/_DtBpXNIh.js.br +0 -0
- package/dist/public/assets/_Dwf8rf44.js.br +0 -0
- package/dist/public/assets/_JvWZam0k.js.br +0 -0
- package/dist/public/assets/_SpxsOOpo2.js.br +0 -0
- package/dist/public/assets/_SyQQGpVD.js.br +0 -0
- package/dist/public/assets/_TfOHMltj.js.br +0 -0
- package/dist/public/assets/_chCpX0h02.js.br +0 -0
- package/dist/public/assets/_fHPGL1Uw.js.br +0 -0
- package/dist/public/assets/_fQHFmOad.js.br +0 -0
- package/dist/public/assets/_fYprPTRa2.js.br +0 -0
- package/dist/public/assets/_k1dlhrqh2.js.br +0 -0
- package/dist/public/assets/_kBcVAsq0.js.br +0 -0
- package/dist/public/assets/_mUaACIff.js.br +0 -0
- package/dist/public/assets/_mZNHePjN.js.br +0 -0
- package/dist/public/assets/_qzqTdGii2.js.br +0 -0
- package/dist/public/assets/_uQRM3h6j.js.br +0 -0
- package/dist/public/assets/diff-view-DO46OB-W.css.br +0 -0
- package/dist/public/assets/index-CbawCDfW.js.br +0 -0
- package/dist/public/assets/index-DlWmrprG.css.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 "./_DFLVEzHW.js";
|
|
3
|
-
import { $ as _id, A as _attr_class, B as _content, C as iconBtnXs, D as tone, E as phase, F as _attr_select_value, G as _el_resume, H as _dynamic_tag, I as _attr_style, J as _flush_head, K as _escape, L as _attrs, M as _attr_input_value, N as _attr_option_value, O as $global, P as _attr_or, Q as _html, R as _attrs_partial, S as iconBtnRow, St as writeScope, T as metaTrunc, V as _content_resume, W as _el_read_error, X as _hoist, Y as _for_of, Z as _hoist_read_error, _ as sectionCount$1, _t as _trailers, at as _scope_reason, b as btnSm, bt as attrTag, c as sideNavOpen, ct as _sep, d as rankRepos, dt as _set_serialize_reason, et as _if, f as icon_back_default, ft as _show_end, g as row, gt as _to_text, h as iconBtn$2, ht as _template, i as icon_sidebar_default, it as _scope_id, k as _attr, l as workspaceTab, lt as _serialize_guard, m as icon_base_default, mt as _subscribe, n as findIconBtn, nt as _resume, ot as _scope_with_id, p as icon_refresh_default, pt as _show_start, q as _existing_scope, r as findInput, rt as _resume_branch, s as setWorkspaceTab, st as _script, tt as _peek_scope_id, ut as _serialize_if, v as toast_default, vt as _try, w as inputLg, xt as withPageAssets, y as btnLg, yt as _var, z as _await } from "./
|
|
3
|
+
import { $ as _id, A as _attr_class, B as _content, C as iconBtnXs, D as tone, E as phase, F as _attr_select_value, G as _el_resume, H as _dynamic_tag, I as _attr_style, J as _flush_head, K as _escape, L as _attrs, M as _attr_input_value, N as _attr_option_value, O as $global, P as _attr_or, Q as _html, R as _attrs_partial, S as iconBtnRow, St as writeScope, T as metaTrunc, V as _content_resume, W as _el_read_error, X as _hoist, Y as _for_of, Z as _hoist_read_error, _ as sectionCount$1, _t as _trailers, at as _scope_reason, b as btnSm, bt as attrTag, c as sideNavOpen, ct as _sep, d as rankRepos, dt as _set_serialize_reason, et as _if, f as icon_back_default, ft as _show_end, g as row, gt as _to_text, h as iconBtn$2, ht as _template, i as icon_sidebar_default, it as _scope_id, k as _attr, l as workspaceTab, lt as _serialize_guard, m as icon_base_default, mt as _subscribe, n as findIconBtn, nt as _resume, ot as _scope_with_id, p as icon_refresh_default, pt as _show_start, q as _existing_scope, r as findInput, rt as _resume_branch, s as setWorkspaceTab, st as _script, tt as _peek_scope_id, ut as _serialize_if, v as toast_default, vt as _try, w as inputLg, xt as withPageAssets, y as btnLg, yt as _var, z as _await } from "./_w176gAgg.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { createServer } from "node:http";
|
|
6
6
|
import path from "node:path";
|
|
@@ -3085,15 +3085,15 @@ function agentFromCommand(command) {
|
|
|
3085
3085
|
}
|
|
3086
3086
|
//#endregion
|
|
3087
3087
|
//#region src/tags/settings-page.css.ts
|
|
3088
|
-
var content$2 = "
|
|
3089
|
-
var agentGrid = "
|
|
3090
|
-
var toolGrid = "
|
|
3088
|
+
var content$2 = "_bR _bu _bv";
|
|
3089
|
+
var agentGrid = "_bV _bf";
|
|
3090
|
+
var toolGrid = "_b4 _bf";
|
|
3091
3091
|
//#endregion
|
|
3092
3092
|
//#region src/tags/page-head.marko
|
|
3093
3093
|
var page_head_default = _template("o", (input) => {
|
|
3094
3094
|
const $scope0_reason = _scope_reason(), $sg__input_onBack__OR__input_meta__OR__input_actions = _serialize_guard($scope0_reason, 1), $sg__input_meta = _serialize_guard($scope0_reason, 5), $sg__input_actions = _serialize_guard($scope0_reason, 6), $si__input_meta = _serialize_if($scope0_reason, 5), $si__input_actions = _serialize_if($scope0_reason, 6);
|
|
3095
3095
|
const $scope0_id = _scope_id();
|
|
3096
|
-
_html(`<header${_attr_class("
|
|
3096
|
+
_html(`<header${_attr_class("_bw")}>`);
|
|
3097
3097
|
_if(() => {
|
|
3098
3098
|
if (input.onBack) {
|
|
3099
3099
|
const $scope1_id = _scope_id();
|
|
@@ -3105,11 +3105,11 @@ var page_head_default = _template("o", (input) => {
|
|
|
3105
3105
|
return 0;
|
|
3106
3106
|
}
|
|
3107
3107
|
}, $scope0_id, "b", _serialize_guard($scope0_reason, 0), _serialize_guard($scope0_reason, 2), $sg__input_onBack__OR__input_meta__OR__input_actions, 0, 1);
|
|
3108
|
-
_html(`<div${_attr_class("
|
|
3108
|
+
_html(`<div${_attr_class("_by")}><h1${_attr("id", input.titleId)}${_attr_class("_bx")}>${_escape(input.title)}${_el_resume($scope0_id, "e", _serialize_guard($scope0_reason, 4))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 3))}`);
|
|
3109
3109
|
_if(() => {
|
|
3110
3110
|
if (input.meta) {
|
|
3111
3111
|
const $scope2_id = _scope_id();
|
|
3112
|
-
_html(`<p${_attr_class("
|
|
3112
|
+
_html(`<p${_attr_class("_bz")}>`);
|
|
3113
3113
|
_dynamic_tag($scope2_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
|
|
3114
3114
|
_html("</p>");
|
|
3115
3115
|
$si__input_meta && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -3120,7 +3120,7 @@ var page_head_default = _template("o", (input) => {
|
|
|
3120
3120
|
_if(() => {
|
|
3121
3121
|
if (input.actions) {
|
|
3122
3122
|
const $scope3_id = _scope_id();
|
|
3123
|
-
_html(`<div${_attr_class("
|
|
3123
|
+
_html(`<div${_attr_class("_bA")}>`);
|
|
3124
3124
|
_dynamic_tag($scope3_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
3125
3125
|
_html("</div>");
|
|
3126
3126
|
$si__input_actions && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -3632,7 +3632,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3632
3632
|
const strayAccountsFor = _resume((f) => (usage?.agents || []).filter((u) => !instanceIds.has(u.agent) && familyOf(u.agent, families) === f.id), "r16", $scope0_id);
|
|
3633
3633
|
const otherUsage = (usage?.agents || []).filter((u) => familyOf(u.agent, families) === null);
|
|
3634
3634
|
const titleId = _id();
|
|
3635
|
-
_html(`<div${_attr_class("
|
|
3635
|
+
_html(`<div${_attr_class("_bs")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bt")}><div${_attr_class(content$2)}>`);
|
|
3636
3636
|
_set_serialize_reason({
|
|
3637
3637
|
0: $sg__input_onExit,
|
|
3638
3638
|
1: $sg__input_onExit,
|
|
@@ -3654,12 +3654,12 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3654
3654
|
return 0;
|
|
3655
3655
|
} else if (setup.ready) {
|
|
3656
3656
|
const $scope42_id = _scope_id();
|
|
3657
|
-
_html(`<span${_attr_class("
|
|
3657
|
+
_html(`<span${_attr_class("_bT")}>Ready</span> — tools, GitHub, and an agent are all in place.`);
|
|
3658
3658
|
writeScope($scope42_id, {});
|
|
3659
3659
|
return 1;
|
|
3660
3660
|
} else {
|
|
3661
3661
|
const $scope5_id = _scope_id();
|
|
3662
|
-
_html(`<span${_attr_class("
|
|
3662
|
+
_html(`<span${_attr_class("_bU")}>Not ready</span> — missing <!>${_escape(setup.missing.map((m) => MISSING_LABEL[m] || m).join(", "))}${_el_resume($scope5_id, "b")}.`);
|
|
3663
3663
|
_subscribe($setup_missing__closures, writeScope($scope5_id, {}));
|
|
3664
3664
|
return 2;
|
|
3665
3665
|
}
|
|
@@ -3706,11 +3706,11 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3706
3706
|
return 0;
|
|
3707
3707
|
}
|
|
3708
3708
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
3709
|
-
_html(`<section${_attr_class("
|
|
3709
|
+
_html(`<section${_attr_class("_bc")} aria-labelledby=settings-agents><div${_attr_class("_bd")}><h2 id=settings-agents${_attr_class("_br")}>Agents</h2><div${_attr_class("_s")}></div><label${_attr_class("_bX")}><span${_attr_class("_M")}>Default</span><span${_attr_class("_g")}>`);
|
|
3710
3710
|
_attr_select_value($scope0_id, "m", input.preferred, _resume(function(v) {
|
|
3711
3711
|
setPreferred(v);
|
|
3712
3712
|
}, "r0", $scope0_id), () => {
|
|
3713
|
-
_html(`<select${_attr_class(["_h", "
|
|
3713
|
+
_html(`<select${_attr_class(["_h", "_bY"])} aria-label="Default agent — starts when a workspace has no session yet" title="Starts when a workspace has no session yet">`);
|
|
3714
3714
|
_for_of(input.agents.filter((a) => a !== "shell"), (id) => {
|
|
3715
3715
|
const $scope43_id = _scope_id();
|
|
3716
3716
|
_html(`<option${_attr_option_value(id)}>${_escape(agentLabel(id))}${_el_resume($scope43_id, "b", $sg__input_agents)}</option>${_el_resume($scope43_id, "a", $sg__input_agents)}`);
|
|
@@ -3731,14 +3731,14 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3731
3731
|
const rows = lone ? [] : a.instances;
|
|
3732
3732
|
const loneAccounts = lone && lone.enabled ? accountsFor(lone.id) : [];
|
|
3733
3733
|
const extraAccounts = strayAccountsFor(a);
|
|
3734
|
-
_html(`<li${_attr_class(["
|
|
3734
|
+
_html(`<li${_attr_class(["_bh", "_bW"])}><div${_attr_class("_bZ")}>`);
|
|
3735
3735
|
_set_serialize_reason(12);
|
|
3736
3736
|
const $childScope4 = _peek_scope_id();
|
|
3737
3737
|
icon_agent_default({
|
|
3738
3738
|
agent: a.id,
|
|
3739
3739
|
size: 18
|
|
3740
3740
|
});
|
|
3741
|
-
_html(`<div${_attr_class("
|
|
3741
|
+
_html(`<div${_attr_class("_bi")}><span${_attr_class("_bk")}><span${_attr_class("_bj")}>${_escape(a.label)}${_el_resume($scope1_id, "g")}</span>`);
|
|
3742
3742
|
_if(() => {
|
|
3743
3743
|
if (lone && input.preferred === lone.id) {
|
|
3744
3744
|
const $scope44_id = _scope_id();
|
|
@@ -3751,12 +3751,12 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3751
3751
|
_if(() => {
|
|
3752
3752
|
if (active.has(a.id)) {
|
|
3753
3753
|
const $scope10_id = _scope_id();
|
|
3754
|
-
_html(`<span${_attr_class("
|
|
3754
|
+
_html(`<span${_attr_class("_bS")}><span${_attr_class("_z")}></span><!>${_escape(active.get(a.id) || "Starting…")}${_el_resume($scope10_id, "c")}</span>`);
|
|
3755
3755
|
_subscribe($active__closures, writeScope($scope10_id, {}));
|
|
3756
3756
|
return 0;
|
|
3757
3757
|
} else if (!a.installed) {
|
|
3758
3758
|
const $scope45_id = _scope_id();
|
|
3759
|
-
_html(`<span${_attr_class("
|
|
3759
|
+
_html(`<span${_attr_class("_bl")}>Not installed</span>`);
|
|
3760
3760
|
writeScope($scope45_id, {});
|
|
3761
3761
|
return 1;
|
|
3762
3762
|
}
|
|
@@ -3788,18 +3788,18 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3788
3788
|
_if(() => {
|
|
3789
3789
|
if (rows.length || loneAccounts.length || extraAccounts.length) {
|
|
3790
3790
|
const $scope2_id = _scope_id();
|
|
3791
|
-
_html(`<ul${_attr_class("
|
|
3791
|
+
_html(`<ul${_attr_class("_b3")}>`);
|
|
3792
3792
|
_for_of(rows, (inst) => {
|
|
3793
3793
|
const $scope3_id = _scope_id();
|
|
3794
3794
|
const accounts = inst.enabled ? accountsFor(inst.id) : [];
|
|
3795
|
-
_html(`<li${_attr_class("
|
|
3795
|
+
_html(`<li${_attr_class("_b0")}><div${_attr_class("_b1")}>`);
|
|
3796
3796
|
_set_serialize_reason(12);
|
|
3797
3797
|
const $childScope5 = _peek_scope_id();
|
|
3798
3798
|
icon_agent_default({
|
|
3799
3799
|
agent: inst.id,
|
|
3800
3800
|
size: 15
|
|
3801
3801
|
});
|
|
3802
|
-
_html(`<span${_attr_class(["
|
|
3802
|
+
_html(`<span${_attr_class(["_b2", "_r"])}>${_escape(inst.command)}${_el_resume($scope3_id, "e")}</span>`);
|
|
3803
3803
|
_if(() => {
|
|
3804
3804
|
if (input.preferred === inst.id) {
|
|
3805
3805
|
const $scope46_id = _scope_id();
|
|
@@ -3874,7 +3874,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3874
3874
|
}, "id", $scope0_id, "q", 1, 1, 1, 0, 1);
|
|
3875
3875
|
_for_of(otherUsage, (u) => {
|
|
3876
3876
|
const $scope50_id = _scope_id();
|
|
3877
|
-
_html(`<li${_attr_class(["
|
|
3877
|
+
_html(`<li${_attr_class(["_bh", "_bW"])}>`);
|
|
3878
3878
|
_set_serialize_reason(6);
|
|
3879
3879
|
const $childScope9 = _peek_scope_id();
|
|
3880
3880
|
usage_meters_default({ agent: u });
|
|
@@ -3885,21 +3885,21 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3885
3885
|
_if(() => {
|
|
3886
3886
|
if (!usage && families.length) {
|
|
3887
3887
|
const $scope51_id = _scope_id();
|
|
3888
|
-
_html(`<p${_attr_class("
|
|
3888
|
+
_html(`<p${_attr_class("_bn")}><span${_attr_class("_z")}></span> Loading usage…</p>`);
|
|
3889
3889
|
writeScope($scope51_id, {});
|
|
3890
3890
|
return 0;
|
|
3891
3891
|
} else if (usage?.error) {
|
|
3892
3892
|
const $scope6_id = _scope_id();
|
|
3893
|
-
_html(`<p${_attr_class("
|
|
3893
|
+
_html(`<p${_attr_class("_bn")}>${_escape(usage.error)}${_el_resume($scope6_id, "b")}</p>`);
|
|
3894
3894
|
writeScope($scope6_id, {});
|
|
3895
3895
|
return 1;
|
|
3896
3896
|
}
|
|
3897
3897
|
}, $scope0_id, "s", 1, 1, 1, 0, 1);
|
|
3898
|
-
_html(`</section><section${_attr_class("
|
|
3898
|
+
_html(`</section><section${_attr_class("_bc")} aria-labelledby=settings-github><div${_attr_class("_bd")}><h2 id=settings-github${_attr_class("_br")}>GitHub</h2></div><ul${_attr_class("_bf")}>`);
|
|
3899
3899
|
_for_of(setup?.github || [], (h) => {
|
|
3900
3900
|
const $scope11_id = _scope_id();
|
|
3901
3901
|
const $for_content3__h_host__closures = /* @__PURE__ */ new Set();
|
|
3902
|
-
_html(`<li${_attr_class("
|
|
3902
|
+
_html(`<li${_attr_class("_bh")}><div${_attr_class("_bi")}><span${_attr_class("_bk")}><span${_attr_class(["_bj", "_r"])}>${_escape(h.host)}${_el_resume($scope11_id, "e")}</span>`);
|
|
3903
3903
|
_if(() => {
|
|
3904
3904
|
if (h.isEnterprise) {
|
|
3905
3905
|
const $scope54_id = _scope_id();
|
|
@@ -3912,22 +3912,22 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3912
3912
|
_if(() => {
|
|
3913
3913
|
if (active.has(h.host) && authCodes.has(h.host)) {
|
|
3914
3914
|
const $scope22_id = _scope_id();
|
|
3915
|
-
_html(`<span${_attr_class("
|
|
3915
|
+
_html(`<span${_attr_class("_bS")}><span${_attr_class("_z")}></span> Enter code <strong${_attr_class("_ca")}>${_escape(authCodes.get(h.host))}${_el_resume($scope22_id, "d")}</strong> at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_cb")}>${_escape(h.host)}${_el_resume($scope22_id, "f")}/login/device</a>${_el_resume($scope22_id, "e")}</span>`);
|
|
3916
3916
|
_subscribe($authCodes__closures, writeScope($scope22_id, {}));
|
|
3917
3917
|
return 0;
|
|
3918
3918
|
} else if (active.has(h.host)) {
|
|
3919
3919
|
const $scope12_id = _scope_id();
|
|
3920
|
-
_html(`<span${_attr_class("
|
|
3920
|
+
_html(`<span${_attr_class("_bS")}><span${_attr_class("_z")}></span><!>${_escape(active.get(h.host) || "Starting…")}${_el_resume($scope12_id, "c")}</span>`);
|
|
3921
3921
|
_subscribe($active__closures, writeScope($scope12_id, { Ccg: 1 }));
|
|
3922
3922
|
return 1;
|
|
3923
3923
|
} else if (h.authed) {
|
|
3924
3924
|
const $scope52_id = _scope_id();
|
|
3925
|
-
_html(`<span${_attr_class("
|
|
3925
|
+
_html(`<span${_attr_class("_bl")}>Signed in<!>${h.user ? ` as ${_escape(`${_to_text(h.user)}`)}` : ""}${_el_resume($scope52_id, "b")}</span>`);
|
|
3926
3926
|
writeScope($scope52_id, {});
|
|
3927
3927
|
return 2;
|
|
3928
3928
|
} else {
|
|
3929
3929
|
const $scope53_id = _scope_id();
|
|
3930
|
-
_html(`<span${_attr_class("
|
|
3930
|
+
_html(`<span${_attr_class("_bl")}>${_escape(h.error || "Not signed in")}${_el_resume($scope53_id, "b")}</span>`);
|
|
3931
3931
|
writeScope($scope53_id, {});
|
|
3932
3932
|
return 3;
|
|
3933
3933
|
}
|
|
@@ -3949,7 +3949,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3949
3949
|
if (h.isEnterprise) {
|
|
3950
3950
|
const $scope24_id = _scope_id();
|
|
3951
3951
|
_html(`<button${_attr_class([
|
|
3952
|
-
"
|
|
3952
|
+
"_bm",
|
|
3953
3953
|
"_T",
|
|
3954
3954
|
{ ["_k"]: confirmingRemove === h.host }
|
|
3955
3955
|
])}${confirmingRemove === h.host ? _attr("title", `Forget ${h.host}? (gh stays signed in)`) : _attr("title", `Forget ${h.host}`)}>${confirmingRemove === h.host ? "Forget?" : "×"}${_el_resume($scope24_id, "b")}</button>${_el_resume($scope24_id, "a")}`);
|
|
@@ -3975,7 +3975,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3975
3975
|
_if(() => {
|
|
3976
3976
|
if (setup && !setup.github.length) {
|
|
3977
3977
|
const $scope55_id = _scope_id();
|
|
3978
|
-
_html(`<p${_attr_class("
|
|
3978
|
+
_html(`<p${_attr_class("_bn")}>Install the GitHub CLI below to sign in.</p>`);
|
|
3979
3979
|
writeScope($scope55_id, {});
|
|
3980
3980
|
return 0;
|
|
3981
3981
|
}
|
|
@@ -3983,13 +3983,13 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3983
3983
|
_if(() => {
|
|
3984
3984
|
if (setup) {
|
|
3985
3985
|
const $scope32_id = _scope_id();
|
|
3986
|
-
_html(`<form${_attr_class("
|
|
3986
|
+
_html(`<form${_attr_class("_b_")}><input${_attr_input_value($scope32_id, "b", hostInput)}${_attr_class(inputLg)} type=text placeholder="Add a GitHub Enterprise host, e.g. github.example.com" aria-label="GitHub Enterprise host" autocomplete=off spellcheck=false>${_el_resume($scope32_id, "b")}<button${_attr_class(btnSm)} type=submit${_attr("disabled", !hostInput.trim() || hostBusy)}>${hostBusy ? "Adding…" : "Add host"}${_el_resume($scope32_id, "d")}</button>${_el_resume($scope32_id, "c")}</form>${_el_resume($scope32_id, "a")}`);
|
|
3987
3987
|
_script($scope32_id, "r30");
|
|
3988
3988
|
writeScope($scope32_id, {});
|
|
3989
3989
|
return 0;
|
|
3990
3990
|
}
|
|
3991
3991
|
}, $scope0_id, "y", 1, 1, 1, 0, 1);
|
|
3992
|
-
_html(`</section><section${_attr_class("
|
|
3992
|
+
_html(`</section><section${_attr_class("_bc")} aria-labelledby=settings-machine><div${_attr_class("_bd")}><h2 id=settings-machine${_attr_class("_br")}>Machine</h2>`);
|
|
3993
3993
|
_if(() => {
|
|
3994
3994
|
if (missingCount) {
|
|
3995
3995
|
const $scope39_id = _scope_id();
|
|
@@ -4029,7 +4029,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4029
4029
|
_if(() => {
|
|
4030
4030
|
if (setup && !setup.mise.installed) {
|
|
4031
4031
|
const $scope15_id = _scope_id();
|
|
4032
|
-
_html(`<p${_attr_class("
|
|
4032
|
+
_html(`<p${_attr_class("_bn")}>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($scope15_id, "c")}</button>${_el_resume($scope15_id, "b")}</p>`);
|
|
4033
4033
|
_script($scope15_id, "r33");
|
|
4034
4034
|
writeScope($scope15_id, {});
|
|
4035
4035
|
return 0;
|
|
@@ -4043,11 +4043,11 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4043
4043
|
const $for_content4__t_path__closures = /* @__PURE__ */ new Set();
|
|
4044
4044
|
const $for_content4__t_latest__closures = /* @__PURE__ */ new Set();
|
|
4045
4045
|
const $for_content4__t_id__closures = /* @__PURE__ */ new Set();
|
|
4046
|
-
_html(`<li${_attr_class([row, { ["
|
|
4046
|
+
_html(`<li${_attr_class([row, { ["_b5"]: !t.installed }])}><span${_attr_class(["_b6", "_r"])}>${_escape(t.label)}${_el_resume($scope16_id, "c")}</span>`);
|
|
4047
4047
|
_if(() => {
|
|
4048
4048
|
if (active.has(t.id)) {
|
|
4049
4049
|
const $scope17_id = _scope_id();
|
|
4050
|
-
_html(`<span${_attr_class("
|
|
4050
|
+
_html(`<span${_attr_class("_bS")}><span${_attr_class("_z")}></span><!>${_escape(active.get(t.id) || "Starting…")}${_el_resume($scope17_id, "c")}</span>`);
|
|
4051
4051
|
_subscribe($active__closures, writeScope($scope17_id, { Ccg: 2 }));
|
|
4052
4052
|
return 0;
|
|
4053
4053
|
} else if (t.installed) {
|
|
@@ -4055,7 +4055,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4055
4055
|
_if(() => {
|
|
4056
4056
|
if (t.version) {
|
|
4057
4057
|
const $scope29_id = _scope_id();
|
|
4058
|
-
_html(`<button${_attr_class(["
|
|
4058
|
+
_html(`<button${_attr_class(["_b7", "_r"])}${_attr("title", `${t.path || t.label} — pin a version`)}>v<!>${_escape(t.version)}${_el_resume($scope29_id, "b")}</button>${_el_resume($scope29_id, "a")}`);
|
|
4059
4059
|
_script($scope29_id, "r34");
|
|
4060
4060
|
_subscribe($for_content4__t_path__closures, _subscribe($for_content4__t_version__closures, _subscribe($for_content4__t_label__closures, writeScope($scope29_id, { Cu: 1 }))));
|
|
4061
4061
|
return 0;
|
|
@@ -4069,7 +4069,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4069
4069
|
_if(() => {
|
|
4070
4070
|
if (outdated(t)) {
|
|
4071
4071
|
const $scope36_id = _scope_id();
|
|
4072
|
-
_html(`<button${_attr_class([btnSm, "
|
|
4072
|
+
_html(`<button${_attr_class([btnSm, "_b8"])}${_attr("title", `Update to v${t.latest}`)}>↑ <!>${_escape(t.latest)}${_el_resume($scope36_id, "b")}</button>${_el_resume($scope36_id, "a")}`);
|
|
4073
4073
|
_script($scope36_id, "r35");
|
|
4074
4074
|
_subscribe($for_content4__t_latest__closures, writeScope($scope36_id, {}));
|
|
4075
4075
|
return 0;
|
|
@@ -4149,19 +4149,19 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4149
4149
|
_if(() => {
|
|
4150
4150
|
if (hits && hits.length) {
|
|
4151
4151
|
const $scope19_id = _scope_id();
|
|
4152
|
-
_html(`<ul${_attr_class([toolGrid, "
|
|
4152
|
+
_html(`<ul${_attr_class([toolGrid, "_b9"])}>`);
|
|
4153
4153
|
_for_of(hits, (h) => {
|
|
4154
4154
|
const $scope20_id = _scope_id();
|
|
4155
|
-
_html(`<li${_attr_class(row)}><div${_attr_class("
|
|
4155
|
+
_html(`<li${_attr_class(row)}><div${_attr_class("_bi")}><span${_attr_class(["_b6", "_r"])}>${_escape(h.name)}${_el_resume($scope20_id, "d")}</span>`);
|
|
4156
4156
|
_if(() => {
|
|
4157
4157
|
if (active.has(h.name)) {
|
|
4158
4158
|
const $scope21_id = _scope_id();
|
|
4159
|
-
_html(`<span${_attr_class("
|
|
4159
|
+
_html(`<span${_attr_class("_bS")}><span${_attr_class("_z")}></span><!>${_escape(active.get(h.name) || "Starting…")}${_el_resume($scope21_id, "c")}</span>`);
|
|
4160
4160
|
_subscribe($active__closures, writeScope($scope21_id, { Ccg: 4 }));
|
|
4161
4161
|
return 0;
|
|
4162
4162
|
} else if (h.description) {
|
|
4163
4163
|
const $scope60_id = _scope_id();
|
|
4164
|
-
_html(`<span${_attr_class("
|
|
4164
|
+
_html(`<span${_attr_class("_bl")}${_attr("title", h.description)}>${_escape(h.description)}${_el_resume($scope60_id, "b")}</span>${_el_resume($scope60_id, "a")}`);
|
|
4165
4165
|
writeScope($scope60_id, {});
|
|
4166
4166
|
return 1;
|
|
4167
4167
|
}
|
|
@@ -4200,7 +4200,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4200
4200
|
return 0;
|
|
4201
4201
|
} else if (hits && !searching) {
|
|
4202
4202
|
const $scope33_id = _scope_id();
|
|
4203
|
-
_html(`<p${_attr_class("
|
|
4203
|
+
_html(`<p${_attr_class("_bn")}>No tools match “<!>${_escape(query)}${_el_resume($scope33_id, "b")}”.</p>`);
|
|
4204
4204
|
_subscribe($query__closures, writeScope($scope33_id, {}));
|
|
4205
4205
|
return 1;
|
|
4206
4206
|
}
|
|
@@ -4306,12 +4306,12 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4306
4306
|
});
|
|
4307
4307
|
//#endregion
|
|
4308
4308
|
//#region src/tags/new-workspace.css.ts
|
|
4309
|
-
var content$1 = "_bB
|
|
4310
|
-
var section$1 = "_bF
|
|
4309
|
+
var content$1 = "_bB _bu";
|
|
4310
|
+
var section$1 = "_bF _bc";
|
|
4311
4311
|
var curBase = "_bJ _N _M";
|
|
4312
|
-
var archived = "_bN
|
|
4312
|
+
var archived = "_bN _bc";
|
|
4313
4313
|
var archivedHint = "_bO _M";
|
|
4314
|
-
var archivedCard = "_bP
|
|
4314
|
+
var archivedCard = "_bP _bh";
|
|
4315
4315
|
var resultBranch = "_cr _Q _d";
|
|
4316
4316
|
var branchInput = "_cw _P _O";
|
|
4317
4317
|
//#endregion
|
|
@@ -4387,7 +4387,7 @@ var repo_picker_default = _template("q", (input) => {
|
|
|
4387
4387
|
_if(() => {
|
|
4388
4388
|
if (filter && !catalog) {
|
|
4389
4389
|
const $scope8_id = _scope_id();
|
|
4390
|
-
_html(`<p${_attr_class("
|
|
4390
|
+
_html(`<p${_attr_class("_bn")}>Loading repos…</p>`);
|
|
4391
4391
|
writeScope($scope8_id, {});
|
|
4392
4392
|
return 0;
|
|
4393
4393
|
}
|
|
@@ -4411,7 +4411,7 @@ var repo_picker_default = _template("q", (input) => {
|
|
|
4411
4411
|
_if(() => {
|
|
4412
4412
|
if (!branches) {
|
|
4413
4413
|
const $scope9_id = _scope_id();
|
|
4414
|
-
_html(`<p${_attr_class("
|
|
4414
|
+
_html(`<p${_attr_class("_bn")}><span${_attr_class("_z")}></span> Loading branches…</p>`);
|
|
4415
4415
|
writeScope($scope9_id, {});
|
|
4416
4416
|
return 0;
|
|
4417
4417
|
} else {
|
|
@@ -4438,7 +4438,7 @@ var repo_picker_default = _template("q", (input) => {
|
|
|
4438
4438
|
_if(() => {
|
|
4439
4439
|
if (!shown.length) {
|
|
4440
4440
|
const $scope10_id = _scope_id();
|
|
4441
|
-
_html(`<li><p${_attr_class("
|
|
4441
|
+
_html(`<li><p${_attr_class("_bn")}>No branches match.</p></li>`);
|
|
4442
4442
|
writeScope($scope10_id, {});
|
|
4443
4443
|
return 0;
|
|
4444
4444
|
}
|
|
@@ -4463,7 +4463,7 @@ var repo_picker_default = _template("q", (input) => {
|
|
|
4463
4463
|
return 0;
|
|
4464
4464
|
} else if (filter && catalog) {
|
|
4465
4465
|
const $scope1_id = _scope_id();
|
|
4466
|
-
_html(`<p${_attr_class("
|
|
4466
|
+
_html(`<p${_attr_class("_bn")}>No repos match "<!>${_escape(filter)}${_el_resume($scope1_id, "b")}".</p>`);
|
|
4467
4467
|
writeScope($scope1_id, {});
|
|
4468
4468
|
return 1;
|
|
4469
4469
|
}
|
|
@@ -4577,7 +4577,7 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4577
4577
|
}
|
|
4578
4578
|
}, "m4", $scope0_id);
|
|
4579
4579
|
const titleId = _id();
|
|
4580
|
-
_html(`<div${_attr_class("
|
|
4580
|
+
_html(`<div${_attr_class("_bs")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bt")}><div${_attr_class(content$1)}>`);
|
|
4581
4581
|
_set_serialize_reason({
|
|
4582
4582
|
0: $sg__input_onExit,
|
|
4583
4583
|
1: $sg__input_onExit,
|
|
@@ -4614,9 +4614,9 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4614
4614
|
return 0;
|
|
4615
4615
|
}
|
|
4616
4616
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
4617
|
-
_html(`<label${_attr_class("_bE")}><span${_attr_class("
|
|
4617
|
+
_html(`<label${_attr_class("_bE")}><span${_attr_class("_br")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
|
|
4618
4618
|
name = _new_name;
|
|
4619
|
-
}, "m0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class(section$1)}><div${_attr_class("_bG")}><h2${_attr_class("
|
|
4619
|
+
}, "m0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class(section$1)}><div${_attr_class("_bG")}><h2${_attr_class("_br")}>Repos</h2><button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
4620
4620
|
_set_serialize_reason(1);
|
|
4621
4621
|
const $childScope2 = _peek_scope_id();
|
|
4622
4622
|
icon_refresh_default({
|
|
@@ -4645,7 +4645,7 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4645
4645
|
_if(() => {
|
|
4646
4646
|
if (!selected.length) {
|
|
4647
4647
|
const $scope11_id = _scope_id();
|
|
4648
|
-
_html(`<li${_attr_class("
|
|
4648
|
+
_html(`<li${_attr_class("_bn")}>No repos yet — search below to add one (or create empty).</li>`);
|
|
4649
4649
|
writeScope($scope11_id, {});
|
|
4650
4650
|
return 0;
|
|
4651
4651
|
}
|
|
@@ -4712,10 +4712,10 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4712
4712
|
_if(() => {
|
|
4713
4713
|
if (archived$1.length) {
|
|
4714
4714
|
const $scope3_id = _scope_id();
|
|
4715
|
-
_html(`<section${_attr_class(archived)}><div${_attr_class("_bG")}><h2${_attr_class("
|
|
4715
|
+
_html(`<section${_attr_class(archived)}><div${_attr_class("_bG")}><h2${_attr_class("_br")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_escape(archived$1.length)}${_el_resume($scope3_id, "e", $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore a parked space instead of creating a new one.</p><ul${_attr_class("_bf")}>`);
|
|
4716
4716
|
_for_of(archived$1, (ws) => {
|
|
4717
4717
|
const $scope4_id = _scope_id();
|
|
4718
|
-
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("
|
|
4718
|
+
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("_bi")}><span${_attr_class("_bj")}>${_escape(ws.name)}${_el_resume($scope4_id, "d", $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_r"])}${_attr("title", ws.display_path || ws.path)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope4_id, "f", $sg__input_workspaces)}</span>${_el_resume($scope4_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnLg)}${_attr("disabled", busy || !!restoring)}>`);
|
|
4719
4719
|
_if(() => {
|
|
4720
4720
|
if (restoring === ws.id) {
|
|
4721
4721
|
const $scope14_id = _scope_id();
|
|
@@ -4855,8 +4855,8 @@ function activeAgent(session) {
|
|
|
4855
4855
|
const command = session.state?.command?.trim();
|
|
4856
4856
|
return command && agentFromCommand(command) || session.agent;
|
|
4857
4857
|
}
|
|
4858
|
-
var iconBtn$1 = "
|
|
4859
|
-
var navToggle = "
|
|
4858
|
+
var iconBtn$1 = "_dL _d";
|
|
4859
|
+
var navToggle = "_dQ _d";
|
|
4860
4860
|
_template("D", (input) => {
|
|
4861
4861
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
4862
4862
|
const $scope0_id = _scope_id();
|
|
@@ -4904,7 +4904,7 @@ var rowIcon = "_fM _Q _d";
|
|
|
4904
4904
|
var close = "_fN _Q _d _T";
|
|
4905
4905
|
//#endregion
|
|
4906
4906
|
//#region src/styles/session-pop.css.ts
|
|
4907
|
-
var sessionPop = "
|
|
4907
|
+
var sessionPop = "_fz _U";
|
|
4908
4908
|
//#endregion
|
|
4909
4909
|
//#region src/tags/icons/icon-diff.marko
|
|
4910
4910
|
var icon_diff_default = _template("G", (input) => {
|
|
@@ -5257,7 +5257,7 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5257
5257
|
_html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
|
|
5258
5258
|
_for_of([], (agent) => {
|
|
5259
5259
|
const $scope7_id = _scope_id();
|
|
5260
|
-
_html(`<button${_attr_class("
|
|
5260
|
+
_html(`<button${_attr_class("_fA")}>`);
|
|
5261
5261
|
_set_serialize_reason(12);
|
|
5262
5262
|
const $childScope2 = _peek_scope_id();
|
|
5263
5263
|
icon_agent_default({
|
|
@@ -5521,25 +5521,25 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5521
5521
|
const wsSelected = true;
|
|
5522
5522
|
const otherIds = itemIds.filter((id) => id !== ws.id);
|
|
5523
5523
|
const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
|
|
5524
|
-
_html(`<aside${_attr_class(["
|
|
5525
|
-
["
|
|
5526
|
-
["
|
|
5524
|
+
_html(`<aside${_attr_class(["_dP", {
|
|
5525
|
+
["_dN"]: !navOpen,
|
|
5526
|
+
["_dO"]: isPage
|
|
5527
5527
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
5528
5528
|
_if(() => {
|
|
5529
5529
|
if (isPage) {
|
|
5530
5530
|
const $scope1_id = _scope_id();
|
|
5531
|
-
_html(`<header${_attr_class("
|
|
5531
|
+
_html(`<header${_attr_class("_dS")}><h1${_attr_class("_dT")}>Workspaces</h1><div${_attr_class("_dU")}>`);
|
|
5532
5532
|
_if(() => {}, $scope1_id, "d", 1, 1, 1, 0, 1);
|
|
5533
5533
|
_html(`<button${_attr_class([
|
|
5534
5534
|
iconBtn$1,
|
|
5535
|
-
"
|
|
5536
|
-
{ ["
|
|
5535
|
+
"_dV",
|
|
5536
|
+
{ ["_dK"]: view === "settings" }
|
|
5537
5537
|
])} title=Settings aria-pressed=${view === "settings" ? "true" : "false"}>`);
|
|
5538
5538
|
icon_settings_default({ size: 16 });
|
|
5539
5539
|
_if(() => {
|
|
5540
5540
|
if (input.setupReady === false) {
|
|
5541
5541
|
const $scope10_id = _scope_id();
|
|
5542
|
-
_html(`<span${_attr_class(["_t", "
|
|
5542
|
+
_html(`<span${_attr_class(["_t", "_dM"])} title="Machine setup incomplete"></span>`);
|
|
5543
5543
|
$si__input_setupReady && writeScope($scope10_id, {});
|
|
5544
5544
|
return 0;
|
|
5545
5545
|
}
|
|
@@ -5550,13 +5550,13 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5550
5550
|
return 0;
|
|
5551
5551
|
}
|
|
5552
5552
|
}, $scope0_id, "b", 1, 1, 1, 0, 1);
|
|
5553
|
-
_html(`<div${_attr_class("
|
|
5553
|
+
_html(`<div${_attr_class("_dY")}>`);
|
|
5554
5554
|
_for_of(listIds, (wsId) => {
|
|
5555
5555
|
const $scope2_id = _scope_id();
|
|
5556
5556
|
_if(() => {
|
|
5557
5557
|
if (isPage && wsId === ws.id) {
|
|
5558
5558
|
const $scope11_id = _scope_id();
|
|
5559
|
-
_html(`<h2${_attr_class(["
|
|
5559
|
+
_html(`<h2${_attr_class(["_br", "_dW"])}>Current</h2>`);
|
|
5560
5560
|
writeScope($scope11_id, {});
|
|
5561
5561
|
return 0;
|
|
5562
5562
|
}
|
|
@@ -5564,7 +5564,7 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5564
5564
|
_if(() => {
|
|
5565
5565
|
if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
|
|
5566
5566
|
const $scope12_id = _scope_id();
|
|
5567
|
-
_html(`<h2${_attr_class(["
|
|
5567
|
+
_html(`<h2${_attr_class(["_br", "_dW"])}>Other spaces</h2>`);
|
|
5568
5568
|
writeScope($scope12_id, {});
|
|
5569
5569
|
return 0;
|
|
5570
5570
|
}
|
|
@@ -5662,7 +5662,7 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5662
5662
|
railHover = null;
|
|
5663
5663
|
}, 150);
|
|
5664
5664
|
}, "u9", $scope3_id);
|
|
5665
|
-
_html(`<div${_attr_class("
|
|
5665
|
+
_html(`<div${_attr_class("_dZ")}>`);
|
|
5666
5666
|
_for_of(itemIds, (wsId, i) => {
|
|
5667
5667
|
const $scope4_id = _scope_id();
|
|
5668
5668
|
_html("<span>");
|
|
@@ -5709,7 +5709,7 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5709
5709
|
if (railHover) {
|
|
5710
5710
|
const $scope5_id = _scope_id();
|
|
5711
5711
|
const hoverId = railHover.id;
|
|
5712
|
-
_html(`<div${_attr_class(["_U", "
|
|
5712
|
+
_html(`<div${_attr_class(["_U", "_d2"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
|
|
5713
5713
|
_set_serialize_reason({
|
|
5714
5714
|
0: 1,
|
|
5715
5715
|
1: 1,
|
|
@@ -5811,7 +5811,7 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5811
5811
|
return 0;
|
|
5812
5812
|
}
|
|
5813
5813
|
}, $scope0_id, "d");
|
|
5814
|
-
_html(`<div${_attr_class("
|
|
5814
|
+
_html(`<div${_attr_class("_d0")}>`);
|
|
5815
5815
|
_if(() => {
|
|
5816
5816
|
if (isPage) {
|
|
5817
5817
|
const $scope6_id = _scope_id();
|
|
@@ -5819,7 +5819,7 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5819
5819
|
"_i",
|
|
5820
5820
|
"_j",
|
|
5821
5821
|
btnLg,
|
|
5822
|
-
"
|
|
5822
|
+
"_dX"
|
|
5823
5823
|
])} title="New workspace" aria-pressed=${view === "new" ? "true" : "false"}>`);
|
|
5824
5824
|
icon_folder_plus_default({ size: 16 });
|
|
5825
5825
|
_html(` New workspace</button>${_el_resume($scope6_id, "a")}`);
|
|
@@ -5842,19 +5842,19 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5842
5842
|
return 1;
|
|
5843
5843
|
}
|
|
5844
5844
|
}, $scope7_id, "a", 1, 1, 1, "</button>", 1);
|
|
5845
|
-
_html(`<div${_attr_class(["_s", "
|
|
5845
|
+
_html(`<div${_attr_class(["_s", "_d1"])}></div>`);
|
|
5846
5846
|
_if(() => {}, $scope7_id, "c", 1, 1, 1, 0, 1);
|
|
5847
|
-
_html(`<button${_attr_class([iconBtn$1, { ["
|
|
5847
|
+
_html(`<button${_attr_class([iconBtn$1, { ["_dK"]: view === "settings" }])} title=Settings aria-pressed=${view === "settings" ? "true" : "false"}>`);
|
|
5848
5848
|
icon_settings_default({ size: 15 });
|
|
5849
5849
|
_if(() => {
|
|
5850
5850
|
if (input.setupReady === false) {
|
|
5851
5851
|
const $scope15_id = _scope_id();
|
|
5852
|
-
_html(`<span${_attr_class(["_t", "
|
|
5852
|
+
_html(`<span${_attr_class(["_t", "_dM"])} title="Machine setup incomplete"></span>`);
|
|
5853
5853
|
$si__input_setupReady && writeScope($scope15_id, {});
|
|
5854
5854
|
return 0;
|
|
5855
5855
|
}
|
|
5856
5856
|
}, $scope7_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
5857
|
-
_html(`</button>${_el_resume($scope7_id, "d")}<button${_attr_class([iconBtn$1, { ["
|
|
5857
|
+
_html(`</button>${_el_resume($scope7_id, "d")}<button${_attr_class([iconBtn$1, { ["_dK"]: view === "new" }])} title="New workspace" aria-pressed=${view === "new" ? "true" : "false"}>`);
|
|
5858
5858
|
icon_folder_plus_default({ size: 16 });
|
|
5859
5859
|
_html(`</button>${_el_resume($scope7_id, "g")}`);
|
|
5860
5860
|
_script($scope7_id, "u23");
|
|
@@ -5929,9 +5929,9 @@ function repoWebUrl(fullName) {
|
|
|
5929
5929
|
return `https://github.com/${fullName}`;
|
|
5930
5930
|
}
|
|
5931
5931
|
var iconBtn = "_R _d";
|
|
5932
|
-
var sectionCount = "
|
|
5933
|
-
var content = "_cX
|
|
5934
|
-
var pageMeta = "_cY
|
|
5932
|
+
var sectionCount = "_be _C _D";
|
|
5933
|
+
var content = "_cX _bu";
|
|
5934
|
+
var pageMeta = "_cY _bz";
|
|
5935
5935
|
var pathMeta = "_c1 _r";
|
|
5936
5936
|
var dangerHint = "_c7 _M";
|
|
5937
5937
|
//#endregion
|
|
@@ -6031,7 +6031,7 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6031
6031
|
setTimeout(() => loadProcs(void 0), 500);
|
|
6032
6032
|
}, "k5", $scope0_id);
|
|
6033
6033
|
const titleId = _id();
|
|
6034
|
-
_html(`<div${_attr_class("
|
|
6034
|
+
_html(`<div${_attr_class("_bs")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bt")}><div${_attr_class(content)}>`);
|
|
6035
6035
|
_set_serialize_reason({
|
|
6036
6036
|
0: $sg__input_onExit,
|
|
6037
6037
|
1: $sg__input_onExit,
|
|
@@ -6084,22 +6084,22 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6084
6084
|
_if(() => {
|
|
6085
6085
|
if (pendingAction && actionStep) {
|
|
6086
6086
|
const $scope7_id = _scope_id();
|
|
6087
|
-
_html(`<p${_attr_class("
|
|
6087
|
+
_html(`<p${_attr_class("_bb")}><span${_attr_class("_z")}></span><!>${_escape(actionStep)}${_el_resume($scope7_id, "c")}</p>`);
|
|
6088
6088
|
writeScope($scope7_id, {});
|
|
6089
6089
|
return 0;
|
|
6090
6090
|
}
|
|
6091
6091
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
6092
|
-
_html(`<section${_attr_class("
|
|
6092
|
+
_html(`<section${_attr_class("_bc")}><div${_attr_class("_bd")}><h2${_attr_class("_br")}>Repos</h2><span${_attr_class(sectionCount)}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "k")}</span><div${_attr_class("_s")}></div><button${_attr_class(iconBtn)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
6093
6093
|
_set_serialize_reason(1);
|
|
6094
6094
|
const $childScope2 = _peek_scope_id();
|
|
6095
6095
|
icon_refresh_default({
|
|
6096
6096
|
size: 14,
|
|
6097
6097
|
class: catalogRefreshing && "_y"
|
|
6098
6098
|
});
|
|
6099
|
-
_html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("
|
|
6099
|
+
_html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("_bf")}>`);
|
|
6100
6100
|
_for_of(ws.repos, (row) => {
|
|
6101
6101
|
const $scope1_id = _scope_id();
|
|
6102
|
-
_html(`<li${_attr_class("
|
|
6102
|
+
_html(`<li${_attr_class("_bh")}><div${_attr_class("_bi")}><span${_attr_class(["_bj", "_r"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bk")}><a${_attr_class(["_bl", "_c3"])}${_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")}`);
|
|
6103
6103
|
_if(() => {
|
|
6104
6104
|
if (row.base_branch !== row.default_branch) {
|
|
6105
6105
|
const $scope12_id = _scope_id();
|
|
@@ -6118,7 +6118,7 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6118
6118
|
} else {
|
|
6119
6119
|
const $scope6_id = _scope_id();
|
|
6120
6120
|
_html(`<button${_attr_class([
|
|
6121
|
-
"
|
|
6121
|
+
"_bm",
|
|
6122
6122
|
"_T",
|
|
6123
6123
|
{ ["_k"]: confirmingRemove === row.full_name }
|
|
6124
6124
|
])}${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")}`);
|
|
@@ -6137,14 +6137,14 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6137
6137
|
}, "full_name", $scope0_id, "p", 1, 1, 1, 0, 1);
|
|
6138
6138
|
_for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
|
|
6139
6139
|
const $scope14_id = _scope_id();
|
|
6140
|
-
_html(`<li${_attr_class(["
|
|
6140
|
+
_html(`<li${_attr_class(["_bh", "_bg"])}><span${_attr_class("_z")}></span><div${_attr_class("_bi")}><span${_attr_class("_bl")}>Adding <!>${_escape(name)}${_el_resume($scope14_id, "e")}…</span></div></li>`);
|
|
6141
6141
|
writeScope($scope14_id, {});
|
|
6142
6142
|
}, (n) => n, $scope0_id, "q", 1, 1, 1, 0, 1);
|
|
6143
6143
|
_html("</ul>");
|
|
6144
6144
|
_if(() => {
|
|
6145
6145
|
if (!ws.repos.length && !busy.size) {
|
|
6146
6146
|
const $scope15_id = _scope_id();
|
|
6147
|
-
_html(`<p${_attr_class("
|
|
6147
|
+
_html(`<p${_attr_class("_bn")}>No repos yet — search below to add one.</p>`);
|
|
6148
6148
|
writeScope($scope15_id, {});
|
|
6149
6149
|
return 0;
|
|
6150
6150
|
}
|
|
@@ -6169,14 +6169,14 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6169
6169
|
_if(() => {
|
|
6170
6170
|
if (running.length) {
|
|
6171
6171
|
const $scope9_id = _scope_id();
|
|
6172
|
-
_html(`<section${_attr_class("
|
|
6172
|
+
_html(`<section${_attr_class("_bc")}><div${_attr_class("_bd")}><h2${_attr_class("_br")}>Running</h2><span${_attr_class(sectionCount)}>${_escape(running.length)}${_el_resume($scope9_id, "e")}</span></div><ul${_attr_class("_bf")}>`);
|
|
6173
6173
|
_for_of(running, (p) => {
|
|
6174
6174
|
const $scope10_id = _scope_id();
|
|
6175
|
-
_html(`<li${_attr_class("
|
|
6175
|
+
_html(`<li${_attr_class("_bh")}><div${_attr_class("_bi")}${_attr("title", p.args)}><span${_attr_class(["_bj", "_r"])}>${_escape(p.cmd)}${_el_resume($scope10_id, "d")}</span>`);
|
|
6176
6176
|
_if(() => {
|
|
6177
6177
|
if (p.ports.length) {
|
|
6178
6178
|
const $scope16_id = _scope_id();
|
|
6179
|
-
_html(`<span${_attr_class("
|
|
6179
|
+
_html(`<span${_attr_class("_bk")}>`);
|
|
6180
6180
|
_for_of(p.ports, (port) => {
|
|
6181
6181
|
const $scope17_id = _scope_id();
|
|
6182
6182
|
_html(`<button${_attr_class(["_m", "_c4"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope17_id, "b")}</button>${_el_resume($scope17_id, "a")}`);
|
|
@@ -6187,7 +6187,7 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6187
6187
|
return 0;
|
|
6188
6188
|
}
|
|
6189
6189
|
}, $scope10_id, "e", 1, 1, 1, 0, 1);
|
|
6190
|
-
_html(`</div>${_el_resume($scope10_id, "b")}<button${_attr_class(["
|
|
6190
|
+
_html(`</div>${_el_resume($scope10_id, "b")}<button${_attr_class(["_bm", "_T"])} type=button${_attr("title", `Kill ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>×</button>${_el_resume($scope10_id, "f")}</li>`);
|
|
6191
6191
|
_script($scope10_id, "k16");
|
|
6192
6192
|
writeScope($scope10_id, {
|
|
6193
6193
|
k: p?.ports,
|
|
@@ -6199,7 +6199,7 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6199
6199
|
return 0;
|
|
6200
6200
|
}
|
|
6201
6201
|
}, $scope0_id, "v", 1, 1, 1, 0, 1);
|
|
6202
|
-
_html(`<section${_attr_class(["
|
|
6202
|
+
_html(`<section${_attr_class(["_bc", "_c5"])}><div${_attr_class("_bd")}><h2${_attr_class("_br")}>Workspace</h2></div><div${_attr_class("_c6")}>`);
|
|
6203
6203
|
_if(() => {
|
|
6204
6204
|
if (ws.status === "active") {
|
|
6205
6205
|
const $scope4_id = _scope_id();
|
|
@@ -6300,15 +6300,15 @@ var term_find_default = _template("v", (input) => {
|
|
|
6300
6300
|
const canStep = hasQuery && open;
|
|
6301
6301
|
const keybar = input.placement === "keybar";
|
|
6302
6302
|
_html(`<div${_attr_class([
|
|
6303
|
-
"
|
|
6304
|
-
keybar ? "
|
|
6305
|
-
!open && "
|
|
6306
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
6303
|
+
"_fe",
|
|
6304
|
+
keybar ? "_fg" : "_ff",
|
|
6305
|
+
!open && "_fi"
|
|
6306
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_e_", keybar ? "_fh" : "_fb"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
6307
6307
|
if (!open) return;
|
|
6308
6308
|
query = v;
|
|
6309
6309
|
live.query = v;
|
|
6310
6310
|
run(0);
|
|
6311
|
-
}, "v0", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
6311
|
+
}, "v0", $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")}`);
|
|
6312
6312
|
_script($scope0_id, "v4");
|
|
6313
6313
|
_script($scope0_id, "v5");
|
|
6314
6314
|
_script($scope0_id, "v6");
|
|
@@ -6578,7 +6578,7 @@ var term_default = _template("w", (input) => {
|
|
|
6578
6578
|
trapOpen = true;
|
|
6579
6579
|
}
|
|
6580
6580
|
}, "w14", $scope0_id);
|
|
6581
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
6581
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_c8")}><div${_attr_class("_c9")}></div>${_el_resume($scope0_id, "b")}`);
|
|
6582
6582
|
_if(() => {
|
|
6583
6583
|
if (findOpen) {
|
|
6584
6584
|
const $scope12_id = _scope_id();
|
|
@@ -6605,7 +6605,7 @@ var term_default = _template("w", (input) => {
|
|
|
6605
6605
|
_if(() => {
|
|
6606
6606
|
if (uploading) {
|
|
6607
6607
|
const $scope19_id = _scope_id();
|
|
6608
|
-
_html(`<div${_attr_class("
|
|
6608
|
+
_html(`<div${_attr_class("_de")}>uploading…</div>`);
|
|
6609
6609
|
writeScope($scope19_id, {});
|
|
6610
6610
|
return 0;
|
|
6611
6611
|
}
|
|
@@ -6613,7 +6613,7 @@ var term_default = _template("w", (input) => {
|
|
|
6613
6613
|
_if(() => {
|
|
6614
6614
|
if (copiedFlash) {
|
|
6615
6615
|
const $scope20_id = _scope_id();
|
|
6616
|
-
_html(`<div${_attr_class("
|
|
6616
|
+
_html(`<div${_attr_class("_dd")}>Copied</div>`);
|
|
6617
6617
|
writeScope($scope20_id, {});
|
|
6618
6618
|
return 0;
|
|
6619
6619
|
}
|
|
@@ -6622,7 +6622,7 @@ var term_default = _template("w", (input) => {
|
|
|
6622
6622
|
_if(() => {
|
|
6623
6623
|
if (trapOpen) {
|
|
6624
6624
|
const $scope11_id = _scope_id();
|
|
6625
|
-
_html(`<div${_attr_class("
|
|
6625
|
+
_html(`<div${_attr_class("_df")}><div${_attr_class("_dg")}><p${_attr_class("_dJ")}>Long-press below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope11_id, "d")}<button${_attr_class("_i")}>Cancel</button>${_el_resume($scope11_id, "e")}</div>${_el_resume($scope11_id, "b")}</div>${_el_resume($scope11_id, "a")}`);
|
|
6626
6626
|
_script($scope11_id, "w24");
|
|
6627
6627
|
_script($scope11_id, "w25");
|
|
6628
6628
|
writeScope($scope11_id, {});
|
|
@@ -6728,7 +6728,7 @@ var work_view_default = _template("z", (input) => {
|
|
|
6728
6728
|
let DiffView = null;
|
|
6729
6729
|
const loadDiffView = _resume(() => {
|
|
6730
6730
|
if (DiffView) return;
|
|
6731
|
-
import("./
|
|
6731
|
+
import("./_FtnOihLp.js").then((m) => {
|
|
6732
6732
|
DiffView = m.default;
|
|
6733
6733
|
});
|
|
6734
6734
|
}, "z4", $scope0_id);
|
|
@@ -6898,7 +6898,7 @@ var work_view_default = _template("z", (input) => {
|
|
|
6898
6898
|
toggleDiff();
|
|
6899
6899
|
}
|
|
6900
6900
|
}, "z20", $scope0_id);
|
|
6901
|
-
_html(`<div${_attr_class(["
|
|
6901
|
+
_html(`<div${_attr_class(["_cd", { ["_cc"]: view === "nav" }])}><div${_attr_class("_ce")}>`);
|
|
6902
6902
|
_set_serialize_reason({
|
|
6903
6903
|
0: _serialize_guard($scope0_reason, 0),
|
|
6904
6904
|
1: _serialize_guard($scope0_reason, 1),
|
|
@@ -6971,7 +6971,7 @@ var work_view_default = _template("z", (input) => {
|
|
|
6971
6971
|
openDiff(pr);
|
|
6972
6972
|
}, "z32", $scope0_id)
|
|
6973
6973
|
});
|
|
6974
|
-
_html(`</div><div${_attr_class("
|
|
6974
|
+
_html(`</div><div${_attr_class("_cf")}>`);
|
|
6975
6975
|
_if(() => {
|
|
6976
6976
|
if (error) {
|
|
6977
6977
|
const $scope8_id = _scope_id();
|
|
@@ -7080,13 +7080,13 @@ var work_view_default = _template("z", (input) => {
|
|
|
7080
7080
|
}
|
|
7081
7081
|
}, $scope0_id, "h");
|
|
7082
7082
|
_if(() => {}, $scope0_id, "i");
|
|
7083
|
-
_html(`<div${_attr_class(["
|
|
7083
|
+
_html(`<div${_attr_class(["_ch", { ["_cg"]: view !== "term" }])}>`);
|
|
7084
7084
|
_if(() => {
|
|
7085
7085
|
if (shownSessions) {
|
|
7086
7086
|
const $scope5_id = _scope_id();
|
|
7087
7087
|
_for_of(shownSessions, (s) => {
|
|
7088
7088
|
const $scope6_id = _scope_id();
|
|
7089
|
-
_html(`<div${_attr_class(["
|
|
7089
|
+
_html(`<div${_attr_class(["_ci", { ["_cj"]: s.id === curTab }])}>`);
|
|
7090
7090
|
_set_serialize_reason({
|
|
7091
7091
|
0: 1,
|
|
7092
7092
|
1: 1,
|
|
@@ -7153,7 +7153,7 @@ var work_view_default = _template("z", (input) => {
|
|
|
7153
7153
|
_if(() => {
|
|
7154
7154
|
if (!shownSessions.length && view === "term") {
|
|
7155
7155
|
const $scope7_id = _scope_id();
|
|
7156
|
-
_html(`<div${_attr_class("
|
|
7156
|
+
_html(`<div${_attr_class("_bo")}><span>No sessions in this workspace.</span><button${_attr_class(["_i", "_j"])}${_attr("disabled", spawning)}>${spawning ? "Starting…" : `Start ${_escape(`${input.preferred || "shell"}`)}`}${_el_resume($scope7_id, "c")}</button>${_el_resume($scope7_id, "b")}</div>`);
|
|
7157
7157
|
_script($scope7_id, "z54");
|
|
7158
7158
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
|
|
7159
7159
|
return 0;
|
|
@@ -7163,7 +7163,7 @@ var work_view_default = _template("z", (input) => {
|
|
|
7163
7163
|
return 0;
|
|
7164
7164
|
} else {
|
|
7165
7165
|
const $scope10_id = _scope_id();
|
|
7166
|
-
_html(`<p${_attr_class("
|
|
7166
|
+
_html(`<p${_attr_class("_bo")}>Loading sessions…</p>`);
|
|
7167
7167
|
writeScope($scope10_id, {});
|
|
7168
7168
|
return 1;
|
|
7169
7169
|
}
|
|
@@ -15000,4 +15000,4 @@ server.listen(port, () => {
|
|
|
15000
15000
|
//#endregion
|
|
15001
15001
|
export {};
|
|
15002
15002
|
|
|
15003
|
-
;var __MARKO_MANIFEST__={"esfPH6H":{"block":[2,"stylesheet#/assets/index-
|
|
15003
|
+
;var __MARKO_MANIFEST__={"esfPH6H":{"block":[2,"stylesheet#/assets/index-BVwzVz2z.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/index-BVwzVz2z.css\"",">"],"defer":[2,"/assets/index-CxFTRVMW.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/index-CxFTRVMW.js\"","></script>"]}};
|