@copilotkit/runtime 1.7.1 → 1.7.2-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 +7 -0
- package/dist/{chunk-UIQ6VQVO.mjs → chunk-5O7B3OFK.mjs} +2 -2
- package/dist/{chunk-I32ZVLQF.mjs → chunk-DUBBA5SG.mjs} +2 -2
- package/dist/{chunk-ZRT6C4KZ.mjs → chunk-VNHNOXCI.mjs} +2 -2
- package/dist/{chunk-IJGSJSXO.mjs → chunk-ZLGWN57Q.mjs} +5 -7
- package/dist/chunk-ZLGWN57Q.mjs.map +1 -0
- package/dist/index.js +4 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/lib/index.js +4 -6
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +4 -4
- 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 +7 -6
- package/dist/chunk-IJGSJSXO.mjs.map +0 -1
- /package/dist/{chunk-UIQ6VQVO.mjs.map → chunk-5O7B3OFK.mjs.map} +0 -0
- /package/dist/{chunk-I32ZVLQF.mjs.map → chunk-DUBBA5SG.mjs.map} +0 -0
- /package/dist/{chunk-ZRT6C4KZ.mjs.map → chunk-VNHNOXCI.mjs.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
copilotRuntimeNodeHttpEndpoint,
|
|
3
3
|
getRuntimeInstanceTelemetryInfo,
|
|
4
4
|
telemetry_client_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZLGWN57Q.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-5O7B3OFK.mjs.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getCommonConfig,
|
|
3
3
|
getRuntimeInstanceTelemetryInfo,
|
|
4
4
|
telemetry_client_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZLGWN57Q.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-DUBBA5SG.mjs.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
copilotRuntimeNodeHttpEndpoint,
|
|
3
3
|
getRuntimeInstanceTelemetryInfo,
|
|
4
4
|
telemetry_client_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZLGWN57Q.mjs";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-FHD4JECV.mjs";
|
|
@@ -22,4 +22,4 @@ __name(copilotRuntimeNodeExpressEndpoint, "copilotRuntimeNodeExpressEndpoint");
|
|
|
22
22
|
export {
|
|
23
23
|
copilotRuntimeNodeExpressEndpoint
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-VNHNOXCI.mjs.map
|
|
@@ -39,7 +39,7 @@ var require_package = __commonJS({
|
|
|
39
39
|
publishConfig: {
|
|
40
40
|
access: "public"
|
|
41
41
|
},
|
|
42
|
-
version: "1.7.
|
|
42
|
+
version: "1.7.2-next.0",
|
|
43
43
|
sideEffects: false,
|
|
44
44
|
main: "./dist/index.js",
|
|
45
45
|
module: "./dist/index.mjs",
|
|
@@ -2715,12 +2715,10 @@ var CopilotRuntime = class {
|
|
|
2715
2715
|
observability;
|
|
2716
2716
|
constructor(params) {
|
|
2717
2717
|
var _a, _b;
|
|
2718
|
-
if ((params == null ? void 0 : params.actions) && (params == null ? void 0 : params.remoteEndpoints)) {
|
|
2719
|
-
console.warn("Actions set in runtime instance will be
|
|
2720
|
-
this.actions = [];
|
|
2721
|
-
} else {
|
|
2722
|
-
this.actions = (params == null ? void 0 : params.actions) || [];
|
|
2718
|
+
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))) {
|
|
2719
|
+
console.warn("Actions set in runtime instance will not be available for the agent");
|
|
2723
2720
|
}
|
|
2721
|
+
this.actions = (params == null ? void 0 : params.actions) || [];
|
|
2724
2722
|
for (const chain of (params == null ? void 0 : params.langserve) || []) {
|
|
2725
2723
|
const remoteChain = new RemoteChain(chain);
|
|
2726
2724
|
this.langserve.push(remoteChain.toAction());
|
|
@@ -4557,4 +4555,4 @@ export {
|
|
|
4557
4555
|
getCommonConfig,
|
|
4558
4556
|
copilotRuntimeNodeHttpEndpoint
|
|
4559
4557
|
};
|
|
4560
|
-
//# sourceMappingURL=chunk-
|
|
4558
|
+
//# sourceMappingURL=chunk-ZLGWN57Q.mjs.map
|