@copilotkit/runtime 1.10.0-next.1 → 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 +14 -0
- package/dist/{chunk-7WC4OMOL.mjs → chunk-EYRFVD7R.mjs} +2 -2
- package/dist/{chunk-NV4PTNDU.mjs → chunk-O4NP7TTT.mjs} +2 -2
- package/dist/{chunk-VOCP3OKE.mjs → chunk-VYLNRLFK.mjs} +2 -2
- package/dist/{chunk-YBAPVMN4.mjs → chunk-W6MHATLY.mjs} +5 -4
- package/dist/chunk-W6MHATLY.mjs.map +1 -0
- package/dist/{chunk-5OSQ6CM5.mjs → chunk-Z2GU7KFR.mjs} +2 -2
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/lib/index.js +4 -3
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +5 -5
- package/dist/lib/integrations/index.js +1 -3
- 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 -3
- 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 -3
- 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 -3
- package/dist/lib/integrations/node-http/index.js.map +1 -1
- package/dist/lib/integrations/node-http/index.mjs +1 -1
- package/package.json +4 -6
- package/src/lib/runtime/agui-action.ts +3 -0
- package/dist/chunk-YBAPVMN4.mjs.map +0 -1
- /package/dist/{chunk-7WC4OMOL.mjs.map → chunk-EYRFVD7R.mjs.map} +0 -0
- /package/dist/{chunk-NV4PTNDU.mjs.map → chunk-O4NP7TTT.mjs.map} +0 -0
- /package/dist/{chunk-VOCP3OKE.mjs.map → chunk-VYLNRLFK.mjs.map} +0 -0
- /package/dist/{chunk-5OSQ6CM5.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",
|
|
@@ -97,7 +97,6 @@ var require_package = __commonJS({
|
|
|
97
97
|
"@langchain/langgraph-sdk": "^0.0.70",
|
|
98
98
|
"@langchain/openai": "^0.4.2",
|
|
99
99
|
"@scarf/scarf": "^1.3.0",
|
|
100
|
-
"@types/ip": "^1.1.3",
|
|
101
100
|
"class-transformer": "^0.5.1",
|
|
102
101
|
"class-validator": "^0.14.1",
|
|
103
102
|
express: "^4.19.2",
|
|
@@ -105,7 +104,6 @@ var require_package = __commonJS({
|
|
|
105
104
|
"graphql-scalars": "^1.23.0",
|
|
106
105
|
"graphql-yoga": "^5.3.1",
|
|
107
106
|
"groq-sdk": "^0.5.0",
|
|
108
|
-
ip: "^2.0.1",
|
|
109
107
|
langchain: "^0.3.3",
|
|
110
108
|
openai: "^4.85.1",
|
|
111
109
|
"partial-json": "^0.1.7",
|
|
@@ -6365,10 +6363,12 @@ function constructAGUIRemoteAction({ logger: logger2, messages, agentStates, age
|
|
|
6365
6363
|
agentsAmount: 1
|
|
6366
6364
|
});
|
|
6367
6365
|
let state = {};
|
|
6366
|
+
let config2 = {};
|
|
6368
6367
|
if (agentStates) {
|
|
6369
6368
|
const jsonState = agentStates.find((state2) => state2.agentName === agent.agentId);
|
|
6370
6369
|
if (jsonState) {
|
|
6371
6370
|
state = (0, import_shared24.parseJson)(jsonState.state, {});
|
|
6371
|
+
config2 = (0, import_shared24.parseJson)(jsonState.config, {});
|
|
6372
6372
|
}
|
|
6373
6373
|
}
|
|
6374
6374
|
agent.state = state;
|
|
@@ -6380,6 +6380,7 @@ function constructAGUIRemoteAction({ logger: logger2, messages, agentStates, age
|
|
|
6380
6380
|
};
|
|
6381
6381
|
});
|
|
6382
6382
|
const forwardedProps = {
|
|
6383
|
+
config: config2,
|
|
6383
6384
|
...(metaEvents == null ? void 0 : metaEvents.length) ? {
|
|
6384
6385
|
command: {
|
|
6385
6386
|
resume: (_a = metaEvents[0]) == null ? void 0 : _a.response
|