@copilotkit/react-core 1.75.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-D2emzYuj.cjs → copilotkit-DIudpHkM.cjs} +3 -2
- package/dist/copilotkit-DIudpHkM.cjs.map +1 -0
- package/dist/{copilotkit-CoWG8EAX.mjs → copilotkit-DfsHZUuo.mjs} +3 -2
- package/dist/copilotkit-DfsHZUuo.mjs.map +1 -0
- package/dist/index.cjs +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.mjs +1 -1
- package/dist/v2/index.umd.js +2 -1
- package/dist/v2/index.umd.js.map +1 -1
- package/package.json +8 -8
- package/dist/copilotkit-CoWG8EAX.mjs.map +0 -1
- package/dist/copilotkit-D2emzYuj.cjs.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.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.75.
|
|
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;
|