@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
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
copilotRuntimeNodeHttpEndpoint,
|
|
3
3
|
getRuntimeInstanceTelemetryInfo,
|
|
4
4
|
telemetry_client_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FW5SFRVD.mjs";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-FHD4JECV.mjs";
|
|
@@ -22,4 +22,4 @@ __name(copilotRuntimeNestEndpoint, "copilotRuntimeNestEndpoint");
|
|
|
22
22
|
export {
|
|
23
23
|
copilotRuntimeNestEndpoint
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-IRCY5TM5.mjs.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getCommonConfig,
|
|
3
3
|
getRuntimeInstanceTelemetryInfo,
|
|
4
4
|
telemetry_client_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FW5SFRVD.mjs";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-FHD4JECV.mjs";
|
|
@@ -77,4 +77,4 @@ export {
|
|
|
77
77
|
config,
|
|
78
78
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-UK4SWNXI.mjs.map
|
package/dist/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.0",
|
|
48
48
|
sideEffects: false,
|
|
49
49
|
main: "./dist/index.js",
|
|
50
50
|
module: "./dist/index.mjs",
|
|
@@ -4868,6 +4868,11 @@ var CopilotRuntime = class {
|
|
|
4868
4868
|
// --- MCP Client Factory ---
|
|
4869
4869
|
constructor(params) {
|
|
4870
4870
|
var _a, _b, _c, _d;
|
|
4871
|
+
if ((params == null ? void 0 : params.remoteEndpoints) && (params == null ? void 0 : params.remoteEndpoints.some((e) => e.type === EndpointType.LangGraphPlatform))) {
|
|
4872
|
+
throw new import_shared18.CopilotKitMisuseError({
|
|
4873
|
+
message: "LangGraph Platform remote endpoints are deprecated in favor of the `agents` property. Refer to https://docs.copilotkit.ai/langgraph for more information."
|
|
4874
|
+
});
|
|
4875
|
+
}
|
|
4871
4876
|
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))) {
|
|
4872
4877
|
console.warn("Actions set in runtime instance will not be available for the agent");
|
|
4873
4878
|
console.warn(`LangGraph Platform remote endpoints are deprecated in favor of the "agents" property`);
|