@copilotkit/runtime 1.4.0-pre-1-4-0-alpha.10 → 1.4.0-pre-1-4-0.13
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 +147 -24
- package/dist/{chunk-YUJSVJWS.mjs → chunk-AQBZWBJD.mjs} +2 -2
- package/dist/{chunk-SBWLAAB3.mjs → chunk-CBZV4PPM.mjs} +2 -2
- package/dist/{chunk-RDHJQVWH.mjs → chunk-NKGWZWKJ.mjs} +18 -18
- package/dist/chunk-NKGWZWKJ.mjs.map +1 -0
- package/dist/{chunk-SVL5LEKB.mjs → chunk-P4EZLCB6.mjs} +2 -2
- package/dist/{copilot-runtime-dbe5fa02.d.ts → copilot-runtime-d9ef5d8c.d.ts} +7 -7
- package/dist/index.d.ts +1 -1
- package/dist/index.js +19 -19
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.js +19 -19
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +6 -6
- package/dist/lib/integrations/index.d.ts +2 -2
- package/dist/lib/integrations/index.js +4 -4
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +4 -4
- package/dist/lib/integrations/nest/index.d.ts +1 -1
- package/dist/lib/integrations/nest/index.js +4 -4
- 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.d.ts +1 -1
- package/dist/lib/integrations/node-express/index.js +4 -4
- 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.d.ts +1 -1
- package/dist/lib/integrations/node-http/index.js +4 -4
- package/dist/lib/integrations/node-http/index.js.map +1 -1
- package/dist/lib/integrations/node-http/index.mjs +1 -1
- package/package.json +4 -4
- package/src/agents/langgraph/event-source.ts +2 -2
- package/src/lib/runtime/copilot-runtime.ts +6 -6
- package/src/lib/runtime/remote-action-constructors.ts +7 -7
- package/src/lib/runtime/remote-actions.ts +9 -9
- package/src/lib/runtime/{remote-lg-cloud-action.ts → remote-lg-action.ts} +18 -18
- package/src/lib/telemetry-client.ts +3 -3
- package/dist/chunk-RDHJQVWH.mjs.map +0 -1
- /package/dist/{chunk-YUJSVJWS.mjs.map → chunk-AQBZWBJD.mjs.map} +0 -0
- /package/dist/{chunk-SBWLAAB3.mjs.map → chunk-CBZV4PPM.mjs.map} +0 -0
- /package/dist/{chunk-SVL5LEKB.mjs.map → chunk-P4EZLCB6.mjs.map} +0 -0
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
config,
|
|
3
3
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
4
4
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-AQBZWBJD.mjs";
|
|
6
6
|
import {
|
|
7
7
|
copilotRuntimeNestEndpoint
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-P4EZLCB6.mjs";
|
|
9
9
|
import {
|
|
10
10
|
copilotRuntimeNodeExpressEndpoint
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-CBZV4PPM.mjs";
|
|
12
12
|
import {
|
|
13
13
|
buildSchema,
|
|
14
14
|
copilotRuntimeNodeHttpEndpoint,
|
|
15
15
|
createContext,
|
|
16
16
|
getCommonConfig
|
|
17
|
-
} from "../../chunk-
|
|
17
|
+
} from "../../chunk-NKGWZWKJ.mjs";
|
|
18
18
|
import "../../chunk-56IQ6PGC.mjs";
|
|
19
19
|
import "../../chunk-U3V2BCGI.mjs";
|
|
20
20
|
import "../../chunk-B74M7FXG.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as graphql_yoga from 'graphql-yoga';
|
|
2
|
-
import { d as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../../copilot-runtime-
|
|
2
|
+
import { d as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../../copilot-runtime-d9ef5d8c.js';
|
|
3
3
|
import '@copilotkit/shared';
|
|
4
4
|
import '../../../langserve-878c62b9.js';
|
|
5
5
|
import '../../../index-83ee522f.js';
|
|
@@ -44,7 +44,7 @@ var require_package = __commonJS({
|
|
|
44
44
|
publishConfig: {
|
|
45
45
|
access: "public"
|
|
46
46
|
},
|
|
47
|
-
version: "1.4.0-pre-1-4-0
|
|
47
|
+
version: "1.4.0-pre-1-4-0.13",
|
|
48
48
|
sideEffects: false,
|
|
49
49
|
main: "./dist/index.js",
|
|
50
50
|
module: "./dist/index.mjs",
|
|
@@ -1190,7 +1190,7 @@ var import_shared2 = require("@copilotkit/shared");
|
|
|
1190
1190
|
var EndpointType;
|
|
1191
1191
|
(function(EndpointType2) {
|
|
1192
1192
|
EndpointType2["CopilotKit"] = "copilotKit";
|
|
1193
|
-
EndpointType2["
|
|
1193
|
+
EndpointType2["LangGraphPlatform"] = "langgraph-platform";
|
|
1194
1194
|
})(EndpointType || (EndpointType = {}));
|
|
1195
1195
|
|
|
1196
1196
|
// src/lib/telemetry-client.ts
|
|
@@ -1254,7 +1254,7 @@ var import_rxjs = require("rxjs");
|
|
|
1254
1254
|
function resolveEndpointType(endpoint) {
|
|
1255
1255
|
if (!endpoint.type) {
|
|
1256
1256
|
if ("langsmithApiKey" in endpoint && "deploymentUrl" in endpoint && "agents" in endpoint) {
|
|
1257
|
-
return EndpointType.
|
|
1257
|
+
return EndpointType.LangGraphPlatform;
|
|
1258
1258
|
} else {
|
|
1259
1259
|
return EndpointType.CopilotKit;
|
|
1260
1260
|
}
|
|
@@ -1284,7 +1284,7 @@ function getRuntimeInstanceTelemetryInfo(runtime) {
|
|
|
1284
1284
|
]
|
|
1285
1285
|
};
|
|
1286
1286
|
}
|
|
1287
|
-
if (endpointType === EndpointType.
|
|
1287
|
+
if (endpointType === EndpointType.LangGraphPlatform) {
|
|
1288
1288
|
const ep = endpoint;
|
|
1289
1289
|
info = {
|
|
1290
1290
|
...info,
|