mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
26 lines
478 B
TypeScript
26 lines
478 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';
|
|
order: number;
|
|
message: string;
|
|
};
|
|
|
|
export type ToolInvocationAnnotation = {
|
|
type: 'toolInvocation';
|
|
toolName: string;
|
|
parameters: Record<string, unknown>;
|
|
result: unknown;
|
|
};
|