@copilotkit/runtime 1.10.5 → 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 +6 -0
  2. package/dist/{chunk-IZH6C5MU.mjs → chunk-AKEOTXG4.mjs} +2 -2
  3. package/dist/{chunk-K7R7VY2Z.mjs → chunk-EOLMJ543.mjs} +2 -2
  4. package/dist/{chunk-3XYGXZS5.mjs → chunk-FW5SFRVD.mjs} +7 -2
  5. package/dist/chunk-FW5SFRVD.mjs.map +1 -0
  6. package/dist/{chunk-YNXCTHGQ.mjs → chunk-IRCY5TM5.mjs} +2 -2
  7. package/dist/{chunk-3HYI52HN.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-3XYGXZS5.mjs.map +0 -1
  29. /package/dist/{chunk-IZH6C5MU.mjs.map → chunk-AKEOTXG4.mjs.map} +0 -0
  30. /package/dist/{chunk-K7R7VY2Z.mjs.map → chunk-EOLMJ543.mjs.map} +0 -0
  31. /package/dist/{chunk-YNXCTHGQ.mjs.map → chunk-IRCY5TM5.mjs.map} +0 -0
  32. /package/dist/{chunk-3HYI52HN.mjs.map → chunk-UK4SWNXI.mjs.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @copilotkit/runtime
2
2
 
3
+ ## 1.10.6-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - @copilotkit/shared@1.10.6-next.0
8
+
3
9
  ## 1.10.5
4
10
 
5
11
  ### Patch Changes
@@ -2,7 +2,7 @@ import {
2
2
  copilotRuntimeNodeHttpEndpoint,
3
3
  getRuntimeInstanceTelemetryInfo,
4
4
  telemetry_client_default
5
- } from "./chunk-3XYGXZS5.mjs";
5
+ } from "./chunk-FW5SFRVD.mjs";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-FHD4JECV.mjs";
@@ -22,4 +22,4 @@ __name(copilotRuntimeNodeExpressEndpoint, "copilotRuntimeNodeExpressEndpoint");
22
22
  export {
23
23
  copilotRuntimeNodeExpressEndpoint
24
24
  };
25
- //# sourceMappingURL=chunk-IZH6C5MU.mjs.map
25
+ //# sourceMappingURL=chunk-AKEOTXG4.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  LangGraphEventTypes
3
- } from "./chunk-3XYGXZS5.mjs";
3
+ } from "./chunk-FW5SFRVD.mjs";
4
4
  import {
5
5
  __name
6
6
  } from "./chunk-FHD4JECV.mjs";
@@ -172,4 +172,4 @@ export {
172
172
  CustomEventNames,
173
173
  LangGraphAgent
174
174
  };
175
- //# sourceMappingURL=chunk-K7R7VY2Z.mjs.map
175
+ //# sourceMappingURL=chunk-EOLMJ543.mjs.map
@@ -40,7 +40,7 @@ var require_package = __commonJS({
40
40
  publishConfig: {
41
41
  access: "public"
42
42
  },
43
- version: "1.10.5",
43
+ version: "1.10.6-next.0",
44
44
  sideEffects: false,
45
45
  main: "./dist/index.js",
46
46
  module: "./dist/index.mjs",
@@ -2836,6 +2836,11 @@ var CopilotRuntime = class {
2836
2836
  // --- MCP Client Factory ---
2837
2837
  constructor(params) {
2838
2838
  var _a, _b, _c, _d;
2839
+ if ((params == null ? void 0 : params.remoteEndpoints) && (params == null ? void 0 : params.remoteEndpoints.some((e) => e.type === EndpointType.LangGraphPlatform))) {
2840
+ throw new CopilotKitMisuseError2({
2841
+ message: "LangGraph Platform remote endpoints are deprecated in favor of the `agents` property. Refer to https://docs.copilotkit.ai/langgraph for more information."
2842
+ });
2843
+ }
2839
2844
  if ((params == null ? void 0 : params.actions) && (params == null ? void 0 : params.remoteEndpoints) && (params == null ? void 0 : params.remoteEndpoints.some((e) => e.type === EndpointType.LangGraphPlatform))) {
2840
2845
  console.warn("Actions set in runtime instance will not be available for the agent");
2841
2846
  console.warn(`LangGraph Platform remote endpoints are deprecated in favor of the "agents" property`);
@@ -6014,4 +6019,4 @@ export {
6014
6019
  getCommonConfig,
6015
6020
  copilotRuntimeNodeHttpEndpoint
6016
6021
  };
6017
- //# sourceMappingURL=chunk-3XYGXZS5.mjs.map
6022
+ //# sourceMappingURL=chunk-FW5SFRVD.mjs.map