| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| |
|
| | |
| | export { |
| | LATEST_PROTOCOL_VERSION, |
| | OPEN_LINK_METHOD, |
| | MESSAGE_METHOD, |
| | SANDBOX_PROXY_READY_METHOD, |
| | SANDBOX_RESOURCE_READY_METHOD, |
| | SIZE_CHANGED_METHOD, |
| | TOOL_INPUT_METHOD, |
| | TOOL_INPUT_PARTIAL_METHOD, |
| | TOOL_RESULT_METHOD, |
| | TOOL_CANCELLED_METHOD, |
| | HOST_CONTEXT_CHANGED_METHOD, |
| | RESOURCE_TEARDOWN_METHOD, |
| | INITIALIZE_METHOD, |
| | INITIALIZED_METHOD, |
| | REQUEST_DISPLAY_MODE_METHOD, |
| | type McpUiTheme, |
| | type McpUiDisplayMode, |
| | type McpUiStyleVariableKey, |
| | type McpUiStyles, |
| | type McpUiHostCss, |
| | type McpUiHostStyles, |
| | type McpUiOpenLinkRequest, |
| | type McpUiOpenLinkResult, |
| | type McpUiMessageRequest, |
| | type McpUiMessageResult, |
| | type McpUiUpdateModelContextRequest, |
| | type McpUiSupportedContentBlockModalities, |
| | type McpUiSandboxProxyReadyNotification, |
| | type McpUiSandboxResourceReadyNotification, |
| | type McpUiSizeChangedNotification, |
| | type McpUiToolInputNotification, |
| | type McpUiToolInputPartialNotification, |
| | type McpUiToolResultNotification, |
| | type McpUiToolCancelledNotification, |
| | type McpUiHostContext, |
| | type McpUiHostContextChangedNotification, |
| | type McpUiResourceTeardownRequest, |
| | type McpUiResourceTeardownResult, |
| | type McpUiHostCapabilities, |
| | type McpUiAppCapabilities, |
| | type McpUiInitializeRequest, |
| | type McpUiInitializeResult, |
| | type McpUiInitializedNotification, |
| | type McpUiResourceCsp, |
| | type McpUiResourcePermissions, |
| | type McpUiResourceMeta, |
| | type McpUiRequestDisplayModeRequest, |
| | type McpUiRequestDisplayModeResult, |
| | type McpUiToolVisibility, |
| | type McpUiToolMeta, |
| | } from "./spec.types.js"; |
| |
|
| | |
| | import type { |
| | McpUiInitializeRequest, |
| | McpUiOpenLinkRequest, |
| | McpUiMessageRequest, |
| | McpUiUpdateModelContextRequest, |
| | McpUiResourceTeardownRequest, |
| | McpUiRequestDisplayModeRequest, |
| | McpUiHostContextChangedNotification, |
| | McpUiToolInputNotification, |
| | McpUiToolInputPartialNotification, |
| | McpUiToolResultNotification, |
| | McpUiToolCancelledNotification, |
| | McpUiSandboxResourceReadyNotification, |
| | McpUiInitializedNotification, |
| | McpUiSizeChangedNotification, |
| | McpUiSandboxProxyReadyNotification, |
| | McpUiInitializeResult, |
| | McpUiOpenLinkResult, |
| | McpUiMessageResult, |
| | McpUiResourceTeardownResult, |
| | McpUiRequestDisplayModeResult, |
| | } from "./spec.types.js"; |
| |
|
| | |
| | export { |
| | McpUiThemeSchema, |
| | McpUiDisplayModeSchema, |
| | McpUiHostCssSchema, |
| | McpUiHostStylesSchema, |
| | McpUiOpenLinkRequestSchema, |
| | McpUiOpenLinkResultSchema, |
| | McpUiMessageRequestSchema, |
| | McpUiMessageResultSchema, |
| | McpUiUpdateModelContextRequestSchema, |
| | McpUiSupportedContentBlockModalitiesSchema, |
| | McpUiSandboxProxyReadyNotificationSchema, |
| | McpUiSandboxResourceReadyNotificationSchema, |
| | McpUiSizeChangedNotificationSchema, |
| | McpUiToolInputNotificationSchema, |
| | McpUiToolInputPartialNotificationSchema, |
| | McpUiToolResultNotificationSchema, |
| | McpUiToolCancelledNotificationSchema, |
| | McpUiHostContextSchema, |
| | McpUiHostContextChangedNotificationSchema, |
| | McpUiResourceTeardownRequestSchema, |
| | McpUiResourceTeardownResultSchema, |
| | McpUiHostCapabilitiesSchema, |
| | McpUiAppCapabilitiesSchema, |
| | McpUiInitializeRequestSchema, |
| | McpUiInitializeResultSchema, |
| | McpUiInitializedNotificationSchema, |
| | McpUiResourceCspSchema, |
| | McpUiResourcePermissionsSchema, |
| | McpUiResourceMetaSchema, |
| | McpUiRequestDisplayModeRequestSchema, |
| | McpUiRequestDisplayModeResultSchema, |
| | McpUiToolVisibilitySchema, |
| | McpUiToolMetaSchema, |
| | } from "./generated/schema.js"; |
| |
|
| | |
| | import { |
| | CallToolRequest, |
| | CallToolResult, |
| | EmptyResult, |
| | ListPromptsRequest, |
| | ListPromptsResult, |
| | ListResourcesRequest, |
| | ListResourcesResult, |
| | ListResourceTemplatesRequest, |
| | ListResourceTemplatesResult, |
| | ListToolsRequest, |
| | ListToolsResult, |
| | LoggingMessageNotification, |
| | PingRequest, |
| | PromptListChangedNotification, |
| | ReadResourceRequest, |
| | ReadResourceResult, |
| | ResourceListChangedNotification, |
| | ToolListChangedNotification, |
| | } from "@modelcontextprotocol/sdk/types.js"; |
| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | export type AppRequest = |
| | | McpUiInitializeRequest |
| | | McpUiOpenLinkRequest |
| | | McpUiMessageRequest |
| | | McpUiUpdateModelContextRequest |
| | | McpUiResourceTeardownRequest |
| | | McpUiRequestDisplayModeRequest |
| | | CallToolRequest |
| | | ListToolsRequest |
| | | ListResourcesRequest |
| | | ListResourceTemplatesRequest |
| | | ReadResourceRequest |
| | | ListPromptsRequest |
| | | PingRequest; |
| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | export type AppNotification = |
| | |
| | | McpUiHostContextChangedNotification |
| | | McpUiToolInputNotification |
| | | McpUiToolInputPartialNotification |
| | | McpUiToolResultNotification |
| | | McpUiToolCancelledNotification |
| | | McpUiSandboxResourceReadyNotification |
| | | ToolListChangedNotification |
| | | ResourceListChangedNotification |
| | | PromptListChangedNotification |
| | |
| | | McpUiInitializedNotification |
| | | McpUiSizeChangedNotification |
| | | McpUiSandboxProxyReadyNotification |
| | | LoggingMessageNotification; |
| |
|
| | |
| | |
| | |
| | export type AppResult = |
| | | McpUiInitializeResult |
| | | McpUiOpenLinkResult |
| | | McpUiMessageResult |
| | | McpUiResourceTeardownResult |
| | | McpUiRequestDisplayModeResult |
| | | CallToolResult |
| | | ListToolsResult |
| | | ListResourcesResult |
| | | ListResourceTemplatesResult |
| | | ReadResourceResult |
| | | ListPromptsResult |
| | | EmptyResult; |
| |
|