@inkeep/agents-core 0.0.0-dev-20260116203411 → 0.0.0-dev-20260116211102

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.
@@ -4,7 +4,7 @@ import "../index.js";
4
4
  import { MAX_ID_LENGTH, MIN_ID_LENGTH, URL_SAFE_ID_PATTERN, resourceIdSchema } from "./drizzle-schema-helpers.js";
5
5
  import { z } from "@hono/zod-openapi";
6
6
  import * as drizzle_orm_pg_core635 from "drizzle-orm/pg-core";
7
- import * as drizzle_zod19 from "drizzle-zod";
7
+ import * as drizzle_zod15 from "drizzle-zod";
8
8
 
9
9
  //#region src/validation/schemas.d.ts
10
10
  declare const StopWhenSchema: z.ZodObject<{
@@ -77,7 +77,7 @@ type FunctionToolConfig = Omit<z.infer<typeof FunctionToolConfigSchema>, 'execut
77
77
  };
78
78
  type OmitProjectScope<T> = Omit<T, 'tenantId' | 'projectId'>;
79
79
  type OmitAgentScope<T> = Omit<T, 'tenantId' | 'projectId' | 'agentId'>;
80
- declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
80
+ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
81
81
  createdAt: drizzle_orm_pg_core635.PgColumn<{
82
82
  name: "created_at";
83
83
  tableName: "sub_agents";
@@ -328,7 +328,7 @@ declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
328
328
  }, {}, {
329
329
  length: 256;
330
330
  }>;
331
- }, drizzle_zod19.BuildRefine<{
331
+ }, drizzle_zod15.BuildRefine<{
332
332
  createdAt: drizzle_orm_pg_core635.PgColumn<{
333
333
  name: "created_at";
334
334
  tableName: "sub_agents";
@@ -771,7 +771,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
771
771
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
772
772
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
773
773
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
774
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
775
774
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
776
775
  base: z.ZodOptional<z.ZodObject<{
777
776
  model: z.ZodOptional<z.ZodString>;
@@ -795,9 +794,10 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
795
794
  }, {
796
795
  stepCountIs?: number | undefined;
797
796
  }>>>>>>;
797
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
798
798
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
799
799
  }, z.core.$strip>;
800
- declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
800
+ declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
801
801
  createdAt: drizzle_orm_pg_core635.PgColumn<{
802
802
  name: "created_at";
803
803
  tableName: "sub_agent_relations";
@@ -965,7 +965,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select",
965
965
  }, {}, {
966
966
  length: 256;
967
967
  }>;
968
- }, drizzle_zod19.BuildRefine<{
968
+ }, drizzle_zod15.BuildRefine<{
969
969
  createdAt: drizzle_orm_pg_core635.PgColumn<{
970
970
  name: "created_at";
971
971
  tableName: "sub_agent_relations";
@@ -1236,7 +1236,7 @@ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<OmitProjectSc
1236
1236
  sourceSubAgentId: z.ZodString;
1237
1237
  externalSubAgentId: z.ZodString;
1238
1238
  }>, z.core.$strip>;
1239
- declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1239
+ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1240
1240
  createdAt: drizzle_orm_pg_core635.PgColumn<{
1241
1241
  name: "created_at";
1242
1242
  tableName: "agent";
@@ -1534,7 +1534,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1534
1534
  }, {}, {
1535
1535
  length: 256;
1536
1536
  }>;
1537
- }, drizzle_zod19.BuildRefine<{
1537
+ }, drizzle_zod15.BuildRefine<{
1538
1538
  createdAt: drizzle_orm_pg_core635.PgColumn<{
1539
1539
  name: "created_at";
1540
1540
  tableName: "agent";
@@ -1833,7 +1833,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1833
1833
  length: 256;
1834
1834
  }>;
1835
1835
  }, undefined>, undefined>;
1836
- declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
1836
+ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
1837
1837
  createdAt: drizzle_orm_pg_core635.PgColumn<{
1838
1838
  name: "created_at";
1839
1839
  tableName: "agent";
@@ -2131,7 +2131,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2131
2131
  }, {}, {
2132
2132
  length: 256;
2133
2133
  }>;
2134
- }, drizzle_zod19.BuildRefine<Pick<{
2134
+ }, drizzle_zod15.BuildRefine<Pick<{
2135
2135
  createdAt: drizzle_orm_pg_core635.PgColumn<{
2136
2136
  name: "created_at";
2137
2137
  tableName: "agent";
@@ -2429,7 +2429,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2429
2429
  }, {}, {
2430
2430
  length: 256;
2431
2431
  }>;
2432
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2432
+ }, "id" | "name" | "createdAt" | "updatedAt" | "tenantId" | "description" | "projectId" | "contextConfigId" | "models" | "stopWhen" | "defaultSubAgentId" | "prompt" | "statusUpdates">, undefined>, undefined>;
2433
2433
  declare const AgentUpdateSchema: z.ZodObject<{
2434
2434
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2435
2435
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2700,7 +2700,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2700
2700
  createdAt: z.ZodOptional<z.ZodString>;
2701
2701
  updatedAt: z.ZodOptional<z.ZodString>;
2702
2702
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2703
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2703
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2704
2704
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2705
2705
  base?: {
2706
2706
  model?: string | undefined;
@@ -2764,7 +2764,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2764
2764
  transferCountIs?: number | undefined;
2765
2765
  }>>>>;
2766
2766
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2767
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2767
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2768
2768
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2769
2769
  enabled?: boolean | undefined;
2770
2770
  numEvents?: number | undefined;
@@ -2830,7 +2830,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2830
2830
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2831
2831
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2832
2832
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2833
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2833
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2834
2834
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2835
2835
  base?: {
2836
2836
  model?: string | undefined;
@@ -2894,7 +2894,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2894
2894
  transferCountIs?: number | undefined;
2895
2895
  }>>>>>>;
2896
2896
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2897
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2897
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2898
2898
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2899
2899
  enabled?: boolean | undefined;
2900
2900
  numEvents?: number | undefined;
@@ -2953,7 +2953,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2953
2953
  }[] | undefined;
2954
2954
  }>>>>>>;
2955
2955
  }, z.core.$strip>;
2956
- declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
2956
+ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
2957
2957
  createdAt: drizzle_orm_pg_core635.PgColumn<{
2958
2958
  name: "created_at";
2959
2959
  tableName: "tasks";
@@ -3167,7 +3167,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
3167
3167
  }, {}, {
3168
3168
  length: 256;
3169
3169
  }>;
3170
- }, drizzle_zod19.BuildRefine<{
3170
+ }, drizzle_zod15.BuildRefine<{
3171
3171
  createdAt: drizzle_orm_pg_core635.PgColumn<{
3172
3172
  name: "created_at";
3173
3173
  tableName: "tasks";
@@ -3485,8 +3485,6 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
3485
3485
  }>, z.core.$strip>;
3486
3486
  declare const TaskApiUpdateSchema: z.ZodObject<{
3487
3487
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3488
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3489
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3490
3488
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3491
3489
  type: z.ZodEnum<{
3492
3490
  commit: "commit";
@@ -3496,14 +3494,16 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
3496
3494
  name: z.ZodString;
3497
3495
  hash: z.ZodString;
3498
3496
  }, z.core.$strip>>>;
3499
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
3497
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3498
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3500
3499
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3500
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
3501
3501
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3502
3502
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3503
3503
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3504
3504
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3505
3505
  }, z.core.$strip>;
3506
- declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
3506
+ declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
3507
3507
  createdAt: drizzle_orm_pg_core635.PgColumn<{
3508
3508
  name: "created_at";
3509
3509
  tableName: "task_relations";
@@ -3652,7 +3652,7 @@ declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
3652
3652
  }, {}, {
3653
3653
  length: 256;
3654
3654
  }>;
3655
- }, drizzle_zod19.BuildRefine<{
3655
+ }, drizzle_zod15.BuildRefine<{
3656
3656
  createdAt: drizzle_orm_pg_core635.PgColumn<{
3657
3657
  name: "created_at";
3658
3658
  tableName: "task_relations";
@@ -3877,7 +3877,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
3877
3877
  description: z.ZodOptional<z.ZodString>;
3878
3878
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3879
3879
  }, z.core.$strip>;
3880
- declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
3880
+ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
3881
3881
  createdAt: drizzle_orm_pg_core635.PgColumn<{
3882
3882
  name: "created_at";
3883
3883
  tableName: "tools";
@@ -4140,7 +4140,7 @@ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
4140
4140
  }, {}, {
4141
4141
  length: 256;
4142
4142
  }>;
4143
- }, drizzle_zod19.BuildRefine<{
4143
+ }, drizzle_zod15.BuildRefine<{
4144
4144
  createdAt: drizzle_orm_pg_core635.PgColumn<{
4145
4145
  name: "created_at";
4146
4146
  tableName: "tools";
@@ -4448,7 +4448,7 @@ declare const ToolInsertSchema: z.ZodObject<{
4448
4448
  out: {};
4449
4449
  in: {};
4450
4450
  }>;
4451
- declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
4451
+ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
4452
4452
  createdAt: drizzle_orm_pg_core635.PgColumn<{
4453
4453
  name: "created_at";
4454
4454
  tableName: "conversations";
@@ -4677,7 +4677,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
4677
4677
  }, {}, {
4678
4678
  length: 256;
4679
4679
  }>;
4680
- }, drizzle_zod19.BuildRefine<{
4680
+ }, drizzle_zod15.BuildRefine<{
4681
4681
  createdAt: drizzle_orm_pg_core635.PgColumn<{
4682
4682
  name: "created_at";
4683
4683
  tableName: "conversations";
@@ -5014,8 +5014,6 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
5014
5014
  }>, z.core.$strip>;
5015
5015
  declare const ConversationApiUpdateSchema: z.ZodObject<{
5016
5016
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5017
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5018
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5019
5017
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5020
5018
  type: z.ZodEnum<{
5021
5019
  commit: "commit";
@@ -5025,15 +5023,17 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
5025
5023
  name: z.ZodString;
5026
5024
  hash: z.ZodString;
5027
5025
  }, z.core.$strip>>>;
5026
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5027
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5028
5028
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5029
5029
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
5030
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5031
5030
  agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5032
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5033
5031
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5032
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5034
5033
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5034
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5035
5035
  }, z.core.$strip>;
5036
- declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
5036
+ declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
5037
5037
  createdAt: drizzle_orm_pg_core635.PgColumn<{
5038
5038
  name: "created_at";
5039
5039
  tableName: "messages";
@@ -5429,7 +5429,7 @@ declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
5429
5429
  }, {}, {
5430
5430
  length: 256;
5431
5431
  }>;
5432
- }, drizzle_zod19.BuildRefine<{
5432
+ }, drizzle_zod15.BuildRefine<{
5433
5433
  createdAt: drizzle_orm_pg_core635.PgColumn<{
5434
5434
  name: "created_at";
5435
5435
  tableName: "messages";
@@ -5930,7 +5930,6 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
5930
5930
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5931
5931
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
5932
5932
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5933
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
5934
5933
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5935
5934
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5936
5935
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5938,6 +5937,7 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
5938
5937
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5939
5938
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5940
5939
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5940
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
5941
5941
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5942
5942
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5943
5943
  taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -5945,7 +5945,7 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
5945
5945
  a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5946
5946
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5947
5947
  }, z.core.$strip>;
5948
- declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
5948
+ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
5949
5949
  createdAt: drizzle_orm_pg_core635.PgColumn<{
5950
5950
  name: "created_at";
5951
5951
  tableName: "context_cache";
@@ -6195,7 +6195,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
6195
6195
  }, {}, {
6196
6196
  length: 256;
6197
6197
  }>;
6198
- }, drizzle_zod19.BuildRefine<{
6198
+ }, drizzle_zod15.BuildRefine<{
6199
6199
  createdAt: drizzle_orm_pg_core635.PgColumn<{
6200
6200
  name: "created_at";
6201
6201
  tableName: "context_cache";
@@ -6452,7 +6452,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
6452
6452
  conversationId: z.ZodString;
6453
6453
  contextConfigId: z.ZodString;
6454
6454
  contextVariableKey: z.ZodString;
6455
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
6455
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
6456
6456
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6457
6457
  fetchedAt: z.ZodOptional<z.ZodString>;
6458
6458
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6478,7 +6478,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
6478
6478
  conversationId: z.ZodOptional<z.ZodString>;
6479
6479
  contextConfigId: z.ZodOptional<z.ZodString>;
6480
6480
  contextVariableKey: z.ZodOptional<z.ZodString>;
6481
- value: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
6481
+ value: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
6482
6482
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6483
6483
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6484
6484
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -6521,7 +6521,7 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
6521
6521
  name: string;
6522
6522
  hash: string;
6523
6523
  }>>>;
6524
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
6524
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
6525
6525
  requestHash: z.ZodNullable<z.ZodString>;
6526
6526
  fetchedAt: z.ZodString;
6527
6527
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -6535,7 +6535,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
6535
6535
  conversationId: z.ZodString;
6536
6536
  contextConfigId: z.ZodString;
6537
6537
  contextVariableKey: z.ZodString;
6538
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
6538
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
6539
6539
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6540
6540
  fetchedAt: z.ZodOptional<z.ZodString>;
6541
6541
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6554,8 +6554,6 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
6554
6554
  }>, z.core.$strip>;
6555
6555
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
6556
6556
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6557
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6558
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6559
6557
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6560
6558
  type: z.ZodEnum<{
6561
6559
  commit: "commit";
@@ -6565,15 +6563,17 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
6565
6563
  name: z.ZodString;
6566
6564
  hash: z.ZodString;
6567
6565
  }, z.core.$strip>>>;
6568
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
6569
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6566
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6567
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6568
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
6570
6569
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6570
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6571
6571
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6572
6572
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6573
6573
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6574
6574
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6575
6575
  }, z.core.$strip>;
6576
- declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
6576
+ declare const DatasetRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
6577
6577
  createdAt: drizzle_orm_pg_core635.PgColumn<{
6578
6578
  name: "created_at";
6579
6579
  tableName: "dataset_run";
@@ -6716,7 +6716,7 @@ declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
6716
6716
  }, {}, {
6717
6717
  length: 256;
6718
6718
  }>;
6719
- }, drizzle_zod19.BuildRefine<{
6719
+ }, drizzle_zod15.BuildRefine<{
6720
6720
  createdAt: drizzle_orm_pg_core635.PgColumn<{
6721
6721
  name: "created_at";
6722
6722
  tableName: "dataset_run";
@@ -6910,7 +6910,7 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
6910
6910
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6911
6911
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6912
6912
  }, z.core.$strip>;
6913
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6913
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
6914
6914
  createdAt: drizzle_orm_pg_core635.PgColumn<{
6915
6915
  name: "created_at";
6916
6916
  tableName: "dataset_run_conversation_relations";
@@ -7053,7 +7053,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSch
7053
7053
  }, {}, {
7054
7054
  length: 256;
7055
7055
  }>;
7056
- }, drizzle_zod19.BuildRefine<{
7056
+ }, drizzle_zod15.BuildRefine<{
7057
7057
  createdAt: drizzle_orm_pg_core635.PgColumn<{
7058
7058
  name: "created_at";
7059
7059
  tableName: "dataset_run_conversation_relations";
@@ -7247,7 +7247,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
7247
7247
  datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7248
7248
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7249
7249
  }, z.core.$strip>;
7250
- declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select", {
7250
+ declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select", {
7251
7251
  createdAt: drizzle_orm_pg_core635.PgColumn<{
7252
7252
  name: "created_at";
7253
7253
  tableName: "evaluation_result";
@@ -7409,7 +7409,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select",
7409
7409
  }, {}, {
7410
7410
  length: 256;
7411
7411
  }>;
7412
- }, drizzle_zod19.BuildRefine<{
7412
+ }, drizzle_zod15.BuildRefine<{
7413
7413
  createdAt: drizzle_orm_pg_core635.PgColumn<{
7414
7414
  name: "created_at";
7415
7415
  tableName: "evaluation_result";
@@ -7612,22 +7612,22 @@ declare const EvaluationResultApiSelectSchema: z.ZodObject<OmitProjectScope<{
7612
7612
  id: z.ZodString;
7613
7613
  }>, z.core.$strip>;
7614
7614
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
7615
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
7615
7616
  createdAt: z.ZodOptional<z.ZodString>;
7616
7617
  updatedAt: z.ZodOptional<z.ZodString>;
7617
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
7618
7618
  conversationId: z.ZodString;
7619
7619
  evaluatorId: z.ZodString;
7620
7620
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7621
7621
  }, z.core.$strip>;
7622
7622
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
7623
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
7623
7624
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7624
7625
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7625
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
7626
7626
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7627
7627
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7628
7628
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7629
7629
  }, z.core.$strip>;
7630
- declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
7630
+ declare const EvaluationRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
7631
7631
  createdAt: drizzle_orm_pg_core635.PgColumn<{
7632
7632
  name: "created_at";
7633
7633
  tableName: "evaluation_run";
@@ -7753,7 +7753,7 @@ declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
7753
7753
  }, {}, {
7754
7754
  length: 256;
7755
7755
  }>;
7756
- }, drizzle_zod19.BuildRefine<{
7756
+ }, drizzle_zod15.BuildRefine<{
7757
7757
  createdAt: drizzle_orm_pg_core635.PgColumn<{
7758
7758
  name: "created_at";
7759
7759
  tableName: "evaluation_run";
@@ -7925,7 +7925,7 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
7925
7925
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7926
7926
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7927
7927
  }, z.core.$strip>;
7928
- declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
7928
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
7929
7929
  createdAt: drizzle_orm_pg_core635.PgColumn<{
7930
7930
  name: "created_at";
7931
7931
  tableName: "evaluation_run_config";
@@ -8070,7 +8070,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select
8070
8070
  }, {}, {
8071
8071
  length: 256;
8072
8072
  }>;
8073
- }, drizzle_zod19.BuildRefine<{
8073
+ }, drizzle_zod15.BuildRefine<{
8074
8074
  createdAt: drizzle_orm_pg_core635.PgColumn<{
8075
8075
  name: "created_at";
8076
8076
  tableName: "evaluation_run_config";
@@ -8277,7 +8277,7 @@ declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
8277
8277
  isActive: z.ZodBoolean;
8278
8278
  suiteConfigIds: z.ZodArray<z.ZodString>;
8279
8279
  }, z.core.$strip>;
8280
- declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
8280
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
8281
8281
  createdAt: drizzle_orm_pg_core635.PgColumn<{
8282
8282
  name: "created_at";
8283
8283
  tableName: "evaluation_job_config";
@@ -8404,7 +8404,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select
8404
8404
  }, {}, {
8405
8405
  length: 256;
8406
8406
  }>;
8407
- }, drizzle_zod19.BuildRefine<{
8407
+ }, drizzle_zod15.BuildRefine<{
8408
8408
  createdAt: drizzle_orm_pg_core635.PgColumn<{
8409
8409
  name: "created_at";
8410
8410
  tableName: "evaluation_job_config";
@@ -8733,7 +8733,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
8733
8733
  } | undefined;
8734
8734
  }>>>>>>>;
8735
8735
  }, z.core.$strip>;
8736
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
8736
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
8737
8737
  createdAt: drizzle_orm_pg_core635.PgColumn<{
8738
8738
  name: "created_at";
8739
8739
  tableName: "evaluation_suite_config";
@@ -8861,7 +8861,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"sele
8861
8861
  }, {}, {
8862
8862
  length: 256;
8863
8863
  }>;
8864
- }, drizzle_zod19.BuildRefine<{
8864
+ }, drizzle_zod15.BuildRefine<{
8865
8865
  createdAt: drizzle_orm_pg_core635.PgColumn<{
8866
8866
  name: "created_at";
8867
8867
  tableName: "evaluation_suite_config";
@@ -9037,7 +9037,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
9037
9037
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
9038
9038
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
9039
9039
  }, z.core.$strip>;
9040
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
9040
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
9041
9041
  createdAt: drizzle_orm_pg_core635.PgColumn<{
9042
9042
  name: "created_at";
9043
9043
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -9163,7 +9163,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
9163
9163
  }, {}, {
9164
9164
  length: 256;
9165
9165
  }>;
9166
- }, drizzle_zod19.BuildRefine<{
9166
+ }, drizzle_zod15.BuildRefine<{
9167
9167
  createdAt: drizzle_orm_pg_core635.PgColumn<{
9168
9168
  name: "created_at";
9169
9169
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -9335,7 +9335,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z
9335
9335
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9336
9336
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9337
9337
  }, z.core.$strip>;
9338
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
9338
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
9339
9339
  createdAt: drizzle_orm_pg_core635.PgColumn<{
9340
9340
  name: "created_at";
9341
9341
  tableName: "evaluation_job_config_evaluator_relations";
@@ -9461,7 +9461,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.Bu
9461
9461
  }, {}, {
9462
9462
  length: 256;
9463
9463
  }>;
9464
- }, drizzle_zod19.BuildRefine<{
9464
+ }, drizzle_zod15.BuildRefine<{
9465
9465
  createdAt: drizzle_orm_pg_core635.PgColumn<{
9466
9466
  name: "created_at";
9467
9467
  tableName: "evaluation_job_config_evaluator_relations";
@@ -9633,7 +9633,7 @@ declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
9633
9633
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9634
9634
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9635
9635
  }, z.core.$strip>;
9636
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
9636
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
9637
9637
  createdAt: drizzle_orm_pg_core635.PgColumn<{
9638
9638
  name: "created_at";
9639
9639
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -9759,7 +9759,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.
9759
9759
  }, {}, {
9760
9760
  length: 256;
9761
9761
  }>;
9762
- }, drizzle_zod19.BuildRefine<{
9762
+ }, drizzle_zod15.BuildRefine<{
9763
9763
  createdAt: drizzle_orm_pg_core635.PgColumn<{
9764
9764
  name: "created_at";
9765
9765
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -9931,7 +9931,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject
9931
9931
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9932
9932
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9933
9933
  }, z.core.$strip>;
9934
- declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
9934
+ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
9935
9935
  createdAt: drizzle_orm_pg_core635.PgColumn<{
9936
9936
  name: "created_at";
9937
9937
  tableName: "evaluator";
@@ -10139,7 +10139,7 @@ declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
10139
10139
  }, {}, {
10140
10140
  length: 256;
10141
10141
  }>;
10142
- }, drizzle_zod19.BuildRefine<{
10142
+ }, drizzle_zod15.BuildRefine<{
10143
10143
  createdAt: drizzle_orm_pg_core635.PgColumn<{
10144
10144
  name: "created_at";
10145
10145
  tableName: "evaluator";
@@ -10433,9 +10433,8 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
10433
10433
  name: z.ZodString;
10434
10434
  createdAt: z.ZodOptional<z.ZodString>;
10435
10435
  updatedAt: z.ZodOptional<z.ZodString>;
10436
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
10437
10436
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10438
- prompt: z.ZodString;
10437
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
10439
10438
  model: z.ZodType<{
10440
10439
  model?: string | undefined;
10441
10440
  providerOptions?: Record<string, any> | undefined;
@@ -10449,15 +10448,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
10449
10448
  model?: string | undefined;
10450
10449
  providerOptions?: Record<string, any> | undefined;
10451
10450
  }>>;
10451
+ prompt: z.ZodString;
10452
10452
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
10453
10453
  }, z.core.$strip>;
10454
10454
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
10455
10455
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10456
10456
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10457
10457
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10458
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
10459
10458
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10460
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10459
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
10461
10460
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
10462
10461
  model?: string | undefined;
10463
10462
  providerOptions?: Record<string, any> | undefined;
@@ -10471,9 +10470,10 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
10471
10470
  model?: string | undefined;
10472
10471
  providerOptions?: Record<string, any> | undefined;
10473
10472
  }>>>>;
10473
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10474
10474
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
10475
10475
  }, z.core.$strip>;
10476
- declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
10476
+ declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
10477
10477
  createdAt: drizzle_orm_pg_core635.PgColumn<{
10478
10478
  name: "created_at";
10479
10479
  tableName: "dataset";
@@ -10584,7 +10584,7 @@ declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
10584
10584
  }, {}, {
10585
10585
  length: 256;
10586
10586
  }>;
10587
- }, drizzle_zod19.BuildRefine<{
10587
+ }, drizzle_zod15.BuildRefine<{
10588
10588
  createdAt: drizzle_orm_pg_core635.PgColumn<{
10589
10589
  name: "created_at";
10590
10590
  tableName: "dataset";
@@ -10736,7 +10736,7 @@ declare const DatasetApiUpdateSchema: z.ZodObject<{
10736
10736
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10737
10737
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10738
10738
  }, z.core.$strip>;
10739
- declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
10739
+ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
10740
10740
  createdAt: drizzle_orm_pg_core635.PgColumn<{
10741
10741
  name: "created_at";
10742
10742
  tableName: "dataset_item";
@@ -10922,7 +10922,7 @@ declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
10922
10922
  }, {}, {
10923
10923
  length: 256;
10924
10924
  }>;
10925
- }, drizzle_zod19.BuildRefine<{
10925
+ }, drizzle_zod15.BuildRefine<{
10926
10926
  createdAt: drizzle_orm_pg_core635.PgColumn<{
10927
10927
  name: "created_at";
10928
10928
  tableName: "dataset_item";
@@ -11269,9 +11269,9 @@ declare const DatasetItemApiSelectSchema: z.ZodObject<OmitProjectScope<{
11269
11269
  id: z.ZodString;
11270
11270
  }>, z.core.$strip>;
11271
11271
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
11272
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
11272
11273
  createdAt: z.ZodOptional<z.ZodString>;
11273
11274
  updatedAt: z.ZodOptional<z.ZodString>;
11274
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
11275
11275
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
11276
11276
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
11277
11277
  prompt: string;
@@ -11316,9 +11316,9 @@ declare const DatasetItemApiInsertSchema: z.ZodObject<{
11316
11316
  }>>>>;
11317
11317
  }, z.core.$strip>;
11318
11318
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
11319
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
11319
11320
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11320
11321
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11321
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
11322
11322
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
11323
11323
  simulationAgent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
11324
11324
  prompt: string;
@@ -11363,8 +11363,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
11363
11363
  }>>>>>>;
11364
11364
  }, z.core.$strip>;
11365
11365
  declare const DatasetRunItemSchema: z.ZodObject<{
11366
- id: z.ZodOptional<z.ZodString>;
11367
11366
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
11367
+ id: z.ZodOptional<z.ZodString>;
11368
11368
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
11369
11369
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
11370
11370
  prompt: string;
@@ -11412,8 +11412,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
11412
11412
  declare const TriggerDatasetRunSchema: z.ZodObject<{
11413
11413
  datasetRunId: z.ZodString;
11414
11414
  items: z.ZodArray<z.ZodObject<{
11415
- id: z.ZodOptional<z.ZodString>;
11416
11415
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
11416
+ id: z.ZodOptional<z.ZodString>;
11417
11417
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
11418
11418
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
11419
11419
  prompt: string;
@@ -11491,7 +11491,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
11491
11491
  }, z.core.$strip>>;
11492
11492
  }, z.core.$loose>>>;
11493
11493
  }, z.core.$strip>;
11494
- declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
11494
+ declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
11495
11495
  createdAt: drizzle_orm_pg_core635.PgColumn<{
11496
11496
  name: "created_at";
11497
11497
  tableName: "dataset_run_config";
@@ -11636,7 +11636,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select",
11636
11636
  }, {}, {
11637
11637
  length: 256;
11638
11638
  }>;
11639
- }, drizzle_zod19.BuildRefine<{
11639
+ }, drizzle_zod15.BuildRefine<{
11640
11640
  createdAt: drizzle_orm_pg_core635.PgColumn<{
11641
11641
  name: "created_at";
11642
11642
  tableName: "dataset_run_config";
@@ -11832,7 +11832,7 @@ declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
11832
11832
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11833
11833
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11834
11834
  }, z.core.$strip>;
11835
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11835
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11836
11836
  createdAt: drizzle_orm_pg_core635.PgColumn<{
11837
11837
  name: "created_at";
11838
11838
  tableName: "dataset_run_config_agent_relations";
@@ -11958,7 +11958,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSche
11958
11958
  }, {}, {
11959
11959
  length: 256;
11960
11960
  }>;
11961
- }, drizzle_zod19.BuildRefine<{
11961
+ }, drizzle_zod15.BuildRefine<{
11962
11962
  createdAt: drizzle_orm_pg_core635.PgColumn<{
11963
11963
  name: "created_at";
11964
11964
  tableName: "dataset_run_config_agent_relations";
@@ -12130,7 +12130,7 @@ declare const DatasetRunConfigAgentRelationApiUpdateSchema: z.ZodObject<{
12130
12130
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12131
12131
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12132
12132
  }, z.core.$strip>;
12133
- declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
12133
+ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
12134
12134
  createdAt: drizzle_orm_pg_core635.PgColumn<{
12135
12135
  name: "created_at";
12136
12136
  tableName: "data_components";
@@ -12302,7 +12302,7 @@ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
12302
12302
  }, {}, {
12303
12303
  length: 256;
12304
12304
  }>;
12305
- }, drizzle_zod19.BuildRefine<{
12305
+ }, drizzle_zod15.BuildRefine<{
12306
12306
  createdAt: drizzle_orm_pg_core635.PgColumn<{
12307
12307
  name: "created_at";
12308
12308
  tableName: "data_components";
@@ -12504,8 +12504,8 @@ declare const DataComponentInsertSchema: z.ZodObject<{
12504
12504
  declare const DataComponentBaseSchema: z.ZodObject<{
12505
12505
  id: z.ZodString;
12506
12506
  name: z.ZodString;
12507
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12508
12507
  tenantId: z.ZodString;
12508
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12509
12509
  projectId: z.ZodString;
12510
12510
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12511
12511
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -12618,7 +12618,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
12618
12618
  mockData: Record<string, unknown>;
12619
12619
  }>>>>>>;
12620
12620
  }, z.core.$strip>;
12621
- declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
12621
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
12622
12622
  dataComponentId: drizzle_orm_pg_core635.PgColumn<{
12623
12623
  name: "data_component_id";
12624
12624
  tableName: "sub_agent_data_components";
@@ -12750,7 +12750,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
12750
12750
  }, {}, {
12751
12751
  length: 256;
12752
12752
  }>;
12753
- }, drizzle_zod19.BuildRefine<{
12753
+ }, drizzle_zod15.BuildRefine<{
12754
12754
  dataComponentId: drizzle_orm_pg_core635.PgColumn<{
12755
12755
  name: "data_component_id";
12756
12756
  tableName: "sub_agent_data_components";
@@ -12883,7 +12883,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
12883
12883
  length: 256;
12884
12884
  }>;
12885
12885
  }, undefined>, undefined>;
12886
- declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
12886
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
12887
12887
  dataComponentId: drizzle_orm_pg_core635.PgColumn<{
12888
12888
  name: "data_component_id";
12889
12889
  tableName: "sub_agent_data_components";
@@ -13015,7 +13015,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
13015
13015
  }, {}, {
13016
13016
  length: 256;
13017
13017
  }>;
13018
- }, drizzle_zod19.BuildRefine<Pick<{
13018
+ }, drizzle_zod15.BuildRefine<Pick<{
13019
13019
  dataComponentId: drizzle_orm_pg_core635.PgColumn<{
13020
13020
  name: "data_component_id";
13021
13021
  tableName: "sub_agent_data_components";
@@ -13147,7 +13147,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
13147
13147
  }, {}, {
13148
13148
  length: 256;
13149
13149
  }>;
13150
- }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
13150
+ }, "id" | "createdAt" | "tenantId" | "agentId" | "projectId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
13151
13151
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
13152
13152
  dataComponentId: z.ZodOptional<z.ZodString>;
13153
13153
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -13183,7 +13183,7 @@ declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
13183
13183
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13184
13184
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13185
13185
  }, z.core.$strip>;
13186
- declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
13186
+ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
13187
13187
  createdAt: drizzle_orm_pg_core635.PgColumn<{
13188
13188
  name: "created_at";
13189
13189
  tableName: "artifact_components";
@@ -13355,7 +13355,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select",
13355
13355
  }, {}, {
13356
13356
  length: 256;
13357
13357
  }>;
13358
- }, drizzle_zod19.BuildRefine<{
13358
+ }, drizzle_zod15.BuildRefine<{
13359
13359
  createdAt: drizzle_orm_pg_core635.PgColumn<{
13360
13360
  name: "created_at";
13361
13361
  tableName: "artifact_components";
@@ -13646,7 +13646,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
13646
13646
  mockData: Record<string, unknown>;
13647
13647
  }>>>>>>;
13648
13648
  }, z.core.$strip>;
13649
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
13649
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
13650
13650
  artifactComponentId: drizzle_orm_pg_core635.PgColumn<{
13651
13651
  name: "artifact_component_id";
13652
13652
  tableName: "sub_agent_artifact_components";
@@ -13778,7 +13778,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"
13778
13778
  }, {}, {
13779
13779
  length: 256;
13780
13780
  }>;
13781
- }, drizzle_zod19.BuildRefine<{
13781
+ }, drizzle_zod15.BuildRefine<{
13782
13782
  artifactComponentId: drizzle_orm_pg_core635.PgColumn<{
13783
13783
  name: "artifact_component_id";
13784
13784
  tableName: "sub_agent_artifact_components";
@@ -14028,8 +14028,8 @@ declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
14028
14028
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14029
14029
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14030
14030
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14031
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14032
14031
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14032
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14033
14033
  }, z.core.$strip>;
14034
14034
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
14035
14035
  id: z.ZodString;
@@ -14037,7 +14037,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
14037
14037
  createdAt: z.ZodString;
14038
14038
  updatedAt: z.ZodString;
14039
14039
  description: z.ZodNullable<z.ZodString>;
14040
- prompt: z.ZodNullable<z.ZodString>;
14041
14040
  models: z.ZodNullable<z.ZodType<{
14042
14041
  base?: {
14043
14042
  model?: string | undefined;
@@ -14100,6 +14099,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
14100
14099
  }, {
14101
14100
  stepCountIs?: number | undefined;
14102
14101
  }>>>;
14102
+ prompt: z.ZodNullable<z.ZodString>;
14103
14103
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
14104
14104
  type: z.ZodLiteral<"internal">;
14105
14105
  }, z.core.$strip>, z.ZodObject<{
@@ -14108,11 +14108,11 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
14108
14108
  createdAt: z.ZodString;
14109
14109
  updatedAt: z.ZodString;
14110
14110
  description: z.ZodNullable<z.ZodString>;
14111
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14112
14111
  baseUrl: z.ZodString;
14112
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14113
14113
  type: z.ZodLiteral<"external">;
14114
14114
  }, z.core.$strip>], "type">;
14115
- declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
14115
+ declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
14116
14116
  createdAt: drizzle_orm_pg_core635.PgColumn<{
14117
14117
  name: "created_at";
14118
14118
  tableName: "api_keys";
@@ -14333,7 +14333,7 @@ declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
14333
14333
  }, {}, {
14334
14334
  length: 256;
14335
14335
  }>;
14336
- }, drizzle_zod19.BuildRefine<{
14336
+ }, drizzle_zod15.BuildRefine<{
14337
14337
  createdAt: drizzle_orm_pg_core635.PgColumn<{
14338
14338
  name: "created_at";
14339
14339
  tableName: "api_keys";
@@ -14635,7 +14635,7 @@ declare const ApiKeyApiUpdateSchema: z.ZodObject<{
14635
14635
  out: {};
14636
14636
  in: {};
14637
14637
  }>;
14638
- declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select", {
14638
+ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select", {
14639
14639
  createdAt: drizzle_orm_pg_core635.PgColumn<{
14640
14640
  name: "created_at";
14641
14641
  tableName: "credential_references";
@@ -14860,7 +14860,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
14860
14860
  }, {}, {
14861
14861
  length: 256;
14862
14862
  }>;
14863
- }, drizzle_zod19.BuildRefine<{
14863
+ }, drizzle_zod15.BuildRefine<{
14864
14864
  createdAt: drizzle_orm_pg_core635.PgColumn<{
14865
14865
  name: "created_at";
14866
14866
  tableName: "credential_references";
@@ -15126,16 +15126,16 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
15126
15126
  createdAt: z.ZodString;
15127
15127
  updatedAt: z.ZodString;
15128
15128
  userId: z.ZodNullable<z.ZodString>;
15129
+ createdBy: z.ZodNullable<z.ZodString>;
15129
15130
  credentialStoreId: z.ZodString;
15130
15131
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
15131
15132
  toolId: z.ZodNullable<z.ZodString>;
15132
- createdBy: z.ZodNullable<z.ZodString>;
15133
15133
  type: z.ZodEnum<{
15134
15134
  readonly memory: "memory";
15135
15135
  readonly keychain: "keychain";
15136
15136
  readonly nango: "nango";
15137
15137
  }>;
15138
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
15138
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
15139
15139
  createdAt: drizzle_orm_pg_core635.PgColumn<{
15140
15140
  name: "created_at";
15141
15141
  tableName: "tools";
@@ -15398,7 +15398,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
15398
15398
  }, {}, {
15399
15399
  length: 256;
15400
15400
  }>;
15401
- }, drizzle_zod19.BuildRefine<{
15401
+ }, drizzle_zod15.BuildRefine<{
15402
15402
  createdAt: drizzle_orm_pg_core635.PgColumn<{
15403
15403
  name: "created_at";
15404
15404
  tableName: "tools";
@@ -15683,10 +15683,10 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
15683
15683
  createdAt: z.ZodOptional<z.ZodString>;
15684
15684
  updatedAt: z.ZodOptional<z.ZodString>;
15685
15685
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15686
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15686
15687
  credentialStoreId: z.ZodString;
15687
15688
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
15688
15689
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15689
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15690
15690
  type: z.ZodEnum<{
15691
15691
  readonly memory: "memory";
15692
15692
  readonly keychain: "keychain";
@@ -15699,10 +15699,10 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
15699
15699
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15700
15700
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15701
15701
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15702
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15702
15703
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15703
15704
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
15704
15705
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15705
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15706
15706
  type: z.ZodOptional<z.ZodEnum<{
15707
15707
  readonly memory: "memory";
15708
15708
  readonly keychain: "keychain";
@@ -15827,8 +15827,8 @@ declare const MCPToolConfigSchema: z.ZodObject<{
15827
15827
  name: z.ZodString;
15828
15828
  expiresAt: z.ZodOptional<z.ZodString>;
15829
15829
  createdBy: z.ZodOptional<z.ZodString>;
15830
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
15831
15830
  credentialScope: z.ZodOptional<z.ZodString>;
15831
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
15832
15832
  imageUrl: z.ZodOptional<z.ZodString>;
15833
15833
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
15834
15834
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -15863,10 +15863,10 @@ declare const MCPToolConfigSchema: z.ZodObject<{
15863
15863
  createdAt: z.ZodOptional<z.ZodString>;
15864
15864
  updatedAt: z.ZodOptional<z.ZodString>;
15865
15865
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15866
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15866
15867
  credentialStoreId: z.ZodString;
15867
15868
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
15868
15869
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15869
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15870
15870
  type: z.ZodEnum<{
15871
15871
  readonly memory: "memory";
15872
15872
  readonly keychain: "keychain";
@@ -16003,6 +16003,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
16003
16003
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16004
16004
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16005
16005
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16006
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16006
16007
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
16007
16008
  type: z.ZodLiteral<"mcp">;
16008
16009
  mcp: z.ZodObject<{
@@ -16029,14 +16030,13 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
16029
16030
  prompt: z.ZodOptional<z.ZodString>;
16030
16031
  }, z.core.$strip>;
16031
16032
  }, z.core.$strip>>>;
16032
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16033
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
16034
16033
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16034
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
16035
16035
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16036
16036
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
16037
16037
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16038
16038
  }, z.core.$strip>;
16039
- declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
16039
+ declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
16040
16040
  createdAt: drizzle_orm_pg_core635.PgColumn<{
16041
16041
  name: "created_at";
16042
16042
  tableName: "function_tools";
@@ -16202,7 +16202,7 @@ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
16202
16202
  }, {}, {
16203
16203
  length: 256;
16204
16204
  }>;
16205
- }, drizzle_zod19.BuildRefine<{
16205
+ }, drizzle_zod15.BuildRefine<{
16206
16206
  createdAt: drizzle_orm_pg_core635.PgColumn<{
16207
16207
  name: "created_at";
16208
16208
  tableName: "function_tools";
@@ -16424,11 +16424,11 @@ declare const FunctionToolApiUpdateSchema: z.ZodObject<{
16424
16424
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16425
16425
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16426
16426
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16427
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16428
16427
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16428
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16429
16429
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16430
16430
  }, z.core.$strip>;
16431
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
16431
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
16432
16432
  createdAt: drizzle_orm_pg_core635.PgColumn<{
16433
16433
  name: "created_at";
16434
16434
  tableName: "sub_agent_function_tool_relations";
@@ -16577,7 +16577,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
16577
16577
  }, {}, {
16578
16578
  length: 256;
16579
16579
  }>;
16580
- }, drizzle_zod19.BuildRefine<{
16580
+ }, drizzle_zod15.BuildRefine<{
16581
16581
  createdAt: drizzle_orm_pg_core635.PgColumn<{
16582
16582
  name: "created_at";
16583
16583
  tableName: "sub_agent_function_tool_relations";
@@ -16757,7 +16757,7 @@ declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
16757
16757
  out: {};
16758
16758
  in: {};
16759
16759
  }>;
16760
- declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
16760
+ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
16761
16761
  createdAt: drizzle_orm_pg_core635.PgColumn<{
16762
16762
  name: "created_at";
16763
16763
  tableName: "functions";
@@ -16904,7 +16904,7 @@ declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
16904
16904
  }, {}, {
16905
16905
  length: 256;
16906
16906
  }>;
16907
- }, drizzle_zod19.BuildRefine<{
16907
+ }, drizzle_zod15.BuildRefine<{
16908
16908
  createdAt: drizzle_orm_pg_core635.PgColumn<{
16909
16909
  name: "created_at";
16910
16910
  tableName: "functions";
@@ -17151,10 +17151,10 @@ declare const FetchDefinitionSchema: z.ZodObject<{
17151
17151
  createdAt: z.ZodOptional<z.ZodString>;
17152
17152
  updatedAt: z.ZodOptional<z.ZodString>;
17153
17153
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17154
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17154
17155
  credentialStoreId: z.ZodString;
17155
17156
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17156
17157
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17157
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17158
17158
  type: z.ZodEnum<{
17159
17159
  readonly memory: "memory";
17160
17160
  readonly keychain: "keychain";
@@ -17178,8 +17178,8 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
17178
17178
  declare const ContextConfigInsertSchema: z.ZodObject<{
17179
17179
  id: z.ZodOptional<z.ZodString>;
17180
17180
  tenantId: z.ZodString;
17181
- projectId: z.ZodString;
17182
17181
  agentId: z.ZodString;
17182
+ projectId: z.ZodString;
17183
17183
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
17184
17184
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
17185
17185
  }, {
@@ -17189,8 +17189,8 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
17189
17189
  declare const ContextConfigUpdateSchema: z.ZodObject<{
17190
17190
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17191
17191
  tenantId: z.ZodOptional<z.ZodString>;
17192
- projectId: z.ZodOptional<z.ZodString>;
17193
17192
  agentId: z.ZodOptional<z.ZodString>;
17193
+ projectId: z.ZodOptional<z.ZodString>;
17194
17194
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
17195
17195
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
17196
17196
  }, {
@@ -17214,7 +17214,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
17214
17214
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
17215
17215
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
17216
17216
  }, z.core.$strip>;
17217
- declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
17217
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
17218
17218
  createdAt: drizzle_orm_pg_core635.PgColumn<{
17219
17219
  name: "created_at";
17220
17220
  tableName: "sub_agent_tool_relations";
@@ -17424,7 +17424,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"selec
17424
17424
  }, {}, {
17425
17425
  length: 256;
17426
17426
  }>;
17427
- }, drizzle_zod19.BuildRefine<{
17427
+ }, drizzle_zod15.BuildRefine<{
17428
17428
  createdAt: drizzle_orm_pg_core635.PgColumn<{
17429
17429
  name: "created_at";
17430
17430
  tableName: "sub_agent_tool_relations";
@@ -17675,9 +17675,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
17675
17675
  createdAt: z.ZodString;
17676
17676
  updatedAt: z.ZodString;
17677
17677
  toolId: z.ZodString;
17678
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
17679
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
17680
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
17678
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
17679
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
17680
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
17681
17681
  subAgentId: z.ZodString;
17682
17682
  agentId: z.ZodString;
17683
17683
  projectId: z.ZodString;
@@ -17703,15 +17703,15 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
17703
17703
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17704
17704
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17705
17705
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17706
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17706
17707
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17707
17708
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
17709
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
17708
17710
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
17709
17711
  needsApproval: z.ZodOptional<z.ZodBoolean>;
17710
17712
  }, z.core.$strip>>>>>>;
17711
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17712
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
17713
17713
  }, z.core.$strip>;
17714
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
17714
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
17715
17715
  createdAt: drizzle_orm_pg_core635.PgColumn<{
17716
17716
  name: "created_at";
17717
17717
  tableName: "sub_agent_external_agent_relations";
@@ -17879,7 +17879,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSche
17879
17879
  }, {}, {
17880
17880
  length: 256;
17881
17881
  }>;
17882
- }, drizzle_zod19.BuildRefine<{
17882
+ }, drizzle_zod15.BuildRefine<{
17883
17883
  createdAt: drizzle_orm_pg_core635.PgColumn<{
17884
17884
  name: "created_at";
17885
17885
  tableName: "sub_agent_external_agent_relations";
@@ -18080,7 +18080,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
18080
18080
  createdAt: z.ZodString;
18081
18081
  updatedAt: z.ZodString;
18082
18082
  externalAgentId: z.ZodString;
18083
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
18083
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
18084
18084
  subAgentId: z.ZodString;
18085
18085
  agentId: z.ZodString;
18086
18086
  projectId: z.ZodString;
@@ -18097,11 +18097,11 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
18097
18097
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18098
18098
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18099
18099
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18100
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18100
18101
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
18101
18102
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18102
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18103
18103
  }, z.core.$strip>;
18104
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
18104
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
18105
18105
  createdAt: drizzle_orm_pg_core635.PgColumn<{
18106
18106
  name: "created_at";
18107
18107
  tableName: "sub_agent_team_agent_relations";
@@ -18269,7 +18269,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"
18269
18269
  }, {}, {
18270
18270
  length: 256;
18271
18271
  }>;
18272
- }, drizzle_zod19.BuildRefine<{
18272
+ }, drizzle_zod15.BuildRefine<{
18273
18273
  createdAt: drizzle_orm_pg_core635.PgColumn<{
18274
18274
  name: "created_at";
18275
18275
  tableName: "sub_agent_team_agent_relations";
@@ -18470,7 +18470,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
18470
18470
  createdAt: z.ZodString;
18471
18471
  updatedAt: z.ZodString;
18472
18472
  targetAgentId: z.ZodString;
18473
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
18473
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
18474
18474
  subAgentId: z.ZodString;
18475
18475
  agentId: z.ZodString;
18476
18476
  projectId: z.ZodString;
@@ -18487,11 +18487,11 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
18487
18487
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18488
18488
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18489
18489
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18490
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
18491
18490
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18491
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
18492
18492
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18493
18493
  }, z.core.$strip>;
18494
- declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
18494
+ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
18495
18495
  createdAt: drizzle_orm_pg_core635.PgColumn<{
18496
18496
  name: "created_at";
18497
18497
  tableName: "ledger_artifacts";
@@ -18826,7 +18826,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
18826
18826
  }, {}, {
18827
18827
  length: 256;
18828
18828
  }>;
18829
- }, drizzle_zod19.BuildRefine<{
18829
+ }, drizzle_zod15.BuildRefine<{
18830
18830
  createdAt: drizzle_orm_pg_core635.PgColumn<{
18831
18831
  name: "created_at";
18832
18832
  tableName: "ledger_artifacts";
@@ -19162,7 +19162,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
19162
19162
  length: 256;
19163
19163
  }>;
19164
19164
  }, undefined>, undefined>;
19165
- declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
19165
+ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
19166
19166
  createdAt: drizzle_orm_pg_core635.PgColumn<{
19167
19167
  name: "created_at";
19168
19168
  tableName: "ledger_artifacts";
@@ -19497,7 +19497,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
19497
19497
  }, {}, {
19498
19498
  length: 256;
19499
19499
  }>;
19500
- }, drizzle_zod19.BuildRefine<Pick<{
19500
+ }, drizzle_zod15.BuildRefine<Pick<{
19501
19501
  createdAt: drizzle_orm_pg_core635.PgColumn<{
19502
19502
  name: "created_at";
19503
19503
  tableName: "ledger_artifacts";
@@ -19832,7 +19832,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
19832
19832
  }, {}, {
19833
19833
  length: 256;
19834
19834
  }>;
19835
- }, "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "tenantId" | "projectId" | "type" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
19835
+ }, "type" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "tenantId" | "description" | "projectId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
19836
19836
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
19837
19837
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19838
19838
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -19842,12 +19842,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
19842
19842
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19843
19843
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19844
19844
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19845
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
19846
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
19845
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
19846
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
19847
19847
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19848
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
19848
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
19849
19849
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19850
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
19850
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
19851
19851
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19852
19852
  projectId: z.ZodOptional<z.ZodString>;
19853
19853
  tenantId: z.ZodOptional<z.ZodString>;
@@ -19865,12 +19865,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
19865
19865
  type: z.ZodString;
19866
19866
  name: z.ZodNullable<z.ZodString>;
19867
19867
  description: z.ZodNullable<z.ZodString>;
19868
- parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19869
- metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19868
+ parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19869
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19870
19870
  summary: z.ZodNullable<z.ZodString>;
19871
- mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19871
+ mime: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19872
19872
  visibility: z.ZodNullable<z.ZodString>;
19873
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19873
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19874
19874
  derivedFrom: z.ZodNullable<z.ZodString>;
19875
19875
  projectId: z.ZodString;
19876
19876
  tenantId: z.ZodString;
@@ -19885,33 +19885,33 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
19885
19885
  type: z.ZodOptional<z.ZodString>;
19886
19886
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19887
19887
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19888
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
19889
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
19888
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
19889
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
19890
19890
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19891
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
19891
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
19892
19892
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19893
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
19893
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
19894
19894
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19895
19895
  projectId: z.ZodString;
19896
19896
  tenantId: z.ZodString;
19897
19897
  id: z.ZodString;
19898
19898
  }>, z.core.$strip>;
19899
19899
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
19900
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19900
19901
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19901
19902
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19902
19903
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19903
19904
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19904
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
19905
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
19905
19906
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19906
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19907
19907
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19908
19908
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19909
19909
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19910
19910
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19911
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
19911
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
19912
19912
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19913
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
19914
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
19913
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
19914
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
19915
19915
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19916
19916
  }, z.core.$strip>;
19917
19917
  declare const StatusComponentSchema: z.ZodObject<{
@@ -20035,8 +20035,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
20035
20035
  createdAt: z.ZodOptional<z.ZodString>;
20036
20036
  updatedAt: z.ZodOptional<z.ZodString>;
20037
20037
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20038
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20039
20038
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20039
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20040
20040
  id: z.ZodString;
20041
20041
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
20042
20042
  id: z.ZodString;
@@ -20271,8 +20271,8 @@ declare const ProjectSelectSchema: z.ZodObject<{
20271
20271
  declare const ProjectInsertSchema: z.ZodObject<{
20272
20272
  id: z.ZodString;
20273
20273
  name: z.ZodString;
20274
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20275
20274
  tenantId: z.ZodString;
20275
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20276
20276
  models: z.ZodObject<{
20277
20277
  base: z.ZodObject<{
20278
20278
  model: z.ZodOptional<z.ZodString>;
@@ -20426,8 +20426,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
20426
20426
  createdAt: z.ZodOptional<z.ZodString>;
20427
20427
  updatedAt: z.ZodOptional<z.ZodString>;
20428
20428
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20429
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20430
20429
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20430
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20431
20431
  id: z.ZodString;
20432
20432
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
20433
20433
  id: z.ZodString;
@@ -20739,10 +20739,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
20739
20739
  createdAt: z.ZodOptional<z.ZodString>;
20740
20740
  updatedAt: z.ZodOptional<z.ZodString>;
20741
20741
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20742
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20742
20743
  credentialStoreId: z.ZodString;
20743
20744
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20744
20745
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20745
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20746
20746
  type: z.ZodEnum<{
20747
20747
  readonly memory: "memory";
20748
20748
  readonly keychain: "keychain";
@@ -20953,8 +20953,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
20953
20953
  createdAt: z.ZodString;
20954
20954
  updatedAt: z.ZodString;
20955
20955
  description: z.ZodNullable<z.ZodString>;
20956
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
20957
20956
  contextConfigId: z.ZodNullable<z.ZodString>;
20957
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
20958
20958
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
20959
20959
  id: z.ZodString;
20960
20960
  name: z.ZodString;
@@ -21160,8 +21160,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
21160
21160
  createdAt: z.ZodString;
21161
21161
  updatedAt: z.ZodString;
21162
21162
  description: z.ZodNullable<z.ZodString>;
21163
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
21164
21163
  contextConfigId: z.ZodNullable<z.ZodString>;
21164
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
21165
21165
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
21166
21166
  createdAt: z.ZodString;
21167
21167
  updatedAt: z.ZodString;
@@ -21397,8 +21397,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
21397
21397
  createdAt: z.ZodString;
21398
21398
  updatedAt: z.ZodString;
21399
21399
  description: z.ZodNullable<z.ZodString>;
21400
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
21401
21400
  contextConfigId: z.ZodNullable<z.ZodString>;
21401
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
21402
21402
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
21403
21403
  id: z.ZodString;
21404
21404
  name: z.ZodString;
@@ -21725,16 +21725,16 @@ declare const FullProjectSelectSchema: z.ZodObject<{
21725
21725
  createdAt: z.ZodString;
21726
21726
  updatedAt: z.ZodString;
21727
21727
  userId: z.ZodNullable<z.ZodString>;
21728
+ createdBy: z.ZodNullable<z.ZodString>;
21728
21729
  credentialStoreId: z.ZodString;
21729
21730
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
21730
21731
  toolId: z.ZodNullable<z.ZodString>;
21731
- createdBy: z.ZodNullable<z.ZodString>;
21732
21732
  type: z.ZodEnum<{
21733
21733
  readonly memory: "memory";
21734
21734
  readonly keychain: "keychain";
21735
21735
  readonly nango: "nango";
21736
21736
  }>;
21737
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
21737
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
21738
21738
  createdAt: drizzle_orm_pg_core635.PgColumn<{
21739
21739
  name: "created_at";
21740
21740
  tableName: "tools";
@@ -21997,7 +21997,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
21997
21997
  }, {}, {
21998
21998
  length: 256;
21999
21999
  }>;
22000
- }, drizzle_zod19.BuildRefine<{
22000
+ }, drizzle_zod15.BuildRefine<{
22001
22001
  createdAt: drizzle_orm_pg_core635.PgColumn<{
22002
22002
  name: "created_at";
22003
22003
  tableName: "tools";
@@ -22431,16 +22431,16 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
22431
22431
  createdAt: z.ZodString;
22432
22432
  updatedAt: z.ZodString;
22433
22433
  userId: z.ZodNullable<z.ZodString>;
22434
+ createdBy: z.ZodNullable<z.ZodString>;
22434
22435
  credentialStoreId: z.ZodString;
22435
22436
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
22436
22437
  toolId: z.ZodNullable<z.ZodString>;
22437
- createdBy: z.ZodNullable<z.ZodString>;
22438
22438
  type: z.ZodEnum<{
22439
22439
  readonly memory: "memory";
22440
22440
  readonly keychain: "keychain";
22441
22441
  readonly nango: "nango";
22442
22442
  }>;
22443
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
22443
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
22444
22444
  createdAt: drizzle_orm_pg_core635.PgColumn<{
22445
22445
  name: "created_at";
22446
22446
  tableName: "tools";
@@ -22703,7 +22703,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
22703
22703
  }, {}, {
22704
22704
  length: 256;
22705
22705
  }>;
22706
- }, drizzle_zod19.BuildRefine<{
22706
+ }, drizzle_zod15.BuildRefine<{
22707
22707
  createdAt: drizzle_orm_pg_core635.PgColumn<{
22708
22708
  name: "created_at";
22709
22709
  tableName: "tools";
@@ -22988,8 +22988,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
22988
22988
  createdAt: z.ZodString;
22989
22989
  updatedAt: z.ZodString;
22990
22990
  description: z.ZodNullable<z.ZodString>;
22991
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
22992
22991
  contextConfigId: z.ZodNullable<z.ZodString>;
22992
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
22993
22993
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
22994
22994
  createdAt: z.ZodString;
22995
22995
  updatedAt: z.ZodString;
@@ -23513,16 +23513,16 @@ declare const CredentialReferenceResponse: z.ZodObject<{
23513
23513
  createdAt: z.ZodString;
23514
23514
  updatedAt: z.ZodString;
23515
23515
  userId: z.ZodNullable<z.ZodString>;
23516
+ createdBy: z.ZodNullable<z.ZodString>;
23516
23517
  credentialStoreId: z.ZodString;
23517
23518
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
23518
23519
  toolId: z.ZodNullable<z.ZodString>;
23519
- createdBy: z.ZodNullable<z.ZodString>;
23520
23520
  type: z.ZodEnum<{
23521
23521
  readonly memory: "memory";
23522
23522
  readonly keychain: "keychain";
23523
23523
  readonly nango: "nango";
23524
23524
  }>;
23525
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
23525
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
23526
23526
  createdAt: drizzle_orm_pg_core635.PgColumn<{
23527
23527
  name: "created_at";
23528
23528
  tableName: "tools";
@@ -23785,7 +23785,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
23785
23785
  }, {}, {
23786
23786
  length: 256;
23787
23787
  }>;
23788
- }, drizzle_zod19.BuildRefine<{
23788
+ }, drizzle_zod15.BuildRefine<{
23789
23789
  createdAt: drizzle_orm_pg_core635.PgColumn<{
23790
23790
  name: "created_at";
23791
23791
  tableName: "tools";
@@ -24170,9 +24170,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
24170
24170
  createdAt: z.ZodString;
24171
24171
  updatedAt: z.ZodString;
24172
24172
  toolId: z.ZodString;
24173
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24174
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24175
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24173
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24174
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24175
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24176
24176
  subAgentId: z.ZodString;
24177
24177
  agentId: z.ZodString;
24178
24178
  projectId: z.ZodString;
@@ -24593,16 +24593,16 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
24593
24593
  createdAt: z.ZodString;
24594
24594
  updatedAt: z.ZodString;
24595
24595
  userId: z.ZodNullable<z.ZodString>;
24596
+ createdBy: z.ZodNullable<z.ZodString>;
24596
24597
  credentialStoreId: z.ZodString;
24597
24598
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
24598
24599
  toolId: z.ZodNullable<z.ZodString>;
24599
- createdBy: z.ZodNullable<z.ZodString>;
24600
24600
  type: z.ZodEnum<{
24601
24601
  readonly memory: "memory";
24602
24602
  readonly keychain: "keychain";
24603
24603
  readonly nango: "nango";
24604
24604
  }>;
24605
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
24605
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
24606
24606
  createdAt: drizzle_orm_pg_core635.PgColumn<{
24607
24607
  name: "created_at";
24608
24608
  tableName: "tools";
@@ -24865,7 +24865,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
24865
24865
  }, {}, {
24866
24866
  length: 256;
24867
24867
  }>;
24868
- }, drizzle_zod19.BuildRefine<{
24868
+ }, drizzle_zod15.BuildRefine<{
24869
24869
  createdAt: drizzle_orm_pg_core635.PgColumn<{
24870
24870
  name: "created_at";
24871
24871
  tableName: "tools";
@@ -25292,9 +25292,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
25292
25292
  createdAt: z.ZodString;
25293
25293
  updatedAt: z.ZodString;
25294
25294
  toolId: z.ZodString;
25295
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
25296
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
25297
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
25295
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
25296
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
25297
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
25298
25298
  subAgentId: z.ZodString;
25299
25299
  agentId: z.ZodString;
25300
25300
  projectId: z.ZodString;
@@ -25461,8 +25461,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
25461
25461
  createdAt: z.ZodOptional<z.ZodString>;
25462
25462
  updatedAt: z.ZodOptional<z.ZodString>;
25463
25463
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25464
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25465
25464
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25465
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25466
25466
  id: z.ZodString;
25467
25467
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25468
25468
  id: z.ZodString;
@@ -25774,10 +25774,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
25774
25774
  createdAt: z.ZodOptional<z.ZodString>;
25775
25775
  updatedAt: z.ZodOptional<z.ZodString>;
25776
25776
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25777
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25777
25778
  credentialStoreId: z.ZodString;
25778
25779
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25779
25780
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25780
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25781
25781
  type: z.ZodEnum<{
25782
25782
  readonly memory: "memory";
25783
25783
  readonly keychain: "keychain";
@@ -25822,8 +25822,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
25822
25822
  createdAt: z.ZodString;
25823
25823
  updatedAt: z.ZodString;
25824
25824
  description: z.ZodNullable<z.ZodString>;
25825
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
25826
25825
  contextConfigId: z.ZodNullable<z.ZodString>;
25826
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
25827
25827
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25828
25828
  id: z.ZodString;
25829
25829
  name: z.ZodString;
@@ -26150,16 +26150,16 @@ declare const FullProjectSelectResponse: z.ZodObject<{
26150
26150
  createdAt: z.ZodString;
26151
26151
  updatedAt: z.ZodString;
26152
26152
  userId: z.ZodNullable<z.ZodString>;
26153
+ createdBy: z.ZodNullable<z.ZodString>;
26153
26154
  credentialStoreId: z.ZodString;
26154
26155
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26155
26156
  toolId: z.ZodNullable<z.ZodString>;
26156
- createdBy: z.ZodNullable<z.ZodString>;
26157
26157
  type: z.ZodEnum<{
26158
26158
  readonly memory: "memory";
26159
26159
  readonly keychain: "keychain";
26160
26160
  readonly nango: "nango";
26161
26161
  }>;
26162
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
26162
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
26163
26163
  createdAt: drizzle_orm_pg_core635.PgColumn<{
26164
26164
  name: "created_at";
26165
26165
  tableName: "tools";
@@ -26422,7 +26422,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
26422
26422
  }, {}, {
26423
26423
  length: 256;
26424
26424
  }>;
26425
- }, drizzle_zod19.BuildRefine<{
26425
+ }, drizzle_zod15.BuildRefine<{
26426
26426
  createdAt: drizzle_orm_pg_core635.PgColumn<{
26427
26427
  name: "created_at";
26428
26428
  tableName: "tools";
@@ -26858,16 +26858,16 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
26858
26858
  createdAt: z.ZodString;
26859
26859
  updatedAt: z.ZodString;
26860
26860
  userId: z.ZodNullable<z.ZodString>;
26861
+ createdBy: z.ZodNullable<z.ZodString>;
26861
26862
  credentialStoreId: z.ZodString;
26862
26863
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26863
26864
  toolId: z.ZodNullable<z.ZodString>;
26864
- createdBy: z.ZodNullable<z.ZodString>;
26865
26865
  type: z.ZodEnum<{
26866
26866
  readonly memory: "memory";
26867
26867
  readonly keychain: "keychain";
26868
26868
  readonly nango: "nango";
26869
26869
  }>;
26870
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
26870
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
26871
26871
  createdAt: drizzle_orm_pg_core635.PgColumn<{
26872
26872
  name: "created_at";
26873
26873
  tableName: "tools";
@@ -27130,7 +27130,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
27130
27130
  }, {}, {
27131
27131
  length: 256;
27132
27132
  }>;
27133
- }, drizzle_zod19.BuildRefine<{
27133
+ }, drizzle_zod15.BuildRefine<{
27134
27134
  createdAt: drizzle_orm_pg_core635.PgColumn<{
27135
27135
  name: "created_at";
27136
27136
  tableName: "tools";
@@ -27415,8 +27415,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
27415
27415
  createdAt: z.ZodString;
27416
27416
  updatedAt: z.ZodString;
27417
27417
  description: z.ZodNullable<z.ZodString>;
27418
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
27419
27418
  contextConfigId: z.ZodNullable<z.ZodString>;
27419
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
27420
27420
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27421
27421
  createdAt: z.ZodString;
27422
27422
  updatedAt: z.ZodString;
@@ -27633,8 +27633,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
27633
27633
  createdAt: z.ZodOptional<z.ZodString>;
27634
27634
  updatedAt: z.ZodOptional<z.ZodString>;
27635
27635
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27636
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27637
27636
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27637
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27638
27638
  id: z.ZodString;
27639
27639
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27640
27640
  id: z.ZodString;
@@ -27815,8 +27815,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
27815
27815
  createdAt: z.ZodString;
27816
27816
  updatedAt: z.ZodString;
27817
27817
  description: z.ZodNullable<z.ZodString>;
27818
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
27819
27818
  contextConfigId: z.ZodNullable<z.ZodString>;
27819
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
27820
27820
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27821
27821
  id: z.ZodString;
27822
27822
  name: z.ZodString;
@@ -28169,7 +28169,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
28169
28169
  createdAt: z.ZodString;
28170
28170
  updatedAt: z.ZodString;
28171
28171
  targetAgentId: z.ZodString;
28172
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28172
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28173
28173
  subAgentId: z.ZodString;
28174
28174
  agentId: z.ZodString;
28175
28175
  projectId: z.ZodString;
@@ -28182,7 +28182,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
28182
28182
  createdAt: z.ZodString;
28183
28183
  updatedAt: z.ZodString;
28184
28184
  targetAgentId: z.ZodString;
28185
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28185
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28186
28186
  subAgentId: z.ZodString;
28187
28187
  agentId: z.ZodString;
28188
28188
  projectId: z.ZodString;
@@ -28201,7 +28201,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
28201
28201
  createdAt: z.ZodString;
28202
28202
  updatedAt: z.ZodString;
28203
28203
  externalAgentId: z.ZodString;
28204
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28204
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28205
28205
  subAgentId: z.ZodString;
28206
28206
  agentId: z.ZodString;
28207
28207
  projectId: z.ZodString;
@@ -28214,7 +28214,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
28214
28214
  createdAt: z.ZodString;
28215
28215
  updatedAt: z.ZodString;
28216
28216
  externalAgentId: z.ZodString;
28217
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28217
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28218
28218
  subAgentId: z.ZodString;
28219
28219
  agentId: z.ZodString;
28220
28220
  projectId: z.ZodString;
@@ -28381,7 +28381,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
28381
28381
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
28382
28382
  ref: z.ZodOptional<z.ZodString>;
28383
28383
  }, z.core.$strip>;
28384
- declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
28384
+ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
28385
28385
  id: drizzle_orm_pg_core635.PgColumn<{
28386
28386
  name: "id";
28387
28387
  tableName: "project_metadata";
@@ -28475,7 +28475,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
28475
28475
  }, {}, {
28476
28476
  length: 512;
28477
28477
  }>;
28478
- }, drizzle_zod19.BuildRefine<{
28478
+ }, drizzle_zod15.BuildRefine<{
28479
28479
  id: drizzle_orm_pg_core635.PgColumn<{
28480
28480
  name: "id";
28481
28481
  tableName: "project_metadata";