Skip to content

feat: add Hermes agent support with one-line install script (#52)#52

Merged
matthiastjong merged 3 commits intomainfrom
feat/hermes-agent-support
Apr 1, 2026
Merged

feat: add Hermes agent support with one-line install script (#52)#52
matthiastjong merged 3 commits intomainfrom
feat/hermes-agent-support

Conversation

@donna-matt
Copy link
Copy Markdown
Collaborator

What

Adds Hermes (Nous Research) as a supported agent alongside OpenClaw and Claude Code.

Changes

  • src/lib/server/utils/install-scripts.tsgenerateHermesScript() function, mirrors the OpenClaw script with Hermes paths (~/.hermes/.env, ~/.hermes/skills/, hermes gateway restart)
  • src/routes/api/install/hermes/+server.ts — new endpoint serving the install script
  • src/lib/components/connect-agent-flow.svelte — Hermes card in agent selection (step 1) + install command in step 4

How it works

Same one-liner pattern as OpenClaw/Claude Code:

curl -sX POST https://your-shellgate/api/install/hermes \
  -H "Content-Type: application/json" \
  -d '{"token":"sg_..."}' | bash

This verifies the token, writes SHELLGATE_URL and SHELLGATE_API_KEY to ~/.hermes/.env, installs the Shellgate skill to ~/.hermes/skills/shellgate/SKILL.md, and restarts the Hermes gateway.

Tests

116 tests, all passing.

donna-matt and others added 3 commits April 1, 2026 08:52
- Use 2-column grid consistently instead of expanding to 4 on larger screens
- Convert onerror string attribute to expression for Svelte 5 compatibility

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@matthiastjong matthiastjong merged commit 242c93c into main Apr 1, 2026
3 checks passed
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.

2 participants