@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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@copilotkit/react-core",
|
|
3
|
-
"version": "1.57.0-canary.
|
|
3
|
+
"version": "1.57.0-canary.1778082736",
|
|
4
4
|
"private": false,
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -73,11 +73,11 @@
|
|
|
73
73
|
"untruncate-json": "^0.0.1",
|
|
74
74
|
"use-stick-to-bottom": "^1.1.1",
|
|
75
75
|
"zod-to-json-schema": "^3.24.5",
|
|
76
|
-
"@copilotkit/a2ui-renderer": "1.57.0-canary.
|
|
77
|
-
"@copilotkit/
|
|
78
|
-
"@copilotkit/
|
|
79
|
-
"@copilotkit/
|
|
80
|
-
"@copilotkit/
|
|
76
|
+
"@copilotkit/a2ui-renderer": "1.57.0-canary.1778082736",
|
|
77
|
+
"@copilotkit/core": "1.57.0-canary.1778082736",
|
|
78
|
+
"@copilotkit/runtime-client-gql": "1.57.0-canary.1778082736",
|
|
79
|
+
"@copilotkit/web-inspector": "1.57.0-canary.1778082736",
|
|
80
|
+
"@copilotkit/shared": "1.57.0-canary.1778082736"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@tailwindcss/cli": "^4.1.11",
|
|
@@ -30,7 +30,9 @@ const FADE_OUT_ANIMATION_MS = 480;
|
|
|
30
30
|
* we add per-instance customization later (e.g. a `CopilotKitProvider`
|
|
31
31
|
* prop or a runtime-info field), this constant becomes the fallback.
|
|
32
32
|
*/
|
|
33
|
-
const DEFAULT_TOOL_PATTERNS: readonly RegExp[] = [
|
|
33
|
+
const DEFAULT_TOOL_PATTERNS: readonly RegExp[] = [
|
|
34
|
+
/^copilotkit_knowledge_base_shell$/,
|
|
35
|
+
];
|
|
34
36
|
|
|
35
37
|
type Phase = "idle" | "spinner" | "check" | "fading" | "hidden";
|
|
36
38
|
|
package/src/v2/components/intelligence-indicator/__tests__/IntelligenceIndicator.e2e.test.tsx
CHANGED
|
@@ -4,7 +4,7 @@ import { fireEvent, render, screen, waitFor } from "@testing-library/react";
|
|
|
4
4
|
import { EventType } from "@ag-ui/client";
|
|
5
5
|
import type { BaseEvent, RunAgentInput } from "@ag-ui/client";
|
|
6
6
|
import type { Observable } from "rxjs";
|
|
7
|
-
import {
|
|
7
|
+
import type { Subject } from "rxjs";
|
|
8
8
|
import { takeWhile } from "rxjs/operators";
|
|
9
9
|
import {
|
|
10
10
|
MockStepwiseAgent,
|
|
@@ -76,7 +76,7 @@ const emitAssistantMessageWithToolCalls = (
|
|
|
76
76
|
agent.emit(
|
|
77
77
|
toolCallChunkEvent({
|
|
78
78
|
toolCallId: tc.id,
|
|
79
|
-
toolCallName: tc.name ?? "
|
|
79
|
+
toolCallName: tc.name ?? "copilotkit_knowledge_base_shell",
|
|
80
80
|
parentMessageId: messageId,
|
|
81
81
|
delta: tc.arg,
|
|
82
82
|
}),
|
|
@@ -347,7 +347,7 @@ describe('IntelligenceIndicator — "Using CopilotKit Intelligence" (auto-mounte
|
|
|
347
347
|
|
|
348
348
|
// Second message has a bash call — pill should appear on it.
|
|
349
349
|
emitAssistantMessageWithToolCalls(agent, "m_match", [
|
|
350
|
-
{ id: "tc_match", name: "
|
|
350
|
+
{ id: "tc_match", name: "copilotkit_knowledge_base_shell", arg: "{}" },
|
|
351
351
|
]);
|
|
352
352
|
await waitFor(() => expectPillOn("m_match"));
|
|
353
353
|
expectPillCount(1);
|