@copilotkit/react-core 1.79.0 → 1.79.1-canary.1792034358

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
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
- const require_copilotkit = require('./copilotkit-DjrKQjfL.cjs');
4
+ const require_copilotkit = require('./copilotkit-t6Gs-59F.cjs');
5
5
  let react = require("react");
6
6
  react = require_copilotkit.__toESM(react);
7
7
  let _copilotkit_core = require("@copilotkit/core");
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { Af as CopilotChatSuggestionConfiguration, Bf as CatchAllActionRenderPropsWait, Cf as QueuedInterruptEvent, Df as CrewsStateItem, Ef as CrewsResponseStatus, Ff as ActionRenderProps, Hf as FrontendAction, If as ActionRenderPropsNoArgs, Lf as ActionRenderPropsNoArgsWait, Mf as DocumentPointer, Nf as Tree, Of as CrewsTaskStateItem, Pf as TreeNode, Rf as ActionRenderPropsWait, Sf as LangGraphInterruptRenderProps, Tf as CrewsResponse, Uf as FrontendActionAvailability, Vf as CatchAllFrontendAction, Wf as RenderFunctionStatus, X as useAgent, _f as LangGraphInterruptAction, bf as LangGraphInterruptRender, df as CoagentInChatRenderFunction, ff as CopilotApiConfig, gf as CoAgentStateRender, hf as useCopilotContext, jf as SystemMessageFunction, kf as CrewsToolStateItem, mf as CopilotContextParams, n as defaultCopilotContextCategories, pf as CopilotContext, r as CopilotKitProps, t as CopilotKit, vf as LangGraphInterruptActionSetter, wf as CrewsAgentState, xf as LangGraphInterruptRenderHandlerProps, xt as useRenderToolCall$1, yf as LangGraphInterruptActionSetterArgs, zf as CatchAllActionRenderProps } from "./copilotkit-2Fbb5_CC.cjs";
1
+ import { Af as CrewsTaskStateItem, Bf as ActionRenderPropsWait, Cf as LangGraphInterruptRenderHandlerProps, Df as CrewsResponse, Ef as CrewsAgentState, Ff as Tree, Gf as FrontendActionAvailability, Hf as CatchAllActionRenderPropsWait, If as TreeNode, Kf as RenderFunctionStatus, Lf as ActionRenderProps, Mf as CopilotChatSuggestionConfiguration, Nf as SystemMessageFunction, Of as CrewsResponseStatus, Pf as DocumentPointer, Rf as ActionRenderPropsNoArgs, Sf as LangGraphInterruptRender, Tf as QueuedInterruptEvent, Uf as CatchAllFrontendAction, Vf as CatchAllActionRenderProps, Wf as FrontendAction, X as useAgent, _f as useCopilotContext, bf as LangGraphInterruptActionSetter, gf as CopilotContextParams, hf as CopilotContext, jf as CrewsToolStateItem, kf as CrewsStateItem, mf as CopilotApiConfig, n as defaultCopilotContextCategories, pf as CoagentInChatRenderFunction, r as CopilotKitProps, t as CopilotKit, vf as CoAgentStateRender, wf as LangGraphInterruptRenderProps, xf as LangGraphInterruptActionSetterArgs, xt as useRenderToolCall$1, yf as LangGraphInterruptAction, zf as ActionRenderPropsNoArgsWait } from "./copilotkit-BA0vyDds.cjs";
2
2
  import "./v2/index.cjs";
3
3
  import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
  import { CopilotRuntimeClient, CopilotRuntimeClientOptions, ForwardedParametersInput, Message } from "@copilotkit/runtime-client-gql";
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { Af as CopilotChatSuggestionConfiguration, Bf as CatchAllActionRenderPropsWait, Cf as QueuedInterruptEvent, Df as CrewsStateItem, Ef as CrewsResponseStatus, Ff as ActionRenderProps, Hf as FrontendAction, If as ActionRenderPropsNoArgs, Lf as ActionRenderPropsNoArgsWait, Mf as DocumentPointer, Nf as Tree, Of as CrewsTaskStateItem, Pf as TreeNode, Rf as ActionRenderPropsWait, Sf as LangGraphInterruptRenderProps, Tf as CrewsResponse, Uf as FrontendActionAvailability, Vf as CatchAllFrontendAction, Wf as RenderFunctionStatus, X as useAgent, _f as LangGraphInterruptAction, bf as LangGraphInterruptRender, df as CoagentInChatRenderFunction, ff as CopilotApiConfig, gf as CoAgentStateRender, hf as useCopilotContext, jf as SystemMessageFunction, kf as CrewsToolStateItem, mf as CopilotContextParams, n as defaultCopilotContextCategories, pf as CopilotContext, r as CopilotKitProps, t as CopilotKit, vf as LangGraphInterruptActionSetter, wf as CrewsAgentState, xf as LangGraphInterruptRenderHandlerProps, xt as useRenderToolCall$1, yf as LangGraphInterruptActionSetterArgs, zf as CatchAllActionRenderProps } from "./copilotkit-DFMMPW2I.mjs";
1
+ import { Af as CrewsTaskStateItem, Bf as ActionRenderPropsWait, Cf as LangGraphInterruptRenderHandlerProps, Df as CrewsResponse, Ef as CrewsAgentState, Ff as Tree, Gf as FrontendActionAvailability, Hf as CatchAllActionRenderPropsWait, If as TreeNode, Kf as RenderFunctionStatus, Lf as ActionRenderProps, Mf as CopilotChatSuggestionConfiguration, Nf as SystemMessageFunction, Of as CrewsResponseStatus, Pf as DocumentPointer, Rf as ActionRenderPropsNoArgs, Sf as LangGraphInterruptRender, Tf as QueuedInterruptEvent, Uf as CatchAllFrontendAction, Vf as CatchAllActionRenderProps, Wf as FrontendAction, X as useAgent, _f as useCopilotContext, bf as LangGraphInterruptActionSetter, gf as CopilotContextParams, hf as CopilotContext, jf as CrewsToolStateItem, kf as CrewsStateItem, mf as CopilotApiConfig, n as defaultCopilotContextCategories, pf as CoagentInChatRenderFunction, r as CopilotKitProps, t as CopilotKit, vf as CoAgentStateRender, wf as LangGraphInterruptRenderProps, xf as LangGraphInterruptActionSetterArgs, xt as useRenderToolCall$1, yf as LangGraphInterruptAction, zf as ActionRenderPropsNoArgsWait } from "./copilotkit-kcYN96tM.mjs";
2
2
  import "./v2/index.mjs";
3
3
  import React, { ReactNode, RefObject, SetStateAction } from "react";
4
4
  import { StaticSuggestionsConfig, Suggestion } from "@copilotkit/core";
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- import { $ as useConfigureSuggestions, It as useCopilotChatConfiguration, Q as INTERRUPT_EVENT_NAME, Z as useInterrupt, _t as defineToolCallRenderer, a as ThreadsProvider, at as useHumanInTheLoop$1, c as CoAgentStateRendersProvider, d as shouldShowDevConsole, et as useSuggestions, f as useToast, ft as useRenderCustomMessages, g as useCopilotContext, h as CopilotContext, i as ThreadsContext, it as useAgent, jt as useRenderToolCall$1, l as useCoAgentStateRenders, m as useCopilotMessagesContext, mt as useCopilotKit, n as defaultCopilotContextCategories, o as useThreads, p as CopilotMessagesContext, r as CoAgentStateRenderBridge, s as CoAgentStateRendersContext, t as CopilotKit, u as useAsyncCallback, ut as useFrontendTool$1 } from "./copilotkit-DQvE96lZ.mjs";
3
+ import { $ as useConfigureSuggestions, It as useCopilotChatConfiguration, Q as INTERRUPT_EVENT_NAME, Z as useInterrupt, _t as defineToolCallRenderer, a as ThreadsProvider, at as useHumanInTheLoop$1, c as CoAgentStateRendersProvider, d as shouldShowDevConsole, et as useSuggestions, f as useToast, ft as useRenderCustomMessages, g as useCopilotContext, h as CopilotContext, i as ThreadsContext, it as useAgent, jt as useRenderToolCall$1, l as useCoAgentStateRenders, m as useCopilotMessagesContext, mt as useCopilotKit, n as defaultCopilotContextCategories, o as useThreads, p as CopilotMessagesContext, r as CoAgentStateRenderBridge, s as CoAgentStateRendersContext, t as CopilotKit, u as useAsyncCallback, ut as useFrontendTool$1 } from "./copilotkit-DtOQtboh.mjs";
4
4
  import React, { Fragment, createElement, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
5
5
  import { CopilotKitCoreRuntimeConnectionStatus, ToolCallStatus, ɵisHttpAgent } from "@copilotkit/core";
6
6
  import { AGUIConnectNotImplementedError } from "@ag-ui/client";
package/dist/index.umd.js CHANGED
@@ -602,7 +602,7 @@ react_markdown = __toESM(react_markdown);
602
602
 
603
603
  //#endregion
604
604
  //#region package.json
605
- var version = "1.79.0";
605
+ var version = "1.79.1-canary.1792034358";
606
606
 
607
607
  //#endregion
608
608
  //#region src/v2/components/CopilotKitInspector.tsx
@@ -2598,7 +2598,7 @@ react_markdown = __toESM(react_markdown);
2598
2598
  (0, react.useEffect)(() => {
2599
2599
  copilotkit.setLearningConfig(learningConfig);
2600
2600
  learningContainerIdsRef.current = learningConfig?.learningContainerIds;
2601
- if (learningConfig?.sink === void 0 && !autoStart && learningConfig?.learningContainerIds !== void 0) console.warn("[CopilotKit] learningContainerIds is supported only with a custom sink. Authenticated Trajectory capture does not assign Learning Containers; remove learningContainerIds from the capture options.");
2601
+ if (learningConfig?.sink === void 0 && !autoStart && learningConfig?.learningContainerIds !== void 0) console.warn("[CopilotKit] learningContainerIds is supported only with a custom sink. Authenticated Trajectory capture ignores it; assign Learning Spaces on the server with getTrajectoryLearningContainerIds on CopilotKitIntelligence, and remove learningContainerIds from the capture options.");
2602
2602
  }, [
2603
2603
  copilotkit,
2604
2604
  learningConfig,