@copilotkit/runtime 1.8.8 → 1.8.9-next.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 +8 -0
- package/dist/{chunk-HAIKRVPW.mjs → chunk-AFJ3VQB4.mjs} +2 -2
- package/dist/{chunk-UKGY3PWM.mjs → chunk-HEKLYCFM.mjs} +2 -2
- package/dist/{chunk-3R446VII.mjs → chunk-LFB4PE32.mjs} +64 -6
- package/dist/chunk-LFB4PE32.mjs.map +1 -0
- package/dist/{chunk-PTBPJ2YQ.mjs → chunk-TPDMN2N7.mjs} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +64 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.js +64 -5
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +6 -4
- package/dist/lib/integrations/index.d.ts +2 -2
- package/dist/lib/integrations/index.js +1 -1
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +4 -4
- package/dist/lib/integrations/nest/index.d.ts +1 -1
- 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 +2 -2
- package/dist/lib/integrations/node-express/index.d.ts +1 -1
- 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 +2 -2
- package/dist/lib/integrations/node-http/index.d.ts +1 -1
- 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 +1 -1
- package/dist/{shared-32a46e93.d.ts → shared-df478d34.d.ts} +6 -1
- package/package.json +2 -2
- package/src/lib/runtime/copilot-runtime.ts +32 -12
- package/src/lib/runtime/mcp-tools-utils.ts +60 -0
- package/dist/chunk-3R446VII.mjs.map +0 -1
- /package/dist/{chunk-HAIKRVPW.mjs.map → chunk-AFJ3VQB4.mjs.map} +0 -0
- /package/dist/{chunk-UKGY3PWM.mjs.map → chunk-HEKLYCFM.mjs.map} +0 -0
- /package/dist/{chunk-PTBPJ2YQ.mjs.map → chunk-TPDMN2N7.mjs.map} +0 -0
package/dist/lib/index.mjs
CHANGED
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
config,
|
|
4
4
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
5
5
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-HEKLYCFM.mjs";
|
|
7
7
|
import {
|
|
8
8
|
copilotRuntimeNestEndpoint
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-TPDMN2N7.mjs";
|
|
10
10
|
import {
|
|
11
11
|
copilotRuntimeNodeExpressEndpoint
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-AFJ3VQB4.mjs";
|
|
13
13
|
import {
|
|
14
14
|
CopilotRuntime,
|
|
15
15
|
addCustomHeaderPlugin,
|
|
@@ -21,10 +21,11 @@ import {
|
|
|
21
21
|
createLogger,
|
|
22
22
|
extractParametersFromSchema,
|
|
23
23
|
flattenToolCallsNoDuplicates,
|
|
24
|
+
generateMcpToolInstructions,
|
|
24
25
|
getCommonConfig,
|
|
25
26
|
langGraphPlatformEndpoint,
|
|
26
27
|
resolveEndpointType
|
|
27
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-LFB4PE32.mjs";
|
|
28
29
|
import {
|
|
29
30
|
GoogleGenerativeAIAdapter,
|
|
30
31
|
GroqAdapter,
|
|
@@ -59,6 +60,7 @@ export {
|
|
|
59
60
|
createLogger,
|
|
60
61
|
extractParametersFromSchema,
|
|
61
62
|
flattenToolCallsNoDuplicates,
|
|
63
|
+
generateMcpToolInstructions,
|
|
62
64
|
getCommonConfig,
|
|
63
65
|
langGraphPlatformEndpoint,
|
|
64
66
|
resolveEndpointType
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../shared-
|
|
2
|
-
export { e as CommonConfig, C as CopilotRequestContextProperties, a as addCustomHeaderPlugin, d as buildSchema, c as createContext, g as getCommonConfig } from '../../shared-
|
|
1
|
+
import { b as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../shared-df478d34.js';
|
|
2
|
+
export { e as CommonConfig, C as CopilotRequestContextProperties, a as addCustomHeaderPlugin, d as buildSchema, c as createContext, g as getCommonConfig } from '../../shared-df478d34.js';
|
|
3
3
|
import * as graphql_yoga from 'graphql-yoga';
|
|
4
4
|
import { YogaServerInstance } from 'graphql-yoga';
|
|
5
5
|
export { copilotRuntimeNodeHttpEndpoint } from './node-http/index.js';
|