@dylanpiercey/work 0.0.155 → 0.0.156
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{_DGEhqy7E.js → _B8Ruz8T9.js} +27 -5
- package/dist/_wmfv4tOT.js +2 -0
- package/dist/index.mjs +386 -370
- package/dist/public/assets/_3TAs6e3a.js +1 -0
- package/dist/public/assets/_BhzAQNcR.js +1 -0
- package/dist/public/assets/_Bs0GH8Un.js +1 -0
- package/dist/public/assets/_BsQdE43w.js +1 -0
- package/dist/public/assets/_Bu6zDaCf.js +1 -0
- package/dist/public/assets/_C0Hkg4LE.js +1 -0
- package/dist/public/assets/{_CEMoDLXP.js → _C91MT5yy.js} +4 -4
- package/dist/public/assets/_C91MT5yy.js.br +0 -0
- package/dist/public/assets/_CSyaSvmu.js +1 -0
- package/dist/public/assets/_CdmnYrOv.js +1 -0
- package/dist/public/assets/_Cprr2EDj.js +1 -0
- package/dist/public/assets/_CrjqDD-b.js +1 -0
- package/dist/public/assets/_CuD02PHO.js +1 -0
- package/dist/public/assets/_DUCGBps_.js +1 -0
- package/dist/public/assets/_DWip1MXY.js +1 -0
- package/dist/public/assets/_DjkR1-0g.js +1 -0
- package/dist/public/assets/_DtIeV3eK.js +1 -0
- package/dist/public/assets/_EshNWd65.js +1 -0
- package/dist/public/assets/_GGdKVYFt.js +1 -0
- package/dist/public/assets/{_RyGFT-OL.js → _HiS0aCND.js} +4 -4
- package/dist/public/assets/_HiS0aCND.js.br +0 -0
- package/dist/public/assets/_QXWaVkby.js +1 -0
- package/dist/public/assets/{_1gUZhn72.js → _Uo3NXPui.js} +1 -1
- package/dist/public/assets/_Uo3NXPui.js.br +0 -0
- package/dist/public/assets/_X3Y1Ka-i.js +1 -0
- package/dist/public/assets/{app-page-CrdRBxBQ.css → app-page-C_8cFCmf.css} +1 -1
- package/dist/public/assets/app-page-C_8cFCmf.css.br +0 -0
- package/dist/public/assets/{diff-view-CyfjTVs-.css → diff-view-Bb2JIhMi.css} +1 -1
- package/dist/public/assets/diff-view-Bb2JIhMi.css.br +0 -0
- package/dist/public/assets/diff-view-D8GrPRg5.js +2 -0
- package/dist/public/assets/{icon-arrow-down-Cx-52UZC.css → icon-arrow-down-CK1qiyoU.css} +1 -1
- package/dist/public/assets/icon-arrow-down-CK1qiyoU.css.br +0 -0
- package/dist/public/assets/new-DvLxb34o.js +1 -0
- package/dist/public/assets/settings-DvLxb34o.js +1 -0
- package/dist/public/assets/w-DvLxb34o.js +1 -0
- package/dist/public/assets/w._-DvLxb34o.js +1 -0
- package/dist/public/assets/w._-I2MUgpxd.js +1 -0
- package/package.json +1 -1
- package/scripts/migrate.mjs +66 -0
- package/dist/_Bv4lCw13.js +0 -2
- package/dist/public/assets/_1gUZhn72.js.br +0 -0
- package/dist/public/assets/_3wdC4kjt.js +0 -1
- package/dist/public/assets/_8LoUYieB.js +0 -1
- package/dist/public/assets/_BHkh0C4r.js +0 -1
- package/dist/public/assets/_BxsNwKYs.js +0 -1
- package/dist/public/assets/_C-7E8N0G.js +0 -1
- package/dist/public/assets/_CEMoDLXP.js.br +0 -0
- package/dist/public/assets/_CH1656a4.js +0 -1
- package/dist/public/assets/_CYNLMVHd.js +0 -1
- package/dist/public/assets/_CZWK2oF5.js +0 -1
- package/dist/public/assets/_C_fb7SlO.js +0 -1
- package/dist/public/assets/_Chgv7FAK.js +0 -1
- package/dist/public/assets/_CsjqksEp.js +0 -1
- package/dist/public/assets/_D0ziDtl8.js +0 -1
- package/dist/public/assets/_DEh3RwEA.js +0 -1
- package/dist/public/assets/_DK2H3WGf.js +0 -1
- package/dist/public/assets/_DyNsNUHj.js +0 -1
- package/dist/public/assets/_RyGFT-OL.js.br +0 -0
- package/dist/public/assets/_UNGY8FMp.js +0 -1
- package/dist/public/assets/__Emydtfa.js +0 -1
- package/dist/public/assets/_mywpJcKx.js +0 -1
- package/dist/public/assets/_o6cgOqS_.js +0 -1
- package/dist/public/assets/app-page-CrdRBxBQ.css.br +0 -0
- package/dist/public/assets/diff-view-Cr-PefQe.js +0 -2
- package/dist/public/assets/diff-view-CyfjTVs-.css.br +0 -0
- package/dist/public/assets/icon-arrow-down-Cx-52UZC.css.br +0 -0
- package/dist/public/assets/new-C_aFgj9M.js +0 -1
- package/dist/public/assets/settings-C_aFgj9M.js +0 -1
- package/dist/public/assets/w-C_aFgj9M.js +0 -1
- package/dist/public/assets/w._-BmFMmeGE.js +0 -1
- package/dist/public/assets/w._-C_aFgj9M.js +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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 disabledAgents, A as clearAgentPhase, B as deleteSubscription, C as reportsWorking, Ct as gh, D as agentFromCommand, Dt as config, E as agentFamily, Et as tmux, F as getInstance, G as subscribe, H as saveSubscription, I as iconSvg, J as shared, K as subscriberCount, L as manifest, M as setScrapedPhase, N as setSessionViewers, O as agentLabel, P as ACCENT_RE, Q as allPrefs, R as normalizeAccent, S as readHookPayload, St as TMUX_SOCKET, T as agentBadge, Tt as run, U as publish, V as pushPublicKey, W as publishJson, X as withLock, Y as swr, Z as agentChoices, _ as sendToSession, _t as toolById, a as ensureTmuxServer, at as setSetting, b as tmuxWasStarted, bt as get$1, c as killSession, ct as ghKnownHosts, d as listSessions, dt as setupPath, et as enabledAgents, f as markTmuxStarted, ft as which, g as renameSession, gt as agentLabel$1, h as panePids, ht as agentById, i as disposeSessions, it as setPref, j as setAgentPhase, k as agentMeta, l as killWorkspaceSessions, lt as miseInstalls, mt as TOOLS, n as clearTmuxStarted, nt as preferredAgent, o as forgetPanes, ot as discoverAgents, p as newSessionArgs, pt as DEFAULT_GITHUB_HOST, q as subscriberJoins, r as createSession, rt as setDisabledAgents, s as getSession, st as doctor, t as cleanEnv, tt as getSetting, u as listPanes, ut as miseVersions, v as sessionStates, vt as all, w as blankRow, wt as git, x as AGENTS, xt as workspacePath, y as tmuxName, yt as db, z as setInstance } from "./
|
|
2
|
+
import { $ as disabledAgents, A as clearAgentPhase, B as deleteSubscription, C as reportsWorking, Ct as gh, D as agentFromCommand, Dt as config, E as agentFamily, Et as tmux, F as getInstance, G as subscribe, H as saveSubscription, I as iconSvg, J as shared, K as subscriberCount, L as manifest, M as setScrapedPhase, N as setSessionViewers, O as agentLabel, P as ACCENT_RE, Q as allPrefs, R as normalizeAccent, S as readHookPayload, St as TMUX_SOCKET, T as agentBadge, Tt as run, U as publish, V as pushPublicKey, W as publishJson, X as withLock, Y as swr, Z as agentChoices, _ as sendToSession, _t as toolById, a as ensureTmuxServer, at as setSetting, b as tmuxWasStarted, bt as get$1, c as killSession, ct as ghKnownHosts, d as listSessions, dt as setupPath, et as enabledAgents, f as markTmuxStarted, ft as which, g as renameSession, gt as agentLabel$1, h as panePids, ht as agentById, i as disposeSessions, it as setPref, j as setAgentPhase, k as agentMeta, l as killWorkspaceSessions, lt as miseInstalls, mt as TOOLS, n as clearTmuxStarted, nt as preferredAgent, o as forgetPanes, ot as discoverAgents, p as newSessionArgs, pt as DEFAULT_GITHUB_HOST, q as subscriberJoins, r as createSession, rt as setDisabledAgents, s as getSession, st as doctor, t as cleanEnv, tt as getSetting, u as listPanes, ut as miseVersions, v as sessionStates, vt as all, w as blankRow, wt as git, x as AGENTS, xt as workspacePath, y as tmuxName, yt as db, z as setInstance } from "./_B8Ruz8T9.js";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import http, { createServer } from "node:http";
|
|
5
5
|
import path from "node:path";
|
|
@@ -2283,7 +2283,7 @@ async function ensureGitCredentials(host) {
|
|
|
2283
2283
|
"setup-git",
|
|
2284
2284
|
"--hostname",
|
|
2285
2285
|
host
|
|
2286
|
-
]).catch(() => {});
|
|
2286
|
+
], void 0, void 0, { timeoutMs: 3e4 }).catch(() => {});
|
|
2287
2287
|
}
|
|
2288
2288
|
function graphqlUrl(host) {
|
|
2289
2289
|
return host === DEFAULT_HOST ? "https://api.github.com/graphql" : `https://${host}/api/graphql`;
|
|
@@ -3489,12 +3489,18 @@ async function ensureBare(fullName) {
|
|
|
3489
3489
|
progress$1(`Cloning ${fullName} (first time, may take a while)…`);
|
|
3490
3490
|
fs.mkdirSync(path.dirname(bare), { recursive: true });
|
|
3491
3491
|
await ensureGitCredentials(splitRepo(fullName).host);
|
|
3492
|
+
fs.mkdirSync(bare, { recursive: true });
|
|
3492
3493
|
await git([
|
|
3493
|
-
"
|
|
3494
|
+
"init",
|
|
3494
3495
|
"--bare",
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3496
|
+
"--quiet"
|
|
3497
|
+
], bare);
|
|
3498
|
+
await git([
|
|
3499
|
+
"remote",
|
|
3500
|
+
"add",
|
|
3501
|
+
"origin",
|
|
3502
|
+
cloneUrl(fullName)
|
|
3503
|
+
], bare);
|
|
3498
3504
|
await git([
|
|
3499
3505
|
"config",
|
|
3500
3506
|
"remote.origin.fetch",
|
|
@@ -7246,19 +7252,19 @@ function applyInstance(inst) {
|
|
|
7246
7252
|
if (icon) icon.href = `/api/instance/icon${inst.accent ? `?v=${inst.accent.slice(1)}` : ""}`;
|
|
7247
7253
|
syncThemeColorMetas(theme(), inst.accent || "");
|
|
7248
7254
|
}
|
|
7249
|
-
var agentList = "
|
|
7250
|
-
var agentRow = "
|
|
7251
|
-
var toolGrid = "
|
|
7252
|
-
var toolRow = "
|
|
7253
|
-
var themeSeg = "
|
|
7254
|
-
var checkList = "
|
|
7255
|
-
var list$2 = "
|
|
7256
|
-
var flatCardRow = "
|
|
7257
|
-
var pop$1 = "
|
|
7258
|
-
var spinner = "
|
|
7259
|
-
var busy = "
|
|
7260
|
-
var pop = "
|
|
7261
|
-
var sectionCount = "
|
|
7255
|
+
var agentList = "_cQ _bZ _cD _cO";
|
|
7256
|
+
var agentRow = "_cU _cE";
|
|
7257
|
+
var toolGrid = "_c2 _cO";
|
|
7258
|
+
var toolRow = "_c3 _cP";
|
|
7259
|
+
var themeSeg = "_dq _be";
|
|
7260
|
+
var checkList = "_dW _bX";
|
|
7261
|
+
var list$2 = "_cQ _bZ _cD _cO";
|
|
7262
|
+
var flatCardRow = "_cR _cP";
|
|
7263
|
+
var pop$1 = "_d6 __";
|
|
7264
|
+
var spinner = "_d9 _2 _G";
|
|
7265
|
+
var busy = "_ec _eb";
|
|
7266
|
+
var pop = "_ee __";
|
|
7267
|
+
var sectionCount = "_bW _N _O";
|
|
7262
7268
|
var iconBtn$1 = "_5 _l";
|
|
7263
7269
|
//#endregion
|
|
7264
7270
|
//#region src/tags/icons/icon-refresh.marko
|
|
@@ -7299,7 +7305,7 @@ var icon_back_default = _template("R", (input) => {
|
|
|
7299
7305
|
var page_head_default = _template("u", (input) => {
|
|
7300
7306
|
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);
|
|
7301
7307
|
const $scope0_id = _scope_id();
|
|
7302
|
-
_html(`<header${_attr_class("
|
|
7308
|
+
_html(`<header${_attr_class("_cy")}>`);
|
|
7303
7309
|
_if(() => {
|
|
7304
7310
|
if (input.backHref) {
|
|
7305
7311
|
const $scope1_id = _scope_id();
|
|
@@ -7318,11 +7324,11 @@ var page_head_default = _template("u", (input) => {
|
|
|
7318
7324
|
return 1;
|
|
7319
7325
|
}
|
|
7320
7326
|
}, $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);
|
|
7321
|
-
_html(`<div${_attr_class("
|
|
7327
|
+
_html(`<div${_attr_class("_cA")}><h1${_attr("id", input.titleId)}${_attr_class("_cz")}>${_text_resume($scope0_id, "e", input.title, _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
|
|
7322
7328
|
_if(() => {
|
|
7323
7329
|
if (input.meta) {
|
|
7324
7330
|
const $scope3_id = _scope_id();
|
|
7325
|
-
_html(`<p${_attr_class("
|
|
7331
|
+
_html(`<p${_attr_class("_cB")}>`);
|
|
7326
7332
|
_dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
|
|
7327
7333
|
_html("</p>");
|
|
7328
7334
|
$si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -7333,7 +7339,7 @@ var page_head_default = _template("u", (input) => {
|
|
|
7333
7339
|
_if(() => {
|
|
7334
7340
|
if (input.actions) {
|
|
7335
7341
|
const $scope4_id = _scope_id();
|
|
7336
|
-
_html(`<div${_attr_class("
|
|
7342
|
+
_html(`<div${_attr_class("_cC")}>`);
|
|
7337
7343
|
_dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
7338
7344
|
_html("</div>");
|
|
7339
7345
|
$si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -7401,7 +7407,7 @@ var icon_agent_default = _template("L", (input) => {
|
|
|
7401
7407
|
n: $badge__closures
|
|
7402
7408
|
});
|
|
7403
7409
|
});
|
|
7404
|
-
var usageNote = "
|
|
7410
|
+
var usageNote = "_gR _X";
|
|
7405
7411
|
//#endregion
|
|
7406
7412
|
//#region src/tags/icons/icon-warning.marko
|
|
7407
7413
|
var icon_warning_default = _template("sb", (input) => {
|
|
@@ -7431,11 +7437,11 @@ var usage_meters_default = _template("H", (input) => {
|
|
|
7431
7437
|
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);
|
|
7432
7438
|
const $scope0_id = _scope_id();
|
|
7433
7439
|
const agent = input.agent;
|
|
7434
|
-
_html(`<div${_attr_class(["
|
|
7440
|
+
_html(`<div${_attr_class(["_gL", { ["_gM"]: input.hideName }])}><div${_attr_class("_gN")}>`);
|
|
7435
7441
|
_if(() => {
|
|
7436
7442
|
if (!input.hideName) {
|
|
7437
7443
|
const $scope1_id = _scope_id();
|
|
7438
|
-
_html(`<strong${_attr_class("
|
|
7444
|
+
_html(`<strong${_attr_class("_g6")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
|
|
7439
7445
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
7440
7446
|
return 0;
|
|
7441
7447
|
}
|
|
@@ -7443,7 +7449,7 @@ var usage_meters_default = _template("H", (input) => {
|
|
|
7443
7449
|
_if(() => {
|
|
7444
7450
|
if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
|
|
7445
7451
|
const $scope2_id = _scope_id();
|
|
7446
|
-
_html(`<span${_attr_class("
|
|
7452
|
+
_html(`<span${_attr_class("_gO")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
|
|
7447
7453
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
7448
7454
|
return 0;
|
|
7449
7455
|
}
|
|
@@ -7451,21 +7457,21 @@ var usage_meters_default = _template("H", (input) => {
|
|
|
7451
7457
|
_if(() => {
|
|
7452
7458
|
if (agent.stale_seconds != null) {
|
|
7453
7459
|
const $scope3_id = _scope_id();
|
|
7454
|
-
_html(`<span${_attr_class("
|
|
7460
|
+
_html(`<span${_attr_class("_gP")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
|
|
7455
7461
|
icon_warning_default({ size: 12 });
|
|
7456
7462
|
_html(` ${_text_resume($scope3_id, "c", duration(agent.stale_seconds * 1e3), $sg__input_agent * 2)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
|
|
7457
7463
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
7458
7464
|
return 0;
|
|
7459
7465
|
}
|
|
7460
7466
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
7461
|
-
_html(`</div><div${_attr_class(["
|
|
7467
|
+
_html(`</div><div${_attr_class(["_gQ", { ["_g7"]: agent.stale_seconds != null }])}>`);
|
|
7462
7468
|
_for_of(agent.windows || [], (win) => {
|
|
7463
7469
|
const $scope4_id = _scope_id();
|
|
7464
7470
|
const pct = pctText(win.used_percent);
|
|
7465
7471
|
const label = resetLabel(win.resets_at, agent.stale_seconds != null);
|
|
7466
|
-
const fillClass = win.used_percent >= 90 ? "
|
|
7467
|
-
const pctClass = win.used_percent >= 90 ? "
|
|
7468
|
-
_html(`<div${_attr_class("
|
|
7472
|
+
const fillClass = win.used_percent >= 90 ? "_gZ" : win.used_percent >= 70 ? "_gY" : win.used_percent >= 40 ? "_gX" : "_gW";
|
|
7473
|
+
const pctClass = win.used_percent >= 90 ? "_g4" : win.used_percent >= 70 ? "_g3" : win.used_percent >= 40 ? "_g2" : "_g1";
|
|
7474
|
+
_html(`<div${_attr_class("_gS")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_gT")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_gU")}><span${_attr_class(["_gV", 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(["_g0", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_g5")}>`);
|
|
7469
7475
|
_if(() => {
|
|
7470
7476
|
if (label) {
|
|
7471
7477
|
const $scope6_id = _scope_id();
|
|
@@ -7582,14 +7588,14 @@ var sso_auth_default = _template("D", (input) => {
|
|
|
7582
7588
|
localCode = null;
|
|
7583
7589
|
}
|
|
7584
7590
|
}, "D0", $scope0_id);
|
|
7585
|
-
_html(`<div${_attr_class(["
|
|
7591
|
+
_html(`<div${_attr_class(["_hd", input.class])}>`);
|
|
7586
7592
|
_for_of(input.items, (s) => {
|
|
7587
7593
|
const $scope1_id = _scope_id();
|
|
7588
|
-
_html(`<div${_attr_class("
|
|
7594
|
+
_html(`<div${_attr_class("_he")}><span${_attr_class("_hg")}><span${_attr_class("_hh")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_hi", "_hj"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
|
|
7589
7595
|
_if(() => {
|
|
7590
7596
|
if (!busy) {
|
|
7591
7597
|
const $scope2_id = _scope_id();
|
|
7592
|
-
_html(`<button type=button${_attr_class([btnSm, "_r"])} title="Re-authorize GitHub CLI (same device flow as Sign in)">Authorize</button>${_el_resume($scope2_id, "a")}<button type=button${_attr_class([btnSm, "
|
|
7598
|
+
_html(`<button type=button${_attr_class([btnSm, "_r"])} title="Re-authorize GitHub CLI (same device flow as Sign in)">Authorize</button>${_el_resume($scope2_id, "a")}<button type=button${_attr_class([btnSm, "_hk"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
|
|
7593
7599
|
_script($scope2_id, "D1");
|
|
7594
7600
|
writeScope($scope2_id, {});
|
|
7595
7601
|
return 0;
|
|
@@ -7604,13 +7610,13 @@ var sso_auth_default = _template("D", (input) => {
|
|
|
7604
7610
|
_if(() => {
|
|
7605
7611
|
if (localBusy && localCode) {
|
|
7606
7612
|
const $scope4_id = _scope_id();
|
|
7607
|
-
_html(`<div${_attr_class(["
|
|
7613
|
+
_html(`<div${_attr_class(["_he", "_hl"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_hm")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_hn")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
|
|
7608
7614
|
_script($scope4_id, "D2");
|
|
7609
7615
|
writeScope($scope4_id, {});
|
|
7610
7616
|
return 0;
|
|
7611
7617
|
} else if (localBusy) {
|
|
7612
7618
|
const $scope6_id = _scope_id();
|
|
7613
|
-
_html(`<div${_attr_class(["
|
|
7619
|
+
_html(`<div${_attr_class(["_he", "_hl"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
|
|
7614
7620
|
writeScope($scope6_id, {});
|
|
7615
7621
|
return 1;
|
|
7616
7622
|
}
|
|
@@ -7618,14 +7624,14 @@ var sso_auth_default = _template("D", (input) => {
|
|
|
7618
7624
|
_if(() => {
|
|
7619
7625
|
if (localError) {
|
|
7620
7626
|
const $scope5_id = _scope_id();
|
|
7621
|
-
_html(`<p${_attr_class(["
|
|
7627
|
+
_html(`<p${_attr_class(["_he", "_ho"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
|
|
7622
7628
|
writeScope($scope5_id, {});
|
|
7623
7629
|
return 0;
|
|
7624
7630
|
}
|
|
7625
7631
|
}, $scope0_id, "d", 1, 1, 1, 0, 1);
|
|
7626
7632
|
_for_of(skipped, (s) => {
|
|
7627
7633
|
const $scope3_id = _scope_id();
|
|
7628
|
-
_html(`<div${_attr_class(["
|
|
7634
|
+
_html(`<div${_attr_class(["_he", "_hf"])}><span${_attr_class("_hg")}><span${_attr_class("_hh")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_hi")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_hk"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
|
|
7629
7635
|
_script($scope3_id, "D3");
|
|
7630
7636
|
writeScope($scope3_id, {
|
|
7631
7637
|
i: s?.org,
|
|
@@ -7693,7 +7699,7 @@ var skill_chip_default = _template("C", (input) => {
|
|
|
7693
7699
|
const $input_tags__closures = /* @__PURE__ */ new Set();
|
|
7694
7700
|
const $input_actions__closures = /* @__PURE__ */ new Set();
|
|
7695
7701
|
const $input_trailing__closures = /* @__PURE__ */ new Set();
|
|
7696
|
-
_html(`<li${_attr_class("
|
|
7702
|
+
_html(`<li${_attr_class("_ea")}>`);
|
|
7697
7703
|
_if(() => {
|
|
7698
7704
|
if (input.busy != null) {
|
|
7699
7705
|
const $scope1_id = _scope_id();
|
|
@@ -7703,20 +7709,20 @@ var skill_chip_default = _template("C", (input) => {
|
|
|
7703
7709
|
} else {
|
|
7704
7710
|
const $scope2_id = _scope_id();
|
|
7705
7711
|
const popId = _id();
|
|
7706
|
-
_html(`<button${_attr_class("
|
|
7712
|
+
_html(`<button${_attr_class("_eb")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
|
|
7707
7713
|
_if(() => {
|
|
7708
7714
|
if (input.hint) {
|
|
7709
7715
|
const $scope3_id = _scope_id();
|
|
7710
|
-
_html(`<span${_attr_class("
|
|
7716
|
+
_html(`<span${_attr_class("_ed")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
|
|
7711
7717
|
$si__input_busy__OR__input_hint && _subscribe($si__input_hint && $input_hint__closures, writeScope($scope3_id, { _: _scope_with_id($scope2_id) }));
|
|
7712
7718
|
return 0;
|
|
7713
7719
|
}
|
|
7714
7720
|
}, $scope2_id, "c", $sg__input_hint, $sg__input_hint, $sg__input_hint__OR__input_description__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal__OR__input_tags__OR__input_actions__OR__input_trailing, 0, 1);
|
|
7715
|
-
_html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["
|
|
7721
|
+
_html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["_b1", "_y"])}>${_text_resume($scope2_id, "f", input.name, $sg__input_name)}</span>`);
|
|
7716
7722
|
_if(() => {
|
|
7717
7723
|
if (input.description) {
|
|
7718
7724
|
const $scope4_id = _scope_id();
|
|
7719
|
-
_html(`<span${_attr_class("
|
|
7725
|
+
_html(`<span${_attr_class("_b3")}${_attr("title", input.description)}>${_text_resume($scope4_id, "b", input.description, $sg__input_description)}</span>${_el_resume($scope4_id, "a", $sg__input_description)}`);
|
|
7720
7726
|
$si__input_busy__OR__input_description && _subscribe($si__input_description && $input_description__closures, writeScope($scope4_id, { _: _scope_with_id($scope2_id) }));
|
|
7721
7727
|
return 0;
|
|
7722
7728
|
}
|
|
@@ -7724,12 +7730,12 @@ var skill_chip_default = _template("C", (input) => {
|
|
|
7724
7730
|
_if(() => {
|
|
7725
7731
|
if (input.sourceUrl) {
|
|
7726
7732
|
const $scope5_id = _scope_id();
|
|
7727
|
-
_html(`<a${_attr_class(["
|
|
7733
|
+
_html(`<a${_attr_class(["_b3", "_K"])}${_attr("href", input.sourceUrl)} target=_blank rel=noopener${_attr("title", `Open ${input.source} on GitHub`)}>${_text_resume($scope5_id, "b", input.source, $sg__input_source)}</a>${_el_resume($scope5_id, "a", _serialize_guard($scope0_reason, 6))}`);
|
|
7728
7734
|
$si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal && _subscribe($si__input_source && $input_source__closures, _subscribe($si__input_sourceUrl && $input_sourceUrl__closures, writeScope($scope5_id, { _: _scope_with_id($scope2_id) })));
|
|
7729
7735
|
return 0;
|
|
7730
7736
|
} else if (input.source) {
|
|
7731
7737
|
const $scope6_id = _scope_id();
|
|
7732
|
-
_html(`<span${_attr_class("
|
|
7738
|
+
_html(`<span${_attr_class("_b3")}>${_text_resume($scope6_id, "b", input.source, $sg__input_source)}</span>`);
|
|
7733
7739
|
$si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal && _subscribe($si__input_source && $input_source__closures, writeScope($scope6_id, {
|
|
7734
7740
|
_: _scope_with_id($scope2_id),
|
|
7735
7741
|
Cs: $si__input_source && 1
|
|
@@ -7737,7 +7743,7 @@ var skill_chip_default = _template("C", (input) => {
|
|
|
7737
7743
|
return 1;
|
|
7738
7744
|
} else if (input.noteLocal) {
|
|
7739
7745
|
const $scope10_id = _scope_id();
|
|
7740
|
-
_html(`<span${_attr_class(["
|
|
7746
|
+
_html(`<span${_attr_class(["_b3", "_x"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
|
|
7741
7747
|
_serialize_if($scope0_reason, 8) && writeScope($scope10_id, {});
|
|
7742
7748
|
return 2;
|
|
7743
7749
|
}
|
|
@@ -7745,7 +7751,7 @@ var skill_chip_default = _template("C", (input) => {
|
|
|
7745
7751
|
_if(() => {
|
|
7746
7752
|
if (input.tags) {
|
|
7747
7753
|
const $scope7_id = _scope_id();
|
|
7748
|
-
_html(`<span${_attr_class("
|
|
7754
|
+
_html(`<span${_attr_class("_b2")}>`);
|
|
7749
7755
|
_dynamic_tag($scope7_id, "b", input.tags, {}, 0, 0, $sg__input_tags);
|
|
7750
7756
|
_html("</span>");
|
|
7751
7757
|
$si__input_busy__OR__input_tags && _subscribe($si__input_tags && $input_tags__closures, writeScope($scope7_id, { _: _scope_with_id($scope2_id) }));
|
|
@@ -7755,7 +7761,7 @@ var skill_chip_default = _template("C", (input) => {
|
|
|
7755
7761
|
_if(() => {
|
|
7756
7762
|
if (input.actions) {
|
|
7757
7763
|
const $scope8_id = _scope_id();
|
|
7758
|
-
_html(`<div${_attr_class("
|
|
7764
|
+
_html(`<div${_attr_class("_ef")}>`);
|
|
7759
7765
|
_dynamic_tag($scope8_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
7760
7766
|
_html("</div>");
|
|
7761
7767
|
$si__input_busy__OR__input_actions && _subscribe($si__input_actions && $input_actions__closures, writeScope($scope8_id, { _: _scope_with_id($scope2_id) }));
|
|
@@ -7866,7 +7872,7 @@ var icon_moon_default = _template("jb", (input) => {
|
|
|
7866
7872
|
});
|
|
7867
7873
|
//#endregion
|
|
7868
7874
|
//#region src/tags/prompt-dialog.css.ts
|
|
7869
|
-
var promptDlg = "
|
|
7875
|
+
var promptDlg = "_hc _g9";
|
|
7870
7876
|
//#endregion
|
|
7871
7877
|
//#region src/tags/dialog-close.marko
|
|
7872
7878
|
var dialog_close_default = _template("f", (input) => {
|
|
@@ -7890,7 +7896,7 @@ var modal_view_default = _template("s", (input) => {
|
|
|
7890
7896
|
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;
|
|
7891
7897
|
const dismissable = input.dismissable !== false;
|
|
7892
7898
|
let open = input.open;
|
|
7893
|
-
_html(`<dialog${_attr_class(["
|
|
7899
|
+
_html(`<dialog${_attr_class(["_g8", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
|
|
7894
7900
|
...htmlInput,
|
|
7895
7901
|
open: null
|
|
7896
7902
|
}, {
|
|
@@ -7900,20 +7906,20 @@ var modal_view_default = _template("s", (input) => {
|
|
|
7900
7906
|
closedby: 1,
|
|
7901
7907
|
"on-cancel": 1,
|
|
7902
7908
|
"on-close": 1
|
|
7903
|
-
}, "a", $scope0_id, "dialog")}><div${_attr_class("
|
|
7909
|
+
}, "a", $scope0_id, "dialog")}><div${_attr_class("_ha")}>`);
|
|
7904
7910
|
_dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
|
|
7905
7911
|
_html("</div>");
|
|
7906
7912
|
_if(() => {
|
|
7907
7913
|
if (footer) {
|
|
7908
7914
|
const $scope1_id = _scope_id();
|
|
7909
|
-
_html(`<form method=dialog${_attr_class("
|
|
7915
|
+
_html(`<form method=dialog${_attr_class("_hb")}>`);
|
|
7910
7916
|
_dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
|
|
7911
7917
|
_html("</form>");
|
|
7912
7918
|
$si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
|
|
7913
7919
|
return 0;
|
|
7914
7920
|
} else if (input.openChange) {
|
|
7915
7921
|
const $scope2_id = _scope_id();
|
|
7916
|
-
_html(`<form method=dialog${_attr_class("
|
|
7922
|
+
_html(`<form method=dialog${_attr_class("_hb")}>`);
|
|
7917
7923
|
dialog_close_default({
|
|
7918
7924
|
class: ["_q", "_r"],
|
|
7919
7925
|
content: _content("s0", () => {
|
|
@@ -7997,7 +8003,7 @@ var prompt_dialog_default = _template("v", (input) => {
|
|
|
7997
8003
|
content: _content("v7", () => {
|
|
7998
8004
|
_scope_reason();
|
|
7999
8005
|
const $scope2_id = _scope_id();
|
|
8000
|
-
_html(`<h2${_attr_class("
|
|
8006
|
+
_html(`<h2${_attr_class("_g_")}${_attr("id", titleId)}>${_text_resume($scope2_id, "b", input.label, $sg__input_label)}</h2><input${_attr_input_value($scope2_id, "c", value, _resume((_new_value) => {
|
|
8001
8007
|
value = _new_value;
|
|
8002
8008
|
}, "v0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
|
|
8003
8009
|
_script($scope2_id, "v5");
|
|
@@ -8519,7 +8525,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
8519
8525
|
const githubId = _id();
|
|
8520
8526
|
const backupId = _id();
|
|
8521
8527
|
const machineId = _id();
|
|
8522
|
-
_html(`<div${_attr_class("
|
|
8528
|
+
_html(`<div${_attr_class("_cv")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_cw")}><div${_attr_class("_cx")}>`);
|
|
8523
8529
|
_set_serialize_reason({
|
|
8524
8530
|
0: _serialize_guard($scope0_reason, 4),
|
|
8525
8531
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -8531,7 +8537,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
8531
8537
|
if (setup && !setup.ready) $meta = attrTag({ content: _content_resume("y44", () => {
|
|
8532
8538
|
_scope_reason();
|
|
8533
8539
|
const $scope4_id = _scope_id();
|
|
8534
|
-
_html(`<span${_attr_class("
|
|
8540
|
+
_html(`<span${_attr_class("_cT")}>Not ready</span>. Missing ${_text_resume($scope4_id, "b", setup.missing.map((m) => MISSING_LABEL[m] || m).join(", "), 2)}.`);
|
|
8535
8541
|
_subscribe($setup_missing__closures, writeScope($scope4_id, { _: _scope_with_id($scope0_id) }));
|
|
8536
8542
|
_resume_branch($scope4_id);
|
|
8537
8543
|
}, $scope0_id) });
|
|
@@ -8584,16 +8590,16 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
8584
8590
|
_if(() => {
|
|
8585
8591
|
if (selfUpdatePending || selfUpdating) {
|
|
8586
8592
|
const $scope44_id = _scope_id();
|
|
8587
|
-
_html(`<div${_attr_class("
|
|
8593
|
+
_html(`<div${_attr_class("_du")} role=status><div${_attr_class("_dv")}>`);
|
|
8588
8594
|
_if(() => {
|
|
8589
8595
|
if (selfUpdating) {
|
|
8590
8596
|
const $scope79_id = _scope_id();
|
|
8591
|
-
_html(`<span${_attr_class("
|
|
8597
|
+
_html(`<span${_attr_class("_dw")}><span${_attr_class("_G")}></span> Updating work…</span><span${_attr_class("_dx")}>The app restarts and reloads when it is done.</span>`);
|
|
8592
8598
|
writeScope($scope79_id, {});
|
|
8593
8599
|
return 0;
|
|
8594
8600
|
} else {
|
|
8595
8601
|
const $scope45_id = _scope_id();
|
|
8596
|
-
_html(`<span${_attr_class("
|
|
8602
|
+
_html(`<span${_attr_class("_dw")}>Update available</span><span${_attr_class("_dx")}>v${_text_resume($scope45_id, "c", self.version, 2)} → v${_text_resume($scope45_id, "d", self.latest, 2)}</span>`);
|
|
8597
8603
|
_subscribe($self_version__closures, _subscribe($self_latest__closures, writeScope($scope45_id, {})));
|
|
8598
8604
|
return 1;
|
|
8599
8605
|
}
|
|
@@ -8612,11 +8618,11 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
8612
8618
|
return 0;
|
|
8613
8619
|
}
|
|
8614
8620
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
8615
|
-
_html(`<section${_attr_class("
|
|
8621
|
+
_html(`<section${_attr_class("_bU")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bV")}><h2${_attr("id", agentsId)}${_attr_class("_b8")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_cV")}><span${_attr_class("_X")}>Default</span><span${_attr_class("_o")}>`);
|
|
8616
8622
|
_attr_select_value($scope0_id, "n", input$3.preferred, _resume(function(v) {
|
|
8617
8623
|
setPreferred(v);
|
|
8618
8624
|
}, "y2", $scope0_id), () => {
|
|
8619
|
-
_html(`<select${_attr_class(["_p", "
|
|
8625
|
+
_html(`<select${_attr_class(["_p", "_cW"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
|
|
8620
8626
|
_for_of(input$3.agents.filter((a) => a !== "shell"), (id) => {
|
|
8621
8627
|
const $scope80_id = _scope_id();
|
|
8622
8628
|
_html(`<option${_attr_option_value(id)}>${_text_resume($scope80_id, "b", agentLabel(id), $sg__input_agents)}</option>${_el_resume($scope80_id, "a", $sg__input_agents)}`);
|
|
@@ -8630,14 +8636,14 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
8630
8636
|
const rows = lone ? [] : a.instances;
|
|
8631
8637
|
const loneAccounts = lone ? accountsFor(lone.id) : [];
|
|
8632
8638
|
const extraAccounts = a.installed ? strayAccountsFor(a) : [];
|
|
8633
|
-
_html(`<li${_attr_class(agentRow)}><div${_attr_class(["
|
|
8639
|
+
_html(`<li${_attr_class(agentRow)}><div${_attr_class(["_cX", { ["_cZ"]: lone && !lone.enabled }])}>`);
|
|
8634
8640
|
_set_serialize_reason(12);
|
|
8635
8641
|
const $childScope3 = _peek_scope_id();
|
|
8636
8642
|
icon_agent_default({
|
|
8637
8643
|
agent: a.id,
|
|
8638
8644
|
size: 18
|
|
8639
8645
|
});
|
|
8640
|
-
_html(`<div${_attr_class("
|
|
8646
|
+
_html(`<div${_attr_class("_b0")}><span${_attr_class("_b2")}><span${_attr_class("_b1")}>${_text_resume($scope1_id, "g", a.label)}</span>`);
|
|
8641
8647
|
_if(() => {
|
|
8642
8648
|
if (lone && input$3.preferred === lone.id) {
|
|
8643
8649
|
const $scope81_id = _scope_id();
|
|
@@ -8650,12 +8656,12 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
8650
8656
|
_if(() => {
|
|
8651
8657
|
if (active.has(a.id)) {
|
|
8652
8658
|
const $scope12_id = _scope_id();
|
|
8653
|
-
_html(`<span${_attr_class("
|
|
8659
|
+
_html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope12_id, "c", active.get(a.id) || "Starting…")}</span>`);
|
|
8654
8660
|
_subscribe($active__closures, writeScope($scope12_id, {}));
|
|
8655
8661
|
return 0;
|
|
8656
8662
|
} else if (!a.installed) {
|
|
8657
8663
|
const $scope82_id = _scope_id();
|
|
8658
|
-
_html(`<span${_attr_class("
|
|
8664
|
+
_html(`<span${_attr_class("_b3")}>Not installed</span>`);
|
|
8659
8665
|
writeScope($scope82_id, {});
|
|
8660
8666
|
return 1;
|
|
8661
8667
|
}
|
|
@@ -8683,15 +8689,15 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
8683
8689
|
_if(() => {
|
|
8684
8690
|
if (rows.length || loneAccounts.length || extraAccounts.length) {
|
|
8685
8691
|
const $scope2_id = _scope_id();
|
|
8686
|
-
_html(`<ul${_attr_class(["
|
|
8692
|
+
_html(`<ul${_attr_class(["_c1", { ["_cZ"]: lone && !lone.enabled }])}>`);
|
|
8687
8693
|
_for_of(rows, (inst) => {
|
|
8688
8694
|
const $scope3_id = _scope_id();
|
|
8689
8695
|
const accounts = accountsFor(inst.id);
|
|
8690
|
-
_html(`<li${_attr_class(["
|
|
8696
|
+
_html(`<li${_attr_class(["_cY", { ["_cZ"]: !inst.enabled }])}><div${_attr_class("_cX")}>`);
|
|
8691
8697
|
_set_serialize_reason(12);
|
|
8692
8698
|
const $childScope4 = _peek_scope_id();
|
|
8693
8699
|
icon_agent_default({ agent: inst.id });
|
|
8694
|
-
_html(`<span${_attr_class(["
|
|
8700
|
+
_html(`<span${_attr_class(["_c0", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
|
|
8695
8701
|
_if(() => {
|
|
8696
8702
|
if (input$3.preferred === inst.id) {
|
|
8697
8703
|
const $scope83_id = _scope_id();
|
|
@@ -8773,21 +8779,21 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
8773
8779
|
_if(() => {
|
|
8774
8780
|
if (!usage && families.length) {
|
|
8775
8781
|
const $scope88_id = _scope_id();
|
|
8776
|
-
_html(`<p${_attr_class("
|
|
8782
|
+
_html(`<p${_attr_class("_b5")}><span${_attr_class("_G")}></span> Loading usage…</p>`);
|
|
8777
8783
|
writeScope($scope88_id, {});
|
|
8778
8784
|
return 0;
|
|
8779
8785
|
} else if (usage?.error) {
|
|
8780
8786
|
const $scope8_id = _scope_id();
|
|
8781
|
-
_html(`<p${_attr_class("
|
|
8787
|
+
_html(`<p${_attr_class("_b5")}>${_text_resume($scope8_id, "b", usage.error)}</p>`);
|
|
8782
8788
|
writeScope($scope8_id, {});
|
|
8783
8789
|
return 1;
|
|
8784
8790
|
}
|
|
8785
8791
|
}, $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
8786
|
-
_html(`</section><section${_attr_class("
|
|
8792
|
+
_html(`</section><section${_attr_class("_bU")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bV")}><h2${_attr("id", githubId)}${_attr_class("_b8")}>GitHub</h2>`);
|
|
8787
8793
|
_if(() => {
|
|
8788
8794
|
if (setup && !addingHost) {
|
|
8789
8795
|
const $scope42_id = _scope_id();
|
|
8790
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
8796
|
+
_html(`<button${_attr_class([iconBtnRow, "_c_"])} title="Add Enterprise host" aria-label="Add Enterprise host">`);
|
|
8791
8797
|
icon_plus_default({ size: 16 });
|
|
8792
8798
|
_html(`</button>${_el_resume($scope42_id, "a")}`);
|
|
8793
8799
|
_script($scope42_id, "y51");
|
|
@@ -8799,10 +8805,10 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
8799
8805
|
if (setup) {
|
|
8800
8806
|
const $scope41_id = _scope_id();
|
|
8801
8807
|
_html(`<form${_attr_class([
|
|
8802
|
-
"
|
|
8803
|
-
"
|
|
8804
|
-
{ ["
|
|
8805
|
-
])}><label${_attr_class(["_1", "
|
|
8808
|
+
"_d0",
|
|
8809
|
+
"_c_",
|
|
8810
|
+
{ ["_d1"]: !addingHost }
|
|
8811
|
+
])}><label${_attr_class(["_1", "_d3"])}>`);
|
|
8806
8812
|
icon_github_default({
|
|
8807
8813
|
size: 14,
|
|
8808
8814
|
class: "_2"
|
|
@@ -8812,12 +8818,12 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
8812
8818
|
}, "y3", $scope41_id))}${_attr_class([
|
|
8813
8819
|
"_Z",
|
|
8814
8820
|
"_3",
|
|
8815
|
-
"
|
|
8821
|
+
"_d4"
|
|
8816
8822
|
])} type=text placeholder=github.example.com aria-label="GitHub Enterprise host" autocomplete=off spellcheck=false>${_el_resume($scope41_id, "d")}</label><button${_attr_class([
|
|
8817
8823
|
btnSm,
|
|
8818
8824
|
"_r",
|
|
8819
|
-
"
|
|
8820
|
-
])} type=submit${_attr("hidden", !addingHost)}${_attr("disabled", !hostInput.trim() || hostBusy)}>${_text_resume($scope41_id, "f", hostBusy ? "Adding…" : "Add")}</button>${_el_resume($scope41_id, "e")}<button${_attr_class([iconBtnRow, "
|
|
8825
|
+
"_c9"
|
|
8826
|
+
])} type=submit${_attr("hidden", !addingHost)}${_attr("disabled", !hostInput.trim() || hostBusy)}>${_text_resume($scope41_id, "f", hostBusy ? "Adding…" : "Add")}</button>${_el_resume($scope41_id, "e")}<button${_attr_class([iconBtnRow, "_d5"])} type=button${_attr("hidden", !addingHost)} title=Cancel aria-label=Cancel${_attr("disabled", hostBusy)}>`);
|
|
8821
8827
|
icon_xmark_default({ size: 14 });
|
|
8822
8828
|
_html(`</button>${_el_resume($scope41_id, "g")}</form>${_el_resume($scope41_id, "a")}`);
|
|
8823
8829
|
_script($scope41_id, "y52");
|
|
@@ -8825,19 +8831,19 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
8825
8831
|
return 0;
|
|
8826
8832
|
}
|
|
8827
8833
|
}, $scope0_id, "w", 1, 1, 1, 0, 1);
|
|
8828
|
-
_html(`</div><div${_attr_class(["
|
|
8834
|
+
_html(`</div><div${_attr_class(["_bZ", "_cD"])}>`);
|
|
8829
8835
|
_for_of(setup?.github || [], (h) => {
|
|
8830
8836
|
const $scope6_id = _scope_id();
|
|
8831
8837
|
const $for_content3__h_host__closures = /* @__PURE__ */ new Set();
|
|
8832
8838
|
const hostSso$1 = (h.sso || []).filter((s) => !ignoredSso.has(s.org));
|
|
8833
8839
|
const skippedSso = (h.sso || []).filter((s) => ignoredSso.has(s.org));
|
|
8834
8840
|
const busy = active.has(h.host);
|
|
8835
|
-
_html(`<div${_attr_class(["
|
|
8841
|
+
_html(`<div${_attr_class(["_cE", "_da"])}><div${_attr_class("_db")}>`);
|
|
8836
8842
|
icon_github_default({
|
|
8837
8843
|
size: 18,
|
|
8838
|
-
class: "
|
|
8844
|
+
class: "_dc"
|
|
8839
8845
|
});
|
|
8840
|
-
_html(`<div${_attr_class("
|
|
8846
|
+
_html(`<div${_attr_class("_b0")}><span${_attr_class("_b2")}><span${_attr_class("_b1")}>${_text_resume($scope6_id, "g", h.host)}</span>`);
|
|
8841
8847
|
_if(() => {
|
|
8842
8848
|
if (h.isEnterprise) {
|
|
8843
8849
|
const $scope91_id = _scope_id();
|
|
@@ -8850,25 +8856,25 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
8850
8856
|
_if(() => {
|
|
8851
8857
|
if (busy) {
|
|
8852
8858
|
const $scope13_id = _scope_id();
|
|
8853
|
-
_html(`<span${_attr_class(["
|
|
8859
|
+
_html(`<span${_attr_class(["_b3", "_dd"])}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
|
|
8854
8860
|
_subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope13_id, { Ch2: 1 })));
|
|
8855
8861
|
return 0;
|
|
8856
8862
|
} else if (h.authed) {
|
|
8857
8863
|
const $scope89_id = _scope_id();
|
|
8858
|
-
_html(`<span${_attr_class(["
|
|
8864
|
+
_html(`<span${_attr_class(["_b3", "_dd"])}>`);
|
|
8859
8865
|
icon_check_default({
|
|
8860
8866
|
size: 12,
|
|
8861
|
-
class: "
|
|
8867
|
+
class: "_de"
|
|
8862
8868
|
});
|
|
8863
|
-
_html(` Signed in as <strong${_attr_class("
|
|
8869
|
+
_html(` Signed in as <strong${_attr_class("_dg")}>${_text_resume($scope89_id, "d", h.user || "?")}</strong></span>`);
|
|
8864
8870
|
writeScope($scope89_id, {});
|
|
8865
8871
|
return 1;
|
|
8866
8872
|
} else if (h.error) {
|
|
8867
8873
|
const $scope90_id = _scope_id();
|
|
8868
8874
|
_html(`<span${_attr_class([
|
|
8869
|
-
"
|
|
8870
|
-
"
|
|
8871
|
-
"
|
|
8875
|
+
"_b3",
|
|
8876
|
+
"_dd",
|
|
8877
|
+
"_df"
|
|
8872
8878
|
])}>`);
|
|
8873
8879
|
icon_warning_default({ size: 12 });
|
|
8874
8880
|
_html(`${_text_resume($scope90_id, "c", h.error)}</span>`);
|
|
@@ -8876,7 +8882,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
8876
8882
|
return 2;
|
|
8877
8883
|
} else {
|
|
8878
8884
|
const $scope92_id = _scope_id();
|
|
8879
|
-
_html(`<span${_attr_class(["
|
|
8885
|
+
_html(`<span${_attr_class(["_b3", "_dd"])}>Not signed in</span>`);
|
|
8880
8886
|
writeScope($scope92_id, {});
|
|
8881
8887
|
return 3;
|
|
8882
8888
|
}
|
|
@@ -8907,7 +8913,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
8907
8913
|
if (h.isEnterprise) {
|
|
8908
8914
|
const $scope33_id = _scope_id();
|
|
8909
8915
|
_html(`<button${_attr_class([
|
|
8910
|
-
"
|
|
8916
|
+
"_b4",
|
|
8911
8917
|
"_8",
|
|
8912
8918
|
"_9",
|
|
8913
8919
|
{ ["_s"]: confirmingRemove === h.host }
|
|
@@ -8941,7 +8947,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
8941
8947
|
_if(() => {
|
|
8942
8948
|
if (busy && authCodes.has(h.host)) {
|
|
8943
8949
|
const $scope30_id = _scope_id();
|
|
8944
|
-
_html(`<div${_attr_class("
|
|
8950
|
+
_html(`<div${_attr_class("_dh")}><span${_attr_class("_di")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_dk")}>${_text_resume($scope30_id, "d", h.host)}/login/device</a>${_el_resume($scope30_id, "c")}</span><code${_attr_class("_dj")}>${_text_resume($scope30_id, "f", authCodes.get(h.host))}</code></div>`);
|
|
8945
8951
|
_subscribe($authCodes__closures, writeScope($scope30_id, { Ch4: 1 }));
|
|
8946
8952
|
return 0;
|
|
8947
8953
|
}
|
|
@@ -8953,7 +8959,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
8953
8959
|
_set_serialize_reason(30);
|
|
8954
8960
|
const $childScope9 = _peek_scope_id();
|
|
8955
8961
|
sso_auth_default({
|
|
8956
|
-
class: ["
|
|
8962
|
+
class: ["_cE", "_dl"],
|
|
8957
8963
|
items: hostSso$1,
|
|
8958
8964
|
skipped: skippedSso,
|
|
8959
8965
|
busy,
|
|
@@ -8987,23 +8993,23 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
8987
8993
|
_if(() => {
|
|
8988
8994
|
if (setup && !setup.github.length) {
|
|
8989
8995
|
const $scope95_id = _scope_id();
|
|
8990
|
-
_html(`<p${_attr_class("
|
|
8996
|
+
_html(`<p${_attr_class("_b5")}>Install the GitHub CLI below to sign in.</p>`);
|
|
8991
8997
|
writeScope($scope95_id, {});
|
|
8992
8998
|
return 0;
|
|
8993
8999
|
}
|
|
8994
9000
|
}, $scope0_id, "y", 1, 1, 1, 0, 1);
|
|
8995
|
-
_html(`</section><section${_attr_class("
|
|
9001
|
+
_html(`</section><section${_attr_class("_bU")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bV")}><h2${_attr("id", machineId)}${_attr_class("_b8")}>Machine</h2></div><div${_attr_class(["_bZ", "_cD"])}><div${_attr_class(["_cE", "_cF"])}><div${_attr_class(["_cG", { ["_cH"]: skillsOpen }])}><button${_attr_class("_cI")} aria-expanded=true>`);
|
|
8996
9002
|
_set_serialize_reason(1);
|
|
8997
9003
|
const $childScope10 = _peek_scope_id();
|
|
8998
9004
|
icon_chevron_right_default({
|
|
8999
9005
|
size: 12,
|
|
9000
|
-
class: ["
|
|
9006
|
+
class: ["_cM", { ["_cN"]: skillsOpen }]
|
|
9001
9007
|
});
|
|
9002
|
-
_html(`<span${_attr_class("
|
|
9008
|
+
_html(`<span${_attr_class("_cJ")}>Skills</span>`);
|
|
9003
9009
|
_if(() => {
|
|
9004
9010
|
if (skills?.global.length) {
|
|
9005
9011
|
const $scope51_id = _scope_id();
|
|
9006
|
-
_html(`<span${_attr_class("
|
|
9012
|
+
_html(`<span${_attr_class("_cK")}>${_text_resume($scope51_id, "b", skills.global.length)} installed</span>`);
|
|
9007
9013
|
writeScope($scope51_id, {});
|
|
9008
9014
|
return 0;
|
|
9009
9015
|
}
|
|
@@ -9023,7 +9029,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9023
9029
|
_if(() => {
|
|
9024
9030
|
if (skills?.available && skills.agents.length) {
|
|
9025
9031
|
const $scope14_id = _scope_id();
|
|
9026
|
-
_html(`<div${_attr_class(["
|
|
9032
|
+
_html(`<div${_attr_class(["_d0", { ["_d1"]: true }])}><label${_attr_class(["_1", "_d3"])}>`);
|
|
9027
9033
|
_if(() => {
|
|
9028
9034
|
if (skillSearching) {
|
|
9029
9035
|
const $scope96_id = _scope_id();
|
|
@@ -9043,14 +9049,14 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9043
9049
|
_html(`<input${_attr_input_value($scope14_id, "d", skillQuery, searchSkills)}${_attr_class([
|
|
9044
9050
|
"_Z",
|
|
9045
9051
|
"_3",
|
|
9046
|
-
"
|
|
9047
|
-
])} type=text placeholder="Search skills, or paste owner/repo…" aria-label="Search for a skill" autocomplete=off spellcheck=false>${_el_resume($scope14_id, "d")}</label><button${_attr_class([iconBtnRow, "
|
|
9052
|
+
"_d4"
|
|
9053
|
+
])} type=text placeholder="Search skills, or paste owner/repo…" aria-label="Search for a skill" autocomplete=off spellcheck=false>${_el_resume($scope14_id, "d")}</label><button${_attr_class([iconBtnRow, "_d5"])} type=button${_attr("hidden", true)} title="Close search" aria-label="Close search">`);
|
|
9048
9054
|
icon_xmark_default({ size: 14 });
|
|
9049
|
-
_html(`</button>${_el_resume($scope14_id, "e")}<ul${_attr_class([pop$1, "
|
|
9055
|
+
_html(`</button>${_el_resume($scope14_id, "e")}<ul${_attr_class([pop$1, "_d7"])}${_attr("hidden", true)}>`);
|
|
9050
9056
|
_if(() => {
|
|
9051
9057
|
if (skillSearching && !skillHits?.length && !looksLikeSource(skillQuery)) {
|
|
9052
9058
|
const $scope98_id = _scope_id();
|
|
9053
|
-
_html(`<li${_attr_class("
|
|
9059
|
+
_html(`<li${_attr_class("_d8")}>Searching skills.sh…</li>`);
|
|
9054
9060
|
writeScope($scope98_id, {});
|
|
9055
9061
|
return 0;
|
|
9056
9062
|
}
|
|
@@ -9058,11 +9064,11 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9058
9064
|
_if(() => {
|
|
9059
9065
|
if (looksLikeSource(skillQuery)) {
|
|
9060
9066
|
const $scope15_id = _scope_id();
|
|
9061
|
-
_html(`<li${_attr_class(toolRow)}><div${_attr_class("
|
|
9067
|
+
_html(`<li${_attr_class(toolRow)}><div${_attr_class("_b0")}><span${_attr_class(["_c5", "_y"])}>${_text_resume($scope15_id, "d", skillQuery.trim())}</span>`);
|
|
9062
9068
|
_if(() => {
|
|
9063
9069
|
if (active.has(skillQuery.trim())) {
|
|
9064
9070
|
const $scope16_id = _scope_id();
|
|
9065
|
-
_html(`<span${_attr_class("
|
|
9071
|
+
_html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope16_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
|
|
9066
9072
|
_subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope16_id, {
|
|
9067
9073
|
Ch2: 3,
|
|
9068
9074
|
Chr: 1
|
|
@@ -9070,7 +9076,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9070
9076
|
return 0;
|
|
9071
9077
|
} else {
|
|
9072
9078
|
const $scope99_id = _scope_id();
|
|
9073
|
-
_html(`<span${_attr_class("
|
|
9079
|
+
_html(`<span${_attr_class("_b3")}>Add straight from this source</span>`);
|
|
9074
9080
|
writeScope($scope99_id, {});
|
|
9075
9081
|
return 1;
|
|
9076
9082
|
}
|
|
@@ -9093,16 +9099,16 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9093
9099
|
_for_of(skillHits || [], (h) => {
|
|
9094
9100
|
const $scope17_id = _scope_id();
|
|
9095
9101
|
const $for_content4__h_installs__closures = /* @__PURE__ */ new Set();
|
|
9096
|
-
_html(`<li${_attr_class(toolRow)}><div${_attr_class("
|
|
9102
|
+
_html(`<li${_attr_class(toolRow)}><div${_attr_class("_b0")}><span${_attr_class(["_c5", "_y"])}>${_text_resume($scope17_id, "d", h.name)}</span>`);
|
|
9097
9103
|
_if(() => {
|
|
9098
9104
|
if (active.has(h.skillId)) {
|
|
9099
9105
|
const $scope18_id = _scope_id();
|
|
9100
|
-
_html(`<span${_attr_class("
|
|
9106
|
+
_html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope18_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
|
|
9101
9107
|
_subscribe($active__closures, writeScope($scope18_id, { Ch2: 5 }));
|
|
9102
9108
|
return 0;
|
|
9103
9109
|
} else {
|
|
9104
9110
|
const $scope100_id = _scope_id();
|
|
9105
|
-
_html(`<span${_attr_class("
|
|
9111
|
+
_html(`<span${_attr_class("_b3")}${_attr("title", h.source)}>${_text_resume($scope100_id, "b", h.source)}</span>${_el_resume($scope100_id, "a")}`);
|
|
9106
9112
|
writeScope($scope100_id, {});
|
|
9107
9113
|
return 1;
|
|
9108
9114
|
}
|
|
@@ -9150,7 +9156,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9150
9156
|
_if(() => {
|
|
9151
9157
|
if (skillHits && !skillHits.length && !skillSearching && !looksLikeSource(skillQuery)) {
|
|
9152
9158
|
const $scope53_id = _scope_id();
|
|
9153
|
-
_html(`<li${_attr_class("
|
|
9159
|
+
_html(`<li${_attr_class("_d8")}>No skills match "${_text_resume($scope53_id, "b", skillQuery, 2)}".</li>`);
|
|
9154
9160
|
_subscribe($skillQuery__closures, writeScope($scope53_id, { Chr: 2 }));
|
|
9155
9161
|
return 0;
|
|
9156
9162
|
}
|
|
@@ -9165,22 +9171,22 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9165
9171
|
_if(() => {
|
|
9166
9172
|
{
|
|
9167
9173
|
const $scope19_id = _scope_id();
|
|
9168
|
-
_html(`<div${_attr_class("
|
|
9174
|
+
_html(`<div${_attr_class("_cL")}>`);
|
|
9169
9175
|
_if(() => {
|
|
9170
9176
|
if (skills && !skills.agents.length) {
|
|
9171
9177
|
const $scope103_id = _scope_id();
|
|
9172
|
-
_html(`<p${_attr_class("
|
|
9178
|
+
_html(`<p${_attr_class("_b5")}>No agent CLIs are installed, so a skill would have nowhere to go. Install one from Agents above.</p>`);
|
|
9173
9179
|
writeScope($scope103_id, {});
|
|
9174
9180
|
return 0;
|
|
9175
9181
|
} else if (skills && !skills.available) {
|
|
9176
9182
|
const $scope20_id = _scope_id();
|
|
9177
|
-
_html(`<p${_attr_class("
|
|
9183
|
+
_html(`<p${_attr_class("_b5")}>The skills CLI is not installed, so skills can be listed but not added or removed. <button${_attr_class(btnSm)}${_attr("disabled", active.has("skills"))}>${_text_resume($scope20_id, "c", active.has("skills") ? "Installing…" : "Install it")}</button>${_el_resume($scope20_id, "b")}</p>`);
|
|
9178
9184
|
_script($scope20_id, "y60");
|
|
9179
9185
|
_subscribe($active__closures, writeScope($scope20_id, { Ch2: 6 }));
|
|
9180
9186
|
return 1;
|
|
9181
9187
|
}
|
|
9182
9188
|
}, $scope19_id, "b", 1, 1, 1, 0, 1);
|
|
9183
|
-
_html(`<ul${_attr_class("
|
|
9189
|
+
_html(`<ul${_attr_class("_d_")}>`);
|
|
9184
9190
|
_for_of(skills?.global || [], (s) => {
|
|
9185
9191
|
const $scope21_id = _scope_id();
|
|
9186
9192
|
const $for_content5__s_agents__closures = /* @__PURE__ */ new Set();
|
|
@@ -9256,7 +9262,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9256
9262
|
_if(() => {
|
|
9257
9263
|
if (skills && !skills.global.length && skills.available && skills.agents.length) {
|
|
9258
9264
|
const $scope108_id = _scope_id();
|
|
9259
|
-
_html(`<p${_attr_class("
|
|
9265
|
+
_html(`<p${_attr_class("_b5")}>No skills installed. Search below, or paste an owner/repo.</p>`);
|
|
9260
9266
|
writeScope($scope108_id, {});
|
|
9261
9267
|
return 0;
|
|
9262
9268
|
}
|
|
@@ -9266,14 +9272,14 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9266
9272
|
return 0;
|
|
9267
9273
|
}
|
|
9268
9274
|
}, $scope0_id, "ab", 1, 1, 1, 0, 1);
|
|
9269
|
-
_html(`</div><div${_attr_class(["
|
|
9275
|
+
_html(`</div><div${_attr_class(["_cE", "_cF"])}><div${_attr_class(["_cG", { ["_cH"]: machineOpen }])}><button${_attr_class("_cI")} aria-expanded=${machineOpen ? "true" : "false"}>`);
|
|
9270
9276
|
_set_serialize_reason(1);
|
|
9271
9277
|
const $childScope12 = _peek_scope_id();
|
|
9272
9278
|
icon_chevron_right_default({
|
|
9273
9279
|
size: 12,
|
|
9274
|
-
class: ["
|
|
9280
|
+
class: ["_cM", { ["_cN"]: machineOpen }]
|
|
9275
9281
|
});
|
|
9276
|
-
_html(`<span${_attr_class("
|
|
9282
|
+
_html(`<span${_attr_class("_cJ")}>Tools</span><span${_attr_class("_cK")}>${_text_resume($scope0_id, "ai", tools.filter((t) => t.installed).length)} installed ${_text_resume($scope0_id, "aj", missingCount ? `${_to_text(" · ")}${_to_text(missingCount)} missing` : "", 2)}${_text_resume($scope0_id, "ak", outdatedIds.length ? `${_to_text(" · ")}${_to_text(outdatedIds.length)} outdated` : "", 2)}</span></button>${_el_resume($scope0_id, "ae")}`);
|
|
9277
9283
|
_if(() => {
|
|
9278
9284
|
if (outdatedIds.length > 1) {
|
|
9279
9285
|
const $scope22_id = _scope_id();
|
|
@@ -9306,7 +9312,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9306
9312
|
_if(() => {
|
|
9307
9313
|
if (setup && setup.mise.installed) {
|
|
9308
9314
|
const $scope24_id = _scope_id();
|
|
9309
|
-
_html(`<div${_attr_class(["
|
|
9315
|
+
_html(`<div${_attr_class(["_d0", { ["_d1"]: true }])}><label${_attr_class(["_1", "_d3"])}>`);
|
|
9310
9316
|
_if(() => {
|
|
9311
9317
|
if (searching) {
|
|
9312
9318
|
const $scope109_id = _scope_id();
|
|
@@ -9326,14 +9332,14 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9326
9332
|
_html(`<input${_attr_input_value($scope24_id, "d", query, search)}${_attr_class([
|
|
9327
9333
|
"_Z",
|
|
9328
9334
|
"_3",
|
|
9329
|
-
"
|
|
9330
|
-
])} type=text placeholder="Search the mise registry…" aria-label="Search the mise registry" autocomplete=off>${_el_resume($scope24_id, "d")}</label><button${_attr_class([iconBtnRow, "
|
|
9335
|
+
"_d4"
|
|
9336
|
+
])} type=text placeholder="Search the mise registry…" aria-label="Search the mise registry" autocomplete=off>${_el_resume($scope24_id, "d")}</label><button${_attr_class([iconBtnRow, "_d5"])} type=button${_attr("hidden", true)} title="Close search" aria-label="Close search">`);
|
|
9331
9337
|
icon_xmark_default({ size: 14 });
|
|
9332
|
-
_html(`</button>${_el_resume($scope24_id, "e")}<ul${_attr_class([pop$1, "
|
|
9338
|
+
_html(`</button>${_el_resume($scope24_id, "e")}<ul${_attr_class([pop$1, "_d7"])}${_attr("hidden", true)}>`);
|
|
9333
9339
|
_if(() => {
|
|
9334
9340
|
if (searching && !hits?.length) {
|
|
9335
9341
|
const $scope111_id = _scope_id();
|
|
9336
|
-
_html(`<li${_attr_class("
|
|
9342
|
+
_html(`<li${_attr_class("_d8")}>Searching the mise registry…</li>`);
|
|
9337
9343
|
writeScope($scope111_id, {});
|
|
9338
9344
|
return 0;
|
|
9339
9345
|
}
|
|
@@ -9341,23 +9347,23 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9341
9347
|
_if(() => {
|
|
9342
9348
|
if (hits && !hits.length && !searching) {
|
|
9343
9349
|
const $scope43_id = _scope_id();
|
|
9344
|
-
_html(`<li${_attr_class("
|
|
9350
|
+
_html(`<li${_attr_class("_d8")}>No tools match "${_text_resume($scope43_id, "b", query, 2)}".</li>`);
|
|
9345
9351
|
_subscribe($query__closures, writeScope($scope43_id, {}));
|
|
9346
9352
|
return 0;
|
|
9347
9353
|
}
|
|
9348
9354
|
}, $scope24_id, "i", 1, 1, 1, 0, 1);
|
|
9349
9355
|
_for_of(hits || [], (h) => {
|
|
9350
9356
|
const $scope25_id = _scope_id();
|
|
9351
|
-
_html(`<li${_attr_class(toolRow)}><div${_attr_class("
|
|
9357
|
+
_html(`<li${_attr_class(toolRow)}><div${_attr_class("_b0")}><span${_attr_class(["_c5", "_y"])}>${_text_resume($scope25_id, "d", h.name)}</span>`);
|
|
9352
9358
|
_if(() => {
|
|
9353
9359
|
if (active.has(h.name)) {
|
|
9354
9360
|
const $scope26_id = _scope_id();
|
|
9355
|
-
_html(`<span${_attr_class("
|
|
9361
|
+
_html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope26_id, "c", active.get(h.name) || "Starting…")}</span>`);
|
|
9356
9362
|
_subscribe($active__closures, writeScope($scope26_id, { Ch2: 9 }));
|
|
9357
9363
|
return 0;
|
|
9358
9364
|
} else if (h.description) {
|
|
9359
9365
|
const $scope112_id = _scope_id();
|
|
9360
|
-
_html(`<span${_attr_class("
|
|
9366
|
+
_html(`<span${_attr_class("_b3")}${_attr("title", h.description)}>${_text_resume($scope112_id, "b", h.description)}</span>${_el_resume($scope112_id, "a")}`);
|
|
9361
9367
|
writeScope($scope112_id, {});
|
|
9362
9368
|
return 1;
|
|
9363
9369
|
}
|
|
@@ -9402,11 +9408,11 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9402
9408
|
_if(() => {
|
|
9403
9409
|
if (machineOpen) {
|
|
9404
9410
|
const $scope5_id = _scope_id();
|
|
9405
|
-
_html(`<div${_attr_class("
|
|
9411
|
+
_html(`<div${_attr_class("_cL")}>`);
|
|
9406
9412
|
_if(() => {
|
|
9407
9413
|
if (setup && !setup.mise.installed) {
|
|
9408
9414
|
const $scope27_id = _scope_id();
|
|
9409
|
-
_html(`<p${_attr_class("
|
|
9415
|
+
_html(`<p${_attr_class("_b5")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${_text_resume($scope27_id, "c", active.has("mise") ? "Installing…" : "Install mise")}</button>${_el_resume($scope27_id, "b")}</p>`);
|
|
9410
9416
|
_script($scope27_id, "y71");
|
|
9411
9417
|
_subscribe($active__closures, writeScope($scope27_id, { Ch2: 10 }));
|
|
9412
9418
|
return 0;
|
|
@@ -9416,11 +9422,11 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9416
9422
|
_if(() => {
|
|
9417
9423
|
if (self) {
|
|
9418
9424
|
const $scope47_id = _scope_id();
|
|
9419
|
-
_html(`<li${_attr_class(toolRow)}><span${_attr_class(["
|
|
9425
|
+
_html(`<li${_attr_class(toolRow)}><span${_attr_class(["_c5", "_y"])}>work</span>`);
|
|
9420
9426
|
_if(() => {
|
|
9421
9427
|
if (selfUpdating) {
|
|
9422
9428
|
const $scope114_id = _scope_id();
|
|
9423
|
-
_html(`<span${_attr_class("
|
|
9429
|
+
_html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
|
|
9424
9430
|
writeScope($scope114_id, {});
|
|
9425
9431
|
return 0;
|
|
9426
9432
|
} else {
|
|
@@ -9434,7 +9440,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9434
9440
|
return 0;
|
|
9435
9441
|
} else if (self.latest && self.latest !== self.version) {
|
|
9436
9442
|
const $scope49_id = _scope_id();
|
|
9437
|
-
_html(`<button${_attr_class([btnSm, "
|
|
9443
|
+
_html(`<button${_attr_class([btnSm, "_c8"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
|
|
9438
9444
|
icon_arrow_up_default({ size: 12 });
|
|
9439
9445
|
_html(` ${_text_resume($scope49_id, "c", self.latest, 2)}</button>${_el_resume($scope49_id, "a")}`);
|
|
9440
9446
|
_script($scope49_id, "y72");
|
|
@@ -9478,11 +9484,11 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9478
9484
|
const $for_content7__t_label__closures = /* @__PURE__ */ new Set();
|
|
9479
9485
|
const $for_content7__t_newest__closures = /* @__PURE__ */ new Set();
|
|
9480
9486
|
const $for_content7__t_id__closures = /* @__PURE__ */ new Set();
|
|
9481
|
-
_html(`<li${_attr_class([toolRow, { ["
|
|
9487
|
+
_html(`<li${_attr_class([toolRow, { ["_c4"]: !t.installed }])}><span${_attr_class(["_c5", "_y"])}>${_text_resume($scope28_id, "c", t.label)}</span>`);
|
|
9482
9488
|
_if(() => {
|
|
9483
9489
|
if (active.has(t.id)) {
|
|
9484
9490
|
const $scope29_id = _scope_id();
|
|
9485
|
-
_html(`<span${_attr_class("
|
|
9491
|
+
_html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope29_id, "c", active.get(t.id) || "Starting…")}</span>`);
|
|
9486
9492
|
_subscribe($active__closures, writeScope($scope29_id, { Ch2: 12 }));
|
|
9487
9493
|
return 0;
|
|
9488
9494
|
} else if (t.installed) {
|
|
@@ -9490,11 +9496,11 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9490
9496
|
_if(() => {
|
|
9491
9497
|
if (t.version) {
|
|
9492
9498
|
const $scope40_id = _scope_id();
|
|
9493
|
-
_html(`<button${_attr_class(["
|
|
9499
|
+
_html(`<button${_attr_class(["_c7", "_y"])}${_attr("title", `${t.path || t.label}${aliasPin(t) ? `, pinned to ${t.pin}` : ""}. Pin a version`)}>v${_text_resume($scope40_id, "b", t.version, 2)}`);
|
|
9494
9500
|
_if(() => {
|
|
9495
9501
|
if (aliasPin(t)) {
|
|
9496
9502
|
const $scope118_id = _scope_id();
|
|
9497
|
-
_html(`<span${_attr_class("
|
|
9503
|
+
_html(`<span${_attr_class("_c6")}>${_text_resume($scope118_id, "b", t.pin)}</span>`);
|
|
9498
9504
|
_subscribe($for_content7__t_pin__closures, writeScope($scope118_id, { Ca0: 1 }));
|
|
9499
9505
|
return 0;
|
|
9500
9506
|
}
|
|
@@ -9513,7 +9519,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9513
9519
|
_if(() => {
|
|
9514
9520
|
if (outdated(t)) {
|
|
9515
9521
|
const $scope59_id = _scope_id();
|
|
9516
|
-
_html(`<button${_attr_class([btnSm, "
|
|
9522
|
+
_html(`<button${_attr_class([btnSm, "_c8"])}${_attr("title", `Update to v${t.latest}`)}>`);
|
|
9517
9523
|
icon_arrow_up_default({ size: 12 });
|
|
9518
9524
|
_html(` ${_text_resume($scope59_id, "c", t.latest, 2)}</button>${_el_resume($scope59_id, "a")}`);
|
|
9519
9525
|
_script($scope59_id, "y74");
|
|
@@ -9521,7 +9527,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9521
9527
|
return 0;
|
|
9522
9528
|
} else if (t.newest) {
|
|
9523
9529
|
const $scope60_id = _scope_id();
|
|
9524
|
-
_html(`<button${_attr_class(["
|
|
9530
|
+
_html(`<button${_attr_class(["_c7", "_y"])}${_attr("title", `v${t.newest} is out; ${t.pin} holds ${t.label} at v${t.version}. Pin v${t.newest} instead`)}>${_text_resume($scope60_id, "b", t.newest)} available</button>${_el_resume($scope60_id, "a")}`);
|
|
9525
9531
|
_script($scope60_id, "y75");
|
|
9526
9532
|
_subscribe($for_content7__t_newest__closures, _subscribe($for_content7__t_pin__closures, _subscribe($for_content7__t_version__closures, _subscribe($for_content7__t_label__closures, writeScope($scope60_id, {
|
|
9527
9533
|
Cw: 1,
|
|
@@ -9637,14 +9643,14 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9637
9643
|
label: "Dark"
|
|
9638
9644
|
}
|
|
9639
9645
|
];
|
|
9640
|
-
_html(`</div></div></section><section${_attr_class("
|
|
9646
|
+
_html(`</div></div></section><section${_attr_class("_bU")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bV")}><h2${_attr("id", appearanceId)}${_attr_class("_b8")}>Appearance</h2></div><div${_attr_class(["_bZ", "_dm"])}><div${_attr_class("_dy")}><img${_attr_class("_dz")}${_attr("src", `/api/instance/icon${accent ? `?v=${accent.slice(1)}` : ""}`)} alt aria-hidden=true>${_el_resume($scope0_id, "av", $sg__input_instance_accent)}<span${_attr_class("_dA")}><span${_attr_class("_dB")}>${_text_resume($scope0_id, "ay", input$3.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_dC")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_dn")}><span${_attr_class("_do")}>Name</span><input${_attr_input_value($scope0_id, "b2", input$3.instance.name, _resume(function(v) {
|
|
9641
9647
|
setInstance({ name: v });
|
|
9642
|
-
}, "y4", $scope0_id))}${_attr_class(["_Z", "
|
|
9648
|
+
}, "y4", $scope0_id))}${_attr_class(["_Z", "_dp"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b2")}</label><div${_attr_class("_dn")}><span${_attr_class("_do")}>Theme</span><span${_attr_class("_dr")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
|
|
9643
9649
|
_for_of(themeOpts, (opt) => {
|
|
9644
9650
|
const $scope50_id = _scope_id();
|
|
9645
9651
|
_html(`<button type=button${_attr_class([
|
|
9646
9652
|
"_bg",
|
|
9647
|
-
"
|
|
9653
|
+
"_dD",
|
|
9648
9654
|
{ ["_bf"]: themeMode === opt.id }
|
|
9649
9655
|
])} role=radio aria-checked=${themeMode === opt.id ? "true" : "false"}>`);
|
|
9650
9656
|
if (opt.id === "system") {
|
|
@@ -9664,28 +9670,28 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9664
9670
|
_: _scope_with_id($scope0_id)
|
|
9665
9671
|
});
|
|
9666
9672
|
}, "id", $scope0_id, "b6", 1, 0, 1, 0, 1);
|
|
9667
|
-
_html(`</span><span${_attr_class(["_o", "
|
|
9673
|
+
_html(`</span><span${_attr_class(["_o", "_ds"])}>`);
|
|
9668
9674
|
_attr_select_value($scope0_id, "b8", themeMode, _resume(function(v) {
|
|
9669
9675
|
setThemeMode(v);
|
|
9670
9676
|
}, "y5", $scope0_id), () => {
|
|
9671
|
-
_html(`<select${_attr_class(["_p", "
|
|
9677
|
+
_html(`<select${_attr_class(["_p", "_dt"])} aria-label="Color theme">`);
|
|
9672
9678
|
forOf(themeOpts, (opt) => {
|
|
9673
9679
|
_scope_id();
|
|
9674
9680
|
_html(`<option${_attr_option_value(opt.id)}>${_escape(opt.label)}</option>`);
|
|
9675
9681
|
});
|
|
9676
9682
|
_html("</select>");
|
|
9677
9683
|
});
|
|
9678
|
-
_html(`${_el_resume($scope0_id, "b8")}</span></span></div><div${_attr_class("
|
|
9679
|
-
"
|
|
9680
|
-
"
|
|
9681
|
-
{ ["
|
|
9684
|
+
_html(`${_el_resume($scope0_id, "b8")}</span></span></div><div${_attr_class("_dn")}><span${_attr_class("_do")}>Accent</span><span${_attr_class("_dE")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
|
|
9685
|
+
"_dF",
|
|
9686
|
+
"_dI",
|
|
9687
|
+
{ ["_dG"]: !accent }
|
|
9682
9688
|
])} role=radio aria-checked=${!accent ? "true" : "false"} title="Default (blue)" aria-label="Default (blue)">`);
|
|
9683
9689
|
_if(() => {
|
|
9684
9690
|
if (!accent) {
|
|
9685
9691
|
const $scope129_id = _scope_id();
|
|
9686
9692
|
icon_check_default({
|
|
9687
9693
|
size: 12,
|
|
9688
|
-
class: "
|
|
9694
|
+
class: "_dH"
|
|
9689
9695
|
});
|
|
9690
9696
|
$si__input_instance_accent && writeScope($scope129_id, {});
|
|
9691
9697
|
return 0;
|
|
@@ -9693,13 +9699,13 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9693
9699
|
}, $scope0_id, "bc", $sg__input_instance_accent, 1, 1, "</button>", 1);
|
|
9694
9700
|
_for_of(ACCENT_PRESETS, (p) => {
|
|
9695
9701
|
const $scope77_id = _scope_id();
|
|
9696
|
-
_html(`<button type=button${_attr_class(["
|
|
9702
|
+
_html(`<button type=button${_attr_class(["_dF", { ["_dG"]: accent === p.value }])}${_attr_style(`--swatch:${p.value}`)} role=radio aria-checked=${accent === p.value ? "true" : "false"}${_attr("title", p.name)}${_attr("aria-label", p.name)}>`);
|
|
9697
9703
|
_if(() => {
|
|
9698
9704
|
if (accent === p.value) {
|
|
9699
9705
|
const $scope130_id = _scope_id();
|
|
9700
9706
|
icon_check_default({
|
|
9701
9707
|
size: 12,
|
|
9702
|
-
class: "
|
|
9708
|
+
class: "_dH"
|
|
9703
9709
|
});
|
|
9704
9710
|
$si__input_instance_accent && writeScope($scope130_id, {});
|
|
9705
9711
|
return 0;
|
|
@@ -9713,18 +9719,18 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9713
9719
|
}, "value", $scope0_id, "bd", $sg__input_instance_accent, 0, 1, 0, 1);
|
|
9714
9720
|
const customOn = !!accent && !ACCENT_PRESETS.some((p) => p.value === accent);
|
|
9715
9721
|
_html(`<label${_attr_class([
|
|
9716
|
-
"
|
|
9717
|
-
"
|
|
9718
|
-
{ ["
|
|
9722
|
+
"_dF",
|
|
9723
|
+
"_dJ",
|
|
9724
|
+
{ ["_dG"]: customOn }
|
|
9719
9725
|
])}${customOn ? _attr_style(`--swatch:${accent}`) : ""}${customOn ? _attr("title", `Custom ${accent}`) : " title=\"Custom colour\""}><input${_attr_input_value($scope0_id, "bf", accent || "#3556d8", _resume(function(v) {
|
|
9720
9726
|
setInstance({ accent: v });
|
|
9721
|
-
}, "y6", $scope0_id))}${_attr_class("
|
|
9727
|
+
}, "y6", $scope0_id))}${_attr_class("_dK")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "bf")}`);
|
|
9722
9728
|
_if(() => {
|
|
9723
9729
|
if (customOn) {
|
|
9724
9730
|
const $scope131_id = _scope_id();
|
|
9725
9731
|
icon_check_default({
|
|
9726
9732
|
size: 12,
|
|
9727
|
-
class: "
|
|
9733
|
+
class: "_dH"
|
|
9728
9734
|
});
|
|
9729
9735
|
$si__input_instance_accent && writeScope($scope131_id, {});
|
|
9730
9736
|
return 0;
|
|
@@ -9735,16 +9741,16 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9735
9741
|
return 1;
|
|
9736
9742
|
}
|
|
9737
9743
|
}, $scope0_id, "bg", $sg__input_instance_accent, $sg__input_instance_accent, 1, 0, 1);
|
|
9738
|
-
_html(`</label>${_el_resume($scope0_id, "be", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("
|
|
9744
|
+
_html(`</label>${_el_resume($scope0_id, "be", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_bU")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_bV")}><h2${_attr("id", backupId)}${_attr_class("_b8")}>Backup</h2></div><div${_attr_class(["_bZ", "_cD"])}><div${_attr_class("_cE")}><div${_attr_class("_dL")}><div${_attr_class("_b0")}>`);
|
|
9739
9745
|
_if(() => {
|
|
9740
9746
|
if (backupBusy === "preflight") {
|
|
9741
9747
|
const $scope65_id = _scope_id();
|
|
9742
|
-
_html(`<span${_attr_class("
|
|
9748
|
+
_html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope65_id, "c", backupLine || "Checking workspaces…")}</span>`);
|
|
9743
9749
|
writeScope($scope65_id, {});
|
|
9744
9750
|
return 0;
|
|
9745
9751
|
} else {
|
|
9746
9752
|
const $scope133_id = _scope_id();
|
|
9747
|
-
_html(`<span${_attr_class("
|
|
9753
|
+
_html(`<span${_attr_class("_b3")}>Save workspaces, settings, skills and tool pins to a file. Code stays on GitHub.</span>`);
|
|
9748
9754
|
writeScope($scope133_id, {});
|
|
9749
9755
|
return 1;
|
|
9750
9756
|
}
|
|
@@ -9762,7 +9768,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9762
9768
|
_if(() => {
|
|
9763
9769
|
if (preflight && !backupBusy) {
|
|
9764
9770
|
const $scope67_id = _scope_id();
|
|
9765
|
-
_html(`<div${_attr_class("
|
|
9771
|
+
_html(`<div${_attr_class("_dN")}><p${_attr_class("_dO")}>In the file: ${_text_resume($scope67_id, "c", preflight.contents.workspaces, 2)} workspace${_text_resume($scope67_id, "d", preflight.contents.workspaces === 1 ? "" : "s", 2)}${_text_resume($scope67_id, "e", preflight.contents.archived ? `${_to_text(" ")}(${_to_text(preflight.contents.archived)} archived)` : "", 2)} , ${_text_resume($scope67_id, "f", preflight.contents.tools, 2)} tool pin${_text_resume($scope67_id, "g", preflight.contents.tools === 1 ? "" : "s", 2)}, ${_text_resume($scope67_id, "h", preflight.contents.skills, 2)} skill${_text_resume($scope67_id, "i", preflight.contents.skills === 1 ? "" : "s", 2)}, ${_text_resume($scope67_id, "j", preflight.contents.agents, 2)} agent${_text_resume($scope67_id, "k", preflight.contents.agents === 1 ? "" : "s", 2)}.</p><p${_attr_class("_dO")}>Not in the file: `);
|
|
9766
9772
|
_if(() => {
|
|
9767
9773
|
if (preflight.unpushed) {
|
|
9768
9774
|
const $scope68_id = _scope_id();
|
|
@@ -9779,15 +9785,15 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9779
9785
|
return 0;
|
|
9780
9786
|
}
|
|
9781
9787
|
}, $scope67_id, "m");
|
|
9782
|
-
_html(`${_text_resume($scope67_id, "n", preflight.files ? `${_to_text(" ")}${_to_text(preflight.files)} uncommitted file${_to_text(preflight.files === 1 ? "" : "s")}` : "", 2)} .</p><ul${_attr_class("
|
|
9788
|
+
_html(`${_text_resume($scope67_id, "n", preflight.files ? `${_to_text(" ")}${_to_text(preflight.files)} uncommitted file${_to_text(preflight.files === 1 ? "" : "s")}` : "", 2)} .</p><ul${_attr_class("_dP")}>`);
|
|
9783
9789
|
_for_of(preflight.workspaces, (w) => {
|
|
9784
9790
|
const $scope135_id = _scope_id();
|
|
9785
9791
|
const $for_content18__w_name__closures = /* @__PURE__ */ new Set();
|
|
9786
|
-
_html(`<li${_attr_class("
|
|
9792
|
+
_html(`<li${_attr_class("_dQ")}><span${_attr_class("_b1")}>${_text_resume($scope135_id, "c", w.name)}</span><ul${_attr_class("_dP")}>`);
|
|
9787
9793
|
_for_of(w.repos, (r) => {
|
|
9788
9794
|
const $scope136_id = _scope_id();
|
|
9789
9795
|
const $for_content19__r_more__closures = /* @__PURE__ */ new Set();
|
|
9790
|
-
_html(`<li${_attr_class("
|
|
9796
|
+
_html(`<li${_attr_class("_dR")}><span${_attr_class("_dS")}><span${_attr_class("_y")}>${_text_resume($scope136_id, "d", r.worktree)}/</span>`);
|
|
9791
9797
|
_for_of(r.unpushed, (b) => {
|
|
9792
9798
|
const $scope137_id = _scope_id();
|
|
9793
9799
|
_html(`<span${_attr_class(["_N", tone.warn])}${_attr("title", `${b.branch}: ${b.count} commit${b.count === 1 ? "" : "s"} origin does not have`)}>${_text_resume($scope137_id, "b", b.count)} unpushed `);
|
|
@@ -9806,10 +9812,10 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9806
9812
|
_if(() => {
|
|
9807
9813
|
if (r.modified.length || r.untracked.length || r.ignored.length) {
|
|
9808
9814
|
const $scope138_id = _scope_id();
|
|
9809
|
-
_html(`<ul${_attr_class("
|
|
9815
|
+
_html(`<ul${_attr_class("_dT")}>`);
|
|
9810
9816
|
_for_of(r.modified, (f) => {
|
|
9811
9817
|
const $scope141_id = _scope_id();
|
|
9812
|
-
_html(`<li${_attr_class("
|
|
9818
|
+
_html(`<li${_attr_class("_dU")}><span${_attr_class([
|
|
9813
9819
|
"_N",
|
|
9814
9820
|
"_P",
|
|
9815
9821
|
tone.warn
|
|
@@ -9818,18 +9824,18 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9818
9824
|
}, (f) => f, $scope138_id, "b", 1, 1, 1, 0, 1);
|
|
9819
9825
|
_for_of(r.untracked, (f) => {
|
|
9820
9826
|
const $scope142_id = _scope_id();
|
|
9821
|
-
_html(`<li${_attr_class("
|
|
9827
|
+
_html(`<li${_attr_class("_dU")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_bb"])}>${_text_resume($scope142_id, "d", f)}</span></li>`);
|
|
9822
9828
|
writeScope($scope142_id, {});
|
|
9823
9829
|
}, (f) => f, $scope138_id, "c", 1, 1, 1, 0, 1);
|
|
9824
9830
|
_for_of(r.ignored, (f) => {
|
|
9825
9831
|
const $scope143_id = _scope_id();
|
|
9826
|
-
_html(`<li${_attr_class("
|
|
9832
|
+
_html(`<li${_attr_class("_dU")}><span${_attr_class(["_N", "_P"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_y", "_bb"])}>${_text_resume($scope143_id, "d", f)}</span></li>`);
|
|
9827
9833
|
writeScope($scope143_id, {});
|
|
9828
9834
|
}, (f) => f, $scope138_id, "d", 1, 1, 1, 0, 1);
|
|
9829
9835
|
_if(() => {
|
|
9830
9836
|
if (r.more) {
|
|
9831
9837
|
const $scope139_id = _scope_id();
|
|
9832
|
-
_html(`<li${_attr_class(["
|
|
9838
|
+
_html(`<li${_attr_class(["_dU", "_x"])}>+${_text_resume($scope139_id, "b", r.more, 2)} more</li>`);
|
|
9833
9839
|
_subscribe($for_content19__r_more__closures, writeScope($scope139_id, {}));
|
|
9834
9840
|
return 0;
|
|
9835
9841
|
}
|
|
@@ -9854,27 +9860,27 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9854
9860
|
i: $for_content18__w_name__closures
|
|
9855
9861
|
});
|
|
9856
9862
|
}, "id", $scope67_id, "o", 1, 1, 1, "</ul>", 1);
|
|
9857
|
-
_html(`<div${_attr_class("
|
|
9863
|
+
_html(`<div${_attr_class("_dV")}><button${_attr_class([btnSm, { ["_r"]: !preflight.unpushed }])}>${_text_resume($scope67_id, "r", preflight.unpushed ? "Export anyway" : "Export")}</button>${_el_resume($scope67_id, "q")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope67_id, "s")}</div></div>`);
|
|
9858
9864
|
_script($scope67_id, "y81");
|
|
9859
9865
|
writeScope($scope67_id, {});
|
|
9860
9866
|
return 0;
|
|
9861
9867
|
}
|
|
9862
9868
|
}, $scope0_id, "bp", 1, 1, 1, 0, 1);
|
|
9863
|
-
_html(`</div><div${_attr_class("
|
|
9869
|
+
_html(`</div><div${_attr_class("_cE")}><div${_attr_class("_dL")}><div${_attr_class("_b0")}>`);
|
|
9864
9870
|
_if(() => {
|
|
9865
9871
|
if (backupBusy === "restore") {
|
|
9866
9872
|
const $scope66_id = _scope_id();
|
|
9867
|
-
_html(`<span${_attr_class("
|
|
9873
|
+
_html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope66_id, "c", backupLine || "Restoring…")}</span>`);
|
|
9868
9874
|
writeScope($scope66_id, {});
|
|
9869
9875
|
return 0;
|
|
9870
9876
|
} else if (restoreDone) {
|
|
9871
9877
|
const $scope74_id = _scope_id();
|
|
9872
|
-
_html(`<span${_attr_class("
|
|
9878
|
+
_html(`<span${_attr_class("_b3")}>${_text_resume($scope74_id, "b", restoreDone)}</span>`);
|
|
9873
9879
|
writeScope($scope74_id, {});
|
|
9874
9880
|
return 1;
|
|
9875
9881
|
} else {
|
|
9876
9882
|
const $scope144_id = _scope_id();
|
|
9877
|
-
_html(`<span${_attr_class("
|
|
9883
|
+
_html(`<span${_attr_class("_b3")}>Load a backup file. Repos clone in the background.</span>`);
|
|
9878
9884
|
writeScope($scope144_id, {});
|
|
9879
9885
|
return 2;
|
|
9880
9886
|
}
|
|
@@ -9882,7 +9888,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9882
9888
|
_if(() => {
|
|
9883
9889
|
if (!restorePreview && backupBusy !== "restore") {
|
|
9884
9890
|
const $scope76_id = _scope_id();
|
|
9885
|
-
_html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("
|
|
9891
|
+
_html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_dM")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope76_id, "b")}</label>`);
|
|
9886
9892
|
_script($scope76_id, "y82");
|
|
9887
9893
|
writeScope($scope76_id, {});
|
|
9888
9894
|
return 0;
|
|
@@ -9893,14 +9899,14 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9893
9899
|
if (restorePreview && backupBusy !== "restore") {
|
|
9894
9900
|
const $scope69_id = _scope_id();
|
|
9895
9901
|
const { preview } = restorePreview;
|
|
9896
|
-
_html(`<div${_attr_class("
|
|
9902
|
+
_html(`<div${_attr_class("_dN")}><p${_attr_class("_dO")}>From ${_text_resume($scope69_id, "c", preview.from.host, 2)} on ${_text_resume($scope69_id, "d", new Date(preview.from.exportedAt).toLocaleDateString(), 2)}${_text_resume($scope69_id, "e", preview.from.version ? ` (work ${preview.from.version})` : "", 2)}.</p>`);
|
|
9897
9903
|
_if(() => {
|
|
9898
9904
|
if (preview.workspaces.length) {
|
|
9899
9905
|
const $scope70_id = _scope_id();
|
|
9900
9906
|
_html(`<ul${_attr_class(checkList)}>`);
|
|
9901
9907
|
_for_of(preview.workspaces, (w) => {
|
|
9902
9908
|
const $scope71_id = _scope_id();
|
|
9903
|
-
_html(`<li><label${_attr_class(["
|
|
9909
|
+
_html(`<li><label${_attr_class(["_dX", { ["_dZ"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope71_id, "b", restoreWs.has(w.id))}${_attr_class("_dY")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope71_id, "b")}<span${_attr_class("_b0")}><span${_attr_class("_b2")}><span${_attr_class("_b1")}>${_text_resume($scope71_id, "f", w.name)}</span>`);
|
|
9904
9910
|
_if(() => {
|
|
9905
9911
|
if (w.status === "archived") {
|
|
9906
9912
|
const $scope148_id = _scope_id();
|
|
@@ -9922,7 +9928,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9922
9928
|
return 1;
|
|
9923
9929
|
}
|
|
9924
9930
|
}, $scope71_id, "h", 1, 1, 1, 0, 1);
|
|
9925
|
-
_html(`</span><span${_attr_class("
|
|
9931
|
+
_html(`</span><span${_attr_class("_b3")}>${_text_resume($scope71_id, "j", w.repos.join(", ") || "no repos")}</span></span></label>${_el_resume($scope71_id, "a")}</li>`);
|
|
9926
9932
|
_script($scope71_id, "y83");
|
|
9927
9933
|
_subscribe($restoreWs__closures, writeScope($scope71_id, {
|
|
9928
9934
|
n: w?.unknownHost,
|
|
@@ -9933,7 +9939,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9933
9939
|
return 0;
|
|
9934
9940
|
} else {
|
|
9935
9941
|
const $scope146_id = _scope_id();
|
|
9936
|
-
_html(`<p${_attr_class("
|
|
9942
|
+
_html(`<p${_attr_class("_b5")}>No workspaces in this file.</p>`);
|
|
9937
9943
|
writeScope($scope146_id, {});
|
|
9938
9944
|
return 1;
|
|
9939
9945
|
}
|
|
@@ -9973,7 +9979,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
9973
9979
|
_if(() => {
|
|
9974
9980
|
if (p.total) {
|
|
9975
9981
|
const $scope73_id = _scope_id();
|
|
9976
|
-
_html(`<li><label${_attr_class(["
|
|
9982
|
+
_html(`<li><label${_attr_class(["_dX", { ["_dZ"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope73_id, "b", restoreParts[p.key])}${_attr_class("_dY")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope73_id, "b")}<span${_attr_class("_b0")}><span${_attr_class("_b1")}>${_text_resume($scope73_id, "e", p.label)}</span><span${_attr_class("_b3")}>`);
|
|
9977
9983
|
_if(() => {
|
|
9978
9984
|
if (p.key === "settings") {
|
|
9979
9985
|
const $scope145_id = _scope_id();
|
|
@@ -10020,7 +10026,7 @@ var settings_page_default = _template("y", (input$3) => {
|
|
|
10020
10026
|
i: $for_content10__p_total__closures
|
|
10021
10027
|
});
|
|
10022
10028
|
}, "key", $scope69_id, "h");
|
|
10023
|
-
_html(`</ul><div${_attr_class("
|
|
10029
|
+
_html(`</ul><div${_attr_class("_dV")}><button${_attr_class([btnSm, "_r"])}${_attr("disabled", !restoreWs.size && !Object.values(restoreParts).some(Boolean))}>Restore</button>${_el_resume($scope69_id, "j")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope69_id, "k")}</div></div>`);
|
|
10024
10030
|
_script($scope69_id, "y85");
|
|
10025
10031
|
writeScope($scope69_id, {});
|
|
10026
10032
|
return 0;
|
|
@@ -10249,9 +10255,9 @@ function vapidKey(base64) {
|
|
|
10249
10255
|
const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
|
|
10250
10256
|
return Uint8Array.from(raw, (c) => c.charCodeAt(0));
|
|
10251
10257
|
}
|
|
10252
|
-
var iconBtn = "
|
|
10253
|
-
var settingsDot = "
|
|
10254
|
-
var navToggle = "
|
|
10258
|
+
var iconBtn = "_b_ _l";
|
|
10259
|
+
var settingsDot = "_ca _bc";
|
|
10260
|
+
var navToggle = "_ce _l";
|
|
10255
10261
|
_template("T", (input) => {
|
|
10256
10262
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
10257
10263
|
const $scope0_id = _scope_id();
|
|
@@ -10305,8 +10311,8 @@ function activeAgent(session) {
|
|
|
10305
10311
|
const command = session.state?.command?.trim();
|
|
10306
10312
|
return command && agentFromCommand(command) || session.agent;
|
|
10307
10313
|
}
|
|
10308
|
-
var rowState = "
|
|
10309
|
-
var rowArchive = "
|
|
10314
|
+
var rowState = "_fs _N";
|
|
10315
|
+
var rowArchive = "_fu _q _L";
|
|
10310
10316
|
//#endregion
|
|
10311
10317
|
//#region src/client/arm.ts
|
|
10312
10318
|
/** Two-step destructive controls: first click arms (label/colour flips),
|
|
@@ -10317,12 +10323,12 @@ var ARM_MS = 3500;
|
|
|
10317
10323
|
function disarmLater(fn) {
|
|
10318
10324
|
return setTimeout(fn, ARM_MS);
|
|
10319
10325
|
}
|
|
10320
|
-
var prChip = "
|
|
10321
|
-
var portChip = "
|
|
10326
|
+
var prChip = "_h3 _u _h2";
|
|
10327
|
+
var portChip = "_h4 _u _h2";
|
|
10322
10328
|
var prState = {
|
|
10323
|
-
open: "
|
|
10324
|
-
merged: "
|
|
10325
|
-
closed: "
|
|
10329
|
+
open: "_h8",
|
|
10330
|
+
merged: "_h9",
|
|
10331
|
+
closed: "_h_"
|
|
10326
10332
|
};
|
|
10327
10333
|
//#endregion
|
|
10328
10334
|
//#region src/tags/icons/icon-diff.marko
|
|
@@ -10413,7 +10419,7 @@ var side_nav_chips_default = _template("z", (input) => {
|
|
|
10413
10419
|
const name = repo.full_name.split("/").at(-1);
|
|
10414
10420
|
return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel(repo.full_name) : name;
|
|
10415
10421
|
}, "z4", $scope1_id);
|
|
10416
|
-
_html(`<div${_attr_class("
|
|
10422
|
+
_html(`<div${_attr_class("_h1")}>`);
|
|
10417
10423
|
_for_of(repos, (repo) => {
|
|
10418
10424
|
const $scope2_id = _scope_id();
|
|
10419
10425
|
const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
|
|
@@ -10429,11 +10435,11 @@ var side_nav_chips_default = _template("z", (input) => {
|
|
|
10429
10435
|
[prState.merged]: pr$1.state === "MERGED",
|
|
10430
10436
|
[prState.closed]: pr$1.state === "CLOSED"
|
|
10431
10437
|
}
|
|
10432
|
-
])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["
|
|
10438
|
+
])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_h5", { ["_ic"]: !open }])}${_attr("href", pr$1.url)} target=_blank rel=noopener>${_text_resume($scope3_id, "c", repoLabel$1(repo))}#${_text_resume($scope3_id, "d", pr$1.number, 2)}</a>${_el_resume($scope3_id, "b")}`);
|
|
10433
10439
|
_if(() => {
|
|
10434
10440
|
if (open) {
|
|
10435
10441
|
const $scope4_id = _scope_id();
|
|
10436
|
-
_html(`<a${_attr_class(["
|
|
10442
|
+
_html(`<a${_attr_class(["_h5", "_h6"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
|
|
10437
10443
|
icon_diff_default({ size: 12 });
|
|
10438
10444
|
_html(`</a>${_el_resume($scope4_id, "a")}`);
|
|
10439
10445
|
_subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
|
|
@@ -10441,9 +10447,9 @@ var side_nav_chips_default = _template("z", (input) => {
|
|
|
10441
10447
|
} else {
|
|
10442
10448
|
const $scope6_id = _scope_id();
|
|
10443
10449
|
_html(`<button type=button${_attr_class([
|
|
10444
|
-
"
|
|
10445
|
-
"
|
|
10446
|
-
"
|
|
10450
|
+
"_h5",
|
|
10451
|
+
"_h6",
|
|
10452
|
+
"_h7"
|
|
10447
10453
|
])}${_attr("title", `Dismiss #${pr$1.number}`)}>`);
|
|
10448
10454
|
icon_xmark_default({ size: 12 });
|
|
10449
10455
|
_html(`</button>${_el_resume($scope6_id, "a")}`);
|
|
@@ -10471,21 +10477,21 @@ var side_nav_chips_default = _template("z", (input) => {
|
|
|
10471
10477
|
_if(() => {
|
|
10472
10478
|
if (dead.has(p.port)) {
|
|
10473
10479
|
const $scope7_id = _scope_id();
|
|
10474
|
-
_html(`<span${_attr_class(["
|
|
10480
|
+
_html(`<span${_attr_class(["_h5", "_ia"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
|
|
10475
10481
|
_subscribe($dead__closures, writeScope($scope7_id, { Ca3: 1 }));
|
|
10476
10482
|
return 0;
|
|
10477
10483
|
} else {
|
|
10478
10484
|
const $scope8_id = _scope_id();
|
|
10479
|
-
_html(`<button type=button${_attr_class(["
|
|
10485
|
+
_html(`<button type=button${_attr_class(["_h5", "_ib"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
|
|
10480
10486
|
_script($scope8_id, "z6");
|
|
10481
10487
|
writeScope($scope8_id, {});
|
|
10482
10488
|
return 1;
|
|
10483
10489
|
}
|
|
10484
10490
|
}, $scope5_id, "b", 1, 1, 1, 0, 1);
|
|
10485
10491
|
_html(`<button type=button${_attr_class([
|
|
10486
|
-
"
|
|
10487
|
-
"
|
|
10488
|
-
"
|
|
10492
|
+
"_h5",
|
|
10493
|
+
"_h6",
|
|
10494
|
+
"_h7",
|
|
10489
10495
|
{ ["_s"]: armedPid === p.pid }
|
|
10490
10496
|
])}${armedPid === p.pid ? " title=Kill?" : _attr("title", `Kill ${p.cmd} (pid ${p.pid})`)}>`);
|
|
10491
10497
|
icon_xmark_default({ size: 12 });
|
|
@@ -10598,7 +10604,7 @@ var usage_pcts_default = _template("I", (input) => {
|
|
|
10598
10604
|
return 0;
|
|
10599
10605
|
}
|
|
10600
10606
|
}, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
10601
|
-
_html(`<span${_attr_class("_hs")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_ht", win$1.used_percent >= 90 ? "
|
|
10607
|
+
_html(`<span${_attr_class("_hs")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_ht", win$1.used_percent >= 90 ? "_g4" : win$1.used_percent >= 70 ? "_g3" : win$1.used_percent >= 40 ? "_g2" : "_g1"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
|
|
10602
10608
|
$si__input_agent && writeScope($scope2_id, {});
|
|
10603
10609
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
10604
10610
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -11097,11 +11103,11 @@ var workspace_switcher_default = _template("K", (input) => {
|
|
|
11097
11103
|
const sessions = input.sessions || st?.sessions || [];
|
|
11098
11104
|
const manySessions = sessions.length > 1;
|
|
11099
11105
|
const heroMeta$1 = sessions.length === 0 ? "No sessions" : manySessions ? `${sessions.length} sessions` : "";
|
|
11100
|
-
_html(`<div${_attr_class("
|
|
11106
|
+
_html(`<div${_attr_class("_fb")}>`);
|
|
11101
11107
|
_if(() => {
|
|
11102
11108
|
if (ws) {
|
|
11103
11109
|
const $scope1_id = _scope_id();
|
|
11104
|
-
_html(`<section${_attr_class("
|
|
11110
|
+
_html(`<section${_attr_class("_fc")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_fd")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
|
|
11105
11111
|
_if(() => {
|
|
11106
11112
|
if (sessions.length === 1) {
|
|
11107
11113
|
const $scope10_id = _scope_id();
|
|
@@ -11113,7 +11119,7 @@ var workspace_switcher_default = _template("K", (input) => {
|
|
|
11113
11119
|
icon_agent_default({
|
|
11114
11120
|
agent: activeAgent(sessions[0]),
|
|
11115
11121
|
size: 16,
|
|
11116
|
-
class: "
|
|
11122
|
+
class: "_fg"
|
|
11117
11123
|
});
|
|
11118
11124
|
$si__input_workspace__OR__input_allStatus__OR__input_sessions && _subscribe($sessions___closures, writeScope($scope10_id, {
|
|
11119
11125
|
_: _scope_with_id($scope1_id),
|
|
@@ -11122,14 +11128,14 @@ var workspace_switcher_default = _template("K", (input) => {
|
|
|
11122
11128
|
return 0;
|
|
11123
11129
|
}
|
|
11124
11130
|
}, $scope1_id, "d", $sg__input_workspace__OR__input_allStatus__OR__input_sessions, $sg__input_workspace__OR__input_allStatus__OR__input_sessions, $sg__input_workspace__OR__input_allStatus__OR__input_sessions);
|
|
11125
|
-
_html(`<span${_attr_class("
|
|
11131
|
+
_html(`<span${_attr_class("_fe")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class("_ff")}>${_text_resume($scope1_id, "h", heroMeta$1, $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope1_id, "b", $sg__input_workspace)}`);
|
|
11126
11132
|
_if(() => {
|
|
11127
11133
|
if (manySessions) {
|
|
11128
11134
|
const $scope2_id = _scope_id();
|
|
11129
|
-
_html(`<div${_attr_class("
|
|
11135
|
+
_html(`<div${_attr_class("_fh")}>`);
|
|
11130
11136
|
_for_of(sessions, (s) => {
|
|
11131
11137
|
const $scope3_id = _scope_id();
|
|
11132
|
-
_html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["
|
|
11138
|
+
_html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_fj", { ["_fi"]: s.id === input.tab }])}><span${_attr_class(["_A", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope3_id, "b", $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}`);
|
|
11133
11139
|
_set_serialize_reason({
|
|
11134
11140
|
1: $sg__input_workspace__OR__input_allStatus__OR__input_sessions,
|
|
11135
11141
|
2: $sg__input_workspace__OR__input_allStatus__OR__input_sessions
|
|
@@ -11139,7 +11145,7 @@ var workspace_switcher_default = _template("K", (input) => {
|
|
|
11139
11145
|
agent: activeAgent(s),
|
|
11140
11146
|
size: 14
|
|
11141
11147
|
});
|
|
11142
|
-
_html(`<span${_attr_class("
|
|
11148
|
+
_html(`<span${_attr_class("_fk")}>${_text_resume($scope3_id, "e", s.title || activeAgent(s), $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 5))}`);
|
|
11143
11149
|
$si__input_workspace__OR__input_allStatus__OR__input_sessions__OR__input_tab && _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_tab && $input_tab__closures, writeScope($scope3_id, {
|
|
11144
11150
|
h: $si__input_tab && s?.id,
|
|
11145
11151
|
_: _scope_with_id($scope2_id),
|
|
@@ -11172,16 +11178,16 @@ var workspace_switcher_default = _template("K", (input) => {
|
|
|
11172
11178
|
const $scope5_id = _scope_id();
|
|
11173
11179
|
const $if_content3__done__closures = /* @__PURE__ */ new Set();
|
|
11174
11180
|
const done = i === 1;
|
|
11175
|
-
_html(`<section${_attr_class("
|
|
11181
|
+
_html(`<section${_attr_class("_fl")}>`);
|
|
11176
11182
|
_if(() => {
|
|
11177
11183
|
if (done) {
|
|
11178
11184
|
const $scope11_id = _scope_id();
|
|
11179
|
-
_html(`<h2${_attr_class(["
|
|
11185
|
+
_html(`<h2${_attr_class(["_b8", "_fm"])}>Done</h2>`);
|
|
11180
11186
|
$si__input_openIds__OR__input_doneIds && writeScope($scope11_id, {});
|
|
11181
11187
|
return 0;
|
|
11182
11188
|
}
|
|
11183
11189
|
}, $scope5_id, "b", $sg__input_openIds__OR__input_doneIds, $sg__input_openIds__OR__input_doneIds, $sg__input_openIds__OR__input_doneIds, 0, 1);
|
|
11184
|
-
_html(`<div${_attr_class("
|
|
11190
|
+
_html(`<div${_attr_class("_fn")}>`);
|
|
11185
11191
|
_for_of(ids, (id) => {
|
|
11186
11192
|
const $scope6_id = _scope_id();
|
|
11187
11193
|
const w = input.byId.get(id);
|
|
@@ -11232,7 +11238,7 @@ var workspace_switcher_default = _template("K", (input) => {
|
|
|
11232
11238
|
const rp = phaseOf(rs);
|
|
11233
11239
|
const rowSessions = rs?.sessions || [];
|
|
11234
11240
|
const many = rowSessions.length > 1;
|
|
11235
|
-
_html(`<div${_attr_class("
|
|
11241
|
+
_html(`<div${_attr_class("_fo")}><a${_attr("href", `/w/${id}`)}${_attr_class("_fp")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope8_id, "c", $sg__input_allStatus__OR__input_openIds__OR__input_doneIds)}`);
|
|
11236
11242
|
_if(() => {
|
|
11237
11243
|
if (rowSessions.length === 1) {
|
|
11238
11244
|
const $scope12_id = _scope_id();
|
|
@@ -11244,7 +11250,7 @@ var workspace_switcher_default = _template("K", (input) => {
|
|
|
11244
11250
|
icon_agent_default({
|
|
11245
11251
|
agent: activeAgent(rowSessions[0]),
|
|
11246
11252
|
size: 16,
|
|
11247
|
-
class: "
|
|
11253
|
+
class: "_fr"
|
|
11248
11254
|
});
|
|
11249
11255
|
$si__input_allStatus__OR__input_openIds__OR__input_doneIds && writeScope($scope12_id, {
|
|
11250
11256
|
_: _scope_with_id($scope8_id),
|
|
@@ -11253,7 +11259,7 @@ var workspace_switcher_default = _template("K", (input) => {
|
|
|
11253
11259
|
return 0;
|
|
11254
11260
|
}
|
|
11255
11261
|
}, $scope8_id, "d", $sg__input_allStatus__OR__input_openIds__OR__input_doneIds, $sg__input_allStatus__OR__input_openIds__OR__input_doneIds, $sg__input_allStatus__OR__input_openIds__OR__input_doneIds);
|
|
11256
|
-
_html(`<span${_attr_class("
|
|
11262
|
+
_html(`<span${_attr_class("_fq")}>${_text_resume($scope8_id, "f", w.name, $sg__input_openIds__OR__input_doneIds__OR__input_byId)}</span>`);
|
|
11257
11263
|
_if(() => {
|
|
11258
11264
|
if (many) {
|
|
11259
11265
|
const $scope13_id = _scope_id();
|
|
@@ -11275,7 +11281,7 @@ var workspace_switcher_default = _template("K", (input) => {
|
|
|
11275
11281
|
const $scope14_id = _scope_id();
|
|
11276
11282
|
icon_chevron_right_default({
|
|
11277
11283
|
size: 14,
|
|
11278
|
-
class: "
|
|
11284
|
+
class: "_ft"
|
|
11279
11285
|
});
|
|
11280
11286
|
$si__input_openIds__OR__input_doneIds && writeScope($scope14_id, {});
|
|
11281
11287
|
return 1;
|
|
@@ -11512,28 +11518,28 @@ var side_nav_default = _template("B", (input) => {
|
|
|
11512
11518
|
const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
|
|
11513
11519
|
const pageOpen = grouped.ids.filter((id) => id !== ws?.id && !grouped.done.has(id));
|
|
11514
11520
|
const pageDone = grouped.ids.filter((id) => id !== ws?.id && grouped.done.has(id));
|
|
11515
|
-
_html(`<aside${_attr_class(["
|
|
11516
|
-
["
|
|
11517
|
-
["
|
|
11521
|
+
_html(`<aside${_attr_class(["_cd", {
|
|
11522
|
+
["_cb"]: !navOpen,
|
|
11523
|
+
["_cc"]: isPage
|
|
11518
11524
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
11519
11525
|
_if(() => {
|
|
11520
11526
|
if (isPage) {
|
|
11521
11527
|
const $scope1_id = _scope_id();
|
|
11522
|
-
_html(`<header${_attr_class("
|
|
11528
|
+
_html(`<header${_attr_class("_cg")}><div${_attr_class("_cp")}>`);
|
|
11523
11529
|
_if(() => {
|
|
11524
11530
|
if (input.instanceName) {
|
|
11525
11531
|
const $scope2_id = _scope_id();
|
|
11526
|
-
_html(`<div${_attr_class("
|
|
11532
|
+
_html(`<div${_attr_class("_cm")} title="This work server (Settings → Appearance)"><img${_attr_class("_cn")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_co")}>${_text_resume($scope2_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
|
|
11527
11533
|
_subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
|
|
11528
11534
|
return 0;
|
|
11529
11535
|
}
|
|
11530
11536
|
}, $scope1_id, "c", $sg__input_instanceName, $sg__input_instanceName, 1, 0, 1);
|
|
11531
|
-
_html(`<h1${_attr_class("
|
|
11537
|
+
_html(`<h1${_attr_class("_ch")}>Workspaces</h1></div><div${_attr_class("_ci")}>`);
|
|
11532
11538
|
_if(() => {}, $scope1_id, "f", 1, 1, 1, 0, 1);
|
|
11533
11539
|
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
|
|
11534
11540
|
iconBtn,
|
|
11535
|
-
"
|
|
11536
|
-
{ ["
|
|
11541
|
+
"_cj",
|
|
11542
|
+
{ ["_b9"]: view === "settings" }
|
|
11537
11543
|
])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
11538
11544
|
icon_settings_default({ size: 16 });
|
|
11539
11545
|
_if(() => {
|
|
@@ -11552,7 +11558,7 @@ var side_nav_default = _template("B", (input) => {
|
|
|
11552
11558
|
_if(() => {
|
|
11553
11559
|
if (!isPage && input.instanceName) {
|
|
11554
11560
|
const $scope3_id = _scope_id();
|
|
11555
|
-
_html(`<div${_attr_class("
|
|
11561
|
+
_html(`<div${_attr_class("_cm")} title="This work server (Settings → Appearance)"><img${_attr_class("_cn")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_co")}>${_text_resume($scope3_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
|
|
11556
11562
|
writeScope($scope3_id, {});
|
|
11557
11563
|
return 0;
|
|
11558
11564
|
}
|
|
@@ -11593,13 +11599,13 @@ var side_nav_default = _template("B", (input) => {
|
|
|
11593
11599
|
return 0;
|
|
11594
11600
|
} else if (navOpen) {
|
|
11595
11601
|
const $scope5_id = _scope_id();
|
|
11596
|
-
_html(`<div${_attr_class("
|
|
11602
|
+
_html(`<div${_attr_class("_cq")}>`);
|
|
11597
11603
|
_for_of(grouped.ids, (wsId) => {
|
|
11598
11604
|
const $scope6_id = _scope_id();
|
|
11599
11605
|
_if(() => {
|
|
11600
11606
|
if (grouped.start.has(wsId) && GROUP_LABEL[grouped.start.get(wsId)]) {
|
|
11601
11607
|
const $scope14_id = _scope_id();
|
|
11602
|
-
_html(`<h2${_attr_class(["
|
|
11608
|
+
_html(`<h2${_attr_class(["_b8", "_ck"])}>${_text_resume($scope14_id, "b", GROUP_LABEL[grouped.start.get(wsId)], $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus)}</h2>`);
|
|
11603
11609
|
_subscribe($si__input_workspace__OR__input_allWorkspaces__OR__input_allStatus && $grouped_start__closures, writeScope($scope14_id, {
|
|
11604
11610
|
_: _scope_with_id($scope6_id),
|
|
11605
11611
|
Cbm: $si__input_workspace__OR__input_allWorkspaces__OR__input_allStatus && 1
|
|
@@ -11694,7 +11700,7 @@ var side_nav_default = _template("B", (input) => {
|
|
|
11694
11700
|
railHover = null;
|
|
11695
11701
|
}, 150);
|
|
11696
11702
|
}, "B8", $scope7_id);
|
|
11697
|
-
_html(`<div${_attr_class("
|
|
11703
|
+
_html(`<div${_attr_class("_cr")}>`);
|
|
11698
11704
|
_for_of(grouped.ids, (wsId, i) => {
|
|
11699
11705
|
const $scope8_id = _scope_id();
|
|
11700
11706
|
_html("<span>");
|
|
@@ -11753,7 +11759,7 @@ var side_nav_default = _template("B", (input) => {
|
|
|
11753
11759
|
if (railHover) {
|
|
11754
11760
|
const $scope9_id = _scope_id();
|
|
11755
11761
|
const hoverId = railHover.id;
|
|
11756
|
-
_html(`<div${_attr_class(["__", "
|
|
11762
|
+
_html(`<div${_attr_class(["__", "_cu"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
|
|
11757
11763
|
_set_serialize_reason({
|
|
11758
11764
|
0: 1,
|
|
11759
11765
|
1: 1,
|
|
@@ -11853,7 +11859,7 @@ var side_nav_default = _template("B", (input) => {
|
|
|
11853
11859
|
return 0;
|
|
11854
11860
|
}
|
|
11855
11861
|
}, $scope0_id, "e");
|
|
11856
|
-
_html(`<div${_attr_class("
|
|
11862
|
+
_html(`<div${_attr_class("_cs")}>`);
|
|
11857
11863
|
_if(() => {
|
|
11858
11864
|
if (isPage) {
|
|
11859
11865
|
const $scope11_id = _scope_id();
|
|
@@ -11861,7 +11867,7 @@ var side_nav_default = _template("B", (input) => {
|
|
|
11861
11867
|
"_q",
|
|
11862
11868
|
"_r",
|
|
11863
11869
|
btnLg,
|
|
11864
|
-
"
|
|
11870
|
+
"_cl"
|
|
11865
11871
|
])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
11866
11872
|
icon_folder_plus_default({ size: 16 });
|
|
11867
11873
|
_html(` New workspace</a>${_el_resume($scope11_id, "a")}`);
|
|
@@ -11883,9 +11889,9 @@ var side_nav_default = _template("B", (input) => {
|
|
|
11883
11889
|
return 1;
|
|
11884
11890
|
}
|
|
11885
11891
|
}, $scope10_id, "a", 1, 1, 1, "</button>", 1);
|
|
11886
|
-
_html(`<div${_attr_class(["_z", "
|
|
11892
|
+
_html(`<div${_attr_class(["_z", "_ct"])}></div>`);
|
|
11887
11893
|
_if(() => {}, $scope10_id, "c", 1, 1, 1, 0, 1);
|
|
11888
|
-
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["
|
|
11894
|
+
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["_b9"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
11889
11895
|
icon_settings_default({});
|
|
11890
11896
|
_if(() => {
|
|
11891
11897
|
if (input.setupReady === false) {
|
|
@@ -11895,7 +11901,7 @@ var side_nav_default = _template("B", (input) => {
|
|
|
11895
11901
|
return 0;
|
|
11896
11902
|
}
|
|
11897
11903
|
}, $scope10_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
11898
|
-
_html(`</a>${_el_resume($scope10_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["
|
|
11904
|
+
_html(`</a>${_el_resume($scope10_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["_b9"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
11899
11905
|
icon_folder_plus_default({ size: 16 });
|
|
11900
11906
|
_html(`</a>${_el_resume($scope10_id, "g")}`);
|
|
11901
11907
|
_script($scope10_id, "B18");
|
|
@@ -12239,7 +12245,7 @@ function treeDirs(files) {
|
|
|
12239
12245
|
return build(root, "", "", -1);
|
|
12240
12246
|
}
|
|
12241
12247
|
var treeToggle = "_fT _5 _l";
|
|
12242
|
-
var pageTitle = "_f0
|
|
12248
|
+
var pageTitle = "_f0 _cz";
|
|
12243
12249
|
//#endregion
|
|
12244
12250
|
//#region src/tags/diff-send.marko
|
|
12245
12251
|
var diff_send_default = _template("j", (input) => {
|
|
@@ -12249,7 +12255,7 @@ var diff_send_default = _template("j", (input) => {
|
|
|
12249
12255
|
let sendTarget = null;
|
|
12250
12256
|
const sessions = input.sessions || [];
|
|
12251
12257
|
const sendPick = sessions.some((s) => s.id === sendTarget) ? sendTarget : sessions[0]?.id ?? null;
|
|
12252
|
-
_html(`<span${_attr_class("
|
|
12258
|
+
_html(`<span${_attr_class("_iu")}><button type=button${_attr_class("_q")} title="Copy comments as markdown">${_text_resume($scope0_id, "c", "Copy")}</button>${_el_resume($scope0_id, "b")}`);
|
|
12253
12259
|
_if(() => {
|
|
12254
12260
|
if (sessions.length === 1) {
|
|
12255
12261
|
const $scope1_id = _scope_id();
|
|
@@ -12259,11 +12265,11 @@ var diff_send_default = _template("j", (input) => {
|
|
|
12259
12265
|
return 0;
|
|
12260
12266
|
} else if (sessions.length) {
|
|
12261
12267
|
const $scope2_id = _scope_id();
|
|
12262
|
-
_html(`<span${_attr_class("
|
|
12268
|
+
_html(`<span${_attr_class("_iv")}><button type=button${_attr_class(["_r", "_iw"])}${_attr("disabled", sending)}>${_text_resume($scope2_id, "c", "Send to")}</button>${_el_resume($scope2_id, "b")}`);
|
|
12263
12269
|
_attr_select_value($scope2_id, "d", sendTarget, _resume((_new_sendTarget) => {
|
|
12264
12270
|
sendTarget = _new_sendTarget;
|
|
12265
12271
|
}, "j0", $scope2_id), () => {
|
|
12266
|
-
_html(`<select${_attr_class("
|
|
12272
|
+
_html(`<select${_attr_class("_ix")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
|
|
12267
12273
|
_for_of(sessions, (s) => {
|
|
12268
12274
|
const $scope3_id = _scope_id();
|
|
12269
12275
|
_html(`<option${_attr_option_value(s.id)}>${_text_resume($scope3_id, "b", s.title || s.agent, $sg__input_sessions)}</option>${_el_resume($scope3_id, "a", $sg__input_sessions)}`);
|
|
@@ -13775,8 +13781,8 @@ function clip(line, at, len) {
|
|
|
13775
13781
|
const end = Math.min(line.length, at + len + pad);
|
|
13776
13782
|
return (start > 0 ? "…" : "") + line.slice(start, end) + (end < line.length ? "…" : "");
|
|
13777
13783
|
}
|
|
13778
|
-
var findInput = "
|
|
13779
|
-
var findIconBtn = "
|
|
13784
|
+
var findInput = "_ew _n";
|
|
13785
|
+
var findIconBtn = "_ez _l";
|
|
13780
13786
|
//#endregion
|
|
13781
13787
|
//#region src/tags/icons/icon-arrow-down.marko
|
|
13782
13788
|
var icon_arrow_down_default = _template("N", (input) => {
|
|
@@ -13864,9 +13870,9 @@ var diff_find_default = _template("i", (input) => {
|
|
|
13864
13870
|
el.select();
|
|
13865
13871
|
}, 0);
|
|
13866
13872
|
}, "i0", $scope0_id);
|
|
13867
|
-
_html(`<div${_attr_class(["
|
|
13873
|
+
_html(`<div${_attr_class(["_ev", !open && "_eu"])} aria-hidden=${open ? "false" : "true"}><input${_attr_input_value($scope0_id, "b", query || "", _resume(function(v) {
|
|
13868
13874
|
type(v);
|
|
13869
|
-
}, "i1", $scope0_id))}${_attr_class(findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "b")}<span${_attr_class("
|
|
13875
|
+
}, "i1", $scope0_id))}${_attr_class(findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "b")}<span${_attr_class("_ey")}>${_text_resume($scope0_id, "d", open && (query || "").trim() ? hits.length ? `${at + 1}/${hits.length}` : "0/0" : "")}</span><button type=button${_attr_class(findIconBtn)} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
|
|
13870
13876
|
icon_arrow_up_default({ size: 14 });
|
|
13871
13877
|
_html(`</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class(findIconBtn)} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
|
|
13872
13878
|
icon_arrow_down_default({ size: 14 });
|
|
@@ -14010,7 +14016,7 @@ var diff_file_default = _template("h", (input) => {
|
|
|
14010
14016
|
_scope_reason();
|
|
14011
14017
|
const $scope0_id = _scope_id();
|
|
14012
14018
|
_el($scope0_id, "h0");
|
|
14013
|
-
_html(`<div${_attr_class(["
|
|
14019
|
+
_html(`<div${_attr_class(["_jl", input.class])}></div>${_el_resume($scope0_id, "a")}`);
|
|
14014
14020
|
_script($scope0_id, "h1");
|
|
14015
14021
|
writeScope($scope0_id, {
|
|
14016
14022
|
e: input.file,
|
|
@@ -14382,7 +14388,7 @@ var review_section_default = _template("x", (input) => {
|
|
|
14382
14388
|
cd: $si__input_findHit_line && $input_findHit_line__closures
|
|
14383
14389
|
});
|
|
14384
14390
|
});
|
|
14385
|
-
var fileFilter = "
|
|
14391
|
+
var fileFilter = "_jk _n";
|
|
14386
14392
|
//#endregion
|
|
14387
14393
|
//#region src/tags/file-filter.marko
|
|
14388
14394
|
var file_filter_default = _template("n", (input) => {
|
|
@@ -14412,7 +14418,7 @@ var file_filter_default = _template("n", (input) => {
|
|
|
14412
14418
|
pending = v;
|
|
14413
14419
|
box.timer = setTimeout(flush, 150);
|
|
14414
14420
|
}, "n2", $scope0_id);
|
|
14415
|
-
_html(`<div${_attr_class("
|
|
14421
|
+
_html(`<div${_attr_class("_jj")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
|
|
14416
14422
|
type(v);
|
|
14417
14423
|
}, "n0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
|
|
14418
14424
|
_script($scope0_id, "n3");
|
|
@@ -14445,7 +14451,7 @@ var $content = (input) => {
|
|
|
14445
14451
|
_for_of(dir.dirs, (child) => {
|
|
14446
14452
|
const $scope1_id = _scope_id();
|
|
14447
14453
|
const shut = input.collapsed.has(input.collapsedKey(child.path));
|
|
14448
|
-
_html(`<div${_attr_class("
|
|
14454
|
+
_html(`<div${_attr_class("_iG")}><button type=button${_attr_class(["_iH", { ["_iy"]: shut }])}${_attr("title", child.path)}${_attr_style(`--depth:${child.depth}`)}><span${_attr_class("_iO")}>`);
|
|
14449
14455
|
_if(() => {
|
|
14450
14456
|
if (shut) {
|
|
14451
14457
|
const $scope4_id = _scope_id();
|
|
@@ -14459,7 +14465,7 @@ var $content = (input) => {
|
|
|
14459
14465
|
return 1;
|
|
14460
14466
|
}
|
|
14461
14467
|
}, $scope1_id, "c", $sg__input, $sg__input, $sg__input, "</span>", 1);
|
|
14462
|
-
_html(`<span${_attr_class("
|
|
14468
|
+
_html(`<span${_attr_class("_iI")}>${_text_resume($scope1_id, "e", child.label, $sg__input_dir)}/</span></button>${_el_resume($scope1_id, "b")}`);
|
|
14463
14469
|
_if(() => {
|
|
14464
14470
|
if (!shut) {
|
|
14465
14471
|
const $scope2_id = _scope_id();
|
|
@@ -14506,11 +14512,11 @@ var $content = (input) => {
|
|
|
14506
14512
|
}, "path", $scope0_id, "a", $sg__input, $sg__input_dir, $sg__input_dir, 0, 1);
|
|
14507
14513
|
_for_of(dir.files, ({ file, name }) => {
|
|
14508
14514
|
const $scope3_id = _scope_id();
|
|
14509
|
-
_html(`<a${_attr("href", input.hrefFor(file.key))}${_attr_class(["
|
|
14515
|
+
_html(`<a${_attr("href", input.hrefFor(file.key))}${_attr_class(["_iK", { ["_iJ"]: input.collapsedFiles?.has(file.key) }])}${input.collapsedFiles?.has(file.key) ? _attr("title", `${file.path} (folded — click to open)`) : _attr("title", file.path)}${_attr_style(`--depth:${dir.depth + 1}`)}><span${_attr_class("_ba")}${_attr("data-status", file.status)}>${_text_resume($scope3_id, "c", file.status, $sg__input_dir)}</span>${_el_resume($scope3_id, "b", $sg__input_dir)}<span${_attr_class("_iL")}>${_text_resume($scope3_id, "e", name, $sg__input_dir)}</span>`);
|
|
14510
14516
|
_if(() => {
|
|
14511
14517
|
if (input.newKeys.has(file.key)) {
|
|
14512
14518
|
const $scope6_id = _scope_id();
|
|
14513
|
-
_html(`<span${_attr_class(["_A", "
|
|
14519
|
+
_html(`<span${_attr_class(["_A", "_iM"])} title="Changed since your last visit"></span>`);
|
|
14514
14520
|
_serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
|
|
14515
14521
|
return 0;
|
|
14516
14522
|
}
|
|
@@ -14518,7 +14524,7 @@ var $content = (input) => {
|
|
|
14518
14524
|
_if(() => {
|
|
14519
14525
|
if (input.commentKeys.has(file.key)) {
|
|
14520
14526
|
const $scope7_id = _scope_id();
|
|
14521
|
-
_html(`<span${_attr_class("
|
|
14527
|
+
_html(`<span${_attr_class("_iN")}>`);
|
|
14522
14528
|
icon_comment_default({ size: 12 });
|
|
14523
14529
|
_html("</span>");
|
|
14524
14530
|
_serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
|
|
@@ -14576,7 +14582,7 @@ var diff_tree_default = _template("l", (input) => {
|
|
|
14576
14582
|
scope: input.scope ?? null,
|
|
14577
14583
|
file: key
|
|
14578
14584
|
}), "l0", $scope0_id);
|
|
14579
|
-
_html(`<aside${_attr_class(["
|
|
14585
|
+
_html(`<aside${_attr_class(["_iz", { ["_iy"]: input.open === false }])}><div${_attr_class("_iA")}>`);
|
|
14580
14586
|
_set_serialize_reason(2);
|
|
14581
14587
|
const $childScope = _peek_scope_id();
|
|
14582
14588
|
file_filter_default({
|
|
@@ -14585,18 +14591,18 @@ var diff_tree_default = _template("l", (input) => {
|
|
|
14585
14591
|
filter = _new_filter;
|
|
14586
14592
|
}, "l1", $scope0_id)
|
|
14587
14593
|
});
|
|
14588
|
-
_html(`</div><div${_attr_class("
|
|
14594
|
+
_html(`</div><div${_attr_class("_iB")}>`);
|
|
14589
14595
|
_if(() => {
|
|
14590
14596
|
if (!input.sections.length && filter) {
|
|
14591
14597
|
const $scope3_id = _scope_id();
|
|
14592
|
-
_html(`<p${_attr_class("
|
|
14598
|
+
_html(`<p${_attr_class("_iC")}>No files match.</p>`);
|
|
14593
14599
|
writeScope($scope3_id, {});
|
|
14594
14600
|
return 0;
|
|
14595
14601
|
}
|
|
14596
14602
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
14597
14603
|
_for_of(input.sections, (section) => {
|
|
14598
14604
|
const $scope1_id = _scope_id();
|
|
14599
|
-
_html(`<div${_attr_class("
|
|
14605
|
+
_html(`<div${_attr_class("_iD")}><button type=button${_attr_class(["_iE", { ["_iy"]: collapsedRepos.has(section.id) }])}><span${_attr_class("_iO")}>`);
|
|
14600
14606
|
_if(() => {
|
|
14601
14607
|
if (collapsedRepos.has(section.id)) {
|
|
14602
14608
|
const $scope4_id = _scope_id();
|
|
@@ -14610,12 +14616,12 @@ var diff_tree_default = _template("l", (input) => {
|
|
|
14610
14616
|
return 1;
|
|
14611
14617
|
}
|
|
14612
14618
|
}, $scope1_id, "c", 1, 1, 1, "</span>", 1);
|
|
14613
|
-
_html(`<span${_attr_class("
|
|
14619
|
+
_html(`<span${_attr_class("_iI")}>${_text_resume($scope1_id, "e", section.label, $sg__input_sections)}</span></button>${_el_resume($scope1_id, "b")}`);
|
|
14614
14620
|
_if(() => {
|
|
14615
14621
|
if (!collapsedRepos.has(section.id) || openedRepos.has(section.id)) {
|
|
14616
14622
|
const $scope2_id = _scope_id();
|
|
14617
14623
|
const root = treeDirs(section.files);
|
|
14618
|
-
_html(`<div${_attr_class("
|
|
14624
|
+
_html(`<div${_attr_class("_iF")}${_attr("hidden", collapsedRepos.has(section.id))}>`);
|
|
14619
14625
|
_set_serialize_reason(1);
|
|
14620
14626
|
const $childScope2 = _peek_scope_id();
|
|
14621
14627
|
diff_tree_dir_default({
|
|
@@ -14685,7 +14691,7 @@ var diff_tree_default = _template("l", (input) => {
|
|
|
14685
14691
|
});
|
|
14686
14692
|
_resume_branch($scope0_id);
|
|
14687
14693
|
});
|
|
14688
|
-
var sheetDir = "
|
|
14694
|
+
var sheetDir = "_io _bb";
|
|
14689
14695
|
//#endregion
|
|
14690
14696
|
//#region src/tags/diff-file-sheet.marko
|
|
14691
14697
|
var diff_file_sheet_default = _template("g", (input) => {
|
|
@@ -14741,9 +14747,9 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
14741
14747
|
_if(() => {
|
|
14742
14748
|
if (open) {
|
|
14743
14749
|
const $scope1_id = _scope_id();
|
|
14744
|
-
_html(`<div${_attr_class("
|
|
14750
|
+
_html(`<div${_attr_class("_if")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_ig")} role=dialog aria-label="Jump to file"><div${_attr_class("_ih")}><strong${_attr_class("_ie")}>Files</strong><span${_attr_class("_ii")}>${_text_resume($scope1_id, "f", input.files.length, $sg__input_files_length)}${_text_resume($scope1_id, "g", input.files.length !== total ? ` / ${total}` : "", _serialize_guard($scope0_reason, 2) * 2)}</span><button type=button${_attr_class([iconBtnLg, "_id"])} title=Close aria-label=Close>`);
|
|
14745
14751
|
icon_xmark_default({ size: 16 });
|
|
14746
|
-
_html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("
|
|
14752
|
+
_html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_iq")}>`);
|
|
14747
14753
|
_set_serialize_reason(2);
|
|
14748
14754
|
const $childScope = _peek_scope_id();
|
|
14749
14755
|
file_filter_default({
|
|
@@ -14752,13 +14758,13 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
14752
14758
|
filter = _new_filter;
|
|
14753
14759
|
}, "g1", $scope1_id)
|
|
14754
14760
|
});
|
|
14755
|
-
_html(`</div><div${_attr_class("
|
|
14761
|
+
_html(`</div><div${_attr_class("_ij")}>`);
|
|
14756
14762
|
_for_of(groups, (group) => {
|
|
14757
14763
|
const $scope2_id = _scope_id();
|
|
14758
|
-
_html(`<div${_attr_class("
|
|
14764
|
+
_html(`<div${_attr_class("_ik")}><div${_attr_class("_il")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
|
|
14759
14765
|
_for_of(group.dirs, ({ dir, files }) => {
|
|
14760
14766
|
const $scope3_id = _scope_id();
|
|
14761
|
-
_html(`<div${_attr_class("
|
|
14767
|
+
_html(`<div${_attr_class("_im")}>`);
|
|
14762
14768
|
_if(() => {
|
|
14763
14769
|
if (dir) {
|
|
14764
14770
|
const $scope5_id = _scope_id();
|
|
@@ -14769,11 +14775,11 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
14769
14775
|
}, $scope3_id, "b", $sg__input_files, $sg__input_files, $sg__input_files, 0, 1);
|
|
14770
14776
|
_for_of(files, ({ file, name }) => {
|
|
14771
14777
|
const $scope4_id = _scope_id();
|
|
14772
|
-
_html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["
|
|
14778
|
+
_html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_in", "_y"])}><span${_attr_class("_ba")}${_attr("data-status", file.status)}>${_text_resume($scope4_id, "c", file.status, $sg__input_files)}</span>${_el_resume($scope4_id, "b", $sg__input_files)}<span${_attr_class("_ip")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
|
|
14773
14779
|
_if(() => {
|
|
14774
14780
|
if (newKeys.has(file.key)) {
|
|
14775
14781
|
const $scope6_id = _scope_id();
|
|
14776
|
-
_html(`<span${_attr_class(["_A", "
|
|
14782
|
+
_html(`<span${_attr_class(["_A", "_is"])} title="Changed since your last visit"></span>`);
|
|
14777
14783
|
_serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
|
|
14778
14784
|
return 0;
|
|
14779
14785
|
}
|
|
@@ -14783,7 +14789,7 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
14783
14789
|
const $scope7_id = _scope_id();
|
|
14784
14790
|
icon_comment_default({
|
|
14785
14791
|
size: 12,
|
|
14786
|
-
class: "
|
|
14792
|
+
class: "_it"
|
|
14787
14793
|
});
|
|
14788
14794
|
_serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
|
|
14789
14795
|
return 0;
|
|
@@ -14808,7 +14814,7 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
14808
14814
|
_if(() => {
|
|
14809
14815
|
if (!input.files.length) {
|
|
14810
14816
|
const $scope8_id = _scope_id();
|
|
14811
|
-
_html(`<p${_attr_class("
|
|
14817
|
+
_html(`<p${_attr_class("_ir")}>No files match.</p>`);
|
|
14812
14818
|
$si__input_files_length && writeScope($scope8_id, {});
|
|
14813
14819
|
return 0;
|
|
14814
14820
|
}
|
|
@@ -15507,12 +15513,12 @@ var diff_view_default = _template("m", (input) => {
|
|
|
15507
15513
|
_if(() => {
|
|
15508
15514
|
if (repos && !allFiles.length) {
|
|
15509
15515
|
const $scope11_id = _scope_id();
|
|
15510
|
-
_html(`<p${_attr_class("
|
|
15516
|
+
_html(`<p${_attr_class("_b6")}>${_text_resume($scope11_id, "b", repoList.some((r) => r.unborn) ? "No commits yet." : scope === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base.")}</p>`);
|
|
15511
15517
|
writeScope($scope11_id, {});
|
|
15512
15518
|
return 0;
|
|
15513
15519
|
} else if (repos && !shownFiles.length && !findState.hit) {
|
|
15514
15520
|
const $scope8_id = _scope_id();
|
|
15515
|
-
_html(`<p${_attr_class("
|
|
15521
|
+
_html(`<p${_attr_class("_b6")}>${_text_resume($scope8_id, "b", findState.query.trim() ? "No matches in review." : onlyNew && !fileFilter ? "Nothing changed since your last visit." : `No files match "${fileFilter}".`)}</p>`);
|
|
15516
15522
|
writeScope($scope8_id, {});
|
|
15517
15523
|
return 1;
|
|
15518
15524
|
}
|
|
@@ -15879,7 +15885,7 @@ function parseInvite(text) {
|
|
|
15879
15885
|
}
|
|
15880
15886
|
//#endregion
|
|
15881
15887
|
//#region src/tags/manage-workspace.css.ts
|
|
15882
|
-
var pageMeta = "_fx
|
|
15888
|
+
var pageMeta = "_fx _cB";
|
|
15883
15889
|
var pathMeta = "_fA _y";
|
|
15884
15890
|
var skillRow = "_fG _fB";
|
|
15885
15891
|
var skillName = "_fI _fC";
|
|
@@ -15902,8 +15908,8 @@ var icon_clipboard_default = _template("Y", (input) => {
|
|
|
15902
15908
|
});
|
|
15903
15909
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
15904
15910
|
});
|
|
15905
|
-
var resultRow = "
|
|
15906
|
-
var resultBranch = "
|
|
15911
|
+
var resultRow = "_hP _I";
|
|
15912
|
+
var resultBranch = "_hR _4 _l";
|
|
15907
15913
|
//#endregion
|
|
15908
15914
|
//#region src/tags/icons/icon-branch.marko
|
|
15909
15915
|
var icon_branch_default = _template("U", (input) => {
|
|
@@ -15933,11 +15939,11 @@ var branch_pick_default = _template("d", (input) => {
|
|
|
15933
15939
|
let branchFilter = "";
|
|
15934
15940
|
let reloadTick = 0;
|
|
15935
15941
|
let refreshing = false;
|
|
15936
|
-
_html(`<div${_attr_class("
|
|
15942
|
+
_html(`<div${_attr_class("_hT")}>`);
|
|
15937
15943
|
_if(() => {
|
|
15938
15944
|
{
|
|
15939
15945
|
const $scope4_id = _scope_id();
|
|
15940
|
-
_html(`<p${_attr_class("
|
|
15946
|
+
_html(`<p${_attr_class("_b5")}><span${_attr_class("_G")}></span> Loading branches…</p>`);
|
|
15941
15947
|
writeScope($scope4_id, {});
|
|
15942
15948
|
return 0;
|
|
15943
15949
|
}
|
|
@@ -16038,21 +16044,21 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
16038
16044
|
_resume_branch($scope9_id);
|
|
16039
16045
|
}, $scope0_id) };
|
|
16040
16046
|
const hasBody = !!(pasted || results.length || filter && (!catalog || !pasted) || compact && ssoPending.length);
|
|
16041
|
-
_html(`<div${_attr_class([compact ? "
|
|
16042
|
-
["
|
|
16043
|
-
["
|
|
16047
|
+
_html(`<div${_attr_class([compact ? "_d0" : "_hH", {
|
|
16048
|
+
["_d1"]: compact && !input$2.open,
|
|
16049
|
+
["_d2"]: input$2.pinned
|
|
16044
16050
|
}])}>`);
|
|
16045
16051
|
_if(() => {
|
|
16046
16052
|
if (!compact && ssoPending.length) {
|
|
16047
16053
|
const $scope11_id = _scope_id();
|
|
16048
|
-
_html(`<div${_attr_class("
|
|
16054
|
+
_html(`<div${_attr_class("_hK")}>`);
|
|
16049
16055
|
ssoBlock.content({});
|
|
16050
16056
|
_html("</div>");
|
|
16051
16057
|
writeScope($scope11_id, {});
|
|
16052
16058
|
return 0;
|
|
16053
16059
|
}
|
|
16054
16060
|
}, $scope0_id, "b", 1, 1, 1, 0, 1);
|
|
16055
|
-
_html(`<div${!compact && input$2.action ? _attr_class("
|
|
16061
|
+
_html(`<div${!compact && input$2.action ? _attr_class("_hI") : _attr_class("_hJ")}><label${_attr_class(["_1", compact && "_d3"])}>`);
|
|
16056
16062
|
icon_search_default({
|
|
16057
16063
|
size: 14,
|
|
16058
16064
|
class: "_2"
|
|
@@ -16064,7 +16070,7 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
16064
16070
|
}, "w0", $scope0_id))}${_attr_class([
|
|
16065
16071
|
compact ? "_Z" : inputLg,
|
|
16066
16072
|
"_3",
|
|
16067
|
-
compact && "
|
|
16073
|
+
compact && "_d4"
|
|
16068
16074
|
])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input$2.disabled)}>${_el_resume($scope0_id, "f")}</label>${_el_resume($scope0_id, "d", $sg__input_compact)}`);
|
|
16069
16075
|
_if(() => {
|
|
16070
16076
|
if (!compact && input$2.action) {
|
|
@@ -16078,7 +16084,7 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
16078
16084
|
_if(() => {
|
|
16079
16085
|
if (compact) {
|
|
16080
16086
|
const $scope2_id = _scope_id();
|
|
16081
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
16087
|
+
_html(`<button${_attr_class([iconBtnRow, "_d5"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
|
|
16082
16088
|
icon_xmark_default({ size: 14 });
|
|
16083
16089
|
_html(`</button>${_el_resume($scope2_id, "a")}`);
|
|
16084
16090
|
_script($scope2_id, "w14");
|
|
@@ -16086,11 +16092,11 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
16086
16092
|
return 0;
|
|
16087
16093
|
}
|
|
16088
16094
|
}, $scope0_id, "h", _serialize_guard($scope0_reason, 0), $sg__input_compact, 1, 0, 1);
|
|
16089
|
-
_html(`<div${_attr_class([compact ? pop$1 : "
|
|
16095
|
+
_html(`<div${_attr_class([compact ? pop$1 : "_hL"])}${_attr("hidden", !hasBody || compact && !input$2.open && !input$2.pinned)}>`);
|
|
16090
16096
|
_if(() => {
|
|
16091
16097
|
if (compact && ssoPending.length) {
|
|
16092
16098
|
const $scope12_id = _scope_id();
|
|
16093
|
-
_html(`<div${_attr_class("
|
|
16099
|
+
_html(`<div${_attr_class("_hK")}>`);
|
|
16094
16100
|
ssoBlock.content({});
|
|
16095
16101
|
_html("</div>");
|
|
16096
16102
|
writeScope($scope12_id, {});
|
|
@@ -16100,16 +16106,16 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
16100
16106
|
_if(() => {
|
|
16101
16107
|
if (pasted) {
|
|
16102
16108
|
const $scope3_id = _scope_id();
|
|
16103
|
-
_html(`<ul${_attr_class("
|
|
16109
|
+
_html(`<ul${_attr_class("_hM")}><li><div${_attr_class(["_hO", "_hN"])}><button${_attr_class(resultRow)}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
|
|
16104
16110
|
icon_plus_default({
|
|
16105
16111
|
size: 12,
|
|
16106
|
-
class: "
|
|
16112
|
+
class: "_hV"
|
|
16107
16113
|
});
|
|
16108
|
-
_html(`<span${_attr_class("
|
|
16114
|
+
_html(`<span${_attr_class("_hW")}>${_text_resume($scope3_id, "f", repoLabel(pasted))}</span></button>${_el_resume($scope3_id, "c")}`);
|
|
16109
16115
|
_if(() => {
|
|
16110
16116
|
if (pastedForkable) {
|
|
16111
16117
|
const $scope10_id = _scope_id();
|
|
16112
|
-
_html(`<button${_attr_class(["
|
|
16118
|
+
_html(`<button${_attr_class(["_hS", { ["_hQ"]: pasteWillFork }])}${pasteWillFork ? " title=\"Will fork to your account; click to clone as-is instead\"" : _attr("title", `Fork ${pasted} to your account and clone the fork`)} aria-pressed=${pasteWillFork ? "true" : "false"}>`);
|
|
16113
16119
|
_if(() => {
|
|
16114
16120
|
if (pasteWillFork) {
|
|
16115
16121
|
const $scope14_id = _scope_id();
|
|
@@ -16129,7 +16135,7 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
16129
16135
|
return 0;
|
|
16130
16136
|
}
|
|
16131
16137
|
}, $scope3_id, "g", 1, 1, 1, 0, 1);
|
|
16132
|
-
_html(`<button${_attr_class([resultBranch, { ["
|
|
16138
|
+
_html(`<button${_attr_class([resultBranch, { ["_hQ"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
|
|
16133
16139
|
icon_branch_default({ size: 12 });
|
|
16134
16140
|
_html(`</button>${_el_resume($scope3_id, "h")}</div>`);
|
|
16135
16141
|
_if(() => {
|
|
@@ -16156,7 +16162,7 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
16156
16162
|
return 0;
|
|
16157
16163
|
} else if (filter && !catalog) {
|
|
16158
16164
|
const $scope13_id = _scope_id();
|
|
16159
|
-
_html(`<p${_attr_class("
|
|
16165
|
+
_html(`<p${_attr_class("_b5")}>Loading repos…</p>`);
|
|
16160
16166
|
writeScope($scope13_id, {});
|
|
16161
16167
|
return 1;
|
|
16162
16168
|
}
|
|
@@ -16164,15 +16170,15 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
16164
16170
|
_if(() => {
|
|
16165
16171
|
if (results.length) {
|
|
16166
16172
|
const $scope5_id = _scope_id();
|
|
16167
|
-
_html(`<ul${_attr_class("
|
|
16173
|
+
_html(`<ul${_attr_class("_hM")}>`);
|
|
16168
16174
|
_for_of(results, (repo, i) => {
|
|
16169
16175
|
const $scope6_id = _scope_id();
|
|
16170
|
-
_html(`<li><div${_attr_class(["
|
|
16176
|
+
_html(`<li><div${_attr_class(["_hO", { ["_hN"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
|
|
16171
16177
|
icon_plus_default({
|
|
16172
16178
|
size: 12,
|
|
16173
|
-
class: "
|
|
16179
|
+
class: "_hV"
|
|
16174
16180
|
});
|
|
16175
|
-
_html(`<span${_attr_class("
|
|
16181
|
+
_html(`<span${_attr_class("_hW")}>${_text_resume($scope6_id, "e", repoLabel(repo.nameWithOwner))}</span></button>${_el_resume($scope6_id, "b")}<button${_attr_class([resultBranch, { ["_hQ"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
|
|
16176
16182
|
icon_branch_default({ size: 12 });
|
|
16177
16183
|
_html(`</button>${_el_resume($scope6_id, "f")}</div>${_el_resume($scope6_id, "a")}`);
|
|
16178
16184
|
_if(() => {
|
|
@@ -16207,7 +16213,7 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
16207
16213
|
return 0;
|
|
16208
16214
|
} else if (filter && catalog && !pasted) {
|
|
16209
16215
|
const $scope8_id = _scope_id();
|
|
16210
|
-
_html(`<p${_attr_class("
|
|
16216
|
+
_html(`<p${_attr_class("_b5")}>No repos match "${_text_resume($scope8_id, "b", filter, 2)}". Paste a clone URL to add any repo.</p>`);
|
|
16211
16217
|
writeScope($scope8_id, {});
|
|
16212
16218
|
return 1;
|
|
16213
16219
|
}
|
|
@@ -16427,7 +16433,7 @@ var manage_workspace_default = _template("r", (input) => {
|
|
|
16427
16433
|
setTimeout(() => loadProcs(void 0), 500);
|
|
16428
16434
|
}, "r10", $scope0_id);
|
|
16429
16435
|
const titleId = _id();
|
|
16430
|
-
_html(`<div${_attr_class("
|
|
16436
|
+
_html(`<div${_attr_class("_cv")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_cw")}><div${_attr_class("_cx")}>`);
|
|
16431
16437
|
_set_serialize_reason(30);
|
|
16432
16438
|
const $childScope = _peek_scope_id();
|
|
16433
16439
|
page_head_default({
|
|
@@ -16529,12 +16535,12 @@ var manage_workspace_default = _template("r", (input) => {
|
|
|
16529
16535
|
_if(() => {
|
|
16530
16536
|
if (pendingAction && actionStep) {
|
|
16531
16537
|
const $scope10_id = _scope_id();
|
|
16532
|
-
_html(`<p${_attr_class("
|
|
16538
|
+
_html(`<p${_attr_class("_bT")}><span${_attr_class("_G")}></span>${_text_resume($scope10_id, "c", actionStep)}</p>`);
|
|
16533
16539
|
writeScope($scope10_id, {});
|
|
16534
16540
|
return 0;
|
|
16535
16541
|
}
|
|
16536
16542
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
16537
|
-
_html(`<section${_attr_class("
|
|
16543
|
+
_html(`<section${_attr_class("_bU")}><div${_attr_class("_bV")}><h2${_attr_class("_b8")}>Repos</h2><span${_attr_class(sectionCount)}>${_text_resume($scope0_id, "k", ws.repos.length)}</span><div${_attr_class("_z")}></div><button${_attr_class([iconBtnRow, "_fP"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
|
|
16538
16544
|
icon_plus_default({ size: 16 });
|
|
16539
16545
|
_html(`</button>${_el_resume($scope0_id, "m")}`);
|
|
16540
16546
|
_set_serialize_reason(26);
|
|
@@ -16568,7 +16574,7 @@ var manage_workspace_default = _template("r", (input) => {
|
|
|
16568
16574
|
_html(`</button>${_el_resume($scope0_id, "q")}</div><ul${_attr_class(list$2)}>`);
|
|
16569
16575
|
_for_of(ws.repos, (row) => {
|
|
16570
16576
|
const $scope1_id = _scope_id();
|
|
16571
|
-
_html(`<li${_attr_class(flatCardRow)}><div${_attr_class("
|
|
16577
|
+
_html(`<li${_attr_class(flatCardRow)}><div${_attr_class("_b0")}><span${_attr_class(["_b1", "_y"])}>${_text_resume($scope1_id, "d", row.worktree)}/</span><span${_attr_class("_b2")}><a${_attr_class(["_b3", "_K"])}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_text_resume($scope1_id, "g", repoLabel(row.full_name))}</a>${_el_resume($scope1_id, "f")}`);
|
|
16572
16578
|
_if(() => {
|
|
16573
16579
|
if (row.base_branch !== row.default_branch) {
|
|
16574
16580
|
const $scope20_id = _scope_id();
|
|
@@ -16589,7 +16595,7 @@ var manage_workspace_default = _template("r", (input) => {
|
|
|
16589
16595
|
} else {
|
|
16590
16596
|
const $scope9_id = _scope_id();
|
|
16591
16597
|
_html(`<button${_attr_class([
|
|
16592
|
-
"
|
|
16598
|
+
"_b4",
|
|
16593
16599
|
"_8",
|
|
16594
16600
|
"_9",
|
|
16595
16601
|
{ ["_s"]: confirmingRemove === row.full_name }
|
|
@@ -16622,13 +16628,13 @@ var manage_workspace_default = _template("r", (input) => {
|
|
|
16622
16628
|
}, "full_name", $scope0_id, "t", 1, 1, 1, 0, 1);
|
|
16623
16629
|
_for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
|
|
16624
16630
|
const $scope24_id = _scope_id();
|
|
16625
|
-
_html(`<li${_attr_class([flatCardRow, "
|
|
16631
|
+
_html(`<li${_attr_class([flatCardRow, "_bY"])}><span${_attr_class("_G")}></span><div${_attr_class("_b0")}><span${_attr_class("_b3")}>Adding ${_text_resume($scope24_id, "e", name, 2)}…</span></div></li>`);
|
|
16626
16632
|
writeScope($scope24_id, {});
|
|
16627
16633
|
}, (n) => n, $scope0_id, "u", 1, 1, 1, 0, 1);
|
|
16628
16634
|
_if(() => {
|
|
16629
16635
|
if (!ws.repos.length && !busy.size) {
|
|
16630
16636
|
const $scope25_id = _scope_id();
|
|
16631
|
-
_html(`<li${_attr_class(flatCardRow)}><span${_attr_class("
|
|
16637
|
+
_html(`<li${_attr_class(flatCardRow)}><span${_attr_class("_b3")}>No repos yet. Add one to start.</span></li>`);
|
|
16632
16638
|
writeScope($scope25_id, {});
|
|
16633
16639
|
return 0;
|
|
16634
16640
|
}
|
|
@@ -16646,7 +16652,7 @@ var manage_workspace_default = _template("r", (input) => {
|
|
|
16646
16652
|
_if(() => {
|
|
16647
16653
|
if (allSkills.length) {
|
|
16648
16654
|
const $scope2_id = _scope_id();
|
|
16649
|
-
_html(`<section${_attr_class("
|
|
16655
|
+
_html(`<section${_attr_class("_bU")}><div${_attr_class("_bV")}><h2${_attr_class("_b8")}>Skills</h2><span${_attr_class(sectionCount)}>${_text_resume($scope2_id, "e", wsSkills.length)}/${_text_resume($scope2_id, "f", allSkills.length, 2)}</span></div><ul${_attr_class(list$2)}>`);
|
|
16650
16656
|
_for_of(allSkills, ({ s, linked }) => {
|
|
16651
16657
|
const $scope3_id = _scope_id();
|
|
16652
16658
|
const isBusy = skillBusy.has(s.id);
|
|
@@ -16709,7 +16715,7 @@ var manage_workspace_default = _template("r", (input) => {
|
|
|
16709
16715
|
if (linked) {
|
|
16710
16716
|
const $scope11_id = _scope_id();
|
|
16711
16717
|
_html(`<button${_attr_class([
|
|
16712
|
-
"
|
|
16718
|
+
"_b4",
|
|
16713
16719
|
"_8",
|
|
16714
16720
|
"_9",
|
|
16715
16721
|
"_fN",
|
|
@@ -16762,7 +16768,7 @@ var manage_workspace_default = _template("r", (input) => {
|
|
|
16762
16768
|
_if(() => {
|
|
16763
16769
|
if (running.length) {
|
|
16764
16770
|
const $scope15_id = _scope_id();
|
|
16765
|
-
_html(`<section${_attr_class("
|
|
16771
|
+
_html(`<section${_attr_class("_bU")}><div${_attr_class("_bV")}><h2${_attr_class("_b8")}>Running</h2><span${_attr_class(sectionCount)}>${_text_resume($scope15_id, "e", running.length)}</span></div><ul${_attr_class(list$2)}>`);
|
|
16766
16772
|
_for_of(running, (p) => {
|
|
16767
16773
|
const $scope16_id = _scope_id();
|
|
16768
16774
|
_html(`<li${_attr_class("_fB")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", "_fC"])}>${_text_resume($scope16_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_fD"])}>${_text_resume($scope16_id, "e", p.args)}</span><span${_attr_class("_fE")}>`);
|
|
@@ -16773,7 +16779,7 @@ var manage_workspace_default = _template("r", (input) => {
|
|
|
16773
16779
|
writeScope($scope34_id, { d: port });
|
|
16774
16780
|
}, (x) => String(x), $scope16_id, "g", 1, 1, 1, 0, 1);
|
|
16775
16781
|
_html(`<span${_attr_class(["_y", "_fF"])}>${_text_resume($scope16_id, "i", p.pid)}</span><button${_attr_class([
|
|
16776
|
-
"
|
|
16782
|
+
"_b4",
|
|
16777
16783
|
"_8",
|
|
16778
16784
|
"_fO"
|
|
16779
16785
|
])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
|
|
@@ -16856,14 +16862,14 @@ var manage_workspace_default = _template("r", (input) => {
|
|
|
16856
16862
|
});
|
|
16857
16863
|
_resume_branch($scope0_id);
|
|
16858
16864
|
});
|
|
16859
|
-
var curRepos = "
|
|
16860
|
-
var curRow = "
|
|
16861
|
-
var curEmpty = "
|
|
16862
|
-
var curBase = "
|
|
16863
|
-
var archived = "
|
|
16864
|
-
var archivedHint = "
|
|
16865
|
-
var archivedList = "
|
|
16866
|
-
var archivedRow = "
|
|
16865
|
+
var curRepos = "_cQ _bZ _cD _cO";
|
|
16866
|
+
var curRow = "_eY _cR _cP";
|
|
16867
|
+
var curEmpty = "_e0 _b5";
|
|
16868
|
+
var curBase = "_e3 _Y _X";
|
|
16869
|
+
var archived = "_e8 _bU";
|
|
16870
|
+
var archivedHint = "_e9 _X";
|
|
16871
|
+
var archivedList = "_cQ _bZ _cD _cO";
|
|
16872
|
+
var archivedRow = "_e_ _cR _cP";
|
|
16867
16873
|
//#endregion
|
|
16868
16874
|
//#region src/tags/icons/icon-group.marko
|
|
16869
16875
|
var icon_group_default = _template("fb", (input) => {
|
|
@@ -16883,8 +16889,8 @@ var icon_group_default = _template("fb", (input) => {
|
|
|
16883
16889
|
});
|
|
16884
16890
|
//#endregion
|
|
16885
16891
|
//#region src/tags/join-dialog.css.ts
|
|
16886
|
-
var dlg = "
|
|
16887
|
-
var hint = "
|
|
16892
|
+
var dlg = "_hv _g9";
|
|
16893
|
+
var hint = "_hw _X";
|
|
16888
16894
|
//#endregion
|
|
16889
16895
|
//#region src/tags/join-dialog.marko
|
|
16890
16896
|
var api$3;
|
|
@@ -17013,26 +17019,26 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
17013
17019
|
content: _content("o12", () => {
|
|
17014
17020
|
_scope_reason();
|
|
17015
17021
|
const $scope1_id = _scope_id();
|
|
17016
|
-
_html(`<h2${_attr_class("
|
|
17022
|
+
_html(`<h2${_attr_class("_g_")}${_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([
|
|
17017
17023
|
"_Z",
|
|
17018
17024
|
"_y",
|
|
17019
|
-
"
|
|
17025
|
+
"_hy"
|
|
17020
17026
|
])} 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")}`);
|
|
17021
17027
|
_if(() => {
|
|
17022
17028
|
if (parsed.error) {
|
|
17023
17029
|
const $scope8_id = _scope_id();
|
|
17024
|
-
_html(`<p${_attr_class([hint, "
|
|
17030
|
+
_html(`<p${_attr_class([hint, "_hx"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
|
|
17025
17031
|
_subscribe($parsed_error__closures, writeScope($scope8_id, { Cag: 1 }));
|
|
17026
17032
|
return 0;
|
|
17027
17033
|
} else if (parsed.ok) {
|
|
17028
17034
|
const $scope3_id = _scope_id();
|
|
17029
|
-
_html(`<ul${_attr_class("
|
|
17035
|
+
_html(`<ul${_attr_class("_hz")}>`);
|
|
17030
17036
|
_for_of(parsed.ok.repos, (fullName) => {
|
|
17031
17037
|
const $scope9_id = _scope_id();
|
|
17032
|
-
_html(`<li${_attr_class("
|
|
17038
|
+
_html(`<li${_attr_class("_hA")}><span${_attr_class("_hB")}>${_text_resume($scope9_id, "c", repoLabel(fullName))}</span></li>`);
|
|
17033
17039
|
writeScope($scope9_id, {});
|
|
17034
17040
|
}, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
|
|
17035
|
-
_html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_y")}>${_text_resume($scope3_id, "d", parsed.ok.branch)}</span> in each; PRs target theirs.</p><label${_attr_class("
|
|
17041
|
+
_html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_y")}>${_text_resume($scope3_id, "d", parsed.ok.branch)}</span> in each; PRs target theirs.</p><label${_attr_class("_hC")}><span${_attr_class("_b8")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
|
|
17036
17042
|
name = _new_name;
|
|
17037
17043
|
}, "o1", $scope3_id))}${_attr_class("_Z")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
|
|
17038
17044
|
_script($scope3_id, "o8");
|
|
@@ -17069,10 +17075,10 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
17069
17075
|
_if(() => {
|
|
17070
17076
|
if (busy && steps$2.length) {
|
|
17071
17077
|
const $scope6_id = _scope_id();
|
|
17072
|
-
_html(`<ul${_attr_class("
|
|
17078
|
+
_html(`<ul${_attr_class("_hD")}>`);
|
|
17073
17079
|
_for_of(steps$2, (step$2, i) => {
|
|
17074
17080
|
const $scope7_id = _scope_id();
|
|
17075
|
-
_html(`<li${_attr_class(["
|
|
17081
|
+
_html(`<li${_attr_class(["_hF", { ["_hE"]: i === steps$2.length - 1 }])}>`);
|
|
17076
17082
|
_if(() => {
|
|
17077
17083
|
if (i === steps$2.length - 1) {
|
|
17078
17084
|
const $scope10_id = _scope_id();
|
|
@@ -17081,7 +17087,7 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
17081
17087
|
return 0;
|
|
17082
17088
|
} else {
|
|
17083
17089
|
const $scope11_id = _scope_id();
|
|
17084
|
-
_html(`<span${_attr_class("
|
|
17090
|
+
_html(`<span${_attr_class("_hG")}>`);
|
|
17085
17091
|
icon_check_default({ size: 14 });
|
|
17086
17092
|
_html("</span>");
|
|
17087
17093
|
writeScope($scope11_id, {});
|
|
@@ -17239,7 +17245,7 @@ var new_workspace_default = _template("t", (input) => {
|
|
|
17239
17245
|
}
|
|
17240
17246
|
}, "t6", $scope0_id);
|
|
17241
17247
|
const titleId = _id();
|
|
17242
|
-
_html(`<div${_attr_class("
|
|
17248
|
+
_html(`<div${_attr_class("_cv")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_cw")}><div${_attr_class("_cx")}>`);
|
|
17243
17249
|
_set_serialize_reason({
|
|
17244
17250
|
0: _serialize_guard($scope0_reason, 2),
|
|
17245
17251
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -17288,16 +17294,16 @@ var new_workspace_default = _template("t", (input) => {
|
|
|
17288
17294
|
return 0;
|
|
17289
17295
|
}
|
|
17290
17296
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
17291
|
-
_html(`<label${_attr_class("
|
|
17297
|
+
_html(`<label${_attr_class("_eU")}><span${_attr_class("_b8")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
|
|
17292
17298
|
name = _new_name;
|
|
17293
|
-
}, "t0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class("
|
|
17299
|
+
}, "t0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class("_bU")}><div${_attr_class("_eW")}><h2${_attr_class("_b8")}>Repos</h2></div><ul${_attr_class(curRepos)}>`);
|
|
17294
17300
|
_for_of(selected, (repo) => {
|
|
17295
17301
|
const $scope4_id = _scope_id();
|
|
17296
|
-
_html(`<li${_attr_class("
|
|
17302
|
+
_html(`<li${_attr_class("_eX")}><div${_attr_class(curRow)}><span${_attr_class("_e1")}>${_text_resume($scope4_id, "d", repoLabel(repo.fullName))}</span>`);
|
|
17297
17303
|
_if(() => {
|
|
17298
17304
|
if (repo.fork !== void 0) {
|
|
17299
17305
|
const $scope5_id = _scope_id();
|
|
17300
|
-
_html(`<button${_attr_class(["
|
|
17306
|
+
_html(`<button${_attr_class(["_e4", { ["_e2"]: repo.fork }])}${repo.fork ? _attr("title", `${repo.fullName} will be forked to your account; click to clone as-is instead`) : _attr("title", `Fork ${repo.fullName} to your account and clone the fork`)} aria-pressed=${repo.fork ? "true" : "false"}${_attr("disabled", busy)}>`);
|
|
17301
17307
|
_if(() => {
|
|
17302
17308
|
if (repo.fork) {
|
|
17303
17309
|
const $scope14_id = _scope_id();
|
|
@@ -17320,7 +17326,7 @@ var new_workspace_default = _template("t", (input) => {
|
|
|
17320
17326
|
_html(`<button${_attr_class([
|
|
17321
17327
|
curBase,
|
|
17322
17328
|
"_y",
|
|
17323
|
-
{ ["
|
|
17329
|
+
{ ["_e2"]: branchesFor === repo.fullName }
|
|
17324
17330
|
])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}>`);
|
|
17325
17331
|
icon_branch_default({ size: 12 });
|
|
17326
17332
|
_html(`${_text_resume($scope4_id, "h", repo.baseBranch ? `${_to_text(" ")}${_to_text(repo.baseBranch)}` : "")}</button>${_el_resume($scope4_id, "f")}<button${_attr_class([iconBtnXs, "_8"])}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>`);
|
|
@@ -17329,7 +17335,7 @@ var new_workspace_default = _template("t", (input) => {
|
|
|
17329
17335
|
_if(() => {
|
|
17330
17336
|
if (branchesFor === repo.fullName) {
|
|
17331
17337
|
const $scope10_id = _scope_id();
|
|
17332
|
-
_html(`<div${_attr_class("
|
|
17338
|
+
_html(`<div${_attr_class("_eZ")}>`);
|
|
17333
17339
|
const $childScope2 = _peek_scope_id();
|
|
17334
17340
|
branch_pick_default({
|
|
17335
17341
|
repo: repo.fullName,
|
|
@@ -17380,7 +17386,7 @@ var new_workspace_default = _template("t", (input) => {
|
|
|
17380
17386
|
action: attrTag({ content: _content("t21", () => {
|
|
17381
17387
|
_scope_reason();
|
|
17382
17388
|
const $scope2_id = _scope_id();
|
|
17383
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
17389
|
+
_html(`<button${_attr_class([iconBtnRow, "_eV"])} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
17384
17390
|
_set_serialize_reason(1);
|
|
17385
17391
|
const $childScope3 = _peek_scope_id();
|
|
17386
17392
|
icon_refresh_default({
|
|
@@ -17401,10 +17407,10 @@ var new_workspace_default = _template("t", (input) => {
|
|
|
17401
17407
|
_if(() => {
|
|
17402
17408
|
if (busy && steps.length) {
|
|
17403
17409
|
const $scope11_id = _scope_id();
|
|
17404
|
-
_html(`<ul${_attr_class("
|
|
17410
|
+
_html(`<ul${_attr_class("_e5")}>`);
|
|
17405
17411
|
_for_of(steps, (step, i) => {
|
|
17406
17412
|
const $scope12_id = _scope_id();
|
|
17407
|
-
_html(`<li${_attr_class(["
|
|
17413
|
+
_html(`<li${_attr_class(["_fa", { ["_e6"]: i === steps.length - 1 }])}>`);
|
|
17408
17414
|
_if(() => {
|
|
17409
17415
|
if (i === steps.length - 1) {
|
|
17410
17416
|
const $scope17_id = _scope_id();
|
|
@@ -17413,7 +17419,7 @@ var new_workspace_default = _template("t", (input) => {
|
|
|
17413
17419
|
return 0;
|
|
17414
17420
|
} else {
|
|
17415
17421
|
const $scope18_id = _scope_id();
|
|
17416
|
-
_html(`<span${_attr_class("
|
|
17422
|
+
_html(`<span${_attr_class("_e7")}>`);
|
|
17417
17423
|
icon_check_default({ size: 14 });
|
|
17418
17424
|
_html("</span>");
|
|
17419
17425
|
writeScope($scope18_id, {});
|
|
@@ -17427,18 +17433,18 @@ var new_workspace_default = _template("t", (input) => {
|
|
|
17427
17433
|
return 0;
|
|
17428
17434
|
}
|
|
17429
17435
|
}, $scope0_id, "q", 1, 1, 1, 0, 1);
|
|
17430
|
-
_html(`<div${_attr_class("
|
|
17436
|
+
_html(`<div${_attr_class("_eS")}><button type=button${_attr_class([
|
|
17431
17437
|
btnLg,
|
|
17432
17438
|
"_r",
|
|
17433
|
-
"
|
|
17439
|
+
"_eT"
|
|
17434
17440
|
])}${_attr("disabled", busy || !!restoring || !name.trim())}>${_text_resume($scope0_id, "t", busy ? "Creating…" : "Create workspace")}</button>${_el_resume($scope0_id, "s")}</div>`);
|
|
17435
17441
|
_if(() => {
|
|
17436
17442
|
if (archived$1.length) {
|
|
17437
17443
|
const $scope6_id = _scope_id();
|
|
17438
|
-
_html(`<section${_attr_class(archived)}><div${_attr_class("
|
|
17444
|
+
_html(`<section${_attr_class(archived)}><div${_attr_class("_eW")}><h2${_attr_class("_b8")}>Archived</h2><span${_attr_class(sectionCount)}>${_text_resume($scope6_id, "e", archived$1.length, $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore an archived workspace instead of creating a new one.</p><ul${_attr_class(archivedList)}>`);
|
|
17439
17445
|
_for_of(archived$1, (ws) => {
|
|
17440
17446
|
const $scope7_id = _scope_id();
|
|
17441
|
-
_html(`<li${_attr_class(archivedRow)}><div${_attr_class("
|
|
17447
|
+
_html(`<li${_attr_class(archivedRow)}><div${_attr_class("_b0")}><span${_attr_class("_b1")}>${_text_resume($scope7_id, "d", ws.name, $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_y"])}${_attr("title", ws.display_path || ws.path)}>${_text_resume($scope7_id, "f", ws.display_path || ws.path, $sg__input_workspaces)}</span>${_el_resume($scope7_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnSm)}${_attr("disabled", busy || !!restoring)}>`);
|
|
17442
17448
|
_if(() => {
|
|
17443
17449
|
if (restoring === ws.id) {
|
|
17444
17450
|
const $scope19_id = _scope_id();
|
|
@@ -17554,19 +17560,19 @@ var term_find_default = _template("E", (input) => {
|
|
|
17554
17560
|
const canStep = hasQuery && open;
|
|
17555
17561
|
const keybar = input.placement === "keybar";
|
|
17556
17562
|
_html(`<div${_attr_class([
|
|
17557
|
-
"
|
|
17558
|
-
keybar ? "
|
|
17559
|
-
!open && "
|
|
17560
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
17563
|
+
"_eA",
|
|
17564
|
+
keybar ? "_eC" : "_eB",
|
|
17565
|
+
!open && "_eE"
|
|
17566
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_ev", keybar ? "_eD" : "_ex"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
17561
17567
|
if (!open) return;
|
|
17562
17568
|
query = v;
|
|
17563
17569
|
live.query = v;
|
|
17564
17570
|
run(0);
|
|
17565
|
-
}, "E1", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
17571
|
+
}, "E1", $scope0_id))}${_attr_class([findInput, keybar && "_eF"])} 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 && "_eG"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
17566
17572
|
icon_arrow_up_default({ size: 14 });
|
|
17567
|
-
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
17573
|
+
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_eG"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
17568
17574
|
icon_arrow_down_default({ size: 14 });
|
|
17569
|
-
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
17575
|
+
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_eG"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
|
|
17570
17576
|
icon_xmark_default({ size: 14 });
|
|
17571
17577
|
_html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
|
|
17572
17578
|
const $return = focusInput;
|
|
@@ -18022,10 +18028,10 @@ var work_view_default = _template("J", (input) => {
|
|
|
18022
18028
|
}
|
|
18023
18029
|
}, "J14", $scope0_id);
|
|
18024
18030
|
const navShown = view === "nav" && input.navState?.view === "nav";
|
|
18025
|
-
_html(`<div${_attr_class(["
|
|
18026
|
-
["
|
|
18027
|
-
["
|
|
18028
|
-
}])}><div${_attr_class("
|
|
18031
|
+
_html(`<div${_attr_class(["_bO", {
|
|
18032
|
+
["_bM"]: navShown,
|
|
18033
|
+
["_bN"]: !input.active
|
|
18034
|
+
}])}><div${_attr_class("_bP")}>`);
|
|
18029
18035
|
_if(() => {
|
|
18030
18036
|
if (error) {
|
|
18031
18037
|
const $scope8_id = _scope_id();
|
|
@@ -18048,7 +18054,7 @@ var work_view_default = _template("J", (input) => {
|
|
|
18048
18054
|
_if(() => {
|
|
18049
18055
|
if (diffMounted && ws) {
|
|
18050
18056
|
const $scope1_id = _scope_id();
|
|
18051
|
-
_html(`<div${_attr_class("
|
|
18057
|
+
_html(`<div${_attr_class("_bQ")}${_attr_or("data-live", view === "diff", "")}${_attr("inert", view !== "diff")}>`);
|
|
18052
18058
|
_set_serialize_reason({
|
|
18053
18059
|
0: $sg__input_workspace,
|
|
18054
18060
|
1: $sg__input_workspace,
|
|
@@ -18105,7 +18111,7 @@ var work_view_default = _template("J", (input) => {
|
|
|
18105
18111
|
_if(() => {
|
|
18106
18112
|
if (manageMounted && ws) {
|
|
18107
18113
|
const $scope2_id = _scope_id();
|
|
18108
|
-
_html(`<div${_attr_class("
|
|
18114
|
+
_html(`<div${_attr_class("_bQ")}${_attr_or("data-live", view === "manage", "")}${_attr("inert", view !== "manage")}>`);
|
|
18109
18115
|
_set_serialize_reason({
|
|
18110
18116
|
0: $sg__input_workspace,
|
|
18111
18117
|
1: _serialize_guard($scope0_reason, 9)
|
|
@@ -18131,7 +18137,7 @@ var work_view_default = _template("J", (input) => {
|
|
|
18131
18137
|
_if(() => {
|
|
18132
18138
|
if (settingsMounted) {
|
|
18133
18139
|
const $scope3_id = _scope_id();
|
|
18134
|
-
_html(`<div${_attr_class("
|
|
18140
|
+
_html(`<div${_attr_class("_bQ")}${_attr_or("data-live", view === "settings", "")}${_attr("inert", view !== "settings")}>`);
|
|
18135
18141
|
_set_serialize_reason({
|
|
18136
18142
|
0: _serialize_guard($scope0_reason, 0),
|
|
18137
18143
|
1: $sg__input_workspace,
|
|
@@ -18173,7 +18179,7 @@ var work_view_default = _template("J", (input) => {
|
|
|
18173
18179
|
_if(() => {
|
|
18174
18180
|
if (newMounted) {
|
|
18175
18181
|
const $scope4_id = _scope_id();
|
|
18176
|
-
_html(`<div${_attr_class("
|
|
18182
|
+
_html(`<div${_attr_class("_bQ")}${_attr_or("data-live", view === "new", "")}${_attr("inert", view !== "new")}>`);
|
|
18177
18183
|
_set_serialize_reason({
|
|
18178
18184
|
0: 1,
|
|
18179
18185
|
1: _serialize_guard($scope0_reason, 13),
|
|
@@ -18198,13 +18204,13 @@ var work_view_default = _template("J", (input) => {
|
|
|
18198
18204
|
return 0;
|
|
18199
18205
|
}
|
|
18200
18206
|
}, $scope0_id, "g", 1, 1, 1, 0, 1);
|
|
18201
|
-
_html(`<div${_attr_class("
|
|
18207
|
+
_html(`<div${_attr_class("_bR")}${_attr("inert", view !== "term")}>`);
|
|
18202
18208
|
_if(() => {
|
|
18203
18209
|
if (ws && shownSessions) {
|
|
18204
18210
|
const $scope5_id = _scope_id();
|
|
18205
18211
|
_for_of(input.active ? shownSessions : shownSessions.filter((x) => x.id === curTab), (s) => {
|
|
18206
18212
|
const $scope6_id = _scope_id();
|
|
18207
|
-
_html(`<div${_attr_class("
|
|
18213
|
+
_html(`<div${_attr_class("_bS")}${_attr_or("data-live", s.id === curTab, "")}${_attr("inert", s.id !== curTab)}>`);
|
|
18208
18214
|
_set_serialize_reason(2);
|
|
18209
18215
|
const $childScope5 = _peek_scope_id();
|
|
18210
18216
|
term_default({
|
|
@@ -18230,7 +18236,7 @@ var work_view_default = _template("J", (input) => {
|
|
|
18230
18236
|
_if(() => {
|
|
18231
18237
|
if (!shownSessions.length && view === "term") {
|
|
18232
18238
|
const $scope7_id = _scope_id();
|
|
18233
|
-
_html(`<div${_attr_class("
|
|
18239
|
+
_html(`<div${_attr_class("_b6")}><span>No sessions in this workspace.</span><button${_attr_class(["_q", "_r"])}${_attr("disabled", spawning)}>${_text_resume($scope7_id, "c", spawning ? "Starting…" : `Start ${input.preferred || "shell"}`)}</button>${_el_resume($scope7_id, "b")}</div>`);
|
|
18234
18240
|
_script($scope7_id, "J38");
|
|
18235
18241
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
|
|
18236
18242
|
return 0;
|
|
@@ -18240,7 +18246,7 @@ var work_view_default = _template("J", (input) => {
|
|
|
18240
18246
|
return 0;
|
|
18241
18247
|
} else if (ws) {
|
|
18242
18248
|
const $scope10_id = _scope_id();
|
|
18243
|
-
_html(`<p${_attr_class("
|
|
18249
|
+
_html(`<p${_attr_class("_b6")}>Loading sessions…</p>`);
|
|
18244
18250
|
writeScope($scope10_id, {});
|
|
18245
18251
|
return 1;
|
|
18246
18252
|
}
|
|
@@ -18360,8 +18366,8 @@ _template("tb", (input) => {
|
|
|
18360
18366
|
});
|
|
18361
18367
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
18362
18368
|
});
|
|
18363
|
-
var sessOpen = "
|
|
18364
|
-
var sessRename = "
|
|
18369
|
+
var sessOpen = "_ek _I";
|
|
18370
|
+
var sessRename = "_eo _J";
|
|
18365
18371
|
//#endregion
|
|
18366
18372
|
//#region src/tags/key-bar-sessions.marko
|
|
18367
18373
|
var usageFor;
|
|
@@ -18392,7 +18398,7 @@ _template("p", (input) => {
|
|
|
18392
18398
|
popEl.style.top = `${Math.max(8, btn.top - popEl.offsetHeight - 8)}px`;
|
|
18393
18399
|
popEl.style.left = `${Math.max(8, Math.min(btn.left + btn.width / 2 - popEl.offsetWidth / 2, window.innerWidth - popEl.offsetWidth - 8))}px`;
|
|
18394
18400
|
}, "p2", $scope0_id);
|
|
18395
|
-
_html(`<button${_attr_class([kbtn, "
|
|
18401
|
+
_html(`<button${_attr_class([kbtn, "_eg"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
|
|
18396
18402
|
_set_serialize_reason({
|
|
18397
18403
|
1: $sg__input_sessions__OR__input_sessionId,
|
|
18398
18404
|
2: $sg__input_sessions__OR__input_sessionId
|
|
@@ -18406,12 +18412,12 @@ _template("p", (input) => {
|
|
|
18406
18412
|
"_A",
|
|
18407
18413
|
"_bc",
|
|
18408
18414
|
phase[sessionPhase(current$2?.state)]
|
|
18409
|
-
])}></span>${_el_resume($scope0_id, "c", $sg__input_sessions__OR__input_sessionId)}</button>${_el_resume($scope0_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(["__", "
|
|
18415
|
+
])}></span>${_el_resume($scope0_id, "c", $sg__input_sessions__OR__input_sessionId)}</button>${_el_resume($scope0_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(["__", "_eh"])}>`);
|
|
18410
18416
|
_for_of(input.sessions, (s) => {
|
|
18411
18417
|
const $scope1_id = _scope_id();
|
|
18412
18418
|
const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
|
|
18413
18419
|
const $for_content__s_id__closures = /* @__PURE__ */ new Set();
|
|
18414
|
-
_html(`<div${_attr_class(["
|
|
18420
|
+
_html(`<div${_attr_class(["_ej", { ["_ei"]: s.id === input.sessionId }])}>`);
|
|
18415
18421
|
_if(() => {
|
|
18416
18422
|
if (renamingId === s.id) {
|
|
18417
18423
|
const $scope5_id = _scope_id();
|
|
@@ -18443,7 +18449,7 @@ _template("p", (input) => {
|
|
|
18443
18449
|
agent: activeAgent(s),
|
|
18444
18450
|
size: 14
|
|
18445
18451
|
});
|
|
18446
|
-
_html(`<span${_attr_class("
|
|
18452
|
+
_html(`<span${_attr_class("_el")}><span${_attr_class("_en")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
|
|
18447
18453
|
_if(() => {
|
|
18448
18454
|
if (s.id === input.sessionId) {
|
|
18449
18455
|
const $scope7_id = _scope_id();
|
|
@@ -18455,7 +18461,7 @@ _template("p", (input) => {
|
|
|
18455
18461
|
const $childScope4 = _peek_scope_id();
|
|
18456
18462
|
usage_pcts_default({
|
|
18457
18463
|
agent: plan,
|
|
18458
|
-
class: "
|
|
18464
|
+
class: "_em"
|
|
18459
18465
|
});
|
|
18460
18466
|
writeScope($scope8_id, { a: _existing_scope($childScope4) });
|
|
18461
18467
|
return 0;
|
|
@@ -18472,7 +18478,7 @@ _template("p", (input) => {
|
|
|
18472
18478
|
_if(() => {
|
|
18473
18479
|
if (input.onRenameSession) {
|
|
18474
18480
|
const $scope6_id = _scope_id();
|
|
18475
|
-
_html(`<button${_attr_class(["
|
|
18481
|
+
_html(`<button${_attr_class(["_ep", "_eq"])} title="Rename session">`);
|
|
18476
18482
|
icon_edit_default({ size: 12 });
|
|
18477
18483
|
_html(`</button>${_el_resume($scope6_id, "a")}`);
|
|
18478
18484
|
_script($scope6_id, "p4");
|
|
@@ -18484,7 +18490,7 @@ _template("p", (input) => {
|
|
|
18484
18490
|
if (input.onCloseSession) {
|
|
18485
18491
|
const $scope3_id = _scope_id();
|
|
18486
18492
|
_html(`<button${_attr_class([
|
|
18487
|
-
"
|
|
18493
|
+
"_ep",
|
|
18488
18494
|
"_8",
|
|
18489
18495
|
{ ["_s"]: armedClose === s.id }
|
|
18490
18496
|
])} title=${armedClose === s.id ? "Close?" : "\"Close session\""}>`);
|
|
@@ -18511,7 +18517,7 @@ _template("p", (input) => {
|
|
|
18511
18517
|
k: $si__input_sessions && $for_content__s_id__closures
|
|
18512
18518
|
});
|
|
18513
18519
|
}, "id", $scope0_id, "e", 1, $sg__input_sessions, $sg__input_sessions__OR__input_agents, 0, 1);
|
|
18514
|
-
_html(`<div${_attr_class("
|
|
18520
|
+
_html(`<div${_attr_class("_er")}><span${_attr_class("_es")}>New session</span><div${_attr_class("_et")}>`);
|
|
18515
18521
|
_for_of(["shell", ...input.agents], (agent) => {
|
|
18516
18522
|
const $scope4_id = _scope_id();
|
|
18517
18523
|
_html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
|
|
@@ -21325,7 +21331,17 @@ var GET$5 = Run.GET(() => {
|
|
|
21325
21331
|
//#region __marko-run__api.workspaces.js
|
|
21326
21332
|
var postHandler$7 = normalizeHandler(Run.POST({ json: CreateWorkspace }, async (ctx) => {
|
|
21327
21333
|
const body = await readBody(ctx);
|
|
21328
|
-
|
|
21334
|
+
const t0 = Date.now();
|
|
21335
|
+
const repos = body.repos.map((r) => r.fullName).join(", ");
|
|
21336
|
+
console.log(`[work] create "${body.name}" (${repos})`);
|
|
21337
|
+
try {
|
|
21338
|
+
const ws = await withProgressOp(body.opId ?? "", () => createWorkspace(body.name, body.repos, { join: body.join }));
|
|
21339
|
+
console.log(`[work] created "${body.name}" as ${ws.id} in ${Date.now() - t0}ms`);
|
|
21340
|
+
return Response.json(ws);
|
|
21341
|
+
} catch (err) {
|
|
21342
|
+
console.warn(`[work] create "${body.name}" failed after ${Date.now() - t0}ms:`, err instanceof Error ? err.message : err);
|
|
21343
|
+
throw err;
|
|
21344
|
+
}
|
|
21329
21345
|
}), "POST");
|
|
21330
21346
|
var getHandler$5 = normalizeHandler(GET$5, "GET");
|
|
21331
21347
|
var get36_options = normalizeOptions("GET", mware11, getHandler$5);
|
|
@@ -27511,4 +27527,4 @@ server.listen(port, () => {
|
|
|
27511
27527
|
//#endregion
|
|
27512
27528
|
export {};
|
|
27513
27529
|
|
|
27514
|
-
;var __MARKO_MANIFEST__={"
|
|
27530
|
+
;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-CK1qiyoU.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CK1qiyoU.css\"",">",2,"stylesheet#/assets/app-page-C_8cFCmf.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C_8cFCmf.css\"",">"],"defer":[2,"/assets/new-DvLxb34o.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-DvLxb34o.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Uo3NXPui.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Uo3NXPui.js\"",">",2,"modulepreload#/assets/_C91MT5yy.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C91MT5yy.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-CK1qiyoU.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CK1qiyoU.css\"",">",2,"stylesheet#/assets/app-page-C_8cFCmf.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C_8cFCmf.css\"",">"],"defer":[2,"/assets/settings-DvLxb34o.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-DvLxb34o.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Uo3NXPui.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Uo3NXPui.js\"",">",2,"modulepreload#/assets/_C91MT5yy.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C91MT5yy.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-CK1qiyoU.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CK1qiyoU.css\"",">",2,"stylesheet#/assets/app-page-C_8cFCmf.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C_8cFCmf.css\"",">"],"defer":[2,"/assets/w-DvLxb34o.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-DvLxb34o.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Uo3NXPui.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Uo3NXPui.js\"",">",2,"modulepreload#/assets/_C91MT5yy.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C91MT5yy.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-CK1qiyoU.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CK1qiyoU.css\"",">",2,"stylesheet#/assets/app-page-C_8cFCmf.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C_8cFCmf.css\"",">"],"defer":[2,"/assets/w._-DvLxb34o.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-DvLxb34o.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Uo3NXPui.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Uo3NXPui.js\"",">",2,"modulepreload#/assets/_C91MT5yy.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C91MT5yy.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-CK1qiyoU.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CK1qiyoU.css\"",">",2,"stylesheet#/assets/app-page-C_8cFCmf.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C_8cFCmf.css\"",">"],"defer":[2,"/assets/w._-I2MUgpxd.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-I2MUgpxd.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Uo3NXPui.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Uo3NXPui.js\"",">",2,"modulepreload#/assets/_C91MT5yy.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C91MT5yy.js\"",">"]},"_m":{"block":[2,"stylesheet#/assets/diff-view-Bb2JIhMi.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/diff-view-Bb2JIhMi.css\"",">",2,"stylesheet#/assets/icon-arrow-down-CK1qiyoU.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-CK1qiyoU.css\"",">"],"defer":[2,"/assets/diff-view-D8GrPRg5.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/diff-view-D8GrPRg5.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">"]}};
|