II.
InteractionPrimitive overview
Reference · liveinteraction-primitive:agent-mux-cli-hooks-handle
amux hooks <agent> handle overview
Read a JSON payload on stdin, dispatch through HookDispatcher, emit formatHookResult stdout + exit-code. Source: packages/agent-mux/cli/src/commands/hooks.ts:214-239.
Attributes
displayName
amux hooks <agent> handle
kind
cli-subcommand
surface
cli
parentBin
amux
subcommandVerb
hooks handle
flags
[]
subcommandExitCodes
- 0:success:dispatcher exit-code (formatHookResult)
- 2:usage-error:missing hookType
description
Read a JSON payload on stdin, dispatch through HookDispatcher, emit
formatHookResult stdout + exit-code. Source:
packages/agent-mux/cli/src/commands/hooks.ts:214-239.
Outgoing edges
None.
Incoming edges
exposes_subcommand1
- package:a5c-ai-agent-mux-cli·PackageSurface
supports_interaction_primitive1
- agent-ui-impl:agent-mux.ui@current·AgentUIImplagent-mux UI (current) — multi-surface