@copilotkit/runtime 1.10.5 → 1.10.6-next.1

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 +12 -0
  2. package/dist/{chunk-YNXCTHGQ.mjs → chunk-3HW64RCD.mjs} +2 -2
  3. package/dist/{chunk-K7R7VY2Z.mjs → chunk-H4G4VD3K.mjs} +2 -2
  4. package/dist/{chunk-3HYI52HN.mjs → chunk-TNBVVCH2.mjs} +2 -2
  5. package/dist/{chunk-3XYGXZS5.mjs → chunk-UOUBTU5U.mjs} +7 -2
  6. package/dist/chunk-UOUBTU5U.mjs.map +1 -0
  7. package/dist/{chunk-IZH6C5MU.mjs → chunk-WI7QIZD6.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-YNXCTHGQ.mjs.map → chunk-3HW64RCD.mjs.map} +0 -0
  30. /package/dist/{chunk-K7R7VY2Z.mjs.map → chunk-H4G4VD3K.mjs.map} +0 -0
  31. /package/dist/{chunk-3HYI52HN.mjs.map → chunk-TNBVVCH2.mjs.map} +0 -0
  32. /package/dist/{chunk-IZH6C5MU.mjs.map → chunk-WI7QIZD6.mjs.map} +0 -0
@@ -2,7 +2,7 @@ import {
2
2
  copilotRuntimeNodeHttpEndpoint,
3
3
  getRuntimeInstanceTelemetryInfo,
4
4
  telemetry_client_default
5
- } from "./chunk-3XYGXZS5.mjs";
5
+ } from "./chunk-UOUBTU5U.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-WI7QIZD6.mjs.map
package/dist/index.js CHANGED
@@ -44,7 +44,7 @@ var require_package = __commonJS({
44
44
  publishConfig: {
45
45
  access: "public"
46
46
  },
47
- version: "1.10.5",
47
+ version: "1.10.6-next.1",
48
48
  sideEffects: false,
49
49
  main: "./dist/index.js",
50
50
  module: "./dist/index.mjs",
@@ -4868,6 +4868,11 @@ var CopilotRuntime = class {
4868
4868
  // --- MCP Client Factory ---
4869
4869
  constructor(params) {
4870
4870
  var _a, _b, _c, _d;
4871
+ if ((params == null ? void 0 : params.remoteEndpoints) && (params == null ? void 0 : params.remoteEndpoints.some((e) => e.type === EndpointType.LangGraphPlatform))) {
4872
+ throw new import_shared18.CopilotKitMisuseError({
4873
+ message: "LangGraph Platform remote endpoints are deprecated in favor of the `agents` property. Refer to https://docs.copilotkit.ai/langgraph for more information."
4874
+ });
4875
+ }
4871
4876
  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))) {
4872
4877
  console.warn("Actions set in runtime instance will not be available for the agent");
4873
4878
  console.warn(`LangGraph Platform remote endpoints are deprecated in favor of the "agents" property`);