Repository navigation
feat(hermesagent): follow Hermes Agent v0.23.4 hook events and MCP single_instance - #3959
Merged
Merged
Conversation
…d MCP single_instance Add the on_session_prompt and on_session_prompt_settled shell-hook events that Hermes Agent v0.23.4 added to VALID_HOOKS, so they no longer trigger the undocumented-event warning, and re-pin the validated version to v0.23.4. Copy the per-server MCP key single_instance (v0.23.3, boolean) in both directions, so a canonical value reaches config.yaml and a hand-written one is no longer dropped on import and clobbered on regenerate. Refs #2414 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follows the gaps listed in the 2026-11-25 re-check comment on #2414 (Hermes Agent v0.23.3 / v0.23.4).
What changed
on_session_promptandon_session_prompt_settledtoHERMESAGENT_NATIVE_HOOK_EVENTS. Verified againsthermes_cli/plugins.pyatv0.23.4:VALID_HOOKSnow holds 50 entries andSHELL_UNSUPPORTED_HOOKSis still onlytransform_api_error_classification, so 49 are accepted. The unknown-event warning, JSDoc links anddocs/reference/supported-tools.mdare re-pinned from v0.23.2 to v0.23.4.copyHermesAdvancedFieldsnow copiessingle_instanceas a boolean (same asskip_preflight), in both export and import. Verified inmcp-config-reference.mdandtools/mcp_tool_server_run.pyatv0.23.4. A canonical value now reachesconfig.yaml, and a hand-written value survives import and regenerate.docs/reference/file-formats.md) andsrc/generated/docs-content.tsupdated. New test covers export, import, and regenerate forsingle_instance. The hook test now includes the two new events.Skipped
.hermes.mdsuppressing the AGENTS.md chain) still need a maintainer decision and are out of scope here.Refs #2414
🤖 Generated with Claude Code
https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4