@copilotkit/runtime 1.10.5 → 1.10.6-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 +12 -0
- package/dist/{chunk-YNXCTHGQ.mjs → chunk-3HW64RCD.mjs} +2 -2
- package/dist/{chunk-K7R7VY2Z.mjs → chunk-H4G4VD3K.mjs} +2 -2
- package/dist/{chunk-3HYI52HN.mjs → chunk-TNBVVCH2.mjs} +2 -2
- package/dist/{chunk-3XYGXZS5.mjs → chunk-UOUBTU5U.mjs} +7 -2
- package/dist/chunk-UOUBTU5U.mjs.map +1 -0
- package/dist/{chunk-IZH6C5MU.mjs → chunk-WI7QIZD6.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-YNXCTHGQ.mjs.map → chunk-3HW64RCD.mjs.map} +0 -0
- /package/dist/{chunk-K7R7VY2Z.mjs.map → chunk-H4G4VD3K.mjs.map} +0 -0
- /package/dist/{chunk-3HYI52HN.mjs.map → chunk-TNBVVCH2.mjs.map} +0 -0
- /package/dist/{chunk-IZH6C5MU.mjs.map → chunk-WI7QIZD6.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
CustomEventNames,
|
|
3
3
|
LangGraphAgent,
|
|
4
4
|
LangGraphHttpAgent
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-H4G4VD3K.mjs";
|
|
6
6
|
import {
|
|
7
7
|
config,
|
|
8
8
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
9
9
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TNBVVCH2.mjs";
|
|
11
11
|
import {
|
|
12
12
|
copilotRuntimeNestEndpoint
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3HW64RCD.mjs";
|
|
14
14
|
import {
|
|
15
15
|
copilotRuntimeNodeExpressEndpoint
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WI7QIZD6.mjs";
|
|
17
17
|
import {
|
|
18
18
|
CopilotRuntime,
|
|
19
19
|
addCustomHeaderPlugin,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
getCommonConfig,
|
|
30
30
|
langGraphPlatformEndpoint,
|
|
31
31
|
resolveEndpointType
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-UOUBTU5U.mjs";
|
|
33
33
|
import "./chunk-SHBDMA63.mjs";
|
|
34
34
|
import {
|
|
35
35
|
AnthropicAdapter,
|
package/dist/lib/index.js
CHANGED
|
@@ -44,7 +44,7 @@ var require_package = __commonJS({
|
|
|
44
44
|
publishConfig: {
|
|
45
45
|
access: "public"
|
|
46
46
|
},
|
|
47
|
-
version: "1.10.
|
|
47
|
+
version: "1.10.6-next.1",
|
|
48
48
|
sideEffects: false,
|
|
49
49
|
main: "./dist/index.js",
|
|
50
50
|
module: "./dist/index.mjs",
|
|
@@ -4354,6 +4354,11 @@ var CopilotRuntime = class {
|
|
|
4354
4354
|
// --- MCP Client Factory ---
|
|
4355
4355
|
constructor(params) {
|
|
4356
4356
|
var _a, _b, _c, _d;
|
|
4357
|
+
if ((params == null ? void 0 : params.remoteEndpoints) && (params == null ? void 0 : params.remoteEndpoints.some((e) => e.type === EndpointType.LangGraphPlatform))) {
|
|
4358
|
+
throw new import_shared15.CopilotKitMisuseError({
|
|
4359
|
+
message: "LangGraph Platform remote endpoints are deprecated in favor of the `agents` property. Refer to https://docs.copilotkit.ai/langgraph for more information."
|
|
4360
|
+
});
|
|
4361
|
+
}
|
|
4357
4362
|
if ((params == null ? void 0 : params.actions) && (params == null ? void 0 : params.remoteEndpoints) && (params == null ? void 0 : params.remoteEndpoints.some((e) => e.type === EndpointType.LangGraphPlatform))) {
|
|
4358
4363
|
console.warn("Actions set in runtime instance will not be available for the agent");
|
|
4359
4364
|
console.warn(`LangGraph Platform remote endpoints are deprecated in favor of the "agents" property`);
|