@copilotkit/runtime 1.5.16-next.1 → 1.5.16

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 +16 -0
  2. package/dist/{chunk-PPSNRM2D.mjs → chunk-FHRPZT3X.mjs} +2 -2
  3. package/dist/{chunk-DLC2JHVP.mjs → chunk-HHBTKTJ5.mjs} +19 -11
  4. package/dist/chunk-HHBTKTJ5.mjs.map +1 -0
  5. package/dist/{chunk-X4UE3Q5F.mjs → chunk-N6X67FPO.mjs} +2 -2
  6. package/dist/{chunk-M7UBXBRI.mjs → chunk-TWUMUUCQ.mjs} +2 -2
  7. package/dist/index.js +18 -10
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.mjs +4 -4
  10. package/dist/lib/index.js +18 -10
  11. package/dist/lib/index.js.map +1 -1
  12. package/dist/lib/index.mjs +4 -4
  13. package/dist/lib/integrations/index.js +5 -5
  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 +5 -5
  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 +5 -5
  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 +5 -5
  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 +5 -5
  26. package/src/graphql/resolvers/copilot.resolver.ts +1 -4
  27. package/src/lib/runtime/remote-lg-action.ts +13 -3
  28. package/dist/chunk-DLC2JHVP.mjs.map +0 -1
  29. /package/dist/{chunk-PPSNRM2D.mjs.map → chunk-FHRPZT3X.mjs.map} +0 -0
  30. /package/dist/{chunk-X4UE3Q5F.mjs.map → chunk-N6X67FPO.mjs.map} +0 -0
  31. /package/dist/{chunk-M7UBXBRI.mjs.map → chunk-TWUMUUCQ.mjs.map} +0 -0
@@ -3,13 +3,13 @@ import {
3
3
  config,
4
4
  copilotRuntimeNextJSAppRouterEndpoint,
5
5
  copilotRuntimeNextJSPagesRouterEndpoint
6
- } from "../chunk-M7UBXBRI.mjs";
6
+ } from "../chunk-TWUMUUCQ.mjs";
7
7
  import {
8
8
  copilotRuntimeNestEndpoint
9
- } from "../chunk-X4UE3Q5F.mjs";
9
+ } from "../chunk-N6X67FPO.mjs";
10
10
  import {
11
11
  copilotRuntimeNodeExpressEndpoint
12
- } from "../chunk-PPSNRM2D.mjs";
12
+ } from "../chunk-FHRPZT3X.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-DLC2JHVP.mjs";
24
+ } from "../chunk-HHBTKTJ5.mjs";
25
25
  import {
26
26
  GoogleGenerativeAIAdapter,
27
27
  GroqAdapter,
@@ -44,7 +44,7 @@ var require_package = __commonJS({
44
44
  publishConfig: {
45
45
  access: "public"
46
46
  },
47
- version: "1.5.16-next.1",
47
+ version: "1.5.16",
48
48
  sideEffects: false,
49
49
  main: "./dist/index.js",
50
50
  module: "./dist/index.mjs",
@@ -84,11 +84,11 @@ var require_package = __commonJS({
84
84
  "@anthropic-ai/sdk": "^0.27.3",
85
85
  "@copilotkit/shared": "workspace:*",
86
86
  "@graphql-yoga/plugin-defer-stream": "^3.3.1",
87
- "@langchain/community": "^0.0.53",
88
- "@langchain/core": "^0.3.13",
87
+ "@langchain/community": "^0.3.29",
88
+ "@langchain/core": "^0.3.38",
89
89
  "@langchain/google-gauth": "^0.1.0",
90
90
  "@langchain/langgraph-sdk": "^0.0.36",
91
- "@langchain/openai": "^0.0.28",
91
+ "@langchain/openai": "^0.4.2",
92
92
  "class-transformer": "^0.5.1",
93
93
  express: "^4.19.2",
94
94
  graphql: "^16.8.1",
@@ -2051,7 +2051,7 @@ var CopilotResolver = class {
2051
2051
  type: event.type,
2052
2052
  name: event.name,
2053
2053
  data: {
2054
- value: typeof event.data.value === "string" ? event.data.value : JSON.stringify(event.data.value),
2054
+ value: event.data.value,
2055
2055
  messages: event.data.messages.map((message) => {
2056
2056
  if (message.type === "TextMessage" || "content" in message && "role" in message) {
2057
2057
  return (0, import_class_transformer2.plainToInstance)(TextMessage, {