@copilotkit/runtime 1.3.11 → 1.3.12-feat-langgraph-cloud-release-alpha.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 +8 -0
- package/dist/{chunk-REA4Z4VP.mjs → chunk-6A7HQSQE.mjs} +2 -2
- package/dist/{chunk-ZSMR26MX.mjs → chunk-BPLF4QB2.mjs} +2 -2
- package/dist/{chunk-BYL3ABWM.mjs → chunk-IPCABAGS.mjs} +2 -2
- package/dist/{chunk-AP2CCJ3J.mjs → chunk-RKGJG3QX.mjs} +552 -122
- package/dist/chunk-RKGJG3QX.mjs.map +1 -0
- package/dist/{chunk-ZUQH5YKI.mjs → chunk-Z5LICW7Z.mjs} +35 -8
- package/dist/chunk-Z5LICW7Z.mjs.map +1 -0
- package/dist/{copilot-runtime-df3527ad.d.ts → copilot-runtime-aba7d4b4.d.ts} +27 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +625 -168
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -7
- package/dist/index.mjs.map +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.js +625 -168
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +11 -7
- package/dist/lib/integrations/index.d.ts +2 -2
- package/dist/lib/integrations/index.js +3 -1
- 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 +3 -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.d.ts +1 -1
- package/dist/lib/integrations/node-express/index.js +3 -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.d.ts +1 -1
- package/dist/lib/integrations/node-http/index.js +3 -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 +6 -4
- package/src/agents/langgraph/event-source.ts +22 -67
- package/src/lib/runtime/copilot-runtime.ts +58 -11
- package/src/lib/runtime/remote-action-constructors.ts +281 -0
- package/src/lib/runtime/remote-actions.ts +65 -159
- package/src/lib/runtime/remote-lg-cloud-action.ts +438 -0
- package/dist/chunk-AP2CCJ3J.mjs.map +0 -1
- package/dist/chunk-ZUQH5YKI.mjs.map +0 -1
- /package/dist/{chunk-REA4Z4VP.mjs.map → chunk-6A7HQSQE.mjs.map} +0 -0
- /package/dist/{chunk-ZSMR26MX.mjs.map → chunk-BPLF4QB2.mjs.map} +0 -0
- /package/dist/{chunk-BYL3ABWM.mjs.map → chunk-IPCABAGS.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopilotRuntime,
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
copilotKitEndpoint,
|
|
4
|
+
flattenToolCallsNoDuplicates,
|
|
5
|
+
langGraphCloudEndpoint
|
|
6
|
+
} from "./chunk-Z5LICW7Z.mjs";
|
|
5
7
|
import {
|
|
6
8
|
AnthropicAdapter,
|
|
7
9
|
GoogleGenerativeAIAdapter,
|
|
@@ -16,19 +18,19 @@ import {
|
|
|
16
18
|
config,
|
|
17
19
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
18
20
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
19
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-IPCABAGS.mjs";
|
|
20
22
|
import {
|
|
21
23
|
copilotRuntimeNestEndpoint
|
|
22
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-BPLF4QB2.mjs";
|
|
23
25
|
import {
|
|
24
26
|
copilotRuntimeNodeExpressEndpoint
|
|
25
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-6A7HQSQE.mjs";
|
|
26
28
|
import {
|
|
27
29
|
buildSchema,
|
|
28
30
|
copilotRuntimeNodeHttpEndpoint,
|
|
29
31
|
createContext,
|
|
30
32
|
getCommonConfig
|
|
31
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-RKGJG3QX.mjs";
|
|
32
34
|
import "./chunk-V7SK6QZN.mjs";
|
|
33
35
|
import {
|
|
34
36
|
GuardrailsValidationFailureResponse,
|
|
@@ -56,6 +58,7 @@ export {
|
|
|
56
58
|
UnknownErrorResponse,
|
|
57
59
|
buildSchema,
|
|
58
60
|
config,
|
|
61
|
+
copilotKitEndpoint,
|
|
59
62
|
copilotRuntimeNestEndpoint,
|
|
60
63
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
61
64
|
copilotRuntimeNextJSPagesRouterEndpoint,
|
|
@@ -63,6 +66,7 @@ export {
|
|
|
63
66
|
copilotRuntimeNodeHttpEndpoint,
|
|
64
67
|
createContext,
|
|
65
68
|
flattenToolCallsNoDuplicates,
|
|
66
|
-
getCommonConfig
|
|
69
|
+
getCommonConfig,
|
|
70
|
+
langGraphCloudEndpoint
|
|
67
71
|
};
|
|
68
72
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import \"reflect-metadata\";\nexport * from \"./lib\";\nexport * from \"./utils\";\nexport * from \"./service-adapters\";\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import \"reflect-metadata\";\nexport * from \"./lib\";\nexport * from \"./utils\";\nexport * from \"./service-adapters\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO;","names":[]}
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { h as CommonConfig, b as CopilotRequestContextProperties, a as CopilotRuntime, C as CopilotRuntimeConstructorParams, d as CreateCopilotRuntimeServerOptions, G as GraphQLContext, g as buildSchema, c as copilotKitEndpoint, e as createContext, f as flattenToolCallsNoDuplicates, i as getCommonConfig, l as langGraphCloudEndpoint } from '../copilot-runtime-aba7d4b4.js';
|
|
2
2
|
export { G as GoogleGenerativeAIAdapter, f as GroqAdapter, e as GroqAdapterParams, L as LangChainAdapter, a as OpenAIAdapter, O as OpenAIAdapterParams, c as OpenAIAssistantAdapter, b as OpenAIAssistantAdapterParams, d as UnifyAdapter, U as UnifyAdapterParams } from '../groq-adapter-b122e71f.js';
|
|
3
3
|
export { CopilotRuntimeServerInstance, config, copilotRuntimeNextJSAppRouterEndpoint, copilotRuntimeNextJSPagesRouterEndpoint } from './integrations/index.js';
|
|
4
4
|
export { copilotRuntimeNodeHttpEndpoint } from './integrations/node-http/index.js';
|