@copilotkit/runtime 1.6.0-next.10 → 1.6.0-next.12
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 +14 -0
- package/dist/{chunk-6XDMOAOM.mjs → chunk-AVJBY7JW.mjs} +2 -2
- package/dist/{chunk-5NJDGEB3.mjs → chunk-LMVBWFD2.mjs} +4 -4
- package/dist/chunk-LMVBWFD2.mjs.map +1 -0
- package/dist/{chunk-3ORZOFAL.mjs → chunk-P2DWSHH6.mjs} +2 -2
- package/dist/{chunk-JUWN34MZ.mjs → chunk-XTYC7SEW.mjs} +2 -2
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/lib/index.js +3 -3
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +4 -4
- package/dist/lib/integrations/index.js +3 -3
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +4 -4
- package/dist/lib/integrations/nest/index.js +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +1 -1
- package/src/lib/telemetry-client.ts +3 -1
- package/dist/chunk-5NJDGEB3.mjs.map +0 -1
- /package/dist/{chunk-6XDMOAOM.mjs.map → chunk-AVJBY7JW.mjs.map} +0 -0
- /package/dist/{chunk-3ORZOFAL.mjs.map → chunk-P2DWSHH6.mjs.map} +0 -0
- /package/dist/{chunk-JUWN34MZ.mjs.map → chunk-XTYC7SEW.mjs.map} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getCommonConfig,
|
|
3
3
|
getRuntimeInstanceTelemetryInfo,
|
|
4
4
|
telemetry_client_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LMVBWFD2.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-P2DWSHH6.mjs.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
copilotRuntimeNodeHttpEndpoint,
|
|
3
3
|
getRuntimeInstanceTelemetryInfo,
|
|
4
4
|
telemetry_client_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LMVBWFD2.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-XTYC7SEW.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.6.0-next.
|
|
47
|
+
version: "1.6.0-next.12",
|
|
48
48
|
sideEffects: false,
|
|
49
49
|
main: "./dist/index.js",
|
|
50
50
|
module: "./dist/index.mjs",
|
|
@@ -3478,7 +3478,7 @@ function getRuntimeInstanceTelemetryInfo(runtime) {
|
|
|
3478
3478
|
info = {
|
|
3479
3479
|
...info,
|
|
3480
3480
|
agentsAmount: ep.agents.length,
|
|
3481
|
-
hashedKey: (0, import_node_crypto3.createHash)("sha256").update(ep.langsmithApiKey).digest("hex")
|
|
3481
|
+
hashedKey: ep.langsmithApiKey ? (0, import_node_crypto3.createHash)("sha256").update(ep.langsmithApiKey).digest("hex") : null
|
|
3482
3482
|
};
|
|
3483
3483
|
}
|
|
3484
3484
|
return info;
|
|
@@ -4381,7 +4381,7 @@ function langGraphPlatformEndpoint(config2) {
|
|
|
4381
4381
|
__name(langGraphPlatformEndpoint, "langGraphPlatformEndpoint");
|
|
4382
4382
|
function resolveEndpointType(endpoint) {
|
|
4383
4383
|
if (!endpoint.type) {
|
|
4384
|
-
if ("
|
|
4384
|
+
if ("deploymentUrl" in endpoint && "agents" in endpoint) {
|
|
4385
4385
|
return EndpointType.LangGraphPlatform;
|
|
4386
4386
|
} else {
|
|
4387
4387
|
return EndpointType.CopilotKit;
|