Skip to content

Graphorin API reference v0.8.0


Graphorin API reference / @graphorin/channels / / ChannelInboundContext

Interface: ChannelInboundContext

Defined in: packages/channels/src/gateway.ts:42

Everything the application handler receives per authorized message.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
deliverreadonly(reply) => Promise<DeliveryReceipt>Deliver an out-of-band message to the same peer (sanitized).packages/channels/src/gateway.ts:57
inboundTaintreadonly{ sourceKind: string; text: string; }Ready-made taint seed: pass as AgentCallOptions.inboundTaint so the run's data-flow ledger is armed before the first step.packages/channels/src/gateway.ts:55
inboundTaint.sourceKindreadonlystring-packages/channels/src/gateway.ts:55
inboundTaint.textreadonlystring-packages/channels/src/gateway.ts:55
messagereadonlyInboundChannelMessageThe normalized inbound message (original, un-sanitized text).packages/channels/src/gateway.ts:44
routereadonlyResolvedChannelRouteRouting outcome: agent + session selector.packages/channels/src/gateway.ts:50
sanitizationreadonlySanitizationOutcomeFull sanitization outcome (audit counters, pattern hits).packages/channels/src/gateway.ts:48
sanitizedTextreadonlystringSanitized text - feed THIS to the agent, never message.text.packages/channels/src/gateway.ts:46