@inkeep/agents-manage-api 0.0.0-dev-20251222224725 → 0.0.0-dev-20251223025752

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.
@@ -1,7 +1,7 @@
1
1
  import { Hono } from "hono";
2
2
  import { ServerConfig } from "@inkeep/agents-core";
3
3
  import { auth, createAuth } from "@inkeep/agents-core/auth";
4
- import * as hono_types0 from "hono/types";
4
+ import * as hono_types1 from "hono/types";
5
5
  import { CredentialStoreRegistry as CredentialStoreRegistry$1 } from "@inkeep/agents-core/credential-stores";
6
6
 
7
7
  //#region src/create-app.d.ts
@@ -16,6 +16,6 @@ type AppVariables = {
16
16
  tenantId?: string;
17
17
  tenantRole?: string;
18
18
  };
19
- declare function createManagementHono(serverConfig: ServerConfig, credentialStores: CredentialStoreRegistry$1, auth: ReturnType<typeof createAuth> | null): Hono<hono_types0.BlankEnv, hono_types0.BlankSchema, "/">;
19
+ declare function createManagementHono(serverConfig: ServerConfig, credentialStores: CredentialStoreRegistry$1, auth: ReturnType<typeof createAuth> | null): Hono<hono_types1.BlankEnv, hono_types1.BlankSchema, "/">;
20
20
  //#endregion
21
21
  export { AppVariables, createManagementHono };
package/dist/factory.d.ts CHANGED
@@ -4,7 +4,7 @@ import { createAuth0Provider, createOIDCProvider } from "./sso-helpers.js";
4
4
  import * as hono0 from "hono";
5
5
  import { CredentialStore, ServerConfig } from "@inkeep/agents-core";
6
6
  import { SSOProviderConfig, UserAuthConfig } from "@inkeep/agents-core/auth";
7
- import * as hono_types1 from "hono/types";
7
+ import * as hono_types0 from "hono/types";
8
8
 
9
9
  //#region src/factory.d.ts
10
10
  declare function createManagementApp(config?: {
@@ -12,6 +12,6 @@ declare function createManagementApp(config?: {
12
12
  credentialStores?: CredentialStore[];
13
13
  auth?: UserAuthConfig;
14
14
  skipInitialization?: boolean;
15
- }): hono0.Hono<hono_types1.BlankEnv, hono_types1.BlankSchema, "/">;
15
+ }): hono0.Hono<hono_types0.BlankEnv, hono_types0.BlankSchema, "/">;
16
16
  //#endregion
17
17
  export { type SSOProviderConfig, type UserAuthConfig, createAuth0Provider, createManagementApp, createManagementHono, createOIDCProvider, initializeDefaultUser };
@@ -1,4 +1,4 @@
1
- import * as hono3 from "hono";
1
+ import * as hono1 from "hono";
2
2
  import { ExecutionContext } from "@inkeep/agents-core";
3
3
  import { createAuth } from "@inkeep/agents-core/auth";
4
4
 
@@ -11,7 +11,7 @@ import { createAuth } from "@inkeep/agents-core/auth";
11
11
  * 2. Better-auth session token (from device authorization flow)
12
12
  * 3. Database API key
13
13
  */
14
- declare const apiKeyAuth: () => hono3.MiddlewareHandler<{
14
+ declare const apiKeyAuth: () => hono1.MiddlewareHandler<{
15
15
  Variables: {
16
16
  executionContext: ExecutionContext;
17
17
  userId?: string;
@@ -1,4 +1,4 @@
1
- import * as hono0 from "hono";
1
+ import * as hono2 from "hono";
2
2
  import { createAuth } from "@inkeep/agents-core/auth";
3
3
 
4
4
  //#region src/middleware/require-permission.d.ts
@@ -14,6 +14,6 @@ type MinimalAuthVariables = {
14
14
  tenantRole: string;
15
15
  };
16
16
  };
17
- declare const requirePermission: <Env$1 extends MinimalAuthVariables = MinimalAuthVariables>(permissions: Permission) => hono0.MiddlewareHandler<Env$1, string, {}, Response>;
17
+ declare const requirePermission: <Env$1 extends MinimalAuthVariables = MinimalAuthVariables>(permissions: Permission) => hono2.MiddlewareHandler<Env$1, string, {}, Response>;
18
18
  //#endregion
19
19
  export { requirePermission };
@@ -1,6 +1,6 @@
1
- import * as hono1 from "hono";
1
+ import * as hono3 from "hono";
2
2
 
3
3
  //#region src/middleware/session-auth.d.ts
4
- declare const sessionAuth: () => hono1.MiddlewareHandler<any, string, {}, Response>;
4
+ declare const sessionAuth: () => hono3.MiddlewareHandler<any, string, {}, Response>;
5
5
  //#endregion
6
6
  export { sessionAuth };
@@ -1,7 +1,7 @@
1
- import * as hono2 from "hono";
1
+ import * as hono4 from "hono";
2
2
 
3
3
  //#region src/middleware/tenant-access.d.ts
4
- declare const requireTenantAccess: () => hono2.MiddlewareHandler<{
4
+ declare const requireTenantAccess: () => hono4.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 hono5 from "hono";
2
+ import * as hono0 from "hono";
3
3
 
4
4
  //#region src/routes/conversations.d.ts
5
- declare const app: OpenAPIHono<hono5.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono0.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 hono4 from "hono";
2
+ import * as hono5 from "hono";
3
3
 
4
4
  //#region src/routes/index.d.ts
5
- declare const app: OpenAPIHono<hono4.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono5.Env, {}, "/">;
6
6
  //#endregion
7
7
  export { app as default };
@@ -1,7 +1,7 @@
1
1
  import { Hono } from "hono";
2
- import * as hono_types4 from "hono/types";
2
+ import * as hono_types3 from "hono/types";
3
3
 
4
4
  //#region src/routes/mcp.d.ts
5
- declare const app: Hono<hono_types4.BlankEnv, hono_types4.BlankSchema, "/">;
5
+ declare const app: Hono<hono_types3.BlankEnv, hono_types3.BlankSchema, "/">;
6
6
  //#endregion
7
7
  export { app as default };
@@ -187,9 +187,9 @@ app.openapi(createRoute({
187
187
  app.openapi(createRoute({
188
188
  method: "get",
189
189
  path: "/callback",
190
- summary: "OAuth authorization callback",
191
- description: "Handles OAuth authorization codes and completes the authentication flow",
192
- operationId: "oauth-callback",
190
+ summary: "MCP OAuth authorization callback",
191
+ description: "Handles OAuth authorization codes for MCP tools and completes the authentication flow",
192
+ operationId: "mcp-oauth-callback",
193
193
  tags: ["OAuth"],
194
194
  request: { query: OAuthCallbackQuerySchema },
195
195
  responses: {
@@ -1,10 +1,10 @@
1
1
  import { BaseAppVariables } from "../types/app.js";
2
2
  import { Hono } from "hono";
3
- import * as hono_types3 from "hono/types";
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
- }, hono_types3.BlankSchema, "/">;
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-20251222224725",
3
+ "version": "0.0.0-dev-20251223025752",
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",
@@ -28,8 +28,8 @@
28
28
  "nanoid": "^5.1.5",
29
29
  "openid-client": "^6.6.4",
30
30
  "pino": "^9.7.0",
31
- "@inkeep/agents-core": "^0.0.0-dev-20251222224725",
32
- "@inkeep/agents-manage-mcp": "^0.0.0-dev-20251222224725"
31
+ "@inkeep/agents-core": "^0.0.0-dev-20251223025752",
32
+ "@inkeep/agents-manage-mcp": "^0.0.0-dev-20251223025752"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "@hono/zod-openapi": "^1.1.5",