@copilotkit/react-core 1.59.0 → 1.59.2
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/{copilotkit-L4mM_JqG.mjs → copilotkit-B5RsC6la.mjs} +144 -39
- package/dist/copilotkit-B5RsC6la.mjs.map +1 -0
- package/dist/{copilotkit-WlmeVijs.d.mts → copilotkit-CEJz6krE.d.mts} +3 -2
- package/dist/{copilotkit-WlmeVijs.d.mts.map → copilotkit-CEJz6krE.d.mts.map} +1 -1
- package/dist/{copilotkit-BK9CVq9A.d.cts → copilotkit-D16eCFkt.d.cts} +3 -2
- package/dist/{copilotkit-BK9CVq9A.d.cts.map → copilotkit-D16eCFkt.d.cts.map} +1 -1
- package/dist/{copilotkit-B4ouY7qC.cjs → copilotkit-IQO0VDZb.cjs} +144 -39
- package/dist/copilotkit-IQO0VDZb.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.umd.js +368 -398
- package/dist/index.umd.js.map +1 -1
- package/dist/v2/headless.cjs +44 -19
- package/dist/v2/headless.cjs.map +1 -1
- package/dist/v2/headless.mjs +44 -19
- package/dist/v2/headless.mjs.map +1 -1
- package/dist/v2/index.cjs +1 -1
- package/dist/v2/index.d.cts +1 -1
- package/dist/v2/index.d.mts +1 -1
- package/dist/v2/index.mjs +1 -1
- package/dist/v2/index.umd.js +444 -523
- package/dist/v2/index.umd.js.map +1 -1
- package/package.json +12 -7
- package/dist/copilotkit-B4ouY7qC.cjs.map +0 -1
- package/dist/copilotkit-L4mM_JqG.mjs.map +0 -1
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-
|
|
4
|
+
const require_copilotkit = require('./copilotkit-IQO0VDZb.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 { An as ActionRenderPropsWait, Cn as SystemMessageFunction, Dn as ActionRenderProps, En as TreeNode, Fn as RenderFunctionStatus, Mn as CatchAllFrontendAction, N as useAgent, Nn as FrontendAction, On as ActionRenderPropsNoArgs, Pn as FrontendActionAvailability, Q as useRenderToolCall$1, Sn as CopilotChatSuggestionConfiguration, Tn as Tree, _n as CrewsResponse, an as CopilotContext, bn as CrewsTaskStateItem, cn as CoAgentStateRender, dn as LangGraphInterruptActionSetterArgs, fn as LangGraphInterruptRender, gn as CrewsAgentState, hn as QueuedInterruptEvent, in as CopilotApiConfig, jn as CatchAllActionRenderProps, kn as ActionRenderPropsNoArgsWait, ln as LangGraphInterruptAction, mn as LangGraphInterruptRenderProps, n as defaultCopilotContextCategories, on as CopilotContextParams, pn as LangGraphInterruptRenderHandlerProps, r as CopilotKitProps, rn as CoagentInChatRenderFunction, sn as useCopilotContext, t as CopilotKit, un as LangGraphInterruptActionSetter, vn as CrewsResponseStatus, wn as DocumentPointer, xn as CrewsToolStateItem, yn as CrewsStateItem } from "./copilotkit-
|
|
1
|
+
import { An as ActionRenderPropsWait, Cn as SystemMessageFunction, Dn as ActionRenderProps, En as TreeNode, Fn as RenderFunctionStatus, Mn as CatchAllFrontendAction, N as useAgent, Nn as FrontendAction, On as ActionRenderPropsNoArgs, Pn as FrontendActionAvailability, Q as useRenderToolCall$1, Sn as CopilotChatSuggestionConfiguration, Tn as Tree, _n as CrewsResponse, an as CopilotContext, bn as CrewsTaskStateItem, cn as CoAgentStateRender, dn as LangGraphInterruptActionSetterArgs, fn as LangGraphInterruptRender, gn as CrewsAgentState, hn as QueuedInterruptEvent, in as CopilotApiConfig, jn as CatchAllActionRenderProps, kn as ActionRenderPropsNoArgsWait, ln as LangGraphInterruptAction, mn as LangGraphInterruptRenderProps, n as defaultCopilotContextCategories, on as CopilotContextParams, pn as LangGraphInterruptRenderHandlerProps, r as CopilotKitProps, rn as CoagentInChatRenderFunction, sn as useCopilotContext, t as CopilotKit, un as LangGraphInterruptActionSetter, vn as CrewsResponseStatus, wn as DocumentPointer, xn as CrewsToolStateItem, yn as CrewsStateItem } from "./copilotkit-D16eCFkt.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 { An as ActionRenderPropsWait, Cn as SystemMessageFunction, Dn as ActionRenderProps, En as TreeNode, Fn as RenderFunctionStatus, Mn as CatchAllFrontendAction, N as useAgent, Nn as FrontendAction, On as ActionRenderPropsNoArgs, Pn as FrontendActionAvailability, Q as useRenderToolCall$1, Sn as CopilotChatSuggestionConfiguration, Tn as Tree, _n as CrewsResponse, an as CopilotContext, bn as CrewsTaskStateItem, cn as CoAgentStateRender, dn as LangGraphInterruptActionSetterArgs, fn as LangGraphInterruptRender, gn as CrewsAgentState, hn as QueuedInterruptEvent, in as CopilotApiConfig, jn as CatchAllActionRenderProps, kn as ActionRenderPropsNoArgsWait, ln as LangGraphInterruptAction, mn as LangGraphInterruptRenderProps, n as defaultCopilotContextCategories, on as CopilotContextParams, pn as LangGraphInterruptRenderHandlerProps, r as CopilotKitProps, rn as CoagentInChatRenderFunction, sn as useCopilotContext, t as CopilotKit, un as LangGraphInterruptActionSetter, vn as CrewsResponseStatus, wn as DocumentPointer, xn as CrewsToolStateItem, yn as CrewsStateItem } from "./copilotkit-
|
|
1
|
+
import { An as ActionRenderPropsWait, Cn as SystemMessageFunction, Dn as ActionRenderProps, En as TreeNode, Fn as RenderFunctionStatus, Mn as CatchAllFrontendAction, N as useAgent, Nn as FrontendAction, On as ActionRenderPropsNoArgs, Pn as FrontendActionAvailability, Q as useRenderToolCall$1, Sn as CopilotChatSuggestionConfiguration, Tn as Tree, _n as CrewsResponse, an as CopilotContext, bn as CrewsTaskStateItem, cn as CoAgentStateRender, dn as LangGraphInterruptActionSetterArgs, fn as LangGraphInterruptRender, gn as CrewsAgentState, hn as QueuedInterruptEvent, in as CopilotApiConfig, jn as CatchAllActionRenderProps, kn as ActionRenderPropsNoArgsWait, ln as LangGraphInterruptAction, mn as LangGraphInterruptRenderProps, n as defaultCopilotContextCategories, on as CopilotContextParams, pn as LangGraphInterruptRenderHandlerProps, r as CopilotKitProps, rn as CoagentInChatRenderFunction, sn as useCopilotContext, t as CopilotKit, un as LangGraphInterruptActionSetter, vn as CrewsResponseStatus, wn as DocumentPointer, xn as CrewsToolStateItem, yn as CrewsStateItem } from "./copilotkit-CEJz6krE.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 { B as useInterrupt, G as useAgent, H as useSuggestions, J as useFrontendTool$1, K as useHumanInTheLoop$1, V as useConfigureSuggestions, X as useRenderCustomMessages, a as ThreadsProvider, c as CoAgentStateRendersProvider, d as shouldShowDevConsole, f as useToast, g as useCopilotContext, gt as useCopilotChatConfiguration, h as CopilotContext, i as ThreadsContext, l as useCoAgentStateRenders, lt as defineToolCallRenderer, m as useCopilotMessagesContext, n as defaultCopilotContextCategories, o as useThreads, ot as useRenderToolCall$1, p as CopilotMessagesContext, r as CoAgentStateRenderBridge, s as CoAgentStateRendersContext, t as CopilotKit, u as useAsyncCallback, ut as useCopilotKit } from "./copilotkit-
|
|
3
|
+
import { B as useInterrupt, G as useAgent, H as useSuggestions, J as useFrontendTool$1, K as useHumanInTheLoop$1, V as useConfigureSuggestions, X as useRenderCustomMessages, a as ThreadsProvider, c as CoAgentStateRendersProvider, d as shouldShowDevConsole, f as useToast, g as useCopilotContext, gt as useCopilotChatConfiguration, h as CopilotContext, i as ThreadsContext, l as useCoAgentStateRenders, lt as defineToolCallRenderer, m as useCopilotMessagesContext, n as defaultCopilotContextCategories, o as useThreads, ot as useRenderToolCall$1, p as CopilotMessagesContext, r as CoAgentStateRenderBridge, s as CoAgentStateRendersContext, t as CopilotKit, u as useAsyncCallback, ut as useCopilotKit } from "./copilotkit-B5RsC6la.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";
|