@inkeep/agents-manage-api 0.0.0-dev-20251125020527 → 0.0.0-dev-20251125061854

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.
@@ -70,11 +70,10 @@ var apiKeyAuth = () => createMiddleware(async (c, next) => {
70
70
  logger.info({}, "Bypass secret authenticated successfully");
71
71
  await next();
72
72
  return;
73
- } else {
74
- throw new HTTPException(401, {
75
- message: "Invalid Token"
76
- });
77
73
  }
74
+ throw new HTTPException(401, {
75
+ message: "Invalid Token"
76
+ });
78
77
  }
79
78
  await next();
80
79
  return;
@@ -6876,25 +6875,22 @@ var credentialStores_default = app7;
6876
6875
  var app8 = new OpenAPIHono();
6877
6876
  app8.use("/", async (c, next) => {
6878
6877
  if (c.req.method === "POST") {
6879
- return requirePermission({ credential: ["create"] })(
6880
- c,
6881
- next
6882
- );
6878
+ return requirePermission({
6879
+ credential: ["create"]
6880
+ })(c, next);
6883
6881
  }
6884
6882
  return next();
6885
6883
  });
6886
6884
  app8.use("/:id", async (c, next) => {
6887
6885
  if (c.req.method === "PATCH") {
6888
- return requirePermission({ credential: ["update"] })(
6889
- c,
6890
- next
6891
- );
6886
+ return requirePermission({
6887
+ credential: ["update"]
6888
+ })(c, next);
6892
6889
  }
6893
6890
  if (c.req.method === "DELETE") {
6894
- return requirePermission({ credential: ["delete"] })(
6895
- c,
6896
- next
6897
- );
6891
+ return requirePermission({
6892
+ credential: ["delete"]
6893
+ })(c, next);
6898
6894
  }
6899
6895
  return next();
6900
6896
  });
@@ -12190,7 +12186,9 @@ async function createOIDCProvider(options) {
12190
12186
  const config = await client.discovery(issuerUrl, client.randomPKCECodeVerifier());
12191
12187
  const metadata2 = config.serverMetadata();
12192
12188
  if (!metadata2.issuer || !metadata2.authorization_endpoint || !metadata2.token_endpoint || !metadata2.userinfo_endpoint || !metadata2.jwks_uri) {
12193
- console.log("Some OIDC configuration endpoints are missing, which might cause issues with SSO");
12189
+ console.log(
12190
+ "Some OIDC configuration endpoints are missing, which might cause issues with SSO"
12191
+ );
12194
12192
  }
12195
12193
  const oidcConfig = {
12196
12194
  clientId: options.clientId,
package/dist/factory.js CHANGED
@@ -1 +1 @@
1
- export { createAuth0Provider, createManagementApp, createManagementHono, createOIDCProvider, initializeDefaultUser } from './chunk-QM3J25W6.js';
1
+ export { createAuth0Provider, createManagementApp, createManagementHono, createOIDCProvider, initializeDefaultUser } from './chunk-QKQOZRHG.js';
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { createAuth0Provider, createManagementHono, env, initializeDefaultUser, dbClient_default } from './chunk-QM3J25W6.js';
2
- export { createAuth0Provider, createManagementApp, createManagementHono, createOIDCProvider, initializeDefaultUser } from './chunk-QM3J25W6.js';
1
+ import { createAuth0Provider, createManagementHono, env, initializeDefaultUser, dbClient_default } from './chunk-QKQOZRHG.js';
2
+ export { createAuth0Provider, createManagementApp, createManagementHono, createOIDCProvider, initializeDefaultUser } from './chunk-QKQOZRHG.js';
3
3
  import { createDefaultCredentialStores, CredentialStoreRegistry } from '@inkeep/agents-core';
4
4
  import { createAuth } from '@inkeep/agents-core/auth';
5
5
  export { Hono } from 'hono';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-manage-api",
3
- "version": "0.0.0-dev-20251125020527",
3
+ "version": "0.0.0-dev-20251125061854",
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",
@@ -34,8 +34,8 @@
34
34
  "openid-client": "^6.6.4",
35
35
  "pino": "^9.7.0",
36
36
  "zod": "^4.1.11",
37
- "@inkeep/agents-core": "^0.0.0-dev-20251125020527",
38
- "@inkeep/agents-manage-mcp": "^0.0.0-dev-20251125020527"
37
+ "@inkeep/agents-core": "^0.0.0-dev-20251125061854",
38
+ "@inkeep/agents-manage-mcp": "^0.0.0-dev-20251125061854"
39
39
  },
40
40
  "optionalDependencies": {
41
41
  "keytar": "^7.9.0"