mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-05-09 22:18:19 +00:00
Fix/websocket streaming issues (#748)
This commit is contained in:
@@ -102,6 +102,21 @@ export type NormalizedMessage = {
|
||||
kind: MessageKind;
|
||||
role?: 'user' | 'assistant';
|
||||
content?: string;
|
||||
/**
|
||||
* Optional display-oriented metadata used by providers that need to expose
|
||||
* richer transcript artifacts without introducing a brand-new message kind.
|
||||
*
|
||||
* Current Claude usage:
|
||||
* - local slash commands expose parsed command fields
|
||||
* - compact summaries are flagged so the UI can treat them differently later
|
||||
*/
|
||||
displayText?: string;
|
||||
commandName?: string;
|
||||
commandMessage?: string;
|
||||
commandArgs?: string;
|
||||
isLocalCommand?: boolean;
|
||||
isLocalCommandStdout?: boolean;
|
||||
isCompactSummary?: boolean;
|
||||
images?: unknown;
|
||||
toolName?: string;
|
||||
toolInput?: unknown;
|
||||
|
||||
Reference in New Issue
Block a user