Skip to content

feat(providers): add Hermes to the Provider enum#9

Merged
LucaVor merged 1 commit into
mainfrom
feat/add-hermes-provider
Jul 10, 2026
Merged

feat(providers): add Hermes to the Provider enum#9
LucaVor merged 1 commit into
mainfrom
feat/add-hermes-provider

Conversation

@AnasMaar

Copy link
Copy Markdown
Contributor

What

Adds Provider.Hermes = \"hermes\" to the SDK's Provider enum.

Why

The backend added a third agent-execution runtime provider, hermes, to UserCapabilities.PROVIDER_CHOICES in MantisAPI #1807 ("HERMES ACP COMPOSER"). MantisAPI's sdk-compatibility CI check cross-checks three provider sets and fails if any disagree:

  • backend UserCapabilities.PROVIDER_CHOICES{opencode, claude_code, hermes}
  • SDK Provider enum → {opencode, claude_code}behind
  • sdk_contract manifest SDK_PROVIDER_KEYS{opencode, claude_code} ← behind

The observed CI failure:

agent provider set drifted: backend=['claude_code', 'hermes', 'opencode'] manifest=['claude_code', 'opencode']
installed SDK Provider enum ['claude_code', 'opencode'] != backend providers ['claude_code', 'hermes', 'opencode']

This PR fixes the SDK side. hermes is capability-gated like claude_code (opencode remains the only universally-available provider), so the existing AgentsResource._assert_available gating already covers it — no special-casing needed.

Changes

  • Provider.Hermes = \"hermes\" in mantis_sdk/enums.py.
  • Version bump 0.12.00.13.0 (additive, backward compatible) in pyproject.toml + __init__.py.
  • CHANGELOG entry.

Verification

  • Provider enum now equals the backend set exactly: {opencode, claude_code, hermes}.
  • No existing test pins the enum's membership or count, so nothing breaks.

Follow-up (separate MantisAPI PR)

The sdk_contract manifest (SDK_PROVIDER_KEYS in src/sdk_contract/contract_manifest.py) also needs hermes added. Since the compat check installs Mantis_SDK@main, this PR must merge first, then the manifest PR will go green.

The backend added `hermes` to UserCapabilities.PROVIDER_CHOICES (MantisAPI
#1807), so the SDK's Provider enum and MantisAPI's sdk_contract manifest no
longer match it — the sdk-compatibility contract check fails on every MantisAPI
PR until all three agree.

Add `Provider.Hermes = "hermes"` so the SDK enum equals the backend's provider
set again. Capability-gated like claude_code (opencode stays the only universal
one), so the existing `_assert_available` gating covers it with no special-case.

Bump 0.12.0 -> 0.13.0 (additive, backward compatible).

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request bumps the SDK version to 0.13.0 and adds a new agent-execution runtime provider, Hermes ("hermes"), to the Provider enum. There are no review comments to address, so no additional feedback is provided.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@LucaVor LucaVor merged commit 850d4d4 into main Jul 10, 2026
4 checks passed
@AnasMaar AnasMaar deleted the feat/add-hermes-provider branch July 10, 2026 21:58
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