@dylanpiercey/work 0.0.177 → 0.0.178

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/dist/_BjQ0kG_Y.js +2 -0
  2. package/dist/{_BRBF-t9p.js → _DSLqyqdU.js} +6 -1
  3. package/dist/index.mjs +371 -333
  4. package/dist/public/assets/_B6o8FkwV.js +1 -0
  5. package/dist/public/assets/_BDGElzVm.js +1 -0
  6. package/dist/public/assets/_BDeylpEs.js +1 -0
  7. package/dist/public/assets/_BEEyk_EB.js +1 -0
  8. package/dist/public/assets/_BWDbM5E_.js +1 -0
  9. package/dist/public/assets/_C8jIJ1Pj.js +1 -0
  10. package/dist/public/assets/_CFdGarWX.js +1 -0
  11. package/dist/public/assets/_CFfZ3sMn.js +1 -0
  12. package/dist/public/assets/_CIfRmO5F.js +1 -0
  13. package/dist/public/assets/_CV1Q2C2m.js +1 -0
  14. package/dist/public/assets/_CZgExeYN.js +1 -0
  15. package/dist/public/assets/{_bLcqPuzt.js → _D8fFV5Ym.js} +1 -1
  16. package/dist/public/assets/_D8fFV5Ym.js.br +0 -0
  17. package/dist/public/assets/_D8vUoiS4.js +1 -0
  18. package/dist/public/assets/_DFta0PoX.js +1 -0
  19. package/dist/public/assets/_DHMJGzjE.js +1 -0
  20. package/dist/public/assets/{_CiAUVpQt.js → _DLuGH9wP.js} +7 -7
  21. package/dist/public/assets/_DLuGH9wP.js.br +0 -0
  22. package/dist/public/assets/_DVNDyccF.js +1 -0
  23. package/dist/public/assets/_DxjeG8P_.js +1 -0
  24. package/dist/public/assets/_E4p2FxoI.js +1 -0
  25. package/dist/public/assets/_GnbYDeRV.js +1 -0
  26. package/dist/public/assets/_OGDCaCq3.js +1 -0
  27. package/dist/public/assets/_RIV-3qh5.js +1 -0
  28. package/dist/public/assets/_ibANXg_A.js +1 -0
  29. package/dist/public/assets/{_B0OVfJVa.js → _s72b-JB_.js} +24 -20
  30. package/dist/public/assets/_s72b-JB_.js.br +0 -0
  31. package/dist/public/assets/{app-page-DD1F0TTl.css → app-page-mpLi5gUf.css} +1 -1
  32. package/dist/public/assets/app-page-mpLi5gUf.css.br +0 -0
  33. package/dist/public/assets/{icon-arrow-down-Djyi23Q9.css → icon-arrow-down-DSmBsYc0.css} +1 -1
  34. package/dist/public/assets/icon-arrow-down-DSmBsYc0.css.br +0 -0
  35. package/dist/public/assets/new-CkY2AXTw.js +1 -0
  36. package/dist/public/assets/{review-view-3q-u988K.css → review-view-BrfjQmXA.css} +1 -1
  37. package/dist/public/assets/review-view-BrfjQmXA.css.br +0 -0
  38. package/dist/public/assets/review-view-DtiHctEJ.js +2 -0
  39. package/dist/public/assets/settings-CkY2AXTw.js +1 -0
  40. package/dist/public/assets/w-CkY2AXTw.js +1 -0
  41. package/dist/public/assets/w._-CkY2AXTw.js +1 -0
  42. package/dist/public/assets/w._-Csr1ikwd.js +1 -0
  43. package/package.json +2 -1
  44. package/dist/_Cr-5sjB_.js +0 -2
  45. package/dist/public/assets/_B0OVfJVa.js.br +0 -0
  46. package/dist/public/assets/_B1OIFWW-.js +0 -1
  47. package/dist/public/assets/_Bfd2dVOp.js +0 -1
  48. package/dist/public/assets/_BkDIoDws.js +0 -1
  49. package/dist/public/assets/_CCHp7HT3.js +0 -1
  50. package/dist/public/assets/_CFA_6zcC.js +0 -1
  51. package/dist/public/assets/_CGPWu3ME.js +0 -1
  52. package/dist/public/assets/_C_X4FoTd.js +0 -1
  53. package/dist/public/assets/_CiAUVpQt.js.br +0 -0
  54. package/dist/public/assets/_CtGD9jYW.js +0 -1
  55. package/dist/public/assets/_CtJJRDR2.js +0 -1
  56. package/dist/public/assets/_D3jkeyvE.js +0 -1
  57. package/dist/public/assets/_DB_NZjCY.js +0 -1
  58. package/dist/public/assets/_DJMv-6bg.js +0 -1
  59. package/dist/public/assets/_DMt4uXYu.js +0 -1
  60. package/dist/public/assets/_D_N_Xeps.js +0 -1
  61. package/dist/public/assets/_D_Y3vCMi.js +0 -1
  62. package/dist/public/assets/_DoS_32IX.js +0 -1
  63. package/dist/public/assets/_PVFFUgEr.js +0 -1
  64. package/dist/public/assets/_QM85-dob.js +0 -1
  65. package/dist/public/assets/_bLcqPuzt.js.br +0 -0
  66. package/dist/public/assets/_flJGtG_5.js +0 -1
  67. package/dist/public/assets/_kARTodxS.js +0 -1
  68. package/dist/public/assets/_tSMLmX8f.js +0 -1
  69. package/dist/public/assets/app-page-DD1F0TTl.css.br +0 -0
  70. package/dist/public/assets/icon-arrow-down-Djyi23Q9.css.br +0 -0
  71. package/dist/public/assets/new-BwcyiB1L.js +0 -1
  72. package/dist/public/assets/review-view-3q-u988K.css.br +0 -0
  73. package/dist/public/assets/review-view-CiWwWm6V.js +0 -2
  74. package/dist/public/assets/settings-BwcyiB1L.js +0 -1
  75. package/dist/public/assets/w-BwcyiB1L.js +0 -1
  76. package/dist/public/assets/w._-BwcyiB1L.js +0 -1
  77. package/dist/public/assets/w._-gFT3A4in.js +0 -1
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./_BMI-E3GI.js";
2
- import { $ as disabledAgents, A as clearAgentPhase, B as deleteSubscription, C as reportsWorking, Ct as gh, D as agentFromCommand, Dt as config, E as agentFamily, Et as tmux, F as getInstance, G as subscribe, H as saveSubscription, I as iconSvg, J as shared, K as subscriberCount, L as manifest, M as setScrapedPhase, N as setSessionViewers, O as agentLabel, P as ACCENT_RE, Q as allPrefs, R as normalizeAccent, S as readHookPayload, St as TMUX_SOCKET, T as agentBadge, Tt as run, U as publish, V as pushPublicKey, W as publishJson, X as withLock, Y as swr, Z as agentChoices, _ as sendToSession, _t as toolById, a as ensureTmuxServer, at as setSetting, b as tmuxWasStarted, bt as get$1, c as killSession, ct as ghKnownHosts, d as listSessions, dt as setupPath, et as enabledAgents, f as markTmuxStarted, ft as which, g as renameSession, gt as agentLabel$1, h as panePids, ht as agentById, i as disposeSessions, it as setPref, j as setAgentPhase, k as agentMeta, l as killWorkspaceSessions, lt as miseInstalls, mt as TOOLS, n as clearTmuxStarted, nt as preferredAgent, o as forgetPanes, ot as discoverAgents, p as newSessionArgs, pt as DEFAULT_GITHUB_HOST, q as subscriberJoins, r as createSession, rt as setDisabledAgents, s as getSession, st as doctor, t as cleanEnv, tt as getSetting, u as listPanes, ut as miseVersions, v as sessionStates, vt as all, w as blankRow, wt as git, x as AGENTS, xt as workspacePath, y as tmuxName, yt as db, z as setInstance } from "./_BRBF-t9p.js";
2
+ import { $ as disabledAgents, A as clearAgentPhase, B as deleteSubscription, C as reportsWorking, Ct as gh, D as agentFromCommand, Dt as config, E as agentFamily, Et as tmux, F as getInstance, G as subscribe, H as saveSubscription, I as iconSvg, J as shared, K as subscriberCount, L as manifest, M as setScrapedPhase, N as setSessionViewers, O as agentLabel, P as ACCENT_RE, Q as allPrefs, R as normalizeAccent, S as readHookPayload, St as TMUX_SOCKET, T as agentBadge, Tt as run, U as publish, V as pushPublicKey, W as publishJson, X as withLock, Y as swr, Z as agentChoices, _ as sendToSession, _t as toolById, a as ensureTmuxServer, at as setSetting, b as tmuxWasStarted, bt as get$1, c as killSession, ct as ghKnownHosts, d as listSessions, dt as setupPath, et as enabledAgents, f as markTmuxStarted, ft as which, g as renameSession, gt as agentLabel$1, h as panePids, ht as agentById, i as disposeSessions, it as setPref, j as setAgentPhase, k as agentMeta, l as killWorkspaceSessions, lt as miseInstalls, mt as TOOLS, n as clearTmuxStarted, nt as preferredAgent, o as forgetPanes, ot as discoverAgents, p as newSessionArgs, pt as DEFAULT_GITHUB_HOST, q as subscriberJoins, r as createSession, rt as setDisabledAgents, s as getSession, st as doctor, t as cleanEnv, tt as getSetting, u as listPanes, ut as miseVersions, v as sessionStates, vt as all, w as blankRow, wt as git, x as AGENTS, xt as workspacePath, y as tmuxName, yt as db, z as setInstance } from "./_DSLqyqdU.js";
3
3
  import fs from "node:fs";
4
4
  import http, { createServer } from "node:http";
5
5
  import path from "node:path";
@@ -6999,14 +6999,14 @@ var openable = (ws) => ws.status === "active" && !ws.pending;
6999
6999
  */
7000
7000
  var numbered = (all) => all.filter(openable).sort((a, b) => a.name.localeCompare(b.name));
7001
7001
  var toastKind = {
7002
- error: "_bl",
7003
- warn: "_bm",
7004
- info: "_bn"
7002
+ error: "_bj",
7003
+ warn: "_bk",
7004
+ info: "_bl"
7005
7005
  };
7006
7006
  var toastTitle = {
7007
- error: "_bo",
7008
- warn: "_bp",
7009
- info: "_bq"
7007
+ error: "_bm",
7008
+ warn: "_bn",
7009
+ info: "_bo"
7010
7010
  };
7011
7011
  //#endregion
7012
7012
  //#region src/styles/tokens.css.ts
@@ -7052,18 +7052,18 @@ var toast_default = _template("J", (input) => {
7052
7052
  const kind = inputKind || "error";
7053
7053
  const placement = inputPlacement || "float";
7054
7054
  const placementClass = {
7055
- float: "_bj",
7056
- inline: "_bk"
7055
+ float: "_bh",
7056
+ inline: "_bi"
7057
7057
  }[placement];
7058
7058
  _html(`<div${_attr_class([
7059
- "_bi",
7059
+ "_bg",
7060
7060
  toastKind[kind],
7061
7061
  placementClass,
7062
7062
  inputClass
7063
7063
  ])} role=${kind === "error" ? "alert" : "status"}${_attrs_partial(htmlInput, {
7064
7064
  class: 1,
7065
7065
  role: 1
7066
- }, "a", $scope0_id, "div")}><div${_attr_class("_br")}>`);
7066
+ }, "a", $scope0_id, "div")}><div${_attr_class("_bp")}>`);
7067
7067
  _if(() => {
7068
7068
  if (title) {
7069
7069
  const $scope1_id = _scope_id();
@@ -7075,7 +7075,7 @@ var toast_default = _template("J", (input) => {
7075
7075
  _if(() => {
7076
7076
  if (content) {
7077
7077
  const $scope2_id = _scope_id();
7078
- _html(`<div${_attr_class("_bs")}>`);
7078
+ _html(`<div${_attr_class("_bq")}>`);
7079
7079
  _dynamic_tag($scope2_id, "b", content, {}, 0, 0, $sg__input_content);
7080
7080
  _html("</div>");
7081
7081
  $si__input_content && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
@@ -7086,7 +7086,7 @@ var toast_default = _template("J", (input) => {
7086
7086
  _if(() => {
7087
7087
  if (action || onDismiss) {
7088
7088
  const $scope3_id = _scope_id();
7089
- _html(`<div${_attr_class(["_bt", action && "_bu"])}>`);
7089
+ _html(`<div${_attr_class(["_br", action && "_bs"])}>`);
7090
7090
  _if(() => {
7091
7091
  if (action) {
7092
7092
  const $scope4_id = _scope_id();
@@ -7098,7 +7098,7 @@ var toast_default = _template("J", (input) => {
7098
7098
  _if(() => {
7099
7099
  if (onDismiss) {
7100
7100
  const $scope5_id = _scope_id();
7101
- _html(`<button${_attr_class([iconBtnRow, "_bv"])} type=button title=Dismiss aria-label=Dismiss>`);
7101
+ _html(`<button${_attr_class([iconBtnRow, "_bt"])} type=button title=Dismiss aria-label=Dismiss>`);
7102
7102
  icon_xmark_default({ size: 14 });
7103
7103
  _html(`</button>${_el_resume($scope5_id, "a")}`);
7104
7104
  _script($scope5_id, "J0");
@@ -7318,18 +7318,18 @@ function applyInstance(inst) {
7318
7318
  if (icon) icon.href = `/api/instance/icon${inst.accent ? `?v=${inst.accent.slice(1)}` : ""}`;
7319
7319
  syncThemeColorMetas(theme(), inst.accent || "");
7320
7320
  }
7321
- var agentRow = "_c3 _cE";
7322
- var toolGrid = "_da _cO";
7323
- var toolRow = "_db _cP";
7324
- var themeSeg = "_dy _bd";
7325
- var checkList = "_d4 _cg";
7326
- var list$2 = "_cQ _ci _cD _cO";
7327
- var flatCardRow = "_cR _cP";
7328
- var chip$1 = "_c0 _X _W";
7329
- var pop$1 = "_cz _9";
7330
- var spinner = "_cC _1 _G";
7331
- var busy = "_ej _ei";
7332
- var pop = "_el _9";
7321
+ var agentRow = "_c_ _cL";
7322
+ var toolGrid = "_dh _cV";
7323
+ var toolRow = "_di _cW";
7324
+ var themeSeg = "_dF _bd";
7325
+ var checkList = "_ea _cg";
7326
+ var list$2 = "_cX _ci _cK _cV";
7327
+ var flatCardRow = "_cY _cW";
7328
+ var chip$1 = "_c7 _X _W";
7329
+ var pop$1 = "_cG _9";
7330
+ var spinner = "_cJ _1 _G";
7331
+ var busy = "_cv _cu";
7332
+ var pop = "_cx _9";
7333
7333
  var sectionCount$1 = "_cf _N _O";
7334
7334
  //#endregion
7335
7335
  //#region src/tags/icons/icon-refresh.marko
@@ -7370,18 +7370,18 @@ var icon_back_default = _template("V", (input) => {
7370
7370
  var page_head_default = _template("t", (input) => {
7371
7371
  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);
7372
7372
  const $scope0_id = _scope_id();
7373
- _html(`<header${_attr_class("_eb")}>`);
7373
+ _html(`<header${_attr_class("_ei")}>`);
7374
7374
  _if(() => {
7375
7375
  if (input.backHref) {
7376
7376
  const $scope1_id = _scope_id();
7377
- _html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_en"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7377
+ _html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_eZ"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7378
7378
  icon_back_default({ size: 14 });
7379
7379
  _html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 0))}`);
7380
7380
  _serialize_if($scope0_reason, 2) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 0) && _scope_with_id($scope0_id) });
7381
7381
  return 0;
7382
7382
  } else if (input.onBack) {
7383
7383
  const $scope2_id = _scope_id();
7384
- _html(`<button${_attr_class([iconBtnRow, "_en"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7384
+ _html(`<button${_attr_class([iconBtnRow, "_eZ"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7385
7385
  icon_back_default({ size: 14 });
7386
7386
  _html(`</button>${_el_resume($scope2_id, "a")}`);
7387
7387
  _script($scope2_id, "t0");
@@ -7389,11 +7389,11 @@ var page_head_default = _template("t", (input) => {
7389
7389
  return 1;
7390
7390
  }
7391
7391
  }, $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);
7392
- _html(`<div${_attr_class("_ed")}><h1${_attr("id", input.titleId)}${_attr_class("_ec")}>${_text_resume($scope0_id, "e", input.title, _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
7392
+ _html(`<div${_attr_class("_ek")}><h1${_attr("id", input.titleId)}${_attr_class("_ej")}>${_text_resume($scope0_id, "e", input.title, _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
7393
7393
  _if(() => {
7394
7394
  if (input.meta) {
7395
7395
  const $scope3_id = _scope_id();
7396
- _html(`<p${_attr_class("_ee")}>`);
7396
+ _html(`<p${_attr_class("_el")}>`);
7397
7397
  _dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
7398
7398
  _html("</p>");
7399
7399
  $si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
@@ -7404,7 +7404,7 @@ var page_head_default = _template("t", (input) => {
7404
7404
  _if(() => {
7405
7405
  if (input.actions) {
7406
7406
  const $scope4_id = _scope_id();
7407
- _html(`<div${_attr_class("_ef")}>`);
7407
+ _html(`<div${_attr_class("_em")}>`);
7408
7408
  _dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
7409
7409
  _html("</div>");
7410
7410
  $si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
@@ -7635,10 +7635,10 @@ var add_field_default = _template("b", (input$3) => {
7635
7635
  }
7636
7636
  }, $scope0_id, "a", 1, 1, 1, 0, 1);
7637
7637
  _html(`<form${_attr_class([
7638
- "_cs",
7638
+ "_cz",
7639
7639
  input$3.class,
7640
- { ["_ct"]: !open }
7641
- ])}><label${_attr_class(["_0", "_cv"])}>`);
7640
+ { ["_cA"]: !open }
7641
+ ])}><label${_attr_class(["_0", "_cC"])}>`);
7642
7642
  _if(() => {
7643
7643
  if (input$3.searching) {
7644
7644
  const $scope5_id = _scope_id();
@@ -7665,7 +7665,7 @@ var add_field_default = _template("b", (input$3) => {
7665
7665
  }, "b0", $scope0_id))}${_attr_class([
7666
7666
  "_Y",
7667
7667
  "_2",
7668
- "_cw"
7668
+ "_cD"
7669
7669
  ])} type=text${_attr("placeholder", input$3.placeholder)}${_attr("aria-label", input$3.ariaLabel)} autocomplete=off spellcheck=false>${_el_resume($scope0_id, "e")}</label>`);
7670
7670
  _if(() => {
7671
7671
  if (input$3.submitLabel) {
@@ -7673,19 +7673,19 @@ var add_field_default = _template("b", (input$3) => {
7673
7673
  _html(`<button${_attr_class([
7674
7674
  btnSm,
7675
7675
  "_r",
7676
- "_cx"
7676
+ "_cE"
7677
7677
  ])} type=submit${_attr("hidden", !open)}${_attr("disabled", !value.trim() || input$3.busy)}>${_text_resume($scope3_id, "b", input$3.busy ? "Adding…" : input$3.submitLabel, _serialize_guard($scope0_reason, 1))}</button>${_el_resume($scope3_id, "a")}`);
7678
7678
  writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
7679
7679
  return 0;
7680
7680
  }
7681
7681
  }, $scope0_id, "f", 1, _serialize_guard($scope0_reason, 7), 1, 0, 1);
7682
- _html(`<button${_attr_class([iconBtnRow, "_cy"])} type=button${_attr("hidden", !open)} title=Close aria-label=Close${_attr("disabled", input$3.busy)}>`);
7682
+ _html(`<button${_attr_class([iconBtnRow, "_cF"])} type=button${_attr("hidden", !open)} title=Close aria-label=Close${_attr("disabled", input$3.busy)}>`);
7683
7683
  icon_xmark_default({ size: 14 });
7684
7684
  _html(`</button>${_el_resume($scope0_id, "g")}`);
7685
7685
  _if(() => {
7686
7686
  if (input$3.content) {
7687
7687
  const $scope4_id = _scope_id();
7688
- _html(`<ul${_attr_class([pop$1, "_cA"])}${_attr("hidden", !open || !value.trim())}>`);
7688
+ _html(`<ul${_attr_class([pop$1, "_cH"])}${_attr("hidden", !open || !value.trim())}>`);
7689
7689
  _dynamic_tag($scope4_id, "b", input$3.content, {}, 0, 0, $sg__input_content);
7690
7690
  _html(`</ul>${_el_resume($scope4_id, "a")}`);
7691
7691
  writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
@@ -7812,14 +7812,14 @@ var sso_auth_default = _template("G", (input) => {
7812
7812
  localCode = null;
7813
7813
  }
7814
7814
  }, "G0", $scope0_id);
7815
- _html(`<div${_attr_class(["_hm", input.class])}>`);
7815
+ _html(`<div${_attr_class(["_hs", input.class])}>`);
7816
7816
  _for_of(input.items, (s) => {
7817
7817
  const $scope1_id = _scope_id();
7818
- _html(`<div${_attr_class("_hn")}><span${_attr_class("_hp")}><span${_attr_class("_hq")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_hr", "_hs"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
7818
+ _html(`<div${_attr_class("_ht")}><span${_attr_class("_hv")}><span${_attr_class("_hw")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_hx", "_hy"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
7819
7819
  _if(() => {
7820
7820
  if (!busy) {
7821
7821
  const $scope2_id = _scope_id();
7822
- _html(`<button type=button${_attr_class([btnSm, "_r"])} title="Re-authorize GitHub CLI (same device flow as Sign in)">Authorize</button>${_el_resume($scope2_id, "a")}<button type=button${_attr_class([btnSm, "_ht"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
7822
+ _html(`<button type=button${_attr_class([btnSm, "_r"])} title="Re-authorize GitHub CLI (same device flow as Sign in)">Authorize</button>${_el_resume($scope2_id, "a")}<button type=button${_attr_class([btnSm, "_hz"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
7823
7823
  _script($scope2_id, "G1");
7824
7824
  writeScope($scope2_id, {});
7825
7825
  return 0;
@@ -7834,13 +7834,13 @@ var sso_auth_default = _template("G", (input) => {
7834
7834
  _if(() => {
7835
7835
  if (localBusy && localCode) {
7836
7836
  const $scope4_id = _scope_id();
7837
- _html(`<div${_attr_class(["_hn", "_hu"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_hv")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_hw")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
7837
+ _html(`<div${_attr_class(["_ht", "_hA"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_hB")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_hC")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
7838
7838
  _script($scope4_id, "G2");
7839
7839
  writeScope($scope4_id, {});
7840
7840
  return 0;
7841
7841
  } else if (localBusy) {
7842
7842
  const $scope6_id = _scope_id();
7843
- _html(`<div${_attr_class(["_hn", "_hu"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
7843
+ _html(`<div${_attr_class(["_ht", "_hA"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
7844
7844
  writeScope($scope6_id, {});
7845
7845
  return 1;
7846
7846
  }
@@ -7848,14 +7848,14 @@ var sso_auth_default = _template("G", (input) => {
7848
7848
  _if(() => {
7849
7849
  if (localError) {
7850
7850
  const $scope5_id = _scope_id();
7851
- _html(`<p${_attr_class(["_hn", "_hx"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
7851
+ _html(`<p${_attr_class(["_ht", "_hD"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
7852
7852
  writeScope($scope5_id, {});
7853
7853
  return 0;
7854
7854
  }
7855
7855
  }, $scope0_id, "d", 1, 1, 1, 0, 1);
7856
7856
  _for_of(skipped, (s) => {
7857
7857
  const $scope3_id = _scope_id();
7858
- _html(`<div${_attr_class(["_hn", "_ho"])}><span${_attr_class("_hp")}><span${_attr_class("_hq")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_hr")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_ht"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
7858
+ _html(`<div${_attr_class(["_ht", "_hu"])}><span${_attr_class("_hv")}><span${_attr_class("_hw")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_hx")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_hz"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
7859
7859
  _script($scope3_id, "G3");
7860
7860
  writeScope($scope3_id, {
7861
7861
  i: s?.org,
@@ -7906,7 +7906,7 @@ var skill_chip_default = _template("F", (input) => {
7906
7906
  const $input_tags__closures = /* @__PURE__ */ new Set();
7907
7907
  const $input_actions__closures = /* @__PURE__ */ new Set();
7908
7908
  const $input_trailing__closures = /* @__PURE__ */ new Set();
7909
- _html(`<li${_attr_class("_eh")}>`);
7909
+ _html(`<li${_attr_class("_ct")}>`);
7910
7910
  _if(() => {
7911
7911
  if (input.busy != null) {
7912
7912
  const $scope1_id = _scope_id();
@@ -7916,11 +7916,11 @@ var skill_chip_default = _template("F", (input) => {
7916
7916
  } else {
7917
7917
  const $scope2_id = _scope_id();
7918
7918
  const popId = _id();
7919
- _html(`<button${_attr_class("_ei")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7919
+ _html(`<button${_attr_class("_cu")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7920
7920
  _if(() => {
7921
7921
  if (input.hint) {
7922
7922
  const $scope3_id = _scope_id();
7923
- _html(`<span${_attr_class("_ek")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7923
+ _html(`<span${_attr_class("_cw")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7924
7924
  $si__input_busy__OR__input_hint && _subscribe($si__input_hint && $input_hint__closures, writeScope($scope3_id, { _: _scope_with_id($scope2_id) }));
7925
7925
  return 0;
7926
7926
  }
@@ -7968,7 +7968,7 @@ var skill_chip_default = _template("F", (input) => {
7968
7968
  _if(() => {
7969
7969
  if (input.actions) {
7970
7970
  const $scope8_id = _scope_id();
7971
- _html(`<div${_attr_class("_em")}>`);
7971
+ _html(`<div${_attr_class("_cy")}>`);
7972
7972
  _dynamic_tag($scope8_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
7973
7973
  _html("</div>");
7974
7974
  $si__input_busy__OR__input_actions && _subscribe($si__input_actions && $input_actions__closures, writeScope($scope8_id, { _: _scope_with_id($scope2_id) }));
@@ -8079,7 +8079,7 @@ var icon_moon_default = _template("nb", (input) => {
8079
8079
  });
8080
8080
  //#endregion
8081
8081
  //#region src/tags/prompt-dialog.css.ts
8082
- var promptDlg = "_hD _hz";
8082
+ var promptDlg = "_hr _hn";
8083
8083
  //#endregion
8084
8084
  //#region src/tags/dialog-close.marko
8085
8085
  var dialog_close_default = _template("h", (input) => {
@@ -8103,7 +8103,7 @@ var modal_view_default = _template("q", (input) => {
8103
8103
  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;
8104
8104
  const dismissable = input.dismissable !== false;
8105
8105
  let open = input.open;
8106
- _html(`<dialog${_attr_class(["_hy", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
8106
+ _html(`<dialog${_attr_class(["_hm", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
8107
8107
  ...htmlInput,
8108
8108
  open: null
8109
8109
  }, {
@@ -8113,20 +8113,20 @@ var modal_view_default = _template("q", (input) => {
8113
8113
  closedby: 1,
8114
8114
  "on-cancel": 1,
8115
8115
  "on-close": 1
8116
- }, "a", $scope0_id, "dialog")}><div${_attr_class("_hB")}>`);
8116
+ }, "a", $scope0_id, "dialog")}><div${_attr_class("_hp")}>`);
8117
8117
  _dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
8118
8118
  _html("</div>");
8119
8119
  _if(() => {
8120
8120
  if (footer) {
8121
8121
  const $scope1_id = _scope_id();
8122
- _html(`<form method=dialog${_attr_class("_hC")}>`);
8122
+ _html(`<form method=dialog${_attr_class("_hq")}>`);
8123
8123
  _dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
8124
8124
  _html("</form>");
8125
8125
  $si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
8126
8126
  return 0;
8127
8127
  } else if (input.openChange) {
8128
8128
  const $scope2_id = _scope_id();
8129
- _html(`<form method=dialog${_attr_class("_hC")}>`);
8129
+ _html(`<form method=dialog${_attr_class("_hq")}>`);
8130
8130
  dialog_close_default({
8131
8131
  class: ["_q", "_r"],
8132
8132
  content: _content("q0", () => {
@@ -8210,7 +8210,7 @@ var prompt_dialog_default = _template("u", (input) => {
8210
8210
  content: _content("u7", () => {
8211
8211
  _scope_reason();
8212
8212
  const $scope2_id = _scope_id();
8213
- _html(`<h2${_attr_class("_hA")}${_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) => {
8213
+ _html(`<h2${_attr_class("_ho")}${_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) => {
8214
8214
  value = _new_value;
8215
8215
  }, "u0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
8216
8216
  _script($scope2_id, "u5");
@@ -8754,7 +8754,7 @@ var settings_page_default = _template("B", (input) => {
8754
8754
  const githubId = _id();
8755
8755
  const backupId = _id();
8756
8756
  const machineId = _id();
8757
- _html(`<div${_attr_class("_d8")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_d9")}><div${_attr_class("_d_")}>`);
8757
+ _html(`<div${_attr_class("_ee")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_ef")}><div${_attr_class("_eg")}>`);
8758
8758
  _set_serialize_reason({
8759
8759
  0: _serialize_guard($scope0_reason, 4),
8760
8760
  1: $sg__input_backHref__OR__input_onExit,
@@ -8786,7 +8786,7 @@ var settings_page_default = _template("B", (input) => {
8786
8786
  _resume_branch($scope12_id);
8787
8787
  }, $scope0_id) })
8788
8788
  });
8789
- _html(`<div${_attr_class("_ea")}>`);
8789
+ _html(`<div${_attr_class("_eh")}>`);
8790
8790
  _if(() => {
8791
8791
  if (setup && !setup.ready) {
8792
8792
  const $scope4_id = _scope_id();
@@ -8829,16 +8829,16 @@ var settings_page_default = _template("B", (input) => {
8829
8829
  _if(() => {
8830
8830
  if (selfUpdatePending || selfUpdating) {
8831
8831
  const $scope43_id = _scope_id();
8832
- _html(`<div${_attr_class("_dC")} role=status><div${_attr_class("_dD")}>`);
8832
+ _html(`<div${_attr_class("_dJ")} role=status><div${_attr_class("_dK")}>`);
8833
8833
  _if(() => {
8834
8834
  if (selfUpdating) {
8835
8835
  const $scope81_id = _scope_id();
8836
- _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>`);
8836
+ _html(`<span${_attr_class("_dL")}><span${_attr_class("_G")}></span> Updating work…</span><span${_attr_class("_dM")}>The app restarts and reloads when it is done.</span>`);
8837
8837
  writeScope($scope81_id, {});
8838
8838
  return 0;
8839
8839
  } else {
8840
8840
  const $scope44_id = _scope_id();
8841
- _html(`<span${_attr_class("_dE")}>Update available</span><span${_attr_class("_dF")}>v${_text_resume($scope44_id, "c", self.version, 2)} → v${_text_resume($scope44_id, "d", self.latest, 2)}</span>`);
8841
+ _html(`<span${_attr_class("_dL")}>Update available</span><span${_attr_class("_dM")}>v${_text_resume($scope44_id, "c", self.version, 2)} → v${_text_resume($scope44_id, "d", self.latest, 2)}</span>`);
8842
8842
  _subscribe($self_version__closures, _subscribe($self_latest__closures, writeScope($scope44_id, {})));
8843
8843
  return 1;
8844
8844
  }
@@ -8868,11 +8868,11 @@ var settings_page_default = _template("B", (input) => {
8868
8868
  _: _scope_with_id($scope0_id)
8869
8869
  });
8870
8870
  }, $scope0_id) };
8871
- _html(`<section${_attr_class("_cd")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_ce")}><h2${_attr("id", agentsId)}${_attr_class("_cr")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_c4")}><span${_attr_class("_W")}>Default</span><span${_attr_class("_o")}>`);
8871
+ _html(`<section${_attr_class("_cd")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_ce")}><h2${_attr("id", agentsId)}${_attr_class("_cr")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_da")}><span${_attr_class("_W")}>Default</span><span${_attr_class("_o")}>`);
8872
8872
  _attr_select_value($scope0_id, "p", input.preferred, _resume(function(v) {
8873
8873
  setPreferred(v);
8874
8874
  }, "B0", $scope0_id), () => {
8875
- _html(`<select${_attr_class(["_p", "_c5"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
8875
+ _html(`<select${_attr_class(["_p", "_db"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
8876
8876
  _for_of(input.agents.filter((a) => a !== "shell"), (id) => {
8877
8877
  const $scope83_id = _scope_id();
8878
8878
  _html(`<option${_attr_option_value(id)}>${_text_resume($scope83_id, "b", agentLabel(id), $sg__input_agents)}</option>${_el_resume($scope83_id, "a", $sg__input_agents)}`);
@@ -8887,7 +8887,7 @@ var settings_page_default = _template("B", (input) => {
8887
8887
  const rows = lone ? [] : a.instances;
8888
8888
  const loneAccounts = lone ? accountsFor(lone.id) : [];
8889
8889
  const extraAccounts = a.installed ? strayAccountsFor(a) : [];
8890
- _html(`<li${_attr_class(agentRow)}><div${_attr_class(["_c6", { ["_c8"]: lone && !lone.enabled }])}>`);
8890
+ _html(`<li${_attr_class(agentRow)}><div${_attr_class(["_dc", { ["_de"]: lone && !lone.enabled }])}>`);
8891
8891
  _set_serialize_reason(12);
8892
8892
  const $childScope3 = _peek_scope_id();
8893
8893
  icon_agent_default({
@@ -8907,7 +8907,7 @@ var settings_page_default = _template("B", (input) => {
8907
8907
  _if(() => {
8908
8908
  if (active.has(a.id)) {
8909
8909
  const $scope13_id = _scope_id();
8910
- _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", active.get(a.id) || "Starting…")}</span>`);
8910
+ _html(`<span${_attr_class("_c9")}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", active.get(a.id) || "Starting…")}</span>`);
8911
8911
  _subscribe($active__closures, writeScope($scope13_id, {}));
8912
8912
  return 0;
8913
8913
  } else if (!a.installed) {
@@ -8943,15 +8943,15 @@ var settings_page_default = _template("B", (input) => {
8943
8943
  _if(() => {
8944
8944
  if (rows.length || loneAccounts.length || extraAccounts.length) {
8945
8945
  const $scope2_id = _scope_id();
8946
- _html(`<ul${_attr_class(["_c_", { ["_c8"]: lone && !lone.enabled }])}>`);
8946
+ _html(`<ul${_attr_class(["_dg", { ["_de"]: lone && !lone.enabled }])}>`);
8947
8947
  _for_of(rows, (inst) => {
8948
8948
  const $scope3_id = _scope_id();
8949
8949
  const accounts = accountsFor(inst.id);
8950
- _html(`<li${_attr_class(["_c7", { ["_c8"]: !inst.enabled }])}><div${_attr_class("_c6")}>`);
8950
+ _html(`<li${_attr_class(["_dd", { ["_de"]: !inst.enabled }])}><div${_attr_class("_dc")}>`);
8951
8951
  _set_serialize_reason(12);
8952
8952
  const $childScope5 = _peek_scope_id();
8953
8953
  icon_agent_default({ agent: inst.id });
8954
- _html(`<span${_attr_class(["_c9", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
8954
+ _html(`<span${_attr_class(["_df", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
8955
8955
  _if(() => {
8956
8956
  if (input.preferred === inst.id) {
8957
8957
  const $scope87_id = _scope_id();
@@ -9040,14 +9040,14 @@ var settings_page_default = _template("B", (input) => {
9040
9040
  return 1;
9041
9041
  }
9042
9042
  }, $scope0_id, "t", 1, 1, 1, 0, 1);
9043
- _html(`</section></div><div${_attr_class("_ea")}><section${_attr_class("_cd")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_ce")}><h2${_attr("id", githubId)}${_attr_class("_cr")}>GitHub</h2>`);
9043
+ _html(`</section></div><div${_attr_class("_eh")}><section${_attr_class("_cd")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_ce")}><h2${_attr("id", githubId)}${_attr_class("_cr")}>GitHub</h2>`);
9044
9044
  _if(() => {
9045
9045
  if (setup) {
9046
9046
  const $scope41_id = _scope_id();
9047
9047
  _set_serialize_reason(44);
9048
9048
  const $childScope10 = _peek_scope_id();
9049
9049
  add_field_default({
9050
- class: "_dh",
9050
+ class: "_do",
9051
9051
  open: addingHost,
9052
9052
  openChange: _resume((_new_addingHost) => {
9053
9053
  addingHost = _new_addingHost;
@@ -9077,17 +9077,17 @@ var settings_page_default = _template("B", (input) => {
9077
9077
  return 0;
9078
9078
  }
9079
9079
  }, $scope0_id, "y");
9080
- _html(`</div><div${_attr_class(["_ci", "_cD"])}>`);
9080
+ _html(`</div><div${_attr_class(["_ci", "_cK"])}>`);
9081
9081
  _for_of(setup?.github || [], (h) => {
9082
9082
  const $scope7_id = _scope_id();
9083
9083
  const $for_content3__h_host__closures = /* @__PURE__ */ new Set();
9084
9084
  const hostSso$1 = (h.sso || []).filter((s) => !ignoredSso.has(s.org));
9085
9085
  const skippedSso = (h.sso || []).filter((s) => ignoredSso.has(s.org));
9086
9086
  const busy = active.has(h.host);
9087
- _html(`<div${_attr_class(["_cE", "_di"])}><div${_attr_class("_dj")}>`);
9087
+ _html(`<div${_attr_class(["_cL", "_dp"])}><div${_attr_class("_dq")}>`);
9088
9088
  icon_github_default({
9089
9089
  size: 18,
9090
- class: "_dk"
9090
+ class: "_dr"
9091
9091
  });
9092
9092
  _html(`<div${_attr_class("_cj")}><span${_attr_class("_cl")}><span${_attr_class("_ck")}>${_text_resume($scope7_id, "g", h.host)}</span>`);
9093
9093
  _if(() => {
@@ -9102,25 +9102,25 @@ var settings_page_default = _template("B", (input) => {
9102
9102
  _if(() => {
9103
9103
  if (busy) {
9104
9104
  const $scope14_id = _scope_id();
9105
- _html(`<span${_attr_class(["_cm", "_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>`);
9105
+ _html(`<span${_attr_class(["_cm", "_ds"])}><span${_attr_class("_G")}></span>${_text_resume($scope14_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
9106
9106
  _subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope14_id, { Ch1: 1 })));
9107
9107
  return 0;
9108
9108
  } else if (h.authed) {
9109
9109
  const $scope92_id = _scope_id();
9110
- _html(`<span${_attr_class(["_cm", "_dl"])}>`);
9110
+ _html(`<span${_attr_class(["_cm", "_ds"])}>`);
9111
9111
  icon_check_default({
9112
9112
  size: 12,
9113
- class: "_dm"
9113
+ class: "_dt"
9114
9114
  });
9115
- _html(` Signed in as <strong${_attr_class("_do")}>${_text_resume($scope92_id, "d", h.user || "?")}</strong></span>`);
9115
+ _html(` Signed in as <strong${_attr_class("_dv")}>${_text_resume($scope92_id, "d", h.user || "?")}</strong></span>`);
9116
9116
  writeScope($scope92_id, {});
9117
9117
  return 1;
9118
9118
  } else if (h.error) {
9119
9119
  const $scope93_id = _scope_id();
9120
9120
  _html(`<span${_attr_class([
9121
9121
  "_cm",
9122
- "_dl",
9123
- "_dn"
9122
+ "_ds",
9123
+ "_du"
9124
9124
  ])}>`);
9125
9125
  icon_warning_default({ size: 12 });
9126
9126
  _html(`${_text_resume($scope93_id, "c", h.error)}</span>`);
@@ -9128,7 +9128,7 @@ var settings_page_default = _template("B", (input) => {
9128
9128
  return 2;
9129
9129
  } else {
9130
9130
  const $scope95_id = _scope_id();
9131
- _html(`<span${_attr_class(["_cm", "_dl"])}>Not signed in</span>`);
9131
+ _html(`<span${_attr_class(["_cm", "_ds"])}>Not signed in</span>`);
9132
9132
  writeScope($scope95_id, {});
9133
9133
  return 3;
9134
9134
  }
@@ -9202,7 +9202,7 @@ var settings_page_default = _template("B", (input) => {
9202
9202
  _if(() => {
9203
9203
  if (busy && authCodes.has(h.host)) {
9204
9204
  const $scope35_id = _scope_id();
9205
- _html(`<div${_attr_class("_dp")}><span${_attr_class("_dq")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_ds")}>${_text_resume($scope35_id, "d", h.host)}/login/device</a>${_el_resume($scope35_id, "c")}</span><code${_attr_class("_dr")}>${_text_resume($scope35_id, "f", authCodes.get(h.host))}</code></div>`);
9205
+ _html(`<div${_attr_class("_dw")}><span${_attr_class("_dx")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_dz")}>${_text_resume($scope35_id, "d", h.host)}/login/device</a>${_el_resume($scope35_id, "c")}</span><code${_attr_class("_dy")}>${_text_resume($scope35_id, "f", authCodes.get(h.host))}</code></div>`);
9206
9206
  _subscribe($authCodes__closures, writeScope($scope35_id, { Ch6: 1 }));
9207
9207
  return 0;
9208
9208
  }
@@ -9214,7 +9214,7 @@ var settings_page_default = _template("B", (input) => {
9214
9214
  _set_serialize_reason(30);
9215
9215
  const $childScope13 = _peek_scope_id();
9216
9216
  sso_auth_default({
9217
- class: ["_cE", "_dt"],
9217
+ class: ["_cL", "_dA"],
9218
9218
  items: hostSso$1,
9219
9219
  skipped: skippedSso,
9220
9220
  busy,
@@ -9253,18 +9253,18 @@ var settings_page_default = _template("B", (input) => {
9253
9253
  return 0;
9254
9254
  }
9255
9255
  }, $scope0_id, "a0", 1, 1, 1, 0, 1);
9256
- _html(`</section><section${_attr_class("_cd")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_ce")}><h2${_attr("id", machineId)}${_attr_class("_cr")}>Machine</h2></div><div${_attr_class(["_ci", "_cD"])}><div${_attr_class(["_cE", "_cF"])}><div${_attr_class(["_cG", { ["_cH"]: skillsOpen }])}><button${_attr_class("_cI")} aria-expanded=true>`);
9256
+ _html(`</section><section${_attr_class("_cd")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_ce")}><h2${_attr("id", machineId)}${_attr_class("_cr")}>Machine</h2></div><div${_attr_class(["_ci", "_cK"])}><div${_attr_class(["_cL", "_cM"])}><div${_attr_class(["_cN", { ["_cO"]: skillsOpen }])}><button${_attr_class("_cP")} aria-expanded=true>`);
9257
9257
  _set_serialize_reason(1);
9258
9258
  const $childScope14 = _peek_scope_id();
9259
9259
  icon_chevron_right_default({
9260
9260
  size: 12,
9261
- class: ["_cM", { ["_cN"]: skillsOpen }]
9261
+ class: ["_cT", { ["_cU"]: skillsOpen }]
9262
9262
  });
9263
- _html(`<span${_attr_class("_cJ")}>Skills</span>`);
9263
+ _html(`<span${_attr_class("_cQ")}>Skills</span>`);
9264
9264
  _if(() => {
9265
9265
  if (skills?.global.length) {
9266
9266
  const $scope50_id = _scope_id();
9267
- _html(`<span${_attr_class("_cK")}>${_text_resume($scope50_id, "b", skills.global.length)} installed</span>`);
9267
+ _html(`<span${_attr_class("_cR")}>${_text_resume($scope50_id, "b", skills.global.length)} installed</span>`);
9268
9268
  writeScope($scope50_id, {});
9269
9269
  return 0;
9270
9270
  }
@@ -9292,7 +9292,7 @@ var settings_page_default = _template("B", (input) => {
9292
9292
  _if(() => {
9293
9293
  if (skillSearching && !skillHits?.length && !looksLikeSource(skillQuery)) {
9294
9294
  const $scope99_id = _scope_id();
9295
- _html(`<li${_attr_class("_cB")}>Searching skills.sh…</li>`);
9295
+ _html(`<li${_attr_class("_cI")}>Searching skills.sh…</li>`);
9296
9296
  writeScope($scope99_id, {});
9297
9297
  return 0;
9298
9298
  }
@@ -9300,11 +9300,11 @@ var settings_page_default = _template("B", (input) => {
9300
9300
  _if(() => {
9301
9301
  if (looksLikeSource(skillQuery)) {
9302
9302
  const $scope17_id = _scope_id();
9303
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope17_id, "d", skillQuery.trim())}</span>`);
9303
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_dk", "_y"])}>${_text_resume($scope17_id, "d", skillQuery.trim())}</span>`);
9304
9304
  _if(() => {
9305
9305
  if (active.has(skillQuery.trim())) {
9306
9306
  const $scope18_id = _scope_id();
9307
- _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope18_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
9307
+ _html(`<span${_attr_class("_c9")}><span${_attr_class("_G")}></span>${_text_resume($scope18_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
9308
9308
  _subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope18_id, {
9309
9309
  Ch1: 3,
9310
9310
  Chs: 2
@@ -9338,11 +9338,11 @@ var settings_page_default = _template("B", (input) => {
9338
9338
  _for_of(skillHits || [], (h) => {
9339
9339
  const $scope19_id = _scope_id();
9340
9340
  const $for_content4__h_installs__closures = /* @__PURE__ */ new Set();
9341
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope19_id, "d", h.name)}</span>`);
9341
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_dk", "_y"])}>${_text_resume($scope19_id, "d", h.name)}</span>`);
9342
9342
  _if(() => {
9343
9343
  if (active.has(h.skillId)) {
9344
9344
  const $scope20_id = _scope_id();
9345
- _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope20_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
9345
+ _html(`<span${_attr_class("_c9")}><span${_attr_class("_G")}></span>${_text_resume($scope20_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
9346
9346
  _subscribe($active__closures, writeScope($scope20_id, { Ch1: 5 }));
9347
9347
  return 0;
9348
9348
  } else {
@@ -9395,7 +9395,7 @@ var settings_page_default = _template("B", (input) => {
9395
9395
  _if(() => {
9396
9396
  if (skillHits && !skillHits.length && !skillSearching && !looksLikeSource(skillQuery)) {
9397
9397
  const $scope52_id = _scope_id();
9398
- _html(`<li${_attr_class("_cB")}>No skills match "${_text_resume($scope52_id, "b", skillQuery, 2)}".</li>`);
9398
+ _html(`<li${_attr_class("_cI")}>No skills match "${_text_resume($scope52_id, "b", skillQuery, 2)}".</li>`);
9399
9399
  _subscribe($skillQuery__closures, writeScope($scope52_id, { Chs: 3 }));
9400
9400
  return 0;
9401
9401
  }
@@ -9412,7 +9412,7 @@ var settings_page_default = _template("B", (input) => {
9412
9412
  _if(() => {
9413
9413
  {
9414
9414
  const $scope21_id = _scope_id();
9415
- _html(`<div${_attr_class("_cL")}>`);
9415
+ _html(`<div${_attr_class("_cS")}>`);
9416
9416
  _if(() => {
9417
9417
  if (skills && !skills.agents.length) {
9418
9418
  const $scope104_id = _scope_id();
@@ -9427,7 +9427,7 @@ var settings_page_default = _template("B", (input) => {
9427
9427
  return 1;
9428
9428
  }
9429
9429
  }, $scope21_id, "b", 1, 1, 1, 0, 1);
9430
- _html(`<ul${_attr_class("_eg")}>`);
9430
+ _html(`<ul${_attr_class("_cs")}>`);
9431
9431
  _for_of(skills?.global || [], (s) => {
9432
9432
  const $scope23_id = _scope_id();
9433
9433
  const $for_content5__s_agents__closures = /* @__PURE__ */ new Set();
@@ -9515,18 +9515,18 @@ var settings_page_default = _template("B", (input) => {
9515
9515
  return 0;
9516
9516
  }
9517
9517
  }, $scope0_id, "ac", 1, 1, 1, 0, 1);
9518
- _html(`</div><div${_attr_class(["_cE", "_cF"])}><div${_attr_class(["_cG", { ["_cH"]: machineOpen }])}><button${_attr_class("_cI")} aria-expanded=${machineOpen ? "true" : "false"}>`);
9518
+ _html(`</div><div${_attr_class(["_cL", "_cM"])}><div${_attr_class(["_cN", { ["_cO"]: machineOpen }])}><button${_attr_class("_cP")} aria-expanded=${machineOpen ? "true" : "false"}>`);
9519
9519
  _set_serialize_reason(1);
9520
9520
  const $childScope18 = _peek_scope_id();
9521
9521
  icon_chevron_right_default({
9522
9522
  size: 12,
9523
- class: ["_cM", { ["_cN"]: machineOpen }]
9523
+ class: ["_cT", { ["_cU"]: machineOpen }]
9524
9524
  });
9525
- _html(`<span${_attr_class("_cJ")}>Tools</span><span${_attr_class("_cK")}>${_text_resume($scope0_id, "aj", tools.filter((t) => t.installed).length)} installed ${_text_resume($scope0_id, "ak", missingCount ? `${_to_text(" · ")}${_to_text(missingCount)} missing` : "", 2)}${_text_resume($scope0_id, "al", outdatedIds.length ? `${_to_text(" · ")}${_to_text(outdatedIds.length)} outdated` : "", 2)}</span></button>${_el_resume($scope0_id, "af")}`);
9525
+ _html(`<span${_attr_class("_cQ")}>Tools</span><span${_attr_class("_cR")}>${_text_resume($scope0_id, "aj", tools.filter((t) => t.installed).length)} installed ${_text_resume($scope0_id, "ak", missingCount ? `${_to_text(" · ")}${_to_text(missingCount)} missing` : "", 2)}${_text_resume($scope0_id, "al", outdatedIds.length ? `${_to_text(" · ")}${_to_text(outdatedIds.length)} outdated` : "", 2)}</span></button>${_el_resume($scope0_id, "af")}`);
9526
9526
  _if(() => {
9527
9527
  if (bulk) {
9528
9528
  const $scope34_id = _scope_id();
9529
- _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope34_id, "c", bulk.action === "update" ? "Updating" : "Installing")} ${_text_resume($scope34_id, "d", Math.min(bulk.done + 1, bulk.total), 2)}/${_text_resume($scope34_id, "e", bulk.total, 2)}${_text_resume($scope34_id, "f", activeLine && ` — ${activeLine}`, 2)}</span>`);
9529
+ _html(`<span${_attr_class("_c9")}><span${_attr_class("_G")}></span>${_text_resume($scope34_id, "c", bulk.action === "update" ? "Updating" : "Installing")} ${_text_resume($scope34_id, "d", Math.min(bulk.done + 1, bulk.total), 2)}/${_text_resume($scope34_id, "e", bulk.total, 2)}${_text_resume($scope34_id, "f", activeLine && ` — ${activeLine}`, 2)}</span>`);
9530
9530
  writeScope($scope34_id, {});
9531
9531
  return 0;
9532
9532
  } else {
@@ -9575,7 +9575,7 @@ var settings_page_default = _template("B", (input) => {
9575
9575
  _if(() => {
9576
9576
  if (searching && !hits?.length) {
9577
9577
  const $scope109_id = _scope_id();
9578
- _html(`<li${_attr_class("_cB")}>Searching the mise registry…</li>`);
9578
+ _html(`<li${_attr_class("_cI")}>Searching the mise registry…</li>`);
9579
9579
  writeScope($scope109_id, {});
9580
9580
  return 0;
9581
9581
  }
@@ -9583,18 +9583,18 @@ var settings_page_default = _template("B", (input) => {
9583
9583
  _if(() => {
9584
9584
  if (hits && !hits.length && !searching) {
9585
9585
  const $scope42_id = _scope_id();
9586
- _html(`<li${_attr_class("_cB")}>No tools match "${_text_resume($scope42_id, "b", query, 2)}".</li>`);
9586
+ _html(`<li${_attr_class("_cI")}>No tools match "${_text_resume($scope42_id, "b", query, 2)}".</li>`);
9587
9587
  _subscribe($query__closures, writeScope($scope42_id, {}));
9588
9588
  return 0;
9589
9589
  }
9590
9590
  }, $scope28_id, "b", 1, 1, 1, 0, 1);
9591
9591
  _for_of(hits || [], (h) => {
9592
9592
  const $scope29_id = _scope_id();
9593
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope29_id, "d", h.name)}</span>`);
9593
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_dk", "_y"])}>${_text_resume($scope29_id, "d", h.name)}</span>`);
9594
9594
  _if(() => {
9595
9595
  if (active.has(h.name)) {
9596
9596
  const $scope30_id = _scope_id();
9597
- _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope30_id, "c", active.get(h.name) || "Starting…")}</span>`);
9597
+ _html(`<span${_attr_class("_c9")}><span${_attr_class("_G")}></span>${_text_resume($scope30_id, "c", active.get(h.name) || "Starting…")}</span>`);
9598
9598
  _subscribe($active__closures, writeScope($scope30_id, { Ch1: 9 }));
9599
9599
  return 0;
9600
9600
  } else if (h.description) {
@@ -9646,7 +9646,7 @@ var settings_page_default = _template("B", (input) => {
9646
9646
  _if(() => {
9647
9647
  if (machineOpen) {
9648
9648
  const $scope6_id = _scope_id();
9649
- _html(`<div${_attr_class("_cL")}>`);
9649
+ _html(`<div${_attr_class("_cS")}>`);
9650
9650
  _if(() => {
9651
9651
  if (setup && !setup.mise.installed) {
9652
9652
  const $scope31_id = _scope_id();
@@ -9660,11 +9660,11 @@ var settings_page_default = _template("B", (input) => {
9660
9660
  _if(() => {
9661
9661
  if (self) {
9662
9662
  const $scope46_id = _scope_id();
9663
- _html(`<li${_attr_class(toolRow)}><span${_attr_class(["_dd", "_y"])}>work</span>`);
9663
+ _html(`<li${_attr_class(toolRow)}><span${_attr_class(["_dk", "_y"])}>work</span>`);
9664
9664
  _if(() => {
9665
9665
  if (selfUpdating) {
9666
9666
  const $scope112_id = _scope_id();
9667
- _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
9667
+ _html(`<span${_attr_class("_c9")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
9668
9668
  writeScope($scope112_id, {});
9669
9669
  return 0;
9670
9670
  } else {
@@ -9678,7 +9678,7 @@ var settings_page_default = _template("B", (input) => {
9678
9678
  return 0;
9679
9679
  } else if (self.latest && self.latest !== self.version) {
9680
9680
  const $scope48_id = _scope_id();
9681
- _html(`<button${_attr_class([btnSm, "_dg"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
9681
+ _html(`<button${_attr_class([btnSm, "_dn"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
9682
9682
  icon_arrow_up_default({ size: 12 });
9683
9683
  _html(` ${_text_resume($scope48_id, "c", self.latest, 2)}</button>${_el_resume($scope48_id, "a")}`);
9684
9684
  _script($scope48_id, "B77");
@@ -9721,11 +9721,11 @@ var settings_page_default = _template("B", (input) => {
9721
9721
  const $for_content7__t_latest__closures = /* @__PURE__ */ new Set();
9722
9722
  const $for_content7__t_label__closures = /* @__PURE__ */ new Set();
9723
9723
  const $for_content7__t_newest__closures = /* @__PURE__ */ new Set();
9724
- _html(`<li${_attr_class([toolRow, { ["_dc"]: !t.installed }])}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope32_id, "c", t.label)}</span>`);
9724
+ _html(`<li${_attr_class([toolRow, { ["_dj"]: !t.installed }])}><span${_attr_class(["_dk", "_y"])}>${_text_resume($scope32_id, "c", t.label)}</span>`);
9725
9725
  _if(() => {
9726
9726
  if (active.has(t.id)) {
9727
9727
  const $scope33_id = _scope_id();
9728
- _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope33_id, "c", active.get(t.id) || "Starting…")}</span>`);
9728
+ _html(`<span${_attr_class("_c9")}><span${_attr_class("_G")}></span>${_text_resume($scope33_id, "c", active.get(t.id) || "Starting…")}</span>`);
9729
9729
  _subscribe($active__closures, writeScope($scope33_id, { Ch1: 12 }));
9730
9730
  return 0;
9731
9731
  } else if (t.installed) {
@@ -9733,11 +9733,11 @@ var settings_page_default = _template("B", (input) => {
9733
9733
  _if(() => {
9734
9734
  if (t.version) {
9735
9735
  const $scope40_id = _scope_id();
9736
- _html(`<button${_attr_class(["_df", "_y"])}${_attr("title", `${t.path || t.label}${aliasPin(t) ? `, pinned to ${t.pin}` : ""}. Pin a version`)}>v${_text_resume($scope40_id, "b", t.version, 2)}`);
9736
+ _html(`<button${_attr_class(["_dm", "_y"])}${_attr("title", `${t.path || t.label}${aliasPin(t) ? `, pinned to ${t.pin}` : ""}. Pin a version`)}>v${_text_resume($scope40_id, "b", t.version, 2)}`);
9737
9737
  _if(() => {
9738
9738
  if (aliasPin(t)) {
9739
9739
  const $scope116_id = _scope_id();
9740
- _html(`<span${_attr_class("_de")}>${_text_resume($scope116_id, "b", t.pin)}</span>`);
9740
+ _html(`<span${_attr_class("_dl")}>${_text_resume($scope116_id, "b", t.pin)}</span>`);
9741
9741
  _subscribe($for_content7__t_pin__closures, writeScope($scope116_id, { Ca0: 1 }));
9742
9742
  return 0;
9743
9743
  }
@@ -9756,7 +9756,7 @@ var settings_page_default = _template("B", (input) => {
9756
9756
  _if(() => {
9757
9757
  if (outdated(t)) {
9758
9758
  const $scope57_id = _scope_id();
9759
- _html(`<button${_attr_class([btnSm, "_dg"])}${_attr("title", `Update to v${t.latest}`)}>`);
9759
+ _html(`<button${_attr_class([btnSm, "_dn"])}${_attr("title", `Update to v${t.latest}`)}>`);
9760
9760
  icon_arrow_up_default({ size: 12 });
9761
9761
  _html(` ${_text_resume($scope57_id, "c", t.latest, 2)}</button>${_el_resume($scope57_id, "a")}`);
9762
9762
  _script($scope57_id, "B79");
@@ -9764,7 +9764,7 @@ var settings_page_default = _template("B", (input) => {
9764
9764
  return 0;
9765
9765
  } else if (t.newest) {
9766
9766
  const $scope58_id = _scope_id();
9767
- _html(`<button${_attr_class(["_df", "_y"])}${_attr("title", `v${t.newest} is out; ${t.pin} holds ${t.label} at v${t.version}. Pin v${t.newest} instead`)}>${_text_resume($scope58_id, "b", t.newest)} available</button>${_el_resume($scope58_id, "a")}`);
9767
+ _html(`<button${_attr_class(["_dm", "_y"])}${_attr("title", `v${t.newest} is out; ${t.pin} holds ${t.label} at v${t.version}. Pin v${t.newest} instead`)}>${_text_resume($scope58_id, "b", t.newest)} available</button>${_el_resume($scope58_id, "a")}`);
9768
9768
  _script($scope58_id, "B80");
9769
9769
  _subscribe($for_content7__t_newest__closures, _subscribe($for_content7__t_pin__closures, _subscribe($for_content7__t_version__closures, _subscribe($for_content7__t_label__closures, writeScope($scope58_id, { Cy: 1 })))));
9770
9770
  return 1;
@@ -9877,14 +9877,14 @@ var settings_page_default = _template("B", (input) => {
9877
9877
  label: "Dark"
9878
9878
  }
9879
9879
  ];
9880
- _html(`</div></div></section><section${_attr_class("_cd")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_ce")}><h2${_attr("id", appearanceId)}${_attr_class("_cr")}>Appearance</h2></div><div${_attr_class(["_ci", "_du"])}><div${_attr_class("_dG")}><img${_attr_class("_dH")}${_attr("src", `/api/instance/icon${accent ? `?v=${accent.slice(1)}` : ""}`)} alt aria-hidden=true>${_el_resume($scope0_id, "au", $sg__input_instance_accent)}<span${_attr_class("_dI")}><span${_attr_class("_dJ")}>${_text_resume($scope0_id, "ax", input.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_dK")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_dv")}><span${_attr_class("_dw")}>Name</span><input${_attr_input_value($scope0_id, "b1", input.instance.name, _resume(function(v) {
9880
+ _html(`</div></div></section><section${_attr_class("_cd")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_ce")}><h2${_attr("id", appearanceId)}${_attr_class("_cr")}>Appearance</h2></div><div${_attr_class(["_ci", "_dB"])}><div${_attr_class("_dN")}><img${_attr_class("_dO")}${_attr("src", `/api/instance/icon${accent ? `?v=${accent.slice(1)}` : ""}`)} alt aria-hidden=true>${_el_resume($scope0_id, "au", $sg__input_instance_accent)}<span${_attr_class("_dP")}><span${_attr_class("_dQ")}>${_text_resume($scope0_id, "ax", input.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_dR")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_dC")}><span${_attr_class("_dD")}>Name</span><input${_attr_input_value($scope0_id, "b1", input.instance.name, _resume(function(v) {
9881
9881
  setInstance({ name: v });
9882
- }, "B1", $scope0_id))}${_attr_class(["_Y", "_dx"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b1")}</label><div${_attr_class("_dv")}><span${_attr_class("_dw")}>Theme</span><span${_attr_class("_dz")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
9882
+ }, "B1", $scope0_id))}${_attr_class(["_Y", "_dE"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b1")}</label><div${_attr_class("_dC")}><span${_attr_class("_dD")}>Theme</span><span${_attr_class("_dG")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
9883
9883
  _for_of(themeOpts, (opt) => {
9884
9884
  const $scope49_id = _scope_id();
9885
9885
  _html(`<button type=button${_attr_class([
9886
9886
  "_bf",
9887
- "_dL",
9887
+ "_dS",
9888
9888
  { ["_be"]: themeMode === opt.id }
9889
9889
  ])} role=radio aria-checked=${themeMode === opt.id ? "true" : "false"}>`);
9890
9890
  if (opt.id === "system") {
@@ -9904,28 +9904,28 @@ var settings_page_default = _template("B", (input) => {
9904
9904
  _: _scope_with_id($scope0_id)
9905
9905
  });
9906
9906
  }, "id", $scope0_id, "b5", 1, 0, 1, 0, 1);
9907
- _html(`</span><span${_attr_class(["_o", "_dA"])}>`);
9907
+ _html(`</span><span${_attr_class(["_o", "_dH"])}>`);
9908
9908
  _attr_select_value($scope0_id, "b7", themeMode, _resume(function(v) {
9909
9909
  setThemeMode(v);
9910
9910
  }, "B2", $scope0_id), () => {
9911
- _html(`<select${_attr_class(["_p", "_dB"])} aria-label="Color theme">`);
9911
+ _html(`<select${_attr_class(["_p", "_dI"])} aria-label="Color theme">`);
9912
9912
  forOf(themeOpts, (opt) => {
9913
9913
  _scope_id();
9914
9914
  _html(`<option${_attr_option_value(opt.id)}>${_escape(opt.label)}</option>`);
9915
9915
  });
9916
9916
  _html("</select>");
9917
9917
  });
9918
- _html(`${_el_resume($scope0_id, "b7")}</span></span></div><div${_attr_class("_dv")}><span${_attr_class("_dw")}>Accent</span><span${_attr_class("_dM")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
9919
- "_dN",
9920
- "_dQ",
9921
- { ["_dO"]: !accent }
9918
+ _html(`${_el_resume($scope0_id, "b7")}</span></span></div><div${_attr_class("_dC")}><span${_attr_class("_dD")}>Accent</span><span${_attr_class("_dT")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
9919
+ "_dU",
9920
+ "_dX",
9921
+ { ["_dV"]: !accent }
9922
9922
  ])} role=radio aria-checked=${!accent ? "true" : "false"} title="Default (blue)" aria-label="Default (blue)">`);
9923
9923
  _if(() => {
9924
9924
  if (!accent) {
9925
9925
  const $scope126_id = _scope_id();
9926
9926
  icon_check_default({
9927
9927
  size: 12,
9928
- class: "_dP"
9928
+ class: "_dW"
9929
9929
  });
9930
9930
  $si__input_instance_accent && writeScope($scope126_id, {});
9931
9931
  return 0;
@@ -9933,13 +9933,13 @@ var settings_page_default = _template("B", (input) => {
9933
9933
  }, $scope0_id, "bb", $sg__input_instance_accent, 1, 1, "</button>", 1);
9934
9934
  _for_of(ACCENT_PRESETS, (p) => {
9935
9935
  const $scope79_id = _scope_id();
9936
- _html(`<button type=button${_attr_class(["_dN", { ["_dO"]: accent === p.value }])}${_attr_style(`--swatch:${p.value}`)} role=radio aria-checked=${accent === p.value ? "true" : "false"}${_attr("title", p.name)}${_attr("aria-label", p.name)}>`);
9936
+ _html(`<button type=button${_attr_class(["_dU", { ["_dV"]: accent === p.value }])}${_attr_style(`--swatch:${p.value}`)} role=radio aria-checked=${accent === p.value ? "true" : "false"}${_attr("title", p.name)}${_attr("aria-label", p.name)}>`);
9937
9937
  _if(() => {
9938
9938
  if (accent === p.value) {
9939
9939
  const $scope127_id = _scope_id();
9940
9940
  icon_check_default({
9941
9941
  size: 12,
9942
- class: "_dP"
9942
+ class: "_dW"
9943
9943
  });
9944
9944
  $si__input_instance_accent && writeScope($scope127_id, {});
9945
9945
  return 0;
@@ -9953,18 +9953,18 @@ var settings_page_default = _template("B", (input) => {
9953
9953
  }, "value", $scope0_id, "bc", $sg__input_instance_accent, 0, 1, 0, 1);
9954
9954
  const customOn = !!accent && !ACCENT_PRESETS.some((p) => p.value === accent);
9955
9955
  _html(`<label${_attr_class([
9956
- "_dN",
9957
- "_dR",
9958
- { ["_dO"]: customOn }
9956
+ "_dU",
9957
+ "_dY",
9958
+ { ["_dV"]: customOn }
9959
9959
  ])}${customOn ? _attr_style(`--swatch:${accent}`) : ""}${customOn ? _attr("title", `Custom ${accent}`) : " title=\"Custom colour\""}><input${_attr_input_value($scope0_id, "be", accent || "#3556d8", _resume(function(v) {
9960
9960
  setInstance({ accent: v });
9961
- }, "B3", $scope0_id))}${_attr_class("_dS")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "be")}`);
9961
+ }, "B3", $scope0_id))}${_attr_class("_dZ")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "be")}`);
9962
9962
  _if(() => {
9963
9963
  if (customOn) {
9964
9964
  const $scope128_id = _scope_id();
9965
9965
  icon_check_default({
9966
9966
  size: 12,
9967
- class: "_dP"
9967
+ class: "_dW"
9968
9968
  });
9969
9969
  $si__input_instance_accent && writeScope($scope128_id, {});
9970
9970
  return 0;
@@ -9975,11 +9975,11 @@ var settings_page_default = _template("B", (input) => {
9975
9975
  return 1;
9976
9976
  }
9977
9977
  }, $scope0_id, "bf", $sg__input_instance_accent, $sg__input_instance_accent, 1, 0, 1);
9978
- _html(`</label>${_el_resume($scope0_id, "bd", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_cd")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_ce")}><h2${_attr("id", backupId)}${_attr_class("_cr")}>Backup</h2></div><div${_attr_class(["_ci", "_cD"])}><div${_attr_class("_cE")}><div${_attr_class("_dT")}><div${_attr_class("_cj")}>`);
9978
+ _html(`</label>${_el_resume($scope0_id, "bd", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_cd")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_ce")}><h2${_attr("id", backupId)}${_attr_class("_cr")}>Backup</h2></div><div${_attr_class(["_ci", "_cK"])}><div${_attr_class("_cL")}><div${_attr_class("_d0")}><div${_attr_class("_cj")}>`);
9979
9979
  _if(() => {
9980
9980
  if (backupBusy === "preflight") {
9981
9981
  const $scope66_id = _scope_id();
9982
- _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope66_id, "c", backupLine || "Checking workspaces…")}</span>`);
9982
+ _html(`<span${_attr_class("_c9")}><span${_attr_class("_G")}></span>${_text_resume($scope66_id, "c", backupLine || "Checking workspaces…")}</span>`);
9983
9983
  writeScope($scope66_id, {});
9984
9984
  return 0;
9985
9985
  } else {
@@ -10002,7 +10002,7 @@ var settings_page_default = _template("B", (input) => {
10002
10002
  _if(() => {
10003
10003
  if (preflight && !backupBusy) {
10004
10004
  const $scope68_id = _scope_id();
10005
- _html(`<div${_attr_class("_dV")}><p${_attr_class("_dW")}>In the file: ${_text_resume($scope68_id, "c", preflight.contents.workspaces, 2)} workspace${_text_resume($scope68_id, "d", preflight.contents.workspaces === 1 ? "" : "s", 2)}${_text_resume($scope68_id, "e", preflight.contents.archived ? `${_to_text(" ")}(${_to_text(preflight.contents.archived)} archived)` : "", 2)} , ${_text_resume($scope68_id, "f", preflight.contents.tools, 2)} tool pin${_text_resume($scope68_id, "g", preflight.contents.tools === 1 ? "" : "s", 2)}, ${_text_resume($scope68_id, "h", preflight.contents.skills, 2)} skill${_text_resume($scope68_id, "i", preflight.contents.skills === 1 ? "" : "s", 2)}, ${_text_resume($scope68_id, "j", preflight.contents.agents, 2)} agent${_text_resume($scope68_id, "k", preflight.contents.agents === 1 ? "" : "s", 2)}.</p><p${_attr_class("_dW")}>Not in the file: `);
10005
+ _html(`<div${_attr_class("_d2")}><p${_attr_class("_d3")}>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("_d3")}>Not in the file: `);
10006
10006
  _if(() => {
10007
10007
  if (preflight.unpushed) {
10008
10008
  const $scope69_id = _scope_id();
@@ -10019,15 +10019,15 @@ var settings_page_default = _template("B", (input) => {
10019
10019
  return 0;
10020
10020
  }
10021
10021
  }, $scope68_id, "m");
10022
- _html(`${_text_resume($scope68_id, "n", preflight.files ? `${_to_text(" ")}${_to_text(preflight.files)} uncommitted file${_to_text(preflight.files === 1 ? "" : "s")}` : "", 2)} .</p><ul${_attr_class("_dX")}>`);
10022
+ _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("_d4")}>`);
10023
10023
  _for_of(preflight.workspaces, (w) => {
10024
10024
  const $scope132_id = _scope_id();
10025
10025
  const $for_content17__w_name__closures = /* @__PURE__ */ new Set();
10026
- _html(`<li${_attr_class("_dY")}><span${_attr_class("_ck")}>${_text_resume($scope132_id, "c", w.name)}</span><ul${_attr_class("_dX")}>`);
10026
+ _html(`<li${_attr_class("_d5")}><span${_attr_class("_ck")}>${_text_resume($scope132_id, "c", w.name)}</span><ul${_attr_class("_d4")}>`);
10027
10027
  _for_of(w.repos, (r) => {
10028
10028
  const $scope133_id = _scope_id();
10029
10029
  const $for_content18__r_more__closures = /* @__PURE__ */ new Set();
10030
- _html(`<li${_attr_class("_dZ")}><span${_attr_class("_d0")}><span${_attr_class("_y")}>${_text_resume($scope133_id, "d", r.worktree)}/</span>`);
10030
+ _html(`<li${_attr_class("_d6")}><span${_attr_class("_d7")}><span${_attr_class("_y")}>${_text_resume($scope133_id, "d", r.worktree)}/</span>`);
10031
10031
  _for_of(r.unpushed, (b) => {
10032
10032
  const $scope134_id = _scope_id();
10033
10033
  _html(`<span${_attr_class(["_N", tone.warn])}${_attr("title", `${b.branch}: ${b.count} commit${b.count === 1 ? "" : "s"} origin does not have`)}>${_text_resume($scope134_id, "b", b.count)} unpushed `);
@@ -10046,10 +10046,10 @@ var settings_page_default = _template("B", (input) => {
10046
10046
  _if(() => {
10047
10047
  if (r.modified.length || r.untracked.length || r.ignored.length) {
10048
10048
  const $scope135_id = _scope_id();
10049
- _html(`<ul${_attr_class("_d1")}>`);
10049
+ _html(`<ul${_attr_class("_d8")}>`);
10050
10050
  _for_of(r.modified, (f) => {
10051
10051
  const $scope138_id = _scope_id();
10052
- _html(`<li${_attr_class("_d2")}><span${_attr_class([
10052
+ _html(`<li${_attr_class("_d9")}><span${_attr_class([
10053
10053
  "_N",
10054
10054
  "_P",
10055
10055
  tone.warn
@@ -10058,18 +10058,18 @@ var settings_page_default = _template("B", (input) => {
10058
10058
  }, (f) => f, $scope135_id, "b", 1, 1, 1, 0, 1);
10059
10059
  _for_of(r.untracked, (f) => {
10060
10060
  const $scope139_id = _scope_id();
10061
- _html(`<li${_attr_class("_d2")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope139_id, "d", f)}</span></li>`);
10061
+ _html(`<li${_attr_class("_d9")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope139_id, "d", f)}</span></li>`);
10062
10062
  writeScope($scope139_id, {});
10063
10063
  }, (f) => f, $scope135_id, "c", 1, 1, 1, 0, 1);
10064
10064
  _for_of(r.ignored, (f) => {
10065
10065
  const $scope140_id = _scope_id();
10066
- _html(`<li${_attr_class("_d2")}><span${_attr_class(["_N", "_P"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope140_id, "d", f)}</span></li>`);
10066
+ _html(`<li${_attr_class("_d9")}><span${_attr_class(["_N", "_P"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope140_id, "d", f)}</span></li>`);
10067
10067
  writeScope($scope140_id, {});
10068
10068
  }, (f) => f, $scope135_id, "d", 1, 1, 1, 0, 1);
10069
10069
  _if(() => {
10070
10070
  if (r.more) {
10071
10071
  const $scope136_id = _scope_id();
10072
- _html(`<li${_attr_class(["_d2", "_x"])}>+${_text_resume($scope136_id, "b", r.more, 2)} more</li>`);
10072
+ _html(`<li${_attr_class(["_d9", "_x"])}>+${_text_resume($scope136_id, "b", r.more, 2)} more</li>`);
10073
10073
  _subscribe($for_content18__r_more__closures, writeScope($scope136_id, {}));
10074
10074
  return 0;
10075
10075
  }
@@ -10094,17 +10094,17 @@ var settings_page_default = _template("B", (input) => {
10094
10094
  i: $for_content17__w_name__closures
10095
10095
  });
10096
10096
  }, "id", $scope68_id, "o", 1, 1, 1, "</ul>", 1);
10097
- _html(`<div${_attr_class("_d3")}><button${_attr_class([btnSm, { ["_r"]: !preflight.unpushed }])}>${_text_resume($scope68_id, "r", preflight.unpushed ? "Export anyway" : "Export")}</button>${_el_resume($scope68_id, "q")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope68_id, "s")}</div></div>`);
10097
+ _html(`<div${_attr_class("_d_")}><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>`);
10098
10098
  _script($scope68_id, "B86");
10099
10099
  writeScope($scope68_id, {});
10100
10100
  return 0;
10101
10101
  }
10102
10102
  }, $scope0_id, "bo", 1, 1, 1, 0, 1);
10103
- _html(`</div><div${_attr_class("_cE")}><div${_attr_class("_dT")}><div${_attr_class("_cj")}>`);
10103
+ _html(`</div><div${_attr_class("_cL")}><div${_attr_class("_d0")}><div${_attr_class("_cj")}>`);
10104
10104
  _if(() => {
10105
10105
  if (backupBusy === "restore") {
10106
10106
  const $scope67_id = _scope_id();
10107
- _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope67_id, "c", backupLine || "Restoring…")}</span>`);
10107
+ _html(`<span${_attr_class("_c9")}><span${_attr_class("_G")}></span>${_text_resume($scope67_id, "c", backupLine || "Restoring…")}</span>`);
10108
10108
  writeScope($scope67_id, {});
10109
10109
  return 0;
10110
10110
  } else if (restoreDone) {
@@ -10122,7 +10122,7 @@ var settings_page_default = _template("B", (input) => {
10122
10122
  _if(() => {
10123
10123
  if (!restorePreview && backupBusy !== "restore") {
10124
10124
  const $scope77_id = _scope_id();
10125
- _html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_dU")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope77_id, "b")}</label>`);
10125
+ _html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_d1")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope77_id, "b")}</label>`);
10126
10126
  _script($scope77_id, "B87");
10127
10127
  writeScope($scope77_id, {});
10128
10128
  return 0;
@@ -10133,14 +10133,14 @@ var settings_page_default = _template("B", (input) => {
10133
10133
  if (restorePreview && backupBusy !== "restore") {
10134
10134
  const $scope70_id = _scope_id();
10135
10135
  const { preview } = restorePreview;
10136
- _html(`<div${_attr_class("_dV")}><p${_attr_class("_dW")}>From ${_text_resume($scope70_id, "c", preview.from.host, 2)} on ${_text_resume($scope70_id, "d", new Date(preview.from.exportedAt).toLocaleDateString(), 2)}${_text_resume($scope70_id, "e", preview.from.version ? ` (work ${preview.from.version})` : "", 2)}.</p>`);
10136
+ _html(`<div${_attr_class("_d2")}><p${_attr_class("_d3")}>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>`);
10137
10137
  _if(() => {
10138
10138
  if (preview.workspaces.length) {
10139
10139
  const $scope71_id = _scope_id();
10140
10140
  _html(`<ul${_attr_class(checkList)}>`);
10141
10141
  _for_of(preview.workspaces, (w) => {
10142
10142
  const $scope72_id = _scope_id();
10143
- _html(`<li><label${_attr_class(["_d5", { ["_d7"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_d6")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_cj")}><span${_attr_class("_cl")}><span${_attr_class("_ck")}>${_text_resume($scope72_id, "f", w.name)}</span>`);
10143
+ _html(`<li><label${_attr_class(["_eb", { ["_ed"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_ec")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_cj")}><span${_attr_class("_cl")}><span${_attr_class("_ck")}>${_text_resume($scope72_id, "f", w.name)}</span>`);
10144
10144
  _if(() => {
10145
10145
  if (w.status === "archived") {
10146
10146
  const $scope145_id = _scope_id();
@@ -10213,7 +10213,7 @@ var settings_page_default = _template("B", (input) => {
10213
10213
  _if(() => {
10214
10214
  if (p.total) {
10215
10215
  const $scope74_id = _scope_id();
10216
- _html(`<li><label${_attr_class(["_d5", { ["_d7"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_d6")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_cj")}><span${_attr_class("_ck")}>${_text_resume($scope74_id, "e", p.label)}</span><span${_attr_class("_cm")}>`);
10216
+ _html(`<li><label${_attr_class(["_eb", { ["_ed"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_ec")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_cj")}><span${_attr_class("_ck")}>${_text_resume($scope74_id, "e", p.label)}</span><span${_attr_class("_cm")}>`);
10217
10217
  _if(() => {
10218
10218
  if (p.key === "settings") {
10219
10219
  const $scope142_id = _scope_id();
@@ -10260,7 +10260,7 @@ var settings_page_default = _template("B", (input) => {
10260
10260
  i: $for_content10__p_total__closures
10261
10261
  });
10262
10262
  }, "key", $scope70_id, "h");
10263
- _html(`</ul><div${_attr_class("_d3")}><button${_attr_class([btnSm, "_r"])}${_attr("disabled", !restoreWs.size && !Object.values(restoreParts).some(Boolean))}>Restore</button>${_el_resume($scope70_id, "j")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope70_id, "k")}</div></div>`);
10263
+ _html(`</ul><div${_attr_class("_d_")}><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>`);
10264
10264
  _script($scope70_id, "B90");
10265
10265
  writeScope($scope70_id, {});
10266
10266
  return 0;
@@ -10497,13 +10497,13 @@ function vapidKey(base64) {
10497
10497
  const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
10498
10498
  return Uint8Array.from(raw, (c) => c.charCodeAt(0));
10499
10499
  }
10500
- var iconBtn = "_bQ _l";
10501
- var settingsDot = "_bR _bb";
10502
- var navToggle = "_bV _l";
10500
+ var iconBtn = "_bO _l";
10501
+ var settingsDot = "_bP _bb";
10502
+ var navToggle = "_bT _l";
10503
10503
  //#endregion
10504
10504
  //#region src/styles/session-pop.css.ts
10505
- var sessionPop = "_bN _9";
10506
- var sessionPopBtn = "_bO _I";
10505
+ var sessionPop = "_b5 _9";
10506
+ var sessionPopBtn = "_b6 _I";
10507
10507
  _template("X", (input) => {
10508
10508
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
10509
10509
  const $scope0_id = _scope_id();
@@ -10557,8 +10557,8 @@ function activeAgent(session) {
10557
10557
  const command = session.state?.command?.trim();
10558
10558
  return command && agentFromCommand(command) || session.agent;
10559
10559
  }
10560
- var heroTag = "_eQ _N _Q";
10561
- var rowState = "_e2 _N";
10560
+ var heroTag = "_fe _N _Q";
10561
+ var rowState = "_fq _N";
10562
10562
  var prChip$1 = "_ia _u _h_";
10563
10563
  var portChip = "_ib _u _h_";
10564
10564
  var prState = {
@@ -11182,11 +11182,11 @@ var workspace_switcher_default = _template("O", (input) => {
11182
11182
  const sessions = input.sessions || st?.sessions || [];
11183
11183
  const manySessions = sessions.length > 1;
11184
11184
  const heroMeta$1 = sessions.length === 0 ? "No sessions" : manySessions ? `${sessions.length} sessions` : "";
11185
- _html(`<div${_attr_class("_eM")}>`);
11185
+ _html(`<div${_attr_class("_fa")}>`);
11186
11186
  _if(() => {
11187
11187
  if (ws) {
11188
11188
  const $scope1_id = _scope_id();
11189
- _html(`<section${_attr_class("_eN")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_eO")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
11189
+ _html(`<section${_attr_class("_fb")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_fc")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
11190
11190
  _if(() => {
11191
11191
  if (sessions.length === 1) {
11192
11192
  const $scope8_id = _scope_id();
@@ -11198,7 +11198,7 @@ var workspace_switcher_default = _template("O", (input) => {
11198
11198
  icon_agent_default({
11199
11199
  agent: activeAgent(sessions[0]),
11200
11200
  size: 16,
11201
- class: "_eS"
11201
+ class: "_fg"
11202
11202
  });
11203
11203
  $si__input_workspace__OR__input_allStatus__OR__input_sessions && _subscribe($sessions___closures, writeScope($scope8_id, {
11204
11204
  _: _scope_with_id($scope1_id),
@@ -11207,14 +11207,14 @@ var workspace_switcher_default = _template("O", (input) => {
11207
11207
  return 0;
11208
11208
  }
11209
11209
  }, $scope1_id, "d", $sg__input_workspace__OR__input_allStatus__OR__input_sessions, $sg__input_workspace__OR__input_allStatus__OR__input_sessions, $sg__input_workspace__OR__input_allStatus__OR__input_sessions);
11210
- _html(`<span${_attr_class("_eP")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class(heroTag)}>open</span><span${_attr_class("_eR")}>${_text_resume($scope1_id, "i", heroMeta$1, $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope1_id, "b", $sg__input_workspace)}`);
11210
+ _html(`<span${_attr_class("_fd")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class(heroTag)}>open</span><span${_attr_class("_ff")}>${_text_resume($scope1_id, "i", heroMeta$1, $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope1_id, "b", $sg__input_workspace)}`);
11211
11211
  _if(() => {
11212
11212
  if (manySessions) {
11213
11213
  const $scope2_id = _scope_id();
11214
- _html(`<div${_attr_class("_eT")}>`);
11214
+ _html(`<div${_attr_class("_fh")}>`);
11215
11215
  _for_of(sessions, (s) => {
11216
11216
  const $scope3_id = _scope_id();
11217
- _html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_eV", { ["_eU"]: s.id === input.tab }])}><span${_attr_class(["_A", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope3_id, "b", $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}`);
11217
+ _html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_fj", { ["_fi"]: s.id === input.tab }])}><span${_attr_class(["_A", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope3_id, "b", $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}`);
11218
11218
  _set_serialize_reason({
11219
11219
  1: $sg__input_workspace__OR__input_allStatus__OR__input_sessions,
11220
11220
  2: $sg__input_workspace__OR__input_allStatus__OR__input_sessions
@@ -11224,7 +11224,7 @@ var workspace_switcher_default = _template("O", (input) => {
11224
11224
  agent: activeAgent(s),
11225
11225
  size: 14
11226
11226
  });
11227
- _html(`<span${_attr_class("_eW")}>${_text_resume($scope3_id, "e", s.title || activeAgent(s), $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 7))}`);
11227
+ _html(`<span${_attr_class("_fk")}>${_text_resume($scope3_id, "e", s.title || activeAgent(s), $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 7))}`);
11228
11228
  $si__input_workspace__OR__input_allStatus__OR__input_sessions__OR__input_tab && _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_tab && $input_tab__closures, writeScope($scope3_id, {
11229
11229
  h: $si__input_tab && s?.id,
11230
11230
  _: _scope_with_id($scope2_id),
@@ -11253,7 +11253,7 @@ var workspace_switcher_default = _template("O", (input) => {
11253
11253
  _if(() => {
11254
11254
  if (input.ids.length) {
11255
11255
  const $scope4_id = _scope_id();
11256
- _html(`<div${_attr_class("_eX")}>`);
11256
+ _html(`<div${_attr_class("_fl")}>`);
11257
11257
  _for_of(input.ids, (id) => {
11258
11258
  const $scope5_id = _scope_id();
11259
11259
  const w = input.byId.get(id);
@@ -11297,7 +11297,7 @@ var workspace_switcher_default = _template("O", (input) => {
11297
11297
  const rp = phaseOf(rs);
11298
11298
  const rowSessions = rs?.sessions || [];
11299
11299
  const many = rowSessions.length > 1;
11300
- _html(`<div${_attr_class("_eY")}><a${_attr("href", `/w/${id}`)}${_attr_class("_eZ")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope7_id, "c", $sg__input_allStatus__OR__input_ids)}`);
11300
+ _html(`<div${_attr_class("_fm")}><a${_attr("href", `/w/${id}`)}${_attr_class("_fn")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope7_id, "c", $sg__input_allStatus__OR__input_ids)}`);
11301
11301
  _if(() => {
11302
11302
  if (rowSessions.length === 1) {
11303
11303
  const $scope9_id = _scope_id();
@@ -11309,7 +11309,7 @@ var workspace_switcher_default = _template("O", (input) => {
11309
11309
  icon_agent_default({
11310
11310
  agent: activeAgent(rowSessions[0]),
11311
11311
  size: 16,
11312
- class: "_e1"
11312
+ class: "_fp"
11313
11313
  });
11314
11314
  $si__input_allStatus__OR__input_ids && writeScope($scope9_id, {
11315
11315
  _: _scope_with_id($scope7_id),
@@ -11318,7 +11318,7 @@ var workspace_switcher_default = _template("O", (input) => {
11318
11318
  return 0;
11319
11319
  }
11320
11320
  }, $scope7_id, "d", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids);
11321
- _html(`<span${_attr_class("_e0")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
11321
+ _html(`<span${_attr_class("_fo")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
11322
11322
  _if(() => {
11323
11323
  if (many) {
11324
11324
  const $scope10_id = _scope_id();
@@ -11329,7 +11329,7 @@ var workspace_switcher_default = _template("O", (input) => {
11329
11329
  }, $scope7_id, "g", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, 0, 1);
11330
11330
  icon_chevron_right_default({
11331
11331
  size: 14,
11332
- class: "_e3"
11332
+ class: "_fr"
11333
11333
  });
11334
11334
  _html(`</a>${_el_resume($scope7_id, "b", $sg__input_ids)}`);
11335
11335
  _set_serialize_reason($sg__input_ids);
@@ -11487,7 +11487,7 @@ var nav_usage_default = _template("r", (input) => {
11487
11487
  const plan = openSess ? usageFor$1(openSess.agent, usage) : null;
11488
11488
  const all = usage?.agents || [];
11489
11489
  const peak = Math.max(0, ...(plan?.windows || []).map((w) => w.used_percent));
11490
- const ringTone = _resume((pct) => pct >= 90 ? "_ex" : pct >= 70 ? "_ew" : pct >= 40 ? "_ev" : "_eu", "r0");
11490
+ const ringTone = _resume((pct) => pct >= 90 ? "_eK" : pct >= 70 ? "_eJ" : pct >= 40 ? "_eI" : "_eH", "r0");
11491
11491
  let card$2 = null;
11492
11492
  const showCard = _resume((el) => {
11493
11493
  const r = el.getBoundingClientRect();
@@ -11499,18 +11499,18 @@ var nav_usage_default = _template("r", (input) => {
11499
11499
  _if(() => {
11500
11500
  if (plan) {
11501
11501
  const $scope1_id = _scope_id();
11502
- _html(`<span${_attr_class("_eo")} tabindex=0>`);
11502
+ _html(`<span${_attr_class("_eB")} tabindex=0>`);
11503
11503
  _set_serialize_reason(1);
11504
11504
  const $childScope = _peek_scope_id();
11505
11505
  usage_bars_default({
11506
- class: "_eq",
11506
+ class: "_eD",
11507
11507
  agent: plan
11508
11508
  });
11509
- _html(`<svg${_attr_class(["_er", ringTone(peak)])} viewBox="0 0 16 16" width=16 height=16 aria-hidden=true><circle${_attr_class("_es")} cx=8 cy=8 r=6.5></circle><circle${_attr_class("_et")} cx=8 cy=8 r=6.5${_attr_style(`stroke-dasharray:${Math.max(2, Math.min(100, peak)) / 100 * 40.84} 40.84`)}></circle>${_el_resume($scope1_id, "e")}</svg>${_el_resume($scope1_id, "c")}</span>${_el_resume($scope1_id, "a")}`);
11509
+ _html(`<svg${_attr_class(["_eE", ringTone(peak)])} viewBox="0 0 16 16" width=16 height=16 aria-hidden=true><circle${_attr_class("_eF")} cx=8 cy=8 r=6.5></circle><circle${_attr_class("_eG")} cx=8 cy=8 r=6.5${_attr_style(`stroke-dasharray:${Math.max(2, Math.min(100, peak)) / 100 * 40.84} 40.84`)}></circle>${_el_resume($scope1_id, "e")}</svg>${_el_resume($scope1_id, "c")}</span>${_el_resume($scope1_id, "a")}`);
11510
11510
  _if(() => {
11511
11511
  if (card$2) {
11512
11512
  const $scope2_id = _scope_id();
11513
- _html(`<div${_attr_class(["_9", "_ep"])}${_attr_style(`left:${card$2.left}px;bottom:${card$2.bottom}px`)} role=tooltip>`);
11513
+ _html(`<div${_attr_class(["_9", "_eC"])}${_attr_style(`left:${card$2.left}px;bottom:${card$2.bottom}px`)} role=tooltip>`);
11514
11514
  _for_of(all, (a) => {
11515
11515
  const $scope3_id = _scope_id();
11516
11516
  _set_serialize_reason(6);
@@ -11607,14 +11607,14 @@ var side_nav_default = _template("E", (input) => {
11607
11607
  const backHref = ws ? `/w/${ws.id}` : "/new";
11608
11608
  const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
11609
11609
  const pageIds = orderedIds.filter((id) => id !== ws?.id);
11610
- _html(`<aside${_attr_class(["_bU", {
11611
- ["_bS"]: !navOpen,
11612
- ["_bT"]: isPage
11610
+ _html(`<aside${_attr_class(["_bS", {
11611
+ ["_bQ"]: !navOpen,
11612
+ ["_bR"]: isPage
11613
11613
  }])}${_attr("hidden", view === "diff")}>`);
11614
11614
  _if(() => {
11615
11615
  if (isPage) {
11616
11616
  const $scope1_id = _scope_id();
11617
- _html(`<div${_attr_class("_bX")}>`);
11617
+ _html(`<div${_attr_class("_bV")}>`);
11618
11618
  _set_serialize_reason({
11619
11619
  3: $sg__input_instanceName,
11620
11620
  6: $sg__input_instanceName
@@ -11623,7 +11623,7 @@ var side_nav_default = _template("E", (input) => {
11623
11623
  if (input.instanceName) $meta = attrTag({ content: _content_resume("E8", () => {
11624
11624
  _scope_reason();
11625
11625
  const $scope2_id = _scope_id();
11626
- _html(`<span${_attr_class("_bY")} title="This work server (Settings → Appearance)"><img${_attr_class("_b1")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}${_text_resume($scope2_id, "c", input.instanceName, $sg__input_instanceName)}</span>`);
11626
+ _html(`<span${_attr_class("_bW")} title="This work server (Settings → Appearance)"><img${_attr_class("_bZ")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}${_text_resume($scope2_id, "c", input.instanceName, $sg__input_instanceName)}</span>`);
11627
11627
  _subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
11628
11628
  _resume_branch($scope2_id);
11629
11629
  }, $scope1_id) });
@@ -11638,7 +11638,7 @@ var side_nav_default = _template("E", (input) => {
11638
11638
  _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
11639
11639
  iconBtnRow,
11640
11640
  iconBtn,
11641
- { ["_bP"]: view === "settings" }
11641
+ { ["_bN"]: view === "settings" }
11642
11642
  ])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11643
11643
  icon_settings_default({ size: 16 });
11644
11644
  _if(() => {
@@ -11662,7 +11662,7 @@ var side_nav_default = _template("E", (input) => {
11662
11662
  _if(() => {
11663
11663
  if (!isPage && input.instanceName) {
11664
11664
  const $scope4_id = _scope_id();
11665
- _html(`<div${_attr_class("_b0")} title="This work server (Settings → Appearance)"><img${_attr_class("_b1")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope4_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_b2")}>${_text_resume($scope4_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
11665
+ _html(`<div${_attr_class("_bY")} title="This work server (Settings → Appearance)"><img${_attr_class("_bZ")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope4_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_b0")}>${_text_resume($scope4_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
11666
11666
  writeScope($scope4_id, {});
11667
11667
  return 0;
11668
11668
  }
@@ -11730,7 +11730,7 @@ var side_nav_default = _template("E", (input) => {
11730
11730
  b: _serialize_if($scope0_reason, 21) && _existing_scope($childScope3)
11731
11731
  });
11732
11732
  }, (a) => a, $scope6_id, "a", $sg__input_agents, 1, $sg__input_workspace__OR__input_allWorkspaces__OR__input_agents, "</div>", 1);
11733
- _html(`<div${_attr_class("_b3")}>`);
11733
+ _html(`<div${_attr_class("_b1")}>`);
11734
11734
  _for_of(orderedIds, (wsId) => {
11735
11735
  const $scope8_id = _scope_id();
11736
11736
  _set_serialize_reason({
@@ -11807,7 +11807,7 @@ var side_nav_default = _template("E", (input) => {
11807
11807
  _if(() => {
11808
11808
  if (!navOpen) {
11809
11809
  const $scope9_id = _scope_id();
11810
- _html(`<div${_attr_class("_b4")}>`);
11810
+ _html(`<div${_attr_class("_b2")}>`);
11811
11811
  _for_of(orderedIds, (wsId, i) => {
11812
11812
  const $scope10_id = _scope_id();
11813
11813
  _set_serialize_reason({
@@ -11855,14 +11855,14 @@ var side_nav_default = _template("E", (input) => {
11855
11855
  return 0;
11856
11856
  }
11857
11857
  }, $scope0_id, "e", 1, 1, 1, 0, 1);
11858
- _html(`<div${_attr_class("_b5")}>`);
11858
+ _html(`<div${_attr_class("_b3")}>`);
11859
11859
  _if(() => {
11860
11860
  if (isPage) {
11861
11861
  const $scope12_id = _scope_id();
11862
11862
  _html(`<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([
11863
11863
  "_q",
11864
11864
  btnLg,
11865
- "_bZ"
11865
+ "_bX"
11866
11866
  ])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11867
11867
  icon_folder_plus_default({ size: 16 });
11868
11868
  _html(` New workspace</a>${_el_resume($scope12_id, "a")}`);
@@ -11894,9 +11894,9 @@ var side_nav_default = _template("E", (input) => {
11894
11894
  sessions: input.sessions,
11895
11895
  tab: view === "term" ? tab : null
11896
11896
  });
11897
- _html(`<div${_attr_class(["_z", "_b6"])}></div>`);
11897
+ _html(`<div${_attr_class(["_z", "_b4"])}></div>`);
11898
11898
  _if(() => {}, $scope11_id, "d", 1, 1, 1, 0, 1);
11899
- _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["_bP"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11899
+ _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" : ""}>`);
11900
11900
  icon_settings_default({});
11901
11901
  _if(() => {
11902
11902
  if (input.setupReady === false) {
@@ -11906,7 +11906,7 @@ var side_nav_default = _template("E", (input) => {
11906
11906
  return 0;
11907
11907
  }
11908
11908
  }, $scope11_id, "g", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
11909
- _html(`</a>${_el_resume($scope11_id, "e")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["_bP"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11909
+ _html(`</a>${_el_resume($scope11_id, "e")}<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" : ""}>`);
11910
11910
  icon_folder_plus_default({ size: 16 });
11911
11911
  _html(`</a>${_el_resume($scope11_id, "h")}`);
11912
11912
  _script($scope11_id, "E13");
@@ -12999,8 +12999,8 @@ function shortBranch(name, wsBranch = "", wsName = "") {
12999
12999
  }
13000
13000
  return shortHeadFallback(head);
13001
13001
  }
13002
- var treeToggle = "_ga _4 _l";
13003
- var pageTitle = "_gg _ec";
13002
+ var treeToggle = "_go _4 _l";
13003
+ var pageTitle = "_gu _ej";
13004
13004
  //#endregion
13005
13005
  //#region src/tags/icons/icon-comment.marko
13006
13006
  var icon_comment_default = _template("bb", (input) => {
@@ -13061,12 +13061,12 @@ var diff_send_default = _template("k", (input) => {
13061
13061
  }
13062
13062
  })();
13063
13063
  }, "k1", $scope0_id);
13064
- _html(`<div${_attr_class("_ir")} role=group${_attr("aria-label", label)}><span${_attr_class("_is")}${_attr("title", label)}>`);
13064
+ _html(`<div${_attr_class("_il")} role=group${_attr("aria-label", label)}><span${_attr_class("_im")}${_attr("title", label)}>`);
13065
13065
  icon_comment_default({
13066
13066
  size: 18,
13067
- class: "_it"
13067
+ class: "_in"
13068
13068
  });
13069
- _html(`<span${_attr_class("_iu")} aria-hidden=true>${_text_resume($scope0_id, "e", input.count > 99 ? "99+" : input.count, $sg__input_count)}</span></span>${_el_resume($scope0_id, "b", $sg__input_count)}<button type=button${_attr_class("_iv")} title="Copy comments as markdown" aria-label="Copy comments as markdown">`);
13069
+ _html(`<span${_attr_class("_io")} aria-hidden=true>${_text_resume($scope0_id, "e", input.count > 99 ? "99+" : input.count, $sg__input_count)}</span></span>${_el_resume($scope0_id, "b", $sg__input_count)}<button type=button${_attr_class("_ip")} title="Copy comments as markdown" aria-label="Copy comments as markdown">`);
13070
13070
  _if(() => {
13071
13071
  {
13072
13072
  const $scope6_id = _scope_id();
@@ -13078,11 +13078,11 @@ var diff_send_default = _template("k", (input) => {
13078
13078
  _if(() => {
13079
13079
  if (target) {
13080
13080
  const $scope1_id = _scope_id();
13081
- _html(`<button type=button${_attr_class(["_iv", "_iw"])}${_attr("disabled", sending)}${_attr("title", `Send comments to ${target.title || target.agent}`)}>`);
13081
+ _html(`<button type=button${_attr_class(["_ip", "_iq"])}${_attr("disabled", sending)}${_attr("title", `Send comments to ${target.title || target.agent}`)}>`);
13082
13082
  _if(() => {
13083
13083
  if (sessions.length > 1) {
13084
13084
  const $scope2_id = _scope_id();
13085
- _html(`<span${_attr_class(["_iz", "_iy"])}>${_text_resume($scope2_id, "b", sending ? "Sending…" : `Send to ${target.title || target.agent}`)}</span><span${_attr_class("_ix")}>${_text_resume($scope2_id, "d", sending ? "Sending…" : "Send")}</span>`);
13085
+ _html(`<span${_attr_class(["_it", "_is"])}>${_text_resume($scope2_id, "b", sending ? "Sending…" : `Send to ${target.title || target.agent}`)}</span><span${_attr_class("_ir")}>${_text_resume($scope2_id, "d", sending ? "Sending…" : "Send")}</span>`);
13086
13086
  _subscribe($target_agent__closures, _subscribe($target_title__closures, _subscribe($sending__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }))));
13087
13087
  return 0;
13088
13088
  } else {
@@ -13098,15 +13098,15 @@ var diff_send_default = _template("k", (input) => {
13098
13098
  _if(() => {
13099
13099
  if (sessions.length > 1) {
13100
13100
  const $scope4_id = _scope_id();
13101
- _html(`<span${_attr_class("_iA")}><button type=button${_attr_class([
13102
- "_iv",
13103
- "_iw",
13104
- "_iB"
13101
+ _html(`<span${_attr_class("_iu")}><button type=button${_attr_class([
13102
+ "_ip",
13103
+ "_iq",
13104
+ "_iv"
13105
13105
  ])} aria-label="Choose session to send to"${_attr("disabled", sending)}></button>${_el_resume($scope4_id, "b")}`);
13106
13106
  _attr_select_value($scope4_id, "c", target.id, _resume(function(v) {
13107
13107
  sendTarget = v;
13108
13108
  }, "k0", $scope4_id), () => {
13109
- _html(`<select${_attr_class("_iC")} aria-label="Send comments to session" tabindex=-1${_attr("disabled", sending)}>`);
13109
+ _html(`<select${_attr_class("_iw")} aria-label="Send comments to session" tabindex=-1${_attr("disabled", sending)}>`);
13110
13110
  _for_of(sessions, (s) => {
13111
13111
  const $scope7_id = _scope_id();
13112
13112
  _html(`<option${_attr_option_value(s.id)}>${_text_resume($scope7_id, "b", s.title || s.agent, $sg__input_sessions)}</option>${_el_resume($scope7_id, "a", $sg__input_sessions)}`);
@@ -13183,8 +13183,8 @@ var icon_branch_default = _template("Y", (input) => {
13183
13183
  });
13184
13184
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
13185
13185
  });
13186
- var findInput = "_eB _n";
13187
- var findIconBtn = "_eE _l";
13186
+ var findInput = "_eq _n";
13187
+ var findIconBtn = "_et _l";
13188
13188
  //#endregion
13189
13189
  //#region src/tags/icons/icon-arrow-down.marko
13190
13190
  var icon_arrow_down_default = _template("R", (input) => {
@@ -13276,18 +13276,18 @@ var diff_find_default = _template("j", (input) => {
13276
13276
  }, 0);
13277
13277
  }, "j0", $scope0_id);
13278
13278
  _html(`<div${_attr_class([
13279
- "_ez",
13280
- input.keybar && "_eI",
13281
- !open && "_ey"
13282
- ])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("_eA")} aria-hidden=true>`);
13279
+ "_eo",
13280
+ input.keybar && "_ex",
13281
+ !open && "_en"
13282
+ ])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("_ep")} aria-hidden=true>`);
13283
13283
  icon_search_default({ size: 13 });
13284
13284
  _html(`</span><input${_attr_input_value($scope0_id, "d", query || "", _resume(function(v) {
13285
13285
  type(v);
13286
- }, "j1", $scope0_id))}${_attr_class([findInput, input.keybar && "_eK"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "d")}<span${_attr_class("_eD")}>${_text_resume($scope0_id, "f", open && (query || "").trim() ? hits.length ? `${at + 1}/${hits.length}` : "0/0" : "")}</span><button type=button${_attr_class([findIconBtn, input.keybar && "_eL"])} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13286
+ }, "j1", $scope0_id))}${_attr_class([findInput, input.keybar && "_ez"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "d")}<span${_attr_class("_es")}>${_text_resume($scope0_id, "f", open && (query || "").trim() ? hits.length ? `${at + 1}/${hits.length}` : "0/0" : "")}</span><button type=button${_attr_class([findIconBtn, input.keybar && "_eA"])} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13287
13287
  icon_arrow_up_default({ size: 14 });
13288
- _html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class([findIconBtn, input.keybar && "_eL"])} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13288
+ _html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class([findIconBtn, input.keybar && "_eA"])} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13289
13289
  icon_arrow_down_default({ size: 14 });
13290
- _html(`</button>${_el_resume($scope0_id, "i")}<button type=button${_attr_class([findIconBtn, input.keybar && "_eL"])} title="Close find"${_attr("hidden", input.pinned)} tabindex=${open ? "0" : "-1"}>`);
13290
+ _html(`</button>${_el_resume($scope0_id, "i")}<button type=button${_attr_class([findIconBtn, input.keybar && "_eA"])} title="Close find"${_attr("hidden", input.pinned)} tabindex=${open ? "0" : "-1"}>`);
13291
13291
  icon_xmark_default({ size: 14 });
13292
13292
  _html(`</button>${_el_resume($scope0_id, "k")}</div>${_el_resume($scope0_id, "a")}`);
13293
13293
  const $return = focusInput;
@@ -13759,7 +13759,7 @@ var review_tree_default = _template("z", (input) => {
13759
13759
  dragging$1 = false;
13760
13760
  if (width != null) setDiffTreeWidth(width);
13761
13761
  }, "z2", $scope0_id);
13762
- _html(`<div${_attr_class(["_iT", { ["_iS"]: input.open === false }])}${width != null ? _attr_style(`--tree-w:${width}px`) : ""}><div${_attr_class(["_i6", { ["_i5"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class("_iU")}>`);
13762
+ _html(`<div${_attr_class(["_iB", { ["_iA"]: input.open === false }])}${width != null ? _attr_style(`--tree-w:${width}px`) : ""}><div${_attr_class(["_iO", { ["_iN"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class("_iC")}>`);
13763
13763
  _set_serialize_reason(2);
13764
13764
  const $childScope = _peek_scope_id();
13765
13765
  file_filter_default({
@@ -13768,22 +13768,22 @@ var review_tree_default = _template("z", (input) => {
13768
13768
  filter$1 = _new_filter;
13769
13769
  }, "z3", $scope0_id)
13770
13770
  });
13771
- _html(`</div><div${_attr_class("_iV")}>`);
13771
+ _html(`</div><div${_attr_class("_iD")}>`);
13772
13772
  _for_of(input.sections, (section$2) => {
13773
13773
  const $scope1_id = _scope_id();
13774
- _html(`<div${_attr_class(["_iX", { ["_iW"]: input.sections.length === 1 }])}${_attr("data-section", section$2.id)}>`);
13774
+ _html(`<div${_attr_class(["_iF", { ["_iE"]: input.sections.length === 1 }])}${_attr("data-section", section$2.id)}>`);
13775
13775
  _if(() => {
13776
13776
  if (input.sections.length > 1) {
13777
13777
  const $scope2_id = _scope_id();
13778
- _html(`<button type=button${_attr_class("_iY")}${_attr("title", section$2.label)} aria-expanded=${closed$4.has(section$2.id) ? "false" : "true"}><span${_attr_class(["_iZ", { ["_i0"]: !closed$4.has(section$2.id) }])} aria-hidden=true>`);
13778
+ _html(`<button type=button${_attr_class("_iG")}${_attr("title", section$2.label)} aria-expanded=${closed$4.has(section$2.id) ? "false" : "true"}><span${_attr_class(["_iH", { ["_iI"]: !closed$4.has(section$2.id) }])} aria-hidden=true>`);
13779
13779
  icon_chevron_right_default({ size: 12 });
13780
- _html(`</span>${_el_resume($scope2_id, "b")}<span${_attr_class("_i1")}>${_text_resume($scope2_id, "e", section$2.label, $sg__input_sections)}</span><span${_attr_class("_i2")}>${_text_resume($scope2_id, "g", section$2.files.length, $sg__input_sections)}</span></button>${_el_resume($scope2_id, "a")}`);
13780
+ _html(`</span>${_el_resume($scope2_id, "b")}<span${_attr_class("_iJ")}>${_text_resume($scope2_id, "e", section$2.label, $sg__input_sections)}</span><span${_attr_class("_iK")}>${_text_resume($scope2_id, "g", section$2.files.length, $sg__input_sections)}</span></button>${_el_resume($scope2_id, "a")}`);
13781
13781
  _script($scope2_id, "z4");
13782
13782
  _subscribe($closed__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }));
13783
13783
  return 0;
13784
13784
  }
13785
13785
  }, $scope1_id, "b", $sg__input_sections, $sg__input_sections_length, $sg__input_sections_length, 0, 1);
13786
- _html(`<div${_attr_class(["_i4", { ["_i3"]: input.sections.length === 1 }])}${_attr("data-tree", section$2.id)}${_attr("hidden", closed$4.has(section$2.id))}></div>${_el_resume($scope1_id, "c")}</div>${_el_resume($scope1_id, "a", $sg__input_sections)}`);
13786
+ _html(`<div${_attr_class(["_iM", { ["_iL"]: input.sections.length === 1 }])}${_attr("data-tree", section$2.id)}${_attr("hidden", closed$4.has(section$2.id))}></div>${_el_resume($scope1_id, "c")}</div>${_el_resume($scope1_id, "a", $sg__input_sections)}`);
13787
13787
  writeScope($scope1_id, {
13788
13788
  f: section$2?.id,
13789
13789
  h: $si__input_sections_length && section$2?.label,
@@ -14379,11 +14379,11 @@ var review_view_default = _template("A", (input) => {
14379
14379
  else viewBox.scrollToLine(hit.key, hit.line, hit.side);
14380
14380
  }, 0);
14381
14381
  };
14382
- _html(`<div${_attr_class("_f8")}><div${_attr_class("_gc")}><div${_attr_class("_gL")}><div${_attr_class("_gd")}><div${_attr_class("_gk")}>`);
14382
+ _html(`<div${_attr_class("_gl")}><div${_attr_class("_gq")}><div${_attr_class("_gZ")}><div${_attr_class("_gr")}><div${_attr_class("_gy")}>`);
14383
14383
  _if(() => {
14384
14384
  if (input.onExit) {
14385
14385
  const $scope1_id = _scope_id();
14386
- _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_ge"])} title="Back to terminal (⌘/Ctrl+Shift+D)">`);
14386
+ _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_gs"])} title="Back to terminal (⌘/Ctrl+Shift+D)">`);
14387
14387
  icon_back_default({ size: 14 });
14388
14388
  _html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 2))}`);
14389
14389
  _serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 2) && _scope_with_id($scope0_id) });
@@ -14394,7 +14394,7 @@ var review_view_default = _template("A", (input) => {
14394
14394
  _if(() => {
14395
14395
  if (comments.length) {
14396
14396
  const $scope2_id = _scope_id();
14397
- _html(`<span${_attr_class("_gf")}>`);
14397
+ _html(`<span${_attr_class("_gt")}>`);
14398
14398
  _set_serialize_reason({
14399
14399
  0: _serialize_guard($scope0_reason, 10),
14400
14400
  1: 1
@@ -14411,14 +14411,14 @@ var review_view_default = _template("A", (input) => {
14411
14411
  return 0;
14412
14412
  }
14413
14413
  }, $scope0_id, "h", 1, 1, 1, 0, 1);
14414
- _html(`</div><div${_attr_class(["_gb", "_gK"])}>`);
14414
+ _html(`</div><div${_attr_class(["_gp", "_gY"])}>`);
14415
14415
  _if(() => {
14416
14416
  if (hasFiles) {
14417
14417
  const $scope9_id = _scope_id();
14418
14418
  _html(`<button${_attr_class([
14419
14419
  treeToggle,
14420
- "_f_",
14421
- { ["_f9"]: treeOpen }
14420
+ "_gn",
14421
+ { ["_gm"]: treeOpen }
14422
14422
  ])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
14423
14423
  icon_sidebar_default({ size: 14 });
14424
14424
  _html(`</button>${_el_resume($scope9_id, "a")}`);
@@ -14427,7 +14427,7 @@ var review_view_default = _template("A", (input) => {
14427
14427
  return 0;
14428
14428
  }
14429
14429
  }, $scope0_id, "j", 1, 1, 1, 0, 1);
14430
- _html(`<button${_attr_class([iconBtnRow, "_f_"])} title="Refresh diff"${_attr("disabled", loading)}>`);
14430
+ _html(`<button${_attr_class([iconBtnRow, "_gn"])} title="Refresh diff"${_attr("disabled", loading)}>`);
14431
14431
  _set_serialize_reason(1);
14432
14432
  const $childScope2 = _peek_scope_id();
14433
14433
  icon_refresh_default({
@@ -14440,30 +14440,30 @@ var review_view_default = _template("A", (input) => {
14440
14440
  const $scope10_id = _scope_id();
14441
14441
  _html(`<button${_attr_class([
14442
14442
  iconBtnRow,
14443
- "_f_",
14444
- "_gw"
14445
- ])}${_attr("title", `Jump to file (${shownFiles.length})`)}${_attr("aria-label", `Jump to file (${shownFiles.length} files)`)}><span${_attr_class("_gx")} aria-hidden=true>`);
14443
+ "_gn",
14444
+ "_gK"
14445
+ ])}${_attr("title", `Jump to file (${shownFiles.length})`)}${_attr("aria-label", `Jump to file (${shownFiles.length} files)`)}><span${_attr_class("_gL")} aria-hidden=true>`);
14446
14446
  icon_folder_default({
14447
14447
  size: 20,
14448
- class: "_gy"
14448
+ class: "_gM"
14449
14449
  });
14450
- _html(`<span${_attr_class("_gz")}>${_text_resume($scope10_id, "e", shownFiles.length > 99 ? "99+" : shownFiles.length)}</span></span></button>${_el_resume($scope10_id, "a")}`);
14450
+ _html(`<span${_attr_class("_gN")}>${_text_resume($scope10_id, "e", shownFiles.length > 99 ? "99+" : shownFiles.length)}</span></span></button>${_el_resume($scope10_id, "a")}`);
14451
14451
  _script($scope10_id, "A41");
14452
14452
  writeScope($scope10_id, {});
14453
14453
  return 0;
14454
14454
  }
14455
14455
  }, $scope0_id, "m", 1, 1, 1, 0, 1);
14456
- _html(`<span${_attr_class("_gl")}><button${_attr_class([
14456
+ _html(`<span${_attr_class("_gz")}><button${_attr_class([
14457
14457
  iconBtnRow,
14458
- "_f_",
14459
- { ["_f9"]: !!rev }
14458
+ "_gn",
14459
+ { ["_gm"]: !!rev }
14460
14460
  ])}${_attr("title", `${compareLabel}\n${compareTitle}`)} aria-label=Compare${_attr("disabled", loading)}>`);
14461
14461
  icon_branch_default({ size: 14 });
14462
14462
  _html(`</button>${_el_resume($scope0_id, "o")}`);
14463
14463
  _attr_select_value($scope0_id, "q", rev ? `rev:${rev}` : scope, _resume(function(v) {
14464
14464
  pickCompare(v);
14465
14465
  }, "A0", $scope0_id), () => {
14466
- _html(`<select${_attr_class("_gm")} aria-label=Compare tabindex=-1${_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>`);
14466
+ _html(`<select${_attr_class("_gA")} aria-label=Compare tabindex=-1${_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>`);
14467
14467
  _if(() => {
14468
14468
  if (commitOptions.length) {
14469
14469
  const $scope12_id = _scope_id();
@@ -14479,7 +14479,7 @@ var review_view_default = _template("A", (input) => {
14479
14479
  }, $scope0_id, "r", 1, 1, 1, 0, 1);
14480
14480
  _html("</select>");
14481
14481
  });
14482
- _html(`${_el_resume($scope0_id, "q")}</span> <div${_attr_class(["_gj", { ["_gi"]: !findOpen }])}>`);
14482
+ _html(`${_el_resume($scope0_id, "q")}</span> <div${_attr_class(["_gx", { ["_gw"]: !findOpen }])}>`);
14483
14483
  _set_serialize_reason(2);
14484
14484
  const $childScope3 = _peek_scope_id();
14485
14485
  let findFocus = diff_find_default({
@@ -14502,8 +14502,8 @@ var review_view_default = _template("A", (input) => {
14502
14502
  const $scope11_id = _scope_id();
14503
14503
  _html(`<button${_attr_class([
14504
14504
  iconBtnRow,
14505
- "_gh",
14506
- "_f_"
14505
+ "_gv",
14506
+ "_gn"
14507
14507
  ])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
14508
14508
  icon_search_default({ size: 14 });
14509
14509
  _html(`</button>${_el_resume($scope11_id, "a")}`);
@@ -14516,7 +14516,7 @@ var review_view_default = _template("A", (input) => {
14516
14516
  _if(() => {
14517
14517
  if (!repos && loading) {
14518
14518
  const $scope14_id = _scope_id();
14519
- _html(`<div${_attr_class("_gt")} aria-hidden=true><div${_attr_class(["_gp", "_gu"])}></div><div${_attr_class(["_gp", "_gv"])}></div></div>`);
14519
+ _html(`<div${_attr_class("_gH")} aria-hidden=true><div${_attr_class(["_gD", "_gI"])}></div><div${_attr_class(["_gD", "_gJ"])}></div></div>`);
14520
14520
  writeScope($scope14_id, {});
14521
14521
  return 0;
14522
14522
  }
@@ -14589,7 +14589,7 @@ var review_view_default = _template("A", (input) => {
14589
14589
  onReload: reload,
14590
14590
  loading
14591
14591
  });
14592
- _html(`</div><div${_attr_class("_gA")}>`);
14592
+ _html(`</div><div${_attr_class("_gO")}>`);
14593
14593
  _if(() => {
14594
14594
  if (error) {
14595
14595
  const $scope3_id = _scope_id();
@@ -14634,10 +14634,10 @@ var review_view_default = _template("A", (input) => {
14634
14634
  _if(() => {
14635
14635
  if (!repos && loading) {
14636
14636
  const $scope15_id = _scope_id();
14637
- _html(`<div${_attr_class("_go")} aria-hidden=true>`);
14637
+ _html(`<div${_attr_class("_gC")} aria-hidden=true>`);
14638
14638
  forTo(2, 0, 1, () => {
14639
14639
  _scope_id();
14640
- _html(`<div${_attr_class("_gq")}><div${_attr_class(["_gp", "_gr"])}></div><div${_attr_class(["_gp", "_gs"])}></div></div>`);
14640
+ _html(`<div${_attr_class("_gE")}><div${_attr_class(["_gD", "_gF"])}></div><div${_attr_class(["_gD", "_gG"])}></div></div>`);
14641
14641
  });
14642
14642
  _html("</div>");
14643
14643
  writeScope($scope15_id, {});
@@ -14657,7 +14657,7 @@ var review_view_default = _template("A", (input) => {
14657
14657
  return 1;
14658
14658
  }
14659
14659
  }, $scope0_id, "a2", 1, 1, 1, 0, 1);
14660
- _html(`</div></div><div${_attr_class("_gB")} data-diff-main></div>${_el_resume($scope0_id, "a3")}</div>`);
14660
+ _html(`</div></div><div${_attr_class("_gP")} data-diff-main></div>${_el_resume($scope0_id, "a3")}</div>`);
14661
14661
  _set_serialize_reason(26);
14662
14662
  const $childScope6 = _peek_scope_id();
14663
14663
  review_tree_default({
@@ -14937,10 +14937,10 @@ function parseInvite(text) {
14937
14937
  }
14938
14938
  //#endregion
14939
14939
  //#region src/tags/manage-workspace.css.ts
14940
- var procCmd = "_gM _cV";
14941
- var skillRow = "_gO _cT";
14942
- var skillName = "_gQ _gM _cV";
14943
- var skillDesc = "_gT _cW";
14940
+ var procCmd = "_f8 _c2";
14941
+ var skillRow = "_f_ _c0";
14942
+ var skillName = "_gb _f8 _c2";
14943
+ var skillDesc = "_ge _c3";
14944
14944
  //#endregion
14945
14945
  //#region src/tags/icons/icon-archive.marko
14946
14946
  var icon_archive_default = _template("Q", (input) => {
@@ -14976,9 +14976,9 @@ var icon_trash_default = _template("wb", (input) => {
14976
14976
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
14977
14977
  });
14978
14978
  var resultRow = "_hV _I";
14979
- var resultBranch = "_hW _c0 _X _W _3 _l";
14980
- var urlAction = "_hX _c0 _X _W _c1";
14981
- var addedRow = "_h8 _cT";
14979
+ var resultBranch = "_hW _c7 _X _W _3 _l";
14980
+ var urlAction = "_hX _c7 _X _W _c8";
14981
+ var addedRow = "_h8 _c0";
14982
14982
  //#endregion
14983
14983
  //#region src/tags/branch-pick.marko
14984
14984
  var branch_pick_default = _template("f", (input) => {
@@ -15098,10 +15098,10 @@ var repo_picker_default = _template("w", (input$2) => {
15098
15098
  }, $scope0_id) };
15099
15099
  const addedList = sheet ? input$2.added || [] : [];
15100
15100
  const hasBody = !!(pasted || results.length || filter && (!catalog || !pasted) || ssoPending.length || sheet && !!input$2.added);
15101
- _html(`<div${_attr_class(["_cs", {
15102
- ["_ct"]: !input$2.open,
15103
- ["_cu"]: input$2.pinned
15104
- }])}><label${_attr_class(["_0", "_cv"])}>`);
15101
+ _html(`<div${_attr_class(["_cz", {
15102
+ ["_cA"]: !input$2.open,
15103
+ ["_cB"]: input$2.pinned
15104
+ }])}><label${_attr_class(["_0", "_cC"])}>`);
15105
15105
  icon_search_default({
15106
15106
  size: 14,
15107
15107
  class: "_1"
@@ -15113,8 +15113,8 @@ var repo_picker_default = _template("w", (input$2) => {
15113
15113
  }, "w0", $scope0_id))}${_attr_class([
15114
15114
  "_Y",
15115
15115
  "_2",
15116
- "_cw"
15117
- ])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input$2.disabled)}>${_el_resume($scope0_id, "d")}</label><button${_attr_class([iconBtnRow, "_cy"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
15116
+ "_cD"
15117
+ ])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input$2.disabled)}>${_el_resume($scope0_id, "d")}</label><button${_attr_class([iconBtnRow, "_cF"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
15118
15118
  icon_xmark_default({ size: 14 });
15119
15119
  _html(`</button>${_el_resume($scope0_id, "e")}<div${_attr_class(pop$1)}${_attr("hidden", !hasBody || !input$2.open && !input$2.pinned)}>`);
15120
15120
  _if(() => {
@@ -15139,7 +15139,7 @@ var repo_picker_default = _template("w", (input$2) => {
15139
15139
  _if(() => {
15140
15140
  if (pastedForkable) {
15141
15141
  const $scope10_id = _scope_id();
15142
- _html(`<button${_attr_class([urlAction, { ["_cZ"]: pasteWillFork }])}${pasteWillFork ? " title=\"Will fork to your account; click to clone as-is instead\"" : _attr("title", `Fork ${pasted} to your account and clone the fork`)} aria-pressed=${pasteWillFork ? "true" : "false"}>`);
15142
+ _html(`<button${_attr_class([urlAction, { ["_c6"]: 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"}>`);
15143
15143
  _if(() => {
15144
15144
  if (pasteWillFork) {
15145
15145
  const $scope13_id = _scope_id();
@@ -15159,7 +15159,7 @@ var repo_picker_default = _template("w", (input$2) => {
15159
15159
  return 0;
15160
15160
  }
15161
15161
  }, $scope1_id, "g", 1, 1, 1, 0, 1);
15162
- _html(`<button${_attr_class([resultBranch, { ["_cZ"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
15162
+ _html(`<button${_attr_class([resultBranch, { ["_c6"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
15163
15163
  icon_branch_default({ size: 12 });
15164
15164
  _html(`</button>${_el_resume($scope1_id, "h")}</div>`);
15165
15165
  _if(() => {
@@ -15202,7 +15202,7 @@ var repo_picker_default = _template("w", (input$2) => {
15202
15202
  size: 12,
15203
15203
  class: "_h0"
15204
15204
  });
15205
- _html(`<span${_attr_class("_h1")}>${_text_resume($scope4_id, "e", repoLabel$1(repo.nameWithOwner))}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_cZ"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
15205
+ _html(`<span${_attr_class("_h1")}>${_text_resume($scope4_id, "e", repoLabel$1(repo.nameWithOwner))}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_c6"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
15206
15206
  icon_branch_default({ size: 12 });
15207
15207
  _html(`</button>${_el_resume($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
15208
15208
  _if(() => {
@@ -15248,7 +15248,7 @@ var repo_picker_default = _template("w", (input$2) => {
15248
15248
  _html(`<div${_attr_class("_h6")}><p${_attr_class("_h7")}>Repos <span${_attr_class(sectionCount$1)}>${_text_resume($scope6_id, "d", addedList.length, $sg__input_added)}</span></p><ul${_attr_class(list$2)}>`);
15249
15249
  _for_of(addedList, (repo) => {
15250
15250
  const $scope15_id = _scope_id();
15251
- _html(`<li${_attr_class([addedRow, { ["_cY"]: repo.pending }])}>`);
15251
+ _html(`<li${_attr_class([addedRow, { ["_c5"]: repo.pending }])}>`);
15252
15252
  _if(() => {
15253
15253
  if (repo.pending) {
15254
15254
  const $scope17_id = _scope_id();
@@ -15282,7 +15282,7 @@ var repo_picker_default = _template("w", (input$2) => {
15282
15282
  _if(() => {
15283
15283
  if (!addedList.length) {
15284
15284
  const $scope7_id = _scope_id();
15285
- _html(`<li${_attr_class([addedRow, "_cY"])}>`);
15285
+ _html(`<li${_attr_class([addedRow, "_c5"])}>`);
15286
15286
  _if(() => {
15287
15287
  if (catalog) {
15288
15288
  const $scope19_id = _scope_id();
@@ -15520,7 +15520,7 @@ var manage_workspace_default = _template("p", (input) => {
15520
15520
  setTimeout(() => loadProcs(void 0), 500);
15521
15521
  }, "p11", $scope0_id);
15522
15522
  const titleId = _id();
15523
- _html(`<div${_attr_class("_d8")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_d9")}><div${_attr_class("_d_")}>`);
15523
+ _html(`<div${_attr_class("_ee")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_ef")}><div${_attr_class("_eg")}>`);
15524
15524
  _set_serialize_reason(30);
15525
15525
  const $childScope2 = _peek_scope_id();
15526
15526
  page_head_default({
@@ -15628,7 +15628,7 @@ var manage_workspace_default = _template("p", (input) => {
15628
15628
  _resume_branch($scope6_id);
15629
15629
  }, $scope0_id) })
15630
15630
  });
15631
- _html(`<div${_attr_class("_ea")}><section${_attr_class("_cd")}><div${_attr_class("_ce")}><h2${_attr_class("_cr")}>Details</h2></div><div${_attr_class(list$2)}><div${_attr_class(flatCardRow)}><span${_attr_class("_gX")}>Name</span><span${_attr_class(["_gY", "_gZ"])}>${_text_resume($scope0_id, "m", ws.name)}</span>`);
15631
+ _html(`<div${_attr_class("_eh")}><section${_attr_class("_cd")}><div${_attr_class("_ce")}><h2${_attr_class("_cr")}>Details</h2></div><div${_attr_class(list$2)}><div${_attr_class(flatCardRow)}><span${_attr_class("_gi")}>Name</span><span${_attr_class(["_gj", "_gk"])}>${_text_resume($scope0_id, "m", ws.name)}</span>`);
15632
15632
  _if(() => {
15633
15633
  if (ws.status !== "active") {
15634
15634
  const $scope23_id = _scope_id();
@@ -15637,8 +15637,8 @@ var manage_workspace_default = _template("p", (input) => {
15637
15637
  return 0;
15638
15638
  }
15639
15639
  }, $scope0_id, "n", 1, 1, 1, 0, 1);
15640
- _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gX")}>Path</span><span${_attr_class([
15641
- "_gY",
15640
+ _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gi")}>Path</span><span${_attr_class([
15641
+ "_gj",
15642
15642
  "_y",
15643
15643
  "_ba"
15644
15644
  ])}${_attr("title", ws.display_path || ws.path)}><bdi>${_text_resume($scope0_id, "r", ws.display_path || ws.path)}</bdi></span>${_el_resume($scope0_id, "q")}<button type=button${_attr_class(iconBtnXs)} title=${copiedFact === "path" ? "Copied" : "\"Copy path\""} aria-label="Copy path">`);
@@ -15655,7 +15655,7 @@ var manage_workspace_default = _template("p", (input) => {
15655
15655
  return 1;
15656
15656
  }
15657
15657
  }, $scope0_id, "s", 1, 1, 1, "</button>", 1);
15658
- _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gX")}>Branch</span><span${_attr_class(["_gY", "_y"])}${_attr("title", ws.branch)}>${_text_resume($scope0_id, "w", ws.branch)}</span>${_el_resume($scope0_id, "v")}<button type=button${_attr_class(iconBtnXs)} title=${copiedFact === "branch" ? "Copied" : "\"Copy branch\""} aria-label="Copy branch">`);
15658
+ _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gi")}>Branch</span><span${_attr_class(["_gj", "_y"])}${_attr("title", ws.branch)}>${_text_resume($scope0_id, "w", ws.branch)}</span>${_el_resume($scope0_id, "v")}<button type=button${_attr_class(iconBtnXs)} title=${copiedFact === "branch" ? "Copied" : "\"Copy branch\""} aria-label="Copy branch">`);
15659
15659
  _if(() => {
15660
15660
  if (copiedFact === "branch") {
15661
15661
  const $scope26_id = _scope_id();
@@ -15698,7 +15698,7 @@ var manage_workspace_default = _template("p", (input) => {
15698
15698
  return 0;
15699
15699
  }
15700
15700
  }, $scope0_id, "z", 1, 1, 1, 0, 1);
15701
- _html(`<section${_attr_class("_cd")}><div${_attr_class("_ce")}><h2${_attr_class("_cr")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "a4", ws.repos.length)}</span><div${_attr_class("_z")}></div><button${_attr_class([iconBtnRow, "_gW"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
15701
+ _html(`<section${_attr_class("_cd")}><div${_attr_class("_ce")}><h2${_attr_class("_cr")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "a4", ws.repos.length)}</span><div${_attr_class("_z")}></div><button${_attr_class([iconBtnRow, "_gh"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
15702
15702
  icon_plus_default({ size: 16 });
15703
15703
  _html(`</button>${_el_resume($scope0_id, "a6")}`);
15704
15704
  _set_serialize_reason(34);
@@ -15735,10 +15735,10 @@ var manage_workspace_default = _template("p", (input) => {
15735
15735
  size: 14,
15736
15736
  class: catalogRefreshing && "_F"
15737
15737
  });
15738
- _html(`</button>${_el_resume($scope0_id, "aa")}</div><ul${_attr_class([list$2, "_cS"])}>`);
15738
+ _html(`</button>${_el_resume($scope0_id, "aa")}</div><ul${_attr_class([list$2, "_cZ"])}>`);
15739
15739
  _for_of(ws.repos, (row) => {
15740
15740
  const $scope1_id = _scope_id();
15741
- _html(`<li${_attr_class("_cT")}><span${_attr_class(["_y", procCmd])}>${_text_resume($scope1_id, "c", row.worktree)}/</span><span${_attr_class("_cW")}><a${_attr_class("_K")}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_text_resume($scope1_id, "f", repoLabel$1(row.full_name))}</a>${_el_resume($scope1_id, "e")}`);
15741
+ _html(`<li${_attr_class("_c0")}><span${_attr_class(["_y", procCmd])}>${_text_resume($scope1_id, "c", row.worktree)}/</span><span${_attr_class("_c3")}><a${_attr_class("_K")}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_text_resume($scope1_id, "f", repoLabel$1(row.full_name))}</a>${_el_resume($scope1_id, "e")}`);
15742
15742
  _if(() => {
15743
15743
  if (row.base_branch !== row.default_branch) {
15744
15744
  const $scope28_id = _scope_id();
@@ -15749,7 +15749,7 @@ var manage_workspace_default = _template("p", (input) => {
15749
15749
  return 0;
15750
15750
  }
15751
15751
  }, $scope1_id, "g", 1, 1, 1, 0, 1);
15752
- _html(`</span><span${_attr_class("_cX")}>`);
15752
+ _html(`</span><span${_attr_class("_c4")}>`);
15753
15753
  _if(() => {
15754
15754
  if (busy.has(row.full_name)) {
15755
15755
  const $scope29_id = _scope_id();
@@ -15792,8 +15792,8 @@ var manage_workspace_default = _template("p", (input) => {
15792
15792
  _for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
15793
15793
  const $scope31_id = _scope_id();
15794
15794
  _html(`<li${_attr_class([
15795
- "_cT",
15796
- "_cU",
15795
+ "_c0",
15796
+ "_c1",
15797
15797
  "_ch"
15798
15798
  ])}><span${_attr_class("_G")}></span><span${_attr_class("_cm")}>Adding ${_text_resume($scope31_id, "d", name, 2)}…</span></li>`);
15799
15799
  writeScope($scope31_id, {});
@@ -15801,7 +15801,7 @@ var manage_workspace_default = _template("p", (input) => {
15801
15801
  _if(() => {
15802
15802
  if (!ws.repos.length && !busy.size) {
15803
15803
  const $scope32_id = _scope_id();
15804
- _html(`<li${_attr_class(["_cT", "_cU"])}><span${_attr_class("_cm")}>No repos yet. Add one to start.</span></li>`);
15804
+ _html(`<li${_attr_class(["_c0", "_c1"])}><span${_attr_class("_cm")}>No repos yet. Add one to start.</span></li>`);
15805
15805
  writeScope($scope32_id, {});
15806
15806
  return 0;
15807
15807
  }
@@ -15814,17 +15814,17 @@ var manage_workspace_default = _template("p", (input) => {
15814
15814
  _html(`<section${_attr_class("_cd")}><div${_attr_class("_ce")}><h2${_attr_class("_cr")}>Running</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope15_id, "e", running.length)}</span></div><ul${_attr_class(list$2)}>`);
15815
15815
  _for_of(running, (p) => {
15816
15816
  const $scope16_id = _scope_id();
15817
- _html(`<li${_attr_class("_cT")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", procCmd])}>${_text_resume($scope16_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_cW"])}>${_text_resume($scope16_id, "e", p.args)}</span><span${_attr_class("_cX")}>`);
15817
+ _html(`<li${_attr_class("_c0")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", procCmd])}>${_text_resume($scope16_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_c3"])}>${_text_resume($scope16_id, "e", p.args)}</span><span${_attr_class("_c4")}>`);
15818
15818
  _for_of(p.ports, (port) => {
15819
15819
  const $scope33_id = _scope_id();
15820
15820
  _html(`<button${_attr_class(["_u", "_K"])}${_attr("title", `Open port ${port}`)}>:${_text_resume($scope33_id, "b", port, 2)}</button>${_el_resume($scope33_id, "a")}`);
15821
15821
  _script($scope33_id, "p28");
15822
15822
  writeScope($scope33_id, { d: port });
15823
15823
  }, (x) => String(x), $scope16_id, "g", 1, 1, 1, 0, 1);
15824
- _html(`<span${_attr_class(["_y", "_gN"])}>${_text_resume($scope16_id, "i", p.pid)}</span><button${_attr_class([
15824
+ _html(`<span${_attr_class(["_y", "_f9"])}>${_text_resume($scope16_id, "i", p.pid)}</span><button${_attr_class([
15825
15825
  "_cn",
15826
15826
  "_7",
15827
- "_gV"
15827
+ "_gg"
15828
15828
  ])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
15829
15829
  icon_xmark_default({ size: 14 });
15830
15830
  _html(`</button>${_el_resume($scope16_id, "j")}</span></li>${_el_resume($scope16_id, "a")}`);
@@ -15845,28 +15845,28 @@ var manage_workspace_default = _template("p", (input) => {
15845
15845
  s,
15846
15846
  linked: false
15847
15847
  }))].sort((a, b) => a.s.name.localeCompare(b.s.name));
15848
- _html(`</div><div${_attr_class("_ea")}>`);
15848
+ _html(`</div><div${_attr_class("_eh")}>`);
15849
15849
  _if(() => {
15850
15850
  if (allSkills.length) {
15851
15851
  const $scope2_id = _scope_id();
15852
- _html(`<section${_attr_class("_cd")}><div${_attr_class("_ce")}><h2${_attr_class("_cr")}>Skills</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope2_id, "e", wsSkills.length)}/${_text_resume($scope2_id, "f", allSkills.length, 2)}</span></div><ul${_attr_class([list$2, "_cS"])}>`);
15852
+ _html(`<section${_attr_class("_cd")}><div${_attr_class("_ce")}><h2${_attr_class("_cr")}>Skills</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope2_id, "e", wsSkills.length)}/${_text_resume($scope2_id, "f", allSkills.length, 2)}</span></div><ul${_attr_class([list$2, "_cZ"])}>`);
15853
15853
  _for_of(allSkills, ({ s, linked }) => {
15854
15854
  const $scope3_id = _scope_id();
15855
15855
  const isBusy = skillBusy.has(s.id);
15856
- _html(`<li${_attr_class([skillRow, { ["_gP"]: !linked }])}><span${_attr_class("_gR")}><span${_attr_class(["_y", skillName])}>${_text_resume($scope3_id, "d", s.name)}</span>`);
15856
+ _html(`<li${_attr_class([skillRow, { ["_ga"]: !linked }])}><span${_attr_class("_gc")}><span${_attr_class(["_y", skillName])}>${_text_resume($scope3_id, "d", s.name)}</span>`);
15857
15857
  _if(() => {
15858
15858
  if (s.worktree && !s.broken) {
15859
15859
  const $scope34_id = _scope_id();
15860
15860
  _html(`<span${_attr_class([
15861
15861
  "_N",
15862
15862
  "_y",
15863
- "_gS"
15863
+ "_gd"
15864
15864
  ])}${linked ? _attr("title", `Linked from ${s.worktree}/ in this workspace`) : _attr("title", `Ships in ${s.worktree}/ — not linked into this workspace yet`)}>${_text_resume($scope34_id, "b", s.worktree)}/</span>${_el_resume($scope34_id, "a")}`);
15865
15865
  writeScope($scope34_id, {});
15866
15866
  return 0;
15867
15867
  }
15868
15868
  }, $scope3_id, "e", 1, 1, 1, 0, 1);
15869
- _html(`</span><span${_attr_class(skillDesc)}${_attr_or("title", s.description, "")}>${_text_resume($scope3_id, "g", s.description || "")}</span>${_el_resume($scope3_id, "f")}<span${_attr_class("_cX")}>`);
15869
+ _html(`</span><span${_attr_class(skillDesc)}${_attr_or("title", s.description, "")}>${_text_resume($scope3_id, "g", s.description || "")}</span>${_el_resume($scope3_id, "f")}<span${_attr_class("_c4")}>`);
15870
15870
  _if(() => {
15871
15871
  if (s.broken) {
15872
15872
  const $scope35_id = _scope_id();
@@ -15917,7 +15917,7 @@ var manage_workspace_default = _template("p", (input) => {
15917
15917
  "_cn",
15918
15918
  "_7",
15919
15919
  "_8",
15920
- "_gU"
15920
+ "_gf"
15921
15921
  ],
15922
15922
  disabled: isBusy,
15923
15923
  busy: isBusy,
@@ -16027,10 +16027,10 @@ var manage_workspace_default = _template("p", (input) => {
16027
16027
  });
16028
16028
  _resume_branch($scope0_id);
16029
16029
  });
16030
- var curRow = "_fo _cT";
16031
- var archived = "_ft _cd";
16032
- var archivedHint = "_fu _W";
16033
- var archivedRow = "_fv _cR _cP";
16030
+ var curRow = "_fz _c0";
16031
+ var archived = "_fE _cd";
16032
+ var archivedHint = "_fF _W";
16033
+ var archivedRow = "_fG _cY _cW";
16034
16034
  //#endregion
16035
16035
  //#region src/tags/icons/icon-group.marko
16036
16036
  var icon_group_default = _template("jb", (input) => {
@@ -16050,8 +16050,8 @@ var icon_group_default = _template("jb", (input) => {
16050
16050
  });
16051
16051
  //#endregion
16052
16052
  //#region src/tags/join-dialog.css.ts
16053
- var dlg = "_iG _hz";
16054
- var hint = "_iH _W";
16053
+ var dlg = "_iP _hn";
16054
+ var hint = "_iQ _W";
16055
16055
  //#endregion
16056
16056
  //#region src/tags/join-dialog.marko
16057
16057
  var api$3;
@@ -16180,26 +16180,26 @@ var join_dialog_default = _template("m", (input) => {
16180
16180
  content: _content("m12", () => {
16181
16181
  _scope_reason();
16182
16182
  const $scope1_id = _scope_id();
16183
- _html(`<h2${_attr_class("_hA")}${_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([
16183
+ _html(`<h2${_attr_class("_ho")}${_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([
16184
16184
  "_Y",
16185
16185
  "_y",
16186
- "_iJ"
16186
+ "_iS"
16187
16187
  ])} 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")}`);
16188
16188
  _if(() => {
16189
16189
  if (parsed.error) {
16190
16190
  const $scope8_id = _scope_id();
16191
- _html(`<p${_attr_class([hint, "_iI"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
16191
+ _html(`<p${_attr_class([hint, "_iR"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
16192
16192
  _subscribe($parsed_error__closures, writeScope($scope8_id, { Cag: 1 }));
16193
16193
  return 0;
16194
16194
  } else if (parsed.ok) {
16195
16195
  const $scope3_id = _scope_id();
16196
- _html(`<ul${_attr_class("_iK")}>`);
16196
+ _html(`<ul${_attr_class("_iT")}>`);
16197
16197
  _for_of(parsed.ok.repos, (fullName) => {
16198
16198
  const $scope9_id = _scope_id();
16199
- _html(`<li${_attr_class("_iL")}><span${_attr_class("_iM")}>${_text_resume($scope9_id, "c", repoLabel$1(fullName))}</span></li>`);
16199
+ _html(`<li${_attr_class("_iU")}><span${_attr_class("_iV")}>${_text_resume($scope9_id, "c", repoLabel$1(fullName))}</span></li>`);
16200
16200
  writeScope($scope9_id, {});
16201
16201
  }, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
16202
- _html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_y")}>${_text_resume($scope3_id, "d", parsed.ok.branch)}</span> in each; PRs target theirs.</p><label${_attr_class("_iN")}><span${_attr_class("_cr")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
16202
+ _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("_iW")}><span${_attr_class("_cr")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
16203
16203
  name = _new_name;
16204
16204
  }, "m1", $scope3_id))}${_attr_class("_Y")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
16205
16205
  _script($scope3_id, "m8");
@@ -16236,10 +16236,10 @@ var join_dialog_default = _template("m", (input) => {
16236
16236
  _if(() => {
16237
16237
  if (busy && steps$2.length) {
16238
16238
  const $scope6_id = _scope_id();
16239
- _html(`<ul${_attr_class("_iO")}>`);
16239
+ _html(`<ul${_attr_class("_iX")}>`);
16240
16240
  _for_of(steps$2, (step$2, i) => {
16241
16241
  const $scope7_id = _scope_id();
16242
- _html(`<li${_attr_class(["_iQ", { ["_iP"]: i === steps$2.length - 1 }])}>`);
16242
+ _html(`<li${_attr_class(["_iZ", { ["_iY"]: i === steps$2.length - 1 }])}>`);
16243
16243
  _if(() => {
16244
16244
  if (i === steps$2.length - 1) {
16245
16245
  const $scope10_id = _scope_id();
@@ -16248,7 +16248,7 @@ var join_dialog_default = _template("m", (input) => {
16248
16248
  return 0;
16249
16249
  } else {
16250
16250
  const $scope11_id = _scope_id();
16251
- _html(`<span${_attr_class("_iR")}>`);
16251
+ _html(`<span${_attr_class("_i0")}>`);
16252
16252
  icon_check_default({ size: 14 });
16253
16253
  _html("</span>");
16254
16254
  writeScope($scope11_id, {});
@@ -16406,7 +16406,7 @@ var new_workspace_default = _template("s", (input) => {
16406
16406
  }
16407
16407
  }, "s6", $scope0_id);
16408
16408
  const titleId = _id();
16409
- _html(`<div${_attr_class("_d8")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_d9")}><div${_attr_class("_d_")}>`);
16409
+ _html(`<div${_attr_class("_ee")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_ef")}><div${_attr_class("_eg")}>`);
16410
16410
  _set_serialize_reason({
16411
16411
  0: _serialize_guard($scope0_reason, 2),
16412
16412
  1: $sg__input_backHref__OR__input_onExit,
@@ -16430,7 +16430,7 @@ var new_workspace_default = _template("s", (input) => {
16430
16430
  _resume_branch($scope2_id);
16431
16431
  }, $scope0_id) })
16432
16432
  });
16433
- _html(`<div${_attr_class("_ea")}>`);
16433
+ _html(`<div${_attr_class("_eh")}>`);
16434
16434
  _if(() => {
16435
16435
  if (error) {
16436
16436
  const $scope7_id = _scope_id();
@@ -16451,9 +16451,9 @@ var new_workspace_default = _template("s", (input) => {
16451
16451
  return 0;
16452
16452
  }
16453
16453
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
16454
- _html(`<label${_attr_class("_fj")}><span${_attr_class("_cr")}>Name</span><input${_attr_input_value($scope0_id, "i", name, _resume((_new_name) => {
16454
+ _html(`<label${_attr_class("_fu")}><span${_attr_class("_cr")}>Name</span><input${_attr_input_value($scope0_id, "i", name, _resume((_new_name) => {
16455
16455
  name = _new_name;
16456
- }, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "i")}</label><section${_attr_class("_cd")}><div${_attr_class("_fm")}><h2${_attr_class("_cr")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "n", selected.length)}</span><div${_attr_class("_z")}></div><button type=button${_attr_class([iconBtnRow, "_fl"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}${_attr("disabled", busy)}>`);
16456
+ }, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "i")}</label><section${_attr_class("_cd")}><div${_attr_class("_fx")}><h2${_attr_class("_cr")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "n", selected.length)}</span><div${_attr_class("_z")}></div><button type=button${_attr_class([iconBtnRow, "_fw"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}${_attr("disabled", busy)}>`);
16457
16457
  icon_plus_default({ size: 16 });
16458
16458
  _html(`</button>${_el_resume($scope0_id, "p")}`);
16459
16459
  _set_serialize_reason(34);
@@ -16491,14 +16491,14 @@ var new_workspace_default = _template("s", (input) => {
16491
16491
  _html(`</button>${_el_resume($scope0_id, "t")}</div><ul${_attr_class(list$2)}>`);
16492
16492
  _for_of(selected, (repo) => {
16493
16493
  const $scope3_id = _scope_id();
16494
- _html(`<li${_attr_class("_fn")}><div${_attr_class(curRow)}><span${_attr_class("_cV")}>${_text_resume($scope3_id, "d", repoLabel$1(repo.fullName))}</span><span${_attr_class("_cX")}>`);
16494
+ _html(`<li${_attr_class("_fy")}><div${_attr_class(curRow)}><span${_attr_class("_c2")}>${_text_resume($scope3_id, "d", repoLabel$1(repo.fullName))}</span><span${_attr_class("_c4")}>`);
16495
16495
  _if(() => {
16496
16496
  if (repo.fork !== void 0) {
16497
16497
  const $scope4_id = _scope_id();
16498
16498
  _html(`<button${_attr_class([
16499
16499
  chip$1,
16500
- "_c1",
16501
- { ["_cZ"]: repo.fork }
16500
+ "_c8",
16501
+ { ["_c6"]: repo.fork }
16502
16502
  ])}${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)}>`);
16503
16503
  _if(() => {
16504
16504
  if (repo.fork) {
@@ -16522,7 +16522,7 @@ var new_workspace_default = _template("s", (input) => {
16522
16522
  _html(`<button${_attr_class([
16523
16523
  chip$1,
16524
16524
  "_y",
16525
- { ["_cZ"]: branchesFor === repo.fullName }
16525
+ { ["_c6"]: branchesFor === repo.fullName }
16526
16526
  ])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}>`);
16527
16527
  icon_branch_default({ size: 12 });
16528
16528
  _html(`${_text_resume($scope3_id, "i", repo.baseBranch ? `${_to_text(" ")}${_to_text(repo.baseBranch)}` : "")}</button>${_el_resume($scope3_id, "g")}<button${_attr_class([iconBtnXs, "_7"])}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>`);
@@ -16531,7 +16531,7 @@ var new_workspace_default = _template("s", (input) => {
16531
16531
  _if(() => {
16532
16532
  if (branchesFor === repo.fullName) {
16533
16533
  const $scope9_id = _scope_id();
16534
- _html(`<div${_attr_class("_fp")}>`);
16534
+ _html(`<div${_attr_class("_fA")}>`);
16535
16535
  const $childScope4 = _peek_scope_id();
16536
16536
  branch_pick_default({
16537
16537
  repo: repo.fullName,
@@ -16560,7 +16560,7 @@ var new_workspace_default = _template("s", (input) => {
16560
16560
  _if(() => {
16561
16561
  if (!selected.length) {
16562
16562
  const $scope14_id = _scope_id();
16563
- _html(`<li${_attr_class(["_cT", "_cY"])}>No repos yet. Add one above, or create it empty.</li>`);
16563
+ _html(`<li${_attr_class(["_c0", "_c5"])}>No repos yet. Add one above, or create it empty.</li>`);
16564
16564
  writeScope($scope14_id, {});
16565
16565
  return 0;
16566
16566
  }
@@ -16569,10 +16569,10 @@ var new_workspace_default = _template("s", (input) => {
16569
16569
  _if(() => {
16570
16570
  if (busy && steps.length) {
16571
16571
  const $scope10_id = _scope_id();
16572
- _html(`<ul${_attr_class("_fq")}>`);
16572
+ _html(`<ul${_attr_class("_fB")}>`);
16573
16573
  _for_of(steps, (step, i) => {
16574
16574
  const $scope11_id = _scope_id();
16575
- _html(`<li${_attr_class(["_fw", { ["_fr"]: i === steps.length - 1 }])}>`);
16575
+ _html(`<li${_attr_class(["_fH", { ["_fC"]: i === steps.length - 1 }])}>`);
16576
16576
  _if(() => {
16577
16577
  if (i === steps.length - 1) {
16578
16578
  const $scope15_id = _scope_id();
@@ -16581,7 +16581,7 @@ var new_workspace_default = _template("s", (input) => {
16581
16581
  return 0;
16582
16582
  } else {
16583
16583
  const $scope16_id = _scope_id();
16584
- _html(`<span${_attr_class("_fs")}>`);
16584
+ _html(`<span${_attr_class("_fD")}>`);
16585
16585
  icon_check_default({ size: 14 });
16586
16586
  _html("</span>");
16587
16587
  writeScope($scope16_id, {});
@@ -16595,15 +16595,15 @@ var new_workspace_default = _template("s", (input) => {
16595
16595
  return 0;
16596
16596
  }
16597
16597
  }, $scope0_id, "y", 1, 1, 1, 0, 1);
16598
- _html(`<div${_attr_class("_fh")}><button type=button${_attr_class([
16598
+ _html(`<div${_attr_class("_fs")}><button type=button${_attr_class([
16599
16599
  btnLg,
16600
16600
  "_r",
16601
- "_fi"
16602
- ])}${_attr("disabled", busy || !!restoring || !name.trim())}>${_text_resume($scope0_id, "a1", busy ? "Creating…" : "Create workspace")}</button>${_el_resume($scope0_id, "a0")}</div></div><div${_attr_class("_ea")}>`);
16601
+ "_ft"
16602
+ ])}${_attr("disabled", busy || !!restoring || !name.trim())}>${_text_resume($scope0_id, "a1", busy ? "Creating…" : "Create workspace")}</button>${_el_resume($scope0_id, "a0")}</div></div><div${_attr_class("_eh")}>`);
16603
16603
  _if(() => {
16604
16604
  if (archived$1.length) {
16605
16605
  const $scope5_id = _scope_id();
16606
- _html(`<section${_attr_class(archived)}><div${_attr_class("_fm")}><h2${_attr_class("_cr")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope5_id, "e", archived$1.length, $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore an archived workspace instead of creating a new one.</p><ul${_attr_class(list$2)}>`);
16606
+ _html(`<section${_attr_class(archived)}><div${_attr_class("_fx")}><h2${_attr_class("_cr")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope5_id, "e", archived$1.length, $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore an archived workspace instead of creating a new one.</p><ul${_attr_class(list$2)}>`);
16607
16607
  _for_of(archived$1, (ws) => {
16608
16608
  const $scope6_id = _scope_id();
16609
16609
  _html(`<li${_attr_class(archivedRow)}><div${_attr_class("_cj")}><span${_attr_class("_ck")}>${_text_resume($scope6_id, "d", ws.name, $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_y"])}${_attr("title", ws.display_path || ws.path)}>${_text_resume($scope6_id, "f", ws.display_path || ws.path, $sg__input_workspaces)}</span>${_el_resume($scope6_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnSm)}${_attr("disabled", busy || !!restoring)}>`);
@@ -16723,19 +16723,19 @@ var term_find_default = _template("H", (input) => {
16723
16723
  const canStep = hasQuery && open;
16724
16724
  const keybar = input.placement === "keybar";
16725
16725
  _html(`<div${_attr_class([
16726
- "_eF",
16727
- keybar ? "_eH" : "_eG",
16728
- !open && "_eJ"
16729
- ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_ez", keybar ? "_eI" : "_eC"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
16726
+ "_eu",
16727
+ keybar ? "_ew" : "_ev",
16728
+ !open && "_ey"
16729
+ ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_eo", keybar ? "_ex" : "_er"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
16730
16730
  if (!open) return;
16731
16731
  query = v;
16732
16732
  live.query = v;
16733
16733
  run(0);
16734
- }, "H1", $scope0_id))}${_attr_class([findInput, keybar && "_eK"])} 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 && "_eL"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16734
+ }, "H1", $scope0_id))}${_attr_class([findInput, keybar && "_ez"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in terminal" aria-label="Find in terminal">${_el_resume($scope0_id, "c")}<button type=button${_attr_class([findIconBtn, keybar && "_eA"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16735
16735
  icon_arrow_up_default({ size: 14 });
16736
- _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_eL"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16736
+ _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_eA"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16737
16737
  icon_arrow_down_default({ size: 14 });
16738
- _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_eL"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
16738
+ _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_eA"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
16739
16739
  icon_xmark_default({ size: 14 });
16740
16740
  _html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
16741
16741
  const $return = focusInput;
@@ -16886,7 +16886,7 @@ var term_default = _template("I", (input) => {
16886
16886
  }
16887
16887
  }, "I9", $scope0_id);
16888
16888
  input.keys;
16889
- _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_fx")}><div${_attr_class("_fy")}></div>${_el_resume($scope0_id, "b")}`);
16889
+ _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_e0")}><div${_attr_class("_e1")}></div>${_el_resume($scope0_id, "b")}`);
16890
16890
  _if(() => {
16891
16891
  if (findOpen) {
16892
16892
  const $scope4_id = _scope_id();
@@ -16913,7 +16913,7 @@ var term_default = _template("I", (input) => {
16913
16913
  _if(() => {
16914
16914
  if (uploading) {
16915
16915
  const $scope5_id = _scope_id();
16916
- _html(`<div${_attr_class("_fE")}>uploading…</div>`);
16916
+ _html(`<div${_attr_class("_e7")}>uploading…</div>`);
16917
16917
  writeScope($scope5_id, {});
16918
16918
  return 0;
16919
16919
  }
@@ -16921,7 +16921,7 @@ var term_default = _template("I", (input) => {
16921
16921
  _if(() => {
16922
16922
  if (copiedFlash) {
16923
16923
  const $scope6_id = _scope_id();
16924
- _html(`<div${_attr_class("_fD")}>Copied</div>`);
16924
+ _html(`<div${_attr_class("_e6")}>Copied</div>`);
16925
16925
  writeScope($scope6_id, {});
16926
16926
  return 0;
16927
16927
  }
@@ -16930,7 +16930,7 @@ var term_default = _template("I", (input) => {
16930
16930
  _if(() => {
16931
16931
  if (trapOpen) {
16932
16932
  const $scope3_id = _scope_id();
16933
- _html(`<div${_attr_class("_fF")}><div${_attr_class("_fG")}><p${_attr_class("_fH")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope3_id, "d")}<button${_attr_class("_q")}>Cancel</button>${_el_resume($scope3_id, "e")}</div>${_el_resume($scope3_id, "b")}</div>${_el_resume($scope3_id, "a")}`);
16933
+ _html(`<div${_attr_class("_e8")}><div${_attr_class("_e9")}><p${_attr_class("_e_")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope3_id, "d")}<button${_attr_class("_q")}>Cancel</button>${_el_resume($scope3_id, "e")}</div>${_el_resume($scope3_id, "b")}</div>${_el_resume($scope3_id, "a")}`);
16934
16934
  _script($scope3_id, "I16");
16935
16935
  _script($scope3_id, "I17");
16936
16936
  writeScope($scope3_id, {});
@@ -17531,8 +17531,8 @@ _template("yb", (input) => {
17531
17531
  });
17532
17532
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
17533
17533
  });
17534
- var sessOpen = "_e8 _I";
17535
- var sessRename = "_fb _J";
17534
+ var sessOpen = "_eP _I";
17535
+ var sessRename = "_eT _J";
17536
17536
  //#endregion
17537
17537
  //#region src/tags/usage-pcts.marko
17538
17538
  var usage_pcts_default = _template("M", (input) => {
@@ -17601,7 +17601,7 @@ _template("n", (input) => {
17601
17601
  align: "center",
17602
17602
  gap: 8
17603
17603
  }), "n2", $scope0_id);
17604
- _html(`<button${_attr_class([kbtn, "_e4"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
17604
+ _html(`<button${_attr_class([kbtn, "_eL"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
17605
17605
  _set_serialize_reason({
17606
17606
  1: $sg__input_sessions__OR__input_sessionId,
17607
17607
  2: $sg__input_sessions__OR__input_sessionId
@@ -17615,11 +17615,11 @@ _template("n", (input) => {
17615
17615
  "_A",
17616
17616
  "_bb",
17617
17617
  phase[sessionPhase(current$2?.state)]
17618
- ])}></span>${_el_resume($scope0_id, "c", $sg__input_sessions__OR__input_sessionId)}</button>${_el_resume($scope0_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(["_9", "_e5"])}>`);
17618
+ ])}></span>${_el_resume($scope0_id, "c", $sg__input_sessions__OR__input_sessionId)}</button>${_el_resume($scope0_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(["_9", "_eM"])}>`);
17619
17619
  _for_of(input.sessions, (s) => {
17620
17620
  const $scope1_id = _scope_id();
17621
17621
  const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
17622
- _html(`<div${_attr_class(["_e7", { ["_e6"]: s.id === input.sessionId }])}>`);
17622
+ _html(`<div${_attr_class(["_eO", { ["_eN"]: s.id === input.sessionId }])}>`);
17623
17623
  _if(() => {
17624
17624
  if (renamingId === s.id) {
17625
17625
  const $scope5_id = _scope_id();
@@ -17651,7 +17651,7 @@ _template("n", (input) => {
17651
17651
  agent: activeAgent(s),
17652
17652
  size: 14
17653
17653
  });
17654
- _html(`<span${_attr_class("_e9")}><span${_attr_class("_fa")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
17654
+ _html(`<span${_attr_class("_eQ")}><span${_attr_class("_eS")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
17655
17655
  _if(() => {
17656
17656
  if (s.id === input.sessionId) {
17657
17657
  const $scope7_id = _scope_id();
@@ -17663,7 +17663,7 @@ _template("n", (input) => {
17663
17663
  const $childScope4 = _peek_scope_id();
17664
17664
  usage_pcts_default({
17665
17665
  agent: plan,
17666
- class: "_e_"
17666
+ class: "_eR"
17667
17667
  });
17668
17668
  writeScope($scope8_id, { a: _existing_scope($childScope4) });
17669
17669
  return 0;
@@ -17680,7 +17680,7 @@ _template("n", (input) => {
17680
17680
  _if(() => {
17681
17681
  if (input.onRenameSession) {
17682
17682
  const $scope6_id = _scope_id();
17683
- _html(`<button${_attr_class(["_fc", "_fd"])} title="Rename session">`);
17683
+ _html(`<button${_attr_class(["_eU", "_eV"])} title="Rename session">`);
17684
17684
  icon_edit_default({ size: 12 });
17685
17685
  _html(`</button>${_el_resume($scope6_id, "a")}`);
17686
17686
  _script($scope6_id, "n5");
@@ -17692,7 +17692,7 @@ _template("n", (input) => {
17692
17692
  if (input.onCloseSession) {
17693
17693
  const $scope3_id = _scope_id();
17694
17694
  arm_button_default({
17695
- class: ["_fc", "_7"],
17695
+ class: ["_eU", "_7"],
17696
17696
  title: "Close session",
17697
17697
  armedTitle: "Close?",
17698
17698
  onFire: _resume(function() {
@@ -17724,7 +17724,7 @@ _template("n", (input) => {
17724
17724
  m: $si__input_sessions && $for_content__s_agent__closures
17725
17725
  });
17726
17726
  }, "id", $scope0_id, "e", 1, $sg__input_sessions, $sg__input_sessions__OR__input_agents, 0, 1);
17727
- _html(`<div${_attr_class("_fe")}><span${_attr_class("_ff")}>New session</span><div${_attr_class("_fg")}>`);
17727
+ _html(`<div${_attr_class("_eW")}><span${_attr_class("_eX")}>New session</span><div${_attr_class("_eY")}>`);
17728
17728
  _for_of(["shell", ...input.agents], (agent) => {
17729
17729
  const $scope4_id = _scope_id();
17730
17730
  _html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
@@ -26367,11 +26367,19 @@ require_websocket();
26367
26367
  var import_websocket_server = /* @__PURE__ */ __toESM(require_websocket_server(), 1);
26368
26368
  //#endregion
26369
26369
  //#region src/server/terminal-replies.ts
26370
+ /** `4` in the primary attributes is sixel. It has to be claimed here rather
26371
+ * than left to the browser, because these answers never reach the browser —
26372
+ * and both readers of this one are downstream of that. tmux only draws a
26373
+ * sixel image for a client whose attributes admit to it, and yazi asks the
26374
+ * same question through tmux passthrough to choose between a real image and
26375
+ * chafa's ASCII art. Answering without the 4 is how a pane that can show
26376
+ * pictures ends up saying "failed to spawn chafa". The claim is true: the
26377
+ * browser terminal decodes sixel (@xterm/addon-image in term.marko). */
26370
26378
  var queries = [
26371
26379
  ["\x1B[>0c", "\x1B[>0;276;0c"],
26372
26380
  ["\x1B[>c", "\x1B[>0;276;0c"],
26373
- ["\x1B[0c", "\x1B[?1;2c"],
26374
- ["\x1B[c", "\x1B[?1;2c"]
26381
+ ["\x1B[0c", "\x1B[?1;2;4c"],
26382
+ ["\x1B[c", "\x1B[?1;2;4c"]
26375
26383
  ];
26376
26384
  /**
26377
26385
  * Answer terminal identity probes beside the PTY instead of making them
@@ -26466,6 +26474,15 @@ var PING_MS$1 = 15e3;
26466
26474
  * 5–20× on the wire. Few sockets live at once, so per-socket zlib state is
26467
26475
  * not the concern ws's docs raise for large fleets. */
26468
26476
  var DEFLATE_THRESHOLD = 512;
26477
+ /** The terminal's answer to tmux's CSI 14t — window size in pixels, which
26478
+ * divided by the grid is the cell size tmux needs before it will paint an
26479
+ * image. Recognised on the way through rather than parsed: all this marks
26480
+ * is the moment tmux stopped guessing. */
26481
+ var WINDOW_PIXELS_REPLY = /\x1b\[4;\d+;\d+t/;
26482
+ /** Long enough for the reply above to reach tmux's client and reach the
26483
+ * server as a new cell size, short enough to stay inside the repaint the
26484
+ * eye reads as "the pane came back". */
26485
+ var CELL_SIZE_SETTLE_MS = 120;
26469
26486
  /** Which dims each session's tmux window was last forced to — lets the
26470
26487
  * input path skip the tmux exec when this client already holds the size.
26471
26488
  * A memo, not the truth: the window can move under it (another client, a
@@ -26680,10 +26697,31 @@ async function handleTermConnection(ws, req) {
26680
26697
  });
26681
26698
  };
26682
26699
  forceWindowSize();
26700
+ let sized = false;
26701
+ const redrawWithCellSize = () => {
26702
+ if (sized) return;
26703
+ sized = true;
26704
+ setTimeout(async () => {
26705
+ const clients = await tmux([
26706
+ "list-clients",
26707
+ "-t",
26708
+ name,
26709
+ "-F",
26710
+ "#{client_name}"
26711
+ ]).catch(() => "");
26712
+ for (const client of clients.split("\n").filter(Boolean)) await tmux([
26713
+ "refresh-client",
26714
+ "-t",
26715
+ client
26716
+ ]).catch(() => {});
26717
+ }, CELL_SIZE_SETTLE_MS);
26718
+ };
26683
26719
  ws.on("message", (data, isBinary) => {
26684
26720
  if (isBinary) {
26685
26721
  if (lastForced.get(session.id) !== `${dims[0]}x${dims[1]}`) forceWindowSize();
26686
- if (!exited) ptyProc.write(data.toString());
26722
+ const input = data.toString();
26723
+ if (!exited) ptyProc.write(input);
26724
+ if (WINDOW_PIXELS_REPLY.test(input)) redrawWithCellSize();
26687
26725
  } else {
26688
26726
  const text = data.toString();
26689
26727
  const resize = parseResize(text);
@@ -26893,4 +26931,4 @@ server.listen(port, () => {
26893
26931
  //#endregion
26894
26932
  export {};
26895
26933
 
26896
- ;var __MARKO_MANIFEST__={"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-Djyi23Q9.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-Djyi23Q9.css\"",">",2,"stylesheet#/assets/app-page-DD1F0TTl.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DD1F0TTl.css\"",">"],"defer":[2,"/assets/w._-BwcyiB1L.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-BwcyiB1L.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_bLcqPuzt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_bLcqPuzt.js\"",">",2,"modulepreload#/assets/_B0OVfJVa.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_B0OVfJVa.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-Djyi23Q9.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-Djyi23Q9.css\"",">",2,"stylesheet#/assets/app-page-DD1F0TTl.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DD1F0TTl.css\"",">"],"defer":[2,"/assets/new-BwcyiB1L.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-BwcyiB1L.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_bLcqPuzt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_bLcqPuzt.js\"",">",2,"modulepreload#/assets/_B0OVfJVa.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_B0OVfJVa.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-Djyi23Q9.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-Djyi23Q9.css\"",">",2,"stylesheet#/assets/app-page-DD1F0TTl.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DD1F0TTl.css\"",">"],"defer":[2,"/assets/settings-BwcyiB1L.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-BwcyiB1L.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_bLcqPuzt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_bLcqPuzt.js\"",">",2,"modulepreload#/assets/_B0OVfJVa.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_B0OVfJVa.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-Djyi23Q9.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-Djyi23Q9.css\"",">",2,"stylesheet#/assets/app-page-DD1F0TTl.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DD1F0TTl.css\"",">"],"defer":[2,"/assets/w._-gFT3A4in.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-gFT3A4in.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_bLcqPuzt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_bLcqPuzt.js\"",">",2,"modulepreload#/assets/_B0OVfJVa.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_B0OVfJVa.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-Djyi23Q9.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-Djyi23Q9.css\"",">",2,"stylesheet#/assets/app-page-DD1F0TTl.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DD1F0TTl.css\"",">"],"defer":[2,"/assets/w-BwcyiB1L.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-BwcyiB1L.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_bLcqPuzt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_bLcqPuzt.js\"",">",2,"modulepreload#/assets/_B0OVfJVa.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_B0OVfJVa.js\"",">"]},"_A":{"block":[2,"stylesheet#/assets/review-view-3q-u988K.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-3q-u988K.css\"",">",2,"stylesheet#/assets/icon-arrow-down-Djyi23Q9.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-Djyi23Q9.css\"",">"],"defer":[2,"/assets/review-view-CiWwWm6V.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-CiWwWm6V.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">"]}};
26934
+ ;var __MARKO_MANIFEST__={"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-DSmBsYc0.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-DSmBsYc0.css\"",">",2,"stylesheet#/assets/app-page-mpLi5gUf.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-mpLi5gUf.css\"",">"],"defer":[2,"/assets/settings-CkY2AXTw.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-CkY2AXTw.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_D8fFV5Ym.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_D8fFV5Ym.js\"",">",2,"modulepreload#/assets/_s72b-JB_.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_s72b-JB_.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-DSmBsYc0.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-DSmBsYc0.css\"",">",2,"stylesheet#/assets/app-page-mpLi5gUf.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-mpLi5gUf.css\"",">"],"defer":[2,"/assets/new-CkY2AXTw.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-CkY2AXTw.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_D8fFV5Ym.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_D8fFV5Ym.js\"",">",2,"modulepreload#/assets/_s72b-JB_.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_s72b-JB_.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-DSmBsYc0.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-DSmBsYc0.css\"",">",2,"stylesheet#/assets/app-page-mpLi5gUf.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-mpLi5gUf.css\"",">"],"defer":[2,"/assets/w._-CkY2AXTw.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-CkY2AXTw.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_D8fFV5Ym.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_D8fFV5Ym.js\"",">",2,"modulepreload#/assets/_s72b-JB_.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_s72b-JB_.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-DSmBsYc0.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-DSmBsYc0.css\"",">",2,"stylesheet#/assets/app-page-mpLi5gUf.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-mpLi5gUf.css\"",">"],"defer":[2,"/assets/w._-Csr1ikwd.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-Csr1ikwd.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_D8fFV5Ym.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_D8fFV5Ym.js\"",">",2,"modulepreload#/assets/_s72b-JB_.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_s72b-JB_.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-DSmBsYc0.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-DSmBsYc0.css\"",">",2,"stylesheet#/assets/app-page-mpLi5gUf.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-mpLi5gUf.css\"",">"],"defer":[2,"/assets/w-CkY2AXTw.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-CkY2AXTw.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_D8fFV5Ym.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_D8fFV5Ym.js\"",">",2,"modulepreload#/assets/_s72b-JB_.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_s72b-JB_.js\"",">"]},"_A":{"block":[2,"stylesheet#/assets/review-view-BrfjQmXA.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-BrfjQmXA.css\"",">",2,"stylesheet#/assets/icon-arrow-down-DSmBsYc0.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-DSmBsYc0.css\"",">"],"defer":[2,"/assets/review-view-DtiHctEJ.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-DtiHctEJ.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">"]}};