@copilotkit/runtime 1.6.0-next.11 → 1.6.0-next.12

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 (31) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{chunk-O3Q4BRZA.mjs → chunk-AVJBY7JW.mjs} +2 -2
  3. package/dist/{chunk-DVFBTXBT.mjs → chunk-LMVBWFD2.mjs} +4 -4
  4. package/dist/chunk-LMVBWFD2.mjs.map +1 -0
  5. package/dist/{chunk-6L2NPMPT.mjs → chunk-P2DWSHH6.mjs} +2 -2
  6. package/dist/{chunk-LGQL6LK4.mjs → chunk-XTYC7SEW.mjs} +2 -2
  7. package/dist/index.js +3 -3
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.mjs +4 -4
  10. package/dist/lib/index.js +3 -3
  11. package/dist/lib/index.js.map +1 -1
  12. package/dist/lib/index.mjs +4 -4
  13. package/dist/lib/integrations/index.js +3 -3
  14. package/dist/lib/integrations/index.js.map +1 -1
  15. package/dist/lib/integrations/index.mjs +4 -4
  16. package/dist/lib/integrations/nest/index.js +3 -3
  17. package/dist/lib/integrations/nest/index.js.map +1 -1
  18. package/dist/lib/integrations/nest/index.mjs +2 -2
  19. package/dist/lib/integrations/node-express/index.js +3 -3
  20. package/dist/lib/integrations/node-express/index.js.map +1 -1
  21. package/dist/lib/integrations/node-express/index.mjs +2 -2
  22. package/dist/lib/integrations/node-http/index.js +3 -3
  23. package/dist/lib/integrations/node-http/index.js.map +1 -1
  24. package/dist/lib/integrations/node-http/index.mjs +1 -1
  25. package/package.json +2 -2
  26. package/src/lib/runtime/copilot-runtime.ts +1 -1
  27. package/src/lib/telemetry-client.ts +3 -1
  28. package/dist/chunk-DVFBTXBT.mjs.map +0 -1
  29. /package/dist/{chunk-O3Q4BRZA.mjs.map → chunk-AVJBY7JW.mjs.map} +0 -0
  30. /package/dist/{chunk-6L2NPMPT.mjs.map → chunk-P2DWSHH6.mjs.map} +0 -0
  31. /package/dist/{chunk-LGQL6LK4.mjs.map → chunk-XTYC7SEW.mjs.map} +0 -0
package/dist/index.mjs CHANGED
@@ -3,13 +3,13 @@ import {
3
3
  config,
4
4
  copilotRuntimeNextJSAppRouterEndpoint,
5
5
  copilotRuntimeNextJSPagesRouterEndpoint
6
- } from "./chunk-6L2NPMPT.mjs";
6
+ } from "./chunk-P2DWSHH6.mjs";
7
7
  import {
8
8
  copilotRuntimeNestEndpoint
9
- } from "./chunk-LGQL6LK4.mjs";
9
+ } from "./chunk-XTYC7SEW.mjs";
10
10
  import {
11
11
  copilotRuntimeNodeExpressEndpoint
12
- } from "./chunk-O3Q4BRZA.mjs";
12
+ } from "./chunk-AVJBY7JW.mjs";
13
13
  import {
14
14
  CopilotRuntime,
15
15
  addCustomHeaderPlugin,
@@ -21,7 +21,7 @@ import {
21
21
  getCommonConfig,
22
22
  langGraphPlatformEndpoint,
23
23
  resolveEndpointType
24
- } from "./chunk-DVFBTXBT.mjs";
24
+ } from "./chunk-LMVBWFD2.mjs";
25
25
  import {
26
26
  AnthropicAdapter,
27
27
  EmptyAdapter,
package/dist/lib/index.js CHANGED
@@ -44,7 +44,7 @@ var require_package = __commonJS({
44
44
  publishConfig: {
45
45
  access: "public"
46
46
  },
47
- version: "1.6.0-next.11",
47
+ version: "1.6.0-next.12",
48
48
  sideEffects: false,
49
49
  main: "./dist/index.js",
50
50
  module: "./dist/index.mjs",
@@ -3142,7 +3142,7 @@ function getRuntimeInstanceTelemetryInfo(runtime) {
3142
3142
  info = {
3143
3143
  ...info,
3144
3144
  agentsAmount: ep.agents.length,
3145
- hashedKey: (0, import_node_crypto3.createHash)("sha256").update(ep.langsmithApiKey).digest("hex")
3145
+ hashedKey: ep.langsmithApiKey ? (0, import_node_crypto3.createHash)("sha256").update(ep.langsmithApiKey).digest("hex") : null
3146
3146
  };
3147
3147
  }
3148
3148
  return info;
@@ -4045,7 +4045,7 @@ function langGraphPlatformEndpoint(config2) {
4045
4045
  __name(langGraphPlatformEndpoint, "langGraphPlatformEndpoint");
4046
4046
  function resolveEndpointType(endpoint) {
4047
4047
  if (!endpoint.type) {
4048
- if ("langsmithApiKey" in endpoint && "deploymentUrl" in endpoint && "agents" in endpoint) {
4048
+ if ("deploymentUrl" in endpoint && "agents" in endpoint) {
4049
4049
  return EndpointType.LangGraphPlatform;
4050
4050
  } else {
4051
4051
  return EndpointType.CopilotKit;