@copilotkit/runtime 1.50.2-next.0 → 1.51.0-next.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 +8 -21
- package/LICENSE +21 -0
- package/dist/index.d.ts +4 -3
- package/dist/index.js +11 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +13 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @copilotkit/runtime
|
|
2
2
|
|
|
3
|
+
## 1.51.0-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @copilotkit/shared@1.51.0-next.1
|
|
8
|
+
- @copilotkitnext/agent@1.51.0-next.1
|
|
9
|
+
- @copilotkitnext/runtime@1.51.0-next.1
|
|
10
|
+
|
|
3
11
|
## 1.50.2-next.0
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -523,7 +531,6 @@
|
|
|
523
531
|
### Patch Changes
|
|
524
532
|
|
|
525
533
|
- 1abcecf: - fix: add graphqlContext to constructAGUIRemoteAction for enhanced agent properties
|
|
526
|
-
|
|
527
534
|
- Updated constructAGUIRemoteAction to accept graphqlContext, allowing forwarding of properties like Authorization token to the agent.
|
|
528
535
|
- Modified setupRemoteActions to include graphqlContext in the parameters.
|
|
529
536
|
|
|
@@ -625,7 +632,6 @@
|
|
|
625
632
|
### Patch Changes
|
|
626
633
|
|
|
627
634
|
- 1abcecf: - fix: add graphqlContext to constructAGUIRemoteAction for enhanced agent properties
|
|
628
|
-
|
|
629
635
|
- Updated constructAGUIRemoteAction to accept graphqlContext, allowing forwarding of properties like Authorization token to the agent.
|
|
630
636
|
- Modified setupRemoteActions to include graphqlContext in the parameters.
|
|
631
637
|
- @copilotkit/shared@1.10.0-next.1
|
|
@@ -693,7 +699,6 @@
|
|
|
693
699
|
- remove request logging
|
|
694
700
|
- 3a7f45f: - fix: resolve agui agents only after all other endpoints
|
|
695
701
|
- fac89c2: - refactor: rename onTrace to onError throughout codebase
|
|
696
|
-
|
|
697
702
|
- Rename CopilotTraceEvent to CopilotErrorEvent and CopilotTraceHandler to CopilotErrorHandler
|
|
698
703
|
|
|
699
704
|
- 7ca7023: - feat: send node name to agui agent
|
|
@@ -794,7 +799,6 @@
|
|
|
794
799
|
### Patch Changes
|
|
795
800
|
|
|
796
801
|
- fac89c2: - refactor: rename onTrace to onError throughout codebase
|
|
797
|
-
|
|
798
802
|
- Rename CopilotTraceEvent to CopilotErrorEvent and CopilotTraceHandler to CopilotErrorHandler
|
|
799
803
|
|
|
800
804
|
- Updated dependencies [fac89c2]
|
|
@@ -1276,11 +1280,9 @@
|
|
|
1276
1280
|
- c0d3261: - full AWP support
|
|
1277
1281
|
|
|
1278
1282
|
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
1279
|
-
|
|
1280
1283
|
- refactor: address linter issues with the new pages
|
|
1281
1284
|
|
|
1282
1285
|
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
1283
|
-
|
|
1284
1286
|
- Merge branch 'mme/acp' into mme/mastra
|
|
1285
1287
|
- add sse example
|
|
1286
1288
|
- Create small-turkeys-agree.md
|
|
@@ -1297,17 +1299,14 @@
|
|
|
1297
1299
|
- 77a7457: - feat: Add Model Context Protocol (MCP) support
|
|
1298
1300
|
- 76d9ef9: - fix: handle langgraph client specific errors when running lgc stream
|
|
1299
1301
|
- c0d3261: - add AWP support
|
|
1300
|
-
|
|
1301
1302
|
- make it work
|
|
1302
1303
|
- update docs
|
|
1303
1304
|
- refactor: move UI files to be normal NextJS pages and update generation
|
|
1304
1305
|
|
|
1305
1306
|
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
1306
|
-
|
|
1307
1307
|
- refactor: address linter issues with the new pages
|
|
1308
1308
|
|
|
1309
1309
|
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
1310
|
-
|
|
1311
1310
|
- Merge branch 'mme/acp' into mme/mastra
|
|
1312
1311
|
- add sse example
|
|
1313
1312
|
|
|
@@ -1321,11 +1320,9 @@
|
|
|
1321
1320
|
- c0d3261: - full AWP support
|
|
1322
1321
|
|
|
1323
1322
|
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
1324
|
-
|
|
1325
1323
|
- refactor: address linter issues with the new pages
|
|
1326
1324
|
|
|
1327
1325
|
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
1328
|
-
|
|
1329
1326
|
- Merge branch 'mme/acp' into mme/mastra
|
|
1330
1327
|
- add sse example
|
|
1331
1328
|
- Create small-turkeys-agree.md
|
|
@@ -1340,17 +1337,14 @@
|
|
|
1340
1337
|
- fix missing tool call ids
|
|
1341
1338
|
|
|
1342
1339
|
- c0d3261: - add AWP support
|
|
1343
|
-
|
|
1344
1340
|
- make it work
|
|
1345
1341
|
- update docs
|
|
1346
1342
|
- refactor: move UI files to be normal NextJS pages and update generation
|
|
1347
1343
|
|
|
1348
1344
|
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
1349
|
-
|
|
1350
1345
|
- refactor: address linter issues with the new pages
|
|
1351
1346
|
|
|
1352
1347
|
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
1353
|
-
|
|
1354
1348
|
- Merge branch 'mme/acp' into mme/mastra
|
|
1355
1349
|
- add sse example
|
|
1356
1350
|
- @copilotkit/shared@1.8.5-next.5
|
|
@@ -2355,7 +2349,6 @@
|
|
|
2355
2349
|
- e16d95e: New prerelease
|
|
2356
2350
|
- 1721cbd: Add convertActionsToDynamicStructuredTools to sdk-js
|
|
2357
2351
|
- CopilotKit Core:
|
|
2358
|
-
|
|
2359
2352
|
- Improved error messages and overall logs
|
|
2360
2353
|
- `useCopilotAction.renderAndAwait` renamed to `.renderAndAwaitForResponse` (backwards compatible, will be deprecated in the future)
|
|
2361
2354
|
- Improved scrolling behavior. It is now possible to scroll up during LLM response generation
|
|
@@ -2363,7 +2356,6 @@
|
|
|
2363
2356
|
- Updated interfaces for better developer ergonomics
|
|
2364
2357
|
|
|
2365
2358
|
CoAgents:
|
|
2366
|
-
|
|
2367
2359
|
- Renamed `remoteActions` to `remoteEndpoints` (backwards compatible, will be deprecated in the future)
|
|
2368
2360
|
- Support for LangGraph Platform in Remote Endpoints
|
|
2369
2361
|
- LangGraph JS Support for CoAgents (locally via `langgraph dev`, `langgraph up` or deployed to LangGraph Platform)
|
|
@@ -2371,7 +2363,6 @@
|
|
|
2371
2363
|
- Enhanced state management and message handling
|
|
2372
2364
|
|
|
2373
2365
|
CopilotKid Back-end SDK:
|
|
2374
|
-
|
|
2375
2366
|
- Released a whole-new `@copilotkit/sdk-js` for building agents with LangGraph JS Support
|
|
2376
2367
|
|
|
2377
2368
|
- 8d0144f: bump
|
|
@@ -2718,7 +2709,6 @@ CopilotKid Back-end SDK:
|
|
|
2718
2709
|
### Patch Changes
|
|
2719
2710
|
|
|
2720
2711
|
- inject minified css in bundle
|
|
2721
|
-
|
|
2722
2712
|
- removes the need to import `styles.css` manually
|
|
2723
2713
|
- empty `styles.css` included in the build for backwards compatibility
|
|
2724
2714
|
- uses tsup's `injectStyles` with `postcss` to bundle and minify the CSS, then inject it as a style tag
|
|
@@ -2855,7 +2845,6 @@ CopilotKid Back-end SDK:
|
|
|
2855
2845
|
### Major Changes
|
|
2856
2846
|
|
|
2857
2847
|
- b6a4b6eb: V1.0 Release Candidate
|
|
2858
|
-
|
|
2859
2848
|
- A robust new protocol between the frontend and the Copilot Runtime
|
|
2860
2849
|
- Support for Copilot Cloud
|
|
2861
2850
|
- Generative UI
|
|
@@ -2863,7 +2852,6 @@ CopilotKid Back-end SDK:
|
|
|
2863
2852
|
- OpenAI assistant API streaming
|
|
2864
2853
|
|
|
2865
2854
|
- V1.0 Release
|
|
2866
|
-
|
|
2867
2855
|
- A robust new protocol between the frontend and the Copilot Runtime
|
|
2868
2856
|
- Support for Copilot Cloud
|
|
2869
2857
|
- Generative UI
|
|
@@ -2901,7 +2889,6 @@ CopilotKid Back-end SDK:
|
|
|
2901
2889
|
### Major Changes
|
|
2902
2890
|
|
|
2903
2891
|
- V1.0 Release Candidate
|
|
2904
|
-
|
|
2905
2892
|
- A robust new protocol between the frontend and the Copilot Runtime
|
|
2906
2893
|
- Support for Copilot Cloud
|
|
2907
2894
|
- Generative UI
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Atai Barkai
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,8 @@ import { IterableReadableStream, IterableReadableStreamInterface } from '@langch
|
|
|
7
7
|
import { Groq } from 'groq-sdk';
|
|
8
8
|
import Anthropic from '@anthropic-ai/sdk';
|
|
9
9
|
import * as graphql from 'graphql';
|
|
10
|
-
import * as
|
|
10
|
+
import * as createPinoLogger from 'pino';
|
|
11
|
+
import createPinoLogger__default from 'pino';
|
|
11
12
|
import { YogaInitialContext, createYoga } from 'graphql-yoga';
|
|
12
13
|
import { CopilotRuntimeOptions, CopilotRuntime as CopilotRuntime$1, AgentRunner } from '@copilotkitnext/runtime';
|
|
13
14
|
import { AbstractAgent } from '@ag-ui/client';
|
|
@@ -1301,9 +1302,9 @@ type CopilotRuntimeLogger = ReturnType<typeof createLogger>;
|
|
|
1301
1302
|
declare function createLogger(options?: {
|
|
1302
1303
|
level?: LogLevel;
|
|
1303
1304
|
component?: string;
|
|
1304
|
-
}):
|
|
1305
|
+
}): createPinoLogger__default.Logger<never, boolean>;
|
|
1305
1306
|
|
|
1306
|
-
declare const logger:
|
|
1307
|
+
declare const logger: createPinoLogger.Logger<never, boolean>;
|
|
1307
1308
|
declare const addCustomHeaderPlugin: {
|
|
1308
1309
|
onResponse({ response }: {
|
|
1309
1310
|
response: any;
|
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.0-next.1",
|
|
76
76
|
sideEffects: false,
|
|
77
77
|
main: "./dist/index.js",
|
|
78
78
|
module: "./dist/index.mjs",
|
|
@@ -96,7 +96,7 @@ var require_package = __commonJS({
|
|
|
96
96
|
types: "./dist/index.d.ts",
|
|
97
97
|
license: "MIT",
|
|
98
98
|
scripts: {
|
|
99
|
-
build:
|
|
99
|
+
build: "pnpm run generate-graphql-schema && tsup",
|
|
100
100
|
dev: 'tsup --watch --onSuccess "pnpm run generate-graphql-schema"',
|
|
101
101
|
test: "jest --passWithNoTests",
|
|
102
102
|
"check-types": "tsc --noEmit",
|
|
@@ -106,6 +106,9 @@ 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:*",
|
|
109
112
|
"@jest/globals": "^29.7.0",
|
|
110
113
|
"@swc/core": "1.5.28",
|
|
111
114
|
"@types/jest": "^29.5.12",
|
|
@@ -123,12 +126,6 @@ var require_package = __commonJS({
|
|
|
123
126
|
vitest: "^3.2.4"
|
|
124
127
|
},
|
|
125
128
|
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": "0.0.33",
|
|
131
|
-
"@copilotkitnext/runtime": "0.0.33",
|
|
132
129
|
"@graphql-yoga/plugin-defer-stream": "^3.3.1",
|
|
133
130
|
"@hono/node-server": "^1.13.5",
|
|
134
131
|
"@scarf/scarf": "^1.3.0",
|
|
@@ -148,7 +145,13 @@ var require_package = __commonJS({
|
|
|
148
145
|
zod: "^3.23.3"
|
|
149
146
|
},
|
|
150
147
|
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
|
+
"@copilotkit/shared": "workspace:*",
|
|
153
|
+
"@copilotkitnext/agent": "workspace:*",
|
|
154
|
+
"@copilotkitnext/runtime": "workspace:*",
|
|
152
155
|
"@langchain/aws": ">=0.1.9",
|
|
153
156
|
"@langchain/core": ">=0.3.66",
|
|
154
157
|
"@langchain/community": ">=0.3.58",
|