@copilotkit/react-core 1.74.0 → 1.75.1
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-CfyJ1-Nx.d.mts → copilotkit-CGlSOKHM.d.mts} +38 -2
- package/dist/copilotkit-CGlSOKHM.d.mts.map +1 -0
- package/dist/{copilotkit-C7c_w9iV.d.cts → copilotkit-Cjj9wDI8.d.cts} +38 -2
- package/dist/copilotkit-Cjj9wDI8.d.cts.map +1 -0
- package/dist/{copilotkit-C5FS3iDK.cjs → copilotkit-DIudpHkM.cjs} +73 -38
- package/dist/copilotkit-DIudpHkM.cjs.map +1 -0
- package/dist/{copilotkit-DyZh7EH4.mjs → copilotkit-DfsHZUuo.mjs} +73 -38
- package/dist/copilotkit-DfsHZUuo.mjs.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 +2 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/v2/headless.cjs +1 -0
- package/dist/v2/headless.cjs.map +1 -1
- package/dist/v2/headless.mjs +1 -0
- 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 +72 -37
- package/dist/v2/index.umd.js.map +1 -1
- package/package.json +9 -9
- package/dist/copilotkit-C5FS3iDK.cjs.map +0 -1
- package/dist/copilotkit-C7c_w9iV.d.cts.map +0 -1
- package/dist/copilotkit-CfyJ1-Nx.d.mts.map +0 -1
- package/dist/copilotkit-DyZh7EH4.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-DIudpHkM.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 { Ad as ActionRenderPropsNoArgs, Cd as CrewsToolStateItem, Dd as Tree, Ed as DocumentPointer, Fd as CatchAllFrontendAction, Id as FrontendAction, Ld as FrontendActionAvailability, Md as ActionRenderPropsWait, Nd as CatchAllActionRenderProps, Od as TreeNode, Pd as CatchAllActionRenderPropsWait, Rd as RenderFunctionStatus, Sd as CrewsTaskStateItem, Td as SystemMessageFunction, X as useAgent, _d as QueuedInterruptEvent, ad as CoagentInChatRenderFunction, bd as CrewsResponseStatus, cd as CopilotContextParams, dd as LangGraphInterruptAction, fd as LangGraphInterruptActionSetter, gd as LangGraphInterruptRenderProps, hd as LangGraphInterruptRenderHandlerProps, jd as ActionRenderPropsNoArgsWait, kd as ActionRenderProps, ld as useCopilotContext, md as LangGraphInterruptRender, n as defaultCopilotContextCategories, od as CopilotApiConfig, pd as LangGraphInterruptActionSetterArgs, r as CopilotKitProps, sd as CopilotContext, t as CopilotKit, ud as CoAgentStateRender, vd as CrewsAgentState, wd as CopilotChatSuggestionConfiguration, xd as CrewsStateItem, xt as useRenderToolCall$1, yd as CrewsResponse } from "./copilotkit-
|
|
1
|
+
import { Ad as ActionRenderPropsNoArgs, Cd as CrewsToolStateItem, Dd as Tree, Ed as DocumentPointer, Fd as CatchAllFrontendAction, Id as FrontendAction, Ld as FrontendActionAvailability, Md as ActionRenderPropsWait, Nd as CatchAllActionRenderProps, Od as TreeNode, Pd as CatchAllActionRenderPropsWait, Rd as RenderFunctionStatus, Sd as CrewsTaskStateItem, Td as SystemMessageFunction, X as useAgent, _d as QueuedInterruptEvent, ad as CoagentInChatRenderFunction, bd as CrewsResponseStatus, cd as CopilotContextParams, dd as LangGraphInterruptAction, fd as LangGraphInterruptActionSetter, gd as LangGraphInterruptRenderProps, hd as LangGraphInterruptRenderHandlerProps, jd as ActionRenderPropsNoArgsWait, kd as ActionRenderProps, ld as useCopilotContext, md as LangGraphInterruptRender, n as defaultCopilotContextCategories, od as CopilotApiConfig, pd as LangGraphInterruptActionSetterArgs, r as CopilotKitProps, sd as CopilotContext, t as CopilotKit, ud as CoAgentStateRender, vd as CrewsAgentState, wd as CopilotChatSuggestionConfiguration, xd as CrewsStateItem, xt as useRenderToolCall$1, yd as CrewsResponse } from "./copilotkit-Cjj9wDI8.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 { Ad as ActionRenderPropsNoArgs, Cd as CrewsToolStateItem, Dd as Tree, Ed as DocumentPointer, Fd as CatchAllFrontendAction, Id as FrontendAction, Ld as FrontendActionAvailability, Md as ActionRenderPropsWait, Nd as CatchAllActionRenderProps, Od as TreeNode, Pd as CatchAllActionRenderPropsWait, Rd as RenderFunctionStatus, Sd as CrewsTaskStateItem, Td as SystemMessageFunction, X as useAgent, _d as QueuedInterruptEvent, ad as CoagentInChatRenderFunction, bd as CrewsResponseStatus, cd as CopilotContextParams, dd as LangGraphInterruptAction, fd as LangGraphInterruptActionSetter, gd as LangGraphInterruptRenderProps, hd as LangGraphInterruptRenderHandlerProps, jd as ActionRenderPropsNoArgsWait, kd as ActionRenderProps, ld as useCopilotContext, md as LangGraphInterruptRender, n as defaultCopilotContextCategories, od as CopilotApiConfig, pd as LangGraphInterruptActionSetterArgs, r as CopilotKitProps, sd as CopilotContext, t as CopilotKit, ud as CoAgentStateRender, vd as CrewsAgentState, wd as CopilotChatSuggestionConfiguration, xd as CrewsStateItem, xt as useRenderToolCall$1, yd as CrewsResponse } from "./copilotkit-
|
|
1
|
+
import { Ad as ActionRenderPropsNoArgs, Cd as CrewsToolStateItem, Dd as Tree, Ed as DocumentPointer, Fd as CatchAllFrontendAction, Id as FrontendAction, Ld as FrontendActionAvailability, Md as ActionRenderPropsWait, Nd as CatchAllActionRenderProps, Od as TreeNode, Pd as CatchAllActionRenderPropsWait, Rd as RenderFunctionStatus, Sd as CrewsTaskStateItem, Td as SystemMessageFunction, X as useAgent, _d as QueuedInterruptEvent, ad as CoagentInChatRenderFunction, bd as CrewsResponseStatus, cd as CopilotContextParams, dd as LangGraphInterruptAction, fd as LangGraphInterruptActionSetter, gd as LangGraphInterruptRenderProps, hd as LangGraphInterruptRenderHandlerProps, jd as ActionRenderPropsNoArgsWait, kd as ActionRenderProps, ld as useCopilotContext, md as LangGraphInterruptRender, n as defaultCopilotContextCategories, od as CopilotApiConfig, pd as LangGraphInterruptActionSetterArgs, r as CopilotKitProps, sd as CopilotContext, t as CopilotKit, ud as CoAgentStateRender, vd as CrewsAgentState, wd as CopilotChatSuggestionConfiguration, xd as CrewsStateItem, xt as useRenderToolCall$1, yd as CrewsResponse } from "./copilotkit-CGlSOKHM.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 { Pt as useCopilotChatConfiguration, Q as useSuggestions, X as INTERRUPT_EVENT_NAME, Y as useInterrupt, Z as useConfigureSuggestions, a as ThreadsProvider, c as CoAgentStateRendersProvider, ct as useFrontendTool$1, d as shouldShowDevConsole, f as useToast, ft as useCopilotKit, g as useCopilotContext, h as CopilotContext, ht as defineToolCallRenderer, i as ThreadsContext, kt as useRenderToolCall$1, l as useCoAgentStateRenders, m as useCopilotMessagesContext, n as defaultCopilotContextCategories, nt as useAgent, o as useThreads, p as CopilotMessagesContext, r as CoAgentStateRenderBridge, rt as useHumanInTheLoop$1, s as CoAgentStateRendersContext, t as CopilotKit, u as useAsyncCallback, ut as useRenderCustomMessages } from "./copilotkit-
|
|
3
|
+
import { Pt as useCopilotChatConfiguration, Q as useSuggestions, X as INTERRUPT_EVENT_NAME, Y as useInterrupt, Z as useConfigureSuggestions, a as ThreadsProvider, c as CoAgentStateRendersProvider, ct as useFrontendTool$1, d as shouldShowDevConsole, f as useToast, ft as useCopilotKit, g as useCopilotContext, h as CopilotContext, ht as defineToolCallRenderer, i as ThreadsContext, kt as useRenderToolCall$1, l as useCoAgentStateRenders, m as useCopilotMessagesContext, n as defaultCopilotContextCategories, nt as useAgent, o as useThreads, p as CopilotMessagesContext, r as CoAgentStateRenderBridge, rt as useHumanInTheLoop$1, s as CoAgentStateRendersContext, t as CopilotKit, u as useAsyncCallback, ut as useRenderCustomMessages } from "./copilotkit-DfsHZUuo.mjs";
|
|
4
4
|
import React, { Fragment, createElement, useCallback, useContext, useEffect, useLayoutEffect, 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
|
@@ -583,7 +583,7 @@ react_markdown = __toESM(react_markdown);
|
|
|
583
583
|
|
|
584
584
|
//#endregion
|
|
585
585
|
//#region package.json
|
|
586
|
-
var version = "1.
|
|
586
|
+
var version = "1.75.1";
|
|
587
587
|
|
|
588
588
|
//#endregion
|
|
589
589
|
//#region src/v2/components/CopilotKitInspector.tsx
|
|
@@ -3008,6 +3008,7 @@ react_markdown = __toESM(react_markdown);
|
|
|
3008
3008
|
if (updateFlags.includes(UseAgentUpdate.OnStateChanged)) handlers.onStateChanged = batchedForceUpdate;
|
|
3009
3009
|
if (updateFlags.includes(UseAgentUpdate.OnRunStatusChanged)) {
|
|
3010
3010
|
handlers.onRunInitialized = batchedForceUpdate;
|
|
3011
|
+
handlers.onRunStartedEvent = batchedForceUpdate;
|
|
3011
3012
|
handlers.onRunFinalized = batchedForceUpdate;
|
|
3012
3013
|
handlers.onRunFailed = batchedForceUpdate;
|
|
3013
3014
|
handlers.onRunErrorEvent = batchedForceUpdate;
|