@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@copilotkit/react-core",
3
- "version": "1.57.0-canary.1778078321",
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.1778078321",
77
- "@copilotkit/runtime-client-gql": "1.57.0-canary.1778078321",
78
- "@copilotkit/core": "1.57.0-canary.1778078321",
79
- "@copilotkit/shared": "1.57.0-canary.1778078321",
80
- "@copilotkit/web-inspector": "1.57.0-canary.1778078321"
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[] = [/^bash$/];
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
 
@@ -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 { type Subject } from "rxjs";
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 ?? "bash",
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: "bash", arg: "{}" },
350
+ { id: "tc_match", name: "copilotkit_knowledge_base_shell", arg: "{}" },
351
351
  ]);
352
352
  await waitFor(() => expectPillOn("m_match"));
353
353
  expectPillCount(1);