@dylanpiercey/work 0.0.168 → 0.0.170

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist/index.mjs +771 -693
  2. package/dist/public/assets/_AprdAiCF.js +1 -0
  3. package/dist/public/assets/_B-6CrIqx.js +1 -0
  4. package/dist/public/assets/_B6F1nNKp.js +1 -0
  5. package/dist/public/assets/_BBLHtUpD.js +1 -0
  6. package/dist/public/assets/_BIICda_z.js +1 -0
  7. package/dist/public/assets/_BnHgG8Kq.js +1 -0
  8. package/dist/public/assets/_CFB3BxaN.js +1 -0
  9. package/dist/public/assets/_CL9zeyYy.js +1 -0
  10. package/dist/public/assets/{_Dr6PwR9h.js → _CYqX2f3f.js} +1 -1
  11. package/dist/public/assets/_CYqX2f3f.js.br +0 -0
  12. package/dist/public/assets/_Ckrvpxti.js +1 -0
  13. package/dist/public/assets/_D7RBhyll.js +1 -0
  14. package/dist/public/assets/_D9xomi0r.js +1 -0
  15. package/dist/public/assets/_DNcOj-lY.js +1 -0
  16. package/dist/public/assets/{_D6Wszvs1.js → _DbVUck3-.js} +7 -7
  17. package/dist/public/assets/_DbVUck3-.js.br +0 -0
  18. package/dist/public/assets/_DjPbyhtm.js +83 -0
  19. package/dist/public/assets/_DjPbyhtm.js.br +0 -0
  20. package/dist/public/assets/_DlA-Rq0Y.js +1 -0
  21. package/dist/public/assets/_Duwzypc2.js +1 -0
  22. package/dist/public/assets/_DxSx-utO.js +1 -0
  23. package/dist/public/assets/_DyYtuSwv.js +1 -0
  24. package/dist/public/assets/_LekqYxqr.js +1 -0
  25. package/dist/public/assets/_XumzXBny.js +1 -0
  26. package/dist/public/assets/_cComLBto.js +1 -0
  27. package/dist/public/assets/_d-kMKz73.js +1 -0
  28. package/dist/public/assets/_pfNREdwI.js +1 -0
  29. package/dist/public/assets/app-page-CRushKCr.css +1 -0
  30. package/dist/public/assets/app-page-CRushKCr.css.br +0 -0
  31. package/dist/public/assets/{icon-arrow-down-D-UU3b4l.css → icon-arrow-down-CtcHHJio.css} +1 -1
  32. package/dist/public/assets/icon-arrow-down-CtcHHJio.css.br +0 -0
  33. package/dist/public/assets/new-Rx4dBoTQ.js +1 -0
  34. package/dist/public/assets/review-view-B95CZ5lI.css +1 -0
  35. package/dist/public/assets/review-view-B95CZ5lI.css.br +0 -0
  36. package/dist/public/assets/review-view-DGJFqqiT.js +2 -0
  37. package/dist/public/assets/settings-Rx4dBoTQ.js +1 -0
  38. package/dist/public/assets/w-Rx4dBoTQ.js +1 -0
  39. package/dist/public/assets/w._-DqT00bZV.js +1 -0
  40. package/dist/public/assets/w._-Rx4dBoTQ.js +1 -0
  41. package/package.json +1 -1
  42. package/scripts/migrate.mjs +44 -0
  43. package/dist/public/assets/_B3aKAChT.js +0 -1
  44. package/dist/public/assets/_B5pYS8AP.js +0 -1
  45. package/dist/public/assets/_BIZs-MXG.js +0 -1
  46. package/dist/public/assets/_BNdtgPXM.js +0 -1
  47. package/dist/public/assets/_BUJdNfZC.js +0 -1
  48. package/dist/public/assets/_BgkPks7x.js +0 -1
  49. package/dist/public/assets/_BkGrAvYH.js +0 -1
  50. package/dist/public/assets/_CK9d3VRb.js +0 -1
  51. package/dist/public/assets/_CPiwLVs7.js +0 -1
  52. package/dist/public/assets/_CzTOSXAp.js +0 -1
  53. package/dist/public/assets/_D22Kwfne.js +0 -1
  54. package/dist/public/assets/_D6Wszvs1.js.br +0 -0
  55. package/dist/public/assets/_DHAoUCPL.js +0 -1
  56. package/dist/public/assets/_DI17TM3q.js +0 -1
  57. package/dist/public/assets/_DgRjzNZx.js +0 -1
  58. package/dist/public/assets/_DqC2_F7z.js +0 -1
  59. package/dist/public/assets/_Dr6PwR9h.js.br +0 -0
  60. package/dist/public/assets/_DwV7Flj6.js +0 -1
  61. package/dist/public/assets/_HFV9DpDD.js +0 -1
  62. package/dist/public/assets/_UsogGx1K.js +0 -1
  63. package/dist/public/assets/_V0Yazj2j.js +0 -1
  64. package/dist/public/assets/_afAqkDtE.js +0 -1
  65. package/dist/public/assets/_m6B8EqQJ.js +0 -83
  66. package/dist/public/assets/_m6B8EqQJ.js.br +0 -0
  67. package/dist/public/assets/_onT_YqQM.js +0 -1
  68. package/dist/public/assets/app-page-CE13Vv1z.css +0 -1
  69. package/dist/public/assets/app-page-CE13Vv1z.css.br +0 -0
  70. package/dist/public/assets/icon-arrow-down-D-UU3b4l.css.br +0 -0
  71. package/dist/public/assets/new-BE32Bvf7.js +0 -1
  72. package/dist/public/assets/review-view-D2rU40po.css +0 -1
  73. package/dist/public/assets/review-view-D2rU40po.css.br +0 -0
  74. package/dist/public/assets/review-view-DKK8Dhx3.js +0 -2
  75. package/dist/public/assets/settings-BE32Bvf7.js +0 -1
  76. package/dist/public/assets/w-BE32Bvf7.js +0 -1
  77. package/dist/public/assets/w._-BE32Bvf7.js +0 -1
  78. package/dist/public/assets/w._-D42QLstp.js +0 -1
package/dist/index.mjs CHANGED
@@ -2284,6 +2284,31 @@ async function ensureGitCredentials(host) {
2284
2284
  "--hostname",
2285
2285
  host
2286
2286
  ], void 0, void 0, { timeoutMs: 3e4 }).catch(() => {});
2287
+ await stabilizeCredentialHelper(host).catch(() => {});
2288
+ }
2289
+ /** A path owned by one release of a version manager — mise/asdf `installs`,
2290
+ * homebrew's `Cellar`, nvm's `versions` — which is deleted the next time
2291
+ * that tool updates. */
2292
+ var VERSIONED = /\/(installs|Cellar|versions|toolchains)\//;
2293
+ /** `gh auth setup-git` writes the absolute path of the gh binary that ran it
2294
+ * into ~/.gitconfig. Git executes that string literally — it is not a PATH
2295
+ * lookup — so when gh came from a version manager, the next `gh` upgrade
2296
+ * deletes the directory the helper names and every https push dies with
2297
+ * "could not read Username for https://…". Repoint it at the launcher on
2298
+ * PATH (mise's shim, /usr/bin/gh) when that one is not itself version-owned:
2299
+ * still an absolute path, so it works for GUI clients and cron jobs that
2300
+ * never sourced a shell profile, but it follows upgrades. */
2301
+ async function stabilizeCredentialHelper(host) {
2302
+ const gh = await run("which", ["gh"]).catch(() => "");
2303
+ if (!gh || VERSIONED.test(gh)) return;
2304
+ await run("git", [
2305
+ "config",
2306
+ "--global",
2307
+ "--replace-all",
2308
+ `credential.https://${host}.helper`,
2309
+ `!${gh} auth git-credential`,
2310
+ "auth git-credential"
2311
+ ]);
2287
2312
  }
2288
2313
  function graphqlUrl(host) {
2289
2314
  return host === DEFAULT_HOST ? "https://api.github.com/graphql" : `https://${host}/api/graphql`;
@@ -2558,11 +2583,11 @@ var repoBranches = (fullName, refresh = false) => branches(fullName, refresh);
2558
2583
  async function repoParent(fullName) {
2559
2584
  const hit = (await repoCatalog().catch(() => null))?.repos.find((r) => r.nameWithOwner === fullName);
2560
2585
  if (hit && hit.parent !== void 0) return hit.parent;
2561
- return (await repoMeta$1(fullName)).parent;
2586
+ return (await repoMeta(fullName)).parent;
2562
2587
  }
2563
2588
  /** The repo's default branch, or null when the lookup failed. */
2564
- var repoDefaultBranch = async (fullName, refresh = false) => (await repoMeta$1(fullName, refresh)).defaultBranch;
2565
- var repoMeta$1 = swr(36e5, async (fullName) => {
2589
+ var repoDefaultBranch = async (fullName, refresh = false) => (await repoMeta(fullName, refresh)).defaultBranch;
2590
+ var repoMeta = swr(36e5, async (fullName) => {
2566
2591
  const { host, name } = splitRepo(fullName);
2567
2592
  const out = await gh([
2568
2593
  "api",
@@ -2788,7 +2813,7 @@ async function workspaceProcs(wsPath) {
2788
2813
  for (const { port, pid } of ports) portsByPid.set(pid, [...portsByPid.get(pid) || [], port]);
2789
2814
  const procs = [];
2790
2815
  const inWs = [...cwds].filter(([, cwd]) => inside(cwd, wsPath));
2791
- const argvOf = await mapLimit$1(inWs, PROC_SWEEP_CONCURRENCY, ([pid]) => argv ? Promise.resolve(argv.get(pid) || []) : procArgs$1(pid));
2816
+ const argvOf = await mapLimit$1(inWs, PROC_SWEEP_CONCURRENCY, ([pid]) => argv ? Promise.resolve(argv.get(pid) || []) : procArgs(pid));
2792
2817
  for (const [i, [pid, cwd]] of inWs.entries()) {
2793
2818
  const parts = argvOf[i];
2794
2819
  if (!parts.length) continue;
@@ -2926,7 +2951,7 @@ async function processArgsNow() {
2926
2951
  }
2927
2952
  /** A process's argv on Linux (best-effort; empty when it died or is
2928
2953
  * unreadable). */
2929
- async function procArgs$1(pid) {
2954
+ async function procArgs(pid) {
2930
2955
  try {
2931
2956
  const parts = (await fs$1.readFile(`/proc/${pid}/cmdline`, "utf8")).split("\0").filter(Boolean);
2932
2957
  return parts.length === 1 ? parts[0].split(/\s+/).filter(Boolean) : parts;
@@ -3258,7 +3283,7 @@ function queueMaterialize(id) {
3258
3283
  function resumePendingWorkspaces() {
3259
3284
  for (const ws of listWorkspaces()) if (ws.pending && ws.status === "active") queueMaterialize(ws.id);
3260
3285
  }
3261
- async function addRepo$1(workspaceId, fullName, baseBranch, fork) {
3286
+ async function addRepo(workspaceId, fullName, baseBranch, fork) {
3262
3287
  const ws = getWorkspace(workspaceId);
3263
3288
  if (!ws) throw new Error(`unknown workspace: ${workspaceId}`);
3264
3289
  assertKnownHost(fullName);
@@ -7289,18 +7314,19 @@ function applyInstance(inst) {
7289
7314
  if (icon) icon.href = `/api/instance/icon${inst.accent ? `?v=${inst.accent.slice(1)}` : ""}`;
7290
7315
  syncThemeColorMetas(theme(), inst.accent || "");
7291
7316
  }
7292
- var agentRow = "_cT _ct";
7293
- var toolGrid = "_c1 _cD";
7294
- var toolRow = "_c2 _cE";
7295
- var themeSeg = "_do _bd";
7296
- var checkList = "_dU _cg";
7297
- var list$2 = "_cF _ci _cs _cD";
7298
- var flatCardRow = "_cG _cE";
7299
- var pop$1 = "_cO _9";
7300
- var spinner = "_cR _1 _G";
7301
- var busy = "_d1 _d0";
7302
- var pop = "_d3 _9";
7303
- var sectionCount$1 = "_cf _N _O";
7317
+ var agentRow = "_c3 _cE";
7318
+ var toolGrid = "_da _cO";
7319
+ var toolRow = "_db _cP";
7320
+ var themeSeg = "_dy _bd";
7321
+ var checkList = "_d4 _ca";
7322
+ var list$2 = "_cQ _cc _cD _cO";
7323
+ var flatCardRow = "_cR _cP";
7324
+ var chip$1 = "_c0 _X _W";
7325
+ var pop$1 = "_cz _9";
7326
+ var spinner = "_cC _1 _G";
7327
+ var busy = "_ea _d_";
7328
+ var pop = "_ec _9";
7329
+ var sectionCount$1 = "_b_ _N _O";
7304
7330
  //#endregion
7305
7331
  //#region src/tags/icons/icon-refresh.marko
7306
7332
  var icon_refresh_default = _template("nb", (input) => {
@@ -7340,18 +7366,18 @@ var icon_back_default = _template("U", (input) => {
7340
7366
  var page_head_default = _template("t", (input) => {
7341
7367
  const $scope0_reason = _scope_reason(), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions = _serialize_guard($scope0_reason, 3), $sg__input_meta = _serialize_guard($scope0_reason, 6), $sg__input_actions = _serialize_guard($scope0_reason, 7), $si__input_backHref__OR__input_onBack = _serialize_if($scope0_reason, 1), $si__input_meta = _serialize_if($scope0_reason, 6), $si__input_actions = _serialize_if($scope0_reason, 7);
7342
7368
  const $scope0_id = _scope_id();
7343
- _html(`<header${_attr_class("_d9")}>`);
7369
+ _html(`<header${_attr_class("_ei")}>`);
7344
7370
  _if(() => {
7345
7371
  if (input.backHref) {
7346
7372
  const $scope1_id = _scope_id();
7347
- _html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_eF"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7373
+ _html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_eP"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7348
7374
  icon_back_default({ size: 14 });
7349
7375
  _html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 0))}`);
7350
7376
  _serialize_if($scope0_reason, 2) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 0) && _scope_with_id($scope0_id) });
7351
7377
  return 0;
7352
7378
  } else if (input.onBack) {
7353
7379
  const $scope2_id = _scope_id();
7354
- _html(`<button${_attr_class([iconBtnRow, "_eF"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7380
+ _html(`<button${_attr_class([iconBtnRow, "_eP"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7355
7381
  icon_back_default({ size: 14 });
7356
7382
  _html(`</button>${_el_resume($scope2_id, "a")}`);
7357
7383
  _script($scope2_id, "t0");
@@ -7359,11 +7385,11 @@ var page_head_default = _template("t", (input) => {
7359
7385
  return 1;
7360
7386
  }
7361
7387
  }, $scope0_id, "b", _serialize_guard($scope0_reason, 2), _serialize_guard($scope0_reason, 1), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions, 0, 1);
7362
- _html(`<div${_attr_class("_ea")}><h1${_attr("id", input.titleId)}${_attr_class("_d_")}>${_text_resume($scope0_id, "e", input.title, _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
7388
+ _html(`<div${_attr_class("_ek")}><h1${_attr("id", input.titleId)}${_attr_class("_ej")}>${_text_resume($scope0_id, "e", input.title, _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
7363
7389
  _if(() => {
7364
7390
  if (input.meta) {
7365
7391
  const $scope3_id = _scope_id();
7366
- _html(`<p${_attr_class("_eb")}>`);
7392
+ _html(`<p${_attr_class("_el")}>`);
7367
7393
  _dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
7368
7394
  _html("</p>");
7369
7395
  $si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
@@ -7374,7 +7400,7 @@ var page_head_default = _template("t", (input) => {
7374
7400
  _if(() => {
7375
7401
  if (input.actions) {
7376
7402
  const $scope4_id = _scope_id();
7377
- _html(`<div${_attr_class("_ec")}>`);
7403
+ _html(`<div${_attr_class("_em")}>`);
7378
7404
  _dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
7379
7405
  _html("</div>");
7380
7406
  $si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
@@ -7442,7 +7468,7 @@ var icon_agent_default = _template("O", (input) => {
7442
7468
  n: $badge__closures
7443
7469
  });
7444
7470
  });
7445
- var usageNote = "_hn _W";
7471
+ var usageNote = "_ha _W";
7446
7472
  //#endregion
7447
7473
  //#region src/tags/icons/icon-warning.marko
7448
7474
  var icon_warning_default = _template("vb", (input) => {
@@ -7472,11 +7498,11 @@ var usage_meters_default = _template("K", (input) => {
7472
7498
  const $scope0_reason = _scope_reason(), $sg__input_agent__OR__input_hideName = _serialize_guard($scope0_reason, 0), $sg__input_agent = _serialize_guard($scope0_reason, 1), $si__input_agent = _serialize_if($scope0_reason, 1), $sg__input_hideName = _serialize_guard($scope0_reason, 2), $si__input_agent__OR__input_hideName = _serialize_if($scope0_reason, 0);
7473
7499
  const $scope0_id = _scope_id();
7474
7500
  const agent = input.agent;
7475
- _html(`<div${_attr_class(["_hh", { ["_hi"]: input.hideName }])}><div${_attr_class("_hj")}>`);
7501
+ _html(`<div${_attr_class(["_g5", { ["_g6"]: input.hideName }])}><div${_attr_class("_g7")}>`);
7476
7502
  _if(() => {
7477
7503
  if (!input.hideName) {
7478
7504
  const $scope1_id = _scope_id();
7479
- _html(`<strong${_attr_class("_hC")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
7505
+ _html(`<strong${_attr_class("_hp")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
7480
7506
  $si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
7481
7507
  return 0;
7482
7508
  }
@@ -7484,7 +7510,7 @@ var usage_meters_default = _template("K", (input) => {
7484
7510
  _if(() => {
7485
7511
  if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
7486
7512
  const $scope2_id = _scope_id();
7487
- _html(`<span${_attr_class("_hk")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
7513
+ _html(`<span${_attr_class("_g8")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
7488
7514
  $si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
7489
7515
  return 0;
7490
7516
  }
@@ -7492,21 +7518,21 @@ var usage_meters_default = _template("K", (input) => {
7492
7518
  _if(() => {
7493
7519
  if (agent.stale_seconds != null) {
7494
7520
  const $scope3_id = _scope_id();
7495
- _html(`<span${_attr_class("_hl")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
7521
+ _html(`<span${_attr_class("_g9")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
7496
7522
  icon_warning_default({ size: 12 });
7497
7523
  _html(` ${_text_resume($scope3_id, "c", duration(agent.stale_seconds * 1e3), $sg__input_agent * 2)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
7498
7524
  $si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
7499
7525
  return 0;
7500
7526
  }
7501
7527
  }, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
7502
- _html(`</div><div${_attr_class(["_hm", { ["_hD"]: agent.stale_seconds != null }])}>`);
7528
+ _html(`</div><div${_attr_class(["_g_", { ["_hq"]: agent.stale_seconds != null }])}>`);
7503
7529
  _for_of(agent.windows || [], (win) => {
7504
7530
  const $scope4_id = _scope_id();
7505
7531
  const pct = pctText(win.used_percent);
7506
7532
  const label = resetLabel(win.resets_at, agent.stale_seconds != null);
7507
- const fillClass = win.used_percent >= 90 ? "_hv" : win.used_percent >= 70 ? "_hu" : win.used_percent >= 40 ? "_ht" : "_hs";
7508
- const pctClass = win.used_percent >= 90 ? "_hA" : win.used_percent >= 70 ? "_hz" : win.used_percent >= 40 ? "_hy" : "_hx";
7509
- _html(`<div${_attr_class("_ho")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_hp")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_hq")}><span${_attr_class(["_hr", 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(["_hw", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_hB")}>`);
7533
+ const fillClass = win.used_percent >= 90 ? "_hi" : win.used_percent >= 70 ? "_hh" : win.used_percent >= 40 ? "_hg" : "_hf";
7534
+ const pctClass = win.used_percent >= 90 ? "_hn" : win.used_percent >= 70 ? "_hm" : win.used_percent >= 40 ? "_hl" : "_hk";
7535
+ _html(`<div${_attr_class("_hb")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_hc")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_hd")}><span${_attr_class(["_he", fillClass])}${_attr_style(`width:${Math.min(100, Math.max(2, win.used_percent))}%`)}></span>${_el_resume($scope4_id, "e", $sg__input_agent)}</span><span${_attr_class(["_hj", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_ho")}>`);
7510
7536
  _if(() => {
7511
7537
  if (label) {
7512
7538
  const $scope6_id = _scope_id();
@@ -7605,10 +7631,10 @@ var add_field_default = _template("b", (input$3) => {
7605
7631
  }
7606
7632
  }, $scope0_id, "a", 1, 1, 1, 0, 1);
7607
7633
  _html(`<form${_attr_class([
7608
- "_cH",
7634
+ "_cs",
7609
7635
  input$3.class,
7610
- { ["_cI"]: !open }
7611
- ])}><label${_attr_class(["_0", "_cK"])}>`);
7636
+ { ["_ct"]: !open }
7637
+ ])}><label${_attr_class(["_0", "_cv"])}>`);
7612
7638
  _if(() => {
7613
7639
  if (input$3.searching) {
7614
7640
  const $scope5_id = _scope_id();
@@ -7635,7 +7661,7 @@ var add_field_default = _template("b", (input$3) => {
7635
7661
  }, "b0", $scope0_id))}${_attr_class([
7636
7662
  "_Y",
7637
7663
  "_2",
7638
- "_cL"
7664
+ "_cw"
7639
7665
  ])} type=text${_attr("placeholder", input$3.placeholder)}${_attr("aria-label", input$3.ariaLabel)} autocomplete=off spellcheck=false>${_el_resume($scope0_id, "e")}</label>`);
7640
7666
  _if(() => {
7641
7667
  if (input$3.submitLabel) {
@@ -7643,19 +7669,19 @@ var add_field_default = _template("b", (input$3) => {
7643
7669
  _html(`<button${_attr_class([
7644
7670
  btnSm,
7645
7671
  "_r",
7646
- "_cM"
7672
+ "_cx"
7647
7673
  ])} type=submit${_attr("hidden", !open)}${_attr("disabled", !value.trim() || input$3.busy)}>${_text_resume($scope3_id, "b", input$3.busy ? "Adding…" : input$3.submitLabel, _serialize_guard($scope0_reason, 1))}</button>${_el_resume($scope3_id, "a")}`);
7648
7674
  writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
7649
7675
  return 0;
7650
7676
  }
7651
7677
  }, $scope0_id, "f", 1, _serialize_guard($scope0_reason, 7), 1, 0, 1);
7652
- _html(`<button${_attr_class([iconBtnRow, "_cN"])} type=button${_attr("hidden", !open)} title=Close aria-label=Close${_attr("disabled", input$3.busy)}>`);
7678
+ _html(`<button${_attr_class([iconBtnRow, "_cy"])} type=button${_attr("hidden", !open)} title=Close aria-label=Close${_attr("disabled", input$3.busy)}>`);
7653
7679
  icon_xmark_default({ size: 14 });
7654
7680
  _html(`</button>${_el_resume($scope0_id, "g")}`);
7655
7681
  _if(() => {
7656
7682
  if (input$3.content) {
7657
7683
  const $scope4_id = _scope_id();
7658
- _html(`<ul${_attr_class([pop$1, "_cP"])}${_attr("hidden", !open || !value.trim())}>`);
7684
+ _html(`<ul${_attr_class([pop$1, "_cA"])}${_attr("hidden", !open || !value.trim())}>`);
7659
7685
  _dynamic_tag($scope4_id, "b", input$3.content, {}, 0, 0, $sg__input_content);
7660
7686
  _html(`</ul>${_el_resume($scope4_id, "a")}`);
7661
7687
  writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
@@ -7782,14 +7808,14 @@ var sso_auth_default = _template("F", (input) => {
7782
7808
  localCode = null;
7783
7809
  }
7784
7810
  }, "F0", $scope0_id);
7785
- _html(`<div${_attr_class(["_g6", input.class])}>`);
7811
+ _html(`<div${_attr_class(["_hr", input.class])}>`);
7786
7812
  _for_of(input.items, (s) => {
7787
7813
  const $scope1_id = _scope_id();
7788
- _html(`<div${_attr_class("_g7")}><span${_attr_class("_g9")}><span${_attr_class("_g_")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_ha", "_hb"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
7814
+ _html(`<div${_attr_class("_hs")}><span${_attr_class("_hu")}><span${_attr_class("_hv")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_hw", "_hx"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
7789
7815
  _if(() => {
7790
7816
  if (!busy) {
7791
7817
  const $scope2_id = _scope_id();
7792
- _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, "_hc"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
7818
+ _html(`<button type=button${_attr_class([btnSm, "_r"])} title="Re-authorize GitHub CLI (same device flow as Sign in)">Authorize</button>${_el_resume($scope2_id, "a")}<button type=button${_attr_class([btnSm, "_hy"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
7793
7819
  _script($scope2_id, "F1");
7794
7820
  writeScope($scope2_id, {});
7795
7821
  return 0;
@@ -7804,13 +7830,13 @@ var sso_auth_default = _template("F", (input) => {
7804
7830
  _if(() => {
7805
7831
  if (localBusy && localCode) {
7806
7832
  const $scope4_id = _scope_id();
7807
- _html(`<div${_attr_class(["_g7", "_hd"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_he")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_hf")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
7833
+ _html(`<div${_attr_class(["_hs", "_hz"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_hA")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_hB")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
7808
7834
  _script($scope4_id, "F2");
7809
7835
  writeScope($scope4_id, {});
7810
7836
  return 0;
7811
7837
  } else if (localBusy) {
7812
7838
  const $scope6_id = _scope_id();
7813
- _html(`<div${_attr_class(["_g7", "_hd"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
7839
+ _html(`<div${_attr_class(["_hs", "_hz"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
7814
7840
  writeScope($scope6_id, {});
7815
7841
  return 1;
7816
7842
  }
@@ -7818,14 +7844,14 @@ var sso_auth_default = _template("F", (input) => {
7818
7844
  _if(() => {
7819
7845
  if (localError) {
7820
7846
  const $scope5_id = _scope_id();
7821
- _html(`<p${_attr_class(["_g7", "_hg"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
7847
+ _html(`<p${_attr_class(["_hs", "_hC"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
7822
7848
  writeScope($scope5_id, {});
7823
7849
  return 0;
7824
7850
  }
7825
7851
  }, $scope0_id, "d", 1, 1, 1, 0, 1);
7826
7852
  _for_of(skipped, (s) => {
7827
7853
  const $scope3_id = _scope_id();
7828
- _html(`<div${_attr_class(["_g7", "_g8"])}><span${_attr_class("_g9")}><span${_attr_class("_g_")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_ha")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_hc"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
7854
+ _html(`<div${_attr_class(["_hs", "_ht"])}><span${_attr_class("_hu")}><span${_attr_class("_hv")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_hw")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_hy"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
7829
7855
  _script($scope3_id, "F3");
7830
7856
  writeScope($scope3_id, {
7831
7857
  i: s?.org,
@@ -7876,7 +7902,7 @@ var skill_chip_default = _template("E", (input) => {
7876
7902
  const $input_tags__closures = /* @__PURE__ */ new Set();
7877
7903
  const $input_actions__closures = /* @__PURE__ */ new Set();
7878
7904
  const $input_trailing__closures = /* @__PURE__ */ new Set();
7879
- _html(`<li${_attr_class("_dZ")}>`);
7905
+ _html(`<li${_attr_class("_d9")}>`);
7880
7906
  _if(() => {
7881
7907
  if (input.busy != null) {
7882
7908
  const $scope1_id = _scope_id();
@@ -7886,20 +7912,20 @@ var skill_chip_default = _template("E", (input) => {
7886
7912
  } else {
7887
7913
  const $scope2_id = _scope_id();
7888
7914
  const popId = _id();
7889
- _html(`<button${_attr_class("_d0")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7915
+ _html(`<button${_attr_class("_d_")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7890
7916
  _if(() => {
7891
7917
  if (input.hint) {
7892
7918
  const $scope3_id = _scope_id();
7893
- _html(`<span${_attr_class("_d2")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7919
+ _html(`<span${_attr_class("_eb")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7894
7920
  $si__input_busy__OR__input_hint && _subscribe($si__input_hint && $input_hint__closures, writeScope($scope3_id, { _: _scope_with_id($scope2_id) }));
7895
7921
  return 0;
7896
7922
  }
7897
7923
  }, $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);
7898
- _html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["_ck", "_y"])}>${_text_resume($scope2_id, "f", input.name, $sg__input_name)}</span>`);
7924
+ _html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["_ce", "_y"])}>${_text_resume($scope2_id, "f", input.name, $sg__input_name)}</span>`);
7899
7925
  _if(() => {
7900
7926
  if (input.description) {
7901
7927
  const $scope4_id = _scope_id();
7902
- _html(`<span${_attr_class("_cm")}${_attr("title", input.description)}>${_text_resume($scope4_id, "b", input.description, $sg__input_description)}</span>${_el_resume($scope4_id, "a", $sg__input_description)}`);
7928
+ _html(`<span${_attr_class("_cg")}${_attr("title", input.description)}>${_text_resume($scope4_id, "b", input.description, $sg__input_description)}</span>${_el_resume($scope4_id, "a", $sg__input_description)}`);
7903
7929
  $si__input_busy__OR__input_description && _subscribe($si__input_description && $input_description__closures, writeScope($scope4_id, { _: _scope_with_id($scope2_id) }));
7904
7930
  return 0;
7905
7931
  }
@@ -7907,12 +7933,12 @@ var skill_chip_default = _template("E", (input) => {
7907
7933
  _if(() => {
7908
7934
  if (input.sourceUrl) {
7909
7935
  const $scope5_id = _scope_id();
7910
- _html(`<a${_attr_class(["_cm", "_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))}`);
7936
+ _html(`<a${_attr_class(["_cg", "_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))}`);
7911
7937
  $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) })));
7912
7938
  return 0;
7913
7939
  } else if (input.source) {
7914
7940
  const $scope6_id = _scope_id();
7915
- _html(`<span${_attr_class("_cm")}>${_text_resume($scope6_id, "b", input.source, $sg__input_source)}</span>`);
7941
+ _html(`<span${_attr_class("_cg")}>${_text_resume($scope6_id, "b", input.source, $sg__input_source)}</span>`);
7916
7942
  $si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal && _subscribe($si__input_source && $input_source__closures, writeScope($scope6_id, {
7917
7943
  _: _scope_with_id($scope2_id),
7918
7944
  Cs: $si__input_source && 1
@@ -7920,7 +7946,7 @@ var skill_chip_default = _template("E", (input) => {
7920
7946
  return 1;
7921
7947
  } else if (input.noteLocal) {
7922
7948
  const $scope10_id = _scope_id();
7923
- _html(`<span${_attr_class(["_cm", "_x"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
7949
+ _html(`<span${_attr_class(["_cg", "_x"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
7924
7950
  _serialize_if($scope0_reason, 8) && writeScope($scope10_id, {});
7925
7951
  return 2;
7926
7952
  }
@@ -7928,7 +7954,7 @@ var skill_chip_default = _template("E", (input) => {
7928
7954
  _if(() => {
7929
7955
  if (input.tags) {
7930
7956
  const $scope7_id = _scope_id();
7931
- _html(`<span${_attr_class("_cl")}>`);
7957
+ _html(`<span${_attr_class("_cf")}>`);
7932
7958
  _dynamic_tag($scope7_id, "b", input.tags, {}, 0, 0, $sg__input_tags);
7933
7959
  _html("</span>");
7934
7960
  $si__input_busy__OR__input_tags && _subscribe($si__input_tags && $input_tags__closures, writeScope($scope7_id, { _: _scope_with_id($scope2_id) }));
@@ -7938,7 +7964,7 @@ var skill_chip_default = _template("E", (input) => {
7938
7964
  _if(() => {
7939
7965
  if (input.actions) {
7940
7966
  const $scope8_id = _scope_id();
7941
- _html(`<div${_attr_class("_d4")}>`);
7967
+ _html(`<div${_attr_class("_ed")}>`);
7942
7968
  _dynamic_tag($scope8_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
7943
7969
  _html("</div>");
7944
7970
  $si__input_busy__OR__input_actions && _subscribe($si__input_actions && $input_actions__closures, writeScope($scope8_id, { _: _scope_with_id($scope2_id) }));
@@ -8049,7 +8075,7 @@ var icon_moon_default = _template("lb", (input) => {
8049
8075
  });
8050
8076
  //#endregion
8051
8077
  //#region src/tags/prompt-dialog.css.ts
8052
- var promptDlg = "_g5 _g1";
8078
+ var promptDlg = "_g4 _g0";
8053
8079
  //#endregion
8054
8080
  //#region src/tags/dialog-close.marko
8055
8081
  var dialog_close_default = _template("h", (input) => {
@@ -8073,7 +8099,7 @@ var modal_view_default = _template("q", (input) => {
8073
8099
  const { label, class: inputClass, open: _open, openChange: _openChange, dismissable: _dismissable, content, footer, closedby: _closedby, onCancel: _onCancel, onClose: _onClose, "aria-label": inputAriaLabel, "aria-labelledby": inputLabelledBy, ...htmlInput } = input;
8074
8100
  const dismissable = input.dismissable !== false;
8075
8101
  let open = input.open;
8076
- _html(`<dialog${_attr_class(["_g0", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
8102
+ _html(`<dialog${_attr_class(["_gZ", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
8077
8103
  ...htmlInput,
8078
8104
  open: null
8079
8105
  }, {
@@ -8083,20 +8109,20 @@ var modal_view_default = _template("q", (input) => {
8083
8109
  closedby: 1,
8084
8110
  "on-cancel": 1,
8085
8111
  "on-close": 1
8086
- }, "a", $scope0_id, "dialog")}><div${_attr_class("_g3")}>`);
8112
+ }, "a", $scope0_id, "dialog")}><div${_attr_class("_g2")}>`);
8087
8113
  _dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
8088
8114
  _html("</div>");
8089
8115
  _if(() => {
8090
8116
  if (footer) {
8091
8117
  const $scope1_id = _scope_id();
8092
- _html(`<form method=dialog${_attr_class("_g4")}>`);
8118
+ _html(`<form method=dialog${_attr_class("_g3")}>`);
8093
8119
  _dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
8094
8120
  _html("</form>");
8095
8121
  $si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
8096
8122
  return 0;
8097
8123
  } else if (input.openChange) {
8098
8124
  const $scope2_id = _scope_id();
8099
- _html(`<form method=dialog${_attr_class("_g4")}>`);
8125
+ _html(`<form method=dialog${_attr_class("_g3")}>`);
8100
8126
  dialog_close_default({
8101
8127
  class: ["_q", "_r"],
8102
8128
  content: _content("q0", () => {
@@ -8180,7 +8206,7 @@ var prompt_dialog_default = _template("u", (input) => {
8180
8206
  content: _content("u7", () => {
8181
8207
  _scope_reason();
8182
8208
  const $scope2_id = _scope_id();
8183
- _html(`<h2${_attr_class("_g2")}${_attr("id", titleId)}>${_text_resume($scope2_id, "b", input.label, $sg__input_label)}</h2><input${_attr_input_value($scope2_id, "c", value, _resume((_new_value) => {
8209
+ _html(`<h2${_attr_class("_g1")}${_attr("id", titleId)}>${_text_resume($scope2_id, "b", input.label, $sg__input_label)}</h2><input${_attr_input_value($scope2_id, "c", value, _resume((_new_value) => {
8184
8210
  value = _new_value;
8185
8211
  }, "u0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
8186
8212
  _script($scope2_id, "u5");
@@ -8724,7 +8750,7 @@ var settings_page_default = _template("A", (input) => {
8724
8750
  const githubId = _id();
8725
8751
  const backupId = _id();
8726
8752
  const machineId = _id();
8727
- _html(`<div${_attr_class("_d5")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_d6")}><div${_attr_class("_d7")}>`);
8753
+ _html(`<div${_attr_class("_ee")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_ef")}><div${_attr_class("_eg")}>`);
8728
8754
  _set_serialize_reason({
8729
8755
  0: _serialize_guard($scope0_reason, 4),
8730
8756
  1: $sg__input_backHref__OR__input_onExit,
@@ -8756,7 +8782,7 @@ var settings_page_default = _template("A", (input) => {
8756
8782
  _resume_branch($scope12_id);
8757
8783
  }, $scope0_id) })
8758
8784
  });
8759
- _html(`<div${_attr_class("_d8")}>`);
8785
+ _html(`<div${_attr_class("_eh")}>`);
8760
8786
  _if(() => {
8761
8787
  if (setup && !setup.ready) {
8762
8788
  const $scope4_id = _scope_id();
@@ -8799,16 +8825,16 @@ var settings_page_default = _template("A", (input) => {
8799
8825
  _if(() => {
8800
8826
  if (selfUpdatePending || selfUpdating) {
8801
8827
  const $scope43_id = _scope_id();
8802
- _html(`<div${_attr_class("_ds")} role=status><div${_attr_class("_dt")}>`);
8828
+ _html(`<div${_attr_class("_dC")} role=status><div${_attr_class("_dD")}>`);
8803
8829
  _if(() => {
8804
8830
  if (selfUpdating) {
8805
8831
  const $scope81_id = _scope_id();
8806
- _html(`<span${_attr_class("_du")}><span${_attr_class("_G")}></span> Updating work…</span><span${_attr_class("_dv")}>The app restarts and reloads when it is done.</span>`);
8832
+ _html(`<span${_attr_class("_dE")}><span${_attr_class("_G")}></span> Updating work…</span><span${_attr_class("_dF")}>The app restarts and reloads when it is done.</span>`);
8807
8833
  writeScope($scope81_id, {});
8808
8834
  return 0;
8809
8835
  } else {
8810
8836
  const $scope44_id = _scope_id();
8811
- _html(`<span${_attr_class("_du")}>Update available</span><span${_attr_class("_dv")}>v${_text_resume($scope44_id, "c", self.version, 2)} → v${_text_resume($scope44_id, "d", self.latest, 2)}</span>`);
8837
+ _html(`<span${_attr_class("_dE")}>Update available</span><span${_attr_class("_dF")}>v${_text_resume($scope44_id, "c", self.version, 2)} → v${_text_resume($scope44_id, "d", self.latest, 2)}</span>`);
8812
8838
  _subscribe($self_version__closures, _subscribe($self_latest__closures, writeScope($scope44_id, {})));
8813
8839
  return 1;
8814
8840
  }
@@ -8838,11 +8864,11 @@ var settings_page_default = _template("A", (input) => {
8838
8864
  _: _scope_with_id($scope0_id)
8839
8865
  });
8840
8866
  }, $scope0_id) };
8841
- _html(`<section${_attr_class("_cd")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_ce")}><h2${_attr("id", agentsId)}${_attr_class("_cr")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_cU")}><span${_attr_class("_W")}>Default</span><span${_attr_class("_o")}>`);
8867
+ _html(`<section${_attr_class("_b8")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_b9")}><h2${_attr("id", agentsId)}${_attr_class("_cl")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_c4")}><span${_attr_class("_W")}>Default</span><span${_attr_class("_o")}>`);
8842
8868
  _attr_select_value($scope0_id, "p", input.preferred, _resume(function(v) {
8843
8869
  setPreferred(v);
8844
8870
  }, "A0", $scope0_id), () => {
8845
- _html(`<select${_attr_class(["_p", "_cV"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
8871
+ _html(`<select${_attr_class(["_p", "_c5"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
8846
8872
  _for_of(input.agents.filter((a) => a !== "shell"), (id) => {
8847
8873
  const $scope83_id = _scope_id();
8848
8874
  _html(`<option${_attr_option_value(id)}>${_text_resume($scope83_id, "b", agentLabel(id), $sg__input_agents)}</option>${_el_resume($scope83_id, "a", $sg__input_agents)}`);
@@ -8857,14 +8883,14 @@ var settings_page_default = _template("A", (input) => {
8857
8883
  const rows = lone ? [] : a.instances;
8858
8884
  const loneAccounts = lone ? accountsFor(lone.id) : [];
8859
8885
  const extraAccounts = a.installed ? strayAccountsFor(a) : [];
8860
- _html(`<li${_attr_class(agentRow)}><div${_attr_class(["_cW", { ["_cY"]: lone && !lone.enabled }])}>`);
8886
+ _html(`<li${_attr_class(agentRow)}><div${_attr_class(["_c6", { ["_c8"]: lone && !lone.enabled }])}>`);
8861
8887
  _set_serialize_reason(12);
8862
8888
  const $childScope3 = _peek_scope_id();
8863
8889
  icon_agent_default({
8864
8890
  agent: a.id,
8865
8891
  size: 18
8866
8892
  });
8867
- _html(`<div${_attr_class("_cj")}><span${_attr_class("_cl")}><span${_attr_class("_ck")}>${_text_resume($scope1_id, "g", a.label)}</span>`);
8893
+ _html(`<div${_attr_class("_cd")}><span${_attr_class("_cf")}><span${_attr_class("_ce")}>${_text_resume($scope1_id, "g", a.label)}</span>`);
8868
8894
  _if(() => {
8869
8895
  if (lone && input.preferred === lone.id) {
8870
8896
  const $scope85_id = _scope_id();
@@ -8877,12 +8903,12 @@ var settings_page_default = _template("A", (input) => {
8877
8903
  _if(() => {
8878
8904
  if (active.has(a.id)) {
8879
8905
  const $scope13_id = _scope_id();
8880
- _html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", active.get(a.id) || "Starting…")}</span>`);
8906
+ _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", active.get(a.id) || "Starting…")}</span>`);
8881
8907
  _subscribe($active__closures, writeScope($scope13_id, {}));
8882
8908
  return 0;
8883
8909
  } else if (!a.installed) {
8884
8910
  const $scope86_id = _scope_id();
8885
- _html(`<span${_attr_class("_cm")}>Not installed</span>`);
8911
+ _html(`<span${_attr_class("_cg")}>Not installed</span>`);
8886
8912
  writeScope($scope86_id, {});
8887
8913
  return 1;
8888
8914
  }
@@ -8913,15 +8939,15 @@ var settings_page_default = _template("A", (input) => {
8913
8939
  _if(() => {
8914
8940
  if (rows.length || loneAccounts.length || extraAccounts.length) {
8915
8941
  const $scope2_id = _scope_id();
8916
- _html(`<ul${_attr_class(["_c0", { ["_cY"]: lone && !lone.enabled }])}>`);
8942
+ _html(`<ul${_attr_class(["_c_", { ["_c8"]: lone && !lone.enabled }])}>`);
8917
8943
  _for_of(rows, (inst) => {
8918
8944
  const $scope3_id = _scope_id();
8919
8945
  const accounts = accountsFor(inst.id);
8920
- _html(`<li${_attr_class(["_cX", { ["_cY"]: !inst.enabled }])}><div${_attr_class("_cW")}>`);
8946
+ _html(`<li${_attr_class(["_c7", { ["_c8"]: !inst.enabled }])}><div${_attr_class("_c6")}>`);
8921
8947
  _set_serialize_reason(12);
8922
8948
  const $childScope5 = _peek_scope_id();
8923
8949
  icon_agent_default({ agent: inst.id });
8924
- _html(`<span${_attr_class(["_cZ", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
8950
+ _html(`<span${_attr_class(["_c9", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
8925
8951
  _if(() => {
8926
8952
  if (input.preferred === inst.id) {
8927
8953
  const $scope87_id = _scope_id();
@@ -9000,24 +9026,24 @@ var settings_page_default = _template("A", (input) => {
9000
9026
  _if(() => {
9001
9027
  if (!usage && families.length) {
9002
9028
  const $scope90_id = _scope_id();
9003
- _html(`<p${_attr_class("_co")}><span${_attr_class("_G")}></span> Loading usage…</p>`);
9029
+ _html(`<p${_attr_class("_ci")}><span${_attr_class("_G")}></span> Loading usage…</p>`);
9004
9030
  writeScope($scope90_id, {});
9005
9031
  return 0;
9006
9032
  } else if (usage?.error) {
9007
9033
  const $scope9_id = _scope_id();
9008
- _html(`<p${_attr_class("_co")}>${_text_resume($scope9_id, "b", usage.error)}</p>`);
9034
+ _html(`<p${_attr_class("_ci")}>${_text_resume($scope9_id, "b", usage.error)}</p>`);
9009
9035
  writeScope($scope9_id, {});
9010
9036
  return 1;
9011
9037
  }
9012
9038
  }, $scope0_id, "t", 1, 1, 1, 0, 1);
9013
- _html(`</section></div><div${_attr_class("_d8")}><section${_attr_class("_cd")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_ce")}><h2${_attr("id", githubId)}${_attr_class("_cr")}>GitHub</h2>`);
9039
+ _html(`</section></div><div${_attr_class("_eh")}><section${_attr_class("_b8")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_b9")}><h2${_attr("id", githubId)}${_attr_class("_cl")}>GitHub</h2>`);
9014
9040
  _if(() => {
9015
9041
  if (setup) {
9016
9042
  const $scope41_id = _scope_id();
9017
9043
  _set_serialize_reason(44);
9018
9044
  const $childScope10 = _peek_scope_id();
9019
9045
  add_field_default({
9020
- class: "_c8",
9046
+ class: "_dh",
9021
9047
  open: addingHost,
9022
9048
  openChange: _resume((_new_addingHost) => {
9023
9049
  addingHost = _new_addingHost;
@@ -9047,19 +9073,19 @@ var settings_page_default = _template("A", (input) => {
9047
9073
  return 0;
9048
9074
  }
9049
9075
  }, $scope0_id, "y");
9050
- _html(`</div><div${_attr_class(["_ci", "_cs"])}>`);
9076
+ _html(`</div><div${_attr_class(["_cc", "_cD"])}>`);
9051
9077
  _for_of(setup?.github || [], (h) => {
9052
9078
  const $scope7_id = _scope_id();
9053
9079
  const $for_content3__h_host__closures = /* @__PURE__ */ new Set();
9054
9080
  const hostSso$1 = (h.sso || []).filter((s) => !ignoredSso.has(s.org));
9055
9081
  const skippedSso = (h.sso || []).filter((s) => ignoredSso.has(s.org));
9056
9082
  const busy = active.has(h.host);
9057
- _html(`<div${_attr_class(["_ct", "_c9"])}><div${_attr_class("_c_")}>`);
9083
+ _html(`<div${_attr_class(["_cE", "_di"])}><div${_attr_class("_dj")}>`);
9058
9084
  icon_github_default({
9059
9085
  size: 18,
9060
- class: "_da"
9086
+ class: "_dk"
9061
9087
  });
9062
- _html(`<div${_attr_class("_cj")}><span${_attr_class("_cl")}><span${_attr_class("_ck")}>${_text_resume($scope7_id, "g", h.host)}</span>`);
9088
+ _html(`<div${_attr_class("_cd")}><span${_attr_class("_cf")}><span${_attr_class("_ce")}>${_text_resume($scope7_id, "g", h.host)}</span>`);
9063
9089
  _if(() => {
9064
9090
  if (h.isEnterprise) {
9065
9091
  const $scope94_id = _scope_id();
@@ -9072,25 +9098,25 @@ var settings_page_default = _template("A", (input) => {
9072
9098
  _if(() => {
9073
9099
  if (busy) {
9074
9100
  const $scope14_id = _scope_id();
9075
- _html(`<span${_attr_class(["_cm", "_db"])}><span${_attr_class("_G")}></span>${_text_resume($scope14_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
9101
+ _html(`<span${_attr_class(["_cg", "_dl"])}><span${_attr_class("_G")}></span>${_text_resume($scope14_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
9076
9102
  _subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope14_id, { Ch1: 1 })));
9077
9103
  return 0;
9078
9104
  } else if (h.authed) {
9079
9105
  const $scope92_id = _scope_id();
9080
- _html(`<span${_attr_class(["_cm", "_db"])}>`);
9106
+ _html(`<span${_attr_class(["_cg", "_dl"])}>`);
9081
9107
  icon_check_default({
9082
9108
  size: 12,
9083
- class: "_dc"
9109
+ class: "_dm"
9084
9110
  });
9085
- _html(` Signed in as <strong${_attr_class("_de")}>${_text_resume($scope92_id, "d", h.user || "?")}</strong></span>`);
9111
+ _html(` Signed in as <strong${_attr_class("_do")}>${_text_resume($scope92_id, "d", h.user || "?")}</strong></span>`);
9086
9112
  writeScope($scope92_id, {});
9087
9113
  return 1;
9088
9114
  } else if (h.error) {
9089
9115
  const $scope93_id = _scope_id();
9090
9116
  _html(`<span${_attr_class([
9091
- "_cm",
9092
- "_db",
9093
- "_dd"
9117
+ "_cg",
9118
+ "_dl",
9119
+ "_dn"
9094
9120
  ])}>`);
9095
9121
  icon_warning_default({ size: 12 });
9096
9122
  _html(`${_text_resume($scope93_id, "c", h.error)}</span>`);
@@ -9098,7 +9124,7 @@ var settings_page_default = _template("A", (input) => {
9098
9124
  return 2;
9099
9125
  } else {
9100
9126
  const $scope95_id = _scope_id();
9101
- _html(`<span${_attr_class(["_cm", "_db"])}>Not signed in</span>`);
9127
+ _html(`<span${_attr_class(["_cg", "_dl"])}>Not signed in</span>`);
9102
9128
  writeScope($scope95_id, {});
9103
9129
  return 3;
9104
9130
  }
@@ -9141,7 +9167,7 @@ var settings_page_default = _template("A", (input) => {
9141
9167
  const $childScope12 = _peek_scope_id();
9142
9168
  arm_button_default({
9143
9169
  class: [
9144
- "_cn",
9170
+ "_ch",
9145
9171
  "_7",
9146
9172
  "_8"
9147
9173
  ],
@@ -9172,7 +9198,7 @@ var settings_page_default = _template("A", (input) => {
9172
9198
  _if(() => {
9173
9199
  if (busy && authCodes.has(h.host)) {
9174
9200
  const $scope35_id = _scope_id();
9175
- _html(`<div${_attr_class("_df")}><span${_attr_class("_dg")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_di")}>${_text_resume($scope35_id, "d", h.host)}/login/device</a>${_el_resume($scope35_id, "c")}</span><code${_attr_class("_dh")}>${_text_resume($scope35_id, "f", authCodes.get(h.host))}</code></div>`);
9201
+ _html(`<div${_attr_class("_dp")}><span${_attr_class("_dq")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_ds")}>${_text_resume($scope35_id, "d", h.host)}/login/device</a>${_el_resume($scope35_id, "c")}</span><code${_attr_class("_dr")}>${_text_resume($scope35_id, "f", authCodes.get(h.host))}</code></div>`);
9176
9202
  _subscribe($authCodes__closures, writeScope($scope35_id, { Ch6: 1 }));
9177
9203
  return 0;
9178
9204
  }
@@ -9184,7 +9210,7 @@ var settings_page_default = _template("A", (input) => {
9184
9210
  _set_serialize_reason(30);
9185
9211
  const $childScope13 = _peek_scope_id();
9186
9212
  sso_auth_default({
9187
- class: ["_ct", "_dj"],
9213
+ class: ["_cE", "_dt"],
9188
9214
  items: hostSso$1,
9189
9215
  skipped: skippedSso,
9190
9216
  busy,
@@ -9218,23 +9244,23 @@ var settings_page_default = _template("A", (input) => {
9218
9244
  _if(() => {
9219
9245
  if (setup && !setup.github.length) {
9220
9246
  const $scope98_id = _scope_id();
9221
- _html(`<p${_attr_class("_co")}>Install the GitHub CLI below to sign in.</p>`);
9247
+ _html(`<p${_attr_class("_ci")}>Install the GitHub CLI below to sign in.</p>`);
9222
9248
  writeScope($scope98_id, {});
9223
9249
  return 0;
9224
9250
  }
9225
9251
  }, $scope0_id, "a0", 1, 1, 1, 0, 1);
9226
- _html(`</section><section${_attr_class("_cd")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_ce")}><h2${_attr("id", machineId)}${_attr_class("_cr")}>Machine</h2></div><div${_attr_class(["_ci", "_cs"])}><div${_attr_class(["_ct", "_cu"])}><div${_attr_class(["_cv", { ["_cw"]: skillsOpen }])}><button${_attr_class("_cx")} aria-expanded=true>`);
9252
+ _html(`</section><section${_attr_class("_b8")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_b9")}><h2${_attr("id", machineId)}${_attr_class("_cl")}>Machine</h2></div><div${_attr_class(["_cc", "_cD"])}><div${_attr_class(["_cE", "_cF"])}><div${_attr_class(["_cG", { ["_cH"]: skillsOpen }])}><button${_attr_class("_cI")} aria-expanded=true>`);
9227
9253
  _set_serialize_reason(1);
9228
9254
  const $childScope14 = _peek_scope_id();
9229
9255
  icon_chevron_right_default({
9230
9256
  size: 12,
9231
- class: ["_cB", { ["_cC"]: skillsOpen }]
9257
+ class: ["_cM", { ["_cN"]: skillsOpen }]
9232
9258
  });
9233
- _html(`<span${_attr_class("_cy")}>Skills</span>`);
9259
+ _html(`<span${_attr_class("_cJ")}>Skills</span>`);
9234
9260
  _if(() => {
9235
9261
  if (skills?.global.length) {
9236
9262
  const $scope50_id = _scope_id();
9237
- _html(`<span${_attr_class("_cz")}>${_text_resume($scope50_id, "b", skills.global.length)} installed</span>`);
9263
+ _html(`<span${_attr_class("_cK")}>${_text_resume($scope50_id, "b", skills.global.length)} installed</span>`);
9238
9264
  writeScope($scope50_id, {});
9239
9265
  return 0;
9240
9266
  }
@@ -9262,7 +9288,7 @@ var settings_page_default = _template("A", (input) => {
9262
9288
  _if(() => {
9263
9289
  if (skillSearching && !skillHits?.length && !looksLikeSource(skillQuery)) {
9264
9290
  const $scope99_id = _scope_id();
9265
- _html(`<li${_attr_class("_cQ")}>Searching skills.sh…</li>`);
9291
+ _html(`<li${_attr_class("_cB")}>Searching skills.sh…</li>`);
9266
9292
  writeScope($scope99_id, {});
9267
9293
  return 0;
9268
9294
  }
@@ -9270,11 +9296,11 @@ var settings_page_default = _template("A", (input) => {
9270
9296
  _if(() => {
9271
9297
  if (looksLikeSource(skillQuery)) {
9272
9298
  const $scope17_id = _scope_id();
9273
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_c4", "_y"])}>${_text_resume($scope17_id, "d", skillQuery.trim())}</span>`);
9299
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cd")}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope17_id, "d", skillQuery.trim())}</span>`);
9274
9300
  _if(() => {
9275
9301
  if (active.has(skillQuery.trim())) {
9276
9302
  const $scope18_id = _scope_id();
9277
- _html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope18_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
9303
+ _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope18_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
9278
9304
  _subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope18_id, {
9279
9305
  Ch1: 3,
9280
9306
  Chs: 2
@@ -9282,7 +9308,7 @@ var settings_page_default = _template("A", (input) => {
9282
9308
  return 0;
9283
9309
  } else {
9284
9310
  const $scope100_id = _scope_id();
9285
- _html(`<span${_attr_class("_cm")}>Add straight from this source</span>`);
9311
+ _html(`<span${_attr_class("_cg")}>Add straight from this source</span>`);
9286
9312
  writeScope($scope100_id, {});
9287
9313
  return 1;
9288
9314
  }
@@ -9308,16 +9334,16 @@ var settings_page_default = _template("A", (input) => {
9308
9334
  _for_of(skillHits || [], (h) => {
9309
9335
  const $scope19_id = _scope_id();
9310
9336
  const $for_content4__h_installs__closures = /* @__PURE__ */ new Set();
9311
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_c4", "_y"])}>${_text_resume($scope19_id, "d", h.name)}</span>`);
9337
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cd")}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope19_id, "d", h.name)}</span>`);
9312
9338
  _if(() => {
9313
9339
  if (active.has(h.skillId)) {
9314
9340
  const $scope20_id = _scope_id();
9315
- _html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope20_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
9341
+ _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope20_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
9316
9342
  _subscribe($active__closures, writeScope($scope20_id, { Ch1: 5 }));
9317
9343
  return 0;
9318
9344
  } else {
9319
9345
  const $scope101_id = _scope_id();
9320
- _html(`<span${_attr_class("_cm")}${_attr("title", h.source)}>${_text_resume($scope101_id, "b", h.source)}</span>${_el_resume($scope101_id, "a")}`);
9346
+ _html(`<span${_attr_class("_cg")}${_attr("title", h.source)}>${_text_resume($scope101_id, "b", h.source)}</span>${_el_resume($scope101_id, "a")}`);
9321
9347
  writeScope($scope101_id, {});
9322
9348
  return 1;
9323
9349
  }
@@ -9365,7 +9391,7 @@ var settings_page_default = _template("A", (input) => {
9365
9391
  _if(() => {
9366
9392
  if (skillHits && !skillHits.length && !skillSearching && !looksLikeSource(skillQuery)) {
9367
9393
  const $scope52_id = _scope_id();
9368
- _html(`<li${_attr_class("_cQ")}>No skills match "${_text_resume($scope52_id, "b", skillQuery, 2)}".</li>`);
9394
+ _html(`<li${_attr_class("_cB")}>No skills match "${_text_resume($scope52_id, "b", skillQuery, 2)}".</li>`);
9369
9395
  _subscribe($skillQuery__closures, writeScope($scope52_id, { Chs: 3 }));
9370
9396
  return 0;
9371
9397
  }
@@ -9382,22 +9408,22 @@ var settings_page_default = _template("A", (input) => {
9382
9408
  _if(() => {
9383
9409
  {
9384
9410
  const $scope21_id = _scope_id();
9385
- _html(`<div${_attr_class("_cA")}>`);
9411
+ _html(`<div${_attr_class("_cL")}>`);
9386
9412
  _if(() => {
9387
9413
  if (skills && !skills.agents.length) {
9388
9414
  const $scope104_id = _scope_id();
9389
- _html(`<p${_attr_class("_co")}>No agent CLIs are installed, so a skill would have nowhere to go. Install one from Agents above.</p>`);
9415
+ _html(`<p${_attr_class("_ci")}>No agent CLIs are installed, so a skill would have nowhere to go. Install one from Agents above.</p>`);
9390
9416
  writeScope($scope104_id, {});
9391
9417
  return 0;
9392
9418
  } else if (skills && !skills.available) {
9393
9419
  const $scope22_id = _scope_id();
9394
- _html(`<p${_attr_class("_co")}>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($scope22_id, "c", active.has("skills") ? "Installing…" : "Install it")}</button>${_el_resume($scope22_id, "b")}</p>`);
9420
+ _html(`<p${_attr_class("_ci")}>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($scope22_id, "c", active.has("skills") ? "Installing…" : "Install it")}</button>${_el_resume($scope22_id, "b")}</p>`);
9395
9421
  _script($scope22_id, "A66");
9396
9422
  _subscribe($active__closures, writeScope($scope22_id, { Ch1: 6 }));
9397
9423
  return 1;
9398
9424
  }
9399
9425
  }, $scope21_id, "b", 1, 1, 1, 0, 1);
9400
- _html(`<ul${_attr_class("_dY")}>`);
9426
+ _html(`<ul${_attr_class("_d8")}>`);
9401
9427
  _for_of(skills?.global || [], (s) => {
9402
9428
  const $scope23_id = _scope_id();
9403
9429
  const $for_content5__s_agents__closures = /* @__PURE__ */ new Set();
@@ -9475,7 +9501,7 @@ var settings_page_default = _template("A", (input) => {
9475
9501
  _if(() => {
9476
9502
  if (skills && !skills.global.length && skills.available && skills.agents.length) {
9477
9503
  const $scope108_id = _scope_id();
9478
- _html(`<p${_attr_class("_co")}>No skills installed. Search below, or paste an owner/repo.</p>`);
9504
+ _html(`<p${_attr_class("_ci")}>No skills installed. Search below, or paste an owner/repo.</p>`);
9479
9505
  writeScope($scope108_id, {});
9480
9506
  return 0;
9481
9507
  }
@@ -9485,18 +9511,18 @@ var settings_page_default = _template("A", (input) => {
9485
9511
  return 0;
9486
9512
  }
9487
9513
  }, $scope0_id, "ac", 1, 1, 1, 0, 1);
9488
- _html(`</div><div${_attr_class(["_ct", "_cu"])}><div${_attr_class(["_cv", { ["_cw"]: machineOpen }])}><button${_attr_class("_cx")} aria-expanded=${machineOpen ? "true" : "false"}>`);
9514
+ _html(`</div><div${_attr_class(["_cE", "_cF"])}><div${_attr_class(["_cG", { ["_cH"]: machineOpen }])}><button${_attr_class("_cI")} aria-expanded=${machineOpen ? "true" : "false"}>`);
9489
9515
  _set_serialize_reason(1);
9490
9516
  const $childScope18 = _peek_scope_id();
9491
9517
  icon_chevron_right_default({
9492
9518
  size: 12,
9493
- class: ["_cB", { ["_cC"]: machineOpen }]
9519
+ class: ["_cM", { ["_cN"]: machineOpen }]
9494
9520
  });
9495
- _html(`<span${_attr_class("_cy")}>Tools</span><span${_attr_class("_cz")}>${_text_resume($scope0_id, "aj", tools.filter((t) => t.installed).length)} installed ${_text_resume($scope0_id, "ak", missingCount ? `${_to_text(" · ")}${_to_text(missingCount)} missing` : "", 2)}${_text_resume($scope0_id, "al", outdatedIds.length ? `${_to_text(" · ")}${_to_text(outdatedIds.length)} outdated` : "", 2)}</span></button>${_el_resume($scope0_id, "af")}`);
9521
+ _html(`<span${_attr_class("_cJ")}>Tools</span><span${_attr_class("_cK")}>${_text_resume($scope0_id, "aj", tools.filter((t) => t.installed).length)} installed ${_text_resume($scope0_id, "ak", missingCount ? `${_to_text(" · ")}${_to_text(missingCount)} missing` : "", 2)}${_text_resume($scope0_id, "al", outdatedIds.length ? `${_to_text(" · ")}${_to_text(outdatedIds.length)} outdated` : "", 2)}</span></button>${_el_resume($scope0_id, "af")}`);
9496
9522
  _if(() => {
9497
9523
  if (bulk) {
9498
9524
  const $scope34_id = _scope_id();
9499
- _html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope34_id, "c", bulk.action === "update" ? "Updating" : "Installing")} ${_text_resume($scope34_id, "d", Math.min(bulk.done + 1, bulk.total), 2)}/${_text_resume($scope34_id, "e", bulk.total, 2)}${_text_resume($scope34_id, "f", activeLine && ` — ${activeLine}`, 2)}</span>`);
9525
+ _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope34_id, "c", bulk.action === "update" ? "Updating" : "Installing")} ${_text_resume($scope34_id, "d", Math.min(bulk.done + 1, bulk.total), 2)}/${_text_resume($scope34_id, "e", bulk.total, 2)}${_text_resume($scope34_id, "f", activeLine && ` — ${activeLine}`, 2)}</span>`);
9500
9526
  writeScope($scope34_id, {});
9501
9527
  return 0;
9502
9528
  } else {
@@ -9545,7 +9571,7 @@ var settings_page_default = _template("A", (input) => {
9545
9571
  _if(() => {
9546
9572
  if (searching && !hits?.length) {
9547
9573
  const $scope109_id = _scope_id();
9548
- _html(`<li${_attr_class("_cQ")}>Searching the mise registry…</li>`);
9574
+ _html(`<li${_attr_class("_cB")}>Searching the mise registry…</li>`);
9549
9575
  writeScope($scope109_id, {});
9550
9576
  return 0;
9551
9577
  }
@@ -9553,23 +9579,23 @@ var settings_page_default = _template("A", (input) => {
9553
9579
  _if(() => {
9554
9580
  if (hits && !hits.length && !searching) {
9555
9581
  const $scope42_id = _scope_id();
9556
- _html(`<li${_attr_class("_cQ")}>No tools match "${_text_resume($scope42_id, "b", query, 2)}".</li>`);
9582
+ _html(`<li${_attr_class("_cB")}>No tools match "${_text_resume($scope42_id, "b", query, 2)}".</li>`);
9557
9583
  _subscribe($query__closures, writeScope($scope42_id, {}));
9558
9584
  return 0;
9559
9585
  }
9560
9586
  }, $scope28_id, "b", 1, 1, 1, 0, 1);
9561
9587
  _for_of(hits || [], (h) => {
9562
9588
  const $scope29_id = _scope_id();
9563
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_c4", "_y"])}>${_text_resume($scope29_id, "d", h.name)}</span>`);
9589
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cd")}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope29_id, "d", h.name)}</span>`);
9564
9590
  _if(() => {
9565
9591
  if (active.has(h.name)) {
9566
9592
  const $scope30_id = _scope_id();
9567
- _html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope30_id, "c", active.get(h.name) || "Starting…")}</span>`);
9593
+ _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope30_id, "c", active.get(h.name) || "Starting…")}</span>`);
9568
9594
  _subscribe($active__closures, writeScope($scope30_id, { Ch1: 9 }));
9569
9595
  return 0;
9570
9596
  } else if (h.description) {
9571
9597
  const $scope110_id = _scope_id();
9572
- _html(`<span${_attr_class("_cm")}${_attr("title", h.description)}>${_text_resume($scope110_id, "b", h.description)}</span>${_el_resume($scope110_id, "a")}`);
9598
+ _html(`<span${_attr_class("_cg")}${_attr("title", h.description)}>${_text_resume($scope110_id, "b", h.description)}</span>${_el_resume($scope110_id, "a")}`);
9573
9599
  writeScope($scope110_id, {});
9574
9600
  return 1;
9575
9601
  }
@@ -9616,11 +9642,11 @@ var settings_page_default = _template("A", (input) => {
9616
9642
  _if(() => {
9617
9643
  if (machineOpen) {
9618
9644
  const $scope6_id = _scope_id();
9619
- _html(`<div${_attr_class("_cA")}>`);
9645
+ _html(`<div${_attr_class("_cL")}>`);
9620
9646
  _if(() => {
9621
9647
  if (setup && !setup.mise.installed) {
9622
9648
  const $scope31_id = _scope_id();
9623
- _html(`<p${_attr_class("_co")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${_text_resume($scope31_id, "c", active.has("mise") ? "Installing…" : "Install mise")}</button>${_el_resume($scope31_id, "b")}</p>`);
9649
+ _html(`<p${_attr_class("_ci")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${_text_resume($scope31_id, "c", active.has("mise") ? "Installing…" : "Install mise")}</button>${_el_resume($scope31_id, "b")}</p>`);
9624
9650
  _script($scope31_id, "A76");
9625
9651
  _subscribe($active__closures, writeScope($scope31_id, { Ch1: 10 }));
9626
9652
  return 0;
@@ -9630,11 +9656,11 @@ var settings_page_default = _template("A", (input) => {
9630
9656
  _if(() => {
9631
9657
  if (self) {
9632
9658
  const $scope46_id = _scope_id();
9633
- _html(`<li${_attr_class(toolRow)}><span${_attr_class(["_c4", "_y"])}>work</span>`);
9659
+ _html(`<li${_attr_class(toolRow)}><span${_attr_class(["_dd", "_y"])}>work</span>`);
9634
9660
  _if(() => {
9635
9661
  if (selfUpdating) {
9636
9662
  const $scope112_id = _scope_id();
9637
- _html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
9663
+ _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
9638
9664
  writeScope($scope112_id, {});
9639
9665
  return 0;
9640
9666
  } else {
@@ -9648,7 +9674,7 @@ var settings_page_default = _template("A", (input) => {
9648
9674
  return 0;
9649
9675
  } else if (self.latest && self.latest !== self.version) {
9650
9676
  const $scope48_id = _scope_id();
9651
- _html(`<button${_attr_class([btnSm, "_c7"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
9677
+ _html(`<button${_attr_class([btnSm, "_dg"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
9652
9678
  icon_arrow_up_default({ size: 12 });
9653
9679
  _html(` ${_text_resume($scope48_id, "c", self.latest, 2)}</button>${_el_resume($scope48_id, "a")}`);
9654
9680
  _script($scope48_id, "A77");
@@ -9691,11 +9717,11 @@ var settings_page_default = _template("A", (input) => {
9691
9717
  const $for_content7__t_latest__closures = /* @__PURE__ */ new Set();
9692
9718
  const $for_content7__t_label__closures = /* @__PURE__ */ new Set();
9693
9719
  const $for_content7__t_newest__closures = /* @__PURE__ */ new Set();
9694
- _html(`<li${_attr_class([toolRow, { ["_c3"]: !t.installed }])}><span${_attr_class(["_c4", "_y"])}>${_text_resume($scope32_id, "c", t.label)}</span>`);
9720
+ _html(`<li${_attr_class([toolRow, { ["_dc"]: !t.installed }])}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope32_id, "c", t.label)}</span>`);
9695
9721
  _if(() => {
9696
9722
  if (active.has(t.id)) {
9697
9723
  const $scope33_id = _scope_id();
9698
- _html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope33_id, "c", active.get(t.id) || "Starting…")}</span>`);
9724
+ _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope33_id, "c", active.get(t.id) || "Starting…")}</span>`);
9699
9725
  _subscribe($active__closures, writeScope($scope33_id, { Ch1: 12 }));
9700
9726
  return 0;
9701
9727
  } else if (t.installed) {
@@ -9703,11 +9729,11 @@ var settings_page_default = _template("A", (input) => {
9703
9729
  _if(() => {
9704
9730
  if (t.version) {
9705
9731
  const $scope40_id = _scope_id();
9706
- _html(`<button${_attr_class(["_c6", "_y"])}${_attr("title", `${t.path || t.label}${aliasPin(t) ? `, pinned to ${t.pin}` : ""}. Pin a version`)}>v${_text_resume($scope40_id, "b", t.version, 2)}`);
9732
+ _html(`<button${_attr_class(["_df", "_y"])}${_attr("title", `${t.path || t.label}${aliasPin(t) ? `, pinned to ${t.pin}` : ""}. Pin a version`)}>v${_text_resume($scope40_id, "b", t.version, 2)}`);
9707
9733
  _if(() => {
9708
9734
  if (aliasPin(t)) {
9709
9735
  const $scope116_id = _scope_id();
9710
- _html(`<span${_attr_class("_c5")}>${_text_resume($scope116_id, "b", t.pin)}</span>`);
9736
+ _html(`<span${_attr_class("_de")}>${_text_resume($scope116_id, "b", t.pin)}</span>`);
9711
9737
  _subscribe($for_content7__t_pin__closures, writeScope($scope116_id, { Ca0: 1 }));
9712
9738
  return 0;
9713
9739
  }
@@ -9726,7 +9752,7 @@ var settings_page_default = _template("A", (input) => {
9726
9752
  _if(() => {
9727
9753
  if (outdated(t)) {
9728
9754
  const $scope57_id = _scope_id();
9729
- _html(`<button${_attr_class([btnSm, "_c7"])}${_attr("title", `Update to v${t.latest}`)}>`);
9755
+ _html(`<button${_attr_class([btnSm, "_dg"])}${_attr("title", `Update to v${t.latest}`)}>`);
9730
9756
  icon_arrow_up_default({ size: 12 });
9731
9757
  _html(` ${_text_resume($scope57_id, "c", t.latest, 2)}</button>${_el_resume($scope57_id, "a")}`);
9732
9758
  _script($scope57_id, "A79");
@@ -9734,7 +9760,7 @@ var settings_page_default = _template("A", (input) => {
9734
9760
  return 0;
9735
9761
  } else if (t.newest) {
9736
9762
  const $scope58_id = _scope_id();
9737
- _html(`<button${_attr_class(["_c6", "_y"])}${_attr("title", `v${t.newest} is out; ${t.pin} holds ${t.label} at v${t.version}. Pin v${t.newest} instead`)}>${_text_resume($scope58_id, "b", t.newest)} available</button>${_el_resume($scope58_id, "a")}`);
9763
+ _html(`<button${_attr_class(["_df", "_y"])}${_attr("title", `v${t.newest} is out; ${t.pin} holds ${t.label} at v${t.version}. Pin v${t.newest} instead`)}>${_text_resume($scope58_id, "b", t.newest)} available</button>${_el_resume($scope58_id, "a")}`);
9738
9764
  _script($scope58_id, "A80");
9739
9765
  _subscribe($for_content7__t_newest__closures, _subscribe($for_content7__t_pin__closures, _subscribe($for_content7__t_version__closures, _subscribe($for_content7__t_label__closures, writeScope($scope58_id, { Cy: 1 })))));
9740
9766
  return 1;
@@ -9847,14 +9873,14 @@ var settings_page_default = _template("A", (input) => {
9847
9873
  label: "Dark"
9848
9874
  }
9849
9875
  ];
9850
- _html(`</div></div></section><section${_attr_class("_cd")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_ce")}><h2${_attr("id", appearanceId)}${_attr_class("_cr")}>Appearance</h2></div><div${_attr_class(["_ci", "_dk"])}><div${_attr_class("_dw")}><img${_attr_class("_dx")}${_attr("src", `/api/instance/icon${accent ? `?v=${accent.slice(1)}` : ""}`)} alt aria-hidden=true>${_el_resume($scope0_id, "au", $sg__input_instance_accent)}<span${_attr_class("_dy")}><span${_attr_class("_dz")}>${_text_resume($scope0_id, "ax", input.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_dA")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_dl")}><span${_attr_class("_dm")}>Name</span><input${_attr_input_value($scope0_id, "b1", input.instance.name, _resume(function(v) {
9876
+ _html(`</div></div></section><section${_attr_class("_b8")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_b9")}><h2${_attr("id", appearanceId)}${_attr_class("_cl")}>Appearance</h2></div><div${_attr_class(["_cc", "_du"])}><div${_attr_class("_dG")}><img${_attr_class("_dH")}${_attr("src", `/api/instance/icon${accent ? `?v=${accent.slice(1)}` : ""}`)} alt aria-hidden=true>${_el_resume($scope0_id, "au", $sg__input_instance_accent)}<span${_attr_class("_dI")}><span${_attr_class("_dJ")}>${_text_resume($scope0_id, "ax", input.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_dK")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_dv")}><span${_attr_class("_dw")}>Name</span><input${_attr_input_value($scope0_id, "b1", input.instance.name, _resume(function(v) {
9851
9877
  setInstance({ name: v });
9852
- }, "A1", $scope0_id))}${_attr_class(["_Y", "_dn"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b1")}</label><div${_attr_class("_dl")}><span${_attr_class("_dm")}>Theme</span><span${_attr_class("_dp")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
9878
+ }, "A1", $scope0_id))}${_attr_class(["_Y", "_dx"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b1")}</label><div${_attr_class("_dv")}><span${_attr_class("_dw")}>Theme</span><span${_attr_class("_dz")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
9853
9879
  _for_of(themeOpts, (opt) => {
9854
9880
  const $scope49_id = _scope_id();
9855
9881
  _html(`<button type=button${_attr_class([
9856
9882
  "_bf",
9857
- "_dB",
9883
+ "_dL",
9858
9884
  { ["_be"]: themeMode === opt.id }
9859
9885
  ])} role=radio aria-checked=${themeMode === opt.id ? "true" : "false"}>`);
9860
9886
  if (opt.id === "system") {
@@ -9874,28 +9900,28 @@ var settings_page_default = _template("A", (input) => {
9874
9900
  _: _scope_with_id($scope0_id)
9875
9901
  });
9876
9902
  }, "id", $scope0_id, "b5", 1, 0, 1, 0, 1);
9877
- _html(`</span><span${_attr_class(["_o", "_dq"])}>`);
9903
+ _html(`</span><span${_attr_class(["_o", "_dA"])}>`);
9878
9904
  _attr_select_value($scope0_id, "b7", themeMode, _resume(function(v) {
9879
9905
  setThemeMode(v);
9880
9906
  }, "A2", $scope0_id), () => {
9881
- _html(`<select${_attr_class(["_p", "_dr"])} aria-label="Color theme">`);
9907
+ _html(`<select${_attr_class(["_p", "_dB"])} aria-label="Color theme">`);
9882
9908
  forOf(themeOpts, (opt) => {
9883
9909
  _scope_id();
9884
9910
  _html(`<option${_attr_option_value(opt.id)}>${_escape(opt.label)}</option>`);
9885
9911
  });
9886
9912
  _html("</select>");
9887
9913
  });
9888
- _html(`${_el_resume($scope0_id, "b7")}</span></span></div><div${_attr_class("_dl")}><span${_attr_class("_dm")}>Accent</span><span${_attr_class("_dC")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
9889
- "_dD",
9890
- "_dG",
9891
- { ["_dE"]: !accent }
9914
+ _html(`${_el_resume($scope0_id, "b7")}</span></span></div><div${_attr_class("_dv")}><span${_attr_class("_dw")}>Accent</span><span${_attr_class("_dM")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
9915
+ "_dN",
9916
+ "_dQ",
9917
+ { ["_dO"]: !accent }
9892
9918
  ])} role=radio aria-checked=${!accent ? "true" : "false"} title="Default (blue)" aria-label="Default (blue)">`);
9893
9919
  _if(() => {
9894
9920
  if (!accent) {
9895
9921
  const $scope126_id = _scope_id();
9896
9922
  icon_check_default({
9897
9923
  size: 12,
9898
- class: "_dF"
9924
+ class: "_dP"
9899
9925
  });
9900
9926
  $si__input_instance_accent && writeScope($scope126_id, {});
9901
9927
  return 0;
@@ -9903,13 +9929,13 @@ var settings_page_default = _template("A", (input) => {
9903
9929
  }, $scope0_id, "bb", $sg__input_instance_accent, 1, 1, "</button>", 1);
9904
9930
  _for_of(ACCENT_PRESETS, (p) => {
9905
9931
  const $scope79_id = _scope_id();
9906
- _html(`<button type=button${_attr_class(["_dD", { ["_dE"]: accent === p.value }])}${_attr_style(`--swatch:${p.value}`)} role=radio aria-checked=${accent === p.value ? "true" : "false"}${_attr("title", p.name)}${_attr("aria-label", p.name)}>`);
9932
+ _html(`<button type=button${_attr_class(["_dN", { ["_dO"]: accent === p.value }])}${_attr_style(`--swatch:${p.value}`)} role=radio aria-checked=${accent === p.value ? "true" : "false"}${_attr("title", p.name)}${_attr("aria-label", p.name)}>`);
9907
9933
  _if(() => {
9908
9934
  if (accent === p.value) {
9909
9935
  const $scope127_id = _scope_id();
9910
9936
  icon_check_default({
9911
9937
  size: 12,
9912
- class: "_dF"
9938
+ class: "_dP"
9913
9939
  });
9914
9940
  $si__input_instance_accent && writeScope($scope127_id, {});
9915
9941
  return 0;
@@ -9923,18 +9949,18 @@ var settings_page_default = _template("A", (input) => {
9923
9949
  }, "value", $scope0_id, "bc", $sg__input_instance_accent, 0, 1, 0, 1);
9924
9950
  const customOn = !!accent && !ACCENT_PRESETS.some((p) => p.value === accent);
9925
9951
  _html(`<label${_attr_class([
9926
- "_dD",
9927
- "_dH",
9928
- { ["_dE"]: customOn }
9952
+ "_dN",
9953
+ "_dR",
9954
+ { ["_dO"]: customOn }
9929
9955
  ])}${customOn ? _attr_style(`--swatch:${accent}`) : ""}${customOn ? _attr("title", `Custom ${accent}`) : " title=\"Custom colour\""}><input${_attr_input_value($scope0_id, "be", accent || "#3556d8", _resume(function(v) {
9930
9956
  setInstance({ accent: v });
9931
- }, "A3", $scope0_id))}${_attr_class("_dI")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "be")}`);
9957
+ }, "A3", $scope0_id))}${_attr_class("_dS")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "be")}`);
9932
9958
  _if(() => {
9933
9959
  if (customOn) {
9934
9960
  const $scope128_id = _scope_id();
9935
9961
  icon_check_default({
9936
9962
  size: 12,
9937
- class: "_dF"
9963
+ class: "_dP"
9938
9964
  });
9939
9965
  $si__input_instance_accent && writeScope($scope128_id, {});
9940
9966
  return 0;
@@ -9945,16 +9971,16 @@ var settings_page_default = _template("A", (input) => {
9945
9971
  return 1;
9946
9972
  }
9947
9973
  }, $scope0_id, "bf", $sg__input_instance_accent, $sg__input_instance_accent, 1, 0, 1);
9948
- _html(`</label>${_el_resume($scope0_id, "bd", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_cd")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_ce")}><h2${_attr("id", backupId)}${_attr_class("_cr")}>Backup</h2></div><div${_attr_class(["_ci", "_cs"])}><div${_attr_class("_ct")}><div${_attr_class("_dJ")}><div${_attr_class("_cj")}>`);
9974
+ _html(`</label>${_el_resume($scope0_id, "bd", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_b8")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_b9")}><h2${_attr("id", backupId)}${_attr_class("_cl")}>Backup</h2></div><div${_attr_class(["_cc", "_cD"])}><div${_attr_class("_cE")}><div${_attr_class("_dT")}><div${_attr_class("_cd")}>`);
9949
9975
  _if(() => {
9950
9976
  if (backupBusy === "preflight") {
9951
9977
  const $scope66_id = _scope_id();
9952
- _html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope66_id, "c", backupLine || "Checking workspaces…")}</span>`);
9978
+ _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope66_id, "c", backupLine || "Checking workspaces…")}</span>`);
9953
9979
  writeScope($scope66_id, {});
9954
9980
  return 0;
9955
9981
  } else {
9956
9982
  const $scope130_id = _scope_id();
9957
- _html(`<span${_attr_class("_cm")}>Save workspaces, settings, skills and tool pins to a file. Code stays on GitHub.</span>`);
9983
+ _html(`<span${_attr_class("_cg")}>Save workspaces, settings, skills and tool pins to a file. Code stays on GitHub.</span>`);
9958
9984
  writeScope($scope130_id, {});
9959
9985
  return 1;
9960
9986
  }
@@ -9972,7 +9998,7 @@ var settings_page_default = _template("A", (input) => {
9972
9998
  _if(() => {
9973
9999
  if (preflight && !backupBusy) {
9974
10000
  const $scope68_id = _scope_id();
9975
- _html(`<div${_attr_class("_dL")}><p${_attr_class("_dM")}>In the file: ${_text_resume($scope68_id, "c", preflight.contents.workspaces, 2)} workspace${_text_resume($scope68_id, "d", preflight.contents.workspaces === 1 ? "" : "s", 2)}${_text_resume($scope68_id, "e", preflight.contents.archived ? `${_to_text(" ")}(${_to_text(preflight.contents.archived)} archived)` : "", 2)} , ${_text_resume($scope68_id, "f", preflight.contents.tools, 2)} tool pin${_text_resume($scope68_id, "g", preflight.contents.tools === 1 ? "" : "s", 2)}, ${_text_resume($scope68_id, "h", preflight.contents.skills, 2)} skill${_text_resume($scope68_id, "i", preflight.contents.skills === 1 ? "" : "s", 2)}, ${_text_resume($scope68_id, "j", preflight.contents.agents, 2)} agent${_text_resume($scope68_id, "k", preflight.contents.agents === 1 ? "" : "s", 2)}.</p><p${_attr_class("_dM")}>Not in the file: `);
10001
+ _html(`<div${_attr_class("_dV")}><p${_attr_class("_dW")}>In the file: ${_text_resume($scope68_id, "c", preflight.contents.workspaces, 2)} workspace${_text_resume($scope68_id, "d", preflight.contents.workspaces === 1 ? "" : "s", 2)}${_text_resume($scope68_id, "e", preflight.contents.archived ? `${_to_text(" ")}(${_to_text(preflight.contents.archived)} archived)` : "", 2)} , ${_text_resume($scope68_id, "f", preflight.contents.tools, 2)} tool pin${_text_resume($scope68_id, "g", preflight.contents.tools === 1 ? "" : "s", 2)}, ${_text_resume($scope68_id, "h", preflight.contents.skills, 2)} skill${_text_resume($scope68_id, "i", preflight.contents.skills === 1 ? "" : "s", 2)}, ${_text_resume($scope68_id, "j", preflight.contents.agents, 2)} agent${_text_resume($scope68_id, "k", preflight.contents.agents === 1 ? "" : "s", 2)}.</p><p${_attr_class("_dW")}>Not in the file: `);
9976
10002
  _if(() => {
9977
10003
  if (preflight.unpushed) {
9978
10004
  const $scope69_id = _scope_id();
@@ -9989,15 +10015,15 @@ var settings_page_default = _template("A", (input) => {
9989
10015
  return 0;
9990
10016
  }
9991
10017
  }, $scope68_id, "m");
9992
- _html(`${_text_resume($scope68_id, "n", preflight.files ? `${_to_text(" ")}${_to_text(preflight.files)} uncommitted file${_to_text(preflight.files === 1 ? "" : "s")}` : "", 2)} .</p><ul${_attr_class("_dN")}>`);
10018
+ _html(`${_text_resume($scope68_id, "n", preflight.files ? `${_to_text(" ")}${_to_text(preflight.files)} uncommitted file${_to_text(preflight.files === 1 ? "" : "s")}` : "", 2)} .</p><ul${_attr_class("_dX")}>`);
9993
10019
  _for_of(preflight.workspaces, (w) => {
9994
10020
  const $scope132_id = _scope_id();
9995
10021
  const $for_content17__w_name__closures = /* @__PURE__ */ new Set();
9996
- _html(`<li${_attr_class("_dO")}><span${_attr_class("_ck")}>${_text_resume($scope132_id, "c", w.name)}</span><ul${_attr_class("_dN")}>`);
10022
+ _html(`<li${_attr_class("_dY")}><span${_attr_class("_ce")}>${_text_resume($scope132_id, "c", w.name)}</span><ul${_attr_class("_dX")}>`);
9997
10023
  _for_of(w.repos, (r) => {
9998
10024
  const $scope133_id = _scope_id();
9999
10025
  const $for_content18__r_more__closures = /* @__PURE__ */ new Set();
10000
- _html(`<li${_attr_class("_dP")}><span${_attr_class("_dQ")}><span${_attr_class("_y")}>${_text_resume($scope133_id, "d", r.worktree)}/</span>`);
10026
+ _html(`<li${_attr_class("_dZ")}><span${_attr_class("_d0")}><span${_attr_class("_y")}>${_text_resume($scope133_id, "d", r.worktree)}/</span>`);
10001
10027
  _for_of(r.unpushed, (b) => {
10002
10028
  const $scope134_id = _scope_id();
10003
10029
  _html(`<span${_attr_class(["_N", tone.warn])}${_attr("title", `${b.branch}: ${b.count} commit${b.count === 1 ? "" : "s"} origin does not have`)}>${_text_resume($scope134_id, "b", b.count)} unpushed `);
@@ -10016,10 +10042,10 @@ var settings_page_default = _template("A", (input) => {
10016
10042
  _if(() => {
10017
10043
  if (r.modified.length || r.untracked.length || r.ignored.length) {
10018
10044
  const $scope135_id = _scope_id();
10019
- _html(`<ul${_attr_class("_dR")}>`);
10045
+ _html(`<ul${_attr_class("_d1")}>`);
10020
10046
  _for_of(r.modified, (f) => {
10021
10047
  const $scope138_id = _scope_id();
10022
- _html(`<li${_attr_class("_dS")}><span${_attr_class([
10048
+ _html(`<li${_attr_class("_d2")}><span${_attr_class([
10023
10049
  "_N",
10024
10050
  "_P",
10025
10051
  tone.warn
@@ -10028,18 +10054,18 @@ var settings_page_default = _template("A", (input) => {
10028
10054
  }, (f) => f, $scope135_id, "b", 1, 1, 1, 0, 1);
10029
10055
  _for_of(r.untracked, (f) => {
10030
10056
  const $scope139_id = _scope_id();
10031
- _html(`<li${_attr_class("_dS")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope139_id, "d", f)}</span></li>`);
10057
+ _html(`<li${_attr_class("_d2")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope139_id, "d", f)}</span></li>`);
10032
10058
  writeScope($scope139_id, {});
10033
10059
  }, (f) => f, $scope135_id, "c", 1, 1, 1, 0, 1);
10034
10060
  _for_of(r.ignored, (f) => {
10035
10061
  const $scope140_id = _scope_id();
10036
- _html(`<li${_attr_class("_dS")}><span${_attr_class(["_N", "_P"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope140_id, "d", f)}</span></li>`);
10062
+ _html(`<li${_attr_class("_d2")}><span${_attr_class(["_N", "_P"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope140_id, "d", f)}</span></li>`);
10037
10063
  writeScope($scope140_id, {});
10038
10064
  }, (f) => f, $scope135_id, "d", 1, 1, 1, 0, 1);
10039
10065
  _if(() => {
10040
10066
  if (r.more) {
10041
10067
  const $scope136_id = _scope_id();
10042
- _html(`<li${_attr_class(["_dS", "_x"])}>+${_text_resume($scope136_id, "b", r.more, 2)} more</li>`);
10068
+ _html(`<li${_attr_class(["_d2", "_x"])}>+${_text_resume($scope136_id, "b", r.more, 2)} more</li>`);
10043
10069
  _subscribe($for_content18__r_more__closures, writeScope($scope136_id, {}));
10044
10070
  return 0;
10045
10071
  }
@@ -10064,27 +10090,27 @@ var settings_page_default = _template("A", (input) => {
10064
10090
  i: $for_content17__w_name__closures
10065
10091
  });
10066
10092
  }, "id", $scope68_id, "o", 1, 1, 1, "</ul>", 1);
10067
- _html(`<div${_attr_class("_dT")}><button${_attr_class([btnSm, { ["_r"]: !preflight.unpushed }])}>${_text_resume($scope68_id, "r", preflight.unpushed ? "Export anyway" : "Export")}</button>${_el_resume($scope68_id, "q")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope68_id, "s")}</div></div>`);
10093
+ _html(`<div${_attr_class("_d3")}><button${_attr_class([btnSm, { ["_r"]: !preflight.unpushed }])}>${_text_resume($scope68_id, "r", preflight.unpushed ? "Export anyway" : "Export")}</button>${_el_resume($scope68_id, "q")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope68_id, "s")}</div></div>`);
10068
10094
  _script($scope68_id, "A86");
10069
10095
  writeScope($scope68_id, {});
10070
10096
  return 0;
10071
10097
  }
10072
10098
  }, $scope0_id, "bo", 1, 1, 1, 0, 1);
10073
- _html(`</div><div${_attr_class("_ct")}><div${_attr_class("_dJ")}><div${_attr_class("_cj")}>`);
10099
+ _html(`</div><div${_attr_class("_cE")}><div${_attr_class("_dT")}><div${_attr_class("_cd")}>`);
10074
10100
  _if(() => {
10075
10101
  if (backupBusy === "restore") {
10076
10102
  const $scope67_id = _scope_id();
10077
- _html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope67_id, "c", backupLine || "Restoring…")}</span>`);
10103
+ _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope67_id, "c", backupLine || "Restoring…")}</span>`);
10078
10104
  writeScope($scope67_id, {});
10079
10105
  return 0;
10080
10106
  } else if (restoreDone) {
10081
10107
  const $scope75_id = _scope_id();
10082
- _html(`<span${_attr_class("_cm")}>${_text_resume($scope75_id, "b", restoreDone)}</span>`);
10108
+ _html(`<span${_attr_class("_cg")}>${_text_resume($scope75_id, "b", restoreDone)}</span>`);
10083
10109
  writeScope($scope75_id, {});
10084
10110
  return 1;
10085
10111
  } else {
10086
10112
  const $scope141_id = _scope_id();
10087
- _html(`<span${_attr_class("_cm")}>Load a backup file. Repos clone in the background.</span>`);
10113
+ _html(`<span${_attr_class("_cg")}>Load a backup file. Repos clone in the background.</span>`);
10088
10114
  writeScope($scope141_id, {});
10089
10115
  return 2;
10090
10116
  }
@@ -10092,7 +10118,7 @@ var settings_page_default = _template("A", (input) => {
10092
10118
  _if(() => {
10093
10119
  if (!restorePreview && backupBusy !== "restore") {
10094
10120
  const $scope77_id = _scope_id();
10095
- _html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_dK")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope77_id, "b")}</label>`);
10121
+ _html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_dU")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope77_id, "b")}</label>`);
10096
10122
  _script($scope77_id, "A87");
10097
10123
  writeScope($scope77_id, {});
10098
10124
  return 0;
@@ -10103,14 +10129,14 @@ var settings_page_default = _template("A", (input) => {
10103
10129
  if (restorePreview && backupBusy !== "restore") {
10104
10130
  const $scope70_id = _scope_id();
10105
10131
  const { preview } = restorePreview;
10106
- _html(`<div${_attr_class("_dL")}><p${_attr_class("_dM")}>From ${_text_resume($scope70_id, "c", preview.from.host, 2)} on ${_text_resume($scope70_id, "d", new Date(preview.from.exportedAt).toLocaleDateString(), 2)}${_text_resume($scope70_id, "e", preview.from.version ? ` (work ${preview.from.version})` : "", 2)}.</p>`);
10132
+ _html(`<div${_attr_class("_dV")}><p${_attr_class("_dW")}>From ${_text_resume($scope70_id, "c", preview.from.host, 2)} on ${_text_resume($scope70_id, "d", new Date(preview.from.exportedAt).toLocaleDateString(), 2)}${_text_resume($scope70_id, "e", preview.from.version ? ` (work ${preview.from.version})` : "", 2)}.</p>`);
10107
10133
  _if(() => {
10108
10134
  if (preview.workspaces.length) {
10109
10135
  const $scope71_id = _scope_id();
10110
10136
  _html(`<ul${_attr_class(checkList)}>`);
10111
10137
  _for_of(preview.workspaces, (w) => {
10112
10138
  const $scope72_id = _scope_id();
10113
- _html(`<li><label${_attr_class(["_dV", { ["_dX"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_dW")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_cj")}><span${_attr_class("_cl")}><span${_attr_class("_ck")}>${_text_resume($scope72_id, "f", w.name)}</span>`);
10139
+ _html(`<li><label${_attr_class(["_d5", { ["_d7"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_d6")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_cd")}><span${_attr_class("_cf")}><span${_attr_class("_ce")}>${_text_resume($scope72_id, "f", w.name)}</span>`);
10114
10140
  _if(() => {
10115
10141
  if (w.status === "archived") {
10116
10142
  const $scope145_id = _scope_id();
@@ -10132,7 +10158,7 @@ var settings_page_default = _template("A", (input) => {
10132
10158
  return 1;
10133
10159
  }
10134
10160
  }, $scope72_id, "h", 1, 1, 1, 0, 1);
10135
- _html(`</span><span${_attr_class("_cm")}>${_text_resume($scope72_id, "j", w.repos.join(", ") || "no repos")}</span></span></label>${_el_resume($scope72_id, "a")}</li>`);
10161
+ _html(`</span><span${_attr_class("_cg")}>${_text_resume($scope72_id, "j", w.repos.join(", ") || "no repos")}</span></span></label>${_el_resume($scope72_id, "a")}</li>`);
10136
10162
  _script($scope72_id, "A88");
10137
10163
  _subscribe($restoreWs__closures, writeScope($scope72_id, {
10138
10164
  n: w?.unknownHost,
@@ -10143,7 +10169,7 @@ var settings_page_default = _template("A", (input) => {
10143
10169
  return 0;
10144
10170
  } else {
10145
10171
  const $scope143_id = _scope_id();
10146
- _html(`<p${_attr_class("_co")}>No workspaces in this file.</p>`);
10172
+ _html(`<p${_attr_class("_ci")}>No workspaces in this file.</p>`);
10147
10173
  writeScope($scope143_id, {});
10148
10174
  return 1;
10149
10175
  }
@@ -10183,7 +10209,7 @@ var settings_page_default = _template("A", (input) => {
10183
10209
  _if(() => {
10184
10210
  if (p.total) {
10185
10211
  const $scope74_id = _scope_id();
10186
- _html(`<li><label${_attr_class(["_dV", { ["_dX"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_dW")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_cj")}><span${_attr_class("_ck")}>${_text_resume($scope74_id, "e", p.label)}</span><span${_attr_class("_cm")}>`);
10212
+ _html(`<li><label${_attr_class(["_d5", { ["_d7"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_d6")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_cd")}><span${_attr_class("_ce")}>${_text_resume($scope74_id, "e", p.label)}</span><span${_attr_class("_cg")}>`);
10187
10213
  _if(() => {
10188
10214
  if (p.key === "settings") {
10189
10215
  const $scope142_id = _scope_id();
@@ -10230,7 +10256,7 @@ var settings_page_default = _template("A", (input) => {
10230
10256
  i: $for_content10__p_total__closures
10231
10257
  });
10232
10258
  }, "key", $scope70_id, "h");
10233
- _html(`</ul><div${_attr_class("_dT")}><button${_attr_class([btnSm, "_r"])}${_attr("disabled", !restoreWs.size && !Object.values(restoreParts).some(Boolean))}>Restore</button>${_el_resume($scope70_id, "j")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope70_id, "k")}</div></div>`);
10259
+ _html(`</ul><div${_attr_class("_d3")}><button${_attr_class([btnSm, "_r"])}${_attr("disabled", !restoreWs.size && !Object.values(restoreParts).some(Boolean))}>Restore</button>${_el_resume($scope70_id, "j")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope70_id, "k")}</div></div>`);
10234
10260
  _script($scope70_id, "A90");
10235
10261
  writeScope($scope70_id, {});
10236
10262
  return 0;
@@ -10527,14 +10553,14 @@ function activeAgent(session) {
10527
10553
  const command = session.state?.command?.trim();
10528
10554
  return command && agentFromCommand(command) || session.agent;
10529
10555
  }
10530
- var heroTag = "_e5 _N _Q";
10531
- var rowState = "_fg _N";
10532
- var prChip = "_h5 _u _h4";
10533
- var portChip = "_h6 _u _h4";
10556
+ var heroTag = "_fe _N _Q";
10557
+ var rowState = "_fq _N";
10558
+ var prChip = "_hW _u _hV";
10559
+ var portChip = "_hX _u _hV";
10534
10560
  var prState = {
10535
- open: "_h_",
10536
- merged: "_ia",
10537
- closed: "_ib"
10561
+ open: "_h1",
10562
+ merged: "_h2",
10563
+ closed: "_h3"
10538
10564
  };
10539
10565
  //#endregion
10540
10566
  //#region src/tags/icons/icon-diff.marko
@@ -10615,7 +10641,7 @@ var side_nav_chips_default = _template("B", (input) => {
10615
10641
  const name = repo.full_name.split("/").at(-1);
10616
10642
  return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel$1(repo.full_name) : name;
10617
10643
  }, "B3", $scope1_id);
10618
- _html(`<div${_attr_class("_h3")}>`);
10644
+ _html(`<div${_attr_class("_hU")}>`);
10619
10645
  _for_of(repos, (repo) => {
10620
10646
  const $scope2_id = _scope_id();
10621
10647
  const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
@@ -10631,11 +10657,11 @@ var side_nav_chips_default = _template("B", (input) => {
10631
10657
  [prState.merged]: pr$1.state === "MERGED",
10632
10658
  [prState.closed]: pr$1.state === "CLOSED"
10633
10659
  }
10634
- ])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_h7", { ["_ie"]: !open }])}${_attr("href", pr$1.url)} target=_blank rel=noopener>${_text_resume($scope3_id, "c", repoLabel(repo))}#${_text_resume($scope3_id, "d", pr$1.number, 2)}</a>${_el_resume($scope3_id, "b")}`);
10660
+ ])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_hY", { ["_h6"]: !open }])}${_attr("href", pr$1.url)} target=_blank rel=noopener>${_text_resume($scope3_id, "c", repoLabel(repo))}#${_text_resume($scope3_id, "d", pr$1.number, 2)}</a>${_el_resume($scope3_id, "b")}`);
10635
10661
  _if(() => {
10636
10662
  if (open) {
10637
10663
  const $scope4_id = _scope_id();
10638
- _html(`<a${_attr_class(["_h7", "_h8"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
10664
+ _html(`<a${_attr_class(["_hY", "_hZ"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
10639
10665
  icon_diff_default({ size: 12 });
10640
10666
  _html(`</a>${_el_resume($scope4_id, "a")}`);
10641
10667
  _subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
@@ -10643,9 +10669,9 @@ var side_nav_chips_default = _template("B", (input) => {
10643
10669
  } else {
10644
10670
  const $scope5_id = _scope_id();
10645
10671
  _html(`<button type=button${_attr_class([
10646
- "_h7",
10647
- "_h8",
10648
- "_h9"
10672
+ "_hY",
10673
+ "_hZ",
10674
+ "_h0"
10649
10675
  ])}${_attr("title", `Dismiss #${pr$1.number}`)}>`);
10650
10676
  icon_xmark_default({ size: 12 });
10651
10677
  _html(`</button>${_el_resume($scope5_id, "a")}`);
@@ -10673,12 +10699,12 @@ var side_nav_chips_default = _template("B", (input) => {
10673
10699
  _if(() => {
10674
10700
  if (dead.has(p.port)) {
10675
10701
  const $scope7_id = _scope_id();
10676
- _html(`<span${_attr_class(["_h7", "_ic"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
10702
+ _html(`<span${_attr_class(["_hY", "_h4"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
10677
10703
  _subscribe($dead__closures, writeScope($scope7_id, { Cy: 1 }));
10678
10704
  return 0;
10679
10705
  } else {
10680
10706
  const $scope8_id = _scope_id();
10681
- _html(`<button type=button${_attr_class(["_h7", "_id"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
10707
+ _html(`<button type=button${_attr_class(["_hY", "_h5"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
10682
10708
  _script($scope8_id, "B6");
10683
10709
  writeScope($scope8_id, {});
10684
10710
  return 1;
@@ -10687,9 +10713,9 @@ var side_nav_chips_default = _template("B", (input) => {
10687
10713
  const $childScope = _peek_scope_id();
10688
10714
  arm_button_default({
10689
10715
  class: [
10690
- "_h7",
10691
- "_h8",
10692
- "_h9"
10716
+ "_hY",
10717
+ "_hZ",
10718
+ "_h0"
10693
10719
  ],
10694
10720
  title: `Kill ${p.cmd} (pid ${p.pid})`,
10695
10721
  armedTitle: "Kill?",
@@ -10736,12 +10762,12 @@ var side_nav_chips_default = _template("B", (input) => {
10736
10762
  });
10737
10763
  _resume_branch($scope0_id);
10738
10764
  });
10739
- var railBtn = "_fl _l";
10740
- var wsBtn = "_fp _I";
10741
- var rowIcon = "_fs _3 _l";
10742
- var close = "_ft _6 _l _7";
10743
- var sessRename$1 = "_fz _J";
10744
- var sessBtn$1 = "_fB _I";
10765
+ var railBtn = "_fL _l";
10766
+ var wsBtn = "_fP _I";
10767
+ var rowIcon = "_fS _3 _l";
10768
+ var close = "_fT _6 _l _7";
10769
+ var sessRename$1 = "_fZ _J";
10770
+ var sessBtn$1 = "_f1 _I";
10745
10771
  //#endregion
10746
10772
  //#region src/tags/icons/icon-manage.marko
10747
10773
  var icon_manage_default = _template("jb", (input) => {
@@ -10856,7 +10882,7 @@ var side_nav_item_default = _template("C", (input) => {
10856
10882
  _if(() => {
10857
10883
  if (input.rail) {
10858
10884
  const $scope2_id = _scope_id();
10859
- _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_fi"]: input.current }])}${ws$1.pending ? _attr("title", `${ws$1.name} — restoring`) : _attr("title", ws$1.name)}>${_text_resume($scope2_id, "b", input.index === void 0 ? "·" : input.index + 1, _serialize_guard($scope0_reason, 18))}<span${_attr_class([
10885
+ _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_fI"]: input.current }])}${ws$1.pending ? _attr("title", `${ws$1.name} — restoring`) : _attr("title", ws$1.name)}>${_text_resume($scope2_id, "b", input.index === void 0 ? "·" : input.index + 1, _serialize_guard($scope0_reason, 18))}<span${_attr_class([
10860
10886
  "_A",
10861
10887
  phase[dot$1],
10862
10888
  "_bb"
@@ -10866,31 +10892,31 @@ var side_nav_item_default = _template("C", (input) => {
10866
10892
  } else if (ws$1.pending) {
10867
10893
  const $scope3_id = _scope_id();
10868
10894
  _html(`<section${_attr_class([
10869
- "_fn",
10870
- "_fD",
10871
- { ["_fm"]: input.page }
10872
- ])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_fo")}><div${_attr_class(wsBtn)}>`);
10895
+ "_fN",
10896
+ "_f3",
10897
+ { ["_fM"]: input.page }
10898
+ ])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_fO")}><div${_attr_class(wsBtn)}>`);
10873
10899
  _if(() => {
10874
10900
  if (ws$1.pending_error) {
10875
10901
  const $scope11_id = _scope_id();
10876
10902
  icon_warning_default({
10877
10903
  size: 12,
10878
- class: "_fF"
10904
+ class: "_f5"
10879
10905
  });
10880
10906
  $si__input_workspace && writeScope($scope11_id, {});
10881
10907
  return 0;
10882
10908
  } else {
10883
10909
  const $scope12_id = _scope_id();
10884
- _html(`<span${_attr_class(["_G", "_fE"])}></span>`);
10910
+ _html(`<span${_attr_class(["_G", "_f4"])}></span>`);
10885
10911
  $si__input_workspace && writeScope($scope12_id, {});
10886
10912
  return 1;
10887
10913
  }
10888
10914
  }, $scope3_id, "d", $sg__input_workspace, $sg__input_workspace, 1, 0, 1);
10889
- _html(`<span${_attr_class("_fv")}><span${_attr_class("_fw")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_fH")}${_attr("title", ws$1.pending_error || restoreLine)}>${_text_resume($scope3_id, "i", ws$1.pending_error ? `Restore failed: ${ws$1.pending_error}` : restoreLine || "Restoring…")}</span>${_el_resume($scope3_id, "h")}</span></div></div>`);
10915
+ _html(`<span${_attr_class("_fV")}><span${_attr_class("_fW")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_f7")}${_attr("title", ws$1.pending_error || restoreLine)}>${_text_resume($scope3_id, "i", ws$1.pending_error ? `Restore failed: ${ws$1.pending_error}` : restoreLine || "Restoring…")}</span>${_el_resume($scope3_id, "h")}</span></div></div>`);
10890
10916
  _if(() => {
10891
10917
  if (ws$1.pending_error && !retrying) {
10892
10918
  const $scope10_id = _scope_id();
10893
- _html(`<div${_attr_class("_fG")}><button type=button${_attr_class(["_q", btnSm])} title="Run the restore again">Retry</button>${_el_resume($scope10_id, "b")}`);
10919
+ _html(`<div${_attr_class("_f6")}><button type=button${_attr_class(["_q", btnSm])} title="Run the restore again">Retry</button>${_el_resume($scope10_id, "b")}`);
10894
10920
  arm_button_default({
10895
10921
  class: ["_q", btnSm],
10896
10922
  title: "Delete workspace",
@@ -10921,11 +10947,11 @@ var side_nav_item_default = _template("C", (input) => {
10921
10947
  const $scope4_id = _scope_id();
10922
10948
  const sessions$1 = input.sessions || [];
10923
10949
  const phaseLabel = dot$1 === "working" ? "Working" : dot$1 === "waiting" ? "Needs input" : dot$1 === "idle" ? "Idle" : "Not running";
10924
- _html(`<section${_attr_class(["_fn", {
10925
- ["_fi"]: input.current,
10950
+ _html(`<section${_attr_class(["_fN", {
10951
+ ["_fI"]: input.current,
10926
10952
  ["_bc"]: input.current,
10927
- ["_fk"]: input.menuOpen
10928
- }])}><div${_attr_class("_fo")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class(wsBtn)}><span${_attr_class(["_A", phase[dot$1]])}${_attr("title", phaseLabel)}></span>${_el_resume($scope4_id, "d", $sg__input_status)}`);
10953
+ ["_fK"]: input.menuOpen
10954
+ }])}><div${_attr_class("_fO")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class(wsBtn)}><span${_attr_class(["_A", phase[dot$1]])}${_attr("title", phaseLabel)}></span>${_el_resume($scope4_id, "d", $sg__input_status)}`);
10929
10955
  _if(() => {
10930
10956
  if (sessions$1.length === 1) {
10931
10957
  const $scope14_id = _scope_id();
@@ -10937,7 +10963,7 @@ var side_nav_item_default = _template("C", (input) => {
10937
10963
  icon_agent_default({
10938
10964
  agent: activeAgent(sessions$1[0]),
10939
10965
  size: 12,
10940
- class: "_fu"
10966
+ class: "_fU"
10941
10967
  });
10942
10968
  $si__input_sessions && writeScope($scope14_id, {
10943
10969
  _: _scope_with_id($scope4_id),
@@ -10946,7 +10972,7 @@ var side_nav_item_default = _template("C", (input) => {
10946
10972
  return 0;
10947
10973
  }
10948
10974
  }, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions, $sg__input_sessions__OR__input_onNewSession__OR__input_onReview);
10949
- _html(`<span${_attr_class("_fv")}><span${_attr_class("_fw")}>${_text_resume($scope4_id, "h", ws$1.name, $sg__input_workspace)}</span></span> </a>${_el_resume($scope4_id, "c", $sg__input_workspace)}<div${_attr_class("_fq")}>`);
10975
+ _html(`<span${_attr_class("_fV")}><span${_attr_class("_fW")}>${_text_resume($scope4_id, "h", ws$1.name, $sg__input_workspace)}</span></span> </a>${_el_resume($scope4_id, "c", $sg__input_workspace)}<div${_attr_class("_fQ")}>`);
10950
10976
  _if(() => {
10951
10977
  if (input.onNewSession) {
10952
10978
  const $scope5_id = _scope_id();
@@ -10974,19 +11000,19 @@ var side_nav_item_default = _template("C", (input) => {
10974
11000
  return 0;
10975
11001
  }
10976
11002
  }, $scope4_id, "k", $sg__input_onReview, $sg__input_onReview, $sg__input_sessions__OR__input_onNewSession__OR__input_onReview, 0, 1);
10977
- _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_fj"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
11003
+ _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_fJ"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
10978
11004
  icon_manage_default({ size: 12 });
10979
- _html(`</a>${_el_resume($scope4_id, "l", _serialize_guard($scope0_reason, 4))}</div></div><div${_attr_class("_fA")}>`);
11005
+ _html(`</a>${_el_resume($scope4_id, "l", _serialize_guard($scope0_reason, 4))}</div></div><div${_attr_class("_f0")}>`);
10980
11006
  _for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
10981
11007
  const $scope6_id = _scope_id();
10982
- _html(`<div${_attr_class(["_fr", { ["_fi"]: s.id === input.currentTab }])}>`);
11008
+ _html(`<div${_attr_class(["_fR", { ["_fI"]: s.id === input.currentTab }])}>`);
10983
11009
  _if(() => {
10984
11010
  if (renamingId === s.id) {
10985
11011
  const $scope7_id = _scope_id();
10986
11012
  _html(`<span${_attr_class([
10987
11013
  "_A",
10988
11014
  phase[sessionPhase(s.state)],
10989
- "_fy"
11015
+ "_fY"
10990
11016
  ])}></span>${_el_resume($scope7_id, "a", $sg__input_sessions)}`);
10991
11017
  _set_serialize_reason({
10992
11018
  1: $sg__input_sessions,
@@ -10996,7 +11022,7 @@ var side_nav_item_default = _template("C", (input) => {
10996
11022
  icon_agent_default({
10997
11023
  agent: activeAgent(s),
10998
11024
  size: 12,
10999
- class: "_fC"
11025
+ class: "_f2"
11000
11026
  });
11001
11027
  const $childScope3 = _peek_scope_id();
11002
11028
  rename_input_default({
@@ -11027,9 +11053,9 @@ var side_nav_item_default = _template("C", (input) => {
11027
11053
  icon_agent_default({
11028
11054
  agent: activeAgent(s),
11029
11055
  size: 12,
11030
- class: "_fC"
11056
+ class: "_f2"
11031
11057
  });
11032
- _html(`<span${_attr_class("_fx")}>${_text_resume($scope8_id, "e", s.title || activeAgent(s), $sg__input_sessions)}</span></a>${_el_resume($scope8_id, "a", _serialize_guard($scope0_reason, 3))}<button${_attr_class(rowIcon)} title="Rename session">`);
11058
+ _html(`<span${_attr_class("_fX")}>${_text_resume($scope8_id, "e", s.title || activeAgent(s), $sg__input_sessions)}</span></a>${_el_resume($scope8_id, "a", _serialize_guard($scope0_reason, 3))}<button${_attr_class(rowIcon)} title="Rename session">`);
11033
11059
  icon_edit_default({ size: 12 });
11034
11060
  _html(`</button>${_el_resume($scope8_id, "f")}`);
11035
11061
  arm_button_default({
@@ -11152,11 +11178,11 @@ var workspace_switcher_default = _template("N", (input) => {
11152
11178
  const sessions = input.sessions || st?.sessions || [];
11153
11179
  const manySessions = sessions.length > 1;
11154
11180
  const heroMeta$1 = sessions.length === 0 ? "No sessions" : manySessions ? `${sessions.length} sessions` : "";
11155
- _html(`<div${_attr_class("_e1")}>`);
11181
+ _html(`<div${_attr_class("_fa")}>`);
11156
11182
  _if(() => {
11157
11183
  if (ws) {
11158
11184
  const $scope1_id = _scope_id();
11159
- _html(`<section${_attr_class("_e2")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_e3")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
11185
+ _html(`<section${_attr_class("_fb")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_fc")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
11160
11186
  _if(() => {
11161
11187
  if (sessions.length === 1) {
11162
11188
  const $scope8_id = _scope_id();
@@ -11168,7 +11194,7 @@ var workspace_switcher_default = _template("N", (input) => {
11168
11194
  icon_agent_default({
11169
11195
  agent: activeAgent(sessions[0]),
11170
11196
  size: 16,
11171
- class: "_e7"
11197
+ class: "_fg"
11172
11198
  });
11173
11199
  $si__input_workspace__OR__input_allStatus__OR__input_sessions && _subscribe($sessions___closures, writeScope($scope8_id, {
11174
11200
  _: _scope_with_id($scope1_id),
@@ -11177,14 +11203,14 @@ var workspace_switcher_default = _template("N", (input) => {
11177
11203
  return 0;
11178
11204
  }
11179
11205
  }, $scope1_id, "d", $sg__input_workspace__OR__input_allStatus__OR__input_sessions, $sg__input_workspace__OR__input_allStatus__OR__input_sessions, $sg__input_workspace__OR__input_allStatus__OR__input_sessions);
11180
- _html(`<span${_attr_class("_e4")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class(heroTag)}>current</span><span${_attr_class("_e6")}>${_text_resume($scope1_id, "i", heroMeta$1, $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope1_id, "b", $sg__input_workspace)}`);
11206
+ _html(`<span${_attr_class("_fd")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class(heroTag)}>current</span><span${_attr_class("_ff")}>${_text_resume($scope1_id, "i", heroMeta$1, $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope1_id, "b", $sg__input_workspace)}`);
11181
11207
  _if(() => {
11182
11208
  if (manySessions) {
11183
11209
  const $scope2_id = _scope_id();
11184
- _html(`<div${_attr_class("_e8")}>`);
11210
+ _html(`<div${_attr_class("_fh")}>`);
11185
11211
  _for_of(sessions, (s) => {
11186
11212
  const $scope3_id = _scope_id();
11187
- _html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_e_", { ["_e9"]: s.id === input.tab }])}><span${_attr_class(["_A", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope3_id, "b", $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}`);
11213
+ _html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_fj", { ["_fi"]: s.id === input.tab }])}><span${_attr_class(["_A", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope3_id, "b", $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}`);
11188
11214
  _set_serialize_reason({
11189
11215
  1: $sg__input_workspace__OR__input_allStatus__OR__input_sessions,
11190
11216
  2: $sg__input_workspace__OR__input_allStatus__OR__input_sessions
@@ -11194,7 +11220,7 @@ var workspace_switcher_default = _template("N", (input) => {
11194
11220
  agent: activeAgent(s),
11195
11221
  size: 14
11196
11222
  });
11197
- _html(`<span${_attr_class("_fa")}>${_text_resume($scope3_id, "e", s.title || activeAgent(s), $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 7))}`);
11223
+ _html(`<span${_attr_class("_fk")}>${_text_resume($scope3_id, "e", s.title || activeAgent(s), $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 7))}`);
11198
11224
  $si__input_workspace__OR__input_allStatus__OR__input_sessions__OR__input_tab && _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_tab && $input_tab__closures, writeScope($scope3_id, {
11199
11225
  h: $si__input_tab && s?.id,
11200
11226
  _: _scope_with_id($scope2_id),
@@ -11223,7 +11249,7 @@ var workspace_switcher_default = _template("N", (input) => {
11223
11249
  _if(() => {
11224
11250
  if (input.ids.length) {
11225
11251
  const $scope4_id = _scope_id();
11226
- _html(`<div${_attr_class("_fb")}>`);
11252
+ _html(`<div${_attr_class("_fl")}>`);
11227
11253
  _for_of(input.ids, (id) => {
11228
11254
  const $scope5_id = _scope_id();
11229
11255
  const w = input.byId.get(id);
@@ -11267,7 +11293,7 @@ var workspace_switcher_default = _template("N", (input) => {
11267
11293
  const rp = phaseOf(rs);
11268
11294
  const rowSessions = rs?.sessions || [];
11269
11295
  const many = rowSessions.length > 1;
11270
- _html(`<div${_attr_class("_fc")}><a${_attr("href", `/w/${id}`)}${_attr_class("_fd")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope7_id, "c", $sg__input_allStatus__OR__input_ids)}`);
11296
+ _html(`<div${_attr_class("_fm")}><a${_attr("href", `/w/${id}`)}${_attr_class("_fn")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope7_id, "c", $sg__input_allStatus__OR__input_ids)}`);
11271
11297
  _if(() => {
11272
11298
  if (rowSessions.length === 1) {
11273
11299
  const $scope9_id = _scope_id();
@@ -11279,7 +11305,7 @@ var workspace_switcher_default = _template("N", (input) => {
11279
11305
  icon_agent_default({
11280
11306
  agent: activeAgent(rowSessions[0]),
11281
11307
  size: 16,
11282
- class: "_ff"
11308
+ class: "_fp"
11283
11309
  });
11284
11310
  $si__input_allStatus__OR__input_ids && writeScope($scope9_id, {
11285
11311
  _: _scope_with_id($scope7_id),
@@ -11288,7 +11314,7 @@ var workspace_switcher_default = _template("N", (input) => {
11288
11314
  return 0;
11289
11315
  }
11290
11316
  }, $scope7_id, "d", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids);
11291
- _html(`<span${_attr_class("_fe")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
11317
+ _html(`<span${_attr_class("_fo")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
11292
11318
  _if(() => {
11293
11319
  if (many) {
11294
11320
  const $scope10_id = _scope_id();
@@ -11299,7 +11325,7 @@ var workspace_switcher_default = _template("N", (input) => {
11299
11325
  }, $scope7_id, "g", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, 0, 1);
11300
11326
  icon_chevron_right_default({
11301
11327
  size: 14,
11302
- class: "_fh"
11328
+ class: "_fr"
11303
11329
  });
11304
11330
  _html(`</a>${_el_resume($scope7_id, "b", $sg__input_ids)}`);
11305
11331
  _set_serialize_reason($sg__input_ids);
@@ -11419,13 +11445,13 @@ var usage_bars_default = _template("J", (input) => {
11419
11445
  if (windows.length) {
11420
11446
  const $scope1_id = _scope_id();
11421
11447
  _html(`<span${_attr_class([
11422
- "_hK",
11448
+ "_hJ",
11423
11449
  input.class,
11424
- { ["_hL"]: agent.stale_seconds != null }
11450
+ { ["_hK"]: agent.stale_seconds != null }
11425
11451
  ])} role=img${_attr("aria-label", `Plan usage: ${summary}`)}${agent.stale_seconds != null ? _attr("title", `${summary} — ${agent.note || "provider unreachable"}; last cached numbers`) : _attr("title", summary)}>`);
11426
11452
  _for_of(windows, (win) => {
11427
11453
  const $scope2_id = _scope_id();
11428
- _html(`<span${_attr_class(["_hM", win.used_percent >= 90 ? "_hQ" : win.used_percent >= 70 ? "_hP" : win.used_percent >= 40 ? "_hO" : "_hN"])}${_attr_style(`--pct:${Math.max(2, Math.min(100, win.used_percent))}%`)}></span>${_el_resume($scope2_id, "a", $sg__input_agent)}`);
11454
+ _html(`<span${_attr_class(["_hL", win.used_percent >= 90 ? "_hP" : win.used_percent >= 70 ? "_hO" : win.used_percent >= 40 ? "_hN" : "_hM"])}${_attr_style(`--pct:${Math.max(2, Math.min(100, win.used_percent))}%`)}></span>${_el_resume($scope2_id, "a", $sg__input_agent)}`);
11429
11455
  $si__input_agent && writeScope($scope2_id, {});
11430
11456
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
11431
11457
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -11457,7 +11483,7 @@ var nav_usage_default = _template("r", (input) => {
11457
11483
  const plan = openSess ? usageFor$1(openSess.agent, usage) : null;
11458
11484
  const all = usage?.agents || [];
11459
11485
  const peak = Math.max(0, ...(plan?.windows || []).map((w) => w.used_percent));
11460
- const ringTone = _resume((pct) => pct >= 90 ? "_eP" : pct >= 70 ? "_eO" : pct >= 40 ? "_eN" : "_eM", "r0");
11486
+ const ringTone = _resume((pct) => pct >= 90 ? "_eZ" : pct >= 70 ? "_eY" : pct >= 40 ? "_eX" : "_eW", "r0");
11461
11487
  let card$2 = null;
11462
11488
  const showCard = _resume((el) => {
11463
11489
  const r = el.getBoundingClientRect();
@@ -11469,18 +11495,18 @@ var nav_usage_default = _template("r", (input) => {
11469
11495
  _if(() => {
11470
11496
  if (plan) {
11471
11497
  const $scope1_id = _scope_id();
11472
- _html(`<span${_attr_class("_eG")} tabindex=0>`);
11498
+ _html(`<span${_attr_class("_eQ")} tabindex=0>`);
11473
11499
  _set_serialize_reason(1);
11474
11500
  const $childScope = _peek_scope_id();
11475
11501
  usage_bars_default({
11476
- class: "_eI",
11502
+ class: "_eS",
11477
11503
  agent: plan
11478
11504
  });
11479
- _html(`<svg${_attr_class(["_eJ", ringTone(peak)])} viewBox="0 0 16 16" width=16 height=16 aria-hidden=true><circle${_attr_class("_eK")} cx=8 cy=8 r=6.5></circle><circle${_attr_class("_eL")} cx=8 cy=8 r=6.5${_attr_style(`stroke-dasharray:${Math.max(2, Math.min(100, peak)) / 100 * 40.84} 40.84`)}></circle>${_el_resume($scope1_id, "e")}</svg>${_el_resume($scope1_id, "c")}</span>${_el_resume($scope1_id, "a")}`);
11505
+ _html(`<svg${_attr_class(["_eT", ringTone(peak)])} viewBox="0 0 16 16" width=16 height=16 aria-hidden=true><circle${_attr_class("_eU")} cx=8 cy=8 r=6.5></circle><circle${_attr_class("_eV")} cx=8 cy=8 r=6.5${_attr_style(`stroke-dasharray:${Math.max(2, Math.min(100, peak)) / 100 * 40.84} 40.84`)}></circle>${_el_resume($scope1_id, "e")}</svg>${_el_resume($scope1_id, "c")}</span>${_el_resume($scope1_id, "a")}`);
11480
11506
  _if(() => {
11481
11507
  if (card$2) {
11482
11508
  const $scope2_id = _scope_id();
11483
- _html(`<div${_attr_class(["_9", "_eH"])}${_attr_style(`left:${card$2.left}px;bottom:${card$2.bottom}px`)} role=tooltip>`);
11509
+ _html(`<div${_attr_class(["_9", "_eR"])}${_attr_style(`left:${card$2.left}px;bottom:${card$2.bottom}px`)} role=tooltip>`);
11484
11510
  _for_of(all, (a) => {
11485
11511
  const $scope3_id = _scope_id();
11486
11512
  _set_serialize_reason(6);
@@ -12897,8 +12923,8 @@ function markdownFence(body) {
12897
12923
  function indent(text) {
12898
12924
  return text.split("\n").map((line) => line ? ` ${line}` : line).join("\n");
12899
12925
  }
12900
- var treeToggle = "_gp _4 _l";
12901
- var pageTitle = "_gw _d_";
12926
+ var treeToggle = "_go _4 _l";
12927
+ var pageTitle = "_gv _ej";
12902
12928
  //#endregion
12903
12929
  //#region src/tags/diff-send.marko
12904
12930
  var diff_send_default = _template("k", (input) => {
@@ -12908,7 +12934,7 @@ var diff_send_default = _template("k", (input) => {
12908
12934
  let sendTarget = null;
12909
12935
  const sessions = input.sessions || [];
12910
12936
  const sendPick = sessions.some((s) => s.id === sendTarget) ? sendTarget : sessions[0]?.id ?? null;
12911
- _html(`<span${_attr_class("_il")}><button type=button${_attr_class("_q")} title="Copy comments as markdown">${_text_resume($scope0_id, "c", "Copy")}</button>${_el_resume($scope0_id, "b")}`);
12937
+ _html(`<span${_attr_class("_hQ")}><button type=button${_attr_class("_q")} title="Copy comments as markdown">${_text_resume($scope0_id, "c", "Copy")}</button>${_el_resume($scope0_id, "b")}`);
12912
12938
  _if(() => {
12913
12939
  if (sessions.length === 1) {
12914
12940
  const $scope1_id = _scope_id();
@@ -12918,11 +12944,11 @@ var diff_send_default = _template("k", (input) => {
12918
12944
  return 0;
12919
12945
  } else if (sessions.length) {
12920
12946
  const $scope2_id = _scope_id();
12921
- _html(`<span${_attr_class("_im")}><button type=button${_attr_class(["_r", "_in"])}${_attr("disabled", sending)}>${_text_resume($scope2_id, "c", "Send to")}</button>${_el_resume($scope2_id, "b")}`);
12947
+ _html(`<span${_attr_class("_hR")}><button type=button${_attr_class(["_r", "_hS"])}${_attr("disabled", sending)}>${_text_resume($scope2_id, "c", "Send to")}</button>${_el_resume($scope2_id, "b")}`);
12922
12948
  _attr_select_value($scope2_id, "d", sendTarget, _resume((_new_sendTarget) => {
12923
12949
  sendTarget = _new_sendTarget;
12924
12950
  }, "k0", $scope2_id), () => {
12925
- _html(`<select${_attr_class("_io")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
12951
+ _html(`<select${_attr_class("_hT")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
12926
12952
  _for_of(sessions, (s) => {
12927
12953
  const $scope3_id = _scope_id();
12928
12954
  _html(`<option${_attr_option_value(s.id)}>${_text_resume($scope3_id, "b", s.title || s.agent, $sg__input_sessions)}</option>${_el_resume($scope3_id, "a", $sg__input_sessions)}`);
@@ -12949,8 +12975,8 @@ var diff_send_default = _template("k", (input) => {
12949
12975
  });
12950
12976
  _resume_branch($scope0_id);
12951
12977
  });
12952
- var findInput = "_eg _n";
12953
- var findIconBtn = "_ej _l";
12978
+ var findInput = "_eq _n";
12979
+ var findIconBtn = "_et _l";
12954
12980
  //#endregion
12955
12981
  //#region src/tags/icons/icon-arrow-down.marko
12956
12982
  var icon_arrow_down_default = _template("Q", (input) => {
@@ -13042,18 +13068,18 @@ var diff_find_default = _template("j", (input) => {
13042
13068
  }, 0);
13043
13069
  }, "j0", $scope0_id);
13044
13070
  _html(`<div${_attr_class([
13045
- "_ee",
13046
- input.keybar && "_en",
13047
- !open && "_ed"
13048
- ])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("_ef")} aria-hidden=true>`);
13071
+ "_eo",
13072
+ input.keybar && "_ex",
13073
+ !open && "_en"
13074
+ ])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("_ep")} aria-hidden=true>`);
13049
13075
  icon_search_default({ size: 13 });
13050
13076
  _html(`</span><input${_attr_input_value($scope0_id, "d", query || "", _resume(function(v) {
13051
13077
  type(v);
13052
- }, "j1", $scope0_id))}${_attr_class([findInput, input.keybar && "_ep"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "d")}<span${_attr_class("_ei")}>${_text_resume($scope0_id, "f", open && (query || "").trim() ? hits.length ? `${at + 1}/${hits.length}` : "0/0" : "")}</span><button type=button${_attr_class([findIconBtn, input.keybar && "_eq"])} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13078
+ }, "j1", $scope0_id))}${_attr_class([findInput, input.keybar && "_ez"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "d")}<span${_attr_class("_es")}>${_text_resume($scope0_id, "f", open && (query || "").trim() ? hits.length ? `${at + 1}/${hits.length}` : "0/0" : "")}</span><button type=button${_attr_class([findIconBtn, input.keybar && "_eA"])} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13053
13079
  icon_arrow_up_default({ size: 14 });
13054
- _html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class([findIconBtn, input.keybar && "_eq"])} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13080
+ _html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class([findIconBtn, input.keybar && "_eA"])} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13055
13081
  icon_arrow_down_default({ size: 14 });
13056
- _html(`</button>${_el_resume($scope0_id, "i")}<button type=button${_attr_class([findIconBtn, input.keybar && "_eq"])} title="Close find"${_attr("hidden", input.pinned)} tabindex=${open ? "0" : "-1"}>`);
13082
+ _html(`</button>${_el_resume($scope0_id, "i")}<button type=button${_attr_class([findIconBtn, input.keybar && "_eA"])} title="Close find"${_attr("hidden", input.pinned)} tabindex=${open ? "0" : "-1"}>`);
13057
13083
  icon_xmark_default({ size: 14 });
13058
13084
  _html(`</button>${_el_resume($scope0_id, "k")}</div>${_el_resume($scope0_id, "a")}`);
13059
13085
  const $return = focusInput;
@@ -13153,8 +13179,8 @@ function shortBranch(name, wsBranch = "", wsName = "") {
13153
13179
  }
13154
13180
  return shortHeadFallback(head);
13155
13181
  }
13156
- var repoWorktree = "_jg _y";
13157
- var repoTitle = "_jm _x";
13182
+ var repoWorktree = "_jd _y";
13183
+ var repoTitle = "_jj _x";
13158
13184
  //#endregion
13159
13185
  //#region src/tags/review-head.marko
13160
13186
  var review_head_default = _template("x", (input) => {
@@ -13162,7 +13188,7 @@ var review_head_default = _template("x", (input) => {
13162
13188
  const $scope0_id = _scope_id();
13163
13189
  const repo = input.repo;
13164
13190
  const compare$1 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch, input.workspaceName);
13165
- _html(`<div${_attr_class("_je")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}><button type=button${_attr_class("_jf")} title="Scroll to this section"><span${_attr_class(repoWorktree)}>${_text_resume($scope0_id, "d", repo.worktree, $sg__input_repo)}</span></button>${_el_resume($scope0_id, "b")}`);
13191
+ _html(`<div${_attr_class("_jb")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}><button type=button${_attr_class("_jc")} title="Scroll to this section"><span${_attr_class(repoWorktree)}>${_text_resume($scope0_id, "d", repo.worktree, $sg__input_repo)}</span></button>${_el_resume($scope0_id, "b")}`);
13166
13192
  _if(() => {
13167
13193
  if (repo.pr) {
13168
13194
  const $scope6_id = _scope_id();
@@ -13171,19 +13197,19 @@ var review_head_default = _template("x", (input) => {
13171
13197
  return 0;
13172
13198
  } else {
13173
13199
  const $scope7_id = _scope_id();
13174
- _html(`<span${_attr_class([repoTitle, "_jn"])}>${_text_resume($scope7_id, "b", repoLabel$1(repo.full_name), $sg__input_repo)}</span>`);
13200
+ _html(`<span${_attr_class([repoTitle, "_jk"])}>${_text_resume($scope7_id, "b", repoLabel$1(repo.full_name), $sg__input_repo)}</span>`);
13175
13201
  $si__input_repo && writeScope($scope7_id, { _: _scope_with_id($scope0_id) });
13176
13202
  return 1;
13177
13203
  }
13178
13204
  }, $scope0_id, "e", $sg__input_repo, $sg__input_repo, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers__OR__input_additions__OR__input_deletions__OR__input_hiddenCount__OR__input_newCount__OR__input_onlyNew);
13179
- _html(`<span${_attr_class("_jo")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_N", "_jp"])}>${_text_resume($scope0_id, "h", compare$1.base, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_P", "_jr"])} aria-hidden=true>vs</span><span${_attr_class(["_N", "_jq"])}>${_text_resume($scope0_id, "k", compare$1.head, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13205
+ _html(`<span${_attr_class("_jl")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_N", "_jm"])}>${_text_resume($scope0_id, "h", compare$1.base, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_P", "_jo"])} aria-hidden=true>vs</span><span${_attr_class(["_N", "_jn"])}>${_text_resume($scope0_id, "k", compare$1.head, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13180
13206
  _if(() => {
13181
13207
  if (compare$1.topic) {
13182
13208
  const $scope10_id = _scope_id();
13183
13209
  _html(`<span${_attr_class([
13184
13210
  "_N",
13185
13211
  tone.accent,
13186
- "_js"
13212
+ "_jp"
13187
13213
  ])}>${_text_resume($scope10_id, "b", compare$1.topic, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13188
13214
  $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && writeScope($scope10_id, { _: _scope_with_id($scope0_id) });
13189
13215
  return 0;
@@ -13193,7 +13219,7 @@ var review_head_default = _template("x", (input) => {
13193
13219
  _if(() => {
13194
13220
  if (repo.rev) {
13195
13221
  const $scope8_id = _scope_id();
13196
- _html(`<span${_attr_class(["_N", "_jt"])} title="One commit against its parent">commit ${_text_resume($scope8_id, "b", shortSha(repo.rev, 7), $sg__input_repo * 2)}</span>`);
13222
+ _html(`<span${_attr_class(["_N", "_jq"])} title="One commit against its parent">commit ${_text_resume($scope8_id, "b", shortSha(repo.rev, 7), $sg__input_repo * 2)}</span>`);
13197
13223
  $si__input_repo && writeScope($scope8_id, { _: _scope_with_id($scope0_id) });
13198
13224
  return 0;
13199
13225
  }
@@ -13204,7 +13230,7 @@ var review_head_default = _template("x", (input) => {
13204
13230
  _html(`<button type=button${_attr_class([
13205
13231
  "_N",
13206
13232
  tone.warn,
13207
- "_jt"
13233
+ "_jq"
13208
13234
  ])}${_attr("title", `origin/${repo.pr.headRefName} ${repo.head} · GitHub ${repo.pr.headRefOid}. Reload to re-ask GitHub`)}${_attr("disabled", input.loading)}>behind GitHub ${_text_resume($scope1_id, "b", shortSha(repo.head, 7), $sg__input_repo * 2)} → ${_text_resume($scope1_id, "c", shortSha(repo.pr.headRefOid, 7), $sg__input_repo * 2)}</button>${_el_resume($scope1_id, "a")}`);
13209
13235
  _script($scope1_id, "x0");
13210
13236
  writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -13214,7 +13240,7 @@ var review_head_default = _template("x", (input) => {
13214
13240
  _if(() => {
13215
13241
  if (repo.contained && input.fileCount) {
13216
13242
  const $scope9_id = _scope_id();
13217
- _html(`<span${_attr_class(["_N", "_jt"])}${_attr("title", `${repo.pr ? `#${repo.pr.number}` : repo.branch} is already in ${repo.base}; showing the working tree only`)}>already in ${_text_resume($scope9_id, "b", repo.base, $sg__input_repo * 2)}</span>${_el_resume($scope9_id, "a", $sg__input_repo)}`);
13243
+ _html(`<span${_attr_class(["_N", "_jq"])}${_attr("title", `${repo.pr ? `#${repo.pr.number}` : repo.branch} is already in ${repo.base}; showing the working tree only`)}>already in ${_text_resume($scope9_id, "b", repo.base, $sg__input_repo * 2)}</span>${_el_resume($scope9_id, "a", $sg__input_repo)}`);
13218
13244
  $si__input_repo__OR__input_fileCount && writeScope($scope9_id, { _: $si__input_repo && _scope_with_id($scope0_id) });
13219
13245
  return 0;
13220
13246
  }
@@ -13222,16 +13248,16 @@ var review_head_default = _template("x", (input) => {
13222
13248
  _if(() => {
13223
13249
  if (input.localDiffers) {
13224
13250
  const $scope2_id = _scope_id();
13225
- _html(`<span${_attr_class(["_N", "_jt"])}${_attr("title", `This view is ${shortSha(repo.head)} (${repo.pr.headRefName}); checked out is ${shortSha(repo.localHead)} (${repo.branch})`)}>local ${_text_resume($scope2_id, "b", shortBranch(repo.branch, input.workspaceBranch, input.workspaceName), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName * 2)}${_text_resume($scope2_id, "c", shortSha(repo.localHead, 7), $sg__input_repo * 2)}</span>${_el_resume($scope2_id, "a", $sg__input_repo)}`);
13251
+ _html(`<span${_attr_class(["_N", "_jq"])}${_attr("title", `This view is ${shortSha(repo.head)} (${repo.pr.headRefName}); checked out is ${shortSha(repo.localHead)} (${repo.branch})`)}>local ${_text_resume($scope2_id, "b", shortBranch(repo.branch, input.workspaceBranch, input.workspaceName), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName * 2)}${_text_resume($scope2_id, "c", shortSha(repo.localHead, 7), $sg__input_repo * 2)}</span>${_el_resume($scope2_id, "a", $sg__input_repo)}`);
13226
13252
  $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers && writeScope($scope2_id, { _: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && _scope_with_id($scope0_id) });
13227
13253
  return 0;
13228
13254
  }
13229
13255
  }, $scope0_id, "p", _serialize_guard($scope0_reason, 9), _serialize_guard($scope0_reason, 14), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers__OR__input_additions__OR__input_deletions__OR__input_hiddenCount__OR__input_newCount__OR__input_onlyNew, 0, 1);
13230
- _html(`<span${_attr_class("_jh")}><span>${_text_resume($scope0_id, "r", input.fileCount, $sg__input_fileCount)} file${_text_resume($scope0_id, "s", input.fileCount === 1 ? "" : "s", $sg__input_fileCount * 2)}</span>`);
13256
+ _html(`<span${_attr_class("_je")}><span>${_text_resume($scope0_id, "r", input.fileCount, $sg__input_fileCount)} file${_text_resume($scope0_id, "s", input.fileCount === 1 ? "" : "s", $sg__input_fileCount * 2)}</span>`);
13231
13257
  _if(() => {
13232
13258
  if (input.additions || input.deletions) {
13233
13259
  const $scope3_id = _scope_id();
13234
- _html(`<span${_attr_class("_ji")}>+${_text_resume($scope3_id, "b", input.additions, _serialize_guard($scope0_reason, 15) * 2)}</span><span${_attr_class("_jj")}>−${_text_resume($scope3_id, "d", input.deletions, _serialize_guard($scope0_reason, 16) * 2)}</span>`);
13260
+ _html(`<span${_attr_class("_jf")}>+${_text_resume($scope3_id, "b", input.additions, _serialize_guard($scope0_reason, 15) * 2)}</span><span${_attr_class("_jg")}>−${_text_resume($scope3_id, "d", input.deletions, _serialize_guard($scope0_reason, 16) * 2)}</span>`);
13235
13261
  $si__input_additions__OR__input_deletions && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
13236
13262
  return 0;
13237
13263
  }
@@ -13239,7 +13265,7 @@ var review_head_default = _template("x", (input) => {
13239
13265
  _if(() => {
13240
13266
  if (input.hiddenCount) {
13241
13267
  const $scope4_id = _scope_id();
13242
- _html(`<button type=button${_attr_class("_jl")} title="Filtered out of the list — show every file">${_text_resume($scope4_id, "b", input.hiddenCount, $sg__input_hiddenCount)} hidden</button>${_el_resume($scope4_id, "a")}`);
13268
+ _html(`<button type=button${_attr_class("_ji")} title="Filtered out of the list — show every file">${_text_resume($scope4_id, "b", input.hiddenCount, $sg__input_hiddenCount)} hidden</button>${_el_resume($scope4_id, "a")}`);
13243
13269
  _script($scope4_id, "x1");
13244
13270
  writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
13245
13271
  return 0;
@@ -13248,7 +13274,7 @@ var review_head_default = _template("x", (input) => {
13248
13274
  _if(() => {
13249
13275
  if (input.newCount || input.onlyNew) {
13250
13276
  const $scope5_id = _scope_id();
13251
- _html(`<button type=button${_attr_class(["_jl", { ["_jk"]: input.onlyNew }])} aria-pressed=${input.onlyNew ? "true" : "false"} title=${input.onlyNew ? "\"Show every file\"" : "\"Show only files changed since your last visit\""}>${_text_resume($scope5_id, "b", input.newCount, _serialize_guard($scope0_reason, 18))} new</button>${_el_resume($scope5_id, "a")}`);
13277
+ _html(`<button type=button${_attr_class(["_ji", { ["_jh"]: input.onlyNew }])} aria-pressed=${input.onlyNew ? "true" : "false"} title=${input.onlyNew ? "\"Show every file\"" : "\"Show only files changed since your last visit\""}>${_text_resume($scope5_id, "b", input.newCount, _serialize_guard($scope0_reason, 18))} new</button>${_el_resume($scope5_id, "a")}`);
13252
13278
  _script($scope5_id, "x2");
13253
13279
  writeScope($scope5_id, { _: _scope_with_id($scope0_id) });
13254
13280
  return 0;
@@ -13288,7 +13314,7 @@ var review_head_default = _template("x", (input) => {
13288
13314
  b4: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && compare$1?.topic
13289
13315
  });
13290
13316
  });
13291
- var fileFilter = "_jv _n";
13317
+ var fileFilter = "_js _n";
13292
13318
  //#endregion
13293
13319
  //#region src/tags/file-filter.marko
13294
13320
  var file_filter_default = _template("l", (input) => {
@@ -13318,7 +13344,7 @@ var file_filter_default = _template("l", (input) => {
13318
13344
  pending = v;
13319
13345
  box.timer = setTimeout(flush, 150);
13320
13346
  }, "l2", $scope0_id);
13321
- _html(`<div${_attr_class("_ju")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
13347
+ _html(`<div${_attr_class("_jr")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
13322
13348
  type(v);
13323
13349
  }, "l0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
13324
13350
  _script($scope0_id, "l3");
@@ -13364,7 +13390,7 @@ var review_tree_default = _template("y", (input) => {
13364
13390
  dragging$1 = false;
13365
13391
  if (width != null) setDiffTreeWidth(width);
13366
13392
  }, "y2", $scope0_id);
13367
- _html(`<div${_attr_class(["_iK", { ["_iJ"]: input.open === false }])}${width != null ? _attr_style(`--tree-w:${width}px`) : ""}><div${_attr_class(["_iX", { ["_iW"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class("_iL")}>`);
13393
+ _html(`<div${_attr_class(["_iH", { ["_iG"]: input.open === false }])}${width != null ? _attr_style(`--tree-w:${width}px`) : ""}><div${_attr_class(["_iU", { ["_iT"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class("_iI")}>`);
13368
13394
  _set_serialize_reason(2);
13369
13395
  const $childScope = _peek_scope_id();
13370
13396
  file_filter_default({
@@ -13373,22 +13399,22 @@ var review_tree_default = _template("y", (input) => {
13373
13399
  filter$1 = _new_filter;
13374
13400
  }, "y3", $scope0_id)
13375
13401
  });
13376
- _html(`</div><div${_attr_class("_iM")}>`);
13402
+ _html(`</div><div${_attr_class("_iJ")}>`);
13377
13403
  _for_of(input.sections, (section$2) => {
13378
13404
  const $scope1_id = _scope_id();
13379
- _html(`<div${_attr_class(["_iO", { ["_iN"]: input.sections.length === 1 }])}${_attr("data-section", section$2.id)}>`);
13405
+ _html(`<div${_attr_class(["_iL", { ["_iK"]: input.sections.length === 1 }])}${_attr("data-section", section$2.id)}>`);
13380
13406
  _if(() => {
13381
13407
  if (input.sections.length > 1) {
13382
13408
  const $scope2_id = _scope_id();
13383
- _html(`<button type=button${_attr_class("_iP")}${_attr("title", section$2.label)} aria-expanded=${closed$4.has(section$2.id) ? "false" : "true"}><span${_attr_class(["_iQ", { ["_iR"]: !closed$4.has(section$2.id) }])} aria-hidden=true>`);
13409
+ _html(`<button type=button${_attr_class("_iM")}${_attr("title", section$2.label)} aria-expanded=${closed$4.has(section$2.id) ? "false" : "true"}><span${_attr_class(["_iN", { ["_iO"]: !closed$4.has(section$2.id) }])} aria-hidden=true>`);
13384
13410
  icon_chevron_right_default({ size: 12 });
13385
- _html(`</span>${_el_resume($scope2_id, "b")}<span${_attr_class("_iS")}>${_text_resume($scope2_id, "e", section$2.label, $sg__input_sections)}</span><span${_attr_class("_iT")}>${_text_resume($scope2_id, "g", section$2.files.length, $sg__input_sections)}</span></button>${_el_resume($scope2_id, "a")}`);
13411
+ _html(`</span>${_el_resume($scope2_id, "b")}<span${_attr_class("_iP")}>${_text_resume($scope2_id, "e", section$2.label, $sg__input_sections)}</span><span${_attr_class("_iQ")}>${_text_resume($scope2_id, "g", section$2.files.length, $sg__input_sections)}</span></button>${_el_resume($scope2_id, "a")}`);
13386
13412
  _script($scope2_id, "y4");
13387
13413
  _subscribe($closed__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }));
13388
13414
  return 0;
13389
13415
  }
13390
13416
  }, $scope1_id, "b", $sg__input_sections, $sg__input_sections_length, $sg__input_sections_length, 0, 1);
13391
- _html(`<div${_attr_class(["_iV", { ["_iU"]: input.sections.length === 1 }])}${_attr("data-tree", section$2.id)}${_attr("hidden", closed$4.has(section$2.id))}></div>${_el_resume($scope1_id, "c")}</div>${_el_resume($scope1_id, "a", $sg__input_sections)}`);
13417
+ _html(`<div${_attr_class(["_iS", { ["_iR"]: input.sections.length === 1 }])}${_attr("data-tree", section$2.id)}${_attr("hidden", closed$4.has(section$2.id))}></div>${_el_resume($scope1_id, "c")}</div>${_el_resume($scope1_id, "a", $sg__input_sections)}`);
13392
13418
  writeScope($scope1_id, {
13393
13419
  f: section$2?.id,
13394
13420
  h: $si__input_sections_length && section$2?.label,
@@ -13420,7 +13446,7 @@ var review_tree_default = _template("y", (input) => {
13420
13446
  });
13421
13447
  _resume_branch($scope0_id);
13422
13448
  });
13423
- var sheetDir = "_i9 _ba";
13449
+ var sheetDir = "_i6 _ba";
13424
13450
  //#endregion
13425
13451
  //#region src/tags/icons/icon-comment.marko
13426
13452
  var icon_comment_default = _template("ab", (input) => {
@@ -13493,9 +13519,9 @@ var diff_file_sheet_default = _template("i", (input) => {
13493
13519
  _if(() => {
13494
13520
  if (open) {
13495
13521
  const $scope1_id = _scope_id();
13496
- _html(`<div${_attr_class("_i0")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_i1")} role=dialog aria-label="Jump to file"><div${_attr_class("_i2")}><strong${_attr_class("_iZ")}>Files</strong><span${_attr_class("_i3")}>${_text_resume($scope1_id, "f", input.files.length, $sg__input_files_length)}${_text_resume($scope1_id, "g", input.files.length !== total ? ` / ${total}` : "", _serialize_guard($scope0_reason, 2) * 2)}</span><button type=button${_attr_class([iconBtnLg, "_iY"])} title=Close aria-label=Close>`);
13522
+ _html(`<div${_attr_class("_iX")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_iY")} role=dialog aria-label="Jump to file"><div${_attr_class("_iZ")}><strong${_attr_class("_iW")}>Files</strong><span${_attr_class("_i0")}>${_text_resume($scope1_id, "f", input.files.length, $sg__input_files_length)}${_text_resume($scope1_id, "g", input.files.length !== total ? ` / ${total}` : "", _serialize_guard($scope0_reason, 2) * 2)}</span><button type=button${_attr_class([iconBtnLg, "_iV"])} title=Close aria-label=Close>`);
13497
13523
  icon_xmark_default({ size: 16 });
13498
- _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_ja")}>`);
13524
+ _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_i8")}>`);
13499
13525
  _set_serialize_reason(2);
13500
13526
  const $childScope = _peek_scope_id();
13501
13527
  file_filter_default({
@@ -13504,13 +13530,13 @@ var diff_file_sheet_default = _template("i", (input) => {
13504
13530
  filter = _new_filter;
13505
13531
  }, "i1", $scope1_id)
13506
13532
  });
13507
- _html(`</div><div${_attr_class("_i4")}>`);
13533
+ _html(`</div><div${_attr_class("_i1")}>`);
13508
13534
  _for_of(groups, (group) => {
13509
13535
  const $scope2_id = _scope_id();
13510
- _html(`<div${_attr_class("_i5")}><div${_attr_class("_i6")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
13536
+ _html(`<div${_attr_class("_i2")}><div${_attr_class("_i3")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
13511
13537
  _for_of(group.dirs, ({ dir, files }) => {
13512
13538
  const $scope3_id = _scope_id();
13513
- _html(`<div${_attr_class("_i7")}>`);
13539
+ _html(`<div${_attr_class("_i4")}>`);
13514
13540
  _if(() => {
13515
13541
  if (dir) {
13516
13542
  const $scope5_id = _scope_id();
@@ -13521,11 +13547,11 @@ var diff_file_sheet_default = _template("i", (input) => {
13521
13547
  }, $scope3_id, "b", $sg__input_files, $sg__input_files, $sg__input_files, 0, 1);
13522
13548
  _for_of(files, ({ file, name }) => {
13523
13549
  const $scope4_id = _scope_id();
13524
- _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_i8", "_y"])}><span${_attr_class("__")}${_attr("data-status", file.status)}>${_text_resume($scope4_id, "c", file.status, $sg__input_files)}</span>${_el_resume($scope4_id, "b", $sg__input_files)}<span${_attr_class("_i_")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
13550
+ _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_i5", "_y"])}><span${_attr_class("__")}${_attr("data-status", file.status)}>${_text_resume($scope4_id, "c", file.status, $sg__input_files)}</span>${_el_resume($scope4_id, "b", $sg__input_files)}<span${_attr_class("_i7")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
13525
13551
  _if(() => {
13526
13552
  if (newKeys.has(file.key)) {
13527
13553
  const $scope6_id = _scope_id();
13528
- _html(`<span${_attr_class(["_A", "_jc"])} title="Changed since your last visit"></span>`);
13554
+ _html(`<span${_attr_class(["_A", "_i_"])} title="Changed since your last visit"></span>`);
13529
13555
  _serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
13530
13556
  return 0;
13531
13557
  }
@@ -13535,7 +13561,7 @@ var diff_file_sheet_default = _template("i", (input) => {
13535
13561
  const $scope7_id = _scope_id();
13536
13562
  icon_comment_default({
13537
13563
  size: 12,
13538
- class: "_jd"
13564
+ class: "_ja"
13539
13565
  });
13540
13566
  _serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
13541
13567
  return 0;
@@ -13560,7 +13586,7 @@ var diff_file_sheet_default = _template("i", (input) => {
13560
13586
  _if(() => {
13561
13587
  if (!input.files.length) {
13562
13588
  const $scope8_id = _scope_id();
13563
- _html(`<p${_attr_class("_jb")}>No files match.</p>`);
13589
+ _html(`<p${_attr_class("_i9")}>No files match.</p>`);
13564
13590
  $si__input_files_length && writeScope($scope8_id, {});
13565
13591
  return 0;
13566
13592
  }
@@ -13977,11 +14003,11 @@ var review_view_default = _template("z", (input) => {
13977
14003
  else viewBox.scrollToLine(hit.key, hit.line, hit.side);
13978
14004
  }, 0);
13979
14005
  };
13980
- _html(`<div${_attr_class("_gm")}><div${_attr_class("_gr")}><div${_attr_class("_gZ")}><div${_attr_class("_gs")}><div${_attr_class(["_gB", { ["_gA"]: !comments.length }])}>`);
14006
+ _html(`<div${_attr_class("_gl")}><div${_attr_class("_gq")}><div${_attr_class("_gY")}><div${_attr_class("_gr")}><div${_attr_class(["_gA", { ["_gz"]: !comments.length }])}>`);
13981
14007
  _if(() => {
13982
14008
  if (input.onExit) {
13983
14009
  const $scope1_id = _scope_id();
13984
- _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_gt"])} title="Back to terminal (⌘/Ctrl+Shift+D)">`);
14010
+ _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_gs"])} title="Back to terminal (⌘/Ctrl+Shift+D)">`);
13985
14011
  icon_back_default({ size: 14 });
13986
14012
  _html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 2))}`);
13987
14013
  _serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 2) && _scope_with_id($scope0_id) });
@@ -13992,7 +14018,7 @@ var review_view_default = _template("z", (input) => {
13992
14018
  _if(() => {
13993
14019
  if (comments.length) {
13994
14020
  const $scope2_id = _scope_id();
13995
- _html(`<span${_attr_class("_gv")}>${_text_resume($scope2_id, "b", comments.length)} comment${_text_resume($scope2_id, "c", comments.length === 1 ? "" : "s", 2)}</span><span${_attr_class("_gu")}>`);
14021
+ _html(`<span${_attr_class("_gu")}>${_text_resume($scope2_id, "b", comments.length)} comment${_text_resume($scope2_id, "c", comments.length === 1 ? "" : "s", 2)}</span><span${_attr_class("_gt")}>`);
13996
14022
  _set_serialize_reason(_serialize_guard($scope0_reason, 8));
13997
14023
  const $childScope = _peek_scope_id();
13998
14024
  diff_send_default({
@@ -14005,14 +14031,14 @@ var review_view_default = _template("z", (input) => {
14005
14031
  return 0;
14006
14032
  }
14007
14033
  }, $scope0_id, "h");
14008
- _html(`</div>${_el_resume($scope0_id, "e")}<div${_attr_class(["_gq", "_gW"])}>`);
14034
+ _html(`</div>${_el_resume($scope0_id, "e")}<div${_attr_class(["_gp", "_gV"])}>`);
14009
14035
  _if(() => {
14010
14036
  if (hasFiles) {
14011
14037
  const $scope12_id = _scope_id();
14012
14038
  _html(`<button${_attr_class([
14013
14039
  treeToggle,
14014
- "_go",
14015
- { ["_gn"]: treeOpen }
14040
+ "_gn",
14041
+ { ["_gm"]: treeOpen }
14016
14042
  ])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
14017
14043
  icon_sidebar_default({ size: 14 });
14018
14044
  _html(`</button>${_el_resume($scope12_id, "a")}`);
@@ -14021,7 +14047,7 @@ var review_view_default = _template("z", (input) => {
14021
14047
  return 0;
14022
14048
  }
14023
14049
  }, $scope0_id, "j", 1, 1, 1, 0, 1);
14024
- _html(`<button${_attr_class([iconBtnRow, "_go"])} title="Refresh diff"${_attr("disabled", loading)}>`);
14050
+ _html(`<button${_attr_class([iconBtnRow, "_gn"])} title="Refresh diff"${_attr("disabled", loading)}>`);
14025
14051
  _set_serialize_reason(1);
14026
14052
  const $childScope2 = _peek_scope_id();
14027
14053
  icon_refresh_default({
@@ -14032,7 +14058,7 @@ var review_view_default = _template("z", (input) => {
14032
14058
  _if(() => {
14033
14059
  if (hasFiles) {
14034
14060
  const $scope13_id = _scope_id();
14035
- _html(`<button${_attr_class(["_q", "_gK"])} title="Jump to file">Files (${_text_resume($scope13_id, "b", shownFiles.length, 2)})</button>${_el_resume($scope13_id, "a")}`);
14061
+ _html(`<button${_attr_class(["_q", "_gJ"])} title="Jump to file">Files (${_text_resume($scope13_id, "b", shownFiles.length, 2)})</button>${_el_resume($scope13_id, "a")}`);
14036
14062
  _script($scope13_id, "z40");
14037
14063
  writeScope($scope13_id, {});
14038
14064
  return 0;
@@ -14040,16 +14066,16 @@ var review_view_default = _template("z", (input) => {
14040
14066
  }, $scope0_id, "m", 1, 1, 1, 0, 1);
14041
14067
  _html(`<span${_attr_class([
14042
14068
  "_o",
14043
- "_gC",
14044
- "_gX"
14069
+ "_gB",
14070
+ "_gW"
14045
14071
  ])}>`);
14046
14072
  _attr_select_value($scope0_id, "o", rev ? `rev:${rev}` : scope, _resume(function(v) {
14047
14073
  pickCompare(v);
14048
14074
  }, "z0", $scope0_id), () => {
14049
14075
  _html(`<select${_attr_class([
14050
14076
  "_p",
14051
- "_gD",
14052
- "_gY"
14077
+ "_gC",
14078
+ "_gX"
14053
14079
  ])} aria-label=Compare${_attr("disabled", loading)}><option${_attr_option_value("committed")}>Committed</option><option${_attr_option_value("working")}>Working tree</option><option${_attr_option_value("dirty")}>Uncommitted</option>`);
14054
14080
  _if(() => {
14055
14081
  if (commitOptions.length) {
@@ -14066,7 +14092,7 @@ var review_view_default = _template("z", (input) => {
14066
14092
  }, $scope0_id, "p", 1, 1, 1, 0, 1);
14067
14093
  _html("</select>");
14068
14094
  });
14069
- _html(`${_el_resume($scope0_id, "o")}</span> <div${_attr_class(["_gz", { ["_gy"]: !findOpen }])}>`);
14095
+ _html(`${_el_resume($scope0_id, "o")}</span> <div${_attr_class(["_gy", { ["_gx"]: !findOpen }])}>`);
14070
14096
  _set_serialize_reason(2);
14071
14097
  const $childScope3 = _peek_scope_id();
14072
14098
  let findFocus = diff_find_default({
@@ -14089,8 +14115,8 @@ var review_view_default = _template("z", (input) => {
14089
14115
  const $scope14_id = _scope_id();
14090
14116
  _html(`<button${_attr_class([
14091
14117
  iconBtnRow,
14092
- "_gx",
14093
- "_go"
14118
+ "_gw",
14119
+ "_gn"
14094
14120
  ])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
14095
14121
  icon_search_default({ size: 14 });
14096
14122
  _html(`</button>${_el_resume($scope14_id, "a")}`);
@@ -14099,7 +14125,7 @@ var review_view_default = _template("z", (input) => {
14099
14125
  return 0;
14100
14126
  }
14101
14127
  }, $scope0_id, "t", 1, 1, 1, 0, 1);
14102
- _html(`</div></div><div${_attr_class("_gM")}>`);
14128
+ _html(`</div></div><div${_attr_class("_gL")}>`);
14103
14129
  _if(() => {
14104
14130
  if (error) {
14105
14131
  const $scope6_id = _scope_id();
@@ -14144,7 +14170,7 @@ var review_view_default = _template("z", (input) => {
14144
14170
  _if(() => {
14145
14171
  if (!repos && loading) {
14146
14172
  const $scope17_id = _scope_id();
14147
- _html(`<div${_attr_class("_gF")} aria-hidden=true><div${_attr_class(["_gG", "_gH"])}></div><div${_attr_class(["_gG", "_gI"])}></div><div${_attr_class(["_gG", "_gJ"])}></div></div>`);
14173
+ _html(`<div${_attr_class("_gE")} aria-hidden=true><div${_attr_class(["_gF", "_gG"])}></div><div${_attr_class(["_gF", "_gH"])}></div><div${_attr_class(["_gF", "_gI"])}></div></div>`);
14148
14174
  writeScope($scope17_id, {});
14149
14175
  return 0;
14150
14176
  }
@@ -14152,12 +14178,12 @@ var review_view_default = _template("z", (input) => {
14152
14178
  _if(() => {
14153
14179
  if (repos && !allFiles.length) {
14154
14180
  const $scope11_id = _scope_id();
14155
- _html(`<p${_attr_class("_cp")}>${_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>`);
14181
+ _html(`<p${_attr_class("_cj")}>${_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>`);
14156
14182
  writeScope($scope11_id, {});
14157
14183
  return 0;
14158
14184
  } else if (repos && !shownFiles.length && !findState.hit) {
14159
14185
  const $scope8_id = _scope_id();
14160
- _html(`<p${_attr_class("_cp")}>${_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>`);
14186
+ _html(`<p${_attr_class("_cj")}>${_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>`);
14161
14187
  writeScope($scope8_id, {});
14162
14188
  return 1;
14163
14189
  }
@@ -14166,7 +14192,7 @@ var review_view_default = _template("z", (input) => {
14166
14192
  _if(() => {
14167
14193
  if (shownRepos.length) {
14168
14194
  const $scope3_id = _scope_id();
14169
- _html(`<div${_attr_class("_gL")}>`);
14195
+ _html(`<div${_attr_class("_gK")}>`);
14170
14196
  _for_of(shownRepos, (repo) => {
14171
14197
  const $scope4_id = _scope_id();
14172
14198
  const st = statsFor(repo);
@@ -14243,7 +14269,7 @@ var review_view_default = _template("z", (input) => {
14243
14269
  return 0;
14244
14270
  }
14245
14271
  }, $scope0_id, "z", 1, 1, 1, 0, 1);
14246
- _html(`</div>${_el_resume($scope0_id, "c")}<div${_attr_class("_gN")} data-diff-main></div>${_el_resume($scope0_id, "a0")}</div>`);
14272
+ _html(`</div>${_el_resume($scope0_id, "c")}<div${_attr_class("_gM")} data-diff-main></div>${_el_resume($scope0_id, "a0")}</div>`);
14247
14273
  _set_serialize_reason(26);
14248
14274
  const $childScope6 = _peek_scope_id();
14249
14275
  review_tree_default({
@@ -14522,10 +14548,12 @@ function parseInvite(text) {
14522
14548
  repos
14523
14549
  };
14524
14550
  }
14525
- var skillRow = "_f_ _f4";
14526
- var skillName = "_gb _f6";
14527
- var skillDesc = "_ge _f7";
14528
- var skillEnd = "_gf _f8";
14551
+ //#endregion
14552
+ //#region src/tags/manage-workspace.css.ts
14553
+ var procCmd = "_f8 _cV";
14554
+ var skillRow = "_f_ _cT";
14555
+ var skillName = "_gb _f8 _cV";
14556
+ var skillDesc = "_ge _cW";
14529
14557
  //#endregion
14530
14558
  //#region src/tags/icons/icon-clipboard.marko
14531
14559
  var icon_clipboard_default = _template("$", (input) => {
@@ -14577,8 +14605,10 @@ var icon_trash_default = _template("ub", (input) => {
14577
14605
  });
14578
14606
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
14579
14607
  });
14580
- var resultRow = "_ix _I";
14581
- var resultBranch = "_iz _3 _l";
14608
+ var resultRow = "_ia _I";
14609
+ var resultBranch = "_ib _c0 _X _W _3 _l";
14610
+ var urlAction = "_ic _c0 _X _W _c1";
14611
+ var addedRow = "_in _cT";
14582
14612
  //#endregion
14583
14613
  //#region src/tags/icons/icon-branch.marko
14584
14614
  var icon_branch_default = _template("X", (input) => {
@@ -14608,11 +14638,11 @@ var branch_pick_default = _template("f", (input) => {
14608
14638
  let branchFilter = "";
14609
14639
  let reloadTick = 0;
14610
14640
  let refreshing = false;
14611
- _html(`<div${_attr_class("_iB")}>`);
14641
+ _html(`<div${_attr_class("_id")}>`);
14612
14642
  _if(() => {
14613
14643
  {
14614
14644
  const $scope4_id = _scope_id();
14615
- _html(`<p${_attr_class("_co")}><span${_attr_class("_G")}></span> Loading branches…</p>`);
14645
+ _html(`<p${_attr_class("_ci")}><span${_attr_class("_G")}></span> Loading branches…</p>`);
14616
14646
  writeScope($scope4_id, {});
14617
14647
  return 0;
14618
14648
  }
@@ -14638,7 +14668,7 @@ var branch_pick_default = _template("f", (input) => {
14638
14668
  //#region src/tags/repo-picker.marko
14639
14669
  var api$5;
14640
14670
  var repo_picker_default = _template("w", (input$2) => {
14641
- const $scope0_reason = _scope_reason(), $sg__input_compact__OR__input_action = _serialize_guard($scope0_reason, 1), $sg__input_compact = _serialize_guard($scope0_reason, 7), $si__input_onError = _serialize_if($scope0_reason, 6), $si__input_compact__OR__input_action = _serialize_if($scope0_reason, 1);
14671
+ const $scope0_reason = _scope_reason(), $si__input_onError = _serialize_if($scope0_reason, 3), $si__input_added = _serialize_if($scope0_reason, 4), $sg__input_added = _serialize_guard($scope0_reason, 4);
14642
14672
  const $scope0_id = _scope_id();
14643
14673
  const $loadCatalog2__closures = /* @__PURE__ */ new Set();
14644
14674
  const $ssoPending__closures = /* @__PURE__ */ new Set();
@@ -14647,6 +14677,7 @@ var repo_picker_default = _template("w", (input$2) => {
14647
14677
  const $input_onError__closures = /* @__PURE__ */ new Set();
14648
14678
  const $highlight__closures = /* @__PURE__ */ new Set();
14649
14679
  const $branchesFor__closures = /* @__PURE__ */ new Set();
14680
+ const $catalog__closures = /* @__PURE__ */ new Set();
14650
14681
  input$2.refreshing;
14651
14682
  let catalog = null;
14652
14683
  let filter = "";
@@ -14686,7 +14717,7 @@ var repo_picker_default = _template("w", (input$2) => {
14686
14717
  branchesFor = branchesFor === fullName ? null : fullName;
14687
14718
  if (fullName !== pasted) pasteWillFork = false;
14688
14719
  }, "w6", $scope0_id);
14689
- const compact = !!input$2.compact;
14720
+ const sheet = isMobile();
14690
14721
  let ssoIgnoreTick = 0;
14691
14722
  const ssoPending = (() => {
14692
14723
  const ignored = /* @__PURE__ */ new Set([]);
@@ -14712,227 +14743,264 @@ var repo_picker_default = _template("w", (input$2) => {
14712
14743
  })));
14713
14744
  _resume_branch($scope9_id);
14714
14745
  }, $scope0_id) };
14715
- const hasBody = !!(pasted || results.length || filter && (!catalog || !pasted) || compact && ssoPending.length);
14716
- _html(`<div${_attr_class([compact ? "_cH" : "_ip", {
14717
- ["_cI"]: compact && !input$2.open,
14718
- ["_cJ"]: input$2.pinned
14719
- }])}>`);
14720
- _if(() => {
14721
- if (!compact && ssoPending.length) {
14722
- const $scope11_id = _scope_id();
14723
- _html(`<div${_attr_class("_is")}>`);
14724
- ssoBlock.content({});
14725
- _html("</div>");
14726
- writeScope($scope11_id, {});
14727
- return 0;
14728
- }
14729
- }, $scope0_id, "b", 1, 1, 1, 0, 1);
14730
- _html(`<div${!compact && input$2.action ? _attr_class("_iq") : _attr_class("_ir")}><label${_attr_class(["_0", compact && "_cK"])}>`);
14746
+ const addedList = sheet ? input$2.added || [] : [];
14747
+ const hasBody = !!(pasted || results.length || filter && (!catalog || !pasted) || ssoPending.length || sheet && !!input$2.added);
14748
+ _html(`<div${_attr_class(["_cs", {
14749
+ ["_ct"]: !input$2.open,
14750
+ ["_cu"]: input$2.pinned
14751
+ }])}><label${_attr_class(["_0", "_cv"])}>`);
14731
14752
  icon_search_default({
14732
14753
  size: 14,
14733
14754
  class: "_1"
14734
14755
  });
14735
- _html(`<input${_attr_input_value($scope0_id, "f", filter, _resume(function(v) {
14756
+ _html(`<input${_attr_input_value($scope0_id, "d", filter, _resume(function(v) {
14736
14757
  filter = v;
14737
14758
  highlight = 0;
14738
14759
  pasteWillFork = false;
14739
14760
  }, "w0", $scope0_id))}${_attr_class([
14740
- compact ? "_Y" : inputLg,
14761
+ "_Y",
14741
14762
  "_2",
14742
- compact && "_cL"
14743
- ])} 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)}`);
14744
- _if(() => {
14745
- if (!compact && input$2.action) {
14746
- const $scope1_id = _scope_id();
14747
- _dynamic_tag($scope1_id, "a", input$2.action, {}, 0, 0, _serialize_guard($scope0_reason, 8));
14748
- $si__input_compact__OR__input_action && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 8) && _scope_with_id($scope0_id) });
14749
- return 0;
14750
- }
14751
- }, $scope0_id, "g", $sg__input_compact__OR__input_action, $sg__input_compact__OR__input_action);
14752
- _html(`</div>${_el_resume($scope0_id, "c", $sg__input_compact__OR__input_action)}`);
14753
- _if(() => {
14754
- if (compact) {
14755
- const $scope2_id = _scope_id();
14756
- _html(`<button${_attr_class([iconBtnRow, "_cN"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
14757
- icon_xmark_default({ size: 14 });
14758
- _html(`</button>${_el_resume($scope2_id, "a")}`);
14759
- _script($scope2_id, "w14");
14760
- writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
14761
- return 0;
14762
- }
14763
- }, $scope0_id, "h", _serialize_guard($scope0_reason, 0), $sg__input_compact, 1, 0, 1);
14764
- _html(`<div${_attr_class([compact ? pop$1 : "_it"])}${_attr("hidden", !hasBody || compact && !input$2.open && !input$2.pinned)}>`);
14763
+ "_cw"
14764
+ ])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input$2.disabled)}>${_el_resume($scope0_id, "d")}</label><button${_attr_class([iconBtnRow, "_cy"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
14765
+ icon_xmark_default({ size: 14 });
14766
+ _html(`</button>${_el_resume($scope0_id, "e")}<div${_attr_class(pop$1)}${_attr("hidden", !hasBody || !input$2.open && !input$2.pinned)}>`);
14765
14767
  _if(() => {
14766
- if (compact && ssoPending.length) {
14767
- const $scope12_id = _scope_id();
14768
- _html(`<div${_attr_class("_is")}>`);
14768
+ if (ssoPending.length) {
14769
+ const $scope11_id = _scope_id();
14770
+ _html(`<div${_attr_class("_h7")}>`);
14769
14771
  ssoBlock.content({});
14770
14772
  _html("</div>");
14771
- writeScope($scope12_id, {});
14773
+ writeScope($scope11_id, {});
14772
14774
  return 0;
14773
14775
  }
14774
- }, $scope0_id, "j", 1, 1, 1, 0, 1);
14776
+ }, $scope0_id, "h", 1, 1, 1, 0, 1);
14775
14777
  _if(() => {
14776
14778
  if (pasted) {
14777
- const $scope3_id = _scope_id();
14778
- _html(`<ul${_attr_class("_iu")}><li><div${_attr_class(["_iw", "_iv"])}><button${_attr_class(resultRow)}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
14779
+ const $scope1_id = _scope_id();
14780
+ _html(`<ul${_attr_class("_h8")}><li><div${_attr_class(["_h_", "_h9"])}><button${_attr_class(resultRow)}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
14779
14781
  icon_plus_default({
14780
14782
  size: 12,
14781
- class: "_iD"
14783
+ class: "_if"
14782
14784
  });
14783
- _html(`<span${_attr_class("_iE")}>${_text_resume($scope3_id, "f", repoLabel$1(pasted))}</span></button>${_el_resume($scope3_id, "c")}`);
14785
+ _html(`<span${_attr_class("_ig")}>${_text_resume($scope1_id, "f", repoLabel$1(pasted))}</span></button>${_el_resume($scope1_id, "c")}`);
14784
14786
  _if(() => {
14785
14787
  if (pastedForkable) {
14786
14788
  const $scope10_id = _scope_id();
14787
- _html(`<button${_attr_class(["_iA", { ["_iy"]: pasteWillFork }])}${pasteWillFork ? " title=\"Will fork to your account; click to clone as-is instead\"" : _attr("title", `Fork ${pasted} to your account and clone the fork`)} aria-pressed=${pasteWillFork ? "true" : "false"}>`);
14789
+ _html(`<button${_attr_class([urlAction, { ["_cZ"]: pasteWillFork }])}${pasteWillFork ? " title=\"Will fork to your account; click to clone as-is instead\"" : _attr("title", `Fork ${pasted} to your account and clone the fork`)} aria-pressed=${pasteWillFork ? "true" : "false"}>`);
14788
14790
  _if(() => {
14789
14791
  if (pasteWillFork) {
14790
- const $scope14_id = _scope_id();
14792
+ const $scope13_id = _scope_id();
14791
14793
  icon_check_default({ size: 12 });
14792
14794
  _html(" fork");
14793
- writeScope($scope14_id, {});
14795
+ writeScope($scope13_id, {});
14794
14796
  return 0;
14795
14797
  } else {
14796
- const $scope15_id = _scope_id();
14798
+ const $scope14_id = _scope_id();
14797
14799
  _html("Fork");
14798
- writeScope($scope15_id, {});
14800
+ writeScope($scope14_id, {});
14799
14801
  return 1;
14800
14802
  }
14801
14803
  }, $scope10_id, "a", 1, 1, 1, "</button>");
14802
- _script($scope10_id, "w15");
14803
- _subscribe($pasteWillFork__closures, _subscribe($pasted__closures, writeScope($scope10_id, { Cb8: 1 })));
14804
+ _script($scope10_id, "w14");
14805
+ _subscribe($pasteWillFork__closures, _subscribe($pasted__closures, writeScope($scope10_id, { Cb6: 1 })));
14804
14806
  return 0;
14805
14807
  }
14806
- }, $scope3_id, "g", 1, 1, 1, 0, 1);
14807
- _html(`<button${_attr_class([resultBranch, { ["_iy"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
14808
+ }, $scope1_id, "g", 1, 1, 1, 0, 1);
14809
+ _html(`<button${_attr_class([resultBranch, { ["_cZ"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
14808
14810
  icon_branch_default({ size: 12 });
14809
- _html(`</button>${_el_resume($scope3_id, "h")}</div>`);
14811
+ _html(`</button>${_el_resume($scope1_id, "h")}</div>`);
14810
14812
  _if(() => {
14811
14813
  if (branchesFor === pasted) {
14812
- const $scope4_id = _scope_id();
14814
+ const $scope2_id = _scope_id();
14813
14815
  const $childScope2 = _peek_scope_id();
14814
14816
  branch_pick_default({
14815
14817
  repo: pasted,
14816
14818
  onPick: _resume(function(branch, isDefault) {
14817
14819
  pick(pasted, isDefault ? void 0 : branch, pastedFork(pasteWillFork));
14818
- }, "w9", $scope4_id),
14820
+ }, "w9", $scope2_id),
14819
14821
  onError: _resume(function(message) {
14820
14822
  branchesFor = null;
14821
14823
  input$2.onError?.(message);
14822
- }, "w10", $scope4_id)
14824
+ }, "w10", $scope2_id)
14823
14825
  });
14824
- _subscribe($pasted__closures, _subscribe($si__input_onError && $input_onError__closures, writeScope($scope4_id, { a: _existing_scope($childScope2) })));
14826
+ _subscribe($pasted__closures, _subscribe($si__input_onError && $input_onError__closures, writeScope($scope2_id, { a: _existing_scope($childScope2) })));
14825
14827
  return 0;
14826
14828
  }
14827
- }, $scope3_id, "j", 1, 1, 1, 0, 1);
14829
+ }, $scope1_id, "j", 1, 1, 1, 0, 1);
14828
14830
  _html("</li></ul>");
14829
- _script($scope3_id, "w16");
14830
- writeScope($scope3_id, {});
14831
+ _script($scope1_id, "w15");
14832
+ writeScope($scope1_id, {});
14831
14833
  return 0;
14832
14834
  } else if (filter && !catalog) {
14833
- const $scope13_id = _scope_id();
14834
- _html(`<p${_attr_class("_co")}>Loading repos…</p>`);
14835
- writeScope($scope13_id, {});
14835
+ const $scope12_id = _scope_id();
14836
+ _html(`<p${_attr_class("_ci")}>Loading repos…</p>`);
14837
+ writeScope($scope12_id, {});
14836
14838
  return 1;
14837
14839
  }
14838
- }, $scope0_id, "k", 1, 1, 1, 0, 1);
14840
+ }, $scope0_id, "i", 1, 1, 1, 0, 1);
14839
14841
  _if(() => {
14840
14842
  if (results.length) {
14841
- const $scope5_id = _scope_id();
14842
- _html(`<ul${_attr_class("_iu")}>`);
14843
+ const $scope3_id = _scope_id();
14844
+ _html(`<ul${_attr_class("_h8")}>`);
14843
14845
  _for_of(results, (repo, i) => {
14844
- const $scope6_id = _scope_id();
14845
- _html(`<li><div${_attr_class(["_iw", { ["_iv"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
14846
+ const $scope4_id = _scope_id();
14847
+ _html(`<li><div${_attr_class(["_h_", { ["_h9"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
14846
14848
  icon_plus_default({
14847
14849
  size: 12,
14848
- class: "_iD"
14850
+ class: "_if"
14849
14851
  });
14850
- _html(`<span${_attr_class("_iE")}>${_text_resume($scope6_id, "e", repoLabel$1(repo.nameWithOwner))}</span></button>${_el_resume($scope6_id, "b")}<button${_attr_class([resultBranch, { ["_iy"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
14852
+ _html(`<span${_attr_class("_ig")}>${_text_resume($scope4_id, "e", repoLabel$1(repo.nameWithOwner))}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_cZ"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
14851
14853
  icon_branch_default({ size: 12 });
14852
- _html(`</button>${_el_resume($scope6_id, "f")}</div>${_el_resume($scope6_id, "a")}`);
14854
+ _html(`</button>${_el_resume($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
14853
14855
  _if(() => {
14854
14856
  if (branchesFor === repo.nameWithOwner) {
14855
- const $scope7_id = _scope_id();
14857
+ const $scope5_id = _scope_id();
14856
14858
  const $childScope3 = _peek_scope_id();
14857
14859
  branch_pick_default({
14858
14860
  repo: repo.nameWithOwner,
14859
14861
  onPick: _resume(function(branch, isDefault) {
14860
14862
  pick(repo.nameWithOwner, isDefault ? void 0 : branch);
14861
- }, "w11", $scope7_id),
14863
+ }, "w11", $scope5_id),
14862
14864
  onError: _resume(function(message) {
14863
14865
  branchesFor = null;
14864
14866
  input$2.onError?.(message);
14865
- }, "w12", $scope7_id)
14867
+ }, "w12", $scope5_id)
14866
14868
  });
14867
- _subscribe($si__input_onError && $input_onError__closures, writeScope($scope7_id, {
14869
+ _subscribe($si__input_onError && $input_onError__closures, writeScope($scope5_id, {
14868
14870
  a: _existing_scope($childScope3),
14869
- Cb1: $si__input_onError && 1
14871
+ Cb0: $si__input_onError && 1
14870
14872
  }));
14871
14873
  return 0;
14872
14874
  }
14873
- }, $scope6_id, "h", 1, 1, 1, 0, 1);
14875
+ }, $scope4_id, "h", 1, 1, 1, 0, 1);
14874
14876
  _html("</li>");
14875
- _script($scope6_id, "w17");
14876
- _subscribe($branchesFor__closures, _subscribe($highlight__closures, writeScope($scope6_id, {
14877
+ _script($scope4_id, "w16");
14878
+ _subscribe($branchesFor__closures, _subscribe($highlight__closures, writeScope($scope4_id, {
14877
14879
  k: repo?.nameWithOwner,
14878
14880
  m: i
14879
14881
  })));
14880
- }, "nameWithOwner", $scope5_id, "a", 1, 1, 1, "</ul>", 1);
14881
- writeScope($scope5_id, {});
14882
+ }, "nameWithOwner", $scope3_id, "a", 1, 1, 1, "</ul>", 1);
14883
+ writeScope($scope3_id, {});
14882
14884
  return 0;
14883
14885
  } else if (filter && catalog && !pasted) {
14884
14886
  const $scope8_id = _scope_id();
14885
- _html(`<p${_attr_class("_co")}>No repos match "${_text_resume($scope8_id, "b", filter, 2)}". Paste a clone URL to add any repo.</p>`);
14887
+ _html(`<p${_attr_class("_ci")}>No repos match "${_text_resume($scope8_id, "b", filter, 2)}". Paste a clone URL to add any repo.</p>`);
14886
14888
  writeScope($scope8_id, {});
14887
14889
  return 1;
14888
14890
  }
14889
- }, $scope0_id, "l", 1, 1, 1, 0, 1);
14891
+ }, $scope0_id, "j", 1, 1, 1, 0, 1);
14892
+ _if(() => {
14893
+ if (sheet && input$2.added) {
14894
+ const $scope6_id = _scope_id();
14895
+ _html(`<div${_attr_class("_il")}><p${_attr_class("_im")}>Repos <span${_attr_class(sectionCount$1)}>${_text_resume($scope6_id, "d", addedList.length, $sg__input_added)}</span></p><ul${_attr_class(list$2)}>`);
14896
+ _for_of(addedList, (repo) => {
14897
+ const $scope15_id = _scope_id();
14898
+ _html(`<li${_attr_class([addedRow, { ["_cY"]: repo.pending }])}>`);
14899
+ _if(() => {
14900
+ if (repo.pending) {
14901
+ const $scope17_id = _scope_id();
14902
+ _html(`<span${_attr_class("_G")}></span>`);
14903
+ $si__input_added && writeScope($scope17_id, {});
14904
+ return 0;
14905
+ } else {
14906
+ const $scope18_id = _scope_id();
14907
+ icon_check_default({
14908
+ size: 12,
14909
+ class: "_if"
14910
+ });
14911
+ $si__input_added && writeScope($scope18_id, {});
14912
+ return 1;
14913
+ }
14914
+ }, $scope15_id, "b", $sg__input_added, $sg__input_added, $sg__input_added, 0, 1);
14915
+ _html(`<span${_attr_class("_ig")}>${_text_resume($scope15_id, "d", repoLabel$1(repo.name), $sg__input_added)}</span>`);
14916
+ _if(() => {
14917
+ if (repo.baseBranch) {
14918
+ const $scope16_id = _scope_id();
14919
+ _html(`<span${_attr_class([chip$1, "_y"])} title="Base branch">`);
14920
+ icon_branch_default({ size: 12 });
14921
+ _html(` ${_text_resume($scope16_id, "c", repo.baseBranch, $sg__input_added * 2)}</span>`);
14922
+ $si__input_added && writeScope($scope16_id, { _: _scope_with_id($scope15_id) });
14923
+ return 0;
14924
+ }
14925
+ }, $scope15_id, "e", $sg__input_added, $sg__input_added, $sg__input_added, 0, 1);
14926
+ _html(`</li>${_el_resume($scope15_id, "a", $sg__input_added)}`);
14927
+ $si__input_added && writeScope($scope15_id, { j: repo?.baseBranch });
14928
+ }, "name", $scope6_id, "f", $sg__input_added, $sg__input_added, $sg__input_added, 0, 1);
14929
+ _if(() => {
14930
+ if (!addedList.length) {
14931
+ const $scope7_id = _scope_id();
14932
+ _html(`<li${_attr_class([addedRow, "_cY"])}>`);
14933
+ _if(() => {
14934
+ if (catalog) {
14935
+ const $scope19_id = _scope_id();
14936
+ _html("No repos yet — search above to add one.");
14937
+ writeScope($scope19_id, {});
14938
+ return 0;
14939
+ } else {
14940
+ const $scope20_id = _scope_id();
14941
+ _html(`<span${_attr_class("_G")}></span>Loading repos…`);
14942
+ writeScope($scope20_id, {});
14943
+ return 1;
14944
+ }
14945
+ }, $scope7_id, "a", 1, 1, 1, "</li>");
14946
+ _subscribe($catalog__closures, writeScope($scope7_id, { _: _scope_with_id($scope6_id) }));
14947
+ return 0;
14948
+ }
14949
+ }, $scope6_id, "g", $sg__input_added, $sg__input_added, $sg__input_added, 0, 1);
14950
+ _html("</ul></div>");
14951
+ writeScope($scope6_id, { _: _scope_with_id($scope0_id) });
14952
+ return 0;
14953
+ }
14954
+ }, $scope0_id, "k", $sg__input_added, $sg__input_added, 1, 0, 1);
14890
14955
  const handle = _resume((action) => {
14891
14956
  if (action === "focus") ((inputEl) => inputEl())(_el_read_error)?.focus({ preventScroll: true });
14892
14957
  else loadCatalog(true);
14893
14958
  }, "w1", $scope0_id);
14894
- _html(`</div>${_el_resume($scope0_id, "i")}</div>${_el_resume($scope0_id, "a", _serialize_guard($scope0_reason, 3))}`);
14959
+ _html(`</div>${_el_resume($scope0_id, "g")}</div>${_el_resume($scope0_id, "a", _serialize_guard($scope0_reason, 0))}`);
14895
14960
  const $return = handle;
14961
+ _script($scope0_id, "w17");
14896
14962
  _script($scope0_id, "w18");
14897
- _script($scope0_id, "w19");
14898
14963
  writeScope($scope0_id, {
14899
- o: _serialize_if($scope0_reason, 5) && input$2.refreshing,
14900
- p: _serialize_if($scope0_reason, 4) && input$2.refreshingChange,
14901
- r: input$2.onError,
14902
- s: input$2.exclude,
14903
- t: input$2.onPick,
14904
- v: input$2.open,
14905
- w: input$2.pinned,
14906
- x: $si__input_compact__OR__input_action && input$2.action,
14907
- z: input$2.onClose,
14908
- a2: catalog,
14909
- a3: catalog?.repos,
14910
- a5: catalog?.sso,
14911
- a6: filter,
14912
- a7: highlight,
14913
- a8: loadCatalog,
14914
- a9: excluded,
14915
- ac: results,
14916
- ad: results?.length,
14917
- ae: pasted,
14918
- ai: pastedForkable,
14919
- aj: branchesFor,
14920
- al: pasteWillFork,
14921
- am: pick,
14922
- an: pastedFork,
14923
- ao: toggleBranches,
14924
- ap: compact,
14925
- as: ssoIgnoreTick,
14926
- av: ssoPending?.length,
14927
- ay: _serialize_if($scope0_reason, 2) && hasBody,
14928
- a1: input$2.refreshingChange || void 0,
14929
- b6: $si__input_onError && $loadCatalog2__closures,
14930
- bc: $ssoPending__closures,
14931
- b8: $pasted__closures,
14932
- bb: $pasteWillFork__closures,
14933
- b1: $si__input_onError && $input_onError__closures,
14934
- b5: $highlight__closures,
14935
- ba: $branchesFor__closures
14964
+ n: _serialize_if($scope0_reason, 2) && input$2.refreshing,
14965
+ o: _serialize_if($scope0_reason, 1) && input$2.refreshingChange,
14966
+ q: input$2.onError,
14967
+ r: input$2.exclude,
14968
+ s: input$2.onPick,
14969
+ t: input$2.added,
14970
+ u: input$2.open,
14971
+ v: input$2.pinned,
14972
+ y: input$2.onClose,
14973
+ a1: catalog,
14974
+ a2: catalog?.repos,
14975
+ a4: catalog?.sso,
14976
+ a5: filter,
14977
+ a6: highlight,
14978
+ a7: loadCatalog,
14979
+ a8: excluded,
14980
+ ab: results,
14981
+ ac: results?.length,
14982
+ ad: pasted,
14983
+ ah: pastedForkable,
14984
+ ai: branchesFor,
14985
+ ak: pasteWillFork,
14986
+ al: pick,
14987
+ am: pastedFork,
14988
+ an: toggleBranches,
14989
+ ao: sheet,
14990
+ aq: ssoIgnoreTick,
14991
+ at: ssoPending?.length,
14992
+ av: $si__input_added && addedList,
14993
+ aw: $si__input_added && addedList.length,
14994
+ ax: _serialize_if($scope0_reason, 0) && hasBody,
14995
+ a0: input$2.refreshingChange || void 0,
14996
+ b4: $si__input_onError && $loadCatalog2__closures,
14997
+ ba: $ssoPending__closures,
14998
+ b6: $pasted__closures,
14999
+ b9: $pasteWillFork__closures,
15000
+ b0: $si__input_onError && $input_onError__closures,
15001
+ b3: $highlight__closures,
15002
+ b8: $branchesFor__closures,
15003
+ b1: $catalog__closures
14936
15004
  });
14937
15005
  _resume_branch($scope0_id);
14938
15006
  return $return;
@@ -15099,7 +15167,7 @@ var manage_workspace_default = _template("p", (input) => {
15099
15167
  setTimeout(() => loadProcs(void 0), 500);
15100
15168
  }, "p11", $scope0_id);
15101
15169
  const titleId = _id();
15102
- _html(`<div${_attr_class("_d5")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_d6")}><div${_attr_class("_d7")}>`);
15170
+ _html(`<div${_attr_class("_ee")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_ef")}><div${_attr_class("_eg")}>`);
15103
15171
  _set_serialize_reason(30);
15104
15172
  const $childScope2 = _peek_scope_id();
15105
15173
  page_head_default({
@@ -15152,13 +15220,13 @@ var manage_workspace_default = _template("p", (input) => {
15152
15220
  }
15153
15221
  }, $scope7_id, "a", 1, 1, 1, "</button>", 1);
15154
15222
  _script($scope7_id, "p21");
15155
- _subscribe($pendingAction__closures, writeScope($scope7_id, { Ccn: 1 }));
15223
+ _subscribe($pendingAction__closures, writeScope($scope7_id, { Cco: 1 }));
15156
15224
  return 0;
15157
15225
  } else {
15158
15226
  const $scope8_id = _scope_id();
15159
15227
  _html(`<button type=button${_attr_class([btnSm, "_r"])} title="Archived and hidden from the list. Bring it back."${_attr("disabled", !!pendingAction)}>${_text_resume($scope8_id, "b", pendingAction === "restore" ? "Restoring…" : "Restore")}</button>${_el_resume($scope8_id, "a")}`);
15160
15228
  _script($scope8_id, "p22");
15161
- _subscribe($pendingAction__closures, writeScope($scope8_id, { Ccn: 2 }));
15229
+ _subscribe($pendingAction__closures, writeScope($scope8_id, { Cco: 2 }));
15162
15230
  return 1;
15163
15231
  }
15164
15232
  }, $scope6_id, "b", 1, 1, 1, 0, 1);
@@ -15195,7 +15263,7 @@ var manage_workspace_default = _template("p", (input) => {
15195
15263
  }, $scope9_id, "a", 1, 1, 1, 0, 1);
15196
15264
  _subscribe($pendingAction__closures, writeScope($scope9_id, {
15197
15265
  _: _scope_with_id($scope6_id),
15198
- Ccn: 3
15266
+ Cco: 3
15199
15267
  }));
15200
15268
  _resume_branch($scope9_id);
15201
15269
  }, $scope6_id)
@@ -15207,7 +15275,7 @@ var manage_workspace_default = _template("p", (input) => {
15207
15275
  _resume_branch($scope6_id);
15208
15276
  }, $scope0_id) })
15209
15277
  });
15210
- _html(`<div${_attr_class("_d8")}><section${_attr_class("_cd")}><div${_attr_class("_ce")}><h2${_attr_class("_cr")}>Details</h2></div><div${_attr_class(list$2)}><div${_attr_class(flatCardRow)}><span${_attr_class("_gj")}>Name</span><span${_attr_class(["_gk", "_gl"])}>${_text_resume($scope0_id, "m", ws.name)}</span>`);
15278
+ _html(`<div${_attr_class("_eh")}><section${_attr_class("_b8")}><div${_attr_class("_b9")}><h2${_attr_class("_cl")}>Details</h2></div><div${_attr_class(list$2)}><div${_attr_class(flatCardRow)}><span${_attr_class("_gi")}>Name</span><span${_attr_class(["_gj", "_gk"])}>${_text_resume($scope0_id, "m", ws.name)}</span>`);
15211
15279
  _if(() => {
15212
15280
  if (ws.status !== "active") {
15213
15281
  const $scope23_id = _scope_id();
@@ -15216,8 +15284,8 @@ var manage_workspace_default = _template("p", (input) => {
15216
15284
  return 0;
15217
15285
  }
15218
15286
  }, $scope0_id, "n", 1, 1, 1, 0, 1);
15219
- _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gj")}>Path</span><span${_attr_class([
15220
- "_gk",
15287
+ _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gi")}>Path</span><span${_attr_class([
15288
+ "_gj",
15221
15289
  "_y",
15222
15290
  "_ba"
15223
15291
  ])}${_attr("title", ws.display_path || ws.path)}><bdi>${_text_resume($scope0_id, "r", ws.display_path || ws.path)}</bdi></span>${_el_resume($scope0_id, "q")}<button type=button${_attr_class(iconBtnXs)} title=${copiedFact === "path" ? "Copied" : "\"Copy path\""} aria-label="Copy path">`);
@@ -15234,7 +15302,7 @@ var manage_workspace_default = _template("p", (input) => {
15234
15302
  return 1;
15235
15303
  }
15236
15304
  }, $scope0_id, "s", 1, 1, 1, "</button>", 1);
15237
- _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gj")}>Branch</span><span${_attr_class(["_gk", "_y"])}${_attr("title", ws.branch)}>${_text_resume($scope0_id, "w", ws.branch)}</span>${_el_resume($scope0_id, "v")}<button type=button${_attr_class(iconBtnXs)} title=${copiedFact === "branch" ? "Copied" : "\"Copy branch\""} aria-label="Copy branch">`);
15305
+ _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gi")}>Branch</span><span${_attr_class(["_gj", "_y"])}${_attr("title", ws.branch)}>${_text_resume($scope0_id, "w", ws.branch)}</span>${_el_resume($scope0_id, "v")}<button type=button${_attr_class(iconBtnXs)} title=${copiedFact === "branch" ? "Copied" : "\"Copy branch\""} aria-label="Copy branch">`);
15238
15306
  _if(() => {
15239
15307
  if (copiedFact === "branch") {
15240
15308
  const $scope26_id = _scope_id();
@@ -15272,21 +15340,27 @@ var manage_workspace_default = _template("p", (input) => {
15272
15340
  _if(() => {
15273
15341
  if (pendingAction && actionStep) {
15274
15342
  const $scope10_id = _scope_id();
15275
- _html(`<p${_attr_class("_cc")}><span${_attr_class("_G")}></span>${_text_resume($scope10_id, "c", actionStep)}</p>`);
15343
+ _html(`<p${_attr_class("_b7")}><span${_attr_class("_G")}></span>${_text_resume($scope10_id, "c", actionStep)}</p>`);
15276
15344
  writeScope($scope10_id, {});
15277
15345
  return 0;
15278
15346
  }
15279
15347
  }, $scope0_id, "z", 1, 1, 1, 0, 1);
15280
- _html(`<section${_attr_class("_cd")}><div${_attr_class("_ce")}><h2${_attr_class("_cr")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "a4", ws.repos.length)}</span><div${_attr_class("_z")}></div><button${_attr_class([iconBtnRow, "_gi"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
15348
+ _html(`<section${_attr_class("_b8")}><div${_attr_class("_b9")}><h2${_attr_class("_cl")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "a4", ws.repos.length)}</span><div${_attr_class("_z")}></div><button${_attr_class([iconBtnRow, "_gh"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
15281
15349
  icon_plus_default({ size: 16 });
15282
15350
  _html(`</button>${_el_resume($scope0_id, "a6")}`);
15283
- _set_serialize_reason(26);
15351
+ _set_serialize_reason(34);
15284
15352
  const $childScope3 = _peek_scope_id();
15285
15353
  let refreshCatalog = repo_picker_default({
15286
- compact: true,
15287
15354
  pinned: true,
15288
15355
  open: addingRepo,
15289
15356
  exclude: inWorkspace,
15357
+ added: [...ws.repos.map((r) => ({
15358
+ name: r.full_name,
15359
+ baseBranch: r.base_branch === r.default_branch ? void 0 : r.base_branch
15360
+ })), ...[...busy].filter((n) => !inWorkspace.has(n)).map((name) => ({
15361
+ name,
15362
+ pending: true
15363
+ }))],
15290
15364
  onClose: _resume(function() {
15291
15365
  addingRepo = false;
15292
15366
  }, "p15", $scope0_id),
@@ -15308,10 +15382,10 @@ var manage_workspace_default = _template("p", (input) => {
15308
15382
  size: 14,
15309
15383
  class: catalogRefreshing && "_F"
15310
15384
  });
15311
- _html(`</button>${_el_resume($scope0_id, "aa")}</div><ul${_attr_class([list$2, "_f3"])}>`);
15385
+ _html(`</button>${_el_resume($scope0_id, "aa")}</div><ul${_attr_class([list$2, "_cS"])}>`);
15312
15386
  _for_of(ws.repos, (row) => {
15313
15387
  const $scope1_id = _scope_id();
15314
- _html(`<li${_attr_class("_f4")}><span${_attr_class(["_y", "_f6"])}>${_text_resume($scope1_id, "c", row.worktree)}/</span><span${_attr_class(["_f7", "_f2"])}><a${_attr_class("_K")}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_text_resume($scope1_id, "f", repoLabel$1(row.full_name))}</a>${_el_resume($scope1_id, "e")}`);
15388
+ _html(`<li${_attr_class("_cT")}><span${_attr_class(["_y", procCmd])}>${_text_resume($scope1_id, "c", row.worktree)}/</span><span${_attr_class("_cW")}><a${_attr_class("_K")}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_text_resume($scope1_id, "f", repoLabel$1(row.full_name))}</a>${_el_resume($scope1_id, "e")}`);
15315
15389
  _if(() => {
15316
15390
  if (row.base_branch !== row.default_branch) {
15317
15391
  const $scope28_id = _scope_id();
@@ -15322,7 +15396,7 @@ var manage_workspace_default = _template("p", (input) => {
15322
15396
  return 0;
15323
15397
  }
15324
15398
  }, $scope1_id, "g", 1, 1, 1, 0, 1);
15325
- _html(`</span><span${_attr_class("_f8")}>`);
15399
+ _html(`</span><span${_attr_class("_cX")}>`);
15326
15400
  _if(() => {
15327
15401
  if (busy.has(row.full_name)) {
15328
15402
  const $scope29_id = _scope_id();
@@ -15334,7 +15408,7 @@ var manage_workspace_default = _template("p", (input) => {
15334
15408
  const $childScope5 = _peek_scope_id();
15335
15409
  arm_button_default({
15336
15410
  class: [
15337
- "_cn",
15411
+ "_ch",
15338
15412
  "_7",
15339
15413
  "_8"
15340
15414
  ],
@@ -15365,16 +15439,16 @@ var manage_workspace_default = _template("p", (input) => {
15365
15439
  _for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
15366
15440
  const $scope31_id = _scope_id();
15367
15441
  _html(`<li${_attr_class([
15368
- "_f4",
15369
- "_f5",
15370
- "_ch"
15371
- ])}><span${_attr_class("_G")}></span><span${_attr_class("_cm")}>Adding ${_text_resume($scope31_id, "d", name, 2)}…</span></li>`);
15442
+ "_cT",
15443
+ "_cU",
15444
+ "_cb"
15445
+ ])}><span${_attr_class("_G")}></span><span${_attr_class("_cg")}>Adding ${_text_resume($scope31_id, "d", name, 2)}…</span></li>`);
15372
15446
  writeScope($scope31_id, {});
15373
15447
  }, (n) => n, $scope0_id, "ae", 1, 1, 1, 0, 1);
15374
15448
  _if(() => {
15375
15449
  if (!ws.repos.length && !busy.size) {
15376
15450
  const $scope32_id = _scope_id();
15377
- _html(`<li${_attr_class(["_f4", "_f5"])}><span${_attr_class("_cm")}>No repos yet. Add one to start.</span></li>`);
15451
+ _html(`<li${_attr_class(["_cT", "_cU"])}><span${_attr_class("_cg")}>No repos yet. Add one to start.</span></li>`);
15378
15452
  writeScope($scope32_id, {});
15379
15453
  return 0;
15380
15454
  }
@@ -15384,10 +15458,10 @@ var manage_workspace_default = _template("p", (input) => {
15384
15458
  _if(() => {
15385
15459
  if (running.length) {
15386
15460
  const $scope15_id = _scope_id();
15387
- _html(`<section${_attr_class("_cd")}><div${_attr_class("_ce")}><h2${_attr_class("_cr")}>Running</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope15_id, "e", running.length)}</span></div><ul${_attr_class(list$2)}>`);
15461
+ _html(`<section${_attr_class("_b8")}><div${_attr_class("_b9")}><h2${_attr_class("_cl")}>Running</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope15_id, "e", running.length)}</span></div><ul${_attr_class(list$2)}>`);
15388
15462
  _for_of(running, (p) => {
15389
15463
  const $scope16_id = _scope_id();
15390
- _html(`<li${_attr_class("_f4")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", "_f6"])}>${_text_resume($scope16_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_f7"])}>${_text_resume($scope16_id, "e", p.args)}</span><span${_attr_class("_f8")}>`);
15464
+ _html(`<li${_attr_class("_cT")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", procCmd])}>${_text_resume($scope16_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_cW"])}>${_text_resume($scope16_id, "e", p.args)}</span><span${_attr_class("_cX")}>`);
15391
15465
  _for_of(p.ports, (port) => {
15392
15466
  const $scope33_id = _scope_id();
15393
15467
  _html(`<button${_attr_class(["_u", "_K"])}${_attr("title", `Open port ${port}`)}>:${_text_resume($scope33_id, "b", port, 2)}</button>${_el_resume($scope33_id, "a")}`);
@@ -15395,9 +15469,9 @@ var manage_workspace_default = _template("p", (input) => {
15395
15469
  writeScope($scope33_id, { d: port });
15396
15470
  }, (x) => String(x), $scope16_id, "g", 1, 1, 1, 0, 1);
15397
15471
  _html(`<span${_attr_class(["_y", "_f9"])}>${_text_resume($scope16_id, "i", p.pid)}</span><button${_attr_class([
15398
- "_cn",
15472
+ "_ch",
15399
15473
  "_7",
15400
- "_gh"
15474
+ "_gg"
15401
15475
  ])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
15402
15476
  icon_xmark_default({ size: 14 });
15403
15477
  _html(`</button>${_el_resume($scope16_id, "j")}</span></li>${_el_resume($scope16_id, "a")}`);
@@ -15418,11 +15492,11 @@ var manage_workspace_default = _template("p", (input) => {
15418
15492
  s,
15419
15493
  linked: false
15420
15494
  }))].sort((a, b) => a.s.name.localeCompare(b.s.name));
15421
- _html(`</div><div${_attr_class("_d8")}>`);
15495
+ _html(`</div><div${_attr_class("_eh")}>`);
15422
15496
  _if(() => {
15423
15497
  if (allSkills.length) {
15424
15498
  const $scope2_id = _scope_id();
15425
- _html(`<section${_attr_class("_cd")}><div${_attr_class("_ce")}><h2${_attr_class("_cr")}>Skills</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope2_id, "e", wsSkills.length)}/${_text_resume($scope2_id, "f", allSkills.length, 2)}</span></div><ul${_attr_class([list$2, "_f3"])}>`);
15499
+ _html(`<section${_attr_class("_b8")}><div${_attr_class("_b9")}><h2${_attr_class("_cl")}>Skills</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope2_id, "e", wsSkills.length)}/${_text_resume($scope2_id, "f", allSkills.length, 2)}</span></div><ul${_attr_class([list$2, "_cS"])}>`);
15426
15500
  _for_of(allSkills, ({ s, linked }) => {
15427
15501
  const $scope3_id = _scope_id();
15428
15502
  const isBusy = skillBusy.has(s.id);
@@ -15439,7 +15513,7 @@ var manage_workspace_default = _template("p", (input) => {
15439
15513
  return 0;
15440
15514
  }
15441
15515
  }, $scope3_id, "e", 1, 1, 1, 0, 1);
15442
- _html(`</span><span${_attr_class(skillDesc)}${_attr_or("title", s.description, "")}>${_text_resume($scope3_id, "g", s.description || "")}</span>${_el_resume($scope3_id, "f")}<span${_attr_class(skillEnd)}>`);
15516
+ _html(`</span><span${_attr_class(skillDesc)}${_attr_or("title", s.description, "")}>${_text_resume($scope3_id, "g", s.description || "")}</span>${_el_resume($scope3_id, "f")}<span${_attr_class("_cX")}>`);
15443
15517
  _if(() => {
15444
15518
  if (s.broken) {
15445
15519
  const $scope35_id = _scope_id();
@@ -15487,10 +15561,10 @@ var manage_workspace_default = _template("p", (input) => {
15487
15561
  const $childScope6 = _peek_scope_id();
15488
15562
  arm_button_default({
15489
15563
  class: [
15490
- "_cn",
15564
+ "_ch",
15491
15565
  "_7",
15492
15566
  "_8",
15493
- "_gg"
15567
+ "_gf"
15494
15568
  ],
15495
15569
  disabled: isBusy,
15496
15570
  busy: isBusy,
@@ -15559,6 +15633,7 @@ var manage_workspace_default = _template("p", (input) => {
15559
15633
  ba: workspace?.path,
15560
15634
  bb: workspace?.branch,
15561
15635
  bd: workspace?.origin_branch,
15636
+ be: workspace?.repos,
15562
15637
  bf: workspace?.id,
15563
15638
  bg: workspace?.repos?.length,
15564
15639
  bk: copyFact,
@@ -15584,27 +15659,25 @@ var manage_workspace_default = _template("p", (input) => {
15584
15659
  c8: allSkills,
15585
15660
  c9: allSkills?.length,
15586
15661
  b9: input.workspaceChange || void 0,
15587
- cq: $copied__closures,
15588
- cr: $ws_branch__closures,
15589
- cs: $ws_origin_branch__closures,
15590
- cn: $pendingAction__closures,
15591
- ct: $ws_repos_length__closures,
15592
- cu: $ws_status__closures,
15662
+ cr: $copied__closures,
15663
+ cs: $ws_branch__closures,
15664
+ ct: $ws_origin_branch__closures,
15665
+ co: $pendingAction__closures,
15666
+ cu: $ws_repos_length__closures,
15667
+ cv: $ws_status__closures,
15593
15668
  d: _existing_scope($childScope2),
15594
- cm: $error__closures,
15669
+ cn: $error__closures,
15595
15670
  a8: _existing_scope($childScope3),
15596
15671
  ab: _existing_scope($childScope4),
15597
- cl: $skillBusy__closures,
15598
- cp: $skills__closures
15672
+ cm: $skillBusy__closures,
15673
+ cq: $skills__closures
15599
15674
  });
15600
15675
  _resume_branch($scope0_id);
15601
15676
  });
15602
- var curRow = "_fO _cG _cE";
15603
- var curEmpty = "_fQ _co";
15604
- var curBase = "_fT _X _W";
15605
- var archived = "_fY _cd";
15606
- var archivedHint = "_fZ _W";
15607
- var archivedRow = "_f0 _cG _cE";
15677
+ var curRow = "_fz _cT";
15678
+ var archived = "_fE _b8";
15679
+ var archivedHint = "_fF _W";
15680
+ var archivedRow = "_fG _cR _cP";
15608
15681
  //#endregion
15609
15682
  //#region src/tags/icons/icon-group.marko
15610
15683
  var icon_group_default = _template("hb", (input) => {
@@ -15624,8 +15697,8 @@ var icon_group_default = _template("hb", (input) => {
15624
15697
  });
15625
15698
  //#endregion
15626
15699
  //#region src/tags/join-dialog.css.ts
15627
- var dlg = "_hR _g1";
15628
- var hint = "_hS _W";
15700
+ var dlg = "_io _g0";
15701
+ var hint = "_ip _W";
15629
15702
  //#endregion
15630
15703
  //#region src/tags/join-dialog.marko
15631
15704
  var api$3;
@@ -15754,26 +15827,26 @@ var join_dialog_default = _template("m", (input) => {
15754
15827
  content: _content("m12", () => {
15755
15828
  _scope_reason();
15756
15829
  const $scope1_id = _scope_id();
15757
- _html(`<h2${_attr_class("_g2")}${_attr("id", titleId)}>Join a workspace</h2><p${_attr_class(hint)}>Paste an invite: the same repos, on your own lane of their branch.</p><textarea${_attr_class([
15830
+ _html(`<h2${_attr_class("_g1")}${_attr("id", titleId)}>Join a workspace</h2><p${_attr_class(hint)}>Paste an invite: the same repos, on your own lane of their branch.</p><textarea${_attr_class([
15758
15831
  "_Y",
15759
15832
  "_y",
15760
- "_hU"
15833
+ "_ir"
15761
15834
  ])} placeholder="{ &#34;name&#34;: …, &#34;branch&#34;: …, &#34;repos&#34;: [&#34;owner/name&#34;, …] }" aria-label="Workspace invite" rows=6 autocomplete=off spellcheck=false${_attr("disabled", busy)} autofocus>${_attr_textarea_value($scope1_id, "c", invite, setInvite)}</textarea>${_el_resume($scope1_id, "c")}`);
15762
15835
  _if(() => {
15763
15836
  if (parsed.error) {
15764
15837
  const $scope8_id = _scope_id();
15765
- _html(`<p${_attr_class([hint, "_hT"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
15838
+ _html(`<p${_attr_class([hint, "_iq"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
15766
15839
  _subscribe($parsed_error__closures, writeScope($scope8_id, { Cag: 1 }));
15767
15840
  return 0;
15768
15841
  } else if (parsed.ok) {
15769
15842
  const $scope3_id = _scope_id();
15770
- _html(`<ul${_attr_class("_hV")}>`);
15843
+ _html(`<ul${_attr_class("_is")}>`);
15771
15844
  _for_of(parsed.ok.repos, (fullName) => {
15772
15845
  const $scope9_id = _scope_id();
15773
- _html(`<li${_attr_class("_hW")}><span${_attr_class("_hX")}>${_text_resume($scope9_id, "c", repoLabel$1(fullName))}</span></li>`);
15846
+ _html(`<li${_attr_class("_it")}><span${_attr_class("_iu")}>${_text_resume($scope9_id, "c", repoLabel$1(fullName))}</span></li>`);
15774
15847
  writeScope($scope9_id, {});
15775
15848
  }, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
15776
- _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("_hY")}><span${_attr_class("_cr")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
15849
+ _html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_y")}>${_text_resume($scope3_id, "d", parsed.ok.branch)}</span> in each; PRs target theirs.</p><label${_attr_class("_iv")}><span${_attr_class("_cl")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
15777
15850
  name = _new_name;
15778
15851
  }, "m1", $scope3_id))}${_attr_class("_Y")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
15779
15852
  _script($scope3_id, "m8");
@@ -15810,10 +15883,10 @@ var join_dialog_default = _template("m", (input) => {
15810
15883
  _if(() => {
15811
15884
  if (busy && steps$2.length) {
15812
15885
  const $scope6_id = _scope_id();
15813
- _html(`<ul${_attr_class("_hZ")}>`);
15886
+ _html(`<ul${_attr_class("_iw")}>`);
15814
15887
  _for_of(steps$2, (step$2, i) => {
15815
15888
  const $scope7_id = _scope_id();
15816
- _html(`<li${_attr_class(["_h1", { ["_h0"]: i === steps$2.length - 1 }])}>`);
15889
+ _html(`<li${_attr_class(["_iy", { ["_ix"]: i === steps$2.length - 1 }])}>`);
15817
15890
  _if(() => {
15818
15891
  if (i === steps$2.length - 1) {
15819
15892
  const $scope10_id = _scope_id();
@@ -15822,7 +15895,7 @@ var join_dialog_default = _template("m", (input) => {
15822
15895
  return 0;
15823
15896
  } else {
15824
15897
  const $scope11_id = _scope_id();
15825
- _html(`<span${_attr_class("_h2")}>`);
15898
+ _html(`<span${_attr_class("_iz")}>`);
15826
15899
  icon_check_default({ size: 14 });
15827
15900
  _html("</span>");
15828
15901
  writeScope($scope11_id, {});
@@ -15888,11 +15961,11 @@ var new_workspace_default = _template("s", (input) => {
15888
15961
  const $scope0_id = _scope_id();
15889
15962
  const $busy__closures = /* @__PURE__ */ new Set();
15890
15963
  const $error__closures = /* @__PURE__ */ new Set();
15891
- const $catalogRefreshing__closures = /* @__PURE__ */ new Set();
15892
15964
  const $steps_length__closures = /* @__PURE__ */ new Set();
15893
15965
  const $restoring__closures = /* @__PURE__ */ new Set();
15894
15966
  let name = "";
15895
15967
  let catalogRefreshing = false;
15968
+ let addingRepo = false;
15896
15969
  let joinOpen = false;
15897
15970
  let selected = [];
15898
15971
  let busy = false;
@@ -15980,7 +16053,7 @@ var new_workspace_default = _template("s", (input) => {
15980
16053
  }
15981
16054
  }, "s6", $scope0_id);
15982
16055
  const titleId = _id();
15983
- _html(`<div${_attr_class("_d5")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_d6")}><div${_attr_class("_d7")}>`);
16056
+ _html(`<div${_attr_class("_ee")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_ef")}><div${_attr_class("_eg")}>`);
15984
16057
  _set_serialize_reason({
15985
16058
  0: _serialize_guard($scope0_reason, 2),
15986
16059
  1: $sg__input_backHref__OR__input_onExit,
@@ -15993,216 +16066,221 @@ var new_workspace_default = _template("s", (input) => {
15993
16066
  titleId,
15994
16067
  backHref: input.backHref,
15995
16068
  onBack: input.onExit && _resume(() => input.onExit?.(), "s7", $scope0_id),
15996
- actions: attrTag({ content: _content("s15", () => {
16069
+ actions: attrTag({ content: _content("s16", () => {
15997
16070
  _scope_reason();
15998
- const $scope3_id = _scope_id();
16071
+ const $scope2_id = _scope_id();
15999
16072
  _html(`<button type=button${_attr_class(iconBtnRow)} aria-label="Join a workspace" title="Join a workspace from an invite"${_attr("disabled", busy)}>`);
16000
16073
  icon_group_default({ size: 14 });
16001
- _html(`</button>${_el_resume($scope3_id, "a")}`);
16002
- _script($scope3_id, "s14");
16003
- _subscribe($busy__closures, writeScope($scope3_id, { _: _scope_with_id($scope0_id) }));
16004
- _resume_branch($scope3_id);
16074
+ _html(`</button>${_el_resume($scope2_id, "a")}`);
16075
+ _script($scope2_id, "s15");
16076
+ _subscribe($busy__closures, writeScope($scope2_id, { _: _scope_with_id($scope0_id) }));
16077
+ _resume_branch($scope2_id);
16005
16078
  }, $scope0_id) })
16006
16079
  });
16007
- _html(`<div${_attr_class("_d8")}>`);
16080
+ _html(`<div${_attr_class("_eh")}>`);
16008
16081
  _if(() => {
16009
16082
  if (error) {
16010
- const $scope8_id = _scope_id();
16083
+ const $scope7_id = _scope_id();
16011
16084
  toast_default({
16012
16085
  placement: "inline",
16013
16086
  onDismiss: _resume(function() {
16014
16087
  error = null;
16015
- }, "s8", $scope8_id),
16016
- content: _content("s16", () => {
16088
+ }, "s8", $scope7_id),
16089
+ content: _content("s17", () => {
16017
16090
  _scope_reason();
16018
- const $scope9_id = _scope_id();
16019
- _html(_text_resume($scope9_id, "a", error));
16020
- _subscribe($error__closures, writeScope($scope9_id, { _: _scope_with_id($scope8_id) }));
16021
- _resume_branch($scope9_id);
16022
- }, $scope8_id)
16091
+ const $scope8_id = _scope_id();
16092
+ _html(_text_resume($scope8_id, "a", error));
16093
+ _subscribe($error__closures, writeScope($scope8_id, { _: _scope_with_id($scope7_id) }));
16094
+ _resume_branch($scope8_id);
16095
+ }, $scope7_id)
16023
16096
  });
16024
- writeScope($scope8_id, {});
16097
+ writeScope($scope7_id, {});
16025
16098
  return 0;
16026
16099
  }
16027
16100
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
16028
- _html(`<label${_attr_class("_fK")}><span${_attr_class("_cr")}>Name</span><input${_attr_input_value($scope0_id, "i", name, _resume((_new_name) => {
16101
+ _html(`<label${_attr_class("_fu")}><span${_attr_class("_cl")}>Name</span><input${_attr_input_value($scope0_id, "i", name, _resume((_new_name) => {
16029
16102
  name = _new_name;
16030
- }, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "i")}</label><section${_attr_class("_cd")}><div${_attr_class("_fM")}><h2${_attr_class("_cr")}>Repos</h2></div><ul${_attr_class(list$2)}>`);
16103
+ }, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "i")}</label><section${_attr_class("_b8")}><div${_attr_class("_fx")}><h2${_attr_class("_cl")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "n", selected.length)}</span><div${_attr_class("_z")}></div><button type=button${_attr_class([iconBtnRow, "_fw"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}${_attr("disabled", busy)}>`);
16104
+ icon_plus_default({ size: 16 });
16105
+ _html(`</button>${_el_resume($scope0_id, "p")}`);
16106
+ _set_serialize_reason(34);
16107
+ const $childScope2 = _peek_scope_id();
16108
+ let refreshCatalog = repo_picker_default({
16109
+ pinned: true,
16110
+ open: addingRepo,
16111
+ exclude: new Set(selected.map((r) => r.fullName)),
16112
+ added: selected.map((r) => ({
16113
+ name: r.fullName,
16114
+ baseBranch: r.baseBranch
16115
+ })),
16116
+ disabled: busy,
16117
+ onClose: _resume(function() {
16118
+ addingRepo = false;
16119
+ }, "s9", $scope0_id),
16120
+ onPick: _resume(function(fullName, baseBranch, fork) {
16121
+ addRepo(fullName, baseBranch, fork);
16122
+ }, "s10", $scope0_id),
16123
+ onError: _resume(function(message) {
16124
+ error = message;
16125
+ }, "s11", $scope0_id),
16126
+ refreshingChange: function(v) {
16127
+ catalogRefreshing = v;
16128
+ }
16129
+ });
16130
+ _var($scope0_id, "s", $childScope2, "s18");
16131
+ _html(`<button type=button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
16132
+ _set_serialize_reason(1);
16133
+ const $childScope3 = _peek_scope_id();
16134
+ icon_refresh_default({
16135
+ size: 14,
16136
+ class: catalogRefreshing && "_F"
16137
+ });
16138
+ _html(`</button>${_el_resume($scope0_id, "t")}</div><ul${_attr_class(list$2)}>`);
16031
16139
  _for_of(selected, (repo) => {
16032
- const $scope4_id = _scope_id();
16033
- _html(`<li${_attr_class("_fN")}><div${_attr_class(curRow)}><span${_attr_class("_fR")}>${_text_resume($scope4_id, "d", repoLabel$1(repo.fullName))}</span>`);
16140
+ const $scope3_id = _scope_id();
16141
+ _html(`<li${_attr_class("_fy")}><div${_attr_class(curRow)}><span${_attr_class("_cV")}>${_text_resume($scope3_id, "d", repoLabel$1(repo.fullName))}</span><span${_attr_class("_cX")}>`);
16034
16142
  _if(() => {
16035
16143
  if (repo.fork !== void 0) {
16036
- const $scope5_id = _scope_id();
16037
- _html(`<button${_attr_class(["_fU", { ["_fS"]: repo.fork }])}${repo.fork ? _attr("title", `${repo.fullName} will be forked to your account; click to clone as-is instead`) : _attr("title", `Fork ${repo.fullName} to your account and clone the fork`)} aria-pressed=${repo.fork ? "true" : "false"}${_attr("disabled", busy)}>`);
16144
+ const $scope4_id = _scope_id();
16145
+ _html(`<button${_attr_class([
16146
+ chip$1,
16147
+ "_c1",
16148
+ { ["_cZ"]: repo.fork }
16149
+ ])}${repo.fork ? _attr("title", `${repo.fullName} will be forked to your account; click to clone as-is instead`) : _attr("title", `Fork ${repo.fullName} to your account and clone the fork`)} aria-pressed=${repo.fork ? "true" : "false"}${_attr("disabled", busy)}>`);
16038
16150
  _if(() => {
16039
16151
  if (repo.fork) {
16040
- const $scope13_id = _scope_id();
16152
+ const $scope12_id = _scope_id();
16041
16153
  icon_check_default({ size: 12 });
16042
16154
  _html(" fork");
16043
- writeScope($scope13_id, {});
16155
+ writeScope($scope12_id, {});
16044
16156
  return 0;
16045
16157
  } else {
16046
- const $scope14_id = _scope_id();
16158
+ const $scope13_id = _scope_id();
16047
16159
  _html("fork");
16048
- writeScope($scope14_id, {});
16160
+ writeScope($scope13_id, {});
16049
16161
  return 1;
16050
16162
  }
16051
- }, $scope5_id, "a", 1, 1, 1, "</button>");
16052
- _script($scope5_id, "s17");
16053
- _subscribe($busy__closures, writeScope($scope5_id, { Caz: 1 }));
16163
+ }, $scope4_id, "a", 1, 1, 1, "</button>");
16164
+ _script($scope4_id, "s19");
16165
+ _subscribe($busy__closures, writeScope($scope4_id, { Cb6: 1 }));
16054
16166
  return 0;
16055
16167
  }
16056
- }, $scope4_id, "e", 1, 1, 1, 0, 1);
16168
+ }, $scope3_id, "f", 1, 1, 1, 0, 1);
16057
16169
  _html(`<button${_attr_class([
16058
- curBase,
16170
+ chip$1,
16059
16171
  "_y",
16060
- { ["_fS"]: branchesFor === repo.fullName }
16172
+ { ["_cZ"]: branchesFor === repo.fullName }
16061
16173
  ])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}>`);
16062
16174
  icon_branch_default({ size: 12 });
16063
- _html(`${_text_resume($scope4_id, "h", repo.baseBranch ? `${_to_text(" ")}${_to_text(repo.baseBranch)}` : "")}</button>${_el_resume($scope4_id, "f")}<button${_attr_class([iconBtnXs, "_7"])}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>`);
16175
+ _html(`${_text_resume($scope3_id, "i", repo.baseBranch ? `${_to_text(" ")}${_to_text(repo.baseBranch)}` : "")}</button>${_el_resume($scope3_id, "g")}<button${_attr_class([iconBtnXs, "_7"])}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>`);
16064
16176
  icon_xmark_default({ size: 12 });
16065
- _html(`</button>${_el_resume($scope4_id, "i")}</div>`);
16177
+ _html(`</button>${_el_resume($scope3_id, "j")}</span></div>`);
16066
16178
  _if(() => {
16067
16179
  if (branchesFor === repo.fullName) {
16068
- const $scope10_id = _scope_id();
16069
- _html(`<div${_attr_class("_fP")}>`);
16070
- const $childScope2 = _peek_scope_id();
16180
+ const $scope9_id = _scope_id();
16181
+ _html(`<div${_attr_class("_fA")}>`);
16182
+ const $childScope4 = _peek_scope_id();
16071
16183
  branch_pick_default({
16072
16184
  repo: repo.fullName,
16073
16185
  current: repo.baseBranch,
16074
16186
  onPick: _resume(function(branch, isDefault) {
16075
16187
  setBranch(repo.fullName, isDefault ? void 0 : branch);
16076
- }, "s9", $scope10_id),
16188
+ }, "s12", $scope9_id),
16077
16189
  onError: _resume(function(message) {
16078
16190
  branchesFor = null;
16079
16191
  error = message;
16080
- }, "s10", $scope10_id)
16192
+ }, "s13", $scope9_id)
16081
16193
  });
16082
16194
  _html("</div>");
16083
- writeScope($scope10_id, { b: _existing_scope($childScope2) });
16195
+ writeScope($scope9_id, { b: _existing_scope($childScope4) });
16084
16196
  return 0;
16085
16197
  }
16086
- }, $scope4_id, "k", 1, 1, 1, 0, 1);
16198
+ }, $scope3_id, "l", 1, 1, 1, 0, 1);
16087
16199
  _html("</li>");
16088
- _script($scope4_id, "s18");
16089
- writeScope($scope4_id, {
16090
- n: repo?.fullName,
16091
- p: repo?.fork,
16092
- q: repo?.baseBranch
16200
+ _script($scope3_id, "s20");
16201
+ writeScope($scope3_id, {
16202
+ o: repo?.fullName,
16203
+ q: repo?.fork,
16204
+ r: repo?.baseBranch
16093
16205
  });
16094
- }, "fullName", $scope0_id, "n", 1, 1, 1, 0, 1);
16206
+ }, "fullName", $scope0_id, "w", 1, 1, 1, 0, 1);
16095
16207
  _if(() => {
16096
16208
  if (!selected.length) {
16097
- const $scope15_id = _scope_id();
16098
- _html(`<li${_attr_class(curEmpty)}>No repos yet. Search below to add one, or create it empty.</li>`);
16099
- writeScope($scope15_id, {});
16209
+ const $scope14_id = _scope_id();
16210
+ _html(`<li${_attr_class(["_cT", "_cY"])}>No repos yet. Add one above, or create it empty.</li>`);
16211
+ writeScope($scope14_id, {});
16100
16212
  return 0;
16101
16213
  }
16102
- }, $scope0_id, "o", 1, 1, 1, 0, 1);
16103
- _html("</ul>");
16104
- const $childScope4 = _peek_scope_id();
16105
- let refreshCatalog = repo_picker_default({
16106
- exclude: new Set(selected.map((r) => r.fullName)),
16107
- disabled: busy,
16108
- onPick: _resume(function(fullName, baseBranch, fork) {
16109
- addRepo(fullName, baseBranch, fork);
16110
- }, "s11", $scope0_id),
16111
- onError: _resume(function(message) {
16112
- error = message;
16113
- }, "s12", $scope0_id),
16114
- refreshingChange: function(v) {
16115
- catalogRefreshing = v;
16116
- },
16117
- action: attrTag({ content: _content("s20", () => {
16118
- _scope_reason();
16119
- const $scope2_id = _scope_id();
16120
- _html(`<button${_attr_class([iconBtnRow, "_fL"])} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
16121
- _set_serialize_reason(1);
16122
- const $childScope3 = _peek_scope_id();
16123
- icon_refresh_default({
16124
- size: 14,
16125
- class: catalogRefreshing && "_F"
16126
- });
16127
- _html(`</button>${_el_resume($scope2_id, "a")}`);
16128
- _script($scope2_id, "s19");
16129
- _subscribe($catalogRefreshing__closures, writeScope($scope2_id, {
16130
- _: _scope_with_id($scope0_id),
16131
- b: _existing_scope($childScope3)
16132
- }));
16133
- _resume_branch($scope2_id);
16134
- }, $scope0_id) })
16135
- });
16136
- _var($scope0_id, "q", $childScope4, "s21");
16137
- _html("</section>");
16214
+ }, $scope0_id, "x", 1, 1, 1, 0, 1);
16215
+ _html("</ul></section>");
16138
16216
  _if(() => {
16139
16217
  if (busy && steps.length) {
16140
- const $scope11_id = _scope_id();
16141
- _html(`<ul${_attr_class("_fV")}>`);
16218
+ const $scope10_id = _scope_id();
16219
+ _html(`<ul${_attr_class("_fB")}>`);
16142
16220
  _for_of(steps, (step, i) => {
16143
- const $scope12_id = _scope_id();
16144
- _html(`<li${_attr_class(["_f1", { ["_fW"]: i === steps.length - 1 }])}>`);
16221
+ const $scope11_id = _scope_id();
16222
+ _html(`<li${_attr_class(["_fH", { ["_fC"]: i === steps.length - 1 }])}>`);
16145
16223
  _if(() => {
16146
16224
  if (i === steps.length - 1) {
16147
- const $scope16_id = _scope_id();
16225
+ const $scope15_id = _scope_id();
16148
16226
  _html(`<span${_attr_class("_G")}></span>`);
16149
- writeScope($scope16_id, {});
16227
+ writeScope($scope15_id, {});
16150
16228
  return 0;
16151
16229
  } else {
16152
- const $scope17_id = _scope_id();
16153
- _html(`<span${_attr_class("_fX")}>`);
16230
+ const $scope16_id = _scope_id();
16231
+ _html(`<span${_attr_class("_fD")}>`);
16154
16232
  icon_check_default({ size: 14 });
16155
16233
  _html("</span>");
16156
- writeScope($scope17_id, {});
16234
+ writeScope($scope16_id, {});
16157
16235
  return 1;
16158
16236
  }
16159
- }, $scope12_id, "b", 1, 1, 1, 0, 1);
16160
- _html(`${_text_resume($scope12_id, "c", step, 2)}</li>${_el_resume($scope12_id, "a")}`);
16161
- _subscribe($steps_length__closures, writeScope($scope12_id, {}));
16162
- }, 0, $scope11_id, "a", 1, 1, 1, "</ul>", 1);
16163
- writeScope($scope11_id, {});
16237
+ }, $scope11_id, "b", 1, 1, 1, 0, 1);
16238
+ _html(`${_text_resume($scope11_id, "c", step, 2)}</li>${_el_resume($scope11_id, "a")}`);
16239
+ _subscribe($steps_length__closures, writeScope($scope11_id, {}));
16240
+ }, 0, $scope10_id, "a", 1, 1, 1, "</ul>", 1);
16241
+ writeScope($scope10_id, {});
16164
16242
  return 0;
16165
16243
  }
16166
- }, $scope0_id, "r", 1, 1, 1, 0, 1);
16167
- _html(`<div${_attr_class("_fI")}><button type=button${_attr_class([
16244
+ }, $scope0_id, "y", 1, 1, 1, 0, 1);
16245
+ _html(`<div${_attr_class("_fs")}><button type=button${_attr_class([
16168
16246
  btnLg,
16169
16247
  "_r",
16170
- "_fJ"
16171
- ])}${_attr("disabled", busy || !!restoring || !name.trim())}>${_text_resume($scope0_id, "u", busy ? "Creating…" : "Create workspace")}</button>${_el_resume($scope0_id, "t")}</div></div><div${_attr_class("_d8")}>`);
16248
+ "_ft"
16249
+ ])}${_attr("disabled", busy || !!restoring || !name.trim())}>${_text_resume($scope0_id, "a1", busy ? "Creating…" : "Create workspace")}</button>${_el_resume($scope0_id, "a0")}</div></div><div${_attr_class("_eh")}>`);
16172
16250
  _if(() => {
16173
16251
  if (archived$1.length) {
16174
- const $scope6_id = _scope_id();
16175
- _html(`<section${_attr_class(archived)}><div${_attr_class("_fM")}><h2${_attr_class("_cr")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope6_id, "e", archived$1.length, $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore an archived workspace instead of creating a new one.</p><ul${_attr_class(list$2)}>`);
16252
+ const $scope5_id = _scope_id();
16253
+ _html(`<section${_attr_class(archived)}><div${_attr_class("_fx")}><h2${_attr_class("_cl")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope5_id, "e", archived$1.length, $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore an archived workspace instead of creating a new one.</p><ul${_attr_class(list$2)}>`);
16176
16254
  _for_of(archived$1, (ws) => {
16177
- const $scope7_id = _scope_id();
16178
- _html(`<li${_attr_class(archivedRow)}><div${_attr_class("_cj")}><span${_attr_class("_ck")}>${_text_resume($scope7_id, "d", ws.name, $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_y"])}${_attr("title", ws.display_path || ws.path)}>${_text_resume($scope7_id, "f", ws.display_path || ws.path, $sg__input_workspaces)}</span>${_el_resume($scope7_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnSm)}${_attr("disabled", busy || !!restoring)}>`);
16255
+ const $scope6_id = _scope_id();
16256
+ _html(`<li${_attr_class(archivedRow)}><div${_attr_class("_cd")}><span${_attr_class("_ce")}>${_text_resume($scope6_id, "d", ws.name, $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_y"])}${_attr("title", ws.display_path || ws.path)}>${_text_resume($scope6_id, "f", ws.display_path || ws.path, $sg__input_workspaces)}</span>${_el_resume($scope6_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnSm)}${_attr("disabled", busy || !!restoring)}>`);
16179
16257
  _if(() => {
16180
16258
  if (restoring === ws.id) {
16181
- const $scope18_id = _scope_id();
16259
+ const $scope17_id = _scope_id();
16182
16260
  _html(`<span${_attr_class("_G")}></span> Restoring…`);
16183
- writeScope($scope18_id, {});
16261
+ writeScope($scope17_id, {});
16184
16262
  return 0;
16185
16263
  } else {
16186
- const $scope19_id = _scope_id();
16264
+ const $scope18_id = _scope_id();
16187
16265
  _html("Restore");
16188
- writeScope($scope19_id, {});
16266
+ writeScope($scope18_id, {});
16189
16267
  return 1;
16190
16268
  }
16191
- }, $scope7_id, "g", 1, 1, 1, "</button>");
16269
+ }, $scope6_id, "g", 1, 1, 1, "</button>");
16192
16270
  _html("</li>");
16193
- _script($scope7_id, "s22");
16194
- _subscribe($restoring__closures, _subscribe($busy__closures, writeScope($scope7_id, {
16271
+ _script($scope6_id, "s21");
16272
+ _subscribe($restoring__closures, _subscribe($busy__closures, writeScope($scope6_id, {
16195
16273
  j: ws,
16196
16274
  o: ws?.id,
16197
- _: _scope_with_id($scope6_id),
16198
- Caz: 2
16275
+ _: _scope_with_id($scope5_id),
16276
+ Cb6: 2
16199
16277
  })));
16200
- }, "id", $scope6_id, "g", $sg__input_workspaces, $sg__input_workspaces, $sg__input_workspaces, "</ul>", 1);
16278
+ }, "id", $scope5_id, "g", $sg__input_workspaces, $sg__input_workspaces, $sg__input_workspaces, "</ul>", 1);
16201
16279
  _html("</section>");
16202
- writeScope($scope6_id, { _: _scope_with_id($scope0_id) });
16280
+ writeScope($scope5_id, { _: _scope_with_id($scope0_id) });
16203
16281
  return 0;
16204
16282
  }
16205
- }, $scope0_id, "v", $sg__input_workspaces, $sg__input_workspaces, 1, "</div>", 1);
16283
+ }, $scope0_id, "a2", $sg__input_workspaces, $sg__input_workspaces, 1, "</div>", 1);
16206
16284
  _html("</div></div>");
16207
16285
  _if(() => {
16208
16286
  if (joinOpen) {
@@ -16213,45 +16291,45 @@ var new_workspace_default = _template("s", (input) => {
16213
16291
  open: joinOpen,
16214
16292
  openChange: _resume((_new_joinOpen) => {
16215
16293
  joinOpen = _new_joinOpen;
16216
- }, "s13", $scope1_id),
16294
+ }, "s14", $scope1_id),
16217
16295
  onJoin: input.onCreate
16218
16296
  });
16219
16297
  writeScope($scope1_id, { a: _existing_scope($childScope5) });
16220
16298
  return 0;
16221
16299
  }
16222
- }, $scope0_id, "w", 1, 1, 1, 0, 1);
16300
+ }, $scope0_id, "a3", 1, 1, 1, 0, 1);
16223
16301
  _html("</div>");
16224
- _script($scope0_id, "s23");
16302
+ _script($scope0_id, "s22");
16225
16303
  writeScope($scope0_id, {
16226
- a0: input.onRestore,
16227
- a1: input.onCreate,
16228
- a3: input.onExit,
16229
- a4: name,
16230
- a6: joinOpen,
16231
- a7: selected,
16232
- a9: busy,
16233
- aa: restoring,
16234
- ad: error,
16235
- ae: steps,
16236
- af: steps?.length,
16237
- ah: $si__input_workspaces && archived$1,
16238
- ai: $si__input_workspaces && archived$1?.length,
16239
- aj: addRepo,
16240
- ak: branchesFor,
16241
- am: removeRepo,
16242
- an: toggleFork,
16243
- ao: setBranch,
16244
- ap: restore,
16245
- ar: createGen.n,
16246
- at: create,
16247
- av: refreshCatalog,
16248
- az: $busy__closures,
16304
+ a7: input.onRestore,
16305
+ a8: input.onCreate,
16306
+ aa: input.onExit,
16307
+ ab: name,
16308
+ ae: joinOpen,
16309
+ af: selected,
16310
+ ah: busy,
16311
+ ai: restoring,
16312
+ al: error,
16313
+ am: steps,
16314
+ an: steps?.length,
16315
+ ap: $si__input_workspaces && archived$1,
16316
+ aq: $si__input_workspaces && archived$1?.length,
16317
+ ar: addRepo,
16318
+ as: branchesFor,
16319
+ au: removeRepo,
16320
+ av: toggleFork,
16321
+ aw: setBranch,
16322
+ ax: restore,
16323
+ az: createGen.n,
16324
+ b1: create,
16325
+ b3: refreshCatalog,
16326
+ b6: $busy__closures,
16249
16327
  d: _serialize_if($scope0_reason, 0) && _existing_scope($childScope),
16250
- b1: $error__closures,
16251
- ax: $catalogRefreshing__closures,
16252
- p: _existing_scope($childScope4),
16253
- b3: $steps_length__closures,
16254
- b0: $restoring__closures
16328
+ b8: $error__closures,
16329
+ r: _existing_scope($childScope2),
16330
+ u: _existing_scope($childScope3),
16331
+ ba: $steps_length__closures,
16332
+ b7: $restoring__closures
16255
16333
  });
16256
16334
  _resume_branch($scope0_id);
16257
16335
  });
@@ -16292,19 +16370,19 @@ var term_find_default = _template("G", (input) => {
16292
16370
  const canStep = hasQuery && open;
16293
16371
  const keybar = input.placement === "keybar";
16294
16372
  _html(`<div${_attr_class([
16295
- "_ek",
16296
- keybar ? "_em" : "_el",
16297
- !open && "_eo"
16298
- ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_ee", keybar ? "_en" : "_eh"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
16373
+ "_eu",
16374
+ keybar ? "_ew" : "_ev",
16375
+ !open && "_ey"
16376
+ ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_eo", keybar ? "_ex" : "_er"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
16299
16377
  if (!open) return;
16300
16378
  query = v;
16301
16379
  live.query = v;
16302
16380
  run(0);
16303
- }, "G1", $scope0_id))}${_attr_class([findInput, keybar && "_ep"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in terminal" aria-label="Find in terminal">${_el_resume($scope0_id, "c")}<button type=button${_attr_class([findIconBtn, keybar && "_eq"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16381
+ }, "G1", $scope0_id))}${_attr_class([findInput, keybar && "_ez"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in terminal" aria-label="Find in terminal">${_el_resume($scope0_id, "c")}<button type=button${_attr_class([findIconBtn, keybar && "_eA"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16304
16382
  icon_arrow_up_default({ size: 14 });
16305
- _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_eq"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16383
+ _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_eA"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16306
16384
  icon_arrow_down_default({ size: 14 });
16307
- _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_eq"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
16385
+ _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_eA"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
16308
16386
  icon_xmark_default({ size: 14 });
16309
16387
  _html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
16310
16388
  const $return = focusInput;
@@ -16455,7 +16533,7 @@ var term_default = _template("H", (input) => {
16455
16533
  }
16456
16534
  }, "H9", $scope0_id);
16457
16535
  input.keys;
16458
- _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_eQ")}><div${_attr_class("_eR")}></div>${_el_resume($scope0_id, "b")}`);
16536
+ _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_e0")}><div${_attr_class("_e1")}></div>${_el_resume($scope0_id, "b")}`);
16459
16537
  _if(() => {
16460
16538
  if (findOpen) {
16461
16539
  const $scope4_id = _scope_id();
@@ -16482,7 +16560,7 @@ var term_default = _template("H", (input) => {
16482
16560
  _if(() => {
16483
16561
  if (uploading) {
16484
16562
  const $scope5_id = _scope_id();
16485
- _html(`<div${_attr_class("_eX")}>uploading…</div>`);
16563
+ _html(`<div${_attr_class("_e7")}>uploading…</div>`);
16486
16564
  writeScope($scope5_id, {});
16487
16565
  return 0;
16488
16566
  }
@@ -16490,7 +16568,7 @@ var term_default = _template("H", (input) => {
16490
16568
  _if(() => {
16491
16569
  if (copiedFlash) {
16492
16570
  const $scope6_id = _scope_id();
16493
- _html(`<div${_attr_class("_eW")}>Copied</div>`);
16571
+ _html(`<div${_attr_class("_e6")}>Copied</div>`);
16494
16572
  writeScope($scope6_id, {});
16495
16573
  return 0;
16496
16574
  }
@@ -16499,7 +16577,7 @@ var term_default = _template("H", (input) => {
16499
16577
  _if(() => {
16500
16578
  if (trapOpen) {
16501
16579
  const $scope3_id = _scope_id();
16502
- _html(`<div${_attr_class("_eY")}><div${_attr_class("_eZ")}><p${_attr_class("_e0")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope3_id, "d")}<button${_attr_class("_q")}>Cancel</button>${_el_resume($scope3_id, "e")}</div>${_el_resume($scope3_id, "b")}</div>${_el_resume($scope3_id, "a")}`);
16580
+ _html(`<div${_attr_class("_e8")}><div${_attr_class("_e9")}><p${_attr_class("_e_")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope3_id, "d")}<button${_attr_class("_q")}>Cancel</button>${_el_resume($scope3_id, "e")}</div>${_el_resume($scope3_id, "b")}</div>${_el_resume($scope3_id, "a")}`);
16503
16581
  _script($scope3_id, "H16");
16504
16582
  _script($scope3_id, "H17");
16505
16583
  writeScope($scope3_id, {});
@@ -16761,7 +16839,7 @@ var work_view_default = _template("M", (input) => {
16761
16839
  toggleDiff();
16762
16840
  }
16763
16841
  }, "M14", $scope0_id);
16764
- _html(`<div${_attr_class(["_b8", { ["_b7"]: !input.active }])}><div${_attr_class("_b9")}>`);
16842
+ _html(`<div${_attr_class(["_cn", { ["_cm"]: !input.active }])}><div${_attr_class("_co")}>`);
16765
16843
  _if(() => {
16766
16844
  if (error) {
16767
16845
  const $scope8_id = _scope_id();
@@ -16784,7 +16862,7 @@ var work_view_default = _template("M", (input) => {
16784
16862
  _if(() => {
16785
16863
  if (diffMounted && ws) {
16786
16864
  const $scope1_id = _scope_id();
16787
- _html(`<div${_attr_class("_b_")}${_attr_or("data-live", view === "diff", "")}${_attr("inert", view !== "diff")}>`);
16865
+ _html(`<div${_attr_class("_cp")}${_attr_or("data-live", view === "diff", "")}${_attr("inert", view !== "diff")}>`);
16788
16866
  _set_serialize_reason({
16789
16867
  0: $sg__input_workspace,
16790
16868
  1: $sg__input_workspace,
@@ -16846,7 +16924,7 @@ var work_view_default = _template("M", (input) => {
16846
16924
  _if(() => {
16847
16925
  if (manageMounted && ws) {
16848
16926
  const $scope2_id = _scope_id();
16849
- _html(`<div${_attr_class("_b_")}${_attr_or("data-live", view === "manage", "")}${_attr("inert", view !== "manage")}>`);
16927
+ _html(`<div${_attr_class("_cp")}${_attr_or("data-live", view === "manage", "")}${_attr("inert", view !== "manage")}>`);
16850
16928
  _set_serialize_reason({
16851
16929
  0: $sg__input_workspace,
16852
16930
  1: _serialize_guard($scope0_reason, 9)
@@ -16872,7 +16950,7 @@ var work_view_default = _template("M", (input) => {
16872
16950
  _if(() => {
16873
16951
  if (settingsMounted) {
16874
16952
  const $scope3_id = _scope_id();
16875
- _html(`<div${_attr_class("_b_")}${_attr_or("data-live", view === "settings", "")}${_attr("inert", view !== "settings")}>`);
16953
+ _html(`<div${_attr_class("_cp")}${_attr_or("data-live", view === "settings", "")}${_attr("inert", view !== "settings")}>`);
16876
16954
  _set_serialize_reason({
16877
16955
  0: _serialize_guard($scope0_reason, 0),
16878
16956
  1: $sg__input_workspace,
@@ -16914,7 +16992,7 @@ var work_view_default = _template("M", (input) => {
16914
16992
  _if(() => {
16915
16993
  if (newMounted) {
16916
16994
  const $scope4_id = _scope_id();
16917
- _html(`<div${_attr_class("_b_")}${_attr_or("data-live", view === "new", "")}${_attr("inert", view !== "new")}>`);
16995
+ _html(`<div${_attr_class("_cp")}${_attr_or("data-live", view === "new", "")}${_attr("inert", view !== "new")}>`);
16918
16996
  _set_serialize_reason({
16919
16997
  0: 1,
16920
16998
  1: _serialize_guard($scope0_reason, 13),
@@ -16939,13 +17017,13 @@ var work_view_default = _template("M", (input) => {
16939
17017
  return 0;
16940
17018
  }
16941
17019
  }, $scope0_id, "g", 1, 1, 1, 0, 1);
16942
- _html(`<div${_attr_class("_ca")}${_attr("inert", view !== "term")}>`);
17020
+ _html(`<div${_attr_class("_cq")}${_attr("inert", view !== "term")}>`);
16943
17021
  _if(() => {
16944
17022
  if (ws && shownSessions) {
16945
17023
  const $scope5_id = _scope_id();
16946
17024
  _for_of(input.active ? shownSessions : shownSessions.filter((x) => x.id === curTab), (s) => {
16947
17025
  const $scope6_id = _scope_id();
16948
- _html(`<div${_attr_class("_cb")}${_attr_or("data-live", s.id === curTab, "")}${_attr("inert", s.id !== curTab)}>`);
17026
+ _html(`<div${_attr_class("_cr")}${_attr_or("data-live", s.id === curTab, "")}${_attr("inert", s.id !== curTab)}>`);
16949
17027
  _set_serialize_reason(2);
16950
17028
  const $childScope5 = _peek_scope_id();
16951
17029
  term_default({
@@ -16971,7 +17049,7 @@ var work_view_default = _template("M", (input) => {
16971
17049
  _if(() => {
16972
17050
  if (!shownSessions.length && view === "term") {
16973
17051
  const $scope7_id = _scope_id();
16974
- _html(`<div${_attr_class("_cp")}><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>`);
17052
+ _html(`<div${_attr_class("_cj")}><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>`);
16975
17053
  _script($scope7_id, "M39");
16976
17054
  _subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
16977
17055
  return 0;
@@ -16981,7 +17059,7 @@ var work_view_default = _template("M", (input) => {
16981
17059
  return 0;
16982
17060
  } else if (ws) {
16983
17061
  const $scope10_id = _scope_id();
16984
- _html(`<p${_attr_class("_cp")}>Loading sessions…</p>`);
17062
+ _html(`<p${_attr_class("_cj")}>Loading sessions…</p>`);
16985
17063
  writeScope($scope10_id, {});
16986
17064
  return 1;
16987
17065
  }
@@ -17100,8 +17178,8 @@ _template("wb", (input) => {
17100
17178
  });
17101
17179
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
17102
17180
  });
17103
- var sessOpen = "_ev _I";
17104
- var sessRename = "_ez _J";
17181
+ var sessOpen = "_eF _I";
17182
+ var sessRename = "_eJ _J";
17105
17183
  //#endregion
17106
17184
  //#region src/tags/usage-pcts.marko
17107
17185
  var usage_pcts_default = _template("L", (input) => {
@@ -17113,22 +17191,22 @@ var usage_pcts_default = _template("L", (input) => {
17113
17191
  if (windows.length) {
17114
17192
  const $scope1_id = _scope_id();
17115
17193
  _html(`<span${_attr_class([
17116
- "_hE",
17194
+ "_hD",
17117
17195
  input.class,
17118
- { ["_hF"]: agent.stale_seconds != null }
17196
+ { ["_hE"]: agent.stale_seconds != null }
17119
17197
  ])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
17120
17198
  _for_of(windows, (win$1, i) => {
17121
17199
  const $scope2_id = _scope_id();
17122
- _html(`<span${_attr_class("_hG")}>`);
17200
+ _html(`<span${_attr_class("_hF")}>`);
17123
17201
  _if(() => {
17124
17202
  if (i) {
17125
17203
  const $scope3_id = _scope_id();
17126
- _html(`<span${_attr_class("_hJ")} aria-hidden=true>·</span>`);
17204
+ _html(`<span${_attr_class("_hI")} aria-hidden=true>·</span>`);
17127
17205
  $si__input_agent && writeScope($scope3_id, {});
17128
17206
  return 0;
17129
17207
  }
17130
17208
  }, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
17131
- _html(`<span${_attr_class("_hH")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_hI", win$1.used_percent >= 90 ? "_hA" : win$1.used_percent >= 70 ? "_hz" : win$1.used_percent >= 40 ? "_hy" : "_hx"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
17209
+ _html(`<span${_attr_class("_hG")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_hH", win$1.used_percent >= 90 ? "_hn" : win$1.used_percent >= 70 ? "_hm" : win$1.used_percent >= 40 ? "_hl" : "_hk"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
17132
17210
  $si__input_agent && writeScope($scope2_id, {});
17133
17211
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
17134
17212
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -17170,7 +17248,7 @@ _template("n", (input) => {
17170
17248
  align: "center",
17171
17249
  gap: 8
17172
17250
  }), "n2", $scope0_id);
17173
- _html(`<button${_attr_class([kbtn, "_er"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
17251
+ _html(`<button${_attr_class([kbtn, "_eB"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
17174
17252
  _set_serialize_reason({
17175
17253
  1: $sg__input_sessions__OR__input_sessionId,
17176
17254
  2: $sg__input_sessions__OR__input_sessionId
@@ -17184,11 +17262,11 @@ _template("n", (input) => {
17184
17262
  "_A",
17185
17263
  "_bb",
17186
17264
  phase[sessionPhase(current$2?.state)]
17187
- ])}></span>${_el_resume($scope0_id, "c", $sg__input_sessions__OR__input_sessionId)}</button>${_el_resume($scope0_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(["_9", "_es"])}>`);
17265
+ ])}></span>${_el_resume($scope0_id, "c", $sg__input_sessions__OR__input_sessionId)}</button>${_el_resume($scope0_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(["_9", "_eC"])}>`);
17188
17266
  _for_of(input.sessions, (s) => {
17189
17267
  const $scope1_id = _scope_id();
17190
17268
  const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
17191
- _html(`<div${_attr_class(["_eu", { ["_et"]: s.id === input.sessionId }])}>`);
17269
+ _html(`<div${_attr_class(["_eE", { ["_eD"]: s.id === input.sessionId }])}>`);
17192
17270
  _if(() => {
17193
17271
  if (renamingId === s.id) {
17194
17272
  const $scope5_id = _scope_id();
@@ -17220,7 +17298,7 @@ _template("n", (input) => {
17220
17298
  agent: activeAgent(s),
17221
17299
  size: 14
17222
17300
  });
17223
- _html(`<span${_attr_class("_ew")}><span${_attr_class("_ey")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
17301
+ _html(`<span${_attr_class("_eG")}><span${_attr_class("_eI")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
17224
17302
  _if(() => {
17225
17303
  if (s.id === input.sessionId) {
17226
17304
  const $scope7_id = _scope_id();
@@ -17232,7 +17310,7 @@ _template("n", (input) => {
17232
17310
  const $childScope4 = _peek_scope_id();
17233
17311
  usage_pcts_default({
17234
17312
  agent: plan,
17235
- class: "_ex"
17313
+ class: "_eH"
17236
17314
  });
17237
17315
  writeScope($scope8_id, { a: _existing_scope($childScope4) });
17238
17316
  return 0;
@@ -17249,7 +17327,7 @@ _template("n", (input) => {
17249
17327
  _if(() => {
17250
17328
  if (input.onRenameSession) {
17251
17329
  const $scope6_id = _scope_id();
17252
- _html(`<button${_attr_class(["_eA", "_eB"])} title="Rename session">`);
17330
+ _html(`<button${_attr_class(["_eK", "_eL"])} title="Rename session">`);
17253
17331
  icon_edit_default({ size: 12 });
17254
17332
  _html(`</button>${_el_resume($scope6_id, "a")}`);
17255
17333
  _script($scope6_id, "n5");
@@ -17261,7 +17339,7 @@ _template("n", (input) => {
17261
17339
  if (input.onCloseSession) {
17262
17340
  const $scope3_id = _scope_id();
17263
17341
  arm_button_default({
17264
- class: ["_eA", "_7"],
17342
+ class: ["_eK", "_7"],
17265
17343
  title: "Close session",
17266
17344
  armedTitle: "Close?",
17267
17345
  onFire: _resume(function() {
@@ -17293,7 +17371,7 @@ _template("n", (input) => {
17293
17371
  m: $si__input_sessions && $for_content__s_agent__closures
17294
17372
  });
17295
17373
  }, "id", $scope0_id, "e", 1, $sg__input_sessions, $sg__input_sessions__OR__input_agents, 0, 1);
17296
- _html(`<div${_attr_class("_eC")}><span${_attr_class("_eD")}>New session</span><div${_attr_class("_eE")}>`);
17374
+ _html(`<div${_attr_class("_eM")}><span${_attr_class("_eN")}>New session</span><div${_attr_class("_eO")}>`);
17297
17375
  _for_of(["shell", ...input.agents], (agent) => {
17298
17376
  const $scope4_id = _scope_id();
17299
17377
  _html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
@@ -21002,7 +21080,7 @@ var AddRepo = /* @__PURE__ */ object({
21002
21080
  //#region __marko-run__api.workspaces.$.repos.js
21003
21081
  var postHandler$3 = normalizeHandler(Run.POST({ json: AddRepo }, async (ctx) => {
21004
21082
  const body = await readBody(ctx);
21005
- return Response.json(await withProgressOp(ctx.params.id, () => addRepo$1(ctx.params.id, body.fullName, body.baseBranch, body.fork)));
21083
+ return Response.json(await withProgressOp(ctx.params.id, () => addRepo(ctx.params.id, body.fullName, body.baseBranch, body.fork)));
21006
21084
  }), "POST");
21007
21085
  var post43_options = normalizeOptions("POST", mware11, mware43, postHandler$3);
21008
21086
  function post43(context) {
@@ -26457,4 +26535,4 @@ server.listen(port, () => {
26457
26535
  //#endregion
26458
26536
  export {};
26459
26537
 
26460
- ;var __MARKO_MANIFEST__={"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-D-UU3b4l.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D-UU3b4l.css\"",">",2,"stylesheet#/assets/app-page-CE13Vv1z.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CE13Vv1z.css\"",">"],"defer":[2,"/assets/w._-BE32Bvf7.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-BE32Bvf7.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/_Dr6PwR9h.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Dr6PwR9h.js\"",">",2,"modulepreload#/assets/_m6B8EqQJ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_m6B8EqQJ.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-D-UU3b4l.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D-UU3b4l.css\"",">",2,"stylesheet#/assets/app-page-CE13Vv1z.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CE13Vv1z.css\"",">"],"defer":[2,"/assets/w-BE32Bvf7.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-BE32Bvf7.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/_Dr6PwR9h.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Dr6PwR9h.js\"",">",2,"modulepreload#/assets/_m6B8EqQJ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_m6B8EqQJ.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-D-UU3b4l.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D-UU3b4l.css\"",">",2,"stylesheet#/assets/app-page-CE13Vv1z.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CE13Vv1z.css\"",">"],"defer":[2,"/assets/new-BE32Bvf7.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-BE32Bvf7.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/_Dr6PwR9h.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Dr6PwR9h.js\"",">",2,"modulepreload#/assets/_m6B8EqQJ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_m6B8EqQJ.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-D-UU3b4l.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D-UU3b4l.css\"",">",2,"stylesheet#/assets/app-page-CE13Vv1z.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CE13Vv1z.css\"",">"],"defer":[2,"/assets/w._-D42QLstp.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-D42QLstp.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/_Dr6PwR9h.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Dr6PwR9h.js\"",">",2,"modulepreload#/assets/_m6B8EqQJ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_m6B8EqQJ.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-D-UU3b4l.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D-UU3b4l.css\"",">",2,"stylesheet#/assets/app-page-CE13Vv1z.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CE13Vv1z.css\"",">"],"defer":[2,"/assets/settings-BE32Bvf7.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-BE32Bvf7.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/_Dr6PwR9h.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Dr6PwR9h.js\"",">",2,"modulepreload#/assets/_m6B8EqQJ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_m6B8EqQJ.js\"",">"]},"_z":{"block":[2,"stylesheet#/assets/review-view-D2rU40po.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-D2rU40po.css\"",">",2,"stylesheet#/assets/icon-arrow-down-D-UU3b4l.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-D-UU3b4l.css\"",">"],"defer":[2,"/assets/review-view-DKK8Dhx3.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-DKK8Dhx3.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">"]}};
26538
+ ;var __MARKO_MANIFEST__={"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-CtcHHJio.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CtcHHJio.css\"",">",2,"stylesheet#/assets/app-page-CRushKCr.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CRushKCr.css\"",">"],"defer":[2,"/assets/w._-Rx4dBoTQ.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-Rx4dBoTQ.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_CYqX2f3f.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CYqX2f3f.js\"",">",2,"modulepreload#/assets/_DjPbyhtm.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DjPbyhtm.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-CtcHHJio.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CtcHHJio.css\"",">",2,"stylesheet#/assets/app-page-CRushKCr.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CRushKCr.css\"",">"],"defer":[2,"/assets/settings-Rx4dBoTQ.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-Rx4dBoTQ.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_CYqX2f3f.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CYqX2f3f.js\"",">",2,"modulepreload#/assets/_DjPbyhtm.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DjPbyhtm.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-CtcHHJio.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CtcHHJio.css\"",">",2,"stylesheet#/assets/app-page-CRushKCr.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CRushKCr.css\"",">"],"defer":[2,"/assets/new-Rx4dBoTQ.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-Rx4dBoTQ.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_CYqX2f3f.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CYqX2f3f.js\"",">",2,"modulepreload#/assets/_DjPbyhtm.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DjPbyhtm.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-CtcHHJio.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CtcHHJio.css\"",">",2,"stylesheet#/assets/app-page-CRushKCr.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CRushKCr.css\"",">"],"defer":[2,"/assets/w-Rx4dBoTQ.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-Rx4dBoTQ.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_CYqX2f3f.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CYqX2f3f.js\"",">",2,"modulepreload#/assets/_DjPbyhtm.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DjPbyhtm.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-CtcHHJio.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CtcHHJio.css\"",">",2,"stylesheet#/assets/app-page-CRushKCr.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CRushKCr.css\"",">"],"defer":[2,"/assets/w._-DqT00bZV.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-DqT00bZV.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_CYqX2f3f.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CYqX2f3f.js\"",">",2,"modulepreload#/assets/_DjPbyhtm.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DjPbyhtm.js\"",">"]},"_z":{"block":[2,"stylesheet#/assets/review-view-B95CZ5lI.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-B95CZ5lI.css\"",">",2,"stylesheet#/assets/icon-arrow-down-CtcHHJio.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-CtcHHJio.css\"",">"],"defer":[2,"/assets/review-view-DGJFqqiT.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-DGJFqqiT.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">"]}};