Interface: PostUserMessageContext
Makaio Framework / hooks / PostUserMessageContext
Interface: PostUserMessageContext
Section titled “Interface: 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).
Properties
Section titled “Properties”adapterId
Section titled “adapterId”
readonlyadapterId:string
Defined in: ../../../packages/hooks/src/types/hook-context.ts:159
Adapter ID
agentId
Section titled “agentId”
readonlyagentId:string
Defined in: ../../../packages/hooks/src/types/hook-context.ts:157
Agent ID that received the message
readonlybus:IMakaioBus
Defined in: ../../../packages/hooks/src/types/hook-context.ts:161
Bus instance for making requests
hookEvent
Section titled “hookEvent”
readonlyhookEvent:"PostUserMessage"
Defined in: ../../../packages/hooks/src/types/hook-context.ts:151
messageId?
Section titled “messageId?”
readonlyoptionalmessageId?:string
Defined in: ../../../packages/hooks/src/types/hook-context.ts:155
Message ID for correlation
sessionId?
Section titled “sessionId?”
readonlyoptionalsessionId?:string
Defined in: ../../../packages/hooks/src/types/hook-context.ts:153
Session ID (may be undefined for sessionless messages)