@copilotkit/runtime 1.3.16-mme-lgc-langgraph-package.11 → 1.3.16-mme-revert-rxjs-changes.10
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 +33 -95
- package/dist/{chunk-SMHGZXIT.mjs → chunk-3EIBEZQI.mjs} +4 -3
- package/dist/chunk-3EIBEZQI.mjs.map +1 -0
- package/dist/{chunk-TTVQTORT.mjs → chunk-4MX7GDLS.mjs} +4 -3
- package/dist/chunk-4MX7GDLS.mjs.map +1 -0
- package/dist/chunk-DFOKBSIS.mjs +1 -0
- package/dist/chunk-DFOKBSIS.mjs.map +1 -0
- package/dist/{chunk-HZ2XTQUC.mjs → chunk-UO2QXEDA.mjs} +5 -4
- package/dist/chunk-UO2QXEDA.mjs.map +1 -0
- package/dist/{chunk-BNQDVBQH.mjs → chunk-WHJ3DAYL.mjs} +251 -34
- package/dist/chunk-WHJ3DAYL.mjs.map +1 -0
- package/dist/{chunk-JTVWJUZP.mjs → chunk-YSCTOGKC.mjs} +419 -50
- package/dist/chunk-YSCTOGKC.mjs.map +1 -0
- package/dist/{copilot-runtime-8d3f40c7.d.ts → copilot-runtime-335a610d.d.ts} +10 -10
- package/dist/{groq-adapter-dbfba3eb.d.ts → groq-adapter-2f8fd767.d.ts} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +215 -98
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +22 -22
- package/dist/index.mjs.map +1 -1
- package/dist/{langserve-f00629d2.d.ts → langserve-cc06e76e.d.ts} +1 -0
- package/dist/lib/index.d.ts +3 -3
- package/dist/lib/index.js +215 -98
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +21 -21
- package/dist/lib/integrations/index.d.ts +3 -3
- package/dist/lib/integrations/index.js +153 -85
- 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 +2 -2
- package/dist/lib/integrations/nest/index.js +150 -82
- 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 +2 -2
- package/dist/lib/integrations/node-express/index.js +150 -82
- 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 +2 -2
- package/dist/lib/integrations/node-http/index.js +149 -81
- 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 +3 -3
- package/dist/service-adapters/index.js +31 -18
- package/dist/service-adapters/index.js.map +1 -1
- package/dist/service-adapters/index.mjs +1 -2
- package/package.json +4 -4
- package/src/agents/langgraph/event-source.ts +2 -2
- package/src/agents/langgraph/events.ts +2 -0
- package/src/lib/integrations/nest/index.ts +5 -2
- package/src/lib/integrations/nextjs/app-router.ts +5 -2
- package/src/lib/integrations/nextjs/pages-router.ts +5 -2
- package/src/lib/integrations/node-express/index.ts +5 -2
- package/src/lib/integrations/node-http/index.ts +5 -2
- package/src/lib/runtime/copilot-runtime.ts +53 -47
- package/src/lib/runtime/remote-action-constructors.ts +23 -9
- package/src/lib/runtime/remote-actions.ts +9 -9
- package/src/lib/runtime/{remote-lg-cloud-action.ts → remote-lg-action.ts} +59 -33
- package/src/lib/telemetry-client.ts +43 -0
- package/src/service-adapters/events.ts +13 -1
- package/src/service-adapters/google/google-genai-adapter.ts +2 -2
- package/src/service-adapters/langchain/langchain-adapter.ts +22 -16
- package/src/service-adapters/openai/openai-adapter.ts +5 -0
- package/dist/chunk-BNQDVBQH.mjs.map +0 -1
- package/dist/chunk-GWP2VADN.mjs +0 -288
- package/dist/chunk-GWP2VADN.mjs.map +0 -1
- package/dist/chunk-HZ2XTQUC.mjs.map +0 -1
- package/dist/chunk-JTVWJUZP.mjs.map +0 -1
- package/dist/chunk-MXXPWWBF.mjs +0 -218
- package/dist/chunk-MXXPWWBF.mjs.map +0 -1
- package/dist/chunk-SMHGZXIT.mjs.map +0 -1
- package/dist/chunk-TTVQTORT.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,26 @@
|
|
|
1
|
+
import "./chunk-DFOKBSIS.mjs";
|
|
2
|
+
import {
|
|
3
|
+
config,
|
|
4
|
+
copilotRuntimeNextJSAppRouterEndpoint,
|
|
5
|
+
copilotRuntimeNextJSPagesRouterEndpoint
|
|
6
|
+
} from "./chunk-UO2QXEDA.mjs";
|
|
7
|
+
import {
|
|
8
|
+
copilotRuntimeNestEndpoint
|
|
9
|
+
} from "./chunk-4MX7GDLS.mjs";
|
|
10
|
+
import {
|
|
11
|
+
copilotRuntimeNodeExpressEndpoint
|
|
12
|
+
} from "./chunk-3EIBEZQI.mjs";
|
|
1
13
|
import {
|
|
2
14
|
CopilotRuntime,
|
|
15
|
+
buildSchema,
|
|
3
16
|
copilotKitEndpoint,
|
|
17
|
+
copilotRuntimeNodeHttpEndpoint,
|
|
18
|
+
createContext,
|
|
4
19
|
flattenToolCallsNoDuplicates,
|
|
5
|
-
|
|
6
|
-
|
|
20
|
+
getCommonConfig,
|
|
21
|
+
langGraphPlatformEndpoint,
|
|
22
|
+
resolveEndpointType
|
|
23
|
+
} from "./chunk-YSCTOGKC.mjs";
|
|
7
24
|
import {
|
|
8
25
|
AnthropicAdapter,
|
|
9
26
|
GoogleGenerativeAIAdapter,
|
|
@@ -13,25 +30,7 @@ import {
|
|
|
13
30
|
OpenAIAssistantAdapter,
|
|
14
31
|
RemoteChain,
|
|
15
32
|
UnifyAdapter
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
config,
|
|
19
|
-
copilotRuntimeNextJSAppRouterEndpoint,
|
|
20
|
-
copilotRuntimeNextJSPagesRouterEndpoint
|
|
21
|
-
} from "./chunk-HZ2XTQUC.mjs";
|
|
22
|
-
import {
|
|
23
|
-
copilotRuntimeNestEndpoint
|
|
24
|
-
} from "./chunk-TTVQTORT.mjs";
|
|
25
|
-
import {
|
|
26
|
-
copilotRuntimeNodeExpressEndpoint
|
|
27
|
-
} from "./chunk-SMHGZXIT.mjs";
|
|
28
|
-
import {
|
|
29
|
-
buildSchema,
|
|
30
|
-
copilotRuntimeNodeHttpEndpoint,
|
|
31
|
-
createContext,
|
|
32
|
-
getCommonConfig
|
|
33
|
-
} from "./chunk-JTVWJUZP.mjs";
|
|
34
|
-
import "./chunk-MXXPWWBF.mjs";
|
|
33
|
+
} from "./chunk-WHJ3DAYL.mjs";
|
|
35
34
|
import {
|
|
36
35
|
GuardrailsValidationFailureResponse,
|
|
37
36
|
MessageStreamInterruptedResponse,
|
|
@@ -67,6 +66,7 @@ export {
|
|
|
67
66
|
createContext,
|
|
68
67
|
flattenToolCallsNoDuplicates,
|
|
69
68
|
getCommonConfig,
|
|
70
|
-
|
|
69
|
+
langGraphPlatformEndpoint,
|
|
70
|
+
resolveEndpointType
|
|
71
71
|
};
|
|
72
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":[]}
|
|
@@ -81,6 +81,7 @@ declare class RuntimeEventSource {
|
|
|
81
81
|
private eventStream$;
|
|
82
82
|
private callback;
|
|
83
83
|
stream(callback: EventSourceCallback): Promise<void>;
|
|
84
|
+
sendErrorMessageToChat(): void;
|
|
84
85
|
processRuntimeEvents({ serverSideActions, guardrailsResult$, actionInputsWithoutAgents, }: {
|
|
85
86
|
serverSideActions: Action<any>[];
|
|
86
87
|
guardrailsResult$?: Subject<GuardrailsResult>;
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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
|
|
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 langGraphPlatformEndpoint, r as resolveEndpointType } from '../copilot-runtime-335a610d.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-2f8fd767.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-
|
|
8
|
+
import '../langserve-cc06e76e.js';
|
|
9
9
|
import '../index-83ee522f.js';
|
|
10
10
|
import '../graphql/types/base/index.js';
|
|
11
11
|
import 'rxjs';
|