@dylanpiercey/work 0.0.161 → 0.0.163

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 (79) hide show
  1. package/dist/index.mjs +900 -970
  2. package/dist/public/assets/_ADBv0JHa.js +1 -0
  3. package/dist/public/assets/{_jEL0MhL2.js → _B9aynZpd.js} +106 -106
  4. package/dist/public/assets/_B9aynZpd.js.br +0 -0
  5. package/dist/public/assets/_BD5g78lR.js +1 -0
  6. package/dist/public/assets/_BLp3ocpo.js +1 -0
  7. package/dist/public/assets/_By8Q0kjO.js +1 -0
  8. package/dist/public/assets/_C0IUHC2J.js +1 -0
  9. package/dist/public/assets/_C1uHTxE9.js +1 -0
  10. package/dist/public/assets/_C2EvCPWi.js +1 -0
  11. package/dist/public/assets/_C7fpvxku.js +1 -0
  12. package/dist/public/assets/_C7fpvxku.js.br +0 -0
  13. package/dist/public/assets/_CHlzsEhp.js +1 -0
  14. package/dist/public/assets/_CJ7IP1Av.js +1 -0
  15. package/dist/public/assets/_CZFZcbX6.js +1 -0
  16. package/dist/public/assets/_Clds-jNF.js +1 -0
  17. package/dist/public/assets/_CmPjzYBq.js +1 -0
  18. package/dist/public/assets/_Cn4yj8mF.js +1 -0
  19. package/dist/public/assets/_CnY7WKoH.js +1 -0
  20. package/dist/public/assets/_CsbAROu4.js +1 -0
  21. package/dist/public/assets/_CwLvxT1I.js +1 -0
  22. package/dist/public/assets/_D1nQRxbq.js +1 -0
  23. package/dist/public/assets/_DO-1wrdg.js +83 -0
  24. package/dist/public/assets/_DO-1wrdg.js.br +0 -0
  25. package/dist/public/assets/_DqZ5bGsL.js +1 -0
  26. package/dist/public/assets/_KBJPVXi5.js +1 -0
  27. package/dist/public/assets/_Z_b2LTfZ.js +1 -0
  28. package/dist/public/assets/_oBeKiYJw.js +1 -0
  29. package/dist/public/assets/app-page-Dl6GaaKR.css +1 -0
  30. package/dist/public/assets/app-page-Dl6GaaKR.css.br +0 -0
  31. package/dist/public/assets/icon-arrow-down-BG7XlCPT.css +1 -0
  32. package/dist/public/assets/icon-arrow-down-BG7XlCPT.css.br +0 -0
  33. package/dist/public/assets/new-DqdzV-MH.js +1 -0
  34. package/dist/public/assets/review-view-Buxhdl15.css +1 -0
  35. package/dist/public/assets/review-view-Buxhdl15.css.br +0 -0
  36. package/dist/public/assets/review-view-o3qf1i3k.js +2 -0
  37. package/dist/public/assets/settings-DqdzV-MH.js +1 -0
  38. package/dist/public/assets/w-DqdzV-MH.js +1 -0
  39. package/dist/public/assets/w._-DWpX54fh.js +1 -0
  40. package/dist/public/assets/w._-DqdzV-MH.js +1 -0
  41. package/package.json +1 -1
  42. package/dist/public/assets/_3KFdpx4q.js +0 -1
  43. package/dist/public/assets/_BDiv3-km.js +0 -1
  44. package/dist/public/assets/_BEAlXcm6.js +0 -1
  45. package/dist/public/assets/_BanJNBTC.js +0 -1
  46. package/dist/public/assets/_BghD-JoL.js +0 -1
  47. package/dist/public/assets/_BpBIrTMV.js +0 -1
  48. package/dist/public/assets/_CKIWh2fO.js +0 -1
  49. package/dist/public/assets/_CR8N_oy2.js +0 -1
  50. package/dist/public/assets/_CR8N_oy2.js.br +0 -0
  51. package/dist/public/assets/_CcV0o5rs.js +0 -1
  52. package/dist/public/assets/_Ceqcn6Mw.js +0 -1
  53. package/dist/public/assets/_Cf0yAnPY.js +0 -1
  54. package/dist/public/assets/_CtKck30n.js +0 -1
  55. package/dist/public/assets/_D8KHpWTJ.js +0 -1
  56. package/dist/public/assets/_DJgAficc.js +0 -1
  57. package/dist/public/assets/_DKos2KZO.js +0 -1
  58. package/dist/public/assets/_DQcPNxEi.js +0 -1
  59. package/dist/public/assets/_DqVCMOJe.js +0 -1
  60. package/dist/public/assets/_Dv_vNNUW.js +0 -1
  61. package/dist/public/assets/_J9xlTH4M.js +0 -1
  62. package/dist/public/assets/_McudOjat.js +0 -1
  63. package/dist/public/assets/_YAEkKpTp.js +0 -1
  64. package/dist/public/assets/_fk03PINt.js +0 -83
  65. package/dist/public/assets/_fk03PINt.js.br +0 -0
  66. package/dist/public/assets/_jEL0MhL2.js.br +0 -0
  67. package/dist/public/assets/_scOrl5rK.js +0 -1
  68. package/dist/public/assets/app-page-CJTacFqL.css +0 -1
  69. package/dist/public/assets/app-page-CJTacFqL.css.br +0 -0
  70. package/dist/public/assets/icon-arrow-down-XYrn8xFc.css +0 -1
  71. package/dist/public/assets/icon-arrow-down-XYrn8xFc.css.br +0 -0
  72. package/dist/public/assets/new-BqgYQv0Y.js +0 -1
  73. package/dist/public/assets/review-view-DSanl_Hi.css +0 -1
  74. package/dist/public/assets/review-view-DSanl_Hi.css.br +0 -0
  75. package/dist/public/assets/review-view-Dkgi3faj.js +0 -2
  76. package/dist/public/assets/settings-BqgYQv0Y.js +0 -1
  77. package/dist/public/assets/w-BqgYQv0Y.js +0 -1
  78. package/dist/public/assets/w._-BqgYQv0Y.js +0 -1
  79. package/dist/public/assets/w._-DnmnrF1J.js +0 -1
package/dist/index.mjs CHANGED
@@ -7191,53 +7191,6 @@ function ignoredSsoOrgs() {
7191
7191
  return [];
7192
7192
  }
7193
7193
  }
7194
- /** Appearance color scheme: follow the OS, or force light/dark. */
7195
- /** Syntax theme pair for the review (Settings → Code theme). */
7196
- var CODE_THEMES = [
7197
- {
7198
- id: "pierre",
7199
- label: "Pierre",
7200
- dark: "pierre-dark",
7201
- light: "pierre-light"
7202
- },
7203
- {
7204
- id: "github",
7205
- label: "GitHub",
7206
- dark: "github-dark-default",
7207
- light: "github-light-default"
7208
- },
7209
- {
7210
- id: "one",
7211
- label: "One",
7212
- dark: "one-dark-pro",
7213
- light: "one-light"
7214
- },
7215
- {
7216
- id: "catppuccin",
7217
- label: "Catppuccin",
7218
- dark: "catppuccin-mocha",
7219
- light: "catppuccin-latte"
7220
- },
7221
- {
7222
- id: "gruvbox",
7223
- label: "Gruvbox",
7224
- dark: "gruvbox-dark-medium",
7225
- light: "gruvbox-light-medium"
7226
- },
7227
- {
7228
- id: "rose-pine",
7229
- label: "Rosé Pine",
7230
- dark: "rose-pine",
7231
- light: "rose-pine-dawn"
7232
- }
7233
- ];
7234
- function codeTheme() {
7235
- const id = get("code-theme");
7236
- return CODE_THEMES.find((t) => t.id === id) ?? CODE_THEMES[0];
7237
- }
7238
- function setCodeTheme(id) {
7239
- set("code-theme", id);
7240
- }
7241
7194
  function theme() {
7242
7195
  const v = get("theme");
7243
7196
  return v === "light" || v === "dark" ? v : "system";
@@ -7281,22 +7234,6 @@ function syncThemeColorMetas(mode, accent) {
7281
7234
  add(accent || DARK_CHROME, "(prefers-color-scheme: dark)");
7282
7235
  }
7283
7236
  }
7284
- /** The review's syntax theme pair (`{ dark, light }` shiki names). The
7285
- * viewer and the highlight worker both take it, and both re-render when
7286
- * Settings picks another — one listener list, like the colour mode. */
7287
- var codeListeners = /* @__PURE__ */ new Set();
7288
- function currentCodeTheme() {
7289
- const t = codeTheme();
7290
- return {
7291
- dark: t.dark,
7292
- light: t.light
7293
- };
7294
- }
7295
- function applyCodeTheme(id) {
7296
- setCodeTheme(id);
7297
- const pair = currentCodeTheme();
7298
- for (const listener of codeListeners) listener(pair);
7299
- }
7300
7237
  //#endregion
7301
7238
  //#region src/client/instance.ts
7302
7239
  /** Curated hues that read in both colour schemes — the picker leads with
@@ -7349,19 +7286,19 @@ function applyInstance(inst) {
7349
7286
  if (icon) icon.href = `/api/instance/icon${inst.accent ? `?v=${inst.accent.slice(1)}` : ""}`;
7350
7287
  syncThemeColorMetas(theme(), inst.accent || "");
7351
7288
  }
7352
- var agentList = "_cJ _b1 _cw _cH";
7353
- var agentRow = "_c4 _cx";
7354
- var toolGrid = "_db _cH";
7355
- var toolRow = "_dc _cI";
7289
+ var agentList = "_c0 _cf _cN _cY";
7290
+ var agentRow = "_c4 _cO";
7291
+ var toolGrid = "_db _cY";
7292
+ var toolRow = "_dc _cZ";
7356
7293
  var themeSeg = "_dA _be";
7357
- var checkList = "_d6 _bZ";
7358
- var list$2 = "_cJ _b1 _cw _cH";
7359
- var flatCardRow = "_cK _cI";
7360
- var pop$1 = "_cR __";
7361
- var spinner = "_cU _2 _G";
7362
- var busy = "_cY _cX";
7363
- var pop = "_c0 __";
7364
- var sectionCount = "_bY _N _O";
7294
+ var checkList = "_d6 _cd";
7295
+ var list$2 = "_c0 _cf _cN _cY";
7296
+ var flatCardRow = "_c1 _cZ";
7297
+ var pop$1 = "_cC __";
7298
+ var spinner = "_cF _2 _G";
7299
+ var busy = "_cJ _cI";
7300
+ var pop = "_cL __";
7301
+ var sectionCount$1 = "_cc _N _O";
7365
7302
  var iconBtn$1 = "_5 _l";
7366
7303
  //#endregion
7367
7304
  //#region src/tags/icons/icon-refresh.marko
@@ -7406,14 +7343,14 @@ var page_head_default = _template("q", (input) => {
7406
7343
  _if(() => {
7407
7344
  if (input.backHref) {
7408
7345
  const $scope1_id = _scope_id();
7409
- _html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_g3"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7346
+ _html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_g0"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7410
7347
  icon_back_default({ size: 14 });
7411
7348
  _html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 0))}`);
7412
7349
  _serialize_if($scope0_reason, 2) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 0) && _scope_with_id($scope0_id) });
7413
7350
  return 0;
7414
7351
  } else if (input.onBack) {
7415
7352
  const $scope2_id = _scope_id();
7416
- _html(`<button${_attr_class([iconBtnRow, "_g3"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7353
+ _html(`<button${_attr_class([iconBtnRow, "_g0"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7417
7354
  icon_back_default({ size: 14 });
7418
7355
  _html(`</button>${_el_resume($scope2_id, "a")}`);
7419
7356
  _script($scope2_id, "q0");
@@ -7504,7 +7441,7 @@ var icon_agent_default = _template("J", (input) => {
7504
7441
  n: $badge__closures
7505
7442
  });
7506
7443
  });
7507
- var usageNote = "_hr _X";
7444
+ var usageNote = "_ho _X";
7508
7445
  //#endregion
7509
7446
  //#region src/tags/icons/icon-warning.marko
7510
7447
  var icon_warning_default = _template("qb", (input) => {
@@ -7534,11 +7471,11 @@ var usage_meters_default = _template("F", (input) => {
7534
7471
  const $scope0_reason = _scope_reason(), $sg__input_agent__OR__input_hideName = _serialize_guard($scope0_reason, 0), $sg__input_agent = _serialize_guard($scope0_reason, 1), $si__input_agent = _serialize_if($scope0_reason, 1), $sg__input_hideName = _serialize_guard($scope0_reason, 2), $si__input_agent__OR__input_hideName = _serialize_if($scope0_reason, 0);
7535
7472
  const $scope0_id = _scope_id();
7536
7473
  const agent = input.agent;
7537
- _html(`<div${_attr_class(["_hl", { ["_hm"]: input.hideName }])}><div${_attr_class("_hn")}>`);
7474
+ _html(`<div${_attr_class(["_hi", { ["_hj"]: input.hideName }])}><div${_attr_class("_hk")}>`);
7538
7475
  _if(() => {
7539
7476
  if (!input.hideName) {
7540
7477
  const $scope1_id = _scope_id();
7541
- _html(`<strong${_attr_class("_hG")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
7478
+ _html(`<strong${_attr_class("_hD")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
7542
7479
  $si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
7543
7480
  return 0;
7544
7481
  }
@@ -7546,7 +7483,7 @@ var usage_meters_default = _template("F", (input) => {
7546
7483
  _if(() => {
7547
7484
  if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
7548
7485
  const $scope2_id = _scope_id();
7549
- _html(`<span${_attr_class("_ho")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
7486
+ _html(`<span${_attr_class("_hl")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
7550
7487
  $si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
7551
7488
  return 0;
7552
7489
  }
@@ -7554,21 +7491,21 @@ var usage_meters_default = _template("F", (input) => {
7554
7491
  _if(() => {
7555
7492
  if (agent.stale_seconds != null) {
7556
7493
  const $scope3_id = _scope_id();
7557
- _html(`<span${_attr_class("_hp")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
7494
+ _html(`<span${_attr_class("_hm")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
7558
7495
  icon_warning_default({ size: 12 });
7559
7496
  _html(` ${_text_resume($scope3_id, "c", duration(agent.stale_seconds * 1e3), $sg__input_agent * 2)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
7560
7497
  $si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
7561
7498
  return 0;
7562
7499
  }
7563
7500
  }, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
7564
- _html(`</div><div${_attr_class(["_hq", { ["_hH"]: agent.stale_seconds != null }])}>`);
7501
+ _html(`</div><div${_attr_class(["_hn", { ["_hE"]: agent.stale_seconds != null }])}>`);
7565
7502
  _for_of(agent.windows || [], (win) => {
7566
7503
  const $scope4_id = _scope_id();
7567
7504
  const pct = pctText(win.used_percent);
7568
7505
  const label = resetLabel(win.resets_at, agent.stale_seconds != null);
7569
- const fillClass = win.used_percent >= 90 ? "_hz" : win.used_percent >= 70 ? "_hy" : win.used_percent >= 40 ? "_hx" : "_hw";
7570
- const pctClass = win.used_percent >= 90 ? "_hE" : win.used_percent >= 70 ? "_hD" : win.used_percent >= 40 ? "_hC" : "_hB";
7571
- _html(`<div${_attr_class("_hs")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_ht")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_hu")}><span${_attr_class(["_hv", 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(["_hA", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_hF")}>`);
7506
+ const fillClass = win.used_percent >= 90 ? "_hw" : win.used_percent >= 70 ? "_hv" : win.used_percent >= 40 ? "_hu" : "_ht";
7507
+ const pctClass = win.used_percent >= 90 ? "_hB" : win.used_percent >= 70 ? "_hA" : win.used_percent >= 40 ? "_hz" : "_hy";
7508
+ _html(`<div${_attr_class("_hp")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_hq")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_hr")}><span${_attr_class(["_hs", 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(["_hx", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_hC")}>`);
7572
7509
  _if(() => {
7573
7510
  if (label) {
7574
7511
  const $scope6_id = _scope_id();
@@ -7685,14 +7622,14 @@ var sso_auth_default = _template("B", (input) => {
7685
7622
  localCode = null;
7686
7623
  }
7687
7624
  }, "B0", $scope0_id);
7688
- _html(`<div${_attr_class(["_g4", input.class])}>`);
7625
+ _html(`<div${_attr_class(["_g7", input.class])}>`);
7689
7626
  _for_of(input.items, (s) => {
7690
7627
  const $scope1_id = _scope_id();
7691
- _html(`<div${_attr_class("_g5")}><span${_attr_class("_g7")}><span${_attr_class("_g8")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_g9", "_g_"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
7628
+ _html(`<div${_attr_class("_g8")}><span${_attr_class("_g_")}><span${_attr_class("_ha")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_hb", "_hc"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
7692
7629
  _if(() => {
7693
7630
  if (!busy) {
7694
7631
  const $scope2_id = _scope_id();
7695
- _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, "_ha"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
7632
+ _html(`<button type=button${_attr_class([btnSm, "_r"])} title="Re-authorize GitHub CLI (same device flow as Sign in)">Authorize</button>${_el_resume($scope2_id, "a")}<button type=button${_attr_class([btnSm, "_hd"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
7696
7633
  _script($scope2_id, "B1");
7697
7634
  writeScope($scope2_id, {});
7698
7635
  return 0;
@@ -7707,13 +7644,13 @@ var sso_auth_default = _template("B", (input) => {
7707
7644
  _if(() => {
7708
7645
  if (localBusy && localCode) {
7709
7646
  const $scope4_id = _scope_id();
7710
- _html(`<div${_attr_class(["_g5", "_hb"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_hc")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_hd")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
7647
+ _html(`<div${_attr_class(["_g8", "_he"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_hf")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_hg")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
7711
7648
  _script($scope4_id, "B2");
7712
7649
  writeScope($scope4_id, {});
7713
7650
  return 0;
7714
7651
  } else if (localBusy) {
7715
7652
  const $scope6_id = _scope_id();
7716
- _html(`<div${_attr_class(["_g5", "_hb"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
7653
+ _html(`<div${_attr_class(["_g8", "_he"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
7717
7654
  writeScope($scope6_id, {});
7718
7655
  return 1;
7719
7656
  }
@@ -7721,14 +7658,14 @@ var sso_auth_default = _template("B", (input) => {
7721
7658
  _if(() => {
7722
7659
  if (localError) {
7723
7660
  const $scope5_id = _scope_id();
7724
- _html(`<p${_attr_class(["_g5", "_he"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
7661
+ _html(`<p${_attr_class(["_g8", "_hh"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
7725
7662
  writeScope($scope5_id, {});
7726
7663
  return 0;
7727
7664
  }
7728
7665
  }, $scope0_id, "d", 1, 1, 1, 0, 1);
7729
7666
  _for_of(skipped, (s) => {
7730
7667
  const $scope3_id = _scope_id();
7731
- _html(`<div${_attr_class(["_g5", "_g6"])}><span${_attr_class("_g7")}><span${_attr_class("_g8")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_g9")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_ha"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
7668
+ _html(`<div${_attr_class(["_g8", "_g9"])}><span${_attr_class("_g_")}><span${_attr_class("_ha")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_hb")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_hd"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
7732
7669
  _script($scope3_id, "B3");
7733
7670
  writeScope($scope3_id, {
7734
7671
  i: s?.org,
@@ -7796,7 +7733,7 @@ var skill_chip_default = _template("A", (input) => {
7796
7733
  const $input_tags__closures = /* @__PURE__ */ new Set();
7797
7734
  const $input_actions__closures = /* @__PURE__ */ new Set();
7798
7735
  const $input_trailing__closures = /* @__PURE__ */ new Set();
7799
- _html(`<li${_attr_class("_cW")}>`);
7736
+ _html(`<li${_attr_class("_cH")}>`);
7800
7737
  _if(() => {
7801
7738
  if (input.busy != null) {
7802
7739
  const $scope1_id = _scope_id();
@@ -7806,20 +7743,20 @@ var skill_chip_default = _template("A", (input) => {
7806
7743
  } else {
7807
7744
  const $scope2_id = _scope_id();
7808
7745
  const popId = _id();
7809
- _html(`<button${_attr_class("_cX")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7746
+ _html(`<button${_attr_class("_cI")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7810
7747
  _if(() => {
7811
7748
  if (input.hint) {
7812
7749
  const $scope3_id = _scope_id();
7813
- _html(`<span${_attr_class("_cZ")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7750
+ _html(`<span${_attr_class("_cK")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7814
7751
  $si__input_busy__OR__input_hint && _subscribe($si__input_hint && $input_hint__closures, writeScope($scope3_id, { _: _scope_with_id($scope2_id) }));
7815
7752
  return 0;
7816
7753
  }
7817
7754
  }, $scope2_id, "c", $sg__input_hint, $sg__input_hint, $sg__input_hint__OR__input_description__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal__OR__input_tags__OR__input_actions__OR__input_trailing, 0, 1);
7818
- _html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["_b3", "_y"])}>${_text_resume($scope2_id, "f", input.name, $sg__input_name)}</span>`);
7755
+ _html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["_ch", "_y"])}>${_text_resume($scope2_id, "f", input.name, $sg__input_name)}</span>`);
7819
7756
  _if(() => {
7820
7757
  if (input.description) {
7821
7758
  const $scope4_id = _scope_id();
7822
- _html(`<span${_attr_class("_b5")}${_attr("title", input.description)}>${_text_resume($scope4_id, "b", input.description, $sg__input_description)}</span>${_el_resume($scope4_id, "a", $sg__input_description)}`);
7759
+ _html(`<span${_attr_class("_cj")}${_attr("title", input.description)}>${_text_resume($scope4_id, "b", input.description, $sg__input_description)}</span>${_el_resume($scope4_id, "a", $sg__input_description)}`);
7823
7760
  $si__input_busy__OR__input_description && _subscribe($si__input_description && $input_description__closures, writeScope($scope4_id, { _: _scope_with_id($scope2_id) }));
7824
7761
  return 0;
7825
7762
  }
@@ -7827,12 +7764,12 @@ var skill_chip_default = _template("A", (input) => {
7827
7764
  _if(() => {
7828
7765
  if (input.sourceUrl) {
7829
7766
  const $scope5_id = _scope_id();
7830
- _html(`<a${_attr_class(["_b5", "_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))}`);
7767
+ _html(`<a${_attr_class(["_cj", "_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))}`);
7831
7768
  $si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal && _subscribe($si__input_source && $input_source__closures, _subscribe($si__input_sourceUrl && $input_sourceUrl__closures, writeScope($scope5_id, { _: _scope_with_id($scope2_id) })));
7832
7769
  return 0;
7833
7770
  } else if (input.source) {
7834
7771
  const $scope6_id = _scope_id();
7835
- _html(`<span${_attr_class("_b5")}>${_text_resume($scope6_id, "b", input.source, $sg__input_source)}</span>`);
7772
+ _html(`<span${_attr_class("_cj")}>${_text_resume($scope6_id, "b", input.source, $sg__input_source)}</span>`);
7836
7773
  $si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal && _subscribe($si__input_source && $input_source__closures, writeScope($scope6_id, {
7837
7774
  _: _scope_with_id($scope2_id),
7838
7775
  Cs: $si__input_source && 1
@@ -7840,7 +7777,7 @@ var skill_chip_default = _template("A", (input) => {
7840
7777
  return 1;
7841
7778
  } else if (input.noteLocal) {
7842
7779
  const $scope10_id = _scope_id();
7843
- _html(`<span${_attr_class(["_b5", "_x"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
7780
+ _html(`<span${_attr_class(["_cj", "_x"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
7844
7781
  _serialize_if($scope0_reason, 8) && writeScope($scope10_id, {});
7845
7782
  return 2;
7846
7783
  }
@@ -7848,7 +7785,7 @@ var skill_chip_default = _template("A", (input) => {
7848
7785
  _if(() => {
7849
7786
  if (input.tags) {
7850
7787
  const $scope7_id = _scope_id();
7851
- _html(`<span${_attr_class("_b4")}>`);
7788
+ _html(`<span${_attr_class("_ci")}>`);
7852
7789
  _dynamic_tag($scope7_id, "b", input.tags, {}, 0, 0, $sg__input_tags);
7853
7790
  _html("</span>");
7854
7791
  $si__input_busy__OR__input_tags && _subscribe($si__input_tags && $input_tags__closures, writeScope($scope7_id, { _: _scope_with_id($scope2_id) }));
@@ -7858,7 +7795,7 @@ var skill_chip_default = _template("A", (input) => {
7858
7795
  _if(() => {
7859
7796
  if (input.actions) {
7860
7797
  const $scope8_id = _scope_id();
7861
- _html(`<div${_attr_class("_c1")}>`);
7798
+ _html(`<div${_attr_class("_cM")}>`);
7862
7799
  _dynamic_tag($scope8_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
7863
7800
  _html("</div>");
7864
7801
  $si__input_busy__OR__input_actions && _subscribe($si__input_actions && $input_actions__closures, writeScope($scope8_id, { _: _scope_with_id($scope2_id) }));
@@ -7969,7 +7906,7 @@ var icon_moon_default = _template("hb", (input) => {
7969
7906
  });
7970
7907
  //#endregion
7971
7908
  //#region src/tags/prompt-dialog.css.ts
7972
- var promptDlg = "_hk _hg";
7909
+ var promptDlg = "_g6 _g2";
7973
7910
  //#endregion
7974
7911
  //#region src/tags/dialog-close.marko
7975
7912
  var dialog_close_default = _template("f", (input) => {
@@ -7993,7 +7930,7 @@ var modal_view_default = _template("o", (input) => {
7993
7930
  const { label, class: inputClass, open: _open, openChange: _openChange, dismissable: _dismissable, content, footer, closedby: _closedby, onCancel: _onCancel, onClose: _onClose, "aria-label": inputAriaLabel, "aria-labelledby": inputLabelledBy, ...htmlInput } = input;
7994
7931
  const dismissable = input.dismissable !== false;
7995
7932
  let open = input.open;
7996
- _html(`<dialog${_attr_class(["_hf", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
7933
+ _html(`<dialog${_attr_class(["_g1", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
7997
7934
  ...htmlInput,
7998
7935
  open: null
7999
7936
  }, {
@@ -8003,20 +7940,20 @@ var modal_view_default = _template("o", (input) => {
8003
7940
  closedby: 1,
8004
7941
  "on-cancel": 1,
8005
7942
  "on-close": 1
8006
- }, "a", $scope0_id, "dialog")}><div${_attr_class("_hi")}>`);
7943
+ }, "a", $scope0_id, "dialog")}><div${_attr_class("_g4")}>`);
8007
7944
  _dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
8008
7945
  _html("</div>");
8009
7946
  _if(() => {
8010
7947
  if (footer) {
8011
7948
  const $scope1_id = _scope_id();
8012
- _html(`<form method=dialog${_attr_class("_hj")}>`);
7949
+ _html(`<form method=dialog${_attr_class("_g5")}>`);
8013
7950
  _dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
8014
7951
  _html("</form>");
8015
7952
  $si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
8016
7953
  return 0;
8017
7954
  } else if (input.openChange) {
8018
7955
  const $scope2_id = _scope_id();
8019
- _html(`<form method=dialog${_attr_class("_hj")}>`);
7956
+ _html(`<form method=dialog${_attr_class("_g5")}>`);
8020
7957
  dialog_close_default({
8021
7958
  class: ["_q", "_r"],
8022
7959
  content: _content("o0", () => {
@@ -8100,7 +8037,7 @@ var prompt_dialog_default = _template("r", (input) => {
8100
8037
  content: _content("r7", () => {
8101
8038
  _scope_reason();
8102
8039
  const $scope2_id = _scope_id();
8103
- _html(`<h2${_attr_class("_hh")}${_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) => {
8040
+ _html(`<h2${_attr_class("_g3")}${_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) => {
8104
8041
  value = _new_value;
8105
8042
  }, "r0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
8106
8043
  _script($scope2_id, "r5");
@@ -8183,7 +8120,7 @@ var settings_page_default = _template("w", (input$3) => {
8183
8120
  let ignoredSso = /* @__PURE__ */ new Set();
8184
8121
  const readIgnoredSso = _resume(() => {
8185
8122
  ignoredSso = new Set(ignoredSsoOrgs());
8186
- }, "w8", $scope0_id);
8123
+ }, "w7", $scope0_id);
8187
8124
  let usage = lastUsage();
8188
8125
  let error = null;
8189
8126
  let refreshing = false;
@@ -8199,7 +8136,6 @@ var settings_page_default = _template("w", (input$3) => {
8199
8136
  let self = null;
8200
8137
  let selfUpdating = false;
8201
8138
  let themeMode = theme();
8202
- let codeTheme$1 = codeTheme().id;
8203
8139
  let searching = false;
8204
8140
  const searchTimer = { id: 0 };
8205
8141
  let skills = lastSkills;
@@ -8216,7 +8152,7 @@ var settings_page_default = _template("w", (input$3) => {
8216
8152
  themeMode = mode;
8217
8153
  setTheme(mode);
8218
8154
  applyTheme(mode);
8219
- }, "w9", $scope0_id);
8155
+ }, "w8", $scope0_id);
8220
8156
  const selfUpdatePending = !!(self && !selfUpdating && self.install !== "source" && self.latest && self.latest !== self.version);
8221
8157
  const applySetup = _resume((s) => {
8222
8158
  setup = s;
@@ -8224,14 +8160,14 @@ var settings_page_default = _template("w", (input$3) => {
8224
8160
  if (!s.ready) machineOpen = true;
8225
8161
  setPrimaryHost(s.github);
8226
8162
  input$3.setupChange?.(s);
8227
- }, "w10", $scope0_id);
8163
+ }, "w9", $scope0_id);
8228
8164
  const syncAgents = _resume(async () => {
8229
8165
  try {
8230
8166
  const snap = await api$8("/api/settings");
8231
8167
  input$3.agentsChange?.(snap.agents);
8232
8168
  if (snap.preferredAgent !== input$3.preferred) input$3.preferredChange?.(snap.preferredAgent);
8233
8169
  } catch {}
8234
- }, "w11", $scope0_id);
8170
+ }, "w10", $scope0_id);
8235
8171
  let retryWhenBack = false;
8236
8172
  const loadSetup = _resume(async (refresh) => {
8237
8173
  try {
@@ -8241,14 +8177,14 @@ var settings_page_default = _template("w", (input$3) => {
8241
8177
  if (isTransientApiError$2(err)) retryWhenBack = true;
8242
8178
  else error = String(err.message || err);
8243
8179
  }
8244
- }, "w12", $scope0_id);
8180
+ }, "w11", $scope0_id);
8245
8181
  const loadSelf = _resume(async (refresh) => {
8246
8182
  try {
8247
8183
  const info = await api$8(`/api/setup/self${refresh ? "?refresh" : ""}`);
8248
8184
  self = info;
8249
8185
  if (info.updating) selfUpdating = true;
8250
8186
  } catch {}
8251
- }, "w13", $scope0_id);
8187
+ }, "w12", $scope0_id);
8252
8188
  const updateSelf = _resume(async () => {
8253
8189
  if (!self || selfUpdating) return;
8254
8190
  selfUpdating = true;
@@ -8272,10 +8208,10 @@ var settings_page_default = _template("w", (input$3) => {
8272
8208
  else selfUpdating = false;
8273
8209
  };
8274
8210
  setTimeout(tick, 4e3);
8275
- }, "w14", $scope0_id);
8211
+ }, "w13", $scope0_id);
8276
8212
  const loadUsage = _resume((refresh) => getUsage(refresh).then((u) => {
8277
8213
  usage = u;
8278
- }), "w15", $scope0_id);
8214
+ }), "w14", $scope0_id);
8279
8215
  const refresh = _resume(async () => {
8280
8216
  refreshing = true;
8281
8217
  await Promise.all([
@@ -8284,16 +8220,16 @@ var settings_page_default = _template("w", (input$3) => {
8284
8220
  ((refreshUsage) => refreshUsage())(_hoist_read_error)
8285
8221
  ]);
8286
8222
  refreshing = false;
8287
- }, "w16", $scope0_id);
8223
+ }, "w15", $scope0_id);
8288
8224
  const refreshUsage = _resume(async () => {
8289
8225
  await loadUsage(true);
8290
- }, "w17", $scope0_id);
8226
+ }, "w16", $scope0_id);
8291
8227
  const setActive = _resume((id, line) => {
8292
8228
  const next = new Map(active);
8293
8229
  if (line === null) next.delete(id);
8294
8230
  else next.set(id, line);
8295
8231
  active = next;
8296
- }, "w18", $scope0_id);
8232
+ }, "w17", $scope0_id);
8297
8233
  const run = _resume(async (id, action, version) => {
8298
8234
  if (active.has(id)) return;
8299
8235
  error = null;
@@ -8325,7 +8261,7 @@ var settings_page_default = _template("w", (input$3) => {
8325
8261
  watcher.stop();
8326
8262
  setActive(id, null);
8327
8263
  }
8328
- }, "w19", $scope0_id);
8264
+ }, "w18", $scope0_id);
8329
8265
  const skillSeq = {
8330
8266
  issued: 0,
8331
8267
  applied: 0
@@ -8335,13 +8271,13 @@ var settings_page_default = _template("w", (input$3) => {
8335
8271
  skillSeq.applied = seq;
8336
8272
  skills = snap;
8337
8273
  lastSkills = snap;
8338
- }, "w20", $scope0_id);
8274
+ }, "w19", $scope0_id);
8339
8275
  const loadSkills = _resume(async () => {
8340
8276
  const seq = ++skillSeq.issued;
8341
8277
  try {
8342
8278
  applySkills(await api$8("/api/skills"), seq);
8343
8279
  } catch {}
8344
- }, "w21", $scope0_id);
8280
+ }, "w20", $scope0_id);
8345
8281
  const runSkill = _resume(async (key, body) => {
8346
8282
  if (active.has(key)) return;
8347
8283
  error = null;
@@ -8365,7 +8301,7 @@ var settings_page_default = _template("w", (input$3) => {
8365
8301
  watcher.stop();
8366
8302
  setActive(key, null);
8367
8303
  }
8368
- }, "w22", $scope0_id);
8304
+ }, "w21", $scope0_id);
8369
8305
  let backupBusy = null;
8370
8306
  let backupLine = "";
8371
8307
  let preflight = null;
@@ -8386,7 +8322,7 @@ var settings_page_default = _template("w", (input$3) => {
8386
8322
  a.click();
8387
8323
  a.remove();
8388
8324
  preflight = null;
8389
- }, "w23", $scope0_id);
8325
+ }, "w22", $scope0_id);
8390
8326
  const startExport = _resume(async () => {
8391
8327
  if (backupBusy) return;
8392
8328
  error = null;
@@ -8401,7 +8337,7 @@ var settings_page_default = _template("w", (input$3) => {
8401
8337
  } finally {
8402
8338
  backupBusy = null;
8403
8339
  }
8404
- }, "w24", $scope0_id);
8340
+ }, "w23", $scope0_id);
8405
8341
  const pickRestoreFile = _resume(async (input) => {
8406
8342
  const file = input.files?.[0];
8407
8343
  input.value = "";
@@ -8435,13 +8371,13 @@ var settings_page_default = _template("w", (input$3) => {
8435
8371
  } catch (err) {
8436
8372
  error = String(err.message || err);
8437
8373
  }
8438
- }, "w25", $scope0_id);
8374
+ }, "w24", $scope0_id);
8439
8375
  const toggleRestoreWs = _resume((id, on) => {
8440
8376
  const next = new Set(restoreWs);
8441
8377
  if (on) next.add(id);
8442
8378
  else next.delete(id);
8443
8379
  restoreWs = next;
8444
- }, "w26", $scope0_id);
8380
+ }, "w25", $scope0_id);
8445
8381
  const runRestore = _resume(async () => {
8446
8382
  if (!restorePreview || backupBusy) return;
8447
8383
  error = null;
@@ -8476,7 +8412,7 @@ var settings_page_default = _template("w", (input$3) => {
8476
8412
  watcher.stop();
8477
8413
  backupBusy = null;
8478
8414
  }
8479
- }, "w27", $scope0_id);
8415
+ }, "w26", $scope0_id);
8480
8416
  const searchSkills = _resume((q) => {
8481
8417
  skillQuery = q;
8482
8418
  clearTimeout(skillTimer.id);
@@ -8518,10 +8454,10 @@ var settings_page_default = _template("w", (input$3) => {
8518
8454
  } finally {
8519
8455
  hostBusy = false;
8520
8456
  }
8521
- }, "w28", $scope0_id);
8457
+ }, "w27", $scope0_id);
8522
8458
  const runEach = _resume(async (ids, action) => {
8523
8459
  for (const id of ids) await run(id, action);
8524
- }, "w29", $scope0_id);
8460
+ }, "w28", $scope0_id);
8525
8461
  const setPreferred = _resume(async (agent) => {
8526
8462
  input$3.preferredChange?.(agent);
8527
8463
  try {
@@ -8533,7 +8469,7 @@ var settings_page_default = _template("w", (input$3) => {
8533
8469
  } catch (err) {
8534
8470
  error = String(err.message || err);
8535
8471
  }
8536
- }, "w30", $scope0_id);
8472
+ }, "w29", $scope0_id);
8537
8473
  const saveTimer = { id: 0 };
8538
8474
  const setInstance = _resume((patch) => {
8539
8475
  const next = {
@@ -8558,7 +8494,7 @@ var settings_page_default = _template("w", (input$3) => {
8558
8494
  error = String(err.message || err);
8559
8495
  }
8560
8496
  }, 300);
8561
- }, "w31", $scope0_id);
8497
+ }, "w30", $scope0_id);
8562
8498
  const setEnabled = _resume(async (id, on) => {
8563
8499
  if (!setup) return;
8564
8500
  const off = new Set(setup.agents.flatMap((f) => f.instances.filter((i) => !i.enabled).map((i) => i.id)));
@@ -8585,7 +8521,7 @@ var settings_page_default = _template("w", (input$3) => {
8585
8521
  } catch (err) {
8586
8522
  error = String(err.message || err);
8587
8523
  }
8588
- }, "w32", $scope0_id);
8524
+ }, "w31", $scope0_id);
8589
8525
  const search = _resume((q) => {
8590
8526
  query = q;
8591
8527
  clearTimeout(searchTimer.id);
@@ -8606,16 +8542,16 @@ var settings_page_default = _template("w", (input$3) => {
8606
8542
  }
8607
8543
  }, 250);
8608
8544
  }, "w1", $scope0_id);
8609
- const outdated = _resume((t) => !!(t.installed && t.latest && t.latest !== t.version), "w33");
8610
- const aliasPin = _resume((t) => !!t.pin && t.pin !== "latest" && !/^\d/.test(t.pin), "w34");
8545
+ const outdated = _resume((t) => !!(t.installed && t.latest && t.latest !== t.version), "w32");
8546
+ const aliasPin = _resume((t) => !!t.pin && t.pin !== "latest" && !/^\d/.test(t.pin), "w33");
8611
8547
  const tools = setup?.tools || [];
8612
8548
  const missingInstallable = tools.filter((t) => t.recommended && !t.installed && t.installable);
8613
8549
  const missingCount = tools.filter((t) => t.recommended && !t.installed).length;
8614
8550
  const outdatedIds = tools.filter(outdated).map((t) => t.id);
8615
8551
  const families = setup?.agents || [];
8616
8552
  const instanceIds = new Set(families.flatMap((f) => f.instances.map((i) => i.id)));
8617
- const accountsFor = _resume((id) => (usage?.agents || []).filter((u) => u.agent === id), "w35", $scope0_id);
8618
- const strayAccountsFor = _resume((f) => (usage?.agents || []).filter((u) => !instanceIds.has(u.agent) && familyOf(u.agent, families) === f.id), "w36", $scope0_id);
8553
+ const accountsFor = _resume((id) => (usage?.agents || []).filter((u) => u.agent === id), "w34", $scope0_id);
8554
+ const strayAccountsFor = _resume((f) => (usage?.agents || []).filter((u) => !instanceIds.has(u.agent) && familyOf(u.agent, families) === f.id), "w35", $scope0_id);
8619
8555
  const otherUsage = (usage?.agents || []).filter((u) => familyOf(u.agent, families) === null);
8620
8556
  const titleId = _id();
8621
8557
  const agentsId = _id();
@@ -8632,7 +8568,7 @@ var settings_page_default = _template("w", (input$3) => {
8632
8568
  6: 1
8633
8569
  });
8634
8570
  let $meta;
8635
- if (setup && !setup.ready) $meta = attrTag({ content: _content_resume("w45", () => {
8571
+ if (setup && !setup.ready) $meta = attrTag({ content: _content_resume("w44", () => {
8636
8572
  _scope_reason();
8637
8573
  const $scope4_id = _scope_id();
8638
8574
  _html(`<span${_attr_class("_c3")}>Not ready</span>. Missing ${_text_resume($scope4_id, "b", setup.missing.map((m) => MISSING_LABEL[m] || m).join(", "), 2)}.`);
@@ -8644,9 +8580,9 @@ var settings_page_default = _template("w", (input$3) => {
8644
8580
  title: "Settings",
8645
8581
  titleId,
8646
8582
  backHref: input$3.backHref,
8647
- onBack: input$3.onExit && _resume(() => input$3.onExit?.(), "w37", $scope0_id),
8583
+ onBack: input$3.onExit && _resume(() => input$3.onExit?.(), "w36", $scope0_id),
8648
8584
  meta: $meta,
8649
- actions: attrTag({ content: _content("w46", () => {
8585
+ actions: attrTag({ content: _content("w45", () => {
8650
8586
  _scope_reason();
8651
8587
  const $scope11_id = _scope_id();
8652
8588
  _html(`<button${_attr_class(iconBtnRow)} title="Refresh: re-check this machine and agent usage" aria-label="Re-check this machine"${_attr("disabled", refreshing)}>`);
@@ -8657,7 +8593,7 @@ var settings_page_default = _template("w", (input$3) => {
8657
8593
  class: refreshing && "_F"
8658
8594
  });
8659
8595
  _html(`</button>${_el_resume($scope11_id, "a")}`);
8660
- _script($scope11_id, "w44");
8596
+ _script($scope11_id, "w43");
8661
8597
  _subscribe($refreshing__closures, writeScope($scope11_id, {
8662
8598
  _: _scope_with_id($scope0_id),
8663
8599
  b: _existing_scope($childScope)
@@ -8672,8 +8608,8 @@ var settings_page_default = _template("w", (input$3) => {
8672
8608
  placement: "inline",
8673
8609
  onDismiss: _resume(function() {
8674
8610
  error = null;
8675
- }, "w38", $scope9_id),
8676
- content: _content("w47", () => {
8611
+ }, "w37", $scope9_id),
8612
+ content: _content("w46", () => {
8677
8613
  _scope_reason();
8678
8614
  const $scope10_id = _scope_id();
8679
8615
  _html(_text_resume($scope10_id, "a", error));
@@ -8706,8 +8642,8 @@ var settings_page_default = _template("w", (input$3) => {
8706
8642
  if (!selfUpdating) {
8707
8643
  const $scope46_id = _scope_id();
8708
8644
  _html(`<button${_attr_class(["_q", "_r"])}${_attr("title", `Update work to v${self.latest} and restart`)}>Update and restart</button>${_el_resume($scope46_id, "a")}`);
8709
- _script($scope46_id, "w48");
8710
- _subscribe($self_latest__closures, writeScope($scope46_id, { Cho: 1 }));
8645
+ _script($scope46_id, "w47");
8646
+ _subscribe($self_latest__closures, writeScope($scope46_id, { Chi: 1 }));
8711
8647
  return 0;
8712
8648
  }
8713
8649
  }, $scope44_id, "c", 1, 1, 1, 0, 1);
@@ -8716,7 +8652,7 @@ var settings_page_default = _template("w", (input$3) => {
8716
8652
  return 0;
8717
8653
  }
8718
8654
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
8719
- _html(`<section${_attr_class("_bW")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bX")}><h2${_attr("id", agentsId)}${_attr_class("_b_")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_c5")}><span${_attr_class("_X")}>Default</span><span${_attr_class("_o")}>`);
8655
+ _html(`<section${_attr_class("_ca")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_cb")}><h2${_attr("id", agentsId)}${_attr_class("_co")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_c5")}><span${_attr_class("_X")}>Default</span><span${_attr_class("_o")}>`);
8720
8656
  _attr_select_value($scope0_id, "n", input$3.preferred, _resume(function(v) {
8721
8657
  setPreferred(v);
8722
8658
  }, "w2", $scope0_id), () => {
@@ -8741,7 +8677,7 @@ var settings_page_default = _template("w", (input$3) => {
8741
8677
  agent: a.id,
8742
8678
  size: 18
8743
8679
  });
8744
- _html(`<div${_attr_class("_b2")}><span${_attr_class("_b4")}><span${_attr_class("_b3")}>${_text_resume($scope1_id, "g", a.label)}</span>`);
8680
+ _html(`<div${_attr_class("_cg")}><span${_attr_class("_ci")}><span${_attr_class("_ch")}>${_text_resume($scope1_id, "g", a.label)}</span>`);
8745
8681
  _if(() => {
8746
8682
  if (lone && input$3.preferred === lone.id) {
8747
8683
  const $scope81_id = _scope_id();
@@ -8759,7 +8695,7 @@ var settings_page_default = _template("w", (input$3) => {
8759
8695
  return 0;
8760
8696
  } else if (!a.installed) {
8761
8697
  const $scope82_id = _scope_id();
8762
- _html(`<span${_attr_class("_b5")}>Not installed</span>`);
8698
+ _html(`<span${_attr_class("_cj")}>Not installed</span>`);
8763
8699
  writeScope($scope82_id, {});
8764
8700
  return 1;
8765
8701
  }
@@ -8769,7 +8705,7 @@ var settings_page_default = _template("w", (input$3) => {
8769
8705
  if (!a.installed && !active.has(a.id)) {
8770
8706
  const $scope57_id = _scope_id();
8771
8707
  _html(`<button${_attr_class(btnSm)}>Install</button>${_el_resume($scope57_id, "a")}`);
8772
- _script($scope57_id, "w49");
8708
+ _script($scope57_id, "w48");
8773
8709
  writeScope($scope57_id, {});
8774
8710
  return 0;
8775
8711
  }
@@ -8778,7 +8714,7 @@ var settings_page_default = _template("w", (input$3) => {
8778
8714
  if (lone) {
8779
8715
  const $scope78_id = _scope_id();
8780
8716
  _html(`<button${_attr_class("_H")} role=switch aria-checked=${lone.enabled ? "true" : "false"} title=${lone.enabled ? "\"Shown in session pickers. Hide it\"" : "\"Hidden from session pickers. Show it\""}></button>${_el_resume($scope78_id, "a")}`);
8781
- _script($scope78_id, "w50");
8717
+ _script($scope78_id, "w49");
8782
8718
  writeScope($scope78_id, {});
8783
8719
  return 0;
8784
8720
  }
@@ -8816,7 +8752,7 @@ var settings_page_default = _template("w", (input$3) => {
8816
8752
  writeScope($scope84_id, { a: _existing_scope($childScope5) });
8817
8753
  }, (u) => `${u.agent}-${u.account || ""}`, $scope3_id, "i", 1, 1, 1, 0, 1);
8818
8754
  _html(`</li>${_el_resume($scope3_id, "a")}`);
8819
- _script($scope3_id, "w51");
8755
+ _script($scope3_id, "w50");
8820
8756
  _subscribe($accountsFor2__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope3_id, {
8821
8757
  l: inst?.id,
8822
8758
  o: inst?.enabled,
@@ -8877,24 +8813,24 @@ var settings_page_default = _template("w", (input$3) => {
8877
8813
  _if(() => {
8878
8814
  if (!usage && families.length) {
8879
8815
  const $scope88_id = _scope_id();
8880
- _html(`<p${_attr_class("_b7")}><span${_attr_class("_G")}></span> Loading usage…</p>`);
8816
+ _html(`<p${_attr_class("_cl")}><span${_attr_class("_G")}></span> Loading usage…</p>`);
8881
8817
  writeScope($scope88_id, {});
8882
8818
  return 0;
8883
8819
  } else if (usage?.error) {
8884
8820
  const $scope8_id = _scope_id();
8885
- _html(`<p${_attr_class("_b7")}>${_text_resume($scope8_id, "b", usage.error)}</p>`);
8821
+ _html(`<p${_attr_class("_cl")}>${_text_resume($scope8_id, "b", usage.error)}</p>`);
8886
8822
  writeScope($scope8_id, {});
8887
8823
  return 1;
8888
8824
  }
8889
8825
  }, $scope0_id, "r", 1, 1, 1, 0, 1);
8890
- _html(`</section><section${_attr_class("_bW")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bX")}><h2${_attr("id", githubId)}${_attr_class("_b_")}>GitHub</h2>`);
8826
+ _html(`</section><section${_attr_class("_ca")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_cb")}><h2${_attr("id", githubId)}${_attr_class("_co")}>GitHub</h2>`);
8891
8827
  _if(() => {
8892
8828
  if (setup && !addingHost) {
8893
8829
  const $scope42_id = _scope_id();
8894
8830
  _html(`<button${_attr_class([iconBtnRow, "_dj"])} title="Add Enterprise host" aria-label="Add Enterprise host">`);
8895
8831
  icon_plus_default({ size: 16 });
8896
8832
  _html(`</button>${_el_resume($scope42_id, "a")}`);
8897
- _script($scope42_id, "w52");
8833
+ _script($scope42_id, "w51");
8898
8834
  writeScope($scope42_id, {});
8899
8835
  return 0;
8900
8836
  }
@@ -8903,10 +8839,10 @@ var settings_page_default = _template("w", (input$3) => {
8903
8839
  if (setup) {
8904
8840
  const $scope41_id = _scope_id();
8905
8841
  _html(`<form${_attr_class([
8906
- "_cL",
8842
+ "_cw",
8907
8843
  "_dj",
8908
- { ["_cM"]: !addingHost }
8909
- ])}><label${_attr_class(["_1", "_cO"])}>`);
8844
+ { ["_cx"]: !addingHost }
8845
+ ])}><label${_attr_class(["_1", "_cz"])}>`);
8910
8846
  icon_github_default({
8911
8847
  size: 14,
8912
8848
  class: "_2"
@@ -8916,32 +8852,32 @@ var settings_page_default = _template("w", (input$3) => {
8916
8852
  }, "w3", $scope41_id))}${_attr_class([
8917
8853
  "_Z",
8918
8854
  "_3",
8919
- "_cP"
8855
+ "_cA"
8920
8856
  ])} type=text placeholder=github.example.com aria-label="GitHub Enterprise host" autocomplete=off spellcheck=false>${_el_resume($scope41_id, "d")}</label><button${_attr_class([
8921
8857
  btnSm,
8922
8858
  "_r",
8923
8859
  "_di"
8924
- ])} 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, "_cQ"])} type=button${_attr("hidden", !addingHost)} title=Cancel aria-label=Cancel${_attr("disabled", hostBusy)}>`);
8860
+ ])} 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, "_cB"])} type=button${_attr("hidden", !addingHost)} title=Cancel aria-label=Cancel${_attr("disabled", hostBusy)}>`);
8925
8861
  icon_xmark_default({ size: 14 });
8926
8862
  _html(`</button>${_el_resume($scope41_id, "g")}</form>${_el_resume($scope41_id, "a")}`);
8927
- _script($scope41_id, "w53");
8863
+ _script($scope41_id, "w52");
8928
8864
  writeScope($scope41_id, {});
8929
8865
  return 0;
8930
8866
  }
8931
8867
  }, $scope0_id, "w", 1, 1, 1, 0, 1);
8932
- _html(`</div><div${_attr_class(["_b1", "_cw"])}>`);
8868
+ _html(`</div><div${_attr_class(["_cf", "_cN"])}>`);
8933
8869
  _for_of(setup?.github || [], (h) => {
8934
8870
  const $scope6_id = _scope_id();
8935
8871
  const $for_content3__h_host__closures = /* @__PURE__ */ new Set();
8936
8872
  const hostSso$1 = (h.sso || []).filter((s) => !ignoredSso.has(s.org));
8937
8873
  const skippedSso = (h.sso || []).filter((s) => ignoredSso.has(s.org));
8938
8874
  const busy = active.has(h.host);
8939
- _html(`<div${_attr_class(["_cx", "_dk"])}><div${_attr_class("_dl")}>`);
8875
+ _html(`<div${_attr_class(["_cO", "_dk"])}><div${_attr_class("_dl")}>`);
8940
8876
  icon_github_default({
8941
8877
  size: 18,
8942
8878
  class: "_dm"
8943
8879
  });
8944
- _html(`<div${_attr_class("_b2")}><span${_attr_class("_b4")}><span${_attr_class("_b3")}>${_text_resume($scope6_id, "g", h.host)}</span>`);
8880
+ _html(`<div${_attr_class("_cg")}><span${_attr_class("_ci")}><span${_attr_class("_ch")}>${_text_resume($scope6_id, "g", h.host)}</span>`);
8945
8881
  _if(() => {
8946
8882
  if (h.isEnterprise) {
8947
8883
  const $scope91_id = _scope_id();
@@ -8954,12 +8890,12 @@ var settings_page_default = _template("w", (input$3) => {
8954
8890
  _if(() => {
8955
8891
  if (busy) {
8956
8892
  const $scope13_id = _scope_id();
8957
- _html(`<span${_attr_class(["_b5", "_dn"])}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
8958
- _subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope13_id, { Ch8: 1 })));
8893
+ _html(`<span${_attr_class(["_cj", "_dn"])}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
8894
+ _subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope13_id, { Ch2: 1 })));
8959
8895
  return 0;
8960
8896
  } else if (h.authed) {
8961
8897
  const $scope89_id = _scope_id();
8962
- _html(`<span${_attr_class(["_b5", "_dn"])}>`);
8898
+ _html(`<span${_attr_class(["_cj", "_dn"])}>`);
8963
8899
  icon_check_default({
8964
8900
  size: 12,
8965
8901
  class: "_do"
@@ -8970,7 +8906,7 @@ var settings_page_default = _template("w", (input$3) => {
8970
8906
  } else if (h.error) {
8971
8907
  const $scope90_id = _scope_id();
8972
8908
  _html(`<span${_attr_class([
8973
- "_b5",
8909
+ "_cj",
8974
8910
  "_dn",
8975
8911
  "_dp"
8976
8912
  ])}>`);
@@ -8980,7 +8916,7 @@ var settings_page_default = _template("w", (input$3) => {
8980
8916
  return 2;
8981
8917
  } else {
8982
8918
  const $scope92_id = _scope_id();
8983
- _html(`<span${_attr_class(["_b5", "_dn"])}>Not signed in</span>`);
8919
+ _html(`<span${_attr_class(["_cj", "_dn"])}>Not signed in</span>`);
8984
8920
  writeScope($scope92_id, {});
8985
8921
  return 3;
8986
8922
  }
@@ -8993,7 +8929,7 @@ var settings_page_default = _template("w", (input$3) => {
8993
8929
  if (!h.authed) {
8994
8930
  const $scope58_id = _scope_id();
8995
8931
  _html(`<button${_attr_class([btnSm, "_r"])}>Sign in</button>${_el_resume($scope58_id, "a")}`);
8996
- _script($scope58_id, "w54");
8932
+ _script($scope58_id, "w53");
8997
8933
  writeScope($scope58_id, {});
8998
8934
  return 0;
8999
8935
  } else {
@@ -9002,7 +8938,7 @@ var settings_page_default = _template("w", (input$3) => {
9002
8938
  ["_t"]: confirmingRemove === `out:${h.host}`,
9003
8939
  ["_s"]: confirmingRemove === `out:${h.host}`
9004
8940
  }])}${confirmingRemove === `out:${h.host}` ? _attr("title", `Sign out of ${h.host}?`) : _attr("title", `Sign out of ${h.host}`)}>${_text_resume($scope32_id, "b", confirmingRemove === `out:${h.host}` ? "Sign out?" : "Sign out")}</button>${_el_resume($scope32_id, "a")}`);
9005
- _script($scope32_id, "w55");
8941
+ _script($scope32_id, "w54");
9006
8942
  _subscribe($for_content3__h_host__closures, _subscribe($confirmingRemove__closures, writeScope($scope32_id, {})));
9007
8943
  return 1;
9008
8944
  }
@@ -9011,7 +8947,7 @@ var settings_page_default = _template("w", (input$3) => {
9011
8947
  if (h.isEnterprise) {
9012
8948
  const $scope33_id = _scope_id();
9013
8949
  _html(`<button${_attr_class([
9014
- "_b6",
8950
+ "_ck",
9015
8951
  "_8",
9016
8952
  "_9",
9017
8953
  { ["_s"]: confirmingRemove === h.host }
@@ -9029,9 +8965,9 @@ var settings_page_default = _template("w", (input$3) => {
9029
8965
  return 1;
9030
8966
  }
9031
8967
  }, $scope33_id, "a", 1, 1, 1, "</button>");
9032
- _script($scope33_id, "w56");
8968
+ _script($scope33_id, "w55");
9033
8969
  _subscribe($for_content3__h_host__closures, _subscribe($confirmingRemove__closures, writeScope($scope33_id, {
9034
- Chb: 1,
8970
+ Ch5: 1,
9035
8971
  Ca4: 1
9036
8972
  })));
9037
8973
  return 0;
@@ -9046,7 +8982,7 @@ var settings_page_default = _template("w", (input$3) => {
9046
8982
  if (busy && authCodes.has(h.host)) {
9047
8983
  const $scope30_id = _scope_id();
9048
8984
  _html(`<div${_attr_class("_dr")}><span${_attr_class("_ds")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_du")}>${_text_resume($scope30_id, "d", h.host)}/login/device</a>${_el_resume($scope30_id, "c")}</span><code${_attr_class("_dt")}>${_text_resume($scope30_id, "f", authCodes.get(h.host))}</code></div>`);
9049
- _subscribe($authCodes__closures, writeScope($scope30_id, { Cha: 1 }));
8985
+ _subscribe($authCodes__closures, writeScope($scope30_id, { Ch4: 1 }));
9050
8986
  return 0;
9051
8987
  }
9052
8988
  }, $scope6_id, "k", 1, 1, 1, 0, 1);
@@ -9057,19 +8993,19 @@ var settings_page_default = _template("w", (input$3) => {
9057
8993
  _set_serialize_reason(30);
9058
8994
  const $childScope9 = _peek_scope_id();
9059
8995
  sso_auth_default({
9060
- class: ["_cx", "_dv"],
8996
+ class: ["_cO", "_dv"],
9061
8997
  items: hostSso$1,
9062
8998
  skipped: skippedSso,
9063
8999
  busy,
9064
9000
  onChange: _resume(function() {
9065
9001
  readIgnoredSso();
9066
- }, "w39", $scope7_id),
9002
+ }, "w38", $scope7_id),
9067
9003
  onAuthorize: _resume(function() {
9068
9004
  run(h.host, "auth-refresh");
9069
- }, "w40", $scope7_id),
9005
+ }, "w39", $scope7_id),
9070
9006
  onDone: _resume(function() {
9071
9007
  refresh();
9072
- }, "w41", $scope7_id)
9008
+ }, "w40", $scope7_id)
9073
9009
  });
9074
9010
  _subscribe($run2__closures, _subscribe($si__input_setupChange && $refresh2__closures, writeScope($scope7_id, { a: _existing_scope($childScope9) })));
9075
9011
  return 0;
@@ -9091,23 +9027,23 @@ var settings_page_default = _template("w", (input$3) => {
9091
9027
  _if(() => {
9092
9028
  if (setup && !setup.github.length) {
9093
9029
  const $scope95_id = _scope_id();
9094
- _html(`<p${_attr_class("_b7")}>Install the GitHub CLI below to sign in.</p>`);
9030
+ _html(`<p${_attr_class("_cl")}>Install the GitHub CLI below to sign in.</p>`);
9095
9031
  writeScope($scope95_id, {});
9096
9032
  return 0;
9097
9033
  }
9098
9034
  }, $scope0_id, "y", 1, 1, 1, 0, 1);
9099
- _html(`</section><section${_attr_class("_bW")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bX")}><h2${_attr("id", machineId)}${_attr_class("_b_")}>Machine</h2></div><div${_attr_class(["_b1", "_cw"])}><div${_attr_class(["_cx", "_cy"])}><div${_attr_class(["_cz", { ["_cA"]: skillsOpen }])}><button${_attr_class("_cB")} aria-expanded=true>`);
9035
+ _html(`</section><section${_attr_class("_ca")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_cb")}><h2${_attr("id", machineId)}${_attr_class("_co")}>Machine</h2></div><div${_attr_class(["_cf", "_cN"])}><div${_attr_class(["_cO", "_cP"])}><div${_attr_class(["_cQ", { ["_cR"]: skillsOpen }])}><button${_attr_class("_cS")} aria-expanded=true>`);
9100
9036
  _set_serialize_reason(1);
9101
9037
  const $childScope10 = _peek_scope_id();
9102
9038
  icon_chevron_right_default({
9103
9039
  size: 12,
9104
- class: ["_cF", { ["_cG"]: skillsOpen }]
9040
+ class: ["_cW", { ["_cX"]: skillsOpen }]
9105
9041
  });
9106
- _html(`<span${_attr_class("_cC")}>Skills</span>`);
9042
+ _html(`<span${_attr_class("_cT")}>Skills</span>`);
9107
9043
  _if(() => {
9108
9044
  if (skills?.global.length) {
9109
9045
  const $scope51_id = _scope_id();
9110
- _html(`<span${_attr_class("_cD")}>${_text_resume($scope51_id, "b", skills.global.length)} installed</span>`);
9046
+ _html(`<span${_attr_class("_cU")}>${_text_resume($scope51_id, "b", skills.global.length)} installed</span>`);
9111
9047
  writeScope($scope51_id, {});
9112
9048
  return 0;
9113
9049
  }
@@ -9119,7 +9055,7 @@ var settings_page_default = _template("w", (input$3) => {
9119
9055
  _html(`<button${_attr_class(iconBtnRow)} title="Add skill" aria-label="Add skill">`);
9120
9056
  icon_plus_default({ size: 16 });
9121
9057
  _html(`</button>${_el_resume($scope55_id, "a")}`);
9122
- _script($scope55_id, "w57");
9058
+ _script($scope55_id, "w56");
9123
9059
  writeScope($scope55_id, {});
9124
9060
  return 0;
9125
9061
  }
@@ -9127,7 +9063,7 @@ var settings_page_default = _template("w", (input$3) => {
9127
9063
  _if(() => {
9128
9064
  if (skills?.available && skills.agents.length) {
9129
9065
  const $scope14_id = _scope_id();
9130
- _html(`<div${_attr_class(["_cL", { ["_cM"]: true }])}><label${_attr_class(["_1", "_cO"])}>`);
9066
+ _html(`<div${_attr_class(["_cw", { ["_cx"]: true }])}><label${_attr_class(["_1", "_cz"])}>`);
9131
9067
  _if(() => {
9132
9068
  if (skillSearching) {
9133
9069
  const $scope96_id = _scope_id();
@@ -9147,14 +9083,14 @@ var settings_page_default = _template("w", (input$3) => {
9147
9083
  _html(`<input${_attr_input_value($scope14_id, "d", skillQuery, searchSkills)}${_attr_class([
9148
9084
  "_Z",
9149
9085
  "_3",
9150
- "_cP"
9151
- ])} 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, "_cQ"])} type=button${_attr("hidden", true)} title="Close search" aria-label="Close search">`);
9086
+ "_cA"
9087
+ ])} 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, "_cB"])} type=button${_attr("hidden", true)} title="Close search" aria-label="Close search">`);
9152
9088
  icon_xmark_default({ size: 14 });
9153
- _html(`</button>${_el_resume($scope14_id, "e")}<ul${_attr_class([pop$1, "_cS"])}${_attr("hidden", true)}>`);
9089
+ _html(`</button>${_el_resume($scope14_id, "e")}<ul${_attr_class([pop$1, "_cD"])}${_attr("hidden", true)}>`);
9154
9090
  _if(() => {
9155
9091
  if (skillSearching && !skillHits?.length && !looksLikeSource(skillQuery)) {
9156
9092
  const $scope98_id = _scope_id();
9157
- _html(`<li${_attr_class("_cT")}>Searching skills.sh…</li>`);
9093
+ _html(`<li${_attr_class("_cE")}>Searching skills.sh…</li>`);
9158
9094
  writeScope($scope98_id, {});
9159
9095
  return 0;
9160
9096
  }
@@ -9162,19 +9098,19 @@ var settings_page_default = _template("w", (input$3) => {
9162
9098
  _if(() => {
9163
9099
  if (looksLikeSource(skillQuery)) {
9164
9100
  const $scope15_id = _scope_id();
9165
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_b2")}><span${_attr_class(["_de", "_y"])}>${_text_resume($scope15_id, "d", skillQuery.trim())}</span>`);
9101
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cg")}><span${_attr_class(["_de", "_y"])}>${_text_resume($scope15_id, "d", skillQuery.trim())}</span>`);
9166
9102
  _if(() => {
9167
9103
  if (active.has(skillQuery.trim())) {
9168
9104
  const $scope16_id = _scope_id();
9169
9105
  _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope16_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
9170
9106
  _subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope16_id, {
9171
- Ch8: 3,
9172
- Chx: 1
9107
+ Ch2: 3,
9108
+ Chr: 1
9173
9109
  })));
9174
9110
  return 0;
9175
9111
  } else {
9176
9112
  const $scope99_id = _scope_id();
9177
- _html(`<span${_attr_class("_b5")}>Add straight from this source</span>`);
9113
+ _html(`<span${_attr_class("_cj")}>Add straight from this source</span>`);
9178
9114
  writeScope($scope99_id, {});
9179
9115
  return 1;
9180
9116
  }
@@ -9184,29 +9120,29 @@ var settings_page_default = _template("w", (input$3) => {
9184
9120
  if (!active.has(skillQuery.trim())) {
9185
9121
  const $scope52_id = _scope_id();
9186
9122
  _html(`<button${_attr_class(btnSm)}>Add</button>${_el_resume($scope52_id, "a")}`);
9187
- _script($scope52_id, "w58");
9123
+ _script($scope52_id, "w57");
9188
9124
  writeScope($scope52_id, {});
9189
9125
  return 0;
9190
9126
  }
9191
9127
  }, $scope15_id, "f", 1, 1, 1, 0, 1);
9192
9128
  _html("</li>");
9193
- _subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope15_id, { Ch8: 2 })));
9129
+ _subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope15_id, { Ch2: 2 })));
9194
9130
  return 0;
9195
9131
  }
9196
9132
  }, $scope14_id, "i", 1, 1, 1, 0, 1);
9197
9133
  _for_of(skillHits || [], (h) => {
9198
9134
  const $scope17_id = _scope_id();
9199
9135
  const $for_content4__h_installs__closures = /* @__PURE__ */ new Set();
9200
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_b2")}><span${_attr_class(["_de", "_y"])}>${_text_resume($scope17_id, "d", h.name)}</span>`);
9136
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cg")}><span${_attr_class(["_de", "_y"])}>${_text_resume($scope17_id, "d", h.name)}</span>`);
9201
9137
  _if(() => {
9202
9138
  if (active.has(h.skillId)) {
9203
9139
  const $scope18_id = _scope_id();
9204
9140
  _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope18_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
9205
- _subscribe($active__closures, writeScope($scope18_id, { Ch8: 5 }));
9141
+ _subscribe($active__closures, writeScope($scope18_id, { Ch2: 5 }));
9206
9142
  return 0;
9207
9143
  } else {
9208
9144
  const $scope100_id = _scope_id();
9209
- _html(`<span${_attr_class("_b5")}${_attr("title", h.source)}>${_text_resume($scope100_id, "b", h.source)}</span>${_el_resume($scope100_id, "a")}`);
9145
+ _html(`<span${_attr_class("_cj")}${_attr("title", h.source)}>${_text_resume($scope100_id, "b", h.source)}</span>${_el_resume($scope100_id, "a")}`);
9210
9146
  writeScope($scope100_id, {});
9211
9147
  return 1;
9212
9148
  }
@@ -9232,7 +9168,7 @@ var settings_page_default = _template("w", (input$3) => {
9232
9168
  } else {
9233
9169
  const $scope63_id = _scope_id();
9234
9170
  _html(`<button${_attr_class(btnSm)}>Add</button>${_el_resume($scope63_id, "a")}`);
9235
- _script($scope63_id, "w59");
9171
+ _script($scope63_id, "w58");
9236
9172
  writeScope($scope63_id, {});
9237
9173
  return 1;
9238
9174
  }
@@ -9248,19 +9184,19 @@ var settings_page_default = _template("w", (input$3) => {
9248
9184
  m: h?.installs,
9249
9185
  n: h?.installed,
9250
9186
  q: $for_content4__h_installs__closures,
9251
- Ch8: 4
9187
+ Ch2: 4
9252
9188
  }));
9253
9189
  }, "skillId", $scope14_id, "j", 1, 1, 1, 0, 1);
9254
9190
  _if(() => {
9255
9191
  if (skillHits && !skillHits.length && !skillSearching && !looksLikeSource(skillQuery)) {
9256
9192
  const $scope53_id = _scope_id();
9257
- _html(`<li${_attr_class("_cT")}>No skills match "${_text_resume($scope53_id, "b", skillQuery, 2)}".</li>`);
9258
- _subscribe($skillQuery__closures, writeScope($scope53_id, { Chx: 2 }));
9193
+ _html(`<li${_attr_class("_cE")}>No skills match "${_text_resume($scope53_id, "b", skillQuery, 2)}".</li>`);
9194
+ _subscribe($skillQuery__closures, writeScope($scope53_id, { Chr: 2 }));
9259
9195
  return 0;
9260
9196
  }
9261
9197
  }, $scope14_id, "k", 1, 1, 1, 0, 1);
9262
9198
  _html(`</ul>${_el_resume($scope14_id, "g")}</div>${_el_resume($scope14_id, "a")}`);
9263
- _script($scope14_id, "w60");
9199
+ _script($scope14_id, "w59");
9264
9200
  writeScope($scope14_id, {});
9265
9201
  return 0;
9266
9202
  }
@@ -9269,22 +9205,22 @@ var settings_page_default = _template("w", (input$3) => {
9269
9205
  _if(() => {
9270
9206
  {
9271
9207
  const $scope19_id = _scope_id();
9272
- _html(`<div${_attr_class("_cE")}>`);
9208
+ _html(`<div${_attr_class("_cV")}>`);
9273
9209
  _if(() => {
9274
9210
  if (skills && !skills.agents.length) {
9275
9211
  const $scope103_id = _scope_id();
9276
- _html(`<p${_attr_class("_b7")}>No agent CLIs are installed, so a skill would have nowhere to go. Install one from Agents above.</p>`);
9212
+ _html(`<p${_attr_class("_cl")}>No agent CLIs are installed, so a skill would have nowhere to go. Install one from Agents above.</p>`);
9277
9213
  writeScope($scope103_id, {});
9278
9214
  return 0;
9279
9215
  } else if (skills && !skills.available) {
9280
9216
  const $scope20_id = _scope_id();
9281
- _html(`<p${_attr_class("_b7")}>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>`);
9282
- _script($scope20_id, "w61");
9283
- _subscribe($active__closures, writeScope($scope20_id, { Ch8: 6 }));
9217
+ _html(`<p${_attr_class("_cl")}>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>`);
9218
+ _script($scope20_id, "w60");
9219
+ _subscribe($active__closures, writeScope($scope20_id, { Ch2: 6 }));
9284
9220
  return 1;
9285
9221
  }
9286
9222
  }, $scope19_id, "b", 1, 1, 1, 0, 1);
9287
- _html(`<ul${_attr_class("_cV")}>`);
9223
+ _html(`<ul${_attr_class("_cG")}>`);
9288
9224
  _for_of(skills?.global || [], (s) => {
9289
9225
  const $scope21_id = _scope_id();
9290
9226
  const $for_content5__s_agents__closures = /* @__PURE__ */ new Set();
@@ -9294,21 +9230,21 @@ var settings_page_default = _template("w", (input$3) => {
9294
9230
  let $tags;
9295
9231
  let $actions;
9296
9232
  let $trailing;
9297
- if (skills && s.agents.length < skills.agents.length) $tags = attrTag({ content: _content_resume("w64", () => {
9233
+ if (skills && s.agents.length < skills.agents.length) $tags = attrTag({ content: _content_resume("w63", () => {
9298
9234
  _scope_reason();
9299
9235
  const $scope104_id = _scope_id();
9300
9236
  _html(`<span${_attr_class("_N")}${_attr("title", `Only installed for ${s.agents.map(agentLabel).join(", ")}`)}>${_text_resume($scope104_id, "b", s.agents.map(agentLabel).join(", "))} only</span>${_el_resume($scope104_id, "a")}`);
9301
9237
  _subscribe($for_content5__s_agents__closures, writeScope($scope104_id, { _: _scope_with_id($scope21_id) }));
9302
9238
  _resume_branch($scope104_id);
9303
9239
  }, $scope21_id) });
9304
- if (skills?.available && s.source) $actions = attrTag({ content: _content_resume("w65", () => {
9240
+ if (skills?.available && s.source) $actions = attrTag({ content: _content_resume("w64", () => {
9305
9241
  _scope_reason();
9306
9242
  const $scope64_id = _scope_id();
9307
9243
  _html(`<button${_attr_class(btnSm)}>Update</button>${_el_resume($scope64_id, "a")}`);
9308
- _script($scope64_id, "w62");
9244
+ _script($scope64_id, "w61");
9309
9245
  writeScope($scope64_id, { _: _scope_with_id($scope21_id) });
9310
9246
  }, $scope21_id) });
9311
- if (skills?.available) $trailing = attrTag({ content: _content_resume("w66", () => {
9247
+ if (skills?.available) $trailing = attrTag({ content: _content_resume("w65", () => {
9312
9248
  _scope_reason();
9313
9249
  const $scope54_id = _scope_id();
9314
9250
  _html(`<button${_attr_class([
@@ -9330,7 +9266,7 @@ var settings_page_default = _template("w", (input$3) => {
9330
9266
  return 1;
9331
9267
  }
9332
9268
  }, $scope54_id, "a", 1, 1, 1, "</button>");
9333
- _script($scope54_id, "w63");
9269
+ _script($scope54_id, "w62");
9334
9270
  _subscribe($for_content5__s_id__closures, _subscribe($for_content5__s_name__closures, _subscribe($confirmingSkill__closures, writeScope($scope54_id, { _: _scope_with_id($scope21_id) }))));
9335
9271
  _resume_branch($scope54_id);
9336
9272
  }, $scope21_id) });
@@ -9354,13 +9290,13 @@ var settings_page_default = _template("w", (input$3) => {
9354
9290
  n: $for_content5__s_name__closures,
9355
9291
  o: $for_content5__s_id__closures,
9356
9292
  a: _existing_scope($childScope11),
9357
- Ch8: 7
9293
+ Ch2: 7
9358
9294
  }))));
9359
9295
  }, "id", $scope19_id, "c", 1, 1, 1, "</ul>", 1);
9360
9296
  _if(() => {
9361
9297
  if (skills && !skills.global.length && skills.available && skills.agents.length) {
9362
9298
  const $scope108_id = _scope_id();
9363
- _html(`<p${_attr_class("_b7")}>No skills installed. Search below, or paste an owner/repo.</p>`);
9299
+ _html(`<p${_attr_class("_cl")}>No skills installed. Search below, or paste an owner/repo.</p>`);
9364
9300
  writeScope($scope108_id, {});
9365
9301
  return 0;
9366
9302
  }
@@ -9370,19 +9306,19 @@ var settings_page_default = _template("w", (input$3) => {
9370
9306
  return 0;
9371
9307
  }
9372
9308
  }, $scope0_id, "ab", 1, 1, 1, 0, 1);
9373
- _html(`</div><div${_attr_class(["_cx", "_cy"])}><div${_attr_class(["_cz", { ["_cA"]: machineOpen }])}><button${_attr_class("_cB")} aria-expanded=${machineOpen ? "true" : "false"}>`);
9309
+ _html(`</div><div${_attr_class(["_cO", "_cP"])}><div${_attr_class(["_cQ", { ["_cR"]: machineOpen }])}><button${_attr_class("_cS")} aria-expanded=${machineOpen ? "true" : "false"}>`);
9374
9310
  _set_serialize_reason(1);
9375
9311
  const $childScope12 = _peek_scope_id();
9376
9312
  icon_chevron_right_default({
9377
9313
  size: 12,
9378
- class: ["_cF", { ["_cG"]: machineOpen }]
9314
+ class: ["_cW", { ["_cX"]: machineOpen }]
9379
9315
  });
9380
- _html(`<span${_attr_class("_cC")}>Tools</span><span${_attr_class("_cD")}>${_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")}`);
9316
+ _html(`<span${_attr_class("_cT")}>Tools</span><span${_attr_class("_cU")}>${_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")}`);
9381
9317
  _if(() => {
9382
9318
  if (outdatedIds.length > 1) {
9383
9319
  const $scope22_id = _scope_id();
9384
9320
  _html(`<button${_attr_class(btnSm)}${_attr("disabled", active.size > 0)}>Update all</button>${_el_resume($scope22_id, "a")}`);
9385
- _script($scope22_id, "w67");
9321
+ _script($scope22_id, "w66");
9386
9322
  writeScope($scope22_id, {});
9387
9323
  return 0;
9388
9324
  }
@@ -9391,7 +9327,7 @@ var settings_page_default = _template("w", (input$3) => {
9391
9327
  if (missingInstallable.length > 1) {
9392
9328
  const $scope23_id = _scope_id();
9393
9329
  _html(`<button${_attr_class(btnSm)}${_attr("disabled", active.size > 0)}>Install missing</button>${_el_resume($scope23_id, "a")}`);
9394
- _script($scope23_id, "w68");
9330
+ _script($scope23_id, "w67");
9395
9331
  writeScope($scope23_id, {});
9396
9332
  return 0;
9397
9333
  }
@@ -9402,7 +9338,7 @@ var settings_page_default = _template("w", (input$3) => {
9402
9338
  _html(`<button${_attr_class(iconBtnRow)} title="Add tool" aria-label="Add tool">`);
9403
9339
  icon_plus_default({ size: 16 });
9404
9340
  _html(`</button>${_el_resume($scope56_id, "a")}`);
9405
- _script($scope56_id, "w69");
9341
+ _script($scope56_id, "w68");
9406
9342
  writeScope($scope56_id, {});
9407
9343
  return 0;
9408
9344
  }
@@ -9410,7 +9346,7 @@ var settings_page_default = _template("w", (input$3) => {
9410
9346
  _if(() => {
9411
9347
  if (setup && setup.mise.installed) {
9412
9348
  const $scope24_id = _scope_id();
9413
- _html(`<div${_attr_class(["_cL", { ["_cM"]: true }])}><label${_attr_class(["_1", "_cO"])}>`);
9349
+ _html(`<div${_attr_class(["_cw", { ["_cx"]: true }])}><label${_attr_class(["_1", "_cz"])}>`);
9414
9350
  _if(() => {
9415
9351
  if (searching) {
9416
9352
  const $scope109_id = _scope_id();
@@ -9430,14 +9366,14 @@ var settings_page_default = _template("w", (input$3) => {
9430
9366
  _html(`<input${_attr_input_value($scope24_id, "d", query, search)}${_attr_class([
9431
9367
  "_Z",
9432
9368
  "_3",
9433
- "_cP"
9434
- ])} 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, "_cQ"])} type=button${_attr("hidden", true)} title="Close search" aria-label="Close search">`);
9369
+ "_cA"
9370
+ ])} 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, "_cB"])} type=button${_attr("hidden", true)} title="Close search" aria-label="Close search">`);
9435
9371
  icon_xmark_default({ size: 14 });
9436
- _html(`</button>${_el_resume($scope24_id, "e")}<ul${_attr_class([pop$1, "_cS"])}${_attr("hidden", true)}>`);
9372
+ _html(`</button>${_el_resume($scope24_id, "e")}<ul${_attr_class([pop$1, "_cD"])}${_attr("hidden", true)}>`);
9437
9373
  _if(() => {
9438
9374
  if (searching && !hits?.length) {
9439
9375
  const $scope111_id = _scope_id();
9440
- _html(`<li${_attr_class("_cT")}>Searching the mise registry…</li>`);
9376
+ _html(`<li${_attr_class("_cE")}>Searching the mise registry…</li>`);
9441
9377
  writeScope($scope111_id, {});
9442
9378
  return 0;
9443
9379
  }
@@ -9445,23 +9381,23 @@ var settings_page_default = _template("w", (input$3) => {
9445
9381
  _if(() => {
9446
9382
  if (hits && !hits.length && !searching) {
9447
9383
  const $scope43_id = _scope_id();
9448
- _html(`<li${_attr_class("_cT")}>No tools match "${_text_resume($scope43_id, "b", query, 2)}".</li>`);
9384
+ _html(`<li${_attr_class("_cE")}>No tools match "${_text_resume($scope43_id, "b", query, 2)}".</li>`);
9449
9385
  _subscribe($query__closures, writeScope($scope43_id, {}));
9450
9386
  return 0;
9451
9387
  }
9452
9388
  }, $scope24_id, "i", 1, 1, 1, 0, 1);
9453
9389
  _for_of(hits || [], (h) => {
9454
9390
  const $scope25_id = _scope_id();
9455
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_b2")}><span${_attr_class(["_de", "_y"])}>${_text_resume($scope25_id, "d", h.name)}</span>`);
9391
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cg")}><span${_attr_class(["_de", "_y"])}>${_text_resume($scope25_id, "d", h.name)}</span>`);
9456
9392
  _if(() => {
9457
9393
  if (active.has(h.name)) {
9458
9394
  const $scope26_id = _scope_id();
9459
9395
  _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope26_id, "c", active.get(h.name) || "Starting…")}</span>`);
9460
- _subscribe($active__closures, writeScope($scope26_id, { Ch8: 9 }));
9396
+ _subscribe($active__closures, writeScope($scope26_id, { Ch2: 9 }));
9461
9397
  return 0;
9462
9398
  } else if (h.description) {
9463
9399
  const $scope112_id = _scope_id();
9464
- _html(`<span${_attr_class("_b5")}${_attr("title", h.description)}>${_text_resume($scope112_id, "b", h.description)}</span>${_el_resume($scope112_id, "a")}`);
9400
+ _html(`<span${_attr_class("_cj")}${_attr("title", h.description)}>${_text_resume($scope112_id, "b", h.description)}</span>${_el_resume($scope112_id, "a")}`);
9465
9401
  writeScope($scope112_id, {});
9466
9402
  return 1;
9467
9403
  }
@@ -9479,7 +9415,7 @@ var settings_page_default = _template("w", (input$3) => {
9479
9415
  } else {
9480
9416
  const $scope38_id = _scope_id();
9481
9417
  _html(`<button${_attr_class(btnSm)}>Install</button>${_el_resume($scope38_id, "a")}<button${_attr_class(btnSm)} title="Install a specific version">@…</button>${_el_resume($scope38_id, "b")}`);
9482
- _script($scope38_id, "w70");
9418
+ _script($scope38_id, "w69");
9483
9419
  writeScope($scope38_id, {});
9484
9420
  return 1;
9485
9421
  }
@@ -9493,11 +9429,11 @@ var settings_page_default = _template("w", (input$3) => {
9493
9429
  i: h?.name,
9494
9430
  k: h?.description,
9495
9431
  m: h?.installed,
9496
- Ch8: 8
9432
+ Ch2: 8
9497
9433
  }));
9498
9434
  }, "name", $scope24_id, "j", 1, 1, 1, 0, 1);
9499
9435
  _html(`</ul>${_el_resume($scope24_id, "g")}</div>${_el_resume($scope24_id, "a")}`);
9500
- _script($scope24_id, "w71");
9436
+ _script($scope24_id, "w70");
9501
9437
  writeScope($scope24_id, {});
9502
9438
  return 0;
9503
9439
  }
@@ -9506,13 +9442,13 @@ var settings_page_default = _template("w", (input$3) => {
9506
9442
  _if(() => {
9507
9443
  if (machineOpen) {
9508
9444
  const $scope5_id = _scope_id();
9509
- _html(`<div${_attr_class("_cE")}>`);
9445
+ _html(`<div${_attr_class("_cV")}>`);
9510
9446
  _if(() => {
9511
9447
  if (setup && !setup.mise.installed) {
9512
9448
  const $scope27_id = _scope_id();
9513
- _html(`<p${_attr_class("_b7")}>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>`);
9514
- _script($scope27_id, "w72");
9515
- _subscribe($active__closures, writeScope($scope27_id, { Ch8: 10 }));
9449
+ _html(`<p${_attr_class("_cl")}>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>`);
9450
+ _script($scope27_id, "w71");
9451
+ _subscribe($active__closures, writeScope($scope27_id, { Ch2: 10 }));
9516
9452
  return 0;
9517
9453
  }
9518
9454
  }, $scope5_id, "b", 1, 1, 1, 0, 1);
@@ -9541,8 +9477,8 @@ var settings_page_default = _template("w", (input$3) => {
9541
9477
  _html(`<button${_attr_class([btnSm, "_dh"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
9542
9478
  icon_arrow_up_default({ size: 12 });
9543
9479
  _html(` ${_text_resume($scope49_id, "c", self.latest, 2)}</button>${_el_resume($scope49_id, "a")}`);
9544
- _script($scope49_id, "w73");
9545
- _subscribe($self_latest__closures, writeScope($scope49_id, { Cho: 3 }));
9480
+ _script($scope49_id, "w72");
9481
+ _subscribe($self_latest__closures, writeScope($scope49_id, { Chi: 3 }));
9546
9482
  return 1;
9547
9483
  } else if (self.latest) {
9548
9484
  const $scope116_id = _scope_id();
@@ -9552,8 +9488,8 @@ var settings_page_default = _template("w", (input$3) => {
9552
9488
  }
9553
9489
  }, $scope48_id, "c", 1, 1, 1, 0, 1);
9554
9490
  _subscribe($self_version__closures, _subscribe($self_latest__closures, _subscribe($self_install__closures, writeScope($scope48_id, {
9555
- Cho: 2,
9556
- Chp: 1
9491
+ Chi: 2,
9492
+ Chj: 1
9557
9493
  }))));
9558
9494
  return 1;
9559
9495
  }
@@ -9587,7 +9523,7 @@ var settings_page_default = _template("w", (input$3) => {
9587
9523
  if (active.has(t.id)) {
9588
9524
  const $scope29_id = _scope_id();
9589
9525
  _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope29_id, "c", active.get(t.id) || "Starting…")}</span>`);
9590
- _subscribe($active__closures, writeScope($scope29_id, { Ch8: 12 }));
9526
+ _subscribe($active__closures, writeScope($scope29_id, { Ch2: 12 }));
9591
9527
  return 0;
9592
9528
  } else if (t.installed) {
9593
9529
  const $scope39_id = _scope_id();
@@ -9604,7 +9540,7 @@ var settings_page_default = _template("w", (input$3) => {
9604
9540
  }
9605
9541
  }, $scope40_id, "c", 1, 1, 1, 0, 1);
9606
9542
  _html(`</button>${_el_resume($scope40_id, "a")}`);
9607
- _script($scope40_id, "w74");
9543
+ _script($scope40_id, "w73");
9608
9544
  _subscribe($for_content7__t_version__closures, _subscribe($for_content7__t__closures, writeScope($scope40_id, {})));
9609
9545
  return 0;
9610
9546
  } else {
@@ -9620,13 +9556,13 @@ var settings_page_default = _template("w", (input$3) => {
9620
9556
  _html(`<button${_attr_class([btnSm, "_dh"])}${_attr("title", `Update to v${t.latest}`)}>`);
9621
9557
  icon_arrow_up_default({ size: 12 });
9622
9558
  _html(` ${_text_resume($scope59_id, "c", t.latest, 2)}</button>${_el_resume($scope59_id, "a")}`);
9623
- _script($scope59_id, "w75");
9559
+ _script($scope59_id, "w74");
9624
9560
  _subscribe($for_content7__t_latest__closures, writeScope($scope59_id, {}));
9625
9561
  return 0;
9626
9562
  } else if (t.newest) {
9627
9563
  const $scope60_id = _scope_id();
9628
9564
  _html(`<button${_attr_class(["_dg", "_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")}`);
9629
- _script($scope60_id, "w76");
9565
+ _script($scope60_id, "w75");
9630
9566
  _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, {
9631
9567
  Cw: 1,
9632
9568
  Cy: 1
@@ -9664,7 +9600,7 @@ var settings_page_default = _template("w", (input$3) => {
9664
9600
  if (!t.installed && t.installable) {
9665
9601
  const $scope61_id = _scope_id();
9666
9602
  _html(`<button${_attr_class(btnSm)}>Install</button>${_el_resume($scope61_id, "a")}`);
9667
- _script($scope61_id, "w77");
9603
+ _script($scope61_id, "w76");
9668
9604
  writeScope($scope61_id, {});
9669
9605
  return 0;
9670
9606
  } else if (t.installed && t.version && !t.required) {
@@ -9688,8 +9624,8 @@ var settings_page_default = _template("w", (input$3) => {
9688
9624
  return 1;
9689
9625
  }
9690
9626
  }, $scope35_id, "a", 1, 1, 1, "</button>");
9691
- _script($scope35_id, "w78");
9692
- _subscribe($for_content7__t_id__closures, _subscribe($for_content7__t_label__closures, _subscribe($confirmingRemove__closures, writeScope($scope35_id, { Chb: 2 }))));
9627
+ _script($scope35_id, "w77");
9628
+ _subscribe($for_content7__t_id__closures, _subscribe($for_content7__t_label__closures, _subscribe($confirmingRemove__closures, writeScope($scope35_id, { Ch5: 2 }))));
9693
9629
  return 1;
9694
9630
  }
9695
9631
  }, $scope34_id, "b", 1, 1, 1, 0, 1);
@@ -9718,7 +9654,7 @@ var settings_page_default = _template("w", (input$3) => {
9718
9654
  w: $for_content7__t_label__closures,
9719
9655
  a1: $for_content7__t_newest__closures,
9720
9656
  x: $for_content7__t_id__closures,
9721
- Ch8: 11
9657
+ Ch2: 11
9722
9658
  }));
9723
9659
  }, "id", $scope5_id, "e", 1, 1, 1, 0, 1);
9724
9660
  _html("</ul></div>");
@@ -9741,7 +9677,7 @@ var settings_page_default = _template("w", (input$3) => {
9741
9677
  label: "Dark"
9742
9678
  }
9743
9679
  ];
9744
- _html(`</div></div></section><section${_attr_class("_bW")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bX")}><h2${_attr("id", appearanceId)}${_attr_class("_b_")}>Appearance</h2></div><div${_attr_class(["_b1", "_dw"])}><div${_attr_class("_dI")}><img${_attr_class("_dJ")}${_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("_dK")}><span${_attr_class("_dL")}>${_text_resume($scope0_id, "ay", input$3.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_dM")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_dx")}><span${_attr_class("_dy")}>Name</span><input${_attr_input_value($scope0_id, "b2", input$3.instance.name, _resume(function(v) {
9680
+ _html(`</div></div></section><section${_attr_class("_ca")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_cb")}><h2${_attr("id", appearanceId)}${_attr_class("_co")}>Appearance</h2></div><div${_attr_class(["_cf", "_dw"])}><div${_attr_class("_dI")}><img${_attr_class("_dJ")}${_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("_dK")}><span${_attr_class("_dL")}>${_text_resume($scope0_id, "ay", input$3.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_dM")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_dx")}><span${_attr_class("_dy")}>Name</span><input${_attr_input_value($scope0_id, "b2", input$3.instance.name, _resume(function(v) {
9745
9681
  setInstance({ name: v });
9746
9682
  }, "w4", $scope0_id))}${_attr_class(["_Z", "_dz"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b2")}</label><div${_attr_class("_dx")}><span${_attr_class("_dy")}>Theme</span><span${_attr_class("_dB")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
9747
9683
  _for_of(themeOpts, (opt) => {
@@ -9762,7 +9698,7 @@ var settings_page_default = _template("w", (input$3) => {
9762
9698
  icon_moon_default({ size: 14 });
9763
9699
  }
9764
9700
  _html(`${_escape(opt.label)}</button>${_el_resume($scope50_id, "a")}`);
9765
- _script($scope50_id, "w79");
9701
+ _script($scope50_id, "w78");
9766
9702
  writeScope($scope50_id, {
9767
9703
  f: opt?.id,
9768
9704
  _: _scope_with_id($scope0_id)
@@ -9779,79 +9715,67 @@ var settings_page_default = _template("w", (input$3) => {
9779
9715
  });
9780
9716
  _html("</select>");
9781
9717
  });
9782
- _html(`${_el_resume($scope0_id, "b8")}</span></span></div><div${_attr_class("_dx")}><span${_attr_class("_dy")}>Code theme</span><span${_attr_class("_dB")}><span${_attr_class("_o")}>`);
9783
- _attr_select_value($scope0_id, "bd", codeTheme$1, _resume(function(v) {
9784
- codeTheme$1 = v;
9785
- applyCodeTheme(codeTheme$1);
9786
- }, "w6", $scope0_id), () => {
9787
- _html(`<select${_attr_class("_p")} aria-label="Code theme">`);
9788
- forOf(CODE_THEMES, (t) => {
9789
- _scope_id();
9790
- _html(`<option${_attr_option_value(t.id)}>${_escape(t.label)}</option>`);
9791
- });
9792
- _html("</select>");
9793
- });
9794
- _html(`${_el_resume($scope0_id, "bd")}</span></span></div><div${_attr_class("_dx")}><span${_attr_class("_dy")}>Accent</span><span${_attr_class("_dO")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
9718
+ _html(`${_el_resume($scope0_id, "b8")}</span></span></div><div${_attr_class("_dx")}><span${_attr_class("_dy")}>Accent</span><span${_attr_class("_dO")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
9795
9719
  "_dP",
9796
9720
  "_dS",
9797
9721
  { ["_dQ"]: !accent }
9798
9722
  ])} role=radio aria-checked=${!accent ? "true" : "false"} title="Default (blue)" aria-label="Default (blue)">`);
9799
9723
  _if(() => {
9800
9724
  if (!accent) {
9801
- const $scope130_id = _scope_id();
9725
+ const $scope129_id = _scope_id();
9802
9726
  icon_check_default({
9803
9727
  size: 12,
9804
9728
  class: "_dR"
9805
9729
  });
9806
- $si__input_instance_accent && writeScope($scope130_id, {});
9730
+ $si__input_instance_accent && writeScope($scope129_id, {});
9807
9731
  return 0;
9808
9732
  }
9809
- }, $scope0_id, "bh", $sg__input_instance_accent, 1, 1, "</button>", 1);
9733
+ }, $scope0_id, "bc", $sg__input_instance_accent, 1, 1, "</button>", 1);
9810
9734
  _for_of(ACCENT_PRESETS, (p) => {
9811
9735
  const $scope77_id = _scope_id();
9812
9736
  _html(`<button type=button${_attr_class(["_dP", { ["_dQ"]: 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)}>`);
9813
9737
  _if(() => {
9814
9738
  if (accent === p.value) {
9815
- const $scope131_id = _scope_id();
9739
+ const $scope130_id = _scope_id();
9816
9740
  icon_check_default({
9817
9741
  size: 12,
9818
9742
  class: "_dR"
9819
9743
  });
9820
- $si__input_instance_accent && writeScope($scope131_id, {});
9744
+ $si__input_instance_accent && writeScope($scope130_id, {});
9821
9745
  return 0;
9822
9746
  }
9823
9747
  }, $scope77_id, "a", $sg__input_instance_accent, 1, $sg__input_instance_accent, "</button>", 1);
9824
- _script($scope77_id, "w80");
9748
+ _script($scope77_id, "w79");
9825
9749
  writeScope($scope77_id, {
9826
9750
  d: p?.value,
9827
9751
  _: _scope_with_id($scope0_id)
9828
9752
  });
9829
- }, "value", $scope0_id, "bi", $sg__input_instance_accent, 0, 1, 0, 1);
9753
+ }, "value", $scope0_id, "bd", $sg__input_instance_accent, 0, 1, 0, 1);
9830
9754
  const customOn = !!accent && !ACCENT_PRESETS.some((p) => p.value === accent);
9831
9755
  _html(`<label${_attr_class([
9832
9756
  "_dP",
9833
9757
  "_dT",
9834
9758
  { ["_dQ"]: customOn }
9835
- ])}${customOn ? _attr_style(`--swatch:${accent}`) : ""}${customOn ? _attr("title", `Custom ${accent}`) : " title=\"Custom colour\""}><input${_attr_input_value($scope0_id, "bk", accent || "#3556d8", _resume(function(v) {
9759
+ ])}${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) {
9836
9760
  setInstance({ accent: v });
9837
- }, "w7", $scope0_id))}${_attr_class("_dU")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "bk")}`);
9761
+ }, "w6", $scope0_id))}${_attr_class("_dU")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "bf")}`);
9838
9762
  _if(() => {
9839
9763
  if (customOn) {
9840
- const $scope132_id = _scope_id();
9764
+ const $scope131_id = _scope_id();
9841
9765
  icon_check_default({
9842
9766
  size: 12,
9843
9767
  class: "_dR"
9844
9768
  });
9845
- $si__input_instance_accent && writeScope($scope132_id, {});
9769
+ $si__input_instance_accent && writeScope($scope131_id, {});
9846
9770
  return 0;
9847
9771
  } else {
9848
- const $scope133_id = _scope_id();
9772
+ const $scope132_id = _scope_id();
9849
9773
  icon_plus_default({ size: 12 });
9850
- $si__input_instance_accent && writeScope($scope133_id, {});
9774
+ $si__input_instance_accent && writeScope($scope132_id, {});
9851
9775
  return 1;
9852
9776
  }
9853
- }, $scope0_id, "bl", $sg__input_instance_accent, $sg__input_instance_accent, 1, 0, 1);
9854
- _html(`</label>${_el_resume($scope0_id, "bj", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_bW")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_bX")}><h2${_attr("id", backupId)}${_attr_class("_b_")}>Backup</h2></div><div${_attr_class(["_b1", "_cw"])}><div${_attr_class("_cx")}><div${_attr_class("_dV")}><div${_attr_class("_b2")}>`);
9777
+ }, $scope0_id, "bg", $sg__input_instance_accent, $sg__input_instance_accent, 1, 0, 1);
9778
+ _html(`</label>${_el_resume($scope0_id, "be", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_ca")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_cb")}><h2${_attr("id", backupId)}${_attr_class("_co")}>Backup</h2></div><div${_attr_class(["_cf", "_cN"])}><div${_attr_class("_cO")}><div${_attr_class("_dV")}><div${_attr_class("_cg")}>`);
9855
9779
  _if(() => {
9856
9780
  if (backupBusy === "preflight") {
9857
9781
  const $scope65_id = _scope_id();
@@ -9859,21 +9783,21 @@ var settings_page_default = _template("w", (input$3) => {
9859
9783
  writeScope($scope65_id, {});
9860
9784
  return 0;
9861
9785
  } else {
9862
- const $scope134_id = _scope_id();
9863
- _html(`<span${_attr_class("_b5")}>Save workspaces, settings, skills and tool pins to a file. Code stays on GitHub.</span>`);
9864
- writeScope($scope134_id, {});
9786
+ const $scope133_id = _scope_id();
9787
+ _html(`<span${_attr_class("_cj")}>Save workspaces, settings, skills and tool pins to a file. Code stays on GitHub.</span>`);
9788
+ writeScope($scope133_id, {});
9865
9789
  return 1;
9866
9790
  }
9867
- }, $scope0_id, "bs", 1, 1, 1, "</div>", 1);
9791
+ }, $scope0_id, "bn", 1, 1, 1, "</div>", 1);
9868
9792
  _if(() => {
9869
9793
  if (!backupBusy && !preflight) {
9870
9794
  const $scope75_id = _scope_id();
9871
9795
  _html(`<button${_attr_class(btnSm)}>Export…</button>${_el_resume($scope75_id, "a")}`);
9872
- _script($scope75_id, "w81");
9796
+ _script($scope75_id, "w80");
9873
9797
  writeScope($scope75_id, {});
9874
9798
  return 0;
9875
9799
  }
9876
- }, $scope0_id, "bt", 1, 1, 1, 0, 1);
9800
+ }, $scope0_id, "bo", 1, 1, 1, 0, 1);
9877
9801
  _html("</div>");
9878
9802
  _if(() => {
9879
9803
  if (preflight && !backupBusy) {
@@ -9885,9 +9809,9 @@ var settings_page_default = _template("w", (input$3) => {
9885
9809
  _html(` ${_text_resume($scope68_id, "a", preflight.unpushed, 2)} unpushed commit${_text_resume($scope68_id, "b", preflight.unpushed === 1 ? "" : "s", 2)}`);
9886
9810
  _if(() => {
9887
9811
  if (preflight.files) {
9888
- const $scope135_id = _scope_id();
9812
+ const $scope134_id = _scope_id();
9889
9813
  _html(",");
9890
- writeScope($scope135_id, {});
9814
+ writeScope($scope134_id, {});
9891
9815
  return 0;
9892
9816
  }
9893
9817
  }, $scope68_id, "c");
@@ -9897,86 +9821,86 @@ var settings_page_default = _template("w", (input$3) => {
9897
9821
  }, $scope67_id, "m");
9898
9822
  _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("_dZ")}>`);
9899
9823
  _for_of(preflight.workspaces, (w) => {
9900
- const $scope136_id = _scope_id();
9901
- const $for_content19__w_name__closures = /* @__PURE__ */ new Set();
9902
- _html(`<li${_attr_class("_d0")}><span${_attr_class("_b3")}>${_text_resume($scope136_id, "c", w.name)}</span><ul${_attr_class("_dZ")}>`);
9824
+ const $scope135_id = _scope_id();
9825
+ const $for_content18__w_name__closures = /* @__PURE__ */ new Set();
9826
+ _html(`<li${_attr_class("_d0")}><span${_attr_class("_ch")}>${_text_resume($scope135_id, "c", w.name)}</span><ul${_attr_class("_dZ")}>`);
9903
9827
  _for_of(w.repos, (r) => {
9904
- const $scope137_id = _scope_id();
9905
- const $for_content20__r_more__closures = /* @__PURE__ */ new Set();
9906
- _html(`<li${_attr_class("_d1")}><span${_attr_class("_d2")}><span${_attr_class("_y")}>${_text_resume($scope137_id, "d", r.worktree)}/</span>`);
9828
+ const $scope136_id = _scope_id();
9829
+ const $for_content19__r_more__closures = /* @__PURE__ */ new Set();
9830
+ _html(`<li${_attr_class("_d1")}><span${_attr_class("_d2")}><span${_attr_class("_y")}>${_text_resume($scope136_id, "d", r.worktree)}/</span>`);
9907
9831
  _for_of(r.unpushed, (b) => {
9908
- const $scope138_id = _scope_id();
9909
- _html(`<span${_attr_class(["_N", tone.warn])}${_attr("title", `${b.branch}: ${b.count} commit${b.count === 1 ? "" : "s"} origin does not have`)}>${_text_resume($scope138_id, "b", b.count)} unpushed `);
9832
+ const $scope137_id = _scope_id();
9833
+ _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 `);
9910
9834
  _if(() => {
9911
9835
  if (b.branch !== w.name) {
9912
- const $scope141_id = _scope_id();
9913
- _html(`<span${_attr_class("_y")}>${_text_resume($scope141_id, "b", b.branch)}</span>`);
9914
- writeScope($scope141_id, {});
9836
+ const $scope140_id = _scope_id();
9837
+ _html(`<span${_attr_class("_y")}>${_text_resume($scope140_id, "b", b.branch)}</span>`);
9838
+ writeScope($scope140_id, {});
9915
9839
  return 0;
9916
9840
  }
9917
- }, $scope138_id, "c", 1, 1, 1, 0, 1);
9918
- _html(`</span>${_el_resume($scope138_id, "a")}`);
9919
- _subscribe($for_content19__w_name__closures, writeScope($scope138_id, { f: b?.branch }));
9920
- }, "branch", $scope137_id, "e", 1, 1, 1, 0, 1);
9841
+ }, $scope137_id, "c", 1, 1, 1, 0, 1);
9842
+ _html(`</span>${_el_resume($scope137_id, "a")}`);
9843
+ _subscribe($for_content18__w_name__closures, writeScope($scope137_id, { f: b?.branch }));
9844
+ }, "branch", $scope136_id, "e", 1, 1, 1, 0, 1);
9921
9845
  _html("</span>");
9922
9846
  _if(() => {
9923
9847
  if (r.modified.length || r.untracked.length || r.ignored.length) {
9924
- const $scope139_id = _scope_id();
9848
+ const $scope138_id = _scope_id();
9925
9849
  _html(`<ul${_attr_class("_d3")}>`);
9926
9850
  _for_of(r.modified, (f) => {
9927
- const $scope142_id = _scope_id();
9851
+ const $scope141_id = _scope_id();
9928
9852
  _html(`<li${_attr_class("_d4")}><span${_attr_class([
9929
9853
  "_N",
9930
9854
  "_P",
9931
9855
  tone.warn
9932
- ])} title="Modified, not committed">M</span><span${_attr_class(["_y", "_bb"])}>${_text_resume($scope142_id, "d", f)}</span></li>`);
9933
- writeScope($scope142_id, {});
9934
- }, (f) => f, $scope139_id, "b", 1, 1, 1, 0, 1);
9856
+ ])} title="Modified, not committed">M</span><span${_attr_class(["_y", "_bb"])}>${_text_resume($scope141_id, "d", f)}</span></li>`);
9857
+ writeScope($scope141_id, {});
9858
+ }, (f) => f, $scope138_id, "b", 1, 1, 1, 0, 1);
9935
9859
  _for_of(r.untracked, (f) => {
9860
+ const $scope142_id = _scope_id();
9861
+ _html(`<li${_attr_class("_d4")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_bb"])}>${_text_resume($scope142_id, "d", f)}</span></li>`);
9862
+ writeScope($scope142_id, {});
9863
+ }, (f) => f, $scope138_id, "c", 1, 1, 1, 0, 1);
9864
+ _for_of(r.ignored, (f) => {
9936
9865
  const $scope143_id = _scope_id();
9937
- _html(`<li${_attr_class("_d4")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_bb"])}>${_text_resume($scope143_id, "d", f)}</span></li>`);
9866
+ _html(`<li${_attr_class("_d4")}><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>`);
9938
9867
  writeScope($scope143_id, {});
9939
- }, (f) => f, $scope139_id, "c", 1, 1, 1, 0, 1);
9940
- _for_of(r.ignored, (f) => {
9941
- const $scope144_id = _scope_id();
9942
- _html(`<li${_attr_class("_d4")}><span${_attr_class(["_N", "_P"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_y", "_bb"])}>${_text_resume($scope144_id, "d", f)}</span></li>`);
9943
- writeScope($scope144_id, {});
9944
- }, (f) => f, $scope139_id, "d", 1, 1, 1, 0, 1);
9868
+ }, (f) => f, $scope138_id, "d", 1, 1, 1, 0, 1);
9945
9869
  _if(() => {
9946
9870
  if (r.more) {
9947
- const $scope140_id = _scope_id();
9948
- _html(`<li${_attr_class(["_d4", "_x"])}>+${_text_resume($scope140_id, "b", r.more, 2)} more</li>`);
9949
- _subscribe($for_content20__r_more__closures, writeScope($scope140_id, {}));
9871
+ const $scope139_id = _scope_id();
9872
+ _html(`<li${_attr_class(["_d4", "_x"])}>+${_text_resume($scope139_id, "b", r.more, 2)} more</li>`);
9873
+ _subscribe($for_content19__r_more__closures, writeScope($scope139_id, {}));
9950
9874
  return 0;
9951
9875
  }
9952
- }, $scope139_id, "e", 1, 1, 1, 0, 1);
9876
+ }, $scope138_id, "e", 1, 1, 1, 0, 1);
9953
9877
  _html("</ul>");
9954
- writeScope($scope139_id, {});
9878
+ writeScope($scope138_id, {});
9955
9879
  return 0;
9956
9880
  }
9957
- }, $scope137_id, "f", 1, 1, 1, 0, 1);
9881
+ }, $scope136_id, "f", 1, 1, 1, 0, 1);
9958
9882
  _html("</li>");
9959
- writeScope($scope137_id, {
9883
+ writeScope($scope136_id, {
9960
9884
  k: r?.modified,
9961
9885
  m: r?.untracked,
9962
9886
  o: r?.ignored,
9963
9887
  r: r?.more,
9964
- v: $for_content20__r_more__closures
9888
+ v: $for_content19__r_more__closures
9965
9889
  });
9966
- }, "worktree", $scope136_id, "d", 1, 1, 1, "</ul>", 1);
9890
+ }, "worktree", $scope135_id, "d", 1, 1, 1, "</ul>", 1);
9967
9891
  _html("</li>");
9968
- writeScope($scope136_id, {
9892
+ writeScope($scope135_id, {
9969
9893
  g: w?.name,
9970
- i: $for_content19__w_name__closures
9894
+ i: $for_content18__w_name__closures
9971
9895
  });
9972
9896
  }, "id", $scope67_id, "o", 1, 1, 1, "</ul>", 1);
9973
9897
  _html(`<div${_attr_class("_d5")}><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>`);
9974
- _script($scope67_id, "w82");
9898
+ _script($scope67_id, "w81");
9975
9899
  writeScope($scope67_id, {});
9976
9900
  return 0;
9977
9901
  }
9978
- }, $scope0_id, "bu", 1, 1, 1, 0, 1);
9979
- _html(`</div><div${_attr_class("_cx")}><div${_attr_class("_dV")}><div${_attr_class("_b2")}>`);
9902
+ }, $scope0_id, "bp", 1, 1, 1, 0, 1);
9903
+ _html(`</div><div${_attr_class("_cO")}><div${_attr_class("_dV")}><div${_attr_class("_cg")}>`);
9980
9904
  _if(() => {
9981
9905
  if (backupBusy === "restore") {
9982
9906
  const $scope66_id = _scope_id();
@@ -9985,25 +9909,25 @@ var settings_page_default = _template("w", (input$3) => {
9985
9909
  return 0;
9986
9910
  } else if (restoreDone) {
9987
9911
  const $scope74_id = _scope_id();
9988
- _html(`<span${_attr_class("_b5")}>${_text_resume($scope74_id, "b", restoreDone)}</span>`);
9912
+ _html(`<span${_attr_class("_cj")}>${_text_resume($scope74_id, "b", restoreDone)}</span>`);
9989
9913
  writeScope($scope74_id, {});
9990
9914
  return 1;
9991
9915
  } else {
9992
- const $scope145_id = _scope_id();
9993
- _html(`<span${_attr_class("_b5")}>Load a backup file. Repos clone in the background.</span>`);
9994
- writeScope($scope145_id, {});
9916
+ const $scope144_id = _scope_id();
9917
+ _html(`<span${_attr_class("_cj")}>Load a backup file. Repos clone in the background.</span>`);
9918
+ writeScope($scope144_id, {});
9995
9919
  return 2;
9996
9920
  }
9997
- }, $scope0_id, "bx", 1, 1, 1, "</div>", 1);
9921
+ }, $scope0_id, "bs", 1, 1, 1, "</div>", 1);
9998
9922
  _if(() => {
9999
9923
  if (!restorePreview && backupBusy !== "restore") {
10000
9924
  const $scope76_id = _scope_id();
10001
9925
  _html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_dW")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope76_id, "b")}</label>`);
10002
- _script($scope76_id, "w83");
9926
+ _script($scope76_id, "w82");
10003
9927
  writeScope($scope76_id, {});
10004
9928
  return 0;
10005
9929
  }
10006
- }, $scope0_id, "by", 1, 1, 1, 0, 1);
9930
+ }, $scope0_id, "bt", 1, 1, 1, 0, 1);
10007
9931
  _html("</div>");
10008
9932
  _if(() => {
10009
9933
  if (restorePreview && backupBusy !== "restore") {
@@ -10016,30 +9940,30 @@ var settings_page_default = _template("w", (input$3) => {
10016
9940
  _html(`<ul${_attr_class(checkList)}>`);
10017
9941
  _for_of(preview.workspaces, (w) => {
10018
9942
  const $scope71_id = _scope_id();
10019
- _html(`<li><label${_attr_class(["_d7", { ["_d9"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope71_id, "b", restoreWs.has(w.id))}${_attr_class("_d8")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope71_id, "b")}<span${_attr_class("_b2")}><span${_attr_class("_b4")}><span${_attr_class("_b3")}>${_text_resume($scope71_id, "f", w.name)}</span>`);
9943
+ _html(`<li><label${_attr_class(["_d7", { ["_d9"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope71_id, "b", restoreWs.has(w.id))}${_attr_class("_d8")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope71_id, "b")}<span${_attr_class("_cg")}><span${_attr_class("_ci")}><span${_attr_class("_ch")}>${_text_resume($scope71_id, "f", w.name)}</span>`);
10020
9944
  _if(() => {
10021
9945
  if (w.status === "archived") {
10022
- const $scope149_id = _scope_id();
9946
+ const $scope148_id = _scope_id();
10023
9947
  _html(`<span${_attr_class(["_N", "_P"])}>archived</span>`);
10024
- writeScope($scope149_id, {});
9948
+ writeScope($scope148_id, {});
10025
9949
  return 0;
10026
9950
  }
10027
9951
  }, $scope71_id, "g", 1, 1, 1, 0, 1);
10028
9952
  _if(() => {
10029
9953
  if (w.exists) {
10030
- const $scope150_id = _scope_id();
9954
+ const $scope149_id = _scope_id();
10031
9955
  _html(`<span${_attr_class("_N")}>already here</span>`);
10032
- writeScope($scope150_id, {});
9956
+ writeScope($scope149_id, {});
10033
9957
  return 0;
10034
9958
  } else if (w.unknownHost) {
10035
- const $scope148_id = _scope_id();
10036
- _html(`<span${_attr_class(["_N", tone.warn])} title="Add this GitHub host above first">unknown host ${_text_resume($scope148_id, "b", w.unknownHost, 2)}</span>`);
10037
- writeScope($scope148_id, {});
9959
+ const $scope147_id = _scope_id();
9960
+ _html(`<span${_attr_class(["_N", tone.warn])} title="Add this GitHub host above first">unknown host ${_text_resume($scope147_id, "b", w.unknownHost, 2)}</span>`);
9961
+ writeScope($scope147_id, {});
10038
9962
  return 1;
10039
9963
  }
10040
9964
  }, $scope71_id, "h", 1, 1, 1, 0, 1);
10041
- _html(`</span><span${_attr_class("_b5")}>${_text_resume($scope71_id, "j", w.repos.join(", ") || "no repos")}</span></span></label>${_el_resume($scope71_id, "a")}</li>`);
10042
- _script($scope71_id, "w84");
9965
+ _html(`</span><span${_attr_class("_cj")}>${_text_resume($scope71_id, "j", w.repos.join(", ") || "no repos")}</span></span></label>${_el_resume($scope71_id, "a")}</li>`);
9966
+ _script($scope71_id, "w83");
10043
9967
  _subscribe($restoreWs__closures, writeScope($scope71_id, {
10044
9968
  n: w?.unknownHost,
10045
9969
  p: w?.id
@@ -10048,9 +9972,9 @@ var settings_page_default = _template("w", (input$3) => {
10048
9972
  _subscribe($preview_workspaces__closures, writeScope($scope70_id, {}));
10049
9973
  return 0;
10050
9974
  } else {
10051
- const $scope147_id = _scope_id();
10052
- _html(`<p${_attr_class("_b7")}>No workspaces in this file.</p>`);
10053
- writeScope($scope147_id, {});
9975
+ const $scope146_id = _scope_id();
9976
+ _html(`<p${_attr_class("_cl")}>No workspaces in this file.</p>`);
9977
+ writeScope($scope146_id, {});
10054
9978
  return 1;
10055
9979
  }
10056
9980
  }, $scope69_id, "f", 1, 1, 1, 0, 1);
@@ -10089,38 +10013,38 @@ var settings_page_default = _template("w", (input$3) => {
10089
10013
  _if(() => {
10090
10014
  if (p.total) {
10091
10015
  const $scope73_id = _scope_id();
10092
- _html(`<li><label${_attr_class(["_d7", { ["_d9"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope73_id, "b", restoreParts[p.key])}${_attr_class("_d8")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope73_id, "b")}<span${_attr_class("_b2")}><span${_attr_class("_b3")}>${_text_resume($scope73_id, "e", p.label)}</span><span${_attr_class("_b5")}>`);
10016
+ _html(`<li><label${_attr_class(["_d7", { ["_d9"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope73_id, "b", restoreParts[p.key])}${_attr_class("_d8")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope73_id, "b")}<span${_attr_class("_cg")}><span${_attr_class("_ch")}>${_text_resume($scope73_id, "e", p.label)}</span><span${_attr_class("_cj")}>`);
10093
10017
  _if(() => {
10094
10018
  if (p.key === "settings") {
10095
- const $scope146_id = _scope_id();
10096
- _html(`${_text_resume($scope146_id, "a", preview.settings)} value${_text_resume($scope146_id, "b", preview.settings === 1 ? "" : "s", 2)}`);
10019
+ const $scope145_id = _scope_id();
10020
+ _html(`${_text_resume($scope145_id, "a", preview.settings)} value${_text_resume($scope145_id, "b", preview.settings === 1 ? "" : "s", 2)}`);
10097
10021
  _if(() => {
10098
10022
  if (p.missing.length) {
10099
- const $scope151_id = _scope_id();
10100
- _html(`, add host${_text_resume($scope151_id, "a", p.missing.length === 1 ? "" : "s", 2)} ${_text_resume($scope151_id, "b", p.missing.join(", "), 2)}`);
10101
- _subscribe($for_content10__p_missing_length__closures, _subscribe($for_content10__p_missing__closures, writeScope($scope151_id, { Ck: 1 })));
10023
+ const $scope150_id = _scope_id();
10024
+ _html(`, add host${_text_resume($scope150_id, "a", p.missing.length === 1 ? "" : "s", 2)} ${_text_resume($scope150_id, "b", p.missing.join(", "), 2)}`);
10025
+ _subscribe($for_content10__p_missing_length__closures, _subscribe($for_content10__p_missing__closures, writeScope($scope150_id, { Ck: 1 })));
10102
10026
  return 0;
10103
10027
  }
10104
- }, $scope146_id, "c");
10105
- _subscribe($for_content10__p_missing_length__closures, _subscribe($preview_settings__closures, writeScope($scope146_id, {})));
10028
+ }, $scope145_id, "c");
10029
+ _subscribe($for_content10__p_missing_length__closures, _subscribe($preview_settings__closures, writeScope($scope145_id, {})));
10106
10030
  return 0;
10107
10031
  } else if (p.missing.length) {
10108
- const $scope152_id = _scope_id();
10109
- _html(`${_text_resume($scope152_id, "a", p.missing.length)} to install: ${_text_resume($scope152_id, "b", p.missing.join(", "), 2)}`);
10110
- _subscribe($for_content10__p_missing_length__closures, _subscribe($for_content10__p_missing__closures, writeScope($scope152_id, {
10032
+ const $scope151_id = _scope_id();
10033
+ _html(`${_text_resume($scope151_id, "a", p.missing.length)} to install: ${_text_resume($scope151_id, "b", p.missing.join(", "), 2)}`);
10034
+ _subscribe($for_content10__p_missing_length__closures, _subscribe($for_content10__p_missing__closures, writeScope($scope151_id, {
10111
10035
  Cj: 1,
10112
10036
  Ck: 2
10113
10037
  })));
10114
10038
  return 1;
10115
10039
  } else {
10116
- const $scope153_id = _scope_id();
10117
- _html(`all ${_text_resume($scope153_id, "a", p.total, 2)} already installed`);
10118
- _subscribe($for_content10__p_total__closures, writeScope($scope153_id, {}));
10040
+ const $scope152_id = _scope_id();
10041
+ _html(`all ${_text_resume($scope152_id, "a", p.total, 2)} already installed`);
10042
+ _subscribe($for_content10__p_total__closures, writeScope($scope152_id, {}));
10119
10043
  return 2;
10120
10044
  }
10121
10045
  }, $scope73_id, "f", 1, 1, 1, "</span>");
10122
10046
  _html(`</span></label>${_el_resume($scope73_id, "a")}</li>`);
10123
- _script($scope73_id, "w85");
10047
+ _script($scope73_id, "w84");
10124
10048
  _subscribe($restoreParts__closures, writeScope($scope73_id, {}));
10125
10049
  return 0;
10126
10050
  }
@@ -10137,11 +10061,11 @@ var settings_page_default = _template("w", (input$3) => {
10137
10061
  });
10138
10062
  }, "key", $scope69_id, "h");
10139
10063
  _html(`</ul><div${_attr_class("_d5")}><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>`);
10140
- _script($scope69_id, "w86");
10064
+ _script($scope69_id, "w85");
10141
10065
  writeScope($scope69_id, {});
10142
10066
  return 0;
10143
10067
  }
10144
- }, $scope0_id, "bz", 1, 1, 1, 0, 1);
10068
+ }, $scope0_id, "bu", 1, 1, 1, 0, 1);
10145
10069
  _html("</div></div></section></div></div></div>");
10146
10070
  _if(() => {
10147
10071
  if (versionPick) {
@@ -10156,169 +10080,168 @@ var settings_page_default = _template("w", (input$3) => {
10156
10080
  open: versionPick != null,
10157
10081
  openChange: _resume(function(o) {
10158
10082
  if (!o) versionPick = null;
10159
- }, "w42", $scope36_id),
10083
+ }, "w41", $scope36_id),
10160
10084
  onSubmit: _resume(function(v) {
10161
10085
  const pick = versionPick;
10162
10086
  versionPick = null;
10163
10087
  run(pick.id, "install", v);
10164
- }, "w43", $scope36_id)
10088
+ }, "w42", $scope36_id)
10165
10089
  });
10166
10090
  writeScope($scope36_id, { a: _existing_scope($childScope13) });
10167
10091
  return 0;
10168
10092
  }
10169
- }, $scope0_id, "c0", 1, 1, 1, 0, 1);
10093
+ }, $scope0_id, "bv", 1, 1, 1, 0, 1);
10094
+ _script($scope0_id, "w86");
10170
10095
  _script($scope0_id, "w87");
10171
- _script($scope0_id, "w88");
10172
10096
  writeScope($scope0_id, {
10173
- c4: input$3.setupChange,
10174
- c5: input$3.agentsChange,
10175
- c6: input$3.preferred,
10176
- c7: input$3.preferredChange,
10177
- c9: input$3.instance,
10178
- ca: input$3.instanceChange,
10179
- cc: input$3.onExit,
10180
- cf: $si__input_instance__OR__input_instanceChange && input$3.instance?.name,
10181
- cg: setup,
10182
- ch: setup?.agents,
10183
- cj: setup?.missing,
10184
- cl: ignoredSso,
10185
- cm: readIgnoredSso,
10186
- cn: usage,
10187
- co: usage?.agents,
10188
- cp: usage?.error,
10189
- cq: error,
10190
- cs: active,
10191
- ct: active?.size,
10192
- cu: authCodes,
10193
- cv: confirmingRemove,
10194
- cw: versionPick,
10195
- cx: versionPick?.label,
10196
- cy: versionPick?.newest,
10197
- cz: versionPick?.current,
10198
- d0: hostInput,
10199
- d1: addingHost,
10200
- d3: hostBusy,
10201
- d4: query,
10202
- d5: hits,
10203
- d6: hits?.length,
10204
- d7: self,
10205
- d8: self?.install,
10206
- d9: self?.latest,
10207
- da: self?.version,
10208
- db: selfUpdating,
10209
- de: codeTheme$1,
10210
- df: searching,
10211
- dh: searchTimer.id,
10212
- dj: skills,
10213
- dk: skills?.global,
10214
- dl: skills?.global?.length,
10215
- dm: skills?.available,
10216
- do: skills?.agents?.length,
10217
- dp: skillQuery,
10218
- dq: skillHits,
10219
- dr: skillHits?.length,
10220
- ds: skillSearching,
10221
- dt: confirmingSkill,
10222
- dv: skillTimer.id,
10223
- dx: machineOpen,
10224
- dy: skillsOpen,
10225
- dz: addingSkill,
10226
- e1: addingTool,
10227
- e3: setThemeMode,
10228
- e7: applySetup,
10229
- e9: syncAgents,
10230
- ea: retryWhenBack,
10231
- eb: loadSetup,
10232
- ec: loadSelf,
10233
- ee: updateSelf,
10234
- ef: loadUsage,
10235
- eh: refresh,
10236
- ei: refreshUsage,
10237
- ej: setActive,
10238
- el: run,
10239
- en: skillSeq.applied,
10240
- eo: skillSeq.issued,
10241
- ep: applySkills,
10242
- es: loadSkills,
10243
- et: runSkill,
10244
- eu: backupBusy,
10245
- ev: backupLine,
10246
- ew: preflight,
10247
- ez: preflight?.contents?.workspaces,
10248
- f0: preflight?.contents?.archived,
10249
- f1: preflight?.contents?.tools,
10250
- f2: preflight?.contents?.skills,
10251
- f3: preflight?.contents?.agents,
10252
- f4: preflight?.unpushed,
10253
- f5: preflight?.files,
10254
- f6: preflight?.workspaces,
10255
- f7: restorePreview,
10256
- f9: restoreWs,
10257
- fa: restoreWs?.size,
10258
- fb: restoreParts,
10259
- fd: restoreDone,
10260
- ff: downloadManifest,
10261
- fh: startExport,
10262
- fi: pickRestoreFile,
10263
- fj: toggleRestoreWs,
10264
- fk: runRestore,
10265
- fl: searchSkills,
10266
- fm: changeHost,
10267
- fn: runEach,
10268
- fo: setPreferred,
10269
- fr: saveTimer.id,
10270
- ft: setInstance,
10271
- fv: setEnabled,
10272
- fw: search,
10273
- fx: outdated,
10274
- fy: aliasPin,
10275
- fz: tools,
10276
- g1: missingInstallable,
10277
- g4: outdatedIds,
10278
- g6: families,
10279
- g8: families.length,
10280
- ga: instanceIds,
10281
- gc: accountsFor,
10282
- gd: strayAccountsFor,
10283
- gl: $si__input_instance__OR__input_instanceChange && accent,
10284
- gr: restorePreview?.preview?.from?.host,
10285
- gs: restorePreview?.preview?.from?.exportedAt,
10286
- gt: restorePreview?.preview?.from?.version,
10287
- gu: restorePreview?.preview?.workspaces,
10288
- gv: restorePreview?.preview?.workspaces?.length,
10289
- gw: restorePreview?.preview?.tools,
10290
- gx: restorePreview?.preview?.skills,
10291
- gy: restorePreview?.preview?.agents,
10292
- gz: restorePreview?.preview?.hosts,
10293
- h0: restorePreview?.preview?.settings,
10294
- h3: $setup_missing__closures,
10295
- h7: $refreshing__closures,
10097
+ bz: input$3.setupChange,
10098
+ c0: input$3.agentsChange,
10099
+ c1: input$3.preferred,
10100
+ c2: input$3.preferredChange,
10101
+ c4: input$3.instance,
10102
+ c5: input$3.instanceChange,
10103
+ c7: input$3.onExit,
10104
+ ca: $si__input_instance__OR__input_instanceChange && input$3.instance?.name,
10105
+ cb: setup,
10106
+ cc: setup?.agents,
10107
+ ce: setup?.missing,
10108
+ cg: ignoredSso,
10109
+ ch: readIgnoredSso,
10110
+ ci: usage,
10111
+ cj: usage?.agents,
10112
+ ck: usage?.error,
10113
+ cl: error,
10114
+ cn: active,
10115
+ co: active?.size,
10116
+ cp: authCodes,
10117
+ cq: confirmingRemove,
10118
+ cr: versionPick,
10119
+ cs: versionPick?.label,
10120
+ ct: versionPick?.newest,
10121
+ cu: versionPick?.current,
10122
+ cv: hostInput,
10123
+ cw: addingHost,
10124
+ cy: hostBusy,
10125
+ cz: query,
10126
+ d0: hits,
10127
+ d1: hits?.length,
10128
+ d2: self,
10129
+ d3: self?.install,
10130
+ d4: self?.latest,
10131
+ d5: self?.version,
10132
+ d6: selfUpdating,
10133
+ d9: searching,
10134
+ db: searchTimer.id,
10135
+ dd: skills,
10136
+ de: skills?.global,
10137
+ df: skills?.global?.length,
10138
+ dg: skills?.available,
10139
+ di: skills?.agents?.length,
10140
+ dj: skillQuery,
10141
+ dk: skillHits,
10142
+ dl: skillHits?.length,
10143
+ dm: skillSearching,
10144
+ dn: confirmingSkill,
10145
+ dp: skillTimer.id,
10146
+ dr: machineOpen,
10147
+ ds: skillsOpen,
10148
+ dt: addingSkill,
10149
+ dv: addingTool,
10150
+ dx: setThemeMode,
10151
+ e1: applySetup,
10152
+ e3: syncAgents,
10153
+ e4: retryWhenBack,
10154
+ e5: loadSetup,
10155
+ e6: loadSelf,
10156
+ e8: updateSelf,
10157
+ e9: loadUsage,
10158
+ eb: refresh,
10159
+ ec: refreshUsage,
10160
+ ed: setActive,
10161
+ ef: run,
10162
+ eh: skillSeq.applied,
10163
+ ei: skillSeq.issued,
10164
+ ej: applySkills,
10165
+ em: loadSkills,
10166
+ en: runSkill,
10167
+ eo: backupBusy,
10168
+ ep: backupLine,
10169
+ eq: preflight,
10170
+ et: preflight?.contents?.workspaces,
10171
+ eu: preflight?.contents?.archived,
10172
+ ev: preflight?.contents?.tools,
10173
+ ew: preflight?.contents?.skills,
10174
+ ex: preflight?.contents?.agents,
10175
+ ey: preflight?.unpushed,
10176
+ ez: preflight?.files,
10177
+ f0: preflight?.workspaces,
10178
+ f1: restorePreview,
10179
+ f3: restoreWs,
10180
+ f4: restoreWs?.size,
10181
+ f5: restoreParts,
10182
+ f7: restoreDone,
10183
+ f9: downloadManifest,
10184
+ fb: startExport,
10185
+ fc: pickRestoreFile,
10186
+ fd: toggleRestoreWs,
10187
+ fe: runRestore,
10188
+ ff: searchSkills,
10189
+ fg: changeHost,
10190
+ fh: runEach,
10191
+ fi: setPreferred,
10192
+ fl: saveTimer.id,
10193
+ fn: setInstance,
10194
+ fp: setEnabled,
10195
+ fq: search,
10196
+ fr: outdated,
10197
+ fs: aliasPin,
10198
+ ft: tools,
10199
+ fv: missingInstallable,
10200
+ fy: outdatedIds,
10201
+ g0: families,
10202
+ g2: families.length,
10203
+ g4: instanceIds,
10204
+ g6: accountsFor,
10205
+ g7: strayAccountsFor,
10206
+ gf: $si__input_instance__OR__input_instanceChange && accent,
10207
+ gl: restorePreview?.preview?.from?.host,
10208
+ gm: restorePreview?.preview?.from?.exportedAt,
10209
+ gn: restorePreview?.preview?.from?.version,
10210
+ go: restorePreview?.preview?.workspaces,
10211
+ gp: restorePreview?.preview?.workspaces?.length,
10212
+ gq: restorePreview?.preview?.tools,
10213
+ gr: restorePreview?.preview?.skills,
10214
+ gs: restorePreview?.preview?.agents,
10215
+ gt: restorePreview?.preview?.hosts,
10216
+ gu: restorePreview?.preview?.settings,
10217
+ gx: $setup_missing__closures,
10218
+ h1: $refreshing__closures,
10296
10219
  d: _existing_scope($childScope2),
10297
- h6: $error__closures,
10298
- ho: $self_latest__closures,
10299
- hp: $self_version__closures,
10300
- h8: $active__closures,
10301
- h1: $si__input_preferred && $input_preferred__closures,
10302
- io: $accountsFor2__closures,
10303
- ha: $authCodes__closures,
10304
- hb: $confirmingRemove__closures,
10305
- i4: $si__input_setupChange && $refresh2__closures,
10306
- i5: $run2__closures,
10220
+ h0: $error__closures,
10221
+ hi: $self_latest__closures,
10222
+ hj: $self_version__closures,
10223
+ h2: $active__closures,
10224
+ gv: $si__input_preferred && $input_preferred__closures,
10225
+ ii: $accountsFor2__closures,
10226
+ h4: $authCodes__closures,
10227
+ h5: $confirmingRemove__closures,
10228
+ hy: $si__input_setupChange && $refresh2__closures,
10229
+ hz: $run2__closures,
10307
10230
  a6: _existing_scope($childScope10),
10308
- hx: $skillQuery__closures,
10309
- i1: $confirmingSkill__closures,
10310
- ht: $skills__closures,
10311
- hw: $skills_available__closures,
10231
+ hr: $skillQuery__closures,
10232
+ hv: $confirmingSkill__closures,
10233
+ hn: $skills__closures,
10234
+ hq: $skills_available__closures,
10312
10235
  af: _existing_scope($childScope12),
10313
- hj: $query__closures,
10314
- hn: $self_install__closures,
10315
- hq: $selfUpdating__closures,
10316
- ic: $preflight_unpushed__closures,
10317
- id: $preflight_files__closures,
10318
- if: $restoreWs__closures,
10319
- iu: $preview_workspaces__closures,
10320
- j0: $preview_settings__closures,
10321
- ih: $restoreParts__closures
10236
+ hd: $query__closures,
10237
+ hh: $self_install__closures,
10238
+ hk: $selfUpdating__closures,
10239
+ i6: $preflight_unpushed__closures,
10240
+ i7: $preflight_files__closures,
10241
+ i9: $restoreWs__closures,
10242
+ io: $preview_workspaces__closures,
10243
+ iu: $preview_settings__closures,
10244
+ ib: $restoreParts__closures
10322
10245
  });
10323
10246
  _resume_branch($scope0_id);
10324
10247
  });
@@ -10366,9 +10289,9 @@ function vapidKey(base64) {
10366
10289
  const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
10367
10290
  return Uint8Array.from(raw, (c) => c.charCodeAt(0));
10368
10291
  }
10369
- var iconBtn = "_cb _l";
10370
- var settingsDot = "_cc _bc";
10371
- var navToggle = "_cg _l";
10292
+ var iconBtn = "_bP _l";
10293
+ var settingsDot = "_bQ _bc";
10294
+ var navToggle = "_bU _l";
10372
10295
  _template("R", (input) => {
10373
10296
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
10374
10297
  const $scope0_id = _scope_id();
@@ -10422,7 +10345,8 @@ function activeAgent(session) {
10422
10345
  const command = session.state?.command?.trim();
10423
10346
  return command && agentFromCommand(command) || session.agent;
10424
10347
  }
10425
- var rowState = "_e9 _N";
10348
+ var heroTag = "_eN _N _Q";
10349
+ var rowState = "_e0 _N";
10426
10350
  //#endregion
10427
10351
  //#region src/client/arm.ts
10428
10352
  /** Two-step destructive controls: first click arms (label/colour flips),
@@ -10433,12 +10357,12 @@ var ARM_MS = 3500;
10433
10357
  function disarmLater(fn) {
10434
10358
  return setTimeout(fn, ARM_MS);
10435
10359
  }
10436
- var prChip = "_id _u _ic";
10437
- var portChip = "_ie _u _ic";
10360
+ var prChip = "_iH _u _iG";
10361
+ var portChip = "_iI _u _iG";
10438
10362
  var prState = {
10439
- open: "_ii",
10440
- merged: "_ij",
10441
- closed: "_ik"
10363
+ open: "_iM",
10364
+ merged: "_iN",
10365
+ closed: "_iO"
10442
10366
  };
10443
10367
  //#endregion
10444
10368
  //#region src/tags/icons/icon-diff.marko
@@ -10529,7 +10453,7 @@ var side_nav_chips_default = _template("x", (input) => {
10529
10453
  const name = repo.full_name.split("/").at(-1);
10530
10454
  return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel$1(repo.full_name) : name;
10531
10455
  }, "x4", $scope1_id);
10532
- _html(`<div${_attr_class("_ib")}>`);
10456
+ _html(`<div${_attr_class("_iF")}>`);
10533
10457
  _for_of(repos, (repo) => {
10534
10458
  const $scope2_id = _scope_id();
10535
10459
  const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
@@ -10545,11 +10469,11 @@ var side_nav_chips_default = _template("x", (input) => {
10545
10469
  [prState.merged]: pr$1.state === "MERGED",
10546
10470
  [prState.closed]: pr$1.state === "CLOSED"
10547
10471
  }
10548
- ])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_if", { ["_in"]: !open }])}${_attr("href", pr$1.url)} target=_blank rel=noopener>${_text_resume($scope3_id, "c", repoLabel(repo))}#${_text_resume($scope3_id, "d", pr$1.number, 2)}</a>${_el_resume($scope3_id, "b")}`);
10472
+ ])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_iJ", { ["_iR"]: !open }])}${_attr("href", pr$1.url)} target=_blank rel=noopener>${_text_resume($scope3_id, "c", repoLabel(repo))}#${_text_resume($scope3_id, "d", pr$1.number, 2)}</a>${_el_resume($scope3_id, "b")}`);
10549
10473
  _if(() => {
10550
10474
  if (open) {
10551
10475
  const $scope4_id = _scope_id();
10552
- _html(`<a${_attr_class(["_if", "_ig"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
10476
+ _html(`<a${_attr_class(["_iJ", "_iK"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
10553
10477
  icon_diff_default({ size: 12 });
10554
10478
  _html(`</a>${_el_resume($scope4_id, "a")}`);
10555
10479
  _subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
@@ -10557,9 +10481,9 @@ var side_nav_chips_default = _template("x", (input) => {
10557
10481
  } else {
10558
10482
  const $scope6_id = _scope_id();
10559
10483
  _html(`<button type=button${_attr_class([
10560
- "_if",
10561
- "_ig",
10562
- "_ih"
10484
+ "_iJ",
10485
+ "_iK",
10486
+ "_iL"
10563
10487
  ])}${_attr("title", `Dismiss #${pr$1.number}`)}>`);
10564
10488
  icon_xmark_default({ size: 12 });
10565
10489
  _html(`</button>${_el_resume($scope6_id, "a")}`);
@@ -10587,21 +10511,21 @@ var side_nav_chips_default = _template("x", (input) => {
10587
10511
  _if(() => {
10588
10512
  if (dead.has(p.port)) {
10589
10513
  const $scope7_id = _scope_id();
10590
- _html(`<span${_attr_class(["_if", "_il"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
10514
+ _html(`<span${_attr_class(["_iJ", "_iP"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
10591
10515
  _subscribe($dead__closures, writeScope($scope7_id, { Ca3: 1 }));
10592
10516
  return 0;
10593
10517
  } else {
10594
10518
  const $scope8_id = _scope_id();
10595
- _html(`<button type=button${_attr_class(["_if", "_im"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
10519
+ _html(`<button type=button${_attr_class(["_iJ", "_iQ"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
10596
10520
  _script($scope8_id, "x6");
10597
10521
  writeScope($scope8_id, {});
10598
10522
  return 1;
10599
10523
  }
10600
10524
  }, $scope5_id, "b", 1, 1, 1, 0, 1);
10601
10525
  _html(`<button type=button${_attr_class([
10602
- "_if",
10603
- "_ig",
10604
- "_ih",
10526
+ "_iJ",
10527
+ "_iK",
10528
+ "_iL",
10605
10529
  { ["_s"]: armedPid === p.pid }
10606
10530
  ])}${armedPid === p.pid ? " title=Kill?" : _attr("title", `Kill ${p.cmd} (pid ${p.pid})`)}>`);
10607
10531
  icon_xmark_default({ size: 12 });
@@ -10644,16 +10568,16 @@ var side_nav_chips_default = _template("x", (input) => {
10644
10568
  });
10645
10569
  _resume_branch($scope0_id);
10646
10570
  });
10647
- var railBtn = "_gA _l";
10648
- var wsBtn = "_gF _I";
10649
- var rowIcon = "_gI _4 _l";
10650
- var close = "_gJ _7 _l _8";
10651
- var sessRename$1 = "_gU _J";
10652
- var sessBtn$1 = "_gW _I";
10571
+ var railBtn = "_fA _l";
10572
+ var wsBtn = "_fF _I";
10573
+ var rowIcon = "_fI _4 _l";
10574
+ var close = "_fJ _7 _l _8";
10575
+ var sessRename$1 = "_fU _J";
10576
+ var sessBtn$1 = "_fW _I";
10653
10577
  //#endregion
10654
10578
  //#region src/styles/session-pop.css.ts
10655
- var sessionPop = "_gd __";
10656
- var sessionPopBtn = "_ge _I";
10579
+ var sessionPop = "_fc __";
10580
+ var sessionPopBtn = "_fd _I";
10657
10581
  //#endregion
10658
10582
  //#region src/tags/icons/icon-manage.marko
10659
10583
  var icon_manage_default = _template("fb", (input) => {
@@ -10682,22 +10606,22 @@ var usage_pcts_default = _template("G", (input) => {
10682
10606
  if (windows.length) {
10683
10607
  const $scope1_id = _scope_id();
10684
10608
  _html(`<span${_attr_class([
10685
- "_hI",
10609
+ "_hF",
10686
10610
  input.class,
10687
- { ["_hJ"]: agent.stale_seconds != null }
10611
+ { ["_hG"]: agent.stale_seconds != null }
10688
10612
  ])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
10689
10613
  _for_of(windows, (win$1, i) => {
10690
10614
  const $scope2_id = _scope_id();
10691
- _html(`<span${_attr_class("_hK")}>`);
10615
+ _html(`<span${_attr_class("_hH")}>`);
10692
10616
  _if(() => {
10693
10617
  if (i) {
10694
10618
  const $scope3_id = _scope_id();
10695
- _html(`<span${_attr_class("_hN")} aria-hidden=true>·</span>`);
10619
+ _html(`<span${_attr_class("_hK")} aria-hidden=true>·</span>`);
10696
10620
  $si__input_agent && writeScope($scope3_id, {});
10697
10621
  return 0;
10698
10622
  }
10699
10623
  }, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
10700
- _html(`<span${_attr_class("_hL")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_hM", win$1.used_percent >= 90 ? "_hE" : win$1.used_percent >= 70 ? "_hD" : win$1.used_percent >= 40 ? "_hC" : "_hB"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
10624
+ _html(`<span${_attr_class("_hI")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_hJ", win$1.used_percent >= 90 ? "_hB" : win$1.used_percent >= 70 ? "_hA" : win$1.used_percent >= 40 ? "_hz" : "_hy"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
10701
10625
  $si__input_agent && writeScope($scope2_id, {});
10702
10626
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
10703
10627
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -10808,7 +10732,7 @@ var side_nav_item_default = _template("y", (input) => {
10808
10732
  _if(() => {
10809
10733
  if (input.rail) {
10810
10734
  const $scope2_id = _scope_id();
10811
- _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_gy"]: 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([
10735
+ _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_fy"]: 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([
10812
10736
  "_A",
10813
10737
  phase[dot$1],
10814
10738
  "_bc"
@@ -10818,34 +10742,34 @@ var side_nav_item_default = _template("y", (input) => {
10818
10742
  } else if (ws$1.pending) {
10819
10743
  const $scope3_id = _scope_id();
10820
10744
  _html(`<section${_attr_class([
10821
- "_gC",
10822
- "_gY",
10745
+ "_fC",
10746
+ "_fY",
10823
10747
  {
10824
- ["_gD"]: input.railPop,
10825
- ["_gB"]: input.page
10748
+ ["_fD"]: input.railPop,
10749
+ ["_fB"]: input.page
10826
10750
  }
10827
- ])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_gE")}><div${_attr_class(wsBtn)}>`);
10751
+ ])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_fE")}><div${_attr_class(wsBtn)}>`);
10828
10752
  _if(() => {
10829
10753
  if (ws$1.pending_error) {
10830
10754
  const $scope15_id = _scope_id();
10831
10755
  icon_warning_default({
10832
10756
  size: 12,
10833
- class: "_g0"
10757
+ class: "_f0"
10834
10758
  });
10835
10759
  $si__input_workspace && writeScope($scope15_id, {});
10836
10760
  return 0;
10837
10761
  } else {
10838
10762
  const $scope16_id = _scope_id();
10839
- _html(`<span${_attr_class(["_G", "_gZ"])}></span>`);
10763
+ _html(`<span${_attr_class(["_G", "_fZ"])}></span>`);
10840
10764
  $si__input_workspace && writeScope($scope16_id, {});
10841
10765
  return 1;
10842
10766
  }
10843
10767
  }, $scope3_id, "d", $sg__input_workspace, $sg__input_workspace, 1, 0, 1);
10844
- _html(`<span${_attr_class("_gL")}><span${_attr_class("_gM")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_g2")}${_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>`);
10768
+ _html(`<span${_attr_class("_fL")}><span${_attr_class("_fM")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_f2")}${_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>`);
10845
10769
  _if(() => {
10846
10770
  if (ws$1.pending_error && !retrying) {
10847
10771
  const $scope14_id = _scope_id();
10848
- _html(`<div${_attr_class("_g1")}><button type=button${_attr_class(["_q", btnSm])} title="Run the restore again">Retry</button>${_el_resume($scope14_id, "b")}<button type=button${_attr_class([
10772
+ _html(`<div${_attr_class("_f1")}><button type=button${_attr_class(["_q", btnSm])} title="Run the restore again">Retry</button>${_el_resume($scope14_id, "b")}<button type=button${_attr_class([
10849
10773
  "_q",
10850
10774
  btnSm,
10851
10775
  { ["_s"]: armedDelete }
@@ -10865,15 +10789,15 @@ var side_nav_item_default = _template("y", (input) => {
10865
10789
  const $scope4_id = _scope_id();
10866
10790
  const sessions$1 = input.sessions || [];
10867
10791
  const phaseLabel = dot$1 === "working" ? "Working" : dot$1 === "waiting" ? "Needs input" : dot$1 === "idle" ? "Idle" : "Not running";
10868
- _html(`<section${_attr_class(["_gC", {
10869
- ["_gy"]: input.current,
10792
+ _html(`<section${_attr_class(["_fC", {
10793
+ ["_fy"]: input.current,
10870
10794
  ["_bd"]: input.current,
10871
- ["_gD"]: input.railPop,
10872
- ["_gB"]: input.page
10873
- }])}><div${_attr_class("_gE")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class(wsBtn)}><span${_attr_class([
10795
+ ["_fD"]: input.railPop,
10796
+ ["_fB"]: input.page
10797
+ }])}><div${_attr_class("_fE")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class(wsBtn)}><span${_attr_class([
10874
10798
  "_A",
10875
10799
  phase[dot$1],
10876
- "_gQ"
10800
+ "_fQ"
10877
10801
  ])}${_attr("title", phaseLabel)}></span>${_el_resume($scope4_id, "d", $sg__input_status)}`);
10878
10802
  _if(() => {
10879
10803
  if (sessions$1.length === 1) {
@@ -10886,7 +10810,7 @@ var side_nav_item_default = _template("y", (input) => {
10886
10810
  icon_agent_default({
10887
10811
  agent: activeAgent(sessions$1[0]),
10888
10812
  size: 12,
10889
- class: "_gK"
10813
+ class: "_fK"
10890
10814
  });
10891
10815
  $si__input_sessions && writeScope($scope17_id, {
10892
10816
  _: _scope_with_id($scope4_id),
@@ -10896,11 +10820,11 @@ var side_nav_item_default = _template("y", (input) => {
10896
10820
  }
10897
10821
  }, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions);
10898
10822
  const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length > 1 ? `${sessions$1.length} sessions` : "";
10899
- _html(`<span${_attr_class("_gL")}><span${_attr_class("_gM")}>${_text_resume($scope4_id, "h", ws$1.name, $sg__input_workspace)}</span>`);
10823
+ _html(`<span${_attr_class("_fL")}><span${_attr_class("_fM")}>${_text_resume($scope4_id, "h", ws$1.name, $sg__input_workspace)}</span>`);
10900
10824
  _if(() => {
10901
10825
  if (input.page && metaText) {
10902
10826
  const $scope18_id = _scope_id();
10903
- _html(`<span${_attr_class("_gP")}>${_text_resume($scope18_id, "b", metaText, _serialize_guard($scope0_reason, 3))}</span>`);
10827
+ _html(`<span${_attr_class("_fP")}>${_text_resume($scope18_id, "b", metaText, _serialize_guard($scope0_reason, 3))}</span>`);
10904
10828
  $si__input_page__OR__input_sessions__OR__input_status && writeScope($scope18_id, { _: _serialize_if($scope0_reason, 3) && _scope_with_id($scope4_id) });
10905
10829
  return 0;
10906
10830
  }
@@ -10909,7 +10833,7 @@ var side_nav_item_default = _template("y", (input) => {
10909
10833
  _if(() => {
10910
10834
  if (!input.page) {
10911
10835
  const $scope5_id = _scope_id();
10912
- _html(`<div${_attr_class("_gG")}>`);
10836
+ _html(`<div${_attr_class("_fG")}>`);
10913
10837
  _if(() => {
10914
10838
  if (input.onNewSession) {
10915
10839
  const $scope6_id = _scope_id();
@@ -10958,7 +10882,7 @@ var side_nav_item_default = _template("y", (input) => {
10958
10882
  return 0;
10959
10883
  }
10960
10884
  }, $scope5_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
10961
- _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_gz"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
10885
+ _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_fz"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
10962
10886
  icon_manage_default({ size: 12 });
10963
10887
  _html(`</a>${_el_resume($scope5_id, "d", _serialize_guard($scope0_reason, 4))}</div>`);
10964
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, writeScope($scope5_id, {
@@ -10968,7 +10892,7 @@ var side_nav_item_default = _template("y", (input) => {
10968
10892
  return 0;
10969
10893
  }
10970
10894
  }, $scope4_id, "j", $sg__input_page, $sg__input_page, 1, 0, 1);
10971
- _html(`</div><div${_attr_class("_gV")}>`);
10895
+ _html(`</div><div${_attr_class("_fV")}>`);
10972
10896
  _if(() => {
10973
10897
  if (sessions$1.length === 1 && openPlan) {
10974
10898
  const $scope11_id = _scope_id();
@@ -10976,7 +10900,7 @@ var side_nav_item_default = _template("y", (input) => {
10976
10900
  const $childScope3 = _peek_scope_id();
10977
10901
  usage_pcts_default({
10978
10902
  agent: openPlan,
10979
- class: "_gN"
10903
+ class: "_fN"
10980
10904
  });
10981
10905
  _subscribe($openPlan__closures, writeScope($scope11_id, {
10982
10906
  a: _existing_scope($childScope3),
@@ -10987,14 +10911,14 @@ var side_nav_item_default = _template("y", (input) => {
10987
10911
  }, $scope4_id, "l");
10988
10912
  _for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
10989
10913
  const $scope8_id = _scope_id();
10990
- _html(`<div${_attr_class(["_gH", { ["_gy"]: s.id === input.currentTab }])}>`);
10914
+ _html(`<div${_attr_class(["_fH", { ["_fy"]: s.id === input.currentTab }])}>`);
10991
10915
  _if(() => {
10992
10916
  if (renamingId === s.id) {
10993
10917
  const $scope10_id = _scope_id();
10994
10918
  _html(`<span${_attr_class([
10995
10919
  "_A",
10996
10920
  phase[sessionPhase(s.state)],
10997
- "_gT"
10921
+ "_fT"
10998
10922
  ])}></span>${_el_resume($scope10_id, "a", $sg__input_sessions)}`);
10999
10923
  _set_serialize_reason({
11000
10924
  1: $sg__input_sessions,
@@ -11004,7 +10928,7 @@ var side_nav_item_default = _template("y", (input) => {
11004
10928
  icon_agent_default({
11005
10929
  agent: activeAgent(s),
11006
10930
  size: 12,
11007
- class: "_gX"
10931
+ class: "_fX"
11008
10932
  });
11009
10933
  _html(`<input${_attr_input_value($scope10_id, "c", renameValue, _resume((_new_renameValue) => {
11010
10934
  renameValue = _new_renameValue;
@@ -11023,9 +10947,9 @@ var side_nav_item_default = _template("y", (input) => {
11023
10947
  icon_agent_default({
11024
10948
  agent: activeAgent(s),
11025
10949
  size: 12,
11026
- class: "_gX"
10950
+ class: "_fX"
11027
10951
  });
11028
- _html(`<span${_attr_class("_gR")}>${_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("_gS")}><button${_attr_class(rowIcon)} title="Rename session">`);
10952
+ _html(`<span${_attr_class("_fR")}>${_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("_fS")}><button${_attr_class(rowIcon)} title="Rename session">`);
11029
10953
  icon_edit_default({ size: 12 });
11030
10954
  _html(`</button>${_el_resume($scope9_id, "g")}<button${_attr_class([close, { ["_s"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
11031
10955
  icon_xmark_default({ size: 12 });
@@ -11037,7 +10961,7 @@ var side_nav_item_default = _template("y", (input) => {
11037
10961
  const $childScope6 = _peek_scope_id();
11038
10962
  usage_pcts_default({
11039
10963
  agent: openPlan,
11040
- class: "_gO"
10964
+ class: "_fO"
11041
10965
  });
11042
10966
  _subscribe($openPlan__closures, writeScope($scope12_id, {
11043
10967
  a: _existing_scope($childScope6),
@@ -11177,11 +11101,11 @@ var workspace_switcher_default = _template("I", (input) => {
11177
11101
  const sessions = input.sessions || st?.sessions || [];
11178
11102
  const manySessions = sessions.length > 1;
11179
11103
  const heroMeta$1 = sessions.length === 0 ? "No sessions" : manySessions ? `${sessions.length} sessions` : "";
11180
- _html(`<div${_attr_class("_eU")}>`);
11104
+ _html(`<div${_attr_class("_eJ")}>`);
11181
11105
  _if(() => {
11182
11106
  if (ws) {
11183
11107
  const $scope1_id = _scope_id();
11184
- _html(`<section${_attr_class("_eV")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_eW")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
11108
+ _html(`<section${_attr_class("_eK")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_eL")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
11185
11109
  _if(() => {
11186
11110
  if (sessions.length === 1) {
11187
11111
  const $scope8_id = _scope_id();
@@ -11193,7 +11117,7 @@ var workspace_switcher_default = _template("I", (input) => {
11193
11117
  icon_agent_default({
11194
11118
  agent: activeAgent(sessions[0]),
11195
11119
  size: 16,
11196
- class: "_eZ"
11120
+ class: "_eP"
11197
11121
  });
11198
11122
  $si__input_workspace__OR__input_allStatus__OR__input_sessions && _subscribe($sessions___closures, writeScope($scope8_id, {
11199
11123
  _: _scope_with_id($scope1_id),
@@ -11202,14 +11126,14 @@ var workspace_switcher_default = _template("I", (input) => {
11202
11126
  return 0;
11203
11127
  }
11204
11128
  }, $scope1_id, "d", $sg__input_workspace__OR__input_allStatus__OR__input_sessions, $sg__input_workspace__OR__input_allStatus__OR__input_sessions, $sg__input_workspace__OR__input_allStatus__OR__input_sessions);
11205
- _html(`<span${_attr_class("_eX")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class("_eY")}>${_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)}`);
11129
+ _html(`<span${_attr_class("_eM")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class(heroTag)}>current</span><span${_attr_class("_eO")}>${_text_resume($scope1_id, "i", heroMeta$1, $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope1_id, "b", $sg__input_workspace)}`);
11206
11130
  _if(() => {
11207
11131
  if (manySessions) {
11208
11132
  const $scope2_id = _scope_id();
11209
- _html(`<div${_attr_class("_e0")}>`);
11133
+ _html(`<div${_attr_class("_eQ")}>`);
11210
11134
  _for_of(sessions, (s) => {
11211
11135
  const $scope3_id = _scope_id();
11212
- _html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_e2", { ["_e1"]: 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)}`);
11136
+ _html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_eS", { ["_eR"]: s.id === input.tab }])}><span${_attr_class(["_A", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope3_id, "b", $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}`);
11213
11137
  _set_serialize_reason({
11214
11138
  1: $sg__input_workspace__OR__input_allStatus__OR__input_sessions,
11215
11139
  2: $sg__input_workspace__OR__input_allStatus__OR__input_sessions
@@ -11219,7 +11143,7 @@ var workspace_switcher_default = _template("I", (input) => {
11219
11143
  agent: activeAgent(s),
11220
11144
  size: 14
11221
11145
  });
11222
- _html(`<span${_attr_class("_e3")}>${_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))}`);
11146
+ _html(`<span${_attr_class("_eT")}>${_text_resume($scope3_id, "e", s.title || activeAgent(s), $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 7))}`);
11223
11147
  $si__input_workspace__OR__input_allStatus__OR__input_sessions__OR__input_tab && _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_tab && $input_tab__closures, writeScope($scope3_id, {
11224
11148
  h: $si__input_tab && s?.id,
11225
11149
  _: _scope_with_id($scope2_id),
@@ -11229,7 +11153,7 @@ var workspace_switcher_default = _template("I", (input) => {
11229
11153
  $si__input_workspace__OR__input_allStatus__OR__input_sessions__OR__input_tab && _subscribe($si__input_workspace__OR__input_allStatus__OR__input_sessions && $sessions__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }));
11230
11154
  return 0;
11231
11155
  }
11232
- }, $scope1_id, "i", $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, 0, 1);
11156
+ }, $scope1_id, "j", $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, 0, 1);
11233
11157
  _set_serialize_reason($sg__input_workspace);
11234
11158
  const $childScope3 = _peek_scope_id();
11235
11159
  side_nav_chips_default({
@@ -11240,7 +11164,7 @@ var workspace_switcher_default = _template("I", (input) => {
11240
11164
  _script($scope1_id, "I1");
11241
11165
  writeScope($scope1_id, {
11242
11166
  _: $si__input_workspace__OR__input_allStatus__OR__input_sessions__OR__input_tab && _scope_with_id($scope0_id),
11243
- j: $si__input_workspace__OR__input_allStatus && _existing_scope($childScope3)
11167
+ k: $si__input_workspace__OR__input_allStatus && _existing_scope($childScope3)
11244
11168
  });
11245
11169
  return 0;
11246
11170
  }
@@ -11248,7 +11172,7 @@ var workspace_switcher_default = _template("I", (input) => {
11248
11172
  _if(() => {
11249
11173
  if (input.ids.length) {
11250
11174
  const $scope4_id = _scope_id();
11251
- _html(`<div${_attr_class("_e4")}>`);
11175
+ _html(`<div${_attr_class("_eU")}>Other workspaces</div><div${_attr_class("_eV")}>`);
11252
11176
  _for_of(input.ids, (id) => {
11253
11177
  const $scope5_id = _scope_id();
11254
11178
  const w = input.byId.get(id);
@@ -11298,7 +11222,7 @@ var workspace_switcher_default = _template("I", (input) => {
11298
11222
  const rp = phaseOf(rs);
11299
11223
  const rowSessions = rs?.sessions || [];
11300
11224
  const many = rowSessions.length > 1;
11301
- _html(`<div${_attr_class("_e5")}><a${_attr("href", `/w/${id}`)}${_attr_class("_e6")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope7_id, "c", $sg__input_allStatus__OR__input_ids)}`);
11225
+ _html(`<div${_attr_class("_eW")}><a${_attr("href", `/w/${id}`)}${_attr_class("_eX")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope7_id, "c", $sg__input_allStatus__OR__input_ids)}`);
11302
11226
  _if(() => {
11303
11227
  if (rowSessions.length === 1) {
11304
11228
  const $scope9_id = _scope_id();
@@ -11310,7 +11234,7 @@ var workspace_switcher_default = _template("I", (input) => {
11310
11234
  icon_agent_default({
11311
11235
  agent: activeAgent(rowSessions[0]),
11312
11236
  size: 16,
11313
- class: "_e8"
11237
+ class: "_eZ"
11314
11238
  });
11315
11239
  $si__input_allStatus__OR__input_ids && writeScope($scope9_id, {
11316
11240
  _: _scope_with_id($scope7_id),
@@ -11319,7 +11243,7 @@ var workspace_switcher_default = _template("I", (input) => {
11319
11243
  return 0;
11320
11244
  }
11321
11245
  }, $scope7_id, "d", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids);
11322
- _html(`<span${_attr_class("_e7")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
11246
+ _html(`<span${_attr_class("_eY")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
11323
11247
  _if(() => {
11324
11248
  if (many) {
11325
11249
  const $scope10_id = _scope_id();
@@ -11330,7 +11254,7 @@ var workspace_switcher_default = _template("I", (input) => {
11330
11254
  }, $scope7_id, "g", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, 0, 1);
11331
11255
  icon_chevron_right_default({
11332
11256
  size: 14,
11333
- class: "_e_"
11257
+ class: "_e1"
11334
11258
  });
11335
11259
  _html(`</a>${_el_resume($scope7_id, "b", $sg__input_ids)}`);
11336
11260
  _set_serialize_reason($sg__input_ids);
@@ -11356,11 +11280,11 @@ var workspace_switcher_default = _template("I", (input) => {
11356
11280
  f: $si__input_ids__OR__input_byId && w?.name,
11357
11281
  _: _scope_with_id($scope4_id)
11358
11282
  }));
11359
- }, (id) => id, $scope4_id, "a", $sg__input_ids, $sg__input_ids, $sg__input_ids, "</div>");
11283
+ }, (id) => id, $scope4_id, "b", $sg__input_ids, $sg__input_ids, $sg__input_ids, "</div>");
11360
11284
  $si__input_allStatus__OR__input_ids__OR__input_byId && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
11361
11285
  return 0;
11362
11286
  }
11363
- }, $scope0_id, "c", $sg__input_ids, _serialize_guard($scope0_reason, 15), $sg__input_workspace__OR__input_ids_length, 0, 1);
11287
+ }, $scope0_id, "c", $sg__input_ids, _serialize_guard($scope0_reason, 15), $sg__input_workspace__OR__input_ids_length);
11364
11288
  _html("</div>");
11365
11289
  _serialize_if($scope0_reason, 9) && writeScope($scope0_id, {
11366
11290
  g: _serialize_if($scope0_reason, 5) && input.allStatus,
@@ -11496,28 +11420,28 @@ var side_nav_default = _template("z", (input) => {
11496
11420
  const backHref = ws ? `/w/${ws.id}` : "/new";
11497
11421
  const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
11498
11422
  const pageIds = orderedIds.filter((id) => id !== ws?.id);
11499
- _html(`<aside${_attr_class(["_cf", {
11500
- ["_cd"]: !navOpen,
11501
- ["_ce"]: isPage
11423
+ _html(`<aside${_attr_class(["_bT", {
11424
+ ["_bR"]: !navOpen,
11425
+ ["_bS"]: isPage
11502
11426
  }])}${_attr("hidden", view === "diff")}>`);
11503
11427
  _if(() => {
11504
11428
  if (isPage) {
11505
11429
  const $scope1_id = _scope_id();
11506
- _html(`<header${_attr_class("_ci")}><div${_attr_class("_cq")}>`);
11430
+ _html(`<header${_attr_class("_bW")}><div${_attr_class("_b4")}>`);
11507
11431
  _if(() => {
11508
11432
  if (input.instanceName) {
11509
11433
  const $scope2_id = _scope_id();
11510
- _html(`<div${_attr_class("_cn")} title="This work server (Settings → Appearance)"><img${_attr_class("_co")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_cp")}>${_text_resume($scope2_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
11434
+ _html(`<div${_attr_class("_b1")} title="This work server (Settings → Appearance)"><img${_attr_class("_b2")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_b3")}>${_text_resume($scope2_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
11511
11435
  _subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
11512
11436
  return 0;
11513
11437
  }
11514
11438
  }, $scope1_id, "c", $sg__input_instanceName, $sg__input_instanceName, 1, 0, 1);
11515
- _html(`<h1${_attr_class("_cj")}>Workspaces</h1></div><div${_attr_class("_ck")}>`);
11439
+ _html(`<h1${_attr_class("_bX")}>Workspaces</h1></div><div${_attr_class("_bY")}>`);
11516
11440
  _if(() => {}, $scope1_id, "f", 1, 1, 1, 0, 1);
11517
11441
  _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
11518
11442
  iconBtn,
11519
- "_cl",
11520
- { ["_ca"]: view === "settings" }
11443
+ "_bZ",
11444
+ { ["_bO"]: view === "settings" }
11521
11445
  ])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11522
11446
  icon_settings_default({ size: 16 });
11523
11447
  _if(() => {
@@ -11536,7 +11460,7 @@ var side_nav_default = _template("z", (input) => {
11536
11460
  _if(() => {
11537
11461
  if (!isPage && input.instanceName) {
11538
11462
  const $scope3_id = _scope_id();
11539
- _html(`<div${_attr_class("_cn")} title="This work server (Settings → Appearance)"><img${_attr_class("_co")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_cp")}>${_text_resume($scope3_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
11463
+ _html(`<div${_attr_class("_b1")} title="This work server (Settings → Appearance)"><img${_attr_class("_b2")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_b3")}>${_text_resume($scope3_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
11540
11464
  writeScope($scope3_id, {});
11541
11465
  return 0;
11542
11466
  }
@@ -11576,7 +11500,7 @@ var side_nav_default = _template("z", (input) => {
11576
11500
  return 0;
11577
11501
  } else if (navOpen) {
11578
11502
  const $scope5_id = _scope_id();
11579
- _html(`<div${_attr_class("_cr")}>`);
11503
+ _html(`<div${_attr_class("_b5")}>`);
11580
11504
  _for_of(orderedIds, (wsId) => {
11581
11505
  const $scope6_id = _scope_id();
11582
11506
  _set_serialize_reason({
@@ -11663,7 +11587,7 @@ var side_nav_default = _template("z", (input) => {
11663
11587
  railHover = null;
11664
11588
  }, 150);
11665
11589
  }, "z6", $scope7_id);
11666
- _html(`<div${_attr_class("_cs")}>`);
11590
+ _html(`<div${_attr_class("_b6")}>`);
11667
11591
  _for_of(orderedIds, (wsId, i) => {
11668
11592
  const $scope8_id = _scope_id();
11669
11593
  _html("<span>");
@@ -11721,7 +11645,7 @@ var side_nav_default = _template("z", (input) => {
11721
11645
  if (railHover) {
11722
11646
  const $scope9_id = _scope_id();
11723
11647
  const hoverId = railHover.id;
11724
- _html(`<div${_attr_class(["__", "_cv"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
11648
+ _html(`<div${_attr_class(["__", "_b9"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
11725
11649
  _set_serialize_reason({
11726
11650
  0: 1,
11727
11651
  1: 1,
@@ -11816,7 +11740,7 @@ var side_nav_default = _template("z", (input) => {
11816
11740
  return 0;
11817
11741
  }
11818
11742
  }, $scope0_id, "e");
11819
- _html(`<div${_attr_class("_ct")}>`);
11743
+ _html(`<div${_attr_class("_b7")}>`);
11820
11744
  _if(() => {
11821
11745
  if (isPage) {
11822
11746
  const $scope11_id = _scope_id();
@@ -11824,7 +11748,7 @@ var side_nav_default = _template("z", (input) => {
11824
11748
  "_q",
11825
11749
  "_r",
11826
11750
  btnLg,
11827
- "_cm"
11751
+ "_b0"
11828
11752
  ])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11829
11753
  icon_folder_plus_default({ size: 16 });
11830
11754
  _html(` New workspace</a>${_el_resume($scope11_id, "a")}`);
@@ -11846,9 +11770,9 @@ var side_nav_default = _template("z", (input) => {
11846
11770
  return 1;
11847
11771
  }
11848
11772
  }, $scope10_id, "a", 1, 1, 1, "</button>", 1);
11849
- _html(`<div${_attr_class(["_z", "_cu"])}></div>`);
11773
+ _html(`<div${_attr_class(["_z", "_b8"])}></div>`);
11850
11774
  _if(() => {}, $scope10_id, "c", 1, 1, 1, 0, 1);
11851
- _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["_ca"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11775
+ _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["_bO"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11852
11776
  icon_settings_default({});
11853
11777
  _if(() => {
11854
11778
  if (input.setupReady === false) {
@@ -11858,7 +11782,7 @@ var side_nav_default = _template("z", (input) => {
11858
11782
  return 0;
11859
11783
  }
11860
11784
  }, $scope10_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
11861
- _html(`</a>${_el_resume($scope10_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["_ca"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11785
+ _html(`</a>${_el_resume($scope10_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["_bO"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11862
11786
  icon_folder_plus_default({ size: 16 });
11863
11787
  _html(`</a>${_el_resume($scope10_id, "g")}`);
11864
11788
  _script($scope10_id, "z15");
@@ -12879,9 +12803,8 @@ function markdownFence(body) {
12879
12803
  function indent(text) {
12880
12804
  return text.split("\n").map((line) => line ? ` ${line}` : line).join("\n");
12881
12805
  }
12882
- var treeToggle = "_fx _5 _l";
12883
- var pageTitle = "_fE _ed";
12884
- var commitWrap = "_f7 _5 _l";
12806
+ var treeToggle = "_go _5 _l";
12807
+ var pageTitle = "_gv _ed";
12885
12808
  //#endregion
12886
12809
  //#region src/tags/diff-send.marko
12887
12810
  var diff_send_default = _template("i", (input) => {
@@ -12891,7 +12814,7 @@ var diff_send_default = _template("i", (input) => {
12891
12814
  let sendTarget = null;
12892
12815
  const sessions = input.sessions || [];
12893
12816
  const sendPick = sessions.some((s) => s.id === sendTarget) ? sendTarget : sessions[0]?.id ?? null;
12894
- _html(`<span${_attr_class("_hO")}><button type=button${_attr_class("_q")} title="Copy comments as markdown">${_text_resume($scope0_id, "c", "Copy")}</button>${_el_resume($scope0_id, "b")}`);
12817
+ _html(`<span${_attr_class("_hL")}><button type=button${_attr_class("_q")} title="Copy comments as markdown">${_text_resume($scope0_id, "c", "Copy")}</button>${_el_resume($scope0_id, "b")}`);
12895
12818
  _if(() => {
12896
12819
  if (sessions.length === 1) {
12897
12820
  const $scope1_id = _scope_id();
@@ -12901,11 +12824,11 @@ var diff_send_default = _template("i", (input) => {
12901
12824
  return 0;
12902
12825
  } else if (sessions.length) {
12903
12826
  const $scope2_id = _scope_id();
12904
- _html(`<span${_attr_class("_hP")}><button type=button${_attr_class(["_r", "_hQ"])}${_attr("disabled", sending)}>${_text_resume($scope2_id, "c", "Send to")}</button>${_el_resume($scope2_id, "b")}`);
12827
+ _html(`<span${_attr_class("_hM")}><button type=button${_attr_class(["_r", "_hN"])}${_attr("disabled", sending)}>${_text_resume($scope2_id, "c", "Send to")}</button>${_el_resume($scope2_id, "b")}`);
12905
12828
  _attr_select_value($scope2_id, "d", sendTarget, _resume((_new_sendTarget) => {
12906
12829
  sendTarget = _new_sendTarget;
12907
12830
  }, "i0", $scope2_id), () => {
12908
- _html(`<select${_attr_class("_hR")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
12831
+ _html(`<select${_attr_class("_hO")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
12909
12832
  _for_of(sessions, (s) => {
12910
12833
  const $scope3_id = _scope_id();
12911
12834
  _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)}`);
@@ -12932,23 +12855,6 @@ var diff_send_default = _template("i", (input) => {
12932
12855
  });
12933
12856
  _resume_branch($scope0_id);
12934
12857
  });
12935
- //#endregion
12936
- //#region src/tags/icons/icon-branch.marko
12937
- var icon_branch_default = _template("S", (input) => {
12938
- const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
12939
- const $scope0_id = _scope_id();
12940
- _set_serialize_reason({
12941
- 0: $sg__input_size__OR__input_class,
12942
- 1: $sg__input_size__OR__input_class
12943
- });
12944
- const $childScope = _peek_scope_id();
12945
- icon_base_default({
12946
- d: "M18 8C19.1046 8 20 7.10457 20 6C20 4.89543 19.1046 4 18 4C16.8954 4 16 4.89543 16 6C16 7.10457 16.8954 8 18 8Z M6 20C7.10457 20 8 19.1046 8 18C8 16.8954 7.10457 16 6 16C4.89543 16 4 16.8954 4 18C4 19.1046 4.89543 20 6 20Z M6 16V3 M8 18H9C12.5 18 18 15.9 18 9.5V8",
12947
- size: input.size,
12948
- class: input.class
12949
- });
12950
- _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
12951
- });
12952
12858
  var findInput = "_ek _n";
12953
12859
  var findIconBtn = "_en _l";
12954
12860
  //#endregion
@@ -13152,8 +13058,8 @@ function shortBranch(name, wsBranch = "", wsName = "") {
13152
13058
  }
13153
13059
  return shortHeadFallback(head);
13154
13060
  }
13155
- var repoWorktree = "_i9 _y";
13156
- var repoTitle = "_je _x";
13061
+ var repoWorktree = "_iV _y";
13062
+ var repoTitle = "_i1 _x";
13157
13063
  //#endregion
13158
13064
  //#region src/tags/review-head.marko
13159
13065
  var review_head_default = _template("t", (input) => {
@@ -13161,7 +13067,7 @@ var review_head_default = _template("t", (input) => {
13161
13067
  const $scope0_id = _scope_id();
13162
13068
  const repo = input.repo;
13163
13069
  const compare$1 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch, input.workspaceName);
13164
- _html(`<div${_attr_class("_i6")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}><button type=button${_attr_class("_i8")} title="Scroll to this section"><span${_attr_class(repoWorktree)}>${_text_resume($scope0_id, "d", repo.worktree, $sg__input_repo)}</span></button>${_el_resume($scope0_id, "b")}`);
13070
+ _html(`<div${_attr_class("_iS")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}><button type=button${_attr_class("_iU")} title="Scroll to this section"><span${_attr_class(repoWorktree)}>${_text_resume($scope0_id, "d", repo.worktree, $sg__input_repo)}</span></button>${_el_resume($scope0_id, "b")}`);
13165
13071
  _if(() => {
13166
13072
  if (repo.pr) {
13167
13073
  const $scope6_id = _scope_id();
@@ -13170,19 +13076,19 @@ var review_head_default = _template("t", (input) => {
13170
13076
  return 0;
13171
13077
  } else {
13172
13078
  const $scope7_id = _scope_id();
13173
- _html(`<span${_attr_class([repoTitle, "_jf"])}>${_text_resume($scope7_id, "b", repoLabel$1(repo.full_name), $sg__input_repo)}</span>`);
13079
+ _html(`<span${_attr_class([repoTitle, "_i2"])}>${_text_resume($scope7_id, "b", repoLabel$1(repo.full_name), $sg__input_repo)}</span>`);
13174
13080
  $si__input_repo && writeScope($scope7_id, { _: _scope_with_id($scope0_id) });
13175
13081
  return 1;
13176
13082
  }
13177
13083
  }, $scope0_id, "e", $sg__input_repo, $sg__input_repo, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers__OR__input_additions__OR__input_deletions__OR__input_hiddenCount__OR__input_newCount__OR__input_onlyNew);
13178
- _html(`<span${_attr_class("_jg")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_N", "_jh"])}>${_text_resume($scope0_id, "h", compare$1.base, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_P", "_jj"])} aria-hidden=true>vs</span><span${_attr_class(["_N", "_ji"])}>${_text_resume($scope0_id, "k", compare$1.head, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13084
+ _html(`<span${_attr_class("_i3")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_N", "_i4"])}>${_text_resume($scope0_id, "h", compare$1.base, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_P", "_i6"])} aria-hidden=true>vs</span><span${_attr_class(["_N", "_i5"])}>${_text_resume($scope0_id, "k", compare$1.head, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13179
13085
  _if(() => {
13180
13086
  if (compare$1.topic) {
13181
13087
  const $scope10_id = _scope_id();
13182
13088
  _html(`<span${_attr_class([
13183
13089
  "_N",
13184
13090
  tone.accent,
13185
- "_jk"
13091
+ "_i7"
13186
13092
  ])}>${_text_resume($scope10_id, "b", compare$1.topic, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13187
13093
  $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && writeScope($scope10_id, { _: _scope_with_id($scope0_id) });
13188
13094
  return 0;
@@ -13192,7 +13098,7 @@ var review_head_default = _template("t", (input) => {
13192
13098
  _if(() => {
13193
13099
  if (repo.rev) {
13194
13100
  const $scope8_id = _scope_id();
13195
- _html(`<span${_attr_class(["_N", "_jl"])} title="One commit against its parent">commit ${_text_resume($scope8_id, "b", shortSha(repo.rev, 7), $sg__input_repo * 2)}</span>`);
13101
+ _html(`<span${_attr_class(["_N", "_i8"])} title="One commit against its parent">commit ${_text_resume($scope8_id, "b", shortSha(repo.rev, 7), $sg__input_repo * 2)}</span>`);
13196
13102
  $si__input_repo && writeScope($scope8_id, { _: _scope_with_id($scope0_id) });
13197
13103
  return 0;
13198
13104
  }
@@ -13203,7 +13109,7 @@ var review_head_default = _template("t", (input) => {
13203
13109
  _html(`<button type=button${_attr_class([
13204
13110
  "_N",
13205
13111
  tone.warn,
13206
- "_jl"
13112
+ "_i8"
13207
13113
  ])}${_attr("title", `origin/${repo.pr.headRefName} ${repo.head} · GitHub ${repo.pr.headRefOid}. Reload to re-ask GitHub`)}${_attr("disabled", input.loading)}>behind GitHub ${_text_resume($scope1_id, "b", shortSha(repo.head, 7), $sg__input_repo * 2)} → ${_text_resume($scope1_id, "c", shortSha(repo.pr.headRefOid, 7), $sg__input_repo * 2)}</button>${_el_resume($scope1_id, "a")}`);
13208
13114
  _script($scope1_id, "t0");
13209
13115
  writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -13213,7 +13119,7 @@ var review_head_default = _template("t", (input) => {
13213
13119
  _if(() => {
13214
13120
  if (repo.contained && input.fileCount) {
13215
13121
  const $scope9_id = _scope_id();
13216
- _html(`<span${_attr_class(["_N", "_jl"])}${_attr("title", `${repo.pr ? `#${repo.pr.number}` : repo.branch} is already in ${repo.base}; showing the working tree only`)}>already in ${_text_resume($scope9_id, "b", repo.base, $sg__input_repo * 2)}</span>${_el_resume($scope9_id, "a", $sg__input_repo)}`);
13122
+ _html(`<span${_attr_class(["_N", "_i8"])}${_attr("title", `${repo.pr ? `#${repo.pr.number}` : repo.branch} is already in ${repo.base}; showing the working tree only`)}>already in ${_text_resume($scope9_id, "b", repo.base, $sg__input_repo * 2)}</span>${_el_resume($scope9_id, "a", $sg__input_repo)}`);
13217
13123
  $si__input_repo__OR__input_fileCount && writeScope($scope9_id, { _: $si__input_repo && _scope_with_id($scope0_id) });
13218
13124
  return 0;
13219
13125
  }
@@ -13221,16 +13127,16 @@ var review_head_default = _template("t", (input) => {
13221
13127
  _if(() => {
13222
13128
  if (input.localDiffers) {
13223
13129
  const $scope2_id = _scope_id();
13224
- _html(`<span${_attr_class(["_N", "_jl"])}${_attr("title", `This view is ${shortSha(repo.head)} (${repo.pr.headRefName}); checked out is ${shortSha(repo.localHead)} (${repo.branch})`)}>local ${_text_resume($scope2_id, "b", shortBranch(repo.branch, input.workspaceBranch, input.workspaceName), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName * 2)}${_text_resume($scope2_id, "c", shortSha(repo.localHead, 7), $sg__input_repo * 2)}</span>${_el_resume($scope2_id, "a", $sg__input_repo)}`);
13130
+ _html(`<span${_attr_class(["_N", "_i8"])}${_attr("title", `This view is ${shortSha(repo.head)} (${repo.pr.headRefName}); checked out is ${shortSha(repo.localHead)} (${repo.branch})`)}>local ${_text_resume($scope2_id, "b", shortBranch(repo.branch, input.workspaceBranch, input.workspaceName), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName * 2)}${_text_resume($scope2_id, "c", shortSha(repo.localHead, 7), $sg__input_repo * 2)}</span>${_el_resume($scope2_id, "a", $sg__input_repo)}`);
13225
13131
  $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers && writeScope($scope2_id, { _: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && _scope_with_id($scope0_id) });
13226
13132
  return 0;
13227
13133
  }
13228
13134
  }, $scope0_id, "p", _serialize_guard($scope0_reason, 9), _serialize_guard($scope0_reason, 14), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers__OR__input_additions__OR__input_deletions__OR__input_hiddenCount__OR__input_newCount__OR__input_onlyNew, 0, 1);
13229
- _html(`<span${_attr_class("_i_")}><span>${_text_resume($scope0_id, "r", input.fileCount, $sg__input_fileCount)} file${_text_resume($scope0_id, "s", input.fileCount === 1 ? "" : "s", $sg__input_fileCount * 2)}</span>`);
13135
+ _html(`<span${_attr_class("_iW")}><span>${_text_resume($scope0_id, "r", input.fileCount, $sg__input_fileCount)} file${_text_resume($scope0_id, "s", input.fileCount === 1 ? "" : "s", $sg__input_fileCount * 2)}</span>`);
13230
13136
  _if(() => {
13231
13137
  if (input.additions || input.deletions) {
13232
13138
  const $scope3_id = _scope_id();
13233
- _html(`<span${_attr_class("_ja")}>+${_text_resume($scope3_id, "b", input.additions, _serialize_guard($scope0_reason, 15) * 2)}</span><span${_attr_class("_jb")}>−${_text_resume($scope3_id, "d", input.deletions, _serialize_guard($scope0_reason, 16) * 2)}</span>`);
13139
+ _html(`<span${_attr_class("_iX")}>+${_text_resume($scope3_id, "b", input.additions, _serialize_guard($scope0_reason, 15) * 2)}</span><span${_attr_class("_iY")}>−${_text_resume($scope3_id, "d", input.deletions, _serialize_guard($scope0_reason, 16) * 2)}</span>`);
13234
13140
  $si__input_additions__OR__input_deletions && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
13235
13141
  return 0;
13236
13142
  }
@@ -13238,7 +13144,7 @@ var review_head_default = _template("t", (input) => {
13238
13144
  _if(() => {
13239
13145
  if (input.hiddenCount) {
13240
13146
  const $scope4_id = _scope_id();
13241
- _html(`<button type=button${_attr_class("_jd")} title="Filtered out of the list — show every file">${_text_resume($scope4_id, "b", input.hiddenCount, $sg__input_hiddenCount)} hidden</button>${_el_resume($scope4_id, "a")}`);
13147
+ _html(`<button type=button${_attr_class("_i0")} title="Filtered out of the list — show every file">${_text_resume($scope4_id, "b", input.hiddenCount, $sg__input_hiddenCount)} hidden</button>${_el_resume($scope4_id, "a")}`);
13242
13148
  _script($scope4_id, "t1");
13243
13149
  writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
13244
13150
  return 0;
@@ -13247,7 +13153,7 @@ var review_head_default = _template("t", (input) => {
13247
13153
  _if(() => {
13248
13154
  if (input.newCount || input.onlyNew) {
13249
13155
  const $scope5_id = _scope_id();
13250
- _html(`<button type=button${_attr_class(["_jd", { ["_jc"]: input.onlyNew }])} aria-pressed=${input.onlyNew ? "true" : "false"} title=${input.onlyNew ? "\"Show every file\"" : "\"Show only files changed since your last visit\""}>${_text_resume($scope5_id, "b", input.newCount, _serialize_guard($scope0_reason, 18))} new</button>${_el_resume($scope5_id, "a")}`);
13156
+ _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($scope5_id, "b", input.newCount, _serialize_guard($scope0_reason, 18))} new</button>${_el_resume($scope5_id, "a")}`);
13251
13157
  _script($scope5_id, "t2");
13252
13158
  writeScope($scope5_id, { _: _scope_with_id($scope0_id) });
13253
13159
  return 0;
@@ -13287,7 +13193,7 @@ var review_head_default = _template("t", (input) => {
13287
13193
  b4: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && compare$1?.topic
13288
13194
  });
13289
13195
  });
13290
- var fileFilter = "_jn _n";
13196
+ var fileFilter = "_jq _n";
13291
13197
  //#endregion
13292
13198
  //#region src/tags/file-filter.marko
13293
13199
  var file_filter_default = _template("j", (input) => {
@@ -13317,7 +13223,7 @@ var file_filter_default = _template("j", (input) => {
13317
13223
  pending = v;
13318
13224
  box.timer = setTimeout(flush, 150);
13319
13225
  }, "j2", $scope0_id);
13320
- _html(`<div${_attr_class("_jm")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
13226
+ _html(`<div${_attr_class("_jp")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
13321
13227
  type(v);
13322
13228
  }, "j0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
13323
13229
  _script($scope0_id, "j3");
@@ -13337,9 +13243,11 @@ var file_filter_default = _template("j", (input) => {
13337
13243
  //#endregion
13338
13244
  //#region src/tags/review-tree.marko
13339
13245
  var review_tree_default = _template("u", (input) => {
13340
- const $scope0_reason = _scope_reason(), $sg__input_sections = _serialize_guard($scope0_reason, 2), $sg__input_sections_length = _serialize_guard($scope0_reason, 3), $si__input_sections_length = _serialize_if($scope0_reason, 3), $si__input_sections = _serialize_if($scope0_reason, 2);
13246
+ const $scope0_reason = _scope_reason(), $sg__input_sections = _serialize_guard($scope0_reason, 2), $sg__input_sections_length = _serialize_guard($scope0_reason, 3), $si__input_sections_length = _serialize_if($scope0_reason, 3);
13341
13247
  const $scope0_id = _scope_id();
13248
+ const $closed__closures = /* @__PURE__ */ new Set();
13342
13249
  let filter$1 = input.filter;
13250
+ let closed$4 = /* @__PURE__ */ new Set();
13343
13251
  let width = diffTreeWidth();
13344
13252
  let dragging$1 = false;
13345
13253
  const dragBox = { id: -1 };
@@ -13361,7 +13269,7 @@ var review_tree_default = _template("u", (input) => {
13361
13269
  dragging$1 = false;
13362
13270
  if (width != null) setDiffTreeWidth(width);
13363
13271
  }, "u2", $scope0_id);
13364
- _html(`<div${_attr_class(["_iB", { ["_iA"]: input.open === false }])}${width != null ? _attr_style(`--tree-w:${width}px`) : ""}><div${_attr_class(["_iI", { ["_iH"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class("_iC")}>`);
13272
+ _html(`<div${_attr_class(["_ir", { ["_iq"]: input.open === false }])}${width != null ? _attr_style(`--tree-w:${width}px`) : ""}><div${_attr_class(["_iE", { ["_iD"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class("_is")}>`);
13365
13273
  _set_serialize_reason(2);
13366
13274
  const $childScope = _peek_scope_id();
13367
13275
  file_filter_default({
@@ -13370,47 +13278,54 @@ var review_tree_default = _template("u", (input) => {
13370
13278
  filter$1 = _new_filter;
13371
13279
  }, "u3", $scope0_id)
13372
13280
  });
13373
- _html(`</div><div${_attr_class("_iD")}>`);
13281
+ _html(`</div><div${_attr_class("_it")}>`);
13374
13282
  _for_of(input.sections, (section) => {
13375
13283
  const $scope1_id = _scope_id();
13376
- _html(`<div${_attr_class("_iE")}${_attr("data-section", section.id)}>`);
13284
+ _html(`<div${_attr_class(["_iv", { ["_iu"]: input.sections.length === 1 }])}${_attr("data-section", section.id)}>`);
13377
13285
  _if(() => {
13378
13286
  if (input.sections.length > 1) {
13379
13287
  const $scope2_id = _scope_id();
13380
- _html(`<div${_attr_class("_iF")}${_attr("title", section.label)}>${_text_resume($scope2_id, "b", section.label, $sg__input_sections)}</div>${_el_resume($scope2_id, "a", $sg__input_sections)}`);
13381
- $si__input_sections && writeScope($scope2_id, { _: _scope_with_id($scope1_id) });
13288
+ _html(`<button type=button${_attr_class("_iw")}${_attr("title", section.label)} aria-expanded=${closed$4.has(section.id) ? "false" : "true"}><span${_attr_class(["_ix", { ["_iy"]: !closed$4.has(section.id) }])} aria-hidden=true>`);
13289
+ icon_chevron_right_default({ size: 12 });
13290
+ _html(`</span>${_el_resume($scope2_id, "b")}<span${_attr_class("_iz")}>${_text_resume($scope2_id, "e", section.label, $sg__input_sections)}</span><span${_attr_class("_iA")}>${_text_resume($scope2_id, "g", section.files.length, $sg__input_sections)}</span></button>${_el_resume($scope2_id, "a")}`);
13291
+ _script($scope2_id, "u4");
13292
+ _subscribe($closed__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }));
13382
13293
  return 0;
13383
13294
  }
13384
13295
  }, $scope1_id, "b", $sg__input_sections, $sg__input_sections_length, $sg__input_sections_length, 0, 1);
13385
- _html(`<div${_attr_class("_iG")}${_attr("data-tree", section.id)}></div>${_el_resume($scope1_id, "c", $sg__input_sections)}</div>${_el_resume($scope1_id, "a", $sg__input_sections)}`);
13386
- $si__input_sections && writeScope($scope1_id, {
13387
- g: $si__input_sections_length && section?.label,
13388
- _: $si__input_sections_length && _scope_with_id($scope0_id)
13296
+ _html(`<div${_attr_class(["_iC", { ["_iB"]: input.sections.length === 1 }])}${_attr("data-tree", section.id)}${_attr("hidden", closed$4.has(section.id))}></div>${_el_resume($scope1_id, "c")}</div>${_el_resume($scope1_id, "a", $sg__input_sections)}`);
13297
+ writeScope($scope1_id, {
13298
+ f: section?.id,
13299
+ h: $si__input_sections_length && section?.label,
13300
+ j: $si__input_sections_length && section?.files?.length,
13301
+ _: _scope_with_id($scope0_id)
13389
13302
  });
13390
- }, "id", $scope0_id, "e", $sg__input_sections, $sg__input_sections, $sg__input_sections, "</div>", 1);
13303
+ }, "id", $scope0_id, "e", 1, $sg__input_sections, $sg__input_sections, "</div>", 1);
13391
13304
  _html(`</div>${_el_resume($scope0_id, "a")}`);
13392
- _script($scope0_id, "u4");
13393
13305
  _script($scope0_id, "u5");
13306
+ _script($scope0_id, "u6");
13394
13307
  writeScope($scope0_id, {
13395
13308
  h: _serialize_if($scope0_reason, 1) && input.filter,
13396
13309
  i: _serialize_if($scope0_reason, 0) && input.filterChange,
13397
13310
  l: input.sections,
13398
- m: $si__input_sections && input.sections?.length,
13311
+ m: _serialize_if($scope0_reason, 2) && input.sections?.length,
13399
13312
  n: input.commentCounts,
13400
13313
  o: input.newKeys,
13401
13314
  p: input.onSelect,
13402
13315
  q: filter$1,
13403
- t: width,
13404
- w: dragBox.id,
13405
- y: startDrag,
13406
- z: moveDrag,
13407
- a0: endDrag,
13316
+ t: closed$4,
13317
+ u: width,
13318
+ x: dragBox.id,
13319
+ z: startDrag,
13320
+ a0: moveDrag,
13321
+ a1: endDrag,
13408
13322
  r: input.filterChange || void 0,
13409
- d: _existing_scope($childScope)
13323
+ d: _existing_scope($childScope),
13324
+ a3: $closed__closures
13410
13325
  });
13411
13326
  _resume_branch($scope0_id);
13412
13327
  });
13413
- var sheetDir = "_i0 _bb";
13328
+ var sheetDir = "_jj _bb";
13414
13329
  //#endregion
13415
13330
  //#region src/tags/icons/icon-comment.marko
13416
13331
  var icon_comment_default = _template("X", (input) => {
@@ -13483,9 +13398,9 @@ var diff_file_sheet_default = _template("g", (input) => {
13483
13398
  _if(() => {
13484
13399
  if (open) {
13485
13400
  const $scope1_id = _scope_id();
13486
- _html(`<div${_attr_class("_iR")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_iS")} role=dialog aria-label="Jump to file"><div${_attr_class("_iT")}><strong${_attr_class("_iQ")}>Files</strong><span${_attr_class("_iU")}>${_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, "_iP"])} title=Close aria-label=Close>`);
13401
+ _html(`<div${_attr_class("_ja")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_jb")} role=dialog aria-label="Jump to file"><div${_attr_class("_jc")}><strong${_attr_class("_i_")}>Files</strong><span${_attr_class("_jd")}>${_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, "_i9"])} title=Close aria-label=Close>`);
13487
13402
  icon_xmark_default({ size: 16 });
13488
- _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_i2")}>`);
13403
+ _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_jl")}>`);
13489
13404
  _set_serialize_reason(2);
13490
13405
  const $childScope = _peek_scope_id();
13491
13406
  file_filter_default({
@@ -13494,13 +13409,13 @@ var diff_file_sheet_default = _template("g", (input) => {
13494
13409
  filter = _new_filter;
13495
13410
  }, "g1", $scope1_id)
13496
13411
  });
13497
- _html(`</div><div${_attr_class("_iV")}>`);
13412
+ _html(`</div><div${_attr_class("_je")}>`);
13498
13413
  _for_of(groups, (group) => {
13499
13414
  const $scope2_id = _scope_id();
13500
- _html(`<div${_attr_class("_iW")}><div${_attr_class("_iX")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
13415
+ _html(`<div${_attr_class("_jf")}><div${_attr_class("_jg")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
13501
13416
  _for_of(group.dirs, ({ dir, files }) => {
13502
13417
  const $scope3_id = _scope_id();
13503
- _html(`<div${_attr_class("_iY")}>`);
13418
+ _html(`<div${_attr_class("_jh")}>`);
13504
13419
  _if(() => {
13505
13420
  if (dir) {
13506
13421
  const $scope5_id = _scope_id();
@@ -13511,11 +13426,11 @@ var diff_file_sheet_default = _template("g", (input) => {
13511
13426
  }, $scope3_id, "b", $sg__input_files, $sg__input_files, $sg__input_files, 0, 1);
13512
13427
  _for_of(files, ({ file, name }) => {
13513
13428
  const $scope4_id = _scope_id();
13514
- _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_iZ", "_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("_i1")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
13429
+ _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_ji", "_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("_jk")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
13515
13430
  _if(() => {
13516
13431
  if (newKeys.has(file.key)) {
13517
13432
  const $scope6_id = _scope_id();
13518
- _html(`<span${_attr_class(["_A", "_i4"])} title="Changed since your last visit"></span>`);
13433
+ _html(`<span${_attr_class(["_A", "_jn"])} title="Changed since your last visit"></span>`);
13519
13434
  _serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
13520
13435
  return 0;
13521
13436
  }
@@ -13525,7 +13440,7 @@ var diff_file_sheet_default = _template("g", (input) => {
13525
13440
  const $scope7_id = _scope_id();
13526
13441
  icon_comment_default({
13527
13442
  size: 12,
13528
- class: "_i5"
13443
+ class: "_jo"
13529
13444
  });
13530
13445
  _serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
13531
13446
  return 0;
@@ -13550,7 +13465,7 @@ var diff_file_sheet_default = _template("g", (input) => {
13550
13465
  _if(() => {
13551
13466
  if (!input.files.length) {
13552
13467
  const $scope8_id = _scope_id();
13553
- _html(`<p${_attr_class("_i3")}>No files match.</p>`);
13468
+ _html(`<p${_attr_class("_jm")}>No files match.</p>`);
13554
13469
  $si__input_files_length && writeScope($scope8_id, {});
13555
13470
  return 0;
13556
13471
  }
@@ -13591,7 +13506,7 @@ var getTermDims;
13591
13506
  var review_view_default = _template("v", (input) => {
13592
13507
  const $scope0_reason = _scope_reason(), $si__input_workspaceBranch = _serialize_if($scope0_reason, 9), $si__input_workspaceName = _serialize_if($scope0_reason, 10);
13593
13508
  const $scope0_id = _scope_id();
13594
- const $findFocus_getter = _hoist($scope0_id, "v39");
13509
+ const $findFocus_getter = _hoist($scope0_id, "v38");
13595
13510
  const $error__closures = /* @__PURE__ */ new Set();
13596
13511
  const $scope__closures = /* @__PURE__ */ new Set();
13597
13512
  const $input_workspaceBranch__closures = /* @__PURE__ */ new Set();
@@ -13609,7 +13524,7 @@ var review_view_default = _template("v", (input) => {
13609
13524
  let fileFilter = diffFilter(input.workspaceId);
13610
13525
  const $filterChange = _resume((_new_fileFilter) => {
13611
13526
  fileFilter = _new_fileFilter;
13612
- }, "v2", $scope0_id);
13527
+ }, "v1", $scope0_id);
13613
13528
  let onlyNew = false;
13614
13529
  let scope = input.scope ?? diffScope();
13615
13530
  let rev = input.rev ?? null;
@@ -13630,9 +13545,9 @@ var review_view_default = _template("v", (input) => {
13630
13545
  };
13631
13546
  const loadBox = { seq: 0 };
13632
13547
  const viewBox = {
13633
- scrollToItem: _resume((_key) => {}, "v3"),
13634
- scrollToLine: _resume((_key, _line, _side) => {}, "v4"),
13635
- clearSelection: _resume(() => {}, "v5")
13548
+ scrollToItem: _resume((_key) => {}, "v2"),
13549
+ scrollToLine: _resume((_key, _line, _side) => {}, "v3"),
13550
+ clearSelection: _resume(() => {}, "v4")
13636
13551
  };
13637
13552
  const posBox = {
13638
13553
  anchor: null,
@@ -13644,16 +13559,16 @@ var review_view_default = _template("v", (input) => {
13644
13559
  };
13645
13560
  const restorePos = _resume((pos) => {
13646
13561
  restoreBox.pos = pos;
13647
- }, "v6", $scope0_id);
13562
+ }, "v5", $scope0_id);
13648
13563
  const savePos = _resume(() => {
13649
13564
  if (repos) setDiffPos(input.workspaceId, posBox.anchor);
13650
- }, "v7", $scope0_id);
13565
+ }, "v6", $scope0_id);
13651
13566
  const jumpTo = _resume((key) => {
13652
13567
  restoreBox.pos = null;
13653
13568
  restoreBox.jump = key;
13654
13569
  input.onFileChange?.(key);
13655
13570
  viewBox.scrollToItem(key);
13656
- }, "v8", $scope0_id);
13571
+ }, "v7", $scope0_id);
13657
13572
  const focusPrSection = _resume((pr) => {
13658
13573
  const section = (repos || []).find((r) => r.pr && `${r.worktree}/${r.pr.number}` === pr);
13659
13574
  const first = section?.files[0];
@@ -13661,7 +13576,7 @@ var review_view_default = _template("v", (input) => {
13661
13576
  restoreBox.pos = null;
13662
13577
  viewBox.scrollToItem(`${section.worktree}/${first.path}`);
13663
13578
  }
13664
- }, "v9", $scope0_id);
13579
+ }, "v8", $scope0_id);
13665
13580
  const load = _resume(async (which = scope, refresh = false) => {
13666
13581
  const seq = ++loadBox.seq;
13667
13582
  loading = true;
@@ -13691,33 +13606,49 @@ var review_view_default = _template("v", (input) => {
13691
13606
  } finally {
13692
13607
  if (seq === loadBox.seq) loading = false;
13693
13608
  }
13694
- }, "v10", $scope0_id);
13695
- const reload = _resume(() => load(scope, true), "v11", $scope0_id);
13609
+ }, "v9", $scope0_id);
13610
+ const reload = _resume(() => load(scope, true), "v10", $scope0_id);
13696
13611
  const reloadSoon = _resume(() => {
13697
13612
  if (headBox.timer) clearTimeout(headBox.timer);
13698
13613
  headBox.timer = setTimeout(() => {
13699
13614
  headBox.timer = 0;
13700
13615
  if (input.active && !loading) load(scope, true);
13701
13616
  }, 400);
13702
- }, "v12", $scope0_id);
13617
+ }, "v11", $scope0_id);
13703
13618
  const loadReview = _resume(async () => {
13704
13619
  try {
13705
13620
  comments = (await api$6(`/api/workspaces/${input.workspaceId}/review`)).comments || [];
13706
13621
  } catch {}
13707
- }, "v13", $scope0_id);
13622
+ }, "v12", $scope0_id);
13708
13623
  const setScope = _resume((next, remember = true) => {
13709
13624
  if (next === scope) return;
13710
13625
  scope = next;
13711
13626
  if (remember) setDiffScope(next);
13712
13627
  input.onScopeChange?.(next);
13713
13628
  load(next);
13714
- }, "v14", $scope0_id);
13629
+ }, "v13", $scope0_id);
13715
13630
  const setRev = _resume((next) => {
13716
13631
  if (next === rev) return;
13717
13632
  rev = next;
13718
13633
  input.onRevChange?.(next);
13719
13634
  load(scope);
13720
- }, "v15", $scope0_id);
13635
+ }, "v14", $scope0_id);
13636
+ const pickCompare = (v) => {
13637
+ if (v.startsWith("rev:")) {
13638
+ setRev(v.slice(4));
13639
+ return;
13640
+ }
13641
+ const next = v;
13642
+ if (rev) {
13643
+ rev = null;
13644
+ input.onRevChange?.(null);
13645
+ if (next === scope) {
13646
+ load(scope);
13647
+ return;
13648
+ }
13649
+ }
13650
+ setScope(next);
13651
+ };
13721
13652
  const markSeen = _resume(() => {
13722
13653
  if (!repos) return;
13723
13654
  const heads = {};
@@ -13736,7 +13667,7 @@ var review_view_default = _template("v", (input) => {
13736
13667
  }),
13737
13668
  keepalive: true
13738
13669
  }).catch(() => {});
13739
- }, "v16", $scope0_id);
13670
+ }, "v15", $scope0_id);
13740
13671
  const repoList = repos || [];
13741
13672
  const shownRepos = rev ? repoList.filter((r) => r.rev) : repoList;
13742
13673
  const allFiles = shownRepos.flatMap((r) => r.files.map((f) => ({
@@ -13808,8 +13739,8 @@ var review_view_default = _template("v", (input) => {
13808
13739
  files,
13809
13740
  fresh
13810
13741
  };
13811
- }, "v17", $scope0_id);
13812
- const fileWorktree = _resume((repo) => repo.includes("#") ? repo.split("#")[0] : repo, "v18");
13742
+ }, "v16", $scope0_id);
13743
+ const fileWorktree = _resume((repo) => repo.includes("#") ? repo.split("#")[0] : repo, "v17");
13813
13744
  const anchorFor = _resume((file, range) => {
13814
13745
  const section = repoList.find((r) => r.id === file.repo);
13815
13746
  const meta = fileDiffFor(file, file.key);
@@ -13818,8 +13749,8 @@ var review_view_default = _template("v", (input) => {
13818
13749
  head: section?.head,
13819
13750
  snippet: meta ? quoteRangeFromDiff(meta, side, range.start, range.end) : void 0
13820
13751
  };
13821
- }, "v19", $scope0_id);
13822
- const fileByKey = _resume((key) => allFiles.find((f) => f.key === key), "v20", $scope0_id);
13752
+ }, "v18", $scope0_id);
13753
+ const fileByKey = _resume((key) => allFiles.find((f) => f.key === key), "v19", $scope0_id);
13823
13754
  const saveComment = _resume(async (key, text) => {
13824
13755
  const range = draft;
13825
13756
  const file = fileByKey(key);
@@ -13844,16 +13775,16 @@ var review_view_default = _template("v", (input) => {
13844
13775
  } catch (err) {
13845
13776
  error = String(err.message || err);
13846
13777
  }
13847
- }, "v21", $scope0_id);
13778
+ }, "v20", $scope0_id);
13848
13779
  const deleteRemote = _resume((ids) => ids === "all" ? fetch(`/api/workspaces/${input.workspaceId}/review`, {
13849
13780
  method: "POST",
13850
13781
  headers: { "content-type": "application/json" },
13851
13782
  body: JSON.stringify({ action: "clear" })
13852
- }) : Promise.all(ids.map((id) => fetch(`/api/workspaces/${input.workspaceId}/review/${id}`, { method: "DELETE" }))), "v22", $scope0_id);
13783
+ }) : Promise.all(ids.map((id) => fetch(`/api/workspaces/${input.workspaceId}/review/${id}`, { method: "DELETE" }))), "v21", $scope0_id);
13853
13784
  const removeComment = _resume(async (id) => {
13854
13785
  comments = comments.filter((c) => c.id !== id);
13855
13786
  await deleteRemote([id]).catch(() => {});
13856
- }, "v23", $scope0_id);
13787
+ }, "v22", $scope0_id);
13857
13788
  const editComment = _resume(async (id, text) => {
13858
13789
  const prev = comments.find((c) => c.id === id);
13859
13790
  if (!prev) return;
@@ -13874,7 +13805,7 @@ var review_view_default = _template("v", (input) => {
13874
13805
  error = String(err.message || err);
13875
13806
  throw err;
13876
13807
  }
13877
- }, "v24", $scope0_id);
13808
+ }, "v23", $scope0_id);
13878
13809
  const sendGate = { busy: 0 };
13879
13810
  const dispatch = _resume(async (list, to, consume) => {
13880
13811
  if (!list.length) return true;
@@ -13911,13 +13842,13 @@ var review_view_default = _template("v", (input) => {
13911
13842
  } finally {
13912
13843
  sendGate.busy--;
13913
13844
  }
13914
- }, "v25", $scope0_id);
13915
- const copyMarkdown = _resume(() => dispatch(comments, { clipboard: true }, "all"), "v26", $scope0_id);
13916
- const sendTo = _resume((sessionId) => dispatch(comments, { session: sessionId }, "all"), "v27", $scope0_id);
13845
+ }, "v24", $scope0_id);
13846
+ const copyMarkdown = _resume(() => dispatch(comments, { clipboard: true }, "all"), "v25", $scope0_id);
13847
+ const sendTo = _resume((sessionId) => dispatch(comments, { session: sessionId }, "all"), "v26", $scope0_id);
13917
13848
  const sendOneComment = _resume((id, sessionId) => {
13918
13849
  const comment = comments.find((c) => c.id === id);
13919
13850
  return comment ? dispatch([comment], { session: sessionId }, [id]) : Promise.resolve(false);
13920
- }, "v28", $scope0_id);
13851
+ }, "v27", $scope0_id);
13921
13852
  const sendDraftComment = _resume((key, text, sessionId) => {
13922
13853
  const range = draft;
13923
13854
  const file = fileByKey(key);
@@ -13936,12 +13867,12 @@ var review_view_default = _template("v", (input) => {
13936
13867
  ...anchorFor(file, range)
13937
13868
  };
13938
13869
  return dispatch([one], { session: sessionId }, []);
13939
- }, "v29", $scope0_id);
13870
+ }, "v28", $scope0_id);
13940
13871
  const openFind = _resume(() => {
13941
13872
  findOpen = true;
13942
13873
  findTick++;
13943
13874
  ((findFocus) => findFocus())(_hoist_read_error);
13944
- }, "v30", $scope0_id);
13875
+ }, "v29", $scope0_id);
13945
13876
  const onFindState = (next) => {
13946
13877
  findState = next;
13947
13878
  if (!next.hit) return;
@@ -13951,11 +13882,11 @@ var review_view_default = _template("v", (input) => {
13951
13882
  else viewBox.scrollToLine(hit.key, hit.line, hit.side);
13952
13883
  }, 0);
13953
13884
  };
13954
- _html(`<div${_attr_class("_fu")}><div${_attr_class("_fz")}><div${_attr_class("_gc")}><div${_attr_class("_fA")}><div${_attr_class(["_fK", { ["_fJ"]: !comments.length }])}>`);
13885
+ _html(`<div${_attr_class("_gl")}><div${_attr_class("_gq")}><div${_attr_class("_gZ")}><div${_attr_class("_gr")}><div${_attr_class(["_gB", { ["_gA"]: !comments.length }])}>`);
13955
13886
  _if(() => {
13956
13887
  if (input.onExit) {
13957
13888
  const $scope1_id = _scope_id();
13958
- _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_fB"])} title="Back to terminal (⌘/Ctrl+Shift+D)">`);
13889
+ _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_gs"])} title="Back to terminal (⌘/Ctrl+Shift+D)">`);
13959
13890
  icon_back_default({ size: 14 });
13960
13891
  _html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 2))}`);
13961
13892
  _serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 2) && _scope_with_id($scope0_id) });
@@ -13966,7 +13897,7 @@ var review_view_default = _template("v", (input) => {
13966
13897
  _if(() => {
13967
13898
  if (comments.length) {
13968
13899
  const $scope2_id = _scope_id();
13969
- _html(`<span${_attr_class("_fD")}>${_text_resume($scope2_id, "b", comments.length)} comment${_text_resume($scope2_id, "c", comments.length === 1 ? "" : "s", 2)}</span><span${_attr_class("_fC")}>`);
13900
+ _html(`<span${_attr_class("_gu")}>${_text_resume($scope2_id, "b", comments.length)} comment${_text_resume($scope2_id, "c", comments.length === 1 ? "" : "s", 2)}</span><span${_attr_class("_gt")}>`);
13970
13901
  _set_serialize_reason(_serialize_guard($scope0_reason, 8));
13971
13902
  const $childScope = _peek_scope_id();
13972
13903
  diff_send_default({
@@ -13979,23 +13910,23 @@ var review_view_default = _template("v", (input) => {
13979
13910
  return 0;
13980
13911
  }
13981
13912
  }, $scope0_id, "h");
13982
- _html(`</div>${_el_resume($scope0_id, "e")}<div${_attr_class(["_fy", "_f5"])}>`);
13913
+ _html(`</div>${_el_resume($scope0_id, "e")}<div${_attr_class(["_gp", "_gW"])}>`);
13983
13914
  _if(() => {
13984
13915
  if (hasFiles) {
13985
- const $scope13_id = _scope_id();
13916
+ const $scope12_id = _scope_id();
13986
13917
  _html(`<button${_attr_class([
13987
13918
  treeToggle,
13988
- "_fw",
13989
- { ["_fv"]: treeOpen }
13919
+ "_gn",
13920
+ { ["_gm"]: treeOpen }
13990
13921
  ])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
13991
13922
  icon_sidebar_default({ size: 14 });
13992
- _html(`</button>${_el_resume($scope13_id, "a")}`);
13993
- _script($scope13_id, "v40");
13994
- writeScope($scope13_id, {});
13923
+ _html(`</button>${_el_resume($scope12_id, "a")}`);
13924
+ _script($scope12_id, "v39");
13925
+ writeScope($scope12_id, {});
13995
13926
  return 0;
13996
13927
  }
13997
13928
  }, $scope0_id, "j", 1, 1, 1, 0, 1);
13998
- _html(`<button${_attr_class([iconBtnRow, "_fw"])} title="Refresh diff"${_attr("disabled", loading)}>`);
13929
+ _html(`<button${_attr_class([iconBtnRow, "_gn"])} title="Refresh diff"${_attr("disabled", loading)}>`);
13999
13930
  _set_serialize_reason(1);
14000
13931
  const $childScope2 = _peek_scope_id();
14001
13932
  icon_refresh_default({
@@ -14005,60 +13936,42 @@ var review_view_default = _template("v", (input) => {
14005
13936
  _html(`</button>${_el_resume($scope0_id, "k")}`);
14006
13937
  _if(() => {
14007
13938
  if (hasFiles) {
14008
- const $scope8_id = _scope_id();
14009
- _html(`<span${_attr_class([
14010
- "_o",
14011
- "_fw",
14012
- commitWrap
14013
- ])}><span${_attr_class(["_f9", { ["_f8"]: !!rev }])} aria-hidden=true title=Commit>`);
14014
- icon_branch_default({ size: 14 });
14015
- _html(`</span>${_el_resume($scope8_id, "b")}`);
14016
- _attr_select_value($scope8_id, "d", rev || "", _resume(function(v) {
14017
- setRev(v || null);
14018
- }, "v0", $scope8_id), () => {
14019
- _html(`<select${_attr_class([
14020
- "_p",
14021
- "_fM",
14022
- "_gb",
14023
- "_f_"
14024
- ])} aria-label=Commit${_attr("disabled", loading || commitOptions.length < 2)}><option${_attr_option_value("")}>All commits</option>`);
14025
- _for_of(commitOptions, (c) => {
14026
- const $scope16_id = _scope_id();
14027
- _html(`<option${_attr_option_value(c.sha)}>${_text_resume($scope16_id, "b", c.label)}</option>${_el_resume($scope16_id, "a")}`);
14028
- writeScope($scope16_id, {});
14029
- }, "sha", $scope8_id, "e", 1, 1, 1, 0, 1);
14030
- _html("</select>");
14031
- });
14032
- _html(`${_el_resume($scope8_id, "d")}</span>`);
14033
- _script($scope8_id, "v41");
14034
- writeScope($scope8_id, {});
13939
+ const $scope13_id = _scope_id();
13940
+ _html(`<button${_attr_class(["_q", "_gK"])} title="Jump to file">Files (${_text_resume($scope13_id, "b", shownFiles.length, 2)})</button>${_el_resume($scope13_id, "a")}`);
13941
+ _script($scope13_id, "v40");
13942
+ writeScope($scope13_id, {});
14035
13943
  return 0;
14036
13944
  }
14037
13945
  }, $scope0_id, "m", 1, 1, 1, 0, 1);
14038
- _if(() => {
14039
- if (hasFiles) {
14040
- const $scope14_id = _scope_id();
14041
- _html(`<button${_attr_class(["_q", "_fT"])} title="Jump to file">Files (${_text_resume($scope14_id, "b", shownFiles.length, 2)})</button>${_el_resume($scope14_id, "a")}`);
14042
- _script($scope14_id, "v42");
14043
- writeScope($scope14_id, {});
14044
- return 0;
14045
- }
14046
- }, $scope0_id, "n", 1, 1, 1, 0, 1);
14047
13946
  _html(`<span${_attr_class([
14048
13947
  "_o",
14049
- "_fL",
14050
- "_f6"
13948
+ "_gC",
13949
+ "_gX"
14051
13950
  ])}>`);
14052
- _attr_select_value($scope0_id, "p", scope, _resume(function(v) {
14053
- setScope(v);
14054
- }, "v1", $scope0_id), () => {
13951
+ _attr_select_value($scope0_id, "o", rev ? `rev:${rev}` : scope, _resume(function(v) {
13952
+ pickCompare(v);
13953
+ }, "v0", $scope0_id), () => {
14055
13954
  _html(`<select${_attr_class([
14056
13955
  "_p",
14057
- "_fM",
14058
- "_ga"
14059
- ])} aria-label="Review scope"${_attr("disabled", loading || !!rev)}><option${_attr_option_value("committed")}>Committed</option><option${_attr_option_value("working")}>Working tree</option><option${_attr_option_value("dirty")}>Uncommitted</option></select>`);
13956
+ "_gD",
13957
+ "_gY"
13958
+ ])} aria-label=Compare${_attr("disabled", loading)}><option${_attr_option_value("committed")}>Committed</option><option${_attr_option_value("working")}>Working tree</option><option${_attr_option_value("dirty")}>Uncommitted</option>`);
13959
+ _if(() => {
13960
+ if (commitOptions.length) {
13961
+ const $scope15_id = _scope_id();
13962
+ _html("<optgroup label=Commits>");
13963
+ _for_of(commitOptions, (c) => {
13964
+ const $scope16_id = _scope_id();
13965
+ _html(`<option${_attr_option_value(`rev:${c.sha}`)}>${_text_resume($scope16_id, "b", c.label)}</option>${_el_resume($scope16_id, "a")}`);
13966
+ writeScope($scope16_id, {});
13967
+ }, "sha", $scope15_id, "a", 1, 1, 1, "</optgroup>", 1);
13968
+ writeScope($scope15_id, {});
13969
+ return 0;
13970
+ }
13971
+ }, $scope0_id, "p", 1, 1, 1, 0, 1);
13972
+ _html("</select>");
14060
13973
  });
14061
- _html(`${_el_resume($scope0_id, "p")}</span> <div${_attr_class(["_fH", { ["_fG"]: !findOpen }])}>`);
13974
+ _html(`${_el_resume($scope0_id, "o")}</span> <div${_attr_class(["_gy", { ["_gx"]: !findOpen }])}>`);
14062
13975
  _set_serialize_reason(2);
14063
13976
  const $childScope3 = _peek_scope_id();
14064
13977
  let findFocus = diff_find_default({
@@ -14069,37 +13982,37 @@ var review_view_default = _template("v", (input) => {
14069
13982
  open: findOpen,
14070
13983
  openChange: _resume((_new_findOpen) => {
14071
13984
  findOpen = _new_findOpen;
14072
- }, "v31", $scope0_id),
13985
+ }, "v30", $scope0_id),
14073
13986
  stateChange: function(s) {
14074
13987
  onFindState(s);
14075
13988
  }
14076
13989
  });
14077
- _var($scope0_id, "s", $childScope3, "v43");
13990
+ _var($scope0_id, "s", $childScope3, "v41");
14078
13991
  _html(`</div>${_el_resume($scope0_id, "q")}`);
14079
13992
  _if(() => {
14080
13993
  if (hasFiles && !pinnedFind) {
14081
- const $scope15_id = _scope_id();
13994
+ const $scope14_id = _scope_id();
14082
13995
  _html(`<button${_attr_class([
14083
13996
  iconBtnRow,
14084
- "_fF",
14085
- "_fw"
13997
+ "_gw",
13998
+ "_gn"
14086
13999
  ])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
14087
14000
  icon_search_default({ size: 14 });
14088
- _html(`</button>${_el_resume($scope15_id, "a")}`);
14089
- _script($scope15_id, "v44");
14090
- writeScope($scope15_id, {});
14001
+ _html(`</button>${_el_resume($scope14_id, "a")}`);
14002
+ _script($scope14_id, "v42");
14003
+ writeScope($scope14_id, {});
14091
14004
  return 0;
14092
14005
  }
14093
14006
  }, $scope0_id, "t", 1, 1, 1, 0, 1);
14094
- _html(`</div></div><div${_attr_class("_fV")}>`);
14007
+ _html(`</div></div><div${_attr_class("_gM")}>`);
14095
14008
  _if(() => {
14096
14009
  if (error) {
14097
14010
  const $scope6_id = _scope_id();
14098
14011
  toast_default({
14099
14012
  onDismiss: _resume(function() {
14100
14013
  error = null;
14101
- }, "v32", $scope6_id),
14102
- content: _content("v45", () => {
14014
+ }, "v31", $scope6_id),
14015
+ content: _content("v43", () => {
14103
14016
  _scope_reason();
14104
14017
  const $scope7_id = _scope_id();
14105
14018
  _html(_text_resume($scope7_id, "a", error));
@@ -14112,7 +14025,7 @@ var review_view_default = _template("v", (input) => {
14112
14025
  }
14113
14026
  }, $scope0_id, "v", 1, 1, 1, 0, 1);
14114
14027
  _for_of(repoList.filter((r) => r.baseMissing), (repo) => {
14115
- const $scope10_id = _scope_id();
14028
+ const $scope9_id = _scope_id();
14116
14029
  const $for_content2__repo_base__closures = /* @__PURE__ */ new Set();
14117
14030
  _set_serialize_reason(356);
14118
14031
  const $childScope4 = _peek_scope_id();
@@ -14120,15 +14033,15 @@ var review_view_default = _template("v", (input) => {
14120
14033
  kind: "warn",
14121
14034
  placement: "inline",
14122
14035
  title: `${repo.worktree}: base not found`,
14123
- content: _content("v46", () => {
14036
+ content: _content("v44", () => {
14124
14037
  _scope_reason();
14125
- const $scope11_id = _scope_id();
14126
- _html(`${_text_resume($scope11_id, "a", repo.base)}${_text_resume($scope11_id, "b", scope !== "committed" ? ", showing uncommitted changes only" : "", 2)}.`);
14127
- _subscribe($for_content2__repo_base__closures, _subscribe($scope__closures, writeScope($scope11_id, { _: _scope_with_id($scope10_id) })));
14128
- _resume_branch($scope11_id);
14129
- }, $scope10_id)
14038
+ const $scope10_id = _scope_id();
14039
+ _html(`${_text_resume($scope10_id, "a", repo.base)}${_text_resume($scope10_id, "b", scope !== "committed" ? ", showing uncommitted changes only" : "", 2)}.`);
14040
+ _subscribe($for_content2__repo_base__closures, _subscribe($scope__closures, writeScope($scope10_id, { _: _scope_with_id($scope9_id) })));
14041
+ _resume_branch($scope10_id);
14042
+ }, $scope9_id)
14130
14043
  });
14131
- writeScope($scope10_id, {
14044
+ writeScope($scope9_id, {
14132
14045
  f: $for_content2__repo_base__closures,
14133
14046
  a: _existing_scope($childScope4)
14134
14047
  });
@@ -14136,21 +14049,21 @@ var review_view_default = _template("v", (input) => {
14136
14049
  _if(() => {
14137
14050
  if (!repos && loading) {
14138
14051
  const $scope17_id = _scope_id();
14139
- _html(`<div${_attr_class("_fO")} aria-hidden=true><div${_attr_class(["_fP", "_fQ"])}></div><div${_attr_class(["_fP", "_fR"])}></div><div${_attr_class(["_fP", "_fS"])}></div></div>`);
14052
+ _html(`<div${_attr_class("_gF")} aria-hidden=true><div${_attr_class(["_gG", "_gH"])}></div><div${_attr_class(["_gG", "_gI"])}></div><div${_attr_class(["_gG", "_gJ"])}></div></div>`);
14140
14053
  writeScope($scope17_id, {});
14141
14054
  return 0;
14142
14055
  }
14143
14056
  }, $scope0_id, "x", 1, 1, 1, 0, 1);
14144
14057
  _if(() => {
14145
14058
  if (repos && !allFiles.length) {
14146
- const $scope12_id = _scope_id();
14147
- _html(`<p${_attr_class("_b8")}>${_text_resume($scope12_id, "b", rev ? "This commit is not in any of these repos." : repoList.some((r) => r.unborn) ? "No commits yet." : scope === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base.")}</p>`);
14148
- writeScope($scope12_id, {});
14059
+ const $scope11_id = _scope_id();
14060
+ _html(`<p${_attr_class("_cm")}>${_text_resume($scope11_id, "b", rev ? "This commit is not in any of these repos." : repoList.some((r) => r.unborn) ? "No commits yet." : scope === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base.")}</p>`);
14061
+ writeScope($scope11_id, {});
14149
14062
  return 0;
14150
14063
  } else if (repos && !shownFiles.length && !findState.hit) {
14151
- const $scope9_id = _scope_id();
14152
- _html(`<p${_attr_class("_b8")}>${_text_resume($scope9_id, "b", findState.query.trim() ? "No matches in review." : onlyNew && !fileFilter ? "Nothing changed since your last visit." : `No files match "${fileFilter}".`)}</p>`);
14153
- writeScope($scope9_id, {});
14064
+ const $scope8_id = _scope_id();
14065
+ _html(`<p${_attr_class("_cm")}>${_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>`);
14066
+ writeScope($scope8_id, {});
14154
14067
  return 1;
14155
14068
  }
14156
14069
  }, $scope0_id, "y", 1, 1, 1, 0, 1);
@@ -14158,7 +14071,7 @@ var review_view_default = _template("v", (input) => {
14158
14071
  _if(() => {
14159
14072
  if (shownRepos.length) {
14160
14073
  const $scope3_id = _scope_id();
14161
- _html(`<div${_attr_class("_fU")}>`);
14074
+ _html(`<div${_attr_class("_gL")}>`);
14162
14075
  _for_of(shownRepos, (repo) => {
14163
14076
  const $scope4_id = _scope_id();
14164
14077
  const st = statsFor(repo);
@@ -14196,7 +14109,7 @@ var review_view_default = _template("v", (input) => {
14196
14109
  onlyNew,
14197
14110
  onToggleNew: _resume(function() {
14198
14111
  onlyNew = !onlyNew;
14199
- }, "v33", $scope5_id),
14112
+ }, "v32", $scope5_id),
14200
14113
  hiddenCount: repo.files.length - st.files,
14201
14114
  onShowHidden: _resume(function() {
14202
14115
  fileFilter = "";
@@ -14206,7 +14119,7 @@ var review_view_default = _template("v", (input) => {
14206
14119
  hit: null,
14207
14120
  keys: []
14208
14121
  };
14209
- }, "v34", $scope5_id),
14122
+ }, "v33", $scope5_id),
14210
14123
  workspaceBranch: input.workspaceBranch || "",
14211
14124
  workspaceName: input.workspaceName || "",
14212
14125
  localDiffers: localDifferIds.has(repo.id),
@@ -14215,7 +14128,7 @@ var review_view_default = _template("v", (input) => {
14215
14128
  onJump: _resume(function() {
14216
14129
  const first = shownFiles.find((f) => f.repo === repo.id);
14217
14130
  if (first) jumpTo(first.key);
14218
- }, "v35", $scope5_id)
14131
+ }, "v34", $scope5_id)
14219
14132
  });
14220
14133
  _subscribe($localDifferIds__closures, _subscribe($reload2__closures, _subscribe($onlyNew__closures, _subscribe($loading__closures, _subscribe($si__input_workspaceName && $input_workspaceName__closures, _subscribe($si__input_workspaceBranch && $input_workspaceBranch__closures, writeScope($scope5_id, { a: _existing_scope($childScope5) })))))));
14221
14134
  return 0;
@@ -14235,7 +14148,7 @@ var review_view_default = _template("v", (input) => {
14235
14148
  return 0;
14236
14149
  }
14237
14150
  }, $scope0_id, "z", 1, 1, 1, 0, 1);
14238
- _html(`</div>${_el_resume($scope0_id, "c")}<div${_attr_class("_fW")} data-diff-main></div>${_el_resume($scope0_id, "a0")}</div>`);
14151
+ _html(`</div>${_el_resume($scope0_id, "c")}<div${_attr_class("_gN")} data-diff-main></div>${_el_resume($scope0_id, "a0")}</div>`);
14239
14152
  _set_serialize_reason(26);
14240
14153
  const $childScope6 = _peek_scope_id();
14241
14154
  review_tree_default({
@@ -14247,7 +14160,7 @@ var review_view_default = _template("v", (input) => {
14247
14160
  filterChange: $filterChange,
14248
14161
  onSelect: _resume(function(key) {
14249
14162
  jumpTo(key);
14250
- }, "v36", $scope0_id)
14163
+ }, "v35", $scope0_id)
14251
14164
  });
14252
14165
  _set_serialize_reason(31486);
14253
14166
  const $childScope7 = _peek_scope_id();
@@ -14255,7 +14168,7 @@ var review_view_default = _template("v", (input) => {
14255
14168
  open: fileSheet,
14256
14169
  openChange: _resume((_new_fileSheet) => {
14257
14170
  fileSheet = _new_fileSheet;
14258
- }, "v37", $scope0_id),
14171
+ }, "v36", $scope0_id),
14259
14172
  files: shownFiles,
14260
14173
  filter: fileFilter,
14261
14174
  filterChange: $filterChange,
@@ -14289,14 +14202,14 @@ var review_view_default = _template("v", (input) => {
14289
14202
  } else if (tries++ < 20) dockBox.raf = requestAnimationFrame(tick);
14290
14203
  };
14291
14204
  tick();
14292
- }, "v38", $scope0_id);
14205
+ }, "v37", $scope0_id);
14293
14206
  _html("</div>");
14294
14207
  const $return = $findFocus_getter;
14208
+ _script($scope0_id, "v45");
14209
+ _script($scope0_id, "v46");
14295
14210
  _script($scope0_id, "v47");
14296
14211
  _script($scope0_id, "v48");
14297
14212
  _script($scope0_id, "v49");
14298
- _script($scope0_id, "v50");
14299
- _script($scope0_id, "v51");
14300
14213
  writeScope($scope0_id, {
14301
14214
  a5: input.workspaceId,
14302
14215
  a6: input.scope,
@@ -14327,77 +14240,77 @@ var review_view_default = _template("v", (input) => {
14327
14240
  b3: onlyNew,
14328
14241
  b4: scope,
14329
14242
  b5: rev,
14330
- b7: treeOpen,
14331
- b9: findOpen,
14332
- bb: pinnedFind,
14333
- bd: findTick,
14334
- bg: findState?.query,
14335
- bi: findState?.hit,
14336
- bj: findState?.hit?.key,
14337
- bk: collapsedFiles,
14338
- bm: headBox.sig,
14339
- bn: headBox.timer,
14340
- bp: loadBox.seq,
14341
- bq: viewBox,
14342
- bs: posBox.anchor,
14343
- bu: posBox.raf,
14344
- bw: restoreBox.pos,
14345
- by: restoreBox.jump,
14346
- c0: restorePos,
14347
- c1: savePos,
14348
- c2: jumpTo,
14349
- c3: focusPrSection,
14350
- c5: load,
14351
- ca: reload,
14352
- cb: reloadSoon,
14353
- cc: loadReview,
14354
- cd: setScope,
14355
- cf: setRev,
14356
- cg: markSeen,
14357
- ch: repoList,
14358
- cj: shownRepos,
14359
- cl: allFiles,
14360
- cn: allFiles?.length,
14361
- cp: fileFiltered,
14362
- cq: findKeys,
14363
- cs: shownFiles,
14364
- cu: shownFiles?.length,
14365
- cx: commentsByFile,
14366
- d1: localDifferIds,
14367
- d4: commitOptions,
14368
- d5: commitOptions?.length,
14369
- d7: statsFor,
14370
- d8: fileWorktree,
14371
- d9: anchorFor,
14372
- da: fileByKey,
14373
- dc: saveComment,
14374
- dd: deleteRemote,
14375
- df: removeComment,
14376
- dg: editComment,
14377
- di: sendGate.busy,
14378
- dk: dispatch,
14379
- dn: copyMarkdown,
14380
- do: sendTo,
14381
- dp: sendOneComment,
14382
- dq: sendDraftComment,
14383
- dr: openFind,
14384
- du: findFocus,
14385
- dw: dockBox.home,
14386
- dx: dockBox.raf,
14387
- dz: dockFind,
14388
- ba: input.findOpenChange || void 0,
14389
- be: input.findTickChange || void 0,
14243
+ b6: treeOpen,
14244
+ b8: findOpen,
14245
+ ba: pinnedFind,
14246
+ bc: findTick,
14247
+ bf: findState?.query,
14248
+ bh: findState?.hit,
14249
+ bi: findState?.hit?.key,
14250
+ bj: collapsedFiles,
14251
+ bl: headBox.sig,
14252
+ bm: headBox.timer,
14253
+ bo: loadBox.seq,
14254
+ bp: viewBox,
14255
+ br: posBox.anchor,
14256
+ bt: posBox.raf,
14257
+ bv: restoreBox.pos,
14258
+ bx: restoreBox.jump,
14259
+ bz: restorePos,
14260
+ c0: savePos,
14261
+ c1: jumpTo,
14262
+ c2: focusPrSection,
14263
+ c4: load,
14264
+ c9: reload,
14265
+ ca: reloadSoon,
14266
+ cb: loadReview,
14267
+ cc: setScope,
14268
+ cd: setRev,
14269
+ cf: pickCompare,
14270
+ ch: markSeen,
14271
+ ci: repoList,
14272
+ ck: shownRepos,
14273
+ cm: allFiles,
14274
+ co: allFiles?.length,
14275
+ cq: fileFiltered,
14276
+ cr: findKeys,
14277
+ ct: shownFiles,
14278
+ cv: shownFiles?.length,
14279
+ cy: commentsByFile,
14280
+ d2: localDifferIds,
14281
+ d5: commitOptions,
14282
+ d8: statsFor,
14283
+ d9: fileWorktree,
14284
+ da: anchorFor,
14285
+ db: fileByKey,
14286
+ dd: saveComment,
14287
+ de: deleteRemote,
14288
+ dg: removeComment,
14289
+ dh: editComment,
14290
+ dj: sendGate.busy,
14291
+ dl: dispatch,
14292
+ do: copyMarkdown,
14293
+ dp: sendTo,
14294
+ dq: sendOneComment,
14295
+ dr: sendDraftComment,
14296
+ ds: openFind,
14297
+ dv: findFocus,
14298
+ dx: dockBox.home,
14299
+ dy: dockBox.raf,
14300
+ e0: dockFind,
14301
+ b9: input.findOpenChange || void 0,
14302
+ bd: input.findTickChange || void 0,
14390
14303
  l: _existing_scope($childScope2),
14391
14304
  r: _existing_scope($childScope3),
14392
- e6: $error__closures,
14393
- ea: $scope__closures,
14394
- e3: $si__input_workspaceBranch && $input_workspaceBranch__closures,
14395
- e4: $si__input_workspaceName && $input_workspaceName__closures,
14396
- e7: $loading__closures,
14397
- e9: $onlyNew__closures,
14398
- ef: $reload2__closures,
14305
+ e7: $error__closures,
14306
+ eb: $scope__closures,
14307
+ e4: $si__input_workspaceBranch && $input_workspaceBranch__closures,
14308
+ e5: $si__input_workspaceName && $input_workspaceName__closures,
14309
+ e8: $loading__closures,
14310
+ ea: $onlyNew__closures,
14311
+ eg: $reload2__closures,
14399
14312
  ek: $localDifferIds__closures,
14400
- en: $statsFor2__closures,
14313
+ em: $statsFor2__closures,
14401
14314
  a1: _existing_scope($childScope6),
14402
14315
  a2: _existing_scope($childScope7)
14403
14316
  });
@@ -14516,12 +14429,12 @@ function parseInvite(text) {
14516
14429
  }
14517
14430
  //#endregion
14518
14431
  //#region src/tags/manage-workspace.css.ts
14519
- var pageMeta = "_gf _ef";
14520
- var pathMeta = "_gi _y";
14521
- var skillRow = "_go _gj";
14522
- var skillName = "_gq _gk";
14523
- var skillDesc = "_gt _gl";
14524
- var skillEnd = "_gu _gm";
14432
+ var pageMeta = "_f3 _ef";
14433
+ var pathMeta = "_f6 _y";
14434
+ var skillRow = "_gb _f7";
14435
+ var skillName = "_gd _f8";
14436
+ var skillDesc = "_gg _f9";
14437
+ var skillEnd = "_gh _f_";
14525
14438
  //#endregion
14526
14439
  //#region src/tags/icons/icon-clipboard.marko
14527
14440
  var icon_clipboard_default = _template("W", (input) => {
@@ -14539,8 +14452,25 @@ var icon_clipboard_default = _template("W", (input) => {
14539
14452
  });
14540
14453
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
14541
14454
  });
14542
- var resultRow = "_h0 _I";
14543
- var resultBranch = "_h2 _4 _l";
14455
+ var resultRow = "_h9 _I";
14456
+ var resultBranch = "_ia _4 _l";
14457
+ //#endregion
14458
+ //#region src/tags/icons/icon-branch.marko
14459
+ var icon_branch_default = _template("S", (input) => {
14460
+ const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
14461
+ const $scope0_id = _scope_id();
14462
+ _set_serialize_reason({
14463
+ 0: $sg__input_size__OR__input_class,
14464
+ 1: $sg__input_size__OR__input_class
14465
+ });
14466
+ const $childScope = _peek_scope_id();
14467
+ icon_base_default({
14468
+ d: "M18 8C19.1046 8 20 7.10457 20 6C20 4.89543 19.1046 4 18 4C16.8954 4 16 4.89543 16 6C16 7.10457 16.8954 8 18 8Z M6 20C7.10457 20 8 19.1046 8 18C8 16.8954 7.10457 16 6 16C4.89543 16 4 16.8954 4 18C4 19.1046 4.89543 20 6 20Z M6 16V3 M8 18H9C12.5 18 18 15.9 18 9.5V8",
14469
+ size: input.size,
14470
+ class: input.class
14471
+ });
14472
+ _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
14473
+ });
14544
14474
  //#endregion
14545
14475
  //#region src/tags/branch-pick.marko
14546
14476
  var branch_pick_default = _template("d", (input) => {
@@ -14553,11 +14483,11 @@ var branch_pick_default = _template("d", (input) => {
14553
14483
  let branchFilter = "";
14554
14484
  let reloadTick = 0;
14555
14485
  let refreshing = false;
14556
- _html(`<div${_attr_class("_h4")}>`);
14486
+ _html(`<div${_attr_class("_ic")}>`);
14557
14487
  _if(() => {
14558
14488
  {
14559
14489
  const $scope4_id = _scope_id();
14560
- _html(`<p${_attr_class("_b7")}><span${_attr_class("_G")}></span> Loading branches…</p>`);
14490
+ _html(`<p${_attr_class("_cl")}><span${_attr_class("_G")}></span> Loading branches…</p>`);
14561
14491
  writeScope($scope4_id, {});
14562
14492
  return 0;
14563
14493
  }
@@ -14658,21 +14588,21 @@ var repo_picker_default = _template("s", (input$2) => {
14658
14588
  _resume_branch($scope9_id);
14659
14589
  }, $scope0_id) };
14660
14590
  const hasBody = !!(pasted || results.length || filter && (!catalog || !pasted) || compact && ssoPending.length);
14661
- _html(`<div${_attr_class([compact ? "_cL" : "_hS", {
14662
- ["_cM"]: compact && !input$2.open,
14663
- ["_cN"]: input$2.pinned
14591
+ _html(`<div${_attr_class([compact ? "_cw" : "_h1", {
14592
+ ["_cx"]: compact && !input$2.open,
14593
+ ["_cy"]: input$2.pinned
14664
14594
  }])}>`);
14665
14595
  _if(() => {
14666
14596
  if (!compact && ssoPending.length) {
14667
14597
  const $scope11_id = _scope_id();
14668
- _html(`<div${_attr_class("_hV")}>`);
14598
+ _html(`<div${_attr_class("_h4")}>`);
14669
14599
  ssoBlock.content({});
14670
14600
  _html("</div>");
14671
14601
  writeScope($scope11_id, {});
14672
14602
  return 0;
14673
14603
  }
14674
14604
  }, $scope0_id, "b", 1, 1, 1, 0, 1);
14675
- _html(`<div${!compact && input$2.action ? _attr_class("_hT") : _attr_class("_hU")}><label${_attr_class(["_1", compact && "_cO"])}>`);
14605
+ _html(`<div${!compact && input$2.action ? _attr_class("_h2") : _attr_class("_h3")}><label${_attr_class(["_1", compact && "_cz"])}>`);
14676
14606
  icon_search_default({
14677
14607
  size: 14,
14678
14608
  class: "_2"
@@ -14684,7 +14614,7 @@ var repo_picker_default = _template("s", (input$2) => {
14684
14614
  }, "s0", $scope0_id))}${_attr_class([
14685
14615
  compact ? "_Z" : inputLg,
14686
14616
  "_3",
14687
- compact && "_cP"
14617
+ compact && "_cA"
14688
14618
  ])} 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)}`);
14689
14619
  _if(() => {
14690
14620
  if (!compact && input$2.action) {
@@ -14698,7 +14628,7 @@ var repo_picker_default = _template("s", (input$2) => {
14698
14628
  _if(() => {
14699
14629
  if (compact) {
14700
14630
  const $scope2_id = _scope_id();
14701
- _html(`<button${_attr_class([iconBtnRow, "_cQ"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
14631
+ _html(`<button${_attr_class([iconBtnRow, "_cB"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
14702
14632
  icon_xmark_default({ size: 14 });
14703
14633
  _html(`</button>${_el_resume($scope2_id, "a")}`);
14704
14634
  _script($scope2_id, "s14");
@@ -14706,11 +14636,11 @@ var repo_picker_default = _template("s", (input$2) => {
14706
14636
  return 0;
14707
14637
  }
14708
14638
  }, $scope0_id, "h", _serialize_guard($scope0_reason, 0), $sg__input_compact, 1, 0, 1);
14709
- _html(`<div${_attr_class([compact ? pop$1 : "_hW"])}${_attr("hidden", !hasBody || compact && !input$2.open && !input$2.pinned)}>`);
14639
+ _html(`<div${_attr_class([compact ? pop$1 : "_h5"])}${_attr("hidden", !hasBody || compact && !input$2.open && !input$2.pinned)}>`);
14710
14640
  _if(() => {
14711
14641
  if (compact && ssoPending.length) {
14712
14642
  const $scope12_id = _scope_id();
14713
- _html(`<div${_attr_class("_hV")}>`);
14643
+ _html(`<div${_attr_class("_h4")}>`);
14714
14644
  ssoBlock.content({});
14715
14645
  _html("</div>");
14716
14646
  writeScope($scope12_id, {});
@@ -14720,16 +14650,16 @@ var repo_picker_default = _template("s", (input$2) => {
14720
14650
  _if(() => {
14721
14651
  if (pasted) {
14722
14652
  const $scope3_id = _scope_id();
14723
- _html(`<ul${_attr_class("_hX")}><li><div${_attr_class(["_hZ", "_hY"])}><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)`)}>`);
14653
+ _html(`<ul${_attr_class("_h6")}><li><div${_attr_class(["_h8", "_h7"])}><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)`)}>`);
14724
14654
  icon_plus_default({
14725
14655
  size: 12,
14726
- class: "_h6"
14656
+ class: "_ie"
14727
14657
  });
14728
- _html(`<span${_attr_class("_h7")}>${_text_resume($scope3_id, "f", repoLabel$1(pasted))}</span></button>${_el_resume($scope3_id, "c")}`);
14658
+ _html(`<span${_attr_class("_if")}>${_text_resume($scope3_id, "f", repoLabel$1(pasted))}</span></button>${_el_resume($scope3_id, "c")}`);
14729
14659
  _if(() => {
14730
14660
  if (pastedForkable) {
14731
14661
  const $scope10_id = _scope_id();
14732
- _html(`<button${_attr_class(["_h3", { ["_h1"]: 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"}>`);
14662
+ _html(`<button${_attr_class(["_ib", { ["_h_"]: 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"}>`);
14733
14663
  _if(() => {
14734
14664
  if (pasteWillFork) {
14735
14665
  const $scope14_id = _scope_id();
@@ -14749,7 +14679,7 @@ var repo_picker_default = _template("s", (input$2) => {
14749
14679
  return 0;
14750
14680
  }
14751
14681
  }, $scope3_id, "g", 1, 1, 1, 0, 1);
14752
- _html(`<button${_attr_class([resultBranch, { ["_h1"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
14682
+ _html(`<button${_attr_class([resultBranch, { ["_h_"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
14753
14683
  icon_branch_default({ size: 12 });
14754
14684
  _html(`</button>${_el_resume($scope3_id, "h")}</div>`);
14755
14685
  _if(() => {
@@ -14776,7 +14706,7 @@ var repo_picker_default = _template("s", (input$2) => {
14776
14706
  return 0;
14777
14707
  } else if (filter && !catalog) {
14778
14708
  const $scope13_id = _scope_id();
14779
- _html(`<p${_attr_class("_b7")}>Loading repos…</p>`);
14709
+ _html(`<p${_attr_class("_cl")}>Loading repos…</p>`);
14780
14710
  writeScope($scope13_id, {});
14781
14711
  return 1;
14782
14712
  }
@@ -14784,15 +14714,15 @@ var repo_picker_default = _template("s", (input$2) => {
14784
14714
  _if(() => {
14785
14715
  if (results.length) {
14786
14716
  const $scope5_id = _scope_id();
14787
- _html(`<ul${_attr_class("_hX")}>`);
14717
+ _html(`<ul${_attr_class("_h6")}>`);
14788
14718
  _for_of(results, (repo, i) => {
14789
14719
  const $scope6_id = _scope_id();
14790
- _html(`<li><div${_attr_class(["_hZ", { ["_hY"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
14720
+ _html(`<li><div${_attr_class(["_h8", { ["_h7"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
14791
14721
  icon_plus_default({
14792
14722
  size: 12,
14793
- class: "_h6"
14723
+ class: "_ie"
14794
14724
  });
14795
- _html(`<span${_attr_class("_h7")}>${_text_resume($scope6_id, "e", repoLabel$1(repo.nameWithOwner))}</span></button>${_el_resume($scope6_id, "b")}<button${_attr_class([resultBranch, { ["_h1"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
14725
+ _html(`<span${_attr_class("_if")}>${_text_resume($scope6_id, "e", repoLabel$1(repo.nameWithOwner))}</span></button>${_el_resume($scope6_id, "b")}<button${_attr_class([resultBranch, { ["_h_"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
14796
14726
  icon_branch_default({ size: 12 });
14797
14727
  _html(`</button>${_el_resume($scope6_id, "f")}</div>${_el_resume($scope6_id, "a")}`);
14798
14728
  _if(() => {
@@ -14827,7 +14757,7 @@ var repo_picker_default = _template("s", (input$2) => {
14827
14757
  return 0;
14828
14758
  } else if (filter && catalog && !pasted) {
14829
14759
  const $scope8_id = _scope_id();
14830
- _html(`<p${_attr_class("_b7")}>No repos match "${_text_resume($scope8_id, "b", filter, 2)}". Paste a clone URL to add any repo.</p>`);
14760
+ _html(`<p${_attr_class("_cl")}>No repos match "${_text_resume($scope8_id, "b", filter, 2)}". Paste a clone URL to add any repo.</p>`);
14831
14761
  writeScope($scope8_id, {});
14832
14762
  return 1;
14833
14763
  }
@@ -15060,7 +14990,7 @@ var manage_workspace_default = _template("n", (input) => {
15060
14990
  meta: attrTag({ content: _content("n20", () => {
15061
14991
  _scope_reason();
15062
14992
  const $scope13_id = _scope_id();
15063
- _html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_gg")}>${_text_resume($scope13_id, "c", ws.name)}</span>`);
14993
+ _html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_f4")}>${_text_resume($scope13_id, "c", ws.name)}</span>`);
15064
14994
  _if(() => {
15065
14995
  if (ws.status !== "active") {
15066
14996
  const $scope17_id = _scope_id();
@@ -15069,7 +14999,7 @@ var manage_workspace_default = _template("n", (input) => {
15069
14999
  return 0;
15070
15000
  }
15071
15001
  }, $scope13_id, "d", 1, 1, 1, 0, 1);
15072
- _html(`<span${_attr_class("_gh")} 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")}`);
15002
+ _html(`<span${_attr_class("_f5")} 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")}`);
15073
15003
  _subscribe($ws_status__closures, _subscribe($ws_path__closures, _subscribe($ws_display_path__closures, _subscribe($ws_name__closures, writeScope($scope13_id, {
15074
15004
  _: _scope_with_id($scope0_id),
15075
15005
  Ccf: 1
@@ -15149,12 +15079,12 @@ var manage_workspace_default = _template("n", (input) => {
15149
15079
  _if(() => {
15150
15080
  if (pendingAction && actionStep) {
15151
15081
  const $scope10_id = _scope_id();
15152
- _html(`<p${_attr_class("_bV")}><span${_attr_class("_G")}></span>${_text_resume($scope10_id, "c", actionStep)}</p>`);
15082
+ _html(`<p${_attr_class("_b_")}><span${_attr_class("_G")}></span>${_text_resume($scope10_id, "c", actionStep)}</p>`);
15153
15083
  writeScope($scope10_id, {});
15154
15084
  return 0;
15155
15085
  }
15156
15086
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
15157
- _html(`<section${_attr_class("_bW")}><div${_attr_class("_bX")}><h2${_attr_class("_b_")}>Repos</h2><span${_attr_class(sectionCount)}>${_text_resume($scope0_id, "k", ws.repos.length)}</span><div${_attr_class("_z")}></div><button${_attr_class([iconBtnRow, "_gx"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
15087
+ _html(`<section${_attr_class("_ca")}><div${_attr_class("_cb")}><h2${_attr_class("_co")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "k", ws.repos.length)}</span><div${_attr_class("_z")}></div><button${_attr_class([iconBtnRow, "_gk"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
15158
15088
  icon_plus_default({ size: 16 });
15159
15089
  _html(`</button>${_el_resume($scope0_id, "m")}`);
15160
15090
  _set_serialize_reason(26);
@@ -15188,7 +15118,7 @@ var manage_workspace_default = _template("n", (input) => {
15188
15118
  _html(`</button>${_el_resume($scope0_id, "q")}</div><ul${_attr_class(list$2)}>`);
15189
15119
  _for_of(ws.repos, (row) => {
15190
15120
  const $scope1_id = _scope_id();
15191
- _html(`<li${_attr_class(flatCardRow)}><div${_attr_class("_b2")}><span${_attr_class(["_b3", "_y"])}>${_text_resume($scope1_id, "d", row.worktree)}/</span><span${_attr_class("_b4")}><a${_attr_class(["_b5", "_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$1(row.full_name))}</a>${_el_resume($scope1_id, "f")}`);
15121
+ _html(`<li${_attr_class(flatCardRow)}><div${_attr_class("_cg")}><span${_attr_class(["_ch", "_y"])}>${_text_resume($scope1_id, "d", row.worktree)}/</span><span${_attr_class("_ci")}><a${_attr_class(["_cj", "_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$1(row.full_name))}</a>${_el_resume($scope1_id, "f")}`);
15192
15122
  _if(() => {
15193
15123
  if (row.base_branch !== row.default_branch) {
15194
15124
  const $scope20_id = _scope_id();
@@ -15209,7 +15139,7 @@ var manage_workspace_default = _template("n", (input) => {
15209
15139
  } else {
15210
15140
  const $scope9_id = _scope_id();
15211
15141
  _html(`<button${_attr_class([
15212
- "_b6",
15142
+ "_ck",
15213
15143
  "_8",
15214
15144
  "_9",
15215
15145
  { ["_s"]: confirmingRemove === row.full_name }
@@ -15242,13 +15172,13 @@ var manage_workspace_default = _template("n", (input) => {
15242
15172
  }, "full_name", $scope0_id, "t", 1, 1, 1, 0, 1);
15243
15173
  _for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
15244
15174
  const $scope24_id = _scope_id();
15245
- _html(`<li${_attr_class([flatCardRow, "_b0"])}><span${_attr_class("_G")}></span><div${_attr_class("_b2")}><span${_attr_class("_b5")}>Adding ${_text_resume($scope24_id, "e", name, 2)}…</span></div></li>`);
15175
+ _html(`<li${_attr_class([flatCardRow, "_ce"])}><span${_attr_class("_G")}></span><div${_attr_class("_cg")}><span${_attr_class("_cj")}>Adding ${_text_resume($scope24_id, "e", name, 2)}…</span></div></li>`);
15246
15176
  writeScope($scope24_id, {});
15247
15177
  }, (n) => n, $scope0_id, "u", 1, 1, 1, 0, 1);
15248
15178
  _if(() => {
15249
15179
  if (!ws.repos.length && !busy.size) {
15250
15180
  const $scope25_id = _scope_id();
15251
- _html(`<li${_attr_class(flatCardRow)}><span${_attr_class("_b5")}>No repos yet. Add one to start.</span></li>`);
15181
+ _html(`<li${_attr_class(flatCardRow)}><span${_attr_class("_cj")}>No repos yet. Add one to start.</span></li>`);
15252
15182
  writeScope($scope25_id, {});
15253
15183
  return 0;
15254
15184
  }
@@ -15266,18 +15196,18 @@ var manage_workspace_default = _template("n", (input) => {
15266
15196
  _if(() => {
15267
15197
  if (allSkills.length) {
15268
15198
  const $scope2_id = _scope_id();
15269
- _html(`<section${_attr_class("_bW")}><div${_attr_class("_bX")}><h2${_attr_class("_b_")}>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)}>`);
15199
+ _html(`<section${_attr_class("_ca")}><div${_attr_class("_cb")}><h2${_attr_class("_co")}>Skills</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope2_id, "e", wsSkills.length)}/${_text_resume($scope2_id, "f", allSkills.length, 2)}</span></div><ul${_attr_class(list$2)}>`);
15270
15200
  _for_of(allSkills, ({ s, linked }) => {
15271
15201
  const $scope3_id = _scope_id();
15272
15202
  const isBusy = skillBusy.has(s.id);
15273
- _html(`<li${_attr_class([skillRow, { ["_gp"]: !linked }])}><span${_attr_class("_gr")}><span${_attr_class(["_y", skillName])}>${_text_resume($scope3_id, "d", s.name)}</span>`);
15203
+ _html(`<li${_attr_class([skillRow, { ["_gc"]: !linked }])}><span${_attr_class("_ge")}><span${_attr_class(["_y", skillName])}>${_text_resume($scope3_id, "d", s.name)}</span>`);
15274
15204
  _if(() => {
15275
15205
  if (s.worktree && !s.broken) {
15276
15206
  const $scope26_id = _scope_id();
15277
15207
  _html(`<span${_attr_class([
15278
15208
  "_N",
15279
15209
  "_y",
15280
- "_gs"
15210
+ "_gf"
15281
15211
  ])}${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")}`);
15282
15212
  writeScope($scope26_id, {});
15283
15213
  return 0;
@@ -15329,10 +15259,10 @@ var manage_workspace_default = _template("n", (input) => {
15329
15259
  if (linked) {
15330
15260
  const $scope11_id = _scope_id();
15331
15261
  _html(`<button${_attr_class([
15332
- "_b6",
15262
+ "_ck",
15333
15263
  "_8",
15334
15264
  "_9",
15335
- "_gv",
15265
+ "_gi",
15336
15266
  { ["_s"]: confirmingSkill === s.id }
15337
15267
  ])} 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}`)}>`);
15338
15268
  _if(() => {
@@ -15382,20 +15312,20 @@ var manage_workspace_default = _template("n", (input) => {
15382
15312
  _if(() => {
15383
15313
  if (running.length) {
15384
15314
  const $scope15_id = _scope_id();
15385
- _html(`<section${_attr_class("_bW")}><div${_attr_class("_bX")}><h2${_attr_class("_b_")}>Running</h2><span${_attr_class(sectionCount)}>${_text_resume($scope15_id, "e", running.length)}</span></div><ul${_attr_class(list$2)}>`);
15315
+ _html(`<section${_attr_class("_ca")}><div${_attr_class("_cb")}><h2${_attr_class("_co")}>Running</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope15_id, "e", running.length)}</span></div><ul${_attr_class(list$2)}>`);
15386
15316
  _for_of(running, (p) => {
15387
15317
  const $scope16_id = _scope_id();
15388
- _html(`<li${_attr_class("_gj")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", "_gk"])}>${_text_resume($scope16_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_gl"])}>${_text_resume($scope16_id, "e", p.args)}</span><span${_attr_class("_gm")}>`);
15318
+ _html(`<li${_attr_class("_f7")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", "_f8"])}>${_text_resume($scope16_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_f9"])}>${_text_resume($scope16_id, "e", p.args)}</span><span${_attr_class("_f_")}>`);
15389
15319
  _for_of(p.ports, (port) => {
15390
15320
  const $scope34_id = _scope_id();
15391
15321
  _html(`<button${_attr_class(["_u", "_K"])}${_attr("title", `Open port ${port}`)}>:${_text_resume($scope34_id, "b", port, 2)}</button>${_el_resume($scope34_id, "a")}`);
15392
15322
  _script($scope34_id, "n27");
15393
15323
  writeScope($scope34_id, { d: port });
15394
15324
  }, (x) => String(x), $scope16_id, "g", 1, 1, 1, 0, 1);
15395
- _html(`<span${_attr_class(["_y", "_gn"])}>${_text_resume($scope16_id, "i", p.pid)}</span><button${_attr_class([
15396
- "_b6",
15325
+ _html(`<span${_attr_class(["_y", "_ga"])}>${_text_resume($scope16_id, "i", p.pid)}</span><button${_attr_class([
15326
+ "_ck",
15397
15327
  "_8",
15398
- "_gw"
15328
+ "_gj"
15399
15329
  ])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
15400
15330
  icon_xmark_default({ size: 14 });
15401
15331
  _html(`</button>${_el_resume($scope16_id, "j")}</span></li>${_el_resume($scope16_id, "a")}`);
@@ -15476,14 +15406,14 @@ var manage_workspace_default = _template("n", (input) => {
15476
15406
  });
15477
15407
  _resume_branch($scope0_id);
15478
15408
  });
15479
- var curRepos = "_cJ _b1 _cw _cH";
15480
- var curRow = "_fg _cK _cI";
15481
- var curEmpty = "_fi _b7";
15482
- var curBase = "_fl _Y _X";
15483
- var archived = "_fq _bW";
15484
- var archivedHint = "_fr _X";
15485
- var archivedList = "_cJ _b1 _cw _cH";
15486
- var archivedRow = "_fs _cK _cI";
15409
+ var curRepos = "_c0 _cf _cN _cY";
15410
+ var curRow = "_fk _c1 _cZ";
15411
+ var curEmpty = "_fm _cl";
15412
+ var curBase = "_fp _Y _X";
15413
+ var archived = "_fu _ca";
15414
+ var archivedHint = "_fv _X";
15415
+ var archivedList = "_c0 _cf _cN _cY";
15416
+ var archivedRow = "_fw _c1 _cZ";
15487
15417
  //#endregion
15488
15418
  //#region src/tags/icons/icon-group.marko
15489
15419
  var icon_group_default = _template("db", (input) => {
@@ -15503,8 +15433,8 @@ var icon_group_default = _template("db", (input) => {
15503
15433
  });
15504
15434
  //#endregion
15505
15435
  //#region src/tags/join-dialog.css.ts
15506
- var dlg = "_io _hg";
15507
- var hint = "_ip _X";
15436
+ var dlg = "_hP _g2";
15437
+ var hint = "_hQ _X";
15508
15438
  //#endregion
15509
15439
  //#region src/tags/join-dialog.marko
15510
15440
  var api$3;
@@ -15633,26 +15563,26 @@ var join_dialog_default = _template("k", (input) => {
15633
15563
  content: _content("k12", () => {
15634
15564
  _scope_reason();
15635
15565
  const $scope1_id = _scope_id();
15636
- _html(`<h2${_attr_class("_hh")}${_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([
15566
+ _html(`<h2${_attr_class("_g3")}${_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([
15637
15567
  "_Z",
15638
15568
  "_y",
15639
- "_ir"
15569
+ "_hS"
15640
15570
  ])} 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")}`);
15641
15571
  _if(() => {
15642
15572
  if (parsed.error) {
15643
15573
  const $scope8_id = _scope_id();
15644
- _html(`<p${_attr_class([hint, "_iq"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
15574
+ _html(`<p${_attr_class([hint, "_hR"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
15645
15575
  _subscribe($parsed_error__closures, writeScope($scope8_id, { Cag: 1 }));
15646
15576
  return 0;
15647
15577
  } else if (parsed.ok) {
15648
15578
  const $scope3_id = _scope_id();
15649
- _html(`<ul${_attr_class("_is")}>`);
15579
+ _html(`<ul${_attr_class("_hT")}>`);
15650
15580
  _for_of(parsed.ok.repos, (fullName) => {
15651
15581
  const $scope9_id = _scope_id();
15652
- _html(`<li${_attr_class("_it")}><span${_attr_class("_iu")}>${_text_resume($scope9_id, "c", repoLabel$1(fullName))}</span></li>`);
15582
+ _html(`<li${_attr_class("_hU")}><span${_attr_class("_hV")}>${_text_resume($scope9_id, "c", repoLabel$1(fullName))}</span></li>`);
15653
15583
  writeScope($scope9_id, {});
15654
15584
  }, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
15655
- _html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_y")}>${_text_resume($scope3_id, "d", parsed.ok.branch)}</span> in each; PRs target theirs.</p><label${_attr_class("_iv")}><span${_attr_class("_b_")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
15585
+ _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("_hW")}><span${_attr_class("_co")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
15656
15586
  name = _new_name;
15657
15587
  }, "k1", $scope3_id))}${_attr_class("_Z")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
15658
15588
  _script($scope3_id, "k8");
@@ -15689,10 +15619,10 @@ var join_dialog_default = _template("k", (input) => {
15689
15619
  _if(() => {
15690
15620
  if (busy && steps$2.length) {
15691
15621
  const $scope6_id = _scope_id();
15692
- _html(`<ul${_attr_class("_iw")}>`);
15622
+ _html(`<ul${_attr_class("_hX")}>`);
15693
15623
  _for_of(steps$2, (step$2, i) => {
15694
15624
  const $scope7_id = _scope_id();
15695
- _html(`<li${_attr_class(["_iy", { ["_ix"]: i === steps$2.length - 1 }])}>`);
15625
+ _html(`<li${_attr_class(["_hZ", { ["_hY"]: i === steps$2.length - 1 }])}>`);
15696
15626
  _if(() => {
15697
15627
  if (i === steps$2.length - 1) {
15698
15628
  const $scope10_id = _scope_id();
@@ -15701,7 +15631,7 @@ var join_dialog_default = _template("k", (input) => {
15701
15631
  return 0;
15702
15632
  } else {
15703
15633
  const $scope11_id = _scope_id();
15704
- _html(`<span${_attr_class("_iz")}>`);
15634
+ _html(`<span${_attr_class("_h0")}>`);
15705
15635
  icon_check_default({ size: 14 });
15706
15636
  _html("</span>");
15707
15637
  writeScope($scope11_id, {});
@@ -15908,16 +15838,16 @@ var new_workspace_default = _template("p", (input) => {
15908
15838
  return 0;
15909
15839
  }
15910
15840
  }, $scope0_id, "e", 1, 1, 1, 0, 1);
15911
- _html(`<label${_attr_class("_fc")}><span${_attr_class("_b_")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
15841
+ _html(`<label${_attr_class("_fg")}><span${_attr_class("_co")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
15912
15842
  name = _new_name;
15913
- }, "p0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class("_bW")}><div${_attr_class("_fe")}><h2${_attr_class("_b_")}>Repos</h2></div><ul${_attr_class(curRepos)}>`);
15843
+ }, "p0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class("_ca")}><div${_attr_class("_fi")}><h2${_attr_class("_co")}>Repos</h2></div><ul${_attr_class(curRepos)}>`);
15914
15844
  _for_of(selected, (repo) => {
15915
15845
  const $scope4_id = _scope_id();
15916
- _html(`<li${_attr_class("_ff")}><div${_attr_class(curRow)}><span${_attr_class("_fj")}>${_text_resume($scope4_id, "d", repoLabel$1(repo.fullName))}</span>`);
15846
+ _html(`<li${_attr_class("_fj")}><div${_attr_class(curRow)}><span${_attr_class("_fn")}>${_text_resume($scope4_id, "d", repoLabel$1(repo.fullName))}</span>`);
15917
15847
  _if(() => {
15918
15848
  if (repo.fork !== void 0) {
15919
15849
  const $scope5_id = _scope_id();
15920
- _html(`<button${_attr_class(["_fm", { ["_fk"]: 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)}>`);
15850
+ _html(`<button${_attr_class(["_fq", { ["_fo"]: 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)}>`);
15921
15851
  _if(() => {
15922
15852
  if (repo.fork) {
15923
15853
  const $scope14_id = _scope_id();
@@ -15940,7 +15870,7 @@ var new_workspace_default = _template("p", (input) => {
15940
15870
  _html(`<button${_attr_class([
15941
15871
  curBase,
15942
15872
  "_y",
15943
- { ["_fk"]: branchesFor === repo.fullName }
15873
+ { ["_fo"]: branchesFor === repo.fullName }
15944
15874
  ])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}>`);
15945
15875
  icon_branch_default({ size: 12 });
15946
15876
  _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)}>`);
@@ -15949,7 +15879,7 @@ var new_workspace_default = _template("p", (input) => {
15949
15879
  _if(() => {
15950
15880
  if (branchesFor === repo.fullName) {
15951
15881
  const $scope10_id = _scope_id();
15952
- _html(`<div${_attr_class("_fh")}>`);
15882
+ _html(`<div${_attr_class("_fl")}>`);
15953
15883
  const $childScope2 = _peek_scope_id();
15954
15884
  branch_pick_default({
15955
15885
  repo: repo.fullName,
@@ -16000,7 +15930,7 @@ var new_workspace_default = _template("p", (input) => {
16000
15930
  action: attrTag({ content: _content("p21", () => {
16001
15931
  _scope_reason();
16002
15932
  const $scope2_id = _scope_id();
16003
- _html(`<button${_attr_class([iconBtnRow, "_fd"])} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
15933
+ _html(`<button${_attr_class([iconBtnRow, "_fh"])} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
16004
15934
  _set_serialize_reason(1);
16005
15935
  const $childScope3 = _peek_scope_id();
16006
15936
  icon_refresh_default({
@@ -16021,10 +15951,10 @@ var new_workspace_default = _template("p", (input) => {
16021
15951
  _if(() => {
16022
15952
  if (busy && steps.length) {
16023
15953
  const $scope11_id = _scope_id();
16024
- _html(`<ul${_attr_class("_fn")}>`);
15954
+ _html(`<ul${_attr_class("_fr")}>`);
16025
15955
  _for_of(steps, (step, i) => {
16026
15956
  const $scope12_id = _scope_id();
16027
- _html(`<li${_attr_class(["_ft", { ["_fo"]: i === steps.length - 1 }])}>`);
15957
+ _html(`<li${_attr_class(["_fx", { ["_fs"]: i === steps.length - 1 }])}>`);
16028
15958
  _if(() => {
16029
15959
  if (i === steps.length - 1) {
16030
15960
  const $scope17_id = _scope_id();
@@ -16033,7 +15963,7 @@ var new_workspace_default = _template("p", (input) => {
16033
15963
  return 0;
16034
15964
  } else {
16035
15965
  const $scope18_id = _scope_id();
16036
- _html(`<span${_attr_class("_fp")}>`);
15966
+ _html(`<span${_attr_class("_ft")}>`);
16037
15967
  icon_check_default({ size: 14 });
16038
15968
  _html("</span>");
16039
15969
  writeScope($scope18_id, {});
@@ -16047,18 +15977,18 @@ var new_workspace_default = _template("p", (input) => {
16047
15977
  return 0;
16048
15978
  }
16049
15979
  }, $scope0_id, "q", 1, 1, 1, 0, 1);
16050
- _html(`<div${_attr_class("_fa")}><button type=button${_attr_class([
15980
+ _html(`<div${_attr_class("_fe")}><button type=button${_attr_class([
16051
15981
  btnLg,
16052
15982
  "_r",
16053
- "_fb"
15983
+ "_ff"
16054
15984
  ])}${_attr("disabled", busy || !!restoring || !name.trim())}>${_text_resume($scope0_id, "t", busy ? "Creating…" : "Create workspace")}</button>${_el_resume($scope0_id, "s")}</div>`);
16055
15985
  _if(() => {
16056
15986
  if (archived$1.length) {
16057
15987
  const $scope6_id = _scope_id();
16058
- _html(`<section${_attr_class(archived)}><div${_attr_class("_fe")}><h2${_attr_class("_b_")}>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)}>`);
15988
+ _html(`<section${_attr_class(archived)}><div${_attr_class("_fi")}><h2${_attr_class("_co")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope6_id, "e", archived$1.length, $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore an archived workspace instead of creating a new one.</p><ul${_attr_class(archivedList)}>`);
16059
15989
  _for_of(archived$1, (ws) => {
16060
15990
  const $scope7_id = _scope_id();
16061
- _html(`<li${_attr_class(archivedRow)}><div${_attr_class("_b2")}><span${_attr_class("_b3")}>${_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)}>`);
15991
+ _html(`<li${_attr_class(archivedRow)}><div${_attr_class("_cg")}><span${_attr_class("_ch")}>${_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)}>`);
16062
15992
  _if(() => {
16063
15993
  if (restoring === ws.id) {
16064
15994
  const $scope19_id = _scope_id();
@@ -16337,7 +16267,7 @@ var term_default = _template("D", (input) => {
16337
16267
  }
16338
16268
  }, "D9", $scope0_id);
16339
16269
  input.keys;
16340
- _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_eJ")}><div${_attr_class("_eK")}></div>${_el_resume($scope0_id, "b")}`);
16270
+ _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_e2")}><div${_attr_class("_e3")}></div>${_el_resume($scope0_id, "b")}`);
16341
16271
  _if(() => {
16342
16272
  if (findOpen) {
16343
16273
  const $scope4_id = _scope_id();
@@ -16364,7 +16294,7 @@ var term_default = _template("D", (input) => {
16364
16294
  _if(() => {
16365
16295
  if (uploading) {
16366
16296
  const $scope5_id = _scope_id();
16367
- _html(`<div${_attr_class("_eQ")}>uploading…</div>`);
16297
+ _html(`<div${_attr_class("_e9")}>uploading…</div>`);
16368
16298
  writeScope($scope5_id, {});
16369
16299
  return 0;
16370
16300
  }
@@ -16372,7 +16302,7 @@ var term_default = _template("D", (input) => {
16372
16302
  _if(() => {
16373
16303
  if (copiedFlash) {
16374
16304
  const $scope6_id = _scope_id();
16375
- _html(`<div${_attr_class("_eP")}>Copied</div>`);
16305
+ _html(`<div${_attr_class("_e8")}>Copied</div>`);
16376
16306
  writeScope($scope6_id, {});
16377
16307
  return 0;
16378
16308
  }
@@ -16381,7 +16311,7 @@ var term_default = _template("D", (input) => {
16381
16311
  _if(() => {
16382
16312
  if (trapOpen) {
16383
16313
  const $scope3_id = _scope_id();
16384
- _html(`<div${_attr_class("_eR")}><div${_attr_class("_eS")}><p${_attr_class("_eT")}>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")}`);
16314
+ _html(`<div${_attr_class("_e_")}><div${_attr_class("_fa")}><p${_attr_class("_fb")}>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")}`);
16385
16315
  _script($scope3_id, "D16");
16386
16316
  _script($scope3_id, "D17");
16387
16317
  writeScope($scope3_id, {});
@@ -16644,10 +16574,10 @@ var work_view_default = _template("H", (input) => {
16644
16574
  }
16645
16575
  }, "H14", $scope0_id);
16646
16576
  const navShown = view === "nav" && input.navState?.view === "nav";
16647
- _html(`<div${_attr_class(["_bQ", {
16648
- ["_bO"]: navShown,
16649
- ["_bP"]: !input.active
16650
- }])}><div${_attr_class("_bR")}>`);
16577
+ _html(`<div${_attr_class(["_cr", {
16578
+ ["_cp"]: navShown,
16579
+ ["_cq"]: !input.active
16580
+ }])}><div${_attr_class("_cs")}>`);
16651
16581
  _if(() => {
16652
16582
  if (error) {
16653
16583
  const $scope8_id = _scope_id();
@@ -16670,7 +16600,7 @@ var work_view_default = _template("H", (input) => {
16670
16600
  _if(() => {
16671
16601
  if (diffMounted && ws) {
16672
16602
  const $scope1_id = _scope_id();
16673
- _html(`<div${_attr_class("_bS")}${_attr_or("data-live", view === "diff", "")}${_attr("inert", view !== "diff")}>`);
16603
+ _html(`<div${_attr_class("_ct")}${_attr_or("data-live", view === "diff", "")}${_attr("inert", view !== "diff")}>`);
16674
16604
  _set_serialize_reason({
16675
16605
  0: $sg__input_workspace,
16676
16606
  1: $sg__input_workspace,
@@ -16732,7 +16662,7 @@ var work_view_default = _template("H", (input) => {
16732
16662
  _if(() => {
16733
16663
  if (manageMounted && ws) {
16734
16664
  const $scope2_id = _scope_id();
16735
- _html(`<div${_attr_class("_bS")}${_attr_or("data-live", view === "manage", "")}${_attr("inert", view !== "manage")}>`);
16665
+ _html(`<div${_attr_class("_ct")}${_attr_or("data-live", view === "manage", "")}${_attr("inert", view !== "manage")}>`);
16736
16666
  _set_serialize_reason({
16737
16667
  0: $sg__input_workspace,
16738
16668
  1: _serialize_guard($scope0_reason, 9)
@@ -16758,7 +16688,7 @@ var work_view_default = _template("H", (input) => {
16758
16688
  _if(() => {
16759
16689
  if (settingsMounted) {
16760
16690
  const $scope3_id = _scope_id();
16761
- _html(`<div${_attr_class("_bS")}${_attr_or("data-live", view === "settings", "")}${_attr("inert", view !== "settings")}>`);
16691
+ _html(`<div${_attr_class("_ct")}${_attr_or("data-live", view === "settings", "")}${_attr("inert", view !== "settings")}>`);
16762
16692
  _set_serialize_reason({
16763
16693
  0: _serialize_guard($scope0_reason, 0),
16764
16694
  1: $sg__input_workspace,
@@ -16800,7 +16730,7 @@ var work_view_default = _template("H", (input) => {
16800
16730
  _if(() => {
16801
16731
  if (newMounted) {
16802
16732
  const $scope4_id = _scope_id();
16803
- _html(`<div${_attr_class("_bS")}${_attr_or("data-live", view === "new", "")}${_attr("inert", view !== "new")}>`);
16733
+ _html(`<div${_attr_class("_ct")}${_attr_or("data-live", view === "new", "")}${_attr("inert", view !== "new")}>`);
16804
16734
  _set_serialize_reason({
16805
16735
  0: 1,
16806
16736
  1: _serialize_guard($scope0_reason, 13),
@@ -16825,13 +16755,13 @@ var work_view_default = _template("H", (input) => {
16825
16755
  return 0;
16826
16756
  }
16827
16757
  }, $scope0_id, "g", 1, 1, 1, 0, 1);
16828
- _html(`<div${_attr_class("_bT")}${_attr("inert", view !== "term")}>`);
16758
+ _html(`<div${_attr_class("_cu")}${_attr("inert", view !== "term")}>`);
16829
16759
  _if(() => {
16830
16760
  if (ws && shownSessions) {
16831
16761
  const $scope5_id = _scope_id();
16832
16762
  _for_of(input.active ? shownSessions : shownSessions.filter((x) => x.id === curTab), (s) => {
16833
16763
  const $scope6_id = _scope_id();
16834
- _html(`<div${_attr_class("_bU")}${_attr_or("data-live", s.id === curTab, "")}${_attr("inert", s.id !== curTab)}>`);
16764
+ _html(`<div${_attr_class("_cv")}${_attr_or("data-live", s.id === curTab, "")}${_attr("inert", s.id !== curTab)}>`);
16835
16765
  _set_serialize_reason(2);
16836
16766
  const $childScope5 = _peek_scope_id();
16837
16767
  term_default({
@@ -16857,7 +16787,7 @@ var work_view_default = _template("H", (input) => {
16857
16787
  _if(() => {
16858
16788
  if (!shownSessions.length && view === "term") {
16859
16789
  const $scope7_id = _scope_id();
16860
- _html(`<div${_attr_class("_b8")}><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>`);
16790
+ _html(`<div${_attr_class("_cm")}><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>`);
16861
16791
  _script($scope7_id, "H39");
16862
16792
  _subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
16863
16793
  return 0;
@@ -16867,7 +16797,7 @@ var work_view_default = _template("H", (input) => {
16867
16797
  return 0;
16868
16798
  } else if (ws) {
16869
16799
  const $scope10_id = _scope_id();
16870
- _html(`<p${_attr_class("_b8")}>Loading sessions…</p>`);
16800
+ _html(`<p${_attr_class("_cm")}>Loading sessions…</p>`);
16871
16801
  writeScope($scope10_id, {});
16872
16802
  return 1;
16873
16803
  }
@@ -26306,4 +26236,4 @@ server.listen(port, () => {
26306
26236
  //#endregion
26307
26237
  export {};
26308
26238
 
26309
- ;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-XYrn8xFc.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-XYrn8xFc.css\"",">",2,"stylesheet#/assets/app-page-CJTacFqL.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CJTacFqL.css\"",">"],"defer":[2,"/assets/new-BqgYQv0Y.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-BqgYQv0Y.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_CR8N_oy2.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CR8N_oy2.js\"",">",2,"modulepreload#/assets/_fk03PINt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_fk03PINt.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-XYrn8xFc.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-XYrn8xFc.css\"",">",2,"stylesheet#/assets/app-page-CJTacFqL.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CJTacFqL.css\"",">"],"defer":[2,"/assets/w._-BqgYQv0Y.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-BqgYQv0Y.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_CR8N_oy2.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CR8N_oy2.js\"",">",2,"modulepreload#/assets/_fk03PINt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_fk03PINt.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-XYrn8xFc.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-XYrn8xFc.css\"",">",2,"stylesheet#/assets/app-page-CJTacFqL.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CJTacFqL.css\"",">"],"defer":[2,"/assets/w-BqgYQv0Y.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-BqgYQv0Y.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_CR8N_oy2.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CR8N_oy2.js\"",">",2,"modulepreload#/assets/_fk03PINt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_fk03PINt.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-XYrn8xFc.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-XYrn8xFc.css\"",">",2,"stylesheet#/assets/app-page-CJTacFqL.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CJTacFqL.css\"",">"],"defer":[2,"/assets/w._-DnmnrF1J.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-DnmnrF1J.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_CR8N_oy2.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CR8N_oy2.js\"",">",2,"modulepreload#/assets/_fk03PINt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_fk03PINt.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-XYrn8xFc.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-XYrn8xFc.css\"",">",2,"stylesheet#/assets/app-page-CJTacFqL.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CJTacFqL.css\"",">"],"defer":[2,"/assets/settings-BqgYQv0Y.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-BqgYQv0Y.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_CR8N_oy2.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CR8N_oy2.js\"",">",2,"modulepreload#/assets/_fk03PINt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_fk03PINt.js\"",">"]},"_v":{"block":[2,"stylesheet#/assets/review-view-DSanl_Hi.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-DSanl_Hi.css\"",">",2,"stylesheet#/assets/icon-arrow-down-XYrn8xFc.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-XYrn8xFc.css\"",">"],"defer":[2,"/assets/review-view-Dkgi3faj.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-Dkgi3faj.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">"]}};
26239
+ ;var __MARKO_MANIFEST__={"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-BG7XlCPT.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-BG7XlCPT.css\"",">",2,"stylesheet#/assets/app-page-Dl6GaaKR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Dl6GaaKR.css\"",">"],"defer":[2,"/assets/w._-DqdzV-MH.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-DqdzV-MH.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_C7fpvxku.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C7fpvxku.js\"",">",2,"modulepreload#/assets/_DO-1wrdg.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DO-1wrdg.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-BG7XlCPT.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-BG7XlCPT.css\"",">",2,"stylesheet#/assets/app-page-Dl6GaaKR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Dl6GaaKR.css\"",">"],"defer":[2,"/assets/new-DqdzV-MH.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-DqdzV-MH.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_C7fpvxku.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C7fpvxku.js\"",">",2,"modulepreload#/assets/_DO-1wrdg.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DO-1wrdg.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-BG7XlCPT.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-BG7XlCPT.css\"",">",2,"stylesheet#/assets/app-page-Dl6GaaKR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Dl6GaaKR.css\"",">"],"defer":[2,"/assets/w._-DWpX54fh.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-DWpX54fh.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_C7fpvxku.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C7fpvxku.js\"",">",2,"modulepreload#/assets/_DO-1wrdg.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DO-1wrdg.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-BG7XlCPT.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-BG7XlCPT.css\"",">",2,"stylesheet#/assets/app-page-Dl6GaaKR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Dl6GaaKR.css\"",">"],"defer":[2,"/assets/settings-DqdzV-MH.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-DqdzV-MH.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_C7fpvxku.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C7fpvxku.js\"",">",2,"modulepreload#/assets/_DO-1wrdg.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DO-1wrdg.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-BG7XlCPT.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-BG7XlCPT.css\"",">",2,"stylesheet#/assets/app-page-Dl6GaaKR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Dl6GaaKR.css\"",">"],"defer":[2,"/assets/w-DqdzV-MH.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-DqdzV-MH.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_C7fpvxku.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_C7fpvxku.js\"",">",2,"modulepreload#/assets/_DO-1wrdg.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DO-1wrdg.js\"",">"]},"_v":{"block":[2,"stylesheet#/assets/review-view-Buxhdl15.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-Buxhdl15.css\"",">",2,"stylesheet#/assets/icon-arrow-down-BG7XlCPT.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-BG7XlCPT.css\"",">"],"defer":[2,"/assets/review-view-o3qf1i3k.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-o3qf1i3k.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">"]}};