@copilotkit/runtime 1.8.5-next.5 → 1.8.6-next.0

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 (30) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/dist/{chunk-GQEDXH53.mjs → chunk-3KFMOJC6.mjs} +2 -2
  3. package/dist/{chunk-FP7EJSMU.mjs → chunk-D4R6RNSD.mjs} +2 -2
  4. package/dist/{chunk-Q4KJZACA.mjs → chunk-H2VC34X7.mjs} +3 -3
  5. package/dist/chunk-H2VC34X7.mjs.map +1 -0
  6. package/dist/{chunk-AIQJ5N22.mjs → chunk-NKMMHPPX.mjs} +2 -2
  7. package/dist/index.js +2 -2
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.mjs +4 -4
  10. package/dist/lib/index.js +2 -2
  11. package/dist/lib/index.js.map +1 -1
  12. package/dist/lib/index.mjs +4 -4
  13. package/dist/lib/integrations/index.js +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  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/remote-lg-action.ts +2 -1
  27. package/dist/chunk-Q4KJZACA.mjs.map +0 -1
  28. /package/dist/{chunk-GQEDXH53.mjs.map → chunk-3KFMOJC6.mjs.map} +0 -0
  29. /package/dist/{chunk-FP7EJSMU.mjs.map → chunk-D4R6RNSD.mjs.map} +0 -0
  30. /package/dist/{chunk-AIQJ5N22.mjs.map → chunk-NKMMHPPX.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-FP7EJSMU.mjs";
6
+ } from "./chunk-D4R6RNSD.mjs";
7
7
  import {
8
8
  copilotRuntimeNestEndpoint
9
- } from "./chunk-AIQJ5N22.mjs";
9
+ } from "./chunk-NKMMHPPX.mjs";
10
10
  import {
11
11
  copilotRuntimeNodeExpressEndpoint
12
- } from "./chunk-GQEDXH53.mjs";
12
+ } from "./chunk-3KFMOJC6.mjs";
13
13
  import {
14
14
  CopilotRuntime,
15
15
  addCustomHeaderPlugin,
@@ -24,7 +24,7 @@ import {
24
24
  getCommonConfig,
25
25
  langGraphPlatformEndpoint,
26
26
  resolveEndpointType
27
- } from "./chunk-Q4KJZACA.mjs";
27
+ } from "./chunk-H2VC34X7.mjs";
28
28
  import {
29
29
  AnthropicAdapter,
30
30
  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.8.5-next.5",
47
+ version: "1.8.6-next.0",
48
48
  sideEffects: false,
49
49
  main: "./dist/index.js",
50
50
  module: "./dist/index.mjs",
@@ -2981,7 +2981,7 @@ async function streamEvents(controller, args) {
2981
2981
  const lgInterruptMetaEvent = metaEvents == null ? void 0 : metaEvents.find((ev) => ev.name === MetaEventName.LangGraphInterruptEvent);
2982
2982
  if (activeInterruptEvent && !lgInterruptMetaEvent) {
2983
2983
  payload.command = {
2984
- resume: formattedMessages[formattedMessages.length - 1]
2984
+ resume: state.messages
2985
2985
  };
2986
2986
  }
2987
2987
  if (lgInterruptMetaEvent == null ? void 0 : lgInterruptMetaEvent.response) {