/** * Script object */ export type Script = { /** Content of the script */ script: string; /** Alias to load the script as */ alias: string; }; export type Role = | "OWNER" | "EDIT" | "VIEWER" | "READ_ONLY" | "DISCOVERABLE" | "EDITOR"; export interface ColumnInterface { column: string; type: string; } export interface TableInterface { table: string; columns: ColumnInterface[]; } export interface MCPToolRequest { type: "MCP"; message: string; id: string; name: string; parameters: Record; roomId: string; original_name: string; tool_response?: string; executedParameters?: Record; } export interface MCPToolResponse { type: "MCP"; message: string; id: string; name: string; response: string; roomId: string; tool_status?: "success" | "error" | "cancelled" | "paused"; executedParameters?: Record; }