@copilotkit/runtime 1.3.16-mme-reset-chat.3 → 1.4.0-feat-langgraph-cloud.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 +4 -25
- package/__snapshots__/schema/schema.graphql +1 -0
- package/dist/{chunk-JCKX6XUV.mjs → chunk-AEUECXAW.mjs} +675 -151
- package/dist/chunk-AEUECXAW.mjs.map +1 -0
- package/dist/{chunk-MYZHUCL6.mjs → chunk-B74M7FXG.mjs} +1 -1
- package/dist/chunk-B74M7FXG.mjs.map +1 -0
- package/dist/{chunk-PQQNLA6C.mjs → chunk-BLB2XDIL.mjs} +2 -2
- package/dist/{chunk-7ADMUSBN.mjs → chunk-DP7YGMSZ.mjs} +37 -10
- package/dist/chunk-DP7YGMSZ.mjs.map +1 -0
- package/dist/{chunk-NHVRGUZ6.mjs → chunk-ITCPKBTK.mjs} +2 -2
- package/dist/{chunk-SMVZ2NQP.mjs → chunk-VGYN7TGZ.mjs} +19 -29
- package/dist/{chunk-SMVZ2NQP.mjs.map → chunk-VGYN7TGZ.mjs.map} +1 -1
- package/dist/{chunk-PNSKIPTP.mjs → chunk-WQFBGT3B.mjs} +2 -2
- package/dist/{copilot-runtime-df3527ad.d.ts → copilot-runtime-543a59ae.d.ts} +29 -7
- package/dist/graphql/types/converted/index.d.ts +1 -1
- package/dist/graphql/types/converted/index.js.map +1 -1
- package/dist/graphql/types/converted/index.mjs +1 -1
- package/dist/{groq-adapter-b122e71f.d.ts → groq-adapter-7aa25931.d.ts} +4 -2
- package/dist/{index-cff31380.d.ts → index-83ee522f.d.ts} +3 -2
- package/dist/index.d.ts +4 -4
- package/dist/index.js +765 -224
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -9
- package/dist/index.mjs.map +1 -1
- package/dist/{langserve-a14a6849.d.ts → langserve-f00629d2.d.ts} +1 -1
- package/dist/lib/index.d.ts +4 -4
- package/dist/lib/index.js +765 -224
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +13 -9
- package/dist/lib/integrations/index.d.ts +4 -4
- package/dist/lib/integrations/index.js +4 -1
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +5 -5
- package/dist/lib/integrations/nest/index.d.ts +3 -3
- package/dist/lib/integrations/nest/index.js +4 -1
- package/dist/lib/integrations/nest/index.js.map +1 -1
- package/dist/lib/integrations/nest/index.mjs +3 -3
- package/dist/lib/integrations/node-express/index.d.ts +3 -3
- package/dist/lib/integrations/node-express/index.js +4 -1
- package/dist/lib/integrations/node-express/index.js.map +1 -1
- package/dist/lib/integrations/node-express/index.mjs +3 -3
- package/dist/lib/integrations/node-http/index.d.ts +3 -3
- package/dist/lib/integrations/node-http/index.js +4 -1
- package/dist/lib/integrations/node-http/index.js.map +1 -1
- package/dist/lib/integrations/node-http/index.mjs +2 -2
- package/dist/service-adapters/index.d.ts +4 -4
- package/dist/service-adapters/index.js +18 -28
- package/dist/service-adapters/index.js.map +1 -1
- package/dist/service-adapters/index.mjs +1 -1
- package/package.json +6 -4
- package/src/agents/langgraph/event-source.ts +62 -94
- package/src/agents/langgraph/events.ts +27 -17
- package/src/graphql/types/converted/index.ts +5 -1
- package/src/graphql/types/enums.ts +1 -0
- package/src/lib/runtime/copilot-runtime.ts +58 -11
- package/src/lib/runtime/remote-action-constructors.ts +284 -0
- package/src/lib/runtime/remote-actions.ts +65 -159
- package/src/lib/runtime/remote-lg-cloud-action.ts +613 -0
- package/src/service-adapters/google/google-genai-adapter.ts +2 -2
- package/src/service-adapters/langchain/langchain-adapter.ts +19 -23
- package/dist/chunk-7ADMUSBN.mjs.map +0 -1
- package/dist/chunk-JCKX6XUV.mjs.map +0 -1
- package/dist/chunk-MYZHUCL6.mjs.map +0 -1
- /package/dist/{chunk-PQQNLA6C.mjs.map → chunk-BLB2XDIL.mjs.map} +0 -0
- /package/dist/{chunk-NHVRGUZ6.mjs.map → chunk-ITCPKBTK.mjs.map} +0 -0
- /package/dist/{chunk-PNSKIPTP.mjs.map → chunk-WQFBGT3B.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-DP7YGMSZ.mjs";
|
|
5
7
|
import {
|
|
6
8
|
AnthropicAdapter,
|
|
7
9
|
GoogleGenerativeAIAdapter,
|
|
@@ -11,31 +13,31 @@ import {
|
|
|
11
13
|
OpenAIAssistantAdapter,
|
|
12
14
|
RemoteChain,
|
|
13
15
|
UnifyAdapter
|
|
14
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VGYN7TGZ.mjs";
|
|
15
17
|
import {
|
|
16
18
|
config,
|
|
17
19
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
18
20
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
19
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ITCPKBTK.mjs";
|
|
20
22
|
import {
|
|
21
23
|
copilotRuntimeNestEndpoint
|
|
22
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-BLB2XDIL.mjs";
|
|
23
25
|
import {
|
|
24
26
|
copilotRuntimeNodeExpressEndpoint
|
|
25
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-WQFBGT3B.mjs";
|
|
26
28
|
import {
|
|
27
29
|
buildSchema,
|
|
28
30
|
copilotRuntimeNodeHttpEndpoint,
|
|
29
31
|
createContext,
|
|
30
32
|
getCommonConfig
|
|
31
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-AEUECXAW.mjs";
|
|
32
34
|
import "./chunk-MXXPWWBF.mjs";
|
|
33
35
|
import {
|
|
34
36
|
GuardrailsValidationFailureResponse,
|
|
35
37
|
MessageStreamInterruptedResponse,
|
|
36
38
|
UnknownErrorResponse
|
|
37
39
|
} from "./chunk-U3V2BCGI.mjs";
|
|
38
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-B74M7FXG.mjs";
|
|
39
41
|
import "./chunk-D2WLFQS6.mjs";
|
|
40
42
|
import "./chunk-44O2JGUY.mjs";
|
|
41
43
|
|
|
@@ -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,12 +1,12 @@
|
|
|
1
|
-
export {
|
|
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-
|
|
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-543a59ae.js';
|
|
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-7aa25931.js';
|
|
3
3
|
export { CopilotRuntimeServerInstance, config, copilotRuntimeNextJSAppRouterEndpoint, copilotRuntimeNextJSPagesRouterEndpoint } from './integrations/index.js';
|
|
4
4
|
export { copilotRuntimeNodeHttpEndpoint } from './integrations/node-http/index.js';
|
|
5
5
|
export { copilotRuntimeNodeExpressEndpoint } from './integrations/node-express/index.js';
|
|
6
6
|
export { copilotRuntimeNestEndpoint } from './integrations/nest/index.js';
|
|
7
7
|
import '@copilotkit/shared';
|
|
8
|
-
import '../langserve-
|
|
9
|
-
import '../index-
|
|
8
|
+
import '../langserve-f00629d2.js';
|
|
9
|
+
import '../index-83ee522f.js';
|
|
10
10
|
import '../graphql/types/base/index.js';
|
|
11
11
|
import 'rxjs';
|
|
12
12
|
import 'graphql';
|