teodor-new-chat-ui 4.3.700 → 4.3.701
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/messages/utils/artifactUtils.d.ts +2 -2
- package/dist/index.esm.js +1517 -1511
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +31 -31
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -18,9 +18,9 @@ export declare function isArtifactStreaming(artifact: MessageArtifact | undefine
|
|
|
18
18
|
*/
|
|
19
19
|
export declare function updateArtifactMetadata(message: ChatMessage, updates: Partial<ArtifactMetadata>): ChatMessage;
|
|
20
20
|
/**
|
|
21
|
-
* Find a message by artifact ID
|
|
21
|
+
* Find a message by artifact ID or associated tool call ID
|
|
22
22
|
*/
|
|
23
|
-
export declare function findMessageByArtifactId(messages: ChatMessage[], artifactId: string): ChatMessage | null;
|
|
23
|
+
export declare function findMessageByArtifactId(messages: ChatMessage[], artifactId: string, toolCallId?: string): ChatMessage | null;
|
|
24
24
|
import type { PlotData, ArtifactPreview } from "@/types";
|
|
25
25
|
/**
|
|
26
26
|
* Normalize MIME type from format hints
|