@dylanpiercey/work 0.0.40 → 0.0.42

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 (156) hide show
  1. package/dist/index.mjs +374 -715
  2. package/dist/public/assets/{_CmH32z5I.js → _08Vl4BnZ.js} +2 -2
  3. package/dist/public/assets/{_CmH32z5I.js.map → _08Vl4BnZ.js.map} +1 -1
  4. package/dist/public/assets/{_ZG408fQc.js → _0HFtYC9j.js} +2 -2
  5. package/dist/public/assets/{_ZG408fQc.js.map → _0HFtYC9j.js.map} +1 -1
  6. package/dist/public/assets/{_UeUsduDg.js → _4lBAOiBs.js} +2 -2
  7. package/dist/public/assets/{_UeUsduDg.js.map → _4lBAOiBs.js.map} +1 -1
  8. package/dist/public/assets/{_jifvQF0M.js → _5zAnG8_b.js} +2 -2
  9. package/dist/public/assets/{_jifvQF0M.js.map → _5zAnG8_b.js.map} +1 -1
  10. package/dist/public/assets/{_Ivuhnz8D.js → _6jzzkyr3.js} +2 -2
  11. package/dist/public/assets/{_Ivuhnz8D.js.map → _6jzzkyr3.js.map} +1 -1
  12. package/dist/public/assets/{_Ba56VGPa2.js → _B12yQQbd2.js} +2 -2
  13. package/dist/public/assets/{_Ba56VGPa2.js.map → _B12yQQbd2.js.map} +1 -1
  14. package/dist/public/assets/{_B0ILW1ln.js → _BAU6KG-h.js} +2 -2
  15. package/dist/public/assets/{_B0ILW1ln.js.map → _BAU6KG-h.js.map} +1 -1
  16. package/dist/public/assets/{_BVhbSv_7.js → _BBa9QG56.js} +2 -2
  17. package/dist/public/assets/{_BVhbSv_7.js.map → _BBa9QG56.js.map} +1 -1
  18. package/dist/public/assets/{_3VenI2OT2.js → _BF6FAj1Y2.js} +2 -2
  19. package/dist/public/assets/{_3VenI2OT2.js.map → _BF6FAj1Y2.js.map} +1 -1
  20. package/dist/public/assets/{_BTgtIJbs.js → _BHLmP9J5.js} +2 -2
  21. package/dist/public/assets/{_BTgtIJbs.js.map → _BHLmP9J5.js.map} +1 -1
  22. package/dist/public/assets/{_DiGEIi7y2.js → _BHXi673w2.js} +2 -2
  23. package/dist/public/assets/{_DiGEIi7y2.js.map → _BHXi673w2.js.map} +1 -1
  24. package/dist/public/assets/{_Cu-YDqqS2.js → _BIb9glVD2.js} +2 -2
  25. package/dist/public/assets/{_Cu-YDqqS2.js.map → _BIb9glVD2.js.map} +1 -1
  26. package/dist/public/assets/{_Dzmzf0jy.js → _BL0H8RTc.js} +2 -2
  27. package/dist/public/assets/{_Dzmzf0jy.js.map → _BL0H8RTc.js.map} +1 -1
  28. package/dist/public/assets/{_DIsTDKVR.js → _BNg95hln.js} +2 -2
  29. package/dist/public/assets/{_DIsTDKVR.js.map → _BNg95hln.js.map} +1 -1
  30. package/dist/public/assets/{_BHNTdpyr.js → _BQTrV1C2.js} +2 -2
  31. package/dist/public/assets/{_BHNTdpyr.js.map → _BQTrV1C2.js.map} +1 -1
  32. package/dist/public/assets/{_pUoTA7Pg.js → _BYcdvOlZ.js} +2 -2
  33. package/dist/public/assets/{_pUoTA7Pg.js.map → _BYcdvOlZ.js.map} +1 -1
  34. package/dist/public/assets/{_BKoDBxkc2.js → _Bl0uloCS2.js} +2 -2
  35. package/dist/public/assets/{_BKoDBxkc2.js.map → _Bl0uloCS2.js.map} +1 -1
  36. package/dist/public/assets/{_BjYoD_6z2.js → _BlfF1DXc2.js} +2 -2
  37. package/dist/public/assets/{_BjYoD_6z2.js.map → _BlfF1DXc2.js.map} +1 -1
  38. package/dist/public/assets/{_Bv_RWYiQ.js → _Boa1CUha.js} +2 -2
  39. package/dist/public/assets/{_Bv_RWYiQ.js.map → _Boa1CUha.js.map} +1 -1
  40. package/dist/public/assets/{_DXPT_5Ww.js → _BtlXwps-.js} +2 -2
  41. package/dist/public/assets/{_DXPT_5Ww.js.map → _BtlXwps-.js.map} +1 -1
  42. package/dist/public/assets/{_CA4_OXC62.js → _BwCEKN3X2.js} +2 -2
  43. package/dist/public/assets/{_CA4_OXC62.js.map → _BwCEKN3X2.js.map} +1 -1
  44. package/dist/public/assets/{_CcyXwmyV.js → _By4p-yp6.js} +2 -2
  45. package/dist/public/assets/{_CcyXwmyV.js.map → _By4p-yp6.js.map} +1 -1
  46. package/dist/public/assets/{_CpelmBB72.js → _C-u7G7Rc2.js} +2 -2
  47. package/dist/public/assets/{_CpelmBB72.js.map → _C-u7G7Rc2.js.map} +1 -1
  48. package/dist/public/assets/{_C83jn7M7.js → _C4eToTSH.js} +2 -2
  49. package/dist/public/assets/{_C83jn7M7.js.map → _C4eToTSH.js.map} +1 -1
  50. package/dist/public/assets/{_D1KsrNGN.js → _CIyqQPOJ.js} +2 -2
  51. package/dist/public/assets/{_D1KsrNGN.js.map → _CIyqQPOJ.js.map} +1 -1
  52. package/dist/public/assets/{_Cn-JhCBl.js → _CK57eBfx.js} +2 -2
  53. package/dist/public/assets/{_Cn-JhCBl.js.map → _CK57eBfx.js.map} +1 -1
  54. package/dist/public/assets/{_CX2FR9en.js → _CKtA_VfT.js} +2 -2
  55. package/dist/public/assets/{_CX2FR9en.js.map → _CKtA_VfT.js.map} +1 -1
  56. package/dist/public/assets/{_8DPiXP2D.js → _CMrgWit1.js} +2 -2
  57. package/dist/public/assets/{_8DPiXP2D.js.map → _CMrgWit1.js.map} +1 -1
  58. package/dist/public/assets/{_D63K5MAL2.js → _CPWwxTeC2.js} +2 -2
  59. package/dist/public/assets/{_D63K5MAL2.js.map → _CPWwxTeC2.js.map} +1 -1
  60. package/dist/public/assets/{_CEr-0D0d.js → _CQLk7EcY.js} +2 -2
  61. package/dist/public/assets/{_CEr-0D0d.js.map → _CQLk7EcY.js.map} +1 -1
  62. package/dist/public/assets/{_DGWkqOrB.js → _CTYKjish.js} +2 -2
  63. package/dist/public/assets/{_DGWkqOrB.js.map → _CTYKjish.js.map} +1 -1
  64. package/dist/public/assets/{_TKY_rFIy2.js → _CULJ2MVA2.js} +2 -2
  65. package/dist/public/assets/{_TKY_rFIy2.js.map → _CULJ2MVA2.js.map} +1 -1
  66. package/dist/public/assets/{_BvtYDSuT2.js → _CUQCJnj92.js} +2 -2
  67. package/dist/public/assets/{_BvtYDSuT2.js.map → _CUQCJnj92.js.map} +1 -1
  68. package/dist/public/assets/{_BgyAIeMk.js → _Ch-k8j3L.js} +2 -2
  69. package/dist/public/assets/{_BgyAIeMk.js.map → _Ch-k8j3L.js.map} +1 -1
  70. package/dist/public/assets/{_CqS9_RIm.js → _Ch2s5Yl1.js} +2 -2
  71. package/dist/public/assets/{_CqS9_RIm.js.map → _Ch2s5Yl1.js.map} +1 -1
  72. package/dist/public/assets/{_Bq9rbiCa2.js → _ChpDcY902.js} +2 -2
  73. package/dist/public/assets/{_Bq9rbiCa2.js.map → _ChpDcY902.js.map} +1 -1
  74. package/dist/public/assets/{_BlnfI-cd.js → _Ci-5oHFp.js} +2 -2
  75. package/dist/public/assets/{_BlnfI-cd.js.map → _Ci-5oHFp.js.map} +1 -1
  76. package/dist/public/assets/{_DQ-kE1KO.js → _CoiAbeQ8.js} +2 -2
  77. package/dist/public/assets/{_DQ-kE1KO.js.map → _CoiAbeQ8.js.map} +1 -1
  78. package/dist/public/assets/{_B8CG1lYk2.js → _Cp03K8j72.js} +2 -2
  79. package/dist/public/assets/{_B8CG1lYk2.js.map → _Cp03K8j72.js.map} +1 -1
  80. package/dist/public/assets/{_Brtx9zLF.js → _CsV5dOWU.js} +2 -2
  81. package/dist/public/assets/{_Brtx9zLF.js.map → _CsV5dOWU.js.map} +1 -1
  82. package/dist/public/assets/{_mH9R9oGB.js → _CvDp4NJZ.js} +2 -2
  83. package/dist/public/assets/{_mH9R9oGB.js.map → _CvDp4NJZ.js.map} +1 -1
  84. package/dist/public/assets/{_irjxI44N2.js → _CvNPU6mj2.js} +2 -2
  85. package/dist/public/assets/{_irjxI44N2.js.map → _CvNPU6mj2.js.map} +1 -1
  86. package/dist/public/assets/{_BPQMLvu02.js → _CxmlqqW12.js} +2 -2
  87. package/dist/public/assets/{_BPQMLvu02.js.map → _CxmlqqW12.js.map} +1 -1
  88. package/dist/public/assets/{_DvhrN_AC.js → _DDlaBvIf.js} +2 -2
  89. package/dist/public/assets/{_DvhrN_AC.js.map → _DDlaBvIf.js.map} +1 -1
  90. package/dist/public/assets/{_Cw00Etn-.js → _DE2lMRoV.js} +2 -2
  91. package/dist/public/assets/{_Cw00Etn-.js.map → _DE2lMRoV.js.map} +1 -1
  92. package/dist/public/assets/{_fIQDai7d.js → _DFnRtdNh.js} +2 -2
  93. package/dist/public/assets/{_fIQDai7d.js.map → _DFnRtdNh.js.map} +1 -1
  94. package/dist/public/assets/{_CWG8S2bO.js → _DHQLqogP.js} +2 -2
  95. package/dist/public/assets/{_CWG8S2bO.js.map → _DHQLqogP.js.map} +1 -1
  96. package/dist/public/assets/{_BFoRA3M-.js → _DJpNULvH.js} +2 -2
  97. package/dist/public/assets/{_BFoRA3M-.js.map → _DJpNULvH.js.map} +1 -1
  98. package/dist/public/assets/{_BdxRwSdd.js → _DK6ZJVn2.js} +2 -2
  99. package/dist/public/assets/{_BdxRwSdd.js.map → _DK6ZJVn2.js.map} +1 -1
  100. package/dist/public/assets/{_DsnM-qIE.js → _DML-mp8Z.js} +2 -2
  101. package/dist/public/assets/{_DsnM-qIE.js.map → _DML-mp8Z.js.map} +1 -1
  102. package/dist/public/assets/{_CV6LlXY32.js → _DPzh9We22.js} +2 -2
  103. package/dist/public/assets/{_CV6LlXY32.js.map → _DPzh9We22.js.map} +1 -1
  104. package/dist/public/assets/{_CVgZFxTy2.js → _DSb5aJbx2.js} +2 -2
  105. package/dist/public/assets/{_CVgZFxTy2.js.map → _DSb5aJbx2.js.map} +1 -1
  106. package/dist/public/assets/{_CfNBAgk5.js → _D_Zit_pp.js} +2 -2
  107. package/dist/public/assets/{_CfNBAgk5.js.map → _D_Zit_pp.js.map} +1 -1
  108. package/dist/public/assets/{_Br2uo0OK.js → _DaWbmgiB.js} +2 -2
  109. package/dist/public/assets/{_Br2uo0OK.js.map → _DaWbmgiB.js.map} +1 -1
  110. package/dist/public/assets/{_BtnmnAxJ.js → _Dd9JhTP3.js} +2 -2
  111. package/dist/public/assets/{_BtnmnAxJ.js.map → _Dd9JhTP3.js.map} +1 -1
  112. package/dist/public/assets/{_BJLP6wPD.js → _DoEzd4-6.js} +2 -2
  113. package/dist/public/assets/{_BJLP6wPD.js.map → _DoEzd4-6.js.map} +1 -1
  114. package/dist/public/assets/{_Dgbb7WCq.js → _DsIT1wDB.js} +2 -2
  115. package/dist/public/assets/{_Dgbb7WCq.js.map → _DsIT1wDB.js.map} +1 -1
  116. package/dist/public/assets/{_Cn880iWo.js → _Dtp3DbhR.js} +2 -2
  117. package/dist/public/assets/{_Cn880iWo.js.map → _Dtp3DbhR.js.map} +1 -1
  118. package/dist/public/assets/{_Bm15UJ5r.js → _DtshxIqm.js} +2 -2
  119. package/dist/public/assets/{_Bm15UJ5r.js.map → _DtshxIqm.js.map} +1 -1
  120. package/dist/public/assets/{_B7cE3DDh2.js → _Dtyrasyh2.js} +2 -2
  121. package/dist/public/assets/{_B7cE3DDh2.js.map → _Dtyrasyh2.js.map} +1 -1
  122. package/dist/public/assets/{_Cy0mebiK.js → _DuuJhr1w.js} +2 -2
  123. package/dist/public/assets/{_Cy0mebiK.js.map → _DuuJhr1w.js.map} +1 -1
  124. package/dist/public/assets/{_-KsWGHKz2.js → _Dy3ee_fS2.js} +2 -2
  125. package/dist/public/assets/{_-KsWGHKz2.js.map → _Dy3ee_fS2.js.map} +1 -1
  126. package/dist/public/assets/{_BXFyaVzV.js → _EcTBrSbd.js} +2 -2
  127. package/dist/public/assets/{_BXFyaVzV.js.map → _EcTBrSbd.js.map} +1 -1
  128. package/dist/public/assets/{_Ct5nAVXE2.js → _LyFFu4J72.js} +2 -2
  129. package/dist/public/assets/{_Ct5nAVXE2.js.map → _LyFFu4J72.js.map} +1 -1
  130. package/dist/public/assets/{_8UwDOo_Z2.js → _RKdvAu9n2.js} +2 -2
  131. package/dist/public/assets/{_8UwDOo_Z2.js.map → _RKdvAu9n2.js.map} +1 -1
  132. package/dist/public/assets/{_CGlOgonA2.js → _a6SPz--f2.js} +2 -2
  133. package/dist/public/assets/{_CGlOgonA2.js.map → _a6SPz--f2.js.map} +1 -1
  134. package/dist/public/assets/{_CVFOAkWc.js → _g8rZMKlA.js} +2 -2
  135. package/dist/public/assets/{_CVFOAkWc.js.map → _g8rZMKlA.js.map} +1 -1
  136. package/dist/public/assets/{_BmY-aR2i.js → _kDVs_4yB.js} +2 -2
  137. package/dist/public/assets/{_BmY-aR2i.js.map → _kDVs_4yB.js.map} +1 -1
  138. package/dist/public/assets/{_BbczFSm62.js → _nmjNS1SP2.js} +2 -2
  139. package/dist/public/assets/{_BbczFSm62.js.map → _nmjNS1SP2.js.map} +1 -1
  140. package/dist/public/assets/{_CLJ7h8rZ.js → _oHnAhOiq.js} +2 -2
  141. package/dist/public/assets/{_CLJ7h8rZ.js.map → _oHnAhOiq.js.map} +1 -1
  142. package/dist/public/assets/{_DDn1qNlx.js → _rFAkd66p.js} +2 -2
  143. package/dist/public/assets/{_DDn1qNlx.js.map → _rFAkd66p.js.map} +1 -1
  144. package/dist/public/assets/{_FK3N8vMM2.js → _t8wmk8-H2.js} +2 -2
  145. package/dist/public/assets/{_FK3N8vMM2.js.map → _t8wmk8-H2.js.map} +1 -1
  146. package/dist/public/assets/{_DlycnL0G.js → _yd7odEAs.js} +2 -2
  147. package/dist/public/assets/{_DlycnL0G.js.map → _yd7odEAs.js.map} +1 -1
  148. package/dist/public/assets/{_dpF9TA5S.js → _zLB-9r7D.js} +2 -2
  149. package/dist/public/assets/{_dpF9TA5S.js.map → _zLB-9r7D.js.map} +1 -1
  150. package/dist/public/assets/index-DNOnhrX7.js +1615 -0
  151. package/dist/public/assets/index-DNOnhrX7.js.map +1 -0
  152. package/dist/public/assets/index-Dfh2odxc.css +1 -0
  153. package/package.json +4 -1
  154. package/dist/public/assets/index--QwhN0hy.css +0 -1
  155. package/dist/public/assets/index-CdVBL6Kf.js +0 -1615
  156. package/dist/public/assets/index-CdVBL6Kf.js.map +0 -1
package/dist/index.mjs CHANGED
@@ -4378,32 +4378,13 @@ var _layout_default = _template("a", (input) => {
4378
4378
  _trailers("</body></html>");
4379
4379
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, {});
4380
4380
  }, 1);
4381
- var page_module_default = { boot: "_a" };
4382
- var ui_module_default = {
4383
- icon: "_b",
4384
- btn: "_c",
4385
- primary: "_d",
4386
- danger: "_e",
4387
- armed: "_f",
4388
- chip: "_g",
4389
- lane: "_h",
4390
- pr: "_i",
4391
- draft: "_j",
4392
- dim: "_k",
4393
- mono: "_l",
4394
- spacer: "_m",
4395
- dot: "_n",
4396
- working: "_o",
4397
- waiting: "_p",
4398
- idle: "_q",
4399
- off: "_r",
4400
- splitBtn: "_s",
4401
- splitPrimary: "_t _s",
4402
- splitGrow: "_u",
4403
- spin: "_v",
4404
- workSpin: "_w"
4381
+ var phase = {
4382
+ working: "_p",
4383
+ waiting: "_q",
4384
+ idle: "_r",
4385
+ off: "_s"
4405
4386
  };
4406
- var page_boot_module_default = { root: "_x" };
4387
+ var splitPrimary = "_u _t";
4407
4388
  var bus = new EventTarget();
4408
4389
  function requestDiff(workspaceId, pr) {
4409
4390
  bus.dispatchEvent(new Event("intent"));
@@ -4443,19 +4424,7 @@ function coalesce(fn) {
4443
4424
  function isTouch() {
4444
4425
  return typeof window !== "undefined" && window.matchMedia("(pointer: coarse)").matches;
4445
4426
  }
4446
- var toast_module_default = {
4447
- toast: "_y",
4448
- toastFloat: "_z",
4449
- toastInline: "_A",
4450
- toastError: "_B",
4451
- toastTitle: "_C",
4452
- toastWarn: "_D",
4453
- toastInfo: "_E",
4454
- toastBody: "_F",
4455
- toastContent: "_G",
4456
- toastActions: "_H",
4457
- toastDismiss: "_I _eA"
4458
- };
4427
+ var toastDismiss = "_K _y";
4459
4428
  //#endregion
4460
4429
  //#region src/tags/toast.marko
4461
4430
  var toast_default = _template("w", (input) => {
@@ -4466,27 +4435,27 @@ var toast_default = _template("w", (input) => {
4466
4435
  const kind = inputKind || "error";
4467
4436
  const placement = inputPlacement || "float";
4468
4437
  const kindClass = {
4469
- error: toast_module_default.toastError,
4470
- warn: toast_module_default.toastWarn,
4471
- info: toast_module_default.toastInfo
4438
+ error: "_D",
4439
+ warn: "_F",
4440
+ info: "_G"
4472
4441
  }[kind];
4473
4442
  const placementClass = {
4474
- float: toast_module_default.toastFloat,
4475
- inline: toast_module_default.toastInline
4443
+ float: "_B",
4444
+ inline: "_C"
4476
4445
  }[placement];
4477
4446
  _html(`<div${_attr_class([
4478
- toast_module_default.toast,
4447
+ "_A",
4479
4448
  kindClass,
4480
4449
  placementClass,
4481
4450
  inputClass
4482
4451
  ])} role=${kind === "error" ? "alert" : "status"}${_attrs_partial(htmlInput, {
4483
4452
  class: 1,
4484
4453
  role: 1
4485
- }, "a", $scope0_id, "div")}><div${_attr_class(toast_module_default.toastBody)}>`);
4454
+ }, "a", $scope0_id, "div")}><div${_attr_class("_H")}>`);
4486
4455
  _if(() => {
4487
4456
  if (title) {
4488
4457
  const $scope1_id = _scope_id();
4489
- _html(`<strong${_attr_class(toast_module_default.toastTitle)}>${_escape(title)}${_el_resume($scope1_id, "b", $sg__input_title)}</strong>`);
4458
+ _html(`<strong${_attr_class("_E")}>${_escape(title)}${_el_resume($scope1_id, "b", $sg__input_title)}</strong>`);
4490
4459
  $si__input_title && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
4491
4460
  return 0;
4492
4461
  }
@@ -4494,7 +4463,7 @@ var toast_default = _template("w", (input) => {
4494
4463
  _if(() => {
4495
4464
  if (content) {
4496
4465
  const $scope2_id = _scope_id();
4497
- _html(`<div${_attr_class(toast_module_default.toastContent)}>`);
4466
+ _html(`<div${_attr_class("_I")}>`);
4498
4467
  _dynamic_tag($scope2_id, "b", content, {}, 0, 0, $sg__input_content);
4499
4468
  _html("</div>");
4500
4469
  $si__input_content && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
@@ -4505,7 +4474,7 @@ var toast_default = _template("w", (input) => {
4505
4474
  _if(() => {
4506
4475
  if (action || onDismiss) {
4507
4476
  const $scope3_id = _scope_id();
4508
- _html(`<div${_attr_class(toast_module_default.toastActions)}>`);
4477
+ _html(`<div${_attr_class("_J")}>`);
4509
4478
  _if(() => {
4510
4479
  if (action) {
4511
4480
  const $scope4_id = _scope_id();
@@ -4517,7 +4486,7 @@ var toast_default = _template("w", (input) => {
4517
4486
  _if(() => {
4518
4487
  if (onDismiss) {
4519
4488
  const $scope5_id = _scope_id();
4520
- _html(`<button${_attr_class(toast_module_default.toastDismiss)} type=button title=Dismiss aria-label=Dismiss>×</button>${_el_resume($scope5_id, "a")}`);
4489
+ _html(`<button${_attr_class(toastDismiss)} type=button title=Dismiss aria-label=Dismiss>×</button>${_el_resume($scope5_id, "a")}`);
4521
4490
  _script($scope5_id, "w0");
4522
4491
  writeScope($scope5_id, { _: _scope_with_id($scope3_id) });
4523
4492
  return 0;
@@ -4597,36 +4566,13 @@ function phaseOf(status) {
4597
4566
  function sessionPhase(state) {
4598
4567
  return state?.phase === "working" ? "working" : state?.phase === "waiting" ? "waiting" : state?.alive ? "idle" : "off";
4599
4568
  }
4600
- var palette_module_default = {
4601
- paletteBackdrop: "_R",
4602
- palette: "_S",
4603
- inline: "_T",
4604
- rows: "_U",
4605
- rowWrap: "_V",
4606
- row: "_W",
4607
- rowMore: "_X",
4608
- hi: "_Y",
4609
- archived: "_Z",
4610
- cmdRow: "_0",
4611
- onboard: "_1",
4612
- rowName: "_2",
4613
- rowNameText: "_3",
4614
- rowStats: "_4",
4615
- open: "_5",
4616
- stat: "_6",
4617
- rowRepos: "_7",
4618
- paletteFoot: "_8",
4619
- hint: "_9",
4620
- archivedLink: "__",
4621
- newSessionPop: "_ba"
4622
- };
4623
4569
  //#endregion
4624
4570
  //#region src/tags/icons/icon-base.marko
4625
4571
  var icon_base_default = _template("B", (input) => {
4626
4572
  const $scope0_reason = _scope_reason();
4627
4573
  const $scope0_id = _scope_id();
4628
4574
  const size = input.size ?? 15;
4629
- _html(`<svg${_attr_class([ui_module_default.icon, input.class])}${_attr("width", size)}${_attr("height", size)} viewBox="0 0 24 24" fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round aria-hidden=true><path${_attr("d", input.d)}></path>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</svg>${_el_resume($scope0_id, "a", _serialize_guard($scope0_reason, 0))}`);
4575
+ _html(`<svg${_attr_class(["_c", input.class])}${_attr("width", size)}${_attr("height", size)} viewBox="0 0 24 24" fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round aria-hidden=true><path${_attr("d", input.d)}></path>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</svg>${_el_resume($scope0_id, "a", _serialize_guard($scope0_reason, 0))}`);
4630
4576
  _serialize_if($scope0_reason, 1) && writeScope($scope0_id, {});
4631
4577
  });
4632
4578
  //#endregion
@@ -4697,7 +4643,7 @@ var icon_agent_default = _template("z", (input) => {
4697
4643
  _if(() => {
4698
4644
  if (d) {
4699
4645
  const $scope1_id = _scope_id();
4700
- _html(`<svg${_attr_class([ui_module_default.icon, input.class])}${_attr("width", size)}${_attr("height", size)} viewBox="0 0 24 24" fill=currentColor fill-rule=evenodd aria-hidden=true><path${_attr("d", d)}></path>${_el_resume($scope1_id, "b", $sg__input_agent)}</svg>${_el_resume($scope1_id, "a", $sg__input_size__OR__input_class)}`);
4646
+ _html(`<svg${_attr_class(["_c", input.class])}${_attr("width", size)}${_attr("height", size)} viewBox="0 0 24 24" fill=currentColor fill-rule=evenodd aria-hidden=true><path${_attr("d", d)}></path>${_el_resume($scope1_id, "b", $sg__input_agent)}</svg>${_el_resume($scope1_id, "a", $sg__input_size__OR__input_class)}`);
4701
4647
  $si__input_size__OR__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
4702
4648
  return 0;
4703
4649
  } else {
@@ -4761,7 +4707,7 @@ var palette_default = _template("o", (input) => {
4761
4707
  run: () => input.onNewSession(currentWs, settings?.preferredAgent || "claude")
4762
4708
  }
4763
4709
  ].filter((r) => r.kind === "cmd" && fuzzy(query || "", r.label));
4764
- const rows = [
4710
+ const rows$1 = [
4765
4711
  ...matches(active).map((ws) => ({
4766
4712
  kind: "ws",
4767
4713
  ws
@@ -4774,7 +4720,7 @@ var palette_default = _template("o", (input) => {
4774
4720
  ...commands,
4775
4721
  { kind: "new" }
4776
4722
  ];
4777
- const hi = Math.min(hiRaw, rows.length - 1);
4723
+ const hi = Math.min(hiRaw, rows$1.length - 1);
4778
4724
  const pick = _resume((row) => {
4779
4725
  if (!row) return;
4780
4726
  if (row.kind === "new") input.onNew();
@@ -4784,17 +4730,17 @@ var palette_default = _template("o", (input) => {
4784
4730
  _if(() => {
4785
4731
  if (!input.inline) {
4786
4732
  const $scope5_id = _scope_id();
4787
- _html(`<div${_attr_class(palette_module_default.paletteBackdrop)}></div>${_el_resume($scope5_id, "a")}`);
4733
+ _html(`<div${_attr_class("_1")}></div>${_el_resume($scope5_id, "a")}`);
4788
4734
  _script($scope5_id, "o4");
4789
4735
  writeScope($scope5_id, {});
4790
4736
  return 0;
4791
4737
  }
4792
4738
  }, $scope0_id, "a", $sg__input_inline, $sg__input_inline, 1, 0, 1);
4793
- _html(`<div${_attr_class([palette_module_default.palette, { [palette_module_default.inline]: input.inline }])} data-palette${input.inline ? " data-inline" : ""} role=dialog aria-label=Workspaces>`);
4739
+ _html(`<div${_attr_class(["_3", { ["_2"]: input.inline }])} data-palette${input.inline ? " data-inline" : ""} role=dialog aria-label=Workspaces>`);
4794
4740
  _if(() => {
4795
4741
  if (input.inline && !input.workspaces.length) {
4796
4742
  const $scope8_id = _scope_id();
4797
- _html(`<div${_attr_class(palette_module_default.onboard)}><p>A <strong>workspace</strong> checks out one or more repos as git worktrees on a shared branch and gives each agent session its own terminal. Create one to get started.</p><p>Pick your preferred agent below — new sessions and the quick-create button use it. GitHub access uses your <code>gh</code> login.</p></div>`);
4743
+ _html(`<div${_attr_class("_ba")}><p>A <strong>workspace</strong> checks out one or more repos as git worktrees on a shared branch and gives each agent session its own terminal. Create one to get started.</p><p>Pick your preferred agent below — new sessions and the quick-create button use it. GitHub access uses your <code>gh</code> login.</p></div>`);
4798
4744
  _serialize_if($scope0_reason, 0) && writeScope($scope8_id, {});
4799
4745
  return 0;
4800
4746
  }
@@ -4802,50 +4748,50 @@ var palette_default = _template("o", (input) => {
4802
4748
  _html(`<input${_attr_input_value($scope0_id, "d", query || "", _resume(function(v) {
4803
4749
  query = v;
4804
4750
  hiRaw = 0;
4805
- }, "o0", $scope0_id))} autofocus placeholder="Jump to workspace…" aria-label="Filter workspaces">${_el_resume($scope0_id, "d")}<ul${_attr_class(palette_module_default.rows)}>`);
4806
- _for_of(rows, (row, i) => {
4751
+ }, "o0", $scope0_id))} autofocus placeholder="Jump to workspace…" aria-label="Filter workspaces">${_el_resume($scope0_id, "d")}<ul${_attr_class("_4")}>`);
4752
+ _for_of(rows$1, (row$1, i) => {
4807
4753
  const $scope1_id = _scope_id();
4808
- _html(`<li><div${_attr_class(palette_module_default.rowWrap)}><button${_attr_class([palette_module_default.row, {
4809
- [palette_module_default.hi]: i === hi,
4810
- [palette_module_default.archived]: row.kind === "ws" && row.archived
4754
+ _html(`<li><div${_attr_class("_5")}><button${_attr_class(["_8", {
4755
+ ["_7"]: i === hi,
4756
+ ["_6"]: row$1.kind === "ws" && row$1.archived
4811
4757
  }])}>`);
4812
4758
  _if(() => {
4813
- if (row.kind === "new") {
4759
+ if (row$1.kind === "new") {
4814
4760
  const $scope10_id = _scope_id();
4815
- _html(`<span${_attr_class(palette_module_default.rowName)}>+ New workspace</span>`);
4761
+ _html(`<span${_attr_class("_bb")}>+ New workspace</span>`);
4816
4762
  writeScope($scope10_id, {});
4817
4763
  return 0;
4818
- } else if (row.kind === "cmd") {
4764
+ } else if (row$1.kind === "cmd") {
4819
4765
  const $scope9_id = _scope_id();
4820
- _html(`<span${_attr_class([palette_module_default.rowName, palette_module_default.cmdRow])}>▸ <!>${_escape(row.label)}${_el_resume($scope9_id, "b")}</span>`);
4766
+ _html(`<span${_attr_class(["_bb", "__"])}>▸ <!>${_escape(row$1.label)}${_el_resume($scope9_id, "b")}</span>`);
4821
4767
  writeScope($scope9_id, {});
4822
4768
  return 1;
4823
4769
  } else {
4824
4770
  const $scope2_id = _scope_id();
4825
- const st = input.status[row.ws.id];
4771
+ const st = input.status[row$1.ws.id];
4826
4772
  const rowPrs = (st?.repos || []).flatMap((r) => r.prs || []);
4827
- _html(`<span${_attr_class(palette_module_default.rowName)}><span${_attr_class([ui_module_default.dot, ui_module_default[phaseOf(st)]])}></span>${_el_resume($scope2_id, "b")}<span${_attr_class(palette_module_default.rowNameText)}>${_escape(row.ws.name)}${_el_resume($scope2_id, "d")}</span>`);
4773
+ _html(`<span${_attr_class("_bb")}><span${_attr_class(["_o", phase[phaseOf(st)]])}></span>${_el_resume($scope2_id, "b")}<span${_attr_class("_bc")}>${_escape(row$1.ws.name)}${_el_resume($scope2_id, "d")}</span>`);
4828
4774
  _if(() => {
4829
- if (row.ws.id === input.selectedId) {
4775
+ if (row$1.ws.id === input.selectedId) {
4830
4776
  const $scope14_id = _scope_id();
4831
- _html(`<span${_attr_class([ui_module_default.chip, palette_module_default.open])}>open</span>`);
4777
+ _html(`<span${_attr_class(["_h", "_be"])}>open</span>`);
4832
4778
  writeScope($scope14_id, {});
4833
4779
  return 0;
4834
4780
  }
4835
4781
  }, $scope2_id, "e", 1, 1, 1, 0, 1);
4836
4782
  _if(() => {
4837
- if (row.archived) {
4783
+ if (row$1.archived) {
4838
4784
  const $scope15_id = _scope_id();
4839
- _html(`<span${_attr_class(ui_module_default.chip)}>archived</span>`);
4785
+ _html(`<span${_attr_class("_h")}>archived</span>`);
4840
4786
  writeScope($scope15_id, {});
4841
4787
  return 0;
4842
4788
  }
4843
4789
  }, $scope2_id, "f", 1, 1, 1, 0, 1);
4844
- _html(`<span${_attr_class(palette_module_default.rowStats)}>`);
4790
+ _html(`<span${_attr_class("_bd")}>`);
4845
4791
  _if(() => {
4846
4792
  if (st?.agents) {
4847
4793
  const $scope11_id = _scope_id();
4848
- _html(`<span${_attr_class([ui_module_default.chip, palette_module_default.stat])}${_attr("title", `${st.agents} running session${st.agents === 1 ? "" : "s"}${st.working ? ` — ${st.working} working` : ""}${st.waiting ? ` — ${st.waiting} waiting on you` : ""}`)}>${_escape(st.agents)}${_el_resume($scope11_id, "b")}</span>${_el_resume($scope11_id, "a")}`);
4794
+ _html(`<span${_attr_class(["_h", "_bf"])}${_attr("title", `${st.agents} running session${st.agents === 1 ? "" : "s"}${st.working ? ` — ${st.working} working` : ""}${st.waiting ? ` — ${st.waiting} waiting on you` : ""}`)}>${_escape(st.agents)}${_el_resume($scope11_id, "b")}</span>${_el_resume($scope11_id, "a")}`);
4849
4795
  writeScope($scope11_id, {});
4850
4796
  return 0;
4851
4797
  }
@@ -4853,7 +4799,7 @@ var palette_default = _template("o", (input) => {
4853
4799
  _if(() => {
4854
4800
  if (rowPrs.length) {
4855
4801
  const $scope13_id = _scope_id();
4856
- _html(`<span${_attr_class([ui_module_default.chip, palette_module_default.stat])}${_attr("title", `${rowPrs.length} open PR${rowPrs.length === 1 ? "" : "s"}`)}>${_escape(rowPrs.length)}${_el_resume($scope13_id, "b")} PR<!>${rowPrs.length === 1 ? "" : "s"}${_el_resume($scope13_id, "c")}</span>${_el_resume($scope13_id, "a")}`);
4802
+ _html(`<span${_attr_class(["_h", "_bf"])}${_attr("title", `${rowPrs.length} open PR${rowPrs.length === 1 ? "" : "s"}`)}>${_escape(rowPrs.length)}${_el_resume($scope13_id, "b")} PR<!>${rowPrs.length === 1 ? "" : "s"}${_el_resume($scope13_id, "c")}</span>${_el_resume($scope13_id, "a")}`);
4857
4803
  writeScope($scope13_id, {});
4858
4804
  return 0;
4859
4805
  }
@@ -4861,15 +4807,15 @@ var palette_default = _template("o", (input) => {
4861
4807
  _if(() => {
4862
4808
  if ((st?.ports || []).length) {
4863
4809
  const $scope12_id = _scope_id();
4864
- _html(`<span${_attr_class([ui_module_default.chip, palette_module_default.stat])}${_attr("title", st.ports.map((p) => `:${p.port} ${p.cmd}`).join("\n"))}>:<!>${_escape(st.ports.length)}${_el_resume($scope12_id, "b")}</span>${_el_resume($scope12_id, "a")}`);
4810
+ _html(`<span${_attr_class(["_h", "_bf"])}${_attr("title", st.ports.map((p) => `:${p.port} ${p.cmd}`).join("\n"))}>:<!>${_escape(st.ports.length)}${_el_resume($scope12_id, "b")}</span>${_el_resume($scope12_id, "a")}`);
4865
4811
  writeScope($scope12_id, {});
4866
4812
  return 0;
4867
4813
  }
4868
4814
  }, $scope2_id, "j", 1, 1, 1, 0, 1);
4869
- _html(`</span></span><span${_attr_class(palette_module_default.rowRepos)}>`);
4870
- _for_of(st?.repos || row.ws.repos, (repo) => {
4815
+ _html(`</span></span><span${_attr_class("_bg")}>`);
4816
+ _for_of(st?.repos || row$1.ws.repos, (repo) => {
4871
4817
  const $scope16_id = _scope_id();
4872
- _html(`<span${_attr_class(ui_module_default.mono)}>${_escape(repo.worktree)}${_el_resume($scope16_id, "b")}</span>`);
4818
+ _html(`<span${_attr_class("_m")}>${_escape(repo.worktree)}${_el_resume($scope16_id, "b")}</span>`);
4873
4819
  writeScope($scope16_id, {});
4874
4820
  }, "full_name", $scope2_id, "k", 1, 1, 1, "</span>", 1);
4875
4821
  _subscribe($si__input_status && $input_status__closures, _subscribe($si__input_selectedId && $input_selectedId__closures, writeScope($scope2_id, {
@@ -4884,16 +4830,16 @@ var palette_default = _template("o", (input) => {
4884
4830
  }
4885
4831
  }, $scope1_id, "b", 1, 1, 1, "</button>");
4886
4832
  _if(() => {
4887
- if (row.kind === "ws") {
4833
+ if (row$1.kind === "ws") {
4888
4834
  const $scope3_id = _scope_id();
4889
- _html(`<button${_attr_class(palette_module_default.rowMore)} title="Review changes">`);
4835
+ _html(`<button${_attr_class("_9")} title="Review changes">`);
4890
4836
  icon_diff_default({ size: 13 });
4891
- _html(`</button>${_el_resume($scope3_id, "a")}<button${_attr_class(palette_module_default.rowMore)} title="Manage workspace">`);
4837
+ _html(`</button>${_el_resume($scope3_id, "a")}<button${_attr_class("_9")} title="Manage workspace">`);
4892
4838
  icon_manage_default({ size: 13 });
4893
4839
  const newPopId = _id();
4894
- _html(`</button>${_el_resume($scope3_id, "c")}<button${_attr_class(palette_module_default.rowMore)} title="New session"${_attr("popovertarget", newPopId)}>`);
4840
+ _html(`</button>${_el_resume($scope3_id, "c")}<button${_attr_class("_9")} title="New session"${_attr("popovertarget", newPopId)}>`);
4895
4841
  icon_plus_default({ size: 13 });
4896
- _html(`</button>${_el_resume($scope3_id, "e")}<div${_attr("id", newPopId)} popover=auto${_attr_class(palette_module_default.newSessionPop)}>`);
4842
+ _html(`</button>${_el_resume($scope3_id, "e")}<div${_attr("id", newPopId)} popover=auto${_attr_class("_bk")}>`);
4897
4843
  _for_of([...input.settings?.agents || [], "shell"], (agent) => {
4898
4844
  const $scope4_id = _scope_id();
4899
4845
  _html("<button>");
@@ -4922,31 +4868,31 @@ var palette_default = _template("o", (input) => {
4922
4868
  _html("</div></li>");
4923
4869
  _script($scope1_id, "o7");
4924
4870
  writeScope($scope1_id, {
4925
- e: row,
4926
- f: row?.kind,
4927
- g: row?.archived,
4928
- h: row?.label,
4929
- i: row?.ws,
4930
- j: row?.ws?.id,
4931
- k: row?.ws?.name,
4932
- l: row?.ws?.repos,
4871
+ e: row$1,
4872
+ f: row$1?.kind,
4873
+ g: row$1?.archived,
4874
+ h: row$1?.label,
4875
+ i: row$1?.ws,
4876
+ j: row$1?.ws?.id,
4877
+ k: row$1?.ws?.name,
4878
+ l: row$1?.ws?.repos,
4933
4879
  m: i
4934
4880
  });
4935
4881
  }, (r) => r.kind === "new" ? "new" : r.kind === "cmd" ? `cmd:${r.label}` : r.ws.id, $scope0_id, "e", 1, 1, 1, "</ul>", 1);
4936
4882
  _if(() => {
4937
4883
  if (archived.length && !query) {
4938
4884
  const $scope7_id = _scope_id();
4939
- _html(`<button${_attr_class(palette_module_default.archivedLink)}>${`archived (${_escape(`${archived.length}`)})`}${_el_resume($scope7_id, "b")}</button>${_el_resume($scope7_id, "a")}`);
4885
+ _html(`<button${_attr_class("_bj")}>${`archived (${_escape(`${archived.length}`)})`}${_el_resume($scope7_id, "b")}</button>${_el_resume($scope7_id, "a")}`);
4940
4886
  _script($scope7_id, "o8");
4941
4887
  writeScope($scope7_id, {});
4942
4888
  return 0;
4943
4889
  }
4944
4890
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
4945
- _html(`<div${_attr_class(palette_module_default.paletteFoot)}><span></span><span${_attr_class(palette_module_default.hint)}>↑↓ navigate · ↵ open · ⌘1–9 switch · esc close</span>`);
4891
+ _html(`<div${_attr_class("_bh")}><span></span><span${_attr_class("_bi")}>↑↓ navigate · ↵ open · ⌘1–9 switch · esc close</span>`);
4946
4892
  _if(() => {
4947
4893
  if (settings) {
4948
4894
  const $scope6_id = _scope_id();
4949
- _html(`<label${_attr_class(ui_module_default.dim)}>`);
4895
+ _html(`<label${_attr_class("_l")}>`);
4950
4896
  _attr_select_value($scope6_id, "b", settings.preferredAgent, _resume(function(v) {
4951
4897
  settings = {
4952
4898
  ...settings,
@@ -5005,8 +4951,8 @@ var palette_default = _template("o", (input) => {
5005
4951
  ak: matches,
5006
4952
  al: currentWs,
5007
4953
  an: commands,
5008
- ap: rows,
5009
- aq: rows.length,
4954
+ ap: rows$1,
4955
+ aq: rows$1.length,
5010
4956
  as: hi,
5011
4957
  au: pick,
5012
4958
  a9: input.queryChange || void 0,
@@ -5017,45 +4963,11 @@ var palette_default = _template("o", (input) => {
5017
4963
  });
5018
4964
  _resume_branch($scope0_id);
5019
4965
  });
5020
- var new_workspace_module_default = {
5021
- content: "_bj _bd",
5022
- actions: "_bk",
5023
- barPrimary: "_bl",
5024
- iconBtn: "_bm _eA",
5025
- spinning: "_bn _eB",
5026
- field: "_bo",
5027
- section: "_bp",
5028
- reposHead: "_bq",
5029
- curRepos: "_br",
5030
- curRepo: "_bs",
5031
- curFull: "_bt",
5032
- curBase: "_bu",
5033
- curRemove: "_bv",
5034
- emptyNote: "_bw",
5035
- steps: "_bx",
5036
- active: "_by",
5037
- stepDone: "_bz",
5038
- archived: "_bA",
5039
- archivedCount: "_bB",
5040
- archivedHint: "_bC",
5041
- archivedList: "_bD",
5042
- archivedCard: "_bE",
5043
- archivedMain: "_bF",
5044
- archivedName: "_bG",
5045
- archivedMeta: "_bH",
5046
- restoreBtn: "_bI",
5047
- btn: "_bJ"
5048
- };
5049
- var page_shell_module_default = {
5050
- page: "_bb",
5051
- body: "_bc",
5052
- content: "_bd",
5053
- contentWide: "_be",
5054
- pageHead: "_bf",
5055
- pageHeadText: "_bg",
5056
- pageMeta: "_bh",
5057
- pageHeadAside: "_bi"
5058
- };
4966
+ //#endregion
4967
+ //#region src/tags/new-workspace.css.ts
4968
+ var content$2 = "_bl _V";
4969
+ var iconBtn$5 = "_bo _y";
4970
+ var spinning$3 = "_bp _z";
5059
4971
  //#endregion
5060
4972
  //#region src/tags/icons/icon-refresh.marko
5061
4973
  var icon_refresh_default = _template("O", (input) => {
@@ -5073,20 +4985,6 @@ var icon_refresh_default = _template("O", (input) => {
5073
4985
  });
5074
4986
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
5075
4987
  });
5076
- var repo_picker_module_default = {
5077
- addRepo: "_bK",
5078
- repoResults: "_bL",
5079
- resultWrap: "_bM",
5080
- hi: "_bN",
5081
- resultRow: "_bO",
5082
- resultBranch: "_bP",
5083
- on: "_bQ",
5084
- branchPick: "_bR",
5085
- branchList: "_bS",
5086
- resultPlus: "_bT",
5087
- repoName: "_bU",
5088
- emptyNote: "_bV"
5089
- };
5090
4988
  //#endregion
5091
4989
  //#region src/tags/repo-picker.marko
5092
4990
  var api$7;
@@ -5136,14 +5034,14 @@ var repo_picker_default = _template("q", (input) => {
5136
5034
  input.onError?.(String(err.message || err));
5137
5035
  }
5138
5036
  }, "q5", $scope0_id);
5139
- _html(`<div${_attr_class(repo_picker_module_default.addRepo)}><input${_attr_input_value($scope0_id, "b", filter, _resume(function(v) {
5037
+ _html(`<div${_attr_class("_bM")}><input${_attr_input_value($scope0_id, "b", filter, _resume(function(v) {
5140
5038
  filter = v;
5141
5039
  highlight = 0;
5142
5040
  }, "q0", $scope0_id))} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input.disabled)}>${_el_resume($scope0_id, "b")}`);
5143
5041
  _if(() => {
5144
5042
  if (filter && !catalog) {
5145
5043
  const $scope8_id = _scope_id();
5146
- _html(`<p${_attr_class(repo_picker_module_default.emptyNote)}>Loading repos…</p>`);
5044
+ _html(`<p${_attr_class("_bX")}>Loading repos…</p>`);
5147
5045
  writeScope($scope8_id, {});
5148
5046
  return 0;
5149
5047
  }
@@ -5151,23 +5049,23 @@ var repo_picker_default = _template("q", (input) => {
5151
5049
  _if(() => {
5152
5050
  if (results.length) {
5153
5051
  const $scope2_id = _scope_id();
5154
- _html(`<ul${_attr_class(repo_picker_module_default.repoResults)}>`);
5052
+ _html(`<ul${_attr_class("_bN")}>`);
5155
5053
  _for_of(results, (repo, i) => {
5156
5054
  const $scope3_id = _scope_id();
5157
- _html(`<li><div${_attr_class([repo_picker_module_default.resultWrap, { [repo_picker_module_default.hi]: i === highlight }])}><button${_attr_class(repo_picker_module_default.resultRow)}>`);
5055
+ _html(`<li><div${_attr_class(["_bP", { ["_bO"]: i === highlight }])}><button${_attr_class("_bQ")}>`);
5158
5056
  icon_plus_default({
5159
5057
  size: 12,
5160
- class: repo_picker_module_default.resultPlus
5058
+ class: "_bV"
5161
5059
  });
5162
- _html(`<span${_attr_class(repo_picker_module_default.repoName)}>${_escape(repo.nameWithOwner)}${_el_resume($scope3_id, "e")}</span></button>${_el_resume($scope3_id, "b")}<button${_attr_class([repo_picker_module_default.resultBranch, { [repo_picker_module_default.on]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>⎇</button>${_el_resume($scope3_id, "f")}</div>${_el_resume($scope3_id, "a")}`);
5060
+ _html(`<span${_attr_class("_bW")}>${_escape(repo.nameWithOwner)}${_el_resume($scope3_id, "e")}</span></button>${_el_resume($scope3_id, "b")}<button${_attr_class(["_bS", { ["_bR"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>⎇</button>${_el_resume($scope3_id, "f")}</div>${_el_resume($scope3_id, "a")}`);
5163
5061
  _if(() => {
5164
5062
  if (branchesFor === repo.nameWithOwner) {
5165
5063
  const $scope4_id = _scope_id();
5166
- _html(`<div${_attr_class(repo_picker_module_default.branchPick)}>`);
5064
+ _html(`<div${_attr_class("_bT")}>`);
5167
5065
  _if(() => {
5168
5066
  if (!branches) {
5169
5067
  const $scope9_id = _scope_id();
5170
- _html(`<p${_attr_class(repo_picker_module_default.emptyNote)}><span${_attr_class(ui_module_default.spin)}></span> Loading branches…</p>`);
5068
+ _html(`<p${_attr_class("_bX")}><span${_attr_class("_w")}></span> Loading branches…</p>`);
5171
5069
  writeScope($scope9_id, {});
5172
5070
  return 0;
5173
5071
  } else {
@@ -5184,17 +5082,17 @@ var repo_picker_default = _template("q", (input) => {
5184
5082
  }
5185
5083
  }, $scope5_id, "a", 1, 1, 1, 0, 1);
5186
5084
  const shown = (branchFilter ? branches.filter((b) => b.toLowerCase().includes(branchFilter.toLowerCase())) : branches).slice(0, 12);
5187
- _html(`<ul${_attr_class(repo_picker_module_default.branchList)}>`);
5085
+ _html(`<ul${_attr_class("_bU")}>`);
5188
5086
  _for_of(shown, (branch) => {
5189
5087
  const $scope7_id = _scope_id();
5190
- _html(`<li><button${_attr_class(repo_picker_module_default.resultRow)}><span${_attr_class([repo_picker_module_default.repoName, ui_module_default.mono])}>${_escape(branch)}${_el_resume($scope7_id, "c")}</span></button>${_el_resume($scope7_id, "a")}</li>`);
5088
+ _html(`<li><button${_attr_class("_bQ")}><span${_attr_class(["_bW", "_m"])}>${_escape(branch)}${_el_resume($scope7_id, "c")}</span></button>${_el_resume($scope7_id, "a")}</li>`);
5191
5089
  _script($scope7_id, "q7");
5192
5090
  writeScope($scope7_id, { e: branch });
5193
5091
  }, (b) => b, $scope5_id, "c", 1, 1, 1, 0, 1);
5194
5092
  _if(() => {
5195
5093
  if (!shown.length) {
5196
5094
  const $scope10_id = _scope_id();
5197
- _html(`<li><p${_attr_class(repo_picker_module_default.emptyNote)}>No branches match.</p></li>`);
5095
+ _html(`<li><p${_attr_class("_bX")}>No branches match.</p></li>`);
5198
5096
  writeScope($scope10_id, {});
5199
5097
  return 0;
5200
5098
  }
@@ -5219,7 +5117,7 @@ var repo_picker_default = _template("q", (input) => {
5219
5117
  return 0;
5220
5118
  } else if (filter && catalog) {
5221
5119
  const $scope1_id = _scope_id();
5222
- _html(`<p${_attr_class(repo_picker_module_default.emptyNote)}>No repos match "<!>${_escape(filter)}${_el_resume($scope1_id, "b")}".</p>`);
5120
+ _html(`<p${_attr_class("_bX")}>No repos match "<!>${_escape(filter)}${_el_resume($scope1_id, "b")}".</p>`);
5223
5121
  writeScope($scope1_id, {});
5224
5122
  return 1;
5225
5123
  }
@@ -5270,8 +5168,8 @@ var new_workspace_default = _template("m", (input) => {
5270
5168
  let busy = false;
5271
5169
  let restoring = null;
5272
5170
  let error = null;
5273
- let steps = [];
5274
- const archived = (input.workspaces || []).filter((ws) => ws.status === "archived").slice().sort((a, b) => b.created_at.localeCompare(a.created_at));
5171
+ let steps$1 = [];
5172
+ const archived$2 = (input.workspaces || []).filter((ws) => ws.status === "archived").slice().sort((a, b) => b.created_at.localeCompare(a.created_at));
5275
5173
  const prog = {
5276
5174
  last: 0,
5277
5175
  op: ""
@@ -5281,7 +5179,7 @@ var new_workspace_default = _template("m", (input) => {
5281
5179
  if (e.op !== prog.op) continue;
5282
5180
  if (e.seq && e.seq <= prog.last) continue;
5283
5181
  if (e.seq) prog.last = e.seq;
5284
- steps = steps.concat(e.message);
5182
+ steps$1 = steps$1.concat(e.message);
5285
5183
  }
5286
5184
  }, "m1", $scope0_id);
5287
5185
  const addRepo = _resume((fullName, baseBranch) => {
@@ -5318,7 +5216,7 @@ var new_workspace_default = _template("m", (input) => {
5318
5216
  if (restoring) return;
5319
5217
  busy = true;
5320
5218
  error = null;
5321
- steps = [];
5219
+ steps$1 = [];
5322
5220
  prog.op = Math.random().toString(36).slice(2, 10);
5323
5221
  try {
5324
5222
  prog.last = (await api$6("/api/progress")).seq;
@@ -5349,7 +5247,7 @@ var new_workspace_default = _template("m", (input) => {
5349
5247
  }
5350
5248
  }, "m5", $scope0_id);
5351
5249
  const titleId = _id();
5352
- _html(`<div${_attr_class(page_shell_module_default.page)} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class(page_shell_module_default.body)}><div${_attr_class(new_workspace_module_default.content)}><header${_attr_class(page_shell_module_default.pageHead)}><div${_attr_class(page_shell_module_default.pageHeadText)}><h1${_attr("id", titleId)}>New workspace</h1><p${_attr_class(page_shell_module_default.pageMeta)}>Name the space and pick repos — or restore an archived one below.</p></div></header>`);
5250
+ _html(`<div${_attr_class("_T")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_U")}><div${_attr_class(content$2)}><header${_attr_class("_X")}><div${_attr_class("_Y")}><h1${_attr("id", titleId)}>New workspace</h1><p${_attr_class("_Z")}>Name the space and pick repos — or restore an archived one below.</p></div></header>`);
5353
5251
  _if(() => {
5354
5252
  if (error) {
5355
5253
  const $scope4_id = _scope_id();
@@ -5370,23 +5268,23 @@ var new_workspace_default = _template("m", (input) => {
5370
5268
  return 0;
5371
5269
  }
5372
5270
  }, $scope0_id, "h", 1, 1, 1, 0, 1);
5373
- _html(`<label${_attr_class(new_workspace_module_default.field)}><span>Name</span><input${_attr_input_value($scope0_id, "j", name, _resume((_new_name) => {
5271
+ _html(`<label${_attr_class("_bq")}><span>Name</span><input${_attr_input_value($scope0_id, "j", name, _resume((_new_name) => {
5374
5272
  name = _new_name;
5375
- }, "m0", $scope0_id))} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "j")}</label><section${_attr_class(new_workspace_module_default.section)}><div${_attr_class(new_workspace_module_default.reposHead)}><h2>Repos</h2><button${_attr_class([new_workspace_module_default.iconBtn, { [new_workspace_module_default.spinning]: catalogRefreshing }])} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
5273
+ }, "m0", $scope0_id))} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "j")}</label><section${_attr_class("_br")}><div${_attr_class("_bs")}><h2>Repos</h2><button${_attr_class([iconBtn$5, { [spinning$3]: catalogRefreshing }])} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
5376
5274
  icon_refresh_default({ size: 14 });
5377
- _html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class(new_workspace_module_default.curRepos)}>`);
5275
+ _html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("_bt")}>`);
5378
5276
  _for_of(selected, (repo) => {
5379
5277
  const $scope1_id = _scope_id();
5380
- _html(`<li${_attr_class(new_workspace_module_default.curRepo)}><span${_attr_class(new_workspace_module_default.curFull)}>${_escape(repo.fullName)}${_el_resume($scope1_id, "c")}</span>`);
5278
+ _html(`<li${_attr_class("_bu")}><span${_attr_class("_bv")}>${_escape(repo.fullName)}${_el_resume($scope1_id, "c")}</span>`);
5381
5279
  _if(() => {
5382
5280
  if (repo.baseBranch) {
5383
5281
  const $scope8_id = _scope_id();
5384
- _html(`<span${_attr_class([new_workspace_module_default.curBase, ui_module_default.mono])} title="Base branch">⎇ <!>${_escape(repo.baseBranch)}${_el_resume($scope8_id, "b")}</span>`);
5282
+ _html(`<span${_attr_class(["_bw", "_m"])} title="Base branch">⎇ <!>${_escape(repo.baseBranch)}${_el_resume($scope8_id, "b")}</span>`);
5385
5283
  writeScope($scope8_id, {});
5386
5284
  return 0;
5387
5285
  }
5388
5286
  }, $scope1_id, "d", 1, 1, 1, 0, 1);
5389
- _html(`<button${_attr_class(new_workspace_module_default.curRemove)}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>×</button>${_el_resume($scope1_id, "e")}</li>`);
5287
+ _html(`<button${_attr_class("_bx")}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>×</button>${_el_resume($scope1_id, "e")}</li>`);
5390
5288
  _script($scope1_id, "m11");
5391
5289
  writeScope($scope1_id, {
5392
5290
  h: repo?.fullName,
@@ -5396,7 +5294,7 @@ var new_workspace_default = _template("m", (input) => {
5396
5294
  _if(() => {
5397
5295
  if (!selected.length) {
5398
5296
  const $scope9_id = _scope_id();
5399
- _html(`<li${_attr_class(new_workspace_module_default.emptyNote)}>No repos yet — search below to add one (or create empty).</li>`);
5297
+ _html(`<li${_attr_class("_by")}>No repos yet — search below to add one (or create empty).</li>`);
5400
5298
  writeScope($scope9_id, {});
5401
5299
  return 0;
5402
5300
  }
@@ -5419,21 +5317,21 @@ var new_workspace_default = _template("m", (input) => {
5419
5317
  _var($scope0_id, "s", $childScope, "m12");
5420
5318
  _html("</section>");
5421
5319
  _if(() => {
5422
- if (busy && steps.length) {
5320
+ if (busy && steps$1.length) {
5423
5321
  const $scope6_id = _scope_id();
5424
- _html(`<ul${_attr_class(new_workspace_module_default.steps)}>`);
5425
- _for_of(steps, (step, i) => {
5322
+ _html(`<ul${_attr_class("_bz")}>`);
5323
+ _for_of(steps$1, (step, i) => {
5426
5324
  const $scope7_id = _scope_id();
5427
- _html(`<li${_attr_class({ [new_workspace_module_default.active]: i === steps.length - 1 })}>`);
5325
+ _html(`<li${_attr_class({ ["_bA"]: i === steps$1.length - 1 })}>`);
5428
5326
  _if(() => {
5429
- if (i === steps.length - 1) {
5327
+ if (i === steps$1.length - 1) {
5430
5328
  const $scope10_id = _scope_id();
5431
- _html(`<span${_attr_class(ui_module_default.spin)}></span>`);
5329
+ _html(`<span${_attr_class("_w")}></span>`);
5432
5330
  writeScope($scope10_id, {});
5433
5331
  return 0;
5434
5332
  } else {
5435
5333
  const $scope11_id = _scope_id();
5436
- _html(`<span${_attr_class(new_workspace_module_default.stepDone)}>✓</span>`);
5334
+ _html(`<span${_attr_class("_bB")}>✓</span>`);
5437
5335
  writeScope($scope11_id, {});
5438
5336
  return 1;
5439
5337
  }
@@ -5445,22 +5343,22 @@ var new_workspace_default = _template("m", (input) => {
5445
5343
  return 0;
5446
5344
  }
5447
5345
  }, $scope0_id, "t", 1, 1, 1, 0, 1);
5448
- _html(`<div${_attr_class(new_workspace_module_default.actions)}><button type=button${_attr_class(ui_module_default.btn)}${_attr("disabled", busy || !!restoring)}>Cancel</button>${_el_resume($scope0_id, "v")}<button type=button${_attr_class([
5449
- ui_module_default.btn,
5450
- ui_module_default.primary,
5451
- new_workspace_module_default.barPrimary
5346
+ _html(`<div${_attr_class("_bm")}><button type=button${_attr_class("_d")}${_attr("disabled", busy || !!restoring)}>Cancel</button>${_el_resume($scope0_id, "v")}<button type=button${_attr_class([
5347
+ "_d",
5348
+ "_e",
5349
+ "_bn"
5452
5350
  ])}${_attr("disabled", busy || !!restoring || !name.trim())}>${busy ? "Creating…" : "Create workspace"}${_el_resume($scope0_id, "x")}</button>${_el_resume($scope0_id, "w")}</div>`);
5453
5351
  _if(() => {
5454
- if (archived.length) {
5352
+ if (archived$2.length) {
5455
5353
  const $scope2_id = _scope_id();
5456
- _html(`<section${_attr_class(new_workspace_module_default.archived)}><div${_attr_class(new_workspace_module_default.reposHead)}><h2>Archived</h2><span${_attr_class(new_workspace_module_default.archivedCount)}>${_escape(archived.length)}${_el_resume($scope2_id, "d", $sg__input_workspaces)}</span></div><p${_attr_class(new_workspace_module_default.archivedHint)}>Restore a parked space instead of creating a new one.</p><ul${_attr_class(new_workspace_module_default.archivedList)}>`);
5457
- _for_of(archived, (ws) => {
5354
+ _html(`<section${_attr_class("_bC")}><div${_attr_class("_bs")}><h2>Archived</h2><span${_attr_class("_bD")}>${_escape(archived$2.length)}${_el_resume($scope2_id, "d", $sg__input_workspaces)}</span></div><p${_attr_class("_bE")}>Restore a parked space instead of creating a new one.</p><ul${_attr_class("_bF")}>`);
5355
+ _for_of(archived$2, (ws) => {
5458
5356
  const $scope3_id = _scope_id();
5459
- _html(`<li${_attr_class(new_workspace_module_default.archivedCard)}><div${_attr_class(new_workspace_module_default.archivedMain)}><span${_attr_class(new_workspace_module_default.archivedName)}>${_escape(ws.name)}${_el_resume($scope3_id, "d", $sg__input_workspaces)}</span><span${_attr_class([new_workspace_module_default.archivedMeta, ui_module_default.mono])}${_attr("title", ws.display_path || ws.path)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope3_id, "f", $sg__input_workspaces)}</span>${_el_resume($scope3_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class([ui_module_default.btn, new_workspace_module_default.restoreBtn])}${_attr("disabled", busy || !!restoring)}>`);
5357
+ _html(`<li${_attr_class("_bG")}><div${_attr_class("_bH")}><span${_attr_class("_bI")}>${_escape(ws.name)}${_el_resume($scope3_id, "d", $sg__input_workspaces)}</span><span${_attr_class(["_bJ", "_m"])}${_attr("title", ws.display_path || ws.path)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope3_id, "f", $sg__input_workspaces)}</span>${_el_resume($scope3_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(["_d", "_bK"])}${_attr("disabled", busy || !!restoring)}>`);
5460
5358
  _if(() => {
5461
5359
  if (restoring === ws.id) {
5462
5360
  const $scope12_id = _scope_id();
5463
- _html(`<span${_attr_class(ui_module_default.spin)}></span> Restoring…`);
5361
+ _html(`<span${_attr_class("_w")}></span> Restoring…`);
5464
5362
  writeScope($scope12_id, {});
5465
5363
  return 0;
5466
5364
  } else {
@@ -5495,10 +5393,10 @@ var new_workspace_default = _template("m", (input) => {
5495
5393
  a9: busy,
5496
5394
  aa: restoring,
5497
5395
  ae: error,
5498
- af: steps,
5499
- ag: steps?.length,
5500
- ai: $si__input_workspaces && archived,
5501
- aj: $si__input_workspaces && archived?.length,
5396
+ af: steps$1,
5397
+ ag: steps$1?.length,
5398
+ ai: $si__input_workspaces && archived$2,
5399
+ aj: $si__input_workspaces && archived$2?.length,
5502
5400
  al: prog.op,
5503
5401
  am: prog.last,
5504
5402
  ao: takeProgress,
@@ -5558,16 +5456,6 @@ function diffTreeOpen() {
5558
5456
  function diffUncommitted() {
5559
5457
  return get("diff-uncommitted") === "1";
5560
5458
  }
5561
- var work_view_module_default = {
5562
- workView: "_J",
5563
- sideWrap: "_K",
5564
- navPage: "_L",
5565
- mainCol: "_M",
5566
- termArea: "_N",
5567
- asBar: "_O",
5568
- padInline: "_P",
5569
- emptySess: "_Q"
5570
- };
5571
5459
  //#endregion
5572
5460
  //#region src/client/api.ts
5573
5461
  /** Fetch JSON from an API route. Error bodies are always `{ error: string }`;
@@ -5630,25 +5518,8 @@ function vapidKey(base64) {
5630
5518
  const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
5631
5519
  return Uint8Array.from(raw, (c) => c.charCodeAt(0));
5632
5520
  }
5633
- var side_nav_module_default = {
5634
- iconBtn: "_dJ _eA",
5635
- spinning: "_dK _eB",
5636
- navToggle: "_dL _eA",
5637
- notifyBtn: "_dM _eA",
5638
- sideNav: "_dN",
5639
- pageHead: "_dO",
5640
- pageHeadActions: "_dP",
5641
- sectionLabel: "_dQ",
5642
- newSpaceBtn: "_dR",
5643
- page: "_dS",
5644
- sideList: "_dT",
5645
- sideRail: "_dU",
5646
- sideFoot: "_dV",
5647
- footSpacer: "_dW",
5648
- on: "_dX",
5649
- closed: "_dY",
5650
- railPop: "_dZ"
5651
- };
5521
+ var iconBtn$4 = "_cU _y";
5522
+ var navToggle = "_cW _y";
5652
5523
  _template("C", (input) => {
5653
5524
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
5654
5525
  const $scope0_id = _scope_id();
@@ -5681,35 +5552,7 @@ var icon_gauge_default = _template("J", (input) => {
5681
5552
  });
5682
5553
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
5683
5554
  });
5684
- var side_nav_item_module_default = {
5685
- railBtn: "_e2 _eA",
5686
- current: "_e3",
5687
- railDot: "_e4",
5688
- ws: "_e5",
5689
- railPopWs: "_e6",
5690
- wsRow: "_e7",
5691
- wsBtn: "_e8",
5692
- wsActions: "_e9",
5693
- rowIcon: "_e_",
5694
- on: "_fa",
5695
- newSessionPop: "_fb",
5696
- wsText: "_fc",
5697
- wsName: "_fd",
5698
- wsMeta: "_fe",
5699
- wsOpenHint: "_ff",
5700
- statusDot: "_fg",
5701
- pageCard: "_fh",
5702
- sessTitle: "_fi",
5703
- sessActions: "_fj",
5704
- sessRenameDot: "_fk",
5705
- sessRename: "_fl",
5706
- close: "_fm",
5707
- sess: "_fn",
5708
- armed: "_fo",
5709
- sessions: "_fp",
5710
- sessBtn: "_fq",
5711
- sessIcon: "_fr"
5712
- };
5555
+ var railBtn = "_fe _y";
5713
5556
  //#endregion
5714
5557
  //#region src/tags/icons/icon-edit.marko
5715
5558
  var icon_edit_default = _template("H", (input) => {
@@ -5727,17 +5570,12 @@ var icon_edit_default = _template("H", (input) => {
5727
5570
  });
5728
5571
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
5729
5572
  });
5730
- var side_nav_chips_module_default = {
5731
- sideChips: "_fC",
5732
- prChip: "_fD",
5733
- portChip: "_fE",
5734
- seg: "_fF",
5735
- portOpen: "_fG",
5736
- action: "_fH",
5737
- dismiss: "_fI",
5738
- armed: "_fJ",
5739
- merged: "_fK",
5740
- closed: "_fL"
5573
+ var prChip = "_fG _h _fF";
5574
+ var portChip = "_fH _h _fF";
5575
+ var prState = {
5576
+ open: "_fM",
5577
+ merged: "_fN",
5578
+ closed: "_fO"
5741
5579
  };
5742
5580
  //#endregion
5743
5581
  //#region src/tags/icons/icon-xmark.marko
@@ -5801,26 +5639,26 @@ var side_nav_chips_default = _template("r", (input) => {
5801
5639
  const name = repo.full_name.split("/")[1];
5802
5640
  return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/")[1] === name) ? repo.full_name : name;
5803
5641
  }, "r2", $scope1_id);
5804
- _html(`<div${_attr_class(side_nav_chips_module_default.sideChips)}>`);
5642
+ _html(`<div${_attr_class("_fE")}>`);
5805
5643
  _for_of(repos, (repo) => {
5806
5644
  const $scope2_id = _scope_id();
5807
- _for_of(repo.prs || [], (pr) => {
5645
+ _for_of(repo.prs || [], (pr$1) => {
5808
5646
  const $scope3_id = _scope_id();
5809
- const open = isOpen(pr);
5647
+ const open = isOpen(pr$1);
5810
5648
  _html(`<span${_attr_class([
5811
- ui_module_default.chip,
5812
- side_nav_chips_module_default.prChip,
5649
+ "_h",
5650
+ prChip,
5813
5651
  {
5814
- [ui_module_default.pr]: open && !pr.isDraft,
5815
- [ui_module_default.draft]: open && pr.isDraft,
5816
- [side_nav_chips_module_default.merged]: pr.state === "MERGED",
5817
- [side_nav_chips_module_default.closed]: pr.state === "CLOSED"
5652
+ ["_j"]: open && !pr$1.isDraft,
5653
+ ["_k"]: open && pr$1.isDraft,
5654
+ [prState.merged]: pr$1.state === "MERGED",
5655
+ [prState.closed]: pr$1.state === "CLOSED"
5818
5656
  }
5819
- ])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(side_nav_chips_module_default.seg)}${_attr("href", pr.url)} target=_blank rel=noopener>${_escape(repoLabel(repo))}${_el_resume($scope3_id, "c", $sg__input_status_repos)}#${_sep($sg__input_status_repos)}${_escape(pr.number)}${_el_resume($scope3_id, "d", $sg__input_status_repos)}</a>${_el_resume($scope3_id, "b", $sg__input_status_repos)}`);
5657
+ ])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class("_fI")}${_attr("href", pr$1.url)} target=_blank rel=noopener>${_escape(repoLabel(repo))}${_el_resume($scope3_id, "c", $sg__input_status_repos)}#${_sep($sg__input_status_repos)}${_escape(pr$1.number)}${_el_resume($scope3_id, "d", $sg__input_status_repos)}</a>${_el_resume($scope3_id, "b", $sg__input_status_repos)}`);
5820
5658
  _if(() => {
5821
5659
  if (open) {
5822
5660
  const $scope4_id = _scope_id();
5823
- _html(`<button type=button${_attr_class([side_nav_chips_module_default.seg, side_nav_chips_module_default.action])}${_attr("title", `Review #${pr.number} diff`)}>`);
5661
+ _html(`<button type=button${_attr_class(["_fI", "_fJ"])}${_attr("title", `Review #${pr$1.number} diff`)}>`);
5824
5662
  icon_diff_default({ size: 12 });
5825
5663
  _html(`</button>${_el_resume($scope4_id, "a")}`);
5826
5664
  _script($scope4_id, "r3");
@@ -5829,10 +5667,10 @@ var side_nav_chips_default = _template("r", (input) => {
5829
5667
  } else {
5830
5668
  const $scope6_id = _scope_id();
5831
5669
  _html(`<button type=button${_attr_class([
5832
- side_nav_chips_module_default.seg,
5833
- side_nav_chips_module_default.action,
5834
- side_nav_chips_module_default.dismiss
5835
- ])}${_attr("title", `Clear #${pr.number} from this list`)}>`);
5670
+ "_fI",
5671
+ "_fJ",
5672
+ "_fK"
5673
+ ])}${_attr("title", `Clear #${pr$1.number} from this list`)}>`);
5836
5674
  icon_xmark_default({ size: 12 });
5837
5675
  _html(`</button>${_el_resume($scope6_id, "a")}`);
5838
5676
  _script($scope6_id, "r4");
@@ -5842,7 +5680,7 @@ var side_nav_chips_default = _template("r", (input) => {
5842
5680
  }, $scope3_id, "e", $sg__input_status_repos, $sg__input_status_repos, $sg__input_status_repos, 0, 1);
5843
5681
  _html(`</span>${_el_resume($scope3_id, "a", $sg__input_status_repos)}`);
5844
5682
  _subscribe($si__input_status_repos && $if_content__repoLabel__closures, writeScope($scope3_id, {
5845
- l: pr?.number,
5683
+ l: pr$1?.number,
5846
5684
  _: _scope_with_id($scope2_id)
5847
5685
  }));
5848
5686
  }, "number", $scope2_id, "a", $sg__input_status_repos, $sg__input_status_repos, $sg__input_status_repos, 0, 1);
@@ -5855,11 +5693,11 @@ var side_nav_chips_default = _template("r", (input) => {
5855
5693
  }, "full_name", $scope1_id, "b", $sg__input_status_repos, $sg__input_status_repos, $sg__input_status_repos__OR__input_status_ports);
5856
5694
  _for_of(ports, (p) => {
5857
5695
  const $scope5_id = _scope_id();
5858
- _html(`<span${_attr_class([ui_module_default.chip, side_nav_chips_module_default.portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class([side_nav_chips_module_default.seg, side_nav_chips_module_default.portOpen])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${p.port}`)}>:${_sep($sg__input_status_ports)}${_escape(p.port)}${_el_resume($scope5_id, "c", $sg__input_status_ports)}</button>${_el_resume($scope5_id, "b")}<button type=button${_attr_class([
5859
- side_nav_chips_module_default.seg,
5860
- side_nav_chips_module_default.action,
5861
- side_nav_chips_module_default.dismiss,
5862
- { [side_nav_chips_module_default.armed]: armedPid === p.pid }
5696
+ _html(`<span${_attr_class(["_h", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_fI", "_fP"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${p.port}`)}>:${_sep($sg__input_status_ports)}${_escape(p.port)}${_el_resume($scope5_id, "c", $sg__input_status_ports)}</button>${_el_resume($scope5_id, "b")}<button type=button${_attr_class([
5697
+ "_fI",
5698
+ "_fJ",
5699
+ "_fK",
5700
+ { ["_fL"]: armedPid === p.pid }
5863
5701
  ])}${armedPid === p.pid ? _attr("title", `Really kill ${p.cmd}?`) : _attr("title", `Kill ${p.cmd} (pid ${p.pid})`)}>`);
5864
5702
  icon_xmark_default({ size: 12 });
5865
5703
  _html(`</button>${_el_resume($scope5_id, "d")}</span>${_el_resume($scope5_id, "a", $sg__input_status_ports)}`);
@@ -5932,41 +5770,41 @@ var side_nav_item_default = _template("s", (input) => {
5932
5770
  renamingId = null;
5933
5771
  if (title) input.onRenameSession?.(s, title);
5934
5772
  }, "s2", $scope0_id);
5935
- const ws = input.workspaces.find((w) => w.id === input.workspaceId);
5773
+ const ws$1 = input.workspaces.find((w) => w.id === input.workspaceId);
5936
5774
  _if(() => {
5937
- if (ws) {
5775
+ if (ws$1) {
5938
5776
  const $scope1_id = _scope_id();
5939
5777
  const st = input.status[input.workspaceId];
5940
- const dot = phaseOf(st);
5778
+ const dot$1 = phaseOf(st);
5941
5779
  _if(() => {
5942
5780
  if (input.rail) {
5943
5781
  const $scope2_id = _scope_id();
5944
- _html(`<button${_attr_class([side_nav_item_module_default.railBtn, { [side_nav_item_module_default.current]: input.current }])}${_attr("title", ws.name)}>${_escape((input.index ?? 0) + 1)}${_el_resume($scope2_id, "b", _serialize_guard($scope0_reason, 18))}<span${_attr_class([
5945
- ui_module_default.dot,
5946
- ui_module_default[dot],
5947
- side_nav_item_module_default.railDot
5782
+ _html(`<button${_attr_class([railBtn, { ["_fd"]: input.current }])}${_attr("title", ws$1.name)}>${_escape((input.index ?? 0) + 1)}${_el_resume($scope2_id, "b", _serialize_guard($scope0_reason, 18))}<span${_attr_class([
5783
+ "_o",
5784
+ phase[dot$1],
5785
+ "_ff"
5948
5786
  ])}></span>${_el_resume($scope2_id, "c", $sg__input_workspaceId__OR__input_status)}</button>${_el_resume($scope2_id, "a")}`);
5949
5787
  _script($scope2_id, "s3");
5950
5788
  _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_name__closures, _subscribe($si__input_index && $input_index__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }))));
5951
5789
  return 0;
5952
5790
  } else {
5953
5791
  const $scope3_id = _scope_id();
5954
- const sessions = input.sessions || [];
5955
- const phaseLabel = dot === "working" ? "Working" : dot === "waiting" ? "Needs you" : dot === "idle" ? "Idle" : "Off";
5956
- const meta = sessions.length === 0 ? phaseLabel : sessions.length === 1 ? `${sessions[0].title || sessions[0].agent} · ${phaseLabel}` : `${sessions.length} sessions · ${phaseLabel}`;
5957
- _html(`<section${_attr_class([side_nav_item_module_default.ws, {
5958
- [side_nav_item_module_default.current]: input.current,
5959
- [side_nav_item_module_default.railPopWs]: input.railPop,
5960
- [side_nav_item_module_default.pageCard]: input.page
5961
- }])}><div${_attr_class(side_nav_item_module_default.wsRow)}><button${_attr_class(side_nav_item_module_default.wsBtn)}><span${_attr_class([
5962
- ui_module_default.dot,
5963
- ui_module_default[dot],
5964
- side_nav_item_module_default.statusDot
5965
- ])}></span>${_el_resume($scope3_id, "d", $sg__input_workspaceId__OR__input_status)}<span${_attr_class(side_nav_item_module_default.wsText)}><span${_attr_class(side_nav_item_module_default.wsName)}>${_escape(ws.name)}${_el_resume($scope3_id, "g", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
5792
+ const sessions$1 = input.sessions || [];
5793
+ const phaseLabel = dot$1 === "working" ? "Working" : dot$1 === "waiting" ? "Needs you" : dot$1 === "idle" ? "Idle" : "Off";
5794
+ const meta = sessions$1.length === 0 ? phaseLabel : sessions$1.length === 1 ? `${sessions$1[0].title || sessions$1[0].agent} · ${phaseLabel}` : `${sessions$1.length} sessions · ${phaseLabel}`;
5795
+ _html(`<section${_attr_class(["_fg", {
5796
+ ["_fd"]: input.current,
5797
+ ["_fh"]: input.railPop,
5798
+ ["_ft"]: input.page
5799
+ }])}><div${_attr_class("_fi")}><button${_attr_class("_fj")}><span${_attr_class([
5800
+ "_o",
5801
+ phase[dot$1],
5802
+ "_fs"
5803
+ ])}></span>${_el_resume($scope3_id, "d", $sg__input_workspaceId__OR__input_status)}<span${_attr_class("_fo")}><span${_attr_class("_fp")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "g", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
5966
5804
  _if(() => {
5967
5805
  if (input.page) {
5968
5806
  const $scope12_id = _scope_id();
5969
- _html(`<span${_attr_class(side_nav_item_module_default.wsMeta)}>${_escape(meta)}${_el_resume($scope12_id, "b", _serialize_guard($scope0_reason, 5))}</span>`);
5807
+ _html(`<span${_attr_class("_fq")}>${_escape(meta)}${_el_resume($scope12_id, "b", _serialize_guard($scope0_reason, 5))}</span>`);
5970
5808
  _serialize_if($scope0_reason, 10) && writeScope($scope12_id, { _: _serialize_if($scope0_reason, 5) && _scope_with_id($scope3_id) });
5971
5809
  return 0;
5972
5810
  }
@@ -5975,7 +5813,7 @@ var side_nav_item_default = _template("s", (input) => {
5975
5813
  _if(() => {
5976
5814
  if (input.page) {
5977
5815
  const $scope4_id = _scope_id();
5978
- _html(`<span${_attr_class(side_nav_item_module_default.wsOpenHint)}>${input.current ? "Open" : ""}${_el_resume($scope4_id, "b", _serialize_guard($scope0_reason, 17))}</span>`);
5816
+ _html(`<span${_attr_class("_fr")}>${input.current ? "Open" : ""}${_el_resume($scope4_id, "b", _serialize_guard($scope0_reason, 17))}</span>`);
5979
5817
  $si__input_workspaces__OR__input_workspaceId__OR__input_rail__OR__input_current__OR__input_page && _subscribe($si__input_current && $input_current__closures, writeScope($scope4_id, {
5980
5818
  _: _scope_with_id($scope3_id),
5981
5819
  Cab: $si__input_current && 2
@@ -5987,17 +5825,17 @@ var side_nav_item_default = _template("s", (input) => {
5987
5825
  _if(() => {
5988
5826
  if (!input.page) {
5989
5827
  const $scope5_id = _scope_id();
5990
- _html(`<div${_attr_class(side_nav_item_module_default.wsActions)}>`);
5828
+ _html(`<div${_attr_class("_fk")}>`);
5991
5829
  _if(() => {
5992
5830
  if (input.onNewSession) {
5993
5831
  const $scope6_id = _scope_id();
5994
5832
  const newPopId = _id();
5995
- _html(`<button${_attr_class(side_nav_item_module_default.rowIcon)} title="New session"${_attr("popovertarget", newPopId)}>`);
5833
+ _html(`<button${_attr_class("_fl")} title="New session"${_attr("popovertarget", newPopId)}>`);
5996
5834
  icon_agent_default({
5997
5835
  agent: "shell",
5998
5836
  size: 12
5999
5837
  });
6000
- _html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(side_nav_item_module_default.newSessionPop)}>`);
5838
+ _html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class("_fn")}>`);
6001
5839
  _for_of([...input.agents || [], "shell"], (agent) => {
6002
5840
  const $scope7_id = _scope_id();
6003
5841
  _html("<button>");
@@ -6026,7 +5864,7 @@ var side_nav_item_default = _template("s", (input) => {
6026
5864
  _if(() => {
6027
5865
  if (input.onReview) {
6028
5866
  const $scope8_id = _scope_id();
6029
- _html(`<button${_attr_class(side_nav_item_module_default.rowIcon)} title="Review changes">`);
5867
+ _html(`<button${_attr_class("_fl")} title="Review changes">`);
6030
5868
  icon_diff_default({ size: 12 });
6031
5869
  _html(`</button>${_el_resume($scope8_id, "a")}`);
6032
5870
  _script($scope8_id, "s6");
@@ -6034,7 +5872,7 @@ var side_nav_item_default = _template("s", (input) => {
6034
5872
  return 0;
6035
5873
  }
6036
5874
  }, $scope5_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
6037
- _html(`<button${_attr_class([side_nav_item_module_default.rowIcon, { [side_nav_item_module_default.on]: input.managing }])} title="Manage workspace" aria-pressed=${input.managing ? "true" : "false"}>`);
5875
+ _html(`<button${_attr_class(["_fl", { ["_fm"]: input.managing }])} title="Manage workspace" aria-pressed=${input.managing ? "true" : "false"}>`);
6038
5876
  icon_manage_default({ size: 12 });
6039
5877
  _html(`</button>${_el_resume($scope5_id, "d")}</div>`);
6040
5878
  _script($scope5_id, "s7");
@@ -6042,17 +5880,17 @@ var side_nav_item_default = _template("s", (input) => {
6042
5880
  return 0;
6043
5881
  }
6044
5882
  }, $scope3_id, "j", $sg__input_page, $sg__input_page, $sg__input_page, 0, 1);
6045
- _html(`</div><div${_attr_class(side_nav_item_module_default.sessions)}>`);
6046
- _for_of(sessions.length > 1 ? sessions : [], (s) => {
5883
+ _html(`</div><div${_attr_class("_fB")}>`);
5884
+ _for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
6047
5885
  const $scope9_id = _scope_id();
6048
- _html(`<div${_attr_class([side_nav_item_module_default.sess, { [side_nav_item_module_default.current]: s.id === input.currentTab }])}>`);
5886
+ _html(`<div${_attr_class(["_fz", { ["_fd"]: s.id === input.currentTab }])}>`);
6049
5887
  _if(() => {
6050
5888
  if (renamingId === s.id) {
6051
5889
  const $scope11_id = _scope_id();
6052
5890
  _html(`<span${_attr_class([
6053
- ui_module_default.dot,
6054
- ui_module_default[sessionPhase(s.state)],
6055
- side_nav_item_module_default.sessRenameDot
5891
+ "_o",
5892
+ phase[sessionPhase(s.state)],
5893
+ "_fw"
6056
5894
  ])}></span>${_el_resume($scope11_id, "a", $sg__input_sessions)}`);
6057
5895
  _set_serialize_reason({
6058
5896
  1: $sg__input_sessions,
@@ -6062,17 +5900,17 @@ var side_nav_item_default = _template("s", (input) => {
6062
5900
  icon_agent_default({
6063
5901
  agent: s.agent,
6064
5902
  size: 13,
6065
- class: side_nav_item_module_default.sessIcon
5903
+ class: "_fD"
6066
5904
  });
6067
5905
  _html(`<input${_attr_input_value($scope11_id, "c", renameValue, _resume((_new_renameValue) => {
6068
5906
  renameValue = _new_renameValue;
6069
- }, "s0", $scope11_id))}${_attr_class(side_nav_item_module_default.sessRename)} aria-label="Session name">${_el_resume($scope11_id, "c")}`);
5907
+ }, "s0", $scope11_id))}${_attr_class("_fx")} aria-label="Session name">${_el_resume($scope11_id, "c")}`);
6070
5908
  _script($scope11_id, "s8");
6071
5909
  _subscribe($renameValue__closures, writeScope($scope11_id, { b: $si__input_sessions && _existing_scope($childScope2) }));
6072
5910
  return 0;
6073
5911
  } else {
6074
5912
  const $scope10_id = _scope_id();
6075
- _html(`<button${_attr_class(side_nav_item_module_default.sessBtn)}><span${_attr_class([ui_module_default.dot, ui_module_default[sessionPhase(s.state)]])}></span>${_el_resume($scope10_id, "b", $sg__input_sessions)}`);
5913
+ _html(`<button${_attr_class("_fC")}><span${_attr_class(["_o", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope10_id, "b", $sg__input_sessions)}`);
6076
5914
  _set_serialize_reason({
6077
5915
  1: $sg__input_sessions,
6078
5916
  2: $sg__input_sessions
@@ -6081,11 +5919,11 @@ var side_nav_item_default = _template("s", (input) => {
6081
5919
  icon_agent_default({
6082
5920
  agent: s.agent,
6083
5921
  size: 13,
6084
- class: side_nav_item_module_default.sessIcon
5922
+ class: "_fD"
6085
5923
  });
6086
- _html(`<span${_attr_class(side_nav_item_module_default.sessTitle)}>${_escape(s.title || s.agent)}${_el_resume($scope10_id, "e", $sg__input_sessions)}</span></button>${_el_resume($scope10_id, "a")}<div${_attr_class(side_nav_item_module_default.sessActions)}><button${_attr_class(side_nav_item_module_default.rowIcon)} title="Rename session">`);
5924
+ _html(`<span${_attr_class("_fu")}>${_escape(s.title || s.agent)}${_el_resume($scope10_id, "e", $sg__input_sessions)}</span></button>${_el_resume($scope10_id, "a")}<div${_attr_class("_fv")}><button${_attr_class("_fl")} title="Rename session">`);
6087
5925
  icon_edit_default({ size: 12 });
6088
- _html(`</button>${_el_resume($scope10_id, "g")}<button${_attr_class([side_nav_item_module_default.close, { [side_nav_item_module_default.armed]: armedKill === s.id }])} title=${armedKill === s.id ? "\"Really kill this session?\"" : "\"Kill session\""}>×</button>${_el_resume($scope10_id, "i")}</div>`);
5926
+ _html(`</button>${_el_resume($scope10_id, "g")}<button${_attr_class(["_fy", { ["_fA"]: armedKill === s.id }])} title=${armedKill === s.id ? "\"Really kill this session?\"" : "\"Kill session\""}>×</button>${_el_resume($scope10_id, "i")}</div>`);
6089
5927
  _script($scope10_id, "s9");
6090
5928
  _subscribe($armedKill__closures, writeScope($scope10_id, { c: $si__input_sessions && _existing_scope($childScope3) }));
6091
5929
  return 1;
@@ -6114,9 +5952,9 @@ var side_nav_item_default = _template("s", (input) => {
6114
5952
  _html(`</div></section>${_el_resume($scope3_id, "a")}`);
6115
5953
  _script($scope3_id, "s10");
6116
5954
  _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_name__closures, _subscribe($si__input_onReviewPr && $input_onReviewPr__closures, _subscribe($si__input_page && $input_page__closures, _subscribe($si__input_railPop && $input_railPop__closures, _subscribe($si__input_sessions && $input_sessions__closures, _subscribe($si__input_current && $input_current__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope3_id, {
6117
- o: $si__input_workspaceId__OR__input_status && sessions.length,
6118
- q: $si__input_workspaceId__OR__input_status && sessions[0]?.title,
6119
- r: $si__input_workspaceId__OR__input_status && sessions[0]?.agent,
5955
+ o: $si__input_workspaceId__OR__input_status && sessions$1.length,
5956
+ q: $si__input_workspaceId__OR__input_status && sessions$1[0]?.title,
5957
+ r: $si__input_workspaceId__OR__input_status && sessions$1[0]?.agent,
6120
5958
  s: $si__input_sessions && phaseLabel,
6121
5959
  u: $si__input_page && meta,
6122
5960
  _: _scope_with_id($scope1_id),
@@ -6129,7 +5967,7 @@ var side_nav_item_default = _template("s", (input) => {
6129
5967
  }, $scope1_id, "a", _serialize_guard($scope0_reason, 4), $sg__input_rail, $sg__input_rail, 0, 1);
6130
5968
  writeScope($scope1_id, {
6131
5969
  b: $si__input_rail && st,
6132
- c: $si__input_rail && dot,
5970
+ c: $si__input_rail && dot$1,
6133
5971
  _: _scope_with_id($scope0_id)
6134
5972
  });
6135
5973
  return 0;
@@ -6162,7 +6000,7 @@ var side_nav_item_default = _template("s", (input) => {
6162
6000
  a2: renamingId,
6163
6001
  a3: renameValue,
6164
6002
  a5: commitRename,
6165
- a7: $si__input_workspaces__OR__input_workspaceId__OR__input_rail && ws?.name,
6003
+ a7: $si__input_workspaces__OR__input_workspaceId__OR__input_rail && ws$1?.name,
6166
6004
  ab: $si__input_current && $input_current__closures,
6167
6005
  ac: $si__input_index && $input_index__closures,
6168
6006
  ap: $si__input_workspaces__OR__input_workspaceId && $ws_name__closures,
@@ -6283,16 +6121,16 @@ var side_nav_default = _template("t", (input) => {
6283
6121
  const wsSelected = view !== "usage" && view !== "new";
6284
6122
  const otherIds = itemIds.filter((id) => id !== ws.id);
6285
6123
  const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
6286
- _html(`<aside${_attr_class([side_nav_module_default.sideNav, {
6287
- [side_nav_module_default.closed]: !navOpen,
6288
- [side_nav_module_default.page]: isPage
6124
+ _html(`<aside${_attr_class(["_c0", {
6125
+ ["_cY"]: !navOpen,
6126
+ ["_cZ"]: isPage
6289
6127
  }])}${_attr("hidden", view === "diff")}>`);
6290
6128
  _if(() => {
6291
6129
  if (isPage) {
6292
6130
  const $scope1_id = _scope_id();
6293
- _html(`<header${_attr_class(side_nav_module_default.pageHead)}><h1>Workspaces</h1><div${_attr_class(side_nav_module_default.pageHeadActions)}>`);
6131
+ _html(`<header${_attr_class("_c1")}><h1>Workspaces</h1><div${_attr_class("_c2")}>`);
6294
6132
  _if(() => {}, $scope1_id, "c", 1, 1, 1, 0, 1);
6295
- _html(`<button${_attr_class([side_nav_module_default.iconBtn, { [side_nav_module_default.on]: view === "usage" }])} title=Usage aria-pressed=${view === "usage" ? "true" : "false"}>`);
6133
+ _html(`<button${_attr_class([iconBtn$4, { ["_cT"]: view === "usage" }])} title=Usage aria-pressed=${view === "usage" ? "true" : "false"}>`);
6296
6134
  icon_gauge_default({ size: 16 });
6297
6135
  _html(`</button>${_el_resume($scope1_id, "d")}</div></header>`);
6298
6136
  _script($scope1_id, "t18");
@@ -6300,13 +6138,13 @@ var side_nav_default = _template("t", (input) => {
6300
6138
  return 0;
6301
6139
  }
6302
6140
  }, $scope0_id, "b", 1, 1, 1, 0, 1);
6303
- _html(`<div${_attr_class(side_nav_module_default.sideList)}>`);
6141
+ _html(`<div${_attr_class("_c5")}>`);
6304
6142
  _for_of(listIds, (wsId) => {
6305
6143
  const $scope2_id = _scope_id();
6306
6144
  _if(() => {
6307
6145
  if (isPage && wsId === ws.id) {
6308
6146
  const $scope10_id = _scope_id();
6309
- _html(`<h2${_attr_class(side_nav_module_default.sectionLabel)}>Current</h2>`);
6147
+ _html(`<h2${_attr_class("_c3")}>Current</h2>`);
6310
6148
  writeScope($scope10_id, {});
6311
6149
  return 0;
6312
6150
  }
@@ -6314,7 +6152,7 @@ var side_nav_default = _template("t", (input) => {
6314
6152
  _if(() => {
6315
6153
  if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
6316
6154
  const $scope11_id = _scope_id();
6317
- _html(`<h2${_attr_class(side_nav_module_default.sectionLabel)}>Other spaces</h2>`);
6155
+ _html(`<h2${_attr_class("_c3")}>Other spaces</h2>`);
6318
6156
  writeScope($scope11_id, {});
6319
6157
  return 0;
6320
6158
  }
@@ -6413,7 +6251,7 @@ var side_nav_default = _template("t", (input) => {
6413
6251
  railHover = null;
6414
6252
  }, 150);
6415
6253
  }, "t9", $scope3_id);
6416
- _html(`<div${_attr_class(side_nav_module_default.sideRail)}>`);
6254
+ _html(`<div${_attr_class("_c6")}>`);
6417
6255
  _for_of(itemIds, (wsId, i) => {
6418
6256
  const $scope4_id = _scope_id();
6419
6257
  _html("<span>");
@@ -6461,7 +6299,7 @@ var side_nav_default = _template("t", (input) => {
6461
6299
  if (railHover) {
6462
6300
  const $scope5_id = _scope_id();
6463
6301
  const hoverId = railHover.id;
6464
- _html(`<div${_attr_class(side_nav_module_default.railPop)}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
6302
+ _html(`<div${_attr_class("_c9")}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
6465
6303
  _set_serialize_reason({
6466
6304
  0: 1,
6467
6305
  1: 1,
@@ -6565,11 +6403,11 @@ var side_nav_default = _template("t", (input) => {
6565
6403
  return 0;
6566
6404
  }
6567
6405
  }, $scope0_id, "d");
6568
- _html(`<div${_attr_class(side_nav_module_default.sideFoot)}>`);
6406
+ _html(`<div${_attr_class("_c7")}>`);
6569
6407
  _if(() => {
6570
6408
  if (isPage) {
6571
6409
  const $scope6_id = _scope_id();
6572
- _html(`<button${_attr_class([side_nav_module_default.newSpaceBtn, { [side_nav_module_default.on]: view === "new" }])} title="New workspace" aria-pressed=${view === "new" ? "true" : "false"}>`);
6410
+ _html(`<button${_attr_class(["_c4", { ["_cT"]: view === "new" }])} title="New workspace" aria-pressed=${view === "new" ? "true" : "false"}>`);
6573
6411
  icon_folder_plus_default({ size: 16 });
6574
6412
  _html(` New workspace</button>${_el_resume($scope6_id, "a")}`);
6575
6413
  _script($scope6_id, "t21");
@@ -6577,7 +6415,7 @@ var side_nav_default = _template("t", (input) => {
6577
6415
  return 0;
6578
6416
  } else {
6579
6417
  const $scope7_id = _scope_id();
6580
- _html(`<button${_attr_class(side_nav_module_default.navToggle)} title=${navOpen ? "\"Collapse sidebar\"" : "\"Expand sidebar\""}>`);
6418
+ _html(`<button${_attr_class(navToggle)} title=${navOpen ? "\"Collapse sidebar\"" : "\"Expand sidebar\""}>`);
6581
6419
  _if(() => {
6582
6420
  if (navOpen) {
6583
6421
  const $scope12_id = _scope_id();
@@ -6591,11 +6429,11 @@ var side_nav_default = _template("t", (input) => {
6591
6429
  return 1;
6592
6430
  }
6593
6431
  }, $scope7_id, "a", 1, 1, 1, "</button>", 1);
6594
- _html(`<div${_attr_class([ui_module_default.spacer, side_nav_module_default.footSpacer])}></div>`);
6432
+ _html(`<div${_attr_class(["_n", "_c8"])}></div>`);
6595
6433
  _if(() => {}, $scope7_id, "c", 1, 1, 1, 0, 1);
6596
- _html(`<button${_attr_class([side_nav_module_default.iconBtn, { [side_nav_module_default.on]: view === "usage" }])} title=Usage aria-pressed=${view === "usage" ? "true" : "false"}>`);
6434
+ _html(`<button${_attr_class([iconBtn$4, { ["_cT"]: view === "usage" }])} title=Usage aria-pressed=${view === "usage" ? "true" : "false"}>`);
6597
6435
  icon_gauge_default({ size: 15 });
6598
- _html(`</button>${_el_resume($scope7_id, "d")}<button${_attr_class([side_nav_module_default.iconBtn, { [side_nav_module_default.on]: view === "new" }])} title="New workspace" aria-pressed=${view === "new" ? "true" : "false"}>`);
6436
+ _html(`</button>${_el_resume($scope7_id, "d")}<button${_attr_class([iconBtn$4, { ["_cT"]: view === "new" }])} title="New workspace" aria-pressed=${view === "new" ? "true" : "false"}>`);
6599
6437
  icon_folder_plus_default({ size: 16 });
6600
6438
  _html(`</button>${_el_resume($scope7_id, "f")}`);
6601
6439
  _script($scope7_id, "t23");
@@ -6913,63 +6751,13 @@ function treeRows(files) {
6913
6751
  walk(root, 0, "");
6914
6752
  return rows;
6915
6753
  }
6916
- var diff_view_module_default = {
6917
- iconBtn: "_cR _eA",
6918
- spinning: "_cS _eB",
6919
- diffView: "_cT",
6920
- treeToggle: "_cU _eA",
6921
- diffTools: "_cV",
6922
- on: "_cW",
6923
- diffCol: "_cX",
6924
- chrome: "_cY",
6925
- backBtn: "_cZ",
6926
- headText: "_c0",
6927
- pageTitle: "_c1",
6928
- headWithSend: "_c2",
6929
- toolCtrl: "_c3",
6930
- findBtn: "_c4",
6931
- findSlot: "_c5",
6932
- findSlotClosed: "_c6",
6933
- toolsFind: "_c7",
6934
- fileFindActive: "_c8",
6935
- pathFindActive: "_c9",
6936
- diffMain: "_c_",
6937
- toastMeta: "_da",
6938
- diffHead: "_db",
6939
- filterSlot: "_dc",
6940
- diffStats: "_dd",
6941
- statAdd: "_de",
6942
- statDel: "_df",
6943
- statEmpty: "_dg",
6944
- statSep: "_dh",
6945
- scope: "_di",
6946
- scopeOpt: "_dj",
6947
- scopeOn: "_dk",
6948
- scopeChip: "_dl",
6949
- repoSection: "_dm",
6950
- repoSep: "_dn",
6951
- repoSepCollapsed: "_do",
6952
- repoWorktree: "_dp _l",
6953
- repoState: "_dq",
6954
- repoTitle: "_dr _k",
6955
- repoMeta: "_ds",
6956
- compare: "_dt",
6957
- compareBase: "_du",
6958
- compareHead: "_dv",
6959
- compareVs: "_dw",
6960
- compareTopic: "_dx",
6961
- files: "_dy",
6962
- file: "_dz",
6963
- diffWait: "_dA",
6964
- treeChev: "_dB",
6965
- treeChevOpen: "_dC",
6966
- treeChevBusy: "_dD",
6967
- status: "_dE",
6968
- path: "_dF",
6969
- centerPad: "_dG",
6970
- filesBtn: "_dH",
6971
- diffPad: "_dI"
6972
- };
6754
+ //#endregion
6755
+ //#region src/tags/diff-view.css.ts
6756
+ var iconBtn$3 = "_c_ _y";
6757
+ var spinning$2 = "_da _z";
6758
+ var treeToggle = "_dd _y";
6759
+ var repoWorktree = "_dI _m";
6760
+ var repoTitle = "_dK _l";
6973
6761
  //#endregion
6974
6762
  //#region src/tags/icons/icon-back.marko
6975
6763
  var icon_back_default = _template("A", (input) => {
@@ -6987,10 +6775,6 @@ var icon_back_default = _template("A", (input) => {
6987
6775
  });
6988
6776
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
6989
6777
  });
6990
- var file_filter_module_default = {
6991
- wrap: "_eZ",
6992
- fileFilter: "_e0"
6993
- };
6994
6778
  //#endregion
6995
6779
  //#region src/tags/file-filter.marko
6996
6780
  var file_filter_default = _template("j", (input) => {
@@ -7020,9 +6804,9 @@ var file_filter_default = _template("j", (input) => {
7020
6804
  pending = v;
7021
6805
  box.timer = setTimeout(flush, 150);
7022
6806
  }, "j2", $scope0_id);
7023
- _html(`<div${_attr_class(file_filter_module_default.wrap)}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
6807
+ _html(`<div${_attr_class("_e2")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
7024
6808
  type(v);
7025
- }, "j0", $scope0_id))}${_attr_class(file_filter_module_default.fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
6809
+ }, "j0", $scope0_id))}${_attr_class("_e3")} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
7026
6810
  _script($scope0_id, "j3");
7027
6811
  writeScope($scope0_id, {
7028
6812
  e: _serialize_if($scope0_reason, 1) && input.value,
@@ -7037,7 +6821,6 @@ var file_filter_default = _template("j", (input) => {
7037
6821
  });
7038
6822
  _resume_branch($scope0_id);
7039
6823
  });
7040
- var diff_send_module_default = { headActions: "_e1" };
7041
6824
  //#endregion
7042
6825
  //#region src/tags/diff-send.marko
7043
6826
  var diff_send_default = _template("g", (input) => {
@@ -7047,17 +6830,17 @@ var diff_send_default = _template("g", (input) => {
7047
6830
  let sendTarget = null;
7048
6831
  const sessions = input.sessions || [];
7049
6832
  const sendPick = sessions.some((s) => s.id === sendTarget) ? sendTarget : sessions[0]?.id ?? null;
7050
- _html(`<span${_attr_class(diff_send_module_default.headActions)}><button type=button${_attr_class(ui_module_default.btn)} title="Copy comments as markdown">Copy${_el_resume($scope0_id, "c")}</button>${_el_resume($scope0_id, "b")}`);
6833
+ _html(`<span${_attr_class("_eF")}><button type=button${_attr_class("_d")} title="Copy comments as markdown">Copy${_el_resume($scope0_id, "c")}</button>${_el_resume($scope0_id, "b")}`);
7051
6834
  _if(() => {
7052
6835
  if (sessions.length === 1) {
7053
6836
  const $scope1_id = _scope_id();
7054
- _html(`<button type=button${_attr_class([ui_module_default.btn, ui_module_default.primary])}${_attr("disabled", sending)}>${`Send to ${_escape(`${sessions[0].title || sessions[0].agent}`)}`}${_el_resume($scope1_id, "b")}</button>${_el_resume($scope1_id, "a")}`);
6837
+ _html(`<button type=button${_attr_class(["_d", "_e"])}${_attr("disabled", sending)}>${`Send to ${_escape(`${sessions[0].title || sessions[0].agent}`)}`}${_el_resume($scope1_id, "b")}</button>${_el_resume($scope1_id, "a")}`);
7055
6838
  _script($scope1_id, "g1");
7056
6839
  writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
7057
6840
  return 0;
7058
6841
  } else if (sessions.length) {
7059
6842
  const $scope2_id = _scope_id();
7060
- _html(`<span${_attr_class(ui_module_default.splitPrimary)}><button type=button${_attr("disabled", sending)}>Send to${_el_resume($scope2_id, "c")}</button>${_el_resume($scope2_id, "b")}`);
6843
+ _html(`<span${_attr_class(splitPrimary)}><button type=button${_attr("disabled", sending)}>Send to${_el_resume($scope2_id, "c")}</button>${_el_resume($scope2_id, "b")}`);
7061
6844
  _attr_select_value($scope2_id, "d", sendTarget, _resume((_new_sendTarget) => {
7062
6845
  sendTarget = _new_sendTarget;
7063
6846
  }, "g0", $scope2_id), () => {
@@ -8528,19 +8311,7 @@ function clip(line, at, len) {
8528
8311
  const end = Math.min(line.length, at + len + pad);
8529
8312
  return (start > 0 ? "…" : "") + line.slice(start, end) + (end < line.length ? "…" : "");
8530
8313
  }
8531
- var diff_find_module_default = {
8532
- findBar: "_eD",
8533
- closed: "_eE",
8534
- findInput: "_eF",
8535
- termOverlay: "_eG",
8536
- count: "_eH",
8537
- findIconBtn: "_eI _eA",
8538
- findWrap: "_eJ",
8539
- termOverlayWrap: "_eK",
8540
- termKeybarWrap: "_eL",
8541
- termKeybar: "_eM",
8542
- termClosed: "_eN"
8543
- };
8314
+ var findIconBtn = "_eM _y";
8544
8315
  //#endregion
8545
8316
  //#region src/tags/diff-find.marko
8546
8317
  var setSearchPaint$1;
@@ -8610,9 +8381,9 @@ var diff_find_default = _template("f", (input) => {
8610
8381
  el.select();
8611
8382
  }, 0);
8612
8383
  }, "f5", $scope0_id);
8613
- _html(`<div${_attr_class([diff_find_module_default.findBar, !open && diff_find_module_default.closed])} aria-hidden=${open ? "false" : "true"}><input${_attr_input_value($scope0_id, "b", query || "", _resume(function(v) {
8384
+ _html(`<div${_attr_class(["_eI", !open && "_eH"])} aria-hidden=${open ? "false" : "true"}><input${_attr_input_value($scope0_id, "b", query || "", _resume(function(v) {
8614
8385
  type(v);
8615
- }, "f0", $scope0_id))}${_attr_class(diff_find_module_default.findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in diffs" aria-label="Find in diffs">${_el_resume($scope0_id, "b")}<span${_attr_class(diff_find_module_default.count)}>${open && (query || "").trim() ? hits.length ? `${_escape(`${at + 1}`)}/${_escape(`${hits.length}`)}` : "0/0" : ""}${_el_resume($scope0_id, "d")}</span><button type=button${_attr_class(diff_find_module_default.findIconBtn)} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class(diff_find_module_default.findIconBtn)} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class(diff_find_module_default.findIconBtn)} title="Close find" tabindex=${open ? "0" : "-1"}>×</button>${_el_resume($scope0_id, "g")}</div>${_el_resume($scope0_id, "a")}`);
8386
+ }, "f0", $scope0_id))}${_attr_class("_eJ")} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in diffs" aria-label="Find in diffs">${_el_resume($scope0_id, "b")}<span${_attr_class("_eL")}>${open && (query || "").trim() ? hits.length ? `${_escape(`${at + 1}`)}/${_escape(`${hits.length}`)}` : "0/0" : ""}${_el_resume($scope0_id, "d")}</span><button type=button${_attr_class(findIconBtn)} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class(findIconBtn)} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class(findIconBtn)} title="Close find" tabindex=${open ? "0" : "-1"}>×</button>${_el_resume($scope0_id, "g")}</div>${_el_resume($scope0_id, "a")}`);
8616
8387
  _script($scope0_id, "f6");
8617
8388
  _script($scope0_id, "f7");
8618
8389
  _script($scope0_id, "f8");
@@ -8662,14 +8433,13 @@ var icon_search_default = _template("P", (input) => {
8662
8433
  });
8663
8434
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
8664
8435
  });
8665
- var diff_file_module_default = { diffFile: "_eO" };
8666
8436
  //#endregion
8667
8437
  //#region src/tags/diff-file.marko
8668
8438
  var diff_file_default = _template("e", (input) => {
8669
8439
  _scope_reason();
8670
8440
  const $scope0_id = _scope_id();
8671
8441
  _el($scope0_id, "e0");
8672
- _html(`<div${_attr_class(diff_file_module_default.diffFile)}></div>${_el_resume($scope0_id, "a")}`);
8442
+ _html(`<div${_attr_class("_eG")}></div>${_el_resume($scope0_id, "a")}`);
8673
8443
  _script($scope0_id, "e1");
8674
8444
  writeScope($scope0_id, {
8675
8445
  d: input.file,
@@ -8686,18 +8456,6 @@ var diff_file_default = _template("e", (input) => {
8686
8456
  });
8687
8457
  _resume_branch($scope0_id);
8688
8458
  });
8689
- var diff_tree_module_default = {
8690
- tree: "_fs",
8691
- closed: "_ft",
8692
- treeRepo: "_fu",
8693
- treeRepoName: "_fv",
8694
- treeDir: "_fw",
8695
- treeFile: "_fx",
8696
- treeFileName: "_fy",
8697
- treeNote: "_fz",
8698
- treeChev: "_fA",
8699
- status: "_fB"
8700
- };
8701
8459
  //#endregion
8702
8460
  //#region src/tags/diff-tree.marko
8703
8461
  var diff_tree_default = _template("h", (input) => {
@@ -8710,10 +8468,10 @@ var diff_tree_default = _template("h", (input) => {
8710
8468
  let openedRepos = input.openedRepos;
8711
8469
  let collapsedDirs = /* @__PURE__ */ new Set();
8712
8470
  const commentKeys = input.commentKeys || /* @__PURE__ */ new Set();
8713
- _html(`<aside${_attr_class([diff_tree_module_default.tree, { [diff_tree_module_default.closed]: input.open === false }])}>`);
8471
+ _html(`<aside${_attr_class(["_e5", { ["_e4"]: input.open === false }])}>`);
8714
8472
  _for_of(input.sections, (section) => {
8715
8473
  const $scope1_id = _scope_id();
8716
- _html(`<div${_attr_class(diff_tree_module_default.treeRepo)}><button type=button${_attr_class([diff_tree_module_default.treeRepoName, { [diff_tree_module_default.closed]: collapsedRepos.has(section.id) }])}><span${_attr_class(diff_tree_module_default.treeChev)}>${collapsedRepos.has(section.id) ? "▸" : "▾"}${_el_resume($scope1_id, "d")}</span>${_sep($sg__input_sections)}${_escape(section.label)}${_el_resume($scope1_id, "e", $sg__input_sections)}</button>${_el_resume($scope1_id, "b")}`);
8474
+ _html(`<div${_attr_class("_e6")}><button type=button${_attr_class(["_e7", { ["_e4"]: collapsedRepos.has(section.id) }])}><span${_attr_class("_fb")}>${collapsedRepos.has(section.id) ? "▸" : "▾"}${_el_resume($scope1_id, "d")}</span>${_sep($sg__input_sections)}${_escape(section.label)}${_el_resume($scope1_id, "e", $sg__input_sections)}</button>${_el_resume($scope1_id, "b")}`);
8717
8475
  _if(() => {
8718
8476
  if (!collapsedRepos.has(section.id) || openedRepos.has(section.id)) {
8719
8477
  const $scope2_id = _scope_id();
@@ -8740,17 +8498,17 @@ var diff_tree_default = _template("h", (input) => {
8740
8498
  _if(() => {
8741
8499
  if (!hiddenByCollapse(row) && row.kind === "dir") {
8742
8500
  const $scope5_id = _scope_id();
8743
- _html(`<button type=button${_attr_class([diff_tree_module_default.treeDir, { [diff_tree_module_default.closed]: collapsedDirs.has(dirKey(row.path)) }])}${_attr("title", row.path)}${_attr_style(`padding-left:${.35 + row.depth * .75}rem`)}><span${_attr_class(diff_tree_module_default.treeChev)}>${collapsedDirs.has(dirKey(row.path)) ? "▸" : "▾"}${_el_resume($scope5_id, "c")}</span>${_escape(row.label)}${_el_resume($scope5_id, "d", $sg__input_sections)}/</button>${_el_resume($scope5_id, "a")}`);
8501
+ _html(`<button type=button${_attr_class(["_e8", { ["_e4"]: collapsedDirs.has(dirKey(row.path)) }])}${_attr("title", row.path)}${_attr_style(`padding-left:${.35 + row.depth * .75}rem`)}><span${_attr_class("_fb")}>${collapsedDirs.has(dirKey(row.path)) ? "▸" : "▾"}${_el_resume($scope5_id, "c")}</span>${_escape(row.label)}${_el_resume($scope5_id, "d", $sg__input_sections)}/</button>${_el_resume($scope5_id, "a")}`);
8744
8502
  _script($scope5_id, "h3");
8745
8503
  _subscribe($si__input_sections && $if_content__dirKey__closures, _subscribe($collapsedDirs__closures, writeScope($scope5_id, { Cv: 1 })));
8746
8504
  return 0;
8747
8505
  } else if (!hiddenByCollapse(row) && row.kind !== "dir") {
8748
8506
  const $scope4_id = _scope_id();
8749
- _html(`<button type=button${_attr_class(diff_tree_module_default.treeFile)}${_attr("title", row.file.path)}${_attr_style(`padding-left:${.5 + row.depth * .75}rem`)}><span${_attr_class(diff_tree_module_default.status)}${_attr("data-status", row.file.status)}>${_escape(row.file.status)}${_el_resume($scope4_id, "c", $sg__input_sections)}</span>${_el_resume($scope4_id, "b", $sg__input_sections)}<span${_attr_class(diff_tree_module_default.treeFileName)}>${_escape(row.name)}${_el_resume($scope4_id, "e", $sg__input_sections)}</span>`);
8507
+ _html(`<button type=button${_attr_class("_e9")}${_attr("title", row.file.path)}${_attr_style(`padding-left:${.5 + row.depth * .75}rem`)}><span${_attr_class("_fc")}${_attr("data-status", row.file.status)}>${_escape(row.file.status)}${_el_resume($scope4_id, "c", $sg__input_sections)}</span>${_el_resume($scope4_id, "b", $sg__input_sections)}<span${_attr_class("_e_")}>${_escape(row.name)}${_el_resume($scope4_id, "e", $sg__input_sections)}</span>`);
8750
8508
  _if(() => {
8751
8509
  if (commentKeys.has(row.file.key)) {
8752
8510
  const $scope6_id = _scope_id();
8753
- _html(`<span${_attr_class(diff_tree_module_default.treeNote)}>💬</span>`);
8511
+ _html(`<span${_attr_class("_fa")}>💬</span>`);
8754
8512
  _serialize_if($scope0_reason, 0) && writeScope($scope6_id, {});
8755
8513
  return 0;
8756
8514
  }
@@ -8809,18 +8567,9 @@ var diff_tree_default = _template("h", (input) => {
8809
8567
  });
8810
8568
  _resume_branch($scope0_id);
8811
8569
  });
8812
- var diff_file_sheet_module_default = {
8813
- iconBtn: "_eP _eA",
8814
- spinning: "_eQ _eB",
8815
- sheetBackdrop: "_eR",
8816
- fileSheet: "_eS",
8817
- sheetHead: "_eT",
8818
- fileCount: "_eU",
8819
- sheetList: "_eV",
8820
- sheetFile: "_eW",
8821
- sheetPath: "_eX",
8822
- status: "_eY"
8823
- };
8570
+ //#endregion
8571
+ //#region src/tags/diff-file-sheet.css.ts
8572
+ var iconBtn$2 = "_eS _y";
8824
8573
  //#endregion
8825
8574
  //#region src/tags/diff-file-sheet.marko
8826
8575
  var diff_file_sheet_default = _template("d", (input) => {
@@ -8833,10 +8582,10 @@ var diff_file_sheet_default = _template("d", (input) => {
8833
8582
  _if(() => {
8834
8583
  if (open) {
8835
8584
  const $scope1_id = _scope_id();
8836
- _html(`<div${_attr_class(diff_file_sheet_module_default.sheetBackdrop)}></div>${_el_resume($scope1_id, "a")}<div${_attr_class(diff_file_sheet_module_default.fileSheet)} role=dialog aria-label="Jump to file"><div${_attr_class(diff_file_sheet_module_default.sheetHead)}><strong>Files</strong><span${_attr_class(diff_file_sheet_module_default.fileCount)}>${_escape(input.files.length)}${_el_resume($scope1_id, "e", _serialize_guard($scope0_reason, 6))}${_sep($sg__input_total__OR__input_files_length)}${input.files.length !== total ? ` / ${_escape(`${total}`)}` : ""}${_el_resume($scope1_id, "f", $sg__input_total__OR__input_files_length)}</span><button type=button${_attr_class(diff_file_sheet_module_default.iconBtn)} title=Close aria-label=Close>×</button>${_el_resume($scope1_id, "g")}</div><div${_attr_class(diff_file_sheet_module_default.sheetList)}>`);
8585
+ _html(`<div${_attr_class("_eU")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_eV")} role=dialog aria-label="Jump to file"><div${_attr_class("_eW")}><strong>Files</strong><span${_attr_class("_eX")}>${_escape(input.files.length)}${_el_resume($scope1_id, "e", _serialize_guard($scope0_reason, 6))}${_sep($sg__input_total__OR__input_files_length)}${input.files.length !== total ? ` / ${_escape(`${total}`)}` : ""}${_el_resume($scope1_id, "f", $sg__input_total__OR__input_files_length)}</span><button type=button${_attr_class(iconBtn$2)} title=Close aria-label=Close>×</button>${_el_resume($scope1_id, "g")}</div><div${_attr_class("_eY")}>`);
8837
8586
  _for_of(input.files, (file) => {
8838
8587
  const $scope2_id = _scope_id();
8839
- _html(`<button type=button${_attr_class([diff_file_sheet_module_default.sheetFile, ui_module_default.mono])}><span${_attr_class(diff_file_sheet_module_default.status)}${_attr("data-status", file.status)}>${_escape(file.status)}${_el_resume($scope2_id, "c", $sg__input_files)}</span>${_el_resume($scope2_id, "b", $sg__input_files)}<span${_attr_class(diff_file_sheet_module_default.sheetPath)}${_attr("title", file.key)}><bdi>${_escape(file.key)}${_el_resume($scope2_id, "e", $sg__input_files)}</bdi></span>${_el_resume($scope2_id, "d", $sg__input_files)}`);
8588
+ _html(`<button type=button${_attr_class(["_eZ", "_m"])}><span${_attr_class("_e1")}${_attr("data-status", file.status)}>${_escape(file.status)}${_el_resume($scope2_id, "c", $sg__input_files)}</span>${_el_resume($scope2_id, "b", $sg__input_files)}<span${_attr_class("_e0")}${_attr("title", file.key)}><bdi>${_escape(file.key)}${_el_resume($scope2_id, "e", $sg__input_files)}</bdi></span>${_el_resume($scope2_id, "d", $sg__input_files)}`);
8840
8589
  _if(() => {
8841
8590
  if (commentKeys.has(file.key)) {
8842
8591
  const $scope3_id = _scope_id();
@@ -9229,11 +8978,11 @@ var diff_view_default = _template("i", (input) => {
9229
8978
  revealSearchHit();
9230
8979
  }, 0);
9231
8980
  }, "i20", $scope0_id);
9232
- _html(`<div${_attr_class(diff_view_module_default.diffView)}><div${_attr_class(diff_view_module_default.diffCol)}><div${_attr_class([diff_view_module_default.chrome, { [diff_view_module_default.headWithSend]: comments.length > 0 }])}><div${_attr_class(diff_view_module_default.diffHead)}>`);
8981
+ _html(`<div${_attr_class("_db")}><div${_attr_class("_df")}><div${_attr_class(["_dg", { ["_dk"]: comments.length > 0 }])}><div${_attr_class("_du")}>`);
9233
8982
  _if(() => {
9234
8983
  if (input.onExit) {
9235
8984
  const $scope1_id = _scope_id();
9236
- _html(`<button${_attr_class([diff_view_module_default.iconBtn, diff_view_module_default.backBtn])} title="Back to terminal">`);
8985
+ _html(`<button${_attr_class([iconBtn$3, "_dh"])} title="Back to terminal">`);
9237
8986
  icon_back_default({ size: 14 });
9238
8987
  _html(`</button>${_el_resume($scope1_id, "a")}`);
9239
8988
  _script($scope1_id, "i36");
@@ -9241,7 +8990,7 @@ var diff_view_default = _template("i", (input) => {
9241
8990
  return 0;
9242
8991
  }
9243
8992
  }, $scope0_id, "e", $sg__input_onExit, $sg__input_onExit, 1, 0, 1);
9244
- _html(`<div${_attr_class(diff_view_module_default.filterSlot)}>`);
8993
+ _html(`<div${_attr_class("_dv")}>`);
9245
8994
  _set_serialize_reason(2);
9246
8995
  const $childScope = _peek_scope_id();
9247
8996
  file_filter_default({
@@ -9250,16 +8999,16 @@ var diff_view_default = _template("i", (input) => {
9250
8999
  fileFilter = _new_fileFilter;
9251
9000
  }, "i21", $scope0_id)
9252
9001
  });
9253
- _html(`</div><div${_attr_class(diff_view_module_default.headText)}><h1${_attr_class(diff_view_module_default.pageTitle)}>Review</h1><span${_attr_class(diff_view_module_default.diffStats)}>`);
9002
+ _html(`</div><div${_attr_class("_di")}><h1${_attr_class("_dj")}>Review</h1><span${_attr_class("_dw")}>`);
9254
9003
  _if(() => {
9255
9004
  if (lineStats.additions || lineStats.deletions) {
9256
9005
  const $scope27_id = _scope_id();
9257
- _html(`<span${_attr_class(diff_view_module_default.statAdd)}>+<!>${_escape(lineStats.additions)}${_el_resume($scope27_id, "b")}</span><span${_attr_class(diff_view_module_default.statDel)}>−<!>${_escape(lineStats.deletions)}${_el_resume($scope27_id, "d")}</span>`);
9006
+ _html(`<span${_attr_class("_dx")}>+<!>${_escape(lineStats.additions)}${_el_resume($scope27_id, "b")}</span><span${_attr_class("_dy")}>−<!>${_escape(lineStats.deletions)}${_el_resume($scope27_id, "d")}</span>`);
9258
9007
  writeScope($scope27_id, {});
9259
9008
  return 0;
9260
9009
  } else {
9261
9010
  const $scope29_id = _scope_id();
9262
- _html(`<span${_attr_class(diff_view_module_default.statEmpty)}>0</span>`);
9011
+ _html(`<span${_attr_class("_dz")}>0</span>`);
9263
9012
  writeScope($scope29_id, {});
9264
9013
  return 1;
9265
9014
  }
@@ -9267,7 +9016,7 @@ var diff_view_default = _template("i", (input) => {
9267
9016
  _if(() => {
9268
9017
  if (comments.length) {
9269
9018
  const $scope13_id = _scope_id();
9270
- _html(`<span${_attr_class(diff_view_module_default.statSep)}>·</span>${_escape(comments.length)}${_el_resume($scope13_id, "b")} comment<!>${comments.length === 1 ? "" : "s"}${_el_resume($scope13_id, "c")}`);
9019
+ _html(`<span${_attr_class("_dA")}>·</span>${_escape(comments.length)}${_el_resume($scope13_id, "b")} comment<!>${comments.length === 1 ? "" : "s"}${_el_resume($scope13_id, "c")}`);
9271
9020
  writeScope($scope13_id, {});
9272
9021
  return 0;
9273
9022
  }
@@ -9287,19 +9036,19 @@ var diff_view_default = _template("i", (input) => {
9287
9036
  return 0;
9288
9037
  }
9289
9038
  }, $scope0_id, "m", 1, 1, 1, 0, 1);
9290
- _html(`</div><div${_attr_class([diff_view_module_default.diffTools, { [diff_view_module_default.toolsFind]: findOpen && !isTouch() }])}><button${_attr_class([diff_view_module_default.treeToggle, { [diff_view_module_default.on]: treeOpen }])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
9039
+ _html(`</div><div${_attr_class(["_de", { ["_dp"]: findOpen && !isTouch() }])}><button${_attr_class([treeToggle, { ["_dc"]: treeOpen }])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
9291
9040
  icon_sidebar_default({ size: 14 });
9292
9041
  _html(`</button>${_el_resume($scope0_id, "o")}<button${_attr_class([
9293
- diff_view_module_default.iconBtn,
9294
- diff_view_module_default.toolCtrl,
9295
- { [diff_view_module_default.spinning]: loading }
9042
+ iconBtn$3,
9043
+ "_dl",
9044
+ { [spinning$2]: loading }
9296
9045
  ])} title="Refresh diff"${_attr("disabled", loading)}>`);
9297
9046
  icon_refresh_default({ size: 14 });
9298
- _html(`</button>${_el_resume($scope0_id, "q")}<button${_attr_class([diff_view_module_default.filesBtn, diff_view_module_default.toolCtrl])} title="Jump to file">Files (<!>${_escape(shownFiles.length)}${_el_resume($scope0_id, "t")})</button>${_el_resume($scope0_id, "s")}<div${_attr_class([diff_view_module_default.scope, diff_view_module_default.toolCtrl])} role=group aria-label="Review scope"><button type=button${_attr_class([diff_view_module_default.scopeOpt, { [diff_view_module_default.scopeOn]: !uncommitted }])} aria-pressed=${!uncommitted ? "true" : "false"} title="Committed changes only — base…tip, no working-tree edits"${_attr("disabled", loading)}>Committed</button>${_el_resume($scope0_id, "v")}<button type=button${_attr_class([diff_view_module_default.scopeOpt, { [diff_view_module_default.scopeOn]: uncommitted }])} aria-pressed=${uncommitted ? "true" : "false"} title="Include uncommitted and untracked files in the working tree"${_attr("disabled", loading)}>Working tree</button>${_el_resume($scope0_id, "w")}</div><button type=button${_attr_class([
9299
- diff_view_module_default.scopeChip,
9300
- diff_view_module_default.toolCtrl,
9301
- { [diff_view_module_default.scopeOn]: uncommitted }
9302
- ])} aria-pressed=${uncommitted ? "true" : "false"} title=${uncommitted ? "\"Showing working tree — tap for committed only\"" : "\"Showing committed only — tap to include uncommitted\""}${_attr("disabled", loading)}>${uncommitted ? "Dirty" : "Clean"}${_el_resume($scope0_id, "y")}</button>${_el_resume($scope0_id, "x")}<div${_attr_class([diff_view_module_default.findSlot, { [diff_view_module_default.findSlotClosed]: !findOpen }])}>`);
9047
+ _html(`</button>${_el_resume($scope0_id, "q")}<button${_attr_class(["_d0", "_dl"])} title="Jump to file">Files (<!>${_escape(shownFiles.length)}${_el_resume($scope0_id, "t")})</button>${_el_resume($scope0_id, "s")}<div${_attr_class(["_dB", "_dl"])} role=group aria-label="Review scope"><button type=button${_attr_class(["_dD", { ["_dC"]: !uncommitted }])} aria-pressed=${!uncommitted ? "true" : "false"} title="Committed changes only — base…tip, no working-tree edits"${_attr("disabled", loading)}>Committed</button>${_el_resume($scope0_id, "v")}<button type=button${_attr_class(["_dD", { ["_dC"]: uncommitted }])} aria-pressed=${uncommitted ? "true" : "false"} title="Include uncommitted and untracked files in the working tree"${_attr("disabled", loading)}>Working tree</button>${_el_resume($scope0_id, "w")}</div><button type=button${_attr_class([
9048
+ "_dE",
9049
+ "_dl",
9050
+ { ["_dC"]: uncommitted }
9051
+ ])} aria-pressed=${uncommitted ? "true" : "false"} title=${uncommitted ? "\"Showing working tree — tap for committed only\"" : "\"Showing committed only — tap to include uncommitted\""}${_attr("disabled", loading)}>${uncommitted ? "Dirty" : "Clean"}${_el_resume($scope0_id, "y")}</button>${_el_resume($scope0_id, "x")}<div${_attr_class(["_do", { ["_dn"]: !findOpen }])}>`);
9303
9052
  _set_serialize_reason(2);
9304
9053
  const $childScope3 = _peek_scope_id();
9305
9054
  diff_find_default({
@@ -9315,12 +9064,12 @@ var diff_view_default = _template("i", (input) => {
9315
9064
  }, "i23", $scope0_id)
9316
9065
  });
9317
9066
  _html(`</div>${_el_resume($scope0_id, "z")}<button${_attr_class([
9318
- diff_view_module_default.iconBtn,
9319
- diff_view_module_default.findBtn,
9320
- diff_view_module_default.toolCtrl
9067
+ iconBtn$3,
9068
+ "_dm",
9069
+ "_dl"
9321
9070
  ])} title="Find in the review (⌘/Ctrl+F)" aria-label="Find in the review"${_attr("hidden", findOpen)}>`);
9322
9071
  icon_search_default({ size: 14 });
9323
- _html(`</button>${_el_resume($scope0_id, "a1")}</div>${_el_resume($scope0_id, "n")}</div>${_el_resume($scope0_id, "c")}<div${_attr_class(diff_view_module_default.diffMain)} data-diff-main>`);
9072
+ _html(`</button>${_el_resume($scope0_id, "a1")}</div>${_el_resume($scope0_id, "n")}</div>${_el_resume($scope0_id, "c")}<div${_attr_class("_ds")} data-diff-main>`);
9324
9073
  _if(() => {
9325
9074
  if (error) {
9326
9075
  const $scope14_id = _scope_id();
@@ -9343,7 +9092,7 @@ var diff_view_default = _template("i", (input) => {
9343
9092
  _if(() => {
9344
9093
  if (!repos && loading) {
9345
9094
  const $scope30_id = _scope_id();
9346
- _html(`<p${_attr_class(diff_view_module_default.centerPad)}>Loading diff…</p>`);
9095
+ _html(`<p${_attr_class("_dZ")}>Loading diff…</p>`);
9347
9096
  writeScope($scope30_id, {});
9348
9097
  return 0;
9349
9098
  }
@@ -9412,7 +9161,7 @@ var diff_view_default = _template("i", (input) => {
9412
9161
  action: attrTag({ content: _content_resume("i41", () => {
9413
9162
  _scope_reason();
9414
9163
  const $scope17_id = _scope_id();
9415
- _html(`<button${_attr_class(ui_module_default.btn)}${_attr("disabled", loading)}>${loading ? "Reloading…" : "Reload"}${_el_resume($scope17_id, "b")}</button>${_el_resume($scope17_id, "a")}`);
9164
+ _html(`<button${_attr_class("_d")}${_attr("disabled", loading)}>${loading ? "Reloading…" : "Reload"}${_el_resume($scope17_id, "b")}</button>${_el_resume($scope17_id, "a")}`);
9416
9165
  _script($scope17_id, "i40");
9417
9166
  _subscribe($loading__closures, writeScope($scope17_id, { _: _scope_with_id($scope16_id) }));
9418
9167
  _resume_branch($scope17_id);
@@ -9420,13 +9169,13 @@ var diff_view_default = _template("i", (input) => {
9420
9169
  content: _content_resume("i42", () => {
9421
9170
  _scope_reason();
9422
9171
  const $scope28_id = _scope_id();
9423
- _html(`<span${_attr_class(ui_module_default.dim)}>`);
9172
+ _html(`<span${_attr_class("_l")}>`);
9424
9173
  _for_of(driftRepos, (repo, i) => {
9425
9174
  const $scope31_id = _scope_id();
9426
9175
  _html(`${i > 0 ? " · " : ""}${_el_resume($scope31_id, "a")}<!>${_escape(repo.worktree)}${_el_resume($scope31_id, "b")} #<!>${_escape(repo.pr.number)}${_el_resume($scope31_id, "c")}`);
9427
9176
  writeScope($scope31_id, {});
9428
9177
  }, "id", $scope28_id, "b");
9429
- _html(` — this view has a newer tip than the PR page.</span><span${_attr_class([ui_module_default.mono, diff_view_module_default.toastMeta])}>`);
9178
+ _html(` — this view has a newer tip than the PR page.</span><span${_attr_class(["_m", "_dt"])}>`);
9430
9179
  _for_of(driftRepos, (repo, i) => {
9431
9180
  const $scope32_id = _scope_id();
9432
9181
  _html(`<span${_attr("title", `origin/${repo.pr.headRefName} ${repo.head} · GitHub ${repo.pr.headRefOid}`)}>${i > 0 ? " · " : ""}${_el_resume($scope32_id, "b")}<!>${_escape(shortSha(repo.head))}${_el_resume($scope32_id, "c")} → <!>${_escape(shortSha(repo.pr.headRefOid))}${_el_resume($scope32_id, "d")}</span>${_el_resume($scope32_id, "a")}`);
@@ -9478,12 +9227,12 @@ var diff_view_default = _template("i", (input) => {
9478
9227
  _if(() => {
9479
9228
  if (repos && !allFiles.length) {
9480
9229
  const $scope26_id = _scope_id();
9481
- _html(`<p${_attr_class(diff_view_module_default.centerPad)}>${repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base."}${_el_resume($scope26_id, "b")}</p>`);
9230
+ _html(`<p${_attr_class("_dZ")}>${repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base."}${_el_resume($scope26_id, "b")}</p>`);
9482
9231
  writeScope($scope26_id, {});
9483
9232
  return 0;
9484
9233
  } else if (repos && !shownFiles.length && !findState.hit) {
9485
9234
  const $scope18_id = _scope_id();
9486
- _html(`<p${_attr_class(diff_view_module_default.centerPad)}>${findState.query.trim() ? "No matches in diffs." : `No files match "${_escape(`${fileFilter}`)}".`}${_el_resume($scope18_id, "b")}</p>`);
9235
+ _html(`<p${_attr_class("_dZ")}>${findState.query.trim() ? "No matches in diffs." : `No files match "${_escape(`${fileFilter}`)}".`}${_el_resume($scope18_id, "b")}</p>`);
9487
9236
  writeScope($scope18_id, {});
9488
9237
  return 1;
9489
9238
  }
@@ -9512,21 +9261,21 @@ var diff_view_default = _template("i", (input) => {
9512
9261
  _if(() => {
9513
9262
  if (repoFiles.length || repo.pr) {
9514
9263
  const $scope4_id = _scope_id();
9515
- _html(`<section${_attr_class(diff_view_module_default.repoSection)}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}${_attr("hidden", !shownInRepo.length && !repo.pr && findState.hit?.repo !== repo.id)}>`);
9264
+ _html(`<section${_attr_class("_dF")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}${_attr("hidden", !shownInRepo.length && !repo.pr && findState.hit?.repo !== repo.id)}>`);
9516
9265
  _if(() => {
9517
9266
  if (repoList.length > 1) {
9518
9267
  const $scope5_id = _scope_id();
9519
9268
  const repoCollapsed = collapsedRepos.has(repo.id);
9520
9269
  const repoExpanding = expandingRepos.has(repo.id);
9521
- _html(`<button type=button${_attr_class([diff_view_module_default.repoSep, repoCollapsed && diff_view_module_default.repoSepCollapsed])} aria-expanded=${!repoCollapsed ? "true" : "false"} aria-busy=${repoExpanding ? "true" : "false"}${repoCollapsed ? _attr("title", `Show ${shownInRepo.length || repoFiles.length} files`) : " title=\"Hide files\""}><span${_attr_class([
9522
- diff_view_module_default.treeChev,
9523
- !repoCollapsed && diff_view_module_default.treeChevOpen,
9524
- repoExpanding && diff_view_module_default.treeChevBusy
9525
- ])} aria-hidden=true>${repoCollapsed ? "▸" : "▾"}${_el_resume($scope5_id, "c")}</span>${_el_resume($scope5_id, "b")}<span${_attr_class(diff_view_module_default.repoWorktree)}>${_escape(repo.worktree)}${_el_resume($scope5_id, "e")}</span>`);
9270
+ _html(`<button type=button${_attr_class(["_dG", repoCollapsed && "_dH"])} aria-expanded=${!repoCollapsed ? "true" : "false"} aria-busy=${repoExpanding ? "true" : "false"}${repoCollapsed ? _attr("title", `Show ${shownInRepo.length || repoFiles.length} files`) : " title=\"Hide files\""}><span${_attr_class([
9271
+ "_dU",
9272
+ !repoCollapsed && "_dV",
9273
+ repoExpanding && "_dW"
9274
+ ])} aria-hidden=true>${repoCollapsed ? "▸" : "▾"}${_el_resume($scope5_id, "c")}</span>${_el_resume($scope5_id, "b")}<span${_attr_class(repoWorktree)}>${_escape(repo.worktree)}${_el_resume($scope5_id, "e")}</span>`);
9526
9275
  _if(() => {
9527
9276
  if (repo.pr) {
9528
9277
  const $scope33_id = _scope_id();
9529
- _html(`<a${_attr_class([ui_module_default.chip, ui_module_default.pr])}${_attr("href", `${repo.pr.url}/files`)} target=_blank rel=noopener${_attr("title", `${repo.pr.title} — ${repo.pr.headRefName} ${repo.head} vs ${repo.base} ${repo.baseSha}`)}>#<!>${_escape(repo.pr.number)}${_el_resume($scope33_id, "b")}</a>${_el_resume($scope33_id, "a")}<span${_attr_class(diff_view_module_default.repoTitle)}>${_escape(repo.pr.title)}${_el_resume($scope33_id, "d")}</span>`);
9278
+ _html(`<a${_attr_class(["_h", "_j"])}${_attr("href", `${repo.pr.url}/files`)} target=_blank rel=noopener${_attr("title", `${repo.pr.title} — ${repo.pr.headRefName} ${repo.head} vs ${repo.base} ${repo.baseSha}`)}>#<!>${_escape(repo.pr.number)}${_el_resume($scope33_id, "b")}</a>${_el_resume($scope33_id, "a")}<span${_attr_class(repoTitle)}>${_escape(repo.pr.title)}${_el_resume($scope33_id, "d")}</span>`);
9530
9279
  _script($scope33_id, "i44");
9531
9280
  _subscribe($for_content__repo_baseSha__closures, _subscribe($for_content__repo_base__closures, _subscribe($for_content__repo_head__closures, _subscribe($for_content__repo_pr_headRefName__closures, _subscribe($for_content__repo_pr_title__closures, _subscribe($for_content__repo_pr_url__closures, _subscribe($for_content__repo_pr_number__closures, writeScope($scope33_id, {
9532
9281
  Ca4: 2,
@@ -9537,17 +9286,17 @@ var diff_view_default = _template("i", (input) => {
9537
9286
  return 0;
9538
9287
  } else {
9539
9288
  const $scope34_id = _scope_id();
9540
- _html(`<span${_attr_class(diff_view_module_default.repoTitle)}>${_escape(repo.full_name)}${_el_resume($scope34_id, "b")}</span>`);
9289
+ _html(`<span${_attr_class(repoTitle)}>${_escape(repo.full_name)}${_el_resume($scope34_id, "b")}</span>`);
9541
9290
  _subscribe($for_content__repo_full_name__closures, writeScope($scope34_id, {}));
9542
9291
  return 1;
9543
9292
  }
9544
9293
  }, $scope5_id, "f");
9545
- const compare = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch || "");
9546
- _html(`<span${_attr_class(diff_view_module_default.compare)}${_attr("title", `${compare.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(diff_view_module_default.compareBase)}>${_escape(compare.base)}${_el_resume($scope5_id, "i")}</span><span${_attr_class(diff_view_module_default.compareVs)} aria-hidden=true>vs</span><span${_attr_class(diff_view_module_default.compareHead)}>${_escape(compare.head)}${_el_resume($scope5_id, "l")}</span>`);
9294
+ const compare$1 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch || "");
9295
+ _html(`<span${_attr_class("_dM")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class("_dN")}>${_escape(compare$1.base)}${_el_resume($scope5_id, "i")}</span><span${_attr_class("_dP")} aria-hidden=true>vs</span><span${_attr_class("_dO")}>${_escape(compare$1.head)}${_el_resume($scope5_id, "l")}</span>`);
9547
9296
  _if(() => {
9548
- if (compare.topic) {
9297
+ if (compare$1.topic) {
9549
9298
  const $scope36_id = _scope_id();
9550
- _html(`<span${_attr_class(diff_view_module_default.compareTopic)}>${_escape(compare.topic)}${_el_resume($scope36_id, "b")}</span>`);
9299
+ _html(`<span${_attr_class("_dQ")}>${_escape(compare$1.topic)}${_el_resume($scope36_id, "b")}</span>`);
9551
9300
  writeScope($scope36_id, {});
9552
9301
  return 0;
9553
9302
  }
@@ -9556,7 +9305,7 @@ var diff_view_default = _template("i", (input) => {
9556
9305
  _if(() => {
9557
9306
  if (localDifferIds.has(repo.id)) {
9558
9307
  const $scope6_id = _scope_id();
9559
- _html(`<span${_attr_class(ui_module_default.chip)}${_attr("title", `checked out ${repo.branch} ${repo.localHead}`)}>local <!>${_escape(shortBranch(repo.branch, input.workspaceBranch || ""))}${_el_resume($scope6_id, "b")}</span>${_el_resume($scope6_id, "a")}`);
9308
+ _html(`<span${_attr_class("_h")}${_attr("title", `checked out ${repo.branch} ${repo.localHead}`)}>local <!>${_escape(shortBranch(repo.branch, input.workspaceBranch || ""))}${_el_resume($scope6_id, "b")}</span>${_el_resume($scope6_id, "a")}`);
9560
9309
  _subscribe($for_content__repo_localHead__closures, _subscribe($for_content__repo_branch__closures, _subscribe($si__input_workspaceBranch && $input_workspaceBranch__closures, writeScope($scope6_id, {
9561
9310
  Cdn: $si__input_workspaceBranch && 1,
9562
9311
  Caa: 1
@@ -9564,22 +9313,22 @@ var diff_view_default = _template("i", (input) => {
9564
9313
  return 0;
9565
9314
  }
9566
9315
  }, $scope5_id, "n", 1, 1, 1, 0, 1);
9567
- _html(`<span${_attr_class(diff_view_module_default.repoState)}>${_escape(shownInRepo.length || repoFiles.length)}${_el_resume($scope5_id, "p")} file<!>${(shownInRepo.length || repoFiles.length) === 1 ? "" : "s"}${_el_resume($scope5_id, "q")}</span></button>${_el_resume($scope5_id, "a")}`);
9316
+ _html(`<span${_attr_class("_dJ")}>${_escape(shownInRepo.length || repoFiles.length)}${_el_resume($scope5_id, "p")} file<!>${(shownInRepo.length || repoFiles.length) === 1 ? "" : "s"}${_el_resume($scope5_id, "q")}</span></button>${_el_resume($scope5_id, "a")}`);
9568
9317
  _script($scope5_id, "i45");
9569
9318
  _subscribe($for_content__shownInRepo_length__closures, _subscribe($for_content__repoFiles_length__closures, _subscribe($for_content__repo_branch__closures, _subscribe($for_content__repo_pr_baseRefName__closures, _subscribe($for_content__repo_baseSha__closures, _subscribe($for_content__repo_base__closures, _subscribe($for_content__repo_head__closures, _subscribe($for_content__repo_pr_headRefName__closures, _subscribe($for_content__repo_worktree__closures, _subscribe($for_content__repo_pr__closures, _subscribe($for_content__repo_id__closures, _subscribe($localDifferIds__closures, _subscribe($expandingRepos__closures, _subscribe($collapsedRepos__closures, _subscribe($si__input_workspaceBranch && $input_workspaceBranch__closures, writeScope($scope5_id, {
9570
9319
  r: repoCollapsed,
9571
9320
  t: repoExpanding,
9572
- a0: compare?.topic,
9321
+ a0: compare$1?.topic,
9573
9322
  Cdy: 1
9574
9323
  }))))))))))))))));
9575
9324
  return 0;
9576
9325
  } else {
9577
9326
  const $scope7_id = _scope_id();
9578
- _html(`<p${_attr_class(diff_view_module_default.repoMeta)}>`);
9327
+ _html(`<p${_attr_class("_dL")}>`);
9579
9328
  _if(() => {
9580
9329
  if (repo.pr) {
9581
9330
  const $scope35_id = _scope_id();
9582
- _html(`<a${_attr_class([ui_module_default.chip, ui_module_default.pr])}${_attr("href", `${repo.pr.url}/files`)} target=_blank rel=noopener${_attr("title", `${repo.pr.title} — ${repo.pr.headRefName} ${repo.head} vs ${repo.base} ${repo.baseSha}`)}>#<!>${_escape(repo.pr.number)}${_el_resume($scope35_id, "b")}</a>${_el_resume($scope35_id, "a")}<span${_attr_class(ui_module_default.dim)}>${_escape(repo.pr.title)}${_el_resume($scope35_id, "d")}</span>`);
9331
+ _html(`<a${_attr_class(["_h", "_j"])}${_attr("href", `${repo.pr.url}/files`)} target=_blank rel=noopener${_attr("title", `${repo.pr.title} — ${repo.pr.headRefName} ${repo.head} vs ${repo.base} ${repo.baseSha}`)}>#<!>${_escape(repo.pr.number)}${_el_resume($scope35_id, "b")}</a>${_el_resume($scope35_id, "a")}<span${_attr_class("_l")}>${_escape(repo.pr.title)}${_el_resume($scope35_id, "d")}</span>`);
9583
9332
  _subscribe($for_content__repo_baseSha__closures, _subscribe($for_content__repo_base__closures, _subscribe($for_content__repo_head__closures, _subscribe($for_content__repo_pr_headRefName__closures, _subscribe($for_content__repo_pr_title__closures, _subscribe($for_content__repo_pr_url__closures, _subscribe($for_content__repo_pr_number__closures, writeScope($scope35_id, {
9584
9333
  Ca1: 1,
9585
9334
  Ca2: 1,
@@ -9592,12 +9341,12 @@ var diff_view_default = _template("i", (input) => {
9592
9341
  return 0;
9593
9342
  }
9594
9343
  }, $scope7_id, "b");
9595
- const compare = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch || "");
9596
- _html(`<span${_attr_class(diff_view_module_default.compare)}${_attr("title", `${compare.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(diff_view_module_default.compareBase)}>${_escape(compare.base)}${_el_resume($scope7_id, "e")}</span><span${_attr_class(diff_view_module_default.compareVs)} aria-hidden=true>vs</span><span${_attr_class(diff_view_module_default.compareHead)}>${_escape(compare.head)}${_el_resume($scope7_id, "h")}</span>`);
9344
+ const compare$2 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch || "");
9345
+ _html(`<span${_attr_class("_dM")}${_attr("title", `${compare$2.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class("_dN")}>${_escape(compare$2.base)}${_el_resume($scope7_id, "e")}</span><span${_attr_class("_dP")} aria-hidden=true>vs</span><span${_attr_class("_dO")}>${_escape(compare$2.head)}${_el_resume($scope7_id, "h")}</span>`);
9597
9346
  _if(() => {
9598
- if (compare.topic) {
9347
+ if (compare$2.topic) {
9599
9348
  const $scope37_id = _scope_id();
9600
- _html(`<span${_attr_class(diff_view_module_default.compareTopic)}>${_escape(compare.topic)}${_el_resume($scope37_id, "b")}</span>`);
9349
+ _html(`<span${_attr_class("_dQ")}>${_escape(compare$2.topic)}${_el_resume($scope37_id, "b")}</span>`);
9601
9350
  writeScope($scope37_id, {});
9602
9351
  return 0;
9603
9352
  }
@@ -9606,7 +9355,7 @@ var diff_view_default = _template("i", (input) => {
9606
9355
  _if(() => {
9607
9356
  if (localDifferIds.has(repo.id)) {
9608
9357
  const $scope8_id = _scope_id();
9609
- _html(`<span${_attr_class(ui_module_default.chip)}${_attr("title", `checked out ${repo.branch} ${repo.localHead}`)}>local <!>${_escape(shortBranch(repo.branch, input.workspaceBranch || ""))}${_el_resume($scope8_id, "b")}</span>${_el_resume($scope8_id, "a")}`);
9358
+ _html(`<span${_attr_class("_h")}${_attr("title", `checked out ${repo.branch} ${repo.localHead}`)}>local <!>${_escape(shortBranch(repo.branch, input.workspaceBranch || ""))}${_el_resume($scope8_id, "b")}</span>${_el_resume($scope8_id, "a")}`);
9610
9359
  _subscribe($for_content__repo_localHead__closures, _subscribe($for_content__repo_branch__closures, _subscribe($si__input_workspaceBranch && $input_workspaceBranch__closures, writeScope($scope8_id, {
9611
9360
  Cdn: $si__input_workspaceBranch && 3,
9612
9361
  Caa: 3,
@@ -9617,7 +9366,7 @@ var diff_view_default = _template("i", (input) => {
9617
9366
  }, $scope7_id, "j", 1, 1, 1, 0, 1);
9618
9367
  _html("</p>");
9619
9368
  _subscribe($for_content__repo_branch__closures, _subscribe($for_content__repo_pr_baseRefName__closures, _subscribe($for_content__repo_baseSha__closures, _subscribe($for_content__repo_base__closures, _subscribe($for_content__repo_head__closures, _subscribe($for_content__repo_pr_headRefName__closures, _subscribe($for_content__repo_pr__closures, _subscribe($for_content__repo_id__closures, _subscribe($localDifferIds__closures, _subscribe($si__input_workspaceBranch && $input_workspaceBranch__closures, writeScope($scope7_id, {
9620
- p: compare?.topic,
9369
+ p: compare$2?.topic,
9621
9370
  Cdn: $si__input_workspaceBranch && 2,
9622
9371
  Cea: 1,
9623
9372
  Cy: 1,
@@ -9637,48 +9386,48 @@ var diff_view_default = _template("i", (input) => {
9637
9386
  const $scope9_id = _scope_id();
9638
9387
  const $show = repoList.length === 1 || !collapsedRepos.has(repo.id);
9639
9388
  _show_start($show);
9640
- _html(`<div${_attr_class(diff_view_module_default.files)}>`);
9641
- _for_of(repoFiles, (file) => {
9389
+ _html(`<div${_attr_class("_dR")}>`);
9390
+ _for_of(repoFiles, (file$2) => {
9642
9391
  const $scope10_id = _scope_id();
9643
9392
  const $for_content2__file__closures = /* @__PURE__ */ new Set();
9644
9393
  const $for_content2__file_key__closures = /* @__PURE__ */ new Set();
9645
9394
  const $for_content2__fileComments__closures = /* @__PURE__ */ new Set();
9646
- const fileComments = commentsByFile.get(file.key) || [];
9395
+ const fileComments = commentsByFile.get(file$2.key) || [];
9647
9396
  let expanded = true;
9648
- _html(`<details${_attr_details_or_dialog_open($scope10_id, "a", expanded)}${_attr_class([diff_view_module_default.file, findState.hit?.key === file.key && diff_view_module_default.fileFindActive])}${_attr("data-key", file.key)}${_attr("hidden", !shownKeySet.has(file.key))}><summary><span${_attr_class(diff_view_module_default.status)}${_attr("data-status", file.status)}>${_escape(file.status)}${_el_resume($scope10_id, "c")}</span>${_el_resume($scope10_id, "b")}<span${_attr_class([diff_view_module_default.path, findState.hit?.key === file.key && findState.hit.line < 1 && diff_view_module_default.pathFindActive])}${_attr("title", file.path)}><bdi>${_escape(file.path)}${_el_resume($scope10_id, "e")}</bdi></span>${_el_resume($scope10_id, "d")}`);
9397
+ _html(`<details${_attr_details_or_dialog_open($scope10_id, "a", expanded)}${_attr_class(["_dS", findState.hit?.key === file$2.key && "_dq"])}${_attr("data-key", file$2.key)}${_attr("hidden", !shownKeySet.has(file$2.key))}><summary><span${_attr_class("_dX")}${_attr("data-status", file$2.status)}>${_escape(file$2.status)}${_el_resume($scope10_id, "c")}</span>${_el_resume($scope10_id, "b")}<span${_attr_class(["_dY", findState.hit?.key === file$2.key && findState.hit.line < 1 && "_dr"])}${_attr("title", file$2.path)}><bdi>${_escape(file$2.path)}${_el_resume($scope10_id, "e")}</bdi></span>${_el_resume($scope10_id, "d")}`);
9649
9398
  _if(() => {
9650
9399
  if (fileComments.length) {
9651
9400
  const $scope38_id = _scope_id();
9652
- _html(`<span${_attr_class(ui_module_default.chip)}>💬 <!>${_escape(fileComments.length)}${_el_resume($scope38_id, "b")}</span>`);
9401
+ _html(`<span${_attr_class("_h")}>💬 <!>${_escape(fileComments.length)}${_el_resume($scope38_id, "b")}</span>`);
9653
9402
  writeScope($scope38_id, {});
9654
9403
  return 0;
9655
9404
  }
9656
9405
  }, $scope10_id, "f", 1, 1, 1, 0, 1);
9657
9406
  _html("</summary>");
9658
9407
  _if(() => {
9659
- if (file.binary) {
9408
+ if (file$2.binary) {
9660
9409
  const $scope39_id = _scope_id();
9661
- _html(`<p${_attr_class(diff_view_module_default.diffPad)}>binary file</p>`);
9410
+ _html(`<p${_attr_class("_d1")}>binary file</p>`);
9662
9411
  writeScope($scope39_id, {});
9663
9412
  return 0;
9664
- } else if (file.tooLarge) {
9413
+ } else if (file$2.tooLarge) {
9665
9414
  const $scope40_id = _scope_id();
9666
- _html(`<p${_attr_class(diff_view_module_default.diffPad)}>file too large to display</p>`);
9415
+ _html(`<p${_attr_class("_d1")}>file too large to display</p>`);
9667
9416
  writeScope($scope40_id, {});
9668
9417
  return 1;
9669
- } else if (file.old == null && file.new == null) {
9418
+ } else if (file$2.old == null && file$2.new == null) {
9670
9419
  const $scope41_id = _scope_id();
9671
- _html(`<p${_attr_class(diff_view_module_default.diffPad)}>file could not be read</p>`);
9420
+ _html(`<p${_attr_class("_d1")}>file could not be read</p>`);
9672
9421
  writeScope($scope41_id, {});
9673
9422
  return 2;
9674
9423
  } else {
9675
9424
  const $scope11_id = _scope_id();
9676
9425
  let near = false;
9677
- const forceNear = findState.hit?.key === file.key;
9426
+ const forceNear = findState.hit?.key === file$2.key;
9678
9427
  _if(() => {
9679
9428
  if (!forceNear) {
9680
9429
  const $scope25_id = _scope_id();
9681
- _html(`<div${_attr_class(diff_view_module_default.diffWait)}></div>${_el_resume($scope25_id, "a")}`);
9430
+ _html(`<div${_attr_class("_dT")}></div>${_el_resume($scope25_id, "a")}`);
9682
9431
  _script($scope25_id, "i46");
9683
9432
  writeScope($scope25_id, {});
9684
9433
  return 0;
@@ -9686,23 +9435,23 @@ var diff_view_default = _template("i", (input) => {
9686
9435
  const $scope12_id = _scope_id();
9687
9436
  const $childScope8 = _peek_scope_id();
9688
9437
  diff_file_default({
9689
- file,
9438
+ file: file$2,
9690
9439
  comments: fileComments,
9691
- draft: draft && draft.key === file.key ? draft : null,
9440
+ draft: draft && draft.key === file$2.key ? draft : null,
9692
9441
  sessions: input.sessions || [],
9693
9442
  onSelect: _resume(function(range) {
9694
9443
  draft = {
9695
- key: file.key,
9444
+ key: file$2.key,
9696
9445
  side: range.side || "additions",
9697
9446
  start: Math.min(range.start, range.end),
9698
9447
  end: Math.max(range.start, range.end)
9699
9448
  };
9700
9449
  }, "i26", $scope12_id),
9701
9450
  onSaveComment: _resume(function(text) {
9702
- saveComment(file, text);
9451
+ saveComment(file$2, text);
9703
9452
  }, "i27", $scope12_id),
9704
9453
  onSendDraft: _resume(function(text, sessionId) {
9705
- sendDraftComment(file, text, sessionId);
9454
+ sendDraftComment(file$2, text, sessionId);
9706
9455
  }, "i28", $scope12_id),
9707
9456
  onCancelDraft: _resume(function() {
9708
9457
  draft = null;
@@ -9732,12 +9481,12 @@ var diff_view_default = _template("i", (input) => {
9732
9481
  _html(`</details>${_el_resume($scope10_id, "a")}`);
9733
9482
  _script($scope10_id, "i47");
9734
9483
  _subscribe($commentsByFile__closures, _subscribe($shownKeySet__closures, _subscribe($findState_hit_line__closures, _subscribe($findState_hit_key__closures, writeScope($scope10_id, {
9735
- i: file,
9736
- j: file?.key,
9737
- q: file?.binary,
9738
- r: file?.tooLarge,
9739
- s: file?.old,
9740
- t: file?.new,
9484
+ i: file$2,
9485
+ j: file$2?.key,
9486
+ q: file$2?.binary,
9487
+ r: file$2?.tooLarge,
9488
+ s: file$2?.old,
9489
+ t: file$2?.new,
9741
9490
  u: fileComments,
9742
9491
  v: fileComments.length,
9743
9492
  w: expanded,
@@ -9932,39 +9681,12 @@ var diff_view_default = _template("i", (input) => {
9932
9681
  });
9933
9682
  _resume_branch($scope0_id);
9934
9683
  });
9935
- var manage_workspace_module_default = {
9936
- content: "_cm _bd",
9937
- pageMeta: "_cn _bh",
9938
- wsLabel: "_co",
9939
- metaSep: "_cp",
9940
- pathMeta: "_cq",
9941
- statusPill: "_cr",
9942
- statusOff: "_cs",
9943
- progress: "_ct",
9944
- section: "_cu",
9945
- sectionHead: "_cv",
9946
- sectionCount: "_cw",
9947
- pickerWrap: "_cx",
9948
- cardList: "_cy",
9949
- card: "_cz",
9950
- pending: "_cA",
9951
- cardMain: "_cB",
9952
- cardTitle: "_cC",
9953
- cardMeta: "_cD",
9954
- cardSub: "_cE",
9955
- cardTag: "_cF",
9956
- cardAction: "_cG",
9957
- dangerAction: "_cH",
9958
- armed: "_cI",
9959
- portLink: "_cJ",
9960
- emptyNote: "_cK",
9961
- dangerZone: "_cL",
9962
- dangerRow: "_cM",
9963
- dangerBtn: "_cN",
9964
- dangerHint: "_cO",
9965
- iconBtn: "_cP _eA",
9966
- spinning: "_cQ _eB"
9967
- };
9684
+ //#endregion
9685
+ //#region src/tags/manage-workspace.css.ts
9686
+ var content$1 = "_co _V";
9687
+ var pageMeta = "_cp _Z";
9688
+ var iconBtn$1 = "_cR _y";
9689
+ var spinning$1 = "_cS _z";
9968
9690
  //#endregion
9969
9691
  //#region src/tags/manage-workspace.marko
9970
9692
  var api$3;
@@ -10058,16 +9780,16 @@ var manage_workspace_default = _template("k", (input) => {
10058
9780
  setTimeout(() => loadProcs(void 0), 500);
10059
9781
  }, "k5", $scope0_id);
10060
9782
  const titleId = _id();
10061
- _html(`<div${_attr_class(page_shell_module_default.page)} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class(page_shell_module_default.body)}><div${_attr_class(manage_workspace_module_default.content)}><header${_attr_class(page_shell_module_default.pageHead)}><div${_attr_class(page_shell_module_default.pageHeadText)}><h1${_attr("id", titleId)}>Manage</h1><p${_attr_class(manage_workspace_module_default.pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class(manage_workspace_module_default.wsLabel)}>${_escape(ws.name)}${_el_resume($scope0_id, "i")}</span>`);
9783
+ _html(`<div${_attr_class("_T")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_U")}><div${_attr_class(content$1)}><header${_attr_class("_X")}><div${_attr_class("_Y")}><h1${_attr("id", titleId)}>Manage</h1><p${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_cq")}>${_escape(ws.name)}${_el_resume($scope0_id, "i")}</span>`);
10062
9784
  _if(() => {
10063
9785
  if (ws.status !== "active") {
10064
9786
  const $scope10_id = _scope_id();
10065
- _html(`<span${_attr_class([manage_workspace_module_default.statusPill, manage_workspace_module_default.statusOff])}>Archived</span>`);
9787
+ _html(`<span${_attr_class(["_ct", "_cu"])}>Archived</span>`);
10066
9788
  writeScope($scope10_id, {});
10067
9789
  return 0;
10068
9790
  }
10069
9791
  }, $scope0_id, "j", 1, 1, 1, 0, 1);
10070
- _html(`<span${_attr_class(manage_workspace_module_default.metaSep)} aria-hidden=true>·</span><span${_attr_class([manage_workspace_module_default.pathMeta, ui_module_default.mono])}>${_escape(ws.display_path || ws.path)}${_el_resume($scope0_id, "m")}</span></p>${_el_resume($scope0_id, "g")}</div></header>`);
9792
+ _html(`<span${_attr_class("_cr")} aria-hidden=true>·</span><span${_attr_class(["_cs", "_m"])}>${_escape(ws.display_path || ws.path)}${_el_resume($scope0_id, "m")}</span></p>${_el_resume($scope0_id, "g")}</div></header>`);
10071
9793
  _if(() => {
10072
9794
  if (error) {
10073
9795
  const $scope2_id = _scope_id();
@@ -10091,21 +9813,21 @@ var manage_workspace_default = _template("k", (input) => {
10091
9813
  _if(() => {
10092
9814
  if (pendingAction && actionStep) {
10093
9815
  const $scope7_id = _scope_id();
10094
- _html(`<p${_attr_class(manage_workspace_module_default.progress)}><span${_attr_class(ui_module_default.spin)}></span><!>${_escape(actionStep)}${_el_resume($scope7_id, "c")}</p>`);
9816
+ _html(`<p${_attr_class("_cv")}><span${_attr_class("_w")}></span><!>${_escape(actionStep)}${_el_resume($scope7_id, "c")}</p>`);
10095
9817
  writeScope($scope7_id, {});
10096
9818
  return 0;
10097
9819
  }
10098
9820
  }, $scope0_id, "o", 1, 1, 1, 0, 1);
10099
- _html(`<section${_attr_class(manage_workspace_module_default.section)}><div${_attr_class(manage_workspace_module_default.sectionHead)}><h2>Repos</h2><span${_attr_class(manage_workspace_module_default.sectionCount)}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "s")}</span><div${_attr_class(ui_module_default.spacer)}></div><button${_attr_class([manage_workspace_module_default.iconBtn, { [manage_workspace_module_default.spinning]: catalogRefreshing }])} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
9821
+ _html(`<section${_attr_class("_cw")}><div${_attr_class("_cx")}><h2>Repos</h2><span${_attr_class("_cy")}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "s")}</span><div${_attr_class("_n")}></div><button${_attr_class([iconBtn$1, { [spinning$1]: catalogRefreshing }])} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
10100
9822
  icon_refresh_default({ size: 14 });
10101
- _html(`</button>${_el_resume($scope0_id, "u")}</div><ul${_attr_class(manage_workspace_module_default.cardList)}>`);
9823
+ _html(`</button>${_el_resume($scope0_id, "u")}</div><ul${_attr_class("_cA")}>`);
10102
9824
  _for_of(ws.repos, (row) => {
10103
9825
  const $scope1_id = _scope_id();
10104
- _html(`<li${_attr_class(manage_workspace_module_default.card)}><div${_attr_class(manage_workspace_module_default.cardMain)}><span${_attr_class([manage_workspace_module_default.cardTitle, ui_module_default.mono])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class(manage_workspace_module_default.cardMeta)}><span${_attr_class(manage_workspace_module_default.cardSub)}>${_escape(row.full_name)}${_el_resume($scope1_id, "g")}</span>`);
9826
+ _html(`<li${_attr_class("_cC")}><div${_attr_class("_cD")}><span${_attr_class(["_cE", "_m"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_cF")}><span${_attr_class("_cG")}>${_escape(row.full_name)}${_el_resume($scope1_id, "g")}</span>`);
10105
9827
  _if(() => {
10106
9828
  if (row.base_branch !== row.default_branch) {
10107
9829
  const $scope11_id = _scope_id();
10108
- _html(`<span${_attr_class([manage_workspace_module_default.cardTag, ui_module_default.mono])} title="Base branch">⎇ <!>${_escape(row.base_branch)}${_el_resume($scope11_id, "b")}</span>`);
9830
+ _html(`<span${_attr_class(["_cH", "_m"])} title="Base branch">⎇ <!>${_escape(row.base_branch)}${_el_resume($scope11_id, "b")}</span>`);
10109
9831
  writeScope($scope11_id, {});
10110
9832
  return 0;
10111
9833
  }
@@ -10114,15 +9836,15 @@ var manage_workspace_default = _template("k", (input) => {
10114
9836
  _if(() => {
10115
9837
  if (busy.has(row.full_name)) {
10116
9838
  const $scope12_id = _scope_id();
10117
- _html(`<span${_attr_class(ui_module_default.spin)}></span>`);
9839
+ _html(`<span${_attr_class("_w")}></span>`);
10118
9840
  writeScope($scope12_id, {});
10119
9841
  return 0;
10120
9842
  } else {
10121
9843
  const $scope6_id = _scope_id();
10122
9844
  _html(`<button${_attr_class([
10123
- manage_workspace_module_default.cardAction,
10124
- manage_workspace_module_default.dangerAction,
10125
- { [manage_workspace_module_default.armed]: confirmingRemove === row.full_name }
9845
+ "_cI",
9846
+ "_cK",
9847
+ { ["_cJ"]: confirmingRemove === row.full_name }
10126
9848
  ])}${confirmingRemove === row.full_name ? _attr("title", `Really remove ${row.worktree}/? Uncommitted changes are lost.`) : _attr("title", `Remove ${row.worktree}/`)}>${confirmingRemove === row.full_name ? "Remove?" : "×"}${_el_resume($scope6_id, "b")}</button>${_el_resume($scope6_id, "a")}`);
10127
9849
  _script($scope6_id, "k11");
10128
9850
  _subscribe($confirmingRemove__closures, writeScope($scope6_id, {}));
@@ -10139,19 +9861,19 @@ var manage_workspace_default = _template("k", (input) => {
10139
9861
  }, "full_name", $scope0_id, "x", 1, 1, 1, 0, 1);
10140
9862
  _for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
10141
9863
  const $scope13_id = _scope_id();
10142
- _html(`<li${_attr_class([manage_workspace_module_default.card, manage_workspace_module_default.pending])}><span${_attr_class(ui_module_default.spin)}></span><div${_attr_class(manage_workspace_module_default.cardMain)}><span${_attr_class(manage_workspace_module_default.cardSub)}>Adding <!>${_escape(name)}${_el_resume($scope13_id, "e")}…</span></div></li>`);
9864
+ _html(`<li${_attr_class(["_cC", "_cB"])}><span${_attr_class("_w")}></span><div${_attr_class("_cD")}><span${_attr_class("_cG")}>Adding <!>${_escape(name)}${_el_resume($scope13_id, "e")}…</span></div></li>`);
10143
9865
  writeScope($scope13_id, {});
10144
9866
  }, (n) => n, $scope0_id, "y", 1, 1, 1, 0, 1);
10145
9867
  _html("</ul>");
10146
9868
  _if(() => {
10147
9869
  if (!ws.repos.length && !busy.size) {
10148
9870
  const $scope14_id = _scope_id();
10149
- _html(`<p${_attr_class(manage_workspace_module_default.emptyNote)}>No repos yet — search below to add one.</p>`);
9871
+ _html(`<p${_attr_class("_cM")}>No repos yet — search below to add one.</p>`);
10150
9872
  writeScope($scope14_id, {});
10151
9873
  return 0;
10152
9874
  }
10153
9875
  }, $scope0_id, "z", 1, 1, 1, 0, 1);
10154
- _html(`<div${_attr_class(manage_workspace_module_default.pickerWrap)}>`);
9876
+ _html(`<div${_attr_class("_cz")}>`);
10155
9877
  const $childScope = _peek_scope_id();
10156
9878
  let refreshCatalog = repo_picker_default({
10157
9879
  exclude: inWorkspace,
@@ -10171,17 +9893,17 @@ var manage_workspace_default = _template("k", (input) => {
10171
9893
  _if(() => {
10172
9894
  if (running.length) {
10173
9895
  const $scope8_id = _scope_id();
10174
- _html(`<section${_attr_class(manage_workspace_module_default.section)}><div${_attr_class(manage_workspace_module_default.sectionHead)}><h2>Running</h2><span${_attr_class(manage_workspace_module_default.sectionCount)}>${_escape(running.length)}${_el_resume($scope8_id, "d")}</span></div><ul${_attr_class(manage_workspace_module_default.cardList)}>`);
9896
+ _html(`<section${_attr_class("_cw")}><div${_attr_class("_cx")}><h2>Running</h2><span${_attr_class("_cy")}>${_escape(running.length)}${_el_resume($scope8_id, "d")}</span></div><ul${_attr_class("_cA")}>`);
10175
9897
  _for_of(running, (p) => {
10176
9898
  const $scope9_id = _scope_id();
10177
- _html(`<li${_attr_class(manage_workspace_module_default.card)}><div${_attr_class(manage_workspace_module_default.cardMain)}${_attr("title", p.args)}><span${_attr_class([manage_workspace_module_default.cardTitle, ui_module_default.mono])}>${_escape(p.cmd)}${_el_resume($scope9_id, "d")}</span>`);
9899
+ _html(`<li${_attr_class("_cC")}><div${_attr_class("_cD")}${_attr("title", p.args)}><span${_attr_class(["_cE", "_m"])}>${_escape(p.cmd)}${_el_resume($scope9_id, "d")}</span>`);
10178
9900
  _if(() => {
10179
9901
  if (p.ports.length) {
10180
9902
  const $scope15_id = _scope_id();
10181
- _html(`<span${_attr_class(manage_workspace_module_default.cardMeta)}>`);
9903
+ _html(`<span${_attr_class("_cF")}>`);
10182
9904
  _for_of(p.ports, (port) => {
10183
9905
  const $scope16_id = _scope_id();
10184
- _html(`<button${_attr_class([ui_module_default.chip, manage_workspace_module_default.portLink])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope16_id, "b")}</button>${_el_resume($scope16_id, "a")}`);
9906
+ _html(`<button${_attr_class(["_h", "_cL"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope16_id, "b")}</button>${_el_resume($scope16_id, "a")}`);
10185
9907
  _script($scope16_id, "k13");
10186
9908
  writeScope($scope16_id, { d: port });
10187
9909
  }, (x) => String(x), $scope15_id, "a", 1, 1, 1, "</span>", 1);
@@ -10189,7 +9911,7 @@ var manage_workspace_default = _template("k", (input) => {
10189
9911
  return 0;
10190
9912
  }
10191
9913
  }, $scope9_id, "e", 1, 1, 1, 0, 1);
10192
- _html(`</div>${_el_resume($scope9_id, "b")}<button${_attr_class([manage_workspace_module_default.cardAction, manage_workspace_module_default.dangerAction])} type=button${_attr("title", `Kill ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>×</button>${_el_resume($scope9_id, "f")}</li>`);
9914
+ _html(`</div>${_el_resume($scope9_id, "b")}<button${_attr_class(["_cI", "_cK"])} type=button${_attr("title", `Kill ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>×</button>${_el_resume($scope9_id, "f")}</li>`);
10193
9915
  _script($scope9_id, "k14");
10194
9916
  writeScope($scope9_id, {
10195
9917
  k: p?.ports,
@@ -10201,28 +9923,28 @@ var manage_workspace_default = _template("k", (input) => {
10201
9923
  return 0;
10202
9924
  }
10203
9925
  }, $scope0_id, "a3", 1, 1, 1, 0, 1);
10204
- _html(`<section${_attr_class([manage_workspace_module_default.section, manage_workspace_module_default.dangerZone])}><div${_attr_class(manage_workspace_module_default.sectionHead)}><h2>Workspace</h2></div><div${_attr_class(manage_workspace_module_default.dangerRow)}>`);
9926
+ _html(`<section${_attr_class(["_cw", "_cN"])}><div${_attr_class("_cx")}><h2>Workspace</h2></div><div${_attr_class("_cO")}>`);
10205
9927
  _if(() => {
10206
9928
  if (ws.status === "active") {
10207
9929
  const $scope4_id = _scope_id();
10208
- _html(`<button type=button${_attr_class([ui_module_default.btn, manage_workspace_module_default.dangerBtn])}${_attr("disabled", !!pendingAction)}>${pendingAction === "archive" ? "Archiving…" : "Archive"}${_el_resume($scope4_id, "b")}</button>${_el_resume($scope4_id, "a")}`);
9930
+ _html(`<button type=button${_attr_class(["_d", "_cP"])}${_attr("disabled", !!pendingAction)}>${pendingAction === "archive" ? "Archiving…" : "Archive"}${_el_resume($scope4_id, "b")}</button>${_el_resume($scope4_id, "a")}`);
10209
9931
  _script($scope4_id, "k15");
10210
9932
  writeScope($scope4_id, {});
10211
9933
  return 0;
10212
9934
  } else {
10213
9935
  const $scope5_id = _scope_id();
10214
- _html(`<button type=button${_attr_class([ui_module_default.btn, manage_workspace_module_default.dangerBtn])}${_attr("disabled", !!pendingAction)}>Restore</button>${_el_resume($scope5_id, "a")}`);
9936
+ _html(`<button type=button${_attr_class(["_d", "_cP"])}${_attr("disabled", !!pendingAction)}>Restore</button>${_el_resume($scope5_id, "a")}`);
10215
9937
  _script($scope5_id, "k16");
10216
9938
  writeScope($scope5_id, {});
10217
9939
  return 1;
10218
9940
  }
10219
9941
  }, $scope0_id, "a7", 1, 1, 1, 0, 1);
10220
9942
  _html(`<button type=button${_attr_class([
10221
- ui_module_default.btn,
10222
- ui_module_default.danger,
10223
- manage_workspace_module_default.dangerBtn,
10224
- { [ui_module_default.armed]: confirmingDelete }
10225
- ])}${_attr("disabled", !!pendingAction)}>${pendingAction === "delete" ? "Deleting…" : "Delete"}${_el_resume($scope0_id, "a9")}</button>${_el_resume($scope0_id, "a8")}</div><p${_attr_class(manage_workspace_module_default.dangerHint)}>Archive hides the space from the list. Delete removes it and its worktrees.</p></section></div></div></div>`);
9943
+ "_d",
9944
+ "_g",
9945
+ "_cP",
9946
+ { ["_f"]: confirmingDelete }
9947
+ ])}${_attr("disabled", !!pendingAction)}>${pendingAction === "delete" ? "Deleting…" : "Delete"}${_el_resume($scope0_id, "a9")}</button>${_el_resume($scope0_id, "a8")}</div><p${_attr_class("_cQ")}>Archive hides the space from the list. Delete removes it and its worktrees.</p></section></div></div></div>`);
10226
9948
  _script($scope0_id, "k17");
10227
9949
  _script($scope0_id, "k18");
10228
9950
  writeScope($scope0_id, {
@@ -10256,35 +9978,11 @@ var manage_workspace_default = _template("k", (input) => {
10256
9978
  });
10257
9979
  _resume_branch($scope0_id);
10258
9980
  });
10259
- var usage_stats_module_default = {
10260
- content: "_bW _bW _be",
10261
- iconBtn: "_bX _eA",
10262
- spinning: "_bY _eB",
10263
- refreshBtn: "_bZ",
10264
- note: "_b0",
10265
- usageList: "_b1",
10266
- usageRow: "_b2",
10267
- usageName: "_b3",
10268
- plan: "_b4",
10269
- usageStale: "_b5",
10270
- stale: "_b6",
10271
- usageMeters: "_b7",
10272
- usageNote: "_b8",
10273
- meter: "_b9",
10274
- meterLabel: "_b_",
10275
- meterTrack: "_ca",
10276
- meterFill: "_cb",
10277
- fillOk: "_cc",
10278
- fillMid: "_cd",
10279
- fillWarm: "_ce",
10280
- fillHot: "_cf",
10281
- meterPct: "_cg",
10282
- pctOk: "_ch",
10283
- pctMid: "_ci",
10284
- pctWarm: "_cj",
10285
- pctHot: "_ck",
10286
- meterReset: "_cl"
10287
- };
9981
+ //#endregion
9982
+ //#region src/tags/usage-stats.css.ts
9983
+ var content = "_bY _V _W";
9984
+ var iconBtn = "_bZ _y";
9985
+ var spinning = "_b0 _z";
10288
9986
  //#endregion
10289
9987
  //#region src/tags/usage-stats.marko
10290
9988
  var api$2;
@@ -10319,34 +10017,34 @@ var usage_stats_default = _template("x", (input) => {
10319
10017
  refreshing = false;
10320
10018
  }, "x1", $scope0_id);
10321
10019
  const titleId = _id();
10322
- _html(`<div${_attr_class(page_shell_module_default.page)} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class(page_shell_module_default.body)}><div${_attr_class(usage_stats_module_default.content)}><header${_attr_class(page_shell_module_default.pageHead)}><div${_attr_class(page_shell_module_default.pageHeadText)}><h1${_attr("id", titleId)}>Usage</h1><p${_attr_class(page_shell_module_default.pageMeta)}>Provider plan windows across your agents.</p></div><div${_attr_class(page_shell_module_default.pageHeadAside)}><button${_attr_class([
10323
- usage_stats_module_default.iconBtn,
10324
- usage_stats_module_default.refreshBtn,
10325
- { [usage_stats_module_default.spinning]: refreshing }
10020
+ _html(`<div${_attr_class("_T")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_U")}><div${_attr_class(content)}><header${_attr_class("_X")}><div${_attr_class("_Y")}><h1${_attr("id", titleId)}>Usage</h1><p${_attr_class("_Z")}>Provider plan windows across your agents.</p></div><div${_attr_class("_0")}><button${_attr_class([
10021
+ iconBtn,
10022
+ "_b1",
10023
+ { [spinning]: refreshing }
10326
10024
  ])} title="Refresh usage" aria-label="Refresh usage"${_attr("disabled", refreshing)}>`);
10327
10025
  icon_refresh_default({ size: 14 });
10328
10026
  _html(`</button>${_el_resume($scope0_id, "i")}</div></header>`);
10329
10027
  _if(() => {
10330
10028
  if (!usage) {
10331
10029
  const $scope3_id = _scope_id();
10332
- _html(`<p${_attr_class([ui_module_default.dim, usage_stats_module_default.note])}><span${_attr_class(ui_module_default.spin)}></span> Loading usage…</p>`);
10030
+ _html(`<p${_attr_class(["_l", "_b2"])}><span${_attr_class("_w")}></span> Loading usage…</p>`);
10333
10031
  writeScope($scope3_id, {});
10334
10032
  return 0;
10335
10033
  } else if (usage.error) {
10336
10034
  const $scope1_id = _scope_id();
10337
- _html(`<p${_attr_class([ui_module_default.dim, usage_stats_module_default.note])}>${_escape(usage.error)}${_el_resume($scope1_id, "b")}</p>`);
10035
+ _html(`<p${_attr_class(["_l", "_b2"])}>${_escape(usage.error)}${_el_resume($scope1_id, "b")}</p>`);
10338
10036
  writeScope($scope1_id, {});
10339
10037
  return 1;
10340
10038
  } else {
10341
10039
  const $scope2_id = _scope_id();
10342
- _html(`<div${_attr_class(usage_stats_module_default.usageList)}>`);
10040
+ _html(`<div${_attr_class("_b3")}>`);
10343
10041
  _for_of(usage.agents || [], (agent) => {
10344
10042
  const $scope4_id = _scope_id();
10345
- _html(`<div${_attr_class([usage_stats_module_default.usageRow, { [usage_stats_module_default.stale]: agent.stale_seconds != null }])}><div${_attr_class(usage_stats_module_default.usageName)}><strong>${_escape(agent.agent)}${_el_resume($scope4_id, "c")}</strong>`);
10043
+ _html(`<div${_attr_class(["_b4", { ["_b8"]: agent.stale_seconds != null }])}><div${_attr_class("_b5")}><strong>${_escape(agent.agent)}${_el_resume($scope4_id, "c")}</strong>`);
10346
10044
  _if(() => {
10347
10045
  if (agent.plan) {
10348
10046
  const $scope5_id = _scope_id();
10349
- _html(`<span${_attr_class(usage_stats_module_default.plan)}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope5_id, "b")}</span>`);
10047
+ _html(`<span${_attr_class("_b6")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope5_id, "b")}</span>`);
10350
10048
  writeScope($scope5_id, {});
10351
10049
  return 0;
10352
10050
  }
@@ -10354,25 +10052,25 @@ var usage_stats_default = _template("x", (input) => {
10354
10052
  _if(() => {
10355
10053
  if (agent.stale_seconds != null) {
10356
10054
  const $scope6_id = _scope_id();
10357
- _html(`<span${_attr_class(usage_stats_module_default.usageStale)}${_attr("title", `${agent.note || "couldn't reach this provider"} — these are the last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>⚠ <!>${_escape(duration(agent.stale_seconds * 1e3))}${_el_resume($scope6_id, "b")} old</span>${_el_resume($scope6_id, "a")}`);
10055
+ _html(`<span${_attr_class("_b7")}${_attr("title", `${agent.note || "couldn't reach this provider"} — these are the last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>⚠ <!>${_escape(duration(agent.stale_seconds * 1e3))}${_el_resume($scope6_id, "b")} old</span>${_el_resume($scope6_id, "a")}`);
10358
10056
  writeScope($scope6_id, {});
10359
10057
  return 0;
10360
10058
  }
10361
10059
  }, $scope4_id, "e", 1, 1, 1, 0, 1);
10362
- _html(`</div><div${_attr_class(usage_stats_module_default.usageMeters)}>`);
10060
+ _html(`</div><div${_attr_class("_b9")}>`);
10363
10061
  _for_of(agent.windows || [], (win) => {
10364
10062
  const $scope7_id = _scope_id();
10365
10063
  const pct = Math.round(win.used_percent);
10366
10064
  const label = resetLabel(win.resets_at, agent.stale_seconds != null);
10367
- const fillClass = win.used_percent >= 90 ? usage_stats_module_default.fillHot : win.used_percent >= 70 ? usage_stats_module_default.fillWarm : win.used_percent >= 40 ? usage_stats_module_default.fillMid : usage_stats_module_default.fillOk;
10368
- const pctClass = win.used_percent >= 90 ? usage_stats_module_default.pctHot : win.used_percent >= 70 ? usage_stats_module_default.pctWarm : win.used_percent >= 40 ? usage_stats_module_default.pctMid : usage_stats_module_default.pctOk;
10369
- _html(`<div${_attr_class(usage_stats_module_default.meter)}${_attr("title", `${win.window}: ${pct}% used${win.resets_at ? ` — resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class(usage_stats_module_default.meterLabel)}>${_escape(win.window)}${_el_resume($scope7_id, "c")}</span><span${_attr_class(usage_stats_module_default.meterTrack)}><span${_attr_class([usage_stats_module_default.meterFill, fillClass])}${_attr_style(`width:${Math.min(100, Math.max(2, win.used_percent))}%`)}></span>${_el_resume($scope7_id, "e")}</span><span${_attr_class([usage_stats_module_default.meterPct, pctClass])}>${_escape(pct)}${_el_resume($scope7_id, "g")}%</span>${_el_resume($scope7_id, "f")}<span${_attr_class(usage_stats_module_default.meterReset)}>${label ? `↻ ${_escape(`${_to_text(label)}`)}` : ""}${_el_resume($scope7_id, "i")}</span></div>${_el_resume($scope7_id, "a")}`);
10065
+ const fillClass = win.used_percent >= 90 ? "_ch" : win.used_percent >= 70 ? "_cg" : win.used_percent >= 40 ? "_cf" : "_ce";
10066
+ const pctClass = win.used_percent >= 90 ? "_cm" : win.used_percent >= 70 ? "_cl" : win.used_percent >= 40 ? "_ck" : "_cj";
10067
+ _html(`<div${_attr_class("_ca")}${_attr("title", `${win.window}: ${pct}% used${win.resets_at ? ` — resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_cb")}>${_escape(win.window)}${_el_resume($scope7_id, "c")}</span><span${_attr_class("_cc")}><span${_attr_class(["_cd", fillClass])}${_attr_style(`width:${Math.min(100, Math.max(2, win.used_percent))}%`)}></span>${_el_resume($scope7_id, "e")}</span><span${_attr_class(["_ci", pctClass])}>${_escape(pct)}${_el_resume($scope7_id, "g")}%</span>${_el_resume($scope7_id, "f")}<span${_attr_class("_cn")}>${label ? `↻ ${_escape(`${_to_text(label)}`)}` : ""}${_el_resume($scope7_id, "i")}</span></div>${_el_resume($scope7_id, "a")}`);
10370
10068
  writeScope($scope7_id, {});
10371
10069
  }, "window", $scope4_id, "g", 1, 1, 1, 0, 1);
10372
10070
  _if(() => {
10373
10071
  if (agent.note) {
10374
10072
  const $scope8_id = _scope_id();
10375
- _html(`<p${_attr_class(usage_stats_module_default.usageNote)}>${_escape(agent.note)}${_el_resume($scope8_id, "b")}</p>`);
10073
+ _html(`<p${_attr_class("_b_")}>${_escape(agent.note)}${_el_resume($scope8_id, "b")}</p>`);
10376
10074
  writeScope($scope8_id, {});
10377
10075
  return 0;
10378
10076
  }
@@ -10399,45 +10097,6 @@ var usage_stats_default = _template("x", (input) => {
10399
10097
  });
10400
10098
  _resume_branch($scope0_id);
10401
10099
  });
10402
- var term_module_default = {
10403
- iconBtn: "_d0 _eA",
10404
- termWrap: "_d1",
10405
- term: "_d2",
10406
- xterm: "_d3",
10407
- termDead: "_d4",
10408
- termCopied: "_d5",
10409
- termCopiedFade: "_d6",
10410
- termUploading: "_d7",
10411
- trapBackdrop: "_d8",
10412
- pasteTrap: "_d9",
10413
- kbSlot: "_d_",
10414
- keyBar: "_ea",
10415
- keyBarBtns: "_eb",
10416
- keyBarBtnsHidden: "_ec",
10417
- kspacer: "_ed",
10418
- sessBtn: "_ee",
10419
- sessDot: "_ef",
10420
- sessPop: "_eg",
10421
- sessRow: "_eh",
10422
- current: "_ei",
10423
- sessOpen: "_ej",
10424
- sessTitle: "_ek",
10425
- sessRename: "_el",
10426
- sessX: "_em",
10427
- armed: "_en",
10428
- sessEdit: "_eo",
10429
- sessNew: "_ep",
10430
- lone: "_eq",
10431
- kbarWs: "_er",
10432
- kbarWsName: "_es",
10433
- kbtn: "_et _eA",
10434
- dpadGrid: "_eu",
10435
- repeat: "_ev",
10436
- on: "_ew",
10437
- bigGlyph: "_ex",
10438
- enter: "_ey",
10439
- dpadEsc: "_ez"
10440
- };
10441
10100
  //#endregion
10442
10101
  //#region src/tags/term-find.marko
10443
10102
  var term_find_default = _template("u", (input) => {
@@ -10473,15 +10132,15 @@ var term_find_default = _template("u", (input) => {
10473
10132
  const hasQuery = !!query.trim();
10474
10133
  const canStep = hasQuery && open;
10475
10134
  _html(`<div${_attr_class([
10476
- diff_find_module_default.findWrap,
10477
- input.placement === "keybar" ? diff_find_module_default.termKeybarWrap : diff_find_module_default.termOverlayWrap,
10478
- !open && diff_find_module_default.termClosed
10479
- ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class([diff_find_module_default.findBar, input.placement === "keybar" ? diff_find_module_default.termKeybar : diff_find_module_default.termOverlay])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
10135
+ "_eN",
10136
+ input.placement === "keybar" ? "_eP" : "_eO",
10137
+ !open && "_eR"
10138
+ ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_eI", input.placement === "keybar" ? "_eQ" : "_eK"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
10480
10139
  if (!open) return;
10481
10140
  query = v;
10482
10141
  live.query = v;
10483
10142
  run(0);
10484
- }, "u0", $scope0_id))}${_attr_class(diff_find_module_default.findInput)} 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(diff_find_module_default.findIconBtn)} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class(diff_find_module_default.findIconBtn)} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class(diff_find_module_default.findIconBtn)} title="Close find" tabindex=${open ? "0" : "-1"}>×</button>${_el_resume($scope0_id, "f")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
10143
+ }, "u0", $scope0_id))}${_attr_class("_eJ")} 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)} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class(findIconBtn)} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class(findIconBtn)} title="Close find" tabindex=${open ? "0" : "-1"}>×</button>${_el_resume($scope0_id, "f")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
10485
10144
  _script($scope0_id, "u4");
10486
10145
  _script($scope0_id, "u5");
10487
10146
  _script($scope0_id, "u6");
@@ -10746,7 +10405,7 @@ var term_default = _template("v", (input) => {
10746
10405
  trapOpen = true;
10747
10406
  }
10748
10407
  }, "v14", $scope0_id);
10749
- _html(`<div${_attr("hidden", !onTermPage)}${_attr_class(term_module_default.termWrap)}><div${_attr_class(term_module_default.term)}></div>${_el_resume($scope0_id, "b")}`);
10408
+ _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_d3")}><div${_attr_class("_d4")}></div>${_el_resume($scope0_id, "b")}`);
10750
10409
  _if(() => {
10751
10410
  if (findOpen) {
10752
10411
  const $scope11_id = _scope_id();
@@ -10773,7 +10432,7 @@ var term_default = _template("v", (input) => {
10773
10432
  _if(() => {
10774
10433
  if (uploading) {
10775
10434
  const $scope18_id = _scope_id();
10776
- _html(`<div${_attr_class(term_module_default.termUploading)}>uploading…</div>`);
10435
+ _html(`<div${_attr_class("_eb")}>uploading…</div>`);
10777
10436
  writeScope($scope18_id, {});
10778
10437
  return 0;
10779
10438
  }
@@ -10781,7 +10440,7 @@ var term_default = _template("v", (input) => {
10781
10440
  _if(() => {
10782
10441
  if (copiedFlash) {
10783
10442
  const $scope19_id = _scope_id();
10784
- _html(`<div${_attr_class(term_module_default.termCopied)}>Copied</div>`);
10443
+ _html(`<div${_attr_class("_ea")}>Copied</div>`);
10785
10444
  writeScope($scope19_id, {});
10786
10445
  return 0;
10787
10446
  }
@@ -10790,7 +10449,7 @@ var term_default = _template("v", (input) => {
10790
10449
  _if(() => {
10791
10450
  if (trapOpen) {
10792
10451
  const $scope10_id = _scope_id();
10793
- _html(`<div${_attr_class(term_module_default.trapBackdrop)}><div${_attr_class(term_module_default.pasteTrap)}><p${_attr_class(ui_module_default.dim)}>Long-press below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope10_id, "d")}<button${_attr_class(ui_module_default.btn)}>Cancel</button>${_el_resume($scope10_id, "e")}</div>${_el_resume($scope10_id, "b")}</div>${_el_resume($scope10_id, "a")}`);
10452
+ _html(`<div${_attr_class("_ec")}><div${_attr_class("_ed")}><p${_attr_class("_l")}>Long-press below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope10_id, "d")}<button${_attr_class("_d")}>Cancel</button>${_el_resume($scope10_id, "e")}</div>${_el_resume($scope10_id, "b")}</div>${_el_resume($scope10_id, "a")}`);
10794
10453
  _script($scope10_id, "v23");
10795
10454
  _script($scope10_id, "v24");
10796
10455
  writeScope($scope10_id, {});
@@ -11039,7 +10698,7 @@ var work_view_default = _template("y", (input) => {
11039
10698
  error = String(err.message || err);
11040
10699
  }
11041
10700
  }, "y15", $scope0_id);
11042
- _html(`<div${_attr_class([work_view_module_default.workView, { [work_view_module_default.navPage]: view === "nav" }])}><div${_attr_class(work_view_module_default.sideWrap)}>`);
10701
+ _html(`<div${_attr_class(["_M", { ["_L"]: view === "nav" }])}><div${_attr_class("_N")}>`);
11043
10702
  _set_serialize_reason({
11044
10703
  0: _serialize_guard($scope0_reason, 0),
11045
10704
  1: _serialize_guard($scope0_reason, 2),
@@ -11110,7 +10769,7 @@ var work_view_default = _template("y", (input) => {
11110
10769
  openDiff(pr);
11111
10770
  }, "y27", $scope0_id)
11112
10771
  });
11113
- _html(`</div><div${_attr_class(work_view_module_default.mainCol)}>`);
10772
+ _html(`</div><div${_attr_class("_O")}>`);
11114
10773
  _if(() => {
11115
10774
  if (error) {
11116
10775
  const $scope8_id = _scope_id();
@@ -11200,7 +10859,7 @@ var work_view_default = _template("y", (input) => {
11200
10859
  }
11201
10860
  }, $scope0_id, "h");
11202
10861
  _if(() => {}, $scope0_id, "i");
11203
- _html(`<div${_attr_class([work_view_module_default.termArea, { [work_view_module_default.asBar]: view !== "term" }])}>`);
10862
+ _html(`<div${_attr_class(["_Q", { ["_P"]: view !== "term" }])}>`);
11204
10863
  _if(() => {
11205
10864
  if (shownSessions) {
11206
10865
  const $scope4_id = _scope_id();
@@ -11274,7 +10933,7 @@ var work_view_default = _template("y", (input) => {
11274
10933
  _if(() => {
11275
10934
  if (!shownSessions.length) {
11276
10935
  const $scope6_id = _scope_id();
11277
- _html(`<div${_attr_class(work_view_module_default.emptySess)}><p${_attr_class(ui_module_default.dim)}>No sessions in this workspace.</p><button${_attr_class([ui_module_default.btn, ui_module_default.primary])}${_attr("disabled", spawning)}>${spawning ? "Starting…" : `Start ${_escape(`${input.preferred || "claude"}`)}`}${_el_resume($scope6_id, "d")}</button>${_el_resume($scope6_id, "c")}</div>`);
10936
+ _html(`<div${_attr_class("_S")}><p${_attr_class("_l")}>No sessions in this workspace.</p><button${_attr_class(["_d", "_e"])}${_attr("disabled", spawning)}>${spawning ? "Starting…" : `Start ${_escape(`${input.preferred || "claude"}`)}`}${_el_resume($scope6_id, "d")}</button>${_el_resume($scope6_id, "c")}</div>`);
11278
10937
  _script($scope6_id, "y47");
11279
10938
  _subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope6_id, {})));
11280
10939
  return 0;
@@ -11284,7 +10943,7 @@ var work_view_default = _template("y", (input) => {
11284
10943
  return 0;
11285
10944
  } else {
11286
10945
  const $scope10_id = _scope_id();
11287
- _html(`<p${_attr_class(work_view_module_default.padInline)}>Loading sessions…</p>`);
10946
+ _html(`<p${_attr_class("_R")}>Loading sessions…</p>`);
11288
10947
  writeScope($scope10_id, {});
11289
10948
  return 1;
11290
10949
  }
@@ -11465,7 +11124,7 @@ var page_boot_default = _template("n", (input) => {
11465
11124
  }, "n4", $scope0_id);
11466
11125
  const selected = workspaces.find((ws) => ws.id === selectedId);
11467
11126
  const showInlinePalette = !creating && !selected;
11468
- _html(`<div${_attr_class(page_boot_module_default.root)}>`);
11127
+ _html(`<div${_attr_class("_x")}>`);
11469
11128
  _if(() => {
11470
11129
  if (error) {
11471
11130
  const $scope5_id = _scope_id();
@@ -11680,12 +11339,12 @@ var _page_default = _template("b", (input) => {
11680
11339
  placeholder: attrTag({ content: _content_resume("b0", () => {
11681
11340
  _scope_reason();
11682
11341
  _scope_id();
11683
- _html(`<div${_attr_class(page_module_default.boot)}><span${_attr_class(ui_module_default.spin)}></span>Loading workspaces…</div>`);
11342
+ _html(`<div${_attr_class("_b")}><span${_attr_class("_w")}></span>Loading workspaces…</div>`);
11684
11343
  }, $scope0_id) }),
11685
11344
  catch: attrTag({ content: _content_resume("b1", (err) => {
11686
11345
  const $scope3_reason = _scope_reason();
11687
11346
  const $scope3_id = _scope_id();
11688
- _html(`<div${_attr_class(page_module_default.boot)}><p>${err instanceof Error ? _escape(err.message) : _escape(String(err))}${_el_resume($scope3_id, "b", _serialize_guard($scope3_reason, 0))}</p></div>`);
11347
+ _html(`<div${_attr_class("_b")}><p>${err instanceof Error ? _escape(err.message) : _escape(String(err))}${_el_resume($scope3_id, "b", _serialize_guard($scope3_reason, 0))}</p></div>`);
11689
11348
  _serialize_if($scope3_reason, 0) && writeScope($scope3_id, {});
11690
11349
  }, $scope0_id) })
11691
11350
  });
@@ -19351,4 +19010,4 @@ server.listen(port, () => {
19351
19010
  //#endregion
19352
19011
  export {};
19353
19012
 
19354
- ;var __MARKO_MANIFEST__={"esfPH6H":{"block":[2,"stylesheet#/assets/index--QwhN0hy.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/index--QwhN0hy.css\"",">"],"defer":[2,"/assets/index-CdVBL6Kf.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/index-CdVBL6Kf.js\"","></script>"]}};
19013
+ ;var __MARKO_MANIFEST__={"esfPH6H":{"block":[2,"stylesheet#/assets/index-Dfh2odxc.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/index-Dfh2odxc.css\"",">"],"defer":[2,"/assets/index-DNOnhrX7.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/index-DNOnhrX7.js\"","></script>"]}};