@dylanpiercey/work 0.0.147 → 0.0.148

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 (72) hide show
  1. package/dist/index.mjs +575 -518
  2. package/dist/public/assets/{_CbHNdeDU.js → _B5AO_PK0.js} +4 -4
  3. package/dist/public/assets/_B5AO_PK0.js.br +0 -0
  4. package/dist/public/assets/_B6-AL2IW.js +1 -0
  5. package/dist/public/assets/_B6e0REjB.js +1 -0
  6. package/dist/public/assets/_BDPeW18V.js +1 -0
  7. package/dist/public/assets/{_Cr0wBZa1.js → _BLa6qQRI.js} +1 -1
  8. package/dist/public/assets/_BLa6qQRI.js.br +0 -0
  9. package/dist/public/assets/_BUi3ZmzD.js +1 -0
  10. package/dist/public/assets/_BbmkxODJ.js +1 -0
  11. package/dist/public/assets/_Bh3PoiE1.js +1 -0
  12. package/dist/public/assets/_C-adqHHO.js +1 -0
  13. package/dist/public/assets/_C8kBw58V.js +1 -0
  14. package/dist/public/assets/_CAlPmNE1.js +1 -0
  15. package/dist/public/assets/_CC71bXNs.js +1 -0
  16. package/dist/public/assets/_CLcMxLyh.js +1 -0
  17. package/dist/public/assets/_C_zibmPN.js +1 -0
  18. package/dist/public/assets/_Cqr7mL5Y.js +1 -0
  19. package/dist/public/assets/_D5_AQNJN.js +1 -0
  20. package/dist/public/assets/_DDrwkoeT.js +1 -0
  21. package/dist/public/assets/_DhFH3piZ.js +1 -0
  22. package/dist/public/assets/_DtSBLUpQ.js +1 -0
  23. package/dist/public/assets/_DzRW5uyZ.js +1 -0
  24. package/dist/public/assets/{_DsOQV4Jf.js → _WKZUfa9i.js} +20 -20
  25. package/dist/public/assets/_WKZUfa9i.js.br +0 -0
  26. package/dist/public/assets/_pBok7Jmw.js +1 -0
  27. package/dist/public/assets/app-page-C84CTqGX.css +1 -0
  28. package/dist/public/assets/app-page-C84CTqGX.css.br +0 -0
  29. package/dist/public/assets/diff-view-C3OrqoXk.css +1 -0
  30. package/dist/public/assets/diff-view-C3OrqoXk.css.br +0 -0
  31. package/dist/public/assets/diff-view-C_km5-JP.js +2 -0
  32. package/dist/public/assets/{icon-arrow-down-CYif_Qat.css → icon-arrow-down-DqH6wYIn.css} +1 -1
  33. package/dist/public/assets/icon-arrow-down-DqH6wYIn.css.br +0 -0
  34. package/dist/public/assets/new-B2aqg9wv.js +1 -0
  35. package/dist/public/assets/settings-B2aqg9wv.js +1 -0
  36. package/dist/public/assets/w-B2aqg9wv.js +1 -0
  37. package/dist/public/assets/w._-B2aqg9wv.js +1 -0
  38. package/dist/public/assets/w._-CpTBl6kw.js +1 -0
  39. package/package.json +1 -1
  40. package/dist/public/assets/_2xuRGdn_.js +0 -1
  41. package/dist/public/assets/_B12ZGJAK.js +0 -1
  42. package/dist/public/assets/_BJJj6Bgs.js +0 -1
  43. package/dist/public/assets/_BONsa0p1.js +0 -1
  44. package/dist/public/assets/_BaWHj3BA.js +0 -1
  45. package/dist/public/assets/_Bbw6USJg.js +0 -1
  46. package/dist/public/assets/_BlpiJD5o.js +0 -1
  47. package/dist/public/assets/_C9l_aW0n.js +0 -1
  48. package/dist/public/assets/_CbHNdeDU.js.br +0 -0
  49. package/dist/public/assets/_Cr0wBZa1.js.br +0 -0
  50. package/dist/public/assets/_DIXWDGWP.js +0 -1
  51. package/dist/public/assets/_D_3kwekz.js +0 -1
  52. package/dist/public/assets/_Ddu-G-hH.js +0 -1
  53. package/dist/public/assets/_DsOQV4Jf.js.br +0 -0
  54. package/dist/public/assets/_DxNtl6PJ.js +0 -1
  55. package/dist/public/assets/_IH_dHn2Z.js +0 -1
  56. package/dist/public/assets/_NutY1vka.js +0 -1
  57. package/dist/public/assets/_Q11TJ5W0.js +0 -1
  58. package/dist/public/assets/_SRRkeWJi.js +0 -1
  59. package/dist/public/assets/_a5rTuRF3.js +0 -1
  60. package/dist/public/assets/_kv7st39T.js +0 -1
  61. package/dist/public/assets/_okmh0c7M.js +0 -1
  62. package/dist/public/assets/app-page-CS4w1M-v.css +0 -1
  63. package/dist/public/assets/app-page-CS4w1M-v.css.br +0 -0
  64. package/dist/public/assets/diff-view-BcgXlDbY.css +0 -1
  65. package/dist/public/assets/diff-view-BcgXlDbY.css.br +0 -0
  66. package/dist/public/assets/diff-view-YLo1KhOq.js +0 -2
  67. package/dist/public/assets/icon-arrow-down-CYif_Qat.css.br +0 -0
  68. package/dist/public/assets/new-B000kC3p.js +0 -1
  69. package/dist/public/assets/settings-B000kC3p.js +0 -1
  70. package/dist/public/assets/w-B000kC3p.js +0 -1
  71. package/dist/public/assets/w._-B000kC3p.js +0 -1
  72. package/dist/public/assets/w._-CE1vFHA1.js +0 -1
package/dist/index.mjs CHANGED
@@ -3178,6 +3178,7 @@ async function materializeWorkspace(id) {
3178
3178
  if (!ws || !ws.pending) return;
3179
3179
  materializeErrors.delete(id);
3180
3180
  const added = [];
3181
+ const notes = [];
3181
3182
  fs.mkdirSync(ws.path, { recursive: true });
3182
3183
  try {
3183
3184
  for (const repo of ws.repos) await withRepoLock(repo.full_name, async () => {
@@ -3188,7 +3189,8 @@ async function materializeWorkspace(id) {
3188
3189
  repo.default_branch = defaultBranch;
3189
3190
  db.prepare("UPDATE repos SET base_branch = ?, default_branch = ? WHERE workspace_id = ? AND full_name = ?").run(repo.base_branch, defaultBranch, id, repo.full_name);
3190
3191
  }
3191
- await addWorkspaceWorktree(bare, path.join(ws.path, repo.worktree), ws.branch, repo.base_branch);
3192
+ const note = await addWorkspaceWorktree(bare, path.join(ws.path, repo.worktree), ws.branch, repo.base_branch);
3193
+ if (note) notes.push(note);
3192
3194
  added.push(repo);
3193
3195
  });
3194
3196
  } catch (err) {
@@ -3208,8 +3210,14 @@ async function materializeWorkspace(id) {
3208
3210
  }
3209
3211
  writeAgentsMd(ws.path, ws.branch, ws.repos, ws.origin_branch);
3210
3212
  db.prepare("UPDATE workspaces SET materialized = 1 WHERE id = ?").run(id);
3213
+ for (const note of notes) console.warn(`[work] restore of ${id}: ${note}`);
3211
3214
  notifyWorkspacesChanged();
3212
3215
  }
3216
+ /** Run a pending workspace's restore again (after a failure). */
3217
+ function retryMaterialize(id) {
3218
+ if (!getWorkspace(id)?.pending) return;
3219
+ queueMaterialize(id);
3220
+ }
3213
3221
  /** One materialize at a time: they share the bare caches and the network,
3214
3222
  * and a restore of ten workspaces should not fan out ten clones. Each runs
3215
3223
  * under its own progress op so a nav row can follow its own steps. */
@@ -3516,10 +3524,14 @@ async function revParse(cwd, ref) {
3516
3524
  * Fresh branch → cut from `origin/<base>` after fetch (ensureBare).
3517
3525
  * Existing `origin/<ws-branch>` (re-add, open PR, prior push) → restore
3518
3526
  * that branch then rebase onto `origin/<base>` so the checkout is not
3519
- * stuck on an old main tip. Empty upstream (GitHub "no commits yet") →
3520
- * `worktree add --orphan` so the first real commit can be the root.
3521
- * Leftover local branches with no worktree are deleted so
3522
- * `worktree add -b` can recreate them.
3527
+ * stuck on an old main tip. A rebase that conflicts is abandoned, not
3528
+ * fatal: the branch stays at its remote tip and the note is returned —
3529
+ * a backup restored weeks later routinely conflicts, and failing the
3530
+ * whole workspace over it left nothing to work in, when the conflict is
3531
+ * exactly the kind of thing an agent in the worktree resolves. Empty
3532
+ * upstream (GitHub "no commits yet") → `worktree add --orphan` so the
3533
+ * first real commit can be the root. Leftover local branches with no
3534
+ * worktree are deleted so `worktree add -b` can recreate them.
3523
3535
  */
3524
3536
  async function addWorkspaceWorktree(bare, dest, branch, base) {
3525
3537
  const baseRef = `origin/${base}`;
@@ -3569,10 +3581,11 @@ async function addWorkspaceWorktree(bare, dest, branch, base) {
3569
3581
  progress$1(`Rebasing ${label}/ onto ${base}…`);
3570
3582
  try {
3571
3583
  await git(["rebase", baseRef], dest);
3572
- } catch (err) {
3584
+ } catch {
3573
3585
  await git(["rebase", "--abort"], dest).catch(() => {});
3574
- const why = err instanceof Error ? err.message : String(err);
3575
- throw new Error(`Could not rebase ${branch} onto ${baseRef} for ${label}/. ${why}`);
3586
+ const note = `${label}/: kept at origin/${branch}; rebasing onto ${base} conflicts — rebase in the worktree`;
3587
+ progress$1(note);
3588
+ return note;
3576
3589
  }
3577
3590
  }
3578
3591
  } else {
@@ -6704,7 +6717,7 @@ function isAuthDeathResponse(res) {
6704
6717
  *
6705
6718
  * Behind an auth proxy, an expired session turns into login HTML (or 401).
6706
6719
  * Reload once — same fix users already apply by hand, hosting-agnostic. */
6707
- async function api$9(url, init) {
6720
+ async function api$10(url, init) {
6708
6721
  const res = await fetch(url, init);
6709
6722
  if (isAuthDeathResponse(res)) {
6710
6723
  reloadOnceForAuth();
@@ -6774,7 +6787,7 @@ function getUsage(refresh = false) {
6774
6787
  if (cached$1 && Date.now() - cached$1.at < TTL_MS) return Promise.resolve(cached$1.value);
6775
6788
  if (inflight) return inflight;
6776
6789
  }
6777
- inflight = api$9(`/api/usage${refresh ? "?refresh" : ""}`).then((value) => {
6790
+ inflight = api$10(`/api/usage${refresh ? "?refresh" : ""}`).then((value) => {
6778
6791
  setCached(value);
6779
6792
  return value;
6780
6793
  }).catch((err) => {
@@ -7210,20 +7223,20 @@ function applyInstance(inst) {
7210
7223
  }
7211
7224
  //#endregion
7212
7225
  //#region src/tags/settings-page.css.ts
7213
- var content$2 = "_cQ _cs _ct";
7214
- var agentGrid = "_cT _bB";
7215
- var toolGrid = "_c3 _cN";
7216
- var toolRow = "_c4 _cO";
7217
- var themeSeg = "_dr _be";
7218
- var swatches = "_dz _be";
7219
- var checkList = "_dQ _bB";
7220
- var flatCardRow = "_cP _cO";
7221
- var pop$1 = "_cm __";
7222
- var spinner = "_cp _2 _G";
7223
- var busy = "_dX _dW";
7224
- var pop = "_dZ __";
7225
- var sectionCount = "_bA _N _O";
7226
- var row = "_bL _bD";
7226
+ var content$2 = "_cX _cH _cI";
7227
+ var agentGrid = "_c0 _bY";
7228
+ var toolGrid = "_c_ _cC";
7229
+ var toolRow = "_da _cD";
7230
+ var themeSeg = "_dy _be";
7231
+ var swatches = "_dG _be";
7232
+ var checkList = "_dX _bY";
7233
+ var flatCardRow = "_cE _cD";
7234
+ var pop$1 = "_cT __";
7235
+ var spinner = "_cW _2 _G";
7236
+ var busy = "_ck _cj";
7237
+ var pop = "_cm __";
7238
+ var sectionCount = "_bX _N _O";
7239
+ var row = "_b8 _b0";
7227
7240
  var iconBtn$1 = "_5 _l";
7228
7241
  //#endregion
7229
7242
  //#region src/tags/icons/icon-refresh.marko
@@ -7264,7 +7277,7 @@ var icon_back_default = _template("O", (input) => {
7264
7277
  var page_head_default = _template("t", (input) => {
7265
7278
  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);
7266
7279
  const $scope0_id = _scope_id();
7267
- _html(`<header${_attr_class("_cu")}>`);
7280
+ _html(`<header${_attr_class("_cJ")}>`);
7268
7281
  _if(() => {
7269
7282
  if (input.backHref) {
7270
7283
  const $scope1_id = _scope_id();
@@ -7283,11 +7296,11 @@ var page_head_default = _template("t", (input) => {
7283
7296
  return 1;
7284
7297
  }
7285
7298
  }, $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);
7286
- _html(`<div${_attr_class("_cw")}><h1${_attr("id", input.titleId)}${_attr_class("_cv")}>${_text_resume($scope0_id, "e", input.title, _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
7299
+ _html(`<div${_attr_class("_cL")}><h1${_attr("id", input.titleId)}${_attr_class("_cK")}>${_text_resume($scope0_id, "e", input.title, _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
7287
7300
  _if(() => {
7288
7301
  if (input.meta) {
7289
7302
  const $scope3_id = _scope_id();
7290
- _html(`<p${_attr_class("_cx")}>`);
7303
+ _html(`<p${_attr_class("_cM")}>`);
7291
7304
  _dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
7292
7305
  _html("</p>");
7293
7306
  $si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
@@ -7298,7 +7311,7 @@ var page_head_default = _template("t", (input) => {
7298
7311
  _if(() => {
7299
7312
  if (input.actions) {
7300
7313
  const $scope4_id = _scope_id();
7301
- _html(`<div${_attr_class("_cy")}>`);
7314
+ _html(`<div${_attr_class("_cN")}>`);
7302
7315
  _dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
7303
7316
  _html("</div>");
7304
7317
  $si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
@@ -7507,7 +7520,7 @@ var icon_check_default = _template("S", (input) => {
7507
7520
  });
7508
7521
  //#endregion
7509
7522
  //#region src/tags/sso-auth.marko
7510
- var api$8;
7523
+ var api$9;
7511
7524
  var watchProgress$3;
7512
7525
  var sso_auth_default = _template("C", (input) => {
7513
7526
  const $scope0_reason = _scope_reason(), $sg__input_items = _serialize_guard($scope0_reason, 2), $sg__input_skipped__OR__input_items = _serialize_guard($scope0_reason, 0), $sg__input_skipped = _serialize_guard($scope0_reason, 1);
@@ -7533,7 +7546,7 @@ var sso_auth_default = _template("C", (input) => {
7533
7546
  });
7534
7547
  await watcher.ready;
7535
7548
  try {
7536
- await api$8(`/api/setup/${encodeURIComponent(host)}`, {
7549
+ await api$9(`/api/setup/${encodeURIComponent(host)}`, {
7537
7550
  method: "POST",
7538
7551
  headers: { "content-type": "application/json" },
7539
7552
  body: JSON.stringify({ action: "auth-refresh" })
@@ -7658,7 +7671,7 @@ var skill_chip_default = _template("B", (input) => {
7658
7671
  const $input_tags__closures = /* @__PURE__ */ new Set();
7659
7672
  const $input_actions__closures = /* @__PURE__ */ new Set();
7660
7673
  const $input_trailing__closures = /* @__PURE__ */ new Set();
7661
- _html(`<li${_attr_class("_dV")}>`);
7674
+ _html(`<li${_attr_class("_ci")}>`);
7662
7675
  _if(() => {
7663
7676
  if (input.busy != null) {
7664
7677
  const $scope1_id = _scope_id();
@@ -7668,20 +7681,20 @@ var skill_chip_default = _template("B", (input) => {
7668
7681
  } else {
7669
7682
  const $scope2_id = _scope_id();
7670
7683
  const popId = _id();
7671
- _html(`<button${_attr_class("_dW")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7684
+ _html(`<button${_attr_class("_cj")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7672
7685
  _if(() => {
7673
7686
  if (input.hint) {
7674
7687
  const $scope3_id = _scope_id();
7675
- _html(`<span${_attr_class("_dY")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7688
+ _html(`<span${_attr_class("_cl")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7676
7689
  $si__input_busy__OR__input_hint && _subscribe($si__input_hint && $input_hint__closures, writeScope($scope3_id, { _: _scope_with_id($scope2_id) }));
7677
7690
  return 0;
7678
7691
  }
7679
7692
  }, $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);
7680
- _html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["_bF", "_y"])}>${_text_resume($scope2_id, "f", input.name, $sg__input_name)}</span>`);
7693
+ _html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["_b2", "_y"])}>${_text_resume($scope2_id, "f", input.name, $sg__input_name)}</span>`);
7681
7694
  _if(() => {
7682
7695
  if (input.description) {
7683
7696
  const $scope4_id = _scope_id();
7684
- _html(`<span${_attr_class("_bH")}${_attr("title", input.description)}>${_text_resume($scope4_id, "b", input.description, $sg__input_description)}</span>${_el_resume($scope4_id, "a", $sg__input_description)}`);
7697
+ _html(`<span${_attr_class("_b4")}${_attr("title", input.description)}>${_text_resume($scope4_id, "b", input.description, $sg__input_description)}</span>${_el_resume($scope4_id, "a", $sg__input_description)}`);
7685
7698
  $si__input_busy__OR__input_description && _subscribe($si__input_description && $input_description__closures, writeScope($scope4_id, { _: _scope_with_id($scope2_id) }));
7686
7699
  return 0;
7687
7700
  }
@@ -7689,12 +7702,12 @@ var skill_chip_default = _template("B", (input) => {
7689
7702
  _if(() => {
7690
7703
  if (input.sourceUrl) {
7691
7704
  const $scope5_id = _scope_id();
7692
- _html(`<a${_attr_class(["_bH", "_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))}`);
7705
+ _html(`<a${_attr_class(["_b4", "_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))}`);
7693
7706
  $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) })));
7694
7707
  return 0;
7695
7708
  } else if (input.source) {
7696
7709
  const $scope6_id = _scope_id();
7697
- _html(`<span${_attr_class("_bH")}>${_text_resume($scope6_id, "b", input.source, $sg__input_source)}</span>`);
7710
+ _html(`<span${_attr_class("_b4")}>${_text_resume($scope6_id, "b", input.source, $sg__input_source)}</span>`);
7698
7711
  $si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal && _subscribe($si__input_source && $input_source__closures, writeScope($scope6_id, {
7699
7712
  _: _scope_with_id($scope2_id),
7700
7713
  Cs: $si__input_source && 1
@@ -7702,7 +7715,7 @@ var skill_chip_default = _template("B", (input) => {
7702
7715
  return 1;
7703
7716
  } else if (input.noteLocal) {
7704
7717
  const $scope10_id = _scope_id();
7705
- _html(`<span${_attr_class(["_bH", "_x"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
7718
+ _html(`<span${_attr_class(["_b4", "_x"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
7706
7719
  _serialize_if($scope0_reason, 8) && writeScope($scope10_id, {});
7707
7720
  return 2;
7708
7721
  }
@@ -7710,7 +7723,7 @@ var skill_chip_default = _template("B", (input) => {
7710
7723
  _if(() => {
7711
7724
  if (input.tags) {
7712
7725
  const $scope7_id = _scope_id();
7713
- _html(`<span${_attr_class("_bG")}>`);
7726
+ _html(`<span${_attr_class("_b3")}>`);
7714
7727
  _dynamic_tag($scope7_id, "b", input.tags, {}, 0, 0, $sg__input_tags);
7715
7728
  _html("</span>");
7716
7729
  $si__input_busy__OR__input_tags && _subscribe($si__input_tags && $input_tags__closures, writeScope($scope7_id, { _: _scope_with_id($scope2_id) }));
@@ -7720,7 +7733,7 @@ var skill_chip_default = _template("B", (input) => {
7720
7733
  _if(() => {
7721
7734
  if (input.actions) {
7722
7735
  const $scope8_id = _scope_id();
7723
- _html(`<div${_attr_class("_d0")}>`);
7736
+ _html(`<div${_attr_class("_cn")}>`);
7724
7737
  _dynamic_tag($scope8_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
7725
7738
  _html("</div>");
7726
7739
  $si__input_busy__OR__input_actions && _subscribe($si__input_actions && $input_actions__closures, writeScope($scope8_id, { _: _scope_with_id($scope2_id) }));
@@ -7780,7 +7793,7 @@ var icon_arrow_up_default = _template("N", (input) => {
7780
7793
  });
7781
7794
  //#endregion
7782
7795
  //#region src/tags/prompt-dialog.css.ts
7783
- var promptDlg = "_et _ep";
7796
+ var promptDlg = "_eC _ey";
7784
7797
  //#endregion
7785
7798
  //#region src/tags/dialog-close.marko
7786
7799
  var dialog_close_default = _template("f", (input) => {
@@ -7804,7 +7817,7 @@ var modal_view_default = _template("r", (input) => {
7804
7817
  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;
7805
7818
  const dismissable = input.dismissable !== false;
7806
7819
  let open = input.open;
7807
- _html(`<dialog${_attr_class(["_eo", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
7820
+ _html(`<dialog${_attr_class(["_ex", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
7808
7821
  ...htmlInput,
7809
7822
  open: null
7810
7823
  }, {
@@ -7814,20 +7827,20 @@ var modal_view_default = _template("r", (input) => {
7814
7827
  closedby: 1,
7815
7828
  "on-cancel": 1,
7816
7829
  "on-close": 1
7817
- }, "a", $scope0_id, "dialog")}><div${_attr_class("_er")}>`);
7830
+ }, "a", $scope0_id, "dialog")}><div${_attr_class("_eA")}>`);
7818
7831
  _dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
7819
7832
  _html("</div>");
7820
7833
  _if(() => {
7821
7834
  if (footer) {
7822
7835
  const $scope1_id = _scope_id();
7823
- _html(`<form method=dialog${_attr_class("_es")}>`);
7836
+ _html(`<form method=dialog${_attr_class("_eB")}>`);
7824
7837
  _dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
7825
7838
  _html("</form>");
7826
7839
  $si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
7827
7840
  return 0;
7828
7841
  } else if (input.openChange) {
7829
7842
  const $scope2_id = _scope_id();
7830
- _html(`<form method=dialog${_attr_class("_es")}>`);
7843
+ _html(`<form method=dialog${_attr_class("_eB")}>`);
7831
7844
  dialog_close_default({
7832
7845
  class: ["_q", "_r"],
7833
7846
  content: _content("r0", () => {
@@ -7911,7 +7924,7 @@ var prompt_dialog_default = _template("u", (input) => {
7911
7924
  content: _content("u7", () => {
7912
7925
  _scope_reason();
7913
7926
  const $scope2_id = _scope_id();
7914
- _html(`<h2${_attr_class("_eq")}${_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) => {
7927
+ _html(`<h2${_attr_class("_ez")}${_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) => {
7915
7928
  value = _new_value;
7916
7929
  }, "u0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
7917
7930
  _script($scope2_id, "u5");
@@ -7941,7 +7954,7 @@ var prompt_dialog_default = _template("u", (input) => {
7941
7954
  });
7942
7955
  //#endregion
7943
7956
  //#region src/tags/settings-page.marko
7944
- var api$7;
7957
+ var api$8;
7945
7958
  var isTransientApiError$2;
7946
7959
  var watchProgress$2;
7947
7960
  var MISSING_LABEL = {
@@ -8037,7 +8050,7 @@ var settings_page_default = _template("x", (input$3) => {
8037
8050
  }, "x9", $scope0_id);
8038
8051
  const syncAgents = _resume(async () => {
8039
8052
  try {
8040
- const snap = await api$7("/api/settings");
8053
+ const snap = await api$8("/api/settings");
8041
8054
  input$3.agentsChange?.(snap.agents);
8042
8055
  if (snap.preferredAgent !== input$3.preferred) input$3.preferredChange?.(snap.preferredAgent);
8043
8056
  } catch {}
@@ -8045,7 +8058,7 @@ var settings_page_default = _template("x", (input$3) => {
8045
8058
  let retryWhenBack = false;
8046
8059
  const loadSetup = _resume(async (refresh) => {
8047
8060
  try {
8048
- applySetup(await api$7(`/api/setup${refresh ? "?refresh" : ""}`));
8061
+ applySetup(await api$8(`/api/setup${refresh ? "?refresh" : ""}`));
8049
8062
  retryWhenBack = false;
8050
8063
  } catch (err) {
8051
8064
  if (isTransientApiError$2(err)) retryWhenBack = true;
@@ -8054,7 +8067,7 @@ var settings_page_default = _template("x", (input$3) => {
8054
8067
  }, "x11", $scope0_id);
8055
8068
  const loadSelf = _resume(async (refresh) => {
8056
8069
  try {
8057
- const info = await api$7(`/api/setup/self${refresh ? "?refresh" : ""}`);
8070
+ const info = await api$8(`/api/setup/self${refresh ? "?refresh" : ""}`);
8058
8071
  self = info;
8059
8072
  if (info.updating) selfUpdating = true;
8060
8073
  } catch {}
@@ -8064,7 +8077,7 @@ var settings_page_default = _template("x", (input$3) => {
8064
8077
  selfUpdating = true;
8065
8078
  const from = self.version;
8066
8079
  try {
8067
- await api$7("/api/setup/self", { method: "POST" });
8080
+ await api$8("/api/setup/self", { method: "POST" });
8068
8081
  } catch (err) {
8069
8082
  selfUpdating = false;
8070
8083
  error = String(err.message || err);
@@ -8073,7 +8086,7 @@ var settings_page_default = _template("x", (input$3) => {
8073
8086
  const started = Date.now();
8074
8087
  const tick = async () => {
8075
8088
  try {
8076
- if ((await api$7("/api/setup/self")).version !== from) {
8089
+ if ((await api$8("/api/setup/self")).version !== from) {
8077
8090
  location.reload();
8078
8091
  return;
8079
8092
  }
@@ -8115,7 +8128,7 @@ var settings_page_default = _template("x", (input$3) => {
8115
8128
  });
8116
8129
  await watcher.ready;
8117
8130
  try {
8118
- applySetup(await api$7(`/api/setup/${encodeURIComponent(id)}`, {
8131
+ applySetup(await api$8(`/api/setup/${encodeURIComponent(id)}`, {
8119
8132
  method: "POST",
8120
8133
  headers: { "content-type": "application/json" },
8121
8134
  body: JSON.stringify({
@@ -8149,7 +8162,7 @@ var settings_page_default = _template("x", (input$3) => {
8149
8162
  const loadSkills = _resume(async () => {
8150
8163
  const seq = ++skillSeq.issued;
8151
8164
  try {
8152
- applySkills(await api$7("/api/skills"), seq);
8165
+ applySkills(await api$8("/api/skills"), seq);
8153
8166
  } catch {}
8154
8167
  }, "x20", $scope0_id);
8155
8168
  const runSkill = _resume(async (key, body) => {
@@ -8160,7 +8173,7 @@ var settings_page_default = _template("x", (input$3) => {
8160
8173
  await watcher.ready;
8161
8174
  const seq = ++skillSeq.issued;
8162
8175
  try {
8163
- applySkills(await api$7("/api/skills", {
8176
+ applySkills(await api$8("/api/skills", {
8164
8177
  method: "POST",
8165
8178
  headers: { "content-type": "application/json" },
8166
8179
  body: JSON.stringify(body)
@@ -8203,7 +8216,7 @@ var settings_page_default = _template("x", (input$3) => {
8203
8216
  backupBusy = "preflight";
8204
8217
  backupLine = "";
8205
8218
  try {
8206
- const found = await api$7("/api/backup/preflight", { method: "POST" });
8219
+ const found = await api$8("/api/backup/preflight", { method: "POST" });
8207
8220
  if (found.workspaces.length) preflight = found;
8208
8221
  else downloadManifest();
8209
8222
  } catch (err) {
@@ -8226,7 +8239,7 @@ var settings_page_default = _template("x", (input$3) => {
8226
8239
  return;
8227
8240
  }
8228
8241
  try {
8229
- const preview = await api$7("/api/backup/preview", {
8242
+ const preview = await api$8("/api/backup/preview", {
8230
8243
  method: "POST",
8231
8244
  headers: { "content-type": "application/json" },
8232
8245
  body: JSON.stringify(manifest)
@@ -8262,7 +8275,7 @@ var settings_page_default = _template("x", (input$3) => {
8262
8275
  });
8263
8276
  await watcher.ready;
8264
8277
  try {
8265
- const n = (await api$7("/api/backup/restore", {
8278
+ const n = (await api$8("/api/backup/restore", {
8266
8279
  method: "POST",
8267
8280
  headers: { "content-type": "application/json" },
8268
8281
  body: JSON.stringify({
@@ -8298,7 +8311,7 @@ var settings_page_default = _template("x", (input$3) => {
8298
8311
  skillSearching = true;
8299
8312
  skillTimer.id = setTimeout(async () => {
8300
8313
  try {
8301
- const res = await api$7(`/api/skills/search?q=${encodeURIComponent(q.trim())}`);
8314
+ const res = await api$8(`/api/skills/search?q=${encodeURIComponent(q.trim())}`);
8302
8315
  if (skillQuery === q) skillHits = res;
8303
8316
  } catch (err) {
8304
8317
  error = String(err.message || err);
@@ -8311,7 +8324,7 @@ var settings_page_default = _template("x", (input$3) => {
8311
8324
  hostBusy = true;
8312
8325
  error = null;
8313
8326
  try {
8314
- applySetup(await api$7("/api/github/hosts", {
8327
+ applySetup(await api$8("/api/github/hosts", {
8315
8328
  method: "POST",
8316
8329
  headers: { "content-type": "application/json" },
8317
8330
  body: JSON.stringify({
@@ -8335,7 +8348,7 @@ var settings_page_default = _template("x", (input$3) => {
8335
8348
  const setPreferred = _resume(async (agent) => {
8336
8349
  input$3.preferredChange?.(agent);
8337
8350
  try {
8338
- await api$7("/api/settings", {
8351
+ await api$8("/api/settings", {
8339
8352
  method: "PUT",
8340
8353
  headers: { "content-type": "application/json" },
8341
8354
  body: JSON.stringify({ preferredAgent: agent })
@@ -8355,7 +8368,7 @@ var settings_page_default = _template("x", (input$3) => {
8355
8368
  clearTimeout(saveTimer.id);
8356
8369
  saveTimer.id = setTimeout(async () => {
8357
8370
  try {
8358
- const snap = await api$7("/api/settings", {
8371
+ const snap = await api$8("/api/settings", {
8359
8372
  method: "PUT",
8360
8373
  headers: { "content-type": "application/json" },
8361
8374
  body: JSON.stringify({ instance: next })
@@ -8375,7 +8388,7 @@ var settings_page_default = _template("x", (input$3) => {
8375
8388
  if (on) off.delete(id);
8376
8389
  else off.add(id);
8377
8390
  try {
8378
- const snap = await api$7("/api/settings", {
8391
+ const snap = await api$8("/api/settings", {
8379
8392
  method: "PUT",
8380
8393
  headers: { "content-type": "application/json" },
8381
8394
  body: JSON.stringify({ disabledAgents: [...off] })
@@ -8407,7 +8420,7 @@ var settings_page_default = _template("x", (input$3) => {
8407
8420
  searching = true;
8408
8421
  searchTimer.id = setTimeout(async () => {
8409
8422
  try {
8410
- const res = await api$7(`/api/setup/search?q=${encodeURIComponent(q.trim())}`);
8423
+ const res = await api$8(`/api/setup/search?q=${encodeURIComponent(q.trim())}`);
8411
8424
  if (query === q) hits = res;
8412
8425
  } catch (err) {
8413
8426
  error = String(err.message || err);
@@ -8433,7 +8446,7 @@ var settings_page_default = _template("x", (input$3) => {
8433
8446
  const githubId = _id();
8434
8447
  const backupId = _id();
8435
8448
  const machineId = _id();
8436
- _html(`<div${_attr_class("_cq")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_cr")}><div${_attr_class(content$2)}>`);
8449
+ _html(`<div${_attr_class("_cF")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_cG")}><div${_attr_class(content$2)}>`);
8437
8450
  _set_serialize_reason({
8438
8451
  0: _serialize_guard($scope0_reason, 4),
8439
8452
  1: $sg__input_backHref__OR__input_onExit,
@@ -8445,7 +8458,7 @@ var settings_page_default = _template("x", (input$3) => {
8445
8458
  if (setup && !setup.ready) $meta = attrTag({ content: _content_resume("x44", () => {
8446
8459
  _scope_reason();
8447
8460
  const $scope5_id = _scope_id();
8448
- _html(`<span${_attr_class("_cS")}>Not ready</span>. Missing ${_text_resume($scope5_id, "b", setup.missing.map((m) => MISSING_LABEL[m] || m).join(", "), 2)}.`);
8461
+ _html(`<span${_attr_class("_cZ")}>Not ready</span>. Missing ${_text_resume($scope5_id, "b", setup.missing.map((m) => MISSING_LABEL[m] || m).join(", "), 2)}.`);
8449
8462
  _subscribe($setup_missing__closures, writeScope($scope5_id, { _: _scope_with_id($scope0_id) }));
8450
8463
  _resume_branch($scope5_id);
8451
8464
  }, $scope0_id) });
@@ -8498,16 +8511,16 @@ var settings_page_default = _template("x", (input$3) => {
8498
8511
  _if(() => {
8499
8512
  if (selfUpdatePending || selfUpdating) {
8500
8513
  const $scope45_id = _scope_id();
8501
- _html(`<div${_attr_class("_dv")} role=status><div${_attr_class("_dw")}>`);
8514
+ _html(`<div${_attr_class("_dC")} role=status><div${_attr_class("_dD")}>`);
8502
8515
  _if(() => {
8503
8516
  if (selfUpdating) {
8504
8517
  const $scope79_id = _scope_id();
8505
- _html(`<span${_attr_class("_dx")}><span${_attr_class("_G")}></span> Updating work…</span><span${_attr_class("_dy")}>The app restarts and reloads when it is done.</span>`);
8518
+ _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>`);
8506
8519
  writeScope($scope79_id, {});
8507
8520
  return 0;
8508
8521
  } else {
8509
8522
  const $scope46_id = _scope_id();
8510
- _html(`<span${_attr_class("_dx")}>Update available</span><span${_attr_class("_dy")}>v${_text_resume($scope46_id, "c", self.version, 2)} → v${_text_resume($scope46_id, "d", self.latest, 2)}</span>`);
8523
+ _html(`<span${_attr_class("_dE")}>Update available</span><span${_attr_class("_dF")}>v${_text_resume($scope46_id, "c", self.version, 2)} → v${_text_resume($scope46_id, "d", self.latest, 2)}</span>`);
8511
8524
  _subscribe($self_version__closures, _subscribe($self_latest__closures, writeScope($scope46_id, {})));
8512
8525
  return 1;
8513
8526
  }
@@ -8526,11 +8539,11 @@ var settings_page_default = _template("x", (input$3) => {
8526
8539
  return 0;
8527
8540
  }
8528
8541
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
8529
- _html(`<section${_attr_class("_by")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bz")}><h2${_attr("id", agentsId)}${_attr_class("_bM")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_cV")}><span${_attr_class("_X")}>Default</span><span${_attr_class("_o")}>`);
8542
+ _html(`<section${_attr_class("_bV")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bW")}><h2${_attr("id", agentsId)}${_attr_class("_b9")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_c2")}><span${_attr_class("_X")}>Default</span><span${_attr_class("_o")}>`);
8530
8543
  _attr_select_value($scope0_id, "n", input$3.preferred, _resume(function(v) {
8531
8544
  setPreferred(v);
8532
8545
  }, "x2", $scope0_id), () => {
8533
- _html(`<select${_attr_class(["_p", "_cW"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
8546
+ _html(`<select${_attr_class(["_p", "_c3"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
8534
8547
  _for_of(input$3.agents.filter((a) => a !== "shell"), (id) => {
8535
8548
  const $scope80_id = _scope_id();
8536
8549
  _html(`<option${_attr_option_value(id)}>${_text_resume($scope80_id, "b", agentLabel(id), $sg__input_agents)}</option>${_el_resume($scope80_id, "a", $sg__input_agents)}`);
@@ -8544,14 +8557,14 @@ var settings_page_default = _template("x", (input$3) => {
8544
8557
  const rows = lone ? [] : a.instances;
8545
8558
  const loneAccounts = lone ? accountsFor(lone.id) : [];
8546
8559
  const extraAccounts = a.installed ? strayAccountsFor(a) : [];
8547
- _html(`<li${_attr_class(["_bD", "_cU"])}><div${_attr_class(["_cX", { ["_c0"]: lone && !lone.enabled }])}>`);
8560
+ _html(`<li${_attr_class(["_b0", "_c1"])}><div${_attr_class(["_c4", { ["_c7"]: lone && !lone.enabled }])}>`);
8548
8561
  _set_serialize_reason(12);
8549
8562
  const $childScope3 = _peek_scope_id();
8550
8563
  icon_agent_default({
8551
8564
  agent: a.id,
8552
8565
  size: 18
8553
8566
  });
8554
- _html(`<div${_attr_class("_bE")}><span${_attr_class("_bG")}><span${_attr_class("_bF")}>${_text_resume($scope1_id, "g", a.label)}</span>`);
8567
+ _html(`<div${_attr_class("_b1")}><span${_attr_class("_b3")}><span${_attr_class("_b2")}>${_text_resume($scope1_id, "g", a.label)}</span>`);
8555
8568
  _if(() => {
8556
8569
  if (lone && input$3.preferred === lone.id) {
8557
8570
  const $scope81_id = _scope_id();
@@ -8564,12 +8577,12 @@ var settings_page_default = _template("x", (input$3) => {
8564
8577
  _if(() => {
8565
8578
  if (active.has(a.id)) {
8566
8579
  const $scope13_id = _scope_id();
8567
- _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", active.get(a.id) || "Starting…")}</span>`);
8580
+ _html(`<span${_attr_class("_cY")}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", active.get(a.id) || "Starting…")}</span>`);
8568
8581
  _subscribe($active__closures, writeScope($scope13_id, {}));
8569
8582
  return 0;
8570
8583
  } else if (!a.installed) {
8571
8584
  const $scope82_id = _scope_id();
8572
- _html(`<span${_attr_class("_bH")}>Not installed</span>`);
8585
+ _html(`<span${_attr_class("_b4")}>Not installed</span>`);
8573
8586
  writeScope($scope82_id, {});
8574
8587
  return 1;
8575
8588
  }
@@ -8597,15 +8610,15 @@ var settings_page_default = _template("x", (input$3) => {
8597
8610
  _if(() => {
8598
8611
  if (rows.length || loneAccounts.length || extraAccounts.length) {
8599
8612
  const $scope2_id = _scope_id();
8600
- _html(`<ul${_attr_class(["_c2", { ["_c0"]: lone && !lone.enabled }])}>`);
8613
+ _html(`<ul${_attr_class(["_c9", { ["_c7"]: lone && !lone.enabled }])}>`);
8601
8614
  _for_of(rows, (inst) => {
8602
8615
  const $scope3_id = _scope_id();
8603
8616
  const accounts = accountsFor(inst.id);
8604
- _html(`<li${_attr_class(["_cY", { ["_c0"]: !inst.enabled }])}><div${_attr_class("_cZ")}>`);
8617
+ _html(`<li${_attr_class(["_c5", { ["_c7"]: !inst.enabled }])}><div${_attr_class("_c6")}>`);
8605
8618
  _set_serialize_reason(12);
8606
8619
  const $childScope4 = _peek_scope_id();
8607
8620
  icon_agent_default({ agent: inst.id });
8608
- _html(`<span${_attr_class(["_c1", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
8621
+ _html(`<span${_attr_class(["_c8", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
8609
8622
  _if(() => {
8610
8623
  if (input$3.preferred === inst.id) {
8611
8624
  const $scope83_id = _scope_id();
@@ -8676,7 +8689,7 @@ var settings_page_default = _template("x", (input$3) => {
8676
8689
  }, "id", $scope0_id, "p", 1, 1, 1, 0, 1);
8677
8690
  _for_of(otherUsage, (u) => {
8678
8691
  const $scope87_id = _scope_id();
8679
- _html(`<li${_attr_class(["_bD", "_cU"])}>`);
8692
+ _html(`<li${_attr_class(["_b0", "_c1"])}>`);
8680
8693
  _set_serialize_reason(6);
8681
8694
  const $childScope8 = _peek_scope_id();
8682
8695
  usage_meters_default({ agent: u });
@@ -8687,21 +8700,21 @@ var settings_page_default = _template("x", (input$3) => {
8687
8700
  _if(() => {
8688
8701
  if (!usage && families.length) {
8689
8702
  const $scope88_id = _scope_id();
8690
- _html(`<p${_attr_class("_bJ")}><span${_attr_class("_G")}></span> Loading usage…</p>`);
8703
+ _html(`<p${_attr_class("_b6")}><span${_attr_class("_G")}></span> Loading usage…</p>`);
8691
8704
  writeScope($scope88_id, {});
8692
8705
  return 0;
8693
8706
  } else if (usage?.error) {
8694
8707
  const $scope9_id = _scope_id();
8695
- _html(`<p${_attr_class("_bJ")}>${_text_resume($scope9_id, "b", usage.error)}</p>`);
8708
+ _html(`<p${_attr_class("_b6")}>${_text_resume($scope9_id, "b", usage.error)}</p>`);
8696
8709
  writeScope($scope9_id, {});
8697
8710
  return 1;
8698
8711
  }
8699
8712
  }, $scope0_id, "r", 1, 1, 1, 0, 1);
8700
- _html(`</section><section${_attr_class("_by")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bz")}><h2${_attr("id", githubId)}${_attr_class("_bM")}>GitHub</h2>`);
8713
+ _html(`</section><section${_attr_class("_bV")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bW")}><h2${_attr("id", githubId)}${_attr_class("_b9")}>GitHub</h2>`);
8701
8714
  _if(() => {
8702
8715
  if (setup && !addingHost) {
8703
8716
  const $scope43_id = _scope_id();
8704
- _html(`<button${_attr_class([iconBtnRow, "_da"])} title="Add Enterprise host" aria-label="Add Enterprise host">`);
8717
+ _html(`<button${_attr_class([iconBtnRow, "_dh"])} title="Add Enterprise host" aria-label="Add Enterprise host">`);
8705
8718
  icon_plus_default({ size: 16 });
8706
8719
  _html(`</button>${_el_resume($scope43_id, "a")}`);
8707
8720
  _script($scope43_id, "x51");
@@ -8713,10 +8726,10 @@ var settings_page_default = _template("x", (input$3) => {
8713
8726
  if (setup) {
8714
8727
  const $scope42_id = _scope_id();
8715
8728
  _html(`<form${_attr_class([
8716
- "_ch",
8717
- "_da",
8718
- { ["_ci"]: !addingHost }
8719
- ])}><label${_attr_class(["_1", "_cj"])}>`);
8729
+ "_cO",
8730
+ "_dh",
8731
+ { ["_cP"]: !addingHost }
8732
+ ])}><label${_attr_class(["_1", "_cQ"])}>`);
8720
8733
  icon_github_default({
8721
8734
  size: 14,
8722
8735
  class: "_2"
@@ -8726,12 +8739,12 @@ var settings_page_default = _template("x", (input$3) => {
8726
8739
  }, "x3", $scope42_id))}${_attr_class([
8727
8740
  "_Z",
8728
8741
  "_3",
8729
- "_ck"
8742
+ "_cR"
8730
8743
  ])} type=text placeholder=github.example.com aria-label="GitHub Enterprise host" autocomplete=off spellcheck=false>${_el_resume($scope42_id, "d")}</label><button${_attr_class([
8731
8744
  btnSm,
8732
8745
  "_r",
8733
- "_c_"
8734
- ])} type=submit${_attr("hidden", !addingHost)}${_attr("disabled", !hostInput.trim() || hostBusy)}>${_text_resume($scope42_id, "f", hostBusy ? "Adding…" : "Add")}</button>${_el_resume($scope42_id, "e")}<button${_attr_class([iconBtnRow, "_cl"])} type=button${_attr("hidden", !addingHost)} title=Cancel aria-label=Cancel${_attr("disabled", hostBusy)}>`);
8746
+ "_dg"
8747
+ ])} type=submit${_attr("hidden", !addingHost)}${_attr("disabled", !hostInput.trim() || hostBusy)}>${_text_resume($scope42_id, "f", hostBusy ? "Adding…" : "Add")}</button>${_el_resume($scope42_id, "e")}<button${_attr_class([iconBtnRow, "_cS"])} type=button${_attr("hidden", !addingHost)} title=Cancel aria-label=Cancel${_attr("disabled", hostBusy)}>`);
8735
8748
  icon_xmark_default({ size: 12 });
8736
8749
  _html(`</button>${_el_resume($scope42_id, "g")}</form>${_el_resume($scope42_id, "a")}`);
8737
8750
  _script($scope42_id, "x52");
@@ -8739,19 +8752,19 @@ var settings_page_default = _template("x", (input$3) => {
8739
8752
  return 0;
8740
8753
  }
8741
8754
  }, $scope0_id, "w", 1, 1, 1, 0, 1);
8742
- _html(`</div><div${_attr_class(["_bD", "_cz"])}>`);
8755
+ _html(`</div><div${_attr_class(["_b0", "_co"])}>`);
8743
8756
  _for_of(setup?.github || [], (h) => {
8744
8757
  const $scope7_id = _scope_id();
8745
8758
  const $for_content4__h_host__closures = /* @__PURE__ */ new Set();
8746
8759
  const hostSso$1 = (h.sso || []).filter((s) => !ignoredSso.has(s.org));
8747
8760
  const skippedSso = (h.sso || []).filter((s) => ignoredSso.has(s.org));
8748
8761
  const busy = active.has(h.host);
8749
- _html(`<div${_attr_class(["_cA", "_db"])}><div${_attr_class("_dc")}>`);
8762
+ _html(`<div${_attr_class(["_cp", "_di"])}><div${_attr_class("_dj")}>`);
8750
8763
  icon_github_default({
8751
8764
  size: 18,
8752
- class: "_dd"
8765
+ class: "_dk"
8753
8766
  });
8754
- _html(`<div${_attr_class("_bE")}><span${_attr_class("_bG")}><span${_attr_class("_bF")}>${_text_resume($scope7_id, "g", h.host)}</span>`);
8767
+ _html(`<div${_attr_class("_b1")}><span${_attr_class("_b3")}><span${_attr_class("_b2")}>${_text_resume($scope7_id, "g", h.host)}</span>`);
8755
8768
  _if(() => {
8756
8769
  if (h.isEnterprise) {
8757
8770
  const $scope91_id = _scope_id();
@@ -8764,25 +8777,25 @@ var settings_page_default = _template("x", (input$3) => {
8764
8777
  _if(() => {
8765
8778
  if (busy) {
8766
8779
  const $scope14_id = _scope_id();
8767
- _html(`<span${_attr_class(["_bH", "_de"])}><span${_attr_class("_G")}></span>${_text_resume($scope14_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
8780
+ _html(`<span${_attr_class(["_b4", "_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>`);
8768
8781
  _subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope14_id, { Cgv: 1 })));
8769
8782
  return 0;
8770
8783
  } else if (h.authed) {
8771
8784
  const $scope89_id = _scope_id();
8772
- _html(`<span${_attr_class(["_bH", "_de"])}>`);
8785
+ _html(`<span${_attr_class(["_b4", "_dl"])}>`);
8773
8786
  icon_check_default({
8774
8787
  size: 12,
8775
- class: "_df"
8788
+ class: "_dm"
8776
8789
  });
8777
- _html(` Signed in as <strong${_attr_class("_dh")}>${_text_resume($scope89_id, "d", h.user || "?")}</strong></span>`);
8790
+ _html(` Signed in as <strong${_attr_class("_do")}>${_text_resume($scope89_id, "d", h.user || "?")}</strong></span>`);
8778
8791
  writeScope($scope89_id, {});
8779
8792
  return 1;
8780
8793
  } else if (h.error) {
8781
8794
  const $scope90_id = _scope_id();
8782
8795
  _html(`<span${_attr_class([
8783
- "_bH",
8784
- "_de",
8785
- "_dg"
8796
+ "_b4",
8797
+ "_dl",
8798
+ "_dn"
8786
8799
  ])}>`);
8787
8800
  icon_warning_default({ size: 12 });
8788
8801
  _html(`${_text_resume($scope90_id, "c", h.error)}</span>`);
@@ -8790,7 +8803,7 @@ var settings_page_default = _template("x", (input$3) => {
8790
8803
  return 2;
8791
8804
  } else {
8792
8805
  const $scope92_id = _scope_id();
8793
- _html(`<span${_attr_class(["_bH", "_de"])}>Not signed in</span>`);
8806
+ _html(`<span${_attr_class(["_b4", "_dl"])}>Not signed in</span>`);
8794
8807
  writeScope($scope92_id, {});
8795
8808
  return 3;
8796
8809
  }
@@ -8821,7 +8834,7 @@ var settings_page_default = _template("x", (input$3) => {
8821
8834
  if (h.isEnterprise) {
8822
8835
  const $scope34_id = _scope_id();
8823
8836
  _html(`<button${_attr_class([
8824
- "_bI",
8837
+ "_b5",
8825
8838
  "_8",
8826
8839
  "_9",
8827
8840
  { ["_s"]: confirmingRemove === h.host }
@@ -8855,7 +8868,7 @@ var settings_page_default = _template("x", (input$3) => {
8855
8868
  _if(() => {
8856
8869
  if (busy && authCodes.has(h.host)) {
8857
8870
  const $scope31_id = _scope_id();
8858
- _html(`<div${_attr_class("_di")}><span${_attr_class("_dj")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_dl")}>${_text_resume($scope31_id, "d", h.host)}/login/device</a>${_el_resume($scope31_id, "c")}</span><code${_attr_class("_dk")}>${_text_resume($scope31_id, "f", authCodes.get(h.host))}</code></div>`);
8871
+ _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($scope31_id, "d", h.host)}/login/device</a>${_el_resume($scope31_id, "c")}</span><code${_attr_class("_dr")}>${_text_resume($scope31_id, "f", authCodes.get(h.host))}</code></div>`);
8859
8872
  _subscribe($authCodes__closures, writeScope($scope31_id, { Cgx: 1 }));
8860
8873
  return 0;
8861
8874
  }
@@ -8867,7 +8880,7 @@ var settings_page_default = _template("x", (input$3) => {
8867
8880
  _set_serialize_reason(30);
8868
8881
  const $childScope9 = _peek_scope_id();
8869
8882
  sso_auth_default({
8870
- class: ["_cA", "_dm"],
8883
+ class: ["_cp", "_dt"],
8871
8884
  items: hostSso$1,
8872
8885
  skipped: skippedSso,
8873
8886
  busy,
@@ -8901,23 +8914,23 @@ var settings_page_default = _template("x", (input$3) => {
8901
8914
  _if(() => {
8902
8915
  if (setup && !setup.github.length) {
8903
8916
  const $scope95_id = _scope_id();
8904
- _html(`<p${_attr_class("_bJ")}>Install the GitHub CLI below to sign in.</p>`);
8917
+ _html(`<p${_attr_class("_b6")}>Install the GitHub CLI below to sign in.</p>`);
8905
8918
  writeScope($scope95_id, {});
8906
8919
  return 0;
8907
8920
  }
8908
8921
  }, $scope0_id, "y", 1, 1, 1, 0, 1);
8909
- _html(`</section><section${_attr_class("_by")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bz")}><h2${_attr("id", machineId)}${_attr_class("_bM")}>Machine</h2></div><div${_attr_class(["_bD", "_cz"])}><div${_attr_class(["_cA", "_cE"])}><div${_attr_class(["_cF", { ["_cG"]: skillsOpen }])}><button${_attr_class("_cH")} aria-expanded=true>`);
8922
+ _html(`</section><section${_attr_class("_bV")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bW")}><h2${_attr("id", machineId)}${_attr_class("_b9")}>Machine</h2></div><div${_attr_class(["_b0", "_co"])}><div${_attr_class(["_cp", "_ct"])}><div${_attr_class(["_cu", { ["_cv"]: skillsOpen }])}><button${_attr_class("_cw")} aria-expanded=true>`);
8910
8923
  _set_serialize_reason(1);
8911
8924
  const $childScope10 = _peek_scope_id();
8912
8925
  icon_chevron_right_default({
8913
8926
  size: 12,
8914
- class: ["_cL", { ["_cM"]: skillsOpen }]
8927
+ class: ["_cA", { ["_cB"]: skillsOpen }]
8915
8928
  });
8916
- _html(`<span${_attr_class("_cI")}>Skills</span>`);
8929
+ _html(`<span${_attr_class("_cx")}>Skills</span>`);
8917
8930
  _if(() => {
8918
8931
  if (skills?.global.length) {
8919
8932
  const $scope52_id = _scope_id();
8920
- _html(`<span${_attr_class("_cJ")}>${_text_resume($scope52_id, "b", skills.global.length)} installed</span>`);
8933
+ _html(`<span${_attr_class("_cy")}>${_text_resume($scope52_id, "b", skills.global.length)} installed</span>`);
8921
8934
  writeScope($scope52_id, {});
8922
8935
  return 0;
8923
8936
  }
@@ -8937,7 +8950,7 @@ var settings_page_default = _template("x", (input$3) => {
8937
8950
  _if(() => {
8938
8951
  if (skills?.available && skills.agents.length) {
8939
8952
  const $scope15_id = _scope_id();
8940
- _html(`<div${_attr_class(["_ch", { ["_ci"]: true }])}><label${_attr_class(["_1", "_cj"])}>`);
8953
+ _html(`<div${_attr_class(["_cO", { ["_cP"]: true }])}><label${_attr_class(["_1", "_cQ"])}>`);
8941
8954
  _if(() => {
8942
8955
  if (skillSearching) {
8943
8956
  const $scope96_id = _scope_id();
@@ -8957,14 +8970,14 @@ var settings_page_default = _template("x", (input$3) => {
8957
8970
  _html(`<input${_attr_input_value($scope15_id, "d", skillQuery, searchSkills)}${_attr_class([
8958
8971
  "_Z",
8959
8972
  "_3",
8960
- "_ck"
8961
- ])} type=text placeholder="Search skills, or paste owner/repo…" aria-label="Search for a skill" autocomplete=off spellcheck=false>${_el_resume($scope15_id, "d")}</label><button${_attr_class([iconBtnRow, "_cl"])} type=button${_attr("hidden", true)} title="Close search" aria-label="Close search">`);
8973
+ "_cR"
8974
+ ])} type=text placeholder="Search skills, or paste owner/repo…" aria-label="Search for a skill" autocomplete=off spellcheck=false>${_el_resume($scope15_id, "d")}</label><button${_attr_class([iconBtnRow, "_cS"])} type=button${_attr("hidden", true)} title="Close search" aria-label="Close search">`);
8962
8975
  icon_xmark_default({ size: 12 });
8963
- _html(`</button>${_el_resume($scope15_id, "e")}<ul${_attr_class([pop$1, "_cn"])}${_attr("hidden", true)}>`);
8976
+ _html(`</button>${_el_resume($scope15_id, "e")}<ul${_attr_class([pop$1, "_cU"])}${_attr("hidden", true)}>`);
8964
8977
  _if(() => {
8965
8978
  if (skillSearching && !skillHits?.length && !looksLikeSource(skillQuery)) {
8966
8979
  const $scope98_id = _scope_id();
8967
- _html(`<li${_attr_class("_co")}>Searching skills.sh…</li>`);
8980
+ _html(`<li${_attr_class("_cV")}>Searching skills.sh…</li>`);
8968
8981
  writeScope($scope98_id, {});
8969
8982
  return 0;
8970
8983
  }
@@ -8972,11 +8985,11 @@ var settings_page_default = _template("x", (input$3) => {
8972
8985
  _if(() => {
8973
8986
  if (looksLikeSource(skillQuery)) {
8974
8987
  const $scope16_id = _scope_id();
8975
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_bE")}><span${_attr_class(["_c6", "_y"])}>${_text_resume($scope16_id, "d", skillQuery.trim())}</span>`);
8988
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_b1")}><span${_attr_class(["_dc", "_y"])}>${_text_resume($scope16_id, "d", skillQuery.trim())}</span>`);
8976
8989
  _if(() => {
8977
8990
  if (active.has(skillQuery.trim())) {
8978
8991
  const $scope17_id = _scope_id();
8979
- _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope17_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
8992
+ _html(`<span${_attr_class("_cY")}><span${_attr_class("_G")}></span>${_text_resume($scope17_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
8980
8993
  _subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope17_id, {
8981
8994
  Cgv: 3,
8982
8995
  Chk: 1
@@ -8984,7 +8997,7 @@ var settings_page_default = _template("x", (input$3) => {
8984
8997
  return 0;
8985
8998
  } else {
8986
8999
  const $scope99_id = _scope_id();
8987
- _html(`<span${_attr_class("_bH")}>Add straight from this source</span>`);
9000
+ _html(`<span${_attr_class("_b4")}>Add straight from this source</span>`);
8988
9001
  writeScope($scope99_id, {});
8989
9002
  return 1;
8990
9003
  }
@@ -9007,16 +9020,16 @@ var settings_page_default = _template("x", (input$3) => {
9007
9020
  _for_of(skillHits || [], (h) => {
9008
9021
  const $scope18_id = _scope_id();
9009
9022
  const $for_content5__h_installs__closures = /* @__PURE__ */ new Set();
9010
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_bE")}><span${_attr_class(["_c6", "_y"])}>${_text_resume($scope18_id, "d", h.name)}</span>`);
9023
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_b1")}><span${_attr_class(["_dc", "_y"])}>${_text_resume($scope18_id, "d", h.name)}</span>`);
9011
9024
  _if(() => {
9012
9025
  if (active.has(h.skillId)) {
9013
9026
  const $scope19_id = _scope_id();
9014
- _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope19_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
9027
+ _html(`<span${_attr_class("_cY")}><span${_attr_class("_G")}></span>${_text_resume($scope19_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
9015
9028
  _subscribe($active__closures, writeScope($scope19_id, { Cgv: 5 }));
9016
9029
  return 0;
9017
9030
  } else {
9018
9031
  const $scope100_id = _scope_id();
9019
- _html(`<span${_attr_class("_bH")}${_attr("title", h.source)}>${_text_resume($scope100_id, "b", h.source)}</span>${_el_resume($scope100_id, "a")}`);
9032
+ _html(`<span${_attr_class("_b4")}${_attr("title", h.source)}>${_text_resume($scope100_id, "b", h.source)}</span>${_el_resume($scope100_id, "a")}`);
9020
9033
  writeScope($scope100_id, {});
9021
9034
  return 1;
9022
9035
  }
@@ -9064,7 +9077,7 @@ var settings_page_default = _template("x", (input$3) => {
9064
9077
  _if(() => {
9065
9078
  if (skillHits && !skillHits.length && !skillSearching && !looksLikeSource(skillQuery)) {
9066
9079
  const $scope54_id = _scope_id();
9067
- _html(`<li${_attr_class("_co")}>No skills match "${_text_resume($scope54_id, "b", skillQuery, 2)}".</li>`);
9080
+ _html(`<li${_attr_class("_cV")}>No skills match "${_text_resume($scope54_id, "b", skillQuery, 2)}".</li>`);
9068
9081
  _subscribe($skillQuery__closures, writeScope($scope54_id, { Chk: 2 }));
9069
9082
  return 0;
9070
9083
  }
@@ -9079,22 +9092,22 @@ var settings_page_default = _template("x", (input$3) => {
9079
9092
  _if(() => {
9080
9093
  {
9081
9094
  const $scope20_id = _scope_id();
9082
- _html(`<div${_attr_class("_cK")}>`);
9095
+ _html(`<div${_attr_class("_cz")}>`);
9083
9096
  _if(() => {
9084
9097
  if (skills && !skills.agents.length) {
9085
9098
  const $scope103_id = _scope_id();
9086
- _html(`<p${_attr_class("_bJ")}>No agent CLIs are installed, so a skill would have nowhere to go. Install one from Agents above.</p>`);
9099
+ _html(`<p${_attr_class("_b6")}>No agent CLIs are installed, so a skill would have nowhere to go. Install one from Agents above.</p>`);
9087
9100
  writeScope($scope103_id, {});
9088
9101
  return 0;
9089
9102
  } else if (skills && !skills.available) {
9090
9103
  const $scope21_id = _scope_id();
9091
- _html(`<p${_attr_class("_bJ")}>The skills CLI is not installed, so skills can be listed but not added or removed. <button${_attr_class(btnSm)}${_attr("disabled", active.has("skills"))}>${_text_resume($scope21_id, "c", active.has("skills") ? "Installing…" : "Install it")}</button>${_el_resume($scope21_id, "b")}</p>`);
9104
+ _html(`<p${_attr_class("_b6")}>The skills CLI is not installed, so skills can be listed but not added or removed. <button${_attr_class(btnSm)}${_attr("disabled", active.has("skills"))}>${_text_resume($scope21_id, "c", active.has("skills") ? "Installing…" : "Install it")}</button>${_el_resume($scope21_id, "b")}</p>`);
9092
9105
  _script($scope21_id, "x60");
9093
9106
  _subscribe($active__closures, writeScope($scope21_id, { Cgv: 6 }));
9094
9107
  return 1;
9095
9108
  }
9096
9109
  }, $scope20_id, "b", 1, 1, 1, 0, 1);
9097
- _html(`<ul${_attr_class("_dU")}>`);
9110
+ _html(`<ul${_attr_class("_ch")}>`);
9098
9111
  _for_of(skills?.global || [], (s) => {
9099
9112
  const $scope22_id = _scope_id();
9100
9113
  const $for_content6__s_agents__closures = /* @__PURE__ */ new Set();
@@ -9170,7 +9183,7 @@ var settings_page_default = _template("x", (input$3) => {
9170
9183
  _if(() => {
9171
9184
  if (skills && !skills.global.length && skills.available && skills.agents.length) {
9172
9185
  const $scope108_id = _scope_id();
9173
- _html(`<p${_attr_class("_bJ")}>No skills installed. Search below, or paste an owner/repo.</p>`);
9186
+ _html(`<p${_attr_class("_b6")}>No skills installed. Search below, or paste an owner/repo.</p>`);
9174
9187
  writeScope($scope108_id, {});
9175
9188
  return 0;
9176
9189
  }
@@ -9180,14 +9193,14 @@ var settings_page_default = _template("x", (input$3) => {
9180
9193
  return 0;
9181
9194
  }
9182
9195
  }, $scope0_id, "ab", 1, 1, 1, 0, 1);
9183
- _html(`</div><div${_attr_class(["_cA", "_cE"])}><div${_attr_class(["_cF", { ["_cG"]: machineOpen }])}><button${_attr_class("_cH")} aria-expanded=${machineOpen ? "true" : "false"}>`);
9196
+ _html(`</div><div${_attr_class(["_cp", "_ct"])}><div${_attr_class(["_cu", { ["_cv"]: machineOpen }])}><button${_attr_class("_cw")} aria-expanded=${machineOpen ? "true" : "false"}>`);
9184
9197
  _set_serialize_reason(1);
9185
9198
  const $childScope12 = _peek_scope_id();
9186
9199
  icon_chevron_right_default({
9187
9200
  size: 12,
9188
- class: ["_cL", { ["_cM"]: machineOpen }]
9201
+ class: ["_cA", { ["_cB"]: machineOpen }]
9189
9202
  });
9190
- _html(`<span${_attr_class("_cI")}>Tools</span><span${_attr_class("_cJ")}>${_text_resume($scope0_id, "ai", tools.filter((t) => t.installed).length)} installed ${_text_resume($scope0_id, "aj", missingCount ? `${_to_text(" · ")}${_to_text(missingCount)} missing` : "", 2)}${_text_resume($scope0_id, "ak", outdatedIds.length ? `${_to_text(" · ")}${_to_text(outdatedIds.length)} outdated` : "", 2)}</span></button>${_el_resume($scope0_id, "ae")}`);
9203
+ _html(`<span${_attr_class("_cx")}>Tools</span><span${_attr_class("_cy")}>${_text_resume($scope0_id, "ai", tools.filter((t) => t.installed).length)} installed ${_text_resume($scope0_id, "aj", missingCount ? `${_to_text(" · ")}${_to_text(missingCount)} missing` : "", 2)}${_text_resume($scope0_id, "ak", outdatedIds.length ? `${_to_text(" · ")}${_to_text(outdatedIds.length)} outdated` : "", 2)}</span></button>${_el_resume($scope0_id, "ae")}`);
9191
9204
  _if(() => {
9192
9205
  if (outdatedIds.length > 1) {
9193
9206
  const $scope23_id = _scope_id();
@@ -9220,7 +9233,7 @@ var settings_page_default = _template("x", (input$3) => {
9220
9233
  _if(() => {
9221
9234
  if (setup && setup.mise.installed) {
9222
9235
  const $scope25_id = _scope_id();
9223
- _html(`<div${_attr_class(["_ch", { ["_ci"]: true }])}><label${_attr_class(["_1", "_cj"])}>`);
9236
+ _html(`<div${_attr_class(["_cO", { ["_cP"]: true }])}><label${_attr_class(["_1", "_cQ"])}>`);
9224
9237
  _if(() => {
9225
9238
  if (searching) {
9226
9239
  const $scope109_id = _scope_id();
@@ -9240,14 +9253,14 @@ var settings_page_default = _template("x", (input$3) => {
9240
9253
  _html(`<input${_attr_input_value($scope25_id, "d", query, search)}${_attr_class([
9241
9254
  "_Z",
9242
9255
  "_3",
9243
- "_ck"
9244
- ])} type=text placeholder="Search the mise registry…" aria-label="Search the mise registry" autocomplete=off>${_el_resume($scope25_id, "d")}</label><button${_attr_class([iconBtnRow, "_cl"])} type=button${_attr("hidden", true)} title="Close search" aria-label="Close search">`);
9256
+ "_cR"
9257
+ ])} type=text placeholder="Search the mise registry…" aria-label="Search the mise registry" autocomplete=off>${_el_resume($scope25_id, "d")}</label><button${_attr_class([iconBtnRow, "_cS"])} type=button${_attr("hidden", true)} title="Close search" aria-label="Close search">`);
9245
9258
  icon_xmark_default({ size: 12 });
9246
- _html(`</button>${_el_resume($scope25_id, "e")}<ul${_attr_class([pop$1, "_cn"])}${_attr("hidden", true)}>`);
9259
+ _html(`</button>${_el_resume($scope25_id, "e")}<ul${_attr_class([pop$1, "_cU"])}${_attr("hidden", true)}>`);
9247
9260
  _if(() => {
9248
9261
  if (searching && !hits?.length) {
9249
9262
  const $scope111_id = _scope_id();
9250
- _html(`<li${_attr_class("_co")}>Searching the mise registry…</li>`);
9263
+ _html(`<li${_attr_class("_cV")}>Searching the mise registry…</li>`);
9251
9264
  writeScope($scope111_id, {});
9252
9265
  return 0;
9253
9266
  }
@@ -9255,23 +9268,23 @@ var settings_page_default = _template("x", (input$3) => {
9255
9268
  _if(() => {
9256
9269
  if (hits && !hits.length && !searching) {
9257
9270
  const $scope44_id = _scope_id();
9258
- _html(`<li${_attr_class("_co")}>No tools match "${_text_resume($scope44_id, "b", query, 2)}".</li>`);
9271
+ _html(`<li${_attr_class("_cV")}>No tools match "${_text_resume($scope44_id, "b", query, 2)}".</li>`);
9259
9272
  _subscribe($query__closures, writeScope($scope44_id, {}));
9260
9273
  return 0;
9261
9274
  }
9262
9275
  }, $scope25_id, "i", 1, 1, 1, 0, 1);
9263
9276
  _for_of(hits || [], (h) => {
9264
9277
  const $scope26_id = _scope_id();
9265
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_bE")}><span${_attr_class(["_c6", "_y"])}>${_text_resume($scope26_id, "d", h.name)}</span>`);
9278
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_b1")}><span${_attr_class(["_dc", "_y"])}>${_text_resume($scope26_id, "d", h.name)}</span>`);
9266
9279
  _if(() => {
9267
9280
  if (active.has(h.name)) {
9268
9281
  const $scope27_id = _scope_id();
9269
- _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope27_id, "c", active.get(h.name) || "Starting…")}</span>`);
9282
+ _html(`<span${_attr_class("_cY")}><span${_attr_class("_G")}></span>${_text_resume($scope27_id, "c", active.get(h.name) || "Starting…")}</span>`);
9270
9283
  _subscribe($active__closures, writeScope($scope27_id, { Cgv: 9 }));
9271
9284
  return 0;
9272
9285
  } else if (h.description) {
9273
9286
  const $scope112_id = _scope_id();
9274
- _html(`<span${_attr_class("_bH")}${_attr("title", h.description)}>${_text_resume($scope112_id, "b", h.description)}</span>${_el_resume($scope112_id, "a")}`);
9287
+ _html(`<span${_attr_class("_b4")}${_attr("title", h.description)}>${_text_resume($scope112_id, "b", h.description)}</span>${_el_resume($scope112_id, "a")}`);
9275
9288
  writeScope($scope112_id, {});
9276
9289
  return 1;
9277
9290
  }
@@ -9316,11 +9329,11 @@ var settings_page_default = _template("x", (input$3) => {
9316
9329
  _if(() => {
9317
9330
  if (machineOpen) {
9318
9331
  const $scope6_id = _scope_id();
9319
- _html(`<div${_attr_class("_cK")}>`);
9332
+ _html(`<div${_attr_class("_cz")}>`);
9320
9333
  _if(() => {
9321
9334
  if (setup && !setup.mise.installed) {
9322
9335
  const $scope28_id = _scope_id();
9323
- _html(`<p${_attr_class("_bJ")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${_text_resume($scope28_id, "c", active.has("mise") ? "Installing…" : "Install mise")}</button>${_el_resume($scope28_id, "b")}</p>`);
9336
+ _html(`<p${_attr_class("_b6")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${_text_resume($scope28_id, "c", active.has("mise") ? "Installing…" : "Install mise")}</button>${_el_resume($scope28_id, "b")}</p>`);
9324
9337
  _script($scope28_id, "x71");
9325
9338
  _subscribe($active__closures, writeScope($scope28_id, { Cgv: 10 }));
9326
9339
  return 0;
@@ -9330,11 +9343,11 @@ var settings_page_default = _template("x", (input$3) => {
9330
9343
  _if(() => {
9331
9344
  if (self) {
9332
9345
  const $scope48_id = _scope_id();
9333
- _html(`<li${_attr_class(toolRow)}><span${_attr_class(["_c6", "_y"])}>work</span>`);
9346
+ _html(`<li${_attr_class(toolRow)}><span${_attr_class(["_dc", "_y"])}>work</span>`);
9334
9347
  _if(() => {
9335
9348
  if (selfUpdating) {
9336
9349
  const $scope114_id = _scope_id();
9337
- _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
9350
+ _html(`<span${_attr_class("_cY")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
9338
9351
  writeScope($scope114_id, {});
9339
9352
  return 0;
9340
9353
  } else {
@@ -9348,7 +9361,7 @@ var settings_page_default = _template("x", (input$3) => {
9348
9361
  return 0;
9349
9362
  } else if (self.latest && self.latest !== self.version) {
9350
9363
  const $scope50_id = _scope_id();
9351
- _html(`<button${_attr_class([btnSm, "_c9"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
9364
+ _html(`<button${_attr_class([btnSm, "_df"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
9352
9365
  icon_arrow_up_default({ size: 12 });
9353
9366
  _html(` ${_text_resume($scope50_id, "c", self.latest, 2)}</button>${_el_resume($scope50_id, "a")}`);
9354
9367
  _script($scope50_id, "x72");
@@ -9392,11 +9405,11 @@ var settings_page_default = _template("x", (input$3) => {
9392
9405
  const $for_content8__t_label__closures = /* @__PURE__ */ new Set();
9393
9406
  const $for_content8__t_newest__closures = /* @__PURE__ */ new Set();
9394
9407
  const $for_content8__t_id__closures = /* @__PURE__ */ new Set();
9395
- _html(`<li${_attr_class([toolRow, { ["_c5"]: !t.installed }])}><span${_attr_class(["_c6", "_y"])}>${_text_resume($scope29_id, "c", t.label)}</span>`);
9408
+ _html(`<li${_attr_class([toolRow, { ["_db"]: !t.installed }])}><span${_attr_class(["_dc", "_y"])}>${_text_resume($scope29_id, "c", t.label)}</span>`);
9396
9409
  _if(() => {
9397
9410
  if (active.has(t.id)) {
9398
9411
  const $scope30_id = _scope_id();
9399
- _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope30_id, "c", active.get(t.id) || "Starting…")}</span>`);
9412
+ _html(`<span${_attr_class("_cY")}><span${_attr_class("_G")}></span>${_text_resume($scope30_id, "c", active.get(t.id) || "Starting…")}</span>`);
9400
9413
  _subscribe($active__closures, writeScope($scope30_id, { Cgv: 12 }));
9401
9414
  return 0;
9402
9415
  } else if (t.installed) {
@@ -9404,11 +9417,11 @@ var settings_page_default = _template("x", (input$3) => {
9404
9417
  _if(() => {
9405
9418
  if (t.version) {
9406
9419
  const $scope41_id = _scope_id();
9407
- _html(`<button${_attr_class(["_c8", "_y"])}${_attr("title", `${t.path || t.label}${aliasPin(t) ? `, pinned to ${t.pin}` : ""}. Pin a version`)}>v${_text_resume($scope41_id, "b", t.version, 2)}`);
9420
+ _html(`<button${_attr_class(["_de", "_y"])}${_attr("title", `${t.path || t.label}${aliasPin(t) ? `, pinned to ${t.pin}` : ""}. Pin a version`)}>v${_text_resume($scope41_id, "b", t.version, 2)}`);
9408
9421
  _if(() => {
9409
9422
  if (aliasPin(t)) {
9410
9423
  const $scope118_id = _scope_id();
9411
- _html(`<span${_attr_class("_c7")}>${_text_resume($scope118_id, "b", t.pin)}</span>`);
9424
+ _html(`<span${_attr_class("_dd")}>${_text_resume($scope118_id, "b", t.pin)}</span>`);
9412
9425
  _subscribe($for_content8__t_pin__closures, writeScope($scope118_id, { Ca0: 1 }));
9413
9426
  return 0;
9414
9427
  }
@@ -9427,7 +9440,7 @@ var settings_page_default = _template("x", (input$3) => {
9427
9440
  _if(() => {
9428
9441
  if (outdated(t)) {
9429
9442
  const $scope60_id = _scope_id();
9430
- _html(`<button${_attr_class([btnSm, "_c9"])}${_attr("title", `Update to v${t.latest}`)}>`);
9443
+ _html(`<button${_attr_class([btnSm, "_df"])}${_attr("title", `Update to v${t.latest}`)}>`);
9431
9444
  icon_arrow_up_default({ size: 12 });
9432
9445
  _html(` ${_text_resume($scope60_id, "c", t.latest, 2)}</button>${_el_resume($scope60_id, "a")}`);
9433
9446
  _script($scope60_id, "x74");
@@ -9435,7 +9448,7 @@ var settings_page_default = _template("x", (input$3) => {
9435
9448
  return 0;
9436
9449
  } else if (t.newest) {
9437
9450
  const $scope61_id = _scope_id();
9438
- _html(`<button${_attr_class(["_c8", "_y"])}${_attr("title", `v${t.newest} is out; ${t.pin} holds ${t.label} at v${t.version}. Pin v${t.newest} instead`)}>${_text_resume($scope61_id, "b", t.newest)} available</button>${_el_resume($scope61_id, "a")}`);
9451
+ _html(`<button${_attr_class(["_de", "_y"])}${_attr("title", `v${t.newest} is out; ${t.pin} holds ${t.label} at v${t.version}. Pin v${t.newest} instead`)}>${_text_resume($scope61_id, "b", t.newest)} available</button>${_el_resume($scope61_id, "a")}`);
9439
9452
  _script($scope61_id, "x75");
9440
9453
  _subscribe($for_content8__t_newest__closures, _subscribe($for_content8__t_pin__closures, _subscribe($for_content8__t_version__closures, _subscribe($for_content8__t_label__closures, writeScope($scope61_id, {
9441
9454
  Cw: 1,
@@ -9550,9 +9563,9 @@ var settings_page_default = _template("x", (input$3) => {
9550
9563
  label: "Dark"
9551
9564
  }
9552
9565
  ];
9553
- _html(`</div></div></section><section${_attr_class("_by")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bz")}><h2${_attr("id", appearanceId)}${_attr_class("_bM")}>Appearance</h2></div><div${_attr_class(["_bD", "_dn"])}><label${_attr_class("_do")}><span${_attr_class("_dp")}>Name</span><input${_attr_input_value($scope0_id, "aw", input$3.instance.name, _resume(function(v) {
9566
+ _html(`</div></div></section><section${_attr_class("_bV")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bW")}><h2${_attr("id", appearanceId)}${_attr_class("_b9")}>Appearance</h2></div><div${_attr_class(["_b0", "_du"])}><label${_attr_class("_dv")}><span${_attr_class("_dw")}>Name</span><input${_attr_input_value($scope0_id, "aw", input$3.instance.name, _resume(function(v) {
9554
9567
  setInstance({ name: v });
9555
- }, "x4", $scope0_id))}${_attr_class(["_Z", "_dq"])} type=text placeholder="Tab title" maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "aw")}</label><div${_attr_class("_do")}><span${_attr_class("_dp")}>Theme</span><span${_attr_class("_ds")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
9568
+ }, "x4", $scope0_id))}${_attr_class(["_Z", "_dx"])} type=text placeholder="Tab title" maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "aw")}</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">`);
9556
9569
  _for_of(themeOpts, (opt) => {
9557
9570
  const $scope51_id = _scope_id();
9558
9571
  _html(`<button type=button${_attr_class(["_bg", { ["_bf"]: themeMode === opt.id }])} role=radio aria-checked=${themeMode === opt.id ? "true" : "false"}>${_escape(opt.label)}</button>${_el_resume($scope51_id, "a")}`);
@@ -9562,25 +9575,25 @@ var settings_page_default = _template("x", (input$3) => {
9562
9575
  _: _scope_with_id($scope0_id)
9563
9576
  });
9564
9577
  }, "id", $scope0_id, "b0", 1, 0, 1, 0, 1);
9565
- _html(`</span><span${_attr_class(["_o", "_dt"])}>`);
9578
+ _html(`</span><span${_attr_class(["_o", "_dA"])}>`);
9566
9579
  _attr_select_value($scope0_id, "b2", themeMode, _resume(function(v) {
9567
9580
  setThemeMode(v);
9568
9581
  }, "x5", $scope0_id), () => {
9569
- _html(`<select${_attr_class(["_p", "_du"])} aria-label="Color theme">`);
9582
+ _html(`<select${_attr_class(["_p", "_dB"])} aria-label="Color theme">`);
9570
9583
  forOf(themeOpts, (opt) => {
9571
9584
  _scope_id();
9572
9585
  _html(`<option${_attr_option_value(opt.id)}>${_escape(opt.label)}</option>`);
9573
9586
  });
9574
9587
  _html("</select>");
9575
9588
  });
9576
- _html(`${_el_resume($scope0_id, "b2")}</span></span></div><div${_attr_class("_do")}><span${_attr_class("_dp")}>Accent</span><span${_attr_class(swatches)} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
9577
- "_dA",
9578
- "_dC",
9579
- { ["_dB"]: !input$3.instance.accent }
9589
+ _html(`${_el_resume($scope0_id, "b2")}</span></span></div><div${_attr_class("_dv")}><span${_attr_class("_dw")}>Accent</span><span${_attr_class(swatches)} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
9590
+ "_dH",
9591
+ "_dJ",
9592
+ { ["_dI"]: !input$3.instance.accent }
9580
9593
  ])} role=radio aria-checked=${!input$3.instance.accent ? "true" : "false"} title="Default (blue)" aria-label="Default (blue)"></button>${_el_resume($scope0_id, "b6")}`);
9581
9594
  _for_of(ACCENT_PRESETS, (p) => {
9582
9595
  const $scope4_id = _scope_id();
9583
- _html(`<button type=button${_attr_class(["_dA", { ["_dB"]: input$3.instance.accent === p.value }])}${_attr_style(`--swatch:${p.value}`)} role=radio aria-checked=${input$3.instance.accent === p.value ? "true" : "false"}${_attr("title", p.name)}${_attr("aria-label", p.name)}></button>${_el_resume($scope4_id, "a")}`);
9596
+ _html(`<button type=button${_attr_class(["_dH", { ["_dI"]: input$3.instance.accent === p.value }])}${_attr_style(`--swatch:${p.value}`)} role=radio aria-checked=${input$3.instance.accent === p.value ? "true" : "false"}${_attr("title", p.name)}${_attr("aria-label", p.name)}></button>${_el_resume($scope4_id, "a")}`);
9584
9597
  _script($scope4_id, "x79");
9585
9598
  writeScope($scope4_id, {
9586
9599
  d: p?.value,
@@ -9589,21 +9602,21 @@ var settings_page_default = _template("x", (input$3) => {
9589
9602
  }, "value", $scope0_id, "b7", $sg__input_instance_accent, 0, 1, 0, 1);
9590
9603
  const customOn = !!input$3.instance.accent && !ACCENT_PRESETS.some((p) => p.value === input$3.instance.accent);
9591
9604
  _html(`<label${_attr_class([
9592
- "_dA",
9593
- "_dD",
9594
- { ["_dB"]: customOn }
9605
+ "_dH",
9606
+ "_dK",
9607
+ { ["_dI"]: customOn }
9595
9608
  ])}${customOn ? _attr_style(`--swatch:${input$3.instance.accent}`) : ""} title="Custom colour"><input${_attr_input_value($scope0_id, "b9", input$3.instance.accent || "#3556d8", _resume(function(v) {
9596
9609
  setInstance({ accent: v });
9597
- }, "x6", $scope0_id))}${_attr_class("_dE")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "b9")}<span aria-hidden=true>+</span></label>${_el_resume($scope0_id, "b8", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_by")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_bz")}><h2${_attr("id", backupId)}${_attr_class("_bM")}>Backup</h2></div><div${_attr_class(["_bD", "_cz"])}><div${_attr_class("_cA")}><div${_attr_class("_dF")}><div${_attr_class("_bE")}>`);
9610
+ }, "x6", $scope0_id))}${_attr_class("_dL")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "b9")}<span aria-hidden=true>+</span></label>${_el_resume($scope0_id, "b8", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_bV")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_bW")}><h2${_attr("id", backupId)}${_attr_class("_b9")}>Backup</h2></div><div${_attr_class(["_b0", "_co"])}><div${_attr_class("_cp")}><div${_attr_class("_dM")}><div${_attr_class("_b1")}>`);
9598
9611
  _if(() => {
9599
9612
  if (backupBusy === "preflight") {
9600
9613
  const $scope66_id = _scope_id();
9601
- _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope66_id, "c", backupLine || "Checking workspaces…")}</span>`);
9614
+ _html(`<span${_attr_class("_cY")}><span${_attr_class("_G")}></span>${_text_resume($scope66_id, "c", backupLine || "Checking workspaces…")}</span>`);
9602
9615
  writeScope($scope66_id, {});
9603
9616
  return 0;
9604
9617
  } else {
9605
9618
  const $scope126_id = _scope_id();
9606
- _html(`<span${_attr_class("_bH")}>Save workspaces, settings, skills and tool pins to a file. Code stays on GitHub.</span>`);
9619
+ _html(`<span${_attr_class("_b4")}>Save workspaces, settings, skills and tool pins to a file. Code stays on GitHub.</span>`);
9607
9620
  writeScope($scope126_id, {});
9608
9621
  return 1;
9609
9622
  }
@@ -9621,7 +9634,7 @@ var settings_page_default = _template("x", (input$3) => {
9621
9634
  _if(() => {
9622
9635
  if (preflight && !backupBusy) {
9623
9636
  const $scope68_id = _scope_id();
9624
- _html(`<div${_attr_class("_dH")}><p${_attr_class("_dI")}>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("_dI")}>Not in the file: `);
9637
+ _html(`<div${_attr_class("_dO")}><p${_attr_class("_dP")}>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("_dP")}>Not in the file: `);
9625
9638
  _if(() => {
9626
9639
  if (preflight.unpushed) {
9627
9640
  const $scope69_id = _scope_id();
@@ -9638,15 +9651,15 @@ var settings_page_default = _template("x", (input$3) => {
9638
9651
  return 0;
9639
9652
  }
9640
9653
  }, $scope68_id, "m");
9641
- _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("_dJ")}>`);
9654
+ _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("_dQ")}>`);
9642
9655
  _for_of(preflight.workspaces, (w) => {
9643
9656
  const $scope128_id = _scope_id();
9644
9657
  const $for_content18__w_name__closures = /* @__PURE__ */ new Set();
9645
- _html(`<li${_attr_class("_dK")}><span${_attr_class("_bF")}>${_text_resume($scope128_id, "c", w.name)}</span><ul${_attr_class("_dJ")}>`);
9658
+ _html(`<li${_attr_class("_dR")}><span${_attr_class("_b2")}>${_text_resume($scope128_id, "c", w.name)}</span><ul${_attr_class("_dQ")}>`);
9646
9659
  _for_of(w.repos, (r) => {
9647
9660
  const $scope129_id = _scope_id();
9648
9661
  const $for_content19__r_more__closures = /* @__PURE__ */ new Set();
9649
- _html(`<li${_attr_class("_dL")}><span${_attr_class("_dM")}><span${_attr_class("_y")}>${_text_resume($scope129_id, "d", r.worktree)}/</span>`);
9662
+ _html(`<li${_attr_class("_dS")}><span${_attr_class("_dT")}><span${_attr_class("_y")}>${_text_resume($scope129_id, "d", r.worktree)}/</span>`);
9650
9663
  _for_of(r.unpushed, (b) => {
9651
9664
  const $scope130_id = _scope_id();
9652
9665
  _html(`<span${_attr_class(["_N", tone.warn])}${_attr("title", `${b.branch}: ${b.count} commit${b.count === 1 ? "" : "s"} origin does not have`)}>${_text_resume($scope130_id, "b", b.count)} unpushed `);
@@ -9665,10 +9678,10 @@ var settings_page_default = _template("x", (input$3) => {
9665
9678
  _if(() => {
9666
9679
  if (r.modified.length || r.untracked.length || r.ignored.length) {
9667
9680
  const $scope131_id = _scope_id();
9668
- _html(`<ul${_attr_class("_dN")}>`);
9681
+ _html(`<ul${_attr_class("_dU")}>`);
9669
9682
  _for_of(r.modified, (f) => {
9670
9683
  const $scope134_id = _scope_id();
9671
- _html(`<li${_attr_class("_dO")}><span${_attr_class([
9684
+ _html(`<li${_attr_class("_dV")}><span${_attr_class([
9672
9685
  "_N",
9673
9686
  "_P",
9674
9687
  tone.warn
@@ -9677,18 +9690,18 @@ var settings_page_default = _template("x", (input$3) => {
9677
9690
  }, (f) => f, $scope131_id, "b", 1, 1, 1, 0, 1);
9678
9691
  _for_of(r.untracked, (f) => {
9679
9692
  const $scope135_id = _scope_id();
9680
- _html(`<li${_attr_class("_dO")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_bb"])}>${_text_resume($scope135_id, "d", f)}</span></li>`);
9693
+ _html(`<li${_attr_class("_dV")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_bb"])}>${_text_resume($scope135_id, "d", f)}</span></li>`);
9681
9694
  writeScope($scope135_id, {});
9682
9695
  }, (f) => f, $scope131_id, "c", 1, 1, 1, 0, 1);
9683
9696
  _for_of(r.ignored, (f) => {
9684
9697
  const $scope136_id = _scope_id();
9685
- _html(`<li${_attr_class("_dO")}><span${_attr_class(["_N", "_P"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_y", "_bb"])}>${_text_resume($scope136_id, "d", f)}</span></li>`);
9698
+ _html(`<li${_attr_class("_dV")}><span${_attr_class(["_N", "_P"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_y", "_bb"])}>${_text_resume($scope136_id, "d", f)}</span></li>`);
9686
9699
  writeScope($scope136_id, {});
9687
9700
  }, (f) => f, $scope131_id, "d", 1, 1, 1, 0, 1);
9688
9701
  _if(() => {
9689
9702
  if (r.more) {
9690
9703
  const $scope132_id = _scope_id();
9691
- _html(`<li${_attr_class(["_dO", "_x"])}>+${_text_resume($scope132_id, "b", r.more, 2)} more</li>`);
9704
+ _html(`<li${_attr_class(["_dV", "_x"])}>+${_text_resume($scope132_id, "b", r.more, 2)} more</li>`);
9692
9705
  _subscribe($for_content19__r_more__closures, writeScope($scope132_id, {}));
9693
9706
  return 0;
9694
9707
  }
@@ -9713,27 +9726,27 @@ var settings_page_default = _template("x", (input$3) => {
9713
9726
  i: $for_content18__w_name__closures
9714
9727
  });
9715
9728
  }, "id", $scope68_id, "o", 1, 1, 1, "</ul>", 1);
9716
- _html(`<div${_attr_class("_dP")}><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>`);
9729
+ _html(`<div${_attr_class("_dW")}><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>`);
9717
9730
  _script($scope68_id, "x81");
9718
9731
  writeScope($scope68_id, {});
9719
9732
  return 0;
9720
9733
  }
9721
9734
  }, $scope0_id, "bi", 1, 1, 1, 0, 1);
9722
- _html(`</div><div${_attr_class("_cA")}><div${_attr_class("_dF")}><div${_attr_class("_bE")}>`);
9735
+ _html(`</div><div${_attr_class("_cp")}><div${_attr_class("_dM")}><div${_attr_class("_b1")}>`);
9723
9736
  _if(() => {
9724
9737
  if (backupBusy === "restore") {
9725
9738
  const $scope67_id = _scope_id();
9726
- _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope67_id, "c", backupLine || "Restoring…")}</span>`);
9739
+ _html(`<span${_attr_class("_cY")}><span${_attr_class("_G")}></span>${_text_resume($scope67_id, "c", backupLine || "Restoring…")}</span>`);
9727
9740
  writeScope($scope67_id, {});
9728
9741
  return 0;
9729
9742
  } else if (restoreDone) {
9730
9743
  const $scope75_id = _scope_id();
9731
- _html(`<span${_attr_class("_bH")}>${_text_resume($scope75_id, "b", restoreDone)}</span>`);
9744
+ _html(`<span${_attr_class("_b4")}>${_text_resume($scope75_id, "b", restoreDone)}</span>`);
9732
9745
  writeScope($scope75_id, {});
9733
9746
  return 1;
9734
9747
  } else {
9735
9748
  const $scope137_id = _scope_id();
9736
- _html(`<span${_attr_class("_bH")}>Load a backup file. Repos clone in the background.</span>`);
9749
+ _html(`<span${_attr_class("_b4")}>Load a backup file. Repos clone in the background.</span>`);
9737
9750
  writeScope($scope137_id, {});
9738
9751
  return 2;
9739
9752
  }
@@ -9741,7 +9754,7 @@ var settings_page_default = _template("x", (input$3) => {
9741
9754
  _if(() => {
9742
9755
  if (!restorePreview && backupBusy !== "restore") {
9743
9756
  const $scope77_id = _scope_id();
9744
- _html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_dG")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope77_id, "b")}</label>`);
9757
+ _html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_dN")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope77_id, "b")}</label>`);
9745
9758
  _script($scope77_id, "x82");
9746
9759
  writeScope($scope77_id, {});
9747
9760
  return 0;
@@ -9752,14 +9765,14 @@ var settings_page_default = _template("x", (input$3) => {
9752
9765
  if (restorePreview && backupBusy !== "restore") {
9753
9766
  const $scope70_id = _scope_id();
9754
9767
  const { preview } = restorePreview;
9755
- _html(`<div${_attr_class("_dH")}><p${_attr_class("_dI")}>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>`);
9768
+ _html(`<div${_attr_class("_dO")}><p${_attr_class("_dP")}>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>`);
9756
9769
  _if(() => {
9757
9770
  if (preview.workspaces.length) {
9758
9771
  const $scope71_id = _scope_id();
9759
9772
  _html(`<ul${_attr_class(checkList)}>`);
9760
9773
  _for_of(preview.workspaces, (w) => {
9761
9774
  const $scope72_id = _scope_id();
9762
- _html(`<li><label${_attr_class(["_dR", { ["_dT"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_dS")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_bE")}><span${_attr_class("_bG")}><span${_attr_class("_bF")}>${_text_resume($scope72_id, "f", w.name)}</span>`);
9775
+ _html(`<li><label${_attr_class(["_dY", { ["_d0"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_dZ")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_b1")}><span${_attr_class("_b3")}><span${_attr_class("_b2")}>${_text_resume($scope72_id, "f", w.name)}</span>`);
9763
9776
  _if(() => {
9764
9777
  if (w.status === "archived") {
9765
9778
  const $scope141_id = _scope_id();
@@ -9781,7 +9794,7 @@ var settings_page_default = _template("x", (input$3) => {
9781
9794
  return 1;
9782
9795
  }
9783
9796
  }, $scope72_id, "h", 1, 1, 1, 0, 1);
9784
- _html(`</span><span${_attr_class("_bH")}>${_text_resume($scope72_id, "j", w.repos.join(", ") || "no repos")}</span></span></label>${_el_resume($scope72_id, "a")}</li>`);
9797
+ _html(`</span><span${_attr_class("_b4")}>${_text_resume($scope72_id, "j", w.repos.join(", ") || "no repos")}</span></span></label>${_el_resume($scope72_id, "a")}</li>`);
9785
9798
  _script($scope72_id, "x83");
9786
9799
  _subscribe($restoreWs__closures, writeScope($scope72_id, {
9787
9800
  n: w?.unknownHost,
@@ -9792,7 +9805,7 @@ var settings_page_default = _template("x", (input$3) => {
9792
9805
  return 0;
9793
9806
  } else {
9794
9807
  const $scope139_id = _scope_id();
9795
- _html(`<p${_attr_class("_bJ")}>No workspaces in this file.</p>`);
9808
+ _html(`<p${_attr_class("_b6")}>No workspaces in this file.</p>`);
9796
9809
  writeScope($scope139_id, {});
9797
9810
  return 1;
9798
9811
  }
@@ -9832,7 +9845,7 @@ var settings_page_default = _template("x", (input$3) => {
9832
9845
  _if(() => {
9833
9846
  if (p.total) {
9834
9847
  const $scope74_id = _scope_id();
9835
- _html(`<li><label${_attr_class(["_dR", { ["_dT"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_dS")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_bE")}><span${_attr_class("_bF")}>${_text_resume($scope74_id, "e", p.label)}</span><span${_attr_class("_bH")}>`);
9848
+ _html(`<li><label${_attr_class(["_dY", { ["_d0"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_dZ")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_b1")}><span${_attr_class("_b2")}>${_text_resume($scope74_id, "e", p.label)}</span><span${_attr_class("_b4")}>`);
9836
9849
  _if(() => {
9837
9850
  if (p.key === "settings") {
9838
9851
  const $scope138_id = _scope_id();
@@ -9879,7 +9892,7 @@ var settings_page_default = _template("x", (input$3) => {
9879
9892
  i: $for_content11__p_total__closures
9880
9893
  });
9881
9894
  }, "key", $scope70_id, "h");
9882
- _html(`</ul><div${_attr_class("_dP")}><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>`);
9895
+ _html(`</ul><div${_attr_class("_dW")}><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>`);
9883
9896
  _script($scope70_id, "x85");
9884
9897
  writeScope($scope70_id, {});
9885
9898
  return 0;
@@ -10081,13 +10094,13 @@ async function enablePush() {
10081
10094
  const reg = await registration();
10082
10095
  let sub = await reg.pushManager.getSubscription();
10083
10096
  if (!sub) {
10084
- const { publicKey } = await api$9("/api/push");
10097
+ const { publicKey } = await api$10("/api/push");
10085
10098
  sub = await reg.pushManager.subscribe({
10086
10099
  userVisibleOnly: true,
10087
10100
  applicationServerKey: vapidKey(publicKey)
10088
10101
  });
10089
10102
  }
10090
- await api$9("/api/push", {
10103
+ await api$10("/api/push", {
10091
10104
  method: "POST",
10092
10105
  headers: { "content-type": "application/json" },
10093
10106
  body: JSON.stringify(sub.toJSON())
@@ -10097,7 +10110,7 @@ async function enablePush() {
10097
10110
  async function disablePush() {
10098
10111
  const sub = await pushSubscription();
10099
10112
  if (!sub) return;
10100
- await api$9(`/api/push?endpoint=${encodeURIComponent(sub.endpoint)}`, { method: "DELETE" }).catch(() => {});
10113
+ await api$10(`/api/push?endpoint=${encodeURIComponent(sub.endpoint)}`, { method: "DELETE" }).catch(() => {});
10101
10114
  await sub.unsubscribe();
10102
10115
  }
10103
10116
  async function registration() {
@@ -10108,9 +10121,9 @@ function vapidKey(base64) {
10108
10121
  const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
10109
10122
  return Uint8Array.from(raw, (c) => c.charCodeAt(0));
10110
10123
  }
10111
- var iconBtn = "_bO _l";
10112
- var settingsDot = "_bP _bc";
10113
- var navToggle = "_bT _l";
10124
+ var iconBtn = "_by _l";
10125
+ var settingsDot = "_bz _bc";
10126
+ var navToggle = "_bD _l";
10114
10127
  _template("Q", (input) => {
10115
10128
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
10116
10129
  const $scope0_id = _scope_id();
@@ -10153,16 +10166,16 @@ var ARM_MS = 3500;
10153
10166
  function disarmLater(fn) {
10154
10167
  return setTimeout(fn, ARM_MS);
10155
10168
  }
10156
- var railBtn = "_fK _l";
10157
- var wsBtn = "_fP _I";
10158
- var rowIcon = "_fS _4 _l";
10159
- var close = "_fT _7 _l _8";
10160
- var sessRename$1 = "_f5 _J";
10161
- var sessBtn$1 = "_f7 _I";
10169
+ var railBtn = "_eT _l";
10170
+ var wsBtn = "_eY _I";
10171
+ var rowIcon = "_e1 _4 _l";
10172
+ var close = "_e2 _7 _l _8";
10173
+ var sessRename$1 = "_fd _J";
10174
+ var sessBtn$1 = "_ff _I";
10162
10175
  //#endregion
10163
10176
  //#region src/styles/session-pop.css.ts
10164
- var sessionPop = "_fG __";
10165
- var sessionPopBtn = "_fH _I";
10177
+ var sessionPop = "_eP __";
10178
+ var sessionPopBtn = "_eQ _I";
10166
10179
  //#endregion
10167
10180
  //#region src/client/status.ts
10168
10181
  /** Workspace activity dot from its polled status counts. */
@@ -10229,22 +10242,22 @@ var usage_pcts_default = _template("H", (input) => {
10229
10242
  if (windows.length) {
10230
10243
  const $scope1_id = _scope_id();
10231
10244
  _html(`<span${_attr_class([
10232
- "_gC",
10245
+ "_gD",
10233
10246
  input.class,
10234
- { ["_gD"]: agent.stale_seconds != null }
10247
+ { ["_gE"]: agent.stale_seconds != null }
10235
10248
  ])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
10236
10249
  _for_of(windows, (win$1, i) => {
10237
10250
  const $scope2_id = _scope_id();
10238
- _html(`<span${_attr_class("_gE")}>`);
10251
+ _html(`<span${_attr_class("_gF")}>`);
10239
10252
  _if(() => {
10240
10253
  if (i) {
10241
10254
  const $scope3_id = _scope_id();
10242
- _html(`<span${_attr_class("_gH")} aria-hidden=true>·</span>`);
10255
+ _html(`<span${_attr_class("_gI")} aria-hidden=true>·</span>`);
10243
10256
  $si__input_agent && writeScope($scope3_id, {});
10244
10257
  return 0;
10245
10258
  }
10246
10259
  }, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
10247
- _html(`<span${_attr_class("_gF")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_gG", win$1.used_percent >= 90 ? "_ek" : win$1.used_percent >= 70 ? "_ej" : win$1.used_percent >= 40 ? "_ei" : "_eh"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
10260
+ _html(`<span${_attr_class("_gG")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_gH", win$1.used_percent >= 90 ? "_ek" : win$1.used_percent >= 70 ? "_ej" : win$1.used_percent >= 40 ? "_ei" : "_eh"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
10248
10261
  $si__input_agent && writeScope($scope2_id, {});
10249
10262
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
10250
10263
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -10275,12 +10288,12 @@ var icon_edit_default = _template("$", (input) => {
10275
10288
  });
10276
10289
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
10277
10290
  });
10278
- var prChip = "_h2 _u _h1";
10279
- var portChip = "_h3 _u _h1";
10291
+ var prChip = "_hj _u _hi";
10292
+ var portChip = "_hk _u _hi";
10280
10293
  var prState = {
10281
- open: "_h7",
10282
- merged: "_h8",
10283
- closed: "_h9"
10294
+ open: "_ho",
10295
+ merged: "_hp",
10296
+ closed: "_hq"
10284
10297
  };
10285
10298
  //#endregion
10286
10299
  //#region src/tags/side-nav-chips.marko
@@ -10352,7 +10365,7 @@ var side_nav_chips_default = _template("y", (input) => {
10352
10365
  const name = repo.full_name.split("/").at(-1);
10353
10366
  return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel(repo.full_name) : name;
10354
10367
  }, "y4", $scope1_id);
10355
- _html(`<div${_attr_class("_h0")}>`);
10368
+ _html(`<div${_attr_class("_hh")}>`);
10356
10369
  _for_of(repos, (repo) => {
10357
10370
  const $scope2_id = _scope_id();
10358
10371
  const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
@@ -10368,11 +10381,11 @@ var side_nav_chips_default = _template("y", (input) => {
10368
10381
  [prState.merged]: pr$1.state === "MERGED",
10369
10382
  [prState.closed]: pr$1.state === "CLOSED"
10370
10383
  }
10371
- ])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_h4", { ["_ia"]: !open }])}${_attr("href", pr$1.url)} target=_blank rel=noopener>${_text_resume($scope3_id, "c", repoLabel$1(repo))}#${_text_resume($scope3_id, "d", pr$1.number, 2)}</a>${_el_resume($scope3_id, "b")}`);
10384
+ ])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_hl", { ["_hs"]: !open }])}${_attr("href", pr$1.url)} target=_blank rel=noopener>${_text_resume($scope3_id, "c", repoLabel$1(repo))}#${_text_resume($scope3_id, "d", pr$1.number, 2)}</a>${_el_resume($scope3_id, "b")}`);
10372
10385
  _if(() => {
10373
10386
  if (open) {
10374
10387
  const $scope4_id = _scope_id();
10375
- _html(`<a${_attr_class(["_h4", "_h5"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
10388
+ _html(`<a${_attr_class(["_hl", "_hm"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
10376
10389
  icon_diff_default({ size: 12 });
10377
10390
  _html(`</a>${_el_resume($scope4_id, "a")}`);
10378
10391
  _subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
@@ -10380,9 +10393,9 @@ var side_nav_chips_default = _template("y", (input) => {
10380
10393
  } else {
10381
10394
  const $scope6_id = _scope_id();
10382
10395
  _html(`<button type=button${_attr_class([
10383
- "_h4",
10384
- "_h5",
10385
- "_h6"
10396
+ "_hl",
10397
+ "_hm",
10398
+ "_hn"
10386
10399
  ])}${_attr("title", `Dismiss #${pr$1.number}`)}>`);
10387
10400
  icon_xmark_default({ size: 12 });
10388
10401
  _html(`</button>${_el_resume($scope6_id, "a")}`);
@@ -10406,10 +10419,10 @@ var side_nav_chips_default = _template("y", (input) => {
10406
10419
  }, "full_name", $scope1_id, "b");
10407
10420
  _for_of(ports, (p) => {
10408
10421
  const $scope5_id = _scope_id();
10409
- _html(`<span${_attr_class(["_u", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_h4", "_h_"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope5_id, "c", p.port, 2)}</button>${_el_resume($scope5_id, "b")}<button type=button${_attr_class([
10410
- "_h4",
10411
- "_h5",
10412
- "_h6",
10422
+ _html(`<span${_attr_class(["_u", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_hl", "_hr"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope5_id, "c", p.port, 2)}</button>${_el_resume($scope5_id, "b")}<button type=button${_attr_class([
10423
+ "_hl",
10424
+ "_hm",
10425
+ "_hn",
10413
10426
  { ["_s"]: armedPid === p.pid }
10414
10427
  ])}${armedPid === p.pid ? " title=Kill?" : _attr("title", `Kill ${p.cmd} (pid ${p.pid})`)}>`);
10415
10428
  icon_xmark_default({ size: 12 });
@@ -10451,6 +10464,7 @@ var side_nav_chips_default = _template("y", (input) => {
10451
10464
  });
10452
10465
  //#endregion
10453
10466
  //#region src/tags/side-nav-item.marko
10467
+ var api$7;
10454
10468
  var side_nav_item_default = _template("z", (input) => {
10455
10469
  const $scope0_reason = _scope_reason(), $si__input_workspace = _serialize_if($scope0_reason, 24), $sg__input_workspace = _serialize_guard($scope0_reason, 24), $sg__input_status = _serialize_guard($scope0_reason, 26), $sg__input_sessions = _serialize_guard($scope0_reason, 22), $sg__input_page__OR__input_sessions__OR__input_status = _serialize_guard($scope0_reason, 8), $si__input_current = _serialize_if($scope0_reason, 20), $sg__input_page = _serialize_guard($scope0_reason, 21), $si__input_agents = _serialize_if($scope0_reason, 30), $sg__input_onNewSession = _serialize_guard($scope0_reason, 29), $sg__input_onNewSession__OR__input_onReview = _serialize_guard($scope0_reason, 6), $sg__input_onReview = _serialize_guard($scope0_reason, 31), $si__input_sessions = _serialize_if($scope0_reason, 22), $si__input_page = _serialize_if($scope0_reason, 21), $si__input_railPop = _serialize_if($scope0_reason, 28), $si__input_page__OR__input_sessions__OR__input_status = _serialize_if($scope0_reason, 8), $sg__input_rail__OR__input_workspace = _serialize_guard($scope0_reason, 1), $si__input_rail__OR__input_workspace = _serialize_if($scope0_reason, 1), $sg__input_rail__OR__input_workspace__OR__input_status = _serialize_guard($scope0_reason, 10), $si__input_current__OR__input_page__OR__input_rail__OR__input_workspace = _serialize_if($scope0_reason, 11), $si__input_page__OR__input_rail__OR__input_workspace = _serialize_if($scope0_reason, 7), $si__input_current__OR__input_page__OR__input_rail__OR__input_sessions__OR__input_currentTab = _serialize_if($scope0_reason, 13), $si__input_index = _serialize_if($scope0_reason, 27), $si__input_onNewSession = _serialize_if($scope0_reason, 29), $si__input_onReview = _serialize_if($scope0_reason, 31), $si__input_managing = _serialize_if($scope0_reason, 32), $si__input_currentTab = _serialize_if($scope0_reason, 23), $si__input_workspaceId = _serialize_if($scope0_reason, 25);
10456
10470
  const $scope0_id = _scope_id();
@@ -10459,10 +10473,12 @@ var side_nav_item_default = _template("z", (input) => {
10459
10473
  const $ws_pending__closures = /* @__PURE__ */ new Set();
10460
10474
  const $ws_id__closures = /* @__PURE__ */ new Set();
10461
10475
  const $ws_name__closures = /* @__PURE__ */ new Set();
10476
+ const $armedDelete__closures = /* @__PURE__ */ new Set();
10462
10477
  const $input_page__closures = /* @__PURE__ */ new Set();
10463
10478
  const $input_railPop__closures = /* @__PURE__ */ new Set();
10464
10479
  const $ws_pending_error__closures = /* @__PURE__ */ new Set();
10465
10480
  const $restoreLine__closures = /* @__PURE__ */ new Set();
10481
+ const $retrying__closures = /* @__PURE__ */ new Set();
10466
10482
  const $input_agents__closures = /* @__PURE__ */ new Set();
10467
10483
  const $input_onNewSession__closures = /* @__PURE__ */ new Set();
10468
10484
  const $input_onReview__closures = /* @__PURE__ */ new Set();
@@ -10501,6 +10517,23 @@ var side_nav_item_default = _template("z", (input) => {
10501
10517
  const openPlan = openSess ? usageFor$1(openSess.agent, usage) : null;
10502
10518
  const ws$1 = input.workspace;
10503
10519
  let restoreLine = "";
10520
+ let armedDelete = false;
10521
+ let retrying = false;
10522
+ const restoreAction = _resume(async (action) => {
10523
+ retrying = action === "retry";
10524
+ armedDelete = false;
10525
+ try {
10526
+ await api$7(`/api/workspaces/${input.workspaceId}`, {
10527
+ method: "POST",
10528
+ headers: { "content-type": "application/json" },
10529
+ body: JSON.stringify({ action })
10530
+ });
10531
+ } catch (err) {
10532
+ restoreLine = `${action === "retry" ? "Retry" : "Delete"} failed: ${String(err.message || err)}`;
10533
+ } finally {
10534
+ retrying = false;
10535
+ }
10536
+ }, "z3", $scope0_id);
10504
10537
  _if(() => {
10505
10538
  if (ws$1) {
10506
10539
  const $scope1_id = _scope_id();
@@ -10509,7 +10542,7 @@ var side_nav_item_default = _template("z", (input) => {
10509
10542
  _if(() => {
10510
10543
  if (input.rail) {
10511
10544
  const $scope2_id = _scope_id();
10512
- _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, 27))}<span${_attr_class([
10545
+ _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_eR"]: input.current }])}${ws$1.pending ? _attr("title", `${ws$1.name} — restoring`) : _attr("title", ws$1.name)}>${_text_resume($scope2_id, "b", input.index === void 0 ? "·" : input.index + 1, _serialize_guard($scope0_reason, 27))}<span${_attr_class([
10513
10546
  "_A",
10514
10547
  phase[dot$1],
10515
10548
  "_bc"
@@ -10519,52 +10552,66 @@ var side_nav_item_default = _template("z", (input) => {
10519
10552
  } else if (ws$1.pending) {
10520
10553
  const $scope3_id = _scope_id();
10521
10554
  _html(`<section${_attr_class([
10522
- "_fM",
10523
- "_f9",
10555
+ "_eV",
10556
+ "_fh",
10524
10557
  {
10525
- ["_fN"]: input.railPop,
10526
- ["_fL"]: input.page
10558
+ ["_eW"]: input.railPop,
10559
+ ["_eU"]: input.page
10527
10560
  }
10528
- ])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_fO")}><div${_attr_class(wsBtn)}>`);
10561
+ ])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_eX")}><div${_attr_class(wsBtn)}>`);
10529
10562
  _if(() => {
10530
10563
  if (ws$1.pending_error) {
10531
- const $scope15_id = _scope_id();
10564
+ const $scope16_id = _scope_id();
10532
10565
  icon_warning_default({
10533
10566
  size: 12,
10534
- class: "_ga"
10567
+ class: "_fj"
10535
10568
  });
10536
- $si__input_workspace && writeScope($scope15_id, {});
10569
+ $si__input_workspace && writeScope($scope16_id, {});
10537
10570
  return 0;
10538
10571
  } else {
10539
- const $scope16_id = _scope_id();
10540
- _html(`<span${_attr_class(["_G", "_f_"])}></span>`);
10541
- $si__input_workspace && writeScope($scope16_id, {});
10572
+ const $scope17_id = _scope_id();
10573
+ _html(`<span${_attr_class(["_G", "_fi"])}></span>`);
10574
+ $si__input_workspace && writeScope($scope17_id, {});
10542
10575
  return 1;
10543
10576
  }
10544
- }, $scope3_id, "d", $sg__input_workspace, $sg__input_workspace, $sg__input_workspace, 0, 1);
10545
- _html(`<span${_attr_class("_fV")}><span${_attr_class("_fW")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_gb")}${_attr("title", ws$1.pending_error || restoreLine)}>${_text_resume($scope3_id, "i", ws$1.pending_error ? `Restore failed: ${ws$1.pending_error}` : "Restoring…")}</span>${_el_resume($scope3_id, "h")}</span></div></div></section>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 9))}`);
10546
- _subscribe($restoreLine__closures, _subscribe($si__input_workspace && $ws_pending_error__closures, _subscribe($si__input_workspace && $ws_name__closures, _subscribe($si__input_railPop && $input_railPop__closures, _subscribe($si__input_page && $input_page__closures, writeScope($scope3_id, {
10577
+ }, $scope3_id, "d", $sg__input_workspace, $sg__input_workspace, 1, 0, 1);
10578
+ _html(`<span${_attr_class("_e4")}><span${_attr_class("_e5")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_fl")}${_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>`);
10579
+ _if(() => {
10580
+ if (ws$1.pending_error && !retrying) {
10581
+ const $scope15_id = _scope_id();
10582
+ _html(`<div${_attr_class("_fk")}><button type=button${_attr_class(["_q", btnSm])} title="Run the restore again">Retry</button>${_el_resume($scope15_id, "b")}<button type=button${_attr_class([
10583
+ "_q",
10584
+ btnSm,
10585
+ { ["_s"]: armedDelete }
10586
+ ])} title=${armedDelete ? "\"Delete this workspace?\"" : "\"Delete workspace\""}>${_text_resume($scope15_id, "d", armedDelete ? "Delete?" : "Delete")}</button>${_el_resume($scope15_id, "c")}</div>`);
10587
+ _script($scope15_id, "z4");
10588
+ _subscribe($armedDelete__closures, writeScope($scope15_id, {}));
10589
+ return 0;
10590
+ }
10591
+ }, $scope3_id, "j", 1, 1, 1, 0, 1);
10592
+ _html(`</section>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 9))}`);
10593
+ _subscribe($retrying__closures, _subscribe($restoreLine__closures, _subscribe($si__input_workspace && $ws_pending_error__closures, _subscribe($si__input_workspace && $ws_name__closures, _subscribe($si__input_railPop && $input_railPop__closures, _subscribe($si__input_page && $input_page__closures, writeScope($scope3_id, {
10547
10594
  _: _scope_with_id($scope1_id),
10548
- Caz: $si__input_workspace && 1
10549
- }))))));
10595
+ Cb2: $si__input_workspace && 1
10596
+ })))))));
10550
10597
  return 1;
10551
10598
  } else {
10552
10599
  const $scope4_id = _scope_id();
10553
10600
  const sessions$1 = input.sessions || [];
10554
10601
  const phaseLabel = dot$1 === "working" ? "Working" : dot$1 === "waiting" ? "Needs input" : dot$1 === "idle" ? "Idle" : "Not running";
10555
- _html(`<section${_attr_class(["_fM", {
10556
- ["_fI"]: input.current,
10602
+ _html(`<section${_attr_class(["_eV", {
10603
+ ["_eR"]: input.current,
10557
10604
  ["_bd"]: input.current,
10558
- ["_fN"]: input.railPop,
10559
- ["_fL"]: input.page
10560
- }])}><div${_attr_class("_fO")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class(wsBtn)}><span${_attr_class([
10605
+ ["_eW"]: input.railPop,
10606
+ ["_eU"]: input.page
10607
+ }])}><div${_attr_class("_eX")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class(wsBtn)}><span${_attr_class([
10561
10608
  "_A",
10562
10609
  phase[dot$1],
10563
- "_f1"
10610
+ "_e_"
10564
10611
  ])}${_attr("title", phaseLabel)}></span>${_el_resume($scope4_id, "d", $sg__input_status)}`);
10565
10612
  _if(() => {
10566
10613
  if (sessions$1.length === 1) {
10567
- const $scope17_id = _scope_id();
10614
+ const $scope18_id = _scope_id();
10568
10615
  _set_serialize_reason({
10569
10616
  1: $sg__input_sessions,
10570
10617
  2: $sg__input_sessions
@@ -10573,9 +10620,9 @@ var side_nav_item_default = _template("z", (input) => {
10573
10620
  icon_agent_default({
10574
10621
  agent: activeAgent(sessions$1[0]),
10575
10622
  size: 12,
10576
- class: "_fU"
10623
+ class: "_e3"
10577
10624
  });
10578
- $si__input_sessions && writeScope($scope17_id, {
10625
+ $si__input_sessions && writeScope($scope18_id, {
10579
10626
  _: _scope_with_id($scope4_id),
10580
10627
  a: _existing_scope($childScope)
10581
10628
  });
@@ -10583,12 +10630,12 @@ var side_nav_item_default = _template("z", (input) => {
10583
10630
  }
10584
10631
  }, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions);
10585
10632
  const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length > 1 ? `${sessions$1.length} sessions` : "";
10586
- _html(`<span${_attr_class("_fV")}><span${_attr_class("_fW")}>${_text_resume($scope4_id, "h", ws$1.name, $sg__input_workspace)}</span>`);
10633
+ _html(`<span${_attr_class("_e4")}><span${_attr_class("_e5")}>${_text_resume($scope4_id, "h", ws$1.name, $sg__input_workspace)}</span>`);
10587
10634
  _if(() => {
10588
10635
  if (input.page && metaText) {
10589
- const $scope18_id = _scope_id();
10590
- _html(`<span${_attr_class("_fZ")}>${_text_resume($scope18_id, "b", metaText, _serialize_guard($scope0_reason, 3))}</span>`);
10591
- $si__input_page__OR__input_sessions__OR__input_status && writeScope($scope18_id, { _: _serialize_if($scope0_reason, 3) && _scope_with_id($scope4_id) });
10636
+ const $scope19_id = _scope_id();
10637
+ _html(`<span${_attr_class("_e8")}>${_text_resume($scope19_id, "b", metaText, _serialize_guard($scope0_reason, 3))}</span>`);
10638
+ $si__input_page__OR__input_sessions__OR__input_status && writeScope($scope19_id, { _: _serialize_if($scope0_reason, 3) && _scope_with_id($scope4_id) });
10592
10639
  return 0;
10593
10640
  }
10594
10641
  }, $scope4_id, "i", $sg__input_page__OR__input_sessions__OR__input_status, $sg__input_page__OR__input_sessions__OR__input_status, 1, 0, 1);
@@ -10600,11 +10647,11 @@ var side_nav_item_default = _template("z", (input) => {
10600
10647
  "_N",
10601
10648
  "_W",
10602
10649
  "_P",
10603
- "_f0"
10650
+ "_e9"
10604
10651
  ])}>${_text_resume($scope5_id, "b", input.current ? "Open" : "", _serialize_guard($scope0_reason, 20))}</span>`);
10605
10652
  $si__input_current__OR__input_page__OR__input_rail__OR__input_workspace && _subscribe($si__input_current && $input_current__closures, writeScope($scope5_id, {
10606
10653
  _: _scope_with_id($scope4_id),
10607
- Caf: $si__input_current && 2
10654
+ Cai: $si__input_current && 2
10608
10655
  }));
10609
10656
  return 0;
10610
10657
  }
@@ -10613,7 +10660,7 @@ var side_nav_item_default = _template("z", (input) => {
10613
10660
  _if(() => {
10614
10661
  if (!input.page) {
10615
10662
  const $scope6_id = _scope_id();
10616
- _html(`<div${_attr_class("_fQ")}>`);
10663
+ _html(`<div${_attr_class("_eZ")}>`);
10617
10664
  _if(() => {
10618
10665
  if (input.onNewSession) {
10619
10666
  const $scope7_id = _scope_id();
@@ -10635,13 +10682,13 @@ var side_nav_item_default = _template("z", (input) => {
10635
10682
  size: 14
10636
10683
  });
10637
10684
  _html(`${_text_resume($scope8_id, "c", agent, 2)}</button>${_el_resume($scope8_id, "a")}`);
10638
- _script($scope8_id, "z3");
10685
+ _script($scope8_id, "z5");
10639
10686
  writeScope($scope8_id, {
10640
10687
  e: agent,
10641
10688
  b: _existing_scope($childScope2)
10642
10689
  });
10643
10690
  }, (a) => a, $scope7_id, "c", 1, 1, 1, "</div>", 1);
10644
- _script($scope7_id, "z4");
10691
+ _script($scope7_id, "z6");
10645
10692
  _subscribe($si__input_agents && $input_agents__closures, writeScope($scope7_id, {
10646
10693
  e: $si__input_agents && pickerReady,
10647
10694
  _: _scope_with_id($scope6_id)
@@ -10657,22 +10704,22 @@ var side_nav_item_default = _template("z", (input) => {
10657
10704
  _html(`</a>${_el_resume($scope14_id, "a", $sg__input_workspace)}`);
10658
10705
  _serialize_if($scope0_reason, 12) && _subscribe($si__input_workspace && $ws_id__closures, writeScope($scope14_id, {
10659
10706
  _: _scope_with_id($scope6_id),
10660
- Cay: $si__input_workspace && 4
10707
+ Cb1: $si__input_workspace && 4
10661
10708
  }));
10662
10709
  return 0;
10663
10710
  }
10664
10711
  }, $scope6_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
10665
- _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" : ""}>`);
10712
+ _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_eS"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
10666
10713
  icon_manage_default({ size: 12 });
10667
10714
  _html(`</a>${_el_resume($scope6_id, "d", _serialize_guard($scope0_reason, 4))}</div>`);
10668
10715
  _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_managing && $input_managing__closures, _subscribe($si__input_onReview && $input_onReview__closures, _subscribe($si__input_onNewSession && $input_onNewSession__closures, writeScope($scope6_id, {
10669
10716
  _: _scope_with_id($scope4_id),
10670
- Cay: $si__input_workspace && 2
10717
+ Cb1: $si__input_workspace && 2
10671
10718
  })))));
10672
10719
  return 0;
10673
10720
  }
10674
10721
  }, $scope4_id, "k", $sg__input_page, $sg__input_page, 1, 0, 1);
10675
- _html(`</div><div${_attr_class("_f6")}>`);
10722
+ _html(`</div><div${_attr_class("_fe")}>`);
10676
10723
  _if(() => {
10677
10724
  if (sessions$1.length === 1 && openPlan) {
10678
10725
  const $scope12_id = _scope_id();
@@ -10680,25 +10727,25 @@ var side_nav_item_default = _template("z", (input) => {
10680
10727
  const $childScope3 = _peek_scope_id();
10681
10728
  usage_pcts_default({
10682
10729
  agent: openPlan,
10683
- class: "_fX"
10730
+ class: "_e6"
10684
10731
  });
10685
10732
  _subscribe($openPlan__closures, writeScope($scope12_id, {
10686
10733
  a: _existing_scope($childScope3),
10687
- Caw: 2
10734
+ Caz: 2
10688
10735
  }));
10689
10736
  return 0;
10690
10737
  }
10691
10738
  }, $scope4_id, "m");
10692
10739
  _for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
10693
10740
  const $scope9_id = _scope_id();
10694
- _html(`<div${_attr_class(["_fR", { ["_fI"]: s.id === input.currentTab }])}>`);
10741
+ _html(`<div${_attr_class(["_e0", { ["_eR"]: s.id === input.currentTab }])}>`);
10695
10742
  _if(() => {
10696
10743
  if (renamingId === s.id) {
10697
10744
  const $scope11_id = _scope_id();
10698
10745
  _html(`<span${_attr_class([
10699
10746
  "_A",
10700
10747
  phase[sessionPhase(s.state)],
10701
- "_f4"
10748
+ "_fc"
10702
10749
  ])}></span>${_el_resume($scope11_id, "a", $sg__input_sessions)}`);
10703
10750
  _set_serialize_reason({
10704
10751
  1: $sg__input_sessions,
@@ -10708,12 +10755,12 @@ var side_nav_item_default = _template("z", (input) => {
10708
10755
  icon_agent_default({
10709
10756
  agent: activeAgent(s),
10710
10757
  size: 12,
10711
- class: "_f8"
10758
+ class: "_fg"
10712
10759
  });
10713
10760
  _html(`<input${_attr_input_value($scope11_id, "c", renameValue, _resume((_new_renameValue) => {
10714
10761
  renameValue = _new_renameValue;
10715
10762
  }, "z0", $scope11_id))}${_attr_class(["_Z", sessRename$1])} aria-label="Session name">${_el_resume($scope11_id, "c")}`);
10716
- _script($scope11_id, "z5");
10763
+ _script($scope11_id, "z7");
10717
10764
  _subscribe($renameValue__closures, writeScope($scope11_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
10718
10765
  return 0;
10719
10766
  } else {
@@ -10727,9 +10774,9 @@ var side_nav_item_default = _template("z", (input) => {
10727
10774
  icon_agent_default({
10728
10775
  agent: activeAgent(s),
10729
10776
  size: 12,
10730
- class: "_f8"
10777
+ class: "_fg"
10731
10778
  });
10732
- _html(`<span${_attr_class("_f2")}>${_text_resume($scope10_id, "e", s.title || activeAgent(s), $sg__input_sessions)}</span></a>${_el_resume($scope10_id, "a", _serialize_guard($scope0_reason, 2))}<div${_attr_class("_f3")}><button${_attr_class(rowIcon)} title="Rename session">`);
10779
+ _html(`<span${_attr_class("_fa")}>${_text_resume($scope10_id, "e", s.title || activeAgent(s), $sg__input_sessions)}</span></a>${_el_resume($scope10_id, "a", _serialize_guard($scope0_reason, 2))}<div${_attr_class("_fb")}><button${_attr_class(rowIcon)} title="Rename session">`);
10733
10780
  icon_edit_default({ size: 12 });
10734
10781
  _html(`</button>${_el_resume($scope10_id, "g")}<button${_attr_class([close, { ["_s"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
10735
10782
  icon_xmark_default({ size: 12 });
@@ -10741,20 +10788,20 @@ var side_nav_item_default = _template("z", (input) => {
10741
10788
  const $childScope6 = _peek_scope_id();
10742
10789
  usage_pcts_default({
10743
10790
  agent: openPlan,
10744
- class: "_fY"
10791
+ class: "_e7"
10745
10792
  });
10746
10793
  _subscribe($openPlan__closures, writeScope($scope13_id, {
10747
10794
  a: _existing_scope($childScope6),
10748
- Caw: 3
10795
+ Caz: 3
10749
10796
  }));
10750
10797
  return 0;
10751
10798
  }
10752
10799
  }, $scope10_id, "k");
10753
- _script($scope10_id, "z6");
10800
+ _script($scope10_id, "z8");
10754
10801
  _subscribe($si__input_workspace && $ws_id__closures, _subscribe($openPlan__closures, _subscribe($si__input_current__OR__input_page__OR__input_rail__OR__input_sessions__OR__input_currentTab && $openSess_id__closures, _subscribe($armedKill__closures, writeScope($scope10_id, {
10755
10802
  c: $si__input_sessions && _existing_scope($childScope5),
10756
- Caw: 1,
10757
- Cay: $si__input_workspace && 3
10803
+ Caz: 1,
10804
+ Cb1: $si__input_workspace && 3
10758
10805
  })))));
10759
10806
  return 1;
10760
10807
  }
@@ -10775,7 +10822,7 @@ var side_nav_item_default = _template("z", (input) => {
10775
10822
  status: st
10776
10823
  });
10777
10824
  _html(`</div></section>${_el_resume($scope4_id, "a")}`);
10778
- _script($scope4_id, "z7");
10825
+ _script($scope4_id, "z9");
10779
10826
  _subscribe($si__input_workspace && $ws_name__closures, _subscribe($si__input_workspace && $ws_id__closures, _subscribe($openPlan__closures, _subscribe($si__input_railPop && $input_railPop__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, _subscribe($si__input_sessions && $input_sessions__closures, _subscribe($si__input_page && $input_page__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope4_id, {
10780
10827
  r: sessions$1.length,
10781
10828
  t: $si__input_sessions && sessions$1[0],
@@ -10783,11 +10830,11 @@ var side_nav_item_default = _template("z", (input) => {
10783
10830
  w: $si__input_page__OR__input_sessions__OR__input_status && metaText,
10784
10831
  _: _scope_with_id($scope1_id),
10785
10832
  o: _serialize_if($scope0_reason, 5) && _existing_scope($childScope7),
10786
- Caf: $si__input_current && 1,
10787
- Cag: $si__input_page && 1,
10788
- Can: $si__input_railPop && 1,
10789
- Cay: $si__input_workspace && 1,
10790
- Caz: $si__input_workspace && 2
10833
+ Cai: $si__input_current && 1,
10834
+ Caj: $si__input_page && 1,
10835
+ Caq: $si__input_railPop && 1,
10836
+ Cb1: $si__input_workspace && 1,
10837
+ Cb2: $si__input_workspace && 2
10791
10838
  })))))))));
10792
10839
  return 2;
10793
10840
  }
@@ -10800,9 +10847,9 @@ var side_nav_item_default = _template("z", (input) => {
10800
10847
  return 0;
10801
10848
  }
10802
10849
  }, $scope0_id, "a", $sg__input_rail__OR__input_workspace__OR__input_status, $sg__input_workspace, $sg__input_workspace);
10803
- _script($scope0_id, "z8");
10804
- _script($scope0_id, "z9");
10805
10850
  _script($scope0_id, "z10");
10851
+ _script($scope0_id, "z11");
10852
+ _script($scope0_id, "z12");
10806
10853
  writeScope($scope0_id, {
10807
10854
  d: input.onRenameSession,
10808
10855
  e: _serialize_if($scope0_reason, 18) && input.current,
@@ -10835,27 +10882,32 @@ var side_nav_item_default = _template("z", (input) => {
10835
10882
  ac: $si__input_rail__OR__input_workspace && ws$1?.name,
10836
10883
  ad: ws$1?.pending_error,
10837
10884
  ae: $si__input_rail__OR__input_workspace && restoreLine,
10838
- af: $si__input_current && $input_current__closures,
10839
- am: $si__input_index && $input_index__closures,
10840
- ax: $si__input_workspace && $ws_pending__closures,
10841
- ay: $si__input_workspace && $ws_id__closures,
10842
- az: $si__input_workspace && $ws_name__closures,
10843
- ag: $si__input_page && $input_page__closures,
10844
- an: $si__input_railPop && $input_railPop__closures,
10845
- b0: $si__input_workspace && $ws_pending_error__closures,
10846
- b1: $restoreLine__closures,
10847
- ap: $si__input_agents && $input_agents__closures,
10848
- ao: $si__input_onNewSession && $input_onNewSession__closures,
10849
- aq: $si__input_onReview && $input_onReview__closures,
10850
- ar: $si__input_managing && $input_managing__closures,
10851
- aw: $openPlan__closures,
10852
- au: $renameValue__closures,
10853
- as: $armedKill__closures,
10854
- av: $si__input_current__OR__input_page__OR__input_rail__OR__input_sessions__OR__input_currentTab && $openSess_id__closures,
10855
- aj: $si__input_currentTab && $input_currentTab__closures,
10856
- at: $renamingId__closures,
10857
- ai: $si__input_sessions && $input_sessions__closures,
10858
- ak: $si__input_workspaceId && $input_workspaceId__closures
10885
+ af: armedDelete,
10886
+ ag: $si__input_rail__OR__input_workspace && retrying,
10887
+ ah: restoreAction,
10888
+ ai: $si__input_current && $input_current__closures,
10889
+ ap: $si__input_index && $input_index__closures,
10890
+ b0: $si__input_workspace && $ws_pending__closures,
10891
+ b1: $si__input_workspace && $ws_id__closures,
10892
+ b2: $si__input_workspace && $ws_name__closures,
10893
+ b5: $armedDelete__closures,
10894
+ aj: $si__input_page && $input_page__closures,
10895
+ aq: $si__input_railPop && $input_railPop__closures,
10896
+ b3: $si__input_workspace && $ws_pending_error__closures,
10897
+ b4: $restoreLine__closures,
10898
+ b6: $retrying__closures,
10899
+ as: $si__input_agents && $input_agents__closures,
10900
+ ar: $si__input_onNewSession && $input_onNewSession__closures,
10901
+ at: $si__input_onReview && $input_onReview__closures,
10902
+ au: $si__input_managing && $input_managing__closures,
10903
+ az: $openPlan__closures,
10904
+ ax: $renameValue__closures,
10905
+ av: $armedKill__closures,
10906
+ ay: $si__input_current__OR__input_page__OR__input_rail__OR__input_sessions__OR__input_currentTab && $openSess_id__closures,
10907
+ am: $si__input_currentTab && $input_currentTab__closures,
10908
+ aw: $renamingId__closures,
10909
+ al: $si__input_sessions && $input_sessions__closures,
10910
+ an: $si__input_workspaceId && $input_workspaceId__closures
10859
10911
  });
10860
10912
  _resume_branch($scope0_id);
10861
10913
  });
@@ -10976,28 +11028,28 @@ var side_nav_default = _template("A", (input) => {
10976
11028
  const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
10977
11029
  const otherIds = itemIds.filter((id) => id !== ws?.id);
10978
11030
  const listIds = isPage && ws ? [ws.id, ...otherIds] : itemIds;
10979
- _html(`<aside${_attr_class(["_bS", {
10980
- ["_bQ"]: !navOpen,
10981
- ["_bR"]: isPage
11031
+ _html(`<aside${_attr_class(["_bC", {
11032
+ ["_bA"]: !navOpen,
11033
+ ["_bB"]: isPage
10982
11034
  }])}${_attr("hidden", view === "diff")}>`);
10983
11035
  _if(() => {
10984
11036
  if (isPage) {
10985
11037
  const $scope1_id = _scope_id();
10986
- _html(`<header${_attr_class("_bV")}><div${_attr_class("_b4")}>`);
11038
+ _html(`<header${_attr_class("_bF")}><div${_attr_class("_bO")}>`);
10987
11039
  _if(() => {
10988
11040
  if (input.instanceName) {
10989
11041
  const $scope2_id = _scope_id();
10990
- _html(`<div${_attr_class("_b1")} title="This work server (Settings → Appearance)"><img${_attr_class("_b2")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_b3")}>${_text_resume($scope2_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
11042
+ _html(`<div${_attr_class("_bL")} title="This work server (Settings → Appearance)"><img${_attr_class("_bM")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_bN")}>${_text_resume($scope2_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
10991
11043
  _subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
10992
11044
  return 0;
10993
11045
  }
10994
11046
  }, $scope1_id, "c", $sg__input_instanceName, $sg__input_instanceName, 1, 0, 1);
10995
- _html(`<h1${_attr_class("_bW")}>Workspaces</h1></div><div${_attr_class("_bX")}>`);
11047
+ _html(`<h1${_attr_class("_bG")}>Workspaces</h1></div><div${_attr_class("_bH")}>`);
10996
11048
  _if(() => {}, $scope1_id, "f", 1, 1, 1, 0, 1);
10997
11049
  _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
10998
11050
  iconBtn,
10999
- "_bY",
11000
- { ["_bN"]: view === "settings" }
11051
+ "_bI",
11052
+ { ["_bx"]: view === "settings" }
11001
11053
  ])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11002
11054
  icon_settings_default({ size: 16 });
11003
11055
  _if(() => {
@@ -11016,7 +11068,7 @@ var side_nav_default = _template("A", (input) => {
11016
11068
  _if(() => {
11017
11069
  if (!isPage && input.instanceName) {
11018
11070
  const $scope3_id = _scope_id();
11019
- _html(`<div${_attr_class("_b1")} title="This work server (Settings → Appearance)"><img${_attr_class("_b2")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_b3")}>${_text_resume($scope3_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
11071
+ _html(`<div${_attr_class("_bL")} title="This work server (Settings → Appearance)"><img${_attr_class("_bM")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_bN")}>${_text_resume($scope3_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
11020
11072
  writeScope($scope3_id, {});
11021
11073
  return 0;
11022
11074
  }
@@ -11024,13 +11076,13 @@ var side_nav_default = _template("A", (input) => {
11024
11076
  _if(() => {
11025
11077
  if (navOpen || isPage) {
11026
11078
  const $scope4_id = _scope_id();
11027
- _html(`<div${_attr_class("_b5")}>`);
11079
+ _html(`<div${_attr_class("_bP")}>`);
11028
11080
  _for_of(listIds, (wsId) => {
11029
11081
  const $scope5_id = _scope_id();
11030
11082
  _if(() => {
11031
11083
  if (isPage && wsId === ws?.id) {
11032
11084
  const $scope14_id = _scope_id();
11033
- _html(`<h2${_attr_class(["_bM", "_bZ"])}>Current</h2>`);
11085
+ _html(`<h2${_attr_class(["_b9", "_bJ"])}>Current</h2>`);
11034
11086
  writeScope($scope14_id, {});
11035
11087
  return 0;
11036
11088
  }
@@ -11038,7 +11090,7 @@ var side_nav_default = _template("A", (input) => {
11038
11090
  _if(() => {
11039
11091
  if (isPage && ws && wsId !== ws.id && wsId === otherIds[0]) {
11040
11092
  const $scope15_id = _scope_id();
11041
- _html(`<h2${_attr_class(["_bM", "_bZ"])}>Other workspaces</h2>`);
11093
+ _html(`<h2${_attr_class(["_b9", "_bJ"])}>Other workspaces</h2>`);
11042
11094
  writeScope($scope15_id, {});
11043
11095
  return 0;
11044
11096
  }
@@ -11127,7 +11179,7 @@ var side_nav_default = _template("A", (input) => {
11127
11179
  railHover = null;
11128
11180
  }, 150);
11129
11181
  }, "A6", $scope6_id);
11130
- _html(`<div${_attr_class("_b6")}>`);
11182
+ _html(`<div${_attr_class("_bQ")}>`);
11131
11183
  _for_of(itemIds, (wsId, i) => {
11132
11184
  const $scope7_id = _scope_id();
11133
11185
  _html("<span>");
@@ -11185,7 +11237,7 @@ var side_nav_default = _template("A", (input) => {
11185
11237
  if (railHover) {
11186
11238
  const $scope8_id = _scope_id();
11187
11239
  const hoverId = railHover.id;
11188
- _html(`<div${_attr_class(["__", "_b9"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
11240
+ _html(`<div${_attr_class(["__", "_bT"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
11189
11241
  _set_serialize_reason({
11190
11242
  0: 1,
11191
11243
  1: 1,
@@ -11280,7 +11332,7 @@ var side_nav_default = _template("A", (input) => {
11280
11332
  return 0;
11281
11333
  }
11282
11334
  }, $scope0_id, "e");
11283
- _html(`<div${_attr_class("_b7")}>`);
11335
+ _html(`<div${_attr_class("_bR")}>`);
11284
11336
  _if(() => {
11285
11337
  if (isPage) {
11286
11338
  const $scope10_id = _scope_id();
@@ -11288,7 +11340,7 @@ var side_nav_default = _template("A", (input) => {
11288
11340
  "_q",
11289
11341
  "_r",
11290
11342
  btnLg,
11291
- "_b0"
11343
+ "_bK"
11292
11344
  ])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11293
11345
  icon_folder_plus_default({ size: 16 });
11294
11346
  _html(` New workspace</a>${_el_resume($scope10_id, "a")}`);
@@ -11310,9 +11362,9 @@ var side_nav_default = _template("A", (input) => {
11310
11362
  return 1;
11311
11363
  }
11312
11364
  }, $scope9_id, "a", 1, 1, 1, "</button>", 1);
11313
- _html(`<div${_attr_class(["_z", "_b8"])}></div>`);
11365
+ _html(`<div${_attr_class(["_z", "_bS"])}></div>`);
11314
11366
  _if(() => {}, $scope9_id, "c", 1, 1, 1, 0, 1);
11315
- _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["_bN"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11367
+ _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["_bx"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11316
11368
  icon_settings_default({});
11317
11369
  _if(() => {
11318
11370
  if (input.setupReady === false) {
@@ -11322,7 +11374,7 @@ var side_nav_default = _template("A", (input) => {
11322
11374
  return 0;
11323
11375
  }
11324
11376
  }, $scope9_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
11325
- _html(`</a>${_el_resume($scope9_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["_bN"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11377
+ _html(`</a>${_el_resume($scope9_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["_bx"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11326
11378
  icon_folder_plus_default({ size: 16 });
11327
11379
  _html(`</a>${_el_resume($scope9_id, "g")}`);
11328
11380
  _script($scope9_id, "A15");
@@ -11662,8 +11714,8 @@ function treeDirs(files) {
11662
11714
  };
11663
11715
  return build(root, "", "", -1);
11664
11716
  }
11665
- var treeToggle = "_gf _5 _l";
11666
- var pageTitle = "_gm _cv";
11717
+ var treeToggle = "_gg _5 _l";
11718
+ var pageTitle = "_gn _cK";
11667
11719
  //#endregion
11668
11720
  //#region src/tags/diff-send.marko
11669
11721
  var diff_send_default = _template("j", (input) => {
@@ -11673,7 +11725,7 @@ var diff_send_default = _template("j", (input) => {
11673
11725
  let sendTarget = null;
11674
11726
  const sessions = input.sessions || [];
11675
11727
  const sendPick = sessions.some((s) => s.id === sendTarget) ? sendTarget : sessions[0]?.id ?? null;
11676
- _html(`<span${_attr_class("_hc")}><button type=button${_attr_class("_q")} title="Copy comments as markdown">${_text_resume($scope0_id, "c", "Copy")}</button>${_el_resume($scope0_id, "b")}`);
11728
+ _html(`<span${_attr_class("_hd")}><button type=button${_attr_class("_q")} title="Copy comments as markdown">${_text_resume($scope0_id, "c", "Copy")}</button>${_el_resume($scope0_id, "b")}`);
11677
11729
  _if(() => {
11678
11730
  if (sessions.length === 1) {
11679
11731
  const $scope1_id = _scope_id();
@@ -11683,11 +11735,11 @@ var diff_send_default = _template("j", (input) => {
11683
11735
  return 0;
11684
11736
  } else if (sessions.length) {
11685
11737
  const $scope2_id = _scope_id();
11686
- _html(`<span${_attr_class("_hd")}><button type=button${_attr_class(["_r", "_he"])}${_attr("disabled", sending)}>${_text_resume($scope2_id, "c", "Send to")}</button>${_el_resume($scope2_id, "b")}`);
11738
+ _html(`<span${_attr_class("_he")}><button type=button${_attr_class(["_r", "_hf"])}${_attr("disabled", sending)}>${_text_resume($scope2_id, "c", "Send to")}</button>${_el_resume($scope2_id, "b")}`);
11687
11739
  _attr_select_value($scope2_id, "d", sendTarget, _resume((_new_sendTarget) => {
11688
11740
  sendTarget = _new_sendTarget;
11689
11741
  }, "j0", $scope2_id), () => {
11690
- _html(`<select${_attr_class("_hf")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
11742
+ _html(`<select${_attr_class("_hg")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
11691
11743
  _for_of(sessions, (s) => {
11692
11744
  const $scope3_id = _scope_id();
11693
11745
  _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)}`);
@@ -13199,8 +13251,8 @@ function clip(line, at, len) {
13199
13251
  const end = Math.min(line.length, at + len + pad);
13200
13252
  return (start > 0 ? "…" : "") + line.slice(start, end) + (end < line.length ? "…" : "");
13201
13253
  }
13202
- var findInput = "_gK _n";
13203
- var findIconBtn = "_gN _l";
13254
+ var findInput = "_g3 _n";
13255
+ var findIconBtn = "_g6 _l";
13204
13256
  //#endregion
13205
13257
  //#region src/tags/icons/icon-arrow-down.marko
13206
13258
  var icon_arrow_down_default = _template("K", (input) => {
@@ -13288,9 +13340,9 @@ var diff_find_default = _template("i", (input) => {
13288
13340
  el.select();
13289
13341
  }, 0);
13290
13342
  }, "i0", $scope0_id);
13291
- _html(`<div${_attr_class(["_gJ", !open && "_gI"])} aria-hidden=${open ? "false" : "true"}><input${_attr_input_value($scope0_id, "b", query || "", _resume(function(v) {
13343
+ _html(`<div${_attr_class(["_g2", !open && "_g1"])} aria-hidden=${open ? "false" : "true"}><input${_attr_input_value($scope0_id, "b", query || "", _resume(function(v) {
13292
13344
  type(v);
13293
- }, "i1", $scope0_id))}${_attr_class(findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "b")}<span${_attr_class("_gM")}>${_text_resume($scope0_id, "d", open && (query || "").trim() ? hits.length ? `${at + 1}/${hits.length}` : "0/0" : "")}</span><button type=button${_attr_class(findIconBtn)} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13345
+ }, "i1", $scope0_id))}${_attr_class(findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "b")}<span${_attr_class("_g5")}>${_text_resume($scope0_id, "d", open && (query || "").trim() ? hits.length ? `${at + 1}/${hits.length}` : "0/0" : "")}</span><button type=button${_attr_class(findIconBtn)} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13294
13346
  icon_arrow_up_default({ size: 14 });
13295
13347
  _html(`</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class(findIconBtn)} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13296
13348
  icon_arrow_down_default({ size: 14 });
@@ -13392,9 +13444,9 @@ function shortBranch(name, wsBranch = "", wsName = "") {
13392
13444
  }
13393
13445
  return shortHeadFallback(head);
13394
13446
  }
13395
- var repoWorktree = "_ih _y";
13396
- var repoTitle = "_in _x";
13397
- var path$1 = "_iE _bb";
13447
+ var repoWorktree = "_ii _y";
13448
+ var repoTitle = "_io _x";
13449
+ var path$1 = "_iF _bb";
13398
13450
  //#endregion
13399
13451
  //#region src/tags/icons/icon-chevron-down.marko
13400
13452
  var icon_chevron_down_default = _template("T", (input) => {
@@ -13468,7 +13520,7 @@ var diff_file_default = _template("h", (input) => {
13468
13520
  _scope_reason();
13469
13521
  const $scope0_id = _scope_id();
13470
13522
  _el($scope0_id, "h0");
13471
- _html(`<div${_attr_class(["_iI", input.class])}></div>${_el_resume($scope0_id, "a")}`);
13523
+ _html(`<div${_attr_class(["_iL", input.class])}></div>${_el_resume($scope0_id, "a")}`);
13472
13524
  _script($scope0_id, "h1");
13473
13525
  writeScope($scope0_id, {
13474
13526
  e: input.file,
@@ -13530,14 +13582,14 @@ var review_section_default = _template("w", (input) => {
13530
13582
  const newCount = input.files.filter((f) => f.changedSince).length;
13531
13583
  const compare$1 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch, input.workspaceName);
13532
13584
  const prTitle = repo.pr ? `${repo.pr.title}: ${repo.pr.headRefName} ${repo.head} vs ${repo.base} ${repo.baseSha}` : "";
13533
- _html(`<section${_attr_class("_id")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}${_attr("hidden", !shownCount && !repo.pr && input.findHit?.repo !== repo.id)}><div${_attr_class(["_ie", { ["_if"]: input.collapsible && input.collapsed }])}>`);
13585
+ _html(`<section${_attr_class("_ie")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}${_attr("hidden", !shownCount && !repo.pr && input.findHit?.repo !== repo.id)}><div${_attr_class(["_if", { ["_ig"]: input.collapsible && input.collapsed }])}>`);
13534
13586
  _if(() => {
13535
13587
  if (input.collapsible) {
13536
13588
  const $scope1_id = _scope_id();
13537
- _html(`<button type=button${_attr_class("_ig")} aria-expanded=${!input.collapsed ? "true" : "false"} aria-busy=${input.expanding ? "true" : "false"}${input.collapsed ? _attr("title", `Show ${countLabel} files`) : " title=\"Hide files\""}><span${_attr_class([
13538
- "_iB",
13539
- !input.collapsed && "_iC",
13540
- input.expanding && "_iD"
13589
+ _html(`<button type=button${_attr_class("_ih")} aria-expanded=${!input.collapsed ? "true" : "false"} aria-busy=${input.expanding ? "true" : "false"}${input.collapsed ? _attr("title", `Show ${countLabel} files`) : " title=\"Hide files\""}><span${_attr_class([
13590
+ "_iC",
13591
+ !input.collapsed && "_iD",
13592
+ input.expanding && "_iE"
13541
13593
  ])} aria-hidden=true>`);
13542
13594
  _if(() => {
13543
13595
  if (input.collapsed) {
@@ -13576,14 +13628,14 @@ var review_section_default = _template("w", (input) => {
13576
13628
  return 1;
13577
13629
  }
13578
13630
  }, $scope0_id, "d", $sg__input_repo, $sg__input_repo, $sg__input_repo__OR__input_files__OR__input_shownKeys__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_collapsible__OR__input_collapsed__OR__input_localDiffers__OR__input_onlyNew__OR__input_opened);
13579
- _html(`<span${_attr_class("_io")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_N", "_ip"])}>${_text_resume($scope0_id, "g", compare$1.base, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_P", "_ir"])} aria-hidden=true>vs</span><span${_attr_class(["_N", "_iq"])}>${_text_resume($scope0_id, "j", compare$1.head, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13631
+ _html(`<span${_attr_class("_ip")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_N", "_iq"])}>${_text_resume($scope0_id, "g", compare$1.base, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_P", "_is"])} aria-hidden=true>vs</span><span${_attr_class(["_N", "_ir"])}>${_text_resume($scope0_id, "j", compare$1.head, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13580
13632
  _if(() => {
13581
13633
  if (compare$1.topic) {
13582
13634
  const $scope16_id = _scope_id();
13583
13635
  _html(`<span${_attr_class([
13584
13636
  "_N",
13585
13637
  tone.accent,
13586
- "_is"
13638
+ "_it"
13587
13639
  ])}>${_text_resume($scope16_id, "b", compare$1.topic, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13588
13640
  $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && writeScope($scope16_id, { _: _scope_with_id($scope0_id) });
13589
13641
  return 0;
@@ -13596,7 +13648,7 @@ var review_section_default = _template("w", (input) => {
13596
13648
  _html(`<button type=button${_attr_class([
13597
13649
  "_N",
13598
13650
  tone.warn,
13599
- "_it"
13651
+ "_iu"
13600
13652
  ])}${_attr("title", `origin/${repo.pr.headRefName} ${repo.head} · GitHub ${repo.pr.headRefOid}. Reload to re-ask GitHub`)}${_attr("disabled", input.loading)}>behind GitHub ${_text_resume($scope2_id, "b", shortSha(repo.head, 7), $sg__input_repo * 2)} → ${_text_resume($scope2_id, "c", shortSha(repo.pr.headRefOid, 7), $sg__input_repo * 2)}</button>${_el_resume($scope2_id, "a")}`);
13601
13653
  _script($scope2_id, "w10");
13602
13654
  writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
@@ -13606,7 +13658,7 @@ var review_section_default = _template("w", (input) => {
13606
13658
  _if(() => {
13607
13659
  if (repo.contained && input.files.length) {
13608
13660
  const $scope13_id = _scope_id();
13609
- _html(`<span${_attr_class(["_N", "_it"])}${_attr("title", `${repo.pr ? `#${repo.pr.number}` : repo.branch} is already in ${repo.base}; showing the working tree only`)}>already in ${_text_resume($scope13_id, "b", repo.base, $sg__input_repo * 2)}</span>${_el_resume($scope13_id, "a", $sg__input_repo)}`);
13661
+ _html(`<span${_attr_class(["_N", "_iu"])}${_attr("title", `${repo.pr ? `#${repo.pr.number}` : repo.branch} is already in ${repo.base}; showing the working tree only`)}>already in ${_text_resume($scope13_id, "b", repo.base, $sg__input_repo * 2)}</span>${_el_resume($scope13_id, "a", $sg__input_repo)}`);
13610
13662
  _serialize_if($scope0_reason, 0) && writeScope($scope13_id, { _: $si__input_repo && _scope_with_id($scope0_id) });
13611
13663
  return 0;
13612
13664
  }
@@ -13614,16 +13666,16 @@ var review_section_default = _template("w", (input) => {
13614
13666
  _if(() => {
13615
13667
  if (input.localDiffers) {
13616
13668
  const $scope3_id = _scope_id();
13617
- _html(`<span${_attr_class(["_N", "_it"])}${_attr("title", `This view is ${shortSha(repo.head)} (${repo.pr.headRefName}); checked out is ${shortSha(repo.localHead)} (${repo.branch})`)}>local ${_text_resume($scope3_id, "b", shortBranch(repo.branch, input.workspaceBranch, input.workspaceName), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName * 2)}${_text_resume($scope3_id, "c", shortSha(repo.localHead, 7), $sg__input_repo * 2)}</span>${_el_resume($scope3_id, "a", $sg__input_repo)}`);
13669
+ _html(`<span${_attr_class(["_N", "_iu"])}${_attr("title", `This view is ${shortSha(repo.head)} (${repo.pr.headRefName}); checked out is ${shortSha(repo.localHead)} (${repo.branch})`)}>local ${_text_resume($scope3_id, "b", shortBranch(repo.branch, input.workspaceBranch, input.workspaceName), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName * 2)}${_text_resume($scope3_id, "c", shortSha(repo.localHead, 7), $sg__input_repo * 2)}</span>${_el_resume($scope3_id, "a", $sg__input_repo)}`);
13618
13670
  $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers && writeScope($scope3_id, { _: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && _scope_with_id($scope0_id) });
13619
13671
  return 0;
13620
13672
  }
13621
13673
  }, $scope0_id, "n", _serialize_guard($scope0_reason, 23), _serialize_guard($scope0_reason, 38), $sg__input_repo__OR__input_files__OR__input_shownKeys__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_collapsible__OR__input_collapsed__OR__input_localDiffers__OR__input_onlyNew__OR__input_opened, 0, 1);
13622
- _html(`<span${_attr_class("_ii")}><span>${_text_resume($scope0_id, "p", countLabel, $sg__input_files__OR__input_shownKeys)} file${_text_resume($scope0_id, "q", countLabel === 1 ? "" : "s", $sg__input_files__OR__input_shownKeys * 2)}</span>`);
13674
+ _html(`<span${_attr_class("_ij")}><span>${_text_resume($scope0_id, "p", countLabel, $sg__input_files__OR__input_shownKeys)} file${_text_resume($scope0_id, "q", countLabel === 1 ? "" : "s", $sg__input_files__OR__input_shownKeys * 2)}</span>`);
13623
13675
  _if(() => {
13624
13676
  if (stats.additions || stats.deletions) {
13625
13677
  const $scope15_id = _scope_id();
13626
- _html(`<span${_attr_class("_ij")}>+${_text_resume($scope15_id, "b", stats.additions, $sg__input_files__OR__input_shownKeys * 2)}</span><span${_attr_class("_ik")}>−${_text_resume($scope15_id, "d", stats.deletions, $sg__input_files__OR__input_shownKeys * 2)}</span>`);
13678
+ _html(`<span${_attr_class("_ik")}>+${_text_resume($scope15_id, "b", stats.additions, $sg__input_files__OR__input_shownKeys * 2)}</span><span${_attr_class("_il")}>−${_text_resume($scope15_id, "d", stats.deletions, $sg__input_files__OR__input_shownKeys * 2)}</span>`);
13627
13679
  $si__input_files__OR__input_shownKeys && writeScope($scope15_id, { _: _scope_with_id($scope0_id) });
13628
13680
  return 0;
13629
13681
  }
@@ -13631,7 +13683,7 @@ var review_section_default = _template("w", (input) => {
13631
13683
  _if(() => {
13632
13684
  if (newCount || input.onlyNew) {
13633
13685
  const $scope4_id = _scope_id();
13634
- _html(`<button type=button${_attr_class(["_im", { ["_il"]: input.onlyNew }])} aria-pressed=${input.onlyNew ? "true" : "false"} title=${input.onlyNew ? "\"Show every file\"" : "\"Show only files changed since your last visit\""}>${_text_resume($scope4_id, "b", newCount, $sg__input_files)} new</button>${_el_resume($scope4_id, "a")}`);
13686
+ _html(`<button type=button${_attr_class(["_in", { ["_im"]: input.onlyNew }])} aria-pressed=${input.onlyNew ? "true" : "false"} title=${input.onlyNew ? "\"Show every file\"" : "\"Show only files changed since your last visit\""}>${_text_resume($scope4_id, "b", newCount, $sg__input_files)} new</button>${_el_resume($scope4_id, "a")}`);
13635
13687
  _script($scope4_id, "w11");
13636
13688
  writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
13637
13689
  return 0;
@@ -13641,7 +13693,7 @@ var review_section_default = _template("w", (input) => {
13641
13693
  _if(() => {
13642
13694
  if (!input.collapsible || !input.collapsed || input.opened) {
13643
13695
  const $scope5_id = _scope_id();
13644
- _html(`<div${_attr_class("_iv")}${_attr("hidden", input.collapsible && input.collapsed)}>`);
13696
+ _html(`<div${_attr_class("_iw")}${_attr("hidden", input.collapsible && input.collapsed)}>`);
13645
13697
  _for_of(input.files, (file$2) => {
13646
13698
  const $scope6_id = _scope_id();
13647
13699
  const $for_content__file__closures = /* @__PURE__ */ new Set();
@@ -13654,14 +13706,14 @@ var review_section_default = _template("w", (input) => {
13654
13706
  _html(`<details${_attr_details_or_dialog_open($scope6_id, "a", expanded, _resume(function(open) {
13655
13707
  input.onFileToggle(file$2.key, open);
13656
13708
  }, "w0", $scope6_id))}${_attr_class([
13657
- "_iw",
13658
- forceNear && "_ix",
13659
- input.findHit?.key === file$2.key && "_ib"
13660
- ])}${_attr("data-key", file$2.key)}${_attr("hidden", !input.shownKeys.has(file$2.key))}><summary${_attr_class("_iz")}><span${_attr_class("_ba")}${_attr("data-status", file$2.status)}>${_text_resume($scope6_id, "d", file$2.status, $sg__input_files)}</span>${_el_resume($scope6_id, "c", $sg__input_files)}<span${_attr_class([path$1, input.findHit?.key === file$2.key && input.findHit.line < 1 && "_ic"])}${_attr("title", file$2.path)}><bdi>${_text_resume($scope6_id, "f", file$2.path, $sg__input_files)}</bdi></span>${_el_resume($scope6_id, "e", _serialize_guard($scope0_reason, 19))}`);
13709
+ "_ix",
13710
+ forceNear && "_iy",
13711
+ input.findHit?.key === file$2.key && "_ic"
13712
+ ])}${_attr("data-key", file$2.key)}${_attr("hidden", !input.shownKeys.has(file$2.key))}><summary${_attr_class("_iA")}><span${_attr_class("_ba")}${_attr("data-status", file$2.status)}>${_text_resume($scope6_id, "d", file$2.status, $sg__input_files)}</span>${_el_resume($scope6_id, "c", $sg__input_files)}<span${_attr_class([path$1, input.findHit?.key === file$2.key && input.findHit.line < 1 && "_id"])}${_attr("title", file$2.path)}><bdi>${_text_resume($scope6_id, "f", file$2.path, $sg__input_files)}</bdi></span>${_el_resume($scope6_id, "e", _serialize_guard($scope0_reason, 19))}`);
13661
13713
  _if(() => {
13662
13714
  if (file$2.changedSince) {
13663
13715
  const $scope20_id = _scope_id();
13664
- _html(`<span${_attr_class(["_A", "_iu"])} title="Changed since your last visit"></span>`);
13716
+ _html(`<span${_attr_class(["_A", "_iv"])} title="Changed since your last visit"></span>`);
13665
13717
  $si__input_files && writeScope($scope20_id, {});
13666
13718
  return 0;
13667
13719
  }
@@ -13681,8 +13733,8 @@ var review_section_default = _template("w", (input) => {
13681
13733
  const $scope14_id = _scope_id();
13682
13734
  _html(`<button type=button${_attr_class([
13683
13735
  iconBtnXs,
13684
- "_iG",
13685
- { ["_iH"]: wholeFiles.has(file$2.key) }
13736
+ "_iH",
13737
+ { ["_iI"]: wholeFiles.has(file$2.key) }
13686
13738
  ])} title=${wholeFiles.has(file$2.key) ? "\"Show changes only\"" : "\"Show whole file\""} aria-label=${wholeFiles.has(file$2.key) ? "\"Show changes only\"" : "\"Show whole file\""} aria-pressed=${wholeFiles.has(file$2.key) ? "true" : "false"}>`);
13687
13739
  _if(() => {
13688
13740
  if (wholeFiles.has(file$2.key)) {
@@ -13709,17 +13761,17 @@ var review_section_default = _template("w", (input) => {
13709
13761
  _if(() => {
13710
13762
  if (file$2.binary) {
13711
13763
  const $scope23_id = _scope_id();
13712
- _html(`<p${_attr_class(["_iF", "_iy"])}>binary file</p>`);
13764
+ _html(`<p${_attr_class(["_iG", "_iz"])}>binary file</p>`);
13713
13765
  $si__input_files__OR__input_collapsedFiles && writeScope($scope23_id, {});
13714
13766
  return 0;
13715
13767
  } else if (file$2.tooLarge) {
13716
13768
  const $scope24_id = _scope_id();
13717
- _html(`<p${_attr_class(["_iF", "_iy"])}>file too large to display</p>`);
13769
+ _html(`<p${_attr_class(["_iG", "_iz"])}>file too large to display</p>`);
13718
13770
  $si__input_files__OR__input_collapsedFiles && writeScope($scope24_id, {});
13719
13771
  return 1;
13720
13772
  } else if (file$2.old == null && file$2.new == null) {
13721
13773
  const $scope25_id = _scope_id();
13722
- _html(`<p${_attr_class(["_iF", "_iy"])}>file could not be read</p>`);
13774
+ _html(`<p${_attr_class(["_iG", "_iz"])}>file could not be read</p>`);
13723
13775
  $si__input_files__OR__input_collapsedFiles && writeScope($scope25_id, {});
13724
13776
  return 2;
13725
13777
  } else if (expanded) {
@@ -13727,7 +13779,7 @@ var review_section_default = _template("w", (input) => {
13727
13779
  _if(() => {
13728
13780
  if (!forceNear) {
13729
13781
  const $scope8_id = _scope_id();
13730
- _html(`<div${_attr_class("_iA")}></div>${_el_resume($scope8_id, "a")}`);
13782
+ _html(`<div${_attr_class("_iB")}></div>${_el_resume($scope8_id, "a")}`);
13731
13783
  _script($scope8_id, "w13");
13732
13784
  _subscribe($si__input && $input__closures, writeScope($scope8_id, {}));
13733
13785
  return 0;
@@ -13735,7 +13787,7 @@ var review_section_default = _template("w", (input) => {
13735
13787
  const $scope9_id = _scope_id();
13736
13788
  const $childScope = _peek_scope_id();
13737
13789
  diff_file_default({
13738
- class: "_iy",
13790
+ class: "_iz",
13739
13791
  file: file$2,
13740
13792
  comments: fileComments,
13741
13793
  draft: input.draft && input.draft.key === file$2.key ? input.draft : null,
@@ -13748,7 +13800,7 @@ var review_section_default = _template("w", (input) => {
13748
13800
  input.onSaveComment(file$2, text);
13749
13801
  }, "w2", $scope9_id),
13750
13802
  onSendDraft: _resume(function(text, sessionId) {
13751
- input.onSendDraft(file$2, text, sessionId);
13803
+ return input.onSendDraft(file$2, text, sessionId);
13752
13804
  }, "w3", $scope9_id),
13753
13805
  onCancelDraft: _resume(function() {
13754
13806
  input.onCancelDraft();
@@ -13760,7 +13812,7 @@ var review_section_default = _template("w", (input) => {
13760
13812
  input.onEditComment(id, text);
13761
13813
  }, "w6", $scope9_id),
13762
13814
  onSendComment: _resume(function(id, sessionId) {
13763
- input.onSendComment(id, sessionId);
13815
+ return input.onSendComment(id, sessionId);
13764
13816
  }, "w7", $scope9_id),
13765
13817
  onError: _resume(function(message) {
13766
13818
  input.onError(message);
@@ -13939,7 +13991,7 @@ var $content = (input) => {
13939
13991
  _for_of(dir.dirs, (child) => {
13940
13992
  const $scope1_id = _scope_id();
13941
13993
  const shut = input.collapsed.has(input.collapsedKey(child.path));
13942
- _html(`<div${_attr_class("_hR")}><button type=button${_attr_class(["_hS", { ["_hJ"]: shut }])}${_attr("title", child.path)}${_attr_style(`--depth:${child.depth}`)}><span${_attr_class("_hZ")}>`);
13994
+ _html(`<div${_attr_class("_hB")}><button type=button${_attr_class(["_hC", { ["_ht"]: shut }])}${_attr("title", child.path)}${_attr_style(`--depth:${child.depth}`)}><span${_attr_class("_hJ")}>`);
13943
13995
  _if(() => {
13944
13996
  if (shut) {
13945
13997
  const $scope4_id = _scope_id();
@@ -13953,7 +14005,7 @@ var $content = (input) => {
13953
14005
  return 1;
13954
14006
  }
13955
14007
  }, $scope1_id, "c", $sg__input, $sg__input, $sg__input, "</span>", 1);
13956
- _html(`<span${_attr_class("_hT")}>${_text_resume($scope1_id, "e", child.label, $sg__input_dir)}/</span></button>${_el_resume($scope1_id, "b")}`);
14008
+ _html(`<span${_attr_class("_hD")}>${_text_resume($scope1_id, "e", child.label, $sg__input_dir)}/</span></button>${_el_resume($scope1_id, "b")}`);
13957
14009
  _if(() => {
13958
14010
  if (!shut) {
13959
14011
  const $scope2_id = _scope_id();
@@ -14000,11 +14052,11 @@ var $content = (input) => {
14000
14052
  }, "path", $scope0_id, "a", $sg__input, $sg__input_dir, $sg__input_dir, 0, 1);
14001
14053
  _for_of(dir.files, ({ file, name }) => {
14002
14054
  const $scope3_id = _scope_id();
14003
- _html(`<a${_attr("href", input.hrefFor(file.key))}${_attr_class(["_hV", { ["_hU"]: input.collapsedFiles?.has(file.key) }])}${input.collapsedFiles?.has(file.key) ? _attr("title", `${file.path} (folded — click to open)`) : _attr("title", file.path)}${_attr_style(`--depth:${dir.depth + 1}`)}><span${_attr_class("_ba")}${_attr("data-status", file.status)}>${_text_resume($scope3_id, "c", file.status, $sg__input_dir)}</span>${_el_resume($scope3_id, "b", $sg__input_dir)}<span${_attr_class("_hW")}>${_text_resume($scope3_id, "e", name, $sg__input_dir)}</span>`);
14055
+ _html(`<a${_attr("href", input.hrefFor(file.key))}${_attr_class(["_hF", { ["_hE"]: input.collapsedFiles?.has(file.key) }])}${input.collapsedFiles?.has(file.key) ? _attr("title", `${file.path} (folded — click to open)`) : _attr("title", file.path)}${_attr_style(`--depth:${dir.depth + 1}`)}><span${_attr_class("_ba")}${_attr("data-status", file.status)}>${_text_resume($scope3_id, "c", file.status, $sg__input_dir)}</span>${_el_resume($scope3_id, "b", $sg__input_dir)}<span${_attr_class("_hG")}>${_text_resume($scope3_id, "e", name, $sg__input_dir)}</span>`);
14004
14056
  _if(() => {
14005
14057
  if (input.newKeys.has(file.key)) {
14006
14058
  const $scope6_id = _scope_id();
14007
- _html(`<span${_attr_class(["_A", "_hX"])} title="Changed since your last visit"></span>`);
14059
+ _html(`<span${_attr_class(["_A", "_hH"])} title="Changed since your last visit"></span>`);
14008
14060
  _serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
14009
14061
  return 0;
14010
14062
  }
@@ -14012,7 +14064,7 @@ var $content = (input) => {
14012
14064
  _if(() => {
14013
14065
  if (input.commentKeys.has(file.key)) {
14014
14066
  const $scope7_id = _scope_id();
14015
- _html(`<span${_attr_class("_hY")}>`);
14067
+ _html(`<span${_attr_class("_hI")}>`);
14016
14068
  icon_comment_default({ size: 12 });
14017
14069
  _html("</span>");
14018
14070
  _serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
@@ -14070,7 +14122,7 @@ var diff_tree_default = _template("l", (input) => {
14070
14122
  scope: input.scope ?? null,
14071
14123
  file: key
14072
14124
  }), "l0", $scope0_id);
14073
- _html(`<aside${_attr_class(["_hK", { ["_hJ"]: input.open === false }])}><div${_attr_class("_hL")}>`);
14125
+ _html(`<aside${_attr_class(["_hu", { ["_ht"]: input.open === false }])}><div${_attr_class("_hv")}>`);
14074
14126
  _set_serialize_reason(2);
14075
14127
  const $childScope = _peek_scope_id();
14076
14128
  file_filter_default({
@@ -14079,18 +14131,18 @@ var diff_tree_default = _template("l", (input) => {
14079
14131
  filter = _new_filter;
14080
14132
  }, "l1", $scope0_id)
14081
14133
  });
14082
- _html(`</div><div${_attr_class("_hM")}>`);
14134
+ _html(`</div><div${_attr_class("_hw")}>`);
14083
14135
  _if(() => {
14084
14136
  if (!input.sections.length && filter) {
14085
14137
  const $scope3_id = _scope_id();
14086
- _html(`<p${_attr_class("_hN")}>No files match.</p>`);
14138
+ _html(`<p${_attr_class("_hx")}>No files match.</p>`);
14087
14139
  writeScope($scope3_id, {});
14088
14140
  return 0;
14089
14141
  }
14090
14142
  }, $scope0_id, "e", 1, 1, 1, 0, 1);
14091
14143
  _for_of(input.sections, (section) => {
14092
14144
  const $scope1_id = _scope_id();
14093
- _html(`<div${_attr_class("_hO")}><button type=button${_attr_class(["_hP", { ["_hJ"]: collapsedRepos.has(section.id) }])}><span${_attr_class("_hZ")}>`);
14145
+ _html(`<div${_attr_class("_hy")}><button type=button${_attr_class(["_hz", { ["_ht"]: collapsedRepos.has(section.id) }])}><span${_attr_class("_hJ")}>`);
14094
14146
  _if(() => {
14095
14147
  if (collapsedRepos.has(section.id)) {
14096
14148
  const $scope4_id = _scope_id();
@@ -14104,12 +14156,12 @@ var diff_tree_default = _template("l", (input) => {
14104
14156
  return 1;
14105
14157
  }
14106
14158
  }, $scope1_id, "c", 1, 1, 1, "</span>", 1);
14107
- _html(`<span${_attr_class("_hT")}>${_text_resume($scope1_id, "e", section.label, $sg__input_sections)}</span></button>${_el_resume($scope1_id, "b")}`);
14159
+ _html(`<span${_attr_class("_hD")}>${_text_resume($scope1_id, "e", section.label, $sg__input_sections)}</span></button>${_el_resume($scope1_id, "b")}`);
14108
14160
  _if(() => {
14109
14161
  if (!collapsedRepos.has(section.id) || openedRepos.has(section.id)) {
14110
14162
  const $scope2_id = _scope_id();
14111
14163
  const root = treeDirs(section.files);
14112
- _html(`<div${_attr_class("_hQ")}${_attr("hidden", collapsedRepos.has(section.id))}>`);
14164
+ _html(`<div${_attr_class("_hA")}${_attr("hidden", collapsedRepos.has(section.id))}>`);
14113
14165
  _set_serialize_reason(1);
14114
14166
  const $childScope2 = _peek_scope_id();
14115
14167
  diff_tree_dir_default({
@@ -14179,7 +14231,7 @@ var diff_tree_default = _template("l", (input) => {
14179
14231
  });
14180
14232
  _resume_branch($scope0_id);
14181
14233
  });
14182
- var sheetDir = "_hr _bb";
14234
+ var sheetDir = "_h7 _bb";
14183
14235
  //#endregion
14184
14236
  //#region src/tags/diff-file-sheet.marko
14185
14237
  var diff_file_sheet_default = _template("g", (input) => {
@@ -14235,9 +14287,9 @@ var diff_file_sheet_default = _template("g", (input) => {
14235
14287
  _if(() => {
14236
14288
  if (open) {
14237
14289
  const $scope1_id = _scope_id();
14238
- _html(`<div${_attr_class("_hi")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_hj")} role=dialog aria-label="Jump to file"><div${_attr_class("_hk")}><strong${_attr_class("_hh")}>Files</strong><span${_attr_class("_hl")}>${_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, "_hg"])} title=Close aria-label=Close>`);
14290
+ _html(`<div${_attr_class("_hY")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_hZ")} role=dialog aria-label="Jump to file"><div${_attr_class("_h0")}><strong${_attr_class("_hX")}>Files</strong><span${_attr_class("_h1")}>${_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, "_hW"])} title=Close aria-label=Close>`);
14239
14291
  icon_xmark_default({ size: 16 });
14240
- _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_ht")}>`);
14292
+ _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_h9")}>`);
14241
14293
  _set_serialize_reason(2);
14242
14294
  const $childScope = _peek_scope_id();
14243
14295
  file_filter_default({
@@ -14246,13 +14298,13 @@ var diff_file_sheet_default = _template("g", (input) => {
14246
14298
  filter = _new_filter;
14247
14299
  }, "g1", $scope1_id)
14248
14300
  });
14249
- _html(`</div><div${_attr_class("_hm")}>`);
14301
+ _html(`</div><div${_attr_class("_h2")}>`);
14250
14302
  _for_of(groups, (group) => {
14251
14303
  const $scope2_id = _scope_id();
14252
- _html(`<div${_attr_class("_hn")}><div${_attr_class("_ho")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
14304
+ _html(`<div${_attr_class("_h3")}><div${_attr_class("_h4")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
14253
14305
  _for_of(group.dirs, ({ dir, files }) => {
14254
14306
  const $scope3_id = _scope_id();
14255
- _html(`<div${_attr_class("_hp")}>`);
14307
+ _html(`<div${_attr_class("_h5")}>`);
14256
14308
  _if(() => {
14257
14309
  if (dir) {
14258
14310
  const $scope5_id = _scope_id();
@@ -14263,11 +14315,11 @@ var diff_file_sheet_default = _template("g", (input) => {
14263
14315
  }, $scope3_id, "b", $sg__input_files, $sg__input_files, $sg__input_files, 0, 1);
14264
14316
  _for_of(files, ({ file, name }) => {
14265
14317
  const $scope4_id = _scope_id();
14266
- _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_hq", "_y"])}><span${_attr_class("_ba")}${_attr("data-status", file.status)}>${_text_resume($scope4_id, "c", file.status, $sg__input_files)}</span>${_el_resume($scope4_id, "b", $sg__input_files)}<span${_attr_class("_hs")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
14318
+ _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_h6", "_y"])}><span${_attr_class("_ba")}${_attr("data-status", file.status)}>${_text_resume($scope4_id, "c", file.status, $sg__input_files)}</span>${_el_resume($scope4_id, "b", $sg__input_files)}<span${_attr_class("_h8")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
14267
14319
  _if(() => {
14268
14320
  if (newKeys.has(file.key)) {
14269
14321
  const $scope6_id = _scope_id();
14270
- _html(`<span${_attr_class(["_A", "_hv"])} title="Changed since your last visit"></span>`);
14322
+ _html(`<span${_attr_class(["_A", "_ia"])} title="Changed since your last visit"></span>`);
14271
14323
  _serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
14272
14324
  return 0;
14273
14325
  }
@@ -14277,7 +14329,7 @@ var diff_file_sheet_default = _template("g", (input) => {
14277
14329
  const $scope7_id = _scope_id();
14278
14330
  icon_comment_default({
14279
14331
  size: 12,
14280
- class: "_hw"
14332
+ class: "_ib"
14281
14333
  });
14282
14334
  _serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
14283
14335
  return 0;
@@ -14302,7 +14354,7 @@ var diff_file_sheet_default = _template("g", (input) => {
14302
14354
  _if(() => {
14303
14355
  if (!input.files.length) {
14304
14356
  const $scope8_id = _scope_id();
14305
- _html(`<p${_attr_class("_hu")}>No files match.</p>`);
14357
+ _html(`<p${_attr_class("_h_")}>No files match.</p>`);
14306
14358
  $si__input_files_length && writeScope($scope8_id, {});
14307
14359
  return 0;
14308
14360
  }
@@ -14842,11 +14894,11 @@ var diff_view_default = _template("m", (input) => {
14842
14894
  collapsedRepos = /* @__PURE__ */ new Set([...collapsedRepos, id]);
14843
14895
  }
14844
14896
  }, "m33", $scope0_id);
14845
- _html(`<div${_attr_class("_gc")}><div${_attr_class("_gh")}><div${_attr_class("_gi")}><div${_attr_class(["_gs", { ["_gr"]: !comments.length }])}>`);
14897
+ _html(`<div${_attr_class("_gd")}><div${_attr_class("_gi")}><div${_attr_class("_gj")}><div${_attr_class(["_gt", { ["_gs"]: !comments.length }])}>`);
14846
14898
  _if(() => {
14847
14899
  if (input.onExit) {
14848
14900
  const $scope1_id = _scope_id();
14849
- _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_gj"])} title="Back to terminal (Esc)">`);
14901
+ _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_gk"])} title="Back to terminal (Esc)">`);
14850
14902
  icon_back_default({ size: 14 });
14851
14903
  _html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 1))}`);
14852
14904
  _serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 1) && _scope_with_id($scope0_id) });
@@ -14857,7 +14909,7 @@ var diff_view_default = _template("m", (input) => {
14857
14909
  _if(() => {
14858
14910
  if (comments.length) {
14859
14911
  const $scope5_id = _scope_id();
14860
- _html(`<span${_attr_class("_gl")}>${_text_resume($scope5_id, "b", comments.length)} comment${_text_resume($scope5_id, "c", comments.length === 1 ? "" : "s", 2)}</span>`);
14912
+ _html(`<span${_attr_class("_gm")}>${_text_resume($scope5_id, "b", comments.length)} comment${_text_resume($scope5_id, "c", comments.length === 1 ? "" : "s", 2)}</span>`);
14861
14913
  writeScope($scope5_id, {});
14862
14914
  return 0;
14863
14915
  }
@@ -14865,7 +14917,7 @@ var diff_view_default = _template("m", (input) => {
14865
14917
  _if(() => {
14866
14918
  if (comments.length) {
14867
14919
  const $scope2_id = _scope_id();
14868
- _html(`<span${_attr_class("_gk")}>`);
14920
+ _html(`<span${_attr_class("_gl")}>`);
14869
14921
  _set_serialize_reason(_serialize_guard($scope0_reason, 7));
14870
14922
  const $childScope = _peek_scope_id();
14871
14923
  diff_send_default({
@@ -14878,14 +14930,14 @@ var diff_view_default = _template("m", (input) => {
14878
14930
  return 0;
14879
14931
  }
14880
14932
  }, $scope0_id, "h", 1, 1, 1, 0, 1);
14881
- _html(`</div>${_el_resume($scope0_id, "d")}<div${_attr_class("_gg")}>`);
14933
+ _html(`</div>${_el_resume($scope0_id, "d")}<div${_attr_class("_gh")}>`);
14882
14934
  _if(() => {
14883
14935
  if (hasFiles) {
14884
14936
  const $scope12_id = _scope_id();
14885
14937
  _html(`<button${_attr_class([
14886
14938
  treeToggle,
14887
- "_ge",
14888
- { ["_gd"]: treeOpen }
14939
+ "_gf",
14940
+ { ["_ge"]: treeOpen }
14889
14941
  ])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
14890
14942
  icon_sidebar_default({ size: 14 });
14891
14943
  _html(`</button>${_el_resume($scope12_id, "a")}`);
@@ -14894,7 +14946,7 @@ var diff_view_default = _template("m", (input) => {
14894
14946
  return 0;
14895
14947
  }
14896
14948
  }, $scope0_id, "j", 1, 1, 1, 0, 1);
14897
- _html(`<button${_attr_class([iconBtnRow, "_ge"])} title="Refresh diff"${_attr("disabled", loading)}>`);
14949
+ _html(`<button${_attr_class([iconBtnRow, "_gf"])} title="Refresh diff"${_attr("disabled", loading)}>`);
14898
14950
  _set_serialize_reason(1);
14899
14951
  const $childScope2 = _peek_scope_id();
14900
14952
  icon_refresh_default({
@@ -14905,19 +14957,19 @@ var diff_view_default = _template("m", (input) => {
14905
14957
  _if(() => {
14906
14958
  if (hasFiles) {
14907
14959
  const $scope13_id = _scope_id();
14908
- _html(`<button${_attr_class(["_q", "_gB"])} title="Jump to file">Files (${_text_resume($scope13_id, "b", shownFiles.length, 2)})</button>${_el_resume($scope13_id, "a")}`);
14960
+ _html(`<button${_attr_class(["_q", "_gC"])} title="Jump to file">Files (${_text_resume($scope13_id, "b", shownFiles.length, 2)})</button>${_el_resume($scope13_id, "a")}`);
14909
14961
  _script($scope13_id, "m53");
14910
14962
  writeScope($scope13_id, {});
14911
14963
  return 0;
14912
14964
  }
14913
14965
  }, $scope0_id, "m", 1, 1, 1, 0, 1);
14914
- _html(`<span${_attr_class(["_o", "_gt"])}>`);
14966
+ _html(`<span${_attr_class(["_o", "_gu"])}>`);
14915
14967
  _attr_select_value($scope0_id, "o", scope, _resume(function(v) {
14916
14968
  setScope(v);
14917
14969
  }, "m0", $scope0_id), () => {
14918
- _html(`<select${_attr_class(["_p", "_gu"])} aria-label="Review scope"${_attr("disabled", loading)}><option${_attr_option_value("committed")}>Committed</option><option${_attr_option_value("working")}>Working tree</option><option${_attr_option_value("dirty")}>Uncommitted</option></select>`);
14970
+ _html(`<select${_attr_class(["_p", "_gv"])} aria-label="Review scope"${_attr("disabled", loading)}><option${_attr_option_value("committed")}>Committed</option><option${_attr_option_value("working")}>Working tree</option><option${_attr_option_value("dirty")}>Uncommitted</option></select>`);
14919
14971
  });
14920
- _html(`${_el_resume($scope0_id, "o")}</span><div${_attr_class(["_gp", { ["_go"]: !findOpen }])}>`);
14972
+ _html(`${_el_resume($scope0_id, "o")}</span><div${_attr_class(["_gq", { ["_gp"]: !findOpen }])}>`);
14921
14973
  _set_serialize_reason(2);
14922
14974
  const $childScope3 = _peek_scope_id();
14923
14975
  let findFocus = diff_find_default({
@@ -14938,8 +14990,8 @@ var diff_view_default = _template("m", (input) => {
14938
14990
  const $scope14_id = _scope_id();
14939
14991
  _html(`<button${_attr_class([
14940
14992
  iconBtnRow,
14941
- "_gn",
14942
- "_ge"
14993
+ "_go",
14994
+ "_gf"
14943
14995
  ])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
14944
14996
  icon_search_default({ size: 14 });
14945
14997
  _html(`</button>${_el_resume($scope14_id, "a")}`);
@@ -14948,7 +15000,7 @@ var diff_view_default = _template("m", (input) => {
14948
15000
  return 0;
14949
15001
  }
14950
15002
  }, $scope0_id, "s", 1, 1, 1, 0, 1);
14951
- _html(`</div></div><div${_attr_class("_gq")} data-diff-main>`);
15003
+ _html(`</div></div><div${_attr_class("_gr")} data-diff-main>`);
14952
15004
  _if(() => {
14953
15005
  if (error) {
14954
15006
  const $scope6_id = _scope_id();
@@ -14971,7 +15023,7 @@ var diff_view_default = _template("m", (input) => {
14971
15023
  _if(() => {
14972
15024
  if (!repos && loading) {
14973
15025
  const $scope15_id = _scope_id();
14974
- _html(`<div${_attr_class("_gw")} aria-hidden=true><div${_attr_class(["_gx", "_gy"])}></div><div${_attr_class(["_gx", "_gz"])}></div><div${_attr_class(["_gx", "_gA"])}></div><div${_attr_class(["_gx", "_gz"])}></div><div${_attr_class(["_gx", "_gA"])}></div></div>`);
15026
+ _html(`<div${_attr_class("_gx")} aria-hidden=true><div${_attr_class(["_gy", "_gz"])}></div><div${_attr_class(["_gy", "_gA"])}></div><div${_attr_class(["_gy", "_gB"])}></div><div${_attr_class(["_gy", "_gA"])}></div><div${_attr_class(["_gy", "_gB"])}></div></div>`);
14975
15027
  writeScope($scope15_id, {});
14976
15028
  return 0;
14977
15029
  }
@@ -15001,12 +15053,12 @@ var diff_view_default = _template("m", (input) => {
15001
15053
  _if(() => {
15002
15054
  if (repos && !allFiles.length) {
15003
15055
  const $scope11_id = _scope_id();
15004
- _html(`<p${_attr_class("_bK")}>${_text_resume($scope11_id, "b", repoList.some((r) => r.unborn) ? "No commits yet." : scope === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base.")}</p>`);
15056
+ _html(`<p${_attr_class("_b7")}>${_text_resume($scope11_id, "b", repoList.some((r) => r.unborn) ? "No commits yet." : scope === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base.")}</p>`);
15005
15057
  writeScope($scope11_id, {});
15006
15058
  return 0;
15007
15059
  } else if (repos && !shownFiles.length && !findState.hit) {
15008
15060
  const $scope8_id = _scope_id();
15009
- _html(`<p${_attr_class("_bK")}>${_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>`);
15061
+ _html(`<p${_attr_class("_b7")}>${_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>`);
15010
15062
  writeScope($scope8_id, {});
15011
15063
  return 1;
15012
15064
  }
@@ -15060,7 +15112,7 @@ var diff_view_default = _template("m", (input) => {
15060
15112
  saveComment(file, text);
15061
15113
  }, "m40", $scope4_id),
15062
15114
  onSendDraft: _resume(function(file, text, sessionId) {
15063
- sendDraftComment(file, text, sessionId);
15115
+ return sendDraftComment(file, text, sessionId);
15064
15116
  }, "m41", $scope4_id),
15065
15117
  onCancelDraft: _resume(function() {
15066
15118
  draft = null;
@@ -15072,7 +15124,7 @@ var diff_view_default = _template("m", (input) => {
15072
15124
  editComment(id, text);
15073
15125
  }, "m44", $scope4_id),
15074
15126
  onSendComment: _resume(function(id, sessionId) {
15075
- sendOneComment(id, sessionId);
15127
+ return sendOneComment(id, sessionId);
15076
15128
  }, "m45", $scope4_id),
15077
15129
  onError: _resume(function(message) {
15078
15130
  error = message;
@@ -15373,9 +15425,9 @@ function parseInvite(text) {
15373
15425
  }
15374
15426
  //#endregion
15375
15427
  //#region src/tags/manage-workspace.css.ts
15376
- var content$1 = "_e6 _cs";
15377
- var pageMeta = "_e7 _cx";
15378
- var pathMeta = "_e_ _y";
15428
+ var content$1 = "_fm _cH";
15429
+ var pageMeta = "_fn _cM";
15430
+ var pathMeta = "_fq _y";
15379
15431
  //#endregion
15380
15432
  //#region src/tags/icons/icon-clipboard.marko
15381
15433
  var icon_clipboard_default = _template("V", (input) => {
@@ -15393,8 +15445,8 @@ var icon_clipboard_default = _template("V", (input) => {
15393
15445
  });
15394
15446
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
15395
15447
  });
15396
- var resultRow = "_g1 _I";
15397
- var resultBranch = "_g3 _4 _l";
15448
+ var resultRow = "_gP _I";
15449
+ var resultBranch = "_gR _4 _l";
15398
15450
  //#endregion
15399
15451
  //#region src/tags/icons/icon-branch.marko
15400
15452
  var icon_branch_default = _template("R", (input) => {
@@ -15424,11 +15476,11 @@ var branch_pick_default = _template("d", (input) => {
15424
15476
  let branchFilter = "";
15425
15477
  let reloadTick = 0;
15426
15478
  let refreshing = false;
15427
- _html(`<div${_attr_class("_g5")}>`);
15479
+ _html(`<div${_attr_class("_gT")}>`);
15428
15480
  _if(() => {
15429
15481
  {
15430
15482
  const $scope4_id = _scope_id();
15431
- _html(`<p${_attr_class("_bJ")}><span${_attr_class("_G")}></span> Loading branches…</p>`);
15483
+ _html(`<p${_attr_class("_b6")}><span${_attr_class("_G")}></span> Loading branches…</p>`);
15432
15484
  writeScope($scope4_id, {});
15433
15485
  return 0;
15434
15486
  }
@@ -15529,18 +15581,18 @@ var repo_picker_default = _template("v", (input$2) => {
15529
15581
  _resume_branch($scope8_id);
15530
15582
  }, $scope0_id) };
15531
15583
  const hasBody = !!(pasted || results.length || filter && (!catalog || !pasted) || compact && ssoPending.length);
15532
- _html(`<div${_attr_class([compact ? "_ch" : "_gV", { ["_ci"]: compact && !input$2.open }])}>`);
15584
+ _html(`<div${_attr_class([compact ? "_cO" : "_gJ", { ["_cP"]: compact && !input$2.open }])}>`);
15533
15585
  _if(() => {
15534
15586
  if (!compact && ssoPending.length) {
15535
15587
  const $scope10_id = _scope_id();
15536
- _html(`<div${_attr_class("_gW")}>`);
15588
+ _html(`<div${_attr_class("_gK")}>`);
15537
15589
  ssoBlock.content({});
15538
15590
  _html("</div>");
15539
15591
  writeScope($scope10_id, {});
15540
15592
  return 0;
15541
15593
  }
15542
15594
  }, $scope0_id, "b", 1, 1, 1, 0, 1);
15543
- _html(`<label${_attr_class(["_1", compact && "_cj"])}>`);
15595
+ _html(`<label${_attr_class(["_1", compact && "_cQ"])}>`);
15544
15596
  icon_search_default({
15545
15597
  size: 14,
15546
15598
  class: "_2"
@@ -15552,12 +15604,12 @@ var repo_picker_default = _template("v", (input$2) => {
15552
15604
  }, "v0", $scope0_id))}${_attr_class([
15553
15605
  compact ? "_Z" : inputLg,
15554
15606
  "_3",
15555
- compact && "_ck"
15607
+ compact && "_cR"
15556
15608
  ])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input$2.disabled)}>${_el_resume($scope0_id, "e")}</label>${_el_resume($scope0_id, "c", $sg__input_compact)}`);
15557
15609
  _if(() => {
15558
15610
  if (compact) {
15559
15611
  const $scope1_id = _scope_id();
15560
- _html(`<button${_attr_class([iconBtnRow, "_cl"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
15612
+ _html(`<button${_attr_class([iconBtnRow, "_cS"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
15561
15613
  icon_xmark_default({ size: 12 });
15562
15614
  _html(`</button>${_el_resume($scope1_id, "a")}`);
15563
15615
  _script($scope1_id, "v14");
@@ -15565,11 +15617,11 @@ var repo_picker_default = _template("v", (input$2) => {
15565
15617
  return 0;
15566
15618
  }
15567
15619
  }, $scope0_id, "f", $sg__input_compact__OR__input_open, $sg__input_compact, 1, 0, 1);
15568
- _html(`<div${_attr_class([compact ? pop$1 : "_gX"])}${_attr("hidden", !hasBody || compact && !input$2.open)}>`);
15620
+ _html(`<div${_attr_class([compact ? pop$1 : "_gL"])}${_attr("hidden", !hasBody || compact && !input$2.open)}>`);
15569
15621
  _if(() => {
15570
15622
  if (compact && ssoPending.length) {
15571
15623
  const $scope11_id = _scope_id();
15572
- _html(`<div${_attr_class("_gW")}>`);
15624
+ _html(`<div${_attr_class("_gK")}>`);
15573
15625
  ssoBlock.content({});
15574
15626
  _html("</div>");
15575
15627
  writeScope($scope11_id, {});
@@ -15579,16 +15631,16 @@ var repo_picker_default = _template("v", (input$2) => {
15579
15631
  _if(() => {
15580
15632
  if (pasted) {
15581
15633
  const $scope2_id = _scope_id();
15582
- _html(`<ul${_attr_class("_gY")}><li><div${_attr_class(["_g0", "_gZ"])}><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)`)}>`);
15634
+ _html(`<ul${_attr_class("_gM")}><li><div${_attr_class(["_gO", "_gN"])}><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)`)}>`);
15583
15635
  icon_plus_default({
15584
15636
  size: 12,
15585
- class: "_g7"
15637
+ class: "_gV"
15586
15638
  });
15587
- _html(`<span${_attr_class("_g8")}>${_text_resume($scope2_id, "f", repoLabel(pasted))}</span></button>${_el_resume($scope2_id, "c")}`);
15639
+ _html(`<span${_attr_class("_gW")}>${_text_resume($scope2_id, "f", repoLabel(pasted))}</span></button>${_el_resume($scope2_id, "c")}`);
15588
15640
  _if(() => {
15589
15641
  if (pastedForkable) {
15590
15642
  const $scope9_id = _scope_id();
15591
- _html(`<button${_attr_class(["_g4", { ["_g2"]: 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"}>`);
15643
+ _html(`<button${_attr_class(["_gS", { ["_gQ"]: 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"}>`);
15592
15644
  _if(() => {
15593
15645
  if (pasteWillFork) {
15594
15646
  const $scope13_id = _scope_id();
@@ -15608,7 +15660,7 @@ var repo_picker_default = _template("v", (input$2) => {
15608
15660
  return 0;
15609
15661
  }
15610
15662
  }, $scope2_id, "g", 1, 1, 1, 0, 1);
15611
- _html(`<button${_attr_class([resultBranch, { ["_g2"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
15663
+ _html(`<button${_attr_class([resultBranch, { ["_gQ"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
15612
15664
  icon_branch_default({ size: 12 });
15613
15665
  _html(`</button>${_el_resume($scope2_id, "h")}</div>`);
15614
15666
  _if(() => {
@@ -15635,7 +15687,7 @@ var repo_picker_default = _template("v", (input$2) => {
15635
15687
  return 0;
15636
15688
  } else if (filter && !catalog) {
15637
15689
  const $scope12_id = _scope_id();
15638
- _html(`<p${_attr_class("_bJ")}>Loading repos…</p>`);
15690
+ _html(`<p${_attr_class("_b6")}>Loading repos…</p>`);
15639
15691
  writeScope($scope12_id, {});
15640
15692
  return 1;
15641
15693
  }
@@ -15643,15 +15695,15 @@ var repo_picker_default = _template("v", (input$2) => {
15643
15695
  _if(() => {
15644
15696
  if (results.length) {
15645
15697
  const $scope4_id = _scope_id();
15646
- _html(`<ul${_attr_class("_gY")}>`);
15698
+ _html(`<ul${_attr_class("_gM")}>`);
15647
15699
  _for_of(results, (repo, i) => {
15648
15700
  const $scope5_id = _scope_id();
15649
- _html(`<li><div${_attr_class(["_g0", { ["_gZ"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
15701
+ _html(`<li><div${_attr_class(["_gO", { ["_gN"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
15650
15702
  icon_plus_default({
15651
15703
  size: 12,
15652
- class: "_g7"
15704
+ class: "_gV"
15653
15705
  });
15654
- _html(`<span${_attr_class("_g8")}>${_text_resume($scope5_id, "e", repoLabel(repo.nameWithOwner))}</span></button>${_el_resume($scope5_id, "b")}<button${_attr_class([resultBranch, { ["_g2"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
15706
+ _html(`<span${_attr_class("_gW")}>${_text_resume($scope5_id, "e", repoLabel(repo.nameWithOwner))}</span></button>${_el_resume($scope5_id, "b")}<button${_attr_class([resultBranch, { ["_gQ"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
15655
15707
  icon_branch_default({ size: 12 });
15656
15708
  _html(`</button>${_el_resume($scope5_id, "f")}</div>${_el_resume($scope5_id, "a")}`);
15657
15709
  _if(() => {
@@ -15686,7 +15738,7 @@ var repo_picker_default = _template("v", (input$2) => {
15686
15738
  return 0;
15687
15739
  } else if (filter && catalog && !pasted) {
15688
15740
  const $scope7_id = _scope_id();
15689
- _html(`<p${_attr_class("_bJ")}>No repos match "${_text_resume($scope7_id, "b", filter, 2)}". Paste a clone URL to add any repo.</p>`);
15741
+ _html(`<p${_attr_class("_b6")}>No repos match "${_text_resume($scope7_id, "b", filter, 2)}". Paste a clone URL to add any repo.</p>`);
15690
15742
  writeScope($scope7_id, {});
15691
15743
  return 1;
15692
15744
  }
@@ -15896,7 +15948,7 @@ var manage_workspace_default = _template("q", (input) => {
15896
15948
  setTimeout(() => loadProcs(void 0), 500);
15897
15949
  }, "q9", $scope0_id);
15898
15950
  const titleId = _id();
15899
- _html(`<div${_attr_class("_cq")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_cr")}><div${_attr_class(content$1)}>`);
15951
+ _html(`<div${_attr_class("_cF")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_cG")}><div${_attr_class(content$1)}>`);
15900
15952
  _set_serialize_reason(286);
15901
15953
  let $actions;
15902
15954
  if (ws.repos.length) $actions = attrTag({ content: _content_resume("q17", () => {
@@ -15932,7 +15984,7 @@ var manage_workspace_default = _template("q", (input) => {
15932
15984
  meta: attrTag({ content: _content("q16", () => {
15933
15985
  _scope_reason();
15934
15986
  const $scope15_id = _scope_id();
15935
- _html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_e8")}>${_text_resume($scope15_id, "c", ws.name)}</span>`);
15987
+ _html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_fo")}>${_text_resume($scope15_id, "c", ws.name)}</span>`);
15936
15988
  _if(() => {
15937
15989
  if (ws.status !== "active") {
15938
15990
  const $scope19_id = _scope_id();
@@ -15941,7 +15993,7 @@ var manage_workspace_default = _template("q", (input) => {
15941
15993
  return 0;
15942
15994
  }
15943
15995
  }, $scope15_id, "d", 1, 1, 1, 0, 1);
15944
- _html(`<span${_attr_class("_e9")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_text_resume($scope15_id, "g", ws.display_path || ws.path)}</span></span>${_el_resume($scope15_id, "a")}`);
15996
+ _html(`<span${_attr_class("_fp")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_text_resume($scope15_id, "g", ws.display_path || ws.path)}</span></span>${_el_resume($scope15_id, "a")}`);
15945
15997
  _subscribe($ws_status__closures, _subscribe($ws_path__closures, _subscribe($ws_display_path__closures, _subscribe($ws_name__closures, writeScope($scope15_id, { _: _scope_with_id($scope0_id) })))));
15946
15998
  _resume_branch($scope15_id);
15947
15999
  }, $scope0_id) })
@@ -15969,32 +16021,32 @@ var manage_workspace_default = _template("q", (input) => {
15969
16021
  _if(() => {
15970
16022
  if (pendingAction && actionStep) {
15971
16023
  const $scope11_id = _scope_id();
15972
- _html(`<p${_attr_class("_bx")}><span${_attr_class("_G")}></span>${_text_resume($scope11_id, "c", actionStep)}</p>`);
16024
+ _html(`<p${_attr_class("_bU")}><span${_attr_class("_G")}></span>${_text_resume($scope11_id, "c", actionStep)}</p>`);
15973
16025
  writeScope($scope11_id, {});
15974
16026
  return 0;
15975
16027
  }
15976
16028
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
15977
- _html(`<section${_attr_class("_by")}><div${_attr_class("_bz")}><h2${_attr_class("_bM")}>Workspace</h2></div><div${_attr_class(["_bD", "_cz"])}><div${_attr_class(["_cA", "_cB"])}>`);
16029
+ _html(`<section${_attr_class("_bV")}><div${_attr_class("_bW")}><h2${_attr_class("_b9")}>Workspace</h2></div><div${_attr_class(["_b0", "_co"])}><div${_attr_class(["_cp", "_cq"])}>`);
15978
16030
  _if(() => {
15979
16031
  if (ws.status === "active") {
15980
16032
  const $scope8_id = _scope_id();
15981
- _html(`<span${_attr_class("_cD")}>Hide from the list. Worktrees stay on disk.</span><button type=button${_attr_class(btnSm)}${_attr("disabled", !!pendingAction)}>${_text_resume($scope8_id, "c", pendingAction === "archive" ? "Archiving…" : "Archive")}</button>${_el_resume($scope8_id, "b")}`);
16033
+ _html(`<span${_attr_class("_cs")}>Hide from the list. Worktrees stay on disk.</span><button type=button${_attr_class(btnSm)}${_attr("disabled", !!pendingAction)}>${_text_resume($scope8_id, "c", pendingAction === "archive" ? "Archiving…" : "Archive")}</button>${_el_resume($scope8_id, "b")}`);
15982
16034
  _script($scope8_id, "q19");
15983
16035
  writeScope($scope8_id, {});
15984
16036
  return 0;
15985
16037
  } else {
15986
16038
  const $scope9_id = _scope_id();
15987
- _html(`<span${_attr_class("_cD")}>Archived and hidden from the list.</span><button type=button${_attr_class([btnSm, "_r"])}${_attr("disabled", !!pendingAction)}>${_text_resume($scope9_id, "c", pendingAction === "restore" ? "Restoring…" : "Restore")}</button>${_el_resume($scope9_id, "b")}`);
16039
+ _html(`<span${_attr_class("_cs")}>Archived and hidden from the list.</span><button type=button${_attr_class([btnSm, "_r"])}${_attr("disabled", !!pendingAction)}>${_text_resume($scope9_id, "c", pendingAction === "restore" ? "Restoring…" : "Restore")}</button>${_el_resume($scope9_id, "b")}`);
15988
16040
  _script($scope9_id, "q20");
15989
16041
  writeScope($scope9_id, {});
15990
16042
  return 1;
15991
16043
  }
15992
16044
  }, $scope0_id, "k", 1, 1, 1, "</div>");
15993
- _html(`<div${_attr_class(["_cA", "_cB"])}><span${_attr_class("_cD")}>Remove the workspace and its worktrees. Branches on origin stay.</span><button type=button${_attr_class([
16045
+ _html(`<div${_attr_class(["_cp", "_cq"])}><span${_attr_class("_cs")}>Remove the workspace and its worktrees. Branches on origin stay.</span><button type=button${_attr_class([
15994
16046
  btnSm,
15995
16047
  "_t",
15996
16048
  { ["_s"]: confirmingDelete }
15997
- ])}${_attr("disabled", !!pendingAction)}>${_text_resume($scope0_id, "o", pendingAction === "delete" ? "Deleting…" : "Delete")}</button>${_el_resume($scope0_id, "n")}</div></div></section><section${_attr_class("_by")}><div${_attr_class("_bz")}><h2${_attr_class("_bM")}>Repos</h2><span${_attr_class(sectionCount)}>${_text_resume($scope0_id, "t", ws.repos.length)}</span><div${_attr_class("_z")}></div><button${_attr_class(iconBtnRow)} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
16049
+ ])}${_attr("disabled", !!pendingAction)}>${_text_resume($scope0_id, "o", pendingAction === "delete" ? "Deleting…" : "Delete")}</button>${_el_resume($scope0_id, "n")}</div></div></section><section${_attr_class("_bV")}><div${_attr_class("_bW")}><h2${_attr_class("_b9")}>Repos</h2><span${_attr_class(sectionCount)}>${_text_resume($scope0_id, "t", ws.repos.length)}</span><div${_attr_class("_z")}></div><button${_attr_class(iconBtnRow)} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
15998
16050
  icon_plus_default({ size: 16 });
15999
16051
  _html(`</button>${_el_resume($scope0_id, "v")}`);
16000
16052
  _set_serialize_reason(66);
@@ -16025,13 +16077,13 @@ var manage_workspace_default = _template("q", (input) => {
16025
16077
  class: catalogRefreshing && "_F"
16026
16078
  });
16027
16079
  _html(`</button>${_el_resume($scope0_id, "z")}</div><ul${_attr_class([
16028
- "_bD",
16029
- "_cz",
16030
- "_cN"
16080
+ "_b0",
16081
+ "_co",
16082
+ "_cC"
16031
16083
  ])}>`);
16032
16084
  _for_of(ws.repos, (row) => {
16033
16085
  const $scope1_id = _scope_id();
16034
- _html(`<li${_attr_class(flatCardRow)}><div${_attr_class("_bE")}><span${_attr_class(["_bF", "_y"])}>${_text_resume($scope1_id, "d", row.worktree)}/</span><span${_attr_class("_bG")}><a${_attr_class(["_bH", "_K"])}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_text_resume($scope1_id, "g", repoLabel(row.full_name))}</a>${_el_resume($scope1_id, "f")}`);
16086
+ _html(`<li${_attr_class(flatCardRow)}><div${_attr_class("_b1")}><span${_attr_class(["_b2", "_y"])}>${_text_resume($scope1_id, "d", row.worktree)}/</span><span${_attr_class("_b3")}><a${_attr_class(["_b4", "_K"])}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_text_resume($scope1_id, "g", repoLabel(row.full_name))}</a>${_el_resume($scope1_id, "f")}`);
16035
16087
  _if(() => {
16036
16088
  if (row.base_branch !== row.default_branch) {
16037
16089
  const $scope22_id = _scope_id();
@@ -16052,7 +16104,7 @@ var manage_workspace_default = _template("q", (input) => {
16052
16104
  } else {
16053
16105
  const $scope10_id = _scope_id();
16054
16106
  _html(`<button${_attr_class([
16055
- "_bI",
16107
+ "_b5",
16056
16108
  "_8",
16057
16109
  "_9",
16058
16110
  { ["_s"]: confirmingRemove === row.full_name }
@@ -16085,13 +16137,13 @@ var manage_workspace_default = _template("q", (input) => {
16085
16137
  }, "full_name", $scope0_id, "a2", 1, 1, 1, 0, 1);
16086
16138
  _for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
16087
16139
  const $scope26_id = _scope_id();
16088
- _html(`<li${_attr_class([flatCardRow, "_bC"])}><span${_attr_class("_G")}></span><div${_attr_class("_bE")}><span${_attr_class("_bH")}>Adding ${_text_resume($scope26_id, "e", name, 2)}…</span></div></li>`);
16140
+ _html(`<li${_attr_class([flatCardRow, "_bZ"])}><span${_attr_class("_G")}></span><div${_attr_class("_b1")}><span${_attr_class("_b4")}>Adding ${_text_resume($scope26_id, "e", name, 2)}…</span></div></li>`);
16089
16141
  writeScope($scope26_id, {});
16090
16142
  }, (n) => n, $scope0_id, "a3", 1, 1, 1, 0, 1);
16091
16143
  _if(() => {
16092
16144
  if (!ws.repos.length && !busy.size) {
16093
16145
  const $scope27_id = _scope_id();
16094
- _html(`<li${_attr_class(flatCardRow)}><span${_attr_class("_bH")}>No repos yet. Add one to start.</span></li>`);
16146
+ _html(`<li${_attr_class(flatCardRow)}><span${_attr_class("_b4")}>No repos yet. Add one to start.</span></li>`);
16095
16147
  writeScope($scope27_id, {});
16096
16148
  return 0;
16097
16149
  }
@@ -16102,7 +16154,7 @@ var manage_workspace_default = _template("q", (input) => {
16102
16154
  _if(() => {
16103
16155
  if (wsSkills.length || repoSkills.length) {
16104
16156
  const $scope2_id = _scope_id();
16105
- _html(`<section${_attr_class("_by")}><div${_attr_class("_bz")}><h2${_attr_class("_bM")}>Skills</h2>`);
16157
+ _html(`<section${_attr_class("_bV")}><div${_attr_class("_bW")}><h2${_attr_class("_b9")}>Skills</h2>`);
16106
16158
  _if(() => {
16107
16159
  if (wsSkills.length) {
16108
16160
  const $scope28_id = _scope_id();
@@ -16111,7 +16163,7 @@ var manage_workspace_default = _template("q", (input) => {
16111
16163
  return 0;
16112
16164
  }
16113
16165
  }, $scope2_id, "d", 1, 1, 1, 0, 1);
16114
- _html(`</div><ul${_attr_class("_dU")}>`);
16166
+ _html(`</div><ul${_attr_class("_ch")}>`);
16115
16167
  _for_of(wsSkills, (s) => {
16116
16168
  const $scope3_id = _scope_id();
16117
16169
  const $for_content2__s_worktree__closures = /* @__PURE__ */ new Set();
@@ -16219,7 +16271,7 @@ var manage_workspace_default = _template("q", (input) => {
16219
16271
  _if(() => {
16220
16272
  if (repoSkills.length) {
16221
16273
  const $scope4_id = _scope_id();
16222
- _html(`<ul${_attr_class("_dU")}>`);
16274
+ _html(`<ul${_attr_class("_ch")}>`);
16223
16275
  _for_of(repoSkills, (s) => {
16224
16276
  const $scope5_id = _scope_id();
16225
16277
  const $for_content3__s_shadows__closures = /* @__PURE__ */ new Set();
@@ -16275,22 +16327,22 @@ var manage_workspace_default = _template("q", (input) => {
16275
16327
  _if(() => {
16276
16328
  if (running.length) {
16277
16329
  const $scope17_id = _scope_id();
16278
- _html(`<section${_attr_class("_by")}><div${_attr_class("_bz")}><h2${_attr_class("_bM")}>Running</h2><span${_attr_class(sectionCount)}>${_text_resume($scope17_id, "e", running.length)}</span></div><ul${_attr_class([
16279
- "_bD",
16280
- "_cz",
16281
- "_cN"
16330
+ _html(`<section${_attr_class("_bV")}><div${_attr_class("_bW")}><h2${_attr_class("_b9")}>Running</h2><span${_attr_class(sectionCount)}>${_text_resume($scope17_id, "e", running.length)}</span></div><ul${_attr_class([
16331
+ "_b0",
16332
+ "_co",
16333
+ "_cC"
16282
16334
  ])}>`);
16283
16335
  _for_of(running, (p) => {
16284
16336
  const $scope18_id = _scope_id();
16285
- _html(`<li${_attr_class(flatCardRow)}><div${_attr_class("_bE")}${_attr("title", p.args)}><span${_attr_class([
16286
- "_bF",
16337
+ _html(`<li${_attr_class(flatCardRow)}><div${_attr_class("_b1")}${_attr("title", p.args)}><span${_attr_class([
16338
+ "_b2",
16287
16339
  "_y",
16288
- "_fa"
16340
+ "_fr"
16289
16341
  ])}>${_text_resume($scope18_id, "d", p.cmd)}</span>`);
16290
16342
  _if(() => {
16291
16343
  if (p.ports.length) {
16292
16344
  const $scope36_id = _scope_id();
16293
- _html(`<span${_attr_class("_bG")}>`);
16345
+ _html(`<span${_attr_class("_b3")}>`);
16294
16346
  _for_of(p.ports, (port) => {
16295
16347
  const $scope37_id = _scope_id();
16296
16348
  _html(`<button${_attr_class(["_u", "_K"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:${_text_resume($scope37_id, "b", port, 2)}</button>${_el_resume($scope37_id, "a")}`);
@@ -16301,7 +16353,7 @@ var manage_workspace_default = _template("q", (input) => {
16301
16353
  return 0;
16302
16354
  }
16303
16355
  }, $scope18_id, "e", 1, 1, 1, 0, 1);
16304
- _html(`</div>${_el_resume($scope18_id, "b")}<button${_attr_class(["_bI", "_8"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
16356
+ _html(`</div>${_el_resume($scope18_id, "b")}<button${_attr_class(["_b5", "_8"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
16305
16357
  icon_xmark_default({ size: 14 });
16306
16358
  _html(`</button>${_el_resume($scope18_id, "f")}</li>`);
16307
16359
  _script($scope18_id, "q30");
@@ -16383,11 +16435,11 @@ var manage_workspace_default = _template("q", (input) => {
16383
16435
  });
16384
16436
  //#endregion
16385
16437
  //#region src/tags/new-workspace.css.ts
16386
- var content = "_eP _cs";
16387
- var curBase = "_eX _Y _X";
16388
- var archived = "_e2 _by";
16389
- var archivedHint = "_e3 _X";
16390
- var archivedCard = "_e4 _bD";
16438
+ var content = "_fs _cH";
16439
+ var curBase = "_fA _Y _X";
16440
+ var archived = "_fF _bV";
16441
+ var archivedHint = "_fG _X";
16442
+ var archivedCard = "_fH _b0";
16391
16443
  //#endregion
16392
16444
  //#region src/tags/icons/icon-group.marko
16393
16445
  var icon_group_default = _template("eb", (input) => {
@@ -16407,8 +16459,8 @@ var icon_group_default = _template("eb", (input) => {
16407
16459
  });
16408
16460
  //#endregion
16409
16461
  //#region src/tags/join-dialog.css.ts
16410
- var dlg = "_hx _ep";
16411
- var hint = "_hy _X";
16462
+ var dlg = "_hK _ey";
16463
+ var hint = "_hL _X";
16412
16464
  //#endregion
16413
16465
  //#region src/tags/join-dialog.marko
16414
16466
  var api$3;
@@ -16537,26 +16589,26 @@ var join_dialog_default = _template("o", (input) => {
16537
16589
  content: _content("o12", () => {
16538
16590
  _scope_reason();
16539
16591
  const $scope1_id = _scope_id();
16540
- _html(`<h2${_attr_class("_eq")}${_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([
16592
+ _html(`<h2${_attr_class("_ez")}${_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([
16541
16593
  "_Z",
16542
16594
  "_y",
16543
- "_hA"
16595
+ "_hN"
16544
16596
  ])} 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")}`);
16545
16597
  _if(() => {
16546
16598
  if (parsed.error) {
16547
16599
  const $scope8_id = _scope_id();
16548
- _html(`<p${_attr_class([hint, "_hz"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
16600
+ _html(`<p${_attr_class([hint, "_hM"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
16549
16601
  _subscribe($parsed_error__closures, writeScope($scope8_id, { Cag: 1 }));
16550
16602
  return 0;
16551
16603
  } else if (parsed.ok) {
16552
16604
  const $scope3_id = _scope_id();
16553
- _html(`<ul${_attr_class("_hB")}>`);
16605
+ _html(`<ul${_attr_class("_hO")}>`);
16554
16606
  _for_of(parsed.ok.repos, (fullName) => {
16555
16607
  const $scope9_id = _scope_id();
16556
- _html(`<li${_attr_class("_hC")}><span${_attr_class("_hD")}>${_text_resume($scope9_id, "c", repoLabel(fullName))}</span></li>`);
16608
+ _html(`<li${_attr_class("_hP")}><span${_attr_class("_hQ")}>${_text_resume($scope9_id, "c", repoLabel(fullName))}</span></li>`);
16557
16609
  writeScope($scope9_id, {});
16558
16610
  }, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
16559
- _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("_hE")}><span${_attr_class("_bM")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
16611
+ _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("_hR")}><span${_attr_class("_b9")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
16560
16612
  name = _new_name;
16561
16613
  }, "o1", $scope3_id))}${_attr_class("_Z")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
16562
16614
  _script($scope3_id, "o8");
@@ -16593,10 +16645,10 @@ var join_dialog_default = _template("o", (input) => {
16593
16645
  _if(() => {
16594
16646
  if (busy && steps$2.length) {
16595
16647
  const $scope6_id = _scope_id();
16596
- _html(`<ul${_attr_class("_hF")}>`);
16648
+ _html(`<ul${_attr_class("_hS")}>`);
16597
16649
  _for_of(steps$2, (step$2, i) => {
16598
16650
  const $scope7_id = _scope_id();
16599
- _html(`<li${_attr_class(["_hH", { ["_hG"]: i === steps$2.length - 1 }])}>`);
16651
+ _html(`<li${_attr_class(["_hU", { ["_hT"]: i === steps$2.length - 1 }])}>`);
16600
16652
  _if(() => {
16601
16653
  if (i === steps$2.length - 1) {
16602
16654
  const $scope10_id = _scope_id();
@@ -16605,7 +16657,7 @@ var join_dialog_default = _template("o", (input) => {
16605
16657
  return 0;
16606
16658
  } else {
16607
16659
  const $scope11_id = _scope_id();
16608
- _html(`<span${_attr_class("_hI")}>`);
16660
+ _html(`<span${_attr_class("_hV")}>`);
16609
16661
  icon_check_default({ size: 14 });
16610
16662
  _html("</span>");
16611
16663
  writeScope($scope11_id, {});
@@ -16762,7 +16814,7 @@ var new_workspace_default = _template("s", (input) => {
16762
16814
  }
16763
16815
  }, "s6", $scope0_id);
16764
16816
  const titleId = _id();
16765
- _html(`<div${_attr_class("_cq")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_cr")}><div${_attr_class(content)}>`);
16817
+ _html(`<div${_attr_class("_cF")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_cG")}><div${_attr_class(content)}>`);
16766
16818
  _set_serialize_reason({
16767
16819
  0: _serialize_guard($scope0_reason, 2),
16768
16820
  1: $sg__input_backHref__OR__input_onExit,
@@ -16811,23 +16863,23 @@ var new_workspace_default = _template("s", (input) => {
16811
16863
  return 0;
16812
16864
  }
16813
16865
  }, $scope0_id, "e", 1, 1, 1, 0, 1);
16814
- _html(`<label${_attr_class("_eS")}><span${_attr_class("_bM")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
16866
+ _html(`<label${_attr_class("_fv")}><span${_attr_class("_b9")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
16815
16867
  name = _new_name;
16816
- }, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class("_by")}><div${_attr_class("_eT")}><h2${_attr_class("_bM")}>Repos</h2><button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
16868
+ }, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class("_bV")}><div${_attr_class("_fw")}><h2${_attr_class("_b9")}>Repos</h2><button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
16817
16869
  _set_serialize_reason(1);
16818
16870
  const $childScope2 = _peek_scope_id();
16819
16871
  icon_refresh_default({
16820
16872
  size: 14,
16821
16873
  class: catalogRefreshing && "_F"
16822
16874
  });
16823
- _html(`</button>${_el_resume($scope0_id, "l")}</div><ul${_attr_class("_eU")}>`);
16875
+ _html(`</button>${_el_resume($scope0_id, "l")}</div><ul${_attr_class("_fx")}>`);
16824
16876
  _for_of(selected, (repo) => {
16825
16877
  const $scope4_id = _scope_id();
16826
- _html(`<li><div${_attr_class(row)}><span${_attr_class("_eV")}>${_text_resume($scope4_id, "c", repoLabel(repo.fullName))}</span>`);
16878
+ _html(`<li><div${_attr_class(row)}><span${_attr_class("_fy")}>${_text_resume($scope4_id, "c", repoLabel(repo.fullName))}</span>`);
16827
16879
  _if(() => {
16828
16880
  if (repo.fork !== void 0) {
16829
16881
  const $scope5_id = _scope_id();
16830
- _html(`<button${_attr_class(["_eY", { ["_eW"]: 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)}>`);
16882
+ _html(`<button${_attr_class(["_fB", { ["_fz"]: 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)}>`);
16831
16883
  _if(() => {
16832
16884
  if (repo.fork) {
16833
16885
  const $scope14_id = _scope_id();
@@ -16850,7 +16902,7 @@ var new_workspace_default = _template("s", (input) => {
16850
16902
  _html(`<button${_attr_class([
16851
16903
  curBase,
16852
16904
  "_y",
16853
- { ["_eW"]: branchesFor === repo.fullName }
16905
+ { ["_fz"]: branchesFor === repo.fullName }
16854
16906
  ])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}>`);
16855
16907
  icon_branch_default({ size: 12 });
16856
16908
  _html(`${_text_resume($scope4_id, "g", repo.baseBranch ? `${_to_text(" ")}${_to_text(repo.baseBranch)}` : "")}</button>${_el_resume($scope4_id, "e")}<button${_attr_class([iconBtnXs, "_8"])}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>`);
@@ -16886,7 +16938,7 @@ var new_workspace_default = _template("s", (input) => {
16886
16938
  _if(() => {
16887
16939
  if (!selected.length) {
16888
16940
  const $scope16_id = _scope_id();
16889
- _html(`<li${_attr_class("_bJ")}>No repos yet. Search below to add one, or create it empty.</li>`);
16941
+ _html(`<li${_attr_class("_b6")}>No repos yet. Search below to add one, or create it empty.</li>`);
16890
16942
  writeScope($scope16_id, {});
16891
16943
  return 0;
16892
16944
  }
@@ -16911,10 +16963,10 @@ var new_workspace_default = _template("s", (input) => {
16911
16963
  _if(() => {
16912
16964
  if (busy && steps.length) {
16913
16965
  const $scope11_id = _scope_id();
16914
- _html(`<ul${_attr_class("_eZ")}>`);
16966
+ _html(`<ul${_attr_class("_fC")}>`);
16915
16967
  _for_of(steps, (step, i) => {
16916
16968
  const $scope12_id = _scope_id();
16917
- _html(`<li${_attr_class(["_e5", { ["_e0"]: i === steps.length - 1 }])}>`);
16969
+ _html(`<li${_attr_class(["_fI", { ["_fD"]: i === steps.length - 1 }])}>`);
16918
16970
  _if(() => {
16919
16971
  if (i === steps.length - 1) {
16920
16972
  const $scope17_id = _scope_id();
@@ -16923,7 +16975,7 @@ var new_workspace_default = _template("s", (input) => {
16923
16975
  return 0;
16924
16976
  } else {
16925
16977
  const $scope18_id = _scope_id();
16926
- _html(`<span${_attr_class("_e1")}>`);
16978
+ _html(`<span${_attr_class("_fE")}>`);
16927
16979
  icon_check_default({ size: 14 });
16928
16980
  _html("</span>");
16929
16981
  writeScope($scope18_id, {});
@@ -16937,7 +16989,7 @@ var new_workspace_default = _template("s", (input) => {
16937
16989
  return 0;
16938
16990
  }
16939
16991
  }, $scope0_id, "s", 1, 1, 1, 0, 1);
16940
- _html(`<div${_attr_class("_eQ")}>`);
16992
+ _html(`<div${_attr_class("_ft")}>`);
16941
16993
  _if(() => {
16942
16994
  if (input.onExit || busy) {
16943
16995
  const $scope1_id = _scope_id();
@@ -16950,15 +17002,15 @@ var new_workspace_default = _template("s", (input) => {
16950
17002
  _html(`<button type=button${_attr_class([
16951
17003
  btnLg,
16952
17004
  "_r",
16953
- "_eR"
17005
+ "_fu"
16954
17006
  ])}${_attr("disabled", busy || !!restoring || !name.trim())}>${_text_resume($scope0_id, "w", busy ? "Creating…" : "Create workspace")}</button>${_el_resume($scope0_id, "v")}</div>`);
16955
17007
  _if(() => {
16956
17008
  if (archived$1.length) {
16957
17009
  const $scope6_id = _scope_id();
16958
- _html(`<section${_attr_class(archived)}><div${_attr_class("_eT")}><h2${_attr_class("_bM")}>Archived</h2><span${_attr_class(sectionCount)}>${_text_resume($scope6_id, "e", archived$1.length, $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore an archived workspace instead of creating a new one.</p><ul${_attr_class("_bB")}>`);
17010
+ _html(`<section${_attr_class(archived)}><div${_attr_class("_fw")}><h2${_attr_class("_b9")}>Archived</h2><span${_attr_class(sectionCount)}>${_text_resume($scope6_id, "e", archived$1.length, $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore an archived workspace instead of creating a new one.</p><ul${_attr_class("_bY")}>`);
16959
17011
  _for_of(archived$1, (ws) => {
16960
17012
  const $scope7_id = _scope_id();
16961
- _html(`<li${_attr_class(archivedCard)}><div${_attr_class("_bE")}><span${_attr_class("_bF")}>${_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(btnLg)}${_attr("disabled", busy || !!restoring)}>`);
17013
+ _html(`<li${_attr_class(archivedCard)}><div${_attr_class("_b1")}><span${_attr_class("_b2")}>${_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(btnLg)}${_attr("disabled", busy || !!restoring)}>`);
16962
17014
  _if(() => {
16963
17015
  if (restoring === ws.id) {
16964
17016
  const $scope19_id = _scope_id();
@@ -17038,12 +17090,12 @@ var new_workspace_default = _template("s", (input) => {
17038
17090
  });
17039
17091
  _resume_branch($scope0_id);
17040
17092
  });
17041
- var kbtn = "_eC _6 _l";
17042
- var sessOpen = "_fp _I";
17043
- var sessRename = "_ft _J";
17044
- var dpadPaste = "_fB _fA";
17045
- var repeat = "_fC _fA";
17046
- var dpadEsc = "_fE _fA";
17093
+ var kbtn = "_ew _6 _l";
17094
+ var sessOpen = "_fX _I";
17095
+ var sessRename = "_f1 _J";
17096
+ var dpadPaste = "_f9 _f8";
17097
+ var repeat = "_f_ _f8";
17098
+ var dpadEsc = "_gb _f8";
17047
17099
  //#endregion
17048
17100
  //#region src/tags/term-find.marko
17049
17101
  var term_find_default = _template("D", (input) => {
@@ -17080,19 +17132,19 @@ var term_find_default = _template("D", (input) => {
17080
17132
  const canStep = hasQuery && open;
17081
17133
  const keybar = input.placement === "keybar";
17082
17134
  _html(`<div${_attr_class([
17083
- "_gO",
17084
- keybar ? "_gQ" : "_gP",
17085
- !open && "_gS"
17086
- ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_gJ", keybar ? "_gR" : "_gL"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
17135
+ "_g7",
17136
+ keybar ? "_g9" : "_g8",
17137
+ !open && "_ha"
17138
+ ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_g2", keybar ? "_g_" : "_g4"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
17087
17139
  if (!open) return;
17088
17140
  query = v;
17089
17141
  live.query = v;
17090
17142
  run(0);
17091
- }, "D1", $scope0_id))}${_attr_class([findInput, keybar && "_gT"])} 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 && "_gU"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
17143
+ }, "D1", $scope0_id))}${_attr_class([findInput, keybar && "_hb"])} 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 && "_hc"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
17092
17144
  icon_arrow_up_default({ size: 14 });
17093
- _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_gU"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
17145
+ _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_hc"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
17094
17146
  icon_arrow_down_default({ size: 14 });
17095
- _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_gU"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
17147
+ _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_hc"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
17096
17148
  icon_xmark_default({ size: 14 });
17097
17149
  _html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
17098
17150
  const $return = focusInput;
@@ -17513,7 +17565,7 @@ var term_default = _template("E", (input) => {
17513
17565
  trapOpen = true;
17514
17566
  }
17515
17567
  }, "E13", $scope0_id);
17516
- _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_fb")}><div${_attr_class("_fc")}></div>${_el_resume($scope0_id, "b")}`);
17568
+ _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_fJ")}><div${_attr_class("_fK")}></div>${_el_resume($scope0_id, "b")}`);
17517
17569
  _if(() => {
17518
17570
  if (findOpen) {
17519
17571
  const $scope12_id = _scope_id();
@@ -17543,7 +17595,7 @@ var term_default = _template("E", (input) => {
17543
17595
  _if(() => {
17544
17596
  if (uploading) {
17545
17597
  const $scope21_id = _scope_id();
17546
- _html(`<div${_attr_class("_fi")}>uploading…</div>`);
17598
+ _html(`<div${_attr_class("_fQ")}>uploading…</div>`);
17547
17599
  writeScope($scope21_id, {});
17548
17600
  return 0;
17549
17601
  }
@@ -17551,7 +17603,7 @@ var term_default = _template("E", (input) => {
17551
17603
  _if(() => {
17552
17604
  if (copiedFlash) {
17553
17605
  const $scope22_id = _scope_id();
17554
- _html(`<div${_attr_class("_fh")}>Copied</div>`);
17606
+ _html(`<div${_attr_class("_fP")}>Copied</div>`);
17555
17607
  writeScope($scope22_id, {});
17556
17608
  return 0;
17557
17609
  }
@@ -17560,7 +17612,7 @@ var term_default = _template("E", (input) => {
17560
17612
  _if(() => {
17561
17613
  if (trapOpen) {
17562
17614
  const $scope11_id = _scope_id();
17563
- _html(`<div${_attr_class("_fj")}><div${_attr_class("_fk")}><p${_attr_class("_fF")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope11_id, "d")}<button${_attr_class("_q")}>Cancel</button>${_el_resume($scope11_id, "e")}</div>${_el_resume($scope11_id, "b")}</div>${_el_resume($scope11_id, "a")}`);
17615
+ _html(`<div${_attr_class("_fR")}><div${_attr_class("_fS")}><p${_attr_class("_gc")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope11_id, "d")}<button${_attr_class("_q")}>Cancel</button>${_el_resume($scope11_id, "e")}</div>${_el_resume($scope11_id, "b")}</div>${_el_resume($scope11_id, "a")}`);
17564
17616
  _script($scope11_id, "E28");
17565
17617
  _script($scope11_id, "E29");
17566
17618
  writeScope($scope11_id, {});
@@ -17638,7 +17690,7 @@ var term_default = _template("E", (input) => {
17638
17690
  popEl.style.top = `${Math.max(8, btn.top - popEl.offsetHeight - 8)}px`;
17639
17691
  popEl.style.left = `${Math.max(8, Math.min(btn.left + btn.width / 2 - popEl.offsetWidth / 2, window.innerWidth - popEl.offsetWidth - 8))}px`;
17640
17692
  }, "E19", $scope4_id);
17641
- _html(`<button${_attr_class([kbtn, "_fl"])} title=${onTermPage ? "Sessions" : "\"Back to session\""}${onTermPage ? _attr("popovertarget", sessPopId) : ""}>`);
17693
+ _html(`<button${_attr_class([kbtn, "_fT"])} title=${onTermPage ? "Sessions" : "\"Back to session\""}${onTermPage ? _attr("popovertarget", sessPopId) : ""}>`);
17642
17694
  _set_serialize_reason({
17643
17695
  1: $sg__input_agent__OR__input_sessionState,
17644
17696
  2: $sg__input_agent__OR__input_sessionState
@@ -17652,7 +17704,7 @@ var term_default = _template("E", (input) => {
17652
17704
  "_A",
17653
17705
  "_bc",
17654
17706
  phase[sessionPhase(input.sessionState)]
17655
- ])}></span>${_el_resume($scope4_id, "c", _serialize_guard($scope0_reason, 6))}</button>${_el_resume($scope4_id, "a")}<div${_attr("id", sessPopId)} popover=auto${_attr_class(["__", "_fm"])}>`);
17707
+ ])}></span>${_el_resume($scope4_id, "c", _serialize_guard($scope0_reason, 6))}</button>${_el_resume($scope4_id, "a")}<div${_attr("id", sessPopId)} popover=auto${_attr_class(["__", "_fU"])}>`);
17656
17708
  _if(() => {
17657
17709
  if ((input.sessions || []).length > 0) {
17658
17710
  const $scope5_id = _scope_id();
@@ -17668,7 +17720,7 @@ var term_default = _template("E", (input) => {
17668
17720
  const $scope6_id = _scope_id();
17669
17721
  const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
17670
17722
  const $for_content__s_id__closures = /* @__PURE__ */ new Set();
17671
- _html(`<div${_attr_class(["_fo", { ["_fn"]: s.id === input.sessionId }])}>`);
17723
+ _html(`<div${_attr_class(["_fW", { ["_fV"]: s.id === input.sessionId }])}>`);
17672
17724
  _if(() => {
17673
17725
  if (renamingId === s.id) {
17674
17726
  const $scope24_id = _scope_id();
@@ -17700,7 +17752,7 @@ var term_default = _template("E", (input) => {
17700
17752
  agent: activeAgent(s),
17701
17753
  size: 14
17702
17754
  });
17703
- _html(`<span${_attr_class("_fq")}><span${_attr_class("_fs")}>${_text_resume($scope7_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
17755
+ _html(`<span${_attr_class("_fY")}><span${_attr_class("_f0")}>${_text_resume($scope7_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
17704
17756
  _if(() => {
17705
17757
  if (s.id === input.sessionId) {
17706
17758
  const $scope23_id = _scope_id();
@@ -17712,7 +17764,7 @@ var term_default = _template("E", (input) => {
17712
17764
  const $childScope6 = _peek_scope_id();
17713
17765
  usage_pcts_default({
17714
17766
  agent: plan,
17715
- class: "_fr"
17767
+ class: "_fZ"
17716
17768
  });
17717
17769
  writeScope($scope26_id, { a: _existing_scope($childScope6) });
17718
17770
  return 0;
@@ -17729,7 +17781,7 @@ var term_default = _template("E", (input) => {
17729
17781
  _if(() => {
17730
17782
  if (input.onRenameSession) {
17731
17783
  const $scope25_id = _scope_id();
17732
- _html(`<button${_attr_class(["_fu", "_fv"])} title="Rename session">`);
17784
+ _html(`<button${_attr_class(["_f2", "_f3"])} title="Rename session">`);
17733
17785
  icon_edit_default({ size: 12 });
17734
17786
  _html(`</button>${_el_resume($scope25_id, "a")}`);
17735
17787
  _script($scope25_id, "E32");
@@ -17741,7 +17793,7 @@ var term_default = _template("E", (input) => {
17741
17793
  if (input.onCloseSession) {
17742
17794
  const $scope8_id = _scope_id();
17743
17795
  _html(`<button${_attr_class([
17744
- "_fu",
17796
+ "_f2",
17745
17797
  "_8",
17746
17798
  { ["_s"]: armedClose === s.id }
17747
17799
  ])} title=${armedClose === s.id ? "Close?" : "\"Close session\""}>`);
@@ -17783,7 +17835,7 @@ var term_default = _template("E", (input) => {
17783
17835
  return 0;
17784
17836
  }
17785
17837
  }, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions, $sg__input_sessions);
17786
- _html(`<div${_attr_class("_fw")}><span${_attr_class("_fx")}>New session</span><div${_attr_class("_fy")}>`);
17838
+ _html(`<div${_attr_class("_f4")}><span${_attr_class("_f5")}>New session</span><div${_attr_class("_f6")}>`);
17787
17839
  _for_of(["shell", ...input.agents || []], (agent) => {
17788
17840
  const $scope9_id = _scope_id();
17789
17841
  _html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
@@ -17828,9 +17880,9 @@ var term_default = _template("E", (input) => {
17828
17880
  const dpadOpenBox = { open: false };
17829
17881
  _html(`<button${_attr_class(kbtn)} title=${canKeys ? "\"More keys\"" : "\"Keys unavailable on this page\""} aria-haspopup=dialog${_attr("aria-controls", dpadId)}${_attr("disabled", !canKeys)}>`);
17830
17882
  icon_dpad_default({ size: 16 });
17831
- _html(`</button>${_el_resume($scope10_id, "a")}<button${_attr_class([kbtn, { ["_eB"]: findLit }])}${findLit ? " title=\"Close find\"" : canKeys ? ` title=${input.mode === "diff" ? "\"Find in review\"" : "\"Find in terminal\""}` : " title=\"Find unavailable on this page\""}${findLit ? " aria-label=\"Close find\"" : canKeys ? ` aria-label=${input.mode === "diff" ? "\"Find in review\"" : "\"Find in terminal\""}` : " aria-label=\"Find unavailable on this page\""} aria-pressed=${findLit ? "true" : "false"}${_attr("disabled", !canKeys)}>`);
17883
+ _html(`</button>${_el_resume($scope10_id, "a")}<button${_attr_class([kbtn, { ["_ev"]: findLit }])}${findLit ? " title=\"Close find\"" : canKeys ? ` title=${input.mode === "diff" ? "\"Find in review\"" : "\"Find in terminal\""}` : " title=\"Find unavailable on this page\""}${findLit ? " aria-label=\"Close find\"" : canKeys ? ` aria-label=${input.mode === "diff" ? "\"Find in review\"" : "\"Find in terminal\""}` : " aria-label=\"Find unavailable on this page\""} aria-pressed=${findLit ? "true" : "false"}${_attr("disabled", !canKeys)}>`);
17832
17884
  icon_search_default({ size: 16 });
17833
- _html(`</button>${_el_resume($scope10_id, "c")}<button${_attr_class([kbtn, { ["_eB"]: kb }])}${canKeys ? ` title=${kb ? "\"Hide keyboard\"" : "\"Show keyboard\""}` : " title=\"Keyboard unavailable on this page\""}${_attr("disabled", !canKeys)}>`);
17885
+ _html(`</button>${_el_resume($scope10_id, "c")}<button${_attr_class([kbtn, { ["_ev"]: kb }])}${canKeys ? ` title=${kb ? "\"Hide keyboard\"" : "\"Show keyboard\""}` : " title=\"Keyboard unavailable on this page\""}${_attr("disabled", !canKeys)}>`);
17834
17886
  icon_keyboard_default({ size: 16 });
17835
17887
  _html(`</button>${_el_resume($scope10_id, "e")}`);
17836
17888
  _script($scope10_id, "E38");
@@ -17846,7 +17898,7 @@ var term_default = _template("E", (input) => {
17846
17898
  overlay: attrTag({ content: _content_resume("E49", () => {
17847
17899
  _scope_reason();
17848
17900
  const $scope15_id = _scope_id();
17849
- _html(`<div${_attr("id", $dpadId_getter)} popover=auto${_attr_class("_fz")}>`);
17901
+ _html(`<div${_attr("id", $dpadId_getter)} popover=auto${_attr_class("_f7")}>`);
17850
17902
  forOf(DPAD, (row) => {
17851
17903
  const $scope16_id = _scope_id();
17852
17904
  forOf(row, (cell) => {
@@ -17866,7 +17918,7 @@ var term_default = _template("E", (input) => {
17866
17918
  writeScope($scope18_id, { _: _scope_with_id($scope17_id) });
17867
17919
  } else {
17868
17920
  const $scope19_id = _scope_id();
17869
- _html(`<button${_attr_class([repeat, { ["_fD"]: cell.icon === "enter" }])}${_attr("title", cell.label)}${_attr("aria-label", cell.label)}>`);
17921
+ _html(`<button${_attr_class([repeat, { ["_ga"]: cell.icon === "enter" }])}${_attr("title", cell.label)}${_attr("aria-label", cell.label)}>`);
17870
17922
  if (cell.icon === "arrow-up") {
17871
17923
  _scope_id();
17872
17924
  icon_arrow_up_default({ size: 18 });
@@ -18437,7 +18489,7 @@ var work_view_default = _template("I", (input) => {
18437
18489
  _if(() => {
18438
18490
  if (!shownSessions.length && view === "term") {
18439
18491
  const $scope7_id = _scope_id();
18440
- _html(`<div${_attr_class("_bK")}><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>`);
18492
+ _html(`<div${_attr_class("_b7")}><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>`);
18441
18493
  _script($scope7_id, "I43");
18442
18494
  _subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
18443
18495
  return 0;
@@ -18447,7 +18499,7 @@ var work_view_default = _template("I", (input) => {
18447
18499
  return 0;
18448
18500
  } else if (ws) {
18449
18501
  const $scope11_id = _scope_id();
18450
- _html(`<p${_attr_class("_bK")}>Loading sessions…</p>`);
18502
+ _html(`<p${_attr_class("_b7")}>Loading sessions…</p>`);
18451
18503
  writeScope($scope11_id, {});
18452
18504
  return 1;
18453
18505
  }
@@ -21138,6 +21190,7 @@ function post36(context) {
21138
21190
  var WorkspaceAction = /* @__PURE__ */ object({ action: /* @__PURE__ */ picklist([
21139
21191
  "archive",
21140
21192
  "restore",
21193
+ "retry",
21141
21194
  "delete"
21142
21195
  ]) });
21143
21196
  //#endregion
@@ -21145,6 +21198,10 @@ var WorkspaceAction = /* @__PURE__ */ object({ action: /* @__PURE__ */ picklist(
21145
21198
  var postHandler$6 = normalizeHandler(Run.POST({ json: WorkspaceAction }, async (ctx) => {
21146
21199
  const { id } = ctx.params;
21147
21200
  const body = await readBody(ctx);
21201
+ if (body.action === "retry") {
21202
+ retryMaterialize(id);
21203
+ return Response.json({ ok: true });
21204
+ }
21148
21205
  await withProgressOp(id, async () => {
21149
21206
  if (body.action === "archive") await setWorkspaceStatus(id, "archived");
21150
21207
  else if (body.action === "restore") await setWorkspaceStatus(id, "active");
@@ -27297,4 +27354,4 @@ server.listen(port, () => {
27297
27354
  //#endregion
27298
27355
  export {};
27299
27356
 
27300
- ;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-CYif_Qat.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CYif_Qat.css\"",">",2,"stylesheet#/assets/app-page-CS4w1M-v.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CS4w1M-v.css\"",">"],"defer":[2,"/assets/new-B000kC3p.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-B000kC3p.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Cr0wBZa1.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Cr0wBZa1.js\"",">",2,"modulepreload#/assets/_DsOQV4Jf.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DsOQV4Jf.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-CYif_Qat.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CYif_Qat.css\"",">",2,"stylesheet#/assets/app-page-CS4w1M-v.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CS4w1M-v.css\"",">"],"defer":[2,"/assets/settings-B000kC3p.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-B000kC3p.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Cr0wBZa1.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Cr0wBZa1.js\"",">",2,"modulepreload#/assets/_DsOQV4Jf.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DsOQV4Jf.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-CYif_Qat.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CYif_Qat.css\"",">",2,"stylesheet#/assets/app-page-CS4w1M-v.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CS4w1M-v.css\"",">"],"defer":[2,"/assets/w._-B000kC3p.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-B000kC3p.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Cr0wBZa1.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Cr0wBZa1.js\"",">",2,"modulepreload#/assets/_DsOQV4Jf.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DsOQV4Jf.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-CYif_Qat.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CYif_Qat.css\"",">",2,"stylesheet#/assets/app-page-CS4w1M-v.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CS4w1M-v.css\"",">"],"defer":[2,"/assets/w-B000kC3p.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-B000kC3p.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Cr0wBZa1.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Cr0wBZa1.js\"",">",2,"modulepreload#/assets/_DsOQV4Jf.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DsOQV4Jf.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-CYif_Qat.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CYif_Qat.css\"",">",2,"stylesheet#/assets/app-page-CS4w1M-v.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CS4w1M-v.css\"",">"],"defer":[2,"/assets/w._-CE1vFHA1.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-CE1vFHA1.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_Cr0wBZa1.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Cr0wBZa1.js\"",">",2,"modulepreload#/assets/_DsOQV4Jf.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DsOQV4Jf.js\"",">"]},"_m":{"block":[2,"stylesheet#/assets/diff-view-BcgXlDbY.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/diff-view-BcgXlDbY.css\"",">",2,"stylesheet#/assets/icon-arrow-down-CYif_Qat.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-CYif_Qat.css\"",">"],"defer":[2,"/assets/diff-view-YLo1KhOq.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/diff-view-YLo1KhOq.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">"]}};
27357
+ ;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-DqH6wYIn.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-DqH6wYIn.css\"",">",2,"stylesheet#/assets/app-page-C84CTqGX.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C84CTqGX.css\"",">"],"defer":[2,"/assets/new-B2aqg9wv.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-B2aqg9wv.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BLa6qQRI.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BLa6qQRI.js\"",">",2,"modulepreload#/assets/_WKZUfa9i.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_WKZUfa9i.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-DqH6wYIn.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-DqH6wYIn.css\"",">",2,"stylesheet#/assets/app-page-C84CTqGX.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C84CTqGX.css\"",">"],"defer":[2,"/assets/w-B2aqg9wv.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-B2aqg9wv.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BLa6qQRI.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BLa6qQRI.js\"",">",2,"modulepreload#/assets/_WKZUfa9i.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_WKZUfa9i.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-DqH6wYIn.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-DqH6wYIn.css\"",">",2,"stylesheet#/assets/app-page-C84CTqGX.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C84CTqGX.css\"",">"],"defer":[2,"/assets/settings-B2aqg9wv.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-B2aqg9wv.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BLa6qQRI.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BLa6qQRI.js\"",">",2,"modulepreload#/assets/_WKZUfa9i.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_WKZUfa9i.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-DqH6wYIn.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-DqH6wYIn.css\"",">",2,"stylesheet#/assets/app-page-C84CTqGX.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C84CTqGX.css\"",">"],"defer":[2,"/assets/w._-B2aqg9wv.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-B2aqg9wv.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BLa6qQRI.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BLa6qQRI.js\"",">",2,"modulepreload#/assets/_WKZUfa9i.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_WKZUfa9i.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-DqH6wYIn.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-DqH6wYIn.css\"",">",2,"stylesheet#/assets/app-page-C84CTqGX.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C84CTqGX.css\"",">"],"defer":[2,"/assets/w._-CpTBl6kw.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-CpTBl6kw.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BLa6qQRI.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BLa6qQRI.js\"",">",2,"modulepreload#/assets/_WKZUfa9i.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_WKZUfa9i.js\"",">"]},"_m":{"block":[2,"stylesheet#/assets/diff-view-C3OrqoXk.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/diff-view-C3OrqoXk.css\"",">",2,"stylesheet#/assets/icon-arrow-down-DqH6wYIn.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-DqH6wYIn.css\"",">"],"defer":[2,"/assets/diff-view-C_km5-JP.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/diff-view-C_km5-JP.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">"]}};