@dylanpiercey/work 0.0.164 → 0.0.165
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/index.mjs +848 -842
- package/dist/public/assets/{_BVOa9uAw.js → _BUlKyuxt.js} +1 -1
- package/dist/public/assets/_BUlKyuxt.js.br +0 -0
- package/dist/public/assets/_BjOuTwMp.js +1 -0
- package/dist/public/assets/_C-Aos447.js +1 -0
- package/dist/public/assets/_C0EKsmGU.js +1 -0
- package/dist/public/assets/_CJJNsoe7.js +1 -0
- package/dist/public/assets/_CaGqY8U4.js +1 -0
- package/dist/public/assets/_CdYFSV57.js +1 -0
- package/dist/public/assets/_CiZiDcHV.js +1 -0
- package/dist/public/assets/_Cjxw67io.js +1 -0
- package/dist/public/assets/_Cl9s1Wsk.js +1 -0
- package/dist/public/assets/_ClEzzUem.js +1 -0
- package/dist/public/assets/_DG3z02w-.js +1 -0
- package/dist/public/assets/_DHoAKK9Z.js +1 -0
- package/dist/public/assets/{_B3PQ4ksk.js → _DQATIMc0.js} +7 -7
- package/dist/public/assets/_DQATIMc0.js.br +0 -0
- package/dist/public/assets/_DkqmqYrh.js +1 -0
- package/dist/public/assets/_FNz0O8Sh.js +1 -0
- package/dist/public/assets/_FwW2QpLj.js +1 -0
- package/dist/public/assets/_P3hy6f6C.js +1 -0
- package/dist/public/assets/_U1CJwjMn.js +1 -0
- package/dist/public/assets/_XTKo7hRQ.js +1 -0
- package/dist/public/assets/_eNoxkhhO.js +83 -0
- package/dist/public/assets/_eNoxkhhO.js.br +0 -0
- package/dist/public/assets/_hh-H0D1j.js +1 -0
- package/dist/public/assets/_yQ26k3g-.js +1 -0
- package/dist/public/assets/_zMthiUAN.js +1 -0
- package/dist/public/assets/app-page-D7EjmXP_.css +1 -0
- package/dist/public/assets/app-page-D7EjmXP_.css.br +0 -0
- package/dist/public/assets/{icon-arrow-down-CGVBiYSn.css → icon-arrow-down-BeSGn2E6.css} +1 -1
- package/dist/public/assets/icon-arrow-down-BeSGn2E6.css.br +0 -0
- package/dist/public/assets/new-Du7xBoU1.js +1 -0
- package/dist/public/assets/review-view-CTNpiYqc.css +1 -0
- package/dist/public/assets/review-view-CTNpiYqc.css.br +0 -0
- package/dist/public/assets/review-view-Do3J8OqE.js +2 -0
- package/dist/public/assets/settings-Du7xBoU1.js +1 -0
- package/dist/public/assets/w-Du7xBoU1.js +1 -0
- package/dist/public/assets/w._-CtIaIHF1.js +1 -0
- package/dist/public/assets/w._-Du7xBoU1.js +1 -0
- package/package.json +1 -1
- package/dist/public/assets/_B3PQ4ksk.js.br +0 -0
- package/dist/public/assets/_B9AsiTsK.js +0 -1
- package/dist/public/assets/_BFjsR6nX.js +0 -1
- package/dist/public/assets/_BI14cwnd.js +0 -1
- package/dist/public/assets/_BJkOJi4V.js +0 -1
- package/dist/public/assets/_BSh216zP.js +0 -1
- package/dist/public/assets/_BUuzCdZp.js +0 -1
- package/dist/public/assets/_BVOa9uAw.js.br +0 -0
- package/dist/public/assets/_BeDbwV8t.js +0 -1
- package/dist/public/assets/_BnqToOiR.js +0 -1
- package/dist/public/assets/_C4r6w1IH.js +0 -1
- package/dist/public/assets/_CFQvpOBF.js +0 -1
- package/dist/public/assets/_CTP_PmNe.js +0 -1
- package/dist/public/assets/_CgbAhdzb.js +0 -1
- package/dist/public/assets/_CtC3b7in.js +0 -1
- package/dist/public/assets/_Cv0p2qnH.js +0 -1
- package/dist/public/assets/_CxghlLep.js +0 -1
- package/dist/public/assets/_D7ThRXAJ.js +0 -1
- package/dist/public/assets/_DLaNvZPg.js +0 -1
- package/dist/public/assets/_DZB5QNc1.js +0 -1
- package/dist/public/assets/_DaRbfhWL.js +0 -83
- package/dist/public/assets/_DaRbfhWL.js.br +0 -0
- package/dist/public/assets/_DhdIHXk9.js +0 -1
- package/dist/public/assets/_wG4SetOf.js +0 -1
- package/dist/public/assets/_zYTXaLgN.js +0 -1
- package/dist/public/assets/app-page-CX1rqayX.css +0 -1
- package/dist/public/assets/app-page-CX1rqayX.css.br +0 -0
- package/dist/public/assets/icon-arrow-down-CGVBiYSn.css.br +0 -0
- package/dist/public/assets/new-U_sz-hwn.js +0 -1
- package/dist/public/assets/review-view-DIOsAu77.css +0 -1
- package/dist/public/assets/review-view-DIOsAu77.css.br +0 -0
- package/dist/public/assets/review-view-DWG5uFu_.js +0 -2
- package/dist/public/assets/settings-U_sz-hwn.js +0 -1
- package/dist/public/assets/w-U_sz-hwn.js +0 -1
- package/dist/public/assets/w._-CLS-8mmy.js +0 -1
- package/dist/public/assets/w._-U_sz-hwn.js +0 -1
package/dist/index.mjs
CHANGED
|
@@ -2558,11 +2558,11 @@ var repoBranches = (fullName, refresh = false) => branches(fullName, refresh);
|
|
|
2558
2558
|
async function repoParent(fullName) {
|
|
2559
2559
|
const hit = (await repoCatalog().catch(() => null))?.repos.find((r) => r.nameWithOwner === fullName);
|
|
2560
2560
|
if (hit && hit.parent !== void 0) return hit.parent;
|
|
2561
|
-
return (await repoMeta(fullName)).parent;
|
|
2561
|
+
return (await repoMeta$1(fullName)).parent;
|
|
2562
2562
|
}
|
|
2563
2563
|
/** The repo's default branch, or null when the lookup failed. */
|
|
2564
|
-
var repoDefaultBranch = async (fullName, refresh = false) => (await repoMeta(fullName, refresh)).defaultBranch;
|
|
2565
|
-
var repoMeta = swr(36e5, async (fullName) => {
|
|
2564
|
+
var repoDefaultBranch = async (fullName, refresh = false) => (await repoMeta$1(fullName, refresh)).defaultBranch;
|
|
2565
|
+
var repoMeta$1 = swr(36e5, async (fullName) => {
|
|
2566
2566
|
const { host, name } = splitRepo(fullName);
|
|
2567
2567
|
const out = await gh([
|
|
2568
2568
|
"api",
|
|
@@ -7286,19 +7286,19 @@ function applyInstance(inst) {
|
|
|
7286
7286
|
if (icon) icon.href = `/api/instance/icon${inst.accent ? `?v=${inst.accent.slice(1)}` : ""}`;
|
|
7287
7287
|
syncThemeColorMetas(theme(), inst.accent || "");
|
|
7288
7288
|
}
|
|
7289
|
-
var agentList = "
|
|
7290
|
-
var agentRow = "
|
|
7291
|
-
var toolGrid = "
|
|
7292
|
-
var toolRow = "
|
|
7293
|
-
var themeSeg = "
|
|
7294
|
-
var checkList = "
|
|
7295
|
-
var list$2 = "
|
|
7296
|
-
var flatCardRow = "
|
|
7297
|
-
var pop$1 = "
|
|
7298
|
-
var spinner = "
|
|
7299
|
-
var busy = "
|
|
7300
|
-
var pop = "
|
|
7301
|
-
var sectionCount$1 = "
|
|
7289
|
+
var agentList = "_cX _cj _cK _cV";
|
|
7290
|
+
var agentRow = "_c1 _cL";
|
|
7291
|
+
var toolGrid = "_c9 _cV";
|
|
7292
|
+
var toolRow = "_c_ _cW";
|
|
7293
|
+
var themeSeg = "_dx _be";
|
|
7294
|
+
var checkList = "_d3 _ch";
|
|
7295
|
+
var list$2 = "_cX _cj _cK _cV";
|
|
7296
|
+
var flatCardRow = "_cY _cW";
|
|
7297
|
+
var pop$1 = "_cz __";
|
|
7298
|
+
var spinner = "_cC _2 _G";
|
|
7299
|
+
var busy = "_cG _cF";
|
|
7300
|
+
var pop = "_cI __";
|
|
7301
|
+
var sectionCount$1 = "_cg _N _O";
|
|
7302
7302
|
var iconBtn$1 = "_5 _l";
|
|
7303
7303
|
//#endregion
|
|
7304
7304
|
//#region src/tags/icons/icon-refresh.marko
|
|
@@ -7339,18 +7339,18 @@ var icon_back_default = _template("R", (input) => {
|
|
|
7339
7339
|
var page_head_default = _template("r", (input) => {
|
|
7340
7340
|
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);
|
|
7341
7341
|
const $scope0_id = _scope_id();
|
|
7342
|
-
_html(`<header${_attr_class("
|
|
7342
|
+
_html(`<header${_attr_class("_ea")}>`);
|
|
7343
7343
|
_if(() => {
|
|
7344
7344
|
if (input.backHref) {
|
|
7345
7345
|
const $scope1_id = _scope_id();
|
|
7346
|
-
_html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "
|
|
7346
|
+
_html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_eH"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
7347
7347
|
icon_back_default({ size: 14 });
|
|
7348
7348
|
_html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 0))}`);
|
|
7349
7349
|
_serialize_if($scope0_reason, 2) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 0) && _scope_with_id($scope0_id) });
|
|
7350
7350
|
return 0;
|
|
7351
7351
|
} else if (input.onBack) {
|
|
7352
7352
|
const $scope2_id = _scope_id();
|
|
7353
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
7353
|
+
_html(`<button${_attr_class([iconBtnRow, "_eH"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
7354
7354
|
icon_back_default({ size: 14 });
|
|
7355
7355
|
_html(`</button>${_el_resume($scope2_id, "a")}`);
|
|
7356
7356
|
_script($scope2_id, "r0");
|
|
@@ -7358,11 +7358,11 @@ var page_head_default = _template("r", (input) => {
|
|
|
7358
7358
|
return 1;
|
|
7359
7359
|
}
|
|
7360
7360
|
}, $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);
|
|
7361
|
-
_html(`<div${_attr_class("
|
|
7361
|
+
_html(`<div${_attr_class("_ec")}><h1${_attr("id", input.titleId)}${_attr_class("_eb")}>${_text_resume($scope0_id, "e", input.title, _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
|
|
7362
7362
|
_if(() => {
|
|
7363
7363
|
if (input.meta) {
|
|
7364
7364
|
const $scope3_id = _scope_id();
|
|
7365
|
-
_html(`<p${_attr_class("
|
|
7365
|
+
_html(`<p${_attr_class("_ed")}>`);
|
|
7366
7366
|
_dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
|
|
7367
7367
|
_html("</p>");
|
|
7368
7368
|
$si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -7373,7 +7373,7 @@ var page_head_default = _template("r", (input) => {
|
|
|
7373
7373
|
_if(() => {
|
|
7374
7374
|
if (input.actions) {
|
|
7375
7375
|
const $scope4_id = _scope_id();
|
|
7376
|
-
_html(`<div${_attr_class("
|
|
7376
|
+
_html(`<div${_attr_class("_ee")}>`);
|
|
7377
7377
|
_dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
7378
7378
|
_html("</div>");
|
|
7379
7379
|
$si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -7441,7 +7441,7 @@ var icon_agent_default = _template("L", (input) => {
|
|
|
7441
7441
|
n: $badge__closures
|
|
7442
7442
|
});
|
|
7443
7443
|
});
|
|
7444
|
-
var usageNote = "
|
|
7444
|
+
var usageNote = "_hB _X";
|
|
7445
7445
|
//#endregion
|
|
7446
7446
|
//#region src/tags/icons/icon-warning.marko
|
|
7447
7447
|
var icon_warning_default = _template("tb", (input) => {
|
|
@@ -7471,11 +7471,11 @@ var usage_meters_default = _template("H", (input) => {
|
|
|
7471
7471
|
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);
|
|
7472
7472
|
const $scope0_id = _scope_id();
|
|
7473
7473
|
const agent = input.agent;
|
|
7474
|
-
_html(`<div${_attr_class(["
|
|
7474
|
+
_html(`<div${_attr_class(["_hv", { ["_hw"]: input.hideName }])}><div${_attr_class("_hx")}>`);
|
|
7475
7475
|
_if(() => {
|
|
7476
7476
|
if (!input.hideName) {
|
|
7477
7477
|
const $scope1_id = _scope_id();
|
|
7478
|
-
_html(`<strong${_attr_class("
|
|
7478
|
+
_html(`<strong${_attr_class("_hQ")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
|
|
7479
7479
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
7480
7480
|
return 0;
|
|
7481
7481
|
}
|
|
@@ -7483,7 +7483,7 @@ var usage_meters_default = _template("H", (input) => {
|
|
|
7483
7483
|
_if(() => {
|
|
7484
7484
|
if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
|
|
7485
7485
|
const $scope2_id = _scope_id();
|
|
7486
|
-
_html(`<span${_attr_class("
|
|
7486
|
+
_html(`<span${_attr_class("_hy")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
|
|
7487
7487
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
7488
7488
|
return 0;
|
|
7489
7489
|
}
|
|
@@ -7491,21 +7491,21 @@ var usage_meters_default = _template("H", (input) => {
|
|
|
7491
7491
|
_if(() => {
|
|
7492
7492
|
if (agent.stale_seconds != null) {
|
|
7493
7493
|
const $scope3_id = _scope_id();
|
|
7494
|
-
_html(`<span${_attr_class("
|
|
7494
|
+
_html(`<span${_attr_class("_hz")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
|
|
7495
7495
|
icon_warning_default({ size: 12 });
|
|
7496
7496
|
_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)}`);
|
|
7497
7497
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
7498
7498
|
return 0;
|
|
7499
7499
|
}
|
|
7500
7500
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
7501
|
-
_html(`</div><div${_attr_class(["
|
|
7501
|
+
_html(`</div><div${_attr_class(["_hA", { ["_hR"]: agent.stale_seconds != null }])}>`);
|
|
7502
7502
|
_for_of(agent.windows || [], (win) => {
|
|
7503
7503
|
const $scope4_id = _scope_id();
|
|
7504
7504
|
const pct = pctText(win.used_percent);
|
|
7505
7505
|
const label = resetLabel(win.resets_at, agent.stale_seconds != null);
|
|
7506
|
-
const fillClass = win.used_percent >= 90 ? "
|
|
7507
|
-
const pctClass = win.used_percent >= 90 ? "
|
|
7508
|
-
_html(`<div${_attr_class("
|
|
7506
|
+
const fillClass = win.used_percent >= 90 ? "_hJ" : win.used_percent >= 70 ? "_hI" : win.used_percent >= 40 ? "_hH" : "_hG";
|
|
7507
|
+
const pctClass = win.used_percent >= 90 ? "_hO" : win.used_percent >= 70 ? "_hN" : win.used_percent >= 40 ? "_hM" : "_hL";
|
|
7508
|
+
_html(`<div${_attr_class("_hC")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_hD")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_hE")}><span${_attr_class(["_hF", 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(["_hK", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_hP")}>`);
|
|
7509
7509
|
_if(() => {
|
|
7510
7510
|
if (label) {
|
|
7511
7511
|
const $scope6_id = _scope_id();
|
|
@@ -7622,14 +7622,14 @@ var sso_auth_default = _template("C", (input) => {
|
|
|
7622
7622
|
localCode = null;
|
|
7623
7623
|
}
|
|
7624
7624
|
}, "C0", $scope0_id);
|
|
7625
|
-
_html(`<div${_attr_class(["
|
|
7625
|
+
_html(`<div${_attr_class(["_hj", input.class])}>`);
|
|
7626
7626
|
_for_of(input.items, (s) => {
|
|
7627
7627
|
const $scope1_id = _scope_id();
|
|
7628
|
-
_html(`<div${_attr_class("
|
|
7628
|
+
_html(`<div${_attr_class("_hk")}><span${_attr_class("_hm")}><span${_attr_class("_hn")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_ho", "_hp"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
|
|
7629
7629
|
_if(() => {
|
|
7630
7630
|
if (!busy) {
|
|
7631
7631
|
const $scope2_id = _scope_id();
|
|
7632
|
-
_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, "
|
|
7632
|
+
_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, "_hq"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
|
|
7633
7633
|
_script($scope2_id, "C1");
|
|
7634
7634
|
writeScope($scope2_id, {});
|
|
7635
7635
|
return 0;
|
|
@@ -7644,13 +7644,13 @@ var sso_auth_default = _template("C", (input) => {
|
|
|
7644
7644
|
_if(() => {
|
|
7645
7645
|
if (localBusy && localCode) {
|
|
7646
7646
|
const $scope4_id = _scope_id();
|
|
7647
|
-
_html(`<div${_attr_class(["
|
|
7647
|
+
_html(`<div${_attr_class(["_hk", "_hr"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_hs")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_ht")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
|
|
7648
7648
|
_script($scope4_id, "C2");
|
|
7649
7649
|
writeScope($scope4_id, {});
|
|
7650
7650
|
return 0;
|
|
7651
7651
|
} else if (localBusy) {
|
|
7652
7652
|
const $scope6_id = _scope_id();
|
|
7653
|
-
_html(`<div${_attr_class(["
|
|
7653
|
+
_html(`<div${_attr_class(["_hk", "_hr"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
|
|
7654
7654
|
writeScope($scope6_id, {});
|
|
7655
7655
|
return 1;
|
|
7656
7656
|
}
|
|
@@ -7658,14 +7658,14 @@ var sso_auth_default = _template("C", (input) => {
|
|
|
7658
7658
|
_if(() => {
|
|
7659
7659
|
if (localError) {
|
|
7660
7660
|
const $scope5_id = _scope_id();
|
|
7661
|
-
_html(`<p${_attr_class(["
|
|
7661
|
+
_html(`<p${_attr_class(["_hk", "_hu"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
|
|
7662
7662
|
writeScope($scope5_id, {});
|
|
7663
7663
|
return 0;
|
|
7664
7664
|
}
|
|
7665
7665
|
}, $scope0_id, "d", 1, 1, 1, 0, 1);
|
|
7666
7666
|
_for_of(skipped, (s) => {
|
|
7667
7667
|
const $scope3_id = _scope_id();
|
|
7668
|
-
_html(`<div${_attr_class(["
|
|
7668
|
+
_html(`<div${_attr_class(["_hk", "_hl"])}><span${_attr_class("_hm")}><span${_attr_class("_hn")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_ho")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_hq"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
|
|
7669
7669
|
_script($scope3_id, "C3");
|
|
7670
7670
|
writeScope($scope3_id, {
|
|
7671
7671
|
i: s?.org,
|
|
@@ -7733,7 +7733,7 @@ var skill_chip_default = _template("B", (input) => {
|
|
|
7733
7733
|
const $input_tags__closures = /* @__PURE__ */ new Set();
|
|
7734
7734
|
const $input_actions__closures = /* @__PURE__ */ new Set();
|
|
7735
7735
|
const $input_trailing__closures = /* @__PURE__ */ new Set();
|
|
7736
|
-
_html(`<li${_attr_class("
|
|
7736
|
+
_html(`<li${_attr_class("_cE")}>`);
|
|
7737
7737
|
_if(() => {
|
|
7738
7738
|
if (input.busy != null) {
|
|
7739
7739
|
const $scope1_id = _scope_id();
|
|
@@ -7743,20 +7743,20 @@ var skill_chip_default = _template("B", (input) => {
|
|
|
7743
7743
|
} else {
|
|
7744
7744
|
const $scope2_id = _scope_id();
|
|
7745
7745
|
const popId = _id();
|
|
7746
|
-
_html(`<button${_attr_class("
|
|
7746
|
+
_html(`<button${_attr_class("_cF")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
|
|
7747
7747
|
_if(() => {
|
|
7748
7748
|
if (input.hint) {
|
|
7749
7749
|
const $scope3_id = _scope_id();
|
|
7750
|
-
_html(`<span${_attr_class("
|
|
7750
|
+
_html(`<span${_attr_class("_cH")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
|
|
7751
7751
|
$si__input_busy__OR__input_hint && _subscribe($si__input_hint && $input_hint__closures, writeScope($scope3_id, { _: _scope_with_id($scope2_id) }));
|
|
7752
7752
|
return 0;
|
|
7753
7753
|
}
|
|
7754
7754
|
}, $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);
|
|
7755
|
-
_html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["
|
|
7755
|
+
_html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["_cl", "_y"])}>${_text_resume($scope2_id, "f", input.name, $sg__input_name)}</span>`);
|
|
7756
7756
|
_if(() => {
|
|
7757
7757
|
if (input.description) {
|
|
7758
7758
|
const $scope4_id = _scope_id();
|
|
7759
|
-
_html(`<span${_attr_class("
|
|
7759
|
+
_html(`<span${_attr_class("_cn")}${_attr("title", input.description)}>${_text_resume($scope4_id, "b", input.description, $sg__input_description)}</span>${_el_resume($scope4_id, "a", $sg__input_description)}`);
|
|
7760
7760
|
$si__input_busy__OR__input_description && _subscribe($si__input_description && $input_description__closures, writeScope($scope4_id, { _: _scope_with_id($scope2_id) }));
|
|
7761
7761
|
return 0;
|
|
7762
7762
|
}
|
|
@@ -7764,12 +7764,12 @@ var skill_chip_default = _template("B", (input) => {
|
|
|
7764
7764
|
_if(() => {
|
|
7765
7765
|
if (input.sourceUrl) {
|
|
7766
7766
|
const $scope5_id = _scope_id();
|
|
7767
|
-
_html(`<a${_attr_class(["
|
|
7767
|
+
_html(`<a${_attr_class(["_cn", "_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))}`);
|
|
7768
7768
|
$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) })));
|
|
7769
7769
|
return 0;
|
|
7770
7770
|
} else if (input.source) {
|
|
7771
7771
|
const $scope6_id = _scope_id();
|
|
7772
|
-
_html(`<span${_attr_class("
|
|
7772
|
+
_html(`<span${_attr_class("_cn")}>${_text_resume($scope6_id, "b", input.source, $sg__input_source)}</span>`);
|
|
7773
7773
|
$si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal && _subscribe($si__input_source && $input_source__closures, writeScope($scope6_id, {
|
|
7774
7774
|
_: _scope_with_id($scope2_id),
|
|
7775
7775
|
Cs: $si__input_source && 1
|
|
@@ -7777,7 +7777,7 @@ var skill_chip_default = _template("B", (input) => {
|
|
|
7777
7777
|
return 1;
|
|
7778
7778
|
} else if (input.noteLocal) {
|
|
7779
7779
|
const $scope10_id = _scope_id();
|
|
7780
|
-
_html(`<span${_attr_class(["
|
|
7780
|
+
_html(`<span${_attr_class(["_cn", "_x"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
|
|
7781
7781
|
_serialize_if($scope0_reason, 8) && writeScope($scope10_id, {});
|
|
7782
7782
|
return 2;
|
|
7783
7783
|
}
|
|
@@ -7785,7 +7785,7 @@ var skill_chip_default = _template("B", (input) => {
|
|
|
7785
7785
|
_if(() => {
|
|
7786
7786
|
if (input.tags) {
|
|
7787
7787
|
const $scope7_id = _scope_id();
|
|
7788
|
-
_html(`<span${_attr_class("
|
|
7788
|
+
_html(`<span${_attr_class("_cm")}>`);
|
|
7789
7789
|
_dynamic_tag($scope7_id, "b", input.tags, {}, 0, 0, $sg__input_tags);
|
|
7790
7790
|
_html("</span>");
|
|
7791
7791
|
$si__input_busy__OR__input_tags && _subscribe($si__input_tags && $input_tags__closures, writeScope($scope7_id, { _: _scope_with_id($scope2_id) }));
|
|
@@ -7795,7 +7795,7 @@ var skill_chip_default = _template("B", (input) => {
|
|
|
7795
7795
|
_if(() => {
|
|
7796
7796
|
if (input.actions) {
|
|
7797
7797
|
const $scope8_id = _scope_id();
|
|
7798
|
-
_html(`<div${_attr_class("
|
|
7798
|
+
_html(`<div${_attr_class("_cJ")}>`);
|
|
7799
7799
|
_dynamic_tag($scope8_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
7800
7800
|
_html("</div>");
|
|
7801
7801
|
$si__input_busy__OR__input_actions && _subscribe($si__input_actions && $input_actions__closures, writeScope($scope8_id, { _: _scope_with_id($scope2_id) }));
|
|
@@ -7906,7 +7906,7 @@ var icon_moon_default = _template("jb", (input) => {
|
|
|
7906
7906
|
});
|
|
7907
7907
|
//#endregion
|
|
7908
7908
|
//#region src/tags/prompt-dialog.css.ts
|
|
7909
|
-
var promptDlg = "
|
|
7909
|
+
var promptDlg = "_hi _he";
|
|
7910
7910
|
//#endregion
|
|
7911
7911
|
//#region src/tags/dialog-close.marko
|
|
7912
7912
|
var dialog_close_default = _template("f", (input) => {
|
|
@@ -7930,7 +7930,7 @@ var modal_view_default = _template("o", (input) => {
|
|
|
7930
7930
|
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;
|
|
7931
7931
|
const dismissable = input.dismissable !== false;
|
|
7932
7932
|
let open = input.open;
|
|
7933
|
-
_html(`<dialog${_attr_class(["
|
|
7933
|
+
_html(`<dialog${_attr_class(["_hd", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
|
|
7934
7934
|
...htmlInput,
|
|
7935
7935
|
open: null
|
|
7936
7936
|
}, {
|
|
@@ -7940,20 +7940,20 @@ var modal_view_default = _template("o", (input) => {
|
|
|
7940
7940
|
closedby: 1,
|
|
7941
7941
|
"on-cancel": 1,
|
|
7942
7942
|
"on-close": 1
|
|
7943
|
-
}, "a", $scope0_id, "dialog")}><div${_attr_class("
|
|
7943
|
+
}, "a", $scope0_id, "dialog")}><div${_attr_class("_hg")}>`);
|
|
7944
7944
|
_dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
|
|
7945
7945
|
_html("</div>");
|
|
7946
7946
|
_if(() => {
|
|
7947
7947
|
if (footer) {
|
|
7948
7948
|
const $scope1_id = _scope_id();
|
|
7949
|
-
_html(`<form method=dialog${_attr_class("
|
|
7949
|
+
_html(`<form method=dialog${_attr_class("_hh")}>`);
|
|
7950
7950
|
_dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
|
|
7951
7951
|
_html("</form>");
|
|
7952
7952
|
$si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
|
|
7953
7953
|
return 0;
|
|
7954
7954
|
} else if (input.openChange) {
|
|
7955
7955
|
const $scope2_id = _scope_id();
|
|
7956
|
-
_html(`<form method=dialog${_attr_class("
|
|
7956
|
+
_html(`<form method=dialog${_attr_class("_hh")}>`);
|
|
7957
7957
|
dialog_close_default({
|
|
7958
7958
|
class: ["_q", "_r"],
|
|
7959
7959
|
content: _content("o0", () => {
|
|
@@ -8037,7 +8037,7 @@ var prompt_dialog_default = _template("s", (input) => {
|
|
|
8037
8037
|
content: _content("s7", () => {
|
|
8038
8038
|
_scope_reason();
|
|
8039
8039
|
const $scope2_id = _scope_id();
|
|
8040
|
-
_html(`<h2${_attr_class("
|
|
8040
|
+
_html(`<h2${_attr_class("_hf")}${_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) => {
|
|
8041
8041
|
value = _new_value;
|
|
8042
8042
|
}, "s0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
|
|
8043
8043
|
_script($scope2_id, "s5");
|
|
@@ -8559,7 +8559,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8559
8559
|
const githubId = _id();
|
|
8560
8560
|
const backupId = _id();
|
|
8561
8561
|
const machineId = _id();
|
|
8562
|
-
_html(`<div${_attr_class("
|
|
8562
|
+
_html(`<div${_attr_class("_d7")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_d8")}><div${_attr_class("_d9")}>`);
|
|
8563
8563
|
_set_serialize_reason({
|
|
8564
8564
|
0: _serialize_guard($scope0_reason, 4),
|
|
8565
8565
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -8591,6 +8591,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8591
8591
|
_resume_branch($scope12_id);
|
|
8592
8592
|
}, $scope0_id) })
|
|
8593
8593
|
});
|
|
8594
|
+
_html(`<div${_attr_class("_d_")}>`);
|
|
8594
8595
|
_if(() => {
|
|
8595
8596
|
if (setup && !setup.ready) {
|
|
8596
8597
|
const $scope4_id = _scope_id();
|
|
@@ -8609,7 +8610,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8609
8610
|
writeScope($scope4_id, {});
|
|
8610
8611
|
return 0;
|
|
8611
8612
|
}
|
|
8612
|
-
}, $scope0_id, "
|
|
8613
|
+
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
8613
8614
|
_if(() => {
|
|
8614
8615
|
if (error) {
|
|
8615
8616
|
const $scope10_id = _scope_id();
|
|
@@ -8629,20 +8630,20 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8629
8630
|
writeScope($scope10_id, {});
|
|
8630
8631
|
return 0;
|
|
8631
8632
|
}
|
|
8632
|
-
}, $scope0_id, "
|
|
8633
|
+
}, $scope0_id, "g", 1, 1, 1, 0, 1);
|
|
8633
8634
|
_if(() => {
|
|
8634
8635
|
if (selfUpdatePending || selfUpdating) {
|
|
8635
8636
|
const $scope45_id = _scope_id();
|
|
8636
|
-
_html(`<div${_attr_class("
|
|
8637
|
+
_html(`<div${_attr_class("_dB")} role=status><div${_attr_class("_dC")}>`);
|
|
8637
8638
|
_if(() => {
|
|
8638
8639
|
if (selfUpdating) {
|
|
8639
8640
|
const $scope80_id = _scope_id();
|
|
8640
|
-
_html(`<span${_attr_class("
|
|
8641
|
+
_html(`<span${_attr_class("_dD")}><span${_attr_class("_G")}></span> Updating work…</span><span${_attr_class("_dE")}>The app restarts and reloads when it is done.</span>`);
|
|
8641
8642
|
writeScope($scope80_id, {});
|
|
8642
8643
|
return 0;
|
|
8643
8644
|
} else {
|
|
8644
8645
|
const $scope46_id = _scope_id();
|
|
8645
|
-
_html(`<span${_attr_class("
|
|
8646
|
+
_html(`<span${_attr_class("_dD")}>Update available</span><span${_attr_class("_dE")}>v${_text_resume($scope46_id, "c", self.version, 2)} → v${_text_resume($scope46_id, "d", self.latest, 2)}</span>`);
|
|
8646
8647
|
_subscribe($self_version__closures, _subscribe($self_latest__closures, writeScope($scope46_id, {})));
|
|
8647
8648
|
return 1;
|
|
8648
8649
|
}
|
|
@@ -8652,7 +8653,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8652
8653
|
const $scope47_id = _scope_id();
|
|
8653
8654
|
_html(`<button${_attr_class(["_q", "_r"])}${_attr("title", `Update work to v${self.latest} and restart`)}>Update and restart</button>${_el_resume($scope47_id, "a")}`);
|
|
8654
8655
|
_script($scope47_id, "x47");
|
|
8655
|
-
_subscribe($self_latest__closures, writeScope($scope47_id, {
|
|
8656
|
+
_subscribe($self_latest__closures, writeScope($scope47_id, { Chl: 1 }));
|
|
8656
8657
|
return 0;
|
|
8657
8658
|
}
|
|
8658
8659
|
}, $scope45_id, "c", 1, 1, 1, 0, 1);
|
|
@@ -8660,17 +8661,17 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8660
8661
|
writeScope($scope45_id, {});
|
|
8661
8662
|
return 0;
|
|
8662
8663
|
}
|
|
8663
|
-
}, $scope0_id, "
|
|
8664
|
-
_html(`<section${_attr_class("
|
|
8665
|
-
_attr_select_value($scope0_id, "
|
|
8664
|
+
}, $scope0_id, "h", 1, 1, 1, 0, 1);
|
|
8665
|
+
_html(`<section${_attr_class("_ce")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_cf")}><h2${_attr("id", agentsId)}${_attr_class("_cs")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_c2")}><span${_attr_class("_X")}>Default</span><span${_attr_class("_o")}>`);
|
|
8666
|
+
_attr_select_value($scope0_id, "p", input$3.preferred, _resume(function(v) {
|
|
8666
8667
|
setPreferred(v);
|
|
8667
8668
|
}, "x2", $scope0_id), () => {
|
|
8668
|
-
_html(`<select${_attr_class(["_p", "
|
|
8669
|
+
_html(`<select${_attr_class(["_p", "_c3"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
|
|
8669
8670
|
_for_of(input$3.agents.filter((a) => a !== "shell"), (id) => {
|
|
8670
8671
|
const $scope81_id = _scope_id();
|
|
8671
8672
|
_html(`<option${_attr_option_value(id)}>${_text_resume($scope81_id, "b", agentLabel(id), $sg__input_agents)}</option>${_el_resume($scope81_id, "a", $sg__input_agents)}`);
|
|
8672
8673
|
_serialize_if($scope0_reason, 5) && writeScope($scope81_id, {});
|
|
8673
|
-
}, (a) => a, $scope0_id, "
|
|
8674
|
+
}, (a) => a, $scope0_id, "p", $sg__input_agents, 1, 1, "</select>", 1);
|
|
8674
8675
|
});
|
|
8675
8676
|
_html(`</span></label></div><ul${_attr_class(agentList)}>`);
|
|
8676
8677
|
_for_of(families, (a) => {
|
|
@@ -8679,14 +8680,14 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8679
8680
|
const rows = lone ? [] : a.instances;
|
|
8680
8681
|
const loneAccounts = lone ? accountsFor(lone.id) : [];
|
|
8681
8682
|
const extraAccounts = a.installed ? strayAccountsFor(a) : [];
|
|
8682
|
-
_html(`<li${_attr_class(agentRow)}><div${_attr_class(["
|
|
8683
|
+
_html(`<li${_attr_class(agentRow)}><div${_attr_class(["_c4", { ["_c6"]: lone && !lone.enabled }])}>`);
|
|
8683
8684
|
_set_serialize_reason(12);
|
|
8684
8685
|
const $childScope3 = _peek_scope_id();
|
|
8685
8686
|
icon_agent_default({
|
|
8686
8687
|
agent: a.id,
|
|
8687
8688
|
size: 18
|
|
8688
8689
|
});
|
|
8689
|
-
_html(`<div${_attr_class("
|
|
8690
|
+
_html(`<div${_attr_class("_ck")}><span${_attr_class("_cm")}><span${_attr_class("_cl")}>${_text_resume($scope1_id, "g", a.label)}</span>`);
|
|
8690
8691
|
_if(() => {
|
|
8691
8692
|
if (lone && input$3.preferred === lone.id) {
|
|
8692
8693
|
const $scope82_id = _scope_id();
|
|
@@ -8699,12 +8700,12 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8699
8700
|
_if(() => {
|
|
8700
8701
|
if (active.has(a.id)) {
|
|
8701
8702
|
const $scope13_id = _scope_id();
|
|
8702
|
-
_html(`<span${_attr_class("
|
|
8703
|
+
_html(`<span${_attr_class("_cZ")}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", active.get(a.id) || "Starting…")}</span>`);
|
|
8703
8704
|
_subscribe($active__closures, writeScope($scope13_id, {}));
|
|
8704
8705
|
return 0;
|
|
8705
8706
|
} else if (!a.installed) {
|
|
8706
8707
|
const $scope83_id = _scope_id();
|
|
8707
|
-
_html(`<span${_attr_class("
|
|
8708
|
+
_html(`<span${_attr_class("_cn")}>Not installed</span>`);
|
|
8708
8709
|
writeScope($scope83_id, {});
|
|
8709
8710
|
return 1;
|
|
8710
8711
|
}
|
|
@@ -8732,15 +8733,15 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8732
8733
|
_if(() => {
|
|
8733
8734
|
if (rows.length || loneAccounts.length || extraAccounts.length) {
|
|
8734
8735
|
const $scope2_id = _scope_id();
|
|
8735
|
-
_html(`<ul${_attr_class(["
|
|
8736
|
+
_html(`<ul${_attr_class(["_c8", { ["_c6"]: lone && !lone.enabled }])}>`);
|
|
8736
8737
|
_for_of(rows, (inst) => {
|
|
8737
8738
|
const $scope3_id = _scope_id();
|
|
8738
8739
|
const accounts = accountsFor(inst.id);
|
|
8739
|
-
_html(`<li${_attr_class(["
|
|
8740
|
+
_html(`<li${_attr_class(["_c5", { ["_c6"]: !inst.enabled }])}><div${_attr_class("_c4")}>`);
|
|
8740
8741
|
_set_serialize_reason(12);
|
|
8741
8742
|
const $childScope4 = _peek_scope_id();
|
|
8742
8743
|
icon_agent_default({ agent: inst.id });
|
|
8743
|
-
_html(`<span${_attr_class(["
|
|
8744
|
+
_html(`<span${_attr_class(["_c7", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
|
|
8744
8745
|
_if(() => {
|
|
8745
8746
|
if (input$3.preferred === inst.id) {
|
|
8746
8747
|
const $scope84_id = _scope_id();
|
|
@@ -8808,7 +8809,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8808
8809
|
a7: extraAccounts,
|
|
8809
8810
|
c: _existing_scope($childScope3)
|
|
8810
8811
|
});
|
|
8811
|
-
}, "id", $scope0_id, "
|
|
8812
|
+
}, "id", $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
8812
8813
|
_for_of(otherUsage, (u) => {
|
|
8813
8814
|
const $scope88_id = _scope_id();
|
|
8814
8815
|
_html(`<li${_attr_class(agentRow)}>`);
|
|
@@ -8817,41 +8818,41 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8817
8818
|
usage_meters_default({ agent: u });
|
|
8818
8819
|
_html("</li>");
|
|
8819
8820
|
writeScope($scope88_id, { b: _existing_scope($childScope8) });
|
|
8820
|
-
}, (u) => `${u.agent}-${u.account || ""}`, $scope0_id, "
|
|
8821
|
+
}, (u) => `${u.agent}-${u.account || ""}`, $scope0_id, "s", 1, 1, 1, 0, 1);
|
|
8821
8822
|
_html("</ul>");
|
|
8822
8823
|
_if(() => {
|
|
8823
8824
|
if (!usage && families.length) {
|
|
8824
8825
|
const $scope89_id = _scope_id();
|
|
8825
|
-
_html(`<p${_attr_class("
|
|
8826
|
+
_html(`<p${_attr_class("_cp")}><span${_attr_class("_G")}></span> Loading usage…</p>`);
|
|
8826
8827
|
writeScope($scope89_id, {});
|
|
8827
8828
|
return 0;
|
|
8828
8829
|
} else if (usage?.error) {
|
|
8829
8830
|
const $scope9_id = _scope_id();
|
|
8830
|
-
_html(`<p${_attr_class("
|
|
8831
|
+
_html(`<p${_attr_class("_cp")}>${_text_resume($scope9_id, "b", usage.error)}</p>`);
|
|
8831
8832
|
writeScope($scope9_id, {});
|
|
8832
8833
|
return 1;
|
|
8833
8834
|
}
|
|
8834
|
-
}, $scope0_id, "
|
|
8835
|
-
_html(`</section><section${_attr_class("
|
|
8835
|
+
}, $scope0_id, "t", 1, 1, 1, 0, 1);
|
|
8836
|
+
_html(`</section></div><div${_attr_class("_d_")}><section${_attr_class("_ce")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_cf")}><h2${_attr("id", githubId)}${_attr_class("_cs")}>GitHub</h2>`);
|
|
8836
8837
|
_if(() => {
|
|
8837
8838
|
if (setup && !addingHost) {
|
|
8838
8839
|
const $scope43_id = _scope_id();
|
|
8839
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
8840
|
+
_html(`<button${_attr_class([iconBtnRow, "_dg"])} title="Add Enterprise host" aria-label="Add Enterprise host">`);
|
|
8840
8841
|
icon_plus_default({ size: 16 });
|
|
8841
8842
|
_html(`</button>${_el_resume($scope43_id, "a")}`);
|
|
8842
8843
|
_script($scope43_id, "x51");
|
|
8843
8844
|
writeScope($scope43_id, {});
|
|
8844
8845
|
return 0;
|
|
8845
8846
|
}
|
|
8846
|
-
}, $scope0_id, "
|
|
8847
|
+
}, $scope0_id, "y", 1, 1, 1, 0, 1);
|
|
8847
8848
|
_if(() => {
|
|
8848
8849
|
if (setup) {
|
|
8849
8850
|
const $scope42_id = _scope_id();
|
|
8850
8851
|
_html(`<form${_attr_class([
|
|
8851
|
-
"
|
|
8852
|
-
"
|
|
8853
|
-
{ ["
|
|
8854
|
-
])}><label${_attr_class(["_1", "
|
|
8852
|
+
"_ct",
|
|
8853
|
+
"_dg",
|
|
8854
|
+
{ ["_cu"]: !addingHost }
|
|
8855
|
+
])}><label${_attr_class(["_1", "_cw"])}>`);
|
|
8855
8856
|
icon_github_default({
|
|
8856
8857
|
size: 14,
|
|
8857
8858
|
class: "_2"
|
|
@@ -8861,32 +8862,32 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8861
8862
|
}, "x3", $scope42_id))}${_attr_class([
|
|
8862
8863
|
"_Z",
|
|
8863
8864
|
"_3",
|
|
8864
|
-
"
|
|
8865
|
+
"_cx"
|
|
8865
8866
|
])} type=text placeholder=github.example.com aria-label="GitHub Enterprise host" autocomplete=off spellcheck=false>${_el_resume($scope42_id, "d")}</label><button${_attr_class([
|
|
8866
8867
|
btnSm,
|
|
8867
8868
|
"_r",
|
|
8868
|
-
"
|
|
8869
|
-
])} type=submit${_attr("hidden", !addingHost)}${_attr("disabled", !hostInput.trim() || hostBusy)}>${_text_resume($scope42_id, "f", hostBusy ? "Adding…" : "Add")}</button>${_el_resume($scope42_id, "e")}<button${_attr_class([iconBtnRow, "
|
|
8869
|
+
"_df"
|
|
8870
|
+
])} type=submit${_attr("hidden", !addingHost)}${_attr("disabled", !hostInput.trim() || hostBusy)}>${_text_resume($scope42_id, "f", hostBusy ? "Adding…" : "Add")}</button>${_el_resume($scope42_id, "e")}<button${_attr_class([iconBtnRow, "_cy"])} type=button${_attr("hidden", !addingHost)} title=Cancel aria-label=Cancel${_attr("disabled", hostBusy)}>`);
|
|
8870
8871
|
icon_xmark_default({ size: 14 });
|
|
8871
8872
|
_html(`</button>${_el_resume($scope42_id, "g")}</form>${_el_resume($scope42_id, "a")}`);
|
|
8872
8873
|
_script($scope42_id, "x52");
|
|
8873
8874
|
writeScope($scope42_id, {});
|
|
8874
8875
|
return 0;
|
|
8875
8876
|
}
|
|
8876
|
-
}, $scope0_id, "
|
|
8877
|
-
_html(`</div><div${_attr_class(["
|
|
8877
|
+
}, $scope0_id, "z", 1, 1, 1, 0, 1);
|
|
8878
|
+
_html(`</div><div${_attr_class(["_cj", "_cK"])}>`);
|
|
8878
8879
|
_for_of(setup?.github || [], (h) => {
|
|
8879
8880
|
const $scope7_id = _scope_id();
|
|
8880
8881
|
const $for_content3__h_host__closures = /* @__PURE__ */ new Set();
|
|
8881
8882
|
const hostSso$1 = (h.sso || []).filter((s) => !ignoredSso.has(s.org));
|
|
8882
8883
|
const skippedSso = (h.sso || []).filter((s) => ignoredSso.has(s.org));
|
|
8883
8884
|
const busy = active.has(h.host);
|
|
8884
|
-
_html(`<div${_attr_class(["
|
|
8885
|
+
_html(`<div${_attr_class(["_cL", "_dh"])}><div${_attr_class("_di")}>`);
|
|
8885
8886
|
icon_github_default({
|
|
8886
8887
|
size: 18,
|
|
8887
|
-
class: "
|
|
8888
|
+
class: "_dj"
|
|
8888
8889
|
});
|
|
8889
|
-
_html(`<div${_attr_class("
|
|
8890
|
+
_html(`<div${_attr_class("_ck")}><span${_attr_class("_cm")}><span${_attr_class("_cl")}>${_text_resume($scope7_id, "g", h.host)}</span>`);
|
|
8890
8891
|
_if(() => {
|
|
8891
8892
|
if (h.isEnterprise) {
|
|
8892
8893
|
const $scope92_id = _scope_id();
|
|
@@ -8899,25 +8900,25 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8899
8900
|
_if(() => {
|
|
8900
8901
|
if (busy) {
|
|
8901
8902
|
const $scope14_id = _scope_id();
|
|
8902
|
-
_html(`<span${_attr_class(["
|
|
8903
|
-
_subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope14_id, {
|
|
8903
|
+
_html(`<span${_attr_class(["_cn", "_dk"])}><span${_attr_class("_G")}></span>${_text_resume($scope14_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
|
|
8904
|
+
_subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope14_id, { Ch5: 1 })));
|
|
8904
8905
|
return 0;
|
|
8905
8906
|
} else if (h.authed) {
|
|
8906
8907
|
const $scope90_id = _scope_id();
|
|
8907
|
-
_html(`<span${_attr_class(["
|
|
8908
|
+
_html(`<span${_attr_class(["_cn", "_dk"])}>`);
|
|
8908
8909
|
icon_check_default({
|
|
8909
8910
|
size: 12,
|
|
8910
|
-
class: "
|
|
8911
|
+
class: "_dl"
|
|
8911
8912
|
});
|
|
8912
|
-
_html(` Signed in as <strong${_attr_class("
|
|
8913
|
+
_html(` Signed in as <strong${_attr_class("_dn")}>${_text_resume($scope90_id, "d", h.user || "?")}</strong></span>`);
|
|
8913
8914
|
writeScope($scope90_id, {});
|
|
8914
8915
|
return 1;
|
|
8915
8916
|
} else if (h.error) {
|
|
8916
8917
|
const $scope91_id = _scope_id();
|
|
8917
8918
|
_html(`<span${_attr_class([
|
|
8918
|
-
"
|
|
8919
|
-
"
|
|
8920
|
-
"
|
|
8919
|
+
"_cn",
|
|
8920
|
+
"_dk",
|
|
8921
|
+
"_dm"
|
|
8921
8922
|
])}>`);
|
|
8922
8923
|
icon_warning_default({ size: 12 });
|
|
8923
8924
|
_html(`${_text_resume($scope91_id, "c", h.error)}</span>`);
|
|
@@ -8925,7 +8926,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8925
8926
|
return 2;
|
|
8926
8927
|
} else {
|
|
8927
8928
|
const $scope93_id = _scope_id();
|
|
8928
|
-
_html(`<span${_attr_class(["
|
|
8929
|
+
_html(`<span${_attr_class(["_cn", "_dk"])}>Not signed in</span>`);
|
|
8929
8930
|
writeScope($scope93_id, {});
|
|
8930
8931
|
return 3;
|
|
8931
8932
|
}
|
|
@@ -8956,7 +8957,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8956
8957
|
if (h.isEnterprise) {
|
|
8957
8958
|
const $scope34_id = _scope_id();
|
|
8958
8959
|
_html(`<button${_attr_class([
|
|
8959
|
-
"
|
|
8960
|
+
"_co",
|
|
8960
8961
|
"_8",
|
|
8961
8962
|
"_9",
|
|
8962
8963
|
{ ["_s"]: confirmingRemove === h.host }
|
|
@@ -8976,7 +8977,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8976
8977
|
}, $scope34_id, "a", 1, 1, 1, "</button>");
|
|
8977
8978
|
_script($scope34_id, "x55");
|
|
8978
8979
|
_subscribe($for_content3__h_host__closures, _subscribe($confirmingRemove__closures, writeScope($scope34_id, {
|
|
8979
|
-
|
|
8980
|
+
Ch8: 1,
|
|
8980
8981
|
Ca4: 1
|
|
8981
8982
|
})));
|
|
8982
8983
|
return 0;
|
|
@@ -8990,8 +8991,8 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8990
8991
|
_if(() => {
|
|
8991
8992
|
if (busy && authCodes.has(h.host)) {
|
|
8992
8993
|
const $scope31_id = _scope_id();
|
|
8993
|
-
_html(`<div${_attr_class("
|
|
8994
|
-
_subscribe($authCodes__closures, writeScope($scope31_id, {
|
|
8994
|
+
_html(`<div${_attr_class("_do")}><span${_attr_class("_dp")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_dr")}>${_text_resume($scope31_id, "d", h.host)}/login/device</a>${_el_resume($scope31_id, "c")}</span><code${_attr_class("_dq")}>${_text_resume($scope31_id, "f", authCodes.get(h.host))}</code></div>`);
|
|
8995
|
+
_subscribe($authCodes__closures, writeScope($scope31_id, { Ch7: 1 }));
|
|
8995
8996
|
return 0;
|
|
8996
8997
|
}
|
|
8997
8998
|
}, $scope7_id, "k", 1, 1, 1, 0, 1);
|
|
@@ -9002,7 +9003,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9002
9003
|
_set_serialize_reason(30);
|
|
9003
9004
|
const $childScope9 = _peek_scope_id();
|
|
9004
9005
|
sso_auth_default({
|
|
9005
|
-
class: ["
|
|
9006
|
+
class: ["_cL", "_ds"],
|
|
9006
9007
|
items: hostSso$1,
|
|
9007
9008
|
skipped: skippedSso,
|
|
9008
9009
|
busy,
|
|
@@ -9032,32 +9033,32 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9032
9033
|
a1: busy,
|
|
9033
9034
|
a4: $for_content3__h_host__closures
|
|
9034
9035
|
});
|
|
9035
|
-
}, "host", $scope0_id, "
|
|
9036
|
+
}, "host", $scope0_id, "a0", 1, 1, 1, "</div>");
|
|
9036
9037
|
_if(() => {
|
|
9037
9038
|
if (setup && !setup.github.length) {
|
|
9038
9039
|
const $scope96_id = _scope_id();
|
|
9039
|
-
_html(`<p${_attr_class("
|
|
9040
|
+
_html(`<p${_attr_class("_cp")}>Install the GitHub CLI below to sign in.</p>`);
|
|
9040
9041
|
writeScope($scope96_id, {});
|
|
9041
9042
|
return 0;
|
|
9042
9043
|
}
|
|
9043
|
-
}, $scope0_id, "
|
|
9044
|
-
_html(`</section><section${_attr_class("
|
|
9044
|
+
}, $scope0_id, "a1", 1, 1, 1, 0, 1);
|
|
9045
|
+
_html(`</section><section${_attr_class("_ce")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_cf")}><h2${_attr("id", machineId)}${_attr_class("_cs")}>Machine</h2></div><div${_attr_class(["_cj", "_cK"])}><div${_attr_class(["_cL", "_cM"])}><div${_attr_class(["_cN", { ["_cO"]: skillsOpen }])}><button${_attr_class("_cP")} aria-expanded=true>`);
|
|
9045
9046
|
_set_serialize_reason(1);
|
|
9046
9047
|
const $childScope10 = _peek_scope_id();
|
|
9047
9048
|
icon_chevron_right_default({
|
|
9048
9049
|
size: 12,
|
|
9049
|
-
class: ["
|
|
9050
|
+
class: ["_cT", { ["_cU"]: skillsOpen }]
|
|
9050
9051
|
});
|
|
9051
|
-
_html(`<span${_attr_class("
|
|
9052
|
+
_html(`<span${_attr_class("_cQ")}>Skills</span>`);
|
|
9052
9053
|
_if(() => {
|
|
9053
9054
|
if (skills?.global.length) {
|
|
9054
9055
|
const $scope52_id = _scope_id();
|
|
9055
|
-
_html(`<span${_attr_class("
|
|
9056
|
+
_html(`<span${_attr_class("_cR")}>${_text_resume($scope52_id, "b", skills.global.length)} installed</span>`);
|
|
9056
9057
|
writeScope($scope52_id, {});
|
|
9057
9058
|
return 0;
|
|
9058
9059
|
}
|
|
9059
|
-
}, $scope0_id, "
|
|
9060
|
-
_html(`</button>${_el_resume($scope0_id, "
|
|
9060
|
+
}, $scope0_id, "ab", 1, 1, 1, 0, 1);
|
|
9061
|
+
_html(`</button>${_el_resume($scope0_id, "a8")}`);
|
|
9061
9062
|
_if(() => {
|
|
9062
9063
|
if (skills?.available && skills.agents.length && true) {
|
|
9063
9064
|
const $scope56_id = _scope_id();
|
|
@@ -9068,11 +9069,11 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9068
9069
|
writeScope($scope56_id, {});
|
|
9069
9070
|
return 0;
|
|
9070
9071
|
}
|
|
9071
|
-
}, $scope0_id, "
|
|
9072
|
+
}, $scope0_id, "ac", 1, 1, 1, 0, 1);
|
|
9072
9073
|
_if(() => {
|
|
9073
9074
|
if (skills?.available && skills.agents.length) {
|
|
9074
9075
|
const $scope15_id = _scope_id();
|
|
9075
|
-
_html(`<div${_attr_class(["
|
|
9076
|
+
_html(`<div${_attr_class(["_ct", { ["_cu"]: true }])}><label${_attr_class(["_1", "_cw"])}>`);
|
|
9076
9077
|
_if(() => {
|
|
9077
9078
|
if (skillSearching) {
|
|
9078
9079
|
const $scope97_id = _scope_id();
|
|
@@ -9092,14 +9093,14 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9092
9093
|
_html(`<input${_attr_input_value($scope15_id, "d", skillQuery, searchSkills)}${_attr_class([
|
|
9093
9094
|
"_Z",
|
|
9094
9095
|
"_3",
|
|
9095
|
-
"
|
|
9096
|
-
])} type=text placeholder="Search skills, or paste owner/repo…" aria-label="Search for a skill" autocomplete=off spellcheck=false>${_el_resume($scope15_id, "d")}</label><button${_attr_class([iconBtnRow, "
|
|
9096
|
+
"_cx"
|
|
9097
|
+
])} type=text placeholder="Search skills, or paste owner/repo…" aria-label="Search for a skill" autocomplete=off spellcheck=false>${_el_resume($scope15_id, "d")}</label><button${_attr_class([iconBtnRow, "_cy"])} type=button${_attr("hidden", true)} title="Close search" aria-label="Close search">`);
|
|
9097
9098
|
icon_xmark_default({ size: 14 });
|
|
9098
|
-
_html(`</button>${_el_resume($scope15_id, "e")}<ul${_attr_class([pop$1, "
|
|
9099
|
+
_html(`</button>${_el_resume($scope15_id, "e")}<ul${_attr_class([pop$1, "_cA"])}${_attr("hidden", true)}>`);
|
|
9099
9100
|
_if(() => {
|
|
9100
9101
|
if (skillSearching && !skillHits?.length && !looksLikeSource(skillQuery)) {
|
|
9101
9102
|
const $scope99_id = _scope_id();
|
|
9102
|
-
_html(`<li${_attr_class("
|
|
9103
|
+
_html(`<li${_attr_class("_cB")}>Searching skills.sh…</li>`);
|
|
9103
9104
|
writeScope($scope99_id, {});
|
|
9104
9105
|
return 0;
|
|
9105
9106
|
}
|
|
@@ -9107,19 +9108,19 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9107
9108
|
_if(() => {
|
|
9108
9109
|
if (looksLikeSource(skillQuery)) {
|
|
9109
9110
|
const $scope16_id = _scope_id();
|
|
9110
|
-
_html(`<li${_attr_class(toolRow)}><div${_attr_class("
|
|
9111
|
+
_html(`<li${_attr_class(toolRow)}><div${_attr_class("_ck")}><span${_attr_class(["_db", "_y"])}>${_text_resume($scope16_id, "d", skillQuery.trim())}</span>`);
|
|
9111
9112
|
_if(() => {
|
|
9112
9113
|
if (active.has(skillQuery.trim())) {
|
|
9113
9114
|
const $scope17_id = _scope_id();
|
|
9114
|
-
_html(`<span${_attr_class("
|
|
9115
|
+
_html(`<span${_attr_class("_cZ")}><span${_attr_class("_G")}></span>${_text_resume($scope17_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
|
|
9115
9116
|
_subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope17_id, {
|
|
9116
|
-
|
|
9117
|
-
|
|
9117
|
+
Ch5: 3,
|
|
9118
|
+
Chu: 1
|
|
9118
9119
|
})));
|
|
9119
9120
|
return 0;
|
|
9120
9121
|
} else {
|
|
9121
9122
|
const $scope100_id = _scope_id();
|
|
9122
|
-
_html(`<span${_attr_class("
|
|
9123
|
+
_html(`<span${_attr_class("_cn")}>Add straight from this source</span>`);
|
|
9123
9124
|
writeScope($scope100_id, {});
|
|
9124
9125
|
return 1;
|
|
9125
9126
|
}
|
|
@@ -9135,23 +9136,23 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9135
9136
|
}
|
|
9136
9137
|
}, $scope16_id, "f", 1, 1, 1, 0, 1);
|
|
9137
9138
|
_html("</li>");
|
|
9138
|
-
_subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope16_id, {
|
|
9139
|
+
_subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope16_id, { Ch5: 2 })));
|
|
9139
9140
|
return 0;
|
|
9140
9141
|
}
|
|
9141
9142
|
}, $scope15_id, "i", 1, 1, 1, 0, 1);
|
|
9142
9143
|
_for_of(skillHits || [], (h) => {
|
|
9143
9144
|
const $scope18_id = _scope_id();
|
|
9144
9145
|
const $for_content4__h_installs__closures = /* @__PURE__ */ new Set();
|
|
9145
|
-
_html(`<li${_attr_class(toolRow)}><div${_attr_class("
|
|
9146
|
+
_html(`<li${_attr_class(toolRow)}><div${_attr_class("_ck")}><span${_attr_class(["_db", "_y"])}>${_text_resume($scope18_id, "d", h.name)}</span>`);
|
|
9146
9147
|
_if(() => {
|
|
9147
9148
|
if (active.has(h.skillId)) {
|
|
9148
9149
|
const $scope19_id = _scope_id();
|
|
9149
|
-
_html(`<span${_attr_class("
|
|
9150
|
-
_subscribe($active__closures, writeScope($scope19_id, {
|
|
9150
|
+
_html(`<span${_attr_class("_cZ")}><span${_attr_class("_G")}></span>${_text_resume($scope19_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
|
|
9151
|
+
_subscribe($active__closures, writeScope($scope19_id, { Ch5: 5 }));
|
|
9151
9152
|
return 0;
|
|
9152
9153
|
} else {
|
|
9153
9154
|
const $scope101_id = _scope_id();
|
|
9154
|
-
_html(`<span${_attr_class("
|
|
9155
|
+
_html(`<span${_attr_class("_cn")}${_attr("title", h.source)}>${_text_resume($scope101_id, "b", h.source)}</span>${_el_resume($scope101_id, "a")}`);
|
|
9155
9156
|
writeScope($scope101_id, {});
|
|
9156
9157
|
return 1;
|
|
9157
9158
|
}
|
|
@@ -9193,14 +9194,14 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9193
9194
|
m: h?.installs,
|
|
9194
9195
|
n: h?.installed,
|
|
9195
9196
|
q: $for_content4__h_installs__closures,
|
|
9196
|
-
|
|
9197
|
+
Ch5: 4
|
|
9197
9198
|
}));
|
|
9198
9199
|
}, "skillId", $scope15_id, "j", 1, 1, 1, 0, 1);
|
|
9199
9200
|
_if(() => {
|
|
9200
9201
|
if (skillHits && !skillHits.length && !skillSearching && !looksLikeSource(skillQuery)) {
|
|
9201
9202
|
const $scope54_id = _scope_id();
|
|
9202
|
-
_html(`<li${_attr_class("
|
|
9203
|
-
_subscribe($skillQuery__closures, writeScope($scope54_id, {
|
|
9203
|
+
_html(`<li${_attr_class("_cB")}>No skills match "${_text_resume($scope54_id, "b", skillQuery, 2)}".</li>`);
|
|
9204
|
+
_subscribe($skillQuery__closures, writeScope($scope54_id, { Chu: 2 }));
|
|
9204
9205
|
return 0;
|
|
9205
9206
|
}
|
|
9206
9207
|
}, $scope15_id, "k", 1, 1, 1, 0, 1);
|
|
@@ -9209,27 +9210,27 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9209
9210
|
writeScope($scope15_id, {});
|
|
9210
9211
|
return 0;
|
|
9211
9212
|
}
|
|
9212
|
-
}, $scope0_id, "
|
|
9213
|
-
_html(`</div>${_el_resume($scope0_id, "
|
|
9213
|
+
}, $scope0_id, "ad", 1, 1, 1, 0, 1);
|
|
9214
|
+
_html(`</div>${_el_resume($scope0_id, "a7")}`);
|
|
9214
9215
|
_if(() => {
|
|
9215
9216
|
{
|
|
9216
9217
|
const $scope20_id = _scope_id();
|
|
9217
|
-
_html(`<div${_attr_class("
|
|
9218
|
+
_html(`<div${_attr_class("_cS")}>`);
|
|
9218
9219
|
_if(() => {
|
|
9219
9220
|
if (skills && !skills.agents.length) {
|
|
9220
9221
|
const $scope104_id = _scope_id();
|
|
9221
|
-
_html(`<p${_attr_class("
|
|
9222
|
+
_html(`<p${_attr_class("_cp")}>No agent CLIs are installed, so a skill would have nowhere to go. Install one from Agents above.</p>`);
|
|
9222
9223
|
writeScope($scope104_id, {});
|
|
9223
9224
|
return 0;
|
|
9224
9225
|
} else if (skills && !skills.available) {
|
|
9225
9226
|
const $scope21_id = _scope_id();
|
|
9226
|
-
_html(`<p${_attr_class("
|
|
9227
|
+
_html(`<p${_attr_class("_cp")}>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($scope21_id, "c", active.has("skills") ? "Installing…" : "Install it")}</button>${_el_resume($scope21_id, "b")}</p>`);
|
|
9227
9228
|
_script($scope21_id, "x60");
|
|
9228
|
-
_subscribe($active__closures, writeScope($scope21_id, {
|
|
9229
|
+
_subscribe($active__closures, writeScope($scope21_id, { Ch5: 6 }));
|
|
9229
9230
|
return 1;
|
|
9230
9231
|
}
|
|
9231
9232
|
}, $scope20_id, "b", 1, 1, 1, 0, 1);
|
|
9232
|
-
_html(`<ul${_attr_class("
|
|
9233
|
+
_html(`<ul${_attr_class("_cD")}>`);
|
|
9233
9234
|
_for_of(skills?.global || [], (s) => {
|
|
9234
9235
|
const $scope22_id = _scope_id();
|
|
9235
9236
|
const $for_content5__s_agents__closures = /* @__PURE__ */ new Set();
|
|
@@ -9299,13 +9300,13 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9299
9300
|
n: $for_content5__s_name__closures,
|
|
9300
9301
|
o: $for_content5__s_id__closures,
|
|
9301
9302
|
a: _existing_scope($childScope11),
|
|
9302
|
-
|
|
9303
|
+
Ch5: 7
|
|
9303
9304
|
}))));
|
|
9304
9305
|
}, "id", $scope20_id, "c", 1, 1, 1, "</ul>", 1);
|
|
9305
9306
|
_if(() => {
|
|
9306
9307
|
if (skills && !skills.global.length && skills.available && skills.agents.length) {
|
|
9307
9308
|
const $scope109_id = _scope_id();
|
|
9308
|
-
_html(`<p${_attr_class("
|
|
9309
|
+
_html(`<p${_attr_class("_cp")}>No skills installed. Search below, or paste an owner/repo.</p>`);
|
|
9309
9310
|
writeScope($scope109_id, {});
|
|
9310
9311
|
return 0;
|
|
9311
9312
|
}
|
|
@@ -9314,15 +9315,15 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9314
9315
|
writeScope($scope20_id, {});
|
|
9315
9316
|
return 0;
|
|
9316
9317
|
}
|
|
9317
|
-
}, $scope0_id, "
|
|
9318
|
-
_html(`</div><div${_attr_class(["
|
|
9318
|
+
}, $scope0_id, "ae", 1, 1, 1, 0, 1);
|
|
9319
|
+
_html(`</div><div${_attr_class(["_cL", "_cM"])}><div${_attr_class(["_cN", { ["_cO"]: machineOpen }])}><button${_attr_class("_cP")} aria-expanded=${machineOpen ? "true" : "false"}>`);
|
|
9319
9320
|
_set_serialize_reason(1);
|
|
9320
9321
|
const $childScope12 = _peek_scope_id();
|
|
9321
9322
|
icon_chevron_right_default({
|
|
9322
9323
|
size: 12,
|
|
9323
|
-
class: ["
|
|
9324
|
+
class: ["_cT", { ["_cU"]: machineOpen }]
|
|
9324
9325
|
});
|
|
9325
|
-
_html(`<span${_attr_class("
|
|
9326
|
+
_html(`<span${_attr_class("_cQ")}>Tools</span><span${_attr_class("_cR")}>${_text_resume($scope0_id, "al", tools.filter((t) => t.installed).length)} installed ${_text_resume($scope0_id, "am", missingCount ? `${_to_text(" · ")}${_to_text(missingCount)} missing` : "", 2)}${_text_resume($scope0_id, "an", outdatedIds.length ? `${_to_text(" · ")}${_to_text(outdatedIds.length)} outdated` : "", 2)}</span></button>${_el_resume($scope0_id, "ah")}`);
|
|
9326
9327
|
_if(() => {
|
|
9327
9328
|
if (outdatedIds.length > 1) {
|
|
9328
9329
|
const $scope23_id = _scope_id();
|
|
@@ -9331,7 +9332,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9331
9332
|
writeScope($scope23_id, {});
|
|
9332
9333
|
return 0;
|
|
9333
9334
|
}
|
|
9334
|
-
}, $scope0_id, "
|
|
9335
|
+
}, $scope0_id, "ao", 1, 1, 1, 0, 1);
|
|
9335
9336
|
_if(() => {
|
|
9336
9337
|
if (missingInstallable.length > 1) {
|
|
9337
9338
|
const $scope24_id = _scope_id();
|
|
@@ -9340,7 +9341,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9340
9341
|
writeScope($scope24_id, {});
|
|
9341
9342
|
return 0;
|
|
9342
9343
|
}
|
|
9343
|
-
}, $scope0_id, "
|
|
9344
|
+
}, $scope0_id, "ap", 1, 1, 1, 0, 1);
|
|
9344
9345
|
_if(() => {
|
|
9345
9346
|
if (setup && setup.mise.installed && true) {
|
|
9346
9347
|
const $scope57_id = _scope_id();
|
|
@@ -9351,11 +9352,11 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9351
9352
|
writeScope($scope57_id, {});
|
|
9352
9353
|
return 0;
|
|
9353
9354
|
}
|
|
9354
|
-
}, $scope0_id, "
|
|
9355
|
+
}, $scope0_id, "aq", 1, 1, 1, 0, 1);
|
|
9355
9356
|
_if(() => {
|
|
9356
9357
|
if (setup && setup.mise.installed) {
|
|
9357
9358
|
const $scope25_id = _scope_id();
|
|
9358
|
-
_html(`<div${_attr_class(["
|
|
9359
|
+
_html(`<div${_attr_class(["_ct", { ["_cu"]: true }])}><label${_attr_class(["_1", "_cw"])}>`);
|
|
9359
9360
|
_if(() => {
|
|
9360
9361
|
if (searching) {
|
|
9361
9362
|
const $scope110_id = _scope_id();
|
|
@@ -9375,14 +9376,14 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9375
9376
|
_html(`<input${_attr_input_value($scope25_id, "d", query, search)}${_attr_class([
|
|
9376
9377
|
"_Z",
|
|
9377
9378
|
"_3",
|
|
9378
|
-
"
|
|
9379
|
-
])} type=text placeholder="Search the mise registry…" aria-label="Search the mise registry" autocomplete=off>${_el_resume($scope25_id, "d")}</label><button${_attr_class([iconBtnRow, "
|
|
9379
|
+
"_cx"
|
|
9380
|
+
])} type=text placeholder="Search the mise registry…" aria-label="Search the mise registry" autocomplete=off>${_el_resume($scope25_id, "d")}</label><button${_attr_class([iconBtnRow, "_cy"])} type=button${_attr("hidden", true)} title="Close search" aria-label="Close search">`);
|
|
9380
9381
|
icon_xmark_default({ size: 14 });
|
|
9381
|
-
_html(`</button>${_el_resume($scope25_id, "e")}<ul${_attr_class([pop$1, "
|
|
9382
|
+
_html(`</button>${_el_resume($scope25_id, "e")}<ul${_attr_class([pop$1, "_cA"])}${_attr("hidden", true)}>`);
|
|
9382
9383
|
_if(() => {
|
|
9383
9384
|
if (searching && !hits?.length) {
|
|
9384
9385
|
const $scope112_id = _scope_id();
|
|
9385
|
-
_html(`<li${_attr_class("
|
|
9386
|
+
_html(`<li${_attr_class("_cB")}>Searching the mise registry…</li>`);
|
|
9386
9387
|
writeScope($scope112_id, {});
|
|
9387
9388
|
return 0;
|
|
9388
9389
|
}
|
|
@@ -9390,23 +9391,23 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9390
9391
|
_if(() => {
|
|
9391
9392
|
if (hits && !hits.length && !searching) {
|
|
9392
9393
|
const $scope44_id = _scope_id();
|
|
9393
|
-
_html(`<li${_attr_class("
|
|
9394
|
+
_html(`<li${_attr_class("_cB")}>No tools match "${_text_resume($scope44_id, "b", query, 2)}".</li>`);
|
|
9394
9395
|
_subscribe($query__closures, writeScope($scope44_id, {}));
|
|
9395
9396
|
return 0;
|
|
9396
9397
|
}
|
|
9397
9398
|
}, $scope25_id, "i", 1, 1, 1, 0, 1);
|
|
9398
9399
|
_for_of(hits || [], (h) => {
|
|
9399
9400
|
const $scope26_id = _scope_id();
|
|
9400
|
-
_html(`<li${_attr_class(toolRow)}><div${_attr_class("
|
|
9401
|
+
_html(`<li${_attr_class(toolRow)}><div${_attr_class("_ck")}><span${_attr_class(["_db", "_y"])}>${_text_resume($scope26_id, "d", h.name)}</span>`);
|
|
9401
9402
|
_if(() => {
|
|
9402
9403
|
if (active.has(h.name)) {
|
|
9403
9404
|
const $scope27_id = _scope_id();
|
|
9404
|
-
_html(`<span${_attr_class("
|
|
9405
|
-
_subscribe($active__closures, writeScope($scope27_id, {
|
|
9405
|
+
_html(`<span${_attr_class("_cZ")}><span${_attr_class("_G")}></span>${_text_resume($scope27_id, "c", active.get(h.name) || "Starting…")}</span>`);
|
|
9406
|
+
_subscribe($active__closures, writeScope($scope27_id, { Ch5: 9 }));
|
|
9406
9407
|
return 0;
|
|
9407
9408
|
} else if (h.description) {
|
|
9408
9409
|
const $scope113_id = _scope_id();
|
|
9409
|
-
_html(`<span${_attr_class("
|
|
9410
|
+
_html(`<span${_attr_class("_cn")}${_attr("title", h.description)}>${_text_resume($scope113_id, "b", h.description)}</span>${_el_resume($scope113_id, "a")}`);
|
|
9410
9411
|
writeScope($scope113_id, {});
|
|
9411
9412
|
return 1;
|
|
9412
9413
|
}
|
|
@@ -9438,7 +9439,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9438
9439
|
i: h?.name,
|
|
9439
9440
|
k: h?.description,
|
|
9440
9441
|
m: h?.installed,
|
|
9441
|
-
|
|
9442
|
+
Ch5: 8
|
|
9442
9443
|
}));
|
|
9443
9444
|
}, "name", $scope25_id, "j", 1, 1, 1, 0, 1);
|
|
9444
9445
|
_html(`</ul>${_el_resume($scope25_id, "g")}</div>${_el_resume($scope25_id, "a")}`);
|
|
@@ -9446,18 +9447,18 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9446
9447
|
writeScope($scope25_id, {});
|
|
9447
9448
|
return 0;
|
|
9448
9449
|
}
|
|
9449
|
-
}, $scope0_id, "
|
|
9450
|
-
_html(`</div>${_el_resume($scope0_id, "
|
|
9450
|
+
}, $scope0_id, "ar", 1, 1, 1, 0, 1);
|
|
9451
|
+
_html(`</div>${_el_resume($scope0_id, "ag")}`);
|
|
9451
9452
|
_if(() => {
|
|
9452
9453
|
if (machineOpen) {
|
|
9453
9454
|
const $scope6_id = _scope_id();
|
|
9454
|
-
_html(`<div${_attr_class("
|
|
9455
|
+
_html(`<div${_attr_class("_cS")}>`);
|
|
9455
9456
|
_if(() => {
|
|
9456
9457
|
if (setup && !setup.mise.installed) {
|
|
9457
9458
|
const $scope28_id = _scope_id();
|
|
9458
|
-
_html(`<p${_attr_class("
|
|
9459
|
+
_html(`<p${_attr_class("_cp")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${_text_resume($scope28_id, "c", active.has("mise") ? "Installing…" : "Install mise")}</button>${_el_resume($scope28_id, "b")}</p>`);
|
|
9459
9460
|
_script($scope28_id, "x71");
|
|
9460
|
-
_subscribe($active__closures, writeScope($scope28_id, {
|
|
9461
|
+
_subscribe($active__closures, writeScope($scope28_id, { Ch5: 10 }));
|
|
9461
9462
|
return 0;
|
|
9462
9463
|
}
|
|
9463
9464
|
}, $scope6_id, "b", 1, 1, 1, 0, 1);
|
|
@@ -9465,11 +9466,11 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9465
9466
|
_if(() => {
|
|
9466
9467
|
if (self) {
|
|
9467
9468
|
const $scope48_id = _scope_id();
|
|
9468
|
-
_html(`<li${_attr_class(toolRow)}><span${_attr_class(["
|
|
9469
|
+
_html(`<li${_attr_class(toolRow)}><span${_attr_class(["_db", "_y"])}>work</span>`);
|
|
9469
9470
|
_if(() => {
|
|
9470
9471
|
if (selfUpdating) {
|
|
9471
9472
|
const $scope115_id = _scope_id();
|
|
9472
|
-
_html(`<span${_attr_class("
|
|
9473
|
+
_html(`<span${_attr_class("_cZ")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
|
|
9473
9474
|
writeScope($scope115_id, {});
|
|
9474
9475
|
return 0;
|
|
9475
9476
|
} else {
|
|
@@ -9483,11 +9484,11 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9483
9484
|
return 0;
|
|
9484
9485
|
} else if (self.latest && self.latest !== self.version) {
|
|
9485
9486
|
const $scope50_id = _scope_id();
|
|
9486
|
-
_html(`<button${_attr_class([btnSm, "
|
|
9487
|
+
_html(`<button${_attr_class([btnSm, "_de"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
|
|
9487
9488
|
icon_arrow_up_default({ size: 12 });
|
|
9488
9489
|
_html(` ${_text_resume($scope50_id, "c", self.latest, 2)}</button>${_el_resume($scope50_id, "a")}`);
|
|
9489
9490
|
_script($scope50_id, "x72");
|
|
9490
|
-
_subscribe($self_latest__closures, writeScope($scope50_id, {
|
|
9491
|
+
_subscribe($self_latest__closures, writeScope($scope50_id, { Chl: 3 }));
|
|
9491
9492
|
return 1;
|
|
9492
9493
|
} else if (self.latest) {
|
|
9493
9494
|
const $scope117_id = _scope_id();
|
|
@@ -9497,8 +9498,8 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9497
9498
|
}
|
|
9498
9499
|
}, $scope49_id, "c", 1, 1, 1, 0, 1);
|
|
9499
9500
|
_subscribe($self_version__closures, _subscribe($self_latest__closures, _subscribe($self_install__closures, writeScope($scope49_id, {
|
|
9500
|
-
|
|
9501
|
-
|
|
9501
|
+
Chl: 2,
|
|
9502
|
+
Chm: 1
|
|
9502
9503
|
}))));
|
|
9503
9504
|
return 1;
|
|
9504
9505
|
}
|
|
@@ -9527,23 +9528,23 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9527
9528
|
const $for_content7__t_label__closures = /* @__PURE__ */ new Set();
|
|
9528
9529
|
const $for_content7__t_newest__closures = /* @__PURE__ */ new Set();
|
|
9529
9530
|
const $for_content7__t_id__closures = /* @__PURE__ */ new Set();
|
|
9530
|
-
_html(`<li${_attr_class([toolRow, { ["
|
|
9531
|
+
_html(`<li${_attr_class([toolRow, { ["_da"]: !t.installed }])}><span${_attr_class(["_db", "_y"])}>${_text_resume($scope29_id, "c", t.label)}</span>`);
|
|
9531
9532
|
_if(() => {
|
|
9532
9533
|
if (active.has(t.id)) {
|
|
9533
9534
|
const $scope30_id = _scope_id();
|
|
9534
|
-
_html(`<span${_attr_class("
|
|
9535
|
-
_subscribe($active__closures, writeScope($scope30_id, {
|
|
9535
|
+
_html(`<span${_attr_class("_cZ")}><span${_attr_class("_G")}></span>${_text_resume($scope30_id, "c", active.get(t.id) || "Starting…")}</span>`);
|
|
9536
|
+
_subscribe($active__closures, writeScope($scope30_id, { Ch5: 12 }));
|
|
9536
9537
|
return 0;
|
|
9537
9538
|
} else if (t.installed) {
|
|
9538
9539
|
const $scope40_id = _scope_id();
|
|
9539
9540
|
_if(() => {
|
|
9540
9541
|
if (t.version) {
|
|
9541
9542
|
const $scope41_id = _scope_id();
|
|
9542
|
-
_html(`<button${_attr_class(["
|
|
9543
|
+
_html(`<button${_attr_class(["_dd", "_y"])}${_attr("title", `${t.path || t.label}${aliasPin(t) ? `, pinned to ${t.pin}` : ""}. Pin a version`)}>v${_text_resume($scope41_id, "b", t.version, 2)}`);
|
|
9543
9544
|
_if(() => {
|
|
9544
9545
|
if (aliasPin(t)) {
|
|
9545
9546
|
const $scope119_id = _scope_id();
|
|
9546
|
-
_html(`<span${_attr_class("
|
|
9547
|
+
_html(`<span${_attr_class("_dc")}>${_text_resume($scope119_id, "b", t.pin)}</span>`);
|
|
9547
9548
|
_subscribe($for_content7__t_pin__closures, writeScope($scope119_id, { Ca0: 1 }));
|
|
9548
9549
|
return 0;
|
|
9549
9550
|
}
|
|
@@ -9562,7 +9563,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9562
9563
|
_if(() => {
|
|
9563
9564
|
if (outdated(t)) {
|
|
9564
9565
|
const $scope60_id = _scope_id();
|
|
9565
|
-
_html(`<button${_attr_class([btnSm, "
|
|
9566
|
+
_html(`<button${_attr_class([btnSm, "_de"])}${_attr("title", `Update to v${t.latest}`)}>`);
|
|
9566
9567
|
icon_arrow_up_default({ size: 12 });
|
|
9567
9568
|
_html(` ${_text_resume($scope60_id, "c", t.latest, 2)}</button>${_el_resume($scope60_id, "a")}`);
|
|
9568
9569
|
_script($scope60_id, "x74");
|
|
@@ -9570,7 +9571,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9570
9571
|
return 0;
|
|
9571
9572
|
} else if (t.newest) {
|
|
9572
9573
|
const $scope61_id = _scope_id();
|
|
9573
|
-
_html(`<button${_attr_class(["
|
|
9574
|
+
_html(`<button${_attr_class(["_dd", "_y"])}${_attr("title", `v${t.newest} is out; ${t.pin} holds ${t.label} at v${t.version}. Pin v${t.newest} instead`)}>${_text_resume($scope61_id, "b", t.newest)} available</button>${_el_resume($scope61_id, "a")}`);
|
|
9574
9575
|
_script($scope61_id, "x75");
|
|
9575
9576
|
_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($scope61_id, {
|
|
9576
9577
|
Cw: 1,
|
|
@@ -9634,7 +9635,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9634
9635
|
}
|
|
9635
9636
|
}, $scope36_id, "a", 1, 1, 1, "</button>");
|
|
9636
9637
|
_script($scope36_id, "x77");
|
|
9637
|
-
_subscribe($for_content7__t_id__closures, _subscribe($for_content7__t_label__closures, _subscribe($confirmingRemove__closures, writeScope($scope36_id, {
|
|
9638
|
+
_subscribe($for_content7__t_id__closures, _subscribe($for_content7__t_label__closures, _subscribe($confirmingRemove__closures, writeScope($scope36_id, { Ch8: 2 }))));
|
|
9638
9639
|
return 1;
|
|
9639
9640
|
}
|
|
9640
9641
|
}, $scope35_id, "b", 1, 1, 1, 0, 1);
|
|
@@ -9663,14 +9664,14 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9663
9664
|
w: $for_content7__t_label__closures,
|
|
9664
9665
|
a1: $for_content7__t_newest__closures,
|
|
9665
9666
|
x: $for_content7__t_id__closures,
|
|
9666
|
-
|
|
9667
|
+
Ch5: 11
|
|
9667
9668
|
}));
|
|
9668
9669
|
}, "id", $scope6_id, "e", 1, 1, 1, 0, 1);
|
|
9669
9670
|
_html("</ul></div>");
|
|
9670
9671
|
writeScope($scope6_id, {});
|
|
9671
9672
|
return 0;
|
|
9672
9673
|
}
|
|
9673
|
-
}, $scope0_id, "
|
|
9674
|
+
}, $scope0_id, "as", 1, 1, 1, 0, 1);
|
|
9674
9675
|
const accent = input$3.instance.accent;
|
|
9675
9676
|
const themeOpts = [
|
|
9676
9677
|
{
|
|
@@ -9686,14 +9687,14 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9686
9687
|
label: "Dark"
|
|
9687
9688
|
}
|
|
9688
9689
|
];
|
|
9689
|
-
_html(`</div></div></section><section${_attr_class("
|
|
9690
|
+
_html(`</div></div></section><section${_attr_class("_ce")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_cf")}><h2${_attr("id", appearanceId)}${_attr_class("_cs")}>Appearance</h2></div><div${_attr_class(["_cj", "_dt"])}><div${_attr_class("_dF")}><img${_attr_class("_dG")}${_attr("src", `/api/instance/icon${accent ? `?v=${accent.slice(1)}` : ""}`)} alt aria-hidden=true>${_el_resume($scope0_id, "ay", $sg__input_instance_accent)}<span${_attr_class("_dH")}><span${_attr_class("_dI")}>${_text_resume($scope0_id, "b1", input$3.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_dJ")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_du")}><span${_attr_class("_dv")}>Name</span><input${_attr_input_value($scope0_id, "b5", input$3.instance.name, _resume(function(v) {
|
|
9690
9691
|
setInstance({ name: v });
|
|
9691
|
-
}, "x4", $scope0_id))}${_attr_class(["_Z", "
|
|
9692
|
+
}, "x4", $scope0_id))}${_attr_class(["_Z", "_dw"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b5")}</label><div${_attr_class("_du")}><span${_attr_class("_dv")}>Theme</span><span${_attr_class("_dy")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
|
|
9692
9693
|
_for_of(themeOpts, (opt) => {
|
|
9693
9694
|
const $scope51_id = _scope_id();
|
|
9694
9695
|
_html(`<button type=button${_attr_class([
|
|
9695
9696
|
"_bg",
|
|
9696
|
-
"
|
|
9697
|
+
"_dK",
|
|
9697
9698
|
{ ["_bf"]: themeMode === opt.id }
|
|
9698
9699
|
])} role=radio aria-checked=${themeMode === opt.id ? "true" : "false"}>`);
|
|
9699
9700
|
if (opt.id === "system") {
|
|
@@ -9712,43 +9713,43 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9712
9713
|
f: opt?.id,
|
|
9713
9714
|
_: _scope_with_id($scope0_id)
|
|
9714
9715
|
});
|
|
9715
|
-
}, "id", $scope0_id, "
|
|
9716
|
-
_html(`</span><span${_attr_class(["_o", "
|
|
9717
|
-
_attr_select_value($scope0_id, "
|
|
9716
|
+
}, "id", $scope0_id, "b9", 1, 0, 1, 0, 1);
|
|
9717
|
+
_html(`</span><span${_attr_class(["_o", "_dz"])}>`);
|
|
9718
|
+
_attr_select_value($scope0_id, "bb", themeMode, _resume(function(v) {
|
|
9718
9719
|
setThemeMode(v);
|
|
9719
9720
|
}, "x5", $scope0_id), () => {
|
|
9720
|
-
_html(`<select${_attr_class(["_p", "
|
|
9721
|
+
_html(`<select${_attr_class(["_p", "_dA"])} aria-label="Color theme">`);
|
|
9721
9722
|
forOf(themeOpts, (opt) => {
|
|
9722
9723
|
_scope_id();
|
|
9723
9724
|
_html(`<option${_attr_option_value(opt.id)}>${_escape(opt.label)}</option>`);
|
|
9724
9725
|
});
|
|
9725
9726
|
_html("</select>");
|
|
9726
9727
|
});
|
|
9727
|
-
_html(`${_el_resume($scope0_id, "
|
|
9728
|
-
"
|
|
9729
|
-
"
|
|
9730
|
-
{ ["
|
|
9728
|
+
_html(`${_el_resume($scope0_id, "bb")}</span></span></div><div${_attr_class("_du")}><span${_attr_class("_dv")}>Accent</span><span${_attr_class("_dL")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
|
|
9729
|
+
"_dM",
|
|
9730
|
+
"_dP",
|
|
9731
|
+
{ ["_dN"]: !accent }
|
|
9731
9732
|
])} role=radio aria-checked=${!accent ? "true" : "false"} title="Default (blue)" aria-label="Default (blue)">`);
|
|
9732
9733
|
_if(() => {
|
|
9733
9734
|
if (!accent) {
|
|
9734
9735
|
const $scope130_id = _scope_id();
|
|
9735
9736
|
icon_check_default({
|
|
9736
9737
|
size: 12,
|
|
9737
|
-
class: "
|
|
9738
|
+
class: "_dO"
|
|
9738
9739
|
});
|
|
9739
9740
|
$si__input_instance_accent && writeScope($scope130_id, {});
|
|
9740
9741
|
return 0;
|
|
9741
9742
|
}
|
|
9742
|
-
}, $scope0_id, "
|
|
9743
|
+
}, $scope0_id, "bf", $sg__input_instance_accent, 1, 1, "</button>", 1);
|
|
9743
9744
|
_for_of(ACCENT_PRESETS, (p) => {
|
|
9744
9745
|
const $scope78_id = _scope_id();
|
|
9745
|
-
_html(`<button type=button${_attr_class(["
|
|
9746
|
+
_html(`<button type=button${_attr_class(["_dM", { ["_dN"]: 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)}>`);
|
|
9746
9747
|
_if(() => {
|
|
9747
9748
|
if (accent === p.value) {
|
|
9748
9749
|
const $scope131_id = _scope_id();
|
|
9749
9750
|
icon_check_default({
|
|
9750
9751
|
size: 12,
|
|
9751
|
-
class: "
|
|
9752
|
+
class: "_dO"
|
|
9752
9753
|
});
|
|
9753
9754
|
$si__input_instance_accent && writeScope($scope131_id, {});
|
|
9754
9755
|
return 0;
|
|
@@ -9759,21 +9760,21 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9759
9760
|
d: p?.value,
|
|
9760
9761
|
_: _scope_with_id($scope0_id)
|
|
9761
9762
|
});
|
|
9762
|
-
}, "value", $scope0_id, "
|
|
9763
|
+
}, "value", $scope0_id, "bg", $sg__input_instance_accent, 0, 1, 0, 1);
|
|
9763
9764
|
const customOn = !!accent && !ACCENT_PRESETS.some((p) => p.value === accent);
|
|
9764
9765
|
_html(`<label${_attr_class([
|
|
9765
|
-
"
|
|
9766
|
-
"
|
|
9767
|
-
{ ["
|
|
9768
|
-
])}${customOn ? _attr_style(`--swatch:${accent}`) : ""}${customOn ? _attr("title", `Custom ${accent}`) : " title=\"Custom colour\""}><input${_attr_input_value($scope0_id, "
|
|
9766
|
+
"_dM",
|
|
9767
|
+
"_dQ",
|
|
9768
|
+
{ ["_dN"]: customOn }
|
|
9769
|
+
])}${customOn ? _attr_style(`--swatch:${accent}`) : ""}${customOn ? _attr("title", `Custom ${accent}`) : " title=\"Custom colour\""}><input${_attr_input_value($scope0_id, "bi", accent || "#3556d8", _resume(function(v) {
|
|
9769
9770
|
setInstance({ accent: v });
|
|
9770
|
-
}, "x6", $scope0_id))}${_attr_class("
|
|
9771
|
+
}, "x6", $scope0_id))}${_attr_class("_dR")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "bi")}`);
|
|
9771
9772
|
_if(() => {
|
|
9772
9773
|
if (customOn) {
|
|
9773
9774
|
const $scope132_id = _scope_id();
|
|
9774
9775
|
icon_check_default({
|
|
9775
9776
|
size: 12,
|
|
9776
|
-
class: "
|
|
9777
|
+
class: "_dO"
|
|
9777
9778
|
});
|
|
9778
9779
|
$si__input_instance_accent && writeScope($scope132_id, {});
|
|
9779
9780
|
return 0;
|
|
@@ -9783,21 +9784,21 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9783
9784
|
$si__input_instance_accent && writeScope($scope133_id, {});
|
|
9784
9785
|
return 1;
|
|
9785
9786
|
}
|
|
9786
|
-
}, $scope0_id, "
|
|
9787
|
-
_html(`</label>${_el_resume($scope0_id, "
|
|
9787
|
+
}, $scope0_id, "bj", $sg__input_instance_accent, $sg__input_instance_accent, 1, 0, 1);
|
|
9788
|
+
_html(`</label>${_el_resume($scope0_id, "bh", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_ce")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_cf")}><h2${_attr("id", backupId)}${_attr_class("_cs")}>Backup</h2></div><div${_attr_class(["_cj", "_cK"])}><div${_attr_class("_cL")}><div${_attr_class("_dS")}><div${_attr_class("_ck")}>`);
|
|
9788
9789
|
_if(() => {
|
|
9789
9790
|
if (backupBusy === "preflight") {
|
|
9790
9791
|
const $scope66_id = _scope_id();
|
|
9791
|
-
_html(`<span${_attr_class("
|
|
9792
|
+
_html(`<span${_attr_class("_cZ")}><span${_attr_class("_G")}></span>${_text_resume($scope66_id, "c", backupLine || "Checking workspaces…")}</span>`);
|
|
9792
9793
|
writeScope($scope66_id, {});
|
|
9793
9794
|
return 0;
|
|
9794
9795
|
} else {
|
|
9795
9796
|
const $scope134_id = _scope_id();
|
|
9796
|
-
_html(`<span${_attr_class("
|
|
9797
|
+
_html(`<span${_attr_class("_cn")}>Save workspaces, settings, skills and tool pins to a file. Code stays on GitHub.</span>`);
|
|
9797
9798
|
writeScope($scope134_id, {});
|
|
9798
9799
|
return 1;
|
|
9799
9800
|
}
|
|
9800
|
-
}, $scope0_id, "
|
|
9801
|
+
}, $scope0_id, "bq", 1, 1, 1, "</div>", 1);
|
|
9801
9802
|
_if(() => {
|
|
9802
9803
|
if (!backupBusy && !preflight) {
|
|
9803
9804
|
const $scope76_id = _scope_id();
|
|
@@ -9806,12 +9807,12 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9806
9807
|
writeScope($scope76_id, {});
|
|
9807
9808
|
return 0;
|
|
9808
9809
|
}
|
|
9809
|
-
}, $scope0_id, "
|
|
9810
|
+
}, $scope0_id, "br", 1, 1, 1, 0, 1);
|
|
9810
9811
|
_html("</div>");
|
|
9811
9812
|
_if(() => {
|
|
9812
9813
|
if (preflight && !backupBusy) {
|
|
9813
9814
|
const $scope68_id = _scope_id();
|
|
9814
|
-
_html(`<div${_attr_class("
|
|
9815
|
+
_html(`<div${_attr_class("_dU")}><p${_attr_class("_dV")}>In the file: ${_text_resume($scope68_id, "c", preflight.contents.workspaces, 2)} workspace${_text_resume($scope68_id, "d", preflight.contents.workspaces === 1 ? "" : "s", 2)}${_text_resume($scope68_id, "e", preflight.contents.archived ? `${_to_text(" ")}(${_to_text(preflight.contents.archived)} archived)` : "", 2)} , ${_text_resume($scope68_id, "f", preflight.contents.tools, 2)} tool pin${_text_resume($scope68_id, "g", preflight.contents.tools === 1 ? "" : "s", 2)}, ${_text_resume($scope68_id, "h", preflight.contents.skills, 2)} skill${_text_resume($scope68_id, "i", preflight.contents.skills === 1 ? "" : "s", 2)}, ${_text_resume($scope68_id, "j", preflight.contents.agents, 2)} agent${_text_resume($scope68_id, "k", preflight.contents.agents === 1 ? "" : "s", 2)}.</p><p${_attr_class("_dV")}>Not in the file: `);
|
|
9815
9816
|
_if(() => {
|
|
9816
9817
|
if (preflight.unpushed) {
|
|
9817
9818
|
const $scope69_id = _scope_id();
|
|
@@ -9828,15 +9829,15 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9828
9829
|
return 0;
|
|
9829
9830
|
}
|
|
9830
9831
|
}, $scope68_id, "m");
|
|
9831
|
-
_html(`${_text_resume($scope68_id, "n", preflight.files ? `${_to_text(" ")}${_to_text(preflight.files)} uncommitted file${_to_text(preflight.files === 1 ? "" : "s")}` : "", 2)} .</p><ul${_attr_class("
|
|
9832
|
+
_html(`${_text_resume($scope68_id, "n", preflight.files ? `${_to_text(" ")}${_to_text(preflight.files)} uncommitted file${_to_text(preflight.files === 1 ? "" : "s")}` : "", 2)} .</p><ul${_attr_class("_dW")}>`);
|
|
9832
9833
|
_for_of(preflight.workspaces, (w) => {
|
|
9833
9834
|
const $scope136_id = _scope_id();
|
|
9834
9835
|
const $for_content18__w_name__closures = /* @__PURE__ */ new Set();
|
|
9835
|
-
_html(`<li${_attr_class("
|
|
9836
|
+
_html(`<li${_attr_class("_dX")}><span${_attr_class("_cl")}>${_text_resume($scope136_id, "c", w.name)}</span><ul${_attr_class("_dW")}>`);
|
|
9836
9837
|
_for_of(w.repos, (r) => {
|
|
9837
9838
|
const $scope137_id = _scope_id();
|
|
9838
9839
|
const $for_content19__r_more__closures = /* @__PURE__ */ new Set();
|
|
9839
|
-
_html(`<li${_attr_class("
|
|
9840
|
+
_html(`<li${_attr_class("_dY")}><span${_attr_class("_dZ")}><span${_attr_class("_y")}>${_text_resume($scope137_id, "d", r.worktree)}/</span>`);
|
|
9840
9841
|
_for_of(r.unpushed, (b) => {
|
|
9841
9842
|
const $scope138_id = _scope_id();
|
|
9842
9843
|
_html(`<span${_attr_class(["_N", tone.warn])}${_attr("title", `${b.branch}: ${b.count} commit${b.count === 1 ? "" : "s"} origin does not have`)}>${_text_resume($scope138_id, "b", b.count)} unpushed `);
|
|
@@ -9855,10 +9856,10 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9855
9856
|
_if(() => {
|
|
9856
9857
|
if (r.modified.length || r.untracked.length || r.ignored.length) {
|
|
9857
9858
|
const $scope139_id = _scope_id();
|
|
9858
|
-
_html(`<ul${_attr_class("
|
|
9859
|
+
_html(`<ul${_attr_class("_d0")}>`);
|
|
9859
9860
|
_for_of(r.modified, (f) => {
|
|
9860
9861
|
const $scope142_id = _scope_id();
|
|
9861
|
-
_html(`<li${_attr_class("
|
|
9862
|
+
_html(`<li${_attr_class("_d1")}><span${_attr_class([
|
|
9862
9863
|
"_N",
|
|
9863
9864
|
"_P",
|
|
9864
9865
|
tone.warn
|
|
@@ -9867,18 +9868,18 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9867
9868
|
}, (f) => f, $scope139_id, "b", 1, 1, 1, 0, 1);
|
|
9868
9869
|
_for_of(r.untracked, (f) => {
|
|
9869
9870
|
const $scope143_id = _scope_id();
|
|
9870
|
-
_html(`<li${_attr_class("
|
|
9871
|
+
_html(`<li${_attr_class("_d1")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_bb"])}>${_text_resume($scope143_id, "d", f)}</span></li>`);
|
|
9871
9872
|
writeScope($scope143_id, {});
|
|
9872
9873
|
}, (f) => f, $scope139_id, "c", 1, 1, 1, 0, 1);
|
|
9873
9874
|
_for_of(r.ignored, (f) => {
|
|
9874
9875
|
const $scope144_id = _scope_id();
|
|
9875
|
-
_html(`<li${_attr_class("
|
|
9876
|
+
_html(`<li${_attr_class("_d1")}><span${_attr_class(["_N", "_P"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_y", "_bb"])}>${_text_resume($scope144_id, "d", f)}</span></li>`);
|
|
9876
9877
|
writeScope($scope144_id, {});
|
|
9877
9878
|
}, (f) => f, $scope139_id, "d", 1, 1, 1, 0, 1);
|
|
9878
9879
|
_if(() => {
|
|
9879
9880
|
if (r.more) {
|
|
9880
9881
|
const $scope140_id = _scope_id();
|
|
9881
|
-
_html(`<li${_attr_class(["
|
|
9882
|
+
_html(`<li${_attr_class(["_d1", "_x"])}>+${_text_resume($scope140_id, "b", r.more, 2)} more</li>`);
|
|
9882
9883
|
_subscribe($for_content19__r_more__closures, writeScope($scope140_id, {}));
|
|
9883
9884
|
return 0;
|
|
9884
9885
|
}
|
|
@@ -9903,53 +9904,53 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9903
9904
|
i: $for_content18__w_name__closures
|
|
9904
9905
|
});
|
|
9905
9906
|
}, "id", $scope68_id, "o", 1, 1, 1, "</ul>", 1);
|
|
9906
|
-
_html(`<div${_attr_class("
|
|
9907
|
+
_html(`<div${_attr_class("_d2")}><button${_attr_class([btnSm, { ["_r"]: !preflight.unpushed }])}>${_text_resume($scope68_id, "r", preflight.unpushed ? "Export anyway" : "Export")}</button>${_el_resume($scope68_id, "q")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope68_id, "s")}</div></div>`);
|
|
9907
9908
|
_script($scope68_id, "x81");
|
|
9908
9909
|
writeScope($scope68_id, {});
|
|
9909
9910
|
return 0;
|
|
9910
9911
|
}
|
|
9911
|
-
}, $scope0_id, "
|
|
9912
|
-
_html(`</div><div${_attr_class("
|
|
9912
|
+
}, $scope0_id, "bs", 1, 1, 1, 0, 1);
|
|
9913
|
+
_html(`</div><div${_attr_class("_cL")}><div${_attr_class("_dS")}><div${_attr_class("_ck")}>`);
|
|
9913
9914
|
_if(() => {
|
|
9914
9915
|
if (backupBusy === "restore") {
|
|
9915
9916
|
const $scope67_id = _scope_id();
|
|
9916
|
-
_html(`<span${_attr_class("
|
|
9917
|
+
_html(`<span${_attr_class("_cZ")}><span${_attr_class("_G")}></span>${_text_resume($scope67_id, "c", backupLine || "Restoring…")}</span>`);
|
|
9917
9918
|
writeScope($scope67_id, {});
|
|
9918
9919
|
return 0;
|
|
9919
9920
|
} else if (restoreDone) {
|
|
9920
9921
|
const $scope75_id = _scope_id();
|
|
9921
|
-
_html(`<span${_attr_class("
|
|
9922
|
+
_html(`<span${_attr_class("_cn")}>${_text_resume($scope75_id, "b", restoreDone)}</span>`);
|
|
9922
9923
|
writeScope($scope75_id, {});
|
|
9923
9924
|
return 1;
|
|
9924
9925
|
} else {
|
|
9925
9926
|
const $scope145_id = _scope_id();
|
|
9926
|
-
_html(`<span${_attr_class("
|
|
9927
|
+
_html(`<span${_attr_class("_cn")}>Load a backup file. Repos clone in the background.</span>`);
|
|
9927
9928
|
writeScope($scope145_id, {});
|
|
9928
9929
|
return 2;
|
|
9929
9930
|
}
|
|
9930
|
-
}, $scope0_id, "
|
|
9931
|
+
}, $scope0_id, "bv", 1, 1, 1, "</div>", 1);
|
|
9931
9932
|
_if(() => {
|
|
9932
9933
|
if (!restorePreview && backupBusy !== "restore") {
|
|
9933
9934
|
const $scope77_id = _scope_id();
|
|
9934
|
-
_html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("
|
|
9935
|
+
_html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_dT")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope77_id, "b")}</label>`);
|
|
9935
9936
|
_script($scope77_id, "x82");
|
|
9936
9937
|
writeScope($scope77_id, {});
|
|
9937
9938
|
return 0;
|
|
9938
9939
|
}
|
|
9939
|
-
}, $scope0_id, "
|
|
9940
|
+
}, $scope0_id, "bw", 1, 1, 1, 0, 1);
|
|
9940
9941
|
_html("</div>");
|
|
9941
9942
|
_if(() => {
|
|
9942
9943
|
if (restorePreview && backupBusy !== "restore") {
|
|
9943
9944
|
const $scope70_id = _scope_id();
|
|
9944
9945
|
const { preview } = restorePreview;
|
|
9945
|
-
_html(`<div${_attr_class("
|
|
9946
|
+
_html(`<div${_attr_class("_dU")}><p${_attr_class("_dV")}>From ${_text_resume($scope70_id, "c", preview.from.host, 2)} on ${_text_resume($scope70_id, "d", new Date(preview.from.exportedAt).toLocaleDateString(), 2)}${_text_resume($scope70_id, "e", preview.from.version ? ` (work ${preview.from.version})` : "", 2)}.</p>`);
|
|
9946
9947
|
_if(() => {
|
|
9947
9948
|
if (preview.workspaces.length) {
|
|
9948
9949
|
const $scope71_id = _scope_id();
|
|
9949
9950
|
_html(`<ul${_attr_class(checkList)}>`);
|
|
9950
9951
|
_for_of(preview.workspaces, (w) => {
|
|
9951
9952
|
const $scope72_id = _scope_id();
|
|
9952
|
-
_html(`<li><label${_attr_class(["
|
|
9953
|
+
_html(`<li><label${_attr_class(["_d4", { ["_d6"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_d5")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_ck")}><span${_attr_class("_cm")}><span${_attr_class("_cl")}>${_text_resume($scope72_id, "f", w.name)}</span>`);
|
|
9953
9954
|
_if(() => {
|
|
9954
9955
|
if (w.status === "archived") {
|
|
9955
9956
|
const $scope149_id = _scope_id();
|
|
@@ -9971,7 +9972,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9971
9972
|
return 1;
|
|
9972
9973
|
}
|
|
9973
9974
|
}, $scope72_id, "h", 1, 1, 1, 0, 1);
|
|
9974
|
-
_html(`</span><span${_attr_class("
|
|
9975
|
+
_html(`</span><span${_attr_class("_cn")}>${_text_resume($scope72_id, "j", w.repos.join(", ") || "no repos")}</span></span></label>${_el_resume($scope72_id, "a")}</li>`);
|
|
9975
9976
|
_script($scope72_id, "x83");
|
|
9976
9977
|
_subscribe($restoreWs__closures, writeScope($scope72_id, {
|
|
9977
9978
|
n: w?.unknownHost,
|
|
@@ -9982,7 +9983,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9982
9983
|
return 0;
|
|
9983
9984
|
} else {
|
|
9984
9985
|
const $scope147_id = _scope_id();
|
|
9985
|
-
_html(`<p${_attr_class("
|
|
9986
|
+
_html(`<p${_attr_class("_cp")}>No workspaces in this file.</p>`);
|
|
9986
9987
|
writeScope($scope147_id, {});
|
|
9987
9988
|
return 1;
|
|
9988
9989
|
}
|
|
@@ -10022,7 +10023,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
10022
10023
|
_if(() => {
|
|
10023
10024
|
if (p.total) {
|
|
10024
10025
|
const $scope74_id = _scope_id();
|
|
10025
|
-
_html(`<li><label${_attr_class(["
|
|
10026
|
+
_html(`<li><label${_attr_class(["_d4", { ["_d6"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_d5")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_ck")}><span${_attr_class("_cl")}>${_text_resume($scope74_id, "e", p.label)}</span><span${_attr_class("_cn")}>`);
|
|
10026
10027
|
_if(() => {
|
|
10027
10028
|
if (p.key === "settings") {
|
|
10028
10029
|
const $scope146_id = _scope_id();
|
|
@@ -10069,13 +10070,13 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
10069
10070
|
i: $for_content10__p_total__closures
|
|
10070
10071
|
});
|
|
10071
10072
|
}, "key", $scope70_id, "h");
|
|
10072
|
-
_html(`</ul><div${_attr_class("
|
|
10073
|
+
_html(`</ul><div${_attr_class("_d2")}><button${_attr_class([btnSm, "_r"])}${_attr("disabled", !restoreWs.size && !Object.values(restoreParts).some(Boolean))}>Restore</button>${_el_resume($scope70_id, "j")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope70_id, "k")}</div></div>`);
|
|
10073
10074
|
_script($scope70_id, "x85");
|
|
10074
10075
|
writeScope($scope70_id, {});
|
|
10075
10076
|
return 0;
|
|
10076
10077
|
}
|
|
10077
|
-
}, $scope0_id, "
|
|
10078
|
-
_html("</div></div></section></div></div></div>");
|
|
10078
|
+
}, $scope0_id, "bx", 1, 1, 1, 0, 1);
|
|
10079
|
+
_html("</div></div></section></div></div></div></div>");
|
|
10079
10080
|
_if(() => {
|
|
10080
10081
|
if (versionPick) {
|
|
10081
10082
|
const $scope37_id = _scope_id();
|
|
@@ -10099,158 +10100,158 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
10099
10100
|
writeScope($scope37_id, { a: _existing_scope($childScope13) });
|
|
10100
10101
|
return 0;
|
|
10101
10102
|
}
|
|
10102
|
-
}, $scope0_id, "
|
|
10103
|
+
}, $scope0_id, "by", 1, 1, 1, 0, 1);
|
|
10103
10104
|
_script($scope0_id, "x86");
|
|
10104
10105
|
_script($scope0_id, "x87");
|
|
10105
10106
|
writeScope($scope0_id, {
|
|
10106
|
-
|
|
10107
|
-
|
|
10108
|
-
|
|
10109
|
-
|
|
10110
|
-
|
|
10111
|
-
|
|
10112
|
-
|
|
10113
|
-
|
|
10114
|
-
|
|
10115
|
-
|
|
10116
|
-
|
|
10117
|
-
|
|
10118
|
-
|
|
10119
|
-
|
|
10120
|
-
|
|
10121
|
-
|
|
10122
|
-
|
|
10123
|
-
|
|
10124
|
-
|
|
10125
|
-
|
|
10126
|
-
|
|
10127
|
-
|
|
10128
|
-
|
|
10129
|
-
|
|
10130
|
-
|
|
10131
|
-
|
|
10132
|
-
|
|
10133
|
-
|
|
10134
|
-
|
|
10135
|
-
|
|
10136
|
-
|
|
10137
|
-
|
|
10138
|
-
|
|
10139
|
-
|
|
10140
|
-
|
|
10141
|
-
|
|
10142
|
-
|
|
10143
|
-
|
|
10144
|
-
|
|
10145
|
-
|
|
10146
|
-
|
|
10147
|
-
|
|
10148
|
-
|
|
10149
|
-
|
|
10150
|
-
|
|
10151
|
-
|
|
10152
|
-
|
|
10153
|
-
|
|
10154
|
-
|
|
10155
|
-
|
|
10156
|
-
|
|
10157
|
-
|
|
10158
|
-
|
|
10159
|
-
|
|
10160
|
-
|
|
10161
|
-
|
|
10162
|
-
|
|
10163
|
-
|
|
10164
|
-
|
|
10165
|
-
|
|
10166
|
-
|
|
10167
|
-
|
|
10168
|
-
|
|
10169
|
-
|
|
10170
|
-
|
|
10171
|
-
|
|
10172
|
-
|
|
10173
|
-
|
|
10174
|
-
|
|
10175
|
-
|
|
10176
|
-
|
|
10177
|
-
|
|
10178
|
-
|
|
10179
|
-
|
|
10180
|
-
|
|
10181
|
-
|
|
10182
|
-
|
|
10183
|
-
|
|
10184
|
-
|
|
10185
|
-
|
|
10186
|
-
|
|
10187
|
-
|
|
10188
|
-
|
|
10189
|
-
|
|
10190
|
-
|
|
10191
|
-
|
|
10192
|
-
|
|
10193
|
-
|
|
10194
|
-
|
|
10195
|
-
|
|
10196
|
-
|
|
10197
|
-
|
|
10198
|
-
|
|
10199
|
-
|
|
10200
|
-
|
|
10201
|
-
|
|
10202
|
-
|
|
10203
|
-
|
|
10204
|
-
|
|
10205
|
-
|
|
10206
|
-
|
|
10207
|
-
|
|
10208
|
-
|
|
10209
|
-
|
|
10210
|
-
|
|
10211
|
-
|
|
10212
|
-
|
|
10213
|
-
|
|
10214
|
-
|
|
10215
|
-
|
|
10216
|
-
|
|
10217
|
-
|
|
10218
|
-
|
|
10219
|
-
|
|
10220
|
-
|
|
10221
|
-
|
|
10222
|
-
|
|
10223
|
-
|
|
10224
|
-
|
|
10225
|
-
|
|
10226
|
-
|
|
10107
|
+
c2: input$3.setupChange,
|
|
10108
|
+
c3: input$3.agentsChange,
|
|
10109
|
+
c4: input$3.preferred,
|
|
10110
|
+
c5: input$3.preferredChange,
|
|
10111
|
+
c7: input$3.instance,
|
|
10112
|
+
c8: input$3.instanceChange,
|
|
10113
|
+
ca: input$3.onExit,
|
|
10114
|
+
cd: $si__input_instance__OR__input_instanceChange && input$3.instance?.name,
|
|
10115
|
+
ce: setup,
|
|
10116
|
+
cf: setup?.agents,
|
|
10117
|
+
ch: setup?.missing,
|
|
10118
|
+
cj: ignoredSso,
|
|
10119
|
+
ck: readIgnoredSso,
|
|
10120
|
+
cl: usage,
|
|
10121
|
+
cm: usage?.agents,
|
|
10122
|
+
cn: usage?.error,
|
|
10123
|
+
co: error,
|
|
10124
|
+
cq: active,
|
|
10125
|
+
cr: active?.size,
|
|
10126
|
+
cs: authCodes,
|
|
10127
|
+
ct: confirmingRemove,
|
|
10128
|
+
cu: versionPick,
|
|
10129
|
+
cv: versionPick?.label,
|
|
10130
|
+
cw: versionPick?.newest,
|
|
10131
|
+
cx: versionPick?.current,
|
|
10132
|
+
cy: hostInput,
|
|
10133
|
+
cz: addingHost,
|
|
10134
|
+
d1: hostBusy,
|
|
10135
|
+
d2: query,
|
|
10136
|
+
d3: hits,
|
|
10137
|
+
d4: hits?.length,
|
|
10138
|
+
d5: self,
|
|
10139
|
+
d6: self?.install,
|
|
10140
|
+
d7: self?.latest,
|
|
10141
|
+
d8: self?.version,
|
|
10142
|
+
d9: selfUpdating,
|
|
10143
|
+
dc: searching,
|
|
10144
|
+
de: searchTimer.id,
|
|
10145
|
+
dg: skills,
|
|
10146
|
+
dh: skills?.global,
|
|
10147
|
+
di: skills?.global?.length,
|
|
10148
|
+
dj: skills?.available,
|
|
10149
|
+
dl: skills?.agents?.length,
|
|
10150
|
+
dm: skillQuery,
|
|
10151
|
+
dn: skillHits,
|
|
10152
|
+
do: skillHits?.length,
|
|
10153
|
+
dp: skillSearching,
|
|
10154
|
+
dq: confirmingSkill,
|
|
10155
|
+
ds: skillTimer.id,
|
|
10156
|
+
du: machineOpen,
|
|
10157
|
+
dv: skillsOpen,
|
|
10158
|
+
dw: addingSkill,
|
|
10159
|
+
dy: addingTool,
|
|
10160
|
+
e0: setThemeMode,
|
|
10161
|
+
e4: applySetup,
|
|
10162
|
+
e6: syncAgents,
|
|
10163
|
+
e7: retryWhenBack,
|
|
10164
|
+
e8: loadSetup,
|
|
10165
|
+
e9: loadSelf,
|
|
10166
|
+
eb: updateSelf,
|
|
10167
|
+
ec: loadUsage,
|
|
10168
|
+
ee: refresh,
|
|
10169
|
+
ef: refreshUsage,
|
|
10170
|
+
eg: setActive,
|
|
10171
|
+
ei: run,
|
|
10172
|
+
ek: skillSeq.applied,
|
|
10173
|
+
el: skillSeq.issued,
|
|
10174
|
+
em: applySkills,
|
|
10175
|
+
ep: loadSkills,
|
|
10176
|
+
eq: runSkill,
|
|
10177
|
+
er: backupBusy,
|
|
10178
|
+
es: backupLine,
|
|
10179
|
+
et: preflight,
|
|
10180
|
+
ew: preflight?.contents?.workspaces,
|
|
10181
|
+
ex: preflight?.contents?.archived,
|
|
10182
|
+
ey: preflight?.contents?.tools,
|
|
10183
|
+
ez: preflight?.contents?.skills,
|
|
10184
|
+
f0: preflight?.contents?.agents,
|
|
10185
|
+
f1: preflight?.unpushed,
|
|
10186
|
+
f2: preflight?.files,
|
|
10187
|
+
f3: preflight?.workspaces,
|
|
10188
|
+
f4: restorePreview,
|
|
10189
|
+
f6: restoreWs,
|
|
10190
|
+
f7: restoreWs?.size,
|
|
10191
|
+
f8: restoreParts,
|
|
10192
|
+
fa: restoreDone,
|
|
10193
|
+
fc: downloadManifest,
|
|
10194
|
+
fe: startExport,
|
|
10195
|
+
ff: pickRestoreFile,
|
|
10196
|
+
fg: toggleRestoreWs,
|
|
10197
|
+
fh: runRestore,
|
|
10198
|
+
fi: searchSkills,
|
|
10199
|
+
fj: changeHost,
|
|
10200
|
+
fk: runEach,
|
|
10201
|
+
fl: setPreferred,
|
|
10202
|
+
fo: saveTimer.id,
|
|
10203
|
+
fq: setInstance,
|
|
10204
|
+
fs: setEnabled,
|
|
10205
|
+
ft: search,
|
|
10206
|
+
fu: outdated,
|
|
10207
|
+
fv: aliasPin,
|
|
10208
|
+
fw: tools,
|
|
10209
|
+
fy: missingInstallable,
|
|
10210
|
+
g1: outdatedIds,
|
|
10211
|
+
g3: families,
|
|
10212
|
+
g5: families.length,
|
|
10213
|
+
g7: instanceIds,
|
|
10214
|
+
g9: accountsFor,
|
|
10215
|
+
ga: strayAccountsFor,
|
|
10216
|
+
gi: $si__input_instance__OR__input_instanceChange && accent,
|
|
10217
|
+
go: restorePreview?.preview?.from?.host,
|
|
10218
|
+
gp: restorePreview?.preview?.from?.exportedAt,
|
|
10219
|
+
gq: restorePreview?.preview?.from?.version,
|
|
10220
|
+
gr: restorePreview?.preview?.workspaces,
|
|
10221
|
+
gs: restorePreview?.preview?.workspaces?.length,
|
|
10222
|
+
gt: restorePreview?.preview?.tools,
|
|
10223
|
+
gu: restorePreview?.preview?.skills,
|
|
10224
|
+
gv: restorePreview?.preview?.agents,
|
|
10225
|
+
gw: restorePreview?.preview?.hosts,
|
|
10226
|
+
gx: restorePreview?.preview?.settings,
|
|
10227
|
+
h4: $refreshing__closures,
|
|
10227
10228
|
d: _serialize_if($scope0_reason, 1) && _existing_scope($childScope2),
|
|
10228
|
-
|
|
10229
|
-
|
|
10230
|
-
|
|
10231
|
-
|
|
10232
|
-
|
|
10233
|
-
|
|
10234
|
-
|
|
10235
|
-
|
|
10236
|
-
|
|
10237
|
-
|
|
10238
|
-
|
|
10239
|
-
|
|
10240
|
-
|
|
10241
|
-
|
|
10242
|
-
|
|
10243
|
-
|
|
10244
|
-
|
|
10245
|
-
|
|
10246
|
-
|
|
10247
|
-
|
|
10248
|
-
|
|
10249
|
-
|
|
10250
|
-
|
|
10251
|
-
|
|
10252
|
-
|
|
10253
|
-
|
|
10229
|
+
h0: $setup_missing__closures,
|
|
10230
|
+
h3: $error__closures,
|
|
10231
|
+
hl: $self_latest__closures,
|
|
10232
|
+
hm: $self_version__closures,
|
|
10233
|
+
h5: $active__closures,
|
|
10234
|
+
gy: $si__input_preferred && $input_preferred__closures,
|
|
10235
|
+
il: $accountsFor2__closures,
|
|
10236
|
+
h7: $authCodes__closures,
|
|
10237
|
+
h8: $confirmingRemove__closures,
|
|
10238
|
+
i1: $si__input_setupChange && $refresh2__closures,
|
|
10239
|
+
i2: $run2__closures,
|
|
10240
|
+
a9: _existing_scope($childScope10),
|
|
10241
|
+
hu: $skillQuery__closures,
|
|
10242
|
+
hy: $confirmingSkill__closures,
|
|
10243
|
+
hq: $skills__closures,
|
|
10244
|
+
ht: $skills_available__closures,
|
|
10245
|
+
ai: _existing_scope($childScope12),
|
|
10246
|
+
hg: $query__closures,
|
|
10247
|
+
hk: $self_install__closures,
|
|
10248
|
+
hn: $selfUpdating__closures,
|
|
10249
|
+
i9: $preflight_unpushed__closures,
|
|
10250
|
+
ia: $preflight_files__closures,
|
|
10251
|
+
ic: $restoreWs__closures,
|
|
10252
|
+
ir: $preview_workspaces__closures,
|
|
10253
|
+
ix: $preview_settings__closures,
|
|
10254
|
+
ie: $restoreParts__closures
|
|
10254
10255
|
});
|
|
10255
10256
|
_resume_branch($scope0_id);
|
|
10256
10257
|
});
|
|
@@ -10298,9 +10299,9 @@ function vapidKey(base64) {
|
|
|
10298
10299
|
const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
|
|
10299
10300
|
return Uint8Array.from(raw, (c) => c.charCodeAt(0));
|
|
10300
10301
|
}
|
|
10301
|
-
var iconBtn = "
|
|
10302
|
-
var settingsDot = "
|
|
10303
|
-
var navToggle = "
|
|
10302
|
+
var iconBtn = "_bP _l";
|
|
10303
|
+
var settingsDot = "_bQ _bc";
|
|
10304
|
+
var navToggle = "_bU _l";
|
|
10304
10305
|
_template("T", (input) => {
|
|
10305
10306
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
10306
10307
|
const $scope0_id = _scope_id();
|
|
@@ -10354,8 +10355,8 @@ function activeAgent(session) {
|
|
|
10354
10355
|
const command = session.state?.command?.trim();
|
|
10355
10356
|
return command && agentFromCommand(command) || session.agent;
|
|
10356
10357
|
}
|
|
10357
|
-
var heroTag = "
|
|
10358
|
-
var rowState = "
|
|
10358
|
+
var heroTag = "_eW _N _Q";
|
|
10359
|
+
var rowState = "_e8 _N";
|
|
10359
10360
|
//#endregion
|
|
10360
10361
|
//#region src/client/arm.ts
|
|
10361
10362
|
/** Two-step destructive controls: first click arms (label/colour flips),
|
|
@@ -10366,12 +10367,12 @@ var ARM_MS = 3500;
|
|
|
10366
10367
|
function disarmLater(fn) {
|
|
10367
10368
|
return setTimeout(fn, ARM_MS);
|
|
10368
10369
|
}
|
|
10369
|
-
var prChip = "
|
|
10370
|
-
var portChip = "
|
|
10370
|
+
var prChip = "_iM _u _iL";
|
|
10371
|
+
var portChip = "_iN _u _iL";
|
|
10371
10372
|
var prState = {
|
|
10372
|
-
open: "
|
|
10373
|
-
merged: "
|
|
10374
|
-
closed: "
|
|
10373
|
+
open: "_iR",
|
|
10374
|
+
merged: "_iS",
|
|
10375
|
+
closed: "_iT"
|
|
10375
10376
|
};
|
|
10376
10377
|
//#endregion
|
|
10377
10378
|
//#region src/tags/icons/icon-diff.marko
|
|
@@ -10462,7 +10463,7 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
10462
10463
|
const name = repo.full_name.split("/").at(-1);
|
|
10463
10464
|
return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel$1(repo.full_name) : name;
|
|
10464
10465
|
}, "y4", $scope1_id);
|
|
10465
|
-
_html(`<div${_attr_class("
|
|
10466
|
+
_html(`<div${_attr_class("_iK")}>`);
|
|
10466
10467
|
_for_of(repos, (repo) => {
|
|
10467
10468
|
const $scope2_id = _scope_id();
|
|
10468
10469
|
const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
|
|
@@ -10478,11 +10479,11 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
10478
10479
|
[prState.merged]: pr$1.state === "MERGED",
|
|
10479
10480
|
[prState.closed]: pr$1.state === "CLOSED"
|
|
10480
10481
|
}
|
|
10481
|
-
])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["
|
|
10482
|
+
])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_iO", { ["_iW"]: !open }])}${_attr("href", pr$1.url)} target=_blank rel=noopener>${_text_resume($scope3_id, "c", repoLabel(repo))}#${_text_resume($scope3_id, "d", pr$1.number, 2)}</a>${_el_resume($scope3_id, "b")}`);
|
|
10482
10483
|
_if(() => {
|
|
10483
10484
|
if (open) {
|
|
10484
10485
|
const $scope4_id = _scope_id();
|
|
10485
|
-
_html(`<a${_attr_class(["
|
|
10486
|
+
_html(`<a${_attr_class(["_iO", "_iP"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
|
|
10486
10487
|
icon_diff_default({ size: 12 });
|
|
10487
10488
|
_html(`</a>${_el_resume($scope4_id, "a")}`);
|
|
10488
10489
|
_subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
|
|
@@ -10490,9 +10491,9 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
10490
10491
|
} else {
|
|
10491
10492
|
const $scope6_id = _scope_id();
|
|
10492
10493
|
_html(`<button type=button${_attr_class([
|
|
10493
|
-
"
|
|
10494
|
-
"
|
|
10495
|
-
"
|
|
10494
|
+
"_iO",
|
|
10495
|
+
"_iP",
|
|
10496
|
+
"_iQ"
|
|
10496
10497
|
])}${_attr("title", `Dismiss #${pr$1.number}`)}>`);
|
|
10497
10498
|
icon_xmark_default({ size: 12 });
|
|
10498
10499
|
_html(`</button>${_el_resume($scope6_id, "a")}`);
|
|
@@ -10520,21 +10521,21 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
10520
10521
|
_if(() => {
|
|
10521
10522
|
if (dead.has(p.port)) {
|
|
10522
10523
|
const $scope7_id = _scope_id();
|
|
10523
|
-
_html(`<span${_attr_class(["
|
|
10524
|
+
_html(`<span${_attr_class(["_iO", "_iU"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
|
|
10524
10525
|
_subscribe($dead__closures, writeScope($scope7_id, { Ca3: 1 }));
|
|
10525
10526
|
return 0;
|
|
10526
10527
|
} else {
|
|
10527
10528
|
const $scope8_id = _scope_id();
|
|
10528
|
-
_html(`<button type=button${_attr_class(["
|
|
10529
|
+
_html(`<button type=button${_attr_class(["_iO", "_iV"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
|
|
10529
10530
|
_script($scope8_id, "y6");
|
|
10530
10531
|
writeScope($scope8_id, {});
|
|
10531
10532
|
return 1;
|
|
10532
10533
|
}
|
|
10533
10534
|
}, $scope5_id, "b", 1, 1, 1, 0, 1);
|
|
10534
10535
|
_html(`<button type=button${_attr_class([
|
|
10535
|
-
"
|
|
10536
|
-
"
|
|
10537
|
-
"
|
|
10536
|
+
"_iO",
|
|
10537
|
+
"_iP",
|
|
10538
|
+
"_iQ",
|
|
10538
10539
|
{ ["_s"]: armedPid === p.pid }
|
|
10539
10540
|
])}${armedPid === p.pid ? " title=Kill?" : _attr("title", `Kill ${p.cmd} (pid ${p.pid})`)}>`);
|
|
10540
10541
|
icon_xmark_default({ size: 12 });
|
|
@@ -10577,16 +10578,16 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
10577
10578
|
});
|
|
10578
10579
|
_resume_branch($scope0_id);
|
|
10579
10580
|
});
|
|
10580
|
-
var railBtn = "
|
|
10581
|
-
var wsBtn = "
|
|
10582
|
-
var rowIcon = "
|
|
10583
|
-
var close = "
|
|
10584
|
-
var sessRename$1 = "
|
|
10585
|
-
var sessBtn$1 = "
|
|
10581
|
+
var railBtn = "_fI _l";
|
|
10582
|
+
var wsBtn = "_fN _I";
|
|
10583
|
+
var rowIcon = "_fQ _4 _l";
|
|
10584
|
+
var close = "_fR _7 _l _8";
|
|
10585
|
+
var sessRename$1 = "_f2 _J";
|
|
10586
|
+
var sessBtn$1 = "_f4 _I";
|
|
10586
10587
|
//#endregion
|
|
10587
10588
|
//#region src/styles/session-pop.css.ts
|
|
10588
|
-
var sessionPop = "
|
|
10589
|
-
var sessionPopBtn = "
|
|
10589
|
+
var sessionPop = "_fE __";
|
|
10590
|
+
var sessionPopBtn = "_fF _I";
|
|
10590
10591
|
//#endregion
|
|
10591
10592
|
//#region src/tags/icons/icon-manage.marko
|
|
10592
10593
|
var icon_manage_default = _template("hb", (input) => {
|
|
@@ -10615,22 +10616,22 @@ var usage_pcts_default = _template("I", (input) => {
|
|
|
10615
10616
|
if (windows.length) {
|
|
10616
10617
|
const $scope1_id = _scope_id();
|
|
10617
10618
|
_html(`<span${_attr_class([
|
|
10618
|
-
"
|
|
10619
|
+
"_hS",
|
|
10619
10620
|
input.class,
|
|
10620
|
-
{ ["
|
|
10621
|
+
{ ["_hT"]: agent.stale_seconds != null }
|
|
10621
10622
|
])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
|
|
10622
10623
|
_for_of(windows, (win$1, i) => {
|
|
10623
10624
|
const $scope2_id = _scope_id();
|
|
10624
|
-
_html(`<span${_attr_class("
|
|
10625
|
+
_html(`<span${_attr_class("_hU")}>`);
|
|
10625
10626
|
_if(() => {
|
|
10626
10627
|
if (i) {
|
|
10627
10628
|
const $scope3_id = _scope_id();
|
|
10628
|
-
_html(`<span${_attr_class("
|
|
10629
|
+
_html(`<span${_attr_class("_hX")} aria-hidden=true>·</span>`);
|
|
10629
10630
|
$si__input_agent && writeScope($scope3_id, {});
|
|
10630
10631
|
return 0;
|
|
10631
10632
|
}
|
|
10632
10633
|
}, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
10633
|
-
_html(`<span${_attr_class("
|
|
10634
|
+
_html(`<span${_attr_class("_hV")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_hW", win$1.used_percent >= 90 ? "_hO" : win$1.used_percent >= 70 ? "_hN" : win$1.used_percent >= 40 ? "_hM" : "_hL"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
|
|
10634
10635
|
$si__input_agent && writeScope($scope2_id, {});
|
|
10635
10636
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
10636
10637
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -10741,7 +10742,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
10741
10742
|
_if(() => {
|
|
10742
10743
|
if (input.rail) {
|
|
10743
10744
|
const $scope2_id = _scope_id();
|
|
10744
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["
|
|
10745
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_fG"]: input.current }])}${ws$1.pending ? _attr("title", `${ws$1.name} — restoring`) : _attr("title", ws$1.name)}>${_text_resume($scope2_id, "b", input.index === void 0 ? "·" : input.index + 1, _serialize_guard($scope0_reason, 26))}<span${_attr_class([
|
|
10745
10746
|
"_A",
|
|
10746
10747
|
phase[dot$1],
|
|
10747
10748
|
"_bc"
|
|
@@ -10751,34 +10752,34 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
10751
10752
|
} else if (ws$1.pending) {
|
|
10752
10753
|
const $scope3_id = _scope_id();
|
|
10753
10754
|
_html(`<section${_attr_class([
|
|
10754
|
-
"
|
|
10755
|
-
"
|
|
10755
|
+
"_fK",
|
|
10756
|
+
"_f6",
|
|
10756
10757
|
{
|
|
10757
|
-
["
|
|
10758
|
-
["
|
|
10758
|
+
["_fL"]: input.railPop,
|
|
10759
|
+
["_fJ"]: input.page
|
|
10759
10760
|
}
|
|
10760
|
-
])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("
|
|
10761
|
+
])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_fM")}><div${_attr_class(wsBtn)}>`);
|
|
10761
10762
|
_if(() => {
|
|
10762
10763
|
if (ws$1.pending_error) {
|
|
10763
10764
|
const $scope15_id = _scope_id();
|
|
10764
10765
|
icon_warning_default({
|
|
10765
10766
|
size: 12,
|
|
10766
|
-
class: "
|
|
10767
|
+
class: "_f8"
|
|
10767
10768
|
});
|
|
10768
10769
|
$si__input_workspace && writeScope($scope15_id, {});
|
|
10769
10770
|
return 0;
|
|
10770
10771
|
} else {
|
|
10771
10772
|
const $scope16_id = _scope_id();
|
|
10772
|
-
_html(`<span${_attr_class(["_G", "
|
|
10773
|
+
_html(`<span${_attr_class(["_G", "_f7"])}></span>`);
|
|
10773
10774
|
$si__input_workspace && writeScope($scope16_id, {});
|
|
10774
10775
|
return 1;
|
|
10775
10776
|
}
|
|
10776
10777
|
}, $scope3_id, "d", $sg__input_workspace, $sg__input_workspace, 1, 0, 1);
|
|
10777
|
-
_html(`<span${_attr_class("
|
|
10778
|
+
_html(`<span${_attr_class("_fT")}><span${_attr_class("_fU")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_f_")}${_attr("title", ws$1.pending_error || restoreLine)}>${_text_resume($scope3_id, "i", ws$1.pending_error ? `Restore failed: ${ws$1.pending_error}` : restoreLine || "Restoring…")}</span>${_el_resume($scope3_id, "h")}</span></div></div>`);
|
|
10778
10779
|
_if(() => {
|
|
10779
10780
|
if (ws$1.pending_error && !retrying) {
|
|
10780
10781
|
const $scope14_id = _scope_id();
|
|
10781
|
-
_html(`<div${_attr_class("
|
|
10782
|
+
_html(`<div${_attr_class("_f9")}><button type=button${_attr_class(["_q", btnSm])} title="Run the restore again">Retry</button>${_el_resume($scope14_id, "b")}<button type=button${_attr_class([
|
|
10782
10783
|
"_q",
|
|
10783
10784
|
btnSm,
|
|
10784
10785
|
{ ["_s"]: armedDelete }
|
|
@@ -10798,15 +10799,15 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
10798
10799
|
const $scope4_id = _scope_id();
|
|
10799
10800
|
const sessions$1 = input.sessions || [];
|
|
10800
10801
|
const phaseLabel = dot$1 === "working" ? "Working" : dot$1 === "waiting" ? "Needs input" : dot$1 === "idle" ? "Idle" : "Not running";
|
|
10801
|
-
_html(`<section${_attr_class(["
|
|
10802
|
-
["
|
|
10802
|
+
_html(`<section${_attr_class(["_fK", {
|
|
10803
|
+
["_fG"]: input.current,
|
|
10803
10804
|
["_bd"]: input.current,
|
|
10804
|
-
["
|
|
10805
|
-
["
|
|
10806
|
-
}])}><div${_attr_class("
|
|
10805
|
+
["_fL"]: input.railPop,
|
|
10806
|
+
["_fJ"]: input.page
|
|
10807
|
+
}])}><div${_attr_class("_fM")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class(wsBtn)}><span${_attr_class([
|
|
10807
10808
|
"_A",
|
|
10808
10809
|
phase[dot$1],
|
|
10809
|
-
"
|
|
10810
|
+
"_fY"
|
|
10810
10811
|
])}${_attr("title", phaseLabel)}></span>${_el_resume($scope4_id, "d", $sg__input_status)}`);
|
|
10811
10812
|
_if(() => {
|
|
10812
10813
|
if (sessions$1.length === 1) {
|
|
@@ -10819,7 +10820,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
10819
10820
|
icon_agent_default({
|
|
10820
10821
|
agent: activeAgent(sessions$1[0]),
|
|
10821
10822
|
size: 12,
|
|
10822
|
-
class: "
|
|
10823
|
+
class: "_fS"
|
|
10823
10824
|
});
|
|
10824
10825
|
$si__input_sessions && writeScope($scope17_id, {
|
|
10825
10826
|
_: _scope_with_id($scope4_id),
|
|
@@ -10829,11 +10830,11 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
10829
10830
|
}
|
|
10830
10831
|
}, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions);
|
|
10831
10832
|
const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length > 1 ? `${sessions$1.length} sessions` : "";
|
|
10832
|
-
_html(`<span${_attr_class("
|
|
10833
|
+
_html(`<span${_attr_class("_fT")}><span${_attr_class("_fU")}>${_text_resume($scope4_id, "h", ws$1.name, $sg__input_workspace)}</span>`);
|
|
10833
10834
|
_if(() => {
|
|
10834
10835
|
if (input.page && metaText) {
|
|
10835
10836
|
const $scope18_id = _scope_id();
|
|
10836
|
-
_html(`<span${_attr_class("
|
|
10837
|
+
_html(`<span${_attr_class("_fX")}>${_text_resume($scope18_id, "b", metaText, _serialize_guard($scope0_reason, 3))}</span>`);
|
|
10837
10838
|
$si__input_page__OR__input_sessions__OR__input_status && writeScope($scope18_id, { _: _serialize_if($scope0_reason, 3) && _scope_with_id($scope4_id) });
|
|
10838
10839
|
return 0;
|
|
10839
10840
|
}
|
|
@@ -10842,7 +10843,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
10842
10843
|
_if(() => {
|
|
10843
10844
|
if (!input.page) {
|
|
10844
10845
|
const $scope5_id = _scope_id();
|
|
10845
|
-
_html(`<div${_attr_class("
|
|
10846
|
+
_html(`<div${_attr_class("_fO")}>`);
|
|
10846
10847
|
_if(() => {
|
|
10847
10848
|
if (input.onNewSession) {
|
|
10848
10849
|
const $scope6_id = _scope_id();
|
|
@@ -10891,7 +10892,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
10891
10892
|
return 0;
|
|
10892
10893
|
}
|
|
10893
10894
|
}, $scope5_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
|
|
10894
|
-
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["
|
|
10895
|
+
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_fH"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
|
|
10895
10896
|
icon_manage_default({ size: 12 });
|
|
10896
10897
|
_html(`</a>${_el_resume($scope5_id, "d", _serialize_guard($scope0_reason, 4))}</div>`);
|
|
10897
10898
|
_subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_managing && $input_managing__closures, _subscribe($si__input_onReview && $input_onReview__closures, _subscribe($si__input_onNewSession && $input_onNewSession__closures, writeScope($scope5_id, {
|
|
@@ -10901,7 +10902,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
10901
10902
|
return 0;
|
|
10902
10903
|
}
|
|
10903
10904
|
}, $scope4_id, "j", $sg__input_page, $sg__input_page, 1, 0, 1);
|
|
10904
|
-
_html(`</div><div${_attr_class("
|
|
10905
|
+
_html(`</div><div${_attr_class("_f3")}>`);
|
|
10905
10906
|
_if(() => {
|
|
10906
10907
|
if (input.page && sessions$1.length === 1 && openPlan) {
|
|
10907
10908
|
const $scope11_id = _scope_id();
|
|
@@ -10909,7 +10910,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
10909
10910
|
const $childScope3 = _peek_scope_id();
|
|
10910
10911
|
usage_pcts_default({
|
|
10911
10912
|
agent: openPlan,
|
|
10912
|
-
class: "
|
|
10913
|
+
class: "_fV"
|
|
10913
10914
|
});
|
|
10914
10915
|
_subscribe($openPlan__closures, writeScope($scope11_id, {
|
|
10915
10916
|
a: _existing_scope($childScope3),
|
|
@@ -10920,14 +10921,14 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
10920
10921
|
}, $scope4_id, "l");
|
|
10921
10922
|
_for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
|
|
10922
10923
|
const $scope8_id = _scope_id();
|
|
10923
|
-
_html(`<div${_attr_class(["
|
|
10924
|
+
_html(`<div${_attr_class(["_fP", { ["_fG"]: s.id === input.currentTab }])}>`);
|
|
10924
10925
|
_if(() => {
|
|
10925
10926
|
if (renamingId === s.id) {
|
|
10926
10927
|
const $scope10_id = _scope_id();
|
|
10927
10928
|
_html(`<span${_attr_class([
|
|
10928
10929
|
"_A",
|
|
10929
10930
|
phase[sessionPhase(s.state)],
|
|
10930
|
-
"
|
|
10931
|
+
"_f1"
|
|
10931
10932
|
])}></span>${_el_resume($scope10_id, "a", $sg__input_sessions)}`);
|
|
10932
10933
|
_set_serialize_reason({
|
|
10933
10934
|
1: $sg__input_sessions,
|
|
@@ -10937,7 +10938,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
10937
10938
|
icon_agent_default({
|
|
10938
10939
|
agent: activeAgent(s),
|
|
10939
10940
|
size: 12,
|
|
10940
|
-
class: "
|
|
10941
|
+
class: "_f5"
|
|
10941
10942
|
});
|
|
10942
10943
|
_html(`<input${_attr_input_value($scope10_id, "c", renameValue, _resume((_new_renameValue) => {
|
|
10943
10944
|
renameValue = _new_renameValue;
|
|
@@ -10956,9 +10957,9 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
10956
10957
|
icon_agent_default({
|
|
10957
10958
|
agent: activeAgent(s),
|
|
10958
10959
|
size: 12,
|
|
10959
|
-
class: "
|
|
10960
|
+
class: "_f5"
|
|
10960
10961
|
});
|
|
10961
|
-
_html(`<span${_attr_class("
|
|
10962
|
+
_html(`<span${_attr_class("_fZ")}>${_text_resume($scope9_id, "e", s.title || activeAgent(s), $sg__input_sessions)}</span></a>${_el_resume($scope9_id, "a", _serialize_guard($scope0_reason, 2))}<div${_attr_class("_f0")}><button${_attr_class(rowIcon)} title="Rename session">`);
|
|
10962
10963
|
icon_edit_default({ size: 12 });
|
|
10963
10964
|
_html(`</button>${_el_resume($scope9_id, "g")}<button${_attr_class([close, { ["_s"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
|
|
10964
10965
|
icon_xmark_default({ size: 12 });
|
|
@@ -10970,7 +10971,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
10970
10971
|
const $childScope6 = _peek_scope_id();
|
|
10971
10972
|
usage_pcts_default({
|
|
10972
10973
|
agent: openPlan,
|
|
10973
|
-
class: "
|
|
10974
|
+
class: "_fW"
|
|
10974
10975
|
});
|
|
10975
10976
|
_subscribe($openPlan__closures, writeScope($scope12_id, {
|
|
10976
10977
|
a: _existing_scope($childScope6),
|
|
@@ -11111,11 +11112,11 @@ var workspace_switcher_default = _template("K", (input) => {
|
|
|
11111
11112
|
const sessions = input.sessions || st?.sessions || [];
|
|
11112
11113
|
const manySessions = sessions.length > 1;
|
|
11113
11114
|
const heroMeta$1 = sessions.length === 0 ? "No sessions" : manySessions ? `${sessions.length} sessions` : "";
|
|
11114
|
-
_html(`<div${_attr_class("
|
|
11115
|
+
_html(`<div${_attr_class("_eS")}>`);
|
|
11115
11116
|
_if(() => {
|
|
11116
11117
|
if (ws) {
|
|
11117
11118
|
const $scope1_id = _scope_id();
|
|
11118
|
-
_html(`<section${_attr_class("
|
|
11119
|
+
_html(`<section${_attr_class("_eT")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_eU")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
|
|
11119
11120
|
_if(() => {
|
|
11120
11121
|
if (sessions.length === 1) {
|
|
11121
11122
|
const $scope8_id = _scope_id();
|
|
@@ -11127,7 +11128,7 @@ var workspace_switcher_default = _template("K", (input) => {
|
|
|
11127
11128
|
icon_agent_default({
|
|
11128
11129
|
agent: activeAgent(sessions[0]),
|
|
11129
11130
|
size: 16,
|
|
11130
|
-
class: "
|
|
11131
|
+
class: "_eY"
|
|
11131
11132
|
});
|
|
11132
11133
|
$si__input_workspace__OR__input_allStatus__OR__input_sessions && _subscribe($sessions___closures, writeScope($scope8_id, {
|
|
11133
11134
|
_: _scope_with_id($scope1_id),
|
|
@@ -11136,14 +11137,14 @@ var workspace_switcher_default = _template("K", (input) => {
|
|
|
11136
11137
|
return 0;
|
|
11137
11138
|
}
|
|
11138
11139
|
}, $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);
|
|
11139
|
-
_html(`<span${_attr_class("
|
|
11140
|
+
_html(`<span${_attr_class("_eV")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class(heroTag)}>current</span><span${_attr_class("_eX")}>${_text_resume($scope1_id, "i", heroMeta$1, $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope1_id, "b", $sg__input_workspace)}`);
|
|
11140
11141
|
_if(() => {
|
|
11141
11142
|
if (manySessions) {
|
|
11142
11143
|
const $scope2_id = _scope_id();
|
|
11143
|
-
_html(`<div${_attr_class("
|
|
11144
|
+
_html(`<div${_attr_class("_eZ")}>`);
|
|
11144
11145
|
_for_of(sessions, (s) => {
|
|
11145
11146
|
const $scope3_id = _scope_id();
|
|
11146
|
-
_html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["
|
|
11147
|
+
_html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_e1", { ["_e0"]: 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)}`);
|
|
11147
11148
|
_set_serialize_reason({
|
|
11148
11149
|
1: $sg__input_workspace__OR__input_allStatus__OR__input_sessions,
|
|
11149
11150
|
2: $sg__input_workspace__OR__input_allStatus__OR__input_sessions
|
|
@@ -11153,7 +11154,7 @@ var workspace_switcher_default = _template("K", (input) => {
|
|
|
11153
11154
|
agent: activeAgent(s),
|
|
11154
11155
|
size: 14
|
|
11155
11156
|
});
|
|
11156
|
-
_html(`<span${_attr_class("
|
|
11157
|
+
_html(`<span${_attr_class("_e2")}>${_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, 7))}`);
|
|
11157
11158
|
$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, {
|
|
11158
11159
|
h: $si__input_tab && s?.id,
|
|
11159
11160
|
_: _scope_with_id($scope2_id),
|
|
@@ -11182,7 +11183,7 @@ var workspace_switcher_default = _template("K", (input) => {
|
|
|
11182
11183
|
_if(() => {
|
|
11183
11184
|
if (input.ids.length) {
|
|
11184
11185
|
const $scope4_id = _scope_id();
|
|
11185
|
-
_html(`<div${_attr_class("
|
|
11186
|
+
_html(`<div${_attr_class("_e3")}>`);
|
|
11186
11187
|
_for_of(input.ids, (id) => {
|
|
11187
11188
|
const $scope5_id = _scope_id();
|
|
11188
11189
|
const w = input.byId.get(id);
|
|
@@ -11231,7 +11232,7 @@ var workspace_switcher_default = _template("K", (input) => {
|
|
|
11231
11232
|
const rp = phaseOf(rs);
|
|
11232
11233
|
const rowSessions = rs?.sessions || [];
|
|
11233
11234
|
const many = rowSessions.length > 1;
|
|
11234
|
-
_html(`<div${_attr_class("
|
|
11235
|
+
_html(`<div${_attr_class("_e4")}><a${_attr("href", `/w/${id}`)}${_attr_class("_e5")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope7_id, "c", $sg__input_allStatus__OR__input_ids)}`);
|
|
11235
11236
|
_if(() => {
|
|
11236
11237
|
if (rowSessions.length === 1) {
|
|
11237
11238
|
const $scope9_id = _scope_id();
|
|
@@ -11243,7 +11244,7 @@ var workspace_switcher_default = _template("K", (input) => {
|
|
|
11243
11244
|
icon_agent_default({
|
|
11244
11245
|
agent: activeAgent(rowSessions[0]),
|
|
11245
11246
|
size: 16,
|
|
11246
|
-
class: "
|
|
11247
|
+
class: "_e7"
|
|
11247
11248
|
});
|
|
11248
11249
|
$si__input_allStatus__OR__input_ids && writeScope($scope9_id, {
|
|
11249
11250
|
_: _scope_with_id($scope7_id),
|
|
@@ -11252,7 +11253,7 @@ var workspace_switcher_default = _template("K", (input) => {
|
|
|
11252
11253
|
return 0;
|
|
11253
11254
|
}
|
|
11254
11255
|
}, $scope7_id, "d", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids);
|
|
11255
|
-
_html(`<span${_attr_class("
|
|
11256
|
+
_html(`<span${_attr_class("_e6")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
|
|
11256
11257
|
_if(() => {
|
|
11257
11258
|
if (many) {
|
|
11258
11259
|
const $scope10_id = _scope_id();
|
|
@@ -11263,7 +11264,7 @@ var workspace_switcher_default = _template("K", (input) => {
|
|
|
11263
11264
|
}, $scope7_id, "g", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, 0, 1);
|
|
11264
11265
|
icon_chevron_right_default({
|
|
11265
11266
|
size: 14,
|
|
11266
|
-
class: "
|
|
11267
|
+
class: "_e9"
|
|
11267
11268
|
});
|
|
11268
11269
|
_html(`</a>${_el_resume($scope7_id, "b", $sg__input_ids)}`);
|
|
11269
11270
|
_set_serialize_reason($sg__input_ids);
|
|
@@ -11383,13 +11384,13 @@ var usage_bars_default = _template("G", (input) => {
|
|
|
11383
11384
|
if (windows.length) {
|
|
11384
11385
|
const $scope1_id = _scope_id();
|
|
11385
11386
|
_html(`<span${_attr_class([
|
|
11386
|
-
"
|
|
11387
|
+
"_hY",
|
|
11387
11388
|
input.class,
|
|
11388
|
-
{ ["
|
|
11389
|
+
{ ["_hZ"]: agent.stale_seconds != null }
|
|
11389
11390
|
])} role=img${_attr("aria-label", `Plan usage: ${summary}`)}${agent.stale_seconds != null ? _attr("title", `${summary} — ${agent.note || "provider unreachable"}; last cached numbers`) : _attr("title", summary)}>`);
|
|
11390
11391
|
_for_of(windows, (win) => {
|
|
11391
11392
|
const $scope2_id = _scope_id();
|
|
11392
|
-
_html(`<span${_attr_class(["
|
|
11393
|
+
_html(`<span${_attr_class(["_h0", win.used_percent >= 90 ? "_h4" : win.used_percent >= 70 ? "_h3" : win.used_percent >= 40 ? "_h2" : "_h1"])}${_attr_style(`--pct:${Math.max(2, Math.min(100, win.used_percent))}%`)}></span>${_el_resume($scope2_id, "a", $sg__input_agent)}`);
|
|
11393
11394
|
$si__input_agent && writeScope($scope2_id, {});
|
|
11394
11395
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
11395
11396
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -11421,7 +11422,7 @@ var nav_usage_default = _template("p", (input) => {
|
|
|
11421
11422
|
const plan = openSess ? usageFor$1(openSess.agent, usage) : null;
|
|
11422
11423
|
const all = usage?.agents || [];
|
|
11423
11424
|
const peak = Math.max(0, ...(plan?.windows || []).map((w) => w.used_percent));
|
|
11424
|
-
const ringTone = _resume((pct) => pct >= 90 ? "
|
|
11425
|
+
const ringTone = _resume((pct) => pct >= 90 ? "_eR" : pct >= 70 ? "_eQ" : pct >= 40 ? "_eP" : "_eO", "p0");
|
|
11425
11426
|
let card$2 = null;
|
|
11426
11427
|
const showCard = _resume((el) => {
|
|
11427
11428
|
const r = el.getBoundingClientRect();
|
|
@@ -11433,18 +11434,18 @@ var nav_usage_default = _template("p", (input) => {
|
|
|
11433
11434
|
_if(() => {
|
|
11434
11435
|
if (plan) {
|
|
11435
11436
|
const $scope1_id = _scope_id();
|
|
11436
|
-
_html(`<span${_attr_class("
|
|
11437
|
+
_html(`<span${_attr_class("_eI")} tabindex=0>`);
|
|
11437
11438
|
_set_serialize_reason(1);
|
|
11438
11439
|
const $childScope = _peek_scope_id();
|
|
11439
11440
|
usage_bars_default({
|
|
11440
|
-
class: "
|
|
11441
|
+
class: "_eK",
|
|
11441
11442
|
agent: plan
|
|
11442
11443
|
});
|
|
11443
|
-
_html(`<svg${_attr_class(["
|
|
11444
|
+
_html(`<svg${_attr_class(["_eL", ringTone(peak)])} viewBox="0 0 16 16" width=16 height=16 aria-hidden=true><circle${_attr_class("_eM")} cx=8 cy=8 r=6.5></circle><circle${_attr_class("_eN")} cx=8 cy=8 r=6.5${_attr_style(`stroke-dasharray:${Math.max(2, Math.min(100, peak)) / 100 * 40.84} 40.84`)}></circle>${_el_resume($scope1_id, "e")}</svg>${_el_resume($scope1_id, "c")}</span>${_el_resume($scope1_id, "a")}`);
|
|
11444
11445
|
_if(() => {
|
|
11445
11446
|
if (card$2) {
|
|
11446
11447
|
const $scope2_id = _scope_id();
|
|
11447
|
-
_html(`<div${_attr_class(["__", "
|
|
11448
|
+
_html(`<div${_attr_class(["__", "_eJ"])}${_attr_style(`left:${card$2.left}px;bottom:${card$2.bottom}px`)} role=tooltip>`);
|
|
11448
11449
|
_for_of(all, (a) => {
|
|
11449
11450
|
const $scope3_id = _scope_id();
|
|
11450
11451
|
_set_serialize_reason(6);
|
|
@@ -11543,14 +11544,14 @@ var side_nav_default = _template("A", (input) => {
|
|
|
11543
11544
|
const backHref = ws ? `/w/${ws.id}` : "/new";
|
|
11544
11545
|
const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
|
|
11545
11546
|
const pageIds = orderedIds.filter((id) => id !== ws?.id);
|
|
11546
|
-
_html(`<aside${_attr_class(["
|
|
11547
|
-
["
|
|
11548
|
-
["
|
|
11547
|
+
_html(`<aside${_attr_class(["_bT", {
|
|
11548
|
+
["_bR"]: !navOpen,
|
|
11549
|
+
["_bS"]: isPage
|
|
11549
11550
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
11550
11551
|
_if(() => {
|
|
11551
11552
|
if (isPage) {
|
|
11552
11553
|
const $scope1_id = _scope_id();
|
|
11553
|
-
_html(`<div${_attr_class("
|
|
11554
|
+
_html(`<div${_attr_class("_bW")}>`);
|
|
11554
11555
|
_set_serialize_reason({
|
|
11555
11556
|
3: $sg__input_instanceName,
|
|
11556
11557
|
6: $sg__input_instanceName
|
|
@@ -11559,7 +11560,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
11559
11560
|
if (input.instanceName) $meta = attrTag({ content: _content_resume("A12", () => {
|
|
11560
11561
|
_scope_reason();
|
|
11561
11562
|
const $scope2_id = _scope_id();
|
|
11562
|
-
_html(`<span${_attr_class("
|
|
11563
|
+
_html(`<span${_attr_class("_bX")} title="This work server (Settings → Appearance)"><img${_attr_class("_b0")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}${_text_resume($scope2_id, "c", input.instanceName, $sg__input_instanceName)}</span>`);
|
|
11563
11564
|
_subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
|
|
11564
11565
|
_resume_branch($scope2_id);
|
|
11565
11566
|
}, $scope1_id) });
|
|
@@ -11574,7 +11575,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
11574
11575
|
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
|
|
11575
11576
|
iconBtnRow,
|
|
11576
11577
|
iconBtn,
|
|
11577
|
-
{ ["
|
|
11578
|
+
{ ["_bO"]: view === "settings" }
|
|
11578
11579
|
])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
11579
11580
|
icon_settings_default({ size: 16 });
|
|
11580
11581
|
_if(() => {
|
|
@@ -11598,7 +11599,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
11598
11599
|
_if(() => {
|
|
11599
11600
|
if (!isPage && input.instanceName) {
|
|
11600
11601
|
const $scope4_id = _scope_id();
|
|
11601
|
-
_html(`<div${_attr_class("
|
|
11602
|
+
_html(`<div${_attr_class("_bZ")} title="This work server (Settings → Appearance)"><img${_attr_class("_b0")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope4_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_b1")}>${_text_resume($scope4_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
|
|
11602
11603
|
writeScope($scope4_id, {});
|
|
11603
11604
|
return 0;
|
|
11604
11605
|
}
|
|
@@ -11638,7 +11639,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
11638
11639
|
return 0;
|
|
11639
11640
|
} else if (navOpen) {
|
|
11640
11641
|
const $scope6_id = _scope_id();
|
|
11641
|
-
_html(`<div${_attr_class("
|
|
11642
|
+
_html(`<div${_attr_class("_b2")}>`);
|
|
11642
11643
|
_for_of(orderedIds, (wsId) => {
|
|
11643
11644
|
const $scope7_id = _scope_id();
|
|
11644
11645
|
_set_serialize_reason({
|
|
@@ -11725,7 +11726,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
11725
11726
|
railHover = null;
|
|
11726
11727
|
}, 150);
|
|
11727
11728
|
}, "A6", $scope8_id);
|
|
11728
|
-
_html(`<div${_attr_class("
|
|
11729
|
+
_html(`<div${_attr_class("_b3")}>`);
|
|
11729
11730
|
_for_of(orderedIds, (wsId, i) => {
|
|
11730
11731
|
const $scope9_id = _scope_id();
|
|
11731
11732
|
_html("<span>");
|
|
@@ -11782,7 +11783,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
11782
11783
|
if (railHover) {
|
|
11783
11784
|
const $scope10_id = _scope_id();
|
|
11784
11785
|
const hoverId = railHover.id;
|
|
11785
|
-
_html(`<div${_attr_class(["__", "
|
|
11786
|
+
_html(`<div${_attr_class(["__", "_b6"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
|
|
11786
11787
|
_set_serialize_reason({
|
|
11787
11788
|
0: 1,
|
|
11788
11789
|
1: 1,
|
|
@@ -11876,14 +11877,14 @@ var side_nav_default = _template("A", (input) => {
|
|
|
11876
11877
|
return 0;
|
|
11877
11878
|
}
|
|
11878
11879
|
}, $scope0_id, "e");
|
|
11879
|
-
_html(`<div${_attr_class("
|
|
11880
|
+
_html(`<div${_attr_class("_b4")}>`);
|
|
11880
11881
|
_if(() => {
|
|
11881
11882
|
if (isPage) {
|
|
11882
11883
|
const $scope12_id = _scope_id();
|
|
11883
11884
|
_html(`<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([
|
|
11884
11885
|
"_q",
|
|
11885
11886
|
btnLg,
|
|
11886
|
-
"
|
|
11887
|
+
"_bY"
|
|
11887
11888
|
])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
11888
11889
|
icon_folder_plus_default({ size: 16 });
|
|
11889
11890
|
_html(` New workspace</a>${_el_resume($scope12_id, "a")}`);
|
|
@@ -11915,9 +11916,9 @@ var side_nav_default = _template("A", (input) => {
|
|
|
11915
11916
|
sessions: input.sessions,
|
|
11916
11917
|
tab: view === "term" ? tab : null
|
|
11917
11918
|
});
|
|
11918
|
-
_html(`<div${_attr_class(["_z", "
|
|
11919
|
+
_html(`<div${_attr_class(["_z", "_b5"])}></div>`);
|
|
11919
11920
|
_if(() => {}, $scope11_id, "d", 1, 1, 1, 0, 1);
|
|
11920
|
-
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["
|
|
11921
|
+
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["_bO"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
11921
11922
|
icon_settings_default({});
|
|
11922
11923
|
_if(() => {
|
|
11923
11924
|
if (input.setupReady === false) {
|
|
@@ -11927,7 +11928,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
11927
11928
|
return 0;
|
|
11928
11929
|
}
|
|
11929
11930
|
}, $scope11_id, "g", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
11930
|
-
_html(`</a>${_el_resume($scope11_id, "e")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["
|
|
11931
|
+
_html(`</a>${_el_resume($scope11_id, "e")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["_bO"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
11931
11932
|
icon_folder_plus_default({ size: 16 });
|
|
11932
11933
|
_html(`</a>${_el_resume($scope11_id, "h")}`);
|
|
11933
11934
|
_script($scope11_id, "A17");
|
|
@@ -12951,8 +12952,8 @@ function markdownFence(body) {
|
|
|
12951
12952
|
function indent(text) {
|
|
12952
12953
|
return text.split("\n").map((line) => line ? ` ${line}` : line).join("\n");
|
|
12953
12954
|
}
|
|
12954
|
-
var treeToggle = "
|
|
12955
|
-
var pageTitle = "
|
|
12955
|
+
var treeToggle = "_gC _5 _l";
|
|
12956
|
+
var pageTitle = "_gJ _eb";
|
|
12956
12957
|
//#endregion
|
|
12957
12958
|
//#region src/tags/diff-send.marko
|
|
12958
12959
|
var diff_send_default = _template("i", (input) => {
|
|
@@ -12962,7 +12963,7 @@ var diff_send_default = _template("i", (input) => {
|
|
|
12962
12963
|
let sendTarget = null;
|
|
12963
12964
|
const sessions = input.sessions || [];
|
|
12964
12965
|
const sendPick = sessions.some((s) => s.id === sendTarget) ? sendTarget : sessions[0]?.id ?? null;
|
|
12965
|
-
_html(`<span${_attr_class("
|
|
12966
|
+
_html(`<span${_attr_class("_h5")}><button type=button${_attr_class("_q")} title="Copy comments as markdown">${_text_resume($scope0_id, "c", "Copy")}</button>${_el_resume($scope0_id, "b")}`);
|
|
12966
12967
|
_if(() => {
|
|
12967
12968
|
if (sessions.length === 1) {
|
|
12968
12969
|
const $scope1_id = _scope_id();
|
|
@@ -12972,11 +12973,11 @@ var diff_send_default = _template("i", (input) => {
|
|
|
12972
12973
|
return 0;
|
|
12973
12974
|
} else if (sessions.length) {
|
|
12974
12975
|
const $scope2_id = _scope_id();
|
|
12975
|
-
_html(`<span${_attr_class("
|
|
12976
|
+
_html(`<span${_attr_class("_h6")}><button type=button${_attr_class(["_r", "_h7"])}${_attr("disabled", sending)}>${_text_resume($scope2_id, "c", "Send to")}</button>${_el_resume($scope2_id, "b")}`);
|
|
12976
12977
|
_attr_select_value($scope2_id, "d", sendTarget, _resume((_new_sendTarget) => {
|
|
12977
12978
|
sendTarget = _new_sendTarget;
|
|
12978
12979
|
}, "i0", $scope2_id), () => {
|
|
12979
|
-
_html(`<select${_attr_class("
|
|
12980
|
+
_html(`<select${_attr_class("_h8")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
|
|
12980
12981
|
_for_of(sessions, (s) => {
|
|
12981
12982
|
const $scope3_id = _scope_id();
|
|
12982
12983
|
_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)}`);
|
|
@@ -13003,8 +13004,8 @@ var diff_send_default = _template("i", (input) => {
|
|
|
13003
13004
|
});
|
|
13004
13005
|
_resume_branch($scope0_id);
|
|
13005
13006
|
});
|
|
13006
|
-
var findInput = "
|
|
13007
|
-
var findIconBtn = "
|
|
13007
|
+
var findInput = "_ei _n";
|
|
13008
|
+
var findIconBtn = "_el _l";
|
|
13008
13009
|
//#endregion
|
|
13009
13010
|
//#region src/tags/icons/icon-arrow-down.marko
|
|
13010
13011
|
var icon_arrow_down_default = _template("N", (input) => {
|
|
@@ -13095,18 +13096,18 @@ var diff_find_default = _template("h", (input) => {
|
|
|
13095
13096
|
}, 0);
|
|
13096
13097
|
}, "h0", $scope0_id);
|
|
13097
13098
|
_html(`<div${_attr_class([
|
|
13098
|
-
"
|
|
13099
|
-
input.keybar && "
|
|
13100
|
-
!open && "
|
|
13101
|
-
])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("
|
|
13099
|
+
"_eg",
|
|
13100
|
+
input.keybar && "_ep",
|
|
13101
|
+
!open && "_ef"
|
|
13102
|
+
])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("_eh")} aria-hidden=true>`);
|
|
13102
13103
|
icon_search_default({ size: 13 });
|
|
13103
13104
|
_html(`</span><input${_attr_input_value($scope0_id, "d", query || "", _resume(function(v) {
|
|
13104
13105
|
type(v);
|
|
13105
|
-
}, "h1", $scope0_id))}${_attr_class([findInput, input.keybar && "
|
|
13106
|
+
}, "h1", $scope0_id))}${_attr_class([findInput, input.keybar && "_er"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "d")}<span${_attr_class("_ek")}>${_text_resume($scope0_id, "f", open && (query || "").trim() ? hits.length ? `${at + 1}/${hits.length}` : "0/0" : "")}</span><button type=button${_attr_class([findIconBtn, input.keybar && "_es"])} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
|
|
13106
13107
|
icon_arrow_up_default({ size: 14 });
|
|
13107
|
-
_html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class([findIconBtn, input.keybar && "
|
|
13108
|
+
_html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class([findIconBtn, input.keybar && "_es"])} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
|
|
13108
13109
|
icon_arrow_down_default({ size: 14 });
|
|
13109
|
-
_html(`</button>${_el_resume($scope0_id, "i")}<button type=button${_attr_class([findIconBtn, input.keybar && "
|
|
13110
|
+
_html(`</button>${_el_resume($scope0_id, "i")}<button type=button${_attr_class([findIconBtn, input.keybar && "_es"])} title="Close find"${_attr("hidden", input.pinned)} tabindex=${open ? "0" : "-1"}>`);
|
|
13110
13111
|
icon_xmark_default({ size: 14 });
|
|
13111
13112
|
_html(`</button>${_el_resume($scope0_id, "k")}</div>${_el_resume($scope0_id, "a")}`);
|
|
13112
13113
|
const $return = focusInput;
|
|
@@ -13206,8 +13207,8 @@ function shortBranch(name, wsBranch = "", wsName = "") {
|
|
|
13206
13207
|
}
|
|
13207
13208
|
return shortHeadFallback(head);
|
|
13208
13209
|
}
|
|
13209
|
-
var repoWorktree = "
|
|
13210
|
-
var repoTitle = "
|
|
13210
|
+
var repoWorktree = "_jv _y";
|
|
13211
|
+
var repoTitle = "_jB _x";
|
|
13211
13212
|
//#endregion
|
|
13212
13213
|
//#region src/tags/review-head.marko
|
|
13213
13214
|
var review_head_default = _template("u", (input) => {
|
|
@@ -13215,7 +13216,7 @@ var review_head_default = _template("u", (input) => {
|
|
|
13215
13216
|
const $scope0_id = _scope_id();
|
|
13216
13217
|
const repo = input.repo;
|
|
13217
13218
|
const compare$1 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch, input.workspaceName);
|
|
13218
|
-
_html(`<div${_attr_class("
|
|
13219
|
+
_html(`<div${_attr_class("_js")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}><button type=button${_attr_class("_ju")} title="Scroll to this section"><span${_attr_class(repoWorktree)}>${_text_resume($scope0_id, "d", repo.worktree, $sg__input_repo)}</span></button>${_el_resume($scope0_id, "b")}`);
|
|
13219
13220
|
_if(() => {
|
|
13220
13221
|
if (repo.pr) {
|
|
13221
13222
|
const $scope6_id = _scope_id();
|
|
@@ -13224,19 +13225,19 @@ var review_head_default = _template("u", (input) => {
|
|
|
13224
13225
|
return 0;
|
|
13225
13226
|
} else {
|
|
13226
13227
|
const $scope7_id = _scope_id();
|
|
13227
|
-
_html(`<span${_attr_class([repoTitle, "
|
|
13228
|
+
_html(`<span${_attr_class([repoTitle, "_jC"])}>${_text_resume($scope7_id, "b", repoLabel$1(repo.full_name), $sg__input_repo)}</span>`);
|
|
13228
13229
|
$si__input_repo && writeScope($scope7_id, { _: _scope_with_id($scope0_id) });
|
|
13229
13230
|
return 1;
|
|
13230
13231
|
}
|
|
13231
13232
|
}, $scope0_id, "e", $sg__input_repo, $sg__input_repo, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers__OR__input_additions__OR__input_deletions__OR__input_hiddenCount__OR__input_newCount__OR__input_onlyNew);
|
|
13232
|
-
_html(`<span${_attr_class("
|
|
13233
|
+
_html(`<span${_attr_class("_jD")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_N", "_jE"])}>${_text_resume($scope0_id, "h", compare$1.base, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_P", "_jG"])} aria-hidden=true>vs</span><span${_attr_class(["_N", "_jF"])}>${_text_resume($scope0_id, "k", compare$1.head, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
|
|
13233
13234
|
_if(() => {
|
|
13234
13235
|
if (compare$1.topic) {
|
|
13235
13236
|
const $scope10_id = _scope_id();
|
|
13236
13237
|
_html(`<span${_attr_class([
|
|
13237
13238
|
"_N",
|
|
13238
13239
|
tone.accent,
|
|
13239
|
-
"
|
|
13240
|
+
"_jH"
|
|
13240
13241
|
])}>${_text_resume($scope10_id, "b", compare$1.topic, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
|
|
13241
13242
|
$si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && writeScope($scope10_id, { _: _scope_with_id($scope0_id) });
|
|
13242
13243
|
return 0;
|
|
@@ -13246,7 +13247,7 @@ var review_head_default = _template("u", (input) => {
|
|
|
13246
13247
|
_if(() => {
|
|
13247
13248
|
if (repo.rev) {
|
|
13248
13249
|
const $scope8_id = _scope_id();
|
|
13249
|
-
_html(`<span${_attr_class(["_N", "
|
|
13250
|
+
_html(`<span${_attr_class(["_N", "_jI"])} title="One commit against its parent">commit ${_text_resume($scope8_id, "b", shortSha(repo.rev, 7), $sg__input_repo * 2)}</span>`);
|
|
13250
13251
|
$si__input_repo && writeScope($scope8_id, { _: _scope_with_id($scope0_id) });
|
|
13251
13252
|
return 0;
|
|
13252
13253
|
}
|
|
@@ -13257,7 +13258,7 @@ var review_head_default = _template("u", (input) => {
|
|
|
13257
13258
|
_html(`<button type=button${_attr_class([
|
|
13258
13259
|
"_N",
|
|
13259
13260
|
tone.warn,
|
|
13260
|
-
"
|
|
13261
|
+
"_jI"
|
|
13261
13262
|
])}${_attr("title", `origin/${repo.pr.headRefName} ${repo.head} · GitHub ${repo.pr.headRefOid}. Reload to re-ask GitHub`)}${_attr("disabled", input.loading)}>behind GitHub ${_text_resume($scope1_id, "b", shortSha(repo.head, 7), $sg__input_repo * 2)} → ${_text_resume($scope1_id, "c", shortSha(repo.pr.headRefOid, 7), $sg__input_repo * 2)}</button>${_el_resume($scope1_id, "a")}`);
|
|
13262
13263
|
_script($scope1_id, "u0");
|
|
13263
13264
|
writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -13267,7 +13268,7 @@ var review_head_default = _template("u", (input) => {
|
|
|
13267
13268
|
_if(() => {
|
|
13268
13269
|
if (repo.contained && input.fileCount) {
|
|
13269
13270
|
const $scope9_id = _scope_id();
|
|
13270
|
-
_html(`<span${_attr_class(["_N", "
|
|
13271
|
+
_html(`<span${_attr_class(["_N", "_jI"])}${_attr("title", `${repo.pr ? `#${repo.pr.number}` : repo.branch} is already in ${repo.base}; showing the working tree only`)}>already in ${_text_resume($scope9_id, "b", repo.base, $sg__input_repo * 2)}</span>${_el_resume($scope9_id, "a", $sg__input_repo)}`);
|
|
13271
13272
|
$si__input_repo__OR__input_fileCount && writeScope($scope9_id, { _: $si__input_repo && _scope_with_id($scope0_id) });
|
|
13272
13273
|
return 0;
|
|
13273
13274
|
}
|
|
@@ -13275,16 +13276,16 @@ var review_head_default = _template("u", (input) => {
|
|
|
13275
13276
|
_if(() => {
|
|
13276
13277
|
if (input.localDiffers) {
|
|
13277
13278
|
const $scope2_id = _scope_id();
|
|
13278
|
-
_html(`<span${_attr_class(["_N", "
|
|
13279
|
+
_html(`<span${_attr_class(["_N", "_jI"])}${_attr("title", `This view is ${shortSha(repo.head)} (${repo.pr.headRefName}); checked out is ${shortSha(repo.localHead)} (${repo.branch})`)}>local ${_text_resume($scope2_id, "b", shortBranch(repo.branch, input.workspaceBranch, input.workspaceName), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName * 2)}${_text_resume($scope2_id, "c", shortSha(repo.localHead, 7), $sg__input_repo * 2)}</span>${_el_resume($scope2_id, "a", $sg__input_repo)}`);
|
|
13279
13280
|
$si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers && writeScope($scope2_id, { _: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && _scope_with_id($scope0_id) });
|
|
13280
13281
|
return 0;
|
|
13281
13282
|
}
|
|
13282
13283
|
}, $scope0_id, "p", _serialize_guard($scope0_reason, 9), _serialize_guard($scope0_reason, 14), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers__OR__input_additions__OR__input_deletions__OR__input_hiddenCount__OR__input_newCount__OR__input_onlyNew, 0, 1);
|
|
13283
|
-
_html(`<span${_attr_class("
|
|
13284
|
+
_html(`<span${_attr_class("_jw")}><span>${_text_resume($scope0_id, "r", input.fileCount, $sg__input_fileCount)} file${_text_resume($scope0_id, "s", input.fileCount === 1 ? "" : "s", $sg__input_fileCount * 2)}</span>`);
|
|
13284
13285
|
_if(() => {
|
|
13285
13286
|
if (input.additions || input.deletions) {
|
|
13286
13287
|
const $scope3_id = _scope_id();
|
|
13287
|
-
_html(`<span${_attr_class("
|
|
13288
|
+
_html(`<span${_attr_class("_jx")}>+${_text_resume($scope3_id, "b", input.additions, _serialize_guard($scope0_reason, 15) * 2)}</span><span${_attr_class("_jy")}>−${_text_resume($scope3_id, "d", input.deletions, _serialize_guard($scope0_reason, 16) * 2)}</span>`);
|
|
13288
13289
|
$si__input_additions__OR__input_deletions && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
13289
13290
|
return 0;
|
|
13290
13291
|
}
|
|
@@ -13292,7 +13293,7 @@ var review_head_default = _template("u", (input) => {
|
|
|
13292
13293
|
_if(() => {
|
|
13293
13294
|
if (input.hiddenCount) {
|
|
13294
13295
|
const $scope4_id = _scope_id();
|
|
13295
|
-
_html(`<button type=button${_attr_class("
|
|
13296
|
+
_html(`<button type=button${_attr_class("_jA")} title="Filtered out of the list — show every file">${_text_resume($scope4_id, "b", input.hiddenCount, $sg__input_hiddenCount)} hidden</button>${_el_resume($scope4_id, "a")}`);
|
|
13296
13297
|
_script($scope4_id, "u1");
|
|
13297
13298
|
writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
13298
13299
|
return 0;
|
|
@@ -13301,7 +13302,7 @@ var review_head_default = _template("u", (input) => {
|
|
|
13301
13302
|
_if(() => {
|
|
13302
13303
|
if (input.newCount || input.onlyNew) {
|
|
13303
13304
|
const $scope5_id = _scope_id();
|
|
13304
|
-
_html(`<button type=button${_attr_class(["
|
|
13305
|
+
_html(`<button type=button${_attr_class(["_jA", { ["_jz"]: input.onlyNew }])} aria-pressed=${input.onlyNew ? "true" : "false"} title=${input.onlyNew ? "\"Show every file\"" : "\"Show only files changed since your last visit\""}>${_text_resume($scope5_id, "b", input.newCount, _serialize_guard($scope0_reason, 18))} new</button>${_el_resume($scope5_id, "a")}`);
|
|
13305
13306
|
_script($scope5_id, "u2");
|
|
13306
13307
|
writeScope($scope5_id, { _: _scope_with_id($scope0_id) });
|
|
13307
13308
|
return 0;
|
|
@@ -13341,7 +13342,7 @@ var review_head_default = _template("u", (input) => {
|
|
|
13341
13342
|
b4: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && compare$1?.topic
|
|
13342
13343
|
});
|
|
13343
13344
|
});
|
|
13344
|
-
var fileFilter = "
|
|
13345
|
+
var fileFilter = "_jK _n";
|
|
13345
13346
|
//#endregion
|
|
13346
13347
|
//#region src/tags/file-filter.marko
|
|
13347
13348
|
var file_filter_default = _template("j", (input) => {
|
|
@@ -13371,7 +13372,7 @@ var file_filter_default = _template("j", (input) => {
|
|
|
13371
13372
|
pending = v;
|
|
13372
13373
|
box.timer = setTimeout(flush, 150);
|
|
13373
13374
|
}, "j2", $scope0_id);
|
|
13374
|
-
_html(`<div${_attr_class("
|
|
13375
|
+
_html(`<div${_attr_class("_jJ")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
|
|
13375
13376
|
type(v);
|
|
13376
13377
|
}, "j0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
|
|
13377
13378
|
_script($scope0_id, "j3");
|
|
@@ -13417,7 +13418,7 @@ var review_tree_default = _template("v", (input) => {
|
|
|
13417
13418
|
dragging$1 = false;
|
|
13418
13419
|
if (width != null) setDiffTreeWidth(width);
|
|
13419
13420
|
}, "v2", $scope0_id);
|
|
13420
|
-
_html(`<div${_attr_class(["
|
|
13421
|
+
_html(`<div${_attr_class(["_je", { ["_jd"]: input.open === false }])}${width != null ? _attr_style(`--tree-w:${width}px`) : ""}><div${_attr_class(["_jr", { ["_jq"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class("_jf")}>`);
|
|
13421
13422
|
_set_serialize_reason(2);
|
|
13422
13423
|
const $childScope = _peek_scope_id();
|
|
13423
13424
|
file_filter_default({
|
|
@@ -13426,22 +13427,22 @@ var review_tree_default = _template("v", (input) => {
|
|
|
13426
13427
|
filter$1 = _new_filter;
|
|
13427
13428
|
}, "v3", $scope0_id)
|
|
13428
13429
|
});
|
|
13429
|
-
_html(`</div><div${_attr_class("
|
|
13430
|
+
_html(`</div><div${_attr_class("_jg")}>`);
|
|
13430
13431
|
_for_of(input.sections, (section) => {
|
|
13431
13432
|
const $scope1_id = _scope_id();
|
|
13432
|
-
_html(`<div${_attr_class(["
|
|
13433
|
+
_html(`<div${_attr_class(["_ji", { ["_jh"]: input.sections.length === 1 }])}${_attr("data-section", section.id)}>`);
|
|
13433
13434
|
_if(() => {
|
|
13434
13435
|
if (input.sections.length > 1) {
|
|
13435
13436
|
const $scope2_id = _scope_id();
|
|
13436
|
-
_html(`<button type=button${_attr_class("
|
|
13437
|
+
_html(`<button type=button${_attr_class("_jj")}${_attr("title", section.label)} aria-expanded=${closed$4.has(section.id) ? "false" : "true"}><span${_attr_class(["_jk", { ["_jl"]: !closed$4.has(section.id) }])} aria-hidden=true>`);
|
|
13437
13438
|
icon_chevron_right_default({ size: 12 });
|
|
13438
|
-
_html(`</span>${_el_resume($scope2_id, "b")}<span${_attr_class("
|
|
13439
|
+
_html(`</span>${_el_resume($scope2_id, "b")}<span${_attr_class("_jm")}>${_text_resume($scope2_id, "e", section.label, $sg__input_sections)}</span><span${_attr_class("_jn")}>${_text_resume($scope2_id, "g", section.files.length, $sg__input_sections)}</span></button>${_el_resume($scope2_id, "a")}`);
|
|
13439
13440
|
_script($scope2_id, "v4");
|
|
13440
13441
|
_subscribe($closed__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }));
|
|
13441
13442
|
return 0;
|
|
13442
13443
|
}
|
|
13443
13444
|
}, $scope1_id, "b", $sg__input_sections, $sg__input_sections_length, $sg__input_sections_length, 0, 1);
|
|
13444
|
-
_html(`<div${_attr_class(["
|
|
13445
|
+
_html(`<div${_attr_class(["_jp", { ["_jo"]: input.sections.length === 1 }])}${_attr("data-tree", section.id)}${_attr("hidden", closed$4.has(section.id))}></div>${_el_resume($scope1_id, "c")}</div>${_el_resume($scope1_id, "a", $sg__input_sections)}`);
|
|
13445
13446
|
writeScope($scope1_id, {
|
|
13446
13447
|
f: section?.id,
|
|
13447
13448
|
h: $si__input_sections_length && section?.label,
|
|
@@ -13473,7 +13474,7 @@ var review_tree_default = _template("v", (input) => {
|
|
|
13473
13474
|
});
|
|
13474
13475
|
_resume_branch($scope0_id);
|
|
13475
13476
|
});
|
|
13476
|
-
var sheetDir = "
|
|
13477
|
+
var sheetDir = "_i8 _bb";
|
|
13477
13478
|
//#endregion
|
|
13478
13479
|
//#region src/tags/icons/icon-comment.marko
|
|
13479
13480
|
var icon_comment_default = _template("Z", (input) => {
|
|
@@ -13546,9 +13547,9 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
13546
13547
|
_if(() => {
|
|
13547
13548
|
if (open) {
|
|
13548
13549
|
const $scope1_id = _scope_id();
|
|
13549
|
-
_html(`<div${_attr_class("
|
|
13550
|
+
_html(`<div${_attr_class("_iZ")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_i0")} role=dialog aria-label="Jump to file"><div${_attr_class("_i1")}><strong${_attr_class("_iY")}>Files</strong><span${_attr_class("_i2")}>${_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, "_iX"])} title=Close aria-label=Close>`);
|
|
13550
13551
|
icon_xmark_default({ size: 16 });
|
|
13551
|
-
_html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("
|
|
13552
|
+
_html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_i_")}>`);
|
|
13552
13553
|
_set_serialize_reason(2);
|
|
13553
13554
|
const $childScope = _peek_scope_id();
|
|
13554
13555
|
file_filter_default({
|
|
@@ -13557,13 +13558,13 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
13557
13558
|
filter = _new_filter;
|
|
13558
13559
|
}, "g1", $scope1_id)
|
|
13559
13560
|
});
|
|
13560
|
-
_html(`</div><div${_attr_class("
|
|
13561
|
+
_html(`</div><div${_attr_class("_i3")}>`);
|
|
13561
13562
|
_for_of(groups, (group) => {
|
|
13562
13563
|
const $scope2_id = _scope_id();
|
|
13563
|
-
_html(`<div${_attr_class("
|
|
13564
|
+
_html(`<div${_attr_class("_i4")}><div${_attr_class("_i5")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
|
|
13564
13565
|
_for_of(group.dirs, ({ dir, files }) => {
|
|
13565
13566
|
const $scope3_id = _scope_id();
|
|
13566
|
-
_html(`<div${_attr_class("
|
|
13567
|
+
_html(`<div${_attr_class("_i6")}>`);
|
|
13567
13568
|
_if(() => {
|
|
13568
13569
|
if (dir) {
|
|
13569
13570
|
const $scope5_id = _scope_id();
|
|
@@ -13574,11 +13575,11 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
13574
13575
|
}, $scope3_id, "b", $sg__input_files, $sg__input_files, $sg__input_files, 0, 1);
|
|
13575
13576
|
_for_of(files, ({ file, name }) => {
|
|
13576
13577
|
const $scope4_id = _scope_id();
|
|
13577
|
-
_html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["
|
|
13578
|
+
_html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_i7", "_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("_i9")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
|
|
13578
13579
|
_if(() => {
|
|
13579
13580
|
if (newKeys.has(file.key)) {
|
|
13580
13581
|
const $scope6_id = _scope_id();
|
|
13581
|
-
_html(`<span${_attr_class(["_A", "
|
|
13582
|
+
_html(`<span${_attr_class(["_A", "_jb"])} title="Changed since your last visit"></span>`);
|
|
13582
13583
|
_serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
|
|
13583
13584
|
return 0;
|
|
13584
13585
|
}
|
|
@@ -13588,7 +13589,7 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
13588
13589
|
const $scope7_id = _scope_id();
|
|
13589
13590
|
icon_comment_default({
|
|
13590
13591
|
size: 12,
|
|
13591
|
-
class: "
|
|
13592
|
+
class: "_jc"
|
|
13592
13593
|
});
|
|
13593
13594
|
_serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
|
|
13594
13595
|
return 0;
|
|
@@ -13613,7 +13614,7 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
13613
13614
|
_if(() => {
|
|
13614
13615
|
if (!input.files.length) {
|
|
13615
13616
|
const $scope8_id = _scope_id();
|
|
13616
|
-
_html(`<p${_attr_class("
|
|
13617
|
+
_html(`<p${_attr_class("_ja")}>No files match.</p>`);
|
|
13617
13618
|
$si__input_files_length && writeScope($scope8_id, {});
|
|
13618
13619
|
return 0;
|
|
13619
13620
|
}
|
|
@@ -14030,11 +14031,11 @@ var review_view_default = _template("w", (input) => {
|
|
|
14030
14031
|
else viewBox.scrollToLine(hit.key, hit.line, hit.side);
|
|
14031
14032
|
}, 0);
|
|
14032
14033
|
};
|
|
14033
|
-
_html(`<div${_attr_class("
|
|
14034
|
+
_html(`<div${_attr_class("_gz")}><div${_attr_class("_gE")}><div${_attr_class("_hc")}><div${_attr_class("_gF")}><div${_attr_class(["_gP", { ["_gO"]: !comments.length }])}>`);
|
|
14034
14035
|
_if(() => {
|
|
14035
14036
|
if (input.onExit) {
|
|
14036
14037
|
const $scope1_id = _scope_id();
|
|
14037
|
-
_html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "
|
|
14038
|
+
_html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_gG"])} title="Back to terminal (⌘/Ctrl+Shift+D)">`);
|
|
14038
14039
|
icon_back_default({ size: 14 });
|
|
14039
14040
|
_html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 2))}`);
|
|
14040
14041
|
_serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 2) && _scope_with_id($scope0_id) });
|
|
@@ -14045,7 +14046,7 @@ var review_view_default = _template("w", (input) => {
|
|
|
14045
14046
|
_if(() => {
|
|
14046
14047
|
if (comments.length) {
|
|
14047
14048
|
const $scope2_id = _scope_id();
|
|
14048
|
-
_html(`<span${_attr_class("
|
|
14049
|
+
_html(`<span${_attr_class("_gI")}>${_text_resume($scope2_id, "b", comments.length)} comment${_text_resume($scope2_id, "c", comments.length === 1 ? "" : "s", 2)}</span><span${_attr_class("_gH")}>`);
|
|
14049
14050
|
_set_serialize_reason(_serialize_guard($scope0_reason, 8));
|
|
14050
14051
|
const $childScope = _peek_scope_id();
|
|
14051
14052
|
diff_send_default({
|
|
@@ -14058,14 +14059,14 @@ var review_view_default = _template("w", (input) => {
|
|
|
14058
14059
|
return 0;
|
|
14059
14060
|
}
|
|
14060
14061
|
}, $scope0_id, "h");
|
|
14061
|
-
_html(`</div>${_el_resume($scope0_id, "e")}<div${_attr_class(["
|
|
14062
|
+
_html(`</div>${_el_resume($scope0_id, "e")}<div${_attr_class(["_gD", "_g_"])}>`);
|
|
14062
14063
|
_if(() => {
|
|
14063
14064
|
if (hasFiles) {
|
|
14064
14065
|
const $scope12_id = _scope_id();
|
|
14065
14066
|
_html(`<button${_attr_class([
|
|
14066
14067
|
treeToggle,
|
|
14067
|
-
"
|
|
14068
|
-
{ ["
|
|
14068
|
+
"_gB",
|
|
14069
|
+
{ ["_gA"]: treeOpen }
|
|
14069
14070
|
])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
|
|
14070
14071
|
icon_sidebar_default({ size: 14 });
|
|
14071
14072
|
_html(`</button>${_el_resume($scope12_id, "a")}`);
|
|
@@ -14074,7 +14075,7 @@ var review_view_default = _template("w", (input) => {
|
|
|
14074
14075
|
return 0;
|
|
14075
14076
|
}
|
|
14076
14077
|
}, $scope0_id, "j", 1, 1, 1, 0, 1);
|
|
14077
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
14078
|
+
_html(`<button${_attr_class([iconBtnRow, "_gB"])} title="Refresh diff"${_attr("disabled", loading)}>`);
|
|
14078
14079
|
_set_serialize_reason(1);
|
|
14079
14080
|
const $childScope2 = _peek_scope_id();
|
|
14080
14081
|
icon_refresh_default({
|
|
@@ -14085,7 +14086,7 @@ var review_view_default = _template("w", (input) => {
|
|
|
14085
14086
|
_if(() => {
|
|
14086
14087
|
if (hasFiles) {
|
|
14087
14088
|
const $scope13_id = _scope_id();
|
|
14088
|
-
_html(`<button${_attr_class(["_q", "
|
|
14089
|
+
_html(`<button${_attr_class(["_q", "_gY"])} title="Jump to file">Files (${_text_resume($scope13_id, "b", shownFiles.length, 2)})</button>${_el_resume($scope13_id, "a")}`);
|
|
14089
14090
|
_script($scope13_id, "w40");
|
|
14090
14091
|
writeScope($scope13_id, {});
|
|
14091
14092
|
return 0;
|
|
@@ -14093,16 +14094,16 @@ var review_view_default = _template("w", (input) => {
|
|
|
14093
14094
|
}, $scope0_id, "m", 1, 1, 1, 0, 1);
|
|
14094
14095
|
_html(`<span${_attr_class([
|
|
14095
14096
|
"_o",
|
|
14096
|
-
"
|
|
14097
|
-
"
|
|
14097
|
+
"_gQ",
|
|
14098
|
+
"_ha"
|
|
14098
14099
|
])}>`);
|
|
14099
14100
|
_attr_select_value($scope0_id, "o", rev ? `rev:${rev}` : scope, _resume(function(v) {
|
|
14100
14101
|
pickCompare(v);
|
|
14101
14102
|
}, "w0", $scope0_id), () => {
|
|
14102
14103
|
_html(`<select${_attr_class([
|
|
14103
14104
|
"_p",
|
|
14104
|
-
"
|
|
14105
|
-
"
|
|
14105
|
+
"_gR",
|
|
14106
|
+
"_hb"
|
|
14106
14107
|
])} aria-label=Compare${_attr("disabled", loading)}><option${_attr_option_value("committed")}>Committed</option><option${_attr_option_value("working")}>Working tree</option><option${_attr_option_value("dirty")}>Uncommitted</option>`);
|
|
14107
14108
|
_if(() => {
|
|
14108
14109
|
if (commitOptions.length) {
|
|
@@ -14119,7 +14120,7 @@ var review_view_default = _template("w", (input) => {
|
|
|
14119
14120
|
}, $scope0_id, "p", 1, 1, 1, 0, 1);
|
|
14120
14121
|
_html("</select>");
|
|
14121
14122
|
});
|
|
14122
|
-
_html(`${_el_resume($scope0_id, "o")}</span> <div${_attr_class(["
|
|
14123
|
+
_html(`${_el_resume($scope0_id, "o")}</span> <div${_attr_class(["_gM", { ["_gL"]: !findOpen }])}>`);
|
|
14123
14124
|
_set_serialize_reason(2);
|
|
14124
14125
|
const $childScope3 = _peek_scope_id();
|
|
14125
14126
|
let findFocus = diff_find_default({
|
|
@@ -14142,8 +14143,8 @@ var review_view_default = _template("w", (input) => {
|
|
|
14142
14143
|
const $scope14_id = _scope_id();
|
|
14143
14144
|
_html(`<button${_attr_class([
|
|
14144
14145
|
iconBtnRow,
|
|
14145
|
-
"
|
|
14146
|
-
"
|
|
14146
|
+
"_gK",
|
|
14147
|
+
"_gB"
|
|
14147
14148
|
])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
|
|
14148
14149
|
icon_search_default({ size: 14 });
|
|
14149
14150
|
_html(`</button>${_el_resume($scope14_id, "a")}`);
|
|
@@ -14152,7 +14153,7 @@ var review_view_default = _template("w", (input) => {
|
|
|
14152
14153
|
return 0;
|
|
14153
14154
|
}
|
|
14154
14155
|
}, $scope0_id, "t", 1, 1, 1, 0, 1);
|
|
14155
|
-
_html(`</div></div><div${_attr_class("
|
|
14156
|
+
_html(`</div></div><div${_attr_class("_g0")}>`);
|
|
14156
14157
|
_if(() => {
|
|
14157
14158
|
if (error) {
|
|
14158
14159
|
const $scope6_id = _scope_id();
|
|
@@ -14197,7 +14198,7 @@ var review_view_default = _template("w", (input) => {
|
|
|
14197
14198
|
_if(() => {
|
|
14198
14199
|
if (!repos && loading) {
|
|
14199
14200
|
const $scope17_id = _scope_id();
|
|
14200
|
-
_html(`<div${_attr_class("
|
|
14201
|
+
_html(`<div${_attr_class("_gT")} aria-hidden=true><div${_attr_class(["_gU", "_gV"])}></div><div${_attr_class(["_gU", "_gW"])}></div><div${_attr_class(["_gU", "_gX"])}></div></div>`);
|
|
14201
14202
|
writeScope($scope17_id, {});
|
|
14202
14203
|
return 0;
|
|
14203
14204
|
}
|
|
@@ -14205,12 +14206,12 @@ var review_view_default = _template("w", (input) => {
|
|
|
14205
14206
|
_if(() => {
|
|
14206
14207
|
if (repos && !allFiles.length) {
|
|
14207
14208
|
const $scope11_id = _scope_id();
|
|
14208
|
-
_html(`<p${_attr_class("
|
|
14209
|
+
_html(`<p${_attr_class("_cq")}>${_text_resume($scope11_id, "b", rev ? "This commit is not in any of these repos." : 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>`);
|
|
14209
14210
|
writeScope($scope11_id, {});
|
|
14210
14211
|
return 0;
|
|
14211
14212
|
} else if (repos && !shownFiles.length && !findState.hit) {
|
|
14212
14213
|
const $scope8_id = _scope_id();
|
|
14213
|
-
_html(`<p${_attr_class("
|
|
14214
|
+
_html(`<p${_attr_class("_cq")}>${_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>`);
|
|
14214
14215
|
writeScope($scope8_id, {});
|
|
14215
14216
|
return 1;
|
|
14216
14217
|
}
|
|
@@ -14219,7 +14220,7 @@ var review_view_default = _template("w", (input) => {
|
|
|
14219
14220
|
_if(() => {
|
|
14220
14221
|
if (shownRepos.length) {
|
|
14221
14222
|
const $scope3_id = _scope_id();
|
|
14222
|
-
_html(`<div${_attr_class("
|
|
14223
|
+
_html(`<div${_attr_class("_gZ")}>`);
|
|
14223
14224
|
_for_of(shownRepos, (repo) => {
|
|
14224
14225
|
const $scope4_id = _scope_id();
|
|
14225
14226
|
const st = statsFor(repo);
|
|
@@ -14296,7 +14297,7 @@ var review_view_default = _template("w", (input) => {
|
|
|
14296
14297
|
return 0;
|
|
14297
14298
|
}
|
|
14298
14299
|
}, $scope0_id, "z", 1, 1, 1, 0, 1);
|
|
14299
|
-
_html(`</div>${_el_resume($scope0_id, "c")}<div${_attr_class("
|
|
14300
|
+
_html(`</div>${_el_resume($scope0_id, "c")}<div${_attr_class("_g1")} data-diff-main></div>${_el_resume($scope0_id, "a0")}</div>`);
|
|
14300
14301
|
_set_serialize_reason(26);
|
|
14301
14302
|
const $childScope6 = _peek_scope_id();
|
|
14302
14303
|
review_tree_default({
|
|
@@ -14575,10 +14576,10 @@ function parseInvite(text) {
|
|
|
14575
14576
|
repos
|
|
14576
14577
|
};
|
|
14577
14578
|
}
|
|
14578
|
-
var skillRow = "
|
|
14579
|
-
var skillName = "
|
|
14580
|
-
var skillDesc = "
|
|
14581
|
-
var skillEnd = "
|
|
14579
|
+
var skillRow = "_gm _gg";
|
|
14580
|
+
var skillName = "_go _gi";
|
|
14581
|
+
var skillDesc = "_gr _gj";
|
|
14582
|
+
var skillEnd = "_gs _gk";
|
|
14582
14583
|
//#endregion
|
|
14583
14584
|
//#region src/tags/icons/icon-clipboard.marko
|
|
14584
14585
|
var icon_clipboard_default = _template("Y", (input) => {
|
|
@@ -14630,8 +14631,8 @@ var icon_trash_default = _template("sb", (input) => {
|
|
|
14630
14631
|
});
|
|
14631
14632
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
14632
14633
|
});
|
|
14633
|
-
var resultRow = "
|
|
14634
|
-
var resultBranch = "
|
|
14634
|
+
var resultRow = "_ig _I";
|
|
14635
|
+
var resultBranch = "_ii _4 _l";
|
|
14635
14636
|
//#endregion
|
|
14636
14637
|
//#region src/tags/icons/icon-branch.marko
|
|
14637
14638
|
var icon_branch_default = _template("U", (input) => {
|
|
@@ -14661,11 +14662,11 @@ var branch_pick_default = _template("d", (input) => {
|
|
|
14661
14662
|
let branchFilter = "";
|
|
14662
14663
|
let reloadTick = 0;
|
|
14663
14664
|
let refreshing = false;
|
|
14664
|
-
_html(`<div${_attr_class("
|
|
14665
|
+
_html(`<div${_attr_class("_ik")}>`);
|
|
14665
14666
|
_if(() => {
|
|
14666
14667
|
{
|
|
14667
14668
|
const $scope4_id = _scope_id();
|
|
14668
|
-
_html(`<p${_attr_class("
|
|
14669
|
+
_html(`<p${_attr_class("_cp")}><span${_attr_class("_G")}></span> Loading branches…</p>`);
|
|
14669
14670
|
writeScope($scope4_id, {});
|
|
14670
14671
|
return 0;
|
|
14671
14672
|
}
|
|
@@ -14766,21 +14767,21 @@ var repo_picker_default = _template("t", (input$2) => {
|
|
|
14766
14767
|
_resume_branch($scope9_id);
|
|
14767
14768
|
}, $scope0_id) };
|
|
14768
14769
|
const hasBody = !!(pasted || results.length || filter && (!catalog || !pasted) || compact && ssoPending.length);
|
|
14769
|
-
_html(`<div${_attr_class([compact ? "
|
|
14770
|
-
["
|
|
14771
|
-
["
|
|
14770
|
+
_html(`<div${_attr_class([compact ? "_ct" : "_h9", {
|
|
14771
|
+
["_cu"]: compact && !input$2.open,
|
|
14772
|
+
["_cv"]: input$2.pinned
|
|
14772
14773
|
}])}>`);
|
|
14773
14774
|
_if(() => {
|
|
14774
14775
|
if (!compact && ssoPending.length) {
|
|
14775
14776
|
const $scope11_id = _scope_id();
|
|
14776
|
-
_html(`<div${_attr_class("
|
|
14777
|
+
_html(`<div${_attr_class("_ib")}>`);
|
|
14777
14778
|
ssoBlock.content({});
|
|
14778
14779
|
_html("</div>");
|
|
14779
14780
|
writeScope($scope11_id, {});
|
|
14780
14781
|
return 0;
|
|
14781
14782
|
}
|
|
14782
14783
|
}, $scope0_id, "b", 1, 1, 1, 0, 1);
|
|
14783
|
-
_html(`<div${!compact && input$2.action ? _attr_class("
|
|
14784
|
+
_html(`<div${!compact && input$2.action ? _attr_class("_h_") : _attr_class("_ia")}><label${_attr_class(["_1", compact && "_cw"])}>`);
|
|
14784
14785
|
icon_search_default({
|
|
14785
14786
|
size: 14,
|
|
14786
14787
|
class: "_2"
|
|
@@ -14792,7 +14793,7 @@ var repo_picker_default = _template("t", (input$2) => {
|
|
|
14792
14793
|
}, "t0", $scope0_id))}${_attr_class([
|
|
14793
14794
|
compact ? "_Z" : inputLg,
|
|
14794
14795
|
"_3",
|
|
14795
|
-
compact && "
|
|
14796
|
+
compact && "_cx"
|
|
14796
14797
|
])} 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)}`);
|
|
14797
14798
|
_if(() => {
|
|
14798
14799
|
if (!compact && input$2.action) {
|
|
@@ -14806,7 +14807,7 @@ var repo_picker_default = _template("t", (input$2) => {
|
|
|
14806
14807
|
_if(() => {
|
|
14807
14808
|
if (compact) {
|
|
14808
14809
|
const $scope2_id = _scope_id();
|
|
14809
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
14810
|
+
_html(`<button${_attr_class([iconBtnRow, "_cy"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
|
|
14810
14811
|
icon_xmark_default({ size: 14 });
|
|
14811
14812
|
_html(`</button>${_el_resume($scope2_id, "a")}`);
|
|
14812
14813
|
_script($scope2_id, "t14");
|
|
@@ -14814,11 +14815,11 @@ var repo_picker_default = _template("t", (input$2) => {
|
|
|
14814
14815
|
return 0;
|
|
14815
14816
|
}
|
|
14816
14817
|
}, $scope0_id, "h", _serialize_guard($scope0_reason, 0), $sg__input_compact, 1, 0, 1);
|
|
14817
|
-
_html(`<div${_attr_class([compact ? pop$1 : "
|
|
14818
|
+
_html(`<div${_attr_class([compact ? pop$1 : "_ic"])}${_attr("hidden", !hasBody || compact && !input$2.open && !input$2.pinned)}>`);
|
|
14818
14819
|
_if(() => {
|
|
14819
14820
|
if (compact && ssoPending.length) {
|
|
14820
14821
|
const $scope12_id = _scope_id();
|
|
14821
|
-
_html(`<div${_attr_class("
|
|
14822
|
+
_html(`<div${_attr_class("_ib")}>`);
|
|
14822
14823
|
ssoBlock.content({});
|
|
14823
14824
|
_html("</div>");
|
|
14824
14825
|
writeScope($scope12_id, {});
|
|
@@ -14828,16 +14829,16 @@ var repo_picker_default = _template("t", (input$2) => {
|
|
|
14828
14829
|
_if(() => {
|
|
14829
14830
|
if (pasted) {
|
|
14830
14831
|
const $scope3_id = _scope_id();
|
|
14831
|
-
_html(`<ul${_attr_class("
|
|
14832
|
+
_html(`<ul${_attr_class("_id")}><li><div${_attr_class(["_if", "_ie"])}><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)`)}>`);
|
|
14832
14833
|
icon_plus_default({
|
|
14833
14834
|
size: 12,
|
|
14834
|
-
class: "
|
|
14835
|
+
class: "_im"
|
|
14835
14836
|
});
|
|
14836
|
-
_html(`<span${_attr_class("
|
|
14837
|
+
_html(`<span${_attr_class("_in")}>${_text_resume($scope3_id, "f", repoLabel$1(pasted))}</span></button>${_el_resume($scope3_id, "c")}`);
|
|
14837
14838
|
_if(() => {
|
|
14838
14839
|
if (pastedForkable) {
|
|
14839
14840
|
const $scope10_id = _scope_id();
|
|
14840
|
-
_html(`<button${_attr_class(["
|
|
14841
|
+
_html(`<button${_attr_class(["_ij", { ["_ih"]: 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"}>`);
|
|
14841
14842
|
_if(() => {
|
|
14842
14843
|
if (pasteWillFork) {
|
|
14843
14844
|
const $scope14_id = _scope_id();
|
|
@@ -14857,7 +14858,7 @@ var repo_picker_default = _template("t", (input$2) => {
|
|
|
14857
14858
|
return 0;
|
|
14858
14859
|
}
|
|
14859
14860
|
}, $scope3_id, "g", 1, 1, 1, 0, 1);
|
|
14860
|
-
_html(`<button${_attr_class([resultBranch, { ["
|
|
14861
|
+
_html(`<button${_attr_class([resultBranch, { ["_ih"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
|
|
14861
14862
|
icon_branch_default({ size: 12 });
|
|
14862
14863
|
_html(`</button>${_el_resume($scope3_id, "h")}</div>`);
|
|
14863
14864
|
_if(() => {
|
|
@@ -14884,7 +14885,7 @@ var repo_picker_default = _template("t", (input$2) => {
|
|
|
14884
14885
|
return 0;
|
|
14885
14886
|
} else if (filter && !catalog) {
|
|
14886
14887
|
const $scope13_id = _scope_id();
|
|
14887
|
-
_html(`<p${_attr_class("
|
|
14888
|
+
_html(`<p${_attr_class("_cp")}>Loading repos…</p>`);
|
|
14888
14889
|
writeScope($scope13_id, {});
|
|
14889
14890
|
return 1;
|
|
14890
14891
|
}
|
|
@@ -14892,15 +14893,15 @@ var repo_picker_default = _template("t", (input$2) => {
|
|
|
14892
14893
|
_if(() => {
|
|
14893
14894
|
if (results.length) {
|
|
14894
14895
|
const $scope5_id = _scope_id();
|
|
14895
|
-
_html(`<ul${_attr_class("
|
|
14896
|
+
_html(`<ul${_attr_class("_id")}>`);
|
|
14896
14897
|
_for_of(results, (repo, i) => {
|
|
14897
14898
|
const $scope6_id = _scope_id();
|
|
14898
|
-
_html(`<li><div${_attr_class(["
|
|
14899
|
+
_html(`<li><div${_attr_class(["_if", { ["_ie"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
|
|
14899
14900
|
icon_plus_default({
|
|
14900
14901
|
size: 12,
|
|
14901
|
-
class: "
|
|
14902
|
+
class: "_im"
|
|
14902
14903
|
});
|
|
14903
|
-
_html(`<span${_attr_class("
|
|
14904
|
+
_html(`<span${_attr_class("_in")}>${_text_resume($scope6_id, "e", repoLabel$1(repo.nameWithOwner))}</span></button>${_el_resume($scope6_id, "b")}<button${_attr_class([resultBranch, { ["_ih"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
|
|
14904
14905
|
icon_branch_default({ size: 12 });
|
|
14905
14906
|
_html(`</button>${_el_resume($scope6_id, "f")}</div>${_el_resume($scope6_id, "a")}`);
|
|
14906
14907
|
_if(() => {
|
|
@@ -14935,7 +14936,7 @@ var repo_picker_default = _template("t", (input$2) => {
|
|
|
14935
14936
|
return 0;
|
|
14936
14937
|
} else if (filter && catalog && !pasted) {
|
|
14937
14938
|
const $scope8_id = _scope_id();
|
|
14938
|
-
_html(`<p${_attr_class("
|
|
14939
|
+
_html(`<p${_attr_class("_cp")}>No repos match "${_text_resume($scope8_id, "b", filter, 2)}". Paste a clone URL to add any repo.</p>`);
|
|
14939
14940
|
writeScope($scope8_id, {});
|
|
14940
14941
|
return 1;
|
|
14941
14942
|
}
|
|
@@ -15158,7 +15159,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
15158
15159
|
setTimeout(() => loadProcs(void 0), 500);
|
|
15159
15160
|
}, "n11", $scope0_id);
|
|
15160
15161
|
const titleId = _id();
|
|
15161
|
-
_html(`<div${_attr_class("
|
|
15162
|
+
_html(`<div${_attr_class("_d7")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_d8")}><div${_attr_class("_d9")}>`);
|
|
15162
15163
|
_set_serialize_reason(30);
|
|
15163
15164
|
const $childScope = _peek_scope_id();
|
|
15164
15165
|
page_head_default({
|
|
@@ -15211,13 +15212,13 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
15211
15212
|
}
|
|
15212
15213
|
}, $scope7_id, "a", 1, 1, 1, "</button>", 1);
|
|
15213
15214
|
_script($scope7_id, "n18");
|
|
15214
|
-
_subscribe($pendingAction__closures, writeScope($scope7_id, {
|
|
15215
|
+
_subscribe($pendingAction__closures, writeScope($scope7_id, { Ccq: 1 }));
|
|
15215
15216
|
return 0;
|
|
15216
15217
|
} else {
|
|
15217
15218
|
const $scope8_id = _scope_id();
|
|
15218
15219
|
_html(`<button type=button${_attr_class([btnSm, "_r"])} title="Archived and hidden from the list. Bring it back."${_attr("disabled", !!pendingAction)}>${_text_resume($scope8_id, "b", pendingAction === "restore" ? "Restoring…" : "Restore")}</button>${_el_resume($scope8_id, "a")}`);
|
|
15219
15220
|
_script($scope8_id, "n19");
|
|
15220
|
-
_subscribe($pendingAction__closures, writeScope($scope8_id, {
|
|
15221
|
+
_subscribe($pendingAction__closures, writeScope($scope8_id, { Ccq: 2 }));
|
|
15221
15222
|
return 1;
|
|
15222
15223
|
}
|
|
15223
15224
|
}, $scope6_id, "b", 1, 1, 1, 0, 1);
|
|
@@ -15245,7 +15246,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
15245
15246
|
_resume_branch($scope6_id);
|
|
15246
15247
|
}, $scope0_id) })
|
|
15247
15248
|
});
|
|
15248
|
-
_html(`<section${_attr_class("
|
|
15249
|
+
_html(`<div${_attr_class("_d_")}><section${_attr_class("_ce")}><div${_attr_class("_cf")}><h2${_attr_class("_cs")}>Details</h2></div><div${_attr_class(list$2)}><div${_attr_class(flatCardRow)}><span${_attr_class("_gw")}>Name</span><span${_attr_class(["_gx", "_gy"])}>${_text_resume($scope0_id, "m", ws.name)}</span>`);
|
|
15249
15250
|
_if(() => {
|
|
15250
15251
|
if (ws.status !== "active") {
|
|
15251
15252
|
const $scope23_id = _scope_id();
|
|
@@ -15253,12 +15254,12 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
15253
15254
|
writeScope($scope23_id, {});
|
|
15254
15255
|
return 0;
|
|
15255
15256
|
}
|
|
15256
|
-
}, $scope0_id, "
|
|
15257
|
-
_html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("
|
|
15258
|
-
"
|
|
15257
|
+
}, $scope0_id, "n", 1, 1, 1, 0, 1);
|
|
15258
|
+
_html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gw")}>Path</span><span${_attr_class([
|
|
15259
|
+
"_gx",
|
|
15259
15260
|
"_y",
|
|
15260
15261
|
"_bb"
|
|
15261
|
-
])}${_attr("title", ws.display_path || ws.path)}><bdi>${_text_resume($scope0_id, "
|
|
15262
|
+
])}${_attr("title", ws.display_path || ws.path)}><bdi>${_text_resume($scope0_id, "r", ws.display_path || ws.path)}</bdi></span>${_el_resume($scope0_id, "q")}<button type=button${_attr_class(iconBtnXs)} title=${copiedFact === "path" ? "Copied" : "\"Copy path\""} aria-label="Copy path">`);
|
|
15262
15263
|
_if(() => {
|
|
15263
15264
|
if (copiedFact === "path") {
|
|
15264
15265
|
const $scope24_id = _scope_id();
|
|
@@ -15271,8 +15272,8 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
15271
15272
|
writeScope($scope25_id, {});
|
|
15272
15273
|
return 1;
|
|
15273
15274
|
}
|
|
15274
|
-
}, $scope0_id, "
|
|
15275
|
-
_html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("
|
|
15275
|
+
}, $scope0_id, "s", 1, 1, 1, "</button>", 1);
|
|
15276
|
+
_html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gw")}>Branch</span><span${_attr_class(["_gx", "_y"])}${_attr("title", ws.branch)}>${_text_resume($scope0_id, "w", ws.branch)}</span>${_el_resume($scope0_id, "v")}<button type=button${_attr_class(iconBtnXs)} title=${copiedFact === "branch" ? "Copied" : "\"Copy branch\""} aria-label="Copy branch">`);
|
|
15276
15277
|
_if(() => {
|
|
15277
15278
|
if (copiedFact === "branch") {
|
|
15278
15279
|
const $scope26_id = _scope_id();
|
|
@@ -15285,7 +15286,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
15285
15286
|
writeScope($scope27_id, {});
|
|
15286
15287
|
return 1;
|
|
15287
15288
|
}
|
|
15288
|
-
}, $scope0_id, "
|
|
15289
|
+
}, $scope0_id, "x", 1, 1, 1, "</button>", 1);
|
|
15289
15290
|
_html("</div></div></section>");
|
|
15290
15291
|
_if(() => {
|
|
15291
15292
|
if (error) {
|
|
@@ -15306,18 +15307,18 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
15306
15307
|
writeScope($scope4_id, {});
|
|
15307
15308
|
return 0;
|
|
15308
15309
|
}
|
|
15309
|
-
}, $scope0_id, "
|
|
15310
|
+
}, $scope0_id, "y", 1, 1, 1, 0, 1);
|
|
15310
15311
|
_if(() => {
|
|
15311
15312
|
if (pendingAction && actionStep) {
|
|
15312
15313
|
const $scope10_id = _scope_id();
|
|
15313
|
-
_html(`<p${_attr_class("
|
|
15314
|
+
_html(`<p${_attr_class("_cd")}><span${_attr_class("_G")}></span>${_text_resume($scope10_id, "c", actionStep)}</p>`);
|
|
15314
15315
|
writeScope($scope10_id, {});
|
|
15315
15316
|
return 0;
|
|
15316
15317
|
}
|
|
15317
|
-
}, $scope0_id, "
|
|
15318
|
-
_html(`<section${_attr_class("
|
|
15318
|
+
}, $scope0_id, "z", 1, 1, 1, 0, 1);
|
|
15319
|
+
_html(`<section${_attr_class("_ce")}><div${_attr_class("_cf")}><h2${_attr_class("_cs")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "a4", ws.repos.length)}</span><div${_attr_class("_z")}></div><button${_attr_class([iconBtnRow, "_gv"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
|
|
15319
15320
|
icon_plus_default({ size: 16 });
|
|
15320
|
-
_html(`</button>${_el_resume($scope0_id, "
|
|
15321
|
+
_html(`</button>${_el_resume($scope0_id, "a6")}`);
|
|
15321
15322
|
_set_serialize_reason(26);
|
|
15322
15323
|
const $childScope2 = _peek_scope_id();
|
|
15323
15324
|
let refreshCatalog = repo_picker_default({
|
|
@@ -15338,7 +15339,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
15338
15339
|
catalogRefreshing = busy;
|
|
15339
15340
|
}
|
|
15340
15341
|
});
|
|
15341
|
-
_var($scope0_id, "
|
|
15342
|
+
_var($scope0_id, "a9", $childScope2, "n23");
|
|
15342
15343
|
_html(`<button${_attr_class(iconBtn$1)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
15343
15344
|
_set_serialize_reason(1);
|
|
15344
15345
|
const $childScope3 = _peek_scope_id();
|
|
@@ -15346,10 +15347,10 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
15346
15347
|
size: 14,
|
|
15347
15348
|
class: catalogRefreshing && "_F"
|
|
15348
15349
|
});
|
|
15349
|
-
_html(`</button>${_el_resume($scope0_id, "
|
|
15350
|
+
_html(`</button>${_el_resume($scope0_id, "aa")}</div><ul${_attr_class([list$2, "_gf"])}>`);
|
|
15350
15351
|
_for_of(ws.repos, (row) => {
|
|
15351
15352
|
const $scope1_id = _scope_id();
|
|
15352
|
-
_html(`<li${_attr_class(
|
|
15353
|
+
_html(`<li${_attr_class("_gg")}><span${_attr_class(["_y", "_gi"])}>${_text_resume($scope1_id, "c", row.worktree)}/</span><span${_attr_class(["_gj", "_ge"])}><a${_attr_class("_K")}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_text_resume($scope1_id, "f", repoLabel$1(row.full_name))}</a>${_el_resume($scope1_id, "e")}`);
|
|
15353
15354
|
_if(() => {
|
|
15354
15355
|
if (row.base_branch !== row.default_branch) {
|
|
15355
15356
|
const $scope28_id = _scope_id();
|
|
@@ -15359,8 +15360,8 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
15359
15360
|
writeScope($scope28_id, {});
|
|
15360
15361
|
return 0;
|
|
15361
15362
|
}
|
|
15362
|
-
}, $scope1_id, "
|
|
15363
|
-
_html(
|
|
15363
|
+
}, $scope1_id, "g", 1, 1, 1, 0, 1);
|
|
15364
|
+
_html(`</span><span${_attr_class("_gk")}>`);
|
|
15364
15365
|
_if(() => {
|
|
15365
15366
|
if (busy.has(row.full_name)) {
|
|
15366
15367
|
const $scope29_id = _scope_id();
|
|
@@ -15370,7 +15371,7 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
15370
15371
|
} else {
|
|
15371
15372
|
const $scope9_id = _scope_id();
|
|
15372
15373
|
_html(`<button${_attr_class([
|
|
15373
|
-
"
|
|
15374
|
+
"_co",
|
|
15374
15375
|
"_8",
|
|
15375
15376
|
"_9",
|
|
15376
15377
|
{ ["_s"]: confirmingRemove === row.full_name }
|
|
@@ -15392,28 +15393,62 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
15392
15393
|
_subscribe($confirmingRemove__closures, writeScope($scope9_id, {}));
|
|
15393
15394
|
return 1;
|
|
15394
15395
|
}
|
|
15395
|
-
}, $scope1_id, "
|
|
15396
|
+
}, $scope1_id, "h", 1, 1, 1, "</span>", 1);
|
|
15396
15397
|
_html("</li>");
|
|
15397
15398
|
writeScope($scope1_id, {
|
|
15398
|
-
|
|
15399
|
-
|
|
15400
|
-
|
|
15401
|
-
|
|
15399
|
+
j: row,
|
|
15400
|
+
k: row?.worktree,
|
|
15401
|
+
l: row?.full_name,
|
|
15402
|
+
n: row?.base_branch
|
|
15402
15403
|
});
|
|
15403
|
-
}, "full_name", $scope0_id, "
|
|
15404
|
+
}, "full_name", $scope0_id, "ad", 1, 1, 1, 0, 1);
|
|
15404
15405
|
_for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
|
|
15405
15406
|
const $scope32_id = _scope_id();
|
|
15406
|
-
_html(`<li${_attr_class([
|
|
15407
|
+
_html(`<li${_attr_class([
|
|
15408
|
+
"_gg",
|
|
15409
|
+
"_gh",
|
|
15410
|
+
"_ci"
|
|
15411
|
+
])}><span${_attr_class("_G")}></span><span${_attr_class("_cn")}>Adding ${_text_resume($scope32_id, "d", name, 2)}…</span></li>`);
|
|
15407
15412
|
writeScope($scope32_id, {});
|
|
15408
|
-
}, (n) => n, $scope0_id, "
|
|
15413
|
+
}, (n) => n, $scope0_id, "ae", 1, 1, 1, 0, 1);
|
|
15409
15414
|
_if(() => {
|
|
15410
15415
|
if (!ws.repos.length && !busy.size) {
|
|
15411
15416
|
const $scope33_id = _scope_id();
|
|
15412
|
-
_html(`<li${_attr_class(
|
|
15417
|
+
_html(`<li${_attr_class(["_gg", "_gh"])}><span${_attr_class("_cn")}>No repos yet. Add one to start.</span></li>`);
|
|
15413
15418
|
writeScope($scope33_id, {});
|
|
15414
15419
|
return 0;
|
|
15415
15420
|
}
|
|
15416
|
-
}, $scope0_id, "
|
|
15421
|
+
}, $scope0_id, "af", 1, 1, 1, 0, 1);
|
|
15422
|
+
const running = procs || [];
|
|
15423
|
+
_html("</ul></section>");
|
|
15424
|
+
_if(() => {
|
|
15425
|
+
if (running.length) {
|
|
15426
|
+
const $scope14_id = _scope_id();
|
|
15427
|
+
_html(`<section${_attr_class("_ce")}><div${_attr_class("_cf")}><h2${_attr_class("_cs")}>Running</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope14_id, "e", running.length)}</span></div><ul${_attr_class(list$2)}>`);
|
|
15428
|
+
_for_of(running, (p) => {
|
|
15429
|
+
const $scope15_id = _scope_id();
|
|
15430
|
+
_html(`<li${_attr_class("_gg")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", "_gi"])}>${_text_resume($scope15_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_gj"])}>${_text_resume($scope15_id, "e", p.args)}</span><span${_attr_class("_gk")}>`);
|
|
15431
|
+
_for_of(p.ports, (port) => {
|
|
15432
|
+
const $scope34_id = _scope_id();
|
|
15433
|
+
_html(`<button${_attr_class(["_u", "_K"])}${_attr("title", `Open port ${port}`)}>:${_text_resume($scope34_id, "b", port, 2)}</button>${_el_resume($scope34_id, "a")}`);
|
|
15434
|
+
_script($scope34_id, "n25");
|
|
15435
|
+
writeScope($scope34_id, { d: port });
|
|
15436
|
+
}, (x) => String(x), $scope15_id, "g", 1, 1, 1, 0, 1);
|
|
15437
|
+
_html(`<span${_attr_class(["_y", "_gl"])}>${_text_resume($scope15_id, "i", p.pid)}</span><button${_attr_class([
|
|
15438
|
+
"_co",
|
|
15439
|
+
"_8",
|
|
15440
|
+
"_gu"
|
|
15441
|
+
])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
|
|
15442
|
+
icon_xmark_default({ size: 14 });
|
|
15443
|
+
_html(`</button>${_el_resume($scope15_id, "j")}</span></li>${_el_resume($scope15_id, "a")}`);
|
|
15444
|
+
_script($scope15_id, "n26");
|
|
15445
|
+
writeScope($scope15_id, { r: p?.pid });
|
|
15446
|
+
}, "pid", $scope14_id, "f", 1, 1, 1, "</ul>", 1);
|
|
15447
|
+
_html("</section>");
|
|
15448
|
+
writeScope($scope14_id, {});
|
|
15449
|
+
return 0;
|
|
15450
|
+
}
|
|
15451
|
+
}, $scope0_id, "ag", 1, 1, 1, 0, 1);
|
|
15417
15452
|
const wsSkills = skills?.workspace || [];
|
|
15418
15453
|
const repoSkills = (skills?.repo || []).filter((s) => !wsSkills.some((w) => w.id === s.id));
|
|
15419
15454
|
const allSkills = [...wsSkills.map((s) => ({
|
|
@@ -15423,99 +15458,99 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
15423
15458
|
s,
|
|
15424
15459
|
linked: false
|
|
15425
15460
|
}))].sort((a, b) => a.s.name.localeCompare(b.s.name));
|
|
15426
|
-
_html("
|
|
15461
|
+
_html(`</div><div${_attr_class("_d_")}>`);
|
|
15427
15462
|
_if(() => {
|
|
15428
15463
|
if (allSkills.length) {
|
|
15429
15464
|
const $scope2_id = _scope_id();
|
|
15430
|
-
_html(`<section${_attr_class("
|
|
15465
|
+
_html(`<section${_attr_class("_ce")}><div${_attr_class("_cf")}><h2${_attr_class("_cs")}>Skills</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope2_id, "e", wsSkills.length)}/${_text_resume($scope2_id, "f", allSkills.length, 2)}</span></div><ul${_attr_class([list$2, "_gf"])}>`);
|
|
15431
15466
|
_for_of(allSkills, ({ s, linked }) => {
|
|
15432
15467
|
const $scope3_id = _scope_id();
|
|
15433
15468
|
const isBusy = skillBusy.has(s.id);
|
|
15434
|
-
_html(`<li${_attr_class([skillRow, { ["
|
|
15469
|
+
_html(`<li${_attr_class([skillRow, { ["_gn"]: !linked }])}><span${_attr_class("_gp")}><span${_attr_class(["_y", skillName])}>${_text_resume($scope3_id, "d", s.name)}</span>`);
|
|
15435
15470
|
_if(() => {
|
|
15436
15471
|
if (s.worktree && !s.broken) {
|
|
15437
|
-
const $
|
|
15472
|
+
const $scope35_id = _scope_id();
|
|
15438
15473
|
_html(`<span${_attr_class([
|
|
15439
15474
|
"_N",
|
|
15440
15475
|
"_y",
|
|
15441
|
-
"
|
|
15442
|
-
])}${linked ? _attr("title", `Linked from ${s.worktree}/ in this workspace`) : _attr("title", `Ships in ${s.worktree}/ — not linked into this workspace yet`)}>${_text_resume($
|
|
15443
|
-
writeScope($
|
|
15476
|
+
"_gq"
|
|
15477
|
+
])}${linked ? _attr("title", `Linked from ${s.worktree}/ in this workspace`) : _attr("title", `Ships in ${s.worktree}/ — not linked into this workspace yet`)}>${_text_resume($scope35_id, "b", s.worktree)}/</span>${_el_resume($scope35_id, "a")}`);
|
|
15478
|
+
writeScope($scope35_id, {});
|
|
15444
15479
|
return 0;
|
|
15445
15480
|
}
|
|
15446
15481
|
}, $scope3_id, "e", 1, 1, 1, 0, 1);
|
|
15447
15482
|
_html(`</span><span${_attr_class(skillDesc)}${_attr_or("title", s.description, "")}>${_text_resume($scope3_id, "g", s.description || "")}</span>${_el_resume($scope3_id, "f")}<span${_attr_class(skillEnd)}>`);
|
|
15448
15483
|
_if(() => {
|
|
15449
15484
|
if (s.broken) {
|
|
15450
|
-
const $
|
|
15485
|
+
const $scope36_id = _scope_id();
|
|
15451
15486
|
_html(`<span${_attr_class([
|
|
15452
15487
|
"_N",
|
|
15453
15488
|
"_P",
|
|
15454
15489
|
tone.danger
|
|
15455
|
-
])}${_attr("title", `Points into ${s.worktree || "a repo"} that is no longer here`)}>broken link</span>${_el_resume($
|
|
15456
|
-
writeScope($
|
|
15490
|
+
])}${_attr("title", `Points into ${s.worktree || "a repo"} that is no longer here`)}>broken link</span>${_el_resume($scope36_id, "a")}`);
|
|
15491
|
+
writeScope($scope36_id, {});
|
|
15457
15492
|
return 0;
|
|
15458
15493
|
} else if (linked && s.sourceUrl) {
|
|
15459
|
-
const $
|
|
15460
|
-
_html(`<a${_attr_class(["_N", "_K"])}${_attr("href", s.sourceUrl)} target=_blank rel=noopener${_attr("title", `Installed from ${s.source}`)}>${_text_resume($
|
|
15461
|
-
writeScope($
|
|
15494
|
+
const $scope37_id = _scope_id();
|
|
15495
|
+
_html(`<a${_attr_class(["_N", "_K"])}${_attr("href", s.sourceUrl)} target=_blank rel=noopener${_attr("title", `Installed from ${s.source}`)}>${_text_resume($scope37_id, "b", s.source)}</a>${_el_resume($scope37_id, "a")}`);
|
|
15496
|
+
writeScope($scope37_id, {});
|
|
15462
15497
|
return 1;
|
|
15463
15498
|
}
|
|
15464
15499
|
}, $scope3_id, "i", 1, 1, 1, 0, 1);
|
|
15465
15500
|
_if(() => {
|
|
15466
15501
|
if (linked && s.shadows === "global") {
|
|
15467
|
-
const $
|
|
15502
|
+
const $scope40_id = _scope_id();
|
|
15468
15503
|
_html(`<span${_attr_class("_N")} title="Used instead of the system skill of the same name">overrides system</span>`);
|
|
15469
|
-
writeScope($
|
|
15504
|
+
writeScope($scope40_id, {});
|
|
15470
15505
|
return 0;
|
|
15471
15506
|
}
|
|
15472
15507
|
}, $scope3_id, "j", 1, 1, 1, 0, 1);
|
|
15473
15508
|
_if(() => {
|
|
15474
15509
|
if (!linked && s.shadows) {
|
|
15475
|
-
const $
|
|
15476
|
-
_html(`<span${_attr_class("_N")}${_attr("title", `A ${s.shadows} skill of the same name already exists`)}>name taken</span>${_el_resume($
|
|
15477
|
-
writeScope($
|
|
15510
|
+
const $scope38_id = _scope_id();
|
|
15511
|
+
_html(`<span${_attr_class("_N")}${_attr("title", `A ${s.shadows} skill of the same name already exists`)}>name taken</span>${_el_resume($scope38_id, "a")}`);
|
|
15512
|
+
writeScope($scope38_id, {});
|
|
15478
15513
|
return 0;
|
|
15479
15514
|
}
|
|
15480
15515
|
}, $scope3_id, "k", 1, 1, 1, 0, 1);
|
|
15481
15516
|
_if(() => {
|
|
15482
15517
|
if (linked && skills && s.agents.length < skills.agents.length) {
|
|
15483
|
-
const $
|
|
15484
|
-
_html(`<span${_attr_class("_N")}${_attr("title", `Only for ${s.agents.map(agentLabel).join(", ")}`)}>${_text_resume($
|
|
15485
|
-
writeScope($
|
|
15518
|
+
const $scope39_id = _scope_id();
|
|
15519
|
+
_html(`<span${_attr_class("_N")}${_attr("title", `Only for ${s.agents.map(agentLabel).join(", ")}`)}>${_text_resume($scope39_id, "b", s.agents.map(agentLabel).join(", "))} only</span>${_el_resume($scope39_id, "a")}`);
|
|
15520
|
+
writeScope($scope39_id, {});
|
|
15486
15521
|
return 0;
|
|
15487
15522
|
}
|
|
15488
15523
|
}, $scope3_id, "l", 1, 1, 1, 0, 1);
|
|
15489
15524
|
_if(() => {
|
|
15490
|
-
if (linked) {
|
|
15525
|
+
if (linked && !s.linked) {
|
|
15491
15526
|
const $scope11_id = _scope_id();
|
|
15492
15527
|
_html(`<button${_attr_class([
|
|
15493
|
-
"
|
|
15528
|
+
"_co",
|
|
15494
15529
|
"_8",
|
|
15495
15530
|
"_9",
|
|
15496
|
-
"
|
|
15531
|
+
"_gt",
|
|
15497
15532
|
{ ["_s"]: confirmingSkill === s.id }
|
|
15498
|
-
])} type=button${_attr("disabled", isBusy)}${isBusy ? " aria-busy=true" : ""}${confirmingSkill === s.id ? _attr("title", `Remove ${s.name} from this workspace?`) :
|
|
15533
|
+
])} type=button${_attr("disabled", isBusy)}${isBusy ? " aria-busy=true" : ""}${confirmingSkill === s.id ? _attr("title", `Remove ${s.name} from this workspace?`) : _attr("title", `Remove ${s.name}`)}>`);
|
|
15499
15534
|
_if(() => {
|
|
15500
15535
|
if (confirmingSkill === s.id) {
|
|
15501
|
-
const $
|
|
15536
|
+
const $scope41_id = _scope_id();
|
|
15502
15537
|
_html("Remove?");
|
|
15503
|
-
writeScope($
|
|
15538
|
+
writeScope($scope41_id, {});
|
|
15504
15539
|
return 0;
|
|
15505
15540
|
} else {
|
|
15506
|
-
const $
|
|
15541
|
+
const $scope42_id = _scope_id();
|
|
15507
15542
|
icon_xmark_default({ size: 14 });
|
|
15508
|
-
writeScope($
|
|
15543
|
+
writeScope($scope42_id, {});
|
|
15509
15544
|
return 1;
|
|
15510
15545
|
}
|
|
15511
15546
|
}, $scope11_id, "a", 1, 1, 1, "</button>");
|
|
15512
|
-
_script($scope11_id, "
|
|
15547
|
+
_script($scope11_id, "n27");
|
|
15513
15548
|
_subscribe($confirmingSkill__closures, writeScope($scope11_id, {}));
|
|
15514
15549
|
return 0;
|
|
15515
|
-
} else if (!s.shadows) {
|
|
15550
|
+
} else if (linked || !s.shadows) {
|
|
15516
15551
|
const $scope13_id = _scope_id();
|
|
15517
|
-
_html(`<button${_attr_class(
|
|
15518
|
-
_script($scope13_id, "
|
|
15552
|
+
_html(`<button${_attr_class("_H")} role=switch aria-checked=${linked ? "true" : "false"}${_attr("disabled", isBusy)}${isBusy ? " aria-busy=true" : ""}${linked ? _attr("title", `${s.name} is linked into this workspace. Stop using it here`) : _attr("title", `Link ${s.name} into this workspace so every agent here sees it`)}></button>${_el_resume($scope13_id, "a")}`);
|
|
15553
|
+
_script($scope13_id, "n28");
|
|
15519
15554
|
writeScope($scope13_id, {});
|
|
15520
15555
|
return 1;
|
|
15521
15556
|
}
|
|
@@ -15529,121 +15564,91 @@ var manage_workspace_default = _template("n", (input) => {
|
|
|
15529
15564
|
y: s?.source,
|
|
15530
15565
|
z: s?.shadows,
|
|
15531
15566
|
a0: s?.agents,
|
|
15532
|
-
a2: s?.linked,
|
|
15533
15567
|
a3: linked,
|
|
15534
|
-
|
|
15568
|
+
a8: isBusy
|
|
15535
15569
|
})));
|
|
15536
15570
|
}, (x) => x.s.id, $scope2_id, "g", 1, 1, 1, "</ul>", 1);
|
|
15537
15571
|
_html("</section>");
|
|
15538
15572
|
writeScope($scope2_id, {});
|
|
15539
15573
|
return 0;
|
|
15540
15574
|
}
|
|
15541
|
-
}, $scope0_id, "
|
|
15542
|
-
|
|
15543
|
-
_if(() => {
|
|
15544
|
-
if (running.length) {
|
|
15545
|
-
const $scope14_id = _scope_id();
|
|
15546
|
-
_html(`<section${_attr_class("_bW")}><div${_attr_class("_bX")}><h2${_attr_class("_b_")}>Running</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope14_id, "e", running.length)}</span></div><ul${_attr_class(list$2)}>`);
|
|
15547
|
-
_for_of(running, (p) => {
|
|
15548
|
-
const $scope15_id = _scope_id();
|
|
15549
|
-
_html(`<li${_attr_class("_gd")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", "_ge"])}>${_text_resume($scope15_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_gf"])}>${_text_resume($scope15_id, "e", p.args)}</span><span${_attr_class("_gg")}>`);
|
|
15550
|
-
_for_of(p.ports, (port) => {
|
|
15551
|
-
const $scope42_id = _scope_id();
|
|
15552
|
-
_html(`<button${_attr_class(["_u", "_K"])}${_attr("title", `Open port ${port}`)}>:${_text_resume($scope42_id, "b", port, 2)}</button>${_el_resume($scope42_id, "a")}`);
|
|
15553
|
-
_script($scope42_id, "n27");
|
|
15554
|
-
writeScope($scope42_id, { d: port });
|
|
15555
|
-
}, (x) => String(x), $scope15_id, "g", 1, 1, 1, 0, 1);
|
|
15556
|
-
_html(`<span${_attr_class(["_y", "_gh"])}>${_text_resume($scope15_id, "i", p.pid)}</span><button${_attr_class([
|
|
15557
|
-
"_b6",
|
|
15558
|
-
"_8",
|
|
15559
|
-
"_gq"
|
|
15560
|
-
])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
|
|
15561
|
-
icon_xmark_default({ size: 14 });
|
|
15562
|
-
_html(`</button>${_el_resume($scope15_id, "j")}</span></li>${_el_resume($scope15_id, "a")}`);
|
|
15563
|
-
_script($scope15_id, "n28");
|
|
15564
|
-
writeScope($scope15_id, { r: p?.pid });
|
|
15565
|
-
}, "pid", $scope14_id, "f", 1, 1, 1, "</ul>", 1);
|
|
15566
|
-
_html("</section>");
|
|
15567
|
-
writeScope($scope14_id, {});
|
|
15568
|
-
return 0;
|
|
15569
|
-
}
|
|
15570
|
-
}, $scope0_id, "ae", 1, 1, 1, 0, 1);
|
|
15571
|
-
_html("</div></div></div>");
|
|
15575
|
+
}, $scope0_id, "ai", 1, 1, 1, 0, 1);
|
|
15576
|
+
_html("</div></div></div></div>");
|
|
15572
15577
|
_script($scope0_id, "n29");
|
|
15573
15578
|
_script($scope0_id, "n30");
|
|
15574
15579
|
writeScope($scope0_id, {
|
|
15575
|
-
|
|
15576
|
-
|
|
15577
|
-
|
|
15578
|
-
|
|
15579
|
-
|
|
15580
|
-
|
|
15581
|
-
|
|
15582
|
-
|
|
15583
|
-
|
|
15584
|
-
|
|
15585
|
-
|
|
15586
|
-
|
|
15587
|
-
|
|
15588
|
-
|
|
15589
|
-
|
|
15590
|
-
|
|
15591
|
-
|
|
15592
|
-
|
|
15593
|
-
|
|
15594
|
-
|
|
15595
|
-
|
|
15596
|
-
|
|
15597
|
-
|
|
15598
|
-
|
|
15599
|
-
|
|
15600
|
-
|
|
15601
|
-
|
|
15602
|
-
|
|
15603
|
-
|
|
15604
|
-
|
|
15605
|
-
|
|
15606
|
-
|
|
15607
|
-
|
|
15608
|
-
|
|
15609
|
-
|
|
15610
|
-
|
|
15611
|
-
|
|
15612
|
-
|
|
15613
|
-
|
|
15614
|
-
|
|
15615
|
-
|
|
15616
|
-
|
|
15617
|
-
|
|
15618
|
-
|
|
15619
|
-
|
|
15620
|
-
|
|
15621
|
-
|
|
15622
|
-
|
|
15623
|
-
|
|
15624
|
-
|
|
15625
|
-
|
|
15626
|
-
|
|
15627
|
-
|
|
15580
|
+
al: _serialize_if($scope0_reason, 1) && input.workspace,
|
|
15581
|
+
an: _serialize_if($scope0_reason, 0) && input.workspaceChange,
|
|
15582
|
+
ap: input.onDeleted,
|
|
15583
|
+
aq: input.onExit,
|
|
15584
|
+
at: busy,
|
|
15585
|
+
au: busy?.size,
|
|
15586
|
+
av: skillBusy,
|
|
15587
|
+
aw: skillBusy?.size,
|
|
15588
|
+
ax: error,
|
|
15589
|
+
ay: pendingAction,
|
|
15590
|
+
az: confirmingDelete,
|
|
15591
|
+
b1: confirmingRemove,
|
|
15592
|
+
b2: actionStep,
|
|
15593
|
+
b4: skills,
|
|
15594
|
+
b7: confirmingSkill,
|
|
15595
|
+
b8: copied,
|
|
15596
|
+
ba: copyTimer.id,
|
|
15597
|
+
bb: workspace,
|
|
15598
|
+
bd: workspace?.path,
|
|
15599
|
+
be: workspace?.branch,
|
|
15600
|
+
bg: workspace?.origin_branch,
|
|
15601
|
+
bi: workspace?.id,
|
|
15602
|
+
bj: workspace?.repos?.length,
|
|
15603
|
+
bn: copyFact,
|
|
15604
|
+
bo: invite,
|
|
15605
|
+
bp: copyInvite,
|
|
15606
|
+
br: skillSeq.applied,
|
|
15607
|
+
bs: skillSeq.issued,
|
|
15608
|
+
bt: applySkills,
|
|
15609
|
+
bu: loadSkills,
|
|
15610
|
+
bv: loadProcs,
|
|
15611
|
+
bw: inWorkspace,
|
|
15612
|
+
bx: setBusy,
|
|
15613
|
+
by: setSkillBusy,
|
|
15614
|
+
bz: runSkill,
|
|
15615
|
+
c0: addRepo,
|
|
15616
|
+
c1: removeRepo,
|
|
15617
|
+
c2: runAction,
|
|
15618
|
+
c3: killProc,
|
|
15619
|
+
c5: refreshCatalog,
|
|
15620
|
+
c6: running,
|
|
15621
|
+
c7: running.length,
|
|
15622
|
+
c9: wsSkills.length,
|
|
15623
|
+
cb: allSkills,
|
|
15624
|
+
cc: allSkills?.length,
|
|
15625
|
+
bc: input.workspaceChange || void 0,
|
|
15626
|
+
cw: $copied__closures,
|
|
15627
|
+
cx: $ws_branch__closures,
|
|
15628
|
+
cy: $ws_origin_branch__closures,
|
|
15629
|
+
cq: $pendingAction__closures,
|
|
15630
|
+
cr: $confirmingDelete__closures,
|
|
15631
|
+
cz: $ws_repos_length__closures,
|
|
15632
|
+
d0: $ws_status__closures,
|
|
15628
15633
|
d: _existing_scope($childScope),
|
|
15629
|
-
|
|
15630
|
-
|
|
15631
|
-
|
|
15632
|
-
|
|
15633
|
-
|
|
15634
|
-
|
|
15635
|
-
|
|
15634
|
+
cp: $error__closures,
|
|
15635
|
+
a8: _existing_scope($childScope2),
|
|
15636
|
+
ab: _existing_scope($childScope3),
|
|
15637
|
+
cs: $confirmingRemove__closures,
|
|
15638
|
+
cv: $confirmingSkill__closures,
|
|
15639
|
+
co: $skillBusy__closures,
|
|
15640
|
+
cu: $skills__closures
|
|
15636
15641
|
});
|
|
15637
15642
|
_resume_branch($scope0_id);
|
|
15638
15643
|
});
|
|
15639
|
-
var curRepos = "
|
|
15640
|
-
var curRow = "
|
|
15641
|
-
var curEmpty = "
|
|
15642
|
-
var curBase = "
|
|
15643
|
-
var archived = "
|
|
15644
|
-
var archivedHint = "
|
|
15645
|
-
var archivedList = "
|
|
15646
|
-
var archivedRow = "
|
|
15644
|
+
var curRepos = "_cX _cj _cK _cV";
|
|
15645
|
+
var curRow = "_fq _cY _cW";
|
|
15646
|
+
var curEmpty = "_fs _cp";
|
|
15647
|
+
var curBase = "_fv _Y _X";
|
|
15648
|
+
var archived = "_fA _ce";
|
|
15649
|
+
var archivedHint = "_fB _X";
|
|
15650
|
+
var archivedList = "_cX _cj _cK _cV";
|
|
15651
|
+
var archivedRow = "_fC _cY _cW";
|
|
15647
15652
|
//#endregion
|
|
15648
15653
|
//#region src/tags/icons/icon-group.marko
|
|
15649
15654
|
var icon_group_default = _template("fb", (input) => {
|
|
@@ -15663,8 +15668,8 @@ var icon_group_default = _template("fb", (input) => {
|
|
|
15663
15668
|
});
|
|
15664
15669
|
//#endregion
|
|
15665
15670
|
//#region src/tags/join-dialog.css.ts
|
|
15666
|
-
var dlg = "
|
|
15667
|
-
var hint = "
|
|
15671
|
+
var dlg = "_is _he";
|
|
15672
|
+
var hint = "_it _X";
|
|
15668
15673
|
//#endregion
|
|
15669
15674
|
//#region src/tags/join-dialog.marko
|
|
15670
15675
|
var api$3;
|
|
@@ -15793,26 +15798,26 @@ var join_dialog_default = _template("k", (input) => {
|
|
|
15793
15798
|
content: _content("k12", () => {
|
|
15794
15799
|
_scope_reason();
|
|
15795
15800
|
const $scope1_id = _scope_id();
|
|
15796
|
-
_html(`<h2${_attr_class("
|
|
15801
|
+
_html(`<h2${_attr_class("_hf")}${_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([
|
|
15797
15802
|
"_Z",
|
|
15798
15803
|
"_y",
|
|
15799
|
-
"
|
|
15804
|
+
"_iv"
|
|
15800
15805
|
])} 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")}`);
|
|
15801
15806
|
_if(() => {
|
|
15802
15807
|
if (parsed.error) {
|
|
15803
15808
|
const $scope8_id = _scope_id();
|
|
15804
|
-
_html(`<p${_attr_class([hint, "
|
|
15809
|
+
_html(`<p${_attr_class([hint, "_iu"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
|
|
15805
15810
|
_subscribe($parsed_error__closures, writeScope($scope8_id, { Cag: 1 }));
|
|
15806
15811
|
return 0;
|
|
15807
15812
|
} else if (parsed.ok) {
|
|
15808
15813
|
const $scope3_id = _scope_id();
|
|
15809
|
-
_html(`<ul${_attr_class("
|
|
15814
|
+
_html(`<ul${_attr_class("_iw")}>`);
|
|
15810
15815
|
_for_of(parsed.ok.repos, (fullName) => {
|
|
15811
15816
|
const $scope9_id = _scope_id();
|
|
15812
|
-
_html(`<li${_attr_class("
|
|
15817
|
+
_html(`<li${_attr_class("_ix")}><span${_attr_class("_iy")}>${_text_resume($scope9_id, "c", repoLabel$1(fullName))}</span></li>`);
|
|
15813
15818
|
writeScope($scope9_id, {});
|
|
15814
15819
|
}, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
|
|
15815
|
-
_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("
|
|
15820
|
+
_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("_iz")}><span${_attr_class("_cs")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
|
|
15816
15821
|
name = _new_name;
|
|
15817
15822
|
}, "k1", $scope3_id))}${_attr_class("_Z")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
|
|
15818
15823
|
_script($scope3_id, "k8");
|
|
@@ -15849,10 +15854,10 @@ var join_dialog_default = _template("k", (input) => {
|
|
|
15849
15854
|
_if(() => {
|
|
15850
15855
|
if (busy && steps$2.length) {
|
|
15851
15856
|
const $scope6_id = _scope_id();
|
|
15852
|
-
_html(`<ul${_attr_class("
|
|
15857
|
+
_html(`<ul${_attr_class("_iA")}>`);
|
|
15853
15858
|
_for_of(steps$2, (step$2, i) => {
|
|
15854
15859
|
const $scope7_id = _scope_id();
|
|
15855
|
-
_html(`<li${_attr_class(["
|
|
15860
|
+
_html(`<li${_attr_class(["_iC", { ["_iB"]: i === steps$2.length - 1 }])}>`);
|
|
15856
15861
|
_if(() => {
|
|
15857
15862
|
if (i === steps$2.length - 1) {
|
|
15858
15863
|
const $scope10_id = _scope_id();
|
|
@@ -15861,7 +15866,7 @@ var join_dialog_default = _template("k", (input) => {
|
|
|
15861
15866
|
return 0;
|
|
15862
15867
|
} else {
|
|
15863
15868
|
const $scope11_id = _scope_id();
|
|
15864
|
-
_html(`<span${_attr_class("
|
|
15869
|
+
_html(`<span${_attr_class("_iD")}>`);
|
|
15865
15870
|
icon_check_default({ size: 14 });
|
|
15866
15871
|
_html("</span>");
|
|
15867
15872
|
writeScope($scope11_id, {});
|
|
@@ -16019,7 +16024,7 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
16019
16024
|
}
|
|
16020
16025
|
}, "q6", $scope0_id);
|
|
16021
16026
|
const titleId = _id();
|
|
16022
|
-
_html(`<div${_attr_class("
|
|
16027
|
+
_html(`<div${_attr_class("_d7")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_d8")}><div${_attr_class("_d9")}>`);
|
|
16023
16028
|
_set_serialize_reason({
|
|
16024
16029
|
0: _serialize_guard($scope0_reason, 2),
|
|
16025
16030
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -16043,6 +16048,7 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
16043
16048
|
_resume_branch($scope3_id);
|
|
16044
16049
|
}, $scope0_id) })
|
|
16045
16050
|
});
|
|
16051
|
+
_html(`<div${_attr_class("_d_")}>`);
|
|
16046
16052
|
_if(() => {
|
|
16047
16053
|
if (error) {
|
|
16048
16054
|
const $scope8_id = _scope_id();
|
|
@@ -16062,17 +16068,17 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
16062
16068
|
writeScope($scope8_id, {});
|
|
16063
16069
|
return 0;
|
|
16064
16070
|
}
|
|
16065
|
-
}, $scope0_id, "
|
|
16066
|
-
_html(`<label${_attr_class("
|
|
16071
|
+
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
16072
|
+
_html(`<label${_attr_class("_fm")}><span${_attr_class("_cs")}>Name</span><input${_attr_input_value($scope0_id, "i", name, _resume((_new_name) => {
|
|
16067
16073
|
name = _new_name;
|
|
16068
|
-
}, "q0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "
|
|
16074
|
+
}, "q0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "i")}</label><section${_attr_class("_ce")}><div${_attr_class("_fo")}><h2${_attr_class("_cs")}>Repos</h2></div><ul${_attr_class(curRepos)}>`);
|
|
16069
16075
|
_for_of(selected, (repo) => {
|
|
16070
16076
|
const $scope4_id = _scope_id();
|
|
16071
|
-
_html(`<li${_attr_class("
|
|
16077
|
+
_html(`<li${_attr_class("_fp")}><div${_attr_class(curRow)}><span${_attr_class("_ft")}>${_text_resume($scope4_id, "d", repoLabel$1(repo.fullName))}</span>`);
|
|
16072
16078
|
_if(() => {
|
|
16073
16079
|
if (repo.fork !== void 0) {
|
|
16074
16080
|
const $scope5_id = _scope_id();
|
|
16075
|
-
_html(`<button${_attr_class(["
|
|
16081
|
+
_html(`<button${_attr_class(["_fw", { ["_fu"]: 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)}>`);
|
|
16076
16082
|
_if(() => {
|
|
16077
16083
|
if (repo.fork) {
|
|
16078
16084
|
const $scope13_id = _scope_id();
|
|
@@ -16088,14 +16094,14 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
16088
16094
|
}
|
|
16089
16095
|
}, $scope5_id, "a", 1, 1, 1, "</button>");
|
|
16090
16096
|
_script($scope5_id, "q17");
|
|
16091
|
-
_subscribe($busy__closures, writeScope($scope5_id, {
|
|
16097
|
+
_subscribe($busy__closures, writeScope($scope5_id, { Caz: 1 }));
|
|
16092
16098
|
return 0;
|
|
16093
16099
|
}
|
|
16094
16100
|
}, $scope4_id, "e", 1, 1, 1, 0, 1);
|
|
16095
16101
|
_html(`<button${_attr_class([
|
|
16096
16102
|
curBase,
|
|
16097
16103
|
"_y",
|
|
16098
|
-
{ ["
|
|
16104
|
+
{ ["_fu"]: branchesFor === repo.fullName }
|
|
16099
16105
|
])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}>`);
|
|
16100
16106
|
icon_branch_default({ size: 12 });
|
|
16101
16107
|
_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)}>`);
|
|
@@ -16104,7 +16110,7 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
16104
16110
|
_if(() => {
|
|
16105
16111
|
if (branchesFor === repo.fullName) {
|
|
16106
16112
|
const $scope10_id = _scope_id();
|
|
16107
|
-
_html(`<div${_attr_class("
|
|
16113
|
+
_html(`<div${_attr_class("_fr")}>`);
|
|
16108
16114
|
const $childScope2 = _peek_scope_id();
|
|
16109
16115
|
branch_pick_default({
|
|
16110
16116
|
repo: repo.fullName,
|
|
@@ -16129,7 +16135,7 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
16129
16135
|
p: repo?.fork,
|
|
16130
16136
|
q: repo?.baseBranch
|
|
16131
16137
|
});
|
|
16132
|
-
}, "fullName", $scope0_id, "
|
|
16138
|
+
}, "fullName", $scope0_id, "n", 1, 1, 1, 0, 1);
|
|
16133
16139
|
_if(() => {
|
|
16134
16140
|
if (!selected.length) {
|
|
16135
16141
|
const $scope15_id = _scope_id();
|
|
@@ -16137,7 +16143,7 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
16137
16143
|
writeScope($scope15_id, {});
|
|
16138
16144
|
return 0;
|
|
16139
16145
|
}
|
|
16140
|
-
}, $scope0_id, "
|
|
16146
|
+
}, $scope0_id, "o", 1, 1, 1, 0, 1);
|
|
16141
16147
|
_html("</ul>");
|
|
16142
16148
|
const $childScope4 = _peek_scope_id();
|
|
16143
16149
|
let refreshCatalog = repo_picker_default({
|
|
@@ -16155,7 +16161,7 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
16155
16161
|
action: attrTag({ content: _content("q20", () => {
|
|
16156
16162
|
_scope_reason();
|
|
16157
16163
|
const $scope2_id = _scope_id();
|
|
16158
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
16164
|
+
_html(`<button${_attr_class([iconBtnRow, "_fn"])} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
16159
16165
|
_set_serialize_reason(1);
|
|
16160
16166
|
const $childScope3 = _peek_scope_id();
|
|
16161
16167
|
icon_refresh_default({
|
|
@@ -16171,15 +16177,15 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
16171
16177
|
_resume_branch($scope2_id);
|
|
16172
16178
|
}, $scope0_id) })
|
|
16173
16179
|
});
|
|
16174
|
-
_var($scope0_id, "
|
|
16180
|
+
_var($scope0_id, "q", $childScope4, "q21");
|
|
16175
16181
|
_html("</section>");
|
|
16176
16182
|
_if(() => {
|
|
16177
16183
|
if (busy && steps.length) {
|
|
16178
16184
|
const $scope11_id = _scope_id();
|
|
16179
|
-
_html(`<ul${_attr_class("
|
|
16185
|
+
_html(`<ul${_attr_class("_fx")}>`);
|
|
16180
16186
|
_for_of(steps, (step, i) => {
|
|
16181
16187
|
const $scope12_id = _scope_id();
|
|
16182
|
-
_html(`<li${_attr_class(["
|
|
16188
|
+
_html(`<li${_attr_class(["_fD", { ["_fy"]: i === steps.length - 1 }])}>`);
|
|
16183
16189
|
_if(() => {
|
|
16184
16190
|
if (i === steps.length - 1) {
|
|
16185
16191
|
const $scope16_id = _scope_id();
|
|
@@ -16188,7 +16194,7 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
16188
16194
|
return 0;
|
|
16189
16195
|
} else {
|
|
16190
16196
|
const $scope17_id = _scope_id();
|
|
16191
|
-
_html(`<span${_attr_class("
|
|
16197
|
+
_html(`<span${_attr_class("_fz")}>`);
|
|
16192
16198
|
icon_check_default({ size: 14 });
|
|
16193
16199
|
_html("</span>");
|
|
16194
16200
|
writeScope($scope17_id, {});
|
|
@@ -16201,19 +16207,19 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
16201
16207
|
writeScope($scope11_id, {});
|
|
16202
16208
|
return 0;
|
|
16203
16209
|
}
|
|
16204
|
-
}, $scope0_id, "
|
|
16205
|
-
_html(`<div${_attr_class("
|
|
16210
|
+
}, $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
16211
|
+
_html(`<div${_attr_class("_fk")}><button type=button${_attr_class([
|
|
16206
16212
|
btnLg,
|
|
16207
16213
|
"_r",
|
|
16208
|
-
"
|
|
16209
|
-
])}${_attr("disabled", busy || !!restoring || !name.trim())}>${_text_resume($scope0_id, "
|
|
16214
|
+
"_fl"
|
|
16215
|
+
])}${_attr("disabled", busy || !!restoring || !name.trim())}>${_text_resume($scope0_id, "u", busy ? "Creating…" : "Create workspace")}</button>${_el_resume($scope0_id, "t")}</div></div><div${_attr_class("_d_")}>`);
|
|
16210
16216
|
_if(() => {
|
|
16211
16217
|
if (archived$1.length) {
|
|
16212
16218
|
const $scope6_id = _scope_id();
|
|
16213
|
-
_html(`<section${_attr_class(archived)}><div${_attr_class("
|
|
16219
|
+
_html(`<section${_attr_class(archived)}><div${_attr_class("_fo")}><h2${_attr_class("_cs")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_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)}>`);
|
|
16214
16220
|
_for_of(archived$1, (ws) => {
|
|
16215
16221
|
const $scope7_id = _scope_id();
|
|
16216
|
-
_html(`<li${_attr_class(archivedRow)}><div${_attr_class("
|
|
16222
|
+
_html(`<li${_attr_class(archivedRow)}><div${_attr_class("_ck")}><span${_attr_class("_cl")}>${_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)}>`);
|
|
16217
16223
|
_if(() => {
|
|
16218
16224
|
if (restoring === ws.id) {
|
|
16219
16225
|
const $scope18_id = _scope_id();
|
|
@@ -16233,14 +16239,14 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
16233
16239
|
j: ws,
|
|
16234
16240
|
o: ws?.id,
|
|
16235
16241
|
_: _scope_with_id($scope6_id),
|
|
16236
|
-
|
|
16242
|
+
Caz: 2
|
|
16237
16243
|
})));
|
|
16238
16244
|
}, "id", $scope6_id, "g", $sg__input_workspaces, $sg__input_workspaces, $sg__input_workspaces, "</ul>", 1);
|
|
16239
16245
|
_html("</section>");
|
|
16240
16246
|
writeScope($scope6_id, { _: _scope_with_id($scope0_id) });
|
|
16241
16247
|
return 0;
|
|
16242
16248
|
}
|
|
16243
|
-
}, $scope0_id, "
|
|
16249
|
+
}, $scope0_id, "v", $sg__input_workspaces, $sg__input_workspaces, 1, "</div>", 1);
|
|
16244
16250
|
_html("</div></div>");
|
|
16245
16251
|
_if(() => {
|
|
16246
16252
|
if (joinOpen) {
|
|
@@ -16257,39 +16263,39 @@ var new_workspace_default = _template("q", (input) => {
|
|
|
16257
16263
|
writeScope($scope1_id, { a: _existing_scope($childScope5) });
|
|
16258
16264
|
return 0;
|
|
16259
16265
|
}
|
|
16260
|
-
}, $scope0_id, "
|
|
16266
|
+
}, $scope0_id, "w", 1, 1, 1, 0, 1);
|
|
16261
16267
|
_html("</div>");
|
|
16262
16268
|
_script($scope0_id, "q23");
|
|
16263
16269
|
writeScope($scope0_id, {
|
|
16264
|
-
|
|
16265
|
-
|
|
16266
|
-
|
|
16267
|
-
|
|
16268
|
-
|
|
16269
|
-
|
|
16270
|
-
|
|
16271
|
-
|
|
16272
|
-
|
|
16273
|
-
|
|
16274
|
-
|
|
16275
|
-
|
|
16276
|
-
|
|
16277
|
-
|
|
16278
|
-
|
|
16279
|
-
|
|
16280
|
-
|
|
16281
|
-
|
|
16282
|
-
|
|
16283
|
-
|
|
16284
|
-
|
|
16285
|
-
|
|
16286
|
-
|
|
16270
|
+
a0: input.onRestore,
|
|
16271
|
+
a1: input.onCreate,
|
|
16272
|
+
a3: input.onExit,
|
|
16273
|
+
a4: name,
|
|
16274
|
+
a6: joinOpen,
|
|
16275
|
+
a7: selected,
|
|
16276
|
+
a9: busy,
|
|
16277
|
+
aa: restoring,
|
|
16278
|
+
ad: error,
|
|
16279
|
+
ae: steps,
|
|
16280
|
+
af: steps?.length,
|
|
16281
|
+
ah: $si__input_workspaces && archived$1,
|
|
16282
|
+
ai: $si__input_workspaces && archived$1?.length,
|
|
16283
|
+
aj: addRepo,
|
|
16284
|
+
ak: branchesFor,
|
|
16285
|
+
am: removeRepo,
|
|
16286
|
+
an: toggleFork,
|
|
16287
|
+
ao: setBranch,
|
|
16288
|
+
ap: restore,
|
|
16289
|
+
ar: createGen.n,
|
|
16290
|
+
at: create,
|
|
16291
|
+
av: refreshCatalog,
|
|
16292
|
+
az: $busy__closures,
|
|
16287
16293
|
d: _serialize_if($scope0_reason, 0) && _existing_scope($childScope),
|
|
16288
|
-
|
|
16289
|
-
|
|
16290
|
-
|
|
16291
|
-
|
|
16292
|
-
|
|
16294
|
+
b1: $error__closures,
|
|
16295
|
+
ax: $catalogRefreshing__closures,
|
|
16296
|
+
p: _existing_scope($childScope4),
|
|
16297
|
+
b3: $steps_length__closures,
|
|
16298
|
+
b0: $restoring__closures
|
|
16293
16299
|
});
|
|
16294
16300
|
_resume_branch($scope0_id);
|
|
16295
16301
|
});
|
|
@@ -16329,19 +16335,19 @@ var term_find_default = _template("D", (input) => {
|
|
|
16329
16335
|
const canStep = hasQuery && open;
|
|
16330
16336
|
const keybar = input.placement === "keybar";
|
|
16331
16337
|
_html(`<div${_attr_class([
|
|
16332
|
-
"
|
|
16333
|
-
keybar ? "
|
|
16334
|
-
!open && "
|
|
16335
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
16338
|
+
"_em",
|
|
16339
|
+
keybar ? "_eo" : "_en",
|
|
16340
|
+
!open && "_eq"
|
|
16341
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_eg", keybar ? "_ep" : "_ej"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
16336
16342
|
if (!open) return;
|
|
16337
16343
|
query = v;
|
|
16338
16344
|
live.query = v;
|
|
16339
16345
|
run(0);
|
|
16340
|
-
}, "D1", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
16346
|
+
}, "D1", $scope0_id))}${_attr_class([findInput, keybar && "_er"])} 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 && "_es"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
16341
16347
|
icon_arrow_up_default({ size: 14 });
|
|
16342
|
-
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
16348
|
+
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_es"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
16343
16349
|
icon_arrow_down_default({ size: 14 });
|
|
16344
|
-
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
16350
|
+
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_es"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
|
|
16345
16351
|
icon_xmark_default({ size: 14 });
|
|
16346
16352
|
_html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
|
|
16347
16353
|
const $return = focusInput;
|
|
@@ -16492,7 +16498,7 @@ var term_default = _template("E", (input) => {
|
|
|
16492
16498
|
}
|
|
16493
16499
|
}, "E9", $scope0_id);
|
|
16494
16500
|
input.keys;
|
|
16495
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
16501
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_e_")}><div${_attr_class("_fa")}></div>${_el_resume($scope0_id, "b")}`);
|
|
16496
16502
|
_if(() => {
|
|
16497
16503
|
if (findOpen) {
|
|
16498
16504
|
const $scope4_id = _scope_id();
|
|
@@ -16519,7 +16525,7 @@ var term_default = _template("E", (input) => {
|
|
|
16519
16525
|
_if(() => {
|
|
16520
16526
|
if (uploading) {
|
|
16521
16527
|
const $scope5_id = _scope_id();
|
|
16522
|
-
_html(`<div${_attr_class("
|
|
16528
|
+
_html(`<div${_attr_class("_fg")}>uploading…</div>`);
|
|
16523
16529
|
writeScope($scope5_id, {});
|
|
16524
16530
|
return 0;
|
|
16525
16531
|
}
|
|
@@ -16527,7 +16533,7 @@ var term_default = _template("E", (input) => {
|
|
|
16527
16533
|
_if(() => {
|
|
16528
16534
|
if (copiedFlash) {
|
|
16529
16535
|
const $scope6_id = _scope_id();
|
|
16530
|
-
_html(`<div${_attr_class("
|
|
16536
|
+
_html(`<div${_attr_class("_ff")}>Copied</div>`);
|
|
16531
16537
|
writeScope($scope6_id, {});
|
|
16532
16538
|
return 0;
|
|
16533
16539
|
}
|
|
@@ -16536,7 +16542,7 @@ var term_default = _template("E", (input) => {
|
|
|
16536
16542
|
_if(() => {
|
|
16537
16543
|
if (trapOpen) {
|
|
16538
16544
|
const $scope3_id = _scope_id();
|
|
16539
|
-
_html(`<div${_attr_class("
|
|
16545
|
+
_html(`<div${_attr_class("_fh")}><div${_attr_class("_fi")}><p${_attr_class("_fj")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope3_id, "d")}<button${_attr_class("_q")}>Cancel</button>${_el_resume($scope3_id, "e")}</div>${_el_resume($scope3_id, "b")}</div>${_el_resume($scope3_id, "a")}`);
|
|
16540
16546
|
_script($scope3_id, "E16");
|
|
16541
16547
|
_script($scope3_id, "E17");
|
|
16542
16548
|
writeScope($scope3_id, {});
|
|
@@ -16799,10 +16805,10 @@ var work_view_default = _template("J", (input) => {
|
|
|
16799
16805
|
}
|
|
16800
16806
|
}, "J14", $scope0_id);
|
|
16801
16807
|
const navShown = view === "nav" && input.navState?.view === "nav";
|
|
16802
|
-
_html(`<div${_attr_class(["
|
|
16803
|
-
["
|
|
16804
|
-
["
|
|
16805
|
-
}])}><div${_attr_class("
|
|
16808
|
+
_html(`<div${_attr_class(["_b9", {
|
|
16809
|
+
["_b7"]: navShown,
|
|
16810
|
+
["_b8"]: !input.active
|
|
16811
|
+
}])}><div${_attr_class("_b_")}>`);
|
|
16806
16812
|
_if(() => {
|
|
16807
16813
|
if (error) {
|
|
16808
16814
|
const $scope8_id = _scope_id();
|
|
@@ -16825,7 +16831,7 @@ var work_view_default = _template("J", (input) => {
|
|
|
16825
16831
|
_if(() => {
|
|
16826
16832
|
if (diffMounted && ws) {
|
|
16827
16833
|
const $scope1_id = _scope_id();
|
|
16828
|
-
_html(`<div${_attr_class("
|
|
16834
|
+
_html(`<div${_attr_class("_ca")}${_attr_or("data-live", view === "diff", "")}${_attr("inert", view !== "diff")}>`);
|
|
16829
16835
|
_set_serialize_reason({
|
|
16830
16836
|
0: $sg__input_workspace,
|
|
16831
16837
|
1: $sg__input_workspace,
|
|
@@ -16887,7 +16893,7 @@ var work_view_default = _template("J", (input) => {
|
|
|
16887
16893
|
_if(() => {
|
|
16888
16894
|
if (manageMounted && ws) {
|
|
16889
16895
|
const $scope2_id = _scope_id();
|
|
16890
|
-
_html(`<div${_attr_class("
|
|
16896
|
+
_html(`<div${_attr_class("_ca")}${_attr_or("data-live", view === "manage", "")}${_attr("inert", view !== "manage")}>`);
|
|
16891
16897
|
_set_serialize_reason({
|
|
16892
16898
|
0: $sg__input_workspace,
|
|
16893
16899
|
1: _serialize_guard($scope0_reason, 9)
|
|
@@ -16913,7 +16919,7 @@ var work_view_default = _template("J", (input) => {
|
|
|
16913
16919
|
_if(() => {
|
|
16914
16920
|
if (settingsMounted) {
|
|
16915
16921
|
const $scope3_id = _scope_id();
|
|
16916
|
-
_html(`<div${_attr_class("
|
|
16922
|
+
_html(`<div${_attr_class("_ca")}${_attr_or("data-live", view === "settings", "")}${_attr("inert", view !== "settings")}>`);
|
|
16917
16923
|
_set_serialize_reason({
|
|
16918
16924
|
0: _serialize_guard($scope0_reason, 0),
|
|
16919
16925
|
1: $sg__input_workspace,
|
|
@@ -16955,7 +16961,7 @@ var work_view_default = _template("J", (input) => {
|
|
|
16955
16961
|
_if(() => {
|
|
16956
16962
|
if (newMounted) {
|
|
16957
16963
|
const $scope4_id = _scope_id();
|
|
16958
|
-
_html(`<div${_attr_class("
|
|
16964
|
+
_html(`<div${_attr_class("_ca")}${_attr_or("data-live", view === "new", "")}${_attr("inert", view !== "new")}>`);
|
|
16959
16965
|
_set_serialize_reason({
|
|
16960
16966
|
0: 1,
|
|
16961
16967
|
1: _serialize_guard($scope0_reason, 13),
|
|
@@ -16980,13 +16986,13 @@ var work_view_default = _template("J", (input) => {
|
|
|
16980
16986
|
return 0;
|
|
16981
16987
|
}
|
|
16982
16988
|
}, $scope0_id, "g", 1, 1, 1, 0, 1);
|
|
16983
|
-
_html(`<div${_attr_class("
|
|
16989
|
+
_html(`<div${_attr_class("_cb")}${_attr("inert", view !== "term")}>`);
|
|
16984
16990
|
_if(() => {
|
|
16985
16991
|
if (ws && shownSessions) {
|
|
16986
16992
|
const $scope5_id = _scope_id();
|
|
16987
16993
|
_for_of(input.active ? shownSessions : shownSessions.filter((x) => x.id === curTab), (s) => {
|
|
16988
16994
|
const $scope6_id = _scope_id();
|
|
16989
|
-
_html(`<div${_attr_class("
|
|
16995
|
+
_html(`<div${_attr_class("_cc")}${_attr_or("data-live", s.id === curTab, "")}${_attr("inert", s.id !== curTab)}>`);
|
|
16990
16996
|
_set_serialize_reason(2);
|
|
16991
16997
|
const $childScope5 = _peek_scope_id();
|
|
16992
16998
|
term_default({
|
|
@@ -17012,7 +17018,7 @@ var work_view_default = _template("J", (input) => {
|
|
|
17012
17018
|
_if(() => {
|
|
17013
17019
|
if (!shownSessions.length && view === "term") {
|
|
17014
17020
|
const $scope7_id = _scope_id();
|
|
17015
|
-
_html(`<div${_attr_class("
|
|
17021
|
+
_html(`<div${_attr_class("_cq")}><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>`);
|
|
17016
17022
|
_script($scope7_id, "J39");
|
|
17017
17023
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
|
|
17018
17024
|
return 0;
|
|
@@ -17022,7 +17028,7 @@ var work_view_default = _template("J", (input) => {
|
|
|
17022
17028
|
return 0;
|
|
17023
17029
|
} else if (ws) {
|
|
17024
17030
|
const $scope10_id = _scope_id();
|
|
17025
|
-
_html(`<p${_attr_class("
|
|
17031
|
+
_html(`<p${_attr_class("_cq")}>Loading sessions…</p>`);
|
|
17026
17032
|
writeScope($scope10_id, {});
|
|
17027
17033
|
return 1;
|
|
17028
17034
|
}
|
|
@@ -17143,8 +17149,8 @@ _template("ub", (input) => {
|
|
|
17143
17149
|
});
|
|
17144
17150
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
17145
17151
|
});
|
|
17146
|
-
var sessOpen = "
|
|
17147
|
-
var sessRename = "
|
|
17152
|
+
var sessOpen = "_ex _I";
|
|
17153
|
+
var sessRename = "_eB _J";
|
|
17148
17154
|
//#endregion
|
|
17149
17155
|
//#region src/tags/key-bar-sessions.marko
|
|
17150
17156
|
var usageFor;
|
|
@@ -17175,7 +17181,7 @@ _template("l", (input) => {
|
|
|
17175
17181
|
popEl.style.top = `${Math.max(8, btn.top - popEl.offsetHeight - 8)}px`;
|
|
17176
17182
|
popEl.style.left = `${Math.max(8, Math.min(btn.left + btn.width / 2 - popEl.offsetWidth / 2, window.innerWidth - popEl.offsetWidth - 8))}px`;
|
|
17177
17183
|
}, "l2", $scope0_id);
|
|
17178
|
-
_html(`<button${_attr_class([kbtn, "
|
|
17184
|
+
_html(`<button${_attr_class([kbtn, "_et"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
|
|
17179
17185
|
_set_serialize_reason({
|
|
17180
17186
|
1: $sg__input_sessions__OR__input_sessionId,
|
|
17181
17187
|
2: $sg__input_sessions__OR__input_sessionId
|
|
@@ -17189,12 +17195,12 @@ _template("l", (input) => {
|
|
|
17189
17195
|
"_A",
|
|
17190
17196
|
"_bc",
|
|
17191
17197
|
phase[sessionPhase(current$2?.state)]
|
|
17192
|
-
])}></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(["__", "
|
|
17198
|
+
])}></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(["__", "_eu"])}>`);
|
|
17193
17199
|
_for_of(input.sessions, (s) => {
|
|
17194
17200
|
const $scope1_id = _scope_id();
|
|
17195
17201
|
const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
|
|
17196
17202
|
const $for_content__s_id__closures = /* @__PURE__ */ new Set();
|
|
17197
|
-
_html(`<div${_attr_class(["
|
|
17203
|
+
_html(`<div${_attr_class(["_ew", { ["_ev"]: s.id === input.sessionId }])}>`);
|
|
17198
17204
|
_if(() => {
|
|
17199
17205
|
if (renamingId === s.id) {
|
|
17200
17206
|
const $scope5_id = _scope_id();
|
|
@@ -17226,7 +17232,7 @@ _template("l", (input) => {
|
|
|
17226
17232
|
agent: activeAgent(s),
|
|
17227
17233
|
size: 14
|
|
17228
17234
|
});
|
|
17229
|
-
_html(`<span${_attr_class("
|
|
17235
|
+
_html(`<span${_attr_class("_ey")}><span${_attr_class("_eA")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
|
|
17230
17236
|
_if(() => {
|
|
17231
17237
|
if (s.id === input.sessionId) {
|
|
17232
17238
|
const $scope7_id = _scope_id();
|
|
@@ -17238,7 +17244,7 @@ _template("l", (input) => {
|
|
|
17238
17244
|
const $childScope4 = _peek_scope_id();
|
|
17239
17245
|
usage_pcts_default({
|
|
17240
17246
|
agent: plan,
|
|
17241
|
-
class: "
|
|
17247
|
+
class: "_ez"
|
|
17242
17248
|
});
|
|
17243
17249
|
writeScope($scope8_id, { a: _existing_scope($childScope4) });
|
|
17244
17250
|
return 0;
|
|
@@ -17255,7 +17261,7 @@ _template("l", (input) => {
|
|
|
17255
17261
|
_if(() => {
|
|
17256
17262
|
if (input.onRenameSession) {
|
|
17257
17263
|
const $scope6_id = _scope_id();
|
|
17258
|
-
_html(`<button${_attr_class(["
|
|
17264
|
+
_html(`<button${_attr_class(["_eC", "_eD"])} title="Rename session">`);
|
|
17259
17265
|
icon_edit_default({ size: 12 });
|
|
17260
17266
|
_html(`</button>${_el_resume($scope6_id, "a")}`);
|
|
17261
17267
|
_script($scope6_id, "l4");
|
|
@@ -17267,7 +17273,7 @@ _template("l", (input) => {
|
|
|
17267
17273
|
if (input.onCloseSession) {
|
|
17268
17274
|
const $scope3_id = _scope_id();
|
|
17269
17275
|
_html(`<button${_attr_class([
|
|
17270
|
-
"
|
|
17276
|
+
"_eC",
|
|
17271
17277
|
"_8",
|
|
17272
17278
|
{ ["_s"]: armedClose === s.id }
|
|
17273
17279
|
])} title=${armedClose === s.id ? "Close?" : "\"Close session\""}>`);
|
|
@@ -17294,7 +17300,7 @@ _template("l", (input) => {
|
|
|
17294
17300
|
k: $si__input_sessions && $for_content__s_id__closures
|
|
17295
17301
|
});
|
|
17296
17302
|
}, "id", $scope0_id, "e", 1, $sg__input_sessions, $sg__input_sessions__OR__input_agents, 0, 1);
|
|
17297
|
-
_html(`<div${_attr_class("
|
|
17303
|
+
_html(`<div${_attr_class("_eE")}><span${_attr_class("_eF")}>New session</span><div${_attr_class("_eG")}>`);
|
|
17298
17304
|
_for_of(["shell", ...input.agents], (agent) => {
|
|
17299
17305
|
const $scope4_id = _scope_id();
|
|
17300
17306
|
_html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
|
|
@@ -26461,4 +26467,4 @@ server.listen(port, () => {
|
|
|
26461
26467
|
//#endregion
|
|
26462
26468
|
export {};
|
|
26463
26469
|
|
|
26464
|
-
;var __MARKO_MANIFEST__={"
|
|
26470
|
+
;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-BeSGn2E6.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-BeSGn2E6.css\"",">",2,"stylesheet#/assets/app-page-D7EjmXP_.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D7EjmXP_.css\"",">"],"defer":[2,"/assets/new-Du7xBoU1.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-Du7xBoU1.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BUlKyuxt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BUlKyuxt.js\"",">",2,"modulepreload#/assets/_eNoxkhhO.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_eNoxkhhO.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-BeSGn2E6.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-BeSGn2E6.css\"",">",2,"stylesheet#/assets/app-page-D7EjmXP_.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D7EjmXP_.css\"",">"],"defer":[2,"/assets/settings-Du7xBoU1.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-Du7xBoU1.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BUlKyuxt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BUlKyuxt.js\"",">",2,"modulepreload#/assets/_eNoxkhhO.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_eNoxkhhO.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-BeSGn2E6.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-BeSGn2E6.css\"",">",2,"stylesheet#/assets/app-page-D7EjmXP_.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D7EjmXP_.css\"",">"],"defer":[2,"/assets/w._-Du7xBoU1.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-Du7xBoU1.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BUlKyuxt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BUlKyuxt.js\"",">",2,"modulepreload#/assets/_eNoxkhhO.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_eNoxkhhO.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-BeSGn2E6.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-BeSGn2E6.css\"",">",2,"stylesheet#/assets/app-page-D7EjmXP_.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D7EjmXP_.css\"",">"],"defer":[2,"/assets/w-Du7xBoU1.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-Du7xBoU1.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BUlKyuxt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BUlKyuxt.js\"",">",2,"modulepreload#/assets/_eNoxkhhO.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_eNoxkhhO.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-BeSGn2E6.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-BeSGn2E6.css\"",">",2,"stylesheet#/assets/app-page-D7EjmXP_.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D7EjmXP_.css\"",">"],"defer":[2,"/assets/w._-CtIaIHF1.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-CtIaIHF1.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BUlKyuxt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BUlKyuxt.js\"",">",2,"modulepreload#/assets/_eNoxkhhO.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_eNoxkhhO.js\"",">"]},"_w":{"block":[2,"stylesheet#/assets/review-view-CTNpiYqc.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-CTNpiYqc.css\"",">",2,"stylesheet#/assets/icon-arrow-down-BeSGn2E6.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-BeSGn2E6.css\"",">"],"defer":[2,"/assets/review-view-Do3J8OqE.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-Do3J8OqE.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">"]}};
|