The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
feat(catalog): refresh OpenViking pin and honor display titles
Hao Zhe6532f07221e9
diff --git a/plugin-catalog/openviking.yaml b/plugin-catalog/openviking.yamlindex 91c2db2a031..4a2dc8a05ed 100644--- a/plugin-catalog/openviking.yaml+++ b/plugin-catalog/openviking.yaml@@ -1,18 +1,24 @@name: openviking+title: OpenVikingrepo: https://github.com/volcengine/OpenViking-sha: 3b65218eef43aba7a680cf143278ad4c153b0e9f+sha: a768dfb5523597261b412f5109d2323b6c4c6104subdir: examples/hermes-plugin-version: "2.0.1"-description: OpenViking context-database memory provider — session-managed memory with automatic- extraction, tiered retrieval and filesystem-style knowledge browsing. Maintained by Volcengine; the- same provider that shipped in-tree. Disclosure — conversation turns, tool results and MEMORY.md /- USER.md edits are sent to the configured OpenViking server (local 127.0.0.1 by default; setup offers- a Volcengine cloud endpoint); when the local server is down it starts `openviking-server` from PATH- in the background, and at this pin that child inherits the full Hermes environment.+version: "2.1.0"+image: https://raw.githubusercontent.com/volcengine/OpenViking/a768dfb5523597261b412f5109d2323b6c4c6104/docs/images/openviking-social.jpg+description: >-+ Long-term memory and searchable knowledge for Hermes. Automatically capture conversations,+ extract memories and recall them across sessions. Six provider tools search, read and browse+ knowledge, save facts, remove memories and add resources. Setup offers Quick Local,+ OpenViking Service or your own server.+ Disclosure — conversation turns, tool results and MEMORY.md / USER.md edits are sent to the+ configured OpenViking server. Quick Local downloads a private server runtime and local embedding+ model, copies the configured Hermes static LLM credentials for extraction, and keeps its server+ running after Hermes exits. Extraction can use a remote LLM. Custom localhost connections can+ start openviking-server from PATH with a filtered profile environment.maintainer: volcenginetier: communitycategory: memory-docs_url: https://github.com/volcengine/OpenViking/tree/main/examples/hermes-plugin#readme+docs_url: https://github.com/volcengine/OpenViking/tree/a768dfb5523597261b412f5109d2323b6c4c6104/examples/hermes-plugin#readmecapabilities:provides_tools: []provides_hooks:diff --git a/tests/website/test_extract_plugins.py b/tests/website/test_extract_plugins.pyindex 0c004537afd..525367193e8 100644--- a/tests/website/test_extract_plugins.py+++ b/tests/website/test_extract_plugins.py@@ -94,6 +94,21 @@ def test_valid_entry_is_extracted_with_install_command(mod, tmp_path):assert e["installCommand"] == "hermes plugins install example-plugin"[email protected]("title", ["Readable Brand", None])+def test_display_title_keeps_install_identity(mod, tmp_path, title):+ catalog = tmp_path / "plugin-catalog"+ catalog.mkdir()+ _write_entry(catalog, "example-plugin", title=title)++ entry = mod.load_catalog_entries(catalog)[0]++ assert entry["title"] == (title or "")+ assert entry["name"] == "example-plugin"+ assert entry["installCommand"] == "hermes plugins install example-plugin"+ assert entry["readmeUrl"].endswith("/README.md")+ assert "/example-plugin/" in entry["readmeUrl"]++def test_entries_missing_required_fields_are_skipped(mod, tmp_path, capsys):catalog = tmp_path / "plugin-catalog"catalog.mkdir()diff --git a/website/scripts/extract-plugins.py b/website/scripts/extract-plugins.pyindex a751462f9e8..6140293b9d4 100644--- a/website/scripts/extract-plugins.py+++ b/website/scripts/extract-plugins.py@@ -246,6 +246,7 @@ def load_catalog_entries(catalog_dir: Path, stars: dict[str, int] | None = None,subdir = str(raw.get("subdir") or "").strip()entries.append({"name": name,+ "title": str(raw.get("title") or "").strip(),"description": str(raw.get("description") or "").strip(),"repo": repo,"sha": sha,diff --git a/website/src/components/PluginCatalog/MiniCard.tsx b/website/src/components/PluginCatalog/MiniCard.tsxindex 28354606e07..79f26cab951 100644--- a/website/src/components/PluginCatalog/MiniCard.tsx+++ b/website/src/components/PluginCatalog/MiniCard.tsx@@ -5,6 +5,7 @@ import {categoryOf,formatStars,pluginPagePath,+ pluginTitle,repoUrl,tierOf,} from "./catalog";@@ -21,7 +22,7 @@ export default function MiniCard({ plugin }: { plugin: CatalogPlugin }) {<span className={styles.miniIcon} aria-hidden="true" title={category.label}>{category.icon}</span>- <span className={styles.miniName}>{plugin.name}</span>+ <span className={styles.miniName}>{pluginTitle(plugin)}</span><spanclassName={styles.tierPill}style={{ color: tier.color, background: tier.bg, borderColor: tier.border }}diff --git a/website/src/components/PluginCatalog/PluginPage.tsx b/website/src/components/PluginCatalog/PluginPage.tsxindex e4b7f5b1951..fcfcd98082a 100644--- a/website/src/components/PluginCatalog/PluginPage.tsx+++ b/website/src/components/PluginCatalog/PluginPage.tsx@@ -11,6 +11,7 @@ import {formatDate,formatStars,pinUrl,+ pluginTitle,repoUrl,splitDisclosure,tierOf,@@ -66,6 +67,7 @@ function platformLabel(p: string): string {export default function PluginPage({ data }: { data: PluginPageData }) {const { plugin, readmeHtml, author, moreByAuthor } = data;+ const title = pluginTitle(plugin);const tier = tierOf(plugin);const category = categoryOf(plugin);const caps = plugin.capabilities || {};@@ -79,10 +81,10 @@ export default function PluginPage({ data }: { data: PluginPageData }) {: null;const added = formatDate(plugin.addedAt);const updated = formatDate(plugin.updatedAt);- const metaDescription = (prose || plugin.description || `${plugin.name} — a Hermes Agent plugin`).slice(0, 160);+ const metaDescription = (prose || plugin.description || `${title} — a Hermes Agent plugin`).slice(0, 160);return (- <Layout title={`${plugin.name} · Plugin Catalog`} description={metaDescription}>+ <Layout title={`${title} · Plugin Catalog`} description={metaDescription}><Head><meta property="og:type" content="website" />{plugin.image && <meta property="og:image" content={plugin.image} />}@@ -93,7 +95,7 @@ export default function PluginPage({ data }: { data: PluginPageData }) {<span aria-hidden="true">/</span><span>{category.label}</span><span aria-hidden="true">/</span>- <span className={styles.crumbCurrent}>{plugin.name}</span>+ <span className={styles.crumbCurrent}>{title}</span></nav><header className={styles.hero}>@@ -111,7 +113,7 @@ export default function PluginPage({ data }: { data: PluginPageData }) {<span className={styles.heroIcon} aria-hidden="true" title={category.label}>{category.icon}</span>- <h1 className={styles.title}>{plugin.name}</h1>+ <h1 className={styles.title}>{title}</h1><spanclassName={styles.tierPill}style={{ color: tier.color, background: tier.bg, borderColor: tier.border }}@@ -197,7 +199,7 @@ export default function PluginPage({ data }: { data: PluginPageData }) {<a key={src} href={src} target="_blank" rel="noopener noreferrer" className={styles.shot}><imgsrc={src}- alt={`${plugin.name} screenshot ${i + 1}`}+ alt={`${title} screenshot ${i + 1}`}loading="lazy"decoding="async"referrerPolicy="no-referrer"diff --git a/website/src/components/PluginCatalog/catalog.ts b/website/src/components/PluginCatalog/catalog.tsindex 8ee1d5b7482..9b04a5b94e2 100644--- a/website/src/components/PluginCatalog/catalog.ts+++ b/website/src/components/PluginCatalog/catalog.ts@@ -11,6 +11,8 @@ export interface PluginCapabilities {export interface CatalogPlugin {name: string;+ /** Human display label; URLs and install commands keep the catalog name. */+ title?: string;description: string;repo: string;sha: string;@@ -62,6 +64,10 @@ export function desktopInstallLink(name: string): string {return `hermes://plugin/install?catalog=${encodeURIComponent(name)}`;}+export function pluginTitle(plugin: Pick<CatalogPlugin, "name" | "title">): string {+ return plugin.title || plugin.name;+}+/** Site route of an entry's page (Docusaurus prefixes baseUrl/locale via <Link>). */export function pluginPagePath(name: string): string {return `/plugins/${encodeURIComponent(name)}`;diff --git a/website/src/pages/plugins/index.tsx b/website/src/pages/plugins/index.tsxindex 6c482cfd32b..ce68368e9b9 100644--- a/website/src/pages/plugins/index.tsx+++ b/website/src/pages/plugins/index.tsx@@ -21,6 +21,7 @@ import {formatStars,pinUrl,pluginPagePath,+ pluginTitle,repoUrl,tierOf,} from "../../components/PluginCatalog/catalog";@@ -144,9 +145,9 @@ function PluginCard({<div className={styles.cardTop}><span className={styles.cardIcon} title={category.label}>{category.icon}</span><div className={styles.cardTitleGroup}>- <h3 className={styles.cardTitle} title={plugin.name}>+ <h3 className={styles.cardTitle} title={pluginTitle(plugin)}><Link className={styles.cardTitleLink} to={pagePath} onClick={(e) => e.stopPropagation()}>- {highlightMatch(plugin.name, query)}+ {highlightMatch(pluginTitle(plugin), query)}</Link></h3>{typeof plugin.stars === "number" && (@@ -351,6 +352,7 @@ function PluginCard({function buildSearchHaystack(p: CatalogPlugin): string {return [p.name,+ p.title,p.description,p.maintainer,p.tier,