@copilotkit/runtime 1.3.12-lgc-alpha-1.0 → 1.3.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 +12 -3
- package/dist/{chunk-6HXQC7IT.mjs → chunk-3LFBIWWK.mjs} +9 -36
- package/dist/chunk-3LFBIWWK.mjs.map +1 -0
- package/dist/{chunk-E6ZFCM3B.mjs → chunk-76K222WC.mjs} +133 -561
- package/dist/chunk-76K222WC.mjs.map +1 -0
- package/dist/{chunk-V7SK6QZN.mjs → chunk-CPAHDRLS.mjs} +36 -9
- package/dist/chunk-CPAHDRLS.mjs.map +1 -0
- package/dist/{chunk-TM7ZRU3M.mjs → chunk-DEZQR4EM.mjs} +2 -2
- package/dist/{chunk-XMDH5MKI.mjs → chunk-MCUYYSCJ.mjs} +2 -2
- package/dist/{chunk-6B3NPPSR.mjs → chunk-SPZSO3T3.mjs} +2 -2
- package/dist/{chunk-7MQDBRXJ.mjs → chunk-Y6RQG5HF.mjs} +2 -2
- package/dist/{copilot-runtime-aba7d4b4.d.ts → copilot-runtime-df3527ad.d.ts} +5 -27
- package/dist/index.d.ts +1 -1
- package/dist/index.js +213 -641
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -13
- package/dist/index.mjs.map +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.js +213 -641
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +9 -13
- package/dist/lib/integrations/index.d.ts +2 -2
- package/dist/lib/integrations/index.js +4 -5
- 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 +1 -1
- package/dist/lib/integrations/nest/index.js +4 -5
- 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 +1 -1
- package/dist/lib/integrations/node-express/index.js +4 -5
- 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 +1 -1
- package/dist/lib/integrations/node-http/index.js +4 -5
- 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.js +35 -8
- package/dist/service-adapters/index.js.map +1 -1
- package/dist/service-adapters/index.mjs +2 -2
- package/package.json +6 -7
- package/src/agents/langgraph/event-source.ts +67 -22
- package/src/lib/runtime/copilot-runtime.ts +11 -58
- package/src/lib/runtime/remote-actions.ts +159 -65
- package/src/service-adapters/events.ts +5 -1
- package/src/service-adapters/langchain/utils.test.ts +169 -0
- package/src/service-adapters/langchain/utils.ts +41 -8
- package/dist/chunk-6HXQC7IT.mjs.map +0 -1
- package/dist/chunk-E6ZFCM3B.mjs.map +0 -1
- package/dist/chunk-V7SK6QZN.mjs.map +0 -1
- package/src/lib/runtime/remote-action-constructors.ts +0 -283
- package/src/lib/runtime/remote-lg-cloud-action.ts +0 -441
- /package/dist/{chunk-TM7ZRU3M.mjs.map → chunk-DEZQR4EM.mjs.map} +0 -0
- /package/dist/{chunk-XMDH5MKI.mjs.map → chunk-MCUYYSCJ.mjs.map} +0 -0
- /package/dist/{chunk-6B3NPPSR.mjs.map → chunk-SPZSO3T3.mjs.map} +0 -0
- /package/dist/{chunk-7MQDBRXJ.mjs.map → chunk-Y6RQG5HF.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopilotRuntime,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
langGraphCloudEndpoint
|
|
6
|
-
} from "./chunk-6HXQC7IT.mjs";
|
|
3
|
+
flattenToolCallsNoDuplicates
|
|
4
|
+
} from "./chunk-3LFBIWWK.mjs";
|
|
7
5
|
import {
|
|
8
6
|
AnthropicAdapter,
|
|
9
7
|
GoogleGenerativeAIAdapter,
|
|
@@ -13,25 +11,25 @@ import {
|
|
|
13
11
|
OpenAIAssistantAdapter,
|
|
14
12
|
RemoteChain,
|
|
15
13
|
UnifyAdapter
|
|
16
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Y6RQG5HF.mjs";
|
|
17
15
|
import {
|
|
18
16
|
config,
|
|
19
17
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
20
18
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
21
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DEZQR4EM.mjs";
|
|
22
20
|
import {
|
|
23
21
|
copilotRuntimeNestEndpoint
|
|
24
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SPZSO3T3.mjs";
|
|
25
23
|
import {
|
|
26
24
|
copilotRuntimeNodeExpressEndpoint
|
|
27
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-MCUYYSCJ.mjs";
|
|
28
26
|
import {
|
|
29
27
|
buildSchema,
|
|
30
28
|
copilotRuntimeNodeHttpEndpoint,
|
|
31
29
|
createContext,
|
|
32
30
|
getCommonConfig
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-76K222WC.mjs";
|
|
32
|
+
import "./chunk-CPAHDRLS.mjs";
|
|
35
33
|
import {
|
|
36
34
|
GuardrailsValidationFailureResponse,
|
|
37
35
|
MessageStreamInterruptedResponse,
|
|
@@ -58,7 +56,6 @@ export {
|
|
|
58
56
|
UnknownErrorResponse,
|
|
59
57
|
buildSchema,
|
|
60
58
|
config,
|
|
61
|
-
copilotKitEndpoint,
|
|
62
59
|
copilotRuntimeNestEndpoint,
|
|
63
60
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
64
61
|
copilotRuntimeNextJSPagesRouterEndpoint,
|
|
@@ -66,7 +63,6 @@ export {
|
|
|
66
63
|
copilotRuntimeNodeHttpEndpoint,
|
|
67
64
|
createContext,
|
|
68
65
|
flattenToolCallsNoDuplicates,
|
|
69
|
-
getCommonConfig
|
|
70
|
-
langGraphCloudEndpoint
|
|
66
|
+
getCommonConfig
|
|
71
67
|
};
|
|
72
68
|
//# 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 { g as CommonConfig, b as CopilotRequestContextProperties, a as CopilotRuntime, C as CopilotRuntimeConstructorParams, c as CreateCopilotRuntimeServerOptions, G as GraphQLContext, e as buildSchema, d as createContext, f as flattenToolCallsNoDuplicates, h as getCommonConfig } from '../copilot-runtime-df3527ad.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';
|