@page-speed/agent-everywhere 0.9.0 → 1.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/dist/index.d.cts CHANGED
@@ -250,6 +250,65 @@ interface AudioPlayerData {
250
250
  activeChapterBg?: string;
251
251
  mutedTextColor?: string;
252
252
  }
253
+ interface LinkPreview {
254
+ url: string;
255
+ domain: string;
256
+ title: string | null;
257
+ description: string | null;
258
+ image: string | null;
259
+ favicon: string | null;
260
+ siteName: string | null;
261
+ }
262
+ interface LinkInputData {
263
+ label?: string;
264
+ /** Serializable icon key resolved via the built-in icon registry. */
265
+ iconName?: string;
266
+ placeholder?: string;
267
+ /** Pre-fill the URL field (and seed the preview before any fetch). */
268
+ defaultUrl?: string;
269
+ /** Pre-resolved preview to render without a fetch. */
270
+ defaultValue?: LinkPreview | null;
271
+ defaultExpanded?: boolean;
272
+ disabled?: boolean;
273
+ /** OpenGraph endpoint (`?url=` appended). Host-supplied; no origin embedded. */
274
+ endpoint?: string;
275
+ }
276
+ type MediaCheckboxMediaType = 'image' | 'video';
277
+ interface MediaCheckboxOption {
278
+ value: string;
279
+ label: string;
280
+ subtitle?: string;
281
+ mediaUrl: string;
282
+ mediaType: MediaCheckboxMediaType;
283
+ /** Poster frame for video options. */
284
+ thumbnailUrl?: string;
285
+ width?: number | string;
286
+ height?: number | string;
287
+ disabled?: boolean;
288
+ }
289
+ interface MediaCheckboxesData {
290
+ options: MediaCheckboxOption[];
291
+ /** Initial selection when uncontrolled (registry path). */
292
+ defaultSelectedValues?: string[];
293
+ minSelection?: number;
294
+ maxSelection?: number;
295
+ /** Tailwind height class or pixel height for the media thumbnails. */
296
+ thumbnailHeight?: string | number;
297
+ }
298
+ interface IconCheckboxOption {
299
+ value: string;
300
+ label: string;
301
+ /** Serializable icon key resolved via the built-in icon registry. */
302
+ iconName?: string;
303
+ disabled?: boolean;
304
+ }
305
+ interface IconCheckboxesData {
306
+ options: IconCheckboxOption[];
307
+ /** Initial selection when uncontrolled (registry path). */
308
+ defaultSelectedValues?: string[];
309
+ minSelection?: number;
310
+ maxSelection?: number;
311
+ }
253
312
 
254
313
  type MessageRole = 'user' | 'assistant' | 'system';
255
314
  interface AgentMessage {
@@ -449,7 +508,7 @@ interface ChartData {
449
508
  xAxisLabel?: string;
450
509
  yAxisLabel?: string;
451
510
  }
452
- type DataPayloadType = 'chart' | 'table' | 'metrics' | 'custom' | 'kpi-card-with-chart' | 'pie-chart' | 'stacked-sparklines' | 'stat-card-half-circle' | 'table-list' | 'kpi-card-with-sparklines' | 'locations-revenue-card' | 'row-based-data-list' | 'badges' | 'ordered-list' | 'deep-research-progress' | 'tracker' | 'built-in-questions' | 'audio-player';
511
+ type DataPayloadType = 'chart' | 'table' | 'metrics' | 'custom' | 'kpi-card-with-chart' | 'pie-chart' | 'stacked-sparklines' | 'stat-card-half-circle' | 'table-list' | 'kpi-card-with-sparklines' | 'locations-revenue-card' | 'row-based-data-list' | 'badges' | 'ordered-list' | 'deep-research-progress' | 'tracker' | 'built-in-questions' | 'audio-player' | 'link-input' | 'media-checkboxes' | 'icon-checkboxes';
453
512
  interface DataPayload {
454
513
  type: DataPayloadType;
455
514
  chart?: ChartData;
@@ -470,6 +529,9 @@ interface DataPayload {
470
529
  tracker?: TrackerData;
471
530
  builtInQuestions?: BuiltInQuestionsData;
472
531
  audioPlayer?: AudioPlayerData;
532
+ linkInput?: LinkInputData;
533
+ mediaCheckboxes?: MediaCheckboxesData;
534
+ iconCheckboxes?: IconCheckboxesData;
473
535
  }
474
536
  interface TableData {
475
537
  columns: TableColumn[];
@@ -2270,6 +2332,137 @@ interface AudioPlayerProps extends AudioPlayerData {
2270
2332
  }
2271
2333
  declare function AudioPlayer({ title, src, durationSeconds, currentTimeSeconds, isPlaying, waveform, chapters, accentColor, inactiveColor, activeChapterBg, mutedTextColor, className, onTogglePlay, onSeek, }: AudioPlayerProps): react.JSX.Element;
2272
2334
 
2335
+ declare const DEFAULT_OPEN_GRAPH_ENDPOINT = "/api/opengraph";
2336
+ type Maybe<T> = T | null | undefined;
2337
+ type OpenGraphImage = {
2338
+ url?: Maybe<string>;
2339
+ height?: Maybe<number | string>;
2340
+ width?: Maybe<number | string>;
2341
+ } | string | null;
2342
+ interface OpenGraphSection {
2343
+ description?: Maybe<string>;
2344
+ title?: Maybe<string>;
2345
+ site_name?: Maybe<string>;
2346
+ image?: OpenGraphImage;
2347
+ video?: unknown;
2348
+ url?: Maybe<string>;
2349
+ ogType?: Maybe<string>;
2350
+ }
2351
+ interface HtmlInferredSection {
2352
+ description?: Maybe<string>;
2353
+ title?: Maybe<string>;
2354
+ type?: Maybe<string>;
2355
+ videoType?: Maybe<string>;
2356
+ url?: Maybe<string>;
2357
+ favicon?: Maybe<string>;
2358
+ images?: string[];
2359
+ image?: Maybe<string>;
2360
+ site_name?: Maybe<string>;
2361
+ }
2362
+ interface HybridGraphSection {
2363
+ description?: Maybe<string>;
2364
+ title?: Maybe<string>;
2365
+ type?: Maybe<string>;
2366
+ image?: Maybe<string>;
2367
+ video?: Maybe<string>;
2368
+ videoType?: Maybe<string>;
2369
+ favicon?: Maybe<string>;
2370
+ site_name?: Maybe<string>;
2371
+ url?: Maybe<string>;
2372
+ videoWidth?: Maybe<number>;
2373
+ videoHeight?: Maybe<number>;
2374
+ }
2375
+ interface OpenGraphResponse {
2376
+ requestedUrl?: Maybe<string>;
2377
+ finalUrl?: Maybe<string>;
2378
+ url?: Maybe<string>;
2379
+ normalizedUrl?: Maybe<string>;
2380
+ status?: number;
2381
+ contentType?: Maybe<string>;
2382
+ fetchedAt?: Maybe<string>;
2383
+ bodyBytes?: number;
2384
+ bodyTruncated?: boolean;
2385
+ maxBodyBytes?: number;
2386
+ cache?: {
2387
+ hit: boolean;
2388
+ ageSeconds: number;
2389
+ ttlSeconds: number;
2390
+ staleWhileRevalidateSeconds: number;
2391
+ };
2392
+ openGraph?: Maybe<OpenGraphSection>;
2393
+ htmlInferred?: Maybe<HtmlInferredSection>;
2394
+ hybridGraph?: Maybe<HybridGraphSection>;
2395
+ }
2396
+ type LinkInputStatus = 'idle' | 'loading' | 'error';
2397
+ interface LinkInputProps extends LinkInputData {
2398
+ /** Runtime-only icon node (takes priority over `iconName`). */
2399
+ icon?: ReactNode;
2400
+ /** Controlled resolved preview. */
2401
+ value?: LinkPreview | null;
2402
+ /** Controlled expanded state. */
2403
+ expanded?: boolean;
2404
+ /** Custom OpenGraph fetcher; overrides the default endpoint fetch. */
2405
+ fetcher?: (url: string) => Promise<OpenGraphResponse>;
2406
+ onSubmit?: (data: OpenGraphResponse, preview: LinkPreview) => void;
2407
+ onValueChange?: (preview: LinkPreview | null, data: OpenGraphResponse | null) => void;
2408
+ onClear?: () => void;
2409
+ onExpandedChange?: (expanded: boolean) => void;
2410
+ className?: string;
2411
+ }
2412
+ type LinkInputOption = Omit<LinkInputProps, 'expanded' | 'onExpandedChange' | 'onSubmit' | 'onValueChange' | 'onClear'> & {
2413
+ id: string;
2414
+ };
2415
+ interface LinkInputGroupProps {
2416
+ options: LinkInputOption[];
2417
+ onSubmit?: (id: string, data: OpenGraphResponse, preview: LinkPreview) => void;
2418
+ onValueChange?: (id: string, preview: LinkPreview | null, data: OpenGraphResponse | null) => void;
2419
+ onClear?: (id: string) => void;
2420
+ className?: string;
2421
+ }
2422
+ /** Collapse an OpenGraph response into the flat `LinkPreview` the card renders. */
2423
+ declare function extractLinkPreview(data: OpenGraphResponse, fallbackUrl?: string): LinkPreview;
2424
+ /** Default fetcher — GETs `{endpoint}?url=` and parses the OpenGraph JSON. */
2425
+ declare function fetchOpenGraphPreview(url: string, endpoint?: string): Promise<OpenGraphResponse>;
2426
+ declare function LinkInput({ label, icon, iconName, placeholder, defaultUrl, defaultValue, value, defaultExpanded, expanded: controlledExpanded, disabled, endpoint, fetcher, onSubmit, onValueChange, onClear, onExpandedChange, className, }: LinkInputProps): react.JSX.Element;
2427
+ /** Renders a vertical stack of LinkInputs where at most one is expanded. */
2428
+ declare function LinkInputGroup({ options, onSubmit, onValueChange, onClear, className, }: LinkInputGroupProps): react.JSX.Element;
2429
+
2430
+ interface MediaCheckboxesProps extends MediaCheckboxesData {
2431
+ /** Controlled selection. Omit (with no `onSelect`) for uncontrolled use. */
2432
+ selectedValues?: string[];
2433
+ /** Initial selection when uncontrolled. */
2434
+ defaultSelectedValues?: string[];
2435
+ /** Fired with the next full selection array on every toggle. */
2436
+ onSelect?: (selected: string[]) => void;
2437
+ className?: string;
2438
+ }
2439
+ declare function MediaCheckboxes({ options, selectedValues, defaultSelectedValues, onSelect, minSelection, maxSelection, className, thumbnailHeight, }: MediaCheckboxesProps): react.JSX.Element;
2440
+
2441
+ interface IconCheckboxItem {
2442
+ /** Unique identifier for the option. */
2443
+ value: string;
2444
+ /** Display label. */
2445
+ label: string;
2446
+ /** Runtime-only icon node (takes priority over `iconName`). */
2447
+ icon?: ReactNode;
2448
+ /** Serializable icon key resolved via the built-in icon registry. */
2449
+ iconName?: string;
2450
+ /** Render the tile non-interactive. */
2451
+ disabled?: boolean;
2452
+ }
2453
+ interface IconCheckboxesProps extends Omit<IconCheckboxesData, 'options'> {
2454
+ /** Options to render. Accepts both `icon` (node) and `iconName` (string). */
2455
+ options: IconCheckboxItem[];
2456
+ /** Controlled selection. Omit (with no `onSelect`) for uncontrolled use. */
2457
+ selectedValues?: string[];
2458
+ /** Initial selection when uncontrolled. */
2459
+ defaultSelectedValues?: string[];
2460
+ /** Fired with the next full selection array on every toggle. */
2461
+ onSelect?: (selected: string[]) => void;
2462
+ className?: string;
2463
+ }
2464
+ declare function IconCheckboxes({ options, selectedValues, defaultSelectedValues, onSelect, minSelection, maxSelection, className, }: IconCheckboxesProps): react.JSX.Element;
2465
+
2273
2466
  type MediaKind = 'image' | 'video' | 'file' | 'link';
2274
2467
  interface MediaItem {
2275
2468
  id: string;
@@ -3463,4 +3656,4 @@ interface NativeSurfaceProps {
3463
3656
  }
3464
3657
  declare function NativeSurface({ children, input, title, subtitle, icon, headerActions, suggestions, footer, isLoading, autoScroll, className, contentClassName, }: NativeSurfaceProps): react.JSX.Element;
3465
3658
 
3466
- export { type AgendaItem, type AgendaItemAction, type AgendaItemState, type AgendaSlotOption, type AgentAction, type AgentAttachment, AgentAvatar, type AgentBackend, type AgentBlock, AgentComposer, type AgentComposerProps, type AgentConfig, type AgentContextValue, AgentConversation, type AgentConversationProps, type AgentEvent, type AgentEventType, type AgentFeatures, AgentHandoff, type AgentHandoffProps, type AgentMessage, type AgentPersona, AgentProvider, type AgentProviderProps, type AgentReport, type AgentState, type AgentStreamChunk, AgentSurface, type AgentSurfaceProps, AgentWorkspace, AgentWorkspaceComposer, type AgentWorkspaceComposerProps, type AgentWorkspaceContextValue, AgentWorkspacePanelToggle, type AgentWorkspacePanelToggleProps, type AgentWorkspaceProps, AgentWorkspaceSkeleton, type AgentWorkspaceSkeletonProps, AllocationBreakdown, type AllocationSegment, type AllocationSummaryStat, type AnalyticsBreakdownRow, AnalyticsDashboard, type AnalyticsDashboardProps, type AnalyticsDistributionSegment, type AnalyticsHighlight, type AnalyticsMetric, type AnalyticsRankedRow, type AnalyticsRecentItem, type AnalyticsTrend, type AssistantMessageBlocksEnvelope, type AssistantMessageCompleteEnvelope, type AssistantMessageDeltaEnvelope, type AssistantMessageStartEnvelope, type AssistantMessageThinkingDeltaEnvelope, type Attachment, type AttachmentKind, type AttachmentMediaType, type AttachmentType, type AudioChapter, AudioPlayer, type AudioPlayerData, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeGroup, type BadgeTone, BadgesArtifact, type BadgesData, type BlockUpdateMode, BuiltInQuestions, type BuiltInQuestionsData, Button, ChartContainer, type ChartData, type ChartDataPoint, type ChartType, type ChatMessageRole, ChatPanel, Collapsible, CollapsibleContent, CollapsibleTrigger, type ComponentCapability, type ComponentCategory, type ComponentManifestEntry, type ComponentSlot, type ConfirmationAction, type ConfirmationActionData, type ConfirmationData, ConfirmationPanel, type ConfirmationPanelProps, type ConnectionReadyEnvelope, type ConnectionState, type ConnectionStrategy, ControlGrid, type ControlTile, type ControlTileType, ConversationAnalytics, ConversationArtifact, type ConversationArtifactProps, type ConversationHistoryItem, type DataPayload, type DataPayloadType, DataPayloadView, DataTable, DeepResearchProgress, type DeepResearchProgressData, type Direction, DynamicRenderer, type EditorAdjustment, type EditorTool, type EmotionScore, type EntityAction, EntityCard, type EntityCardData, type EntityField, type ErrorEnvelope, type ExecutionStep, type ExecutionStepStatus, type FeedbackCategory, type FeedbackSentiment, FileDropZone, FloatingWidget, FullBleedSurface, type FullBleedSurfaceProps, FullscreenDashboard, type GenerateReportOptions, GuidedLessonFlow, type HandoffAction, type HandoffAgent, type HandoffCandidate, type HandoffStatus, type HandoffVariant, ImageGenerator, type InlineSuggestion, InlineSuggestionsInput, Input, KpiCardWithChart, type KpiCardWithChartData, KpiCardWithSparklines, type KpiCardWithSparklinesData, type LayoutConfig, type LayoutMode, type LessonStep, type LibraryPrompt, type Listing, type ListingAction, ListingFeed, type ListingField, type LocationRow, type LocationStatus, LocationsRevenueCard, type LocationsRevenueData, type ManifestPropSpec, MediaEditorCanvas, MediaGallery, type MediaItem, type MediaKind, MessageActions, MessageBubble, type MessageBubbleProps, MessageContainer, type MessageContainerProps, MessageContent, type MessageContentProps, type MessageFeedback, MessageList, type MessageListProps, type MessageMetadata, type MessageRole, MessageWithAttachments, MessageWithFeedback, MessageWithReasoning, MessageWithSteps, type MetricData, MetricsGrid, MobileShell, type MockBackendConfig, MultimodalInput, type NativeAgentContextValue, NativeAgentProvider, type NativeAgentProviderProps, type NativeAgentStatus, NativeSurface, type NativeSurfaceProps, OnboardingWizard, type OptionCardItem, OptionCards, type OrchestrationCommand, OrderedListArtifact, type OrderedListData, type OrderedListItem, OverlayModal, PerformanceMetrics, PersonaSelector, PieChartArtifact, type PieChartData, type PieSegment, Progress, ProgressTracker, PromptInput, PromptLibrary, type PromptTemplate, type QuestionOption, QuickReplies, type QuickReply, QuizCard, type QuizOption, type QuizQuestion, type QuizResult, type ReasoningStatus, type ReasoningStep, type Recommendation, type RecommendationAction, RecommendationCards, type RecommendationTone, type RenderInstruction, type ReportSection, ReportView, type ResearchStep, type ResearchStepStatus, type RichSegment, type RichText, RowBasedDataList, type RowBasedDataListData, type RowDataRow, ScheduleTimeline, ScrollArea, ScrollBar, type SemanticBuilderChatMessage, SemanticBuilderSocketClient, type SendMessageOptions, type SendOptions, SentimentDisplay, type SentimentScore, type ServerEnvelope, type SettingControl, type SettingsGroup, SettingsPanel, SlotRenderer, type SocketClientOptions, type SocketSendPayload, type SocketUrlResolver, SplitView, type StackedSparklineRow, StackedSparklines, type StackedSparklinesData, StatCardHalfCircle, type StatCardHalfCircleData, StatusBadge, SystemMessage, type TableColumn, type TableData, TableListArtifact, type TableListColumn, type TableListData, type TableListRow, type TableListSeries, TemplateSelector, type TemplateVariable, Textarea, type ThemeConfig, Timestamp, type Tone, type ToolCall, type ToolDefinition, type ToolResult, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tracker, type TrackerData, type TrackerStep, type TrackerStepStatus, type TrendDirection, type TrendTone, TypingIndicator, type UseSemanticBuilderOptions, type UseSemanticBuilderResult, type UserMessageEnvelope, type WidgetPosition, WritingAssistant, badgeVariants, buildSocketUrl, buttonVariants, calculatePercentage, cn, componentManifest, componentMap, componentRegistry, copyToClipboard, createMockBackend, debounce, delay, findComponentsByCapability, findComponentsByCategory, findComponentsBySurface, formatBytes, formatCurrency, formatNumber, formatRelativeTime, formatTime, generateId, getInitials, getManifestEntry, getSentimentBgColor, getSentimentColor, isBrowser, isInIframe, normalizeWebsiteId, parseTextWithBold, registerAllComponents, truncate, useAgent, useAgentBackend, useAgentInput, useAgentLayout, useAgentMessages, useAgentWorkspace, useAgentWorkspaceOptional, useNativeAgent, useNativeAgentOptional, useSemanticBuilder };
3659
+ export { type AgendaItem, type AgendaItemAction, type AgendaItemState, type AgendaSlotOption, type AgentAction, type AgentAttachment, AgentAvatar, type AgentBackend, type AgentBlock, AgentComposer, type AgentComposerProps, type AgentConfig, type AgentContextValue, AgentConversation, type AgentConversationProps, type AgentEvent, type AgentEventType, type AgentFeatures, AgentHandoff, type AgentHandoffProps, type AgentMessage, type AgentPersona, AgentProvider, type AgentProviderProps, type AgentReport, type AgentState, type AgentStreamChunk, AgentSurface, type AgentSurfaceProps, AgentWorkspace, AgentWorkspaceComposer, type AgentWorkspaceComposerProps, type AgentWorkspaceContextValue, AgentWorkspacePanelToggle, type AgentWorkspacePanelToggleProps, type AgentWorkspaceProps, AgentWorkspaceSkeleton, type AgentWorkspaceSkeletonProps, AllocationBreakdown, type AllocationSegment, type AllocationSummaryStat, type AnalyticsBreakdownRow, AnalyticsDashboard, type AnalyticsDashboardProps, type AnalyticsDistributionSegment, type AnalyticsHighlight, type AnalyticsMetric, type AnalyticsRankedRow, type AnalyticsRecentItem, type AnalyticsTrend, type AssistantMessageBlocksEnvelope, type AssistantMessageCompleteEnvelope, type AssistantMessageDeltaEnvelope, type AssistantMessageStartEnvelope, type AssistantMessageThinkingDeltaEnvelope, type Attachment, type AttachmentKind, type AttachmentMediaType, type AttachmentType, type AudioChapter, AudioPlayer, type AudioPlayerData, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeGroup, type BadgeTone, BadgesArtifact, type BadgesData, type BlockUpdateMode, BuiltInQuestions, type BuiltInQuestionsData, Button, ChartContainer, type ChartData, type ChartDataPoint, type ChartType, type ChatMessageRole, ChatPanel, Collapsible, CollapsibleContent, CollapsibleTrigger, type ComponentCapability, type ComponentCategory, type ComponentManifestEntry, type ComponentSlot, type ConfirmationAction, type ConfirmationActionData, type ConfirmationData, ConfirmationPanel, type ConfirmationPanelProps, type ConnectionReadyEnvelope, type ConnectionState, type ConnectionStrategy, ControlGrid, type ControlTile, type ControlTileType, ConversationAnalytics, ConversationArtifact, type ConversationArtifactProps, type ConversationHistoryItem, DEFAULT_OPEN_GRAPH_ENDPOINT, type DataPayload, type DataPayloadType, DataPayloadView, DataTable, DeepResearchProgress, type DeepResearchProgressData, type Direction, DynamicRenderer, type EditorAdjustment, type EditorTool, type EmotionScore, type EntityAction, EntityCard, type EntityCardData, type EntityField, type ErrorEnvelope, type ExecutionStep, type ExecutionStepStatus, type FeedbackCategory, type FeedbackSentiment, FileDropZone, FloatingWidget, FullBleedSurface, type FullBleedSurfaceProps, FullscreenDashboard, type GenerateReportOptions, GuidedLessonFlow, type HandoffAction, type HandoffAgent, type HandoffCandidate, type HandoffStatus, type HandoffVariant, type HtmlInferredSection, type HybridGraphSection, type IconCheckboxItem, type IconCheckboxOption, IconCheckboxes, type IconCheckboxesData, type IconCheckboxesProps, ImageGenerator, type InlineSuggestion, InlineSuggestionsInput, Input, KpiCardWithChart, type KpiCardWithChartData, KpiCardWithSparklines, type KpiCardWithSparklinesData, type LayoutConfig, type LayoutMode, type LessonStep, type LibraryPrompt, LinkInput, type LinkInputData, LinkInputGroup, type LinkInputGroupProps, type LinkInputOption, type LinkInputProps, type LinkInputStatus, type LinkPreview, type Listing, type ListingAction, ListingFeed, type ListingField, type LocationRow, type LocationStatus, LocationsRevenueCard, type LocationsRevenueData, type ManifestPropSpec, type MediaCheckboxMediaType, type MediaCheckboxOption, MediaCheckboxes, type MediaCheckboxesData, type MediaCheckboxesProps, MediaEditorCanvas, MediaGallery, type MediaItem, type MediaKind, MessageActions, MessageBubble, type MessageBubbleProps, MessageContainer, type MessageContainerProps, MessageContent, type MessageContentProps, type MessageFeedback, MessageList, type MessageListProps, type MessageMetadata, type MessageRole, MessageWithAttachments, MessageWithFeedback, MessageWithReasoning, MessageWithSteps, type MetricData, MetricsGrid, MobileShell, type MockBackendConfig, MultimodalInput, type NativeAgentContextValue, NativeAgentProvider, type NativeAgentProviderProps, type NativeAgentStatus, NativeSurface, type NativeSurfaceProps, OnboardingWizard, type OpenGraphImage, type OpenGraphResponse, type OpenGraphSection, type OptionCardItem, OptionCards, type OrchestrationCommand, OrderedListArtifact, type OrderedListData, type OrderedListItem, OverlayModal, PerformanceMetrics, PersonaSelector, PieChartArtifact, type PieChartData, type PieSegment, Progress, ProgressTracker, PromptInput, PromptLibrary, type PromptTemplate, type QuestionOption, QuickReplies, type QuickReply, QuizCard, type QuizOption, type QuizQuestion, type QuizResult, type ReasoningStatus, type ReasoningStep, type Recommendation, type RecommendationAction, RecommendationCards, type RecommendationTone, type RenderInstruction, type ReportSection, ReportView, type ResearchStep, type ResearchStepStatus, type RichSegment, type RichText, RowBasedDataList, type RowBasedDataListData, type RowDataRow, ScheduleTimeline, ScrollArea, ScrollBar, type SemanticBuilderChatMessage, SemanticBuilderSocketClient, type SendMessageOptions, type SendOptions, SentimentDisplay, type SentimentScore, type ServerEnvelope, type SettingControl, type SettingsGroup, SettingsPanel, SlotRenderer, type SocketClientOptions, type SocketSendPayload, type SocketUrlResolver, SplitView, type StackedSparklineRow, StackedSparklines, type StackedSparklinesData, StatCardHalfCircle, type StatCardHalfCircleData, StatusBadge, SystemMessage, type TableColumn, type TableData, TableListArtifact, type TableListColumn, type TableListData, type TableListRow, type TableListSeries, TemplateSelector, type TemplateVariable, Textarea, type ThemeConfig, Timestamp, type Tone, type ToolCall, type ToolDefinition, type ToolResult, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tracker, type TrackerData, type TrackerStep, type TrackerStepStatus, type TrendDirection, type TrendTone, TypingIndicator, type UseSemanticBuilderOptions, type UseSemanticBuilderResult, type UserMessageEnvelope, type WidgetPosition, WritingAssistant, badgeVariants, buildSocketUrl, buttonVariants, calculatePercentage, cn, componentManifest, componentMap, componentRegistry, copyToClipboard, createMockBackend, debounce, delay, extractLinkPreview, fetchOpenGraphPreview, findComponentsByCapability, findComponentsByCategory, findComponentsBySurface, formatBytes, formatCurrency, formatNumber, formatRelativeTime, formatTime, generateId, getInitials, getManifestEntry, getSentimentBgColor, getSentimentColor, isBrowser, isInIframe, normalizeWebsiteId, parseTextWithBold, registerAllComponents, truncate, useAgent, useAgentBackend, useAgentInput, useAgentLayout, useAgentMessages, useAgentWorkspace, useAgentWorkspaceOptional, useNativeAgent, useNativeAgentOptional, useSemanticBuilder };
package/dist/index.d.ts CHANGED
@@ -250,6 +250,65 @@ interface AudioPlayerData {
250
250
  activeChapterBg?: string;
251
251
  mutedTextColor?: string;
252
252
  }
253
+ interface LinkPreview {
254
+ url: string;
255
+ domain: string;
256
+ title: string | null;
257
+ description: string | null;
258
+ image: string | null;
259
+ favicon: string | null;
260
+ siteName: string | null;
261
+ }
262
+ interface LinkInputData {
263
+ label?: string;
264
+ /** Serializable icon key resolved via the built-in icon registry. */
265
+ iconName?: string;
266
+ placeholder?: string;
267
+ /** Pre-fill the URL field (and seed the preview before any fetch). */
268
+ defaultUrl?: string;
269
+ /** Pre-resolved preview to render without a fetch. */
270
+ defaultValue?: LinkPreview | null;
271
+ defaultExpanded?: boolean;
272
+ disabled?: boolean;
273
+ /** OpenGraph endpoint (`?url=` appended). Host-supplied; no origin embedded. */
274
+ endpoint?: string;
275
+ }
276
+ type MediaCheckboxMediaType = 'image' | 'video';
277
+ interface MediaCheckboxOption {
278
+ value: string;
279
+ label: string;
280
+ subtitle?: string;
281
+ mediaUrl: string;
282
+ mediaType: MediaCheckboxMediaType;
283
+ /** Poster frame for video options. */
284
+ thumbnailUrl?: string;
285
+ width?: number | string;
286
+ height?: number | string;
287
+ disabled?: boolean;
288
+ }
289
+ interface MediaCheckboxesData {
290
+ options: MediaCheckboxOption[];
291
+ /** Initial selection when uncontrolled (registry path). */
292
+ defaultSelectedValues?: string[];
293
+ minSelection?: number;
294
+ maxSelection?: number;
295
+ /** Tailwind height class or pixel height for the media thumbnails. */
296
+ thumbnailHeight?: string | number;
297
+ }
298
+ interface IconCheckboxOption {
299
+ value: string;
300
+ label: string;
301
+ /** Serializable icon key resolved via the built-in icon registry. */
302
+ iconName?: string;
303
+ disabled?: boolean;
304
+ }
305
+ interface IconCheckboxesData {
306
+ options: IconCheckboxOption[];
307
+ /** Initial selection when uncontrolled (registry path). */
308
+ defaultSelectedValues?: string[];
309
+ minSelection?: number;
310
+ maxSelection?: number;
311
+ }
253
312
 
254
313
  type MessageRole = 'user' | 'assistant' | 'system';
255
314
  interface AgentMessage {
@@ -449,7 +508,7 @@ interface ChartData {
449
508
  xAxisLabel?: string;
450
509
  yAxisLabel?: string;
451
510
  }
452
- type DataPayloadType = 'chart' | 'table' | 'metrics' | 'custom' | 'kpi-card-with-chart' | 'pie-chart' | 'stacked-sparklines' | 'stat-card-half-circle' | 'table-list' | 'kpi-card-with-sparklines' | 'locations-revenue-card' | 'row-based-data-list' | 'badges' | 'ordered-list' | 'deep-research-progress' | 'tracker' | 'built-in-questions' | 'audio-player';
511
+ type DataPayloadType = 'chart' | 'table' | 'metrics' | 'custom' | 'kpi-card-with-chart' | 'pie-chart' | 'stacked-sparklines' | 'stat-card-half-circle' | 'table-list' | 'kpi-card-with-sparklines' | 'locations-revenue-card' | 'row-based-data-list' | 'badges' | 'ordered-list' | 'deep-research-progress' | 'tracker' | 'built-in-questions' | 'audio-player' | 'link-input' | 'media-checkboxes' | 'icon-checkboxes';
453
512
  interface DataPayload {
454
513
  type: DataPayloadType;
455
514
  chart?: ChartData;
@@ -470,6 +529,9 @@ interface DataPayload {
470
529
  tracker?: TrackerData;
471
530
  builtInQuestions?: BuiltInQuestionsData;
472
531
  audioPlayer?: AudioPlayerData;
532
+ linkInput?: LinkInputData;
533
+ mediaCheckboxes?: MediaCheckboxesData;
534
+ iconCheckboxes?: IconCheckboxesData;
473
535
  }
474
536
  interface TableData {
475
537
  columns: TableColumn[];
@@ -2270,6 +2332,137 @@ interface AudioPlayerProps extends AudioPlayerData {
2270
2332
  }
2271
2333
  declare function AudioPlayer({ title, src, durationSeconds, currentTimeSeconds, isPlaying, waveform, chapters, accentColor, inactiveColor, activeChapterBg, mutedTextColor, className, onTogglePlay, onSeek, }: AudioPlayerProps): react.JSX.Element;
2272
2334
 
2335
+ declare const DEFAULT_OPEN_GRAPH_ENDPOINT = "/api/opengraph";
2336
+ type Maybe<T> = T | null | undefined;
2337
+ type OpenGraphImage = {
2338
+ url?: Maybe<string>;
2339
+ height?: Maybe<number | string>;
2340
+ width?: Maybe<number | string>;
2341
+ } | string | null;
2342
+ interface OpenGraphSection {
2343
+ description?: Maybe<string>;
2344
+ title?: Maybe<string>;
2345
+ site_name?: Maybe<string>;
2346
+ image?: OpenGraphImage;
2347
+ video?: unknown;
2348
+ url?: Maybe<string>;
2349
+ ogType?: Maybe<string>;
2350
+ }
2351
+ interface HtmlInferredSection {
2352
+ description?: Maybe<string>;
2353
+ title?: Maybe<string>;
2354
+ type?: Maybe<string>;
2355
+ videoType?: Maybe<string>;
2356
+ url?: Maybe<string>;
2357
+ favicon?: Maybe<string>;
2358
+ images?: string[];
2359
+ image?: Maybe<string>;
2360
+ site_name?: Maybe<string>;
2361
+ }
2362
+ interface HybridGraphSection {
2363
+ description?: Maybe<string>;
2364
+ title?: Maybe<string>;
2365
+ type?: Maybe<string>;
2366
+ image?: Maybe<string>;
2367
+ video?: Maybe<string>;
2368
+ videoType?: Maybe<string>;
2369
+ favicon?: Maybe<string>;
2370
+ site_name?: Maybe<string>;
2371
+ url?: Maybe<string>;
2372
+ videoWidth?: Maybe<number>;
2373
+ videoHeight?: Maybe<number>;
2374
+ }
2375
+ interface OpenGraphResponse {
2376
+ requestedUrl?: Maybe<string>;
2377
+ finalUrl?: Maybe<string>;
2378
+ url?: Maybe<string>;
2379
+ normalizedUrl?: Maybe<string>;
2380
+ status?: number;
2381
+ contentType?: Maybe<string>;
2382
+ fetchedAt?: Maybe<string>;
2383
+ bodyBytes?: number;
2384
+ bodyTruncated?: boolean;
2385
+ maxBodyBytes?: number;
2386
+ cache?: {
2387
+ hit: boolean;
2388
+ ageSeconds: number;
2389
+ ttlSeconds: number;
2390
+ staleWhileRevalidateSeconds: number;
2391
+ };
2392
+ openGraph?: Maybe<OpenGraphSection>;
2393
+ htmlInferred?: Maybe<HtmlInferredSection>;
2394
+ hybridGraph?: Maybe<HybridGraphSection>;
2395
+ }
2396
+ type LinkInputStatus = 'idle' | 'loading' | 'error';
2397
+ interface LinkInputProps extends LinkInputData {
2398
+ /** Runtime-only icon node (takes priority over `iconName`). */
2399
+ icon?: ReactNode;
2400
+ /** Controlled resolved preview. */
2401
+ value?: LinkPreview | null;
2402
+ /** Controlled expanded state. */
2403
+ expanded?: boolean;
2404
+ /** Custom OpenGraph fetcher; overrides the default endpoint fetch. */
2405
+ fetcher?: (url: string) => Promise<OpenGraphResponse>;
2406
+ onSubmit?: (data: OpenGraphResponse, preview: LinkPreview) => void;
2407
+ onValueChange?: (preview: LinkPreview | null, data: OpenGraphResponse | null) => void;
2408
+ onClear?: () => void;
2409
+ onExpandedChange?: (expanded: boolean) => void;
2410
+ className?: string;
2411
+ }
2412
+ type LinkInputOption = Omit<LinkInputProps, 'expanded' | 'onExpandedChange' | 'onSubmit' | 'onValueChange' | 'onClear'> & {
2413
+ id: string;
2414
+ };
2415
+ interface LinkInputGroupProps {
2416
+ options: LinkInputOption[];
2417
+ onSubmit?: (id: string, data: OpenGraphResponse, preview: LinkPreview) => void;
2418
+ onValueChange?: (id: string, preview: LinkPreview | null, data: OpenGraphResponse | null) => void;
2419
+ onClear?: (id: string) => void;
2420
+ className?: string;
2421
+ }
2422
+ /** Collapse an OpenGraph response into the flat `LinkPreview` the card renders. */
2423
+ declare function extractLinkPreview(data: OpenGraphResponse, fallbackUrl?: string): LinkPreview;
2424
+ /** Default fetcher — GETs `{endpoint}?url=` and parses the OpenGraph JSON. */
2425
+ declare function fetchOpenGraphPreview(url: string, endpoint?: string): Promise<OpenGraphResponse>;
2426
+ declare function LinkInput({ label, icon, iconName, placeholder, defaultUrl, defaultValue, value, defaultExpanded, expanded: controlledExpanded, disabled, endpoint, fetcher, onSubmit, onValueChange, onClear, onExpandedChange, className, }: LinkInputProps): react.JSX.Element;
2427
+ /** Renders a vertical stack of LinkInputs where at most one is expanded. */
2428
+ declare function LinkInputGroup({ options, onSubmit, onValueChange, onClear, className, }: LinkInputGroupProps): react.JSX.Element;
2429
+
2430
+ interface MediaCheckboxesProps extends MediaCheckboxesData {
2431
+ /** Controlled selection. Omit (with no `onSelect`) for uncontrolled use. */
2432
+ selectedValues?: string[];
2433
+ /** Initial selection when uncontrolled. */
2434
+ defaultSelectedValues?: string[];
2435
+ /** Fired with the next full selection array on every toggle. */
2436
+ onSelect?: (selected: string[]) => void;
2437
+ className?: string;
2438
+ }
2439
+ declare function MediaCheckboxes({ options, selectedValues, defaultSelectedValues, onSelect, minSelection, maxSelection, className, thumbnailHeight, }: MediaCheckboxesProps): react.JSX.Element;
2440
+
2441
+ interface IconCheckboxItem {
2442
+ /** Unique identifier for the option. */
2443
+ value: string;
2444
+ /** Display label. */
2445
+ label: string;
2446
+ /** Runtime-only icon node (takes priority over `iconName`). */
2447
+ icon?: ReactNode;
2448
+ /** Serializable icon key resolved via the built-in icon registry. */
2449
+ iconName?: string;
2450
+ /** Render the tile non-interactive. */
2451
+ disabled?: boolean;
2452
+ }
2453
+ interface IconCheckboxesProps extends Omit<IconCheckboxesData, 'options'> {
2454
+ /** Options to render. Accepts both `icon` (node) and `iconName` (string). */
2455
+ options: IconCheckboxItem[];
2456
+ /** Controlled selection. Omit (with no `onSelect`) for uncontrolled use. */
2457
+ selectedValues?: string[];
2458
+ /** Initial selection when uncontrolled. */
2459
+ defaultSelectedValues?: string[];
2460
+ /** Fired with the next full selection array on every toggle. */
2461
+ onSelect?: (selected: string[]) => void;
2462
+ className?: string;
2463
+ }
2464
+ declare function IconCheckboxes({ options, selectedValues, defaultSelectedValues, onSelect, minSelection, maxSelection, className, }: IconCheckboxesProps): react.JSX.Element;
2465
+
2273
2466
  type MediaKind = 'image' | 'video' | 'file' | 'link';
2274
2467
  interface MediaItem {
2275
2468
  id: string;
@@ -3463,4 +3656,4 @@ interface NativeSurfaceProps {
3463
3656
  }
3464
3657
  declare function NativeSurface({ children, input, title, subtitle, icon, headerActions, suggestions, footer, isLoading, autoScroll, className, contentClassName, }: NativeSurfaceProps): react.JSX.Element;
3465
3658
 
3466
- export { type AgendaItem, type AgendaItemAction, type AgendaItemState, type AgendaSlotOption, type AgentAction, type AgentAttachment, AgentAvatar, type AgentBackend, type AgentBlock, AgentComposer, type AgentComposerProps, type AgentConfig, type AgentContextValue, AgentConversation, type AgentConversationProps, type AgentEvent, type AgentEventType, type AgentFeatures, AgentHandoff, type AgentHandoffProps, type AgentMessage, type AgentPersona, AgentProvider, type AgentProviderProps, type AgentReport, type AgentState, type AgentStreamChunk, AgentSurface, type AgentSurfaceProps, AgentWorkspace, AgentWorkspaceComposer, type AgentWorkspaceComposerProps, type AgentWorkspaceContextValue, AgentWorkspacePanelToggle, type AgentWorkspacePanelToggleProps, type AgentWorkspaceProps, AgentWorkspaceSkeleton, type AgentWorkspaceSkeletonProps, AllocationBreakdown, type AllocationSegment, type AllocationSummaryStat, type AnalyticsBreakdownRow, AnalyticsDashboard, type AnalyticsDashboardProps, type AnalyticsDistributionSegment, type AnalyticsHighlight, type AnalyticsMetric, type AnalyticsRankedRow, type AnalyticsRecentItem, type AnalyticsTrend, type AssistantMessageBlocksEnvelope, type AssistantMessageCompleteEnvelope, type AssistantMessageDeltaEnvelope, type AssistantMessageStartEnvelope, type AssistantMessageThinkingDeltaEnvelope, type Attachment, type AttachmentKind, type AttachmentMediaType, type AttachmentType, type AudioChapter, AudioPlayer, type AudioPlayerData, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeGroup, type BadgeTone, BadgesArtifact, type BadgesData, type BlockUpdateMode, BuiltInQuestions, type BuiltInQuestionsData, Button, ChartContainer, type ChartData, type ChartDataPoint, type ChartType, type ChatMessageRole, ChatPanel, Collapsible, CollapsibleContent, CollapsibleTrigger, type ComponentCapability, type ComponentCategory, type ComponentManifestEntry, type ComponentSlot, type ConfirmationAction, type ConfirmationActionData, type ConfirmationData, ConfirmationPanel, type ConfirmationPanelProps, type ConnectionReadyEnvelope, type ConnectionState, type ConnectionStrategy, ControlGrid, type ControlTile, type ControlTileType, ConversationAnalytics, ConversationArtifact, type ConversationArtifactProps, type ConversationHistoryItem, type DataPayload, type DataPayloadType, DataPayloadView, DataTable, DeepResearchProgress, type DeepResearchProgressData, type Direction, DynamicRenderer, type EditorAdjustment, type EditorTool, type EmotionScore, type EntityAction, EntityCard, type EntityCardData, type EntityField, type ErrorEnvelope, type ExecutionStep, type ExecutionStepStatus, type FeedbackCategory, type FeedbackSentiment, FileDropZone, FloatingWidget, FullBleedSurface, type FullBleedSurfaceProps, FullscreenDashboard, type GenerateReportOptions, GuidedLessonFlow, type HandoffAction, type HandoffAgent, type HandoffCandidate, type HandoffStatus, type HandoffVariant, ImageGenerator, type InlineSuggestion, InlineSuggestionsInput, Input, KpiCardWithChart, type KpiCardWithChartData, KpiCardWithSparklines, type KpiCardWithSparklinesData, type LayoutConfig, type LayoutMode, type LessonStep, type LibraryPrompt, type Listing, type ListingAction, ListingFeed, type ListingField, type LocationRow, type LocationStatus, LocationsRevenueCard, type LocationsRevenueData, type ManifestPropSpec, MediaEditorCanvas, MediaGallery, type MediaItem, type MediaKind, MessageActions, MessageBubble, type MessageBubbleProps, MessageContainer, type MessageContainerProps, MessageContent, type MessageContentProps, type MessageFeedback, MessageList, type MessageListProps, type MessageMetadata, type MessageRole, MessageWithAttachments, MessageWithFeedback, MessageWithReasoning, MessageWithSteps, type MetricData, MetricsGrid, MobileShell, type MockBackendConfig, MultimodalInput, type NativeAgentContextValue, NativeAgentProvider, type NativeAgentProviderProps, type NativeAgentStatus, NativeSurface, type NativeSurfaceProps, OnboardingWizard, type OptionCardItem, OptionCards, type OrchestrationCommand, OrderedListArtifact, type OrderedListData, type OrderedListItem, OverlayModal, PerformanceMetrics, PersonaSelector, PieChartArtifact, type PieChartData, type PieSegment, Progress, ProgressTracker, PromptInput, PromptLibrary, type PromptTemplate, type QuestionOption, QuickReplies, type QuickReply, QuizCard, type QuizOption, type QuizQuestion, type QuizResult, type ReasoningStatus, type ReasoningStep, type Recommendation, type RecommendationAction, RecommendationCards, type RecommendationTone, type RenderInstruction, type ReportSection, ReportView, type ResearchStep, type ResearchStepStatus, type RichSegment, type RichText, RowBasedDataList, type RowBasedDataListData, type RowDataRow, ScheduleTimeline, ScrollArea, ScrollBar, type SemanticBuilderChatMessage, SemanticBuilderSocketClient, type SendMessageOptions, type SendOptions, SentimentDisplay, type SentimentScore, type ServerEnvelope, type SettingControl, type SettingsGroup, SettingsPanel, SlotRenderer, type SocketClientOptions, type SocketSendPayload, type SocketUrlResolver, SplitView, type StackedSparklineRow, StackedSparklines, type StackedSparklinesData, StatCardHalfCircle, type StatCardHalfCircleData, StatusBadge, SystemMessage, type TableColumn, type TableData, TableListArtifact, type TableListColumn, type TableListData, type TableListRow, type TableListSeries, TemplateSelector, type TemplateVariable, Textarea, type ThemeConfig, Timestamp, type Tone, type ToolCall, type ToolDefinition, type ToolResult, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tracker, type TrackerData, type TrackerStep, type TrackerStepStatus, type TrendDirection, type TrendTone, TypingIndicator, type UseSemanticBuilderOptions, type UseSemanticBuilderResult, type UserMessageEnvelope, type WidgetPosition, WritingAssistant, badgeVariants, buildSocketUrl, buttonVariants, calculatePercentage, cn, componentManifest, componentMap, componentRegistry, copyToClipboard, createMockBackend, debounce, delay, findComponentsByCapability, findComponentsByCategory, findComponentsBySurface, formatBytes, formatCurrency, formatNumber, formatRelativeTime, formatTime, generateId, getInitials, getManifestEntry, getSentimentBgColor, getSentimentColor, isBrowser, isInIframe, normalizeWebsiteId, parseTextWithBold, registerAllComponents, truncate, useAgent, useAgentBackend, useAgentInput, useAgentLayout, useAgentMessages, useAgentWorkspace, useAgentWorkspaceOptional, useNativeAgent, useNativeAgentOptional, useSemanticBuilder };
3659
+ export { type AgendaItem, type AgendaItemAction, type AgendaItemState, type AgendaSlotOption, type AgentAction, type AgentAttachment, AgentAvatar, type AgentBackend, type AgentBlock, AgentComposer, type AgentComposerProps, type AgentConfig, type AgentContextValue, AgentConversation, type AgentConversationProps, type AgentEvent, type AgentEventType, type AgentFeatures, AgentHandoff, type AgentHandoffProps, type AgentMessage, type AgentPersona, AgentProvider, type AgentProviderProps, type AgentReport, type AgentState, type AgentStreamChunk, AgentSurface, type AgentSurfaceProps, AgentWorkspace, AgentWorkspaceComposer, type AgentWorkspaceComposerProps, type AgentWorkspaceContextValue, AgentWorkspacePanelToggle, type AgentWorkspacePanelToggleProps, type AgentWorkspaceProps, AgentWorkspaceSkeleton, type AgentWorkspaceSkeletonProps, AllocationBreakdown, type AllocationSegment, type AllocationSummaryStat, type AnalyticsBreakdownRow, AnalyticsDashboard, type AnalyticsDashboardProps, type AnalyticsDistributionSegment, type AnalyticsHighlight, type AnalyticsMetric, type AnalyticsRankedRow, type AnalyticsRecentItem, type AnalyticsTrend, type AssistantMessageBlocksEnvelope, type AssistantMessageCompleteEnvelope, type AssistantMessageDeltaEnvelope, type AssistantMessageStartEnvelope, type AssistantMessageThinkingDeltaEnvelope, type Attachment, type AttachmentKind, type AttachmentMediaType, type AttachmentType, type AudioChapter, AudioPlayer, type AudioPlayerData, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeGroup, type BadgeTone, BadgesArtifact, type BadgesData, type BlockUpdateMode, BuiltInQuestions, type BuiltInQuestionsData, Button, ChartContainer, type ChartData, type ChartDataPoint, type ChartType, type ChatMessageRole, ChatPanel, Collapsible, CollapsibleContent, CollapsibleTrigger, type ComponentCapability, type ComponentCategory, type ComponentManifestEntry, type ComponentSlot, type ConfirmationAction, type ConfirmationActionData, type ConfirmationData, ConfirmationPanel, type ConfirmationPanelProps, type ConnectionReadyEnvelope, type ConnectionState, type ConnectionStrategy, ControlGrid, type ControlTile, type ControlTileType, ConversationAnalytics, ConversationArtifact, type ConversationArtifactProps, type ConversationHistoryItem, DEFAULT_OPEN_GRAPH_ENDPOINT, type DataPayload, type DataPayloadType, DataPayloadView, DataTable, DeepResearchProgress, type DeepResearchProgressData, type Direction, DynamicRenderer, type EditorAdjustment, type EditorTool, type EmotionScore, type EntityAction, EntityCard, type EntityCardData, type EntityField, type ErrorEnvelope, type ExecutionStep, type ExecutionStepStatus, type FeedbackCategory, type FeedbackSentiment, FileDropZone, FloatingWidget, FullBleedSurface, type FullBleedSurfaceProps, FullscreenDashboard, type GenerateReportOptions, GuidedLessonFlow, type HandoffAction, type HandoffAgent, type HandoffCandidate, type HandoffStatus, type HandoffVariant, type HtmlInferredSection, type HybridGraphSection, type IconCheckboxItem, type IconCheckboxOption, IconCheckboxes, type IconCheckboxesData, type IconCheckboxesProps, ImageGenerator, type InlineSuggestion, InlineSuggestionsInput, Input, KpiCardWithChart, type KpiCardWithChartData, KpiCardWithSparklines, type KpiCardWithSparklinesData, type LayoutConfig, type LayoutMode, type LessonStep, type LibraryPrompt, LinkInput, type LinkInputData, LinkInputGroup, type LinkInputGroupProps, type LinkInputOption, type LinkInputProps, type LinkInputStatus, type LinkPreview, type Listing, type ListingAction, ListingFeed, type ListingField, type LocationRow, type LocationStatus, LocationsRevenueCard, type LocationsRevenueData, type ManifestPropSpec, type MediaCheckboxMediaType, type MediaCheckboxOption, MediaCheckboxes, type MediaCheckboxesData, type MediaCheckboxesProps, MediaEditorCanvas, MediaGallery, type MediaItem, type MediaKind, MessageActions, MessageBubble, type MessageBubbleProps, MessageContainer, type MessageContainerProps, MessageContent, type MessageContentProps, type MessageFeedback, MessageList, type MessageListProps, type MessageMetadata, type MessageRole, MessageWithAttachments, MessageWithFeedback, MessageWithReasoning, MessageWithSteps, type MetricData, MetricsGrid, MobileShell, type MockBackendConfig, MultimodalInput, type NativeAgentContextValue, NativeAgentProvider, type NativeAgentProviderProps, type NativeAgentStatus, NativeSurface, type NativeSurfaceProps, OnboardingWizard, type OpenGraphImage, type OpenGraphResponse, type OpenGraphSection, type OptionCardItem, OptionCards, type OrchestrationCommand, OrderedListArtifact, type OrderedListData, type OrderedListItem, OverlayModal, PerformanceMetrics, PersonaSelector, PieChartArtifact, type PieChartData, type PieSegment, Progress, ProgressTracker, PromptInput, PromptLibrary, type PromptTemplate, type QuestionOption, QuickReplies, type QuickReply, QuizCard, type QuizOption, type QuizQuestion, type QuizResult, type ReasoningStatus, type ReasoningStep, type Recommendation, type RecommendationAction, RecommendationCards, type RecommendationTone, type RenderInstruction, type ReportSection, ReportView, type ResearchStep, type ResearchStepStatus, type RichSegment, type RichText, RowBasedDataList, type RowBasedDataListData, type RowDataRow, ScheduleTimeline, ScrollArea, ScrollBar, type SemanticBuilderChatMessage, SemanticBuilderSocketClient, type SendMessageOptions, type SendOptions, SentimentDisplay, type SentimentScore, type ServerEnvelope, type SettingControl, type SettingsGroup, SettingsPanel, SlotRenderer, type SocketClientOptions, type SocketSendPayload, type SocketUrlResolver, SplitView, type StackedSparklineRow, StackedSparklines, type StackedSparklinesData, StatCardHalfCircle, type StatCardHalfCircleData, StatusBadge, SystemMessage, type TableColumn, type TableData, TableListArtifact, type TableListColumn, type TableListData, type TableListRow, type TableListSeries, TemplateSelector, type TemplateVariable, Textarea, type ThemeConfig, Timestamp, type Tone, type ToolCall, type ToolDefinition, type ToolResult, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tracker, type TrackerData, type TrackerStep, type TrackerStepStatus, type TrendDirection, type TrendTone, TypingIndicator, type UseSemanticBuilderOptions, type UseSemanticBuilderResult, type UserMessageEnvelope, type WidgetPosition, WritingAssistant, badgeVariants, buildSocketUrl, buttonVariants, calculatePercentage, cn, componentManifest, componentMap, componentRegistry, copyToClipboard, createMockBackend, debounce, delay, extractLinkPreview, fetchOpenGraphPreview, findComponentsByCapability, findComponentsByCategory, findComponentsBySurface, formatBytes, formatCurrency, formatNumber, formatRelativeTime, formatTime, generateId, getInitials, getManifestEntry, getSentimentBgColor, getSentimentColor, isBrowser, isInIframe, normalizeWebsiteId, parseTextWithBold, registerAllComponents, truncate, useAgent, useAgentBackend, useAgentInput, useAgentLayout, useAgentMessages, useAgentWorkspace, useAgentWorkspaceOptional, useNativeAgent, useNativeAgentOptional, useSemanticBuilder };