@copilotkit/runtime 1.50.1-next.2 → 1.50.1

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/dist/index.mjs CHANGED
@@ -10,7 +10,7 @@ import { plainToInstance } from 'class-transformer';
10
10
  import { GraphQLError } from 'graphql';
11
11
  import { createHash } from 'crypto';
12
12
  import { InMemoryAgentRunner, CopilotRuntime as CopilotRuntime$1, createCopilotEndpointSingleRoute } from '@copilotkitnext/runtime';
13
- import { BasicAgent } from '@copilotkitnext/agent';
13
+ import { BuiltInAgent } from '@copilotkitnext/agent';
14
14
  import { useDeferStream } from '@graphql-yoga/plugin-defer-stream';
15
15
  import createPinoLogger from 'pino';
16
16
  import pretty from 'pino-pretty';
@@ -65,7 +65,7 @@ var require_package = __commonJS({
65
65
  publishConfig: {
66
66
  access: "public"
67
67
  },
68
- version: "1.50.1-next.2",
68
+ version: "1.50.1",
69
69
  sideEffects: false,
70
70
  main: "./dist/index.js",
71
71
  module: "./dist/index.mjs",
@@ -120,8 +120,8 @@ var require_package = __commonJS({
120
120
  "@ag-ui/core": "^0.0.42",
121
121
  "@ag-ui/langgraph": "^0.0.20",
122
122
  "@copilotkit/shared": "workspace:*",
123
- "@copilotkitnext/agent": "0.0.31",
124
- "@copilotkitnext/runtime": "0.0.31",
123
+ "@copilotkitnext/agent": "0.0.33",
124
+ "@copilotkitnext/runtime": "0.0.33",
125
125
  "@graphql-yoga/plugin-defer-stream": "^3.3.1",
126
126
  "@hono/node-server": "^1.13.5",
127
127
  "@scarf/scarf": "^1.3.0",
@@ -3511,7 +3511,7 @@ var CopilotRuntime = class {
3511
3511
  });
3512
3512
  }
3513
3513
  if (isAgentsListEmpty) {
3514
- agentsList.default = new BasicAgent({
3514
+ agentsList.default = new BuiltInAgent({
3515
3515
  model: `${serviceAdapter.provider}/${serviceAdapter.model}`
3516
3516
  });
3517
3517
  }
@@ -3657,7 +3657,7 @@ var CopilotRuntime = class {
3657
3657
  console.error("Error setting up logging for LLM response:", error);
3658
3658
  }
3659
3659
  }
3660
- // Resolve MCP tools to BasicAgent tool definitions
3660
+ // Resolve MCP tools to BuiltInAgent tool definitions
3661
3661
  // Optionally accepts request-scoped properties to merge request-provided mcpServers
3662
3662
  async getToolsFromMCP(options) {
3663
3663
  var _a, _b, _c, _d;