feat(mcp): upgrade rmcp to 0.15.0 and advertise MCP Apps UI extension capability (#6927)
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1148,6 +1148,8 @@ export type SystemNotificationContent = {
|
||||
|
||||
export type SystemNotificationType = 'thinkingMessage' | 'inlineMessage';
|
||||
|
||||
export type TaskSupport = string;
|
||||
|
||||
export type TelemetryEventRequest = {
|
||||
event_name: string;
|
||||
properties?: {
|
||||
@@ -1198,6 +1200,9 @@ export type Tool = {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
description?: string;
|
||||
execution?: ToolExecution | {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
icons?: Array<Icon>;
|
||||
inputSchema: {
|
||||
[key: string]: unknown;
|
||||
@@ -1224,6 +1229,12 @@ export type ToolConfirmationRequest = {
|
||||
toolName: string;
|
||||
};
|
||||
|
||||
export type ToolExecution = {
|
||||
taskSupport?: TaskSupport | {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* Information about the tool used for building prompts
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user