@copilotkit/runtime 1.4.0-pre-1-4-0.12 → 1.4.0-pre-1-4-0.13

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 (42) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/{chunk-JFLWUR62.mjs → chunk-AQBZWBJD.mjs} +2 -2
  3. package/dist/{chunk-JFIBAURX.mjs → chunk-CBZV4PPM.mjs} +2 -2
  4. package/dist/{chunk-YZ3VKKSM.mjs → chunk-NKGWZWKJ.mjs} +18 -18
  5. package/dist/chunk-NKGWZWKJ.mjs.map +1 -0
  6. package/dist/{chunk-TZ7RGXQ6.mjs → chunk-P4EZLCB6.mjs} +2 -2
  7. package/dist/{copilot-runtime-dbe5fa02.d.ts → copilot-runtime-d9ef5d8c.d.ts} +7 -7
  8. package/dist/index.d.ts +1 -1
  9. package/dist/index.js +19 -19
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.mjs +6 -6
  12. package/dist/lib/index.d.ts +1 -1
  13. package/dist/lib/index.js +19 -19
  14. package/dist/lib/index.js.map +1 -1
  15. package/dist/lib/index.mjs +6 -6
  16. package/dist/lib/integrations/index.d.ts +2 -2
  17. package/dist/lib/integrations/index.js +4 -4
  18. package/dist/lib/integrations/index.js.map +1 -1
  19. package/dist/lib/integrations/index.mjs +4 -4
  20. package/dist/lib/integrations/nest/index.d.ts +1 -1
  21. package/dist/lib/integrations/nest/index.js +4 -4
  22. package/dist/lib/integrations/nest/index.js.map +1 -1
  23. package/dist/lib/integrations/nest/index.mjs +2 -2
  24. package/dist/lib/integrations/node-express/index.d.ts +1 -1
  25. package/dist/lib/integrations/node-express/index.js +4 -4
  26. package/dist/lib/integrations/node-express/index.js.map +1 -1
  27. package/dist/lib/integrations/node-express/index.mjs +2 -2
  28. package/dist/lib/integrations/node-http/index.d.ts +1 -1
  29. package/dist/lib/integrations/node-http/index.js +4 -4
  30. package/dist/lib/integrations/node-http/index.js.map +1 -1
  31. package/dist/lib/integrations/node-http/index.mjs +1 -1
  32. package/package.json +4 -4
  33. package/src/agents/langgraph/event-source.ts +2 -2
  34. package/src/lib/runtime/copilot-runtime.ts +6 -6
  35. package/src/lib/runtime/remote-action-constructors.ts +7 -7
  36. package/src/lib/runtime/remote-actions.ts +9 -9
  37. package/src/lib/runtime/{remote-lg-cloud-action.ts → remote-lg-action.ts} +18 -18
  38. package/src/lib/telemetry-client.ts +3 -3
  39. package/dist/chunk-YZ3VKKSM.mjs.map +0 -1
  40. /package/dist/{chunk-JFLWUR62.mjs.map → chunk-AQBZWBJD.mjs.map} +0 -0
  41. /package/dist/{chunk-JFIBAURX.mjs.map → chunk-CBZV4PPM.mjs.map} +0 -0
  42. /package/dist/{chunk-TZ7RGXQ6.mjs.map → chunk-P4EZLCB6.mjs.map} +0 -0
@@ -3,13 +3,13 @@ import {
3
3
  config,
4
4
  copilotRuntimeNextJSAppRouterEndpoint,
5
5
  copilotRuntimeNextJSPagesRouterEndpoint
6
- } from "../chunk-JFLWUR62.mjs";
6
+ } from "../chunk-AQBZWBJD.mjs";
7
7
  import {
8
8
  copilotRuntimeNestEndpoint
9
- } from "../chunk-TZ7RGXQ6.mjs";
9
+ } from "../chunk-P4EZLCB6.mjs";
10
10
  import {
11
11
  copilotRuntimeNodeExpressEndpoint
12
- } from "../chunk-JFIBAURX.mjs";
12
+ } from "../chunk-CBZV4PPM.mjs";
13
13
  import {
14
14
  CopilotRuntime,
15
15
  buildSchema,
@@ -18,9 +18,9 @@ import {
18
18
  createContext,
19
19
  flattenToolCallsNoDuplicates,
20
20
  getCommonConfig,
21
- langGraphCloudEndpoint,
21
+ langGraphPlatformEndpoint,
22
22
  resolveEndpointType
23
- } from "../chunk-YZ3VKKSM.mjs";
23
+ } from "../chunk-NKGWZWKJ.mjs";
24
24
  import {
25
25
  GoogleGenerativeAIAdapter,
26
26
  GroqAdapter,
@@ -52,7 +52,7 @@ export {
52
52
  createContext,
53
53
  flattenToolCallsNoDuplicates,
54
54
  getCommonConfig,
55
- langGraphCloudEndpoint,
55
+ langGraphPlatformEndpoint,
56
56
  resolveEndpointType
57
57
  };
58
58
  //# sourceMappingURL=index.mjs.map
@@ -1,5 +1,5 @@
1
- import { d as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../copilot-runtime-dbe5fa02.js';
2
- export { h as CommonConfig, b as CopilotRequestContextProperties, g as buildSchema, e as createContext, i as getCommonConfig } from '../../copilot-runtime-dbe5fa02.js';
1
+ import { d as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../copilot-runtime-d9ef5d8c.js';
2
+ export { h as CommonConfig, b as CopilotRequestContextProperties, g as buildSchema, e as createContext, i as getCommonConfig } from '../../copilot-runtime-d9ef5d8c.js';
3
3
  import * as graphql_yoga from 'graphql-yoga';
4
4
  import { YogaServerInstance } from 'graphql-yoga';
5
5
  export { copilotRuntimeNodeHttpEndpoint } from './node-http/index.js';
@@ -44,7 +44,7 @@ var require_package = __commonJS({
44
44
  publishConfig: {
45
45
  access: "public"
46
46
  },
47
- version: "1.4.0-pre-1-4-0.12",
47
+ version: "1.4.0-pre-1-4-0.13",
48
48
  sideEffects: false,
49
49
  main: "./dist/index.js",
50
50
  module: "./dist/index.mjs",
@@ -1195,7 +1195,7 @@ var import_shared2 = require("@copilotkit/shared");
1195
1195
  var EndpointType;
1196
1196
  (function(EndpointType2) {
1197
1197
  EndpointType2["CopilotKit"] = "copilotKit";
1198
- EndpointType2["LangGraphCloud"] = "langgraph-cloud";
1198
+ EndpointType2["LangGraphPlatform"] = "langgraph-platform";
1199
1199
  })(EndpointType || (EndpointType = {}));
1200
1200
 
1201
1201
  // src/lib/telemetry-client.ts
@@ -1259,7 +1259,7 @@ var import_rxjs = require("rxjs");
1259
1259
  function resolveEndpointType(endpoint) {
1260
1260
  if (!endpoint.type) {
1261
1261
  if ("langsmithApiKey" in endpoint && "deploymentUrl" in endpoint && "agents" in endpoint) {
1262
- return EndpointType.LangGraphCloud;
1262
+ return EndpointType.LangGraphPlatform;
1263
1263
  } else {
1264
1264
  return EndpointType.CopilotKit;
1265
1265
  }
@@ -1289,7 +1289,7 @@ function getRuntimeInstanceTelemetryInfo(runtime) {
1289
1289
  ]
1290
1290
  };
1291
1291
  }
1292
- if (endpointType === EndpointType.LangGraphCloud) {
1292
+ if (endpointType === EndpointType.LangGraphPlatform) {
1293
1293
  const ep = endpoint;
1294
1294
  info = {
1295
1295
  ...info,