@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
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
|
-
"version": "1.6.0-next.
|
|
12
|
+
"version": "1.6.0-next.12",
|
|
13
13
|
"sideEffects": false,
|
|
14
14
|
"main": "./dist/index.js",
|
|
15
15
|
"module": "./dist/index.mjs",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"rxjs": "^7.8.1",
|
|
60
60
|
"type-graphql": "2.0.0-rc.1",
|
|
61
61
|
"zod": "^3.23.3",
|
|
62
|
-
"@copilotkit/shared": "1.6.0-next.
|
|
62
|
+
"@copilotkit/shared": "1.6.0-next.12"
|
|
63
63
|
},
|
|
64
64
|
"keywords": [
|
|
65
65
|
"copilotkit",
|
|
@@ -657,7 +657,7 @@ export function langGraphPlatformEndpoint(
|
|
|
657
657
|
|
|
658
658
|
export function resolveEndpointType(endpoint: EndpointDefinition) {
|
|
659
659
|
if (!endpoint.type) {
|
|
660
|
-
if ("
|
|
660
|
+
if ("deploymentUrl" in endpoint && "agents" in endpoint) {
|
|
661
661
|
return EndpointType.LangGraphPlatform;
|
|
662
662
|
} else {
|
|
663
663
|
return EndpointType.CopilotKit;
|
|
@@ -31,7 +31,9 @@ export function getRuntimeInstanceTelemetryInfo(
|
|
|
31
31
|
info = {
|
|
32
32
|
...info,
|
|
33
33
|
agentsAmount: ep.agents.length,
|
|
34
|
-
hashedKey:
|
|
34
|
+
hashedKey: ep.langsmithApiKey
|
|
35
|
+
? createHash("sha256").update(ep.langsmithApiKey).digest("hex")
|
|
36
|
+
: null,
|
|
35
37
|
};
|
|
36
38
|
}
|
|
37
39
|
|