@copilotkit/react-core 1.68.3-canary.1787220377 → 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-EFunREg5.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 { $ as useAgent, $n as CoAgentStateRender, Cr as CatchAllFrontendAction, Er as RenderFunctionStatus, Jn as CoagentInChatRenderFunction, Qn as useCopilotContext, Sr as CatchAllActionRenderProps, St as useRenderToolCall$1, Tr as FrontendActionAvailability, Xn as CopilotContext, Yn as CopilotApiConfig, Zn as CopilotContextParams, _r as TreeNode, ar as LangGraphInterruptRenderProps, br as ActionRenderPropsNoArgsWait, cr as CrewsResponse, dr as CrewsTaskStateItem, er as LangGraphInterruptAction, fr as CrewsToolStateItem, gr as Tree, hr as DocumentPointer, ir as LangGraphInterruptRenderHandlerProps, lr as CrewsResponseStatus, mr as SystemMessageFunction, n as defaultCopilotContextCategories, nr as LangGraphInterruptActionSetterArgs, or as QueuedInterruptEvent, pr as CopilotChatSuggestionConfiguration, r as CopilotKitProps, rr as LangGraphInterruptRender, sr as CrewsAgentState, t as CopilotKit, tr as LangGraphInterruptActionSetter, ur as CrewsStateItem, vr as ActionRenderProps, wr as FrontendAction, xr as ActionRenderPropsWait, yr as ActionRenderPropsNoArgs } from "./copilotkit-B1K0Tgnz.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 { $ as useAgent, $n as CoAgentStateRender, Cr as CatchAllFrontendAction, Er as RenderFunctionStatus, Jn as CoagentInChatRenderFunction, Qn as useCopilotContext, Sr as CatchAllActionRenderProps, St as useRenderToolCall$1, Tr as FrontendActionAvailability, Xn as CopilotContext, Yn as CopilotApiConfig, Zn as CopilotContextParams, _r as TreeNode, ar as LangGraphInterruptRenderProps, br as ActionRenderPropsNoArgsWait, cr as CrewsResponse, dr as CrewsTaskStateItem, er as LangGraphInterruptAction, fr as CrewsToolStateItem, gr as Tree, hr as DocumentPointer, ir as LangGraphInterruptRenderHandlerProps, lr as CrewsResponseStatus, mr as SystemMessageFunction, n as defaultCopilotContextCategories, nr as LangGraphInterruptActionSetterArgs, or as QueuedInterruptEvent, pr as CopilotChatSuggestionConfiguration, r as CopilotKitProps, rr as LangGraphInterruptRender, sr as CrewsAgentState, t as CopilotKit, tr as LangGraphInterruptActionSetter, ur as CrewsStateItem, vr as ActionRenderProps, wr as FrontendAction, xr as ActionRenderPropsWait, yr as ActionRenderPropsNoArgs } from "./copilotkit-CZjzQPdq.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 { Nt as useCopilotChatConfiguration, Ot as useRenderToolCall$1, X as useConfigureSuggestions, Y as useInterrupt, Z as useSuggestions, a as ThreadsProvider, c as CoAgentStateRendersProvider, d as shouldShowDevConsole, dt as useCopilotKit, f as useToast, g as useCopilotContext, h as CopilotContext, i as ThreadsContext, l as useCoAgentStateRenders, lt as useRenderCustomMessages, m as useCopilotMessagesContext, mt as defineToolCallRenderer, n as defaultCopilotContextCategories, nt as useAgent, o as useThreads, p as CopilotMessagesContext, r as CoAgentStateRenderBridge, rt as useHumanInTheLoop$1, s as CoAgentStateRendersContext, st as useFrontendTool$1, t as CopilotKit, u as useAsyncCallback } from "./copilotkit-DT2FmOwK.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