Introduce a footer-triggered Version History drawer with categorized release notes, hardcoded release data, and semver tracking at v0.3.0. Also ships blog blockquote/table styling, site-wide typography, home page image updates, header refinements, and related bug fixes. Co-authored-by: Cursor <cursoragent@cursor.com>
31 lines
570 B
TypeScript
31 lines
570 B
TypeScript
export type MessageRole = "user" | "assistant";
|
|
|
|
export interface ChatMessage {
|
|
id: string;
|
|
role: MessageRole;
|
|
content: string;
|
|
timestamp: Date;
|
|
}
|
|
|
|
export interface PlaygroundSettings {
|
|
model: string;
|
|
responseMode: string;
|
|
temperature: number;
|
|
memoryEnabled: boolean;
|
|
}
|
|
|
|
export interface SendMessageOptions {
|
|
settings?: PlaygroundSettings;
|
|
signal?: AbortSignal;
|
|
}
|
|
|
|
export interface InteractionLog {
|
|
id: string;
|
|
userMessage: string;
|
|
assistantMessage: string;
|
|
model: string;
|
|
responseMode: string;
|
|
timestamp: string;
|
|
durationMs: number;
|
|
}
|