@inkeep/agents-manage-api 0.0.0-dev-20260117013710 → 0.0.0-dev-20260117074655
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/create-app.d.ts +4 -4
- package/dist/data/db/runDbClient.d.ts +2 -2
- package/dist/index.d.ts +18 -18
- package/dist/middleware/auth.d.ts +2 -2
- 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/conversations.d.ts +2 -2
- package/dist/routes/evals/evaluationResults.d.ts +2 -2
- package/dist/routes/index.d.ts +2 -2
- package/dist/routes/mcp.d.ts +2 -2
- package/dist/routes/signoz.d.ts +2 -2
- package/package.json +3 -3
package/dist/create-app.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Hono } from "hono";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _inkeep_agents_core0 from "@inkeep/agents-core";
|
|
3
3
|
import { CredentialStoreRegistry, ServerConfig } from "@inkeep/agents-core";
|
|
4
4
|
import { auth, createAuth } from "@inkeep/agents-core/auth";
|
|
5
|
-
import * as
|
|
5
|
+
import * as hono_types1 from "hono/types";
|
|
6
6
|
|
|
7
7
|
//#region src/create-app.d.ts
|
|
8
8
|
type AppVariables = {
|
|
@@ -16,8 +16,8 @@ type AppVariables = {
|
|
|
16
16
|
tenantId?: string;
|
|
17
17
|
tenantRole?: string;
|
|
18
18
|
isInternalService?: boolean;
|
|
19
|
-
internalServicePayload?:
|
|
19
|
+
internalServicePayload?: _inkeep_agents_core0.InternalServiceTokenPayload;
|
|
20
20
|
};
|
|
21
|
-
declare function createManagementHono(serverConfig: ServerConfig, credentialStores: CredentialStoreRegistry, auth: ReturnType<typeof createAuth> | null): Hono<
|
|
21
|
+
declare function createManagementHono(serverConfig: ServerConfig, credentialStores: CredentialStoreRegistry, auth: ReturnType<typeof createAuth> | null): Hono<hono_types1.BlankEnv, hono_types1.BlankSchema, "/">;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { AppVariables, createManagementHono };
|
|
@@ -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" | "
|
|
789
|
-
actions: better_auth_plugins0.Subset<"function" | "agent" | "
|
|
788
|
+
authorize<K_1 extends "function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key] | {
|
|
789
|
+
actions: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", 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" | "
|
|
792
|
+
statements: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
|
|
793
793
|
};
|
|
794
794
|
admin: {
|
|
795
|
-
authorize<K_1 extends "function" | "agent" | "
|
|
796
|
-
actions: better_auth_plugins0.Subset<"function" | "agent" | "
|
|
795
|
+
authorize<K_1 extends "function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key] | {
|
|
796
|
+
actions: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", 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" | "
|
|
799
|
+
statements: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
|
|
800
800
|
};
|
|
801
801
|
owner: {
|
|
802
|
-
authorize<K_1 extends "function" | "agent" | "
|
|
803
|
-
actions: better_auth_plugins0.Subset<"function" | "agent" | "
|
|
802
|
+
authorize<K_1 extends "function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key] | {
|
|
803
|
+
actions: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", 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" | "
|
|
806
|
+
statements: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", 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" | "
|
|
1068
|
-
actions: better_auth_plugins0.Subset<"function" | "agent" | "
|
|
1067
|
+
authorize<K_1 extends "function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key] | {
|
|
1068
|
+
actions: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", 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" | "
|
|
1071
|
+
statements: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
|
|
1072
1072
|
};
|
|
1073
1073
|
admin: {
|
|
1074
|
-
authorize<K_1 extends "function" | "agent" | "
|
|
1075
|
-
actions: better_auth_plugins0.Subset<"function" | "agent" | "
|
|
1074
|
+
authorize<K_1 extends "function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key] | {
|
|
1075
|
+
actions: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", 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" | "
|
|
1078
|
+
statements: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
|
|
1079
1079
|
};
|
|
1080
1080
|
owner: {
|
|
1081
|
-
authorize<K_1 extends "function" | "agent" | "
|
|
1082
|
-
actions: better_auth_plugins0.Subset<"function" | "agent" | "
|
|
1081
|
+
authorize<K_1 extends "function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key] | {
|
|
1082
|
+
actions: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", 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" | "
|
|
1085
|
+
statements: better_auth_plugins0.Subset<"function" | "agent" | "project" | "tool" | "organization" | "credential" | "member" | "invitation" | "ac" | "sub_agent" | "api_key" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
|
|
1086
1086
|
};
|
|
1087
1087
|
};
|
|
1088
1088
|
membershipLimit: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono5 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 apiKeyAuth: () =>
|
|
15
|
+
declare const apiKeyAuth: () => hono5.MiddlewareHandler<{
|
|
16
16
|
Variables: {
|
|
17
17
|
executionContext: BaseExecutionContext;
|
|
18
18
|
userId?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseAppVariables } from "../types/app.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono0 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) => hono0.MiddlewareHandler<Env$1, string, {}, Response>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { requirePermission };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono1 from "hono";
|
|
2
2
|
|
|
3
3
|
//#region src/middleware/session-auth.d.ts
|
|
4
|
-
declare const sessionAuth: () =>
|
|
4
|
+
declare const sessionAuth: () => hono1.MiddlewareHandler<any, string, {}, Response>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { sessionAuth };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono2 from "hono";
|
|
2
2
|
|
|
3
3
|
//#region src/middleware/tenant-access.d.ts
|
|
4
|
-
declare const requireTenantAccess: () =>
|
|
4
|
+
declare const requireTenantAccess: () => hono2.MiddlewareHandler<{
|
|
5
5
|
Variables: {
|
|
6
6
|
userId: string;
|
|
7
7
|
tenantId: string;
|
|
@@ -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 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OpenAPIHono } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono6 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/routes/evals/evaluationResults.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono6.Env, {}, "/">;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { app as default };
|
package/dist/routes/index.d.ts
CHANGED
|
@@ -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/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 };
|
package/dist/routes/mcp.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Hono } from "hono";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono_types3 from "hono/types";
|
|
3
3
|
|
|
4
4
|
//#region src/routes/mcp.d.ts
|
|
5
|
-
declare const app: Hono<
|
|
5
|
+
declare const app: Hono<hono_types3.BlankEnv, hono_types3.BlankSchema, "/">;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { app as default };
|
package/dist/routes/signoz.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BaseAppVariables } from "../types/app.js";
|
|
2
2
|
import { Hono } from "hono";
|
|
3
|
-
import * as
|
|
3
|
+
import * as hono_types5 from "hono/types";
|
|
4
4
|
|
|
5
5
|
//#region src/routes/signoz.d.ts
|
|
6
6
|
declare const app: Hono<{
|
|
7
7
|
Variables: BaseAppVariables;
|
|
8
|
-
},
|
|
8
|
+
}, hono_types5.BlankSchema, "/">;
|
|
9
9
|
//#endregion
|
|
10
10
|
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-20260117074655",
|
|
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-20260117074655",
|
|
33
|
+
"@inkeep/agents-manage-mcp": "^0.0.0-dev-20260117074655"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"@hono/zod-openapi": "^1.1.5",
|