@copilotkit/runtime 1.50.2-next.0 → 1.51.0-next.2
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 +16 -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 +14 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @copilotkit/runtime
|
|
2
2
|
|
|
3
|
+
## 1.51.0-next.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @copilotkit/shared@1.51.0-next.2
|
|
8
|
+
- @copilotkitnext/agent@1.51.0-next.2
|
|
9
|
+
- @copilotkitnext/runtime@1.51.0-next.2
|
|
10
|
+
|
|
11
|
+
## 1.51.0-next.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- @copilotkit/shared@1.51.0-next.1
|
|
16
|
+
- @copilotkitnext/agent@1.51.0-next.1
|
|
17
|
+
- @copilotkitnext/runtime@1.51.0-next.1
|
|
18
|
+
|
|
3
19
|
## 1.50.2-next.0
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -523,7 +539,6 @@
|
|
|
523
539
|
### Patch Changes
|
|
524
540
|
|
|
525
541
|
- 1abcecf: - fix: add graphqlContext to constructAGUIRemoteAction for enhanced agent properties
|
|
526
|
-
|
|
527
542
|
- Updated constructAGUIRemoteAction to accept graphqlContext, allowing forwarding of properties like Authorization token to the agent.
|
|
528
543
|
- Modified setupRemoteActions to include graphqlContext in the parameters.
|
|
529
544
|
|
|
@@ -625,7 +640,6 @@
|
|
|
625
640
|
### Patch Changes
|
|
626
641
|
|
|
627
642
|
- 1abcecf: - fix: add graphqlContext to constructAGUIRemoteAction for enhanced agent properties
|
|
628
|
-
|
|
629
643
|
- Updated constructAGUIRemoteAction to accept graphqlContext, allowing forwarding of properties like Authorization token to the agent.
|
|
630
644
|
- Modified setupRemoteActions to include graphqlContext in the parameters.
|
|
631
645
|
- @copilotkit/shared@1.10.0-next.1
|
|
@@ -693,7 +707,6 @@
|
|
|
693
707
|
- remove request logging
|
|
694
708
|
- 3a7f45f: - fix: resolve agui agents only after all other endpoints
|
|
695
709
|
- fac89c2: - refactor: rename onTrace to onError throughout codebase
|
|
696
|
-
|
|
697
710
|
- Rename CopilotTraceEvent to CopilotErrorEvent and CopilotTraceHandler to CopilotErrorHandler
|
|
698
711
|
|
|
699
712
|
- 7ca7023: - feat: send node name to agui agent
|
|
@@ -794,7 +807,6 @@
|
|
|
794
807
|
### Patch Changes
|
|
795
808
|
|
|
796
809
|
- fac89c2: - refactor: rename onTrace to onError throughout codebase
|
|
797
|
-
|
|
798
810
|
- Rename CopilotTraceEvent to CopilotErrorEvent and CopilotTraceHandler to CopilotErrorHandler
|
|
799
811
|
|
|
800
812
|
- Updated dependencies [fac89c2]
|
|
@@ -1276,11 +1288,9 @@
|
|
|
1276
1288
|
- c0d3261: - full AWP support
|
|
1277
1289
|
|
|
1278
1290
|
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
1279
|
-
|
|
1280
1291
|
- refactor: address linter issues with the new pages
|
|
1281
1292
|
|
|
1282
1293
|
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
1283
|
-
|
|
1284
1294
|
- Merge branch 'mme/acp' into mme/mastra
|
|
1285
1295
|
- add sse example
|
|
1286
1296
|
- Create small-turkeys-agree.md
|
|
@@ -1297,17 +1307,14 @@
|
|
|
1297
1307
|
- 77a7457: - feat: Add Model Context Protocol (MCP) support
|
|
1298
1308
|
- 76d9ef9: - fix: handle langgraph client specific errors when running lgc stream
|
|
1299
1309
|
- c0d3261: - add AWP support
|
|
1300
|
-
|
|
1301
1310
|
- make it work
|
|
1302
1311
|
- update docs
|
|
1303
1312
|
- refactor: move UI files to be normal NextJS pages and update generation
|
|
1304
1313
|
|
|
1305
1314
|
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
1306
|
-
|
|
1307
1315
|
- refactor: address linter issues with the new pages
|
|
1308
1316
|
|
|
1309
1317
|
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
1310
|
-
|
|
1311
1318
|
- Merge branch 'mme/acp' into mme/mastra
|
|
1312
1319
|
- add sse example
|
|
1313
1320
|
|
|
@@ -1321,11 +1328,9 @@
|
|
|
1321
1328
|
- c0d3261: - full AWP support
|
|
1322
1329
|
|
|
1323
1330
|
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
1324
|
-
|
|
1325
1331
|
- refactor: address linter issues with the new pages
|
|
1326
1332
|
|
|
1327
1333
|
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
1328
|
-
|
|
1329
1334
|
- Merge branch 'mme/acp' into mme/mastra
|
|
1330
1335
|
- add sse example
|
|
1331
1336
|
- Create small-turkeys-agree.md
|
|
@@ -1340,17 +1345,14 @@
|
|
|
1340
1345
|
- fix missing tool call ids
|
|
1341
1346
|
|
|
1342
1347
|
- c0d3261: - add AWP support
|
|
1343
|
-
|
|
1344
1348
|
- make it work
|
|
1345
1349
|
- update docs
|
|
1346
1350
|
- refactor: move UI files to be normal NextJS pages and update generation
|
|
1347
1351
|
|
|
1348
1352
|
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
1349
|
-
|
|
1350
1353
|
- refactor: address linter issues with the new pages
|
|
1351
1354
|
|
|
1352
1355
|
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
1353
|
-
|
|
1354
1356
|
- Merge branch 'mme/acp' into mme/mastra
|
|
1355
1357
|
- add sse example
|
|
1356
1358
|
- @copilotkit/shared@1.8.5-next.5
|
|
@@ -2355,7 +2357,6 @@
|
|
|
2355
2357
|
- e16d95e: New prerelease
|
|
2356
2358
|
- 1721cbd: Add convertActionsToDynamicStructuredTools to sdk-js
|
|
2357
2359
|
- CopilotKit Core:
|
|
2358
|
-
|
|
2359
2360
|
- Improved error messages and overall logs
|
|
2360
2361
|
- `useCopilotAction.renderAndAwait` renamed to `.renderAndAwaitForResponse` (backwards compatible, will be deprecated in the future)
|
|
2361
2362
|
- Improved scrolling behavior. It is now possible to scroll up during LLM response generation
|
|
@@ -2363,7 +2364,6 @@
|
|
|
2363
2364
|
- Updated interfaces for better developer ergonomics
|
|
2364
2365
|
|
|
2365
2366
|
CoAgents:
|
|
2366
|
-
|
|
2367
2367
|
- Renamed `remoteActions` to `remoteEndpoints` (backwards compatible, will be deprecated in the future)
|
|
2368
2368
|
- Support for LangGraph Platform in Remote Endpoints
|
|
2369
2369
|
- LangGraph JS Support for CoAgents (locally via `langgraph dev`, `langgraph up` or deployed to LangGraph Platform)
|
|
@@ -2371,7 +2371,6 @@
|
|
|
2371
2371
|
- Enhanced state management and message handling
|
|
2372
2372
|
|
|
2373
2373
|
CopilotKid Back-end SDK:
|
|
2374
|
-
|
|
2375
2374
|
- Released a whole-new `@copilotkit/sdk-js` for building agents with LangGraph JS Support
|
|
2376
2375
|
|
|
2377
2376
|
- 8d0144f: bump
|
|
@@ -2718,7 +2717,6 @@ CopilotKid Back-end SDK:
|
|
|
2718
2717
|
### Patch Changes
|
|
2719
2718
|
|
|
2720
2719
|
- inject minified css in bundle
|
|
2721
|
-
|
|
2722
2720
|
- removes the need to import `styles.css` manually
|
|
2723
2721
|
- empty `styles.css` included in the build for backwards compatibility
|
|
2724
2722
|
- uses tsup's `injectStyles` with `postcss` to bundle and minify the CSS, then inject it as a style tag
|
|
@@ -2855,7 +2853,6 @@ CopilotKid Back-end SDK:
|
|
|
2855
2853
|
### Major Changes
|
|
2856
2854
|
|
|
2857
2855
|
- b6a4b6eb: V1.0 Release Candidate
|
|
2858
|
-
|
|
2859
2856
|
- A robust new protocol between the frontend and the Copilot Runtime
|
|
2860
2857
|
- Support for Copilot Cloud
|
|
2861
2858
|
- Generative UI
|
|
@@ -2863,7 +2860,6 @@ CopilotKid Back-end SDK:
|
|
|
2863
2860
|
- OpenAI assistant API streaming
|
|
2864
2861
|
|
|
2865
2862
|
- V1.0 Release
|
|
2866
|
-
|
|
2867
2863
|
- A robust new protocol between the frontend and the Copilot Runtime
|
|
2868
2864
|
- Support for Copilot Cloud
|
|
2869
2865
|
- Generative UI
|
|
@@ -2901,7 +2897,6 @@ CopilotKid Back-end SDK:
|
|
|
2901
2897
|
### Major Changes
|
|
2902
2898
|
|
|
2903
2899
|
- V1.0 Release Candidate
|
|
2904
|
-
|
|
2905
2900
|
- A robust new protocol between the frontend and the Copilot Runtime
|
|
2906
2901
|
- Support for Copilot Cloud
|
|
2907
2902
|
- 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.2",
|
|
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",
|