@copilotkit/runtime 1.8.5-next.1 → 1.8.5-next.3
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 +13 -0
- package/dist/{chunk-EH5E2IX3.mjs → chunk-2PVUPC44.mjs} +2 -2
- package/dist/{chunk-FZJAYGIR.mjs → chunk-DNI7KA7Y.mjs} +2 -2
- package/dist/chunk-Q6JA6YY3.mjs +1 -0
- package/dist/{chunk-CFWU64MY.mjs → chunk-TDPCQIMB.mjs} +2 -2
- package/dist/{chunk-AQHJGUTA.mjs → chunk-UOCZJTXN.mjs} +2 -2
- package/dist/{chunk-KH52RHVR.mjs → chunk-UTUGZIQI.mjs} +165 -10
- package/dist/chunk-UTUGZIQI.mjs.map +1 -0
- package/dist/index.d.ts +8 -8
- package/dist/index.js +2882 -2719
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -6
- package/dist/index.mjs.map +1 -1
- package/dist/lib/index.d.ts +7 -7
- package/dist/lib/index.js +3876 -3713
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +10 -6
- package/dist/lib/integrations/index.d.ts +4 -4
- package/dist/lib/integrations/index.js +1 -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 +1 -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 +1 -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 +1 -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.mjs +1 -1
- package/dist/{copilot-runtime-9347bd66.d.ts → shared-86ec42e7.d.ts} +130 -45
- package/package.json +2 -2
- package/src/lib/index.ts +2 -1
- package/src/lib/runtime/copilot-runtime.ts +218 -11
- package/src/lib/runtime/mcp-tools-utils.ts +117 -0
- package/dist/chunk-KH52RHVR.mjs.map +0 -1
- package/dist/chunk-PTC5JN3P.mjs +0 -1
- /package/dist/{chunk-EH5E2IX3.mjs.map → chunk-2PVUPC44.mjs.map} +0 -0
- /package/dist/{chunk-FZJAYGIR.mjs.map → chunk-DNI7KA7Y.mjs.map} +0 -0
- /package/dist/{chunk-PTC5JN3P.mjs.map → chunk-Q6JA6YY3.mjs.map} +0 -0
- /package/dist/{chunk-CFWU64MY.mjs.map → chunk-TDPCQIMB.mjs.map} +0 -0
- /package/dist/{chunk-AQHJGUTA.mjs.map → chunk-UOCZJTXN.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,28 +1,30 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-Q6JA6YY3.mjs";
|
|
2
2
|
import {
|
|
3
3
|
config,
|
|
4
4
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
5
5
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UOCZJTXN.mjs";
|
|
7
7
|
import {
|
|
8
8
|
copilotRuntimeNestEndpoint
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TDPCQIMB.mjs";
|
|
10
10
|
import {
|
|
11
11
|
copilotRuntimeNodeExpressEndpoint
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2PVUPC44.mjs";
|
|
13
13
|
import {
|
|
14
14
|
CopilotRuntime,
|
|
15
15
|
addCustomHeaderPlugin,
|
|
16
16
|
buildSchema,
|
|
17
|
+
convertMCPToolsToActions,
|
|
17
18
|
copilotKitEndpoint,
|
|
18
19
|
copilotRuntimeNodeHttpEndpoint,
|
|
19
20
|
createContext,
|
|
20
21
|
createLogger,
|
|
22
|
+
extractParametersFromSchema,
|
|
21
23
|
flattenToolCallsNoDuplicates,
|
|
22
24
|
getCommonConfig,
|
|
23
25
|
langGraphPlatformEndpoint,
|
|
24
26
|
resolveEndpointType
|
|
25
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-UTUGZIQI.mjs";
|
|
26
28
|
import {
|
|
27
29
|
AnthropicAdapter,
|
|
28
30
|
EmptyAdapter,
|
|
@@ -35,7 +37,7 @@ import {
|
|
|
35
37
|
OpenAIAssistantAdapter,
|
|
36
38
|
RemoteChain,
|
|
37
39
|
UnifyAdapter
|
|
38
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-DNI7KA7Y.mjs";
|
|
39
41
|
import {
|
|
40
42
|
GuardrailsValidationFailureResponse,
|
|
41
43
|
MessageStreamInterruptedResponse,
|
|
@@ -66,6 +68,7 @@ export {
|
|
|
66
68
|
addCustomHeaderPlugin,
|
|
67
69
|
buildSchema,
|
|
68
70
|
config,
|
|
71
|
+
convertMCPToolsToActions,
|
|
69
72
|
copilotKitEndpoint,
|
|
70
73
|
copilotRuntimeNestEndpoint,
|
|
71
74
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
@@ -74,6 +77,7 @@ export {
|
|
|
74
77
|
copilotRuntimeNodeHttpEndpoint,
|
|
75
78
|
createContext,
|
|
76
79
|
createLogger,
|
|
80
|
+
extractParametersFromSchema,
|
|
77
81
|
flattenToolCallsNoDuplicates,
|
|
78
82
|
getCommonConfig,
|
|
79
83
|
langGraphPlatformEndpoint,
|
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,20 +1,20 @@
|
|
|
1
|
-
export { i as CommonConfig, d as CopilotRequestContextProperties, a as CopilotRuntime, C as CopilotRuntimeConstructorParams, k as CopilotRuntimeLogger, e as CreateCopilotRuntimeServerOptions, G as GraphQLContext, L as LogLevel, b as addCustomHeaderPlugin, h as buildSchema, c as copilotKitEndpoint, g as createContext, m as createLogger, f as flattenToolCallsNoDuplicates, j as getCommonConfig, l as langGraphPlatformEndpoint, r as resolveEndpointType } from '../copilot-runtime-9347bd66.js';
|
|
2
1
|
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-fb9aa3ab.js';
|
|
2
|
+
export { e as CommonConfig, C as CopilotRequestContextProperties, k as CopilotRuntime, j as CopilotRuntimeConstructorParams, f as CopilotRuntimeLogger, i as CopilotRuntimeRequest, b as CreateCopilotRuntimeServerOptions, G as GraphQLContext, L as LogLevel, o as MCPClient, p as MCPEndpointConfig, M as MCPTool, a as addCustomHeaderPlugin, d as buildSchema, s as convertMCPToolsToActions, m as copilotKitEndpoint, c as createContext, h as createLogger, q as extractParametersFromSchema, l as flattenToolCallsNoDuplicates, g as getCommonConfig, n as langGraphPlatformEndpoint, r as resolveEndpointType } from '../shared-86ec42e7.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
|
-
import '
|
|
7
|
+
import 'openai';
|
|
8
8
|
import '../langserve-6f7af8d3.js';
|
|
9
9
|
import '../index-5bec5424.js';
|
|
10
10
|
import '../graphql/types/base/index.js';
|
|
11
11
|
import 'rxjs';
|
|
12
|
-
import '
|
|
13
|
-
import 'pino';
|
|
14
|
-
import 'graphql-yoga';
|
|
15
|
-
import './cloud/index.js';
|
|
16
|
-
import 'openai';
|
|
12
|
+
import '@copilotkit/shared';
|
|
17
13
|
import '@langchain/core/messages';
|
|
18
14
|
import '@langchain/core/tools';
|
|
19
15
|
import '@langchain/core/utils/stream';
|
|
20
16
|
import 'groq-sdk';
|
|
17
|
+
import 'graphql';
|
|
18
|
+
import 'pino';
|
|
19
|
+
import 'graphql-yoga';
|
|
20
|
+
import './cloud/index.js';
|