@inkeep/agents-manage-api 0.0.0-dev-20251222222417 → 0.0.0-dev-20251223024418
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/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/index.d.ts +2 -2
- package/dist/routes/oauth.js +3 -3
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono0 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: () =>
|
|
14
|
+
declare const apiKeyAuth: () => hono0.MiddlewareHandler<{
|
|
15
15
|
Variables: {
|
|
16
16
|
executionContext: ExecutionContext;
|
|
17
17
|
userId?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono1 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) =>
|
|
17
|
+
declare const requirePermission: <Env$1 extends MinimalAuthVariables = MinimalAuthVariables>(permissions: Permission) => hono1.MiddlewareHandler<Env$1, string, {}, Response>;
|
|
18
18
|
//#endregion
|
|
19
19
|
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;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OpenAPIHono } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono5 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/routes/conversations.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono5.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 hono0 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/routes/index.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono0.Env, {}, "/">;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { app as default };
|
package/dist/routes/oauth.js
CHANGED
|
@@ -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: {
|
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-20251223024418",
|
|
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-
|
|
32
|
-
"@inkeep/agents-manage-mcp": "^0.0.0-dev-
|
|
31
|
+
"@inkeep/agents-core": "^0.0.0-dev-20251223024418",
|
|
32
|
+
"@inkeep/agents-manage-mcp": "^0.0.0-dev-20251223024418"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@hono/zod-openapi": "^1.1.5",
|