update to RMCP 0.6.2 (#4523)
This commit is contained in:
+68
-4
@@ -1559,12 +1559,12 @@
|
||||
"$ref": "#/components/schemas/Role"
|
||||
}
|
||||
},
|
||||
"priority": {
|
||||
"type": "number"
|
||||
},
|
||||
"timestamp": {
|
||||
"lastModified": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"priority": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1683,6 +1683,13 @@
|
||||
"$ref": "#/components/schemas/Annotated"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/RawResource"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -1893,6 +1900,10 @@
|
||||
"resource"
|
||||
],
|
||||
"properties": {
|
||||
"_meta": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"annotations": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -2390,6 +2401,10 @@
|
||||
"mimeType"
|
||||
],
|
||||
"properties": {
|
||||
"_meta": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"annotations": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -2877,6 +2892,10 @@
|
||||
"resource"
|
||||
],
|
||||
"properties": {
|
||||
"_meta": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"resource": {
|
||||
"$ref": "#/components/schemas/ResourceContents"
|
||||
}
|
||||
@@ -2889,6 +2908,10 @@
|
||||
"mimeType"
|
||||
],
|
||||
"properties": {
|
||||
"_meta": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"data": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -2897,12 +2920,41 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"RawResource": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"uri",
|
||||
"name"
|
||||
],
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"mimeType": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"size": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"uri": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"RawTextContent": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"text"
|
||||
],
|
||||
"properties": {
|
||||
"_meta": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"text": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -3102,6 +3154,10 @@
|
||||
"text"
|
||||
],
|
||||
"properties": {
|
||||
"_meta": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"mimeType": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -3120,6 +3176,10 @@
|
||||
"blob"
|
||||
],
|
||||
"properties": {
|
||||
"_meta": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"blob": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -3643,6 +3703,10 @@
|
||||
"text"
|
||||
],
|
||||
"properties": {
|
||||
"_meta": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"annotations": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
"start-alpha-gui": "ALPHA=true npm run start-gui"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tanstack/react-form": "^0.13.0",
|
||||
"@ai-sdk/openai": "^2.0.14",
|
||||
"@ai-sdk/ui-utils": "^1.2.11",
|
||||
"@mcp-ui/client": "^5.9.0",
|
||||
|
||||
@@ -13,8 +13,8 @@ export type Annotated = RawTextContent | RawImageContent | RawEmbeddedResource;
|
||||
|
||||
export type Annotations = {
|
||||
audience?: Array<Role>;
|
||||
lastModified?: string;
|
||||
priority?: number;
|
||||
timestamp?: string;
|
||||
};
|
||||
|
||||
export type Author = {
|
||||
@@ -65,7 +65,7 @@ export type ConfigResponse = {
|
||||
};
|
||||
};
|
||||
|
||||
export type Content = RawTextContent | RawImageContent | RawEmbeddedResource | Annotated;
|
||||
export type Content = RawTextContent | RawImageContent | RawEmbeddedResource | Annotated | RawResource;
|
||||
|
||||
export type ContextLengthExceeded = {
|
||||
msg: string;
|
||||
@@ -141,6 +141,9 @@ export type DeleteRecipeRequest = {
|
||||
};
|
||||
|
||||
export type EmbeddedResource = {
|
||||
_meta?: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
annotations?: Annotations | {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
@@ -322,6 +325,9 @@ export type GetToolsQuery = {
|
||||
};
|
||||
|
||||
export type ImageContent = {
|
||||
_meta?: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
annotations?: Annotations | {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
@@ -472,15 +478,32 @@ export type ProvidersResponse = {
|
||||
};
|
||||
|
||||
export type RawEmbeddedResource = {
|
||||
_meta?: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
resource: ResourceContents;
|
||||
};
|
||||
|
||||
export type RawImageContent = {
|
||||
_meta?: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
data: string;
|
||||
mimeType: string;
|
||||
};
|
||||
|
||||
export type RawResource = {
|
||||
description?: string;
|
||||
mimeType?: string;
|
||||
name: string;
|
||||
size?: number;
|
||||
uri: string;
|
||||
};
|
||||
|
||||
export type RawTextContent = {
|
||||
_meta?: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
text: string;
|
||||
};
|
||||
|
||||
@@ -580,10 +603,16 @@ export type RedactedThinkingContent = {
|
||||
};
|
||||
|
||||
export type ResourceContents = {
|
||||
_meta?: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
mimeType?: string;
|
||||
text: string;
|
||||
uri: string;
|
||||
} | {
|
||||
_meta?: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
blob: string;
|
||||
mimeType?: string;
|
||||
uri: string;
|
||||
@@ -790,6 +819,9 @@ export type SummarizationRequested = {
|
||||
};
|
||||
|
||||
export type TextContent = {
|
||||
_meta?: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
annotations?: Annotations | {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user