@copilotkit/react-core 2.0.0-rc.24 → 2.0.0-rc.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.umd.js CHANGED
@@ -1382,7 +1382,7 @@ _radix_ui_react_popover = __toESM(_radix_ui_react_popover);
1382
1382
 
1383
1383
  //#endregion
1384
1384
  //#region package.json
1385
- var version$1 = "2.0.0-rc.24";
1385
+ var version$1 = "2.0.0-rc.26";
1386
1386
 
1387
1387
  //#endregion
1388
1388
  //#region src/components/CopilotKitInspector.tsx
@@ -6322,7 +6322,7 @@ _radix_ui_react_popover = __toESM(_radix_ui_react_popover);
6322
6322
  //#endregion
6323
6323
  //#region src/generative-ui/chat.tsx
6324
6324
  const GenerativeUIChatSlotContext = (0, react.createContext)(void 0);
6325
- function DefaultGenerativeUIChatCard({ surfaceId, isStreaming, error, children }) {
6325
+ function DefaultGenerativeUIChatCard({ surfaceId, error, children }) {
6326
6326
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
6327
6327
  "data-generative-ui-chat-surface": surfaceId,
6328
6328
  className: "cpk-generative-ui-chat-card",
@@ -6465,7 +6465,7 @@ _radix_ui_react_popover = __toESM(_radix_ui_react_popover);
6465
6465
  return value;
6466
6466
  }
6467
6467
  /** Provide a shared core instance and synchronize runtime, tool, and UI configuration. */
6468
- const CopilotKitProvider = ({ children, runtimeUrl, headers: headersProp = EMPTY_HEADERS, credentials, nonce, injectStyles = true, messageFilter, publicApiKey, publicLicenseKey, licenseToken, properties = EMPTY_PROPERTIES, agents__unsafe_dev_only: agents = EMPTY_AGENTS, selfManagedAgents = EMPTY_AGENTS, renderToolCalls, renderActivityMessages, renderCustomMessages, markdownRenderer, frontendTools, humanInTheLoop, openGenerativeUI, enableInspector, agentId, showIntelligenceIndicator = true, useSingleEndpoint, onError, a2ui, generativeUI, mcpApps, defaultThrottleMs, debug, learning }) => {
6468
+ const CopilotKitProvider = ({ children, runtimeUrl, headers: headersProp = EMPTY_HEADERS, credentials, nonce, injectStyles = true, messageFilter, publicApiKey, publicLicenseKey, properties = EMPTY_PROPERTIES, agents__unsafe_dev_only: agents = EMPTY_AGENTS, selfManagedAgents = EMPTY_AGENTS, renderToolCalls, renderActivityMessages, renderCustomMessages, markdownRenderer, frontendTools, humanInTheLoop, openGenerativeUI, enableInspector, agentId, showIntelligenceIndicator = true, useSingleEndpoint, onError, a2ui, generativeUI, mcpApps, defaultThrottleMs, debug, learning }) => {
6469
6469
  const learningConfig = (0, react.useMemo)(() => (0, _copilotkit_core.ɵtoLearningConfig)(learning), [learning]);
6470
6470
  const [shouldRenderInspector, setShouldRenderInspector] = (0, react.useState)(false);
6471
6471
  const [inspectorVisible, setInspectorVisible] = (0, react.useState)(false);
@@ -11543,7 +11543,7 @@ _radix_ui_react_popover = __toESM(_radix_ui_react_popover);
11543
11543
  const [inputContainerHeight, setInputContainerHeight] = (0, react.useState)(0);
11544
11544
  const [isResizing, setIsResizing] = (0, react.useState)(false);
11545
11545
  const resizeTimeoutRef = (0, react.useRef)(null);
11546
- const { isKeyboardOpen, keyboardHeight, availableHeight } = useKeyboardHeight();
11546
+ const { isKeyboardOpen, keyboardHeight } = useKeyboardHeight();
11547
11547
  (0, react.useEffect)(() => {
11548
11548
  const element = inputContainerEl;
11549
11549
  if (!element) {