@inkeep/agents-run-api 0.31.2 → 0.31.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/dist/index.cjs +3 -7
- package/dist/index.js +3 -7
- package/package.json +5 -4
package/dist/index.cjs
CHANGED
|
@@ -39,9 +39,8 @@ var jmespath = require('jmespath');
|
|
|
39
39
|
var Ajv = require('ajv');
|
|
40
40
|
var destr = require('destr');
|
|
41
41
|
var traverse = require('traverse');
|
|
42
|
-
var mcp_js = require('@modelcontextprotocol
|
|
43
|
-
var streamableHttp_js = require('@modelcontextprotocol
|
|
44
|
-
var v3 = require('zod/v3');
|
|
42
|
+
var mcp_js = require('@alcyone-labs/modelcontextprotocol-sdk/server/mcp.js');
|
|
43
|
+
var streamableHttp_js = require('@alcyone-labs/modelcontextprotocol-sdk/server/streamableHttp.js');
|
|
45
44
|
var fetchToNode = require('fetch-to-node');
|
|
46
45
|
|
|
47
46
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -12574,9 +12573,6 @@ var chatDataStream_default = app3;
|
|
|
12574
12573
|
// src/routes/mcp.ts
|
|
12575
12574
|
init_dbClient();
|
|
12576
12575
|
init_logger();
|
|
12577
|
-
function createMCPSchema(schema) {
|
|
12578
|
-
return schema;
|
|
12579
|
-
}
|
|
12580
12576
|
var logger27 = agentsCore.getLogger("mcp");
|
|
12581
12577
|
var _MockResponseSingleton = class _MockResponseSingleton {
|
|
12582
12578
|
constructor() {
|
|
@@ -12788,7 +12784,7 @@ var getServer = async (headers2, executionContext, conversationId, credentialSto
|
|
|
12788
12784
|
"send-query-to-agent",
|
|
12789
12785
|
`Send a query to the ${agent.name} agent. The agent has the following description: ${agent.description}`,
|
|
12790
12786
|
{
|
|
12791
|
-
query:
|
|
12787
|
+
query: z6.z.string().describe("The query to send to the agent")
|
|
12792
12788
|
},
|
|
12793
12789
|
async ({ query }) => {
|
|
12794
12790
|
try {
|
package/dist/index.js
CHANGED
|
@@ -26,9 +26,8 @@ import jmespath from 'jmespath';
|
|
|
26
26
|
import Ajv from 'ajv';
|
|
27
27
|
import destr from 'destr';
|
|
28
28
|
import traverse from 'traverse';
|
|
29
|
-
import { McpServer } from '@modelcontextprotocol
|
|
30
|
-
import { StreamableHTTPServerTransport } from '@modelcontextprotocol
|
|
31
|
-
import { z as z$2 } from 'zod/v3';
|
|
29
|
+
import { McpServer } from '@alcyone-labs/modelcontextprotocol-sdk/server/mcp.js';
|
|
30
|
+
import { StreamableHTTPServerTransport } from '@alcyone-labs/modelcontextprotocol-sdk/server/streamableHttp.js';
|
|
32
31
|
import { toReqRes, toFetchResponse } from 'fetch-to-node';
|
|
33
32
|
|
|
34
33
|
// src/types/execution-context.ts
|
|
@@ -11077,9 +11076,6 @@ app3.openapi(chatDataStreamRoute, async (c) => {
|
|
|
11077
11076
|
}
|
|
11078
11077
|
});
|
|
11079
11078
|
var chatDataStream_default = app3;
|
|
11080
|
-
function createMCPSchema(schema) {
|
|
11081
|
-
return schema;
|
|
11082
|
-
}
|
|
11083
11079
|
var logger23 = getLogger("mcp");
|
|
11084
11080
|
var _MockResponseSingleton = class _MockResponseSingleton {
|
|
11085
11081
|
constructor() {
|
|
@@ -11291,7 +11287,7 @@ var getServer = async (headers2, executionContext, conversationId, credentialSto
|
|
|
11291
11287
|
"send-query-to-agent",
|
|
11292
11288
|
`Send a query to the ${agent.name} agent. The agent has the following description: ${agent.description}`,
|
|
11293
11289
|
{
|
|
11294
|
-
query:
|
|
11290
|
+
query: z.string().describe("The query to send to the agent")
|
|
11295
11291
|
},
|
|
11296
11292
|
async ({ query }) => {
|
|
11297
11293
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-run-api",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.3",
|
|
4
4
|
"description": "Agents Run API for Inkeep Agent Framework - handles chat, agent execution, and streaming",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"@ai-sdk/google": "^2.0.14",
|
|
20
20
|
"@ai-sdk/openai": "2.0.11",
|
|
21
21
|
"@ai-sdk/react": "2.0.11",
|
|
22
|
+
"@alcyone-labs/modelcontextprotocol-sdk": "^1.16.0",
|
|
22
23
|
"@hono/node-server": "^1.14.3",
|
|
23
24
|
"@hono/otel": "^0.4.0",
|
|
24
25
|
"@hono/swagger-ui": "^0.5.1",
|
|
25
26
|
"@hono/zod-openapi": "^1.0.2",
|
|
26
|
-
"@modelcontextprotocol/sdk": "^1.17.2",
|
|
27
27
|
"@openrouter/ai-sdk-provider": "^1.2.0",
|
|
28
28
|
"@opentelemetry/api": "^1.9.0",
|
|
29
29
|
"@opentelemetry/auto-instrumentations-node": "^0.64.1",
|
|
@@ -47,12 +47,13 @@
|
|
|
47
47
|
"fetch-to-node": "^2.1.0",
|
|
48
48
|
"hono": "^4.10.3",
|
|
49
49
|
"jmespath": "^0.16.0",
|
|
50
|
+
"json-schema-to-zod": "^2.6.1",
|
|
50
51
|
"nanoid": "^5.1.5",
|
|
51
52
|
"pino": "^9.11.0",
|
|
52
53
|
"traverse": "^0.6.11",
|
|
53
54
|
"ts-pattern": "^5.7.1",
|
|
54
|
-
"zod": "
|
|
55
|
-
"@inkeep/agents-core": "^0.31.
|
|
55
|
+
"zod": "4.1.5",
|
|
56
|
+
"@inkeep/agents-core": "^0.31.3"
|
|
56
57
|
},
|
|
57
58
|
"optionalDependencies": {
|
|
58
59
|
"keytar": "^7.9.0"
|