serialize_hook_input(
invocation: HookInvocation,
*,
transcript_path: Path,
agent_transcript_path: Path | None| Name | Type | Description |
|---|---|---|
invocation* | HookInvocation | |
transcript_path* | Path | |
agent_transcript_path | Path | None | Default: None |
Serialize a hook invocation as validated compatible JSON.
Native lifecycle invocation.
Materialized client transcript path.
Materialized subagent transcript path.