@inkeep/agents-core 0.0.0-dev-20260106194315 → 0.0.0-dev-20260106221934
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/_virtual/rolldown_runtime.js +2 -2
- package/dist/auth/auth-schema.d.ts +104 -104
- package/dist/auth/auth-validation-schemas.d.ts +146 -146
- package/dist/auth/auth.d.ts +85 -76
- package/dist/auth/permissions.d.ts +15 -14
- package/dist/auth/permissions.js +2 -1
- package/dist/client-exports.d.ts +2 -1
- package/dist/data-access/agents.d.ts +41 -41
- package/dist/data-access/apiKeys.d.ts +20 -20
- package/dist/data-access/artifactComponents.d.ts +12 -12
- package/dist/data-access/contextConfigs.d.ts +12 -12
- package/dist/data-access/conversations.d.ts +16 -16
- package/dist/data-access/dataComponents.d.ts +6 -6
- package/dist/data-access/functionTools.d.ts +8 -8
- package/dist/data-access/messages.d.ts +21 -21
- package/dist/data-access/subAgentExternalAgentRelations.d.ts +30 -30
- package/dist/data-access/subAgentRelations.d.ts +30 -30
- package/dist/data-access/subAgentTeamAgentRelations.d.ts +24 -24
- package/dist/data-access/subAgents.d.ts +15 -15
- package/dist/data-access/tasks.d.ts +5 -5
- package/dist/data-access/tools.d.ts +33 -33
- package/dist/db/schema.d.ts +405 -405
- package/dist/db/schema.js +2 -2
- package/dist/utils/schema-conversion.d.ts +1 -1
- package/dist/utils/schema-conversion.js +1 -1
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +1020 -1020
- package/package.json +9 -9
package/dist/db/schema.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __exportAll } from "../_virtual/rolldown_runtime.js";
|
|
2
2
|
import { account, deviceCode, invitation, member, organization, session, ssoProvider, user, verification } from "../auth/auth-schema.js";
|
|
3
3
|
import { relations } from "drizzle-orm";
|
|
4
4
|
import { foreignKey, index, integer, jsonb, pgTable, primaryKey, text, timestamp, unique, varchar } from "drizzle-orm/pg-core";
|
|
5
5
|
|
|
6
6
|
//#region src/db/schema.ts
|
|
7
|
-
var schema_exports = /* @__PURE__ */
|
|
7
|
+
var schema_exports = /* @__PURE__ */ __exportAll({
|
|
8
8
|
account: () => account,
|
|
9
9
|
agentRelations: () => agentRelations,
|
|
10
10
|
agentToolRelationsRelations: () => agentToolRelationsRelations,
|
|
@@ -6,7 +6,7 @@ import { z } from "@hono/zod-openapi";
|
|
|
6
6
|
* Converts JSON Schema to Zod schema at runtime.
|
|
7
7
|
*
|
|
8
8
|
* This is useful for dynamically creating Zod schemas from JSON Schema definitions,
|
|
9
|
-
* such as when using AI SDK's
|
|
9
|
+
* such as when using AI SDK's structured generateText/streamText with data component props.
|
|
10
10
|
*
|
|
11
11
|
* Note: Uses z.string() as fallback for unknown types to ensure Anthropic compatibility
|
|
12
12
|
* (Anthropic requires explicit types - z.any()/z.unknown() produce invalid JSON Schema).
|
|
@@ -7,7 +7,7 @@ const logger = getLogger("schema-conversion");
|
|
|
7
7
|
* Converts JSON Schema to Zod schema at runtime.
|
|
8
8
|
*
|
|
9
9
|
* This is useful for dynamically creating Zod schemas from JSON Schema definitions,
|
|
10
|
-
* such as when using AI SDK's
|
|
10
|
+
* such as when using AI SDK's structured generateText/streamText with data component props.
|
|
11
11
|
*
|
|
12
12
|
* Note: Uses z.string() as fallback for unknown types to ensure Anthropic compatibility
|
|
13
13
|
* (Anthropic requires explicit types - z.any()/z.unknown() produce invalid JSON Schema).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as drizzle_zod15 from "drizzle-zod";
|
|
3
3
|
import { AnySQLiteTable } from "drizzle-orm/sqlite-core";
|
|
4
4
|
|
|
5
5
|
//#region src/validation/drizzle-schema-helpers.d.ts
|
|
@@ -22,8 +22,8 @@ declare const resourceIdSchema: z.ZodString;
|
|
|
22
22
|
declare function createResourceIdSchema(description: string, options?: {
|
|
23
23
|
example?: string;
|
|
24
24
|
}): z.ZodString;
|
|
25
|
-
declare function createSelectSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>):
|
|
26
|
-
declare function createInsertSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>):
|
|
25
|
+
declare function createSelectSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod15.BuildSchema<"select", T["_"]["columns"], drizzle_zod15.BuildRefine<T["_"]["columns"], undefined>, undefined>;
|
|
26
|
+
declare function createInsertSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod15.BuildSchema<"insert", T["_"]["columns"], drizzle_zod15.BuildRefine<Pick<T["_"]["columns"], keyof T["$inferInsert"]>, undefined>, undefined>;
|
|
27
27
|
declare const createSelectSchema: typeof createSelectSchemaWithModifiers;
|
|
28
28
|
declare const createInsertSchema: typeof createInsertSchemaWithModifiers;
|
|
29
29
|
/**
|