@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
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
|
-
"version": "1.10.0-next.
|
|
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.
|
|
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 } : {}),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|