@kite-copilot/chat-panel 0.2.25 → 0.2.26
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/auto.cjs +5 -0
- package/dist/auto.js +1 -1
- package/dist/{chunk-WCRTS3TD.js → chunk-KPTM44LS.js} +5 -0
- package/dist/embed.global.js +21 -21
- package/dist/index.cjs +5 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1645,6 +1645,11 @@ function ChatPanel({
|
|
|
1645
1645
|
}
|
|
1646
1646
|
};
|
|
1647
1647
|
}, [supabaseClient]);
|
|
1648
|
+
React4.useEffect(() => {
|
|
1649
|
+
if (isEscalated && supabaseClient && sessionId) {
|
|
1650
|
+
subscribeToAgentMessages(sessionId);
|
|
1651
|
+
}
|
|
1652
|
+
}, [isEscalated, supabaseClient, sessionId, subscribeToAgentMessages]);
|
|
1648
1653
|
const sendEscalatedMessage = React4.useCallback(async (content) => {
|
|
1649
1654
|
if (!supabaseClient || !isEscalated) return false;
|
|
1650
1655
|
try {
|
package/dist/index.js
CHANGED