@dylanpiercey/work 0.0.106 → 0.0.108
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/{_C4izJPlW.js → _4U00WI47.js} +75 -75
- package/dist/{_DGRUpPRZ.js → _D60UKgk7.js} +4 -4
- package/dist/index.mjs +458 -420
- package/dist/public/assets/{_BoeRfM2Z2.js → _3ZSompN02.js} +1 -1
- package/dist/public/assets/_3ZSompN02.js.br +0 -0
- package/dist/public/assets/{_TKOSXasa.js → _AS_QNAut.js} +1 -1
- package/dist/public/assets/_AS_QNAut.js.br +0 -0
- package/dist/public/assets/{_mjaOB9-I2.js → _A_OowyKJ2.js} +1 -1
- package/dist/public/assets/_A_OowyKJ2.js.br +0 -0
- package/dist/public/assets/{_CiNNmrDh2.js → _AjvVVtb-2.js} +1 -1
- package/dist/public/assets/_AjvVVtb-2.js.br +0 -0
- package/dist/public/assets/{_CkhtqrTu2.js → _B-fILq9z2.js} +1 -1
- package/dist/public/assets/_B-fILq9z2.js.br +0 -0
- package/dist/public/assets/{_DybM4Q162.js → _B5o4lJM-2.js} +1 -1
- package/dist/public/assets/_B5o4lJM-2.js.br +0 -0
- package/dist/public/assets/{_CTIDccBC.js → _BJxldHyB.js} +1 -1
- package/dist/public/assets/_BJxldHyB.js.br +0 -0
- package/dist/public/assets/{_CEjofdhG2.js → _BKnscBu22.js} +1 -1
- package/dist/public/assets/_BKnscBu22.js.br +0 -0
- package/dist/public/assets/{_BtKotVOQ.js → _BLMDpuBW.js} +1 -1
- package/dist/public/assets/_BLMDpuBW.js.br +0 -0
- package/dist/public/assets/{_uBaG05ht.js → _BOXInE4V.js} +1 -1
- package/dist/public/assets/_BOXInE4V.js.br +0 -0
- package/dist/public/assets/{_CrnUavxX.js → _BUvhBhYI.js} +1 -1
- package/dist/public/assets/_BUvhBhYI.js.br +0 -0
- package/dist/public/assets/{_qK6taIiD.js → _BZR8clV2.js} +1 -1
- package/dist/public/assets/_BZR8clV2.js.br +0 -0
- package/dist/public/assets/{_qWbAixCp.js → _B_02a7gR.js} +1 -1
- package/dist/public/assets/_B_02a7gR.js.br +0 -0
- package/dist/public/assets/{_jF545m6o2.js → _B_DF81_a2.js} +1 -1
- package/dist/public/assets/_B_DF81_a2.js.br +0 -0
- package/dist/public/assets/{_j8zr__wS2.js → _Ba9xe9U02.js} +1 -1
- package/dist/public/assets/_Ba9xe9U02.js.br +0 -0
- package/dist/public/assets/{_C1olJsS82.js → _BcZJAvN-2.js} +1 -1
- package/dist/public/assets/_BcZJAvN-2.js.br +0 -0
- package/dist/public/assets/{_PAPEtX6J.js → _Bd1pgCVU.js} +1 -1
- package/dist/public/assets/_Bd1pgCVU.js.br +0 -0
- package/dist/public/assets/{_VTQEw_QW.js → _BdWb51WI.js} +1 -1
- package/dist/public/assets/_BdWb51WI.js.br +0 -0
- package/dist/public/assets/{_2DlS0pj5.js → _Bj_cWMOB.js} +1 -1
- package/dist/public/assets/_Bj_cWMOB.js.br +0 -0
- package/dist/public/assets/{_UY9_2fVs.js → _Bo7bxECF.js} +1 -1
- package/dist/public/assets/_Bo7bxECF.js.br +0 -0
- package/dist/public/assets/{_BCj8vQcD.js → _BsPMrz7F.js} +1 -1
- package/dist/public/assets/_BsPMrz7F.js.br +0 -0
- package/dist/public/assets/{_CcoPLtxb2.js → _C040XCr_2.js} +1 -1
- package/dist/public/assets/_C040XCr_2.js.br +0 -0
- package/dist/public/assets/{_9f-31NGn.js → _C0jyA9P3.js} +1 -1
- package/dist/public/assets/_C0jyA9P3.js.br +0 -0
- package/dist/public/assets/{_B7rAWW0W.js → _C1EPmd7c.js} +1 -1
- package/dist/public/assets/_C1EPmd7c.js.br +0 -0
- package/dist/public/assets/{_BthxwMzl.js → _CBqQa764.js} +1 -1
- package/dist/public/assets/_CBqQa764.js.br +0 -0
- package/dist/public/assets/{_DoJYrhkR.js → _CGe2Wzv9.js} +1 -1
- package/dist/public/assets/_CGe2Wzv9.js.br +0 -0
- package/dist/public/assets/{_CBbOhzXT.js → _CIqrNCTI.js} +1 -1
- package/dist/public/assets/_CIqrNCTI.js.br +0 -0
- package/dist/public/assets/{_CdH63DeM.js → _CSHJATpy.js} +1 -1
- package/dist/public/assets/_CSHJATpy.js.br +0 -0
- package/dist/public/assets/{_CDMZEaw92.js → _CTagvw5f2.js} +1 -1
- package/dist/public/assets/_CTagvw5f2.js.br +0 -0
- package/dist/public/assets/{_CSFxUgDi.js → _CUQj5ppf.js} +1 -1
- package/dist/public/assets/_CUQj5ppf.js.br +0 -0
- package/dist/public/assets/{_DL4P55ju.js → _CVWmEDK_.js} +1 -1
- package/dist/public/assets/_CVWmEDK_.js.br +0 -0
- package/dist/public/assets/{_BOcGGbVy.js → _CYBd6Oge.js} +1 -1
- package/dist/public/assets/{_Bg-svXCt.js → _Cc9FkJJU.js} +1 -1
- package/dist/public/assets/_Cc9FkJJU.js.br +0 -0
- package/dist/public/assets/{_b0GsiXIp.js → _Cg9E-hC9.js} +1 -1
- package/dist/public/assets/_Cg9E-hC9.js.br +0 -0
- package/dist/public/assets/{_D8h9iTad.js → _CgStCf6c.js} +1 -1
- package/dist/public/assets/_CgStCf6c.js.br +0 -0
- package/dist/public/assets/{_D5YimvAV2.js → _CtQKrFEA2.js} +1 -1
- package/dist/public/assets/_CtQKrFEA2.js.br +0 -0
- package/dist/public/assets/{_DIK_ydgy.js → _CvxThUGr.js} +1 -1
- package/dist/public/assets/_CvxThUGr.js.br +0 -0
- package/dist/public/assets/{_D_PCabXo2.js → _Cwr7DlYk2.js} +1 -1
- package/dist/public/assets/_Cwr7DlYk2.js.br +0 -0
- package/dist/public/assets/{_ceIu4oMj.js → _D0MMHjUQ.js} +1 -1
- package/dist/public/assets/_D0MMHjUQ.js.br +0 -0
- package/dist/public/assets/{_BmQQ4FOf.js → _D1kUHoph.js} +1 -1
- package/dist/public/assets/_D1kUHoph.js.br +0 -0
- package/dist/public/assets/{_BtWIWFPg2.js → _D4WhUwUL2.js} +1 -1
- package/dist/public/assets/_D4WhUwUL2.js.br +0 -0
- package/dist/public/assets/{_jLjl5wLW.js → _D5QfUmLo.js} +1 -1
- package/dist/public/assets/_D5QfUmLo.js.br +0 -0
- package/dist/public/assets/{_DU9iwPkg2.js → _D8kKtbZL2.js} +1 -1
- package/dist/public/assets/_D8kKtbZL2.js.br +0 -0
- package/dist/public/assets/{_62bzfpbe2.js → _DCZujH2N2.js} +1 -1
- package/dist/public/assets/_DCZujH2N2.js.br +0 -0
- package/dist/public/assets/{_Df0UBAnj.js → _DGLSFxYV.js} +1 -1
- package/dist/public/assets/_DGLSFxYV.js.br +0 -0
- package/dist/public/assets/{_6EMErfwv2.js → _DGktplbo2.js} +1 -1
- package/dist/public/assets/_DGktplbo2.js.br +0 -0
- package/dist/public/assets/{_BM1gKeBN.js → _DIlBIf-A.js} +1 -1
- package/dist/public/assets/_DIlBIf-A.js.br +0 -0
- package/dist/public/assets/{_hdZ8b-wd2.js → _DK2UAgBJ2.js} +1 -1
- package/dist/public/assets/_DK2UAgBJ2.js.br +0 -0
- package/dist/public/assets/{_D76wv6xE.js → _DPmzsr0b.js} +1 -1
- package/dist/public/assets/_DPmzsr0b.js.br +0 -0
- package/dist/public/assets/{_B5bjQ_wS.js → _DSWiQozG.js} +1 -1
- package/dist/public/assets/_DSWiQozG.js.br +0 -0
- package/dist/public/assets/{_BHrpeoFQ2.js → _DTTkFy3z2.js} +1 -1
- package/dist/public/assets/_DTTkFy3z2.js.br +0 -0
- package/dist/public/assets/{_56VfqsU9.js → _Dblgtz99.js} +1 -1
- package/dist/public/assets/_Dblgtz99.js.br +0 -0
- package/dist/public/assets/{_NOZ9WElj.js → _Dc8rm3jI.js} +1 -1
- package/dist/public/assets/_Dc8rm3jI.js.br +0 -0
- package/dist/public/assets/{_Du0h6Znj.js → _Dh0VQfQJ.js} +1 -1
- package/dist/public/assets/_Dh0VQfQJ.js.br +0 -0
- package/dist/public/assets/{_K5VzBeos.js → _DiJIDgvc.js} +1 -1
- package/dist/public/assets/_DiJIDgvc.js.br +0 -0
- package/dist/public/assets/{_CCN7vSAK2.js → _Djf-fwhe2.js} +1 -1
- package/dist/public/assets/{_DO7LfEyw.js → _DjrRedRo.js} +1 -1
- package/dist/public/assets/_DjrRedRo.js.br +0 -0
- package/dist/public/assets/{_DglcCAfY.js → _Dl07-GMx.js} +1 -1
- package/dist/public/assets/_Dl07-GMx.js.br +0 -0
- package/dist/public/assets/{_Cq5k_SjG.js → _Dp2CEQ4Q.js} +1 -1
- package/dist/public/assets/_Dp2CEQ4Q.js.br +0 -0
- package/dist/public/assets/{_BVhKKR9h.js → _Dw-O85yr.js} +1 -1
- package/dist/public/assets/_Dw-O85yr.js.br +0 -0
- package/dist/public/assets/{_COouEb_5.js → _DwUcwzyn.js} +1 -1
- package/dist/public/assets/_DwUcwzyn.js.br +0 -0
- package/dist/public/assets/{_Hn4Y2hxn.js → _Dwxc6WXv.js} +1 -1
- package/dist/public/assets/_Dwxc6WXv.js.br +0 -0
- package/dist/public/assets/{_B7uAttEH.js → _Kwrx7rB4.js} +1 -1
- package/dist/public/assets/_Kwrx7rB4.js.br +0 -0
- package/dist/public/assets/{_BCdtV2cF.js → _LpMRsHBj.js} +1 -1
- package/dist/public/assets/_LpMRsHBj.js.br +0 -0
- package/dist/public/assets/{_geKQGqMp.js → _Rh7Ur8FS.js} +1 -1
- package/dist/public/assets/_Rh7Ur8FS.js.br +0 -0
- package/dist/public/assets/{_XcRRobRP.js → _UDa7z5Hc.js} +1 -1
- package/dist/public/assets/_UDa7z5Hc.js.br +0 -0
- package/dist/public/assets/{_DDHogN37.js → _WETndjfo.js} +1 -1
- package/dist/public/assets/_WETndjfo.js.br +0 -0
- package/dist/public/assets/{_C0MBHS752.js → _YQPM-WZr2.js} +1 -1
- package/dist/public/assets/_YQPM-WZr2.js.br +0 -0
- package/dist/public/assets/__4GwJAR8.js +86 -0
- package/dist/public/assets/__4GwJAR8.js.br +0 -0
- package/dist/public/assets/{_nO3IneIT.js → _bm5qnTpZ.js} +1 -1
- package/dist/public/assets/_bm5qnTpZ.js.br +0 -0
- package/dist/public/assets/{_Das4wWTu2.js → _hAGd6rfv2.js} +1 -1
- package/dist/public/assets/{_CkgBgoI4.js → _hAOdnTV6.js} +1 -1
- package/dist/public/assets/_hAOdnTV6.js.br +0 -0
- package/dist/public/assets/{_xzVOXbqm.js → _hz5dauNZ.js} +1 -1
- package/dist/public/assets/_hz5dauNZ.js.br +0 -0
- package/dist/public/assets/{_CyfjlDer.js → _iTvtyEoL.js} +6 -6
- package/dist/public/assets/_iTvtyEoL.js.br +0 -0
- package/dist/public/assets/{_DNKZ7tfA2.js → _k-IEVEnY2.js} +1 -1
- package/dist/public/assets/_k-IEVEnY2.js.br +0 -0
- package/dist/public/assets/{_B2b8F8OI2.js → _oZRSosjr2.js} +1 -1
- package/dist/public/assets/_oZRSosjr2.js.br +0 -0
- package/dist/public/assets/app-page-B9bx61fb.css +1 -0
- package/dist/public/assets/app-page-B9bx61fb.css.br +0 -0
- package/dist/public/assets/diff-view-CB87Ra6B.css +1 -0
- package/dist/public/assets/diff-view-CB87Ra6B.css.br +0 -0
- package/dist/public/assets/new-Cg2dy7JI.js +1 -0
- package/dist/public/assets/settings-Cg2dy7JI.js +1 -0
- package/dist/public/assets/w-Cg2dy7JI.js +1 -0
- package/dist/public/assets/w._-Cg-GdtFy.js +1 -0
- package/dist/public/assets/w._-Cg2dy7JI.js +1 -0
- package/package.json +1 -1
- package/dist/public/assets/_2DlS0pj5.js.br +0 -0
- package/dist/public/assets/_56VfqsU9.js.br +0 -0
- package/dist/public/assets/_62bzfpbe2.js.br +0 -0
- package/dist/public/assets/_6EMErfwv2.js.br +0 -0
- package/dist/public/assets/_9f-31NGn.js.br +0 -0
- package/dist/public/assets/_B2b8F8OI2.js.br +0 -0
- package/dist/public/assets/_B5bjQ_wS.js.br +0 -0
- package/dist/public/assets/_B7h2lWKO.js +0 -86
- package/dist/public/assets/_B7h2lWKO.js.br +0 -0
- package/dist/public/assets/_B7rAWW0W.js.br +0 -0
- package/dist/public/assets/_B7uAttEH.js.br +0 -0
- package/dist/public/assets/_BCdtV2cF.js.br +0 -0
- package/dist/public/assets/_BCj8vQcD.js.br +0 -0
- package/dist/public/assets/_BHrpeoFQ2.js.br +0 -0
- package/dist/public/assets/_BM1gKeBN.js.br +0 -0
- package/dist/public/assets/_BVhKKR9h.js.br +0 -0
- package/dist/public/assets/_Bg-svXCt.js.br +0 -0
- package/dist/public/assets/_BmQQ4FOf.js.br +0 -0
- package/dist/public/assets/_BoeRfM2Z2.js.br +0 -0
- package/dist/public/assets/_BtKotVOQ.js.br +0 -0
- package/dist/public/assets/_BtWIWFPg2.js.br +0 -0
- package/dist/public/assets/_BthxwMzl.js.br +0 -0
- package/dist/public/assets/_C0MBHS752.js.br +0 -0
- package/dist/public/assets/_C1olJsS82.js.br +0 -0
- package/dist/public/assets/_CBbOhzXT.js.br +0 -0
- package/dist/public/assets/_CDMZEaw92.js.br +0 -0
- package/dist/public/assets/_CEjofdhG2.js.br +0 -0
- package/dist/public/assets/_COouEb_5.js.br +0 -0
- package/dist/public/assets/_CSFxUgDi.js.br +0 -0
- package/dist/public/assets/_CTIDccBC.js.br +0 -0
- package/dist/public/assets/_CcoPLtxb2.js.br +0 -0
- package/dist/public/assets/_CdH63DeM.js.br +0 -0
- package/dist/public/assets/_CiNNmrDh2.js.br +0 -0
- package/dist/public/assets/_CkgBgoI4.js.br +0 -0
- package/dist/public/assets/_CkhtqrTu2.js.br +0 -0
- package/dist/public/assets/_Cq5k_SjG.js.br +0 -0
- package/dist/public/assets/_CrnUavxX.js.br +0 -0
- package/dist/public/assets/_CyfjlDer.js.br +0 -0
- package/dist/public/assets/_D5YimvAV2.js.br +0 -0
- package/dist/public/assets/_D76wv6xE.js.br +0 -0
- package/dist/public/assets/_D8h9iTad.js.br +0 -0
- package/dist/public/assets/_DDHogN37.js.br +0 -0
- package/dist/public/assets/_DIK_ydgy.js.br +0 -0
- package/dist/public/assets/_DL4P55ju.js.br +0 -0
- package/dist/public/assets/_DNKZ7tfA2.js.br +0 -0
- package/dist/public/assets/_DO7LfEyw.js.br +0 -0
- package/dist/public/assets/_DU9iwPkg2.js.br +0 -0
- package/dist/public/assets/_D_PCabXo2.js.br +0 -0
- package/dist/public/assets/_Df0UBAnj.js.br +0 -0
- package/dist/public/assets/_DglcCAfY.js.br +0 -0
- package/dist/public/assets/_DoJYrhkR.js.br +0 -0
- package/dist/public/assets/_Du0h6Znj.js.br +0 -0
- package/dist/public/assets/_DybM4Q162.js.br +0 -0
- package/dist/public/assets/_Hn4Y2hxn.js.br +0 -0
- package/dist/public/assets/_K5VzBeos.js.br +0 -0
- package/dist/public/assets/_NOZ9WElj.js.br +0 -0
- package/dist/public/assets/_PAPEtX6J.js.br +0 -0
- package/dist/public/assets/_TKOSXasa.js.br +0 -0
- package/dist/public/assets/_UY9_2fVs.js.br +0 -0
- package/dist/public/assets/_VTQEw_QW.js.br +0 -0
- package/dist/public/assets/_XcRRobRP.js.br +0 -0
- package/dist/public/assets/_b0GsiXIp.js.br +0 -0
- package/dist/public/assets/_ceIu4oMj.js.br +0 -2
- package/dist/public/assets/_geKQGqMp.js.br +0 -0
- package/dist/public/assets/_hdZ8b-wd2.js.br +0 -0
- package/dist/public/assets/_j8zr__wS2.js.br +0 -0
- package/dist/public/assets/_jF545m6o2.js.br +0 -0
- package/dist/public/assets/_jLjl5wLW.js.br +0 -0
- package/dist/public/assets/_mjaOB9-I2.js.br +0 -0
- package/dist/public/assets/_nO3IneIT.js.br +0 -0
- package/dist/public/assets/_qK6taIiD.js.br +0 -0
- package/dist/public/assets/_qWbAixCp.js.br +0 -0
- package/dist/public/assets/_uBaG05ht.js.br +0 -0
- package/dist/public/assets/_xzVOXbqm.js.br +0 -0
- package/dist/public/assets/app-page-kF1-swst.css +0 -1
- package/dist/public/assets/app-page-kF1-swst.css.br +0 -0
- package/dist/public/assets/diff-view-C1XMnv65.css +0 -1
- package/dist/public/assets/diff-view-C1XMnv65.css.br +0 -0
- package/dist/public/assets/new-DEjuHgxJ.js +0 -1
- package/dist/public/assets/settings-DEjuHgxJ.js +0 -1
- package/dist/public/assets/w-DEjuHgxJ.js +0 -1
- package/dist/public/assets/w._-8BihnvUc.js +0 -1
- package/dist/public/assets/w._-DEjuHgxJ.js +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./_BMI-E3GI.js";
|
|
2
2
|
import { $ as setSetting, A as setScrapedPhase, B as saveSubscription, C as agentBadge, D as agentMeta, E as agentLabel, F as manifest, G as agentChoices, H as subscribe, I as normalizeAccent, J as enabledAgents, K as allPrefs, L as setInstance, M as ACCENT_RE, N as getInstance, O as clearAgentPhase, P as iconSvg, Q as setPref, R as deleteSubscription, S as blankRow, T as agentFromCommand, U as subscriberCount, V as publish, W as subscriberJoins, X as preferredAgent, Y as getSetting, Z as setDisabledAgents, _ as tmuxName, _t as tmux, a as ensureTmuxServer, at as DEFAULT_GITHUB_HOST, b as readHookPayload, c as killWorkspaceSessions, ct as toolById, d as newSessionArgs, dt as get, et as doctor, ft as workspacePath, g as sessionStates, gt as run, h as sendToSession, ht as git, i as disposeSessions, it as which, j as setSessionViewers, k as setAgentPhase, l as listSessions, lt as all, m as renameSession, mt as gh, n as clearTmuxStarted, nt as miseVersions, o as getSession, ot as TOOLS, p as panePids, pt as TMUX_SOCKET, q as disabledAgents, r as createSession, rt as setupPath, s as killSession, st as agentById, t as cleanEnv, tt as ghKnownHosts, u as markTmuxStarted, ut as db, v as tmuxWasStarted, vt as config, w as agentFamily, x as reportsWorking, y as AGENTS, z as pushPublicKey } from "./_BYk3MBDh.js";
|
|
3
|
-
import { $ as _await, A as repoLabel, At as _try, B as phase, C as sideNavOpen, Ct as _serialize_guard, D as icon_xmark_default, Dt as _template, E as toast_default, Et as _subscribe, H as $global, I as iconBtnRow, J as _attr_or, K as _attr_input_value, L as iconBtnXs, M as setPrimaryHost, Mt as attrTag, N as btnLg, Nt as withPageAssets, O as icon_base_default, Ot as _to_text, P as btnSm, Pt as writeScope, Q as _attrs_partial, R as inputLg, S as setWorkspaceTab, St as _sep, T as workspaceTab, Tt as _set_serialize_reason, U as _attr, V as tone, W as _attr_class, X as _attr_style, Y as _attr_select_value, Z as _attrs, _t as _resume_branch, at as _el_resume, bt as _scope_with_id, c as icon_arrow_up_default, ct as _flush_head, d as iconBtn$2, dt as _hoist_read_error, et as _content, f as row, ft as _html, gt as _resume, ht as _peek_scope_id, i as icon_sidebar_default, it as _el_read_error, j as repoWebUrl$1, jt as _var, k as parseRepoUrl, kt as _trailers, l as icon_back_default, lt as _for_of, mt as _if, n as findIconBtn, nt as _dynamic_tag, o as rankRepos, ot as _escape, p as sectionCount$1, pt as _id, q as _attr_option_value, r as findInput, s as icon_search_default, st as _existing_scope, t as icon_arrow_down_default, tt as _content_resume, u as icon_refresh_default, ut as _hoist, v as ignoredSsoOrgs, vt as _scope_id, w as theme, wt as _serialize_if, x as setTheme, xt as _script, yt as _scope_reason, z as metaTrunc } from "./
|
|
3
|
+
import { $ as _await, A as repoLabel, At as _try, B as phase, C as sideNavOpen, Ct as _serialize_guard, D as icon_xmark_default, Dt as _template, E as toast_default, Et as _subscribe, H as $global, I as iconBtnRow, J as _attr_or, K as _attr_input_value, L as iconBtnXs, M as setPrimaryHost, Mt as attrTag, N as btnLg, Nt as withPageAssets, O as icon_base_default, Ot as _to_text, P as btnSm, Pt as writeScope, Q as _attrs_partial, R as inputLg, S as setWorkspaceTab, St as _sep, T as workspaceTab, Tt as _set_serialize_reason, U as _attr, V as tone, W as _attr_class, X as _attr_style, Y as _attr_select_value, Z as _attrs, _t as _resume_branch, at as _el_resume, bt as _scope_with_id, c as icon_arrow_up_default, ct as _flush_head, d as iconBtn$2, dt as _hoist_read_error, et as _content, f as row, ft as _html, gt as _resume, ht as _peek_scope_id, i as icon_sidebar_default, it as _el_read_error, j as repoWebUrl$1, jt as _var, k as parseRepoUrl, kt as _trailers, l as icon_back_default, lt as _for_of, mt as _if, n as findIconBtn, nt as _dynamic_tag, o as rankRepos, ot as _escape, p as sectionCount$1, pt as _id, q as _attr_option_value, r as findInput, s as icon_search_default, st as _existing_scope, t as icon_arrow_down_default, tt as _content_resume, u as icon_refresh_default, ut as _hoist, v as ignoredSsoOrgs, vt as _scope_id, w as theme, wt as _serialize_if, x as setTheme, xt as _script, yt as _scope_reason, z as metaTrunc } from "./_D60UKgk7.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { createServer } from "node:http";
|
|
6
6
|
import path from "node:path";
|
|
@@ -3548,10 +3548,6 @@ var _layout_default = _template("a", (input) => {
|
|
|
3548
3548
|
_trailers("</body></html>");
|
|
3549
3549
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, {});
|
|
3550
3550
|
}, 1);
|
|
3551
|
-
var bus = new EventTarget();
|
|
3552
|
-
function requestDiff(workspaceId, pr) {
|
|
3553
|
-
bus.dispatchEvent(new Event("intent"));
|
|
3554
|
-
}
|
|
3555
3551
|
//#endregion
|
|
3556
3552
|
//#region src/client/coalesce.ts
|
|
3557
3553
|
/** Wrap an async task so event bursts collapse: never more than one run in
|
|
@@ -3704,26 +3700,26 @@ function applyInstance(inst) {
|
|
|
3704
3700
|
}
|
|
3705
3701
|
//#endregion
|
|
3706
3702
|
//#region src/tags/settings-page.css.ts
|
|
3707
|
-
var content$2 = "
|
|
3708
|
-
var agentGrid = "
|
|
3709
|
-
var toolGrid = "
|
|
3703
|
+
var content$2 = "_ca _bm _bn";
|
|
3704
|
+
var agentGrid = "_ce _bx";
|
|
3705
|
+
var toolGrid = "_co _bx";
|
|
3710
3706
|
//#endregion
|
|
3711
3707
|
//#region src/tags/page-head.marko
|
|
3712
3708
|
var page_head_default = _template("r", (input) => {
|
|
3713
3709
|
const $scope0_reason = _scope_reason(), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions = _serialize_guard($scope0_reason, 3), $sg__input_meta = _serialize_guard($scope0_reason, 6), $sg__input_actions = _serialize_guard($scope0_reason, 7), $si__input_backHref__OR__input_onBack = _serialize_if($scope0_reason, 1), $si__input_meta = _serialize_if($scope0_reason, 6), $si__input_actions = _serialize_if($scope0_reason, 7);
|
|
3714
3710
|
const $scope0_id = _scope_id();
|
|
3715
|
-
_html(`<header${_attr_class("
|
|
3711
|
+
_html(`<header${_attr_class("_bo")}>`);
|
|
3716
3712
|
_if(() => {
|
|
3717
3713
|
if (input.backHref) {
|
|
3718
3714
|
const $scope1_id = _scope_id();
|
|
3719
|
-
_html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "
|
|
3715
|
+
_html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_cR"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
3720
3716
|
icon_back_default({ size: 16 });
|
|
3721
3717
|
_html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 0))}`);
|
|
3722
3718
|
_serialize_if($scope0_reason, 2) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 0) && _scope_with_id($scope0_id) });
|
|
3723
3719
|
return 0;
|
|
3724
3720
|
} else if (input.onBack) {
|
|
3725
3721
|
const $scope2_id = _scope_id();
|
|
3726
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
3722
|
+
_html(`<button${_attr_class([iconBtnRow, "_cR"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
3727
3723
|
icon_back_default({ size: 16 });
|
|
3728
3724
|
_html(`</button>${_el_resume($scope2_id, "a")}`);
|
|
3729
3725
|
_script($scope2_id, "r0");
|
|
@@ -3731,11 +3727,11 @@ var page_head_default = _template("r", (input) => {
|
|
|
3731
3727
|
return 1;
|
|
3732
3728
|
}
|
|
3733
3729
|
}, $scope0_id, "b", _serialize_guard($scope0_reason, 2), _serialize_guard($scope0_reason, 1), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions, 0, 1);
|
|
3734
|
-
_html(`<div${_attr_class("
|
|
3730
|
+
_html(`<div${_attr_class("_bq")}><h1${_attr("id", input.titleId)}${_attr_class("_bp")}>${_escape(input.title)}${_el_resume($scope0_id, "e", _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
|
|
3735
3731
|
_if(() => {
|
|
3736
3732
|
if (input.meta) {
|
|
3737
3733
|
const $scope3_id = _scope_id();
|
|
3738
|
-
_html(`<p${_attr_class("
|
|
3734
|
+
_html(`<p${_attr_class("_br")}>`);
|
|
3739
3735
|
_dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
|
|
3740
3736
|
_html("</p>");
|
|
3741
3737
|
$si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -3746,7 +3742,7 @@ var page_head_default = _template("r", (input) => {
|
|
|
3746
3742
|
_if(() => {
|
|
3747
3743
|
if (input.actions) {
|
|
3748
3744
|
const $scope4_id = _scope_id();
|
|
3749
|
-
_html(`<div${_attr_class("
|
|
3745
|
+
_html(`<div${_attr_class("_bs")}>`);
|
|
3750
3746
|
_dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
3751
3747
|
_html("</div>");
|
|
3752
3748
|
$si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -3968,14 +3964,14 @@ var sso_auth_default = _template("z", (input) => {
|
|
|
3968
3964
|
localCode = null;
|
|
3969
3965
|
}
|
|
3970
3966
|
}, "z0", $scope0_id);
|
|
3971
|
-
_html(`<div${_attr_class("
|
|
3967
|
+
_html(`<div${_attr_class("_c8")}>`);
|
|
3972
3968
|
_if(() => {
|
|
3973
3969
|
if (input.items.length) {
|
|
3974
3970
|
const $scope1_id = _scope_id();
|
|
3975
|
-
_html(`<p${_attr_class("
|
|
3971
|
+
_html(`<p${_attr_class("_di")}>GitHub CLI needs org SSO for ${_sep($sg__input_items)}${_escape(input.items.map((s) => s.org).join(", "))}${_el_resume($scope1_id, "b", $sg__input_items)}.</p><ul${_attr_class("_c9")}>`);
|
|
3976
3972
|
_for_of(input.items, (s) => {
|
|
3977
3973
|
const $scope2_id = _scope_id();
|
|
3978
|
-
_html(`<li${_attr_class("
|
|
3974
|
+
_html(`<li${_attr_class("_c_")}>${_escape(s.org)}${_el_resume($scope2_id, "b", $sg__input_items)}<button type=button${_attr_class("_da")}${_attr("title", `Skip ${s.org}`)}${_attr("aria-label", `Skip ${s.org}`)}${_attr("disabled", busy)}>`);
|
|
3979
3975
|
icon_xmark_default({ size: 11 });
|
|
3980
3976
|
_html(`</button>${_el_resume($scope2_id, "c")}</li>`);
|
|
3981
3977
|
_script($scope2_id, "z1");
|
|
@@ -3984,17 +3980,17 @@ var sso_auth_default = _template("z", (input) => {
|
|
|
3984
3980
|
_: _scope_with_id($scope1_id)
|
|
3985
3981
|
}));
|
|
3986
3982
|
}, "org", $scope1_id, "c", $sg__input_items, $sg__input_items, $sg__input_items, "</ul>", 1);
|
|
3987
|
-
_html(`<div${_attr_class("
|
|
3983
|
+
_html(`<div${_attr_class("_db")}>`);
|
|
3988
3984
|
_if(() => {
|
|
3989
3985
|
if (busy && authCode$2) {
|
|
3990
3986
|
const $scope5_id = _scope_id();
|
|
3991
|
-
_html(`<span${_attr_class("
|
|
3987
|
+
_html(`<span${_attr_class("_dc")}><span${_attr_class("_F")}></span> Enter code <strong${_attr_class("_dd")}>${_escape(authCode$2)}${_el_resume($scope5_id, "d")}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_de")}>${_escape(host)}${_el_resume($scope5_id, "f", _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope5_id, "e")}</span>`);
|
|
3992
3988
|
_script($scope5_id, "z2");
|
|
3993
3989
|
_subscribe($authCode__closures, _subscribe($si__input_items_0_host && $host__closures, writeScope($scope5_id, {})));
|
|
3994
3990
|
return 0;
|
|
3995
3991
|
} else if (busy) {
|
|
3996
3992
|
const $scope8_id = _scope_id();
|
|
3997
|
-
_html(`<span${_attr_class("
|
|
3993
|
+
_html(`<span${_attr_class("_dc")}><span${_attr_class("_F")}></span>Starting GitHub re-authorization…</span>`);
|
|
3998
3994
|
writeScope($scope8_id, {});
|
|
3999
3995
|
return 1;
|
|
4000
3996
|
} else {
|
|
@@ -4008,7 +4004,7 @@ var sso_auth_default = _template("z", (input) => {
|
|
|
4008
4004
|
_if(() => {
|
|
4009
4005
|
if (localError) {
|
|
4010
4006
|
const $scope6_id = _scope_id();
|
|
4011
|
-
_html(`<p${_attr_class("
|
|
4007
|
+
_html(`<p${_attr_class("_di")}>${_escape(localError)}${_el_resume($scope6_id, "b")}</p>`);
|
|
4012
4008
|
_subscribe($localError__closures, writeScope($scope6_id, {}));
|
|
4013
4009
|
return 0;
|
|
4014
4010
|
}
|
|
@@ -4020,10 +4016,10 @@ var sso_auth_default = _template("z", (input) => {
|
|
|
4020
4016
|
_if(() => {
|
|
4021
4017
|
if (skipped$1.length) {
|
|
4022
4018
|
const $scope3_id = _scope_id();
|
|
4023
|
-
_html(`<p${_attr_class("
|
|
4019
|
+
_html(`<p${_attr_class("_df")}>Skipped SSO for `);
|
|
4024
4020
|
_for_of(skipped$1, (s) => {
|
|
4025
4021
|
const $scope4_id = _scope_id();
|
|
4026
|
-
_html(`<span${_attr_class("
|
|
4022
|
+
_html(`<span${_attr_class("_dg")}>${_escape(s.org)}${_el_resume($scope4_id, "b", $sg__input_skipped)}<button type=button${_attr_class("_dh")}${_attr("title", `Show ${s.org} again`)}>(undo)</button>${_el_resume($scope4_id, "c")}</span>`);
|
|
4027
4023
|
_script($scope4_id, "z4");
|
|
4028
4024
|
writeScope($scope4_id, {
|
|
4029
4025
|
f: s?.org,
|
|
@@ -4098,7 +4094,7 @@ var modal_view_default = _template("p", (input) => {
|
|
|
4098
4094
|
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;
|
|
4099
4095
|
const dismissable = input.dismissable !== false;
|
|
4100
4096
|
let open = input.open;
|
|
4101
|
-
_html(`<dialog${_attr_class(["
|
|
4097
|
+
_html(`<dialog${_attr_class(["_fl", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
|
|
4102
4098
|
...htmlInput,
|
|
4103
4099
|
open: null
|
|
4104
4100
|
}, {
|
|
@@ -4108,20 +4104,20 @@ var modal_view_default = _template("p", (input) => {
|
|
|
4108
4104
|
closedby: 1,
|
|
4109
4105
|
"on-cancel": 1,
|
|
4110
4106
|
"on-close": 1
|
|
4111
|
-
}, "a", $scope0_id, "dialog")}><div${_attr_class("
|
|
4107
|
+
}, "a", $scope0_id, "dialog")}><div${_attr_class("_fm")}>`);
|
|
4112
4108
|
_dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
|
|
4113
4109
|
_html("</div>");
|
|
4114
4110
|
_if(() => {
|
|
4115
4111
|
if (footer) {
|
|
4116
4112
|
const $scope1_id = _scope_id();
|
|
4117
|
-
_html(`<form method=dialog${_attr_class("
|
|
4113
|
+
_html(`<form method=dialog${_attr_class("_fn")}>`);
|
|
4118
4114
|
_dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
|
|
4119
4115
|
_html("</form>");
|
|
4120
4116
|
$si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
|
|
4121
4117
|
return 0;
|
|
4122
4118
|
} else if (input.openChange) {
|
|
4123
4119
|
const $scope2_id = _scope_id();
|
|
4124
|
-
_html(`<form method=dialog${_attr_class("
|
|
4120
|
+
_html(`<form method=dialog${_attr_class("_fn")}>`);
|
|
4125
4121
|
dialog_close_default({
|
|
4126
4122
|
class: ["_o", "_p"],
|
|
4127
4123
|
content: _content("p0", () => {
|
|
@@ -4180,7 +4176,7 @@ var prompt_dialog_default = _template("s", (input) => {
|
|
|
4180
4176
|
const $childScope = _peek_scope_id();
|
|
4181
4177
|
modal_view_default({
|
|
4182
4178
|
label: input.label,
|
|
4183
|
-
class: "
|
|
4179
|
+
class: "_dj",
|
|
4184
4180
|
open: input.open,
|
|
4185
4181
|
openChange: input.openChange,
|
|
4186
4182
|
"aria-labelledby": titleId,
|
|
@@ -4203,7 +4199,7 @@ var prompt_dialog_default = _template("s", (input) => {
|
|
|
4203
4199
|
content: _content("s6", () => {
|
|
4204
4200
|
_scope_reason();
|
|
4205
4201
|
const $scope2_id = _scope_id();
|
|
4206
|
-
_html(`<h2${_attr_class("
|
|
4202
|
+
_html(`<h2${_attr_class("_dk")}${_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) => {
|
|
4207
4203
|
value = _new_value;
|
|
4208
4204
|
}, "s0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
|
|
4209
4205
|
_script($scope2_id, "s4");
|
|
@@ -4513,7 +4509,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4513
4509
|
const appearanceId = _id();
|
|
4514
4510
|
const githubId = _id();
|
|
4515
4511
|
const machineId = _id();
|
|
4516
|
-
_html(`<div${_attr_class("
|
|
4512
|
+
_html(`<div${_attr_class("_bk")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bl")}><div${_attr_class(content$2)}>`);
|
|
4517
4513
|
_set_serialize_reason({
|
|
4518
4514
|
0: _serialize_guard($scope0_reason, 4),
|
|
4519
4515
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -4537,12 +4533,12 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4537
4533
|
return 0;
|
|
4538
4534
|
} else if (setup.ready) {
|
|
4539
4535
|
const $scope52_id = _scope_id();
|
|
4540
|
-
_html(`<span${_attr_class("
|
|
4536
|
+
_html(`<span${_attr_class("_cc")}>Ready</span>. Tools, GitHub, and an agent are all in place.`);
|
|
4541
4537
|
writeScope($scope52_id, {});
|
|
4542
4538
|
return 1;
|
|
4543
4539
|
} else {
|
|
4544
4540
|
const $scope6_id = _scope_id();
|
|
4545
|
-
_html(`<span${_attr_class("
|
|
4541
|
+
_html(`<span${_attr_class("_cd")}>Not ready</span>. Missing <!>${_escape(setup.missing.map((m) => MISSING_LABEL[m] || m).join(", "))}${_el_resume($scope6_id, "b")}.`);
|
|
4546
4542
|
_subscribe($setup_missing__closures, writeScope($scope6_id, {}));
|
|
4547
4543
|
return 2;
|
|
4548
4544
|
}
|
|
@@ -4592,16 +4588,16 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4592
4588
|
_if(() => {
|
|
4593
4589
|
if (selfUpdatePending || selfUpdating) {
|
|
4594
4590
|
const $scope37_id = _scope_id();
|
|
4595
|
-
_html(`<div${_attr_class("
|
|
4591
|
+
_html(`<div${_attr_class("_cH")} role=status><div${_attr_class("_cI")}>`);
|
|
4596
4592
|
_if(() => {
|
|
4597
4593
|
if (selfUpdating) {
|
|
4598
4594
|
const $scope53_id = _scope_id();
|
|
4599
|
-
_html(`<span${_attr_class("
|
|
4595
|
+
_html(`<span${_attr_class("_cJ")}><span${_attr_class("_F")}></span> Updating work…</span><span${_attr_class("_cK")}>The app restarts and reloads when it is done.</span>`);
|
|
4600
4596
|
writeScope($scope53_id, {});
|
|
4601
4597
|
return 0;
|
|
4602
4598
|
} else {
|
|
4603
4599
|
const $scope38_id = _scope_id();
|
|
4604
|
-
_html(`<span${_attr_class("
|
|
4600
|
+
_html(`<span${_attr_class("_cJ")}>Update available</span><span${_attr_class("_cK")}>v<!>${_escape(self.version)}${_el_resume($scope38_id, "c")} → v<!>${_escape(self.latest)}${_el_resume($scope38_id, "d")}</span>`);
|
|
4605
4601
|
_subscribe($self_version__closures, _subscribe($self_latest__closures, writeScope($scope38_id, {})));
|
|
4606
4602
|
return 1;
|
|
4607
4603
|
}
|
|
@@ -4620,11 +4616,11 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4620
4616
|
return 0;
|
|
4621
4617
|
}
|
|
4622
4618
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
4623
|
-
_html(`<section${_attr_class("
|
|
4619
|
+
_html(`<section${_attr_class("_bu")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bv")}><h2${_attr("id", agentsId)}${_attr_class("_bJ")}>Agents</h2><div${_attr_class("_y")}></div><label${_attr_class("_cg")}><span${_attr_class("_S")}>Default</span><span${_attr_class("_m")}>`);
|
|
4624
4620
|
_attr_select_value($scope0_id, "n", input.preferred, _resume(function(v) {
|
|
4625
4621
|
setPreferred(v);
|
|
4626
4622
|
}, "v1", $scope0_id), () => {
|
|
4627
|
-
_html(`<select${_attr_class(["_n", "
|
|
4623
|
+
_html(`<select${_attr_class(["_n", "_ch"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
|
|
4628
4624
|
_for_of(input.agents.filter((a) => a !== "shell"), (id) => {
|
|
4629
4625
|
const $scope54_id = _scope_id();
|
|
4630
4626
|
_html(`<option${_attr_option_value(id)}>${_escape(agentLabel(id))}${_el_resume($scope54_id, "b", $sg__input_agents)}</option>${_el_resume($scope54_id, "a", $sg__input_agents)}`);
|
|
@@ -4645,14 +4641,14 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4645
4641
|
const rows = lone ? [] : a.instances;
|
|
4646
4642
|
const loneAccounts = lone && lone.enabled ? accountsFor(lone.id) : [];
|
|
4647
4643
|
const extraAccounts = a.installed ? strayAccountsFor(a) : [];
|
|
4648
|
-
_html(`<li${_attr_class(["
|
|
4644
|
+
_html(`<li${_attr_class(["_bz", "_cf"])}><div${_attr_class(["_ci", { ["_cl"]: lone && !lone.enabled }])}>`);
|
|
4649
4645
|
_set_serialize_reason(12);
|
|
4650
4646
|
const $childScope4 = _peek_scope_id();
|
|
4651
4647
|
icon_agent_default({
|
|
4652
4648
|
agent: a.id,
|
|
4653
4649
|
size: 18
|
|
4654
4650
|
});
|
|
4655
|
-
_html(`<div${_attr_class("
|
|
4651
|
+
_html(`<div${_attr_class("_bA")}><span${_attr_class("_bC")}><span${_attr_class("_bB")}>${_escape(a.label)}${_el_resume($scope1_id, "g")}</span>`);
|
|
4656
4652
|
_if(() => {
|
|
4657
4653
|
if (lone && input.preferred === lone.id) {
|
|
4658
4654
|
const $scope55_id = _scope_id();
|
|
@@ -4665,12 +4661,12 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4665
4661
|
_if(() => {
|
|
4666
4662
|
if (active.has(a.id)) {
|
|
4667
4663
|
const $scope11_id = _scope_id();
|
|
4668
|
-
_html(`<span${_attr_class("
|
|
4664
|
+
_html(`<span${_attr_class("_cb")}><span${_attr_class("_F")}></span><!>${_escape(active.get(a.id) || "Starting…")}${_el_resume($scope11_id, "c")}</span>`);
|
|
4669
4665
|
_subscribe($active__closures, writeScope($scope11_id, {}));
|
|
4670
4666
|
return 0;
|
|
4671
4667
|
} else if (!a.installed) {
|
|
4672
4668
|
const $scope56_id = _scope_id();
|
|
4673
|
-
_html(`<span${_attr_class("
|
|
4669
|
+
_html(`<span${_attr_class("_bD")}>Not installed</span>`);
|
|
4674
4670
|
writeScope($scope56_id, {});
|
|
4675
4671
|
return 1;
|
|
4676
4672
|
}
|
|
@@ -4702,18 +4698,18 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4702
4698
|
_if(() => {
|
|
4703
4699
|
if (rows.length || loneAccounts.length || extraAccounts.length) {
|
|
4704
4700
|
const $scope2_id = _scope_id();
|
|
4705
|
-
_html(`<ul${_attr_class("
|
|
4701
|
+
_html(`<ul${_attr_class("_cn")}>`);
|
|
4706
4702
|
_for_of(rows, (inst) => {
|
|
4707
4703
|
const $scope3_id = _scope_id();
|
|
4708
4704
|
const accounts = inst.enabled ? accountsFor(inst.id) : [];
|
|
4709
|
-
_html(`<li${_attr_class("
|
|
4705
|
+
_html(`<li${_attr_class("_cj")}><div${_attr_class(["_ck", { ["_cl"]: !inst.enabled }])}>`);
|
|
4710
4706
|
_set_serialize_reason(12);
|
|
4711
4707
|
const $childScope5 = _peek_scope_id();
|
|
4712
4708
|
icon_agent_default({
|
|
4713
4709
|
agent: inst.id,
|
|
4714
4710
|
size: 15
|
|
4715
4711
|
});
|
|
4716
|
-
_html(`<span${_attr_class(["
|
|
4712
|
+
_html(`<span${_attr_class(["_cm", "_x"])}>${_escape(inst.command)}${_el_resume($scope3_id, "e")}</span>`);
|
|
4717
4713
|
_if(() => {
|
|
4718
4714
|
if (input.preferred === inst.id) {
|
|
4719
4715
|
const $scope57_id = _scope_id();
|
|
@@ -4788,7 +4784,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4788
4784
|
}, "id", $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
4789
4785
|
_for_of(otherUsage, (u) => {
|
|
4790
4786
|
const $scope61_id = _scope_id();
|
|
4791
|
-
_html(`<li${_attr_class(["
|
|
4787
|
+
_html(`<li${_attr_class(["_bz", "_cf"])}>`);
|
|
4792
4788
|
_set_serialize_reason(6);
|
|
4793
4789
|
const $childScope9 = _peek_scope_id();
|
|
4794
4790
|
usage_meters_default({ agent: u });
|
|
@@ -4799,17 +4795,17 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4799
4795
|
_if(() => {
|
|
4800
4796
|
if (!usage && families.length) {
|
|
4801
4797
|
const $scope62_id = _scope_id();
|
|
4802
|
-
_html(`<p${_attr_class("
|
|
4798
|
+
_html(`<p${_attr_class("_bF")}><span${_attr_class("_F")}></span> Loading usage…</p>`);
|
|
4803
4799
|
writeScope($scope62_id, {});
|
|
4804
4800
|
return 0;
|
|
4805
4801
|
} else if (usage?.error) {
|
|
4806
4802
|
const $scope7_id = _scope_id();
|
|
4807
|
-
_html(`<p${_attr_class("
|
|
4803
|
+
_html(`<p${_attr_class("_bF")}>${_escape(usage.error)}${_el_resume($scope7_id, "b")}</p>`);
|
|
4808
4804
|
writeScope($scope7_id, {});
|
|
4809
4805
|
return 1;
|
|
4810
4806
|
}
|
|
4811
4807
|
}, $scope0_id, "t", 1, 1, 1, 0, 1);
|
|
4812
|
-
_html(`</section><section${_attr_class("
|
|
4808
|
+
_html(`</section><section${_attr_class("_bu")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bv")}><h2${_attr("id", githubId)}${_attr_class("_bJ")}>GitHub</h2></div><ul${_attr_class("_bx")}>`);
|
|
4813
4809
|
_for_of(setup?.github || [], (h) => {
|
|
4814
4810
|
const $scope12_id = _scope_id();
|
|
4815
4811
|
const $for_content4__h_host__closures = /* @__PURE__ */ new Set();
|
|
@@ -4823,7 +4819,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4823
4819
|
const skippedSso = (() => {
|
|
4824
4820
|
return (h.sso || []).filter((s) => ignoredSso.has(s.org));
|
|
4825
4821
|
})();
|
|
4826
|
-
_html(`<li${_attr_class(["
|
|
4822
|
+
_html(`<li${_attr_class(["_bz", "_cx"])}><div${_attr_class("_cy")}><div${_attr_class("_bA")}><span${_attr_class("_bC")}><span${_attr_class(["_bB", "_x"])}>${_escape(h.host)}${_el_resume($scope12_id, "f")}</span>`);
|
|
4827
4823
|
_if(() => {
|
|
4828
4824
|
if (h.isEnterprise) {
|
|
4829
4825
|
const $scope65_id = _scope_id();
|
|
@@ -4836,22 +4832,22 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4836
4832
|
_if(() => {
|
|
4837
4833
|
if (active.has(h.host) && authCodes.has(h.host)) {
|
|
4838
4834
|
const $scope24_id = _scope_id();
|
|
4839
|
-
_html(`<span${_attr_class("
|
|
4835
|
+
_html(`<span${_attr_class("_cb")}><span${_attr_class("_F")}></span> Enter code <strong${_attr_class("_cv")}>${_escape(authCodes.get(h.host))}${_el_resume($scope24_id, "d")}</strong> at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_cw")}>${_escape(h.host)}${_el_resume($scope24_id, "f")}/login/device</a>${_el_resume($scope24_id, "e")}</span>`);
|
|
4840
4836
|
_subscribe($authCodes__closures, writeScope($scope24_id, { Cdz: 1 }));
|
|
4841
4837
|
return 0;
|
|
4842
4838
|
} else if (active.has(h.host)) {
|
|
4843
4839
|
const $scope13_id = _scope_id();
|
|
4844
|
-
_html(`<span${_attr_class("
|
|
4840
|
+
_html(`<span${_attr_class("_cb")}><span${_attr_class("_F")}></span><!>${_escape(active.get(h.host) || "Starting…")}${_el_resume($scope13_id, "c")}</span>`);
|
|
4845
4841
|
_subscribe($active__closures, writeScope($scope13_id, { Cdx: 1 }));
|
|
4846
4842
|
return 1;
|
|
4847
4843
|
} else if (h.authed) {
|
|
4848
4844
|
const $scope63_id = _scope_id();
|
|
4849
|
-
_html(`<span${_attr_class("
|
|
4845
|
+
_html(`<span${_attr_class("_bD")}>Signed in<!>${h.user ? ` as ${_escape(`${_to_text(h.user)}`)}` : ""}${_el_resume($scope63_id, "b")}</span>`);
|
|
4850
4846
|
writeScope($scope63_id, {});
|
|
4851
4847
|
return 2;
|
|
4852
4848
|
} else {
|
|
4853
4849
|
const $scope64_id = _scope_id();
|
|
4854
|
-
_html(`<span${_attr_class("
|
|
4850
|
+
_html(`<span${_attr_class("_bD")}>${_escape(h.error || "Not signed in")}${_el_resume($scope64_id, "b")}</span>`);
|
|
4855
4851
|
writeScope($scope64_id, {});
|
|
4856
4852
|
return 3;
|
|
4857
4853
|
}
|
|
@@ -4882,7 +4878,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4882
4878
|
if (h.isEnterprise) {
|
|
4883
4879
|
const $scope27_id = _scope_id();
|
|
4884
4880
|
_html(`<button${_attr_class([
|
|
4885
|
-
"
|
|
4881
|
+
"_bE",
|
|
4886
4882
|
"_2",
|
|
4887
4883
|
"_3",
|
|
4888
4884
|
{ ["_q"]: confirmingRemove === h.host }
|
|
@@ -4958,7 +4954,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4958
4954
|
_if(() => {
|
|
4959
4955
|
if (setup && !setup.github.length) {
|
|
4960
4956
|
const $scope68_id = _scope_id();
|
|
4961
|
-
_html(`<p${_attr_class("
|
|
4957
|
+
_html(`<p${_attr_class("_bF")}>Install the GitHub CLI below to sign in.</p>`);
|
|
4962
4958
|
writeScope($scope68_id, {});
|
|
4963
4959
|
return 0;
|
|
4964
4960
|
}
|
|
@@ -4966,7 +4962,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4966
4962
|
_if(() => {
|
|
4967
4963
|
if (setup) {
|
|
4968
4964
|
const $scope35_id = _scope_id();
|
|
4969
|
-
_html(`<form${_attr_class("
|
|
4965
|
+
_html(`<form${_attr_class("_cu")}><label${_attr_class("_W")}>`);
|
|
4970
4966
|
icon_plus_default({
|
|
4971
4967
|
size: 14,
|
|
4972
4968
|
class: "_X"
|
|
@@ -4979,7 +4975,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
4979
4975
|
return 0;
|
|
4980
4976
|
}
|
|
4981
4977
|
}, $scope0_id, "z", 1, 1, 1, 0, 1);
|
|
4982
|
-
_html(`</section><section${_attr_class("
|
|
4978
|
+
_html(`</section><section${_attr_class("_bu")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bv")}><h2${_attr("id", machineId)}${_attr_class("_bJ")}>Machine</h2>`);
|
|
4983
4979
|
_if(() => {
|
|
4984
4980
|
if (missingCount) {
|
|
4985
4981
|
const $scope49_id = _scope_id();
|
|
@@ -5019,7 +5015,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5019
5015
|
_if(() => {
|
|
5020
5016
|
if (setup && !setup.mise.installed) {
|
|
5021
5017
|
const $scope17_id = _scope_id();
|
|
5022
|
-
_html(`<p${_attr_class("
|
|
5018
|
+
_html(`<p${_attr_class("_bF")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${active.has("mise") ? "Installing…" : "Install mise"}${_el_resume($scope17_id, "c")}</button>${_el_resume($scope17_id, "b")}</p>`);
|
|
5023
5019
|
_script($scope17_id, "v45");
|
|
5024
5020
|
writeScope($scope17_id, {});
|
|
5025
5021
|
return 0;
|
|
@@ -5029,11 +5025,11 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5029
5025
|
_if(() => {
|
|
5030
5026
|
if (self) {
|
|
5031
5027
|
const $scope40_id = _scope_id();
|
|
5032
|
-
_html(`<li${_attr_class(row)}><span${_attr_class(["
|
|
5028
|
+
_html(`<li${_attr_class(row)}><span${_attr_class(["_cq", "_x"])}>work</span>`);
|
|
5033
5029
|
_if(() => {
|
|
5034
5030
|
if (selfUpdating) {
|
|
5035
5031
|
const $scope69_id = _scope_id();
|
|
5036
|
-
_html(`<span${_attr_class("
|
|
5032
|
+
_html(`<span${_attr_class("_cb")}><span${_attr_class("_F")}></span>Updating — the app restarts and reloads when it is done…</span>`);
|
|
5037
5033
|
writeScope($scope69_id, {});
|
|
5038
5034
|
return 0;
|
|
5039
5035
|
} else {
|
|
@@ -5047,7 +5043,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5047
5043
|
return 0;
|
|
5048
5044
|
} else if (self.latest && self.latest !== self.version) {
|
|
5049
5045
|
const $scope42_id = _scope_id();
|
|
5050
|
-
_html(`<button${_attr_class([btnSm, "
|
|
5046
|
+
_html(`<button${_attr_class([btnSm, "_cs"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
|
|
5051
5047
|
icon_arrow_up_default({ size: 12 });
|
|
5052
5048
|
_html(` <!>${_escape(self.latest)}${_el_resume($scope42_id, "c")}</button>${_el_resume($scope42_id, "a")}`);
|
|
5053
5049
|
_script($scope42_id, "v46");
|
|
@@ -5088,11 +5084,11 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5088
5084
|
const $for_content5__t_path__closures = /* @__PURE__ */ new Set();
|
|
5089
5085
|
const $for_content5__t_latest__closures = /* @__PURE__ */ new Set();
|
|
5090
5086
|
const $for_content5__t_id__closures = /* @__PURE__ */ new Set();
|
|
5091
|
-
_html(`<li${_attr_class([row, { ["
|
|
5087
|
+
_html(`<li${_attr_class([row, { ["_cp"]: !t.installed }])}><span${_attr_class(["_cq", "_x"])}>${_escape(t.label)}${_el_resume($scope18_id, "c")}</span>`);
|
|
5092
5088
|
_if(() => {
|
|
5093
5089
|
if (active.has(t.id)) {
|
|
5094
5090
|
const $scope19_id = _scope_id();
|
|
5095
|
-
_html(`<span${_attr_class("
|
|
5091
|
+
_html(`<span${_attr_class("_cb")}><span${_attr_class("_F")}></span><!>${_escape(active.get(t.id) || "Starting…")}${_el_resume($scope19_id, "c")}</span>`);
|
|
5096
5092
|
_subscribe($active__closures, writeScope($scope19_id, { Cdx: 3 }));
|
|
5097
5093
|
return 0;
|
|
5098
5094
|
} else if (t.installed) {
|
|
@@ -5100,7 +5096,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5100
5096
|
_if(() => {
|
|
5101
5097
|
if (t.version) {
|
|
5102
5098
|
const $scope32_id = _scope_id();
|
|
5103
|
-
_html(`<button${_attr_class(["
|
|
5099
|
+
_html(`<button${_attr_class(["_cr", "_x"])}${_attr("title", `${t.path || t.label}. Pin a version`)}>v<!>${_escape(t.version)}${_el_resume($scope32_id, "b")}</button>${_el_resume($scope32_id, "a")}`);
|
|
5104
5100
|
_script($scope32_id, "v47");
|
|
5105
5101
|
_subscribe($for_content5__t_path__closures, _subscribe($for_content5__t_version__closures, _subscribe($for_content5__t_label__closures, writeScope($scope32_id, { Cu: 1 }))));
|
|
5106
5102
|
return 0;
|
|
@@ -5114,7 +5110,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5114
5110
|
_if(() => {
|
|
5115
5111
|
if (outdated(t)) {
|
|
5116
5112
|
const $scope46_id = _scope_id();
|
|
5117
|
-
_html(`<button${_attr_class([btnSm, "
|
|
5113
|
+
_html(`<button${_attr_class([btnSm, "_cs"])}${_attr("title", `Update to v${t.latest}`)}>`);
|
|
5118
5114
|
icon_arrow_up_default({ size: 12 });
|
|
5119
5115
|
_html(` <!>${_escape(t.latest)}${_el_resume($scope46_id, "c")}</button>${_el_resume($scope46_id, "a")}`);
|
|
5120
5116
|
_script($scope46_id, "v48");
|
|
@@ -5216,19 +5212,19 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5216
5212
|
_if(() => {
|
|
5217
5213
|
if (hits && hits.length) {
|
|
5218
5214
|
const $scope21_id = _scope_id();
|
|
5219
|
-
_html(`<ul${_attr_class([toolGrid, "
|
|
5215
|
+
_html(`<ul${_attr_class([toolGrid, "_ct"])}>`);
|
|
5220
5216
|
_for_of(hits, (h) => {
|
|
5221
5217
|
const $scope22_id = _scope_id();
|
|
5222
|
-
_html(`<li${_attr_class(row)}><div${_attr_class("
|
|
5218
|
+
_html(`<li${_attr_class(row)}><div${_attr_class("_bA")}><span${_attr_class(["_cq", "_x"])}>${_escape(h.name)}${_el_resume($scope22_id, "d")}</span>`);
|
|
5223
5219
|
_if(() => {
|
|
5224
5220
|
if (active.has(h.name)) {
|
|
5225
5221
|
const $scope23_id = _scope_id();
|
|
5226
|
-
_html(`<span${_attr_class("
|
|
5222
|
+
_html(`<span${_attr_class("_cb")}><span${_attr_class("_F")}></span><!>${_escape(active.get(h.name) || "Starting…")}${_el_resume($scope23_id, "c")}</span>`);
|
|
5227
5223
|
_subscribe($active__closures, writeScope($scope23_id, { Cdx: 5 }));
|
|
5228
5224
|
return 0;
|
|
5229
5225
|
} else if (h.description) {
|
|
5230
5226
|
const $scope79_id = _scope_id();
|
|
5231
|
-
_html(`<span${_attr_class("
|
|
5227
|
+
_html(`<span${_attr_class("_bD")}${_attr("title", h.description)}>${_escape(h.description)}${_el_resume($scope79_id, "b")}</span>${_el_resume($scope79_id, "a")}`);
|
|
5232
5228
|
writeScope($scope79_id, {});
|
|
5233
5229
|
return 1;
|
|
5234
5230
|
}
|
|
@@ -5267,7 +5263,7 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5267
5263
|
return 0;
|
|
5268
5264
|
} else if (hits && !searching) {
|
|
5269
5265
|
const $scope36_id = _scope_id();
|
|
5270
|
-
_html(`<p${_attr_class("
|
|
5266
|
+
_html(`<p${_attr_class("_bF")}>No tools match "<!>${_escape(query)}${_el_resume($scope36_id, "b")}".</p>`);
|
|
5271
5267
|
_subscribe($query__closures, writeScope($scope36_id, {}));
|
|
5272
5268
|
return 1;
|
|
5273
5269
|
}
|
|
@@ -5278,9 +5274,9 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5278
5274
|
return 0;
|
|
5279
5275
|
}
|
|
5280
5276
|
}, $scope0_id, "ac", 1, 1, 1, 0, 1);
|
|
5281
|
-
_html(`</section><section${_attr_class("
|
|
5277
|
+
_html(`</section><section${_attr_class("_bu")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bv")}><h2${_attr("id", appearanceId)}${_attr_class("_bJ")}>Appearance</h2></div><div${_attr_class(["_bz", "_cz"])}><label${_attr_class("_cA")}><span${_attr_class("_cB")}>Name</span><input${_attr_input_value($scope0_id, "aj", input.instance.name, _resume(function(v) {
|
|
5282
5278
|
setInstance({ name: v });
|
|
5283
|
-
}, "v3", $scope0_id))}${_attr_class(["_U", "
|
|
5279
|
+
}, "v3", $scope0_id))}${_attr_class(["_U", "_cC"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false aria-describedby=look-name-hint>${_el_resume($scope0_id, "aj")}<span id=look-name-hint${_attr_class(["_S", "_cD"])}>Tab title, home-screen icon, and notifications.</span></label><div${_attr_class("_cA")} role=radiogroup aria-label="Color theme"><span${_attr_class("_cB")}>Theme</span><span${_attr_class("_cE")}>`);
|
|
5284
5280
|
_for_of([
|
|
5285
5281
|
{
|
|
5286
5282
|
id: "system",
|
|
@@ -5296,21 +5292,21 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5296
5292
|
}
|
|
5297
5293
|
], (opt) => {
|
|
5298
5294
|
const $scope43_id = _scope_id();
|
|
5299
|
-
_html(`<button type=button${_attr_class(["
|
|
5295
|
+
_html(`<button type=button${_attr_class(["_cF", { ["_cG"]: themeMode === opt.id }])} role=radio aria-checked=${themeMode === opt.id ? "true" : "false"}>${_escape(opt.label)}</button>${_el_resume($scope43_id, "a")}`);
|
|
5300
5296
|
_script($scope43_id, "v53");
|
|
5301
5297
|
writeScope($scope43_id, {
|
|
5302
5298
|
e: opt?.id,
|
|
5303
5299
|
_: _scope_with_id($scope0_id)
|
|
5304
5300
|
});
|
|
5305
5301
|
}, "id", $scope0_id, "an", 1, 0, 1, 0, 1);
|
|
5306
|
-
_html(`</span><span${_attr_class(["_S", "
|
|
5302
|
+
_html(`</span><span${_attr_class(["_S", "_cD"])}>Follow the OS, or force light or dark.</span></div><div${_attr_class("_cA")} role=radiogroup aria-label="Accent colour"><span${_attr_class("_cB")}>Accent</span><span${_attr_class("_cL")}><button type=button${_attr_class([
|
|
5303
|
+
"_cM",
|
|
5307
5304
|
"_cO",
|
|
5308
|
-
"
|
|
5309
|
-
{ ["_cP"]: !input.instance.accent }
|
|
5305
|
+
{ ["_cN"]: !input.instance.accent }
|
|
5310
5306
|
])} role=radio aria-checked=${!input.instance.accent ? "true" : "false"} title="Default (blue)" aria-label="Default (blue)"></button>${_el_resume($scope0_id, "as")}`);
|
|
5311
5307
|
_for_of(ACCENT_PRESETS, (p) => {
|
|
5312
5308
|
const $scope4_id = _scope_id();
|
|
5313
|
-
_html(`<button type=button${_attr_class(["
|
|
5309
|
+
_html(`<button type=button${_attr_class(["_cM", { ["_cN"]: input.instance.accent === p.value }])}${_attr_style(`--swatch:${p.value}`)} role=radio aria-checked=${input.instance.accent === p.value ? "true" : "false"}${_attr("title", p.name)}${_attr("aria-label", p.name)}></button>${_el_resume($scope4_id, "a")}`);
|
|
5314
5310
|
_script($scope4_id, "v54");
|
|
5315
5311
|
writeScope($scope4_id, {
|
|
5316
5312
|
d: p?.value,
|
|
@@ -5319,12 +5315,12 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5319
5315
|
}, "value", $scope0_id, "at", $sg__input_instance_accent, 0, 1, 0, 1);
|
|
5320
5316
|
const customOn = !!input.instance.accent && !ACCENT_PRESETS.some((p) => p.value === input.instance.accent);
|
|
5321
5317
|
_html(`<label${_attr_class([
|
|
5322
|
-
"
|
|
5323
|
-
"
|
|
5324
|
-
{ ["
|
|
5318
|
+
"_cM",
|
|
5319
|
+
"_cP",
|
|
5320
|
+
{ ["_cN"]: customOn }
|
|
5325
5321
|
])}${customOn ? _attr_style(`--swatch:${input.instance.accent}`) : ""} title="Custom colour"><input${_attr_input_value($scope0_id, "av", input.instance.accent || "#3556d8", _resume(function(v) {
|
|
5326
5322
|
setInstance({ accent: v });
|
|
5327
|
-
}, "v4", $scope0_id))}${_attr_class("
|
|
5323
|
+
}, "v4", $scope0_id))}${_attr_class("_cQ")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "av")}<span aria-hidden=true>+</span></label>${_el_resume($scope0_id, "au", $sg__input_instance_accent)}</span><span${_attr_class(["_S", "_cD"])}>Selected rows, buttons, and the icon.</span></div></div></section></div></div></div>`);
|
|
5328
5324
|
_if(() => {
|
|
5329
5325
|
if (versionPick) {
|
|
5330
5326
|
const $scope30_id = _scope_id();
|
|
@@ -5438,12 +5434,12 @@ var settings_page_default = _template("v", (input) => {
|
|
|
5438
5434
|
});
|
|
5439
5435
|
//#endregion
|
|
5440
5436
|
//#region src/tags/new-workspace.css.ts
|
|
5441
|
-
var content$1 = "_bK
|
|
5442
|
-
var section$1 = "_bO
|
|
5437
|
+
var content$1 = "_bK _bm";
|
|
5438
|
+
var section$1 = "_bO _bu";
|
|
5443
5439
|
var curBase = "_bT _T _S";
|
|
5444
|
-
var archived = "_bY
|
|
5440
|
+
var archived = "_bY _bu";
|
|
5445
5441
|
var archivedHint = "_bZ _S";
|
|
5446
|
-
var archivedCard = "_b0
|
|
5442
|
+
var archivedCard = "_b0 _bz";
|
|
5447
5443
|
//#endregion
|
|
5448
5444
|
//#region src/tags/icons/icon-check.marko
|
|
5449
5445
|
var icon_check_default = _template("P", (input) => {
|
|
@@ -5478,7 +5474,7 @@ var icon_branch_default = _template("O", (input) => {
|
|
|
5478
5474
|
});
|
|
5479
5475
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
5480
5476
|
});
|
|
5481
|
-
var resultBranch = "
|
|
5477
|
+
var resultBranch = "_cZ _Z _j";
|
|
5482
5478
|
//#endregion
|
|
5483
5479
|
//#region src/tags/branch-pick.marko
|
|
5484
5480
|
var branch_pick_default = _template("d", (input) => {
|
|
@@ -5489,11 +5485,11 @@ var branch_pick_default = _template("d", (input) => {
|
|
|
5489
5485
|
let branches = null;
|
|
5490
5486
|
let defaultBranch = null;
|
|
5491
5487
|
let branchFilter = "";
|
|
5492
|
-
_html(`<div${_attr_class("
|
|
5488
|
+
_html(`<div${_attr_class("_c1")}>`);
|
|
5493
5489
|
_if(() => {
|
|
5494
5490
|
{
|
|
5495
5491
|
const $scope4_id = _scope_id();
|
|
5496
|
-
_html(`<p${_attr_class("
|
|
5492
|
+
_html(`<p${_attr_class("_bF")}><span${_attr_class("_F")}></span> Loading branches…</p>`);
|
|
5497
5493
|
writeScope($scope4_id, {});
|
|
5498
5494
|
return 0;
|
|
5499
5495
|
}
|
|
@@ -5569,11 +5565,11 @@ var repo_picker_default = _template("t", (input) => {
|
|
|
5569
5565
|
const ignored = new Set(prefs$1?.ignoredSsoOrgs?.() ?? []);
|
|
5570
5566
|
return (catalog?.sso || []).filter((s) => !ignored.has(s.org));
|
|
5571
5567
|
})();
|
|
5572
|
-
_html(`<div${_attr_class("
|
|
5568
|
+
_html(`<div${_attr_class("_cS")}>`);
|
|
5573
5569
|
_if(() => {
|
|
5574
5570
|
if (ssoPending.length) {
|
|
5575
5571
|
const $scope7_id = _scope_id();
|
|
5576
|
-
_html(`<div${_attr_class("
|
|
5572
|
+
_html(`<div${_attr_class("_cT")}>`);
|
|
5577
5573
|
_set_serialize_reason(154);
|
|
5578
5574
|
const $childScope = _peek_scope_id();
|
|
5579
5575
|
sso_auth_default({
|
|
@@ -5603,16 +5599,16 @@ var repo_picker_default = _template("t", (input) => {
|
|
|
5603
5599
|
_if(() => {
|
|
5604
5600
|
if (pasted) {
|
|
5605
5601
|
const $scope1_id = _scope_id();
|
|
5606
|
-
_html(`<ul${_attr_class("
|
|
5602
|
+
_html(`<ul${_attr_class("_cU")}><li><div${_attr_class(["_cW", "_cV"])}><button${_attr_class("_cX")}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
|
|
5607
5603
|
icon_plus_default({
|
|
5608
5604
|
size: 12,
|
|
5609
|
-
class: "
|
|
5605
|
+
class: "_c3"
|
|
5610
5606
|
});
|
|
5611
|
-
_html(`<span${_attr_class("
|
|
5607
|
+
_html(`<span${_attr_class("_c4")}>${_escape(repoLabel(pasted))}${_el_resume($scope1_id, "f")}</span></button>${_el_resume($scope1_id, "c")}`);
|
|
5612
5608
|
_if(() => {
|
|
5613
5609
|
if (pastedForkable) {
|
|
5614
5610
|
const $scope8_id = _scope_id();
|
|
5615
|
-
_html(`<button${_attr_class(["
|
|
5611
|
+
_html(`<button${_attr_class(["_c0", { ["_cY"]: pasteWillFork }])}${pasteWillFork ? " title=\"Will fork to your account; click to clone as-is instead\"" : _attr("title", `Fork ${pasted} to your account and clone the fork`)} aria-pressed=${pasteWillFork ? "true" : "false"}>`);
|
|
5616
5612
|
_if(() => {
|
|
5617
5613
|
if (pasteWillFork) {
|
|
5618
5614
|
const $scope10_id = _scope_id();
|
|
@@ -5632,7 +5628,7 @@ var repo_picker_default = _template("t", (input) => {
|
|
|
5632
5628
|
return 0;
|
|
5633
5629
|
}
|
|
5634
5630
|
}, $scope1_id, "g", 1, 1, 1, 0, 1);
|
|
5635
|
-
_html(`<button${_attr_class([resultBranch, { ["
|
|
5631
|
+
_html(`<button${_attr_class([resultBranch, { ["_cY"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
|
|
5636
5632
|
icon_branch_default({ size: 12 });
|
|
5637
5633
|
_html(`</button>${_el_resume($scope1_id, "h")}</div>`);
|
|
5638
5634
|
_if(() => {
|
|
@@ -5659,7 +5655,7 @@ var repo_picker_default = _template("t", (input) => {
|
|
|
5659
5655
|
return 0;
|
|
5660
5656
|
} else if (filter && !catalog) {
|
|
5661
5657
|
const $scope9_id = _scope_id();
|
|
5662
|
-
_html(`<p${_attr_class("
|
|
5658
|
+
_html(`<p${_attr_class("_bF")}>Loading repos…</p>`);
|
|
5663
5659
|
writeScope($scope9_id, {});
|
|
5664
5660
|
return 1;
|
|
5665
5661
|
}
|
|
@@ -5667,15 +5663,15 @@ var repo_picker_default = _template("t", (input) => {
|
|
|
5667
5663
|
_if(() => {
|
|
5668
5664
|
if (results.length) {
|
|
5669
5665
|
const $scope3_id = _scope_id();
|
|
5670
|
-
_html(`<ul${_attr_class("
|
|
5666
|
+
_html(`<ul${_attr_class("_cU")}>`);
|
|
5671
5667
|
_for_of(results, (repo, i) => {
|
|
5672
5668
|
const $scope4_id = _scope_id();
|
|
5673
|
-
_html(`<li><div${_attr_class(["
|
|
5669
|
+
_html(`<li><div${_attr_class(["_cW", { ["_cV"]: i === highlight }])}><button${_attr_class("_cX")}>`);
|
|
5674
5670
|
icon_plus_default({
|
|
5675
5671
|
size: 12,
|
|
5676
|
-
class: "
|
|
5672
|
+
class: "_c3"
|
|
5677
5673
|
});
|
|
5678
|
-
_html(`<span${_attr_class("
|
|
5674
|
+
_html(`<span${_attr_class("_c4")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope4_id, "e")}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_cY"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
|
|
5679
5675
|
icon_branch_default({ size: 12 });
|
|
5680
5676
|
_html(`</button>${_el_resume($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
|
|
5681
5677
|
_if(() => {
|
|
@@ -5710,7 +5706,7 @@ var repo_picker_default = _template("t", (input) => {
|
|
|
5710
5706
|
return 0;
|
|
5711
5707
|
} else if (filter && catalog && !pasted) {
|
|
5712
5708
|
const $scope6_id = _scope_id();
|
|
5713
|
-
_html(`<p${_attr_class("
|
|
5709
|
+
_html(`<p${_attr_class("_bF")}>No repos match "<!>${_escape(filter)}${_el_resume($scope6_id, "b")}". Paste a clone URL to add any repo.</p>`);
|
|
5714
5710
|
writeScope($scope6_id, {});
|
|
5715
5711
|
return 1;
|
|
5716
5712
|
}
|
|
@@ -5851,7 +5847,7 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
5851
5847
|
}
|
|
5852
5848
|
}, "q6", $scope0_id);
|
|
5853
5849
|
const titleId = _id();
|
|
5854
|
-
_html(`<div${_attr_class("
|
|
5850
|
+
_html(`<div${_attr_class("_bk")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bl")}><div${_attr_class(content$1)}>`);
|
|
5855
5851
|
_set_serialize_reason({
|
|
5856
5852
|
0: _serialize_guard($scope0_reason, 2),
|
|
5857
5853
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -5890,9 +5886,9 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
5890
5886
|
return 0;
|
|
5891
5887
|
}
|
|
5892
5888
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
5893
|
-
_html(`<label${_attr_class("_bN")}><span${_attr_class("
|
|
5889
|
+
_html(`<label${_attr_class("_bN")}><span${_attr_class("_bJ")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
|
|
5894
5890
|
name = _new_name;
|
|
5895
|
-
}, "q0", $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("_bP")}><h2${_attr_class("
|
|
5891
|
+
}, "q0", $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("_bP")}><h2${_attr_class("_bJ")}>Repos</h2><button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
5896
5892
|
_set_serialize_reason(1);
|
|
5897
5893
|
const $childScope2 = _peek_scope_id();
|
|
5898
5894
|
icon_refresh_default({
|
|
@@ -5965,7 +5961,7 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
5965
5961
|
_if(() => {
|
|
5966
5962
|
if (!selected.length) {
|
|
5967
5963
|
const $scope14_id = _scope_id();
|
|
5968
|
-
_html(`<li${_attr_class("
|
|
5964
|
+
_html(`<li${_attr_class("_bF")}>No repos yet. Search below to add one, or create it empty.</li>`);
|
|
5969
5965
|
writeScope($scope14_id, {});
|
|
5970
5966
|
return 0;
|
|
5971
5967
|
}
|
|
@@ -6034,10 +6030,10 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
6034
6030
|
_if(() => {
|
|
6035
6031
|
if (archived$1.length) {
|
|
6036
6032
|
const $scope4_id = _scope_id();
|
|
6037
|
-
_html(`<section${_attr_class(archived)}><div${_attr_class("_bP")}><h2${_attr_class("
|
|
6033
|
+
_html(`<section${_attr_class(archived)}><div${_attr_class("_bP")}><h2${_attr_class("_bJ")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_escape(archived$1.length)}${_el_resume($scope4_id, "e", $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore an archived workspace instead of creating a new one.</p><ul${_attr_class("_bx")}>`);
|
|
6038
6034
|
_for_of(archived$1, (ws) => {
|
|
6039
6035
|
const $scope5_id = _scope_id();
|
|
6040
|
-
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("
|
|
6036
|
+
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("_bA")}><span${_attr_class("_bB")}>${_escape(ws.name)}${_el_resume($scope5_id, "d", $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_x"])}${_attr("title", ws.display_path || ws.path)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope5_id, "f", $sg__input_workspaces)}</span>${_el_resume($scope5_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnLg)}${_attr("disabled", busy || !!restoring)}>`);
|
|
6041
6037
|
_if(() => {
|
|
6042
6038
|
if (restoring === ws.id) {
|
|
6043
6039
|
const $scope17_id = _scope_id();
|
|
@@ -6194,8 +6190,8 @@ function activeAgent(session) {
|
|
|
6194
6190
|
const command = session.state?.command?.trim();
|
|
6195
6191
|
return command && agentFromCommand(command) || session.agent;
|
|
6196
6192
|
}
|
|
6197
|
-
var iconBtn$1 = "
|
|
6198
|
-
var navToggle = "
|
|
6193
|
+
var iconBtn$1 = "_dJ _j";
|
|
6194
|
+
var navToggle = "_dO _j";
|
|
6199
6195
|
_template("N", (input) => {
|
|
6200
6196
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
6201
6197
|
const $scope0_id = _scope_id();
|
|
@@ -6238,12 +6234,12 @@ var ARM_MS = 3500;
|
|
|
6238
6234
|
function disarmLater(fn) {
|
|
6239
6235
|
return setTimeout(fn, ARM_MS);
|
|
6240
6236
|
}
|
|
6241
|
-
var railBtn = "
|
|
6242
|
-
var rowIcon = "
|
|
6243
|
-
var close = "
|
|
6237
|
+
var railBtn = "_go _j";
|
|
6238
|
+
var rowIcon = "_gx _Z _j";
|
|
6239
|
+
var close = "_gy _Z _j _2";
|
|
6244
6240
|
//#endregion
|
|
6245
6241
|
//#region src/styles/session-pop.css.ts
|
|
6246
|
-
var sessionPop = "
|
|
6242
|
+
var sessionPop = "_gk _4";
|
|
6247
6243
|
//#endregion
|
|
6248
6244
|
//#region src/client/usage.ts
|
|
6249
6245
|
/** The plan row an agent instance draws on: its own account (`claude2`)
|
|
@@ -6304,22 +6300,22 @@ var usage_pcts_default = _template("E", (input) => {
|
|
|
6304
6300
|
if (windows.length) {
|
|
6305
6301
|
const $scope1_id = _scope_id();
|
|
6306
6302
|
_html(`<span${_attr_class([
|
|
6307
|
-
"
|
|
6303
|
+
"_fo",
|
|
6308
6304
|
input.class,
|
|
6309
|
-
{ ["
|
|
6305
|
+
{ ["_fp"]: agent.stale_seconds != null }
|
|
6310
6306
|
])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
|
|
6311
6307
|
_for_of(windows, (win$1, i) => {
|
|
6312
6308
|
const $scope2_id = _scope_id();
|
|
6313
|
-
_html(`<span${_attr_class("
|
|
6309
|
+
_html(`<span${_attr_class("_fq")}>`);
|
|
6314
6310
|
_if(() => {
|
|
6315
6311
|
if (i) {
|
|
6316
6312
|
const $scope3_id = _scope_id();
|
|
6317
|
-
_html(`<span${_attr_class("
|
|
6313
|
+
_html(`<span${_attr_class("_ft")} aria-hidden=true>·</span>`);
|
|
6318
6314
|
$si__input_agent && writeScope($scope3_id, {});
|
|
6319
6315
|
return 0;
|
|
6320
6316
|
}
|
|
6321
6317
|
}, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
6322
|
-
_html(`<span${_attr_class("
|
|
6318
|
+
_html(`<span${_attr_class("_fr")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_fs", win$1.used_percent >= 90 ? "_dE" : win$1.used_percent >= 70 ? "_dD" : win$1.used_percent >= 40 ? "_dC" : "_dB"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
|
|
6323
6319
|
$si__input_agent && writeScope($scope2_id, {});
|
|
6324
6320
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
6325
6321
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -6350,12 +6346,12 @@ var icon_edit_default = _template("X", (input) => {
|
|
|
6350
6346
|
});
|
|
6351
6347
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
6352
6348
|
});
|
|
6353
|
-
var prChip = "
|
|
6354
|
-
var portChip = "
|
|
6349
|
+
var prChip = "_hq _s _hp";
|
|
6350
|
+
var portChip = "_hr _s _hp";
|
|
6355
6351
|
var prState = {
|
|
6356
|
-
open: "
|
|
6357
|
-
merged: "
|
|
6358
|
-
closed: "
|
|
6352
|
+
open: "_hv",
|
|
6353
|
+
merged: "_hw",
|
|
6354
|
+
closed: "_hx"
|
|
6359
6355
|
};
|
|
6360
6356
|
//#endregion
|
|
6361
6357
|
//#region src/tags/side-nav-chips.marko
|
|
@@ -6427,7 +6423,7 @@ var side_nav_chips_default = _template("w", (input) => {
|
|
|
6427
6423
|
const name = repo.full_name.split("/").at(-1);
|
|
6428
6424
|
return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel(repo.full_name) : name;
|
|
6429
6425
|
}, "w4", $scope1_id);
|
|
6430
|
-
_html(`<div${_attr_class("
|
|
6426
|
+
_html(`<div${_attr_class("_ho")}>`);
|
|
6431
6427
|
_for_of(repos, (repo) => {
|
|
6432
6428
|
const $scope2_id = _scope_id();
|
|
6433
6429
|
const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
|
|
@@ -6443,11 +6439,11 @@ var side_nav_chips_default = _template("w", (input) => {
|
|
|
6443
6439
|
[prState.merged]: pr.state === "MERGED",
|
|
6444
6440
|
[prState.closed]: pr.state === "CLOSED"
|
|
6445
6441
|
}
|
|
6446
|
-
])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["
|
|
6442
|
+
])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["_hs", { ["_hz"]: !open }])}${_attr("href", pr.url)} target=_blank rel=noopener>${_escape(repoLabel$1(repo))}${_el_resume($scope3_id, "c")}#<!>${_escape(pr.number)}${_el_resume($scope3_id, "d")}</a>${_el_resume($scope3_id, "b")}`);
|
|
6447
6443
|
_if(() => {
|
|
6448
6444
|
if (open) {
|
|
6449
6445
|
const $scope4_id = _scope_id();
|
|
6450
|
-
_html(`<a${_attr_class(["
|
|
6446
|
+
_html(`<a${_attr_class(["_hs", "_ht"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr.number}`)}`)}${_attr("title", `Review #${pr.number} changes`)}>`);
|
|
6451
6447
|
icon_diff_default({ size: 12 });
|
|
6452
6448
|
_html(`</a>${_el_resume($scope4_id, "a")}`);
|
|
6453
6449
|
_subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
|
|
@@ -6455,9 +6451,9 @@ var side_nav_chips_default = _template("w", (input) => {
|
|
|
6455
6451
|
} else {
|
|
6456
6452
|
const $scope6_id = _scope_id();
|
|
6457
6453
|
_html(`<button type=button${_attr_class([
|
|
6458
|
-
"
|
|
6459
|
-
"
|
|
6460
|
-
"
|
|
6454
|
+
"_hs",
|
|
6455
|
+
"_ht",
|
|
6456
|
+
"_hu"
|
|
6461
6457
|
])}${_attr("title", `Dismiss #${pr.number}`)}>`);
|
|
6462
6458
|
icon_xmark_default({ size: 12 });
|
|
6463
6459
|
_html(`</button>${_el_resume($scope6_id, "a")}`);
|
|
@@ -6478,10 +6474,10 @@ var side_nav_chips_default = _template("w", (input) => {
|
|
|
6478
6474
|
}, "full_name", $scope1_id, "b");
|
|
6479
6475
|
_for_of(ports, (p) => {
|
|
6480
6476
|
const $scope5_id = _scope_id();
|
|
6481
|
-
_html(`<span${_attr_class(["_s", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["
|
|
6477
|
+
_html(`<span${_attr_class(["_s", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_hs", "_hy"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${p.port}`)}>:<!>${_escape(p.port)}${_el_resume($scope5_id, "c")}</button>${_el_resume($scope5_id, "b")}<button type=button${_attr_class([
|
|
6478
|
+
"_hs",
|
|
6479
|
+
"_ht",
|
|
6482
6480
|
"_hu",
|
|
6483
|
-
"_hv",
|
|
6484
|
-
"_hw",
|
|
6485
6481
|
{ ["_q"]: armedPid === p.pid }
|
|
6486
6482
|
])}${armedPid === p.pid ? " title=Kill?" : _attr("title", `Kill ${p.cmd} (pid ${p.pid})`)}>`);
|
|
6487
6483
|
icon_xmark_default({ size: 12 });
|
|
@@ -6577,10 +6573,10 @@ var side_nav_item_default = _template("x", (input) => {
|
|
|
6577
6573
|
_if(() => {
|
|
6578
6574
|
if (input.rail) {
|
|
6579
6575
|
const $scope2_id = _scope_id();
|
|
6580
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["
|
|
6576
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_gm"]: input.current }])}${_attr("title", ws$1.name)}>${_escape((input.index ?? 0) + 1)}${_el_resume($scope2_id, "b", _serialize_guard($scope0_reason, 27))}<span${_attr_class([
|
|
6581
6577
|
"_z",
|
|
6582
6578
|
phase[dot],
|
|
6583
|
-
"
|
|
6579
|
+
"_gp"
|
|
6584
6580
|
])}></span>${_el_resume($scope2_id, "c", $sg__input_workspaceId__OR__input_status)}</a>${_el_resume($scope2_id, "a", _serialize_guard($scope0_reason, 3))}`);
|
|
6585
6581
|
_serialize_if($scope0_reason, 18) && _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_name__closures, _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_id__closures, _subscribe($si__input_index && $input_index__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })))));
|
|
6586
6582
|
return 0;
|
|
@@ -6588,15 +6584,15 @@ var side_nav_item_default = _template("x", (input) => {
|
|
|
6588
6584
|
const $scope3_id = _scope_id();
|
|
6589
6585
|
const sessions$1 = input.sessions || [];
|
|
6590
6586
|
const phaseLabel = dot === "working" ? "Working" : dot === "waiting" ? "Needs input" : dot === "idle" ? "Idle" : "Not running";
|
|
6591
|
-
_html(`<section${_attr_class(["
|
|
6592
|
-
["
|
|
6587
|
+
_html(`<section${_attr_class(["_gr", {
|
|
6588
|
+
["_gm"]: input.current,
|
|
6593
6589
|
["_5"]: input.current,
|
|
6594
|
-
["
|
|
6595
|
-
["
|
|
6596
|
-
}])}><div${_attr_class("
|
|
6590
|
+
["_gs"]: input.railPop,
|
|
6591
|
+
["_gq"]: input.page
|
|
6592
|
+
}])}><div${_attr_class("_gt")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class("_gu")}><span${_attr_class([
|
|
6597
6593
|
"_z",
|
|
6598
6594
|
phase[dot],
|
|
6599
|
-
"
|
|
6595
|
+
"_gH"
|
|
6600
6596
|
])}${_attr("title", phaseLabel)}></span>${_el_resume($scope3_id, "d", $sg__input_workspaceId__OR__input_status)}`);
|
|
6601
6597
|
_if(() => {
|
|
6602
6598
|
if (sessions$1.length === 1) {
|
|
@@ -6609,7 +6605,7 @@ var side_nav_item_default = _template("x", (input) => {
|
|
|
6609
6605
|
icon_agent_default({
|
|
6610
6606
|
agent: activeAgent(sessions$1[0]),
|
|
6611
6607
|
size: 12,
|
|
6612
|
-
class: "
|
|
6608
|
+
class: "_gz"
|
|
6613
6609
|
});
|
|
6614
6610
|
$si__input_sessions && writeScope($scope14_id, {
|
|
6615
6611
|
_: _scope_with_id($scope3_id),
|
|
@@ -6619,16 +6615,16 @@ var side_nav_item_default = _template("x", (input) => {
|
|
|
6619
6615
|
}
|
|
6620
6616
|
}, $scope3_id, "e", $sg__input_sessions, $sg__input_sessions);
|
|
6621
6617
|
const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length === 1 ? sessions$1[0].title || "" : `${sessions$1.length} sessions`;
|
|
6622
|
-
_html(`<span${_attr_class("
|
|
6618
|
+
_html(`<span${_attr_class("_gA")}><span${_attr_class("_gB")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "h", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
|
|
6623
6619
|
_if(() => {
|
|
6624
6620
|
if (input.page && metaText) {
|
|
6625
6621
|
const $scope16_id = _scope_id();
|
|
6626
|
-
_html(`<span${_attr_class("
|
|
6622
|
+
_html(`<span${_attr_class("_gF")}>${_escape(metaText)}${_el_resume($scope16_id, "b", _serialize_guard($scope0_reason, 7))}</span>`);
|
|
6627
6623
|
$si__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status && writeScope($scope16_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope3_id) });
|
|
6628
6624
|
return 0;
|
|
6629
6625
|
} else if (sessions$1.length === 1 && sessions$1[0].title) {
|
|
6630
6626
|
const $scope15_id = _scope_id();
|
|
6631
|
-
_html(`<span${_attr_class("
|
|
6627
|
+
_html(`<span${_attr_class("_gC")}>${_escape(sessions$1[0].title)}${_el_resume($scope15_id, "b", $sg__input_sessions)}</span>`);
|
|
6632
6628
|
$si__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status && writeScope($scope15_id, { _: $si__input_sessions && _scope_with_id($scope3_id) });
|
|
6633
6629
|
return 1;
|
|
6634
6630
|
}
|
|
@@ -6641,7 +6637,7 @@ var side_nav_item_default = _template("x", (input) => {
|
|
|
6641
6637
|
"_I",
|
|
6642
6638
|
"_R",
|
|
6643
6639
|
"_K",
|
|
6644
|
-
"
|
|
6640
|
+
"_gG"
|
|
6645
6641
|
])}>${input.current ? "Open" : ""}${_el_resume($scope4_id, "b", _serialize_guard($scope0_reason, 21))}</span>`);
|
|
6646
6642
|
$si__input_current__OR__input_page__OR__input_rail__OR__input_workspaces__OR__input_workspaceId && _subscribe($si__input_current && $input_current__closures, writeScope($scope4_id, {
|
|
6647
6643
|
_: _scope_with_id($scope3_id),
|
|
@@ -6654,7 +6650,7 @@ var side_nav_item_default = _template("x", (input) => {
|
|
|
6654
6650
|
_if(() => {
|
|
6655
6651
|
if (!input.page) {
|
|
6656
6652
|
const $scope5_id = _scope_id();
|
|
6657
|
-
_html(`<div${_attr_class("
|
|
6653
|
+
_html(`<div${_attr_class("_gv")}>`);
|
|
6658
6654
|
_if(() => {
|
|
6659
6655
|
if (input.onNewSession) {
|
|
6660
6656
|
const $scope6_id = _scope_id();
|
|
@@ -6668,7 +6664,7 @@ var side_nav_item_default = _template("x", (input) => {
|
|
|
6668
6664
|
_html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
|
|
6669
6665
|
_for_of([], (agent) => {
|
|
6670
6666
|
const $scope7_id = _scope_id();
|
|
6671
|
-
_html(`<button${_attr_class("
|
|
6667
|
+
_html(`<button${_attr_class("_gl")}>`);
|
|
6672
6668
|
_set_serialize_reason(12);
|
|
6673
6669
|
const $childScope2 = _peek_scope_id();
|
|
6674
6670
|
icon_agent_default({
|
|
@@ -6703,7 +6699,7 @@ var side_nav_item_default = _template("x", (input) => {
|
|
|
6703
6699
|
return 0;
|
|
6704
6700
|
}
|
|
6705
6701
|
}, $scope5_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
|
|
6706
|
-
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["
|
|
6702
|
+
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_gn"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
|
|
6707
6703
|
icon_manage_default({ size: 12 });
|
|
6708
6704
|
_html(`</a>${_el_resume($scope5_id, "d", _serialize_guard($scope0_reason, 8))}</div>`);
|
|
6709
6705
|
_subscribe($si__input_workspaces__OR__input_workspaceId && $ws_id__closures, _subscribe($si__input_managing && $input_managing__closures, _subscribe($si__input_onReview && $input_onReview__closures, _subscribe($si__input_onNewSession && $input_onNewSession__closures, writeScope($scope5_id, {
|
|
@@ -6713,7 +6709,7 @@ var side_nav_item_default = _template("x", (input) => {
|
|
|
6713
6709
|
return 0;
|
|
6714
6710
|
}
|
|
6715
6711
|
}, $scope3_id, "k", $sg__input_page, $sg__input_page, 1, 0, 1);
|
|
6716
|
-
_html(`</div><div${_attr_class("
|
|
6712
|
+
_html(`</div><div${_attr_class("_gM")}>`);
|
|
6717
6713
|
_if(() => {
|
|
6718
6714
|
if (sessions$1.length === 1 && openPlan) {
|
|
6719
6715
|
const $scope11_id = _scope_id();
|
|
@@ -6721,7 +6717,7 @@ var side_nav_item_default = _template("x", (input) => {
|
|
|
6721
6717
|
const $childScope3 = _peek_scope_id();
|
|
6722
6718
|
usage_pcts_default({
|
|
6723
6719
|
agent: openPlan,
|
|
6724
|
-
class: "
|
|
6720
|
+
class: "_gD"
|
|
6725
6721
|
});
|
|
6726
6722
|
_subscribe($openPlan__closures, writeScope($scope11_id, {
|
|
6727
6723
|
a: _existing_scope($childScope3),
|
|
@@ -6732,14 +6728,14 @@ var side_nav_item_default = _template("x", (input) => {
|
|
|
6732
6728
|
}, $scope3_id, "m");
|
|
6733
6729
|
_for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
|
|
6734
6730
|
const $scope8_id = _scope_id();
|
|
6735
|
-
_html(`<div${_attr_class(["
|
|
6731
|
+
_html(`<div${_attr_class(["_gw", { ["_gm"]: s.id === input.currentTab }])}>`);
|
|
6736
6732
|
_if(() => {
|
|
6737
6733
|
if (renamingId === s.id) {
|
|
6738
6734
|
const $scope10_id = _scope_id();
|
|
6739
6735
|
_html(`<span${_attr_class([
|
|
6740
6736
|
"_z",
|
|
6741
6737
|
phase[sessionPhase(s.state)],
|
|
6742
|
-
"
|
|
6738
|
+
"_gK"
|
|
6743
6739
|
])}></span>${_el_resume($scope10_id, "a", $sg__input_sessions)}`);
|
|
6744
6740
|
_set_serialize_reason({
|
|
6745
6741
|
1: $sg__input_sessions,
|
|
@@ -6749,17 +6745,17 @@ var side_nav_item_default = _template("x", (input) => {
|
|
|
6749
6745
|
icon_agent_default({
|
|
6750
6746
|
agent: activeAgent(s),
|
|
6751
6747
|
size: 13,
|
|
6752
|
-
class: "
|
|
6748
|
+
class: "_gO"
|
|
6753
6749
|
});
|
|
6754
6750
|
_html(`<input${_attr_input_value($scope10_id, "c", renameValue, _resume((_new_renameValue) => {
|
|
6755
6751
|
renameValue = _new_renameValue;
|
|
6756
|
-
}, "x0", $scope10_id))}${_attr_class(["_U", "
|
|
6752
|
+
}, "x0", $scope10_id))}${_attr_class(["_U", "_gL"])} aria-label="Session name">${_el_resume($scope10_id, "c")}`);
|
|
6757
6753
|
_script($scope10_id, "x5");
|
|
6758
6754
|
_subscribe($renameValue__closures, writeScope($scope10_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
|
|
6759
6755
|
return 0;
|
|
6760
6756
|
} else {
|
|
6761
6757
|
const $scope9_id = _scope_id();
|
|
6762
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("
|
|
6758
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("_gN")}><span${_attr_class(["_z", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope9_id, "b", $sg__input_sessions)}`);
|
|
6763
6759
|
_set_serialize_reason({
|
|
6764
6760
|
1: $sg__input_sessions,
|
|
6765
6761
|
2: $sg__input_sessions
|
|
@@ -6768,9 +6764,9 @@ var side_nav_item_default = _template("x", (input) => {
|
|
|
6768
6764
|
icon_agent_default({
|
|
6769
6765
|
agent: activeAgent(s),
|
|
6770
6766
|
size: 13,
|
|
6771
|
-
class: "
|
|
6767
|
+
class: "_gO"
|
|
6772
6768
|
});
|
|
6773
|
-
_html(`<span${_attr_class("
|
|
6769
|
+
_html(`<span${_attr_class("_gI")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope9_id, "e", $sg__input_sessions)}</span></a>${_el_resume($scope9_id, "a", _serialize_guard($scope0_reason, 6))}<div${_attr_class("_gJ")}><button${_attr_class(rowIcon)} title="Rename session">`);
|
|
6774
6770
|
icon_edit_default({ size: 12 });
|
|
6775
6771
|
_html(`</button>${_el_resume($scope9_id, "g")}<button${_attr_class([close, { ["_q"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
|
|
6776
6772
|
icon_xmark_default({ size: 12 });
|
|
@@ -6782,7 +6778,7 @@ var side_nav_item_default = _template("x", (input) => {
|
|
|
6782
6778
|
const $childScope6 = _peek_scope_id();
|
|
6783
6779
|
usage_pcts_default({
|
|
6784
6780
|
agent: openPlan,
|
|
6785
|
-
class: "
|
|
6781
|
+
class: "_gE"
|
|
6786
6782
|
});
|
|
6787
6783
|
_subscribe($openPlan__closures, writeScope($scope12_id, {
|
|
6788
6784
|
a: _existing_scope($childScope6),
|
|
@@ -6929,7 +6925,7 @@ var icon_sidebar_collapse_default = _template("hb", (input) => {
|
|
|
6929
6925
|
//#endregion
|
|
6930
6926
|
//#region src/tags/side-nav.marko
|
|
6931
6927
|
var side_nav_default = _template("y", (input) => {
|
|
6932
|
-
const $scope0_reason = _scope_reason(), $sg__input_instanceName = _serialize_guard($scope0_reason, 12), $sg__input_setupReady = _serialize_guard($scope0_reason, 13), $sg__input_instanceAccent = _serialize_guard($scope0_reason, 11), $sg__input_workspace__OR__input_allWorkspaces = _serialize_guard($scope0_reason, 0), $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus = _serialize_guard($scope0_reason, 3), $sg__input_agents = _serialize_guard($scope0_reason,
|
|
6928
|
+
const $scope0_reason = _scope_reason(), $sg__input_instanceName = _serialize_guard($scope0_reason, 12), $sg__input_setupReady = _serialize_guard($scope0_reason, 13), $sg__input_instanceAccent = _serialize_guard($scope0_reason, 11), $sg__input_workspace__OR__input_allWorkspaces = _serialize_guard($scope0_reason, 0), $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus = _serialize_guard($scope0_reason, 3), $sg__input_agents = _serialize_guard($scope0_reason, 14), $si__input_workspace = _serialize_if($scope0_reason, 4), $si__input_workspace__OR__input_allWorkspaces = _serialize_if($scope0_reason, 0), $si__input_allStatus = _serialize_if($scope0_reason, 10), $si__input_setupReady = _serialize_if($scope0_reason, 13), $si__input_instanceName = _serialize_if($scope0_reason, 12), $si__input_instanceAccent = _serialize_if($scope0_reason, 11), $si__input_agents = _serialize_if($scope0_reason, 14), $si__input_onNewSession = _serialize_if($scope0_reason, 15), $si__input_onReviewOpened = _serialize_if($scope0_reason, 16), $si__input_onReviewOther = _serialize_if($scope0_reason, 17), $si__input_sessions = _serialize_if($scope0_reason, 18), $si__input_onRenameSession = _serialize_if($scope0_reason, 19), $si__input_onCloseSession = _serialize_if($scope0_reason, 20), $si__input_tab__OR__input_tabChange = _serialize_if($scope0_reason, 1);
|
|
6933
6929
|
const $scope0_id = _scope_id();
|
|
6934
6930
|
const $input_instanceName__closures = /* @__PURE__ */ new Set();
|
|
6935
6931
|
const $iconSrc__closures = /* @__PURE__ */ new Set();
|
|
@@ -6937,10 +6933,10 @@ var side_nav_default = _template("y", (input) => {
|
|
|
6937
6933
|
const $ws_id__closures = /* @__PURE__ */ new Set();
|
|
6938
6934
|
const $workspaces__closures = /* @__PURE__ */ new Set();
|
|
6939
6935
|
const $allStatus__closures = /* @__PURE__ */ new Set();
|
|
6940
|
-
const $input_onSelectWorkspace__closures = /* @__PURE__ */ new Set();
|
|
6941
6936
|
const $input_agents__closures = /* @__PURE__ */ new Set();
|
|
6942
6937
|
const $input_onNewSession__closures = /* @__PURE__ */ new Set();
|
|
6943
6938
|
const $input_onReviewOpened__closures = /* @__PURE__ */ new Set();
|
|
6939
|
+
const $input_onReviewOther__closures = /* @__PURE__ */ new Set();
|
|
6944
6940
|
const $input_sessions__closures = /* @__PURE__ */ new Set();
|
|
6945
6941
|
const $input_onRenameSession__closures = /* @__PURE__ */ new Set();
|
|
6946
6942
|
const $input_onCloseSession__closures = /* @__PURE__ */ new Set();
|
|
@@ -6978,34 +6974,34 @@ var side_nav_default = _template("y", (input) => {
|
|
|
6978
6974
|
const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
|
|
6979
6975
|
const otherIds = itemIds.filter((id) => id !== ws.id);
|
|
6980
6976
|
const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
|
|
6981
|
-
_html(`<aside${_attr_class(["
|
|
6982
|
-
["
|
|
6983
|
-
["
|
|
6977
|
+
_html(`<aside${_attr_class(["_dN", {
|
|
6978
|
+
["_dL"]: !navOpen,
|
|
6979
|
+
["_dM"]: isPage
|
|
6984
6980
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
6985
6981
|
_if(() => {
|
|
6986
6982
|
if (isPage) {
|
|
6987
6983
|
const $scope1_id = _scope_id();
|
|
6988
|
-
_html(`<header${_attr_class("
|
|
6984
|
+
_html(`<header${_attr_class("_dQ")}><div${_attr_class("_dZ")}>`);
|
|
6989
6985
|
_if(() => {
|
|
6990
6986
|
if (input.instanceName) {
|
|
6991
6987
|
const $scope2_id = _scope_id();
|
|
6992
|
-
_html(`<div${_attr_class("
|
|
6988
|
+
_html(`<div${_attr_class("_dW")} title="This work server (Settings → Appearance)"><img${_attr_class("_dX")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_dY")}>${_escape(input.instanceName)}${_el_resume($scope2_id, "d", $sg__input_instanceName)}</span></div>`);
|
|
6993
6989
|
_subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
|
|
6994
6990
|
return 0;
|
|
6995
6991
|
}
|
|
6996
6992
|
}, $scope1_id, "c", $sg__input_instanceName, $sg__input_instanceName, 1, 0, 1);
|
|
6997
|
-
_html(`<h1${_attr_class("
|
|
6993
|
+
_html(`<h1${_attr_class("_dR")}>Workspaces</h1></div><div${_attr_class("_dS")}>`);
|
|
6998
6994
|
_if(() => {}, $scope1_id, "f", 1, 1, 1, 0, 1);
|
|
6999
6995
|
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
|
|
7000
6996
|
iconBtn$1,
|
|
7001
|
-
"
|
|
7002
|
-
{ ["
|
|
6997
|
+
"_dT",
|
|
6998
|
+
{ ["_dI"]: view === "settings" }
|
|
7003
6999
|
])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
7004
7000
|
icon_settings_default({ size: 16 });
|
|
7005
7001
|
_if(() => {
|
|
7006
7002
|
if (input.setupReady === false) {
|
|
7007
7003
|
const $scope12_id = _scope_id();
|
|
7008
|
-
_html(`<span${_attr_class(["_z", "
|
|
7004
|
+
_html(`<span${_attr_class(["_z", "_dK"])} title="Machine setup incomplete"></span>`);
|
|
7009
7005
|
$si__input_setupReady && writeScope($scope12_id, {});
|
|
7010
7006
|
return 0;
|
|
7011
7007
|
}
|
|
@@ -7018,18 +7014,18 @@ var side_nav_default = _template("y", (input) => {
|
|
|
7018
7014
|
_if(() => {
|
|
7019
7015
|
if (!isPage && input.instanceName) {
|
|
7020
7016
|
const $scope3_id = _scope_id();
|
|
7021
|
-
_html(`<div${_attr_class("
|
|
7017
|
+
_html(`<div${_attr_class("_dW")} title="This work server (Settings → Appearance)"><img${_attr_class("_dX")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_dY")}>${_escape(input.instanceName)}${_el_resume($scope3_id, "d", $sg__input_instanceName)}</span></div>`);
|
|
7022
7018
|
writeScope($scope3_id, {});
|
|
7023
7019
|
return 0;
|
|
7024
7020
|
}
|
|
7025
7021
|
}, $scope0_id, "c", 1, 1, 1, 0, 1);
|
|
7026
|
-
_html(`<div${_attr_class("
|
|
7022
|
+
_html(`<div${_attr_class("_d0")}>`);
|
|
7027
7023
|
_for_of(listIds, (wsId) => {
|
|
7028
7024
|
const $scope4_id = _scope_id();
|
|
7029
7025
|
_if(() => {
|
|
7030
7026
|
if (isPage && wsId === ws.id) {
|
|
7031
7027
|
const $scope13_id = _scope_id();
|
|
7032
|
-
_html(`<h2${_attr_class(["
|
|
7028
|
+
_html(`<h2${_attr_class(["_bJ", "_dU"])}>Current</h2>`);
|
|
7033
7029
|
writeScope($scope13_id, {});
|
|
7034
7030
|
return 0;
|
|
7035
7031
|
}
|
|
@@ -7037,7 +7033,7 @@ var side_nav_default = _template("y", (input) => {
|
|
|
7037
7033
|
_if(() => {
|
|
7038
7034
|
if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
|
|
7039
7035
|
const $scope14_id = _scope_id();
|
|
7040
|
-
_html(`<h2${_attr_class(["
|
|
7036
|
+
_html(`<h2${_attr_class(["_bJ", "_dU"])}>Other workspaces</h2>`);
|
|
7041
7037
|
writeScope($scope14_id, {});
|
|
7042
7038
|
return 0;
|
|
7043
7039
|
}
|
|
@@ -7097,10 +7093,7 @@ var side_nav_default = _template("y", (input) => {
|
|
|
7097
7093
|
if (wsId === ws.id) {
|
|
7098
7094
|
if (view === "diff") view = "term";
|
|
7099
7095
|
else input.onReviewOpened?.();
|
|
7100
|
-
} else
|
|
7101
|
-
requestDiff(wsId);
|
|
7102
|
-
input.onSelectWorkspace?.(wsId);
|
|
7103
|
-
}
|
|
7096
|
+
} else input.onReviewOther?.(wsId);
|
|
7104
7097
|
}, "y4", $scope4_id),
|
|
7105
7098
|
sessions: wsId === ws.id && input.sessions ? input.sessions : allStatus[wsId]?.sessions || [],
|
|
7106
7099
|
currentTab: wsId === ws.id && view === "term" ? tab : null,
|
|
@@ -7124,7 +7117,7 @@ var side_nav_default = _template("y", (input) => {
|
|
|
7124
7117
|
railHover = null;
|
|
7125
7118
|
}, 150);
|
|
7126
7119
|
}, "y6", $scope5_id);
|
|
7127
|
-
_html(`<div${_attr_class("
|
|
7120
|
+
_html(`<div${_attr_class("_d1")}>`);
|
|
7128
7121
|
_for_of(itemIds, (wsId, i) => {
|
|
7129
7122
|
const $scope6_id = _scope_id();
|
|
7130
7123
|
_html("<span>");
|
|
@@ -7178,7 +7171,7 @@ var side_nav_default = _template("y", (input) => {
|
|
|
7178
7171
|
if (railHover) {
|
|
7179
7172
|
const $scope7_id = _scope_id();
|
|
7180
7173
|
const hoverId = railHover.id;
|
|
7181
|
-
_html(`<div${_attr_class(["_4", "
|
|
7174
|
+
_html(`<div${_attr_class(["_4", "_d4"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
|
|
7182
7175
|
_set_serialize_reason({
|
|
7183
7176
|
0: 1,
|
|
7184
7177
|
1: 1,
|
|
@@ -7233,10 +7226,7 @@ var side_nav_default = _template("y", (input) => {
|
|
|
7233
7226
|
if (hoverId === ws.id) {
|
|
7234
7227
|
if (view === "diff") view = "term";
|
|
7235
7228
|
else input.onReviewOpened?.();
|
|
7236
|
-
} else
|
|
7237
|
-
requestDiff(hoverId);
|
|
7238
|
-
input.onSelectWorkspace?.(hoverId);
|
|
7239
|
-
}
|
|
7229
|
+
} else input.onReviewOther?.(hoverId);
|
|
7240
7230
|
}, "y10", $scope7_id),
|
|
7241
7231
|
sessions: hoverId === ws.id && input.sessions ? input.sessions : allStatus[hoverId]?.sessions || [],
|
|
7242
7232
|
currentTab: hoverId === ws.id && view === "term" ? tab : null,
|
|
@@ -7245,12 +7235,12 @@ var side_nav_default = _template("y", (input) => {
|
|
|
7245
7235
|
});
|
|
7246
7236
|
_html(`</div>${_el_resume($scope7_id, "a")}`);
|
|
7247
7237
|
_script($scope7_id, "y13");
|
|
7248
|
-
_subscribe($si__input_allStatus && $allStatus__closures, _subscribe($si__input_workspace__OR__input_allWorkspaces && $workspaces__closures, _subscribe($view__closures, _subscribe($si__input_tab__OR__input_tabChange && $tab__closures, _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_onCloseSession && $input_onCloseSession__closures, _subscribe($si__input_onRenameSession && $input_onRenameSession__closures, _subscribe($si__input_sessions && $input_sessions__closures, _subscribe($
|
|
7238
|
+
_subscribe($si__input_allStatus && $allStatus__closures, _subscribe($si__input_workspace__OR__input_allWorkspaces && $workspaces__closures, _subscribe($view__closures, _subscribe($si__input_tab__OR__input_tabChange && $tab__closures, _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_onCloseSession && $input_onCloseSession__closures, _subscribe($si__input_onRenameSession && $input_onRenameSession__closures, _subscribe($si__input_sessions && $input_sessions__closures, _subscribe($si__input_onReviewOther && $input_onReviewOther__closures, _subscribe($si__input_onReviewOpened && $input_onReviewOpened__closures, _subscribe($si__input_onNewSession && $input_onNewSession__closures, _subscribe($si__input_agents && $input_agents__closures, writeScope($scope7_id, {
|
|
7249
7239
|
d: hoverId,
|
|
7250
7240
|
b: _existing_scope($childScope3),
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
|
|
7241
|
+
Cb5: $si__input_workspace && 1,
|
|
7242
|
+
Cbd: $si__input_workspace__OR__input_allWorkspaces && 1,
|
|
7243
|
+
Cbe: $si__input_allStatus && 1
|
|
7254
7244
|
})))))))))))));
|
|
7255
7245
|
return 0;
|
|
7256
7246
|
}
|
|
@@ -7266,7 +7256,7 @@ var side_nav_default = _template("y", (input) => {
|
|
|
7266
7256
|
return 0;
|
|
7267
7257
|
}
|
|
7268
7258
|
}, $scope0_id, "e");
|
|
7269
|
-
_html(`<div${_attr_class("
|
|
7259
|
+
_html(`<div${_attr_class("_d2")}>`);
|
|
7270
7260
|
_if(() => {
|
|
7271
7261
|
if (isPage) {
|
|
7272
7262
|
const $scope9_id = _scope_id();
|
|
@@ -7274,7 +7264,7 @@ var side_nav_default = _template("y", (input) => {
|
|
|
7274
7264
|
"_o",
|
|
7275
7265
|
"_p",
|
|
7276
7266
|
btnLg,
|
|
7277
|
-
"
|
|
7267
|
+
"_dV"
|
|
7278
7268
|
])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
7279
7269
|
icon_folder_plus_default({ size: 16 });
|
|
7280
7270
|
_html(` New workspace</a>${_el_resume($scope9_id, "a")}`);
|
|
@@ -7296,19 +7286,19 @@ var side_nav_default = _template("y", (input) => {
|
|
|
7296
7286
|
return 1;
|
|
7297
7287
|
}
|
|
7298
7288
|
}, $scope8_id, "a", 1, 1, 1, "</button>", 1);
|
|
7299
|
-
_html(`<div${_attr_class(["_y", "
|
|
7289
|
+
_html(`<div${_attr_class(["_y", "_d3"])}></div>`);
|
|
7300
7290
|
_if(() => {}, $scope8_id, "c", 1, 1, 1, 0, 1);
|
|
7301
|
-
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["
|
|
7291
|
+
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["_dI"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
7302
7292
|
icon_settings_default({ size: 15 });
|
|
7303
7293
|
_if(() => {
|
|
7304
7294
|
if (input.setupReady === false) {
|
|
7305
7295
|
const $scope17_id = _scope_id();
|
|
7306
|
-
_html(`<span${_attr_class(["_z", "
|
|
7296
|
+
_html(`<span${_attr_class(["_z", "_dK"])} title="Machine setup incomplete"></span>`);
|
|
7307
7297
|
$si__input_setupReady && writeScope($scope17_id, {});
|
|
7308
7298
|
return 0;
|
|
7309
7299
|
}
|
|
7310
7300
|
}, $scope8_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
7311
|
-
_html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["
|
|
7301
|
+
_html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["_dI"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
7312
7302
|
icon_folder_plus_default({ size: 16 });
|
|
7313
7303
|
_html(`</a>${_el_resume($scope8_id, "g")}`);
|
|
7314
7304
|
_script($scope8_id, "y15");
|
|
@@ -7333,51 +7323,52 @@ var side_nav_default = _template("y", (input) => {
|
|
|
7333
7323
|
x: input.agents,
|
|
7334
7324
|
y: input.onNewSession,
|
|
7335
7325
|
z: input.onReviewOpened,
|
|
7336
|
-
a0: input.
|
|
7337
|
-
a1: input.
|
|
7338
|
-
a2: input.
|
|
7339
|
-
a3:
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
-
|
|
7343
|
-
|
|
7344
|
-
ac:
|
|
7345
|
-
|
|
7346
|
-
af:
|
|
7347
|
-
ag:
|
|
7348
|
-
ah:
|
|
7349
|
-
|
|
7350
|
-
ak:
|
|
7351
|
-
|
|
7352
|
-
|
|
7353
|
-
aq:
|
|
7354
|
-
ar:
|
|
7355
|
-
|
|
7356
|
-
|
|
7357
|
-
|
|
7358
|
-
|
|
7359
|
-
|
|
7360
|
-
|
|
7361
|
-
|
|
7362
|
-
bd: $
|
|
7363
|
-
|
|
7326
|
+
a0: input.onReviewOther,
|
|
7327
|
+
a1: input.sessions,
|
|
7328
|
+
a2: input.onRenameSession,
|
|
7329
|
+
a3: input.onCloseSession,
|
|
7330
|
+
a4: _serialize_if($scope0_reason, 9) && ws,
|
|
7331
|
+
a6: ws?.id,
|
|
7332
|
+
a8: tab,
|
|
7333
|
+
aa: view,
|
|
7334
|
+
ac: navOpen,
|
|
7335
|
+
ad: notifyOn,
|
|
7336
|
+
af: canPush,
|
|
7337
|
+
ag: leaveNav,
|
|
7338
|
+
ah: toggleNotify,
|
|
7339
|
+
ai: itemIds,
|
|
7340
|
+
ak: workspaces,
|
|
7341
|
+
al: allStatus,
|
|
7342
|
+
an: isPage,
|
|
7343
|
+
aq: backHref,
|
|
7344
|
+
ar: iconSrc,
|
|
7345
|
+
as: otherIds,
|
|
7346
|
+
au: otherIds?.[0],
|
|
7347
|
+
ab: input.viewChange || void 0,
|
|
7348
|
+
aw: $si__input_instanceName && $input_instanceName__closures,
|
|
7349
|
+
bh: $si__input_instanceAccent && $iconSrc__closures,
|
|
7350
|
+
b9: $notifyOn__closures,
|
|
7351
|
+
b5: $si__input_workspace && $ws_id__closures,
|
|
7352
|
+
bd: $si__input_workspace__OR__input_allWorkspaces && $workspaces__closures,
|
|
7353
|
+
be: $si__input_allStatus && $allStatus__closures,
|
|
7364
7354
|
ay: $si__input_agents && $input_agents__closures,
|
|
7365
7355
|
az: $si__input_onNewSession && $input_onNewSession__closures,
|
|
7366
7356
|
b0: $si__input_onReviewOpened && $input_onReviewOpened__closures,
|
|
7367
|
-
b1: $
|
|
7368
|
-
b2: $
|
|
7369
|
-
b3: $
|
|
7370
|
-
|
|
7371
|
-
b6: $
|
|
7357
|
+
b1: $si__input_onReviewOther && $input_onReviewOther__closures,
|
|
7358
|
+
b2: $si__input_sessions && $input_sessions__closures,
|
|
7359
|
+
b3: $si__input_onRenameSession && $input_onRenameSession__closures,
|
|
7360
|
+
b4: $si__input_onCloseSession && $input_onCloseSession__closures,
|
|
7361
|
+
b6: $si__input_tab__OR__input_tabChange && $tab__closures,
|
|
7362
|
+
b7: $view__closures
|
|
7372
7363
|
});
|
|
7373
7364
|
_resume_branch($scope0_id);
|
|
7374
7365
|
});
|
|
7375
7366
|
var iconBtn = "_0 _j";
|
|
7376
|
-
var sectionCount = "
|
|
7377
|
-
var content = "
|
|
7378
|
-
var pageMeta = "
|
|
7379
|
-
var pathMeta = "
|
|
7380
|
-
var dangerHint = "
|
|
7367
|
+
var sectionCount = "_bw _I _J";
|
|
7368
|
+
var content = "_d5 _bm";
|
|
7369
|
+
var pageMeta = "_d6 _br";
|
|
7370
|
+
var pathMeta = "_d9 _x";
|
|
7371
|
+
var dangerHint = "_ee _S";
|
|
7381
7372
|
//#endregion
|
|
7382
7373
|
//#region src/tags/manage-workspace.marko
|
|
7383
7374
|
var api$2;
|
|
@@ -7476,7 +7467,7 @@ var manage_workspace_default = _template("o", (input) => {
|
|
|
7476
7467
|
setTimeout(() => loadProcs(void 0), 500);
|
|
7477
7468
|
}, "o5", $scope0_id);
|
|
7478
7469
|
const titleId = _id();
|
|
7479
|
-
_html(`<div${_attr_class("
|
|
7470
|
+
_html(`<div${_attr_class("_bk")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bl")}><div${_attr_class(content)}>`);
|
|
7480
7471
|
_set_serialize_reason(30);
|
|
7481
7472
|
const $childScope = _peek_scope_id();
|
|
7482
7473
|
page_head_default({
|
|
@@ -7489,7 +7480,7 @@ var manage_workspace_default = _template("o", (input) => {
|
|
|
7489
7480
|
meta: attrTag({ content: _content_resume("o11", () => {
|
|
7490
7481
|
_scope_reason();
|
|
7491
7482
|
const $scope8_id = _scope_id();
|
|
7492
|
-
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("
|
|
7483
|
+
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_d7")}>${_escape(ws.name)}${_el_resume($scope8_id, "c")}</span>`);
|
|
7493
7484
|
_if(() => {
|
|
7494
7485
|
if (ws.status !== "active") {
|
|
7495
7486
|
const $scope11_id = _scope_id();
|
|
@@ -7498,7 +7489,7 @@ var manage_workspace_default = _template("o", (input) => {
|
|
|
7498
7489
|
return 0;
|
|
7499
7490
|
}
|
|
7500
7491
|
}, $scope8_id, "d", 1, 1, 1, 0, 1);
|
|
7501
|
-
_html(`<span${_attr_class("
|
|
7492
|
+
_html(`<span${_attr_class("_d8")} 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")}`);
|
|
7502
7493
|
_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) })))));
|
|
7503
7494
|
_resume_branch($scope8_id);
|
|
7504
7495
|
}, $scope0_id) })
|
|
@@ -7526,22 +7517,22 @@ var manage_workspace_default = _template("o", (input) => {
|
|
|
7526
7517
|
_if(() => {
|
|
7527
7518
|
if (pendingAction && actionStep) {
|
|
7528
7519
|
const $scope7_id = _scope_id();
|
|
7529
|
-
_html(`<p${_attr_class("
|
|
7520
|
+
_html(`<p${_attr_class("_bt")}><span${_attr_class("_F")}></span><!>${_escape(actionStep)}${_el_resume($scope7_id, "c")}</p>`);
|
|
7530
7521
|
writeScope($scope7_id, {});
|
|
7531
7522
|
return 0;
|
|
7532
7523
|
}
|
|
7533
7524
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
7534
|
-
_html(`<section${_attr_class("
|
|
7525
|
+
_html(`<section${_attr_class("_bu")}><div${_attr_class("_bv")}><h2${_attr_class("_bJ")}>Repos</h2><span${_attr_class(sectionCount)}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "k")}</span><div${_attr_class("_y")}></div><button${_attr_class(iconBtn)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
7535
7526
|
_set_serialize_reason(1);
|
|
7536
7527
|
const $childScope2 = _peek_scope_id();
|
|
7537
7528
|
icon_refresh_default({
|
|
7538
7529
|
size: 14,
|
|
7539
7530
|
class: catalogRefreshing && "_E"
|
|
7540
7531
|
});
|
|
7541
|
-
_html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("
|
|
7532
|
+
_html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("_bx")}>`);
|
|
7542
7533
|
_for_of(ws.repos, (row) => {
|
|
7543
7534
|
const $scope1_id = _scope_id();
|
|
7544
|
-
_html(`<li${_attr_class("
|
|
7535
|
+
_html(`<li${_attr_class("_bz")}><div${_attr_class("_bA")}><span${_attr_class(["_bB", "_x"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bC")}><a${_attr_class(["_bD", "_ea"])}${_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")}`);
|
|
7545
7536
|
_if(() => {
|
|
7546
7537
|
if (row.base_branch !== row.default_branch) {
|
|
7547
7538
|
const $scope12_id = _scope_id();
|
|
@@ -7562,7 +7553,7 @@ var manage_workspace_default = _template("o", (input) => {
|
|
|
7562
7553
|
} else {
|
|
7563
7554
|
const $scope6_id = _scope_id();
|
|
7564
7555
|
_html(`<button${_attr_class([
|
|
7565
|
-
"
|
|
7556
|
+
"_bE",
|
|
7566
7557
|
"_2",
|
|
7567
7558
|
"_3",
|
|
7568
7559
|
{ ["_q"]: confirmingRemove === row.full_name }
|
|
@@ -7595,19 +7586,19 @@ var manage_workspace_default = _template("o", (input) => {
|
|
|
7595
7586
|
}, "full_name", $scope0_id, "p", 1, 1, 1, 0, 1);
|
|
7596
7587
|
_for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
|
|
7597
7588
|
const $scope16_id = _scope_id();
|
|
7598
|
-
_html(`<li${_attr_class(["
|
|
7589
|
+
_html(`<li${_attr_class(["_bz", "_by"])}><span${_attr_class("_F")}></span><div${_attr_class("_bA")}><span${_attr_class("_bD")}>Adding <!>${_escape(name)}${_el_resume($scope16_id, "e")}…</span></div></li>`);
|
|
7599
7590
|
writeScope($scope16_id, {});
|
|
7600
7591
|
}, (n) => n, $scope0_id, "q", 1, 1, 1, 0, 1);
|
|
7601
7592
|
_html("</ul>");
|
|
7602
7593
|
_if(() => {
|
|
7603
7594
|
if (!ws.repos.length && !busy.size) {
|
|
7604
7595
|
const $scope17_id = _scope_id();
|
|
7605
|
-
_html(`<p${_attr_class("
|
|
7596
|
+
_html(`<p${_attr_class("_bF")}>No repos yet. Search below to add one.</p>`);
|
|
7606
7597
|
writeScope($scope17_id, {});
|
|
7607
7598
|
return 0;
|
|
7608
7599
|
}
|
|
7609
7600
|
}, $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
7610
|
-
_html(`<div${_attr_class("
|
|
7601
|
+
_html(`<div${_attr_class("_d_")}>`);
|
|
7611
7602
|
const $childScope3 = _peek_scope_id();
|
|
7612
7603
|
let refreshCatalog = repo_picker_default({
|
|
7613
7604
|
exclude: inWorkspace,
|
|
@@ -7627,17 +7618,17 @@ var manage_workspace_default = _template("o", (input) => {
|
|
|
7627
7618
|
_if(() => {
|
|
7628
7619
|
if (running.length) {
|
|
7629
7620
|
const $scope9_id = _scope_id();
|
|
7630
|
-
_html(`<section${_attr_class("
|
|
7621
|
+
_html(`<section${_attr_class("_bu")}><div${_attr_class("_bv")}><h2${_attr_class("_bJ")}>Running</h2><span${_attr_class(sectionCount)}>${_escape(running.length)}${_el_resume($scope9_id, "e")}</span></div><ul${_attr_class("_bx")}>`);
|
|
7631
7622
|
_for_of(running, (p) => {
|
|
7632
7623
|
const $scope10_id = _scope_id();
|
|
7633
|
-
_html(`<li${_attr_class("
|
|
7624
|
+
_html(`<li${_attr_class("_bz")}><div${_attr_class("_bA")}${_attr("title", p.args)}><span${_attr_class(["_bB", "_x"])}>${_escape(p.cmd)}${_el_resume($scope10_id, "d")}</span>`);
|
|
7634
7625
|
_if(() => {
|
|
7635
7626
|
if (p.ports.length) {
|
|
7636
7627
|
const $scope18_id = _scope_id();
|
|
7637
|
-
_html(`<span${_attr_class("
|
|
7628
|
+
_html(`<span${_attr_class("_bC")}>`);
|
|
7638
7629
|
_for_of(p.ports, (port) => {
|
|
7639
7630
|
const $scope19_id = _scope_id();
|
|
7640
|
-
_html(`<button${_attr_class(["_s", "
|
|
7631
|
+
_html(`<button${_attr_class(["_s", "_eb"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope19_id, "b")}</button>${_el_resume($scope19_id, "a")}`);
|
|
7641
7632
|
_script($scope19_id, "o15");
|
|
7642
7633
|
writeScope($scope19_id, { d: port });
|
|
7643
7634
|
}, (x) => String(x), $scope18_id, "a", 1, 1, 1, "</span>", 1);
|
|
@@ -7645,7 +7636,7 @@ var manage_workspace_default = _template("o", (input) => {
|
|
|
7645
7636
|
return 0;
|
|
7646
7637
|
}
|
|
7647
7638
|
}, $scope10_id, "e", 1, 1, 1, 0, 1);
|
|
7648
|
-
_html(`</div>${_el_resume($scope10_id, "b")}<button${_attr_class(["
|
|
7639
|
+
_html(`</div>${_el_resume($scope10_id, "b")}<button${_attr_class(["_bE", "_2"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
|
|
7649
7640
|
icon_xmark_default({ size: 14 });
|
|
7650
7641
|
_html(`</button>${_el_resume($scope10_id, "f")}</li>`);
|
|
7651
7642
|
_script($scope10_id, "o16");
|
|
@@ -7659,7 +7650,7 @@ var manage_workspace_default = _template("o", (input) => {
|
|
|
7659
7650
|
return 0;
|
|
7660
7651
|
}
|
|
7661
7652
|
}, $scope0_id, "v", 1, 1, 1, 0, 1);
|
|
7662
|
-
_html(`<section${_attr_class(["
|
|
7653
|
+
_html(`<section${_attr_class(["_bu", "_ec"])}><div${_attr_class("_bv")}><h2${_attr_class("_bJ")}>Workspace</h2></div><div${_attr_class("_ed")}>`);
|
|
7663
7654
|
_if(() => {
|
|
7664
7655
|
if (ws.status === "active") {
|
|
7665
7656
|
const $scope4_id = _scope_id();
|
|
@@ -7760,19 +7751,19 @@ var term_find_default = _template("A", (input) => {
|
|
|
7760
7751
|
const canStep = hasQuery && open;
|
|
7761
7752
|
const keybar = input.placement === "keybar";
|
|
7762
7753
|
_html(`<div${_attr_class([
|
|
7763
|
-
"
|
|
7764
|
-
keybar ? "
|
|
7765
|
-
!open && "
|
|
7766
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
7754
|
+
"_fE",
|
|
7755
|
+
keybar ? "_fG" : "_fF",
|
|
7756
|
+
!open && "_fI"
|
|
7757
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_fz", keybar ? "_fH" : "_fB"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
7767
7758
|
if (!open) return;
|
|
7768
7759
|
query = v;
|
|
7769
7760
|
live.query = v;
|
|
7770
7761
|
run(0);
|
|
7771
|
-
}, "A0", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
7762
|
+
}, "A0", $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"}>`);
|
|
7772
7763
|
icon_arrow_up_default({ size: 14 });
|
|
7773
|
-
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
7764
|
+
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_fK"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
7774
7765
|
icon_arrow_down_default({ size: 14 });
|
|
7775
|
-
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
7766
|
+
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_fK"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
|
|
7776
7767
|
icon_xmark_default({ size: 14 });
|
|
7777
7768
|
_html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
|
|
7778
7769
|
_script($scope0_id, "A4");
|
|
@@ -8106,7 +8097,7 @@ var term_default = _template("B", (input) => {
|
|
|
8106
8097
|
trapOpen = true;
|
|
8107
8098
|
}
|
|
8108
8099
|
}, "B14", $scope0_id);
|
|
8109
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
8100
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_ef")}><div${_attr_class("_eg")}></div>${_el_resume($scope0_id, "b")}`);
|
|
8110
8101
|
_if(() => {
|
|
8111
8102
|
if (findOpen) {
|
|
8112
8103
|
const $scope12_id = _scope_id();
|
|
@@ -8133,7 +8124,7 @@ var term_default = _template("B", (input) => {
|
|
|
8133
8124
|
_if(() => {
|
|
8134
8125
|
if (uploading) {
|
|
8135
8126
|
const $scope19_id = _scope_id();
|
|
8136
|
-
_html(`<div${_attr_class("
|
|
8127
|
+
_html(`<div${_attr_class("_em")}>uploading…</div>`);
|
|
8137
8128
|
writeScope($scope19_id, {});
|
|
8138
8129
|
return 0;
|
|
8139
8130
|
}
|
|
@@ -8141,7 +8132,7 @@ var term_default = _template("B", (input) => {
|
|
|
8141
8132
|
_if(() => {
|
|
8142
8133
|
if (copiedFlash) {
|
|
8143
8134
|
const $scope20_id = _scope_id();
|
|
8144
|
-
_html(`<div${_attr_class("
|
|
8135
|
+
_html(`<div${_attr_class("_el")}>Copied</div>`);
|
|
8145
8136
|
writeScope($scope20_id, {});
|
|
8146
8137
|
return 0;
|
|
8147
8138
|
}
|
|
@@ -8150,7 +8141,7 @@ var term_default = _template("B", (input) => {
|
|
|
8150
8141
|
_if(() => {
|
|
8151
8142
|
if (trapOpen) {
|
|
8152
8143
|
const $scope11_id = _scope_id();
|
|
8153
|
-
_html(`<div${_attr_class("
|
|
8144
|
+
_html(`<div${_attr_class("_en")}><div${_attr_class("_eo")}><p${_attr_class("_eS")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope11_id, "d")}<button${_attr_class("_o")}>Cancel</button>${_el_resume($scope11_id, "e")}</div>${_el_resume($scope11_id, "b")}</div>${_el_resume($scope11_id, "a")}`);
|
|
8154
8145
|
_script($scope11_id, "B25");
|
|
8155
8146
|
_script($scope11_id, "B26");
|
|
8156
8147
|
writeScope($scope11_id, {});
|
|
@@ -8253,7 +8244,7 @@ var work_view_default = _template("F", (input) => {
|
|
|
8253
8244
|
let DiffView = null;
|
|
8254
8245
|
const loadDiffView = _resume(() => {
|
|
8255
8246
|
if (DiffView) return;
|
|
8256
|
-
import("./
|
|
8247
|
+
import("./_4U00WI47.js").then((m) => {
|
|
8257
8248
|
DiffView = m.default;
|
|
8258
8249
|
});
|
|
8259
8250
|
}, "F6", $scope0_id);
|
|
@@ -8319,11 +8310,12 @@ var work_view_default = _template("F", (input) => {
|
|
|
8319
8310
|
const applyView = _resume((v) => {
|
|
8320
8311
|
if (v.view === "diff") {
|
|
8321
8312
|
if (v.scope !== void 0) reviewScope = v.scope ?? null;
|
|
8322
|
-
openDiff(v.pr, v.file);
|
|
8313
|
+
openDiff(v.pr ?? void 0, v.file ?? void 0);
|
|
8323
8314
|
} else if (v.view === "manage") openManage();
|
|
8324
8315
|
else if (v.view === "settings") openSettings();
|
|
8325
|
-
else if (v.view === "new")
|
|
8326
|
-
|
|
8316
|
+
else if (v.view === "new") {
|
|
8317
|
+
if (!input.creating) input.onNew?.();
|
|
8318
|
+
} else {
|
|
8327
8319
|
if (v.sessionId) {
|
|
8328
8320
|
tab = v.sessionId;
|
|
8329
8321
|
setWorkspaceTab(ws.id, v.sessionId);
|
|
@@ -8331,6 +8323,7 @@ var work_view_default = _template("F", (input) => {
|
|
|
8331
8323
|
view = "term";
|
|
8332
8324
|
}
|
|
8333
8325
|
}, "F14", $scope0_id);
|
|
8326
|
+
const navGate = { seen: -1 };
|
|
8334
8327
|
const createSession = _resume(async (agent, select) => {
|
|
8335
8328
|
spawning = true;
|
|
8336
8329
|
try {
|
|
@@ -8456,8 +8449,8 @@ var work_view_default = _template("F", (input) => {
|
|
|
8456
8449
|
11: _serialize_guard($scope0_reason, 12),
|
|
8457
8450
|
12: _serialize_guard($scope0_reason, 11),
|
|
8458
8451
|
13: _serialize_guard($scope0_reason, 13),
|
|
8459
|
-
14:
|
|
8460
|
-
15:
|
|
8452
|
+
14: $sg__input_agents,
|
|
8453
|
+
15: 1,
|
|
8461
8454
|
16: 1,
|
|
8462
8455
|
17: 1,
|
|
8463
8456
|
18: 1,
|
|
@@ -8502,7 +8495,14 @@ var work_view_default = _template("F", (input) => {
|
|
|
8502
8495
|
onReviewOpened: _resume(function(pr) {
|
|
8503
8496
|
exitCreate();
|
|
8504
8497
|
openDiff(pr);
|
|
8505
|
-
}, "F29", $scope0_id)
|
|
8498
|
+
}, "F29", $scope0_id),
|
|
8499
|
+
onReviewOther: _resume(function(wsId) {
|
|
8500
|
+
exitCreate();
|
|
8501
|
+
input.onNavigate?.({
|
|
8502
|
+
workspaceId: wsId,
|
|
8503
|
+
view: "diff"
|
|
8504
|
+
});
|
|
8505
|
+
}, "F30", $scope0_id)
|
|
8506
8506
|
});
|
|
8507
8507
|
_html(`</div><div${_attr_class("_b6")}>`);
|
|
8508
8508
|
_if(() => {
|
|
@@ -8511,8 +8511,8 @@ var work_view_default = _template("F", (input) => {
|
|
|
8511
8511
|
toast_default({
|
|
8512
8512
|
onDismiss: _resume(function() {
|
|
8513
8513
|
error = null;
|
|
8514
|
-
}, "
|
|
8515
|
-
content: _content_resume("
|
|
8514
|
+
}, "F31", $scope8_id),
|
|
8515
|
+
content: _content_resume("F49", () => {
|
|
8516
8516
|
_scope_reason();
|
|
8517
8517
|
const $scope9_id = _scope_id();
|
|
8518
8518
|
_html(`${_escape(error)}${_el_resume($scope9_id, "a")}`);
|
|
@@ -8527,7 +8527,7 @@ var work_view_default = _template("F", (input) => {
|
|
|
8527
8527
|
_if(() => {
|
|
8528
8528
|
if (diffMounted && DiffView) {
|
|
8529
8529
|
const $scope1_id = _scope_id();
|
|
8530
|
-
_html(`<div${_attr_class(
|
|
8530
|
+
_html(`<div${_attr_class("_b7")}${_attr_or("data-live", view === "diff", "")}${_attr("inert", view !== "diff")}>`);
|
|
8531
8531
|
_dynamic_tag($scope1_id, "b", DiffView, {
|
|
8532
8532
|
workspaceId: ws.id,
|
|
8533
8533
|
workspaceBranch: ws.branch,
|
|
@@ -8567,20 +8567,20 @@ var work_view_default = _template("F", (input) => {
|
|
|
8567
8567
|
_if(() => {
|
|
8568
8568
|
if (manageMounted) {
|
|
8569
8569
|
const $scope2_id = _scope_id();
|
|
8570
|
-
_html(`<div${_attr_class(
|
|
8570
|
+
_html(`<div${_attr_class("_b7")}${_attr_or("data-live", view === "manage", "")}${_attr("inert", view !== "manage")}>`);
|
|
8571
8571
|
_set_serialize_reason(_serialize_guard($scope0_reason, 16));
|
|
8572
8572
|
const $childScope2 = _peek_scope_id();
|
|
8573
8573
|
manage_workspace_default({
|
|
8574
8574
|
workspace: ws,
|
|
8575
8575
|
workspaceChange: _resume(function(next) {
|
|
8576
8576
|
input.onWorkspaceChange?.(next);
|
|
8577
|
-
}, "
|
|
8577
|
+
}, "F32", $scope2_id),
|
|
8578
8578
|
onExit: _resume(function() {
|
|
8579
8579
|
view = "term";
|
|
8580
|
-
}, "
|
|
8580
|
+
}, "F33", $scope2_id),
|
|
8581
8581
|
onDeleted: _resume(function() {
|
|
8582
8582
|
input.onWorkspaceDeleted?.(ws.id);
|
|
8583
|
-
}, "
|
|
8583
|
+
}, "F34", $scope2_id)
|
|
8584
8584
|
});
|
|
8585
8585
|
_html(`</div>${_el_resume($scope2_id, "a")}`);
|
|
8586
8586
|
writeScope($scope2_id, { b: _serialize_if($scope0_reason, 4) && _existing_scope($childScope2) });
|
|
@@ -8590,7 +8590,7 @@ var work_view_default = _template("F", (input) => {
|
|
|
8590
8590
|
_if(() => {
|
|
8591
8591
|
if (settingsMounted) {
|
|
8592
8592
|
const $scope3_id = _scope_id();
|
|
8593
|
-
_html(`<div${_attr_class(
|
|
8593
|
+
_html(`<div${_attr_class("_b7")}${_attr_or("data-live", view === "settings", "")}${_attr("inert", view !== "settings")}>`);
|
|
8594
8594
|
_set_serialize_reason({
|
|
8595
8595
|
0: _serialize_guard($scope0_reason, 1),
|
|
8596
8596
|
1: $sg__input_workspace,
|
|
@@ -8607,21 +8607,21 @@ var work_view_default = _template("F", (input) => {
|
|
|
8607
8607
|
instance: input.instance,
|
|
8608
8608
|
instanceChange: _resume(function(i) {
|
|
8609
8609
|
input.onInstanceChange?.(i);
|
|
8610
|
-
}, "
|
|
8610
|
+
}, "F35", $scope3_id),
|
|
8611
8611
|
backHref: `/w/${ws.id}`,
|
|
8612
8612
|
onExit: _resume(function() {
|
|
8613
8613
|
view = "term";
|
|
8614
|
-
}, "
|
|
8614
|
+
}, "F36", $scope3_id),
|
|
8615
8615
|
setup: input.setup,
|
|
8616
8616
|
setupChange: _resume(function(s) {
|
|
8617
8617
|
input.onSetupChange?.(s);
|
|
8618
|
-
}, "
|
|
8618
|
+
}, "F37", $scope3_id),
|
|
8619
8619
|
preferredChange: _resume(function(agent) {
|
|
8620
8620
|
input.onPreferredChange?.(agent);
|
|
8621
|
-
}, "
|
|
8621
|
+
}, "F38", $scope3_id),
|
|
8622
8622
|
agentsChange: _resume(function(agents) {
|
|
8623
8623
|
input.onAgentsChange?.(agents);
|
|
8624
|
-
}, "
|
|
8624
|
+
}, "F39", $scope3_id)
|
|
8625
8625
|
});
|
|
8626
8626
|
_html(`</div>${_el_resume($scope3_id, "a")}`);
|
|
8627
8627
|
writeScope($scope3_id, { b: _serialize_if($scope0_reason, 5) && _existing_scope($childScope3) });
|
|
@@ -8631,7 +8631,7 @@ var work_view_default = _template("F", (input) => {
|
|
|
8631
8631
|
_if(() => {
|
|
8632
8632
|
if (newMounted) {
|
|
8633
8633
|
const $scope4_id = _scope_id();
|
|
8634
|
-
_html(`<div${_attr_class(
|
|
8634
|
+
_html(`<div${_attr_class("_b7")}${_attr_or("data-live", view === "new", "")}${_attr("inert", view !== "new")}>`);
|
|
8635
8635
|
_set_serialize_reason({
|
|
8636
8636
|
0: 1,
|
|
8637
8637
|
1: $sg__input_allWorkspaces,
|
|
@@ -8643,28 +8643,28 @@ var work_view_default = _template("F", (input) => {
|
|
|
8643
8643
|
backHref: `/w/${ws.id}`,
|
|
8644
8644
|
onExit: _resume(function() {
|
|
8645
8645
|
exitCreate();
|
|
8646
|
-
}, "
|
|
8646
|
+
}, "F40", $scope4_id),
|
|
8647
8647
|
onCreate: _resume(function(ws) {
|
|
8648
8648
|
input.onCreated?.(ws);
|
|
8649
|
-
}, "
|
|
8649
|
+
}, "F41", $scope4_id),
|
|
8650
8650
|
onRestore: _resume(function(next) {
|
|
8651
8651
|
input.onWorkspaceChange?.(next);
|
|
8652
8652
|
input.onSelectWorkspace?.(next.id);
|
|
8653
8653
|
exitCreate();
|
|
8654
|
-
}, "
|
|
8654
|
+
}, "F42", $scope4_id)
|
|
8655
8655
|
});
|
|
8656
8656
|
_html(`</div>${_el_resume($scope4_id, "a")}`);
|
|
8657
8657
|
writeScope($scope4_id, { b: _existing_scope($childScope4) });
|
|
8658
8658
|
return 0;
|
|
8659
8659
|
}
|
|
8660
8660
|
}, $scope0_id, "i", 1, 1, 1, 0, 1);
|
|
8661
|
-
_html(`<div${_attr_class(["
|
|
8661
|
+
_html(`<div${_attr_class(["_b9", { ["_b8"]: view !== "term" }])}>`);
|
|
8662
8662
|
_if(() => {
|
|
8663
8663
|
if (shownSessions) {
|
|
8664
8664
|
const $scope5_id = _scope_id();
|
|
8665
|
-
_for_of(shownSessions, (s) => {
|
|
8665
|
+
_for_of(input.active ? shownSessions : shownSessions.filter((x) => x.id === curTab), (s) => {
|
|
8666
8666
|
const $scope6_id = _scope_id();
|
|
8667
|
-
_html(`<div${_attr_class(
|
|
8667
|
+
_html(`<div${_attr_class("_b_")}${_attr_or("data-live", s.id === curTab, "")}${_attr("inert", s.id !== curTab)}>`);
|
|
8668
8668
|
_set_serialize_reason({
|
|
8669
8669
|
0: 1,
|
|
8670
8670
|
1: 1,
|
|
@@ -8693,26 +8693,26 @@ var work_view_default = _template("F", (input) => {
|
|
|
8693
8693
|
onNewSession: _resume(function(agent) {
|
|
8694
8694
|
view = "term";
|
|
8695
8695
|
newSession(ws.id, agent);
|
|
8696
|
-
}, "
|
|
8696
|
+
}, "F43", $scope6_id),
|
|
8697
8697
|
onOpenTab: _resume(function(id) {
|
|
8698
8698
|
tab = id;
|
|
8699
8699
|
view = "term";
|
|
8700
|
-
}, "
|
|
8700
|
+
}, "F44", $scope6_id),
|
|
8701
8701
|
onCloseSession: _resume(function(id) {
|
|
8702
8702
|
closeSession(id);
|
|
8703
|
-
}, "
|
|
8703
|
+
}, "F45", $scope6_id),
|
|
8704
8704
|
onRenameSession: _resume(function(id, title) {
|
|
8705
8705
|
renameSession(id, title);
|
|
8706
|
-
}, "
|
|
8706
|
+
}, "F46", $scope6_id),
|
|
8707
8707
|
active: input.active && view === "term" && s.id === curTab,
|
|
8708
8708
|
mode: view,
|
|
8709
8709
|
onOpenNav: _resume(function() {
|
|
8710
8710
|
toggleNav();
|
|
8711
|
-
}, "
|
|
8711
|
+
}, "F47", $scope6_id),
|
|
8712
8712
|
reviewFindOpen,
|
|
8713
8713
|
onToggleReviewFind: _resume(function() {
|
|
8714
8714
|
toggleReviewFind();
|
|
8715
|
-
}, "
|
|
8715
|
+
}, "F48", $scope6_id)
|
|
8716
8716
|
});
|
|
8717
8717
|
_html(`</div>${_el_resume($scope6_id, "a")}`);
|
|
8718
8718
|
_subscribe($newSession2__closures, _subscribe($renameSession2__closures, _subscribe($closeSession2__closures, _subscribe($toggleReviewFind2__closures, _subscribe($curTab__closures, _subscribe($shownSessions__closures, _subscribe($si__input_workspace && $ws_name__closures, _subscribe($si__input_workspace && $ws_id__closures, _subscribe($reviewFindOpen__closures, _subscribe($view__closures, _subscribe($si__input_agents && $input_agents__closures, _subscribe($si__input_active && $input_active__closures, writeScope($scope6_id, {
|
|
@@ -8723,8 +8723,8 @@ var work_view_default = _template("F", (input) => {
|
|
|
8723
8723
|
_if(() => {
|
|
8724
8724
|
if (!shownSessions.length && view === "term") {
|
|
8725
8725
|
const $scope7_id = _scope_id();
|
|
8726
|
-
_html(`<div${_attr_class("
|
|
8727
|
-
_script($scope7_id, "
|
|
8726
|
+
_html(`<div${_attr_class("_bG")}><span>No sessions in this workspace.</span><button${_attr_class(["_o", "_p"])}${_attr("disabled", spawning)}>${spawning ? "Starting…" : `Start ${_escape(`${input.preferred || "shell"}`)}`}${_el_resume($scope7_id, "c")}</button>${_el_resume($scope7_id, "b")}</div>`);
|
|
8727
|
+
_script($scope7_id, "F50");
|
|
8728
8728
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
|
|
8729
8729
|
return 0;
|
|
8730
8730
|
}
|
|
@@ -8733,13 +8733,12 @@ var work_view_default = _template("F", (input) => {
|
|
|
8733
8733
|
return 0;
|
|
8734
8734
|
} else {
|
|
8735
8735
|
const $scope10_id = _scope_id();
|
|
8736
|
-
_html(`<p${_attr_class("
|
|
8736
|
+
_html(`<p${_attr_class("_bG")}>Loading sessions…</p>`);
|
|
8737
8737
|
writeScope($scope10_id, {});
|
|
8738
8738
|
return 1;
|
|
8739
8739
|
}
|
|
8740
8740
|
}, $scope0_id, "j", 1, 1, 1, "</div>");
|
|
8741
8741
|
_html(`</div></div>${_el_resume($scope0_id, "a")}`);
|
|
8742
|
-
_script($scope0_id, "F50");
|
|
8743
8742
|
_script($scope0_id, "F51");
|
|
8744
8743
|
_script($scope0_id, "F52");
|
|
8745
8744
|
_script($scope0_id, "F53");
|
|
@@ -8748,6 +8747,7 @@ var work_view_default = _template("F", (input) => {
|
|
|
8748
8747
|
_script($scope0_id, "F56");
|
|
8749
8748
|
_script($scope0_id, "F57");
|
|
8750
8749
|
_script($scope0_id, "F58");
|
|
8750
|
+
_script($scope0_id, "F59");
|
|
8751
8751
|
writeScope($scope0_id, {
|
|
8752
8752
|
n: input.initialView,
|
|
8753
8753
|
s: input.allStatus,
|
|
@@ -8756,78 +8756,85 @@ var work_view_default = _template("F", (input) => {
|
|
|
8756
8756
|
v: input.onExitCreate,
|
|
8757
8757
|
w: input.onNew,
|
|
8758
8758
|
x: input.onRouteChange,
|
|
8759
|
-
y: input.
|
|
8760
|
-
z: input.
|
|
8761
|
-
a0: input.
|
|
8762
|
-
|
|
8763
|
-
|
|
8764
|
-
a5: input.
|
|
8765
|
-
a6: input.
|
|
8766
|
-
a7: input.
|
|
8767
|
-
a8: input.
|
|
8768
|
-
a9: input.
|
|
8769
|
-
aa: input.
|
|
8770
|
-
ab: input.
|
|
8771
|
-
ac: input.
|
|
8772
|
-
ad:
|
|
8773
|
-
ae:
|
|
8774
|
-
af:
|
|
8775
|
-
|
|
8776
|
-
|
|
8777
|
-
|
|
8778
|
-
|
|
8779
|
-
|
|
8780
|
-
|
|
8781
|
-
|
|
8782
|
-
|
|
8783
|
-
|
|
8784
|
-
|
|
8785
|
-
|
|
8786
|
-
|
|
8787
|
-
|
|
8788
|
-
|
|
8789
|
-
|
|
8790
|
-
|
|
8791
|
-
|
|
8792
|
-
|
|
8793
|
-
|
|
8794
|
-
|
|
8795
|
-
|
|
8796
|
-
|
|
8797
|
-
|
|
8798
|
-
|
|
8799
|
-
|
|
8800
|
-
|
|
8801
|
-
|
|
8802
|
-
|
|
8803
|
-
|
|
8804
|
-
|
|
8805
|
-
|
|
8806
|
-
|
|
8807
|
-
|
|
8808
|
-
|
|
8809
|
-
|
|
8810
|
-
|
|
8811
|
-
|
|
8812
|
-
|
|
8813
|
-
|
|
8814
|
-
|
|
8759
|
+
y: input.nav,
|
|
8760
|
+
z: input.navNonce,
|
|
8761
|
+
a0: input.preferred,
|
|
8762
|
+
a1: input.onSelectWorkspace,
|
|
8763
|
+
a2: input.instance,
|
|
8764
|
+
a5: input.setup,
|
|
8765
|
+
a6: input.allWorkspaces,
|
|
8766
|
+
a7: input.agents,
|
|
8767
|
+
a8: input.onNavigate,
|
|
8768
|
+
a9: input.onWorkspaceChange,
|
|
8769
|
+
aa: input.onWorkspaceDeleted,
|
|
8770
|
+
ab: input.onInstanceChange,
|
|
8771
|
+
ac: input.onSetupChange,
|
|
8772
|
+
ad: input.onPreferredChange,
|
|
8773
|
+
ae: input.onAgentsChange,
|
|
8774
|
+
af: input.onCreated,
|
|
8775
|
+
ag: sessions,
|
|
8776
|
+
ah: tab,
|
|
8777
|
+
ai: view,
|
|
8778
|
+
ak: diffMounted,
|
|
8779
|
+
al: DiffView,
|
|
8780
|
+
an: loadDiffView,
|
|
8781
|
+
ap: manageMounted,
|
|
8782
|
+
aq: settingsMounted,
|
|
8783
|
+
ar: newMounted,
|
|
8784
|
+
at: reviewFindOpen,
|
|
8785
|
+
av: reviewFindTick,
|
|
8786
|
+
aw: reviewFindFocus,
|
|
8787
|
+
ay: focusPr,
|
|
8788
|
+
az: focusNonce,
|
|
8789
|
+
b0: reviewScope,
|
|
8790
|
+
b1: reviewFile,
|
|
8791
|
+
b2: focusFile,
|
|
8792
|
+
b3: focusFileNonce,
|
|
8793
|
+
b5: error,
|
|
8794
|
+
b6: spawning,
|
|
8795
|
+
b7: ws,
|
|
8796
|
+
b8: ws?.id,
|
|
8797
|
+
bc: ws?.status,
|
|
8798
|
+
bd: ws?.branch,
|
|
8799
|
+
be: ws?.name,
|
|
8800
|
+
bf: openDiff,
|
|
8801
|
+
bh: openManage,
|
|
8802
|
+
bj: openSettings,
|
|
8803
|
+
bm: toggleNav,
|
|
8804
|
+
bn: toggleDiff,
|
|
8805
|
+
bo: shownSessions,
|
|
8806
|
+
bq: shownSessions?.length,
|
|
8807
|
+
br: curTab,
|
|
8808
|
+
bu: createGate.open,
|
|
8809
|
+
bw: toggleReviewFind,
|
|
8810
|
+
bx: exitCreate,
|
|
8811
|
+
c1: applyView,
|
|
8812
|
+
c3: navGate.seen,
|
|
8813
|
+
c5: createSession,
|
|
8814
|
+
c8: loadMem.wanted,
|
|
8815
|
+
ca: loadMem.run,
|
|
8816
|
+
cb: loadBody,
|
|
8817
|
+
cd: loadSessions,
|
|
8818
|
+
cg: closeSession,
|
|
8819
|
+
ch: renameSession,
|
|
8820
|
+
ci: newSession,
|
|
8821
|
+
ck: onKey,
|
|
8815
8822
|
c: _existing_scope($childScope),
|
|
8816
|
-
|
|
8817
|
-
|
|
8818
|
-
|
|
8819
|
-
|
|
8820
|
-
|
|
8821
|
-
|
|
8822
|
-
|
|
8823
|
-
|
|
8824
|
-
|
|
8825
|
-
|
|
8826
|
-
|
|
8827
|
-
|
|
8828
|
-
|
|
8829
|
-
|
|
8830
|
-
|
|
8823
|
+
da: $error__closures,
|
|
8824
|
+
cm: $si__input_active && $input_active__closures,
|
|
8825
|
+
cs: $si__input_agents && $input_agents__closures,
|
|
8826
|
+
d0: $view__closures,
|
|
8827
|
+
d2: $reviewFindOpen__closures,
|
|
8828
|
+
dd: $si__input_workspace && $ws_id__closures,
|
|
8829
|
+
df: $si__input_workspace && $ws_name__closures,
|
|
8830
|
+
dg: $shownSessions__closures,
|
|
8831
|
+
di: $curTab__closures,
|
|
8832
|
+
dj: $toggleReviewFind2__closures,
|
|
8833
|
+
dl: $closeSession2__closures,
|
|
8834
|
+
dm: $renameSession2__closures,
|
|
8835
|
+
dn: $newSession2__closures,
|
|
8836
|
+
cn: $si__input_preferred && $input_preferred__closures,
|
|
8837
|
+
db: $spawning__closures
|
|
8831
8838
|
});
|
|
8832
8839
|
_resume_branch($scope0_id);
|
|
8833
8840
|
});
|
|
@@ -8855,9 +8862,12 @@ var app_shell_default = _template("c", (input) => {
|
|
|
8855
8862
|
const $settings__closures = /* @__PURE__ */ new Set();
|
|
8856
8863
|
const $selectedId__closures = /* @__PURE__ */ new Set();
|
|
8857
8864
|
const $creating__closures = /* @__PURE__ */ new Set();
|
|
8865
|
+
const $nav__closures = /* @__PURE__ */ new Set();
|
|
8866
|
+
const $navNonce__closures = /* @__PURE__ */ new Set();
|
|
8858
8867
|
const $setup2__closures = /* @__PURE__ */ new Set();
|
|
8859
8868
|
const $applyWorkspaces2__closures = /* @__PURE__ */ new Set();
|
|
8860
8869
|
const $openWorkspace2__closures = /* @__PURE__ */ new Set();
|
|
8870
|
+
const $go2__closures = /* @__PURE__ */ new Set();
|
|
8861
8871
|
const boot = input.boot;
|
|
8862
8872
|
const initial = input.initial || {
|
|
8863
8873
|
workspaceId: null,
|
|
@@ -8872,6 +8882,8 @@ var app_shell_default = _template("c", (input) => {
|
|
|
8872
8882
|
let openIds = selectedId ? [selectedId] : [];
|
|
8873
8883
|
let creating = initial.view === "new" && !!bootActive.length;
|
|
8874
8884
|
let route = null;
|
|
8885
|
+
let nav = null;
|
|
8886
|
+
let navNonce = 0;
|
|
8875
8887
|
const lastUrl = { route: null };
|
|
8876
8888
|
let setup = boot.setup;
|
|
8877
8889
|
const wantSetup = boot.setup == null;
|
|
@@ -8953,9 +8965,24 @@ var app_shell_default = _template("c", (input) => {
|
|
|
8953
8965
|
}
|
|
8954
8966
|
selectedId = id;
|
|
8955
8967
|
creating = false;
|
|
8968
|
+
nav = null;
|
|
8956
8969
|
if (!openIds.includes(id)) openIds = openIds.concat(id);
|
|
8957
8970
|
prefs.setLastWorkspace(id);
|
|
8958
8971
|
}, "c4", $scope0_id);
|
|
8972
|
+
const go = _resume((r) => {
|
|
8973
|
+
const id = r.workspaceId || selectedId;
|
|
8974
|
+
if (!id) {
|
|
8975
|
+
if (r.view === "settings") showSetup = true;
|
|
8976
|
+
else if (r.view === "new") showSetup = false;
|
|
8977
|
+
return;
|
|
8978
|
+
}
|
|
8979
|
+
openWorkspace(id);
|
|
8980
|
+
nav = {
|
|
8981
|
+
...r,
|
|
8982
|
+
workspaceId: id
|
|
8983
|
+
};
|
|
8984
|
+
navNonce++;
|
|
8985
|
+
}, "c5", $scope0_id);
|
|
8959
8986
|
_html(`<div${_attr_class("_d")}>`);
|
|
8960
8987
|
_if(() => {
|
|
8961
8988
|
if (error) {
|
|
@@ -8963,8 +8990,8 @@ var app_shell_default = _template("c", (input) => {
|
|
|
8963
8990
|
toast_default({
|
|
8964
8991
|
onDismiss: _resume(function() {
|
|
8965
8992
|
error = null;
|
|
8966
|
-
}, "
|
|
8967
|
-
content: _content_resume("
|
|
8993
|
+
}, "c6", $scope5_id),
|
|
8994
|
+
content: _content_resume("c25", () => {
|
|
8968
8995
|
_scope_reason();
|
|
8969
8996
|
const $scope6_id = _scope_id();
|
|
8970
8997
|
_html(`${_escape(error)}${_el_resume($scope6_id, "a")}`);
|
|
@@ -8993,29 +9020,29 @@ var app_shell_default = _template("c", (input) => {
|
|
|
8993
9020
|
...settings,
|
|
8994
9021
|
instance
|
|
8995
9022
|
};
|
|
8996
|
-
}, "
|
|
9023
|
+
}, "c7", $scope4_id),
|
|
8997
9024
|
setup,
|
|
8998
9025
|
setupChange: _resume(function(s) {
|
|
8999
9026
|
setup = s;
|
|
9000
9027
|
if (s.ready) showSetup = false;
|
|
9001
|
-
}, "
|
|
9028
|
+
}, "c8", $scope4_id),
|
|
9002
9029
|
preferredChange: _resume(function(agent) {
|
|
9003
9030
|
if (!settings) return;
|
|
9004
9031
|
settings = {
|
|
9005
9032
|
...settings,
|
|
9006
9033
|
preferredAgent: agent
|
|
9007
9034
|
};
|
|
9008
|
-
}, "
|
|
9035
|
+
}, "c9", $scope4_id),
|
|
9009
9036
|
agentsChange: _resume(function(agents) {
|
|
9010
9037
|
if (!settings) return;
|
|
9011
9038
|
settings = {
|
|
9012
9039
|
...settings,
|
|
9013
9040
|
agents
|
|
9014
9041
|
};
|
|
9015
|
-
}, "
|
|
9042
|
+
}, "c10", $scope4_id)
|
|
9016
9043
|
});
|
|
9017
9044
|
_html(`<div${_attr_class("_i")}><button type=button${_attr_class("_o")}>Later, go to workspaces</button>${_el_resume($scope4_id, "d")}</div></div>`);
|
|
9018
|
-
_script($scope4_id, "
|
|
9045
|
+
_script($scope4_id, "c26");
|
|
9019
9046
|
writeScope($scope4_id, { b: _existing_scope($childScope) });
|
|
9020
9047
|
return 0;
|
|
9021
9048
|
} else if (!selectedId) {
|
|
@@ -9028,12 +9055,12 @@ var app_shell_default = _template("c", (input) => {
|
|
|
9028
9055
|
if (!workspaces.some((w) => w.id === ws.id)) workspaces = [ws, ...workspaces];
|
|
9029
9056
|
creating = false;
|
|
9030
9057
|
openWorkspace(ws.id);
|
|
9031
|
-
}, "
|
|
9058
|
+
}, "c11", $scope3_id),
|
|
9032
9059
|
onRestore: _resume(function(next) {
|
|
9033
9060
|
applyWorkspaces(workspaces.map((w) => w.id === next.id ? next : w));
|
|
9034
9061
|
creating = false;
|
|
9035
9062
|
openWorkspace(next.id);
|
|
9036
|
-
}, "
|
|
9063
|
+
}, "c12", $scope3_id)
|
|
9037
9064
|
});
|
|
9038
9065
|
writeScope($scope3_id, { a: _existing_scope($childScope2) });
|
|
9039
9066
|
return 1;
|
|
@@ -9046,7 +9073,7 @@ var app_shell_default = _template("c", (input) => {
|
|
|
9046
9073
|
_if(() => {
|
|
9047
9074
|
if (ws) {
|
|
9048
9075
|
const $scope2_id = _scope_id();
|
|
9049
|
-
_html(`<div${_attr_class("_g")}>`);
|
|
9076
|
+
_html(`<div${_attr_class("_g")}${_attr("inert", ws.id !== selectedId)}>`);
|
|
9050
9077
|
_set_serialize_reason(262142);
|
|
9051
9078
|
const $childScope3 = _peek_scope_id();
|
|
9052
9079
|
work_view_default({
|
|
@@ -9064,11 +9091,11 @@ var app_shell_default = _template("c", (input) => {
|
|
|
9064
9091
|
...settings,
|
|
9065
9092
|
instance
|
|
9066
9093
|
};
|
|
9067
|
-
}, "
|
|
9094
|
+
}, "c13", $scope2_id),
|
|
9068
9095
|
setup,
|
|
9069
9096
|
onSetupChange: _resume(function(s) {
|
|
9070
9097
|
setup = s;
|
|
9071
|
-
}, "
|
|
9098
|
+
}, "c14", $scope2_id),
|
|
9072
9099
|
initialView: ws.id === initial.workspaceId || !initial.workspaceId ? initial.view : void 0,
|
|
9073
9100
|
initialTab: ws.id === initial.workspaceId ? initial.sessionId ?? null : null,
|
|
9074
9101
|
initialPr: ws.id === initial.workspaceId ? initial.pr ?? null : null,
|
|
@@ -9084,44 +9111,49 @@ var app_shell_default = _template("c", (input) => {
|
|
|
9084
9111
|
scope: r.scope,
|
|
9085
9112
|
file: r.file
|
|
9086
9113
|
};
|
|
9087
|
-
}, "
|
|
9114
|
+
}, "c15", $scope2_id),
|
|
9088
9115
|
onPreferredChange: _resume(function(agent) {
|
|
9089
9116
|
if (!settings) return;
|
|
9090
9117
|
settings = {
|
|
9091
9118
|
...settings,
|
|
9092
9119
|
preferredAgent: agent
|
|
9093
9120
|
};
|
|
9094
|
-
}, "
|
|
9121
|
+
}, "c16", $scope2_id),
|
|
9095
9122
|
onAgentsChange: _resume(function(agents) {
|
|
9096
9123
|
if (!settings) return;
|
|
9097
9124
|
settings = {
|
|
9098
9125
|
...settings,
|
|
9099
9126
|
agents
|
|
9100
9127
|
};
|
|
9101
|
-
}, "
|
|
9128
|
+
}, "c17", $scope2_id),
|
|
9129
|
+
nav: ws.id === selectedId ? nav : null,
|
|
9130
|
+
navNonce,
|
|
9131
|
+
onNavigate: _resume(function(r) {
|
|
9132
|
+
go(r);
|
|
9133
|
+
}, "c18", $scope2_id),
|
|
9102
9134
|
onSelectWorkspace: _resume(function(wsId) {
|
|
9103
9135
|
openWorkspace(wsId);
|
|
9104
|
-
}, "
|
|
9136
|
+
}, "c19", $scope2_id),
|
|
9105
9137
|
onWorkspaceChange: _resume(function(next) {
|
|
9106
9138
|
applyWorkspaces(workspaces.map((w) => w.id === next.id ? next : w));
|
|
9107
|
-
}, "
|
|
9139
|
+
}, "c20", $scope2_id),
|
|
9108
9140
|
onWorkspaceDeleted: _resume(function(id) {
|
|
9109
9141
|
applyWorkspaces(workspaces.filter((w) => w.id !== id));
|
|
9110
|
-
}, "
|
|
9142
|
+
}, "c21", $scope2_id),
|
|
9111
9143
|
onNew: _resume(function() {
|
|
9112
9144
|
creating = true;
|
|
9113
|
-
}, "
|
|
9145
|
+
}, "c22", $scope2_id),
|
|
9114
9146
|
onExitCreate: _resume(function() {
|
|
9115
9147
|
creating = false;
|
|
9116
|
-
}, "
|
|
9148
|
+
}, "c23", $scope2_id),
|
|
9117
9149
|
onCreated: _resume(function(ws) {
|
|
9118
9150
|
if (!workspaces.some((w) => w.id === ws.id)) workspaces = [ws, ...workspaces];
|
|
9119
9151
|
creating = false;
|
|
9120
9152
|
openWorkspace(ws.id);
|
|
9121
|
-
}, "
|
|
9153
|
+
}, "c24", $scope2_id)
|
|
9122
9154
|
});
|
|
9123
|
-
_html(
|
|
9124
|
-
_subscribe($openWorkspace2__closures, _subscribe($applyWorkspaces2__closures, _subscribe($setup2__closures, _subscribe($creating__closures, _subscribe($selectedId__closures, _subscribe($settings__closures, _subscribe($status__closures, _subscribe($workspaces__closures, _subscribe($si__input_initial && $initial_file__closures, _subscribe($si__input_initial && $initial_scope__closures, _subscribe($si__input_initial && $initial_pr__closures, _subscribe($si__input_initial && $initial_sessionId__closures, _subscribe($si__input_initial && $initial_view__closures, _subscribe($si__input_initial && $initial_workspaceId__closures, writeScope($scope2_id, { b: _existing_scope($childScope3) })))))))))))))));
|
|
9155
|
+
_html(`</div>${_el_resume($scope2_id, "a")}`);
|
|
9156
|
+
_subscribe($go2__closures, _subscribe($openWorkspace2__closures, _subscribe($applyWorkspaces2__closures, _subscribe($setup2__closures, _subscribe($navNonce__closures, _subscribe($nav__closures, _subscribe($creating__closures, _subscribe($selectedId__closures, _subscribe($settings__closures, _subscribe($status__closures, _subscribe($workspaces__closures, _subscribe($si__input_initial && $initial_file__closures, _subscribe($si__input_initial && $initial_scope__closures, _subscribe($si__input_initial && $initial_pr__closures, _subscribe($si__input_initial && $initial_sessionId__closures, _subscribe($si__input_initial && $initial_view__closures, _subscribe($si__input_initial && $initial_workspaceId__closures, writeScope($scope2_id, { b: _existing_scope($childScope3) }))))))))))))))))));
|
|
9125
9157
|
return 0;
|
|
9126
9158
|
}
|
|
9127
9159
|
}, $scope1_id, "a", 1, 1, 1, 0, 1);
|
|
@@ -9132,9 +9164,9 @@ var app_shell_default = _template("c", (input) => {
|
|
|
9132
9164
|
});
|
|
9133
9165
|
}, (id) => id, $scope0_id, "e", 1, 1, 1, "</div>");
|
|
9134
9166
|
_html(`</div>${_el_resume($scope0_id, "a")}`);
|
|
9135
|
-
_script($scope0_id, "c25");
|
|
9136
|
-
_script($scope0_id, "c26");
|
|
9137
9167
|
_script($scope0_id, "c27");
|
|
9168
|
+
_script($scope0_id, "c28");
|
|
9169
|
+
_script($scope0_id, "c29");
|
|
9138
9170
|
writeScope($scope0_id, {
|
|
9139
9171
|
n: boot?.prefs,
|
|
9140
9172
|
t: initial.workspaceId,
|
|
@@ -9153,33 +9185,39 @@ var app_shell_default = _template("c", (input) => {
|
|
|
9153
9185
|
a8: openIds,
|
|
9154
9186
|
ab: creating,
|
|
9155
9187
|
ac: route,
|
|
9156
|
-
|
|
9157
|
-
|
|
9158
|
-
|
|
9159
|
-
ai:
|
|
9160
|
-
|
|
9161
|
-
|
|
9162
|
-
am:
|
|
9163
|
-
an:
|
|
9164
|
-
|
|
9165
|
-
|
|
9166
|
-
|
|
9167
|
-
|
|
9168
|
-
|
|
9169
|
-
av:
|
|
9170
|
-
|
|
9171
|
-
|
|
9172
|
-
|
|
9173
|
-
|
|
9174
|
-
|
|
9175
|
-
|
|
9176
|
-
|
|
9177
|
-
|
|
9178
|
-
|
|
9179
|
-
|
|
9180
|
-
|
|
9181
|
-
b8: $
|
|
9182
|
-
b9: $
|
|
9188
|
+
ad: nav,
|
|
9189
|
+
ae: navNonce,
|
|
9190
|
+
ag: lastUrl.route,
|
|
9191
|
+
ai: setup,
|
|
9192
|
+
aj: wantSetup,
|
|
9193
|
+
ak: showSetup,
|
|
9194
|
+
am: error,
|
|
9195
|
+
an: applyWorkspaces,
|
|
9196
|
+
ao: load,
|
|
9197
|
+
ap: patchStatusSessions,
|
|
9198
|
+
ar: statusMem.fresh,
|
|
9199
|
+
as: statusMem.run,
|
|
9200
|
+
au: loadStatus,
|
|
9201
|
+
av: openWorkspace,
|
|
9202
|
+
ax: go,
|
|
9203
|
+
bd: $error__closures,
|
|
9204
|
+
az: $si__input_initial && $initial_workspaceId__closures,
|
|
9205
|
+
b0: $si__input_initial && $initial_view__closures,
|
|
9206
|
+
b1: $si__input_initial && $initial_sessionId__closures,
|
|
9207
|
+
b2: $si__input_initial && $initial_pr__closures,
|
|
9208
|
+
b3: $si__input_initial && $initial_scope__closures,
|
|
9209
|
+
b4: $si__input_initial && $initial_file__closures,
|
|
9210
|
+
b5: $workspaces__closures,
|
|
9211
|
+
b6: $status__closures,
|
|
9212
|
+
b7: $settings__closures,
|
|
9213
|
+
b8: $selectedId__closures,
|
|
9214
|
+
b9: $creating__closures,
|
|
9215
|
+
ba: $nav__closures,
|
|
9216
|
+
bb: $navNonce__closures,
|
|
9217
|
+
bc: $setup2__closures,
|
|
9218
|
+
be: $applyWorkspaces2__closures,
|
|
9219
|
+
bf: $openWorkspace2__closures,
|
|
9220
|
+
bg: $go2__closures
|
|
9183
9221
|
});
|
|
9184
9222
|
_resume_branch($scope0_id);
|
|
9185
9223
|
});
|
|
@@ -16737,4 +16775,4 @@ server.listen(port, () => {
|
|
|
16737
16775
|
//#endregion
|
|
16738
16776
|
export {};
|
|
16739
16777
|
|
|
16740
|
-
;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-
|
|
16778
|
+
;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-B9bx61fb.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B9bx61fb.css\"",">"],"defer":[2,"/assets/new-Cg2dy7JI.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-Cg2dy7JI.js\"","></script>",2,"modulepreload#/assets/__4GwJAR8.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/__4GwJAR8.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-B9bx61fb.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B9bx61fb.css\"",">"],"defer":[2,"/assets/w._-Cg2dy7JI.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-Cg2dy7JI.js\"","></script>",2,"modulepreload#/assets/__4GwJAR8.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/__4GwJAR8.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-B9bx61fb.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B9bx61fb.css\"",">"],"defer":[2,"/assets/w._-Cg-GdtFy.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-Cg-GdtFy.js\"","></script>",2,"modulepreload#/assets/__4GwJAR8.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/__4GwJAR8.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-B9bx61fb.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B9bx61fb.css\"",">"],"defer":[2,"/assets/w-Cg2dy7JI.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-Cg2dy7JI.js\"","></script>",2,"modulepreload#/assets/__4GwJAR8.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/__4GwJAR8.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-B9bx61fb.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B9bx61fb.css\"",">"],"defer":[2,"/assets/settings-Cg2dy7JI.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-Cg2dy7JI.js\"","></script>",2,"modulepreload#/assets/__4GwJAR8.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/__4GwJAR8.js\"",">"]}};
|