Documentation
¶
Overview ¶
Package hook implements the "codex hook" subcommand tree.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
SessionStart sessionStartCmd `cmd:"session-start" help:"Inject context when a Codex session begins or resumes."`
SubagentStart subagentStartCmd `cmd:"subagent-start" help:"Inject context when a Codex subagent starts."`
PreToolUse preToolUseCmd `cmd:"pre-tool-use" help:"Inspect supported tool calls before execution."`
PermissionRequest permissionRequestCmd `cmd:"permission-request" help:"Allow, deny, or decline Codex approval requests."`
PostToolUse postToolUseCmd `cmd:"post-tool-use" help:"Inspect supported tool calls after execution."`
PreCompact preCompactCmd `cmd:"pre-compact" help:"React before Codex compacts the conversation."`
PostCompact postCompactCmd `cmd:"post-compact" help:"React after Codex compacts the conversation."`
UserPromptSubmit userPromptSubmitCmd `cmd:"user-prompt-submit" help:"Validate or annotate user prompts before processing."`
SubagentStop subagentStopCmd `cmd:"subagent-stop" help:"Allow or continue Codex subagent termination."`
Stop stopCmd `cmd:"stop" help:"Allow or continue Codex turn completion."`
}
Cmd is the Kong command group for "scut codex hook".
Click to show internal directories.
Click to hide internal directories.