Skip to content

The agent that grows with you

fix: plugin catalog ranks by stars only and drops the review-claim badges

teknium176fe8f7f5f68
diff --git a/tests/website/test_extract_plugins.py b/tests/website/test_extract_plugins.py
index b3c884379fa..d38021b1b97 100644
--- a/tests/website/test_extract_plugins.py
+++ b/tests/website/test_extract_plugins.py
@@ -154,7 +154,7 @@ def test_main_writes_catalog_and_meta(mod, tmp_path):
_write_entry(catalog, "alpha", tier="official", category="memory")
_write_entry(catalog, "beta") # no category → default "desktop" shelf
_write_entry(catalog, "gamma")
- # Star cache from fetch-plugin-stars.py: gamma outranks beta within the community tier.
+ # Star cache from fetch-plugin-stars.py: ranking is stars only; the official tier gets no boost.
(tmp_path / "api").mkdir()
(tmp_path / "api" / "plugin-stars.json").write_text(json.dumps({
"fetched_at": "2026-09-15T00:00:00+00:00",
@@ -169,7 +169,7 @@ def test_main_writes_catalog_and_meta(mod, tmp_path):
assert rc == 0
plugins = json.loads((out_dir / "plugins.json").read_text(encoding="utf-8"))
meta = json.loads((out_dir / "plugins-meta.json").read_text(encoding="utf-8"))
- assert [p["name"] for p in plugins] == ["alpha", "gamma", "beta"] # official first, then stars desc
+ assert [p["name"] for p in plugins] == ["gamma", "beta", "alpha"] # stars desc, unknown stars last
assert {p["name"]: p["stars"] for p in plugins} == {"alpha": None, "gamma": 50, "beta": 3}
assert meta["total"] == 3
assert meta["byTier"] == {"official": 1, "community": 2}
diff --git a/website/scripts/extract-plugins.py b/website/scripts/extract-plugins.py
index 1b394be0d60..957de98a06e 100644
--- a/website/scripts/extract-plugins.py
+++ b/website/scripts/extract-plugins.py
@@ -171,8 +171,8 @@ def load_catalog_entries(catalog_dir: Path, stars: dict[str, int] | None = None)
"stars": _repo_stars(repo, stars),
})
- # Official first, then by stars (unknown = 0), then name so the order is stable.
- entries.sort(key=lambda e: (0 if e["tier"] == "official" else 1, -(e["stars"] or 0), e["name"]))
+ # Most-starred first (unknown = 0), then name so the order is stable; tier does not rank.
+ entries.sort(key=lambda e: (-(e["stars"] or 0), e["name"]))
return entries
diff --git a/website/src/pages/plugins/index.tsx b/website/src/pages/plugins/index.tsx
index ec7459aa014..e1e770296e9 100644
--- a/website/src/pages/plugins/index.tsx
+++ b/website/src/pages/plugins/index.tsx
@@ -376,32 +376,6 @@ function PluginCard({
);
}
-const TRUST_ICONS = {
- check: "M4 10.5l3.5 3.5L16 5.5",
- lock: "M6 9V7a4 4 0 118 0v2M5 9h10v8H5z",
- download: "M10 3v10m0 0l-4-4m4 4l4-4M4 17h12",
-} as const;
-
-function TrustChip({ icon, text }: { icon: keyof typeof TRUST_ICONS; text: string }) {
- return (
- <li className={styles.trustChip}>
- <svg
- className={styles.trustIcon}
- viewBox="0 0 20 20"
- fill="none"
- stroke="currentColor"
- strokeWidth="2"
- strokeLinecap="round"
- strokeLinejoin="round"
- aria-hidden="true"
- >
- <path d={TRUST_ICONS[icon]} />
- </svg>
- {text}
- </li>
- );
-}
-
function buildSearchHaystack(p: CatalogPlugin): string {
return [
p.name,
@@ -590,7 +564,7 @@ export default function PluginCatalogPage() {
</nav>
<p className={styles.heroSub}>
Give Hermes new powers. Memory, voice, messaging, browsing, Desktop panes and more,
- built by the community and reviewed by the Hermes team before it reaches you.
+ built by the community.
{loadError && (
<span style={{ color: "#f87171", marginLeft: 8 }}>
· failed to load catalog ({loadError})
@@ -620,14 +594,6 @@ export default function PluginCatalogPage() {
</span>
</p>
)}
-
- {!catalogEmpty && (
- <ul className={styles.trustRow} aria-label="What every listing gets you">
- <TrustChip icon="check" text="Reviewed by the Hermes team" />
- <TrustChip icon="lock" text="Installs exactly the version we reviewed" />
- <TrustChip icon="download" text="One click from Hermes Desktop" />
- </ul>
- )}
</div>
</header>
diff --git a/website/src/pages/plugins/styles.module.css b/website/src/pages/plugins/styles.module.css
index 4e5a2aeab04..05d097e5005 100644
--- a/website/src/pages/plugins/styles.module.css
+++ b/website/src/pages/plugins/styles.module.css
@@ -121,34 +121,8 @@
}
/* Three promises every listing carries; replaces the registry-style counters. */
-.trustRow {
- display: flex;
- justify-content: center;
- gap: 0.6rem;
- flex-wrap: wrap;
- list-style: none;
- margin: 0 -6rem;
- padding: 0;
-}
-.trustChip {
- display: inline-flex;
- align-items: center;
- gap: 0.5rem;
- padding: 0.45rem 0.9rem;
- border-radius: 999px;
- border: 1px solid rgba(255, 215, 0, 0.18);
- background: rgba(255, 215, 0, 0.05);
- font-size: 0.88rem;
- color: var(--ifm-font-color-base);
-}
-.trustIcon {
- width: 1rem;
- height: 1rem;
- flex: none;
- color: #ffd700;
-}
.controlsBar {
position: sticky;
@@ -882,14 +856,6 @@
font-size: 2rem;
}
- .trustRow {
- gap: 0.4rem;
- }
-
- .trustChip {
- font-size: 0.8rem;
- padding: 0.35rem 0.7rem;
- }
.controlsBar {
padding: 0.75rem 1rem;