@copilotkit/runtime 1.10.0-next.2 → 1.10.0-next.4
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 +13 -0
- package/dist/{chunk-MQNB5R6D.mjs → chunk-6AZORXNC.mjs} +5 -2
- package/dist/{chunk-MQNB5R6D.mjs.map → chunk-6AZORXNC.mjs.map} +1 -1
- package/dist/{chunk-UT7SO2JE.mjs → chunk-GFC7TWRS.mjs} +2 -2
- package/dist/{chunk-5AK2NTQ7.mjs → chunk-L4TPX6OY.mjs} +2 -2
- package/dist/{chunk-66U5NEKM.mjs → chunk-VTSQTHPJ.mjs} +2 -2
- package/dist/{chunk-MVGREU3Y.mjs → chunk-XZJE6RAV.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-UT7SO2JE.mjs.map → chunk-GFC7TWRS.mjs.map} +0 -0
- /package/dist/{chunk-5AK2NTQ7.mjs.map → chunk-L4TPX6OY.mjs.map} +0 -0
- /package/dist/{chunk-66U5NEKM.mjs.map → chunk-VTSQTHPJ.mjs.map} +0 -0
- /package/dist/{chunk-MVGREU3Y.mjs.map → chunk-XZJE6RAV.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
CustomEventNames,
|
|
3
3
|
LangGraphAgent,
|
|
4
4
|
LangGraphHttpAgent
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XZJE6RAV.mjs";
|
|
6
6
|
import {
|
|
7
7
|
config,
|
|
8
8
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
9
9
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-L4TPX6OY.mjs";
|
|
11
11
|
import {
|
|
12
12
|
copilotRuntimeNestEndpoint
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VTSQTHPJ.mjs";
|
|
14
14
|
import {
|
|
15
15
|
copilotRuntimeNodeExpressEndpoint
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GFC7TWRS.mjs";
|
|
17
17
|
import {
|
|
18
18
|
CopilotRuntime,
|
|
19
19
|
addCustomHeaderPlugin,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
getCommonConfig,
|
|
30
30
|
langGraphPlatformEndpoint,
|
|
31
31
|
resolveEndpointType
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6AZORXNC.mjs";
|
|
33
33
|
import "./chunk-SHBDMA63.mjs";
|
|
34
34
|
import {
|
|
35
35
|
AnthropicAdapter,
|
package/dist/lib/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.4",
|
|
48
48
|
sideEffects: false,
|
|
49
49
|
main: "./dist/index.js",
|
|
50
50
|
module: "./dist/index.mjs",
|
|
@@ -5909,10 +5909,12 @@ function constructAGUIRemoteAction({ logger: logger2, messages, agentStates, age
|
|
|
5909
5909
|
agentsAmount: 1
|
|
5910
5910
|
});
|
|
5911
5911
|
let state = {};
|
|
5912
|
+
let config2 = {};
|
|
5912
5913
|
if (agentStates) {
|
|
5913
5914
|
const jsonState = agentStates.find((state2) => state2.agentName === agent.agentId);
|
|
5914
5915
|
if (jsonState) {
|
|
5915
5916
|
state = (0, import_shared21.parseJson)(jsonState.state, {});
|
|
5917
|
+
config2 = (0, import_shared21.parseJson)(jsonState.config, {});
|
|
5916
5918
|
}
|
|
5917
5919
|
}
|
|
5918
5920
|
agent.state = state;
|
|
@@ -5924,6 +5926,7 @@ function constructAGUIRemoteAction({ logger: logger2, messages, agentStates, age
|
|
|
5924
5926
|
};
|
|
5925
5927
|
});
|
|
5926
5928
|
const forwardedProps = {
|
|
5929
|
+
config: config2,
|
|
5927
5930
|
...(metaEvents == null ? void 0 : metaEvents.length) ? {
|
|
5928
5931
|
command: {
|
|
5929
5932
|
resume: (_a = metaEvents[0]) == null ? void 0 : _a.response
|