Skip to content

Feature/hermes agent support#15

Open
Yidada wants to merge 2 commits intomainfrom
feature/hermes-agent-support
Open

Feature/hermes agent support#15
Yidada wants to merge 2 commits intomainfrom
feature/hermes-agent-support

Conversation

@Yidada
Copy link
Copy Markdown
Owner

@Yidada Yidada commented Apr 19, 2026

No description provided.

benjamin.zhang and others added 2 commits April 19, 2026 00:02
Introduces a design pointer under docs/ for treating Hermes Agent
as a peer runtime to OpenClaw, with a thin AgentRuntime abstraction.
Full design lives in the linked Feishu doc. References/hermes-agent
is gitignored since the snapshot is consulted locally only.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Introduces a thin AgentRuntime protocol with capability sub-protocols
(AgentInstallable, AgentProviderCapable, AgentChannelCapable,
AgentMessagingGatewayCapable, AgentTUILaunchable) and adapts the
existing OpenClaw managers behind OpenClawRuntime. Adds a peer
HermesRuntime backed by four new managers:

- HermesInstaller: uv detection, `uv tool install hermes-agent`,
  upgrade/uninstall, version + default-model probing, status snapshot
- HermesProviderManager: typed save plan that emits `hermes config set`
  invocations per provider with redacted API keys
- HermesGatewayManager: text-based parsing of `hermes gateway status`,
  install/start/stop/restart/uninstall actions, config opener,
  Setup-in-Terminal command builder
- HermesTUIManager: composes Terminal commands to launch the Hermes
  TUI in classic or Ink mode, plus the gateway setup wizard

Wires Hermes into the SwiftUI shell with a dedicated HermesManagementView
window (runtime / gateway / TUI / logs) and surfaces it from the menu
bar via a new "Hermes 管理" action. ~/.openclaw and ~/.hermes stay
physically isolated.

Adds the `hermes` integration suite to clawbarctl.py covering 51 new
tests across AgentRuntimeRegistryTests, HermesInstallerTests,
HermesProviderManagerTests, HermesGatewayManagerTests, and
HermesTUIManagerTests. Refreshes AGENTS.md, README.md, README.zh-CN.md,
and Tests/Harness/README.md to reflect the multi-runtime framing.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
website Ready Ready Preview, Comment Apr 19, 2026 0:10am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant