Documentation ¶ Index ¶ func DecodeClaudeEvent(input []byte, agentName string) (hook.Event, error) func EncodeClaudeResult(hookEventName string, result hook.Result) ([]byte, error) func Run(stdin io.Reader, stdout, stderr io.Writer, codec Codec, ...) int type Codec Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DecodeClaudeEvent ¶ func DecodeClaudeEvent(input []byte, agentName string) (hook.Event, error) func EncodeClaudeResult ¶ func EncodeClaudeResult(hookEventName string, result hook.Result) ([]byte, error) func Run ¶ func Run(stdin io.Reader, stdout, stderr io.Writer, codec Codec, evaluate func(hook.Event) (hook.Result, error)) int Types ¶ type Codec ¶ type Codec interface { DecodeHookEvent([]byte) (hook.Event, error) EncodeHookResult(hook.Event, hook.Result) ([]byte, error) } Source Files ¶ View all Source files claude.gorunner.go Click to show internal directories. Click to hide internal directories.