@inkeep/agents-api 0.0.0-dev-20260127183929 → 0.0.0-dev-20260127191720
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/.well-known/workflow/v1/manifest.debug.json +21 -21
- package/dist/data/db/manageDbClient.d.ts +2 -2
- package/dist/data/db/runDbClient.d.ts +2 -2
- package/dist/domains/evals/routes/datasetTriggers.d.ts +2 -2
- package/dist/domains/evals/routes/index.d.ts +2 -2
- package/dist/domains/evals/workflow/routes.d.ts +2 -2
- package/dist/domains/github/index.d.ts +3 -3
- package/dist/domains/github/routes/tokenExchange.d.ts +2 -2
- package/dist/domains/manage/routes/agent.js +2 -2
- package/dist/domains/manage/routes/agentFull.js +4 -4
- package/dist/domains/manage/routes/agentToolRelations.js +6 -6
- package/dist/domains/manage/routes/conversations.d.ts +2 -2
- package/dist/domains/manage/routes/credentials.js +5 -5
- package/dist/domains/manage/routes/evals/evaluationResults.d.ts +2 -2
- package/dist/domains/manage/routes/index.d.ts +2 -2
- package/dist/domains/manage/routes/mcp.d.ts +2 -2
- package/dist/domains/manage/routes/projectFull.js +5 -5
- package/dist/domains/manage/routes/signoz.d.ts +2 -2
- package/dist/domains/manage/routes/subAgentArtifactComponents.js +5 -5
- package/dist/domains/manage/routes/subAgentDataComponents.js +5 -5
- package/dist/domains/manage/routes/subAgentExternalAgentRelations.js +5 -5
- package/dist/domains/manage/routes/subAgentFunctionTools.js +5 -5
- package/dist/domains/manage/routes/subAgentRelations.js +5 -5
- package/dist/domains/manage/routes/subAgentTeamAgentRelations.js +5 -5
- package/dist/domains/manage/routes/subAgentToolRelations.js +6 -6
- package/dist/domains/manage/routes/subAgents.js +5 -5
- package/dist/domains/mcp/routes/mcp.d.ts +2 -2
- package/dist/domains/run/agents/relationTools.d.ts +2 -2
- package/dist/domains/run/utils/token-estimator.d.ts +2 -2
- package/dist/middleware/evalsAuth.d.ts +2 -2
- package/dist/middleware/manageAuth.d.ts +2 -2
- package/dist/middleware/projectAccess.d.ts +2 -2
- package/dist/middleware/projectConfig.d.ts +3 -3
- package/dist/middleware/requirePermission.d.ts +2 -2
- package/dist/middleware/runAuth.d.ts +4 -4
- package/dist/middleware/sessionAuth.d.ts +3 -3
- package/dist/middleware/tenantAccess.d.ts +2 -2
- package/dist/middleware/tracing.d.ts +3 -3
- package/dist/openapi.d.ts +2 -12
- package/dist/openapi.js +2 -12
- package/package.json +4 -4
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"steps": {
|
|
3
|
-
"src/domains/evals/workflow/functions/
|
|
4
|
-
"
|
|
5
|
-
"stepId": "step//src/domains/evals/workflow/functions/
|
|
3
|
+
"src/domains/evals/workflow/functions/evaluateConversation.ts": {
|
|
4
|
+
"executeEvaluatorStep": {
|
|
5
|
+
"stepId": "step//src/domains/evals/workflow/functions/evaluateConversation.ts//executeEvaluatorStep"
|
|
6
6
|
},
|
|
7
|
-
"
|
|
8
|
-
"stepId": "step//src/domains/evals/workflow/functions/
|
|
7
|
+
"getConversationStep": {
|
|
8
|
+
"stepId": "step//src/domains/evals/workflow/functions/evaluateConversation.ts//getConversationStep"
|
|
9
9
|
},
|
|
10
|
-
"
|
|
11
|
-
"stepId": "step//src/domains/evals/workflow/functions/
|
|
10
|
+
"getEvaluatorsStep": {
|
|
11
|
+
"stepId": "step//src/domains/evals/workflow/functions/evaluateConversation.ts//getEvaluatorsStep"
|
|
12
12
|
},
|
|
13
13
|
"logStep": {
|
|
14
|
-
"stepId": "step//src/domains/evals/workflow/functions/
|
|
14
|
+
"stepId": "step//src/domains/evals/workflow/functions/evaluateConversation.ts//logStep"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"node_modules/.pnpm/workflow@4.0.1-beta.33_@aws-sdk+client-sts@3.970.0_@opentelemetry+api@1.9.0_@types+reac_d0e39273ec53983ee1a59c0952eb17f2/node_modules/workflow/dist/internal/builtins.js": {
|
|
@@ -25,31 +25,31 @@
|
|
|
25
25
|
"stepId": "__builtin_response_text"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
|
-
"src/domains/evals/workflow/functions/
|
|
29
|
-
"
|
|
30
|
-
"stepId": "step//src/domains/evals/workflow/functions/
|
|
28
|
+
"src/domains/evals/workflow/functions/runDatasetItem.ts": {
|
|
29
|
+
"callChatApiStep": {
|
|
30
|
+
"stepId": "step//src/domains/evals/workflow/functions/runDatasetItem.ts//callChatApiStep"
|
|
31
31
|
},
|
|
32
|
-
"
|
|
33
|
-
"stepId": "step//src/domains/evals/workflow/functions/
|
|
32
|
+
"createRelationStep": {
|
|
33
|
+
"stepId": "step//src/domains/evals/workflow/functions/runDatasetItem.ts//createRelationStep"
|
|
34
34
|
},
|
|
35
|
-
"
|
|
36
|
-
"stepId": "step//src/domains/evals/workflow/functions/
|
|
35
|
+
"executeEvaluatorStep": {
|
|
36
|
+
"stepId": "step//src/domains/evals/workflow/functions/runDatasetItem.ts//executeEvaluatorStep"
|
|
37
37
|
},
|
|
38
38
|
"logStep": {
|
|
39
|
-
"stepId": "step//src/domains/evals/workflow/functions/
|
|
39
|
+
"stepId": "step//src/domains/evals/workflow/functions/runDatasetItem.ts//logStep"
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"workflows": {
|
|
44
|
-
"src/domains/evals/workflow/functions/evaluateConversation.ts": {
|
|
45
|
-
"_evaluateConversationWorkflow": {
|
|
46
|
-
"workflowId": "workflow//src/domains/evals/workflow/functions/evaluateConversation.ts//_evaluateConversationWorkflow"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
44
|
"src/domains/evals/workflow/functions/runDatasetItem.ts": {
|
|
50
45
|
"_runDatasetItemWorkflow": {
|
|
51
46
|
"workflowId": "workflow//src/domains/evals/workflow/functions/runDatasetItem.ts//_runDatasetItemWorkflow"
|
|
52
47
|
}
|
|
48
|
+
},
|
|
49
|
+
"src/domains/evals/workflow/functions/evaluateConversation.ts": {
|
|
50
|
+
"_evaluateConversationWorkflow": {
|
|
51
|
+
"workflowId": "workflow//src/domains/evals/workflow/functions/evaluateConversation.ts//_evaluateConversationWorkflow"
|
|
52
|
+
}
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _inkeep_agents_core0 from "@inkeep/agents-core";
|
|
2
2
|
|
|
3
3
|
//#region src/data/db/manageDbClient.d.ts
|
|
4
|
-
declare const manageDbClient:
|
|
4
|
+
declare const manageDbClient: _inkeep_agents_core0.AgentsManageDatabaseClient;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { manageDbClient as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _inkeep_agents_core0 from "@inkeep/agents-core";
|
|
2
2
|
|
|
3
3
|
//#region src/data/db/runDbClient.d.ts
|
|
4
|
-
declare const runDbClient:
|
|
4
|
+
declare const runDbClient: _inkeep_agents_core0.AgentsRunDatabaseClient;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { runDbClient as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OpenAPIHono } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono15 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/evals/routes/datasetTriggers.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono15.Env, {}, "/">;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { app as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OpenAPIHono } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono3 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/evals/routes/index.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono3.Env, {}, "/">;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { app as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Hono } from "hono";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono_types11 from "hono/types";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/evals/workflow/routes.d.ts
|
|
5
|
-
declare const workflowRoutes: Hono<
|
|
5
|
+
declare const workflowRoutes: Hono<hono_types11.BlankEnv, hono_types11.BlankSchema, "/">;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { workflowRoutes };
|
|
@@ -3,10 +3,10 @@ import { GenerateInstallationAccessTokenResult, GenerateTokenError, GenerateToke
|
|
|
3
3
|
import { GetJwkResult, JwksError, JwksResult, clearJwksCache, getJwkForToken, getJwksCacheStatus } from "./jwks.js";
|
|
4
4
|
import { GitHubOidcClaims, ValidateOidcTokenResult, ValidateTokenError, ValidateTokenResult, validateOidcToken } from "./oidcToken.js";
|
|
5
5
|
import { Hono } from "hono";
|
|
6
|
-
import * as
|
|
6
|
+
import * as hono_types5 from "hono/types";
|
|
7
7
|
|
|
8
8
|
//#region src/domains/github/index.d.ts
|
|
9
|
-
declare function createGithubRoutes(): Hono<
|
|
10
|
-
declare const githubRoutes: Hono<
|
|
9
|
+
declare function createGithubRoutes(): Hono<hono_types5.BlankEnv, hono_types5.BlankSchema, "/">;
|
|
10
|
+
declare const githubRoutes: Hono<hono_types5.BlankEnv, hono_types5.BlankSchema, "/">;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { type GenerateInstallationAccessTokenResult, type GenerateTokenError, type GenerateTokenResult, type GetJwkResult, type GitHubAppConfig, type GitHubOidcClaims, type InstallationAccessToken, type InstallationInfo, type JwksError, type JwksResult, type LookupInstallationError, type LookupInstallationForRepoResult, type LookupInstallationResult, type ValidateOidcTokenResult, type ValidateTokenError, type ValidateTokenResult, clearJwksCache, createGithubRoutes, generateInstallationAccessToken, getGitHubAppConfig, getJwkForToken, getJwksCacheStatus, githubRoutes, isGitHubAppConfigured, lookupInstallationForRepo, validateOidcToken };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Hono } from "hono";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono_types9 from "hono/types";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/github/routes/tokenExchange.d.ts
|
|
5
|
-
declare const app: Hono<
|
|
5
|
+
declare const app: Hono<hono_types9.BlankEnv, hono_types9.BlankSchema, "/">;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { app as default };
|
|
@@ -85,7 +85,7 @@ app.openapi(createRoute({
|
|
|
85
85
|
path: "/{agentId}/sub-agents/{subAgentId}/related",
|
|
86
86
|
summary: "Get Related Agent Infos",
|
|
87
87
|
operationId: "get-related-agent-infos",
|
|
88
|
-
tags: ["
|
|
88
|
+
tags: ["Agents"],
|
|
89
89
|
request: { params: TenantProjectAgentSubAgentParamsSchema },
|
|
90
90
|
responses: {
|
|
91
91
|
200: {
|
|
@@ -119,7 +119,7 @@ app.openapi(createRoute({
|
|
|
119
119
|
path: "/{agentId}/full",
|
|
120
120
|
summary: "Get Full Agent Definition",
|
|
121
121
|
operationId: "get-full-agent-definition",
|
|
122
|
-
tags: ["
|
|
122
|
+
tags: ["Agents"],
|
|
123
123
|
request: { params: TenantProjectAgentParamsSchema },
|
|
124
124
|
responses: {
|
|
125
125
|
200: {
|
|
@@ -24,7 +24,7 @@ app.openapi(createRoute({
|
|
|
24
24
|
path: "/",
|
|
25
25
|
summary: "Create Full Agent",
|
|
26
26
|
operationId: "create-full-agent",
|
|
27
|
-
tags: ["
|
|
27
|
+
tags: ["Agents"],
|
|
28
28
|
description: "Create a complete agent with all agents, tools, and relationships from JSON definition",
|
|
29
29
|
request: {
|
|
30
30
|
params: TenantProjectParamsSchema,
|
|
@@ -57,7 +57,7 @@ app.openapi(createRoute({
|
|
|
57
57
|
path: "/{agentId}",
|
|
58
58
|
summary: "Get Full Agent",
|
|
59
59
|
operationId: "get-full-agent",
|
|
60
|
-
tags: ["
|
|
60
|
+
tags: ["Agents"],
|
|
61
61
|
description: "Retrieve a complete agent definition with all agents, tools, and relationships",
|
|
62
62
|
request: { params: TenantProjectAgentParamsSchema },
|
|
63
63
|
responses: {
|
|
@@ -97,7 +97,7 @@ app.openapi(createRoute({
|
|
|
97
97
|
path: "/{agentId}",
|
|
98
98
|
summary: "Update Full Agent",
|
|
99
99
|
operationId: "update-full-agent",
|
|
100
|
-
tags: ["
|
|
100
|
+
tags: ["Agents"],
|
|
101
101
|
description: "Update or create a complete agent with all agents, tools, and relationships from JSON definition",
|
|
102
102
|
request: {
|
|
103
103
|
params: TenantProjectAgentParamsSchema,
|
|
@@ -158,7 +158,7 @@ app.openapi(createRoute({
|
|
|
158
158
|
path: "/{agentId}",
|
|
159
159
|
summary: "Delete Full Agent",
|
|
160
160
|
operationId: "delete-full-agent",
|
|
161
|
-
tags: ["
|
|
161
|
+
tags: ["Agents"],
|
|
162
162
|
description: "Delete a complete agent and cascade to all related entities (relationships, not other agents/tools)",
|
|
163
163
|
request: { params: TenantProjectAgentParamsSchema },
|
|
164
164
|
responses: {
|
|
@@ -22,7 +22,7 @@ app.openapi(createRoute({
|
|
|
22
22
|
path: "/",
|
|
23
23
|
summary: "List Agent Tool Relations",
|
|
24
24
|
operationId: "list-agent-tool-relations",
|
|
25
|
-
tags: ["
|
|
25
|
+
tags: ["Agents", "Tools"],
|
|
26
26
|
request: {
|
|
27
27
|
params: TenantProjectAgentParamsSchema,
|
|
28
28
|
query: PaginationQueryParamsSchema.extend({
|
|
@@ -101,7 +101,7 @@ app.openapi(createRoute({
|
|
|
101
101
|
path: "/{id}",
|
|
102
102
|
summary: "Get Agent Tool Relation",
|
|
103
103
|
operationId: "get-agent-tool-relation",
|
|
104
|
-
tags: ["Agent
|
|
104
|
+
tags: ["Agent", "Tools"],
|
|
105
105
|
request: { params: TenantProjectAgentIdParamsSchema },
|
|
106
106
|
responses: {
|
|
107
107
|
200: {
|
|
@@ -133,7 +133,7 @@ app.openapi(createRoute({
|
|
|
133
133
|
path: "/tool/{toolId}/agents",
|
|
134
134
|
summary: "Get Agents for Tool",
|
|
135
135
|
operationId: "get-agents-for-tool",
|
|
136
|
-
tags: ["Agent
|
|
136
|
+
tags: ["Agent", "Tools"],
|
|
137
137
|
request: {
|
|
138
138
|
params: TenantProjectAgentParamsSchema.extend({ toolId: z.string() }),
|
|
139
139
|
query: PaginationQueryParamsSchema
|
|
@@ -168,7 +168,7 @@ app.openapi(createRoute({
|
|
|
168
168
|
path: "/",
|
|
169
169
|
summary: "Create Agent Tool Relation",
|
|
170
170
|
operationId: "create-agent-tool-relation",
|
|
171
|
-
tags: ["Agent
|
|
171
|
+
tags: ["Agent", "Tools"],
|
|
172
172
|
request: {
|
|
173
173
|
params: TenantProjectAgentParamsSchema,
|
|
174
174
|
body: { content: { "application/json": { schema: SubAgentToolRelationApiInsertSchema } } }
|
|
@@ -221,7 +221,7 @@ app.openapi(createRoute({
|
|
|
221
221
|
path: "/{id}",
|
|
222
222
|
summary: "Update Agent Tool Relation",
|
|
223
223
|
operationId: "update-agent-tool-relation",
|
|
224
|
-
tags: ["Agent
|
|
224
|
+
tags: ["Agent", "Tools"],
|
|
225
225
|
request: {
|
|
226
226
|
params: TenantProjectAgentIdParamsSchema,
|
|
227
227
|
body: { content: { "application/json": { schema: SubAgentToolRelationApiUpdateSchema } } }
|
|
@@ -261,7 +261,7 @@ app.openapi(createRoute({
|
|
|
261
261
|
path: "/{id}",
|
|
262
262
|
summary: "Delete Agent Tool Relation",
|
|
263
263
|
operationId: "delete-agent-tool-relation",
|
|
264
|
-
tags: ["Agent
|
|
264
|
+
tags: ["Agent", "Tools"],
|
|
265
265
|
request: { params: TenantProjectAgentIdParamsSchema },
|
|
266
266
|
responses: {
|
|
267
267
|
204: { description: "Agent tool relation deleted successfully" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OpenAPIHono } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono16 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/conversations.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono16.Env, {}, "/">;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { app as default };
|
|
@@ -18,7 +18,7 @@ app.openapi(createRoute({
|
|
|
18
18
|
path: "/",
|
|
19
19
|
summary: "List Credentials",
|
|
20
20
|
operationId: "list-credentials",
|
|
21
|
-
tags: ["
|
|
21
|
+
tags: ["Credentials"],
|
|
22
22
|
request: {
|
|
23
23
|
params: TenantProjectParamsSchema,
|
|
24
24
|
query: PaginationQueryParamsSchema
|
|
@@ -54,7 +54,7 @@ app.openapi(createRoute({
|
|
|
54
54
|
path: "/{id}",
|
|
55
55
|
summary: "Get Credential",
|
|
56
56
|
operationId: "get-credential-by-id",
|
|
57
|
-
tags: ["
|
|
57
|
+
tags: ["Credentials"],
|
|
58
58
|
request: { params: TenantProjectIdParamsSchema },
|
|
59
59
|
responses: {
|
|
60
60
|
200: {
|
|
@@ -84,7 +84,7 @@ app.openapi(createRoute({
|
|
|
84
84
|
path: "/",
|
|
85
85
|
summary: "Create Credential",
|
|
86
86
|
operationId: "create-credential",
|
|
87
|
-
tags: ["
|
|
87
|
+
tags: ["Credentials"],
|
|
88
88
|
request: {
|
|
89
89
|
params: TenantProjectParamsSchema,
|
|
90
90
|
body: { content: { "application/json": { schema: CredentialReferenceApiInsertSchema } } }
|
|
@@ -113,7 +113,7 @@ app.openapi(createRoute({
|
|
|
113
113
|
path: "/{id}",
|
|
114
114
|
summary: "Update Credential",
|
|
115
115
|
operationId: "update-credential",
|
|
116
|
-
tags: ["
|
|
116
|
+
tags: ["Credentials"],
|
|
117
117
|
request: {
|
|
118
118
|
params: TenantProjectIdParamsSchema,
|
|
119
119
|
body: { content: { "application/json": { schema: CredentialReferenceApiUpdateSchema } } }
|
|
@@ -149,7 +149,7 @@ app.openapi(createRoute({
|
|
|
149
149
|
path: "/{id}",
|
|
150
150
|
summary: "Delete Credential",
|
|
151
151
|
operationId: "delete-credential",
|
|
152
|
-
tags: ["
|
|
152
|
+
tags: ["Credentials"],
|
|
153
153
|
request: { params: TenantProjectIdParamsSchema },
|
|
154
154
|
responses: {
|
|
155
155
|
204: { description: "Credential deleted successfully" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OpenAPIHono } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono18 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/evals/evaluationResults.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono18.Env, {}, "/">;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { app as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OpenAPIHono } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono17 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/index.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono17.Env, {}, "/">;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { app as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Hono } from "hono";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono_types13 from "hono/types";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/mcp.d.ts
|
|
5
|
-
declare const app: Hono<
|
|
5
|
+
declare const app: Hono<hono_types13.BlankEnv, hono_types13.BlankSchema, "/">;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { app as default };
|
|
@@ -40,7 +40,7 @@ app.openapi(createRoute({
|
|
|
40
40
|
path: "/project-full",
|
|
41
41
|
summary: "Create Full Project",
|
|
42
42
|
operationId: "create-full-project",
|
|
43
|
-
tags: ["
|
|
43
|
+
tags: ["Projects"],
|
|
44
44
|
description: "Create a complete project with all Agents, Sub Agents, tools, and relationships from JSON definition",
|
|
45
45
|
request: {
|
|
46
46
|
params: TenantParamsSchema,
|
|
@@ -107,7 +107,7 @@ app.openapi(createRoute({
|
|
|
107
107
|
path: "/project-full/{projectId}",
|
|
108
108
|
summary: "Get Full Project",
|
|
109
109
|
operationId: "get-full-project",
|
|
110
|
-
tags: ["
|
|
110
|
+
tags: ["Projects"],
|
|
111
111
|
description: "Retrieve a complete project definition with all Agents, Sub Agents, tools, and relationships",
|
|
112
112
|
request: { params: TenantProjectParamsSchema },
|
|
113
113
|
responses: {
|
|
@@ -146,7 +146,7 @@ app.openapi(createRoute({
|
|
|
146
146
|
path: "/project-full/{projectId}/with-relation-ids",
|
|
147
147
|
summary: "Get Full Project with Relation IDs",
|
|
148
148
|
operationId: "get-full-project-with-relation-ids",
|
|
149
|
-
tags: ["
|
|
149
|
+
tags: ["Projects"],
|
|
150
150
|
description: "Retrieve a complete project definition with all Agents, Sub Agents, tools, and relationships",
|
|
151
151
|
request: { params: TenantProjectParamsSchema },
|
|
152
152
|
responses: {
|
|
@@ -189,7 +189,7 @@ app.openapi(createRoute({
|
|
|
189
189
|
path: "/project-full/{projectId}",
|
|
190
190
|
summary: "Update Full Project",
|
|
191
191
|
operationId: "update-full-project",
|
|
192
|
-
tags: ["
|
|
192
|
+
tags: ["Projects"],
|
|
193
193
|
description: "Update or create a complete project with all Agents, Sub Agents, tools, and relationships from JSON definition",
|
|
194
194
|
request: {
|
|
195
195
|
params: TenantProjectParamsSchema,
|
|
@@ -272,7 +272,7 @@ app.openapi(createRoute({
|
|
|
272
272
|
path: "/project-full/{projectId}",
|
|
273
273
|
summary: "Delete Full Project",
|
|
274
274
|
operationId: "delete-full-project",
|
|
275
|
-
tags: ["
|
|
275
|
+
tags: ["Projects"],
|
|
276
276
|
description: "Delete a complete project and cascade to all related entities (Agents, Sub Agents, tools, relationships)",
|
|
277
277
|
request: { params: TenantProjectParamsSchema },
|
|
278
278
|
responses: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ManageAppVariables } from "../../../types/app.js";
|
|
2
2
|
import { Hono } from "hono";
|
|
3
|
-
import * as
|
|
3
|
+
import * as hono_types15 from "hono/types";
|
|
4
4
|
|
|
5
5
|
//#region src/domains/manage/routes/signoz.d.ts
|
|
6
6
|
declare const app: Hono<{
|
|
7
7
|
Variables: ManageAppVariables;
|
|
8
|
-
},
|
|
8
|
+
}, hono_types15.BlankSchema, "/">;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { app as default };
|
|
@@ -17,7 +17,7 @@ app.openapi(createRoute({
|
|
|
17
17
|
path: "/agent/{subAgentId}",
|
|
18
18
|
summary: "Get Artifact Components for Agent",
|
|
19
19
|
operationId: "get-artifact-components-for-agent",
|
|
20
|
-
tags: ["
|
|
20
|
+
tags: ["Agents", "Artifact Components"],
|
|
21
21
|
request: { params: TenantProjectAgentSubAgentParamsSchema },
|
|
22
22
|
responses: {
|
|
23
23
|
200: {
|
|
@@ -42,7 +42,7 @@ app.openapi(createRoute({
|
|
|
42
42
|
path: "/component/{artifactComponentId}/agents",
|
|
43
43
|
summary: "Get Agents Using Artifact Component",
|
|
44
44
|
operationId: "get-agents-using-artifact-component",
|
|
45
|
-
tags: ["
|
|
45
|
+
tags: ["Agents", "Artifact Components"],
|
|
46
46
|
request: { params: TenantProjectAgentParamsSchema.extend({ artifactComponentId: z.string() }) },
|
|
47
47
|
responses: {
|
|
48
48
|
200: {
|
|
@@ -68,7 +68,7 @@ app.openapi(createRoute({
|
|
|
68
68
|
path: "/",
|
|
69
69
|
summary: "Associate Artifact Component with Agent",
|
|
70
70
|
operationId: "associate-artifact-component-with-agent",
|
|
71
|
-
tags: ["
|
|
71
|
+
tags: ["Agents", "Artifact Components"],
|
|
72
72
|
request: {
|
|
73
73
|
params: TenantProjectAgentParamsSchema,
|
|
74
74
|
body: { content: { "application/json": { schema: SubAgentArtifactComponentApiInsertSchema } } }
|
|
@@ -139,7 +139,7 @@ app.openapi(createRoute({
|
|
|
139
139
|
path: "/agent/{subAgentId}/component/{artifactComponentId}",
|
|
140
140
|
summary: "Remove Artifact Component from Agent",
|
|
141
141
|
operationId: "remove-artifact-component-from-agent",
|
|
142
|
-
tags: ["
|
|
142
|
+
tags: ["Agents", "Artifact Components"],
|
|
143
143
|
request: { params: TenantProjectAgentSubAgentParamsSchema.extend({ artifactComponentId: z.string() }) },
|
|
144
144
|
responses: {
|
|
145
145
|
200: {
|
|
@@ -173,7 +173,7 @@ app.openapi(createRoute({
|
|
|
173
173
|
path: "/agent/{subAgentId}/component/{artifactComponentId}/exists",
|
|
174
174
|
summary: "Check if Artifact Component is Associated with Agent",
|
|
175
175
|
operationId: "check-artifact-component-agent-association",
|
|
176
|
-
tags: ["
|
|
176
|
+
tags: ["Agents", "Artifact Components"],
|
|
177
177
|
request: { params: TenantProjectAgentSubAgentParamsSchema.extend({ artifactComponentId: z.string() }) },
|
|
178
178
|
responses: {
|
|
179
179
|
200: {
|
|
@@ -17,7 +17,7 @@ app.openapi(createRoute({
|
|
|
17
17
|
path: "/agent/{subAgentId}",
|
|
18
18
|
summary: "Get Data Components for Agent",
|
|
19
19
|
operationId: "get-data-components-for-agent",
|
|
20
|
-
tags: ["
|
|
20
|
+
tags: ["Agents", "Data Components"],
|
|
21
21
|
request: { params: TenantProjectAgentSubAgentParamsSchema },
|
|
22
22
|
responses: {
|
|
23
23
|
200: {
|
|
@@ -42,7 +42,7 @@ app.openapi(createRoute({
|
|
|
42
42
|
path: "/component/{dataComponentId}/agents",
|
|
43
43
|
summary: "Get Agents Using Data Component",
|
|
44
44
|
operationId: "get-agents-using-data-component",
|
|
45
|
-
tags: ["
|
|
45
|
+
tags: ["Agents", "Data Components"],
|
|
46
46
|
request: { params: TenantProjectAgentParamsSchema.extend({ dataComponentId: z.string() }) },
|
|
47
47
|
responses: {
|
|
48
48
|
200: {
|
|
@@ -68,7 +68,7 @@ app.openapi(createRoute({
|
|
|
68
68
|
path: "/",
|
|
69
69
|
summary: "Associate Data Component with Agent",
|
|
70
70
|
operationId: "associate-data-component-with-agent",
|
|
71
|
-
tags: ["
|
|
71
|
+
tags: ["Agents", "Data Components"],
|
|
72
72
|
request: {
|
|
73
73
|
params: TenantProjectAgentParamsSchema,
|
|
74
74
|
body: { content: { "application/json": { schema: SubAgentDataComponentApiInsertSchema } } }
|
|
@@ -138,7 +138,7 @@ app.openapi(createRoute({
|
|
|
138
138
|
path: "/agent/{subAgentId}/component/{dataComponentId}",
|
|
139
139
|
summary: "Remove Data Component from Agent",
|
|
140
140
|
operationId: "remove-data-component-from-agent",
|
|
141
|
-
tags: ["
|
|
141
|
+
tags: ["Agents", "Data Components"],
|
|
142
142
|
request: { params: TenantProjectAgentSubAgentParamsSchema.extend({ dataComponentId: z.string() }) },
|
|
143
143
|
responses: {
|
|
144
144
|
200: {
|
|
@@ -172,7 +172,7 @@ app.openapi(createRoute({
|
|
|
172
172
|
path: "/agent/{subAgentId}/component/{dataComponentId}/exists",
|
|
173
173
|
summary: "Check if Data Component is Associated with Agent",
|
|
174
174
|
operationId: "check-data-component-agent-association",
|
|
175
|
-
tags: ["
|
|
175
|
+
tags: ["Agents", "Data Components"],
|
|
176
176
|
request: { params: TenantProjectAgentSubAgentParamsSchema.extend({ dataComponentId: z.string() }) },
|
|
177
177
|
responses: {
|
|
178
178
|
200: {
|
|
@@ -19,7 +19,7 @@ app.openapi(createRoute({
|
|
|
19
19
|
path: "/",
|
|
20
20
|
summary: "List Sub Agent External Agent Relations",
|
|
21
21
|
operationId: "list-sub-agent-external-agent-relations",
|
|
22
|
-
tags: ["
|
|
22
|
+
tags: ["SubAgents", "External Agents"],
|
|
23
23
|
request: {
|
|
24
24
|
params: TenantProjectAgentSubAgentParamsSchema,
|
|
25
25
|
query: PaginationQueryParamsSchema
|
|
@@ -64,7 +64,7 @@ app.openapi(createRoute({
|
|
|
64
64
|
path: "/{id}",
|
|
65
65
|
summary: "Get Sub Agent External Agent Relation",
|
|
66
66
|
operationId: "get-sub-agent-external-agent-relation-by-id",
|
|
67
|
-
tags: ["
|
|
67
|
+
tags: ["SubAgents", "External Agents"],
|
|
68
68
|
request: { params: TenantProjectAgentSubAgentIdParamsSchema },
|
|
69
69
|
responses: {
|
|
70
70
|
200: {
|
|
@@ -96,7 +96,7 @@ app.openapi(createRoute({
|
|
|
96
96
|
path: "/",
|
|
97
97
|
summary: "Create Sub Agent External Agent Relation",
|
|
98
98
|
operationId: "create-sub-agent-external-agent-relation",
|
|
99
|
-
tags: ["
|
|
99
|
+
tags: ["SubAgents", "External Agents"],
|
|
100
100
|
request: {
|
|
101
101
|
params: TenantProjectAgentSubAgentParamsSchema,
|
|
102
102
|
body: { content: { "application/json": { schema: SubAgentExternalAgentRelationApiInsertSchema } } }
|
|
@@ -147,7 +147,7 @@ app.openapi(createRoute({
|
|
|
147
147
|
path: "/{id}",
|
|
148
148
|
summary: "Update Sub Agent External Agent Relation",
|
|
149
149
|
operationId: "update-sub-agent-external-agent-relation",
|
|
150
|
-
tags: ["
|
|
150
|
+
tags: ["SubAgents", "External Agents"],
|
|
151
151
|
request: {
|
|
152
152
|
params: TenantProjectAgentSubAgentIdParamsSchema,
|
|
153
153
|
body: { content: { "application/json": { schema: SubAgentExternalAgentRelationApiUpdateSchema } } }
|
|
@@ -184,7 +184,7 @@ app.openapi(createRoute({
|
|
|
184
184
|
path: "/{id}",
|
|
185
185
|
summary: "Delete Sub Agent External Agent Relation",
|
|
186
186
|
operationId: "delete-sub-agent-external-agent-relation",
|
|
187
|
-
tags: ["
|
|
187
|
+
tags: ["SubAgents", "External Agents"],
|
|
188
188
|
request: { params: TenantProjectAgentSubAgentIdParamsSchema },
|
|
189
189
|
responses: {
|
|
190
190
|
204: { description: "Sub Agent External Agent Relation deleted successfully" },
|
|
@@ -17,7 +17,7 @@ app.openapi(createRoute({
|
|
|
17
17
|
path: "/sub-agent/{subAgentId}",
|
|
18
18
|
summary: "Get Function Tools for SubAgent",
|
|
19
19
|
operationId: "get-function-tools-for-sub-agent",
|
|
20
|
-
tags: ["
|
|
20
|
+
tags: ["SubAgents", "Function Tools"],
|
|
21
21
|
request: { params: TenantProjectAgentSubAgentParamsSchema },
|
|
22
22
|
responses: {
|
|
23
23
|
200: {
|
|
@@ -44,7 +44,7 @@ app.openapi(createRoute({
|
|
|
44
44
|
path: "/function-tool/{functionToolId}/sub-agents",
|
|
45
45
|
summary: "Get SubAgents Using Function Tool",
|
|
46
46
|
operationId: "get-sub-agents-using-function-tool",
|
|
47
|
-
tags: ["
|
|
47
|
+
tags: ["SubAgents", "Function Tools"],
|
|
48
48
|
request: { params: TenantProjectAgentParamsSchema.extend({ functionToolId: z.string() }) },
|
|
49
49
|
responses: {
|
|
50
50
|
200: {
|
|
@@ -71,7 +71,7 @@ app.openapi(createRoute({
|
|
|
71
71
|
path: "/",
|
|
72
72
|
summary: "Associate Function Tool with SubAgent",
|
|
73
73
|
operationId: "associate-function-tool-with-sub-agent",
|
|
74
|
-
tags: ["
|
|
74
|
+
tags: ["SubAgents", "Function Tools"],
|
|
75
75
|
request: {
|
|
76
76
|
params: TenantProjectAgentParamsSchema,
|
|
77
77
|
body: { content: { "application/json": { schema: SubAgentFunctionToolRelationApiInsertSchema } } }
|
|
@@ -142,7 +142,7 @@ app.openapi(createRoute({
|
|
|
142
142
|
path: "/sub-agent/{subAgentId}/function-tool/{functionToolId}",
|
|
143
143
|
summary: "Remove Function Tool from SubAgent",
|
|
144
144
|
operationId: "remove-function-tool-from-sub-agent",
|
|
145
|
-
tags: ["
|
|
145
|
+
tags: ["SubAgents", "Function Tools"],
|
|
146
146
|
request: { params: TenantProjectAgentSubAgentParamsSchema.extend({ functionToolId: z.string() }) },
|
|
147
147
|
responses: {
|
|
148
148
|
200: {
|
|
@@ -176,7 +176,7 @@ app.openapi(createRoute({
|
|
|
176
176
|
path: "/sub-agent/{subAgentId}/function-tool/{functionToolId}/exists",
|
|
177
177
|
summary: "Check if Function Tool is Associated with SubAgent",
|
|
178
178
|
operationId: "check-function-tool-sub-agent-association",
|
|
179
|
-
tags: ["
|
|
179
|
+
tags: ["SubAgents", "Function Tools"],
|
|
180
180
|
request: { params: TenantProjectAgentSubAgentParamsSchema.extend({ functionToolId: z.string() }) },
|
|
181
181
|
responses: {
|
|
182
182
|
200: {
|
|
@@ -19,7 +19,7 @@ app.openapi(createRoute({
|
|
|
19
19
|
path: "/",
|
|
20
20
|
summary: "List Sub Agent Relations",
|
|
21
21
|
operationId: "list-sub-agent-relations",
|
|
22
|
-
tags: ["
|
|
22
|
+
tags: ["SubAgents"],
|
|
23
23
|
request: {
|
|
24
24
|
params: TenantProjectAgentParamsSchema,
|
|
25
25
|
query: PaginationQueryParamsSchema.merge(SubAgentRelationQuerySchema)
|
|
@@ -104,7 +104,7 @@ app.openapi(createRoute({
|
|
|
104
104
|
path: "/{id}",
|
|
105
105
|
summary: "Get Sub Agent Relation",
|
|
106
106
|
operationId: "get-sub-agent-relation-by-id",
|
|
107
|
-
tags: ["
|
|
107
|
+
tags: ["SubAgents"],
|
|
108
108
|
request: { params: TenantProjectAgentIdParamsSchema },
|
|
109
109
|
responses: {
|
|
110
110
|
200: {
|
|
@@ -135,7 +135,7 @@ app.openapi(createRoute({
|
|
|
135
135
|
path: "/",
|
|
136
136
|
summary: "Create Sub Agent Relation",
|
|
137
137
|
operationId: "create-sub-agent-relation",
|
|
138
|
-
tags: ["
|
|
138
|
+
tags: ["SubAgents"],
|
|
139
139
|
request: {
|
|
140
140
|
params: TenantProjectAgentParamsSchema,
|
|
141
141
|
body: { content: { "application/json": { schema: SubAgentRelationApiInsertSchema } } }
|
|
@@ -196,7 +196,7 @@ app.openapi(createRoute({
|
|
|
196
196
|
path: "/{id}",
|
|
197
197
|
summary: "Update Sub Agent Relation",
|
|
198
198
|
operationId: "update-sub-agent-relation",
|
|
199
|
-
tags: ["
|
|
199
|
+
tags: ["SubAgents"],
|
|
200
200
|
request: {
|
|
201
201
|
params: TenantProjectAgentIdParamsSchema,
|
|
202
202
|
body: { content: { "application/json": { schema: SubAgentRelationApiUpdateSchema } } }
|
|
@@ -232,7 +232,7 @@ app.openapi(createRoute({
|
|
|
232
232
|
path: "/{id}",
|
|
233
233
|
summary: "Delete Sub Agent Relation",
|
|
234
234
|
operationId: "delete-sub-agent-relation",
|
|
235
|
-
tags: ["
|
|
235
|
+
tags: ["SubAgents"],
|
|
236
236
|
request: { params: TenantProjectAgentIdParamsSchema },
|
|
237
237
|
responses: {
|
|
238
238
|
204: { description: "Sub Agent Relation deleted successfully" },
|
|
@@ -19,7 +19,7 @@ app.openapi(createRoute({
|
|
|
19
19
|
path: "/",
|
|
20
20
|
summary: "List Sub Agent Team Agent Relations",
|
|
21
21
|
operationId: "list-sub-agent-team-agent-relations",
|
|
22
|
-
tags: ["
|
|
22
|
+
tags: ["SubAgents"],
|
|
23
23
|
request: {
|
|
24
24
|
params: TenantProjectAgentSubAgentParamsSchema,
|
|
25
25
|
query: PaginationQueryParamsSchema
|
|
@@ -64,7 +64,7 @@ app.openapi(createRoute({
|
|
|
64
64
|
path: "/{id}",
|
|
65
65
|
summary: "Get Sub Agent Team Agent Relation",
|
|
66
66
|
operationId: "get-sub-agent-team-agent-relation-by-id",
|
|
67
|
-
tags: ["
|
|
67
|
+
tags: ["SubAgents"],
|
|
68
68
|
request: { params: TenantProjectAgentSubAgentIdParamsSchema },
|
|
69
69
|
responses: {
|
|
70
70
|
200: {
|
|
@@ -96,7 +96,7 @@ app.openapi(createRoute({
|
|
|
96
96
|
path: "/",
|
|
97
97
|
summary: "Create Sub Agent Team Agent Relation",
|
|
98
98
|
operationId: "create-sub-agent-team-agent-relation",
|
|
99
|
-
tags: ["
|
|
99
|
+
tags: ["SubAgents"],
|
|
100
100
|
request: {
|
|
101
101
|
params: TenantProjectAgentSubAgentParamsSchema,
|
|
102
102
|
body: { content: { "application/json": { schema: SubAgentTeamAgentRelationApiInsertSchema } } }
|
|
@@ -147,7 +147,7 @@ app.openapi(createRoute({
|
|
|
147
147
|
path: "/{id}",
|
|
148
148
|
summary: "Update Sub Agent Team Agent Relation",
|
|
149
149
|
operationId: "update-sub-agent-team-agent-relation",
|
|
150
|
-
tags: ["
|
|
150
|
+
tags: ["SubAgents"],
|
|
151
151
|
request: {
|
|
152
152
|
params: TenantProjectAgentSubAgentIdParamsSchema,
|
|
153
153
|
body: { content: { "application/json": { schema: SubAgentTeamAgentRelationApiUpdateSchema } } }
|
|
@@ -184,7 +184,7 @@ app.openapi(createRoute({
|
|
|
184
184
|
path: "/{id}",
|
|
185
185
|
summary: "Delete Sub Agent Team Agent Relation",
|
|
186
186
|
operationId: "delete-sub-agent-team-agent-relation",
|
|
187
|
-
tags: ["
|
|
187
|
+
tags: ["SubAgents"],
|
|
188
188
|
request: { params: TenantProjectAgentSubAgentIdParamsSchema },
|
|
189
189
|
responses: {
|
|
190
190
|
204: { description: "Sub Agent Team Agent Relation deleted successfully" },
|
|
@@ -19,7 +19,7 @@ app.openapi(createRoute({
|
|
|
19
19
|
path: "/",
|
|
20
20
|
summary: "List SubAgent Tool Relations",
|
|
21
21
|
operationId: "list-subagent-tool-relations",
|
|
22
|
-
tags: ["
|
|
22
|
+
tags: ["SubAgents", "Tools"],
|
|
23
23
|
request: {
|
|
24
24
|
params: TenantProjectAgentParamsSchema,
|
|
25
25
|
query: PaginationQueryParamsSchema.extend({
|
|
@@ -98,7 +98,7 @@ app.openapi(createRoute({
|
|
|
98
98
|
path: "/{id}",
|
|
99
99
|
summary: "Get SubAgent Tool Relation",
|
|
100
100
|
operationId: "get-subagent-tool-relation",
|
|
101
|
-
tags: ["
|
|
101
|
+
tags: ["SubAgents", "Tools"],
|
|
102
102
|
request: { params: TenantProjectAgentIdParamsSchema },
|
|
103
103
|
responses: {
|
|
104
104
|
200: {
|
|
@@ -130,7 +130,7 @@ app.openapi(createRoute({
|
|
|
130
130
|
path: "/tool/{toolId}/sub-agents",
|
|
131
131
|
summary: "Get SubAgents for Tool",
|
|
132
132
|
operationId: "get-subagents-for-tool",
|
|
133
|
-
tags: ["
|
|
133
|
+
tags: ["SubAgents", "Tools"],
|
|
134
134
|
request: {
|
|
135
135
|
params: TenantProjectAgentParamsSchema.extend({ toolId: z.string() }),
|
|
136
136
|
query: PaginationQueryParamsSchema
|
|
@@ -165,7 +165,7 @@ app.openapi(createRoute({
|
|
|
165
165
|
path: "/",
|
|
166
166
|
summary: "Create SubAgent Tool Relation",
|
|
167
167
|
operationId: "create-subagent-tool-relation",
|
|
168
|
-
tags: ["
|
|
168
|
+
tags: ["SubAgents", "Tools"],
|
|
169
169
|
request: {
|
|
170
170
|
params: TenantProjectAgentParamsSchema,
|
|
171
171
|
body: { content: { "application/json": { schema: SubAgentToolRelationApiInsertSchema } } }
|
|
@@ -218,7 +218,7 @@ app.openapi(createRoute({
|
|
|
218
218
|
path: "/{id}",
|
|
219
219
|
summary: "Update SubAgent Tool Relation",
|
|
220
220
|
operationId: "update-subagent-tool-relation",
|
|
221
|
-
tags: ["
|
|
221
|
+
tags: ["SubAgents", "Tools"],
|
|
222
222
|
request: {
|
|
223
223
|
params: TenantProjectAgentIdParamsSchema,
|
|
224
224
|
body: { content: { "application/json": { schema: SubAgentToolRelationApiUpdateSchema } } }
|
|
@@ -258,7 +258,7 @@ app.openapi(createRoute({
|
|
|
258
258
|
path: "/{id}",
|
|
259
259
|
summary: "Delete SubAgent Tool Relation",
|
|
260
260
|
operationId: "delete-subagent-tool-relation",
|
|
261
|
-
tags: ["
|
|
261
|
+
tags: ["SubAgents", "Tools"],
|
|
262
262
|
request: { params: TenantProjectAgentIdParamsSchema },
|
|
263
263
|
responses: {
|
|
264
264
|
204: { description: "SubAgent tool relation deleted successfully" },
|
|
@@ -20,7 +20,7 @@ app.openapi(createRoute({
|
|
|
20
20
|
path: "/",
|
|
21
21
|
summary: "List SubAgents",
|
|
22
22
|
operationId: "list-subagents",
|
|
23
|
-
tags: ["
|
|
23
|
+
tags: ["SubAgents"],
|
|
24
24
|
request: {
|
|
25
25
|
params: TenantProjectAgentParamsSchema,
|
|
26
26
|
query: PaginationQueryParamsSchema
|
|
@@ -62,7 +62,7 @@ app.openapi(createRoute({
|
|
|
62
62
|
path: "/{id}",
|
|
63
63
|
summary: "Get SubAgent",
|
|
64
64
|
operationId: "get-subagent-by-id",
|
|
65
|
-
tags: ["
|
|
65
|
+
tags: ["SubAgents"],
|
|
66
66
|
request: { params: TenantProjectAgentIdParamsSchema },
|
|
67
67
|
responses: {
|
|
68
68
|
200: {
|
|
@@ -96,7 +96,7 @@ app.openapi(createRoute({
|
|
|
96
96
|
path: "/",
|
|
97
97
|
summary: "Create SubAgent",
|
|
98
98
|
operationId: "create-subagent",
|
|
99
|
-
tags: ["
|
|
99
|
+
tags: ["SubAgents"],
|
|
100
100
|
request: {
|
|
101
101
|
params: TenantProjectAgentParamsSchema,
|
|
102
102
|
body: { content: { "application/json": { schema: SubAgentApiInsertSchema } } }
|
|
@@ -129,7 +129,7 @@ app.openapi(createRoute({
|
|
|
129
129
|
path: "/{id}",
|
|
130
130
|
summary: "Update SubAgent",
|
|
131
131
|
operationId: "update-subagent",
|
|
132
|
-
tags: ["
|
|
132
|
+
tags: ["SubAgents"],
|
|
133
133
|
request: {
|
|
134
134
|
params: TenantProjectAgentIdParamsSchema,
|
|
135
135
|
body: { content: { "application/json": { schema: SubAgentApiUpdateSchema } } }
|
|
@@ -168,7 +168,7 @@ app.openapi(createRoute({
|
|
|
168
168
|
path: "/{id}",
|
|
169
169
|
summary: "Delete SubAgent",
|
|
170
170
|
operationId: "delete-subagent",
|
|
171
|
-
tags: ["
|
|
171
|
+
tags: ["SubAgents"],
|
|
172
172
|
request: { params: TenantProjectAgentIdParamsSchema },
|
|
173
173
|
responses: {
|
|
174
174
|
204: { description: "SubAgent deleted successfully" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Hono } from "hono";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono_types16 from "hono/types";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/mcp/routes/mcp.d.ts
|
|
5
|
-
declare const app: Hono<
|
|
5
|
+
declare const app: Hono<hono_types16.BlankEnv, hono_types16.BlankSchema, "/">;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { app as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AgentConfig, DelegateRelation } from "./Agent.js";
|
|
2
2
|
import { InternalRelation } from "../utils/project.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _inkeep_agents_core1 from "@inkeep/agents-core";
|
|
4
4
|
import { CredentialStoreRegistry, FullExecutionContext } from "@inkeep/agents-core";
|
|
5
5
|
import * as ai0 from "ai";
|
|
6
6
|
|
|
@@ -44,7 +44,7 @@ declare function createDelegateToAgentTool({
|
|
|
44
44
|
message: string;
|
|
45
45
|
}, {
|
|
46
46
|
toolCallId: any;
|
|
47
|
-
result:
|
|
47
|
+
result: _inkeep_agents_core1.Message | _inkeep_agents_core1.Task;
|
|
48
48
|
}>;
|
|
49
49
|
/**
|
|
50
50
|
* Parameters for building a transfer relation config
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _inkeep_agents_core3 from "@inkeep/agents-core";
|
|
2
2
|
import { BreakdownComponentDef, ContextBreakdown, calculateBreakdownTotal, createEmptyBreakdown } from "@inkeep/agents-core";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/run/utils/token-estimator.d.ts
|
|
@@ -17,7 +17,7 @@ interface AssembleResult {
|
|
|
17
17
|
/** The assembled prompt string */
|
|
18
18
|
prompt: string;
|
|
19
19
|
/** Token breakdown for each component */
|
|
20
|
-
breakdown:
|
|
20
|
+
breakdown: _inkeep_agents_core3.ContextBreakdown;
|
|
21
21
|
}
|
|
22
22
|
//#endregion
|
|
23
23
|
export { AssembleResult, type BreakdownComponentDef, type ContextBreakdown, calculateBreakdownTotal, createEmptyBreakdown, estimateTokens };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono0 from "hono";
|
|
2
2
|
import { BaseExecutionContext } from "@inkeep/agents-core";
|
|
3
3
|
|
|
4
4
|
//#region src/middleware/evalsAuth.d.ts
|
|
@@ -7,7 +7,7 @@ import { BaseExecutionContext } from "@inkeep/agents-core";
|
|
|
7
7
|
* Middleware to authenticate API requests using Bearer token authentication
|
|
8
8
|
* First checks if token matches INKEEP_AGENTS_EVAL_API_BYPASS_SECRET,
|
|
9
9
|
*/
|
|
10
|
-
declare const evalApiKeyAuth: () =>
|
|
10
|
+
declare const evalApiKeyAuth: () => hono0.MiddlewareHandler<{
|
|
11
11
|
Variables: {
|
|
12
12
|
executionContext: BaseExecutionContext;
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono1 from "hono";
|
|
2
2
|
import { BaseExecutionContext } from "@inkeep/agents-core";
|
|
3
3
|
import { createAuth } from "@inkeep/agents-core/auth";
|
|
4
4
|
|
|
@@ -12,7 +12,7 @@ import { createAuth } from "@inkeep/agents-core/auth";
|
|
|
12
12
|
* 3. Database API key
|
|
13
13
|
* 4. Internal service token
|
|
14
14
|
*/
|
|
15
|
-
declare const manageApiKeyAuth: () =>
|
|
15
|
+
declare const manageApiKeyAuth: () => hono1.MiddlewareHandler<{
|
|
16
16
|
Variables: {
|
|
17
17
|
executionContext: BaseExecutionContext;
|
|
18
18
|
userId?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ManageAppVariables } from "../types/app.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono2 from "hono";
|
|
3
3
|
import { ProjectPermissionLevel } from "@inkeep/agents-core";
|
|
4
4
|
|
|
5
5
|
//#region src/middleware/projectAccess.d.ts
|
|
@@ -19,6 +19,6 @@ declare const requireProjectPermission: <Env$1 extends {
|
|
|
19
19
|
Variables: ManageAppVariables;
|
|
20
20
|
} = {
|
|
21
21
|
Variables: ManageAppVariables;
|
|
22
|
-
}>(permission?: ProjectPermissionLevel) =>
|
|
22
|
+
}>(permission?: ProjectPermissionLevel) => hono2.MiddlewareHandler<Env$1, string, {}, Response>;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { requireProjectPermission };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono11 from "hono";
|
|
2
2
|
import { BaseExecutionContext, ResolvedRef } from "@inkeep/agents-core";
|
|
3
3
|
|
|
4
4
|
//#region src/middleware/projectConfig.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Middleware that fetches the full project definition from the Management API
|
|
7
7
|
*/
|
|
8
|
-
declare const projectConfigMiddleware:
|
|
8
|
+
declare const projectConfigMiddleware: hono11.MiddlewareHandler<{
|
|
9
9
|
Variables: {
|
|
10
10
|
executionContext: BaseExecutionContext;
|
|
11
11
|
resolvedRef: ResolvedRef;
|
|
@@ -15,7 +15,7 @@ declare const projectConfigMiddleware: hono12.MiddlewareHandler<{
|
|
|
15
15
|
* Creates a middleware that applies project config fetching except for specified route patterns
|
|
16
16
|
* @param skipRouteCheck - Function that returns true if the route should skip the middleware
|
|
17
17
|
*/
|
|
18
|
-
declare const projectConfigMiddlewareExcept: (skipRouteCheck: (path: string) => boolean) =>
|
|
18
|
+
declare const projectConfigMiddlewareExcept: (skipRouteCheck: (path: string) => boolean) => hono11.MiddlewareHandler<{
|
|
19
19
|
Variables: {
|
|
20
20
|
executionContext: BaseExecutionContext;
|
|
21
21
|
resolvedRef: ResolvedRef;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ManageAppVariables } from "../types/app.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono4 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/middleware/requirePermission.d.ts
|
|
5
5
|
type Permission = {
|
|
@@ -9,6 +9,6 @@ declare const requirePermission: <Env$1 extends {
|
|
|
9
9
|
Variables: ManageAppVariables;
|
|
10
10
|
} = {
|
|
11
11
|
Variables: ManageAppVariables;
|
|
12
|
-
}>(permissions: Permission) =>
|
|
12
|
+
}>(permissions: Permission) => hono4.MiddlewareHandler<Env$1, string, {}, Response>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { requirePermission };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono5 from "hono";
|
|
2
2
|
import { BaseExecutionContext } from "@inkeep/agents-core";
|
|
3
3
|
|
|
4
4
|
//#region src/middleware/runAuth.d.ts
|
|
5
|
-
declare const runApiKeyAuth: () =>
|
|
5
|
+
declare const runApiKeyAuth: () => hono5.MiddlewareHandler<{
|
|
6
6
|
Variables: {
|
|
7
7
|
executionContext: BaseExecutionContext;
|
|
8
8
|
};
|
|
@@ -11,7 +11,7 @@ declare const runApiKeyAuth: () => hono1.MiddlewareHandler<{
|
|
|
11
11
|
* Creates a middleware that applies API key authentication except for specified route patterns
|
|
12
12
|
* @param skipRouteCheck - Function that returns true if the route should skip authentication
|
|
13
13
|
*/
|
|
14
|
-
declare const runApiKeyAuthExcept: (skipRouteCheck: (path: string) => boolean) =>
|
|
14
|
+
declare const runApiKeyAuthExcept: (skipRouteCheck: (path: string) => boolean) => hono5.MiddlewareHandler<{
|
|
15
15
|
Variables: {
|
|
16
16
|
executionContext: BaseExecutionContext;
|
|
17
17
|
};
|
|
@@ -20,7 +20,7 @@ declare const runApiKeyAuthExcept: (skipRouteCheck: (path: string) => boolean) =
|
|
|
20
20
|
* Helper middleware for endpoints that optionally support API key authentication
|
|
21
21
|
* If no auth header is present, it continues without setting the executionContext
|
|
22
22
|
*/
|
|
23
|
-
declare const runOptionalAuth: () =>
|
|
23
|
+
declare const runOptionalAuth: () => hono5.MiddlewareHandler<{
|
|
24
24
|
Variables: {
|
|
25
25
|
executionContext?: BaseExecutionContext;
|
|
26
26
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono13 from "hono";
|
|
2
2
|
|
|
3
3
|
//#region src/middleware/sessionAuth.d.ts
|
|
4
4
|
|
|
@@ -7,11 +7,11 @@ import * as hono4 from "hono";
|
|
|
7
7
|
* Requires that a user has already been authenticated via Better Auth session.
|
|
8
8
|
* Used primarily for manage routes that require an active user session.
|
|
9
9
|
*/
|
|
10
|
-
declare const sessionAuth: () =>
|
|
10
|
+
declare const sessionAuth: () => hono13.MiddlewareHandler<any, string, {}, Response>;
|
|
11
11
|
/**
|
|
12
12
|
* Global session middleware - sets user and session in context for all routes
|
|
13
13
|
* Used for all routes that require an active user session.
|
|
14
14
|
*/
|
|
15
|
-
declare const sessionContext: () =>
|
|
15
|
+
declare const sessionContext: () => hono13.MiddlewareHandler<any, string, {}, Response>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { sessionAuth, sessionContext };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono8 from "hono";
|
|
2
2
|
|
|
3
3
|
//#region src/middleware/tenantAccess.d.ts
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@ import * as hono6 from "hono";
|
|
|
11
11
|
* - API key user: Access only to the tenant associated with the API key
|
|
12
12
|
* - Session user: Access based on organization membership
|
|
13
13
|
*/
|
|
14
|
-
declare const requireTenantAccess: () =>
|
|
14
|
+
declare const requireTenantAccess: () => hono8.MiddlewareHandler<{
|
|
15
15
|
Variables: {
|
|
16
16
|
userId: string;
|
|
17
17
|
tenantId: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono9 from "hono";
|
|
2
2
|
|
|
3
3
|
//#region src/middleware/tracing.d.ts
|
|
4
|
-
declare const otelBaggageMiddleware: () =>
|
|
5
|
-
declare const executionBaggageMiddleware: () =>
|
|
4
|
+
declare const otelBaggageMiddleware: () => hono9.MiddlewareHandler<any, string, {}, Response>;
|
|
5
|
+
declare const executionBaggageMiddleware: () => hono9.MiddlewareHandler<any, string, {}, Response>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { executionBaggageMiddleware, otelBaggageMiddleware };
|
package/dist/openapi.d.ts
CHANGED
|
@@ -5,9 +5,6 @@ import { Env } from "hono";
|
|
|
5
5
|
declare const TagToDescription: {
|
|
6
6
|
A2A: string;
|
|
7
7
|
'API Keys': string;
|
|
8
|
-
Agent: string;
|
|
9
|
-
'Agent Artifact Component Relations': string;
|
|
10
|
-
'Agent Data Component Relations': string;
|
|
11
8
|
Agents: string;
|
|
12
9
|
'Artifact Components': string;
|
|
13
10
|
Branches: string;
|
|
@@ -15,13 +12,11 @@ declare const TagToDescription: {
|
|
|
15
12
|
Chat: string;
|
|
16
13
|
'Context Configs': string;
|
|
17
14
|
Conversations: string;
|
|
18
|
-
|
|
15
|
+
Credentials: string;
|
|
19
16
|
'Credential Stores': string;
|
|
20
17
|
'Data Components': string;
|
|
21
18
|
Evaluations: string;
|
|
22
19
|
'External Agents': string;
|
|
23
|
-
'Full Agent': string;
|
|
24
|
-
'Full Project': string;
|
|
25
20
|
'Function Tools': string;
|
|
26
21
|
Functions: string;
|
|
27
22
|
Invitations: string;
|
|
@@ -32,12 +27,7 @@ declare const TagToDescription: {
|
|
|
32
27
|
'Project Permissions': string;
|
|
33
28
|
Projects: string;
|
|
34
29
|
Refs: string;
|
|
35
|
-
|
|
36
|
-
'SubAgent External Agent Relations': string;
|
|
37
|
-
'SubAgent Function Tools': string;
|
|
38
|
-
'SubAgent Relations': string;
|
|
39
|
-
'SubAgent Team Agent Relations': string;
|
|
40
|
-
'SubAgent Tool Relations': string;
|
|
30
|
+
SubAgents: string;
|
|
41
31
|
'Third-Party MCP Servers': string;
|
|
42
32
|
Tools: string;
|
|
43
33
|
Triggers: string;
|
package/dist/openapi.js
CHANGED
|
@@ -4,9 +4,6 @@ import { swaggerUI } from "@hono/swagger-ui";
|
|
|
4
4
|
const TagToDescription = {
|
|
5
5
|
A2A: "Agent-to-Agent communication endpoints",
|
|
6
6
|
"API Keys": "Operations for managing API keys",
|
|
7
|
-
Agent: "Operations for managing individual agents",
|
|
8
|
-
"Agent Artifact Component Relations": "Operations for managing agent artifact component relationships",
|
|
9
|
-
"Agent Data Component Relations": "Operations for managing agent data component relationships",
|
|
10
7
|
Agents: "Operations for managing agents",
|
|
11
8
|
"Artifact Components": "Operations for managing artifact components",
|
|
12
9
|
Branches: "Operations for managing branches",
|
|
@@ -14,13 +11,11 @@ const TagToDescription = {
|
|
|
14
11
|
Chat: "Chat completions endpoints",
|
|
15
12
|
"Context Configs": "Operations for managing context configurations",
|
|
16
13
|
Conversations: "Operations for managing conversations",
|
|
17
|
-
|
|
14
|
+
Credentials: "Operations for managing credentials",
|
|
18
15
|
"Credential Stores": "Operations for managing credential stores",
|
|
19
16
|
"Data Components": "Operations for managing data components",
|
|
20
17
|
Evaluations: "Operations for managing evaluations",
|
|
21
18
|
"External Agents": "Operations for managing external agents",
|
|
22
|
-
"Full Agent": "Operations for managing complete agent definitions",
|
|
23
|
-
"Full Project": "Operations for managing complete project definitions",
|
|
24
19
|
"Function Tools": "Operations for managing function tools",
|
|
25
20
|
Functions: "Operations for managing functions",
|
|
26
21
|
Invitations: "Operations for managing invitations",
|
|
@@ -31,12 +26,7 @@ const TagToDescription = {
|
|
|
31
26
|
"Project Permissions": "Operations for managing project permissions",
|
|
32
27
|
Projects: "Operations for managing projects",
|
|
33
28
|
Refs: "Operations for the resolved ref (branch name, tag name, or commit hash)",
|
|
34
|
-
|
|
35
|
-
"SubAgent External Agent Relations": "Operations for managing sub agent external agent relationships",
|
|
36
|
-
"SubAgent Function Tools": "Operations for managing sub agent function tools",
|
|
37
|
-
"SubAgent Relations": "Operations for managing sub agent relationships",
|
|
38
|
-
"SubAgent Team Agent Relations": "Operations for managing sub agent team agent relationships",
|
|
39
|
-
"SubAgent Tool Relations": "Operations for managing sub agent tool relationships",
|
|
29
|
+
SubAgents: "Operations for managing sub agents",
|
|
40
30
|
"Third-Party MCP Servers": "Operations for managing third-party MCP servers",
|
|
41
31
|
Tools: "Operations for managing MCP tools",
|
|
42
32
|
Triggers: "Operations for managing triggers",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-api",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20260127191720",
|
|
4
4
|
"description": "Unified Inkeep Agents API - combines management, runtime, and evaluation capabilities",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -72,9 +72,9 @@
|
|
|
72
72
|
"openid-client": "^6.8.1",
|
|
73
73
|
"pg": "^8.16.3",
|
|
74
74
|
"workflow": "4.0.1-beta.33",
|
|
75
|
-
"@inkeep/agents-core": "^0.0.0-dev-
|
|
76
|
-
"@inkeep/agents-manage-mcp": "^0.0.0-dev-
|
|
77
|
-
"@inkeep/agents-mcp": "^0.0.0-dev-
|
|
75
|
+
"@inkeep/agents-core": "^0.0.0-dev-20260127191720",
|
|
76
|
+
"@inkeep/agents-manage-mcp": "^0.0.0-dev-20260127191720",
|
|
77
|
+
"@inkeep/agents-mcp": "^0.0.0-dev-20260127191720"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
80
|
"@hono/zod-openapi": "^1.1.5",
|