feat(adapters): add Hermes Agent command adapter#1200
Conversation
Add support for Hermes Agent (github.com/NousResearch/hermes-agent) as a supported AI tool. This enables users to run 'openspec init --tools hermes' and have OpenSpec generate skill and command files in .hermes/ directory. Changes: - Add hermes.ts adapter (commands → .hermes/commands/opsx/<id>.md) - Register hermesAdapter in CommandAdapterRegistry - Add Hermes Agent to AI_TOOLS list in config.ts - Add 4 test cases for hermesAdapter
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThis PR adds a new Hermes Agent command adapter to the OpenSpec command-generation system. The adapter generates markdown files in a ChangesHermes Agent Command Adapter Integration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested reviewers
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Add support for Hermes Agent (github.com/NousResearch/hermes-agent) as a supported AI tool.
This enables users to run
openspec init --tools hermesand have OpenSpec generate skill and command files in the.hermes/directory.Changes
src/core/command-generation/adapters/hermes.ts— adapter that generates commands to.hermes/commands/opsx/<id>.mdwith standard YAML frontmatter (name, description, category, tags){ name: 'Hermes Agent', value: 'hermes', ... }toAI_TOOLSinconfig.tswithskillsDir: '.hermes'hermesAdapterinCommandAdapterRegistryadapters.test.tscovering toolId, file path generation, different command IDs, and formatFile outputTest Results
All hermesAdapter tests pass:
About Hermes Agent
Hermes Agent is an open-source CLI AI agent that supports Agent Skills (SKILL.md) and custom slash commands. It's the AI agent that helped write this PR. 😄
Summary by CodeRabbit
Release Notes