teodor-new-chat-ui 4.3.298 → 4.3.300
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/components/chat/ChatInterface.d.ts +3 -1
- package/dist/components/chat/MessageComponent.d.ts +1 -0
- package/dist/components/chat/MessageList.d.ts +1 -0
- package/dist/index.esm.js +6196 -6087
- package/dist/index.umd.js +48 -48
- package/dist/types/models.d.ts +22 -10
- package/dist/utils/env.d.ts +2 -0
- package/package.json +1 -1
|
@@ -20,6 +20,8 @@ export interface ChatInterfaceProps {
|
|
|
20
20
|
enableMessageEditing?: boolean;
|
|
21
21
|
/** Toggle rendering of tool role messages (defaults to true for debugging). */
|
|
22
22
|
showToolMessages?: boolean;
|
|
23
|
+
/** Render captured tool artifacts (plots or embedded images). */
|
|
24
|
+
showArtifactPreviews?: boolean;
|
|
23
25
|
customStyles?: {
|
|
24
26
|
container?: string;
|
|
25
27
|
messagesArea?: string;
|
|
@@ -35,4 +37,4 @@ export interface ChatInterfaceProps {
|
|
|
35
37
|
}) => void;
|
|
36
38
|
onError?: (error: string) => void;
|
|
37
39
|
}
|
|
38
|
-
export declare function ChatInterface({ className, placeholder, autoFocus, maxHeight, streamingDebounceMs, streamingThrottleMs, followNewMessages, enableFileUpload, enableExcelUpload, enableMessageEditing, showToolMessages, customStyles, onMessageSent, onExcelUploadSuccess, onError, }: ChatInterfaceProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
export declare function ChatInterface({ className, placeholder, autoFocus, maxHeight, streamingDebounceMs, streamingThrottleMs, followNewMessages, enableFileUpload, enableExcelUpload, enableMessageEditing, showToolMessages, showArtifactPreviews, customStyles, onMessageSent, onExcelUploadSuccess, onError, }: ChatInterfaceProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -33,6 +33,7 @@ export interface MessageListProps {
|
|
|
33
33
|
/** Notify parent when an interrupt action completes */
|
|
34
34
|
onInterruptActionEnd?: () => void;
|
|
35
35
|
showToolMessages?: boolean;
|
|
36
|
+
showArtifactPreviews?: boolean;
|
|
36
37
|
checkpointMetaById?: Map<string, CheckpointMeta>;
|
|
37
38
|
checkpointIndexByKey?: Map<string, CheckpointMeta[]>;
|
|
38
39
|
activeCheckpointId?: string | null;
|