@inkeep/agents-core 0.0.0-dev-20251212191924 → 0.0.0-dev-20251212193302

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.
@@ -1012,12 +1012,11 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
1012
1012
  in: {};
1013
1013
  }>;
1014
1014
  declare const SubAgentApiSelectSchema: z.ZodObject<{
1015
- id: z.ZodString;
1016
1015
  name: z.ZodString;
1017
- description: z.ZodNullable<z.ZodString>;
1018
- prompt: z.ZodNullable<z.ZodString>;
1016
+ id: z.ZodString;
1019
1017
  createdAt: z.ZodString;
1020
1018
  updatedAt: z.ZodString;
1019
+ description: z.ZodNullable<z.ZodString>;
1021
1020
  models: z.ZodNullable<z.ZodType<{
1022
1021
  base?: {
1023
1022
  model?: string | undefined;
@@ -1080,15 +1079,15 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
1080
1079
  }, {
1081
1080
  stepCountIs?: number | undefined;
1082
1081
  }>>>;
1082
+ prompt: z.ZodNullable<z.ZodString>;
1083
1083
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
1084
1084
  }, z.core.$strip>;
1085
1085
  declare const SubAgentApiInsertSchema: z.ZodObject<{
1086
- id: z.ZodString;
1087
1086
  name: z.ZodString;
1088
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1089
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1087
+ id: z.ZodString;
1090
1088
  createdAt: z.ZodOptional<z.ZodString>;
1091
1089
  updatedAt: z.ZodOptional<z.ZodString>;
1090
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1092
1091
  models: z.ZodOptional<z.ZodObject<{
1093
1092
  base: z.ZodOptional<z.ZodObject<{
1094
1093
  model: z.ZodOptional<z.ZodString>;
@@ -1112,15 +1111,15 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
1112
1111
  }, {
1113
1112
  stepCountIs?: number | undefined;
1114
1113
  }>>>>;
1114
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1115
1115
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
1116
1116
  }, z.core.$strip>;
1117
1117
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
1118
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1119
1118
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1120
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
1121
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
1119
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1122
1120
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1123
1121
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1122
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
1124
1123
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
1125
1124
  base: z.ZodOptional<z.ZodObject<{
1126
1125
  model: z.ZodOptional<z.ZodString>;
@@ -1144,6 +1143,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
1144
1143
  }, {
1145
1144
  stepCountIs?: number | undefined;
1146
1145
  }>>>>>>;
1146
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
1147
1147
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
1148
1148
  }, z.core.$strip>;
1149
1149
  declare const SubAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -1572,9 +1572,9 @@ declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{
1572
1572
  }>;
1573
1573
  declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1574
1574
  id: z.ZodString;
1575
- agentId: z.ZodString;
1576
1575
  createdAt: z.ZodOptional<z.ZodString>;
1577
1576
  updatedAt: z.ZodOptional<z.ZodString>;
1577
+ agentId: z.ZodString;
1578
1578
  sourceSubAgentId: z.ZodString;
1579
1579
  targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1580
1580
  relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2446,12 +2446,11 @@ declare const AgentUpdateSchema: z.ZodObject<{
2446
2446
  in: {};
2447
2447
  }>;
2448
2448
  declare const AgentApiSelectSchema: z.ZodObject<{
2449
- id: z.ZodString;
2450
2449
  name: z.ZodString;
2451
- description: z.ZodNullable<z.ZodString>;
2452
- prompt: z.ZodNullable<z.ZodString>;
2450
+ id: z.ZodString;
2453
2451
  createdAt: z.ZodString;
2454
2452
  updatedAt: z.ZodString;
2453
+ description: z.ZodNullable<z.ZodString>;
2455
2454
  models: z.ZodNullable<z.ZodType<{
2456
2455
  base?: {
2457
2456
  model?: string | undefined;
@@ -2516,6 +2515,7 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2516
2515
  }>>>;
2517
2516
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
2518
2517
  contextConfigId: z.ZodNullable<z.ZodString>;
2518
+ prompt: z.ZodNullable<z.ZodString>;
2519
2519
  statusUpdates: z.ZodNullable<z.ZodType<{
2520
2520
  enabled?: boolean | undefined;
2521
2521
  numEvents?: number | undefined;
@@ -2576,10 +2576,9 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2576
2576
  }, z.core.$strip>;
2577
2577
  declare const AgentApiInsertSchema: z.ZodObject<{
2578
2578
  name: z.ZodString;
2579
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2580
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2581
2579
  createdAt: z.ZodOptional<z.ZodString>;
2582
2580
  updatedAt: z.ZodOptional<z.ZodString>;
2581
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2583
2582
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2584
2583
  base?: {
2585
2584
  model?: string | undefined;
@@ -2644,6 +2643,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2644
2643
  }>>>>;
2645
2644
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2646
2645
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2646
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2647
2647
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2648
2648
  enabled?: boolean | undefined;
2649
2649
  numEvents?: number | undefined;
@@ -2704,12 +2704,11 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2704
2704
  id: z.ZodString;
2705
2705
  }, z.core.$strip>;
2706
2706
  declare const AgentApiUpdateSchema: z.ZodObject<{
2707
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2708
2707
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2709
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2710
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2708
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2711
2709
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2712
2710
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2711
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2713
2712
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2714
2713
  base?: {
2715
2714
  model?: string | undefined;
@@ -2774,6 +2773,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2774
2773
  }>>>>>>;
2775
2774
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2776
2775
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2776
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2777
2777
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2778
2778
  enabled?: boolean | undefined;
2779
2779
  numEvents?: number | undefined;
@@ -3241,32 +3241,32 @@ declare const TaskUpdateSchema: z.ZodObject<{
3241
3241
  }>;
3242
3242
  declare const TaskApiSelectSchema: z.ZodObject<{
3243
3243
  id: z.ZodString;
3244
- agentId: z.ZodString;
3245
3244
  createdAt: z.ZodString;
3246
3245
  updatedAt: z.ZodString;
3247
3246
  metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
3248
3247
  status: z.ZodString;
3248
+ agentId: z.ZodString;
3249
3249
  contextId: z.ZodString;
3250
3250
  subAgentId: z.ZodString;
3251
3251
  }, z.core.$strip>;
3252
3252
  declare const TaskApiInsertSchema: z.ZodObject<{
3253
3253
  id: z.ZodString;
3254
- agentId: z.ZodString;
3255
3254
  createdAt: z.ZodOptional<z.ZodString>;
3256
3255
  updatedAt: z.ZodOptional<z.ZodString>;
3257
3256
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
3258
3257
  status: z.ZodString;
3258
+ agentId: z.ZodString;
3259
3259
  conversationId: z.ZodOptional<z.ZodString>;
3260
3260
  contextId: z.ZodString;
3261
3261
  subAgentId: z.ZodString;
3262
3262
  }, z.core.$strip>;
3263
3263
  declare const TaskApiUpdateSchema: z.ZodObject<{
3264
3264
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3265
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3266
3265
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3267
3266
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3268
3267
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
3269
3268
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3269
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3270
3270
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3271
3271
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3272
3272
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4606,32 +4606,32 @@ declare const ConversationUpdateSchema: z.ZodObject<{
4606
4606
  }>;
4607
4607
  declare const ConversationApiSelectSchema: z.ZodObject<{
4608
4608
  id: z.ZodString;
4609
- title: z.ZodNullable<z.ZodString>;
4610
4609
  createdAt: z.ZodString;
4611
4610
  updatedAt: z.ZodString;
4612
4611
  userId: z.ZodNullable<z.ZodString>;
4613
4612
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
4613
+ title: z.ZodNullable<z.ZodString>;
4614
4614
  activeSubAgentId: z.ZodString;
4615
4615
  lastContextResolution: z.ZodNullable<z.ZodString>;
4616
4616
  }, z.core.$strip>;
4617
4617
  declare const ConversationApiInsertSchema: z.ZodObject<{
4618
4618
  id: z.ZodString;
4619
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4620
4619
  createdAt: z.ZodOptional<z.ZodString>;
4621
4620
  updatedAt: z.ZodOptional<z.ZodString>;
4622
4621
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4623
4622
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
4623
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4624
4624
  contextConfigId: z.ZodOptional<z.ZodString>;
4625
4625
  activeSubAgentId: z.ZodString;
4626
4626
  lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4627
4627
  }, z.core.$strip>;
4628
4628
  declare const ConversationApiUpdateSchema: z.ZodObject<{
4629
4629
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4630
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4631
4630
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4632
4631
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4633
4632
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4634
4633
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
4634
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4635
4635
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4636
4636
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4637
4637
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5486,8 +5486,8 @@ declare const MessageApiSelectSchema: z.ZodObject<{
5486
5486
  createdAt: z.ZodString;
5487
5487
  updatedAt: z.ZodString;
5488
5488
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
5489
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5490
5489
  role: z.ZodString;
5490
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5491
5491
  taskId: z.ZodNullable<z.ZodString>;
5492
5492
  conversationId: z.ZodString;
5493
5493
  fromSubAgentId: z.ZodNullable<z.ZodString>;
@@ -5507,8 +5507,8 @@ declare const MessageApiInsertSchema: z.ZodObject<{
5507
5507
  createdAt: z.ZodOptional<z.ZodString>;
5508
5508
  updatedAt: z.ZodOptional<z.ZodString>;
5509
5509
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
5510
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5511
5510
  role: z.ZodString;
5511
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5512
5512
  taskId: z.ZodOptional<z.ZodString>;
5513
5513
  conversationId: z.ZodString;
5514
5514
  fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5528,8 +5528,8 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
5528
5528
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5529
5529
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5530
5530
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
5531
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
5532
5531
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5532
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
5533
5533
  taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5534
5534
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5535
5535
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -6505,7 +6505,7 @@ declare const ContextCacheInsertSchema: drizzle_zod.BuildSchema<"insert", {
6505
6505
  }, {}, {
6506
6506
  length: 256;
6507
6507
  }>;
6508
- }, "tenantId" | "projectId" | "id" | "value" | "createdAt" | "updatedAt" | "contextConfigId" | "conversationId" | "contextVariableKey" | "requestHash" | "fetchedAt" | "fetchSource" | "fetchDurationMs">, undefined>, undefined>;
6508
+ }, "id" | "createdAt" | "updatedAt" | "value" | "projectId" | "tenantId" | "contextConfigId" | "conversationId" | "contextVariableKey" | "requestHash" | "fetchedAt" | "fetchSource" | "fetchDurationMs">, undefined>, undefined>;
6509
6509
  declare const ContextCacheUpdateSchema: z.ZodObject<{
6510
6510
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6511
6511
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6526,9 +6526,9 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
6526
6526
  }>;
6527
6527
  declare const ContextCacheApiSelectSchema: z.ZodObject<{
6528
6528
  id: z.ZodString;
6529
- value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6530
6529
  createdAt: z.ZodString;
6531
6530
  updatedAt: z.ZodString;
6531
+ value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6532
6532
  contextConfigId: z.ZodString;
6533
6533
  conversationId: z.ZodString;
6534
6534
  contextVariableKey: z.ZodString;
@@ -6539,9 +6539,9 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
6539
6539
  }, z.core.$strip>;
6540
6540
  declare const ContextCacheApiInsertSchema: z.ZodObject<{
6541
6541
  id: z.ZodString;
6542
- value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6543
6542
  createdAt: z.ZodOptional<z.ZodString>;
6544
6543
  updatedAt: z.ZodOptional<z.ZodString>;
6544
+ value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6545
6545
  contextConfigId: z.ZodString;
6546
6546
  conversationId: z.ZodString;
6547
6547
  contextVariableKey: z.ZodString;
@@ -6552,9 +6552,9 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
6552
6552
  }, z.core.$strip>;
6553
6553
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
6554
6554
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6555
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
6556
6555
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6557
6556
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6557
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
6558
6558
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6559
6559
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6560
6560
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6935,11 +6935,11 @@ declare const DataComponentInsertSchema: z.ZodObject<{
6935
6935
  in: {};
6936
6936
  }>;
6937
6937
  declare const DataComponentBaseSchema: z.ZodObject<{
6938
- tenantId: z.ZodString;
6939
- projectId: z.ZodString;
6940
- id: z.ZodString;
6941
6938
  name: z.ZodString;
6939
+ id: z.ZodString;
6942
6940
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6941
+ projectId: z.ZodString;
6942
+ tenantId: z.ZodString;
6943
6943
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
6944
6944
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
6945
6945
  component: string;
@@ -6985,11 +6985,11 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
6985
6985
  in: {};
6986
6986
  }>;
6987
6987
  declare const DataComponentApiSelectSchema: z.ZodObject<{
6988
- id: z.ZodString;
6989
6988
  name: z.ZodString;
6990
- description: z.ZodNullable<z.ZodString>;
6989
+ id: z.ZodString;
6991
6990
  createdAt: z.ZodString;
6992
6991
  updatedAt: z.ZodString;
6992
+ description: z.ZodNullable<z.ZodString>;
6993
6993
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
6994
6994
  render: z.ZodNullable<z.ZodType<{
6995
6995
  component: string;
@@ -7006,11 +7006,11 @@ declare const DataComponentApiSelectSchema: z.ZodObject<{
7006
7006
  }>>>;
7007
7007
  }, z.core.$strip>;
7008
7008
  declare const DataComponentApiInsertSchema: z.ZodObject<{
7009
- id: z.ZodString;
7010
7009
  name: z.ZodString;
7011
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7010
+ id: z.ZodString;
7012
7011
  createdAt: z.ZodOptional<z.ZodString>;
7013
7012
  updatedAt: z.ZodOptional<z.ZodString>;
7013
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7014
7014
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
7015
7015
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
7016
7016
  component: string;
@@ -7027,11 +7027,11 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
7027
7027
  }>>>>;
7028
7028
  }, z.core.$strip>;
7029
7029
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
7030
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7031
7030
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7032
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7031
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7033
7032
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7034
7033
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7034
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7035
7035
  props: 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>>>>>>>;
7036
7036
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
7037
7037
  component: string;
@@ -7576,7 +7576,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert
7576
7576
  }, {}, {
7577
7577
  length: 256;
7578
7578
  }>;
7579
- }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
7579
+ }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
7580
7580
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
7581
7581
  dataComponentId: z.ZodOptional<z.ZodString>;
7582
7582
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -7931,16 +7931,16 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
7931
7931
  in: {};
7932
7932
  }>;
7933
7933
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
7934
- id: z.ZodString;
7935
7934
  name: z.ZodString;
7936
- description: z.ZodNullable<z.ZodString>;
7935
+ id: z.ZodString;
7937
7936
  createdAt: z.ZodString;
7938
7937
  updatedAt: z.ZodString;
7938
+ description: z.ZodNullable<z.ZodString>;
7939
7939
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
7940
7940
  }, z.core.$strip>;
7941
7941
  declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
7942
- id: z.ZodString;
7943
7942
  name: z.ZodString;
7943
+ id: z.ZodString;
7944
7944
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7945
7945
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
7946
7946
  }, {
@@ -7948,11 +7948,11 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
7948
7948
  in: {};
7949
7949
  }>;
7950
7950
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
7951
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7952
7951
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7953
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7952
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7954
7953
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7955
7954
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7955
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7956
7956
  props: 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>>>>>>>;
7957
7957
  }, z.core.$strip>;
7958
7958
  declare const SubAgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -8307,39 +8307,38 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
8307
8307
  in: {};
8308
8308
  }>;
8309
8309
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
8310
- id: z.ZodString;
8311
8310
  name: z.ZodString;
8312
- description: z.ZodNullable<z.ZodString>;
8313
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8311
+ id: z.ZodString;
8314
8312
  createdAt: z.ZodString;
8315
8313
  updatedAt: z.ZodString;
8314
+ description: z.ZodNullable<z.ZodString>;
8315
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8316
8316
  baseUrl: z.ZodString;
8317
8317
  }, z.core.$strip>;
8318
8318
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
8319
- id: z.ZodString;
8320
8319
  name: z.ZodString;
8321
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8322
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8320
+ id: z.ZodString;
8323
8321
  createdAt: z.ZodOptional<z.ZodString>;
8324
8322
  updatedAt: z.ZodOptional<z.ZodString>;
8323
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8324
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8325
8325
  baseUrl: z.ZodString;
8326
8326
  }, z.core.$strip>;
8327
8327
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
8328
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8329
8328
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8330
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8331
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8329
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8332
8330
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8333
8331
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8332
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8333
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8334
8334
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8335
8335
  }, z.core.$strip>;
8336
8336
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8337
- id: z.ZodString;
8338
8337
  name: z.ZodString;
8339
- description: z.ZodNullable<z.ZodString>;
8340
- prompt: z.ZodNullable<z.ZodString>;
8338
+ id: z.ZodString;
8341
8339
  createdAt: z.ZodString;
8342
8340
  updatedAt: z.ZodString;
8341
+ description: z.ZodNullable<z.ZodString>;
8343
8342
  models: z.ZodNullable<z.ZodType<{
8344
8343
  base?: {
8345
8344
  model?: string | undefined;
@@ -8402,15 +8401,16 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8402
8401
  }, {
8403
8402
  stepCountIs?: number | undefined;
8404
8403
  }>>>;
8404
+ prompt: z.ZodNullable<z.ZodString>;
8405
8405
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
8406
8406
  type: z.ZodLiteral<"internal">;
8407
8407
  }, z.core.$strip>, z.ZodObject<{
8408
- id: z.ZodString;
8409
8408
  name: z.ZodString;
8410
- description: z.ZodNullable<z.ZodString>;
8411
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8409
+ id: z.ZodString;
8412
8410
  createdAt: z.ZodString;
8413
8411
  updatedAt: z.ZodString;
8412
+ description: z.ZodNullable<z.ZodString>;
8413
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8414
8414
  baseUrl: z.ZodString;
8415
8415
  type: z.ZodLiteral<"external">;
8416
8416
  }, z.core.$strip>], "type">;
@@ -8876,24 +8876,24 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
8876
8876
  }>;
8877
8877
  declare const ApiKeyUpdateSchema: z.ZodObject<{
8878
8878
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8879
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8880
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8879
8881
  agentId: z.ZodOptional<z.ZodString>;
8880
8882
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8881
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8882
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8883
8883
  }, {
8884
8884
  out: {};
8885
8885
  in: {};
8886
8886
  }>;
8887
8887
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
8888
- id: z.ZodString;
8889
8888
  name: z.ZodNullable<z.ZodString>;
8889
+ id: z.ZodString;
8890
+ createdAt: z.ZodString;
8891
+ updatedAt: z.ZodString;
8892
+ expiresAt: z.ZodNullable<z.ZodString>;
8890
8893
  agentId: z.ZodString;
8891
8894
  publicId: z.ZodString;
8892
8895
  keyPrefix: z.ZodString;
8893
8896
  lastUsedAt: z.ZodNullable<z.ZodString>;
8894
- expiresAt: z.ZodNullable<z.ZodString>;
8895
- createdAt: z.ZodString;
8896
- updatedAt: z.ZodString;
8897
8897
  }, {
8898
8898
  out: {};
8899
8899
  in: {};
@@ -8901,15 +8901,15 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
8901
8901
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
8902
8902
  data: z.ZodObject<{
8903
8903
  apiKey: z.ZodObject<{
8904
- id: z.ZodString;
8905
8904
  name: z.ZodNullable<z.ZodString>;
8905
+ id: z.ZodString;
8906
+ createdAt: z.ZodString;
8907
+ updatedAt: z.ZodString;
8908
+ expiresAt: z.ZodNullable<z.ZodString>;
8906
8909
  agentId: z.ZodString;
8907
8910
  publicId: z.ZodString;
8908
8911
  keyPrefix: z.ZodString;
8909
8912
  lastUsedAt: z.ZodNullable<z.ZodString>;
8910
- expiresAt: z.ZodNullable<z.ZodString>;
8911
- createdAt: z.ZodString;
8912
- updatedAt: z.ZodString;
8913
8913
  }, {
8914
8914
  out: {};
8915
8915
  in: {};
@@ -8919,20 +8919,20 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
8919
8919
  }, z.core.$strip>;
8920
8920
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
8921
8921
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8922
- agentId: z.ZodString;
8923
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8924
8922
  createdAt: z.ZodOptional<z.ZodString>;
8925
8923
  updatedAt: z.ZodOptional<z.ZodString>;
8924
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8925
+ agentId: z.ZodString;
8926
8926
  }, {
8927
8927
  out: {};
8928
8928
  in: {};
8929
8929
  }>;
8930
8930
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
8931
8931
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8932
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8933
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8932
8934
  agentId: z.ZodOptional<z.ZodString>;
8933
8935
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8934
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8935
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8936
8936
  }, {
8937
8937
  out: {};
8938
8938
  in: {};
@@ -9423,13 +9423,13 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
9423
9423
  in: {};
9424
9424
  }>;
9425
9425
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
9426
- id: z.ZodString;
9427
9426
  name: z.ZodString;
9427
+ id: z.ZodString;
9428
9428
  createdAt: z.ZodString;
9429
9429
  updatedAt: z.ZodString;
9430
+ userId: z.ZodNullable<z.ZodString>;
9430
9431
  credentialStoreId: z.ZodString;
9431
9432
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9432
- userId: z.ZodNullable<z.ZodString>;
9433
9433
  toolId: z.ZodNullable<z.ZodString>;
9434
9434
  createdBy: z.ZodNullable<z.ZodString>;
9435
9435
  type: z.ZodEnum<{
@@ -9980,13 +9980,13 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
9980
9980
  }>>>;
9981
9981
  }, z.core.$strip>;
9982
9982
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
9983
- id: z.ZodString;
9984
9983
  name: z.ZodString;
9984
+ id: z.ZodString;
9985
9985
  createdAt: z.ZodOptional<z.ZodString>;
9986
9986
  updatedAt: z.ZodOptional<z.ZodString>;
9987
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9987
9988
  credentialStoreId: z.ZodString;
9988
9989
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9989
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9990
9990
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9991
9991
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9992
9992
  type: z.ZodEnum<{
@@ -9996,13 +9996,13 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
9996
9996
  }>;
9997
9997
  }, z.core.$strip>;
9998
9998
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
9999
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10000
9999
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10000
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10001
10001
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10002
10002
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10003
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10003
10004
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10004
10005
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
10005
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10006
10006
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10007
10007
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10008
10008
  type: z.ZodOptional<z.ZodEnum<{
@@ -10118,11 +10118,11 @@ declare const McpToolSchema: z.ZodObject<{
10118
10118
  in: {};
10119
10119
  }>;
10120
10120
  declare const MCPToolConfigSchema: z.ZodObject<{
10121
- id: z.ZodString;
10122
10121
  name: z.ZodString;
10122
+ id: z.ZodString;
10123
10123
  expiresAt: z.ZodOptional<z.ZodString>;
10124
- createdBy: z.ZodOptional<z.ZodString>;
10125
10124
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
10125
+ createdBy: z.ZodOptional<z.ZodString>;
10126
10126
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
10127
10127
  credentialScope: z.ZodOptional<z.ZodString>;
10128
10128
  imageUrl: z.ZodOptional<z.ZodString>;
@@ -10153,13 +10153,13 @@ declare const MCPToolConfigSchema: z.ZodObject<{
10153
10153
  sessionId: z.ZodOptional<z.ZodString>;
10154
10154
  }, z.core.$strip>>;
10155
10155
  credential: z.ZodOptional<z.ZodObject<{
10156
- id: z.ZodString;
10157
10156
  name: z.ZodString;
10157
+ id: z.ZodString;
10158
10158
  createdAt: z.ZodOptional<z.ZodString>;
10159
10159
  updatedAt: z.ZodOptional<z.ZodString>;
10160
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10160
10161
  credentialStoreId: z.ZodString;
10161
10162
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10162
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10163
10163
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10164
10164
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10165
10165
  type: z.ZodEnum<{
@@ -10210,9 +10210,12 @@ declare const ToolUpdateSchema: z.ZodObject<{
10210
10210
  in: {};
10211
10211
  }>;
10212
10212
  declare const ToolApiSelectSchema: z.ZodObject<{
10213
- id: z.ZodString;
10214
10213
  name: z.ZodString;
10214
+ id: z.ZodString;
10215
+ createdAt: z.ZodString;
10216
+ updatedAt: z.ZodString;
10215
10217
  description: z.ZodNullable<z.ZodString>;
10218
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
10216
10219
  config: z.ZodType<{
10217
10220
  type: "mcp";
10218
10221
  mcp: ToolMcpConfig;
@@ -10226,19 +10229,19 @@ declare const ToolApiSelectSchema: z.ZodObject<{
10226
10229
  type: "mcp";
10227
10230
  mcp: ToolMcpConfig;
10228
10231
  }>>;
10229
- credentialReferenceId: z.ZodNullable<z.ZodString>;
10230
- createdAt: z.ZodString;
10231
- updatedAt: z.ZodString;
10232
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
10233
10232
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
10233
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
10234
10234
  credentialScope: z.ZodString;
10235
10235
  imageUrl: z.ZodNullable<z.ZodString>;
10236
10236
  lastError: z.ZodNullable<z.ZodString>;
10237
10237
  }, z.core.$strip>;
10238
10238
  declare const ToolApiInsertSchema: z.ZodObject<{
10239
- id: z.ZodString;
10240
10239
  name: z.ZodString;
10240
+ id: z.ZodString;
10241
+ createdAt: z.ZodOptional<z.ZodString>;
10242
+ updatedAt: z.ZodOptional<z.ZodString>;
10241
10243
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10244
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
10242
10245
  config: z.ZodObject<{
10243
10246
  type: z.ZodLiteral<"mcp">;
10244
10247
  mcp: z.ZodObject<{
@@ -10258,19 +10261,19 @@ declare const ToolApiInsertSchema: z.ZodObject<{
10258
10261
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
10259
10262
  }, z.core.$strip>;
10260
10263
  }, z.core.$strip>;
10261
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10262
- createdAt: z.ZodOptional<z.ZodString>;
10263
- updatedAt: z.ZodOptional<z.ZodString>;
10264
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
10265
10264
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
10265
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10266
10266
  credentialScope: z.ZodOptional<z.ZodString>;
10267
10267
  imageUrl: z.ZodOptional<z.ZodString>;
10268
10268
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10269
10269
  }, z.core.$strip>;
10270
10270
  declare const ToolApiUpdateSchema: z.ZodObject<{
10271
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10272
10271
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10272
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10273
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10274
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10273
10275
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10276
+ 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>>>>>>>;
10274
10277
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
10275
10278
  type: z.ZodLiteral<"mcp">;
10276
10279
  mcp: z.ZodObject<{
@@ -10290,11 +10293,8 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
10290
10293
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
10291
10294
  }, z.core.$strip>;
10292
10295
  }, z.core.$strip>>>;
10293
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10294
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10295
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10296
- 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>>>>>>>;
10297
10296
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
10297
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10298
10298
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10299
10299
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10300
10300
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -10661,29 +10661,29 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
10661
10661
  in: {};
10662
10662
  }>;
10663
10663
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
10664
- id: z.ZodString;
10665
10664
  name: z.ZodString;
10666
- description: z.ZodNullable<z.ZodString>;
10667
- agentId: z.ZodString;
10665
+ id: z.ZodString;
10668
10666
  createdAt: z.ZodString;
10669
10667
  updatedAt: z.ZodString;
10668
+ description: z.ZodNullable<z.ZodString>;
10669
+ agentId: z.ZodString;
10670
10670
  functionId: z.ZodString;
10671
10671
  }, z.core.$strip>;
10672
10672
  declare const FunctionToolApiInsertSchema: z.ZodObject<{
10673
- id: z.ZodString;
10674
10673
  name: z.ZodString;
10675
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10674
+ id: z.ZodString;
10676
10675
  createdAt: z.ZodOptional<z.ZodString>;
10677
10676
  updatedAt: z.ZodOptional<z.ZodString>;
10677
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10678
10678
  functionId: z.ZodString;
10679
10679
  }, z.core.$strip>;
10680
10680
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
10681
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10682
10681
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10683
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10684
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10682
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10685
10683
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10686
10684
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10685
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10686
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10687
10687
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10688
10688
  }, z.core.$strip>;
10689
10689
  declare const FunctionSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -11071,13 +11071,13 @@ declare const FetchDefinitionSchema: z.ZodObject<{
11071
11071
  responseSchema: z.ZodOptional<z.ZodAny>;
11072
11072
  defaultValue: z.ZodOptional<z.ZodAny>;
11073
11073
  credential: z.ZodOptional<z.ZodObject<{
11074
- id: z.ZodString;
11075
11074
  name: z.ZodString;
11075
+ id: z.ZodString;
11076
11076
  createdAt: z.ZodOptional<z.ZodString>;
11077
11077
  updatedAt: z.ZodOptional<z.ZodString>;
11078
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11078
11079
  credentialStoreId: z.ZodString;
11079
11080
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
11080
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11081
11081
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11082
11082
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11083
11083
  type: z.ZodEnum<{
@@ -11101,23 +11101,23 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
11101
11101
  in: {};
11102
11102
  }>;
11103
11103
  declare const ContextConfigInsertSchema: z.ZodObject<{
11104
- tenantId: z.ZodString;
11105
- projectId: z.ZodString;
11106
11104
  id: z.ZodOptional<z.ZodString>;
11107
- agentId: z.ZodString;
11105
+ projectId: z.ZodString;
11106
+ tenantId: z.ZodString;
11108
11107
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
11109
11108
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
11109
+ agentId: z.ZodString;
11110
11110
  }, {
11111
11111
  out: {};
11112
11112
  in: {};
11113
11113
  }>;
11114
11114
  declare const ContextConfigUpdateSchema: z.ZodObject<{
11115
- tenantId: z.ZodOptional<z.ZodString>;
11116
- projectId: z.ZodOptional<z.ZodString>;
11117
11115
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11118
- agentId: z.ZodOptional<z.ZodString>;
11116
+ projectId: z.ZodOptional<z.ZodString>;
11117
+ tenantId: z.ZodOptional<z.ZodString>;
11119
11118
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
11120
11119
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
11120
+ agentId: z.ZodOptional<z.ZodString>;
11121
11121
  }, {
11122
11122
  out: {};
11123
11123
  in: {};
@@ -11600,35 +11600,35 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
11600
11600
  id: z.ZodString;
11601
11601
  createdAt: z.ZodString;
11602
11602
  updatedAt: z.ZodString;
11603
- toolId: z.ZodString;
11604
11603
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11605
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11604
+ toolId: z.ZodString;
11606
11605
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11607
11606
  subAgentId: z.ZodString;
11607
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11608
11608
  }, z.core.$strip>;
11609
11609
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
11610
11610
  id: z.ZodString;
11611
11611
  createdAt: z.ZodOptional<z.ZodString>;
11612
11612
  updatedAt: z.ZodOptional<z.ZodString>;
11613
- toolId: z.ZodString;
11614
11613
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11614
+ toolId: z.ZodString;
11615
+ selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11616
+ subAgentId: z.ZodString;
11615
11617
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
11616
11618
  needsApproval: z.ZodOptional<z.ZodBoolean>;
11617
11619
  }, z.core.$strip>>>>;
11618
- selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11619
- subAgentId: z.ZodString;
11620
11620
  }, z.core.$strip>;
11621
11621
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
11622
11622
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11623
11623
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11624
11624
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11625
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11626
11625
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11626
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11627
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
11628
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11627
11629
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
11628
11630
  needsApproval: z.ZodOptional<z.ZodBoolean>;
11629
11631
  }, z.core.$strip>>>>>>;
11630
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
11631
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11632
11632
  }, z.core.$strip>;
11633
11633
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
11634
11634
  createdAt: drizzle_orm_pg_core.PgColumn<{
@@ -12000,8 +12000,8 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
12000
12000
  createdAt: z.ZodString;
12001
12001
  updatedAt: z.ZodString;
12002
12002
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
12003
- externalAgentId: z.ZodString;
12004
12003
  subAgentId: z.ZodString;
12004
+ externalAgentId: z.ZodString;
12005
12005
  }, z.core.$strip>;
12006
12006
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
12007
12007
  createdAt: z.ZodOptional<z.ZodString>;
@@ -12014,8 +12014,8 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
12014
12014
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12015
12015
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12016
12016
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
12017
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12018
12017
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12018
+ externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12019
12019
  }, z.core.$strip>;
12020
12020
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
12021
12021
  createdAt: drizzle_orm_pg_core.PgColumn<{
@@ -13745,7 +13745,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod.BuildSchema<"insert", {
13745
13745
  }, {}, {
13746
13746
  length: 256;
13747
13747
  }>;
13748
- }, "tenantId" | "projectId" | "id" | "type" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
13748
+ }, "type" | "name" | "id" | "createdAt" | "updatedAt" | "metadata" | "description" | "projectId" | "tenantId" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
13749
13749
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13750
13750
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13751
13751
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -13770,13 +13770,13 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13770
13770
  in: {};
13771
13771
  }>;
13772
13772
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
13773
- id: z.ZodString;
13774
13773
  type: z.ZodString;
13775
13774
  name: z.ZodNullable<z.ZodString>;
13776
- description: z.ZodNullable<z.ZodString>;
13775
+ id: z.ZodString;
13777
13776
  createdAt: z.ZodString;
13778
13777
  updatedAt: z.ZodString;
13779
13778
  metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
13779
+ description: z.ZodNullable<z.ZodString>;
13780
13780
  taskId: z.ZodString;
13781
13781
  contextId: z.ZodString;
13782
13782
  visibility: z.ZodNullable<z.ZodString>;
@@ -13788,13 +13788,13 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
13788
13788
  derivedFrom: z.ZodNullable<z.ZodString>;
13789
13789
  }, z.core.$strip>;
13790
13790
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
13791
- id: z.ZodString;
13792
13791
  type: z.ZodOptional<z.ZodString>;
13793
13792
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13794
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13793
+ id: z.ZodString;
13795
13794
  createdAt: z.ZodOptional<z.ZodString>;
13796
13795
  updatedAt: z.ZodOptional<z.ZodString>;
13797
13796
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
13797
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13798
13798
  taskId: z.ZodString;
13799
13799
  contextId: z.ZodString;
13800
13800
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -13806,13 +13806,13 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
13806
13806
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13807
13807
  }, z.core.$strip>;
13808
13808
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
13809
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13810
13809
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13811
13810
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13812
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13811
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13813
13812
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13814
13813
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13815
13814
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
13815
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13816
13816
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13817
13817
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13818
13818
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -13872,11 +13872,11 @@ declare const TeamAgentSchema: z.ZodObject<{
13872
13872
  description: z.ZodString;
13873
13873
  }, z.core.$strip>;
13874
13874
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
13875
- id: z.ZodString;
13876
13875
  name: z.ZodString;
13877
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13876
+ id: z.ZodString;
13878
13877
  createdAt: z.ZodOptional<z.ZodString>;
13879
13878
  updatedAt: z.ZodOptional<z.ZodString>;
13879
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13880
13880
  models: z.ZodOptional<z.ZodObject<{
13881
13881
  base: z.ZodOptional<z.ZodObject<{
13882
13882
  model: z.ZodOptional<z.ZodString>;
@@ -13927,18 +13927,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
13927
13927
  }, z.core.$strip>;
13928
13928
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13929
13929
  name: z.ZodString;
13930
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13931
13930
  createdAt: z.ZodOptional<z.ZodString>;
13932
13931
  updatedAt: z.ZodOptional<z.ZodString>;
13932
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13933
13933
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13934
13934
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13935
13935
  id: z.ZodString;
13936
13936
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
13937
- id: z.ZodString;
13938
13937
  name: z.ZodString;
13939
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13938
+ id: z.ZodString;
13940
13939
  createdAt: z.ZodOptional<z.ZodString>;
13941
13940
  updatedAt: z.ZodOptional<z.ZodString>;
13941
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13942
13942
  models: z.ZodOptional<z.ZodObject<{
13943
13943
  base: z.ZodOptional<z.ZodObject<{
13944
13944
  model: z.ZodOptional<z.ZodString>;
@@ -13988,9 +13988,12 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13988
13988
  }, z.core.$strip>]>>>;
13989
13989
  }, z.core.$strip>>;
13990
13990
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13991
- id: z.ZodString;
13992
13991
  name: z.ZodString;
13992
+ id: z.ZodString;
13993
+ createdAt: z.ZodOptional<z.ZodString>;
13994
+ updatedAt: z.ZodOptional<z.ZodString>;
13993
13995
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13996
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13994
13997
  config: z.ZodObject<{
13995
13998
  type: z.ZodLiteral<"mcp">;
13996
13999
  mcp: z.ZodObject<{
@@ -14010,22 +14013,19 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
14010
14013
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
14011
14014
  }, z.core.$strip>;
14012
14015
  }, z.core.$strip>;
14013
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14014
- createdAt: z.ZodOptional<z.ZodString>;
14015
- updatedAt: z.ZodOptional<z.ZodString>;
14016
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14017
14016
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14017
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14018
14018
  credentialScope: z.ZodOptional<z.ZodString>;
14019
14019
  imageUrl: z.ZodOptional<z.ZodString>;
14020
14020
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14021
14021
  }, z.core.$strip>>>;
14022
14022
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14023
- id: z.ZodString;
14024
14023
  name: z.ZodString;
14025
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14026
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14024
+ id: z.ZodString;
14027
14025
  createdAt: z.ZodOptional<z.ZodString>;
14028
14026
  updatedAt: z.ZodOptional<z.ZodString>;
14027
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14028
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14029
14029
  baseUrl: z.ZodString;
14030
14030
  }, z.core.$strip>>>;
14031
14031
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -14034,11 +14034,11 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
14034
14034
  description: z.ZodString;
14035
14035
  }, z.core.$strip>>>;
14036
14036
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14037
- id: z.ZodString;
14038
14037
  name: z.ZodString;
14039
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14038
+ id: z.ZodString;
14040
14039
  createdAt: z.ZodOptional<z.ZodString>;
14041
14040
  updatedAt: z.ZodOptional<z.ZodString>;
14041
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14042
14042
  functionId: z.ZodString;
14043
14043
  }, z.core.$strip>>>;
14044
14044
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -14148,10 +14148,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
14148
14148
  in: {};
14149
14149
  }>;
14150
14150
  declare const ProjectInsertSchema: z.ZodObject<{
14151
- tenantId: z.ZodString;
14152
- id: z.ZodString;
14153
14151
  name: z.ZodString;
14152
+ id: z.ZodString;
14154
14153
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14154
+ tenantId: z.ZodString;
14155
14155
  models: z.ZodObject<{
14156
14156
  base: z.ZodObject<{
14157
14157
  model: z.ZodOptional<z.ZodString>;
@@ -14200,11 +14200,11 @@ declare const ProjectUpdateSchema: z.ZodObject<{
14200
14200
  in: {};
14201
14201
  }>;
14202
14202
  declare const ProjectApiSelectSchema: z.ZodObject<{
14203
- id: z.ZodString;
14204
14203
  name: z.ZodString;
14205
- description: z.ZodNullable<z.ZodString>;
14204
+ id: z.ZodString;
14206
14205
  createdAt: z.ZodString;
14207
14206
  updatedAt: z.ZodString;
14207
+ description: z.ZodNullable<z.ZodString>;
14208
14208
  models: z.ZodNullable<z.ZodObject<{
14209
14209
  base: z.ZodObject<{
14210
14210
  model: z.ZodOptional<z.ZodString>;
@@ -14228,8 +14228,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
14228
14228
  in: {};
14229
14229
  }>;
14230
14230
  declare const ProjectApiInsertSchema: z.ZodObject<{
14231
- id: z.ZodString;
14232
14231
  name: z.ZodString;
14232
+ id: z.ZodString;
14233
14233
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14234
14234
  models: z.ZodObject<{
14235
14235
  base: z.ZodObject<{
@@ -14279,8 +14279,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
14279
14279
  in: {};
14280
14280
  }>;
14281
14281
  declare const FullProjectDefinitionSchema: z.ZodObject<{
14282
- id: z.ZodString;
14283
14282
  name: z.ZodString;
14283
+ id: z.ZodString;
14284
14284
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14285
14285
  models: z.ZodObject<{
14286
14286
  base: z.ZodObject<{
@@ -14302,18 +14302,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14302
14302
  }, z.core.$strip>>;
14303
14303
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
14304
14304
  name: z.ZodString;
14305
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14306
14305
  createdAt: z.ZodOptional<z.ZodString>;
14307
14306
  updatedAt: z.ZodOptional<z.ZodString>;
14307
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14308
14308
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14309
14309
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14310
14310
  id: z.ZodString;
14311
14311
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
14312
- id: z.ZodString;
14313
14312
  name: z.ZodString;
14314
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14313
+ id: z.ZodString;
14315
14314
  createdAt: z.ZodOptional<z.ZodString>;
14316
14315
  updatedAt: z.ZodOptional<z.ZodString>;
14316
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14317
14317
  models: z.ZodOptional<z.ZodObject<{
14318
14318
  base: z.ZodOptional<z.ZodObject<{
14319
14319
  model: z.ZodOptional<z.ZodString>;
@@ -14363,9 +14363,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14363
14363
  }, z.core.$strip>]>>>;
14364
14364
  }, z.core.$strip>>;
14365
14365
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14366
- id: z.ZodString;
14367
14366
  name: z.ZodString;
14367
+ id: z.ZodString;
14368
+ createdAt: z.ZodOptional<z.ZodString>;
14369
+ updatedAt: z.ZodOptional<z.ZodString>;
14368
14370
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14371
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14369
14372
  config: z.ZodObject<{
14370
14373
  type: z.ZodLiteral<"mcp">;
14371
14374
  mcp: z.ZodObject<{
@@ -14385,22 +14388,19 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14385
14388
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
14386
14389
  }, z.core.$strip>;
14387
14390
  }, z.core.$strip>;
14388
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14389
- createdAt: z.ZodOptional<z.ZodString>;
14390
- updatedAt: z.ZodOptional<z.ZodString>;
14391
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14392
14391
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14392
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14393
14393
  credentialScope: z.ZodOptional<z.ZodString>;
14394
14394
  imageUrl: z.ZodOptional<z.ZodString>;
14395
14395
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14396
14396
  }, z.core.$strip>>>;
14397
14397
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14398
- id: z.ZodString;
14399
14398
  name: z.ZodString;
14400
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14401
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14399
+ id: z.ZodString;
14402
14400
  createdAt: z.ZodOptional<z.ZodString>;
14403
14401
  updatedAt: z.ZodOptional<z.ZodString>;
14402
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14403
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14404
14404
  baseUrl: z.ZodString;
14405
14405
  }, z.core.$strip>>>;
14406
14406
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -14409,11 +14409,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14409
14409
  description: z.ZodString;
14410
14410
  }, z.core.$strip>>>;
14411
14411
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14412
- id: z.ZodString;
14413
14412
  name: z.ZodString;
14414
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14413
+ id: z.ZodString;
14415
14414
  createdAt: z.ZodOptional<z.ZodString>;
14416
14415
  updatedAt: z.ZodOptional<z.ZodString>;
14416
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14417
14417
  functionId: z.ZodString;
14418
14418
  }, z.core.$strip>>>;
14419
14419
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -14464,9 +14464,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14464
14464
  prompt: z.ZodOptional<z.ZodString>;
14465
14465
  }, z.core.$strip>>;
14466
14466
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
14467
- id: z.ZodString;
14468
14467
  name: z.ZodString;
14468
+ id: z.ZodString;
14469
+ createdAt: z.ZodOptional<z.ZodString>;
14470
+ updatedAt: z.ZodOptional<z.ZodString>;
14469
14471
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14472
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14470
14473
  config: z.ZodObject<{
14471
14474
  type: z.ZodLiteral<"mcp">;
14472
14475
  mcp: z.ZodObject<{
@@ -14486,21 +14489,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14486
14489
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
14487
14490
  }, z.core.$strip>;
14488
14491
  }, z.core.$strip>;
14489
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14490
- createdAt: z.ZodOptional<z.ZodString>;
14491
- updatedAt: z.ZodOptional<z.ZodString>;
14492
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14493
14492
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14493
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14494
14494
  credentialScope: z.ZodOptional<z.ZodString>;
14495
14495
  imageUrl: z.ZodOptional<z.ZodString>;
14496
14496
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14497
14497
  }, z.core.$strip>>;
14498
14498
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14499
- id: z.ZodString;
14500
14499
  name: z.ZodString;
14501
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14500
+ id: z.ZodString;
14502
14501
  createdAt: z.ZodOptional<z.ZodString>;
14503
14502
  updatedAt: z.ZodOptional<z.ZodString>;
14503
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14504
14504
  functionId: z.ZodString;
14505
14505
  }, z.core.$strip>>>;
14506
14506
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -14512,11 +14512,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14512
14512
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14513
14513
  }, z.core.$strip>>>;
14514
14514
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14515
- id: z.ZodString;
14516
14515
  name: z.ZodString;
14517
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14516
+ id: z.ZodString;
14518
14517
  createdAt: z.ZodOptional<z.ZodString>;
14519
14518
  updatedAt: z.ZodOptional<z.ZodString>;
14519
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14520
14520
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14521
14521
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
14522
14522
  component: string;
@@ -14533,8 +14533,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14533
14533
  }>>>>;
14534
14534
  }, z.core.$strip>>>;
14535
14535
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14536
- id: z.ZodString;
14537
14536
  name: z.ZodString;
14537
+ id: z.ZodString;
14538
14538
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14539
14539
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14540
14540
  }, {
@@ -14542,12 +14542,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14542
14542
  in: {};
14543
14543
  }>>>;
14544
14544
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14545
- id: z.ZodString;
14546
14545
  name: z.ZodString;
14547
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14548
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14546
+ id: z.ZodString;
14549
14547
  createdAt: z.ZodOptional<z.ZodString>;
14550
14548
  updatedAt: z.ZodOptional<z.ZodString>;
14549
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14550
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14551
14551
  baseUrl: z.ZodString;
14552
14552
  }, z.core.$strip>>>;
14553
14553
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -14566,13 +14566,13 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14566
14566
  }, z.core.$strip>>>;
14567
14567
  }, z.core.$strip>>;
14568
14568
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14569
- id: z.ZodString;
14570
14569
  name: z.ZodString;
14570
+ id: z.ZodString;
14571
14571
  createdAt: z.ZodOptional<z.ZodString>;
14572
14572
  updatedAt: z.ZodOptional<z.ZodString>;
14573
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14573
14574
  credentialStoreId: z.ZodString;
14574
14575
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14575
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14576
14576
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14577
14577
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14578
14578
  type: z.ZodEnum<{
@@ -14589,11 +14589,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14589
14589
  }>;
14590
14590
  declare const ProjectResponse: z.ZodObject<{
14591
14591
  data: z.ZodObject<{
14592
- id: z.ZodString;
14593
14592
  name: z.ZodString;
14594
- description: z.ZodNullable<z.ZodString>;
14593
+ id: z.ZodString;
14595
14594
  createdAt: z.ZodString;
14596
14595
  updatedAt: z.ZodString;
14596
+ description: z.ZodNullable<z.ZodString>;
14597
14597
  models: z.ZodNullable<z.ZodObject<{
14598
14598
  base: z.ZodObject<{
14599
14599
  model: z.ZodOptional<z.ZodString>;
@@ -14619,12 +14619,11 @@ declare const ProjectResponse: z.ZodObject<{
14619
14619
  }, z.core.$strip>;
14620
14620
  declare const SubAgentResponse: z.ZodObject<{
14621
14621
  data: z.ZodObject<{
14622
- id: z.ZodString;
14623
14622
  name: z.ZodString;
14624
- description: z.ZodNullable<z.ZodString>;
14625
- prompt: z.ZodNullable<z.ZodString>;
14623
+ id: z.ZodString;
14626
14624
  createdAt: z.ZodString;
14627
14625
  updatedAt: z.ZodString;
14626
+ description: z.ZodNullable<z.ZodString>;
14628
14627
  models: z.ZodNullable<z.ZodType<{
14629
14628
  base?: {
14630
14629
  model?: string | undefined;
@@ -14687,17 +14686,17 @@ declare const SubAgentResponse: z.ZodObject<{
14687
14686
  }, {
14688
14687
  stepCountIs?: number | undefined;
14689
14688
  }>>>;
14689
+ prompt: z.ZodNullable<z.ZodString>;
14690
14690
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
14691
14691
  }, z.core.$strip>;
14692
14692
  }, z.core.$strip>;
14693
14693
  declare const AgentResponse: z.ZodObject<{
14694
14694
  data: z.ZodObject<{
14695
- id: z.ZodString;
14696
14695
  name: z.ZodString;
14697
- description: z.ZodNullable<z.ZodString>;
14698
- prompt: z.ZodNullable<z.ZodString>;
14696
+ id: z.ZodString;
14699
14697
  createdAt: z.ZodString;
14700
14698
  updatedAt: z.ZodString;
14699
+ description: z.ZodNullable<z.ZodString>;
14701
14700
  models: z.ZodNullable<z.ZodType<{
14702
14701
  base?: {
14703
14702
  model?: string | undefined;
@@ -14762,6 +14761,7 @@ declare const AgentResponse: z.ZodObject<{
14762
14761
  }>>>;
14763
14762
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
14764
14763
  contextConfigId: z.ZodNullable<z.ZodString>;
14764
+ prompt: z.ZodNullable<z.ZodString>;
14765
14765
  statusUpdates: z.ZodNullable<z.ZodType<{
14766
14766
  enabled?: boolean | undefined;
14767
14767
  numEvents?: number | undefined;
@@ -14823,9 +14823,12 @@ declare const AgentResponse: z.ZodObject<{
14823
14823
  }, z.core.$strip>;
14824
14824
  declare const ToolResponse: z.ZodObject<{
14825
14825
  data: z.ZodObject<{
14826
- id: z.ZodString;
14827
14826
  name: z.ZodString;
14827
+ id: z.ZodString;
14828
+ createdAt: z.ZodString;
14829
+ updatedAt: z.ZodString;
14828
14830
  description: z.ZodNullable<z.ZodString>;
14831
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
14829
14832
  config: z.ZodType<{
14830
14833
  type: "mcp";
14831
14834
  mcp: ToolMcpConfig;
@@ -14839,11 +14842,8 @@ declare const ToolResponse: z.ZodObject<{
14839
14842
  type: "mcp";
14840
14843
  mcp: ToolMcpConfig;
14841
14844
  }>>;
14842
- credentialReferenceId: z.ZodNullable<z.ZodString>;
14843
- createdAt: z.ZodString;
14844
- updatedAt: z.ZodString;
14845
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
14846
14845
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
14846
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
14847
14847
  credentialScope: z.ZodString;
14848
14848
  imageUrl: z.ZodNullable<z.ZodString>;
14849
14849
  lastError: z.ZodNullable<z.ZodString>;
@@ -14851,12 +14851,12 @@ declare const ToolResponse: z.ZodObject<{
14851
14851
  }, z.core.$strip>;
14852
14852
  declare const ExternalAgentResponse: z.ZodObject<{
14853
14853
  data: z.ZodObject<{
14854
- id: z.ZodString;
14855
14854
  name: z.ZodString;
14856
- description: z.ZodNullable<z.ZodString>;
14857
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14855
+ id: z.ZodString;
14858
14856
  createdAt: z.ZodString;
14859
14857
  updatedAt: z.ZodString;
14858
+ description: z.ZodNullable<z.ZodString>;
14859
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14860
14860
  baseUrl: z.ZodString;
14861
14861
  }, z.core.$strip>;
14862
14862
  }, z.core.$strip>;
@@ -14871,15 +14871,15 @@ declare const ContextConfigResponse: z.ZodObject<{
14871
14871
  }, z.core.$strip>;
14872
14872
  declare const ApiKeyResponse: z.ZodObject<{
14873
14873
  data: z.ZodObject<{
14874
- id: z.ZodString;
14875
14874
  name: z.ZodNullable<z.ZodString>;
14875
+ id: z.ZodString;
14876
+ createdAt: z.ZodString;
14877
+ updatedAt: z.ZodString;
14878
+ expiresAt: z.ZodNullable<z.ZodString>;
14876
14879
  agentId: z.ZodString;
14877
14880
  publicId: z.ZodString;
14878
14881
  keyPrefix: z.ZodString;
14879
14882
  lastUsedAt: z.ZodNullable<z.ZodString>;
14880
- expiresAt: z.ZodNullable<z.ZodString>;
14881
- createdAt: z.ZodString;
14882
- updatedAt: z.ZodString;
14883
14883
  }, {
14884
14884
  out: {};
14885
14885
  in: {};
@@ -14887,13 +14887,13 @@ declare const ApiKeyResponse: z.ZodObject<{
14887
14887
  }, z.core.$strip>;
14888
14888
  declare const CredentialReferenceResponse: z.ZodObject<{
14889
14889
  data: z.ZodObject<{
14890
- id: z.ZodString;
14891
14890
  name: z.ZodString;
14891
+ id: z.ZodString;
14892
14892
  createdAt: z.ZodString;
14893
14893
  updatedAt: z.ZodString;
14894
+ userId: z.ZodNullable<z.ZodString>;
14894
14895
  credentialStoreId: z.ZodString;
14895
14896
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
14896
- userId: z.ZodNullable<z.ZodString>;
14897
14897
  toolId: z.ZodNullable<z.ZodString>;
14898
14898
  createdBy: z.ZodNullable<z.ZodString>;
14899
14899
  type: z.ZodEnum<{
@@ -15456,22 +15456,22 @@ declare const FunctionResponse: z.ZodObject<{
15456
15456
  }, z.core.$strip>;
15457
15457
  declare const FunctionToolResponse: z.ZodObject<{
15458
15458
  data: z.ZodObject<{
15459
- id: z.ZodString;
15460
15459
  name: z.ZodString;
15461
- description: z.ZodNullable<z.ZodString>;
15462
- agentId: z.ZodString;
15460
+ id: z.ZodString;
15463
15461
  createdAt: z.ZodString;
15464
15462
  updatedAt: z.ZodString;
15463
+ description: z.ZodNullable<z.ZodString>;
15464
+ agentId: z.ZodString;
15465
15465
  functionId: z.ZodString;
15466
15466
  }, z.core.$strip>;
15467
15467
  }, z.core.$strip>;
15468
15468
  declare const DataComponentResponse: z.ZodObject<{
15469
15469
  data: z.ZodObject<{
15470
- id: z.ZodString;
15471
15470
  name: z.ZodString;
15472
- description: z.ZodNullable<z.ZodString>;
15471
+ id: z.ZodString;
15473
15472
  createdAt: z.ZodString;
15474
15473
  updatedAt: z.ZodString;
15474
+ description: z.ZodNullable<z.ZodString>;
15475
15475
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
15476
15476
  render: z.ZodNullable<z.ZodType<{
15477
15477
  component: string;
@@ -15490,11 +15490,11 @@ declare const DataComponentResponse: z.ZodObject<{
15490
15490
  }, z.core.$strip>;
15491
15491
  declare const ArtifactComponentResponse: z.ZodObject<{
15492
15492
  data: z.ZodObject<{
15493
- id: z.ZodString;
15494
15493
  name: z.ZodString;
15495
- description: z.ZodNullable<z.ZodString>;
15494
+ id: z.ZodString;
15496
15495
  createdAt: z.ZodString;
15497
15496
  updatedAt: z.ZodString;
15497
+ description: z.ZodNullable<z.ZodString>;
15498
15498
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
15499
15499
  }, z.core.$strip>;
15500
15500
  }, z.core.$strip>;
@@ -15513,21 +15513,21 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
15513
15513
  id: z.ZodString;
15514
15514
  createdAt: z.ZodString;
15515
15515
  updatedAt: z.ZodString;
15516
- toolId: z.ZodString;
15517
15516
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15518
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15517
+ toolId: z.ZodString;
15519
15518
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15520
15519
  subAgentId: z.ZodString;
15520
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15521
15521
  }, z.core.$strip>;
15522
15522
  }, z.core.$strip>;
15523
15523
  declare const ConversationResponse: z.ZodObject<{
15524
15524
  data: z.ZodObject<{
15525
15525
  id: z.ZodString;
15526
- title: z.ZodNullable<z.ZodString>;
15527
15526
  createdAt: z.ZodString;
15528
15527
  updatedAt: z.ZodString;
15529
15528
  userId: z.ZodNullable<z.ZodString>;
15530
15529
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
15530
+ title: z.ZodNullable<z.ZodString>;
15531
15531
  activeSubAgentId: z.ZodString;
15532
15532
  lastContextResolution: z.ZodNullable<z.ZodString>;
15533
15533
  }, z.core.$strip>;
@@ -15538,8 +15538,8 @@ declare const MessageResponse: z.ZodObject<{
15538
15538
  createdAt: z.ZodString;
15539
15539
  updatedAt: z.ZodString;
15540
15540
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
15541
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
15542
15541
  role: z.ZodString;
15542
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
15543
15543
  taskId: z.ZodNullable<z.ZodString>;
15544
15544
  conversationId: z.ZodString;
15545
15545
  fromSubAgentId: z.ZodNullable<z.ZodString>;
@@ -15557,11 +15557,11 @@ declare const MessageResponse: z.ZodObject<{
15557
15557
  }, z.core.$strip>;
15558
15558
  declare const ProjectListResponse: z.ZodObject<{
15559
15559
  data: z.ZodArray<z.ZodObject<{
15560
- id: z.ZodString;
15561
15560
  name: z.ZodString;
15562
- description: z.ZodNullable<z.ZodString>;
15561
+ id: z.ZodString;
15563
15562
  createdAt: z.ZodString;
15564
15563
  updatedAt: z.ZodString;
15564
+ description: z.ZodNullable<z.ZodString>;
15565
15565
  models: z.ZodNullable<z.ZodObject<{
15566
15566
  base: z.ZodObject<{
15567
15567
  model: z.ZodOptional<z.ZodString>;
@@ -15593,12 +15593,11 @@ declare const ProjectListResponse: z.ZodObject<{
15593
15593
  }, z.core.$strip>;
15594
15594
  declare const SubAgentListResponse: z.ZodObject<{
15595
15595
  data: z.ZodArray<z.ZodObject<{
15596
- id: z.ZodString;
15597
15596
  name: z.ZodString;
15598
- description: z.ZodNullable<z.ZodString>;
15599
- prompt: z.ZodNullable<z.ZodString>;
15597
+ id: z.ZodString;
15600
15598
  createdAt: z.ZodString;
15601
15599
  updatedAt: z.ZodString;
15600
+ description: z.ZodNullable<z.ZodString>;
15602
15601
  models: z.ZodNullable<z.ZodType<{
15603
15602
  base?: {
15604
15603
  model?: string | undefined;
@@ -15661,6 +15660,7 @@ declare const SubAgentListResponse: z.ZodObject<{
15661
15660
  }, {
15662
15661
  stepCountIs?: number | undefined;
15663
15662
  }>>>;
15663
+ prompt: z.ZodNullable<z.ZodString>;
15664
15664
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
15665
15665
  }, z.core.$strip>>;
15666
15666
  pagination: z.ZodObject<{
@@ -15672,12 +15672,11 @@ declare const SubAgentListResponse: z.ZodObject<{
15672
15672
  }, z.core.$strip>;
15673
15673
  declare const AgentListResponse: z.ZodObject<{
15674
15674
  data: z.ZodArray<z.ZodObject<{
15675
- id: z.ZodString;
15676
15675
  name: z.ZodString;
15677
- description: z.ZodNullable<z.ZodString>;
15678
- prompt: z.ZodNullable<z.ZodString>;
15676
+ id: z.ZodString;
15679
15677
  createdAt: z.ZodString;
15680
15678
  updatedAt: z.ZodString;
15679
+ description: z.ZodNullable<z.ZodString>;
15681
15680
  models: z.ZodNullable<z.ZodType<{
15682
15681
  base?: {
15683
15682
  model?: string | undefined;
@@ -15742,6 +15741,7 @@ declare const AgentListResponse: z.ZodObject<{
15742
15741
  }>>>;
15743
15742
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
15744
15743
  contextConfigId: z.ZodNullable<z.ZodString>;
15744
+ prompt: z.ZodNullable<z.ZodString>;
15745
15745
  statusUpdates: z.ZodNullable<z.ZodType<{
15746
15746
  enabled?: boolean | undefined;
15747
15747
  numEvents?: number | undefined;
@@ -15809,9 +15809,12 @@ declare const AgentListResponse: z.ZodObject<{
15809
15809
  }, z.core.$strip>;
15810
15810
  declare const ToolListResponse: z.ZodObject<{
15811
15811
  data: z.ZodArray<z.ZodObject<{
15812
- id: z.ZodString;
15813
15812
  name: z.ZodString;
15813
+ id: z.ZodString;
15814
+ createdAt: z.ZodString;
15815
+ updatedAt: z.ZodString;
15814
15816
  description: z.ZodNullable<z.ZodString>;
15817
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15815
15818
  config: z.ZodType<{
15816
15819
  type: "mcp";
15817
15820
  mcp: ToolMcpConfig;
@@ -15825,11 +15828,8 @@ declare const ToolListResponse: z.ZodObject<{
15825
15828
  type: "mcp";
15826
15829
  mcp: ToolMcpConfig;
15827
15830
  }>>;
15828
- credentialReferenceId: z.ZodNullable<z.ZodString>;
15829
- createdAt: z.ZodString;
15830
- updatedAt: z.ZodString;
15831
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15832
15831
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
15832
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
15833
15833
  credentialScope: z.ZodString;
15834
15834
  imageUrl: z.ZodNullable<z.ZodString>;
15835
15835
  lastError: z.ZodNullable<z.ZodString>;
@@ -15843,12 +15843,12 @@ declare const ToolListResponse: z.ZodObject<{
15843
15843
  }, z.core.$strip>;
15844
15844
  declare const ExternalAgentListResponse: z.ZodObject<{
15845
15845
  data: z.ZodArray<z.ZodObject<{
15846
- id: z.ZodString;
15847
15846
  name: z.ZodString;
15848
- description: z.ZodNullable<z.ZodString>;
15849
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15847
+ id: z.ZodString;
15850
15848
  createdAt: z.ZodString;
15851
15849
  updatedAt: z.ZodString;
15850
+ description: z.ZodNullable<z.ZodString>;
15851
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15852
15852
  baseUrl: z.ZodString;
15853
15853
  }, z.core.$strip>>;
15854
15854
  pagination: z.ZodObject<{
@@ -15875,15 +15875,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
15875
15875
  }, z.core.$strip>;
15876
15876
  declare const ApiKeyListResponse: z.ZodObject<{
15877
15877
  data: z.ZodArray<z.ZodObject<{
15878
- id: z.ZodString;
15879
15878
  name: z.ZodNullable<z.ZodString>;
15879
+ id: z.ZodString;
15880
+ createdAt: z.ZodString;
15881
+ updatedAt: z.ZodString;
15882
+ expiresAt: z.ZodNullable<z.ZodString>;
15880
15883
  agentId: z.ZodString;
15881
15884
  publicId: z.ZodString;
15882
15885
  keyPrefix: z.ZodString;
15883
15886
  lastUsedAt: z.ZodNullable<z.ZodString>;
15884
- expiresAt: z.ZodNullable<z.ZodString>;
15885
- createdAt: z.ZodString;
15886
- updatedAt: z.ZodString;
15887
15887
  }, {
15888
15888
  out: {};
15889
15889
  in: {};
@@ -15897,13 +15897,13 @@ declare const ApiKeyListResponse: z.ZodObject<{
15897
15897
  }, z.core.$strip>;
15898
15898
  declare const CredentialReferenceListResponse: z.ZodObject<{
15899
15899
  data: z.ZodArray<z.ZodObject<{
15900
- id: z.ZodString;
15901
15900
  name: z.ZodString;
15901
+ id: z.ZodString;
15902
15902
  createdAt: z.ZodString;
15903
15903
  updatedAt: z.ZodString;
15904
+ userId: z.ZodNullable<z.ZodString>;
15904
15905
  credentialStoreId: z.ZodString;
15905
15906
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
15906
- userId: z.ZodNullable<z.ZodString>;
15907
15907
  toolId: z.ZodNullable<z.ZodString>;
15908
15908
  createdBy: z.ZodNullable<z.ZodString>;
15909
15909
  type: z.ZodEnum<{
@@ -16478,12 +16478,12 @@ declare const FunctionListResponse: z.ZodObject<{
16478
16478
  }, z.core.$strip>;
16479
16479
  declare const FunctionToolListResponse: z.ZodObject<{
16480
16480
  data: z.ZodArray<z.ZodObject<{
16481
- id: z.ZodString;
16482
16481
  name: z.ZodString;
16483
- description: z.ZodNullable<z.ZodString>;
16484
- agentId: z.ZodString;
16482
+ id: z.ZodString;
16485
16483
  createdAt: z.ZodString;
16486
16484
  updatedAt: z.ZodString;
16485
+ description: z.ZodNullable<z.ZodString>;
16486
+ agentId: z.ZodString;
16487
16487
  functionId: z.ZodString;
16488
16488
  }, z.core.$strip>>;
16489
16489
  pagination: z.ZodObject<{
@@ -16495,11 +16495,11 @@ declare const FunctionToolListResponse: z.ZodObject<{
16495
16495
  }, z.core.$strip>;
16496
16496
  declare const DataComponentListResponse: z.ZodObject<{
16497
16497
  data: z.ZodArray<z.ZodObject<{
16498
- id: z.ZodString;
16499
16498
  name: z.ZodString;
16500
- description: z.ZodNullable<z.ZodString>;
16499
+ id: z.ZodString;
16501
16500
  createdAt: z.ZodString;
16502
16501
  updatedAt: z.ZodString;
16502
+ description: z.ZodNullable<z.ZodString>;
16503
16503
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
16504
16504
  render: z.ZodNullable<z.ZodType<{
16505
16505
  component: string;
@@ -16524,11 +16524,11 @@ declare const DataComponentListResponse: z.ZodObject<{
16524
16524
  }, z.core.$strip>;
16525
16525
  declare const ArtifactComponentListResponse: z.ZodObject<{
16526
16526
  data: z.ZodArray<z.ZodObject<{
16527
- id: z.ZodString;
16528
16527
  name: z.ZodString;
16529
- description: z.ZodNullable<z.ZodString>;
16528
+ id: z.ZodString;
16530
16529
  createdAt: z.ZodString;
16531
16530
  updatedAt: z.ZodString;
16531
+ description: z.ZodNullable<z.ZodString>;
16532
16532
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
16533
16533
  }, z.core.$strip>>;
16534
16534
  pagination: z.ZodObject<{
@@ -16559,11 +16559,11 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
16559
16559
  id: z.ZodString;
16560
16560
  createdAt: z.ZodString;
16561
16561
  updatedAt: z.ZodString;
16562
- toolId: z.ZodString;
16563
16562
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16564
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16563
+ toolId: z.ZodString;
16565
16564
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16566
16565
  subAgentId: z.ZodString;
16566
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16567
16567
  }, z.core.$strip>>;
16568
16568
  pagination: z.ZodObject<{
16569
16569
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16575,11 +16575,11 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
16575
16575
  declare const ConversationListResponse: z.ZodObject<{
16576
16576
  data: z.ZodArray<z.ZodObject<{
16577
16577
  id: z.ZodString;
16578
- title: z.ZodNullable<z.ZodString>;
16579
16578
  createdAt: z.ZodString;
16580
16579
  updatedAt: z.ZodString;
16581
16580
  userId: z.ZodNullable<z.ZodString>;
16582
16581
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
16582
+ title: z.ZodNullable<z.ZodString>;
16583
16583
  activeSubAgentId: z.ZodString;
16584
16584
  lastContextResolution: z.ZodNullable<z.ZodString>;
16585
16585
  }, z.core.$strip>>;
@@ -16596,8 +16596,8 @@ declare const MessageListResponse: z.ZodObject<{
16596
16596
  createdAt: z.ZodString;
16597
16597
  updatedAt: z.ZodString;
16598
16598
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
16599
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
16600
16599
  role: z.ZodString;
16600
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
16601
16601
  taskId: z.ZodNullable<z.ZodString>;
16602
16602
  conversationId: z.ZodString;
16603
16603
  fromSubAgentId: z.ZodNullable<z.ZodString>;
@@ -16665,8 +16665,8 @@ declare const SubAgentArtifactComponentListResponse: z.ZodObject<{
16665
16665
  }, z.core.$strip>;
16666
16666
  declare const FullProjectDefinitionResponse: z.ZodObject<{
16667
16667
  data: z.ZodObject<{
16668
- id: z.ZodString;
16669
16668
  name: z.ZodString;
16669
+ id: z.ZodString;
16670
16670
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16671
16671
  models: z.ZodObject<{
16672
16672
  base: z.ZodObject<{
@@ -16688,18 +16688,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16688
16688
  }, z.core.$strip>>;
16689
16689
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
16690
16690
  name: z.ZodString;
16691
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16692
16691
  createdAt: z.ZodOptional<z.ZodString>;
16693
16692
  updatedAt: z.ZodOptional<z.ZodString>;
16693
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16694
16694
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16695
16695
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16696
16696
  id: z.ZodString;
16697
16697
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
16698
- id: z.ZodString;
16699
16698
  name: z.ZodString;
16700
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16699
+ id: z.ZodString;
16701
16700
  createdAt: z.ZodOptional<z.ZodString>;
16702
16701
  updatedAt: z.ZodOptional<z.ZodString>;
16702
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16703
16703
  models: z.ZodOptional<z.ZodObject<{
16704
16704
  base: z.ZodOptional<z.ZodObject<{
16705
16705
  model: z.ZodOptional<z.ZodString>;
@@ -16749,9 +16749,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16749
16749
  }, z.core.$strip>]>>>;
16750
16750
  }, z.core.$strip>>;
16751
16751
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16752
- id: z.ZodString;
16753
16752
  name: z.ZodString;
16753
+ id: z.ZodString;
16754
+ createdAt: z.ZodOptional<z.ZodString>;
16755
+ updatedAt: z.ZodOptional<z.ZodString>;
16754
16756
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16757
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16755
16758
  config: z.ZodObject<{
16756
16759
  type: z.ZodLiteral<"mcp">;
16757
16760
  mcp: z.ZodObject<{
@@ -16771,22 +16774,19 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16771
16774
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16772
16775
  }, z.core.$strip>;
16773
16776
  }, z.core.$strip>;
16774
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16775
- createdAt: z.ZodOptional<z.ZodString>;
16776
- updatedAt: z.ZodOptional<z.ZodString>;
16777
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16778
16777
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16778
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16779
16779
  credentialScope: z.ZodOptional<z.ZodString>;
16780
16780
  imageUrl: z.ZodOptional<z.ZodString>;
16781
16781
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16782
16782
  }, z.core.$strip>>>;
16783
16783
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16784
- id: z.ZodString;
16785
16784
  name: z.ZodString;
16786
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16787
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16785
+ id: z.ZodString;
16788
16786
  createdAt: z.ZodOptional<z.ZodString>;
16789
16787
  updatedAt: z.ZodOptional<z.ZodString>;
16788
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16789
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16790
16790
  baseUrl: z.ZodString;
16791
16791
  }, z.core.$strip>>>;
16792
16792
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16795,11 +16795,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16795
16795
  description: z.ZodString;
16796
16796
  }, z.core.$strip>>>;
16797
16797
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16798
- id: z.ZodString;
16799
16798
  name: z.ZodString;
16800
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16799
+ id: z.ZodString;
16801
16800
  createdAt: z.ZodOptional<z.ZodString>;
16802
16801
  updatedAt: z.ZodOptional<z.ZodString>;
16802
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16803
16803
  functionId: z.ZodString;
16804
16804
  }, z.core.$strip>>>;
16805
16805
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16850,9 +16850,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16850
16850
  prompt: z.ZodOptional<z.ZodString>;
16851
16851
  }, z.core.$strip>>;
16852
16852
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
16853
- id: z.ZodString;
16854
16853
  name: z.ZodString;
16854
+ id: z.ZodString;
16855
+ createdAt: z.ZodOptional<z.ZodString>;
16856
+ updatedAt: z.ZodOptional<z.ZodString>;
16855
16857
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16858
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16856
16859
  config: z.ZodObject<{
16857
16860
  type: z.ZodLiteral<"mcp">;
16858
16861
  mcp: z.ZodObject<{
@@ -16872,21 +16875,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16872
16875
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16873
16876
  }, z.core.$strip>;
16874
16877
  }, z.core.$strip>;
16875
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16876
- createdAt: z.ZodOptional<z.ZodString>;
16877
- updatedAt: z.ZodOptional<z.ZodString>;
16878
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16879
16878
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16879
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16880
16880
  credentialScope: z.ZodOptional<z.ZodString>;
16881
16881
  imageUrl: z.ZodOptional<z.ZodString>;
16882
16882
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16883
16883
  }, z.core.$strip>>;
16884
16884
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16885
- id: z.ZodString;
16886
16885
  name: z.ZodString;
16887
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16886
+ id: z.ZodString;
16888
16887
  createdAt: z.ZodOptional<z.ZodString>;
16889
16888
  updatedAt: z.ZodOptional<z.ZodString>;
16889
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16890
16890
  functionId: z.ZodString;
16891
16891
  }, z.core.$strip>>>;
16892
16892
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16898,11 +16898,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16898
16898
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16899
16899
  }, z.core.$strip>>>;
16900
16900
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16901
- id: z.ZodString;
16902
16901
  name: z.ZodString;
16903
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16902
+ id: z.ZodString;
16904
16903
  createdAt: z.ZodOptional<z.ZodString>;
16905
16904
  updatedAt: z.ZodOptional<z.ZodString>;
16905
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16906
16906
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
16907
16907
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
16908
16908
  component: string;
@@ -16919,8 +16919,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16919
16919
  }>>>>;
16920
16920
  }, z.core.$strip>>>;
16921
16921
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16922
- id: z.ZodString;
16923
16922
  name: z.ZodString;
16923
+ id: z.ZodString;
16924
16924
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16925
16925
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
16926
16926
  }, {
@@ -16928,12 +16928,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16928
16928
  in: {};
16929
16929
  }>>>;
16930
16930
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16931
- id: z.ZodString;
16932
16931
  name: z.ZodString;
16933
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16934
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16932
+ id: z.ZodString;
16935
16933
  createdAt: z.ZodOptional<z.ZodString>;
16936
16934
  updatedAt: z.ZodOptional<z.ZodString>;
16935
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16936
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16937
16937
  baseUrl: z.ZodString;
16938
16938
  }, z.core.$strip>>>;
16939
16939
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -16952,13 +16952,13 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16952
16952
  }, z.core.$strip>>>;
16953
16953
  }, z.core.$strip>>;
16954
16954
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16955
- id: z.ZodString;
16956
16955
  name: z.ZodString;
16956
+ id: z.ZodString;
16957
16957
  createdAt: z.ZodOptional<z.ZodString>;
16958
16958
  updatedAt: z.ZodOptional<z.ZodString>;
16959
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16959
16960
  credentialStoreId: z.ZodString;
16960
16961
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16961
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16962
16962
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16963
16963
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16964
16964
  type: z.ZodEnum<{
@@ -16977,18 +16977,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16977
16977
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16978
16978
  data: z.ZodObject<{
16979
16979
  name: z.ZodString;
16980
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16981
16980
  createdAt: z.ZodOptional<z.ZodString>;
16982
16981
  updatedAt: z.ZodOptional<z.ZodString>;
16982
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16983
16983
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16984
16984
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16985
16985
  id: z.ZodString;
16986
16986
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
16987
- id: z.ZodString;
16988
16987
  name: z.ZodString;
16989
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16988
+ id: z.ZodString;
16990
16989
  createdAt: z.ZodOptional<z.ZodString>;
16991
16990
  updatedAt: z.ZodOptional<z.ZodString>;
16991
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16992
16992
  models: z.ZodOptional<z.ZodObject<{
16993
16993
  base: z.ZodOptional<z.ZodObject<{
16994
16994
  model: z.ZodOptional<z.ZodString>;
@@ -17038,9 +17038,12 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
17038
17038
  }, z.core.$strip>]>>>;
17039
17039
  }, z.core.$strip>>;
17040
17040
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17041
- id: z.ZodString;
17042
17041
  name: z.ZodString;
17042
+ id: z.ZodString;
17043
+ createdAt: z.ZodOptional<z.ZodString>;
17044
+ updatedAt: z.ZodOptional<z.ZodString>;
17043
17045
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17046
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17044
17047
  config: z.ZodObject<{
17045
17048
  type: z.ZodLiteral<"mcp">;
17046
17049
  mcp: z.ZodObject<{
@@ -17060,22 +17063,19 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
17060
17063
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
17061
17064
  }, z.core.$strip>;
17062
17065
  }, z.core.$strip>;
17063
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17064
- createdAt: z.ZodOptional<z.ZodString>;
17065
- updatedAt: z.ZodOptional<z.ZodString>;
17066
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17067
17066
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17067
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17068
17068
  credentialScope: z.ZodOptional<z.ZodString>;
17069
17069
  imageUrl: z.ZodOptional<z.ZodString>;
17070
17070
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17071
17071
  }, z.core.$strip>>>;
17072
17072
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17073
- id: z.ZodString;
17074
17073
  name: z.ZodString;
17075
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17076
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17074
+ id: z.ZodString;
17077
17075
  createdAt: z.ZodOptional<z.ZodString>;
17078
17076
  updatedAt: z.ZodOptional<z.ZodString>;
17077
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17078
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17079
17079
  baseUrl: z.ZodString;
17080
17080
  }, z.core.$strip>>>;
17081
17081
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -17084,11 +17084,11 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
17084
17084
  description: z.ZodString;
17085
17085
  }, z.core.$strip>>>;
17086
17086
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17087
- id: z.ZodString;
17088
17087
  name: z.ZodString;
17089
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17088
+ id: z.ZodString;
17090
17089
  createdAt: z.ZodOptional<z.ZodString>;
17091
17090
  updatedAt: z.ZodOptional<z.ZodString>;
17091
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17092
17092
  functionId: z.ZodString;
17093
17093
  }, z.core.$strip>>>;
17094
17094
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -17304,8 +17304,8 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
17304
17304
  createdAt: z.ZodString;
17305
17305
  updatedAt: z.ZodString;
17306
17306
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
17307
- externalAgentId: z.ZodString;
17308
17307
  subAgentId: z.ZodString;
17308
+ externalAgentId: z.ZodString;
17309
17309
  }, z.core.$strip>;
17310
17310
  }, z.core.$strip>;
17311
17311
  declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
@@ -17314,8 +17314,8 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
17314
17314
  createdAt: z.ZodString;
17315
17315
  updatedAt: z.ZodString;
17316
17316
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
17317
- externalAgentId: z.ZodString;
17318
17317
  subAgentId: z.ZodString;
17318
+ externalAgentId: z.ZodString;
17319
17319
  }, z.core.$strip>>;
17320
17320
  pagination: z.ZodObject<{
17321
17321
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -17326,11 +17326,11 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
17326
17326
  }, z.core.$strip>;
17327
17327
  declare const DataComponentArrayResponse: z.ZodObject<{
17328
17328
  data: z.ZodArray<z.ZodObject<{
17329
- id: z.ZodString;
17330
17329
  name: z.ZodString;
17331
- description: z.ZodNullable<z.ZodString>;
17330
+ id: z.ZodString;
17332
17331
  createdAt: z.ZodString;
17333
17332
  updatedAt: z.ZodString;
17333
+ description: z.ZodNullable<z.ZodString>;
17334
17334
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
17335
17335
  render: z.ZodNullable<z.ZodType<{
17336
17336
  component: string;
@@ -17349,11 +17349,11 @@ declare const DataComponentArrayResponse: z.ZodObject<{
17349
17349
  }, z.core.$strip>;
17350
17350
  declare const ArtifactComponentArrayResponse: z.ZodObject<{
17351
17351
  data: z.ZodArray<z.ZodObject<{
17352
- id: z.ZodString;
17353
17352
  name: z.ZodString;
17354
- description: z.ZodNullable<z.ZodString>;
17353
+ id: z.ZodString;
17355
17354
  createdAt: z.ZodString;
17356
17355
  updatedAt: z.ZodString;
17356
+ description: z.ZodNullable<z.ZodString>;
17357
17357
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
17358
17358
  }, z.core.$strip>>;
17359
17359
  }, z.core.$strip>;