displayName
HookRequestFrame (server→client)
contextKind
websocket-frame-server
typescriptInterface
HookRequestFrame
producerIface
@a5c-ai/agent-mux-gateway RunManager (hook elevation path)
consumerIfaces
- @a5c-ai/agent-mux-gateway client (responds with HookDecisionFrame)
fieldSchema
- type:literal<hook.request>:required:Frame discriminator
- hookRequestId:string:required:Correlation id for the decision
- runId:string:required:Run that issued the hook elevation
- hookKind:string:required:Hook category (e.g. tool-approval, breakpoint)
- payload:record<string,unknown>:required:Hook-specific payload
- deadlineTs:int:required:Absolute deadline in ms (epoch); after this the gateway resolves with default policy
sourceCitation
packages/agent-mux/gateway/src/protocol/v1.ts:86-93; frames.ts:87-94