@copilotkit/runtime 1.8.5 → 1.8.6
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 +18 -0
- package/dist/{chunk-AYW55OHA.mjs → chunk-2M3O4SA5.mjs} +2 -2
- package/dist/{chunk-IUD7KKAU.mjs → chunk-3PPZ4552.mjs} +2 -2
- package/dist/{chunk-NPWAEKGB.mjs → chunk-M5ICHA6U.mjs} +2 -2
- package/dist/{chunk-CTOM2OZ3.mjs → chunk-QLQZOYNM.mjs} +3 -3
- package/dist/chunk-QLQZOYNM.mjs.map +1 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/lib/index.js +2 -2
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +4 -4
- 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/remote-lg-action.ts +2 -1
- package/dist/chunk-CTOM2OZ3.mjs.map +0 -1
- /package/dist/{chunk-AYW55OHA.mjs.map → chunk-2M3O4SA5.mjs.map} +0 -0
- /package/dist/{chunk-IUD7KKAU.mjs.map → chunk-3PPZ4552.mjs.map} +0 -0
- /package/dist/{chunk-NPWAEKGB.mjs.map → chunk-M5ICHA6U.mjs.map} +0 -0
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
|
-
"version": "1.8.
|
|
12
|
+
"version": "1.8.6",
|
|
13
13
|
"sideEffects": false,
|
|
14
14
|
"main": "./dist/index.js",
|
|
15
15
|
"module": "./dist/index.mjs",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"rxjs": "^7.8.1",
|
|
64
64
|
"type-graphql": "2.0.0-rc.1",
|
|
65
65
|
"zod": "^3.23.3",
|
|
66
|
-
"@copilotkit/shared": "1.8.
|
|
66
|
+
"@copilotkit/shared": "1.8.6"
|
|
67
67
|
},
|
|
68
68
|
"keywords": [
|
|
69
69
|
"copilotkit",
|
|
@@ -190,7 +190,8 @@ async function streamEvents(controller: ReadableStreamDefaultController, args: E
|
|
|
190
190
|
(ev) => ev.name === MetaEventName.LangGraphInterruptEvent,
|
|
191
191
|
);
|
|
192
192
|
if (activeInterruptEvent && !lgInterruptMetaEvent) {
|
|
193
|
-
|
|
193
|
+
// state.messages includes only messages that were not processed by the agent, which are the interrupt messages
|
|
194
|
+
payload.command = { resume: state.messages };
|
|
194
195
|
}
|
|
195
196
|
if (lgInterruptMetaEvent?.response) {
|
|
196
197
|
let response = lgInterruptMetaEvent.response;
|