Skip to content

AssistantState

AssistantState = object

Defined in: packages/schema/src/assistant/protocol.ts:143

Everything the dock shows: the chat and its header, as the event stream builds it up.

messages: AssistantMessage[]

Defined in: packages/schema/src/assistant/protocol.ts:145

The chat, oldest first.


optional placeholder?: string

Defined in: packages/schema/src/assistant/protocol.ts:151

The composer’s placeholder; a new one focuses the composer.


replying: boolean

Defined in: packages/schema/src/assistant/protocol.ts:147

The backend is answering: the user can write but not send.


optional status?: string

Defined in: packages/schema/src/assistant/protocol.ts:149

A line in the dock’s header.