@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/db/schema.js CHANGED
@@ -1,10 +1,10 @@
1
- import { __export } from "../_virtual/rolldown_runtime.js";
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__ */ __export({
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 generateObject/streamObject with data component props.
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 generateObject/streamObject with data component props.
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 drizzle_zod125 from "drizzle-zod";
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>>): drizzle_zod125.BuildSchema<"select", T["_"]["columns"], drizzle_zod125.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_zod125.BuildSchema<"insert", T["_"]["columns"], drizzle_zod125.BuildRefine<Pick<T["_"]["columns"], keyof T["$inferInsert"]>, undefined>, undefined>;
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
  /**