@inkeep/agents-core 0.0.0-dev-20260302213646 → 0.0.0-dev-20260302234522

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.
@@ -11,7 +11,7 @@ import * as hono0 from "hono";
11
11
  * auth requirement.
12
12
  *
13
13
  * Use this when the route lives under a path that already has
14
- * middleware applied (e.g. `/manage/tenants/*` has `manageApiKeyOrSessionAuth`).
14
+ * middleware applied (e.g. `/manage/tenants/*` has `manageBearerOrSessionAuth`).
15
15
  */
16
16
  declare const inheritedAuth: (meta: {
17
17
  resource?: string;
@@ -20,7 +20,7 @@ declare const inheritedAuth: (meta: {
20
20
  }) => hono0.MiddlewareHandler<any, string, {}, Response>;
21
21
  /**
22
22
  * Marker for routes under `/manage/tenants/*` whose auth is handled
23
- * by `manageApiKeyOrSessionAuth()` in createApp.ts.
23
+ * by `manageBearerOrSessionAuth()` in createApp.ts.
24
24
  *
25
25
  * No auth check runs at the route level — this is purely for OpenAPI documentation.
26
26
  */
@@ -11,7 +11,7 @@ import { createMiddleware } from "hono/factory";
11
11
  * auth requirement.
12
12
  *
13
13
  * Use this when the route lives under a path that already has
14
- * middleware applied (e.g. `/manage/tenants/*` has `manageApiKeyOrSessionAuth`).
14
+ * middleware applied (e.g. `/manage/tenants/*` has `manageBearerOrSessionAuth`).
15
15
  */
16
16
  const inheritedAuth = (meta) => {
17
17
  const mw = createMiddleware(async (_c, next) => {
@@ -22,14 +22,14 @@ const inheritedAuth = (meta) => {
22
22
  };
23
23
  /**
24
24
  * Marker for routes under `/manage/tenants/*` whose auth is handled
25
- * by `manageApiKeyOrSessionAuth()` in createApp.ts.
25
+ * by `manageBearerOrSessionAuth()` in createApp.ts.
26
26
  *
27
27
  * No auth check runs at the route level — this is purely for OpenAPI documentation.
28
28
  */
29
29
  const inheritedManageTenantAuth = () => inheritedAuth({
30
30
  resource: "organization",
31
31
  permission: "member",
32
- description: "Requires organization membership. Auth is enforced by the manageApiKeyOrSessionAuth middleware in createApp.ts."
32
+ description: "Requires organization membership. Auth is enforced by the manageBearerOrSessionAuth middleware in createApp.ts."
33
33
  });
34
34
  /**
35
35
  * Marker for routes under `/run/*` whose auth is handled
@@ -1,10 +1,10 @@
1
1
  import { z } from "@hono/zod-openapi";
2
- import * as drizzle_zod0 from "drizzle-zod";
2
+ import * as drizzle_zod365 from "drizzle-zod";
3
3
  import { AnySQLiteTable } from "drizzle-orm/sqlite-core";
4
4
 
5
5
  //#region src/validation/drizzle-schema-helpers.d.ts
6
- declare function createSelectSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod0.BuildSchema<"select", T["_"]["columns"], drizzle_zod0.BuildRefine<T["_"]["columns"], undefined>, undefined>;
7
- declare function createInsertSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod0.BuildSchema<"insert", T["_"]["columns"], drizzle_zod0.BuildRefine<Pick<T["_"]["columns"], keyof T["$inferInsert"]>, undefined>, undefined>;
6
+ declare function createSelectSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod365.BuildSchema<"select", T["_"]["columns"], drizzle_zod365.BuildRefine<T["_"]["columns"], undefined>, undefined>;
7
+ declare function createInsertSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod365.BuildSchema<"insert", T["_"]["columns"], drizzle_zod365.BuildRefine<Pick<T["_"]["columns"], keyof T["$inferInsert"]>, undefined>, undefined>;
8
8
  declare const createSelectSchema: typeof createSelectSchemaWithModifiers;
9
9
  declare const createInsertSchema: typeof createInsertSchemaWithModifiers;
10
10
  /**