@copilotkit/runtime 1.9.2-next.22 → 1.9.2-next.24

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 (41) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/{chunk-MQNSNCJU.mjs → chunk-ECQRTXJX.mjs} +2 -2
  3. package/dist/{chunk-Z2HSWVJ6.mjs → chunk-FR4C3TPU.mjs} +2 -2
  4. package/dist/{chunk-WLLDTXG6.mjs → chunk-GAUZHH2X.mjs} +73 -34
  5. package/dist/chunk-GAUZHH2X.mjs.map +1 -0
  6. package/dist/{chunk-YSRDTT3V.mjs → chunk-S2YGYQDH.mjs} +2 -2
  7. package/dist/{chunk-UOSL5GYI.mjs → chunk-TBVA4IGX.mjs} +2 -2
  8. package/dist/index.d.ts +1 -1
  9. package/dist/index.js +65 -26
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.mjs +6 -6
  12. package/dist/lib/index.d.ts +153 -3
  13. package/dist/lib/index.js +65 -26
  14. package/dist/lib/index.js.map +1 -1
  15. package/dist/lib/index.mjs +6 -6
  16. package/dist/lib/integrations/index.d.ts +2 -2
  17. package/dist/lib/integrations/index.js +10 -10
  18. package/dist/lib/integrations/index.js.map +1 -1
  19. package/dist/lib/integrations/index.mjs +5 -5
  20. package/dist/lib/integrations/nest/index.d.ts +1 -1
  21. package/dist/lib/integrations/nest/index.js +10 -10
  22. package/dist/lib/integrations/nest/index.js.map +1 -1
  23. package/dist/lib/integrations/nest/index.mjs +3 -3
  24. package/dist/lib/integrations/node-express/index.d.ts +1 -1
  25. package/dist/lib/integrations/node-express/index.js +10 -10
  26. package/dist/lib/integrations/node-express/index.js.map +1 -1
  27. package/dist/lib/integrations/node-express/index.mjs +3 -3
  28. package/dist/lib/integrations/node-http/index.d.ts +1 -1
  29. package/dist/lib/integrations/node-http/index.js +10 -10
  30. package/dist/lib/integrations/node-http/index.js.map +1 -1
  31. package/dist/lib/integrations/node-http/index.mjs +2 -2
  32. package/dist/{shared-41d4988d.d.ts → shared-6b6dbf8b.d.ts} +1 -3
  33. package/package.json +11 -11
  34. package/src/lib/runtime/__tests__/mcp-tools-utils.test.ts +464 -0
  35. package/src/lib/runtime/copilot-runtime.ts +1 -3
  36. package/src/lib/runtime/mcp-tools-utils.ts +84 -18
  37. package/dist/chunk-WLLDTXG6.mjs.map +0 -1
  38. /package/dist/{chunk-MQNSNCJU.mjs.map → chunk-ECQRTXJX.mjs.map} +0 -0
  39. /package/dist/{chunk-Z2HSWVJ6.mjs.map → chunk-FR4C3TPU.mjs.map} +0 -0
  40. /package/dist/{chunk-YSRDTT3V.mjs.map → chunk-S2YGYQDH.mjs.map} +0 -0
  41. /package/dist/{chunk-UOSL5GYI.mjs.map → chunk-TBVA4IGX.mjs.map} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  CustomEventNames,
3
3
  LangGraphAgent
4
- } from "../chunk-YSRDTT3V.mjs";
4
+ } from "../chunk-S2YGYQDH.mjs";
5
5
  import {
6
6
  config,
7
7
  copilotRuntimeNextJSAppRouterEndpoint,
8
8
  copilotRuntimeNextJSPagesRouterEndpoint
9
- } from "../chunk-UOSL5GYI.mjs";
9
+ } from "../chunk-TBVA4IGX.mjs";
10
10
  import {
11
11
  copilotRuntimeNestEndpoint
12
- } from "../chunk-MQNSNCJU.mjs";
12
+ } from "../chunk-ECQRTXJX.mjs";
13
13
  import {
14
14
  copilotRuntimeNodeExpressEndpoint
15
- } from "../chunk-Z2HSWVJ6.mjs";
15
+ } from "../chunk-FR4C3TPU.mjs";
16
16
  import {
17
17
  CopilotRuntime,
18
18
  addCustomHeaderPlugin,
@@ -28,8 +28,7 @@ import {
28
28
  getCommonConfig,
29
29
  langGraphPlatformEndpoint,
30
30
  resolveEndpointType
31
- } from "../chunk-WLLDTXG6.mjs";
32
- import "../chunk-SHBDMA63.mjs";
31
+ } from "../chunk-GAUZHH2X.mjs";
33
32
  import {
34
33
  GoogleGenerativeAIAdapter,
35
34
  GroqAdapter,
@@ -40,6 +39,7 @@ import {
40
39
  } from "../chunk-QLLV2QVK.mjs";
41
40
  import "../chunk-XWBDEXDA.mjs";
42
41
  import "../chunk-AMUJQ6IR.mjs";
42
+ import "../chunk-SHBDMA63.mjs";
43
43
  import "../chunk-2OZAGFV3.mjs";
44
44
  import "../chunk-FHD4JECV.mjs";
45
45
  export {
@@ -1,5 +1,5 @@
1
- import { b as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../shared-41d4988d.js';
2
- export { e as CommonConfig, C as CopilotRequestContextProperties, a as addCustomHeaderPlugin, d as buildSchema, c as createContext, g as getCommonConfig } from '../../shared-41d4988d.js';
1
+ import { b as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../shared-6b6dbf8b.js';
2
+ export { e as CommonConfig, C as CopilotRequestContextProperties, a as addCustomHeaderPlugin, d as buildSchema, c as createContext, g as getCommonConfig } from '../../shared-6b6dbf8b.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.9.2-next.22",
47
+ version: "1.9.2-next.24",
48
48
  sideEffects: false,
49
49
  main: "./dist/index.js",
50
50
  module: "./dist/index.mjs",
@@ -82,11 +82,11 @@ var require_package = __commonJS({
82
82
  "zod-to-json-schema": "^3.23.5"
83
83
  },
84
84
  dependencies: {
85
- "@ag-ui/client": "0.0.28",
86
- "@ag-ui/core": "0.0.28",
87
- "@ag-ui/encoder": "0.0.28",
88
- "@ag-ui/langgraph": "0.0.4",
89
- "@ag-ui/proto": "0.0.28",
85
+ "@ag-ui/client": "0.0.34",
86
+ "@ag-ui/core": "0.0.34",
87
+ "@ag-ui/encoder": "0.0.34",
88
+ "@ag-ui/langgraph": "0.0.6",
89
+ "@ag-ui/proto": "0.0.34",
90
90
  "@anthropic-ai/sdk": "^0.27.3",
91
91
  "@copilotkit/shared": "workspace:*",
92
92
  "@graphql-yoga/plugin-defer-stream": "^3.3.1",
@@ -114,10 +114,10 @@ var require_package = __commonJS({
114
114
  zod: "^3.23.3"
115
115
  },
116
116
  peerDependencies: {
117
- "@ag-ui/client": ">=0.0.28",
118
- "@ag-ui/core": ">=0.0.28",
119
- "@ag-ui/encoder": ">=0.0.28",
120
- "@ag-ui/proto": ">=0.0.28"
117
+ "@ag-ui/client": ">=0.0.34",
118
+ "@ag-ui/core": ">=0.0.34",
119
+ "@ag-ui/encoder": ">=0.0.34",
120
+ "@ag-ui/proto": ">=0.0.34"
121
121
  },
122
122
  keywords: [
123
123
  "copilotkit",