The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
Merge origin/main into feat/plugin-catalog
Tekniumd47adec28fa5
diff --cc apps/desktop/src/app/settings/plugin-install-modal.tsxindex 9aefbbb334f,1034e203678..7c1f3cf8b89--- a/apps/desktop/src/app/settings/plugin-install-modal.tsx+++ b/apps/desktop/src/app/settings/plugin-install-modal.tsx@@@ -145,10 -146,12 +149,12 @@@ export function PluginInstallModal()return}- void runProbe(request)+ if (request.repo) {+ void runProbe(request)+ }}, [request, resetState, runProbe])- const profileLabel = activeProfile || profileScope || 'default'+ const profileLabel = request?.profile || activeProfile || profileScope || 'default'const agentTargetHint =connection?.mode === 'remote' ? m.agentTargetRemote(profileLabel) : m.agentTargetLocal(profileLabel)diff --cc apps/desktop/src/i18n/en.tsindex 14eff195956,0053466ece8..cc0f8db3da0--- a/apps/desktop/src/i18n/en.ts+++ b/apps/desktop/src/i18n/en.ts@@@ -418,16 -454,24 +454,19 @@@ export const en: Translations =failed: 'failed',empty: 'No desktop plugins installed yet.',kinds: { bundled: 'bundled', disk: 'on disk', runtime: 'runtime' },+ agentHalfMissing: 'agent half missing here',+ agentHalfMissingTip:+ 'This is the desktop half of a bundled plugin, but its agent half is not installed on the currently connected backend/profile. Install it from Capabilities → Plugins.',agent: {title: 'Agent plugins',- blurb:- 'Plugins you installed into the Hermes backend — tools, skills, MCP servers, hooks, and slash commands. Portable ones are Agent Plugins packages (skills + MCP bundles that work in other agents too). Toggles apply to new sessions.',- appliesTo: 'Applies to:',- empty: 'No agent plugins installed yet.',- loadFailed: 'Could not load agent plugins',- portable: 'portable',- search: 'Search plugins…',- noMatches: 'No plugins match your search.',- toggleFailed: (name: string) => `Could not toggle ${name}`,- updateBackendToManage: 'Update the Hermes backend to manage this plugin from Desktop.',- sources: { bundled: 'bundled', user: 'user', git: 'git', project: 'project', entrypoint: 'pip' }+ movedToCapabilities:+ 'Agent plugins are managed per profile in Capabilities — installed list, toggles, and the plugin catalog live there.',+ openCapabilities: 'Open Capabilities → Plugins'},installModal: {+ installFromGit: 'Install from Git',+ reviewRepository: 'Review repository',+ repoPlaceholder: 'https://github.com/owner/repo',title: 'Install plugin',description: 'Review what this repository contains before installing anything.',repoLabel: 'Repository',@@@ -1312,27 -1504,8 +1508,29 @@@archive: 'Archive',skillArchivedTitle: 'Skill archived',skillArchivedMessage: 'Restorable via hermes curator restore.',+ tabPlugins: 'Plugins',+ plugins: {+ empty: 'No agent plugins installed for this profile',+ emptyHint: 'Browse the catalog below and install a reviewed plugin with one click.',+ loadFailed: 'Could not load agent plugins',+ toggleFailed: (name: string) => `Could not toggle ${name}`,+ legacyBackend: 'This backend predates key-addressed plugin toggles — update Hermes to manage it here.',+ portableBadge: 'portable',+ catalogTitle: 'Plugin catalog',+ catalogBrowse: 'Browse',+ catalogHide: 'Hide the catalog browser',+ catalogHint:+ 'Hit "+ Add to this Agent" on any plugin — reviewed entries install at their pinned commit into the selected profile. Bundled agent+desktop plugins offer both halves.',+ alreadyInstalled: (name: string) => `${name} is already installed in this profile.`,+ catalogProvenance: (sha: string) => `Installed from the Hermes catalog${sha ? ` at pin ${sha}` : ''}.`,+ tierOfficial: 'official',+ 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.`+ },+ officialCatalog: 'Available to install',+ officialPill: 'Official',hub: {searchPlaceholder: 'Search the skill hub',search: 'Search',diff --cc apps/desktop/src/i18n/types.tsindex 5ea6edb7378,ae869d34352..3f3cfaf9c7f--- a/apps/desktop/src/i18n/types.ts+++ b/apps/desktop/src/i18n/types.ts@@@ -361,14 -396,23 +396,17 @@@ export interface Translationsfailed: stringempty: stringkinds: { bundled: string; disk: string; runtime: string }+ agentHalfMissing: string+ agentHalfMissingTip: stringagent: {title: string- blurb: string- appliesTo: string- empty: string- loadFailed: string- portable: string- search: string- noMatches: string- toggleFailed: (name: string) => string- updateBackendToManage: string- sources: Record<string, string>+ movedToCapabilities: string+ openCapabilities: string}installModal: {+ installFromGit: string+ reviewRepository: string+ repoPlaceholder: stringtitle: stringdescription: stringrepoLabel: string@@@ -1147,26 -1320,8 +1321,28 @@@archive: stringskillArchivedTitle: stringskillArchivedMessage: string+ tabPlugins: string+ plugins: {+ empty: string+ emptyHint: string+ loadFailed: string+ toggleFailed: (name: string) => string+ legacyBackend: string+ portableBadge: string+ catalogTitle: string+ catalogBrowse: string+ catalogHide: string+ catalogHint: string+ alreadyInstalled: (name: string) => string+ catalogProvenance: (sha: string) => string+ tierOfficial: string+ tierCommunity: string+ updateToPin: (sha: string) => string+ updateFailed: (name: string) => string+ updated: (name: string) => string+ }+ officialCatalog: string+ officialPill: stringhub: {searchPlaceholder: stringsearch: stringdiff --cc apps/desktop/src/i18n/zh.tsindex 6b9f9231311,a20d7a7ba6c..549415d67db--- a/apps/desktop/src/i18n/zh.ts+++ b/apps/desktop/src/i18n/zh.ts@@@ -406,16 -441,24 +441,19 @@@ export const zh: Translations =failed: '失败',empty: '尚未安装桌面插件。',kinds: { bundled: '内置', disk: '磁盘', runtime: '运行时' },+ agentHalfMissing: '此处缺少 agent 部分',+ agentHalfMissingTip:+ '这是捆绑插件的桌面部分,但其 agent 部分未安装在当前连接的后端/配置上。请在 能力 → 插件 中安装。',agent: {- title: '智能体插件',- blurb:- '你安装到 Hermes 后端的插件——工具、技能、MCP 服务器、钩子和斜杠命令。「便携」插件是 Agent Plugins 标准包(技能 + MCP 组合,也可在其他智能体中使用)。开关在新会话中生效。',- appliesTo: '应用于:',- empty: '尚未安装智能体插件。',- loadFailed: '无法加载智能体插件',- portable: '便携',- search: '搜索插件…',- noMatches: '没有匹配的插件。',- toggleFailed: (name: string) => `无法切换 ${name}`,- updateBackendToManage: '请更新 Hermes 后端以便在桌面端管理此插件。',- sources: { bundled: '内置', user: '用户', git: 'git', project: '项目', entrypoint: 'pip' }+ title: 'Agent 插件',+ movedToCapabilities:+ 'Agent 插件按配置在「能力」页管理 — 已安装列表、开关和插件目录都在那里。',+ openCapabilities: '打开 能力 → 插件'},installModal: {+ installFromGit: '从 Git 安装',+ reviewRepository: '检查仓库',+ repoPlaceholder: 'https://github.com/owner/repo',title: '安装插件',description: '在安装前查看此仓库包含哪些组件。',repoLabel: '仓库',@@@ -1500,27 -1677,8 +1680,29 @@@archive: '归档',skillArchivedTitle: '技能已归档',skillArchivedMessage: '可通过 hermes curator restore 恢复。',+ tabPlugins: '插件',+ plugins: {+ empty: '此配置尚未安装任何 agent 插件',+ emptyHint: '在下方目录中浏览,一键安装经过审核的插件。',+ loadFailed: '无法加载 agent 插件',+ toggleFailed: (name: string) => `无法切换 ${name}`,+ legacyBackend: '此后端版本较旧,不支持按键名切换插件 — 请更新 Hermes 后再在此管理。',+ portableBadge: '便携',+ catalogTitle: '插件目录',+ catalogBrowse: '浏览',+ catalogHide: '隐藏目录浏览器',+ catalogHint:+ '点击任意插件上的「+ Add to this Agent」— 经过审核的条目会以其固定提交安装到所选配置。捆绑的 agent+桌面插件会同时提供两部分。',+ alreadyInstalled: (name: string) => `${name} 已安装在此配置中。`,+ catalogProvenance: (sha: string) => `从 Hermes 目录安装${sha ? `,固定提交 ${sha}` : ''}。`,+ tierOfficial: '官方',+ tierCommunity: '社区',+ updateToPin: (sha: string) => `更新到 ${sha}`,+ updateFailed: (name: string) => `无法更新 ${name}`,+ updated: (name: string) => `${name} 已更新到当前目录固定提交。重启网关后生效。`+ },+ officialCatalog: '可安装',+ officialPill: '官方',hub: {searchPlaceholder: '搜索技能中心',search: '搜索',diff --cc hermes_cli/config.pyindex 2cd6561ef3e,b32a6da5b23..f9cbb65778d--- a/hermes_cli/config.py+++ b/hermes_cli/config.py@@@ -5351,15 -3153,10 +3153,10 @@@ _SCHEMA_DEFINED_DICT_KEYS = frozenset("email", "sms", "dingtalk",# MCP server template / dynamic auth dicts"sessions", "checkpoints",- # Plugin settings — enable/disable lists and per-plugin entries- # (hermes_cli/plugins_cmd.py). Absent from DEFAULT_CONFIG (written only- # when used), so listed here for `hermes config set plugins....`- # validation.- "plugins",- })- # Plugin enable/disable lists + index_url override; absent from DEFAULT_CONFIG.++ # Plugin enable/disable lists + per-plugin entries; absent from DEFAULT_CONFIG.+ "plugins"})- # Top-level keys that can be ANY user-supplied name (platform/provider dict- # shapes where the outer key IS user-defined).+ # Top-level keys that can be ANY user-supplied name._DYNAMIC_TOP_LEVEL_KEYS = frozenset({"custom_providers", # list-shaped, but indexed by position})diff --cc hermes_cli/web_models.pyindex 32dcc815f65,e6a0e54dc0b..61bbdc4ed74--- a/hermes_cli/web_models.py+++ b/hermes_cli/web_models.py@@@ -739,12 -496,7 +496,9 @@@ class _AgentPluginInstallBody(BaseModelidentifier: strforce: bool = Falseenable: bool = True+ # Install by curated-catalog name (resolves repo + pinned SHA server-side).+ catalog_name: Optional[str] = None-- # --- from web_server.py (originally lines 19896-19898) ----class _PluginProvidersPutBody(BaseModel):memory_provider: Optional[str] = Nonecontext_engine: Optional[str] = None