@copilotkit/web-inspector 1.55.0-next.7 → 1.55.0-next.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @copilotkit/web-inspector
2
2
 
3
+ ## 1.55.0-next.8
4
+
5
+ ### Patch Changes
6
+
7
+ - @copilotkit/core@1.55.0-next.8
8
+
3
9
  ## 1.55.0-next.7
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@copilotkit/web-inspector",
3
- "version": "1.55.0-next.7",
3
+ "version": "1.55.0-next.8",
4
4
  "description": "Lit-based web component for the CopilotKit web inspector",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.cts",
@@ -22,7 +22,7 @@
22
22
  "lit": "^3.2.0",
23
23
  "lucide": "^0.525.0",
24
24
  "marked": "^12.0.2",
25
- "@copilotkit/core": "1.55.0-next.7"
25
+ "@copilotkit/core": "1.55.0-next.8"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@tailwindcss/cli": "^4.1.11",
@@ -33,8 +33,8 @@
33
33
  "tsdown": "^0.20.3",
34
34
  "typescript": "5.8.2",
35
35
  "vitest": "^3.0.5",
36
- "@copilotkit/typescript-config": "1.55.0-next.7",
37
- "@copilotkit/eslint-config": "1.55.0-next.7"
36
+ "@copilotkit/eslint-config": "1.55.0-next.8",
37
+ "@copilotkit/typescript-config": "1.55.0-next.8"
38
38
  },
39
39
  "engines": {
40
40
  "node": ">=18"
@@ -5,7 +5,7 @@ import {
5
5
  type CopilotKitCoreSubscriber,
6
6
  } from "@copilotkit/core";
7
7
  import type { AbstractAgent, AgentSubscriber } from "@ag-ui/client";
8
- import { describe, it, expect, vi, beforeEach } from "vitest";
8
+ import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
9
9
 
10
10
  type MockAgentController = {
11
11
  emit: (key: keyof AgentSubscriber, payload: unknown) => void;
@@ -117,6 +117,10 @@ describe("WebInspectorElement", () => {
117
117
  mockClipboard;
118
118
  });
119
119
 
120
+ afterEach(() => {
121
+ vi.clearAllTimers();
122
+ });
123
+
120
124
  it("records agent events and syncs state/messages/tools", async () => {
121
125
  const { agent, controller } = createMockAgent("alpha", {
122
126
  messages: [{ id: "m1", role: "user", content: "hi there" }],