@copilotkit/runtime 1.4.0-pre-1-4-0.12 → 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 +11 -0
- package/dist/{chunk-JFLWUR62.mjs → chunk-AQBZWBJD.mjs} +2 -2
- package/dist/{chunk-JFIBAURX.mjs → chunk-CBZV4PPM.mjs} +2 -2
- package/dist/{chunk-YZ3VKKSM.mjs → chunk-NKGWZWKJ.mjs} +18 -18
- package/dist/chunk-NKGWZWKJ.mjs.map +1 -0
- package/dist/{chunk-TZ7RGXQ6.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-YZ3VKKSM.mjs.map +0 -1
- /package/dist/{chunk-JFLWUR62.mjs.map → chunk-AQBZWBJD.mjs.map} +0 -0
- /package/dist/{chunk-JFIBAURX.mjs.map → chunk-CBZV4PPM.mjs.map} +0 -0
- /package/dist/{chunk-TZ7RGXQ6.mjs.map → chunk-P4EZLCB6.mjs.map} +0 -0
package/dist/lib/index.mjs
CHANGED
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
config,
|
|
4
4
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
5
5
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-AQBZWBJD.mjs";
|
|
7
7
|
import {
|
|
8
8
|
copilotRuntimeNestEndpoint
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-P4EZLCB6.mjs";
|
|
10
10
|
import {
|
|
11
11
|
copilotRuntimeNodeExpressEndpoint
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-CBZV4PPM.mjs";
|
|
13
13
|
import {
|
|
14
14
|
CopilotRuntime,
|
|
15
15
|
buildSchema,
|
|
@@ -18,9 +18,9 @@ import {
|
|
|
18
18
|
createContext,
|
|
19
19
|
flattenToolCallsNoDuplicates,
|
|
20
20
|
getCommonConfig,
|
|
21
|
-
|
|
21
|
+
langGraphPlatformEndpoint,
|
|
22
22
|
resolveEndpointType
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-NKGWZWKJ.mjs";
|
|
24
24
|
import {
|
|
25
25
|
GoogleGenerativeAIAdapter,
|
|
26
26
|
GroqAdapter,
|
|
@@ -52,7 +52,7 @@ export {
|
|
|
52
52
|
createContext,
|
|
53
53
|
flattenToolCallsNoDuplicates,
|
|
54
54
|
getCommonConfig,
|
|
55
|
-
|
|
55
|
+
langGraphPlatformEndpoint,
|
|
56
56
|
resolveEndpointType
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../copilot-runtime-
|
|
2
|
-
export { h as CommonConfig, b as CopilotRequestContextProperties, g as buildSchema, e as createContext, i as getCommonConfig } from '../../copilot-runtime-
|
|
1
|
+
import { d as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../copilot-runtime-d9ef5d8c.js';
|
|
2
|
+
export { h as CommonConfig, b as CopilotRequestContextProperties, g as buildSchema, e as createContext, i as getCommonConfig } from '../../copilot-runtime-d9ef5d8c.js';
|
|
3
3
|
import * as graphql_yoga from 'graphql-yoga';
|
|
4
4
|
import { YogaServerInstance } from 'graphql-yoga';
|
|
5
5
|
export { copilotRuntimeNodeHttpEndpoint } from './node-http/index.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",
|
|
@@ -1195,7 +1195,7 @@ var import_shared2 = require("@copilotkit/shared");
|
|
|
1195
1195
|
var EndpointType;
|
|
1196
1196
|
(function(EndpointType2) {
|
|
1197
1197
|
EndpointType2["CopilotKit"] = "copilotKit";
|
|
1198
|
-
EndpointType2["
|
|
1198
|
+
EndpointType2["LangGraphPlatform"] = "langgraph-platform";
|
|
1199
1199
|
})(EndpointType || (EndpointType = {}));
|
|
1200
1200
|
|
|
1201
1201
|
// src/lib/telemetry-client.ts
|
|
@@ -1259,7 +1259,7 @@ var import_rxjs = require("rxjs");
|
|
|
1259
1259
|
function resolveEndpointType(endpoint) {
|
|
1260
1260
|
if (!endpoint.type) {
|
|
1261
1261
|
if ("langsmithApiKey" in endpoint && "deploymentUrl" in endpoint && "agents" in endpoint) {
|
|
1262
|
-
return EndpointType.
|
|
1262
|
+
return EndpointType.LangGraphPlatform;
|
|
1263
1263
|
} else {
|
|
1264
1264
|
return EndpointType.CopilotKit;
|
|
1265
1265
|
}
|
|
@@ -1289,7 +1289,7 @@ function getRuntimeInstanceTelemetryInfo(runtime) {
|
|
|
1289
1289
|
]
|
|
1290
1290
|
};
|
|
1291
1291
|
}
|
|
1292
|
-
if (endpointType === EndpointType.
|
|
1292
|
+
if (endpointType === EndpointType.LangGraphPlatform) {
|
|
1293
1293
|
const ep = endpoint;
|
|
1294
1294
|
info = {
|
|
1295
1295
|
...info,
|