@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/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
@@ -31,7 +31,7 @@ import {
31
31
  cn,
32
32
  createKiteChat,
33
33
  useGuideCursor
34
- } from "./chunk-WCRTS3TD.js";
34
+ } from "./chunk-KPTM44LS.js";
35
35
  export {
36
36
  ApiKeyList,
37
37
  AssistantActivity,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kite-copilot/chat-panel",
3
- "version": "0.2.25",
3
+ "version": "0.2.26",
4
4
  "description": "AI-powered chat panel SDK with programmatic lifecycle control",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",