@copilotkit/runtime 1.10.5-next.9 → 1.10.6-next.0

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/{chunk-RU77EL6K.mjs → chunk-AKEOTXG4.mjs} +2 -2
  3. package/dist/{chunk-YRAS7NUI.mjs → chunk-EOLMJ543.mjs} +2 -2
  4. package/dist/{chunk-EXMWMAT5.mjs → chunk-FW5SFRVD.mjs} +7 -2
  5. package/dist/chunk-FW5SFRVD.mjs.map +1 -0
  6. package/dist/{chunk-K4U2VVME.mjs → chunk-IRCY5TM5.mjs} +2 -2
  7. package/dist/{chunk-MO7SLIUI.mjs → chunk-UK4SWNXI.mjs} +2 -2
  8. package/dist/index.js +6 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/index.mjs +5 -5
  11. package/dist/lib/index.js +6 -1
  12. package/dist/lib/index.js.map +1 -1
  13. package/dist/lib/index.mjs +5 -5
  14. package/dist/lib/integrations/index.js +1 -1
  15. package/dist/lib/integrations/index.js.map +1 -1
  16. package/dist/lib/integrations/index.mjs +4 -4
  17. package/dist/lib/integrations/nest/index.js +1 -1
  18. package/dist/lib/integrations/nest/index.js.map +1 -1
  19. package/dist/lib/integrations/nest/index.mjs +2 -2
  20. package/dist/lib/integrations/node-express/index.js +1 -1
  21. package/dist/lib/integrations/node-express/index.js.map +1 -1
  22. package/dist/lib/integrations/node-express/index.mjs +2 -2
  23. package/dist/lib/integrations/node-http/index.js +1 -1
  24. package/dist/lib/integrations/node-http/index.js.map +1 -1
  25. package/dist/lib/integrations/node-http/index.mjs +1 -1
  26. package/package.json +2 -2
  27. package/src/lib/runtime/copilot-runtime.ts +10 -0
  28. package/dist/chunk-EXMWMAT5.mjs.map +0 -1
  29. /package/dist/{chunk-RU77EL6K.mjs.map → chunk-AKEOTXG4.mjs.map} +0 -0
  30. /package/dist/{chunk-YRAS7NUI.mjs.map → chunk-EOLMJ543.mjs.map} +0 -0
  31. /package/dist/{chunk-K4U2VVME.mjs.map → chunk-IRCY5TM5.mjs.map} +0 -0
  32. /package/dist/{chunk-MO7SLIUI.mjs.map → chunk-UK4SWNXI.mjs.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  copilotRuntimeNodeHttpEndpoint
3
- } from "../../../chunk-EXMWMAT5.mjs";
3
+ } from "../../../chunk-FW5SFRVD.mjs";
4
4
  import "../../../chunk-SHBDMA63.mjs";
5
5
  import "../../../chunk-F7IANE7Z.mjs";
6
6
  import "../../../chunk-XWBDEXDA.mjs";
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "publishConfig": {
10
10
  "access": "public"
11
11
  },
12
- "version": "1.10.5-next.9",
12
+ "version": "1.10.6-next.0",
13
13
  "sideEffects": false,
14
14
  "main": "./dist/index.js",
15
15
  "module": "./dist/index.mjs",
@@ -67,7 +67,7 @@
67
67
  "rxjs": "7.8.1",
68
68
  "type-graphql": "2.0.0-rc.1",
69
69
  "zod": "^3.23.3",
70
- "@copilotkit/shared": "1.10.5-next.9"
70
+ "@copilotkit/shared": "1.10.6-next.0"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "@ag-ui/client": ">=0.0.39",
@@ -338,6 +338,16 @@ export class CopilotRuntime<const T extends Parameter[] | [] = []> {
338
338
  // --- MCP Client Factory ---
339
339
 
340
340
  constructor(params?: CopilotRuntimeConstructorParams<T>) {
341
+ if (
342
+ params?.remoteEndpoints &&
343
+ params?.remoteEndpoints.some((e) => e.type === EndpointType.LangGraphPlatform)
344
+ ) {
345
+ throw new CopilotKitMisuseError({
346
+ message:
347
+ "LangGraph Platform remote endpoints are deprecated in favor of the `agents` property. Refer to https://docs.copilotkit.ai/langgraph for more information.",
348
+ });
349
+ }
350
+
341
351
  if (
342
352
  params?.actions &&
343
353
  params?.remoteEndpoints &&