Documentation
¶
Overview ¶
Package hookconfig parses and validates command hook files shared by Package validation and the runtime hook bridge.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Description string `json:"description,omitempty"`
Hooks map[string][]HookGroup `json:"hooks"`
}
Config is the supported Open Plugin / Claude Code command-hook subset.
type HookAction ¶
HookAction is one supported command action.
type HookGroup ¶
type HookGroup struct {
Matcher string `json:"matcher,omitempty"`
Hooks []HookAction `json:"hooks"`
}
HookGroup applies actions when its optional matcher accepts the event value.
Click to show internal directories.
Click to hide internal directories.