bolt.diy/app/types/context.ts
2025-05-21 13:10:09 -07:00

25 lines
425 B
TypeScript

export type ContextAnnotation =
| {
type: 'codeContext';
files: string[];
}
| {
type: 'chatSummary';
summary: string;
chatId: string;
};
export type ProgressAnnotation = {
type: 'progress';
label: string;
status: 'in-progress' | 'complete' | 'error';
order: number;
message: string;
};
export type DataStreamError = {
type: 'error';
id: string;
message: string;
};