Documentation
¶
Index ¶
- func NormalizePayload(runtime Runtime, provenance string, payload []byte) (*contract.HarnessEvent, error)
- func Run(args []string, stdin io.Reader, stdout, stderr io.Writer) error
- type BindingSpec
- type CodexHookPayload
- type EmitOptions
- type InstallOptions
- type ListenOptions
- type RunOptions
- type Runtime
- type ToolInput
- type ToolOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizePayload ¶
Types ¶
type BindingSpec ¶
type CodexHookPayload ¶
type CodexHookPayload struct {
SessionID *string `json:"session_id"`
TranscriptPath *string `json:"transcript_path"`
CWD *string `json:"cwd"`
HookEventName *string `json:"hook_event_name"`
Model *string `json:"model"`
Source *string `json:"source"`
TurnID *string `json:"turn_id"`
Prompt *string `json:"prompt"`
UserPrompt *string `json:"user_prompt"`
ToolName *string `json:"tool_name"`
ToolUseID *string `json:"tool_use_id"`
ToolInput *ToolInput `json:"tool_input"`
ToolResponse *ToolOutput `json:"tool_response"`
ToolOutput *ToolOutput `json:"tool_output"`
StopHookActive *bool `json:"stop_hook_active"`
}
type EmitOptions ¶
type InstallOptions ¶
type ListenOptions ¶
type ListenOptions struct {
SocketPath string
}
type RunOptions ¶
type ToolOutput ¶
Click to show internal directories.
Click to hide internal directories.