The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
feat(desktop): hermes://plugin/install?catalog=<name> opens the reviewed catalog install dialog
teknium1aae3c737add3
diff --git a/apps/desktop/src/app/capabilities/plugins/plugins-tab.tsx b/apps/desktop/src/app/capabilities/plugins/plugins-tab.tsxindex 8f96f3d26f3..aeca3e7fae6 100644--- a/apps/desktop/src/app/capabilities/plugins/plugins-tab.tsx+++ b/apps/desktop/src/app/capabilities/plugins/plugins-tab.tsx@@ -20,6 +20,7 @@ import type { ProfileScope } from '@/hermes'import { useI18n } from '@/i18n'import { triggerHaptic } from '@/lib/haptics'import { FolderOpen, Loader2, Monitor, Package, RefreshCw } from '@/lib/icons'+import { CATALOG_ORIGIN, CATALOG_PICKER_URL } from '@/lib/plugin-catalog'import { cn } from '@/lib/utils'import {$agentPluginBusy,@@ -35,6 +36,7 @@ import {} from '@/store/agent-plugins'import { notify, notifyError } from '@/store/notifications'import { $paneHeightOverride, setPaneHeightOverride } from '@/store/panes'+import { openCatalogPluginInstall } from '@/store/plugin-catalog-install'import { openPluginInstallRequest } from '@/store/plugin-install-request'import { $connection } from '@/store/session'@@ -51,9 +53,8 @@ import { mergePluginPackages, type PackageKind, type PluginPackage } from './plu// to the parent window. We validate the origin and open the shared// dual-target install modal (agent half → catalog-pinned install into the// scoped profile; desktop half → this app), so unified packages install both-// halves in one flow.-const CATALOG_ORIGIN = 'https://hermes-agent.nousresearch.com'-const CATALOG_PICKER_URL = `${CATALOG_ORIGIN}/docs/plugins?embed=picker`+// halves in one flow. URLs live in `@/lib/plugin-catalog` so the+// `hermes://plugin/install?catalog=` deep link resolves against the same feed.// Catalog viewport: persisted through the shared pane store, dragged from the// section's TOP edge ("pull the catalog up"), clamped so neither the catalog@@ -458,20 +459,17 @@ export const PluginsTab = memo(function PluginsTab({return}- const existing = $agentPlugins.get().find(row => row.catalog_name === data.name || row.name === data.name)-- if (existing && !existing.update_available) {- notify({ kind: 'success', message: p.alreadyInstalled(String(data.name)) })-- return- }-- openPluginInstallRequest({- catalogName: String(data.name),- profile: scope,- repo: data.subdir ? `${String(data.repo)}#${String(data.subdir)}` : String(data.repo),- sha: data.sha ? String(data.sha) : undefined- })+ // Already-installed short-circuit + the dialog itself live in the shared+ // helper so a catalog deep link behaves identically to this pick.+ openCatalogPluginInstall(+ {+ name: String(data.name),+ repo: String(data.repo),+ sha: data.sha ? String(data.sha) : undefined,+ subdir: data.subdir ? String(data.subdir) : undefined+ },+ scope+ )}window.addEventListener('message', onMessage)diff --git a/apps/desktop/src/app/contrib/hooks/use-desktop-integrations.test.tsx b/apps/desktop/src/app/contrib/hooks/use-desktop-integrations.test.tsxindex 64d23961298..44700b52610 100644--- a/apps/desktop/src/app/contrib/hooks/use-desktop-integrations.test.tsx+++ b/apps/desktop/src/app/contrib/hooks/use-desktop-integrations.test.tsx@@ -4,6 +4,8 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'import { createClientSessionState } from '@/lib/chat-runtime'import { adoptNewSessionDraft, stashSessionDraft, takeSessionDraft } from '@/store/composer'import { requestMcpInstallFromDeepLink } from '@/store/mcp-deeplink-install'+import { requestPluginCatalogInstallFromDeepLink } from '@/store/plugin-catalog-install'+import { openPluginInstallRequest } from '@/store/plugin-install-request'import { _resetLegacyDiscardForTests } from '@/store/session'import { dropSessionState, publishSessionState } from '@/store/session-states'import type * as WindowsStore from '@/store/windows'@@ -23,6 +25,14 @@ vi.mock('@/store/mcp-deeplink-install', () => ({requestMcpInstallFromDeepLink: vi.fn()}))+vi.mock('@/store/plugin-catalog-install', () => ({+ requestPluginCatalogInstallFromDeepLink: vi.fn()+}))++vi.mock('@/store/plugin-install-request', () => ({+ openPluginInstallRequest: vi.fn()+}))+vi.mock('@/store/windows', async importOriginal => {const actual = await importOriginal<typeof WindowsStore>()@@ -583,6 +593,25 @@ describe('useDesktopIntegrations', () => {expect(requestMcpInstallFromDeepLink).toHaveBeenCalledWith({ name: 'context7' })expect(navigate).not.toHaveBeenCalled()})++ it('routes hermes://plugin/install?catalog= to the catalog lookup, not the git-path modal', () => {+ let deepLink: ((payload: { kind: string; name: string; params: Record<string, string> }) => void) | undefined+ desktopWindow.hermesDesktop = {+ ...desktopWindow.hermesDesktop,+ onDeepLink: (cb: (payload: { kind: string; name: string; params: Record<string, string> }) => void) => {+ deepLink = cb++ return () => undefined+ },+ signalDeepLinkReady: vi.fn()+ } as unknown as Window['hermesDesktop']++ render({ profileReady: true, sessions: [] })+ deepLink?.({ kind: 'plugin', name: 'install', params: { catalog: 'weather', repo: 'evil/repo' } })+ expect(requestPluginCatalogInstallFromDeepLink).toHaveBeenCalledWith('weather')+ expect(openPluginInstallRequest).not.toHaveBeenCalled()+ expect(navigate).not.toHaveBeenCalled()+ })})describe('notification click -> focus-session id translation', () => {diff --git a/apps/desktop/src/app/contrib/hooks/use-desktop-integrations.ts b/apps/desktop/src/app/contrib/hooks/use-desktop-integrations.tsindex 6ad036723ba..d398e8d4c9b 100644--- a/apps/desktop/src/app/contrib/hooks/use-desktop-integrations.ts+++ b/apps/desktop/src/app/contrib/hooks/use-desktop-integrations.ts@@ -17,6 +17,7 @@ import {invokePluginNotifyActivate,respondToApprovalAction} from '@/store/native-notifications'+import { requestPluginCatalogInstallFromDeepLink } from '@/store/plugin-catalog-install'import { openPluginInstallRequest } from '@/store/plugin-install-request'import { openFolderAsProject } from '@/store/projects'import {@@ -295,6 +296,9 @@ export function useDesktopIntegrations({// hermes:// deep links:// - mcp/install?… → pending MCP install (explicit confirm, never auto-install)+ // - plugin/install?catalog=<name> → curated-catalog lookup, then the same+ // reviewed/pinned install modal an in-app catalog pick opens; unknown+ // names toast an error and never fall back to a git-path install.// - plugin/install?… (and legacy plugin-agent/plugin-desktop) → plugin install// modal awaiting explicit confirmation. Never auto-installs.// - blueprint/<name>?… → reviewable /blueprint command in the composer@@ -330,6 +334,12 @@ export function useDesktopIntegrations({return}+ if (action.type === 'plugin-catalog-install') {+ void requestPluginCatalogInstallFromDeepLink(action.name)++ return+ }+if (action.type === 'plugin-install') {openPluginInstallRequest({repo: action.repo,diff --git a/apps/desktop/src/i18n/en.ts b/apps/desktop/src/i18n/en.tsindex 32de648c571..be8b450be12 100644--- a/apps/desktop/src/i18n/en.ts+++ b/apps/desktop/src/i18n/en.ts@@ -1847,7 +1847,12 @@ export const en: Translations = {tierCommunity: 'community',updateToPin: (sha: string) => `Update to ${sha}`,updateFailed: (name: string) => `Could not update ${name}`,- updated: (name: string) => `${name} updated to the current catalog pin. Restart the gateway to apply.`+ updated: (name: string) => `${name} updated to the current catalog pin. Restart the gateway to apply.`,+ deepLinkErrorTitle: 'Plugin install link rejected',+ deepLinkCatalogInvalidName: 'The link\u2019s catalog name is missing or invalid.',+ deepLinkCatalogUnknown: (name: string) =>+ `\u201C${name}\u201D is not in the Hermes plugin catalog. Nothing was installed.`,+ deepLinkCatalogUnavailable: 'Could not load the Hermes plugin catalog. Check your connection and open the link again.'},officialCatalog: 'Available to install',officialPill: 'Official',diff --git a/apps/desktop/src/i18n/types.ts b/apps/desktop/src/i18n/types.tsindex 535d0c5d5a9..b558de7937f 100644--- a/apps/desktop/src/i18n/types.ts+++ b/apps/desktop/src/i18n/types.ts@@ -1589,6 +1589,10 @@ export interface Translations {updateToPin: (sha: string) => stringupdateFailed: (name: string) => stringupdated: (name: string) => string+ deepLinkErrorTitle: string+ deepLinkCatalogInvalidName: string+ deepLinkCatalogUnknown: (name: string) => string+ deepLinkCatalogUnavailable: string}officialCatalog: stringofficialPill: stringdiff --git a/apps/desktop/src/i18n/zh.ts b/apps/desktop/src/i18n/zh.tsindex 46a8415a3bf..743f31002ad 100644--- a/apps/desktop/src/i18n/zh.ts+++ b/apps/desktop/src/i18n/zh.ts@@ -2017,7 +2017,11 @@ export const zh = defineLocale({tierCommunity: '社区',updateToPin: (sha: string) => `更新到 ${sha}`,updateFailed: (name: string) => `无法更新 ${name}`,- updated: (name: string) => `${name} 已更新到当前目录固定提交。重启网关后生效。`+ updated: (name: string) => `${name} 已更新到当前目录固定提交。重启网关后生效。`,+ deepLinkErrorTitle: '插件安装链接已拒绝',+ deepLinkCatalogInvalidName: '链接中的目录名称缺失或无效。',+ deepLinkCatalogUnknown: (name: string) => `“${name}”不在 Hermes 插件目录中。未安装任何内容。`,+ deepLinkCatalogUnavailable: '无法加载 Hermes 插件目录。请检查网络连接后重新打开链接。'},officialCatalog: '可安装',officialPill: '官方',diff --git a/apps/desktop/src/lib/deeplink-routes.test.ts b/apps/desktop/src/lib/deeplink-routes.test.tsindex 76683577afc..f934d78f5f3 100644--- a/apps/desktop/src/lib/deeplink-routes.test.ts+++ b/apps/desktop/src/lib/deeplink-routes.test.ts@@ -19,6 +19,26 @@ describe('resolveDeepLinkAction', () => {})})+ it('routes catalog= to the catalog lookup, never to a git-path install', () => {+ expect(+ resolveDeepLinkAction({ kind: 'plugin', name: 'install', params: { catalog: ' web-search-plus ' } })+ ).toEqual({ type: 'plugin-catalog-install', name: 'web-search-plus' })++ // A repo riding along must not win: the reviewed catalog verdict decides.+ expect(+ resolveDeepLinkAction({+ kind: 'plugin',+ name: 'install',+ params: { catalog: 'nope', repo: 'evil/repo' }+ })+ ).toEqual({ type: 'plugin-catalog-install', name: 'nope' })++ // An empty catalog name is still a catalog request (→ error toast), not a fall-through.+ expect(resolveDeepLinkAction({ kind: 'plugin', name: 'install', params: { catalog: '', repo: 'evil/repo' } })).toEqual(+ { type: 'plugin-catalog-install', name: '' }+ )+ })+it('routes legacy plugin-agent alias', () => {expect(resolveDeepLinkAction({diff --git a/apps/desktop/src/lib/deeplink-routes.ts b/apps/desktop/src/lib/deeplink-routes.tsindex c943e234491..252db87efae 100644--- a/apps/desktop/src/lib/deeplink-routes.ts+++ b/apps/desktop/src/lib/deeplink-routes.ts@@ -8,6 +8,9 @@ export interface DeepLinkPayload {export type DeepLinkAction =| { type: 'plugin-install'; repo: string; enable: boolean; force: boolean; legacyHint: PluginInstallLegacyHint }+ /** `hermes://plugin/install?catalog=<name>` — resolved against the curated+ * catalog by the caller; the raw name is never treated as a git identifier. */+ | { type: 'plugin-catalog-install'; name: string }| { type: 'composer-blueprint'; name: string; params: Record<string, string> }| { type: 'ignore' }@@ -30,6 +33,13 @@ export function resolveDeepLinkAction(payload: DeepLinkPayload | null | undefinereturn { type: 'composer-blueprint', name: payload.name, params: payload.params || {} }}+ // A `catalog` param claims the link outright: even when a `repo` rides along+ // (or the name is empty/bogus) the outcome is the catalog lookup's verdict,+ // never a git-path install of whatever else the link carried.+ if (payload.kind === 'plugin' && payload.name === 'install' && payload.params?.catalog !== undefined) {+ return { type: 'plugin-catalog-install', name: payload.params.catalog.trim() }+ }+const repo = (payload.params?.repo || payload.params?.identifier || payload.name || '').trim()if (payload.kind === 'plugin' && payload.name === 'install' && repo) {diff --git a/apps/desktop/src/lib/plugin-catalog.ts b/apps/desktop/src/lib/plugin-catalog.tsnew file mode 100644index 00000000000..c0e8bba64de--- /dev/null+++ b/apps/desktop/src/lib/plugin-catalog.ts@@ -0,0 +1,97 @@+/**+ * The curated Hermes plugin catalog as the Desktop sees it.+ *+ * The Capabilities → Plugins tab embeds the docs-site catalog page+ * (`CATALOG_PICKER_URL`) as a one-click picker; that page renders+ * `PLUGIN_CATALOG_URL` (`/docs/api/plugins.json`, generated from the repo's+ * `plugin-catalog/` directory at site build). A `hermes://plugin/install?catalog=<name>`+ * deep link resolves against the SAME document so a link and an in-app pick+ * always agree on the repo, subdir and reviewed pin for a name.+ *+ * Everything here only classifies — nothing installs. Callers open the Install+ * Plugin dialog, which still requires the user's explicit confirmation.+ */++export const CATALOG_ORIGIN = 'https://hermes-agent.nousresearch.com'+export const CATALOG_PICKER_URL = `${CATALOG_ORIGIN}/docs/plugins?embed=picker`+export const PLUGIN_CATALOG_URL = `${CATALOG_ORIGIN}/docs/api/plugins.json`++/** 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}$/++const FETCH_TIMEOUT_MS = 15_000++/** The fields an install needs — the same ones the embedded picker posts on a pick. */+export interface PluginCatalogEntry {+ name: string+ repo: string+ /** Reviewed pin (40-hex) the backend installs at; may be missing on a malformed feed. */+ sha?: string+ /** Sub-directory of a monorepo the plugin lives in; empty when the repo root is the plugin. */+ subdir?: string+}++export type PluginCatalogLookupError = 'invalid_name' | 'unavailable' | 'unknown'++export type PluginCatalogLookup = { ok: false; error: PluginCatalogLookupError } | { ok: true; entry: PluginCatalogEntry }++function asEntry(raw: unknown): null | PluginCatalogEntry {+ if (!raw || typeof raw !== 'object') {+ return null+ }++ const row = raw as Record<string, unknown>++ if (typeof row.name !== 'string' || typeof row.repo !== 'string' || !row.repo) {+ return null+ }++ return {+ name: row.name,+ repo: row.repo,+ sha: typeof row.sha === 'string' && row.sha ? row.sha : undefined,+ subdir: typeof row.subdir === 'string' && row.subdir ? row.subdir : undefined+ }+}++/**+ * Look one name up in the live catalog. Unknown names are a hard `unknown`,+ * never a guess: the deep link must not turn an arbitrary string into a git+ * identifier the dialog would then clone.+ */+export async function lookupPluginCatalogEntry(+ name: string,+ fetchImpl: typeof fetch = (...args) => fetch(...args)+): Promise<PluginCatalogLookup> {+ const trimmed = name.trim()++ if (!PLUGIN_CATALOG_NAME_RE.test(trimmed)) {+ return { ok: false, error: 'invalid_name' }+ }++ let rows: unknown++ try {+ const response = await fetchImpl(PLUGIN_CATALOG_URL, {+ cache: 'no-cache',+ signal: AbortSignal.timeout(FETCH_TIMEOUT_MS)+ })++ if (!response.ok) {+ return { ok: false, error: 'unavailable' }+ }++ rows = (await response.json()) as unknown+ } catch {+ return { ok: false, error: 'unavailable' }+ }++ if (!Array.isArray(rows)) {+ return { ok: false, error: 'unavailable' }+ }++ // Catalog names are directory names and the CLI treats them case-sensitively.+ const match = rows.map(asEntry).find(entry => entry?.name === trimmed)++ return match ? { ok: true, entry: match } : { ok: false, error: 'unknown' }+}diff --git a/apps/desktop/src/store/plugin-catalog-install.test.ts b/apps/desktop/src/store/plugin-catalog-install.test.tsnew file mode 100644index 00000000000..2a1d87c1457--- /dev/null+++ b/apps/desktop/src/store/plugin-catalog-install.test.ts@@ -0,0 +1,88 @@+// @vitest-environment jsdom+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'++import { PLUGIN_CATALOG_URL, type PluginCatalogLookup } from '@/lib/plugin-catalog'++import { $agentPlugins } from './agent-plugins'+import { $notifications } from './notifications'+import { openCatalogPluginInstall, requestPluginCatalogInstallFromDeepLink } from './plugin-catalog-install'+import { $pluginInstallRequest } from './plugin-install-request'++const lookupFor = (result: PluginCatalogLookup) => vi.fn(async () => result)++describe('requestPluginCatalogInstallFromDeepLink', () => {+ beforeEach(() => {+ $pluginInstallRequest.set(null)+ $notifications.set([])+ $agentPlugins.set([])+ })++ afterEach(() => {+ vi.restoreAllMocks()+ })++ it('opens the reviewed/pinned catalog dialog exactly like an in-app pick', async () => {+ const lookup = lookupFor({+ ok: true,+ entry: { name: 'aihubmix', repo: 'https://github.com/AIhubmix/hermes-provider-aihubmix', sha: 'b'.repeat(40), subdir: 'aihubmix' }+ })++ await requestPluginCatalogInstallFromDeepLink('aihubmix', lookup)++ expect(lookup).toHaveBeenCalledWith('aihubmix')+ expect($pluginInstallRequest.get()).toEqual({+ catalogName: 'aihubmix',+ profile: null,+ repo: 'https://github.com/AIhubmix/hermes-provider-aihubmix#aihubmix',+ sha: 'b'.repeat(40)+ })+ expect($notifications.get()).toEqual([])+ })++ it.each([+ ['unknown', 'not in the Hermes plugin catalog'],+ ['unavailable', 'Could not load the Hermes plugin catalog'],+ ['invalid_name', 'missing or invalid']+ ] as const)('%s → error toast, no dialog, no git fallback', async (error, fragment) => {+ await requestPluginCatalogInstallFromDeepLink('not-a-real-plugin', lookupFor({ ok: false, error }))++ expect($pluginInstallRequest.get()).toBeNull()+ const toasts = $notifications.get()+ expect(toasts).toHaveLength(1)+ expect(toasts[0]).toMatchObject({ kind: 'error', title: 'Plugin install link rejected' })+ expect(toasts[0]?.message).toContain(fragment)+ })++ it('resolves against the live catalog feed by default and rejects unknown names', async () => {+ const feed = JSON.stringify([{ name: 'weather', repo: 'https://github.com/x/weather', sha: 'a'.repeat(40), subdir: '' }])+ const fetchSpy = vi.spyOn(globalThis, 'fetch').mockImplementation(async () => new Response(feed, { status: 200 }))++ await requestPluginCatalogInstallFromDeepLink('weather-evil')++ expect(fetchSpy).toHaveBeenCalledWith(PLUGIN_CATALOG_URL, expect.anything())+ expect($pluginInstallRequest.get()).toBeNull()+ expect($notifications.get()[0]?.message).toContain('\u201Cweather-evil\u201D is not in the Hermes plugin catalog')++ await requestPluginCatalogInstallFromDeepLink('weather')++ expect($pluginInstallRequest.get()).toMatchObject({ catalogName: 'weather', repo: 'https://github.com/x/weather' })+ })+})++describe('openCatalogPluginInstall', () => {+ beforeEach(() => {+ $pluginInstallRequest.set(null)+ $notifications.set([])+ })++ it('short-circuits with a success toast when the entry is installed and current', () => {+ $agentPlugins.set([+ { catalog_name: 'weather', description: '', name: 'weather', source: 'git', status: 'enabled', update_available: false, version: '1' }+ ])++ openCatalogPluginInstall({ name: 'weather', repo: 'https://github.com/x/weather' }, 'workbot')++ expect($pluginInstallRequest.get()).toBeNull()+ expect($notifications.get()[0]).toMatchObject({ kind: 'success' })+ })+})diff --git a/apps/desktop/src/store/plugin-catalog-install.ts b/apps/desktop/src/store/plugin-catalog-install.tsnew file mode 100644index 00000000000..edcfd3d392f--- /dev/null+++ b/apps/desktop/src/store/plugin-catalog-install.ts@@ -0,0 +1,61 @@+import { translateNow } from '@/i18n'+import { lookupPluginCatalogEntry, type PluginCatalogEntry, type PluginCatalogLookupError } from '@/lib/plugin-catalog'++import { $agentPlugins } from './agent-plugins'+import { notify } from './notifications'+import { openPluginInstallRequest } from './plugin-install-request'++/**+ * THE way a curated-catalog pick reaches the Install Plugin dialog. The+ * Plugins tab's embedded picker and the `hermes://plugin/install?catalog=`+ * deep link both land here, so a link opens exactly the reviewed/pinned+ * dialog an in-app pick does: `catalogName` makes the backend resolve the+ * pinned SHA and record provenance; `repo#subdir` is what the dialog inspects.+ */+export function openCatalogPluginInstall(entry: PluginCatalogEntry, profile: null | string): void {+ const existing = $agentPlugins.get().find(row => row.catalog_name === entry.name || row.name === entry.name)++ if (existing && !existing.update_available) {+ notify({ kind: 'success', message: translateNow('skills.plugins.alreadyInstalled', entry.name) })++ return+ }++ openPluginInstallRequest({+ catalogName: entry.name,+ profile,+ repo: entry.subdir ? `${entry.repo}#${entry.subdir}` : entry.repo,+ sha: entry.sha+ })+}++const DEEP_LINK_ERROR_KEYS: Record<PluginCatalogLookupError, string> = {+ invalid_name: 'skills.plugins.deepLinkCatalogInvalidName',+ unavailable: 'skills.plugins.deepLinkCatalogUnavailable',+ unknown: 'skills.plugins.deepLinkCatalogUnknown'+}++/**+ * `hermes://plugin/install?catalog=<name>`: resolve the name against the live+ * catalog and open the dialog in catalog mode for the active profile. Any+ * failure (bad name, catalog unreachable, name not listed) is a clear error+ * toast — the string is never reinterpreted as a git path.+ */+export async function requestPluginCatalogInstallFromDeepLink(+ name: string,+ lookup: typeof lookupPluginCatalogEntry = lookupPluginCatalogEntry+): Promise<void> {+ const result = await lookup(name)++ if (!result.ok) {+ notify({+ kind: 'error',+ title: translateNow('skills.plugins.deepLinkErrorTitle'),+ message: translateNow(DEEP_LINK_ERROR_KEYS[result.error], name.trim())+ })++ return+ }++ openCatalogPluginInstall(result.entry, null)+}diff --git a/website/docs/user-guide/features/plugins.md b/website/docs/user-guide/features/plugins.mdindex 54242ba7fe5..bed32932166 100644--- a/website/docs/user-guide/features/plugins.md+++ b/website/docs/user-guide/features/plugins.md@@ -393,8 +393,18 @@ chat message can link straight to a plugin install:hermes://plugin/install?repo=owner/repo # main install linkhermes://plugin/install?repo=owner/repo&enable=1 # enable the agent plugin after installhermes://plugin/install?repo=owner/repo&force=1 # replace an existing install+hermes://plugin/install?catalog=<name> # reviewed catalog entry at its pinned commit```+The `catalog=<name>` form takes a [Plugin Catalog](./plugin-catalog.md)+name instead of a repo. Desktop resolves it against the live catalog (the+same feed the **Capabilities → Plugins** picker shows) and opens the same+**reviewed catalog entry** dialog an in-app pick does: the agent half installs+at the catalog's pinned commit, never the branch tip. A name that is not in+the catalog shows an error toast and nothing else — it is never reinterpreted+as a git path, so a link cannot smuggle an unreviewed repo behind a+familiar-looking name.+Clicking one opens Hermes and shows a **confirmation dialog** — the repo id,a "Before you install" note, and GitHub browse + clone links — thenshallow-clones the repo to detect what it ships (an **agent plugin** —