The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(catalog): give Claude Code's art to Hermes Agent and let curation own official art
Brooklyn Nicholson0eeb015f2db6
diff --git a/apps/desktop/src/app/capabilities/catalog/catalog-curation.ts b/apps/desktop/src/app/capabilities/catalog/catalog-curation.tsindex 64472e536b2..dfe14a0c0d1 100644--- a/apps/desktop/src/app/capabilities/catalog/catalog-curation.ts+++ b/apps/desktop/src/app/capabilities/catalog/catalog-curation.ts@@ -21,17 +21,19 @@ interface CurationRow {tier?: string}+/** Official identities whose art the curation file owns: a reassignment there+ * must win over a feed published with the old mapping. */+export function curationOwnsArtwork(kind: 'skills' | 'plugins', row: CurationRow): boolean {+ return kind === 'skills' ? OFFICIAL_SKILL_SOURCES.includes(row.source ?? '') : row.tier === 'bundled'+}+/** Only first-party catalog identities receive editorial artwork. */export function officialCatalogArtwork(kind: 'skills' | 'plugins', row: CurationRow): string | null {- if (kind === 'skills') {- if (!OFFICIAL_SKILL_SOURCES.includes(row.source ?? '')) {return null}-- return artworkUrl((artwork.skills as Record<string, string>)[`${row.category}/${row.name}`])- }-- if (row.tier !== 'bundled') {return null}+ if (!curationOwnsArtwork(kind, row)) {return null}- return artworkUrl((artwork.plugins as Record<string, string>)[row.identifier ?? ''])+ return kind === 'skills'+ ? artworkUrl((artwork.skills as Record<string, string>)[`${row.category}/${row.name}`])+ : artworkUrl((artwork.plugins as Record<string, string>)[row.identifier ?? ''])}/** Curated hero rank from the bundled curation file, for feeds published beforediff --git a/apps/desktop/src/app/capabilities/catalog/catalog-data.ts b/apps/desktop/src/app/capabilities/catalog/catalog-data.tsindex a3f17c923db..8bb5f7a68b2 100644--- a/apps/desktop/src/app/capabilities/catalog/catalog-data.ts+++ b/apps/desktop/src/app/capabilities/catalog/catalog-data.ts@@ -3,7 +3,7 @@ import { queryOptions, useQuery } from '@tanstack/react-query'import { queryClient } from '@/lib/query-client'-import { curatedFeaturedRank, officialCatalogArtwork } from './catalog-curation'+import { curatedFeaturedRank, curationOwnsArtwork, officialCatalogArtwork } from './catalog-curation'export type CatalogKind = 'skills' | 'plugins'@@ -146,7 +146,7 @@ export function parseCatalog(kind: CatalogKind, data: unknown): CatalogEntry[] {docsUrl:webUrl(row.docsUrl) ||(text(row.docsPath) ? `${DOCS_ORIGIN}/docs/user-guide/skills/${text(row.docsPath)}` : null),- imageUrl: catalogImageUrl(row.image) ?? officialCatalogArtwork(kind, row),+ imageUrl: curationOwnsArtwork(kind, row) ? officialCatalogArtwork(kind, row) : catalogImageUrl(row.image),screenshots:kind === 'plugins'? strings(row.screenshots)diff --git a/apps/shared/src/catalog-curation.json b/apps/shared/src/catalog-curation.jsonindex 054b95fb555..376933f65b8 100644--- a/apps/shared/src/catalog-curation.json+++ b/apps/shared/src/catalog-curation.json@@ -2,9 +2,8 @@"artwork": {"skills": {"autonomous-ai-agents/computer-use": "official-art-feature.jpg",- "autonomous-ai-agents/claude-code": "official-art-card-one.jpg","autonomous-ai-agents/codex": "official-art.jpg",- "autonomous-ai-agents/hermes-agent": "official-art-hermes-hero.jpg"+ "autonomous-ai-agents/hermes-agent": "official-art-card-one.jpg"},"plugins": {"desktop:kanban": "official-art.jpg",diff --git a/website/static/img/catalog/official-art-cover.jpg b/website/static/img/catalog/official-art-cover.jpgdeleted file mode 100644index 847e6165eb8..00000000000Binary files a/website/static/img/catalog/official-art-cover.jpg and /dev/null differdiff --git a/website/static/img/catalog/official-art-hermes-hero.jpg b/website/static/img/catalog/official-art-hermes-hero.jpgdeleted file mode 100644index 4d422244e7f..00000000000Binary files a/website/static/img/catalog/official-art-hermes-hero.jpg and /dev/null differdiff --git a/website/static/img/catalog/official-art-hermes-tabs.jpg b/website/static/img/catalog/official-art-hermes-tabs.jpgdeleted file mode 100644index 3598b5c763d..00000000000Binary files a/website/static/img/catalog/official-art-hermes-tabs.jpg and /dev/null differ