@dylanpiercey/work 0.0.63 → 0.0.64
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 +11 -11
- package/dist/{_DJw6QDd6.js → _ByG3GBnQ.js} +25 -25
- package/dist/_CTJQVrRJ.js +2 -0
- package/dist/{_CkMJ5gOG.js → _D4h268HL.js} +2 -2
- package/dist/{_BejZlkF2.js → _Dp9_KYvx.js} +2 -2
- package/dist/index.mjs +111 -111
- package/dist/public/assets/{_CHMOdIBF.js → _65H_kIjK.js} +1 -1
- package/dist/public/assets/_65H_kIjK.js.br +0 -0
- package/dist/public/assets/{_zsjVrG7P2.js → _6Myj1hK42.js} +1 -1
- package/dist/public/assets/_6Myj1hK42.js.br +0 -0
- package/dist/public/assets/{_DEV1HUyH2.js → _6VYAvwvG2.js} +1 -1
- package/dist/public/assets/_6VYAvwvG2.js.br +0 -0
- package/dist/public/assets/{_BNV4QnFb.js → _72K44f_h.js} +1 -1
- package/dist/public/assets/_72K44f_h.js.br +0 -0
- package/dist/public/assets/{_C2_4nxz12.js → _83k-11-P2.js} +1 -1
- package/dist/public/assets/_83k-11-P2.js.br +0 -0
- package/dist/public/assets/{_ScSFhsTr.js → _B-8Z8oIY.js} +1 -1
- package/dist/public/assets/_B-8Z8oIY.js.br +0 -0
- package/dist/public/assets/{_CB8oTGqD.js → _B0FsfqEm.js} +1 -1
- package/dist/public/assets/_B0FsfqEm.js.br +0 -0
- package/dist/public/assets/{_RGFDEa9_.js → _B2jIVPhB.js} +1 -1
- package/dist/public/assets/_B2jIVPhB.js.br +0 -0
- package/dist/public/assets/{_BZD7uwi9.js → _B36I-e1O.js} +1 -1
- package/dist/public/assets/_B36I-e1O.js.br +0 -0
- package/dist/public/assets/{_Bif8ny7j.js → _B4P5vBPb.js} +1 -1
- package/dist/public/assets/_B4P5vBPb.js.br +0 -0
- package/dist/public/assets/{_BahoEUEl.js → _B675zlkV.js} +1 -1
- package/dist/public/assets/_B675zlkV.js.br +0 -0
- package/dist/public/assets/{_Dr_nTK62.js → _B9zB94hy.js} +1 -1
- package/dist/public/assets/_B9zB94hy.js.br +0 -0
- package/dist/public/assets/{_DMp6AZKA.js → _BAr_CSvD.js} +1 -1
- package/dist/public/assets/_BAr_CSvD.js.br +0 -0
- package/dist/public/assets/{_Bla8nnOV.js → _BB8x4GTA.js} +1 -1
- package/dist/public/assets/_BB8x4GTA.js.br +0 -0
- package/dist/public/assets/{_Doqy2mrF.js → _BGLpZn66.js} +1 -1
- package/dist/public/assets/_BGLpZn66.js.br +0 -0
- package/dist/public/assets/{_BoCIFzP2.js → _BGv8AOWB.js} +1 -1
- package/dist/public/assets/_BGv8AOWB.js.br +0 -0
- package/dist/public/assets/{_nC_b5l_M.js → _BLABN4kn.js} +1 -1
- package/dist/public/assets/_BLABN4kn.js.br +0 -0
- package/dist/public/assets/{_B1u5Uh3T.js → _BQwUqJm0.js} +1 -1
- package/dist/public/assets/_BQwUqJm0.js.br +0 -0
- package/dist/public/assets/{_Q2qQseiI.js → _BUEsgS4s.js} +1 -1
- package/dist/public/assets/_BUEsgS4s.js.br +0 -0
- package/dist/public/assets/{_truEpqET.js → _BXY6tRzK.js} +1 -1
- package/dist/public/assets/_BXY6tRzK.js.br +0 -0
- package/dist/public/assets/{_BAXP44gA.js → _BYylAsTA.js} +1 -1
- package/dist/public/assets/{_qx7lbylN2.js → _Bc8VjeFk2.js} +1 -1
- package/dist/public/assets/_Bc8VjeFk2.js.br +0 -0
- package/dist/public/assets/{_DY1QitV0.js → _BiiQtd9c.js} +1 -1
- package/dist/public/assets/_BiiQtd9c.js.br +0 -0
- package/dist/public/assets/{_DsAa3Xy42.js → _BjGw33mr2.js} +1 -1
- package/dist/public/assets/_BjGw33mr2.js.br +0 -0
- package/dist/public/assets/{_Cs32oXy_.js → _BlBM-IPW.js} +1 -1
- package/dist/public/assets/_BlBM-IPW.js.br +0 -0
- package/dist/public/assets/{_DMG2J4L6.js → _Bnwodjuf.js} +1 -1
- package/dist/public/assets/_Bnwodjuf.js.br +0 -0
- package/dist/public/assets/{_DnGXgL0i.js → _ByQr15Ol.js} +1 -1
- package/dist/public/assets/_ByQr15Ol.js.br +0 -0
- package/dist/public/assets/{_DWEFguKu2.js → _C-KRN5dY2.js} +1 -1
- package/dist/public/assets/_C-KRN5dY2.js.br +0 -0
- package/dist/public/assets/{_BKY_bMM62.js → _C0b7auhW2.js} +1 -1
- package/dist/public/assets/_C0b7auhW2.js.br +0 -0
- package/dist/public/assets/{_CgpdtGAg.js → _C3qyrcO9.js} +7 -7
- package/dist/public/assets/_C3qyrcO9.js.br +0 -0
- package/dist/public/assets/{_C6wSov-5.js → _C4L-8mN9.js} +1 -1
- package/dist/public/assets/_C4L-8mN9.js.br +0 -0
- package/dist/public/assets/{_BbXjig9P.js → _C6OJXRQI.js} +1 -1
- package/dist/public/assets/_C6OJXRQI.js.br +0 -0
- package/dist/public/assets/{_DC4Dw05t2.js → _C6i1ekF42.js} +1 -1
- package/dist/public/assets/_C6i1ekF42.js.br +0 -0
- package/dist/public/assets/{_DpeDF238.js → _CBMt4SVC.js} +1 -1
- package/dist/public/assets/_CBMt4SVC.js.br +0 -0
- package/dist/public/assets/{_BjiBvh1F.js → _CDBu-zyP.js} +1 -1
- package/dist/public/assets/_CDBu-zyP.js.br +0 -0
- package/dist/public/assets/{_Bj-Zy9Ch.js → _CELqAUa7.js} +1 -1
- package/dist/public/assets/_CELqAUa7.js.br +0 -0
- package/dist/public/assets/{_BCdzZsn_.js → _CQ5YFSoz.js} +1 -1
- package/dist/public/assets/_CQ5YFSoz.js.br +0 -0
- package/dist/public/assets/{_CtQ_-SCD.js → _CQQncEWM.js} +1 -1
- package/dist/public/assets/_CQQncEWM.js.br +0 -0
- package/dist/public/assets/{_H1UQxF28.js → _CXIiF1dy.js} +1 -1
- package/dist/public/assets/_CXIiF1dy.js.br +0 -0
- package/dist/public/assets/{_CWkU9r_m2.js → _CaLmf9v_2.js} +1 -1
- package/dist/public/assets/_CaLmf9v_2.js.br +0 -0
- package/dist/public/assets/{_BrBaHkF_.js → _CeOxF4LT.js} +1 -1
- package/dist/public/assets/_CeOxF4LT.js.br +0 -0
- package/dist/public/assets/{_D9dzMNoO.js → _ChYx4fuj.js} +1 -1
- package/dist/public/assets/_ChYx4fuj.js.br +0 -0
- package/dist/public/assets/{_DCzqg64T.js → _ClsvLvq9.js} +1 -1
- package/dist/public/assets/_ClsvLvq9.js.br +0 -0
- package/dist/public/assets/{_Bkllp0As2.js → _CqhZzk-Q2.js} +1 -1
- package/dist/public/assets/_CqhZzk-Q2.js.br +0 -0
- package/dist/public/assets/{_0hNVJ4JO.js → _Cr7e9j-6.js} +1 -1
- package/dist/public/assets/_Cr7e9j-6.js.br +0 -0
- package/dist/public/assets/{_C7-54NbO2.js → _CtQra8T02.js} +1 -1
- package/dist/public/assets/_CtQra8T02.js.br +0 -0
- package/dist/public/assets/{_BUaVKf3v.js → _CyFVU5mI.js} +1 -1
- package/dist/public/assets/_CyFVU5mI.js.br +0 -0
- package/dist/public/assets/{_14DmBChI.js → _D8H9ELrD.js} +1 -1
- package/dist/public/assets/_D8H9ELrD.js.br +0 -0
- package/dist/public/assets/{_CzaqMz01.js → _D9FzQerH.js} +1 -1
- package/dist/public/assets/_D9FzQerH.js.br +0 -0
- package/dist/public/assets/{_CgVVBthC2.js → _DKF6tfmm2.js} +1 -1
- package/dist/public/assets/_DKF6tfmm2.js.br +0 -0
- package/dist/public/assets/{_CgURBhsh2.js → _DOJFehKz2.js} +1 -1
- package/dist/public/assets/_DOJFehKz2.js.br +0 -0
- package/dist/public/assets/{_DJx4mibl2.js → _DX_MU9Ip2.js} +1 -1
- package/dist/public/assets/_DX_MU9Ip2.js.br +0 -0
- package/dist/public/assets/{_ag3kTHuY2.js → _D_R54hG22.js} +1 -1
- package/dist/public/assets/{_Obe-5WKG.js → _Dpc4pIai.js} +1 -1
- package/dist/public/assets/_Dpc4pIai.js.br +0 -0
- package/dist/public/assets/{_njLSeYG62.js → _DqAeQk4f2.js} +1 -1
- package/dist/public/assets/_DqAeQk4f2.js.br +0 -0
- package/dist/public/assets/{_BMO-ZlzJ2.js → _DtD9G9S42.js} +1 -1
- package/dist/public/assets/_DtD9G9S42.js.br +0 -0
- package/dist/public/assets/{_CzNPwcYd2.js → _DvzUNhWh2.js} +1 -1
- package/dist/public/assets/_DvzUNhWh2.js.br +0 -0
- package/dist/public/assets/{_C-PAnbq3.js → _Dw8kHrnm.js} +1 -1
- package/dist/public/assets/_Dw8kHrnm.js.br +0 -0
- package/dist/public/assets/{_DGvaJxhN2.js → _DwCYtjJB2.js} +1 -1
- package/dist/public/assets/_DwCYtjJB2.js.br +0 -0
- package/dist/public/assets/{_FR2-KCqo.js → _EoDv3B2A.js} +1 -1
- package/dist/public/assets/_EoDv3B2A.js.br +0 -0
- package/dist/public/assets/{_CNqZ6LTq.js → _Gx1ovPtL.js} +1 -1
- package/dist/public/assets/_Gx1ovPtL.js.br +0 -0
- package/dist/public/assets/{_HcLcz5i82.js → _Nmnye_1v2.js} +1 -1
- package/dist/public/assets/_Nmnye_1v2.js.br +0 -0
- package/dist/public/assets/{_D_J7qiyb.js → _QGeXhMMm.js} +1 -1
- package/dist/public/assets/_QGeXhMMm.js.br +0 -0
- package/dist/public/assets/{_CqHt_5jw.js → _VnlUe4Rf.js} +1 -1
- package/dist/public/assets/_VnlUe4Rf.js.br +0 -0
- package/dist/public/assets/{_CoqFfSgg.js → _WEEnryDw.js} +1 -1
- package/dist/public/assets/_WEEnryDw.js.br +0 -0
- package/dist/public/assets/{_BfBRi0102.js → _fTU9kouy2.js} +1 -1
- package/dist/public/assets/_fTU9kouy2.js.br +0 -0
- package/dist/public/assets/{_BDTS1vjt2.js → _fyZQIdGC2.js} +1 -1
- package/dist/public/assets/{_1aIRcB6T.js → _hEhKGFAi.js} +1 -1
- package/dist/public/assets/_hEhKGFAi.js.br +0 -0
- package/dist/public/assets/{_Cs0oBAc0.js → _p-UGLikC.js} +1 -1
- package/dist/public/assets/_p-UGLikC.js.br +0 -0
- package/dist/public/assets/{_BnfbE-el2.js → _pX9ul4kg2.js} +1 -1
- package/dist/public/assets/_pX9ul4kg2.js.br +0 -0
- package/dist/public/assets/{_AnXZ6DjN2.js → _pjASEu__2.js} +1 -1
- package/dist/public/assets/_pjASEu__2.js.br +0 -0
- package/dist/public/assets/{_CuOsKTaT.js → _qD4lxfI_.js} +1 -1
- package/dist/public/assets/_qD4lxfI_.js.br +0 -0
- package/dist/public/assets/{_urqw27Lw.js → _shu_NdEE.js} +1 -1
- package/dist/public/assets/_shu_NdEE.js.br +0 -0
- package/dist/public/assets/{_BAgMDk4k.js → _xVbSYHC1.js} +1 -1
- package/dist/public/assets/_xVbSYHC1.js.br +0 -0
- package/dist/public/assets/{_CGdTzrY1.js → _z4329J00.js} +1 -1
- package/dist/public/assets/_z4329J00.js.br +0 -0
- package/dist/public/assets/{diff-view-09aeMxRD.css → diff-view-DvND0FJi.css} +1 -1
- package/dist/public/assets/diff-view-DvND0FJi.css.br +0 -0
- package/dist/public/assets/{index-Kv8GSDQR.css → index-BAolJTj4.css} +1 -1
- package/dist/public/assets/index-BAolJTj4.css.br +0 -0
- package/dist/public/assets/{index-BJoarFLU.js → index-CPfPckDD.js} +3 -3
- package/dist/public/assets/index-CPfPckDD.js.br +0 -0
- package/install.sh +4 -4
- package/lib/setup/doctor.mjs +1 -1
- package/lib/setup/install.mjs +1 -1
- package/package.json +1 -1
- package/scripts/migrate.mjs +1 -1
- package/dist/_C_Ufy3TH.js +0 -2
- package/dist/public/assets/_0hNVJ4JO.js.br +0 -0
- package/dist/public/assets/_14DmBChI.js.br +0 -0
- package/dist/public/assets/_1aIRcB6T.js.br +0 -0
- package/dist/public/assets/_AnXZ6DjN2.js.br +0 -0
- package/dist/public/assets/_B1u5Uh3T.js.br +0 -0
- package/dist/public/assets/_BAgMDk4k.js.br +0 -0
- package/dist/public/assets/_BCdzZsn_.js.br +0 -0
- package/dist/public/assets/_BKY_bMM62.js.br +0 -0
- package/dist/public/assets/_BMO-ZlzJ2.js.br +0 -0
- package/dist/public/assets/_BNV4QnFb.js.br +0 -0
- package/dist/public/assets/_BUaVKf3v.js.br +0 -0
- package/dist/public/assets/_BZD7uwi9.js.br +0 -0
- package/dist/public/assets/_BahoEUEl.js.br +0 -0
- package/dist/public/assets/_BbXjig9P.js.br +0 -0
- package/dist/public/assets/_BfBRi0102.js.br +0 -0
- package/dist/public/assets/_Bif8ny7j.js.br +0 -0
- package/dist/public/assets/_Bj-Zy9Ch.js.br +0 -0
- package/dist/public/assets/_BjiBvh1F.js.br +0 -0
- package/dist/public/assets/_Bkllp0As2.js.br +0 -0
- package/dist/public/assets/_Bla8nnOV.js.br +0 -0
- package/dist/public/assets/_BnfbE-el2.js.br +0 -0
- package/dist/public/assets/_BoCIFzP2.js.br +0 -0
- package/dist/public/assets/_BrBaHkF_.js.br +0 -0
- package/dist/public/assets/_C-PAnbq3.js.br +0 -0
- package/dist/public/assets/_C2_4nxz12.js.br +0 -0
- package/dist/public/assets/_C6wSov-5.js.br +0 -0
- package/dist/public/assets/_C7-54NbO2.js.br +0 -0
- package/dist/public/assets/_CB8oTGqD.js.br +0 -0
- package/dist/public/assets/_CGdTzrY1.js.br +0 -0
- package/dist/public/assets/_CHMOdIBF.js.br +0 -0
- package/dist/public/assets/_CNqZ6LTq.js.br +0 -0
- package/dist/public/assets/_CWkU9r_m2.js.br +0 -0
- package/dist/public/assets/_CgURBhsh2.js.br +0 -0
- package/dist/public/assets/_CgVVBthC2.js.br +0 -0
- package/dist/public/assets/_CgpdtGAg.js.br +0 -0
- package/dist/public/assets/_CoqFfSgg.js.br +0 -0
- package/dist/public/assets/_CqHt_5jw.js.br +0 -0
- package/dist/public/assets/_Cs0oBAc0.js.br +0 -0
- package/dist/public/assets/_Cs32oXy_.js.br +0 -0
- package/dist/public/assets/_CtQ_-SCD.js.br +0 -0
- package/dist/public/assets/_CuOsKTaT.js.br +0 -0
- package/dist/public/assets/_CzNPwcYd2.js.br +0 -0
- package/dist/public/assets/_CzaqMz01.js.br +0 -0
- package/dist/public/assets/_D9dzMNoO.js.br +0 -0
- package/dist/public/assets/_DC4Dw05t2.js.br +0 -0
- package/dist/public/assets/_DCzqg64T.js.br +0 -0
- package/dist/public/assets/_DEV1HUyH2.js.br +0 -0
- package/dist/public/assets/_DGvaJxhN2.js.br +0 -0
- package/dist/public/assets/_DJx4mibl2.js.br +0 -0
- package/dist/public/assets/_DMG2J4L6.js.br +0 -0
- package/dist/public/assets/_DMp6AZKA.js.br +0 -0
- package/dist/public/assets/_DWEFguKu2.js.br +0 -0
- package/dist/public/assets/_DY1QitV0.js.br +0 -0
- package/dist/public/assets/_D_J7qiyb.js.br +0 -0
- package/dist/public/assets/_DnGXgL0i.js.br +0 -0
- package/dist/public/assets/_Doqy2mrF.js.br +0 -0
- package/dist/public/assets/_DpeDF238.js.br +0 -0
- package/dist/public/assets/_Dr_nTK62.js.br +0 -0
- package/dist/public/assets/_DsAa3Xy42.js.br +0 -0
- package/dist/public/assets/_FR2-KCqo.js.br +0 -0
- package/dist/public/assets/_H1UQxF28.js.br +0 -0
- package/dist/public/assets/_HcLcz5i82.js.br +0 -0
- package/dist/public/assets/_Obe-5WKG.js.br +0 -0
- package/dist/public/assets/_Q2qQseiI.js.br +0 -0
- package/dist/public/assets/_RGFDEa9_.js.br +0 -0
- package/dist/public/assets/_ScSFhsTr.js.br +0 -0
- package/dist/public/assets/_nC_b5l_M.js.br +0 -0
- package/dist/public/assets/_njLSeYG62.js.br +0 -0
- package/dist/public/assets/_qx7lbylN2.js.br +0 -0
- package/dist/public/assets/_truEpqET.js.br +0 -0
- package/dist/public/assets/_urqw27Lw.js.br +0 -0
- package/dist/public/assets/_zsjVrG7P2.js.br +0 -0
- package/dist/public/assets/diff-view-09aeMxRD.css.br +0 -0
- package/dist/public/assets/index-BJoarFLU.js.br +0 -0
- package/dist/public/assets/index-Kv8GSDQR.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
|
-
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 "./
|
|
3
|
-
import { $ as _hoist, A as tone, B as _attrs, C as btnSm, Ct as attrTag, D as inputLg, E as iconBtnXs, F as _attr_input_value, G as _dynamic_tag, H as _await, I as _attr_option_value, J as _el_resume, L as _attr_or, M as _attr, N as _attr_class, O as metaTrunc, Q as _for_of, R as _attr_select_value, S as btnLg, St as _var, T as iconBtnRow, Tt as writeScope, U as _content, V as _attrs_partial, W as _content_resume, X as _existing_scope, Y as _escape, Z as _flush_head, _ as sectionCount$1, _t as _subscribe, at as _resume, b as repoWebUrl$1, bt as _trailers, c as workspaceTab, ct as _scope_reason, d as icon_search_default, dt as _sep, et as _hoist_read_error, f as icon_back_default, ft as _serialize_guard, g as row, gt as _show_start, h as iconBtn$2, ht as _show_end, it as _peek_scope_id, j as $global, k as phase, lt as _scope_with_id, m as icon_base_default, mt as _set_serialize_reason, n as findInput, nt as _id, o as setWorkspaceTab, ot as _resume_branch, p as icon_refresh_default, pt as _serialize_if, q as _el_read_error, r as icon_sidebar_default, rt as _if, s as sideNavOpen, st as _scope_id, t as findIconBtn, tt as _html, u as rankRepos, ut as _script, v as toast_default, vt as _template, wt as withPageAssets, x as setPrimaryHost, xt as _try, y as repoLabel, yt as _to_text, z as _attr_style } from "./
|
|
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 "./_Dp9_KYvx.js";
|
|
3
|
+
import { $ as _hoist, A as tone, B as _attrs, C as btnSm, Ct as attrTag, D as inputLg, E as iconBtnXs, F as _attr_input_value, G as _dynamic_tag, H as _await, I as _attr_option_value, J as _el_resume, L as _attr_or, M as _attr, N as _attr_class, O as metaTrunc, Q as _for_of, R as _attr_select_value, S as btnLg, St as _var, T as iconBtnRow, Tt as writeScope, U as _content, V as _attrs_partial, W as _content_resume, X as _existing_scope, Y as _escape, Z as _flush_head, _ as sectionCount$1, _t as _subscribe, at as _resume, b as repoWebUrl$1, bt as _trailers, c as workspaceTab, ct as _scope_reason, d as icon_search_default, dt as _sep, et as _hoist_read_error, f as icon_back_default, ft as _serialize_guard, g as row, gt as _show_start, h as iconBtn$2, ht as _show_end, it as _peek_scope_id, j as $global, k as phase, lt as _scope_with_id, m as icon_base_default, mt as _set_serialize_reason, n as findInput, nt as _id, o as setWorkspaceTab, ot as _resume_branch, p as icon_refresh_default, pt as _serialize_if, q as _el_read_error, r as icon_sidebar_default, rt as _if, s as sideNavOpen, st as _scope_id, t as findIconBtn, tt as _html, u as rankRepos, ut as _script, v as toast_default, vt as _template, wt as withPageAssets, x as setPrimaryHost, xt as _try, y as repoLabel, yt as _to_text, z as _attr_style } from "./_D4h268HL.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { createServer } from "node:http";
|
|
6
6
|
import path from "node:path";
|
|
@@ -1696,7 +1696,7 @@ function hookToken() {
|
|
|
1696
1696
|
* waiting out the poll. scripts/migrate.mjs backfills existing caches. */
|
|
1697
1697
|
function ensurePushHook(bare, fullName) {
|
|
1698
1698
|
const script = `#!/bin/sh
|
|
1699
|
-
# installed by work
|
|
1699
|
+
# installed by work: signals remote-ref updates to the app server.
|
|
1700
1700
|
[ "\$1" = "committed" ] || exit 0
|
|
1701
1701
|
grep -q "refs/remotes/origin/" || exit 0
|
|
1702
1702
|
curl -sf -m 2 -X POST "http://127.0.0.1:${config.appPort}/api/repo-pushed?repo=${encodeURIComponent(fullName)}&token=${hookToken()}" >/dev/null 2>&1 &\nexit 0\n`;
|
|
@@ -2136,38 +2136,38 @@ function assignSiblingNames(fullNames) {
|
|
|
2136
2136
|
function writeAgentsMd(dir, branch, repos) {
|
|
2137
2137
|
const content = `# Workspace
|
|
2138
2138
|
|
|
2139
|
-
Workspace branch: **\`${branch}
|
|
2139
|
+
Workspace branch: **\`${branch}\`**. Every repo here is checked out on it, and
|
|
2140
2140
|
it is the required **prefix** for every other branch you create.
|
|
2141
2141
|
|
|
2142
|
-
- **Branches:** stay on \`${branch}\` and keep pushing it
|
|
2142
|
+
- **Branches:** stay on \`${branch}\` and keep pushing it: one open PR, more
|
|
2143
2143
|
commits. After it lands, \`git fetch\` and reset \`${branch}\` to
|
|
2144
2144
|
\`origin/<base>\` so the next change reuses this branch. Do not cut a
|
|
2145
2145
|
\`${branch}-<topic>\` just to start the next piece of work.
|
|
2146
2146
|
A topic lane is only for when \`${branch}\` must stay unmerged (a larger
|
|
2147
2147
|
change) and you need a second PR on top of it. Then push every repo's
|
|
2148
|
-
workspace branch first, cut from the parent
|
|
2149
|
-
\`git switch -c ${branch}-<topic> origin/${branch}\`
|
|
2148
|
+
workspace branch first, cut from the parent
|
|
2149
|
+
(\`git switch -c ${branch}-<topic> origin/${branch}\`), and keep the prefix.
|
|
2150
2150
|
Only two levels: never \`${branch}-a-b\`. Tooling finds PRs by that prefix,
|
|
2151
2151
|
so a branch named anything else is invisible: never invent one.
|
|
2152
2152
|
- **Repos:**
|
|
2153
|
-
${repos.map((r) => `- \`${r.worktree}
|
|
2153
|
+
${repos.map((r) => `- \`${r.worktree}/\`: ${r.full_name} (base: \`${r.base_branch}\`)`).join("\n")}
|
|
2154
2154
|
- **No \`git stash\`:** every workspace using a repo shares one stash stack, so
|
|
2155
|
-
a pop can take another workspace's work. Commit as you go
|
|
2155
|
+
a pop can take another workspace's work. Commit as you go; uncommitted
|
|
2156
2156
|
work isn't part of the review.
|
|
2157
2157
|
- **Push:** \`git push -u origin HEAD\` in each repo, for review on GitHub.
|
|
2158
2158
|
Never commit on a base branch.
|
|
2159
2159
|
- **Rebase after merge:** when \`${branch}\` is still open and \`origin/<base>\`
|
|
2160
|
-
moves, rebase onto it
|
|
2160
|
+
moves, rebase onto it. A squash-merge does not move the fork point, so the
|
|
2161
2161
|
review keeps showing landed work until you do. On a topic lane, rebase onto
|
|
2162
2162
|
\`${branch}\` when the parent moves; after the parent merges: \`git fetch
|
|
2163
2163
|
--prune\`, rebase onto \`origin/<base>\`, and retarget (\`gh pr edit --base
|
|
2164
2164
|
<base>\`).
|
|
2165
|
-
- **PRs:** the description covers only what is in the diff
|
|
2165
|
+
- **PRs:** the description covers only what is in the diff, a few sentences on
|
|
2166
2166
|
what changed and why. No verification logs or file-by-file detail. A topic
|
|
2167
|
-
lane's PR is \`gh pr create --base ${branch}
|
|
2167
|
+
lane's PR is \`gh pr create --base ${branch}\`. GitHub will otherwise target
|
|
2168
2168
|
the repo default, and the local review will disagree with the files tab.
|
|
2169
2169
|
- **Ask \`work\` for facts:** the \`work\` CLI answers from the same data as
|
|
2170
|
-
the app
|
|
2170
|
+
the app: \`work workspace\` (this workspace: repos, base branches, open PRs,
|
|
2171
2171
|
sessions, running procs/ports), \`work repos\`, \`work procs\`,
|
|
2172
2172
|
\`work workspaces\`, \`work doctor\` (installed tools / agents / GitHub
|
|
2173
2173
|
sign-in), \`work usage\` (agent plan quotas). Add \`--json\` for machine
|
|
@@ -2705,7 +2705,7 @@ async function installMise(opts = {}) {
|
|
|
2705
2705
|
}
|
|
2706
2706
|
function miseName(idOrName) {
|
|
2707
2707
|
const t = toolById(idOrName);
|
|
2708
|
-
if (t && !t.mise) throw new Error(`${t.label} is a system package
|
|
2708
|
+
if (t && !t.mise) throw new Error(`${t.label} is a system package. Install it with the system package manager`);
|
|
2709
2709
|
return t ? t.mise : idOrName;
|
|
2710
2710
|
}
|
|
2711
2711
|
/** `mise use -g name@version` — installs (or re-pins) a global tool. Accepts
|
|
@@ -3231,7 +3231,7 @@ var icon_agent_default = _template("A", (input) => {
|
|
|
3231
3231
|
n: $badge__closures
|
|
3232
3232
|
});
|
|
3233
3233
|
});
|
|
3234
|
-
var usageNote = "
|
|
3234
|
+
var usageNote = "_cK _M";
|
|
3235
3235
|
//#endregion
|
|
3236
3236
|
//#region src/tags/usage-meters.marko
|
|
3237
3237
|
function duration(ms) {
|
|
@@ -3255,11 +3255,11 @@ var usage_meters_default = _template("y", (input) => {
|
|
|
3255
3255
|
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);
|
|
3256
3256
|
const $scope0_id = _scope_id();
|
|
3257
3257
|
const agent = input.agent;
|
|
3258
|
-
_html(`<div${_attr_class(["
|
|
3258
|
+
_html(`<div${_attr_class(["_cE", { ["_cF"]: input.hideName }])}><div${_attr_class("_cG")}>`);
|
|
3259
3259
|
_if(() => {
|
|
3260
3260
|
if (!input.hideName) {
|
|
3261
3261
|
const $scope1_id = _scope_id();
|
|
3262
|
-
_html(`<strong${_attr_class("
|
|
3262
|
+
_html(`<strong${_attr_class("_cZ")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
|
|
3263
3263
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
3264
3264
|
return 0;
|
|
3265
3265
|
}
|
|
@@ -3267,7 +3267,7 @@ var usage_meters_default = _template("y", (input) => {
|
|
|
3267
3267
|
_if(() => {
|
|
3268
3268
|
if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
|
|
3269
3269
|
const $scope2_id = _scope_id();
|
|
3270
|
-
_html(`<span${_attr_class("
|
|
3270
|
+
_html(`<span${_attr_class("_cH")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
|
|
3271
3271
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
3272
3272
|
return 0;
|
|
3273
3273
|
}
|
|
@@ -3275,19 +3275,19 @@ var usage_meters_default = _template("y", (input) => {
|
|
|
3275
3275
|
_if(() => {
|
|
3276
3276
|
if (agent.stale_seconds != null) {
|
|
3277
3277
|
const $scope3_id = _scope_id();
|
|
3278
|
-
_html(`<span${_attr_class("
|
|
3278
|
+
_html(`<span${_attr_class("_cI")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>⚠ ${_sep($sg__input_agent)}${_escape(duration(agent.stale_seconds * 1e3))}${_el_resume($scope3_id, "b", $sg__input_agent)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
|
|
3279
3279
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
3280
3280
|
return 0;
|
|
3281
3281
|
}
|
|
3282
3282
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
3283
|
-
_html(`</div><div${_attr_class(["
|
|
3283
|
+
_html(`</div><div${_attr_class(["_cJ", { ["_c0"]: agent.stale_seconds != null }])}>`);
|
|
3284
3284
|
_for_of(agent.windows || [], (win) => {
|
|
3285
3285
|
const $scope4_id = _scope_id();
|
|
3286
3286
|
const pct = pctText(win.used_percent);
|
|
3287
3287
|
const label = resetLabel(win.resets_at, agent.stale_seconds != null);
|
|
3288
|
-
const fillClass = win.used_percent >= 90 ? "
|
|
3289
|
-
const pctClass = win.used_percent >= 90 ? "
|
|
3290
|
-
_html(`<div${_attr_class("
|
|
3288
|
+
const fillClass = win.used_percent >= 90 ? "_cS" : win.used_percent >= 70 ? "_cR" : win.used_percent >= 40 ? "_cQ" : "_cP";
|
|
3289
|
+
const pctClass = win.used_percent >= 90 ? "_cX" : win.used_percent >= 70 ? "_cW" : win.used_percent >= 40 ? "_cV" : "_cU";
|
|
3290
|
+
_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)}`);
|
|
3291
3291
|
$si__input_agent && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
3292
3292
|
}, "window", $scope0_id, "g", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
3293
3293
|
_if(() => {
|
|
@@ -3346,7 +3346,7 @@ var modal_view_default = _template("l", (input) => {
|
|
|
3346
3346
|
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;
|
|
3347
3347
|
const dismissable = input.dismissable !== false;
|
|
3348
3348
|
let open = input.open;
|
|
3349
|
-
_html(`<dialog${_attr_class(["
|
|
3349
|
+
_html(`<dialog${_attr_class(["_eX", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
|
|
3350
3350
|
...htmlInput,
|
|
3351
3351
|
open: null
|
|
3352
3352
|
}, {
|
|
@@ -3356,20 +3356,20 @@ var modal_view_default = _template("l", (input) => {
|
|
|
3356
3356
|
closedby: 1,
|
|
3357
3357
|
"on-cancel": 1,
|
|
3358
3358
|
"on-close": 1
|
|
3359
|
-
}, "a", $scope0_id, "dialog")}><div${_attr_class("
|
|
3359
|
+
}, "a", $scope0_id, "dialog")}><div${_attr_class("_eY")}>`);
|
|
3360
3360
|
_dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
|
|
3361
3361
|
_html("</div>");
|
|
3362
3362
|
_if(() => {
|
|
3363
3363
|
if (footer) {
|
|
3364
3364
|
const $scope1_id = _scope_id();
|
|
3365
|
-
_html(`<form method=dialog${_attr_class("
|
|
3365
|
+
_html(`<form method=dialog${_attr_class("_eZ")}>`);
|
|
3366
3366
|
_dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
|
|
3367
3367
|
_html("</form>");
|
|
3368
3368
|
$si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
|
|
3369
3369
|
return 0;
|
|
3370
3370
|
} else if (input.openChange) {
|
|
3371
3371
|
const $scope2_id = _scope_id();
|
|
3372
|
-
_html(`<form method=dialog${_attr_class("
|
|
3372
|
+
_html(`<form method=dialog${_attr_class("_eZ")}>`);
|
|
3373
3373
|
dialog_close_default({
|
|
3374
3374
|
class: ["_i", "_j"],
|
|
3375
3375
|
content: _content("l0", () => {
|
|
@@ -3428,7 +3428,7 @@ var prompt_dialog_default = _template("p", (input) => {
|
|
|
3428
3428
|
const $childScope = _peek_scope_id();
|
|
3429
3429
|
modal_view_default({
|
|
3430
3430
|
label: input.label,
|
|
3431
|
-
class: "
|
|
3431
|
+
class: "_cC",
|
|
3432
3432
|
open: input.open,
|
|
3433
3433
|
openChange: input.openChange,
|
|
3434
3434
|
"aria-labelledby": titleId,
|
|
@@ -3451,7 +3451,7 @@ var prompt_dialog_default = _template("p", (input) => {
|
|
|
3451
3451
|
content: _content("p6", () => {
|
|
3452
3452
|
_scope_reason();
|
|
3453
3453
|
const $scope2_id = _scope_id();
|
|
3454
|
-
_html(`<h2${_attr_class("
|
|
3454
|
+
_html(`<h2${_attr_class("_cD")}${_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) => {
|
|
3455
3455
|
value = _new_value;
|
|
3456
3456
|
}, "p0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
|
|
3457
3457
|
_script($scope2_id, "p4");
|
|
@@ -3709,12 +3709,12 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3709
3709
|
return 0;
|
|
3710
3710
|
} else if (setup.ready) {
|
|
3711
3711
|
const $scope43_id = _scope_id();
|
|
3712
|
-
_html(`<span${_attr_class("_b4")}>Ready</span
|
|
3712
|
+
_html(`<span${_attr_class("_b4")}>Ready</span>. Tools, GitHub, and an agent are all in place.`);
|
|
3713
3713
|
writeScope($scope43_id, {});
|
|
3714
3714
|
return 1;
|
|
3715
3715
|
} else {
|
|
3716
3716
|
const $scope5_id = _scope_id();
|
|
3717
|
-
_html(`<span${_attr_class("_b5")}>Not ready</span
|
|
3717
|
+
_html(`<span${_attr_class("_b5")}>Not ready</span>. Missing <!>${_escape(setup.missing.map((m) => MISSING_LABEL[m] || m).join(", "))}${_el_resume($scope5_id, "b")}.`);
|
|
3718
3718
|
_subscribe($setup_missing__closures, writeScope($scope5_id, {}));
|
|
3719
3719
|
return 2;
|
|
3720
3720
|
}
|
|
@@ -3765,7 +3765,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3765
3765
|
_attr_select_value($scope0_id, "m", input.preferred, _resume(function(v) {
|
|
3766
3766
|
setPreferred(v);
|
|
3767
3767
|
}, "r0", $scope0_id), () => {
|
|
3768
|
-
_html(`<select${_attr_class(["_h", "_b9"])} aria-label="Default agent
|
|
3768
|
+
_html(`<select${_attr_class(["_h", "_b9"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
|
|
3769
3769
|
_for_of(input.agents.filter((a) => a !== "shell"), (id) => {
|
|
3770
3770
|
const $scope44_id = _scope_id();
|
|
3771
3771
|
_html(`<option${_attr_option_value(id)}>${_escape(agentLabel(id))}${_el_resume($scope44_id, "b", $sg__input_agents)}</option>${_el_resume($scope44_id, "a", $sg__input_agents)}`);
|
|
@@ -3833,7 +3833,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3833
3833
|
"_C",
|
|
3834
3834
|
"_E",
|
|
3835
3835
|
{ [tone.ok]: lone.enabled }
|
|
3836
|
-
])} role=switch aria-checked=${lone.enabled ? "true" : "false"} title=${lone.enabled ? "\"Shown in session pickers
|
|
3836
|
+
])} role=switch aria-checked=${lone.enabled ? "true" : "false"} title=${lone.enabled ? "\"Shown in session pickers. Hide it\"" : "\"Hidden from session pickers. Show it\""}>${lone.enabled ? "on" : "off"}${_el_resume($scope39_id, "b")}</button>${_el_resume($scope39_id, "a")}`);
|
|
3837
3837
|
_script($scope39_id, "r26");
|
|
3838
3838
|
writeScope($scope39_id, {});
|
|
3839
3839
|
return 0;
|
|
@@ -3867,7 +3867,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
3867
3867
|
"_C",
|
|
3868
3868
|
"_E",
|
|
3869
3869
|
{ [tone.ok]: inst.enabled }
|
|
3870
|
-
])} role=switch aria-checked=${inst.enabled ? "true" : "false"} title=${inst.enabled ? "\"Shown in session pickers
|
|
3870
|
+
])} role=switch aria-checked=${inst.enabled ? "true" : "false"} title=${inst.enabled ? "\"Shown in session pickers. Hide it\"" : "\"Hidden from session pickers. Show it\""}>${inst.enabled ? "on" : "off"}${_el_resume($scope3_id, "i")}</button>${_el_resume($scope3_id, "h")}</div>${_el_resume($scope3_id, "b")}`);
|
|
3871
3871
|
_for_of(accounts, (u) => {
|
|
3872
3872
|
const $scope48_id = _scope_id();
|
|
3873
3873
|
_set_serialize_reason(6);
|
|
@@ -4101,7 +4101,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4101
4101
|
_if(() => {
|
|
4102
4102
|
if (setup && !setup.mise.installed) {
|
|
4103
4103
|
const $scope15_id = _scope_id();
|
|
4104
|
-
_html(`<p${_attr_class("_bz")}>mise is not installed
|
|
4104
|
+
_html(`<p${_attr_class("_bz")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${active.has("mise") ? "Installing…" : "Install mise"}${_el_resume($scope15_id, "c")}</button>${_el_resume($scope15_id, "b")}</p>`);
|
|
4105
4105
|
_script($scope15_id, "r34");
|
|
4106
4106
|
writeScope($scope15_id, {});
|
|
4107
4107
|
return 0;
|
|
@@ -4127,7 +4127,7 @@ var settings_page_default = _template("r", (input) => {
|
|
|
4127
4127
|
_if(() => {
|
|
4128
4128
|
if (t.version) {
|
|
4129
4129
|
const $scope30_id = _scope_id();
|
|
4130
|
-
_html(`<button${_attr_class(["_ci", "_r"])}${_attr("title", `${t.path || t.label}
|
|
4130
|
+
_html(`<button${_attr_class(["_ci", "_r"])}${_attr("title", `${t.path || t.label}. Pin a version`)}>v<!>${_escape(t.version)}${_el_resume($scope30_id, "b")}</button>${_el_resume($scope30_id, "a")}`);
|
|
4131
4131
|
_script($scope30_id, "r35");
|
|
4132
4132
|
_subscribe($for_content4__t_path__closures, _subscribe($for_content4__t_version__closures, _subscribe($for_content4__t_label__closures, writeScope($scope30_id, { Cu: 1 }))));
|
|
4133
4133
|
return 0;
|
|
@@ -4660,7 +4660,7 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4660
4660
|
meta: attrTag({ content: _content_resume("m10", () => {
|
|
4661
4661
|
_scope_reason();
|
|
4662
4662
|
_scope_id();
|
|
4663
|
-
_html("Name the workspace and pick repos
|
|
4663
|
+
_html("Name the workspace and pick repos, or restore an archived one below.");
|
|
4664
4664
|
}, $scope0_id) })
|
|
4665
4665
|
});
|
|
4666
4666
|
_if(() => {
|
|
@@ -4714,7 +4714,7 @@ var new_workspace_default = _template("m", (input) => {
|
|
|
4714
4714
|
_if(() => {
|
|
4715
4715
|
if (!selected.length) {
|
|
4716
4716
|
const $scope11_id = _scope_id();
|
|
4717
|
-
_html(`<li${_attr_class("_bz")}>No repos yet
|
|
4717
|
+
_html(`<li${_attr_class("_bz")}>No repos yet. Search below to add one, or create it empty.</li>`);
|
|
4718
4718
|
writeScope($scope11_id, {});
|
|
4719
4719
|
return 0;
|
|
4720
4720
|
}
|
|
@@ -4925,8 +4925,8 @@ function activeAgent(session) {
|
|
|
4925
4925
|
const command = session.state?.command?.trim();
|
|
4926
4926
|
return command && agentFromCommand(command) || session.agent;
|
|
4927
4927
|
}
|
|
4928
|
-
var iconBtn$1 = "
|
|
4929
|
-
var navToggle = "
|
|
4928
|
+
var iconBtn$1 = "_c2 _d";
|
|
4929
|
+
var navToggle = "_c7 _d";
|
|
4930
4930
|
_template("D", (input) => {
|
|
4931
4931
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
4932
4932
|
const $scope0_id = _scope_id();
|
|
@@ -4969,12 +4969,12 @@ var ARM_MS = 3500;
|
|
|
4969
4969
|
function disarmLater(fn) {
|
|
4970
4970
|
return setTimeout(fn, ARM_MS);
|
|
4971
4971
|
}
|
|
4972
|
-
var railBtn = "
|
|
4973
|
-
var rowIcon = "
|
|
4974
|
-
var close = "
|
|
4972
|
+
var railBtn = "_fH _d";
|
|
4973
|
+
var rowIcon = "_fQ _T _d";
|
|
4974
|
+
var close = "_fR _T _d _W";
|
|
4975
4975
|
//#endregion
|
|
4976
4976
|
//#region src/styles/session-pop.css.ts
|
|
4977
|
-
var sessionPop = "
|
|
4977
|
+
var sessionPop = "_ft _X";
|
|
4978
4978
|
//#endregion
|
|
4979
4979
|
//#region src/tags/icons/icon-diff.marko
|
|
4980
4980
|
var icon_diff_default = _template("G", (input) => {
|
|
@@ -5053,7 +5053,7 @@ var icon_xmark_default = _template("V", (input) => {
|
|
|
5053
5053
|
//#endregion
|
|
5054
5054
|
//#region src/tags/side-nav-chips.marko
|
|
5055
5055
|
var prTitle = (repo, pr) => {
|
|
5056
|
-
const parts = [`${repo.worktree}
|
|
5056
|
+
const parts = [`${repo.worktree}: ${pr.title}`];
|
|
5057
5057
|
if (pr.state === "MERGED") parts.push("merged");
|
|
5058
5058
|
else if (pr.state === "CLOSED") parts.push("closed");
|
|
5059
5059
|
else if (pr.isDraft) parts.push("draft");
|
|
@@ -5235,10 +5235,10 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5235
5235
|
_if(() => {
|
|
5236
5236
|
if (input.rail) {
|
|
5237
5237
|
const $scope2_id = _scope_id();
|
|
5238
|
-
_html(`<button${_attr_class([railBtn, { ["
|
|
5238
|
+
_html(`<button${_attr_class([railBtn, { ["_fF"]: 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([
|
|
5239
5239
|
"_t",
|
|
5240
5240
|
phase[dot],
|
|
5241
|
-
"
|
|
5241
|
+
"_fI"
|
|
5242
5242
|
])}></span>${_el_resume($scope2_id, "c", $sg__input_workspaceId__OR__input_status)}</button>${_el_resume($scope2_id, "a")}`);
|
|
5243
5243
|
_script($scope2_id, "t3");
|
|
5244
5244
|
_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) }))));
|
|
@@ -5247,15 +5247,15 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5247
5247
|
const $scope3_id = _scope_id();
|
|
5248
5248
|
const sessions$1 = input.sessions || [];
|
|
5249
5249
|
const phaseLabel = dot === "working" ? "Working" : dot === "waiting" ? "Needs input" : dot === "idle" ? "Idle" : "Not running";
|
|
5250
|
-
_html(`<section${_attr_class(["
|
|
5251
|
-
["
|
|
5250
|
+
_html(`<section${_attr_class(["_fK", {
|
|
5251
|
+
["_fF"]: input.current,
|
|
5252
5252
|
["_Y"]: input.current,
|
|
5253
|
-
["
|
|
5254
|
-
["
|
|
5255
|
-
}])}><div${_attr_class("
|
|
5253
|
+
["_fL"]: input.railPop,
|
|
5254
|
+
["_fJ"]: input.page
|
|
5255
|
+
}])}><div${_attr_class("_fM")}><button${_attr_class("_fN")}><span${_attr_class([
|
|
5256
5256
|
"_t",
|
|
5257
5257
|
phase[dot],
|
|
5258
|
-
"
|
|
5258
|
+
"_fY"
|
|
5259
5259
|
])}${_attr("title", phaseLabel)}></span>${_el_resume($scope3_id, "d", $sg__input_workspaceId__OR__input_status)}`);
|
|
5260
5260
|
_if(() => {
|
|
5261
5261
|
if (sessions$1.length === 1) {
|
|
@@ -5268,7 +5268,7 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5268
5268
|
icon_agent_default({
|
|
5269
5269
|
agent: activeAgent(sessions$1[0]),
|
|
5270
5270
|
size: 12,
|
|
5271
|
-
class: "
|
|
5271
|
+
class: "_fS"
|
|
5272
5272
|
});
|
|
5273
5273
|
$si__input_sessions && writeScope($scope12_id, {
|
|
5274
5274
|
_: _scope_with_id($scope3_id),
|
|
@@ -5278,16 +5278,16 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5278
5278
|
}
|
|
5279
5279
|
}, $scope3_id, "e", $sg__input_sessions, $sg__input_sessions, $sg__input_workspaceId__OR__input_status__OR__input_sessions__OR__input_page);
|
|
5280
5280
|
const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length === 1 ? sessions$1[0].title || "" : `${sessions$1.length} sessions`;
|
|
5281
|
-
_html(`<span${_attr_class("
|
|
5281
|
+
_html(`<span${_attr_class("_fT")}><span${_attr_class("_fU")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "h", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
|
|
5282
5282
|
_if(() => {
|
|
5283
5283
|
if (input.page && metaText) {
|
|
5284
5284
|
const $scope14_id = _scope_id();
|
|
5285
|
-
_html(`<span${_attr_class("
|
|
5285
|
+
_html(`<span${_attr_class("_fW")}>${_escape(metaText)}${_el_resume($scope14_id, "b", _serialize_guard($scope0_reason, 5))}</span>`);
|
|
5286
5286
|
$si__input_workspaceId__OR__input_status__OR__input_sessions__OR__input_page && writeScope($scope14_id, { _: _serialize_if($scope0_reason, 5) && _scope_with_id($scope3_id) });
|
|
5287
5287
|
return 0;
|
|
5288
5288
|
} else if (sessions$1.length === 1 && sessions$1[0].title) {
|
|
5289
5289
|
const $scope13_id = _scope_id();
|
|
5290
|
-
_html(`<span${_attr_class("
|
|
5290
|
+
_html(`<span${_attr_class("_fV")}>${_escape(sessions$1[0].title)}${_el_resume($scope13_id, "b", $sg__input_sessions)}</span>`);
|
|
5291
5291
|
$si__input_workspaceId__OR__input_status__OR__input_sessions__OR__input_page && writeScope($scope13_id, { _: $si__input_sessions && _scope_with_id($scope3_id) });
|
|
5292
5292
|
return 1;
|
|
5293
5293
|
}
|
|
@@ -5300,7 +5300,7 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5300
5300
|
"_C",
|
|
5301
5301
|
"_L",
|
|
5302
5302
|
"_E",
|
|
5303
|
-
"
|
|
5303
|
+
"_fX"
|
|
5304
5304
|
])}>${input.current ? "Open" : ""}${_el_resume($scope4_id, "b", _serialize_guard($scope0_reason, 16))}</span>`);
|
|
5305
5305
|
$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, {
|
|
5306
5306
|
_: _scope_with_id($scope3_id),
|
|
@@ -5313,7 +5313,7 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5313
5313
|
_if(() => {
|
|
5314
5314
|
if (!input.page) {
|
|
5315
5315
|
const $scope5_id = _scope_id();
|
|
5316
|
-
_html(`<div${_attr_class("
|
|
5316
|
+
_html(`<div${_attr_class("_fO")}>`);
|
|
5317
5317
|
_if(() => {
|
|
5318
5318
|
if (input.onNewSession) {
|
|
5319
5319
|
const $scope6_id = _scope_id();
|
|
@@ -5327,7 +5327,7 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5327
5327
|
_html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
|
|
5328
5328
|
_for_of([], (agent) => {
|
|
5329
5329
|
const $scope7_id = _scope_id();
|
|
5330
|
-
_html(`<button${_attr_class("
|
|
5330
|
+
_html(`<button${_attr_class("_fu")}>`);
|
|
5331
5331
|
_set_serialize_reason(12);
|
|
5332
5332
|
const $childScope2 = _peek_scope_id();
|
|
5333
5333
|
icon_agent_default({
|
|
@@ -5360,7 +5360,7 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5360
5360
|
return 0;
|
|
5361
5361
|
}
|
|
5362
5362
|
}, $scope5_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
|
|
5363
|
-
_html(`<button${_attr_class([rowIcon, { ["
|
|
5363
|
+
_html(`<button${_attr_class([rowIcon, { ["_fG"]: input.managing }])} title="Manage workspace" aria-pressed=${input.managing ? "true" : "false"}>`);
|
|
5364
5364
|
icon_manage_default({ size: 12 });
|
|
5365
5365
|
_html(`</button>${_el_resume($scope5_id, "d")}</div>`);
|
|
5366
5366
|
_script($scope5_id, "t7");
|
|
@@ -5368,17 +5368,17 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5368
5368
|
return 0;
|
|
5369
5369
|
}
|
|
5370
5370
|
}, $scope3_id, "k", $sg__input_page, $sg__input_page, $sg__input_workspaceId__OR__input_status__OR__input_sessions__OR__input_page, 0, 1);
|
|
5371
|
-
_html(`</div><div${_attr_class("
|
|
5371
|
+
_html(`</div><div${_attr_class("_f3")}>`);
|
|
5372
5372
|
_for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
|
|
5373
5373
|
const $scope9_id = _scope_id();
|
|
5374
|
-
_html(`<div${_attr_class(["
|
|
5374
|
+
_html(`<div${_attr_class(["_fP", { ["_fF"]: s.id === input.currentTab }])}>`);
|
|
5375
5375
|
_if(() => {
|
|
5376
5376
|
if (renamingId === s.id) {
|
|
5377
5377
|
const $scope11_id = _scope_id();
|
|
5378
5378
|
_html(`<span${_attr_class([
|
|
5379
5379
|
"_t",
|
|
5380
5380
|
phase[sessionPhase(s.state)],
|
|
5381
|
-
"
|
|
5381
|
+
"_f1"
|
|
5382
5382
|
])}></span>${_el_resume($scope11_id, "a", $sg__input_sessions)}`);
|
|
5383
5383
|
_set_serialize_reason({
|
|
5384
5384
|
1: $sg__input_sessions,
|
|
@@ -5388,17 +5388,17 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5388
5388
|
icon_agent_default({
|
|
5389
5389
|
agent: activeAgent(s),
|
|
5390
5390
|
size: 13,
|
|
5391
|
-
class: "
|
|
5391
|
+
class: "_f5"
|
|
5392
5392
|
});
|
|
5393
5393
|
_html(`<input${_attr_input_value($scope11_id, "c", renameValue, _resume((_new_renameValue) => {
|
|
5394
5394
|
renameValue = _new_renameValue;
|
|
5395
|
-
}, "t0", $scope11_id))}${_attr_class(["_O", "
|
|
5395
|
+
}, "t0", $scope11_id))}${_attr_class(["_O", "_f2"])} aria-label="Session name">${_el_resume($scope11_id, "c")}`);
|
|
5396
5396
|
_script($scope11_id, "t8");
|
|
5397
5397
|
_subscribe($renameValue__closures, writeScope($scope11_id, { b: $si__input_sessions && _existing_scope($childScope3) }));
|
|
5398
5398
|
return 0;
|
|
5399
5399
|
} else {
|
|
5400
5400
|
const $scope10_id = _scope_id();
|
|
5401
|
-
_html(`<button${_attr_class("
|
|
5401
|
+
_html(`<button${_attr_class("_f4")}><span${_attr_class(["_t", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope10_id, "b", $sg__input_sessions)}`);
|
|
5402
5402
|
_set_serialize_reason({
|
|
5403
5403
|
1: $sg__input_sessions,
|
|
5404
5404
|
2: $sg__input_sessions
|
|
@@ -5407,9 +5407,9 @@ var side_nav_item_default = _template("t", (input) => {
|
|
|
5407
5407
|
icon_agent_default({
|
|
5408
5408
|
agent: activeAgent(s),
|
|
5409
5409
|
size: 13,
|
|
5410
|
-
class: "
|
|
5410
|
+
class: "_f5"
|
|
5411
5411
|
});
|
|
5412
|
-
_html(`<span${_attr_class("
|
|
5412
|
+
_html(`<span${_attr_class("_fZ")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope10_id, "e", $sg__input_sessions)}</span></button>${_el_resume($scope10_id, "a")}<div${_attr_class("_f0")}><button${_attr_class(rowIcon)} title="Rename session">`);
|
|
5413
5413
|
icon_edit_default({ size: 12 });
|
|
5414
5414
|
_html(`</button>${_el_resume($scope10_id, "g")}<button${_attr_class([close, { ["_k"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>×</button>${_el_resume($scope10_id, "i")}</div>`);
|
|
5415
5415
|
_script($scope10_id, "t9");
|
|
@@ -5576,7 +5576,7 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5576
5576
|
notifyOn = false;
|
|
5577
5577
|
} else {
|
|
5578
5578
|
notifyOn = await enablePush();
|
|
5579
|
-
if (!notifyOn) input.onError?.("Notifications blocked
|
|
5579
|
+
if (!notifyOn) input.onError?.("Notifications blocked. Allow them for this site in browser or system settings.");
|
|
5580
5580
|
}
|
|
5581
5581
|
} catch (err) {
|
|
5582
5582
|
notifyOn = false;
|
|
@@ -5591,25 +5591,25 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5591
5591
|
const wsSelected = true;
|
|
5592
5592
|
const otherIds = itemIds.filter((id) => id !== ws.id);
|
|
5593
5593
|
const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
|
|
5594
|
-
_html(`<aside${_attr_class(["
|
|
5595
|
-
["
|
|
5596
|
-
["
|
|
5594
|
+
_html(`<aside${_attr_class(["_c6", {
|
|
5595
|
+
["_c4"]: !navOpen,
|
|
5596
|
+
["_c5"]: isPage
|
|
5597
5597
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
5598
5598
|
_if(() => {
|
|
5599
5599
|
if (isPage) {
|
|
5600
5600
|
const $scope1_id = _scope_id();
|
|
5601
|
-
_html(`<header${_attr_class("
|
|
5601
|
+
_html(`<header${_attr_class("_c9")}><h1${_attr_class("_c_")}>Workspaces</h1><div${_attr_class("_da")}>`);
|
|
5602
5602
|
_if(() => {}, $scope1_id, "d", 1, 1, 1, 0, 1);
|
|
5603
5603
|
_html(`<button${_attr_class([
|
|
5604
5604
|
iconBtn$1,
|
|
5605
|
-
"
|
|
5606
|
-
{ ["
|
|
5605
|
+
"_db",
|
|
5606
|
+
{ ["_c1"]: view === "settings" }
|
|
5607
5607
|
])} title=Settings aria-pressed=${view === "settings" ? "true" : "false"}>`);
|
|
5608
5608
|
icon_settings_default({ size: 16 });
|
|
5609
5609
|
_if(() => {
|
|
5610
5610
|
if (input.setupReady === false) {
|
|
5611
5611
|
const $scope10_id = _scope_id();
|
|
5612
|
-
_html(`<span${_attr_class(["_t", "
|
|
5612
|
+
_html(`<span${_attr_class(["_t", "_c3"])} title="Machine setup incomplete"></span>`);
|
|
5613
5613
|
$si__input_setupReady && writeScope($scope10_id, {});
|
|
5614
5614
|
return 0;
|
|
5615
5615
|
}
|
|
@@ -5620,13 +5620,13 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5620
5620
|
return 0;
|
|
5621
5621
|
}
|
|
5622
5622
|
}, $scope0_id, "b", 1, 1, 1, 0, 1);
|
|
5623
|
-
_html(`<div${_attr_class("
|
|
5623
|
+
_html(`<div${_attr_class("_de")}>`);
|
|
5624
5624
|
_for_of(listIds, (wsId) => {
|
|
5625
5625
|
const $scope2_id = _scope_id();
|
|
5626
5626
|
_if(() => {
|
|
5627
5627
|
if (isPage && wsId === ws.id) {
|
|
5628
5628
|
const $scope11_id = _scope_id();
|
|
5629
|
-
_html(`<h2${_attr_class(["_bD", "
|
|
5629
|
+
_html(`<h2${_attr_class(["_bD", "_dc"])}>Current</h2>`);
|
|
5630
5630
|
writeScope($scope11_id, {});
|
|
5631
5631
|
return 0;
|
|
5632
5632
|
}
|
|
@@ -5634,7 +5634,7 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5634
5634
|
_if(() => {
|
|
5635
5635
|
if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
|
|
5636
5636
|
const $scope12_id = _scope_id();
|
|
5637
|
-
_html(`<h2${_attr_class(["_bD", "
|
|
5637
|
+
_html(`<h2${_attr_class(["_bD", "_dc"])}>Other workspaces</h2>`);
|
|
5638
5638
|
writeScope($scope12_id, {});
|
|
5639
5639
|
return 0;
|
|
5640
5640
|
}
|
|
@@ -5732,7 +5732,7 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5732
5732
|
railHover = null;
|
|
5733
5733
|
}, 150);
|
|
5734
5734
|
}, "u9", $scope3_id);
|
|
5735
|
-
_html(`<div${_attr_class("
|
|
5735
|
+
_html(`<div${_attr_class("_df")}>`);
|
|
5736
5736
|
_for_of(itemIds, (wsId, i) => {
|
|
5737
5737
|
const $scope4_id = _scope_id();
|
|
5738
5738
|
_html("<span>");
|
|
@@ -5779,7 +5779,7 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5779
5779
|
if (railHover) {
|
|
5780
5780
|
const $scope5_id = _scope_id();
|
|
5781
5781
|
const hoverId = railHover.id;
|
|
5782
|
-
_html(`<div${_attr_class(["_X", "
|
|
5782
|
+
_html(`<div${_attr_class(["_X", "_di"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
|
|
5783
5783
|
_set_serialize_reason({
|
|
5784
5784
|
0: 1,
|
|
5785
5785
|
1: 1,
|
|
@@ -5881,7 +5881,7 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5881
5881
|
return 0;
|
|
5882
5882
|
}
|
|
5883
5883
|
}, $scope0_id, "d");
|
|
5884
|
-
_html(`<div${_attr_class("
|
|
5884
|
+
_html(`<div${_attr_class("_dg")}>`);
|
|
5885
5885
|
_if(() => {
|
|
5886
5886
|
if (isPage) {
|
|
5887
5887
|
const $scope6_id = _scope_id();
|
|
@@ -5889,7 +5889,7 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5889
5889
|
"_i",
|
|
5890
5890
|
"_j",
|
|
5891
5891
|
btnLg,
|
|
5892
|
-
"
|
|
5892
|
+
"_dd"
|
|
5893
5893
|
])} title="New workspace" aria-pressed=${view === "new" ? "true" : "false"}>`);
|
|
5894
5894
|
icon_folder_plus_default({ size: 16 });
|
|
5895
5895
|
_html(` New workspace</button>${_el_resume($scope6_id, "a")}`);
|
|
@@ -5912,19 +5912,19 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5912
5912
|
return 1;
|
|
5913
5913
|
}
|
|
5914
5914
|
}, $scope7_id, "a", 1, 1, 1, "</button>", 1);
|
|
5915
|
-
_html(`<div${_attr_class(["_s", "
|
|
5915
|
+
_html(`<div${_attr_class(["_s", "_dh"])}></div>`);
|
|
5916
5916
|
_if(() => {}, $scope7_id, "c", 1, 1, 1, 0, 1);
|
|
5917
|
-
_html(`<button${_attr_class([iconBtn$1, { ["
|
|
5917
|
+
_html(`<button${_attr_class([iconBtn$1, { ["_c1"]: view === "settings" }])} title=Settings aria-pressed=${view === "settings" ? "true" : "false"}>`);
|
|
5918
5918
|
icon_settings_default({ size: 15 });
|
|
5919
5919
|
_if(() => {
|
|
5920
5920
|
if (input.setupReady === false) {
|
|
5921
5921
|
const $scope15_id = _scope_id();
|
|
5922
|
-
_html(`<span${_attr_class(["_t", "
|
|
5922
|
+
_html(`<span${_attr_class(["_t", "_c3"])} title="Machine setup incomplete"></span>`);
|
|
5923
5923
|
$si__input_setupReady && writeScope($scope15_id, {});
|
|
5924
5924
|
return 0;
|
|
5925
5925
|
}
|
|
5926
5926
|
}, $scope7_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
5927
|
-
_html(`</button>${_el_resume($scope7_id, "d")}<button${_attr_class([iconBtn$1, { ["
|
|
5927
|
+
_html(`</button>${_el_resume($scope7_id, "d")}<button${_attr_class([iconBtn$1, { ["_c1"]: view === "new" }])} title="New workspace" aria-pressed=${view === "new" ? "true" : "false"}>`);
|
|
5928
5928
|
icon_folder_plus_default({ size: 16 });
|
|
5929
5929
|
_html(`</button>${_el_resume($scope7_id, "g")}`);
|
|
5930
5930
|
_script($scope7_id, "u23");
|
|
@@ -5991,10 +5991,10 @@ var side_nav_default = _template("u", (input) => {
|
|
|
5991
5991
|
});
|
|
5992
5992
|
var iconBtn = "_U _d";
|
|
5993
5993
|
var sectionCount = "_bq _C _D";
|
|
5994
|
-
var content = "
|
|
5995
|
-
var pageMeta = "
|
|
5996
|
-
var pathMeta = "
|
|
5997
|
-
var dangerHint = "
|
|
5994
|
+
var content = "_dj _bg";
|
|
5995
|
+
var pageMeta = "_dk _bl";
|
|
5996
|
+
var pathMeta = "_dn _r";
|
|
5997
|
+
var dangerHint = "_dt _M";
|
|
5998
5998
|
//#endregion
|
|
5999
5999
|
//#region src/tags/manage-workspace.marko
|
|
6000
6000
|
var api$2;
|
|
@@ -6108,7 +6108,7 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6108
6108
|
meta: attrTag({ content: _content_resume("k11", () => {
|
|
6109
6109
|
_scope_reason();
|
|
6110
6110
|
const $scope8_id = _scope_id();
|
|
6111
|
-
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("
|
|
6111
|
+
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_dl")}>${_escape(ws.name)}${_el_resume($scope8_id, "c")}</span>`);
|
|
6112
6112
|
_if(() => {
|
|
6113
6113
|
if (ws.status !== "active") {
|
|
6114
6114
|
const $scope11_id = _scope_id();
|
|
@@ -6117,7 +6117,7 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6117
6117
|
return 0;
|
|
6118
6118
|
}
|
|
6119
6119
|
}, $scope8_id, "d", 1, 1, 1, 0, 1);
|
|
6120
|
-
_html(`<span${_attr_class("
|
|
6120
|
+
_html(`<span${_attr_class("_dm")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope8_id, "g")}</span></span>${_el_resume($scope8_id, "a")}`);
|
|
6121
6121
|
_subscribe($ws_status__closures, _subscribe($ws_name__closures, _subscribe($ws_path__closures, _subscribe($ws_display_path__closures, writeScope($scope8_id, { _: _scope_with_id($scope0_id) })))));
|
|
6122
6122
|
_resume_branch($scope8_id);
|
|
6123
6123
|
}, $scope0_id) })
|
|
@@ -6160,7 +6160,7 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6160
6160
|
_html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("_br")}>`);
|
|
6161
6161
|
_for_of(ws.repos, (row) => {
|
|
6162
6162
|
const $scope1_id = _scope_id();
|
|
6163
|
-
_html(`<li${_attr_class("_bt")}><div${_attr_class("_bu")}><span${_attr_class(["_bv", "_r"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bw")}><a${_attr_class(["_bx", "
|
|
6163
|
+
_html(`<li${_attr_class("_bt")}><div${_attr_class("_bu")}><span${_attr_class(["_bv", "_r"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bw")}><a${_attr_class(["_bx", "_dp"])}${_attr("href", repoWebUrl$1(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_escape(repoLabel(row.full_name))}${_el_resume($scope1_id, "g")}</a>${_el_resume($scope1_id, "f")}`);
|
|
6164
6164
|
_if(() => {
|
|
6165
6165
|
if (row.base_branch !== row.default_branch) {
|
|
6166
6166
|
const $scope12_id = _scope_id();
|
|
@@ -6205,12 +6205,12 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6205
6205
|
_if(() => {
|
|
6206
6206
|
if (!ws.repos.length && !busy.size) {
|
|
6207
6207
|
const $scope15_id = _scope_id();
|
|
6208
|
-
_html(`<p${_attr_class("_bz")}>No repos yet
|
|
6208
|
+
_html(`<p${_attr_class("_bz")}>No repos yet. Search below to add one.</p>`);
|
|
6209
6209
|
writeScope($scope15_id, {});
|
|
6210
6210
|
return 0;
|
|
6211
6211
|
}
|
|
6212
6212
|
}, $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
6213
|
-
_html(`<div${_attr_class("
|
|
6213
|
+
_html(`<div${_attr_class("_do")}>`);
|
|
6214
6214
|
const $childScope3 = _peek_scope_id();
|
|
6215
6215
|
let refreshCatalog = repo_picker_default({
|
|
6216
6216
|
exclude: inWorkspace,
|
|
@@ -6240,7 +6240,7 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6240
6240
|
_html(`<span${_attr_class("_bw")}>`);
|
|
6241
6241
|
_for_of(p.ports, (port) => {
|
|
6242
6242
|
const $scope17_id = _scope_id();
|
|
6243
|
-
_html(`<button${_attr_class(["_m", "
|
|
6243
|
+
_html(`<button${_attr_class(["_m", "_dq"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope17_id, "b")}</button>${_el_resume($scope17_id, "a")}`);
|
|
6244
6244
|
_script($scope17_id, "k15");
|
|
6245
6245
|
writeScope($scope17_id, { d: port });
|
|
6246
6246
|
}, (x) => String(x), $scope16_id, "a", 1, 1, 1, "</span>", 1);
|
|
@@ -6260,7 +6260,7 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6260
6260
|
return 0;
|
|
6261
6261
|
}
|
|
6262
6262
|
}, $scope0_id, "v", 1, 1, 1, 0, 1);
|
|
6263
|
-
_html(`<section${_attr_class(["_bo", "
|
|
6263
|
+
_html(`<section${_attr_class(["_bo", "_dr"])}><div${_attr_class("_bp")}><h2${_attr_class("_bD")}>Workspace</h2></div><div${_attr_class("_ds")}>`);
|
|
6264
6264
|
_if(() => {
|
|
6265
6265
|
if (ws.status === "active") {
|
|
6266
6266
|
const $scope4_id = _scope_id();
|
|
@@ -6361,15 +6361,15 @@ var term_find_default = _template("v", (input) => {
|
|
|
6361
6361
|
const canStep = hasQuery && open;
|
|
6362
6362
|
const keybar = input.placement === "keybar";
|
|
6363
6363
|
_html(`<div${_attr_class([
|
|
6364
|
-
"
|
|
6365
|
-
keybar ? "
|
|
6366
|
-
!open && "
|
|
6367
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
6364
|
+
"_fm",
|
|
6365
|
+
keybar ? "_fo" : "_fn",
|
|
6366
|
+
!open && "_fq"
|
|
6367
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_fh", keybar ? "_fp" : "_fj"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
6368
6368
|
if (!open) return;
|
|
6369
6369
|
query = v;
|
|
6370
6370
|
live.query = v;
|
|
6371
6371
|
run(0);
|
|
6372
|
-
}, "v0", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
6372
|
+
}, "v0", $scope0_id))}${_attr_class([findInput, keybar && "_fr"])} 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 && "_fs"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_fs"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class([findIconBtn, keybar && "_fs"])} 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")}`);
|
|
6373
6373
|
_script($scope0_id, "v4");
|
|
6374
6374
|
_script($scope0_id, "v5");
|
|
6375
6375
|
_script($scope0_id, "v6");
|
|
@@ -6639,7 +6639,7 @@ var term_default = _template("w", (input) => {
|
|
|
6639
6639
|
trapOpen = true;
|
|
6640
6640
|
}
|
|
6641
6641
|
}, "w14", $scope0_id);
|
|
6642
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
6642
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_du")}><div${_attr_class("_dv")}></div>${_el_resume($scope0_id, "b")}`);
|
|
6643
6643
|
_if(() => {
|
|
6644
6644
|
if (findOpen) {
|
|
6645
6645
|
const $scope12_id = _scope_id();
|
|
@@ -6666,7 +6666,7 @@ var term_default = _template("w", (input) => {
|
|
|
6666
6666
|
_if(() => {
|
|
6667
6667
|
if (uploading) {
|
|
6668
6668
|
const $scope19_id = _scope_id();
|
|
6669
|
-
_html(`<div${_attr_class("
|
|
6669
|
+
_html(`<div${_attr_class("_dB")}>uploading…</div>`);
|
|
6670
6670
|
writeScope($scope19_id, {});
|
|
6671
6671
|
return 0;
|
|
6672
6672
|
}
|
|
@@ -6674,7 +6674,7 @@ var term_default = _template("w", (input) => {
|
|
|
6674
6674
|
_if(() => {
|
|
6675
6675
|
if (copiedFlash) {
|
|
6676
6676
|
const $scope20_id = _scope_id();
|
|
6677
|
-
_html(`<div${_attr_class("
|
|
6677
|
+
_html(`<div${_attr_class("_dA")}>Copied</div>`);
|
|
6678
6678
|
writeScope($scope20_id, {});
|
|
6679
6679
|
return 0;
|
|
6680
6680
|
}
|
|
@@ -6683,7 +6683,7 @@ var term_default = _template("w", (input) => {
|
|
|
6683
6683
|
_if(() => {
|
|
6684
6684
|
if (trapOpen) {
|
|
6685
6685
|
const $scope11_id = _scope_id();
|
|
6686
|
-
_html(`<div${_attr_class("
|
|
6686
|
+
_html(`<div${_attr_class("_dC")}><div${_attr_class("_dD")}><p${_attr_class("_d6")}>Long-press the field 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")}`);
|
|
6687
6687
|
_script($scope11_id, "w24");
|
|
6688
6688
|
_script($scope11_id, "w25");
|
|
6689
6689
|
writeScope($scope11_id, {});
|
|
@@ -6789,7 +6789,7 @@ var work_view_default = _template("z", (input) => {
|
|
|
6789
6789
|
let DiffView = null;
|
|
6790
6790
|
const loadDiffView = _resume(() => {
|
|
6791
6791
|
if (DiffView) return;
|
|
6792
|
-
import("./
|
|
6792
|
+
import("./_ByG3GBnQ.js").then((m) => {
|
|
6793
6793
|
DiffView = m.default;
|
|
6794
6794
|
});
|
|
6795
6795
|
}, "z4", $scope0_id);
|
|
@@ -7472,7 +7472,7 @@ var page_boot_default = _template("n", (input) => {
|
|
|
7472
7472
|
};
|
|
7473
7473
|
}, "n8", $scope4_id)
|
|
7474
7474
|
});
|
|
7475
|
-
_html(`<div${_attr_class("_1")}><button type=button${_attr_class("_i")}>Later
|
|
7475
|
+
_html(`<div${_attr_class("_1")}><button type=button${_attr_class("_i")}>Later, go to workspaces</button>${_el_resume($scope4_id, "d")}</div></div>`);
|
|
7476
7476
|
_script($scope4_id, "n23");
|
|
7477
7477
|
writeScope($scope4_id, { b: _existing_scope($childScope) });
|
|
7478
7478
|
return 0;
|
|
@@ -15063,4 +15063,4 @@ server.listen(port, () => {
|
|
|
15063
15063
|
//#endregion
|
|
15064
15064
|
export {};
|
|
15065
15065
|
|
|
15066
|
-
;var __MARKO_MANIFEST__={"esfPH6H":{"block":[2,"stylesheet#/assets/index-
|
|
15066
|
+
;var __MARKO_MANIFEST__={"esfPH6H":{"block":[2,"stylesheet#/assets/index-BAolJTj4.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/index-BAolJTj4.css\"",">"],"defer":[2,"/assets/index-CPfPckDD.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/index-CPfPckDD.js\"","></script>"]}};
|