@galaxy-stack/blackhole-cli 2.1.31 → 2.1.32

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galaxy-stack/blackhole-cli",
3
- "version": "2.1.31",
3
+ "version": "2.1.32",
4
4
  "private": false,
5
5
  "description": "Galaxy Code CLI and terminal UI for the Galaxy agent runtime",
6
6
  "license": "MIT",
@@ -741,13 +741,13 @@ window.__ModuleLoader__.load({
741
741
  }, 150);
742
742
  }
743
743
  new MutationObserver(function (mutations) {
744
+ scheduleTidySurfaces();
744
745
  for (var i = 0; i < mutations.length; i += 1) {
745
746
  var added = mutations[i].addedNodes;
746
747
  for (var j = 0; j < added.length; j += 1) {
747
748
  var node = added[j];
748
749
  if (node === null || node.nodeType !== 1) continue;
749
750
  scheduleMenuProbe();
750
- scheduleTidySurfaces();
751
751
  return;
752
752
  }
753
753
  }
@@ -826,7 +826,12 @@ window.__ModuleLoader__.load({
826
826
  if (document.getElementById("gbh-hide-dsh-mascot") !== null) return;
827
827
  var style = document.createElement("style");
828
828
  style.id = "gbh-hide-dsh-mascot";
829
- style.textContent = '[class*="runningWhale"]{display:none !important}';
829
+ style.textContent = [
830
+ '[class*="runningWhale"]{display:none !important}',
831
+ /* The preset card's view affordance is an icon carrying its label in data-tip/aria-label rather than in
832
+ text, so a rule on those attributes survives the re-renders an inline style does not. */
833
+ '[data-tip="Xem"],[data-tip="View"],[aria-label^="Xem:"],[aria-label^="View:"]{display:none !important}',
834
+ ].join("\n");
830
835
  document.head.appendChild(style);
831
836
  } catch (error) { /* A page without a head must not break the rest of the brand. */ }
832
837
  }
@@ -852,11 +857,7 @@ window.__ModuleLoader__.load({
852
857
  var label = text.indexOf("Current version:") === 0 ? "Current version: " : "Phiên bản hiện tại: ";
853
858
  node.textContent = label + CLI_VERSION;
854
859
  }
855
- var buttons = document.querySelectorAll("button");
856
- for (var j = 0; j < buttons.length; j += 1) {
857
- if ((buttons[j].textContent || "").trim() !== "Xem") continue;
858
- buttons[j].style.display = "none";
859
- }
860
+
860
861
  } catch (error) { /* A DOM we do not recognise must not break the brand. */ }
861
862
  }
862
863