Skip to content

Interface: PostUserMessageContext

Makaio Framework


Makaio Framework / hooks / PostUserMessageContext

Defined in: ../../../packages/hooks/src/types/hook-context.ts:150

PostUserMessage context.

Fires after a user message has been sent to the agent but before the agent starts processing. Useful for detection and enforcement hooks.

NOTE: No session enrichment in current implementation (SEAM for Phase 3).

readonly adapterId: string

Defined in: ../../../packages/hooks/src/types/hook-context.ts:159

Adapter ID


readonly agentId: string

Defined in: ../../../packages/hooks/src/types/hook-context.ts:157

Agent ID that received the message


readonly bus: IMakaioBus

Defined in: ../../../packages/hooks/src/types/hook-context.ts:161

Bus instance for making requests


readonly hookEvent: "PostUserMessage"

Defined in: ../../../packages/hooks/src/types/hook-context.ts:151


readonly optional messageId?: string

Defined in: ../../../packages/hooks/src/types/hook-context.ts:155

Message ID for correlation


readonly optional sessionId?: string

Defined in: ../../../packages/hooks/src/types/hook-context.ts:153

Session ID (may be undefined for sessionless messages)