@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/CHANGELOG.md
CHANGED
|
@@ -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",
|
|
@@ -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-
|
|
5926
|
+
//# sourceMappingURL=chunk-W6MHATLY.mjs.map
|