import type { Message } from "./message" export interface Session { id: string instanceId: string title: string parentId: string | null agent: string model: { providerId: string modelId: string } time: { created: number updated: number } messages: Message[] messagesInfo: Map } export interface Agent { name: string description: string mode: string model?: { providerId: string modelId: string } } export interface Provider { id: string name: string models: Model[] defaultModelId?: string } export interface Model { id: string name: string providerId: string }