Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AliasForEvent ¶ added in v0.13.0
Types ¶
type EventAlias ¶ added in v0.13.0
type HookName ¶ added in v0.7.0
type HookName string
const ( HookSessionStart HookName = "SessionStart" HookPreToolUse HookName = "PreToolUse" HookPostToolUse HookName = "PostToolUse" HookPostToolUseFailed HookName = "PostToolUseFailure" HookSessionEnd HookName = "SessionEnd" HookUserPromptSubmit HookName = "UserPromptSubmit" HookStop HookName = "Stop" )
func ParseEventAlias ¶ added in v0.13.0
type Result ¶ added in v0.7.0
type Result struct {
Decision Decision
Reason string
ReasonCode string
RequestID string
EventID string
Mode string
Epoch string
UpdatedInput map[string]any
// contains filtered or unexported fields
}
func WithMetadata ¶ added in v0.7.0
func (Result) ClaudeReason ¶ added in v0.7.0
Click to show internal directories.
Click to hide internal directories.