@copilotkit/runtime 1.10.0-next.2 → 1.10.0-next.3

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 +7 -0
  2. package/dist/{chunk-5AK2NTQ7.mjs → chunk-EYRFVD7R.mjs} +2 -2
  3. package/dist/{chunk-UT7SO2JE.mjs → chunk-O4NP7TTT.mjs} +2 -2
  4. package/dist/{chunk-66U5NEKM.mjs → chunk-VYLNRLFK.mjs} +2 -2
  5. package/dist/{chunk-MQNB5R6D.mjs → chunk-W6MHATLY.mjs} +5 -2
  6. package/dist/{chunk-MQNB5R6D.mjs.map → chunk-W6MHATLY.mjs.map} +1 -1
  7. package/dist/{chunk-MVGREU3Y.mjs → chunk-Z2GU7KFR.mjs} +2 -2
  8. package/dist/index.js +4 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/index.mjs +5 -5
  11. package/dist/lib/index.js +4 -1
  12. package/dist/lib/index.js.map +1 -1
  13. package/dist/lib/index.mjs +5 -5
  14. package/dist/lib/integrations/index.js +1 -1
  15. package/dist/lib/integrations/index.js.map +1 -1
  16. package/dist/lib/integrations/index.mjs +4 -4
  17. package/dist/lib/integrations/nest/index.js +1 -1
  18. package/dist/lib/integrations/nest/index.js.map +1 -1
  19. package/dist/lib/integrations/nest/index.mjs +2 -2
  20. package/dist/lib/integrations/node-express/index.js +1 -1
  21. package/dist/lib/integrations/node-express/index.js.map +1 -1
  22. package/dist/lib/integrations/node-express/index.mjs +2 -2
  23. package/dist/lib/integrations/node-http/index.js +1 -1
  24. package/dist/lib/integrations/node-http/index.js.map +1 -1
  25. package/dist/lib/integrations/node-http/index.mjs +1 -1
  26. package/package.json +2 -2
  27. package/src/lib/runtime/agui-action.ts +3 -0
  28. /package/dist/{chunk-5AK2NTQ7.mjs.map → chunk-EYRFVD7R.mjs.map} +0 -0
  29. /package/dist/{chunk-UT7SO2JE.mjs.map → chunk-O4NP7TTT.mjs.map} +0 -0
  30. /package/dist/{chunk-66U5NEKM.mjs.map → chunk-VYLNRLFK.mjs.map} +0 -0
  31. /package/dist/{chunk-MVGREU3Y.mjs.map → chunk-Z2GU7KFR.mjs.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  copilotRuntimeNodeHttpEndpoint
3
- } from "../../../chunk-MQNB5R6D.mjs";
3
+ } from "../../../chunk-W6MHATLY.mjs";
4
4
  import "../../../chunk-SHBDMA63.mjs";
5
5
  import "../../../chunk-QLLV2QVK.mjs";
6
6
  import "../../../chunk-XWBDEXDA.mjs";
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "publishConfig": {
10
10
  "access": "public"
11
11
  },
12
- "version": "1.10.0-next.2",
12
+ "version": "1.10.0-next.3",
13
13
  "sideEffects": false,
14
14
  "main": "./dist/index.js",
15
15
  "module": "./dist/index.mjs",
@@ -67,7 +67,7 @@
67
67
  "rxjs": "7.8.1",
68
68
  "type-graphql": "2.0.0-rc.1",
69
69
  "zod": "^3.23.3",
70
- "@copilotkit/shared": "1.10.0-next.2"
70
+ "@copilotkit/shared": "1.10.0-next.3"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "@ag-ui/client": ">=0.0.34",
@@ -58,10 +58,12 @@ export function constructAGUIRemoteAction({
58
58
  });
59
59
 
60
60
  let state = {};
61
+ let config = {};
61
62
  if (agentStates) {
62
63
  const jsonState = agentStates.find((state) => state.agentName === agent.agentId);
63
64
  if (jsonState) {
64
65
  state = parseJson(jsonState.state, {});
66
+ config = parseJson(jsonState.config, {});
65
67
  }
66
68
  }
67
69
  agent.state = state;
@@ -75,6 +77,7 @@ export function constructAGUIRemoteAction({
75
77
  });
76
78
 
77
79
  const forwardedProps = {
80
+ config,
78
81
  ...(metaEvents?.length ? { command: { resume: metaEvents[0]?.response } } : {}),
79
82
  ...(threadMetadata ? { threadMetadata } : {}),
80
83
  ...(nodeName ? { nodeName } : {}),