@copilotkit/runtime 0.0.0-max-changeset-20260109200053 → 0.0.0-max-no-peerage-20260115011549
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 +66 -8
- package/dist/index.js +9 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -11
- package/src/lib/runtime/copilot-runtime.ts +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,74 @@
|
|
|
1
1
|
# @copilotkit/runtime
|
|
2
2
|
|
|
3
|
-
## 0.0.0-max-
|
|
3
|
+
## 0.0.0-max-no-peerage-20260115011549
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
- a7a1294: Move in-repo deps from peerdeps to actual deps
|
|
8
|
+
- @copilotkit/shared@0.0.0-max-no-peerage-20260115011549
|
|
9
|
+
- @copilotkitnext/agent@0.0.0-max-no-peerage-20260115011549
|
|
10
|
+
- @copilotkitnext/runtime@0.0.0-max-no-peerage-20260115011549
|
|
11
|
+
|
|
12
|
+
## 1.51.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [329653b]
|
|
17
|
+
- @copilotkitnext/agent@1.51.1
|
|
18
|
+
- @copilotkit/shared@1.51.1
|
|
19
|
+
- @copilotkitnext/runtime@1.51.1
|
|
20
|
+
|
|
21
|
+
## 1.51.0
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 2839a15: fix: restore and fix handle method in node http
|
|
26
|
+
- 2839a15: Update versioning strategy
|
|
27
|
+
- 2839a15: fix: use direct hono node integration on node-http integration
|
|
28
|
+
- 4addb72: Fix ci again but really for real this time
|
|
29
|
+
- Updated dependencies [2793a11]
|
|
30
|
+
- Updated dependencies [73f196f]
|
|
31
|
+
- Updated dependencies [2839a15]
|
|
32
|
+
- Updated dependencies [2afd4e3]
|
|
33
|
+
- @copilotkitnext/runtime@1.51.0
|
|
34
|
+
- @copilotkit/shared@1.51.0
|
|
35
|
+
- @copilotkitnext/agent@1.51.0
|
|
36
|
+
|
|
37
|
+
## 1.51.0-next.4
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- Updated dependencies [2793a11]
|
|
42
|
+
- @copilotkitnext/runtime@1.51.0-next.4
|
|
43
|
+
- @copilotkit/shared@1.51.0-next.4
|
|
44
|
+
- @copilotkitnext/agent@1.51.0-next.4
|
|
45
|
+
|
|
46
|
+
## 1.51.0-next.3
|
|
47
|
+
|
|
48
|
+
### Patch Changes
|
|
49
|
+
|
|
50
|
+
- Updated dependencies [73f196f]
|
|
51
|
+
- @copilotkitnext/runtime@1.51.0-next.3
|
|
52
|
+
- @copilotkit/shared@1.51.0-next.3
|
|
53
|
+
- @copilotkitnext/agent@1.51.0-next.3
|
|
54
|
+
|
|
55
|
+
## 1.51.0-next.2
|
|
56
|
+
|
|
57
|
+
### Patch Changes
|
|
58
|
+
|
|
59
|
+
- 4addb72: Fix ci again but really for real this time
|
|
60
|
+
- Updated dependencies [2afd4e3]
|
|
61
|
+
- @copilotkit/shared@1.51.0-next.2
|
|
62
|
+
- @copilotkitnext/agent@1.51.0-next.2
|
|
63
|
+
- @copilotkitnext/runtime@1.51.0-next.2
|
|
64
|
+
|
|
65
|
+
## 1.51.0-next.1
|
|
66
|
+
|
|
67
|
+
### Patch Changes
|
|
68
|
+
|
|
69
|
+
- @copilotkit/shared@1.51.0-next.1
|
|
70
|
+
- @copilotkitnext/agent@1.51.0-next.1
|
|
71
|
+
- @copilotkitnext/runtime@1.51.0-next.1
|
|
14
72
|
|
|
15
73
|
## 1.50.2-next.0
|
|
16
74
|
|
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.
|
|
75
|
+
version: "1.51.1",
|
|
76
76
|
sideEffects: false,
|
|
77
77
|
main: "./dist/index.js",
|
|
78
78
|
module: "./dist/index.mjs",
|
|
@@ -106,9 +106,6 @@ var require_package = __commonJS({
|
|
|
106
106
|
"unlink:global": "pnpm unlink --global"
|
|
107
107
|
},
|
|
108
108
|
devDependencies: {
|
|
109
|
-
"@copilotkit/shared": "workspace:*",
|
|
110
|
-
"@copilotkitnext/agent": "workspace:*",
|
|
111
|
-
"@copilotkitnext/runtime": "workspace:*",
|
|
112
109
|
"@jest/globals": "^29.7.0",
|
|
113
110
|
"@swc/core": "1.5.28",
|
|
114
111
|
"@types/jest": "^29.5.12",
|
|
@@ -126,6 +123,12 @@ var require_package = __commonJS({
|
|
|
126
123
|
vitest: "^3.2.4"
|
|
127
124
|
},
|
|
128
125
|
dependencies: {
|
|
126
|
+
"@ag-ui/client": "^0.0.42",
|
|
127
|
+
"@ag-ui/core": "^0.0.42",
|
|
128
|
+
"@ag-ui/langgraph": "^0.0.20",
|
|
129
|
+
"@copilotkit/shared": "workspace:*",
|
|
130
|
+
"@copilotkitnext/agent": "workspace:*",
|
|
131
|
+
"@copilotkitnext/runtime": "workspace:*",
|
|
129
132
|
"@graphql-yoga/plugin-defer-stream": "^3.3.1",
|
|
130
133
|
"@hono/node-server": "^1.13.5",
|
|
131
134
|
"@scarf/scarf": "^1.3.0",
|
|
@@ -145,9 +148,6 @@ var require_package = __commonJS({
|
|
|
145
148
|
zod: "^3.23.3"
|
|
146
149
|
},
|
|
147
150
|
peerDependencies: {
|
|
148
|
-
"@ag-ui/client": "^0.0.42",
|
|
149
|
-
"@ag-ui/core": "^0.0.42",
|
|
150
|
-
"@ag-ui/langgraph": "^0.0.20",
|
|
151
151
|
"@anthropic-ai/sdk": "^0.57.0",
|
|
152
152
|
"@copilotkit/shared": "workspace:*",
|
|
153
153
|
"@copilotkitnext/agent": "workspace:*",
|
|
@@ -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) {
|