@copilotkit/runtime 1.8.8-next.1 → 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.
Files changed (39) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/{chunk-3UU33HF6.mjs → chunk-AFJ3VQB4.mjs} +2 -2
  3. package/dist/{chunk-QF6GPOZV.mjs → chunk-HEKLYCFM.mjs} +2 -2
  4. package/dist/{chunk-HBCCZQBE.mjs → chunk-LFB4PE32.mjs} +64 -6
  5. package/dist/chunk-LFB4PE32.mjs.map +1 -0
  6. package/dist/{chunk-O4WMMGSX.mjs → chunk-TPDMN2N7.mjs} +2 -2
  7. package/dist/index.d.ts +1 -1
  8. package/dist/index.js +64 -5
  9. package/dist/index.js.map +1 -1
  10. package/dist/index.mjs +6 -4
  11. package/dist/index.mjs.map +1 -1
  12. package/dist/lib/index.d.ts +1 -1
  13. package/dist/lib/index.js +64 -5
  14. package/dist/lib/index.js.map +1 -1
  15. package/dist/lib/index.mjs +6 -4
  16. package/dist/lib/integrations/index.d.ts +2 -2
  17. package/dist/lib/integrations/index.js +1 -1
  18. package/dist/lib/integrations/index.js.map +1 -1
  19. package/dist/lib/integrations/index.mjs +4 -4
  20. package/dist/lib/integrations/nest/index.d.ts +1 -1
  21. package/dist/lib/integrations/nest/index.js +1 -1
  22. package/dist/lib/integrations/nest/index.js.map +1 -1
  23. package/dist/lib/integrations/nest/index.mjs +2 -2
  24. package/dist/lib/integrations/node-express/index.d.ts +1 -1
  25. package/dist/lib/integrations/node-express/index.js +1 -1
  26. package/dist/lib/integrations/node-express/index.js.map +1 -1
  27. package/dist/lib/integrations/node-express/index.mjs +2 -2
  28. package/dist/lib/integrations/node-http/index.d.ts +1 -1
  29. package/dist/lib/integrations/node-http/index.js +1 -1
  30. package/dist/lib/integrations/node-http/index.js.map +1 -1
  31. package/dist/lib/integrations/node-http/index.mjs +1 -1
  32. package/dist/{shared-32a46e93.d.ts → shared-df478d34.d.ts} +6 -1
  33. package/package.json +2 -2
  34. package/src/lib/runtime/copilot-runtime.ts +32 -12
  35. package/src/lib/runtime/mcp-tools-utils.ts +60 -0
  36. package/dist/chunk-HBCCZQBE.mjs.map +0 -1
  37. /package/dist/{chunk-3UU33HF6.mjs.map → chunk-AFJ3VQB4.mjs.map} +0 -0
  38. /package/dist/{chunk-QF6GPOZV.mjs.map → chunk-HEKLYCFM.mjs.map} +0 -0
  39. /package/dist/{chunk-O4WMMGSX.mjs.map → chunk-TPDMN2N7.mjs.map} +0 -0
@@ -3,13 +3,13 @@ import {
3
3
  config,
4
4
  copilotRuntimeNextJSAppRouterEndpoint,
5
5
  copilotRuntimeNextJSPagesRouterEndpoint
6
- } from "../chunk-QF6GPOZV.mjs";
6
+ } from "../chunk-HEKLYCFM.mjs";
7
7
  import {
8
8
  copilotRuntimeNestEndpoint
9
- } from "../chunk-O4WMMGSX.mjs";
9
+ } from "../chunk-TPDMN2N7.mjs";
10
10
  import {
11
11
  copilotRuntimeNodeExpressEndpoint
12
- } from "../chunk-3UU33HF6.mjs";
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-HBCCZQBE.mjs";
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-32a46e93.js';
2
- export { e as CommonConfig, C as CopilotRequestContextProperties, a as addCustomHeaderPlugin, d as buildSchema, c as createContext, g as getCommonConfig } from '../../shared-32a46e93.js';
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';
@@ -44,7 +44,7 @@ var require_package = __commonJS({
44
44
  publishConfig: {
45
45
  access: "public"
46
46
  },
47
- version: "1.8.8-next.1",
47
+ version: "1.8.9-next.0",
48
48
  sideEffects: false,
49
49
  main: "./dist/index.js",
50
50
  module: "./dist/index.mjs",