@inkeep/agents-manage-api 0.0.0-dev-20260115184506 → 0.0.0-dev-20260116175045
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/data/db/dbClient.d.ts +2 -2
- package/dist/data/db/runDbClient.d.ts +2 -2
- package/dist/index.d.ts +18 -18
- package/dist/middleware/require-permission.d.ts +2 -2
- package/dist/middleware/session-auth.d.ts +2 -2
- package/dist/middleware/tenant-access.d.ts +2 -2
- package/dist/routes/agent.js +3 -0
- package/dist/routes/conversations.d.ts +2 -2
- package/package.json +3 -3
|
@@ -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/dbClient.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_core1 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_core1.AgentsRunDatabaseClient;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { runDbClient as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -785,25 +785,25 @@ declare const auth: better_auth0.Auth<{
|
|
|
785
785
|
ac: better_auth_plugins0.AccessControl;
|
|
786
786
|
roles: {
|
|
787
787
|
member: {
|
|
788
|
-
authorize<K_1 extends "function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "
|
|
789
|
-
actions: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "
|
|
788
|
+
authorize<K_1 extends "function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
|
|
789
|
+
actions: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac", better_auth_plugins0.Statements>[key];
|
|
790
790
|
connector: "OR" | "AND";
|
|
791
791
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
792
|
-
statements: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "
|
|
792
|
+
statements: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac", better_auth_plugins0.Statements>;
|
|
793
793
|
};
|
|
794
794
|
admin: {
|
|
795
|
-
authorize<K_1 extends "function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "
|
|
796
|
-
actions: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "
|
|
795
|
+
authorize<K_1 extends "function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
|
|
796
|
+
actions: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac", better_auth_plugins0.Statements>[key];
|
|
797
797
|
connector: "OR" | "AND";
|
|
798
798
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
799
|
-
statements: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "
|
|
799
|
+
statements: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac", better_auth_plugins0.Statements>;
|
|
800
800
|
};
|
|
801
801
|
owner: {
|
|
802
|
-
authorize<K_1 extends "function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "
|
|
803
|
-
actions: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "
|
|
802
|
+
authorize<K_1 extends "function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
|
|
803
|
+
actions: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac", better_auth_plugins0.Statements>[key];
|
|
804
804
|
connector: "OR" | "AND";
|
|
805
805
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
806
|
-
statements: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "
|
|
806
|
+
statements: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac", better_auth_plugins0.Statements>;
|
|
807
807
|
};
|
|
808
808
|
};
|
|
809
809
|
membershipLimit: number;
|
|
@@ -1064,25 +1064,25 @@ declare const auth: better_auth0.Auth<{
|
|
|
1064
1064
|
ac: better_auth_plugins0.AccessControl;
|
|
1065
1065
|
roles: {
|
|
1066
1066
|
member: {
|
|
1067
|
-
authorize<K_1 extends "function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "
|
|
1068
|
-
actions: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "
|
|
1067
|
+
authorize<K_1 extends "function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
|
|
1068
|
+
actions: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac", better_auth_plugins0.Statements>[key];
|
|
1069
1069
|
connector: "OR" | "AND";
|
|
1070
1070
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
1071
|
-
statements: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "
|
|
1071
|
+
statements: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac", better_auth_plugins0.Statements>;
|
|
1072
1072
|
};
|
|
1073
1073
|
admin: {
|
|
1074
|
-
authorize<K_1 extends "function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "
|
|
1075
|
-
actions: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "
|
|
1074
|
+
authorize<K_1 extends "function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
|
|
1075
|
+
actions: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac", better_auth_plugins0.Statements>[key];
|
|
1076
1076
|
connector: "OR" | "AND";
|
|
1077
1077
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
1078
|
-
statements: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "
|
|
1078
|
+
statements: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac", better_auth_plugins0.Statements>;
|
|
1079
1079
|
};
|
|
1080
1080
|
owner: {
|
|
1081
|
-
authorize<K_1 extends "function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "
|
|
1082
|
-
actions: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "
|
|
1081
|
+
authorize<K_1 extends "function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
|
|
1082
|
+
actions: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac", better_auth_plugins0.Statements>[key];
|
|
1083
1083
|
connector: "OR" | "AND";
|
|
1084
1084
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
1085
|
-
statements: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "
|
|
1085
|
+
statements: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "invitation" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team" | "ac", better_auth_plugins0.Statements>;
|
|
1086
1086
|
};
|
|
1087
1087
|
};
|
|
1088
1088
|
membershipLimit: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseAppVariables } from "../types/app.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono1 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/middleware/require-permission.d.ts
|
|
5
5
|
type Permission = {
|
|
@@ -9,6 +9,6 @@ declare const requirePermission: <Env$1 extends {
|
|
|
9
9
|
Variables: BaseAppVariables;
|
|
10
10
|
} = {
|
|
11
11
|
Variables: BaseAppVariables;
|
|
12
|
-
}>(permissions: Permission) =>
|
|
12
|
+
}>(permissions: Permission) => hono1.MiddlewareHandler<Env$1, string, {}, Response>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { requirePermission };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono2 from "hono";
|
|
2
2
|
|
|
3
3
|
//#region src/middleware/session-auth.d.ts
|
|
4
|
-
declare const sessionAuth: () =>
|
|
4
|
+
declare const sessionAuth: () => hono2.MiddlewareHandler<any, string, {}, Response>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { sessionAuth };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono3 from "hono";
|
|
2
2
|
|
|
3
3
|
//#region src/middleware/tenant-access.d.ts
|
|
4
|
-
declare const requireTenantAccess: () =>
|
|
4
|
+
declare const requireTenantAccess: () => hono3.MiddlewareHandler<{
|
|
5
5
|
Variables: {
|
|
6
6
|
userId: string;
|
|
7
7
|
tenantId: string;
|
package/dist/routes/agent.js
CHANGED
|
@@ -165,6 +165,7 @@ app.openapi(createRoute({
|
|
|
165
165
|
projectId,
|
|
166
166
|
id: validatedBody.id || generateId(),
|
|
167
167
|
name: validatedBody.name,
|
|
168
|
+
description: validatedBody.description,
|
|
168
169
|
defaultSubAgentId: validatedBody.defaultSubAgentId,
|
|
169
170
|
contextConfigId: validatedBody.contextConfigId ?? void 0
|
|
170
171
|
});
|
|
@@ -205,6 +206,8 @@ app.openapi(createRoute({
|
|
|
205
206
|
agentId: id
|
|
206
207
|
},
|
|
207
208
|
data: {
|
|
209
|
+
name: validatedBody.name,
|
|
210
|
+
description: validatedBody.description,
|
|
208
211
|
defaultSubAgentId: validatedBody.defaultSubAgentId,
|
|
209
212
|
contextConfigId: validatedBody.contextConfigId ?? void 0
|
|
210
213
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OpenAPIHono } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono4 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/routes/conversations.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono4.Env, {}, "/">;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { app as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-manage-api",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20260116175045",
|
|
4
4
|
"description": "Agents Manage API for Inkeep Agent Framework - handles CRUD operations and OAuth",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"openid-client": "^6.6.4",
|
|
30
30
|
"pg": "^8.16.3",
|
|
31
31
|
"pino": "^9.7.0",
|
|
32
|
-
"@inkeep/agents-core": "^0.0.0-dev-
|
|
33
|
-
"@inkeep/agents-manage-mcp": "^0.0.0-dev-
|
|
32
|
+
"@inkeep/agents-core": "^0.0.0-dev-20260116175045",
|
|
33
|
+
"@inkeep/agents-manage-mcp": "^0.0.0-dev-20260116175045"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"@hono/zod-openapi": "^1.1.5",
|