@copilotkit/runtime 1.51.0-next.4 → 1.51.1
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 +25 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
- package/src/lib/runtime/copilot-runtime.ts +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @copilotkit/runtime
|
|
2
2
|
|
|
3
|
+
## 1.51.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [329653b]
|
|
8
|
+
- @copilotkitnext/agent@1.51.1
|
|
9
|
+
- @copilotkit/shared@1.51.1
|
|
10
|
+
- @copilotkitnext/runtime@1.51.1
|
|
11
|
+
|
|
12
|
+
## 1.51.0
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 2839a15: fix: restore and fix handle method in node http
|
|
17
|
+
- 2839a15: Update versioning strategy
|
|
18
|
+
- 2839a15: fix: use direct hono node integration on node-http integration
|
|
19
|
+
- 4addb72: Fix ci again but really for real this time
|
|
20
|
+
- Updated dependencies [2793a11]
|
|
21
|
+
- Updated dependencies [73f196f]
|
|
22
|
+
- Updated dependencies [2839a15]
|
|
23
|
+
- Updated dependencies [2afd4e3]
|
|
24
|
+
- @copilotkitnext/runtime@1.51.0
|
|
25
|
+
- @copilotkit/shared@1.51.0
|
|
26
|
+
- @copilotkitnext/agent@1.51.0
|
|
27
|
+
|
|
3
28
|
## 1.51.0-next.4
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -72,7 +72,7 @@ var require_package = __commonJS({
|
|
|
72
72
|
publishConfig: {
|
|
73
73
|
access: "public"
|
|
74
74
|
},
|
|
75
|
-
version: "1.51.
|
|
75
|
+
version: "1.51.1",
|
|
76
76
|
sideEffects: false,
|
|
77
77
|
main: "./dist/index.js",
|
|
78
78
|
module: "./dist/index.mjs",
|
|
@@ -3591,7 +3591,7 @@ var CopilotRuntime = class {
|
|
|
3591
3591
|
} : {},
|
|
3592
3592
|
"cloud.base_url": cloudBaseUrl
|
|
3593
3593
|
});
|
|
3594
|
-
(_c = params == null ? void 0 : params.beforeRequestMiddleware) == null ? void 0 : _c.call(params, hookParams);
|
|
3594
|
+
const middlewareResult = await ((_c = params == null ? void 0 : params.beforeRequestMiddleware) == null ? void 0 : _c.call(params, hookParams));
|
|
3595
3595
|
if ((_d = params == null ? void 0 : params.middleware) == null ? void 0 : _d.onBeforeRequest) {
|
|
3596
3596
|
const { request: request2, runtime, path } = hookParams;
|
|
3597
3597
|
const gqlMessages = aguiToGQL(body.messages).reduce((acc, msg) => {
|
|
@@ -3614,6 +3614,7 @@ var CopilotRuntime = class {
|
|
|
3614
3614
|
url: request2.url
|
|
3615
3615
|
});
|
|
3616
3616
|
}
|
|
3617
|
+
return middlewareResult;
|
|
3617
3618
|
};
|
|
3618
3619
|
}
|
|
3619
3620
|
createOnAfterRequestHandler(params) {
|