Skip to content

The agent that grows with you

fix(desktop): route the catalog's discovery, developer and Tools copy through i18n

Austin Pickett0a203ed9e8db
diff --git a/apps/desktop/src/app/capabilities/catalog/catalog-developer.tsx b/apps/desktop/src/app/capabilities/catalog/catalog-developer.tsx
index 4a71146397a..e9df88c1451 100644
--- a/apps/desktop/src/app/capabilities/catalog/catalog-developer.tsx
+++ b/apps/desktop/src/app/capabilities/catalog/catalog-developer.tsx
@@ -2,27 +2,32 @@ import type { ReactNode } from 'react'
import { Button } from '@/components/ui/button'
import { Codicon } from '@/components/ui/codicon'
+import { useI18n } from '@/i18n'
import { openExternalLink } from '@/lib/external-link'
+import { PLUGIN_CATALOG_DOCS_URL, SKILLS_DOCS_URL, SUBMIT_MOD_URL } from '@/lib/plugin-catalog'
import type { CatalogKind } from './catalog-data'
/** One banner for every catalog. The wing, copy and docs links are shared; the page supplies its own management actions. */
export function CatalogDeveloper({ kind, actions }: { kind: CatalogKind; actions?: ReactNode }) {
+ const { t } = useI18n()
+ const d = t.catalog.developer
+
return (
<section data-catalog-section="developer">
- <header className="catalog-section-heading"><h2>Developer Mode</h2></header>
+ <header className="catalog-section-heading"><h2>{d.heading}</h2></header>
<div className="catalog-developer">
<div aria-hidden className="catalog-developer-art" />
<div className="catalog-developer-content">
<span aria-hidden className="catalog-developer-mark" />
- <h3>Build for Hermes</h3>
- <p className="text-sm text-(--ui-text-secondary)">Built a tool, connector, plugin, or Mod?<br />Want to but don’t know how?</p>
+ <h3>{d.title}</h3>
+ <p className="text-sm text-(--ui-text-secondary)">{d.pitch}<br />{d.pitchFollowUp}</p>
<div className="catalog-developer-ctas">
- <Button onClick={() => void openExternalLink('https://github.com/NousResearch/hermes-agent/compare')} size="sm" variant="default">
- Submit Mod<Codicon name="arrow-up-right" />
+ <Button onClick={() => void openExternalLink(SUBMIT_MOD_URL)} size="sm" variant="default">
+ {d.submit}<Codicon name="arrow-up-right" />
</Button>
- <Button onClick={() => void openExternalLink(kind === 'plugins' ? 'https://hermes-agent.nousresearch.com/docs/user-guide/features/plugin-catalog' : 'https://hermes-agent.nousresearch.com/docs/skills/')} size="sm" variant="secondary">
- Developer Docs<Codicon name="arrow-up-right" />
+ <Button onClick={() => void openExternalLink(kind === 'plugins' ? PLUGIN_CATALOG_DOCS_URL : SKILLS_DOCS_URL)} size="sm" variant="secondary">
+ {d.docs}<Codicon name="arrow-up-right" />
</Button>
</div>
</div>
diff --git a/apps/desktop/src/app/capabilities/catalog/catalog-discovery.tsx b/apps/desktop/src/app/capabilities/catalog/catalog-discovery.tsx
index c70dd289e2a..3775a4f9a12 100644
--- a/apps/desktop/src/app/capabilities/catalog/catalog-discovery.tsx
+++ b/apps/desktop/src/app/capabilities/catalog/catalog-discovery.tsx
@@ -1,6 +1,6 @@
import './catalog-discovery.css'
-import { groupCatalogPlugins, pickFeatured, PLUGIN_CATEGORIES } from '@hermes/shared'
+import { groupCatalogPlugins, isOfficialSkillSource, pickFeatured, PLUGIN_CATEGORIES } from '@hermes/shared'
import { type ReactNode, useState } from 'react'
import { Button } from '@/components/ui/button'
@@ -17,17 +17,18 @@ import { catalogCategories } from './catalog-query'
/** Fewest cards a category needs for its own shelf; smaller ones share "More to explore". */
const MIN_SHELF = 3
-/** First-party sources, per kind, for the hero's fallback when the feed curates nothing. */
-const OFFICIAL = { plugins: ['official'], skills: ['built-in', 'bundled', 'optional', 'official'] } as const
/** A shelf ranks by its most-starred entry, so the strongest categories lead. */
const topStars = (items: CatalogEntry[]) => Math.max(-1, ...items.map(entry => entry.stars ?? -1))
/** Plugin tiers in page order; community keeps its category shelves. */
-const PLUGIN_TIERS: { tier: Exclude<PluginTier, 'community'>; title: string; blurb: string }[] = [
- { tier: 'official', title: 'Official Plugins', blurb: 'Built and maintained by Nous Research.' },
- { tier: 'verified', title: 'Verified Plugins', blurb: 'From the company behind the integration, verified by Nous.' }
-]
+const PLUGIN_TIERS: Exclude<PluginTier, 'community'>[] = ['official', 'verified']
+
+/** Category shelves shown at first, and how many more each "Show more" adds. */
+const CATEGORY_PAGE = 8
+
+/** Rows of the mixed "More to explore" shelf shown at first, and per "Show more". */
+const LOOSE_ROWS_PAGE = 3
export function CatalogDiscovery({ entries, kind, card, onCategory, actions }: {
entries: CatalogEntry[]
@@ -37,21 +38,21 @@ export function CatalogDiscovery({ entries, kind, card, onCategory, actions }: {
actions?: ReactNode
}) {
const { t } = useI18n()
- const [categoryLimit, setCategoryLimit] = useState(8)
- const [looseRows, setLooseRows] = useState(3)
+ const [categoryLimit, setCategoryLimit] = useState(CATEGORY_PAGE)
+ const [looseRows, setLooseRows] = useState(LOOSE_ROWS_PAGE)
const title = kind === 'plugins' ? t.skills.tabPlugins : t.skills.tabSkills
// Same pick as the website: curated ranks from the feed, rotated weekly.
const featured = pickFeatured(entries, entry => ({
featured: entry.featured,
- official: (OFFICIAL[kind] as readonly string[]).includes(entry.source),
+ official: kind === 'plugins' ? pluginTier(entry) === 'official' : isOfficialSkillSource(entry.source),
pictured: Boolean(entry.imageUrl),
addedAt: entry.addedAt,
stars: entry.stars
}))
const others = entries.filter(entry => entry !== featured)
- const tiered = kind === 'plugins' ? PLUGIN_TIERS.map(meta => ({ ...meta, items: others.filter(entry => pluginTier(entry) === meta.tier) })).filter(({ items }) => items.length) : []
+ const tiered = kind === 'plugins' ? PLUGIN_TIERS.map(tier => ({ tier, ...t.catalog.tiers[tier], items: others.filter(entry => pluginTier(entry) === tier) })).filter(({ items }) => items.length) : []
const remaining = kind === 'plugins' ? others.filter(entry => pluginTier(entry) === 'community') : others
// Plugins with an unlisted category land in `general`, as in every other plugin grouping.
@@ -80,7 +81,7 @@ export function CatalogDiscovery({ entries, kind, card, onCategory, actions }: {
return (
<div className="catalog-discovery">
{featured && <section data-catalog-section="featured">
- <header className="catalog-section-heading"><h2>{t.catalog.discover} {title}</h2></header>
+ <header className="catalog-section-heading"><h2>{t.catalog.discoverKind(title)}</h2></header>
{card(featured, 0, 'hero')}
</section>}
{tiered.map(({ tier, title: tierTitle, blurb, items }, index) => (
@@ -99,23 +100,23 @@ export function CatalogDiscovery({ entries, kind, card, onCategory, actions }: {
<header className="catalog-section-heading">
<div>
<h2><Button className="text-[length:inherit] font-[inherit] text-(--ui-text-primary) hover:text-(--ui-text-primary)" onClick={() => onCategory(category)} size="inline" variant="text">{catalogLabel(label)}</Button></h2>
- <p>{kind === 'plugins' ? PLUGIN_CATEGORIES[category]?.blurb : `Skills for ${catalogLabel(label).toLowerCase()}.`}</p>
+ <p>{kind === 'plugins' ? PLUGIN_CATEGORIES[category]?.blurb : t.catalog.skillsFor(catalogLabel(label))}</p>
</div>
{items.length > packBento(items).length && <Button onClick={() => onCategory(category)} size="inline" variant="text">{t.catalog.seeAll}<Codicon name="arrow-right" /></Button>}
</header>
{bento(items, undefined, index % 2 === 1)}
</section>
})}
- {shelves.length > categoryLimit && <Button onClick={() => setCategoryLimit(value => value + 8)} size="sm" variant="text">{t.catalog.more}</Button>}
+ {shelves.length > categoryLimit && <Button onClick={() => setCategoryLimit(value => value + CATEGORY_PAGE)} size="sm" variant="text">{t.catalog.more}</Button>}
{loose.length > 0 && shelves.length <= categoryLimit && <section data-catalog-section="more">
<header className="catalog-section-heading">
<div>
- <h2>More to explore</h2>
- <p>Smaller corners of the catalog, all in one place.</p>
+ <h2>{t.catalog.moreToExplore}</h2>
+ <p>{t.catalog.moreToExploreBlurb}</p>
</div>
</header>
{bento(loose, looseRows)}
- {loose.length > packBento(loose, BENTO_COLUMNS, looseRows).length && <Button className="mt-4" onClick={() => setLooseRows(value => value + 3)} size="sm" variant="text">{t.catalog.more}</Button>}
+ {loose.length > packBento(loose, BENTO_COLUMNS, looseRows).length && <Button className="mt-4" onClick={() => setLooseRows(value => value + LOOSE_ROWS_PAGE)} size="sm" variant="text">{t.catalog.more}</Button>}
</section>}
<CatalogDeveloper actions={actions} kind={kind} />
</div>
diff --git a/apps/desktop/src/app/capabilities/toolsets/toolsets-data.ts b/apps/desktop/src/app/capabilities/toolsets/toolsets-data.ts
index e789a557bde..63458a8711b 100644
--- a/apps/desktop/src/app/capabilities/toolsets/toolsets-data.ts
+++ b/apps/desktop/src/app/capabilities/toolsets/toolsets-data.ts
@@ -31,39 +31,38 @@ export const toolsetCalls = (toolset: ToolsetInfo, toolCalls: Record<string, num
/** Browsing groups for the Tools page, by what a toolset lets the agent do.
* Toolsets not named here land in the trailing "More tools" group. */
-export const TOOLSET_THEMES: ReadonlyArray<{ id: string; label: string; blurb: string; names: readonly string[] }> = [
+export type ToolsetThemeId = 'work' | 'create' | 'recall' | 'connect' | 'more'
+
+/** Browsing-group membership; labels and blurbs are i18n (`catalog.toolsets.themes`). */
+export const TOOLSET_THEMES: ReadonlyArray<{ id: Exclude<ToolsetThemeId, 'more'>; names: readonly string[] }> = [
{
id: 'work',
- label: 'Browse, work and automate',
- blurb: 'Drive the browser and desktop, edit files, run code and schedule work.',
names: ['browser', 'computer_use', 'web', 'terminal', 'file', 'code_execution', 'cronjob', 'kanban', 'delegation', 'todo', 'clarify']
},
{
id: 'create',
- label: 'See, hear and create',
- blurb: 'Look at images and video, transcribe voice and generate media.',
names: ['vision', 'video', 'stt', 'tts', 'image_gen', 'video_gen']
},
{
id: 'recall',
- label: 'Memory and knowledge',
- blurb: 'What Hermes remembers, and the skills and history it can search.',
names: ['memory', 'session_search', 'skills']
},
{
id: 'connect',
- label: 'Connect and reach out',
- blurb: 'Accounts, other agents, the smart home and search beyond the web.',
names: ['connections', 'a2a', 'homeassistant', 'x_search', 'messaging', 'spotify']
}
]
-export const TOOLSET_MORE_THEME = { id: 'more', label: 'More tools', blurb: 'Everything else this profile can switch on.' }
+export const TOOLSET_MORE_THEME: { id: ToolsetThemeId } = { id: 'more' }
+
+/** Toolsets in the feature row, and the fewest a profile must have before the row shows. */
+export const TOOLSET_FEATURE_COUNT = 4
+export const TOOLSET_FEATURE_MIN = 8
/** The feature row before there's usage to rank by. */
export const TOOLSET_ESSENTIALS: readonly string[] = ['browser', 'file', 'code_execution', 'memory']
-export const toolsetTheme = (name: string) => TOOLSET_THEMES.find(theme => theme.names.includes(name)) ?? TOOLSET_MORE_THEME
+export const toolsetTheme = (name: string): { id: ToolsetThemeId } => TOOLSET_THEMES.find(theme => theme.names.includes(name)) ?? TOOLSET_MORE_THEME
export function filteredToolsets(
toolsets: ToolsetInfo[],
diff --git a/apps/desktop/src/app/capabilities/toolsets/toolsets-tab.tsx b/apps/desktop/src/app/capabilities/toolsets/toolsets-tab.tsx
index b4eb583758e..e2cf1ac572f 100644
--- a/apps/desktop/src/app/capabilities/toolsets/toolsets-tab.tsx
+++ b/apps/desktop/src/app/capabilities/toolsets/toolsets-tab.tsx
@@ -21,6 +21,8 @@ import { ToolsetDetail } from './toolset-detail'
import {
filteredToolsets,
TOOLSET_ESSENTIALS,
+ TOOLSET_FEATURE_COUNT,
+ TOOLSET_FEATURE_MIN,
TOOLSET_MORE_THEME,
TOOLSET_THEMES,
toolsetCalls,
@@ -44,6 +46,7 @@ interface ToolsetsTabProps {
* banner) with each toolset's settings in a dialog. */
export function ToolsetsTab({ hints, onQueryChange, profile, query, toolsets }: ToolsetsTabProps) {
const { t } = useI18n()
+ const ts = t.catalog.toolsets
const toolCalls = useToolCalls(profile)
const [bulkBusy, setBulkBusy] = useState(false)
const [selectedToolset, setSelectedToolset] = useState<string | null>(null)
@@ -146,7 +149,7 @@ export function ToolsetsTab({ hints, onQueryChange, profile, query, toolsets }:
const item = (toolset: ToolsetInfo, layout: CatalogSurfaceSection['layout']): CatalogSurfaceItem => {
const calls = toolCalls ? toolsetCalls(toolset, toolCalls) : 0
const count = toolNames(toolset).length
- const tools = `${count} ${count === 1 ? 'tool' : 'tools'}`
+ const tools = ts.toolCount(count)
const label = toolsetDisplayLabel(toolset)
return {
@@ -154,7 +157,7 @@ export function ToolsetsTab({ hints, onQueryChange, profile, query, toolsets }:
name: label,
description: asText(toolset.description),
eyebrow: count ? tools : undefined,
- badge: calls > 0 ? `${compactNumber(calls)} ${calls === 1 ? 'call' : 'calls'}` : layout === 'list' && count ? tools : undefined,
+ badge: calls > 0 ? ts.callCount(compactNumber(calls), calls) : layout === 'list' && count ? tools : undefined,
action: (
<CatalogSwitch
aria-label={t.skills.toggleToolset(label, !toolset.enabled)}
@@ -169,23 +172,23 @@ export function ToolsetsTab({ hints, onQueryChange, profile, query, toolsets }:
// The feature row is the four most-used toolsets once there is real usage to
// rank by; before that it's the essentials. Everything else sits under what it does.
- const used = visibleToolsets.slice(0, 4)
- const ranked = !!toolCalls && used.length === 4 && used.every(toolset => toolsetCalls(toolset, toolCalls) > 0)
- const featured = query || visibleToolsets.length <= 8 ? [] : ranked ? used : visibleToolsets.filter(toolset => TOOLSET_ESSENTIALS.includes(toolset.name))
+ const used = visibleToolsets.slice(0, TOOLSET_FEATURE_COUNT)
+ const ranked = !!toolCalls && used.length === TOOLSET_FEATURE_COUNT && used.every(toolset => toolsetCalls(toolset, toolCalls) > 0)
+ const featured = query || visibleToolsets.length <= TOOLSET_FEATURE_MIN ? [] : ranked ? used : visibleToolsets.filter(toolset => TOOLSET_ESSENTIALS.includes(toolset.name))
const rest = visibleToolsets.filter(toolset => !featured.includes(toolset))
const sections: CatalogSurfaceSection[] = [
{
id: 'featured',
- label: ranked ? 'Most used' : 'Essentials',
- blurb: ranked ? 'The toolsets Hermes reaches for most on this profile.' : 'What most Hermes work runs on.',
+ label: ranked ? ts.mostUsed : ts.essentials,
+ blurb: ranked ? ts.mostUsedBlurb : ts.essentialsBlurb,
layout: 'feature',
items: featured.map(toolset => item(toolset, 'feature'))
},
...[...TOOLSET_THEMES, TOOLSET_MORE_THEME].map(theme => ({
id: theme.id,
- label: theme.label,
- blurb: theme.blurb,
+ label: ts.themes[theme.id].label,
+ blurb: ts.themes[theme.id].blurb,
layout: 'list' as const,
items: rest.filter(toolset => toolsetTheme(toolset.name).id === theme.id).map(toolset => item(toolset, 'list'))
}))
diff --git a/apps/desktop/src/i18n/en_catalog.ts b/apps/desktop/src/i18n/en_catalog.ts
index 04d00da8d0f..ab47508538c 100644
--- a/apps/desktop/src/i18n/en_catalog.ts
+++ b/apps/desktop/src/i18n/en_catalog.ts
@@ -57,5 +57,36 @@ export const enCatalog: CatalogTranslations = {
snapshotHint: 'From the Hermes catalog. Browsing never contacts source repositories.',
installHint: 'Review the source before installing. Changes apply to new sessions.',
results: (count: number) => `${count.toLocaleString()} result${count === 1 ? '' : 's'}`,
- back: 'Back to results'
+ back: 'Back to results',
+ tiers: {
+ official: { title: 'Official Plugins', blurb: 'Built and maintained by Nous Research.' },
+ verified: { title: 'Verified Plugins', blurb: 'From the company behind the integration, verified by Nous.' }
+ },
+ moreToExplore: 'More to explore',
+ moreToExploreBlurb: 'Smaller corners of the catalog, all in one place.',
+ skillsFor: (category: string) => `Skills for ${category.toLowerCase()}.`,
+ discoverKind: (kind: string) => `Discover ${kind}`,
+ developer: {
+ heading: 'Developer Mode',
+ title: 'Build for Hermes',
+ pitch: 'Built a tool, connector, plugin, or Mod?',
+ pitchFollowUp: 'Want to but don’t know how?',
+ submit: 'Submit Mod',
+ docs: 'Developer Docs'
+ },
+ toolsets: {
+ mostUsed: 'Most used',
+ mostUsedBlurb: 'The toolsets Hermes reaches for most on this profile.',
+ essentials: 'Essentials',
+ essentialsBlurb: 'What most Hermes work runs on.',
+ toolCount: (count: number) => `${count} ${count === 1 ? 'tool' : 'tools'}`,
+ callCount: (count: string, calls: number) => `${count} ${calls === 1 ? 'call' : 'calls'}`,
+ themes: {
+ work: { label: 'Browse, work and automate', blurb: 'Drive the browser and desktop, edit files, run code and schedule work.' },
+ create: { label: 'See, hear and create', blurb: 'Look at images and video, transcribe voice and generate media.' },
+ recall: { label: 'Memory and knowledge', blurb: 'What Hermes remembers, and the skills and history it can search.' },
+ connect: { label: 'Connect and reach out', blurb: 'Accounts, other agents, the smart home and search beyond the web.' },
+ more: { label: 'More tools', blurb: 'Everything else this profile can switch on.' }
+ }
+ }
}
diff --git a/apps/desktop/src/i18n/overlay-gaps.json b/apps/desktop/src/i18n/overlay-gaps.json
index 763e5b9918d..c1cd6903943 100644
--- a/apps/desktop/src/i18n/overlay-gaps.json
+++ b/apps/desktop/src/i18n/overlay-gaps.json
@@ -225,7 +225,14 @@
"catalog.clearFilters": ["de","es","fr"],
"catalog.commands": ["de","es","fr"],
"catalog.destinationChanged": ["de","es","fr"],
+ "catalog.developer.docs": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.developer.heading": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.developer.pitch": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.developer.pitchFollowUp": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.developer.submit": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.developer.title": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
"catalog.discover": ["de","es","fr"],
+ "catalog.discoverKind": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
"catalog.documentation": ["de","es","fr"],
"catalog.explorePlugins": ["de","es","fr"],
"catalog.exploreSkills": ["de","es","fr"],
@@ -244,6 +251,8 @@
"catalog.loadFailed": ["de","es","fr"],
"catalog.middleware": ["de","es","fr"],
"catalog.more": ["de","es","fr"],
+ "catalog.moreToExplore": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.moreToExploreBlurb": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
"catalog.mostStarred": ["de","es","fr"],
"catalog.newest": ["de","es","fr"],
"catalog.noResults": ["de","es","fr"],
@@ -259,12 +268,33 @@
"catalog.searchPlugins": ["de","es","fr"],
"catalog.searchSkills": ["de","es","fr"],
"catalog.seeAll": ["de","es","fr"],
+ "catalog.skillsFor": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
"catalog.snapshotHint": ["de","es","fr"],
"catalog.sortBy": ["de","es","fr"],
"catalog.source": ["de","es","fr"],
"catalog.tags": ["de","es","fr"],
"catalog.thisComputer": ["de","es","fr"],
+ "catalog.tiers.official.blurb": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.tiers.official.title": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.tiers.verified.blurb": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.tiers.verified.title": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
"catalog.tools": ["de","es","fr"],
+ "catalog.toolsets.callCount": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.toolsets.essentials": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.toolsets.essentialsBlurb": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.toolsets.mostUsed": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.toolsets.mostUsedBlurb": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.toolsets.themes.connect.blurb": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.toolsets.themes.connect.label": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.toolsets.themes.create.blurb": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.toolsets.themes.create.label": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.toolsets.themes.more.blurb": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.toolsets.themes.more.label": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.toolsets.themes.recall.blurb": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.toolsets.themes.recall.label": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.toolsets.themes.work.blurb": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.toolsets.themes.work.label": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
+ "catalog.toolsets.toolCount": ["ar","de","es","fr","ja","ru","zh","zh-hant"],
"catalog.tryAnother": ["de","es","fr"],
"catalog.updatedDate": ["de","es","fr"],
"catalog.version": ["de","es","fr"],
diff --git a/apps/desktop/src/i18n/types_catalog.ts b/apps/desktop/src/i18n/types_catalog.ts
index 9b1d85633d3..65f50c5264d 100644
--- a/apps/desktop/src/i18n/types_catalog.ts
+++ b/apps/desktop/src/i18n/types_catalog.ts
@@ -56,4 +56,29 @@ export interface CatalogTranslations {
installHint: string
results: (count: number) => string
back: string
+ tiers: {
+ official: { title: string; blurb: string }
+ verified: { title: string; blurb: string }
+ }
+ moreToExplore: string
+ moreToExploreBlurb: string
+ skillsFor: (category: string) => string
+ discoverKind: (kind: string) => string
+ developer: {
+ heading: string
+ title: string
+ pitch: string
+ pitchFollowUp: string
+ submit: string
+ docs: string
+ }
+ toolsets: {
+ mostUsed: string
+ mostUsedBlurb: string
+ essentials: string
+ essentialsBlurb: string
+ toolCount: (count: number) => string
+ callCount: (count: string, calls: number) => string
+ themes: Record<'work' | 'create' | 'recall' | 'connect' | 'more', { label: string; blurb: string }>
+ }
}
diff --git a/apps/desktop/src/lib/plugin-catalog.ts b/apps/desktop/src/lib/plugin-catalog.ts
index 09fbab19ee3..82ca094b47f 100644
--- a/apps/desktop/src/lib/plugin-catalog.ts
+++ b/apps/desktop/src/lib/plugin-catalog.ts
@@ -28,6 +28,9 @@ import { $gatewayState } from '@/store/session'
export const CATALOG_ORIGIN = 'https://hermes-agent.nousresearch.com'
export const PLUGIN_CATALOG_URL = `${CATALOG_ORIGIN}/docs/api/plugins.json`
+export const PLUGIN_CATALOG_DOCS_URL = `${CATALOG_ORIGIN}/docs/user-guide/features/plugin-catalog`
+export const SKILLS_DOCS_URL = `${CATALOG_ORIGIN}/docs/skills/`
+export const SUBMIT_MOD_URL = 'https://github.com/NousResearch/hermes-agent/compare'
/** Catalog names are directory names under `plugin-catalog/`; anything else is not a lookup key. */
export const PLUGIN_CATALOG_NAME_RE = /^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$/
diff --git a/locales/_keys.desktop.json b/locales/_keys.desktop.json
index 565276c40e2..3d243061203 100644
--- a/locales/_keys.desktop.json
+++ b/locales/_keys.desktop.json
@@ -574,7 +574,14 @@
"catalog.clearFilters",
"catalog.commands",
"catalog.destinationChanged",
+ "catalog.developer.docs",
+ "catalog.developer.heading",
+ "catalog.developer.pitch",
+ "catalog.developer.pitchFollowUp",
+ "catalog.developer.submit",
+ "catalog.developer.title",
"catalog.discover",
+ "catalog.discoverKind",
"catalog.documentation",
"catalog.explorePlugins",
"catalog.exploreSkills",
@@ -593,6 +600,8 @@
"catalog.loadFailed",
"catalog.middleware",
"catalog.more",
+ "catalog.moreToExplore",
+ "catalog.moreToExploreBlurb",
"catalog.mostStarred",
"catalog.newest",
"catalog.noResults",
@@ -608,12 +617,33 @@
"catalog.searchPlugins",
"catalog.searchSkills",
"catalog.seeAll",
+ "catalog.skillsFor",
"catalog.snapshotHint",
"catalog.sortBy",
"catalog.source",
"catalog.tags",
"catalog.thisComputer",
+ "catalog.tiers.official.blurb",
+ "catalog.tiers.official.title",
+ "catalog.tiers.verified.blurb",
+ "catalog.tiers.verified.title",
"catalog.tools",
+ "catalog.toolsets.callCount",
+ "catalog.toolsets.essentials",
+ "catalog.toolsets.essentialsBlurb",
+ "catalog.toolsets.mostUsed",
+ "catalog.toolsets.mostUsedBlurb",
+ "catalog.toolsets.themes.connect.blurb",
+ "catalog.toolsets.themes.connect.label",
+ "catalog.toolsets.themes.create.blurb",
+ "catalog.toolsets.themes.create.label",
+ "catalog.toolsets.themes.more.blurb",
+ "catalog.toolsets.themes.more.label",
+ "catalog.toolsets.themes.recall.blurb",
+ "catalog.toolsets.themes.recall.label",
+ "catalog.toolsets.themes.work.blurb",
+ "catalog.toolsets.themes.work.label",
+ "catalog.toolsets.toolCount",
"catalog.tryAnother",
"catalog.updatedDate",
"catalog.version",