@cadraos/sdk 0.1.11-test → 0.1.13

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.
@@ -3,28 +3,6 @@ import { Components } from 'react-markdown';
3
3
  import * as React$1 from 'react';
4
4
  import React__default from 'react';
5
5
 
6
- interface MarkdownContentProps {
7
- /** Markdown content to render */
8
- content: string;
9
- /** Additional CSS classes */
10
- className?: string;
11
- /** Custom React-Markdown component overrides (merged with defaults, user wins) */
12
- components?: Partial<Components>;
13
- /** Custom URL transform for React-Markdown (e.g., to preserve custom protocols like artifact:) */
14
- urlTransform?: (url: string) => string;
15
- /** Transform content string before rendering (e.g., strip certain patterns) */
16
- contentTransform?: (content: string) => string;
17
- }
18
- /**
19
- * Renders markdown content with chat-appropriate styling
20
- *
21
- * @example
22
- * ```tsx
23
- * <MarkdownContent content="# Hello\n\nThis is **bold** text." />
24
- * ```
25
- */
26
- declare function MarkdownContent({ content, className, components: customComponents, urlTransform, contentTransform, }: MarkdownContentProps): react_jsx_runtime.JSX.Element;
27
-
28
6
  /**
29
7
  * Type definitions for @cadraos/sdk/chat
30
8
  *
@@ -49,7 +27,11 @@ interface ChatMessage$1 {
49
27
  /** Tool calls made during this message */
50
28
  toolCalls?: ToolCall[];
51
29
  /** Thinking blocks (for models that support extended thinking) */
52
- thinkingBlocks?: ThinkingBlock[];
30
+ thinkingBlocks?: ThinkingBlock$1[];
31
+ /** Images extracted from tool results (convenience projection, derived from toolCalls) */
32
+ images?: ImageData[];
33
+ /** Delegation events for team execution (orchestrator → specialist handoffs) */
34
+ delegationEvents?: DelegationEvent[];
53
35
  }
54
36
  /**
55
37
  * Attachment data for files sent with messages
@@ -94,7 +76,7 @@ interface ToolCall {
94
76
  /**
95
77
  * Thinking block for extended thinking models
96
78
  */
97
- interface ThinkingBlock {
79
+ interface ThinkingBlock$1 {
98
80
  /** Unique identifier */
99
81
  id: string;
100
82
  /** Thinking content */
@@ -102,6 +84,52 @@ interface ThinkingBlock {
102
84
  /** When the thinking block was created */
103
85
  timestamp: Date;
104
86
  }
87
+ /**
88
+ * Image data extracted from tool results.
89
+ * Always derived from toolCalls[] (single source of truth).
90
+ */
91
+ interface ImageData {
92
+ /** Image URL */
93
+ url: string;
94
+ /** Alt text for accessibility */
95
+ alt?: string;
96
+ /** Original filename */
97
+ filename?: string;
98
+ /** Image width in pixels */
99
+ width?: number;
100
+ /** Image height in pixels */
101
+ height?: number;
102
+ /** ID of the tool call that produced this image */
103
+ sourceToolCallId?: string;
104
+ }
105
+ /**
106
+ * Delegation event for team execution (orchestrator → specialist handoffs).
107
+ * Uses wire types: delegation_started / delegation_completed.
108
+ */
109
+ interface DelegationEvent {
110
+ /** Event type matching the wire protocol */
111
+ type: "delegation_started" | "delegation_completed";
112
+ /** Unique handoff ID linking start/complete pairs */
113
+ handoffId?: string;
114
+ /** Orchestrator agent name */
115
+ fromAgent?: string;
116
+ /** Target specialist agent name */
117
+ toAgent?: string;
118
+ /** Target agent UUID (raw from wire event) */
119
+ targetAgentUuid?: string;
120
+ /** Sub-execution ID */
121
+ executionId?: string;
122
+ /** Preview of the delegated task (from delegation_started) */
123
+ taskPreview?: string;
124
+ /** Preview of the result (from delegation_completed) */
125
+ resultPreview?: string;
126
+ /** When the event occurred */
127
+ timestamp: Date;
128
+ /** Current status */
129
+ status?: "active" | "completed" | "failed";
130
+ /** Duration in milliseconds (from delegation_completed) */
131
+ durationMs?: number;
132
+ }
105
133
  /**
106
134
  * Chat error information
107
135
  */
@@ -137,6 +165,14 @@ interface TodoItem {
137
165
  /** Present continuous form for active display */
138
166
  activeForm: string;
139
167
  }
168
+ /**
169
+ * Tool call verbosity levels for controlling which tool calls are displayed
170
+ *
171
+ * - `"compact"` (default) — Hide internal/orchestration tools, show user-facing tools in compact style
172
+ * - `"verbose"` — Show all tools including internal ones (useful for debugging)
173
+ * - `"hidden"` — Hide all tool calls entirely
174
+ */
175
+ type ToolCallVerbosity = "compact" | "verbose" | "hidden";
140
176
  /**
141
177
  * SSE stream event from agent execution
142
178
  */
@@ -176,14 +212,6 @@ interface ExecutionStreamEvent {
176
212
  [key: string]: unknown;
177
213
  };
178
214
  }
179
- /**
180
- * Tool call verbosity levels for controlling which tool calls are displayed
181
- *
182
- * - `"compact"` (default) — Hide internal/orchestration tools, show user-facing tools in compact style
183
- * - `"verbose"` — Show all tools including internal ones (useful for debugging)
184
- * - `"hidden"` — Hide all tool calls entirely
185
- */
186
- type ToolCallVerbosity = "compact" | "verbose" | "hidden";
187
215
  /**
188
216
  * Theme mode options
189
217
  */
@@ -212,6 +240,43 @@ interface AttachmentFile {
212
240
  actualSize?: number;
213
241
  }
214
242
 
243
+ interface MarkdownContentProps {
244
+ /** Markdown content to render */
245
+ content: string;
246
+ /** Additional CSS classes */
247
+ className?: string;
248
+ /** Custom React-Markdown component overrides (merged with defaults, user wins) */
249
+ components?: Partial<Components>;
250
+ /** Custom URL transform for React-Markdown (e.g., to preserve custom protocols like artifact:) */
251
+ urlTransform?: (url: string) => string;
252
+ /** Transform content string before rendering (e.g., strip certain patterns) */
253
+ contentTransform?: (content: string) => string;
254
+ }
255
+ /**
256
+ * Renders markdown content with chat-appropriate styling
257
+ *
258
+ * @example
259
+ * ```tsx
260
+ * <MarkdownContent content="# Hello\n\nThis is **bold** text." />
261
+ * ```
262
+ */
263
+ declare function MarkdownContent({ content, className, components: customComponents, urlTransform, contentTransform, }: MarkdownContentProps): react_jsx_runtime.JSX.Element;
264
+
265
+ /**
266
+ * CSS custom properties supported by ChatMessage for theming:
267
+ *
268
+ * --chat-user-bg: User message bubble background (default: #3b82f6)
269
+ * --chat-user-text: User message text color (default: white)
270
+ * --chat-user-avatar-bg: User avatar background (default: #3b82f6)
271
+ * --chat-user-avatar-text: User avatar text color (default: white)
272
+ * --chat-assistant-bg: Assistant message bubble background (default: #f3f4f6)
273
+ * --chat-assistant-text: Assistant message text color (default: #111827)
274
+ * --chat-assistant-avatar-bg: Assistant avatar background (default: #e5e7eb)
275
+ * --chat-assistant-avatar-text: Assistant avatar text color (default: #4b5563)
276
+ * --chat-meta-text: Timestamp and metadata text color (default: #6b7280)
277
+ *
278
+ * Set these on a parent element (e.g., .cadra-chat-container) to theme the chat.
279
+ */
215
280
  interface ChatMessageProps {
216
281
  /** Message data */
217
282
  message: ChatMessage$1;
@@ -235,6 +300,20 @@ interface ChatMessageProps {
235
300
  alt?: string;
236
301
  filename?: string;
237
302
  }) => void;
303
+ /** Show thinking blocks (default true) */
304
+ showThinking?: boolean;
305
+ /** Show delegation progress (default true) */
306
+ showDelegation?: boolean;
307
+ /** Show images from tool results (default true) */
308
+ showImages?: boolean;
309
+ /** Custom tool call rendering override */
310
+ renderToolCall?: (toolCall: ToolCall, defaultRender: () => React.ReactNode) => React.ReactNode;
311
+ /**
312
+ * Visual variant for the message layout.
313
+ * - "bubble" (default): Chat bubble style with colored backgrounds and right-aligned user messages.
314
+ * - "flat": Full-width flat layout (like Claude AI). Both roles left-aligned, no bubble backgrounds.
315
+ */
316
+ variant?: "bubble" | "flat";
238
317
  }
239
318
  /**
240
319
  * Renders a single chat message with appropriate styling
@@ -253,7 +332,7 @@ interface ChatMessageProps {
253
332
  * />
254
333
  * ```
255
334
  */
256
- declare function ChatMessage({ message, enableMarkdown, showToolCalls, toolCallVerbosity, className, markdownComponents, markdownUrlTransform, markdownContentTransform, onImageClick, }: ChatMessageProps): react_jsx_runtime.JSX.Element;
335
+ declare function ChatMessage({ message, enableMarkdown, showToolCalls, toolCallVerbosity, className, markdownComponents, markdownUrlTransform, markdownContentTransform, onImageClick, showThinking, showDelegation, showImages, renderToolCall, variant, }: ChatMessageProps): react_jsx_runtime.JSX.Element;
257
336
 
258
337
  interface MessageListProps {
259
338
  /** Array of messages to display */
@@ -297,6 +376,22 @@ interface MessageListProps {
297
376
  alt?: string;
298
377
  filename?: string;
299
378
  }) => void;
379
+ /** Show thinking blocks (default true) */
380
+ showThinking?: boolean;
381
+ /** Show delegation progress (default true) */
382
+ showDelegation?: boolean;
383
+ /** Show images from tool results (default true) */
384
+ showImages?: boolean;
385
+ /** Custom message rendering override */
386
+ renderMessage?: (message: ChatMessage$1, defaultRender: () => React.ReactNode) => React.ReactNode;
387
+ /** Custom tool call rendering override */
388
+ renderToolCall?: (toolCall: ToolCall, defaultRender: () => React.ReactNode) => React.ReactNode;
389
+ /**
390
+ * Visual variant for message rendering.
391
+ * - "bubble" (default): Chat bubble style with colored backgrounds.
392
+ * - "flat": Full-width flat layout (like Claude AI).
393
+ */
394
+ messageVariant?: "bubble" | "flat";
300
395
  /**
301
396
  * Send message function passed from parent (AgentChat).
302
397
  * Used to forward to renderWelcome render function for suggestion chips.
@@ -319,7 +414,7 @@ interface MessageListProps {
319
414
  * />
320
415
  * ```
321
416
  */
322
- declare function MessageList({ messages, welcomeMessage, renderWelcome, isLoading, isStreaming, isLoadingHistory, enableMarkdown, showToolCalls, toolCallVerbosity, className, markdownComponents, markdownUrlTransform, markdownContentTransform, onImageClick, sendMessage, }: MessageListProps): react_jsx_runtime.JSX.Element;
417
+ declare function MessageList({ messages, welcomeMessage, renderWelcome, isLoading, isStreaming, isLoadingHistory, enableMarkdown, showToolCalls, toolCallVerbosity, className, markdownComponents, markdownUrlTransform, markdownContentTransform, onImageClick, showThinking, showDelegation, showImages, renderMessage, renderToolCall, messageVariant, sendMessage, }: MessageListProps): react_jsx_runtime.JSX.Element;
323
418
 
324
419
  /**
325
420
  * Common types shared across all resources
@@ -1234,12 +1329,18 @@ interface AgentChatProps {
1234
1329
  renderWelcome?: React.ReactNode | ((props: {
1235
1330
  sendMessage: (text: string) => void;
1236
1331
  }) => React.ReactNode);
1237
- /** Maximum height of the chat container */
1332
+ /** Maximum height of the chat container (only used in "fixed" layout) */
1238
1333
  maxHeight?: string | number;
1239
1334
  /** Additional CSS class for the container */
1240
1335
  className?: string;
1241
1336
  /** Theme mode */
1242
1337
  theme?: ThemeMode;
1338
+ /**
1339
+ * Layout mode for the chat container.
1340
+ * - "fixed" (default): Widget-style with maxHeight constraint.
1341
+ * - "fill": Fills parent flex container. Use for full-page layouts.
1342
+ */
1343
+ layout?: "fixed" | "fill";
1243
1344
  /** Enable file attachments */
1244
1345
  enableAttachments?: boolean;
1245
1346
  /** Enable markdown rendering */
@@ -1268,6 +1369,54 @@ interface AgentChatProps {
1268
1369
  alt?: string;
1269
1370
  filename?: string;
1270
1371
  }) => void;
1372
+ /** Hide the default chat header when true */
1373
+ hideHeader?: boolean;
1374
+ /** Render slot above the chat input (e.g., config pills, action buttons) */
1375
+ renderAboveInput?: () => React.ReactNode;
1376
+ /** Render slot below the message list (e.g., image carousel) */
1377
+ renderBelowMessages?: () => React.ReactNode;
1378
+ /**
1379
+ * Custom message rendering override.
1380
+ * Receives the message and a defaultRender function for selective override.
1381
+ */
1382
+ renderMessage?: (message: ChatMessage$1, defaultRender: () => React.ReactNode) => React.ReactNode;
1383
+ /**
1384
+ * Custom tool call rendering override.
1385
+ * Receives the tool call and a defaultRender function for selective override.
1386
+ */
1387
+ renderToolCall?: (toolCall: ToolCall, defaultRender: () => React.ReactNode) => React.ReactNode;
1388
+ /**
1389
+ * Visual variant for message rendering.
1390
+ * - "bubble" (default): Chat bubble style with colored backgrounds.
1391
+ * - "flat": Full-width flat layout (like Claude AI).
1392
+ */
1393
+ messageVariant?: "bubble" | "flat";
1394
+ /** Show thinking blocks (default true) */
1395
+ showThinking?: boolean;
1396
+ /** Show delegation progress (default true) */
1397
+ showDelegation?: boolean;
1398
+ /** Show images from tool results (default true) */
1399
+ showImages?: boolean;
1400
+ /** Polling interval in ms (default 2000) */
1401
+ pollingInterval?: number;
1402
+ /** Enable polling fallback (default true) */
1403
+ pollingEnabled?: boolean;
1404
+ /** Callback fired when a delegation event occurs */
1405
+ onDelegation?: (event: DelegationEvent) => void;
1406
+ /**
1407
+ * Callback ref that receives the attachment API when attachments are enabled.
1408
+ * Use this to programmatically add files from outside the chat (e.g., from an artifacts panel).
1409
+ */
1410
+ onAttachmentsReady?: (api: {
1411
+ addExternalFile: (opts: {
1412
+ uuid: string;
1413
+ filename: string;
1414
+ mimeType: string;
1415
+ size: number;
1416
+ category?: "document" | "image" | "audio";
1417
+ previewUrl?: string;
1418
+ }) => void;
1419
+ }) => void;
1271
1420
  }
1272
1421
  /**
1273
1422
  * Complete chat interface for interacting with AI agents
@@ -1290,7 +1439,7 @@ interface AgentChatProps {
1290
1439
  * />
1291
1440
  * ```
1292
1441
  */
1293
- declare function AgentChat({ agentId, teamId, sessionId, adapter, onMessage, onError, onSessionCreated, onSessionStart, onToolCall, onToolResult, onClarification, initialMessages, placeholder, welcomeMessage, renderWelcome, maxHeight, className, theme, enableAttachments, enableMarkdown, showToolCalls, toolCallVerbosity, markdownComponents, markdownUrlTransform, markdownContentTransform, onImageClick, }: AgentChatProps): react_jsx_runtime.JSX.Element;
1442
+ declare function AgentChat({ agentId, teamId, sessionId, adapter, onMessage, onError, onSessionCreated, onSessionStart, onToolCall, onToolResult, onClarification, initialMessages, placeholder, welcomeMessage, renderWelcome, maxHeight, className, theme, layout, enableAttachments, enableMarkdown, showToolCalls, toolCallVerbosity, markdownComponents, markdownUrlTransform, markdownContentTransform, onImageClick, hideHeader, renderAboveInput, renderBelowMessages, renderMessage, renderToolCall, messageVariant, showThinking, showDelegation, showImages, pollingInterval, pollingEnabled, onDelegation, onAttachmentsReady, }: AgentChatProps): react_jsx_runtime.JSX.Element;
1294
1443
 
1295
1444
  /**
1296
1445
  * Retry utility with exponential backoff
@@ -2938,6 +3087,20 @@ interface UseAgentChatOptions {
2938
3087
  onToolResult?: (toolName: string, result: unknown, durationMs?: number) => void;
2939
3088
  /** Callback fired when clarification is needed */
2940
3089
  onClarification?: (data: ClarificationData) => void;
3090
+ /** Callback fired when a delegation event occurs (team execution) */
3091
+ onDelegation?: (event: DelegationEvent) => void;
3092
+ /**
3093
+ * Polling interval in milliseconds for the polling fallback.
3094
+ * Used when SSE connection fails and falls back to polling.
3095
+ * Default: 2000ms
3096
+ */
3097
+ pollingInterval?: number;
3098
+ /**
3099
+ * Whether polling fallback is enabled.
3100
+ * When false, SSE failure will result in an error instead of falling back to polling.
3101
+ * Default: true
3102
+ */
3103
+ pollingEnabled?: boolean;
2941
3104
  }
2942
3105
  /**
2943
3106
  * Options for sendMessage
@@ -2961,6 +3124,8 @@ interface UseAgentChatResult {
2961
3124
  sessionId: string | null;
2962
3125
  /** Current clarification request if any */
2963
3126
  clarification: ClarificationData | null;
3127
+ /** Currently active delegation event (team execution) */
3128
+ activeDelegation: DelegationEvent | null;
2964
3129
  /** Send a message to the agent */
2965
3130
  sendMessage: (content: string, options?: SendMessageOptions) => Promise<void>;
2966
3131
  /** Respond to a clarification request */
@@ -3174,6 +3339,18 @@ interface UseFileAttachmentsResult {
3174
3339
  * If onSubmitUpload is not configured, returns getReadyUuids().
3175
3340
  */
3176
3341
  prepareForSubmit: () => Promise<string[]>;
3342
+ /**
3343
+ * Add an already-uploaded file (e.g., from artifact/output panel).
3344
+ * Creates a ready-state AttachmentFile without going through the upload flow.
3345
+ */
3346
+ addExternalFile: (opts: {
3347
+ uuid: string;
3348
+ filename: string;
3349
+ mimeType: string;
3350
+ size: number;
3351
+ category?: "document" | "image" | "audio";
3352
+ previewUrl?: string;
3353
+ }) => void;
3177
3354
  /** Clear all attachments (revokes preview URLs) */
3178
3355
  clear: () => void;
3179
3356
  /** Whether any files are currently uploading */
@@ -3188,12 +3365,21 @@ declare function useFileAttachments(options: UseFileAttachmentsOptions): UseFile
3188
3365
  interface ChatContainerProps {
3189
3366
  /** Child components (MessageList, ChatInput, etc.) */
3190
3367
  children: React$1.ReactNode;
3191
- /** Maximum height of the container */
3368
+ /**
3369
+ * Maximum height of the container (only used in "fixed" layout).
3370
+ * Ignored when layout is "fill".
3371
+ */
3192
3372
  maxHeight?: string | number;
3193
3373
  /** Additional CSS classes */
3194
3374
  className?: string;
3195
3375
  /** Theme mode */
3196
3376
  theme?: ThemeMode;
3377
+ /**
3378
+ * Layout mode for the container.
3379
+ * - "fixed" (default): Uses maxHeight for a widget-style bounded container.
3380
+ * - "fill": Uses flex-1/min-h-0 to fill parent container. Ideal for full-page layouts.
3381
+ */
3382
+ layout?: "fixed" | "fill";
3197
3383
  }
3198
3384
  /**
3199
3385
  * Container component for the chat interface
@@ -3206,7 +3392,7 @@ interface ChatContainerProps {
3206
3392
  * </ChatContainer>
3207
3393
  * ```
3208
3394
  */
3209
- declare function ChatContainer({ children, maxHeight, className, theme, }: ChatContainerProps): react_jsx_runtime.JSX.Element;
3395
+ declare function ChatContainer({ children, maxHeight, className, theme, layout, }: ChatContainerProps): react_jsx_runtime.JSX.Element;
3210
3396
 
3211
3397
  interface ChatInputProps {
3212
3398
  /** Callback when user sends a message */
@@ -3294,6 +3480,84 @@ interface ToolCallEntryProps {
3294
3480
  */
3295
3481
  declare function ToolCallEntry({ toolCall, className, showFullJson, onImageClick, compact, }: ToolCallEntryProps): react_jsx_runtime.JSX.Element;
3296
3482
 
3483
+ interface ThinkingBlockProps {
3484
+ /** Thinking block data */
3485
+ block: ThinkingBlock$1;
3486
+ /** Whether the block starts expanded */
3487
+ defaultExpanded?: boolean;
3488
+ /** Additional CSS classes */
3489
+ className?: string;
3490
+ }
3491
+ interface ThinkingBlockListProps {
3492
+ /** Array of thinking blocks to display */
3493
+ blocks: ThinkingBlock$1[];
3494
+ /** Whether blocks start expanded */
3495
+ defaultExpanded?: boolean;
3496
+ /** Additional CSS classes */
3497
+ className?: string;
3498
+ }
3499
+ /**
3500
+ * Renders a single collapsible thinking/reasoning block
3501
+ */
3502
+ declare function ThinkingBlock({ block, defaultExpanded, className, }: ThinkingBlockProps): react_jsx_runtime.JSX.Element;
3503
+ /**
3504
+ * Renders a list of thinking blocks
3505
+ */
3506
+ declare function ThinkingBlockList({ blocks, defaultExpanded, className, }: ThinkingBlockListProps): react_jsx_runtime.JSX.Element | null;
3507
+
3508
+ interface DelegationProgressProps {
3509
+ /** Delegation event data */
3510
+ event: DelegationEvent;
3511
+ /** Additional CSS classes */
3512
+ className?: string;
3513
+ }
3514
+ interface DelegationProgressListProps {
3515
+ /** Array of delegation events to display */
3516
+ events: DelegationEvent[];
3517
+ /** Additional CSS classes */
3518
+ className?: string;
3519
+ }
3520
+ /**
3521
+ * Renders a single delegation progress indicator
3522
+ */
3523
+ declare function DelegationProgress({ event, className, }: DelegationProgressProps): react_jsx_runtime.JSX.Element;
3524
+ /**
3525
+ * Renders a list of delegation progress indicators
3526
+ */
3527
+ declare function DelegationProgressList({ events, className, }: DelegationProgressListProps): react_jsx_runtime.JSX.Element | null;
3528
+
3529
+ interface ImageGalleryProps {
3530
+ /** Array of images to display */
3531
+ images: ImageData[];
3532
+ /** Callback when an image is clicked. Overrides default lightbox behavior. */
3533
+ onImageClick?: (image: ImageData) => void;
3534
+ /** Additional CSS classes */
3535
+ className?: string;
3536
+ }
3537
+ /**
3538
+ * Renders images in a responsive grid with optional lightbox
3539
+ */
3540
+ declare function ImageGallery({ images, onImageClick, className, }: ImageGalleryProps): react_jsx_runtime.JSX.Element | null;
3541
+
3542
+ interface ImageLightboxProps {
3543
+ /** Array of images */
3544
+ images: ImageData[];
3545
+ /** Current image index */
3546
+ currentIndex: number;
3547
+ /** Close the lightbox */
3548
+ onClose: () => void;
3549
+ /** Navigate to previous image */
3550
+ onPrev: () => void;
3551
+ /** Navigate to next image */
3552
+ onNext: () => void;
3553
+ /** Additional CSS classes for the overlay */
3554
+ className?: string;
3555
+ }
3556
+ /**
3557
+ * Fullscreen image viewer with prev/next navigation
3558
+ */
3559
+ declare function ImageLightbox({ images, currentIndex, onClose, onPrev, onNext, className, }: ImageLightboxProps): React$1.ReactPortal | null;
3560
+
3297
3561
  interface AskUserPromptProps {
3298
3562
  /** The question to display to the user */
3299
3563
  question: string;
@@ -3412,4 +3676,4 @@ declare function ClockIcon({ className, ...props }: IconProps): react_jsx_runtim
3412
3676
  */
3413
3677
  declare function compressImage(file: File, targetSizeKB?: number): Promise<File>;
3414
3678
 
3415
- export { AgentChat, type AgentChatProps, AlertCircleIcon, type Artifact$1 as Artifact, AskUserPrompt, type AskUserPromptProps, type AttachmentData, type AttachmentFile, BotIcon, type ChatAdapter, ChatConfigProvider, type ChatConfigProviderProps, ChatContainer, type ChatContainerProps, type ChatError, ChatInput, type ChatInputProps, ChatMessage, type ChatMessageProps, type ChatMessage$1 as ChatMessageType, CheckCircleIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, CircleIcon, type ClarificationData, ClockIcon, CodeIcon, CopyIcon, DatabaseIcon, type DefaultAdapterConfig, DownloadIcon, type Execution, type ExecutionResult, type ExecutionStreamEvent, ExternalLinkIcon, FileDropZone, type FileDropZoneProps, type FileDropZoneRef, FileIcon, FileTextIcon, HelpCircleIcon, type HistoryMessage, INTERNAL_TOOL_NAMES, type IconProps, ImageIcon, ImagesIcon, type ListSessionsInput, ListTodoIcon, LoadingSpinner, MarkdownContent, type MarkdownContentProps, Maximize2Icon, MessageCircleIcon, MessageList, type MessageListProps, Minimize2Icon, PaperclipIcon, SendIcon, type SendMessageInput$1 as SendMessageInput, type SendMessageOptions, type SessionHistory$1 as SessionHistory, type SessionList, type SessionListItem, SparklesIcon, type StartExecutionInput, StopCircleIcon, type ThemeMode, type ThinkingBlock, type TodoItem, TodoList, type TodoListProps, type ToolCall, ToolCallEntry, type ToolCallEntryProps, type ToolCallVerbosity, type UploadUrlInput, type UploadUrlResult, type UseAgentChatOptions, type UseAgentChatResult, type UseExecutionStreamOptions, type UseExecutionStreamResult, type UseFileAttachmentsOptions, type UseFileAttachmentsResult, UserIcon, XIcon, ZoomInIcon, ZoomOutIcon, compressImage, createDefaultAdapter, isInternalTool, useAgentChat, useChatConfig, useChatConfigOptional, useExecutionStream, useFileAttachments };
3679
+ export { AgentChat, type AgentChatProps, AlertCircleIcon, type Artifact$1 as Artifact, AskUserPrompt, type AskUserPromptProps, type AttachmentData, type AttachmentFile, BotIcon, type ChatAdapter, ChatConfigProvider, type ChatConfigProviderProps, ChatContainer, type ChatContainerProps, type ChatError, ChatInput, type ChatInputProps, ChatMessage, type ChatMessageProps, type ChatMessage$1 as ChatMessageType, CheckCircleIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, CircleIcon, type ClarificationData, ClockIcon, CodeIcon, CopyIcon, DatabaseIcon, type DefaultAdapterConfig, type DelegationEvent, DelegationProgress, DelegationProgressList, type DelegationProgressListProps, type DelegationProgressProps, DownloadIcon, type Execution, type ExecutionResult, type ExecutionStreamEvent, ExternalLinkIcon, FileDropZone, type FileDropZoneProps, type FileDropZoneRef, FileIcon, FileTextIcon, HelpCircleIcon, type HistoryMessage, INTERNAL_TOOL_NAMES, type IconProps, type ImageData, ImageGallery, type ImageGalleryProps, ImageIcon, ImageLightbox, type ImageLightboxProps, ImagesIcon, type ListSessionsInput, ListTodoIcon, LoadingSpinner, MarkdownContent, type MarkdownContentProps, Maximize2Icon, MessageCircleIcon, MessageList, type MessageListProps, Minimize2Icon, PaperclipIcon, SendIcon, type SendMessageInput$1 as SendMessageInput, type SendMessageOptions, type SessionHistory$1 as SessionHistory, type SessionList, type SessionListItem, SparklesIcon, type StartExecutionInput, StopCircleIcon, type ThemeMode, ThinkingBlock, ThinkingBlockList, type ThinkingBlockListProps, type ThinkingBlockProps, type ThinkingBlock$1 as ThinkingBlockType, type TodoItem, TodoList, type TodoListProps, type ToolCall, ToolCallEntry, type ToolCallEntryProps, type ToolCallVerbosity, type UploadUrlInput, type UploadUrlResult, type UseAgentChatOptions, type UseAgentChatResult, type UseExecutionStreamOptions, type UseExecutionStreamResult, type UseFileAttachmentsOptions, type UseFileAttachmentsResult, UserIcon, XIcon, ZoomInIcon, ZoomOutIcon, compressImage, createDefaultAdapter, isInternalTool, useAgentChat, useChatConfig, useChatConfigOptional, useExecutionStream, useFileAttachments };