@copilotkit/react-core 1.68.3 → 1.69.0

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-Bocmlr37.cjs');
4
+ const require_copilotkit = require('./copilotkit-DOMr3DRO.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 { $n as LangGraphInterruptActionSetterArgs, Cr as RenderFunctionStatus, Gn as CoagentInChatRenderFunction, Jn as CopilotContextParams, Kn as CopilotApiConfig, Qn as LangGraphInterruptActionSetter, Sr as FrontendActionAvailability, X as useAgent, Xn as CoAgentStateRender, Yn as useCopilotContext, Zn as LangGraphInterruptAction, _r as ActionRenderPropsNoArgsWait, ar as CrewsResponse, br as CatchAllFrontendAction, cr as CrewsTaskStateItem, dr as SystemMessageFunction, er as LangGraphInterruptRender, fr as DocumentPointer, gr as ActionRenderPropsNoArgs, hr as ActionRenderProps, ir as CrewsAgentState, lr as CrewsToolStateItem, mr as TreeNode, n as defaultCopilotContextCategories, nr as LangGraphInterruptRenderProps, or as CrewsResponseStatus, pr as Tree, qn as CopilotContext, r as CopilotKitProps, rr as QueuedInterruptEvent, sr as CrewsStateItem, t as CopilotKit, tr as LangGraphInterruptRenderHandlerProps, ur as CopilotChatSuggestionConfiguration, vr as ActionRenderPropsWait, xr as FrontendAction, yr as CatchAllActionRenderProps, yt as useRenderToolCall$1 } from "./copilotkit-DSvKW3SS.cjs";
1
+ import { $n as LangGraphInterruptActionSetter, Cr as FrontendActionAvailability, Jn as CopilotContext, Kn as CoagentInChatRenderFunction, Qn as LangGraphInterruptAction, Sr as FrontendAction, X as useAgent, Xn as useCopilotContext, Yn as CopilotContextParams, Zn as CoAgentStateRender, _r as ActionRenderPropsNoArgs, ar as CrewsAgentState, br as CatchAllActionRenderProps, cr as CrewsStateItem, dr as CopilotChatSuggestionConfiguration, er as LangGraphInterruptActionSetterArgs, fr as SystemMessageFunction, gr as ActionRenderProps, hr as TreeNode, ir as QueuedInterruptEvent, lr as CrewsTaskStateItem, mr as Tree, n as defaultCopilotContextCategories, nr as LangGraphInterruptRenderHandlerProps, or as CrewsResponse, pr as DocumentPointer, qn as CopilotApiConfig, r as CopilotKitProps, rr as LangGraphInterruptRenderProps, sr as CrewsResponseStatus, t as CopilotKit, tr as LangGraphInterruptRender, ur as CrewsToolStateItem, vr as ActionRenderPropsNoArgsWait, wr as RenderFunctionStatus, xr as CatchAllFrontendAction, yr as ActionRenderPropsWait, yt as useRenderToolCall$1 } from "./copilotkit-DYM5ChMS.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 { $n as LangGraphInterruptActionSetterArgs, Cr as RenderFunctionStatus, Gn as CoagentInChatRenderFunction, Jn as CopilotContextParams, Kn as CopilotApiConfig, Qn as LangGraphInterruptActionSetter, Sr as FrontendActionAvailability, X as useAgent, Xn as CoAgentStateRender, Yn as useCopilotContext, Zn as LangGraphInterruptAction, _r as ActionRenderPropsNoArgsWait, ar as CrewsResponse, br as CatchAllFrontendAction, cr as CrewsTaskStateItem, dr as SystemMessageFunction, er as LangGraphInterruptRender, fr as DocumentPointer, gr as ActionRenderPropsNoArgs, hr as ActionRenderProps, ir as CrewsAgentState, lr as CrewsToolStateItem, mr as TreeNode, n as defaultCopilotContextCategories, nr as LangGraphInterruptRenderProps, or as CrewsResponseStatus, pr as Tree, qn as CopilotContext, r as CopilotKitProps, rr as QueuedInterruptEvent, sr as CrewsStateItem, t as CopilotKit, tr as LangGraphInterruptRenderHandlerProps, ur as CopilotChatSuggestionConfiguration, vr as ActionRenderPropsWait, xr as FrontendAction, yr as CatchAllActionRenderProps, yt as useRenderToolCall$1 } from "./copilotkit-BUIK5yln.mjs";
1
+ import { $n as LangGraphInterruptActionSetter, Cr as FrontendActionAvailability, Jn as CopilotContext, Kn as CoagentInChatRenderFunction, Qn as LangGraphInterruptAction, Sr as FrontendAction, X as useAgent, Xn as useCopilotContext, Yn as CopilotContextParams, Zn as CoAgentStateRender, _r as ActionRenderPropsNoArgs, ar as CrewsAgentState, br as CatchAllActionRenderProps, cr as CrewsStateItem, dr as CopilotChatSuggestionConfiguration, er as LangGraphInterruptActionSetterArgs, fr as SystemMessageFunction, gr as ActionRenderProps, hr as TreeNode, ir as QueuedInterruptEvent, lr as CrewsTaskStateItem, mr as Tree, n as defaultCopilotContextCategories, nr as LangGraphInterruptRenderHandlerProps, or as CrewsResponse, pr as DocumentPointer, qn as CopilotApiConfig, r as CopilotKitProps, rr as LangGraphInterruptRenderProps, sr as CrewsResponseStatus, t as CopilotKit, tr as LangGraphInterruptRender, ur as CrewsToolStateItem, vr as ActionRenderPropsNoArgsWait, wr as RenderFunctionStatus, xr as CatchAllFrontendAction, yr as ActionRenderPropsWait, yt as useRenderToolCall$1 } from "./copilotkit-pkDPhwkR.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 { Dt as useRenderToolCall$1, Mt as useCopilotChatConfiguration, X as useConfigureSuggestions, Y as useInterrupt, Z as useSuggestions, a as ThreadsProvider, c as CoAgentStateRendersProvider, ct as useRenderCustomMessages, d as shouldShowDevConsole, f as useToast, g as useCopilotContext, h as CopilotContext, i as ThreadsContext, l as useCoAgentStateRenders, m as useCopilotMessagesContext, n as defaultCopilotContextCategories, nt as useHumanInTheLoop$1, o as useThreads, ot as useFrontendTool$1, p as CopilotMessagesContext, pt as defineToolCallRenderer, r as CoAgentStateRenderBridge, s as CoAgentStateRendersContext, t as CopilotKit, tt as useAgent, u as useAsyncCallback, ut as useCopilotKit } from "./copilotkit-C4RqjAba.mjs";
3
+ import { Dt as useRenderToolCall$1, Mt as useCopilotChatConfiguration, X as useConfigureSuggestions, Y as useInterrupt, Z as useSuggestions, a as ThreadsProvider, c as CoAgentStateRendersProvider, ct as useRenderCustomMessages, d as shouldShowDevConsole, f as useToast, g as useCopilotContext, h as CopilotContext, i as ThreadsContext, l as useCoAgentStateRenders, m as useCopilotMessagesContext, n as defaultCopilotContextCategories, nt as useHumanInTheLoop$1, o as useThreads, ot as useFrontendTool$1, p as CopilotMessagesContext, pt as defineToolCallRenderer, r as CoAgentStateRenderBridge, s as CoAgentStateRendersContext, t as CopilotKit, tt as useAgent, u as useAsyncCallback, ut as useCopilotKit } from "./copilotkit-ykQW_VJZ.mjs";
4
4
  import React, { Fragment, createElement, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
5
5
  import { CopilotKitCoreRuntimeConnectionStatus, ToolCallStatus } from "@copilotkit/core";
6
6
  import { AGUIConnectNotImplementedError, HttpAgent } from "@ag-ui/client";
package/dist/index.umd.js CHANGED
@@ -5250,7 +5250,6 @@ window.parent.postMessage({jsonrpc:"2.0",method:"ui/notifications/sandbox-proxy-
5250
5250
  ...v2Props,
5251
5251
  showDevConsole: showInspector,
5252
5252
  renderCustomMessages: renderArr,
5253
- useSingleEndpoint: props.useSingleEndpoint ?? true,
5254
5253
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CopilotKitInternal, {
5255
5254
  ...props,
5256
5255
  children