@copilotkit/runtime 1.3.12-fix-tool-call-dynamic-parameters.0 → 1.3.12-lgc-alpha-1.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 +3 -4
- package/dist/{chunk-SIMJ6TZU.mjs → chunk-6B3NPPSR.mjs} +2 -2
- package/dist/{chunk-OSJXQNII.mjs → chunk-6HXQC7IT.mjs} +36 -9
- package/dist/chunk-6HXQC7IT.mjs.map +1 -0
- package/dist/{chunk-24WEOOFX.mjs → chunk-7MQDBRXJ.mjs} +2 -2
- package/dist/{chunk-AOYYOKTP.mjs → chunk-E6ZFCM3B.mjs} +561 -133
- package/dist/chunk-E6ZFCM3B.mjs.map +1 -0
- package/dist/{chunk-UYORVPCQ.mjs → chunk-TM7ZRU3M.mjs} +2 -2
- package/dist/{chunk-ZEHCLFJ2.mjs → chunk-V7SK6QZN.mjs} +6 -9
- package/dist/chunk-V7SK6QZN.mjs.map +1 -0
- package/dist/{chunk-HKLL7TTP.mjs → chunk-XMDH5MKI.mjs} +2 -2
- 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 +638 -186
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -9
- package/dist/index.mjs.map +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.js +638 -186
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +13 -9
- package/dist/lib/integrations/index.d.ts +2 -2
- package/dist/lib/integrations/index.js +5 -4
- 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 +5 -4
- 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 +5 -4
- 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 +5 -4
- 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 +5 -8
- package/dist/service-adapters/index.js.map +1 -1
- package/dist/service-adapters/index.mjs +2 -2
- package/package.json +7 -6
- 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 +283 -0
- package/src/lib/runtime/remote-actions.ts +65 -159
- package/src/lib/runtime/remote-lg-cloud-action.ts +441 -0
- package/src/service-adapters/events.ts +1 -5
- package/src/service-adapters/langchain/utils.ts +5 -10
- package/dist/chunk-AOYYOKTP.mjs.map +0 -1
- package/dist/chunk-OSJXQNII.mjs.map +0 -1
- package/dist/chunk-ZEHCLFJ2.mjs.map +0 -1
- package/src/service-adapters/langchain/utils.test.ts +0 -169
- /package/dist/{chunk-SIMJ6TZU.mjs.map → chunk-6B3NPPSR.mjs.map} +0 -0
- /package/dist/{chunk-24WEOOFX.mjs.map → chunk-7MQDBRXJ.mjs.map} +0 -0
- /package/dist/{chunk-UYORVPCQ.mjs.map → chunk-TM7ZRU3M.mjs.map} +0 -0
- /package/dist/{chunk-HKLL7TTP.mjs.map → chunk-XMDH5MKI.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-6HXQC7IT.mjs";
|
|
5
7
|
import {
|
|
6
8
|
AnthropicAdapter,
|
|
7
9
|
GoogleGenerativeAIAdapter,
|
|
@@ -11,25 +13,25 @@ import {
|
|
|
11
13
|
OpenAIAssistantAdapter,
|
|
12
14
|
RemoteChain,
|
|
13
15
|
UnifyAdapter
|
|
14
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7MQDBRXJ.mjs";
|
|
15
17
|
import {
|
|
16
18
|
config,
|
|
17
19
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
18
20
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
19
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-TM7ZRU3M.mjs";
|
|
20
22
|
import {
|
|
21
23
|
copilotRuntimeNestEndpoint
|
|
22
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6B3NPPSR.mjs";
|
|
23
25
|
import {
|
|
24
26
|
copilotRuntimeNodeExpressEndpoint
|
|
25
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XMDH5MKI.mjs";
|
|
26
28
|
import {
|
|
27
29
|
buildSchema,
|
|
28
30
|
copilotRuntimeNodeHttpEndpoint,
|
|
29
31
|
createContext,
|
|
30
32
|
getCommonConfig
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-E6ZFCM3B.mjs";
|
|
34
|
+
import "./chunk-V7SK6QZN.mjs";
|
|
33
35
|
import {
|
|
34
36
|
GuardrailsValidationFailureResponse,
|
|
35
37
|
MessageStreamInterruptedResponse,
|
|
@@ -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';
|