@copilotkit/runtime 1.3.16-mme-improve-langsmith.0 → 1.4.0-pre-1-4-0.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 +6 -3
- package/dist/{chunk-QJB3CIHI.mjs → chunk-3SXVSM2J.mjs} +2 -2
- package/dist/{chunk-YGFQK4XG.mjs → chunk-5DFP5VJV.mjs} +2 -2
- package/dist/{chunk-TD3UMHBH.mjs → chunk-5LEQEQFA.mjs} +689 -151
- package/dist/chunk-5LEQEQFA.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-KCW3B5UA.mjs → chunk-KDT43TMW.mjs} +37 -10
- package/dist/chunk-KDT43TMW.mjs.map +1 -0
- package/dist/{chunk-E75MOZGE.mjs → chunk-SBNW3ABC.mjs} +2 -2
- package/dist/{chunk-UHFZPBA5.mjs → chunk-VGYN7TGZ.mjs} +5 -10
- package/dist/chunk-VGYN7TGZ.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-c30654bd.d.ts} +4 -2
- package/dist/{index-cff31380.d.ts → index-439dfa2a.d.ts} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +765 -205
- 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-0d844922.d.ts} +1 -1
- package/dist/lib/index.d.ts +4 -4
- package/dist/lib/index.js +765 -205
- 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 +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/dist/service-adapters/index.js +4 -9
- 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 +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/src/service-adapters/google/google-genai-adapter.ts +2 -2
- package/src/service-adapters/langchain/langchain-adapter.ts +5 -4
- package/dist/chunk-KCW3B5UA.mjs.map +0 -1
- package/dist/chunk-MYZHUCL6.mjs.map +0 -1
- package/dist/chunk-TD3UMHBH.mjs.map +0 -1
- package/dist/chunk-UHFZPBA5.mjs.map +0 -1
- /package/dist/{chunk-QJB3CIHI.mjs.map → chunk-3SXVSM2J.mjs.map} +0 -0
- /package/dist/{chunk-YGFQK4XG.mjs.map → chunk-5DFP5VJV.mjs.map} +0 -0
- /package/dist/{chunk-E75MOZGE.mjs.map → chunk-SBNW3ABC.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-KDT43TMW.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-3SXVSM2J.mjs";
|
|
20
22
|
import {
|
|
21
23
|
copilotRuntimeNestEndpoint
|
|
22
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5DFP5VJV.mjs";
|
|
23
25
|
import {
|
|
24
26
|
copilotRuntimeNodeExpressEndpoint
|
|
25
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-SBNW3ABC.mjs";
|
|
26
28
|
import {
|
|
27
29
|
buildSchema,
|
|
28
30
|
copilotRuntimeNodeHttpEndpoint,
|
|
29
31
|
createContext,
|
|
30
32
|
getCommonConfig
|
|
31
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-5LEQEQFA.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-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-c30654bd.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';
|