@copilotkit/core 2.0.0-rc.8 → 2.0.0-rc.9

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/core",
3
- "version": "2.0.0-rc.8",
3
+ "version": "2.0.0-rc.9",
4
4
  "description": "Core web utilities for CopilotKit2",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -31,12 +31,12 @@
31
31
  "dependencies": {
32
32
  "@ag-ui/client": "1.0.2",
33
33
  "@ag-ui/core": "1.0.2",
34
- "@copilotkit/learning": "2.0.0-rc.8",
35
- "@copilotkit/shared": "2.0.0-rc.8",
34
+ "@copilotkit/learning": "2.0.0-rc.9",
35
+ "@copilotkit/shared": "2.0.0-rc.9",
36
+ "@jetbrains/websandbox": "^1.1.3",
36
37
  "@tanstack/pacer": "^0.20.1",
37
38
  "phoenix": "^1.8.4",
38
- "rxjs": "7.8.1",
39
- "zod-to-json-schema": "^3.24.6"
39
+ "rxjs": "7.8.1"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/node": "^22.15.3",
@@ -50,7 +50,7 @@
50
50
  "typescript": "5.8.2",
51
51
  "valibot": "^1.2.0",
52
52
  "vitest": "^3.2.4",
53
- "zod": "^3.25.75",
53
+ "zod": "^4.2.0",
54
54
  "@copilotkit/typescript-config": "1.55.0-next.8"
55
55
  },
56
56
  "engines": {
package/tsdown.config.ts CHANGED
@@ -31,6 +31,10 @@ export default defineConfig([
31
31
  "rxjs",
32
32
  "zod",
33
33
  ],
34
+ // Bundle websandbox so its dynamic import is inlined: a UMD script cannot
35
+ // `import()` a bare specifier, and the ES2018 target has no `import()`.
36
+ noExternal: ["@jetbrains/websandbox"],
37
+ inlineOnly: ["@jetbrains/websandbox"],
34
38
  codeSplitting: false,
35
39
  checks: { pluginTimings: false },
36
40
  outputOptions(options) {
@@ -41,7 +45,6 @@ export default defineConfig([
41
45
  "@ag-ui/core": "AgUICore",
42
46
  rxjs: "rxjs",
43
47
  "rxjs/operators": "rxjs.operators",
44
- "zod-to-json-schema": "zodToJsonSchema",
45
48
  zod: "Zod",
46
49
  };
47
50
  return options;