Repository navigation
feat(hermesagent): track Hermes Agent v0.23.2 hook events - #3937
Merged
Merged
Conversation
Hermes Agent v0.23.1 added the on_session_open and post_curator_run observer events to VALID_HOOKS (neither is in SHELL_UNSUPPORTED_HOOKS). Add both to HERMESAGENT_NATIVE_HOOK_EVENTS so authoring them under hermesagent.hooks no longer warns, and re-pin the warning text and the compatibility docs from v0.22.3 to v0.23.2. Refs #2414 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4
…rmes-v0232-hooks # Conflicts: # src/generated/docs-content.ts
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 up the 2026-11-19 upstream re-check in #2414. Hermes Agent v0.23.1 added two observer events to
VALID_HOOKSinhermes_cli/plugins.py:on_session_openandpost_curator_run. Neither is inSHELL_UNSUPPORTED_HOOKS, so shell hooks can register for both. rulesync still generated them from thehermesagent.hooksoverride, but warnednot documented by Hermes Agent v0.22.3.This is the same mechanical change as #3105, #3162, #3344 and #3589:
on_session_openandpost_curator_runtoHERMESAGENT_NATIVE_HOOK_EVENTSin upstream source order (47 of the 48VALID_HOOKS;transform_api_error_classificationstays excluded as shell-unsupported).docs/reference/supported-tools.mdfrom v0.22.3 to v0.23.2. Update the hook list indocs/reference/file-formats.mdand regeneratesrc/generated/docs-content.ts.Verification: I diffed
VALID_HOOKSbetween the tagsv0.22.3andv0.23.2. The only additions are these two events.SHELL_UNSUPPORTED_HOOKSand_BLOCKING_EVENTS({"pre_tool_call"}) are unchanged. v0.23.3 (released 2026-11-20) has a byte-identicalplugins.py. The pin stays at v0.23.2 because that is the version the re-check validated. v0.23.3 is a large roll-up that has not been reviewed against the other config surfaces.pnpm cicheckpasses (619 test files, 17193 tests).Still open in #2414 (maintainer design decisions, unchanged)
skills.external_dirs.hermes.mdsuppresses the AGENTS.md chainRefs #2414
🤖 Generated with Claude Code
https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4