Documentation
¶
Overview ¶
Package claudehooks observes Claude Code's structured lifecycle hooks. It has no telemetry, enrollment, or remote control-plane dependency.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capabilities ¶
func Capabilities() bridge.InteractionCapabilities
Types ¶
type Event ¶
type Event struct {
SessionID string `json:"session_id"`
Name string `json:"hook_event_name"`
Tool string `json:"tool_name,omitempty"`
ToolID string `json:"tool_use_id,omitempty"`
ToolKey string `json:"tool_key,omitempty"`
AgentID string `json:"agent_id,omitempty"`
PromptID string `json:"prompt_id,omitempty"`
Source string `json:"source,omitempty"`
Notification string `json:"notification_type,omitempty"`
ElicitationID string `json:"elicitation_id,omitempty"`
Server string `json:"mcp_server_name,omitempty"`
}
Event deliberately excludes prompts, tool arguments/results, paths, and text. The short-lived helper removes those fields before contacting the observer.