@cimulate/copilot-widget 1.24.7 → 1.25.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/messaging.d.ts +6 -0
- package/dist/messaging.es.js +9973 -9819
- package/dist/messaging.umd.js +38 -38
- package/package.json +2 -2
package/dist/messaging.d.ts
CHANGED
|
@@ -413,6 +413,12 @@ export declare const MessagingEmbed: () => JSX_2.Element;
|
|
|
413
413
|
export declare interface MessagingMessage {
|
|
414
414
|
type?: "ADD_MESSAGE" | "APPEND_STREAMING_TOKEN" | "FLUSH_STREAMING" | "SET_AGENT_TYPING" | "SET_ROUTING_RESULT" | "SET_ERROR" | "RESET";
|
|
415
415
|
id: string;
|
|
416
|
+
/**
|
|
417
|
+
* Stable server identifier, set only for events the SSE stream can replay on
|
|
418
|
+
* reconnect (agent messages, participant joins/leaves). Used to dedup replays.
|
|
419
|
+
* Locally created messages leave this unset.
|
|
420
|
+
*/
|
|
421
|
+
serverId?: string;
|
|
416
422
|
role: "user" | "agent" | "system";
|
|
417
423
|
content: string;
|
|
418
424
|
timestamp: string;
|