Skip to content

Documentation / @agentick/kernel / ChannelEvent

Interface: ChannelEvent

Defined in: kernel/src/channel.ts:42

Normalized channel event structure. Loosely structured but normalized for consistency.

Properties

channel

channel: string

Defined in: kernel/src/channel.ts:56

Channel name (e.g., 'ui:progress', 'ui:user-input', 'tool:status')


id?

optional id: string

Defined in: kernel/src/channel.ts:51

Request/response correlation ID (for bidirectional communication)


metadata?

optional metadata: object

Defined in: kernel/src/channel.ts:66

Optional metadata

Index Signature

[key: string]: unknown

executionId?

optional executionId: string

source?

optional source: string

sourceConnectionId?

optional sourceConnectionId: string

tick?

optional tick: number

timestamp?

optional timestamp: number


payload

payload: any

Defined in: kernel/src/channel.ts:61

Flexible event payload


target?

optional target: ChannelTarget

Defined in: kernel/src/channel.ts:80

Optional routing target. If not specified, event is broadcast to all channel subscribers. Used by transports for targeted delivery.


type

type: string

Defined in: kernel/src/channel.ts:46

Event type (normalized patterns: 'request', 'response', 'progress', 'status', 'error')

Released under the ISC License.