@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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
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
|
+
|
|
10
|
+
## 1.10.0-next.2
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- a31443c: removed unused dependency on ip module
|
|
15
|
+
- @copilotkit/shared@1.10.0-next.2
|
|
16
|
+
|
|
3
17
|
## 1.10.0-next.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getCommonConfig,
|
|
3
3
|
getRuntimeInstanceTelemetryInfo,
|
|
4
4
|
telemetry_client_default
|
|
5
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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.
|
|
43
|
+
version: "1.10.0-next.3",
|
|
44
44
|
sideEffects: false,
|
|
45
45
|
main: "./dist/index.js",
|
|
46
46
|
module: "./dist/index.mjs",
|
|
@@ -93,7 +93,6 @@ var require_package = __commonJS({
|
|
|
93
93
|
"@langchain/langgraph-sdk": "^0.0.70",
|
|
94
94
|
"@langchain/openai": "^0.4.2",
|
|
95
95
|
"@scarf/scarf": "^1.3.0",
|
|
96
|
-
"@types/ip": "^1.1.3",
|
|
97
96
|
"class-transformer": "^0.5.1",
|
|
98
97
|
"class-validator": "^0.14.1",
|
|
99
98
|
express: "^4.19.2",
|
|
@@ -101,7 +100,6 @@ var require_package = __commonJS({
|
|
|
101
100
|
"graphql-scalars": "^1.23.0",
|
|
102
101
|
"graphql-yoga": "^5.3.1",
|
|
103
102
|
"groq-sdk": "^0.5.0",
|
|
104
|
-
ip: "^2.0.1",
|
|
105
103
|
langchain: "^0.3.3",
|
|
106
104
|
openai: "^4.85.1",
|
|
107
105
|
"partial-json": "^0.1.7",
|
|
@@ -4393,10 +4391,12 @@ function constructAGUIRemoteAction({ logger: logger2, messages, agentStates, age
|
|
|
4393
4391
|
agentsAmount: 1
|
|
4394
4392
|
});
|
|
4395
4393
|
let state = {};
|
|
4394
|
+
let config = {};
|
|
4396
4395
|
if (agentStates) {
|
|
4397
4396
|
const jsonState = agentStates.find((state2) => state2.agentName === agent.agentId);
|
|
4398
4397
|
if (jsonState) {
|
|
4399
4398
|
state = parseJson3(jsonState.state, {});
|
|
4399
|
+
config = parseJson3(jsonState.config, {});
|
|
4400
4400
|
}
|
|
4401
4401
|
}
|
|
4402
4402
|
agent.state = state;
|
|
@@ -4408,6 +4408,7 @@ function constructAGUIRemoteAction({ logger: logger2, messages, agentStates, age
|
|
|
4408
4408
|
};
|
|
4409
4409
|
});
|
|
4410
4410
|
const forwardedProps = {
|
|
4411
|
+
config,
|
|
4411
4412
|
...(metaEvents == null ? void 0 : metaEvents.length) ? {
|
|
4412
4413
|
command: {
|
|
4413
4414
|
resume: (_a = metaEvents[0]) == null ? void 0 : _a.response
|
|
@@ -5922,4 +5923,4 @@ export {
|
|
|
5922
5923
|
getCommonConfig,
|
|
5923
5924
|
copilotRuntimeNodeHttpEndpoint
|
|
5924
5925
|
};
|
|
5925
|
-
//# sourceMappingURL=chunk-
|
|
5926
|
+
//# sourceMappingURL=chunk-W6MHATLY.mjs.map
|