The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
chore(plugins): keep the approval-hook kwargs comment within the file's line budget
Teknium5adc519268eb
diff --git a/hermes_cli/plugins.py b/hermes_cli/plugins.pyindex 253a5b8cfd1..6d9a5e5214d 100644--- a/hermes_cli/plugins.py+++ b/hermes_cli/plugins.py@@ -141,11 +141,9 @@ VALID_HOOKS: Set[str] = {# fast-path of /new; see gateway/run.py::_interrupt_and_clear_session). Kwargs: session_key,# platform, reason, invalidation_reason. Return values are ignored."agent_loop_stopped",- # Approval observers (tools/approval.py); returns ignored — plugins cannot veto or pre-answer- # (use pre_tool_call). Kwargs: command, description, pattern_key, pattern_keys, session_key,- # surface: "cli"|"gateway"|"smart", or the caller's consent surface for MCP/vault prompts- # ("mcp-elicitation/<server>", "mcp-trust/<server>", "vault-payment"); post_approval_response- # adds choice ("once"|"session"|"always"|"deny"|"timeout"|"smart_approve"|"smart_deny") and decided_by.+ # Approval observers (returns ignored; veto via pre_tool_call). Kwargs: command, description, pattern_key,+ # pattern_keys, session_key, surface ("cli"|"gateway"|"smart"|"mcp-elicitation/<server>"|"mcp-trust/<server>"|+ # "vault-payment"); post_approval_response adds choice ("once"|"session"|"deny"|"timeout"|...) and decided_by."pre_approval_request", "post_approval_response",# on_room_member_activity: a hosted Group Chat member's live runtime events (tool.started/completed,# request.opened, message.delta, reasoning.delta, turn.error, ...) stamped with room_id, thread_id,