@modelcontextprotocol/ext-apps 0.0.6 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/src/app-bridge.d.ts +33 -2
- package/dist/src/app-bridge.js +6 -6
- package/dist/src/app.d.ts +103 -4
- package/dist/src/app.js +13 -13
- package/dist/src/generated/schema.d.ts +612 -0
- package/dist/src/generated/schema.test.d.ts +26 -0
- package/dist/src/react/index.js +7 -7
- package/dist/src/spec.types.d.ts +339 -0
- package/dist/src/types.d.ts +8 -834
- package/package.json +8 -4
|
@@ -0,0 +1,612 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* @description Color theme preference for the host environment.
|
|
4
|
+
*/
|
|
5
|
+
export declare const McpUiThemeSchema: z.ZodUnion<readonly [z.ZodLiteral<"light">, z.ZodLiteral<"dark">]>;
|
|
6
|
+
/**
|
|
7
|
+
* @description Display mode for UI presentation.
|
|
8
|
+
*/
|
|
9
|
+
export declare const McpUiDisplayModeSchema: z.ZodUnion<readonly [z.ZodLiteral<"inline">, z.ZodLiteral<"fullscreen">, z.ZodLiteral<"pip">]>;
|
|
10
|
+
/**
|
|
11
|
+
* @description Request to open an external URL in the host's default browser.
|
|
12
|
+
* @see {@link app.App.sendOpenLink} for the method that sends this request
|
|
13
|
+
*/
|
|
14
|
+
export declare const McpUiOpenLinkRequestSchema: z.ZodObject<{
|
|
15
|
+
method: z.ZodLiteral<"ui/open-link">;
|
|
16
|
+
params: z.ZodObject<{
|
|
17
|
+
url: z.ZodString;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
/**
|
|
21
|
+
* @description Result from opening a URL.
|
|
22
|
+
* @see {@link McpUiOpenLinkRequest}
|
|
23
|
+
*/
|
|
24
|
+
export declare const McpUiOpenLinkResultSchema: z.ZodObject<{
|
|
25
|
+
/** @description True if the host failed to open the URL (e.g., due to security policy). */
|
|
26
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
+
}, z.core.$loose>;
|
|
28
|
+
/**
|
|
29
|
+
* @description Result from sending a message.
|
|
30
|
+
* @see {@link McpUiMessageRequest}
|
|
31
|
+
*/
|
|
32
|
+
export declare const McpUiMessageResultSchema: z.ZodObject<{
|
|
33
|
+
/** @description True if the host rejected or failed to deliver the message. */
|
|
34
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
+
}, z.core.$loose>;
|
|
36
|
+
/**
|
|
37
|
+
* @description Notification that the sandbox proxy iframe is ready to receive content.
|
|
38
|
+
* @internal
|
|
39
|
+
* @see https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/draft/apps.mdx#sandbox-proxy
|
|
40
|
+
*/
|
|
41
|
+
export declare const McpUiSandboxProxyReadyNotificationSchema: z.ZodObject<{
|
|
42
|
+
method: z.ZodLiteral<"ui/notifications/sandbox-proxy-ready">;
|
|
43
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
/**
|
|
46
|
+
* @description Notification containing HTML resource for the sandbox proxy to load.
|
|
47
|
+
* @internal
|
|
48
|
+
* @see https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/draft/apps.mdx#sandbox-proxy
|
|
49
|
+
*/
|
|
50
|
+
export declare const McpUiSandboxResourceReadyNotificationSchema: z.ZodObject<{
|
|
51
|
+
method: z.ZodLiteral<"ui/notifications/sandbox-resource-ready">;
|
|
52
|
+
params: z.ZodObject<{
|
|
53
|
+
html: z.ZodString;
|
|
54
|
+
sandbox: z.ZodOptional<z.ZodString>;
|
|
55
|
+
csp: z.ZodOptional<z.ZodObject<{
|
|
56
|
+
connectDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
57
|
+
resourceDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
58
|
+
}, z.core.$strip>>;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
}, z.core.$strip>;
|
|
61
|
+
/**
|
|
62
|
+
* @description Notification of UI size changes (bidirectional: Guest <-> Host).
|
|
63
|
+
* @see {@link app.App.sendSizeChanged} for the method to send this from Guest UI
|
|
64
|
+
*/
|
|
65
|
+
export declare const McpUiSizeChangedNotificationSchema: z.ZodObject<{
|
|
66
|
+
method: z.ZodLiteral<"ui/notifications/size-changed">;
|
|
67
|
+
params: z.ZodObject<{
|
|
68
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
69
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
70
|
+
}, z.core.$strip>;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
/**
|
|
73
|
+
* @description Notification containing complete tool arguments (Host -> Guest UI).
|
|
74
|
+
*/
|
|
75
|
+
export declare const McpUiToolInputNotificationSchema: z.ZodObject<{
|
|
76
|
+
method: z.ZodLiteral<"ui/notifications/tool-input">;
|
|
77
|
+
params: z.ZodObject<{
|
|
78
|
+
arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
79
|
+
}, z.core.$strip>;
|
|
80
|
+
}, z.core.$strip>;
|
|
81
|
+
/**
|
|
82
|
+
* @description Notification containing partial/streaming tool arguments (Host -> Guest UI).
|
|
83
|
+
*/
|
|
84
|
+
export declare const McpUiToolInputPartialNotificationSchema: z.ZodObject<{
|
|
85
|
+
method: z.ZodLiteral<"ui/notifications/tool-input-partial">;
|
|
86
|
+
params: z.ZodObject<{
|
|
87
|
+
arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
}, z.core.$strip>;
|
|
90
|
+
/**
|
|
91
|
+
* @description Notification that tool execution was cancelled (Host -> Guest UI).
|
|
92
|
+
* Host MUST send this if tool execution was cancelled for any reason (user action,
|
|
93
|
+
* sampling error, classifier intervention, etc.).
|
|
94
|
+
*/
|
|
95
|
+
export declare const McpUiToolCancelledNotificationSchema: z.ZodObject<{
|
|
96
|
+
method: z.ZodLiteral<"ui/notifications/tool-cancelled">;
|
|
97
|
+
params: z.ZodObject<{
|
|
98
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
99
|
+
}, z.core.$strip>;
|
|
100
|
+
}, z.core.$strip>;
|
|
101
|
+
/**
|
|
102
|
+
* @description Request for graceful shutdown of the Guest UI (Host -> Guest UI).
|
|
103
|
+
* @see {@link app-bridge.AppBridge.sendResourceTeardown} for the host method that sends this
|
|
104
|
+
*/
|
|
105
|
+
export declare const McpUiResourceTeardownRequestSchema: z.ZodObject<{
|
|
106
|
+
method: z.ZodLiteral<"ui/resource-teardown">;
|
|
107
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
108
|
+
}, z.core.$strip>;
|
|
109
|
+
/**
|
|
110
|
+
* @description Result from graceful shutdown request.
|
|
111
|
+
* @see {@link McpUiResourceTeardownRequest}
|
|
112
|
+
*/
|
|
113
|
+
export declare const McpUiResourceTeardownResultSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
114
|
+
/**
|
|
115
|
+
* @description Capabilities supported by the host application.
|
|
116
|
+
* @see {@link McpUiInitializeResult} for the initialization result that includes these capabilities
|
|
117
|
+
*/
|
|
118
|
+
export declare const McpUiHostCapabilitiesSchema: z.ZodObject<{
|
|
119
|
+
experimental: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
120
|
+
openLinks: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
121
|
+
serverTools: z.ZodOptional<z.ZodObject<{
|
|
122
|
+
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
123
|
+
}, z.core.$strip>>;
|
|
124
|
+
serverResources: z.ZodOptional<z.ZodObject<{
|
|
125
|
+
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
126
|
+
}, z.core.$strip>>;
|
|
127
|
+
logging: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
128
|
+
}, z.core.$strip>;
|
|
129
|
+
/**
|
|
130
|
+
* @description Capabilities provided by the Guest UI (App).
|
|
131
|
+
* @see {@link McpUiInitializeRequest} for the initialization request that includes these capabilities
|
|
132
|
+
*/
|
|
133
|
+
export declare const McpUiAppCapabilitiesSchema: z.ZodObject<{
|
|
134
|
+
experimental: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
135
|
+
tools: z.ZodOptional<z.ZodObject<{
|
|
136
|
+
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
137
|
+
}, z.core.$strip>>;
|
|
138
|
+
}, z.core.$strip>;
|
|
139
|
+
/**
|
|
140
|
+
* @description Notification that Guest UI has completed initialization (Guest UI -> Host).
|
|
141
|
+
* @see {@link app.App.connect} for the method that sends this notification
|
|
142
|
+
*/
|
|
143
|
+
export declare const McpUiInitializedNotificationSchema: z.ZodObject<{
|
|
144
|
+
method: z.ZodLiteral<"ui/notifications/initialized">;
|
|
145
|
+
params: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
146
|
+
}, z.core.$strip>;
|
|
147
|
+
/**
|
|
148
|
+
* @description Content Security Policy configuration for UI resources.
|
|
149
|
+
*/
|
|
150
|
+
export declare const McpUiResourceCspSchema: z.ZodObject<{
|
|
151
|
+
connectDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
152
|
+
resourceDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
153
|
+
}, z.core.$strip>;
|
|
154
|
+
/**
|
|
155
|
+
* @description UI Resource metadata for security and rendering configuration.
|
|
156
|
+
*/
|
|
157
|
+
export declare const McpUiResourceMetaSchema: z.ZodObject<{
|
|
158
|
+
csp: z.ZodOptional<z.ZodObject<{
|
|
159
|
+
connectDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
160
|
+
resourceDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
161
|
+
}, z.core.$strip>>;
|
|
162
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
163
|
+
prefersBorder: z.ZodOptional<z.ZodBoolean>;
|
|
164
|
+
}, z.core.$strip>;
|
|
165
|
+
/**
|
|
166
|
+
* @description Request to send a message to the host's chat interface.
|
|
167
|
+
* @see {@link app.App.sendMessage} for the method that sends this request
|
|
168
|
+
*/
|
|
169
|
+
export declare const McpUiMessageRequestSchema: z.ZodObject<{
|
|
170
|
+
method: z.ZodLiteral<"ui/message">;
|
|
171
|
+
params: z.ZodObject<{
|
|
172
|
+
role: z.ZodLiteral<"user">;
|
|
173
|
+
content: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
174
|
+
type: z.ZodLiteral<"text">;
|
|
175
|
+
text: z.ZodString;
|
|
176
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
177
|
+
audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
178
|
+
user: "user";
|
|
179
|
+
assistant: "assistant";
|
|
180
|
+
}>>>;
|
|
181
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
182
|
+
lastModified: z.ZodOptional<z.ZodISODateTime>;
|
|
183
|
+
}, z.core.$strip>>;
|
|
184
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
185
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
186
|
+
type: z.ZodLiteral<"image">;
|
|
187
|
+
data: z.ZodString;
|
|
188
|
+
mimeType: z.ZodString;
|
|
189
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
190
|
+
audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
191
|
+
user: "user";
|
|
192
|
+
assistant: "assistant";
|
|
193
|
+
}>>>;
|
|
194
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
195
|
+
lastModified: z.ZodOptional<z.ZodISODateTime>;
|
|
196
|
+
}, z.core.$strip>>;
|
|
197
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
198
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
199
|
+
type: z.ZodLiteral<"audio">;
|
|
200
|
+
data: z.ZodString;
|
|
201
|
+
mimeType: z.ZodString;
|
|
202
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
203
|
+
audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
204
|
+
user: "user";
|
|
205
|
+
assistant: "assistant";
|
|
206
|
+
}>>>;
|
|
207
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
208
|
+
lastModified: z.ZodOptional<z.ZodISODateTime>;
|
|
209
|
+
}, z.core.$strip>>;
|
|
210
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
211
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
212
|
+
uri: z.ZodString;
|
|
213
|
+
description: z.ZodOptional<z.ZodString>;
|
|
214
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
215
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
216
|
+
audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
217
|
+
user: "user";
|
|
218
|
+
assistant: "assistant";
|
|
219
|
+
}>>>;
|
|
220
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
221
|
+
lastModified: z.ZodOptional<z.ZodISODateTime>;
|
|
222
|
+
}, z.core.$strip>>;
|
|
223
|
+
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
224
|
+
icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
225
|
+
src: z.ZodString;
|
|
226
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
227
|
+
sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
228
|
+
}, z.core.$strip>>>;
|
|
229
|
+
name: z.ZodString;
|
|
230
|
+
title: z.ZodOptional<z.ZodString>;
|
|
231
|
+
type: z.ZodLiteral<"resource_link">;
|
|
232
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
233
|
+
type: z.ZodLiteral<"resource">;
|
|
234
|
+
resource: z.ZodUnion<readonly [z.ZodObject<{
|
|
235
|
+
uri: z.ZodString;
|
|
236
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
237
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
238
|
+
text: z.ZodString;
|
|
239
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
240
|
+
uri: z.ZodString;
|
|
241
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
242
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
243
|
+
blob: z.ZodString;
|
|
244
|
+
}, z.core.$strip>]>;
|
|
245
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
246
|
+
audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
247
|
+
user: "user";
|
|
248
|
+
assistant: "assistant";
|
|
249
|
+
}>>>;
|
|
250
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
251
|
+
lastModified: z.ZodOptional<z.ZodISODateTime>;
|
|
252
|
+
}, z.core.$strip>>;
|
|
253
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
254
|
+
}, z.core.$strip>]>>;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
}, z.core.$strip>;
|
|
257
|
+
/**
|
|
258
|
+
* @description Notification containing tool execution result (Host -> Guest UI).
|
|
259
|
+
*/
|
|
260
|
+
export declare const McpUiToolResultNotificationSchema: z.ZodObject<{
|
|
261
|
+
method: z.ZodLiteral<"ui/notifications/tool-result">;
|
|
262
|
+
params: z.ZodObject<{
|
|
263
|
+
_meta: z.ZodOptional<z.ZodObject<{
|
|
264
|
+
"io.modelcontextprotocol/related-task": z.ZodOptional<z.ZodObject<{
|
|
265
|
+
taskId: z.ZodString;
|
|
266
|
+
}, z.core.$loose>>;
|
|
267
|
+
}, z.core.$loose>>;
|
|
268
|
+
content: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
269
|
+
type: z.ZodLiteral<"text">;
|
|
270
|
+
text: z.ZodString;
|
|
271
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
272
|
+
audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
273
|
+
user: "user";
|
|
274
|
+
assistant: "assistant";
|
|
275
|
+
}>>>;
|
|
276
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
277
|
+
lastModified: z.ZodOptional<z.ZodISODateTime>;
|
|
278
|
+
}, z.core.$strip>>;
|
|
279
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
280
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
281
|
+
type: z.ZodLiteral<"image">;
|
|
282
|
+
data: z.ZodString;
|
|
283
|
+
mimeType: z.ZodString;
|
|
284
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
285
|
+
audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
286
|
+
user: "user";
|
|
287
|
+
assistant: "assistant";
|
|
288
|
+
}>>>;
|
|
289
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
290
|
+
lastModified: z.ZodOptional<z.ZodISODateTime>;
|
|
291
|
+
}, z.core.$strip>>;
|
|
292
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
293
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
294
|
+
type: z.ZodLiteral<"audio">;
|
|
295
|
+
data: z.ZodString;
|
|
296
|
+
mimeType: z.ZodString;
|
|
297
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
298
|
+
audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
299
|
+
user: "user";
|
|
300
|
+
assistant: "assistant";
|
|
301
|
+
}>>>;
|
|
302
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
303
|
+
lastModified: z.ZodOptional<z.ZodISODateTime>;
|
|
304
|
+
}, z.core.$strip>>;
|
|
305
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
306
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
307
|
+
uri: z.ZodString;
|
|
308
|
+
description: z.ZodOptional<z.ZodString>;
|
|
309
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
310
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
311
|
+
audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
312
|
+
user: "user";
|
|
313
|
+
assistant: "assistant";
|
|
314
|
+
}>>>;
|
|
315
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
316
|
+
lastModified: z.ZodOptional<z.ZodISODateTime>;
|
|
317
|
+
}, z.core.$strip>>;
|
|
318
|
+
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
319
|
+
icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
320
|
+
src: z.ZodString;
|
|
321
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
322
|
+
sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
323
|
+
}, z.core.$strip>>>;
|
|
324
|
+
name: z.ZodString;
|
|
325
|
+
title: z.ZodOptional<z.ZodString>;
|
|
326
|
+
type: z.ZodLiteral<"resource_link">;
|
|
327
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
328
|
+
type: z.ZodLiteral<"resource">;
|
|
329
|
+
resource: z.ZodUnion<readonly [z.ZodObject<{
|
|
330
|
+
uri: z.ZodString;
|
|
331
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
332
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
333
|
+
text: z.ZodString;
|
|
334
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
335
|
+
uri: z.ZodString;
|
|
336
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
337
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
338
|
+
blob: z.ZodString;
|
|
339
|
+
}, z.core.$strip>]>;
|
|
340
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
341
|
+
audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
342
|
+
user: "user";
|
|
343
|
+
assistant: "assistant";
|
|
344
|
+
}>>>;
|
|
345
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
346
|
+
lastModified: z.ZodOptional<z.ZodISODateTime>;
|
|
347
|
+
}, z.core.$strip>>;
|
|
348
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
349
|
+
}, z.core.$strip>]>>>;
|
|
350
|
+
structuredContent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
351
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
352
|
+
}, z.core.$loose>;
|
|
353
|
+
}, z.core.$strip>;
|
|
354
|
+
/**
|
|
355
|
+
* @description Rich context about the host environment provided to Guest UIs.
|
|
356
|
+
*/
|
|
357
|
+
export declare const McpUiHostContextSchema: z.ZodObject<{
|
|
358
|
+
toolInfo: z.ZodOptional<z.ZodObject<{
|
|
359
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
360
|
+
tool: z.ZodObject<{
|
|
361
|
+
description: z.ZodOptional<z.ZodString>;
|
|
362
|
+
inputSchema: z.ZodObject<{
|
|
363
|
+
type: z.ZodLiteral<"object">;
|
|
364
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCustom<object, object>>>;
|
|
365
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
366
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
367
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
368
|
+
type: z.ZodLiteral<"object">;
|
|
369
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCustom<object, object>>>;
|
|
370
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
371
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
372
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
373
|
+
title: z.ZodOptional<z.ZodString>;
|
|
374
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
375
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
376
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
377
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
378
|
+
}, z.core.$strip>>;
|
|
379
|
+
execution: z.ZodOptional<z.ZodObject<{
|
|
380
|
+
taskSupport: z.ZodOptional<z.ZodEnum<{
|
|
381
|
+
optional: "optional";
|
|
382
|
+
required: "required";
|
|
383
|
+
forbidden: "forbidden";
|
|
384
|
+
}>>;
|
|
385
|
+
}, z.core.$strip>>;
|
|
386
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
387
|
+
icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
388
|
+
src: z.ZodString;
|
|
389
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
390
|
+
sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
391
|
+
}, z.core.$strip>>>;
|
|
392
|
+
name: z.ZodString;
|
|
393
|
+
title: z.ZodOptional<z.ZodString>;
|
|
394
|
+
}, z.core.$strip>;
|
|
395
|
+
}, z.core.$strip>>;
|
|
396
|
+
theme: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"light">, z.ZodLiteral<"dark">]>>;
|
|
397
|
+
displayMode: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"inline">, z.ZodLiteral<"fullscreen">, z.ZodLiteral<"pip">]>>;
|
|
398
|
+
availableDisplayModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
399
|
+
viewport: z.ZodOptional<z.ZodObject<{
|
|
400
|
+
width: z.ZodNumber;
|
|
401
|
+
height: z.ZodNumber;
|
|
402
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
403
|
+
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
404
|
+
}, z.core.$strip>>;
|
|
405
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
406
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
407
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
408
|
+
platform: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"web">, z.ZodLiteral<"desktop">, z.ZodLiteral<"mobile">]>>;
|
|
409
|
+
deviceCapabilities: z.ZodOptional<z.ZodObject<{
|
|
410
|
+
touch: z.ZodOptional<z.ZodBoolean>;
|
|
411
|
+
hover: z.ZodOptional<z.ZodBoolean>;
|
|
412
|
+
}, z.core.$strip>>;
|
|
413
|
+
safeAreaInsets: z.ZodOptional<z.ZodObject<{
|
|
414
|
+
top: z.ZodNumber;
|
|
415
|
+
right: z.ZodNumber;
|
|
416
|
+
bottom: z.ZodNumber;
|
|
417
|
+
left: z.ZodNumber;
|
|
418
|
+
}, z.core.$strip>>;
|
|
419
|
+
}, z.core.$strip>;
|
|
420
|
+
/**
|
|
421
|
+
* @description Notification that host context has changed (Host -> Guest UI).
|
|
422
|
+
* @see {@link McpUiHostContext} for the full context structure
|
|
423
|
+
*/
|
|
424
|
+
export declare const McpUiHostContextChangedNotificationSchema: z.ZodObject<{
|
|
425
|
+
method: z.ZodLiteral<"ui/notifications/host-context-changed">;
|
|
426
|
+
params: z.ZodObject<{
|
|
427
|
+
toolInfo: z.ZodOptional<z.ZodObject<{
|
|
428
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
429
|
+
tool: z.ZodObject<{
|
|
430
|
+
description: z.ZodOptional<z.ZodString>;
|
|
431
|
+
inputSchema: z.ZodObject<{
|
|
432
|
+
type: z.ZodLiteral<"object">;
|
|
433
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCustom<object, object>>>;
|
|
434
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
435
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
436
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
437
|
+
type: z.ZodLiteral<"object">;
|
|
438
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCustom<object, object>>>;
|
|
439
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
440
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
441
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
442
|
+
title: z.ZodOptional<z.ZodString>;
|
|
443
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
444
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
445
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
446
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
447
|
+
}, z.core.$strip>>;
|
|
448
|
+
execution: z.ZodOptional<z.ZodObject<{
|
|
449
|
+
taskSupport: z.ZodOptional<z.ZodEnum<{
|
|
450
|
+
optional: "optional";
|
|
451
|
+
required: "required";
|
|
452
|
+
forbidden: "forbidden";
|
|
453
|
+
}>>;
|
|
454
|
+
}, z.core.$strip>>;
|
|
455
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
456
|
+
icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
457
|
+
src: z.ZodString;
|
|
458
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
459
|
+
sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
460
|
+
}, z.core.$strip>>>;
|
|
461
|
+
name: z.ZodString;
|
|
462
|
+
title: z.ZodOptional<z.ZodString>;
|
|
463
|
+
}, z.core.$strip>;
|
|
464
|
+
}, z.core.$strip>>;
|
|
465
|
+
theme: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"light">, z.ZodLiteral<"dark">]>>;
|
|
466
|
+
displayMode: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"inline">, z.ZodLiteral<"fullscreen">, z.ZodLiteral<"pip">]>>;
|
|
467
|
+
availableDisplayModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
468
|
+
viewport: z.ZodOptional<z.ZodObject<{
|
|
469
|
+
width: z.ZodNumber;
|
|
470
|
+
height: z.ZodNumber;
|
|
471
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
472
|
+
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
473
|
+
}, z.core.$strip>>;
|
|
474
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
475
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
476
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
477
|
+
platform: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"web">, z.ZodLiteral<"desktop">, z.ZodLiteral<"mobile">]>>;
|
|
478
|
+
deviceCapabilities: z.ZodOptional<z.ZodObject<{
|
|
479
|
+
touch: z.ZodOptional<z.ZodBoolean>;
|
|
480
|
+
hover: z.ZodOptional<z.ZodBoolean>;
|
|
481
|
+
}, z.core.$strip>>;
|
|
482
|
+
safeAreaInsets: z.ZodOptional<z.ZodObject<{
|
|
483
|
+
top: z.ZodNumber;
|
|
484
|
+
right: z.ZodNumber;
|
|
485
|
+
bottom: z.ZodNumber;
|
|
486
|
+
left: z.ZodNumber;
|
|
487
|
+
}, z.core.$strip>>;
|
|
488
|
+
}, z.core.$strip>;
|
|
489
|
+
}, z.core.$strip>;
|
|
490
|
+
/**
|
|
491
|
+
* @description Initialization request sent from Guest UI to Host.
|
|
492
|
+
* @see {@link app.App.connect} for the method that sends this request
|
|
493
|
+
*/
|
|
494
|
+
export declare const McpUiInitializeRequestSchema: z.ZodObject<{
|
|
495
|
+
method: z.ZodLiteral<"ui/initialize">;
|
|
496
|
+
params: z.ZodObject<{
|
|
497
|
+
appInfo: z.ZodObject<{
|
|
498
|
+
version: z.ZodString;
|
|
499
|
+
websiteUrl: z.ZodOptional<z.ZodString>;
|
|
500
|
+
icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
501
|
+
src: z.ZodString;
|
|
502
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
503
|
+
sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
504
|
+
}, z.core.$strip>>>;
|
|
505
|
+
name: z.ZodString;
|
|
506
|
+
title: z.ZodOptional<z.ZodString>;
|
|
507
|
+
}, z.core.$strip>;
|
|
508
|
+
appCapabilities: z.ZodObject<{
|
|
509
|
+
experimental: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
510
|
+
tools: z.ZodOptional<z.ZodObject<{
|
|
511
|
+
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
512
|
+
}, z.core.$strip>>;
|
|
513
|
+
}, z.core.$strip>;
|
|
514
|
+
protocolVersion: z.ZodString;
|
|
515
|
+
}, z.core.$strip>;
|
|
516
|
+
}, z.core.$strip>;
|
|
517
|
+
/**
|
|
518
|
+
* @description Initialization result returned from Host to Guest UI.
|
|
519
|
+
* @see {@link McpUiInitializeRequest}
|
|
520
|
+
*/
|
|
521
|
+
export declare const McpUiInitializeResultSchema: z.ZodObject<{
|
|
522
|
+
/** @description Negotiated protocol version string (e.g., "2025-11-21"). */
|
|
523
|
+
protocolVersion: z.ZodString;
|
|
524
|
+
/** @description Host application identification and version. */
|
|
525
|
+
hostInfo: z.ZodObject<{
|
|
526
|
+
version: z.ZodString;
|
|
527
|
+
websiteUrl: z.ZodOptional<z.ZodString>;
|
|
528
|
+
icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
529
|
+
src: z.ZodString;
|
|
530
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
531
|
+
sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
532
|
+
}, z.core.$strip>>>;
|
|
533
|
+
name: z.ZodString;
|
|
534
|
+
title: z.ZodOptional<z.ZodString>;
|
|
535
|
+
}, z.core.$strip>;
|
|
536
|
+
/** @description Features and capabilities provided by the host. */
|
|
537
|
+
hostCapabilities: z.ZodObject<{
|
|
538
|
+
experimental: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
539
|
+
openLinks: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
540
|
+
serverTools: z.ZodOptional<z.ZodObject<{
|
|
541
|
+
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
542
|
+
}, z.core.$strip>>;
|
|
543
|
+
serverResources: z.ZodOptional<z.ZodObject<{
|
|
544
|
+
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
545
|
+
}, z.core.$strip>>;
|
|
546
|
+
logging: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
547
|
+
}, z.core.$strip>;
|
|
548
|
+
/** @description Rich context about the host environment. */
|
|
549
|
+
hostContext: z.ZodObject<{
|
|
550
|
+
toolInfo: z.ZodOptional<z.ZodObject<{
|
|
551
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
552
|
+
tool: z.ZodObject<{
|
|
553
|
+
description: z.ZodOptional<z.ZodString>;
|
|
554
|
+
inputSchema: z.ZodObject<{
|
|
555
|
+
type: z.ZodLiteral<"object">;
|
|
556
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCustom<object, object>>>;
|
|
557
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
558
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
559
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
560
|
+
type: z.ZodLiteral<"object">;
|
|
561
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCustom<object, object>>>;
|
|
562
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
563
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
564
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
565
|
+
title: z.ZodOptional<z.ZodString>;
|
|
566
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
567
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
568
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
569
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
570
|
+
}, z.core.$strip>>;
|
|
571
|
+
execution: z.ZodOptional<z.ZodObject<{
|
|
572
|
+
taskSupport: z.ZodOptional<z.ZodEnum<{
|
|
573
|
+
optional: "optional";
|
|
574
|
+
required: "required";
|
|
575
|
+
forbidden: "forbidden";
|
|
576
|
+
}>>;
|
|
577
|
+
}, z.core.$strip>>;
|
|
578
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
579
|
+
icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
580
|
+
src: z.ZodString;
|
|
581
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
582
|
+
sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
583
|
+
}, z.core.$strip>>>;
|
|
584
|
+
name: z.ZodString;
|
|
585
|
+
title: z.ZodOptional<z.ZodString>;
|
|
586
|
+
}, z.core.$strip>;
|
|
587
|
+
}, z.core.$strip>>;
|
|
588
|
+
theme: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"light">, z.ZodLiteral<"dark">]>>;
|
|
589
|
+
displayMode: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"inline">, z.ZodLiteral<"fullscreen">, z.ZodLiteral<"pip">]>>;
|
|
590
|
+
availableDisplayModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
591
|
+
viewport: z.ZodOptional<z.ZodObject<{
|
|
592
|
+
width: z.ZodNumber;
|
|
593
|
+
height: z.ZodNumber;
|
|
594
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
595
|
+
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
596
|
+
}, z.core.$strip>>;
|
|
597
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
598
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
599
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
600
|
+
platform: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"web">, z.ZodLiteral<"desktop">, z.ZodLiteral<"mobile">]>>;
|
|
601
|
+
deviceCapabilities: z.ZodOptional<z.ZodObject<{
|
|
602
|
+
touch: z.ZodOptional<z.ZodBoolean>;
|
|
603
|
+
hover: z.ZodOptional<z.ZodBoolean>;
|
|
604
|
+
}, z.core.$strip>>;
|
|
605
|
+
safeAreaInsets: z.ZodOptional<z.ZodObject<{
|
|
606
|
+
top: z.ZodNumber;
|
|
607
|
+
right: z.ZodNumber;
|
|
608
|
+
bottom: z.ZodNumber;
|
|
609
|
+
left: z.ZodNumber;
|
|
610
|
+
}, z.core.$strip>>;
|
|
611
|
+
}, z.core.$strip>;
|
|
612
|
+
}, z.core.$loose>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
import * as generated from "./schema.js";
|
|
3
|
+
export type McpUiThemeSchemaInferredType = z.infer<typeof generated.McpUiThemeSchema>;
|
|
4
|
+
export type McpUiDisplayModeSchemaInferredType = z.infer<typeof generated.McpUiDisplayModeSchema>;
|
|
5
|
+
export type McpUiOpenLinkRequestSchemaInferredType = z.infer<typeof generated.McpUiOpenLinkRequestSchema>;
|
|
6
|
+
export type McpUiOpenLinkResultSchemaInferredType = z.infer<typeof generated.McpUiOpenLinkResultSchema>;
|
|
7
|
+
export type McpUiMessageResultSchemaInferredType = z.infer<typeof generated.McpUiMessageResultSchema>;
|
|
8
|
+
export type McpUiSandboxProxyReadyNotificationSchemaInferredType = z.infer<typeof generated.McpUiSandboxProxyReadyNotificationSchema>;
|
|
9
|
+
export type McpUiSandboxResourceReadyNotificationSchemaInferredType = z.infer<typeof generated.McpUiSandboxResourceReadyNotificationSchema>;
|
|
10
|
+
export type McpUiSizeChangedNotificationSchemaInferredType = z.infer<typeof generated.McpUiSizeChangedNotificationSchema>;
|
|
11
|
+
export type McpUiToolInputNotificationSchemaInferredType = z.infer<typeof generated.McpUiToolInputNotificationSchema>;
|
|
12
|
+
export type McpUiToolInputPartialNotificationSchemaInferredType = z.infer<typeof generated.McpUiToolInputPartialNotificationSchema>;
|
|
13
|
+
export type McpUiToolCancelledNotificationSchemaInferredType = z.infer<typeof generated.McpUiToolCancelledNotificationSchema>;
|
|
14
|
+
export type McpUiResourceTeardownRequestSchemaInferredType = z.infer<typeof generated.McpUiResourceTeardownRequestSchema>;
|
|
15
|
+
export type McpUiResourceTeardownResultSchemaInferredType = z.infer<typeof generated.McpUiResourceTeardownResultSchema>;
|
|
16
|
+
export type McpUiHostCapabilitiesSchemaInferredType = z.infer<typeof generated.McpUiHostCapabilitiesSchema>;
|
|
17
|
+
export type McpUiAppCapabilitiesSchemaInferredType = z.infer<typeof generated.McpUiAppCapabilitiesSchema>;
|
|
18
|
+
export type McpUiInitializedNotificationSchemaInferredType = z.infer<typeof generated.McpUiInitializedNotificationSchema>;
|
|
19
|
+
export type McpUiResourceCspSchemaInferredType = z.infer<typeof generated.McpUiResourceCspSchema>;
|
|
20
|
+
export type McpUiResourceMetaSchemaInferredType = z.infer<typeof generated.McpUiResourceMetaSchema>;
|
|
21
|
+
export type McpUiMessageRequestSchemaInferredType = z.infer<typeof generated.McpUiMessageRequestSchema>;
|
|
22
|
+
export type McpUiToolResultNotificationSchemaInferredType = z.infer<typeof generated.McpUiToolResultNotificationSchema>;
|
|
23
|
+
export type McpUiHostContextSchemaInferredType = z.infer<typeof generated.McpUiHostContextSchema>;
|
|
24
|
+
export type McpUiHostContextChangedNotificationSchemaInferredType = z.infer<typeof generated.McpUiHostContextChangedNotificationSchema>;
|
|
25
|
+
export type McpUiInitializeRequestSchemaInferredType = z.infer<typeof generated.McpUiInitializeRequestSchema>;
|
|
26
|
+
export type McpUiInitializeResultSchemaInferredType = z.infer<typeof generated.McpUiInitializeResultSchema>;
|