@copilotkit/runtime 1.8.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 +9 -0
  2. package/dist/{chunk-AYW55OHA.mjs → chunk-3KFMOJC6.mjs} +2 -2
  3. package/dist/{chunk-NPWAEKGB.mjs → chunk-D4R6RNSD.mjs} +2 -2
  4. package/dist/{chunk-CTOM2OZ3.mjs → chunk-H2VC34X7.mjs} +3 -3
  5. package/dist/chunk-H2VC34X7.mjs.map +1 -0
  6. package/dist/{chunk-IUD7KKAU.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-CTOM2OZ3.mjs.map +0 -1
  28. /package/dist/{chunk-AYW55OHA.mjs.map → chunk-3KFMOJC6.mjs.map} +0 -0
  29. /package/dist/{chunk-NPWAEKGB.mjs.map → chunk-D4R6RNSD.mjs.map} +0 -0
  30. /package/dist/{chunk-IUD7KKAU.mjs.map → chunk-NKMMHPPX.mjs.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @copilotkit/runtime
2
2
 
3
+ ## 1.8.6-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 7a04bd1: - fix: fix how results are communicated back on interrupt
8
+ - fix: do not allow followup for interrupt actions
9
+ - chore: improve TS docs for interrupt
10
+ - @copilotkit/shared@1.8.6-next.0
11
+
3
12
  ## 1.8.5
4
13
 
5
14
  ### Patch Changes
@@ -2,7 +2,7 @@ import {
2
2
  copilotRuntimeNodeHttpEndpoint,
3
3
  getRuntimeInstanceTelemetryInfo,
4
4
  telemetry_client_default
5
- } from "./chunk-CTOM2OZ3.mjs";
5
+ } from "./chunk-H2VC34X7.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-AYW55OHA.mjs.map
25
+ //# sourceMappingURL=chunk-3KFMOJC6.mjs.map
@@ -2,7 +2,7 @@ import {
2
2
  getCommonConfig,
3
3
  getRuntimeInstanceTelemetryInfo,
4
4
  telemetry_client_default
5
- } from "./chunk-CTOM2OZ3.mjs";
5
+ } from "./chunk-H2VC34X7.mjs";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-FHD4JECV.mjs";
@@ -77,4 +77,4 @@ export {
77
77
  config,
78
78
  copilotRuntimeNextJSPagesRouterEndpoint
79
79
  };
80
- //# sourceMappingURL=chunk-NPWAEKGB.mjs.map
80
+ //# sourceMappingURL=chunk-D4R6RNSD.mjs.map
@@ -39,7 +39,7 @@ var require_package = __commonJS({
39
39
  publishConfig: {
40
40
  access: "public"
41
41
  },
42
- version: "1.8.5",
42
+ version: "1.8.6-next.0",
43
43
  sideEffects: false,
44
44
  main: "./dist/index.js",
45
45
  module: "./dist/index.mjs",
@@ -1787,7 +1787,7 @@ async function streamEvents(controller, args) {
1787
1787
  const lgInterruptMetaEvent = metaEvents == null ? void 0 : metaEvents.find((ev) => ev.name === MetaEventName.LangGraphInterruptEvent);
1788
1788
  if (activeInterruptEvent && !lgInterruptMetaEvent) {
1789
1789
  payload.command = {
1790
- resume: formattedMessages[formattedMessages.length - 1]
1790
+ resume: state.messages
1791
1791
  };
1792
1792
  }
1793
1793
  if (lgInterruptMetaEvent == null ? void 0 : lgInterruptMetaEvent.response) {
@@ -4894,4 +4894,4 @@ export {
4894
4894
  getCommonConfig,
4895
4895
  copilotRuntimeNodeHttpEndpoint
4896
4896
  };
4897
- //# sourceMappingURL=chunk-CTOM2OZ3.mjs.map
4897
+ //# sourceMappingURL=chunk-H2VC34X7.mjs.map