@seed-ship/mcp-ui-solid 6.25.1 → 7.0.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/CHANGELOG.md +22 -0
- package/README.md +14 -0
- package/dist/adapters/connector.cjs +3 -3
- package/dist/adapters/connector.cjs.map +1 -1
- package/dist/adapters/connector.d.cts +108 -0
- package/dist/adapters/connector.d.ts +1 -2
- package/dist/adapters/connector.js +3 -3
- package/dist/adapters/connector.js.map +1 -1
- package/dist/adapters/index.d.cts +21 -0
- package/dist/adapters/index.d.ts +6 -7
- package/dist/adapters/macro-run.d.cts +99 -0
- package/dist/adapters/macro-run.d.ts +1 -2
- package/dist/adapters/presentation.d.cts +1 -2
- package/dist/adapters/presentation.d.ts +1 -2
- package/dist/adapters.d.cts +1 -1
- package/dist/adapters.d.ts +1 -1
- package/dist/components/ActionGroupRenderer.d.cts +38 -0
- package/dist/components/ActionGroupRenderer.d.ts +1 -2
- package/dist/components/ActionRenderer.d.cts +9 -0
- package/dist/components/ActionRenderer.d.ts +0 -1
- package/dist/components/AgentCard.d.cts +19 -0
- package/dist/components/AgentCard.d.ts +1 -2
- package/dist/components/AgentHandoff.d.cts +11 -0
- package/dist/components/AgentHandoff.d.ts +1 -2
- package/dist/components/ArtifactRenderer.d.cts +11 -0
- package/dist/components/ArtifactRenderer.d.ts +0 -1
- package/dist/components/AutocompleteDropdown.d.cts +70 -0
- package/dist/components/AutocompleteDropdown.d.ts +1 -2
- package/dist/components/AutocompleteFormField.d.cts +51 -0
- package/dist/components/AutocompleteFormField.d.ts +1 -2
- package/dist/components/BriefingDiff.d.cts +11 -0
- package/dist/components/BriefingDiff.d.ts +1 -2
- package/dist/components/CarouselRenderer.d.cts +12 -0
- package/dist/components/CarouselRenderer.d.ts +1 -2
- package/dist/components/ChartJSRenderer.d.cts +62 -0
- package/dist/components/ChartJSRenderer.d.ts +1 -2
- package/dist/components/ChatPrompt.d.cts +69 -0
- package/dist/components/ChatPrompt.d.ts +1 -2
- package/dist/components/CodeBlockRenderer.d.cts +23 -0
- package/dist/components/CodeBlockRenderer.d.ts +1 -2
- package/dist/components/ComponentToolbar.d.cts +46 -0
- package/dist/components/ComponentToolbar.d.ts +0 -1
- package/dist/components/DataPreviewSection.d.cts +11 -0
- package/dist/components/DataPreviewSection.d.ts +1 -2
- package/dist/components/DegradedFallback.d.cts +43 -0
- package/dist/components/DegradedFallback.d.ts +0 -1
- package/dist/components/DraggableGridItem.d.cts +94 -0
- package/dist/components/DraggableGridItem.d.ts +1 -2
- package/dist/components/EditableLayoutContext.d.cts +4 -0
- package/dist/components/EditableLayoutContext.d.ts +0 -1
- package/dist/components/EditableUIResourceRenderer.d.cts +42 -0
- package/dist/components/EditableUIResourceRenderer.d.ts +1 -2
- package/dist/components/ElicitationForm.d.cts +67 -0
- package/dist/components/ElicitationForm.d.ts +1 -2
- package/dist/components/ExpandableWrapper.d.cts +49 -0
- package/dist/components/ExpandableWrapper.d.ts +0 -1
- package/dist/components/FeedbackInline.d.cts +70 -0
- package/dist/components/FeedbackInline.d.ts +0 -1
- package/dist/components/FooterRenderer.d.cts +15 -0
- package/dist/components/FooterRenderer.d.ts +0 -1
- package/dist/components/FormFieldRenderer.d.cts +19 -0
- package/dist/components/FormFieldRenderer.d.ts +1 -2
- package/dist/components/FormRenderer.d.cts +14 -0
- package/dist/components/FormRenderer.d.ts +1 -2
- package/dist/components/GenerativeUIErrorBoundary.d.cts +58 -0
- package/dist/components/GenerativeUIErrorBoundary.d.ts +1 -2
- package/dist/components/GenerativeUIErrorBoundary.default.d.cts +1 -0
- package/dist/components/GenerativeUIErrorBoundary.default.d.ts +1 -2
- package/dist/components/GhostText.d.cts +112 -0
- package/dist/components/GhostText.d.ts +0 -1
- package/dist/components/GraphRenderer.d.cts +66 -0
- package/dist/components/GraphRenderer.d.ts +1 -2
- package/dist/components/GridRenderer.d.cts +49 -0
- package/dist/components/GridRenderer.d.ts +1 -2
- package/dist/components/IframeFallbackLink.d.cts +22 -0
- package/dist/components/IframeFallbackLink.d.ts +0 -1
- package/dist/components/ImageGalleryRenderer.d.cts +22 -0
- package/dist/components/ImageGalleryRenderer.d.ts +1 -2
- package/dist/components/LightboxOverlay.d.cts +31 -0
- package/dist/components/LightboxOverlay.d.ts +1 -2
- package/dist/components/MapRenderer.d.cts +77 -0
- package/dist/components/MapRenderer.d.ts +1 -2
- package/dist/components/MissingValue.d.cts +26 -0
- package/dist/components/MissingValue.d.ts +0 -1
- package/dist/components/ModalRenderer.d.cts +66 -0
- package/dist/components/ModalRenderer.d.ts +1 -2
- package/dist/components/PortalDropdownMenu.d.cts +55 -0
- package/dist/components/PortalDropdownMenu.d.ts +0 -1
- package/dist/components/PresentationFeedback.d.cts +112 -0
- package/dist/components/PresentationFeedback.d.ts +0 -1
- package/dist/components/RenderContext.d.cts +41 -0
- package/dist/components/RenderContext.d.ts +1 -2
- package/dist/components/ResizeHandle.d.cts +49 -0
- package/dist/components/ResizeHandle.d.ts +0 -1
- package/dist/components/SafeHtml.d.cts +45 -0
- package/dist/components/SafeHtml.d.ts +0 -1
- package/dist/components/ScratchpadPanel.d.cts +34 -0
- package/dist/components/ScratchpadPanel.d.ts +1 -2
- package/dist/components/SplitStepper.d.cts +11 -0
- package/dist/components/SplitStepper.d.ts +1 -2
- package/dist/components/StreamingUIRenderer.d.cts +58 -0
- package/dist/components/StreamingUIRenderer.d.ts +3 -4
- package/dist/components/UIResourceRenderer.d.cts +181 -0
- package/dist/components/UIResourceRenderer.d.ts +3 -4
- package/dist/components/UIResourceRenderer.default.d.cts +1 -0
- package/dist/components/UIResourceRenderer.default.d.ts +1 -2
- package/dist/components/VerifiedText.d.cts +22 -0
- package/dist/components/VerifiedText.d.ts +1 -2
- package/dist/components/VideoRenderer.d.cts +41 -0
- package/dist/components/VideoRenderer.d.ts +1 -2
- package/dist/components/chart-data-table.d.cts +68 -0
- package/dist/components/chart-data-table.d.ts +0 -1
- package/dist/components/chart-missing-plugin.d.cts +128 -0
- package/dist/components/chart-missing-plugin.d.ts +1 -2
- package/dist/components/index.d.cts +62 -0
- package/dist/components/index.d.ts +57 -58
- package/dist/components.d.cts +2 -2
- package/dist/components.d.ts +2 -2
- package/dist/context/AutocompleteContext.d.cts +76 -0
- package/dist/context/AutocompleteContext.d.ts +1 -2
- package/dist/context/MCPActionContext.d.cts +169 -0
- package/dist/context/MCPActionContext.d.ts +0 -1
- package/dist/context/MCPUIConfigContext.d.cts +201 -0
- package/dist/context/MCPUIConfigContext.d.ts +1 -2
- package/dist/context/MCPUIMathContext.d.cts +17 -0
- package/dist/context/MCPUIMathContext.d.ts +0 -1
- package/dist/context/MCPUIStringsContext.d.cts +802 -0
- package/dist/context/MCPUIStringsContext.d.ts +1 -2
- package/dist/context/MCPUITelemetryContext.d.cts +35 -0
- package/dist/context/MCPUITelemetryContext.d.ts +1 -2
- package/dist/context/index.d.cts +7 -0
- package/dist/context/index.d.ts +2 -3
- package/dist/hooks/createResponsiveGrid.d.cts +5 -0
- package/dist/hooks/createResponsiveGrid.d.ts +0 -1
- package/dist/hooks/index.d.cts +25 -0
- package/dist/hooks/index.d.ts +20 -21
- package/dist/hooks/useAction.d.cts +164 -0
- package/dist/hooks/useAction.d.ts +2 -3
- package/dist/hooks/useAutocomplete.d.cts +118 -0
- package/dist/hooks/useAutocomplete.d.ts +1 -2
- package/dist/hooks/useChatBus.d.cts +55 -0
- package/dist/hooks/useChatBus.d.ts +1 -2
- package/dist/hooks/useConditionalField.d.cts +34 -0
- package/dist/hooks/useConditionalField.d.ts +1 -2
- package/dist/hooks/useDataValidator.d.cts +41 -0
- package/dist/hooks/useDataValidator.d.ts +1 -2
- package/dist/hooks/useDragDrop.d.cts +99 -0
- package/dist/hooks/useDragDrop.d.ts +1 -2
- package/dist/hooks/useFormPersistence.d.cts +80 -0
- package/dist/hooks/useFormPersistence.d.ts +0 -1
- package/dist/hooks/useModal.d.cts +106 -0
- package/dist/hooks/useModal.d.ts +0 -1
- package/dist/hooks/useResize.d.cts +86 -0
- package/dist/hooks/useResize.d.ts +1 -2
- package/dist/hooks/useStreamingUI.d.cts +117 -0
- package/dist/hooks/useStreamingUI.d.ts +1 -2
- package/dist/hooks.d.cts +1 -1
- package/dist/hooks.d.ts +1 -1
- package/dist/index.d.cts +91 -92
- package/dist/index.d.ts +91 -92
- package/dist/plugins/duckdb.d.cts +1 -2
- package/dist/plugins/duckdb.d.ts +1 -2
- package/dist/plugins/groq.d.cts +12 -0
- package/dist/plugins/groq.d.ts +1 -2
- package/dist/plugins/index.d.cts +9 -0
- package/dist/plugins/index.d.ts +3 -4
- package/dist/plugins/katex.d.cts +1 -2
- package/dist/plugins/katex.d.ts +1 -2
- package/dist/plugins/rest.d.cts +12 -0
- package/dist/plugins/rest.d.ts +1 -2
- package/dist/plugins/supabase.d.cts +12 -0
- package/dist/plugins/supabase.d.ts +1 -2
- package/dist/services/chat-bus.d.cts +100 -0
- package/dist/services/chat-bus.d.ts +1 -2
- package/dist/services/chat-prompt-controller.d.cts +92 -0
- package/dist/services/chat-prompt-controller.d.ts +1 -2
- package/dist/services/component-registry.d.cts +119 -0
- package/dist/services/component-registry.d.ts +1 -2
- package/dist/services/data-validator.d.cts +27 -0
- package/dist/services/data-validator.d.ts +1 -2
- package/dist/services/index.d.cts +9 -0
- package/dist/services/index.d.ts +4 -5
- package/dist/services/telemetry.d.cts +86 -0
- package/dist/services/telemetry.d.ts +1 -2
- package/dist/services/validation.d.cts +169 -0
- package/dist/services/validation.d.ts +1 -2
- package/dist/stores/scratchpad-store.d.cts +109 -0
- package/dist/stores/scratchpad-store.d.ts +1 -2
- package/dist/stores/server-capabilities-store.d.cts +171 -0
- package/dist/stores/server-capabilities-store.d.ts +0 -1
- package/dist/test-setup.d.cts +5 -0
- package/dist/test-setup.d.ts +0 -1
- package/dist/testing/index.d.cts +34 -0
- package/dist/testing/index.d.ts +1 -2
- package/dist/types/chat-bus.d.cts +783 -0
- package/dist/types/chat-bus.d.ts +4 -5
- package/dist/types/index.d.cts +1616 -0
- package/dist/types/index.d.ts +0 -1
- package/dist/types-export.d.cts +1 -2
- package/dist/types-export.d.ts +1 -2
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utils/degraded-projections.d.cts +119 -0
- package/dist/utils/degraded-projections.d.ts +0 -1
- package/dist/utils/duplicate-mount-registry.d.cts +83 -0
- package/dist/utils/duplicate-mount-registry.d.ts +0 -1
- package/dist/utils/escape-html.d.cts +12 -0
- package/dist/utils/escape-html.d.ts +0 -1
- package/dist/utils/format-string.d.cts +25 -0
- package/dist/utils/format-string.d.ts +0 -1
- package/dist/utils/iframe-coep.d.cts +53 -0
- package/dist/utils/iframe-coep.d.ts +1 -2
- package/dist/utils/logger.d.cts +57 -0
- package/dist/utils/logger.d.ts +0 -1
- package/dist/utils/math-markdown.d.cts +15 -0
- package/dist/utils/math-markdown.d.ts +1 -2
- package/dist/utils/missing-value.d.cts +78 -0
- package/dist/utils/missing-value.d.ts +0 -1
- package/dist/utils/pan-zoom.d.cts +234 -0
- package/dist/utils/pan-zoom.d.ts +0 -1
- package/dist/utils/perf.d.cts +18 -0
- package/dist/utils/perf.d.ts +0 -1
- package/dist/utils/safe-url.d.cts +33 -0
- package/dist/utils/safe-url.d.ts +0 -1
- package/dist/utils/sanitize-html.d.cts +142 -0
- package/dist/utils/sanitize-html.d.ts +0 -1
- package/dist/utils/stable-key.d.cts +32 -0
- package/dist/utils/stable-key.d.ts +0 -1
- package/dist/utils/theme.d.cts +10 -0
- package/dist/utils/theme.d.ts +0 -1
- package/dist/validation.d.cts +3 -4
- package/dist/validation.d.ts +3 -4
- package/docs/SECURITY-DEPENDENCIES.md +129 -1
- package/docs/ZOD4-STABLE-MIGRATION-2026-10-26.md +181 -0
- package/package.json +8 -7
- package/src/adapters/connector.ts +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -27,96 +27,95 @@
|
|
|
27
27
|
* }
|
|
28
28
|
* ```
|
|
29
29
|
*/
|
|
30
|
-
export { UIResourceRenderer, StreamingUIRenderer, GenerativeUIErrorBoundary } from
|
|
31
|
-
export { DraggableGridItem } from
|
|
32
|
-
export { ResizeHandle } from
|
|
33
|
-
export { EditableUIResourceRenderer } from
|
|
34
|
-
export { ExpandableWrapper, useExpanded } from
|
|
35
|
-
export { ComponentToolbar } from
|
|
36
|
-
export { FeedbackInline } from
|
|
37
|
-
export type { FeedbackInlineProps, FeedbackInlineContext } from
|
|
38
|
-
export { PresentationFeedback, DEFAULT_PRESENTATION_FEEDBACK_LABELS, } from
|
|
39
|
-
export type { PresentationFeedbackProps, PresentationFeedbackLabels, } from
|
|
30
|
+
export { UIResourceRenderer, StreamingUIRenderer, GenerativeUIErrorBoundary } from "./components.cjs";
|
|
31
|
+
export { DraggableGridItem } from "./components/DraggableGridItem.cjs";
|
|
32
|
+
export { ResizeHandle } from "./components/ResizeHandle.cjs";
|
|
33
|
+
export { EditableUIResourceRenderer } from "./components/EditableUIResourceRenderer.cjs";
|
|
34
|
+
export { ExpandableWrapper, useExpanded } from "./components/ExpandableWrapper.cjs";
|
|
35
|
+
export { ComponentToolbar } from "./components/ComponentToolbar.cjs";
|
|
36
|
+
export { FeedbackInline } from "./components/FeedbackInline.cjs";
|
|
37
|
+
export type { FeedbackInlineProps, FeedbackInlineContext } from "./components/FeedbackInline.cjs";
|
|
38
|
+
export { PresentationFeedback, DEFAULT_PRESENTATION_FEEDBACK_LABELS, } from "./components/PresentationFeedback.cjs";
|
|
39
|
+
export type { PresentationFeedbackProps, PresentationFeedbackLabels, } from "./components/PresentationFeedback.cjs";
|
|
40
40
|
export type { ConnectorRenderFeedback, ConnectorRenderProblem, ConnectorPreferredLayout, } from '@seed-ship/mcp-ui-spec';
|
|
41
|
-
export { ChatBusProvider, useChatBus } from
|
|
42
|
-
export { ChatPrompt } from
|
|
43
|
-
export { ElicitationForm } from
|
|
44
|
-
export { PortalDropdownMenu } from
|
|
45
|
-
export { ScratchpadPanel } from
|
|
46
|
-
export { dispatchScratchpad, useScratchpadState, createScratchpadStore, ScratchpadStoreContext, ScratchpadStoreProvider, } from
|
|
47
|
-
export type { ScratchpadStoreHandle } from
|
|
48
|
-
export { setServerCapabilities, useServerCapabilities, createServerCapabilitiesStore, ServerCapabilitiesContext, ServerCapabilitiesProvider, } from
|
|
49
|
-
export type { ServerCapabilities, ServerInitializeInfo, ServerCapabilitiesStoreHandle, } from
|
|
50
|
-
export { VerifiedText } from
|
|
51
|
-
export { DataPreviewSection } from
|
|
52
|
-
export { AgentCard, AgentStatusBadge } from
|
|
53
|
-
export { SplitStepper } from
|
|
54
|
-
export { AgentHandoff } from
|
|
55
|
-
export { BriefingDiff } from
|
|
56
|
-
export { GhostText, GhostTextInput } from
|
|
57
|
-
export { AutocompleteDropdown } from
|
|
58
|
-
export { AutocompleteFormField } from
|
|
59
|
-
export type { UIResourceRendererProps, StreamingUIRendererProps, GenerativeUIErrorBoundaryProps, } from
|
|
60
|
-
export type { ValidationErrorMode } from
|
|
61
|
-
export { renderCellValue } from
|
|
62
|
-
export type { CitationCtx } from
|
|
63
|
-
export type { CitationEntry } from
|
|
64
|
-
export { GraphRenderer, isG6Available, graphToMermaid, graphToJSON } from
|
|
65
|
-
export { setDebugMode, isDebugEnabled } from
|
|
66
|
-
export { markRenderStart, markRenderEnd, PERF_PREFIX } from
|
|
67
|
-
export { getUiResourceStableKey } from
|
|
68
|
-
export { setDuplicateMountReporter } from
|
|
69
|
-
export type { DuplicateMountInfo, DuplicateMountReporter, } from
|
|
70
|
-
export { createPanZoom, clampScale, contentPointAt, viewportPointOf, zoomAtAnchor, } from
|
|
71
|
-
export type { PanZoomOptions, PanZoomController, PanZoomState, PanZoomPoint, PanZoomCursor, } from
|
|
72
|
-
export { MCPUIStringsProvider, MCPUIStringsContext, useMCPUIStrings, DEFAULT_MCPUI_STRINGS, formatMCPUIString, resolveMCPUILocale, } from
|
|
73
|
-
export type { MCPUIStrings, MCPUIStringsProviderProps, } from
|
|
74
|
-
export { MCPUIConfigProvider, MCPUIConfigContext, useMCPUIConfig, DEFAULT_MCPUI_CONFIG, } from
|
|
75
|
-
export type { MCPUIConfig, MCPUIConfigInput, MCPUIConfigProviderProps, } from
|
|
76
|
-
export { MCPUITelemetryProvider, MCPUITelemetryContext, useTelemetry, } from
|
|
77
|
-
export type { MCPUITelemetryProviderProps } from
|
|
78
|
-
export { createTelemetryDispatcher } from
|
|
79
|
-
export type { TelemetryEvent, TelemetrySink, TelemetryOptions, TelemetryDispatcher, } from
|
|
80
|
-
export type { DraggableGridItemProps } from
|
|
81
|
-
export type { ResizeHandleProps as ResizeHandleComponentProps } from
|
|
82
|
-
export type { EditableUIResourceRendererProps } from
|
|
83
|
-
export type { ExpandableWrapperProps } from
|
|
84
|
-
export type { ComponentToolbarProps, ToolbarAction, ToolbarIcon } from
|
|
85
|
-
export type { ChatPromptProps } from
|
|
86
|
-
export type { ElicitationFormProps } from
|
|
87
|
-
export type { PortalDropdownMenuProps } from
|
|
88
|
-
export type { ScratchpadPanelProps } from
|
|
89
|
-
export type { VerifiedTextProps } from
|
|
90
|
-
export type { DataPreviewSectionProps } from
|
|
91
|
-
export type { AgentCardProps, AgentStatusBadgeProps } from
|
|
92
|
-
export type { SplitStepperProps } from
|
|
93
|
-
export type { AgentHandoffProps } from
|
|
94
|
-
export type { BriefingDiffProps } from
|
|
95
|
-
export type { GhostTextProps, GhostTextInputProps } from
|
|
96
|
-
export type { AutocompleteDropdownProps } from
|
|
97
|
-
export type { AutocompleteFormFieldProps, AutocompleteFormFieldParams } from
|
|
98
|
-
export { useStreamingUI, DEFAULT_STREAMING_UI_MESSAGES, useAction, useToolAction, useConditionalField, evaluateCondition, useModal, useConfirmModal, useFormPersistence, useDragDrop, useResize, useAutocomplete, useDataValidator, } from
|
|
99
|
-
export type { UseStreamingUIOptions, StreamingUIMessages, StreamingUIState, StreamProgress, StreamError, CompleteMetadata, UseActionReturn, UseActionOptions, UseToolActionReturn, UseConditionalFieldOptions, UseModalReturn, UseConfirmModalReturn, UseFormPersistenceOptions, UseFormPersistenceReturn, UseDragDropOptions, UseDragDropReturn, DragProps, UseResizeOptions, UseResizeReturn, ResizeEdge, UseAutocompleteOptions, UseAutocompleteReturn, UseDataValidatorOptions, UseDataValidatorReturn, } from
|
|
100
|
-
export { MCPActionProvider, MCPActionContext, useMCPAction, useMCPActionSafe } from
|
|
101
|
-
export { AutocompleteProvider, useAutocompleteContext, useAutocompleteContextSafe, } from
|
|
102
|
-
export type { MCPActionContextValue, MCPActionProviderProps, ActionRequest, ActionResult, } from
|
|
103
|
-
export type { AutocompleteContextValue, AutocompleteProviderProps, } from
|
|
104
|
-
export { createGroqPlugin, createSupabasePlugin, createRestPlugin, } from
|
|
105
|
-
export type { UIComponent, UILayout, GridPosition, ComponentType, RendererError, ChartComponentParams, TableComponentParams, MetricComponentParams, TextComponentParams, ActionComponentParams, GridComponentParams, FormFieldOption, FormFieldType, FormFieldParams, FormComponentParams, ShowWhenOperator, ShowWhenCondition, ActionRequestBase, ActionResultBase, ActionLifecycleCallbacks, ModalSize, ModalComponentParams, ActionGroupLayout, ActionGroupGap, ActionGroupParams, GalleryImage, ImageGalleryParams, VideoComponentParams, CodeComponentParams, LatLngPoint, MapMarker, MapComponentParams, MapPopupConfig, MapGeoJSONStyle, MapLayer, MapPMTilesConfig, IframePolicy, ValidationOptions, ResizeConstraints, DragDropConfig, DragEventData, DraggableGridItemProps as DraggableGridItemPropsType, AutocompleteResultType, AutocompleteOption, AutocompleteResult, AutocompleteContext, AutocompletePlugin, GroqPluginConfig, SupabasePluginConfig, DuckDBPluginConfig, RestPluginConfig, FieldAutocompleteConfig, AutocompleteProviderConfig, } from
|
|
106
|
-
export { validateComponent, validateLayout, validateIframeDomain, getIframeSandbox, isTrustedIframeDomain, DEFAULT_RESOURCE_LIMITS, DEFAULT_IFRAME_DOMAINS, TRUSTED_IFRAME_DOMAINS, ComponentRegistry, createEventEmitter, createCommandHandler, createChatBus, mergeScratchpadSections, validateAgainstSource, } from
|
|
107
|
-
export { validateFieldValue, validateFormData, DEFAULT_VALIDATION_MESSAGES, } from
|
|
108
|
-
export type { FormValidationMessages } from
|
|
109
|
-
export { graphToDegradedTable, mapToDegradedTable, chartToDegradedTable, DEGRADED_PROJECTION_LABELS, } from
|
|
110
|
-
export type { DegradedProjectionLabels } from
|
|
111
|
-
export { MCPUIMathProvider } from
|
|
112
|
-
export type { MathRenderer, MathRenderOptions, MCPUIMathProviderProps } from
|
|
113
|
-
export { chartToDataTable, CHART_DATA_TABLE_LABELS } from
|
|
114
|
-
export type { ChartDataTableLabels } from
|
|
115
|
-
export { clarificationToPromptConfig } from
|
|
116
|
-
export { elicitationToPromptConfig } from
|
|
117
|
-
export { createChatPromptController, PromptReplacedError, } from
|
|
118
|
-
export type { ChatPromptController } from
|
|
119
|
-
export { createMockChatBus } from
|
|
120
|
-
export type { MockChatBusOptions } from
|
|
121
|
-
export type { ChatEventBase, ChatEvents, ChatCommands, ChatBus, ChatEventEmitter, ChatCommandHandler, EventSubscribeOptions, ChatPromptConfig, ChatPromptResponse, ChoicePromptConfig, ChoiceOption, ConfirmPromptConfig, FormPromptConfig, SuggestionItem, AgentContext, BriefingEvent, BriefingSection, ScratchpadState, ScratchpadSection, ScratchpadEvent, StreamDoneMetadata, ChatError, Citation, ToolCallEvent, ClarificationEvent, ElicitationEvent, ElicitationRequestedSchema, ElicitationPropertySchema, DataValidation, LLMNumber, HallucinatedNumber, DataValidationOptions, VerifiedTextContent, DataPreviewColumn, DataPreviewContent, MapSectionContent, AgentCardContent, SplitStepperContent, AgentHandoffContent, BriefingDiffContent, } from
|
|
122
|
-
//# sourceMappingURL=index.d.ts.map
|
|
41
|
+
export { ChatBusProvider, useChatBus } from "./hooks/useChatBus.cjs";
|
|
42
|
+
export { ChatPrompt } from "./components/ChatPrompt.cjs";
|
|
43
|
+
export { ElicitationForm } from "./components/ElicitationForm.cjs";
|
|
44
|
+
export { PortalDropdownMenu } from "./components/PortalDropdownMenu.cjs";
|
|
45
|
+
export { ScratchpadPanel } from "./components/ScratchpadPanel.cjs";
|
|
46
|
+
export { dispatchScratchpad, useScratchpadState, createScratchpadStore, ScratchpadStoreContext, ScratchpadStoreProvider, } from "./stores/scratchpad-store.cjs";
|
|
47
|
+
export type { ScratchpadStoreHandle } from "./stores/scratchpad-store.cjs";
|
|
48
|
+
export { setServerCapabilities, useServerCapabilities, createServerCapabilitiesStore, ServerCapabilitiesContext, ServerCapabilitiesProvider, } from "./stores/server-capabilities-store.cjs";
|
|
49
|
+
export type { ServerCapabilities, ServerInitializeInfo, ServerCapabilitiesStoreHandle, } from "./stores/server-capabilities-store.cjs";
|
|
50
|
+
export { VerifiedText } from "./components/VerifiedText.cjs";
|
|
51
|
+
export { DataPreviewSection } from "./components/DataPreviewSection.cjs";
|
|
52
|
+
export { AgentCard, AgentStatusBadge } from "./components/AgentCard.cjs";
|
|
53
|
+
export { SplitStepper } from "./components/SplitStepper.cjs";
|
|
54
|
+
export { AgentHandoff } from "./components/AgentHandoff.cjs";
|
|
55
|
+
export { BriefingDiff } from "./components/BriefingDiff.cjs";
|
|
56
|
+
export { GhostText, GhostTextInput } from "./components/GhostText.cjs";
|
|
57
|
+
export { AutocompleteDropdown } from "./components/AutocompleteDropdown.cjs";
|
|
58
|
+
export { AutocompleteFormField } from "./components/AutocompleteFormField.cjs";
|
|
59
|
+
export type { UIResourceRendererProps, StreamingUIRendererProps, GenerativeUIErrorBoundaryProps, } from "./components.cjs";
|
|
60
|
+
export type { ValidationErrorMode } from "./components/UIResourceRenderer.cjs";
|
|
61
|
+
export { renderCellValue } from "./components/UIResourceRenderer.cjs";
|
|
62
|
+
export type { CitationCtx } from "./components/UIResourceRenderer.cjs";
|
|
63
|
+
export type { CitationEntry } from "./types.cjs";
|
|
64
|
+
export { GraphRenderer, isG6Available, graphToMermaid, graphToJSON } from "./components/GraphRenderer.cjs";
|
|
65
|
+
export { setDebugMode, isDebugEnabled } from "./utils/logger.cjs";
|
|
66
|
+
export { markRenderStart, markRenderEnd, PERF_PREFIX } from "./utils/perf.cjs";
|
|
67
|
+
export { getUiResourceStableKey } from "./utils/stable-key.cjs";
|
|
68
|
+
export { setDuplicateMountReporter } from "./utils/duplicate-mount-registry.cjs";
|
|
69
|
+
export type { DuplicateMountInfo, DuplicateMountReporter, } from "./utils/duplicate-mount-registry.cjs";
|
|
70
|
+
export { createPanZoom, clampScale, contentPointAt, viewportPointOf, zoomAtAnchor, } from "./utils/pan-zoom.cjs";
|
|
71
|
+
export type { PanZoomOptions, PanZoomController, PanZoomState, PanZoomPoint, PanZoomCursor, } from "./utils/pan-zoom.cjs";
|
|
72
|
+
export { MCPUIStringsProvider, MCPUIStringsContext, useMCPUIStrings, DEFAULT_MCPUI_STRINGS, formatMCPUIString, resolveMCPUILocale, } from "./context/MCPUIStringsContext.cjs";
|
|
73
|
+
export type { MCPUIStrings, MCPUIStringsProviderProps, } from "./context/MCPUIStringsContext.cjs";
|
|
74
|
+
export { MCPUIConfigProvider, MCPUIConfigContext, useMCPUIConfig, DEFAULT_MCPUI_CONFIG, } from "./context/MCPUIConfigContext.cjs";
|
|
75
|
+
export type { MCPUIConfig, MCPUIConfigInput, MCPUIConfigProviderProps, } from "./context/MCPUIConfigContext.cjs";
|
|
76
|
+
export { MCPUITelemetryProvider, MCPUITelemetryContext, useTelemetry, } from "./context/MCPUITelemetryContext.cjs";
|
|
77
|
+
export type { MCPUITelemetryProviderProps } from "./context/MCPUITelemetryContext.cjs";
|
|
78
|
+
export { createTelemetryDispatcher } from "./services/telemetry.cjs";
|
|
79
|
+
export type { TelemetryEvent, TelemetrySink, TelemetryOptions, TelemetryDispatcher, } from "./services/telemetry.cjs";
|
|
80
|
+
export type { DraggableGridItemProps } from "./components/DraggableGridItem.cjs";
|
|
81
|
+
export type { ResizeHandleProps as ResizeHandleComponentProps } from "./components/ResizeHandle.cjs";
|
|
82
|
+
export type { EditableUIResourceRendererProps } from "./components/EditableUIResourceRenderer.cjs";
|
|
83
|
+
export type { ExpandableWrapperProps } from "./components/ExpandableWrapper.cjs";
|
|
84
|
+
export type { ComponentToolbarProps, ToolbarAction, ToolbarIcon } from "./components/ComponentToolbar.cjs";
|
|
85
|
+
export type { ChatPromptProps } from "./components/ChatPrompt.cjs";
|
|
86
|
+
export type { ElicitationFormProps } from "./components/ElicitationForm.cjs";
|
|
87
|
+
export type { PortalDropdownMenuProps } from "./components/PortalDropdownMenu.cjs";
|
|
88
|
+
export type { ScratchpadPanelProps } from "./components/ScratchpadPanel.cjs";
|
|
89
|
+
export type { VerifiedTextProps } from "./components/VerifiedText.cjs";
|
|
90
|
+
export type { DataPreviewSectionProps } from "./components/DataPreviewSection.cjs";
|
|
91
|
+
export type { AgentCardProps, AgentStatusBadgeProps } from "./components/AgentCard.cjs";
|
|
92
|
+
export type { SplitStepperProps } from "./components/SplitStepper.cjs";
|
|
93
|
+
export type { AgentHandoffProps } from "./components/AgentHandoff.cjs";
|
|
94
|
+
export type { BriefingDiffProps } from "./components/BriefingDiff.cjs";
|
|
95
|
+
export type { GhostTextProps, GhostTextInputProps } from "./components/GhostText.cjs";
|
|
96
|
+
export type { AutocompleteDropdownProps } from "./components/AutocompleteDropdown.cjs";
|
|
97
|
+
export type { AutocompleteFormFieldProps, AutocompleteFormFieldParams } from "./components/AutocompleteFormField.cjs";
|
|
98
|
+
export { useStreamingUI, DEFAULT_STREAMING_UI_MESSAGES, useAction, useToolAction, useConditionalField, evaluateCondition, useModal, useConfirmModal, useFormPersistence, useDragDrop, useResize, useAutocomplete, useDataValidator, } from "./hooks.cjs";
|
|
99
|
+
export type { UseStreamingUIOptions, StreamingUIMessages, StreamingUIState, StreamProgress, StreamError, CompleteMetadata, UseActionReturn, UseActionOptions, UseToolActionReturn, UseConditionalFieldOptions, UseModalReturn, UseConfirmModalReturn, UseFormPersistenceOptions, UseFormPersistenceReturn, UseDragDropOptions, UseDragDropReturn, DragProps, UseResizeOptions, UseResizeReturn, ResizeEdge, UseAutocompleteOptions, UseAutocompleteReturn, UseDataValidatorOptions, UseDataValidatorReturn, } from "./hooks.cjs";
|
|
100
|
+
export { MCPActionProvider, MCPActionContext, useMCPAction, useMCPActionSafe } from "./context/index.cjs";
|
|
101
|
+
export { AutocompleteProvider, useAutocompleteContext, useAutocompleteContextSafe, } from "./context/AutocompleteContext.cjs";
|
|
102
|
+
export type { MCPActionContextValue, MCPActionProviderProps, ActionRequest, ActionResult, } from "./context/index.cjs";
|
|
103
|
+
export type { AutocompleteContextValue, AutocompleteProviderProps, } from "./context/AutocompleteContext.cjs";
|
|
104
|
+
export { createGroqPlugin, createSupabasePlugin, createRestPlugin, } from "./plugins/index.cjs";
|
|
105
|
+
export type { UIComponent, UILayout, GridPosition, ComponentType, RendererError, ChartComponentParams, TableComponentParams, MetricComponentParams, TextComponentParams, ActionComponentParams, GridComponentParams, FormFieldOption, FormFieldType, FormFieldParams, FormComponentParams, ShowWhenOperator, ShowWhenCondition, ActionRequestBase, ActionResultBase, ActionLifecycleCallbacks, ModalSize, ModalComponentParams, ActionGroupLayout, ActionGroupGap, ActionGroupParams, GalleryImage, ImageGalleryParams, VideoComponentParams, CodeComponentParams, LatLngPoint, MapMarker, MapComponentParams, MapPopupConfig, MapGeoJSONStyle, MapLayer, MapPMTilesConfig, IframePolicy, ValidationOptions, ResizeConstraints, DragDropConfig, DragEventData, DraggableGridItemProps as DraggableGridItemPropsType, AutocompleteResultType, AutocompleteOption, AutocompleteResult, AutocompleteContext, AutocompletePlugin, GroqPluginConfig, SupabasePluginConfig, DuckDBPluginConfig, RestPluginConfig, FieldAutocompleteConfig, AutocompleteProviderConfig, } from "./types.cjs";
|
|
106
|
+
export { validateComponent, validateLayout, validateIframeDomain, getIframeSandbox, isTrustedIframeDomain, DEFAULT_RESOURCE_LIMITS, DEFAULT_IFRAME_DOMAINS, TRUSTED_IFRAME_DOMAINS, ComponentRegistry, createEventEmitter, createCommandHandler, createChatBus, mergeScratchpadSections, validateAgainstSource, } from "./services/index.cjs";
|
|
107
|
+
export { validateFieldValue, validateFormData, DEFAULT_VALIDATION_MESSAGES, } from "./services/validation.cjs";
|
|
108
|
+
export type { FormValidationMessages } from "./services/validation.cjs";
|
|
109
|
+
export { graphToDegradedTable, mapToDegradedTable, chartToDegradedTable, DEGRADED_PROJECTION_LABELS, } from "./utils/degraded-projections.cjs";
|
|
110
|
+
export type { DegradedProjectionLabels } from "./utils/degraded-projections.cjs";
|
|
111
|
+
export { MCPUIMathProvider } from "./context/MCPUIMathContext.cjs";
|
|
112
|
+
export type { MathRenderer, MathRenderOptions, MCPUIMathProviderProps } from "./context/MCPUIMathContext.cjs";
|
|
113
|
+
export { chartToDataTable, CHART_DATA_TABLE_LABELS } from "./components/chart-data-table.cjs";
|
|
114
|
+
export type { ChartDataTableLabels } from "./components/chart-data-table.cjs";
|
|
115
|
+
export { clarificationToPromptConfig } from "./services/chat-bus.cjs";
|
|
116
|
+
export { elicitationToPromptConfig } from "./services/chat-bus.cjs";
|
|
117
|
+
export { createChatPromptController, PromptReplacedError, } from "./services/chat-prompt-controller.cjs";
|
|
118
|
+
export type { ChatPromptController } from "./services/chat-prompt-controller.cjs";
|
|
119
|
+
export { createMockChatBus } from "./testing/index.cjs";
|
|
120
|
+
export type { MockChatBusOptions } from "./testing/index.cjs";
|
|
121
|
+
export type { ChatEventBase, ChatEvents, ChatCommands, ChatBus, ChatEventEmitter, ChatCommandHandler, EventSubscribeOptions, ChatPromptConfig, ChatPromptResponse, ChoicePromptConfig, ChoiceOption, ConfirmPromptConfig, FormPromptConfig, SuggestionItem, AgentContext, BriefingEvent, BriefingSection, ScratchpadState, ScratchpadSection, ScratchpadEvent, StreamDoneMetadata, ChatError, Citation, ToolCallEvent, ClarificationEvent, ElicitationEvent, ElicitationRequestedSchema, ElicitationPropertySchema, DataValidation, LLMNumber, HallucinatedNumber, DataValidationOptions, VerifiedTextContent, DataPreviewColumn, DataPreviewContent, MapSectionContent, AgentCardContent, SplitStepperContent, AgentHandoffContent, BriefingDiffContent, } from "./types/chat-bus.cjs";
|
package/dist/index.d.ts
CHANGED
|
@@ -27,96 +27,95 @@
|
|
|
27
27
|
* }
|
|
28
28
|
* ```
|
|
29
29
|
*/
|
|
30
|
-
export { UIResourceRenderer, StreamingUIRenderer, GenerativeUIErrorBoundary } from
|
|
31
|
-
export { DraggableGridItem } from
|
|
32
|
-
export { ResizeHandle } from
|
|
33
|
-
export { EditableUIResourceRenderer } from
|
|
34
|
-
export { ExpandableWrapper, useExpanded } from
|
|
35
|
-
export { ComponentToolbar } from
|
|
36
|
-
export { FeedbackInline } from
|
|
37
|
-
export type { FeedbackInlineProps, FeedbackInlineContext } from
|
|
38
|
-
export { PresentationFeedback, DEFAULT_PRESENTATION_FEEDBACK_LABELS, } from
|
|
39
|
-
export type { PresentationFeedbackProps, PresentationFeedbackLabels, } from
|
|
30
|
+
export { UIResourceRenderer, StreamingUIRenderer, GenerativeUIErrorBoundary } from "./components.js";
|
|
31
|
+
export { DraggableGridItem } from "./components/DraggableGridItem.js";
|
|
32
|
+
export { ResizeHandle } from "./components/ResizeHandle.js";
|
|
33
|
+
export { EditableUIResourceRenderer } from "./components/EditableUIResourceRenderer.js";
|
|
34
|
+
export { ExpandableWrapper, useExpanded } from "./components/ExpandableWrapper.js";
|
|
35
|
+
export { ComponentToolbar } from "./components/ComponentToolbar.js";
|
|
36
|
+
export { FeedbackInline } from "./components/FeedbackInline.js";
|
|
37
|
+
export type { FeedbackInlineProps, FeedbackInlineContext } from "./components/FeedbackInline.js";
|
|
38
|
+
export { PresentationFeedback, DEFAULT_PRESENTATION_FEEDBACK_LABELS, } from "./components/PresentationFeedback.js";
|
|
39
|
+
export type { PresentationFeedbackProps, PresentationFeedbackLabels, } from "./components/PresentationFeedback.js";
|
|
40
40
|
export type { ConnectorRenderFeedback, ConnectorRenderProblem, ConnectorPreferredLayout, } from '@seed-ship/mcp-ui-spec';
|
|
41
|
-
export { ChatBusProvider, useChatBus } from
|
|
42
|
-
export { ChatPrompt } from
|
|
43
|
-
export { ElicitationForm } from
|
|
44
|
-
export { PortalDropdownMenu } from
|
|
45
|
-
export { ScratchpadPanel } from
|
|
46
|
-
export { dispatchScratchpad, useScratchpadState, createScratchpadStore, ScratchpadStoreContext, ScratchpadStoreProvider, } from
|
|
47
|
-
export type { ScratchpadStoreHandle } from
|
|
48
|
-
export { setServerCapabilities, useServerCapabilities, createServerCapabilitiesStore, ServerCapabilitiesContext, ServerCapabilitiesProvider, } from
|
|
49
|
-
export type { ServerCapabilities, ServerInitializeInfo, ServerCapabilitiesStoreHandle, } from
|
|
50
|
-
export { VerifiedText } from
|
|
51
|
-
export { DataPreviewSection } from
|
|
52
|
-
export { AgentCard, AgentStatusBadge } from
|
|
53
|
-
export { SplitStepper } from
|
|
54
|
-
export { AgentHandoff } from
|
|
55
|
-
export { BriefingDiff } from
|
|
56
|
-
export { GhostText, GhostTextInput } from
|
|
57
|
-
export { AutocompleteDropdown } from
|
|
58
|
-
export { AutocompleteFormField } from
|
|
59
|
-
export type { UIResourceRendererProps, StreamingUIRendererProps, GenerativeUIErrorBoundaryProps, } from
|
|
60
|
-
export type { ValidationErrorMode } from
|
|
61
|
-
export { renderCellValue } from
|
|
62
|
-
export type { CitationCtx } from
|
|
63
|
-
export type { CitationEntry } from
|
|
64
|
-
export { GraphRenderer, isG6Available, graphToMermaid, graphToJSON } from
|
|
65
|
-
export { setDebugMode, isDebugEnabled } from
|
|
66
|
-
export { markRenderStart, markRenderEnd, PERF_PREFIX } from
|
|
67
|
-
export { getUiResourceStableKey } from
|
|
68
|
-
export { setDuplicateMountReporter } from
|
|
69
|
-
export type { DuplicateMountInfo, DuplicateMountReporter, } from
|
|
70
|
-
export { createPanZoom, clampScale, contentPointAt, viewportPointOf, zoomAtAnchor, } from
|
|
71
|
-
export type { PanZoomOptions, PanZoomController, PanZoomState, PanZoomPoint, PanZoomCursor, } from
|
|
72
|
-
export { MCPUIStringsProvider, MCPUIStringsContext, useMCPUIStrings, DEFAULT_MCPUI_STRINGS, formatMCPUIString, resolveMCPUILocale, } from
|
|
73
|
-
export type { MCPUIStrings, MCPUIStringsProviderProps, } from
|
|
74
|
-
export { MCPUIConfigProvider, MCPUIConfigContext, useMCPUIConfig, DEFAULT_MCPUI_CONFIG, } from
|
|
75
|
-
export type { MCPUIConfig, MCPUIConfigInput, MCPUIConfigProviderProps, } from
|
|
76
|
-
export { MCPUITelemetryProvider, MCPUITelemetryContext, useTelemetry, } from
|
|
77
|
-
export type { MCPUITelemetryProviderProps } from
|
|
78
|
-
export { createTelemetryDispatcher } from
|
|
79
|
-
export type { TelemetryEvent, TelemetrySink, TelemetryOptions, TelemetryDispatcher, } from
|
|
80
|
-
export type { DraggableGridItemProps } from
|
|
81
|
-
export type { ResizeHandleProps as ResizeHandleComponentProps } from
|
|
82
|
-
export type { EditableUIResourceRendererProps } from
|
|
83
|
-
export type { ExpandableWrapperProps } from
|
|
84
|
-
export type { ComponentToolbarProps, ToolbarAction, ToolbarIcon } from
|
|
85
|
-
export type { ChatPromptProps } from
|
|
86
|
-
export type { ElicitationFormProps } from
|
|
87
|
-
export type { PortalDropdownMenuProps } from
|
|
88
|
-
export type { ScratchpadPanelProps } from
|
|
89
|
-
export type { VerifiedTextProps } from
|
|
90
|
-
export type { DataPreviewSectionProps } from
|
|
91
|
-
export type { AgentCardProps, AgentStatusBadgeProps } from
|
|
92
|
-
export type { SplitStepperProps } from
|
|
93
|
-
export type { AgentHandoffProps } from
|
|
94
|
-
export type { BriefingDiffProps } from
|
|
95
|
-
export type { GhostTextProps, GhostTextInputProps } from
|
|
96
|
-
export type { AutocompleteDropdownProps } from
|
|
97
|
-
export type { AutocompleteFormFieldProps, AutocompleteFormFieldParams } from
|
|
98
|
-
export { useStreamingUI, DEFAULT_STREAMING_UI_MESSAGES, useAction, useToolAction, useConditionalField, evaluateCondition, useModal, useConfirmModal, useFormPersistence, useDragDrop, useResize, useAutocomplete, useDataValidator, } from
|
|
99
|
-
export type { UseStreamingUIOptions, StreamingUIMessages, StreamingUIState, StreamProgress, StreamError, CompleteMetadata, UseActionReturn, UseActionOptions, UseToolActionReturn, UseConditionalFieldOptions, UseModalReturn, UseConfirmModalReturn, UseFormPersistenceOptions, UseFormPersistenceReturn, UseDragDropOptions, UseDragDropReturn, DragProps, UseResizeOptions, UseResizeReturn, ResizeEdge, UseAutocompleteOptions, UseAutocompleteReturn, UseDataValidatorOptions, UseDataValidatorReturn, } from
|
|
100
|
-
export { MCPActionProvider, MCPActionContext, useMCPAction, useMCPActionSafe } from
|
|
101
|
-
export { AutocompleteProvider, useAutocompleteContext, useAutocompleteContextSafe, } from
|
|
102
|
-
export type { MCPActionContextValue, MCPActionProviderProps, ActionRequest, ActionResult, } from
|
|
103
|
-
export type { AutocompleteContextValue, AutocompleteProviderProps, } from
|
|
104
|
-
export { createGroqPlugin, createSupabasePlugin, createRestPlugin, } from
|
|
105
|
-
export type { UIComponent, UILayout, GridPosition, ComponentType, RendererError, ChartComponentParams, TableComponentParams, MetricComponentParams, TextComponentParams, ActionComponentParams, GridComponentParams, FormFieldOption, FormFieldType, FormFieldParams, FormComponentParams, ShowWhenOperator, ShowWhenCondition, ActionRequestBase, ActionResultBase, ActionLifecycleCallbacks, ModalSize, ModalComponentParams, ActionGroupLayout, ActionGroupGap, ActionGroupParams, GalleryImage, ImageGalleryParams, VideoComponentParams, CodeComponentParams, LatLngPoint, MapMarker, MapComponentParams, MapPopupConfig, MapGeoJSONStyle, MapLayer, MapPMTilesConfig, IframePolicy, ValidationOptions, ResizeConstraints, DragDropConfig, DragEventData, DraggableGridItemProps as DraggableGridItemPropsType, AutocompleteResultType, AutocompleteOption, AutocompleteResult, AutocompleteContext, AutocompletePlugin, GroqPluginConfig, SupabasePluginConfig, DuckDBPluginConfig, RestPluginConfig, FieldAutocompleteConfig, AutocompleteProviderConfig, } from
|
|
106
|
-
export { validateComponent, validateLayout, validateIframeDomain, getIframeSandbox, isTrustedIframeDomain, DEFAULT_RESOURCE_LIMITS, DEFAULT_IFRAME_DOMAINS, TRUSTED_IFRAME_DOMAINS, ComponentRegistry, createEventEmitter, createCommandHandler, createChatBus, mergeScratchpadSections, validateAgainstSource, } from
|
|
107
|
-
export { validateFieldValue, validateFormData, DEFAULT_VALIDATION_MESSAGES, } from
|
|
108
|
-
export type { FormValidationMessages } from
|
|
109
|
-
export { graphToDegradedTable, mapToDegradedTable, chartToDegradedTable, DEGRADED_PROJECTION_LABELS, } from
|
|
110
|
-
export type { DegradedProjectionLabels } from
|
|
111
|
-
export { MCPUIMathProvider } from
|
|
112
|
-
export type { MathRenderer, MathRenderOptions, MCPUIMathProviderProps } from
|
|
113
|
-
export { chartToDataTable, CHART_DATA_TABLE_LABELS } from
|
|
114
|
-
export type { ChartDataTableLabels } from
|
|
115
|
-
export { clarificationToPromptConfig } from
|
|
116
|
-
export { elicitationToPromptConfig } from
|
|
117
|
-
export { createChatPromptController, PromptReplacedError, } from
|
|
118
|
-
export type { ChatPromptController } from
|
|
119
|
-
export { createMockChatBus } from
|
|
120
|
-
export type { MockChatBusOptions } from
|
|
121
|
-
export type { ChatEventBase, ChatEvents, ChatCommands, ChatBus, ChatEventEmitter, ChatCommandHandler, EventSubscribeOptions, ChatPromptConfig, ChatPromptResponse, ChoicePromptConfig, ChoiceOption, ConfirmPromptConfig, FormPromptConfig, SuggestionItem, AgentContext, BriefingEvent, BriefingSection, ScratchpadState, ScratchpadSection, ScratchpadEvent, StreamDoneMetadata, ChatError, Citation, ToolCallEvent, ClarificationEvent, ElicitationEvent, ElicitationRequestedSchema, ElicitationPropertySchema, DataValidation, LLMNumber, HallucinatedNumber, DataValidationOptions, VerifiedTextContent, DataPreviewColumn, DataPreviewContent, MapSectionContent, AgentCardContent, SplitStepperContent, AgentHandoffContent, BriefingDiffContent, } from
|
|
122
|
-
//# sourceMappingURL=index.d.ts.map
|
|
41
|
+
export { ChatBusProvider, useChatBus } from "./hooks/useChatBus.js";
|
|
42
|
+
export { ChatPrompt } from "./components/ChatPrompt.js";
|
|
43
|
+
export { ElicitationForm } from "./components/ElicitationForm.js";
|
|
44
|
+
export { PortalDropdownMenu } from "./components/PortalDropdownMenu.js";
|
|
45
|
+
export { ScratchpadPanel } from "./components/ScratchpadPanel.js";
|
|
46
|
+
export { dispatchScratchpad, useScratchpadState, createScratchpadStore, ScratchpadStoreContext, ScratchpadStoreProvider, } from "./stores/scratchpad-store.js";
|
|
47
|
+
export type { ScratchpadStoreHandle } from "./stores/scratchpad-store.js";
|
|
48
|
+
export { setServerCapabilities, useServerCapabilities, createServerCapabilitiesStore, ServerCapabilitiesContext, ServerCapabilitiesProvider, } from "./stores/server-capabilities-store.js";
|
|
49
|
+
export type { ServerCapabilities, ServerInitializeInfo, ServerCapabilitiesStoreHandle, } from "./stores/server-capabilities-store.js";
|
|
50
|
+
export { VerifiedText } from "./components/VerifiedText.js";
|
|
51
|
+
export { DataPreviewSection } from "./components/DataPreviewSection.js";
|
|
52
|
+
export { AgentCard, AgentStatusBadge } from "./components/AgentCard.js";
|
|
53
|
+
export { SplitStepper } from "./components/SplitStepper.js";
|
|
54
|
+
export { AgentHandoff } from "./components/AgentHandoff.js";
|
|
55
|
+
export { BriefingDiff } from "./components/BriefingDiff.js";
|
|
56
|
+
export { GhostText, GhostTextInput } from "./components/GhostText.js";
|
|
57
|
+
export { AutocompleteDropdown } from "./components/AutocompleteDropdown.js";
|
|
58
|
+
export { AutocompleteFormField } from "./components/AutocompleteFormField.js";
|
|
59
|
+
export type { UIResourceRendererProps, StreamingUIRendererProps, GenerativeUIErrorBoundaryProps, } from "./components.js";
|
|
60
|
+
export type { ValidationErrorMode } from "./components/UIResourceRenderer.js";
|
|
61
|
+
export { renderCellValue } from "./components/UIResourceRenderer.js";
|
|
62
|
+
export type { CitationCtx } from "./components/UIResourceRenderer.js";
|
|
63
|
+
export type { CitationEntry } from "./types.js";
|
|
64
|
+
export { GraphRenderer, isG6Available, graphToMermaid, graphToJSON } from "./components/GraphRenderer.js";
|
|
65
|
+
export { setDebugMode, isDebugEnabled } from "./utils/logger.js";
|
|
66
|
+
export { markRenderStart, markRenderEnd, PERF_PREFIX } from "./utils/perf.js";
|
|
67
|
+
export { getUiResourceStableKey } from "./utils/stable-key.js";
|
|
68
|
+
export { setDuplicateMountReporter } from "./utils/duplicate-mount-registry.js";
|
|
69
|
+
export type { DuplicateMountInfo, DuplicateMountReporter, } from "./utils/duplicate-mount-registry.js";
|
|
70
|
+
export { createPanZoom, clampScale, contentPointAt, viewportPointOf, zoomAtAnchor, } from "./utils/pan-zoom.js";
|
|
71
|
+
export type { PanZoomOptions, PanZoomController, PanZoomState, PanZoomPoint, PanZoomCursor, } from "./utils/pan-zoom.js";
|
|
72
|
+
export { MCPUIStringsProvider, MCPUIStringsContext, useMCPUIStrings, DEFAULT_MCPUI_STRINGS, formatMCPUIString, resolveMCPUILocale, } from "./context/MCPUIStringsContext.js";
|
|
73
|
+
export type { MCPUIStrings, MCPUIStringsProviderProps, } from "./context/MCPUIStringsContext.js";
|
|
74
|
+
export { MCPUIConfigProvider, MCPUIConfigContext, useMCPUIConfig, DEFAULT_MCPUI_CONFIG, } from "./context/MCPUIConfigContext.js";
|
|
75
|
+
export type { MCPUIConfig, MCPUIConfigInput, MCPUIConfigProviderProps, } from "./context/MCPUIConfigContext.js";
|
|
76
|
+
export { MCPUITelemetryProvider, MCPUITelemetryContext, useTelemetry, } from "./context/MCPUITelemetryContext.js";
|
|
77
|
+
export type { MCPUITelemetryProviderProps } from "./context/MCPUITelemetryContext.js";
|
|
78
|
+
export { createTelemetryDispatcher } from "./services/telemetry.js";
|
|
79
|
+
export type { TelemetryEvent, TelemetrySink, TelemetryOptions, TelemetryDispatcher, } from "./services/telemetry.js";
|
|
80
|
+
export type { DraggableGridItemProps } from "./components/DraggableGridItem.js";
|
|
81
|
+
export type { ResizeHandleProps as ResizeHandleComponentProps } from "./components/ResizeHandle.js";
|
|
82
|
+
export type { EditableUIResourceRendererProps } from "./components/EditableUIResourceRenderer.js";
|
|
83
|
+
export type { ExpandableWrapperProps } from "./components/ExpandableWrapper.js";
|
|
84
|
+
export type { ComponentToolbarProps, ToolbarAction, ToolbarIcon } from "./components/ComponentToolbar.js";
|
|
85
|
+
export type { ChatPromptProps } from "./components/ChatPrompt.js";
|
|
86
|
+
export type { ElicitationFormProps } from "./components/ElicitationForm.js";
|
|
87
|
+
export type { PortalDropdownMenuProps } from "./components/PortalDropdownMenu.js";
|
|
88
|
+
export type { ScratchpadPanelProps } from "./components/ScratchpadPanel.js";
|
|
89
|
+
export type { VerifiedTextProps } from "./components/VerifiedText.js";
|
|
90
|
+
export type { DataPreviewSectionProps } from "./components/DataPreviewSection.js";
|
|
91
|
+
export type { AgentCardProps, AgentStatusBadgeProps } from "./components/AgentCard.js";
|
|
92
|
+
export type { SplitStepperProps } from "./components/SplitStepper.js";
|
|
93
|
+
export type { AgentHandoffProps } from "./components/AgentHandoff.js";
|
|
94
|
+
export type { BriefingDiffProps } from "./components/BriefingDiff.js";
|
|
95
|
+
export type { GhostTextProps, GhostTextInputProps } from "./components/GhostText.js";
|
|
96
|
+
export type { AutocompleteDropdownProps } from "./components/AutocompleteDropdown.js";
|
|
97
|
+
export type { AutocompleteFormFieldProps, AutocompleteFormFieldParams } from "./components/AutocompleteFormField.js";
|
|
98
|
+
export { useStreamingUI, DEFAULT_STREAMING_UI_MESSAGES, useAction, useToolAction, useConditionalField, evaluateCondition, useModal, useConfirmModal, useFormPersistence, useDragDrop, useResize, useAutocomplete, useDataValidator, } from "./hooks.js";
|
|
99
|
+
export type { UseStreamingUIOptions, StreamingUIMessages, StreamingUIState, StreamProgress, StreamError, CompleteMetadata, UseActionReturn, UseActionOptions, UseToolActionReturn, UseConditionalFieldOptions, UseModalReturn, UseConfirmModalReturn, UseFormPersistenceOptions, UseFormPersistenceReturn, UseDragDropOptions, UseDragDropReturn, DragProps, UseResizeOptions, UseResizeReturn, ResizeEdge, UseAutocompleteOptions, UseAutocompleteReturn, UseDataValidatorOptions, UseDataValidatorReturn, } from "./hooks.js";
|
|
100
|
+
export { MCPActionProvider, MCPActionContext, useMCPAction, useMCPActionSafe } from "./context/index.js";
|
|
101
|
+
export { AutocompleteProvider, useAutocompleteContext, useAutocompleteContextSafe, } from "./context/AutocompleteContext.js";
|
|
102
|
+
export type { MCPActionContextValue, MCPActionProviderProps, ActionRequest, ActionResult, } from "./context/index.js";
|
|
103
|
+
export type { AutocompleteContextValue, AutocompleteProviderProps, } from "./context/AutocompleteContext.js";
|
|
104
|
+
export { createGroqPlugin, createSupabasePlugin, createRestPlugin, } from "./plugins/index.js";
|
|
105
|
+
export type { UIComponent, UILayout, GridPosition, ComponentType, RendererError, ChartComponentParams, TableComponentParams, MetricComponentParams, TextComponentParams, ActionComponentParams, GridComponentParams, FormFieldOption, FormFieldType, FormFieldParams, FormComponentParams, ShowWhenOperator, ShowWhenCondition, ActionRequestBase, ActionResultBase, ActionLifecycleCallbacks, ModalSize, ModalComponentParams, ActionGroupLayout, ActionGroupGap, ActionGroupParams, GalleryImage, ImageGalleryParams, VideoComponentParams, CodeComponentParams, LatLngPoint, MapMarker, MapComponentParams, MapPopupConfig, MapGeoJSONStyle, MapLayer, MapPMTilesConfig, IframePolicy, ValidationOptions, ResizeConstraints, DragDropConfig, DragEventData, DraggableGridItemProps as DraggableGridItemPropsType, AutocompleteResultType, AutocompleteOption, AutocompleteResult, AutocompleteContext, AutocompletePlugin, GroqPluginConfig, SupabasePluginConfig, DuckDBPluginConfig, RestPluginConfig, FieldAutocompleteConfig, AutocompleteProviderConfig, } from "./types.js";
|
|
106
|
+
export { validateComponent, validateLayout, validateIframeDomain, getIframeSandbox, isTrustedIframeDomain, DEFAULT_RESOURCE_LIMITS, DEFAULT_IFRAME_DOMAINS, TRUSTED_IFRAME_DOMAINS, ComponentRegistry, createEventEmitter, createCommandHandler, createChatBus, mergeScratchpadSections, validateAgainstSource, } from "./services/index.js";
|
|
107
|
+
export { validateFieldValue, validateFormData, DEFAULT_VALIDATION_MESSAGES, } from "./services/validation.js";
|
|
108
|
+
export type { FormValidationMessages } from "./services/validation.js";
|
|
109
|
+
export { graphToDegradedTable, mapToDegradedTable, chartToDegradedTable, DEGRADED_PROJECTION_LABELS, } from "./utils/degraded-projections.js";
|
|
110
|
+
export type { DegradedProjectionLabels } from "./utils/degraded-projections.js";
|
|
111
|
+
export { MCPUIMathProvider } from "./context/MCPUIMathContext.js";
|
|
112
|
+
export type { MathRenderer, MathRenderOptions, MCPUIMathProviderProps } from "./context/MCPUIMathContext.js";
|
|
113
|
+
export { chartToDataTable, CHART_DATA_TABLE_LABELS } from "./components/chart-data-table.js";
|
|
114
|
+
export type { ChartDataTableLabels } from "./components/chart-data-table.js";
|
|
115
|
+
export { clarificationToPromptConfig } from "./services/chat-bus.js";
|
|
116
|
+
export { elicitationToPromptConfig } from "./services/chat-bus.js";
|
|
117
|
+
export { createChatPromptController, PromptReplacedError, } from "./services/chat-prompt-controller.js";
|
|
118
|
+
export type { ChatPromptController } from "./services/chat-prompt-controller.js";
|
|
119
|
+
export { createMockChatBus } from "./testing/index.js";
|
|
120
|
+
export type { MockChatBusOptions } from "./testing/index.js";
|
|
121
|
+
export type { ChatEventBase, ChatEvents, ChatCommands, ChatBus, ChatEventEmitter, ChatCommandHandler, EventSubscribeOptions, ChatPromptConfig, ChatPromptResponse, ChoicePromptConfig, ChoiceOption, ConfirmPromptConfig, FormPromptConfig, SuggestionItem, AgentContext, BriefingEvent, BriefingSection, ScratchpadState, ScratchpadSection, ScratchpadEvent, StreamDoneMetadata, ChatError, Citation, ToolCallEvent, ClarificationEvent, ElicitationEvent, ElicitationRequestedSchema, ElicitationPropertySchema, DataValidation, LLMNumber, HallucinatedNumber, DataValidationOptions, VerifiedTextContent, DataPreviewColumn, DataPreviewContent, MapSectionContent, AgentCardContent, SplitStepperContent, AgentHandoffContent, BriefingDiffContent, } from "./types/chat-bus.js";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Note: DuckDB WASM is ~2MB and is lazy-loaded on first use.
|
|
8
8
|
* This plugin requires @duckdb/duckdb-wasm as an optional peer dependency.
|
|
9
9
|
*/
|
|
10
|
-
import type { AutocompletePlugin, DuckDBPluginConfig } from
|
|
10
|
+
import type { AutocompletePlugin, DuckDBPluginConfig } from "../types.cjs";
|
|
11
11
|
/**
|
|
12
12
|
* Create a DuckDB WASM autocomplete plugin
|
|
13
13
|
*/
|
|
@@ -17,4 +17,3 @@ export declare function createDuckDBPlugin(config: DuckDBPluginConfig): Autocomp
|
|
|
17
17
|
*/
|
|
18
18
|
export declare function preloadDuckDB(): Promise<void>;
|
|
19
19
|
export default createDuckDBPlugin;
|
|
20
|
-
//# sourceMappingURL=duckdb.d.ts.map
|
package/dist/plugins/duckdb.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Note: DuckDB WASM is ~2MB and is lazy-loaded on first use.
|
|
8
8
|
* This plugin requires @duckdb/duckdb-wasm as an optional peer dependency.
|
|
9
9
|
*/
|
|
10
|
-
import type { AutocompletePlugin, DuckDBPluginConfig } from
|
|
10
|
+
import type { AutocompletePlugin, DuckDBPluginConfig } from "../types.js";
|
|
11
11
|
/**
|
|
12
12
|
* Create a DuckDB WASM autocomplete plugin
|
|
13
13
|
*/
|
|
@@ -17,4 +17,3 @@ export declare function createDuckDBPlugin(config: DuckDBPluginConfig): Autocomp
|
|
|
17
17
|
*/
|
|
18
18
|
export declare function preloadDuckDB(): Promise<void>;
|
|
19
19
|
export default createDuckDBPlugin;
|
|
20
|
-
//# sourceMappingURL=duckdb.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Groq LLM Autocomplete Plugin
|
|
3
|
+
* Provides LLM-powered text completion suggestions using Groq API
|
|
4
|
+
*
|
|
5
|
+
* Sprint Autocomplete Feature
|
|
6
|
+
*/
|
|
7
|
+
import type { AutocompletePlugin, GroqPluginConfig } from "../types.cjs";
|
|
8
|
+
/**
|
|
9
|
+
* Create a Groq LLM autocomplete plugin
|
|
10
|
+
*/
|
|
11
|
+
export declare function createGroqPlugin(config: GroqPluginConfig): AutocompletePlugin;
|
|
12
|
+
export default createGroqPlugin;
|
package/dist/plugins/groq.d.ts
CHANGED
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Sprint Autocomplete Feature
|
|
6
6
|
*/
|
|
7
|
-
import type { AutocompletePlugin, GroqPluginConfig } from
|
|
7
|
+
import type { AutocompletePlugin, GroqPluginConfig } from "../types.js";
|
|
8
8
|
/**
|
|
9
9
|
* Create a Groq LLM autocomplete plugin
|
|
10
10
|
*/
|
|
11
11
|
export declare function createGroqPlugin(config: GroqPluginConfig): AutocompletePlugin;
|
|
12
12
|
export default createGroqPlugin;
|
|
13
|
-
//# sourceMappingURL=groq.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Autocomplete Plugins Index
|
|
3
|
+
* Re-exports all available autocomplete plugins
|
|
4
|
+
*
|
|
5
|
+
* Sprint Autocomplete Feature
|
|
6
|
+
*/
|
|
7
|
+
export { createGroqPlugin } from "./groq.cjs";
|
|
8
|
+
export { createSupabasePlugin } from "./supabase.cjs";
|
|
9
|
+
export { createRestPlugin } from "./rest.cjs";
|
package/dist/plugins/index.d.ts
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Sprint Autocomplete Feature
|
|
6
6
|
*/
|
|
7
|
-
export { createGroqPlugin } from
|
|
8
|
-
export { createSupabasePlugin } from
|
|
9
|
-
export { createRestPlugin } from
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
7
|
+
export { createGroqPlugin } from "./groq.js";
|
|
8
|
+
export { createSupabasePlugin } from "./supabase.js";
|
|
9
|
+
export { createRestPlugin } from "./rest.js";
|
package/dist/plugins/katex.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type { MathRenderer } from
|
|
1
|
+
import type { MathRenderer } from "../context/MCPUIMathContext.cjs";
|
|
2
2
|
/**
|
|
3
3
|
* Optional KaTeX adapter. It emits MathML only: no HTML layout tree, inline
|
|
4
4
|
* styles, fonts, stylesheet, shared macro state, or trusted TeX commands.
|
|
5
5
|
*/
|
|
6
6
|
export declare const renderKatexMath: MathRenderer;
|
|
7
|
-
//# sourceMappingURL=katex.d.ts.map
|
package/dist/plugins/katex.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type { MathRenderer } from
|
|
1
|
+
import type { MathRenderer } from "../context/MCPUIMathContext.js";
|
|
2
2
|
/**
|
|
3
3
|
* Optional KaTeX adapter. It emits MathML only: no HTML layout tree, inline
|
|
4
4
|
* styles, fonts, stylesheet, shared macro state, or trusted TeX commands.
|
|
5
5
|
*/
|
|
6
6
|
export declare const renderKatexMath: MathRenderer;
|
|
7
|
-
//# sourceMappingURL=katex.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* REST API Autocomplete Plugin
|
|
3
|
+
* Provides suggestions from any REST API endpoint
|
|
4
|
+
*
|
|
5
|
+
* Sprint Autocomplete Feature
|
|
6
|
+
*/
|
|
7
|
+
import type { AutocompletePlugin, RestPluginConfig } from "../types.cjs";
|
|
8
|
+
/**
|
|
9
|
+
* Create a REST API autocomplete plugin
|
|
10
|
+
*/
|
|
11
|
+
export declare function createRestPlugin(config: RestPluginConfig): AutocompletePlugin;
|
|
12
|
+
export default createRestPlugin;
|
package/dist/plugins/rest.d.ts
CHANGED
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Sprint Autocomplete Feature
|
|
6
6
|
*/
|
|
7
|
-
import type { AutocompletePlugin, RestPluginConfig } from
|
|
7
|
+
import type { AutocompletePlugin, RestPluginConfig } from "../types.js";
|
|
8
8
|
/**
|
|
9
9
|
* Create a REST API autocomplete plugin
|
|
10
10
|
*/
|
|
11
11
|
export declare function createRestPlugin(config: RestPluginConfig): AutocompletePlugin;
|
|
12
12
|
export default createRestPlugin;
|
|
13
|
-
//# sourceMappingURL=rest.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supabase Autocomplete Plugin
|
|
3
|
+
* Provides data-driven suggestions from a Supabase table
|
|
4
|
+
*
|
|
5
|
+
* Sprint Autocomplete Feature
|
|
6
|
+
*/
|
|
7
|
+
import type { AutocompletePlugin, SupabasePluginConfig } from "../types.cjs";
|
|
8
|
+
/**
|
|
9
|
+
* Create a Supabase autocomplete plugin
|
|
10
|
+
*/
|
|
11
|
+
export declare function createSupabasePlugin(config: SupabasePluginConfig): AutocompletePlugin;
|
|
12
|
+
export default createSupabasePlugin;
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Sprint Autocomplete Feature
|
|
6
6
|
*/
|
|
7
|
-
import type { AutocompletePlugin, SupabasePluginConfig } from
|
|
7
|
+
import type { AutocompletePlugin, SupabasePluginConfig } from "../types.js";
|
|
8
8
|
/**
|
|
9
9
|
* Create a Supabase autocomplete plugin
|
|
10
10
|
*/
|
|
11
11
|
export declare function createSupabasePlugin(config: SupabasePluginConfig): AutocompletePlugin;
|
|
12
12
|
export default createSupabasePlugin;
|
|
13
|
-
//# sourceMappingURL=supabase.d.ts.map
|