@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.
- package/dist/auth/auth-schema.d.ts +107 -107
- package/dist/auth/auth-validation-schemas.d.ts +152 -152
- package/dist/auth/auth.d.ts +28 -28
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/client-exports.d.ts +4 -4
- package/dist/data-access/manage/agents.d.ts +31 -31
- package/dist/data-access/manage/artifactComponents.d.ts +14 -14
- package/dist/data-access/manage/contextConfigs.d.ts +8 -8
- package/dist/data-access/manage/dataComponents.d.ts +6 -6
- package/dist/data-access/manage/functionTools.d.ts +14 -14
- package/dist/data-access/manage/skills.d.ts +10 -10
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgents.d.ts +21 -21
- package/dist/data-access/manage/tools.d.ts +18 -18
- package/dist/data-access/runtime/apiKeys.d.ts +12 -12
- package/dist/data-access/runtime/conversations.d.ts +16 -16
- package/dist/data-access/runtime/messages.d.ts +15 -15
- package/dist/data-access/runtime/tasks.d.ts +4 -4
- package/dist/db/manage/manage-schema.d.ts +447 -447
- package/dist/middleware/inherited-auth.d.ts +2 -2
- package/dist/middleware/inherited-auth.js +3 -3
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +531 -531
- package/package.json +1 -1
|
@@ -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 `
|
|
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 `
|
|
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 `
|
|
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 `
|
|
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
|
|
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
|
|
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>>):
|
|
7
|
-
declare function createInsertSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>):
|
|
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
|
/**
|