chore(monorepo/server): move server-side source code

This commit is contained in:
Elian Doran
2025-04-18 12:09:56 +03:00
parent da41b95d36
commit 5058891af8
892 changed files with 1478 additions and 298 deletions

View File

@@ -0,0 +1,24 @@
/**
* Interfaces for WebSocket LLM streaming messages
*/
/**
* Interface for WebSocket LLM streaming messages
*/
export interface LLMStreamMessage {
type: 'llm-stream' | 'tool_execution_start' | 'tool_result' | 'tool_execution_error' | 'tool_completion_processing';
chatNoteId: string;
content?: string;
thinking?: string;
toolExecution?: {
action?: string;
tool?: string;
toolCallId?: string;
result?: string | Record<string, any>;
error?: string;
args?: Record<string, unknown>;
};
done?: boolean;
error?: string;
raw?: unknown;
}