@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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @copilotkit/runtime
2
2
 
3
+ ## 1.10.0-next.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 824fb69: - fix: pass config to the forwarded props of an agui agent
8
+ - @copilotkit/shared@1.10.0-next.3
9
+
3
10
  ## 1.10.0-next.2
4
11
 
5
12
  ### Patch Changes
@@ -2,7 +2,7 @@ import {
2
2
  getCommonConfig,
3
3
  getRuntimeInstanceTelemetryInfo,
4
4
  telemetry_client_default
5
- } from "./chunk-MQNB5R6D.mjs";
5
+ } from "./chunk-W6MHATLY.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-5AK2NTQ7.mjs.map
80
+ //# sourceMappingURL=chunk-EYRFVD7R.mjs.map
@@ -2,7 +2,7 @@ import {
2
2
  copilotRuntimeNodeHttpEndpoint,
3
3
  getRuntimeInstanceTelemetryInfo,
4
4
  telemetry_client_default
5
- } from "./chunk-MQNB5R6D.mjs";
5
+ } from "./chunk-W6MHATLY.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-UT7SO2JE.mjs.map
25
+ //# sourceMappingURL=chunk-O4NP7TTT.mjs.map
@@ -2,7 +2,7 @@ import {
2
2
  copilotRuntimeNodeHttpEndpoint,
3
3
  getRuntimeInstanceTelemetryInfo,
4
4
  telemetry_client_default
5
- } from "./chunk-MQNB5R6D.mjs";
5
+ } from "./chunk-W6MHATLY.mjs";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-FHD4JECV.mjs";
@@ -22,4 +22,4 @@ __name(copilotRuntimeNestEndpoint, "copilotRuntimeNestEndpoint");
22
22
  export {
23
23
  copilotRuntimeNestEndpoint
24
24
  };
25
- //# sourceMappingURL=chunk-66U5NEKM.mjs.map
25
+ //# sourceMappingURL=chunk-VYLNRLFK.mjs.map
@@ -40,7 +40,7 @@ var require_package = __commonJS({
40
40
  publishConfig: {
41
41
  access: "public"
42
42
  },
43
- version: "1.10.0-next.2",
43
+ version: "1.10.0-next.3",
44
44
  sideEffects: false,
45
45
  main: "./dist/index.js",
46
46
  module: "./dist/index.mjs",
@@ -4391,10 +4391,12 @@ function constructAGUIRemoteAction({ logger: logger2, messages, agentStates, age
4391
4391
  agentsAmount: 1
4392
4392
  });
4393
4393
  let state = {};
4394
+ let config = {};
4394
4395
  if (agentStates) {
4395
4396
  const jsonState = agentStates.find((state2) => state2.agentName === agent.agentId);
4396
4397
  if (jsonState) {
4397
4398
  state = parseJson3(jsonState.state, {});
4399
+ config = parseJson3(jsonState.config, {});
4398
4400
  }
4399
4401
  }
4400
4402
  agent.state = state;
@@ -4406,6 +4408,7 @@ function constructAGUIRemoteAction({ logger: logger2, messages, agentStates, age
4406
4408
  };
4407
4409
  });
4408
4410
  const forwardedProps = {
4411
+ config,
4409
4412
  ...(metaEvents == null ? void 0 : metaEvents.length) ? {
4410
4413
  command: {
4411
4414
  resume: (_a = metaEvents[0]) == null ? void 0 : _a.response
@@ -5920,4 +5923,4 @@ export {
5920
5923
  getCommonConfig,
5921
5924
  copilotRuntimeNodeHttpEndpoint
5922
5925
  };
5923
- //# sourceMappingURL=chunk-MQNB5R6D.mjs.map
5926
+ //# sourceMappingURL=chunk-W6MHATLY.mjs.map