@dylanpiercey/work 0.0.169 → 0.0.170

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.
Files changed (77) hide show
  1. package/dist/index.mjs +712 -659
  2. package/dist/public/assets/_AprdAiCF.js +1 -0
  3. package/dist/public/assets/_B-6CrIqx.js +1 -0
  4. package/dist/public/assets/_B6F1nNKp.js +1 -0
  5. package/dist/public/assets/_BBLHtUpD.js +1 -0
  6. package/dist/public/assets/_BIICda_z.js +1 -0
  7. package/dist/public/assets/_BnHgG8Kq.js +1 -0
  8. package/dist/public/assets/_CFB3BxaN.js +1 -0
  9. package/dist/public/assets/_CL9zeyYy.js +1 -0
  10. package/dist/public/assets/{_DeWBAMhg.js → _CYqX2f3f.js} +1 -1
  11. package/dist/public/assets/_CYqX2f3f.js.br +0 -0
  12. package/dist/public/assets/_Ckrvpxti.js +1 -0
  13. package/dist/public/assets/_D7RBhyll.js +1 -0
  14. package/dist/public/assets/_D9xomi0r.js +1 -0
  15. package/dist/public/assets/_DNcOj-lY.js +1 -0
  16. package/dist/public/assets/{_CLC3vDYr.js → _DbVUck3-.js} +7 -7
  17. package/dist/public/assets/_DbVUck3-.js.br +0 -0
  18. package/dist/public/assets/_DjPbyhtm.js +83 -0
  19. package/dist/public/assets/_DjPbyhtm.js.br +0 -0
  20. package/dist/public/assets/_DlA-Rq0Y.js +1 -0
  21. package/dist/public/assets/_Duwzypc2.js +1 -0
  22. package/dist/public/assets/_DxSx-utO.js +1 -0
  23. package/dist/public/assets/_DyYtuSwv.js +1 -0
  24. package/dist/public/assets/_LekqYxqr.js +1 -0
  25. package/dist/public/assets/_XumzXBny.js +1 -0
  26. package/dist/public/assets/_cComLBto.js +1 -0
  27. package/dist/public/assets/_d-kMKz73.js +1 -0
  28. package/dist/public/assets/_pfNREdwI.js +1 -0
  29. package/dist/public/assets/app-page-CRushKCr.css +1 -0
  30. package/dist/public/assets/app-page-CRushKCr.css.br +0 -0
  31. package/dist/public/assets/{icon-arrow-down-C4usy4AG.css → icon-arrow-down-CtcHHJio.css} +1 -1
  32. package/dist/public/assets/icon-arrow-down-CtcHHJio.css.br +0 -0
  33. package/dist/public/assets/new-Rx4dBoTQ.js +1 -0
  34. package/dist/public/assets/review-view-B95CZ5lI.css +1 -0
  35. package/dist/public/assets/review-view-B95CZ5lI.css.br +0 -0
  36. package/dist/public/assets/review-view-DGJFqqiT.js +2 -0
  37. package/dist/public/assets/settings-Rx4dBoTQ.js +1 -0
  38. package/dist/public/assets/w-Rx4dBoTQ.js +1 -0
  39. package/dist/public/assets/w._-DqT00bZV.js +1 -0
  40. package/dist/public/assets/w._-Rx4dBoTQ.js +1 -0
  41. package/package.json +1 -1
  42. package/dist/public/assets/_5_CYpLD_.js +0 -1
  43. package/dist/public/assets/_817Oyo-f.js +0 -1
  44. package/dist/public/assets/_BGMdUQV-.js +0 -1
  45. package/dist/public/assets/_BW7i08wc.js +0 -1
  46. package/dist/public/assets/_B_OqwuNp.js +0 -1
  47. package/dist/public/assets/_BdpSgwvh.js +0 -1
  48. package/dist/public/assets/_BhoAOMAd.js +0 -1
  49. package/dist/public/assets/_C6pCyeFf.js +0 -1
  50. package/dist/public/assets/_CE8nafbk.js +0 -1
  51. package/dist/public/assets/_CLC3vDYr.js.br +0 -0
  52. package/dist/public/assets/_CNDY401x.js +0 -1
  53. package/dist/public/assets/_CQIwEjlN.js +0 -1
  54. package/dist/public/assets/_Cw49Tcgw.js +0 -1
  55. package/dist/public/assets/_D9sR3-0D.js +0 -1
  56. package/dist/public/assets/_DR7hKOqz.js +0 -83
  57. package/dist/public/assets/_DR7hKOqz.js.br +0 -0
  58. package/dist/public/assets/_D_fLyd2e.js +0 -1
  59. package/dist/public/assets/_DbLHCj8f.js +0 -1
  60. package/dist/public/assets/_DeWBAMhg.js.br +0 -0
  61. package/dist/public/assets/_Dv70rKdu.js +0 -1
  62. package/dist/public/assets/_PKeNRDAg.js +0 -1
  63. package/dist/public/assets/_THTWHDbK.js +0 -1
  64. package/dist/public/assets/_TiNoElnP.js +0 -1
  65. package/dist/public/assets/_ZTYv2O_a.js +0 -1
  66. package/dist/public/assets/_pbdLWU-6.js +0 -1
  67. package/dist/public/assets/app-page-_8WKqHTZ.css +0 -1
  68. package/dist/public/assets/app-page-_8WKqHTZ.css.br +0 -0
  69. package/dist/public/assets/icon-arrow-down-C4usy4AG.css.br +0 -0
  70. package/dist/public/assets/new-pakAMqK1.js +0 -1
  71. package/dist/public/assets/review-view-DQlebETV.css +0 -1
  72. package/dist/public/assets/review-view-DQlebETV.css.br +0 -0
  73. package/dist/public/assets/review-view-VBKxKYIj.js +0 -2
  74. package/dist/public/assets/settings-pakAMqK1.js +0 -1
  75. package/dist/public/assets/w-pakAMqK1.js +0 -1
  76. package/dist/public/assets/w._-C61prGDD.js +0 -1
  77. package/dist/public/assets/w._-pakAMqK1.js +0 -1
package/dist/index.mjs CHANGED
@@ -2583,11 +2583,11 @@ var repoBranches = (fullName, refresh = false) => branches(fullName, refresh);
2583
2583
  async function repoParent(fullName) {
2584
2584
  const hit = (await repoCatalog().catch(() => null))?.repos.find((r) => r.nameWithOwner === fullName);
2585
2585
  if (hit && hit.parent !== void 0) return hit.parent;
2586
- return (await repoMeta$1(fullName)).parent;
2586
+ return (await repoMeta(fullName)).parent;
2587
2587
  }
2588
2588
  /** The repo's default branch, or null when the lookup failed. */
2589
- var repoDefaultBranch = async (fullName, refresh = false) => (await repoMeta$1(fullName, refresh)).defaultBranch;
2590
- var repoMeta$1 = swr(36e5, async (fullName) => {
2589
+ var repoDefaultBranch = async (fullName, refresh = false) => (await repoMeta(fullName, refresh)).defaultBranch;
2590
+ var repoMeta = swr(36e5, async (fullName) => {
2591
2591
  const { host, name } = splitRepo(fullName);
2592
2592
  const out = await gh([
2593
2593
  "api",
@@ -2813,7 +2813,7 @@ async function workspaceProcs(wsPath) {
2813
2813
  for (const { port, pid } of ports) portsByPid.set(pid, [...portsByPid.get(pid) || [], port]);
2814
2814
  const procs = [];
2815
2815
  const inWs = [...cwds].filter(([, cwd]) => inside(cwd, wsPath));
2816
- const argvOf = await mapLimit$1(inWs, PROC_SWEEP_CONCURRENCY, ([pid]) => argv ? Promise.resolve(argv.get(pid) || []) : procArgs$1(pid));
2816
+ const argvOf = await mapLimit$1(inWs, PROC_SWEEP_CONCURRENCY, ([pid]) => argv ? Promise.resolve(argv.get(pid) || []) : procArgs(pid));
2817
2817
  for (const [i, [pid, cwd]] of inWs.entries()) {
2818
2818
  const parts = argvOf[i];
2819
2819
  if (!parts.length) continue;
@@ -2951,7 +2951,7 @@ async function processArgsNow() {
2951
2951
  }
2952
2952
  /** A process's argv on Linux (best-effort; empty when it died or is
2953
2953
  * unreadable). */
2954
- async function procArgs$1(pid) {
2954
+ async function procArgs(pid) {
2955
2955
  try {
2956
2956
  const parts = (await fs$1.readFile(`/proc/${pid}/cmdline`, "utf8")).split("\0").filter(Boolean);
2957
2957
  return parts.length === 1 ? parts[0].split(/\s+/).filter(Boolean) : parts;
@@ -3283,7 +3283,7 @@ function queueMaterialize(id) {
3283
3283
  function resumePendingWorkspaces() {
3284
3284
  for (const ws of listWorkspaces()) if (ws.pending && ws.status === "active") queueMaterialize(ws.id);
3285
3285
  }
3286
- async function addRepo$1(workspaceId, fullName, baseBranch, fork) {
3286
+ async function addRepo(workspaceId, fullName, baseBranch, fork) {
3287
3287
  const ws = getWorkspace(workspaceId);
3288
3288
  if (!ws) throw new Error(`unknown workspace: ${workspaceId}`);
3289
3289
  assertKnownHost(fullName);
@@ -6995,14 +6995,14 @@ var openable = (ws) => ws.status === "active" && !ws.pending;
6995
6995
  */
6996
6996
  var numbered = (all) => all.filter(openable).sort((a, b) => a.name.localeCompare(b.name));
6997
6997
  var toastKind = {
6998
- error: "_bC",
6999
- warn: "_bD",
7000
- info: "_bE"
6998
+ error: "_bl",
6999
+ warn: "_bm",
7000
+ info: "_bn"
7001
7001
  };
7002
7002
  var toastTitle = {
7003
- error: "_bF",
7004
- warn: "_bG",
7005
- info: "_bH"
7003
+ error: "_bo",
7004
+ warn: "_bp",
7005
+ info: "_bq"
7006
7006
  };
7007
7007
  //#endregion
7008
7008
  //#region src/styles/tokens.css.ts
@@ -7048,18 +7048,18 @@ var toast_default = _template("I", (input) => {
7048
7048
  const kind = inputKind || "error";
7049
7049
  const placement = inputPlacement || "float";
7050
7050
  const placementClass = {
7051
- float: "_bA",
7052
- inline: "_bB"
7051
+ float: "_bj",
7052
+ inline: "_bk"
7053
7053
  }[placement];
7054
7054
  _html(`<div${_attr_class([
7055
- "_bz",
7055
+ "_bi",
7056
7056
  toastKind[kind],
7057
7057
  placementClass,
7058
7058
  inputClass
7059
7059
  ])} role=${kind === "error" ? "alert" : "status"}${_attrs_partial(htmlInput, {
7060
7060
  class: 1,
7061
7061
  role: 1
7062
- }, "a", $scope0_id, "div")}><div${_attr_class("_bI")}>`);
7062
+ }, "a", $scope0_id, "div")}><div${_attr_class("_br")}>`);
7063
7063
  _if(() => {
7064
7064
  if (title) {
7065
7065
  const $scope1_id = _scope_id();
@@ -7071,7 +7071,7 @@ var toast_default = _template("I", (input) => {
7071
7071
  _if(() => {
7072
7072
  if (content) {
7073
7073
  const $scope2_id = _scope_id();
7074
- _html(`<div${_attr_class("_bJ")}>`);
7074
+ _html(`<div${_attr_class("_bs")}>`);
7075
7075
  _dynamic_tag($scope2_id, "b", content, {}, 0, 0, $sg__input_content);
7076
7076
  _html("</div>");
7077
7077
  $si__input_content && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
@@ -7082,7 +7082,7 @@ var toast_default = _template("I", (input) => {
7082
7082
  _if(() => {
7083
7083
  if (action || onDismiss) {
7084
7084
  const $scope3_id = _scope_id();
7085
- _html(`<div${_attr_class(["_bK", action && "_bL"])}>`);
7085
+ _html(`<div${_attr_class(["_bt", action && "_bu"])}>`);
7086
7086
  _if(() => {
7087
7087
  if (action) {
7088
7088
  const $scope4_id = _scope_id();
@@ -7094,7 +7094,7 @@ var toast_default = _template("I", (input) => {
7094
7094
  _if(() => {
7095
7095
  if (onDismiss) {
7096
7096
  const $scope5_id = _scope_id();
7097
- _html(`<button${_attr_class([iconBtnRow, "_bM"])} type=button title=Dismiss aria-label=Dismiss>`);
7097
+ _html(`<button${_attr_class([iconBtnRow, "_bv"])} type=button title=Dismiss aria-label=Dismiss>`);
7098
7098
  icon_xmark_default({ size: 14 });
7099
7099
  _html(`</button>${_el_resume($scope5_id, "a")}`);
7100
7100
  _script($scope5_id, "I0");
@@ -7314,17 +7314,18 @@ function applyInstance(inst) {
7314
7314
  if (icon) icon.href = `/api/instance/icon${inst.accent ? `?v=${inst.accent.slice(1)}` : ""}`;
7315
7315
  syncThemeColorMetas(theme(), inst.accent || "");
7316
7316
  }
7317
- var agentRow = "_c9 _ct";
7318
- var toolGrid = "_dg _cD";
7319
- var toolRow = "_dh _cE";
7320
- var themeSeg = "_dE _bd";
7321
- var checkList = "_d_ _ca";
7322
- var list$2 = "_cF _cc _cs _cD";
7323
- var flatCardRow = "_cG _cE";
7324
- var pop$1 = "_cO _9";
7325
- var spinner = "_cR _1 _G";
7326
- var busy = "_cV _cU";
7327
- var pop = "_cX _9";
7317
+ var agentRow = "_c3 _cE";
7318
+ var toolGrid = "_da _cO";
7319
+ var toolRow = "_db _cP";
7320
+ var themeSeg = "_dy _bd";
7321
+ var checkList = "_d4 _ca";
7322
+ var list$2 = "_cQ _cc _cD _cO";
7323
+ var flatCardRow = "_cR _cP";
7324
+ var chip$1 = "_c0 _X _W";
7325
+ var pop$1 = "_cz _9";
7326
+ var spinner = "_cC _1 _G";
7327
+ var busy = "_ea _d_";
7328
+ var pop = "_ec _9";
7328
7329
  var sectionCount$1 = "_b_ _N _O";
7329
7330
  //#endregion
7330
7331
  //#region src/tags/icons/icon-refresh.marko
@@ -7365,18 +7366,18 @@ var icon_back_default = _template("U", (input) => {
7365
7366
  var page_head_default = _template("t", (input) => {
7366
7367
  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);
7367
7368
  const $scope0_id = _scope_id();
7368
- _html(`<header${_attr_class("_c3")}>`);
7369
+ _html(`<header${_attr_class("_ei")}>`);
7369
7370
  _if(() => {
7370
7371
  if (input.backHref) {
7371
7372
  const $scope1_id = _scope_id();
7372
- _html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_ed"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7373
+ _html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_eP"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7373
7374
  icon_back_default({ size: 14 });
7374
7375
  _html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 0))}`);
7375
7376
  _serialize_if($scope0_reason, 2) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 0) && _scope_with_id($scope0_id) });
7376
7377
  return 0;
7377
7378
  } else if (input.onBack) {
7378
7379
  const $scope2_id = _scope_id();
7379
- _html(`<button${_attr_class([iconBtnRow, "_ed"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7380
+ _html(`<button${_attr_class([iconBtnRow, "_eP"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7380
7381
  icon_back_default({ size: 14 });
7381
7382
  _html(`</button>${_el_resume($scope2_id, "a")}`);
7382
7383
  _script($scope2_id, "t0");
@@ -7384,11 +7385,11 @@ var page_head_default = _template("t", (input) => {
7384
7385
  return 1;
7385
7386
  }
7386
7387
  }, $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);
7387
- _html(`<div${_attr_class("_c5")}><h1${_attr("id", input.titleId)}${_attr_class("_c4")}>${_text_resume($scope0_id, "e", input.title, _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
7388
+ _html(`<div${_attr_class("_ek")}><h1${_attr("id", input.titleId)}${_attr_class("_ej")}>${_text_resume($scope0_id, "e", input.title, _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
7388
7389
  _if(() => {
7389
7390
  if (input.meta) {
7390
7391
  const $scope3_id = _scope_id();
7391
- _html(`<p${_attr_class("_c6")}>`);
7392
+ _html(`<p${_attr_class("_el")}>`);
7392
7393
  _dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
7393
7394
  _html("</p>");
7394
7395
  $si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
@@ -7399,7 +7400,7 @@ var page_head_default = _template("t", (input) => {
7399
7400
  _if(() => {
7400
7401
  if (input.actions) {
7401
7402
  const $scope4_id = _scope_id();
7402
- _html(`<div${_attr_class("_c7")}>`);
7403
+ _html(`<div${_attr_class("_em")}>`);
7403
7404
  _dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
7404
7405
  _html("</div>");
7405
7406
  $si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
@@ -7467,7 +7468,7 @@ var icon_agent_default = _template("O", (input) => {
7467
7468
  n: $badge__closures
7468
7469
  });
7469
7470
  });
7470
- var usageNote = "_hb _W";
7471
+ var usageNote = "_ha _W";
7471
7472
  //#endregion
7472
7473
  //#region src/tags/icons/icon-warning.marko
7473
7474
  var icon_warning_default = _template("vb", (input) => {
@@ -7497,11 +7498,11 @@ var usage_meters_default = _template("K", (input) => {
7497
7498
  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);
7498
7499
  const $scope0_id = _scope_id();
7499
7500
  const agent = input.agent;
7500
- _html(`<div${_attr_class(["_g6", { ["_g7"]: input.hideName }])}><div${_attr_class("_g8")}>`);
7501
+ _html(`<div${_attr_class(["_g5", { ["_g6"]: input.hideName }])}><div${_attr_class("_g7")}>`);
7501
7502
  _if(() => {
7502
7503
  if (!input.hideName) {
7503
7504
  const $scope1_id = _scope_id();
7504
- _html(`<strong${_attr_class("_hq")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
7505
+ _html(`<strong${_attr_class("_hp")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
7505
7506
  $si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
7506
7507
  return 0;
7507
7508
  }
@@ -7509,7 +7510,7 @@ var usage_meters_default = _template("K", (input) => {
7509
7510
  _if(() => {
7510
7511
  if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
7511
7512
  const $scope2_id = _scope_id();
7512
- _html(`<span${_attr_class("_g9")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
7513
+ _html(`<span${_attr_class("_g8")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
7513
7514
  $si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
7514
7515
  return 0;
7515
7516
  }
@@ -7517,21 +7518,21 @@ var usage_meters_default = _template("K", (input) => {
7517
7518
  _if(() => {
7518
7519
  if (agent.stale_seconds != null) {
7519
7520
  const $scope3_id = _scope_id();
7520
- _html(`<span${_attr_class("_g_")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
7521
+ _html(`<span${_attr_class("_g9")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
7521
7522
  icon_warning_default({ size: 12 });
7522
7523
  _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)}`);
7523
7524
  $si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
7524
7525
  return 0;
7525
7526
  }
7526
7527
  }, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
7527
- _html(`</div><div${_attr_class(["_ha", { ["_hr"]: agent.stale_seconds != null }])}>`);
7528
+ _html(`</div><div${_attr_class(["_g_", { ["_hq"]: agent.stale_seconds != null }])}>`);
7528
7529
  _for_of(agent.windows || [], (win) => {
7529
7530
  const $scope4_id = _scope_id();
7530
7531
  const pct = pctText(win.used_percent);
7531
7532
  const label = resetLabel(win.resets_at, agent.stale_seconds != null);
7532
- const fillClass = win.used_percent >= 90 ? "_hj" : win.used_percent >= 70 ? "_hi" : win.used_percent >= 40 ? "_hh" : "_hg";
7533
- const pctClass = win.used_percent >= 90 ? "_ho" : win.used_percent >= 70 ? "_hn" : win.used_percent >= 40 ? "_hm" : "_hl";
7534
- _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")}>`);
7533
+ const fillClass = win.used_percent >= 90 ? "_hi" : win.used_percent >= 70 ? "_hh" : win.used_percent >= 40 ? "_hg" : "_hf";
7534
+ const pctClass = win.used_percent >= 90 ? "_hn" : win.used_percent >= 70 ? "_hm" : win.used_percent >= 40 ? "_hl" : "_hk";
7535
+ _html(`<div${_attr_class("_hb")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_hc")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_hd")}><span${_attr_class(["_he", 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(["_hj", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_ho")}>`);
7535
7536
  _if(() => {
7536
7537
  if (label) {
7537
7538
  const $scope6_id = _scope_id();
@@ -7630,10 +7631,10 @@ var add_field_default = _template("b", (input$3) => {
7630
7631
  }
7631
7632
  }, $scope0_id, "a", 1, 1, 1, 0, 1);
7632
7633
  _html(`<form${_attr_class([
7633
- "_cH",
7634
+ "_cs",
7634
7635
  input$3.class,
7635
- { ["_cI"]: !open }
7636
- ])}><label${_attr_class(["_0", "_cK"])}>`);
7636
+ { ["_ct"]: !open }
7637
+ ])}><label${_attr_class(["_0", "_cv"])}>`);
7637
7638
  _if(() => {
7638
7639
  if (input$3.searching) {
7639
7640
  const $scope5_id = _scope_id();
@@ -7660,7 +7661,7 @@ var add_field_default = _template("b", (input$3) => {
7660
7661
  }, "b0", $scope0_id))}${_attr_class([
7661
7662
  "_Y",
7662
7663
  "_2",
7663
- "_cL"
7664
+ "_cw"
7664
7665
  ])} type=text${_attr("placeholder", input$3.placeholder)}${_attr("aria-label", input$3.ariaLabel)} autocomplete=off spellcheck=false>${_el_resume($scope0_id, "e")}</label>`);
7665
7666
  _if(() => {
7666
7667
  if (input$3.submitLabel) {
@@ -7668,19 +7669,19 @@ var add_field_default = _template("b", (input$3) => {
7668
7669
  _html(`<button${_attr_class([
7669
7670
  btnSm,
7670
7671
  "_r",
7671
- "_cM"
7672
+ "_cx"
7672
7673
  ])} type=submit${_attr("hidden", !open)}${_attr("disabled", !value.trim() || input$3.busy)}>${_text_resume($scope3_id, "b", input$3.busy ? "Adding…" : input$3.submitLabel, _serialize_guard($scope0_reason, 1))}</button>${_el_resume($scope3_id, "a")}`);
7673
7674
  writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
7674
7675
  return 0;
7675
7676
  }
7676
7677
  }, $scope0_id, "f", 1, _serialize_guard($scope0_reason, 7), 1, 0, 1);
7677
- _html(`<button${_attr_class([iconBtnRow, "_cN"])} type=button${_attr("hidden", !open)} title=Close aria-label=Close${_attr("disabled", input$3.busy)}>`);
7678
+ _html(`<button${_attr_class([iconBtnRow, "_cy"])} type=button${_attr("hidden", !open)} title=Close aria-label=Close${_attr("disabled", input$3.busy)}>`);
7678
7679
  icon_xmark_default({ size: 14 });
7679
7680
  _html(`</button>${_el_resume($scope0_id, "g")}`);
7680
7681
  _if(() => {
7681
7682
  if (input$3.content) {
7682
7683
  const $scope4_id = _scope_id();
7683
- _html(`<ul${_attr_class([pop$1, "_cP"])}${_attr("hidden", !open || !value.trim())}>`);
7684
+ _html(`<ul${_attr_class([pop$1, "_cA"])}${_attr("hidden", !open || !value.trim())}>`);
7684
7685
  _dynamic_tag($scope4_id, "b", input$3.content, {}, 0, 0, $sg__input_content);
7685
7686
  _html(`</ul>${_el_resume($scope4_id, "a")}`);
7686
7687
  writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
@@ -7807,14 +7808,14 @@ var sso_auth_default = _template("F", (input) => {
7807
7808
  localCode = null;
7808
7809
  }
7809
7810
  }, "F0", $scope0_id);
7810
- _html(`<div${_attr_class(["_hs", input.class])}>`);
7811
+ _html(`<div${_attr_class(["_hr", input.class])}>`);
7811
7812
  _for_of(input.items, (s) => {
7812
7813
  const $scope1_id = _scope_id();
7813
- _html(`<div${_attr_class("_ht")}><span${_attr_class("_hv")}><span${_attr_class("_hw")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_hx", "_hy"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
7814
+ _html(`<div${_attr_class("_hs")}><span${_attr_class("_hu")}><span${_attr_class("_hv")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_hw", "_hx"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
7814
7815
  _if(() => {
7815
7816
  if (!busy) {
7816
7817
  const $scope2_id = _scope_id();
7817
- _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, "_hz"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
7818
+ _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, "_hy"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
7818
7819
  _script($scope2_id, "F1");
7819
7820
  writeScope($scope2_id, {});
7820
7821
  return 0;
@@ -7829,13 +7830,13 @@ var sso_auth_default = _template("F", (input) => {
7829
7830
  _if(() => {
7830
7831
  if (localBusy && localCode) {
7831
7832
  const $scope4_id = _scope_id();
7832
- _html(`<div${_attr_class(["_ht", "_hA"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_hB")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_hC")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
7833
+ _html(`<div${_attr_class(["_hs", "_hz"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_hA")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_hB")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
7833
7834
  _script($scope4_id, "F2");
7834
7835
  writeScope($scope4_id, {});
7835
7836
  return 0;
7836
7837
  } else if (localBusy) {
7837
7838
  const $scope6_id = _scope_id();
7838
- _html(`<div${_attr_class(["_ht", "_hA"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
7839
+ _html(`<div${_attr_class(["_hs", "_hz"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
7839
7840
  writeScope($scope6_id, {});
7840
7841
  return 1;
7841
7842
  }
@@ -7843,14 +7844,14 @@ var sso_auth_default = _template("F", (input) => {
7843
7844
  _if(() => {
7844
7845
  if (localError) {
7845
7846
  const $scope5_id = _scope_id();
7846
- _html(`<p${_attr_class(["_ht", "_hD"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
7847
+ _html(`<p${_attr_class(["_hs", "_hC"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
7847
7848
  writeScope($scope5_id, {});
7848
7849
  return 0;
7849
7850
  }
7850
7851
  }, $scope0_id, "d", 1, 1, 1, 0, 1);
7851
7852
  _for_of(skipped, (s) => {
7852
7853
  const $scope3_id = _scope_id();
7853
- _html(`<div${_attr_class(["_ht", "_hu"])}><span${_attr_class("_hv")}><span${_attr_class("_hw")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_hx")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_hz"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
7854
+ _html(`<div${_attr_class(["_hs", "_ht"])}><span${_attr_class("_hu")}><span${_attr_class("_hv")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_hw")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_hy"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
7854
7855
  _script($scope3_id, "F3");
7855
7856
  writeScope($scope3_id, {
7856
7857
  i: s?.org,
@@ -7901,7 +7902,7 @@ var skill_chip_default = _template("E", (input) => {
7901
7902
  const $input_tags__closures = /* @__PURE__ */ new Set();
7902
7903
  const $input_actions__closures = /* @__PURE__ */ new Set();
7903
7904
  const $input_trailing__closures = /* @__PURE__ */ new Set();
7904
- _html(`<li${_attr_class("_cT")}>`);
7905
+ _html(`<li${_attr_class("_d9")}>`);
7905
7906
  _if(() => {
7906
7907
  if (input.busy != null) {
7907
7908
  const $scope1_id = _scope_id();
@@ -7911,11 +7912,11 @@ var skill_chip_default = _template("E", (input) => {
7911
7912
  } else {
7912
7913
  const $scope2_id = _scope_id();
7913
7914
  const popId = _id();
7914
- _html(`<button${_attr_class("_cU")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7915
+ _html(`<button${_attr_class("_d_")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7915
7916
  _if(() => {
7916
7917
  if (input.hint) {
7917
7918
  const $scope3_id = _scope_id();
7918
- _html(`<span${_attr_class("_cW")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7919
+ _html(`<span${_attr_class("_eb")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7919
7920
  $si__input_busy__OR__input_hint && _subscribe($si__input_hint && $input_hint__closures, writeScope($scope3_id, { _: _scope_with_id($scope2_id) }));
7920
7921
  return 0;
7921
7922
  }
@@ -7963,7 +7964,7 @@ var skill_chip_default = _template("E", (input) => {
7963
7964
  _if(() => {
7964
7965
  if (input.actions) {
7965
7966
  const $scope8_id = _scope_id();
7966
- _html(`<div${_attr_class("_cY")}>`);
7967
+ _html(`<div${_attr_class("_ed")}>`);
7967
7968
  _dynamic_tag($scope8_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
7968
7969
  _html("</div>");
7969
7970
  $si__input_busy__OR__input_actions && _subscribe($si__input_actions && $input_actions__closures, writeScope($scope8_id, { _: _scope_with_id($scope2_id) }));
@@ -8074,7 +8075,7 @@ var icon_moon_default = _template("lb", (input) => {
8074
8075
  });
8075
8076
  //#endregion
8076
8077
  //#region src/tags/prompt-dialog.css.ts
8077
- var promptDlg = "_g5 _g1";
8078
+ var promptDlg = "_g4 _g0";
8078
8079
  //#endregion
8079
8080
  //#region src/tags/dialog-close.marko
8080
8081
  var dialog_close_default = _template("h", (input) => {
@@ -8098,7 +8099,7 @@ var modal_view_default = _template("q", (input) => {
8098
8099
  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;
8099
8100
  const dismissable = input.dismissable !== false;
8100
8101
  let open = input.open;
8101
- _html(`<dialog${_attr_class(["_g0", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
8102
+ _html(`<dialog${_attr_class(["_gZ", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
8102
8103
  ...htmlInput,
8103
8104
  open: null
8104
8105
  }, {
@@ -8108,20 +8109,20 @@ var modal_view_default = _template("q", (input) => {
8108
8109
  closedby: 1,
8109
8110
  "on-cancel": 1,
8110
8111
  "on-close": 1
8111
- }, "a", $scope0_id, "dialog")}><div${_attr_class("_g3")}>`);
8112
+ }, "a", $scope0_id, "dialog")}><div${_attr_class("_g2")}>`);
8112
8113
  _dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
8113
8114
  _html("</div>");
8114
8115
  _if(() => {
8115
8116
  if (footer) {
8116
8117
  const $scope1_id = _scope_id();
8117
- _html(`<form method=dialog${_attr_class("_g4")}>`);
8118
+ _html(`<form method=dialog${_attr_class("_g3")}>`);
8118
8119
  _dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
8119
8120
  _html("</form>");
8120
8121
  $si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
8121
8122
  return 0;
8122
8123
  } else if (input.openChange) {
8123
8124
  const $scope2_id = _scope_id();
8124
- _html(`<form method=dialog${_attr_class("_g4")}>`);
8125
+ _html(`<form method=dialog${_attr_class("_g3")}>`);
8125
8126
  dialog_close_default({
8126
8127
  class: ["_q", "_r"],
8127
8128
  content: _content("q0", () => {
@@ -8205,7 +8206,7 @@ var prompt_dialog_default = _template("u", (input) => {
8205
8206
  content: _content("u7", () => {
8206
8207
  _scope_reason();
8207
8208
  const $scope2_id = _scope_id();
8208
- _html(`<h2${_attr_class("_g2")}${_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) => {
8209
+ _html(`<h2${_attr_class("_g1")}${_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) => {
8209
8210
  value = _new_value;
8210
8211
  }, "u0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
8211
8212
  _script($scope2_id, "u5");
@@ -8749,7 +8750,7 @@ var settings_page_default = _template("A", (input) => {
8749
8750
  const githubId = _id();
8750
8751
  const backupId = _id();
8751
8752
  const machineId = _id();
8752
- _html(`<div${_attr_class("_cZ")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_c0")}><div${_attr_class("_c1")}>`);
8753
+ _html(`<div${_attr_class("_ee")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_ef")}><div${_attr_class("_eg")}>`);
8753
8754
  _set_serialize_reason({
8754
8755
  0: _serialize_guard($scope0_reason, 4),
8755
8756
  1: $sg__input_backHref__OR__input_onExit,
@@ -8781,7 +8782,7 @@ var settings_page_default = _template("A", (input) => {
8781
8782
  _resume_branch($scope12_id);
8782
8783
  }, $scope0_id) })
8783
8784
  });
8784
- _html(`<div${_attr_class("_c2")}>`);
8785
+ _html(`<div${_attr_class("_eh")}>`);
8785
8786
  _if(() => {
8786
8787
  if (setup && !setup.ready) {
8787
8788
  const $scope4_id = _scope_id();
@@ -8824,16 +8825,16 @@ var settings_page_default = _template("A", (input) => {
8824
8825
  _if(() => {
8825
8826
  if (selfUpdatePending || selfUpdating) {
8826
8827
  const $scope43_id = _scope_id();
8827
- _html(`<div${_attr_class("_dI")} role=status><div${_attr_class("_dJ")}>`);
8828
+ _html(`<div${_attr_class("_dC")} role=status><div${_attr_class("_dD")}>`);
8828
8829
  _if(() => {
8829
8830
  if (selfUpdating) {
8830
8831
  const $scope81_id = _scope_id();
8831
- _html(`<span${_attr_class("_dK")}><span${_attr_class("_G")}></span> Updating work…</span><span${_attr_class("_dL")}>The app restarts and reloads when it is done.</span>`);
8832
+ _html(`<span${_attr_class("_dE")}><span${_attr_class("_G")}></span> Updating work…</span><span${_attr_class("_dF")}>The app restarts and reloads when it is done.</span>`);
8832
8833
  writeScope($scope81_id, {});
8833
8834
  return 0;
8834
8835
  } else {
8835
8836
  const $scope44_id = _scope_id();
8836
- _html(`<span${_attr_class("_dK")}>Update available</span><span${_attr_class("_dL")}>v${_text_resume($scope44_id, "c", self.version, 2)} → v${_text_resume($scope44_id, "d", self.latest, 2)}</span>`);
8837
+ _html(`<span${_attr_class("_dE")}>Update available</span><span${_attr_class("_dF")}>v${_text_resume($scope44_id, "c", self.version, 2)} → v${_text_resume($scope44_id, "d", self.latest, 2)}</span>`);
8837
8838
  _subscribe($self_version__closures, _subscribe($self_latest__closures, writeScope($scope44_id, {})));
8838
8839
  return 1;
8839
8840
  }
@@ -8863,11 +8864,11 @@ var settings_page_default = _template("A", (input) => {
8863
8864
  _: _scope_with_id($scope0_id)
8864
8865
  });
8865
8866
  }, $scope0_id) };
8866
- _html(`<section${_attr_class("_b8")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_b9")}><h2${_attr("id", agentsId)}${_attr_class("_cl")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_c_")}><span${_attr_class("_W")}>Default</span><span${_attr_class("_o")}>`);
8867
+ _html(`<section${_attr_class("_b8")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_b9")}><h2${_attr("id", agentsId)}${_attr_class("_cl")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_c4")}><span${_attr_class("_W")}>Default</span><span${_attr_class("_o")}>`);
8867
8868
  _attr_select_value($scope0_id, "p", input.preferred, _resume(function(v) {
8868
8869
  setPreferred(v);
8869
8870
  }, "A0", $scope0_id), () => {
8870
- _html(`<select${_attr_class(["_p", "_da"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
8871
+ _html(`<select${_attr_class(["_p", "_c5"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
8871
8872
  _for_of(input.agents.filter((a) => a !== "shell"), (id) => {
8872
8873
  const $scope83_id = _scope_id();
8873
8874
  _html(`<option${_attr_option_value(id)}>${_text_resume($scope83_id, "b", agentLabel(id), $sg__input_agents)}</option>${_el_resume($scope83_id, "a", $sg__input_agents)}`);
@@ -8882,7 +8883,7 @@ var settings_page_default = _template("A", (input) => {
8882
8883
  const rows = lone ? [] : a.instances;
8883
8884
  const loneAccounts = lone ? accountsFor(lone.id) : [];
8884
8885
  const extraAccounts = a.installed ? strayAccountsFor(a) : [];
8885
- _html(`<li${_attr_class(agentRow)}><div${_attr_class(["_db", { ["_dd"]: lone && !lone.enabled }])}>`);
8886
+ _html(`<li${_attr_class(agentRow)}><div${_attr_class(["_c6", { ["_c8"]: lone && !lone.enabled }])}>`);
8886
8887
  _set_serialize_reason(12);
8887
8888
  const $childScope3 = _peek_scope_id();
8888
8889
  icon_agent_default({
@@ -8902,7 +8903,7 @@ var settings_page_default = _template("A", (input) => {
8902
8903
  _if(() => {
8903
8904
  if (active.has(a.id)) {
8904
8905
  const $scope13_id = _scope_id();
8905
- _html(`<span${_attr_class("_c8")}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", active.get(a.id) || "Starting…")}</span>`);
8906
+ _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", active.get(a.id) || "Starting…")}</span>`);
8906
8907
  _subscribe($active__closures, writeScope($scope13_id, {}));
8907
8908
  return 0;
8908
8909
  } else if (!a.installed) {
@@ -8938,15 +8939,15 @@ var settings_page_default = _template("A", (input) => {
8938
8939
  _if(() => {
8939
8940
  if (rows.length || loneAccounts.length || extraAccounts.length) {
8940
8941
  const $scope2_id = _scope_id();
8941
- _html(`<ul${_attr_class(["_df", { ["_dd"]: lone && !lone.enabled }])}>`);
8942
+ _html(`<ul${_attr_class(["_c_", { ["_c8"]: lone && !lone.enabled }])}>`);
8942
8943
  _for_of(rows, (inst) => {
8943
8944
  const $scope3_id = _scope_id();
8944
8945
  const accounts = accountsFor(inst.id);
8945
- _html(`<li${_attr_class(["_dc", { ["_dd"]: !inst.enabled }])}><div${_attr_class("_db")}>`);
8946
+ _html(`<li${_attr_class(["_c7", { ["_c8"]: !inst.enabled }])}><div${_attr_class("_c6")}>`);
8946
8947
  _set_serialize_reason(12);
8947
8948
  const $childScope5 = _peek_scope_id();
8948
8949
  icon_agent_default({ agent: inst.id });
8949
- _html(`<span${_attr_class(["_de", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
8950
+ _html(`<span${_attr_class(["_c9", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
8950
8951
  _if(() => {
8951
8952
  if (input.preferred === inst.id) {
8952
8953
  const $scope87_id = _scope_id();
@@ -9035,14 +9036,14 @@ var settings_page_default = _template("A", (input) => {
9035
9036
  return 1;
9036
9037
  }
9037
9038
  }, $scope0_id, "t", 1, 1, 1, 0, 1);
9038
- _html(`</section></div><div${_attr_class("_c2")}><section${_attr_class("_b8")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_b9")}><h2${_attr("id", githubId)}${_attr_class("_cl")}>GitHub</h2>`);
9039
+ _html(`</section></div><div${_attr_class("_eh")}><section${_attr_class("_b8")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_b9")}><h2${_attr("id", githubId)}${_attr_class("_cl")}>GitHub</h2>`);
9039
9040
  _if(() => {
9040
9041
  if (setup) {
9041
9042
  const $scope41_id = _scope_id();
9042
9043
  _set_serialize_reason(44);
9043
9044
  const $childScope10 = _peek_scope_id();
9044
9045
  add_field_default({
9045
- class: "_dn",
9046
+ class: "_dh",
9046
9047
  open: addingHost,
9047
9048
  openChange: _resume((_new_addingHost) => {
9048
9049
  addingHost = _new_addingHost;
@@ -9072,17 +9073,17 @@ var settings_page_default = _template("A", (input) => {
9072
9073
  return 0;
9073
9074
  }
9074
9075
  }, $scope0_id, "y");
9075
- _html(`</div><div${_attr_class(["_cc", "_cs"])}>`);
9076
+ _html(`</div><div${_attr_class(["_cc", "_cD"])}>`);
9076
9077
  _for_of(setup?.github || [], (h) => {
9077
9078
  const $scope7_id = _scope_id();
9078
9079
  const $for_content3__h_host__closures = /* @__PURE__ */ new Set();
9079
9080
  const hostSso$1 = (h.sso || []).filter((s) => !ignoredSso.has(s.org));
9080
9081
  const skippedSso = (h.sso || []).filter((s) => ignoredSso.has(s.org));
9081
9082
  const busy = active.has(h.host);
9082
- _html(`<div${_attr_class(["_ct", "_do"])}><div${_attr_class("_dp")}>`);
9083
+ _html(`<div${_attr_class(["_cE", "_di"])}><div${_attr_class("_dj")}>`);
9083
9084
  icon_github_default({
9084
9085
  size: 18,
9085
- class: "_dq"
9086
+ class: "_dk"
9086
9087
  });
9087
9088
  _html(`<div${_attr_class("_cd")}><span${_attr_class("_cf")}><span${_attr_class("_ce")}>${_text_resume($scope7_id, "g", h.host)}</span>`);
9088
9089
  _if(() => {
@@ -9097,25 +9098,25 @@ var settings_page_default = _template("A", (input) => {
9097
9098
  _if(() => {
9098
9099
  if (busy) {
9099
9100
  const $scope14_id = _scope_id();
9100
- _html(`<span${_attr_class(["_cg", "_dr"])}><span${_attr_class("_G")}></span>${_text_resume($scope14_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
9101
+ _html(`<span${_attr_class(["_cg", "_dl"])}><span${_attr_class("_G")}></span>${_text_resume($scope14_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
9101
9102
  _subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope14_id, { Ch1: 1 })));
9102
9103
  return 0;
9103
9104
  } else if (h.authed) {
9104
9105
  const $scope92_id = _scope_id();
9105
- _html(`<span${_attr_class(["_cg", "_dr"])}>`);
9106
+ _html(`<span${_attr_class(["_cg", "_dl"])}>`);
9106
9107
  icon_check_default({
9107
9108
  size: 12,
9108
- class: "_ds"
9109
+ class: "_dm"
9109
9110
  });
9110
- _html(` Signed in as <strong${_attr_class("_du")}>${_text_resume($scope92_id, "d", h.user || "?")}</strong></span>`);
9111
+ _html(` Signed in as <strong${_attr_class("_do")}>${_text_resume($scope92_id, "d", h.user || "?")}</strong></span>`);
9111
9112
  writeScope($scope92_id, {});
9112
9113
  return 1;
9113
9114
  } else if (h.error) {
9114
9115
  const $scope93_id = _scope_id();
9115
9116
  _html(`<span${_attr_class([
9116
9117
  "_cg",
9117
- "_dr",
9118
- "_dt"
9118
+ "_dl",
9119
+ "_dn"
9119
9120
  ])}>`);
9120
9121
  icon_warning_default({ size: 12 });
9121
9122
  _html(`${_text_resume($scope93_id, "c", h.error)}</span>`);
@@ -9123,7 +9124,7 @@ var settings_page_default = _template("A", (input) => {
9123
9124
  return 2;
9124
9125
  } else {
9125
9126
  const $scope95_id = _scope_id();
9126
- _html(`<span${_attr_class(["_cg", "_dr"])}>Not signed in</span>`);
9127
+ _html(`<span${_attr_class(["_cg", "_dl"])}>Not signed in</span>`);
9127
9128
  writeScope($scope95_id, {});
9128
9129
  return 3;
9129
9130
  }
@@ -9197,7 +9198,7 @@ var settings_page_default = _template("A", (input) => {
9197
9198
  _if(() => {
9198
9199
  if (busy && authCodes.has(h.host)) {
9199
9200
  const $scope35_id = _scope_id();
9200
- _html(`<div${_attr_class("_dv")}><span${_attr_class("_dw")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_dy")}>${_text_resume($scope35_id, "d", h.host)}/login/device</a>${_el_resume($scope35_id, "c")}</span><code${_attr_class("_dx")}>${_text_resume($scope35_id, "f", authCodes.get(h.host))}</code></div>`);
9201
+ _html(`<div${_attr_class("_dp")}><span${_attr_class("_dq")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_ds")}>${_text_resume($scope35_id, "d", h.host)}/login/device</a>${_el_resume($scope35_id, "c")}</span><code${_attr_class("_dr")}>${_text_resume($scope35_id, "f", authCodes.get(h.host))}</code></div>`);
9201
9202
  _subscribe($authCodes__closures, writeScope($scope35_id, { Ch6: 1 }));
9202
9203
  return 0;
9203
9204
  }
@@ -9209,7 +9210,7 @@ var settings_page_default = _template("A", (input) => {
9209
9210
  _set_serialize_reason(30);
9210
9211
  const $childScope13 = _peek_scope_id();
9211
9212
  sso_auth_default({
9212
- class: ["_ct", "_dz"],
9213
+ class: ["_cE", "_dt"],
9213
9214
  items: hostSso$1,
9214
9215
  skipped: skippedSso,
9215
9216
  busy,
@@ -9248,18 +9249,18 @@ var settings_page_default = _template("A", (input) => {
9248
9249
  return 0;
9249
9250
  }
9250
9251
  }, $scope0_id, "a0", 1, 1, 1, 0, 1);
9251
- _html(`</section><section${_attr_class("_b8")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_b9")}><h2${_attr("id", machineId)}${_attr_class("_cl")}>Machine</h2></div><div${_attr_class(["_cc", "_cs"])}><div${_attr_class(["_ct", "_cu"])}><div${_attr_class(["_cv", { ["_cw"]: skillsOpen }])}><button${_attr_class("_cx")} aria-expanded=true>`);
9252
+ _html(`</section><section${_attr_class("_b8")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_b9")}><h2${_attr("id", machineId)}${_attr_class("_cl")}>Machine</h2></div><div${_attr_class(["_cc", "_cD"])}><div${_attr_class(["_cE", "_cF"])}><div${_attr_class(["_cG", { ["_cH"]: skillsOpen }])}><button${_attr_class("_cI")} aria-expanded=true>`);
9252
9253
  _set_serialize_reason(1);
9253
9254
  const $childScope14 = _peek_scope_id();
9254
9255
  icon_chevron_right_default({
9255
9256
  size: 12,
9256
- class: ["_cB", { ["_cC"]: skillsOpen }]
9257
+ class: ["_cM", { ["_cN"]: skillsOpen }]
9257
9258
  });
9258
- _html(`<span${_attr_class("_cy")}>Skills</span>`);
9259
+ _html(`<span${_attr_class("_cJ")}>Skills</span>`);
9259
9260
  _if(() => {
9260
9261
  if (skills?.global.length) {
9261
9262
  const $scope50_id = _scope_id();
9262
- _html(`<span${_attr_class("_cz")}>${_text_resume($scope50_id, "b", skills.global.length)} installed</span>`);
9263
+ _html(`<span${_attr_class("_cK")}>${_text_resume($scope50_id, "b", skills.global.length)} installed</span>`);
9263
9264
  writeScope($scope50_id, {});
9264
9265
  return 0;
9265
9266
  }
@@ -9287,7 +9288,7 @@ var settings_page_default = _template("A", (input) => {
9287
9288
  _if(() => {
9288
9289
  if (skillSearching && !skillHits?.length && !looksLikeSource(skillQuery)) {
9289
9290
  const $scope99_id = _scope_id();
9290
- _html(`<li${_attr_class("_cQ")}>Searching skills.sh…</li>`);
9291
+ _html(`<li${_attr_class("_cB")}>Searching skills.sh…</li>`);
9291
9292
  writeScope($scope99_id, {});
9292
9293
  return 0;
9293
9294
  }
@@ -9295,11 +9296,11 @@ var settings_page_default = _template("A", (input) => {
9295
9296
  _if(() => {
9296
9297
  if (looksLikeSource(skillQuery)) {
9297
9298
  const $scope17_id = _scope_id();
9298
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cd")}><span${_attr_class(["_dj", "_y"])}>${_text_resume($scope17_id, "d", skillQuery.trim())}</span>`);
9299
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cd")}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope17_id, "d", skillQuery.trim())}</span>`);
9299
9300
  _if(() => {
9300
9301
  if (active.has(skillQuery.trim())) {
9301
9302
  const $scope18_id = _scope_id();
9302
- _html(`<span${_attr_class("_c8")}><span${_attr_class("_G")}></span>${_text_resume($scope18_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
9303
+ _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope18_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
9303
9304
  _subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope18_id, {
9304
9305
  Ch1: 3,
9305
9306
  Chs: 2
@@ -9333,11 +9334,11 @@ var settings_page_default = _template("A", (input) => {
9333
9334
  _for_of(skillHits || [], (h) => {
9334
9335
  const $scope19_id = _scope_id();
9335
9336
  const $for_content4__h_installs__closures = /* @__PURE__ */ new Set();
9336
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cd")}><span${_attr_class(["_dj", "_y"])}>${_text_resume($scope19_id, "d", h.name)}</span>`);
9337
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cd")}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope19_id, "d", h.name)}</span>`);
9337
9338
  _if(() => {
9338
9339
  if (active.has(h.skillId)) {
9339
9340
  const $scope20_id = _scope_id();
9340
- _html(`<span${_attr_class("_c8")}><span${_attr_class("_G")}></span>${_text_resume($scope20_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
9341
+ _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope20_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
9341
9342
  _subscribe($active__closures, writeScope($scope20_id, { Ch1: 5 }));
9342
9343
  return 0;
9343
9344
  } else {
@@ -9390,7 +9391,7 @@ var settings_page_default = _template("A", (input) => {
9390
9391
  _if(() => {
9391
9392
  if (skillHits && !skillHits.length && !skillSearching && !looksLikeSource(skillQuery)) {
9392
9393
  const $scope52_id = _scope_id();
9393
- _html(`<li${_attr_class("_cQ")}>No skills match "${_text_resume($scope52_id, "b", skillQuery, 2)}".</li>`);
9394
+ _html(`<li${_attr_class("_cB")}>No skills match "${_text_resume($scope52_id, "b", skillQuery, 2)}".</li>`);
9394
9395
  _subscribe($skillQuery__closures, writeScope($scope52_id, { Chs: 3 }));
9395
9396
  return 0;
9396
9397
  }
@@ -9407,7 +9408,7 @@ var settings_page_default = _template("A", (input) => {
9407
9408
  _if(() => {
9408
9409
  {
9409
9410
  const $scope21_id = _scope_id();
9410
- _html(`<div${_attr_class("_cA")}>`);
9411
+ _html(`<div${_attr_class("_cL")}>`);
9411
9412
  _if(() => {
9412
9413
  if (skills && !skills.agents.length) {
9413
9414
  const $scope104_id = _scope_id();
@@ -9422,7 +9423,7 @@ var settings_page_default = _template("A", (input) => {
9422
9423
  return 1;
9423
9424
  }
9424
9425
  }, $scope21_id, "b", 1, 1, 1, 0, 1);
9425
- _html(`<ul${_attr_class("_cS")}>`);
9426
+ _html(`<ul${_attr_class("_d8")}>`);
9426
9427
  _for_of(skills?.global || [], (s) => {
9427
9428
  const $scope23_id = _scope_id();
9428
9429
  const $for_content5__s_agents__closures = /* @__PURE__ */ new Set();
@@ -9510,18 +9511,18 @@ var settings_page_default = _template("A", (input) => {
9510
9511
  return 0;
9511
9512
  }
9512
9513
  }, $scope0_id, "ac", 1, 1, 1, 0, 1);
9513
- _html(`</div><div${_attr_class(["_ct", "_cu"])}><div${_attr_class(["_cv", { ["_cw"]: machineOpen }])}><button${_attr_class("_cx")} aria-expanded=${machineOpen ? "true" : "false"}>`);
9514
+ _html(`</div><div${_attr_class(["_cE", "_cF"])}><div${_attr_class(["_cG", { ["_cH"]: machineOpen }])}><button${_attr_class("_cI")} aria-expanded=${machineOpen ? "true" : "false"}>`);
9514
9515
  _set_serialize_reason(1);
9515
9516
  const $childScope18 = _peek_scope_id();
9516
9517
  icon_chevron_right_default({
9517
9518
  size: 12,
9518
- class: ["_cB", { ["_cC"]: machineOpen }]
9519
+ class: ["_cM", { ["_cN"]: machineOpen }]
9519
9520
  });
9520
- _html(`<span${_attr_class("_cy")}>Tools</span><span${_attr_class("_cz")}>${_text_resume($scope0_id, "aj", tools.filter((t) => t.installed).length)} installed ${_text_resume($scope0_id, "ak", missingCount ? `${_to_text(" · ")}${_to_text(missingCount)} missing` : "", 2)}${_text_resume($scope0_id, "al", outdatedIds.length ? `${_to_text(" · ")}${_to_text(outdatedIds.length)} outdated` : "", 2)}</span></button>${_el_resume($scope0_id, "af")}`);
9521
+ _html(`<span${_attr_class("_cJ")}>Tools</span><span${_attr_class("_cK")}>${_text_resume($scope0_id, "aj", tools.filter((t) => t.installed).length)} installed ${_text_resume($scope0_id, "ak", missingCount ? `${_to_text(" · ")}${_to_text(missingCount)} missing` : "", 2)}${_text_resume($scope0_id, "al", outdatedIds.length ? `${_to_text(" · ")}${_to_text(outdatedIds.length)} outdated` : "", 2)}</span></button>${_el_resume($scope0_id, "af")}`);
9521
9522
  _if(() => {
9522
9523
  if (bulk) {
9523
9524
  const $scope34_id = _scope_id();
9524
- _html(`<span${_attr_class("_c8")}><span${_attr_class("_G")}></span>${_text_resume($scope34_id, "c", bulk.action === "update" ? "Updating" : "Installing")} ${_text_resume($scope34_id, "d", Math.min(bulk.done + 1, bulk.total), 2)}/${_text_resume($scope34_id, "e", bulk.total, 2)}${_text_resume($scope34_id, "f", activeLine && ` — ${activeLine}`, 2)}</span>`);
9525
+ _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope34_id, "c", bulk.action === "update" ? "Updating" : "Installing")} ${_text_resume($scope34_id, "d", Math.min(bulk.done + 1, bulk.total), 2)}/${_text_resume($scope34_id, "e", bulk.total, 2)}${_text_resume($scope34_id, "f", activeLine && ` — ${activeLine}`, 2)}</span>`);
9525
9526
  writeScope($scope34_id, {});
9526
9527
  return 0;
9527
9528
  } else {
@@ -9570,7 +9571,7 @@ var settings_page_default = _template("A", (input) => {
9570
9571
  _if(() => {
9571
9572
  if (searching && !hits?.length) {
9572
9573
  const $scope109_id = _scope_id();
9573
- _html(`<li${_attr_class("_cQ")}>Searching the mise registry…</li>`);
9574
+ _html(`<li${_attr_class("_cB")}>Searching the mise registry…</li>`);
9574
9575
  writeScope($scope109_id, {});
9575
9576
  return 0;
9576
9577
  }
@@ -9578,18 +9579,18 @@ var settings_page_default = _template("A", (input) => {
9578
9579
  _if(() => {
9579
9580
  if (hits && !hits.length && !searching) {
9580
9581
  const $scope42_id = _scope_id();
9581
- _html(`<li${_attr_class("_cQ")}>No tools match "${_text_resume($scope42_id, "b", query, 2)}".</li>`);
9582
+ _html(`<li${_attr_class("_cB")}>No tools match "${_text_resume($scope42_id, "b", query, 2)}".</li>`);
9582
9583
  _subscribe($query__closures, writeScope($scope42_id, {}));
9583
9584
  return 0;
9584
9585
  }
9585
9586
  }, $scope28_id, "b", 1, 1, 1, 0, 1);
9586
9587
  _for_of(hits || [], (h) => {
9587
9588
  const $scope29_id = _scope_id();
9588
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cd")}><span${_attr_class(["_dj", "_y"])}>${_text_resume($scope29_id, "d", h.name)}</span>`);
9589
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cd")}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope29_id, "d", h.name)}</span>`);
9589
9590
  _if(() => {
9590
9591
  if (active.has(h.name)) {
9591
9592
  const $scope30_id = _scope_id();
9592
- _html(`<span${_attr_class("_c8")}><span${_attr_class("_G")}></span>${_text_resume($scope30_id, "c", active.get(h.name) || "Starting…")}</span>`);
9593
+ _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope30_id, "c", active.get(h.name) || "Starting…")}</span>`);
9593
9594
  _subscribe($active__closures, writeScope($scope30_id, { Ch1: 9 }));
9594
9595
  return 0;
9595
9596
  } else if (h.description) {
@@ -9641,7 +9642,7 @@ var settings_page_default = _template("A", (input) => {
9641
9642
  _if(() => {
9642
9643
  if (machineOpen) {
9643
9644
  const $scope6_id = _scope_id();
9644
- _html(`<div${_attr_class("_cA")}>`);
9645
+ _html(`<div${_attr_class("_cL")}>`);
9645
9646
  _if(() => {
9646
9647
  if (setup && !setup.mise.installed) {
9647
9648
  const $scope31_id = _scope_id();
@@ -9655,11 +9656,11 @@ var settings_page_default = _template("A", (input) => {
9655
9656
  _if(() => {
9656
9657
  if (self) {
9657
9658
  const $scope46_id = _scope_id();
9658
- _html(`<li${_attr_class(toolRow)}><span${_attr_class(["_dj", "_y"])}>work</span>`);
9659
+ _html(`<li${_attr_class(toolRow)}><span${_attr_class(["_dd", "_y"])}>work</span>`);
9659
9660
  _if(() => {
9660
9661
  if (selfUpdating) {
9661
9662
  const $scope112_id = _scope_id();
9662
- _html(`<span${_attr_class("_c8")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
9663
+ _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
9663
9664
  writeScope($scope112_id, {});
9664
9665
  return 0;
9665
9666
  } else {
@@ -9673,7 +9674,7 @@ var settings_page_default = _template("A", (input) => {
9673
9674
  return 0;
9674
9675
  } else if (self.latest && self.latest !== self.version) {
9675
9676
  const $scope48_id = _scope_id();
9676
- _html(`<button${_attr_class([btnSm, "_dm"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
9677
+ _html(`<button${_attr_class([btnSm, "_dg"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
9677
9678
  icon_arrow_up_default({ size: 12 });
9678
9679
  _html(` ${_text_resume($scope48_id, "c", self.latest, 2)}</button>${_el_resume($scope48_id, "a")}`);
9679
9680
  _script($scope48_id, "A77");
@@ -9716,11 +9717,11 @@ var settings_page_default = _template("A", (input) => {
9716
9717
  const $for_content7__t_latest__closures = /* @__PURE__ */ new Set();
9717
9718
  const $for_content7__t_label__closures = /* @__PURE__ */ new Set();
9718
9719
  const $for_content7__t_newest__closures = /* @__PURE__ */ new Set();
9719
- _html(`<li${_attr_class([toolRow, { ["_di"]: !t.installed }])}><span${_attr_class(["_dj", "_y"])}>${_text_resume($scope32_id, "c", t.label)}</span>`);
9720
+ _html(`<li${_attr_class([toolRow, { ["_dc"]: !t.installed }])}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope32_id, "c", t.label)}</span>`);
9720
9721
  _if(() => {
9721
9722
  if (active.has(t.id)) {
9722
9723
  const $scope33_id = _scope_id();
9723
- _html(`<span${_attr_class("_c8")}><span${_attr_class("_G")}></span>${_text_resume($scope33_id, "c", active.get(t.id) || "Starting…")}</span>`);
9724
+ _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope33_id, "c", active.get(t.id) || "Starting…")}</span>`);
9724
9725
  _subscribe($active__closures, writeScope($scope33_id, { Ch1: 12 }));
9725
9726
  return 0;
9726
9727
  } else if (t.installed) {
@@ -9728,11 +9729,11 @@ var settings_page_default = _template("A", (input) => {
9728
9729
  _if(() => {
9729
9730
  if (t.version) {
9730
9731
  const $scope40_id = _scope_id();
9731
- _html(`<button${_attr_class(["_dl", "_y"])}${_attr("title", `${t.path || t.label}${aliasPin(t) ? `, pinned to ${t.pin}` : ""}. Pin a version`)}>v${_text_resume($scope40_id, "b", t.version, 2)}`);
9732
+ _html(`<button${_attr_class(["_df", "_y"])}${_attr("title", `${t.path || t.label}${aliasPin(t) ? `, pinned to ${t.pin}` : ""}. Pin a version`)}>v${_text_resume($scope40_id, "b", t.version, 2)}`);
9732
9733
  _if(() => {
9733
9734
  if (aliasPin(t)) {
9734
9735
  const $scope116_id = _scope_id();
9735
- _html(`<span${_attr_class("_dk")}>${_text_resume($scope116_id, "b", t.pin)}</span>`);
9736
+ _html(`<span${_attr_class("_de")}>${_text_resume($scope116_id, "b", t.pin)}</span>`);
9736
9737
  _subscribe($for_content7__t_pin__closures, writeScope($scope116_id, { Ca0: 1 }));
9737
9738
  return 0;
9738
9739
  }
@@ -9751,7 +9752,7 @@ var settings_page_default = _template("A", (input) => {
9751
9752
  _if(() => {
9752
9753
  if (outdated(t)) {
9753
9754
  const $scope57_id = _scope_id();
9754
- _html(`<button${_attr_class([btnSm, "_dm"])}${_attr("title", `Update to v${t.latest}`)}>`);
9755
+ _html(`<button${_attr_class([btnSm, "_dg"])}${_attr("title", `Update to v${t.latest}`)}>`);
9755
9756
  icon_arrow_up_default({ size: 12 });
9756
9757
  _html(` ${_text_resume($scope57_id, "c", t.latest, 2)}</button>${_el_resume($scope57_id, "a")}`);
9757
9758
  _script($scope57_id, "A79");
@@ -9759,7 +9760,7 @@ var settings_page_default = _template("A", (input) => {
9759
9760
  return 0;
9760
9761
  } else if (t.newest) {
9761
9762
  const $scope58_id = _scope_id();
9762
- _html(`<button${_attr_class(["_dl", "_y"])}${_attr("title", `v${t.newest} is out; ${t.pin} holds ${t.label} at v${t.version}. Pin v${t.newest} instead`)}>${_text_resume($scope58_id, "b", t.newest)} available</button>${_el_resume($scope58_id, "a")}`);
9763
+ _html(`<button${_attr_class(["_df", "_y"])}${_attr("title", `v${t.newest} is out; ${t.pin} holds ${t.label} at v${t.version}. Pin v${t.newest} instead`)}>${_text_resume($scope58_id, "b", t.newest)} available</button>${_el_resume($scope58_id, "a")}`);
9763
9764
  _script($scope58_id, "A80");
9764
9765
  _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($scope58_id, { Cy: 1 })))));
9765
9766
  return 1;
@@ -9872,14 +9873,14 @@ var settings_page_default = _template("A", (input) => {
9872
9873
  label: "Dark"
9873
9874
  }
9874
9875
  ];
9875
- _html(`</div></div></section><section${_attr_class("_b8")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_b9")}><h2${_attr("id", appearanceId)}${_attr_class("_cl")}>Appearance</h2></div><div${_attr_class(["_cc", "_dA"])}><div${_attr_class("_dM")}><img${_attr_class("_dN")}${_attr("src", `/api/instance/icon${accent ? `?v=${accent.slice(1)}` : ""}`)} alt aria-hidden=true>${_el_resume($scope0_id, "au", $sg__input_instance_accent)}<span${_attr_class("_dO")}><span${_attr_class("_dP")}>${_text_resume($scope0_id, "ax", input.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_dQ")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_dB")}><span${_attr_class("_dC")}>Name</span><input${_attr_input_value($scope0_id, "b1", input.instance.name, _resume(function(v) {
9876
+ _html(`</div></div></section><section${_attr_class("_b8")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_b9")}><h2${_attr("id", appearanceId)}${_attr_class("_cl")}>Appearance</h2></div><div${_attr_class(["_cc", "_du"])}><div${_attr_class("_dG")}><img${_attr_class("_dH")}${_attr("src", `/api/instance/icon${accent ? `?v=${accent.slice(1)}` : ""}`)} alt aria-hidden=true>${_el_resume($scope0_id, "au", $sg__input_instance_accent)}<span${_attr_class("_dI")}><span${_attr_class("_dJ")}>${_text_resume($scope0_id, "ax", input.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_dK")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_dv")}><span${_attr_class("_dw")}>Name</span><input${_attr_input_value($scope0_id, "b1", input.instance.name, _resume(function(v) {
9876
9877
  setInstance({ name: v });
9877
- }, "A1", $scope0_id))}${_attr_class(["_Y", "_dD"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b1")}</label><div${_attr_class("_dB")}><span${_attr_class("_dC")}>Theme</span><span${_attr_class("_dF")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
9878
+ }, "A1", $scope0_id))}${_attr_class(["_Y", "_dx"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b1")}</label><div${_attr_class("_dv")}><span${_attr_class("_dw")}>Theme</span><span${_attr_class("_dz")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
9878
9879
  _for_of(themeOpts, (opt) => {
9879
9880
  const $scope49_id = _scope_id();
9880
9881
  _html(`<button type=button${_attr_class([
9881
9882
  "_bf",
9882
- "_dR",
9883
+ "_dL",
9883
9884
  { ["_be"]: themeMode === opt.id }
9884
9885
  ])} role=radio aria-checked=${themeMode === opt.id ? "true" : "false"}>`);
9885
9886
  if (opt.id === "system") {
@@ -9899,28 +9900,28 @@ var settings_page_default = _template("A", (input) => {
9899
9900
  _: _scope_with_id($scope0_id)
9900
9901
  });
9901
9902
  }, "id", $scope0_id, "b5", 1, 0, 1, 0, 1);
9902
- _html(`</span><span${_attr_class(["_o", "_dG"])}>`);
9903
+ _html(`</span><span${_attr_class(["_o", "_dA"])}>`);
9903
9904
  _attr_select_value($scope0_id, "b7", themeMode, _resume(function(v) {
9904
9905
  setThemeMode(v);
9905
9906
  }, "A2", $scope0_id), () => {
9906
- _html(`<select${_attr_class(["_p", "_dH"])} aria-label="Color theme">`);
9907
+ _html(`<select${_attr_class(["_p", "_dB"])} aria-label="Color theme">`);
9907
9908
  forOf(themeOpts, (opt) => {
9908
9909
  _scope_id();
9909
9910
  _html(`<option${_attr_option_value(opt.id)}>${_escape(opt.label)}</option>`);
9910
9911
  });
9911
9912
  _html("</select>");
9912
9913
  });
9913
- _html(`${_el_resume($scope0_id, "b7")}</span></span></div><div${_attr_class("_dB")}><span${_attr_class("_dC")}>Accent</span><span${_attr_class("_dS")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
9914
- "_dT",
9915
- "_dW",
9916
- { ["_dU"]: !accent }
9914
+ _html(`${_el_resume($scope0_id, "b7")}</span></span></div><div${_attr_class("_dv")}><span${_attr_class("_dw")}>Accent</span><span${_attr_class("_dM")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
9915
+ "_dN",
9916
+ "_dQ",
9917
+ { ["_dO"]: !accent }
9917
9918
  ])} role=radio aria-checked=${!accent ? "true" : "false"} title="Default (blue)" aria-label="Default (blue)">`);
9918
9919
  _if(() => {
9919
9920
  if (!accent) {
9920
9921
  const $scope126_id = _scope_id();
9921
9922
  icon_check_default({
9922
9923
  size: 12,
9923
- class: "_dV"
9924
+ class: "_dP"
9924
9925
  });
9925
9926
  $si__input_instance_accent && writeScope($scope126_id, {});
9926
9927
  return 0;
@@ -9928,13 +9929,13 @@ var settings_page_default = _template("A", (input) => {
9928
9929
  }, $scope0_id, "bb", $sg__input_instance_accent, 1, 1, "</button>", 1);
9929
9930
  _for_of(ACCENT_PRESETS, (p) => {
9930
9931
  const $scope79_id = _scope_id();
9931
- _html(`<button type=button${_attr_class(["_dT", { ["_dU"]: 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)}>`);
9932
+ _html(`<button type=button${_attr_class(["_dN", { ["_dO"]: 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)}>`);
9932
9933
  _if(() => {
9933
9934
  if (accent === p.value) {
9934
9935
  const $scope127_id = _scope_id();
9935
9936
  icon_check_default({
9936
9937
  size: 12,
9937
- class: "_dV"
9938
+ class: "_dP"
9938
9939
  });
9939
9940
  $si__input_instance_accent && writeScope($scope127_id, {});
9940
9941
  return 0;
@@ -9948,18 +9949,18 @@ var settings_page_default = _template("A", (input) => {
9948
9949
  }, "value", $scope0_id, "bc", $sg__input_instance_accent, 0, 1, 0, 1);
9949
9950
  const customOn = !!accent && !ACCENT_PRESETS.some((p) => p.value === accent);
9950
9951
  _html(`<label${_attr_class([
9951
- "_dT",
9952
- "_dX",
9953
- { ["_dU"]: customOn }
9952
+ "_dN",
9953
+ "_dR",
9954
+ { ["_dO"]: customOn }
9954
9955
  ])}${customOn ? _attr_style(`--swatch:${accent}`) : ""}${customOn ? _attr("title", `Custom ${accent}`) : " title=\"Custom colour\""}><input${_attr_input_value($scope0_id, "be", accent || "#3556d8", _resume(function(v) {
9955
9956
  setInstance({ accent: v });
9956
- }, "A3", $scope0_id))}${_attr_class("_dY")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "be")}`);
9957
+ }, "A3", $scope0_id))}${_attr_class("_dS")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "be")}`);
9957
9958
  _if(() => {
9958
9959
  if (customOn) {
9959
9960
  const $scope128_id = _scope_id();
9960
9961
  icon_check_default({
9961
9962
  size: 12,
9962
- class: "_dV"
9963
+ class: "_dP"
9963
9964
  });
9964
9965
  $si__input_instance_accent && writeScope($scope128_id, {});
9965
9966
  return 0;
@@ -9970,11 +9971,11 @@ var settings_page_default = _template("A", (input) => {
9970
9971
  return 1;
9971
9972
  }
9972
9973
  }, $scope0_id, "bf", $sg__input_instance_accent, $sg__input_instance_accent, 1, 0, 1);
9973
- _html(`</label>${_el_resume($scope0_id, "bd", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_b8")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_b9")}><h2${_attr("id", backupId)}${_attr_class("_cl")}>Backup</h2></div><div${_attr_class(["_cc", "_cs"])}><div${_attr_class("_ct")}><div${_attr_class("_dZ")}><div${_attr_class("_cd")}>`);
9974
+ _html(`</label>${_el_resume($scope0_id, "bd", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_b8")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_b9")}><h2${_attr("id", backupId)}${_attr_class("_cl")}>Backup</h2></div><div${_attr_class(["_cc", "_cD"])}><div${_attr_class("_cE")}><div${_attr_class("_dT")}><div${_attr_class("_cd")}>`);
9974
9975
  _if(() => {
9975
9976
  if (backupBusy === "preflight") {
9976
9977
  const $scope66_id = _scope_id();
9977
- _html(`<span${_attr_class("_c8")}><span${_attr_class("_G")}></span>${_text_resume($scope66_id, "c", backupLine || "Checking workspaces…")}</span>`);
9978
+ _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope66_id, "c", backupLine || "Checking workspaces…")}</span>`);
9978
9979
  writeScope($scope66_id, {});
9979
9980
  return 0;
9980
9981
  } else {
@@ -9997,7 +9998,7 @@ var settings_page_default = _template("A", (input) => {
9997
9998
  _if(() => {
9998
9999
  if (preflight && !backupBusy) {
9999
10000
  const $scope68_id = _scope_id();
10000
- _html(`<div${_attr_class("_d1")}><p${_attr_class("_d2")}>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("_d2")}>Not in the file: `);
10001
+ _html(`<div${_attr_class("_dV")}><p${_attr_class("_dW")}>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("_dW")}>Not in the file: `);
10001
10002
  _if(() => {
10002
10003
  if (preflight.unpushed) {
10003
10004
  const $scope69_id = _scope_id();
@@ -10014,15 +10015,15 @@ var settings_page_default = _template("A", (input) => {
10014
10015
  return 0;
10015
10016
  }
10016
10017
  }, $scope68_id, "m");
10017
- _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("_d3")}>`);
10018
+ _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("_dX")}>`);
10018
10019
  _for_of(preflight.workspaces, (w) => {
10019
10020
  const $scope132_id = _scope_id();
10020
10021
  const $for_content17__w_name__closures = /* @__PURE__ */ new Set();
10021
- _html(`<li${_attr_class("_d4")}><span${_attr_class("_ce")}>${_text_resume($scope132_id, "c", w.name)}</span><ul${_attr_class("_d3")}>`);
10022
+ _html(`<li${_attr_class("_dY")}><span${_attr_class("_ce")}>${_text_resume($scope132_id, "c", w.name)}</span><ul${_attr_class("_dX")}>`);
10022
10023
  _for_of(w.repos, (r) => {
10023
10024
  const $scope133_id = _scope_id();
10024
10025
  const $for_content18__r_more__closures = /* @__PURE__ */ new Set();
10025
- _html(`<li${_attr_class("_d5")}><span${_attr_class("_d6")}><span${_attr_class("_y")}>${_text_resume($scope133_id, "d", r.worktree)}/</span>`);
10026
+ _html(`<li${_attr_class("_dZ")}><span${_attr_class("_d0")}><span${_attr_class("_y")}>${_text_resume($scope133_id, "d", r.worktree)}/</span>`);
10026
10027
  _for_of(r.unpushed, (b) => {
10027
10028
  const $scope134_id = _scope_id();
10028
10029
  _html(`<span${_attr_class(["_N", tone.warn])}${_attr("title", `${b.branch}: ${b.count} commit${b.count === 1 ? "" : "s"} origin does not have`)}>${_text_resume($scope134_id, "b", b.count)} unpushed `);
@@ -10041,10 +10042,10 @@ var settings_page_default = _template("A", (input) => {
10041
10042
  _if(() => {
10042
10043
  if (r.modified.length || r.untracked.length || r.ignored.length) {
10043
10044
  const $scope135_id = _scope_id();
10044
- _html(`<ul${_attr_class("_d7")}>`);
10045
+ _html(`<ul${_attr_class("_d1")}>`);
10045
10046
  _for_of(r.modified, (f) => {
10046
10047
  const $scope138_id = _scope_id();
10047
- _html(`<li${_attr_class("_d8")}><span${_attr_class([
10048
+ _html(`<li${_attr_class("_d2")}><span${_attr_class([
10048
10049
  "_N",
10049
10050
  "_P",
10050
10051
  tone.warn
@@ -10053,18 +10054,18 @@ var settings_page_default = _template("A", (input) => {
10053
10054
  }, (f) => f, $scope135_id, "b", 1, 1, 1, 0, 1);
10054
10055
  _for_of(r.untracked, (f) => {
10055
10056
  const $scope139_id = _scope_id();
10056
- _html(`<li${_attr_class("_d8")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope139_id, "d", f)}</span></li>`);
10057
+ _html(`<li${_attr_class("_d2")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope139_id, "d", f)}</span></li>`);
10057
10058
  writeScope($scope139_id, {});
10058
10059
  }, (f) => f, $scope135_id, "c", 1, 1, 1, 0, 1);
10059
10060
  _for_of(r.ignored, (f) => {
10060
10061
  const $scope140_id = _scope_id();
10061
- _html(`<li${_attr_class("_d8")}><span${_attr_class(["_N", "_P"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope140_id, "d", f)}</span></li>`);
10062
+ _html(`<li${_attr_class("_d2")}><span${_attr_class(["_N", "_P"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope140_id, "d", f)}</span></li>`);
10062
10063
  writeScope($scope140_id, {});
10063
10064
  }, (f) => f, $scope135_id, "d", 1, 1, 1, 0, 1);
10064
10065
  _if(() => {
10065
10066
  if (r.more) {
10066
10067
  const $scope136_id = _scope_id();
10067
- _html(`<li${_attr_class(["_d8", "_x"])}>+${_text_resume($scope136_id, "b", r.more, 2)} more</li>`);
10068
+ _html(`<li${_attr_class(["_d2", "_x"])}>+${_text_resume($scope136_id, "b", r.more, 2)} more</li>`);
10068
10069
  _subscribe($for_content18__r_more__closures, writeScope($scope136_id, {}));
10069
10070
  return 0;
10070
10071
  }
@@ -10089,17 +10090,17 @@ var settings_page_default = _template("A", (input) => {
10089
10090
  i: $for_content17__w_name__closures
10090
10091
  });
10091
10092
  }, "id", $scope68_id, "o", 1, 1, 1, "</ul>", 1);
10092
- _html(`<div${_attr_class("_d9")}><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>`);
10093
+ _html(`<div${_attr_class("_d3")}><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>`);
10093
10094
  _script($scope68_id, "A86");
10094
10095
  writeScope($scope68_id, {});
10095
10096
  return 0;
10096
10097
  }
10097
10098
  }, $scope0_id, "bo", 1, 1, 1, 0, 1);
10098
- _html(`</div><div${_attr_class("_ct")}><div${_attr_class("_dZ")}><div${_attr_class("_cd")}>`);
10099
+ _html(`</div><div${_attr_class("_cE")}><div${_attr_class("_dT")}><div${_attr_class("_cd")}>`);
10099
10100
  _if(() => {
10100
10101
  if (backupBusy === "restore") {
10101
10102
  const $scope67_id = _scope_id();
10102
- _html(`<span${_attr_class("_c8")}><span${_attr_class("_G")}></span>${_text_resume($scope67_id, "c", backupLine || "Restoring…")}</span>`);
10103
+ _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope67_id, "c", backupLine || "Restoring…")}</span>`);
10103
10104
  writeScope($scope67_id, {});
10104
10105
  return 0;
10105
10106
  } else if (restoreDone) {
@@ -10117,7 +10118,7 @@ var settings_page_default = _template("A", (input) => {
10117
10118
  _if(() => {
10118
10119
  if (!restorePreview && backupBusy !== "restore") {
10119
10120
  const $scope77_id = _scope_id();
10120
- _html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_d0")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope77_id, "b")}</label>`);
10121
+ _html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_dU")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope77_id, "b")}</label>`);
10121
10122
  _script($scope77_id, "A87");
10122
10123
  writeScope($scope77_id, {});
10123
10124
  return 0;
@@ -10128,14 +10129,14 @@ var settings_page_default = _template("A", (input) => {
10128
10129
  if (restorePreview && backupBusy !== "restore") {
10129
10130
  const $scope70_id = _scope_id();
10130
10131
  const { preview } = restorePreview;
10131
- _html(`<div${_attr_class("_d1")}><p${_attr_class("_d2")}>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>`);
10132
+ _html(`<div${_attr_class("_dV")}><p${_attr_class("_dW")}>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>`);
10132
10133
  _if(() => {
10133
10134
  if (preview.workspaces.length) {
10134
10135
  const $scope71_id = _scope_id();
10135
10136
  _html(`<ul${_attr_class(checkList)}>`);
10136
10137
  _for_of(preview.workspaces, (w) => {
10137
10138
  const $scope72_id = _scope_id();
10138
- _html(`<li><label${_attr_class(["_ea", { ["_ec"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_eb")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_cd")}><span${_attr_class("_cf")}><span${_attr_class("_ce")}>${_text_resume($scope72_id, "f", w.name)}</span>`);
10139
+ _html(`<li><label${_attr_class(["_d5", { ["_d7"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_d6")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_cd")}><span${_attr_class("_cf")}><span${_attr_class("_ce")}>${_text_resume($scope72_id, "f", w.name)}</span>`);
10139
10140
  _if(() => {
10140
10141
  if (w.status === "archived") {
10141
10142
  const $scope145_id = _scope_id();
@@ -10208,7 +10209,7 @@ var settings_page_default = _template("A", (input) => {
10208
10209
  _if(() => {
10209
10210
  if (p.total) {
10210
10211
  const $scope74_id = _scope_id();
10211
- _html(`<li><label${_attr_class(["_ea", { ["_ec"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_eb")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_cd")}><span${_attr_class("_ce")}>${_text_resume($scope74_id, "e", p.label)}</span><span${_attr_class("_cg")}>`);
10212
+ _html(`<li><label${_attr_class(["_d5", { ["_d7"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_d6")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_cd")}><span${_attr_class("_ce")}>${_text_resume($scope74_id, "e", p.label)}</span><span${_attr_class("_cg")}>`);
10212
10213
  _if(() => {
10213
10214
  if (p.key === "settings") {
10214
10215
  const $scope142_id = _scope_id();
@@ -10255,7 +10256,7 @@ var settings_page_default = _template("A", (input) => {
10255
10256
  i: $for_content10__p_total__closures
10256
10257
  });
10257
10258
  }, "key", $scope70_id, "h");
10258
- _html(`</ul><div${_attr_class("_d9")}><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>`);
10259
+ _html(`</ul><div${_attr_class("_d3")}><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>`);
10259
10260
  _script($scope70_id, "A90");
10260
10261
  writeScope($scope70_id, {});
10261
10262
  return 0;
@@ -10552,14 +10553,14 @@ function activeAgent(session) {
10552
10553
  const command = session.state?.command?.trim();
10553
10554
  return command && agentFromCommand(command) || session.agent;
10554
10555
  }
10555
- var heroTag = "_eU _N _Q";
10556
- var rowState = "_e6 _N";
10557
- var prChip = "_iv _u _iu";
10558
- var portChip = "_iw _u _iu";
10556
+ var heroTag = "_fe _N _Q";
10557
+ var rowState = "_fq _N";
10558
+ var prChip = "_hW _u _hV";
10559
+ var portChip = "_hX _u _hV";
10559
10560
  var prState = {
10560
- open: "_iA",
10561
- merged: "_iB",
10562
- closed: "_iC"
10561
+ open: "_h1",
10562
+ merged: "_h2",
10563
+ closed: "_h3"
10563
10564
  };
10564
10565
  //#endregion
10565
10566
  //#region src/tags/icons/icon-diff.marko
@@ -10640,7 +10641,7 @@ var side_nav_chips_default = _template("B", (input) => {
10640
10641
  const name = repo.full_name.split("/").at(-1);
10641
10642
  return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel$1(repo.full_name) : name;
10642
10643
  }, "B3", $scope1_id);
10643
- _html(`<div${_attr_class("_it")}>`);
10644
+ _html(`<div${_attr_class("_hU")}>`);
10644
10645
  _for_of(repos, (repo) => {
10645
10646
  const $scope2_id = _scope_id();
10646
10647
  const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
@@ -10656,11 +10657,11 @@ var side_nav_chips_default = _template("B", (input) => {
10656
10657
  [prState.merged]: pr$1.state === "MERGED",
10657
10658
  [prState.closed]: pr$1.state === "CLOSED"
10658
10659
  }
10659
- ])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_ix", { ["_iF"]: !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")}`);
10660
+ ])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_hY", { ["_h6"]: !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")}`);
10660
10661
  _if(() => {
10661
10662
  if (open) {
10662
10663
  const $scope4_id = _scope_id();
10663
- _html(`<a${_attr_class(["_ix", "_iy"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
10664
+ _html(`<a${_attr_class(["_hY", "_hZ"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
10664
10665
  icon_diff_default({ size: 12 });
10665
10666
  _html(`</a>${_el_resume($scope4_id, "a")}`);
10666
10667
  _subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
@@ -10668,9 +10669,9 @@ var side_nav_chips_default = _template("B", (input) => {
10668
10669
  } else {
10669
10670
  const $scope5_id = _scope_id();
10670
10671
  _html(`<button type=button${_attr_class([
10671
- "_ix",
10672
- "_iy",
10673
- "_iz"
10672
+ "_hY",
10673
+ "_hZ",
10674
+ "_h0"
10674
10675
  ])}${_attr("title", `Dismiss #${pr$1.number}`)}>`);
10675
10676
  icon_xmark_default({ size: 12 });
10676
10677
  _html(`</button>${_el_resume($scope5_id, "a")}`);
@@ -10698,12 +10699,12 @@ var side_nav_chips_default = _template("B", (input) => {
10698
10699
  _if(() => {
10699
10700
  if (dead.has(p.port)) {
10700
10701
  const $scope7_id = _scope_id();
10701
- _html(`<span${_attr_class(["_ix", "_iD"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
10702
+ _html(`<span${_attr_class(["_hY", "_h4"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
10702
10703
  _subscribe($dead__closures, writeScope($scope7_id, { Cy: 1 }));
10703
10704
  return 0;
10704
10705
  } else {
10705
10706
  const $scope8_id = _scope_id();
10706
- _html(`<button type=button${_attr_class(["_ix", "_iE"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
10707
+ _html(`<button type=button${_attr_class(["_hY", "_h5"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
10707
10708
  _script($scope8_id, "B6");
10708
10709
  writeScope($scope8_id, {});
10709
10710
  return 1;
@@ -10712,9 +10713,9 @@ var side_nav_chips_default = _template("B", (input) => {
10712
10713
  const $childScope = _peek_scope_id();
10713
10714
  arm_button_default({
10714
10715
  class: [
10715
- "_ix",
10716
- "_iy",
10717
- "_iz"
10716
+ "_hY",
10717
+ "_hZ",
10718
+ "_h0"
10718
10719
  ],
10719
10720
  title: `Kill ${p.cmd} (pid ${p.pid})`,
10720
10721
  armedTitle: "Kill?",
@@ -10761,12 +10762,12 @@ var side_nav_chips_default = _template("B", (input) => {
10761
10762
  });
10762
10763
  _resume_branch($scope0_id);
10763
10764
  });
10764
- var railBtn = "_fl _l";
10765
- var wsBtn = "_fp _I";
10766
- var rowIcon = "_fs _3 _l";
10767
- var close = "_ft _6 _l _7";
10768
- var sessRename$1 = "_fz _J";
10769
- var sessBtn$1 = "_fB _I";
10765
+ var railBtn = "_fL _l";
10766
+ var wsBtn = "_fP _I";
10767
+ var rowIcon = "_fS _3 _l";
10768
+ var close = "_fT _6 _l _7";
10769
+ var sessRename$1 = "_fZ _J";
10770
+ var sessBtn$1 = "_f1 _I";
10770
10771
  //#endregion
10771
10772
  //#region src/tags/icons/icon-manage.marko
10772
10773
  var icon_manage_default = _template("jb", (input) => {
@@ -10881,7 +10882,7 @@ var side_nav_item_default = _template("C", (input) => {
10881
10882
  _if(() => {
10882
10883
  if (input.rail) {
10883
10884
  const $scope2_id = _scope_id();
10884
- _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_fi"]: 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, 18))}<span${_attr_class([
10885
+ _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_fI"]: 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, 18))}<span${_attr_class([
10885
10886
  "_A",
10886
10887
  phase[dot$1],
10887
10888
  "_bb"
@@ -10891,31 +10892,31 @@ var side_nav_item_default = _template("C", (input) => {
10891
10892
  } else if (ws$1.pending) {
10892
10893
  const $scope3_id = _scope_id();
10893
10894
  _html(`<section${_attr_class([
10894
- "_fn",
10895
- "_fD",
10896
- { ["_fm"]: input.page }
10897
- ])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_fo")}><div${_attr_class(wsBtn)}>`);
10895
+ "_fN",
10896
+ "_f3",
10897
+ { ["_fM"]: input.page }
10898
+ ])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_fO")}><div${_attr_class(wsBtn)}>`);
10898
10899
  _if(() => {
10899
10900
  if (ws$1.pending_error) {
10900
10901
  const $scope11_id = _scope_id();
10901
10902
  icon_warning_default({
10902
10903
  size: 12,
10903
- class: "_fF"
10904
+ class: "_f5"
10904
10905
  });
10905
10906
  $si__input_workspace && writeScope($scope11_id, {});
10906
10907
  return 0;
10907
10908
  } else {
10908
10909
  const $scope12_id = _scope_id();
10909
- _html(`<span${_attr_class(["_G", "_fE"])}></span>`);
10910
+ _html(`<span${_attr_class(["_G", "_f4"])}></span>`);
10910
10911
  $si__input_workspace && writeScope($scope12_id, {});
10911
10912
  return 1;
10912
10913
  }
10913
10914
  }, $scope3_id, "d", $sg__input_workspace, $sg__input_workspace, 1, 0, 1);
10914
- _html(`<span${_attr_class("_fv")}><span${_attr_class("_fw")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_fH")}${_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>`);
10915
+ _html(`<span${_attr_class("_fV")}><span${_attr_class("_fW")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_f7")}${_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>`);
10915
10916
  _if(() => {
10916
10917
  if (ws$1.pending_error && !retrying) {
10917
10918
  const $scope10_id = _scope_id();
10918
- _html(`<div${_attr_class("_fG")}><button type=button${_attr_class(["_q", btnSm])} title="Run the restore again">Retry</button>${_el_resume($scope10_id, "b")}`);
10919
+ _html(`<div${_attr_class("_f6")}><button type=button${_attr_class(["_q", btnSm])} title="Run the restore again">Retry</button>${_el_resume($scope10_id, "b")}`);
10919
10920
  arm_button_default({
10920
10921
  class: ["_q", btnSm],
10921
10922
  title: "Delete workspace",
@@ -10946,11 +10947,11 @@ var side_nav_item_default = _template("C", (input) => {
10946
10947
  const $scope4_id = _scope_id();
10947
10948
  const sessions$1 = input.sessions || [];
10948
10949
  const phaseLabel = dot$1 === "working" ? "Working" : dot$1 === "waiting" ? "Needs input" : dot$1 === "idle" ? "Idle" : "Not running";
10949
- _html(`<section${_attr_class(["_fn", {
10950
- ["_fi"]: input.current,
10950
+ _html(`<section${_attr_class(["_fN", {
10951
+ ["_fI"]: input.current,
10951
10952
  ["_bc"]: input.current,
10952
- ["_fk"]: input.menuOpen
10953
- }])}><div${_attr_class("_fo")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class(wsBtn)}><span${_attr_class(["_A", phase[dot$1]])}${_attr("title", phaseLabel)}></span>${_el_resume($scope4_id, "d", $sg__input_status)}`);
10953
+ ["_fK"]: input.menuOpen
10954
+ }])}><div${_attr_class("_fO")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class(wsBtn)}><span${_attr_class(["_A", phase[dot$1]])}${_attr("title", phaseLabel)}></span>${_el_resume($scope4_id, "d", $sg__input_status)}`);
10954
10955
  _if(() => {
10955
10956
  if (sessions$1.length === 1) {
10956
10957
  const $scope14_id = _scope_id();
@@ -10962,7 +10963,7 @@ var side_nav_item_default = _template("C", (input) => {
10962
10963
  icon_agent_default({
10963
10964
  agent: activeAgent(sessions$1[0]),
10964
10965
  size: 12,
10965
- class: "_fu"
10966
+ class: "_fU"
10966
10967
  });
10967
10968
  $si__input_sessions && writeScope($scope14_id, {
10968
10969
  _: _scope_with_id($scope4_id),
@@ -10971,7 +10972,7 @@ var side_nav_item_default = _template("C", (input) => {
10971
10972
  return 0;
10972
10973
  }
10973
10974
  }, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions, $sg__input_sessions__OR__input_onNewSession__OR__input_onReview);
10974
- _html(`<span${_attr_class("_fv")}><span${_attr_class("_fw")}>${_text_resume($scope4_id, "h", ws$1.name, $sg__input_workspace)}</span></span> </a>${_el_resume($scope4_id, "c", $sg__input_workspace)}<div${_attr_class("_fq")}>`);
10975
+ _html(`<span${_attr_class("_fV")}><span${_attr_class("_fW")}>${_text_resume($scope4_id, "h", ws$1.name, $sg__input_workspace)}</span></span> </a>${_el_resume($scope4_id, "c", $sg__input_workspace)}<div${_attr_class("_fQ")}>`);
10975
10976
  _if(() => {
10976
10977
  if (input.onNewSession) {
10977
10978
  const $scope5_id = _scope_id();
@@ -10999,19 +11000,19 @@ var side_nav_item_default = _template("C", (input) => {
10999
11000
  return 0;
11000
11001
  }
11001
11002
  }, $scope4_id, "k", $sg__input_onReview, $sg__input_onReview, $sg__input_sessions__OR__input_onNewSession__OR__input_onReview, 0, 1);
11002
- _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_fj"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
11003
+ _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_fJ"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
11003
11004
  icon_manage_default({ size: 12 });
11004
- _html(`</a>${_el_resume($scope4_id, "l", _serialize_guard($scope0_reason, 4))}</div></div><div${_attr_class("_fA")}>`);
11005
+ _html(`</a>${_el_resume($scope4_id, "l", _serialize_guard($scope0_reason, 4))}</div></div><div${_attr_class("_f0")}>`);
11005
11006
  _for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
11006
11007
  const $scope6_id = _scope_id();
11007
- _html(`<div${_attr_class(["_fr", { ["_fi"]: s.id === input.currentTab }])}>`);
11008
+ _html(`<div${_attr_class(["_fR", { ["_fI"]: s.id === input.currentTab }])}>`);
11008
11009
  _if(() => {
11009
11010
  if (renamingId === s.id) {
11010
11011
  const $scope7_id = _scope_id();
11011
11012
  _html(`<span${_attr_class([
11012
11013
  "_A",
11013
11014
  phase[sessionPhase(s.state)],
11014
- "_fy"
11015
+ "_fY"
11015
11016
  ])}></span>${_el_resume($scope7_id, "a", $sg__input_sessions)}`);
11016
11017
  _set_serialize_reason({
11017
11018
  1: $sg__input_sessions,
@@ -11021,7 +11022,7 @@ var side_nav_item_default = _template("C", (input) => {
11021
11022
  icon_agent_default({
11022
11023
  agent: activeAgent(s),
11023
11024
  size: 12,
11024
- class: "_fC"
11025
+ class: "_f2"
11025
11026
  });
11026
11027
  const $childScope3 = _peek_scope_id();
11027
11028
  rename_input_default({
@@ -11052,9 +11053,9 @@ var side_nav_item_default = _template("C", (input) => {
11052
11053
  icon_agent_default({
11053
11054
  agent: activeAgent(s),
11054
11055
  size: 12,
11055
- class: "_fC"
11056
+ class: "_f2"
11056
11057
  });
11057
- _html(`<span${_attr_class("_fx")}>${_text_resume($scope8_id, "e", s.title || activeAgent(s), $sg__input_sessions)}</span></a>${_el_resume($scope8_id, "a", _serialize_guard($scope0_reason, 3))}<button${_attr_class(rowIcon)} title="Rename session">`);
11058
+ _html(`<span${_attr_class("_fX")}>${_text_resume($scope8_id, "e", s.title || activeAgent(s), $sg__input_sessions)}</span></a>${_el_resume($scope8_id, "a", _serialize_guard($scope0_reason, 3))}<button${_attr_class(rowIcon)} title="Rename session">`);
11058
11059
  icon_edit_default({ size: 12 });
11059
11060
  _html(`</button>${_el_resume($scope8_id, "f")}`);
11060
11061
  arm_button_default({
@@ -11177,11 +11178,11 @@ var workspace_switcher_default = _template("N", (input) => {
11177
11178
  const sessions = input.sessions || st?.sessions || [];
11178
11179
  const manySessions = sessions.length > 1;
11179
11180
  const heroMeta$1 = sessions.length === 0 ? "No sessions" : manySessions ? `${sessions.length} sessions` : "";
11180
- _html(`<div${_attr_class("_eQ")}>`);
11181
+ _html(`<div${_attr_class("_fa")}>`);
11181
11182
  _if(() => {
11182
11183
  if (ws) {
11183
11184
  const $scope1_id = _scope_id();
11184
- _html(`<section${_attr_class("_eR")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_eS")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
11185
+ _html(`<section${_attr_class("_fb")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_fc")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
11185
11186
  _if(() => {
11186
11187
  if (sessions.length === 1) {
11187
11188
  const $scope8_id = _scope_id();
@@ -11193,7 +11194,7 @@ var workspace_switcher_default = _template("N", (input) => {
11193
11194
  icon_agent_default({
11194
11195
  agent: activeAgent(sessions[0]),
11195
11196
  size: 16,
11196
- class: "_eW"
11197
+ class: "_fg"
11197
11198
  });
11198
11199
  $si__input_workspace__OR__input_allStatus__OR__input_sessions && _subscribe($sessions___closures, writeScope($scope8_id, {
11199
11200
  _: _scope_with_id($scope1_id),
@@ -11202,14 +11203,14 @@ var workspace_switcher_default = _template("N", (input) => {
11202
11203
  return 0;
11203
11204
  }
11204
11205
  }, $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);
11205
- _html(`<span${_attr_class("_eT")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class(heroTag)}>current</span><span${_attr_class("_eV")}>${_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)}`);
11206
+ _html(`<span${_attr_class("_fd")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class(heroTag)}>current</span><span${_attr_class("_ff")}>${_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)}`);
11206
11207
  _if(() => {
11207
11208
  if (manySessions) {
11208
11209
  const $scope2_id = _scope_id();
11209
- _html(`<div${_attr_class("_eX")}>`);
11210
+ _html(`<div${_attr_class("_fh")}>`);
11210
11211
  _for_of(sessions, (s) => {
11211
11212
  const $scope3_id = _scope_id();
11212
- _html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_eZ", { ["_eY"]: 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)}`);
11213
+ _html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_fj", { ["_fi"]: s.id === input.tab }])}><span${_attr_class(["_A", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope3_id, "b", $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}`);
11213
11214
  _set_serialize_reason({
11214
11215
  1: $sg__input_workspace__OR__input_allStatus__OR__input_sessions,
11215
11216
  2: $sg__input_workspace__OR__input_allStatus__OR__input_sessions
@@ -11219,7 +11220,7 @@ var workspace_switcher_default = _template("N", (input) => {
11219
11220
  agent: activeAgent(s),
11220
11221
  size: 14
11221
11222
  });
11222
- _html(`<span${_attr_class("_e0")}>${_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))}`);
11223
+ _html(`<span${_attr_class("_fk")}>${_text_resume($scope3_id, "e", s.title || activeAgent(s), $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 7))}`);
11223
11224
  $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, {
11224
11225
  h: $si__input_tab && s?.id,
11225
11226
  _: _scope_with_id($scope2_id),
@@ -11248,7 +11249,7 @@ var workspace_switcher_default = _template("N", (input) => {
11248
11249
  _if(() => {
11249
11250
  if (input.ids.length) {
11250
11251
  const $scope4_id = _scope_id();
11251
- _html(`<div${_attr_class("_e1")}>`);
11252
+ _html(`<div${_attr_class("_fl")}>`);
11252
11253
  _for_of(input.ids, (id) => {
11253
11254
  const $scope5_id = _scope_id();
11254
11255
  const w = input.byId.get(id);
@@ -11292,7 +11293,7 @@ var workspace_switcher_default = _template("N", (input) => {
11292
11293
  const rp = phaseOf(rs);
11293
11294
  const rowSessions = rs?.sessions || [];
11294
11295
  const many = rowSessions.length > 1;
11295
- _html(`<div${_attr_class("_e2")}><a${_attr("href", `/w/${id}`)}${_attr_class("_e3")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope7_id, "c", $sg__input_allStatus__OR__input_ids)}`);
11296
+ _html(`<div${_attr_class("_fm")}><a${_attr("href", `/w/${id}`)}${_attr_class("_fn")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope7_id, "c", $sg__input_allStatus__OR__input_ids)}`);
11296
11297
  _if(() => {
11297
11298
  if (rowSessions.length === 1) {
11298
11299
  const $scope9_id = _scope_id();
@@ -11304,7 +11305,7 @@ var workspace_switcher_default = _template("N", (input) => {
11304
11305
  icon_agent_default({
11305
11306
  agent: activeAgent(rowSessions[0]),
11306
11307
  size: 16,
11307
- class: "_e5"
11308
+ class: "_fp"
11308
11309
  });
11309
11310
  $si__input_allStatus__OR__input_ids && writeScope($scope9_id, {
11310
11311
  _: _scope_with_id($scope7_id),
@@ -11313,7 +11314,7 @@ var workspace_switcher_default = _template("N", (input) => {
11313
11314
  return 0;
11314
11315
  }
11315
11316
  }, $scope7_id, "d", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids);
11316
- _html(`<span${_attr_class("_e4")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
11317
+ _html(`<span${_attr_class("_fo")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
11317
11318
  _if(() => {
11318
11319
  if (many) {
11319
11320
  const $scope10_id = _scope_id();
@@ -11324,7 +11325,7 @@ var workspace_switcher_default = _template("N", (input) => {
11324
11325
  }, $scope7_id, "g", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, 0, 1);
11325
11326
  icon_chevron_right_default({
11326
11327
  size: 14,
11327
- class: "_e7"
11328
+ class: "_fr"
11328
11329
  });
11329
11330
  _html(`</a>${_el_resume($scope7_id, "b", $sg__input_ids)}`);
11330
11331
  _set_serialize_reason($sg__input_ids);
@@ -11444,13 +11445,13 @@ var usage_bars_default = _template("J", (input) => {
11444
11445
  if (windows.length) {
11445
11446
  const $scope1_id = _scope_id();
11446
11447
  _html(`<span${_attr_class([
11447
- "_hK",
11448
+ "_hJ",
11448
11449
  input.class,
11449
- { ["_hL"]: agent.stale_seconds != null }
11450
+ { ["_hK"]: agent.stale_seconds != null }
11450
11451
  ])} 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)}>`);
11451
11452
  _for_of(windows, (win) => {
11452
11453
  const $scope2_id = _scope_id();
11453
- _html(`<span${_attr_class(["_hM", win.used_percent >= 90 ? "_hQ" : win.used_percent >= 70 ? "_hP" : win.used_percent >= 40 ? "_hO" : "_hN"])}${_attr_style(`--pct:${Math.max(2, Math.min(100, win.used_percent))}%`)}></span>${_el_resume($scope2_id, "a", $sg__input_agent)}`);
11454
+ _html(`<span${_attr_class(["_hL", win.used_percent >= 90 ? "_hP" : win.used_percent >= 70 ? "_hO" : win.used_percent >= 40 ? "_hN" : "_hM"])}${_attr_style(`--pct:${Math.max(2, Math.min(100, win.used_percent))}%`)}></span>${_el_resume($scope2_id, "a", $sg__input_agent)}`);
11454
11455
  $si__input_agent && writeScope($scope2_id, {});
11455
11456
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
11456
11457
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -11482,7 +11483,7 @@ var nav_usage_default = _template("r", (input) => {
11482
11483
  const plan = openSess ? usageFor$1(openSess.agent, usage) : null;
11483
11484
  const all = usage?.agents || [];
11484
11485
  const peak = Math.max(0, ...(plan?.windows || []).map((w) => w.used_percent));
11485
- const ringTone = _resume((pct) => pct >= 90 ? "_eP" : pct >= 70 ? "_eO" : pct >= 40 ? "_eN" : "_eM", "r0");
11486
+ const ringTone = _resume((pct) => pct >= 90 ? "_eZ" : pct >= 70 ? "_eY" : pct >= 40 ? "_eX" : "_eW", "r0");
11486
11487
  let card$2 = null;
11487
11488
  const showCard = _resume((el) => {
11488
11489
  const r = el.getBoundingClientRect();
@@ -11494,18 +11495,18 @@ var nav_usage_default = _template("r", (input) => {
11494
11495
  _if(() => {
11495
11496
  if (plan) {
11496
11497
  const $scope1_id = _scope_id();
11497
- _html(`<span${_attr_class("_eG")} tabindex=0>`);
11498
+ _html(`<span${_attr_class("_eQ")} tabindex=0>`);
11498
11499
  _set_serialize_reason(1);
11499
11500
  const $childScope = _peek_scope_id();
11500
11501
  usage_bars_default({
11501
- class: "_eI",
11502
+ class: "_eS",
11502
11503
  agent: plan
11503
11504
  });
11504
- _html(`<svg${_attr_class(["_eJ", ringTone(peak)])} viewBox="0 0 16 16" width=16 height=16 aria-hidden=true><circle${_attr_class("_eK")} cx=8 cy=8 r=6.5></circle><circle${_attr_class("_eL")} 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")}`);
11505
+ _html(`<svg${_attr_class(["_eT", ringTone(peak)])} viewBox="0 0 16 16" width=16 height=16 aria-hidden=true><circle${_attr_class("_eU")} cx=8 cy=8 r=6.5></circle><circle${_attr_class("_eV")} 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")}`);
11505
11506
  _if(() => {
11506
11507
  if (card$2) {
11507
11508
  const $scope2_id = _scope_id();
11508
- _html(`<div${_attr_class(["_9", "_eH"])}${_attr_style(`left:${card$2.left}px;bottom:${card$2.bottom}px`)} role=tooltip>`);
11509
+ _html(`<div${_attr_class(["_9", "_eR"])}${_attr_style(`left:${card$2.left}px;bottom:${card$2.bottom}px`)} role=tooltip>`);
11509
11510
  _for_of(all, (a) => {
11510
11511
  const $scope3_id = _scope_id();
11511
11512
  _set_serialize_reason(6);
@@ -12922,8 +12923,8 @@ function markdownFence(body) {
12922
12923
  function indent(text) {
12923
12924
  return text.split("\n").map((line) => line ? ` ${line}` : line).join("\n");
12924
12925
  }
12925
- var treeToggle = "_gp _4 _l";
12926
- var pageTitle = "_gw _c4";
12926
+ var treeToggle = "_go _4 _l";
12927
+ var pageTitle = "_gv _ej";
12927
12928
  //#endregion
12928
12929
  //#region src/tags/diff-send.marko
12929
12930
  var diff_send_default = _template("k", (input) => {
@@ -12933,7 +12934,7 @@ var diff_send_default = _template("k", (input) => {
12933
12934
  let sendTarget = null;
12934
12935
  const sessions = input.sessions || [];
12935
12936
  const sendPick = sessions.some((s) => s.id === sendTarget) ? sendTarget : sessions[0]?.id ?? null;
12936
- _html(`<span${_attr_class("_hR")}><button type=button${_attr_class("_q")} title="Copy comments as markdown">${_text_resume($scope0_id, "c", "Copy")}</button>${_el_resume($scope0_id, "b")}`);
12937
+ _html(`<span${_attr_class("_hQ")}><button type=button${_attr_class("_q")} title="Copy comments as markdown">${_text_resume($scope0_id, "c", "Copy")}</button>${_el_resume($scope0_id, "b")}`);
12937
12938
  _if(() => {
12938
12939
  if (sessions.length === 1) {
12939
12940
  const $scope1_id = _scope_id();
@@ -12943,11 +12944,11 @@ var diff_send_default = _template("k", (input) => {
12943
12944
  return 0;
12944
12945
  } else if (sessions.length) {
12945
12946
  const $scope2_id = _scope_id();
12946
- _html(`<span${_attr_class("_hS")}><button type=button${_attr_class(["_r", "_hT"])}${_attr("disabled", sending)}>${_text_resume($scope2_id, "c", "Send to")}</button>${_el_resume($scope2_id, "b")}`);
12947
+ _html(`<span${_attr_class("_hR")}><button type=button${_attr_class(["_r", "_hS"])}${_attr("disabled", sending)}>${_text_resume($scope2_id, "c", "Send to")}</button>${_el_resume($scope2_id, "b")}`);
12947
12948
  _attr_select_value($scope2_id, "d", sendTarget, _resume((_new_sendTarget) => {
12948
12949
  sendTarget = _new_sendTarget;
12949
12950
  }, "k0", $scope2_id), () => {
12950
- _html(`<select${_attr_class("_hU")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
12951
+ _html(`<select${_attr_class("_hT")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
12951
12952
  _for_of(sessions, (s) => {
12952
12953
  const $scope3_id = _scope_id();
12953
12954
  _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)}`);
@@ -12974,8 +12975,8 @@ var diff_send_default = _template("k", (input) => {
12974
12975
  });
12975
12976
  _resume_branch($scope0_id);
12976
12977
  });
12977
- var findInput = "_eh _n";
12978
- var findIconBtn = "_ek _l";
12978
+ var findInput = "_eq _n";
12979
+ var findIconBtn = "_et _l";
12979
12980
  //#endregion
12980
12981
  //#region src/tags/icons/icon-arrow-down.marko
12981
12982
  var icon_arrow_down_default = _template("Q", (input) => {
@@ -13067,18 +13068,18 @@ var diff_find_default = _template("j", (input) => {
13067
13068
  }, 0);
13068
13069
  }, "j0", $scope0_id);
13069
13070
  _html(`<div${_attr_class([
13070
- "_ef",
13071
- input.keybar && "_eo",
13072
- !open && "_ee"
13073
- ])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("_eg")} aria-hidden=true>`);
13071
+ "_eo",
13072
+ input.keybar && "_ex",
13073
+ !open && "_en"
13074
+ ])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("_ep")} aria-hidden=true>`);
13074
13075
  icon_search_default({ size: 13 });
13075
13076
  _html(`</span><input${_attr_input_value($scope0_id, "d", query || "", _resume(function(v) {
13076
13077
  type(v);
13077
- }, "j1", $scope0_id))}${_attr_class([findInput, input.keybar && "_eq"])} 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("_ej")}>${_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 && "_er"])} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13078
+ }, "j1", $scope0_id))}${_attr_class([findInput, input.keybar && "_ez"])} 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("_es")}>${_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 && "_eA"])} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13078
13079
  icon_arrow_up_default({ size: 14 });
13079
- _html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class([findIconBtn, input.keybar && "_er"])} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13080
+ _html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class([findIconBtn, input.keybar && "_eA"])} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13080
13081
  icon_arrow_down_default({ size: 14 });
13081
- _html(`</button>${_el_resume($scope0_id, "i")}<button type=button${_attr_class([findIconBtn, input.keybar && "_er"])} title="Close find"${_attr("hidden", input.pinned)} tabindex=${open ? "0" : "-1"}>`);
13082
+ _html(`</button>${_el_resume($scope0_id, "i")}<button type=button${_attr_class([findIconBtn, input.keybar && "_eA"])} title="Close find"${_attr("hidden", input.pinned)} tabindex=${open ? "0" : "-1"}>`);
13082
13083
  icon_xmark_default({ size: 14 });
13083
13084
  _html(`</button>${_el_resume($scope0_id, "k")}</div>${_el_resume($scope0_id, "a")}`);
13084
13085
  const $return = focusInput;
@@ -13178,8 +13179,8 @@ function shortBranch(name, wsBranch = "", wsName = "") {
13178
13179
  }
13179
13180
  return shortHeadFallback(head);
13180
13181
  }
13181
- var repoWorktree = "_jg _y";
13182
- var repoTitle = "_jm _x";
13182
+ var repoWorktree = "_jd _y";
13183
+ var repoTitle = "_jj _x";
13183
13184
  //#endregion
13184
13185
  //#region src/tags/review-head.marko
13185
13186
  var review_head_default = _template("x", (input) => {
@@ -13187,7 +13188,7 @@ var review_head_default = _template("x", (input) => {
13187
13188
  const $scope0_id = _scope_id();
13188
13189
  const repo = input.repo;
13189
13190
  const compare$1 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch, input.workspaceName);
13190
- _html(`<div${_attr_class("_je")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}><button type=button${_attr_class("_jf")} 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")}`);
13191
+ _html(`<div${_attr_class("_jb")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}><button type=button${_attr_class("_jc")} 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")}`);
13191
13192
  _if(() => {
13192
13193
  if (repo.pr) {
13193
13194
  const $scope6_id = _scope_id();
@@ -13196,19 +13197,19 @@ var review_head_default = _template("x", (input) => {
13196
13197
  return 0;
13197
13198
  } else {
13198
13199
  const $scope7_id = _scope_id();
13199
- _html(`<span${_attr_class([repoTitle, "_jn"])}>${_text_resume($scope7_id, "b", repoLabel$1(repo.full_name), $sg__input_repo)}</span>`);
13200
+ _html(`<span${_attr_class([repoTitle, "_jk"])}>${_text_resume($scope7_id, "b", repoLabel$1(repo.full_name), $sg__input_repo)}</span>`);
13200
13201
  $si__input_repo && writeScope($scope7_id, { _: _scope_with_id($scope0_id) });
13201
13202
  return 1;
13202
13203
  }
13203
13204
  }, $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);
13204
- _html(`<span${_attr_class("_jo")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_N", "_jp"])}>${_text_resume($scope0_id, "h", compare$1.base, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_P", "_jr"])} aria-hidden=true>vs</span><span${_attr_class(["_N", "_jq"])}>${_text_resume($scope0_id, "k", compare$1.head, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13205
+ _html(`<span${_attr_class("_jl")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_N", "_jm"])}>${_text_resume($scope0_id, "h", compare$1.base, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_P", "_jo"])} aria-hidden=true>vs</span><span${_attr_class(["_N", "_jn"])}>${_text_resume($scope0_id, "k", compare$1.head, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13205
13206
  _if(() => {
13206
13207
  if (compare$1.topic) {
13207
13208
  const $scope10_id = _scope_id();
13208
13209
  _html(`<span${_attr_class([
13209
13210
  "_N",
13210
13211
  tone.accent,
13211
- "_js"
13212
+ "_jp"
13212
13213
  ])}>${_text_resume($scope10_id, "b", compare$1.topic, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13213
13214
  $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && writeScope($scope10_id, { _: _scope_with_id($scope0_id) });
13214
13215
  return 0;
@@ -13218,7 +13219,7 @@ var review_head_default = _template("x", (input) => {
13218
13219
  _if(() => {
13219
13220
  if (repo.rev) {
13220
13221
  const $scope8_id = _scope_id();
13221
- _html(`<span${_attr_class(["_N", "_jt"])} title="One commit against its parent">commit ${_text_resume($scope8_id, "b", shortSha(repo.rev, 7), $sg__input_repo * 2)}</span>`);
13222
+ _html(`<span${_attr_class(["_N", "_jq"])} title="One commit against its parent">commit ${_text_resume($scope8_id, "b", shortSha(repo.rev, 7), $sg__input_repo * 2)}</span>`);
13222
13223
  $si__input_repo && writeScope($scope8_id, { _: _scope_with_id($scope0_id) });
13223
13224
  return 0;
13224
13225
  }
@@ -13229,7 +13230,7 @@ var review_head_default = _template("x", (input) => {
13229
13230
  _html(`<button type=button${_attr_class([
13230
13231
  "_N",
13231
13232
  tone.warn,
13232
- "_jt"
13233
+ "_jq"
13233
13234
  ])}${_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")}`);
13234
13235
  _script($scope1_id, "x0");
13235
13236
  writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -13239,7 +13240,7 @@ var review_head_default = _template("x", (input) => {
13239
13240
  _if(() => {
13240
13241
  if (repo.contained && input.fileCount) {
13241
13242
  const $scope9_id = _scope_id();
13242
- _html(`<span${_attr_class(["_N", "_jt"])}${_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)}`);
13243
+ _html(`<span${_attr_class(["_N", "_jq"])}${_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)}`);
13243
13244
  $si__input_repo__OR__input_fileCount && writeScope($scope9_id, { _: $si__input_repo && _scope_with_id($scope0_id) });
13244
13245
  return 0;
13245
13246
  }
@@ -13247,16 +13248,16 @@ var review_head_default = _template("x", (input) => {
13247
13248
  _if(() => {
13248
13249
  if (input.localDiffers) {
13249
13250
  const $scope2_id = _scope_id();
13250
- _html(`<span${_attr_class(["_N", "_jt"])}${_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)}`);
13251
+ _html(`<span${_attr_class(["_N", "_jq"])}${_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)}`);
13251
13252
  $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) });
13252
13253
  return 0;
13253
13254
  }
13254
13255
  }, $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);
13255
- _html(`<span${_attr_class("_jh")}><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>`);
13256
+ _html(`<span${_attr_class("_je")}><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>`);
13256
13257
  _if(() => {
13257
13258
  if (input.additions || input.deletions) {
13258
13259
  const $scope3_id = _scope_id();
13259
- _html(`<span${_attr_class("_ji")}>+${_text_resume($scope3_id, "b", input.additions, _serialize_guard($scope0_reason, 15) * 2)}</span><span${_attr_class("_jj")}>−${_text_resume($scope3_id, "d", input.deletions, _serialize_guard($scope0_reason, 16) * 2)}</span>`);
13260
+ _html(`<span${_attr_class("_jf")}>+${_text_resume($scope3_id, "b", input.additions, _serialize_guard($scope0_reason, 15) * 2)}</span><span${_attr_class("_jg")}>−${_text_resume($scope3_id, "d", input.deletions, _serialize_guard($scope0_reason, 16) * 2)}</span>`);
13260
13261
  $si__input_additions__OR__input_deletions && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
13261
13262
  return 0;
13262
13263
  }
@@ -13264,7 +13265,7 @@ var review_head_default = _template("x", (input) => {
13264
13265
  _if(() => {
13265
13266
  if (input.hiddenCount) {
13266
13267
  const $scope4_id = _scope_id();
13267
- _html(`<button type=button${_attr_class("_jl")} 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")}`);
13268
+ _html(`<button type=button${_attr_class("_ji")} 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")}`);
13268
13269
  _script($scope4_id, "x1");
13269
13270
  writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
13270
13271
  return 0;
@@ -13273,7 +13274,7 @@ var review_head_default = _template("x", (input) => {
13273
13274
  _if(() => {
13274
13275
  if (input.newCount || input.onlyNew) {
13275
13276
  const $scope5_id = _scope_id();
13276
- _html(`<button type=button${_attr_class(["_jl", { ["_jk"]: 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")}`);
13277
+ _html(`<button type=button${_attr_class(["_ji", { ["_jh"]: 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")}`);
13277
13278
  _script($scope5_id, "x2");
13278
13279
  writeScope($scope5_id, { _: _scope_with_id($scope0_id) });
13279
13280
  return 0;
@@ -13313,7 +13314,7 @@ var review_head_default = _template("x", (input) => {
13313
13314
  b4: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && compare$1?.topic
13314
13315
  });
13315
13316
  });
13316
- var fileFilter = "_jv _n";
13317
+ var fileFilter = "_js _n";
13317
13318
  //#endregion
13318
13319
  //#region src/tags/file-filter.marko
13319
13320
  var file_filter_default = _template("l", (input) => {
@@ -13343,7 +13344,7 @@ var file_filter_default = _template("l", (input) => {
13343
13344
  pending = v;
13344
13345
  box.timer = setTimeout(flush, 150);
13345
13346
  }, "l2", $scope0_id);
13346
- _html(`<div${_attr_class("_ju")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
13347
+ _html(`<div${_attr_class("_jr")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
13347
13348
  type(v);
13348
13349
  }, "l0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
13349
13350
  _script($scope0_id, "l3");
@@ -13389,7 +13390,7 @@ var review_tree_default = _template("y", (input) => {
13389
13390
  dragging$1 = false;
13390
13391
  if (width != null) setDiffTreeWidth(width);
13391
13392
  }, "y2", $scope0_id);
13392
- _html(`<div${_attr_class(["_if", { ["_ie"]: input.open === false }])}${width != null ? _attr_style(`--tree-w:${width}px`) : ""}><div${_attr_class(["_is", { ["_ir"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class("_ig")}>`);
13393
+ _html(`<div${_attr_class(["_iH", { ["_iG"]: input.open === false }])}${width != null ? _attr_style(`--tree-w:${width}px`) : ""}><div${_attr_class(["_iU", { ["_iT"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class("_iI")}>`);
13393
13394
  _set_serialize_reason(2);
13394
13395
  const $childScope = _peek_scope_id();
13395
13396
  file_filter_default({
@@ -13398,22 +13399,22 @@ var review_tree_default = _template("y", (input) => {
13398
13399
  filter$1 = _new_filter;
13399
13400
  }, "y3", $scope0_id)
13400
13401
  });
13401
- _html(`</div><div${_attr_class("_ih")}>`);
13402
+ _html(`</div><div${_attr_class("_iJ")}>`);
13402
13403
  _for_of(input.sections, (section$2) => {
13403
13404
  const $scope1_id = _scope_id();
13404
- _html(`<div${_attr_class(["_ij", { ["_ii"]: input.sections.length === 1 }])}${_attr("data-section", section$2.id)}>`);
13405
+ _html(`<div${_attr_class(["_iL", { ["_iK"]: input.sections.length === 1 }])}${_attr("data-section", section$2.id)}>`);
13405
13406
  _if(() => {
13406
13407
  if (input.sections.length > 1) {
13407
13408
  const $scope2_id = _scope_id();
13408
- _html(`<button type=button${_attr_class("_ik")}${_attr("title", section$2.label)} aria-expanded=${closed$4.has(section$2.id) ? "false" : "true"}><span${_attr_class(["_il", { ["_im"]: !closed$4.has(section$2.id) }])} aria-hidden=true>`);
13409
+ _html(`<button type=button${_attr_class("_iM")}${_attr("title", section$2.label)} aria-expanded=${closed$4.has(section$2.id) ? "false" : "true"}><span${_attr_class(["_iN", { ["_iO"]: !closed$4.has(section$2.id) }])} aria-hidden=true>`);
13409
13410
  icon_chevron_right_default({ size: 12 });
13410
- _html(`</span>${_el_resume($scope2_id, "b")}<span${_attr_class("_in")}>${_text_resume($scope2_id, "e", section$2.label, $sg__input_sections)}</span><span${_attr_class("_io")}>${_text_resume($scope2_id, "g", section$2.files.length, $sg__input_sections)}</span></button>${_el_resume($scope2_id, "a")}`);
13411
+ _html(`</span>${_el_resume($scope2_id, "b")}<span${_attr_class("_iP")}>${_text_resume($scope2_id, "e", section$2.label, $sg__input_sections)}</span><span${_attr_class("_iQ")}>${_text_resume($scope2_id, "g", section$2.files.length, $sg__input_sections)}</span></button>${_el_resume($scope2_id, "a")}`);
13411
13412
  _script($scope2_id, "y4");
13412
13413
  _subscribe($closed__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }));
13413
13414
  return 0;
13414
13415
  }
13415
13416
  }, $scope1_id, "b", $sg__input_sections, $sg__input_sections_length, $sg__input_sections_length, 0, 1);
13416
- _html(`<div${_attr_class(["_iq", { ["_ip"]: input.sections.length === 1 }])}${_attr("data-tree", section$2.id)}${_attr("hidden", closed$4.has(section$2.id))}></div>${_el_resume($scope1_id, "c")}</div>${_el_resume($scope1_id, "a", $sg__input_sections)}`);
13417
+ _html(`<div${_attr_class(["_iS", { ["_iR"]: input.sections.length === 1 }])}${_attr("data-tree", section$2.id)}${_attr("hidden", closed$4.has(section$2.id))}></div>${_el_resume($scope1_id, "c")}</div>${_el_resume($scope1_id, "a", $sg__input_sections)}`);
13417
13418
  writeScope($scope1_id, {
13418
13419
  f: section$2?.id,
13419
13420
  h: $si__input_sections_length && section$2?.label,
@@ -13445,7 +13446,7 @@ var review_tree_default = _template("y", (input) => {
13445
13446
  });
13446
13447
  _resume_branch($scope0_id);
13447
13448
  });
13448
- var sheetDir = "_i9 _ba";
13449
+ var sheetDir = "_i6 _ba";
13449
13450
  //#endregion
13450
13451
  //#region src/tags/icons/icon-comment.marko
13451
13452
  var icon_comment_default = _template("ab", (input) => {
@@ -13518,9 +13519,9 @@ var diff_file_sheet_default = _template("i", (input) => {
13518
13519
  _if(() => {
13519
13520
  if (open) {
13520
13521
  const $scope1_id = _scope_id();
13521
- _html(`<div${_attr_class("_i0")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_i1")} role=dialog aria-label="Jump to file"><div${_attr_class("_i2")}><strong${_attr_class("_iZ")}>Files</strong><span${_attr_class("_i3")}>${_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, "_iY"])} title=Close aria-label=Close>`);
13522
+ _html(`<div${_attr_class("_iX")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_iY")} role=dialog aria-label="Jump to file"><div${_attr_class("_iZ")}><strong${_attr_class("_iW")}>Files</strong><span${_attr_class("_i0")}>${_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, "_iV"])} title=Close aria-label=Close>`);
13522
13523
  icon_xmark_default({ size: 16 });
13523
- _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_ja")}>`);
13524
+ _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_i8")}>`);
13524
13525
  _set_serialize_reason(2);
13525
13526
  const $childScope = _peek_scope_id();
13526
13527
  file_filter_default({
@@ -13529,13 +13530,13 @@ var diff_file_sheet_default = _template("i", (input) => {
13529
13530
  filter = _new_filter;
13530
13531
  }, "i1", $scope1_id)
13531
13532
  });
13532
- _html(`</div><div${_attr_class("_i4")}>`);
13533
+ _html(`</div><div${_attr_class("_i1")}>`);
13533
13534
  _for_of(groups, (group) => {
13534
13535
  const $scope2_id = _scope_id();
13535
- _html(`<div${_attr_class("_i5")}><div${_attr_class("_i6")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
13536
+ _html(`<div${_attr_class("_i2")}><div${_attr_class("_i3")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
13536
13537
  _for_of(group.dirs, ({ dir, files }) => {
13537
13538
  const $scope3_id = _scope_id();
13538
- _html(`<div${_attr_class("_i7")}>`);
13539
+ _html(`<div${_attr_class("_i4")}>`);
13539
13540
  _if(() => {
13540
13541
  if (dir) {
13541
13542
  const $scope5_id = _scope_id();
@@ -13546,11 +13547,11 @@ var diff_file_sheet_default = _template("i", (input) => {
13546
13547
  }, $scope3_id, "b", $sg__input_files, $sg__input_files, $sg__input_files, 0, 1);
13547
13548
  _for_of(files, ({ file, name }) => {
13548
13549
  const $scope4_id = _scope_id();
13549
- _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_i8", "_y"])}><span${_attr_class("__")}${_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("_i_")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
13550
+ _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_i5", "_y"])}><span${_attr_class("__")}${_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("_i7")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
13550
13551
  _if(() => {
13551
13552
  if (newKeys.has(file.key)) {
13552
13553
  const $scope6_id = _scope_id();
13553
- _html(`<span${_attr_class(["_A", "_jc"])} title="Changed since your last visit"></span>`);
13554
+ _html(`<span${_attr_class(["_A", "_i_"])} title="Changed since your last visit"></span>`);
13554
13555
  _serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
13555
13556
  return 0;
13556
13557
  }
@@ -13560,7 +13561,7 @@ var diff_file_sheet_default = _template("i", (input) => {
13560
13561
  const $scope7_id = _scope_id();
13561
13562
  icon_comment_default({
13562
13563
  size: 12,
13563
- class: "_jd"
13564
+ class: "_ja"
13564
13565
  });
13565
13566
  _serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
13566
13567
  return 0;
@@ -13585,7 +13586,7 @@ var diff_file_sheet_default = _template("i", (input) => {
13585
13586
  _if(() => {
13586
13587
  if (!input.files.length) {
13587
13588
  const $scope8_id = _scope_id();
13588
- _html(`<p${_attr_class("_jb")}>No files match.</p>`);
13589
+ _html(`<p${_attr_class("_i9")}>No files match.</p>`);
13589
13590
  $si__input_files_length && writeScope($scope8_id, {});
13590
13591
  return 0;
13591
13592
  }
@@ -14002,11 +14003,11 @@ var review_view_default = _template("z", (input) => {
14002
14003
  else viewBox.scrollToLine(hit.key, hit.line, hit.side);
14003
14004
  }, 0);
14004
14005
  };
14005
- _html(`<div${_attr_class("_gm")}><div${_attr_class("_gr")}><div${_attr_class("_gZ")}><div${_attr_class("_gs")}><div${_attr_class(["_gB", { ["_gA"]: !comments.length }])}>`);
14006
+ _html(`<div${_attr_class("_gl")}><div${_attr_class("_gq")}><div${_attr_class("_gY")}><div${_attr_class("_gr")}><div${_attr_class(["_gA", { ["_gz"]: !comments.length }])}>`);
14006
14007
  _if(() => {
14007
14008
  if (input.onExit) {
14008
14009
  const $scope1_id = _scope_id();
14009
- _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_gt"])} title="Back to terminal (⌘/Ctrl+Shift+D)">`);
14010
+ _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_gs"])} title="Back to terminal (⌘/Ctrl+Shift+D)">`);
14010
14011
  icon_back_default({ size: 14 });
14011
14012
  _html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 2))}`);
14012
14013
  _serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 2) && _scope_with_id($scope0_id) });
@@ -14017,7 +14018,7 @@ var review_view_default = _template("z", (input) => {
14017
14018
  _if(() => {
14018
14019
  if (comments.length) {
14019
14020
  const $scope2_id = _scope_id();
14020
- _html(`<span${_attr_class("_gv")}>${_text_resume($scope2_id, "b", comments.length)} comment${_text_resume($scope2_id, "c", comments.length === 1 ? "" : "s", 2)}</span><span${_attr_class("_gu")}>`);
14021
+ _html(`<span${_attr_class("_gu")}>${_text_resume($scope2_id, "b", comments.length)} comment${_text_resume($scope2_id, "c", comments.length === 1 ? "" : "s", 2)}</span><span${_attr_class("_gt")}>`);
14021
14022
  _set_serialize_reason(_serialize_guard($scope0_reason, 8));
14022
14023
  const $childScope = _peek_scope_id();
14023
14024
  diff_send_default({
@@ -14030,14 +14031,14 @@ var review_view_default = _template("z", (input) => {
14030
14031
  return 0;
14031
14032
  }
14032
14033
  }, $scope0_id, "h");
14033
- _html(`</div>${_el_resume($scope0_id, "e")}<div${_attr_class(["_gq", "_gW"])}>`);
14034
+ _html(`</div>${_el_resume($scope0_id, "e")}<div${_attr_class(["_gp", "_gV"])}>`);
14034
14035
  _if(() => {
14035
14036
  if (hasFiles) {
14036
14037
  const $scope12_id = _scope_id();
14037
14038
  _html(`<button${_attr_class([
14038
14039
  treeToggle,
14039
- "_go",
14040
- { ["_gn"]: treeOpen }
14040
+ "_gn",
14041
+ { ["_gm"]: treeOpen }
14041
14042
  ])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
14042
14043
  icon_sidebar_default({ size: 14 });
14043
14044
  _html(`</button>${_el_resume($scope12_id, "a")}`);
@@ -14046,7 +14047,7 @@ var review_view_default = _template("z", (input) => {
14046
14047
  return 0;
14047
14048
  }
14048
14049
  }, $scope0_id, "j", 1, 1, 1, 0, 1);
14049
- _html(`<button${_attr_class([iconBtnRow, "_go"])} title="Refresh diff"${_attr("disabled", loading)}>`);
14050
+ _html(`<button${_attr_class([iconBtnRow, "_gn"])} title="Refresh diff"${_attr("disabled", loading)}>`);
14050
14051
  _set_serialize_reason(1);
14051
14052
  const $childScope2 = _peek_scope_id();
14052
14053
  icon_refresh_default({
@@ -14057,7 +14058,7 @@ var review_view_default = _template("z", (input) => {
14057
14058
  _if(() => {
14058
14059
  if (hasFiles) {
14059
14060
  const $scope13_id = _scope_id();
14060
- _html(`<button${_attr_class(["_q", "_gK"])} title="Jump to file">Files (${_text_resume($scope13_id, "b", shownFiles.length, 2)})</button>${_el_resume($scope13_id, "a")}`);
14061
+ _html(`<button${_attr_class(["_q", "_gJ"])} title="Jump to file">Files (${_text_resume($scope13_id, "b", shownFiles.length, 2)})</button>${_el_resume($scope13_id, "a")}`);
14061
14062
  _script($scope13_id, "z40");
14062
14063
  writeScope($scope13_id, {});
14063
14064
  return 0;
@@ -14065,16 +14066,16 @@ var review_view_default = _template("z", (input) => {
14065
14066
  }, $scope0_id, "m", 1, 1, 1, 0, 1);
14066
14067
  _html(`<span${_attr_class([
14067
14068
  "_o",
14068
- "_gC",
14069
- "_gX"
14069
+ "_gB",
14070
+ "_gW"
14070
14071
  ])}>`);
14071
14072
  _attr_select_value($scope0_id, "o", rev ? `rev:${rev}` : scope, _resume(function(v) {
14072
14073
  pickCompare(v);
14073
14074
  }, "z0", $scope0_id), () => {
14074
14075
  _html(`<select${_attr_class([
14075
14076
  "_p",
14076
- "_gD",
14077
- "_gY"
14077
+ "_gC",
14078
+ "_gX"
14078
14079
  ])} 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>`);
14079
14080
  _if(() => {
14080
14081
  if (commitOptions.length) {
@@ -14091,7 +14092,7 @@ var review_view_default = _template("z", (input) => {
14091
14092
  }, $scope0_id, "p", 1, 1, 1, 0, 1);
14092
14093
  _html("</select>");
14093
14094
  });
14094
- _html(`${_el_resume($scope0_id, "o")}</span> <div${_attr_class(["_gz", { ["_gy"]: !findOpen }])}>`);
14095
+ _html(`${_el_resume($scope0_id, "o")}</span> <div${_attr_class(["_gy", { ["_gx"]: !findOpen }])}>`);
14095
14096
  _set_serialize_reason(2);
14096
14097
  const $childScope3 = _peek_scope_id();
14097
14098
  let findFocus = diff_find_default({
@@ -14114,8 +14115,8 @@ var review_view_default = _template("z", (input) => {
14114
14115
  const $scope14_id = _scope_id();
14115
14116
  _html(`<button${_attr_class([
14116
14117
  iconBtnRow,
14117
- "_gx",
14118
- "_go"
14118
+ "_gw",
14119
+ "_gn"
14119
14120
  ])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
14120
14121
  icon_search_default({ size: 14 });
14121
14122
  _html(`</button>${_el_resume($scope14_id, "a")}`);
@@ -14124,7 +14125,7 @@ var review_view_default = _template("z", (input) => {
14124
14125
  return 0;
14125
14126
  }
14126
14127
  }, $scope0_id, "t", 1, 1, 1, 0, 1);
14127
- _html(`</div></div><div${_attr_class("_gM")}>`);
14128
+ _html(`</div></div><div${_attr_class("_gL")}>`);
14128
14129
  _if(() => {
14129
14130
  if (error) {
14130
14131
  const $scope6_id = _scope_id();
@@ -14169,7 +14170,7 @@ var review_view_default = _template("z", (input) => {
14169
14170
  _if(() => {
14170
14171
  if (!repos && loading) {
14171
14172
  const $scope17_id = _scope_id();
14172
- _html(`<div${_attr_class("_gF")} aria-hidden=true><div${_attr_class(["_gG", "_gH"])}></div><div${_attr_class(["_gG", "_gI"])}></div><div${_attr_class(["_gG", "_gJ"])}></div></div>`);
14173
+ _html(`<div${_attr_class("_gE")} aria-hidden=true><div${_attr_class(["_gF", "_gG"])}></div><div${_attr_class(["_gF", "_gH"])}></div><div${_attr_class(["_gF", "_gI"])}></div></div>`);
14173
14174
  writeScope($scope17_id, {});
14174
14175
  return 0;
14175
14176
  }
@@ -14191,7 +14192,7 @@ var review_view_default = _template("z", (input) => {
14191
14192
  _if(() => {
14192
14193
  if (shownRepos.length) {
14193
14194
  const $scope3_id = _scope_id();
14194
- _html(`<div${_attr_class("_gL")}>`);
14195
+ _html(`<div${_attr_class("_gK")}>`);
14195
14196
  _for_of(shownRepos, (repo) => {
14196
14197
  const $scope4_id = _scope_id();
14197
14198
  const st = statsFor(repo);
@@ -14268,7 +14269,7 @@ var review_view_default = _template("z", (input) => {
14268
14269
  return 0;
14269
14270
  }
14270
14271
  }, $scope0_id, "z", 1, 1, 1, 0, 1);
14271
- _html(`</div>${_el_resume($scope0_id, "c")}<div${_attr_class("_gN")} data-diff-main></div>${_el_resume($scope0_id, "a0")}</div>`);
14272
+ _html(`</div>${_el_resume($scope0_id, "c")}<div${_attr_class("_gM")} data-diff-main></div>${_el_resume($scope0_id, "a0")}</div>`);
14272
14273
  _set_serialize_reason(26);
14273
14274
  const $childScope6 = _peek_scope_id();
14274
14275
  review_tree_default({
@@ -14547,10 +14548,12 @@ function parseInvite(text) {
14547
14548
  repos
14548
14549
  };
14549
14550
  }
14550
- var skillRow = "_f_ _f4";
14551
- var skillName = "_gb _f6";
14552
- var skillDesc = "_ge _f7";
14553
- var skillEnd = "_gf _f8";
14551
+ //#endregion
14552
+ //#region src/tags/manage-workspace.css.ts
14553
+ var procCmd = "_f8 _cV";
14554
+ var skillRow = "_f_ _cT";
14555
+ var skillName = "_gb _f8 _cV";
14556
+ var skillDesc = "_ge _cW";
14554
14557
  //#endregion
14555
14558
  //#region src/tags/icons/icon-clipboard.marko
14556
14559
  var icon_clipboard_default = _template("$", (input) => {
@@ -14602,8 +14605,10 @@ var icon_trash_default = _template("ub", (input) => {
14602
14605
  });
14603
14606
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
14604
14607
  });
14605
- var resultRow = "_h3 _I";
14606
- var resultBranch = "_h5 _3 _l";
14608
+ var resultRow = "_ia _I";
14609
+ var resultBranch = "_ib _c0 _X _W _3 _l";
14610
+ var urlAction = "_ic _c0 _X _W _c1";
14611
+ var addedRow = "_in _cT";
14607
14612
  //#endregion
14608
14613
  //#region src/tags/icons/icon-branch.marko
14609
14614
  var icon_branch_default = _template("X", (input) => {
@@ -14633,7 +14638,7 @@ var branch_pick_default = _template("f", (input) => {
14633
14638
  let branchFilter = "";
14634
14639
  let reloadTick = 0;
14635
14640
  let refreshing = false;
14636
- _html(`<div${_attr_class("_h7")}>`);
14641
+ _html(`<div${_attr_class("_id")}>`);
14637
14642
  _if(() => {
14638
14643
  {
14639
14644
  const $scope4_id = _scope_id();
@@ -14663,7 +14668,7 @@ var branch_pick_default = _template("f", (input) => {
14663
14668
  //#region src/tags/repo-picker.marko
14664
14669
  var api$5;
14665
14670
  var repo_picker_default = _template("w", (input$2) => {
14666
- const $scope0_reason = _scope_reason(), $sg__input_compact__OR__input_action = _serialize_guard($scope0_reason, 1), $sg__input_compact = _serialize_guard($scope0_reason, 7), $si__input_onError = _serialize_if($scope0_reason, 6), $si__input_compact__OR__input_action = _serialize_if($scope0_reason, 1);
14671
+ const $scope0_reason = _scope_reason(), $si__input_onError = _serialize_if($scope0_reason, 3), $si__input_added = _serialize_if($scope0_reason, 4), $sg__input_added = _serialize_guard($scope0_reason, 4);
14667
14672
  const $scope0_id = _scope_id();
14668
14673
  const $loadCatalog2__closures = /* @__PURE__ */ new Set();
14669
14674
  const $ssoPending__closures = /* @__PURE__ */ new Set();
@@ -14672,6 +14677,7 @@ var repo_picker_default = _template("w", (input$2) => {
14672
14677
  const $input_onError__closures = /* @__PURE__ */ new Set();
14673
14678
  const $highlight__closures = /* @__PURE__ */ new Set();
14674
14679
  const $branchesFor__closures = /* @__PURE__ */ new Set();
14680
+ const $catalog__closures = /* @__PURE__ */ new Set();
14675
14681
  input$2.refreshing;
14676
14682
  let catalog = null;
14677
14683
  let filter = "";
@@ -14711,7 +14717,7 @@ var repo_picker_default = _template("w", (input$2) => {
14711
14717
  branchesFor = branchesFor === fullName ? null : fullName;
14712
14718
  if (fullName !== pasted) pasteWillFork = false;
14713
14719
  }, "w6", $scope0_id);
14714
- const compact = !!input$2.compact;
14720
+ const sheet = isMobile();
14715
14721
  let ssoIgnoreTick = 0;
14716
14722
  const ssoPending = (() => {
14717
14723
  const ignored = /* @__PURE__ */ new Set([]);
@@ -14737,173 +14743,144 @@ var repo_picker_default = _template("w", (input$2) => {
14737
14743
  })));
14738
14744
  _resume_branch($scope9_id);
14739
14745
  }, $scope0_id) };
14740
- const hasBody = !!(pasted || results.length || filter && (!catalog || !pasted) || compact && ssoPending.length);
14741
- _html(`<div${_attr_class([compact ? "_cH" : "_hV", {
14742
- ["_cI"]: compact && !input$2.open,
14743
- ["_cJ"]: input$2.pinned
14744
- }])}>`);
14745
- _if(() => {
14746
- if (!compact && ssoPending.length) {
14747
- const $scope11_id = _scope_id();
14748
- _html(`<div${_attr_class("_hY")}>`);
14749
- ssoBlock.content({});
14750
- _html("</div>");
14751
- writeScope($scope11_id, {});
14752
- return 0;
14753
- }
14754
- }, $scope0_id, "b", 1, 1, 1, 0, 1);
14755
- _html(`<div${!compact && input$2.action ? _attr_class("_hW") : _attr_class("_hX")}><label${_attr_class(["_0", compact && "_cK"])}>`);
14746
+ const addedList = sheet ? input$2.added || [] : [];
14747
+ const hasBody = !!(pasted || results.length || filter && (!catalog || !pasted) || ssoPending.length || sheet && !!input$2.added);
14748
+ _html(`<div${_attr_class(["_cs", {
14749
+ ["_ct"]: !input$2.open,
14750
+ ["_cu"]: input$2.pinned
14751
+ }])}><label${_attr_class(["_0", "_cv"])}>`);
14756
14752
  icon_search_default({
14757
14753
  size: 14,
14758
14754
  class: "_1"
14759
14755
  });
14760
- _html(`<input${_attr_input_value($scope0_id, "f", filter, _resume(function(v) {
14756
+ _html(`<input${_attr_input_value($scope0_id, "d", filter, _resume(function(v) {
14761
14757
  filter = v;
14762
14758
  highlight = 0;
14763
14759
  pasteWillFork = false;
14764
14760
  }, "w0", $scope0_id))}${_attr_class([
14765
- compact ? "_Y" : inputLg,
14761
+ "_Y",
14766
14762
  "_2",
14767
- compact && "_cL"
14768
- ])} 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)}`);
14769
- _if(() => {
14770
- if (!compact && input$2.action) {
14771
- const $scope1_id = _scope_id();
14772
- _dynamic_tag($scope1_id, "a", input$2.action, {}, 0, 0, _serialize_guard($scope0_reason, 8));
14773
- $si__input_compact__OR__input_action && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 8) && _scope_with_id($scope0_id) });
14774
- return 0;
14775
- }
14776
- }, $scope0_id, "g", $sg__input_compact__OR__input_action, $sg__input_compact__OR__input_action);
14777
- _html(`</div>${_el_resume($scope0_id, "c", $sg__input_compact__OR__input_action)}`);
14778
- _if(() => {
14779
- if (compact) {
14780
- const $scope2_id = _scope_id();
14781
- _html(`<button${_attr_class([iconBtnRow, "_cN"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
14782
- icon_xmark_default({ size: 14 });
14783
- _html(`</button>${_el_resume($scope2_id, "a")}`);
14784
- _script($scope2_id, "w14");
14785
- writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
14786
- return 0;
14787
- }
14788
- }, $scope0_id, "h", _serialize_guard($scope0_reason, 0), $sg__input_compact, 1, 0, 1);
14789
- _html(`<div${_attr_class([compact ? pop$1 : "_hZ"])}${_attr("hidden", !hasBody || compact && !input$2.open && !input$2.pinned)}>`);
14763
+ "_cw"
14764
+ ])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input$2.disabled)}>${_el_resume($scope0_id, "d")}</label><button${_attr_class([iconBtnRow, "_cy"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
14765
+ icon_xmark_default({ size: 14 });
14766
+ _html(`</button>${_el_resume($scope0_id, "e")}<div${_attr_class(pop$1)}${_attr("hidden", !hasBody || !input$2.open && !input$2.pinned)}>`);
14790
14767
  _if(() => {
14791
- if (compact && ssoPending.length) {
14792
- const $scope12_id = _scope_id();
14793
- _html(`<div${_attr_class("_hY")}>`);
14768
+ if (ssoPending.length) {
14769
+ const $scope11_id = _scope_id();
14770
+ _html(`<div${_attr_class("_h7")}>`);
14794
14771
  ssoBlock.content({});
14795
14772
  _html("</div>");
14796
- writeScope($scope12_id, {});
14773
+ writeScope($scope11_id, {});
14797
14774
  return 0;
14798
14775
  }
14799
- }, $scope0_id, "j", 1, 1, 1, 0, 1);
14776
+ }, $scope0_id, "h", 1, 1, 1, 0, 1);
14800
14777
  _if(() => {
14801
14778
  if (pasted) {
14802
- const $scope3_id = _scope_id();
14803
- _html(`<ul${_attr_class("_h0")}><li><div${_attr_class(["_h2", "_h1"])}><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)`)}>`);
14779
+ const $scope1_id = _scope_id();
14780
+ _html(`<ul${_attr_class("_h8")}><li><div${_attr_class(["_h_", "_h9"])}><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)`)}>`);
14804
14781
  icon_plus_default({
14805
14782
  size: 12,
14806
- class: "_h9"
14783
+ class: "_if"
14807
14784
  });
14808
- _html(`<span${_attr_class("_h_")}>${_text_resume($scope3_id, "f", repoLabel$1(pasted))}</span></button>${_el_resume($scope3_id, "c")}`);
14785
+ _html(`<span${_attr_class("_ig")}>${_text_resume($scope1_id, "f", repoLabel$1(pasted))}</span></button>${_el_resume($scope1_id, "c")}`);
14809
14786
  _if(() => {
14810
14787
  if (pastedForkable) {
14811
14788
  const $scope10_id = _scope_id();
14812
- _html(`<button${_attr_class(["_h6", { ["_h4"]: 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"}>`);
14789
+ _html(`<button${_attr_class([urlAction, { ["_cZ"]: 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"}>`);
14813
14790
  _if(() => {
14814
14791
  if (pasteWillFork) {
14815
- const $scope14_id = _scope_id();
14792
+ const $scope13_id = _scope_id();
14816
14793
  icon_check_default({ size: 12 });
14817
14794
  _html(" fork");
14818
- writeScope($scope14_id, {});
14795
+ writeScope($scope13_id, {});
14819
14796
  return 0;
14820
14797
  } else {
14821
- const $scope15_id = _scope_id();
14798
+ const $scope14_id = _scope_id();
14822
14799
  _html("Fork");
14823
- writeScope($scope15_id, {});
14800
+ writeScope($scope14_id, {});
14824
14801
  return 1;
14825
14802
  }
14826
14803
  }, $scope10_id, "a", 1, 1, 1, "</button>");
14827
- _script($scope10_id, "w15");
14828
- _subscribe($pasteWillFork__closures, _subscribe($pasted__closures, writeScope($scope10_id, { Cb8: 1 })));
14804
+ _script($scope10_id, "w14");
14805
+ _subscribe($pasteWillFork__closures, _subscribe($pasted__closures, writeScope($scope10_id, { Cb6: 1 })));
14829
14806
  return 0;
14830
14807
  }
14831
- }, $scope3_id, "g", 1, 1, 1, 0, 1);
14832
- _html(`<button${_attr_class([resultBranch, { ["_h4"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
14808
+ }, $scope1_id, "g", 1, 1, 1, 0, 1);
14809
+ _html(`<button${_attr_class([resultBranch, { ["_cZ"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
14833
14810
  icon_branch_default({ size: 12 });
14834
- _html(`</button>${_el_resume($scope3_id, "h")}</div>`);
14811
+ _html(`</button>${_el_resume($scope1_id, "h")}</div>`);
14835
14812
  _if(() => {
14836
14813
  if (branchesFor === pasted) {
14837
- const $scope4_id = _scope_id();
14814
+ const $scope2_id = _scope_id();
14838
14815
  const $childScope2 = _peek_scope_id();
14839
14816
  branch_pick_default({
14840
14817
  repo: pasted,
14841
14818
  onPick: _resume(function(branch, isDefault) {
14842
14819
  pick(pasted, isDefault ? void 0 : branch, pastedFork(pasteWillFork));
14843
- }, "w9", $scope4_id),
14820
+ }, "w9", $scope2_id),
14844
14821
  onError: _resume(function(message) {
14845
14822
  branchesFor = null;
14846
14823
  input$2.onError?.(message);
14847
- }, "w10", $scope4_id)
14824
+ }, "w10", $scope2_id)
14848
14825
  });
14849
- _subscribe($pasted__closures, _subscribe($si__input_onError && $input_onError__closures, writeScope($scope4_id, { a: _existing_scope($childScope2) })));
14826
+ _subscribe($pasted__closures, _subscribe($si__input_onError && $input_onError__closures, writeScope($scope2_id, { a: _existing_scope($childScope2) })));
14850
14827
  return 0;
14851
14828
  }
14852
- }, $scope3_id, "j", 1, 1, 1, 0, 1);
14829
+ }, $scope1_id, "j", 1, 1, 1, 0, 1);
14853
14830
  _html("</li></ul>");
14854
- _script($scope3_id, "w16");
14855
- writeScope($scope3_id, {});
14831
+ _script($scope1_id, "w15");
14832
+ writeScope($scope1_id, {});
14856
14833
  return 0;
14857
14834
  } else if (filter && !catalog) {
14858
- const $scope13_id = _scope_id();
14835
+ const $scope12_id = _scope_id();
14859
14836
  _html(`<p${_attr_class("_ci")}>Loading repos…</p>`);
14860
- writeScope($scope13_id, {});
14837
+ writeScope($scope12_id, {});
14861
14838
  return 1;
14862
14839
  }
14863
- }, $scope0_id, "k", 1, 1, 1, 0, 1);
14840
+ }, $scope0_id, "i", 1, 1, 1, 0, 1);
14864
14841
  _if(() => {
14865
14842
  if (results.length) {
14866
- const $scope5_id = _scope_id();
14867
- _html(`<ul${_attr_class("_h0")}>`);
14843
+ const $scope3_id = _scope_id();
14844
+ _html(`<ul${_attr_class("_h8")}>`);
14868
14845
  _for_of(results, (repo, i) => {
14869
- const $scope6_id = _scope_id();
14870
- _html(`<li><div${_attr_class(["_h2", { ["_h1"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
14846
+ const $scope4_id = _scope_id();
14847
+ _html(`<li><div${_attr_class(["_h_", { ["_h9"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
14871
14848
  icon_plus_default({
14872
14849
  size: 12,
14873
- class: "_h9"
14850
+ class: "_if"
14874
14851
  });
14875
- _html(`<span${_attr_class("_h_")}>${_text_resume($scope6_id, "e", repoLabel$1(repo.nameWithOwner))}</span></button>${_el_resume($scope6_id, "b")}<button${_attr_class([resultBranch, { ["_h4"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
14852
+ _html(`<span${_attr_class("_ig")}>${_text_resume($scope4_id, "e", repoLabel$1(repo.nameWithOwner))}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_cZ"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
14876
14853
  icon_branch_default({ size: 12 });
14877
- _html(`</button>${_el_resume($scope6_id, "f")}</div>${_el_resume($scope6_id, "a")}`);
14854
+ _html(`</button>${_el_resume($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
14878
14855
  _if(() => {
14879
14856
  if (branchesFor === repo.nameWithOwner) {
14880
- const $scope7_id = _scope_id();
14857
+ const $scope5_id = _scope_id();
14881
14858
  const $childScope3 = _peek_scope_id();
14882
14859
  branch_pick_default({
14883
14860
  repo: repo.nameWithOwner,
14884
14861
  onPick: _resume(function(branch, isDefault) {
14885
14862
  pick(repo.nameWithOwner, isDefault ? void 0 : branch);
14886
- }, "w11", $scope7_id),
14863
+ }, "w11", $scope5_id),
14887
14864
  onError: _resume(function(message) {
14888
14865
  branchesFor = null;
14889
14866
  input$2.onError?.(message);
14890
- }, "w12", $scope7_id)
14867
+ }, "w12", $scope5_id)
14891
14868
  });
14892
- _subscribe($si__input_onError && $input_onError__closures, writeScope($scope7_id, {
14869
+ _subscribe($si__input_onError && $input_onError__closures, writeScope($scope5_id, {
14893
14870
  a: _existing_scope($childScope3),
14894
- Cb1: $si__input_onError && 1
14871
+ Cb0: $si__input_onError && 1
14895
14872
  }));
14896
14873
  return 0;
14897
14874
  }
14898
- }, $scope6_id, "h", 1, 1, 1, 0, 1);
14875
+ }, $scope4_id, "h", 1, 1, 1, 0, 1);
14899
14876
  _html("</li>");
14900
- _script($scope6_id, "w17");
14901
- _subscribe($branchesFor__closures, _subscribe($highlight__closures, writeScope($scope6_id, {
14877
+ _script($scope4_id, "w16");
14878
+ _subscribe($branchesFor__closures, _subscribe($highlight__closures, writeScope($scope4_id, {
14902
14879
  k: repo?.nameWithOwner,
14903
14880
  m: i
14904
14881
  })));
14905
- }, "nameWithOwner", $scope5_id, "a", 1, 1, 1, "</ul>", 1);
14906
- writeScope($scope5_id, {});
14882
+ }, "nameWithOwner", $scope3_id, "a", 1, 1, 1, "</ul>", 1);
14883
+ writeScope($scope3_id, {});
14907
14884
  return 0;
14908
14885
  } else if (filter && catalog && !pasted) {
14909
14886
  const $scope8_id = _scope_id();
@@ -14911,53 +14888,119 @@ var repo_picker_default = _template("w", (input$2) => {
14911
14888
  writeScope($scope8_id, {});
14912
14889
  return 1;
14913
14890
  }
14914
- }, $scope0_id, "l", 1, 1, 1, 0, 1);
14891
+ }, $scope0_id, "j", 1, 1, 1, 0, 1);
14892
+ _if(() => {
14893
+ if (sheet && input$2.added) {
14894
+ const $scope6_id = _scope_id();
14895
+ _html(`<div${_attr_class("_il")}><p${_attr_class("_im")}>Repos <span${_attr_class(sectionCount$1)}>${_text_resume($scope6_id, "d", addedList.length, $sg__input_added)}</span></p><ul${_attr_class(list$2)}>`);
14896
+ _for_of(addedList, (repo) => {
14897
+ const $scope15_id = _scope_id();
14898
+ _html(`<li${_attr_class([addedRow, { ["_cY"]: repo.pending }])}>`);
14899
+ _if(() => {
14900
+ if (repo.pending) {
14901
+ const $scope17_id = _scope_id();
14902
+ _html(`<span${_attr_class("_G")}></span>`);
14903
+ $si__input_added && writeScope($scope17_id, {});
14904
+ return 0;
14905
+ } else {
14906
+ const $scope18_id = _scope_id();
14907
+ icon_check_default({
14908
+ size: 12,
14909
+ class: "_if"
14910
+ });
14911
+ $si__input_added && writeScope($scope18_id, {});
14912
+ return 1;
14913
+ }
14914
+ }, $scope15_id, "b", $sg__input_added, $sg__input_added, $sg__input_added, 0, 1);
14915
+ _html(`<span${_attr_class("_ig")}>${_text_resume($scope15_id, "d", repoLabel$1(repo.name), $sg__input_added)}</span>`);
14916
+ _if(() => {
14917
+ if (repo.baseBranch) {
14918
+ const $scope16_id = _scope_id();
14919
+ _html(`<span${_attr_class([chip$1, "_y"])} title="Base branch">`);
14920
+ icon_branch_default({ size: 12 });
14921
+ _html(` ${_text_resume($scope16_id, "c", repo.baseBranch, $sg__input_added * 2)}</span>`);
14922
+ $si__input_added && writeScope($scope16_id, { _: _scope_with_id($scope15_id) });
14923
+ return 0;
14924
+ }
14925
+ }, $scope15_id, "e", $sg__input_added, $sg__input_added, $sg__input_added, 0, 1);
14926
+ _html(`</li>${_el_resume($scope15_id, "a", $sg__input_added)}`);
14927
+ $si__input_added && writeScope($scope15_id, { j: repo?.baseBranch });
14928
+ }, "name", $scope6_id, "f", $sg__input_added, $sg__input_added, $sg__input_added, 0, 1);
14929
+ _if(() => {
14930
+ if (!addedList.length) {
14931
+ const $scope7_id = _scope_id();
14932
+ _html(`<li${_attr_class([addedRow, "_cY"])}>`);
14933
+ _if(() => {
14934
+ if (catalog) {
14935
+ const $scope19_id = _scope_id();
14936
+ _html("No repos yet — search above to add one.");
14937
+ writeScope($scope19_id, {});
14938
+ return 0;
14939
+ } else {
14940
+ const $scope20_id = _scope_id();
14941
+ _html(`<span${_attr_class("_G")}></span>Loading repos…`);
14942
+ writeScope($scope20_id, {});
14943
+ return 1;
14944
+ }
14945
+ }, $scope7_id, "a", 1, 1, 1, "</li>");
14946
+ _subscribe($catalog__closures, writeScope($scope7_id, { _: _scope_with_id($scope6_id) }));
14947
+ return 0;
14948
+ }
14949
+ }, $scope6_id, "g", $sg__input_added, $sg__input_added, $sg__input_added, 0, 1);
14950
+ _html("</ul></div>");
14951
+ writeScope($scope6_id, { _: _scope_with_id($scope0_id) });
14952
+ return 0;
14953
+ }
14954
+ }, $scope0_id, "k", $sg__input_added, $sg__input_added, 1, 0, 1);
14915
14955
  const handle = _resume((action) => {
14916
14956
  if (action === "focus") ((inputEl) => inputEl())(_el_read_error)?.focus({ preventScroll: true });
14917
14957
  else loadCatalog(true);
14918
14958
  }, "w1", $scope0_id);
14919
- _html(`</div>${_el_resume($scope0_id, "i")}</div>${_el_resume($scope0_id, "a", _serialize_guard($scope0_reason, 3))}`);
14959
+ _html(`</div>${_el_resume($scope0_id, "g")}</div>${_el_resume($scope0_id, "a", _serialize_guard($scope0_reason, 0))}`);
14920
14960
  const $return = handle;
14961
+ _script($scope0_id, "w17");
14921
14962
  _script($scope0_id, "w18");
14922
- _script($scope0_id, "w19");
14923
14963
  writeScope($scope0_id, {
14924
- o: _serialize_if($scope0_reason, 5) && input$2.refreshing,
14925
- p: _serialize_if($scope0_reason, 4) && input$2.refreshingChange,
14926
- r: input$2.onError,
14927
- s: input$2.exclude,
14928
- t: input$2.onPick,
14929
- v: input$2.open,
14930
- w: input$2.pinned,
14931
- x: $si__input_compact__OR__input_action && input$2.action,
14932
- z: input$2.onClose,
14933
- a2: catalog,
14934
- a3: catalog?.repos,
14935
- a5: catalog?.sso,
14936
- a6: filter,
14937
- a7: highlight,
14938
- a8: loadCatalog,
14939
- a9: excluded,
14940
- ac: results,
14941
- ad: results?.length,
14942
- ae: pasted,
14943
- ai: pastedForkable,
14944
- aj: branchesFor,
14945
- al: pasteWillFork,
14946
- am: pick,
14947
- an: pastedFork,
14948
- ao: toggleBranches,
14949
- ap: compact,
14950
- as: ssoIgnoreTick,
14951
- av: ssoPending?.length,
14952
- ay: _serialize_if($scope0_reason, 2) && hasBody,
14953
- a1: input$2.refreshingChange || void 0,
14954
- b6: $si__input_onError && $loadCatalog2__closures,
14955
- bc: $ssoPending__closures,
14956
- b8: $pasted__closures,
14957
- bb: $pasteWillFork__closures,
14958
- b1: $si__input_onError && $input_onError__closures,
14959
- b5: $highlight__closures,
14960
- ba: $branchesFor__closures
14964
+ n: _serialize_if($scope0_reason, 2) && input$2.refreshing,
14965
+ o: _serialize_if($scope0_reason, 1) && input$2.refreshingChange,
14966
+ q: input$2.onError,
14967
+ r: input$2.exclude,
14968
+ s: input$2.onPick,
14969
+ t: input$2.added,
14970
+ u: input$2.open,
14971
+ v: input$2.pinned,
14972
+ y: input$2.onClose,
14973
+ a1: catalog,
14974
+ a2: catalog?.repos,
14975
+ a4: catalog?.sso,
14976
+ a5: filter,
14977
+ a6: highlight,
14978
+ a7: loadCatalog,
14979
+ a8: excluded,
14980
+ ab: results,
14981
+ ac: results?.length,
14982
+ ad: pasted,
14983
+ ah: pastedForkable,
14984
+ ai: branchesFor,
14985
+ ak: pasteWillFork,
14986
+ al: pick,
14987
+ am: pastedFork,
14988
+ an: toggleBranches,
14989
+ ao: sheet,
14990
+ aq: ssoIgnoreTick,
14991
+ at: ssoPending?.length,
14992
+ av: $si__input_added && addedList,
14993
+ aw: $si__input_added && addedList.length,
14994
+ ax: _serialize_if($scope0_reason, 0) && hasBody,
14995
+ a0: input$2.refreshingChange || void 0,
14996
+ b4: $si__input_onError && $loadCatalog2__closures,
14997
+ ba: $ssoPending__closures,
14998
+ b6: $pasted__closures,
14999
+ b9: $pasteWillFork__closures,
15000
+ b0: $si__input_onError && $input_onError__closures,
15001
+ b3: $highlight__closures,
15002
+ b8: $branchesFor__closures,
15003
+ b1: $catalog__closures
14961
15004
  });
14962
15005
  _resume_branch($scope0_id);
14963
15006
  return $return;
@@ -15124,7 +15167,7 @@ var manage_workspace_default = _template("p", (input) => {
15124
15167
  setTimeout(() => loadProcs(void 0), 500);
15125
15168
  }, "p11", $scope0_id);
15126
15169
  const titleId = _id();
15127
- _html(`<div${_attr_class("_cZ")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_c0")}><div${_attr_class("_c1")}>`);
15170
+ _html(`<div${_attr_class("_ee")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_ef")}><div${_attr_class("_eg")}>`);
15128
15171
  _set_serialize_reason(30);
15129
15172
  const $childScope2 = _peek_scope_id();
15130
15173
  page_head_default({
@@ -15177,13 +15220,13 @@ var manage_workspace_default = _template("p", (input) => {
15177
15220
  }
15178
15221
  }, $scope7_id, "a", 1, 1, 1, "</button>", 1);
15179
15222
  _script($scope7_id, "p21");
15180
- _subscribe($pendingAction__closures, writeScope($scope7_id, { Ccn: 1 }));
15223
+ _subscribe($pendingAction__closures, writeScope($scope7_id, { Cco: 1 }));
15181
15224
  return 0;
15182
15225
  } else {
15183
15226
  const $scope8_id = _scope_id();
15184
15227
  _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")}`);
15185
15228
  _script($scope8_id, "p22");
15186
- _subscribe($pendingAction__closures, writeScope($scope8_id, { Ccn: 2 }));
15229
+ _subscribe($pendingAction__closures, writeScope($scope8_id, { Cco: 2 }));
15187
15230
  return 1;
15188
15231
  }
15189
15232
  }, $scope6_id, "b", 1, 1, 1, 0, 1);
@@ -15220,7 +15263,7 @@ var manage_workspace_default = _template("p", (input) => {
15220
15263
  }, $scope9_id, "a", 1, 1, 1, 0, 1);
15221
15264
  _subscribe($pendingAction__closures, writeScope($scope9_id, {
15222
15265
  _: _scope_with_id($scope6_id),
15223
- Ccn: 3
15266
+ Cco: 3
15224
15267
  }));
15225
15268
  _resume_branch($scope9_id);
15226
15269
  }, $scope6_id)
@@ -15232,7 +15275,7 @@ var manage_workspace_default = _template("p", (input) => {
15232
15275
  _resume_branch($scope6_id);
15233
15276
  }, $scope0_id) })
15234
15277
  });
15235
- _html(`<div${_attr_class("_c2")}><section${_attr_class("_b8")}><div${_attr_class("_b9")}><h2${_attr_class("_cl")}>Details</h2></div><div${_attr_class(list$2)}><div${_attr_class(flatCardRow)}><span${_attr_class("_gj")}>Name</span><span${_attr_class(["_gk", "_gl"])}>${_text_resume($scope0_id, "m", ws.name)}</span>`);
15278
+ _html(`<div${_attr_class("_eh")}><section${_attr_class("_b8")}><div${_attr_class("_b9")}><h2${_attr_class("_cl")}>Details</h2></div><div${_attr_class(list$2)}><div${_attr_class(flatCardRow)}><span${_attr_class("_gi")}>Name</span><span${_attr_class(["_gj", "_gk"])}>${_text_resume($scope0_id, "m", ws.name)}</span>`);
15236
15279
  _if(() => {
15237
15280
  if (ws.status !== "active") {
15238
15281
  const $scope23_id = _scope_id();
@@ -15241,8 +15284,8 @@ var manage_workspace_default = _template("p", (input) => {
15241
15284
  return 0;
15242
15285
  }
15243
15286
  }, $scope0_id, "n", 1, 1, 1, 0, 1);
15244
- _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gj")}>Path</span><span${_attr_class([
15245
- "_gk",
15287
+ _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gi")}>Path</span><span${_attr_class([
15288
+ "_gj",
15246
15289
  "_y",
15247
15290
  "_ba"
15248
15291
  ])}${_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">`);
@@ -15259,7 +15302,7 @@ var manage_workspace_default = _template("p", (input) => {
15259
15302
  return 1;
15260
15303
  }
15261
15304
  }, $scope0_id, "s", 1, 1, 1, "</button>", 1);
15262
- _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gj")}>Branch</span><span${_attr_class(["_gk", "_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">`);
15305
+ _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gi")}>Branch</span><span${_attr_class(["_gj", "_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">`);
15263
15306
  _if(() => {
15264
15307
  if (copiedFact === "branch") {
15265
15308
  const $scope26_id = _scope_id();
@@ -15302,16 +15345,22 @@ var manage_workspace_default = _template("p", (input) => {
15302
15345
  return 0;
15303
15346
  }
15304
15347
  }, $scope0_id, "z", 1, 1, 1, 0, 1);
15305
- _html(`<section${_attr_class("_b8")}><div${_attr_class("_b9")}><h2${_attr_class("_cl")}>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, "_gi"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
15348
+ _html(`<section${_attr_class("_b8")}><div${_attr_class("_b9")}><h2${_attr_class("_cl")}>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, "_gh"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
15306
15349
  icon_plus_default({ size: 16 });
15307
15350
  _html(`</button>${_el_resume($scope0_id, "a6")}`);
15308
- _set_serialize_reason(26);
15351
+ _set_serialize_reason(34);
15309
15352
  const $childScope3 = _peek_scope_id();
15310
15353
  let refreshCatalog = repo_picker_default({
15311
- compact: true,
15312
15354
  pinned: true,
15313
15355
  open: addingRepo,
15314
15356
  exclude: inWorkspace,
15357
+ added: [...ws.repos.map((r) => ({
15358
+ name: r.full_name,
15359
+ baseBranch: r.base_branch === r.default_branch ? void 0 : r.base_branch
15360
+ })), ...[...busy].filter((n) => !inWorkspace.has(n)).map((name) => ({
15361
+ name,
15362
+ pending: true
15363
+ }))],
15315
15364
  onClose: _resume(function() {
15316
15365
  addingRepo = false;
15317
15366
  }, "p15", $scope0_id),
@@ -15333,10 +15382,10 @@ var manage_workspace_default = _template("p", (input) => {
15333
15382
  size: 14,
15334
15383
  class: catalogRefreshing && "_F"
15335
15384
  });
15336
- _html(`</button>${_el_resume($scope0_id, "aa")}</div><ul${_attr_class([list$2, "_f3"])}>`);
15385
+ _html(`</button>${_el_resume($scope0_id, "aa")}</div><ul${_attr_class([list$2, "_cS"])}>`);
15337
15386
  _for_of(ws.repos, (row) => {
15338
15387
  const $scope1_id = _scope_id();
15339
- _html(`<li${_attr_class("_f4")}><span${_attr_class(["_y", "_f6"])}>${_text_resume($scope1_id, "c", row.worktree)}/</span><span${_attr_class(["_f7", "_f2"])}><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")}`);
15388
+ _html(`<li${_attr_class("_cT")}><span${_attr_class(["_y", procCmd])}>${_text_resume($scope1_id, "c", row.worktree)}/</span><span${_attr_class("_cW")}><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")}`);
15340
15389
  _if(() => {
15341
15390
  if (row.base_branch !== row.default_branch) {
15342
15391
  const $scope28_id = _scope_id();
@@ -15347,7 +15396,7 @@ var manage_workspace_default = _template("p", (input) => {
15347
15396
  return 0;
15348
15397
  }
15349
15398
  }, $scope1_id, "g", 1, 1, 1, 0, 1);
15350
- _html(`</span><span${_attr_class("_f8")}>`);
15399
+ _html(`</span><span${_attr_class("_cX")}>`);
15351
15400
  _if(() => {
15352
15401
  if (busy.has(row.full_name)) {
15353
15402
  const $scope29_id = _scope_id();
@@ -15390,8 +15439,8 @@ var manage_workspace_default = _template("p", (input) => {
15390
15439
  _for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
15391
15440
  const $scope31_id = _scope_id();
15392
15441
  _html(`<li${_attr_class([
15393
- "_f4",
15394
- "_f5",
15442
+ "_cT",
15443
+ "_cU",
15395
15444
  "_cb"
15396
15445
  ])}><span${_attr_class("_G")}></span><span${_attr_class("_cg")}>Adding ${_text_resume($scope31_id, "d", name, 2)}…</span></li>`);
15397
15446
  writeScope($scope31_id, {});
@@ -15399,7 +15448,7 @@ var manage_workspace_default = _template("p", (input) => {
15399
15448
  _if(() => {
15400
15449
  if (!ws.repos.length && !busy.size) {
15401
15450
  const $scope32_id = _scope_id();
15402
- _html(`<li${_attr_class(["_f4", "_f5"])}><span${_attr_class("_cg")}>No repos yet. Add one to start.</span></li>`);
15451
+ _html(`<li${_attr_class(["_cT", "_cU"])}><span${_attr_class("_cg")}>No repos yet. Add one to start.</span></li>`);
15403
15452
  writeScope($scope32_id, {});
15404
15453
  return 0;
15405
15454
  }
@@ -15412,7 +15461,7 @@ var manage_workspace_default = _template("p", (input) => {
15412
15461
  _html(`<section${_attr_class("_b8")}><div${_attr_class("_b9")}><h2${_attr_class("_cl")}>Running</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope15_id, "e", running.length)}</span></div><ul${_attr_class(list$2)}>`);
15413
15462
  _for_of(running, (p) => {
15414
15463
  const $scope16_id = _scope_id();
15415
- _html(`<li${_attr_class("_f4")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", "_f6"])}>${_text_resume($scope16_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_f7"])}>${_text_resume($scope16_id, "e", p.args)}</span><span${_attr_class("_f8")}>`);
15464
+ _html(`<li${_attr_class("_cT")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", procCmd])}>${_text_resume($scope16_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_cW"])}>${_text_resume($scope16_id, "e", p.args)}</span><span${_attr_class("_cX")}>`);
15416
15465
  _for_of(p.ports, (port) => {
15417
15466
  const $scope33_id = _scope_id();
15418
15467
  _html(`<button${_attr_class(["_u", "_K"])}${_attr("title", `Open port ${port}`)}>:${_text_resume($scope33_id, "b", port, 2)}</button>${_el_resume($scope33_id, "a")}`);
@@ -15422,7 +15471,7 @@ var manage_workspace_default = _template("p", (input) => {
15422
15471
  _html(`<span${_attr_class(["_y", "_f9"])}>${_text_resume($scope16_id, "i", p.pid)}</span><button${_attr_class([
15423
15472
  "_ch",
15424
15473
  "_7",
15425
- "_gh"
15474
+ "_gg"
15426
15475
  ])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
15427
15476
  icon_xmark_default({ size: 14 });
15428
15477
  _html(`</button>${_el_resume($scope16_id, "j")}</span></li>${_el_resume($scope16_id, "a")}`);
@@ -15443,11 +15492,11 @@ var manage_workspace_default = _template("p", (input) => {
15443
15492
  s,
15444
15493
  linked: false
15445
15494
  }))].sort((a, b) => a.s.name.localeCompare(b.s.name));
15446
- _html(`</div><div${_attr_class("_c2")}>`);
15495
+ _html(`</div><div${_attr_class("_eh")}>`);
15447
15496
  _if(() => {
15448
15497
  if (allSkills.length) {
15449
15498
  const $scope2_id = _scope_id();
15450
- _html(`<section${_attr_class("_b8")}><div${_attr_class("_b9")}><h2${_attr_class("_cl")}>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, "_f3"])}>`);
15499
+ _html(`<section${_attr_class("_b8")}><div${_attr_class("_b9")}><h2${_attr_class("_cl")}>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, "_cS"])}>`);
15451
15500
  _for_of(allSkills, ({ s, linked }) => {
15452
15501
  const $scope3_id = _scope_id();
15453
15502
  const isBusy = skillBusy.has(s.id);
@@ -15464,7 +15513,7 @@ var manage_workspace_default = _template("p", (input) => {
15464
15513
  return 0;
15465
15514
  }
15466
15515
  }, $scope3_id, "e", 1, 1, 1, 0, 1);
15467
- _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)}>`);
15516
+ _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("_cX")}>`);
15468
15517
  _if(() => {
15469
15518
  if (s.broken) {
15470
15519
  const $scope35_id = _scope_id();
@@ -15515,7 +15564,7 @@ var manage_workspace_default = _template("p", (input) => {
15515
15564
  "_ch",
15516
15565
  "_7",
15517
15566
  "_8",
15518
- "_gg"
15567
+ "_gf"
15519
15568
  ],
15520
15569
  disabled: isBusy,
15521
15570
  busy: isBusy,
@@ -15584,6 +15633,7 @@ var manage_workspace_default = _template("p", (input) => {
15584
15633
  ba: workspace?.path,
15585
15634
  bb: workspace?.branch,
15586
15635
  bd: workspace?.origin_branch,
15636
+ be: workspace?.repos,
15587
15637
  bf: workspace?.id,
15588
15638
  bg: workspace?.repos?.length,
15589
15639
  bk: copyFact,
@@ -15609,27 +15659,25 @@ var manage_workspace_default = _template("p", (input) => {
15609
15659
  c8: allSkills,
15610
15660
  c9: allSkills?.length,
15611
15661
  b9: input.workspaceChange || void 0,
15612
- cq: $copied__closures,
15613
- cr: $ws_branch__closures,
15614
- cs: $ws_origin_branch__closures,
15615
- cn: $pendingAction__closures,
15616
- ct: $ws_repos_length__closures,
15617
- cu: $ws_status__closures,
15662
+ cr: $copied__closures,
15663
+ cs: $ws_branch__closures,
15664
+ ct: $ws_origin_branch__closures,
15665
+ co: $pendingAction__closures,
15666
+ cu: $ws_repos_length__closures,
15667
+ cv: $ws_status__closures,
15618
15668
  d: _existing_scope($childScope2),
15619
- cm: $error__closures,
15669
+ cn: $error__closures,
15620
15670
  a8: _existing_scope($childScope3),
15621
15671
  ab: _existing_scope($childScope4),
15622
- cl: $skillBusy__closures,
15623
- cp: $skills__closures
15672
+ cm: $skillBusy__closures,
15673
+ cq: $skills__closures
15624
15674
  });
15625
15675
  _resume_branch($scope0_id);
15626
15676
  });
15627
- var curRow = "_fO _cG _cE";
15628
- var curEmpty = "_fQ _ci";
15629
- var curBase = "_fT _X _W";
15630
- var archived = "_fY _b8";
15631
- var archivedHint = "_fZ _W";
15632
- var archivedRow = "_f0 _cG _cE";
15677
+ var curRow = "_fz _cT";
15678
+ var archived = "_fE _b8";
15679
+ var archivedHint = "_fF _W";
15680
+ var archivedRow = "_fG _cR _cP";
15633
15681
  //#endregion
15634
15682
  //#region src/tags/icons/icon-group.marko
15635
15683
  var icon_group_default = _template("hb", (input) => {
@@ -15649,8 +15697,8 @@ var icon_group_default = _template("hb", (input) => {
15649
15697
  });
15650
15698
  //#endregion
15651
15699
  //#region src/tags/join-dialog.css.ts
15652
- var dlg = "_iG _g1";
15653
- var hint = "_iH _W";
15700
+ var dlg = "_io _g0";
15701
+ var hint = "_ip _W";
15654
15702
  //#endregion
15655
15703
  //#region src/tags/join-dialog.marko
15656
15704
  var api$3;
@@ -15779,26 +15827,26 @@ var join_dialog_default = _template("m", (input) => {
15779
15827
  content: _content("m12", () => {
15780
15828
  _scope_reason();
15781
15829
  const $scope1_id = _scope_id();
15782
- _html(`<h2${_attr_class("_g2")}${_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([
15830
+ _html(`<h2${_attr_class("_g1")}${_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([
15783
15831
  "_Y",
15784
15832
  "_y",
15785
- "_iJ"
15833
+ "_ir"
15786
15834
  ])} placeholder="{ &#34;name&#34;: …, &#34;branch&#34;: …, &#34;repos&#34;: [&#34;owner/name&#34;, …] }" 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")}`);
15787
15835
  _if(() => {
15788
15836
  if (parsed.error) {
15789
15837
  const $scope8_id = _scope_id();
15790
- _html(`<p${_attr_class([hint, "_iI"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
15838
+ _html(`<p${_attr_class([hint, "_iq"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
15791
15839
  _subscribe($parsed_error__closures, writeScope($scope8_id, { Cag: 1 }));
15792
15840
  return 0;
15793
15841
  } else if (parsed.ok) {
15794
15842
  const $scope3_id = _scope_id();
15795
- _html(`<ul${_attr_class("_iK")}>`);
15843
+ _html(`<ul${_attr_class("_is")}>`);
15796
15844
  _for_of(parsed.ok.repos, (fullName) => {
15797
15845
  const $scope9_id = _scope_id();
15798
- _html(`<li${_attr_class("_iL")}><span${_attr_class("_iM")}>${_text_resume($scope9_id, "c", repoLabel$1(fullName))}</span></li>`);
15846
+ _html(`<li${_attr_class("_it")}><span${_attr_class("_iu")}>${_text_resume($scope9_id, "c", repoLabel$1(fullName))}</span></li>`);
15799
15847
  writeScope($scope9_id, {});
15800
15848
  }, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
15801
- _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("_iN")}><span${_attr_class("_cl")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
15849
+ _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("_iv")}><span${_attr_class("_cl")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
15802
15850
  name = _new_name;
15803
15851
  }, "m1", $scope3_id))}${_attr_class("_Y")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
15804
15852
  _script($scope3_id, "m8");
@@ -15835,10 +15883,10 @@ var join_dialog_default = _template("m", (input) => {
15835
15883
  _if(() => {
15836
15884
  if (busy && steps$2.length) {
15837
15885
  const $scope6_id = _scope_id();
15838
- _html(`<ul${_attr_class("_iO")}>`);
15886
+ _html(`<ul${_attr_class("_iw")}>`);
15839
15887
  _for_of(steps$2, (step$2, i) => {
15840
15888
  const $scope7_id = _scope_id();
15841
- _html(`<li${_attr_class(["_iQ", { ["_iP"]: i === steps$2.length - 1 }])}>`);
15889
+ _html(`<li${_attr_class(["_iy", { ["_ix"]: i === steps$2.length - 1 }])}>`);
15842
15890
  _if(() => {
15843
15891
  if (i === steps$2.length - 1) {
15844
15892
  const $scope10_id = _scope_id();
@@ -15847,7 +15895,7 @@ var join_dialog_default = _template("m", (input) => {
15847
15895
  return 0;
15848
15896
  } else {
15849
15897
  const $scope11_id = _scope_id();
15850
- _html(`<span${_attr_class("_iR")}>`);
15898
+ _html(`<span${_attr_class("_iz")}>`);
15851
15899
  icon_check_default({ size: 14 });
15852
15900
  _html("</span>");
15853
15901
  writeScope($scope11_id, {});
@@ -15913,11 +15961,11 @@ var new_workspace_default = _template("s", (input) => {
15913
15961
  const $scope0_id = _scope_id();
15914
15962
  const $busy__closures = /* @__PURE__ */ new Set();
15915
15963
  const $error__closures = /* @__PURE__ */ new Set();
15916
- const $catalogRefreshing__closures = /* @__PURE__ */ new Set();
15917
15964
  const $steps_length__closures = /* @__PURE__ */ new Set();
15918
15965
  const $restoring__closures = /* @__PURE__ */ new Set();
15919
15966
  let name = "";
15920
15967
  let catalogRefreshing = false;
15968
+ let addingRepo = false;
15921
15969
  let joinOpen = false;
15922
15970
  let selected = [];
15923
15971
  let busy = false;
@@ -16005,7 +16053,7 @@ var new_workspace_default = _template("s", (input) => {
16005
16053
  }
16006
16054
  }, "s6", $scope0_id);
16007
16055
  const titleId = _id();
16008
- _html(`<div${_attr_class("_cZ")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_c0")}><div${_attr_class("_c1")}>`);
16056
+ _html(`<div${_attr_class("_ee")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_ef")}><div${_attr_class("_eg")}>`);
16009
16057
  _set_serialize_reason({
16010
16058
  0: _serialize_guard($scope0_reason, 2),
16011
16059
  1: $sg__input_backHref__OR__input_onExit,
@@ -16018,216 +16066,221 @@ var new_workspace_default = _template("s", (input) => {
16018
16066
  titleId,
16019
16067
  backHref: input.backHref,
16020
16068
  onBack: input.onExit && _resume(() => input.onExit?.(), "s7", $scope0_id),
16021
- actions: attrTag({ content: _content("s15", () => {
16069
+ actions: attrTag({ content: _content("s16", () => {
16022
16070
  _scope_reason();
16023
- const $scope3_id = _scope_id();
16071
+ const $scope2_id = _scope_id();
16024
16072
  _html(`<button type=button${_attr_class(iconBtnRow)} aria-label="Join a workspace" title="Join a workspace from an invite"${_attr("disabled", busy)}>`);
16025
16073
  icon_group_default({ size: 14 });
16026
- _html(`</button>${_el_resume($scope3_id, "a")}`);
16027
- _script($scope3_id, "s14");
16028
- _subscribe($busy__closures, writeScope($scope3_id, { _: _scope_with_id($scope0_id) }));
16029
- _resume_branch($scope3_id);
16074
+ _html(`</button>${_el_resume($scope2_id, "a")}`);
16075
+ _script($scope2_id, "s15");
16076
+ _subscribe($busy__closures, writeScope($scope2_id, { _: _scope_with_id($scope0_id) }));
16077
+ _resume_branch($scope2_id);
16030
16078
  }, $scope0_id) })
16031
16079
  });
16032
- _html(`<div${_attr_class("_c2")}>`);
16080
+ _html(`<div${_attr_class("_eh")}>`);
16033
16081
  _if(() => {
16034
16082
  if (error) {
16035
- const $scope8_id = _scope_id();
16083
+ const $scope7_id = _scope_id();
16036
16084
  toast_default({
16037
16085
  placement: "inline",
16038
16086
  onDismiss: _resume(function() {
16039
16087
  error = null;
16040
- }, "s8", $scope8_id),
16041
- content: _content("s16", () => {
16088
+ }, "s8", $scope7_id),
16089
+ content: _content("s17", () => {
16042
16090
  _scope_reason();
16043
- const $scope9_id = _scope_id();
16044
- _html(_text_resume($scope9_id, "a", error));
16045
- _subscribe($error__closures, writeScope($scope9_id, { _: _scope_with_id($scope8_id) }));
16046
- _resume_branch($scope9_id);
16047
- }, $scope8_id)
16091
+ const $scope8_id = _scope_id();
16092
+ _html(_text_resume($scope8_id, "a", error));
16093
+ _subscribe($error__closures, writeScope($scope8_id, { _: _scope_with_id($scope7_id) }));
16094
+ _resume_branch($scope8_id);
16095
+ }, $scope7_id)
16048
16096
  });
16049
- writeScope($scope8_id, {});
16097
+ writeScope($scope7_id, {});
16050
16098
  return 0;
16051
16099
  }
16052
16100
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
16053
- _html(`<label${_attr_class("_fK")}><span${_attr_class("_cl")}>Name</span><input${_attr_input_value($scope0_id, "i", name, _resume((_new_name) => {
16101
+ _html(`<label${_attr_class("_fu")}><span${_attr_class("_cl")}>Name</span><input${_attr_input_value($scope0_id, "i", name, _resume((_new_name) => {
16054
16102
  name = _new_name;
16055
- }, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "i")}</label><section${_attr_class("_b8")}><div${_attr_class("_fM")}><h2${_attr_class("_cl")}>Repos</h2></div><ul${_attr_class(list$2)}>`);
16103
+ }, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "i")}</label><section${_attr_class("_b8")}><div${_attr_class("_fx")}><h2${_attr_class("_cl")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "n", selected.length)}</span><div${_attr_class("_z")}></div><button type=button${_attr_class([iconBtnRow, "_fw"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}${_attr("disabled", busy)}>`);
16104
+ icon_plus_default({ size: 16 });
16105
+ _html(`</button>${_el_resume($scope0_id, "p")}`);
16106
+ _set_serialize_reason(34);
16107
+ const $childScope2 = _peek_scope_id();
16108
+ let refreshCatalog = repo_picker_default({
16109
+ pinned: true,
16110
+ open: addingRepo,
16111
+ exclude: new Set(selected.map((r) => r.fullName)),
16112
+ added: selected.map((r) => ({
16113
+ name: r.fullName,
16114
+ baseBranch: r.baseBranch
16115
+ })),
16116
+ disabled: busy,
16117
+ onClose: _resume(function() {
16118
+ addingRepo = false;
16119
+ }, "s9", $scope0_id),
16120
+ onPick: _resume(function(fullName, baseBranch, fork) {
16121
+ addRepo(fullName, baseBranch, fork);
16122
+ }, "s10", $scope0_id),
16123
+ onError: _resume(function(message) {
16124
+ error = message;
16125
+ }, "s11", $scope0_id),
16126
+ refreshingChange: function(v) {
16127
+ catalogRefreshing = v;
16128
+ }
16129
+ });
16130
+ _var($scope0_id, "s", $childScope2, "s18");
16131
+ _html(`<button type=button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
16132
+ _set_serialize_reason(1);
16133
+ const $childScope3 = _peek_scope_id();
16134
+ icon_refresh_default({
16135
+ size: 14,
16136
+ class: catalogRefreshing && "_F"
16137
+ });
16138
+ _html(`</button>${_el_resume($scope0_id, "t")}</div><ul${_attr_class(list$2)}>`);
16056
16139
  _for_of(selected, (repo) => {
16057
- const $scope4_id = _scope_id();
16058
- _html(`<li${_attr_class("_fN")}><div${_attr_class(curRow)}><span${_attr_class("_fR")}>${_text_resume($scope4_id, "d", repoLabel$1(repo.fullName))}</span>`);
16140
+ const $scope3_id = _scope_id();
16141
+ _html(`<li${_attr_class("_fy")}><div${_attr_class(curRow)}><span${_attr_class("_cV")}>${_text_resume($scope3_id, "d", repoLabel$1(repo.fullName))}</span><span${_attr_class("_cX")}>`);
16059
16142
  _if(() => {
16060
16143
  if (repo.fork !== void 0) {
16061
- const $scope5_id = _scope_id();
16062
- _html(`<button${_attr_class(["_fU", { ["_fS"]: 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)}>`);
16144
+ const $scope4_id = _scope_id();
16145
+ _html(`<button${_attr_class([
16146
+ chip$1,
16147
+ "_c1",
16148
+ { ["_cZ"]: repo.fork }
16149
+ ])}${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)}>`);
16063
16150
  _if(() => {
16064
16151
  if (repo.fork) {
16065
- const $scope13_id = _scope_id();
16152
+ const $scope12_id = _scope_id();
16066
16153
  icon_check_default({ size: 12 });
16067
16154
  _html(" fork");
16068
- writeScope($scope13_id, {});
16155
+ writeScope($scope12_id, {});
16069
16156
  return 0;
16070
16157
  } else {
16071
- const $scope14_id = _scope_id();
16158
+ const $scope13_id = _scope_id();
16072
16159
  _html("fork");
16073
- writeScope($scope14_id, {});
16160
+ writeScope($scope13_id, {});
16074
16161
  return 1;
16075
16162
  }
16076
- }, $scope5_id, "a", 1, 1, 1, "</button>");
16077
- _script($scope5_id, "s17");
16078
- _subscribe($busy__closures, writeScope($scope5_id, { Caz: 1 }));
16163
+ }, $scope4_id, "a", 1, 1, 1, "</button>");
16164
+ _script($scope4_id, "s19");
16165
+ _subscribe($busy__closures, writeScope($scope4_id, { Cb6: 1 }));
16079
16166
  return 0;
16080
16167
  }
16081
- }, $scope4_id, "e", 1, 1, 1, 0, 1);
16168
+ }, $scope3_id, "f", 1, 1, 1, 0, 1);
16082
16169
  _html(`<button${_attr_class([
16083
- curBase,
16170
+ chip$1,
16084
16171
  "_y",
16085
- { ["_fS"]: branchesFor === repo.fullName }
16172
+ { ["_cZ"]: branchesFor === repo.fullName }
16086
16173
  ])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}>`);
16087
16174
  icon_branch_default({ size: 12 });
16088
- _html(`${_text_resume($scope4_id, "h", repo.baseBranch ? `${_to_text(" ")}${_to_text(repo.baseBranch)}` : "")}</button>${_el_resume($scope4_id, "f")}<button${_attr_class([iconBtnXs, "_7"])}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>`);
16175
+ _html(`${_text_resume($scope3_id, "i", repo.baseBranch ? `${_to_text(" ")}${_to_text(repo.baseBranch)}` : "")}</button>${_el_resume($scope3_id, "g")}<button${_attr_class([iconBtnXs, "_7"])}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>`);
16089
16176
  icon_xmark_default({ size: 12 });
16090
- _html(`</button>${_el_resume($scope4_id, "i")}</div>`);
16177
+ _html(`</button>${_el_resume($scope3_id, "j")}</span></div>`);
16091
16178
  _if(() => {
16092
16179
  if (branchesFor === repo.fullName) {
16093
- const $scope10_id = _scope_id();
16094
- _html(`<div${_attr_class("_fP")}>`);
16095
- const $childScope2 = _peek_scope_id();
16180
+ const $scope9_id = _scope_id();
16181
+ _html(`<div${_attr_class("_fA")}>`);
16182
+ const $childScope4 = _peek_scope_id();
16096
16183
  branch_pick_default({
16097
16184
  repo: repo.fullName,
16098
16185
  current: repo.baseBranch,
16099
16186
  onPick: _resume(function(branch, isDefault) {
16100
16187
  setBranch(repo.fullName, isDefault ? void 0 : branch);
16101
- }, "s9", $scope10_id),
16188
+ }, "s12", $scope9_id),
16102
16189
  onError: _resume(function(message) {
16103
16190
  branchesFor = null;
16104
16191
  error = message;
16105
- }, "s10", $scope10_id)
16192
+ }, "s13", $scope9_id)
16106
16193
  });
16107
16194
  _html("</div>");
16108
- writeScope($scope10_id, { b: _existing_scope($childScope2) });
16195
+ writeScope($scope9_id, { b: _existing_scope($childScope4) });
16109
16196
  return 0;
16110
16197
  }
16111
- }, $scope4_id, "k", 1, 1, 1, 0, 1);
16198
+ }, $scope3_id, "l", 1, 1, 1, 0, 1);
16112
16199
  _html("</li>");
16113
- _script($scope4_id, "s18");
16114
- writeScope($scope4_id, {
16115
- n: repo?.fullName,
16116
- p: repo?.fork,
16117
- q: repo?.baseBranch
16200
+ _script($scope3_id, "s20");
16201
+ writeScope($scope3_id, {
16202
+ o: repo?.fullName,
16203
+ q: repo?.fork,
16204
+ r: repo?.baseBranch
16118
16205
  });
16119
- }, "fullName", $scope0_id, "n", 1, 1, 1, 0, 1);
16206
+ }, "fullName", $scope0_id, "w", 1, 1, 1, 0, 1);
16120
16207
  _if(() => {
16121
16208
  if (!selected.length) {
16122
- const $scope15_id = _scope_id();
16123
- _html(`<li${_attr_class(curEmpty)}>No repos yet. Search below to add one, or create it empty.</li>`);
16124
- writeScope($scope15_id, {});
16209
+ const $scope14_id = _scope_id();
16210
+ _html(`<li${_attr_class(["_cT", "_cY"])}>No repos yet. Add one above, or create it empty.</li>`);
16211
+ writeScope($scope14_id, {});
16125
16212
  return 0;
16126
16213
  }
16127
- }, $scope0_id, "o", 1, 1, 1, 0, 1);
16128
- _html("</ul>");
16129
- const $childScope4 = _peek_scope_id();
16130
- let refreshCatalog = repo_picker_default({
16131
- exclude: new Set(selected.map((r) => r.fullName)),
16132
- disabled: busy,
16133
- onPick: _resume(function(fullName, baseBranch, fork) {
16134
- addRepo(fullName, baseBranch, fork);
16135
- }, "s11", $scope0_id),
16136
- onError: _resume(function(message) {
16137
- error = message;
16138
- }, "s12", $scope0_id),
16139
- refreshingChange: function(v) {
16140
- catalogRefreshing = v;
16141
- },
16142
- action: attrTag({ content: _content("s20", () => {
16143
- _scope_reason();
16144
- const $scope2_id = _scope_id();
16145
- _html(`<button${_attr_class([iconBtnRow, "_fL"])} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
16146
- _set_serialize_reason(1);
16147
- const $childScope3 = _peek_scope_id();
16148
- icon_refresh_default({
16149
- size: 14,
16150
- class: catalogRefreshing && "_F"
16151
- });
16152
- _html(`</button>${_el_resume($scope2_id, "a")}`);
16153
- _script($scope2_id, "s19");
16154
- _subscribe($catalogRefreshing__closures, writeScope($scope2_id, {
16155
- _: _scope_with_id($scope0_id),
16156
- b: _existing_scope($childScope3)
16157
- }));
16158
- _resume_branch($scope2_id);
16159
- }, $scope0_id) })
16160
- });
16161
- _var($scope0_id, "q", $childScope4, "s21");
16162
- _html("</section>");
16214
+ }, $scope0_id, "x", 1, 1, 1, 0, 1);
16215
+ _html("</ul></section>");
16163
16216
  _if(() => {
16164
16217
  if (busy && steps.length) {
16165
- const $scope11_id = _scope_id();
16166
- _html(`<ul${_attr_class("_fV")}>`);
16218
+ const $scope10_id = _scope_id();
16219
+ _html(`<ul${_attr_class("_fB")}>`);
16167
16220
  _for_of(steps, (step, i) => {
16168
- const $scope12_id = _scope_id();
16169
- _html(`<li${_attr_class(["_f1", { ["_fW"]: i === steps.length - 1 }])}>`);
16221
+ const $scope11_id = _scope_id();
16222
+ _html(`<li${_attr_class(["_fH", { ["_fC"]: i === steps.length - 1 }])}>`);
16170
16223
  _if(() => {
16171
16224
  if (i === steps.length - 1) {
16172
- const $scope16_id = _scope_id();
16225
+ const $scope15_id = _scope_id();
16173
16226
  _html(`<span${_attr_class("_G")}></span>`);
16174
- writeScope($scope16_id, {});
16227
+ writeScope($scope15_id, {});
16175
16228
  return 0;
16176
16229
  } else {
16177
- const $scope17_id = _scope_id();
16178
- _html(`<span${_attr_class("_fX")}>`);
16230
+ const $scope16_id = _scope_id();
16231
+ _html(`<span${_attr_class("_fD")}>`);
16179
16232
  icon_check_default({ size: 14 });
16180
16233
  _html("</span>");
16181
- writeScope($scope17_id, {});
16234
+ writeScope($scope16_id, {});
16182
16235
  return 1;
16183
16236
  }
16184
- }, $scope12_id, "b", 1, 1, 1, 0, 1);
16185
- _html(`${_text_resume($scope12_id, "c", step, 2)}</li>${_el_resume($scope12_id, "a")}`);
16186
- _subscribe($steps_length__closures, writeScope($scope12_id, {}));
16187
- }, 0, $scope11_id, "a", 1, 1, 1, "</ul>", 1);
16188
- writeScope($scope11_id, {});
16237
+ }, $scope11_id, "b", 1, 1, 1, 0, 1);
16238
+ _html(`${_text_resume($scope11_id, "c", step, 2)}</li>${_el_resume($scope11_id, "a")}`);
16239
+ _subscribe($steps_length__closures, writeScope($scope11_id, {}));
16240
+ }, 0, $scope10_id, "a", 1, 1, 1, "</ul>", 1);
16241
+ writeScope($scope10_id, {});
16189
16242
  return 0;
16190
16243
  }
16191
- }, $scope0_id, "r", 1, 1, 1, 0, 1);
16192
- _html(`<div${_attr_class("_fI")}><button type=button${_attr_class([
16244
+ }, $scope0_id, "y", 1, 1, 1, 0, 1);
16245
+ _html(`<div${_attr_class("_fs")}><button type=button${_attr_class([
16193
16246
  btnLg,
16194
16247
  "_r",
16195
- "_fJ"
16196
- ])}${_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("_c2")}>`);
16248
+ "_ft"
16249
+ ])}${_attr("disabled", busy || !!restoring || !name.trim())}>${_text_resume($scope0_id, "a1", busy ? "Creating…" : "Create workspace")}</button>${_el_resume($scope0_id, "a0")}</div></div><div${_attr_class("_eh")}>`);
16197
16250
  _if(() => {
16198
16251
  if (archived$1.length) {
16199
- const $scope6_id = _scope_id();
16200
- _html(`<section${_attr_class(archived)}><div${_attr_class("_fM")}><h2${_attr_class("_cl")}>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(list$2)}>`);
16252
+ const $scope5_id = _scope_id();
16253
+ _html(`<section${_attr_class(archived)}><div${_attr_class("_fx")}><h2${_attr_class("_cl")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope5_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(list$2)}>`);
16201
16254
  _for_of(archived$1, (ws) => {
16202
- const $scope7_id = _scope_id();
16203
- _html(`<li${_attr_class(archivedRow)}><div${_attr_class("_cd")}><span${_attr_class("_ce")}>${_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)}>`);
16255
+ const $scope6_id = _scope_id();
16256
+ _html(`<li${_attr_class(archivedRow)}><div${_attr_class("_cd")}><span${_attr_class("_ce")}>${_text_resume($scope6_id, "d", ws.name, $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_y"])}${_attr("title", ws.display_path || ws.path)}>${_text_resume($scope6_id, "f", ws.display_path || ws.path, $sg__input_workspaces)}</span>${_el_resume($scope6_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnSm)}${_attr("disabled", busy || !!restoring)}>`);
16204
16257
  _if(() => {
16205
16258
  if (restoring === ws.id) {
16206
- const $scope18_id = _scope_id();
16259
+ const $scope17_id = _scope_id();
16207
16260
  _html(`<span${_attr_class("_G")}></span> Restoring…`);
16208
- writeScope($scope18_id, {});
16261
+ writeScope($scope17_id, {});
16209
16262
  return 0;
16210
16263
  } else {
16211
- const $scope19_id = _scope_id();
16264
+ const $scope18_id = _scope_id();
16212
16265
  _html("Restore");
16213
- writeScope($scope19_id, {});
16266
+ writeScope($scope18_id, {});
16214
16267
  return 1;
16215
16268
  }
16216
- }, $scope7_id, "g", 1, 1, 1, "</button>");
16269
+ }, $scope6_id, "g", 1, 1, 1, "</button>");
16217
16270
  _html("</li>");
16218
- _script($scope7_id, "s22");
16219
- _subscribe($restoring__closures, _subscribe($busy__closures, writeScope($scope7_id, {
16271
+ _script($scope6_id, "s21");
16272
+ _subscribe($restoring__closures, _subscribe($busy__closures, writeScope($scope6_id, {
16220
16273
  j: ws,
16221
16274
  o: ws?.id,
16222
- _: _scope_with_id($scope6_id),
16223
- Caz: 2
16275
+ _: _scope_with_id($scope5_id),
16276
+ Cb6: 2
16224
16277
  })));
16225
- }, "id", $scope6_id, "g", $sg__input_workspaces, $sg__input_workspaces, $sg__input_workspaces, "</ul>", 1);
16278
+ }, "id", $scope5_id, "g", $sg__input_workspaces, $sg__input_workspaces, $sg__input_workspaces, "</ul>", 1);
16226
16279
  _html("</section>");
16227
- writeScope($scope6_id, { _: _scope_with_id($scope0_id) });
16280
+ writeScope($scope5_id, { _: _scope_with_id($scope0_id) });
16228
16281
  return 0;
16229
16282
  }
16230
- }, $scope0_id, "v", $sg__input_workspaces, $sg__input_workspaces, 1, "</div>", 1);
16283
+ }, $scope0_id, "a2", $sg__input_workspaces, $sg__input_workspaces, 1, "</div>", 1);
16231
16284
  _html("</div></div>");
16232
16285
  _if(() => {
16233
16286
  if (joinOpen) {
@@ -16238,45 +16291,45 @@ var new_workspace_default = _template("s", (input) => {
16238
16291
  open: joinOpen,
16239
16292
  openChange: _resume((_new_joinOpen) => {
16240
16293
  joinOpen = _new_joinOpen;
16241
- }, "s13", $scope1_id),
16294
+ }, "s14", $scope1_id),
16242
16295
  onJoin: input.onCreate
16243
16296
  });
16244
16297
  writeScope($scope1_id, { a: _existing_scope($childScope5) });
16245
16298
  return 0;
16246
16299
  }
16247
- }, $scope0_id, "w", 1, 1, 1, 0, 1);
16300
+ }, $scope0_id, "a3", 1, 1, 1, 0, 1);
16248
16301
  _html("</div>");
16249
- _script($scope0_id, "s23");
16302
+ _script($scope0_id, "s22");
16250
16303
  writeScope($scope0_id, {
16251
- a0: input.onRestore,
16252
- a1: input.onCreate,
16253
- a3: input.onExit,
16254
- a4: name,
16255
- a6: joinOpen,
16256
- a7: selected,
16257
- a9: busy,
16258
- aa: restoring,
16259
- ad: error,
16260
- ae: steps,
16261
- af: steps?.length,
16262
- ah: $si__input_workspaces && archived$1,
16263
- ai: $si__input_workspaces && archived$1?.length,
16264
- aj: addRepo,
16265
- ak: branchesFor,
16266
- am: removeRepo,
16267
- an: toggleFork,
16268
- ao: setBranch,
16269
- ap: restore,
16270
- ar: createGen.n,
16271
- at: create,
16272
- av: refreshCatalog,
16273
- az: $busy__closures,
16304
+ a7: input.onRestore,
16305
+ a8: input.onCreate,
16306
+ aa: input.onExit,
16307
+ ab: name,
16308
+ ae: joinOpen,
16309
+ af: selected,
16310
+ ah: busy,
16311
+ ai: restoring,
16312
+ al: error,
16313
+ am: steps,
16314
+ an: steps?.length,
16315
+ ap: $si__input_workspaces && archived$1,
16316
+ aq: $si__input_workspaces && archived$1?.length,
16317
+ ar: addRepo,
16318
+ as: branchesFor,
16319
+ au: removeRepo,
16320
+ av: toggleFork,
16321
+ aw: setBranch,
16322
+ ax: restore,
16323
+ az: createGen.n,
16324
+ b1: create,
16325
+ b3: refreshCatalog,
16326
+ b6: $busy__closures,
16274
16327
  d: _serialize_if($scope0_reason, 0) && _existing_scope($childScope),
16275
- b1: $error__closures,
16276
- ax: $catalogRefreshing__closures,
16277
- p: _existing_scope($childScope4),
16278
- b3: $steps_length__closures,
16279
- b0: $restoring__closures
16328
+ b8: $error__closures,
16329
+ r: _existing_scope($childScope2),
16330
+ u: _existing_scope($childScope3),
16331
+ ba: $steps_length__closures,
16332
+ b7: $restoring__closures
16280
16333
  });
16281
16334
  _resume_branch($scope0_id);
16282
16335
  });
@@ -16317,19 +16370,19 @@ var term_find_default = _template("G", (input) => {
16317
16370
  const canStep = hasQuery && open;
16318
16371
  const keybar = input.placement === "keybar";
16319
16372
  _html(`<div${_attr_class([
16320
- "_el",
16321
- keybar ? "_en" : "_em",
16322
- !open && "_ep"
16323
- ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_ef", keybar ? "_eo" : "_ei"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
16373
+ "_eu",
16374
+ keybar ? "_ew" : "_ev",
16375
+ !open && "_ey"
16376
+ ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_eo", keybar ? "_ex" : "_er"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
16324
16377
  if (!open) return;
16325
16378
  query = v;
16326
16379
  live.query = v;
16327
16380
  run(0);
16328
- }, "G1", $scope0_id))}${_attr_class([findInput, keybar && "_eq"])} 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 && "_er"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16381
+ }, "G1", $scope0_id))}${_attr_class([findInput, keybar && "_ez"])} 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 && "_eA"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16329
16382
  icon_arrow_up_default({ size: 14 });
16330
- _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_er"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16383
+ _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_eA"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16331
16384
  icon_arrow_down_default({ size: 14 });
16332
- _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_er"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
16385
+ _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_eA"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
16333
16386
  icon_xmark_default({ size: 14 });
16334
16387
  _html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
16335
16388
  const $return = focusInput;
@@ -16480,7 +16533,7 @@ var term_default = _template("H", (input) => {
16480
16533
  }
16481
16534
  }, "H9", $scope0_id);
16482
16535
  input.keys;
16483
- _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_e8")}><div${_attr_class("_e9")}></div>${_el_resume($scope0_id, "b")}`);
16536
+ _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_e0")}><div${_attr_class("_e1")}></div>${_el_resume($scope0_id, "b")}`);
16484
16537
  _if(() => {
16485
16538
  if (findOpen) {
16486
16539
  const $scope4_id = _scope_id();
@@ -16507,7 +16560,7 @@ var term_default = _template("H", (input) => {
16507
16560
  _if(() => {
16508
16561
  if (uploading) {
16509
16562
  const $scope5_id = _scope_id();
16510
- _html(`<div${_attr_class("_fe")}>uploading…</div>`);
16563
+ _html(`<div${_attr_class("_e7")}>uploading…</div>`);
16511
16564
  writeScope($scope5_id, {});
16512
16565
  return 0;
16513
16566
  }
@@ -16515,7 +16568,7 @@ var term_default = _template("H", (input) => {
16515
16568
  _if(() => {
16516
16569
  if (copiedFlash) {
16517
16570
  const $scope6_id = _scope_id();
16518
- _html(`<div${_attr_class("_fd")}>Copied</div>`);
16571
+ _html(`<div${_attr_class("_e6")}>Copied</div>`);
16519
16572
  writeScope($scope6_id, {});
16520
16573
  return 0;
16521
16574
  }
@@ -16524,7 +16577,7 @@ var term_default = _template("H", (input) => {
16524
16577
  _if(() => {
16525
16578
  if (trapOpen) {
16526
16579
  const $scope3_id = _scope_id();
16527
- _html(`<div${_attr_class("_ff")}><div${_attr_class("_fg")}><p${_attr_class("_fh")}>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")}`);
16580
+ _html(`<div${_attr_class("_e8")}><div${_attr_class("_e9")}><p${_attr_class("_e_")}>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")}`);
16528
16581
  _script($scope3_id, "H16");
16529
16582
  _script($scope3_id, "H17");
16530
16583
  writeScope($scope3_id, {});
@@ -17109,7 +17162,7 @@ var work_view_default = _template("M", (input) => {
17109
17162
  });
17110
17163
  //#endregion
17111
17164
  //#region src/tags/key-bar.css.ts
17112
- var kbtn = "_bs _5 _l";
17165
+ var kbtn = "_bG _5 _l";
17113
17166
  _template("wb", (input) => {
17114
17167
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
17115
17168
  const $scope0_id = _scope_id();
@@ -17125,8 +17178,8 @@ _template("wb", (input) => {
17125
17178
  });
17126
17179
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
17127
17180
  });
17128
- var sessOpen = "_ew _I";
17129
- var sessRename = "_eA _J";
17181
+ var sessOpen = "_eF _I";
17182
+ var sessRename = "_eJ _J";
17130
17183
  //#endregion
17131
17184
  //#region src/tags/usage-pcts.marko
17132
17185
  var usage_pcts_default = _template("L", (input) => {
@@ -17138,22 +17191,22 @@ var usage_pcts_default = _template("L", (input) => {
17138
17191
  if (windows.length) {
17139
17192
  const $scope1_id = _scope_id();
17140
17193
  _html(`<span${_attr_class([
17141
- "_hE",
17194
+ "_hD",
17142
17195
  input.class,
17143
- { ["_hF"]: agent.stale_seconds != null }
17196
+ { ["_hE"]: agent.stale_seconds != null }
17144
17197
  ])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
17145
17198
  _for_of(windows, (win$1, i) => {
17146
17199
  const $scope2_id = _scope_id();
17147
- _html(`<span${_attr_class("_hG")}>`);
17200
+ _html(`<span${_attr_class("_hF")}>`);
17148
17201
  _if(() => {
17149
17202
  if (i) {
17150
17203
  const $scope3_id = _scope_id();
17151
- _html(`<span${_attr_class("_hJ")} aria-hidden=true>·</span>`);
17204
+ _html(`<span${_attr_class("_hI")} aria-hidden=true>·</span>`);
17152
17205
  $si__input_agent && writeScope($scope3_id, {});
17153
17206
  return 0;
17154
17207
  }
17155
17208
  }, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
17156
- _html(`<span${_attr_class("_hH")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_hI", 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>`);
17209
+ _html(`<span${_attr_class("_hG")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_hH", win$1.used_percent >= 90 ? "_hn" : win$1.used_percent >= 70 ? "_hm" : win$1.used_percent >= 40 ? "_hl" : "_hk"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
17157
17210
  $si__input_agent && writeScope($scope2_id, {});
17158
17211
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
17159
17212
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -17195,7 +17248,7 @@ _template("n", (input) => {
17195
17248
  align: "center",
17196
17249
  gap: 8
17197
17250
  }), "n2", $scope0_id);
17198
- _html(`<button${_attr_class([kbtn, "_es"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
17251
+ _html(`<button${_attr_class([kbtn, "_eB"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
17199
17252
  _set_serialize_reason({
17200
17253
  1: $sg__input_sessions__OR__input_sessionId,
17201
17254
  2: $sg__input_sessions__OR__input_sessionId
@@ -17209,11 +17262,11 @@ _template("n", (input) => {
17209
17262
  "_A",
17210
17263
  "_bb",
17211
17264
  phase[sessionPhase(current$2?.state)]
17212
- ])}></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(["_9", "_et"])}>`);
17265
+ ])}></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(["_9", "_eC"])}>`);
17213
17266
  _for_of(input.sessions, (s) => {
17214
17267
  const $scope1_id = _scope_id();
17215
17268
  const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
17216
- _html(`<div${_attr_class(["_ev", { ["_eu"]: s.id === input.sessionId }])}>`);
17269
+ _html(`<div${_attr_class(["_eE", { ["_eD"]: s.id === input.sessionId }])}>`);
17217
17270
  _if(() => {
17218
17271
  if (renamingId === s.id) {
17219
17272
  const $scope5_id = _scope_id();
@@ -17245,7 +17298,7 @@ _template("n", (input) => {
17245
17298
  agent: activeAgent(s),
17246
17299
  size: 14
17247
17300
  });
17248
- _html(`<span${_attr_class("_ex")}><span${_attr_class("_ez")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
17301
+ _html(`<span${_attr_class("_eG")}><span${_attr_class("_eI")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
17249
17302
  _if(() => {
17250
17303
  if (s.id === input.sessionId) {
17251
17304
  const $scope7_id = _scope_id();
@@ -17257,7 +17310,7 @@ _template("n", (input) => {
17257
17310
  const $childScope4 = _peek_scope_id();
17258
17311
  usage_pcts_default({
17259
17312
  agent: plan,
17260
- class: "_ey"
17313
+ class: "_eH"
17261
17314
  });
17262
17315
  writeScope($scope8_id, { a: _existing_scope($childScope4) });
17263
17316
  return 0;
@@ -17274,7 +17327,7 @@ _template("n", (input) => {
17274
17327
  _if(() => {
17275
17328
  if (input.onRenameSession) {
17276
17329
  const $scope6_id = _scope_id();
17277
- _html(`<button${_attr_class(["_eB", "_eC"])} title="Rename session">`);
17330
+ _html(`<button${_attr_class(["_eK", "_eL"])} title="Rename session">`);
17278
17331
  icon_edit_default({ size: 12 });
17279
17332
  _html(`</button>${_el_resume($scope6_id, "a")}`);
17280
17333
  _script($scope6_id, "n5");
@@ -17286,7 +17339,7 @@ _template("n", (input) => {
17286
17339
  if (input.onCloseSession) {
17287
17340
  const $scope3_id = _scope_id();
17288
17341
  arm_button_default({
17289
- class: ["_eB", "_7"],
17342
+ class: ["_eK", "_7"],
17290
17343
  title: "Close session",
17291
17344
  armedTitle: "Close?",
17292
17345
  onFire: _resume(function() {
@@ -17318,7 +17371,7 @@ _template("n", (input) => {
17318
17371
  m: $si__input_sessions && $for_content__s_agent__closures
17319
17372
  });
17320
17373
  }, "id", $scope0_id, "e", 1, $sg__input_sessions, $sg__input_sessions__OR__input_agents, 0, 1);
17321
- _html(`<div${_attr_class("_eD")}><span${_attr_class("_eE")}>New session</span><div${_attr_class("_eF")}>`);
17374
+ _html(`<div${_attr_class("_eM")}><span${_attr_class("_eN")}>New session</span><div${_attr_class("_eO")}>`);
17322
17375
  _for_of(["shell", ...input.agents], (agent) => {
17323
17376
  const $scope4_id = _scope_id();
17324
17377
  _html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
@@ -21027,7 +21080,7 @@ var AddRepo = /* @__PURE__ */ object({
21027
21080
  //#region __marko-run__api.workspaces.$.repos.js
21028
21081
  var postHandler$3 = normalizeHandler(Run.POST({ json: AddRepo }, async (ctx) => {
21029
21082
  const body = await readBody(ctx);
21030
- return Response.json(await withProgressOp(ctx.params.id, () => addRepo$1(ctx.params.id, body.fullName, body.baseBranch, body.fork)));
21083
+ return Response.json(await withProgressOp(ctx.params.id, () => addRepo(ctx.params.id, body.fullName, body.baseBranch, body.fork)));
21031
21084
  }), "POST");
21032
21085
  var post43_options = normalizeOptions("POST", mware11, mware43, postHandler$3);
21033
21086
  function post43(context) {
@@ -26482,4 +26535,4 @@ server.listen(port, () => {
26482
26535
  //#endregion
26483
26536
  export {};
26484
26537
 
26485
- ;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-C4usy4AG.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-C4usy4AG.css\"",">",2,"stylesheet#/assets/app-page-_8WKqHTZ.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-_8WKqHTZ.css\"",">"],"defer":[2,"/assets/new-pakAMqK1.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-pakAMqK1.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/_DeWBAMhg.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DeWBAMhg.js\"",">",2,"modulepreload#/assets/_DR7hKOqz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DR7hKOqz.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-C4usy4AG.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-C4usy4AG.css\"",">",2,"stylesheet#/assets/app-page-_8WKqHTZ.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-_8WKqHTZ.css\"",">"],"defer":[2,"/assets/w._-pakAMqK1.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-pakAMqK1.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/_DeWBAMhg.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DeWBAMhg.js\"",">",2,"modulepreload#/assets/_DR7hKOqz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DR7hKOqz.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-C4usy4AG.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-C4usy4AG.css\"",">",2,"stylesheet#/assets/app-page-_8WKqHTZ.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-_8WKqHTZ.css\"",">"],"defer":[2,"/assets/settings-pakAMqK1.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-pakAMqK1.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/_DeWBAMhg.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DeWBAMhg.js\"",">",2,"modulepreload#/assets/_DR7hKOqz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DR7hKOqz.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-C4usy4AG.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-C4usy4AG.css\"",">",2,"stylesheet#/assets/app-page-_8WKqHTZ.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-_8WKqHTZ.css\"",">"],"defer":[2,"/assets/w-pakAMqK1.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-pakAMqK1.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/_DeWBAMhg.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DeWBAMhg.js\"",">",2,"modulepreload#/assets/_DR7hKOqz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DR7hKOqz.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-C4usy4AG.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-C4usy4AG.css\"",">",2,"stylesheet#/assets/app-page-_8WKqHTZ.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-_8WKqHTZ.css\"",">"],"defer":[2,"/assets/w._-C61prGDD.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-C61prGDD.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/_DeWBAMhg.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DeWBAMhg.js\"",">",2,"modulepreload#/assets/_DR7hKOqz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DR7hKOqz.js\"",">"]},"_z":{"block":[2,"stylesheet#/assets/review-view-DQlebETV.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-DQlebETV.css\"",">",2,"stylesheet#/assets/icon-arrow-down-C4usy4AG.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-C4usy4AG.css\"",">"],"defer":[2,"/assets/review-view-VBKxKYIj.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-VBKxKYIj.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">"]}};
26538
+ ;var __MARKO_MANIFEST__={"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-CtcHHJio.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CtcHHJio.css\"",">",2,"stylesheet#/assets/app-page-CRushKCr.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CRushKCr.css\"",">"],"defer":[2,"/assets/w._-Rx4dBoTQ.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-Rx4dBoTQ.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/_CYqX2f3f.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CYqX2f3f.js\"",">",2,"modulepreload#/assets/_DjPbyhtm.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DjPbyhtm.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-CtcHHJio.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CtcHHJio.css\"",">",2,"stylesheet#/assets/app-page-CRushKCr.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CRushKCr.css\"",">"],"defer":[2,"/assets/settings-Rx4dBoTQ.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-Rx4dBoTQ.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/_CYqX2f3f.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CYqX2f3f.js\"",">",2,"modulepreload#/assets/_DjPbyhtm.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DjPbyhtm.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-CtcHHJio.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CtcHHJio.css\"",">",2,"stylesheet#/assets/app-page-CRushKCr.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CRushKCr.css\"",">"],"defer":[2,"/assets/new-Rx4dBoTQ.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-Rx4dBoTQ.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/_CYqX2f3f.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CYqX2f3f.js\"",">",2,"modulepreload#/assets/_DjPbyhtm.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DjPbyhtm.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-CtcHHJio.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CtcHHJio.css\"",">",2,"stylesheet#/assets/app-page-CRushKCr.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CRushKCr.css\"",">"],"defer":[2,"/assets/w-Rx4dBoTQ.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-Rx4dBoTQ.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/_CYqX2f3f.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CYqX2f3f.js\"",">",2,"modulepreload#/assets/_DjPbyhtm.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DjPbyhtm.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-CtcHHJio.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CtcHHJio.css\"",">",2,"stylesheet#/assets/app-page-CRushKCr.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CRushKCr.css\"",">"],"defer":[2,"/assets/w._-DqT00bZV.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-DqT00bZV.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/_CYqX2f3f.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CYqX2f3f.js\"",">",2,"modulepreload#/assets/_DjPbyhtm.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DjPbyhtm.js\"",">"]},"_z":{"block":[2,"stylesheet#/assets/review-view-B95CZ5lI.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-B95CZ5lI.css\"",">",2,"stylesheet#/assets/icon-arrow-down-CtcHHJio.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-CtcHHJio.css\"",">"],"defer":[2,"/assets/review-view-DGJFqqiT.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-DGJFqqiT.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">"]}};