@page-speed/agent-everywhere 0.7.0 → 0.9.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.ts CHANGED
@@ -9,6 +9,248 @@ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
9
9
  import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
10
10
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
11
11
 
12
+ type Direction = 'up' | 'down' | 'flat';
13
+ type Tone = 'default' | 'positive' | 'negative' | 'neutral' | 'warning' | 'info' | 'muted';
14
+ interface RichSegment {
15
+ text: string;
16
+ bold?: boolean;
17
+ tone?: Tone;
18
+ code?: boolean;
19
+ }
20
+ type RichText = string | RichSegment[];
21
+ interface KpiCardWithChartData {
22
+ title: string;
23
+ rangeLabel?: string;
24
+ data: {
25
+ label?: string;
26
+ value: number;
27
+ }[];
28
+ xAxisLabels?: string[];
29
+ value?: string | number;
30
+ delta?: {
31
+ value: string;
32
+ direction: Direction;
33
+ };
34
+ seriesColor?: string;
35
+ pillColor?: string;
36
+ showBaseline?: boolean;
37
+ valuePrefix?: string;
38
+ valueSuffix?: string;
39
+ }
40
+ interface PieSegment {
41
+ label: string;
42
+ value: number;
43
+ color?: string;
44
+ displayValue?: string;
45
+ }
46
+ interface PieChartData {
47
+ title?: string;
48
+ centerLabel?: string;
49
+ centerSublabel?: string;
50
+ segments: PieSegment[];
51
+ valueFormat?: 'percent' | 'value' | 'none';
52
+ }
53
+ interface StackedSparklineRow {
54
+ label: string;
55
+ value: string;
56
+ data: number[];
57
+ color?: string;
58
+ trend?: Direction;
59
+ }
60
+ interface StackedSparklinesData {
61
+ rows: StackedSparklineRow[];
62
+ }
63
+ interface StatCardHalfCircleData {
64
+ title: string;
65
+ value: number;
66
+ displayValue?: string;
67
+ min?: number;
68
+ max?: number;
69
+ minLabel?: string;
70
+ maxLabel?: string;
71
+ fillColor?: string;
72
+ trackColor?: string;
73
+ valueColor?: string;
74
+ minLabelColor?: string;
75
+ maxLabelColor?: string;
76
+ titleColor?: string;
77
+ }
78
+ interface TableListSeries {
79
+ name: string;
80
+ color: string;
81
+ data: number[];
82
+ }
83
+ interface TableListColumn {
84
+ key: string;
85
+ label: string;
86
+ align?: 'left' | 'right' | 'center';
87
+ }
88
+ interface TableListRow {
89
+ label: string;
90
+ value: string;
91
+ delta?: {
92
+ text: string;
93
+ direction?: Direction;
94
+ };
95
+ }
96
+ interface TableListData {
97
+ promptText?: string;
98
+ chartTitle: string;
99
+ series: TableListSeries[];
100
+ xAxisLabels: string[];
101
+ yAxisTicks?: {
102
+ value: number;
103
+ label: string;
104
+ }[];
105
+ chartType?: 'area' | 'line';
106
+ tableColumns: TableListColumn[];
107
+ tableRows: TableListRow[];
108
+ summaryText?: RichText;
109
+ valueFormat?: 'currency' | 'number' | 'percent';
110
+ }
111
+ interface KpiCardWithSparklinesData {
112
+ label: string;
113
+ value: string;
114
+ delta?: {
115
+ value: string;
116
+ direction: Direction;
117
+ tone?: Tone;
118
+ };
119
+ caption?: string;
120
+ icon?: string;
121
+ iconChipBg?: string;
122
+ iconChipFg?: string;
123
+ sparkline?: {
124
+ data: number[];
125
+ color?: string;
126
+ showArea?: boolean;
127
+ smooth?: boolean;
128
+ };
129
+ accentColor?: string;
130
+ valueColor?: string;
131
+ }
132
+ type LocationStatus = 'healthy' | 'warning' | 'critical';
133
+ interface LocationRow {
134
+ id?: string;
135
+ name: string;
136
+ revenue: string;
137
+ status: LocationStatus;
138
+ statusColor?: string;
139
+ statusLabel?: string;
140
+ }
141
+ interface LocationsRevenueData {
142
+ locationColumnLabel?: string;
143
+ revenueColumnLabel?: string;
144
+ statusColumnLabel?: string;
145
+ rows: LocationRow[];
146
+ }
147
+ interface RowDataRow {
148
+ label: string;
149
+ value: string;
150
+ valueColor?: 'default' | 'positive' | 'negative' | 'warning' | 'muted';
151
+ href?: string;
152
+ }
153
+ interface RowBasedDataListData {
154
+ rows: RowDataRow[];
155
+ title?: string;
156
+ labelColumnWidth?: string;
157
+ density?: 'comfortable' | 'compact';
158
+ }
159
+ type BadgeTone = 'green' | 'blue' | 'amber' | 'red' | 'gray' | 'neutral';
160
+ interface Badge$1 {
161
+ label: string;
162
+ tone?: BadgeTone;
163
+ color?: string;
164
+ dot?: boolean;
165
+ dotColor?: string;
166
+ style?: 'solid' | 'outline';
167
+ }
168
+ interface BadgeGroup {
169
+ label?: string;
170
+ variant?: 'status' | 'tag';
171
+ badges: Badge$1[];
172
+ }
173
+ interface BadgesData {
174
+ groups: BadgeGroup[];
175
+ }
176
+ interface OrderedListItem {
177
+ content: RichText;
178
+ marker?: string;
179
+ tone?: 'default' | 'positive' | 'negative' | 'muted' | 'info';
180
+ }
181
+ interface OrderedListData {
182
+ title?: string;
183
+ intro?: RichText;
184
+ items: OrderedListItem[];
185
+ startIndex?: number;
186
+ markerStyle?: 'number' | 'lower-alpha' | 'upper-alpha' | 'lower-roman';
187
+ }
188
+ type ResearchStepStatus = 'completed' | 'in_progress' | 'pending';
189
+ interface ResearchStep {
190
+ id?: string;
191
+ label: string;
192
+ status: ResearchStepStatus;
193
+ }
194
+ interface DeepResearchProgressData {
195
+ taskLabel?: string;
196
+ taskDescription: string;
197
+ steps: ResearchStep[];
198
+ findingsLabel?: string;
199
+ findings?: RichText;
200
+ showFindings?: boolean;
201
+ }
202
+ type TrackerStepStatus = 'complete' | 'active' | 'pending' | 'error';
203
+ interface TrackerStep {
204
+ id?: string;
205
+ title: string;
206
+ description?: string;
207
+ status?: TrackerStepStatus;
208
+ }
209
+ interface TrackerData {
210
+ steps: TrackerStep[];
211
+ footer?: {
212
+ thinkingLabel?: string;
213
+ sourcesLabel?: string;
214
+ items?: string[];
215
+ };
216
+ showFooterIcon?: boolean;
217
+ accentColor?: string;
218
+ }
219
+ interface QuestionOption {
220
+ id: string;
221
+ label: string;
222
+ isOther?: boolean;
223
+ }
224
+ interface BuiltInQuestionsData {
225
+ question: string;
226
+ options: QuestionOption[];
227
+ selectedOptionId?: string | null;
228
+ customAnswer?: string;
229
+ customAnswerPlaceholder?: string;
230
+ progressLabel?: string;
231
+ categoryLabel?: string;
232
+ questionIndex?: number;
233
+ questionTotal?: number;
234
+ submitted?: boolean;
235
+ }
236
+ interface AudioChapter {
237
+ startSeconds: number;
238
+ label: string;
239
+ }
240
+ interface AudioPlayerData {
241
+ title?: string;
242
+ src: string;
243
+ durationSeconds?: number;
244
+ currentTimeSeconds?: number;
245
+ isPlaying?: boolean;
246
+ waveform?: number[];
247
+ chapters?: AudioChapter[];
248
+ accentColor?: string;
249
+ inactiveColor?: string;
250
+ activeChapterBg?: string;
251
+ mutedTextColor?: string;
252
+ }
253
+
12
254
  type MessageRole = 'user' | 'assistant' | 'system';
13
255
  interface AgentMessage {
14
256
  id: string;
@@ -207,12 +449,27 @@ interface ChartData {
207
449
  xAxisLabel?: string;
208
450
  yAxisLabel?: string;
209
451
  }
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';
210
453
  interface DataPayload {
211
- type: 'chart' | 'table' | 'metrics' | 'custom';
454
+ type: DataPayloadType;
212
455
  chart?: ChartData;
213
456
  table?: TableData;
214
457
  metrics?: MetricData[];
215
458
  custom?: Record<string, unknown>;
459
+ kpiCardWithChart?: KpiCardWithChartData;
460
+ pieChart?: PieChartData;
461
+ stackedSparklines?: StackedSparklinesData;
462
+ statCardHalfCircle?: StatCardHalfCircleData;
463
+ tableList?: TableListData;
464
+ kpiCardWithSparklines?: KpiCardWithSparklinesData;
465
+ locationsRevenue?: LocationsRevenueData;
466
+ rowBasedDataList?: RowBasedDataListData;
467
+ badges?: BadgesData;
468
+ orderedList?: OrderedListData;
469
+ deepResearchProgress?: DeepResearchProgressData;
470
+ tracker?: TrackerData;
471
+ builtInQuestions?: BuiltInQuestionsData;
472
+ audioPlayer?: AudioPlayerData;
216
473
  }
217
474
  interface TableData {
218
475
  columns: TableColumn[];
@@ -991,7 +1248,7 @@ interface UseSemanticBuilderResult {
991
1248
  declare function useSemanticBuilder<TBlock = AgentBlock>({ socketUrl, resolveSocketUrl, websiteId, pageCategoryId, pageName, pageSlug, blocks, contentBrief, enabled, onGeneratedBlocks, onUndoRequest, buildWelcomeMessage, seedWelcomeMessage, webSocketImpl, }: UseSemanticBuilderOptions<TBlock>): UseSemanticBuilderResult;
992
1249
 
993
1250
  declare const buttonVariants: (props?: ({
994
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
1251
+ variant?: "default" | "outline" | "destructive" | "secondary" | "ghost" | "link" | null | undefined;
995
1252
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
996
1253
  } & class_variance_authority_types.ClassProp) | undefined) => string;
997
1254
  interface ButtonProps extends react.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -1004,7 +1261,7 @@ declare const Input: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProp
1004
1261
  declare const Textarea: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & react.RefAttributes<HTMLTextAreaElement>>;
1005
1262
 
1006
1263
  declare const badgeVariants: (props?: ({
1007
- variant?: "default" | "destructive" | "outline" | "secondary" | "error" | "success" | "warning" | null | undefined;
1264
+ variant?: "default" | "warning" | "outline" | "error" | "destructive" | "secondary" | "success" | null | undefined;
1008
1265
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1009
1266
  interface BadgeProps extends react.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
1010
1267
  }
@@ -1878,7 +2135,7 @@ interface DataPayloadViewProps {
1878
2135
  className?: string;
1879
2136
  }
1880
2137
  /** Renders any DataPayload via the appropriate data-display component. */
1881
- declare function DataPayloadView({ payload, className }: DataPayloadViewProps): react.JSX.Element | null;
2138
+ declare function DataPayloadView({ payload, className }: DataPayloadViewProps): react__default.JSX.Element | null;
1882
2139
  interface ReportViewProps {
1883
2140
  report: AgentReport;
1884
2141
  className?: string;
@@ -1887,7 +2144,131 @@ interface ReportViewProps {
1887
2144
  * Renders a structured AgentReport as a sequence of titled sections. Used as
1888
2145
  * the default content for the expand-to-dashboard surface.
1889
2146
  */
1890
- declare function ReportView({ report, className }: ReportViewProps): react.JSX.Element;
2147
+ declare function ReportView({ report, className }: ReportViewProps): react__default.JSX.Element;
2148
+
2149
+ interface KpiCardWithChartProps extends KpiCardWithChartData {
2150
+ className?: string;
2151
+ }
2152
+ declare function KpiCardWithChart({ title, rangeLabel, data, xAxisLabels, value, delta, seriesColor, pillColor, showBaseline, valuePrefix, valueSuffix, className, }: KpiCardWithChartProps): react.JSX.Element;
2153
+
2154
+ interface PieChartArtifactProps extends PieChartData {
2155
+ className?: string;
2156
+ }
2157
+ declare function PieChartArtifact({ title, centerLabel, centerSublabel, segments, valueFormat, className, }: PieChartArtifactProps): react.JSX.Element;
2158
+
2159
+ interface StackedSparklinesProps extends StackedSparklinesData {
2160
+ className?: string;
2161
+ }
2162
+ declare function StackedSparklines({ rows, className }: StackedSparklinesProps): react.JSX.Element;
2163
+
2164
+ interface StatCardHalfCircleProps extends StatCardHalfCircleData {
2165
+ className?: string;
2166
+ }
2167
+ declare function StatCardHalfCircle({ title, value, displayValue, min, max, minLabel, maxLabel, fillColor, trackColor, valueColor, minLabelColor, maxLabelColor, titleColor, className, }: StatCardHalfCircleProps): react.JSX.Element;
2168
+
2169
+ interface TableListArtifactProps extends TableListData {
2170
+ className?: string;
2171
+ }
2172
+ declare function TableListArtifact({ chartTitle, series, xAxisLabels, yAxisTicks, chartType, tableColumns, tableRows, summaryText, className, }: TableListArtifactProps): react.JSX.Element;
2173
+
2174
+ interface KpiCardWithSparklinesProps extends KpiCardWithSparklinesData {
2175
+ className?: string;
2176
+ /** Optional handler making the whole card actionable (drill-down/navigation). */
2177
+ onClick?: () => void;
2178
+ }
2179
+ declare function KpiCardWithSparklines({ label, value, delta, caption, icon, iconChipBg, iconChipFg, sparkline, accentColor, valueColor, className, onClick, }: KpiCardWithSparklinesProps): react.JSX.Element;
2180
+
2181
+ interface LocationsRevenueCardProps extends LocationsRevenueData {
2182
+ className?: string;
2183
+ }
2184
+ declare function LocationsRevenueCard({ locationColumnLabel, revenueColumnLabel, statusColumnLabel, rows, className, }: LocationsRevenueCardProps): react.JSX.Element;
2185
+
2186
+ interface RowBasedDataListProps extends RowBasedDataListData {
2187
+ className?: string;
2188
+ }
2189
+ declare function RowBasedDataList({ rows, title, labelColumnWidth, density, className, }: RowBasedDataListProps): react.JSX.Element;
2190
+
2191
+ interface BadgesArtifactProps extends BadgesData {
2192
+ className?: string;
2193
+ }
2194
+ declare function BadgesArtifact({ groups, className }: BadgesArtifactProps): react.JSX.Element | null;
2195
+
2196
+ interface OrderedListArtifactProps extends OrderedListData {
2197
+ /** Optional wrapper class. */
2198
+ className?: string;
2199
+ }
2200
+ /**
2201
+ * OrderedListArtifact — a titled, optionally-introduced numbered list where each
2202
+ * factor/step is a sequenced row with a numbered badge and rich inline emphasis.
2203
+ *
2204
+ * Layout (matching the mockup): a left-aligned vertical stack with no card
2205
+ * chrome —
2206
+ * 1. optional bold near-black title
2207
+ * 2. optional muted-gray intro paragraph (supports inline bold via renderRich)
2208
+ * 3. an `<ol>` of rows, each a small rounded-square badge (1-based marker) +
2209
+ * rich body text.
2210
+ *
2211
+ * Badge labels come from `item.marker` when present, else from
2212
+ * {@link formatMarker} using `markerStyle` + `startIndex`. SSR-safe (pure
2213
+ * render, no browser APIs). Every visible string/color is prop-driven.
2214
+ */
2215
+ declare function OrderedListArtifact({ title, intro, items, startIndex, markerStyle, className, }: OrderedListArtifactProps): react.JSX.Element;
2216
+
2217
+ interface DeepResearchProgressProps extends DeepResearchProgressData {
2218
+ /** Optional wrapper class. */
2219
+ className?: string;
2220
+ }
2221
+ /**
2222
+ * DeepResearchProgress — see file header. Guards malformed/empty payloads:
2223
+ * a missing/empty `steps` array renders no checklist; the findings block hides
2224
+ * unless it has content and `showFindings` is not `false`.
2225
+ */
2226
+ declare function DeepResearchProgress({ taskLabel, taskDescription, steps, findingsLabel, findings, showFindings, className, }: DeepResearchProgressProps): react.JSX.Element;
2227
+
2228
+ interface TrackerProps extends TrackerData {
2229
+ className?: string;
2230
+ }
2231
+ declare function Tracker({ steps, footer, showFooterIcon, accentColor, className, }: TrackerProps): react.JSX.Element;
2232
+
2233
+ interface BuiltInQuestionsCallbacks {
2234
+ /** Fired when an option row is selected. */
2235
+ onSelect?: (optionId: string) => void;
2236
+ /** Fired as the user types into the expanded "Other" input. */
2237
+ onCustomAnswerChange?: (value: string) => void;
2238
+ /** Fired when an answer is committed (auto on plain select, or on blur/enter for Other). */
2239
+ onAnswer?: (answer: {
2240
+ optionId: string;
2241
+ customAnswer?: string;
2242
+ }) => void;
2243
+ }
2244
+ interface BuiltInQuestionsProps extends BuiltInQuestionsData, BuiltInQuestionsCallbacks {
2245
+ className?: string;
2246
+ }
2247
+ interface BuiltInQuestionsColors {
2248
+ selectedBg?: string;
2249
+ selectedBorder?: string;
2250
+ selectedCircle?: string;
2251
+ selectedLabel?: string;
2252
+ unselectedBorder?: string;
2253
+ unselectedRing?: string;
2254
+ unselectedLabel?: string;
2255
+ pillBg?: string;
2256
+ pillText?: string;
2257
+ categoryText?: string;
2258
+ titleColor?: string;
2259
+ }
2260
+ declare function BuiltInQuestions(props: BuiltInQuestionsProps & {
2261
+ colors?: BuiltInQuestionsColors;
2262
+ }): react.JSX.Element;
2263
+
2264
+ interface AudioPlayerProps extends AudioPlayerData {
2265
+ className?: string;
2266
+ /** Optional callback fired when playback toggles. */
2267
+ onTogglePlay?: (isPlaying: boolean) => void;
2268
+ /** Optional callback fired when the user seeks (via waveform or chapter). */
2269
+ onSeek?: (seconds: number) => void;
2270
+ }
2271
+ declare function AudioPlayer({ title, src, durationSeconds, currentTimeSeconds, isPlaying, waveform, chapters, accentColor, inactiveColor, activeChapterBg, mutedTextColor, className, onTogglePlay, onSeek, }: AudioPlayerProps): react.JSX.Element;
1891
2272
 
1892
2273
  type MediaKind = 'image' | 'video' | 'file' | 'link';
1893
2274
  interface MediaItem {
@@ -2907,10 +3288,17 @@ interface AgentWorkspaceProps {
2907
3288
  /** @deprecated Use `showHeader`. Honored when `showHeader` is not set. */
2908
3289
  showConversationHeader?: boolean;
2909
3290
  /**
2910
- * Host actions rendered at the start of the header's right action group —
2911
- * e.g. a "+ New" button that mirrors the page's primary action.
3291
+ * Host actions rendered in the header's right action group — e.g. a "+ New"
3292
+ * button that mirrors the page's primary action.
2912
3293
  */
2913
3294
  headerActions?: ReactNode;
3295
+ /**
3296
+ * Where the built-in controls cluster (reset/refresh, the conversation
3297
+ * chevron, and the right-panel toggle) sits relative to `headerActions` in
3298
+ * the header's right group. `'before'` (default) renders the built-ins ahead
3299
+ * of the host actions; `'after'` keeps the legacy order (host actions first).
3300
+ */
3301
+ headerControlsPlacement?: 'before' | 'after';
2914
3302
  /**
2915
3303
  * Status line under the title. Defaults to the shared session's
2916
3304
  * error/status label; pass this when running disconnected (no provider).
@@ -2950,7 +3338,7 @@ interface AgentWorkspaceProps {
2950
3338
  * conversation, composer) into a page-level workspace with toggleable side
2951
3339
  * panels and a sliding center conversation.
2952
3340
  */
2953
- declare function AgentWorkspace({ children, leftPanel, rightPanel, leftPanelWidth, rightPanelWidth, defaultLeftPanelOpen, defaultRightPanelOpen, leftPanelOpen: leftPanelOpenProp, rightPanelOpen: rightPanelOpenProp, onLeftPanelOpenChange, onRightPanelOpenChange, showPanelToggles, showHeader, showConversationHeader, headerActions, headerStatus, conversation, conversationOpen: conversationOpenProp, onConversationOpenChange, conversationTitle, composer, composerPlaceholder, composerHint, onComposerSubmit, className, contentClassName, conversationClassName, leftPanelClassName, rightPanelClassName, composerClassName, }: AgentWorkspaceProps): react.JSX.Element;
3341
+ declare function AgentWorkspace({ children, leftPanel, rightPanel, leftPanelWidth, rightPanelWidth, defaultLeftPanelOpen, defaultRightPanelOpen, leftPanelOpen: leftPanelOpenProp, rightPanelOpen: rightPanelOpenProp, onLeftPanelOpenChange, onRightPanelOpenChange, showPanelToggles, showHeader, showConversationHeader, headerActions, headerControlsPlacement, headerStatus, conversation, conversationOpen: conversationOpenProp, onConversationOpenChange, conversationTitle, composer, composerPlaceholder, composerHint, onComposerSubmit, className, contentClassName, conversationClassName, leftPanelClassName, rightPanelClassName, composerClassName, }: AgentWorkspaceProps): react.JSX.Element;
2954
3342
 
2955
3343
  interface AgentWorkspaceComposerProps {
2956
3344
  /** Controlled draft value. Pair with `onChange` for caller-controlled editing. */
@@ -2997,6 +3385,28 @@ interface AgentWorkspacePanelToggleProps {
2997
3385
  */
2998
3386
  declare function AgentWorkspacePanelToggle({ side, open: openProp, onToggle, className, }: AgentWorkspacePanelToggleProps): react.JSX.Element | null;
2999
3387
 
3388
+ interface AgentWorkspaceSkeletonProps {
3389
+ /** Render the left/right panel rails. Default true for both. */
3390
+ leftPanel?: boolean;
3391
+ rightPanel?: boolean;
3392
+ /** Match the real workspace's panel widths. Defaults: left 320, right 460. */
3393
+ leftPanelWidth?: number;
3394
+ rightPanelWidth?: number;
3395
+ /** Render the workspace header bar placeholder. Default true. */
3396
+ showHeader?: boolean;
3397
+ /** Render the composer dock placeholder. Default true. */
3398
+ composer?: boolean;
3399
+ /** Custom center-content skeleton. Defaults to generic pulsing rows. */
3400
+ children?: ReactNode;
3401
+ className?: string;
3402
+ }
3403
+ /**
3404
+ * Layout-matched loading placeholder for pages wrapped in `<AgentWorkspace>`.
3405
+ * Mirrors the workspace geometry exactly (panel widths, `lg:` gating, header
3406
+ * and dock heights) so the resolved page does not shift when data arrives.
3407
+ */
3408
+ declare function AgentWorkspaceSkeleton({ leftPanel, rightPanel, leftPanelWidth, rightPanelWidth, showHeader, composer, children, className, }: AgentWorkspaceSkeletonProps): react.JSX.Element;
3409
+
3000
3410
  interface AgentWorkspaceContextValue {
3001
3411
  /** Whether a left/right panel slot was provided to the workspace. */
3002
3412
  hasLeftPanel: boolean;
@@ -3053,4 +3463,4 @@ interface NativeSurfaceProps {
3053
3463
  }
3054
3464
  declare function NativeSurface({ children, input, title, subtitle, icon, headerActions, suggestions, footer, isLoading, autoScroll, className, contentClassName, }: NativeSurfaceProps): react.JSX.Element;
3055
3465
 
3056
- 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, 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, Avatar, AvatarFallback, AvatarImage, Badge, type BlockUpdateMode, 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, DataPayloadView, DataTable, 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, type LayoutConfig, type LayoutMode, type LessonStep, type LibraryPrompt, type Listing, type ListingAction, ListingFeed, type ListingField, 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, OverlayModal, PerformanceMetrics, PersonaSelector, Progress, ProgressTracker, PromptInput, PromptLibrary, type PromptTemplate, 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, 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, StatusBadge, SystemMessage, type TableColumn, type TableData, TemplateSelector, type TemplateVariable, Textarea, type ThemeConfig, Timestamp, type ToolCall, type ToolDefinition, type ToolResult, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, 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 };
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 };