Skip to content

@uservane/copilotkit: ChatMessageLike

ChatMessageLike = object

Defined in: @[email protected]_@[email protected]_@[email protected]_@types+react-dom@_hgmx5lydu7o7hgar5vfp6a6qlm/node_modules/@uservane/copilotkit/dist/index.d.ts:85

Pure turn-resolution logic for CopilotKit hosts.

Resolution signal: isLoading true -> false (generation complete). Dedup: latest assistant message id (or a synthetic turn key). Suppression: stopGeneration / abort / HITL interrupt (no genuine resolution).

Kept free of React and CopilotKit imports so unit tests exercise the edge without a live runtime.

optional id?: string | null

Defined in: @[email protected]_@[email protected]_@[email protected]_@types+react-dom@_hgmx5lydu7o7hgar5vfp6a6qlm/node_modules/@uservane/copilotkit/dist/index.d.ts:86


optional isTextMessage?: () => boolean

Defined in: @[email protected]_@[email protected]_@[email protected]_@types+react-dom@_hgmx5lydu7o7hgar5vfp6a6qlm/node_modules/@uservane/copilotkit/dist/index.d.ts:89

Legacy gql Message class shape (optional).

boolean


optional role?: string | null

Defined in: @[email protected]_@[email protected]_@[email protected]_@types+react-dom@_hgmx5lydu7o7hgar5vfp6a6qlm/node_modules/@uservane/copilotkit/dist/index.d.ts:87