@copilotkit/runtime 1.8.15-next.0 → 1.9.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 +20 -0
- package/dist/{chunk-M6Z4CLI6.mjs → chunk-6A27R7IP.mjs} +6 -3
- package/dist/chunk-6A27R7IP.mjs.map +1 -0
- package/dist/{chunk-272XZVAS.mjs → chunk-G4NOAQUA.mjs} +2 -2
- package/dist/{chunk-GEZX4PJT.mjs → chunk-IIXJVVTV.mjs} +23 -1
- package/dist/chunk-IIXJVVTV.mjs.map +1 -0
- package/dist/{chunk-OGEL67NA.mjs → chunk-S5TNKSNR.mjs} +2 -2
- package/dist/chunk-XB3TW5NJ.mjs +141 -0
- package/dist/chunk-XB3TW5NJ.mjs.map +1 -0
- package/dist/{chunk-MXITD3JG.mjs → chunk-XPTVSVNM.mjs} +2 -2
- package/dist/index.d.ts +4 -1
- package/dist/index.js +164 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -6
- package/dist/index.mjs.map +1 -1
- package/dist/lib/index.d.ts +154 -2
- package/dist/lib/index.js +141 -6
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +11 -6
- package/dist/lib/integrations/index.js +3 -1
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +5 -5
- package/dist/lib/integrations/nest/index.js +3 -1
- package/dist/lib/integrations/nest/index.js.map +1 -1
- package/dist/lib/integrations/nest/index.mjs +3 -3
- package/dist/lib/integrations/node-express/index.js +3 -1
- package/dist/lib/integrations/node-express/index.js.map +1 -1
- package/dist/lib/integrations/node-express/index.mjs +3 -3
- package/dist/lib/integrations/node-http/index.js +3 -1
- package/dist/lib/integrations/node-http/index.js.map +1 -1
- package/dist/lib/integrations/node-http/index.mjs +2 -2
- package/dist/service-adapters/index.d.ts +47 -2
- package/dist/service-adapters/index.js +23 -0
- package/dist/service-adapters/index.js.map +1 -1
- package/dist/service-adapters/index.mjs +3 -1
- package/package.json +4 -2
- package/src/lib/index.ts +1 -0
- package/src/lib/runtime/langgraph/langgraph-agent.ts +190 -0
- package/src/service-adapters/bedrock/bedrock-adapter.ts +65 -0
- package/src/service-adapters/index.ts +1 -0
- package/dist/chunk-GEZX4PJT.mjs.map +0 -1
- package/dist/chunk-M6Z4CLI6.mjs.map +0 -1
- package/dist/chunk-Q6JA6YY3.mjs +0 -1
- package/dist/chunk-Q6JA6YY3.mjs.map +0 -1
- /package/dist/{chunk-272XZVAS.mjs.map → chunk-G4NOAQUA.mjs.map} +0 -0
- /package/dist/{chunk-OGEL67NA.mjs.map → chunk-S5TNKSNR.mjs.map} +0 -0
- /package/dist/{chunk-MXITD3JG.mjs.map → chunk-XPTVSVNM.mjs.map} +0 -0
package/dist/lib/index.mjs
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import
|
|
1
|
+
import {
|
|
2
|
+
CustomEventNames,
|
|
3
|
+
LangGraphAgent
|
|
4
|
+
} from "../chunk-XB3TW5NJ.mjs";
|
|
2
5
|
import {
|
|
3
6
|
config,
|
|
4
7
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
5
8
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
6
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-G4NOAQUA.mjs";
|
|
7
10
|
import {
|
|
8
11
|
copilotRuntimeNestEndpoint
|
|
9
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-XPTVSVNM.mjs";
|
|
10
13
|
import {
|
|
11
14
|
copilotRuntimeNodeExpressEndpoint
|
|
12
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-S5TNKSNR.mjs";
|
|
13
16
|
import {
|
|
14
17
|
CopilotRuntime,
|
|
15
18
|
addCustomHeaderPlugin,
|
|
@@ -25,7 +28,7 @@ import {
|
|
|
25
28
|
getCommonConfig,
|
|
26
29
|
langGraphPlatformEndpoint,
|
|
27
30
|
resolveEndpointType
|
|
28
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-6A27R7IP.mjs";
|
|
29
32
|
import {
|
|
30
33
|
GoogleGenerativeAIAdapter,
|
|
31
34
|
GroqAdapter,
|
|
@@ -33,16 +36,18 @@ import {
|
|
|
33
36
|
OpenAIAdapter,
|
|
34
37
|
OpenAIAssistantAdapter,
|
|
35
38
|
UnifyAdapter
|
|
36
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-IIXJVVTV.mjs";
|
|
37
40
|
import "../chunk-5BIEM2UU.mjs";
|
|
38
41
|
import "../chunk-SHBDMA63.mjs";
|
|
39
42
|
import "../chunk-2OZAGFV3.mjs";
|
|
40
43
|
import "../chunk-FHD4JECV.mjs";
|
|
41
44
|
export {
|
|
42
45
|
CopilotRuntime,
|
|
46
|
+
CustomEventNames,
|
|
43
47
|
GoogleGenerativeAIAdapter,
|
|
44
48
|
GroqAdapter,
|
|
45
49
|
LangChainAdapter,
|
|
50
|
+
LangGraphAgent,
|
|
46
51
|
OpenAIAdapter,
|
|
47
52
|
OpenAIAssistantAdapter,
|
|
48
53
|
UnifyAdapter,
|
|
@@ -44,7 +44,7 @@ var require_package = __commonJS({
|
|
|
44
44
|
publishConfig: {
|
|
45
45
|
access: "public"
|
|
46
46
|
},
|
|
47
|
-
version: "1.
|
|
47
|
+
version: "1.9.0-next.2",
|
|
48
48
|
sideEffects: false,
|
|
49
49
|
main: "./dist/index.js",
|
|
50
50
|
module: "./dist/index.mjs",
|
|
@@ -85,10 +85,12 @@ var require_package = __commonJS({
|
|
|
85
85
|
"@ag-ui/client": "0.0.28",
|
|
86
86
|
"@ag-ui/core": "0.0.28",
|
|
87
87
|
"@ag-ui/encoder": "0.0.28",
|
|
88
|
+
"@ag-ui/langgraph": "0.0.3",
|
|
88
89
|
"@ag-ui/proto": "0.0.28",
|
|
89
90
|
"@anthropic-ai/sdk": "^0.27.3",
|
|
90
91
|
"@copilotkit/shared": "workspace:*",
|
|
91
92
|
"@graphql-yoga/plugin-defer-stream": "^3.3.1",
|
|
93
|
+
"@langchain/aws": "^0.1.9",
|
|
92
94
|
"@langchain/community": "^0.3.29",
|
|
93
95
|
"@langchain/core": "^0.3.38",
|
|
94
96
|
"@langchain/google-gauth": "^0.1.0",
|