@lukeashford/aurelius 3.8.1 → 4.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 +163 -155
- package/dist/index.d.ts +163 -155
- package/dist/index.js +1093 -1292
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +483 -679
- package/dist/index.mjs.map +1 -1
- package/llms.md +12 -8
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React$1, { ReactNode } from 'react';
|
|
2
2
|
import { Config } from 'dompurify';
|
|
3
|
+
import ReactPlayer from 'react-player';
|
|
3
4
|
|
|
4
5
|
type ButtonVariant = 'primary' | 'important' | 'elevated' | 'outlined' | 'featured' | 'ghost' | 'danger';
|
|
5
6
|
type ButtonSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -737,6 +738,146 @@ interface MarkdownContentProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
737
738
|
}
|
|
738
739
|
declare const MarkdownContent: React$1.ForwardRefExoticComponent<MarkdownContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
739
740
|
|
|
741
|
+
/**
|
|
742
|
+
* Conversation Tree Types
|
|
743
|
+
*
|
|
744
|
+
* These types support branching conversations where users can:
|
|
745
|
+
* - Edit their messages (creating a new branch)
|
|
746
|
+
* - Retry assistant responses (creating a new branch)
|
|
747
|
+
* - Navigate between different conversation branches
|
|
748
|
+
*/
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* A node in the conversation tree
|
|
752
|
+
*/
|
|
753
|
+
interface MessageNode {
|
|
754
|
+
/**
|
|
755
|
+
* Unique identifier for this message
|
|
756
|
+
*/
|
|
757
|
+
id: string;
|
|
758
|
+
/**
|
|
759
|
+
* The role of the message author
|
|
760
|
+
*/
|
|
761
|
+
role: 'user' | 'assistant';
|
|
762
|
+
/**
|
|
763
|
+
* The message content (may include HTML/markdown or React components)
|
|
764
|
+
*/
|
|
765
|
+
content: ReactNode;
|
|
766
|
+
/**
|
|
767
|
+
* ID of the parent message (null for root messages)
|
|
768
|
+
*/
|
|
769
|
+
parentId: string | null;
|
|
770
|
+
/**
|
|
771
|
+
* IDs of child messages (branches/continuations)
|
|
772
|
+
*/
|
|
773
|
+
children: string[];
|
|
774
|
+
/**
|
|
775
|
+
* Which sibling branch this message is (0, 1, 2...)
|
|
776
|
+
* Used for UI display like "1/3"
|
|
777
|
+
*/
|
|
778
|
+
branchIndex?: number;
|
|
779
|
+
/**
|
|
780
|
+
* Whether this message is currently being streamed
|
|
781
|
+
*/
|
|
782
|
+
isStreaming?: boolean;
|
|
783
|
+
/**
|
|
784
|
+
* Timestamp when the message was created
|
|
785
|
+
*/
|
|
786
|
+
createdAt?: number;
|
|
787
|
+
}
|
|
788
|
+
/**
|
|
789
|
+
* The full conversation tree structure
|
|
790
|
+
*/
|
|
791
|
+
interface ConversationTree {
|
|
792
|
+
/**
|
|
793
|
+
* All nodes indexed by their ID
|
|
794
|
+
*/
|
|
795
|
+
nodes: Record<string, MessageNode>;
|
|
796
|
+
/**
|
|
797
|
+
* IDs of root-level messages (messages with no parent)
|
|
798
|
+
*/
|
|
799
|
+
rootIds: string[];
|
|
800
|
+
/**
|
|
801
|
+
* The current "head" of the viewed branch
|
|
802
|
+
* This is the leaf node that determines which path we're viewing
|
|
803
|
+
*/
|
|
804
|
+
activeLeafId: string | null;
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
* Attachment types for file uploads
|
|
808
|
+
*/
|
|
809
|
+
type AttachmentStatus = 'pending' | 'uploading' | 'complete' | 'error';
|
|
810
|
+
interface Attachment {
|
|
811
|
+
/**
|
|
812
|
+
* Unique identifier for the attachment
|
|
813
|
+
*/
|
|
814
|
+
id: string;
|
|
815
|
+
/**
|
|
816
|
+
* The File object
|
|
817
|
+
*/
|
|
818
|
+
file: File;
|
|
819
|
+
/**
|
|
820
|
+
* Blob URL for image previews
|
|
821
|
+
*/
|
|
822
|
+
previewUrl?: string;
|
|
823
|
+
/**
|
|
824
|
+
* Current upload status
|
|
825
|
+
*/
|
|
826
|
+
status: AttachmentStatus;
|
|
827
|
+
/**
|
|
828
|
+
* Error message if status is 'error'
|
|
829
|
+
*/
|
|
830
|
+
error?: string;
|
|
831
|
+
/**
|
|
832
|
+
* Upload progress (0-100)
|
|
833
|
+
*/
|
|
834
|
+
progress?: number;
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
* Generate a unique ID
|
|
838
|
+
*/
|
|
839
|
+
declare function generateId(): string;
|
|
840
|
+
/**
|
|
841
|
+
* Create an empty conversation tree
|
|
842
|
+
*/
|
|
843
|
+
declare function createEmptyTree(): ConversationTree;
|
|
844
|
+
/**
|
|
845
|
+
* Add a message to the tree
|
|
846
|
+
*/
|
|
847
|
+
declare function addMessageToTree(tree: ConversationTree, message: Omit<MessageNode, 'children' | 'branchIndex'>, parentId?: string | null): ConversationTree;
|
|
848
|
+
/**
|
|
849
|
+
* Get the linear path from root to the active leaf
|
|
850
|
+
*/
|
|
851
|
+
declare function getActivePathMessages(tree: ConversationTree): MessageNode[];
|
|
852
|
+
/**
|
|
853
|
+
* Get sibling count and current index for a node
|
|
854
|
+
*/
|
|
855
|
+
declare function getSiblingInfo(tree: ConversationTree, nodeId: string): {
|
|
856
|
+
total: number;
|
|
857
|
+
current: number;
|
|
858
|
+
};
|
|
859
|
+
/**
|
|
860
|
+
* Switch to a different branch at a given node
|
|
861
|
+
*/
|
|
862
|
+
declare function switchBranch(tree: ConversationTree, nodeId: string, direction: 'prev' | 'next'): ConversationTree;
|
|
863
|
+
/**
|
|
864
|
+
* Update a node's content (e.g., during streaming)
|
|
865
|
+
*/
|
|
866
|
+
declare function updateNodeContent(tree: ConversationTree, nodeId: string, content: ReactNode, isStreaming?: boolean): ConversationTree;
|
|
867
|
+
/**
|
|
868
|
+
* Convert a flat message array to a conversation tree
|
|
869
|
+
*/
|
|
870
|
+
declare function messagesToTree(messages: Array<{
|
|
871
|
+
id: string;
|
|
872
|
+
role: 'user' | 'assistant';
|
|
873
|
+
content: ReactNode;
|
|
874
|
+
isStreaming?: boolean;
|
|
875
|
+
}>): ConversationTree;
|
|
876
|
+
/**
|
|
877
|
+
* Check if a node has multiple children (is a branch point)
|
|
878
|
+
*/
|
|
879
|
+
declare function isBranchPoint(tree: ConversationTree, nodeId: string): boolean;
|
|
880
|
+
|
|
740
881
|
interface ChatInputNotice {
|
|
741
882
|
/**
|
|
742
883
|
* Visual severity: 'warning' shows a dismissible amber notice, 'error' shows a persistent red
|
|
@@ -757,15 +898,6 @@ interface ChatInputNotice {
|
|
|
757
898
|
onDismiss?: () => void;
|
|
758
899
|
}
|
|
759
900
|
type ChatInputPosition = 'centered' | 'bottom';
|
|
760
|
-
type AttachmentStatus = 'pending' | 'uploading' | 'complete' | 'error';
|
|
761
|
-
interface Attachment {
|
|
762
|
-
id: string;
|
|
763
|
-
file: File;
|
|
764
|
-
previewUrl?: string;
|
|
765
|
-
status: AttachmentStatus;
|
|
766
|
-
error?: string;
|
|
767
|
-
progress?: number;
|
|
768
|
-
}
|
|
769
901
|
interface ChatInputProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onSubmit'> {
|
|
770
902
|
/**
|
|
771
903
|
* Position of the input: 'centered' for empty state, 'bottom' for conversation mode
|
|
@@ -807,6 +939,10 @@ interface ChatInputProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'o
|
|
|
807
939
|
* Called when attachments change (controlled mode)
|
|
808
940
|
*/
|
|
809
941
|
onAttachmentsChange?: (attachments: Attachment[]) => void;
|
|
942
|
+
/**
|
|
943
|
+
* Called when an attachment is removed by the user (clicking the "x")
|
|
944
|
+
*/
|
|
945
|
+
onAttachmentRemove?: (attachment: Attachment) => void;
|
|
810
946
|
/**
|
|
811
947
|
* Whether to show the attachment button
|
|
812
948
|
*/
|
|
@@ -928,26 +1064,9 @@ interface ToolDefinition {
|
|
|
928
1064
|
}
|
|
929
1065
|
/**
|
|
930
1066
|
* Consumer-provided tool definition passed via ChatInterface's `tools` prop.
|
|
931
|
-
*
|
|
932
|
-
* render when the tool is opened.
|
|
1067
|
+
* Adds the panel content to render when the tool is opened.
|
|
933
1068
|
*/
|
|
934
|
-
interface ExternalToolDefinition {
|
|
935
|
-
/**
|
|
936
|
-
* Unique identifier for this tool
|
|
937
|
-
*/
|
|
938
|
-
id: string;
|
|
939
|
-
/**
|
|
940
|
-
* Icon element shown in the sidebar button
|
|
941
|
-
*/
|
|
942
|
-
icon: React$1.ReactNode;
|
|
943
|
-
/**
|
|
944
|
-
* Accessible label for the button
|
|
945
|
-
*/
|
|
946
|
-
label: string;
|
|
947
|
-
/**
|
|
948
|
-
* Which group the tool belongs to
|
|
949
|
-
*/
|
|
950
|
-
group: ToolGroup;
|
|
1069
|
+
interface ExternalToolDefinition extends ToolDefinition {
|
|
951
1070
|
/**
|
|
952
1071
|
* Content to render when the tool is open
|
|
953
1072
|
*/
|
|
@@ -1177,128 +1296,6 @@ interface ArtifactNode {
|
|
|
1177
1296
|
children: ArtifactNode[];
|
|
1178
1297
|
}
|
|
1179
1298
|
|
|
1180
|
-
/**
|
|
1181
|
-
* Conversation Tree Types
|
|
1182
|
-
*
|
|
1183
|
-
* These types support branching conversations where users can:
|
|
1184
|
-
* - Edit their messages (creating a new branch)
|
|
1185
|
-
* - Retry assistant responses (creating a new branch)
|
|
1186
|
-
* - Navigate between different conversation branches
|
|
1187
|
-
*/
|
|
1188
|
-
|
|
1189
|
-
/**
|
|
1190
|
-
* A node in the conversation tree
|
|
1191
|
-
*/
|
|
1192
|
-
interface MessageNode {
|
|
1193
|
-
/**
|
|
1194
|
-
* Unique identifier for this message
|
|
1195
|
-
*/
|
|
1196
|
-
id: string;
|
|
1197
|
-
/**
|
|
1198
|
-
* The role of the message author
|
|
1199
|
-
*/
|
|
1200
|
-
role: 'user' | 'assistant';
|
|
1201
|
-
/**
|
|
1202
|
-
* The message content (may include HTML/markdown or React components)
|
|
1203
|
-
*/
|
|
1204
|
-
content: ReactNode;
|
|
1205
|
-
/**
|
|
1206
|
-
* ID of the parent message (null for root messages)
|
|
1207
|
-
*/
|
|
1208
|
-
parentId: string | null;
|
|
1209
|
-
/**
|
|
1210
|
-
* IDs of child messages (branches/continuations)
|
|
1211
|
-
*/
|
|
1212
|
-
children: string[];
|
|
1213
|
-
/**
|
|
1214
|
-
* Which sibling branch this message is (0, 1, 2...)
|
|
1215
|
-
* Used for UI display like "1/3"
|
|
1216
|
-
*/
|
|
1217
|
-
branchIndex?: number;
|
|
1218
|
-
/**
|
|
1219
|
-
* Whether this message is currently being streamed
|
|
1220
|
-
*/
|
|
1221
|
-
isStreaming?: boolean;
|
|
1222
|
-
/**
|
|
1223
|
-
* Timestamp when the message was created
|
|
1224
|
-
*/
|
|
1225
|
-
createdAt?: number;
|
|
1226
|
-
}
|
|
1227
|
-
/**
|
|
1228
|
-
* The full conversation tree structure
|
|
1229
|
-
*/
|
|
1230
|
-
interface ConversationTree {
|
|
1231
|
-
/**
|
|
1232
|
-
* All nodes indexed by their ID
|
|
1233
|
-
*/
|
|
1234
|
-
nodes: Record<string, MessageNode>;
|
|
1235
|
-
/**
|
|
1236
|
-
* IDs of root-level messages (messages with no parent)
|
|
1237
|
-
*/
|
|
1238
|
-
rootIds: string[];
|
|
1239
|
-
/**
|
|
1240
|
-
* The current "head" of the viewed branch
|
|
1241
|
-
* This is the leaf node that determines which path we're viewing
|
|
1242
|
-
*/
|
|
1243
|
-
activeLeafId: string | null;
|
|
1244
|
-
}
|
|
1245
|
-
/**
|
|
1246
|
-
* Helper to check if a file is an image
|
|
1247
|
-
*/
|
|
1248
|
-
declare function isImageFile(file: File): boolean;
|
|
1249
|
-
/**
|
|
1250
|
-
* Helper to create a preview URL for an image file
|
|
1251
|
-
*/
|
|
1252
|
-
declare function createPreviewUrl(file: File): string | undefined;
|
|
1253
|
-
/**
|
|
1254
|
-
* Helper to revoke a preview URL when no longer needed
|
|
1255
|
-
*/
|
|
1256
|
-
declare function revokePreviewUrl(url: string | undefined): void;
|
|
1257
|
-
/**
|
|
1258
|
-
* Generate a unique ID
|
|
1259
|
-
*/
|
|
1260
|
-
declare function generateId(): string;
|
|
1261
|
-
/**
|
|
1262
|
-
* Create an empty conversation tree
|
|
1263
|
-
*/
|
|
1264
|
-
declare function createEmptyTree(): ConversationTree;
|
|
1265
|
-
/**
|
|
1266
|
-
* Add a message to the tree
|
|
1267
|
-
*/
|
|
1268
|
-
declare function addMessageToTree(tree: ConversationTree, message: Omit<MessageNode, 'children' | 'branchIndex'>, parentId?: string | null): ConversationTree;
|
|
1269
|
-
/**
|
|
1270
|
-
* Get the linear path from root to the active leaf
|
|
1271
|
-
*/
|
|
1272
|
-
declare function getActivePathMessages(tree: ConversationTree): MessageNode[];
|
|
1273
|
-
/**
|
|
1274
|
-
* Get sibling count and current index for a node
|
|
1275
|
-
*/
|
|
1276
|
-
declare function getSiblingInfo(tree: ConversationTree, nodeId: string): {
|
|
1277
|
-
total: number;
|
|
1278
|
-
current: number;
|
|
1279
|
-
};
|
|
1280
|
-
/**
|
|
1281
|
-
* Switch to a different branch at a given node
|
|
1282
|
-
*/
|
|
1283
|
-
declare function switchBranch(tree: ConversationTree, nodeId: string, direction: 'prev' | 'next'): ConversationTree;
|
|
1284
|
-
/**
|
|
1285
|
-
* Update a node's content (e.g., during streaming)
|
|
1286
|
-
*/
|
|
1287
|
-
declare function updateNodeContent(tree: ConversationTree, nodeId: string, content: ReactNode, isStreaming?: boolean): ConversationTree;
|
|
1288
|
-
/**
|
|
1289
|
-
* Convert a flat message array to a conversation tree
|
|
1290
|
-
*/
|
|
1291
|
-
declare function messagesToTree(messages: Array<{
|
|
1292
|
-
id: string;
|
|
1293
|
-
role: 'user' | 'assistant';
|
|
1294
|
-
content: ReactNode;
|
|
1295
|
-
isStreaming?: boolean;
|
|
1296
|
-
}>): ConversationTree;
|
|
1297
|
-
/**
|
|
1298
|
-
* Check if a node has multiple children (is a branch point)
|
|
1299
|
-
*/
|
|
1300
|
-
declare function isBranchPoint(tree: ConversationTree, nodeId: string): boolean;
|
|
1301
|
-
|
|
1302
1299
|
interface Conversation {
|
|
1303
1300
|
/**
|
|
1304
1301
|
* Unique identifier for the conversation
|
|
@@ -1413,6 +1410,10 @@ interface ChatInterfaceProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>
|
|
|
1413
1410
|
* Called when attachments are added or removed in the chat input.
|
|
1414
1411
|
*/
|
|
1415
1412
|
onAttachmentsChange?: (attachments: Attachment[]) => void;
|
|
1413
|
+
/**
|
|
1414
|
+
* Called when an attachment is removed by the user (clicking the "x")
|
|
1415
|
+
*/
|
|
1416
|
+
onAttachmentRemove?: (attachment: Attachment) => void;
|
|
1416
1417
|
/**
|
|
1417
1418
|
* Top-level artifact tree nodes for the artifacts panel.
|
|
1418
1419
|
*/
|
|
@@ -1642,12 +1643,15 @@ interface ToolPanelContainerProps extends React$1.HTMLAttributes<HTMLDivElement>
|
|
|
1642
1643
|
*/
|
|
1643
1644
|
declare const ToolPanelContainer: React$1.ForwardRefExoticComponent<ToolPanelContainerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1644
1645
|
|
|
1645
|
-
|
|
1646
|
+
/**
|
|
1647
|
+
* @deprecated Use MessageVariant. Kept as an alias for backwards compatibility.
|
|
1648
|
+
*/
|
|
1649
|
+
type MessageActionsVariant = MessageVariant;
|
|
1646
1650
|
interface MessageActionsProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1647
1651
|
/**
|
|
1648
1652
|
* Whether this is for a user or assistant message
|
|
1649
1653
|
*/
|
|
1650
|
-
variant:
|
|
1654
|
+
variant: MessageVariant;
|
|
1651
1655
|
/**
|
|
1652
1656
|
* The message content for copy functionality
|
|
1653
1657
|
*/
|
|
@@ -1864,6 +1868,7 @@ interface ImageCardProps extends Omit<CardProps, 'title'> {
|
|
|
1864
1868
|
}
|
|
1865
1869
|
declare const ImageCard: React$1.ForwardRefExoticComponent<ImageCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1866
1870
|
|
|
1871
|
+
type ReactPlayerProps$1 = React$1.ComponentProps<typeof ReactPlayer>;
|
|
1867
1872
|
type VideoAspectRatioPreset = 'video' | 'cinema' | 'square';
|
|
1868
1873
|
type VideoAspectRatio = VideoAspectRatioPreset | `${number}/${number}`;
|
|
1869
1874
|
interface VideoCardProps extends Omit<CardProps, 'title'> {
|
|
@@ -1879,11 +1884,13 @@ interface VideoCardProps extends Omit<CardProps, 'title'> {
|
|
|
1879
1884
|
loop?: boolean;
|
|
1880
1885
|
mediaClassName?: string;
|
|
1881
1886
|
contentClassName?: string;
|
|
1882
|
-
|
|
1887
|
+
/** Forwarded to the underlying ReactPlayer. */
|
|
1888
|
+
playerProps?: Partial<ReactPlayerProps$1>;
|
|
1883
1889
|
loading?: CardSlotLoading;
|
|
1884
1890
|
}
|
|
1885
1891
|
declare const VideoCard: React$1.ForwardRefExoticComponent<VideoCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1886
1892
|
|
|
1893
|
+
type ReactPlayerProps = React$1.ComponentProps<typeof ReactPlayer>;
|
|
1887
1894
|
interface AudioCardProps extends Omit<CardProps, 'title'> {
|
|
1888
1895
|
src?: string;
|
|
1889
1896
|
title?: React$1.ReactNode;
|
|
@@ -1895,7 +1902,8 @@ interface AudioCardProps extends Omit<CardProps, 'title'> {
|
|
|
1895
1902
|
loop?: boolean;
|
|
1896
1903
|
mediaClassName?: string;
|
|
1897
1904
|
contentClassName?: string;
|
|
1898
|
-
|
|
1905
|
+
/** Forwarded to the underlying ReactPlayer. */
|
|
1906
|
+
playerProps?: Partial<ReactPlayerProps>;
|
|
1899
1907
|
height?: string | number;
|
|
1900
1908
|
loading?: CardSlotLoading;
|
|
1901
1909
|
}
|
|
@@ -2025,4 +2033,4 @@ declare const ArtifactVariantStack: React$1.ForwardRefExoticComponent<ArtifactVa
|
|
|
2025
2033
|
|
|
2026
2034
|
declare const version = "2.0.0";
|
|
2027
2035
|
|
|
2028
|
-
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, ChatBubbleIcon, ChatInput, type ChatInputNotice, type ChatInputPosition, type ChatInputProps, ChatInterface, type ChatInterfaceProps, ChatView, type ChatViewItem, type ChatViewProps, CheckSquareIcon, Checkbox, type CheckboxProps, ChevronLeftIcon, ChevronRightIcon, CloseIcon, Col, type ColOffset, type ColOrder, type ColProps, type ColSpan, ColorSwatch, type ColorSwatchProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type ContainerSize, type Conversation, type ConversationTree, CrossSquareIcon, Divider, type DividerProps, Drawer, type DrawerPosition, type DrawerProps, EmptySquareIcon, ExpandIcon, type ExternalToolDefinition, FileChip, type FileChipProps, type FileChipStatus, HelperText, type HelperTextProps, HistoryIcon, HistoryPanel, type HistoryPanelProps, 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, type ToolGroup, 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,
|
|
2036
|
+
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, ChatBubbleIcon, ChatInput, type ChatInputNotice, type ChatInputPosition, type ChatInputProps, ChatInterface, type ChatInterfaceProps, ChatView, type ChatViewItem, type ChatViewProps, CheckSquareIcon, Checkbox, type CheckboxProps, ChevronLeftIcon, ChevronRightIcon, CloseIcon, Col, type ColOffset, type ColOrder, type ColProps, type ColSpan, ColorSwatch, type ColorSwatchProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type ContainerSize, type Conversation, type ConversationTree, CrossSquareIcon, Divider, type DividerProps, Drawer, type DrawerPosition, type DrawerProps, EmptySquareIcon, ExpandIcon, type ExternalToolDefinition, FileChip, type FileChipProps, type FileChipStatus, HelperText, type HelperTextProps, HistoryIcon, HistoryPanel, type HistoryPanelProps, 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, type ToolGroup, 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, generateId, getActivePathMessages, getSiblingInfo, isBranchPoint, messagesToTree, switchBranch, updateNodeContent, useArtifactTreeNavigation, useResizable, useScrollAnchor, useToast, version };
|