@inkeep/agents-run-api 0.0.0-dev-20251012045242 → 0.0.0-dev-20251012052609
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 +7 -7
- package/dist/index.js +7 -7
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -10906,7 +10906,7 @@ var chatCompletionsRoute = zodOpenapi.createRoute({
|
|
|
10906
10906
|
path: "/completions",
|
|
10907
10907
|
tags: ["chat"],
|
|
10908
10908
|
summary: "Create chat completion",
|
|
10909
|
-
description: "Creates a new chat completion with streaming SSE response using the configured agent
|
|
10909
|
+
description: "Creates a new chat completion with streaming SSE response using the configured agent",
|
|
10910
10910
|
security: [{ bearerAuth: [] }],
|
|
10911
10911
|
request: {
|
|
10912
10912
|
body: {
|
|
@@ -10981,7 +10981,7 @@ var chatCompletionsRoute = zodOpenapi.createRoute({
|
|
|
10981
10981
|
}
|
|
10982
10982
|
},
|
|
10983
10983
|
404: {
|
|
10984
|
-
description: "Agent
|
|
10984
|
+
description: "Agent or agent not found",
|
|
10985
10985
|
content: {
|
|
10986
10986
|
"application/json": {
|
|
10987
10987
|
schema: z6.z.object({
|
|
@@ -11061,7 +11061,7 @@ app2.openapi(chatCompletionsRoute, async (c) => {
|
|
|
11061
11061
|
if (!agent) {
|
|
11062
11062
|
throw agentsCore.createApiError({
|
|
11063
11063
|
code: "not_found",
|
|
11064
|
-
message: "Agent
|
|
11064
|
+
message: "Agent not found"
|
|
11065
11065
|
});
|
|
11066
11066
|
}
|
|
11067
11067
|
defaultSubAgentId = agent.defaultSubAgentId || "";
|
|
@@ -11307,7 +11307,7 @@ app3.openapi(chatDataStreamRoute, async (c) => {
|
|
|
11307
11307
|
if (!agent) {
|
|
11308
11308
|
throw agentsCore.createApiError({
|
|
11309
11309
|
code: "not_found",
|
|
11310
|
-
message: "Agent
|
|
11310
|
+
message: "Agent not found"
|
|
11311
11311
|
});
|
|
11312
11312
|
}
|
|
11313
11313
|
const defaultSubAgentId = agent.defaultSubAgentId;
|
|
@@ -11632,7 +11632,7 @@ var getServer = async (headers, executionContext, conversationId, credentialStor
|
|
|
11632
11632
|
scopes: { tenantId, projectId, agentId }
|
|
11633
11633
|
});
|
|
11634
11634
|
if (!agent) {
|
|
11635
|
-
throw new Error("Agent
|
|
11635
|
+
throw new Error("Agent not found");
|
|
11636
11636
|
}
|
|
11637
11637
|
const server = new mcp_js.McpServer(
|
|
11638
11638
|
{
|
|
@@ -11756,7 +11756,7 @@ var handleInitializationRequest = async (body, executionContext, validatedContex
|
|
|
11756
11756
|
return c.json(
|
|
11757
11757
|
{
|
|
11758
11758
|
jsonrpc: "2.0",
|
|
11759
|
-
error: { code: -32001, message: "Agent
|
|
11759
|
+
error: { code: -32001, message: "Agent not found" },
|
|
11760
11760
|
id: body.id || null
|
|
11761
11761
|
},
|
|
11762
11762
|
{ status: 404 }
|
|
@@ -11888,7 +11888,7 @@ app4.openapi(
|
|
|
11888
11888
|
description: "Unauthorized - API key authentication required"
|
|
11889
11889
|
},
|
|
11890
11890
|
404: {
|
|
11891
|
-
description: "Not Found - Agent
|
|
11891
|
+
description: "Not Found - Agent not found"
|
|
11892
11892
|
},
|
|
11893
11893
|
500: {
|
|
11894
11894
|
description: "Internal Server Error"
|
package/dist/index.js
CHANGED
|
@@ -9952,7 +9952,7 @@ var chatCompletionsRoute = createRoute({
|
|
|
9952
9952
|
path: "/completions",
|
|
9953
9953
|
tags: ["chat"],
|
|
9954
9954
|
summary: "Create chat completion",
|
|
9955
|
-
description: "Creates a new chat completion with streaming SSE response using the configured agent
|
|
9955
|
+
description: "Creates a new chat completion with streaming SSE response using the configured agent",
|
|
9956
9956
|
security: [{ bearerAuth: [] }],
|
|
9957
9957
|
request: {
|
|
9958
9958
|
body: {
|
|
@@ -10027,7 +10027,7 @@ var chatCompletionsRoute = createRoute({
|
|
|
10027
10027
|
}
|
|
10028
10028
|
},
|
|
10029
10029
|
404: {
|
|
10030
|
-
description: "Agent
|
|
10030
|
+
description: "Agent or agent not found",
|
|
10031
10031
|
content: {
|
|
10032
10032
|
"application/json": {
|
|
10033
10033
|
schema: z.object({
|
|
@@ -10107,7 +10107,7 @@ app2.openapi(chatCompletionsRoute, async (c) => {
|
|
|
10107
10107
|
if (!agent) {
|
|
10108
10108
|
throw createApiError({
|
|
10109
10109
|
code: "not_found",
|
|
10110
|
-
message: "Agent
|
|
10110
|
+
message: "Agent not found"
|
|
10111
10111
|
});
|
|
10112
10112
|
}
|
|
10113
10113
|
defaultSubAgentId = agent.defaultSubAgentId || "";
|
|
@@ -10349,7 +10349,7 @@ app3.openapi(chatDataStreamRoute, async (c) => {
|
|
|
10349
10349
|
if (!agent) {
|
|
10350
10350
|
throw createApiError({
|
|
10351
10351
|
code: "not_found",
|
|
10352
|
-
message: "Agent
|
|
10352
|
+
message: "Agent not found"
|
|
10353
10353
|
});
|
|
10354
10354
|
}
|
|
10355
10355
|
const defaultSubAgentId = agent.defaultSubAgentId;
|
|
@@ -10670,7 +10670,7 @@ var getServer = async (headers, executionContext, conversationId, credentialStor
|
|
|
10670
10670
|
scopes: { tenantId, projectId, agentId }
|
|
10671
10671
|
});
|
|
10672
10672
|
if (!agent) {
|
|
10673
|
-
throw new Error("Agent
|
|
10673
|
+
throw new Error("Agent not found");
|
|
10674
10674
|
}
|
|
10675
10675
|
const server = new McpServer(
|
|
10676
10676
|
{
|
|
@@ -10794,7 +10794,7 @@ var handleInitializationRequest = async (body, executionContext, validatedContex
|
|
|
10794
10794
|
return c.json(
|
|
10795
10795
|
{
|
|
10796
10796
|
jsonrpc: "2.0",
|
|
10797
|
-
error: { code: -32001, message: "Agent
|
|
10797
|
+
error: { code: -32001, message: "Agent not found" },
|
|
10798
10798
|
id: body.id || null
|
|
10799
10799
|
},
|
|
10800
10800
|
{ status: 404 }
|
|
@@ -10926,7 +10926,7 @@ app4.openapi(
|
|
|
10926
10926
|
description: "Unauthorized - API key authentication required"
|
|
10927
10927
|
},
|
|
10928
10928
|
404: {
|
|
10929
|
-
description: "Not Found - Agent
|
|
10929
|
+
description: "Not Found - Agent not found"
|
|
10930
10930
|
},
|
|
10931
10931
|
500: {
|
|
10932
10932
|
description: "Internal Server Error"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-run-api",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20251012052609",
|
|
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",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"traverse": "^0.6.11",
|
|
52
52
|
"ts-pattern": "^5.7.1",
|
|
53
53
|
"zod": "^4.1.11",
|
|
54
|
-
"@inkeep/agents-core": "^0.0.0-dev-
|
|
54
|
+
"@inkeep/agents-core": "^0.0.0-dev-20251012052609"
|
|
55
55
|
},
|
|
56
56
|
"optionalDependencies": {
|
|
57
57
|
"keytar": "^7.9.0"
|