@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.
- package/CHANGELOG.md +7 -0
- package/dist/{chunk-5AK2NTQ7.mjs → chunk-EYRFVD7R.mjs} +2 -2
- package/dist/{chunk-UT7SO2JE.mjs → chunk-O4NP7TTT.mjs} +2 -2
- package/dist/{chunk-66U5NEKM.mjs → chunk-VYLNRLFK.mjs} +2 -2
- package/dist/{chunk-MQNB5R6D.mjs → chunk-W6MHATLY.mjs} +5 -2
- package/dist/{chunk-MQNB5R6D.mjs.map → chunk-W6MHATLY.mjs.map} +1 -1
- package/dist/{chunk-MVGREU3Y.mjs → chunk-Z2GU7KFR.mjs} +2 -2
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/lib/index.js +4 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +5 -5
- package/dist/lib/integrations/index.js +1 -1
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +4 -4
- package/dist/lib/integrations/nest/index.js +1 -1
- package/dist/lib/integrations/nest/index.js.map +1 -1
- package/dist/lib/integrations/nest/index.mjs +2 -2
- package/dist/lib/integrations/node-express/index.js +1 -1
- package/dist/lib/integrations/node-express/index.js.map +1 -1
- package/dist/lib/integrations/node-express/index.mjs +2 -2
- package/dist/lib/integrations/node-http/index.js +1 -1
- package/dist/lib/integrations/node-http/index.js.map +1 -1
- package/dist/lib/integrations/node-http/index.mjs +1 -1
- package/package.json +2 -2
- package/src/lib/runtime/agui-action.ts +3 -0
- /package/dist/{chunk-5AK2NTQ7.mjs.map → chunk-EYRFVD7R.mjs.map} +0 -0
- /package/dist/{chunk-UT7SO2JE.mjs.map → chunk-O4NP7TTT.mjs.map} +0 -0
- /package/dist/{chunk-66U5NEKM.mjs.map → chunk-VYLNRLFK.mjs.map} +0 -0
- /package/dist/{chunk-MVGREU3Y.mjs.map → chunk-Z2GU7KFR.mjs.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LangGraphEventTypes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W6MHATLY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__name
|
|
6
6
|
} from "./chunk-FHD4JECV.mjs";
|
|
@@ -156,4 +156,4 @@ export {
|
|
|
156
156
|
CustomEventNames,
|
|
157
157
|
LangGraphAgent
|
|
158
158
|
};
|
|
159
|
-
//# sourceMappingURL=chunk-
|
|
159
|
+
//# sourceMappingURL=chunk-Z2GU7KFR.mjs.map
|
package/dist/index.js
CHANGED
|
@@ -44,7 +44,7 @@ var require_package = __commonJS({
|
|
|
44
44
|
publishConfig: {
|
|
45
45
|
access: "public"
|
|
46
46
|
},
|
|
47
|
-
version: "1.10.0-next.
|
|
47
|
+
version: "1.10.0-next.3",
|
|
48
48
|
sideEffects: false,
|
|
49
49
|
main: "./dist/index.js",
|
|
50
50
|
module: "./dist/index.mjs",
|
|
@@ -6363,10 +6363,12 @@ function constructAGUIRemoteAction({ logger: logger2, messages, agentStates, age
|
|
|
6363
6363
|
agentsAmount: 1
|
|
6364
6364
|
});
|
|
6365
6365
|
let state = {};
|
|
6366
|
+
let config2 = {};
|
|
6366
6367
|
if (agentStates) {
|
|
6367
6368
|
const jsonState = agentStates.find((state2) => state2.agentName === agent.agentId);
|
|
6368
6369
|
if (jsonState) {
|
|
6369
6370
|
state = (0, import_shared24.parseJson)(jsonState.state, {});
|
|
6371
|
+
config2 = (0, import_shared24.parseJson)(jsonState.config, {});
|
|
6370
6372
|
}
|
|
6371
6373
|
}
|
|
6372
6374
|
agent.state = state;
|
|
@@ -6378,6 +6380,7 @@ function constructAGUIRemoteAction({ logger: logger2, messages, agentStates, age
|
|
|
6378
6380
|
};
|
|
6379
6381
|
});
|
|
6380
6382
|
const forwardedProps = {
|
|
6383
|
+
config: config2,
|
|
6381
6384
|
...(metaEvents == null ? void 0 : metaEvents.length) ? {
|
|
6382
6385
|
command: {
|
|
6383
6386
|
resume: (_a = metaEvents[0]) == null ? void 0 : _a.response
|