@copilotkit/runtime 1.8.11-next.0 → 1.8.11

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 (39) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{chunk-QEDTVJAI.mjs → chunk-C4YF3HSK.mjs} +4 -4
  3. package/dist/chunk-C4YF3HSK.mjs.map +1 -0
  4. package/dist/{chunk-42MS7MF5.mjs → chunk-LNG6GETF.mjs} +2 -2
  5. package/dist/{chunk-3QRIZEC5.mjs → chunk-RTHOFK2V.mjs} +2 -2
  6. package/dist/{chunk-VV35UUBB.mjs → chunk-VTW33IV3.mjs} +2 -2
  7. package/dist/index.d.ts +1 -1
  8. package/dist/index.js +3 -3
  9. package/dist/index.js.map +1 -1
  10. package/dist/index.mjs +4 -4
  11. package/dist/lib/index.d.ts +1 -1
  12. package/dist/lib/index.js +3 -3
  13. package/dist/lib/index.js.map +1 -1
  14. package/dist/lib/index.mjs +4 -4
  15. package/dist/lib/integrations/index.d.ts +2 -2
  16. package/dist/lib/integrations/index.js +1 -1
  17. package/dist/lib/integrations/index.js.map +1 -1
  18. package/dist/lib/integrations/index.mjs +4 -4
  19. package/dist/lib/integrations/nest/index.d.ts +1 -1
  20. package/dist/lib/integrations/nest/index.js +1 -1
  21. package/dist/lib/integrations/nest/index.js.map +1 -1
  22. package/dist/lib/integrations/nest/index.mjs +2 -2
  23. package/dist/lib/integrations/node-express/index.d.ts +1 -1
  24. package/dist/lib/integrations/node-express/index.js +1 -1
  25. package/dist/lib/integrations/node-express/index.js.map +1 -1
  26. package/dist/lib/integrations/node-express/index.mjs +2 -2
  27. package/dist/lib/integrations/node-http/index.d.ts +1 -1
  28. package/dist/lib/integrations/node-http/index.js +1 -1
  29. package/dist/lib/integrations/node-http/index.js.map +1 -1
  30. package/dist/lib/integrations/node-http/index.mjs +1 -1
  31. package/dist/{shared-ede87417.d.ts → shared-0c31d7c5.d.ts} +1 -1
  32. package/package.json +2 -2
  33. package/src/lib/runtime/remote-action-constructors.ts +3 -1
  34. package/src/lib/runtime/remote-actions.ts +1 -1
  35. package/src/lib/runtime/remote-lg-action.ts +4 -2
  36. package/dist/chunk-QEDTVJAI.mjs.map +0 -1
  37. /package/dist/{chunk-42MS7MF5.mjs.map → chunk-LNG6GETF.mjs.map} +0 -0
  38. /package/dist/{chunk-3QRIZEC5.mjs.map → chunk-RTHOFK2V.mjs.map} +0 -0
  39. /package/dist/{chunk-VV35UUBB.mjs.map → chunk-VTW33IV3.mjs.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @copilotkit/runtime
2
2
 
3
+ ## 1.8.11
4
+
5
+ ### Patch Changes
6
+
7
+ - 52d0bb5: - fix: do not attempt to hash lgc key if it doesnt exist
8
+ - fix: accept null on langsmith api key
9
+ - @copilotkit/shared@1.8.11
10
+
11
+ ## 1.8.11-next.1
12
+
13
+ ### Patch Changes
14
+
15
+ - 52d0bb5: - fix: do not attempt to hash lgc key if it doesnt exist
16
+ - fix: accept null on langsmith api key
17
+ - @copilotkit/shared@1.8.11-next.1
18
+
3
19
  ## 1.8.11-next.0
4
20
 
5
21
  ### Patch Changes
@@ -40,7 +40,7 @@ var require_package = __commonJS({
40
40
  publishConfig: {
41
41
  access: "public"
42
42
  },
43
- version: "1.8.11-next.0",
43
+ version: "1.8.11",
44
44
  sideEffects: false,
45
45
  main: "./dist/index.js",
46
46
  module: "./dist/index.mjs",
@@ -1871,7 +1871,7 @@ async function streamEvents(controller, args) {
1871
1871
  });
1872
1872
  }
1873
1873
  let streamInfo = {
1874
- hashedLgcKey: createHash("sha256").update(langsmithApiKey).digest("hex")
1874
+ hashedLgcKey: langsmithApiKey ? createHash("sha256").update(langsmithApiKey).digest("hex") : null
1875
1875
  };
1876
1876
  const assistants = await client.assistants.search();
1877
1877
  const retrievedAssistant = assistants.find((a) => a.name === name || a.assistant_id === initialAssistantId);
@@ -2455,7 +2455,7 @@ function constructLGCRemoteAction({ endpoint, graphqlContext, logger: logger2, m
2455
2455
  agentExecution: true,
2456
2456
  type: "langgraph-platform",
2457
2457
  agentsAmount: endpoint.agents.length,
2458
- hashedLgcKey: createHash2("sha256").update(endpoint.langsmithApiKey).digest("hex")
2458
+ hashedLgcKey: endpoint.langsmithApiKey ? createHash2("sha256").update(endpoint.langsmithApiKey).digest("hex") : null
2459
2459
  });
2460
2460
  let state = {};
2461
2461
  let config = {};
@@ -5073,4 +5073,4 @@ export {
5073
5073
  getCommonConfig,
5074
5074
  copilotRuntimeNodeHttpEndpoint
5075
5075
  };
5076
- //# sourceMappingURL=chunk-QEDTVJAI.mjs.map
5076
+ //# sourceMappingURL=chunk-C4YF3HSK.mjs.map