@lukeashford/aurelius 2.21.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -921,48 +921,6 @@ declare const TodosList: React$1.ForwardRefExoticComponent<TodosListProps & Reac
921
921
  */
922
922
  declare function areAllTasksSettled(tasks: Task[]): boolean;
923
923
 
924
- interface UseScrollAnchorOptions {
925
- /**
926
- * Behavior for scrolling. Defaults to 'smooth'.
927
- */
928
- behavior?: ScrollBehavior;
929
- /**
930
- * Block alignment for scrollIntoView. Defaults to 'start'.
931
- */
932
- block?: ScrollLogicalPosition;
933
- }
934
- interface UseScrollAnchorReturn {
935
- /**
936
- * Ref to attach to the scrollable container
937
- */
938
- containerRef: React.RefObject<HTMLDivElement | null>;
939
- /**
940
- * Ref to attach to the anchor element (latest user message)
941
- */
942
- anchorRef: React.RefObject<HTMLDivElement | null>;
943
- /**
944
- * Scroll the anchor element into view. Call this on user message submission.
945
- */
946
- scrollToAnchor: () => void;
947
- /**
948
- * Scroll to the bottom of the container.
949
- */
950
- scrollToBottom: () => void;
951
- /**
952
- * Check if user has scrolled away from the bottom.
953
- */
954
- isScrolledToBottom: () => boolean;
955
- }
956
- /**
957
- * Hook for smart scroll behavior in chat interfaces.
958
- *
959
- * Key behaviors:
960
- * - Anchors user messages to the top of the viewport when they send a message
961
- * - Does NOT auto-scroll during streaming to respect user's reading position
962
- * - Allows manual scroll detection
963
- */
964
- declare function useScrollAnchor(options?: UseScrollAnchorOptions): UseScrollAnchorReturn;
965
-
966
924
  /**
967
925
  * Script element types following standard screenplay format
968
926
  */
@@ -1108,83 +1066,6 @@ interface ArtifactCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
1108
1066
  */
1109
1067
  declare const ArtifactCard: React$1.ForwardRefExoticComponent<ArtifactCardProps & React$1.RefAttributes<HTMLDivElement>>;
1110
1068
 
1111
- interface UseArtifactsReturn {
1112
- /**
1113
- * Current list of artifacts
1114
- */
1115
- artifacts: Artifact[];
1116
- /**
1117
- * Schedule a new artifact (adds to list with isPending=true, shows skeleton).
1118
- */
1119
- scheduleArtifact: (artifact: Omit<Artifact, 'isPending'>) => void;
1120
- /**
1121
- * Show an artifact (updates existing or adds new with isPending=false).
1122
- */
1123
- showArtifact: (artifactId: string, artifact: Omit<Artifact, 'id' | 'isPending'>) => void;
1124
- /**
1125
- * Remove an artifact from the list.
1126
- */
1127
- removeArtifact: (artifactId: string) => void;
1128
- /**
1129
- * Clear all artifacts
1130
- */
1131
- clearArtifacts: () => void;
1132
- }
1133
- /**
1134
- * Hook for managing artifacts in the ChatInterface.
1135
- *
1136
- * Provides methods to control the artifacts panel programmatically,
1137
- * designed for event-driven architectures like SSE streams.
1138
- *
1139
- * @example
1140
- * ```tsx
1141
- * const { artifacts, scheduleArtifact, showArtifact, removeArtifact } = useArtifacts()
1142
- *
1143
- * // When SSE operator.started event arrives
1144
- * scheduleArtifact({ id: operatorId, type: 'IMAGE' })
1145
- *
1146
- * // When SSE artifact.created event arrives
1147
- * showArtifact(artifactId, {
1148
- * type: 'IMAGE',
1149
- * url: 'https://example.com/image.png',
1150
- * title: 'Generated Image',
1151
- * })
1152
- *
1153
- * // When SSE operator.failed event arrives
1154
- * removeArtifact(operatorId)
1155
- * ```
1156
- */
1157
- declare function useArtifacts(): UseArtifactsReturn;
1158
-
1159
- interface UseResizableProps {
1160
- /**
1161
- * Initial width as percentage of viewport (0-100)
1162
- */
1163
- initialWidthPercent: number;
1164
- /**
1165
- * Minimum width as percentage of viewport (0-100)
1166
- */
1167
- minWidthPercent: number;
1168
- /**
1169
- * Maximum width as percentage of viewport (0-100)
1170
- */
1171
- maxWidthPercent: number;
1172
- /**
1173
- * Direction to resize from
1174
- */
1175
- direction: 'left' | 'right';
1176
- }
1177
- /**
1178
- * Hook for resizable panels with percentage-based widths.
1179
- * Returns width as a CSS percentage string (e.g., "50%").
1180
- */
1181
- declare function useResizable({ initialWidthPercent, minWidthPercent, maxWidthPercent, direction, }: UseResizableProps): {
1182
- width: string;
1183
- widthPercent: number;
1184
- isResizing: boolean;
1185
- startResizing: (e: React.MouseEvent) => void;
1186
- };
1187
-
1188
1069
  /**
1189
1070
  * Node types in the artifact tree
1190
1071
  */
@@ -1225,39 +1106,6 @@ interface ArtifactNode {
1225
1106
  children: ArtifactNode[];
1226
1107
  }
1227
1108
 
1228
- /**
1229
- * A breadcrumb entry representing one level of navigation depth.
1230
- */
1231
- interface BreadcrumbEntry {
1232
- /** Display label for this level */
1233
- label: string;
1234
- /** The group node at this level (null for root) */
1235
- node: ArtifactNode | null;
1236
- }
1237
- /**
1238
- * Return type for the useArtifactTreeNavigation hook.
1239
- */
1240
- interface UseArtifactTreeNavigationReturn {
1241
- /** Nodes to display at the current navigation level */
1242
- currentNodes: ArtifactNode[];
1243
- /** Breadcrumb trail from root to current level */
1244
- breadcrumbs: BreadcrumbEntry[];
1245
- /** Whether the user is at the root level */
1246
- isAtRoot: boolean;
1247
- /** Navigate into a group node, pushing it onto the stack */
1248
- navigateInto: (node: ArtifactNode) => void;
1249
- /** Navigate to a specific breadcrumb level by index */
1250
- navigateTo: (index: number) => void;
1251
- /** Navigate back one level */
1252
- navigateBack: () => void;
1253
- }
1254
- /**
1255
- * Manages navigation state for an artifact tree panel.
1256
- * Maintains a stack of group nodes the user has navigated into,
1257
- * deriving children from the node references themselves.
1258
- */
1259
- declare function useArtifactTreeNavigation(rootNodes: ArtifactNode[]): UseArtifactTreeNavigationReturn;
1260
-
1261
1109
  /**
1262
1110
  * Conversation Tree Types
1263
1111
  *
@@ -1487,13 +1335,7 @@ interface ChatInterfaceProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>
1487
1335
  */
1488
1336
  onAttachmentsChange?: (attachments: Attachment[]) => void;
1489
1337
  /**
1490
- * Artifacts to display in the side panel.
1491
- * Best managed via the useArtifacts hook and passed here.
1492
- */
1493
- artifacts?: Artifact[];
1494
- /**
1495
- * Top-level artifact tree nodes for tree-aware navigation.
1496
- * When provided, the panel renders a navigable tree instead of a flat list.
1338
+ * Top-level artifact tree nodes for the artifacts panel.
1497
1339
  */
1498
1340
  artifactNodes?: ArtifactNode[];
1499
1341
  /**
@@ -1532,10 +1374,8 @@ interface ChatInterfaceProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>
1532
1374
  * - Message Actions — copy, edit, retry
1533
1375
  * - Thinking Indicator — shown between user message and response
1534
1376
  *
1535
- * Artifacts are controlled externally via the useArtifacts hook:
1536
- * - scheduleArtifact() — adds artifact with loading skeleton
1537
- * - showArtifact() — reveals artifact content
1538
- * - removeArtifact() — removes artifact on failure
1377
+ * Artifacts are supplied as a tree of ArtifactNode objects via the
1378
+ * artifactNodes prop.
1539
1379
  */
1540
1380
  declare const ChatInterface: React$1.ForwardRefExoticComponent<ChatInterfaceProps & React$1.RefAttributes<HTMLDivElement>>;
1541
1381
 
@@ -1586,15 +1426,9 @@ declare const ChatView: React$1.ForwardRefExoticComponent<ChatViewProps & React$
1586
1426
 
1587
1427
  interface ArtifactsPanelProps extends React$1.HTMLAttributes<HTMLDivElement> {
1588
1428
  /**
1589
- * Top-level tree nodes to display. When provided, the panel renders
1590
- * a navigable artifact tree instead of a flat list.
1429
+ * Top-level tree nodes to display in the navigable artifact tree.
1591
1430
  */
1592
1431
  nodes?: ArtifactNode[];
1593
- /**
1594
- * Array of flat artifacts to display (legacy/simple mode).
1595
- * Ignored when `nodes` is provided.
1596
- */
1597
- artifacts?: Artifact[];
1598
1432
  /**
1599
1433
  * Whether artifacts are still loading (show skeletons)
1600
1434
  */
@@ -1607,16 +1441,13 @@ interface ArtifactsPanelProps extends React$1.HTMLAttributes<HTMLDivElement> {
1607
1441
  * placed in. Opening/closing and resizing are handled by the parent
1608
1442
  * ToolPanelContainer and ToolSidebar.
1609
1443
  *
1610
- * When provided with `nodes`, it renders a tree-aware, navigable panel
1611
- * where groups can be entered (breadcrumb navigation) and artifacts
1444
+ * Groups can be entered (breadcrumb navigation) and artifact nodes
1612
1445
  * can be expanded to a full-screen modal.
1613
1446
  *
1614
- * When provided with flat `artifacts`, it renders them in a simple grid.
1615
- *
1616
- * Supports zoom controls (0.25x–1x) in tree mode. Zoom uses CSS
1617
- * `transform: scale()` on the content wrapper so the entire layout scales
1618
- * uniformly — cards, images, gaps, and text all shrink as if the viewer
1619
- * is physically moving back from the content.
1447
+ * Supports zoom controls (0.25x–1x). Zoom uses CSS `transform: scale()`
1448
+ * on the content wrapper so the entire layout scales uniformly — cards,
1449
+ * images, gaps, and text all shrink as if the viewer is physically
1450
+ * moving back from the content.
1620
1451
  */
1621
1452
  declare const ArtifactsPanel: React$1.ForwardRefExoticComponent<ArtifactsPanelProps & React$1.RefAttributes<HTMLDivElement>>;
1622
1453
  /**
@@ -1800,6 +1631,110 @@ interface BranchNavigatorProps extends React$1.HTMLAttributes<HTMLDivElement> {
1800
1631
  */
1801
1632
  declare const BranchNavigator: React$1.ForwardRefExoticComponent<BranchNavigatorProps & React$1.RefAttributes<HTMLDivElement>>;
1802
1633
 
1634
+ interface UseScrollAnchorOptions {
1635
+ /**
1636
+ * Behavior for scrolling. Defaults to 'smooth'.
1637
+ */
1638
+ behavior?: ScrollBehavior;
1639
+ /**
1640
+ * Block alignment for scrollIntoView. Defaults to 'start'.
1641
+ */
1642
+ block?: ScrollLogicalPosition;
1643
+ }
1644
+ interface UseScrollAnchorReturn {
1645
+ /**
1646
+ * Ref to attach to the scrollable container
1647
+ */
1648
+ containerRef: React.RefObject<HTMLDivElement | null>;
1649
+ /**
1650
+ * Ref to attach to the anchor element (latest user message)
1651
+ */
1652
+ anchorRef: React.RefObject<HTMLDivElement | null>;
1653
+ /**
1654
+ * Scroll the anchor element into view. Call this on user message submission.
1655
+ */
1656
+ scrollToAnchor: () => void;
1657
+ /**
1658
+ * Scroll to the bottom of the container.
1659
+ */
1660
+ scrollToBottom: () => void;
1661
+ /**
1662
+ * Check if user has scrolled away from the bottom.
1663
+ */
1664
+ isScrolledToBottom: () => boolean;
1665
+ }
1666
+ /**
1667
+ * Hook for smart scroll behavior in chat interfaces.
1668
+ *
1669
+ * Key behaviors:
1670
+ * - Anchors user messages to the top of the viewport when they send a message
1671
+ * - Does NOT auto-scroll during streaming to respect user's reading position
1672
+ * - Allows manual scroll detection
1673
+ */
1674
+ declare function useScrollAnchor(options?: UseScrollAnchorOptions): UseScrollAnchorReturn;
1675
+
1676
+ interface UseResizableProps {
1677
+ /**
1678
+ * Initial width as percentage of viewport (0-100)
1679
+ */
1680
+ initialWidthPercent: number;
1681
+ /**
1682
+ * Minimum width as percentage of viewport (0-100)
1683
+ */
1684
+ minWidthPercent: number;
1685
+ /**
1686
+ * Maximum width as percentage of viewport (0-100)
1687
+ */
1688
+ maxWidthPercent: number;
1689
+ /**
1690
+ * Direction to resize from
1691
+ */
1692
+ direction: 'left' | 'right';
1693
+ }
1694
+ /**
1695
+ * Hook for resizable panels with percentage-based widths.
1696
+ * Returns width as a CSS percentage string (e.g., "50%").
1697
+ */
1698
+ declare function useResizable({ initialWidthPercent, minWidthPercent, maxWidthPercent, direction, }: UseResizableProps): {
1699
+ width: string;
1700
+ widthPercent: number;
1701
+ isResizing: boolean;
1702
+ startResizing: (e: React.MouseEvent) => void;
1703
+ };
1704
+
1705
+ /**
1706
+ * A breadcrumb entry representing one level of navigation depth.
1707
+ */
1708
+ interface BreadcrumbEntry {
1709
+ /** Display label for this level */
1710
+ label: string;
1711
+ /** The group node at this level (null for root) */
1712
+ node: ArtifactNode | null;
1713
+ }
1714
+ /**
1715
+ * Return type for the useArtifactTreeNavigation hook.
1716
+ */
1717
+ interface UseArtifactTreeNavigationReturn {
1718
+ /** Nodes to display at the current navigation level */
1719
+ currentNodes: ArtifactNode[];
1720
+ /** Breadcrumb trail from root to current level */
1721
+ breadcrumbs: BreadcrumbEntry[];
1722
+ /** Whether the user is at the root level */
1723
+ isAtRoot: boolean;
1724
+ /** Navigate into a group node, pushing it onto the stack */
1725
+ navigateInto: (node: ArtifactNode) => void;
1726
+ /** Navigate to a specific breadcrumb level by index */
1727
+ navigateTo: (index: number) => void;
1728
+ /** Navigate back one level */
1729
+ navigateBack: () => void;
1730
+ }
1731
+ /**
1732
+ * Manages navigation state for an artifact tree panel.
1733
+ * Maintains a stack of group nodes the user has navigated into,
1734
+ * deriving children from the node references themselves.
1735
+ */
1736
+ declare function useArtifactTreeNavigation(rootNodes: ArtifactNode[]): UseArtifactTreeNavigationReturn;
1737
+
1803
1738
  type BrandIconSize = 'sm' | 'md' | 'lg';
1804
1739
  type BrandIconVariant = 'solid' | 'outline';
1805
1740
  interface BrandIconProps extends React$1.HTMLAttributes<HTMLDivElement> {
@@ -1991,4 +1926,4 @@ declare const ArtifactVariantStack: React$1.ForwardRefExoticComponent<ArtifactVa
1991
1926
 
1992
1927
  declare const version = "2.0.0";
1993
1928
 
1994
- export { ARTIFACT_TYPES, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDialog, type AlertDialogProps, type AlertProps, type AlertVariant, type Artifact, ArtifactCard, type ArtifactCardProps, ArtifactGroup, type ArtifactGroupProps, type ArtifactNode, type ArtifactType, ArtifactVariantStack, type ArtifactVariantStackProps, ArtifactsPanel, type ArtifactsPanelProps, ArtifactsPanelToggle, type ArtifactsPanelToggleProps, type AspectRatio, type AspectRatioPreset, type Attachment, type AttachmentItem, AttachmentPreview, type AttachmentPreviewProps, type AttachmentStatus, AudioCard, type AudioCardProps, Avatar, type AvatarProps, type AvatarSize, Badge, type BadgeProps, type BadgeVariant, BranchNavigator, type BranchNavigatorProps, BrandIcon, type BrandIconProps, type BrandIconSize, type BrandIconVariant, Breadcrumb, type BreadcrumbEntry, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, type BreadcrumbProps, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardBodyProps, type CardFooterProps, type CardHeaderProps, type CardMediaProps, type CardProps, type CardVariant, ChatInput, type ChatInputPosition, type ChatInputProps, ChatInterface, type ChatInterfaceProps, type ChatMessage, ChatView, type ChatViewItem, type ChatViewProps, CheckSquareIcon, Checkbox, type CheckboxProps, ChevronLeftIcon, ChevronRightIcon, CloseIcon, Col, type ColOffset, type ColOrder, type ColProps, type ColSpan, CollapsedSidebarToggle, type CollapsedSidebarToggleProps, ColorSwatch, type ColorSwatchProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type ContainerSize, type Conversation, ConversationSidebar, type ConversationSidebarProps, type ConversationTree, CrossSquareIcon, Divider, type DividerProps, Drawer, type DrawerPosition, type DrawerProps, EmptySquareIcon, ExpandIcon, FileChip, type FileChipProps, type FileChipStatus, HelperText, type HelperTextProps, HistoryIcon, type IconProps, ImageCard, type ImageCardProps, Input, type InputAddonProps, type InputElementProps, InputGroup, type InputGroupProps, InputLeftAddon, InputLeftElement, type InputProps, InputRightAddon, InputRightElement, InputWrapper, type InputWrapperProps, Label, type LabelProps, LayersIcon, List, ListItem, type ListItemProps, ListItemText, type ListItemTextProps, type ListProps, ListSubheader, type ListSubheaderProps, MarkdownContent, type MarkdownContentProps, MediaIcon, Menu, MenuContent, type MenuContentProps, MenuItem, type MenuItemProps, MenuLabel, type MenuProps, MenuSeparator, MenuTrigger, type MenuTriggerProps, Message, MessageActions, type MessageActionsConfig, type MessageActionsProps, type MessageActionsVariant, type MessageBranchInfo, type MessageNode, type MessageProps, type MessageVariant, Modal, type ModalProps, NODE_TYPES, Navbar, NavbarBrand, type NavbarBrandProps, NavbarContent, type NavbarContentProps, NavbarDivider, NavbarItem, type NavbarItemProps, NavbarLink, type NavbarLinkProps, type NavbarProps, type NodeType, Pagination, type PaginationProps, PdfCard, type PdfCardProps, PlusIcon, Popover, type PopoverAlign, type PopoverPosition, type PopoverProps, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Radio, type RadioProps, Row, type RowAlign, type RowGutter, type RowJustify, type RowProps, SCRIPT_ELEMENT_TYPES, ScriptCard, type ScriptCardProps, type ScriptElement, type ScriptElementType, SectionHeading, type SectionHeadingLevel, type SectionHeadingProps, Select, type SelectOption, type SelectProps, Skeleton, type SkeletonProps, Slider, type SliderProps, Spinner, type SpinnerProps, SquareLoaderIcon, Stack, type StackDirection, type StackGap, type StackProps, type Step, type StepStatus, Stepper, type StepperProps, StreamingCursor, type StreamingCursorProps, Switch, type SwitchProps, TASK_STATUSES, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, type Task, type TaskStatus, TextCard, type TextCardProps, Textarea, type TextareaProps, ThinkingIndicator, type ThinkingIndicatorProps, type ToastData, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastVariant, TodosList, type TodosListProps, type ToolDefinition, ToolPanelContainer, type ToolPanelContainerProps, type ToolPanelState, ToolSidebar, type ToolSidebarProps, Tooltip, type TooltipProps, type UseArtifactTreeNavigationReturn, type UseArtifactsReturn, type UseScrollAnchorOptions, type UseScrollAnchorReturn, type VideoAspectRatio, type VideoAspectRatioPreset, VideoCard, type VideoCardProps, addMessageToTree, areAllTasksSettled, createEmptyTree, createPreviewUrl, generateId, getActivePathMessages, getSiblingInfo, isBranchPoint, isImageFile, messagesToTree, revokePreviewUrl, switchBranch, updateNodeContent, useArtifactTreeNavigation, useArtifacts, useResizable, useScrollAnchor, useToast, version };
1929
+ export { ARTIFACT_TYPES, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDialog, type AlertDialogProps, type AlertProps, type AlertVariant, type Artifact, ArtifactCard, type ArtifactCardProps, ArtifactGroup, type ArtifactGroupProps, type ArtifactNode, type ArtifactType, ArtifactVariantStack, type ArtifactVariantStackProps, ArtifactsPanel, type ArtifactsPanelProps, ArtifactsPanelToggle, type ArtifactsPanelToggleProps, type AspectRatio, type AspectRatioPreset, type Attachment, type AttachmentItem, AttachmentPreview, type AttachmentPreviewProps, type AttachmentStatus, AudioCard, type AudioCardProps, Avatar, type AvatarProps, type AvatarSize, Badge, type BadgeProps, type BadgeVariant, BranchNavigator, type BranchNavigatorProps, BrandIcon, type BrandIconProps, type BrandIconSize, type BrandIconVariant, Breadcrumb, type BreadcrumbEntry, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, type BreadcrumbProps, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardBodyProps, type CardFooterProps, type CardHeaderProps, type CardMediaProps, type CardProps, type CardVariant, ChatInput, type ChatInputPosition, type ChatInputProps, ChatInterface, type ChatInterfaceProps, type ChatMessage, ChatView, type ChatViewItem, type ChatViewProps, CheckSquareIcon, Checkbox, type CheckboxProps, ChevronLeftIcon, ChevronRightIcon, CloseIcon, Col, type ColOffset, type ColOrder, type ColProps, type ColSpan, CollapsedSidebarToggle, type CollapsedSidebarToggleProps, ColorSwatch, type ColorSwatchProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type ContainerSize, type Conversation, ConversationSidebar, type ConversationSidebarProps, type ConversationTree, CrossSquareIcon, Divider, type DividerProps, Drawer, type DrawerPosition, type DrawerProps, EmptySquareIcon, ExpandIcon, FileChip, type FileChipProps, type FileChipStatus, HelperText, type HelperTextProps, HistoryIcon, type IconProps, ImageCard, type ImageCardProps, Input, type InputAddonProps, type InputElementProps, InputGroup, type InputGroupProps, InputLeftAddon, InputLeftElement, type InputProps, InputRightAddon, InputRightElement, InputWrapper, type InputWrapperProps, Label, type LabelProps, LayersIcon, List, ListItem, type ListItemProps, ListItemText, type ListItemTextProps, type ListProps, ListSubheader, type ListSubheaderProps, MarkdownContent, type MarkdownContentProps, MediaIcon, Menu, MenuContent, type MenuContentProps, MenuItem, type MenuItemProps, MenuLabel, type MenuProps, MenuSeparator, MenuTrigger, type MenuTriggerProps, Message, MessageActions, type MessageActionsConfig, type MessageActionsProps, type MessageActionsVariant, type MessageBranchInfo, type MessageNode, type MessageProps, type MessageVariant, Modal, type ModalProps, NODE_TYPES, Navbar, NavbarBrand, type NavbarBrandProps, NavbarContent, type NavbarContentProps, NavbarDivider, NavbarItem, type NavbarItemProps, NavbarLink, type NavbarLinkProps, type NavbarProps, type NodeType, Pagination, type PaginationProps, PdfCard, type PdfCardProps, PlusIcon, Popover, type PopoverAlign, type PopoverPosition, type PopoverProps, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Radio, type RadioProps, Row, type RowAlign, type RowGutter, type RowJustify, type RowProps, SCRIPT_ELEMENT_TYPES, ScriptCard, type ScriptCardProps, type ScriptElement, type ScriptElementType, SectionHeading, type SectionHeadingLevel, type SectionHeadingProps, Select, type SelectOption, type SelectProps, Skeleton, type SkeletonProps, Slider, type SliderProps, Spinner, type SpinnerProps, SquareLoaderIcon, Stack, type StackDirection, type StackGap, type StackProps, type Step, type StepStatus, Stepper, type StepperProps, StreamingCursor, type StreamingCursorProps, Switch, type SwitchProps, TASK_STATUSES, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, type Task, type TaskStatus, TextCard, type TextCardProps, Textarea, type TextareaProps, ThinkingIndicator, type ThinkingIndicatorProps, type ToastData, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastVariant, TodosList, type TodosListProps, type ToolDefinition, ToolPanelContainer, type ToolPanelContainerProps, type ToolPanelState, ToolSidebar, type ToolSidebarProps, Tooltip, type TooltipProps, type UseArtifactTreeNavigationReturn, type UseScrollAnchorOptions, type UseScrollAnchorReturn, type VideoAspectRatio, type VideoAspectRatioPreset, VideoCard, type VideoCardProps, addMessageToTree, areAllTasksSettled, createEmptyTree, createPreviewUrl, generateId, getActivePathMessages, getSiblingInfo, isBranchPoint, isImageFile, messagesToTree, revokePreviewUrl, switchBranch, updateNodeContent, useArtifactTreeNavigation, useResizable, useScrollAnchor, useToast, version };