@copilotkit/runtime 1.6.0-next.10 → 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 +14 -0
  2. package/dist/{chunk-6XDMOAOM.mjs → chunk-AVJBY7JW.mjs} +2 -2
  3. package/dist/{chunk-5NJDGEB3.mjs → chunk-LMVBWFD2.mjs} +4 -4
  4. package/dist/chunk-LMVBWFD2.mjs.map +1 -0
  5. package/dist/{chunk-3ORZOFAL.mjs → chunk-P2DWSHH6.mjs} +2 -2
  6. package/dist/{chunk-JUWN34MZ.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-5NJDGEB3.mjs.map +0 -1
  29. /package/dist/{chunk-6XDMOAOM.mjs.map → chunk-AVJBY7JW.mjs.map} +0 -0
  30. /package/dist/{chunk-3ORZOFAL.mjs.map → chunk-P2DWSHH6.mjs.map} +0 -0
  31. /package/dist/{chunk-JUWN34MZ.mjs.map → chunk-XTYC7SEW.mjs.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @copilotkit/runtime
2
2
 
3
+ ## 1.6.0-next.12
4
+
5
+ ### Patch Changes
6
+
7
+ - 1bb9ca2: - fix(coagents): don't fail when LangSmith API key is missing
8
+ - fix(coagents): don't check for langsmithApiKey in resolveEndpointType
9
+ - @copilotkit/shared@1.6.0-next.12
10
+
11
+ ## 1.6.0-next.11
12
+
13
+ ### Patch Changes
14
+
15
+ - @copilotkit/shared@1.6.0-next.11
16
+
3
17
  ## 1.6.0-next.10
4
18
 
5
19
  ### Patch Changes
@@ -2,7 +2,7 @@ import {
2
2
  copilotRuntimeNodeHttpEndpoint,
3
3
  getRuntimeInstanceTelemetryInfo,
4
4
  telemetry_client_default
5
- } from "./chunk-5NJDGEB3.mjs";
5
+ } from "./chunk-LMVBWFD2.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-6XDMOAOM.mjs.map
25
+ //# sourceMappingURL=chunk-AVJBY7JW.mjs.map
@@ -39,7 +39,7 @@ var require_package = __commonJS({
39
39
  publishConfig: {
40
40
  access: "public"
41
41
  },
42
- version: "1.6.0-next.10",
42
+ version: "1.6.0-next.12",
43
43
  sideEffects: false,
44
44
  main: "./dist/index.js",
45
45
  module: "./dist/index.mjs",
@@ -3085,7 +3085,7 @@ function langGraphPlatformEndpoint(config) {
3085
3085
  __name(langGraphPlatformEndpoint, "langGraphPlatformEndpoint");
3086
3086
  function resolveEndpointType(endpoint) {
3087
3087
  if (!endpoint.type) {
3088
- if ("langsmithApiKey" in endpoint && "deploymentUrl" in endpoint && "agents" in endpoint) {
3088
+ if ("deploymentUrl" in endpoint && "agents" in endpoint) {
3089
3089
  return EndpointType.LangGraphPlatform;
3090
3090
  } else {
3091
3091
  return EndpointType.CopilotKit;
@@ -3121,7 +3121,7 @@ function getRuntimeInstanceTelemetryInfo(runtime) {
3121
3121
  info = {
3122
3122
  ...info,
3123
3123
  agentsAmount: ep.agents.length,
3124
- hashedKey: createHash3("sha256").update(ep.langsmithApiKey).digest("hex")
3124
+ hashedKey: ep.langsmithApiKey ? createHash3("sha256").update(ep.langsmithApiKey).digest("hex") : null
3125
3125
  };
3126
3126
  }
3127
3127
  return info;
@@ -4305,4 +4305,4 @@ export {
4305
4305
  getCommonConfig,
4306
4306
  copilotRuntimeNodeHttpEndpoint
4307
4307
  };
4308
- //# sourceMappingURL=chunk-5NJDGEB3.mjs.map
4308
+ //# sourceMappingURL=chunk-LMVBWFD2.mjs.map