Add MCP integration including: - New MCP settings tab with server configuration - Tool invocation UI components - API endpoints for MCP management - Integration with chat system for tool execution - Example configurations
27 lines
479 B
TypeScript
27 lines
479 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 ToolCallAnnotation = {
|
|
type: 'toolCall';
|
|
toolCallId: string;
|
|
serverName: string;
|
|
toolName: string;
|
|
toolDescription: string;
|
|
};
|