teodor-new-chat-ui 4.3.660 → 4.3.661
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/features/conversation/list/MessageList.d.ts +0 -2
- package/dist/features/conversation/list/MessageRow.d.ts +0 -1
- package/dist/features/conversation/messages/components/AssistantMessageComponent.d.ts +0 -1
- package/dist/features/conversation/messages/renderers/content/InteractiveContent.d.ts +0 -1
- package/dist/features/thread/components/ThreadManager.d.ts +3 -3
- package/dist/index.esm.js +5247 -5256
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +45 -45
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,6 @@ import type { MessageBubbleProps } from "../messages/components/MessageBubble";
|
|
|
8
8
|
export interface MessageListProps {
|
|
9
9
|
messages: ChatMessage[];
|
|
10
10
|
isStreaming: boolean;
|
|
11
|
-
streamingAssistantId: string | null;
|
|
12
11
|
streamingDebounceMs?: number;
|
|
13
12
|
layoutSize: "phone" | "tablet" | "desktop" | "half-screen";
|
|
14
13
|
enableMessageEditing: boolean;
|
|
@@ -35,7 +34,6 @@ export interface MessageListProps {
|
|
|
35
34
|
onSelectCheckpoint?: (checkpointId: string | null, parentCheckpointId?: string | null, isLatest?: boolean) => Promise<void> | void;
|
|
36
35
|
timelineCheckpoints?: TimelineCheckpoint[];
|
|
37
36
|
/** Whether to show the thinking indicator/message while streaming. Defaults to true. */
|
|
38
|
-
showThinkingIndicator?: boolean;
|
|
39
37
|
getMessageCustomStyles?: (message: ChatMessage) => MessageBubbleProps["customStyles"] | undefined;
|
|
40
38
|
getInterruptOptions?: (message: ChatMessage) => RespondToInterruptOptions | undefined;
|
|
41
39
|
/** Pending interrupt state to automatically generate "user_choice" messages */
|
|
@@ -6,7 +6,6 @@ import type { MessageBubbleProps } from "../messages/components/MessageBubble";
|
|
|
6
6
|
export interface MessageRowProps {
|
|
7
7
|
turn: ChatTurn;
|
|
8
8
|
index: number;
|
|
9
|
-
streamingAssistantId: string | null;
|
|
10
9
|
streamingDebounceMs?: number;
|
|
11
10
|
layoutSize: "phone" | "tablet" | "desktop" | "half-screen";
|
|
12
11
|
enableMessageEditing: boolean;
|
|
@@ -4,7 +4,6 @@ export interface AssistantMessageComponentProps {
|
|
|
4
4
|
messageIndex: number;
|
|
5
5
|
isStreamingMessage?: boolean;
|
|
6
6
|
streamingDebounceMs?: number;
|
|
7
|
-
showThinkingIndicator?: boolean;
|
|
8
7
|
renderStreamingMarkdown?: boolean;
|
|
9
8
|
enableStreamingMarkdownBuffer?: boolean;
|
|
10
9
|
layoutSize?: "phone" | "tablet" | "desktop" | "half-screen";
|
|
@@ -2,7 +2,6 @@ import type { ChatMessage, InterruptPart, InterruptAlternative, ToolConfig } fro
|
|
|
2
2
|
export interface InteractiveContentProps {
|
|
3
3
|
message: ChatMessage;
|
|
4
4
|
isStreamingMessage: boolean;
|
|
5
|
-
showThinkingIndicator?: boolean;
|
|
6
5
|
toolConfig?: ToolConfig;
|
|
7
6
|
interruptPart?: InterruptPart | null;
|
|
8
7
|
handleInterruptApprove?: () => void;
|
|
@@ -48,7 +48,7 @@ export interface ThreadManagerProps {
|
|
|
48
48
|
shareTargets?: ThreadShareTarget[];
|
|
49
49
|
isLoadingShareTargets?: boolean;
|
|
50
50
|
shareTargetFilter?: (target: ThreadShareTarget, query: string) => boolean;
|
|
51
|
-
groupBy?: keyof ThreadSummary
|
|
52
|
-
|
|
51
|
+
groupBy?: Array<keyof ThreadSummary>;
|
|
52
|
+
filter?: (thread: ThreadSummary) => boolean;
|
|
53
53
|
}
|
|
54
|
-
export declare function ThreadManager({ className, showCreateButton, showDeleteButton, showEditTitle, maxHeight, customStyles, currentThreadId, navigateToThread, onThreadSelect, onThreadCreate, onThreadDelete, view, defaultView, onViewChange, viewOptions, viewState, showHeader, shareTargets, isLoadingShareTargets, shareTargetFilter, groupBy,
|
|
54
|
+
export declare function ThreadManager({ className, showCreateButton, showDeleteButton, showEditTitle, maxHeight, customStyles, currentThreadId, navigateToThread, onThreadSelect, onThreadCreate, onThreadDelete, view, defaultView, onViewChange, viewOptions, viewState, showHeader, shareTargets, isLoadingShareTargets, shareTargetFilter, groupBy, filter, }: ThreadManagerProps): import("react/jsx-runtime").JSX.Element;
|