@copilotkit/runtime 1.3.13 → 1.3.14-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 +8 -0
- package/dist/{chunk-MCUYYSCJ.mjs → chunk-44JZSRY7.mjs} +2 -2
- package/dist/{chunk-SPZSO3T3.mjs → chunk-7MKHQGLE.mjs} +2 -2
- package/dist/{chunk-MYZHUCL6.mjs → chunk-B74M7FXG.mjs} +1 -1
- package/dist/chunk-B74M7FXG.mjs.map +1 -0
- package/dist/{chunk-DEZQR4EM.mjs → chunk-PY76HMMJ.mjs} +2 -2
- package/dist/{chunk-3LFBIWWK.mjs → chunk-UF6TJDZ5.mjs} +36 -9
- package/dist/chunk-UF6TJDZ5.mjs.map +1 -0
- package/dist/{chunk-76K222WC.mjs → chunk-ZIHDDSMJ.mjs} +689 -151
- package/dist/chunk-ZIHDDSMJ.mjs.map +1 -0
- package/dist/{copilot-runtime-df3527ad.d.ts → copilot-runtime-68acb673.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-c2e65c95.d.ts} +1 -1
- package/dist/{index-cff31380.d.ts → index-439dfa2a.d.ts} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +761 -196
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -8
- package/dist/index.mjs.map +1 -1
- package/dist/{langserve-a14a6849.d.ts → langserve-0d844922.d.ts} +1 -1
- package/dist/lib/index.d.ts +4 -4
- package/dist/lib/index.js +761 -196
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +12 -8
- package/dist/lib/integrations/index.d.ts +4 -4
- package/dist/lib/integrations/index.js +3 -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 +3 -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 +3 -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 +3 -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/package.json +6 -4
- package/src/agents/langgraph/event-source.ts +62 -94
- package/src/agents/langgraph/events.ts +26 -17
- package/src/graphql/types/converted/index.ts +5 -1
- 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 +624 -0
- package/dist/chunk-3LFBIWWK.mjs.map +0 -1
- package/dist/chunk-76K222WC.mjs.map +0 -1
- package/dist/chunk-MYZHUCL6.mjs.map +0 -1
- /package/dist/{chunk-MCUYYSCJ.mjs.map → chunk-44JZSRY7.mjs.map} +0 -0
- /package/dist/{chunk-SPZSO3T3.mjs.map → chunk-7MKHQGLE.mjs.map} +0 -0
- /package/dist/{chunk-DEZQR4EM.mjs.map → chunk-PY76HMMJ.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-UF6TJDZ5.mjs";
|
|
5
7
|
import {
|
|
6
8
|
AnthropicAdapter,
|
|
7
9
|
GoogleGenerativeAIAdapter,
|
|
@@ -16,26 +18,26 @@ import {
|
|
|
16
18
|
config,
|
|
17
19
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
18
20
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
19
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PY76HMMJ.mjs";
|
|
20
22
|
import {
|
|
21
23
|
copilotRuntimeNestEndpoint
|
|
22
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-7MKHQGLE.mjs";
|
|
23
25
|
import {
|
|
24
26
|
copilotRuntimeNodeExpressEndpoint
|
|
25
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-44JZSRY7.mjs";
|
|
26
28
|
import {
|
|
27
29
|
buildSchema,
|
|
28
30
|
copilotRuntimeNodeHttpEndpoint,
|
|
29
31
|
createContext,
|
|
30
32
|
getCommonConfig
|
|
31
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ZIHDDSMJ.mjs";
|
|
32
34
|
import "./chunk-CPAHDRLS.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-68acb673.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-c2e65c95.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-0d844922.js';
|
|
9
|
+
import '../index-439dfa2a.js';
|
|
10
10
|
import '../graphql/types/base/index.js';
|
|
11
11
|
import 'rxjs';
|
|
12
12
|
import 'graphql';
|