@copilotkit/runtime 1.8.14-next.3 → 1.8.14-next.4

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 +7 -0
  2. package/dist/{chunk-BMA7V5T7.mjs → chunk-BV7WYSOF.mjs} +2 -2
  3. package/dist/{chunk-T2RKWYXN.mjs → chunk-EQX4WXGG.mjs} +2 -2
  4. package/dist/{chunk-6P6VMQLZ.mjs → chunk-IZAPLBCH.mjs} +8 -4
  5. package/dist/chunk-IZAPLBCH.mjs.map +1 -0
  6. package/dist/{chunk-C7XHY7LW.mjs → chunk-JH3OA44N.mjs} +2 -2
  7. package/dist/index.js +7 -3
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.mjs +4 -4
  10. package/dist/lib/index.js +7 -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 +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/agui-action.ts +5 -2
  27. package/dist/chunk-6P6VMQLZ.mjs.map +0 -1
  28. /package/dist/{chunk-BMA7V5T7.mjs.map → chunk-BV7WYSOF.mjs.map} +0 -0
  29. /package/dist/{chunk-T2RKWYXN.mjs.map → chunk-EQX4WXGG.mjs.map} +0 -0
  30. /package/dist/{chunk-C7XHY7LW.mjs.map → chunk-JH3OA44N.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-T2RKWYXN.mjs";
6
+ } from "./chunk-EQX4WXGG.mjs";
7
7
  import {
8
8
  copilotRuntimeNestEndpoint
9
- } from "./chunk-C7XHY7LW.mjs";
9
+ } from "./chunk-JH3OA44N.mjs";
10
10
  import {
11
11
  copilotRuntimeNodeExpressEndpoint
12
- } from "./chunk-BMA7V5T7.mjs";
12
+ } from "./chunk-BV7WYSOF.mjs";
13
13
  import {
14
14
  CopilotRuntime,
15
15
  addCustomHeaderPlugin,
@@ -25,7 +25,7 @@ import {
25
25
  getCommonConfig,
26
26
  langGraphPlatformEndpoint,
27
27
  resolveEndpointType
28
- } from "./chunk-6P6VMQLZ.mjs";
28
+ } from "./chunk-IZAPLBCH.mjs";
29
29
  import {
30
30
  AnthropicAdapter,
31
31
  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.14-next.3",
47
+ version: "1.8.14-next.4",
48
48
  sideEffects: false,
49
49
  main: "./dist/index.js",
50
50
  module: "./dist/index.mjs",
@@ -3973,10 +3973,14 @@ function constructAGUIRemoteAction({ logger: logger2, messages, agentStates, age
3973
3973
  parameters: JSON.parse(input.jsonSchema)
3974
3974
  };
3975
3975
  });
3976
+ const forwardedProps = metaEvents.length ? {
3977
+ command: {
3978
+ resume: (_a = metaEvents[0]) == null ? void 0 : _a.response
3979
+ }
3980
+ } : void 0;
3976
3981
  return agent.legacy_to_be_removed_runAgentBridged({
3977
3982
  tools,
3978
- // @ts-ignore
3979
- resume: (_a = metaEvents[0]) == null ? void 0 : _a.response
3983
+ forwardedProps
3980
3984
  });
3981
3985
  }
3982
3986
  };