@erdoai/ui 0.1.67 → 0.1.69
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.cjs +11 -11
- package/dist/index.d.cts +179 -81
- package/dist/index.d.ts +179 -81
- package/dist/index.js +11 -11
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { ErdoClient, ContentItem, InvokeResult, LogEntry, ToolGroup, InvocationStatus as InvocationStatus$1, SSEEvent, Thread } from '@erdoai/types';
|
|
4
|
+
import { ErdoClient, ContentItem, InvokeResult, LogEntry, ToolGroup, InvocationStatus as InvocationStatus$1, StepStreamState, SSEEvent, Thread } from '@erdoai/types';
|
|
5
5
|
export { ContentItem } from '@erdoai/types';
|
|
6
6
|
import * as RechartsPrimitive from 'recharts';
|
|
7
7
|
import { ClassValue } from 'clsx';
|
|
@@ -130,6 +130,12 @@ interface ErdoProviderConfig {
|
|
|
130
130
|
* ```
|
|
131
131
|
*/
|
|
132
132
|
onSuggestionClick?: (suggestion: string) => void;
|
|
133
|
+
/**
|
|
134
|
+
* Enable the new agent event system.
|
|
135
|
+
* When true, uses simple flat events (agent_started, text_delta, tool_started, etc.)
|
|
136
|
+
* When false (default), uses legacy path-based event routing.
|
|
137
|
+
*/
|
|
138
|
+
useAgentEvents?: boolean;
|
|
133
139
|
}
|
|
134
140
|
interface ErdoProviderProps {
|
|
135
141
|
children: React__default.ReactNode;
|
|
@@ -462,7 +468,7 @@ declare function isParsingInProgress(value: any): boolean;
|
|
|
462
468
|
* They represent the structure of entities that can be built from SSE events.
|
|
463
469
|
*/
|
|
464
470
|
|
|
465
|
-
type ContentType = 'text' | 'json' | 'xml' | 'thinking' | 'redacted_thinking' | 'bot_invocation' | 'bot_invocation_result' | 'tool_invocation' | 'tool_result';
|
|
471
|
+
type ContentType = 'text' | 'json' | 'xml' | 'thinking' | 'redacted_thinking' | 'agent_invocation' | 'bot_invocation' | 'bot_invocation_result' | 'tool_invocation' | 'tool_result';
|
|
466
472
|
declare function isJsonLike(contentType: ContentType, uiContentType: string): boolean;
|
|
467
473
|
type EntityType = 'message' | 'message_content' | 'invocation' | 'output' | 'output_content' | 'step' | 'result_handler' | 'status' | 'log';
|
|
468
474
|
type MessageStreamingState = 'in_progress' | 'completed';
|
|
@@ -901,7 +907,14 @@ interface JsonContentProps {
|
|
|
901
907
|
content: unknown;
|
|
902
908
|
className?: string;
|
|
903
909
|
}
|
|
904
|
-
|
|
910
|
+
/**
|
|
911
|
+
* Renders JSON content.
|
|
912
|
+
*
|
|
913
|
+
* Content should be normalized upstream (via normalizeContent or SSE handler).
|
|
914
|
+
* If content is a styled message object (with `message` and optional `style`),
|
|
915
|
+
* it renders as styled text. Otherwise, returns null.
|
|
916
|
+
*/
|
|
917
|
+
declare function JsonContent({ content }: JsonContentProps): react_jsx_runtime.JSX.Element | null;
|
|
905
918
|
|
|
906
919
|
interface MarkdownContentProps {
|
|
907
920
|
/** The markdown content to render */
|
|
@@ -1007,6 +1020,8 @@ interface LogProps {
|
|
|
1007
1020
|
declare function Log({ log }: LogProps): react_jsx_runtime.JSX.Element;
|
|
1008
1021
|
/**
|
|
1009
1022
|
* Renders log entries with level-based styling (info, error, requires_info).
|
|
1023
|
+
*
|
|
1024
|
+
* Content should be normalized upstream (via normalizeContent or SSE handler).
|
|
1010
1025
|
*/
|
|
1011
1026
|
declare function LogContent({ item, className }: LogContentProps): react_jsx_runtime.JSX.Element;
|
|
1012
1027
|
|
|
@@ -1087,6 +1102,8 @@ interface CodegenContentProps {
|
|
|
1087
1102
|
}
|
|
1088
1103
|
/**
|
|
1089
1104
|
* Renders code generation content with step-by-step explanation, code, and warnings.
|
|
1105
|
+
*
|
|
1106
|
+
* Expects parsedJson to be populated upstream (via normalizeContent or SSE handler).
|
|
1090
1107
|
*/
|
|
1091
1108
|
declare function CodegenContent({ item, className }: CodegenContentProps): react_jsx_runtime.JSX.Element | null;
|
|
1092
1109
|
|
|
@@ -1113,6 +1130,7 @@ interface ToolGroupContentProps {
|
|
|
1113
1130
|
}
|
|
1114
1131
|
/**
|
|
1115
1132
|
* Renders tool invocations and their results in a collapsible format.
|
|
1133
|
+
* Uses StatusSpinner for loading/finished/failed states — no hardcoded icons.
|
|
1116
1134
|
*/
|
|
1117
1135
|
declare function ToolGroupContent({ toolGroup, ContentComponent, className, fallbackClassName, }: ToolGroupContentProps): react_jsx_runtime.JSX.Element;
|
|
1118
1136
|
|
|
@@ -1190,6 +1208,10 @@ interface BotInvocationContentProps {
|
|
|
1190
1208
|
*
|
|
1191
1209
|
* This component is designed to receive already-processed invocation data.
|
|
1192
1210
|
* Data fetching should be handled by the consuming application.
|
|
1211
|
+
*
|
|
1212
|
+
* When `content.transparent` is true, the wrapper (status, collapsible trigger) is hidden
|
|
1213
|
+
* and only the events are rendered directly. This is used for root invocations where
|
|
1214
|
+
* the container should be invisible but the step outputs should still be visible.
|
|
1193
1215
|
*/
|
|
1194
1216
|
declare function BotInvocationContent({ content, botInvocation, isLoading, defaultOpen, adminLinkHref, adminLinkText, showAdminLink, onAdminClick, onExpand, EventsComponent, ContentComponent: _ContentComponent, className, }: BotInvocationContentProps): react_jsx_runtime.JSX.Element | null;
|
|
1195
1217
|
|
|
@@ -1259,6 +1281,23 @@ interface MemoryContentProps {
|
|
|
1259
1281
|
*/
|
|
1260
1282
|
declare function MemoryContent({ content, className }: MemoryContentProps): react_jsx_runtime.JSX.Element;
|
|
1261
1283
|
|
|
1284
|
+
interface StepTreeContentProps {
|
|
1285
|
+
/** The step stream state containing all steps */
|
|
1286
|
+
stepState: StepStreamState;
|
|
1287
|
+
/** Optional Content component for rendering ui_generation/codegen */
|
|
1288
|
+
ContentComponent?: React__default.ComponentType<{
|
|
1289
|
+
content: ContentItem;
|
|
1290
|
+
className?: string;
|
|
1291
|
+
}>;
|
|
1292
|
+
className?: string;
|
|
1293
|
+
}
|
|
1294
|
+
/**
|
|
1295
|
+
* Renders a step hierarchy with proper SDK styling.
|
|
1296
|
+
*
|
|
1297
|
+
* Used for both streaming and reload paths to ensure consistent rendering.
|
|
1298
|
+
*/
|
|
1299
|
+
declare function StepTreeContent({ stepState, ContentComponent, className }: StepTreeContentProps): react_jsx_runtime.JSX.Element | null;
|
|
1300
|
+
|
|
1262
1301
|
/** Node structure from UI generation content */
|
|
1263
1302
|
interface UINode {
|
|
1264
1303
|
_type: string;
|
|
@@ -1426,77 +1465,30 @@ interface UseDatasetContentsResult {
|
|
|
1426
1465
|
error: Error | null;
|
|
1427
1466
|
refetch: () => void;
|
|
1428
1467
|
}
|
|
1468
|
+
/**
|
|
1469
|
+
* A request to fetch dataset contents with optional query and resource key.
|
|
1470
|
+
*/
|
|
1471
|
+
interface DatasetFetchRequest {
|
|
1472
|
+
datasetSlug: string;
|
|
1473
|
+
sqlQuery?: string;
|
|
1474
|
+
resourceKey?: string;
|
|
1475
|
+
}
|
|
1429
1476
|
/**
|
|
1430
1477
|
* Hook to fetch contents of a single dataset.
|
|
1431
|
-
* Uses the DataFetcher from ErdoProvider if available, otherwise falls back to REST API.
|
|
1432
|
-
*
|
|
1433
|
-
* @param datasetSlug - The slug/identifier of the dataset
|
|
1434
|
-
* @param invocationId - The invocation ID context
|
|
1435
|
-
* @param sqlQuery - Optional SQL query to run against the dataset
|
|
1436
|
-
* @returns Object with data, isLoading, error, and refetch function
|
|
1437
|
-
*
|
|
1438
|
-
* @example
|
|
1439
|
-
* ```tsx
|
|
1440
|
-
* const { data, isLoading, error } = useDatasetContents('my-dataset', invocationId);
|
|
1441
|
-
* if (isLoading) return <Loading />;
|
|
1442
|
-
* if (error) return <Error message={error.message} />;
|
|
1443
|
-
* return <Chart data={data} />;
|
|
1444
|
-
* ```
|
|
1445
|
-
*
|
|
1446
|
-
* @example With SQL query
|
|
1447
|
-
* ```tsx
|
|
1448
|
-
* const { data } = useDatasetContents(
|
|
1449
|
-
* 'my-database',
|
|
1450
|
-
* invocationId,
|
|
1451
|
-
* 'SELECT * FROM users ORDER BY created_at DESC LIMIT 10'
|
|
1452
|
-
* );
|
|
1453
|
-
* ```
|
|
1454
|
-
*
|
|
1455
|
-
* @example With resource key (for Excel files with headers not on row 1)
|
|
1456
|
-
* ```tsx
|
|
1457
|
-
* const { data } = useDatasetContents(
|
|
1458
|
-
* 'my-excel-dataset',
|
|
1459
|
-
* invocationId,
|
|
1460
|
-
* undefined,
|
|
1461
|
-
* 'abc123::Sheet1::table_1'
|
|
1462
|
-
* );
|
|
1463
|
-
* ```
|
|
1464
1478
|
*/
|
|
1465
1479
|
declare function useDatasetContents(datasetSlug: string, invocationId: string, sqlQuery?: string, resourceKey?: string): UseDatasetContentsResult;
|
|
1466
1480
|
/**
|
|
1467
|
-
* Hook to fetch contents
|
|
1468
|
-
*
|
|
1481
|
+
* Hook to fetch contents for multiple dataset requests in parallel.
|
|
1482
|
+
* Deduplicates requests with the same slug+query+resourceKey combo.
|
|
1469
1483
|
*
|
|
1470
|
-
* @param
|
|
1484
|
+
* @param requests - Array of fetch requests (slug + optional query/resourceKey)
|
|
1471
1485
|
* @param invocationId - The invocation ID context
|
|
1472
|
-
* @
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
*
|
|
1477
|
-
*
|
|
1478
|
-
* const isLoading = results.some(r => r.isLoading);
|
|
1479
|
-
* const allData = results.map(r => r.data || []);
|
|
1480
|
-
* ```
|
|
1481
|
-
*
|
|
1482
|
-
* @example With SQL queries
|
|
1483
|
-
* ```tsx
|
|
1484
|
-
* const results = useMultipleDatasetContents(
|
|
1485
|
-
* ['my-db', 'other-db'],
|
|
1486
|
-
* invocationId,
|
|
1487
|
-
* { 'my-db': 'SELECT * FROM users LIMIT 10' }
|
|
1488
|
-
* );
|
|
1489
|
-
* ```
|
|
1490
|
-
*
|
|
1491
|
-
* @example With resource keys
|
|
1492
|
-
* ```tsx
|
|
1493
|
-
* const results = useMultipleDatasetContents(
|
|
1494
|
-
* ['dataset-1', 'dataset-2'],
|
|
1495
|
-
* invocationId,
|
|
1496
|
-
* undefined,
|
|
1497
|
-
* { 'dataset-1': 'abc123::Sheet1::table_1' }
|
|
1498
|
-
* );
|
|
1499
|
-
* ```
|
|
1486
|
+
* @returns Array of results in the same order as input requests
|
|
1487
|
+
*/
|
|
1488
|
+
declare function useMultipleDatasetRequests(requests: DatasetFetchRequest[], invocationId: string): UseDatasetContentsResult[];
|
|
1489
|
+
/**
|
|
1490
|
+
* @deprecated Use useMultipleDatasetRequests instead for proper per-series fetching.
|
|
1491
|
+
* This function only supports one query per dataset slug.
|
|
1500
1492
|
*/
|
|
1501
1493
|
declare function useMultipleDatasetContents(datasetSlugs: string[], invocationId: string, sqlQueries?: Record<string, string>, resourceKeys?: Record<string, string>): UseDatasetContentsResult[];
|
|
1502
1494
|
|
|
@@ -1521,6 +1513,8 @@ interface UseThreadReturn {
|
|
|
1521
1513
|
error: Error | null;
|
|
1522
1514
|
/** Active messages being streamed (with parsedJson populated) */
|
|
1523
1515
|
activeMessages: MessageWithContents[];
|
|
1516
|
+
/** Step stream state (for agent system) */
|
|
1517
|
+
stepState: StepStreamState;
|
|
1524
1518
|
/**
|
|
1525
1519
|
* Flattened, filtered contents ready for rendering with the Content component.
|
|
1526
1520
|
* Only includes visible content (user_visibility === 'visible').
|
|
@@ -1684,6 +1678,52 @@ declare function toSnakeCase(str: string): string;
|
|
|
1684
1678
|
*/
|
|
1685
1679
|
declare function resolveKeyFromData(dataRows: any[], configKey: string): string;
|
|
1686
1680
|
|
|
1681
|
+
/**
|
|
1682
|
+
* Content Normalization Utilities
|
|
1683
|
+
*
|
|
1684
|
+
* These functions normalize content from API responses so it's ready for rendering.
|
|
1685
|
+
* Parsing happens HERE, not in renderers.
|
|
1686
|
+
*
|
|
1687
|
+
* Usage:
|
|
1688
|
+
* - SSE streaming: content is normalized automatically via handleSSEEventNormalized
|
|
1689
|
+
* - API responses (history): call normalizeContent() before passing to <Content />
|
|
1690
|
+
*/
|
|
1691
|
+
|
|
1692
|
+
/**
|
|
1693
|
+
* Raw content from API responses (e.g., getThreadMessages).
|
|
1694
|
+
* This is the shape before normalization.
|
|
1695
|
+
*/
|
|
1696
|
+
interface RawApiContent {
|
|
1697
|
+
id: string;
|
|
1698
|
+
content_type: string;
|
|
1699
|
+
content: unknown;
|
|
1700
|
+
created_by_invocation_id?: string;
|
|
1701
|
+
user_visibility?: string;
|
|
1702
|
+
ui_content_type?: string | {
|
|
1703
|
+
String: string;
|
|
1704
|
+
Valid: boolean;
|
|
1705
|
+
};
|
|
1706
|
+
}
|
|
1707
|
+
/**
|
|
1708
|
+
* Normalize a single content item from API response.
|
|
1709
|
+
*
|
|
1710
|
+
* For JSON-like content (ui_generation, json), parses the content string
|
|
1711
|
+
* and populates `parsedJson` so renderers don't need to do any parsing.
|
|
1712
|
+
*
|
|
1713
|
+
* @param raw - Raw content from API
|
|
1714
|
+
* @returns Normalized ContentItem ready for <Content />
|
|
1715
|
+
*/
|
|
1716
|
+
declare function normalizeContent(raw: RawApiContent): ContentItem;
|
|
1717
|
+
/**
|
|
1718
|
+
* Normalize an array of content items from API response.
|
|
1719
|
+
*
|
|
1720
|
+
* Filters to only visible content and parses JSON-like content.
|
|
1721
|
+
*
|
|
1722
|
+
* @param rawContents - Array of raw content from API
|
|
1723
|
+
* @returns Array of normalized ContentItems ready for <Content />
|
|
1724
|
+
*/
|
|
1725
|
+
declare function normalizeContents(rawContents: RawApiContent[]): ContentItem[];
|
|
1726
|
+
|
|
1687
1727
|
/**
|
|
1688
1728
|
* Normalizes LLM-generated UI nodes to handle common variations:
|
|
1689
1729
|
* - camelCase → snake_case keys in node content
|
|
@@ -1711,19 +1751,6 @@ declare function normalizeUINodes(nodes: unknown[]): UINodeLike[];
|
|
|
1711
1751
|
* message/invocation tree structure for rendering.
|
|
1712
1752
|
*/
|
|
1713
1753
|
|
|
1714
|
-
/**
|
|
1715
|
-
* Handles incremental parsing of mixed JSON/text content as it streams in.
|
|
1716
|
-
*
|
|
1717
|
-
* This function is called each time new content arrives during streaming.
|
|
1718
|
-
* It parses the content to detect JSON blocks interspersed with text,
|
|
1719
|
-
* updating the outputContent's parsed_blocks array as complete JSON
|
|
1720
|
-
* objects are detected.
|
|
1721
|
-
*
|
|
1722
|
-
* @param outputContent - The message or output content to update
|
|
1723
|
-
* @param content - The full accumulated content string so far
|
|
1724
|
-
* @returns The updated content object with parsed_blocks populated
|
|
1725
|
-
*/
|
|
1726
|
-
declare function handleIncrementalMixedJsonParsing(outputContent: MessageContent | OutputContent, content: string): MessageContent | OutputContent;
|
|
1727
1754
|
/**
|
|
1728
1755
|
* Handles different types of SSE events and updates the message tree accordingly.
|
|
1729
1756
|
*
|
|
@@ -1763,4 +1790,75 @@ declare function handleIncrementalMixedJsonParsing(outputContent: MessageContent
|
|
|
1763
1790
|
*/
|
|
1764
1791
|
declare function handleSSEEvent(eventType: string, event: SSEEventData, path: string[], threadID: string, activeMessagesByID: Record<string, MessageWithContents>, currentEntity?: Entity | null, parents?: Entity[], entityIds?: Record<string, string>): Entity | null;
|
|
1765
1792
|
|
|
1766
|
-
|
|
1793
|
+
/**
|
|
1794
|
+
* JSON Parsing Utilities for SSE Streaming
|
|
1795
|
+
*
|
|
1796
|
+
* Handles incremental parsing of mixed JSON/text content as it streams in.
|
|
1797
|
+
*/
|
|
1798
|
+
|
|
1799
|
+
/**
|
|
1800
|
+
* Handles incremental parsing of mixed JSON/text content as it streams in.
|
|
1801
|
+
*
|
|
1802
|
+
* This function is called each time new content arrives during streaming.
|
|
1803
|
+
* It parses the content to detect JSON blocks interspersed with text,
|
|
1804
|
+
* updating the outputContent's parsed_blocks array as complete JSON
|
|
1805
|
+
* objects are detected.
|
|
1806
|
+
*
|
|
1807
|
+
* @param outputContent - The message or output content to update
|
|
1808
|
+
* @param content - The full accumulated content string so far
|
|
1809
|
+
* @returns The updated content object with parsed_blocks populated
|
|
1810
|
+
*/
|
|
1811
|
+
declare function handleIncrementalMixedJsonParsing(outputContent: MessageContent | OutputContent, content: string): MessageContent | OutputContent;
|
|
1812
|
+
|
|
1813
|
+
/**
|
|
1814
|
+
* Agent Event Handler
|
|
1815
|
+
*
|
|
1816
|
+
* Handles the agent system's step SSE events.
|
|
1817
|
+
* Each piece of visible work (agent, LLM call, tool call) gets a UUID.
|
|
1818
|
+
* The SDK maintains a flat Map<stepID, Step> and produces ContentItems for rendering.
|
|
1819
|
+
*/
|
|
1820
|
+
|
|
1821
|
+
/**
|
|
1822
|
+
* Check if an SSE event is a step event type.
|
|
1823
|
+
*/
|
|
1824
|
+
declare function isStepEvent(event: SSEEvent): boolean;
|
|
1825
|
+
/**
|
|
1826
|
+
* Creates initial state for step-based streaming.
|
|
1827
|
+
*/
|
|
1828
|
+
declare function createInitialStepState(): StepStreamState;
|
|
1829
|
+
/**
|
|
1830
|
+
* Handles a step SSE event and returns updated state.
|
|
1831
|
+
* Pure function - does not mutate input state.
|
|
1832
|
+
*/
|
|
1833
|
+
declare function handleStepEvent(state: StepStreamState, event: SSEEvent): StepStreamState;
|
|
1834
|
+
/**
|
|
1835
|
+
* Converts step state into ContentItem[] for rendering.
|
|
1836
|
+
*
|
|
1837
|
+
* Walks the step tree depth-first from the root agent. Renders:
|
|
1838
|
+
* - Text from root agent's LLM calls → markdown
|
|
1839
|
+
* - Regular tool results → tool_invocation / tool_result
|
|
1840
|
+
* - Sub-agent tool_calls → tool_invocation while running, tool_result when done
|
|
1841
|
+
* (sub-agent internals are NOT shown — AgentProgress handles progress labels)
|
|
1842
|
+
*/
|
|
1843
|
+
declare function stepStateToContents(state: StepStreamState): ContentItem[];
|
|
1844
|
+
|
|
1845
|
+
interface AgentMessageBridgeState {
|
|
1846
|
+
assistantMessageID: string | null;
|
|
1847
|
+
}
|
|
1848
|
+
declare function createInitialAgentMessageBridgeState(): AgentMessageBridgeState;
|
|
1849
|
+
declare function applyStreamingEventToMessageState(params: {
|
|
1850
|
+
useAgentEvents: boolean;
|
|
1851
|
+
eventType: string;
|
|
1852
|
+
eventData: SSEEventData;
|
|
1853
|
+
path: string[];
|
|
1854
|
+
threadID: string;
|
|
1855
|
+
bridgeState: AgentMessageBridgeState;
|
|
1856
|
+
stepState: StepStreamState;
|
|
1857
|
+
activeMessagesByID: Record<string, MessageWithContents>;
|
|
1858
|
+
}): {
|
|
1859
|
+
bridgeState: AgentMessageBridgeState;
|
|
1860
|
+
stepState: StepStreamState;
|
|
1861
|
+
stateModified: boolean;
|
|
1862
|
+
};
|
|
1863
|
+
|
|
1864
|
+
export { type AgentMessageBridgeState, BarChart, type BaseChartProps, type BotInvocation, BotInvocationContent, type BotInvocationContentData, type BotInvocationContentProps, type BotInvocationData, type BotInvocationEventInfo, type BotInvocationStatusInfo, Chart, type ChartConfig, ChartContainer, ChartContent, type ChartContentProps, ChartLegend, ChartLegendContent, ChartNode, type ChartNodeContent, ChartStyle, ChartTooltip, ChartTooltipContent, CodeexecContent, type CodeexecContentProps, CodegenContent, type CodegenContentProps, CollapsibleCodeBlock, type CollapsibleCodeBlockProps, Content, type ContentChartConfig, type ContentChunk, type ContentComponentProps, type ContentProps, type ContentType, type DataFetcher, DatasetChart, type DatasetChartProps, type DatasetDetails, DatasetDownload, type DatasetDownloadProps, type DatasetFetchRequest, DatasetTable, type DatasetTableProps, DownloadButtonNode, type DownloadButtonNodeContent, type Entity, type EntityType, ErdoProvider, type ErdoProviderConfig, type ErdoProviderProps, ErdoUI, type ErdoUIProps, ErrorBoundary, ExecutionStatus, ExpandableOutputContent, type ExpandableOutputContentProps, FileDownloadsNode, type FileDownloadsNodeContent, type GeneratedFile, HeatmapChart, InvocationEvent, type InvocationEventProps, InvocationEvents, type InvocationEventsProps, InvocationStatus, JSONStreamParser, type JSONValue, JsonContent, type JsonContentProps, LineChart, Loader, Log, LogContent, type LogContentProps, type LogProps, MarkdownContent, type MarkdownContentProps, type Memory, MemoryContent, type MemoryContentProps, type Message, type MessageContent, type MessageStreamingState, type MessageWithContents, type NodeRendererProps, type NullString, Output, type OutputContent, type OutputProps, type OutputWithContents, PieChart, type RawApiContent, type ResolvedBotInvocation, type ResultHandler, type SSEEventData, ScatterChart, type SpinnerStatus, SqlContent, type SqlContentProps, type Status, type StatusEvent, StatusSpinner, type StatusSpinnerProps, StderrText, StdoutText, StdwarnText, type Step, StepInvocation, type StepInvocationProps, StepInvocationStatus, type StepInvocationStatusProps, StepTreeContent, type StepTreeContentProps, SuggestionsNode, type SuggestionsNodeContent, TableContent, type TableContentProps, TableNode, type TableNodeContent, TextContent, type TextContentProps, TextMarkdownNode, type TextMarkdownNodeContent, ThinkingContent, type ThinkingContentProps, ToolGroupContent, type ToolGroupContentProps, UIGenerationNodes, type UIGenerationNodesProps, type UINode, type UseDatasetContentsResult, type UseThreadOptions, type UseThreadReturn, WebParseContent, type WebParseContentProps, WebSearchContent, type WebSearchContentProps, type WrapperType, WritingLoader, applyStreamingEventToMessageState, cn, createInitialAgentMessageBridgeState, createInitialStepState, extractContentItems, formatValue, handleIncrementalMixedJsonParsing, handleSSEEvent, handleStepEvent, isJsonLike, isNullString, isParsingComplete, isParsingInProgress, isStepEvent, isWhitespaceChar, nodeComponents, normalizeContent, normalizeContents, normalizeUINodes, parseCompleteJson, parseMixedJson, parseToDate, resolveKeyFromData, stepStateToContents, toSnakeCase, unwrapNullString, unwrapNullStringOr, useChartZoom, useDatasetContents, useErdoConfig, useErdoConfigOptional, useMultipleDatasetContents, useMultipleDatasetRequests, useThread };
|