@copilotkit/react-core 1.57.0-canary.1778078321 → 1.57.0-canary.1778082736
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-BNlJq5UO.d.mts.map +1 -1
- package/dist/{copilotkit-XGd8L2jL.cjs → copilotkit-B_k0HSNz.cjs} +2 -2
- package/dist/copilotkit-B_k0HSNz.cjs.map +1 -0
- package/dist/copilotkit-DgC5oCFO.d.cts.map +1 -1
- package/dist/{copilotkit-DhuXdtE1.mjs → copilotkit-ak8sGvQr.mjs} +2 -2
- package/dist/copilotkit-ak8sGvQr.mjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/v2/index.cjs +1 -1
- package/dist/v2/index.mjs +1 -1
- package/dist/v2/index.umd.js +1 -1
- package/dist/v2/index.umd.js.map +1 -1
- package/package.json +6 -6
- package/src/v2/components/intelligence-indicator/IntelligenceIndicator.tsx +3 -1
- package/src/v2/components/intelligence-indicator/__tests__/IntelligenceIndicator.e2e.test.tsx +3 -3
- package/dist/copilotkit-DhuXdtE1.mjs.map +0 -1
- package/dist/copilotkit-XGd8L2jL.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-B_k0HSNz.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 { $ as useRenderToolCall$1, B as useInterrupt, G as useAgent, H as useSuggestions, K as useHumanInTheLoop$1, Q as useRenderCustomMessages, V as useConfigureSuggestions, X as useFrontendTool$1, a as ThreadsProvider, c as CoAgentStateRendersProvider, d as shouldShowDevConsole, f as useToast, g as useCopilotContext, gt as useCopilotChatConfiguration, h as CopilotContext, i as ThreadsContext, it as defineToolCallRenderer, l as useCoAgentStateRenders, m as useCopilotMessagesContext, n as defaultCopilotContextCategories, o as useThreads, p as CopilotMessagesContext, r as CoAgentStateRenderBridge, s as CoAgentStateRendersContext, t as CopilotKit, tt as useCopilotKit, u as useAsyncCallback } from "./copilotkit-
|
|
3
|
+
import { $ as useRenderToolCall$1, B as useInterrupt, G as useAgent, H as useSuggestions, K as useHumanInTheLoop$1, Q as useRenderCustomMessages, V as useConfigureSuggestions, X as useFrontendTool$1, a as ThreadsProvider, c as CoAgentStateRendersProvider, d as shouldShowDevConsole, f as useToast, g as useCopilotContext, gt as useCopilotChatConfiguration, h as CopilotContext, i as ThreadsContext, it as defineToolCallRenderer, l as useCoAgentStateRenders, m as useCopilotMessagesContext, n as defaultCopilotContextCategories, o as useThreads, p as CopilotMessagesContext, r as CoAgentStateRenderBridge, s as CoAgentStateRendersContext, t as CopilotKit, tt as useCopilotKit, u as useAsyncCallback } from "./copilotkit-ak8sGvQr.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/v2/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-B_k0HSNz.cjs');
|
|
5
5
|
require("./index.css");
|
|
6
6
|
let _copilotkit_a2ui_renderer = require("@copilotkit/a2ui-renderer");
|
|
7
7
|
|
package/dist/v2/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import { $ as useRenderToolCall, A as IntelligenceIndicator, B as useInterrupt, C as CopilotChatToggleButton, D as CopilotChatView_default, E as CopilotChat, F as CopilotChatAttachmentRenderer, G as useAgent, H as useSuggestions, I as CopilotChatAssistantMessage_default, J as useRenderTool, K as useHumanInTheLoop, L as CopilotChatToolCallsView, M as CopilotChatSuggestionPill, N as CopilotChatReasoningMessage_default, O as CopilotChatAttachmentQueue, P as CopilotChatUserMessage_default, Q as useRenderCustomMessages, R as useAttachments, S as CopilotModalHeader, T as DefaultOpenIcon, U as useCapabilities, V as useConfigureSuggestions, W as UseAgentUpdate, X as useFrontendTool, Y as useComponent, Z as useRenderActivityMessage, _ as WildcardToolCallRender, at as createA2UIMessageRenderer, b as CopilotPopupView, ct as MCPAppsActivityContentSchema, dt as CopilotKitInspector, et as CopilotKitProvider, ft as CopilotChatInput_default, gt as useCopilotChatConfiguration, ht as CopilotChatConfigurationProvider, it as defineToolCallRenderer, j as CopilotChatSuggestionView, k as CopilotChatMessageView, lt as MCPAppsActivityRenderer, mt as CopilotChatAudioRecorder, nt as CopilotKitCoreReact, ot as SandboxFunctionsContext, pt as AudioRecorderError, q as useDefaultRenderTool, rt as useAgentContext, st as useSandboxFunctions, t as CopilotKit, tt as useCopilotKit, ut as MCPAppsActivityType, v as CopilotPopup, w as DefaultCloseIcon, x as CopilotSidebarView, y as CopilotSidebar, z as useThreads } from "../copilotkit-
|
|
3
|
+
import { $ as useRenderToolCall, A as IntelligenceIndicator, B as useInterrupt, C as CopilotChatToggleButton, D as CopilotChatView_default, E as CopilotChat, F as CopilotChatAttachmentRenderer, G as useAgent, H as useSuggestions, I as CopilotChatAssistantMessage_default, J as useRenderTool, K as useHumanInTheLoop, L as CopilotChatToolCallsView, M as CopilotChatSuggestionPill, N as CopilotChatReasoningMessage_default, O as CopilotChatAttachmentQueue, P as CopilotChatUserMessage_default, Q as useRenderCustomMessages, R as useAttachments, S as CopilotModalHeader, T as DefaultOpenIcon, U as useCapabilities, V as useConfigureSuggestions, W as UseAgentUpdate, X as useFrontendTool, Y as useComponent, Z as useRenderActivityMessage, _ as WildcardToolCallRender, at as createA2UIMessageRenderer, b as CopilotPopupView, ct as MCPAppsActivityContentSchema, dt as CopilotKitInspector, et as CopilotKitProvider, ft as CopilotChatInput_default, gt as useCopilotChatConfiguration, ht as CopilotChatConfigurationProvider, it as defineToolCallRenderer, j as CopilotChatSuggestionView, k as CopilotChatMessageView, lt as MCPAppsActivityRenderer, mt as CopilotChatAudioRecorder, nt as CopilotKitCoreReact, ot as SandboxFunctionsContext, pt as AudioRecorderError, q as useDefaultRenderTool, rt as useAgentContext, st as useSandboxFunctions, t as CopilotKit, tt as useCopilotKit, ut as MCPAppsActivityType, v as CopilotPopup, w as DefaultCloseIcon, x as CopilotSidebarView, y as CopilotSidebar, z as useThreads } from "../copilotkit-ak8sGvQr.mjs";
|
|
4
4
|
import "./index.css";
|
|
5
5
|
import { defaultTheme as a2uiDefaultTheme } from "@copilotkit/a2ui-renderer";
|
|
6
6
|
|
package/dist/v2/index.umd.js
CHANGED
|
@@ -5722,7 +5722,7 @@ window.parent.postMessage({jsonrpc:"2.0",method:"ui/notifications/sandbox-proxy-
|
|
|
5722
5722
|
* we add per-instance customization later (e.g. a `CopilotKitProvider`
|
|
5723
5723
|
* prop or a runtime-info field), this constant becomes the fallback.
|
|
5724
5724
|
*/
|
|
5725
|
-
const DEFAULT_TOOL_PATTERNS = [/^
|
|
5725
|
+
const DEFAULT_TOOL_PATTERNS = [/^copilotkit_knowledge_base_shell$/];
|
|
5726
5726
|
const isMatchingToolCallName = (name) => typeof name === "string" && DEFAULT_TOOL_PATTERNS.some((p) => p.test(name));
|
|
5727
5727
|
/**
|
|
5728
5728
|
* "Tool-call-like" messages do NOT count as a real follow-up: tool
|