@dylanpiercey/work 0.0.130 → 0.0.132
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/work.mjs +31 -1
- package/dist/_B4-5M9y6.js +2 -0
- package/dist/{_fNIR_clX.js → _BBmEhpPH.js} +7 -6
- package/dist/_BTtOB0g5.js +2 -0
- package/dist/{_CiRMn9AO.js → _BmehTmY7.js} +35 -35
- package/dist/{_C3FtpsED.js → _CM_NBV_t.js} +2 -2
- package/dist/{_CowXjuPj.js → _CqM296sK.js} +73 -73
- package/dist/_DaZ1KKTE.js +2 -0
- package/dist/{_BXnpEUMe.js → _Dud_1oT_.js} +4 -4
- package/dist/index.mjs +861 -629
- package/dist/public/assets/{_CHS9mf8_.js → _1FTKiB6W.js} +1 -1
- package/dist/public/assets/_1FTKiB6W.js.br +0 -0
- package/dist/public/assets/{_9YMeHT-e.js → _3_5qYa6-.js} +1 -1
- package/dist/public/assets/_3_5qYa6-.js.br +0 -0
- package/dist/public/assets/{_DyMSk87d2.js → _8ss8-nn02.js} +1 -1
- package/dist/public/assets/_8ss8-nn02.js.br +0 -0
- package/dist/public/assets/{_CwojVICl.js → _9gyt8Ef4.js} +1 -1
- package/dist/public/assets/_9gyt8Ef4.js.br +0 -0
- package/dist/public/assets/{_DmBXdH0m.js → _A7sNq6fk.js} +1 -1
- package/dist/public/assets/_A7sNq6fk.js.br +0 -0
- package/dist/public/assets/{_Dk3H6lep.js → _B32SpLBe.js} +1 -1
- package/dist/public/assets/_B32SpLBe.js.br +0 -0
- package/dist/public/assets/{_DvkWj1SP2.js → _B7n3-kL52.js} +1 -1
- package/dist/public/assets/_B7n3-kL52.js.br +0 -0
- package/dist/public/assets/{_CFdilFkj2.js → _BG4VW3cl2.js} +1 -1
- package/dist/public/assets/{_BlCHICVF2.js → _BHC6iqql2.js} +1 -1
- package/dist/public/assets/_BHC6iqql2.js.br +0 -0
- package/dist/public/assets/{_DFEEfOqg.js → _BHFCLlXz.js} +1 -1
- package/dist/public/assets/_BHFCLlXz.js.br +0 -0
- package/dist/public/assets/{_CEz2ZOyA.js → _BJh8D3qW.js} +1 -1
- package/dist/public/assets/_BJh8D3qW.js.br +0 -0
- package/dist/public/assets/{_BeykFgGp.js → _BKQt0gIG.js} +1 -1
- package/dist/public/assets/_BKQt0gIG.js.br +0 -0
- package/dist/public/assets/{_D33cyBQR.js → _BOEjuShp.js} +1 -1
- package/dist/public/assets/_BOEjuShp.js.br +0 -0
- package/dist/public/assets/{_h0_uQKFV2.js → _BhANGmaO2.js} +1 -1
- package/dist/public/assets/_BhANGmaO2.js.br +0 -0
- package/dist/public/assets/{_Bk4O3G_O2.js → _Bj728eQC2.js} +1 -1
- package/dist/public/assets/_Bj728eQC2.js.br +0 -0
- package/dist/public/assets/{_C611KMu5.js → _Bkd2RrDB.js} +1 -1
- package/dist/public/assets/_Bkd2RrDB.js.br +0 -0
- package/dist/public/assets/{__ziruLxv2.js → _Bl1QpyKH2.js} +1 -1
- package/dist/public/assets/_Bl1QpyKH2.js.br +0 -0
- package/dist/public/assets/{_DuH37q4J.js → _Bnt57OEW.js} +1 -1
- package/dist/public/assets/_Bnt57OEW.js.br +0 -0
- package/dist/public/assets/{_C5h2J0F-2.js → _BoobytPS2.js} +1 -1
- package/dist/public/assets/_BoobytPS2.js.br +0 -0
- package/dist/public/assets/{_CJmyCr-s2.js → _BrEa8F3X2.js} +1 -1
- package/dist/public/assets/_BrEa8F3X2.js.br +0 -0
- package/dist/public/assets/{_wagVpOy02.js → _Bt1-SrE72.js} +1 -1
- package/dist/public/assets/_Bt1-SrE72.js.br +0 -0
- package/dist/public/assets/{_Bo0VOrXv2.js → _BueP-mK92.js} +1 -1
- package/dist/public/assets/_BueP-mK92.js.br +0 -0
- package/dist/public/assets/{_BTtTfKbh.js → _ByD0TAjn.js} +1 -1
- package/dist/public/assets/_ByD0TAjn.js.br +0 -0
- package/dist/public/assets/{_gmruYy_C.js → _ByyO2uv9.js} +1 -1
- package/dist/public/assets/_ByyO2uv9.js.br +0 -0
- package/dist/public/assets/{_CoR2IY5I.js → _C2-KTnpY.js} +1 -1
- package/dist/public/assets/_C2-KTnpY.js.br +0 -0
- package/dist/public/assets/{_SqmIgqwl.js → _C6SPTUZW.js} +1 -1
- package/dist/public/assets/_C6SPTUZW.js.br +0 -0
- package/dist/public/assets/{_DvevQVhK.js → _CCO2PugV.js} +1 -1
- package/dist/public/assets/_CCO2PugV.js.br +0 -0
- package/dist/public/assets/{_BFNV9fDC2.js → _CFPEMLUu2.js} +1 -1
- package/dist/public/assets/_CFPEMLUu2.js.br +0 -0
- package/dist/public/assets/{_CBiqBZDL2.js → _CG-OQNOZ2.js} +1 -1
- package/dist/public/assets/_CG-OQNOZ2.js.br +0 -0
- package/dist/public/assets/{_D06eTMkW.js → _CIyLcguf.js} +1 -1
- package/dist/public/assets/_CIyLcguf.js.br +0 -0
- package/dist/public/assets/{_DmqnSuVa.js → _CJG6qwI-.js} +1 -1
- package/dist/public/assets/_CJG6qwI-.js.br +0 -0
- package/dist/public/assets/{_BpentVHf.js → _CO8HGTig.js} +1 -1
- package/dist/public/assets/_CO8HGTig.js.br +0 -0
- package/dist/public/assets/{_CWIpDSbB2.js → _CWaNJy-J2.js} +1 -1
- package/dist/public/assets/_CWaNJy-J2.js.br +0 -0
- package/dist/public/assets/{_q-ZaUMrN.js → _CXPmC6NE.js} +1 -1
- package/dist/public/assets/_CXPmC6NE.js.br +0 -0
- package/dist/public/assets/{_Dp5VVe6i.js → _Cab51apU.js} +1 -1
- package/dist/public/assets/_Cab51apU.js.br +0 -0
- package/dist/public/assets/{_BcZBn188.js → _Cctx-7LR.js} +1 -1
- package/dist/public/assets/_Cctx-7LR.js.br +0 -0
- package/dist/public/assets/{_L8nNj1ck.js → _CfVhXgPK.js} +1 -1
- package/dist/public/assets/_CfVhXgPK.js.br +0 -0
- package/dist/public/assets/{_zBshawlw.js → _CkQN8W2W.js} +1 -1
- package/dist/public/assets/_CkQN8W2W.js.br +0 -0
- package/dist/public/assets/{_CGhVDur7.js → _Cqi0PhlU.js} +1 -1
- package/dist/public/assets/_Cqi0PhlU.js.br +0 -0
- package/dist/public/assets/{_CvWQW-8E.js → _Cqk9ouKm.js} +1 -1
- package/dist/public/assets/_Cqk9ouKm.js.br +0 -0
- package/dist/public/assets/{_Bca274-Q.js → _CwVPNFv7.js} +1 -1
- package/dist/public/assets/_CwVPNFv7.js.br +0 -0
- package/dist/public/assets/{_CTNoAHgp.js → _D1zBIhxz.js} +1 -1
- package/dist/public/assets/_D1zBIhxz.js.br +0 -0
- package/dist/public/assets/{_7bOHqdxO.js → _D3yMNP3F.js} +1 -1
- package/dist/public/assets/_D3yMNP3F.js.br +0 -0
- package/dist/public/assets/{_ll_lGA-X.js → _DBdqzrLe.js} +1 -1
- package/dist/public/assets/_DBdqzrLe.js.br +0 -0
- package/dist/public/assets/{_XHonkVEA.js → _DCNnOdO6.js} +1 -1
- package/dist/public/assets/_DCNnOdO6.js.br +0 -0
- package/dist/public/assets/{_CvILhJZQ.js → _DDWOAsrh.js} +1 -1
- package/dist/public/assets/_DDWOAsrh.js.br +0 -0
- package/dist/public/assets/{_D6BKPjx0.js → _DGfcjSes.js} +1 -1
- package/dist/public/assets/_DGfcjSes.js.br +0 -0
- package/dist/public/assets/{_BqOBppXN2.js → _DN8gjTIq2.js} +1 -1
- package/dist/public/assets/{_B1xp-8RX2.js → _DTkPzh302.js} +1 -1
- package/dist/public/assets/_DTkPzh302.js.br +0 -0
- package/dist/public/assets/{_DeSxv9J3.js → _DVjFp6nh.js} +1 -1
- package/dist/public/assets/_DVjFp6nh.js.br +0 -0
- package/dist/public/assets/{_ZusQguOq.js → _DZJj2xg0.js} +1 -1
- package/dist/public/assets/_DZJj2xg0.js.br +0 -0
- package/dist/public/assets/{_D8n6QzII.js → _DagM7b-M.js} +1 -1
- package/dist/public/assets/_DagM7b-M.js.br +0 -0
- package/dist/public/assets/{_bWhSjZnQ.js → _DbdkND1z.js} +1 -1
- package/dist/public/assets/_DbdkND1z.js.br +0 -0
- package/dist/public/assets/{_D1jbv1g5.js → _DbtHL3e2.js} +1 -1
- package/dist/public/assets/_DbtHL3e2.js.br +0 -0
- package/dist/public/assets/{_DZvJvsu32.js → _DfapBFzb2.js} +1 -1
- package/dist/public/assets/_DfapBFzb2.js.br +0 -0
- package/dist/public/assets/{_Bh9MI1by.js → _DjAhGM2z.js} +1 -1
- package/dist/public/assets/_DjAhGM2z.js.br +0 -0
- package/dist/public/assets/{_wrNucRqv.js → _Dk6VPGbU.js} +1 -1
- package/dist/public/assets/_Dk6VPGbU.js.br +0 -0
- package/dist/public/assets/{_DYPfDleI2.js → _DkL5BkQV2.js} +1 -1
- package/dist/public/assets/_DkL5BkQV2.js.br +0 -0
- package/dist/public/assets/{_DP5WtF2F2.js → _DkYgaF912.js} +1 -1
- package/dist/public/assets/_DkYgaF912.js.br +0 -0
- package/dist/public/assets/{_Br40XpBC2.js → _Dmp_xxSZ2.js} +1 -1
- package/dist/public/assets/_Dmp_xxSZ2.js.br +0 -0
- package/dist/public/assets/{_BJnUA9k5.js → _DpLz5REE.js} +1 -1
- package/dist/public/assets/_DpLz5REE.js.br +0 -0
- package/dist/public/assets/{_Bj9z2EOh.js → _DqTkzDr3.js} +1 -1
- package/dist/public/assets/_DqTkzDr3.js.br +0 -0
- package/dist/public/assets/{_C27Hkmsl.js → _Dx2lcZiQ.js} +6 -6
- package/dist/public/assets/_Dx2lcZiQ.js.br +0 -0
- package/dist/public/assets/{_CcKqKOMs2.js → _DzRSIURI2.js} +1 -1
- package/dist/public/assets/_DzRSIURI2.js.br +0 -0
- package/dist/public/assets/{_CFSKoBDu.js → _E4SJtZ0M.js} +1 -1
- package/dist/public/assets/_E4SJtZ0M.js.br +0 -0
- package/dist/public/assets/{_UAomfoF_.js → _Kv6TCblP.js} +1 -1
- package/dist/public/assets/_Kv6TCblP.js.br +0 -0
- package/dist/public/assets/{_7RUEEWT42.js → _LCJxjac-2.js} +1 -1
- package/dist/public/assets/_LCJxjac-2.js.br +0 -0
- package/dist/public/assets/{_BjfX9UqL.js → _Q9lzDqkU.js} +1 -1
- package/dist/public/assets/_Q9lzDqkU.js.br +0 -0
- package/dist/public/assets/{_D05yRb7F.js → _X7oeV97U.js} +1 -1
- package/dist/public/assets/{_CC0C1EPk.js → _YRgqCV0B.js} +1 -1
- package/dist/public/assets/_YRgqCV0B.js.br +0 -0
- package/dist/public/assets/{_xmOY7nKx2.js → _ZC6g-efq2.js} +1 -1
- package/dist/public/assets/_ZC6g-efq2.js.br +0 -0
- package/dist/public/assets/{_CrI5Ho6D.js → _c-AH25-U.js} +6 -6
- package/dist/public/assets/_c-AH25-U.js.br +0 -0
- package/dist/public/assets/{_C2KYdnet.js → _eO0_jWUk.js} +1 -1
- package/dist/public/assets/_eO0_jWUk.js.br +0 -0
- package/dist/public/assets/{_BZZ1YIH9.js → _gVOw7z_U.js} +1 -1
- package/dist/public/assets/_gVOw7z_U.js.br +0 -0
- package/dist/public/assets/{_DsnB1E5Q.js → _h_azL_wj.js} +1 -1
- package/dist/public/assets/_h_azL_wj.js.br +0 -0
- package/dist/public/assets/{_Bq9D3N8E2.js → _qXDfPJm92.js} +1 -1
- package/dist/public/assets/_qXDfPJm92.js.br +0 -0
- package/dist/public/assets/{app-page-BUHctmeP.css → app-page-CAc78zsq.css} +1 -1
- package/dist/public/assets/app-page-CAc78zsq.css.br +0 -0
- package/dist/public/assets/{diff-view-Ib_cSgB2.css → diff-view-CefOBxx9.css} +1 -1
- package/dist/public/assets/diff-view-CefOBxx9.css.br +0 -0
- package/dist/public/assets/new-3qSpO9bT.js +1 -0
- package/dist/public/assets/settings-3qSpO9bT.js +1 -0
- package/dist/public/assets/w-3qSpO9bT.js +1 -0
- package/dist/public/assets/w._-3qSpO9bT.js +1 -0
- package/dist/public/assets/w._-B0kRn52l.js +1 -0
- package/install.sh +11 -1
- package/package.json +1 -1
- package/dist/_8iHmnCS9.js +0 -2
- package/dist/_Btz7jvxW.js +0 -2
- package/dist/_p28CBvIu.js +0 -2
- package/dist/public/assets/_7RUEEWT42.js.br +0 -0
- package/dist/public/assets/_7bOHqdxO.js.br +0 -0
- package/dist/public/assets/_9YMeHT-e.js.br +0 -0
- package/dist/public/assets/_B1xp-8RX2.js.br +0 -0
- package/dist/public/assets/_BFNV9fDC2.js.br +0 -0
- package/dist/public/assets/_BJnUA9k5.js.br +0 -0
- package/dist/public/assets/_BTtTfKbh.js.br +0 -0
- package/dist/public/assets/_BZZ1YIH9.js.br +0 -0
- package/dist/public/assets/_BcZBn188.js.br +0 -0
- package/dist/public/assets/_Bca274-Q.js.br +0 -0
- package/dist/public/assets/_BeykFgGp.js.br +0 -0
- package/dist/public/assets/_Bh9MI1by.js.br +0 -0
- package/dist/public/assets/_Bj9z2EOh.js.br +0 -0
- package/dist/public/assets/_BjfX9UqL.js.br +0 -0
- package/dist/public/assets/_Bk4O3G_O2.js.br +0 -0
- package/dist/public/assets/_BlCHICVF2.js.br +0 -0
- package/dist/public/assets/_Bo0VOrXv2.js.br +0 -0
- package/dist/public/assets/_BpentVHf.js.br +0 -0
- package/dist/public/assets/_Bq9D3N8E2.js.br +0 -0
- package/dist/public/assets/_Br40XpBC2.js.br +0 -0
- package/dist/public/assets/_C27Hkmsl.js.br +0 -0
- package/dist/public/assets/_C2KYdnet.js.br +0 -0
- package/dist/public/assets/_C5h2J0F-2.js.br +0 -0
- package/dist/public/assets/_C611KMu5.js.br +0 -0
- package/dist/public/assets/_CBiqBZDL2.js.br +0 -0
- package/dist/public/assets/_CC0C1EPk.js.br +0 -0
- package/dist/public/assets/_CEz2ZOyA.js.br +0 -0
- package/dist/public/assets/_CFSKoBDu.js.br +0 -0
- package/dist/public/assets/_CGhVDur7.js.br +0 -0
- package/dist/public/assets/_CHS9mf8_.js.br +0 -0
- package/dist/public/assets/_CJmyCr-s2.js.br +0 -0
- package/dist/public/assets/_CTNoAHgp.js.br +0 -0
- package/dist/public/assets/_CWIpDSbB2.js.br +0 -0
- package/dist/public/assets/_CcKqKOMs2.js.br +0 -0
- package/dist/public/assets/_CoR2IY5I.js.br +0 -0
- package/dist/public/assets/_CrI5Ho6D.js.br +0 -0
- package/dist/public/assets/_CvILhJZQ.js.br +0 -0
- package/dist/public/assets/_CvWQW-8E.js.br +0 -0
- package/dist/public/assets/_CwojVICl.js.br +0 -0
- package/dist/public/assets/_D06eTMkW.js.br +0 -0
- package/dist/public/assets/_D1jbv1g5.js.br +0 -0
- package/dist/public/assets/_D33cyBQR.js.br +0 -0
- package/dist/public/assets/_D6BKPjx0.js.br +0 -0
- package/dist/public/assets/_D8n6QzII.js.br +0 -0
- package/dist/public/assets/_DFEEfOqg.js.br +0 -0
- package/dist/public/assets/_DP5WtF2F2.js.br +0 -0
- package/dist/public/assets/_DYPfDleI2.js.br +0 -0
- package/dist/public/assets/_DZvJvsu32.js.br +0 -0
- package/dist/public/assets/_DeSxv9J3.js.br +0 -0
- package/dist/public/assets/_Dk3H6lep.js.br +0 -0
- package/dist/public/assets/_DmBXdH0m.js.br +0 -0
- package/dist/public/assets/_DmqnSuVa.js.br +0 -0
- package/dist/public/assets/_Dp5VVe6i.js.br +0 -0
- package/dist/public/assets/_DsnB1E5Q.js.br +0 -0
- package/dist/public/assets/_DuH37q4J.js.br +0 -0
- package/dist/public/assets/_DvevQVhK.js.br +0 -0
- package/dist/public/assets/_DvkWj1SP2.js.br +0 -0
- package/dist/public/assets/_DyMSk87d2.js.br +0 -0
- package/dist/public/assets/_L8nNj1ck.js.br +0 -0
- package/dist/public/assets/_SqmIgqwl.js.br +0 -0
- package/dist/public/assets/_UAomfoF_.js.br +0 -0
- package/dist/public/assets/_XHonkVEA.js.br +0 -0
- package/dist/public/assets/_ZusQguOq.js.br +0 -0
- package/dist/public/assets/__ziruLxv2.js.br +0 -0
- package/dist/public/assets/_bWhSjZnQ.js.br +0 -0
- package/dist/public/assets/_gmruYy_C.js.br +0 -0
- package/dist/public/assets/_h0_uQKFV2.js.br +0 -0
- package/dist/public/assets/_ll_lGA-X.js.br +0 -0
- package/dist/public/assets/_q-ZaUMrN.js.br +0 -0
- package/dist/public/assets/_wagVpOy02.js.br +0 -0
- package/dist/public/assets/_wrNucRqv.js.br +0 -0
- package/dist/public/assets/_xmOY7nKx2.js.br +0 -0
- package/dist/public/assets/_zBshawlw.js.br +0 -0
- package/dist/public/assets/app-page-BUHctmeP.css.br +0 -0
- package/dist/public/assets/diff-view-Ib_cSgB2.css.br +0 -0
- package/dist/public/assets/new-D04e4VBb.js +0 -1
- package/dist/public/assets/settings-D04e4VBb.js +0 -1
- package/dist/public/assets/w-D04e4VBb.js +0 -1
- package/dist/public/assets/w._-D04e4VBb.js +0 -1
- package/dist/public/assets/w._-DOaRv41v.js +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./_BMI-E3GI.js";
|
|
2
|
-
import { $ as 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, V as publish, X as preferredAgent, Y as getSetting, Z as setDisabledAgents, _ as tmuxName, _t as git, a as ensureTmuxServer, at as which, b as readHookPayload, bt as config, ct as agentById, d as newSessionArgs, dt as all, et as discoverAgents, ft as db, g as sessionStates, h as sendToSession, ht as TMUX_SOCKET, it as setupPath, j as setSessionViewers, k as setAgentPhase, l as listSessions, lt as agentLabel$1, m as renameSession, mt as workspacePath, n as clearTmuxStarted, o as getSession, pt as get, q as disabledAgents, r as createSession, rt as miseVersions, s as killSession, st as TOOLS, t as cleanEnv, tt as doctor, u as markTmuxStarted, ut as toolById, v as tmuxWasStarted, w as agentFamily, x as reportsWorking, y as AGENTS, yt as tmux, z as pushPublicKey } from "./
|
|
3
|
-
import { B as withLock, C as revParse, D as ensureAllPushHooks, E as workspaceBranches, F as repoBranches, G as ensureGitCredentials, H as addHost, I as repoCatalog, K as forgetToken, L as repoDefaultBranch, M as headOid, N as remoteHasHeads, O as hookToken, P as pendingSsoOrgs, Q as ownsBranch, S as resumePendingWorkspaces, T as withProgressOp, U as cloneUrl, V as DEFAULT_HOST, W as configuredHosts, X as removeHost, Z as splitRepo, _ as progress$1, b as queueMaterialize, c as setAutoPush, d as createWorkspace, f as deleteWorkspace, g as otherWorkspaceBranches, h as listWorkspaces, i as noteRemoteRef, j as workspaceProcs, k as killWorkspaceProc, l as addRepo$1, m as insertPendingWorkspace, p as getWorkspace, r as noteLocalRefs, s as pushWorkspaceRepo, t as autoPushEnabled, u as barePath, v as progressSince, w as setWorkspaceStatus, x as removeRepo, y as pruneLaneBranch, z as swr } from "./
|
|
4
|
-
import { a as statusForAllFresh, c as refreshPrsBatch, i as statusForAll, l as workspacePrs, n as pokeStatusWatch, o as dismissPr, r as startStatusWatch, s as notePushActivity, t as activeRepoTargets } from "./
|
|
5
|
-
import { $ as _attr_style, A as parseRepoUrl, At as _subscribe, B as metaTrunc, C as setWorkspaceTab, Ct as _scope_reason, D as toast_default, Dt as _serialize_guard, E as workspaceTab, Et as _sep, F as btnSm, Ft as attrTag, G as _attr_class, H as tone, It as forOf, J as _attr_input_value, L as iconBtnRow, Lt as withPageAssets, M as repoWebUrl, Mt as _to_text, N as setPrimaryHost, Nt as _trailers, O as icon_xmark_default, Ot as _serialize_if, P as btnLg, Pt as _var, Q as _attr_select_value, R as iconBtnXs, Rt as writeScope, S as setTheme, St as _scope_id, T as theme, Tt as _script, U as $global, V as phase, W as _attr, X as _attr_option_value, Y as _attr_nonce, Z as _attr_or, _t as _id, at as _dynamic_tag, bt as _resume, c as icon_arrow_up_default, ct as _el_resume, d as icon_refresh_default, dt as _existing_scope, et as _attr_textarea_value, f as iconBtn$2, ft as _flush_head, gt as _html, ht as _hoist_read_error, i as icon_sidebar_default, it as _content_resume, j as repoLabel, jt as _template, k as icon_base_default, kt as _set_serialize_reason, l as icon_chevron_right_default, lt as _escape, m as sectionCount$1, mt as _hoist, n as findIconBtn, nt as _attrs_partial, o as rankRepos, p as row, pt as _for_of, q as _attr_input_checked, r as findInput, rt as _content, s as icon_search_default, st as _el_read_error, t as icon_arrow_down_default, tt as _attrs, u as icon_back_default, ut as _escape_script, vt as _if, w as sideNavOpen, wt as _scope_with_id, xt as _resume_branch, y as ignoredSsoOrgs, yt as _peek_scope_id, z as inputLg } from "./
|
|
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, V as publish, X as preferredAgent, Y as getSetting, Z as setDisabledAgents, _ as tmuxName, _t as git, a as ensureTmuxServer, at as which, b as readHookPayload, bt as config, ct as agentById, d as newSessionArgs, dt as all, et as discoverAgents, ft as db, g as sessionStates, h as sendToSession, ht as TMUX_SOCKET, it as setupPath, j as setSessionViewers, k as setAgentPhase, l as listSessions, lt as agentLabel$1, m as renameSession, mt as workspacePath, n as clearTmuxStarted, o as getSession, pt as get, q as disabledAgents, r as createSession, rt as miseVersions, s as killSession, st as TOOLS, t as cleanEnv, tt as doctor, u as markTmuxStarted, ut as toolById, v as tmuxWasStarted, w as agentFamily, x as reportsWorking, y as AGENTS, yt as tmux, z as pushPublicKey } from "./_BBmEhpPH.js";
|
|
3
|
+
import { B as withLock, C as revParse, D as ensureAllPushHooks, E as workspaceBranches, F as repoBranches, G as ensureGitCredentials, H as addHost, I as repoCatalog, K as forgetToken, L as repoDefaultBranch, M as headOid, N as remoteHasHeads, O as hookToken, P as pendingSsoOrgs, Q as ownsBranch, S as resumePendingWorkspaces, T as withProgressOp, U as cloneUrl, V as DEFAULT_HOST, W as configuredHosts, X as removeHost, Z as splitRepo, _ as progress$1, b as queueMaterialize, c as setAutoPush, d as createWorkspace, f as deleteWorkspace, g as otherWorkspaceBranches, h as listWorkspaces, i as noteRemoteRef, j as workspaceProcs, k as killWorkspaceProc, l as addRepo$1, m as insertPendingWorkspace, p as getWorkspace, r as noteLocalRefs, s as pushWorkspaceRepo, t as autoPushEnabled, u as barePath, v as progressSince, w as setWorkspaceStatus, x as removeRepo, y as pruneLaneBranch, z as swr } from "./_Dud_1oT_.js";
|
|
4
|
+
import { a as statusForAllFresh, c as refreshPrsBatch, i as statusForAll, l as workspacePrs, n as pokeStatusWatch, o as dismissPr, r as startStatusWatch, s as notePushActivity, t as activeRepoTargets } from "./_CM_NBV_t.js";
|
|
5
|
+
import { $ as _attr_style, A as parseRepoUrl, At as _subscribe, B as metaTrunc, C as setWorkspaceTab, Ct as _scope_reason, D as toast_default, Dt as _serialize_guard, E as workspaceTab, Et as _sep, F as btnSm, Ft as attrTag, G as _attr_class, H as tone, It as forOf, J as _attr_input_value, L as iconBtnRow, Lt as withPageAssets, M as repoWebUrl, Mt as _to_text, N as setPrimaryHost, Nt as _trailers, O as icon_xmark_default, Ot as _serialize_if, P as btnLg, Pt as _var, Q as _attr_select_value, R as iconBtnXs, Rt as writeScope, S as setTheme, St as _scope_id, T as theme, Tt as _script, U as $global, V as phase, W as _attr, X as _attr_option_value, Y as _attr_nonce, Z as _attr_or, _t as _id, at as _dynamic_tag, bt as _resume, c as icon_arrow_up_default, ct as _el_resume, d as icon_refresh_default, dt as _existing_scope, et as _attr_textarea_value, f as iconBtn$2, ft as _flush_head, gt as _html, ht as _hoist_read_error, i as icon_sidebar_default, it as _content_resume, j as repoLabel, jt as _template, k as icon_base_default, kt as _set_serialize_reason, l as icon_chevron_right_default, lt as _escape, m as sectionCount$1, mt as _hoist, n as findIconBtn, nt as _attrs_partial, o as rankRepos, p as row, pt as _for_of, q as _attr_input_checked, r as findInput, rt as _content, s as icon_search_default, st as _el_read_error, t as icon_arrow_down_default, tt as _attrs, u as icon_back_default, ut as _escape_script, vt as _if, w as sideNavOpen, wt as _scope_with_id, xt as _resume_branch, y as ignoredSsoOrgs, yt as _peek_scope_id, z as inputLg } from "./_BmehTmY7.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import { createServer } from "node:http";
|
|
8
8
|
import path from "node:path";
|
|
@@ -1003,7 +1003,7 @@ function catchFn(reject) {
|
|
|
1003
1003
|
function finallyFn(resolve) {
|
|
1004
1004
|
return (this[kPromise] || (this[kPromise] = this[kReadFn]())).finally(resolve);
|
|
1005
1005
|
}
|
|
1006
|
-
var encode = encodeURIComponent;
|
|
1006
|
+
var encode$1 = encodeURIComponent;
|
|
1007
1007
|
var pathParts = /* @__PURE__ */ new Map();
|
|
1008
1008
|
function parsePathParts(path) {
|
|
1009
1009
|
let parts = pathParts.get(path);
|
|
@@ -1034,7 +1034,7 @@ function href_path(strings, ...params) {
|
|
|
1034
1034
|
if (!result || Array.isArray(result)) result = strings[i++];
|
|
1035
1035
|
while (i < strings.length) {
|
|
1036
1036
|
const param = params[j++];
|
|
1037
|
-
result += (Array.isArray(param) ? param.map(encode).join("/") : encode(param)) + strings[i++];
|
|
1037
|
+
result += (Array.isArray(param) ? param.map(encode$1).join("/") : encode$1(param)) + strings[i++];
|
|
1038
1038
|
}
|
|
1039
1039
|
return result;
|
|
1040
1040
|
}
|
|
@@ -1049,11 +1049,11 @@ function joinHref(path, { search, hash }) {
|
|
|
1049
1049
|
for (const key in search) {
|
|
1050
1050
|
const value = search[key];
|
|
1051
1051
|
if (value !== void 0) {
|
|
1052
|
-
path += `${sep}${encode(key)}=${encode(value)}`;
|
|
1052
|
+
path += `${sep}${encode$1(key)}=${encode$1(value)}`;
|
|
1053
1053
|
sep = "&";
|
|
1054
1054
|
}
|
|
1055
1055
|
}
|
|
1056
|
-
return hash || hash === 0 ? `${path}#${encode(hash)}` : path;
|
|
1056
|
+
return hash || hash === 0 ? `${path}#${encode$1(hash)}` : path;
|
|
1057
1057
|
}
|
|
1058
1058
|
new Set(httpVerbs.map((v) => v.toUpperCase()));
|
|
1059
1059
|
var NotHandled = /* @__PURE__ */ Symbol.for("Run.Response.NotHandled");
|
|
@@ -1822,7 +1822,7 @@ async function runSetupAction(id, action, opts = {}) {
|
|
|
1822
1822
|
}
|
|
1823
1823
|
//#endregion
|
|
1824
1824
|
//#region __marko-run__index.js
|
|
1825
|
-
var getHandler$
|
|
1825
|
+
var getHandler$26 = normalizeHandler(Run.GET(async (ctx) => {
|
|
1826
1826
|
const active = listWorkspaces().filter((ws) => ws.status === "active");
|
|
1827
1827
|
const linked = ctx.url.searchParams.get("ws");
|
|
1828
1828
|
if (linked && active.some((ws) => ws.id === linked)) {
|
|
@@ -1839,10 +1839,10 @@ var getHandler$25 = normalizeHandler(Run.GET(async (ctx) => {
|
|
|
1839
1839
|
}
|
|
1840
1840
|
return ctx.redirect("/new", 302);
|
|
1841
1841
|
}), "GET");
|
|
1842
|
-
var get1_options = normalizeOptions("GET", getHandler$
|
|
1842
|
+
var get1_options = normalizeOptions("GET", getHandler$26);
|
|
1843
1843
|
var head1_options = {};
|
|
1844
1844
|
function get1(context) {
|
|
1845
|
-
return call(getHandler$
|
|
1845
|
+
return call(getHandler$26, noContent, context);
|
|
1846
1846
|
}
|
|
1847
1847
|
function head1(context) {
|
|
1848
1848
|
return stripResponseBody(get1(context));
|
|
@@ -1979,7 +1979,7 @@ var _middleware_default = Run.ALL((ctx, next) => {
|
|
|
1979
1979
|
var mware3 = normalizeHandler(_middleware_default$3);
|
|
1980
1980
|
var mware7 = normalizeHandler(_middleware_default$2);
|
|
1981
1981
|
var mware11 = normalizeHandler(_middleware_default$1);
|
|
1982
|
-
var
|
|
1982
|
+
var mware44 = normalizeHandler(_middleware_default);
|
|
1983
1983
|
//#endregion
|
|
1984
1984
|
//#region \0marko-link-assets.mjs
|
|
1985
1985
|
var base = "/";
|
|
@@ -2030,7 +2030,9 @@ var _layout_default = _template("a", (input) => {
|
|
|
2030
2030
|
const accent = inst?.accent || "";
|
|
2031
2031
|
const themePref = data?.prefs?.theme;
|
|
2032
2032
|
const theme = themePref === "light" || themePref === "dark" ? themePref : "system";
|
|
2033
|
-
const
|
|
2033
|
+
const tint = accent.slice(1);
|
|
2034
|
+
const iconHref = `/api/instance/icon${tint && `?v=${tint}`}`;
|
|
2035
|
+
const touchIconHref = `/api/instance/icon-png?art=apple${tint && `&v=${tint}`}`;
|
|
2034
2036
|
_html(`<!doctype html><html lang=en${theme === "system" ? "" : _attr("data-theme", theme)}${accent ? _attr_style(`--accent:${accent}`) : ""}><head><meta charset=utf-8><meta name=viewport content="width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content">`);
|
|
2035
2037
|
if (theme === "light") {
|
|
2036
2038
|
_scope_id();
|
|
@@ -2042,8 +2044,8 @@ var _layout_default = _template("a", (input) => {
|
|
|
2042
2044
|
_scope_id();
|
|
2043
2045
|
_html(`<meta name=theme-color media="(prefers-color-scheme: light)"${_attr_or("content", accent, " content=#fafafa")}><meta name=theme-color media="(prefers-color-scheme: dark)"${_attr_or("content", accent, " content=#131316")}>`);
|
|
2044
2046
|
}
|
|
2045
|
-
_html(`<link rel=manifest href=/api/instance/manifest crossorigin=use-credentials><link rel=icon${_attr("href", iconHref)} type=image/svg+xml><link rel=apple-touch-icon
|
|
2046
|
-
_dynamic_tag($scope0_id, "
|
|
2047
|
+
_html(`<link rel=manifest href=/api/instance/manifest crossorigin=use-credentials><link rel=icon${_attr("href", iconHref)} type=image/svg+xml><link rel=apple-touch-icon${_attr("href", touchIconHref)}><meta name=apple-mobile-web-app-title${_attr("content", name)}><title>${_escape(name)}</title>${_flush_head()}</head><body>`);
|
|
2048
|
+
_dynamic_tag($scope0_id, "g", input.content, {}, 0, 0, _serialize_guard($scope0_reason, 0));
|
|
2047
2049
|
_trailers("</body></html>");
|
|
2048
2050
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, {});
|
|
2049
2051
|
}, 1);
|
|
@@ -2323,18 +2325,18 @@ function applyInstance(inst) {
|
|
|
2323
2325
|
}
|
|
2324
2326
|
//#endregion
|
|
2325
2327
|
//#region src/tags/settings-page.css.ts
|
|
2326
|
-
var content$2 = "_cc
|
|
2328
|
+
var content$2 = "_cc _bc _bd";
|
|
2327
2329
|
var agentGrid = "_ci _bA";
|
|
2328
2330
|
var toolGrid = "_cs _bA";
|
|
2329
|
-
var themeSeg = "_cH
|
|
2330
|
-
var swatches = "_cP
|
|
2331
|
+
var themeSeg = "_cH _0";
|
|
2332
|
+
var swatches = "_cP _0";
|
|
2331
2333
|
var checkList = "_de _bA";
|
|
2332
2334
|
//#endregion
|
|
2333
2335
|
//#region src/tags/page-head.marko
|
|
2334
2336
|
var page_head_default = _template("t", (input) => {
|
|
2335
2337
|
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);
|
|
2336
2338
|
const $scope0_id = _scope_id();
|
|
2337
|
-
_html(`<header${_attr_class("
|
|
2339
|
+
_html(`<header${_attr_class("_be")}>`);
|
|
2338
2340
|
_if(() => {
|
|
2339
2341
|
if (input.backHref) {
|
|
2340
2342
|
const $scope1_id = _scope_id();
|
|
@@ -2353,11 +2355,11 @@ var page_head_default = _template("t", (input) => {
|
|
|
2353
2355
|
return 1;
|
|
2354
2356
|
}
|
|
2355
2357
|
}, $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);
|
|
2356
|
-
_html(`<div${_attr_class("
|
|
2358
|
+
_html(`<div${_attr_class("_bg")}><h1${_attr("id", input.titleId)}${_attr_class("_bf")}>${_escape(input.title)}${_el_resume($scope0_id, "e", _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
|
|
2357
2359
|
_if(() => {
|
|
2358
2360
|
if (input.meta) {
|
|
2359
2361
|
const $scope3_id = _scope_id();
|
|
2360
|
-
_html(`<p${_attr_class("
|
|
2362
|
+
_html(`<p${_attr_class("_bh")}>`);
|
|
2361
2363
|
_dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
|
|
2362
2364
|
_html("</p>");
|
|
2363
2365
|
$si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -2368,7 +2370,7 @@ var page_head_default = _template("t", (input) => {
|
|
|
2368
2370
|
_if(() => {
|
|
2369
2371
|
if (input.actions) {
|
|
2370
2372
|
const $scope4_id = _scope_id();
|
|
2371
|
-
_html(`<div${_attr_class("
|
|
2373
|
+
_html(`<div${_attr_class("_bi")}>`);
|
|
2372
2374
|
_dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
2373
2375
|
_html("</div>");
|
|
2374
2376
|
$si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -2396,7 +2398,7 @@ var icon_agent_default = _template("I", (input) => {
|
|
|
2396
2398
|
_if(() => {
|
|
2397
2399
|
if (d) {
|
|
2398
2400
|
const $scope1_id = _scope_id();
|
|
2399
|
-
_html(`<svg${_attr_class(["
|
|
2401
|
+
_html(`<svg${_attr_class(["_e", input.class])}${_attr("width", size)}${_attr("height", size)} viewBox="0 0 24 24" fill=currentColor fill-rule=evenodd aria-hidden=true><path${_attr("d", d)}></path>${_el_resume($scope1_id, "b", $sg__input_agent)}`);
|
|
2400
2402
|
_if(() => {
|
|
2401
2403
|
if (badge) {
|
|
2402
2404
|
const $scope3_id = _scope_id();
|
|
@@ -2436,7 +2438,7 @@ var icon_agent_default = _template("I", (input) => {
|
|
|
2436
2438
|
n: $badge__closures
|
|
2437
2439
|
});
|
|
2438
2440
|
});
|
|
2439
|
-
var usageNote = "
|
|
2441
|
+
var usageNote = "_fy _L";
|
|
2440
2442
|
//#endregion
|
|
2441
2443
|
//#region src/tags/icons/icon-warning.marko
|
|
2442
2444
|
var icon_warning_default = _template("mb", (input) => {
|
|
@@ -2466,11 +2468,11 @@ var usage_meters_default = _template("F", (input) => {
|
|
|
2466
2468
|
const $scope0_reason = _scope_reason(), $sg__input_agent__OR__input_hideName = _serialize_guard($scope0_reason, 0), $sg__input_agent = _serialize_guard($scope0_reason, 1), $si__input_agent = _serialize_if($scope0_reason, 1), $sg__input_hideName = _serialize_guard($scope0_reason, 2), $si__input_agent__OR__input_hideName = _serialize_if($scope0_reason, 0);
|
|
2467
2469
|
const $scope0_id = _scope_id();
|
|
2468
2470
|
const agent = input.agent;
|
|
2469
|
-
_html(`<div${_attr_class(["
|
|
2471
|
+
_html(`<div${_attr_class(["_fs", { ["_ft"]: input.hideName }])}><div${_attr_class("_fu")}>`);
|
|
2470
2472
|
_if(() => {
|
|
2471
2473
|
if (!input.hideName) {
|
|
2472
2474
|
const $scope1_id = _scope_id();
|
|
2473
|
-
_html(`<strong${_attr_class("
|
|
2475
|
+
_html(`<strong${_attr_class("_fN")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
|
|
2474
2476
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
2475
2477
|
return 0;
|
|
2476
2478
|
}
|
|
@@ -2478,7 +2480,7 @@ var usage_meters_default = _template("F", (input) => {
|
|
|
2478
2480
|
_if(() => {
|
|
2479
2481
|
if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
|
|
2480
2482
|
const $scope2_id = _scope_id();
|
|
2481
|
-
_html(`<span${_attr_class("
|
|
2483
|
+
_html(`<span${_attr_class("_fv")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
|
|
2482
2484
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
2483
2485
|
return 0;
|
|
2484
2486
|
}
|
|
@@ -2486,21 +2488,21 @@ var usage_meters_default = _template("F", (input) => {
|
|
|
2486
2488
|
_if(() => {
|
|
2487
2489
|
if (agent.stale_seconds != null) {
|
|
2488
2490
|
const $scope3_id = _scope_id();
|
|
2489
|
-
_html(`<span${_attr_class("
|
|
2491
|
+
_html(`<span${_attr_class("_fw")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
|
|
2490
2492
|
icon_warning_default({ size: 12 });
|
|
2491
2493
|
_html(` ${_sep($sg__input_agent)}${_escape(duration(agent.stale_seconds * 1e3))}${_el_resume($scope3_id, "c", $sg__input_agent)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
|
|
2492
2494
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
2493
2495
|
return 0;
|
|
2494
2496
|
}
|
|
2495
2497
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
2496
|
-
_html(`</div><div${_attr_class(["
|
|
2498
|
+
_html(`</div><div${_attr_class(["_fx", { ["_fO"]: agent.stale_seconds != null }])}>`);
|
|
2497
2499
|
_for_of(agent.windows || [], (win) => {
|
|
2498
2500
|
const $scope4_id = _scope_id();
|
|
2499
2501
|
const pct = pctText(win.used_percent);
|
|
2500
2502
|
const label = resetLabel(win.resets_at, agent.stale_seconds != null);
|
|
2501
|
-
const fillClass = win.used_percent >= 90 ? "
|
|
2502
|
-
const pctClass = win.used_percent >= 90 ? "
|
|
2503
|
-
_html(`<div${_attr_class("
|
|
2503
|
+
const fillClass = win.used_percent >= 90 ? "_fG" : win.used_percent >= 70 ? "_fF" : win.used_percent >= 40 ? "_fE" : "_fD";
|
|
2504
|
+
const pctClass = win.used_percent >= 90 ? "_fL" : win.used_percent >= 70 ? "_fK" : win.used_percent >= 40 ? "_fJ" : "_fI";
|
|
2505
|
+
_html(`<div${_attr_class("_fz")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_fA")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_fB")}><span${_attr_class(["_fC", fillClass])}${_attr_style(`width:${Math.min(100, Math.max(2, win.used_percent))}%`)}></span>${_el_resume($scope4_id, "e", $sg__input_agent)}</span><span${_attr_class(["_fH", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_fM")}>`);
|
|
2504
2506
|
_if(() => {
|
|
2505
2507
|
if (label) {
|
|
2506
2508
|
const $scope6_id = _scope_id();
|
|
@@ -2532,7 +2534,7 @@ var usage_meters_default = _template("F", (input) => {
|
|
|
2532
2534
|
q: $si__input_agent && agent?.note
|
|
2533
2535
|
});
|
|
2534
2536
|
});
|
|
2535
|
-
var orgSkip = "
|
|
2537
|
+
var orgSkip = "_fS _V _d";
|
|
2536
2538
|
//#endregion
|
|
2537
2539
|
//#region src/tags/sso-auth.marko
|
|
2538
2540
|
var api$7;
|
|
@@ -2579,14 +2581,14 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2579
2581
|
localCode = null;
|
|
2580
2582
|
}
|
|
2581
2583
|
}, "B0", $scope0_id);
|
|
2582
|
-
_html(`<div${_attr_class("
|
|
2584
|
+
_html(`<div${_attr_class("_fP")}>`);
|
|
2583
2585
|
_if(() => {
|
|
2584
2586
|
if (input.items.length) {
|
|
2585
2587
|
const $scope1_id = _scope_id();
|
|
2586
|
-
_html(`<p${_attr_class("
|
|
2588
|
+
_html(`<p${_attr_class("_f0")}>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("_fQ")}>`);
|
|
2587
2589
|
_for_of(input.items, (s) => {
|
|
2588
2590
|
const $scope2_id = _scope_id();
|
|
2589
|
-
_html(`<li${_attr_class("
|
|
2591
|
+
_html(`<li${_attr_class("_fR")}>${_escape(s.org)}${_el_resume($scope2_id, "b", $sg__input_items)}<button type=button${_attr_class(orgSkip)}${_attr("title", `Skip ${s.org}`)}${_attr("aria-label", `Skip ${s.org}`)}${_attr("disabled", busy)}>`);
|
|
2590
2592
|
icon_xmark_default({ size: 11 });
|
|
2591
2593
|
_html(`</button>${_el_resume($scope2_id, "c")}</li>`);
|
|
2592
2594
|
_script($scope2_id, "B1");
|
|
@@ -2595,17 +2597,17 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2595
2597
|
_: _scope_with_id($scope1_id)
|
|
2596
2598
|
}));
|
|
2597
2599
|
}, "org", $scope1_id, "c", $sg__input_items, $sg__input_items, $sg__input_items, "</ul>", 1);
|
|
2598
|
-
_html(`<div${_attr_class("
|
|
2600
|
+
_html(`<div${_attr_class("_fT")}>`);
|
|
2599
2601
|
_if(() => {
|
|
2600
2602
|
if (localBusy && localCode) {
|
|
2601
2603
|
const $scope5_id = _scope_id();
|
|
2602
|
-
_html(`<span${_attr_class("
|
|
2604
|
+
_html(`<span${_attr_class("_fU")}><span${_attr_class("_y")}></span> Enter code <strong${_attr_class("_fV")}>${_escape(localCode)}${_el_resume($scope5_id, "d")}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_fW")}>${_escape(host)}${_el_resume($scope5_id, "f", _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope5_id, "e")}</span>`);
|
|
2603
2605
|
_script($scope5_id, "B2");
|
|
2604
2606
|
_subscribe($localCode__closures, _subscribe($si__input_items_0_host && $host__closures, writeScope($scope5_id, {})));
|
|
2605
2607
|
return 0;
|
|
2606
2608
|
} else if (localBusy) {
|
|
2607
2609
|
const $scope8_id = _scope_id();
|
|
2608
|
-
_html(`<span${_attr_class("
|
|
2610
|
+
_html(`<span${_attr_class("_fU")}><span${_attr_class("_y")}></span>Starting GitHub re-authorization…</span>`);
|
|
2609
2611
|
writeScope($scope8_id, {});
|
|
2610
2612
|
return 1;
|
|
2611
2613
|
} else if (!busy) {
|
|
@@ -2619,7 +2621,7 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2619
2621
|
_if(() => {
|
|
2620
2622
|
if (localError) {
|
|
2621
2623
|
const $scope6_id = _scope_id();
|
|
2622
|
-
_html(`<p${_attr_class("
|
|
2624
|
+
_html(`<p${_attr_class("_f0")}>${_escape(localError)}${_el_resume($scope6_id, "b")}</p>`);
|
|
2623
2625
|
_subscribe($localError__closures, writeScope($scope6_id, {}));
|
|
2624
2626
|
return 0;
|
|
2625
2627
|
}
|
|
@@ -2631,10 +2633,10 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2631
2633
|
_if(() => {
|
|
2632
2634
|
if (skipped$1.length) {
|
|
2633
2635
|
const $scope3_id = _scope_id();
|
|
2634
|
-
_html(`<p${_attr_class("
|
|
2636
|
+
_html(`<p${_attr_class("_fX")}>Skipped SSO for `);
|
|
2635
2637
|
_for_of(skipped$1, (s) => {
|
|
2636
2638
|
const $scope4_id = _scope_id();
|
|
2637
|
-
_html(`<span${_attr_class("
|
|
2639
|
+
_html(`<span${_attr_class("_fY")}>${_escape(s.org)}${_el_resume($scope4_id, "b", $sg__input_skipped)}<button type=button${_attr_class("_fZ")}${_attr("title", `Show ${s.org} again`)}>(undo)</button>${_el_resume($scope4_id, "c")}</span>`);
|
|
2638
2640
|
_script($scope4_id, "B4");
|
|
2639
2641
|
writeScope($scope4_id, {
|
|
2640
2642
|
f: s?.org,
|
|
@@ -2707,7 +2709,7 @@ var modal_view_default = _template("r", (input) => {
|
|
|
2707
2709
|
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;
|
|
2708
2710
|
const dismissable = input.dismissable !== false;
|
|
2709
2711
|
let open = input.open;
|
|
2710
|
-
_html(`<dialog${_attr_class(["
|
|
2712
|
+
_html(`<dialog${_attr_class(["_fp", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
|
|
2711
2713
|
...htmlInput,
|
|
2712
2714
|
open: null
|
|
2713
2715
|
}, {
|
|
@@ -2717,22 +2719,22 @@ var modal_view_default = _template("r", (input) => {
|
|
|
2717
2719
|
closedby: 1,
|
|
2718
2720
|
"on-cancel": 1,
|
|
2719
2721
|
"on-close": 1
|
|
2720
|
-
}, "a", $scope0_id, "dialog")}><div${_attr_class("
|
|
2722
|
+
}, "a", $scope0_id, "dialog")}><div${_attr_class("_fq")}>`);
|
|
2721
2723
|
_dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
|
|
2722
2724
|
_html("</div>");
|
|
2723
2725
|
_if(() => {
|
|
2724
2726
|
if (footer) {
|
|
2725
2727
|
const $scope1_id = _scope_id();
|
|
2726
|
-
_html(`<form method=dialog${_attr_class("
|
|
2728
|
+
_html(`<form method=dialog${_attr_class("_fr")}>`);
|
|
2727
2729
|
_dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
|
|
2728
2730
|
_html("</form>");
|
|
2729
2731
|
$si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
|
|
2730
2732
|
return 0;
|
|
2731
2733
|
} else if (input.openChange) {
|
|
2732
2734
|
const $scope2_id = _scope_id();
|
|
2733
|
-
_html(`<form method=dialog${_attr_class("
|
|
2735
|
+
_html(`<form method=dialog${_attr_class("_fr")}>`);
|
|
2734
2736
|
dialog_close_default({
|
|
2735
|
-
class: ["
|
|
2737
|
+
class: ["_i", "_j"],
|
|
2736
2738
|
content: _content("r0", () => {
|
|
2737
2739
|
_scope_reason();
|
|
2738
2740
|
_scope_id();
|
|
@@ -2789,16 +2791,16 @@ var prompt_dialog_default = _template("u", (input) => {
|
|
|
2789
2791
|
const $childScope = _peek_scope_id();
|
|
2790
2792
|
modal_view_default({
|
|
2791
2793
|
label: input.label,
|
|
2792
|
-
class: "
|
|
2794
|
+
class: "_fn",
|
|
2793
2795
|
open: input.open,
|
|
2794
2796
|
openChange: input.openChange,
|
|
2795
2797
|
"aria-labelledby": titleId,
|
|
2796
2798
|
footer: attrTag({ content: _content_resume("u5", () => {
|
|
2797
2799
|
_scope_reason();
|
|
2798
2800
|
const $scope1_id = _scope_id();
|
|
2799
|
-
_html(`<button type=button${_attr_class(["
|
|
2801
|
+
_html(`<button type=button${_attr_class(["_i", "_j"])}${_attr("disabled", !value.trim())}>${_escape(input.submitLabel || "OK")}${_el_resume($scope1_id, "b", _serialize_guard($scope0_reason, 4))}</button>${_el_resume($scope1_id, "a")}<div${_attr_class("_r")}></div>`);
|
|
2800
2802
|
dialog_close_default({
|
|
2801
|
-
class: "
|
|
2803
|
+
class: "_i",
|
|
2802
2804
|
content: _content("u2", () => {
|
|
2803
2805
|
_scope_reason();
|
|
2804
2806
|
_scope_id();
|
|
@@ -2812,7 +2814,7 @@ var prompt_dialog_default = _template("u", (input) => {
|
|
|
2812
2814
|
content: _content("u6", () => {
|
|
2813
2815
|
_scope_reason();
|
|
2814
2816
|
const $scope2_id = _scope_id();
|
|
2815
|
-
_html(`<h2${_attr_class("
|
|
2817
|
+
_html(`<h2${_attr_class("_fo")}${_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) => {
|
|
2816
2818
|
value = _new_value;
|
|
2817
2819
|
}, "u0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
|
|
2818
2820
|
_script($scope2_id, "u4");
|
|
@@ -3346,7 +3348,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3346
3348
|
const backupId = _id();
|
|
3347
3349
|
const machineId = _id();
|
|
3348
3350
|
const skillsId = _id();
|
|
3349
|
-
_html(`<div${_attr_class("
|
|
3351
|
+
_html(`<div${_attr_class("_ba")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bb")}><div${_attr_class(content$2)}>`);
|
|
3350
3352
|
_set_serialize_reason({
|
|
3351
3353
|
0: _serialize_guard($scope0_reason, 4),
|
|
3352
3354
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -3377,7 +3379,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3377
3379
|
const $childScope = _peek_scope_id();
|
|
3378
3380
|
icon_refresh_default({
|
|
3379
3381
|
size: 14,
|
|
3380
|
-
class: refreshing && "
|
|
3382
|
+
class: refreshing && "_x"
|
|
3381
3383
|
});
|
|
3382
3384
|
_html(`</button>${_el_resume($scope10_id, "a")}`);
|
|
3383
3385
|
_script($scope10_id, "x44");
|
|
@@ -3415,7 +3417,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3415
3417
|
_if(() => {
|
|
3416
3418
|
if (selfUpdating) {
|
|
3417
3419
|
const $scope82_id = _scope_id();
|
|
3418
|
-
_html(`<span${_attr_class("_cN")}><span${_attr_class("
|
|
3420
|
+
_html(`<span${_attr_class("_cN")}><span${_attr_class("_y")}></span> Updating work…</span><span${_attr_class("_cO")}>The app restarts and reloads when it is done.</span>`);
|
|
3419
3421
|
writeScope($scope82_id, {});
|
|
3420
3422
|
return 0;
|
|
3421
3423
|
} else {
|
|
@@ -3428,7 +3430,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3428
3430
|
_if(() => {
|
|
3429
3431
|
if (!selfUpdating) {
|
|
3430
3432
|
const $scope48_id = _scope_id();
|
|
3431
|
-
_html(`<button${_attr_class(["
|
|
3433
|
+
_html(`<button${_attr_class(["_i", "_j"])}${_attr("title", `Update work to v${self.latest} and restart`)}>Update and restart</button>${_el_resume($scope48_id, "a")}`);
|
|
3432
3434
|
_script($scope48_id, "x48");
|
|
3433
3435
|
_subscribe($self_latest__closures, writeScope($scope48_id, { Cgv: 1 }));
|
|
3434
3436
|
return 0;
|
|
@@ -3439,11 +3441,11 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3439
3441
|
return 0;
|
|
3440
3442
|
}
|
|
3441
3443
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
3442
|
-
_html(`<section${_attr_class("_bx")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_by")}><h2${_attr("id", agentsId)}${_attr_class("_bL")}>Agents</h2><div${_attr_class("
|
|
3444
|
+
_html(`<section${_attr_class("_bx")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_by")}><h2${_attr("id", agentsId)}${_attr_class("_bL")}>Agents</h2><div${_attr_class("_r")}></div><label${_attr_class("_ck")}><span${_attr_class("_L")}>Default</span><span${_attr_class("_g")}>`);
|
|
3443
3445
|
_attr_select_value($scope0_id, "n", input.preferred, _resume(function(v) {
|
|
3444
3446
|
setPreferred(v);
|
|
3445
3447
|
}, "x2", $scope0_id), () => {
|
|
3446
|
-
_html(`<select${_attr_class(["
|
|
3448
|
+
_html(`<select${_attr_class(["_h", "_cl"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
|
|
3447
3449
|
_for_of(input.agents.filter((a) => a !== "shell"), (id) => {
|
|
3448
3450
|
const $scope83_id = _scope_id();
|
|
3449
3451
|
_html(`<option${_attr_option_value(id)}>${_escape(agentLabel(id))}${_el_resume($scope83_id, "b", $sg__input_agents)}</option>${_el_resume($scope83_id, "a", $sg__input_agents)}`);
|
|
@@ -3455,7 +3457,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3455
3457
|
const $childScope3 = _peek_scope_id();
|
|
3456
3458
|
icon_refresh_default({
|
|
3457
3459
|
size: 14,
|
|
3458
|
-
class: usageRefreshing && "
|
|
3460
|
+
class: usageRefreshing && "_x"
|
|
3459
3461
|
});
|
|
3460
3462
|
_html(`</button>${_el_resume($scope0_id, "o")}</div><ul${_attr_class(agentGrid)}>`);
|
|
3461
3463
|
_for_of(families, (a) => {
|
|
@@ -3475,7 +3477,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3475
3477
|
_if(() => {
|
|
3476
3478
|
if (lone && input.preferred === lone.id) {
|
|
3477
3479
|
const $scope84_id = _scope_id();
|
|
3478
|
-
_html(`<span${_attr_class(["
|
|
3480
|
+
_html(`<span${_attr_class(["_B", tone.accent])}>default</span>`);
|
|
3479
3481
|
writeScope($scope84_id, {});
|
|
3480
3482
|
return 0;
|
|
3481
3483
|
}
|
|
@@ -3484,7 +3486,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3484
3486
|
_if(() => {
|
|
3485
3487
|
if (active.has(a.id)) {
|
|
3486
3488
|
const $scope11_id = _scope_id();
|
|
3487
|
-
_html(`<span${_attr_class("_cd")}><span${_attr_class("
|
|
3489
|
+
_html(`<span${_attr_class("_cd")}><span${_attr_class("_y")}></span><!>${_escape(active.get(a.id) || "Starting…")}${_el_resume($scope11_id, "c")}</span>`);
|
|
3488
3490
|
_subscribe($active__closures, writeScope($scope11_id, {}));
|
|
3489
3491
|
return 0;
|
|
3490
3492
|
} else if (!a.installed) {
|
|
@@ -3508,8 +3510,8 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3508
3510
|
if (lone) {
|
|
3509
3511
|
const $scope79_id = _scope_id();
|
|
3510
3512
|
_html(`<button${_attr_class([
|
|
3511
|
-
"
|
|
3512
|
-
"
|
|
3513
|
+
"_B",
|
|
3514
|
+
"_D",
|
|
3513
3515
|
{ [tone.ok]: lone.enabled }
|
|
3514
3516
|
])} role=switch aria-checked=${lone.enabled ? "true" : "false"} title=${lone.enabled ? "\"Shown in session pickers. Hide it\"" : "\"Hidden from session pickers. Show it\""}>${lone.enabled ? "on" : "off"}${_el_resume($scope79_id, "b")}</button>${_el_resume($scope79_id, "a")}`);
|
|
3515
3517
|
_script($scope79_id, "x50");
|
|
@@ -3532,18 +3534,18 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3532
3534
|
agent: inst.id,
|
|
3533
3535
|
size: 15
|
|
3534
3536
|
});
|
|
3535
|
-
_html(`<span${_attr_class(["_cq", "
|
|
3537
|
+
_html(`<span${_attr_class(["_cq", "_q"])}>${_escape(inst.command)}${_el_resume($scope3_id, "e")}</span>`);
|
|
3536
3538
|
_if(() => {
|
|
3537
3539
|
if (input.preferred === inst.id) {
|
|
3538
3540
|
const $scope86_id = _scope_id();
|
|
3539
|
-
_html(`<span${_attr_class(["
|
|
3541
|
+
_html(`<span${_attr_class(["_B", tone.accent])}>default</span>`);
|
|
3540
3542
|
writeScope($scope86_id, {});
|
|
3541
3543
|
return 0;
|
|
3542
3544
|
}
|
|
3543
3545
|
}, $scope3_id, "f", 1, 1, 1, 0, 1);
|
|
3544
|
-
_html(`<span${_attr_class("
|
|
3545
|
-
"
|
|
3546
|
-
"
|
|
3546
|
+
_html(`<span${_attr_class("_r")}></span><button${_attr_class([
|
|
3547
|
+
"_B",
|
|
3548
|
+
"_D",
|
|
3547
3549
|
{ [tone.ok]: inst.enabled }
|
|
3548
3550
|
])} role=switch aria-checked=${inst.enabled ? "true" : "false"} title=${inst.enabled ? "\"Shown in session pickers. Hide it\"" : "\"Hidden from session pickers. Show it\""}>${inst.enabled ? "on" : "off"}${_el_resume($scope3_id, "i")}</button>${_el_resume($scope3_id, "h")}</div>${_el_resume($scope3_id, "b")}`);
|
|
3549
3551
|
_for_of(accounts, (u) => {
|
|
@@ -3618,7 +3620,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3618
3620
|
_if(() => {
|
|
3619
3621
|
if (!usage && families.length) {
|
|
3620
3622
|
const $scope91_id = _scope_id();
|
|
3621
|
-
_html(`<p${_attr_class("_bI")}><span${_attr_class("
|
|
3623
|
+
_html(`<p${_attr_class("_bI")}><span${_attr_class("_y")}></span> Loading usage…</p>`);
|
|
3622
3624
|
writeScope($scope91_id, {});
|
|
3623
3625
|
return 0;
|
|
3624
3626
|
} else if (usage?.error) {
|
|
@@ -3642,11 +3644,11 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3642
3644
|
const skippedSso = (() => {
|
|
3643
3645
|
return (h.sso || []).filter((s) => ignoredSso.has(s.org));
|
|
3644
3646
|
})();
|
|
3645
|
-
_html(`<li${_attr_class(["_bC", "_cB"])}><div${_attr_class("_cC")}><div${_attr_class("_bD")}><span${_attr_class("_bF")}><span${_attr_class(["_bE", "
|
|
3647
|
+
_html(`<li${_attr_class(["_bC", "_cB"])}><div${_attr_class("_cC")}><div${_attr_class("_bD")}><span${_attr_class("_bF")}><span${_attr_class(["_bE", "_q"])}>${_escape(h.host)}${_el_resume($scope12_id, "f")}</span>`);
|
|
3646
3648
|
_if(() => {
|
|
3647
3649
|
if (h.isEnterprise) {
|
|
3648
3650
|
const $scope94_id = _scope_id();
|
|
3649
|
-
_html(`<span${_attr_class("
|
|
3651
|
+
_html(`<span${_attr_class("_B")}>Enterprise</span>`);
|
|
3650
3652
|
writeScope($scope94_id, {});
|
|
3651
3653
|
return 0;
|
|
3652
3654
|
}
|
|
@@ -3655,12 +3657,12 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3655
3657
|
_if(() => {
|
|
3656
3658
|
if (active.has(h.host) && authCodes.has(h.host)) {
|
|
3657
3659
|
const $scope33_id = _scope_id();
|
|
3658
|
-
_html(`<span${_attr_class("_cd")}><span${_attr_class("
|
|
3660
|
+
_html(`<span${_attr_class("_cd")}><span${_attr_class("_y")}></span> Enter code <strong${_attr_class("_cz")}>${_escape(authCodes.get(h.host))}${_el_resume($scope33_id, "d")}</strong> at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_cA")}>${_escape(h.host)}${_el_resume($scope33_id, "f")}/login/device</a>${_el_resume($scope33_id, "e")}</span>`);
|
|
3659
3661
|
_subscribe($authCodes__closures, writeScope($scope33_id, {}));
|
|
3660
3662
|
return 0;
|
|
3661
3663
|
} else if (active.has(h.host)) {
|
|
3662
3664
|
const $scope13_id = _scope_id();
|
|
3663
|
-
_html(`<span${_attr_class("_cd")}><span${_attr_class("
|
|
3665
|
+
_html(`<span${_attr_class("_cd")}><span${_attr_class("_y")}></span><!>${_escape(active.get(h.host) || "Starting…")}${_el_resume($scope13_id, "c")}</span>`);
|
|
3664
3666
|
_subscribe($active__closures, writeScope($scope13_id, { Cgi: 1 }));
|
|
3665
3667
|
return 1;
|
|
3666
3668
|
} else if (h.authed) {
|
|
@@ -3689,8 +3691,8 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3689
3691
|
} else {
|
|
3690
3692
|
const $scope35_id = _scope_id();
|
|
3691
3693
|
_html(`<button${_attr_class([btnSm, {
|
|
3692
|
-
["
|
|
3693
|
-
["
|
|
3694
|
+
["_l"]: confirmingRemove === `out:${h.host}`,
|
|
3695
|
+
["_k"]: confirmingRemove === `out:${h.host}`
|
|
3694
3696
|
}])}${confirmingRemove === `out:${h.host}` ? _attr("title", `Sign out of ${h.host}?`) : _attr("title", `Sign out of ${h.host}`)}>${confirmingRemove === `out:${h.host}` ? "Sign out?" : "Sign out"}${_el_resume($scope35_id, "b")}</button>${_el_resume($scope35_id, "a")}`);
|
|
3695
3697
|
_script($scope35_id, "x53");
|
|
3696
3698
|
_subscribe($for_content4__h_host__closures, _subscribe($confirmingRemove__closures, writeScope($scope35_id, {})));
|
|
@@ -3702,9 +3704,9 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3702
3704
|
const $scope36_id = _scope_id();
|
|
3703
3705
|
_html(`<button${_attr_class([
|
|
3704
3706
|
"_bH",
|
|
3705
|
-
"
|
|
3706
|
-
"
|
|
3707
|
-
{ ["
|
|
3707
|
+
"_W",
|
|
3708
|
+
"_X",
|
|
3709
|
+
{ ["_k"]: confirmingRemove === h.host }
|
|
3708
3710
|
])}${confirmingRemove === h.host ? _attr("title", `Forget ${h.host}? (gh stays signed in)`) : _attr("title", `Forget ${h.host}`)}>`);
|
|
3709
3711
|
_if(() => {
|
|
3710
3712
|
if (confirmingRemove === h.host) {
|
|
@@ -3785,8 +3787,8 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3785
3787
|
if (autoPush !== null) {
|
|
3786
3788
|
const $scope65_id = _scope_id();
|
|
3787
3789
|
_html(`<div${_attr_class(row)}><div${_attr_class("_bD")}><span${_attr_class("_cu")}>Auto-push</span><span${_attr_class("_bG")}>Every commit on a workspace branch goes to origin. A push that fails shows on the workspace.</span></div><button${_attr_class([
|
|
3788
|
-
"
|
|
3789
|
-
"
|
|
3790
|
+
"_B",
|
|
3791
|
+
"_D",
|
|
3790
3792
|
{ [tone.ok]: autoPush }
|
|
3791
3793
|
])} role=switch aria-checked=${autoPush ? "true" : "false"} title=${autoPush ? "\"Workspace branches are pushed on every commit. Turn off\"" : "\"Workspace branches are only pushed by hand. Turn on\""}>${autoPush ? "on" : "off"}${_el_resume($scope65_id, "f")}</button>${_el_resume($scope65_id, "e")}</div>`);
|
|
3792
3794
|
_script($scope65_id, "x55");
|
|
@@ -3797,14 +3799,14 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3797
3799
|
_if(() => {
|
|
3798
3800
|
if (setup) {
|
|
3799
3801
|
const $scope44_id = _scope_id();
|
|
3800
|
-
_html(`<form${_attr_class("_cy")}><label${_attr_class("
|
|
3802
|
+
_html(`<form${_attr_class("_cy")}><label${_attr_class("_P")}>`);
|
|
3801
3803
|
icon_plus_default({
|
|
3802
3804
|
size: 14,
|
|
3803
|
-
class: "
|
|
3805
|
+
class: "_Q"
|
|
3804
3806
|
});
|
|
3805
3807
|
_html(`<input${_attr_input_value($scope44_id, "d", hostInput, _resume((_new_hostInput) => {
|
|
3806
3808
|
hostInput = _new_hostInput;
|
|
3807
|
-
}, "x3", $scope44_id))}${_attr_class([inputLg, "
|
|
3809
|
+
}, "x3", $scope44_id))}${_attr_class([inputLg, "_R"])} type=text placeholder="Add a GitHub Enterprise host, e.g. github.example.com" aria-label="GitHub Enterprise host" autocomplete=off spellcheck=false>${_el_resume($scope44_id, "d")}</label><button${_attr_class(btnSm)} type=submit${_attr("disabled", !hostInput.trim() || hostBusy)}>${hostBusy ? "Adding…" : "Add host"}${_el_resume($scope44_id, "f")}</button>${_el_resume($scope44_id, "e")}</form>${_el_resume($scope44_id, "a")}`);
|
|
3808
3810
|
_script($scope44_id, "x56");
|
|
3809
3811
|
writeScope($scope44_id, {});
|
|
3810
3812
|
return 0;
|
|
@@ -3834,7 +3836,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3834
3836
|
return 0;
|
|
3835
3837
|
}
|
|
3836
3838
|
}, $scope0_id, "a7", 1, 1, 1, 0, 1);
|
|
3837
|
-
_html(`<div${_attr_class("
|
|
3839
|
+
_html(`<div${_attr_class("_r")}></div>`);
|
|
3838
3840
|
_if(() => {
|
|
3839
3841
|
if (machineOpen && outdatedIds.length > 1) {
|
|
3840
3842
|
const $scope15_id = _scope_id();
|
|
@@ -3870,16 +3872,16 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3870
3872
|
_if(() => {
|
|
3871
3873
|
if (self) {
|
|
3872
3874
|
const $scope49_id = _scope_id();
|
|
3873
|
-
_html(`<li${_attr_class(row)}><span${_attr_class(["_cu", "
|
|
3875
|
+
_html(`<li${_attr_class(row)}><span${_attr_class(["_cu", "_q"])}>work</span>`);
|
|
3874
3876
|
_if(() => {
|
|
3875
3877
|
if (selfUpdating) {
|
|
3876
3878
|
const $scope98_id = _scope_id();
|
|
3877
|
-
_html(`<span${_attr_class("_cd")}><span${_attr_class("
|
|
3879
|
+
_html(`<span${_attr_class("_cd")}><span${_attr_class("_y")}></span>Updating — the app restarts and reloads when it is done…</span>`);
|
|
3878
3880
|
writeScope($scope98_id, {});
|
|
3879
3881
|
return 0;
|
|
3880
3882
|
} else {
|
|
3881
3883
|
const $scope50_id = _scope_id();
|
|
3882
|
-
_html(`<span${_attr_class(["
|
|
3884
|
+
_html(`<span${_attr_class(["_q", metaTrunc])} title="Running version">v<!>${_escape(self.version)}${_el_resume($scope50_id, "b")}</span>`);
|
|
3883
3885
|
_if(() => {
|
|
3884
3886
|
if (self.install === "source") {
|
|
3885
3887
|
const $scope99_id = _scope_id();
|
|
@@ -3908,11 +3910,11 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3908
3910
|
return 1;
|
|
3909
3911
|
}
|
|
3910
3912
|
}, $scope49_id, "c");
|
|
3911
|
-
_html(`<span${_attr_class("
|
|
3913
|
+
_html(`<span${_attr_class("_r")}></span>`);
|
|
3912
3914
|
_if(() => {
|
|
3913
3915
|
if (!selfUpdating) {
|
|
3914
3916
|
const $scope101_id = _scope_id();
|
|
3915
|
-
_html(`<span${_attr_class("
|
|
3917
|
+
_html(`<span${_attr_class("_B")}>app</span>`);
|
|
3916
3918
|
writeScope($scope101_id, {});
|
|
3917
3919
|
return 0;
|
|
3918
3920
|
}
|
|
@@ -3929,11 +3931,11 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3929
3931
|
const $for_content5__t_path__closures = /* @__PURE__ */ new Set();
|
|
3930
3932
|
const $for_content5__t_latest__closures = /* @__PURE__ */ new Set();
|
|
3931
3933
|
const $for_content5__t_id__closures = /* @__PURE__ */ new Set();
|
|
3932
|
-
_html(`<li${_attr_class([row, { ["_ct"]: !t.installed }])}><span${_attr_class(["_cu", "
|
|
3934
|
+
_html(`<li${_attr_class([row, { ["_ct"]: !t.installed }])}><span${_attr_class(["_cu", "_q"])}>${_escape(t.label)}${_el_resume($scope18_id, "c")}</span>`);
|
|
3933
3935
|
_if(() => {
|
|
3934
3936
|
if (active.has(t.id)) {
|
|
3935
3937
|
const $scope19_id = _scope_id();
|
|
3936
|
-
_html(`<span${_attr_class("_cd")}><span${_attr_class("
|
|
3938
|
+
_html(`<span${_attr_class("_cd")}><span${_attr_class("_y")}></span><!>${_escape(active.get(t.id) || "Starting…")}${_el_resume($scope19_id, "c")}</span>`);
|
|
3937
3939
|
_subscribe($active__closures, writeScope($scope19_id, { Cgi: 5 }));
|
|
3938
3940
|
return 0;
|
|
3939
3941
|
} else if (t.installed) {
|
|
@@ -3941,13 +3943,13 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3941
3943
|
_if(() => {
|
|
3942
3944
|
if (t.version) {
|
|
3943
3945
|
const $scope41_id = _scope_id();
|
|
3944
|
-
_html(`<button${_attr_class(["_cv", "
|
|
3946
|
+
_html(`<button${_attr_class(["_cv", "_q"])}${_attr("title", `${t.path || t.label}. Pin a version`)}>v<!>${_escape(t.version)}${_el_resume($scope41_id, "b")}</button>${_el_resume($scope41_id, "a")}`);
|
|
3945
3947
|
_script($scope41_id, "x61");
|
|
3946
3948
|
_subscribe($for_content5__t_path__closures, _subscribe($for_content5__t_version__closures, _subscribe($for_content5__t_label__closures, writeScope($scope41_id, { Cu: 1 }))));
|
|
3947
3949
|
return 0;
|
|
3948
3950
|
} else {
|
|
3949
3951
|
const $scope102_id = _scope_id();
|
|
3950
|
-
_html(`<span${_attr_class([metaTrunc, "
|
|
3952
|
+
_html(`<span${_attr_class([metaTrunc, "_q"])}${_attr("title", t.path)}>${_escape(t.path)}${_el_resume($scope102_id, "b")}</span>${_el_resume($scope102_id, "a")}`);
|
|
3951
3953
|
_subscribe($for_content5__t_path__closures, writeScope($scope102_id, { Cx: 1 }));
|
|
3952
3954
|
return 1;
|
|
3953
3955
|
}
|
|
@@ -3977,14 +3979,14 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3977
3979
|
return 3;
|
|
3978
3980
|
}
|
|
3979
3981
|
}, $scope18_id, "d");
|
|
3980
|
-
_html(`<span${_attr_class("
|
|
3982
|
+
_html(`<span${_attr_class("_r")}></span>`);
|
|
3981
3983
|
_if(() => {
|
|
3982
3984
|
if (!active.has(t.id)) {
|
|
3983
3985
|
const $scope37_id = _scope_id();
|
|
3984
3986
|
_if(() => {
|
|
3985
3987
|
if (t.required) {
|
|
3986
3988
|
const $scope105_id = _scope_id();
|
|
3987
|
-
_html(`<span${_attr_class("
|
|
3989
|
+
_html(`<span${_attr_class("_B")}>required</span>`);
|
|
3988
3990
|
writeScope($scope105_id, {});
|
|
3989
3991
|
return 0;
|
|
3990
3992
|
}
|
|
@@ -4000,9 +4002,9 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4000
4002
|
const $scope38_id = _scope_id();
|
|
4001
4003
|
_html(`<button${_attr_class([
|
|
4002
4004
|
iconBtnXs,
|
|
4003
|
-
"
|
|
4004
|
-
"
|
|
4005
|
-
{ ["
|
|
4005
|
+
"_W",
|
|
4006
|
+
"_X",
|
|
4007
|
+
{ ["_k"]: confirmingRemove === t.id }
|
|
4006
4008
|
])}${confirmingRemove === t.id ? _attr("title", `Remove ${t.label}?`) : _attr("title", `Remove ${t.label}`)}>`);
|
|
4007
4009
|
_if(() => {
|
|
4008
4010
|
if (confirmingRemove === t.id) {
|
|
@@ -4049,23 +4051,23 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4049
4051
|
_if(() => {
|
|
4050
4052
|
if (setup && setup.mise.installed) {
|
|
4051
4053
|
const $scope20_id = _scope_id();
|
|
4052
|
-
_html(`<div><label${_attr_class("
|
|
4054
|
+
_html(`<div><label${_attr_class("_P")}>`);
|
|
4053
4055
|
icon_search_default({
|
|
4054
4056
|
size: 14,
|
|
4055
|
-
class: "
|
|
4057
|
+
class: "_Q"
|
|
4056
4058
|
});
|
|
4057
|
-
_html(`<input${_attr_input_value($scope20_id, "c", query, search)}${_attr_class([inputLg, "
|
|
4059
|
+
_html(`<input${_attr_input_value($scope20_id, "c", query, search)}${_attr_class([inputLg, "_R"])} type=text placeholder="Add a tool from the mise registry…" aria-label="Search the mise registry" autocomplete=off>${_el_resume($scope20_id, "c")}</label>`);
|
|
4058
4060
|
_if(() => {
|
|
4059
4061
|
if (hits && hits.length) {
|
|
4060
4062
|
const $scope21_id = _scope_id();
|
|
4061
4063
|
_html(`<ul${_attr_class([toolGrid, "_cx"])}>`);
|
|
4062
4064
|
_for_of(hits, (h) => {
|
|
4063
4065
|
const $scope22_id = _scope_id();
|
|
4064
|
-
_html(`<li${_attr_class(row)}><div${_attr_class("_bD")}><span${_attr_class(["_cu", "
|
|
4066
|
+
_html(`<li${_attr_class(row)}><div${_attr_class("_bD")}><span${_attr_class(["_cu", "_q"])}>${_escape(h.name)}${_el_resume($scope22_id, "d")}</span>`);
|
|
4065
4067
|
_if(() => {
|
|
4066
4068
|
if (active.has(h.name)) {
|
|
4067
4069
|
const $scope23_id = _scope_id();
|
|
4068
|
-
_html(`<span${_attr_class("_cd")}><span${_attr_class("
|
|
4070
|
+
_html(`<span${_attr_class("_cd")}><span${_attr_class("_y")}></span><!>${_escape(active.get(h.name) || "Starting…")}${_el_resume($scope23_id, "c")}</span>`);
|
|
4069
4071
|
_subscribe($active__closures, writeScope($scope23_id, { Cgi: 7 }));
|
|
4070
4072
|
return 0;
|
|
4071
4073
|
} else if (h.description) {
|
|
@@ -4082,7 +4084,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4082
4084
|
_if(() => {
|
|
4083
4085
|
if (h.installed) {
|
|
4084
4086
|
const $scope109_id = _scope_id();
|
|
4085
|
-
_html(`<span${_attr_class("
|
|
4087
|
+
_html(`<span${_attr_class("_B")}>installed</span>`);
|
|
4086
4088
|
writeScope($scope109_id, {});
|
|
4087
4089
|
return 0;
|
|
4088
4090
|
} else {
|
|
@@ -4158,21 +4160,21 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4158
4160
|
];
|
|
4159
4161
|
_html(`</section><section${_attr_class("_bx")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_by")}><h2${_attr("id", appearanceId)}${_attr_class("_bL")}>Appearance</h2></div><div${_attr_class(["_bC", "_cD"])}><label${_attr_class("_cE")}><span${_attr_class("_cF")}>Name</span><input${_attr_input_value($scope0_id, "ap", input.instance.name, _resume(function(v) {
|
|
4160
4162
|
setInstance({ name: v });
|
|
4161
|
-
}, "x4", $scope0_id))}${_attr_class(["
|
|
4163
|
+
}, "x4", $scope0_id))}${_attr_class(["_N", "_cG"])} type=text placeholder="Tab title" maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "ap")}</label><div${_attr_class("_cE")}><span${_attr_class("_cF")}>Theme</span><span${_attr_class("_cI")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
|
|
4162
4164
|
_for_of(themeOpts, (opt) => {
|
|
4163
4165
|
const $scope52_id = _scope_id();
|
|
4164
|
-
_html(`<button type=button${_attr_class(["
|
|
4166
|
+
_html(`<button type=button${_attr_class(["_2", { ["_1"]: themeMode === opt.id }])} role=radio aria-checked=${themeMode === opt.id ? "true" : "false"}>${_escape(opt.label)}</button>${_el_resume($scope52_id, "a")}`);
|
|
4165
4167
|
_script($scope52_id, "x74");
|
|
4166
4168
|
writeScope($scope52_id, {
|
|
4167
4169
|
e: opt?.id,
|
|
4168
4170
|
_: _scope_with_id($scope0_id)
|
|
4169
4171
|
});
|
|
4170
4172
|
}, "id", $scope0_id, "at", 1, 0, 1, 0, 1);
|
|
4171
|
-
_html(`</span><span${_attr_class(["
|
|
4173
|
+
_html(`</span><span${_attr_class(["_g", "_cJ"])}>`);
|
|
4172
4174
|
_attr_select_value($scope0_id, "av", themeMode, _resume(function(v) {
|
|
4173
4175
|
setThemeMode(v);
|
|
4174
4176
|
}, "x5", $scope0_id), () => {
|
|
4175
|
-
_html(`<select${_attr_class(["
|
|
4177
|
+
_html(`<select${_attr_class(["_h", "_cK"])} aria-label="Color theme">`);
|
|
4176
4178
|
forOf(themeOpts, (opt) => {
|
|
4177
4179
|
_scope_id();
|
|
4178
4180
|
_html(`<option${_attr_option_value(opt.id)}>${_escape(opt.label)}</option>`);
|
|
@@ -4204,7 +4206,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4204
4206
|
_if(() => {
|
|
4205
4207
|
if (backupBusy === "preflight" || backupBusy === "push") {
|
|
4206
4208
|
const $scope66_id = _scope_id();
|
|
4207
|
-
_html(`<span${_attr_class("_cd")}><span${_attr_class("
|
|
4209
|
+
_html(`<span${_attr_class("_cd")}><span${_attr_class("_y")}></span><!>${_escape(backupLine || (backupBusy === "push" ? "Pushing…" : "Checking workspaces…"))}${_el_resume($scope66_id, "c")}</span>`);
|
|
4208
4210
|
writeScope($scope66_id, {});
|
|
4209
4211
|
return 0;
|
|
4210
4212
|
} else {
|
|
@@ -4253,14 +4255,14 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4253
4255
|
_for_of(w.repos, (r) => {
|
|
4254
4256
|
const $scope127_id = _scope_id();
|
|
4255
4257
|
const $for_content19__r_more__closures = /* @__PURE__ */ new Set();
|
|
4256
|
-
_html(`<li${_attr_class("_c9")}><span${_attr_class("_c_")}><span${_attr_class("
|
|
4258
|
+
_html(`<li${_attr_class("_c9")}><span${_attr_class("_c_")}><span${_attr_class("_q")}>${_escape(r.worktree)}${_el_resume($scope127_id, "d")}/</span>`);
|
|
4257
4259
|
_for_of(r.unpushed, (b) => {
|
|
4258
4260
|
const $scope128_id = _scope_id();
|
|
4259
|
-
_html(`<span${_attr_class(["
|
|
4261
|
+
_html(`<span${_attr_class(["_B", tone.warn])}${_attr("title", `${b.branch}: ${b.count} commit${b.count === 1 ? "" : "s"} origin does not have`)}>${_escape(b.count)}${_el_resume($scope128_id, "b")} unpushed `);
|
|
4260
4262
|
_if(() => {
|
|
4261
4263
|
if (b.branch !== w.name) {
|
|
4262
4264
|
const $scope131_id = _scope_id();
|
|
4263
|
-
_html(`<span${_attr_class("
|
|
4265
|
+
_html(`<span${_attr_class("_q")}>${_escape(b.branch)}${_el_resume($scope131_id, "b")}</span>`);
|
|
4264
4266
|
writeScope($scope131_id, {});
|
|
4265
4267
|
return 0;
|
|
4266
4268
|
}
|
|
@@ -4276,26 +4278,26 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4276
4278
|
_for_of(r.modified, (f) => {
|
|
4277
4279
|
const $scope132_id = _scope_id();
|
|
4278
4280
|
_html(`<li${_attr_class("_db")}><span${_attr_class([
|
|
4279
|
-
"
|
|
4280
|
-
"
|
|
4281
|
+
"_B",
|
|
4282
|
+
"_D",
|
|
4281
4283
|
tone.warn
|
|
4282
|
-
])} title="Modified, not committed">M</span><span${_attr_class(["
|
|
4284
|
+
])} title="Modified, not committed">M</span><span${_attr_class(["_q", "_dc"])}>${_escape(f)}${_el_resume($scope132_id, "d")}</span></li>`);
|
|
4283
4285
|
writeScope($scope132_id, {});
|
|
4284
4286
|
}, (f) => f, $scope129_id, "b", 1, 1, 1, 0, 1);
|
|
4285
4287
|
_for_of(r.untracked, (f) => {
|
|
4286
4288
|
const $scope133_id = _scope_id();
|
|
4287
|
-
_html(`<li${_attr_class("_db")}><span${_attr_class(["
|
|
4289
|
+
_html(`<li${_attr_class("_db")}><span${_attr_class(["_B", "_D"])} title=Untracked>?</span><span${_attr_class(["_q", "_dc"])}>${_escape(f)}${_el_resume($scope133_id, "d")}</span></li>`);
|
|
4288
4290
|
writeScope($scope133_id, {});
|
|
4289
4291
|
}, (f) => f, $scope129_id, "c", 1, 1, 1, 0, 1);
|
|
4290
4292
|
_for_of(r.ignored, (f) => {
|
|
4291
4293
|
const $scope134_id = _scope_id();
|
|
4292
|
-
_html(`<li${_attr_class("_db")}><span${_attr_class(["
|
|
4294
|
+
_html(`<li${_attr_class("_db")}><span${_attr_class(["_B", "_D"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_q", "_dc"])}>${_escape(f)}${_el_resume($scope134_id, "d")}</span></li>`);
|
|
4293
4295
|
writeScope($scope134_id, {});
|
|
4294
4296
|
}, (f) => f, $scope129_id, "d", 1, 1, 1, 0, 1);
|
|
4295
4297
|
_if(() => {
|
|
4296
4298
|
if (r.more) {
|
|
4297
4299
|
const $scope130_id = _scope_id();
|
|
4298
|
-
_html(`<li${_attr_class(["_db", "
|
|
4300
|
+
_html(`<li${_attr_class(["_db", "_p"])}>+<!>${_escape(r.more)}${_el_resume($scope130_id, "b")} more</li>`);
|
|
4299
4301
|
_subscribe($for_content19__r_more__closures, writeScope($scope130_id, {}));
|
|
4300
4302
|
return 0;
|
|
4301
4303
|
}
|
|
@@ -4324,13 +4326,13 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4324
4326
|
_if(() => {
|
|
4325
4327
|
if (preflight.unpushed) {
|
|
4326
4328
|
const $scope77_id = _scope_id();
|
|
4327
|
-
_html(`<button${_attr_class([btnSm, "
|
|
4329
|
+
_html(`<button${_attr_class([btnSm, "_j"])} title="Push every workspace branch, then export">Push and export</button>${_el_resume($scope77_id, "a")}`);
|
|
4328
4330
|
_script($scope77_id, "x77");
|
|
4329
4331
|
writeScope($scope77_id, {});
|
|
4330
4332
|
return 0;
|
|
4331
4333
|
}
|
|
4332
4334
|
}, $scope68_id, "q", 1, 1, 1, 0, 1);
|
|
4333
|
-
_html(`<button${_attr_class([btnSm, { ["
|
|
4335
|
+
_html(`<button${_attr_class([btnSm, { ["_j"]: !preflight.unpushed }])}>${preflight.unpushed ? "Export anyway" : "Export"}${_el_resume($scope68_id, "s")}</button>${_el_resume($scope68_id, "r")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope68_id, "t")}</div></div>`);
|
|
4334
4336
|
_script($scope68_id, "x78");
|
|
4335
4337
|
writeScope($scope68_id, {});
|
|
4336
4338
|
return 0;
|
|
@@ -4340,7 +4342,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4340
4342
|
_if(() => {
|
|
4341
4343
|
if (backupBusy === "restore") {
|
|
4342
4344
|
const $scope67_id = _scope_id();
|
|
4343
|
-
_html(`<span${_attr_class("_cd")}><span${_attr_class("
|
|
4345
|
+
_html(`<span${_attr_class("_cd")}><span${_attr_class("_y")}></span><!>${_escape(backupLine || "Restoring…")}${_el_resume($scope67_id, "c")}</span>`);
|
|
4344
4346
|
writeScope($scope67_id, {});
|
|
4345
4347
|
return 0;
|
|
4346
4348
|
} else if (restoreDone) {
|
|
@@ -4381,7 +4383,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4381
4383
|
_if(() => {
|
|
4382
4384
|
if (w.status === "archived") {
|
|
4383
4385
|
const $scope139_id = _scope_id();
|
|
4384
|
-
_html(`<span${_attr_class(["
|
|
4386
|
+
_html(`<span${_attr_class(["_B", "_D"])}>archived</span>`);
|
|
4385
4387
|
writeScope($scope139_id, {});
|
|
4386
4388
|
return 0;
|
|
4387
4389
|
}
|
|
@@ -4389,12 +4391,12 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4389
4391
|
_if(() => {
|
|
4390
4392
|
if (w.exists) {
|
|
4391
4393
|
const $scope140_id = _scope_id();
|
|
4392
|
-
_html(`<span${_attr_class("
|
|
4394
|
+
_html(`<span${_attr_class("_B")}>already here</span>`);
|
|
4393
4395
|
writeScope($scope140_id, {});
|
|
4394
4396
|
return 0;
|
|
4395
4397
|
} else if (w.unknownHost) {
|
|
4396
4398
|
const $scope138_id = _scope_id();
|
|
4397
|
-
_html(`<span${_attr_class(["
|
|
4399
|
+
_html(`<span${_attr_class(["_B", tone.warn])} title="Add this GitHub host above first">unknown host <!>${_escape(w.unknownHost)}${_el_resume($scope138_id, "b")}</span>`);
|
|
4398
4400
|
writeScope($scope138_id, {});
|
|
4399
4401
|
return 1;
|
|
4400
4402
|
}
|
|
@@ -4497,7 +4499,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4497
4499
|
i: $for_content11__p_total__closures
|
|
4498
4500
|
});
|
|
4499
4501
|
}, "key", $scope70_id, "h");
|
|
4500
|
-
_html(`</ul><div${_attr_class("_dd")}><button${_attr_class([btnSm, "
|
|
4502
|
+
_html(`</ul><div${_attr_class("_dd")}><button${_attr_class([btnSm, "_j"])}${_attr("disabled", !restoreWs.size && !Object.values(restoreParts).some(Boolean))}>Restore</button>${_el_resume($scope70_id, "j")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope70_id, "k")}</div></div>`);
|
|
4501
4503
|
_script($scope70_id, "x82");
|
|
4502
4504
|
writeScope($scope70_id, {});
|
|
4503
4505
|
return 0;
|
|
@@ -4687,11 +4689,11 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4687
4689
|
});
|
|
4688
4690
|
//#endregion
|
|
4689
4691
|
//#region src/tags/new-workspace.css.ts
|
|
4690
|
-
var content$1 = "_bM
|
|
4692
|
+
var content$1 = "_bM _bc";
|
|
4691
4693
|
var section$1 = "_bQ _bx";
|
|
4692
|
-
var curBase = "_bV
|
|
4694
|
+
var curBase = "_bV _M _L";
|
|
4693
4695
|
var archived = "_b0 _bx";
|
|
4694
|
-
var archivedHint = "_b1
|
|
4696
|
+
var archivedHint = "_b1 _L";
|
|
4695
4697
|
var archivedCard = "_b2 _bC";
|
|
4696
4698
|
//#endregion
|
|
4697
4699
|
//#region src/tags/icons/icon-group.marko
|
|
@@ -4744,7 +4746,7 @@ var icon_branch_default = _template("Q", (input) => {
|
|
|
4744
4746
|
});
|
|
4745
4747
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
4746
4748
|
});
|
|
4747
|
-
var resultBranch = "_dq
|
|
4749
|
+
var resultBranch = "_dq _S _d";
|
|
4748
4750
|
//#endregion
|
|
4749
4751
|
//#region src/tags/branch-pick.marko
|
|
4750
4752
|
var branch_pick_default = _template("d", (input) => {
|
|
@@ -4761,7 +4763,7 @@ var branch_pick_default = _template("d", (input) => {
|
|
|
4761
4763
|
_if(() => {
|
|
4762
4764
|
{
|
|
4763
4765
|
const $scope4_id = _scope_id();
|
|
4764
|
-
_html(`<p${_attr_class("_bI")}><span${_attr_class("
|
|
4766
|
+
_html(`<p${_attr_class("_bI")}><span${_attr_class("_y")}></span> Loading branches…</p>`);
|
|
4765
4767
|
writeScope($scope4_id, {});
|
|
4766
4768
|
return 0;
|
|
4767
4769
|
}
|
|
@@ -4860,16 +4862,16 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4860
4862
|
return 0;
|
|
4861
4863
|
}
|
|
4862
4864
|
}, $scope0_id, "b", 1, 1, 1, 0, 1);
|
|
4863
|
-
_html(`<label${_attr_class("
|
|
4865
|
+
_html(`<label${_attr_class("_P")}>`);
|
|
4864
4866
|
icon_search_default({
|
|
4865
4867
|
size: 14,
|
|
4866
|
-
class: "
|
|
4868
|
+
class: "_Q"
|
|
4867
4869
|
});
|
|
4868
4870
|
_html(`<input${_attr_input_value($scope0_id, "e", filter, _resume(function(v) {
|
|
4869
4871
|
filter = v;
|
|
4870
4872
|
highlight = 0;
|
|
4871
4873
|
pasteWillFork = false;
|
|
4872
|
-
}, "v0", $scope0_id))}${_attr_class([inputLg, "
|
|
4874
|
+
}, "v0", $scope0_id))}${_attr_class([inputLg, "_R"])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input.disabled)}>${_el_resume($scope0_id, "e")}</label>`);
|
|
4873
4875
|
_if(() => {
|
|
4874
4876
|
if (pasted) {
|
|
4875
4877
|
const $scope1_id = _scope_id();
|
|
@@ -5132,7 +5134,7 @@ function parseInvite(text) {
|
|
|
5132
5134
|
repos
|
|
5133
5135
|
};
|
|
5134
5136
|
}
|
|
5135
|
-
var hint = "_dC
|
|
5137
|
+
var hint = "_dC _L";
|
|
5136
5138
|
//#endregion
|
|
5137
5139
|
//#region src/tags/join-dialog.marko
|
|
5138
5140
|
var api$4;
|
|
@@ -5253,7 +5255,7 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
5253
5255
|
footer: attrTag({ content: _content_resume("o11", () => {
|
|
5254
5256
|
_scope_reason();
|
|
5255
5257
|
const $scope2_id = _scope_id();
|
|
5256
|
-
_html(`<button type=button${_attr_class(["
|
|
5258
|
+
_html(`<button type=button${_attr_class(["_i", "_j"])}${_attr("disabled", busy || !parsed.ok || !name.trim())}>${busy ? "Joining…" : "Join workspace"}${_el_resume($scope2_id, "b")}</button>${_el_resume($scope2_id, "a")}<div${_attr_class("_r")}></div><button type=button${_attr_class("_i")}>Cancel</button>${_el_resume($scope2_id, "d")}`);
|
|
5257
5259
|
_script($scope2_id, "o7");
|
|
5258
5260
|
_subscribe($parsed_ok__closures, _subscribe($busy__closures, _subscribe($name__closures, writeScope($scope2_id, {
|
|
5259
5261
|
_: _scope_with_id($scope0_id),
|
|
@@ -5266,8 +5268,8 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
5266
5268
|
_scope_reason();
|
|
5267
5269
|
const $scope1_id = _scope_id();
|
|
5268
5270
|
_html(`<h2${_attr_class("_dB")}${_attr("id", titleId)}>Join a workspace</h2><p${_attr_class(hint)}>Paste an invite: the same repos, on your own lane of their branch.</p><textarea${_attr_class([
|
|
5269
|
-
"
|
|
5270
|
-
"
|
|
5271
|
+
"_N",
|
|
5272
|
+
"_q",
|
|
5271
5273
|
"_dE"
|
|
5272
5274
|
])} placeholder="{ "name": …, "branch": …, "repos": ["owner/name", …] }" aria-label="Workspace invite" rows=6 autocomplete=off spellcheck=false${_attr("disabled", busy)} autofocus>${_attr_textarea_value($scope1_id, "c", invite, setInvite)}</textarea>${_el_resume($scope1_id, "c")}`);
|
|
5273
5275
|
_if(() => {
|
|
@@ -5284,9 +5286,9 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
5284
5286
|
_html(`<li${_attr_class("_dG")}><span${_attr_class("_dH")}>${_escape(repoLabel(fullName))}${_el_resume($scope9_id, "c")}</span></li>`);
|
|
5285
5287
|
writeScope($scope9_id, {});
|
|
5286
5288
|
}, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
|
|
5287
|
-
_html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("
|
|
5289
|
+
_html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_q")}>${_escape(parsed.ok.branch)}${_el_resume($scope3_id, "d")}</span> in each; PRs target theirs.</p><label${_attr_class("_dI")}><span${_attr_class("_bL")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
|
|
5288
5290
|
name = _new_name;
|
|
5289
|
-
}, "o1", $scope3_id))}${_attr_class("
|
|
5291
|
+
}, "o1", $scope3_id))}${_attr_class("_N")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
|
|
5290
5292
|
_script($scope3_id, "o8");
|
|
5291
5293
|
_subscribe($parsed_ok_name__closures, _subscribe($parsed_ok_branch__closures, _subscribe($parsed_ok_repos__closures, _subscribe($busy__closures, _subscribe($name__closures, writeScope($scope3_id, {
|
|
5292
5294
|
Ca6: 1,
|
|
@@ -5328,7 +5330,7 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
5328
5330
|
_if(() => {
|
|
5329
5331
|
if (i === steps$2.length - 1) {
|
|
5330
5332
|
const $scope10_id = _scope_id();
|
|
5331
|
-
_html(`<span${_attr_class("
|
|
5333
|
+
_html(`<span${_attr_class("_y")}></span>`);
|
|
5332
5334
|
writeScope($scope10_id, {});
|
|
5333
5335
|
return 0;
|
|
5334
5336
|
} else {
|
|
@@ -5488,7 +5490,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5488
5490
|
}
|
|
5489
5491
|
}, "s6", $scope0_id);
|
|
5490
5492
|
const titleId = _id();
|
|
5491
|
-
_html(`<div${_attr_class("
|
|
5493
|
+
_html(`<div${_attr_class("_ba")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bb")}><div${_attr_class(content$1)}>`);
|
|
5492
5494
|
_set_serialize_reason({
|
|
5493
5495
|
0: _serialize_guard($scope0_reason, 2),
|
|
5494
5496
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -5544,7 +5546,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5544
5546
|
const $childScope2 = _peek_scope_id();
|
|
5545
5547
|
icon_refresh_default({
|
|
5546
5548
|
size: 14,
|
|
5547
|
-
class: catalogRefreshing && "
|
|
5549
|
+
class: catalogRefreshing && "_x"
|
|
5548
5550
|
});
|
|
5549
5551
|
_html(`</button>${_el_resume($scope0_id, "l")}</div><ul${_attr_class("_bS")}>`);
|
|
5550
5552
|
_for_of(selected, (repo) => {
|
|
@@ -5575,11 +5577,11 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5575
5577
|
}, $scope4_id, "d", 1, 1, 1, 0, 1);
|
|
5576
5578
|
_html(`<button${_attr_class([
|
|
5577
5579
|
curBase,
|
|
5578
|
-
"
|
|
5580
|
+
"_q",
|
|
5579
5581
|
{ ["_bU"]: branchesFor === repo.fullName }
|
|
5580
5582
|
])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}>`);
|
|
5581
5583
|
icon_branch_default({ size: 12 });
|
|
5582
|
-
_html(`<!>${repo.baseBranch ? `${_escape(`${_to_text(" ")}`)}${_escape(`${_to_text(repo.baseBranch)}`)}` : ""}${_el_resume($scope4_id, "g")}</button>${_el_resume($scope4_id, "e")}<button${_attr_class([iconBtnXs, "
|
|
5584
|
+
_html(`<!>${repo.baseBranch ? `${_escape(`${_to_text(" ")}`)}${_escape(`${_to_text(repo.baseBranch)}`)}` : ""}${_el_resume($scope4_id, "g")}</button>${_el_resume($scope4_id, "e")}<button${_attr_class([iconBtnXs, "_W"])}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>`);
|
|
5583
5585
|
icon_xmark_default({ size: 12 });
|
|
5584
5586
|
_html(`</button>${_el_resume($scope4_id, "h")}</div>`);
|
|
5585
5587
|
_if(() => {
|
|
@@ -5644,7 +5646,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5644
5646
|
_if(() => {
|
|
5645
5647
|
if (i === steps.length - 1) {
|
|
5646
5648
|
const $scope17_id = _scope_id();
|
|
5647
|
-
_html(`<span${_attr_class("
|
|
5649
|
+
_html(`<span${_attr_class("_y")}></span>`);
|
|
5648
5650
|
writeScope($scope17_id, {});
|
|
5649
5651
|
return 0;
|
|
5650
5652
|
} else {
|
|
@@ -5675,7 +5677,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5675
5677
|
}, $scope0_id, "u", 1, 1, 1, 0, 1);
|
|
5676
5678
|
_html(`<button type=button${_attr_class([
|
|
5677
5679
|
btnLg,
|
|
5678
|
-
"
|
|
5680
|
+
"_j",
|
|
5679
5681
|
"_bO"
|
|
5680
5682
|
])}${_attr("disabled", busy || !!restoring || !name.trim())}>${busy ? "Creating…" : "Create workspace"}${_el_resume($scope0_id, "w")}</button>${_el_resume($scope0_id, "v")}</div>`);
|
|
5681
5683
|
_if(() => {
|
|
@@ -5684,11 +5686,11 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5684
5686
|
_html(`<section${_attr_class(archived)}><div${_attr_class("_bR")}><h2${_attr_class("_bL")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_escape(archived$1.length)}${_el_resume($scope6_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("_bA")}>`);
|
|
5685
5687
|
_for_of(archived$1, (ws) => {
|
|
5686
5688
|
const $scope7_id = _scope_id();
|
|
5687
|
-
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("_bD")}><span${_attr_class("_bE")}>${_escape(ws.name)}${_el_resume($scope7_id, "d", $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "
|
|
5689
|
+
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("_bD")}><span${_attr_class("_bE")}>${_escape(ws.name)}${_el_resume($scope7_id, "d", $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_q"])}${_attr("title", ws.display_path || ws.path)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope7_id, "f", $sg__input_workspaces)}</span>${_el_resume($scope7_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnLg)}${_attr("disabled", busy || !!restoring)}>`);
|
|
5688
5690
|
_if(() => {
|
|
5689
5691
|
if (restoring === ws.id) {
|
|
5690
5692
|
const $scope19_id = _scope_id();
|
|
5691
|
-
_html(`<span${_attr_class("
|
|
5693
|
+
_html(`<span${_attr_class("_y")}></span> Restoring…`);
|
|
5692
5694
|
writeScope($scope19_id, {});
|
|
5693
5695
|
return 0;
|
|
5694
5696
|
} else {
|
|
@@ -5808,8 +5810,8 @@ function vapidKey(base64) {
|
|
|
5808
5810
|
const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
|
|
5809
5811
|
return Uint8Array.from(raw, (c) => c.charCodeAt(0));
|
|
5810
5812
|
}
|
|
5811
|
-
var iconBtn$1 = "
|
|
5812
|
-
var navToggle = "
|
|
5813
|
+
var iconBtn$1 = "_dX _d";
|
|
5814
|
+
var navToggle = "_d2 _d";
|
|
5813
5815
|
_template("P", (input) => {
|
|
5814
5816
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
5815
5817
|
const $scope0_id = _scope_id();
|
|
@@ -5852,12 +5854,12 @@ var ARM_MS = 3500;
|
|
|
5852
5854
|
function disarmLater(fn) {
|
|
5853
5855
|
return setTimeout(fn, ARM_MS);
|
|
5854
5856
|
}
|
|
5855
|
-
var railBtn = "
|
|
5856
|
-
var rowIcon = "
|
|
5857
|
-
var close = "
|
|
5857
|
+
var railBtn = "_hy _d";
|
|
5858
|
+
var rowIcon = "_hH _S _d";
|
|
5859
|
+
var close = "_hI _V _d _W";
|
|
5858
5860
|
//#endregion
|
|
5859
5861
|
//#region src/styles/session-pop.css.ts
|
|
5860
|
-
var sessionPop = "
|
|
5862
|
+
var sessionPop = "_hu _Y";
|
|
5861
5863
|
//#endregion
|
|
5862
5864
|
//#region src/client/status.ts
|
|
5863
5865
|
/** Workspace activity dot from its polled status counts. */
|
|
@@ -5924,22 +5926,22 @@ var usage_pcts_default = _template("G", (input) => {
|
|
|
5924
5926
|
if (windows.length) {
|
|
5925
5927
|
const $scope1_id = _scope_id();
|
|
5926
5928
|
_html(`<span${_attr_class([
|
|
5927
|
-
"
|
|
5929
|
+
"_f1",
|
|
5928
5930
|
input.class,
|
|
5929
|
-
{ ["
|
|
5931
|
+
{ ["_f2"]: agent.stale_seconds != null }
|
|
5930
5932
|
])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
|
|
5931
5933
|
_for_of(windows, (win$1, i) => {
|
|
5932
5934
|
const $scope2_id = _scope_id();
|
|
5933
|
-
_html(`<span${_attr_class("
|
|
5935
|
+
_html(`<span${_attr_class("_f3")}>`);
|
|
5934
5936
|
_if(() => {
|
|
5935
5937
|
if (i) {
|
|
5936
5938
|
const $scope3_id = _scope_id();
|
|
5937
|
-
_html(`<span${_attr_class("
|
|
5939
|
+
_html(`<span${_attr_class("_f6")} aria-hidden=true>·</span>`);
|
|
5938
5940
|
$si__input_agent && writeScope($scope3_id, {});
|
|
5939
5941
|
return 0;
|
|
5940
5942
|
}
|
|
5941
5943
|
}, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
5942
|
-
_html(`<span${_attr_class("
|
|
5944
|
+
_html(`<span${_attr_class("_f4")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_f5", win$1.used_percent >= 90 ? "_fL" : win$1.used_percent >= 70 ? "_fK" : win$1.used_percent >= 40 ? "_fJ" : "_fI"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
|
|
5943
5945
|
$si__input_agent && writeScope($scope2_id, {});
|
|
5944
5946
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
5945
5947
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -5970,8 +5972,8 @@ var icon_edit_default = _template("Z", (input) => {
|
|
|
5970
5972
|
});
|
|
5971
5973
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
5972
5974
|
});
|
|
5973
|
-
var prChip = "_h7
|
|
5974
|
-
var portChip = "_h8
|
|
5975
|
+
var prChip = "_h7 _m _h6";
|
|
5976
|
+
var portChip = "_h8 _m _h6";
|
|
5975
5977
|
var prState = {
|
|
5976
5978
|
open: "_ib",
|
|
5977
5979
|
merged: "_ic",
|
|
@@ -6051,7 +6053,7 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
6051
6053
|
_html(`<div${_attr_class("_h5")}>`);
|
|
6052
6054
|
_for_of(unpushed, (repo) => {
|
|
6053
6055
|
const $scope7_id = _scope_id();
|
|
6054
|
-
_html(`<span${_attr_class(["
|
|
6056
|
+
_html(`<span${_attr_class(["_m", tone.warn])}${_attr("title", `${repo.worktree}: ${repo.unpushed}`)}>${_escape(repoLabel$1(repo))}${_el_resume($scope7_id, "b")}<!>${repoLabel$1(repo) ? _escape(`${_to_text(" ")}`) : ""}${_el_resume($scope7_id, "c")} unpushed</span>${_el_resume($scope7_id, "a")}`);
|
|
6055
6057
|
writeScope($scope7_id, {});
|
|
6056
6058
|
}, "full_name", $scope1_id, "b", 1, 1, 1, 0, 1);
|
|
6057
6059
|
_for_of(repos, (repo) => {
|
|
@@ -6061,11 +6063,11 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
6061
6063
|
const $scope3_id = _scope_id();
|
|
6062
6064
|
const open = isOpen(pr);
|
|
6063
6065
|
_html(`<span${_attr_class([
|
|
6064
|
-
"
|
|
6066
|
+
"_m",
|
|
6065
6067
|
prChip,
|
|
6066
6068
|
{
|
|
6067
|
-
["
|
|
6068
|
-
["
|
|
6069
|
+
["_n"]: open && !pr.isDraft,
|
|
6070
|
+
["_o"]: open && pr.isDraft,
|
|
6069
6071
|
[prState.merged]: pr.state === "MERGED",
|
|
6070
6072
|
[prState.closed]: pr.state === "CLOSED"
|
|
6071
6073
|
}
|
|
@@ -6107,11 +6109,11 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
6107
6109
|
}, "full_name", $scope1_id, "c");
|
|
6108
6110
|
_for_of(ports, (p) => {
|
|
6109
6111
|
const $scope5_id = _scope_id();
|
|
6110
|
-
_html(`<span${_attr_class(["
|
|
6112
|
+
_html(`<span${_attr_class(["_m", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_h9", "_ie"])}${_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([
|
|
6111
6113
|
"_h9",
|
|
6112
6114
|
"_h_",
|
|
6113
6115
|
"_ia",
|
|
6114
|
-
{ ["
|
|
6116
|
+
{ ["_k"]: armedPid === p.pid }
|
|
6115
6117
|
])}${armedPid === p.pid ? " title=Kill?" : _attr("title", `Kill ${p.cmd} (pid ${p.pid})`)}>`);
|
|
6116
6118
|
icon_xmark_default({ size: 12 });
|
|
6117
6119
|
_html(`</button>${_el_resume($scope5_id, "d")}</span>${_el_resume($scope5_id, "a")}`);
|
|
@@ -6212,40 +6214,40 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6212
6214
|
_if(() => {
|
|
6213
6215
|
if (input.rail) {
|
|
6214
6216
|
const $scope2_id = _scope_id();
|
|
6215
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["
|
|
6216
|
-
"
|
|
6217
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_hw"]: input.current }])}${ws$1.pending ? _attr("title", `${ws$1.name} — restoring`) : _attr("title", ws$1.name)}>${input.index === void 0 ? "·" : _escape(input.index + 1)}${_el_resume($scope2_id, "b", _serialize_guard($scope0_reason, 26))}<span${_attr_class([
|
|
6218
|
+
"_s",
|
|
6217
6219
|
phase[dot],
|
|
6218
|
-
"
|
|
6220
|
+
"_hz"
|
|
6219
6221
|
])}></span>${_el_resume($scope2_id, "c", $sg__input_workspaceId__OR__input_status)}</a>${_el_resume($scope2_id, "a", _serialize_guard($scope0_reason, 3))}`);
|
|
6220
6222
|
_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_workspaces__OR__input_workspaceId && $ws_pending__closures, _subscribe($si__input_index && $input_index__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }))))));
|
|
6221
6223
|
return 0;
|
|
6222
6224
|
} else if (ws$1.pending) {
|
|
6223
6225
|
const $scope3_id = _scope_id();
|
|
6224
6226
|
_html(`<section${_attr_class([
|
|
6225
|
-
"
|
|
6226
|
-
"
|
|
6227
|
+
"_hB",
|
|
6228
|
+
"_hY",
|
|
6227
6229
|
{
|
|
6228
|
-
["
|
|
6229
|
-
["
|
|
6230
|
+
["_hC"]: input.railPop,
|
|
6231
|
+
["_hA"]: input.page
|
|
6230
6232
|
}
|
|
6231
|
-
])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("
|
|
6233
|
+
])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_hD")}><div${_attr_class("_hE")}>`);
|
|
6232
6234
|
_if(() => {
|
|
6233
6235
|
if (ws$1.pending_error) {
|
|
6234
6236
|
const $scope15_id = _scope_id();
|
|
6235
6237
|
icon_warning_default({
|
|
6236
6238
|
size: 12,
|
|
6237
|
-
class: "
|
|
6239
|
+
class: "_h0"
|
|
6238
6240
|
});
|
|
6239
6241
|
$si__input_workspaces__OR__input_workspaceId && writeScope($scope15_id, {});
|
|
6240
6242
|
return 0;
|
|
6241
6243
|
} else {
|
|
6242
6244
|
const $scope16_id = _scope_id();
|
|
6243
|
-
_html(`<span${_attr_class(["
|
|
6245
|
+
_html(`<span${_attr_class(["_y", "_hZ"])}></span>`);
|
|
6244
6246
|
$si__input_workspaces__OR__input_workspaceId && writeScope($scope16_id, {});
|
|
6245
6247
|
return 1;
|
|
6246
6248
|
}
|
|
6247
6249
|
}, $scope3_id, "d", $sg__input_workspaces__OR__input_workspaceId, $sg__input_workspaces__OR__input_workspaceId, $sg__input_workspaces__OR__input_workspaceId, 0, 1);
|
|
6248
|
-
_html(`<span${_attr_class("
|
|
6250
|
+
_html(`<span${_attr_class("_hK")}><span${_attr_class("_hL")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "g", $sg__input_workspaces__OR__input_workspaceId)}</span><span${_attr_class("_h1")}${_attr("title", ws$1.pending_error || restoreLine)}>${ws$1.pending_error ? `Restore failed: ${_escape(`${ws$1.pending_error}`)}` : _escape("Restoring…")}${_el_resume($scope3_id, "i")}</span>${_el_resume($scope3_id, "h")}</span></div></div></section>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 10))}`);
|
|
6249
6251
|
_subscribe($restoreLine__closures, _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_pending_error__closures, _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_name__closures, _subscribe($si__input_railPop && $input_railPop__closures, _subscribe($si__input_page && $input_page__closures, writeScope($scope3_id, {
|
|
6250
6252
|
_: _scope_with_id($scope1_id),
|
|
6251
6253
|
Cb0: $si__input_workspaces__OR__input_workspaceId && 1
|
|
@@ -6255,15 +6257,15 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6255
6257
|
const $scope4_id = _scope_id();
|
|
6256
6258
|
const sessions$1 = input.sessions || [];
|
|
6257
6259
|
const phaseLabel = dot === "working" ? "Working" : dot === "waiting" ? "Needs input" : dot === "idle" ? "Idle" : "Not running";
|
|
6258
|
-
_html(`<section${_attr_class(["
|
|
6259
|
-
["
|
|
6260
|
-
["
|
|
6261
|
-
["
|
|
6262
|
-
["
|
|
6263
|
-
}])}><div${_attr_class("
|
|
6264
|
-
"
|
|
6260
|
+
_html(`<section${_attr_class(["_hB", {
|
|
6261
|
+
["_hw"]: input.current,
|
|
6262
|
+
["_Z"]: input.current,
|
|
6263
|
+
["_hC"]: input.railPop,
|
|
6264
|
+
["_hA"]: input.page
|
|
6265
|
+
}])}><div${_attr_class("_hD")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class("_hE")}><span${_attr_class([
|
|
6266
|
+
"_s",
|
|
6265
6267
|
phase[dot],
|
|
6266
|
-
"
|
|
6268
|
+
"_hQ"
|
|
6267
6269
|
])}${_attr("title", phaseLabel)}></span>${_el_resume($scope4_id, "d", $sg__input_workspaceId__OR__input_status)}`);
|
|
6268
6270
|
_if(() => {
|
|
6269
6271
|
if (sessions$1.length === 1) {
|
|
@@ -6276,7 +6278,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6276
6278
|
icon_agent_default({
|
|
6277
6279
|
agent: activeAgent(sessions$1[0]),
|
|
6278
6280
|
size: 12,
|
|
6279
|
-
class: "
|
|
6281
|
+
class: "_hJ"
|
|
6280
6282
|
});
|
|
6281
6283
|
$si__input_sessions && writeScope($scope17_id, {
|
|
6282
6284
|
_: _scope_with_id($scope4_id),
|
|
@@ -6286,11 +6288,11 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6286
6288
|
}
|
|
6287
6289
|
}, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions);
|
|
6288
6290
|
const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length > 1 ? `${sessions$1.length} sessions` : "";
|
|
6289
|
-
_html(`<span${_attr_class("
|
|
6291
|
+
_html(`<span${_attr_class("_hK")}><span${_attr_class("_hL")}>${_escape(ws$1.name)}${_el_resume($scope4_id, "h", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
|
|
6290
6292
|
_if(() => {
|
|
6291
6293
|
if (input.page && metaText) {
|
|
6292
6294
|
const $scope18_id = _scope_id();
|
|
6293
|
-
_html(`<span${_attr_class("
|
|
6295
|
+
_html(`<span${_attr_class("_hO")}>${_escape(metaText)}${_el_resume($scope18_id, "b", _serialize_guard($scope0_reason, 6))}</span>`);
|
|
6294
6296
|
$si__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status && writeScope($scope18_id, { _: _serialize_if($scope0_reason, 6) && _scope_with_id($scope4_id) });
|
|
6295
6297
|
return 0;
|
|
6296
6298
|
}
|
|
@@ -6300,10 +6302,10 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6300
6302
|
if (input.page) {
|
|
6301
6303
|
const $scope5_id = _scope_id();
|
|
6302
6304
|
_html(`<span${_attr_class([
|
|
6303
|
-
"
|
|
6304
|
-
"
|
|
6305
|
-
"
|
|
6306
|
-
"
|
|
6305
|
+
"_B",
|
|
6306
|
+
"_K",
|
|
6307
|
+
"_D",
|
|
6308
|
+
"_hP"
|
|
6307
6309
|
])}>${input.current ? "Open" : ""}${_el_resume($scope5_id, "b", _serialize_guard($scope0_reason, 21))}</span>`);
|
|
6308
6310
|
$si__input_current__OR__input_page__OR__input_rail__OR__input_workspaces__OR__input_workspaceId && _subscribe($si__input_current && $input_current__closures, writeScope($scope5_id, {
|
|
6309
6311
|
_: _scope_with_id($scope4_id),
|
|
@@ -6316,7 +6318,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6316
6318
|
_if(() => {
|
|
6317
6319
|
if (!input.page) {
|
|
6318
6320
|
const $scope6_id = _scope_id();
|
|
6319
|
-
_html(`<div${_attr_class("
|
|
6321
|
+
_html(`<div${_attr_class("_hF")}>`);
|
|
6320
6322
|
_if(() => {
|
|
6321
6323
|
if (input.onNewSession) {
|
|
6322
6324
|
const $scope7_id = _scope_id();
|
|
@@ -6330,7 +6332,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6330
6332
|
_html(`</button>${_el_resume($scope7_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
|
|
6331
6333
|
_for_of([], (agent) => {
|
|
6332
6334
|
const $scope8_id = _scope_id();
|
|
6333
|
-
_html(`<button${_attr_class("
|
|
6335
|
+
_html(`<button${_attr_class("_hv")}>`);
|
|
6334
6336
|
_set_serialize_reason(12);
|
|
6335
6337
|
const $childScope2 = _peek_scope_id();
|
|
6336
6338
|
icon_agent_default({
|
|
@@ -6365,7 +6367,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6365
6367
|
return 0;
|
|
6366
6368
|
}
|
|
6367
6369
|
}, $scope6_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
|
|
6368
|
-
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["
|
|
6370
|
+
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_hx"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
|
|
6369
6371
|
icon_manage_default({ size: 12 });
|
|
6370
6372
|
_html(`</a>${_el_resume($scope6_id, "d", _serialize_guard($scope0_reason, 7))}</div>`);
|
|
6371
6373
|
_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($scope6_id, {
|
|
@@ -6375,7 +6377,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6375
6377
|
return 0;
|
|
6376
6378
|
}
|
|
6377
6379
|
}, $scope4_id, "k", $sg__input_page, $sg__input_page, 1, 0, 1);
|
|
6378
|
-
_html(`</div><div${_attr_class("
|
|
6380
|
+
_html(`</div><div${_attr_class("_hV")}>`);
|
|
6379
6381
|
_if(() => {
|
|
6380
6382
|
if (sessions$1.length === 1 && openPlan) {
|
|
6381
6383
|
const $scope12_id = _scope_id();
|
|
@@ -6383,7 +6385,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6383
6385
|
const $childScope3 = _peek_scope_id();
|
|
6384
6386
|
usage_pcts_default({
|
|
6385
6387
|
agent: openPlan,
|
|
6386
|
-
class: "
|
|
6388
|
+
class: "_hM"
|
|
6387
6389
|
});
|
|
6388
6390
|
_subscribe($openPlan__closures, writeScope($scope12_id, {
|
|
6389
6391
|
a: _existing_scope($childScope3),
|
|
@@ -6394,14 +6396,14 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6394
6396
|
}, $scope4_id, "m");
|
|
6395
6397
|
_for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
|
|
6396
6398
|
const $scope9_id = _scope_id();
|
|
6397
|
-
_html(`<div${_attr_class(["
|
|
6399
|
+
_html(`<div${_attr_class(["_hG", { ["_hw"]: s.id === input.currentTab }])}>`);
|
|
6398
6400
|
_if(() => {
|
|
6399
6401
|
if (renamingId === s.id) {
|
|
6400
6402
|
const $scope11_id = _scope_id();
|
|
6401
6403
|
_html(`<span${_attr_class([
|
|
6402
|
-
"
|
|
6404
|
+
"_s",
|
|
6403
6405
|
phase[sessionPhase(s.state)],
|
|
6404
|
-
"
|
|
6406
|
+
"_hT"
|
|
6405
6407
|
])}></span>${_el_resume($scope11_id, "a", $sg__input_sessions)}`);
|
|
6406
6408
|
_set_serialize_reason({
|
|
6407
6409
|
1: $sg__input_sessions,
|
|
@@ -6411,17 +6413,17 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6411
6413
|
icon_agent_default({
|
|
6412
6414
|
agent: activeAgent(s),
|
|
6413
6415
|
size: 13,
|
|
6414
|
-
class: "
|
|
6416
|
+
class: "_hX"
|
|
6415
6417
|
});
|
|
6416
6418
|
_html(`<input${_attr_input_value($scope11_id, "c", renameValue, _resume((_new_renameValue) => {
|
|
6417
6419
|
renameValue = _new_renameValue;
|
|
6418
|
-
}, "z0", $scope11_id))}${_attr_class(["
|
|
6420
|
+
}, "z0", $scope11_id))}${_attr_class(["_N", "_hU"])} aria-label="Session name">${_el_resume($scope11_id, "c")}`);
|
|
6419
6421
|
_script($scope11_id, "z5");
|
|
6420
6422
|
_subscribe($renameValue__closures, writeScope($scope11_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
|
|
6421
6423
|
return 0;
|
|
6422
6424
|
} else {
|
|
6423
6425
|
const $scope10_id = _scope_id();
|
|
6424
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("
|
|
6426
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("_hW")}><span${_attr_class(["_s", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope10_id, "b", $sg__input_sessions)}`);
|
|
6425
6427
|
_set_serialize_reason({
|
|
6426
6428
|
1: $sg__input_sessions,
|
|
6427
6429
|
2: $sg__input_sessions
|
|
@@ -6430,11 +6432,11 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6430
6432
|
icon_agent_default({
|
|
6431
6433
|
agent: activeAgent(s),
|
|
6432
6434
|
size: 13,
|
|
6433
|
-
class: "
|
|
6435
|
+
class: "_hX"
|
|
6434
6436
|
});
|
|
6435
|
-
_html(`<span${_attr_class("
|
|
6437
|
+
_html(`<span${_attr_class("_hR")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope10_id, "e", $sg__input_sessions)}</span></a>${_el_resume($scope10_id, "a", _serialize_guard($scope0_reason, 5))}<div${_attr_class("_hS")}><button${_attr_class(rowIcon)} title="Rename session">`);
|
|
6436
6438
|
icon_edit_default({ size: 12 });
|
|
6437
|
-
_html(`</button>${_el_resume($scope10_id, "g")}<button${_attr_class([close, { ["
|
|
6439
|
+
_html(`</button>${_el_resume($scope10_id, "g")}<button${_attr_class([close, { ["_k"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
|
|
6438
6440
|
icon_xmark_default({ size: 12 });
|
|
6439
6441
|
_html(`</button>${_el_resume($scope10_id, "i")}</div>`);
|
|
6440
6442
|
_if(() => {
|
|
@@ -6444,7 +6446,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
6444
6446
|
const $childScope6 = _peek_scope_id();
|
|
6445
6447
|
usage_pcts_default({
|
|
6446
6448
|
agent: openPlan,
|
|
6447
|
-
class: "
|
|
6449
|
+
class: "_hN"
|
|
6448
6450
|
});
|
|
6449
6451
|
_subscribe($openPlan__closures, writeScope($scope13_id, {
|
|
6450
6452
|
a: _existing_scope($childScope6),
|
|
@@ -6660,34 +6662,34 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6660
6662
|
const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
|
|
6661
6663
|
_html(`<script${_attr_nonce()}>${_escape_script(`
|
|
6662
6664
|
${_to_text(`if (matchMedia("(max-width: 899px)").matches) document.documentElement.classList.add("work-no-rail");`)};
|
|
6663
|
-
`)}<\/script><aside${_attr_class(["
|
|
6664
|
-
["
|
|
6665
|
-
["
|
|
6665
|
+
`)}<\/script><aside${_attr_class(["_d1", {
|
|
6666
|
+
["_dZ"]: !navOpen,
|
|
6667
|
+
["_d0"]: isPage
|
|
6666
6668
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
6667
6669
|
_if(() => {
|
|
6668
6670
|
if (isPage) {
|
|
6669
6671
|
const $scope1_id = _scope_id();
|
|
6670
|
-
_html(`<header${_attr_class("
|
|
6672
|
+
_html(`<header${_attr_class("_d4")}><div${_attr_class("_ec")}>`);
|
|
6671
6673
|
_if(() => {
|
|
6672
6674
|
if (input.instanceName) {
|
|
6673
6675
|
const $scope2_id = _scope_id();
|
|
6674
|
-
_html(`<div${_attr_class("
|
|
6676
|
+
_html(`<div${_attr_class("_d_")} title="This work server (Settings → Appearance)"><img${_attr_class("_ea")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_eb")}>${_escape(input.instanceName)}${_el_resume($scope2_id, "d", $sg__input_instanceName)}</span></div>`);
|
|
6675
6677
|
_subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
|
|
6676
6678
|
return 0;
|
|
6677
6679
|
}
|
|
6678
6680
|
}, $scope1_id, "c", $sg__input_instanceName, $sg__input_instanceName, 1, 0, 1);
|
|
6679
|
-
_html(`<h1${_attr_class("
|
|
6681
|
+
_html(`<h1${_attr_class("_d5")}>Workspaces</h1></div><div${_attr_class("_d6")}>`);
|
|
6680
6682
|
_if(() => {}, $scope1_id, "f", 1, 1, 1, 0, 1);
|
|
6681
6683
|
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
|
|
6682
6684
|
iconBtn$1,
|
|
6683
|
-
"
|
|
6684
|
-
{ ["
|
|
6685
|
+
"_d7",
|
|
6686
|
+
{ ["_dW"]: view === "settings" }
|
|
6685
6687
|
])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
6686
6688
|
icon_settings_default({ size: 16 });
|
|
6687
6689
|
_if(() => {
|
|
6688
6690
|
if (input.setupReady === false) {
|
|
6689
6691
|
const $scope12_id = _scope_id();
|
|
6690
|
-
_html(`<span${_attr_class(["
|
|
6692
|
+
_html(`<span${_attr_class(["_s", "_dY"])} title="Machine setup incomplete"></span>`);
|
|
6691
6693
|
$si__input_setupReady && writeScope($scope12_id, {});
|
|
6692
6694
|
return 0;
|
|
6693
6695
|
}
|
|
@@ -6700,18 +6702,18 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6700
6702
|
_if(() => {
|
|
6701
6703
|
if (!isPage && input.instanceName) {
|
|
6702
6704
|
const $scope3_id = _scope_id();
|
|
6703
|
-
_html(`<div${_attr_class("
|
|
6705
|
+
_html(`<div${_attr_class("_d_")} title="This work server (Settings → Appearance)"><img${_attr_class("_ea")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_eb")}>${_escape(input.instanceName)}${_el_resume($scope3_id, "d", $sg__input_instanceName)}</span></div>`);
|
|
6704
6706
|
writeScope($scope3_id, {});
|
|
6705
6707
|
return 0;
|
|
6706
6708
|
}
|
|
6707
6709
|
}, $scope0_id, "d", 1, 1, 1, 0, 1);
|
|
6708
|
-
_html(`<div${_attr_class("
|
|
6710
|
+
_html(`<div${_attr_class("_ed")}>`);
|
|
6709
6711
|
_for_of(listIds, (wsId) => {
|
|
6710
6712
|
const $scope4_id = _scope_id();
|
|
6711
6713
|
_if(() => {
|
|
6712
6714
|
if (isPage && wsId === ws.id) {
|
|
6713
6715
|
const $scope13_id = _scope_id();
|
|
6714
|
-
_html(`<h2${_attr_class(["_bL", "
|
|
6716
|
+
_html(`<h2${_attr_class(["_bL", "_d8"])}>Current</h2>`);
|
|
6715
6717
|
writeScope($scope13_id, {});
|
|
6716
6718
|
return 0;
|
|
6717
6719
|
}
|
|
@@ -6719,7 +6721,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6719
6721
|
_if(() => {
|
|
6720
6722
|
if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
|
|
6721
6723
|
const $scope14_id = _scope_id();
|
|
6722
|
-
_html(`<h2${_attr_class(["_bL", "
|
|
6724
|
+
_html(`<h2${_attr_class(["_bL", "_d8"])}>Other workspaces</h2>`);
|
|
6723
6725
|
writeScope($scope14_id, {});
|
|
6724
6726
|
return 0;
|
|
6725
6727
|
}
|
|
@@ -6803,7 +6805,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6803
6805
|
railHover = null;
|
|
6804
6806
|
}, 150);
|
|
6805
6807
|
}, "A6", $scope5_id);
|
|
6806
|
-
_html(`<div${_attr_class("
|
|
6808
|
+
_html(`<div${_attr_class("_ee")} data-rail>`);
|
|
6807
6809
|
_for_of(itemIds, (wsId, i) => {
|
|
6808
6810
|
const $scope6_id = _scope_id();
|
|
6809
6811
|
_html("<span>");
|
|
@@ -6857,7 +6859,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6857
6859
|
if (railHover) {
|
|
6858
6860
|
const $scope7_id = _scope_id();
|
|
6859
6861
|
const hoverId = railHover.id;
|
|
6860
|
-
_html(`<div${_attr_class(["
|
|
6862
|
+
_html(`<div${_attr_class(["_Y", "_eh"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
|
|
6861
6863
|
_set_serialize_reason({
|
|
6862
6864
|
0: 1,
|
|
6863
6865
|
1: 1,
|
|
@@ -6942,15 +6944,15 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6942
6944
|
return 0;
|
|
6943
6945
|
}
|
|
6944
6946
|
}, $scope0_id, "f");
|
|
6945
|
-
_html(`<div${_attr_class("
|
|
6947
|
+
_html(`<div${_attr_class("_ef")}>`);
|
|
6946
6948
|
_if(() => {
|
|
6947
6949
|
if (isPage) {
|
|
6948
6950
|
const $scope9_id = _scope_id();
|
|
6949
6951
|
_html(`<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([
|
|
6950
|
-
"
|
|
6951
|
-
"
|
|
6952
|
+
"_i",
|
|
6953
|
+
"_j",
|
|
6952
6954
|
btnLg,
|
|
6953
|
-
"
|
|
6955
|
+
"_d9"
|
|
6954
6956
|
])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
6955
6957
|
icon_folder_plus_default({ size: 16 });
|
|
6956
6958
|
_html(` New workspace</a>${_el_resume($scope9_id, "a")}`);
|
|
@@ -6972,19 +6974,19 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6972
6974
|
return 1;
|
|
6973
6975
|
}
|
|
6974
6976
|
}, $scope8_id, "a", 1, 1, 1, "</button>", 1);
|
|
6975
|
-
_html(`<div${_attr_class(["
|
|
6977
|
+
_html(`<div${_attr_class(["_r", "_eg"])}></div>`);
|
|
6976
6978
|
_if(() => {}, $scope8_id, "c", 1, 1, 1, 0, 1);
|
|
6977
|
-
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["
|
|
6979
|
+
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["_dW"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
6978
6980
|
icon_settings_default({ size: 15 });
|
|
6979
6981
|
_if(() => {
|
|
6980
6982
|
if (input.setupReady === false) {
|
|
6981
6983
|
const $scope17_id = _scope_id();
|
|
6982
|
-
_html(`<span${_attr_class(["
|
|
6984
|
+
_html(`<span${_attr_class(["_s", "_dY"])} title="Machine setup incomplete"></span>`);
|
|
6983
6985
|
$si__input_setupReady && writeScope($scope17_id, {});
|
|
6984
6986
|
return 0;
|
|
6985
6987
|
}
|
|
6986
6988
|
}, $scope8_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
6987
|
-
_html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["
|
|
6989
|
+
_html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["_dW"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
6988
6990
|
icon_folder_plus_default({ size: 16 });
|
|
6989
6991
|
_html(`</a>${_el_resume($scope8_id, "g")}`);
|
|
6990
6992
|
_script($scope8_id, "A15");
|
|
@@ -7052,12 +7054,12 @@ var side_nav_default = _template("A", (input) => {
|
|
|
7052
7054
|
});
|
|
7053
7055
|
_resume_branch($scope0_id);
|
|
7054
7056
|
});
|
|
7055
|
-
var iconBtn = "
|
|
7056
|
-
var sectionCount = "_bz
|
|
7057
|
-
var content = "
|
|
7058
|
-
var pageMeta = "
|
|
7059
|
-
var pathMeta = "
|
|
7060
|
-
var dangerHint = "
|
|
7057
|
+
var iconBtn = "_T _d";
|
|
7058
|
+
var sectionCount = "_bz _B _C";
|
|
7059
|
+
var content = "_eN _bc";
|
|
7060
|
+
var pageMeta = "_eO _bh";
|
|
7061
|
+
var pathMeta = "_eR _q";
|
|
7062
|
+
var dangerHint = "_eW _L";
|
|
7061
7063
|
//#endregion
|
|
7062
7064
|
//#region src/tags/icons/icon-clipboard.marko
|
|
7063
7065
|
var icon_clipboard_default = _template("U", (input) => {
|
|
@@ -7223,7 +7225,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7223
7225
|
setTimeout(() => loadProcs(void 0), 500);
|
|
7224
7226
|
}, "q8", $scope0_id);
|
|
7225
7227
|
const titleId = _id();
|
|
7226
|
-
_html(`<div${_attr_class("
|
|
7228
|
+
_html(`<div${_attr_class("_ba")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bb")}><div${_attr_class(content)}>`);
|
|
7227
7229
|
_set_serialize_reason(286);
|
|
7228
7230
|
let $actions;
|
|
7229
7231
|
if (ws.repos.length) $actions = attrTag({ content: _content_resume("q16", () => {
|
|
@@ -7259,16 +7261,16 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7259
7261
|
meta: attrTag({ content: _content_resume("q15", () => {
|
|
7260
7262
|
_scope_reason();
|
|
7261
7263
|
const $scope14_id = _scope_id();
|
|
7262
|
-
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("
|
|
7264
|
+
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_eP")}>${_escape(ws.name)}${_el_resume($scope14_id, "c")}</span>`);
|
|
7263
7265
|
_if(() => {
|
|
7264
7266
|
if (ws.status !== "active") {
|
|
7265
7267
|
const $scope18_id = _scope_id();
|
|
7266
|
-
_html(`<span${_attr_class(["
|
|
7268
|
+
_html(`<span${_attr_class(["_B", "_D"])}>Archived</span>`);
|
|
7267
7269
|
writeScope($scope18_id, {});
|
|
7268
7270
|
return 0;
|
|
7269
7271
|
}
|
|
7270
7272
|
}, $scope14_id, "d", 1, 1, 1, 0, 1);
|
|
7271
|
-
_html(`<span${_attr_class("
|
|
7273
|
+
_html(`<span${_attr_class("_eQ")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope14_id, "g")}</span></span>${_el_resume($scope14_id, "a")}`);
|
|
7272
7274
|
_subscribe($ws_status__closures, _subscribe($ws_path__closures, _subscribe($ws_display_path__closures, _subscribe($ws_name__closures, writeScope($scope14_id, { _: _scope_with_id($scope0_id) })))));
|
|
7273
7275
|
_resume_branch($scope14_id);
|
|
7274
7276
|
}, $scope0_id) })
|
|
@@ -7296,12 +7298,12 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7296
7298
|
_if(() => {
|
|
7297
7299
|
if (pendingAction && actionStep) {
|
|
7298
7300
|
const $scope11_id = _scope_id();
|
|
7299
|
-
_html(`<p${_attr_class("_bw")}><span${_attr_class("
|
|
7301
|
+
_html(`<p${_attr_class("_bw")}><span${_attr_class("_y")}></span><!>${_escape(actionStep)}${_el_resume($scope11_id, "c")}</p>`);
|
|
7300
7302
|
writeScope($scope11_id, {});
|
|
7301
7303
|
return 0;
|
|
7302
7304
|
}
|
|
7303
7305
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
7304
|
-
_html(`<section${_attr_class("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Workspace</h2></div><div${_attr_class("
|
|
7306
|
+
_html(`<section${_attr_class("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Workspace</h2></div><div${_attr_class("_eV")}>`);
|
|
7305
7307
|
_if(() => {
|
|
7306
7308
|
if (ws.status === "active") {
|
|
7307
7309
|
const $scope8_id = _scope_id();
|
|
@@ -7319,23 +7321,23 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7319
7321
|
}, $scope0_id, "k", 1, 1, 1, 0, 1);
|
|
7320
7322
|
_html(`<button type=button${_attr_class([
|
|
7321
7323
|
btnLg,
|
|
7322
|
-
"
|
|
7323
|
-
{ ["
|
|
7324
|
-
])}${_attr("disabled", !!pendingAction)}>${pendingAction === "delete" ? "Deleting…" : "Delete"}${_el_resume($scope0_id, "m")}</button>${_el_resume($scope0_id, "l")}</div><p${_attr_class(dangerHint)}>Archive hides the workspace from the list. Delete removes it and its worktrees.</p></section><section${_attr_class("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Repos</h2><span${_attr_class(sectionCount)}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "s")}</span><div${_attr_class("
|
|
7324
|
+
"_l",
|
|
7325
|
+
{ ["_k"]: confirmingDelete }
|
|
7326
|
+
])}${_attr("disabled", !!pendingAction)}>${pendingAction === "delete" ? "Deleting…" : "Delete"}${_el_resume($scope0_id, "m")}</button>${_el_resume($scope0_id, "l")}</div><p${_attr_class(dangerHint)}>Archive hides the workspace from the list. Delete removes it and its worktrees.</p></section><section${_attr_class("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Repos</h2><span${_attr_class(sectionCount)}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "s")}</span><div${_attr_class("_r")}></div><button${_attr_class(iconBtn)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
7325
7327
|
_set_serialize_reason(1);
|
|
7326
7328
|
const $childScope2 = _peek_scope_id();
|
|
7327
7329
|
icon_refresh_default({
|
|
7328
7330
|
size: 14,
|
|
7329
|
-
class: catalogRefreshing && "
|
|
7331
|
+
class: catalogRefreshing && "_x"
|
|
7330
7332
|
});
|
|
7331
7333
|
_html(`</button>${_el_resume($scope0_id, "u")}</div><ul${_attr_class("_bA")}>`);
|
|
7332
7334
|
_for_of(ws.repos, (row) => {
|
|
7333
7335
|
const $scope1_id = _scope_id();
|
|
7334
|
-
_html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}><span${_attr_class(["_bE", "
|
|
7336
|
+
_html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}><span${_attr_class(["_bE", "_q"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bF")}><a${_attr_class(["_bG", "_eT"])}${_attr("href", repoWebUrl(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")}`);
|
|
7335
7337
|
_if(() => {
|
|
7336
7338
|
if (row.base_branch !== row.default_branch) {
|
|
7337
7339
|
const $scope21_id = _scope_id();
|
|
7338
|
-
_html(`<span${_attr_class(["
|
|
7340
|
+
_html(`<span${_attr_class(["_B", "_q"])} title="Base branch">`);
|
|
7339
7341
|
icon_branch_default({ size: 12 });
|
|
7340
7342
|
_html(` <!>${_escape(row.base_branch)}${_el_resume($scope21_id, "c")}</span>`);
|
|
7341
7343
|
writeScope($scope21_id, {});
|
|
@@ -7346,16 +7348,16 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7346
7348
|
_if(() => {
|
|
7347
7349
|
if (busy.has(row.full_name)) {
|
|
7348
7350
|
const $scope22_id = _scope_id();
|
|
7349
|
-
_html(`<span${_attr_class("
|
|
7351
|
+
_html(`<span${_attr_class("_y")}></span>`);
|
|
7350
7352
|
writeScope($scope22_id, {});
|
|
7351
7353
|
return 0;
|
|
7352
7354
|
} else {
|
|
7353
7355
|
const $scope10_id = _scope_id();
|
|
7354
7356
|
_html(`<button${_attr_class([
|
|
7355
7357
|
"_bH",
|
|
7356
|
-
"
|
|
7357
|
-
"
|
|
7358
|
-
{ ["
|
|
7358
|
+
"_W",
|
|
7359
|
+
"_X",
|
|
7360
|
+
{ ["_k"]: confirmingRemove === row.full_name }
|
|
7359
7361
|
])}${confirmingRemove === row.full_name ? _attr("title", `Remove ${row.worktree}/? Uncommitted changes are lost.`) : _attr("title", `Remove ${row.worktree}/`)}>`);
|
|
7360
7362
|
_if(() => {
|
|
7361
7363
|
if (confirmingRemove === row.full_name) {
|
|
@@ -7385,7 +7387,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7385
7387
|
}, "full_name", $scope0_id, "x", 1, 1, 1, 0, 1);
|
|
7386
7388
|
_for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
|
|
7387
7389
|
const $scope25_id = _scope_id();
|
|
7388
|
-
_html(`<li${_attr_class(["_bC", "_bB"])}><span${_attr_class("
|
|
7390
|
+
_html(`<li${_attr_class(["_bC", "_bB"])}><span${_attr_class("_y")}></span><div${_attr_class("_bD")}><span${_attr_class("_bG")}>Adding <!>${_escape(name)}${_el_resume($scope25_id, "e")}…</span></div></li>`);
|
|
7389
7391
|
writeScope($scope25_id, {});
|
|
7390
7392
|
}, (n) => n, $scope0_id, "y", 1, 1, 1, 0, 1);
|
|
7391
7393
|
_html("</ul>");
|
|
@@ -7397,7 +7399,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7397
7399
|
return 0;
|
|
7398
7400
|
}
|
|
7399
7401
|
}, $scope0_id, "z", 1, 1, 1, 0, 1);
|
|
7400
|
-
_html(`<div${_attr_class("
|
|
7402
|
+
_html(`<div${_attr_class("_eS")}>`);
|
|
7401
7403
|
const $childScope3 = _peek_scope_id();
|
|
7402
7404
|
let refreshCatalog = repo_picker_default({
|
|
7403
7405
|
exclude: inWorkspace,
|
|
@@ -7430,20 +7432,20 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7430
7432
|
_html(`</div><ul${_attr_class("_bA")}>`);
|
|
7431
7433
|
_for_of(wsSkills, (s) => {
|
|
7432
7434
|
const $scope3_id = _scope_id();
|
|
7433
|
-
_html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}><span${_attr_class(["_bE", "
|
|
7435
|
+
_html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}><span${_attr_class(["_bE", "_q"])}>${_escape(s.name)}${_el_resume($scope3_id, "d")}</span><span${_attr_class("_bF")}>`);
|
|
7434
7436
|
_if(() => {
|
|
7435
7437
|
if (s.broken) {
|
|
7436
7438
|
const $scope28_id = _scope_id();
|
|
7437
7439
|
_html(`<span${_attr_class([
|
|
7438
|
-
"
|
|
7439
|
-
"
|
|
7440
|
+
"_B",
|
|
7441
|
+
"_D",
|
|
7440
7442
|
tone.danger
|
|
7441
7443
|
])}${_attr("title", `Points into ${s.worktree || "a repo"} that is no longer here`)}>broken link</span>${_el_resume($scope28_id, "a")}`);
|
|
7442
7444
|
writeScope($scope28_id, {});
|
|
7443
7445
|
return 0;
|
|
7444
7446
|
} else if (s.worktree) {
|
|
7445
7447
|
const $scope29_id = _scope_id();
|
|
7446
|
-
_html(`<span${_attr_class(["
|
|
7448
|
+
_html(`<span${_attr_class(["_B", "_q"])}>from <!>${_escape(s.worktree)}${_el_resume($scope29_id, "b")}/</span>`);
|
|
7447
7449
|
writeScope($scope29_id, {});
|
|
7448
7450
|
return 1;
|
|
7449
7451
|
}
|
|
@@ -7451,7 +7453,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7451
7453
|
_if(() => {
|
|
7452
7454
|
if (s.shadows === "global") {
|
|
7453
7455
|
const $scope33_id = _scope_id();
|
|
7454
|
-
_html(`<span${_attr_class("
|
|
7456
|
+
_html(`<span${_attr_class("_B")} title="Used instead of the system skill of the same name">overrides system</span>`);
|
|
7455
7457
|
writeScope($scope33_id, {});
|
|
7456
7458
|
return 0;
|
|
7457
7459
|
}
|
|
@@ -7459,7 +7461,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7459
7461
|
_if(() => {
|
|
7460
7462
|
if (skills && s.agents.length < skills.agents.length) {
|
|
7461
7463
|
const $scope30_id = _scope_id();
|
|
7462
|
-
_html(`<span${_attr_class("
|
|
7464
|
+
_html(`<span${_attr_class("_B")}${_attr("title", `Only for ${s.agents.map(agentLabel).join(", ")}`)}>${_escape(s.agents.map(agentLabel).join(", "))}${_el_resume($scope30_id, "b")} only</span>${_el_resume($scope30_id, "a")}`);
|
|
7463
7465
|
writeScope($scope30_id, {});
|
|
7464
7466
|
return 0;
|
|
7465
7467
|
}
|
|
@@ -7476,7 +7478,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7476
7478
|
_if(() => {
|
|
7477
7479
|
if (s.sourceUrl) {
|
|
7478
7480
|
const $scope32_id = _scope_id();
|
|
7479
|
-
_html(`<a${_attr_class(["_bG", "
|
|
7481
|
+
_html(`<a${_attr_class(["_bG", "_eT"])}${_attr("href", s.sourceUrl)} target=_blank rel=noopener${_attr("title", `Open ${s.source} on GitHub`)}>${_escape(s.source)}${_el_resume($scope32_id, "b")}</a>${_el_resume($scope32_id, "a")}`);
|
|
7480
7482
|
writeScope($scope32_id, {});
|
|
7481
7483
|
return 0;
|
|
7482
7484
|
}
|
|
@@ -7485,16 +7487,16 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7485
7487
|
_if(() => {
|
|
7486
7488
|
if (busy.has(s.id)) {
|
|
7487
7489
|
const $scope34_id = _scope_id();
|
|
7488
|
-
_html(`<span${_attr_class("
|
|
7490
|
+
_html(`<span${_attr_class("_y")}></span>`);
|
|
7489
7491
|
writeScope($scope34_id, {});
|
|
7490
7492
|
return 0;
|
|
7491
7493
|
} else {
|
|
7492
7494
|
const $scope12_id = _scope_id();
|
|
7493
7495
|
_html(`<button${_attr_class([
|
|
7494
7496
|
"_bH",
|
|
7495
|
-
"
|
|
7496
|
-
"
|
|
7497
|
-
{ ["
|
|
7497
|
+
"_W",
|
|
7498
|
+
"_X",
|
|
7499
|
+
{ ["_k"]: confirmingSkill === s.id }
|
|
7498
7500
|
])}${confirmingSkill === s.id ? _attr("title", `Remove ${s.name} from this workspace?`) : s.linked ? _attr("title", `Stop using ${s.name} here`) : _attr("title", `Remove ${s.name}`)}>`);
|
|
7499
7501
|
_if(() => {
|
|
7500
7502
|
if (confirmingSkill === s.id) {
|
|
@@ -7532,11 +7534,11 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7532
7534
|
_html(`<ul${_attr_class("_bA")}>`);
|
|
7533
7535
|
_for_of(repoSkills, (s) => {
|
|
7534
7536
|
const $scope5_id = _scope_id();
|
|
7535
|
-
_html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}><span${_attr_class(["_bE", "
|
|
7537
|
+
_html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}><span${_attr_class(["_bE", "_q"])}>${_escape(s.name)}${_el_resume($scope5_id, "d")}</span><span${_attr_class("_bF")}><span${_attr_class(["_bG", "_q"])}>${_escape(s.worktree)}${_el_resume($scope5_id, "g")}/</span>`);
|
|
7536
7538
|
_if(() => {
|
|
7537
7539
|
if (s.shadows) {
|
|
7538
7540
|
const $scope37_id = _scope_id();
|
|
7539
|
-
_html(`<span${_attr_class("
|
|
7541
|
+
_html(`<span${_attr_class("_B")}${_attr("title", `A ${s.shadows} skill of the same name already exists`)}>name taken</span>${_el_resume($scope37_id, "a")}`);
|
|
7540
7542
|
writeScope($scope37_id, {});
|
|
7541
7543
|
return 0;
|
|
7542
7544
|
}
|
|
@@ -7554,7 +7556,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7554
7556
|
_if(() => {
|
|
7555
7557
|
if (busy.has(s.id)) {
|
|
7556
7558
|
const $scope39_id = _scope_id();
|
|
7557
|
-
_html(`<span${_attr_class("
|
|
7559
|
+
_html(`<span${_attr_class("_y")}></span>`);
|
|
7558
7560
|
writeScope($scope39_id, {});
|
|
7559
7561
|
return 0;
|
|
7560
7562
|
} else if (!s.shadows) {
|
|
@@ -7591,14 +7593,14 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7591
7593
|
_html(`<section${_attr_class("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Running</h2><span${_attr_class(sectionCount)}>${_escape(running.length)}${_el_resume($scope16_id, "e")}</span></div><ul${_attr_class("_bA")}>`);
|
|
7592
7594
|
_for_of(running, (p) => {
|
|
7593
7595
|
const $scope17_id = _scope_id();
|
|
7594
|
-
_html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}${_attr("title", p.args)}><span${_attr_class(["_bE", "
|
|
7596
|
+
_html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}${_attr("title", p.args)}><span${_attr_class(["_bE", "_q"])}>${_escape(p.cmd)}${_el_resume($scope17_id, "d")}</span>`);
|
|
7595
7597
|
_if(() => {
|
|
7596
7598
|
if (p.ports.length) {
|
|
7597
7599
|
const $scope40_id = _scope_id();
|
|
7598
7600
|
_html(`<span${_attr_class("_bF")}>`);
|
|
7599
7601
|
_for_of(p.ports, (port) => {
|
|
7600
7602
|
const $scope41_id = _scope_id();
|
|
7601
|
-
_html(`<button${_attr_class(["
|
|
7603
|
+
_html(`<button${_attr_class(["_m", "_eU"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope41_id, "b")}</button>${_el_resume($scope41_id, "a")}`);
|
|
7602
7604
|
_script($scope41_id, "q24");
|
|
7603
7605
|
writeScope($scope41_id, { d: port });
|
|
7604
7606
|
}, (x) => String(x), $scope40_id, "a", 1, 1, 1, "</span>", 1);
|
|
@@ -7606,7 +7608,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7606
7608
|
return 0;
|
|
7607
7609
|
}
|
|
7608
7610
|
}, $scope17_id, "e", 1, 1, 1, 0, 1);
|
|
7609
|
-
_html(`</div>${_el_resume($scope17_id, "b")}<button${_attr_class(["_bH", "
|
|
7611
|
+
_html(`</div>${_el_resume($scope17_id, "b")}<button${_attr_class(["_bH", "_W"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
|
|
7610
7612
|
icon_xmark_default({ size: 14 });
|
|
7611
7613
|
_html(`</button>${_el_resume($scope17_id, "f")}</li>`);
|
|
7612
7614
|
_script($scope17_id, "q25");
|
|
@@ -7687,10 +7689,10 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7687
7689
|
});
|
|
7688
7690
|
_resume_branch($scope0_id);
|
|
7689
7691
|
});
|
|
7690
|
-
var kbtn = "_dV
|
|
7691
|
-
var dpadPaste = "
|
|
7692
|
-
var repeat = "
|
|
7693
|
-
var dpadEsc = "
|
|
7692
|
+
var kbtn = "_dV _U _d";
|
|
7693
|
+
var dpadPaste = "_eI _eH";
|
|
7694
|
+
var repeat = "_eJ _eH";
|
|
7695
|
+
var dpadEsc = "_eL _eH";
|
|
7694
7696
|
//#endregion
|
|
7695
7697
|
//#region src/tags/term-find.marko
|
|
7696
7698
|
var term_find_default = _template("C", (input) => {
|
|
@@ -7727,19 +7729,19 @@ var term_find_default = _template("C", (input) => {
|
|
|
7727
7729
|
const canStep = hasQuery && open;
|
|
7728
7730
|
const keybar = input.placement === "keybar";
|
|
7729
7731
|
_html(`<div${_attr_class([
|
|
7730
|
-
"
|
|
7731
|
-
keybar ? "
|
|
7732
|
-
!open && "
|
|
7733
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
7732
|
+
"_gc",
|
|
7733
|
+
keybar ? "_ge" : "_gd",
|
|
7734
|
+
!open && "_gg"
|
|
7735
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_f8", keybar ? "_gf" : "_f_"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
7734
7736
|
if (!open) return;
|
|
7735
7737
|
query = v;
|
|
7736
7738
|
live.query = v;
|
|
7737
7739
|
run(0);
|
|
7738
|
-
}, "C0", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
7740
|
+
}, "C0", $scope0_id))}${_attr_class([findInput, keybar && "_gh"])} 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 && "_gi"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
7739
7741
|
icon_arrow_up_default({ size: 14 });
|
|
7740
|
-
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
7742
|
+
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_gi"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
7741
7743
|
icon_arrow_down_default({ size: 14 });
|
|
7742
|
-
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
7744
|
+
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_gi"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
|
|
7743
7745
|
icon_xmark_default({ size: 14 });
|
|
7744
7746
|
_html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
|
|
7745
7747
|
_script($scope0_id, "C4");
|
|
@@ -8152,7 +8154,7 @@ var term_default = _template("D", (input) => {
|
|
|
8152
8154
|
trapOpen = true;
|
|
8153
8155
|
}
|
|
8154
8156
|
}, "D14", $scope0_id);
|
|
8155
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
8157
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_ei")}><div${_attr_class("_ej")}></div>${_el_resume($scope0_id, "b")}`);
|
|
8156
8158
|
_if(() => {
|
|
8157
8159
|
if (findOpen) {
|
|
8158
8160
|
const $scope12_id = _scope_id();
|
|
@@ -8179,7 +8181,7 @@ var term_default = _template("D", (input) => {
|
|
|
8179
8181
|
_if(() => {
|
|
8180
8182
|
if (uploading) {
|
|
8181
8183
|
const $scope21_id = _scope_id();
|
|
8182
|
-
_html(`<div${_attr_class("
|
|
8184
|
+
_html(`<div${_attr_class("_ep")}>uploading…</div>`);
|
|
8183
8185
|
writeScope($scope21_id, {});
|
|
8184
8186
|
return 0;
|
|
8185
8187
|
}
|
|
@@ -8187,7 +8189,7 @@ var term_default = _template("D", (input) => {
|
|
|
8187
8189
|
_if(() => {
|
|
8188
8190
|
if (copiedFlash) {
|
|
8189
8191
|
const $scope22_id = _scope_id();
|
|
8190
|
-
_html(`<div${_attr_class("
|
|
8192
|
+
_html(`<div${_attr_class("_eo")}>Copied</div>`);
|
|
8191
8193
|
writeScope($scope22_id, {});
|
|
8192
8194
|
return 0;
|
|
8193
8195
|
}
|
|
@@ -8196,7 +8198,7 @@ var term_default = _template("D", (input) => {
|
|
|
8196
8198
|
_if(() => {
|
|
8197
8199
|
if (trapOpen) {
|
|
8198
8200
|
const $scope11_id = _scope_id();
|
|
8199
|
-
_html(`<div${_attr_class("
|
|
8201
|
+
_html(`<div${_attr_class("_eq")}><div${_attr_class("_er")}><p${_attr_class("_eM")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope11_id, "d")}<button${_attr_class("_i")}>Cancel</button>${_el_resume($scope11_id, "e")}</div>${_el_resume($scope11_id, "b")}</div>${_el_resume($scope11_id, "a")}`);
|
|
8200
8202
|
_script($scope11_id, "D26");
|
|
8201
8203
|
_script($scope11_id, "D27");
|
|
8202
8204
|
writeScope($scope11_id, {});
|
|
@@ -8270,7 +8272,7 @@ var term_default = _template("D", (input) => {
|
|
|
8270
8272
|
popEl.style.top = `${Math.max(8, btn.top - popEl.offsetHeight - 8)}px`;
|
|
8271
8273
|
popEl.style.left = `${Math.max(8, Math.min(btn.left + btn.width / 2 - popEl.offsetWidth / 2, window.innerWidth - popEl.offsetWidth - 8))}px`;
|
|
8272
8274
|
}, "D20", $scope4_id);
|
|
8273
|
-
_html(`<button${_attr_class([kbtn, "
|
|
8275
|
+
_html(`<button${_attr_class([kbtn, "_es"])} title=${onTermPage ? "Sessions" : "\"Back to session\""}${onTermPage ? _attr("popovertarget", sessPopId) : ""}>`);
|
|
8274
8276
|
_set_serialize_reason({
|
|
8275
8277
|
1: $sg__input_agent__OR__input_sessionState,
|
|
8276
8278
|
2: $sg__input_agent__OR__input_sessionState
|
|
@@ -8281,10 +8283,10 @@ var term_default = _template("D", (input) => {
|
|
|
8281
8283
|
size: 16
|
|
8282
8284
|
});
|
|
8283
8285
|
_html(`<span${_attr_class([
|
|
8284
|
-
"
|
|
8285
|
-
"
|
|
8286
|
+
"_s",
|
|
8287
|
+
"_et",
|
|
8286
8288
|
phase[sessionPhase(input.sessionState)]
|
|
8287
|
-
])}></span>${_el_resume($scope4_id, "c", _serialize_guard($scope0_reason, 5))}</button>${_el_resume($scope4_id, "a")}<div${_attr("id", sessPopId)} popover=auto${_attr_class(["
|
|
8289
|
+
])}></span>${_el_resume($scope4_id, "c", _serialize_guard($scope0_reason, 5))}</button>${_el_resume($scope4_id, "a")}<div${_attr("id", sessPopId)} popover=auto${_attr_class(["_Y", "_eu"])}>`);
|
|
8288
8290
|
_if(() => {
|
|
8289
8291
|
if ((input.sessions || []).length > 0) {
|
|
8290
8292
|
const $scope5_id = _scope_id();
|
|
@@ -8300,11 +8302,11 @@ var term_default = _template("D", (input) => {
|
|
|
8300
8302
|
const $scope6_id = _scope_id();
|
|
8301
8303
|
const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
|
|
8302
8304
|
const $for_content__s_id__closures = /* @__PURE__ */ new Set();
|
|
8303
|
-
_html(`<div${_attr_class(["
|
|
8305
|
+
_html(`<div${_attr_class(["_ew", { ["_ev"]: s.id === input.sessionId }])}>`);
|
|
8304
8306
|
_if(() => {
|
|
8305
8307
|
if (renamingId === s.id) {
|
|
8306
8308
|
const $scope24_id = _scope_id();
|
|
8307
|
-
_html(`<span${_attr_class(["
|
|
8309
|
+
_html(`<span${_attr_class(["_s", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope24_id, "a", $sg__input_sessions)}`);
|
|
8308
8310
|
_set_serialize_reason({
|
|
8309
8311
|
1: $sg__input_sessions,
|
|
8310
8312
|
2: $sg__input_sessions
|
|
@@ -8316,13 +8318,13 @@ var term_default = _template("D", (input) => {
|
|
|
8316
8318
|
});
|
|
8317
8319
|
_html(`<input${_attr_input_value($scope24_id, "c", renameValue, _resume((_new_renameValue) => {
|
|
8318
8320
|
renameValue = _new_renameValue;
|
|
8319
|
-
}, "D0", $scope24_id))}${_attr_class(["
|
|
8321
|
+
}, "D0", $scope24_id))}${_attr_class(["_N", "_eB"])} aria-label="Session name">${_el_resume($scope24_id, "c")}`);
|
|
8320
8322
|
_script($scope24_id, "D28");
|
|
8321
8323
|
_subscribe($if_content4__renameValue__closures, writeScope($scope24_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
|
|
8322
8324
|
return 0;
|
|
8323
8325
|
} else {
|
|
8324
8326
|
const $scope7_id = _scope_id();
|
|
8325
|
-
_html(`<button${_attr_class("
|
|
8327
|
+
_html(`<button${_attr_class("_ex")}><span${_attr_class(["_s", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope7_id, "b", $sg__input_sessions)}`);
|
|
8326
8328
|
_set_serialize_reason({
|
|
8327
8329
|
1: $sg__input_sessions,
|
|
8328
8330
|
2: $sg__input_sessions
|
|
@@ -8332,7 +8334,7 @@ var term_default = _template("D", (input) => {
|
|
|
8332
8334
|
agent: activeAgent(s),
|
|
8333
8335
|
size: 14
|
|
8334
8336
|
});
|
|
8335
|
-
_html(`<span${_attr_class("
|
|
8337
|
+
_html(`<span${_attr_class("_ey")}><span${_attr_class("_eA")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope7_id, "f", $sg__input_sessions)}</span>`);
|
|
8336
8338
|
_if(() => {
|
|
8337
8339
|
if (s.id === input.sessionId) {
|
|
8338
8340
|
const $scope23_id = _scope_id();
|
|
@@ -8344,7 +8346,7 @@ var term_default = _template("D", (input) => {
|
|
|
8344
8346
|
const $childScope6 = _peek_scope_id();
|
|
8345
8347
|
usage_pcts_default({
|
|
8346
8348
|
agent: plan,
|
|
8347
|
-
class: "
|
|
8349
|
+
class: "_ez"
|
|
8348
8350
|
});
|
|
8349
8351
|
writeScope($scope26_id, { a: _existing_scope($childScope6) });
|
|
8350
8352
|
return 0;
|
|
@@ -8361,7 +8363,7 @@ var term_default = _template("D", (input) => {
|
|
|
8361
8363
|
_if(() => {
|
|
8362
8364
|
if (input.onRenameSession) {
|
|
8363
8365
|
const $scope25_id = _scope_id();
|
|
8364
|
-
_html(`<button${_attr_class(["
|
|
8366
|
+
_html(`<button${_attr_class(["_eC", "_eD"])} title="Rename session">`);
|
|
8365
8367
|
icon_edit_default({ size: 12 });
|
|
8366
8368
|
_html(`</button>${_el_resume($scope25_id, "a")}`);
|
|
8367
8369
|
_script($scope25_id, "D29");
|
|
@@ -8373,9 +8375,9 @@ var term_default = _template("D", (input) => {
|
|
|
8373
8375
|
if (input.onCloseSession) {
|
|
8374
8376
|
const $scope8_id = _scope_id();
|
|
8375
8377
|
_html(`<button${_attr_class([
|
|
8376
|
-
"
|
|
8377
|
-
"
|
|
8378
|
-
{ ["
|
|
8378
|
+
"_eC",
|
|
8379
|
+
"_W",
|
|
8380
|
+
{ ["_k"]: armedClose === s.id }
|
|
8379
8381
|
])} title=${armedClose === s.id ? "Close?" : "\"Close session\""}>`);
|
|
8380
8382
|
icon_xmark_default({ size: 12 });
|
|
8381
8383
|
_html(`</button>${_el_resume($scope8_id, "a")}`);
|
|
@@ -8415,7 +8417,7 @@ var term_default = _template("D", (input) => {
|
|
|
8415
8417
|
return 0;
|
|
8416
8418
|
}
|
|
8417
8419
|
}, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions, $sg__input_sessions);
|
|
8418
|
-
_html(`<div${_attr_class("
|
|
8420
|
+
_html(`<div${_attr_class("_eE")}><span${_attr_class("_eF")}>New session</span>`);
|
|
8419
8421
|
_for_of([...input.agents || [], "shell"], (agent) => {
|
|
8420
8422
|
const $scope9_id = _scope_id();
|
|
8421
8423
|
_html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
|
|
@@ -8480,7 +8482,7 @@ var term_default = _template("D", (input) => {
|
|
|
8480
8482
|
overlay: attrTag({ content: _content_resume("D46", () => {
|
|
8481
8483
|
_scope_reason();
|
|
8482
8484
|
const $scope15_id = _scope_id();
|
|
8483
|
-
_html(`<div${_attr("id", $dpadId_getter)} popover=auto${_attr_class("
|
|
8485
|
+
_html(`<div${_attr("id", $dpadId_getter)} popover=auto${_attr_class("_eG")}>`);
|
|
8484
8486
|
forOf(DPAD, (row) => {
|
|
8485
8487
|
const $scope16_id = _scope_id();
|
|
8486
8488
|
forOf(row, (cell) => {
|
|
@@ -8500,7 +8502,7 @@ var term_default = _template("D", (input) => {
|
|
|
8500
8502
|
writeScope($scope18_id, { _: _scope_with_id($scope17_id) });
|
|
8501
8503
|
} else {
|
|
8502
8504
|
const $scope19_id = _scope_id();
|
|
8503
|
-
_html(`<button${_attr_class([repeat, { ["
|
|
8505
|
+
_html(`<button${_attr_class([repeat, { ["_eK"]: cell.icon === "enter" }])}${_attr("title", cell.label)}${_attr("aria-label", cell.label)}>`);
|
|
8504
8506
|
if (cell.icon === "arrow-up") {
|
|
8505
8507
|
_scope_id();
|
|
8506
8508
|
icon_arrow_up_default({ size: 18 });
|
|
@@ -8640,7 +8642,7 @@ var work_view_default = _template("H", (input) => {
|
|
|
8640
8642
|
let DiffView = null;
|
|
8641
8643
|
const loadDiffView = _resume(() => {
|
|
8642
8644
|
if (DiffView) return;
|
|
8643
|
-
import("./
|
|
8645
|
+
import("./_CqM296sK.js").then((m) => {
|
|
8644
8646
|
DiffView = m.default;
|
|
8645
8647
|
});
|
|
8646
8648
|
}, "H6", $scope0_id);
|
|
@@ -9119,7 +9121,7 @@ var work_view_default = _template("H", (input) => {
|
|
|
9119
9121
|
_if(() => {
|
|
9120
9122
|
if (!shownSessions.length && view === "term") {
|
|
9121
9123
|
const $scope7_id = _scope_id();
|
|
9122
|
-
_html(`<div${_attr_class("_bJ")}><span>No sessions in this workspace.</span><button${_attr_class(["
|
|
9124
|
+
_html(`<div${_attr_class("_bJ")}><span>No sessions in this workspace.</span><button${_attr_class(["_i", "_j"])}${_attr("disabled", spawning)}>${spawning ? "Starting…" : `Start ${_escape(`${input.preferred || "shell"}`)}`}${_el_resume($scope7_id, "c")}</button>${_el_resume($scope7_id, "b")}</div>`);
|
|
9123
9125
|
_script($scope7_id, "H51");
|
|
9124
9126
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
|
|
9125
9127
|
return 0;
|
|
@@ -9405,7 +9407,7 @@ var app_shell_default = _template("c", (input) => {
|
|
|
9405
9407
|
};
|
|
9406
9408
|
navNonce++;
|
|
9407
9409
|
}, "c6", $scope0_id);
|
|
9408
|
-
_html(`<div${_attr_class("
|
|
9410
|
+
_html(`<div${_attr_class("_3")}>`);
|
|
9409
9411
|
_if(() => {
|
|
9410
9412
|
if (error) {
|
|
9411
9413
|
const $scope5_id = _scope_id();
|
|
@@ -9429,7 +9431,7 @@ var app_shell_default = _template("c", (input) => {
|
|
|
9429
9431
|
_if(() => {
|
|
9430
9432
|
if (!selectedId && showSetup) {
|
|
9431
9433
|
const $scope4_id = _scope_id();
|
|
9432
|
-
_html(`<div${_attr_class("
|
|
9434
|
+
_html(`<div${_attr_class("_7")}>`);
|
|
9433
9435
|
_set_serialize_reason(210);
|
|
9434
9436
|
const $childScope = _peek_scope_id();
|
|
9435
9437
|
settings_page_default({
|
|
@@ -9463,7 +9465,7 @@ var app_shell_default = _template("c", (input) => {
|
|
|
9463
9465
|
};
|
|
9464
9466
|
}, "c11", $scope4_id)
|
|
9465
9467
|
});
|
|
9466
|
-
_html(`<div${_attr_class("
|
|
9468
|
+
_html(`<div${_attr_class("_8")}><button type=button${_attr_class("_i")}>Later, go to workspaces</button>${_el_resume($scope4_id, "d")}</div></div>`);
|
|
9467
9469
|
_script($scope4_id, "c27");
|
|
9468
9470
|
writeScope($scope4_id, { b: _existing_scope($childScope) });
|
|
9469
9471
|
return 0;
|
|
@@ -9488,14 +9490,14 @@ var app_shell_default = _template("c", (input) => {
|
|
|
9488
9490
|
return 1;
|
|
9489
9491
|
}
|
|
9490
9492
|
}, $scope0_id, "d", 1, 1, 1, 0, 1);
|
|
9491
|
-
_html(`<div${_attr_class(["
|
|
9493
|
+
_html(`<div${_attr_class(["_4", { ["_5"]: !selectedId }])}>`);
|
|
9492
9494
|
_for_of(openIds, (id) => {
|
|
9493
9495
|
const $scope1_id = _scope_id();
|
|
9494
9496
|
const ws = workspaces.find((w) => w.id === id);
|
|
9495
9497
|
_if(() => {
|
|
9496
9498
|
if (ws) {
|
|
9497
9499
|
const $scope2_id = _scope_id();
|
|
9498
|
-
_html(`<div${_attr_class("
|
|
9500
|
+
_html(`<div${_attr_class("_6")}${_attr("inert", ws.id !== selectedId)}>`);
|
|
9499
9501
|
_set_serialize_reason(262142);
|
|
9500
9502
|
const $childScope3 = _peek_scope_id();
|
|
9501
9503
|
work_view_default({
|
|
@@ -9709,7 +9711,7 @@ function head2(context) {
|
|
|
9709
9711
|
//#region src/routes/_app/settings/+handler.ts
|
|
9710
9712
|
/** Settings is about the doctor snapshot, so this page waits for it and
|
|
9711
9713
|
* server-renders every section (the shell still streams first). */
|
|
9712
|
-
var GET$
|
|
9714
|
+
var GET$25 = Run.GET(async (_ctx, next) => {
|
|
9713
9715
|
return next({ setup: await getSetup().catch(() => null) });
|
|
9714
9716
|
});
|
|
9715
9717
|
//#endregion
|
|
@@ -9738,12 +9740,12 @@ var settings_default = _template("AA0T2xt", (input) => {
|
|
|
9738
9740
|
var settings_server_entry_default = withPageAssets(settings_default, flush, "AA0T2xt");
|
|
9739
9741
|
//#endregion
|
|
9740
9742
|
//#region __marko-run__settings.js
|
|
9741
|
-
var getHandler$
|
|
9742
|
-
var get3_options = normalizeOptions("GET", mware3, getHandler$
|
|
9743
|
+
var getHandler$25 = normalizeHandler(GET$25, "GET");
|
|
9744
|
+
var get3_options = normalizeOptions("GET", mware3, getHandler$25);
|
|
9743
9745
|
var head3_options = normalizeOptions("HEAD", mware3);
|
|
9744
9746
|
function get3(context) {
|
|
9745
9747
|
const __page = (data) => render(context, settings_server_entry_default, {}, data);
|
|
9746
|
-
const __getHandler = (data) => call(getHandler$
|
|
9748
|
+
const __getHandler = (data) => call(getHandler$25, __page, context, data);
|
|
9747
9749
|
return call(mware3, __getHandler, context);
|
|
9748
9750
|
}
|
|
9749
9751
|
function head3(context) {
|
|
@@ -11520,7 +11522,7 @@ async function restore(m, sel) {
|
|
|
11520
11522
|
}
|
|
11521
11523
|
//#endregion
|
|
11522
11524
|
//#region __marko-run__api.backup.export.js
|
|
11523
|
-
var getHandler$
|
|
11525
|
+
var getHandler$24 = normalizeHandler(Run.GET(() => {
|
|
11524
11526
|
const body = JSON.stringify(encodeManifest(buildManifest()), null, 1) + "\n";
|
|
11525
11527
|
return new Response(body, { headers: {
|
|
11526
11528
|
"content-type": "application/json; charset=utf-8",
|
|
@@ -11528,10 +11530,10 @@ var getHandler$23 = normalizeHandler(Run.GET(() => {
|
|
|
11528
11530
|
"cache-control": "no-store"
|
|
11529
11531
|
} });
|
|
11530
11532
|
}), "GET");
|
|
11531
|
-
var get8_options = normalizeOptions("GET", mware11, getHandler$
|
|
11533
|
+
var get8_options = normalizeOptions("GET", mware11, getHandler$24);
|
|
11532
11534
|
var head8_options = normalizeOptions("HEAD", mware11);
|
|
11533
11535
|
function get8(context) {
|
|
11534
|
-
const __getHandler = (data) => call(getHandler$
|
|
11536
|
+
const __getHandler = (data) => call(getHandler$24, noContent, context, data);
|
|
11535
11537
|
return call(mware11, __getHandler, context);
|
|
11536
11538
|
}
|
|
11537
11539
|
function head8(context) {
|
|
@@ -11684,13 +11686,13 @@ ensureAllPushHooks();
|
|
|
11684
11686
|
resumePendingWorkspaces();
|
|
11685
11687
|
//#endregion
|
|
11686
11688
|
//#region __marko-run__api.boot.js
|
|
11687
|
-
var getHandler$
|
|
11689
|
+
var getHandler$23 = normalizeHandler(Run.GET(() => {
|
|
11688
11690
|
return Response.json({ boot: BOOT_ID }, { headers: { "cache-control": "no-store" } });
|
|
11689
11691
|
}), "GET");
|
|
11690
|
-
var get13_options = normalizeOptions("GET", mware11, getHandler$
|
|
11692
|
+
var get13_options = normalizeOptions("GET", mware11, getHandler$23);
|
|
11691
11693
|
var head13_options = normalizeOptions("HEAD", mware11);
|
|
11692
11694
|
function get13(context) {
|
|
11693
|
-
const __getHandler = (data) => call(getHandler$
|
|
11695
|
+
const __getHandler = (data) => call(getHandler$23, noContent, context, data);
|
|
11694
11696
|
return call(mware11, __getHandler, context);
|
|
11695
11697
|
}
|
|
11696
11698
|
function head13(context) {
|
|
@@ -11698,11 +11700,11 @@ function head13(context) {
|
|
|
11698
11700
|
}
|
|
11699
11701
|
//#endregion
|
|
11700
11702
|
//#region __marko-run__api.events.js
|
|
11701
|
-
var getHandler$
|
|
11702
|
-
var get14_options = normalizeOptions("GET", mware11, getHandler$
|
|
11703
|
+
var getHandler$22 = normalizeHandler(Run.GET(() => Response.json({ error: "events bus is websocket — connect with ws(s)://host/api/events" }, { status: 410 })), "GET");
|
|
11704
|
+
var get14_options = normalizeOptions("GET", mware11, getHandler$22);
|
|
11703
11705
|
var head14_options = normalizeOptions("HEAD", mware11);
|
|
11704
11706
|
function get14(context) {
|
|
11705
|
-
const __getHandler = (data) => call(getHandler$
|
|
11707
|
+
const __getHandler = (data) => call(getHandler$22, noContent, context, data);
|
|
11706
11708
|
return call(mware11, __getHandler, context);
|
|
11707
11709
|
}
|
|
11708
11710
|
function head14(context) {
|
|
@@ -11733,33 +11735,249 @@ function post15(context) {
|
|
|
11733
11735
|
}
|
|
11734
11736
|
//#endregion
|
|
11735
11737
|
//#region __marko-run__api.instance.icon.js
|
|
11736
|
-
var getHandler$
|
|
11738
|
+
var getHandler$21 = normalizeHandler(Run.GET(() => new Response(iconSvg(getInstance().accent), { headers: {
|
|
11737
11739
|
"content-type": "image/svg+xml",
|
|
11738
11740
|
"cache-control": "public, max-age=3600"
|
|
11739
11741
|
} })), "GET");
|
|
11740
|
-
var get16_options = normalizeOptions("GET", mware11, getHandler$
|
|
11742
|
+
var get16_options = normalizeOptions("GET", mware11, getHandler$21);
|
|
11741
11743
|
var head16_options = normalizeOptions("HEAD", mware11);
|
|
11742
11744
|
function get16(context) {
|
|
11743
|
-
const __getHandler = (data) => call(getHandler$
|
|
11745
|
+
const __getHandler = (data) => call(getHandler$21, noContent, context, data);
|
|
11744
11746
|
return call(mware11, __getHandler, context);
|
|
11745
11747
|
}
|
|
11746
11748
|
function head16(context) {
|
|
11747
11749
|
return stripResponseBody(get16(context));
|
|
11748
11750
|
}
|
|
11749
11751
|
//#endregion
|
|
11752
|
+
//#region src/server/icon-png.ts
|
|
11753
|
+
/**
|
|
11754
|
+
* The app icon as PNG, tinted with the instance accent.
|
|
11755
|
+
*
|
|
11756
|
+
* The SVG in `instance.ts` already does this, but an installed app never
|
|
11757
|
+
* gets it: Chrome ranks manifest icons by declared size, so the raster
|
|
11758
|
+
* entries always beat the SVG's `sizes: "any"`, and Safari's `apple-touch-icon`
|
|
11759
|
+
* refuses SVG outright. Both installs therefore wore the same default-blue
|
|
11760
|
+
* glyph while their names differed — the icon is what tells two servers apart
|
|
11761
|
+
* in a dock, so it has to carry the accent.
|
|
11762
|
+
*
|
|
11763
|
+
* Rather than rasterize `iconSvg` (a text glyph needs a font renderer, and a
|
|
11764
|
+
* whole rasterizer dependency for one 128px tile), recolour the art already
|
|
11765
|
+
* in `public/`: every pixel there sits on the line between the tile and the
|
|
11766
|
+
* default glyph colour, so the blend that produced it is recoverable and can
|
|
11767
|
+
* be replayed against another glyph colour.
|
|
11768
|
+
*/
|
|
11769
|
+
/** `public/` in a checkout, `dist/public/` once built — and dist/index.mjs
|
|
11770
|
+
* sits one below the package root where src/server sits two, so find the art
|
|
11771
|
+
* rather than assume a depth (same walk as backup.ts's appVersion). */
|
|
11772
|
+
function findPublicDir() {
|
|
11773
|
+
let dir = path.dirname(fileURLToPath(import.meta.url));
|
|
11774
|
+
for (let i = 0; i < 4; i++) {
|
|
11775
|
+
for (const candidate of [path.join(dir, "public"), path.join(dir, "dist/public")]) if (fs.existsSync(path.join(candidate, "icon-192.png"))) return candidate;
|
|
11776
|
+
dir = path.dirname(dir);
|
|
11777
|
+
}
|
|
11778
|
+
throw new Error("icon art not found");
|
|
11779
|
+
}
|
|
11780
|
+
var publicDir;
|
|
11781
|
+
/** The two colours `public/*.png` was drawn with. */
|
|
11782
|
+
var TILE = [
|
|
11783
|
+
19,
|
|
11784
|
+
19,
|
|
11785
|
+
22
|
|
11786
|
+
];
|
|
11787
|
+
var GLYPH = [
|
|
11788
|
+
124,
|
|
11789
|
+
150,
|
|
11790
|
+
255
|
|
11791
|
+
];
|
|
11792
|
+
/** Blue separates them by the widest margin (233 of 255), so it recovers the
|
|
11793
|
+
* blend factor with the least rounding error of the three channels. */
|
|
11794
|
+
var SPAN = GLYPH[2] - TILE[2];
|
|
11795
|
+
function decode(png) {
|
|
11796
|
+
if (png.readUInt32BE(0) !== 2303741511) throw new Error("not a PNG");
|
|
11797
|
+
let width = 0;
|
|
11798
|
+
let height = 0;
|
|
11799
|
+
let depth = 8;
|
|
11800
|
+
let colorType = 6;
|
|
11801
|
+
const idat = [];
|
|
11802
|
+
for (let at = 8; at + 8 <= png.length;) {
|
|
11803
|
+
const length = png.readUInt32BE(at);
|
|
11804
|
+
const type = png.toString("ascii", at + 4, at + 8);
|
|
11805
|
+
const body = png.subarray(at + 8, at + 8 + length);
|
|
11806
|
+
if (type === "IHDR") {
|
|
11807
|
+
width = body.readUInt32BE(0);
|
|
11808
|
+
height = body.readUInt32BE(4);
|
|
11809
|
+
depth = body[8];
|
|
11810
|
+
colorType = body[9];
|
|
11811
|
+
if (body[10] !== 0 || body[12] !== 0) throw new Error("compressed or interlaced PNG");
|
|
11812
|
+
} else if (type === "IDAT") idat.push(body);
|
|
11813
|
+
else if (type === "IEND") break;
|
|
11814
|
+
at += 12 + length;
|
|
11815
|
+
}
|
|
11816
|
+
if (colorType !== 2 && colorType !== 6) throw new Error("unsupported PNG");
|
|
11817
|
+
const channels = colorType === 6 ? 4 : 3;
|
|
11818
|
+
const step = depth === 16 ? 2 : 1;
|
|
11819
|
+
const pixel = channels * step;
|
|
11820
|
+
const stride = width * pixel;
|
|
11821
|
+
const raw = zlib.inflateSync(Buffer.concat(idat));
|
|
11822
|
+
const flat = new Uint8Array(height * stride);
|
|
11823
|
+
for (let y = 0, read = 0; y < height; y++) {
|
|
11824
|
+
const filter = raw[read++];
|
|
11825
|
+
const row = y * stride;
|
|
11826
|
+
for (let x = 0; x < stride; x++) {
|
|
11827
|
+
const a = x >= pixel ? flat[row + x - pixel] : 0;
|
|
11828
|
+
const b = y > 0 ? flat[row - stride + x] : 0;
|
|
11829
|
+
const c = x >= pixel && y > 0 ? flat[row - stride + x - pixel] : 0;
|
|
11830
|
+
let value = raw[read + x];
|
|
11831
|
+
if (filter === 1) value += a;
|
|
11832
|
+
else if (filter === 2) value += b;
|
|
11833
|
+
else if (filter === 3) value += a + b >> 1;
|
|
11834
|
+
else if (filter === 4) {
|
|
11835
|
+
const pa = Math.abs(b - c);
|
|
11836
|
+
const pb = Math.abs(a - c);
|
|
11837
|
+
const pc = Math.abs(a + b - 2 * c);
|
|
11838
|
+
value += pa <= pb && pa <= pc ? a : pb <= pc ? b : c;
|
|
11839
|
+
}
|
|
11840
|
+
flat[row + x] = value;
|
|
11841
|
+
}
|
|
11842
|
+
read += stride;
|
|
11843
|
+
}
|
|
11844
|
+
const data = new Uint8Array(width * height * 4);
|
|
11845
|
+
for (let i = 0, out = 0; out < data.length; i += pixel, out += 4) {
|
|
11846
|
+
data[out] = flat[i];
|
|
11847
|
+
data[out + 1] = flat[i + step];
|
|
11848
|
+
data[out + 2] = flat[i + 2 * step];
|
|
11849
|
+
data[out + 3] = channels === 4 ? flat[i + 3 * step] : 255;
|
|
11850
|
+
}
|
|
11851
|
+
return {
|
|
11852
|
+
width,
|
|
11853
|
+
height,
|
|
11854
|
+
data
|
|
11855
|
+
};
|
|
11856
|
+
}
|
|
11857
|
+
function chunk(type, body) {
|
|
11858
|
+
const out = Buffer.alloc(body.length + 12);
|
|
11859
|
+
out.writeUInt32BE(body.length, 0);
|
|
11860
|
+
out.write(type, 4, "ascii");
|
|
11861
|
+
body.copy(out, 8);
|
|
11862
|
+
out.writeInt32BE(crc(out.subarray(4, 8 + body.length)), 8 + body.length);
|
|
11863
|
+
return out;
|
|
11864
|
+
}
|
|
11865
|
+
var crcTable = Int32Array.from({ length: 256 }, (_, n) => {
|
|
11866
|
+
let c = n;
|
|
11867
|
+
for (let k = 0; k < 8; k++) c = c & 1 ? 3988292384 ^ c >>> 1 : c >>> 1;
|
|
11868
|
+
return c;
|
|
11869
|
+
});
|
|
11870
|
+
function crc(bytes) {
|
|
11871
|
+
let c = -1;
|
|
11872
|
+
for (const byte of bytes) c = crcTable[(c ^ byte) & 255] ^ c >>> 8;
|
|
11873
|
+
return c ^ -1;
|
|
11874
|
+
}
|
|
11875
|
+
function encode({ width, height, data }) {
|
|
11876
|
+
const stride = width * 4;
|
|
11877
|
+
const raw = Buffer.alloc(height * (stride + 1));
|
|
11878
|
+
for (let y = 0; y < height; y++) {
|
|
11879
|
+
raw[y * (stride + 1)] = 0;
|
|
11880
|
+
raw.set(data.subarray(y * stride, (y + 1) * stride), y * (stride + 1) + 1);
|
|
11881
|
+
}
|
|
11882
|
+
const ihdr = Buffer.alloc(13);
|
|
11883
|
+
ihdr.writeUInt32BE(width, 0);
|
|
11884
|
+
ihdr.writeUInt32BE(height, 4);
|
|
11885
|
+
ihdr[8] = 8;
|
|
11886
|
+
ihdr[9] = 6;
|
|
11887
|
+
return new Uint8Array(Buffer.concat([
|
|
11888
|
+
Buffer.from([
|
|
11889
|
+
137,
|
|
11890
|
+
80,
|
|
11891
|
+
78,
|
|
11892
|
+
71,
|
|
11893
|
+
13,
|
|
11894
|
+
10,
|
|
11895
|
+
26,
|
|
11896
|
+
10
|
|
11897
|
+
]),
|
|
11898
|
+
chunk("IHDR", ihdr),
|
|
11899
|
+
chunk("IDAT", zlib.deflateSync(raw, { level: 9 })),
|
|
11900
|
+
chunk("IEND", Buffer.alloc(0))
|
|
11901
|
+
]));
|
|
11902
|
+
}
|
|
11903
|
+
/** Replay each pixel's tile→glyph blend against `accent`. Pixels at or below
|
|
11904
|
+
* the tile colour (the tile itself, and the corners' fade to transparent)
|
|
11905
|
+
* are left exactly as drawn, so only the glyph moves. */
|
|
11906
|
+
function recolour(bitmap, accent) {
|
|
11907
|
+
const data = new Uint8Array(bitmap.data);
|
|
11908
|
+
for (let i = 0; i < data.length; i += 4) {
|
|
11909
|
+
const t = (data[i + 2] - TILE[2]) / SPAN;
|
|
11910
|
+
if (t <= 0) continue;
|
|
11911
|
+
for (let c = 0; c < 3; c++) data[i + c] = Math.round(TILE[c] + Math.min(1, t) * (accent[c] - TILE[c]));
|
|
11912
|
+
}
|
|
11913
|
+
return {
|
|
11914
|
+
...bitmap,
|
|
11915
|
+
data
|
|
11916
|
+
};
|
|
11917
|
+
}
|
|
11918
|
+
function parseAccent(accent) {
|
|
11919
|
+
const hex = /^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/.exec(accent);
|
|
11920
|
+
return hex ? hex.slice(1, 4).map((h) => parseInt(h, 16)) : null;
|
|
11921
|
+
}
|
|
11922
|
+
/** Recoloured art is a few hundred KB and only changes when the accent
|
|
11923
|
+
* does, so hold it rather than re-deflate on every install/refresh. */
|
|
11924
|
+
var cache = /* @__PURE__ */ new Map();
|
|
11925
|
+
var FILES = {
|
|
11926
|
+
"192": "icon-192.png",
|
|
11927
|
+
"512": "icon-512.png",
|
|
11928
|
+
maskable: "icon-maskable-512.png",
|
|
11929
|
+
apple: "apple-touch-icon.png"
|
|
11930
|
+
};
|
|
11931
|
+
function isIconArt(value) {
|
|
11932
|
+
return value in FILES;
|
|
11933
|
+
}
|
|
11934
|
+
/** The named art tinted with `accent` (`#rrggbb`); the default accent, or an
|
|
11935
|
+
* unreadable file, serves the bytes on disk untouched. */
|
|
11936
|
+
function iconPng(art, accent) {
|
|
11937
|
+
const key = `${art}:${accent}`;
|
|
11938
|
+
const hit = cache.get(key);
|
|
11939
|
+
if (hit) return hit;
|
|
11940
|
+
publicDir ??= findPublicDir();
|
|
11941
|
+
const file = fs.readFileSync(path.join(publicDir, FILES[art]));
|
|
11942
|
+
const rgb = parseAccent(accent);
|
|
11943
|
+
let out = new Uint8Array(file);
|
|
11944
|
+
if (rgb && !rgb.every((v, i) => v === GLYPH[i])) try {
|
|
11945
|
+
out = encode(recolour(decode(file), rgb));
|
|
11946
|
+
} catch {
|
|
11947
|
+
out = new Uint8Array(file);
|
|
11948
|
+
}
|
|
11949
|
+
cache.set(key, out);
|
|
11950
|
+
return out;
|
|
11951
|
+
}
|
|
11952
|
+
//#endregion
|
|
11953
|
+
//#region __marko-run__api.instance.icon-png.js
|
|
11954
|
+
var getHandler$20 = normalizeHandler(Run.GET({ search: (value) => ({ art: typeof value.art === "string" && isIconArt(value.art) ? value.art : "512" }) }, (ctx) => new Response(iconPng(ctx.search.art, getInstance().accent), { headers: {
|
|
11955
|
+
"content-type": "image/png",
|
|
11956
|
+
"cache-control": "public, max-age=3600"
|
|
11957
|
+
} })), "GET");
|
|
11958
|
+
var get17_options = normalizeOptions("GET", mware11, getHandler$20);
|
|
11959
|
+
var head17_options = normalizeOptions("HEAD", mware11);
|
|
11960
|
+
function get17(context) {
|
|
11961
|
+
const __getHandler = (data) => call(getHandler$20, noContent, context, data);
|
|
11962
|
+
return call(mware11, __getHandler, context);
|
|
11963
|
+
}
|
|
11964
|
+
function head17(context) {
|
|
11965
|
+
return stripResponseBody(get17(context));
|
|
11966
|
+
}
|
|
11967
|
+
//#endregion
|
|
11750
11968
|
//#region __marko-run__api.instance.manifest.js
|
|
11751
11969
|
var getHandler$19 = normalizeHandler(Run.GET(() => new Response(JSON.stringify(manifest(getInstance())), { headers: {
|
|
11752
11970
|
"content-type": "application/manifest+json; charset=UTF-8",
|
|
11753
11971
|
"cache-control": "no-cache"
|
|
11754
11972
|
} })), "GET");
|
|
11755
|
-
var
|
|
11756
|
-
var
|
|
11757
|
-
function
|
|
11973
|
+
var get18_options = normalizeOptions("GET", mware11, getHandler$19);
|
|
11974
|
+
var head18_options = normalizeOptions("HEAD", mware11);
|
|
11975
|
+
function get18(context) {
|
|
11758
11976
|
const __getHandler = (data) => call(getHandler$19, noContent, context, data);
|
|
11759
11977
|
return call(mware11, __getHandler, context);
|
|
11760
11978
|
}
|
|
11761
|
-
function
|
|
11762
|
-
return stripResponseBody(
|
|
11979
|
+
function head18(context) {
|
|
11980
|
+
return stripResponseBody(get18(context));
|
|
11763
11981
|
}
|
|
11764
11982
|
//#endregion
|
|
11765
11983
|
//#region src/routes/api/prefs/+handler.ts
|
|
@@ -11780,17 +11998,17 @@ var postHandler$14 = normalizeHandler(Run.POST({ json: Pref }, async (ctx) => {
|
|
|
11780
11998
|
return Response.json({ ok: true });
|
|
11781
11999
|
}), "POST");
|
|
11782
12000
|
var getHandler$18 = normalizeHandler(GET$18, "GET");
|
|
11783
|
-
var
|
|
11784
|
-
var
|
|
11785
|
-
var
|
|
11786
|
-
function
|
|
12001
|
+
var get19_options = normalizeOptions("GET", mware11, getHandler$18);
|
|
12002
|
+
var head19_options = normalizeOptions("HEAD", mware11);
|
|
12003
|
+
var post19_options = normalizeOptions("POST", mware11, postHandler$14);
|
|
12004
|
+
function get19(context) {
|
|
11787
12005
|
const __getHandler = (data) => call(getHandler$18, noContent, context, data);
|
|
11788
12006
|
return call(mware11, __getHandler, context);
|
|
11789
12007
|
}
|
|
11790
|
-
function
|
|
11791
|
-
return stripResponseBody(
|
|
12008
|
+
function head19(context) {
|
|
12009
|
+
return stripResponseBody(get19(context));
|
|
11792
12010
|
}
|
|
11793
|
-
function
|
|
12011
|
+
function post19(context) {
|
|
11794
12012
|
const __postHandler = (data) => call(postHandler$14, noContent, context, data);
|
|
11795
12013
|
return call(mware11, __postHandler, context);
|
|
11796
12014
|
}
|
|
@@ -11805,8 +12023,8 @@ var deleteHandler$4 = normalizeHandler(Run.DELETE({ params({ pid }) {
|
|
|
11805
12023
|
if (!await killWorkspaceProc(ctx.params.pid, paths)) throw httpError(404, "not a workspace process");
|
|
11806
12024
|
return Response.json({ ok: true });
|
|
11807
12025
|
}), "DELETE");
|
|
11808
|
-
var
|
|
11809
|
-
function
|
|
12026
|
+
var delete20_options = normalizeOptions("DELETE", mware11, deleteHandler$4);
|
|
12027
|
+
function delete20(context) {
|
|
11810
12028
|
const __deleteHandler = (data) => call(deleteHandler$4, noContent, context, data);
|
|
11811
12029
|
return call(mware11, __deleteHandler, context);
|
|
11812
12030
|
}
|
|
@@ -11816,14 +12034,14 @@ var getHandler$17 = normalizeHandler(Run.GET({ search: (value) => ({
|
|
|
11816
12034
|
since: typeof value.since === "string" ? Number(value.since) : void 0,
|
|
11817
12035
|
op: typeof value.op === "string" && value.op ? value.op : void 0
|
|
11818
12036
|
}) }, (ctx) => Response.json(progressSince(ctx.search.since, ctx.search.op))), "GET");
|
|
11819
|
-
var
|
|
11820
|
-
var
|
|
11821
|
-
function
|
|
12037
|
+
var get21_options = normalizeOptions("GET", mware11, getHandler$17);
|
|
12038
|
+
var head21_options = normalizeOptions("HEAD", mware11);
|
|
12039
|
+
function get21(context) {
|
|
11822
12040
|
const __getHandler = (data) => call(getHandler$17, noContent, context, data);
|
|
11823
12041
|
return call(mware11, __getHandler, context);
|
|
11824
12042
|
}
|
|
11825
|
-
function
|
|
11826
|
-
return stripResponseBody(
|
|
12043
|
+
function head21(context) {
|
|
12044
|
+
return stripResponseBody(get21(context));
|
|
11827
12045
|
}
|
|
11828
12046
|
//#endregion
|
|
11829
12047
|
//#region src/routes/api/push/+handler.ts
|
|
@@ -11847,22 +12065,22 @@ var deleteHandler$3 = normalizeHandler(Run.DELETE({ search: (value) => ({ endpoi
|
|
|
11847
12065
|
}), "DELETE");
|
|
11848
12066
|
var postHandler$13 = normalizeHandler(POST$13, "POST");
|
|
11849
12067
|
var getHandler$16 = normalizeHandler(GET$16, "GET");
|
|
11850
|
-
var
|
|
11851
|
-
var
|
|
11852
|
-
var
|
|
11853
|
-
var
|
|
11854
|
-
function
|
|
12068
|
+
var get22_options = normalizeOptions("GET", mware11, getHandler$16);
|
|
12069
|
+
var head22_options = normalizeOptions("HEAD", mware11);
|
|
12070
|
+
var post22_options = normalizeOptions("POST", mware11, postHandler$13);
|
|
12071
|
+
var delete22_options = normalizeOptions("DELETE", mware11, deleteHandler$3);
|
|
12072
|
+
function get22(context) {
|
|
11855
12073
|
const __getHandler = (data) => call(getHandler$16, noContent, context, data);
|
|
11856
12074
|
return call(mware11, __getHandler, context);
|
|
11857
12075
|
}
|
|
11858
|
-
function
|
|
11859
|
-
return stripResponseBody(
|
|
12076
|
+
function head22(context) {
|
|
12077
|
+
return stripResponseBody(get22(context));
|
|
11860
12078
|
}
|
|
11861
|
-
function
|
|
12079
|
+
function post22(context) {
|
|
11862
12080
|
const __postHandler = (data) => call(postHandler$13, noContent, context, data);
|
|
11863
12081
|
return call(mware11, __postHandler, context);
|
|
11864
12082
|
}
|
|
11865
|
-
function
|
|
12083
|
+
function delete22(context) {
|
|
11866
12084
|
const __deleteHandler = (data) => call(deleteHandler$3, noContent, context, data);
|
|
11867
12085
|
return call(mware11, __deleteHandler, context);
|
|
11868
12086
|
}
|
|
@@ -11899,22 +12117,22 @@ var postHandler$12 = normalizeHandler(Run.POST({ search: (value) => parse(Query,
|
|
|
11899
12117
|
pokeStatusWatch();
|
|
11900
12118
|
return Response.json({ ok: true });
|
|
11901
12119
|
}), "POST");
|
|
11902
|
-
var
|
|
11903
|
-
function
|
|
12120
|
+
var post23_options = normalizeOptions("POST", mware11, postHandler$12);
|
|
12121
|
+
function post23(context) {
|
|
11904
12122
|
const __postHandler = (data) => call(postHandler$12, noContent, context, data);
|
|
11905
12123
|
return call(mware11, __postHandler, context);
|
|
11906
12124
|
}
|
|
11907
12125
|
//#endregion
|
|
11908
12126
|
//#region __marko-run__api.repos.js
|
|
11909
12127
|
var getHandler$15 = normalizeHandler(Run.GET({ search: (value) => ({ refresh: "refresh" in value }) }, async (ctx) => Response.json(await repoCatalog(ctx.search.refresh))), "GET");
|
|
11910
|
-
var
|
|
11911
|
-
var
|
|
11912
|
-
function
|
|
12128
|
+
var get24_options = normalizeOptions("GET", mware11, getHandler$15);
|
|
12129
|
+
var head24_options = normalizeOptions("HEAD", mware11);
|
|
12130
|
+
function get24(context) {
|
|
11913
12131
|
const __getHandler = (data) => call(getHandler$15, noContent, context, data);
|
|
11914
12132
|
return call(mware11, __getHandler, context);
|
|
11915
12133
|
}
|
|
11916
|
-
function
|
|
11917
|
-
return stripResponseBody(
|
|
12134
|
+
function head24(context) {
|
|
12135
|
+
return stripResponseBody(get24(context));
|
|
11918
12136
|
}
|
|
11919
12137
|
//#endregion
|
|
11920
12138
|
//#region __marko-run__api.repos.branches.js
|
|
@@ -11937,14 +12155,14 @@ var getHandler$14 = normalizeHandler(Run.GET({ search: (value) => {
|
|
|
11937
12155
|
defaultBranch: looked || fromCatalog || null
|
|
11938
12156
|
});
|
|
11939
12157
|
}), "GET");
|
|
11940
|
-
var
|
|
11941
|
-
var
|
|
11942
|
-
function
|
|
12158
|
+
var get25_options = normalizeOptions("GET", mware11, getHandler$14);
|
|
12159
|
+
var head25_options = normalizeOptions("HEAD", mware11);
|
|
12160
|
+
function get25(context) {
|
|
11943
12161
|
const __getHandler = (data) => call(getHandler$14, noContent, context, data);
|
|
11944
12162
|
return call(mware11, __getHandler, context);
|
|
11945
12163
|
}
|
|
11946
|
-
function
|
|
11947
|
-
return stripResponseBody(
|
|
12164
|
+
function head25(context) {
|
|
12165
|
+
return stripResponseBody(get25(context));
|
|
11948
12166
|
}
|
|
11949
12167
|
//#endregion
|
|
11950
12168
|
//#region src/routes/api/sessions/$id/+handler.ts
|
|
@@ -11961,13 +12179,13 @@ var patchHandler$1 = normalizeHandler(Run.PATCH({ json: Rename }, async (ctx) =>
|
|
|
11961
12179
|
return Response.json({ ok: true });
|
|
11962
12180
|
}), "PATCH");
|
|
11963
12181
|
var deleteHandler$2 = normalizeHandler(DELETE$2, "DELETE");
|
|
11964
|
-
var
|
|
11965
|
-
var
|
|
11966
|
-
function
|
|
12182
|
+
var delete26_options = normalizeOptions("DELETE", mware11, deleteHandler$2);
|
|
12183
|
+
var patch26_options = normalizeOptions("PATCH", mware11, patchHandler$1);
|
|
12184
|
+
function delete26(context) {
|
|
11967
12185
|
const __deleteHandler = (data) => call(deleteHandler$2, noContent, context, data);
|
|
11968
12186
|
return call(mware11, __deleteHandler, context);
|
|
11969
12187
|
}
|
|
11970
|
-
function
|
|
12188
|
+
function patch26(context) {
|
|
11971
12189
|
const __patchHandler = (data) => call(patchHandler$1, noContent, context, data);
|
|
11972
12190
|
return call(mware11, __patchHandler, context);
|
|
11973
12191
|
}
|
|
@@ -11988,8 +12206,8 @@ var postHandler$11 = normalizeHandler(Run.POST({ json: Send }, async (ctx) => {
|
|
|
11988
12206
|
} : void 0);
|
|
11989
12207
|
return Response.json({ ok: true });
|
|
11990
12208
|
}), "POST");
|
|
11991
|
-
var
|
|
11992
|
-
function
|
|
12209
|
+
var post27_options = normalizeOptions("POST", mware11, postHandler$11);
|
|
12210
|
+
function post27(context) {
|
|
11993
12211
|
const __postHandler = (data) => call(postHandler$11, noContent, context, data);
|
|
11994
12212
|
return call(mware11, __postHandler, context);
|
|
11995
12213
|
}
|
|
@@ -12038,31 +12256,31 @@ var putHandler = normalizeHandler(Run.PUT({ json: Patch }, async (ctx) => {
|
|
|
12038
12256
|
return Response.json(snapshot$1());
|
|
12039
12257
|
}), "PUT");
|
|
12040
12258
|
var getHandler$13 = normalizeHandler(GET$13, "GET");
|
|
12041
|
-
var
|
|
12042
|
-
var
|
|
12043
|
-
var
|
|
12044
|
-
function
|
|
12259
|
+
var get28_options = normalizeOptions("GET", mware11, getHandler$13);
|
|
12260
|
+
var head28_options = normalizeOptions("HEAD", mware11);
|
|
12261
|
+
var put28_options = normalizeOptions("PUT", mware11, putHandler);
|
|
12262
|
+
function get28(context) {
|
|
12045
12263
|
const __getHandler = (data) => call(getHandler$13, noContent, context, data);
|
|
12046
12264
|
return call(mware11, __getHandler, context);
|
|
12047
12265
|
}
|
|
12048
|
-
function
|
|
12049
|
-
return stripResponseBody(
|
|
12266
|
+
function head28(context) {
|
|
12267
|
+
return stripResponseBody(get28(context));
|
|
12050
12268
|
}
|
|
12051
|
-
function
|
|
12269
|
+
function put28(context) {
|
|
12052
12270
|
const __putHandler = (data) => call(putHandler, noContent, context, data);
|
|
12053
12271
|
return call(mware11, __putHandler, context);
|
|
12054
12272
|
}
|
|
12055
12273
|
//#endregion
|
|
12056
12274
|
//#region __marko-run__api.setup.js
|
|
12057
12275
|
var getHandler$12 = normalizeHandler(Run.GET({ search: (value) => ({ refresh: "refresh" in value }) }, async (ctx) => Response.json(await getSetup(ctx.search.refresh))), "GET");
|
|
12058
|
-
var
|
|
12059
|
-
var
|
|
12060
|
-
function
|
|
12276
|
+
var get29_options = normalizeOptions("GET", mware11, getHandler$12);
|
|
12277
|
+
var head29_options = normalizeOptions("HEAD", mware11);
|
|
12278
|
+
function get29(context) {
|
|
12061
12279
|
const __getHandler = (data) => call(getHandler$12, noContent, context, data);
|
|
12062
12280
|
return call(mware11, __getHandler, context);
|
|
12063
12281
|
}
|
|
12064
|
-
function
|
|
12065
|
-
return stripResponseBody(
|
|
12282
|
+
function head29(context) {
|
|
12283
|
+
return stripResponseBody(get29(context));
|
|
12066
12284
|
}
|
|
12067
12285
|
//#endregion
|
|
12068
12286
|
//#region src/routes/api/setup/$id/+handler.ts
|
|
@@ -12083,22 +12301,22 @@ var postHandler$10 = normalizeHandler(Run.POST({ json: Body$2 }, async (ctx) =>
|
|
|
12083
12301
|
const body = await readBody(ctx);
|
|
12084
12302
|
return Response.json(await runSetupAction(ctx.params.id, body.action, { version: body.version }));
|
|
12085
12303
|
}), "POST");
|
|
12086
|
-
var
|
|
12087
|
-
function
|
|
12304
|
+
var post30_options = normalizeOptions("POST", mware11, postHandler$10);
|
|
12305
|
+
function post30(context) {
|
|
12088
12306
|
const __postHandler = (data) => call(postHandler$10, noContent, context, data);
|
|
12089
12307
|
return call(mware11, __postHandler, context);
|
|
12090
12308
|
}
|
|
12091
12309
|
//#endregion
|
|
12092
12310
|
//#region __marko-run__api.setup.search.js
|
|
12093
12311
|
var getHandler$11 = normalizeHandler(Run.GET({ search: (value) => ({ q: typeof value.q === "string" ? value.q : "" }) }, async (ctx) => Response.json(await searchMise(ctx.search.q))), "GET");
|
|
12094
|
-
var
|
|
12095
|
-
var
|
|
12096
|
-
function
|
|
12312
|
+
var get31_options = normalizeOptions("GET", mware11, getHandler$11);
|
|
12313
|
+
var head31_options = normalizeOptions("HEAD", mware11);
|
|
12314
|
+
function get31(context) {
|
|
12097
12315
|
const __getHandler = (data) => call(getHandler$11, noContent, context, data);
|
|
12098
12316
|
return call(mware11, __getHandler, context);
|
|
12099
12317
|
}
|
|
12100
|
-
function
|
|
12101
|
-
return stripResponseBody(
|
|
12318
|
+
function head31(context) {
|
|
12319
|
+
return stripResponseBody(get31(context));
|
|
12102
12320
|
}
|
|
12103
12321
|
//#endregion
|
|
12104
12322
|
//#region src/server/self-update.ts
|
|
@@ -12218,17 +12436,17 @@ var GET$10 = Run.GET({ search: (value) => ({ refresh: "refresh" in value }) }, a
|
|
|
12218
12436
|
//#region __marko-run__api.setup.self.js
|
|
12219
12437
|
var postHandler$9 = normalizeHandler(Run.POST(async () => Response.json(startSelfUpdate())), "POST");
|
|
12220
12438
|
var getHandler$10 = normalizeHandler(GET$10, "GET");
|
|
12221
|
-
var
|
|
12222
|
-
var
|
|
12223
|
-
var
|
|
12224
|
-
function
|
|
12439
|
+
var get32_options = normalizeOptions("GET", mware11, getHandler$10);
|
|
12440
|
+
var head32_options = normalizeOptions("HEAD", mware11);
|
|
12441
|
+
var post32_options = normalizeOptions("POST", mware11, postHandler$9);
|
|
12442
|
+
function get32(context) {
|
|
12225
12443
|
const __getHandler = (data) => call(getHandler$10, noContent, context, data);
|
|
12226
12444
|
return call(mware11, __getHandler, context);
|
|
12227
12445
|
}
|
|
12228
|
-
function
|
|
12229
|
-
return stripResponseBody(
|
|
12446
|
+
function head32(context) {
|
|
12447
|
+
return stripResponseBody(get32(context));
|
|
12230
12448
|
}
|
|
12231
|
-
function
|
|
12449
|
+
function post32(context) {
|
|
12232
12450
|
const __postHandler = (data) => call(postHandler$9, noContent, context, data);
|
|
12233
12451
|
return call(mware11, __postHandler, context);
|
|
12234
12452
|
}
|
|
@@ -12264,55 +12482,55 @@ var postHandler$8 = normalizeHandler(Run.POST({ json: Body$1 }, async (ctx) => {
|
|
|
12264
12482
|
return Response.json(await skillsSnapshot(void 0, [], true));
|
|
12265
12483
|
}), "POST");
|
|
12266
12484
|
var getHandler$9 = normalizeHandler(GET$9, "GET");
|
|
12267
|
-
var
|
|
12268
|
-
var
|
|
12269
|
-
var
|
|
12270
|
-
function
|
|
12485
|
+
var get33_options = normalizeOptions("GET", mware11, getHandler$9);
|
|
12486
|
+
var head33_options = normalizeOptions("HEAD", mware11);
|
|
12487
|
+
var post33_options = normalizeOptions("POST", mware11, postHandler$8);
|
|
12488
|
+
function get33(context) {
|
|
12271
12489
|
const __getHandler = (data) => call(getHandler$9, noContent, context, data);
|
|
12272
12490
|
return call(mware11, __getHandler, context);
|
|
12273
12491
|
}
|
|
12274
|
-
function
|
|
12275
|
-
return stripResponseBody(
|
|
12492
|
+
function head33(context) {
|
|
12493
|
+
return stripResponseBody(get33(context));
|
|
12276
12494
|
}
|
|
12277
|
-
function
|
|
12495
|
+
function post33(context) {
|
|
12278
12496
|
const __postHandler = (data) => call(postHandler$8, noContent, context, data);
|
|
12279
12497
|
return call(mware11, __postHandler, context);
|
|
12280
12498
|
}
|
|
12281
12499
|
//#endregion
|
|
12282
12500
|
//#region __marko-run__api.skills.search.js
|
|
12283
12501
|
var getHandler$8 = normalizeHandler(Run.GET({ search: (value) => ({ q: typeof value.q === "string" ? value.q : "" }) }, async (ctx) => Response.json(await searchRegistry(ctx.search.q))), "GET");
|
|
12284
|
-
var
|
|
12285
|
-
var
|
|
12286
|
-
function
|
|
12502
|
+
var get34_options = normalizeOptions("GET", mware11, getHandler$8);
|
|
12503
|
+
var head34_options = normalizeOptions("HEAD", mware11);
|
|
12504
|
+
function get34(context) {
|
|
12287
12505
|
const __getHandler = (data) => call(getHandler$8, noContent, context, data);
|
|
12288
12506
|
return call(mware11, __getHandler, context);
|
|
12289
12507
|
}
|
|
12290
|
-
function
|
|
12291
|
-
return stripResponseBody(
|
|
12508
|
+
function head34(context) {
|
|
12509
|
+
return stripResponseBody(get34(context));
|
|
12292
12510
|
}
|
|
12293
12511
|
//#endregion
|
|
12294
12512
|
//#region __marko-run__api.status.js
|
|
12295
12513
|
var getHandler$7 = normalizeHandler(Run.GET({ search: (value) => ({ fresh: "fresh" in value }) }, async (ctx) => Response.json(await (ctx.search.fresh ? statusForAllFresh() : statusForAll()))), "GET");
|
|
12296
|
-
var
|
|
12297
|
-
var
|
|
12298
|
-
function
|
|
12514
|
+
var get35_options = normalizeOptions("GET", mware11, getHandler$7);
|
|
12515
|
+
var head35_options = normalizeOptions("HEAD", mware11);
|
|
12516
|
+
function get35(context) {
|
|
12299
12517
|
const __getHandler = (data) => call(getHandler$7, noContent, context, data);
|
|
12300
12518
|
return call(mware11, __getHandler, context);
|
|
12301
12519
|
}
|
|
12302
|
-
function
|
|
12303
|
-
return stripResponseBody(
|
|
12520
|
+
function head35(context) {
|
|
12521
|
+
return stripResponseBody(get35(context));
|
|
12304
12522
|
}
|
|
12305
12523
|
//#endregion
|
|
12306
12524
|
//#region __marko-run__api.usage.js
|
|
12307
12525
|
var getHandler$6 = normalizeHandler(Run.GET({ search: (value) => ({ refresh: "refresh" in value }) }, async (ctx) => Response.json(await usage(ctx.search.refresh))), "GET");
|
|
12308
|
-
var
|
|
12309
|
-
var
|
|
12310
|
-
function
|
|
12526
|
+
var get36_options = normalizeOptions("GET", mware11, getHandler$6);
|
|
12527
|
+
var head36_options = normalizeOptions("HEAD", mware11);
|
|
12528
|
+
function get36(context) {
|
|
12311
12529
|
const __getHandler = (data) => call(getHandler$6, noContent, context, data);
|
|
12312
12530
|
return call(mware11, __getHandler, context);
|
|
12313
12531
|
}
|
|
12314
|
-
function
|
|
12315
|
-
return stripResponseBody(
|
|
12532
|
+
function head36(context) {
|
|
12533
|
+
return stripResponseBody(get36(context));
|
|
12316
12534
|
}
|
|
12317
12535
|
//#endregion
|
|
12318
12536
|
//#region src/routes/api/workspaces/+handler.ts
|
|
@@ -12336,17 +12554,17 @@ var postHandler$7 = normalizeHandler(Run.POST({ json: CreateWorkspace }, async (
|
|
|
12336
12554
|
return Response.json(await withProgressOp(body.opId ?? "", () => createWorkspace(body.name, body.repos, { join: body.join })));
|
|
12337
12555
|
}), "POST");
|
|
12338
12556
|
var getHandler$5 = normalizeHandler(GET$5, "GET");
|
|
12339
|
-
var
|
|
12340
|
-
var
|
|
12341
|
-
var
|
|
12342
|
-
function
|
|
12557
|
+
var get37_options = normalizeOptions("GET", mware11, getHandler$5);
|
|
12558
|
+
var head37_options = normalizeOptions("HEAD", mware11);
|
|
12559
|
+
var post37_options = normalizeOptions("POST", mware11, postHandler$7);
|
|
12560
|
+
function get37(context) {
|
|
12343
12561
|
const __getHandler = (data) => call(getHandler$5, noContent, context, data);
|
|
12344
12562
|
return call(mware11, __getHandler, context);
|
|
12345
12563
|
}
|
|
12346
|
-
function
|
|
12347
|
-
return stripResponseBody(
|
|
12564
|
+
function head37(context) {
|
|
12565
|
+
return stripResponseBody(get37(context));
|
|
12348
12566
|
}
|
|
12349
|
-
function
|
|
12567
|
+
function post37(context) {
|
|
12350
12568
|
const __postHandler = (data) => call(postHandler$7, noContent, context, data);
|
|
12351
12569
|
return call(mware11, __postHandler, context);
|
|
12352
12570
|
}
|
|
@@ -12369,11 +12587,11 @@ var postHandler$6 = normalizeHandler(Run.POST({ json: WorkspaceAction }, async (
|
|
|
12369
12587
|
});
|
|
12370
12588
|
return Response.json({ ok: true });
|
|
12371
12589
|
}), "POST");
|
|
12372
|
-
var
|
|
12373
|
-
function
|
|
12590
|
+
var post38_options = normalizeOptions("POST", mware11, mware44, postHandler$6);
|
|
12591
|
+
function post38(context) {
|
|
12374
12592
|
const __postHandler = (data) => call(postHandler$6, noContent, context, data);
|
|
12375
|
-
const
|
|
12376
|
-
return call(mware11,
|
|
12593
|
+
const __mware44 = (data) => call(mware44, __postHandler, context, data);
|
|
12594
|
+
return call(mware11, __mware44, context);
|
|
12377
12595
|
}
|
|
12378
12596
|
//#endregion
|
|
12379
12597
|
//#region src/routes/api/workspaces/$id/assets/+handler.ts
|
|
@@ -12392,11 +12610,11 @@ var postHandler$5 = normalizeHandler(Run.POST({ search: (value) => ({ name: type
|
|
|
12392
12610
|
fs.writeFileSync(path.join(ws.path, relative), data);
|
|
12393
12611
|
return Response.json({ path: relative });
|
|
12394
12612
|
}), "POST");
|
|
12395
|
-
var
|
|
12396
|
-
function
|
|
12613
|
+
var post39_options = normalizeOptions("POST", mware11, mware44, postHandler$5);
|
|
12614
|
+
function post39(context) {
|
|
12397
12615
|
const __postHandler = (data) => call(postHandler$5, noContent, context, data);
|
|
12398
|
-
const
|
|
12399
|
-
return call(mware11,
|
|
12616
|
+
const __mware44 = (data) => call(mware44, __postHandler, context, data);
|
|
12617
|
+
return call(mware11, __mware44, context);
|
|
12400
12618
|
}
|
|
12401
12619
|
//#endregion
|
|
12402
12620
|
//#region src/server/review.ts
|
|
@@ -12947,28 +13165,28 @@ var getHandler$4 = normalizeHandler(Run.GET({ search: (value) => ({
|
|
|
12947
13165
|
pr: ctx.search.pr,
|
|
12948
13166
|
refresh: ctx.search.refresh
|
|
12949
13167
|
}))), "GET");
|
|
12950
|
-
var
|
|
12951
|
-
var
|
|
12952
|
-
function
|
|
13168
|
+
var get40_options = normalizeOptions("GET", mware11, mware44, getHandler$4);
|
|
13169
|
+
var head40_options = normalizeOptions("HEAD", mware11, mware44);
|
|
13170
|
+
function get40(context) {
|
|
12953
13171
|
const __getHandler = (data) => call(getHandler$4, noContent, context, data);
|
|
12954
|
-
const
|
|
12955
|
-
return call(mware11,
|
|
13172
|
+
const __mware44 = (data) => call(mware44, __getHandler, context, data);
|
|
13173
|
+
return call(mware11, __mware44, context);
|
|
12956
13174
|
}
|
|
12957
|
-
function
|
|
12958
|
-
return stripResponseBody(
|
|
13175
|
+
function head40(context) {
|
|
13176
|
+
return stripResponseBody(get40(context));
|
|
12959
13177
|
}
|
|
12960
13178
|
//#endregion
|
|
12961
13179
|
//#region __marko-run__api.workspaces.$.procs.js
|
|
12962
13180
|
var getHandler$3 = normalizeHandler(Run.GET(async (ctx) => Response.json(await workspaceProcs(ctx.data.workspace.path))), "GET");
|
|
12963
|
-
var
|
|
12964
|
-
var
|
|
12965
|
-
function
|
|
13181
|
+
var get41_options = normalizeOptions("GET", mware11, mware44, getHandler$3);
|
|
13182
|
+
var head41_options = normalizeOptions("HEAD", mware11, mware44);
|
|
13183
|
+
function get41(context) {
|
|
12966
13184
|
const __getHandler = (data) => call(getHandler$3, noContent, context, data);
|
|
12967
|
-
const
|
|
12968
|
-
return call(mware11,
|
|
13185
|
+
const __mware44 = (data) => call(mware44, __getHandler, context, data);
|
|
13186
|
+
return call(mware11, __mware44, context);
|
|
12969
13187
|
}
|
|
12970
|
-
function
|
|
12971
|
-
return stripResponseBody(
|
|
13188
|
+
function head41(context) {
|
|
13189
|
+
return stripResponseBody(get41(context));
|
|
12972
13190
|
}
|
|
12973
13191
|
//#endregion
|
|
12974
13192
|
//#region src/routes/api/workspaces/$id/prs/+handler.ts
|
|
@@ -13005,11 +13223,11 @@ async function pruneDismissedLane(ws, fullName, number) {
|
|
|
13005
13223
|
//#endregion
|
|
13006
13224
|
//#region __marko-run__api.workspaces.$.prs.js
|
|
13007
13225
|
var postHandler$4 = normalizeHandler(POST$4, "POST");
|
|
13008
|
-
var
|
|
13009
|
-
function
|
|
13226
|
+
var post42_options = normalizeOptions("POST", mware11, mware44, postHandler$4);
|
|
13227
|
+
function post42(context) {
|
|
13010
13228
|
const __postHandler = (data) => call(postHandler$4, noContent, context, data);
|
|
13011
|
-
const
|
|
13012
|
-
return call(mware11,
|
|
13229
|
+
const __mware44 = (data) => call(mware44, __postHandler, context, data);
|
|
13230
|
+
return call(mware11, __mware44, context);
|
|
13013
13231
|
}
|
|
13014
13232
|
//#endregion
|
|
13015
13233
|
//#region src/routes/api/workspaces/$id/repos/+handler.ts
|
|
@@ -13024,11 +13242,11 @@ var postHandler$3 = normalizeHandler(Run.POST({ json: AddRepo }, async (ctx) =>
|
|
|
13024
13242
|
const body = await readBody(ctx);
|
|
13025
13243
|
return Response.json(await withProgressOp(ctx.params.id, () => addRepo$1(ctx.params.id, body.fullName, body.baseBranch, body.fork)));
|
|
13026
13244
|
}), "POST");
|
|
13027
|
-
var
|
|
13028
|
-
function
|
|
13245
|
+
var post43_options = normalizeOptions("POST", mware11, mware44, postHandler$3);
|
|
13246
|
+
function post43(context) {
|
|
13029
13247
|
const __postHandler = (data) => call(postHandler$3, noContent, context, data);
|
|
13030
|
-
const
|
|
13031
|
-
return call(mware11,
|
|
13248
|
+
const __mware44 = (data) => call(mware44, __postHandler, context, data);
|
|
13249
|
+
return call(mware11, __mware44, context);
|
|
13032
13250
|
}
|
|
13033
13251
|
//#endregion
|
|
13034
13252
|
//#region __marko-run__api.workspaces.$.repos.$.js
|
|
@@ -13036,11 +13254,11 @@ var deleteHandler$1 = normalizeHandler(Run.DELETE(async (ctx) => {
|
|
|
13036
13254
|
await withProgressOp(ctx.params.id, () => removeRepo(ctx.params.id, ctx.params.worktree));
|
|
13037
13255
|
return Response.json({ ok: true });
|
|
13038
13256
|
}), "DELETE");
|
|
13039
|
-
var
|
|
13040
|
-
function
|
|
13257
|
+
var delete44_options = normalizeOptions("DELETE", mware11, mware44, deleteHandler$1);
|
|
13258
|
+
function delete44(context) {
|
|
13041
13259
|
const __deleteHandler = (data) => call(deleteHandler$1, noContent, context, data);
|
|
13042
|
-
const
|
|
13043
|
-
return call(mware11,
|
|
13260
|
+
const __mware44 = (data) => call(mware44, __deleteHandler, context, data);
|
|
13261
|
+
return call(mware11, __mware44, context);
|
|
13044
13262
|
}
|
|
13045
13263
|
//#endregion
|
|
13046
13264
|
//#region src/routes/api/workspaces/$id/review/+handler.ts
|
|
@@ -13086,21 +13304,21 @@ var postHandler$2 = normalizeHandler(Run.POST({ json: ReviewAction }, async (ctx
|
|
|
13086
13304
|
return Response.json({ ok: true });
|
|
13087
13305
|
}), "POST");
|
|
13088
13306
|
var getHandler$2 = normalizeHandler(GET$2, "GET");
|
|
13089
|
-
var
|
|
13090
|
-
var
|
|
13091
|
-
var
|
|
13092
|
-
function
|
|
13307
|
+
var get45_options = normalizeOptions("GET", mware11, mware44, getHandler$2);
|
|
13308
|
+
var head45_options = normalizeOptions("HEAD", mware11, mware44);
|
|
13309
|
+
var post45_options = normalizeOptions("POST", mware11, mware44, postHandler$2);
|
|
13310
|
+
function get45(context) {
|
|
13093
13311
|
const __getHandler = (data) => call(getHandler$2, noContent, context, data);
|
|
13094
|
-
const
|
|
13095
|
-
return call(mware11,
|
|
13312
|
+
const __mware44 = (data) => call(mware44, __getHandler, context, data);
|
|
13313
|
+
return call(mware11, __mware44, context);
|
|
13096
13314
|
}
|
|
13097
|
-
function
|
|
13098
|
-
return stripResponseBody(
|
|
13315
|
+
function head45(context) {
|
|
13316
|
+
return stripResponseBody(get45(context));
|
|
13099
13317
|
}
|
|
13100
|
-
function
|
|
13318
|
+
function post45(context) {
|
|
13101
13319
|
const __postHandler = (data) => call(postHandler$2, noContent, context, data);
|
|
13102
|
-
const
|
|
13103
|
-
return call(mware11,
|
|
13320
|
+
const __mware44 = (data) => call(mware44, __postHandler, context, data);
|
|
13321
|
+
return call(mware11, __mware44, context);
|
|
13104
13322
|
}
|
|
13105
13323
|
//#endregion
|
|
13106
13324
|
//#region src/routes/api/workspaces/$id/review/$commentId/+handler.ts
|
|
@@ -13132,17 +13350,17 @@ var deleteHandler = normalizeHandler(Run.DELETE({ params: ({ id, commentId }) =>
|
|
|
13132
13350
|
return Response.json({ ok: true });
|
|
13133
13351
|
}), "DELETE");
|
|
13134
13352
|
var patchHandler = normalizeHandler(PATCH, "PATCH");
|
|
13135
|
-
var
|
|
13136
|
-
var
|
|
13137
|
-
function
|
|
13353
|
+
var delete46_options = normalizeOptions("DELETE", mware11, mware44, deleteHandler);
|
|
13354
|
+
var patch46_options = normalizeOptions("PATCH", mware11, mware44, patchHandler);
|
|
13355
|
+
function delete46(context) {
|
|
13138
13356
|
const __deleteHandler = (data) => call(deleteHandler, noContent, context, data);
|
|
13139
|
-
const
|
|
13140
|
-
return call(mware11,
|
|
13357
|
+
const __mware44 = (data) => call(mware44, __deleteHandler, context, data);
|
|
13358
|
+
return call(mware11, __mware44, context);
|
|
13141
13359
|
}
|
|
13142
|
-
function
|
|
13360
|
+
function patch46(context) {
|
|
13143
13361
|
const __patchHandler = (data) => call(patchHandler, noContent, context, data);
|
|
13144
|
-
const
|
|
13145
|
-
return call(mware11,
|
|
13362
|
+
const __mware44 = (data) => call(mware44, __patchHandler, context, data);
|
|
13363
|
+
return call(mware11, __mware44, context);
|
|
13146
13364
|
}
|
|
13147
13365
|
//#endregion
|
|
13148
13366
|
//#region src/routes/api/workspaces/$id/sessions/+handler.ts
|
|
@@ -13161,21 +13379,21 @@ var postHandler$1 = normalizeHandler(Run.POST({ json: CreateSession }, async (ct
|
|
|
13161
13379
|
return Response.json(createSession(ctx.params.id, body.agent || preferredAgent()));
|
|
13162
13380
|
}), "POST");
|
|
13163
13381
|
var getHandler$1 = normalizeHandler(GET$1, "GET");
|
|
13164
|
-
var
|
|
13165
|
-
var
|
|
13166
|
-
var
|
|
13167
|
-
function
|
|
13382
|
+
var get47_options = normalizeOptions("GET", mware11, mware44, getHandler$1);
|
|
13383
|
+
var head47_options = normalizeOptions("HEAD", mware11, mware44);
|
|
13384
|
+
var post47_options = normalizeOptions("POST", mware11, mware44, postHandler$1);
|
|
13385
|
+
function get47(context) {
|
|
13168
13386
|
const __getHandler = (data) => call(getHandler$1, noContent, context, data);
|
|
13169
|
-
const
|
|
13170
|
-
return call(mware11,
|
|
13387
|
+
const __mware44 = (data) => call(mware44, __getHandler, context, data);
|
|
13388
|
+
return call(mware11, __mware44, context);
|
|
13171
13389
|
}
|
|
13172
|
-
function
|
|
13173
|
-
return stripResponseBody(
|
|
13390
|
+
function head47(context) {
|
|
13391
|
+
return stripResponseBody(get47(context));
|
|
13174
13392
|
}
|
|
13175
|
-
function
|
|
13393
|
+
function post47(context) {
|
|
13176
13394
|
const __postHandler = (data) => call(postHandler$1, noContent, context, data);
|
|
13177
|
-
const
|
|
13178
|
-
return call(mware11,
|
|
13395
|
+
const __mware44 = (data) => call(mware44, __postHandler, context, data);
|
|
13396
|
+
return call(mware11, __mware44, context);
|
|
13179
13397
|
}
|
|
13180
13398
|
//#endregion
|
|
13181
13399
|
//#region src/routes/api/workspaces/$id/skills/+handler.ts
|
|
@@ -13229,21 +13447,21 @@ var postHandler = normalizeHandler(Run.POST({ json: Body }, async (ctx) => {
|
|
|
13229
13447
|
return Response.json(await snapshot(wsId, true));
|
|
13230
13448
|
}), "POST");
|
|
13231
13449
|
var getHandler = normalizeHandler(GET, "GET");
|
|
13232
|
-
var
|
|
13233
|
-
var
|
|
13234
|
-
var
|
|
13235
|
-
function
|
|
13450
|
+
var get48_options = normalizeOptions("GET", mware11, mware44, getHandler);
|
|
13451
|
+
var head48_options = normalizeOptions("HEAD", mware11, mware44);
|
|
13452
|
+
var post48_options = normalizeOptions("POST", mware11, mware44, postHandler);
|
|
13453
|
+
function get48(context) {
|
|
13236
13454
|
const __getHandler = (data) => call(getHandler, noContent, context, data);
|
|
13237
|
-
const
|
|
13238
|
-
return call(mware11,
|
|
13455
|
+
const __mware44 = (data) => call(mware44, __getHandler, context, data);
|
|
13456
|
+
return call(mware11, __mware44, context);
|
|
13239
13457
|
}
|
|
13240
|
-
function
|
|
13241
|
-
return stripResponseBody(
|
|
13458
|
+
function head48(context) {
|
|
13459
|
+
return stripResponseBody(get48(context));
|
|
13242
13460
|
}
|
|
13243
|
-
function
|
|
13461
|
+
function post48(context) {
|
|
13244
13462
|
const __postHandler = (data) => call(postHandler, noContent, context, data);
|
|
13245
|
-
const
|
|
13246
|
-
return call(mware11,
|
|
13463
|
+
const __mware44 = (data) => call(mware44, __postHandler, context, data);
|
|
13464
|
+
return call(mware11, __mware44, context);
|
|
13247
13465
|
}
|
|
13248
13466
|
//#endregion
|
|
13249
13467
|
//#region __marko-run__router.js
|
|
@@ -13340,73 +13558,73 @@ function match_internal(method, pathname) {
|
|
|
13340
13558
|
meta: {}
|
|
13341
13559
|
};
|
|
13342
13560
|
case "prefs": return {
|
|
13343
|
-
handler:
|
|
13561
|
+
handler: get19,
|
|
13344
13562
|
path: "/api/prefs",
|
|
13345
13563
|
params: {},
|
|
13346
|
-
options:
|
|
13564
|
+
options: get19_options,
|
|
13347
13565
|
meta: {}
|
|
13348
13566
|
};
|
|
13349
13567
|
case "progress": return {
|
|
13350
|
-
handler:
|
|
13568
|
+
handler: get21,
|
|
13351
13569
|
path: "/api/progress",
|
|
13352
13570
|
params: {},
|
|
13353
|
-
options:
|
|
13571
|
+
options: get21_options,
|
|
13354
13572
|
meta: {}
|
|
13355
13573
|
};
|
|
13356
13574
|
case "push": return {
|
|
13357
|
-
handler:
|
|
13575
|
+
handler: get22,
|
|
13358
13576
|
path: "/api/push",
|
|
13359
13577
|
params: {},
|
|
13360
|
-
options:
|
|
13578
|
+
options: get22_options,
|
|
13361
13579
|
meta: {}
|
|
13362
13580
|
};
|
|
13363
13581
|
case "repos": return {
|
|
13364
|
-
handler:
|
|
13582
|
+
handler: get24,
|
|
13365
13583
|
path: "/api/repos",
|
|
13366
13584
|
params: {},
|
|
13367
|
-
options:
|
|
13585
|
+
options: get24_options,
|
|
13368
13586
|
meta: {}
|
|
13369
13587
|
};
|
|
13370
13588
|
case "settings": return {
|
|
13371
|
-
handler:
|
|
13589
|
+
handler: get28,
|
|
13372
13590
|
path: "/api/settings",
|
|
13373
13591
|
params: {},
|
|
13374
|
-
options:
|
|
13592
|
+
options: get28_options,
|
|
13375
13593
|
meta: {}
|
|
13376
13594
|
};
|
|
13377
13595
|
case "setup": return {
|
|
13378
|
-
handler:
|
|
13596
|
+
handler: get29,
|
|
13379
13597
|
path: "/api/setup",
|
|
13380
13598
|
params: {},
|
|
13381
|
-
options:
|
|
13599
|
+
options: get29_options,
|
|
13382
13600
|
meta: {}
|
|
13383
13601
|
};
|
|
13384
13602
|
case "skills": return {
|
|
13385
|
-
handler:
|
|
13603
|
+
handler: get33,
|
|
13386
13604
|
path: "/api/skills",
|
|
13387
13605
|
params: {},
|
|
13388
|
-
options:
|
|
13606
|
+
options: get33_options,
|
|
13389
13607
|
meta: {}
|
|
13390
13608
|
};
|
|
13391
13609
|
case "status": return {
|
|
13392
|
-
handler:
|
|
13610
|
+
handler: get35,
|
|
13393
13611
|
path: "/api/status",
|
|
13394
13612
|
params: {},
|
|
13395
|
-
options:
|
|
13613
|
+
options: get35_options,
|
|
13396
13614
|
meta: {}
|
|
13397
13615
|
};
|
|
13398
13616
|
case "usage": return {
|
|
13399
|
-
handler:
|
|
13617
|
+
handler: get36,
|
|
13400
13618
|
path: "/api/usage",
|
|
13401
13619
|
params: {},
|
|
13402
|
-
options:
|
|
13620
|
+
options: get36_options,
|
|
13403
13621
|
meta: {}
|
|
13404
13622
|
};
|
|
13405
13623
|
case "workspaces": return {
|
|
13406
|
-
handler:
|
|
13624
|
+
handler: get37,
|
|
13407
13625
|
path: "/api/workspaces",
|
|
13408
13626
|
params: {},
|
|
13409
|
-
options:
|
|
13627
|
+
options: get37_options,
|
|
13410
13628
|
meta: {}
|
|
13411
13629
|
};
|
|
13412
13630
|
}
|
|
@@ -13436,13 +13654,20 @@ function match_internal(method, pathname) {
|
|
|
13436
13654
|
options: get16_options,
|
|
13437
13655
|
meta: {}
|
|
13438
13656
|
};
|
|
13439
|
-
case "
|
|
13657
|
+
case "icon-png": return {
|
|
13440
13658
|
handler: get17,
|
|
13441
|
-
path: "/api/instance/
|
|
13659
|
+
path: "/api/instance/icon-png",
|
|
13442
13660
|
params: {},
|
|
13443
13661
|
options: get17_options,
|
|
13444
13662
|
meta: {}
|
|
13445
13663
|
};
|
|
13664
|
+
case "manifest": return {
|
|
13665
|
+
handler: get18,
|
|
13666
|
+
path: "/api/instance/manifest",
|
|
13667
|
+
params: {},
|
|
13668
|
+
options: get18_options,
|
|
13669
|
+
meta: {}
|
|
13670
|
+
};
|
|
13446
13671
|
}
|
|
13447
13672
|
}
|
|
13448
13673
|
break;
|
|
@@ -13451,10 +13676,10 @@ function match_internal(method, pathname) {
|
|
|
13451
13676
|
const i3 = pathname.indexOf("/", 11) + 1;
|
|
13452
13677
|
if (!i3 || i3 === len) {
|
|
13453
13678
|
if (pathname.slice(11, i3 ? -1 : len) === "branches") return {
|
|
13454
|
-
handler:
|
|
13679
|
+
handler: get25,
|
|
13455
13680
|
path: "/api/repos/branches",
|
|
13456
13681
|
params: {},
|
|
13457
|
-
options:
|
|
13682
|
+
options: get25_options,
|
|
13458
13683
|
meta: {}
|
|
13459
13684
|
};
|
|
13460
13685
|
}
|
|
@@ -13465,17 +13690,17 @@ function match_internal(method, pathname) {
|
|
|
13465
13690
|
const i3 = pathname.indexOf("/", 11) + 1;
|
|
13466
13691
|
if (!i3 || i3 === len) switch (pathname.slice(11, i3 ? -1 : len)) {
|
|
13467
13692
|
case "search": return {
|
|
13468
|
-
handler:
|
|
13693
|
+
handler: get31,
|
|
13469
13694
|
path: "/api/setup/search",
|
|
13470
13695
|
params: {},
|
|
13471
|
-
options:
|
|
13696
|
+
options: get31_options,
|
|
13472
13697
|
meta: {}
|
|
13473
13698
|
};
|
|
13474
13699
|
case "self": return {
|
|
13475
|
-
handler:
|
|
13700
|
+
handler: get32,
|
|
13476
13701
|
path: "/api/setup/self",
|
|
13477
13702
|
params: {},
|
|
13478
|
-
options:
|
|
13703
|
+
options: get32_options,
|
|
13479
13704
|
meta: {}
|
|
13480
13705
|
};
|
|
13481
13706
|
}
|
|
@@ -13486,10 +13711,10 @@ function match_internal(method, pathname) {
|
|
|
13486
13711
|
const i3 = pathname.indexOf("/", 12) + 1;
|
|
13487
13712
|
if (!i3 || i3 === len) {
|
|
13488
13713
|
if (pathname.slice(12, i3 ? -1 : len) === "search") return {
|
|
13489
|
-
handler:
|
|
13714
|
+
handler: get34,
|
|
13490
13715
|
path: "/api/skills/search",
|
|
13491
13716
|
params: {},
|
|
13492
|
-
options:
|
|
13717
|
+
options: get34_options,
|
|
13493
13718
|
meta: {}
|
|
13494
13719
|
};
|
|
13495
13720
|
}
|
|
@@ -13503,38 +13728,38 @@ function match_internal(method, pathname) {
|
|
|
13503
13728
|
const i4 = pathname.indexOf("/", i3) + 1;
|
|
13504
13729
|
if (!i4 || i4 === len) switch (pathname.slice(i3, i4 ? -1 : len)) {
|
|
13505
13730
|
case "diff": return {
|
|
13506
|
-
handler:
|
|
13731
|
+
handler: get40,
|
|
13507
13732
|
path: "/api/workspaces/$id/diff",
|
|
13508
13733
|
params: { id: s3 },
|
|
13509
|
-
options:
|
|
13734
|
+
options: get40_options,
|
|
13510
13735
|
meta: {}
|
|
13511
13736
|
};
|
|
13512
13737
|
case "procs": return {
|
|
13513
|
-
handler:
|
|
13738
|
+
handler: get41,
|
|
13514
13739
|
path: "/api/workspaces/$id/procs",
|
|
13515
13740
|
params: { id: s3 },
|
|
13516
|
-
options:
|
|
13741
|
+
options: get41_options,
|
|
13517
13742
|
meta: {}
|
|
13518
13743
|
};
|
|
13519
13744
|
case "review": return {
|
|
13520
|
-
handler:
|
|
13745
|
+
handler: get45,
|
|
13521
13746
|
path: "/api/workspaces/$id/review",
|
|
13522
13747
|
params: { id: s3 },
|
|
13523
|
-
options:
|
|
13748
|
+
options: get45_options,
|
|
13524
13749
|
meta: {}
|
|
13525
13750
|
};
|
|
13526
13751
|
case "sessions": return {
|
|
13527
|
-
handler:
|
|
13752
|
+
handler: get47,
|
|
13528
13753
|
path: "/api/workspaces/$id/sessions",
|
|
13529
13754
|
params: { id: s3 },
|
|
13530
|
-
options:
|
|
13755
|
+
options: get47_options,
|
|
13531
13756
|
meta: {}
|
|
13532
13757
|
};
|
|
13533
13758
|
case "skills": return {
|
|
13534
|
-
handler:
|
|
13759
|
+
handler: get48,
|
|
13535
13760
|
path: "/api/workspaces/$id/skills",
|
|
13536
13761
|
params: { id: s3 },
|
|
13537
|
-
options:
|
|
13762
|
+
options: get48_options,
|
|
13538
13763
|
meta: {}
|
|
13539
13764
|
};
|
|
13540
13765
|
}
|
|
@@ -13627,73 +13852,73 @@ function match_internal(method, pathname) {
|
|
|
13627
13852
|
meta: {}
|
|
13628
13853
|
};
|
|
13629
13854
|
case "prefs": return {
|
|
13630
|
-
handler:
|
|
13855
|
+
handler: head19,
|
|
13631
13856
|
path: "/api/prefs",
|
|
13632
13857
|
params: {},
|
|
13633
|
-
options:
|
|
13858
|
+
options: head19_options,
|
|
13634
13859
|
meta: {}
|
|
13635
13860
|
};
|
|
13636
13861
|
case "progress": return {
|
|
13637
|
-
handler:
|
|
13862
|
+
handler: head21,
|
|
13638
13863
|
path: "/api/progress",
|
|
13639
13864
|
params: {},
|
|
13640
|
-
options:
|
|
13865
|
+
options: head21_options,
|
|
13641
13866
|
meta: {}
|
|
13642
13867
|
};
|
|
13643
13868
|
case "push": return {
|
|
13644
|
-
handler:
|
|
13869
|
+
handler: head22,
|
|
13645
13870
|
path: "/api/push",
|
|
13646
13871
|
params: {},
|
|
13647
|
-
options:
|
|
13872
|
+
options: head22_options,
|
|
13648
13873
|
meta: {}
|
|
13649
13874
|
};
|
|
13650
13875
|
case "repos": return {
|
|
13651
|
-
handler:
|
|
13876
|
+
handler: head24,
|
|
13652
13877
|
path: "/api/repos",
|
|
13653
13878
|
params: {},
|
|
13654
|
-
options:
|
|
13879
|
+
options: head24_options,
|
|
13655
13880
|
meta: {}
|
|
13656
13881
|
};
|
|
13657
13882
|
case "settings": return {
|
|
13658
|
-
handler:
|
|
13883
|
+
handler: head28,
|
|
13659
13884
|
path: "/api/settings",
|
|
13660
13885
|
params: {},
|
|
13661
|
-
options:
|
|
13886
|
+
options: head28_options,
|
|
13662
13887
|
meta: {}
|
|
13663
13888
|
};
|
|
13664
13889
|
case "setup": return {
|
|
13665
|
-
handler:
|
|
13890
|
+
handler: head29,
|
|
13666
13891
|
path: "/api/setup",
|
|
13667
13892
|
params: {},
|
|
13668
|
-
options:
|
|
13893
|
+
options: head29_options,
|
|
13669
13894
|
meta: {}
|
|
13670
13895
|
};
|
|
13671
13896
|
case "skills": return {
|
|
13672
|
-
handler:
|
|
13897
|
+
handler: head33,
|
|
13673
13898
|
path: "/api/skills",
|
|
13674
13899
|
params: {},
|
|
13675
|
-
options:
|
|
13900
|
+
options: head33_options,
|
|
13676
13901
|
meta: {}
|
|
13677
13902
|
};
|
|
13678
13903
|
case "status": return {
|
|
13679
|
-
handler:
|
|
13904
|
+
handler: head35,
|
|
13680
13905
|
path: "/api/status",
|
|
13681
13906
|
params: {},
|
|
13682
|
-
options:
|
|
13907
|
+
options: head35_options,
|
|
13683
13908
|
meta: {}
|
|
13684
13909
|
};
|
|
13685
13910
|
case "usage": return {
|
|
13686
|
-
handler:
|
|
13911
|
+
handler: head36,
|
|
13687
13912
|
path: "/api/usage",
|
|
13688
13913
|
params: {},
|
|
13689
|
-
options:
|
|
13914
|
+
options: head36_options,
|
|
13690
13915
|
meta: {}
|
|
13691
13916
|
};
|
|
13692
13917
|
case "workspaces": return {
|
|
13693
|
-
handler:
|
|
13918
|
+
handler: head37,
|
|
13694
13919
|
path: "/api/workspaces",
|
|
13695
13920
|
params: {},
|
|
13696
|
-
options:
|
|
13921
|
+
options: head37_options,
|
|
13697
13922
|
meta: {}
|
|
13698
13923
|
};
|
|
13699
13924
|
}
|
|
@@ -13723,13 +13948,20 @@ function match_internal(method, pathname) {
|
|
|
13723
13948
|
options: head16_options,
|
|
13724
13949
|
meta: {}
|
|
13725
13950
|
};
|
|
13726
|
-
case "
|
|
13951
|
+
case "icon-png": return {
|
|
13727
13952
|
handler: head17,
|
|
13728
|
-
path: "/api/instance/
|
|
13953
|
+
path: "/api/instance/icon-png",
|
|
13729
13954
|
params: {},
|
|
13730
13955
|
options: head17_options,
|
|
13731
13956
|
meta: {}
|
|
13732
13957
|
};
|
|
13958
|
+
case "manifest": return {
|
|
13959
|
+
handler: head18,
|
|
13960
|
+
path: "/api/instance/manifest",
|
|
13961
|
+
params: {},
|
|
13962
|
+
options: head18_options,
|
|
13963
|
+
meta: {}
|
|
13964
|
+
};
|
|
13733
13965
|
}
|
|
13734
13966
|
}
|
|
13735
13967
|
break;
|
|
@@ -13738,10 +13970,10 @@ function match_internal(method, pathname) {
|
|
|
13738
13970
|
const i3 = pathname.indexOf("/", 11) + 1;
|
|
13739
13971
|
if (!i3 || i3 === len) {
|
|
13740
13972
|
if (pathname.slice(11, i3 ? -1 : len) === "branches") return {
|
|
13741
|
-
handler:
|
|
13973
|
+
handler: head25,
|
|
13742
13974
|
path: "/api/repos/branches",
|
|
13743
13975
|
params: {},
|
|
13744
|
-
options:
|
|
13976
|
+
options: head25_options,
|
|
13745
13977
|
meta: {}
|
|
13746
13978
|
};
|
|
13747
13979
|
}
|
|
@@ -13752,17 +13984,17 @@ function match_internal(method, pathname) {
|
|
|
13752
13984
|
const i3 = pathname.indexOf("/", 11) + 1;
|
|
13753
13985
|
if (!i3 || i3 === len) switch (pathname.slice(11, i3 ? -1 : len)) {
|
|
13754
13986
|
case "search": return {
|
|
13755
|
-
handler:
|
|
13987
|
+
handler: head31,
|
|
13756
13988
|
path: "/api/setup/search",
|
|
13757
13989
|
params: {},
|
|
13758
|
-
options:
|
|
13990
|
+
options: head31_options,
|
|
13759
13991
|
meta: {}
|
|
13760
13992
|
};
|
|
13761
13993
|
case "self": return {
|
|
13762
|
-
handler:
|
|
13994
|
+
handler: head32,
|
|
13763
13995
|
path: "/api/setup/self",
|
|
13764
13996
|
params: {},
|
|
13765
|
-
options:
|
|
13997
|
+
options: head32_options,
|
|
13766
13998
|
meta: {}
|
|
13767
13999
|
};
|
|
13768
14000
|
}
|
|
@@ -13773,10 +14005,10 @@ function match_internal(method, pathname) {
|
|
|
13773
14005
|
const i3 = pathname.indexOf("/", 12) + 1;
|
|
13774
14006
|
if (!i3 || i3 === len) {
|
|
13775
14007
|
if (pathname.slice(12, i3 ? -1 : len) === "search") return {
|
|
13776
|
-
handler:
|
|
14008
|
+
handler: head34,
|
|
13777
14009
|
path: "/api/skills/search",
|
|
13778
14010
|
params: {},
|
|
13779
|
-
options:
|
|
14011
|
+
options: head34_options,
|
|
13780
14012
|
meta: {}
|
|
13781
14013
|
};
|
|
13782
14014
|
}
|
|
@@ -13790,38 +14022,38 @@ function match_internal(method, pathname) {
|
|
|
13790
14022
|
const i4 = pathname.indexOf("/", i3) + 1;
|
|
13791
14023
|
if (!i4 || i4 === len) switch (pathname.slice(i3, i4 ? -1 : len)) {
|
|
13792
14024
|
case "diff": return {
|
|
13793
|
-
handler:
|
|
14025
|
+
handler: head40,
|
|
13794
14026
|
path: "/api/workspaces/$id/diff",
|
|
13795
14027
|
params: { id: s3 },
|
|
13796
|
-
options:
|
|
14028
|
+
options: head40_options,
|
|
13797
14029
|
meta: {}
|
|
13798
14030
|
};
|
|
13799
14031
|
case "procs": return {
|
|
13800
|
-
handler:
|
|
14032
|
+
handler: head41,
|
|
13801
14033
|
path: "/api/workspaces/$id/procs",
|
|
13802
14034
|
params: { id: s3 },
|
|
13803
|
-
options:
|
|
14035
|
+
options: head41_options,
|
|
13804
14036
|
meta: {}
|
|
13805
14037
|
};
|
|
13806
14038
|
case "review": return {
|
|
13807
|
-
handler:
|
|
14039
|
+
handler: head45,
|
|
13808
14040
|
path: "/api/workspaces/$id/review",
|
|
13809
14041
|
params: { id: s3 },
|
|
13810
|
-
options:
|
|
14042
|
+
options: head45_options,
|
|
13811
14043
|
meta: {}
|
|
13812
14044
|
};
|
|
13813
14045
|
case "sessions": return {
|
|
13814
|
-
handler:
|
|
14046
|
+
handler: head47,
|
|
13815
14047
|
path: "/api/workspaces/$id/sessions",
|
|
13816
14048
|
params: { id: s3 },
|
|
13817
|
-
options:
|
|
14049
|
+
options: head47_options,
|
|
13818
14050
|
meta: {}
|
|
13819
14051
|
};
|
|
13820
14052
|
case "skills": return {
|
|
13821
|
-
handler:
|
|
14053
|
+
handler: head48,
|
|
13822
14054
|
path: "/api/workspaces/$id/skills",
|
|
13823
14055
|
params: { id: s3 },
|
|
13824
|
-
options:
|
|
14056
|
+
options: head48_options,
|
|
13825
14057
|
meta: {}
|
|
13826
14058
|
};
|
|
13827
14059
|
}
|
|
@@ -13849,38 +14081,38 @@ function match_internal(method, pathname) {
|
|
|
13849
14081
|
meta: {}
|
|
13850
14082
|
};
|
|
13851
14083
|
case "prefs": return {
|
|
13852
|
-
handler:
|
|
14084
|
+
handler: post19,
|
|
13853
14085
|
path: "/api/prefs",
|
|
13854
14086
|
params: {},
|
|
13855
|
-
options:
|
|
14087
|
+
options: post19_options,
|
|
13856
14088
|
meta: {}
|
|
13857
14089
|
};
|
|
13858
14090
|
case "push": return {
|
|
13859
|
-
handler:
|
|
14091
|
+
handler: post22,
|
|
13860
14092
|
path: "/api/push",
|
|
13861
14093
|
params: {},
|
|
13862
|
-
options:
|
|
14094
|
+
options: post22_options,
|
|
13863
14095
|
meta: {}
|
|
13864
14096
|
};
|
|
13865
14097
|
case "repo-pushed": return {
|
|
13866
|
-
handler:
|
|
14098
|
+
handler: post23,
|
|
13867
14099
|
path: "/api/repo-pushed",
|
|
13868
14100
|
params: {},
|
|
13869
|
-
options:
|
|
14101
|
+
options: post23_options,
|
|
13870
14102
|
meta: {}
|
|
13871
14103
|
};
|
|
13872
14104
|
case "skills": return {
|
|
13873
|
-
handler:
|
|
14105
|
+
handler: post33,
|
|
13874
14106
|
path: "/api/skills",
|
|
13875
14107
|
params: {},
|
|
13876
|
-
options:
|
|
14108
|
+
options: post33_options,
|
|
13877
14109
|
meta: {}
|
|
13878
14110
|
};
|
|
13879
14111
|
case "workspaces": return {
|
|
13880
|
-
handler:
|
|
14112
|
+
handler: post37,
|
|
13881
14113
|
path: "/api/workspaces",
|
|
13882
14114
|
params: {},
|
|
13883
|
-
options:
|
|
14115
|
+
options: post37_options,
|
|
13884
14116
|
meta: {}
|
|
13885
14117
|
};
|
|
13886
14118
|
}
|
|
@@ -13943,10 +14175,10 @@ function match_internal(method, pathname) {
|
|
|
13943
14175
|
const i4 = pathname.indexOf("/", i3) + 1;
|
|
13944
14176
|
if (!i4 || i4 === len) {
|
|
13945
14177
|
if (pathname.slice(i3, i4 ? -1 : len) === "send") return {
|
|
13946
|
-
handler:
|
|
14178
|
+
handler: post27,
|
|
13947
14179
|
path: "/api/sessions/$id/send",
|
|
13948
14180
|
params: { id: s3 },
|
|
13949
|
-
options:
|
|
14181
|
+
options: post27_options,
|
|
13950
14182
|
meta: {}
|
|
13951
14183
|
};
|
|
13952
14184
|
}
|
|
@@ -13960,17 +14192,17 @@ function match_internal(method, pathname) {
|
|
|
13960
14192
|
if (!i3 || i3 === len) {
|
|
13961
14193
|
const s3 = decodeURIComponent(pathname.slice(11, i3 ? -1 : len));
|
|
13962
14194
|
if (s3 === "self") return {
|
|
13963
|
-
handler:
|
|
14195
|
+
handler: post32,
|
|
13964
14196
|
path: "/api/setup/self",
|
|
13965
14197
|
params: {},
|
|
13966
|
-
options:
|
|
14198
|
+
options: post32_options,
|
|
13967
14199
|
meta: {}
|
|
13968
14200
|
};
|
|
13969
14201
|
if (s3) return {
|
|
13970
|
-
handler:
|
|
14202
|
+
handler: post30,
|
|
13971
14203
|
path: "/api/setup/$id",
|
|
13972
14204
|
params: { id: s3 },
|
|
13973
|
-
options:
|
|
14205
|
+
options: post30_options,
|
|
13974
14206
|
meta: {}
|
|
13975
14207
|
};
|
|
13976
14208
|
}
|
|
@@ -13981,10 +14213,10 @@ function match_internal(method, pathname) {
|
|
|
13981
14213
|
if (!i3 || i3 === len) {
|
|
13982
14214
|
const s3 = decodeURIComponent(pathname.slice(16, i3 ? -1 : len));
|
|
13983
14215
|
if (s3) return {
|
|
13984
|
-
handler:
|
|
14216
|
+
handler: post38,
|
|
13985
14217
|
path: "/api/workspaces/$id",
|
|
13986
14218
|
params: { id: s3 },
|
|
13987
|
-
options:
|
|
14219
|
+
options: post38_options,
|
|
13988
14220
|
meta: {}
|
|
13989
14221
|
};
|
|
13990
14222
|
} else {
|
|
@@ -13993,45 +14225,45 @@ function match_internal(method, pathname) {
|
|
|
13993
14225
|
const i4 = pathname.indexOf("/", i3) + 1;
|
|
13994
14226
|
if (!i4 || i4 === len) switch (pathname.slice(i3, i4 ? -1 : len)) {
|
|
13995
14227
|
case "assets": return {
|
|
13996
|
-
handler:
|
|
14228
|
+
handler: post39,
|
|
13997
14229
|
path: "/api/workspaces/$id/assets",
|
|
13998
14230
|
params: { id: s3 },
|
|
13999
|
-
options:
|
|
14231
|
+
options: post39_options,
|
|
14000
14232
|
meta: {}
|
|
14001
14233
|
};
|
|
14002
14234
|
case "prs": return {
|
|
14003
|
-
handler:
|
|
14235
|
+
handler: post42,
|
|
14004
14236
|
path: "/api/workspaces/$id/prs",
|
|
14005
14237
|
params: { id: s3 },
|
|
14006
|
-
options:
|
|
14238
|
+
options: post42_options,
|
|
14007
14239
|
meta: {}
|
|
14008
14240
|
};
|
|
14009
14241
|
case "repos": return {
|
|
14010
|
-
handler:
|
|
14242
|
+
handler: post43,
|
|
14011
14243
|
path: "/api/workspaces/$id/repos",
|
|
14012
14244
|
params: { id: s3 },
|
|
14013
|
-
options:
|
|
14245
|
+
options: post43_options,
|
|
14014
14246
|
meta: {}
|
|
14015
14247
|
};
|
|
14016
14248
|
case "review": return {
|
|
14017
|
-
handler:
|
|
14249
|
+
handler: post45,
|
|
14018
14250
|
path: "/api/workspaces/$id/review",
|
|
14019
14251
|
params: { id: s3 },
|
|
14020
|
-
options:
|
|
14252
|
+
options: post45_options,
|
|
14021
14253
|
meta: {}
|
|
14022
14254
|
};
|
|
14023
14255
|
case "sessions": return {
|
|
14024
|
-
handler:
|
|
14256
|
+
handler: post47,
|
|
14025
14257
|
path: "/api/workspaces/$id/sessions",
|
|
14026
14258
|
params: { id: s3 },
|
|
14027
|
-
options:
|
|
14259
|
+
options: post47_options,
|
|
14028
14260
|
meta: {}
|
|
14029
14261
|
};
|
|
14030
14262
|
case "skills": return {
|
|
14031
|
-
handler:
|
|
14263
|
+
handler: post48,
|
|
14032
14264
|
path: "/api/workspaces/$id/skills",
|
|
14033
14265
|
params: { id: s3 },
|
|
14034
|
-
options:
|
|
14266
|
+
options: post48_options,
|
|
14035
14267
|
meta: {}
|
|
14036
14268
|
};
|
|
14037
14269
|
}
|
|
@@ -14052,10 +14284,10 @@ function match_internal(method, pathname) {
|
|
|
14052
14284
|
const i2 = pathname.indexOf("/", 5) + 1;
|
|
14053
14285
|
if (!i2 || i2 === len) {
|
|
14054
14286
|
if (pathname.slice(5, i2 ? -1 : len) === "settings") return {
|
|
14055
|
-
handler:
|
|
14287
|
+
handler: put28,
|
|
14056
14288
|
path: "/api/settings",
|
|
14057
14289
|
params: {},
|
|
14058
|
-
options:
|
|
14290
|
+
options: put28_options,
|
|
14059
14291
|
meta: {}
|
|
14060
14292
|
};
|
|
14061
14293
|
}
|
|
@@ -14072,10 +14304,10 @@ function match_internal(method, pathname) {
|
|
|
14072
14304
|
const i2 = pathname.indexOf("/", 5) + 1;
|
|
14073
14305
|
if (!i2 || i2 === len) {
|
|
14074
14306
|
if (pathname.slice(5, i2 ? -1 : len) === "push") return {
|
|
14075
|
-
handler:
|
|
14307
|
+
handler: delete22,
|
|
14076
14308
|
path: "/api/push",
|
|
14077
14309
|
params: {},
|
|
14078
|
-
options:
|
|
14310
|
+
options: delete22_options,
|
|
14079
14311
|
meta: {}
|
|
14080
14312
|
};
|
|
14081
14313
|
} else switch (pathname.slice(5, i2 - 1)) {
|
|
@@ -14085,10 +14317,10 @@ function match_internal(method, pathname) {
|
|
|
14085
14317
|
if (!i3 || i3 === len) {
|
|
14086
14318
|
const s3 = decodeURIComponent(pathname.slice(11, i3 ? -1 : len));
|
|
14087
14319
|
if (s3) return {
|
|
14088
|
-
handler:
|
|
14320
|
+
handler: delete20,
|
|
14089
14321
|
path: "/api/procs/$pid",
|
|
14090
14322
|
params: { pid: s3 },
|
|
14091
|
-
options:
|
|
14323
|
+
options: delete20_options,
|
|
14092
14324
|
meta: {}
|
|
14093
14325
|
};
|
|
14094
14326
|
}
|
|
@@ -14100,10 +14332,10 @@ function match_internal(method, pathname) {
|
|
|
14100
14332
|
if (!i3 || i3 === len) {
|
|
14101
14333
|
const s3 = decodeURIComponent(pathname.slice(14, i3 ? -1 : len));
|
|
14102
14334
|
if (s3) return {
|
|
14103
|
-
handler:
|
|
14335
|
+
handler: delete26,
|
|
14104
14336
|
path: "/api/sessions/$id",
|
|
14105
14337
|
params: { id: s3 },
|
|
14106
|
-
options:
|
|
14338
|
+
options: delete26_options,
|
|
14107
14339
|
meta: {}
|
|
14108
14340
|
};
|
|
14109
14341
|
}
|
|
@@ -14122,13 +14354,13 @@ function match_internal(method, pathname) {
|
|
|
14122
14354
|
if (!i5 || i5 === len) {
|
|
14123
14355
|
const s5 = decodeURIComponent(pathname.slice(i4, i5 ? -1 : len));
|
|
14124
14356
|
if (s5) return {
|
|
14125
|
-
handler:
|
|
14357
|
+
handler: delete44,
|
|
14126
14358
|
path: "/api/workspaces/$id/repos/$worktree",
|
|
14127
14359
|
params: {
|
|
14128
14360
|
id: s3,
|
|
14129
14361
|
worktree: s5
|
|
14130
14362
|
},
|
|
14131
|
-
options:
|
|
14363
|
+
options: delete44_options,
|
|
14132
14364
|
meta: {}
|
|
14133
14365
|
};
|
|
14134
14366
|
}
|
|
@@ -14139,13 +14371,13 @@ function match_internal(method, pathname) {
|
|
|
14139
14371
|
if (!i5 || i5 === len) {
|
|
14140
14372
|
const s5 = decodeURIComponent(pathname.slice(i4, i5 ? -1 : len));
|
|
14141
14373
|
if (s5) return {
|
|
14142
|
-
handler:
|
|
14374
|
+
handler: delete46,
|
|
14143
14375
|
path: "/api/workspaces/$id/review/$commentId",
|
|
14144
14376
|
params: {
|
|
14145
14377
|
id: s3,
|
|
14146
14378
|
commentId: s5
|
|
14147
14379
|
},
|
|
14148
|
-
options:
|
|
14380
|
+
options: delete46_options,
|
|
14149
14381
|
meta: {}
|
|
14150
14382
|
};
|
|
14151
14383
|
}
|
|
@@ -14173,10 +14405,10 @@ function match_internal(method, pathname) {
|
|
|
14173
14405
|
if (!i3 || i3 === len) {
|
|
14174
14406
|
const s3 = decodeURIComponent(pathname.slice(14, i3 ? -1 : len));
|
|
14175
14407
|
if (s3) return {
|
|
14176
|
-
handler:
|
|
14408
|
+
handler: patch26,
|
|
14177
14409
|
path: "/api/sessions/$id",
|
|
14178
14410
|
params: { id: s3 },
|
|
14179
|
-
options:
|
|
14411
|
+
options: patch26_options,
|
|
14180
14412
|
meta: {}
|
|
14181
14413
|
};
|
|
14182
14414
|
}
|
|
@@ -14194,13 +14426,13 @@ function match_internal(method, pathname) {
|
|
|
14194
14426
|
if (!i5 || i5 === len) {
|
|
14195
14427
|
const s5 = decodeURIComponent(pathname.slice(i4, i5 ? -1 : len));
|
|
14196
14428
|
if (s5) return {
|
|
14197
|
-
handler:
|
|
14429
|
+
handler: patch46,
|
|
14198
14430
|
path: "/api/workspaces/$id/review/$commentId",
|
|
14199
14431
|
params: {
|
|
14200
14432
|
id: s3,
|
|
14201
14433
|
commentId: s5
|
|
14202
14434
|
},
|
|
14203
|
-
options:
|
|
14435
|
+
options: patch46_options,
|
|
14204
14436
|
meta: {}
|
|
14205
14437
|
};
|
|
14206
14438
|
}
|
|
@@ -18365,4 +18597,4 @@ server.listen(port, () => {
|
|
|
18365
18597
|
//#endregion
|
|
18366
18598
|
export {};
|
|
18367
18599
|
|
|
18368
|
-
;var __MARKO_MANIFEST__={"
|
|
18600
|
+
;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-CAc78zsq.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CAc78zsq.css\"",">"],"defer":[2,"/assets/new-3qSpO9bT.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-3qSpO9bT.js\"","></script>",2,"modulepreload#/assets/_c-AH25-U.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_c-AH25-U.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-CAc78zsq.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CAc78zsq.css\"",">"],"defer":[2,"/assets/settings-3qSpO9bT.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-3qSpO9bT.js\"","></script>",2,"modulepreload#/assets/_c-AH25-U.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_c-AH25-U.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-CAc78zsq.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CAc78zsq.css\"",">"],"defer":[2,"/assets/w-3qSpO9bT.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-3qSpO9bT.js\"","></script>",2,"modulepreload#/assets/_c-AH25-U.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_c-AH25-U.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-CAc78zsq.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CAc78zsq.css\"",">"],"defer":[2,"/assets/w._-3qSpO9bT.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-3qSpO9bT.js\"","></script>",2,"modulepreload#/assets/_c-AH25-U.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_c-AH25-U.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-CAc78zsq.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CAc78zsq.css\"",">"],"defer":[2,"/assets/w._-B0kRn52l.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-B0kRn52l.js\"","></script>",2,"modulepreload#/assets/_c-AH25-U.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_c-AH25-U.js\"",">"]}};
|