mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-06-10 15:55:53 +08:00
Fix/websocket streaming issues (#748)
This commit is contained in:
@@ -40,6 +40,20 @@ export interface NormalizedMessage {
|
||||
// kind-specific fields (flat for simplicity)
|
||||
role?: 'user' | 'assistant';
|
||||
content?: string;
|
||||
/**
|
||||
* Mirrors optional transcript metadata from the server.
|
||||
*
|
||||
* These fields are currently used by Claude history normalization so local
|
||||
* slash commands, local stdout, and compact summaries do not disappear when
|
||||
* the session store hydrates from REST history.
|
||||
*/
|
||||
displayText?: string;
|
||||
commandName?: string;
|
||||
commandMessage?: string;
|
||||
commandArgs?: string;
|
||||
isLocalCommand?: boolean;
|
||||
isLocalCommandStdout?: boolean;
|
||||
isCompactSummary?: boolean;
|
||||
images?: string[];
|
||||
toolName?: string;
|
||||
toolInput?: unknown;
|
||||
|
||||
Reference in New Issue
Block a user