Skip to content

Interface: ChannelResponse

Defined in: packages/aiui-claude-channel/src/channel.ts:170

The per-frame reply the transport sends back to the client.

Properties

closed?

optional closed?: boolean

Defined in: packages/aiui-claude-channel/src/channel.ts:175

True when this frame led the processor to close the thread.


debug?

optional debug?: boolean

Defined in: packages/aiui-claude-channel/src/channel.ts:186

True on the hello ack when the server runs in debug mode (e.g. the standalone serve command, which prints prompts instead of reaching a session). Additive: acks never carry a kind field — that is how clients tell them apart from pushes — so a new ack field is safe for old clients.


error?

optional error?: string

Defined in: packages/aiui-claude-channel/src/channel.ts:177

What went wrong, when ok is false.


fatal?

optional fatal?: boolean

Defined in: packages/aiui-claude-channel/src/channel.ts:179

True when the connection is unusable and the transport should drop it.


ok

ok: boolean

Defined in: packages/aiui-claude-channel/src/channel.ts:171


threadId?

optional threadId?: string

Defined in: packages/aiui-claude-channel/src/channel.ts:173

Echo of the frame's thread id, when it named one.