@copilotkit/runtime 1.10.5 → 1.10.6-next.0
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 +6 -0
- package/dist/{chunk-IZH6C5MU.mjs → chunk-AKEOTXG4.mjs} +2 -2
- package/dist/{chunk-K7R7VY2Z.mjs → chunk-EOLMJ543.mjs} +2 -2
- package/dist/{chunk-3XYGXZS5.mjs → chunk-FW5SFRVD.mjs} +7 -2
- package/dist/chunk-FW5SFRVD.mjs.map +1 -0
- package/dist/{chunk-YNXCTHGQ.mjs → chunk-IRCY5TM5.mjs} +2 -2
- package/dist/{chunk-3HYI52HN.mjs → chunk-UK4SWNXI.mjs} +2 -2
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/lib/index.js +6 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +5 -5
- package/dist/lib/integrations/index.js +1 -1
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +4 -4
- package/dist/lib/integrations/nest/index.js +1 -1
- package/dist/lib/integrations/nest/index.js.map +1 -1
- package/dist/lib/integrations/nest/index.mjs +2 -2
- package/dist/lib/integrations/node-express/index.js +1 -1
- package/dist/lib/integrations/node-express/index.js.map +1 -1
- package/dist/lib/integrations/node-express/index.mjs +2 -2
- package/dist/lib/integrations/node-http/index.js +1 -1
- package/dist/lib/integrations/node-http/index.js.map +1 -1
- package/dist/lib/integrations/node-http/index.mjs +1 -1
- package/package.json +2 -2
- package/src/lib/runtime/copilot-runtime.ts +10 -0
- package/dist/chunk-3XYGXZS5.mjs.map +0 -1
- /package/dist/{chunk-IZH6C5MU.mjs.map → chunk-AKEOTXG4.mjs.map} +0 -0
- /package/dist/{chunk-K7R7VY2Z.mjs.map → chunk-EOLMJ543.mjs.map} +0 -0
- /package/dist/{chunk-YNXCTHGQ.mjs.map → chunk-IRCY5TM5.mjs.map} +0 -0
- /package/dist/{chunk-3HYI52HN.mjs.map → chunk-UK4SWNXI.mjs.map} +0 -0
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
|
-
"version": "1.10.
|
|
12
|
+
"version": "1.10.6-next.0",
|
|
13
13
|
"sideEffects": false,
|
|
14
14
|
"main": "./dist/index.js",
|
|
15
15
|
"module": "./dist/index.mjs",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"rxjs": "7.8.1",
|
|
68
68
|
"type-graphql": "2.0.0-rc.1",
|
|
69
69
|
"zod": "^3.23.3",
|
|
70
|
-
"@copilotkit/shared": "1.10.
|
|
70
|
+
"@copilotkit/shared": "1.10.6-next.0"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"@ag-ui/client": ">=0.0.39",
|
|
@@ -338,6 +338,16 @@ export class CopilotRuntime<const T extends Parameter[] | [] = []> {
|
|
|
338
338
|
// --- MCP Client Factory ---
|
|
339
339
|
|
|
340
340
|
constructor(params?: CopilotRuntimeConstructorParams<T>) {
|
|
341
|
+
if (
|
|
342
|
+
params?.remoteEndpoints &&
|
|
343
|
+
params?.remoteEndpoints.some((e) => e.type === EndpointType.LangGraphPlatform)
|
|
344
|
+
) {
|
|
345
|
+
throw new CopilotKitMisuseError({
|
|
346
|
+
message:
|
|
347
|
+
"LangGraph Platform remote endpoints are deprecated in favor of the `agents` property. Refer to https://docs.copilotkit.ai/langgraph for more information.",
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
|
|
341
351
|
if (
|
|
342
352
|
params?.actions &&
|
|
343
353
|
params?.remoteEndpoints &&
|