@copilotkit/react-core 2.0.0-rc.6 → 2.0.0-rc.7

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.umd.js CHANGED
@@ -1943,7 +1943,7 @@ _radix_ui_react_popover = __toESM(_radix_ui_react_popover);
1943
1943
 
1944
1944
  //#endregion
1945
1945
  //#region package.json
1946
- var version$1 = "2.0.0-rc.6";
1946
+ var version$1 = "2.0.0-rc.7";
1947
1947
 
1948
1948
  //#endregion
1949
1949
  //#region src/components/CopilotKitInspector.tsx
@@ -14858,7 +14858,7 @@ _radix_ui_react_popover = __toESM(_radix_ui_react_popover);
14858
14858
  })
14859
14859
  });
14860
14860
  }
14861
- function CopilotChatView({ messageView, input, scrollView, suggestionView, welcomeScreen, messages = [], autoScroll = true, isRunning = false, suggestions, suggestionLoadingIndexes, onSelectSuggestion, onSubmitMessage, onStop, inputMode, inputValue, onInputChange, onStartTranscribe, onCancelTranscribe, onFinishTranscribe, onFinishTranscribeWithAudio, attachments, onRemoveAttachment, onAddFile, dragOver, onDragOver, onDragLeave, onDrop, isConnecting = false, hasExplicitThreadId = false, disclaimer, intelligenceIndicator, children, className, ...props }) {
14861
+ function CopilotChatView({ messageView, input, scrollView, suggestionView, welcomeScreen, messages = [], autoScroll = true, isRunning = false, suggestions, suggestionLoadingIndexes, onSelectSuggestion, onSubmitMessage, onStop, inputMode, inputValue, onInputChange, onStartTranscribe, onCancelTranscribe, onFinishTranscribe, onFinishTranscribeWithAudio, attachments, onRemoveAttachment, onAddFile, dragOver, onDragOver, onDragLeave, onDrop, isConnecting = false, hasExplicitThreadId = false, intelligenceIndicator, children, className, ...props }) {
14862
14862
  const configuredThreadId = useCopilotChatConfiguration()?.threadId;
14863
14863
  const [fallbackThreadId, setFallbackThreadId] = (0, react.useState)(messages[0]?.id);
14864
14864
  const previousMessageIds = (0, react.useRef)(/* @__PURE__ */ new Set());
@@ -14923,8 +14923,7 @@ _radix_ui_react_popover = __toESM(_radix_ui_react_popover);
14923
14923
  positioning: "static",
14924
14924
  keyboardHeight: isKeyboardOpen ? keyboardHeight : 0,
14925
14925
  showDisclaimer: true,
14926
- bottomAnchored: true,
14927
- ...disclaimer !== void 0 ? { disclaimer } : {}
14926
+ bottomAnchored: true
14928
14927
  });
14929
14928
  const hasSuggestions = !isConnecting && !isRunning && Array.isArray(suggestions) && suggestions.length > 0;
14930
14929
  const BoundSuggestionView = hasSuggestions ? renderSlot(suggestionView, CopilotChatSuggestionView, {
@@ -14964,8 +14963,7 @@ _radix_ui_react_popover = __toESM(_radix_ui_react_popover);
14964
14963
  onFinishTranscribeWithAudio,
14965
14964
  onAddFile,
14966
14965
  positioning: "static",
14967
- showDisclaimer: true,
14968
- ...disclaimer !== void 0 ? { disclaimer } : {}
14966
+ showDisclaimer: true
14969
14967
  });
14970
14968
  const welcomeScreenSlot = welcomeScreen === true ? void 0 : welcomeScreen;
14971
14969
  const inputWithAttachments = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {