@kite-copilot/chat-panel 0.2.51 → 0.2.53

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.
@@ -120,8 +120,10 @@ interface ChatPanelProps {
120
120
  productBackendUrl?: string;
121
121
  /** Optional async function to provide authentication headers for API requests */
122
122
  getAuthHeaders?: () => Promise<Record<string, string>>;
123
+ /** Mark conversation as eval/test (not production) - used for test-embed.html */
124
+ isEval?: boolean;
123
125
  }
124
- declare function ChatPanel({ isOpen, onClose, onOpen, onBack, onNavigate, onActionComplete, currentPage, agentUrl, startingQuestions: startingQuestionsProp, startingQuestionsEndpoint, userId, orgId, userName, userEmail, supabaseUrl, supabaseAnonKey, initialCorner, onCornerChange, productBackendUrl, getAuthHeaders, }?: ChatPanelProps): react_jsx_runtime.JSX.Element;
126
+ declare function ChatPanel({ isOpen, onClose, onOpen, onBack, onNavigate, onActionComplete, currentPage, agentUrl, startingQuestions: startingQuestionsProp, startingQuestionsEndpoint, userId, orgId, userName, userEmail, supabaseUrl, supabaseAnonKey, initialCorner, onCornerChange, productBackendUrl, getAuthHeaders, isEval, }?: ChatPanelProps): react_jsx_runtime.JSX.Element;
125
127
  /**
126
128
  * PanelToggle - An arrow button on the right edge that toggles the side panel
127
129
  * Shows left arrow when closed (click to open), right arrow when open (click to close)
@@ -186,8 +188,10 @@ interface ChatPanelWithToggleProps {
186
188
  productBackendUrl?: string;
187
189
  /** Optional async function to provide authentication headers for API requests */
188
190
  getAuthHeaders?: () => Promise<Record<string, string>>;
191
+ /** Mark conversation as eval/test (not production) - used for test-embed.html */
192
+ isEval?: boolean;
189
193
  }
190
- declare function ChatPanelWithToggle({ onNavigate, onActionComplete, currentPage, agentUrl, startingQuestions, startingQuestionsEndpoint, defaultOpen, isOpen: controlledIsOpen, onOpenChange, userId, orgId, userName, userEmail, supabaseUrl, supabaseAnonKey, initialCorner, onCornerChange, productBackendUrl, getAuthHeaders, }: ChatPanelWithToggleProps): react_jsx_runtime.JSX.Element;
194
+ declare function ChatPanelWithToggle({ onNavigate, onActionComplete, currentPage, agentUrl, startingQuestions, startingQuestionsEndpoint, defaultOpen, isOpen: controlledIsOpen, onOpenChange, userId, orgId, userName, userEmail, supabaseUrl, supabaseAnonKey, initialCorner, onCornerChange, productBackendUrl, getAuthHeaders, isEval, }: ChatPanelWithToggleProps): react_jsx_runtime.JSX.Element;
191
195
  /**
192
196
  * @deprecated Use ChatPanelWithToggle instead for the new side panel UX
193
197
  */
@@ -120,8 +120,10 @@ interface ChatPanelProps {
120
120
  productBackendUrl?: string;
121
121
  /** Optional async function to provide authentication headers for API requests */
122
122
  getAuthHeaders?: () => Promise<Record<string, string>>;
123
+ /** Mark conversation as eval/test (not production) - used for test-embed.html */
124
+ isEval?: boolean;
123
125
  }
124
- declare function ChatPanel({ isOpen, onClose, onOpen, onBack, onNavigate, onActionComplete, currentPage, agentUrl, startingQuestions: startingQuestionsProp, startingQuestionsEndpoint, userId, orgId, userName, userEmail, supabaseUrl, supabaseAnonKey, initialCorner, onCornerChange, productBackendUrl, getAuthHeaders, }?: ChatPanelProps): react_jsx_runtime.JSX.Element;
126
+ declare function ChatPanel({ isOpen, onClose, onOpen, onBack, onNavigate, onActionComplete, currentPage, agentUrl, startingQuestions: startingQuestionsProp, startingQuestionsEndpoint, userId, orgId, userName, userEmail, supabaseUrl, supabaseAnonKey, initialCorner, onCornerChange, productBackendUrl, getAuthHeaders, isEval, }?: ChatPanelProps): react_jsx_runtime.JSX.Element;
125
127
  /**
126
128
  * PanelToggle - An arrow button on the right edge that toggles the side panel
127
129
  * Shows left arrow when closed (click to open), right arrow when open (click to close)
@@ -186,8 +188,10 @@ interface ChatPanelWithToggleProps {
186
188
  productBackendUrl?: string;
187
189
  /** Optional async function to provide authentication headers for API requests */
188
190
  getAuthHeaders?: () => Promise<Record<string, string>>;
191
+ /** Mark conversation as eval/test (not production) - used for test-embed.html */
192
+ isEval?: boolean;
189
193
  }
190
- declare function ChatPanelWithToggle({ onNavigate, onActionComplete, currentPage, agentUrl, startingQuestions, startingQuestionsEndpoint, defaultOpen, isOpen: controlledIsOpen, onOpenChange, userId, orgId, userName, userEmail, supabaseUrl, supabaseAnonKey, initialCorner, onCornerChange, productBackendUrl, getAuthHeaders, }: ChatPanelWithToggleProps): react_jsx_runtime.JSX.Element;
194
+ declare function ChatPanelWithToggle({ onNavigate, onActionComplete, currentPage, agentUrl, startingQuestions, startingQuestionsEndpoint, defaultOpen, isOpen: controlledIsOpen, onOpenChange, userId, orgId, userName, userEmail, supabaseUrl, supabaseAnonKey, initialCorner, onCornerChange, productBackendUrl, getAuthHeaders, isEval, }: ChatPanelWithToggleProps): react_jsx_runtime.JSX.Element;
191
195
  /**
192
196
  * @deprecated Use ChatPanelWithToggle instead for the new side panel UX
193
197
  */