@inkeep/agents-core 0.0.0-dev-20260118170655 → 0.0.0-dev-20260119163620

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_core0 from "drizzle-orm/pg-core";
7
- import * as drizzle_zod0 from "drizzle-zod";
7
+ import * as drizzle_zod3 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_zod0.BuildSchema<"select", {
80
+ declare const SubAgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
81
81
  createdAt: drizzle_orm_pg_core0.PgColumn<{
82
82
  name: "created_at";
83
83
  tableName: "sub_agents";
@@ -328,7 +328,7 @@ declare const SubAgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
328
328
  }, {}, {
329
329
  length: 256;
330
330
  }>;
331
- }, drizzle_zod0.BuildRefine<{
331
+ }, drizzle_zod3.BuildRefine<{
332
332
  createdAt: drizzle_orm_pg_core0.PgColumn<{
333
333
  name: "created_at";
334
334
  tableName: "sub_agents";
@@ -797,7 +797,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
797
797
  }>>>>>>;
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_zod0.BuildSchema<"select", {
800
+ declare const SubAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
801
801
  createdAt: drizzle_orm_pg_core0.PgColumn<{
802
802
  name: "created_at";
803
803
  tableName: "sub_agent_relations";
@@ -965,7 +965,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
965
965
  }, {}, {
966
966
  length: 256;
967
967
  }>;
968
- }, drizzle_zod0.BuildRefine<{
968
+ }, drizzle_zod3.BuildRefine<{
969
969
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
1239
+ declare const AgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
1240
1240
  createdAt: drizzle_orm_pg_core0.PgColumn<{
1241
1241
  name: "created_at";
1242
1242
  tableName: "agent";
@@ -1534,7 +1534,7 @@ declare const AgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
1534
1534
  }, {}, {
1535
1535
  length: 256;
1536
1536
  }>;
1537
- }, drizzle_zod0.BuildRefine<{
1537
+ }, drizzle_zod3.BuildRefine<{
1538
1538
  createdAt: drizzle_orm_pg_core0.PgColumn<{
1539
1539
  name: "created_at";
1540
1540
  tableName: "agent";
@@ -1833,7 +1833,7 @@ declare const AgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
1833
1833
  length: 256;
1834
1834
  }>;
1835
1835
  }, undefined>, undefined>;
1836
- declare const AgentInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1836
+ declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1837
1837
  createdAt: drizzle_orm_pg_core0.PgColumn<{
1838
1838
  name: "created_at";
1839
1839
  tableName: "agent";
@@ -2131,7 +2131,7 @@ declare const AgentInsertSchema: drizzle_zod0.BuildSchema<"insert", {
2131
2131
  }, {}, {
2132
2132
  length: 256;
2133
2133
  }>;
2134
- }, drizzle_zod0.BuildRefine<Pick<{
2134
+ }, drizzle_zod3.BuildRefine<Pick<{
2135
2135
  createdAt: drizzle_orm_pg_core0.PgColumn<{
2136
2136
  name: "created_at";
2137
2137
  tableName: "agent";
@@ -2953,7 +2953,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2953
2953
  }[] | undefined;
2954
2954
  }>>>>>>;
2955
2955
  }, z.core.$strip>;
2956
- declare const TaskSelectSchema: drizzle_zod0.BuildSchema<"select", {
2956
+ declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
2957
2957
  createdAt: drizzle_orm_pg_core0.PgColumn<{
2958
2958
  name: "created_at";
2959
2959
  tableName: "tasks";
@@ -3167,7 +3167,7 @@ declare const TaskSelectSchema: drizzle_zod0.BuildSchema<"select", {
3167
3167
  }, {}, {
3168
3168
  length: 256;
3169
3169
  }>;
3170
- }, drizzle_zod0.BuildRefine<{
3170
+ }, drizzle_zod3.BuildRefine<{
3171
3171
  createdAt: drizzle_orm_pg_core0.PgColumn<{
3172
3172
  name: "created_at";
3173
3173
  tableName: "tasks";
@@ -3489,6 +3489,7 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
3489
3489
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3490
3490
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3491
3491
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
3492
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3492
3493
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3493
3494
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3494
3495
  type: z.ZodEnum<{
@@ -3500,10 +3501,9 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
3500
3501
  hash: z.ZodString;
3501
3502
  }, z.core.$strip>>>;
3502
3503
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
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_zod0.BuildSchema<"select", {
3506
+ declare const TaskRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
3507
3507
  createdAt: drizzle_orm_pg_core0.PgColumn<{
3508
3508
  name: "created_at";
3509
3509
  tableName: "task_relations";
@@ -3652,7 +3652,7 @@ declare const TaskRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
3652
3652
  }, {}, {
3653
3653
  length: 256;
3654
3654
  }>;
3655
- }, drizzle_zod0.BuildRefine<{
3655
+ }, drizzle_zod3.BuildRefine<{
3656
3656
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
3880
+ declare const ToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
3881
3881
  createdAt: drizzle_orm_pg_core0.PgColumn<{
3882
3882
  name: "created_at";
3883
3883
  tableName: "tools";
@@ -4140,7 +4140,7 @@ declare const ToolSelectSchema: drizzle_zod0.BuildSchema<"select", {
4140
4140
  }, {}, {
4141
4141
  length: 256;
4142
4142
  }>;
4143
- }, drizzle_zod0.BuildRefine<{
4143
+ }, drizzle_zod3.BuildRefine<{
4144
4144
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
4451
+ declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
4452
4452
  createdAt: drizzle_orm_pg_core0.PgColumn<{
4453
4453
  name: "created_at";
4454
4454
  tableName: "conversations";
@@ -4677,7 +4677,7 @@ declare const ConversationSelectSchema: drizzle_zod0.BuildSchema<"select", {
4677
4677
  }, {}, {
4678
4678
  length: 256;
4679
4679
  }>;
4680
- }, drizzle_zod0.BuildRefine<{
4680
+ }, drizzle_zod3.BuildRefine<{
4681
4681
  createdAt: drizzle_orm_pg_core0.PgColumn<{
4682
4682
  name: "created_at";
4683
4683
  tableName: "conversations";
@@ -5033,7 +5033,7 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
5033
5033
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5034
5034
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5035
5035
  }, z.core.$strip>;
5036
- declare const MessageSelectSchema: drizzle_zod0.BuildSchema<"select", {
5036
+ declare const MessageSelectSchema: drizzle_zod3.BuildSchema<"select", {
5037
5037
  createdAt: drizzle_orm_pg_core0.PgColumn<{
5038
5038
  name: "created_at";
5039
5039
  tableName: "messages";
@@ -5429,7 +5429,7 @@ declare const MessageSelectSchema: drizzle_zod0.BuildSchema<"select", {
5429
5429
  }, {}, {
5430
5430
  length: 256;
5431
5431
  }>;
5432
- }, drizzle_zod0.BuildRefine<{
5432
+ }, drizzle_zod3.BuildRefine<{
5433
5433
  createdAt: drizzle_orm_pg_core0.PgColumn<{
5434
5434
  name: "created_at";
5435
5435
  tableName: "messages";
@@ -5930,22 +5930,22 @@ 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
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
5933
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5934
- role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5935
5933
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5936
5934
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5937
5935
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5938
5936
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5937
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5938
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5939
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5940
+ role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5939
5941
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5940
5942
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5941
5943
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5942
5944
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5943
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5944
5945
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
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_zod0.BuildSchema<"select", {
5948
+ declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
5949
5949
  createdAt: drizzle_orm_pg_core0.PgColumn<{
5950
5950
  name: "created_at";
5951
5951
  tableName: "context_cache";
@@ -6195,7 +6195,7 @@ declare const ContextCacheSelectSchema: drizzle_zod0.BuildSchema<"select", {
6195
6195
  }, {}, {
6196
6196
  length: 256;
6197
6197
  }>;
6198
- }, drizzle_zod0.BuildRefine<{
6198
+ }, drizzle_zod3.BuildRefine<{
6199
6199
  createdAt: drizzle_orm_pg_core0.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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
6455
+ value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
6481
+ value: z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
6524
+ value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
6538
+ value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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,7 +6554,7 @@ 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
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
6557
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
6558
6558
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6559
6559
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6560
6560
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6573,7 +6573,7 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
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_zod0.BuildSchema<"select", {
6576
+ declare const DatasetRunSelectSchema: drizzle_zod3.BuildSchema<"select", {
6577
6577
  createdAt: drizzle_orm_pg_core0.PgColumn<{
6578
6578
  name: "created_at";
6579
6579
  tableName: "dataset_run";
@@ -6716,7 +6716,7 @@ declare const DatasetRunSelectSchema: drizzle_zod0.BuildSchema<"select", {
6716
6716
  }, {}, {
6717
6717
  length: 256;
6718
6718
  }>;
6719
- }, drizzle_zod0.BuildRefine<{
6719
+ }, drizzle_zod3.BuildRefine<{
6720
6720
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
6913
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
6914
6914
  createdAt: drizzle_orm_pg_core0.PgColumn<{
6915
6915
  name: "created_at";
6916
6916
  tableName: "dataset_run_conversation_relations";
@@ -7053,7 +7053,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod0.BuildSche
7053
7053
  }, {}, {
7054
7054
  length: 256;
7055
7055
  }>;
7056
- }, drizzle_zod0.BuildRefine<{
7056
+ }, drizzle_zod3.BuildRefine<{
7057
7057
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
7250
+ declare const EvaluationResultSelectSchema: drizzle_zod3.BuildSchema<"select", {
7251
7251
  createdAt: drizzle_orm_pg_core0.PgColumn<{
7252
7252
  name: "created_at";
7253
7253
  tableName: "evaluation_result";
@@ -7409,7 +7409,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod0.BuildSchema<"select", {
7409
7409
  }, {}, {
7410
7410
  length: 256;
7411
7411
  }>;
7412
- }, drizzle_zod0.BuildRefine<{
7412
+ }, drizzle_zod3.BuildRefine<{
7413
7413
  createdAt: drizzle_orm_pg_core0.PgColumn<{
7414
7414
  name: "created_at";
7415
7415
  tableName: "evaluation_result";
@@ -7615,19 +7615,19 @@ declare const EvaluationResultApiInsertSchema: z.ZodObject<{
7615
7615
  output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
7616
7616
  createdAt: z.ZodOptional<z.ZodString>;
7617
7617
  updatedAt: z.ZodOptional<z.ZodString>;
7618
- conversationId: z.ZodString;
7619
7618
  evaluatorId: z.ZodString;
7619
+ conversationId: z.ZodString;
7620
7620
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7621
7621
  }, z.core.$strip>;
7622
7622
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
7623
7623
  output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
7624
7624
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7625
7625
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7626
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7627
7626
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7627
+ conversationId: 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_zod0.BuildSchema<"select", {
7630
+ declare const EvaluationRunSelectSchema: drizzle_zod3.BuildSchema<"select", {
7631
7631
  createdAt: drizzle_orm_pg_core0.PgColumn<{
7632
7632
  name: "created_at";
7633
7633
  tableName: "evaluation_run";
@@ -7753,7 +7753,7 @@ declare const EvaluationRunSelectSchema: drizzle_zod0.BuildSchema<"select", {
7753
7753
  }, {}, {
7754
7754
  length: 256;
7755
7755
  }>;
7756
- }, drizzle_zod0.BuildRefine<{
7756
+ }, drizzle_zod3.BuildRefine<{
7757
7757
  createdAt: drizzle_orm_pg_core0.PgColumn<{
7758
7758
  name: "created_at";
7759
7759
  tableName: "evaluation_run";
@@ -7916,16 +7916,16 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
7916
7916
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
7917
7917
  createdAt: z.ZodOptional<z.ZodString>;
7918
7918
  updatedAt: z.ZodOptional<z.ZodString>;
7919
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7920
7919
  evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7920
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7921
7921
  }, z.core.$strip>;
7922
7922
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
7923
7923
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7924
7924
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7925
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7926
7925
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7926
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7927
7927
  }, z.core.$strip>;
7928
- declare const EvaluationRunConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
7928
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
7929
7929
  createdAt: drizzle_orm_pg_core0.PgColumn<{
7930
7930
  name: "created_at";
7931
7931
  tableName: "evaluation_run_config";
@@ -8070,7 +8070,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod0.BuildSchema<"select"
8070
8070
  }, {}, {
8071
8071
  length: 256;
8072
8072
  }>;
8073
- }, drizzle_zod0.BuildRefine<{
8073
+ }, drizzle_zod3.BuildRefine<{
8074
8074
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
8280
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
8281
8281
  createdAt: drizzle_orm_pg_core0.PgColumn<{
8282
8282
  name: "created_at";
8283
8283
  tableName: "evaluation_job_config";
@@ -8404,7 +8404,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod0.BuildSchema<"select"
8404
8404
  }, {}, {
8405
8405
  length: 256;
8406
8406
  }>;
8407
- }, drizzle_zod0.BuildRefine<{
8407
+ }, drizzle_zod3.BuildRefine<{
8408
8408
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
8736
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
8737
8737
  createdAt: drizzle_orm_pg_core0.PgColumn<{
8738
8738
  name: "created_at";
8739
8739
  tableName: "evaluation_suite_config";
@@ -8861,7 +8861,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod0.BuildSchema<"selec
8861
8861
  }, {}, {
8862
8862
  length: 256;
8863
8863
  }>;
8864
- }, drizzle_zod0.BuildRefine<{
8864
+ }, drizzle_zod3.BuildRefine<{
8865
8865
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
9040
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
9041
9041
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildRefine<{
9166
+ }, drizzle_zod3.BuildRefine<{
9167
9167
  createdAt: drizzle_orm_pg_core0.PgColumn<{
9168
9168
  name: "created_at";
9169
9169
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -9326,16 +9326,16 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
9326
9326
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
9327
9327
  createdAt: z.ZodOptional<z.ZodString>;
9328
9328
  updatedAt: z.ZodOptional<z.ZodString>;
9329
- evaluationRunConfigId: z.ZodString;
9330
9329
  evaluationSuiteConfigId: z.ZodString;
9330
+ evaluationRunConfigId: z.ZodString;
9331
9331
  }, z.core.$strip>;
9332
9332
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
9333
9333
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9334
9334
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9335
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9336
9335
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9336
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9337
9337
  }, z.core.$strip>;
9338
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
9338
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
9339
9339
  createdAt: drizzle_orm_pg_core0.PgColumn<{
9340
9340
  name: "created_at";
9341
9341
  tableName: "evaluation_job_config_evaluator_relations";
@@ -9461,7 +9461,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod0.Bui
9461
9461
  }, {}, {
9462
9462
  length: 256;
9463
9463
  }>;
9464
- }, drizzle_zod0.BuildRefine<{
9464
+ }, drizzle_zod3.BuildRefine<{
9465
9465
  createdAt: drizzle_orm_pg_core0.PgColumn<{
9466
9466
  name: "created_at";
9467
9467
  tableName: "evaluation_job_config_evaluator_relations";
@@ -9624,16 +9624,16 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<O
9624
9624
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
9625
9625
  createdAt: z.ZodOptional<z.ZodString>;
9626
9626
  updatedAt: z.ZodOptional<z.ZodString>;
9627
- evaluationJobConfigId: z.ZodString;
9628
9627
  evaluatorId: z.ZodString;
9628
+ evaluationJobConfigId: z.ZodString;
9629
9629
  }, z.core.$strip>;
9630
9630
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
9631
9631
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9632
9632
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9633
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9634
9633
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9634
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9635
9635
  }, z.core.$strip>;
9636
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
9636
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
9637
9637
  createdAt: drizzle_orm_pg_core0.PgColumn<{
9638
9638
  name: "created_at";
9639
9639
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -9759,7 +9759,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod0.B
9759
9759
  }, {}, {
9760
9760
  length: 256;
9761
9761
  }>;
9762
- }, drizzle_zod0.BuildRefine<{
9762
+ }, drizzle_zod3.BuildRefine<{
9763
9763
  createdAt: drizzle_orm_pg_core0.PgColumn<{
9764
9764
  name: "created_at";
9765
9765
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -9922,16 +9922,16 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
9922
9922
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
9923
9923
  createdAt: z.ZodOptional<z.ZodString>;
9924
9924
  updatedAt: z.ZodOptional<z.ZodString>;
9925
- evaluatorId: z.ZodString;
9926
9925
  evaluationSuiteConfigId: z.ZodString;
9926
+ evaluatorId: z.ZodString;
9927
9927
  }, z.core.$strip>;
9928
9928
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
9929
9929
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9930
9930
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9931
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9932
9931
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9932
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9933
9933
  }, z.core.$strip>;
9934
- declare const EvaluatorSelectSchema: drizzle_zod0.BuildSchema<"select", {
9934
+ declare const EvaluatorSelectSchema: drizzle_zod3.BuildSchema<"select", {
9935
9935
  createdAt: drizzle_orm_pg_core0.PgColumn<{
9936
9936
  name: "created_at";
9937
9937
  tableName: "evaluator";
@@ -10139,7 +10139,7 @@ declare const EvaluatorSelectSchema: drizzle_zod0.BuildSchema<"select", {
10139
10139
  }, {}, {
10140
10140
  length: 256;
10141
10141
  }>;
10142
- }, drizzle_zod0.BuildRefine<{
10142
+ }, drizzle_zod3.BuildRefine<{
10143
10143
  createdAt: drizzle_orm_pg_core0.PgColumn<{
10144
10144
  name: "created_at";
10145
10145
  tableName: "evaluator";
@@ -10473,7 +10473,7 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
10473
10473
  schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
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_zod0.BuildSchema<"select", {
10476
+ declare const DatasetSelectSchema: drizzle_zod3.BuildSchema<"select", {
10477
10477
  createdAt: drizzle_orm_pg_core0.PgColumn<{
10478
10478
  name: "created_at";
10479
10479
  tableName: "dataset";
@@ -10584,7 +10584,7 @@ declare const DatasetSelectSchema: drizzle_zod0.BuildSchema<"select", {
10584
10584
  }, {}, {
10585
10585
  length: 256;
10586
10586
  }>;
10587
- }, drizzle_zod0.BuildRefine<{
10587
+ }, drizzle_zod3.BuildRefine<{
10588
10588
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
10739
+ declare const DatasetItemSelectSchema: drizzle_zod3.BuildSchema<"select", {
10740
10740
  createdAt: drizzle_orm_pg_core0.PgColumn<{
10741
10741
  name: "created_at";
10742
10742
  tableName: "dataset_item";
@@ -10922,7 +10922,7 @@ declare const DatasetItemSelectSchema: drizzle_zod0.BuildSchema<"select", {
10922
10922
  }, {}, {
10923
10923
  length: 256;
10924
10924
  }>;
10925
- }, drizzle_zod0.BuildRefine<{
10925
+ }, drizzle_zod3.BuildRefine<{
10926
10926
  createdAt: drizzle_orm_pg_core0.PgColumn<{
10927
10927
  name: "created_at";
10928
10928
  tableName: "dataset_item";
@@ -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_zod0.BuildSchema<"select", {
11494
+ declare const DatasetRunConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
11495
11495
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11496
11496
  name: "created_at";
11497
11497
  tableName: "dataset_run_config";
@@ -11636,7 +11636,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
11636
11636
  }, {}, {
11637
11637
  length: 256;
11638
11638
  }>;
11639
- }, drizzle_zod0.BuildRefine<{
11639
+ }, drizzle_zod3.BuildRefine<{
11640
11640
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11641
11641
  name: "created_at";
11642
11642
  tableName: "dataset_run_config";
@@ -11832,7 +11832,7 @@ declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
11832
11832
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11833
11833
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11834
11834
  }, z.core.$strip>;
11835
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
11835
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
11836
11836
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11837
11837
  name: "created_at";
11838
11838
  tableName: "dataset_run_config_agent_relations";
@@ -11958,7 +11958,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod0.BuildSchem
11958
11958
  }, {}, {
11959
11959
  length: 256;
11960
11960
  }>;
11961
- }, drizzle_zod0.BuildRefine<{
11961
+ }, drizzle_zod3.BuildRefine<{
11962
11962
  createdAt: drizzle_orm_pg_core0.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
  updatedAt: z.ZodOptional<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_zod0.BuildSchema<"select", {
12133
+ declare const DataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
12134
12134
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12135
12135
  name: "created_at";
12136
12136
  tableName: "data_components";
@@ -12302,7 +12302,7 @@ declare const DataComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
12302
12302
  }, {}, {
12303
12303
  length: 256;
12304
12304
  }>;
12305
- }, drizzle_zod0.BuildRefine<{
12305
+ }, drizzle_zod3.BuildRefine<{
12306
12306
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12307
12307
  name: "created_at";
12308
12308
  tableName: "data_components";
@@ -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_zod0.BuildSchema<"select", {
12621
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
12622
12622
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
12623
12623
  name: "data_component_id";
12624
12624
  tableName: "sub_agent_data_components";
@@ -12750,7 +12750,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod0.BuildSchema<"selec
12750
12750
  }, {}, {
12751
12751
  length: 256;
12752
12752
  }>;
12753
- }, drizzle_zod0.BuildRefine<{
12753
+ }, drizzle_zod3.BuildRefine<{
12754
12754
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
12755
12755
  name: "data_component_id";
12756
12756
  tableName: "sub_agent_data_components";
@@ -12883,7 +12883,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod0.BuildSchema<"selec
12883
12883
  length: 256;
12884
12884
  }>;
12885
12885
  }, undefined>, undefined>;
12886
- declare const SubAgentDataComponentInsertSchema: drizzle_zod0.BuildSchema<"insert", {
12886
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
12887
12887
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
12888
12888
  name: "data_component_id";
12889
12889
  tableName: "sub_agent_data_components";
@@ -13015,7 +13015,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod0.BuildSchema<"inser
13015
13015
  }, {}, {
13016
13016
  length: 256;
13017
13017
  }>;
13018
- }, drizzle_zod0.BuildRefine<Pick<{
13018
+ }, drizzle_zod3.BuildRefine<Pick<{
13019
13019
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
13020
13020
  name: "data_component_id";
13021
13021
  tableName: "sub_agent_data_components";
@@ -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_zod0.BuildSchema<"select", {
13186
+ declare const ArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
13187
13187
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13188
13188
  name: "created_at";
13189
13189
  tableName: "artifact_components";
@@ -13355,7 +13355,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod0.BuildSchema<"select",
13355
13355
  }, {}, {
13356
13356
  length: 256;
13357
13357
  }>;
13358
- }, drizzle_zod0.BuildRefine<{
13358
+ }, drizzle_zod3.BuildRefine<{
13359
13359
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
13649
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
13650
13650
  artifactComponentId: drizzle_orm_pg_core0.PgColumn<{
13651
13651
  name: "artifact_component_id";
13652
13652
  tableName: "sub_agent_artifact_components";
@@ -13778,7 +13778,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod0.BuildSchema<"s
13778
13778
  }, {}, {
13779
13779
  length: 256;
13780
13780
  }>;
13781
- }, drizzle_zod0.BuildRefine<{
13781
+ }, drizzle_zod3.BuildRefine<{
13782
13782
  artifactComponentId: drizzle_orm_pg_core0.PgColumn<{
13783
13783
  name: "artifact_component_id";
13784
13784
  tableName: "sub_agent_artifact_components";
@@ -14112,7 +14112,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
14112
14112
  baseUrl: z.ZodString;
14113
14113
  type: z.ZodLiteral<"external">;
14114
14114
  }, z.core.$strip>], "type">;
14115
- declare const ApiKeySelectSchema: drizzle_zod0.BuildSchema<"select", {
14115
+ declare const ApiKeySelectSchema: drizzle_zod3.BuildSchema<"select", {
14116
14116
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14117
14117
  name: "created_at";
14118
14118
  tableName: "api_keys";
@@ -14333,7 +14333,7 @@ declare const ApiKeySelectSchema: drizzle_zod0.BuildSchema<"select", {
14333
14333
  }, {}, {
14334
14334
  length: 256;
14335
14335
  }>;
14336
- }, drizzle_zod0.BuildRefine<{
14336
+ }, drizzle_zod3.BuildRefine<{
14337
14337
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
14638
+ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select", {
14639
14639
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14640
14640
  name: "created_at";
14641
14641
  tableName: "credential_references";
@@ -14860,7 +14860,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod0.BuildSchema<"select"
14860
14860
  }, {}, {
14861
14861
  length: 256;
14862
14862
  }>;
14863
- }, drizzle_zod0.BuildRefine<{
14863
+ }, drizzle_zod3.BuildRefine<{
14864
14864
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14865
14865
  name: "created_at";
14866
14866
  tableName: "credential_references";
@@ -15135,7 +15135,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
15135
15135
  readonly keychain: "keychain";
15136
15136
  readonly nango: "nango";
15137
15137
  }>;
15138
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
15138
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
15139
15139
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildRefine<{
15401
+ }, drizzle_zod3.BuildRefine<{
15402
15402
  createdAt: drizzle_orm_pg_core0.PgColumn<{
15403
15403
  name: "created_at";
15404
15404
  tableName: "tools";
@@ -16036,7 +16036,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
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_zod0.BuildSchema<"select", {
16039
+ declare const FunctionToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
16040
16040
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16041
16041
  name: "created_at";
16042
16042
  tableName: "function_tools";
@@ -16202,7 +16202,7 @@ declare const FunctionToolSelectSchema: drizzle_zod0.BuildSchema<"select", {
16202
16202
  }, {}, {
16203
16203
  length: 256;
16204
16204
  }>;
16205
- }, drizzle_zod0.BuildRefine<{
16205
+ }, drizzle_zod3.BuildRefine<{
16206
16206
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16207
16207
  name: "created_at";
16208
16208
  tableName: "function_tools";
@@ -16428,7 +16428,7 @@ declare const FunctionToolApiUpdateSchema: z.ZodObject<{
16428
16428
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16429
16429
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16430
16430
  }, z.core.$strip>;
16431
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
16431
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
16432
16432
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16433
16433
  name: "created_at";
16434
16434
  tableName: "sub_agent_function_tool_relations";
@@ -16577,7 +16577,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod0.BuildSchema
16577
16577
  }, {}, {
16578
16578
  length: 256;
16579
16579
  }>;
16580
- }, drizzle_zod0.BuildRefine<{
16580
+ }, drizzle_zod3.BuildRefine<{
16581
16581
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
16760
+ declare const FunctionSelectSchema: drizzle_zod3.BuildSchema<"select", {
16761
16761
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16762
16762
  name: "created_at";
16763
16763
  tableName: "functions";
@@ -16904,7 +16904,7 @@ declare const FunctionSelectSchema: drizzle_zod0.BuildSchema<"select", {
16904
16904
  }, {}, {
16905
16905
  length: 256;
16906
16906
  }>;
16907
- }, drizzle_zod0.BuildRefine<{
16907
+ }, drizzle_zod3.BuildRefine<{
16908
16908
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16909
16909
  name: "created_at";
16910
16910
  tableName: "functions";
@@ -17103,8 +17103,8 @@ declare const FunctionApiUpdateSchema: z.ZodObject<{
17103
17103
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17104
17104
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17105
17105
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
17106
- dependencies: 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>>>>>>>;
17107
17106
  executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17107
+ dependencies: 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>>>>>>>;
17108
17108
  }, z.core.$strip>;
17109
17109
  declare const FetchConfigSchema: z.ZodObject<{
17110
17110
  url: z.ZodString;
@@ -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_zod0.BuildSchema<"select", {
17217
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
17218
17218
  createdAt: drizzle_orm_pg_core0.PgColumn<{
17219
17219
  name: "created_at";
17220
17220
  tableName: "sub_agent_tool_relations";
@@ -17424,7 +17424,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod0.BuildSchema<"select
17424
17424
  }, {}, {
17425
17425
  length: 256;
17426
17426
  }>;
17427
- }, drizzle_zod0.BuildRefine<{
17427
+ }, drizzle_zod3.BuildRefine<{
17428
17428
  createdAt: drizzle_orm_pg_core0.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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
17679
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
17680
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
17678
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
17679
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
17680
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
17681
17681
  subAgentId: z.ZodString;
17682
17682
  agentId: z.ZodString;
17683
17683
  projectId: z.ZodString;
@@ -17711,7 +17711,7 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
17711
17711
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17712
17712
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
17713
17713
  }, z.core.$strip>;
17714
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
17714
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
17715
17715
  createdAt: drizzle_orm_pg_core0.PgColumn<{
17716
17716
  name: "created_at";
17717
17717
  tableName: "sub_agent_external_agent_relations";
@@ -17879,7 +17879,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod0.BuildSchem
17879
17879
  }, {}, {
17880
17880
  length: 256;
17881
17881
  }>;
17882
- }, drizzle_zod0.BuildRefine<{
17882
+ }, drizzle_zod3.BuildRefine<{
17883
17883
  createdAt: drizzle_orm_pg_core0.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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
18083
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
18084
18084
  subAgentId: z.ZodString;
18085
18085
  agentId: z.ZodString;
18086
18086
  projectId: z.ZodString;
@@ -18101,7 +18101,7 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
18101
18101
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18102
18102
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18103
18103
  }, z.core.$strip>;
18104
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
18104
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
18105
18105
  createdAt: drizzle_orm_pg_core0.PgColumn<{
18106
18106
  name: "created_at";
18107
18107
  tableName: "sub_agent_team_agent_relations";
@@ -18269,7 +18269,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"s
18269
18269
  }, {}, {
18270
18270
  length: 256;
18271
18271
  }>;
18272
- }, drizzle_zod0.BuildRefine<{
18272
+ }, drizzle_zod3.BuildRefine<{
18273
18273
  createdAt: drizzle_orm_pg_core0.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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
18473
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
18474
18474
  subAgentId: z.ZodString;
18475
18475
  agentId: z.ZodString;
18476
18476
  projectId: z.ZodString;
@@ -18491,7 +18491,7 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
18491
18491
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18492
18492
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18493
18493
  }, z.core.$strip>;
18494
- declare const LedgerArtifactSelectSchema: drizzle_zod0.BuildSchema<"select", {
18494
+ declare const LedgerArtifactSelectSchema: drizzle_zod3.BuildSchema<"select", {
18495
18495
  createdAt: drizzle_orm_pg_core0.PgColumn<{
18496
18496
  name: "created_at";
18497
18497
  tableName: "ledger_artifacts";
@@ -18826,7 +18826,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod0.BuildSchema<"select", {
18826
18826
  }, {}, {
18827
18827
  length: 256;
18828
18828
  }>;
18829
- }, drizzle_zod0.BuildRefine<{
18829
+ }, drizzle_zod3.BuildRefine<{
18830
18830
  createdAt: drizzle_orm_pg_core0.PgColumn<{
18831
18831
  name: "created_at";
18832
18832
  tableName: "ledger_artifacts";
@@ -19162,7 +19162,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod0.BuildSchema<"select", {
19162
19162
  length: 256;
19163
19163
  }>;
19164
19164
  }, undefined>, undefined>;
19165
- declare const LedgerArtifactInsertSchema: drizzle_zod0.BuildSchema<"insert", {
19165
+ declare const LedgerArtifactInsertSchema: drizzle_zod3.BuildSchema<"insert", {
19166
19166
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19167
19167
  name: "created_at";
19168
19168
  tableName: "ledger_artifacts";
@@ -19497,7 +19497,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod0.BuildSchema<"insert", {
19497
19497
  }, {}, {
19498
19498
  length: 256;
19499
19499
  }>;
19500
- }, drizzle_zod0.BuildRefine<Pick<{
19500
+ }, drizzle_zod3.BuildRefine<Pick<{
19501
19501
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19502
19502
  name: "created_at";
19503
19503
  tableName: "ledger_artifacts";
@@ -19832,7 +19832,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod0.BuildSchema<"insert", {
19832
19832
  }, {}, {
19833
19833
  length: 256;
19834
19834
  }>;
19835
- }, "tenantId" | "projectId" | "id" | "type" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
19835
+ }, "tenantId" | "projectId" | "id" | "type" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "contextId" | "visibility" | "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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
19846
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
19845
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
19846
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
19847
19847
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19848
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
19848
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
19849
19849
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19850
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
19850
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
19869
- metadata: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
19868
+ parts: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
19869
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
19870
19870
  summary: z.ZodNullable<z.ZodString>;
19871
- mime: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
19871
+ mime: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
19872
19872
  visibility: z.ZodNullable<z.ZodString>;
19873
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
19873
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
19874
19874
  derivedFrom: z.ZodNullable<z.ZodString>;
19875
19875
  projectId: z.ZodString;
19876
19876
  tenantId: z.ZodString;
@@ -19885,12 +19885,12 @@ 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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
19889
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
19888
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
19889
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
19890
19890
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19891
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
19891
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
19892
19892
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19893
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
19893
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
19894
19894
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19895
19895
  projectId: z.ZodString;
19896
19896
  tenantId: z.ZodString;
@@ -19903,15 +19903,15 @@ declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
19903
19903
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19904
19904
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19905
19905
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19906
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
19906
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
19907
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19907
19908
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19908
19909
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
19911
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
19914
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
19913
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
19914
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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<{
@@ -21734,7 +21734,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
21734
21734
  readonly keychain: "keychain";
21735
21735
  readonly nango: "nango";
21736
21736
  }>;
21737
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
21737
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
21738
21738
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildRefine<{
22000
+ }, drizzle_zod3.BuildRefine<{
22001
22001
  createdAt: drizzle_orm_pg_core0.PgColumn<{
22002
22002
  name: "created_at";
22003
22003
  tableName: "tools";
@@ -22440,7 +22440,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
22440
22440
  readonly keychain: "keychain";
22441
22441
  readonly nango: "nango";
22442
22442
  }>;
22443
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
22443
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
22444
22444
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildRefine<{
22706
+ }, drizzle_zod3.BuildRefine<{
22707
22707
  createdAt: drizzle_orm_pg_core0.PgColumn<{
22708
22708
  name: "created_at";
22709
22709
  tableName: "tools";
@@ -23522,7 +23522,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
23522
23522
  readonly keychain: "keychain";
23523
23523
  readonly nango: "nango";
23524
23524
  }>;
23525
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
23525
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
23526
23526
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildRefine<{
23788
+ }, drizzle_zod3.BuildRefine<{
23789
23789
  createdAt: drizzle_orm_pg_core0.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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
24174
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
24175
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
24173
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24174
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24175
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24176
24176
  subAgentId: z.ZodString;
24177
24177
  agentId: z.ZodString;
24178
24178
  projectId: z.ZodString;
@@ -24602,7 +24602,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
24602
24602
  readonly keychain: "keychain";
24603
24603
  readonly nango: "nango";
24604
24604
  }>;
24605
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
24605
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
24606
24606
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildRefine<{
24868
+ }, drizzle_zod3.BuildRefine<{
24869
24869
  createdAt: drizzle_orm_pg_core0.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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
25296
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
25297
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
25295
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
25296
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
25297
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
25298
25298
  subAgentId: z.ZodString;
25299
25299
  agentId: z.ZodString;
25300
25300
  projectId: z.ZodString;
@@ -26159,7 +26159,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
26159
26159
  readonly keychain: "keychain";
26160
26160
  readonly nango: "nango";
26161
26161
  }>;
26162
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
26162
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
26163
26163
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildRefine<{
26425
+ }, drizzle_zod3.BuildRefine<{
26426
26426
  createdAt: drizzle_orm_pg_core0.PgColumn<{
26427
26427
  name: "created_at";
26428
26428
  tableName: "tools";
@@ -26867,7 +26867,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
26867
26867
  readonly keychain: "keychain";
26868
26868
  readonly nango: "nango";
26869
26869
  }>;
26870
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
26870
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
26871
26871
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildRefine<{
27133
+ }, drizzle_zod3.BuildRefine<{
27134
27134
  createdAt: drizzle_orm_pg_core0.PgColumn<{
27135
27135
  name: "created_at";
27136
27136
  tableName: "tools";
@@ -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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
28172
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
28185
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
28204
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
28217
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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_zod0.BuildSchema<"select", {
28384
+ declare const ProjectMetadataSelectSchema: drizzle_zod3.BuildSchema<"select", {
28385
28385
  id: drizzle_orm_pg_core0.PgColumn<{
28386
28386
  name: "id";
28387
28387
  tableName: "project_metadata";
@@ -28475,7 +28475,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod0.BuildSchema<"select", {
28475
28475
  }, {}, {
28476
28476
  length: 512;
28477
28477
  }>;
28478
- }, drizzle_zod0.BuildRefine<{
28478
+ }, drizzle_zod3.BuildRefine<{
28479
28479
  id: drizzle_orm_pg_core0.PgColumn<{
28480
28480
  name: "id";
28481
28481
  tableName: "project_metadata";