@dylanpiercey/work 0.0.156 → 0.0.157

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 (73) hide show
  1. package/dist/index.mjs +884 -1041
  2. package/dist/public/assets/_2vYIuIib.js +1 -0
  3. package/dist/public/assets/_BB0LITVp.js +1 -0
  4. package/dist/public/assets/_BIJpL70W.js +1 -0
  5. package/dist/public/assets/_BQi9QWKd.js +1 -0
  6. package/dist/public/assets/_BcEuKTJx.js +1 -0
  7. package/dist/public/assets/_Bsl8llqw.js +1 -0
  8. package/dist/public/assets/_BxQ_-xPH.js +1 -0
  9. package/dist/public/assets/_C-2aR8XG.js +1 -0
  10. package/dist/public/assets/_C3ym7hxu.js +1 -0
  11. package/dist/public/assets/_CUAQigw_.js +83 -0
  12. package/dist/public/assets/_CUAQigw_.js.br +0 -0
  13. package/dist/public/assets/_Cf-9k3zD.js +1 -0
  14. package/dist/public/assets/{_Uo3NXPui.js → _Cjgj-pBB.js} +1 -1
  15. package/dist/public/assets/_Cjgj-pBB.js.br +0 -0
  16. package/dist/public/assets/_D66zCDkb.js +1 -0
  17. package/dist/public/assets/_DOiEoSai.js +1 -0
  18. package/dist/public/assets/_DfpiGKYM.js +1 -0
  19. package/dist/public/assets/_Jqsd_7oO.js +1 -0
  20. package/dist/public/assets/_SbAHZSQh.js +1 -0
  21. package/dist/public/assets/_YoOFMyGk.js +1 -0
  22. package/dist/public/assets/{_HiS0aCND.js → _dHGVn24e.js} +4 -4
  23. package/dist/public/assets/_dHGVn24e.js.br +0 -0
  24. package/dist/public/assets/_eF6YdkxU.js +1 -0
  25. package/dist/public/assets/_qEbnUCeE.js +1 -0
  26. package/dist/public/assets/_r5iIfsdp.js +1 -0
  27. package/dist/public/assets/app-page-D2BI9pqy.css +1 -0
  28. package/dist/public/assets/app-page-D2BI9pqy.css.br +0 -0
  29. package/dist/public/assets/diff-view-CDR_rQOe.css +1 -0
  30. package/dist/public/assets/diff-view-CDR_rQOe.css.br +0 -0
  31. package/dist/public/assets/diff-view-CyDQspSd.js +2 -0
  32. package/dist/public/assets/{icon-arrow-down-CK1qiyoU.css → icon-arrow-down-xhBqf52S.css} +1 -1
  33. package/dist/public/assets/icon-arrow-down-xhBqf52S.css.br +0 -0
  34. package/dist/public/assets/new-xKLJRIst.js +1 -0
  35. package/dist/public/assets/settings-xKLJRIst.js +1 -0
  36. package/dist/public/assets/w-xKLJRIst.js +1 -0
  37. package/dist/public/assets/w._-CaFh5fWn.js +1 -0
  38. package/dist/public/assets/w._-xKLJRIst.js +1 -0
  39. package/package.json +1 -1
  40. package/dist/public/assets/_3TAs6e3a.js +0 -1
  41. package/dist/public/assets/_BhzAQNcR.js +0 -1
  42. package/dist/public/assets/_Bs0GH8Un.js +0 -1
  43. package/dist/public/assets/_BsQdE43w.js +0 -1
  44. package/dist/public/assets/_Bu6zDaCf.js +0 -1
  45. package/dist/public/assets/_C0Hkg4LE.js +0 -1
  46. package/dist/public/assets/_C91MT5yy.js +0 -83
  47. package/dist/public/assets/_C91MT5yy.js.br +0 -0
  48. package/dist/public/assets/_CSyaSvmu.js +0 -1
  49. package/dist/public/assets/_CdmnYrOv.js +0 -1
  50. package/dist/public/assets/_Cprr2EDj.js +0 -1
  51. package/dist/public/assets/_CrjqDD-b.js +0 -1
  52. package/dist/public/assets/_CuD02PHO.js +0 -1
  53. package/dist/public/assets/_DUCGBps_.js +0 -1
  54. package/dist/public/assets/_DWip1MXY.js +0 -1
  55. package/dist/public/assets/_DjkR1-0g.js +0 -1
  56. package/dist/public/assets/_DtIeV3eK.js +0 -1
  57. package/dist/public/assets/_EshNWd65.js +0 -1
  58. package/dist/public/assets/_GGdKVYFt.js +0 -1
  59. package/dist/public/assets/_HiS0aCND.js.br +0 -0
  60. package/dist/public/assets/_QXWaVkby.js +0 -1
  61. package/dist/public/assets/_Uo3NXPui.js.br +0 -0
  62. package/dist/public/assets/_X3Y1Ka-i.js +0 -1
  63. package/dist/public/assets/app-page-C_8cFCmf.css +0 -1
  64. package/dist/public/assets/app-page-C_8cFCmf.css.br +0 -0
  65. package/dist/public/assets/diff-view-Bb2JIhMi.css +0 -1
  66. package/dist/public/assets/diff-view-Bb2JIhMi.css.br +0 -0
  67. package/dist/public/assets/diff-view-D8GrPRg5.js +0 -2
  68. package/dist/public/assets/icon-arrow-down-CK1qiyoU.css.br +0 -0
  69. package/dist/public/assets/new-DvLxb34o.js +0 -1
  70. package/dist/public/assets/settings-DvLxb34o.js +0 -1
  71. package/dist/public/assets/w-DvLxb34o.js +0 -1
  72. package/dist/public/assets/w._-DvLxb34o.js +0 -1
  73. package/dist/public/assets/w._-I2MUgpxd.js +0 -1
package/dist/index.mjs CHANGED
@@ -6748,7 +6748,7 @@ function isAuthDeathResponse(res) {
6748
6748
  *
6749
6749
  * Behind an auth proxy, an expired session turns into login HTML (or 401).
6750
6750
  * Reload once — same fix users already apply by hand, hosting-agnostic. */
6751
- async function api$11(url, init) {
6751
+ async function api$10(url, init) {
6752
6752
  const res = await fetch(url, init);
6753
6753
  if (isAuthDeathResponse(res)) {
6754
6754
  reloadOnceForAuth();
@@ -6818,7 +6818,7 @@ function getUsage(refresh = false) {
6818
6818
  if (cached$1 && Date.now() - cached$1.at < TTL_MS) return Promise.resolve(cached$1.value);
6819
6819
  if (inflight) return inflight;
6820
6820
  }
6821
- inflight = api$11(`/api/usage${refresh ? "?refresh" : ""}`).then((value) => {
6821
+ inflight = api$10(`/api/usage${refresh ? "?refresh" : ""}`).then((value) => {
6822
6822
  setCached(value);
6823
6823
  return value;
6824
6824
  }).catch((err) => {
@@ -7252,19 +7252,19 @@ function applyInstance(inst) {
7252
7252
  if (icon) icon.href = `/api/instance/icon${inst.accent ? `?v=${inst.accent.slice(1)}` : ""}`;
7253
7253
  syncThemeColorMetas(theme(), inst.accent || "");
7254
7254
  }
7255
- var agentList = "_cQ _bZ _cD _cO";
7256
- var agentRow = "_cU _cE";
7257
- var toolGrid = "_c2 _cO";
7258
- var toolRow = "_c3 _cP";
7259
- var themeSeg = "_dq _be";
7260
- var checkList = "_dW _bX";
7261
- var list$2 = "_cQ _bZ _cD _cO";
7262
- var flatCardRow = "_cR _cP";
7263
- var pop$1 = "_d6 __";
7264
- var spinner = "_d9 _2 _G";
7265
- var busy = "_ec _eb";
7266
- var pop = "_ee __";
7267
- var sectionCount = "_bW _N _O";
7255
+ var agentList = "_ed _cd _d1 _eb";
7256
+ var agentRow = "_fA _d2";
7257
+ var toolGrid = "_fI _eb";
7258
+ var toolRow = "_fJ _ec";
7259
+ var themeSeg = "_f7 _be";
7260
+ var checkList = "_gC _cb";
7261
+ var list$2 = "_ed _cd _d1 _eb";
7262
+ var flatCardRow = "_ee _ec";
7263
+ var pop$1 = "_fu __";
7264
+ var spinner = "_fx _2 _G";
7265
+ var busy = "_fk _fj";
7266
+ var pop = "_fm __";
7267
+ var sectionCount = "_ca _N _O";
7268
7268
  var iconBtn$1 = "_5 _l";
7269
7269
  //#endregion
7270
7270
  //#region src/tags/icons/icon-refresh.marko
@@ -7305,18 +7305,18 @@ var icon_back_default = _template("R", (input) => {
7305
7305
  var page_head_default = _template("u", (input) => {
7306
7306
  const $scope0_reason = _scope_reason(), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions = _serialize_guard($scope0_reason, 3), $sg__input_meta = _serialize_guard($scope0_reason, 6), $sg__input_actions = _serialize_guard($scope0_reason, 7), $si__input_backHref__OR__input_onBack = _serialize_if($scope0_reason, 1), $si__input_meta = _serialize_if($scope0_reason, 6), $si__input_actions = _serialize_if($scope0_reason, 7);
7307
7307
  const $scope0_id = _scope_id();
7308
- _html(`<header${_attr_class("_cy")}>`);
7308
+ _html(`<header${_attr_class("_dW")}>`);
7309
7309
  _if(() => {
7310
7310
  if (input.backHref) {
7311
7311
  const $scope1_id = _scope_id();
7312
- _html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_gK"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7312
+ _html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_gM"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7313
7313
  icon_back_default({ size: 14 });
7314
7314
  _html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 0))}`);
7315
7315
  _serialize_if($scope0_reason, 2) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 0) && _scope_with_id($scope0_id) });
7316
7316
  return 0;
7317
7317
  } else if (input.onBack) {
7318
7318
  const $scope2_id = _scope_id();
7319
- _html(`<button${_attr_class([iconBtnRow, "_gK"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7319
+ _html(`<button${_attr_class([iconBtnRow, "_gM"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7320
7320
  icon_back_default({ size: 14 });
7321
7321
  _html(`</button>${_el_resume($scope2_id, "a")}`);
7322
7322
  _script($scope2_id, "u0");
@@ -7324,11 +7324,11 @@ var page_head_default = _template("u", (input) => {
7324
7324
  return 1;
7325
7325
  }
7326
7326
  }, $scope0_id, "b", _serialize_guard($scope0_reason, 2), _serialize_guard($scope0_reason, 1), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions, 0, 1);
7327
- _html(`<div${_attr_class("_cA")}><h1${_attr("id", input.titleId)}${_attr_class("_cz")}>${_text_resume($scope0_id, "e", input.title, _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
7327
+ _html(`<div${_attr_class("_dY")}><h1${_attr("id", input.titleId)}${_attr_class("_dX")}>${_text_resume($scope0_id, "e", input.title, _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
7328
7328
  _if(() => {
7329
7329
  if (input.meta) {
7330
7330
  const $scope3_id = _scope_id();
7331
- _html(`<p${_attr_class("_cB")}>`);
7331
+ _html(`<p${_attr_class("_dZ")}>`);
7332
7332
  _dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
7333
7333
  _html("</p>");
7334
7334
  $si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
@@ -7339,7 +7339,7 @@ var page_head_default = _template("u", (input) => {
7339
7339
  _if(() => {
7340
7340
  if (input.actions) {
7341
7341
  const $scope4_id = _scope_id();
7342
- _html(`<div${_attr_class("_cC")}>`);
7342
+ _html(`<div${_attr_class("_d0")}>`);
7343
7343
  _dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
7344
7344
  _html("</div>");
7345
7345
  $si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
@@ -7407,7 +7407,7 @@ var icon_agent_default = _template("L", (input) => {
7407
7407
  n: $badge__closures
7408
7408
  });
7409
7409
  });
7410
- var usageNote = "_gR _X";
7410
+ var usageNote = "_gT _X";
7411
7411
  //#endregion
7412
7412
  //#region src/tags/icons/icon-warning.marko
7413
7413
  var icon_warning_default = _template("sb", (input) => {
@@ -7437,11 +7437,11 @@ var usage_meters_default = _template("H", (input) => {
7437
7437
  const $scope0_reason = _scope_reason(), $sg__input_agent__OR__input_hideName = _serialize_guard($scope0_reason, 0), $sg__input_agent = _serialize_guard($scope0_reason, 1), $si__input_agent = _serialize_if($scope0_reason, 1), $sg__input_hideName = _serialize_guard($scope0_reason, 2), $si__input_agent__OR__input_hideName = _serialize_if($scope0_reason, 0);
7438
7438
  const $scope0_id = _scope_id();
7439
7439
  const agent = input.agent;
7440
- _html(`<div${_attr_class(["_gL", { ["_gM"]: input.hideName }])}><div${_attr_class("_gN")}>`);
7440
+ _html(`<div${_attr_class(["_gN", { ["_gO"]: input.hideName }])}><div${_attr_class("_gP")}>`);
7441
7441
  _if(() => {
7442
7442
  if (!input.hideName) {
7443
7443
  const $scope1_id = _scope_id();
7444
- _html(`<strong${_attr_class("_g6")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
7444
+ _html(`<strong${_attr_class("_g8")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
7445
7445
  $si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
7446
7446
  return 0;
7447
7447
  }
@@ -7449,7 +7449,7 @@ var usage_meters_default = _template("H", (input) => {
7449
7449
  _if(() => {
7450
7450
  if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
7451
7451
  const $scope2_id = _scope_id();
7452
- _html(`<span${_attr_class("_gO")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
7452
+ _html(`<span${_attr_class("_gQ")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
7453
7453
  $si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
7454
7454
  return 0;
7455
7455
  }
@@ -7457,21 +7457,21 @@ var usage_meters_default = _template("H", (input) => {
7457
7457
  _if(() => {
7458
7458
  if (agent.stale_seconds != null) {
7459
7459
  const $scope3_id = _scope_id();
7460
- _html(`<span${_attr_class("_gP")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
7460
+ _html(`<span${_attr_class("_gR")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
7461
7461
  icon_warning_default({ size: 12 });
7462
7462
  _html(` ${_text_resume($scope3_id, "c", duration(agent.stale_seconds * 1e3), $sg__input_agent * 2)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
7463
7463
  $si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
7464
7464
  return 0;
7465
7465
  }
7466
7466
  }, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
7467
- _html(`</div><div${_attr_class(["_gQ", { ["_g7"]: agent.stale_seconds != null }])}>`);
7467
+ _html(`</div><div${_attr_class(["_gS", { ["_g9"]: agent.stale_seconds != null }])}>`);
7468
7468
  _for_of(agent.windows || [], (win) => {
7469
7469
  const $scope4_id = _scope_id();
7470
7470
  const pct = pctText(win.used_percent);
7471
7471
  const label = resetLabel(win.resets_at, agent.stale_seconds != null);
7472
- const fillClass = win.used_percent >= 90 ? "_gZ" : win.used_percent >= 70 ? "_gY" : win.used_percent >= 40 ? "_gX" : "_gW";
7473
- const pctClass = win.used_percent >= 90 ? "_g4" : win.used_percent >= 70 ? "_g3" : win.used_percent >= 40 ? "_g2" : "_g1";
7474
- _html(`<div${_attr_class("_gS")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_gT")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_gU")}><span${_attr_class(["_gV", fillClass])}${_attr_style(`width:${Math.min(100, Math.max(2, win.used_percent))}%`)}></span>${_el_resume($scope4_id, "e", $sg__input_agent)}</span><span${_attr_class(["_g0", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_g5")}>`);
7472
+ const fillClass = win.used_percent >= 90 ? "_g1" : win.used_percent >= 70 ? "_g0" : win.used_percent >= 40 ? "_gZ" : "_gY";
7473
+ const pctClass = win.used_percent >= 90 ? "_g6" : win.used_percent >= 70 ? "_g5" : win.used_percent >= 40 ? "_g4" : "_g3";
7474
+ _html(`<div${_attr_class("_gU")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_gV")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_gW")}><span${_attr_class(["_gX", 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(["_g2", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_g7")}>`);
7475
7475
  _if(() => {
7476
7476
  if (label) {
7477
7477
  const $scope6_id = _scope_id();
@@ -7548,7 +7548,7 @@ var icon_check_default = _template("V", (input) => {
7548
7548
  });
7549
7549
  //#endregion
7550
7550
  //#region src/tags/sso-auth.marko
7551
- var api$10;
7551
+ var api$9;
7552
7552
  var watchProgress$3;
7553
7553
  var sso_auth_default = _template("D", (input) => {
7554
7554
  const $scope0_reason = _scope_reason(), $sg__input_items = _serialize_guard($scope0_reason, 2), $sg__input_skipped__OR__input_items = _serialize_guard($scope0_reason, 0), $sg__input_skipped = _serialize_guard($scope0_reason, 1);
@@ -7574,7 +7574,7 @@ var sso_auth_default = _template("D", (input) => {
7574
7574
  });
7575
7575
  await watcher.ready;
7576
7576
  try {
7577
- await api$10(`/api/setup/${encodeURIComponent(host)}`, {
7577
+ await api$9(`/api/setup/${encodeURIComponent(host)}`, {
7578
7578
  method: "POST",
7579
7579
  headers: { "content-type": "application/json" },
7580
7580
  body: JSON.stringify({ action: "auth-refresh" })
@@ -7588,14 +7588,14 @@ var sso_auth_default = _template("D", (input) => {
7588
7588
  localCode = null;
7589
7589
  }
7590
7590
  }, "D0", $scope0_id);
7591
- _html(`<div${_attr_class(["_hd", input.class])}>`);
7591
+ _html(`<div${_attr_class(["_hU", input.class])}>`);
7592
7592
  _for_of(input.items, (s) => {
7593
7593
  const $scope1_id = _scope_id();
7594
- _html(`<div${_attr_class("_he")}><span${_attr_class("_hg")}><span${_attr_class("_hh")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_hi", "_hj"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
7594
+ _html(`<div${_attr_class("_hV")}><span${_attr_class("_hX")}><span${_attr_class("_hY")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_hZ", "_h0"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
7595
7595
  _if(() => {
7596
7596
  if (!busy) {
7597
7597
  const $scope2_id = _scope_id();
7598
- _html(`<button type=button${_attr_class([btnSm, "_r"])} title="Re-authorize GitHub CLI (same device flow as Sign in)">Authorize</button>${_el_resume($scope2_id, "a")}<button type=button${_attr_class([btnSm, "_hk"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
7598
+ _html(`<button type=button${_attr_class([btnSm, "_r"])} title="Re-authorize GitHub CLI (same device flow as Sign in)">Authorize</button>${_el_resume($scope2_id, "a")}<button type=button${_attr_class([btnSm, "_h1"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
7599
7599
  _script($scope2_id, "D1");
7600
7600
  writeScope($scope2_id, {});
7601
7601
  return 0;
@@ -7610,13 +7610,13 @@ var sso_auth_default = _template("D", (input) => {
7610
7610
  _if(() => {
7611
7611
  if (localBusy && localCode) {
7612
7612
  const $scope4_id = _scope_id();
7613
- _html(`<div${_attr_class(["_he", "_hl"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_hm")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_hn")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
7613
+ _html(`<div${_attr_class(["_hV", "_h2"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_h3")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_h4")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
7614
7614
  _script($scope4_id, "D2");
7615
7615
  writeScope($scope4_id, {});
7616
7616
  return 0;
7617
7617
  } else if (localBusy) {
7618
7618
  const $scope6_id = _scope_id();
7619
- _html(`<div${_attr_class(["_he", "_hl"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
7619
+ _html(`<div${_attr_class(["_hV", "_h2"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
7620
7620
  writeScope($scope6_id, {});
7621
7621
  return 1;
7622
7622
  }
@@ -7624,14 +7624,14 @@ var sso_auth_default = _template("D", (input) => {
7624
7624
  _if(() => {
7625
7625
  if (localError) {
7626
7626
  const $scope5_id = _scope_id();
7627
- _html(`<p${_attr_class(["_he", "_ho"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
7627
+ _html(`<p${_attr_class(["_hV", "_h5"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
7628
7628
  writeScope($scope5_id, {});
7629
7629
  return 0;
7630
7630
  }
7631
7631
  }, $scope0_id, "d", 1, 1, 1, 0, 1);
7632
7632
  _for_of(skipped, (s) => {
7633
7633
  const $scope3_id = _scope_id();
7634
- _html(`<div${_attr_class(["_he", "_hf"])}><span${_attr_class("_hg")}><span${_attr_class("_hh")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_hi")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_hk"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
7634
+ _html(`<div${_attr_class(["_hV", "_hW"])}><span${_attr_class("_hX")}><span${_attr_class("_hY")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_hZ")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_h1"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
7635
7635
  _script($scope3_id, "D3");
7636
7636
  writeScope($scope3_id, {
7637
7637
  i: s?.org,
@@ -7699,7 +7699,7 @@ var skill_chip_default = _template("C", (input) => {
7699
7699
  const $input_tags__closures = /* @__PURE__ */ new Set();
7700
7700
  const $input_actions__closures = /* @__PURE__ */ new Set();
7701
7701
  const $input_trailing__closures = /* @__PURE__ */ new Set();
7702
- _html(`<li${_attr_class("_ea")}>`);
7702
+ _html(`<li${_attr_class("_fi")}>`);
7703
7703
  _if(() => {
7704
7704
  if (input.busy != null) {
7705
7705
  const $scope1_id = _scope_id();
@@ -7709,20 +7709,20 @@ var skill_chip_default = _template("C", (input) => {
7709
7709
  } else {
7710
7710
  const $scope2_id = _scope_id();
7711
7711
  const popId = _id();
7712
- _html(`<button${_attr_class("_eb")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7712
+ _html(`<button${_attr_class("_fj")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7713
7713
  _if(() => {
7714
7714
  if (input.hint) {
7715
7715
  const $scope3_id = _scope_id();
7716
- _html(`<span${_attr_class("_ed")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7716
+ _html(`<span${_attr_class("_fl")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7717
7717
  $si__input_busy__OR__input_hint && _subscribe($si__input_hint && $input_hint__closures, writeScope($scope3_id, { _: _scope_with_id($scope2_id) }));
7718
7718
  return 0;
7719
7719
  }
7720
7720
  }, $scope2_id, "c", $sg__input_hint, $sg__input_hint, $sg__input_hint__OR__input_description__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal__OR__input_tags__OR__input_actions__OR__input_trailing, 0, 1);
7721
- _html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["_b1", "_y"])}>${_text_resume($scope2_id, "f", input.name, $sg__input_name)}</span>`);
7721
+ _html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["_cf", "_y"])}>${_text_resume($scope2_id, "f", input.name, $sg__input_name)}</span>`);
7722
7722
  _if(() => {
7723
7723
  if (input.description) {
7724
7724
  const $scope4_id = _scope_id();
7725
- _html(`<span${_attr_class("_b3")}${_attr("title", input.description)}>${_text_resume($scope4_id, "b", input.description, $sg__input_description)}</span>${_el_resume($scope4_id, "a", $sg__input_description)}`);
7725
+ _html(`<span${_attr_class("_ch")}${_attr("title", input.description)}>${_text_resume($scope4_id, "b", input.description, $sg__input_description)}</span>${_el_resume($scope4_id, "a", $sg__input_description)}`);
7726
7726
  $si__input_busy__OR__input_description && _subscribe($si__input_description && $input_description__closures, writeScope($scope4_id, { _: _scope_with_id($scope2_id) }));
7727
7727
  return 0;
7728
7728
  }
@@ -7730,12 +7730,12 @@ var skill_chip_default = _template("C", (input) => {
7730
7730
  _if(() => {
7731
7731
  if (input.sourceUrl) {
7732
7732
  const $scope5_id = _scope_id();
7733
- _html(`<a${_attr_class(["_b3", "_K"])}${_attr("href", input.sourceUrl)} target=_blank rel=noopener${_attr("title", `Open ${input.source} on GitHub`)}>${_text_resume($scope5_id, "b", input.source, $sg__input_source)}</a>${_el_resume($scope5_id, "a", _serialize_guard($scope0_reason, 6))}`);
7733
+ _html(`<a${_attr_class(["_ch", "_K"])}${_attr("href", input.sourceUrl)} target=_blank rel=noopener${_attr("title", `Open ${input.source} on GitHub`)}>${_text_resume($scope5_id, "b", input.source, $sg__input_source)}</a>${_el_resume($scope5_id, "a", _serialize_guard($scope0_reason, 6))}`);
7734
7734
  $si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal && _subscribe($si__input_source && $input_source__closures, _subscribe($si__input_sourceUrl && $input_sourceUrl__closures, writeScope($scope5_id, { _: _scope_with_id($scope2_id) })));
7735
7735
  return 0;
7736
7736
  } else if (input.source) {
7737
7737
  const $scope6_id = _scope_id();
7738
- _html(`<span${_attr_class("_b3")}>${_text_resume($scope6_id, "b", input.source, $sg__input_source)}</span>`);
7738
+ _html(`<span${_attr_class("_ch")}>${_text_resume($scope6_id, "b", input.source, $sg__input_source)}</span>`);
7739
7739
  $si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal && _subscribe($si__input_source && $input_source__closures, writeScope($scope6_id, {
7740
7740
  _: _scope_with_id($scope2_id),
7741
7741
  Cs: $si__input_source && 1
@@ -7743,7 +7743,7 @@ var skill_chip_default = _template("C", (input) => {
7743
7743
  return 1;
7744
7744
  } else if (input.noteLocal) {
7745
7745
  const $scope10_id = _scope_id();
7746
- _html(`<span${_attr_class(["_b3", "_x"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
7746
+ _html(`<span${_attr_class(["_ch", "_x"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
7747
7747
  _serialize_if($scope0_reason, 8) && writeScope($scope10_id, {});
7748
7748
  return 2;
7749
7749
  }
@@ -7751,7 +7751,7 @@ var skill_chip_default = _template("C", (input) => {
7751
7751
  _if(() => {
7752
7752
  if (input.tags) {
7753
7753
  const $scope7_id = _scope_id();
7754
- _html(`<span${_attr_class("_b2")}>`);
7754
+ _html(`<span${_attr_class("_cg")}>`);
7755
7755
  _dynamic_tag($scope7_id, "b", input.tags, {}, 0, 0, $sg__input_tags);
7756
7756
  _html("</span>");
7757
7757
  $si__input_busy__OR__input_tags && _subscribe($si__input_tags && $input_tags__closures, writeScope($scope7_id, { _: _scope_with_id($scope2_id) }));
@@ -7761,7 +7761,7 @@ var skill_chip_default = _template("C", (input) => {
7761
7761
  _if(() => {
7762
7762
  if (input.actions) {
7763
7763
  const $scope8_id = _scope_id();
7764
- _html(`<div${_attr_class("_ef")}>`);
7764
+ _html(`<div${_attr_class("_fn")}>`);
7765
7765
  _dynamic_tag($scope8_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
7766
7766
  _html("</div>");
7767
7767
  $si__input_busy__OR__input_actions && _subscribe($si__input_actions && $input_actions__closures, writeScope($scope8_id, { _: _scope_with_id($scope2_id) }));
@@ -7872,7 +7872,7 @@ var icon_moon_default = _template("jb", (input) => {
7872
7872
  });
7873
7873
  //#endregion
7874
7874
  //#region src/tags/prompt-dialog.css.ts
7875
- var promptDlg = "_hc _g9";
7875
+ var promptDlg = "_hT _hP";
7876
7876
  //#endregion
7877
7877
  //#region src/tags/dialog-close.marko
7878
7878
  var dialog_close_default = _template("f", (input) => {
@@ -7896,7 +7896,7 @@ var modal_view_default = _template("s", (input) => {
7896
7896
  const { label, class: inputClass, open: _open, openChange: _openChange, dismissable: _dismissable, content, footer, closedby: _closedby, onCancel: _onCancel, onClose: _onClose, "aria-label": inputAriaLabel, "aria-labelledby": inputLabelledBy, ...htmlInput } = input;
7897
7897
  const dismissable = input.dismissable !== false;
7898
7898
  let open = input.open;
7899
- _html(`<dialog${_attr_class(["_g8", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
7899
+ _html(`<dialog${_attr_class(["_hO", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
7900
7900
  ...htmlInput,
7901
7901
  open: null
7902
7902
  }, {
@@ -7906,20 +7906,20 @@ var modal_view_default = _template("s", (input) => {
7906
7906
  closedby: 1,
7907
7907
  "on-cancel": 1,
7908
7908
  "on-close": 1
7909
- }, "a", $scope0_id, "dialog")}><div${_attr_class("_ha")}>`);
7909
+ }, "a", $scope0_id, "dialog")}><div${_attr_class("_hR")}>`);
7910
7910
  _dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
7911
7911
  _html("</div>");
7912
7912
  _if(() => {
7913
7913
  if (footer) {
7914
7914
  const $scope1_id = _scope_id();
7915
- _html(`<form method=dialog${_attr_class("_hb")}>`);
7915
+ _html(`<form method=dialog${_attr_class("_hS")}>`);
7916
7916
  _dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
7917
7917
  _html("</form>");
7918
7918
  $si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
7919
7919
  return 0;
7920
7920
  } else if (input.openChange) {
7921
7921
  const $scope2_id = _scope_id();
7922
- _html(`<form method=dialog${_attr_class("_hb")}>`);
7922
+ _html(`<form method=dialog${_attr_class("_hS")}>`);
7923
7923
  dialog_close_default({
7924
7924
  class: ["_q", "_r"],
7925
7925
  content: _content("s0", () => {
@@ -8003,7 +8003,7 @@ var prompt_dialog_default = _template("v", (input) => {
8003
8003
  content: _content("v7", () => {
8004
8004
  _scope_reason();
8005
8005
  const $scope2_id = _scope_id();
8006
- _html(`<h2${_attr_class("_g_")}${_attr("id", titleId)}>${_text_resume($scope2_id, "b", input.label, $sg__input_label)}</h2><input${_attr_input_value($scope2_id, "c", value, _resume((_new_value) => {
8006
+ _html(`<h2${_attr_class("_hQ")}${_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) => {
8007
8007
  value = _new_value;
8008
8008
  }, "v0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
8009
8009
  _script($scope2_id, "v5");
@@ -8033,7 +8033,7 @@ var prompt_dialog_default = _template("v", (input) => {
8033
8033
  });
8034
8034
  //#endregion
8035
8035
  //#region src/tags/settings-page.marko
8036
- var api$9;
8036
+ var api$8;
8037
8037
  var isTransientApiError$2;
8038
8038
  var watchProgress$2;
8039
8039
  var MISSING_LABEL = {
@@ -8129,7 +8129,7 @@ var settings_page_default = _template("y", (input$3) => {
8129
8129
  }, "y9", $scope0_id);
8130
8130
  const syncAgents = _resume(async () => {
8131
8131
  try {
8132
- const snap = await api$9("/api/settings");
8132
+ const snap = await api$8("/api/settings");
8133
8133
  input$3.agentsChange?.(snap.agents);
8134
8134
  if (snap.preferredAgent !== input$3.preferred) input$3.preferredChange?.(snap.preferredAgent);
8135
8135
  } catch {}
@@ -8137,7 +8137,7 @@ var settings_page_default = _template("y", (input$3) => {
8137
8137
  let retryWhenBack = false;
8138
8138
  const loadSetup = _resume(async (refresh) => {
8139
8139
  try {
8140
- applySetup(await api$9(`/api/setup${refresh ? "?refresh" : ""}`));
8140
+ applySetup(await api$8(`/api/setup${refresh ? "?refresh" : ""}`));
8141
8141
  retryWhenBack = false;
8142
8142
  } catch (err) {
8143
8143
  if (isTransientApiError$2(err)) retryWhenBack = true;
@@ -8146,7 +8146,7 @@ var settings_page_default = _template("y", (input$3) => {
8146
8146
  }, "y11", $scope0_id);
8147
8147
  const loadSelf = _resume(async (refresh) => {
8148
8148
  try {
8149
- const info = await api$9(`/api/setup/self${refresh ? "?refresh" : ""}`);
8149
+ const info = await api$8(`/api/setup/self${refresh ? "?refresh" : ""}`);
8150
8150
  self = info;
8151
8151
  if (info.updating) selfUpdating = true;
8152
8152
  } catch {}
@@ -8156,7 +8156,7 @@ var settings_page_default = _template("y", (input$3) => {
8156
8156
  selfUpdating = true;
8157
8157
  const from = self.version;
8158
8158
  try {
8159
- await api$9("/api/setup/self", { method: "POST" });
8159
+ await api$8("/api/setup/self", { method: "POST" });
8160
8160
  } catch (err) {
8161
8161
  selfUpdating = false;
8162
8162
  error = String(err.message || err);
@@ -8165,7 +8165,7 @@ var settings_page_default = _template("y", (input$3) => {
8165
8165
  const started = Date.now();
8166
8166
  const tick = async () => {
8167
8167
  try {
8168
- if ((await api$9("/api/setup/self")).version !== from) {
8168
+ if ((await api$8("/api/setup/self")).version !== from) {
8169
8169
  location.reload();
8170
8170
  return;
8171
8171
  }
@@ -8207,7 +8207,7 @@ var settings_page_default = _template("y", (input$3) => {
8207
8207
  });
8208
8208
  await watcher.ready;
8209
8209
  try {
8210
- applySetup(await api$9(`/api/setup/${encodeURIComponent(id)}`, {
8210
+ applySetup(await api$8(`/api/setup/${encodeURIComponent(id)}`, {
8211
8211
  method: "POST",
8212
8212
  headers: { "content-type": "application/json" },
8213
8213
  body: JSON.stringify({
@@ -8241,7 +8241,7 @@ var settings_page_default = _template("y", (input$3) => {
8241
8241
  const loadSkills = _resume(async () => {
8242
8242
  const seq = ++skillSeq.issued;
8243
8243
  try {
8244
- applySkills(await api$9("/api/skills"), seq);
8244
+ applySkills(await api$8("/api/skills"), seq);
8245
8245
  } catch {}
8246
8246
  }, "y20", $scope0_id);
8247
8247
  const runSkill = _resume(async (key, body) => {
@@ -8252,7 +8252,7 @@ var settings_page_default = _template("y", (input$3) => {
8252
8252
  await watcher.ready;
8253
8253
  const seq = ++skillSeq.issued;
8254
8254
  try {
8255
- applySkills(await api$9("/api/skills", {
8255
+ applySkills(await api$8("/api/skills", {
8256
8256
  method: "POST",
8257
8257
  headers: { "content-type": "application/json" },
8258
8258
  body: JSON.stringify(body)
@@ -8295,7 +8295,7 @@ var settings_page_default = _template("y", (input$3) => {
8295
8295
  backupBusy = "preflight";
8296
8296
  backupLine = "";
8297
8297
  try {
8298
- const found = await api$9("/api/backup/preflight", { method: "POST" });
8298
+ const found = await api$8("/api/backup/preflight", { method: "POST" });
8299
8299
  if (found.workspaces.length) preflight = found;
8300
8300
  else downloadManifest();
8301
8301
  } catch (err) {
@@ -8318,7 +8318,7 @@ var settings_page_default = _template("y", (input$3) => {
8318
8318
  return;
8319
8319
  }
8320
8320
  try {
8321
- const preview = await api$9("/api/backup/preview", {
8321
+ const preview = await api$8("/api/backup/preview", {
8322
8322
  method: "POST",
8323
8323
  headers: { "content-type": "application/json" },
8324
8324
  body: JSON.stringify(manifest)
@@ -8354,7 +8354,7 @@ var settings_page_default = _template("y", (input$3) => {
8354
8354
  });
8355
8355
  await watcher.ready;
8356
8356
  try {
8357
- const n = (await api$9("/api/backup/restore", {
8357
+ const n = (await api$8("/api/backup/restore", {
8358
8358
  method: "POST",
8359
8359
  headers: { "content-type": "application/json" },
8360
8360
  body: JSON.stringify({
@@ -8390,7 +8390,7 @@ var settings_page_default = _template("y", (input$3) => {
8390
8390
  skillSearching = true;
8391
8391
  skillTimer.id = setTimeout(async () => {
8392
8392
  try {
8393
- const res = await api$9(`/api/skills/search?q=${encodeURIComponent(q.trim())}`);
8393
+ const res = await api$8(`/api/skills/search?q=${encodeURIComponent(q.trim())}`);
8394
8394
  if (skillQuery === q) skillHits = res;
8395
8395
  } catch (err) {
8396
8396
  error = String(err.message || err);
@@ -8403,7 +8403,7 @@ var settings_page_default = _template("y", (input$3) => {
8403
8403
  hostBusy = true;
8404
8404
  error = null;
8405
8405
  try {
8406
- applySetup(await api$9("/api/github/hosts", {
8406
+ applySetup(await api$8("/api/github/hosts", {
8407
8407
  method: "POST",
8408
8408
  headers: { "content-type": "application/json" },
8409
8409
  body: JSON.stringify({
@@ -8427,7 +8427,7 @@ var settings_page_default = _template("y", (input$3) => {
8427
8427
  const setPreferred = _resume(async (agent) => {
8428
8428
  input$3.preferredChange?.(agent);
8429
8429
  try {
8430
- await api$9("/api/settings", {
8430
+ await api$8("/api/settings", {
8431
8431
  method: "PUT",
8432
8432
  headers: { "content-type": "application/json" },
8433
8433
  body: JSON.stringify({ preferredAgent: agent })
@@ -8447,7 +8447,7 @@ var settings_page_default = _template("y", (input$3) => {
8447
8447
  clearTimeout(saveTimer.id);
8448
8448
  saveTimer.id = setTimeout(async () => {
8449
8449
  try {
8450
- const snap = await api$9("/api/settings", {
8450
+ const snap = await api$8("/api/settings", {
8451
8451
  method: "PUT",
8452
8452
  headers: { "content-type": "application/json" },
8453
8453
  body: JSON.stringify({ instance: next })
@@ -8467,7 +8467,7 @@ var settings_page_default = _template("y", (input$3) => {
8467
8467
  if (on) off.delete(id);
8468
8468
  else off.add(id);
8469
8469
  try {
8470
- const snap = await api$9("/api/settings", {
8470
+ const snap = await api$8("/api/settings", {
8471
8471
  method: "PUT",
8472
8472
  headers: { "content-type": "application/json" },
8473
8473
  body: JSON.stringify({ disabledAgents: [...off] })
@@ -8499,7 +8499,7 @@ var settings_page_default = _template("y", (input$3) => {
8499
8499
  searching = true;
8500
8500
  searchTimer.id = setTimeout(async () => {
8501
8501
  try {
8502
- const res = await api$9(`/api/setup/search?q=${encodeURIComponent(q.trim())}`);
8502
+ const res = await api$8(`/api/setup/search?q=${encodeURIComponent(q.trim())}`);
8503
8503
  if (query === q) hits = res;
8504
8504
  } catch (err) {
8505
8505
  error = String(err.message || err);
@@ -8525,7 +8525,7 @@ var settings_page_default = _template("y", (input$3) => {
8525
8525
  const githubId = _id();
8526
8526
  const backupId = _id();
8527
8527
  const machineId = _id();
8528
- _html(`<div${_attr_class("_cv")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_cw")}><div${_attr_class("_cx")}>`);
8528
+ _html(`<div${_attr_class("_dT")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_dU")}><div${_attr_class("_dV")}>`);
8529
8529
  _set_serialize_reason({
8530
8530
  0: _serialize_guard($scope0_reason, 4),
8531
8531
  1: $sg__input_backHref__OR__input_onExit,
@@ -8537,7 +8537,7 @@ var settings_page_default = _template("y", (input$3) => {
8537
8537
  if (setup && !setup.ready) $meta = attrTag({ content: _content_resume("y44", () => {
8538
8538
  _scope_reason();
8539
8539
  const $scope4_id = _scope_id();
8540
- _html(`<span${_attr_class("_cT")}>Not ready</span>. Missing ${_text_resume($scope4_id, "b", setup.missing.map((m) => MISSING_LABEL[m] || m).join(", "), 2)}.`);
8540
+ _html(`<span${_attr_class("_fz")}>Not ready</span>. Missing ${_text_resume($scope4_id, "b", setup.missing.map((m) => MISSING_LABEL[m] || m).join(", "), 2)}.`);
8541
8541
  _subscribe($setup_missing__closures, writeScope($scope4_id, { _: _scope_with_id($scope0_id) }));
8542
8542
  _resume_branch($scope4_id);
8543
8543
  }, $scope0_id) });
@@ -8590,16 +8590,16 @@ var settings_page_default = _template("y", (input$3) => {
8590
8590
  _if(() => {
8591
8591
  if (selfUpdatePending || selfUpdating) {
8592
8592
  const $scope44_id = _scope_id();
8593
- _html(`<div${_attr_class("_du")} role=status><div${_attr_class("_dv")}>`);
8593
+ _html(`<div${_attr_class("_ga")} role=status><div${_attr_class("_gb")}>`);
8594
8594
  _if(() => {
8595
8595
  if (selfUpdating) {
8596
8596
  const $scope79_id = _scope_id();
8597
- _html(`<span${_attr_class("_dw")}><span${_attr_class("_G")}></span> Updating work…</span><span${_attr_class("_dx")}>The app restarts and reloads when it is done.</span>`);
8597
+ _html(`<span${_attr_class("_gc")}><span${_attr_class("_G")}></span> Updating work…</span><span${_attr_class("_gd")}>The app restarts and reloads when it is done.</span>`);
8598
8598
  writeScope($scope79_id, {});
8599
8599
  return 0;
8600
8600
  } else {
8601
8601
  const $scope45_id = _scope_id();
8602
- _html(`<span${_attr_class("_dw")}>Update available</span><span${_attr_class("_dx")}>v${_text_resume($scope45_id, "c", self.version, 2)} → v${_text_resume($scope45_id, "d", self.latest, 2)}</span>`);
8602
+ _html(`<span${_attr_class("_gc")}>Update available</span><span${_attr_class("_gd")}>v${_text_resume($scope45_id, "c", self.version, 2)} → v${_text_resume($scope45_id, "d", self.latest, 2)}</span>`);
8603
8603
  _subscribe($self_version__closures, _subscribe($self_latest__closures, writeScope($scope45_id, {})));
8604
8604
  return 1;
8605
8605
  }
@@ -8618,11 +8618,11 @@ var settings_page_default = _template("y", (input$3) => {
8618
8618
  return 0;
8619
8619
  }
8620
8620
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
8621
- _html(`<section${_attr_class("_bU")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bV")}><h2${_attr("id", agentsId)}${_attr_class("_b8")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_cV")}><span${_attr_class("_X")}>Default</span><span${_attr_class("_o")}>`);
8621
+ _html(`<section${_attr_class("_b9")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_b_")}><h2${_attr("id", agentsId)}${_attr_class("_cm")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_fB")}><span${_attr_class("_X")}>Default</span><span${_attr_class("_o")}>`);
8622
8622
  _attr_select_value($scope0_id, "n", input$3.preferred, _resume(function(v) {
8623
8623
  setPreferred(v);
8624
8624
  }, "y2", $scope0_id), () => {
8625
- _html(`<select${_attr_class(["_p", "_cW"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
8625
+ _html(`<select${_attr_class(["_p", "_fC"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
8626
8626
  _for_of(input$3.agents.filter((a) => a !== "shell"), (id) => {
8627
8627
  const $scope80_id = _scope_id();
8628
8628
  _html(`<option${_attr_option_value(id)}>${_text_resume($scope80_id, "b", agentLabel(id), $sg__input_agents)}</option>${_el_resume($scope80_id, "a", $sg__input_agents)}`);
@@ -8636,14 +8636,14 @@ var settings_page_default = _template("y", (input$3) => {
8636
8636
  const rows = lone ? [] : a.instances;
8637
8637
  const loneAccounts = lone ? accountsFor(lone.id) : [];
8638
8638
  const extraAccounts = a.installed ? strayAccountsFor(a) : [];
8639
- _html(`<li${_attr_class(agentRow)}><div${_attr_class(["_cX", { ["_cZ"]: lone && !lone.enabled }])}>`);
8639
+ _html(`<li${_attr_class(agentRow)}><div${_attr_class(["_fD", { ["_fF"]: lone && !lone.enabled }])}>`);
8640
8640
  _set_serialize_reason(12);
8641
8641
  const $childScope3 = _peek_scope_id();
8642
8642
  icon_agent_default({
8643
8643
  agent: a.id,
8644
8644
  size: 18
8645
8645
  });
8646
- _html(`<div${_attr_class("_b0")}><span${_attr_class("_b2")}><span${_attr_class("_b1")}>${_text_resume($scope1_id, "g", a.label)}</span>`);
8646
+ _html(`<div${_attr_class("_ce")}><span${_attr_class("_cg")}><span${_attr_class("_cf")}>${_text_resume($scope1_id, "g", a.label)}</span>`);
8647
8647
  _if(() => {
8648
8648
  if (lone && input$3.preferred === lone.id) {
8649
8649
  const $scope81_id = _scope_id();
@@ -8656,12 +8656,12 @@ var settings_page_default = _template("y", (input$3) => {
8656
8656
  _if(() => {
8657
8657
  if (active.has(a.id)) {
8658
8658
  const $scope12_id = _scope_id();
8659
- _html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope12_id, "c", active.get(a.id) || "Starting…")}</span>`);
8659
+ _html(`<span${_attr_class("_fy")}><span${_attr_class("_G")}></span>${_text_resume($scope12_id, "c", active.get(a.id) || "Starting…")}</span>`);
8660
8660
  _subscribe($active__closures, writeScope($scope12_id, {}));
8661
8661
  return 0;
8662
8662
  } else if (!a.installed) {
8663
8663
  const $scope82_id = _scope_id();
8664
- _html(`<span${_attr_class("_b3")}>Not installed</span>`);
8664
+ _html(`<span${_attr_class("_ch")}>Not installed</span>`);
8665
8665
  writeScope($scope82_id, {});
8666
8666
  return 1;
8667
8667
  }
@@ -8689,15 +8689,15 @@ var settings_page_default = _template("y", (input$3) => {
8689
8689
  _if(() => {
8690
8690
  if (rows.length || loneAccounts.length || extraAccounts.length) {
8691
8691
  const $scope2_id = _scope_id();
8692
- _html(`<ul${_attr_class(["_c1", { ["_cZ"]: lone && !lone.enabled }])}>`);
8692
+ _html(`<ul${_attr_class(["_fH", { ["_fF"]: lone && !lone.enabled }])}>`);
8693
8693
  _for_of(rows, (inst) => {
8694
8694
  const $scope3_id = _scope_id();
8695
8695
  const accounts = accountsFor(inst.id);
8696
- _html(`<li${_attr_class(["_cY", { ["_cZ"]: !inst.enabled }])}><div${_attr_class("_cX")}>`);
8696
+ _html(`<li${_attr_class(["_fE", { ["_fF"]: !inst.enabled }])}><div${_attr_class("_fD")}>`);
8697
8697
  _set_serialize_reason(12);
8698
8698
  const $childScope4 = _peek_scope_id();
8699
8699
  icon_agent_default({ agent: inst.id });
8700
- _html(`<span${_attr_class(["_c0", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
8700
+ _html(`<span${_attr_class(["_fG", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
8701
8701
  _if(() => {
8702
8702
  if (input$3.preferred === inst.id) {
8703
8703
  const $scope83_id = _scope_id();
@@ -8779,21 +8779,21 @@ var settings_page_default = _template("y", (input$3) => {
8779
8779
  _if(() => {
8780
8780
  if (!usage && families.length) {
8781
8781
  const $scope88_id = _scope_id();
8782
- _html(`<p${_attr_class("_b5")}><span${_attr_class("_G")}></span> Loading usage…</p>`);
8782
+ _html(`<p${_attr_class("_cj")}><span${_attr_class("_G")}></span> Loading usage…</p>`);
8783
8783
  writeScope($scope88_id, {});
8784
8784
  return 0;
8785
8785
  } else if (usage?.error) {
8786
8786
  const $scope8_id = _scope_id();
8787
- _html(`<p${_attr_class("_b5")}>${_text_resume($scope8_id, "b", usage.error)}</p>`);
8787
+ _html(`<p${_attr_class("_cj")}>${_text_resume($scope8_id, "b", usage.error)}</p>`);
8788
8788
  writeScope($scope8_id, {});
8789
8789
  return 1;
8790
8790
  }
8791
8791
  }, $scope0_id, "r", 1, 1, 1, 0, 1);
8792
- _html(`</section><section${_attr_class("_bU")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bV")}><h2${_attr("id", githubId)}${_attr_class("_b8")}>GitHub</h2>`);
8792
+ _html(`</section><section${_attr_class("_b9")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_b_")}><h2${_attr("id", githubId)}${_attr_class("_cm")}>GitHub</h2>`);
8793
8793
  _if(() => {
8794
8794
  if (setup && !addingHost) {
8795
8795
  const $scope42_id = _scope_id();
8796
- _html(`<button${_attr_class([iconBtnRow, "_c_"])} title="Add Enterprise host" aria-label="Add Enterprise host">`);
8796
+ _html(`<button${_attr_class([iconBtnRow, "_fQ"])} title="Add Enterprise host" aria-label="Add Enterprise host">`);
8797
8797
  icon_plus_default({ size: 16 });
8798
8798
  _html(`</button>${_el_resume($scope42_id, "a")}`);
8799
8799
  _script($scope42_id, "y51");
@@ -8805,10 +8805,10 @@ var settings_page_default = _template("y", (input$3) => {
8805
8805
  if (setup) {
8806
8806
  const $scope41_id = _scope_id();
8807
8807
  _html(`<form${_attr_class([
8808
- "_d0",
8809
- "_c_",
8810
- { ["_d1"]: !addingHost }
8811
- ])}><label${_attr_class(["_1", "_d3"])}>`);
8808
+ "_fo",
8809
+ "_fQ",
8810
+ { ["_fp"]: !addingHost }
8811
+ ])}><label${_attr_class(["_1", "_fr"])}>`);
8812
8812
  icon_github_default({
8813
8813
  size: 14,
8814
8814
  class: "_2"
@@ -8818,12 +8818,12 @@ var settings_page_default = _template("y", (input$3) => {
8818
8818
  }, "y3", $scope41_id))}${_attr_class([
8819
8819
  "_Z",
8820
8820
  "_3",
8821
- "_d4"
8821
+ "_fs"
8822
8822
  ])} type=text placeholder=github.example.com aria-label="GitHub Enterprise host" autocomplete=off spellcheck=false>${_el_resume($scope41_id, "d")}</label><button${_attr_class([
8823
8823
  btnSm,
8824
8824
  "_r",
8825
- "_c9"
8826
- ])} type=submit${_attr("hidden", !addingHost)}${_attr("disabled", !hostInput.trim() || hostBusy)}>${_text_resume($scope41_id, "f", hostBusy ? "Adding…" : "Add")}</button>${_el_resume($scope41_id, "e")}<button${_attr_class([iconBtnRow, "_d5"])} type=button${_attr("hidden", !addingHost)} title=Cancel aria-label=Cancel${_attr("disabled", hostBusy)}>`);
8825
+ "_fP"
8826
+ ])} type=submit${_attr("hidden", !addingHost)}${_attr("disabled", !hostInput.trim() || hostBusy)}>${_text_resume($scope41_id, "f", hostBusy ? "Adding…" : "Add")}</button>${_el_resume($scope41_id, "e")}<button${_attr_class([iconBtnRow, "_ft"])} type=button${_attr("hidden", !addingHost)} title=Cancel aria-label=Cancel${_attr("disabled", hostBusy)}>`);
8827
8827
  icon_xmark_default({ size: 14 });
8828
8828
  _html(`</button>${_el_resume($scope41_id, "g")}</form>${_el_resume($scope41_id, "a")}`);
8829
8829
  _script($scope41_id, "y52");
@@ -8831,19 +8831,19 @@ var settings_page_default = _template("y", (input$3) => {
8831
8831
  return 0;
8832
8832
  }
8833
8833
  }, $scope0_id, "w", 1, 1, 1, 0, 1);
8834
- _html(`</div><div${_attr_class(["_bZ", "_cD"])}>`);
8834
+ _html(`</div><div${_attr_class(["_cd", "_d1"])}>`);
8835
8835
  _for_of(setup?.github || [], (h) => {
8836
8836
  const $scope6_id = _scope_id();
8837
8837
  const $for_content3__h_host__closures = /* @__PURE__ */ new Set();
8838
8838
  const hostSso$1 = (h.sso || []).filter((s) => !ignoredSso.has(s.org));
8839
8839
  const skippedSso = (h.sso || []).filter((s) => ignoredSso.has(s.org));
8840
8840
  const busy = active.has(h.host);
8841
- _html(`<div${_attr_class(["_cE", "_da"])}><div${_attr_class("_db")}>`);
8841
+ _html(`<div${_attr_class(["_d2", "_fR"])}><div${_attr_class("_fS")}>`);
8842
8842
  icon_github_default({
8843
8843
  size: 18,
8844
- class: "_dc"
8844
+ class: "_fT"
8845
8845
  });
8846
- _html(`<div${_attr_class("_b0")}><span${_attr_class("_b2")}><span${_attr_class("_b1")}>${_text_resume($scope6_id, "g", h.host)}</span>`);
8846
+ _html(`<div${_attr_class("_ce")}><span${_attr_class("_cg")}><span${_attr_class("_cf")}>${_text_resume($scope6_id, "g", h.host)}</span>`);
8847
8847
  _if(() => {
8848
8848
  if (h.isEnterprise) {
8849
8849
  const $scope91_id = _scope_id();
@@ -8856,25 +8856,25 @@ var settings_page_default = _template("y", (input$3) => {
8856
8856
  _if(() => {
8857
8857
  if (busy) {
8858
8858
  const $scope13_id = _scope_id();
8859
- _html(`<span${_attr_class(["_b3", "_dd"])}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
8859
+ _html(`<span${_attr_class(["_ch", "_fU"])}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
8860
8860
  _subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope13_id, { Ch2: 1 })));
8861
8861
  return 0;
8862
8862
  } else if (h.authed) {
8863
8863
  const $scope89_id = _scope_id();
8864
- _html(`<span${_attr_class(["_b3", "_dd"])}>`);
8864
+ _html(`<span${_attr_class(["_ch", "_fU"])}>`);
8865
8865
  icon_check_default({
8866
8866
  size: 12,
8867
- class: "_de"
8867
+ class: "_fV"
8868
8868
  });
8869
- _html(` Signed in as <strong${_attr_class("_dg")}>${_text_resume($scope89_id, "d", h.user || "?")}</strong></span>`);
8869
+ _html(` Signed in as <strong${_attr_class("_fX")}>${_text_resume($scope89_id, "d", h.user || "?")}</strong></span>`);
8870
8870
  writeScope($scope89_id, {});
8871
8871
  return 1;
8872
8872
  } else if (h.error) {
8873
8873
  const $scope90_id = _scope_id();
8874
8874
  _html(`<span${_attr_class([
8875
- "_b3",
8876
- "_dd",
8877
- "_df"
8875
+ "_ch",
8876
+ "_fU",
8877
+ "_fW"
8878
8878
  ])}>`);
8879
8879
  icon_warning_default({ size: 12 });
8880
8880
  _html(`${_text_resume($scope90_id, "c", h.error)}</span>`);
@@ -8882,7 +8882,7 @@ var settings_page_default = _template("y", (input$3) => {
8882
8882
  return 2;
8883
8883
  } else {
8884
8884
  const $scope92_id = _scope_id();
8885
- _html(`<span${_attr_class(["_b3", "_dd"])}>Not signed in</span>`);
8885
+ _html(`<span${_attr_class(["_ch", "_fU"])}>Not signed in</span>`);
8886
8886
  writeScope($scope92_id, {});
8887
8887
  return 3;
8888
8888
  }
@@ -8913,7 +8913,7 @@ var settings_page_default = _template("y", (input$3) => {
8913
8913
  if (h.isEnterprise) {
8914
8914
  const $scope33_id = _scope_id();
8915
8915
  _html(`<button${_attr_class([
8916
- "_b4",
8916
+ "_ci",
8917
8917
  "_8",
8918
8918
  "_9",
8919
8919
  { ["_s"]: confirmingRemove === h.host }
@@ -8947,7 +8947,7 @@ var settings_page_default = _template("y", (input$3) => {
8947
8947
  _if(() => {
8948
8948
  if (busy && authCodes.has(h.host)) {
8949
8949
  const $scope30_id = _scope_id();
8950
- _html(`<div${_attr_class("_dh")}><span${_attr_class("_di")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_dk")}>${_text_resume($scope30_id, "d", h.host)}/login/device</a>${_el_resume($scope30_id, "c")}</span><code${_attr_class("_dj")}>${_text_resume($scope30_id, "f", authCodes.get(h.host))}</code></div>`);
8950
+ _html(`<div${_attr_class("_fY")}><span${_attr_class("_fZ")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_f1")}>${_text_resume($scope30_id, "d", h.host)}/login/device</a>${_el_resume($scope30_id, "c")}</span><code${_attr_class("_f0")}>${_text_resume($scope30_id, "f", authCodes.get(h.host))}</code></div>`);
8951
8951
  _subscribe($authCodes__closures, writeScope($scope30_id, { Ch4: 1 }));
8952
8952
  return 0;
8953
8953
  }
@@ -8959,7 +8959,7 @@ var settings_page_default = _template("y", (input$3) => {
8959
8959
  _set_serialize_reason(30);
8960
8960
  const $childScope9 = _peek_scope_id();
8961
8961
  sso_auth_default({
8962
- class: ["_cE", "_dl"],
8962
+ class: ["_d2", "_f2"],
8963
8963
  items: hostSso$1,
8964
8964
  skipped: skippedSso,
8965
8965
  busy,
@@ -8993,23 +8993,23 @@ var settings_page_default = _template("y", (input$3) => {
8993
8993
  _if(() => {
8994
8994
  if (setup && !setup.github.length) {
8995
8995
  const $scope95_id = _scope_id();
8996
- _html(`<p${_attr_class("_b5")}>Install the GitHub CLI below to sign in.</p>`);
8996
+ _html(`<p${_attr_class("_cj")}>Install the GitHub CLI below to sign in.</p>`);
8997
8997
  writeScope($scope95_id, {});
8998
8998
  return 0;
8999
8999
  }
9000
9000
  }, $scope0_id, "y", 1, 1, 1, 0, 1);
9001
- _html(`</section><section${_attr_class("_bU")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bV")}><h2${_attr("id", machineId)}${_attr_class("_b8")}>Machine</h2></div><div${_attr_class(["_bZ", "_cD"])}><div${_attr_class(["_cE", "_cF"])}><div${_attr_class(["_cG", { ["_cH"]: skillsOpen }])}><button${_attr_class("_cI")} aria-expanded=true>`);
9001
+ _html(`</section><section${_attr_class("_b9")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_b_")}><h2${_attr("id", machineId)}${_attr_class("_cm")}>Machine</h2></div><div${_attr_class(["_cd", "_d1"])}><div${_attr_class(["_d2", "_d3"])}><div${_attr_class(["_d4", { ["_d5"]: skillsOpen }])}><button${_attr_class("_d6")} aria-expanded=true>`);
9002
9002
  _set_serialize_reason(1);
9003
9003
  const $childScope10 = _peek_scope_id();
9004
9004
  icon_chevron_right_default({
9005
9005
  size: 12,
9006
- class: ["_cM", { ["_cN"]: skillsOpen }]
9006
+ class: ["_d_", { ["_ea"]: skillsOpen }]
9007
9007
  });
9008
- _html(`<span${_attr_class("_cJ")}>Skills</span>`);
9008
+ _html(`<span${_attr_class("_d7")}>Skills</span>`);
9009
9009
  _if(() => {
9010
9010
  if (skills?.global.length) {
9011
9011
  const $scope51_id = _scope_id();
9012
- _html(`<span${_attr_class("_cK")}>${_text_resume($scope51_id, "b", skills.global.length)} installed</span>`);
9012
+ _html(`<span${_attr_class("_d8")}>${_text_resume($scope51_id, "b", skills.global.length)} installed</span>`);
9013
9013
  writeScope($scope51_id, {});
9014
9014
  return 0;
9015
9015
  }
@@ -9029,7 +9029,7 @@ var settings_page_default = _template("y", (input$3) => {
9029
9029
  _if(() => {
9030
9030
  if (skills?.available && skills.agents.length) {
9031
9031
  const $scope14_id = _scope_id();
9032
- _html(`<div${_attr_class(["_d0", { ["_d1"]: true }])}><label${_attr_class(["_1", "_d3"])}>`);
9032
+ _html(`<div${_attr_class(["_fo", { ["_fp"]: true }])}><label${_attr_class(["_1", "_fr"])}>`);
9033
9033
  _if(() => {
9034
9034
  if (skillSearching) {
9035
9035
  const $scope96_id = _scope_id();
@@ -9049,14 +9049,14 @@ var settings_page_default = _template("y", (input$3) => {
9049
9049
  _html(`<input${_attr_input_value($scope14_id, "d", skillQuery, searchSkills)}${_attr_class([
9050
9050
  "_Z",
9051
9051
  "_3",
9052
- "_d4"
9053
- ])} type=text placeholder="Search skills, or paste owner/repo…" aria-label="Search for a skill" autocomplete=off spellcheck=false>${_el_resume($scope14_id, "d")}</label><button${_attr_class([iconBtnRow, "_d5"])} type=button${_attr("hidden", true)} title="Close search" aria-label="Close search">`);
9052
+ "_fs"
9053
+ ])} type=text placeholder="Search skills, or paste owner/repo…" aria-label="Search for a skill" autocomplete=off spellcheck=false>${_el_resume($scope14_id, "d")}</label><button${_attr_class([iconBtnRow, "_ft"])} type=button${_attr("hidden", true)} title="Close search" aria-label="Close search">`);
9054
9054
  icon_xmark_default({ size: 14 });
9055
- _html(`</button>${_el_resume($scope14_id, "e")}<ul${_attr_class([pop$1, "_d7"])}${_attr("hidden", true)}>`);
9055
+ _html(`</button>${_el_resume($scope14_id, "e")}<ul${_attr_class([pop$1, "_fv"])}${_attr("hidden", true)}>`);
9056
9056
  _if(() => {
9057
9057
  if (skillSearching && !skillHits?.length && !looksLikeSource(skillQuery)) {
9058
9058
  const $scope98_id = _scope_id();
9059
- _html(`<li${_attr_class("_d8")}>Searching skills.sh…</li>`);
9059
+ _html(`<li${_attr_class("_fw")}>Searching skills.sh…</li>`);
9060
9060
  writeScope($scope98_id, {});
9061
9061
  return 0;
9062
9062
  }
@@ -9064,11 +9064,11 @@ var settings_page_default = _template("y", (input$3) => {
9064
9064
  _if(() => {
9065
9065
  if (looksLikeSource(skillQuery)) {
9066
9066
  const $scope15_id = _scope_id();
9067
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_b0")}><span${_attr_class(["_c5", "_y"])}>${_text_resume($scope15_id, "d", skillQuery.trim())}</span>`);
9067
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_ce")}><span${_attr_class(["_fL", "_y"])}>${_text_resume($scope15_id, "d", skillQuery.trim())}</span>`);
9068
9068
  _if(() => {
9069
9069
  if (active.has(skillQuery.trim())) {
9070
9070
  const $scope16_id = _scope_id();
9071
- _html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope16_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
9071
+ _html(`<span${_attr_class("_fy")}><span${_attr_class("_G")}></span>${_text_resume($scope16_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
9072
9072
  _subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope16_id, {
9073
9073
  Ch2: 3,
9074
9074
  Chr: 1
@@ -9076,7 +9076,7 @@ var settings_page_default = _template("y", (input$3) => {
9076
9076
  return 0;
9077
9077
  } else {
9078
9078
  const $scope99_id = _scope_id();
9079
- _html(`<span${_attr_class("_b3")}>Add straight from this source</span>`);
9079
+ _html(`<span${_attr_class("_ch")}>Add straight from this source</span>`);
9080
9080
  writeScope($scope99_id, {});
9081
9081
  return 1;
9082
9082
  }
@@ -9099,16 +9099,16 @@ var settings_page_default = _template("y", (input$3) => {
9099
9099
  _for_of(skillHits || [], (h) => {
9100
9100
  const $scope17_id = _scope_id();
9101
9101
  const $for_content4__h_installs__closures = /* @__PURE__ */ new Set();
9102
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_b0")}><span${_attr_class(["_c5", "_y"])}>${_text_resume($scope17_id, "d", h.name)}</span>`);
9102
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_ce")}><span${_attr_class(["_fL", "_y"])}>${_text_resume($scope17_id, "d", h.name)}</span>`);
9103
9103
  _if(() => {
9104
9104
  if (active.has(h.skillId)) {
9105
9105
  const $scope18_id = _scope_id();
9106
- _html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope18_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
9106
+ _html(`<span${_attr_class("_fy")}><span${_attr_class("_G")}></span>${_text_resume($scope18_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
9107
9107
  _subscribe($active__closures, writeScope($scope18_id, { Ch2: 5 }));
9108
9108
  return 0;
9109
9109
  } else {
9110
9110
  const $scope100_id = _scope_id();
9111
- _html(`<span${_attr_class("_b3")}${_attr("title", h.source)}>${_text_resume($scope100_id, "b", h.source)}</span>${_el_resume($scope100_id, "a")}`);
9111
+ _html(`<span${_attr_class("_ch")}${_attr("title", h.source)}>${_text_resume($scope100_id, "b", h.source)}</span>${_el_resume($scope100_id, "a")}`);
9112
9112
  writeScope($scope100_id, {});
9113
9113
  return 1;
9114
9114
  }
@@ -9156,7 +9156,7 @@ var settings_page_default = _template("y", (input$3) => {
9156
9156
  _if(() => {
9157
9157
  if (skillHits && !skillHits.length && !skillSearching && !looksLikeSource(skillQuery)) {
9158
9158
  const $scope53_id = _scope_id();
9159
- _html(`<li${_attr_class("_d8")}>No skills match "${_text_resume($scope53_id, "b", skillQuery, 2)}".</li>`);
9159
+ _html(`<li${_attr_class("_fw")}>No skills match "${_text_resume($scope53_id, "b", skillQuery, 2)}".</li>`);
9160
9160
  _subscribe($skillQuery__closures, writeScope($scope53_id, { Chr: 2 }));
9161
9161
  return 0;
9162
9162
  }
@@ -9171,22 +9171,22 @@ var settings_page_default = _template("y", (input$3) => {
9171
9171
  _if(() => {
9172
9172
  {
9173
9173
  const $scope19_id = _scope_id();
9174
- _html(`<div${_attr_class("_cL")}>`);
9174
+ _html(`<div${_attr_class("_d9")}>`);
9175
9175
  _if(() => {
9176
9176
  if (skills && !skills.agents.length) {
9177
9177
  const $scope103_id = _scope_id();
9178
- _html(`<p${_attr_class("_b5")}>No agent CLIs are installed, so a skill would have nowhere to go. Install one from Agents above.</p>`);
9178
+ _html(`<p${_attr_class("_cj")}>No agent CLIs are installed, so a skill would have nowhere to go. Install one from Agents above.</p>`);
9179
9179
  writeScope($scope103_id, {});
9180
9180
  return 0;
9181
9181
  } else if (skills && !skills.available) {
9182
9182
  const $scope20_id = _scope_id();
9183
- _html(`<p${_attr_class("_b5")}>The skills CLI is not installed, so skills can be listed but not added or removed. <button${_attr_class(btnSm)}${_attr("disabled", active.has("skills"))}>${_text_resume($scope20_id, "c", active.has("skills") ? "Installing…" : "Install it")}</button>${_el_resume($scope20_id, "b")}</p>`);
9183
+ _html(`<p${_attr_class("_cj")}>The skills CLI is not installed, so skills can be listed but not added or removed. <button${_attr_class(btnSm)}${_attr("disabled", active.has("skills"))}>${_text_resume($scope20_id, "c", active.has("skills") ? "Installing…" : "Install it")}</button>${_el_resume($scope20_id, "b")}</p>`);
9184
9184
  _script($scope20_id, "y60");
9185
9185
  _subscribe($active__closures, writeScope($scope20_id, { Ch2: 6 }));
9186
9186
  return 1;
9187
9187
  }
9188
9188
  }, $scope19_id, "b", 1, 1, 1, 0, 1);
9189
- _html(`<ul${_attr_class("_d_")}>`);
9189
+ _html(`<ul${_attr_class("_fh")}>`);
9190
9190
  _for_of(skills?.global || [], (s) => {
9191
9191
  const $scope21_id = _scope_id();
9192
9192
  const $for_content5__s_agents__closures = /* @__PURE__ */ new Set();
@@ -9262,7 +9262,7 @@ var settings_page_default = _template("y", (input$3) => {
9262
9262
  _if(() => {
9263
9263
  if (skills && !skills.global.length && skills.available && skills.agents.length) {
9264
9264
  const $scope108_id = _scope_id();
9265
- _html(`<p${_attr_class("_b5")}>No skills installed. Search below, or paste an owner/repo.</p>`);
9265
+ _html(`<p${_attr_class("_cj")}>No skills installed. Search below, or paste an owner/repo.</p>`);
9266
9266
  writeScope($scope108_id, {});
9267
9267
  return 0;
9268
9268
  }
@@ -9272,14 +9272,14 @@ var settings_page_default = _template("y", (input$3) => {
9272
9272
  return 0;
9273
9273
  }
9274
9274
  }, $scope0_id, "ab", 1, 1, 1, 0, 1);
9275
- _html(`</div><div${_attr_class(["_cE", "_cF"])}><div${_attr_class(["_cG", { ["_cH"]: machineOpen }])}><button${_attr_class("_cI")} aria-expanded=${machineOpen ? "true" : "false"}>`);
9275
+ _html(`</div><div${_attr_class(["_d2", "_d3"])}><div${_attr_class(["_d4", { ["_d5"]: machineOpen }])}><button${_attr_class("_d6")} aria-expanded=${machineOpen ? "true" : "false"}>`);
9276
9276
  _set_serialize_reason(1);
9277
9277
  const $childScope12 = _peek_scope_id();
9278
9278
  icon_chevron_right_default({
9279
9279
  size: 12,
9280
- class: ["_cM", { ["_cN"]: machineOpen }]
9280
+ class: ["_d_", { ["_ea"]: machineOpen }]
9281
9281
  });
9282
- _html(`<span${_attr_class("_cJ")}>Tools</span><span${_attr_class("_cK")}>${_text_resume($scope0_id, "ai", tools.filter((t) => t.installed).length)} installed ${_text_resume($scope0_id, "aj", missingCount ? `${_to_text(" · ")}${_to_text(missingCount)} missing` : "", 2)}${_text_resume($scope0_id, "ak", outdatedIds.length ? `${_to_text(" · ")}${_to_text(outdatedIds.length)} outdated` : "", 2)}</span></button>${_el_resume($scope0_id, "ae")}`);
9282
+ _html(`<span${_attr_class("_d7")}>Tools</span><span${_attr_class("_d8")}>${_text_resume($scope0_id, "ai", tools.filter((t) => t.installed).length)} installed ${_text_resume($scope0_id, "aj", missingCount ? `${_to_text(" · ")}${_to_text(missingCount)} missing` : "", 2)}${_text_resume($scope0_id, "ak", outdatedIds.length ? `${_to_text(" · ")}${_to_text(outdatedIds.length)} outdated` : "", 2)}</span></button>${_el_resume($scope0_id, "ae")}`);
9283
9283
  _if(() => {
9284
9284
  if (outdatedIds.length > 1) {
9285
9285
  const $scope22_id = _scope_id();
@@ -9312,7 +9312,7 @@ var settings_page_default = _template("y", (input$3) => {
9312
9312
  _if(() => {
9313
9313
  if (setup && setup.mise.installed) {
9314
9314
  const $scope24_id = _scope_id();
9315
- _html(`<div${_attr_class(["_d0", { ["_d1"]: true }])}><label${_attr_class(["_1", "_d3"])}>`);
9315
+ _html(`<div${_attr_class(["_fo", { ["_fp"]: true }])}><label${_attr_class(["_1", "_fr"])}>`);
9316
9316
  _if(() => {
9317
9317
  if (searching) {
9318
9318
  const $scope109_id = _scope_id();
@@ -9332,14 +9332,14 @@ var settings_page_default = _template("y", (input$3) => {
9332
9332
  _html(`<input${_attr_input_value($scope24_id, "d", query, search)}${_attr_class([
9333
9333
  "_Z",
9334
9334
  "_3",
9335
- "_d4"
9336
- ])} type=text placeholder="Search the mise registry…" aria-label="Search the mise registry" autocomplete=off>${_el_resume($scope24_id, "d")}</label><button${_attr_class([iconBtnRow, "_d5"])} type=button${_attr("hidden", true)} title="Close search" aria-label="Close search">`);
9335
+ "_fs"
9336
+ ])} type=text placeholder="Search the mise registry…" aria-label="Search the mise registry" autocomplete=off>${_el_resume($scope24_id, "d")}</label><button${_attr_class([iconBtnRow, "_ft"])} type=button${_attr("hidden", true)} title="Close search" aria-label="Close search">`);
9337
9337
  icon_xmark_default({ size: 14 });
9338
- _html(`</button>${_el_resume($scope24_id, "e")}<ul${_attr_class([pop$1, "_d7"])}${_attr("hidden", true)}>`);
9338
+ _html(`</button>${_el_resume($scope24_id, "e")}<ul${_attr_class([pop$1, "_fv"])}${_attr("hidden", true)}>`);
9339
9339
  _if(() => {
9340
9340
  if (searching && !hits?.length) {
9341
9341
  const $scope111_id = _scope_id();
9342
- _html(`<li${_attr_class("_d8")}>Searching the mise registry…</li>`);
9342
+ _html(`<li${_attr_class("_fw")}>Searching the mise registry…</li>`);
9343
9343
  writeScope($scope111_id, {});
9344
9344
  return 0;
9345
9345
  }
@@ -9347,23 +9347,23 @@ var settings_page_default = _template("y", (input$3) => {
9347
9347
  _if(() => {
9348
9348
  if (hits && !hits.length && !searching) {
9349
9349
  const $scope43_id = _scope_id();
9350
- _html(`<li${_attr_class("_d8")}>No tools match "${_text_resume($scope43_id, "b", query, 2)}".</li>`);
9350
+ _html(`<li${_attr_class("_fw")}>No tools match "${_text_resume($scope43_id, "b", query, 2)}".</li>`);
9351
9351
  _subscribe($query__closures, writeScope($scope43_id, {}));
9352
9352
  return 0;
9353
9353
  }
9354
9354
  }, $scope24_id, "i", 1, 1, 1, 0, 1);
9355
9355
  _for_of(hits || [], (h) => {
9356
9356
  const $scope25_id = _scope_id();
9357
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_b0")}><span${_attr_class(["_c5", "_y"])}>${_text_resume($scope25_id, "d", h.name)}</span>`);
9357
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_ce")}><span${_attr_class(["_fL", "_y"])}>${_text_resume($scope25_id, "d", h.name)}</span>`);
9358
9358
  _if(() => {
9359
9359
  if (active.has(h.name)) {
9360
9360
  const $scope26_id = _scope_id();
9361
- _html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope26_id, "c", active.get(h.name) || "Starting…")}</span>`);
9361
+ _html(`<span${_attr_class("_fy")}><span${_attr_class("_G")}></span>${_text_resume($scope26_id, "c", active.get(h.name) || "Starting…")}</span>`);
9362
9362
  _subscribe($active__closures, writeScope($scope26_id, { Ch2: 9 }));
9363
9363
  return 0;
9364
9364
  } else if (h.description) {
9365
9365
  const $scope112_id = _scope_id();
9366
- _html(`<span${_attr_class("_b3")}${_attr("title", h.description)}>${_text_resume($scope112_id, "b", h.description)}</span>${_el_resume($scope112_id, "a")}`);
9366
+ _html(`<span${_attr_class("_ch")}${_attr("title", h.description)}>${_text_resume($scope112_id, "b", h.description)}</span>${_el_resume($scope112_id, "a")}`);
9367
9367
  writeScope($scope112_id, {});
9368
9368
  return 1;
9369
9369
  }
@@ -9408,11 +9408,11 @@ var settings_page_default = _template("y", (input$3) => {
9408
9408
  _if(() => {
9409
9409
  if (machineOpen) {
9410
9410
  const $scope5_id = _scope_id();
9411
- _html(`<div${_attr_class("_cL")}>`);
9411
+ _html(`<div${_attr_class("_d9")}>`);
9412
9412
  _if(() => {
9413
9413
  if (setup && !setup.mise.installed) {
9414
9414
  const $scope27_id = _scope_id();
9415
- _html(`<p${_attr_class("_b5")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${_text_resume($scope27_id, "c", active.has("mise") ? "Installing…" : "Install mise")}</button>${_el_resume($scope27_id, "b")}</p>`);
9415
+ _html(`<p${_attr_class("_cj")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${_text_resume($scope27_id, "c", active.has("mise") ? "Installing…" : "Install mise")}</button>${_el_resume($scope27_id, "b")}</p>`);
9416
9416
  _script($scope27_id, "y71");
9417
9417
  _subscribe($active__closures, writeScope($scope27_id, { Ch2: 10 }));
9418
9418
  return 0;
@@ -9422,11 +9422,11 @@ var settings_page_default = _template("y", (input$3) => {
9422
9422
  _if(() => {
9423
9423
  if (self) {
9424
9424
  const $scope47_id = _scope_id();
9425
- _html(`<li${_attr_class(toolRow)}><span${_attr_class(["_c5", "_y"])}>work</span>`);
9425
+ _html(`<li${_attr_class(toolRow)}><span${_attr_class(["_fL", "_y"])}>work</span>`);
9426
9426
  _if(() => {
9427
9427
  if (selfUpdating) {
9428
9428
  const $scope114_id = _scope_id();
9429
- _html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
9429
+ _html(`<span${_attr_class("_fy")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
9430
9430
  writeScope($scope114_id, {});
9431
9431
  return 0;
9432
9432
  } else {
@@ -9440,7 +9440,7 @@ var settings_page_default = _template("y", (input$3) => {
9440
9440
  return 0;
9441
9441
  } else if (self.latest && self.latest !== self.version) {
9442
9442
  const $scope49_id = _scope_id();
9443
- _html(`<button${_attr_class([btnSm, "_c8"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
9443
+ _html(`<button${_attr_class([btnSm, "_fO"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
9444
9444
  icon_arrow_up_default({ size: 12 });
9445
9445
  _html(` ${_text_resume($scope49_id, "c", self.latest, 2)}</button>${_el_resume($scope49_id, "a")}`);
9446
9446
  _script($scope49_id, "y72");
@@ -9484,11 +9484,11 @@ var settings_page_default = _template("y", (input$3) => {
9484
9484
  const $for_content7__t_label__closures = /* @__PURE__ */ new Set();
9485
9485
  const $for_content7__t_newest__closures = /* @__PURE__ */ new Set();
9486
9486
  const $for_content7__t_id__closures = /* @__PURE__ */ new Set();
9487
- _html(`<li${_attr_class([toolRow, { ["_c4"]: !t.installed }])}><span${_attr_class(["_c5", "_y"])}>${_text_resume($scope28_id, "c", t.label)}</span>`);
9487
+ _html(`<li${_attr_class([toolRow, { ["_fK"]: !t.installed }])}><span${_attr_class(["_fL", "_y"])}>${_text_resume($scope28_id, "c", t.label)}</span>`);
9488
9488
  _if(() => {
9489
9489
  if (active.has(t.id)) {
9490
9490
  const $scope29_id = _scope_id();
9491
- _html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope29_id, "c", active.get(t.id) || "Starting…")}</span>`);
9491
+ _html(`<span${_attr_class("_fy")}><span${_attr_class("_G")}></span>${_text_resume($scope29_id, "c", active.get(t.id) || "Starting…")}</span>`);
9492
9492
  _subscribe($active__closures, writeScope($scope29_id, { Ch2: 12 }));
9493
9493
  return 0;
9494
9494
  } else if (t.installed) {
@@ -9496,11 +9496,11 @@ var settings_page_default = _template("y", (input$3) => {
9496
9496
  _if(() => {
9497
9497
  if (t.version) {
9498
9498
  const $scope40_id = _scope_id();
9499
- _html(`<button${_attr_class(["_c7", "_y"])}${_attr("title", `${t.path || t.label}${aliasPin(t) ? `, pinned to ${t.pin}` : ""}. Pin a version`)}>v${_text_resume($scope40_id, "b", t.version, 2)}`);
9499
+ _html(`<button${_attr_class(["_fN", "_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)}`);
9500
9500
  _if(() => {
9501
9501
  if (aliasPin(t)) {
9502
9502
  const $scope118_id = _scope_id();
9503
- _html(`<span${_attr_class("_c6")}>${_text_resume($scope118_id, "b", t.pin)}</span>`);
9503
+ _html(`<span${_attr_class("_fM")}>${_text_resume($scope118_id, "b", t.pin)}</span>`);
9504
9504
  _subscribe($for_content7__t_pin__closures, writeScope($scope118_id, { Ca0: 1 }));
9505
9505
  return 0;
9506
9506
  }
@@ -9519,7 +9519,7 @@ var settings_page_default = _template("y", (input$3) => {
9519
9519
  _if(() => {
9520
9520
  if (outdated(t)) {
9521
9521
  const $scope59_id = _scope_id();
9522
- _html(`<button${_attr_class([btnSm, "_c8"])}${_attr("title", `Update to v${t.latest}`)}>`);
9522
+ _html(`<button${_attr_class([btnSm, "_fO"])}${_attr("title", `Update to v${t.latest}`)}>`);
9523
9523
  icon_arrow_up_default({ size: 12 });
9524
9524
  _html(` ${_text_resume($scope59_id, "c", t.latest, 2)}</button>${_el_resume($scope59_id, "a")}`);
9525
9525
  _script($scope59_id, "y74");
@@ -9527,7 +9527,7 @@ var settings_page_default = _template("y", (input$3) => {
9527
9527
  return 0;
9528
9528
  } else if (t.newest) {
9529
9529
  const $scope60_id = _scope_id();
9530
- _html(`<button${_attr_class(["_c7", "_y"])}${_attr("title", `v${t.newest} is out; ${t.pin} holds ${t.label} at v${t.version}. Pin v${t.newest} instead`)}>${_text_resume($scope60_id, "b", t.newest)} available</button>${_el_resume($scope60_id, "a")}`);
9530
+ _html(`<button${_attr_class(["_fN", "_y"])}${_attr("title", `v${t.newest} is out; ${t.pin} holds ${t.label} at v${t.version}. Pin v${t.newest} instead`)}>${_text_resume($scope60_id, "b", t.newest)} available</button>${_el_resume($scope60_id, "a")}`);
9531
9531
  _script($scope60_id, "y75");
9532
9532
  _subscribe($for_content7__t_newest__closures, _subscribe($for_content7__t_pin__closures, _subscribe($for_content7__t_version__closures, _subscribe($for_content7__t_label__closures, writeScope($scope60_id, {
9533
9533
  Cw: 1,
@@ -9643,14 +9643,14 @@ var settings_page_default = _template("y", (input$3) => {
9643
9643
  label: "Dark"
9644
9644
  }
9645
9645
  ];
9646
- _html(`</div></div></section><section${_attr_class("_bU")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bV")}><h2${_attr("id", appearanceId)}${_attr_class("_b8")}>Appearance</h2></div><div${_attr_class(["_bZ", "_dm"])}><div${_attr_class("_dy")}><img${_attr_class("_dz")}${_attr("src", `/api/instance/icon${accent ? `?v=${accent.slice(1)}` : ""}`)} alt aria-hidden=true>${_el_resume($scope0_id, "av", $sg__input_instance_accent)}<span${_attr_class("_dA")}><span${_attr_class("_dB")}>${_text_resume($scope0_id, "ay", input$3.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_dC")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_dn")}><span${_attr_class("_do")}>Name</span><input${_attr_input_value($scope0_id, "b2", input$3.instance.name, _resume(function(v) {
9646
+ _html(`</div></div></section><section${_attr_class("_b9")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_b_")}><h2${_attr("id", appearanceId)}${_attr_class("_cm")}>Appearance</h2></div><div${_attr_class(["_cd", "_f3"])}><div${_attr_class("_ge")}><img${_attr_class("_gf")}${_attr("src", `/api/instance/icon${accent ? `?v=${accent.slice(1)}` : ""}`)} alt aria-hidden=true>${_el_resume($scope0_id, "av", $sg__input_instance_accent)}<span${_attr_class("_gg")}><span${_attr_class("_gh")}>${_text_resume($scope0_id, "ay", input$3.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_gi")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_f4")}><span${_attr_class("_f5")}>Name</span><input${_attr_input_value($scope0_id, "b2", input$3.instance.name, _resume(function(v) {
9647
9647
  setInstance({ name: v });
9648
- }, "y4", $scope0_id))}${_attr_class(["_Z", "_dp"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b2")}</label><div${_attr_class("_dn")}><span${_attr_class("_do")}>Theme</span><span${_attr_class("_dr")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
9648
+ }, "y4", $scope0_id))}${_attr_class(["_Z", "_f6"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b2")}</label><div${_attr_class("_f4")}><span${_attr_class("_f5")}>Theme</span><span${_attr_class("_f8")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
9649
9649
  _for_of(themeOpts, (opt) => {
9650
9650
  const $scope50_id = _scope_id();
9651
9651
  _html(`<button type=button${_attr_class([
9652
9652
  "_bg",
9653
- "_dD",
9653
+ "_gj",
9654
9654
  { ["_bf"]: themeMode === opt.id }
9655
9655
  ])} role=radio aria-checked=${themeMode === opt.id ? "true" : "false"}>`);
9656
9656
  if (opt.id === "system") {
@@ -9670,28 +9670,28 @@ var settings_page_default = _template("y", (input$3) => {
9670
9670
  _: _scope_with_id($scope0_id)
9671
9671
  });
9672
9672
  }, "id", $scope0_id, "b6", 1, 0, 1, 0, 1);
9673
- _html(`</span><span${_attr_class(["_o", "_ds"])}>`);
9673
+ _html(`</span><span${_attr_class(["_o", "_f9"])}>`);
9674
9674
  _attr_select_value($scope0_id, "b8", themeMode, _resume(function(v) {
9675
9675
  setThemeMode(v);
9676
9676
  }, "y5", $scope0_id), () => {
9677
- _html(`<select${_attr_class(["_p", "_dt"])} aria-label="Color theme">`);
9677
+ _html(`<select${_attr_class(["_p", "_f_"])} aria-label="Color theme">`);
9678
9678
  forOf(themeOpts, (opt) => {
9679
9679
  _scope_id();
9680
9680
  _html(`<option${_attr_option_value(opt.id)}>${_escape(opt.label)}</option>`);
9681
9681
  });
9682
9682
  _html("</select>");
9683
9683
  });
9684
- _html(`${_el_resume($scope0_id, "b8")}</span></span></div><div${_attr_class("_dn")}><span${_attr_class("_do")}>Accent</span><span${_attr_class("_dE")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
9685
- "_dF",
9686
- "_dI",
9687
- { ["_dG"]: !accent }
9684
+ _html(`${_el_resume($scope0_id, "b8")}</span></span></div><div${_attr_class("_f4")}><span${_attr_class("_f5")}>Accent</span><span${_attr_class("_gk")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
9685
+ "_gl",
9686
+ "_go",
9687
+ { ["_gm"]: !accent }
9688
9688
  ])} role=radio aria-checked=${!accent ? "true" : "false"} title="Default (blue)" aria-label="Default (blue)">`);
9689
9689
  _if(() => {
9690
9690
  if (!accent) {
9691
9691
  const $scope129_id = _scope_id();
9692
9692
  icon_check_default({
9693
9693
  size: 12,
9694
- class: "_dH"
9694
+ class: "_gn"
9695
9695
  });
9696
9696
  $si__input_instance_accent && writeScope($scope129_id, {});
9697
9697
  return 0;
@@ -9699,13 +9699,13 @@ var settings_page_default = _template("y", (input$3) => {
9699
9699
  }, $scope0_id, "bc", $sg__input_instance_accent, 1, 1, "</button>", 1);
9700
9700
  _for_of(ACCENT_PRESETS, (p) => {
9701
9701
  const $scope77_id = _scope_id();
9702
- _html(`<button type=button${_attr_class(["_dF", { ["_dG"]: accent === p.value }])}${_attr_style(`--swatch:${p.value}`)} role=radio aria-checked=${accent === p.value ? "true" : "false"}${_attr("title", p.name)}${_attr("aria-label", p.name)}>`);
9702
+ _html(`<button type=button${_attr_class(["_gl", { ["_gm"]: 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)}>`);
9703
9703
  _if(() => {
9704
9704
  if (accent === p.value) {
9705
9705
  const $scope130_id = _scope_id();
9706
9706
  icon_check_default({
9707
9707
  size: 12,
9708
- class: "_dH"
9708
+ class: "_gn"
9709
9709
  });
9710
9710
  $si__input_instance_accent && writeScope($scope130_id, {});
9711
9711
  return 0;
@@ -9719,18 +9719,18 @@ var settings_page_default = _template("y", (input$3) => {
9719
9719
  }, "value", $scope0_id, "bd", $sg__input_instance_accent, 0, 1, 0, 1);
9720
9720
  const customOn = !!accent && !ACCENT_PRESETS.some((p) => p.value === accent);
9721
9721
  _html(`<label${_attr_class([
9722
- "_dF",
9723
- "_dJ",
9724
- { ["_dG"]: customOn }
9722
+ "_gl",
9723
+ "_gp",
9724
+ { ["_gm"]: customOn }
9725
9725
  ])}${customOn ? _attr_style(`--swatch:${accent}`) : ""}${customOn ? _attr("title", `Custom ${accent}`) : " title=\"Custom colour\""}><input${_attr_input_value($scope0_id, "bf", accent || "#3556d8", _resume(function(v) {
9726
9726
  setInstance({ accent: v });
9727
- }, "y6", $scope0_id))}${_attr_class("_dK")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "bf")}`);
9727
+ }, "y6", $scope0_id))}${_attr_class("_gq")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "bf")}`);
9728
9728
  _if(() => {
9729
9729
  if (customOn) {
9730
9730
  const $scope131_id = _scope_id();
9731
9731
  icon_check_default({
9732
9732
  size: 12,
9733
- class: "_dH"
9733
+ class: "_gn"
9734
9734
  });
9735
9735
  $si__input_instance_accent && writeScope($scope131_id, {});
9736
9736
  return 0;
@@ -9741,16 +9741,16 @@ var settings_page_default = _template("y", (input$3) => {
9741
9741
  return 1;
9742
9742
  }
9743
9743
  }, $scope0_id, "bg", $sg__input_instance_accent, $sg__input_instance_accent, 1, 0, 1);
9744
- _html(`</label>${_el_resume($scope0_id, "be", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_bU")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_bV")}><h2${_attr("id", backupId)}${_attr_class("_b8")}>Backup</h2></div><div${_attr_class(["_bZ", "_cD"])}><div${_attr_class("_cE")}><div${_attr_class("_dL")}><div${_attr_class("_b0")}>`);
9744
+ _html(`</label>${_el_resume($scope0_id, "be", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_b9")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_b_")}><h2${_attr("id", backupId)}${_attr_class("_cm")}>Backup</h2></div><div${_attr_class(["_cd", "_d1"])}><div${_attr_class("_d2")}><div${_attr_class("_gr")}><div${_attr_class("_ce")}>`);
9745
9745
  _if(() => {
9746
9746
  if (backupBusy === "preflight") {
9747
9747
  const $scope65_id = _scope_id();
9748
- _html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope65_id, "c", backupLine || "Checking workspaces…")}</span>`);
9748
+ _html(`<span${_attr_class("_fy")}><span${_attr_class("_G")}></span>${_text_resume($scope65_id, "c", backupLine || "Checking workspaces…")}</span>`);
9749
9749
  writeScope($scope65_id, {});
9750
9750
  return 0;
9751
9751
  } else {
9752
9752
  const $scope133_id = _scope_id();
9753
- _html(`<span${_attr_class("_b3")}>Save workspaces, settings, skills and tool pins to a file. Code stays on GitHub.</span>`);
9753
+ _html(`<span${_attr_class("_ch")}>Save workspaces, settings, skills and tool pins to a file. Code stays on GitHub.</span>`);
9754
9754
  writeScope($scope133_id, {});
9755
9755
  return 1;
9756
9756
  }
@@ -9768,7 +9768,7 @@ var settings_page_default = _template("y", (input$3) => {
9768
9768
  _if(() => {
9769
9769
  if (preflight && !backupBusy) {
9770
9770
  const $scope67_id = _scope_id();
9771
- _html(`<div${_attr_class("_dN")}><p${_attr_class("_dO")}>In the file: ${_text_resume($scope67_id, "c", preflight.contents.workspaces, 2)} workspace${_text_resume($scope67_id, "d", preflight.contents.workspaces === 1 ? "" : "s", 2)}${_text_resume($scope67_id, "e", preflight.contents.archived ? `${_to_text(" ")}(${_to_text(preflight.contents.archived)} archived)` : "", 2)} , ${_text_resume($scope67_id, "f", preflight.contents.tools, 2)} tool pin${_text_resume($scope67_id, "g", preflight.contents.tools === 1 ? "" : "s", 2)}, ${_text_resume($scope67_id, "h", preflight.contents.skills, 2)} skill${_text_resume($scope67_id, "i", preflight.contents.skills === 1 ? "" : "s", 2)}, ${_text_resume($scope67_id, "j", preflight.contents.agents, 2)} agent${_text_resume($scope67_id, "k", preflight.contents.agents === 1 ? "" : "s", 2)}.</p><p${_attr_class("_dO")}>Not in the file: `);
9771
+ _html(`<div${_attr_class("_gt")}><p${_attr_class("_gu")}>In the file: ${_text_resume($scope67_id, "c", preflight.contents.workspaces, 2)} workspace${_text_resume($scope67_id, "d", preflight.contents.workspaces === 1 ? "" : "s", 2)}${_text_resume($scope67_id, "e", preflight.contents.archived ? `${_to_text(" ")}(${_to_text(preflight.contents.archived)} archived)` : "", 2)} , ${_text_resume($scope67_id, "f", preflight.contents.tools, 2)} tool pin${_text_resume($scope67_id, "g", preflight.contents.tools === 1 ? "" : "s", 2)}, ${_text_resume($scope67_id, "h", preflight.contents.skills, 2)} skill${_text_resume($scope67_id, "i", preflight.contents.skills === 1 ? "" : "s", 2)}, ${_text_resume($scope67_id, "j", preflight.contents.agents, 2)} agent${_text_resume($scope67_id, "k", preflight.contents.agents === 1 ? "" : "s", 2)}.</p><p${_attr_class("_gu")}>Not in the file: `);
9772
9772
  _if(() => {
9773
9773
  if (preflight.unpushed) {
9774
9774
  const $scope68_id = _scope_id();
@@ -9785,15 +9785,15 @@ var settings_page_default = _template("y", (input$3) => {
9785
9785
  return 0;
9786
9786
  }
9787
9787
  }, $scope67_id, "m");
9788
- _html(`${_text_resume($scope67_id, "n", preflight.files ? `${_to_text(" ")}${_to_text(preflight.files)} uncommitted file${_to_text(preflight.files === 1 ? "" : "s")}` : "", 2)} .</p><ul${_attr_class("_dP")}>`);
9788
+ _html(`${_text_resume($scope67_id, "n", preflight.files ? `${_to_text(" ")}${_to_text(preflight.files)} uncommitted file${_to_text(preflight.files === 1 ? "" : "s")}` : "", 2)} .</p><ul${_attr_class("_gv")}>`);
9789
9789
  _for_of(preflight.workspaces, (w) => {
9790
9790
  const $scope135_id = _scope_id();
9791
9791
  const $for_content18__w_name__closures = /* @__PURE__ */ new Set();
9792
- _html(`<li${_attr_class("_dQ")}><span${_attr_class("_b1")}>${_text_resume($scope135_id, "c", w.name)}</span><ul${_attr_class("_dP")}>`);
9792
+ _html(`<li${_attr_class("_gw")}><span${_attr_class("_cf")}>${_text_resume($scope135_id, "c", w.name)}</span><ul${_attr_class("_gv")}>`);
9793
9793
  _for_of(w.repos, (r) => {
9794
9794
  const $scope136_id = _scope_id();
9795
9795
  const $for_content19__r_more__closures = /* @__PURE__ */ new Set();
9796
- _html(`<li${_attr_class("_dR")}><span${_attr_class("_dS")}><span${_attr_class("_y")}>${_text_resume($scope136_id, "d", r.worktree)}/</span>`);
9796
+ _html(`<li${_attr_class("_gx")}><span${_attr_class("_gy")}><span${_attr_class("_y")}>${_text_resume($scope136_id, "d", r.worktree)}/</span>`);
9797
9797
  _for_of(r.unpushed, (b) => {
9798
9798
  const $scope137_id = _scope_id();
9799
9799
  _html(`<span${_attr_class(["_N", tone.warn])}${_attr("title", `${b.branch}: ${b.count} commit${b.count === 1 ? "" : "s"} origin does not have`)}>${_text_resume($scope137_id, "b", b.count)} unpushed `);
@@ -9812,10 +9812,10 @@ var settings_page_default = _template("y", (input$3) => {
9812
9812
  _if(() => {
9813
9813
  if (r.modified.length || r.untracked.length || r.ignored.length) {
9814
9814
  const $scope138_id = _scope_id();
9815
- _html(`<ul${_attr_class("_dT")}>`);
9815
+ _html(`<ul${_attr_class("_gz")}>`);
9816
9816
  _for_of(r.modified, (f) => {
9817
9817
  const $scope141_id = _scope_id();
9818
- _html(`<li${_attr_class("_dU")}><span${_attr_class([
9818
+ _html(`<li${_attr_class("_gA")}><span${_attr_class([
9819
9819
  "_N",
9820
9820
  "_P",
9821
9821
  tone.warn
@@ -9824,18 +9824,18 @@ var settings_page_default = _template("y", (input$3) => {
9824
9824
  }, (f) => f, $scope138_id, "b", 1, 1, 1, 0, 1);
9825
9825
  _for_of(r.untracked, (f) => {
9826
9826
  const $scope142_id = _scope_id();
9827
- _html(`<li${_attr_class("_dU")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_bb"])}>${_text_resume($scope142_id, "d", f)}</span></li>`);
9827
+ _html(`<li${_attr_class("_gA")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_bb"])}>${_text_resume($scope142_id, "d", f)}</span></li>`);
9828
9828
  writeScope($scope142_id, {});
9829
9829
  }, (f) => f, $scope138_id, "c", 1, 1, 1, 0, 1);
9830
9830
  _for_of(r.ignored, (f) => {
9831
9831
  const $scope143_id = _scope_id();
9832
- _html(`<li${_attr_class("_dU")}><span${_attr_class(["_N", "_P"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_y", "_bb"])}>${_text_resume($scope143_id, "d", f)}</span></li>`);
9832
+ _html(`<li${_attr_class("_gA")}><span${_attr_class(["_N", "_P"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_y", "_bb"])}>${_text_resume($scope143_id, "d", f)}</span></li>`);
9833
9833
  writeScope($scope143_id, {});
9834
9834
  }, (f) => f, $scope138_id, "d", 1, 1, 1, 0, 1);
9835
9835
  _if(() => {
9836
9836
  if (r.more) {
9837
9837
  const $scope139_id = _scope_id();
9838
- _html(`<li${_attr_class(["_dU", "_x"])}>+${_text_resume($scope139_id, "b", r.more, 2)} more</li>`);
9838
+ _html(`<li${_attr_class(["_gA", "_x"])}>+${_text_resume($scope139_id, "b", r.more, 2)} more</li>`);
9839
9839
  _subscribe($for_content19__r_more__closures, writeScope($scope139_id, {}));
9840
9840
  return 0;
9841
9841
  }
@@ -9860,27 +9860,27 @@ var settings_page_default = _template("y", (input$3) => {
9860
9860
  i: $for_content18__w_name__closures
9861
9861
  });
9862
9862
  }, "id", $scope67_id, "o", 1, 1, 1, "</ul>", 1);
9863
- _html(`<div${_attr_class("_dV")}><button${_attr_class([btnSm, { ["_r"]: !preflight.unpushed }])}>${_text_resume($scope67_id, "r", preflight.unpushed ? "Export anyway" : "Export")}</button>${_el_resume($scope67_id, "q")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope67_id, "s")}</div></div>`);
9863
+ _html(`<div${_attr_class("_gB")}><button${_attr_class([btnSm, { ["_r"]: !preflight.unpushed }])}>${_text_resume($scope67_id, "r", preflight.unpushed ? "Export anyway" : "Export")}</button>${_el_resume($scope67_id, "q")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope67_id, "s")}</div></div>`);
9864
9864
  _script($scope67_id, "y81");
9865
9865
  writeScope($scope67_id, {});
9866
9866
  return 0;
9867
9867
  }
9868
9868
  }, $scope0_id, "bp", 1, 1, 1, 0, 1);
9869
- _html(`</div><div${_attr_class("_cE")}><div${_attr_class("_dL")}><div${_attr_class("_b0")}>`);
9869
+ _html(`</div><div${_attr_class("_d2")}><div${_attr_class("_gr")}><div${_attr_class("_ce")}>`);
9870
9870
  _if(() => {
9871
9871
  if (backupBusy === "restore") {
9872
9872
  const $scope66_id = _scope_id();
9873
- _html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope66_id, "c", backupLine || "Restoring…")}</span>`);
9873
+ _html(`<span${_attr_class("_fy")}><span${_attr_class("_G")}></span>${_text_resume($scope66_id, "c", backupLine || "Restoring…")}</span>`);
9874
9874
  writeScope($scope66_id, {});
9875
9875
  return 0;
9876
9876
  } else if (restoreDone) {
9877
9877
  const $scope74_id = _scope_id();
9878
- _html(`<span${_attr_class("_b3")}>${_text_resume($scope74_id, "b", restoreDone)}</span>`);
9878
+ _html(`<span${_attr_class("_ch")}>${_text_resume($scope74_id, "b", restoreDone)}</span>`);
9879
9879
  writeScope($scope74_id, {});
9880
9880
  return 1;
9881
9881
  } else {
9882
9882
  const $scope144_id = _scope_id();
9883
- _html(`<span${_attr_class("_b3")}>Load a backup file. Repos clone in the background.</span>`);
9883
+ _html(`<span${_attr_class("_ch")}>Load a backup file. Repos clone in the background.</span>`);
9884
9884
  writeScope($scope144_id, {});
9885
9885
  return 2;
9886
9886
  }
@@ -9888,7 +9888,7 @@ var settings_page_default = _template("y", (input$3) => {
9888
9888
  _if(() => {
9889
9889
  if (!restorePreview && backupBusy !== "restore") {
9890
9890
  const $scope76_id = _scope_id();
9891
- _html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_dM")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope76_id, "b")}</label>`);
9891
+ _html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_gs")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope76_id, "b")}</label>`);
9892
9892
  _script($scope76_id, "y82");
9893
9893
  writeScope($scope76_id, {});
9894
9894
  return 0;
@@ -9899,14 +9899,14 @@ var settings_page_default = _template("y", (input$3) => {
9899
9899
  if (restorePreview && backupBusy !== "restore") {
9900
9900
  const $scope69_id = _scope_id();
9901
9901
  const { preview } = restorePreview;
9902
- _html(`<div${_attr_class("_dN")}><p${_attr_class("_dO")}>From ${_text_resume($scope69_id, "c", preview.from.host, 2)} on ${_text_resume($scope69_id, "d", new Date(preview.from.exportedAt).toLocaleDateString(), 2)}${_text_resume($scope69_id, "e", preview.from.version ? ` (work ${preview.from.version})` : "", 2)}.</p>`);
9902
+ _html(`<div${_attr_class("_gt")}><p${_attr_class("_gu")}>From ${_text_resume($scope69_id, "c", preview.from.host, 2)} on ${_text_resume($scope69_id, "d", new Date(preview.from.exportedAt).toLocaleDateString(), 2)}${_text_resume($scope69_id, "e", preview.from.version ? ` (work ${preview.from.version})` : "", 2)}.</p>`);
9903
9903
  _if(() => {
9904
9904
  if (preview.workspaces.length) {
9905
9905
  const $scope70_id = _scope_id();
9906
9906
  _html(`<ul${_attr_class(checkList)}>`);
9907
9907
  _for_of(preview.workspaces, (w) => {
9908
9908
  const $scope71_id = _scope_id();
9909
- _html(`<li><label${_attr_class(["_dX", { ["_dZ"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope71_id, "b", restoreWs.has(w.id))}${_attr_class("_dY")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope71_id, "b")}<span${_attr_class("_b0")}><span${_attr_class("_b2")}><span${_attr_class("_b1")}>${_text_resume($scope71_id, "f", w.name)}</span>`);
9909
+ _html(`<li><label${_attr_class(["_gD", { ["_gF"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope71_id, "b", restoreWs.has(w.id))}${_attr_class("_gE")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope71_id, "b")}<span${_attr_class("_ce")}><span${_attr_class("_cg")}><span${_attr_class("_cf")}>${_text_resume($scope71_id, "f", w.name)}</span>`);
9910
9910
  _if(() => {
9911
9911
  if (w.status === "archived") {
9912
9912
  const $scope148_id = _scope_id();
@@ -9928,7 +9928,7 @@ var settings_page_default = _template("y", (input$3) => {
9928
9928
  return 1;
9929
9929
  }
9930
9930
  }, $scope71_id, "h", 1, 1, 1, 0, 1);
9931
- _html(`</span><span${_attr_class("_b3")}>${_text_resume($scope71_id, "j", w.repos.join(", ") || "no repos")}</span></span></label>${_el_resume($scope71_id, "a")}</li>`);
9931
+ _html(`</span><span${_attr_class("_ch")}>${_text_resume($scope71_id, "j", w.repos.join(", ") || "no repos")}</span></span></label>${_el_resume($scope71_id, "a")}</li>`);
9932
9932
  _script($scope71_id, "y83");
9933
9933
  _subscribe($restoreWs__closures, writeScope($scope71_id, {
9934
9934
  n: w?.unknownHost,
@@ -9939,7 +9939,7 @@ var settings_page_default = _template("y", (input$3) => {
9939
9939
  return 0;
9940
9940
  } else {
9941
9941
  const $scope146_id = _scope_id();
9942
- _html(`<p${_attr_class("_b5")}>No workspaces in this file.</p>`);
9942
+ _html(`<p${_attr_class("_cj")}>No workspaces in this file.</p>`);
9943
9943
  writeScope($scope146_id, {});
9944
9944
  return 1;
9945
9945
  }
@@ -9979,7 +9979,7 @@ var settings_page_default = _template("y", (input$3) => {
9979
9979
  _if(() => {
9980
9980
  if (p.total) {
9981
9981
  const $scope73_id = _scope_id();
9982
- _html(`<li><label${_attr_class(["_dX", { ["_dZ"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope73_id, "b", restoreParts[p.key])}${_attr_class("_dY")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope73_id, "b")}<span${_attr_class("_b0")}><span${_attr_class("_b1")}>${_text_resume($scope73_id, "e", p.label)}</span><span${_attr_class("_b3")}>`);
9982
+ _html(`<li><label${_attr_class(["_gD", { ["_gF"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope73_id, "b", restoreParts[p.key])}${_attr_class("_gE")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope73_id, "b")}<span${_attr_class("_ce")}><span${_attr_class("_cf")}>${_text_resume($scope73_id, "e", p.label)}</span><span${_attr_class("_ch")}>`);
9983
9983
  _if(() => {
9984
9984
  if (p.key === "settings") {
9985
9985
  const $scope145_id = _scope_id();
@@ -10026,7 +10026,7 @@ var settings_page_default = _template("y", (input$3) => {
10026
10026
  i: $for_content10__p_total__closures
10027
10027
  });
10028
10028
  }, "key", $scope69_id, "h");
10029
- _html(`</ul><div${_attr_class("_dV")}><button${_attr_class([btnSm, "_r"])}${_attr("disabled", !restoreWs.size && !Object.values(restoreParts).some(Boolean))}>Restore</button>${_el_resume($scope69_id, "j")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope69_id, "k")}</div></div>`);
10029
+ _html(`</ul><div${_attr_class("_gB")}><button${_attr_class([btnSm, "_r"])}${_attr("disabled", !restoreWs.size && !Object.values(restoreParts).some(Boolean))}>Restore</button>${_el_resume($scope69_id, "j")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope69_id, "k")}</div></div>`);
10030
10030
  _script($scope69_id, "y85");
10031
10031
  writeScope($scope69_id, {});
10032
10032
  return 0;
@@ -10228,13 +10228,13 @@ async function enablePush() {
10228
10228
  const reg = await registration();
10229
10229
  let sub = await reg.pushManager.getSubscription();
10230
10230
  if (!sub) {
10231
- const { publicKey } = await api$11("/api/push");
10231
+ const { publicKey } = await api$10("/api/push");
10232
10232
  sub = await reg.pushManager.subscribe({
10233
10233
  userVisibleOnly: true,
10234
10234
  applicationServerKey: vapidKey(publicKey)
10235
10235
  });
10236
10236
  }
10237
- await api$11("/api/push", {
10237
+ await api$10("/api/push", {
10238
10238
  method: "POST",
10239
10239
  headers: { "content-type": "application/json" },
10240
10240
  body: JSON.stringify(sub.toJSON())
@@ -10244,7 +10244,7 @@ async function enablePush() {
10244
10244
  async function disablePush() {
10245
10245
  const sub = await pushSubscription();
10246
10246
  if (!sub) return;
10247
- await api$11(`/api/push?endpoint=${encodeURIComponent(sub.endpoint)}`, { method: "DELETE" }).catch(() => {});
10247
+ await api$10(`/api/push?endpoint=${encodeURIComponent(sub.endpoint)}`, { method: "DELETE" }).catch(() => {});
10248
10248
  await sub.unsubscribe();
10249
10249
  }
10250
10250
  async function registration() {
@@ -10255,9 +10255,9 @@ function vapidKey(base64) {
10255
10255
  const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
10256
10256
  return Uint8Array.from(raw, (c) => c.charCodeAt(0));
10257
10257
  }
10258
- var iconBtn = "_b_ _l";
10259
- var settingsDot = "_ca _bc";
10260
- var navToggle = "_ce _l";
10258
+ var iconBtn = "_bN _l";
10259
+ var settingsDot = "_bO _bc";
10260
+ var navToggle = "_bS _l";
10261
10261
  _template("T", (input) => {
10262
10262
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
10263
10263
  const $scope0_id = _scope_id();
@@ -10311,8 +10311,7 @@ function activeAgent(session) {
10311
10311
  const command = session.state?.command?.trim();
10312
10312
  return command && agentFromCommand(command) || session.agent;
10313
10313
  }
10314
- var rowState = "_fs _N";
10315
- var rowArchive = "_fu _q _L";
10314
+ var rowState = "_c_ _N";
10316
10315
  //#endregion
10317
10316
  //#region src/client/arm.ts
10318
10317
  /** Two-step destructive controls: first click arms (label/colour flips),
@@ -10323,12 +10322,12 @@ var ARM_MS = 3500;
10323
10322
  function disarmLater(fn) {
10324
10323
  return setTimeout(fn, ARM_MS);
10325
10324
  }
10326
- var prChip = "_h3 _u _h2";
10327
- var portChip = "_h4 _u _h2";
10325
+ var prChip = "_iA _u _iz";
10326
+ var portChip = "_iB _u _iz";
10328
10327
  var prState = {
10329
- open: "_h8",
10330
- merged: "_h9",
10331
- closed: "_h_"
10328
+ open: "_iF",
10329
+ merged: "_iG",
10330
+ closed: "_iH"
10332
10331
  };
10333
10332
  //#endregion
10334
10333
  //#region src/tags/icons/icon-diff.marko
@@ -10419,7 +10418,7 @@ var side_nav_chips_default = _template("z", (input) => {
10419
10418
  const name = repo.full_name.split("/").at(-1);
10420
10419
  return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel(repo.full_name) : name;
10421
10420
  }, "z4", $scope1_id);
10422
- _html(`<div${_attr_class("_h1")}>`);
10421
+ _html(`<div${_attr_class("_iy")}>`);
10423
10422
  _for_of(repos, (repo) => {
10424
10423
  const $scope2_id = _scope_id();
10425
10424
  const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
@@ -10435,11 +10434,11 @@ var side_nav_chips_default = _template("z", (input) => {
10435
10434
  [prState.merged]: pr$1.state === "MERGED",
10436
10435
  [prState.closed]: pr$1.state === "CLOSED"
10437
10436
  }
10438
- ])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_h5", { ["_ic"]: !open }])}${_attr("href", pr$1.url)} target=_blank rel=noopener>${_text_resume($scope3_id, "c", repoLabel$1(repo))}#${_text_resume($scope3_id, "d", pr$1.number, 2)}</a>${_el_resume($scope3_id, "b")}`);
10437
+ ])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_iC", { ["_iK"]: !open }])}${_attr("href", pr$1.url)} target=_blank rel=noopener>${_text_resume($scope3_id, "c", repoLabel$1(repo))}#${_text_resume($scope3_id, "d", pr$1.number, 2)}</a>${_el_resume($scope3_id, "b")}`);
10439
10438
  _if(() => {
10440
10439
  if (open) {
10441
10440
  const $scope4_id = _scope_id();
10442
- _html(`<a${_attr_class(["_h5", "_h6"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
10441
+ _html(`<a${_attr_class(["_iC", "_iD"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
10443
10442
  icon_diff_default({ size: 12 });
10444
10443
  _html(`</a>${_el_resume($scope4_id, "a")}`);
10445
10444
  _subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
@@ -10447,9 +10446,9 @@ var side_nav_chips_default = _template("z", (input) => {
10447
10446
  } else {
10448
10447
  const $scope6_id = _scope_id();
10449
10448
  _html(`<button type=button${_attr_class([
10450
- "_h5",
10451
- "_h6",
10452
- "_h7"
10449
+ "_iC",
10450
+ "_iD",
10451
+ "_iE"
10453
10452
  ])}${_attr("title", `Dismiss #${pr$1.number}`)}>`);
10454
10453
  icon_xmark_default({ size: 12 });
10455
10454
  _html(`</button>${_el_resume($scope6_id, "a")}`);
@@ -10477,21 +10476,21 @@ var side_nav_chips_default = _template("z", (input) => {
10477
10476
  _if(() => {
10478
10477
  if (dead.has(p.port)) {
10479
10478
  const $scope7_id = _scope_id();
10480
- _html(`<span${_attr_class(["_h5", "_ia"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
10479
+ _html(`<span${_attr_class(["_iC", "_iI"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
10481
10480
  _subscribe($dead__closures, writeScope($scope7_id, { Ca3: 1 }));
10482
10481
  return 0;
10483
10482
  } else {
10484
10483
  const $scope8_id = _scope_id();
10485
- _html(`<button type=button${_attr_class(["_h5", "_ib"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
10484
+ _html(`<button type=button${_attr_class(["_iC", "_iJ"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
10486
10485
  _script($scope8_id, "z6");
10487
10486
  writeScope($scope8_id, {});
10488
10487
  return 1;
10489
10488
  }
10490
10489
  }, $scope5_id, "b", 1, 1, 1, 0, 1);
10491
10490
  _html(`<button type=button${_attr_class([
10492
- "_h5",
10493
- "_h6",
10494
- "_h7",
10491
+ "_iC",
10492
+ "_iD",
10493
+ "_iE",
10495
10494
  { ["_s"]: armedPid === p.pid }
10496
10495
  ])}${armedPid === p.pid ? " title=Kill?" : _attr("title", `Kill ${p.cmd} (pid ${p.pid})`)}>`);
10497
10496
  icon_xmark_default({ size: 12 });
@@ -10534,33 +10533,16 @@ var side_nav_chips_default = _template("z", (input) => {
10534
10533
  });
10535
10534
  _resume_branch($scope0_id);
10536
10535
  });
10537
- var railBtn = "_gh _l";
10538
- var wsBtn = "_gm _I";
10539
- var rowIcon = "_gp _4 _l";
10540
- var close = "_gq _7 _l _8";
10541
- var sessRename$1 = "_gB _J";
10542
- var sessBtn$1 = "_gD _I";
10536
+ var railBtn = "_dq _l";
10537
+ var wsBtn = "_dv _I";
10538
+ var rowIcon = "_dy _4 _l";
10539
+ var close = "_dz _7 _l _8";
10540
+ var sessRename$1 = "_dK _J";
10541
+ var sessBtn$1 = "_dM _I";
10543
10542
  //#endregion
10544
10543
  //#region src/styles/session-pop.css.ts
10545
- var sessionPop = "_fv __";
10546
- var sessionPopBtn = "_fw _I";
10547
- //#endregion
10548
- //#region src/tags/icons/icon-archive.marko
10549
- var icon_archive_default = _template("M", (input) => {
10550
- const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
10551
- const $scope0_id = _scope_id();
10552
- _set_serialize_reason({
10553
- 0: $sg__input_size__OR__input_class,
10554
- 1: $sg__input_size__OR__input_class
10555
- });
10556
- const $childScope = _peek_scope_id();
10557
- icon_base_default({
10558
- d: "M7 6L17 6 M7 9L17 9 M9 17H15 M3 12H2.6C2.26863 12 2 12.2686 2 12.6V21.4C2 21.7314 2.26863 22 2.6 22H21.4C21.7314 22 22 21.7314 22 21.4V12.6C22 12.2686 21.7314 12 21.4 12H21M3 12V2.6C3 2.26863 3.26863 2 3.6 2H20.4C20.7314 2 21 2.26863 21 2.6V12M3 12H21",
10559
- size: input.size,
10560
- class: input.class
10561
- });
10562
- _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
10563
- });
10544
+ var sessionPop = "_dm __";
10545
+ var sessionPopBtn = "_dn _I";
10564
10546
  //#endregion
10565
10547
  //#region src/tags/icons/icon-manage.marko
10566
10548
  var icon_manage_default = _template("hb", (input) => {
@@ -10589,22 +10571,22 @@ var usage_pcts_default = _template("I", (input) => {
10589
10571
  if (windows.length) {
10590
10572
  const $scope1_id = _scope_id();
10591
10573
  _html(`<span${_attr_class([
10592
- "_hp",
10574
+ "_gG",
10593
10575
  input.class,
10594
- { ["_hq"]: agent.stale_seconds != null }
10576
+ { ["_gH"]: agent.stale_seconds != null }
10595
10577
  ])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
10596
10578
  _for_of(windows, (win$1, i) => {
10597
10579
  const $scope2_id = _scope_id();
10598
- _html(`<span${_attr_class("_hr")}>`);
10580
+ _html(`<span${_attr_class("_gI")}>`);
10599
10581
  _if(() => {
10600
10582
  if (i) {
10601
10583
  const $scope3_id = _scope_id();
10602
- _html(`<span${_attr_class("_hu")} aria-hidden=true>·</span>`);
10584
+ _html(`<span${_attr_class("_gL")} aria-hidden=true>·</span>`);
10603
10585
  $si__input_agent && writeScope($scope3_id, {});
10604
10586
  return 0;
10605
10587
  }
10606
10588
  }, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
10607
- _html(`<span${_attr_class("_hs")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_ht", win$1.used_percent >= 90 ? "_g4" : win$1.used_percent >= 70 ? "_g3" : win$1.used_percent >= 40 ? "_g2" : "_g1"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
10589
+ _html(`<span${_attr_class("_gJ")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_gK", win$1.used_percent >= 90 ? "_g6" : win$1.used_percent >= 70 ? "_g5" : win$1.used_percent >= 40 ? "_g4" : "_g3"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
10608
10590
  $si__input_agent && writeScope($scope2_id, {});
10609
10591
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
10610
10592
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -10637,9 +10619,9 @@ var icon_edit_default = _template("bb", (input) => {
10637
10619
  });
10638
10620
  //#endregion
10639
10621
  //#region src/tags/side-nav-item.marko
10640
- var api$8;
10622
+ var api$7;
10641
10623
  var side_nav_item_default = _template("A", (input) => {
10642
- const $scope0_reason = _scope_reason(), $si__input_workspace = _serialize_if($scope0_reason, 25), $sg__input_workspace = _serialize_guard($scope0_reason, 25), $sg__input_status = _serialize_guard($scope0_reason, 27), $sg__input_sessions = _serialize_guard($scope0_reason, 23), $sg__input_page__OR__input_sessions__OR__input_status = _serialize_guard($scope0_reason, 7), $si__input_onArchive = _serialize_if($scope0_reason, 30), $sg__input_onArchive = _serialize_guard($scope0_reason, 30), $si__input_agents = _serialize_if($scope0_reason, 32), $sg__input_onArchive__OR__input_onNewSession__OR__input_onReview = _serialize_guard($scope0_reason, 10), $sg__input_onNewSession = _serialize_guard($scope0_reason, 31), $sg__input_onReview = _serialize_guard($scope0_reason, 33), $sg__input_page = _serialize_guard($scope0_reason, 22), $si__input_sessions = _serialize_if($scope0_reason, 23), $si__input_current = _serialize_if($scope0_reason, 21), $si__input_page = _serialize_if($scope0_reason, 22), $si__input_railPop = _serialize_if($scope0_reason, 29), $si__input_page__OR__input_sessions__OR__input_status = _serialize_if($scope0_reason, 7), $sg__input_rail__OR__input_workspace = _serialize_guard($scope0_reason, 1), $si__input_rail__OR__input_workspace = _serialize_if($scope0_reason, 1), $sg__input_rail__OR__input_workspace__OR__input_status = _serialize_guard($scope0_reason, 9), $si__input_page__OR__input_rail__OR__input_workspace__OR__input_onArchive = _serialize_if($scope0_reason, 12), $si__input_page__OR__input_rail__OR__input_workspace = _serialize_if($scope0_reason, 6), $si__input_current__OR__input_page__OR__input_rail__OR__input_sessions__OR__input_currentTab = _serialize_if($scope0_reason, 14), $si__input_index = _serialize_if($scope0_reason, 28), $si__input_onNewSession = _serialize_if($scope0_reason, 31), $si__input_onReview = _serialize_if($scope0_reason, 33), $si__input_managing = _serialize_if($scope0_reason, 34), $si__input_currentTab = _serialize_if($scope0_reason, 24), $si__input_workspaceId = _serialize_if($scope0_reason, 26);
10624
+ const $scope0_reason = _scope_reason(), $si__input_workspace = _serialize_if($scope0_reason, 24), $sg__input_workspace = _serialize_guard($scope0_reason, 24), $sg__input_status = _serialize_guard($scope0_reason, 26), $sg__input_sessions = _serialize_guard($scope0_reason, 22), $sg__input_page__OR__input_sessions__OR__input_status = _serialize_guard($scope0_reason, 8), $si__input_agents = _serialize_if($scope0_reason, 30), $sg__input_onNewSession = _serialize_guard($scope0_reason, 29), $sg__input_onNewSession__OR__input_onReview = _serialize_guard($scope0_reason, 6), $sg__input_onReview = _serialize_guard($scope0_reason, 31), $sg__input_page = _serialize_guard($scope0_reason, 21), $si__input_sessions = _serialize_if($scope0_reason, 22), $si__input_current = _serialize_if($scope0_reason, 20), $si__input_page = _serialize_if($scope0_reason, 21), $si__input_railPop = _serialize_if($scope0_reason, 28), $si__input_page__OR__input_sessions__OR__input_status = _serialize_if($scope0_reason, 8), $sg__input_rail__OR__input_workspace = _serialize_guard($scope0_reason, 1), $si__input_rail__OR__input_workspace = _serialize_if($scope0_reason, 1), $sg__input_rail__OR__input_workspace__OR__input_status = _serialize_guard($scope0_reason, 10), $si__input_page__OR__input_rail__OR__input_workspace = _serialize_if($scope0_reason, 7), $si__input_current__OR__input_page__OR__input_rail__OR__input_sessions__OR__input_currentTab = _serialize_if($scope0_reason, 13), $si__input_index = _serialize_if($scope0_reason, 27), $si__input_onNewSession = _serialize_if($scope0_reason, 29), $si__input_onReview = _serialize_if($scope0_reason, 31), $si__input_managing = _serialize_if($scope0_reason, 32), $si__input_currentTab = _serialize_if($scope0_reason, 23), $si__input_workspaceId = _serialize_if($scope0_reason, 25);
10643
10625
  const $scope0_id = _scope_id();
10644
10626
  const $input_current__closures = /* @__PURE__ */ new Set();
10645
10627
  const $input_index__closures = /* @__PURE__ */ new Set();
@@ -10652,7 +10634,6 @@ var side_nav_item_default = _template("A", (input) => {
10652
10634
  const $ws_pending_error__closures = /* @__PURE__ */ new Set();
10653
10635
  const $restoreLine__closures = /* @__PURE__ */ new Set();
10654
10636
  const $retrying__closures = /* @__PURE__ */ new Set();
10655
- const $input_onArchive__closures = /* @__PURE__ */ new Set();
10656
10637
  const $input_agents__closures = /* @__PURE__ */ new Set();
10657
10638
  const $input_onNewSession__closures = /* @__PURE__ */ new Set();
10658
10639
  const $input_onReview__closures = /* @__PURE__ */ new Set();
@@ -10697,7 +10678,7 @@ var side_nav_item_default = _template("A", (input) => {
10697
10678
  retrying = action === "retry";
10698
10679
  armedDelete = false;
10699
10680
  try {
10700
- await api$8(`/api/workspaces/${input.workspaceId}`, {
10681
+ await api$7(`/api/workspaces/${input.workspaceId}`, {
10701
10682
  method: "POST",
10702
10683
  headers: { "content-type": "application/json" },
10703
10684
  body: JSON.stringify({ action })
@@ -10716,76 +10697,76 @@ var side_nav_item_default = _template("A", (input) => {
10716
10697
  _if(() => {
10717
10698
  if (input.rail) {
10718
10699
  const $scope2_id = _scope_id();
10719
- _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_gf"]: 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, 28))}<span${_attr_class([
10700
+ _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_do"]: 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, 27))}<span${_attr_class([
10720
10701
  "_A",
10721
10702
  phase[dot$1],
10722
10703
  "_bc"
10723
10704
  ])}></span>${_el_resume($scope2_id, "c", $sg__input_status)}</a>${_el_resume($scope2_id, "a", _serialize_guard($scope0_reason, 0))}`);
10724
- _serialize_if($scope0_reason, 18) && _subscribe($si__input_workspace && $ws_name__closures, _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_workspace && $ws_pending__closures, _subscribe($si__input_index && $input_index__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }))))));
10705
+ _serialize_if($scope0_reason, 17) && _subscribe($si__input_workspace && $ws_name__closures, _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_workspace && $ws_pending__closures, _subscribe($si__input_index && $input_index__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }))))));
10725
10706
  return 0;
10726
10707
  } else if (ws$1.pending) {
10727
10708
  const $scope3_id = _scope_id();
10728
10709
  _html(`<section${_attr_class([
10729
- "_gj",
10730
- "_gF",
10710
+ "_ds",
10711
+ "_dO",
10731
10712
  {
10732
- ["_gk"]: input.railPop,
10733
- ["_gi"]: input.page
10713
+ ["_dt"]: input.railPop,
10714
+ ["_dr"]: input.page
10734
10715
  }
10735
- ])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_gl")}><div${_attr_class(wsBtn)}>`);
10716
+ ])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_du")}><div${_attr_class(wsBtn)}>`);
10736
10717
  _if(() => {
10737
10718
  if (ws$1.pending_error) {
10738
- const $scope16_id = _scope_id();
10719
+ const $scope15_id = _scope_id();
10739
10720
  icon_warning_default({
10740
10721
  size: 12,
10741
- class: "_gH"
10722
+ class: "_dQ"
10742
10723
  });
10743
- $si__input_workspace && writeScope($scope16_id, {});
10724
+ $si__input_workspace && writeScope($scope15_id, {});
10744
10725
  return 0;
10745
10726
  } else {
10746
- const $scope17_id = _scope_id();
10747
- _html(`<span${_attr_class(["_G", "_gG"])}></span>`);
10748
- $si__input_workspace && writeScope($scope17_id, {});
10727
+ const $scope16_id = _scope_id();
10728
+ _html(`<span${_attr_class(["_G", "_dP"])}></span>`);
10729
+ $si__input_workspace && writeScope($scope16_id, {});
10749
10730
  return 1;
10750
10731
  }
10751
10732
  }, $scope3_id, "d", $sg__input_workspace, $sg__input_workspace, 1, 0, 1);
10752
- _html(`<span${_attr_class("_gs")}><span${_attr_class("_gt")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_gJ")}${_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>`);
10733
+ _html(`<span${_attr_class("_dB")}><span${_attr_class("_dC")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_dS")}${_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>`);
10753
10734
  _if(() => {
10754
10735
  if (ws$1.pending_error && !retrying) {
10755
- const $scope15_id = _scope_id();
10756
- _html(`<div${_attr_class("_gI")}><button type=button${_attr_class(["_q", btnSm])} title="Run the restore again">Retry</button>${_el_resume($scope15_id, "b")}<button type=button${_attr_class([
10736
+ const $scope14_id = _scope_id();
10737
+ _html(`<div${_attr_class("_dR")}><button type=button${_attr_class(["_q", btnSm])} title="Run the restore again">Retry</button>${_el_resume($scope14_id, "b")}<button type=button${_attr_class([
10757
10738
  "_q",
10758
10739
  btnSm,
10759
10740
  { ["_s"]: armedDelete }
10760
- ])} title=${armedDelete ? "\"Delete this workspace?\"" : "\"Delete workspace\""}>${_text_resume($scope15_id, "d", armedDelete ? "Delete?" : "Delete")}</button>${_el_resume($scope15_id, "c")}</div>`);
10761
- _script($scope15_id, "A4");
10762
- _subscribe($armedDelete__closures, writeScope($scope15_id, {}));
10741
+ ])} title=${armedDelete ? "\"Delete this workspace?\"" : "\"Delete workspace\""}>${_text_resume($scope14_id, "d", armedDelete ? "Delete?" : "Delete")}</button>${_el_resume($scope14_id, "c")}</div>`);
10742
+ _script($scope14_id, "A4");
10743
+ _subscribe($armedDelete__closures, writeScope($scope14_id, {}));
10763
10744
  return 0;
10764
10745
  }
10765
10746
  }, $scope3_id, "j", 1, 1, 1, 0, 1);
10766
- _html(`</section>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 8))}`);
10747
+ _html(`</section>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 9))}`);
10767
10748
  _subscribe($retrying__closures, _subscribe($restoreLine__closures, _subscribe($si__input_workspace && $ws_pending_error__closures, _subscribe($si__input_workspace && $ws_name__closures, _subscribe($si__input_railPop && $input_railPop__closures, _subscribe($si__input_page && $input_page__closures, writeScope($scope3_id, {
10768
10749
  _: _scope_with_id($scope1_id),
10769
- Cb4: $si__input_workspace && 1
10750
+ Cb2: $si__input_workspace && 1
10770
10751
  })))))));
10771
10752
  return 1;
10772
10753
  } else {
10773
10754
  const $scope4_id = _scope_id();
10774
10755
  const sessions$1 = input.sessions || [];
10775
10756
  const phaseLabel = dot$1 === "working" ? "Working" : dot$1 === "waiting" ? "Needs input" : dot$1 === "idle" ? "Idle" : "Not running";
10776
- _html(`<section${_attr_class(["_gj", {
10777
- ["_gf"]: input.current,
10757
+ _html(`<section${_attr_class(["_ds", {
10758
+ ["_do"]: input.current,
10778
10759
  ["_bd"]: input.current,
10779
- ["_gk"]: input.railPop,
10780
- ["_gi"]: input.page
10781
- }])}><div${_attr_class("_gl")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class(wsBtn)}><span${_attr_class([
10760
+ ["_dt"]: input.railPop,
10761
+ ["_dr"]: input.page
10762
+ }])}><div${_attr_class("_du")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class(wsBtn)}><span${_attr_class([
10782
10763
  "_A",
10783
10764
  phase[dot$1],
10784
- "_gx"
10765
+ "_dG"
10785
10766
  ])}${_attr("title", phaseLabel)}></span>${_el_resume($scope4_id, "d", $sg__input_status)}`);
10786
10767
  _if(() => {
10787
10768
  if (sessions$1.length === 1) {
10788
- const $scope18_id = _scope_id();
10769
+ const $scope17_id = _scope_id();
10789
10770
  _set_serialize_reason({
10790
10771
  1: $sg__input_sessions,
10791
10772
  2: $sg__input_sessions
@@ -10794,9 +10775,9 @@ var side_nav_item_default = _template("A", (input) => {
10794
10775
  icon_agent_default({
10795
10776
  agent: activeAgent(sessions$1[0]),
10796
10777
  size: 12,
10797
- class: "_gr"
10778
+ class: "_dA"
10798
10779
  });
10799
- $si__input_sessions && writeScope($scope18_id, {
10780
+ $si__input_sessions && writeScope($scope17_id, {
10800
10781
  _: _scope_with_id($scope4_id),
10801
10782
  a: _existing_scope($childScope)
10802
10783
  });
@@ -10804,12 +10785,12 @@ var side_nav_item_default = _template("A", (input) => {
10804
10785
  }
10805
10786
  }, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions);
10806
10787
  const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length > 1 ? `${sessions$1.length} sessions` : "";
10807
- _html(`<span${_attr_class("_gs")}><span${_attr_class("_gt")}>${_text_resume($scope4_id, "h", ws$1.name, $sg__input_workspace)}</span>`);
10788
+ _html(`<span${_attr_class("_dB")}><span${_attr_class("_dC")}>${_text_resume($scope4_id, "h", ws$1.name, $sg__input_workspace)}</span>`);
10808
10789
  _if(() => {
10809
10790
  if (input.page && metaText) {
10810
- const $scope19_id = _scope_id();
10811
- _html(`<span${_attr_class("_gw")}>${_text_resume($scope19_id, "b", metaText, _serialize_guard($scope0_reason, 3))}</span>`);
10812
- $si__input_page__OR__input_sessions__OR__input_status && writeScope($scope19_id, { _: _serialize_if($scope0_reason, 3) && _scope_with_id($scope4_id) });
10791
+ const $scope18_id = _scope_id();
10792
+ _html(`<span${_attr_class("_dF")}>${_text_resume($scope18_id, "b", metaText, _serialize_guard($scope0_reason, 3))}</span>`);
10793
+ $si__input_page__OR__input_sessions__OR__input_status && writeScope($scope18_id, { _: _serialize_if($scope0_reason, 3) && _scope_with_id($scope4_id) });
10813
10794
  return 0;
10814
10795
  }
10815
10796
  }, $scope4_id, "i", $sg__input_page__OR__input_sessions__OR__input_status, $sg__input_page__OR__input_sessions__OR__input_status, 1, 0, 1);
@@ -10817,26 +10798,10 @@ var side_nav_item_default = _template("A", (input) => {
10817
10798
  _if(() => {
10818
10799
  if (!input.page) {
10819
10800
  const $scope5_id = _scope_id();
10820
- _html(`<div${_attr_class("_gn")}>`);
10821
- _if(() => {
10822
- if (input.onArchive) {
10823
- const $scope6_id = _scope_id();
10824
- const archiveRow = input.onArchive;
10825
- _html(`<button${_attr_class(rowIcon)} title="Every PR is finished. Archive this workspace">`);
10826
- icon_archive_default({ size: 12 });
10827
- _html(`</button>${_el_resume($scope6_id, "a")}`);
10828
- _script($scope6_id, "A5");
10829
- _subscribe($si__input_onArchive && $input_onArchive__closures, writeScope($scope6_id, {
10830
- c: archiveRow,
10831
- _: $si__input_page__OR__input_rail__OR__input_workspace__OR__input_onArchive && _scope_with_id($scope5_id),
10832
- Cas: $si__input_onArchive && 1
10833
- }));
10834
- return 0;
10835
- }
10836
- }, $scope5_id, "b", $sg__input_onArchive, $sg__input_onArchive, $sg__input_onArchive__OR__input_onNewSession__OR__input_onReview, 0, 1);
10801
+ _html(`<div${_attr_class("_dw")}>`);
10837
10802
  _if(() => {
10838
10803
  if (input.onNewSession) {
10839
- const $scope7_id = _scope_id();
10804
+ const $scope6_id = _scope_id();
10840
10805
  const newPopId = _id();
10841
10806
  let pickerReady = false;
10842
10807
  _html(`<button${_attr_class(rowIcon)} title="New session"${_attr("popovertarget", newPopId)}>`);
@@ -10844,9 +10809,9 @@ var side_nav_item_default = _template("A", (input) => {
10844
10809
  agent: "shell",
10845
10810
  size: 12
10846
10811
  });
10847
- _html(`</button>${_el_resume($scope7_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
10812
+ _html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
10848
10813
  _for_of([], (agent) => {
10849
- const $scope8_id = _scope_id();
10814
+ const $scope7_id = _scope_id();
10850
10815
  _html(`<button${_attr_class(sessionPopBtn)}>`);
10851
10816
  _set_serialize_reason(12);
10852
10817
  const $childScope2 = _peek_scope_id();
@@ -10854,72 +10819,72 @@ var side_nav_item_default = _template("A", (input) => {
10854
10819
  agent,
10855
10820
  size: 14
10856
10821
  });
10857
- _html(`${_text_resume($scope8_id, "c", agent, 2)}</button>${_el_resume($scope8_id, "a")}`);
10858
- _script($scope8_id, "A6");
10859
- writeScope($scope8_id, {
10822
+ _html(`${_text_resume($scope7_id, "c", agent, 2)}</button>${_el_resume($scope7_id, "a")}`);
10823
+ _script($scope7_id, "A5");
10824
+ writeScope($scope7_id, {
10860
10825
  e: agent,
10861
10826
  b: _existing_scope($childScope2)
10862
10827
  });
10863
- }, (a) => a, $scope7_id, "c", 1, 1, 1, "</div>", 1);
10864
- _script($scope7_id, "A7");
10865
- _subscribe($si__input_agents && $input_agents__closures, writeScope($scope7_id, {
10828
+ }, (a) => a, $scope6_id, "c", 1, 1, 1, "</div>", 1);
10829
+ _script($scope6_id, "A6");
10830
+ _subscribe($si__input_agents && $input_agents__closures, writeScope($scope6_id, {
10866
10831
  e: $si__input_agents && pickerReady,
10867
10832
  _: _scope_with_id($scope5_id)
10868
10833
  }));
10869
10834
  return 0;
10870
10835
  }
10871
- }, $scope5_id, "c", $sg__input_onNewSession, $sg__input_onNewSession, $sg__input_onArchive__OR__input_onNewSession__OR__input_onReview);
10836
+ }, $scope5_id, "b", $sg__input_onNewSession, $sg__input_onNewSession, $sg__input_onNewSession__OR__input_onReview);
10872
10837
  _if(() => {
10873
10838
  if (input.onReview) {
10874
- const $scope14_id = _scope_id();
10839
+ const $scope13_id = _scope_id();
10875
10840
  _html(`<a${_attr("href", `/w/${ws$1.id}/review`)}${_attr_class(rowIcon)} title="Review changes">`);
10876
10841
  icon_diff_default({ size: 12 });
10877
- _html(`</a>${_el_resume($scope14_id, "a", $sg__input_workspace)}`);
10878
- _serialize_if($scope0_reason, 13) && _subscribe($si__input_workspace && $ws_id__closures, writeScope($scope14_id, {
10842
+ _html(`</a>${_el_resume($scope13_id, "a", $sg__input_workspace)}`);
10843
+ _serialize_if($scope0_reason, 12) && _subscribe($si__input_workspace && $ws_id__closures, writeScope($scope13_id, {
10879
10844
  _: _scope_with_id($scope5_id),
10880
- Cb3: $si__input_workspace && 4
10845
+ Cb1: $si__input_workspace && 4
10881
10846
  }));
10882
10847
  return 0;
10883
10848
  }
10884
- }, $scope5_id, "d", $sg__input_onReview, $sg__input_onReview, $sg__input_onArchive__OR__input_onNewSession__OR__input_onReview, 0, 1);
10885
- _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_gg"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
10849
+ }, $scope5_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
10850
+ _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_dp"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
10886
10851
  icon_manage_default({ size: 12 });
10887
- _html(`</a>${_el_resume($scope5_id, "e", _serialize_guard($scope0_reason, 4))}</div>`);
10888
- _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_managing && $input_managing__closures, _subscribe($si__input_onReview && $input_onReview__closures, _subscribe($si__input_onNewSession && $input_onNewSession__closures, _subscribe($si__input_onArchive && $input_onArchive__closures, writeScope($scope5_id, {
10852
+ _html(`</a>${_el_resume($scope5_id, "d", _serialize_guard($scope0_reason, 4))}</div>`);
10853
+ _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_managing && $input_managing__closures, _subscribe($si__input_onReview && $input_onReview__closures, _subscribe($si__input_onNewSession && $input_onNewSession__closures, writeScope($scope5_id, {
10889
10854
  _: _scope_with_id($scope4_id),
10890
- Cb3: $si__input_workspace && 2
10891
- }))))));
10855
+ Cb1: $si__input_workspace && 2
10856
+ })))));
10892
10857
  return 0;
10893
10858
  }
10894
10859
  }, $scope4_id, "j", $sg__input_page, $sg__input_page, 1, 0, 1);
10895
- _html(`</div><div${_attr_class("_gC")}>`);
10860
+ _html(`</div><div${_attr_class("_dL")}>`);
10896
10861
  _if(() => {
10897
10862
  if (sessions$1.length === 1 && openPlan) {
10898
- const $scope12_id = _scope_id();
10863
+ const $scope11_id = _scope_id();
10899
10864
  _set_serialize_reason(1);
10900
10865
  const $childScope3 = _peek_scope_id();
10901
10866
  usage_pcts_default({
10902
10867
  agent: openPlan,
10903
- class: "_gu"
10868
+ class: "_dD"
10904
10869
  });
10905
- _subscribe($openPlan__closures, writeScope($scope12_id, {
10870
+ _subscribe($openPlan__closures, writeScope($scope11_id, {
10906
10871
  a: _existing_scope($childScope3),
10907
- Cb1: 2
10872
+ Caz: 2
10908
10873
  }));
10909
10874
  return 0;
10910
10875
  }
10911
10876
  }, $scope4_id, "l");
10912
10877
  _for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
10913
- const $scope9_id = _scope_id();
10914
- _html(`<div${_attr_class(["_go", { ["_gf"]: s.id === input.currentTab }])}>`);
10878
+ const $scope8_id = _scope_id();
10879
+ _html(`<div${_attr_class(["_dx", { ["_do"]: s.id === input.currentTab }])}>`);
10915
10880
  _if(() => {
10916
10881
  if (renamingId === s.id) {
10917
- const $scope11_id = _scope_id();
10882
+ const $scope10_id = _scope_id();
10918
10883
  _html(`<span${_attr_class([
10919
10884
  "_A",
10920
10885
  phase[sessionPhase(s.state)],
10921
- "_gA"
10922
- ])}></span>${_el_resume($scope11_id, "a", $sg__input_sessions)}`);
10886
+ "_dJ"
10887
+ ])}></span>${_el_resume($scope10_id, "a", $sg__input_sessions)}`);
10923
10888
  _set_serialize_reason({
10924
10889
  1: $sg__input_sessions,
10925
10890
  2: $sg__input_sessions
@@ -10928,17 +10893,17 @@ var side_nav_item_default = _template("A", (input) => {
10928
10893
  icon_agent_default({
10929
10894
  agent: activeAgent(s),
10930
10895
  size: 12,
10931
- class: "_gE"
10896
+ class: "_dN"
10932
10897
  });
10933
- _html(`<input${_attr_input_value($scope11_id, "c", renameValue, _resume((_new_renameValue) => {
10898
+ _html(`<input${_attr_input_value($scope10_id, "c", renameValue, _resume((_new_renameValue) => {
10934
10899
  renameValue = _new_renameValue;
10935
- }, "A0", $scope11_id))}${_attr_class(["_Z", sessRename$1])} aria-label="Session name">${_el_resume($scope11_id, "c")}`);
10936
- _script($scope11_id, "A8");
10937
- _subscribe($renameValue__closures, writeScope($scope11_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
10900
+ }, "A0", $scope10_id))}${_attr_class(["_Z", sessRename$1])} aria-label="Session name">${_el_resume($scope10_id, "c")}`);
10901
+ _script($scope10_id, "A7");
10902
+ _subscribe($renameValue__closures, writeScope($scope10_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
10938
10903
  return 0;
10939
10904
  } else {
10940
- const $scope10_id = _scope_id();
10941
- _html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class(sessBtn$1)}><span${_attr_class(["_A", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope10_id, "b", $sg__input_sessions)}`);
10905
+ const $scope9_id = _scope_id();
10906
+ _html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class(sessBtn$1)}><span${_attr_class(["_A", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope9_id, "b", $sg__input_sessions)}`);
10942
10907
  _set_serialize_reason({
10943
10908
  1: $sg__input_sessions,
10944
10909
  2: $sg__input_sessions
@@ -10947,39 +10912,39 @@ var side_nav_item_default = _template("A", (input) => {
10947
10912
  icon_agent_default({
10948
10913
  agent: activeAgent(s),
10949
10914
  size: 12,
10950
- class: "_gE"
10915
+ class: "_dN"
10951
10916
  });
10952
- _html(`<span${_attr_class("_gy")}>${_text_resume($scope10_id, "e", s.title || activeAgent(s), $sg__input_sessions)}</span></a>${_el_resume($scope10_id, "a", _serialize_guard($scope0_reason, 2))}<div${_attr_class("_gz")}><button${_attr_class(rowIcon)} title="Rename session">`);
10917
+ _html(`<span${_attr_class("_dH")}>${_text_resume($scope9_id, "e", s.title || activeAgent(s), $sg__input_sessions)}</span></a>${_el_resume($scope9_id, "a", _serialize_guard($scope0_reason, 2))}<div${_attr_class("_dI")}><button${_attr_class(rowIcon)} title="Rename session">`);
10953
10918
  icon_edit_default({ size: 12 });
10954
- _html(`</button>${_el_resume($scope10_id, "g")}<button${_attr_class([close, { ["_s"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
10919
+ _html(`</button>${_el_resume($scope9_id, "g")}<button${_attr_class([close, { ["_s"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
10955
10920
  icon_xmark_default({ size: 12 });
10956
- _html(`</button>${_el_resume($scope10_id, "i")}</div>`);
10921
+ _html(`</button>${_el_resume($scope9_id, "i")}</div>`);
10957
10922
  _if(() => {
10958
10923
  if (openPlan && s.id === openSess?.id) {
10959
- const $scope13_id = _scope_id();
10924
+ const $scope12_id = _scope_id();
10960
10925
  _set_serialize_reason(1);
10961
10926
  const $childScope6 = _peek_scope_id();
10962
10927
  usage_pcts_default({
10963
10928
  agent: openPlan,
10964
- class: "_gv"
10929
+ class: "_dE"
10965
10930
  });
10966
- _subscribe($openPlan__closures, writeScope($scope13_id, {
10931
+ _subscribe($openPlan__closures, writeScope($scope12_id, {
10967
10932
  a: _existing_scope($childScope6),
10968
- Cb1: 3
10933
+ Caz: 3
10969
10934
  }));
10970
10935
  return 0;
10971
10936
  }
10972
- }, $scope10_id, "k");
10973
- _script($scope10_id, "A9");
10974
- _subscribe($si__input_workspace && $ws_id__closures, _subscribe($openPlan__closures, _subscribe($si__input_current__OR__input_page__OR__input_rail__OR__input_sessions__OR__input_currentTab && $openSess_id__closures, _subscribe($armedKill__closures, writeScope($scope10_id, {
10937
+ }, $scope9_id, "k");
10938
+ _script($scope9_id, "A8");
10939
+ _subscribe($si__input_workspace && $ws_id__closures, _subscribe($openPlan__closures, _subscribe($si__input_current__OR__input_page__OR__input_rail__OR__input_sessions__OR__input_currentTab && $openSess_id__closures, _subscribe($armedKill__closures, writeScope($scope9_id, {
10975
10940
  c: $si__input_sessions && _existing_scope($childScope5),
10976
- Cb1: 1,
10977
- Cb3: $si__input_workspace && 3
10941
+ Caz: 1,
10942
+ Cb1: $si__input_workspace && 3
10978
10943
  })))));
10979
10944
  return 1;
10980
10945
  }
10981
- }, $scope9_id, "a", 1, 1, 1, "</div>");
10982
- _subscribe($renamingId__closures, _subscribe($si__input_currentTab && $input_currentTab__closures, writeScope($scope9_id, {
10946
+ }, $scope8_id, "a", 1, 1, 1, "</div>");
10947
+ _subscribe($renamingId__closures, _subscribe($si__input_currentTab && $input_currentTab__closures, writeScope($scope8_id, {
10983
10948
  c: s,
10984
10949
  d: s?.id,
10985
10950
  g: s?.state,
@@ -10988,14 +10953,14 @@ var side_nav_item_default = _template("A", (input) => {
10988
10953
  _: _scope_with_id($scope4_id)
10989
10954
  })));
10990
10955
  }, "id", $scope4_id, "m", $sg__input_sessions, $sg__input_sessions, $sg__input_sessions, 0, 1);
10991
- _set_serialize_reason(_serialize_guard($scope0_reason, 26));
10956
+ _set_serialize_reason(_serialize_guard($scope0_reason, 25));
10992
10957
  const $childScope7 = _peek_scope_id();
10993
10958
  side_nav_chips_default({
10994
10959
  workspaceId: input.workspaceId,
10995
10960
  status: st
10996
10961
  });
10997
10962
  _html(`</div></section>${_el_resume($scope4_id, "a")}`);
10998
- _script($scope4_id, "A10");
10963
+ _script($scope4_id, "A9");
10999
10964
  _subscribe($si__input_workspace && $ws_name__closures, _subscribe($si__input_workspace && $ws_id__closures, _subscribe($openPlan__closures, _subscribe($si__input_railPop && $input_railPop__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, _subscribe($si__input_sessions && $input_sessions__closures, _subscribe($si__input_page && $input_page__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope4_id, {
11000
10965
  q: sessions$1.length,
11001
10966
  s: $si__input_sessions && sessions$1[0],
@@ -11003,11 +10968,11 @@ var side_nav_item_default = _template("A", (input) => {
11003
10968
  v: $si__input_page__OR__input_sessions__OR__input_status && metaText,
11004
10969
  _: _scope_with_id($scope1_id),
11005
10970
  n: _serialize_if($scope0_reason, 5) && _existing_scope($childScope7),
11006
- Caj: $si__input_current && 1,
11007
- Cak: $si__input_page && 1,
11008
- Car: $si__input_railPop && 1,
11009
- Cb3: $si__input_workspace && 1,
11010
- Cb4: $si__input_workspace && 2
10971
+ Cai: $si__input_current && 1,
10972
+ Caj: $si__input_page && 1,
10973
+ Caq: $si__input_railPop && 1,
10974
+ Cb1: $si__input_workspace && 1,
10975
+ Cb2: $si__input_workspace && 2
11011
10976
  })))))))));
11012
10977
  return 2;
11013
10978
  }
@@ -11020,76 +10985,74 @@ var side_nav_item_default = _template("A", (input) => {
11020
10985
  return 0;
11021
10986
  }
11022
10987
  }, $scope0_id, "a", $sg__input_rail__OR__input_workspace__OR__input_status, $sg__input_workspace, $sg__input_workspace);
10988
+ _script($scope0_id, "A10");
11023
10989
  _script($scope0_id, "A11");
11024
10990
  _script($scope0_id, "A12");
11025
- _script($scope0_id, "A13");
11026
10991
  writeScope($scope0_id, {
11027
10992
  d: input.onRenameSession,
11028
- e: _serialize_if($scope0_reason, 19) && input.current,
11029
- f: _serialize_if($scope0_reason, 20) && input.page,
11030
- g: _serialize_if($scope0_reason, 17) && input.rail,
11031
- h: _serialize_if($scope0_reason, 16) && input.sessions,
11032
- i: _serialize_if($scope0_reason, 15) && input.currentTab,
10993
+ e: _serialize_if($scope0_reason, 18) && input.current,
10994
+ f: _serialize_if($scope0_reason, 19) && input.page,
10995
+ g: _serialize_if($scope0_reason, 16) && input.rail,
10996
+ h: _serialize_if($scope0_reason, 15) && input.sessions,
10997
+ i: _serialize_if($scope0_reason, 14) && input.currentTab,
11033
10998
  l: input.workspaceId,
11034
10999
  m: $si__input_workspace && input.status,
11035
11000
  n: $si__input_rail__OR__input_workspace && input.index,
11036
11001
  o: _serialize_if($scope0_reason, 11) && input.railPop,
11037
11002
  p: input.onSelect,
11038
- q: $si__input_page__OR__input_rail__OR__input_workspace__OR__input_onArchive && input.onArchive,
11039
- r: input.onNewSession,
11040
- s: input.agents,
11041
- t: $si__input_page__OR__input_rail__OR__input_workspace && input.onReview,
11042
- u: $si__input_page__OR__input_rail__OR__input_workspace && input.managing,
11043
- v: input.onCloseSession,
11044
- w: armedKill,
11045
- y: armBox.timer,
11046
- z: arm,
11047
- a0: renamingId,
11048
- a1: renameValue,
11049
- a3: commitRename,
11050
- a4: $si__input_current__OR__input_page__OR__input_rail__OR__input_sessions__OR__input_currentTab && usage,
11051
- a5: openSess,
11052
- a7: openSess?.id,
11053
- a8: openPlan,
11054
- aa: ws$1?.pending,
11055
- ac: ws$1?.id,
11056
- ad: $si__input_rail__OR__input_workspace && ws$1?.name,
11057
- ae: ws$1?.pending_error,
11058
- af: $si__input_rail__OR__input_workspace && restoreLine,
11059
- ag: armedDelete,
11060
- ah: $si__input_rail__OR__input_workspace && retrying,
11061
- ai: restoreAction,
11062
- aj: $si__input_current && $input_current__closures,
11063
- aq: $si__input_index && $input_index__closures,
11064
- b2: $si__input_workspace && $ws_pending__closures,
11065
- b3: $si__input_workspace && $ws_id__closures,
11066
- b4: $si__input_workspace && $ws_name__closures,
11067
- b7: $armedDelete__closures,
11068
- ak: $si__input_page && $input_page__closures,
11069
- ar: $si__input_railPop && $input_railPop__closures,
11070
- b5: $si__input_workspace && $ws_pending_error__closures,
11071
- b6: $restoreLine__closures,
11072
- b8: $retrying__closures,
11073
- as: $si__input_onArchive && $input_onArchive__closures,
11074
- au: $si__input_agents && $input_agents__closures,
11075
- at: $si__input_onNewSession && $input_onNewSession__closures,
11076
- av: $si__input_onReview && $input_onReview__closures,
11077
- aw: $si__input_managing && $input_managing__closures,
11078
- b1: $openPlan__closures,
11079
- az: $renameValue__closures,
11080
- ax: $armedKill__closures,
11081
- b0: $si__input_current__OR__input_page__OR__input_rail__OR__input_sessions__OR__input_currentTab && $openSess_id__closures,
11082
- an: $si__input_currentTab && $input_currentTab__closures,
11083
- ay: $renamingId__closures,
11084
- am: $si__input_sessions && $input_sessions__closures,
11085
- ao: $si__input_workspaceId && $input_workspaceId__closures
11003
+ q: input.onNewSession,
11004
+ r: input.agents,
11005
+ s: $si__input_page__OR__input_rail__OR__input_workspace && input.onReview,
11006
+ t: $si__input_page__OR__input_rail__OR__input_workspace && input.managing,
11007
+ u: input.onCloseSession,
11008
+ v: armedKill,
11009
+ x: armBox.timer,
11010
+ y: arm,
11011
+ z: renamingId,
11012
+ a0: renameValue,
11013
+ a2: commitRename,
11014
+ a3: $si__input_current__OR__input_page__OR__input_rail__OR__input_sessions__OR__input_currentTab && usage,
11015
+ a4: openSess,
11016
+ a6: openSess?.id,
11017
+ a7: openPlan,
11018
+ a9: ws$1?.pending,
11019
+ ab: ws$1?.id,
11020
+ ac: $si__input_rail__OR__input_workspace && ws$1?.name,
11021
+ ad: ws$1?.pending_error,
11022
+ ae: $si__input_rail__OR__input_workspace && restoreLine,
11023
+ af: armedDelete,
11024
+ ag: $si__input_rail__OR__input_workspace && retrying,
11025
+ ah: restoreAction,
11026
+ ai: $si__input_current && $input_current__closures,
11027
+ ap: $si__input_index && $input_index__closures,
11028
+ b0: $si__input_workspace && $ws_pending__closures,
11029
+ b1: $si__input_workspace && $ws_id__closures,
11030
+ b2: $si__input_workspace && $ws_name__closures,
11031
+ b5: $armedDelete__closures,
11032
+ aj: $si__input_page && $input_page__closures,
11033
+ aq: $si__input_railPop && $input_railPop__closures,
11034
+ b3: $si__input_workspace && $ws_pending_error__closures,
11035
+ b4: $restoreLine__closures,
11036
+ b6: $retrying__closures,
11037
+ as: $si__input_agents && $input_agents__closures,
11038
+ ar: $si__input_onNewSession && $input_onNewSession__closures,
11039
+ at: $si__input_onReview && $input_onReview__closures,
11040
+ au: $si__input_managing && $input_managing__closures,
11041
+ az: $openPlan__closures,
11042
+ ax: $renameValue__closures,
11043
+ av: $armedKill__closures,
11044
+ ay: $si__input_current__OR__input_page__OR__input_rail__OR__input_sessions__OR__input_currentTab && $openSess_id__closures,
11045
+ am: $si__input_currentTab && $input_currentTab__closures,
11046
+ aw: $renamingId__closures,
11047
+ al: $si__input_sessions && $input_sessions__closures,
11048
+ an: $si__input_workspaceId && $input_workspaceId__closures
11086
11049
  });
11087
11050
  _resume_branch($scope0_id);
11088
11051
  });
11089
11052
  //#endregion
11090
11053
  //#region src/tags/workspace-switcher.marko
11091
11054
  var workspace_switcher_default = _template("K", (input) => {
11092
- const $scope0_reason = _scope_reason(), $sg__input_workspace__OR__input_allStatus__OR__input_sessions = _serialize_guard($scope0_reason, 2), $sg__input_workspace = _serialize_guard($scope0_reason, 9), $si__input_tab = _serialize_if($scope0_reason, 12), $si__input_workspace__OR__input_allStatus__OR__input_sessions = _serialize_if($scope0_reason, 2), $si__input_workspace__OR__input_allStatus__OR__input_sessions__OR__input_tab = _serialize_if($scope0_reason, 5), $sg__input_openIds__OR__input_doneIds = _serialize_guard($scope0_reason, 1), $sg__input_openIds__OR__input_doneIds__OR__input_byId = _serialize_guard($scope0_reason, 4), $sg__input_allStatus__OR__input_openIds__OR__input_doneIds = _serialize_guard($scope0_reason, 3), $sg__input_allStatus__OR__input_openIds__OR__input_doneIds__OR__input_byId = _serialize_guard($scope0_reason, 7), $si__input_allStatus__OR__input_openIds__OR__input_doneIds = _serialize_if($scope0_reason, 3), $si__input_openIds__OR__input_doneIds = _serialize_if($scope0_reason, 1), $si__input_allStatus = _serialize_if($scope0_reason, 10), $si__input_openIds__OR__input_doneIds__OR__input_byId = _serialize_if($scope0_reason, 4), $si__input_workspace__OR__input_allStatus = _serialize_if($scope0_reason, 0), $si__input_workspace = _serialize_if($scope0_reason, 9), $si__input_byId = _serialize_if($scope0_reason, 15);
11055
+ const $scope0_reason = _scope_reason(), $sg__input_workspace__OR__input_allStatus__OR__input_sessions = _serialize_guard($scope0_reason, 4), $sg__input_workspace = _serialize_guard($scope0_reason, 10), $si__input_tab = _serialize_if($scope0_reason, 13), $si__input_workspace__OR__input_allStatus__OR__input_sessions = _serialize_if($scope0_reason, 4), $si__input_workspace__OR__input_allStatus__OR__input_sessions__OR__input_tab = _serialize_if($scope0_reason, 7), $sg__input_ids__OR__input_byId = _serialize_guard($scope0_reason, 3), $sg__input_allStatus__OR__input_ids = _serialize_guard($scope0_reason, 2), $sg__input_allStatus__OR__input_ids__OR__input_byId = _serialize_guard($scope0_reason, 6), $si__input_allStatus__OR__input_ids = _serialize_if($scope0_reason, 2), $sg__input_ids = _serialize_guard($scope0_reason, 14), $si__input_allStatus = _serialize_if($scope0_reason, 11), $si__input_allStatus__OR__input_ids__OR__input_byId = _serialize_if($scope0_reason, 6), $si__input_ids__OR__input_byId = _serialize_if($scope0_reason, 3), $sg__input_workspace__OR__input_ids_length = _serialize_guard($scope0_reason, 1), $si__input_workspace__OR__input_allStatus = _serialize_if($scope0_reason, 0), $si__input_workspace = _serialize_if($scope0_reason, 10), $si__input_byId = _serialize_if($scope0_reason, 16);
11093
11056
  const $scope0_id = _scope_id();
11094
11057
  const $sessions___closures = /* @__PURE__ */ new Set();
11095
11058
  const $input_tab__closures = /* @__PURE__ */ new Set();
@@ -11103,14 +11066,14 @@ var workspace_switcher_default = _template("K", (input) => {
11103
11066
  const sessions = input.sessions || st?.sessions || [];
11104
11067
  const manySessions = sessions.length > 1;
11105
11068
  const heroMeta$1 = sessions.length === 0 ? "No sessions" : manySessions ? `${sessions.length} sessions` : "";
11106
- _html(`<div${_attr_class("_fb")}>`);
11069
+ _html(`<div${_attr_class("_cV")}>`);
11107
11070
  _if(() => {
11108
11071
  if (ws) {
11109
11072
  const $scope1_id = _scope_id();
11110
- _html(`<section${_attr_class("_fc")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_fd")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
11073
+ _html(`<section${_attr_class("_cW")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_cX")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
11111
11074
  _if(() => {
11112
11075
  if (sessions.length === 1) {
11113
- const $scope10_id = _scope_id();
11076
+ const $scope8_id = _scope_id();
11114
11077
  _set_serialize_reason({
11115
11078
  1: $sg__input_workspace__OR__input_allStatus__OR__input_sessions,
11116
11079
  2: $sg__input_workspace__OR__input_allStatus__OR__input_sessions
@@ -11119,23 +11082,23 @@ var workspace_switcher_default = _template("K", (input) => {
11119
11082
  icon_agent_default({
11120
11083
  agent: activeAgent(sessions[0]),
11121
11084
  size: 16,
11122
- class: "_fg"
11085
+ class: "_c0"
11123
11086
  });
11124
- $si__input_workspace__OR__input_allStatus__OR__input_sessions && _subscribe($sessions___closures, writeScope($scope10_id, {
11087
+ $si__input_workspace__OR__input_allStatus__OR__input_sessions && _subscribe($sessions___closures, writeScope($scope8_id, {
11125
11088
  _: _scope_with_id($scope1_id),
11126
11089
  a: _existing_scope($childScope)
11127
11090
  }));
11128
11091
  return 0;
11129
11092
  }
11130
11093
  }, $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);
11131
- _html(`<span${_attr_class("_fe")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class("_ff")}>${_text_resume($scope1_id, "h", heroMeta$1, $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope1_id, "b", $sg__input_workspace)}`);
11094
+ _html(`<span${_attr_class("_cY")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class("_cZ")}>${_text_resume($scope1_id, "h", heroMeta$1, $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope1_id, "b", $sg__input_workspace)}`);
11132
11095
  _if(() => {
11133
11096
  if (manySessions) {
11134
11097
  const $scope2_id = _scope_id();
11135
- _html(`<div${_attr_class("_fh")}>`);
11098
+ _html(`<div${_attr_class("_c1")}>`);
11136
11099
  _for_of(sessions, (s) => {
11137
11100
  const $scope3_id = _scope_id();
11138
- _html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_fj", { ["_fi"]: s.id === input.tab }])}><span${_attr_class(["_A", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope3_id, "b", $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}`);
11101
+ _html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_c3", { ["_c2"]: 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)}`);
11139
11102
  _set_serialize_reason({
11140
11103
  1: $sg__input_workspace__OR__input_allStatus__OR__input_sessions,
11141
11104
  2: $sg__input_workspace__OR__input_allStatus__OR__input_sessions
@@ -11145,7 +11108,7 @@ var workspace_switcher_default = _template("K", (input) => {
11145
11108
  agent: activeAgent(s),
11146
11109
  size: 14
11147
11110
  });
11148
- _html(`<span${_attr_class("_fk")}>${_text_resume($scope3_id, "e", s.title || activeAgent(s), $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 5))}`);
11111
+ _html(`<span${_attr_class("_c4")}>${_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))}`);
11149
11112
  $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, {
11150
11113
  h: $si__input_tab && s?.id,
11151
11114
  _: _scope_with_id($scope2_id),
@@ -11170,189 +11133,147 @@ var workspace_switcher_default = _template("K", (input) => {
11170
11133
  });
11171
11134
  return 0;
11172
11135
  }
11173
- }, $scope0_id, "b", $sg__input_workspace__OR__input_allStatus__OR__input_sessions, $sg__input_workspace, $sg__input_workspace, 0, 1);
11174
- _for_of([input.openIds, input.doneIds], (ids, i) => {
11175
- const $scope4_id = _scope_id();
11176
- _if(() => {
11177
- if (ids.length) {
11136
+ }, $scope0_id, "b", $sg__input_workspace__OR__input_allStatus__OR__input_sessions, $sg__input_workspace, $sg__input_workspace__OR__input_ids_length, 0, 1);
11137
+ _if(() => {
11138
+ if (input.ids.length) {
11139
+ const $scope4_id = _scope_id();
11140
+ _html(`<div${_attr_class("_c5")}>`);
11141
+ _for_of(input.ids, (id) => {
11178
11142
  const $scope5_id = _scope_id();
11179
- const $if_content3__done__closures = /* @__PURE__ */ new Set();
11180
- const done = i === 1;
11181
- _html(`<section${_attr_class("_fl")}>`);
11143
+ const w = input.byId.get(id);
11182
11144
  _if(() => {
11183
- if (done) {
11184
- const $scope11_id = _scope_id();
11185
- _html(`<h2${_attr_class(["_b8", "_fm"])}>Done</h2>`);
11186
- $si__input_openIds__OR__input_doneIds && writeScope($scope11_id, {});
11145
+ if (w?.pending) {
11146
+ const $scope6_id = _scope_id();
11147
+ _set_serialize_reason({
11148
+ 0: $sg__input_ids__OR__input_byId,
11149
+ 1: $sg__input_ids__OR__input_byId,
11150
+ 2: $sg__input_ids__OR__input_byId,
11151
+ 3: $sg__input_allStatus__OR__input_ids,
11152
+ 4: $sg__input_ids__OR__input_byId,
11153
+ 5: $sg__input_allStatus__OR__input_ids,
11154
+ 7: $sg__input_ids__OR__input_byId,
11155
+ 8: $sg__input_allStatus__OR__input_ids,
11156
+ 9: $sg__input_ids__OR__input_byId,
11157
+ 10: $sg__input_allStatus__OR__input_ids__OR__input_byId,
11158
+ 11: $sg__input_ids__OR__input_byId,
11159
+ 12: $sg__input_ids__OR__input_byId,
11160
+ 14: $sg__input_ids__OR__input_byId,
11161
+ 15: $sg__input_ids__OR__input_byId,
11162
+ 16: $sg__input_ids__OR__input_byId,
11163
+ 17: $sg__input_allStatus__OR__input_ids__OR__input_byId,
11164
+ 18: $sg__input_ids__OR__input_byId,
11165
+ 19: $sg__input_allStatus__OR__input_ids__OR__input_byId,
11166
+ 24: $sg__input_ids__OR__input_byId,
11167
+ 25: $sg__input_ids,
11168
+ 26: $sg__input_allStatus__OR__input_ids
11169
+ });
11170
+ const $childScope4 = _peek_scope_id();
11171
+ side_nav_item_default({
11172
+ page: true,
11173
+ workspaceId: id,
11174
+ workspace: w,
11175
+ status: input.allStatus[id],
11176
+ current: false,
11177
+ onSelect: _resume(function() {}, "K0")
11178
+ });
11179
+ $si__input_allStatus__OR__input_ids__OR__input_byId && _subscribe($si__input_allStatus && $input_allStatus__closures, writeScope($scope6_id, {
11180
+ _: _scope_with_id($scope5_id),
11181
+ a: _existing_scope($childScope4)
11182
+ }));
11187
11183
  return 0;
11184
+ } else if (w) {
11185
+ const $scope7_id = _scope_id();
11186
+ const rs = input.allStatus[id];
11187
+ const rp = phaseOf(rs);
11188
+ const rowSessions = rs?.sessions || [];
11189
+ const many = rowSessions.length > 1;
11190
+ _html(`<div${_attr_class("_c6")}><a${_attr("href", `/w/${id}`)}${_attr_class("_c7")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope7_id, "c", $sg__input_allStatus__OR__input_ids)}`);
11191
+ _if(() => {
11192
+ if (rowSessions.length === 1) {
11193
+ const $scope9_id = _scope_id();
11194
+ _set_serialize_reason({
11195
+ 1: $sg__input_allStatus__OR__input_ids,
11196
+ 2: $sg__input_allStatus__OR__input_ids
11197
+ });
11198
+ const $childScope5 = _peek_scope_id();
11199
+ icon_agent_default({
11200
+ agent: activeAgent(rowSessions[0]),
11201
+ size: 16,
11202
+ class: "_c9"
11203
+ });
11204
+ $si__input_allStatus__OR__input_ids && writeScope($scope9_id, {
11205
+ _: _scope_with_id($scope7_id),
11206
+ a: _existing_scope($childScope5)
11207
+ });
11208
+ return 0;
11209
+ }
11210
+ }, $scope7_id, "d", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids);
11211
+ _html(`<span${_attr_class("_c8")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
11212
+ _if(() => {
11213
+ if (many) {
11214
+ const $scope10_id = _scope_id();
11215
+ _html(`<span${_attr_class(rowState)}>${_text_resume($scope10_id, "b", rowSessions.length, $sg__input_allStatus__OR__input_ids)} sessions</span>`);
11216
+ $si__input_allStatus__OR__input_ids && writeScope($scope10_id, { _: _scope_with_id($scope7_id) });
11217
+ return 0;
11218
+ }
11219
+ }, $scope7_id, "g", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, 0, 1);
11220
+ icon_chevron_right_default({
11221
+ size: 14,
11222
+ class: "_da"
11223
+ });
11224
+ _html(`</a>${_el_resume($scope7_id, "b", $sg__input_ids)}`);
11225
+ _set_serialize_reason($sg__input_ids);
11226
+ const $childScope6 = _peek_scope_id();
11227
+ side_nav_chips_default({
11228
+ workspaceId: id,
11229
+ status: rs
11230
+ });
11231
+ _html("</div>");
11232
+ $si__input_allStatus__OR__input_ids__OR__input_byId && _subscribe($si__input_allStatus && $input_allStatus__closures, writeScope($scope7_id, {
11233
+ o: $si__input_allStatus__OR__input_ids && rowSessions.length,
11234
+ p: $si__input_allStatus__OR__input_ids && rowSessions[0],
11235
+ _: _scope_with_id($scope5_id),
11236
+ i: $si__input_allStatus__OR__input_ids && _existing_scope($childScope6),
11237
+ Ca0: $si__input_allStatus && 1
11238
+ }));
11239
+ return 1;
11188
11240
  }
11189
- }, $scope5_id, "b", $sg__input_openIds__OR__input_doneIds, $sg__input_openIds__OR__input_doneIds, $sg__input_openIds__OR__input_doneIds, 0, 1);
11190
- _html(`<div${_attr_class("_fn")}>`);
11191
- _for_of(ids, (id) => {
11192
- const $scope6_id = _scope_id();
11193
- const w = input.byId.get(id);
11194
- _if(() => {
11195
- if (w?.pending) {
11196
- const $scope7_id = _scope_id();
11197
- _set_serialize_reason({
11198
- 0: $sg__input_openIds__OR__input_doneIds__OR__input_byId,
11199
- 1: $sg__input_openIds__OR__input_doneIds__OR__input_byId,
11200
- 2: $sg__input_openIds__OR__input_doneIds__OR__input_byId,
11201
- 3: $sg__input_allStatus__OR__input_openIds__OR__input_doneIds,
11202
- 4: $sg__input_openIds__OR__input_doneIds__OR__input_byId,
11203
- 5: $sg__input_allStatus__OR__input_openIds__OR__input_doneIds,
11204
- 6: $sg__input_openIds__OR__input_doneIds__OR__input_byId,
11205
- 7: $sg__input_allStatus__OR__input_openIds__OR__input_doneIds,
11206
- 8: $sg__input_openIds__OR__input_doneIds__OR__input_byId,
11207
- 9: $sg__input_allStatus__OR__input_openIds__OR__input_doneIds__OR__input_byId,
11208
- 11: $sg__input_openIds__OR__input_doneIds__OR__input_byId,
11209
- 12: $sg__input_openIds__OR__input_doneIds__OR__input_byId,
11210
- 13: $sg__input_openIds__OR__input_doneIds__OR__input_byId,
11211
- 15: $sg__input_openIds__OR__input_doneIds__OR__input_byId,
11212
- 16: $sg__input_openIds__OR__input_doneIds__OR__input_byId,
11213
- 17: $sg__input_openIds__OR__input_doneIds__OR__input_byId,
11214
- 18: $sg__input_allStatus__OR__input_openIds__OR__input_doneIds__OR__input_byId,
11215
- 19: $sg__input_openIds__OR__input_doneIds__OR__input_byId,
11216
- 20: $sg__input_allStatus__OR__input_openIds__OR__input_doneIds__OR__input_byId,
11217
- 25: $sg__input_openIds__OR__input_doneIds__OR__input_byId,
11218
- 26: $sg__input_openIds__OR__input_doneIds,
11219
- 27: $sg__input_allStatus__OR__input_openIds__OR__input_doneIds
11220
- });
11221
- const $childScope4 = _peek_scope_id();
11222
- side_nav_item_default({
11223
- page: true,
11224
- workspaceId: id,
11225
- workspace: w,
11226
- status: input.allStatus[id],
11227
- current: false,
11228
- onSelect: _resume(function() {}, "K0")
11229
- });
11230
- _serialize_if($scope0_reason, 7) && _subscribe($si__input_allStatus && $input_allStatus__closures, writeScope($scope7_id, {
11231
- _: _scope_with_id($scope6_id),
11232
- a: _existing_scope($childScope4)
11233
- }));
11234
- return 0;
11235
- } else if (w) {
11236
- const $scope8_id = _scope_id();
11237
- const rs = input.allStatus[id];
11238
- const rp = phaseOf(rs);
11239
- const rowSessions = rs?.sessions || [];
11240
- const many = rowSessions.length > 1;
11241
- _html(`<div${_attr_class("_fo")}><a${_attr("href", `/w/${id}`)}${_attr_class("_fp")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope8_id, "c", $sg__input_allStatus__OR__input_openIds__OR__input_doneIds)}`);
11242
- _if(() => {
11243
- if (rowSessions.length === 1) {
11244
- const $scope12_id = _scope_id();
11245
- _set_serialize_reason({
11246
- 1: $sg__input_allStatus__OR__input_openIds__OR__input_doneIds,
11247
- 2: $sg__input_allStatus__OR__input_openIds__OR__input_doneIds
11248
- });
11249
- const $childScope5 = _peek_scope_id();
11250
- icon_agent_default({
11251
- agent: activeAgent(rowSessions[0]),
11252
- size: 16,
11253
- class: "_fr"
11254
- });
11255
- $si__input_allStatus__OR__input_openIds__OR__input_doneIds && writeScope($scope12_id, {
11256
- _: _scope_with_id($scope8_id),
11257
- a: _existing_scope($childScope5)
11258
- });
11259
- return 0;
11260
- }
11261
- }, $scope8_id, "d", $sg__input_allStatus__OR__input_openIds__OR__input_doneIds, $sg__input_allStatus__OR__input_openIds__OR__input_doneIds, $sg__input_allStatus__OR__input_openIds__OR__input_doneIds);
11262
- _html(`<span${_attr_class("_fq")}>${_text_resume($scope8_id, "f", w.name, $sg__input_openIds__OR__input_doneIds__OR__input_byId)}</span>`);
11263
- _if(() => {
11264
- if (many) {
11265
- const $scope13_id = _scope_id();
11266
- _html(`<span${_attr_class(rowState)}>${_text_resume($scope13_id, "b", rowSessions.length, $sg__input_allStatus__OR__input_openIds__OR__input_doneIds)} sessions</span>`);
11267
- $si__input_allStatus__OR__input_openIds__OR__input_doneIds && writeScope($scope13_id, { _: _scope_with_id($scope8_id) });
11268
- return 0;
11269
- }
11270
- }, $scope8_id, "g", $sg__input_allStatus__OR__input_openIds__OR__input_doneIds, $sg__input_allStatus__OR__input_openIds__OR__input_doneIds, $sg__input_allStatus__OR__input_openIds__OR__input_doneIds, 0, 1);
11271
- _if(() => {
11272
- if (done) {
11273
- const $scope9_id = _scope_id();
11274
- _html(`<button${_attr_class(rowArchive)} title="Every PR is finished. Archive this workspace">`);
11275
- icon_archive_default({ size: 12 });
11276
- _html(` Archive</button>${_el_resume($scope9_id, "a")}`);
11277
- _script($scope9_id, "K2");
11278
- writeScope($scope9_id, { _: _scope_with_id($scope8_id) });
11279
- return 0;
11280
- } else {
11281
- const $scope14_id = _scope_id();
11282
- icon_chevron_right_default({
11283
- size: 14,
11284
- class: "_ft"
11285
- });
11286
- $si__input_openIds__OR__input_doneIds && writeScope($scope14_id, {});
11287
- return 1;
11288
- }
11289
- }, $scope8_id, "h", $sg__input_openIds__OR__input_doneIds, $sg__input_openIds__OR__input_doneIds, $sg__input_allStatus__OR__input_openIds__OR__input_doneIds, 0, 1);
11290
- _html(`</a>${_el_resume($scope8_id, "b", $sg__input_openIds__OR__input_doneIds)}`);
11291
- _set_serialize_reason($sg__input_openIds__OR__input_doneIds);
11292
- const $childScope6 = _peek_scope_id();
11293
- side_nav_chips_default({
11294
- workspaceId: id,
11295
- status: rs
11296
- });
11297
- _html("</div>");
11298
- _subscribe($si__input_openIds__OR__input_doneIds && $if_content3__done__closures, _subscribe($si__input_allStatus && $input_allStatus__closures, writeScope($scope8_id, {
11299
- o: $si__input_allStatus__OR__input_openIds__OR__input_doneIds && rowSessions.length,
11300
- p: $si__input_allStatus__OR__input_openIds__OR__input_doneIds && rowSessions[0],
11301
- _: _scope_with_id($scope6_id),
11302
- i: $si__input_allStatus__OR__input_openIds__OR__input_doneIds && _existing_scope($childScope6),
11303
- Ca2: $si__input_allStatus && 1
11304
- })));
11305
- return 1;
11306
- }
11307
- }, $scope6_id, "a", $sg__input_openIds__OR__input_doneIds__OR__input_byId, $sg__input_openIds__OR__input_doneIds__OR__input_byId, $sg__input_openIds__OR__input_doneIds__OR__input_byId);
11308
- _subscribe($si__input_byId && $input_byId__closures, writeScope($scope6_id, {
11309
- c: id,
11310
- e: $si__input_openIds__OR__input_doneIds__OR__input_byId && w,
11311
- f: $si__input_openIds__OR__input_doneIds__OR__input_byId && w?.name,
11312
- _: _scope_with_id($scope5_id)
11313
- }));
11314
- }, (id) => id, $scope5_id, "c", $sg__input_openIds__OR__input_doneIds, $sg__input_openIds__OR__input_doneIds, $sg__input_openIds__OR__input_doneIds, "</div>");
11315
- _html("</section>");
11316
- writeScope($scope5_id, {
11317
- d: $si__input_openIds__OR__input_doneIds__OR__input_byId && done,
11318
- _: _scope_with_id($scope4_id),
11319
- e: $si__input_openIds__OR__input_doneIds && $if_content3__done__closures
11320
- });
11321
- return 0;
11322
- }
11323
- }, $scope4_id, "a", $sg__input_openIds__OR__input_doneIds, $sg__input_openIds__OR__input_doneIds, $sg__input_openIds__OR__input_doneIds, 0, 1);
11324
- writeScope($scope4_id, {
11325
- c: $si__input_openIds__OR__input_doneIds && ids,
11326
- e: $si__input_openIds__OR__input_doneIds && i,
11327
- _: _scope_with_id($scope0_id)
11328
- });
11329
- }, (_, i) => String(i), $scope0_id, "c", $sg__input_openIds__OR__input_doneIds, $sg__input_openIds__OR__input_doneIds, $sg__input_openIds__OR__input_doneIds);
11241
+ }, $scope5_id, "a", $sg__input_ids__OR__input_byId, $sg__input_ids__OR__input_byId, $sg__input_ids__OR__input_byId);
11242
+ $si__input_allStatus__OR__input_ids__OR__input_byId && _subscribe($si__input_byId && $input_byId__closures, writeScope($scope5_id, {
11243
+ c: id,
11244
+ e: $si__input_ids__OR__input_byId && w,
11245
+ f: $si__input_ids__OR__input_byId && w?.name,
11246
+ _: _scope_with_id($scope4_id)
11247
+ }));
11248
+ }, (id) => id, $scope4_id, "a", $sg__input_ids, $sg__input_ids, $sg__input_ids, "</div>");
11249
+ $si__input_allStatus__OR__input_ids__OR__input_byId && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
11250
+ return 0;
11251
+ }
11252
+ }, $scope0_id, "c", $sg__input_ids, _serialize_guard($scope0_reason, 15), $sg__input_workspace__OR__input_ids_length, 0, 1);
11330
11253
  _html("</div>");
11331
- writeScope($scope0_id, {
11332
- g: _serialize_if($scope0_reason, 6) && input.allStatus,
11254
+ _serialize_if($scope0_reason, 9) && writeScope($scope0_id, {
11255
+ g: _serialize_if($scope0_reason, 5) && input.allStatus,
11333
11256
  h: $si__input_workspace__OR__input_allStatus && input.sessions,
11334
11257
  i: $si__input_workspace__OR__input_allStatus__OR__input_sessions && input.tab,
11335
- j: _serialize_if($scope0_reason, 14) && input.openIds,
11336
- k: _serialize_if($scope0_reason, 13) && input.doneIds,
11337
- m: $si__input_openIds__OR__input_doneIds && input.byId,
11338
- n: input.onArchive,
11339
- o: $si__input_allStatus && ws,
11340
- q: $si__input_workspace__OR__input_allStatus__OR__input_sessions && ws?.id,
11341
- r: $si__input_workspace && ws?.name,
11342
- s: $si__input_workspace && st,
11343
- t: _serialize_if($scope0_reason, 11) && st?.sessions,
11344
- v: $si__input_workspace && phase$1,
11345
- w: $si__input_workspace__OR__input_allStatus__OR__input_sessions && sessions,
11346
- x: $si__input_workspace && sessions.length,
11347
- y: $si__input_workspace__OR__input_allStatus__OR__input_sessions && sessions[0],
11348
- z: $si__input_workspace && manySessions,
11349
- a1: $si__input_workspace && heroMeta$1,
11350
- ab: $si__input_workspace__OR__input_allStatus__OR__input_sessions && $sessions___closures,
11351
- a3: $si__input_tab && $input_tab__closures,
11352
- a5: $si__input_workspace && $ws_id__closures,
11353
- a9: $si__input_workspace__OR__input_allStatus__OR__input_sessions && $sessions__closures,
11354
- a2: $si__input_allStatus && $input_allStatus__closures,
11355
- a4: $si__input_byId && $input_byId__closures
11258
+ j: _serialize_if($scope0_reason, 15) && input.ids,
11259
+ l: _serialize_if($scope0_reason, 14) && input.byId,
11260
+ m: $si__input_allStatus && ws,
11261
+ o: $si__input_workspace__OR__input_allStatus__OR__input_sessions && ws?.id,
11262
+ p: $si__input_workspace && ws?.name,
11263
+ q: $si__input_workspace && st,
11264
+ r: _serialize_if($scope0_reason, 12) && st?.sessions,
11265
+ t: $si__input_workspace && phase$1,
11266
+ u: $si__input_workspace__OR__input_allStatus__OR__input_sessions && sessions,
11267
+ v: $si__input_workspace && sessions.length,
11268
+ w: $si__input_workspace__OR__input_allStatus__OR__input_sessions && sessions[0],
11269
+ x: $si__input_workspace && manySessions,
11270
+ z: $si__input_workspace && heroMeta$1,
11271
+ aa: $si__input_workspace__OR__input_allStatus__OR__input_sessions && $sessions___closures,
11272
+ a1: $si__input_tab && $input_tab__closures,
11273
+ a4: $si__input_workspace && $ws_id__closures,
11274
+ a8: $si__input_workspace__OR__input_allStatus__OR__input_sessions && $sessions__closures,
11275
+ a0: $si__input_allStatus && $input_allStatus__closures,
11276
+ a3: $si__input_byId && $input_byId__closures
11356
11277
  });
11357
11278
  });
11358
11279
  //#endregion
@@ -11408,50 +11329,15 @@ var icon_sidebar_default = _template("pb", (input) => {
11408
11329
  });
11409
11330
  //#endregion
11410
11331
  //#region src/tags/side-nav.marko
11411
- var api$7;
11412
- var GROUP_ORDER = ["open", "done"];
11413
- var GROUP_LABEL = {
11414
- open: "",
11415
- done: "Done"
11416
- };
11417
- function groupOf(w, st) {
11418
- if (!st || w.pending || st.working > 0 || st.waiting > 0) return "open";
11419
- const prs = st.repos.flatMap((r) => r.prs);
11420
- return prs.length && !prs.some((p) => p.state === "OPEN") ? "done" : "open";
11421
- }
11422
- function groupIdsOf(ids, byId, allStatus) {
11423
- const groups = new Map(GROUP_ORDER.map((g) => [g, []]));
11424
- const of = /* @__PURE__ */ new Map();
11425
- for (const id of ids) {
11426
- const w = byId.get(id);
11427
- if (!w) continue;
11428
- const g = groupOf(w, allStatus[id]);
11429
- of.set(id, g);
11430
- groups.get(g).push(id);
11431
- }
11432
- for (const list of groups.values()) list.sort((a, b) => byId.get(a).name.localeCompare(byId.get(b).name));
11433
- const start = /* @__PURE__ */ new Map();
11434
- let sections = 0;
11435
- for (const g of GROUP_ORDER) {
11436
- const list = groups.get(g);
11437
- if (!list.length) continue;
11438
- sections++;
11439
- start.set(list[0], g);
11440
- }
11441
- return {
11442
- ids: GROUP_ORDER.flatMap((g) => groups.get(g)),
11443
- of,
11444
- done: new Set(groups.get("done")),
11445
- start: sections > 1 ? start : /* @__PURE__ */ new Map()
11446
- };
11332
+ function sortedIds(ids, byId) {
11333
+ return ids.filter((id) => byId.has(id)).sort((a, b) => byId.get(a).name.localeCompare(byId.get(b).name));
11447
11334
  }
11448
11335
  var side_nav_default = _template("B", (input) => {
11449
- const $scope0_reason = _scope_reason(), $sg__input_instanceName = _serialize_guard($scope0_reason, 18), $sg__input_setupReady = _serialize_guard($scope0_reason, 19), $sg__input_instanceAccent = _serialize_guard($scope0_reason, 17), $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus = _serialize_guard($scope0_reason, 4), $si__input_workspace__OR__input_allWorkspaces__OR__input_allStatus = _serialize_if($scope0_reason, 4), $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions = _serialize_guard($scope0_reason, 7), $sg__input_workspace__OR__input_onError__OR__input_allWorkspaces__OR__input_allStatus = _serialize_guard($scope0_reason, 6), $si__input_workspace = _serialize_if($scope0_reason, 10), $si__input_workspace__OR__input_allWorkspaces = _serialize_if($scope0_reason, 0), $si__input_allStatus = _serialize_if($scope0_reason, 16), $sg__input_agents = _serialize_guard($scope0_reason, 21), $si__input_sessions = _serialize_if($scope0_reason, 20), $si__input_agents = _serialize_if($scope0_reason, 21), $si__input_onNewSession = _serialize_if($scope0_reason, 22), $si__input_onReviewOpened = _serialize_if($scope0_reason, 23), $si__input_onReviewOther = _serialize_if($scope0_reason, 24), $si__input_onRenameSession = _serialize_if($scope0_reason, 25), $si__input_onCloseSession = _serialize_if($scope0_reason, 26), $si__input_tab__OR__input_tabChange = _serialize_if($scope0_reason, 2), $si__input_onError = _serialize_if($scope0_reason, 15), $si__input_setupReady = _serialize_if($scope0_reason, 19), $si__input_instanceName = _serialize_if($scope0_reason, 18), $si__input_instanceAccent = _serialize_if($scope0_reason, 17);
11336
+ const $scope0_reason = _scope_reason(), $sg__input_instanceName = _serialize_guard($scope0_reason, 16), $sg__input_setupReady = _serialize_guard($scope0_reason, 17), $sg__input_instanceAccent = _serialize_guard($scope0_reason, 15), $sg__input_workspace__OR__input_allWorkspaces = _serialize_guard($scope0_reason, 0), $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus = _serialize_guard($scope0_reason, 4), $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions = _serialize_guard($scope0_reason, 6), $si__input_workspace = _serialize_if($scope0_reason, 9), $si__input_workspace__OR__input_allWorkspaces = _serialize_if($scope0_reason, 0), $si__input_allStatus = _serialize_if($scope0_reason, 14), $sg__input_agents = _serialize_guard($scope0_reason, 19), $si__input_sessions = _serialize_if($scope0_reason, 18), $si__input_agents = _serialize_if($scope0_reason, 19), $si__input_onNewSession = _serialize_if($scope0_reason, 20), $si__input_onReviewOpened = _serialize_if($scope0_reason, 21), $si__input_onReviewOther = _serialize_if($scope0_reason, 22), $si__input_onRenameSession = _serialize_if($scope0_reason, 23), $si__input_onCloseSession = _serialize_if($scope0_reason, 24), $si__input_tab__OR__input_tabChange = _serialize_if($scope0_reason, 2), $si__input_setupReady = _serialize_if($scope0_reason, 17), $si__input_instanceName = _serialize_if($scope0_reason, 16), $si__input_instanceAccent = _serialize_if($scope0_reason, 15);
11450
11337
  const $scope0_id = _scope_id();
11451
11338
  const $input_instanceName__closures = /* @__PURE__ */ new Set();
11452
11339
  const $iconSrc__closures = /* @__PURE__ */ new Set();
11453
11340
  const $notifyOn__closures = /* @__PURE__ */ new Set();
11454
- const $grouped_start__closures = /* @__PURE__ */ new Set();
11455
11341
  const $input_sessions__closures = /* @__PURE__ */ new Set();
11456
11342
  const $input_agents__closures = /* @__PURE__ */ new Set();
11457
11343
  const $input_onNewSession__closures = /* @__PURE__ */ new Set();
@@ -11465,8 +11351,6 @@ var side_nav_default = _template("B", (input) => {
11465
11351
  const $leaveNav2__closures = /* @__PURE__ */ new Set();
11466
11352
  const $byId__closures = /* @__PURE__ */ new Set();
11467
11353
  const $allStatus__closures = /* @__PURE__ */ new Set();
11468
- const $grouped_done__closures = /* @__PURE__ */ new Set();
11469
- const $archive2__closures = /* @__PURE__ */ new Set();
11470
11354
  const $keyIndex__closures = /* @__PURE__ */ new Set();
11471
11355
  const ws = input.workspace || null;
11472
11356
  let tab = input.tab;
@@ -11495,58 +11379,46 @@ var side_nav_default = _template("B", (input) => {
11495
11379
  const workspaces = input.allWorkspaces || (ws ? [ws] : []);
11496
11380
  const byId = new Map(workspaces.map((w) => [w.id, w]));
11497
11381
  const allStatus = input.allStatus || {};
11498
- const grouped = groupIdsOf(itemIds, byId, allStatus);
11382
+ const orderedIds = sortedIds(itemIds, byId);
11499
11383
  const keyIndex = (() => {
11500
11384
  const m = /* @__PURE__ */ new Map();
11501
11385
  let n = 0;
11502
- for (const id of grouped.ids) if (!byId.get(id)?.pending) m.set(id, n++);
11386
+ for (const id of orderedIds) if (!byId.get(id)?.pending) m.set(id, n++);
11503
11387
  return m;
11504
11388
  })();
11505
- const archive = _resume(async (id) => {
11506
- try {
11507
- await api$7(`/api/workspaces/${id}`, {
11508
- method: "POST",
11509
- headers: { "content-type": "application/json" },
11510
- body: JSON.stringify({ action: "archive" })
11511
- });
11512
- } catch (err) {
11513
- input.onError?.(`Archive failed: ${String(err.message || err)}`);
11514
- }
11515
- }, "B2", $scope0_id);
11516
11389
  const isPage = view === "nav";
11517
11390
  const backHref = ws ? `/w/${ws.id}` : "/new";
11518
11391
  const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
11519
- const pageOpen = grouped.ids.filter((id) => id !== ws?.id && !grouped.done.has(id));
11520
- const pageDone = grouped.ids.filter((id) => id !== ws?.id && grouped.done.has(id));
11521
- _html(`<aside${_attr_class(["_cd", {
11522
- ["_cb"]: !navOpen,
11523
- ["_cc"]: isPage
11392
+ const pageIds = orderedIds.filter((id) => id !== ws?.id);
11393
+ _html(`<aside${_attr_class(["_bR", {
11394
+ ["_bP"]: !navOpen,
11395
+ ["_bQ"]: isPage
11524
11396
  }])}${_attr("hidden", view === "diff")}>`);
11525
11397
  _if(() => {
11526
11398
  if (isPage) {
11527
11399
  const $scope1_id = _scope_id();
11528
- _html(`<header${_attr_class("_cg")}><div${_attr_class("_cp")}>`);
11400
+ _html(`<header${_attr_class("_bU")}><div${_attr_class("_b2")}>`);
11529
11401
  _if(() => {
11530
11402
  if (input.instanceName) {
11531
11403
  const $scope2_id = _scope_id();
11532
- _html(`<div${_attr_class("_cm")} title="This work server (Settings → Appearance)"><img${_attr_class("_cn")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_co")}>${_text_resume($scope2_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
11404
+ _html(`<div${_attr_class("_bZ")} title="This work server (Settings → Appearance)"><img${_attr_class("_b0")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_b1")}>${_text_resume($scope2_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
11533
11405
  _subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
11534
11406
  return 0;
11535
11407
  }
11536
11408
  }, $scope1_id, "c", $sg__input_instanceName, $sg__input_instanceName, 1, 0, 1);
11537
- _html(`<h1${_attr_class("_ch")}>Workspaces</h1></div><div${_attr_class("_ci")}>`);
11409
+ _html(`<h1${_attr_class("_bV")}>Workspaces</h1></div><div${_attr_class("_bW")}>`);
11538
11410
  _if(() => {}, $scope1_id, "f", 1, 1, 1, 0, 1);
11539
11411
  _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
11540
11412
  iconBtn,
11541
- "_cj",
11542
- { ["_b9"]: view === "settings" }
11413
+ "_bX",
11414
+ { ["_bM"]: view === "settings" }
11543
11415
  ])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11544
11416
  icon_settings_default({ size: 16 });
11545
11417
  _if(() => {
11546
11418
  if (input.setupReady === false) {
11547
- const $scope15_id = _scope_id();
11419
+ const $scope14_id = _scope_id();
11548
11420
  _html(`<span${_attr_class(["_A", settingsDot])} title="Machine setup incomplete"></span>`);
11549
- $si__input_setupReady && writeScope($scope15_id, {});
11421
+ $si__input_setupReady && writeScope($scope14_id, {});
11550
11422
  return 0;
11551
11423
  }
11552
11424
  }, $scope1_id, "i", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
@@ -11558,7 +11430,7 @@ var side_nav_default = _template("B", (input) => {
11558
11430
  _if(() => {
11559
11431
  if (!isPage && input.instanceName) {
11560
11432
  const $scope3_id = _scope_id();
11561
- _html(`<div${_attr_class("_cm")} title="This work server (Settings → Appearance)"><img${_attr_class("_cn")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_co")}>${_text_resume($scope3_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
11433
+ _html(`<div${_attr_class("_bZ")} title="This work server (Settings → Appearance)"><img${_attr_class("_b0")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_b1")}>${_text_resume($scope3_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
11562
11434
  writeScope($scope3_id, {});
11563
11435
  return 0;
11564
11436
  }
@@ -11568,84 +11440,70 @@ var side_nav_default = _template("B", (input) => {
11568
11440
  const $scope4_id = _scope_id();
11569
11441
  _set_serialize_reason({
11570
11442
  0: _serialize_guard($scope0_reason, 1),
11571
- 1: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11572
- 2: _serialize_guard($scope0_reason, 5),
11573
- 3: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11574
- 4: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11575
- 5: _serialize_guard($scope0_reason, 8),
11443
+ 1: $sg__input_workspace__OR__input_allWorkspaces,
11444
+ 2: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11445
+ 3: $sg__input_workspace__OR__input_allWorkspaces,
11446
+ 4: _serialize_guard($scope0_reason, 5),
11447
+ 5: $sg__input_workspace__OR__input_allWorkspaces,
11576
11448
  6: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11577
- 7: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11449
+ 7: _serialize_guard($scope0_reason, 7),
11578
11450
  8: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions,
11579
- 9: _serialize_guard($scope0_reason, 10),
11580
- 10: _serialize_guard($scope0_reason, 16),
11581
- 11: _serialize_guard($scope0_reason, 20),
11582
- 12: _serialize_guard($scope0_reason, 2),
11583
- 13: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11584
- 14: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11585
- 15: _serialize_guard($scope0_reason, 0)
11451
+ 9: _serialize_guard($scope0_reason, 8),
11452
+ 10: _serialize_guard($scope0_reason, 9),
11453
+ 11: _serialize_guard($scope0_reason, 14),
11454
+ 12: _serialize_guard($scope0_reason, 18),
11455
+ 13: _serialize_guard($scope0_reason, 2),
11456
+ 14: $sg__input_workspace__OR__input_allWorkspaces,
11457
+ 15: $sg__input_workspace__OR__input_allWorkspaces,
11458
+ 16: $sg__input_workspace__OR__input_allWorkspaces
11586
11459
  });
11587
11460
  const $childScope = _peek_scope_id();
11588
11461
  workspace_switcher_default({
11589
11462
  workspace: ws,
11590
11463
  sessions: input.sessions,
11591
11464
  tab,
11592
- openIds: pageOpen,
11593
- doneIds: pageDone,
11465
+ ids: pageIds,
11594
11466
  byId,
11595
- allStatus,
11596
- onArchive: archive
11467
+ allStatus
11597
11468
  });
11598
- writeScope($scope4_id, { a: _serialize_if($scope0_reason, 9) && _existing_scope($childScope) });
11469
+ writeScope($scope4_id, { a: _serialize_if($scope0_reason, 8) && _existing_scope($childScope) });
11599
11470
  return 0;
11600
11471
  } else if (navOpen) {
11601
11472
  const $scope5_id = _scope_id();
11602
- _html(`<div${_attr_class("_cq")}>`);
11603
- _for_of(grouped.ids, (wsId) => {
11473
+ _html(`<div${_attr_class("_b3")}>`);
11474
+ _for_of(orderedIds, (wsId) => {
11604
11475
  const $scope6_id = _scope_id();
11605
- _if(() => {
11606
- if (grouped.start.has(wsId) && GROUP_LABEL[grouped.start.get(wsId)]) {
11607
- const $scope14_id = _scope_id();
11608
- _html(`<h2${_attr_class(["_b8", "_ck"])}>${_text_resume($scope14_id, "b", GROUP_LABEL[grouped.start.get(wsId)], $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus)}</h2>`);
11609
- _subscribe($si__input_workspace__OR__input_allWorkspaces__OR__input_allStatus && $grouped_start__closures, writeScope($scope14_id, {
11610
- _: _scope_with_id($scope6_id),
11611
- Cbm: $si__input_workspace__OR__input_allWorkspaces__OR__input_allStatus && 1
11612
- }));
11613
- return 0;
11614
- }
11615
- }, $scope6_id, "a", $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus, $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus, $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus, 0, 1);
11616
11476
  _set_serialize_reason({
11617
- 0: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11618
- 1: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11477
+ 0: $sg__input_workspace__OR__input_allWorkspaces,
11478
+ 1: $sg__input_workspace__OR__input_allWorkspaces,
11619
11479
  2: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions,
11620
11480
  3: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions,
11621
11481
  4: 1,
11622
11482
  5: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11623
- 6: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11624
- 7: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions,
11625
- 8: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11626
- 9: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11627
- 10: 1,
11628
- 11: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11629
- 12: $sg__input_workspace__OR__input_onError__OR__input_allWorkspaces__OR__input_allStatus,
11483
+ 6: 1,
11484
+ 7: $sg__input_workspace__OR__input_allWorkspaces,
11485
+ 8: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions,
11486
+ 9: $sg__input_workspace__OR__input_allWorkspaces,
11487
+ 10: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11488
+ 11: $sg__input_workspace__OR__input_allWorkspaces,
11489
+ 12: 1,
11630
11490
  13: 1,
11631
- 14: 1,
11632
- 15: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions,
11491
+ 14: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions,
11492
+ 15: 1,
11633
11493
  16: 1,
11634
- 17: 1,
11635
- 18: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11494
+ 17: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11495
+ 18: 1,
11636
11496
  19: 1,
11637
- 20: 1,
11638
- 21: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11639
- 23: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions,
11640
- 24: 1,
11641
- 25: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11497
+ 20: $sg__input_workspace__OR__input_allWorkspaces,
11498
+ 22: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions,
11499
+ 23: 1,
11500
+ 24: $sg__input_workspace__OR__input_allWorkspaces,
11501
+ 25: $sg__input_workspace__OR__input_allWorkspaces,
11642
11502
  26: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11643
- 27: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11644
- 30: $sg__input_workspace__OR__input_onError__OR__input_allWorkspaces__OR__input_allStatus,
11503
+ 29: 1,
11504
+ 30: $sg__input_agents,
11645
11505
  31: 1,
11646
- 32: $sg__input_agents,
11647
- 33: 1,
11648
- 34: 1
11506
+ 32: 1
11649
11507
  });
11650
11508
  const $childScope2 = _peek_scope_id();
11651
11509
  side_nav_item_default({
@@ -11660,30 +11518,29 @@ var side_nav_default = _template("B", (input) => {
11660
11518
  leaveNav();
11661
11519
  input.onSelectWorkspace?.(wsId);
11662
11520
  } else if (view === "nav" || view === "manage" || view === "settings" || view === "new") view = "term";
11663
- }, "B3", $scope6_id),
11664
- onArchive: grouped.done.has(wsId) && _resume(() => archive(wsId), "B4", $scope6_id),
11521
+ }, "B2", $scope6_id),
11665
11522
  agents: input.agents,
11666
11523
  onNewSession: _resume(function(agent) {
11667
11524
  leaveNav();
11668
11525
  input.onNewSession(wsId, agent);
11669
- }, "B5", $scope6_id),
11526
+ }, "B3", $scope6_id),
11670
11527
  onReview: _resume(function() {
11671
11528
  if (wsId === ws?.id) {
11672
11529
  if (view === "diff") view = "term";
11673
11530
  else input.onReviewOpened?.();
11674
11531
  } else input.onReviewOther?.(wsId);
11675
- }, "B6", $scope6_id),
11532
+ }, "B4", $scope6_id),
11676
11533
  sessions: wsId === ws?.id && input.sessions ? input.sessions : allStatus[wsId]?.sessions || [],
11677
11534
  currentTab: wsId === ws?.id && view === "term" ? tab : null,
11678
11535
  onRenameSession: input.onRenameSession,
11679
11536
  onCloseSession: input.onCloseSession
11680
11537
  });
11681
- _subscribe($si__input_onError && $archive2__closures, _subscribe($si__input_workspace__OR__input_allWorkspaces__OR__input_allStatus && $grouped_start__closures, _subscribe($si__input_workspace__OR__input_allWorkspaces__OR__input_allStatus && $grouped_done__closures, _subscribe($si__input_allStatus && $allStatus__closures, _subscribe($si__input_workspace__OR__input_allWorkspaces && $byId__closures, _subscribe($leaveNav2__closures, _subscribe($view__closures, _subscribe($si__input_tab__OR__input_tabChange && $tab__closures, _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_onCloseSession && $input_onCloseSession__closures, _subscribe($si__input_onRenameSession && $input_onRenameSession__closures, _subscribe($si__input_onReviewOther && $input_onReviewOther__closures, _subscribe($si__input_onReviewOpened && $input_onReviewOpened__closures, _subscribe($si__input_onNewSession && $input_onNewSession__closures, _subscribe($si__input_agents && $input_agents__closures, _subscribe($si__input_sessions && $input_sessions__closures, writeScope($scope6_id, {
11682
- d: wsId,
11538
+ _subscribe($si__input_allStatus && $allStatus__closures, _subscribe($si__input_workspace__OR__input_allWorkspaces && $byId__closures, _subscribe($leaveNav2__closures, _subscribe($view__closures, _subscribe($si__input_tab__OR__input_tabChange && $tab__closures, _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_onCloseSession && $input_onCloseSession__closures, _subscribe($si__input_onRenameSession && $input_onRenameSession__closures, _subscribe($si__input_onReviewOther && $input_onReviewOther__closures, _subscribe($si__input_onReviewOpened && $input_onReviewOpened__closures, _subscribe($si__input_onNewSession && $input_onNewSession__closures, _subscribe($si__input_agents && $input_agents__closures, _subscribe($si__input_sessions && $input_sessions__closures, writeScope($scope6_id, {
11539
+ c: wsId,
11683
11540
  _: _scope_with_id($scope5_id),
11684
- b: _existing_scope($childScope2)
11685
- })))))))))))))))));
11686
- }, (id) => id, $scope5_id, "a", $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus, $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus, $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus, "</div>");
11541
+ a: _existing_scope($childScope2)
11542
+ }))))))))))))));
11543
+ }, (id) => id, $scope5_id, "a", $sg__input_workspace__OR__input_allWorkspaces, $sg__input_workspace__OR__input_allWorkspaces, $sg__input_workspace__OR__input_allWorkspaces, "</div>");
11687
11544
  writeScope($scope5_id, {});
11688
11545
  return 1;
11689
11546
  }
@@ -11693,43 +11550,42 @@ var side_nav_default = _template("B", (input) => {
11693
11550
  const $scope7_id = _scope_id();
11694
11551
  let railHover = null;
11695
11552
  const railHoverBox = { timer: 0 };
11696
- const railKeep = _resume(() => clearTimeout(railHoverBox.timer), "B7", $scope7_id);
11553
+ const railKeep = _resume(() => clearTimeout(railHoverBox.timer), "B5", $scope7_id);
11697
11554
  const railHide = _resume(() => {
11698
11555
  clearTimeout(railHoverBox.timer);
11699
11556
  railHoverBox.timer = setTimeout(() => {
11700
11557
  railHover = null;
11701
11558
  }, 150);
11702
- }, "B8", $scope7_id);
11703
- _html(`<div${_attr_class("_cr")}>`);
11704
- _for_of(grouped.ids, (wsId, i) => {
11559
+ }, "B6", $scope7_id);
11560
+ _html(`<div${_attr_class("_b4")}>`);
11561
+ _for_of(orderedIds, (wsId, i) => {
11705
11562
  const $scope8_id = _scope_id();
11706
11563
  _html("<span>");
11707
11564
  _set_serialize_reason({
11708
- 0: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11709
- 1: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11710
- 2: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11565
+ 0: $sg__input_workspace__OR__input_allWorkspaces,
11566
+ 1: $sg__input_workspace__OR__input_allWorkspaces,
11567
+ 2: $sg__input_workspace__OR__input_allWorkspaces,
11711
11568
  3: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11712
- 4: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11569
+ 4: $sg__input_workspace__OR__input_allWorkspaces,
11713
11570
  5: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11714
- 6: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11715
- 7: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11571
+ 7: $sg__input_workspace__OR__input_allWorkspaces,
11716
11572
  8: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11717
- 9: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11718
- 11: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11719
- 12: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11720
- 13: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11721
- 14: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11722
- 15: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11723
- 16: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11573
+ 9: $sg__input_workspace__OR__input_allWorkspaces,
11574
+ 10: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11575
+ 11: $sg__input_workspace__OR__input_allWorkspaces,
11576
+ 12: $sg__input_workspace__OR__input_allWorkspaces,
11577
+ 13: $sg__input_workspace__OR__input_allWorkspaces,
11578
+ 14: $sg__input_workspace__OR__input_allWorkspaces,
11579
+ 15: $sg__input_workspace__OR__input_allWorkspaces,
11580
+ 16: $sg__input_workspace__OR__input_allWorkspaces,
11724
11581
  17: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11725
- 18: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11582
+ 18: $sg__input_workspace__OR__input_allWorkspaces,
11726
11583
  19: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11727
- 20: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11728
- 21: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11729
- 25: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11584
+ 20: $sg__input_workspace__OR__input_allWorkspaces,
11585
+ 24: $sg__input_workspace__OR__input_allWorkspaces,
11586
+ 25: $sg__input_workspace__OR__input_allWorkspaces,
11730
11587
  26: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11731
- 27: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11732
- 28: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus
11588
+ 27: $sg__input_workspace__OR__input_allWorkspaces
11733
11589
  });
11734
11590
  const $childScope3 = _peek_scope_id();
11735
11591
  side_nav_item_default({
@@ -11742,24 +11598,24 @@ var side_nav_default = _template("B", (input) => {
11742
11598
  onSelect: _resume(function() {
11743
11599
  if (wsId !== ws?.id) input.onSelectWorkspace?.(wsId);
11744
11600
  else if (view === "nav" || view === "manage" || view === "settings" || view === "new") view = "term";
11745
- }, "B9", $scope8_id)
11601
+ }, "B7", $scope8_id)
11746
11602
  });
11747
11603
  _html(`</span>${_el_resume($scope8_id, "a")}`);
11748
- _script($scope8_id, "B15");
11749
- _subscribe($si__input_workspace__OR__input_allWorkspaces__OR__input_allStatus && $keyIndex__closures, _subscribe($si__input_allStatus && $allStatus__closures, _subscribe($si__input_workspace__OR__input_allWorkspaces && $byId__closures, _subscribe($si__input_workspace && $ws_id__closures, writeScope($scope8_id, {
11604
+ _script($scope8_id, "B12");
11605
+ _subscribe($si__input_workspace__OR__input_allWorkspaces && $keyIndex__closures, _subscribe($si__input_allStatus && $allStatus__closures, _subscribe($si__input_workspace__OR__input_allWorkspaces && $byId__closures, _subscribe($si__input_workspace && $ws_id__closures, writeScope($scope8_id, {
11750
11606
  d: wsId,
11751
11607
  _: _scope_with_id($scope7_id),
11752
- b: $si__input_workspace__OR__input_allWorkspaces__OR__input_allStatus && _existing_scope($childScope3),
11753
- Cbb: $si__input_workspace && 1,
11754
- Cbi: $si__input_workspace__OR__input_allWorkspaces && 1,
11755
- Cbj: $si__input_allStatus && 1
11608
+ b: _serialize_if($scope0_reason, 4) && _existing_scope($childScope3),
11609
+ Cb6: $si__input_workspace && 1,
11610
+ Cbd: $si__input_workspace__OR__input_allWorkspaces && 1,
11611
+ Cbe: $si__input_allStatus && 1
11756
11612
  })))));
11757
- }, (id) => id, $scope7_id, "a", $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus, $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus, $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus, "</div>", 1);
11613
+ }, (id) => id, $scope7_id, "a", $sg__input_workspace__OR__input_allWorkspaces, $sg__input_workspace__OR__input_allWorkspaces, $sg__input_workspace__OR__input_allWorkspaces, "</div>", 1);
11758
11614
  _if(() => {
11759
11615
  if (railHover) {
11760
11616
  const $scope9_id = _scope_id();
11761
11617
  const hoverId = railHover.id;
11762
- _html(`<div${_attr_class(["__", "_cu"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
11618
+ _html(`<div${_attr_class(["__", "_b7"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
11763
11619
  _set_serialize_reason({
11764
11620
  0: 1,
11765
11621
  1: 1,
@@ -11782,17 +11638,15 @@ var side_nav_default = _template("B", (input) => {
11782
11638
  18: 1,
11783
11639
  19: 1,
11784
11640
  20: 1,
11785
- 21: 1,
11641
+ 22: 1,
11786
11642
  23: 1,
11787
11643
  24: 1,
11788
11644
  25: 1,
11789
11645
  26: 1,
11790
- 27: 1,
11791
- 30: 1,
11646
+ 29: 1,
11647
+ 30: $sg__input_agents,
11792
11648
  31: 1,
11793
- 32: $sg__input_agents,
11794
- 33: 1,
11795
- 34: 1
11649
+ 32: 1
11796
11650
  });
11797
11651
  const $childScope4 = _peek_scope_id();
11798
11652
  side_nav_item_default({
@@ -11802,49 +11656,46 @@ var side_nav_default = _template("B", (input) => {
11802
11656
  current: hoverId === ws?.id,
11803
11657
  managing: view === "manage" && hoverId === ws?.id,
11804
11658
  railPop: true,
11805
- onArchive: grouped.done.has(hoverId) && _resume(() => archive(hoverId), "B10", $scope9_id),
11806
11659
  onSelect: _resume(function() {
11807
11660
  railHover = null;
11808
11661
  if (hoverId !== ws?.id) input.onSelectWorkspace?.(hoverId);
11809
11662
  else if (view === "nav" || view === "manage" || view === "settings" || view === "new") view = "term";
11810
- }, "B11", $scope9_id),
11663
+ }, "B8", $scope9_id),
11811
11664
  agents: input.agents,
11812
11665
  onNewSession: _resume(function(agent) {
11813
11666
  railHover = null;
11814
11667
  input.onNewSession(hoverId, agent);
11815
- }, "B12", $scope9_id),
11668
+ }, "B9", $scope9_id),
11816
11669
  onReview: _resume(function() {
11817
11670
  railHover = null;
11818
11671
  if (hoverId === ws?.id) {
11819
11672
  if (view === "diff") view = "term";
11820
11673
  else input.onReviewOpened?.();
11821
11674
  } else input.onReviewOther?.(hoverId);
11822
- }, "B13", $scope9_id),
11675
+ }, "B10", $scope9_id),
11823
11676
  sessions: hoverId === ws?.id && input.sessions ? input.sessions : allStatus[hoverId]?.sessions || [],
11824
11677
  currentTab: hoverId === ws?.id && view === "term" ? tab : null,
11825
11678
  onRenameSession: input.onRenameSession,
11826
11679
  onCloseSession: input.onCloseSession
11827
11680
  });
11828
11681
  _html(`</div>${_el_resume($scope9_id, "a")}`);
11829
- _script($scope9_id, "B16");
11830
- _subscribe($si__input_onError && $archive2__closures, _subscribe($si__input_workspace__OR__input_allWorkspaces__OR__input_allStatus && $grouped_done__closures, _subscribe($si__input_allStatus && $allStatus__closures, _subscribe($si__input_workspace__OR__input_allWorkspaces && $byId__closures, _subscribe($view__closures, _subscribe($si__input_tab__OR__input_tabChange && $tab__closures, _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_onCloseSession && $input_onCloseSession__closures, _subscribe($si__input_onRenameSession && $input_onRenameSession__closures, _subscribe($si__input_onReviewOther && $input_onReviewOther__closures, _subscribe($si__input_onReviewOpened && $input_onReviewOpened__closures, _subscribe($si__input_onNewSession && $input_onNewSession__closures, _subscribe($si__input_agents && $input_agents__closures, _subscribe($si__input_sessions && $input_sessions__closures, writeScope($scope9_id, {
11682
+ _script($scope9_id, "B13");
11683
+ _subscribe($si__input_allStatus && $allStatus__closures, _subscribe($si__input_workspace__OR__input_allWorkspaces && $byId__closures, _subscribe($view__closures, _subscribe($si__input_tab__OR__input_tabChange && $tab__closures, _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_onCloseSession && $input_onCloseSession__closures, _subscribe($si__input_onRenameSession && $input_onRenameSession__closures, _subscribe($si__input_onReviewOther && $input_onReviewOther__closures, _subscribe($si__input_onReviewOpened && $input_onReviewOpened__closures, _subscribe($si__input_onNewSession && $input_onNewSession__closures, _subscribe($si__input_agents && $input_agents__closures, _subscribe($si__input_sessions && $input_sessions__closures, writeScope($scope9_id, {
11831
11684
  d: hoverId,
11832
11685
  b: _existing_scope($childScope4),
11833
- Cb3: $si__input_sessions && 1,
11834
- Cb4: $si__input_agents && 1,
11835
- Cb5: $si__input_onNewSession && 1,
11836
- Cb6: $si__input_onReviewOpened && 1,
11837
- Cb7: $si__input_onReviewOther && 1,
11838
- Cb8: $si__input_onRenameSession && 1,
11839
- Cb9: $si__input_onCloseSession && 1,
11840
- Cbb: $si__input_workspace && 2,
11841
- Cbc: $si__input_tab__OR__input_tabChange && 1,
11842
- Cbd: 1,
11843
- Cbi: $si__input_workspace__OR__input_allWorkspaces && 2,
11844
- Cbj: $si__input_allStatus && 2,
11845
- Cbl: $si__input_workspace__OR__input_allWorkspaces__OR__input_allStatus && 1,
11846
- Cbo: $si__input_onError && 1
11847
- })))))))))))))));
11686
+ Cay: $si__input_sessions && 1,
11687
+ Caz: $si__input_agents && 1,
11688
+ Cb0: $si__input_onNewSession && 1,
11689
+ Cb1: $si__input_onReviewOpened && 1,
11690
+ Cb2: $si__input_onReviewOther && 1,
11691
+ Cb3: $si__input_onRenameSession && 1,
11692
+ Cb4: $si__input_onCloseSession && 1,
11693
+ Cb6: $si__input_workspace && 2,
11694
+ Cb7: $si__input_tab__OR__input_tabChange && 1,
11695
+ Cb8: 1,
11696
+ Cbd: $si__input_workspace__OR__input_allWorkspaces && 2,
11697
+ Cbe: $si__input_allStatus && 2
11698
+ })))))))))))));
11848
11699
  return 0;
11849
11700
  }
11850
11701
  }, $scope7_id, "b", 1, 1, 1, 0, 1);
@@ -11859,7 +11710,7 @@ var side_nav_default = _template("B", (input) => {
11859
11710
  return 0;
11860
11711
  }
11861
11712
  }, $scope0_id, "e");
11862
- _html(`<div${_attr_class("_cs")}>`);
11713
+ _html(`<div${_attr_class("_b5")}>`);
11863
11714
  _if(() => {
11864
11715
  if (isPage) {
11865
11716
  const $scope11_id = _scope_id();
@@ -11867,7 +11718,7 @@ var side_nav_default = _template("B", (input) => {
11867
11718
  "_q",
11868
11719
  "_r",
11869
11720
  btnLg,
11870
- "_cl"
11721
+ "_bY"
11871
11722
  ])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11872
11723
  icon_folder_plus_default({ size: 16 });
11873
11724
  _html(` New workspace</a>${_el_resume($scope11_id, "a")}`);
@@ -11878,45 +11729,45 @@ var side_nav_default = _template("B", (input) => {
11878
11729
  _html(`<button${_attr_class(navToggle)} title=${navOpen ? "\"Collapse sidebar\"" : "\"Expand sidebar\""}>`);
11879
11730
  _if(() => {
11880
11731
  if (navOpen) {
11881
- const $scope16_id = _scope_id();
11732
+ const $scope15_id = _scope_id();
11882
11733
  icon_sidebar_collapse_default({});
11883
- writeScope($scope16_id, {});
11734
+ writeScope($scope15_id, {});
11884
11735
  return 0;
11885
11736
  } else {
11886
- const $scope17_id = _scope_id();
11737
+ const $scope16_id = _scope_id();
11887
11738
  icon_sidebar_default({});
11888
- writeScope($scope17_id, {});
11739
+ writeScope($scope16_id, {});
11889
11740
  return 1;
11890
11741
  }
11891
11742
  }, $scope10_id, "a", 1, 1, 1, "</button>", 1);
11892
- _html(`<div${_attr_class(["_z", "_ct"])}></div>`);
11743
+ _html(`<div${_attr_class(["_z", "_b6"])}></div>`);
11893
11744
  _if(() => {}, $scope10_id, "c", 1, 1, 1, 0, 1);
11894
- _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["_b9"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11745
+ _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["_bM"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11895
11746
  icon_settings_default({});
11896
11747
  _if(() => {
11897
11748
  if (input.setupReady === false) {
11898
- const $scope18_id = _scope_id();
11749
+ const $scope17_id = _scope_id();
11899
11750
  _html(`<span${_attr_class(["_A", settingsDot])} title="Machine setup incomplete"></span>`);
11900
- $si__input_setupReady && writeScope($scope18_id, {});
11751
+ $si__input_setupReady && writeScope($scope17_id, {});
11901
11752
  return 0;
11902
11753
  }
11903
11754
  }, $scope10_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
11904
- _html(`</a>${_el_resume($scope10_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["_b9"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11755
+ _html(`</a>${_el_resume($scope10_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["_bM"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11905
11756
  icon_folder_plus_default({ size: 16 });
11906
11757
  _html(`</a>${_el_resume($scope10_id, "g")}`);
11907
- _script($scope10_id, "B18");
11758
+ _script($scope10_id, "B15");
11908
11759
  writeScope($scope10_id, {});
11909
11760
  return 1;
11910
11761
  }
11911
11762
  }, $scope0_id, "f", 1, 1, 1, "</div>");
11912
11763
  _html(`</aside>${_el_resume($scope0_id, "a")}`);
11913
- _script($scope0_id, "B19");
11914
- _script($scope0_id, "B20");
11764
+ _script($scope0_id, "B16");
11765
+ _script($scope0_id, "B17");
11915
11766
  writeScope($scope0_id, {
11916
- j: _serialize_if($scope0_reason, 12) && input.tab,
11917
- k: _serialize_if($scope0_reason, 11) && input.tabChange,
11918
- m: _serialize_if($scope0_reason, 14) && input.view,
11919
- n: _serialize_if($scope0_reason, 13) && input.viewChange,
11767
+ j: _serialize_if($scope0_reason, 11) && input.tab,
11768
+ k: _serialize_if($scope0_reason, 10) && input.tabChange,
11769
+ m: _serialize_if($scope0_reason, 13) && input.view,
11770
+ n: _serialize_if($scope0_reason, 12) && input.viewChange,
11920
11771
  p: input.onError,
11921
11772
  q: input.active,
11922
11773
  r: $si__input_workspace && input.allWorkspaces,
@@ -11939,40 +11790,32 @@ var side_nav_default = _template("B", (input) => {
11939
11790
  ae: canPush,
11940
11791
  af: leaveNav,
11941
11792
  ag: toggleNotify,
11942
- ah: $si__input_allStatus && itemIds,
11943
11793
  aj: byId,
11944
- ak: allStatus,
11945
- an: grouped?.ids,
11946
- ap: grouped?.done,
11947
- ar: grouped?.start,
11948
- as: keyIndex,
11949
- at: archive,
11950
- au: isPage,
11951
- ax: backHref,
11952
- ay: iconSrc,
11953
- az: pageOpen,
11954
- b0: pageDone,
11794
+ al: allStatus,
11795
+ am: orderedIds,
11796
+ ap: keyIndex,
11797
+ aq: isPage,
11798
+ at: backHref,
11799
+ au: iconSrc,
11800
+ av: pageIds,
11955
11801
  aa: input.viewChange || void 0,
11956
- b1: $si__input_instanceName && $input_instanceName__closures,
11957
- bq: $si__input_instanceAccent && $iconSrc__closures,
11958
- bf: $notifyOn__closures,
11959
- bm: $si__input_workspace__OR__input_allWorkspaces__OR__input_allStatus && $grouped_start__closures,
11960
- b3: $si__input_sessions && $input_sessions__closures,
11961
- b4: $si__input_agents && $input_agents__closures,
11962
- b5: $si__input_onNewSession && $input_onNewSession__closures,
11963
- b6: $si__input_onReviewOpened && $input_onReviewOpened__closures,
11964
- b7: $si__input_onReviewOther && $input_onReviewOther__closures,
11965
- b8: $si__input_onRenameSession && $input_onRenameSession__closures,
11966
- b9: $si__input_onCloseSession && $input_onCloseSession__closures,
11967
- bb: $si__input_workspace && $ws_id__closures,
11968
- bc: $si__input_tab__OR__input_tabChange && $tab__closures,
11969
- bd: $view__closures,
11970
- bh: $leaveNav2__closures,
11971
- bi: $si__input_workspace__OR__input_allWorkspaces && $byId__closures,
11972
- bj: $si__input_allStatus && $allStatus__closures,
11973
- bl: $si__input_workspace__OR__input_allWorkspaces__OR__input_allStatus && $grouped_done__closures,
11974
- bo: $si__input_onError && $archive2__closures,
11975
- bn: $si__input_workspace__OR__input_allWorkspaces__OR__input_allStatus && $keyIndex__closures
11802
+ aw: $si__input_instanceName && $input_instanceName__closures,
11803
+ bi: $si__input_instanceAccent && $iconSrc__closures,
11804
+ ba: $notifyOn__closures,
11805
+ ay: $si__input_sessions && $input_sessions__closures,
11806
+ az: $si__input_agents && $input_agents__closures,
11807
+ b0: $si__input_onNewSession && $input_onNewSession__closures,
11808
+ b1: $si__input_onReviewOpened && $input_onReviewOpened__closures,
11809
+ b2: $si__input_onReviewOther && $input_onReviewOther__closures,
11810
+ b3: $si__input_onRenameSession && $input_onRenameSession__closures,
11811
+ b4: $si__input_onCloseSession && $input_onCloseSession__closures,
11812
+ b6: $si__input_workspace && $ws_id__closures,
11813
+ b7: $si__input_tab__OR__input_tabChange && $tab__closures,
11814
+ b8: $view__closures,
11815
+ bc: $leaveNav2__closures,
11816
+ bd: $si__input_workspace__OR__input_allWorkspaces && $byId__closures,
11817
+ be: $si__input_allStatus && $allStatus__closures,
11818
+ bg: $si__input_workspace__OR__input_allWorkspaces && $keyIndex__closures
11976
11819
  });
11977
11820
  _resume_branch($scope0_id);
11978
11821
  });
@@ -12244,8 +12087,8 @@ function treeDirs(files) {
12244
12087
  };
12245
12088
  return build(root, "", "", -1);
12246
12089
  }
12247
- var treeToggle = "_fT _5 _l";
12248
- var pageTitle = "_f0 _cz";
12090
+ var treeToggle = "_eV _5 _l";
12091
+ var pageTitle = "_e2 _dX";
12249
12092
  //#endregion
12250
12093
  //#region src/tags/diff-send.marko
12251
12094
  var diff_send_default = _template("j", (input) => {
@@ -12255,7 +12098,7 @@ var diff_send_default = _template("j", (input) => {
12255
12098
  let sendTarget = null;
12256
12099
  const sessions = input.sessions || [];
12257
12100
  const sendPick = sessions.some((s) => s.id === sendTarget) ? sendTarget : sessions[0]?.id ?? null;
12258
- _html(`<span${_attr_class("_iu")}><button type=button${_attr_class("_q")} title="Copy comments as markdown">${_text_resume($scope0_id, "c", "Copy")}</button>${_el_resume($scope0_id, "b")}`);
12101
+ _html(`<span${_attr_class("_ht")}><button type=button${_attr_class("_q")} title="Copy comments as markdown">${_text_resume($scope0_id, "c", "Copy")}</button>${_el_resume($scope0_id, "b")}`);
12259
12102
  _if(() => {
12260
12103
  if (sessions.length === 1) {
12261
12104
  const $scope1_id = _scope_id();
@@ -12265,11 +12108,11 @@ var diff_send_default = _template("j", (input) => {
12265
12108
  return 0;
12266
12109
  } else if (sessions.length) {
12267
12110
  const $scope2_id = _scope_id();
12268
- _html(`<span${_attr_class("_iv")}><button type=button${_attr_class(["_r", "_iw"])}${_attr("disabled", sending)}>${_text_resume($scope2_id, "c", "Send to")}</button>${_el_resume($scope2_id, "b")}`);
12111
+ _html(`<span${_attr_class("_hu")}><button type=button${_attr_class(["_r", "_hv"])}${_attr("disabled", sending)}>${_text_resume($scope2_id, "c", "Send to")}</button>${_el_resume($scope2_id, "b")}`);
12269
12112
  _attr_select_value($scope2_id, "d", sendTarget, _resume((_new_sendTarget) => {
12270
12113
  sendTarget = _new_sendTarget;
12271
12114
  }, "j0", $scope2_id), () => {
12272
- _html(`<select${_attr_class("_ix")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
12115
+ _html(`<select${_attr_class("_hw")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
12273
12116
  _for_of(sessions, (s) => {
12274
12117
  const $scope3_id = _scope_id();
12275
12118
  _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)}`);
@@ -13781,8 +13624,8 @@ function clip(line, at, len) {
13781
13624
  const end = Math.min(line.length, at + len + pad);
13782
13625
  return (start > 0 ? "…" : "") + line.slice(start, end) + (end < line.length ? "…" : "");
13783
13626
  }
13784
- var findInput = "_ew _n";
13785
- var findIconBtn = "_ez _l";
13627
+ var findInput = "_cw _n";
13628
+ var findIconBtn = "_cz _l";
13786
13629
  //#endregion
13787
13630
  //#region src/tags/icons/icon-arrow-down.marko
13788
13631
  var icon_arrow_down_default = _template("N", (input) => {
@@ -13870,9 +13713,9 @@ var diff_find_default = _template("i", (input) => {
13870
13713
  el.select();
13871
13714
  }, 0);
13872
13715
  }, "i0", $scope0_id);
13873
- _html(`<div${_attr_class(["_ev", !open && "_eu"])} aria-hidden=${open ? "false" : "true"}><input${_attr_input_value($scope0_id, "b", query || "", _resume(function(v) {
13716
+ _html(`<div${_attr_class(["_cv", !open && "_cu"])} aria-hidden=${open ? "false" : "true"}><input${_attr_input_value($scope0_id, "b", query || "", _resume(function(v) {
13874
13717
  type(v);
13875
- }, "i1", $scope0_id))}${_attr_class(findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "b")}<span${_attr_class("_ey")}>${_text_resume($scope0_id, "d", open && (query || "").trim() ? hits.length ? `${at + 1}/${hits.length}` : "0/0" : "")}</span><button type=button${_attr_class(findIconBtn)} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13718
+ }, "i1", $scope0_id))}${_attr_class(findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "b")}<span${_attr_class("_cy")}>${_text_resume($scope0_id, "d", open && (query || "").trim() ? hits.length ? `${at + 1}/${hits.length}` : "0/0" : "")}</span><button type=button${_attr_class(findIconBtn)} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13876
13719
  icon_arrow_up_default({ size: 14 });
13877
13720
  _html(`</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class(findIconBtn)} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13878
13721
  icon_arrow_down_default({ size: 14 });
@@ -13974,9 +13817,9 @@ function shortBranch(name, wsBranch = "", wsName = "") {
13974
13817
  }
13975
13818
  return shortHeadFallback(head);
13976
13819
  }
13977
- var repoWorktree = "_iV _y";
13978
- var repoTitle = "_i1 _x";
13979
- var path$1 = "_jh _bb";
13820
+ var repoWorktree = "_iR _y";
13821
+ var repoTitle = "_iX _x";
13822
+ var path$1 = "_jd _bb";
13980
13823
  //#endregion
13981
13824
  //#region src/tags/icons/icon-chevron-down.marko
13982
13825
  var icon_chevron_down_default = _template("W", (input) => {
@@ -14016,7 +13859,7 @@ var diff_file_default = _template("h", (input) => {
14016
13859
  _scope_reason();
14017
13860
  const $scope0_id = _scope_id();
14018
13861
  _el($scope0_id, "h0");
14019
- _html(`<div${_attr_class(["_jl", input.class])}></div>${_el_resume($scope0_id, "a")}`);
13862
+ _html(`<div${_attr_class(["_jh", input.class])}></div>${_el_resume($scope0_id, "a")}`);
14020
13863
  _script($scope0_id, "h1");
14021
13864
  writeScope($scope0_id, {
14022
13865
  e: input.file,
@@ -14075,14 +13918,14 @@ var review_section_default = _template("x", (input) => {
14075
13918
  const newCount = input.files.filter((f) => f.changedSince).length;
14076
13919
  const compare$1 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch, input.workspaceName);
14077
13920
  const prTitle = repo.pr ? `${repo.pr.title}: ${repo.pr.headRefName} ${repo.head} vs ${repo.base} ${repo.baseSha}` : "";
14078
- _html(`<section${_attr_class("_iR")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}${_attr("hidden", !shownCount && !repo.pr && input.findHit?.repo !== repo.id)}><div${_attr_class(["_iS", { ["_iT"]: input.collapsible && input.collapsed }])}>`);
13921
+ _html(`<section${_attr_class("_iN")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}${_attr("hidden", !shownCount && !repo.pr && input.findHit?.repo !== repo.id)}><div${_attr_class(["_iO", { ["_iP"]: input.collapsible && input.collapsed }])}>`);
14079
13922
  _if(() => {
14080
13923
  if (input.collapsible) {
14081
13924
  const $scope1_id = _scope_id();
14082
- _html(`<button type=button${_attr_class("_iU")} aria-expanded=${!input.collapsed ? "true" : "false"} aria-busy=${input.expanding ? "true" : "false"}${input.collapsed ? _attr("title", `Show ${countLabel} files`) : " title=\"Hide files\""}><span${_attr_class([
14083
- "_je",
14084
- !input.collapsed && "_jf",
14085
- input.expanding && "_jg"
13925
+ _html(`<button type=button${_attr_class("_iQ")} aria-expanded=${!input.collapsed ? "true" : "false"} aria-busy=${input.expanding ? "true" : "false"}${input.collapsed ? _attr("title", `Show ${countLabel} files`) : " title=\"Hide files\""}><span${_attr_class([
13926
+ "_ja",
13927
+ !input.collapsed && "_jb",
13928
+ input.expanding && "_jc"
14086
13929
  ])} aria-hidden=true>`);
14087
13930
  _if(() => {
14088
13931
  if (input.collapsed) {
@@ -14121,14 +13964,14 @@ var review_section_default = _template("x", (input) => {
14121
13964
  return 1;
14122
13965
  }
14123
13966
  }, $scope0_id, "d", $sg__input_repo, $sg__input_repo, $sg__input_repo__OR__input_files__OR__input_shownKeys__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_collapsible__OR__input_collapsed__OR__input_localDiffers__OR__input_onlyNew__OR__input_opened);
14124
- _html(`<span${_attr_class("_i2")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_N", "_i3"])}>${_text_resume($scope0_id, "g", compare$1.base, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_P", "_i5"])} aria-hidden=true>vs</span><span${_attr_class(["_N", "_i4"])}>${_text_resume($scope0_id, "j", compare$1.head, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13967
+ _html(`<span${_attr_class("_iY")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_N", "_iZ"])}>${_text_resume($scope0_id, "g", compare$1.base, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_P", "_i1"])} aria-hidden=true>vs</span><span${_attr_class(["_N", "_i0"])}>${_text_resume($scope0_id, "j", compare$1.head, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
14125
13968
  _if(() => {
14126
13969
  if (compare$1.topic) {
14127
13970
  const $scope15_id = _scope_id();
14128
13971
  _html(`<span${_attr_class([
14129
13972
  "_N",
14130
13973
  tone.accent,
14131
- "_i6"
13974
+ "_i2"
14132
13975
  ])}>${_text_resume($scope15_id, "b", compare$1.topic, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
14133
13976
  $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && writeScope($scope15_id, { _: _scope_with_id($scope0_id) });
14134
13977
  return 0;
@@ -14141,7 +13984,7 @@ var review_section_default = _template("x", (input) => {
14141
13984
  _html(`<button type=button${_attr_class([
14142
13985
  "_N",
14143
13986
  tone.warn,
14144
- "_i7"
13987
+ "_i3"
14145
13988
  ])}${_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($scope2_id, "b", shortSha(repo.head, 7), $sg__input_repo * 2)} → ${_text_resume($scope2_id, "c", shortSha(repo.pr.headRefOid, 7), $sg__input_repo * 2)}</button>${_el_resume($scope2_id, "a")}`);
14146
13989
  _script($scope2_id, "x10");
14147
13990
  writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
@@ -14151,7 +13994,7 @@ var review_section_default = _template("x", (input) => {
14151
13994
  _if(() => {
14152
13995
  if (repo.contained && input.files.length) {
14153
13996
  const $scope13_id = _scope_id();
14154
- _html(`<span${_attr_class(["_N", "_i7"])}${_attr("title", `${repo.pr ? `#${repo.pr.number}` : repo.branch} is already in ${repo.base}; showing the working tree only`)}>already in ${_text_resume($scope13_id, "b", repo.base, $sg__input_repo * 2)}</span>${_el_resume($scope13_id, "a", $sg__input_repo)}`);
13997
+ _html(`<span${_attr_class(["_N", "_i3"])}${_attr("title", `${repo.pr ? `#${repo.pr.number}` : repo.branch} is already in ${repo.base}; showing the working tree only`)}>already in ${_text_resume($scope13_id, "b", repo.base, $sg__input_repo * 2)}</span>${_el_resume($scope13_id, "a", $sg__input_repo)}`);
14155
13998
  _serialize_if($scope0_reason, 0) && writeScope($scope13_id, { _: $si__input_repo && _scope_with_id($scope0_id) });
14156
13999
  return 0;
14157
14000
  }
@@ -14159,16 +14002,16 @@ var review_section_default = _template("x", (input) => {
14159
14002
  _if(() => {
14160
14003
  if (input.localDiffers) {
14161
14004
  const $scope3_id = _scope_id();
14162
- _html(`<span${_attr_class(["_N", "_i7"])}${_attr("title", `This view is ${shortSha(repo.head)} (${repo.pr.headRefName}); checked out is ${shortSha(repo.localHead)} (${repo.branch})`)}>local ${_text_resume($scope3_id, "b", shortBranch(repo.branch, input.workspaceBranch, input.workspaceName), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName * 2)}${_text_resume($scope3_id, "c", shortSha(repo.localHead, 7), $sg__input_repo * 2)}</span>${_el_resume($scope3_id, "a", $sg__input_repo)}`);
14005
+ _html(`<span${_attr_class(["_N", "_i3"])}${_attr("title", `This view is ${shortSha(repo.head)} (${repo.pr.headRefName}); checked out is ${shortSha(repo.localHead)} (${repo.branch})`)}>local ${_text_resume($scope3_id, "b", shortBranch(repo.branch, input.workspaceBranch, input.workspaceName), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName * 2)}${_text_resume($scope3_id, "c", shortSha(repo.localHead, 7), $sg__input_repo * 2)}</span>${_el_resume($scope3_id, "a", $sg__input_repo)}`);
14163
14006
  $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers && writeScope($scope3_id, { _: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && _scope_with_id($scope0_id) });
14164
14007
  return 0;
14165
14008
  }
14166
14009
  }, $scope0_id, "n", _serialize_guard($scope0_reason, 23), _serialize_guard($scope0_reason, 39), $sg__input_repo__OR__input_files__OR__input_shownKeys__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_collapsible__OR__input_collapsed__OR__input_localDiffers__OR__input_onlyNew__OR__input_opened, 0, 1);
14167
- _html(`<span${_attr_class("_iW")}><span>${_text_resume($scope0_id, "p", countLabel, $sg__input_files__OR__input_shownKeys)} file${_text_resume($scope0_id, "q", countLabel === 1 ? "" : "s", $sg__input_files__OR__input_shownKeys * 2)}</span>`);
14010
+ _html(`<span${_attr_class("_iS")}><span>${_text_resume($scope0_id, "p", countLabel, $sg__input_files__OR__input_shownKeys)} file${_text_resume($scope0_id, "q", countLabel === 1 ? "" : "s", $sg__input_files__OR__input_shownKeys * 2)}</span>`);
14168
14011
  _if(() => {
14169
14012
  if (stats.additions || stats.deletions) {
14170
14013
  const $scope14_id = _scope_id();
14171
- _html(`<span${_attr_class("_iX")}>+${_text_resume($scope14_id, "b", stats.additions, $sg__input_files__OR__input_shownKeys * 2)}</span><span${_attr_class("_iY")}>−${_text_resume($scope14_id, "d", stats.deletions, $sg__input_files__OR__input_shownKeys * 2)}</span>`);
14014
+ _html(`<span${_attr_class("_iT")}>+${_text_resume($scope14_id, "b", stats.additions, $sg__input_files__OR__input_shownKeys * 2)}</span><span${_attr_class("_iU")}>−${_text_resume($scope14_id, "d", stats.deletions, $sg__input_files__OR__input_shownKeys * 2)}</span>`);
14172
14015
  $si__input_files__OR__input_shownKeys && writeScope($scope14_id, { _: _scope_with_id($scope0_id) });
14173
14016
  return 0;
14174
14017
  }
@@ -14176,7 +14019,7 @@ var review_section_default = _template("x", (input) => {
14176
14019
  _if(() => {
14177
14020
  if (newCount || input.onlyNew) {
14178
14021
  const $scope4_id = _scope_id();
14179
- _html(`<button type=button${_attr_class(["_i0", { ["_iZ"]: input.onlyNew }])} aria-pressed=${input.onlyNew ? "true" : "false"} title=${input.onlyNew ? "\"Show every file\"" : "\"Show only files changed since your last visit\""}>${_text_resume($scope4_id, "b", newCount, $sg__input_files)} new</button>${_el_resume($scope4_id, "a")}`);
14022
+ _html(`<button type=button${_attr_class(["_iW", { ["_iV"]: input.onlyNew }])} aria-pressed=${input.onlyNew ? "true" : "false"} title=${input.onlyNew ? "\"Show every file\"" : "\"Show only files changed since your last visit\""}>${_text_resume($scope4_id, "b", newCount, $sg__input_files)} new</button>${_el_resume($scope4_id, "a")}`);
14180
14023
  _script($scope4_id, "x11");
14181
14024
  writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
14182
14025
  return 0;
@@ -14186,7 +14029,7 @@ var review_section_default = _template("x", (input) => {
14186
14029
  _if(() => {
14187
14030
  if (!input.collapsible || !input.collapsed || input.opened) {
14188
14031
  const $scope5_id = _scope_id();
14189
- _html(`<div${_attr_class("_i9")}${_attr("hidden", input.collapsible && input.collapsed)}>`);
14032
+ _html(`<div${_attr_class("_i5")}${_attr("hidden", input.collapsible && input.collapsed)}>`);
14190
14033
  _for_of(input.files, (file$2) => {
14191
14034
  const $scope6_id = _scope_id();
14192
14035
  const $for_content__file__closures = /* @__PURE__ */ new Set();
@@ -14199,14 +14042,14 @@ var review_section_default = _template("x", (input) => {
14199
14042
  _html(`<details${_attr_details_or_dialog_open($scope6_id, "a", expanded, _resume(function(open) {
14200
14043
  input.onFileToggle(file$2.key, open);
14201
14044
  }, "x0", $scope6_id))}${_attr_class([
14202
- "_i_",
14203
- forceNear && "_ja",
14204
- input.findHit?.key === file$2.key && "_iP"
14205
- ])}${_attr("data-key", file$2.key)}${_attr("hidden", !input.shownKeys.has(file$2.key))}><summary${_attr_class("_jc")}><span${_attr_class("_ba")}${_attr("data-status", file$2.status)}>${_text_resume($scope6_id, "d", file$2.status, $sg__input_files)}</span>${_el_resume($scope6_id, "c", $sg__input_files)}<span${_attr_class([path$1, input.findHit?.key === file$2.key && input.findHit.line < 1 && "_iQ"])}${_attr("title", file$2.path)}><bdi>${_text_resume($scope6_id, "f", file$2.path, $sg__input_files)}</bdi></span>${_el_resume($scope6_id, "e", _serialize_guard($scope0_reason, 19))}`);
14045
+ "_i6",
14046
+ forceNear && "_i7",
14047
+ input.findHit?.key === file$2.key && "_iL"
14048
+ ])}${_attr("data-key", file$2.key)}${_attr("hidden", !input.shownKeys.has(file$2.key))}><summary${_attr_class("_i9")}><span${_attr_class("_ba")}${_attr("data-status", file$2.status)}>${_text_resume($scope6_id, "d", file$2.status, $sg__input_files)}</span>${_el_resume($scope6_id, "c", $sg__input_files)}<span${_attr_class([path$1, input.findHit?.key === file$2.key && input.findHit.line < 1 && "_iM"])}${_attr("title", file$2.path)}><bdi>${_text_resume($scope6_id, "f", file$2.path, $sg__input_files)}</bdi></span>${_el_resume($scope6_id, "e", _serialize_guard($scope0_reason, 19))}`);
14206
14049
  _if(() => {
14207
14050
  if (file$2.changedSince) {
14208
14051
  const $scope19_id = _scope_id();
14209
- _html(`<span${_attr_class(["_A", "_i8"])} title="Changed since your last visit"></span>`);
14052
+ _html(`<span${_attr_class(["_A", "_i4"])} title="Changed since your last visit"></span>`);
14210
14053
  $si__input_files && writeScope($scope19_id, {});
14211
14054
  return 0;
14212
14055
  }
@@ -14225,17 +14068,17 @@ var review_section_default = _template("x", (input) => {
14225
14068
  _if(() => {
14226
14069
  if (file$2.binary) {
14227
14070
  const $scope20_id = _scope_id();
14228
- _html(`<p${_attr_class(["_ji", "_jb"])}>binary file</p>`);
14071
+ _html(`<p${_attr_class(["_je", "_i8"])}>binary file</p>`);
14229
14072
  $si__input_files__OR__input_collapsedFiles && writeScope($scope20_id, {});
14230
14073
  return 0;
14231
14074
  } else if (file$2.tooLarge) {
14232
14075
  const $scope21_id = _scope_id();
14233
- _html(`<p${_attr_class(["_ji", "_jb"])}>file too large to display</p>`);
14076
+ _html(`<p${_attr_class(["_je", "_i8"])}>file too large to display</p>`);
14234
14077
  $si__input_files__OR__input_collapsedFiles && writeScope($scope21_id, {});
14235
14078
  return 1;
14236
14079
  } else if (file$2.old == null && file$2.new == null) {
14237
14080
  const $scope22_id = _scope_id();
14238
- _html(`<p${_attr_class(["_ji", "_jb"])}>file could not be read</p>`);
14081
+ _html(`<p${_attr_class(["_je", "_i8"])}>file could not be read</p>`);
14239
14082
  $si__input_files__OR__input_collapsedFiles && writeScope($scope22_id, {});
14240
14083
  return 2;
14241
14084
  } else if (expanded) {
@@ -14243,7 +14086,7 @@ var review_section_default = _template("x", (input) => {
14243
14086
  _if(() => {
14244
14087
  if (!forceNear) {
14245
14088
  const $scope8_id = _scope_id();
14246
- _html(`<div${_attr_class("_jd")}></div>${_el_resume($scope8_id, "a")}`);
14089
+ _html(`<div${_attr_class("_i_")}></div>${_el_resume($scope8_id, "a")}`);
14247
14090
  _script($scope8_id, "x12");
14248
14091
  _subscribe($si__input && $input__closures, writeScope($scope8_id, {}));
14249
14092
  return 0;
@@ -14251,7 +14094,7 @@ var review_section_default = _template("x", (input) => {
14251
14094
  const $scope9_id = _scope_id();
14252
14095
  const $childScope = _peek_scope_id();
14253
14096
  diff_file_default({
14254
- class: "_jb",
14097
+ class: "_i8",
14255
14098
  file: file$2,
14256
14099
  comments: fileComments,
14257
14100
  draft: input.draft && input.draft.key === file$2.key ? input.draft : null,
@@ -14388,7 +14231,7 @@ var review_section_default = _template("x", (input) => {
14388
14231
  cd: $si__input_findHit_line && $input_findHit_line__closures
14389
14232
  });
14390
14233
  });
14391
- var fileFilter = "_jk _n";
14234
+ var fileFilter = "_jg _n";
14392
14235
  //#endregion
14393
14236
  //#region src/tags/file-filter.marko
14394
14237
  var file_filter_default = _template("n", (input) => {
@@ -14418,7 +14261,7 @@ var file_filter_default = _template("n", (input) => {
14418
14261
  pending = v;
14419
14262
  box.timer = setTimeout(flush, 150);
14420
14263
  }, "n2", $scope0_id);
14421
- _html(`<div${_attr_class("_jj")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
14264
+ _html(`<div${_attr_class("_jf")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
14422
14265
  type(v);
14423
14266
  }, "n0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
14424
14267
  _script($scope0_id, "n3");
@@ -14451,7 +14294,7 @@ var $content = (input) => {
14451
14294
  _for_of(dir.dirs, (child) => {
14452
14295
  const $scope1_id = _scope_id();
14453
14296
  const shut = input.collapsed.has(input.collapsedKey(child.path));
14454
- _html(`<div${_attr_class("_iG")}><button type=button${_attr_class(["_iH", { ["_iy"]: shut }])}${_attr("title", child.path)}${_attr_style(`--depth:${child.depth}`)}><span${_attr_class("_iO")}>`);
14297
+ _html(`<div${_attr_class("_hF")}><button type=button${_attr_class(["_hG", { ["_hx"]: shut }])}${_attr("title", child.path)}${_attr_style(`--depth:${child.depth}`)}><span${_attr_class("_hN")}>`);
14455
14298
  _if(() => {
14456
14299
  if (shut) {
14457
14300
  const $scope4_id = _scope_id();
@@ -14465,7 +14308,7 @@ var $content = (input) => {
14465
14308
  return 1;
14466
14309
  }
14467
14310
  }, $scope1_id, "c", $sg__input, $sg__input, $sg__input, "</span>", 1);
14468
- _html(`<span${_attr_class("_iI")}>${_text_resume($scope1_id, "e", child.label, $sg__input_dir)}/</span></button>${_el_resume($scope1_id, "b")}`);
14311
+ _html(`<span${_attr_class("_hH")}>${_text_resume($scope1_id, "e", child.label, $sg__input_dir)}/</span></button>${_el_resume($scope1_id, "b")}`);
14469
14312
  _if(() => {
14470
14313
  if (!shut) {
14471
14314
  const $scope2_id = _scope_id();
@@ -14512,11 +14355,11 @@ var $content = (input) => {
14512
14355
  }, "path", $scope0_id, "a", $sg__input, $sg__input_dir, $sg__input_dir, 0, 1);
14513
14356
  _for_of(dir.files, ({ file, name }) => {
14514
14357
  const $scope3_id = _scope_id();
14515
- _html(`<a${_attr("href", input.hrefFor(file.key))}${_attr_class(["_iK", { ["_iJ"]: input.collapsedFiles?.has(file.key) }])}${input.collapsedFiles?.has(file.key) ? _attr("title", `${file.path} (folded — click to open)`) : _attr("title", file.path)}${_attr_style(`--depth:${dir.depth + 1}`)}><span${_attr_class("_ba")}${_attr("data-status", file.status)}>${_text_resume($scope3_id, "c", file.status, $sg__input_dir)}</span>${_el_resume($scope3_id, "b", $sg__input_dir)}<span${_attr_class("_iL")}>${_text_resume($scope3_id, "e", name, $sg__input_dir)}</span>`);
14358
+ _html(`<a${_attr("href", input.hrefFor(file.key))}${_attr_class(["_hJ", { ["_hI"]: input.collapsedFiles?.has(file.key) }])}${input.collapsedFiles?.has(file.key) ? _attr("title", `${file.path} (folded — click to open)`) : _attr("title", file.path)}${_attr_style(`--depth:${dir.depth + 1}`)}><span${_attr_class("_ba")}${_attr("data-status", file.status)}>${_text_resume($scope3_id, "c", file.status, $sg__input_dir)}</span>${_el_resume($scope3_id, "b", $sg__input_dir)}<span${_attr_class("_hK")}>${_text_resume($scope3_id, "e", name, $sg__input_dir)}</span>`);
14516
14359
  _if(() => {
14517
14360
  if (input.newKeys.has(file.key)) {
14518
14361
  const $scope6_id = _scope_id();
14519
- _html(`<span${_attr_class(["_A", "_iM"])} title="Changed since your last visit"></span>`);
14362
+ _html(`<span${_attr_class(["_A", "_hL"])} title="Changed since your last visit"></span>`);
14520
14363
  _serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
14521
14364
  return 0;
14522
14365
  }
@@ -14524,7 +14367,7 @@ var $content = (input) => {
14524
14367
  _if(() => {
14525
14368
  if (input.commentKeys.has(file.key)) {
14526
14369
  const $scope7_id = _scope_id();
14527
- _html(`<span${_attr_class("_iN")}>`);
14370
+ _html(`<span${_attr_class("_hM")}>`);
14528
14371
  icon_comment_default({ size: 12 });
14529
14372
  _html("</span>");
14530
14373
  _serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
@@ -14582,7 +14425,7 @@ var diff_tree_default = _template("l", (input) => {
14582
14425
  scope: input.scope ?? null,
14583
14426
  file: key
14584
14427
  }), "l0", $scope0_id);
14585
- _html(`<aside${_attr_class(["_iz", { ["_iy"]: input.open === false }])}><div${_attr_class("_iA")}>`);
14428
+ _html(`<aside${_attr_class(["_hy", { ["_hx"]: input.open === false }])}><div${_attr_class("_hz")}>`);
14586
14429
  _set_serialize_reason(2);
14587
14430
  const $childScope = _peek_scope_id();
14588
14431
  file_filter_default({
@@ -14591,18 +14434,18 @@ var diff_tree_default = _template("l", (input) => {
14591
14434
  filter = _new_filter;
14592
14435
  }, "l1", $scope0_id)
14593
14436
  });
14594
- _html(`</div><div${_attr_class("_iB")}>`);
14437
+ _html(`</div><div${_attr_class("_hA")}>`);
14595
14438
  _if(() => {
14596
14439
  if (!input.sections.length && filter) {
14597
14440
  const $scope3_id = _scope_id();
14598
- _html(`<p${_attr_class("_iC")}>No files match.</p>`);
14441
+ _html(`<p${_attr_class("_hB")}>No files match.</p>`);
14599
14442
  writeScope($scope3_id, {});
14600
14443
  return 0;
14601
14444
  }
14602
14445
  }, $scope0_id, "e", 1, 1, 1, 0, 1);
14603
14446
  _for_of(input.sections, (section) => {
14604
14447
  const $scope1_id = _scope_id();
14605
- _html(`<div${_attr_class("_iD")}><button type=button${_attr_class(["_iE", { ["_iy"]: collapsedRepos.has(section.id) }])}><span${_attr_class("_iO")}>`);
14448
+ _html(`<div${_attr_class("_hC")}><button type=button${_attr_class(["_hD", { ["_hx"]: collapsedRepos.has(section.id) }])}><span${_attr_class("_hN")}>`);
14606
14449
  _if(() => {
14607
14450
  if (collapsedRepos.has(section.id)) {
14608
14451
  const $scope4_id = _scope_id();
@@ -14616,12 +14459,12 @@ var diff_tree_default = _template("l", (input) => {
14616
14459
  return 1;
14617
14460
  }
14618
14461
  }, $scope1_id, "c", 1, 1, 1, "</span>", 1);
14619
- _html(`<span${_attr_class("_iI")}>${_text_resume($scope1_id, "e", section.label, $sg__input_sections)}</span></button>${_el_resume($scope1_id, "b")}`);
14462
+ _html(`<span${_attr_class("_hH")}>${_text_resume($scope1_id, "e", section.label, $sg__input_sections)}</span></button>${_el_resume($scope1_id, "b")}`);
14620
14463
  _if(() => {
14621
14464
  if (!collapsedRepos.has(section.id) || openedRepos.has(section.id)) {
14622
14465
  const $scope2_id = _scope_id();
14623
14466
  const root = treeDirs(section.files);
14624
- _html(`<div${_attr_class("_iF")}${_attr("hidden", collapsedRepos.has(section.id))}>`);
14467
+ _html(`<div${_attr_class("_hE")}${_attr("hidden", collapsedRepos.has(section.id))}>`);
14625
14468
  _set_serialize_reason(1);
14626
14469
  const $childScope2 = _peek_scope_id();
14627
14470
  diff_tree_dir_default({
@@ -14691,7 +14534,7 @@ var diff_tree_default = _template("l", (input) => {
14691
14534
  });
14692
14535
  _resume_branch($scope0_id);
14693
14536
  });
14694
- var sheetDir = "_io _bb";
14537
+ var sheetDir = "_ig _bb";
14695
14538
  //#endregion
14696
14539
  //#region src/tags/diff-file-sheet.marko
14697
14540
  var diff_file_sheet_default = _template("g", (input) => {
@@ -14747,9 +14590,9 @@ var diff_file_sheet_default = _template("g", (input) => {
14747
14590
  _if(() => {
14748
14591
  if (open) {
14749
14592
  const $scope1_id = _scope_id();
14750
- _html(`<div${_attr_class("_if")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_ig")} role=dialog aria-label="Jump to file"><div${_attr_class("_ih")}><strong${_attr_class("_ie")}>Files</strong><span${_attr_class("_ii")}>${_text_resume($scope1_id, "f", input.files.length, $sg__input_files_length)}${_text_resume($scope1_id, "g", input.files.length !== total ? ` / ${total}` : "", _serialize_guard($scope0_reason, 2) * 2)}</span><button type=button${_attr_class([iconBtnLg, "_id"])} title=Close aria-label=Close>`);
14593
+ _html(`<div${_attr_class("_h8")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_h9")} role=dialog aria-label="Jump to file"><div${_attr_class("_h_")}><strong${_attr_class("_h7")}>Files</strong><span${_attr_class("_ia")}>${_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, "_h6"])} title=Close aria-label=Close>`);
14751
14594
  icon_xmark_default({ size: 16 });
14752
- _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_iq")}>`);
14595
+ _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_ii")}>`);
14753
14596
  _set_serialize_reason(2);
14754
14597
  const $childScope = _peek_scope_id();
14755
14598
  file_filter_default({
@@ -14758,13 +14601,13 @@ var diff_file_sheet_default = _template("g", (input) => {
14758
14601
  filter = _new_filter;
14759
14602
  }, "g1", $scope1_id)
14760
14603
  });
14761
- _html(`</div><div${_attr_class("_ij")}>`);
14604
+ _html(`</div><div${_attr_class("_ib")}>`);
14762
14605
  _for_of(groups, (group) => {
14763
14606
  const $scope2_id = _scope_id();
14764
- _html(`<div${_attr_class("_ik")}><div${_attr_class("_il")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
14607
+ _html(`<div${_attr_class("_ic")}><div${_attr_class("_id")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
14765
14608
  _for_of(group.dirs, ({ dir, files }) => {
14766
14609
  const $scope3_id = _scope_id();
14767
- _html(`<div${_attr_class("_im")}>`);
14610
+ _html(`<div${_attr_class("_ie")}>`);
14768
14611
  _if(() => {
14769
14612
  if (dir) {
14770
14613
  const $scope5_id = _scope_id();
@@ -14775,11 +14618,11 @@ var diff_file_sheet_default = _template("g", (input) => {
14775
14618
  }, $scope3_id, "b", $sg__input_files, $sg__input_files, $sg__input_files, 0, 1);
14776
14619
  _for_of(files, ({ file, name }) => {
14777
14620
  const $scope4_id = _scope_id();
14778
- _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_in", "_y"])}><span${_attr_class("_ba")}${_attr("data-status", file.status)}>${_text_resume($scope4_id, "c", file.status, $sg__input_files)}</span>${_el_resume($scope4_id, "b", $sg__input_files)}<span${_attr_class("_ip")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
14621
+ _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_if", "_y"])}><span${_attr_class("_ba")}${_attr("data-status", file.status)}>${_text_resume($scope4_id, "c", file.status, $sg__input_files)}</span>${_el_resume($scope4_id, "b", $sg__input_files)}<span${_attr_class("_ih")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
14779
14622
  _if(() => {
14780
14623
  if (newKeys.has(file.key)) {
14781
14624
  const $scope6_id = _scope_id();
14782
- _html(`<span${_attr_class(["_A", "_is"])} title="Changed since your last visit"></span>`);
14625
+ _html(`<span${_attr_class(["_A", "_ik"])} title="Changed since your last visit"></span>`);
14783
14626
  _serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
14784
14627
  return 0;
14785
14628
  }
@@ -14789,7 +14632,7 @@ var diff_file_sheet_default = _template("g", (input) => {
14789
14632
  const $scope7_id = _scope_id();
14790
14633
  icon_comment_default({
14791
14634
  size: 12,
14792
- class: "_it"
14635
+ class: "_il"
14793
14636
  });
14794
14637
  _serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
14795
14638
  return 0;
@@ -14814,7 +14657,7 @@ var diff_file_sheet_default = _template("g", (input) => {
14814
14657
  _if(() => {
14815
14658
  if (!input.files.length) {
14816
14659
  const $scope8_id = _scope_id();
14817
- _html(`<p${_attr_class("_ir")}>No files match.</p>`);
14660
+ _html(`<p${_attr_class("_ij")}>No files match.</p>`);
14818
14661
  $si__input_files_length && writeScope($scope8_id, {});
14819
14662
  return 0;
14820
14663
  }
@@ -15354,11 +15197,11 @@ var diff_view_default = _template("m", (input) => {
15354
15197
  collapsedRepos = /* @__PURE__ */ new Set([...collapsedRepos, id]);
15355
15198
  }
15356
15199
  }, "m33", $scope0_id);
15357
- _html(`<div${_attr_class("_fQ")}><div${_attr_class("_fV")}><div${_attr_class("_fW")}><div${_attr_class(["_f6", { ["_f5"]: !comments.length }])}>`);
15200
+ _html(`<div${_attr_class("_eS")}><div${_attr_class("_eX")}><div${_attr_class("_eY")}><div${_attr_class(["_e8", { ["_e7"]: !comments.length }])}>`);
15358
15201
  _if(() => {
15359
15202
  if (input.onExit) {
15360
15203
  const $scope1_id = _scope_id();
15361
- _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_fX"])} title="Back to terminal (Esc)">`);
15204
+ _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_eZ"])} title="Back to terminal (Esc)">`);
15362
15205
  icon_back_default({ size: 14 });
15363
15206
  _html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 1))}`);
15364
15207
  _serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 1) && _scope_with_id($scope0_id) });
@@ -15369,7 +15212,7 @@ var diff_view_default = _template("m", (input) => {
15369
15212
  _if(() => {
15370
15213
  if (comments.length) {
15371
15214
  const $scope5_id = _scope_id();
15372
- _html(`<span${_attr_class("_fZ")}>${_text_resume($scope5_id, "b", comments.length)} comment${_text_resume($scope5_id, "c", comments.length === 1 ? "" : "s", 2)}</span>`);
15215
+ _html(`<span${_attr_class("_e1")}>${_text_resume($scope5_id, "b", comments.length)} comment${_text_resume($scope5_id, "c", comments.length === 1 ? "" : "s", 2)}</span>`);
15373
15216
  writeScope($scope5_id, {});
15374
15217
  return 0;
15375
15218
  }
@@ -15377,7 +15220,7 @@ var diff_view_default = _template("m", (input) => {
15377
15220
  _if(() => {
15378
15221
  if (comments.length) {
15379
15222
  const $scope2_id = _scope_id();
15380
- _html(`<span${_attr_class("_fY")}>`);
15223
+ _html(`<span${_attr_class("_e0")}>`);
15381
15224
  _set_serialize_reason(_serialize_guard($scope0_reason, 7));
15382
15225
  const $childScope = _peek_scope_id();
15383
15226
  diff_send_default({
@@ -15390,14 +15233,14 @@ var diff_view_default = _template("m", (input) => {
15390
15233
  return 0;
15391
15234
  }
15392
15235
  }, $scope0_id, "h", 1, 1, 1, 0, 1);
15393
- _html(`</div>${_el_resume($scope0_id, "d")}<div${_attr_class("_fU")}>`);
15236
+ _html(`</div>${_el_resume($scope0_id, "d")}<div${_attr_class("_eW")}>`);
15394
15237
  _if(() => {
15395
15238
  if (hasFiles) {
15396
15239
  const $scope12_id = _scope_id();
15397
15240
  _html(`<button${_attr_class([
15398
15241
  treeToggle,
15399
- "_fS",
15400
- { ["_fR"]: treeOpen }
15242
+ "_eU",
15243
+ { ["_eT"]: treeOpen }
15401
15244
  ])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
15402
15245
  icon_sidebar_default({ size: 14 });
15403
15246
  _html(`</button>${_el_resume($scope12_id, "a")}`);
@@ -15406,7 +15249,7 @@ var diff_view_default = _template("m", (input) => {
15406
15249
  return 0;
15407
15250
  }
15408
15251
  }, $scope0_id, "j", 1, 1, 1, 0, 1);
15409
- _html(`<button${_attr_class([iconBtnRow, "_fS"])} title="Refresh diff"${_attr("disabled", loading)}>`);
15252
+ _html(`<button${_attr_class([iconBtnRow, "_eU"])} title="Refresh diff"${_attr("disabled", loading)}>`);
15410
15253
  _set_serialize_reason(1);
15411
15254
  const $childScope2 = _peek_scope_id();
15412
15255
  icon_refresh_default({
@@ -15417,19 +15260,19 @@ var diff_view_default = _template("m", (input) => {
15417
15260
  _if(() => {
15418
15261
  if (hasFiles) {
15419
15262
  const $scope13_id = _scope_id();
15420
- _html(`<button${_attr_class(["_q", "_ge"])} title="Jump to file">Files (${_text_resume($scope13_id, "b", shownFiles.length, 2)})</button>${_el_resume($scope13_id, "a")}`);
15263
+ _html(`<button${_attr_class(["_q", "_fg"])} title="Jump to file">Files (${_text_resume($scope13_id, "b", shownFiles.length, 2)})</button>${_el_resume($scope13_id, "a")}`);
15421
15264
  _script($scope13_id, "m53");
15422
15265
  writeScope($scope13_id, {});
15423
15266
  return 0;
15424
15267
  }
15425
15268
  }, $scope0_id, "m", 1, 1, 1, 0, 1);
15426
- _html(`<span${_attr_class(["_o", "_f7"])}>`);
15269
+ _html(`<span${_attr_class(["_o", "_e9"])}>`);
15427
15270
  _attr_select_value($scope0_id, "o", scope, _resume(function(v) {
15428
15271
  setScope(v);
15429
15272
  }, "m0", $scope0_id), () => {
15430
- _html(`<select${_attr_class(["_p", "_f8"])} aria-label="Review scope"${_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></select>`);
15273
+ _html(`<select${_attr_class(["_p", "_e_"])} aria-label="Review scope"${_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></select>`);
15431
15274
  });
15432
- _html(`${_el_resume($scope0_id, "o")}</span><div${_attr_class(["_f3", { ["_f2"]: !findOpen }])}>`);
15275
+ _html(`${_el_resume($scope0_id, "o")}</span><div${_attr_class(["_e5", { ["_e4"]: !findOpen }])}>`);
15433
15276
  _set_serialize_reason(2);
15434
15277
  const $childScope3 = _peek_scope_id();
15435
15278
  let findFocus = diff_find_default({
@@ -15450,8 +15293,8 @@ var diff_view_default = _template("m", (input) => {
15450
15293
  const $scope14_id = _scope_id();
15451
15294
  _html(`<button${_attr_class([
15452
15295
  iconBtnRow,
15453
- "_f1",
15454
- "_fS"
15296
+ "_e3",
15297
+ "_eU"
15455
15298
  ])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
15456
15299
  icon_search_default({ size: 14 });
15457
15300
  _html(`</button>${_el_resume($scope14_id, "a")}`);
@@ -15460,7 +15303,7 @@ var diff_view_default = _template("m", (input) => {
15460
15303
  return 0;
15461
15304
  }
15462
15305
  }, $scope0_id, "s", 1, 1, 1, 0, 1);
15463
- _html(`</div></div><div${_attr_class("_f4")} data-diff-main>`);
15306
+ _html(`</div></div><div${_attr_class("_e6")} data-diff-main>`);
15464
15307
  _if(() => {
15465
15308
  if (error) {
15466
15309
  const $scope6_id = _scope_id();
@@ -15483,7 +15326,7 @@ var diff_view_default = _template("m", (input) => {
15483
15326
  _if(() => {
15484
15327
  if (!repos && loading) {
15485
15328
  const $scope15_id = _scope_id();
15486
- _html(`<div${_attr_class("_f_")} aria-hidden=true><div${_attr_class(["_ga", "_gb"])}></div><div${_attr_class(["_ga", "_gc"])}></div><div${_attr_class(["_ga", "_gd"])}></div><div${_attr_class(["_ga", "_gc"])}></div><div${_attr_class(["_ga", "_gd"])}></div></div>`);
15329
+ _html(`<div${_attr_class("_fb")} aria-hidden=true><div${_attr_class(["_fc", "_fd"])}></div><div${_attr_class(["_fc", "_fe"])}></div><div${_attr_class(["_fc", "_ff"])}></div><div${_attr_class(["_fc", "_fe"])}></div><div${_attr_class(["_fc", "_ff"])}></div></div>`);
15487
15330
  writeScope($scope15_id, {});
15488
15331
  return 0;
15489
15332
  }
@@ -15513,12 +15356,12 @@ var diff_view_default = _template("m", (input) => {
15513
15356
  _if(() => {
15514
15357
  if (repos && !allFiles.length) {
15515
15358
  const $scope11_id = _scope_id();
15516
- _html(`<p${_attr_class("_b6")}>${_text_resume($scope11_id, "b", repoList.some((r) => r.unborn) ? "No commits yet." : scope === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base.")}</p>`);
15359
+ _html(`<p${_attr_class("_ck")}>${_text_resume($scope11_id, "b", repoList.some((r) => r.unborn) ? "No commits yet." : scope === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base.")}</p>`);
15517
15360
  writeScope($scope11_id, {});
15518
15361
  return 0;
15519
15362
  } else if (repos && !shownFiles.length && !findState.hit) {
15520
15363
  const $scope8_id = _scope_id();
15521
- _html(`<p${_attr_class("_b6")}>${_text_resume($scope8_id, "b", findState.query.trim() ? "No matches in review." : onlyNew && !fileFilter ? "Nothing changed since your last visit." : `No files match "${fileFilter}".`)}</p>`);
15364
+ _html(`<p${_attr_class("_ck")}>${_text_resume($scope8_id, "b", findState.query.trim() ? "No matches in review." : onlyNew && !fileFilter ? "Nothing changed since your last visit." : `No files match "${fileFilter}".`)}</p>`);
15522
15365
  writeScope($scope8_id, {});
15523
15366
  return 1;
15524
15367
  }
@@ -15885,12 +15728,12 @@ function parseInvite(text) {
15885
15728
  }
15886
15729
  //#endregion
15887
15730
  //#region src/tags/manage-workspace.css.ts
15888
- var pageMeta = "_fx _cB";
15889
- var pathMeta = "_fA _y";
15890
- var skillRow = "_fG _fB";
15891
- var skillName = "_fI _fC";
15892
- var skillDesc = "_fL _fD";
15893
- var skillEnd = "_fM _fE";
15731
+ var pageMeta = "_ez _dZ";
15732
+ var pathMeta = "_eC _y";
15733
+ var skillRow = "_eI _eD";
15734
+ var skillName = "_eK _eE";
15735
+ var skillDesc = "_eN _eF";
15736
+ var skillEnd = "_eO _eG";
15894
15737
  //#endregion
15895
15738
  //#region src/tags/icons/icon-clipboard.marko
15896
15739
  var icon_clipboard_default = _template("Y", (input) => {
@@ -15908,8 +15751,8 @@ var icon_clipboard_default = _template("Y", (input) => {
15908
15751
  });
15909
15752
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
15910
15753
  });
15911
- var resultRow = "_hP _I";
15912
- var resultBranch = "_hR _4 _l";
15754
+ var resultRow = "_hh _I";
15755
+ var resultBranch = "_hj _4 _l";
15913
15756
  //#endregion
15914
15757
  //#region src/tags/icons/icon-branch.marko
15915
15758
  var icon_branch_default = _template("U", (input) => {
@@ -15939,11 +15782,11 @@ var branch_pick_default = _template("d", (input) => {
15939
15782
  let branchFilter = "";
15940
15783
  let reloadTick = 0;
15941
15784
  let refreshing = false;
15942
- _html(`<div${_attr_class("_hT")}>`);
15785
+ _html(`<div${_attr_class("_hl")}>`);
15943
15786
  _if(() => {
15944
15787
  {
15945
15788
  const $scope4_id = _scope_id();
15946
- _html(`<p${_attr_class("_b5")}><span${_attr_class("_G")}></span> Loading branches…</p>`);
15789
+ _html(`<p${_attr_class("_cj")}><span${_attr_class("_G")}></span> Loading branches…</p>`);
15947
15790
  writeScope($scope4_id, {});
15948
15791
  return 0;
15949
15792
  }
@@ -16044,21 +15887,21 @@ var repo_picker_default = _template("w", (input$2) => {
16044
15887
  _resume_branch($scope9_id);
16045
15888
  }, $scope0_id) };
16046
15889
  const hasBody = !!(pasted || results.length || filter && (!catalog || !pasted) || compact && ssoPending.length);
16047
- _html(`<div${_attr_class([compact ? "_d0" : "_hH", {
16048
- ["_d1"]: compact && !input$2.open,
16049
- ["_d2"]: input$2.pinned
15890
+ _html(`<div${_attr_class([compact ? "_fo" : "_g_", {
15891
+ ["_fp"]: compact && !input$2.open,
15892
+ ["_fq"]: input$2.pinned
16050
15893
  }])}>`);
16051
15894
  _if(() => {
16052
15895
  if (!compact && ssoPending.length) {
16053
15896
  const $scope11_id = _scope_id();
16054
- _html(`<div${_attr_class("_hK")}>`);
15897
+ _html(`<div${_attr_class("_hc")}>`);
16055
15898
  ssoBlock.content({});
16056
15899
  _html("</div>");
16057
15900
  writeScope($scope11_id, {});
16058
15901
  return 0;
16059
15902
  }
16060
15903
  }, $scope0_id, "b", 1, 1, 1, 0, 1);
16061
- _html(`<div${!compact && input$2.action ? _attr_class("_hI") : _attr_class("_hJ")}><label${_attr_class(["_1", compact && "_d3"])}>`);
15904
+ _html(`<div${!compact && input$2.action ? _attr_class("_ha") : _attr_class("_hb")}><label${_attr_class(["_1", compact && "_fr"])}>`);
16062
15905
  icon_search_default({
16063
15906
  size: 14,
16064
15907
  class: "_2"
@@ -16070,7 +15913,7 @@ var repo_picker_default = _template("w", (input$2) => {
16070
15913
  }, "w0", $scope0_id))}${_attr_class([
16071
15914
  compact ? "_Z" : inputLg,
16072
15915
  "_3",
16073
- compact && "_d4"
15916
+ compact && "_fs"
16074
15917
  ])} 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)}`);
16075
15918
  _if(() => {
16076
15919
  if (!compact && input$2.action) {
@@ -16084,7 +15927,7 @@ var repo_picker_default = _template("w", (input$2) => {
16084
15927
  _if(() => {
16085
15928
  if (compact) {
16086
15929
  const $scope2_id = _scope_id();
16087
- _html(`<button${_attr_class([iconBtnRow, "_d5"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
15930
+ _html(`<button${_attr_class([iconBtnRow, "_ft"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
16088
15931
  icon_xmark_default({ size: 14 });
16089
15932
  _html(`</button>${_el_resume($scope2_id, "a")}`);
16090
15933
  _script($scope2_id, "w14");
@@ -16092,11 +15935,11 @@ var repo_picker_default = _template("w", (input$2) => {
16092
15935
  return 0;
16093
15936
  }
16094
15937
  }, $scope0_id, "h", _serialize_guard($scope0_reason, 0), $sg__input_compact, 1, 0, 1);
16095
- _html(`<div${_attr_class([compact ? pop$1 : "_hL"])}${_attr("hidden", !hasBody || compact && !input$2.open && !input$2.pinned)}>`);
15938
+ _html(`<div${_attr_class([compact ? pop$1 : "_hd"])}${_attr("hidden", !hasBody || compact && !input$2.open && !input$2.pinned)}>`);
16096
15939
  _if(() => {
16097
15940
  if (compact && ssoPending.length) {
16098
15941
  const $scope12_id = _scope_id();
16099
- _html(`<div${_attr_class("_hK")}>`);
15942
+ _html(`<div${_attr_class("_hc")}>`);
16100
15943
  ssoBlock.content({});
16101
15944
  _html("</div>");
16102
15945
  writeScope($scope12_id, {});
@@ -16106,16 +15949,16 @@ var repo_picker_default = _template("w", (input$2) => {
16106
15949
  _if(() => {
16107
15950
  if (pasted) {
16108
15951
  const $scope3_id = _scope_id();
16109
- _html(`<ul${_attr_class("_hM")}><li><div${_attr_class(["_hO", "_hN"])}><button${_attr_class(resultRow)}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
15952
+ _html(`<ul${_attr_class("_he")}><li><div${_attr_class(["_hg", "_hf"])}><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)`)}>`);
16110
15953
  icon_plus_default({
16111
15954
  size: 12,
16112
- class: "_hV"
15955
+ class: "_hn"
16113
15956
  });
16114
- _html(`<span${_attr_class("_hW")}>${_text_resume($scope3_id, "f", repoLabel(pasted))}</span></button>${_el_resume($scope3_id, "c")}`);
15957
+ _html(`<span${_attr_class("_ho")}>${_text_resume($scope3_id, "f", repoLabel(pasted))}</span></button>${_el_resume($scope3_id, "c")}`);
16115
15958
  _if(() => {
16116
15959
  if (pastedForkable) {
16117
15960
  const $scope10_id = _scope_id();
16118
- _html(`<button${_attr_class(["_hS", { ["_hQ"]: pasteWillFork }])}${pasteWillFork ? " title=\"Will fork to your account; click to clone as-is instead\"" : _attr("title", `Fork ${pasted} to your account and clone the fork`)} aria-pressed=${pasteWillFork ? "true" : "false"}>`);
15961
+ _html(`<button${_attr_class(["_hk", { ["_hi"]: 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"}>`);
16119
15962
  _if(() => {
16120
15963
  if (pasteWillFork) {
16121
15964
  const $scope14_id = _scope_id();
@@ -16135,7 +15978,7 @@ var repo_picker_default = _template("w", (input$2) => {
16135
15978
  return 0;
16136
15979
  }
16137
15980
  }, $scope3_id, "g", 1, 1, 1, 0, 1);
16138
- _html(`<button${_attr_class([resultBranch, { ["_hQ"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
15981
+ _html(`<button${_attr_class([resultBranch, { ["_hi"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
16139
15982
  icon_branch_default({ size: 12 });
16140
15983
  _html(`</button>${_el_resume($scope3_id, "h")}</div>`);
16141
15984
  _if(() => {
@@ -16162,7 +16005,7 @@ var repo_picker_default = _template("w", (input$2) => {
16162
16005
  return 0;
16163
16006
  } else if (filter && !catalog) {
16164
16007
  const $scope13_id = _scope_id();
16165
- _html(`<p${_attr_class("_b5")}>Loading repos…</p>`);
16008
+ _html(`<p${_attr_class("_cj")}>Loading repos…</p>`);
16166
16009
  writeScope($scope13_id, {});
16167
16010
  return 1;
16168
16011
  }
@@ -16170,15 +16013,15 @@ var repo_picker_default = _template("w", (input$2) => {
16170
16013
  _if(() => {
16171
16014
  if (results.length) {
16172
16015
  const $scope5_id = _scope_id();
16173
- _html(`<ul${_attr_class("_hM")}>`);
16016
+ _html(`<ul${_attr_class("_he")}>`);
16174
16017
  _for_of(results, (repo, i) => {
16175
16018
  const $scope6_id = _scope_id();
16176
- _html(`<li><div${_attr_class(["_hO", { ["_hN"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
16019
+ _html(`<li><div${_attr_class(["_hg", { ["_hf"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
16177
16020
  icon_plus_default({
16178
16021
  size: 12,
16179
- class: "_hV"
16022
+ class: "_hn"
16180
16023
  });
16181
- _html(`<span${_attr_class("_hW")}>${_text_resume($scope6_id, "e", repoLabel(repo.nameWithOwner))}</span></button>${_el_resume($scope6_id, "b")}<button${_attr_class([resultBranch, { ["_hQ"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
16024
+ _html(`<span${_attr_class("_ho")}>${_text_resume($scope6_id, "e", repoLabel(repo.nameWithOwner))}</span></button>${_el_resume($scope6_id, "b")}<button${_attr_class([resultBranch, { ["_hi"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
16182
16025
  icon_branch_default({ size: 12 });
16183
16026
  _html(`</button>${_el_resume($scope6_id, "f")}</div>${_el_resume($scope6_id, "a")}`);
16184
16027
  _if(() => {
@@ -16213,7 +16056,7 @@ var repo_picker_default = _template("w", (input$2) => {
16213
16056
  return 0;
16214
16057
  } else if (filter && catalog && !pasted) {
16215
16058
  const $scope8_id = _scope_id();
16216
- _html(`<p${_attr_class("_b5")}>No repos match "${_text_resume($scope8_id, "b", filter, 2)}". Paste a clone URL to add any repo.</p>`);
16059
+ _html(`<p${_attr_class("_cj")}>No repos match "${_text_resume($scope8_id, "b", filter, 2)}". Paste a clone URL to add any repo.</p>`);
16217
16060
  writeScope($scope8_id, {});
16218
16061
  return 1;
16219
16062
  }
@@ -16433,7 +16276,7 @@ var manage_workspace_default = _template("r", (input) => {
16433
16276
  setTimeout(() => loadProcs(void 0), 500);
16434
16277
  }, "r10", $scope0_id);
16435
16278
  const titleId = _id();
16436
- _html(`<div${_attr_class("_cv")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_cw")}><div${_attr_class("_cx")}>`);
16279
+ _html(`<div${_attr_class("_dT")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_dU")}><div${_attr_class("_dV")}>`);
16437
16280
  _set_serialize_reason(30);
16438
16281
  const $childScope = _peek_scope_id();
16439
16282
  page_head_default({
@@ -16446,7 +16289,7 @@ var manage_workspace_default = _template("r", (input) => {
16446
16289
  meta: attrTag({ content: _content("r20", () => {
16447
16290
  _scope_reason();
16448
16291
  const $scope13_id = _scope_id();
16449
- _html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_fy")}>${_text_resume($scope13_id, "c", ws.name)}</span>`);
16292
+ _html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_eA")}>${_text_resume($scope13_id, "c", ws.name)}</span>`);
16450
16293
  _if(() => {
16451
16294
  if (ws.status !== "active") {
16452
16295
  const $scope17_id = _scope_id();
@@ -16455,7 +16298,7 @@ var manage_workspace_default = _template("r", (input) => {
16455
16298
  return 0;
16456
16299
  }
16457
16300
  }, $scope13_id, "d", 1, 1, 1, 0, 1);
16458
- _html(`<span${_attr_class("_fz")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_text_resume($scope13_id, "g", ws.display_path || ws.path)}</span></span>${_el_resume($scope13_id, "a")}`);
16301
+ _html(`<span${_attr_class("_eB")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_text_resume($scope13_id, "g", ws.display_path || ws.path)}</span></span>${_el_resume($scope13_id, "a")}`);
16459
16302
  _subscribe($ws_status__closures, _subscribe($ws_path__closures, _subscribe($ws_display_path__closures, _subscribe($ws_name__closures, writeScope($scope13_id, {
16460
16303
  _: _scope_with_id($scope0_id),
16461
16304
  Ccf: 1
@@ -16535,12 +16378,12 @@ var manage_workspace_default = _template("r", (input) => {
16535
16378
  _if(() => {
16536
16379
  if (pendingAction && actionStep) {
16537
16380
  const $scope10_id = _scope_id();
16538
- _html(`<p${_attr_class("_bT")}><span${_attr_class("_G")}></span>${_text_resume($scope10_id, "c", actionStep)}</p>`);
16381
+ _html(`<p${_attr_class("_b8")}><span${_attr_class("_G")}></span>${_text_resume($scope10_id, "c", actionStep)}</p>`);
16539
16382
  writeScope($scope10_id, {});
16540
16383
  return 0;
16541
16384
  }
16542
16385
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
16543
- _html(`<section${_attr_class("_bU")}><div${_attr_class("_bV")}><h2${_attr_class("_b8")}>Repos</h2><span${_attr_class(sectionCount)}>${_text_resume($scope0_id, "k", ws.repos.length)}</span><div${_attr_class("_z")}></div><button${_attr_class([iconBtnRow, "_fP"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
16386
+ _html(`<section${_attr_class("_b9")}><div${_attr_class("_b_")}><h2${_attr_class("_cm")}>Repos</h2><span${_attr_class(sectionCount)}>${_text_resume($scope0_id, "k", ws.repos.length)}</span><div${_attr_class("_z")}></div><button${_attr_class([iconBtnRow, "_eR"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
16544
16387
  icon_plus_default({ size: 16 });
16545
16388
  _html(`</button>${_el_resume($scope0_id, "m")}`);
16546
16389
  _set_serialize_reason(26);
@@ -16574,7 +16417,7 @@ var manage_workspace_default = _template("r", (input) => {
16574
16417
  _html(`</button>${_el_resume($scope0_id, "q")}</div><ul${_attr_class(list$2)}>`);
16575
16418
  _for_of(ws.repos, (row) => {
16576
16419
  const $scope1_id = _scope_id();
16577
- _html(`<li${_attr_class(flatCardRow)}><div${_attr_class("_b0")}><span${_attr_class(["_b1", "_y"])}>${_text_resume($scope1_id, "d", row.worktree)}/</span><span${_attr_class("_b2")}><a${_attr_class(["_b3", "_K"])}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_text_resume($scope1_id, "g", repoLabel(row.full_name))}</a>${_el_resume($scope1_id, "f")}`);
16420
+ _html(`<li${_attr_class(flatCardRow)}><div${_attr_class("_ce")}><span${_attr_class(["_cf", "_y"])}>${_text_resume($scope1_id, "d", row.worktree)}/</span><span${_attr_class("_cg")}><a${_attr_class(["_ch", "_K"])}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_text_resume($scope1_id, "g", repoLabel(row.full_name))}</a>${_el_resume($scope1_id, "f")}`);
16578
16421
  _if(() => {
16579
16422
  if (row.base_branch !== row.default_branch) {
16580
16423
  const $scope20_id = _scope_id();
@@ -16595,7 +16438,7 @@ var manage_workspace_default = _template("r", (input) => {
16595
16438
  } else {
16596
16439
  const $scope9_id = _scope_id();
16597
16440
  _html(`<button${_attr_class([
16598
- "_b4",
16441
+ "_ci",
16599
16442
  "_8",
16600
16443
  "_9",
16601
16444
  { ["_s"]: confirmingRemove === row.full_name }
@@ -16628,13 +16471,13 @@ var manage_workspace_default = _template("r", (input) => {
16628
16471
  }, "full_name", $scope0_id, "t", 1, 1, 1, 0, 1);
16629
16472
  _for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
16630
16473
  const $scope24_id = _scope_id();
16631
- _html(`<li${_attr_class([flatCardRow, "_bY"])}><span${_attr_class("_G")}></span><div${_attr_class("_b0")}><span${_attr_class("_b3")}>Adding ${_text_resume($scope24_id, "e", name, 2)}…</span></div></li>`);
16474
+ _html(`<li${_attr_class([flatCardRow, "_cc"])}><span${_attr_class("_G")}></span><div${_attr_class("_ce")}><span${_attr_class("_ch")}>Adding ${_text_resume($scope24_id, "e", name, 2)}…</span></div></li>`);
16632
16475
  writeScope($scope24_id, {});
16633
16476
  }, (n) => n, $scope0_id, "u", 1, 1, 1, 0, 1);
16634
16477
  _if(() => {
16635
16478
  if (!ws.repos.length && !busy.size) {
16636
16479
  const $scope25_id = _scope_id();
16637
- _html(`<li${_attr_class(flatCardRow)}><span${_attr_class("_b3")}>No repos yet. Add one to start.</span></li>`);
16480
+ _html(`<li${_attr_class(flatCardRow)}><span${_attr_class("_ch")}>No repos yet. Add one to start.</span></li>`);
16638
16481
  writeScope($scope25_id, {});
16639
16482
  return 0;
16640
16483
  }
@@ -16652,18 +16495,18 @@ var manage_workspace_default = _template("r", (input) => {
16652
16495
  _if(() => {
16653
16496
  if (allSkills.length) {
16654
16497
  const $scope2_id = _scope_id();
16655
- _html(`<section${_attr_class("_bU")}><div${_attr_class("_bV")}><h2${_attr_class("_b8")}>Skills</h2><span${_attr_class(sectionCount)}>${_text_resume($scope2_id, "e", wsSkills.length)}/${_text_resume($scope2_id, "f", allSkills.length, 2)}</span></div><ul${_attr_class(list$2)}>`);
16498
+ _html(`<section${_attr_class("_b9")}><div${_attr_class("_b_")}><h2${_attr_class("_cm")}>Skills</h2><span${_attr_class(sectionCount)}>${_text_resume($scope2_id, "e", wsSkills.length)}/${_text_resume($scope2_id, "f", allSkills.length, 2)}</span></div><ul${_attr_class(list$2)}>`);
16656
16499
  _for_of(allSkills, ({ s, linked }) => {
16657
16500
  const $scope3_id = _scope_id();
16658
16501
  const isBusy = skillBusy.has(s.id);
16659
- _html(`<li${_attr_class([skillRow, { ["_fH"]: !linked }])}><span${_attr_class("_fJ")}><span${_attr_class(["_y", skillName])}>${_text_resume($scope3_id, "d", s.name)}</span>`);
16502
+ _html(`<li${_attr_class([skillRow, { ["_eJ"]: !linked }])}><span${_attr_class("_eL")}><span${_attr_class(["_y", skillName])}>${_text_resume($scope3_id, "d", s.name)}</span>`);
16660
16503
  _if(() => {
16661
16504
  if (s.worktree && !s.broken) {
16662
16505
  const $scope26_id = _scope_id();
16663
16506
  _html(`<span${_attr_class([
16664
16507
  "_N",
16665
16508
  "_y",
16666
- "_fK"
16509
+ "_eM"
16667
16510
  ])}${linked ? _attr("title", `Linked from ${s.worktree}/ in this workspace`) : _attr("title", `Ships in ${s.worktree}/ — not linked into this workspace yet`)}>${_text_resume($scope26_id, "b", s.worktree)}/</span>${_el_resume($scope26_id, "a")}`);
16668
16511
  writeScope($scope26_id, {});
16669
16512
  return 0;
@@ -16715,10 +16558,10 @@ var manage_workspace_default = _template("r", (input) => {
16715
16558
  if (linked) {
16716
16559
  const $scope11_id = _scope_id();
16717
16560
  _html(`<button${_attr_class([
16718
- "_b4",
16561
+ "_ci",
16719
16562
  "_8",
16720
16563
  "_9",
16721
- "_fN",
16564
+ "_eP",
16722
16565
  { ["_s"]: confirmingSkill === s.id }
16723
16566
  ])} type=button${_attr("disabled", isBusy)}${isBusy ? " aria-busy=true" : ""}${confirmingSkill === s.id ? _attr("title", `Remove ${s.name} from this workspace?`) : s.linked ? _attr("title", `Stop using ${s.name} here`) : _attr("title", `Remove ${s.name}`)}>`);
16724
16567
  _if(() => {
@@ -16768,20 +16611,20 @@ var manage_workspace_default = _template("r", (input) => {
16768
16611
  _if(() => {
16769
16612
  if (running.length) {
16770
16613
  const $scope15_id = _scope_id();
16771
- _html(`<section${_attr_class("_bU")}><div${_attr_class("_bV")}><h2${_attr_class("_b8")}>Running</h2><span${_attr_class(sectionCount)}>${_text_resume($scope15_id, "e", running.length)}</span></div><ul${_attr_class(list$2)}>`);
16614
+ _html(`<section${_attr_class("_b9")}><div${_attr_class("_b_")}><h2${_attr_class("_cm")}>Running</h2><span${_attr_class(sectionCount)}>${_text_resume($scope15_id, "e", running.length)}</span></div><ul${_attr_class(list$2)}>`);
16772
16615
  _for_of(running, (p) => {
16773
16616
  const $scope16_id = _scope_id();
16774
- _html(`<li${_attr_class("_fB")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", "_fC"])}>${_text_resume($scope16_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_fD"])}>${_text_resume($scope16_id, "e", p.args)}</span><span${_attr_class("_fE")}>`);
16617
+ _html(`<li${_attr_class("_eD")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", "_eE"])}>${_text_resume($scope16_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_eF"])}>${_text_resume($scope16_id, "e", p.args)}</span><span${_attr_class("_eG")}>`);
16775
16618
  _for_of(p.ports, (port) => {
16776
16619
  const $scope34_id = _scope_id();
16777
16620
  _html(`<button${_attr_class(["_u", "_K"])}${_attr("title", `Open port ${port}`)}>:${_text_resume($scope34_id, "b", port, 2)}</button>${_el_resume($scope34_id, "a")}`);
16778
16621
  _script($scope34_id, "r27");
16779
16622
  writeScope($scope34_id, { d: port });
16780
16623
  }, (x) => String(x), $scope16_id, "g", 1, 1, 1, 0, 1);
16781
- _html(`<span${_attr_class(["_y", "_fF"])}>${_text_resume($scope16_id, "i", p.pid)}</span><button${_attr_class([
16782
- "_b4",
16624
+ _html(`<span${_attr_class(["_y", "_eH"])}>${_text_resume($scope16_id, "i", p.pid)}</span><button${_attr_class([
16625
+ "_ci",
16783
16626
  "_8",
16784
- "_fO"
16627
+ "_eQ"
16785
16628
  ])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
16786
16629
  icon_xmark_default({ size: 14 });
16787
16630
  _html(`</button>${_el_resume($scope16_id, "j")}</span></li>${_el_resume($scope16_id, "a")}`);
@@ -16862,14 +16705,14 @@ var manage_workspace_default = _template("r", (input) => {
16862
16705
  });
16863
16706
  _resume_branch($scope0_id);
16864
16707
  });
16865
- var curRepos = "_cQ _bZ _cD _cO";
16866
- var curRow = "_eY _cR _cP";
16867
- var curEmpty = "_e0 _b5";
16868
- var curBase = "_e3 _Y _X";
16869
- var archived = "_e8 _bU";
16870
- var archivedHint = "_e9 _X";
16871
- var archivedList = "_cQ _bZ _cD _cO";
16872
- var archivedRow = "_e_ _cR _cP";
16708
+ var curRepos = "_ed _cd _d1 _eb";
16709
+ var curRow = "_el _ee _ec";
16710
+ var curEmpty = "_en _cj";
16711
+ var curBase = "_eq _Y _X";
16712
+ var archived = "_ev _b9";
16713
+ var archivedHint = "_ew _X";
16714
+ var archivedList = "_ed _cd _d1 _eb";
16715
+ var archivedRow = "_ex _ee _ec";
16873
16716
  //#endregion
16874
16717
  //#region src/tags/icons/icon-group.marko
16875
16718
  var icon_group_default = _template("fb", (input) => {
@@ -16889,8 +16732,8 @@ var icon_group_default = _template("fb", (input) => {
16889
16732
  });
16890
16733
  //#endregion
16891
16734
  //#region src/tags/join-dialog.css.ts
16892
- var dlg = "_hv _g9";
16893
- var hint = "_hw _X";
16735
+ var dlg = "_im _hP";
16736
+ var hint = "_in _X";
16894
16737
  //#endregion
16895
16738
  //#region src/tags/join-dialog.marko
16896
16739
  var api$3;
@@ -17019,26 +16862,26 @@ var join_dialog_default = _template("o", (input) => {
17019
16862
  content: _content("o12", () => {
17020
16863
  _scope_reason();
17021
16864
  const $scope1_id = _scope_id();
17022
- _html(`<h2${_attr_class("_g_")}${_attr("id", titleId)}>Join a workspace</h2><p${_attr_class(hint)}>Paste an invite: the same repos, on your own lane of their branch.</p><textarea${_attr_class([
16865
+ _html(`<h2${_attr_class("_hQ")}${_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([
17023
16866
  "_Z",
17024
16867
  "_y",
17025
- "_hy"
16868
+ "_ip"
17026
16869
  ])} 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")}`);
17027
16870
  _if(() => {
17028
16871
  if (parsed.error) {
17029
16872
  const $scope8_id = _scope_id();
17030
- _html(`<p${_attr_class([hint, "_hx"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
16873
+ _html(`<p${_attr_class([hint, "_io"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
17031
16874
  _subscribe($parsed_error__closures, writeScope($scope8_id, { Cag: 1 }));
17032
16875
  return 0;
17033
16876
  } else if (parsed.ok) {
17034
16877
  const $scope3_id = _scope_id();
17035
- _html(`<ul${_attr_class("_hz")}>`);
16878
+ _html(`<ul${_attr_class("_iq")}>`);
17036
16879
  _for_of(parsed.ok.repos, (fullName) => {
17037
16880
  const $scope9_id = _scope_id();
17038
- _html(`<li${_attr_class("_hA")}><span${_attr_class("_hB")}>${_text_resume($scope9_id, "c", repoLabel(fullName))}</span></li>`);
16881
+ _html(`<li${_attr_class("_ir")}><span${_attr_class("_is")}>${_text_resume($scope9_id, "c", repoLabel(fullName))}</span></li>`);
17039
16882
  writeScope($scope9_id, {});
17040
16883
  }, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
17041
- _html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_y")}>${_text_resume($scope3_id, "d", parsed.ok.branch)}</span> in each; PRs target theirs.</p><label${_attr_class("_hC")}><span${_attr_class("_b8")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
16884
+ _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("_it")}><span${_attr_class("_cm")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
17042
16885
  name = _new_name;
17043
16886
  }, "o1", $scope3_id))}${_attr_class("_Z")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
17044
16887
  _script($scope3_id, "o8");
@@ -17075,10 +16918,10 @@ var join_dialog_default = _template("o", (input) => {
17075
16918
  _if(() => {
17076
16919
  if (busy && steps$2.length) {
17077
16920
  const $scope6_id = _scope_id();
17078
- _html(`<ul${_attr_class("_hD")}>`);
16921
+ _html(`<ul${_attr_class("_iu")}>`);
17079
16922
  _for_of(steps$2, (step$2, i) => {
17080
16923
  const $scope7_id = _scope_id();
17081
- _html(`<li${_attr_class(["_hF", { ["_hE"]: i === steps$2.length - 1 }])}>`);
16924
+ _html(`<li${_attr_class(["_iw", { ["_iv"]: i === steps$2.length - 1 }])}>`);
17082
16925
  _if(() => {
17083
16926
  if (i === steps$2.length - 1) {
17084
16927
  const $scope10_id = _scope_id();
@@ -17087,7 +16930,7 @@ var join_dialog_default = _template("o", (input) => {
17087
16930
  return 0;
17088
16931
  } else {
17089
16932
  const $scope11_id = _scope_id();
17090
- _html(`<span${_attr_class("_hG")}>`);
16933
+ _html(`<span${_attr_class("_ix")}>`);
17091
16934
  icon_check_default({ size: 14 });
17092
16935
  _html("</span>");
17093
16936
  writeScope($scope11_id, {});
@@ -17245,7 +17088,7 @@ var new_workspace_default = _template("t", (input) => {
17245
17088
  }
17246
17089
  }, "t6", $scope0_id);
17247
17090
  const titleId = _id();
17248
- _html(`<div${_attr_class("_cv")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_cw")}><div${_attr_class("_cx")}>`);
17091
+ _html(`<div${_attr_class("_dT")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_dU")}><div${_attr_class("_dV")}>`);
17249
17092
  _set_serialize_reason({
17250
17093
  0: _serialize_guard($scope0_reason, 2),
17251
17094
  1: $sg__input_backHref__OR__input_onExit,
@@ -17294,16 +17137,16 @@ var new_workspace_default = _template("t", (input) => {
17294
17137
  return 0;
17295
17138
  }
17296
17139
  }, $scope0_id, "e", 1, 1, 1, 0, 1);
17297
- _html(`<label${_attr_class("_eU")}><span${_attr_class("_b8")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
17140
+ _html(`<label${_attr_class("_eh")}><span${_attr_class("_cm")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
17298
17141
  name = _new_name;
17299
- }, "t0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class("_bU")}><div${_attr_class("_eW")}><h2${_attr_class("_b8")}>Repos</h2></div><ul${_attr_class(curRepos)}>`);
17142
+ }, "t0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class("_b9")}><div${_attr_class("_ej")}><h2${_attr_class("_cm")}>Repos</h2></div><ul${_attr_class(curRepos)}>`);
17300
17143
  _for_of(selected, (repo) => {
17301
17144
  const $scope4_id = _scope_id();
17302
- _html(`<li${_attr_class("_eX")}><div${_attr_class(curRow)}><span${_attr_class("_e1")}>${_text_resume($scope4_id, "d", repoLabel(repo.fullName))}</span>`);
17145
+ _html(`<li${_attr_class("_ek")}><div${_attr_class(curRow)}><span${_attr_class("_eo")}>${_text_resume($scope4_id, "d", repoLabel(repo.fullName))}</span>`);
17303
17146
  _if(() => {
17304
17147
  if (repo.fork !== void 0) {
17305
17148
  const $scope5_id = _scope_id();
17306
- _html(`<button${_attr_class(["_e4", { ["_e2"]: repo.fork }])}${repo.fork ? _attr("title", `${repo.fullName} will be forked to your account; click to clone as-is instead`) : _attr("title", `Fork ${repo.fullName} to your account and clone the fork`)} aria-pressed=${repo.fork ? "true" : "false"}${_attr("disabled", busy)}>`);
17149
+ _html(`<button${_attr_class(["_er", { ["_ep"]: 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)}>`);
17307
17150
  _if(() => {
17308
17151
  if (repo.fork) {
17309
17152
  const $scope14_id = _scope_id();
@@ -17326,7 +17169,7 @@ var new_workspace_default = _template("t", (input) => {
17326
17169
  _html(`<button${_attr_class([
17327
17170
  curBase,
17328
17171
  "_y",
17329
- { ["_e2"]: branchesFor === repo.fullName }
17172
+ { ["_ep"]: branchesFor === repo.fullName }
17330
17173
  ])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}>`);
17331
17174
  icon_branch_default({ size: 12 });
17332
17175
  _html(`${_text_resume($scope4_id, "h", repo.baseBranch ? `${_to_text(" ")}${_to_text(repo.baseBranch)}` : "")}</button>${_el_resume($scope4_id, "f")}<button${_attr_class([iconBtnXs, "_8"])}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>`);
@@ -17335,7 +17178,7 @@ var new_workspace_default = _template("t", (input) => {
17335
17178
  _if(() => {
17336
17179
  if (branchesFor === repo.fullName) {
17337
17180
  const $scope10_id = _scope_id();
17338
- _html(`<div${_attr_class("_eZ")}>`);
17181
+ _html(`<div${_attr_class("_em")}>`);
17339
17182
  const $childScope2 = _peek_scope_id();
17340
17183
  branch_pick_default({
17341
17184
  repo: repo.fullName,
@@ -17386,7 +17229,7 @@ var new_workspace_default = _template("t", (input) => {
17386
17229
  action: attrTag({ content: _content("t21", () => {
17387
17230
  _scope_reason();
17388
17231
  const $scope2_id = _scope_id();
17389
- _html(`<button${_attr_class([iconBtnRow, "_eV"])} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
17232
+ _html(`<button${_attr_class([iconBtnRow, "_ei"])} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
17390
17233
  _set_serialize_reason(1);
17391
17234
  const $childScope3 = _peek_scope_id();
17392
17235
  icon_refresh_default({
@@ -17407,10 +17250,10 @@ var new_workspace_default = _template("t", (input) => {
17407
17250
  _if(() => {
17408
17251
  if (busy && steps.length) {
17409
17252
  const $scope11_id = _scope_id();
17410
- _html(`<ul${_attr_class("_e5")}>`);
17253
+ _html(`<ul${_attr_class("_es")}>`);
17411
17254
  _for_of(steps, (step, i) => {
17412
17255
  const $scope12_id = _scope_id();
17413
- _html(`<li${_attr_class(["_fa", { ["_e6"]: i === steps.length - 1 }])}>`);
17256
+ _html(`<li${_attr_class(["_ey", { ["_et"]: i === steps.length - 1 }])}>`);
17414
17257
  _if(() => {
17415
17258
  if (i === steps.length - 1) {
17416
17259
  const $scope17_id = _scope_id();
@@ -17419,7 +17262,7 @@ var new_workspace_default = _template("t", (input) => {
17419
17262
  return 0;
17420
17263
  } else {
17421
17264
  const $scope18_id = _scope_id();
17422
- _html(`<span${_attr_class("_e7")}>`);
17265
+ _html(`<span${_attr_class("_eu")}>`);
17423
17266
  icon_check_default({ size: 14 });
17424
17267
  _html("</span>");
17425
17268
  writeScope($scope18_id, {});
@@ -17433,18 +17276,18 @@ var new_workspace_default = _template("t", (input) => {
17433
17276
  return 0;
17434
17277
  }
17435
17278
  }, $scope0_id, "q", 1, 1, 1, 0, 1);
17436
- _html(`<div${_attr_class("_eS")}><button type=button${_attr_class([
17279
+ _html(`<div${_attr_class("_ef")}><button type=button${_attr_class([
17437
17280
  btnLg,
17438
17281
  "_r",
17439
- "_eT"
17282
+ "_eg"
17440
17283
  ])}${_attr("disabled", busy || !!restoring || !name.trim())}>${_text_resume($scope0_id, "t", busy ? "Creating…" : "Create workspace")}</button>${_el_resume($scope0_id, "s")}</div>`);
17441
17284
  _if(() => {
17442
17285
  if (archived$1.length) {
17443
17286
  const $scope6_id = _scope_id();
17444
- _html(`<section${_attr_class(archived)}><div${_attr_class("_eW")}><h2${_attr_class("_b8")}>Archived</h2><span${_attr_class(sectionCount)}>${_text_resume($scope6_id, "e", archived$1.length, $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore an archived workspace instead of creating a new one.</p><ul${_attr_class(archivedList)}>`);
17287
+ _html(`<section${_attr_class(archived)}><div${_attr_class("_ej")}><h2${_attr_class("_cm")}>Archived</h2><span${_attr_class(sectionCount)}>${_text_resume($scope6_id, "e", archived$1.length, $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore an archived workspace instead of creating a new one.</p><ul${_attr_class(archivedList)}>`);
17445
17288
  _for_of(archived$1, (ws) => {
17446
17289
  const $scope7_id = _scope_id();
17447
- _html(`<li${_attr_class(archivedRow)}><div${_attr_class("_b0")}><span${_attr_class("_b1")}>${_text_resume($scope7_id, "d", ws.name, $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_y"])}${_attr("title", ws.display_path || ws.path)}>${_text_resume($scope7_id, "f", ws.display_path || ws.path, $sg__input_workspaces)}</span>${_el_resume($scope7_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnSm)}${_attr("disabled", busy || !!restoring)}>`);
17290
+ _html(`<li${_attr_class(archivedRow)}><div${_attr_class("_ce")}><span${_attr_class("_cf")}>${_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)}>`);
17448
17291
  _if(() => {
17449
17292
  if (restoring === ws.id) {
17450
17293
  const $scope19_id = _scope_id();
@@ -17560,19 +17403,19 @@ var term_find_default = _template("E", (input) => {
17560
17403
  const canStep = hasQuery && open;
17561
17404
  const keybar = input.placement === "keybar";
17562
17405
  _html(`<div${_attr_class([
17563
- "_eA",
17564
- keybar ? "_eC" : "_eB",
17565
- !open && "_eE"
17566
- ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_ev", keybar ? "_eD" : "_ex"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
17406
+ "_cA",
17407
+ keybar ? "_cC" : "_cB",
17408
+ !open && "_cE"
17409
+ ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_cv", keybar ? "_cD" : "_cx"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
17567
17410
  if (!open) return;
17568
17411
  query = v;
17569
17412
  live.query = v;
17570
17413
  run(0);
17571
- }, "E1", $scope0_id))}${_attr_class([findInput, keybar && "_eF"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in terminal" aria-label="Find in terminal">${_el_resume($scope0_id, "c")}<button type=button${_attr_class([findIconBtn, keybar && "_eG"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
17414
+ }, "E1", $scope0_id))}${_attr_class([findInput, keybar && "_cF"])} 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 && "_cG"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
17572
17415
  icon_arrow_up_default({ size: 14 });
17573
- _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_eG"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
17416
+ _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_cG"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
17574
17417
  icon_arrow_down_default({ size: 14 });
17575
- _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_eG"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
17418
+ _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_cG"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
17576
17419
  icon_xmark_default({ size: 14 });
17577
17420
  _html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
17578
17421
  const $return = focusInput;
@@ -17723,7 +17566,7 @@ var term_default = _template("F", (input) => {
17723
17566
  }
17724
17567
  }, "F9", $scope0_id);
17725
17568
  input.keys;
17726
- _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_eH")}><div${_attr_class("_eI")}></div>${_el_resume($scope0_id, "b")}`);
17569
+ _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_db")}><div${_attr_class("_dc")}></div>${_el_resume($scope0_id, "b")}`);
17727
17570
  _if(() => {
17728
17571
  if (findOpen) {
17729
17572
  const $scope4_id = _scope_id();
@@ -17750,7 +17593,7 @@ var term_default = _template("F", (input) => {
17750
17593
  _if(() => {
17751
17594
  if (uploading) {
17752
17595
  const $scope5_id = _scope_id();
17753
- _html(`<div${_attr_class("_eO")}>uploading…</div>`);
17596
+ _html(`<div${_attr_class("_di")}>uploading…</div>`);
17754
17597
  writeScope($scope5_id, {});
17755
17598
  return 0;
17756
17599
  }
@@ -17758,7 +17601,7 @@ var term_default = _template("F", (input) => {
17758
17601
  _if(() => {
17759
17602
  if (copiedFlash) {
17760
17603
  const $scope6_id = _scope_id();
17761
- _html(`<div${_attr_class("_eN")}>Copied</div>`);
17604
+ _html(`<div${_attr_class("_dh")}>Copied</div>`);
17762
17605
  writeScope($scope6_id, {});
17763
17606
  return 0;
17764
17607
  }
@@ -17767,7 +17610,7 @@ var term_default = _template("F", (input) => {
17767
17610
  _if(() => {
17768
17611
  if (trapOpen) {
17769
17612
  const $scope3_id = _scope_id();
17770
- _html(`<div${_attr_class("_eP")}><div${_attr_class("_eQ")}><p${_attr_class("_eR")}>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")}`);
17613
+ _html(`<div${_attr_class("_dj")}><div${_attr_class("_dk")}><p${_attr_class("_dl")}>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")}`);
17771
17614
  _script($scope3_id, "F16");
17772
17615
  _script($scope3_id, "F17");
17773
17616
  writeScope($scope3_id, {});
@@ -18028,10 +17871,10 @@ var work_view_default = _template("J", (input) => {
18028
17871
  }
18029
17872
  }, "J14", $scope0_id);
18030
17873
  const navShown = view === "nav" && input.navState?.view === "nav";
18031
- _html(`<div${_attr_class(["_bO", {
18032
- ["_bM"]: navShown,
18033
- ["_bN"]: !input.active
18034
- }])}><div${_attr_class("_bP")}>`);
17874
+ _html(`<div${_attr_class(["_cp", {
17875
+ ["_cn"]: navShown,
17876
+ ["_co"]: !input.active
17877
+ }])}><div${_attr_class("_cq")}>`);
18035
17878
  _if(() => {
18036
17879
  if (error) {
18037
17880
  const $scope8_id = _scope_id();
@@ -18054,7 +17897,7 @@ var work_view_default = _template("J", (input) => {
18054
17897
  _if(() => {
18055
17898
  if (diffMounted && ws) {
18056
17899
  const $scope1_id = _scope_id();
18057
- _html(`<div${_attr_class("_bQ")}${_attr_or("data-live", view === "diff", "")}${_attr("inert", view !== "diff")}>`);
17900
+ _html(`<div${_attr_class("_cr")}${_attr_or("data-live", view === "diff", "")}${_attr("inert", view !== "diff")}>`);
18058
17901
  _set_serialize_reason({
18059
17902
  0: $sg__input_workspace,
18060
17903
  1: $sg__input_workspace,
@@ -18111,7 +17954,7 @@ var work_view_default = _template("J", (input) => {
18111
17954
  _if(() => {
18112
17955
  if (manageMounted && ws) {
18113
17956
  const $scope2_id = _scope_id();
18114
- _html(`<div${_attr_class("_bQ")}${_attr_or("data-live", view === "manage", "")}${_attr("inert", view !== "manage")}>`);
17957
+ _html(`<div${_attr_class("_cr")}${_attr_or("data-live", view === "manage", "")}${_attr("inert", view !== "manage")}>`);
18115
17958
  _set_serialize_reason({
18116
17959
  0: $sg__input_workspace,
18117
17960
  1: _serialize_guard($scope0_reason, 9)
@@ -18137,7 +17980,7 @@ var work_view_default = _template("J", (input) => {
18137
17980
  _if(() => {
18138
17981
  if (settingsMounted) {
18139
17982
  const $scope3_id = _scope_id();
18140
- _html(`<div${_attr_class("_bQ")}${_attr_or("data-live", view === "settings", "")}${_attr("inert", view !== "settings")}>`);
17983
+ _html(`<div${_attr_class("_cr")}${_attr_or("data-live", view === "settings", "")}${_attr("inert", view !== "settings")}>`);
18141
17984
  _set_serialize_reason({
18142
17985
  0: _serialize_guard($scope0_reason, 0),
18143
17986
  1: $sg__input_workspace,
@@ -18179,7 +18022,7 @@ var work_view_default = _template("J", (input) => {
18179
18022
  _if(() => {
18180
18023
  if (newMounted) {
18181
18024
  const $scope4_id = _scope_id();
18182
- _html(`<div${_attr_class("_bQ")}${_attr_or("data-live", view === "new", "")}${_attr("inert", view !== "new")}>`);
18025
+ _html(`<div${_attr_class("_cr")}${_attr_or("data-live", view === "new", "")}${_attr("inert", view !== "new")}>`);
18183
18026
  _set_serialize_reason({
18184
18027
  0: 1,
18185
18028
  1: _serialize_guard($scope0_reason, 13),
@@ -18204,13 +18047,13 @@ var work_view_default = _template("J", (input) => {
18204
18047
  return 0;
18205
18048
  }
18206
18049
  }, $scope0_id, "g", 1, 1, 1, 0, 1);
18207
- _html(`<div${_attr_class("_bR")}${_attr("inert", view !== "term")}>`);
18050
+ _html(`<div${_attr_class("_cs")}${_attr("inert", view !== "term")}>`);
18208
18051
  _if(() => {
18209
18052
  if (ws && shownSessions) {
18210
18053
  const $scope5_id = _scope_id();
18211
18054
  _for_of(input.active ? shownSessions : shownSessions.filter((x) => x.id === curTab), (s) => {
18212
18055
  const $scope6_id = _scope_id();
18213
- _html(`<div${_attr_class("_bS")}${_attr_or("data-live", s.id === curTab, "")}${_attr("inert", s.id !== curTab)}>`);
18056
+ _html(`<div${_attr_class("_ct")}${_attr_or("data-live", s.id === curTab, "")}${_attr("inert", s.id !== curTab)}>`);
18214
18057
  _set_serialize_reason(2);
18215
18058
  const $childScope5 = _peek_scope_id();
18216
18059
  term_default({
@@ -18236,7 +18079,7 @@ var work_view_default = _template("J", (input) => {
18236
18079
  _if(() => {
18237
18080
  if (!shownSessions.length && view === "term") {
18238
18081
  const $scope7_id = _scope_id();
18239
- _html(`<div${_attr_class("_b6")}><span>No sessions in this workspace.</span><button${_attr_class(["_q", "_r"])}${_attr("disabled", spawning)}>${_text_resume($scope7_id, "c", spawning ? "Starting…" : `Start ${input.preferred || "shell"}`)}</button>${_el_resume($scope7_id, "b")}</div>`);
18082
+ _html(`<div${_attr_class("_ck")}><span>No sessions in this workspace.</span><button${_attr_class(["_q", "_r"])}${_attr("disabled", spawning)}>${_text_resume($scope7_id, "c", spawning ? "Starting…" : `Start ${input.preferred || "shell"}`)}</button>${_el_resume($scope7_id, "b")}</div>`);
18240
18083
  _script($scope7_id, "J38");
18241
18084
  _subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
18242
18085
  return 0;
@@ -18246,7 +18089,7 @@ var work_view_default = _template("J", (input) => {
18246
18089
  return 0;
18247
18090
  } else if (ws) {
18248
18091
  const $scope10_id = _scope_id();
18249
- _html(`<p${_attr_class("_b6")}>Loading sessions…</p>`);
18092
+ _html(`<p${_attr_class("_ck")}>Loading sessions…</p>`);
18250
18093
  writeScope($scope10_id, {});
18251
18094
  return 1;
18252
18095
  }
@@ -18366,8 +18209,8 @@ _template("tb", (input) => {
18366
18209
  });
18367
18210
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
18368
18211
  });
18369
- var sessOpen = "_ek _I";
18370
- var sessRename = "_eo _J";
18212
+ var sessOpen = "_cL _I";
18213
+ var sessRename = "_cP _J";
18371
18214
  //#endregion
18372
18215
  //#region src/tags/key-bar-sessions.marko
18373
18216
  var usageFor;
@@ -18398,7 +18241,7 @@ _template("p", (input) => {
18398
18241
  popEl.style.top = `${Math.max(8, btn.top - popEl.offsetHeight - 8)}px`;
18399
18242
  popEl.style.left = `${Math.max(8, Math.min(btn.left + btn.width / 2 - popEl.offsetWidth / 2, window.innerWidth - popEl.offsetWidth - 8))}px`;
18400
18243
  }, "p2", $scope0_id);
18401
- _html(`<button${_attr_class([kbtn, "_eg"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
18244
+ _html(`<button${_attr_class([kbtn, "_cH"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
18402
18245
  _set_serialize_reason({
18403
18246
  1: $sg__input_sessions__OR__input_sessionId,
18404
18247
  2: $sg__input_sessions__OR__input_sessionId
@@ -18412,12 +18255,12 @@ _template("p", (input) => {
18412
18255
  "_A",
18413
18256
  "_bc",
18414
18257
  phase[sessionPhase(current$2?.state)]
18415
- ])}></span>${_el_resume($scope0_id, "c", $sg__input_sessions__OR__input_sessionId)}</button>${_el_resume($scope0_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(["__", "_eh"])}>`);
18258
+ ])}></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(["__", "_cI"])}>`);
18416
18259
  _for_of(input.sessions, (s) => {
18417
18260
  const $scope1_id = _scope_id();
18418
18261
  const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
18419
18262
  const $for_content__s_id__closures = /* @__PURE__ */ new Set();
18420
- _html(`<div${_attr_class(["_ej", { ["_ei"]: s.id === input.sessionId }])}>`);
18263
+ _html(`<div${_attr_class(["_cK", { ["_cJ"]: s.id === input.sessionId }])}>`);
18421
18264
  _if(() => {
18422
18265
  if (renamingId === s.id) {
18423
18266
  const $scope5_id = _scope_id();
@@ -18449,7 +18292,7 @@ _template("p", (input) => {
18449
18292
  agent: activeAgent(s),
18450
18293
  size: 14
18451
18294
  });
18452
- _html(`<span${_attr_class("_el")}><span${_attr_class("_en")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
18295
+ _html(`<span${_attr_class("_cM")}><span${_attr_class("_cO")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
18453
18296
  _if(() => {
18454
18297
  if (s.id === input.sessionId) {
18455
18298
  const $scope7_id = _scope_id();
@@ -18461,7 +18304,7 @@ _template("p", (input) => {
18461
18304
  const $childScope4 = _peek_scope_id();
18462
18305
  usage_pcts_default({
18463
18306
  agent: plan,
18464
- class: "_em"
18307
+ class: "_cN"
18465
18308
  });
18466
18309
  writeScope($scope8_id, { a: _existing_scope($childScope4) });
18467
18310
  return 0;
@@ -18478,7 +18321,7 @@ _template("p", (input) => {
18478
18321
  _if(() => {
18479
18322
  if (input.onRenameSession) {
18480
18323
  const $scope6_id = _scope_id();
18481
- _html(`<button${_attr_class(["_ep", "_eq"])} title="Rename session">`);
18324
+ _html(`<button${_attr_class(["_cQ", "_cR"])} title="Rename session">`);
18482
18325
  icon_edit_default({ size: 12 });
18483
18326
  _html(`</button>${_el_resume($scope6_id, "a")}`);
18484
18327
  _script($scope6_id, "p4");
@@ -18490,7 +18333,7 @@ _template("p", (input) => {
18490
18333
  if (input.onCloseSession) {
18491
18334
  const $scope3_id = _scope_id();
18492
18335
  _html(`<button${_attr_class([
18493
- "_ep",
18336
+ "_cQ",
18494
18337
  "_8",
18495
18338
  { ["_s"]: armedClose === s.id }
18496
18339
  ])} title=${armedClose === s.id ? "Close?" : "\"Close session\""}>`);
@@ -18517,7 +18360,7 @@ _template("p", (input) => {
18517
18360
  k: $si__input_sessions && $for_content__s_id__closures
18518
18361
  });
18519
18362
  }, "id", $scope0_id, "e", 1, $sg__input_sessions, $sg__input_sessions__OR__input_agents, 0, 1);
18520
- _html(`<div${_attr_class("_er")}><span${_attr_class("_es")}>New session</span><div${_attr_class("_et")}>`);
18363
+ _html(`<div${_attr_class("_cS")}><span${_attr_class("_cT")}>New session</span><div${_attr_class("_cU")}>`);
18521
18364
  _for_of(["shell", ...input.agents], (agent) => {
18522
18365
  const $scope4_id = _scope_id();
18523
18366
  _html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
@@ -18993,7 +18836,7 @@ var app_shell_default = _template("c", (input) => {
18993
18836
  ["_g"]: !selectedId && showSetup,
18994
18837
  ["_e"]: navView === "nav"
18995
18838
  }])}>`);
18996
- _set_serialize_reason(134152190);
18839
+ _set_serialize_reason(33554430);
18997
18840
  const $childScope2 = _peek_scope_id();
18998
18841
  side_nav_default({
18999
18842
  workspace: navWs,
@@ -27527,4 +27370,4 @@ server.listen(port, () => {
27527
27370
  //#endregion
27528
27371
  export {};
27529
27372
 
27530
- ;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-CK1qiyoU.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CK1qiyoU.css\"",">",2,"stylesheet#/assets/app-page-C_8cFCmf.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C_8cFCmf.css\"",">"],"defer":[2,"/assets/new-DvLxb34o.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-DvLxb34o.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Uo3NXPui.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Uo3NXPui.js\"",">",2,"modulepreload#/assets/_C91MT5yy.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C91MT5yy.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-CK1qiyoU.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CK1qiyoU.css\"",">",2,"stylesheet#/assets/app-page-C_8cFCmf.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C_8cFCmf.css\"",">"],"defer":[2,"/assets/settings-DvLxb34o.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-DvLxb34o.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Uo3NXPui.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Uo3NXPui.js\"",">",2,"modulepreload#/assets/_C91MT5yy.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C91MT5yy.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-CK1qiyoU.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CK1qiyoU.css\"",">",2,"stylesheet#/assets/app-page-C_8cFCmf.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C_8cFCmf.css\"",">"],"defer":[2,"/assets/w-DvLxb34o.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-DvLxb34o.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Uo3NXPui.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Uo3NXPui.js\"",">",2,"modulepreload#/assets/_C91MT5yy.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C91MT5yy.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-CK1qiyoU.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CK1qiyoU.css\"",">",2,"stylesheet#/assets/app-page-C_8cFCmf.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C_8cFCmf.css\"",">"],"defer":[2,"/assets/w._-DvLxb34o.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-DvLxb34o.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Uo3NXPui.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Uo3NXPui.js\"",">",2,"modulepreload#/assets/_C91MT5yy.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C91MT5yy.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-CK1qiyoU.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CK1qiyoU.css\"",">",2,"stylesheet#/assets/app-page-C_8cFCmf.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C_8cFCmf.css\"",">"],"defer":[2,"/assets/w._-I2MUgpxd.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-I2MUgpxd.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Uo3NXPui.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Uo3NXPui.js\"",">",2,"modulepreload#/assets/_C91MT5yy.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C91MT5yy.js\"",">"]},"_m":{"block":[2,"stylesheet#/assets/diff-view-Bb2JIhMi.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/diff-view-Bb2JIhMi.css\"",">",2,"stylesheet#/assets/icon-arrow-down-CK1qiyoU.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-CK1qiyoU.css\"",">"],"defer":[2,"/assets/diff-view-D8GrPRg5.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/diff-view-D8GrPRg5.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">"]}};
27373
+ ;var __MARKO_MANIFEST__={"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-xhBqf52S.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-xhBqf52S.css\"",">",2,"stylesheet#/assets/app-page-D2BI9pqy.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D2BI9pqy.css\"",">"],"defer":[2,"/assets/settings-xKLJRIst.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-xKLJRIst.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Cjgj-pBB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Cjgj-pBB.js\"",">",2,"modulepreload#/assets/_CUAQigw_.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CUAQigw_.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-xhBqf52S.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-xhBqf52S.css\"",">",2,"stylesheet#/assets/app-page-D2BI9pqy.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D2BI9pqy.css\"",">"],"defer":[2,"/assets/new-xKLJRIst.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-xKLJRIst.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Cjgj-pBB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Cjgj-pBB.js\"",">",2,"modulepreload#/assets/_CUAQigw_.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CUAQigw_.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-xhBqf52S.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-xhBqf52S.css\"",">",2,"stylesheet#/assets/app-page-D2BI9pqy.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D2BI9pqy.css\"",">"],"defer":[2,"/assets/w-xKLJRIst.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-xKLJRIst.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Cjgj-pBB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Cjgj-pBB.js\"",">",2,"modulepreload#/assets/_CUAQigw_.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CUAQigw_.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-xhBqf52S.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-xhBqf52S.css\"",">",2,"stylesheet#/assets/app-page-D2BI9pqy.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D2BI9pqy.css\"",">"],"defer":[2,"/assets/w._-xKLJRIst.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-xKLJRIst.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Cjgj-pBB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Cjgj-pBB.js\"",">",2,"modulepreload#/assets/_CUAQigw_.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CUAQigw_.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-xhBqf52S.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-xhBqf52S.css\"",">",2,"stylesheet#/assets/app-page-D2BI9pqy.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D2BI9pqy.css\"",">"],"defer":[2,"/assets/w._-CaFh5fWn.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-CaFh5fWn.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Cjgj-pBB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Cjgj-pBB.js\"",">",2,"modulepreload#/assets/_CUAQigw_.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CUAQigw_.js\"",">"]},"_m":{"block":[2,"stylesheet#/assets/diff-view-CDR_rQOe.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/diff-view-CDR_rQOe.css\"",">",2,"stylesheet#/assets/icon-arrow-down-xhBqf52S.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-xhBqf52S.css\"",">"],"defer":[2,"/assets/diff-view-CyDQspSd.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/diff-view-CyDQspSd.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">"]}};