@inkeep/agents-core 0.0.0-dev-20251125061921 → 0.0.0-dev-20251125083010

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.
@@ -1013,12 +1013,11 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
1013
1013
  in: {};
1014
1014
  }>;
1015
1015
  declare const SubAgentApiSelectSchema: z.ZodObject<{
1016
- id: z.ZodString;
1017
1016
  name: z.ZodString;
1018
- description: z.ZodString;
1019
- prompt: z.ZodString;
1017
+ id: z.ZodString;
1020
1018
  createdAt: z.ZodString;
1021
1019
  updatedAt: z.ZodString;
1020
+ description: z.ZodString;
1022
1021
  models: z.ZodNullable<z.ZodType<{
1023
1022
  base?: {
1024
1023
  model?: string | undefined;
@@ -1081,15 +1080,15 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
1081
1080
  }, {
1082
1081
  stepCountIs?: number | undefined;
1083
1082
  }>>>;
1083
+ prompt: z.ZodString;
1084
1084
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
1085
1085
  }, z.core.$strip>;
1086
1086
  declare const SubAgentApiInsertSchema: z.ZodObject<{
1087
- id: z.ZodString;
1088
1087
  name: z.ZodString;
1089
- description: z.ZodString;
1090
- prompt: z.ZodString;
1088
+ id: z.ZodString;
1091
1089
  createdAt: z.ZodOptional<z.ZodString>;
1092
1090
  updatedAt: z.ZodOptional<z.ZodString>;
1091
+ description: z.ZodString;
1093
1092
  models: z.ZodOptional<z.ZodObject<{
1094
1093
  base: z.ZodOptional<z.ZodObject<{
1095
1094
  model: z.ZodOptional<z.ZodString>;
@@ -1113,15 +1112,15 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
1113
1112
  }, {
1114
1113
  stepCountIs?: number | undefined;
1115
1114
  }>>>>;
1115
+ prompt: z.ZodString;
1116
1116
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
1117
1117
  }, z.core.$strip>;
1118
1118
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
1119
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1120
1119
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1121
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1122
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1120
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1123
1121
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1124
1122
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1123
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1125
1124
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
1126
1125
  base: z.ZodOptional<z.ZodObject<{
1127
1126
  model: z.ZodOptional<z.ZodString>;
@@ -1145,6 +1144,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
1145
1144
  }, {
1146
1145
  stepCountIs?: number | undefined;
1147
1146
  }>>>>>>;
1147
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1148
1148
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
1149
1149
  }, z.core.$strip>;
1150
1150
  declare const SubAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -1573,9 +1573,9 @@ declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{
1573
1573
  }>;
1574
1574
  declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1575
1575
  id: z.ZodString;
1576
- agentId: z.ZodString;
1577
1576
  createdAt: z.ZodOptional<z.ZodString>;
1578
1577
  updatedAt: z.ZodOptional<z.ZodString>;
1578
+ agentId: z.ZodString;
1579
1579
  sourceSubAgentId: z.ZodString;
1580
1580
  targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1581
1581
  relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2447,12 +2447,11 @@ declare const AgentUpdateSchema: z.ZodObject<{
2447
2447
  in: {};
2448
2448
  }>;
2449
2449
  declare const AgentApiSelectSchema: z.ZodObject<{
2450
- id: z.ZodString;
2451
2450
  name: z.ZodString;
2452
- description: z.ZodNullable<z.ZodString>;
2453
- prompt: z.ZodNullable<z.ZodString>;
2451
+ id: z.ZodString;
2454
2452
  createdAt: z.ZodString;
2455
2453
  updatedAt: z.ZodString;
2454
+ description: z.ZodNullable<z.ZodString>;
2456
2455
  models: z.ZodNullable<z.ZodType<{
2457
2456
  base?: {
2458
2457
  model?: string | undefined;
@@ -2517,6 +2516,7 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2517
2516
  }>>>;
2518
2517
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
2519
2518
  contextConfigId: z.ZodNullable<z.ZodString>;
2519
+ prompt: z.ZodNullable<z.ZodString>;
2520
2520
  statusUpdates: z.ZodNullable<z.ZodType<{
2521
2521
  enabled?: boolean | undefined;
2522
2522
  numEvents?: number | undefined;
@@ -2577,10 +2577,9 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2577
2577
  }, z.core.$strip>;
2578
2578
  declare const AgentApiInsertSchema: z.ZodObject<{
2579
2579
  name: z.ZodString;
2580
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2581
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2582
2580
  createdAt: z.ZodOptional<z.ZodString>;
2583
2581
  updatedAt: z.ZodOptional<z.ZodString>;
2582
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2584
2583
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2585
2584
  base?: {
2586
2585
  model?: string | undefined;
@@ -2645,6 +2644,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2645
2644
  }>>>>;
2646
2645
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2647
2646
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2647
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2648
2648
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2649
2649
  enabled?: boolean | undefined;
2650
2650
  numEvents?: number | undefined;
@@ -2705,12 +2705,11 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2705
2705
  id: z.ZodString;
2706
2706
  }, z.core.$strip>;
2707
2707
  declare const AgentApiUpdateSchema: z.ZodObject<{
2708
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2709
2708
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2710
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2711
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2709
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2712
2710
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2713
2711
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2712
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2714
2713
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2715
2714
  base?: {
2716
2715
  model?: string | undefined;
@@ -2775,6 +2774,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2775
2774
  }>>>>>>;
2776
2775
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2777
2776
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2777
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2778
2778
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2779
2779
  enabled?: boolean | undefined;
2780
2780
  numEvents?: number | undefined;
@@ -3242,32 +3242,32 @@ declare const TaskUpdateSchema: z.ZodObject<{
3242
3242
  }>;
3243
3243
  declare const TaskApiSelectSchema: z.ZodObject<{
3244
3244
  id: z.ZodString;
3245
- agentId: z.ZodString;
3246
3245
  createdAt: z.ZodString;
3247
3246
  updatedAt: z.ZodString;
3248
3247
  metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
3249
3248
  status: z.ZodString;
3249
+ agentId: z.ZodString;
3250
3250
  contextId: z.ZodString;
3251
3251
  subAgentId: z.ZodString;
3252
3252
  }, z.core.$strip>;
3253
3253
  declare const TaskApiInsertSchema: z.ZodObject<{
3254
3254
  id: z.ZodString;
3255
- agentId: z.ZodString;
3256
3255
  createdAt: z.ZodOptional<z.ZodString>;
3257
3256
  updatedAt: z.ZodOptional<z.ZodString>;
3258
3257
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
3259
3258
  status: z.ZodString;
3259
+ agentId: z.ZodString;
3260
3260
  conversationId: z.ZodOptional<z.ZodString>;
3261
3261
  contextId: z.ZodString;
3262
3262
  subAgentId: z.ZodString;
3263
3263
  }, z.core.$strip>;
3264
3264
  declare const TaskApiUpdateSchema: z.ZodObject<{
3265
3265
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3266
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3267
3266
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3268
3267
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3269
3268
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
3270
3269
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3270
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3271
3271
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3272
3272
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3273
3273
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4568,33 +4568,33 @@ declare const ConversationUpdateSchema: z.ZodObject<{
4568
4568
  }>;
4569
4569
  declare const ConversationApiSelectSchema: z.ZodObject<{
4570
4570
  id: z.ZodString;
4571
- title: z.ZodNullable<z.ZodString>;
4572
4571
  createdAt: z.ZodString;
4573
4572
  updatedAt: z.ZodString;
4574
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
4575
4573
  userId: z.ZodNullable<z.ZodString>;
4574
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
4575
+ title: z.ZodNullable<z.ZodString>;
4576
4576
  activeSubAgentId: z.ZodString;
4577
4577
  lastContextResolution: z.ZodNullable<z.ZodString>;
4578
4578
  }, z.core.$strip>;
4579
4579
  declare const ConversationApiInsertSchema: z.ZodObject<{
4580
4580
  id: z.ZodString;
4581
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4582
4581
  createdAt: z.ZodOptional<z.ZodString>;
4583
4582
  updatedAt: z.ZodOptional<z.ZodString>;
4583
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4584
4584
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
4585
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4585
4586
  contextConfigId: z.ZodOptional<z.ZodString>;
4586
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4587
4587
  activeSubAgentId: z.ZodString;
4588
4588
  lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4589
4589
  }, z.core.$strip>;
4590
4590
  declare const ConversationApiUpdateSchema: z.ZodObject<{
4591
4591
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4592
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4593
4592
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4594
4593
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4594
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4595
4595
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
4596
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4596
4597
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4597
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4598
4598
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4599
4599
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4600
4600
  }, z.core.$strip>;
@@ -5448,8 +5448,8 @@ declare const MessageApiSelectSchema: z.ZodObject<{
5448
5448
  createdAt: z.ZodString;
5449
5449
  updatedAt: z.ZodString;
5450
5450
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
5451
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5452
5451
  role: z.ZodString;
5452
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5453
5453
  conversationId: z.ZodString;
5454
5454
  fromSubAgentId: z.ZodNullable<z.ZodString>;
5455
5455
  toSubAgentId: z.ZodNullable<z.ZodString>;
@@ -5469,8 +5469,8 @@ declare const MessageApiInsertSchema: z.ZodObject<{
5469
5469
  createdAt: z.ZodOptional<z.ZodString>;
5470
5470
  updatedAt: z.ZodOptional<z.ZodString>;
5471
5471
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
5472
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5473
5472
  role: z.ZodString;
5473
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5474
5474
  conversationId: z.ZodString;
5475
5475
  fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5476
5476
  toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5490,8 +5490,8 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
5490
5490
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5491
5491
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5492
5492
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
5493
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
5494
5493
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5494
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
5495
5495
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5496
5496
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5497
5497
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -6467,7 +6467,7 @@ declare const ContextCacheInsertSchema: drizzle_zod.BuildSchema<"insert", {
6467
6467
  }, {}, {
6468
6468
  length: 256;
6469
6469
  }>;
6470
- }, "tenantId" | "projectId" | "id" | "value" | "createdAt" | "updatedAt" | "contextConfigId" | "conversationId" | "contextVariableKey" | "requestHash" | "fetchedAt" | "fetchSource" | "fetchDurationMs">, undefined>, undefined>;
6470
+ }, "id" | "createdAt" | "updatedAt" | "value" | "projectId" | "tenantId" | "contextConfigId" | "conversationId" | "contextVariableKey" | "requestHash" | "fetchedAt" | "fetchSource" | "fetchDurationMs">, undefined>, undefined>;
6471
6471
  declare const ContextCacheUpdateSchema: z.ZodObject<{
6472
6472
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6473
6473
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6488,9 +6488,9 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
6488
6488
  }>;
6489
6489
  declare const ContextCacheApiSelectSchema: z.ZodObject<{
6490
6490
  id: z.ZodString;
6491
- value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6492
6491
  createdAt: z.ZodString;
6493
6492
  updatedAt: z.ZodString;
6493
+ value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6494
6494
  contextConfigId: z.ZodString;
6495
6495
  conversationId: z.ZodString;
6496
6496
  contextVariableKey: z.ZodString;
@@ -6501,9 +6501,9 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
6501
6501
  }, z.core.$strip>;
6502
6502
  declare const ContextCacheApiInsertSchema: z.ZodObject<{
6503
6503
  id: z.ZodString;
6504
- value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6505
6504
  createdAt: z.ZodOptional<z.ZodString>;
6506
6505
  updatedAt: z.ZodOptional<z.ZodString>;
6506
+ value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6507
6507
  contextConfigId: z.ZodString;
6508
6508
  conversationId: z.ZodString;
6509
6509
  contextVariableKey: z.ZodString;
@@ -6514,9 +6514,9 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
6514
6514
  }, z.core.$strip>;
6515
6515
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
6516
6516
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6517
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
6518
6517
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6519
6518
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6519
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
6520
6520
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6521
6521
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6522
6522
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6897,11 +6897,11 @@ declare const DataComponentInsertSchema: z.ZodObject<{
6897
6897
  in: {};
6898
6898
  }>;
6899
6899
  declare const DataComponentBaseSchema: z.ZodObject<{
6900
- tenantId: z.ZodString;
6901
- projectId: z.ZodString;
6902
- id: z.ZodString;
6903
6900
  name: z.ZodString;
6901
+ id: z.ZodString;
6904
6902
  description: z.ZodString;
6903
+ projectId: z.ZodString;
6904
+ tenantId: z.ZodString;
6905
6905
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
6906
6906
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
6907
6907
  component: string;
@@ -6947,11 +6947,11 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
6947
6947
  in: {};
6948
6948
  }>;
6949
6949
  declare const DataComponentApiSelectSchema: z.ZodObject<{
6950
- id: z.ZodString;
6951
6950
  name: z.ZodString;
6952
- description: z.ZodString;
6951
+ id: z.ZodString;
6953
6952
  createdAt: z.ZodString;
6954
6953
  updatedAt: z.ZodString;
6954
+ description: z.ZodString;
6955
6955
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
6956
6956
  render: z.ZodNullable<z.ZodType<{
6957
6957
  component: string;
@@ -6968,11 +6968,11 @@ declare const DataComponentApiSelectSchema: z.ZodObject<{
6968
6968
  }>>>;
6969
6969
  }, z.core.$strip>;
6970
6970
  declare const DataComponentApiInsertSchema: z.ZodObject<{
6971
- id: z.ZodString;
6972
6971
  name: z.ZodString;
6973
- description: z.ZodString;
6972
+ id: z.ZodString;
6974
6973
  createdAt: z.ZodOptional<z.ZodString>;
6975
6974
  updatedAt: z.ZodOptional<z.ZodString>;
6975
+ description: z.ZodString;
6976
6976
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
6977
6977
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
6978
6978
  component: string;
@@ -6989,11 +6989,11 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
6989
6989
  }>>>>;
6990
6990
  }, z.core.$strip>;
6991
6991
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
6992
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6993
6992
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6994
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6993
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6995
6994
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6996
6995
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6996
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6997
6997
  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>>>>>>>;
6998
6998
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
6999
6999
  component: string;
@@ -7538,7 +7538,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert
7538
7538
  }, {}, {
7539
7539
  length: 256;
7540
7540
  }>;
7541
- }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
7541
+ }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
7542
7542
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
7543
7543
  dataComponentId: z.ZodOptional<z.ZodString>;
7544
7544
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -7893,16 +7893,16 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
7893
7893
  in: {};
7894
7894
  }>;
7895
7895
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
7896
- id: z.ZodString;
7897
7896
  name: z.ZodString;
7898
- description: z.ZodString;
7897
+ id: z.ZodString;
7899
7898
  createdAt: z.ZodString;
7900
7899
  updatedAt: z.ZodString;
7900
+ description: z.ZodString;
7901
7901
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
7902
7902
  }, z.core.$strip>;
7903
7903
  declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
7904
- id: z.ZodString;
7905
7904
  name: z.ZodString;
7905
+ id: z.ZodString;
7906
7906
  description: z.ZodString;
7907
7907
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
7908
7908
  }, {
@@ -7910,11 +7910,11 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
7910
7910
  in: {};
7911
7911
  }>;
7912
7912
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
7913
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7914
7913
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7915
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7914
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7916
7915
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7917
7916
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7917
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7918
7918
  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>>>>>>>;
7919
7919
  }, z.core.$strip>;
7920
7920
  declare const SubAgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -8269,39 +8269,38 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
8269
8269
  in: {};
8270
8270
  }>;
8271
8271
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
8272
- id: z.ZodString;
8273
8272
  name: z.ZodString;
8274
- description: z.ZodString;
8275
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8273
+ id: z.ZodString;
8276
8274
  createdAt: z.ZodString;
8277
8275
  updatedAt: z.ZodString;
8276
+ description: z.ZodString;
8277
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8278
8278
  baseUrl: z.ZodString;
8279
8279
  }, z.core.$strip>;
8280
8280
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
8281
- id: z.ZodString;
8282
8281
  name: z.ZodString;
8283
- description: z.ZodString;
8284
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8282
+ id: z.ZodString;
8285
8283
  createdAt: z.ZodOptional<z.ZodString>;
8286
8284
  updatedAt: z.ZodOptional<z.ZodString>;
8285
+ description: z.ZodString;
8286
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8287
8287
  baseUrl: z.ZodString;
8288
8288
  }, z.core.$strip>;
8289
8289
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
8290
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8291
8290
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8292
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8293
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8291
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8294
8292
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8295
8293
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8294
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8295
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8296
8296
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8297
8297
  }, z.core.$strip>;
8298
8298
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8299
- id: z.ZodString;
8300
8299
  name: z.ZodString;
8301
- description: z.ZodString;
8302
- prompt: z.ZodString;
8300
+ id: z.ZodString;
8303
8301
  createdAt: z.ZodString;
8304
8302
  updatedAt: z.ZodString;
8303
+ description: z.ZodString;
8305
8304
  models: z.ZodNullable<z.ZodType<{
8306
8305
  base?: {
8307
8306
  model?: string | undefined;
@@ -8364,15 +8363,16 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8364
8363
  }, {
8365
8364
  stepCountIs?: number | undefined;
8366
8365
  }>>>;
8366
+ prompt: z.ZodString;
8367
8367
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
8368
8368
  type: z.ZodLiteral<"internal">;
8369
8369
  }, z.core.$strip>, z.ZodObject<{
8370
- id: z.ZodString;
8371
8370
  name: z.ZodString;
8372
- description: z.ZodString;
8373
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8371
+ id: z.ZodString;
8374
8372
  createdAt: z.ZodString;
8375
8373
  updatedAt: z.ZodString;
8374
+ description: z.ZodString;
8375
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8376
8376
  baseUrl: z.ZodString;
8377
8377
  type: z.ZodLiteral<"external">;
8378
8378
  }, z.core.$strip>], "type">;
@@ -8838,24 +8838,24 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
8838
8838
  }>;
8839
8839
  declare const ApiKeyUpdateSchema: z.ZodObject<{
8840
8840
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8841
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8842
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8841
8843
  agentId: z.ZodOptional<z.ZodString>;
8842
8844
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8843
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8844
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8845
8845
  }, {
8846
8846
  out: {};
8847
8847
  in: {};
8848
8848
  }>;
8849
8849
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
8850
- id: z.ZodString;
8851
8850
  name: z.ZodNullable<z.ZodString>;
8851
+ id: z.ZodString;
8852
+ createdAt: z.ZodString;
8853
+ updatedAt: z.ZodString;
8854
+ expiresAt: z.ZodNullable<z.ZodString>;
8852
8855
  agentId: z.ZodString;
8853
8856
  publicId: z.ZodString;
8854
8857
  keyPrefix: z.ZodString;
8855
8858
  lastUsedAt: z.ZodNullable<z.ZodString>;
8856
- expiresAt: z.ZodNullable<z.ZodString>;
8857
- createdAt: z.ZodString;
8858
- updatedAt: z.ZodString;
8859
8859
  }, {
8860
8860
  out: {};
8861
8861
  in: {};
@@ -8863,15 +8863,15 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
8863
8863
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
8864
8864
  data: z.ZodObject<{
8865
8865
  apiKey: z.ZodObject<{
8866
- id: z.ZodString;
8867
8866
  name: z.ZodNullable<z.ZodString>;
8867
+ id: z.ZodString;
8868
+ createdAt: z.ZodString;
8869
+ updatedAt: z.ZodString;
8870
+ expiresAt: z.ZodNullable<z.ZodString>;
8868
8871
  agentId: z.ZodString;
8869
8872
  publicId: z.ZodString;
8870
8873
  keyPrefix: z.ZodString;
8871
8874
  lastUsedAt: z.ZodNullable<z.ZodString>;
8872
- expiresAt: z.ZodNullable<z.ZodString>;
8873
- createdAt: z.ZodString;
8874
- updatedAt: z.ZodString;
8875
8875
  }, {
8876
8876
  out: {};
8877
8877
  in: {};
@@ -8881,20 +8881,20 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
8881
8881
  }, z.core.$strip>;
8882
8882
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
8883
8883
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8884
- agentId: z.ZodString;
8885
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8886
8884
  createdAt: z.ZodOptional<z.ZodString>;
8887
8885
  updatedAt: z.ZodOptional<z.ZodString>;
8886
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8887
+ agentId: z.ZodString;
8888
8888
  }, {
8889
8889
  out: {};
8890
8890
  in: {};
8891
8891
  }>;
8892
8892
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
8893
8893
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8894
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8895
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8894
8896
  agentId: z.ZodOptional<z.ZodString>;
8895
8897
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8896
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8897
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8898
8898
  }, {
8899
8899
  out: {};
8900
8900
  in: {};
@@ -8939,8 +8939,8 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
8939
8939
  in: {};
8940
8940
  }>;
8941
8941
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
8942
- id: z.ZodString;
8943
8942
  name: z.ZodString;
8943
+ id: z.ZodString;
8944
8944
  createdAt: z.ZodString;
8945
8945
  updatedAt: z.ZodString;
8946
8946
  credentialStoreId: z.ZodString;
@@ -9455,8 +9455,8 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
9455
9455
  }>>>;
9456
9456
  }, z.core.$strip>;
9457
9457
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
9458
- id: z.ZodString;
9459
9458
  name: z.ZodString;
9459
+ id: z.ZodString;
9460
9460
  createdAt: z.ZodOptional<z.ZodString>;
9461
9461
  updatedAt: z.ZodOptional<z.ZodString>;
9462
9462
  credentialStoreId: z.ZodString;
@@ -9468,8 +9468,8 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
9468
9468
  }>;
9469
9469
  }, z.core.$strip>;
9470
9470
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
9471
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9472
9471
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9472
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9473
9473
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9474
9474
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9475
9475
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -9585,8 +9585,8 @@ declare const McpToolSchema: z.ZodObject<{
9585
9585
  in: {};
9586
9586
  }>;
9587
9587
  declare const MCPToolConfigSchema: z.ZodObject<{
9588
- id: z.ZodString;
9589
9588
  name: z.ZodString;
9589
+ id: z.ZodString;
9590
9590
  expiresAt: z.ZodOptional<z.ZodString>;
9591
9591
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9592
9592
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -9618,8 +9618,8 @@ declare const MCPToolConfigSchema: z.ZodObject<{
9618
9618
  sessionId: z.ZodOptional<z.ZodString>;
9619
9619
  }, z.core.$strip>>;
9620
9620
  credential: z.ZodOptional<z.ZodObject<{
9621
- id: z.ZodString;
9622
9621
  name: z.ZodString;
9622
+ id: z.ZodString;
9623
9623
  createdAt: z.ZodOptional<z.ZodString>;
9624
9624
  updatedAt: z.ZodOptional<z.ZodString>;
9625
9625
  credentialStoreId: z.ZodString;
@@ -9671,9 +9671,11 @@ declare const ToolUpdateSchema: z.ZodObject<{
9671
9671
  in: {};
9672
9672
  }>;
9673
9673
  declare const ToolApiSelectSchema: z.ZodObject<{
9674
- id: z.ZodString;
9675
9674
  name: z.ZodString;
9676
- description: z.ZodNullable<z.ZodString>;
9675
+ id: z.ZodString;
9676
+ createdAt: z.ZodString;
9677
+ updatedAt: z.ZodString;
9678
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9677
9679
  config: z.ZodType<{
9678
9680
  type: "mcp";
9679
9681
  mcp: ToolMcpConfig;
@@ -9687,18 +9689,18 @@ declare const ToolApiSelectSchema: z.ZodObject<{
9687
9689
  type: "mcp";
9688
9690
  mcp: ToolMcpConfig;
9689
9691
  }>>;
9690
- credentialReferenceId: z.ZodNullable<z.ZodString>;
9691
- createdAt: z.ZodString;
9692
- updatedAt: z.ZodString;
9693
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9692
+ description: z.ZodNullable<z.ZodString>;
9694
9693
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9694
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
9695
9695
  imageUrl: z.ZodNullable<z.ZodString>;
9696
9696
  lastError: z.ZodNullable<z.ZodString>;
9697
9697
  }, z.core.$strip>;
9698
9698
  declare const ToolApiInsertSchema: z.ZodObject<{
9699
- id: z.ZodString;
9700
9699
  name: z.ZodString;
9701
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9700
+ id: z.ZodString;
9701
+ createdAt: z.ZodOptional<z.ZodString>;
9702
+ updatedAt: z.ZodOptional<z.ZodString>;
9703
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9702
9704
  config: z.ZodObject<{
9703
9705
  type: z.ZodLiteral<"mcp">;
9704
9706
  mcp: z.ZodObject<{
@@ -9718,18 +9720,18 @@ declare const ToolApiInsertSchema: z.ZodObject<{
9718
9720
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
9719
9721
  }, z.core.$strip>;
9720
9722
  }, z.core.$strip>;
9721
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9722
- createdAt: z.ZodOptional<z.ZodString>;
9723
- updatedAt: z.ZodOptional<z.ZodString>;
9724
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9723
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9725
9724
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
9725
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9726
9726
  imageUrl: z.ZodOptional<z.ZodString>;
9727
9727
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9728
9728
  }, z.core.$strip>;
9729
9729
  declare const ToolApiUpdateSchema: z.ZodObject<{
9730
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9731
9730
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9732
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9731
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9732
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9733
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9734
+ 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>>>>>>>;
9733
9735
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9734
9736
  type: z.ZodLiteral<"mcp">;
9735
9737
  mcp: z.ZodObject<{
@@ -9749,11 +9751,9 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
9749
9751
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
9750
9752
  }, z.core.$strip>;
9751
9753
  }, z.core.$strip>>>;
9752
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9753
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9754
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9755
- 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>>>>>>>;
9754
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9756
9755
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
9756
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9757
9757
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9758
9758
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9759
9759
  }, z.core.$strip>;
@@ -10119,29 +10119,29 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
10119
10119
  in: {};
10120
10120
  }>;
10121
10121
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
10122
- id: z.ZodString;
10123
10122
  name: z.ZodString;
10124
- description: z.ZodNullable<z.ZodString>;
10125
- agentId: z.ZodString;
10123
+ id: z.ZodString;
10126
10124
  createdAt: z.ZodString;
10127
10125
  updatedAt: z.ZodString;
10126
+ description: z.ZodNullable<z.ZodString>;
10127
+ agentId: z.ZodString;
10128
10128
  functionId: z.ZodString;
10129
10129
  }, z.core.$strip>;
10130
10130
  declare const FunctionToolApiInsertSchema: z.ZodObject<{
10131
- id: z.ZodString;
10132
10131
  name: z.ZodString;
10133
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10132
+ id: z.ZodString;
10134
10133
  createdAt: z.ZodOptional<z.ZodString>;
10135
10134
  updatedAt: z.ZodOptional<z.ZodString>;
10135
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10136
10136
  functionId: z.ZodString;
10137
10137
  }, z.core.$strip>;
10138
10138
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
10139
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10140
10139
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10141
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10142
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10140
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10143
10141
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10144
10142
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10143
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10144
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10145
10145
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10146
10146
  }, z.core.$strip>;
10147
10147
  declare const FunctionSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -10527,8 +10527,8 @@ declare const FetchDefinitionSchema: z.ZodObject<{
10527
10527
  responseSchema: z.ZodOptional<z.ZodAny>;
10528
10528
  defaultValue: z.ZodOptional<z.ZodAny>;
10529
10529
  credential: z.ZodOptional<z.ZodObject<{
10530
- id: z.ZodString;
10531
10530
  name: z.ZodString;
10531
+ id: z.ZodString;
10532
10532
  createdAt: z.ZodOptional<z.ZodString>;
10533
10533
  updatedAt: z.ZodOptional<z.ZodString>;
10534
10534
  credentialStoreId: z.ZodString;
@@ -10554,23 +10554,23 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
10554
10554
  in: {};
10555
10555
  }>;
10556
10556
  declare const ContextConfigInsertSchema: z.ZodObject<{
10557
- tenantId: z.ZodString;
10558
- projectId: z.ZodString;
10559
10557
  id: z.ZodOptional<z.ZodString>;
10560
- agentId: z.ZodString;
10558
+ projectId: z.ZodString;
10559
+ tenantId: z.ZodString;
10561
10560
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
10562
10561
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
10562
+ agentId: z.ZodString;
10563
10563
  }, {
10564
10564
  out: {};
10565
10565
  in: {};
10566
10566
  }>;
10567
10567
  declare const ContextConfigUpdateSchema: z.ZodObject<{
10568
- tenantId: z.ZodOptional<z.ZodString>;
10569
- projectId: z.ZodOptional<z.ZodString>;
10570
10568
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10571
- agentId: z.ZodOptional<z.ZodString>;
10569
+ projectId: z.ZodOptional<z.ZodString>;
10570
+ tenantId: z.ZodOptional<z.ZodString>;
10572
10571
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
10573
10572
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
10573
+ agentId: z.ZodOptional<z.ZodString>;
10574
10574
  }, {
10575
10575
  out: {};
10576
10576
  in: {};
@@ -11054,34 +11054,34 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
11054
11054
  createdAt: z.ZodString;
11055
11055
  updatedAt: z.ZodString;
11056
11056
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11057
- toolId: z.ZodString;
11058
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11059
11057
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11060
11058
  subAgentId: z.ZodString;
11059
+ toolId: z.ZodString;
11060
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11061
11061
  }, z.core.$strip>;
11062
11062
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
11063
11063
  id: z.ZodString;
11064
11064
  createdAt: z.ZodOptional<z.ZodString>;
11065
11065
  updatedAt: z.ZodOptional<z.ZodString>;
11066
11066
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11067
+ selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11068
+ subAgentId: z.ZodString;
11067
11069
  toolId: z.ZodString;
11068
11070
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
11069
11071
  needsApproval: z.ZodOptional<z.ZodBoolean>;
11070
11072
  }, z.core.$strip>>>>;
11071
- selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11072
- subAgentId: z.ZodString;
11073
11073
  }, z.core.$strip>;
11074
11074
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
11075
11075
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11076
11076
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11077
11077
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11078
11078
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11079
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
11080
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11079
11081
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11080
11082
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
11081
11083
  needsApproval: z.ZodOptional<z.ZodBoolean>;
11082
11084
  }, z.core.$strip>>>>>>;
11083
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
11084
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11085
11085
  }, z.core.$strip>;
11086
11086
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
11087
11087
  createdAt: drizzle_orm_pg_core.PgColumn<{
@@ -11453,8 +11453,8 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
11453
11453
  createdAt: z.ZodString;
11454
11454
  updatedAt: z.ZodString;
11455
11455
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11456
- externalAgentId: z.ZodString;
11457
11456
  subAgentId: z.ZodString;
11457
+ externalAgentId: z.ZodString;
11458
11458
  }, z.core.$strip>;
11459
11459
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
11460
11460
  createdAt: z.ZodOptional<z.ZodString>;
@@ -11467,8 +11467,8 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
11467
11467
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11468
11468
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11469
11469
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11470
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11471
11470
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11471
+ externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11472
11472
  }, z.core.$strip>;
11473
11473
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
11474
11474
  createdAt: drizzle_orm_pg_core.PgColumn<{
@@ -13198,7 +13198,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod.BuildSchema<"insert", {
13198
13198
  }, {}, {
13199
13199
  length: 256;
13200
13200
  }>;
13201
- }, "tenantId" | "projectId" | "id" | "type" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
13201
+ }, "type" | "name" | "id" | "createdAt" | "updatedAt" | "metadata" | "description" | "projectId" | "tenantId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
13202
13202
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13203
13203
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13204
13204
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -13223,13 +13223,13 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13223
13223
  in: {};
13224
13224
  }>;
13225
13225
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
13226
- id: z.ZodString;
13227
13226
  type: z.ZodString;
13228
13227
  name: z.ZodNullable<z.ZodString>;
13229
- description: z.ZodNullable<z.ZodString>;
13228
+ id: z.ZodString;
13230
13229
  createdAt: z.ZodString;
13231
13230
  updatedAt: z.ZodString;
13232
13231
  metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
13232
+ description: z.ZodNullable<z.ZodString>;
13233
13233
  contextId: z.ZodString;
13234
13234
  visibility: z.ZodNullable<z.ZodString>;
13235
13235
  taskId: z.ZodString;
@@ -13241,13 +13241,13 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
13241
13241
  derivedFrom: z.ZodNullable<z.ZodString>;
13242
13242
  }, z.core.$strip>;
13243
13243
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
13244
- id: z.ZodString;
13245
13244
  type: z.ZodOptional<z.ZodString>;
13246
13245
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13247
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13246
+ id: z.ZodString;
13248
13247
  createdAt: z.ZodOptional<z.ZodString>;
13249
13248
  updatedAt: z.ZodOptional<z.ZodString>;
13250
13249
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
13250
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13251
13251
  contextId: z.ZodString;
13252
13252
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13253
13253
  taskId: z.ZodString;
@@ -13259,13 +13259,13 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
13259
13259
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13260
13260
  }, z.core.$strip>;
13261
13261
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
13262
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13263
13262
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13264
13263
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13265
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13264
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13266
13265
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13267
13266
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13268
13267
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
13268
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13269
13269
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13270
13270
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13271
13271
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -13325,11 +13325,11 @@ declare const TeamAgentSchema: z.ZodObject<{
13325
13325
  description: z.ZodString;
13326
13326
  }, z.core.$strip>;
13327
13327
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
13328
- id: z.ZodString;
13329
13328
  name: z.ZodString;
13330
- description: z.ZodString;
13329
+ id: z.ZodString;
13331
13330
  createdAt: z.ZodOptional<z.ZodString>;
13332
13331
  updatedAt: z.ZodOptional<z.ZodString>;
13332
+ description: z.ZodString;
13333
13333
  models: z.ZodOptional<z.ZodObject<{
13334
13334
  base: z.ZodOptional<z.ZodObject<{
13335
13335
  model: z.ZodOptional<z.ZodString>;
@@ -13380,18 +13380,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
13380
13380
  }, z.core.$strip>;
13381
13381
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13382
13382
  name: z.ZodString;
13383
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13384
13383
  createdAt: z.ZodOptional<z.ZodString>;
13385
13384
  updatedAt: z.ZodOptional<z.ZodString>;
13385
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13386
13386
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13387
13387
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13388
13388
  id: z.ZodString;
13389
13389
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
13390
- id: z.ZodString;
13391
13390
  name: z.ZodString;
13392
- description: z.ZodString;
13391
+ id: z.ZodString;
13393
13392
  createdAt: z.ZodOptional<z.ZodString>;
13394
13393
  updatedAt: z.ZodOptional<z.ZodString>;
13394
+ description: z.ZodString;
13395
13395
  models: z.ZodOptional<z.ZodObject<{
13396
13396
  base: z.ZodOptional<z.ZodObject<{
13397
13397
  model: z.ZodOptional<z.ZodString>;
@@ -13441,9 +13441,11 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13441
13441
  }, z.core.$strip>]>>>;
13442
13442
  }, z.core.$strip>>;
13443
13443
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13444
- id: z.ZodString;
13445
13444
  name: z.ZodString;
13446
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13445
+ id: z.ZodString;
13446
+ createdAt: z.ZodOptional<z.ZodString>;
13447
+ updatedAt: z.ZodOptional<z.ZodString>;
13448
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13447
13449
  config: z.ZodObject<{
13448
13450
  type: z.ZodLiteral<"mcp">;
13449
13451
  mcp: z.ZodObject<{
@@ -13463,21 +13465,19 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13463
13465
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13464
13466
  }, z.core.$strip>;
13465
13467
  }, z.core.$strip>;
13466
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13467
- createdAt: z.ZodOptional<z.ZodString>;
13468
- updatedAt: z.ZodOptional<z.ZodString>;
13469
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13468
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13470
13469
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
13470
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13471
13471
  imageUrl: z.ZodOptional<z.ZodString>;
13472
13472
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13473
13473
  }, z.core.$strip>>>;
13474
13474
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13475
- id: z.ZodString;
13476
13475
  name: z.ZodString;
13477
- description: z.ZodString;
13478
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13476
+ id: z.ZodString;
13479
13477
  createdAt: z.ZodOptional<z.ZodString>;
13480
13478
  updatedAt: z.ZodOptional<z.ZodString>;
13479
+ description: z.ZodString;
13480
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13481
13481
  baseUrl: z.ZodString;
13482
13482
  }, z.core.$strip>>>;
13483
13483
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13486,11 +13486,11 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13486
13486
  description: z.ZodString;
13487
13487
  }, z.core.$strip>>>;
13488
13488
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13489
- id: z.ZodString;
13490
13489
  name: z.ZodString;
13491
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13490
+ id: z.ZodString;
13492
13491
  createdAt: z.ZodOptional<z.ZodString>;
13493
13492
  updatedAt: z.ZodOptional<z.ZodString>;
13493
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13494
13494
  functionId: z.ZodString;
13495
13495
  }, z.core.$strip>>>;
13496
13496
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13600,10 +13600,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
13600
13600
  in: {};
13601
13601
  }>;
13602
13602
  declare const ProjectInsertSchema: z.ZodObject<{
13603
- tenantId: z.ZodString;
13604
- id: z.ZodString;
13605
13603
  name: z.ZodString;
13604
+ id: z.ZodString;
13606
13605
  description: z.ZodString;
13606
+ tenantId: z.ZodString;
13607
13607
  models: z.ZodObject<{
13608
13608
  base: z.ZodObject<{
13609
13609
  model: z.ZodOptional<z.ZodString>;
@@ -13652,11 +13652,11 @@ declare const ProjectUpdateSchema: z.ZodObject<{
13652
13652
  in: {};
13653
13653
  }>;
13654
13654
  declare const ProjectApiSelectSchema: z.ZodObject<{
13655
- id: z.ZodString;
13656
13655
  name: z.ZodString;
13657
- description: z.ZodString;
13656
+ id: z.ZodString;
13658
13657
  createdAt: z.ZodString;
13659
13658
  updatedAt: z.ZodString;
13659
+ description: z.ZodString;
13660
13660
  models: z.ZodNullable<z.ZodObject<{
13661
13661
  base: z.ZodObject<{
13662
13662
  model: z.ZodOptional<z.ZodString>;
@@ -13680,8 +13680,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
13680
13680
  in: {};
13681
13681
  }>;
13682
13682
  declare const ProjectApiInsertSchema: z.ZodObject<{
13683
- id: z.ZodString;
13684
13683
  name: z.ZodString;
13684
+ id: z.ZodString;
13685
13685
  description: z.ZodString;
13686
13686
  models: z.ZodObject<{
13687
13687
  base: z.ZodObject<{
@@ -13731,8 +13731,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
13731
13731
  in: {};
13732
13732
  }>;
13733
13733
  declare const FullProjectDefinitionSchema: z.ZodObject<{
13734
- id: z.ZodString;
13735
13734
  name: z.ZodString;
13735
+ id: z.ZodString;
13736
13736
  description: z.ZodString;
13737
13737
  models: z.ZodObject<{
13738
13738
  base: z.ZodObject<{
@@ -13754,18 +13754,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13754
13754
  }, z.core.$strip>>;
13755
13755
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
13756
13756
  name: z.ZodString;
13757
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13758
13757
  createdAt: z.ZodOptional<z.ZodString>;
13759
13758
  updatedAt: z.ZodOptional<z.ZodString>;
13759
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13760
13760
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13761
13761
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13762
13762
  id: z.ZodString;
13763
13763
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
13764
- id: z.ZodString;
13765
13764
  name: z.ZodString;
13766
- description: z.ZodString;
13765
+ id: z.ZodString;
13767
13766
  createdAt: z.ZodOptional<z.ZodString>;
13768
13767
  updatedAt: z.ZodOptional<z.ZodString>;
13768
+ description: z.ZodString;
13769
13769
  models: z.ZodOptional<z.ZodObject<{
13770
13770
  base: z.ZodOptional<z.ZodObject<{
13771
13771
  model: z.ZodOptional<z.ZodString>;
@@ -13815,9 +13815,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13815
13815
  }, z.core.$strip>]>>>;
13816
13816
  }, z.core.$strip>>;
13817
13817
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13818
- id: z.ZodString;
13819
13818
  name: z.ZodString;
13820
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13819
+ id: z.ZodString;
13820
+ createdAt: z.ZodOptional<z.ZodString>;
13821
+ updatedAt: z.ZodOptional<z.ZodString>;
13822
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13821
13823
  config: z.ZodObject<{
13822
13824
  type: z.ZodLiteral<"mcp">;
13823
13825
  mcp: z.ZodObject<{
@@ -13837,21 +13839,19 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13837
13839
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13838
13840
  }, z.core.$strip>;
13839
13841
  }, z.core.$strip>;
13840
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13841
- createdAt: z.ZodOptional<z.ZodString>;
13842
- updatedAt: z.ZodOptional<z.ZodString>;
13843
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13842
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13844
13843
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
13844
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13845
13845
  imageUrl: z.ZodOptional<z.ZodString>;
13846
13846
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13847
13847
  }, z.core.$strip>>>;
13848
13848
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13849
- id: z.ZodString;
13850
13849
  name: z.ZodString;
13851
- description: z.ZodString;
13852
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13850
+ id: z.ZodString;
13853
13851
  createdAt: z.ZodOptional<z.ZodString>;
13854
13852
  updatedAt: z.ZodOptional<z.ZodString>;
13853
+ description: z.ZodString;
13854
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13855
13855
  baseUrl: z.ZodString;
13856
13856
  }, z.core.$strip>>>;
13857
13857
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13860,11 +13860,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13860
13860
  description: z.ZodString;
13861
13861
  }, z.core.$strip>>>;
13862
13862
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13863
- id: z.ZodString;
13864
13863
  name: z.ZodString;
13865
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13864
+ id: z.ZodString;
13866
13865
  createdAt: z.ZodOptional<z.ZodString>;
13867
13866
  updatedAt: z.ZodOptional<z.ZodString>;
13867
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13868
13868
  functionId: z.ZodString;
13869
13869
  }, z.core.$strip>>>;
13870
13870
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13915,9 +13915,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13915
13915
  prompt: z.ZodOptional<z.ZodString>;
13916
13916
  }, z.core.$strip>>;
13917
13917
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
13918
- id: z.ZodString;
13919
13918
  name: z.ZodString;
13920
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13919
+ id: z.ZodString;
13920
+ createdAt: z.ZodOptional<z.ZodString>;
13921
+ updatedAt: z.ZodOptional<z.ZodString>;
13922
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13921
13923
  config: z.ZodObject<{
13922
13924
  type: z.ZodLiteral<"mcp">;
13923
13925
  mcp: z.ZodObject<{
@@ -13937,20 +13939,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13937
13939
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13938
13940
  }, z.core.$strip>;
13939
13941
  }, z.core.$strip>;
13940
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13941
- createdAt: z.ZodOptional<z.ZodString>;
13942
- updatedAt: z.ZodOptional<z.ZodString>;
13943
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13942
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13944
13943
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
13944
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13945
13945
  imageUrl: z.ZodOptional<z.ZodString>;
13946
13946
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13947
13947
  }, z.core.$strip>>;
13948
13948
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13949
- id: z.ZodString;
13950
13949
  name: z.ZodString;
13951
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13950
+ id: z.ZodString;
13952
13951
  createdAt: z.ZodOptional<z.ZodString>;
13953
13952
  updatedAt: z.ZodOptional<z.ZodString>;
13953
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13954
13954
  functionId: z.ZodString;
13955
13955
  }, z.core.$strip>>>;
13956
13956
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13962,11 +13962,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13962
13962
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13963
13963
  }, z.core.$strip>>>;
13964
13964
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13965
- id: z.ZodString;
13966
13965
  name: z.ZodString;
13967
- description: z.ZodString;
13966
+ id: z.ZodString;
13968
13967
  createdAt: z.ZodOptional<z.ZodString>;
13969
13968
  updatedAt: z.ZodOptional<z.ZodString>;
13969
+ description: z.ZodString;
13970
13970
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
13971
13971
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
13972
13972
  component: string;
@@ -13983,8 +13983,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13983
13983
  }>>>>;
13984
13984
  }, z.core.$strip>>>;
13985
13985
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13986
- id: z.ZodString;
13987
13986
  name: z.ZodString;
13987
+ id: z.ZodString;
13988
13988
  description: z.ZodString;
13989
13989
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
13990
13990
  }, {
@@ -13992,12 +13992,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13992
13992
  in: {};
13993
13993
  }>>>;
13994
13994
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13995
- id: z.ZodString;
13996
13995
  name: z.ZodString;
13997
- description: z.ZodString;
13998
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13996
+ id: z.ZodString;
13999
13997
  createdAt: z.ZodOptional<z.ZodString>;
14000
13998
  updatedAt: z.ZodOptional<z.ZodString>;
13999
+ description: z.ZodString;
14000
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14001
14001
  baseUrl: z.ZodString;
14002
14002
  }, z.core.$strip>>>;
14003
14003
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -14016,8 +14016,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14016
14016
  }, z.core.$strip>>>;
14017
14017
  }, z.core.$strip>>;
14018
14018
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14019
- id: z.ZodString;
14020
14019
  name: z.ZodString;
14020
+ id: z.ZodString;
14021
14021
  createdAt: z.ZodOptional<z.ZodString>;
14022
14022
  updatedAt: z.ZodOptional<z.ZodString>;
14023
14023
  credentialStoreId: z.ZodString;
@@ -14036,11 +14036,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14036
14036
  }>;
14037
14037
  declare const ProjectResponse: z.ZodObject<{
14038
14038
  data: z.ZodObject<{
14039
- id: z.ZodString;
14040
14039
  name: z.ZodString;
14041
- description: z.ZodString;
14040
+ id: z.ZodString;
14042
14041
  createdAt: z.ZodString;
14043
14042
  updatedAt: z.ZodString;
14043
+ description: z.ZodString;
14044
14044
  models: z.ZodNullable<z.ZodObject<{
14045
14045
  base: z.ZodObject<{
14046
14046
  model: z.ZodOptional<z.ZodString>;
@@ -14066,12 +14066,11 @@ declare const ProjectResponse: z.ZodObject<{
14066
14066
  }, z.core.$strip>;
14067
14067
  declare const SubAgentResponse: z.ZodObject<{
14068
14068
  data: z.ZodObject<{
14069
- id: z.ZodString;
14070
14069
  name: z.ZodString;
14071
- description: z.ZodString;
14072
- prompt: z.ZodString;
14070
+ id: z.ZodString;
14073
14071
  createdAt: z.ZodString;
14074
14072
  updatedAt: z.ZodString;
14073
+ description: z.ZodString;
14075
14074
  models: z.ZodNullable<z.ZodType<{
14076
14075
  base?: {
14077
14076
  model?: string | undefined;
@@ -14134,17 +14133,17 @@ declare const SubAgentResponse: z.ZodObject<{
14134
14133
  }, {
14135
14134
  stepCountIs?: number | undefined;
14136
14135
  }>>>;
14136
+ prompt: z.ZodString;
14137
14137
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
14138
14138
  }, z.core.$strip>;
14139
14139
  }, z.core.$strip>;
14140
14140
  declare const AgentResponse: z.ZodObject<{
14141
14141
  data: z.ZodObject<{
14142
- id: z.ZodString;
14143
14142
  name: z.ZodString;
14144
- description: z.ZodNullable<z.ZodString>;
14145
- prompt: z.ZodNullable<z.ZodString>;
14143
+ id: z.ZodString;
14146
14144
  createdAt: z.ZodString;
14147
14145
  updatedAt: z.ZodString;
14146
+ description: z.ZodNullable<z.ZodString>;
14148
14147
  models: z.ZodNullable<z.ZodType<{
14149
14148
  base?: {
14150
14149
  model?: string | undefined;
@@ -14209,6 +14208,7 @@ declare const AgentResponse: z.ZodObject<{
14209
14208
  }>>>;
14210
14209
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
14211
14210
  contextConfigId: z.ZodNullable<z.ZodString>;
14211
+ prompt: z.ZodNullable<z.ZodString>;
14212
14212
  statusUpdates: z.ZodNullable<z.ZodType<{
14213
14213
  enabled?: boolean | undefined;
14214
14214
  numEvents?: number | undefined;
@@ -14270,9 +14270,11 @@ declare const AgentResponse: z.ZodObject<{
14270
14270
  }, z.core.$strip>;
14271
14271
  declare const ToolResponse: z.ZodObject<{
14272
14272
  data: z.ZodObject<{
14273
- id: z.ZodString;
14274
14273
  name: z.ZodString;
14275
- description: z.ZodNullable<z.ZodString>;
14274
+ id: z.ZodString;
14275
+ createdAt: z.ZodString;
14276
+ updatedAt: z.ZodString;
14277
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
14276
14278
  config: z.ZodType<{
14277
14279
  type: "mcp";
14278
14280
  mcp: ToolMcpConfig;
@@ -14286,23 +14288,21 @@ declare const ToolResponse: z.ZodObject<{
14286
14288
  type: "mcp";
14287
14289
  mcp: ToolMcpConfig;
14288
14290
  }>>;
14289
- credentialReferenceId: z.ZodNullable<z.ZodString>;
14290
- createdAt: z.ZodString;
14291
- updatedAt: z.ZodString;
14292
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
14291
+ description: z.ZodNullable<z.ZodString>;
14293
14292
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
14293
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
14294
14294
  imageUrl: z.ZodNullable<z.ZodString>;
14295
14295
  lastError: z.ZodNullable<z.ZodString>;
14296
14296
  }, z.core.$strip>;
14297
14297
  }, z.core.$strip>;
14298
14298
  declare const ExternalAgentResponse: z.ZodObject<{
14299
14299
  data: z.ZodObject<{
14300
- id: z.ZodString;
14301
14300
  name: z.ZodString;
14302
- description: z.ZodString;
14303
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14301
+ id: z.ZodString;
14304
14302
  createdAt: z.ZodString;
14305
14303
  updatedAt: z.ZodString;
14304
+ description: z.ZodString;
14305
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14306
14306
  baseUrl: z.ZodString;
14307
14307
  }, z.core.$strip>;
14308
14308
  }, z.core.$strip>;
@@ -14317,15 +14317,15 @@ declare const ContextConfigResponse: z.ZodObject<{
14317
14317
  }, z.core.$strip>;
14318
14318
  declare const ApiKeyResponse: z.ZodObject<{
14319
14319
  data: z.ZodObject<{
14320
- id: z.ZodString;
14321
14320
  name: z.ZodNullable<z.ZodString>;
14321
+ id: z.ZodString;
14322
+ createdAt: z.ZodString;
14323
+ updatedAt: z.ZodString;
14324
+ expiresAt: z.ZodNullable<z.ZodString>;
14322
14325
  agentId: z.ZodString;
14323
14326
  publicId: z.ZodString;
14324
14327
  keyPrefix: z.ZodString;
14325
14328
  lastUsedAt: z.ZodNullable<z.ZodString>;
14326
- expiresAt: z.ZodNullable<z.ZodString>;
14327
- createdAt: z.ZodString;
14328
- updatedAt: z.ZodString;
14329
14329
  }, {
14330
14330
  out: {};
14331
14331
  in: {};
@@ -14333,8 +14333,8 @@ declare const ApiKeyResponse: z.ZodObject<{
14333
14333
  }, z.core.$strip>;
14334
14334
  declare const CredentialReferenceResponse: z.ZodObject<{
14335
14335
  data: z.ZodObject<{
14336
- id: z.ZodString;
14337
14336
  name: z.ZodString;
14337
+ id: z.ZodString;
14338
14338
  createdAt: z.ZodString;
14339
14339
  updatedAt: z.ZodString;
14340
14340
  credentialStoreId: z.ZodString;
@@ -14861,22 +14861,22 @@ declare const FunctionResponse: z.ZodObject<{
14861
14861
  }, z.core.$strip>;
14862
14862
  declare const FunctionToolResponse: z.ZodObject<{
14863
14863
  data: z.ZodObject<{
14864
- id: z.ZodString;
14865
14864
  name: z.ZodString;
14866
- description: z.ZodNullable<z.ZodString>;
14867
- agentId: z.ZodString;
14865
+ id: z.ZodString;
14868
14866
  createdAt: z.ZodString;
14869
14867
  updatedAt: z.ZodString;
14868
+ description: z.ZodNullable<z.ZodString>;
14869
+ agentId: z.ZodString;
14870
14870
  functionId: z.ZodString;
14871
14871
  }, z.core.$strip>;
14872
14872
  }, z.core.$strip>;
14873
14873
  declare const DataComponentResponse: z.ZodObject<{
14874
14874
  data: z.ZodObject<{
14875
- id: z.ZodString;
14876
14875
  name: z.ZodString;
14877
- description: z.ZodString;
14876
+ id: z.ZodString;
14878
14877
  createdAt: z.ZodString;
14879
14878
  updatedAt: z.ZodString;
14879
+ description: z.ZodString;
14880
14880
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
14881
14881
  render: z.ZodNullable<z.ZodType<{
14882
14882
  component: string;
@@ -14895,11 +14895,11 @@ declare const DataComponentResponse: z.ZodObject<{
14895
14895
  }, z.core.$strip>;
14896
14896
  declare const ArtifactComponentResponse: z.ZodObject<{
14897
14897
  data: z.ZodObject<{
14898
- id: z.ZodString;
14899
14898
  name: z.ZodString;
14900
- description: z.ZodString;
14899
+ id: z.ZodString;
14901
14900
  createdAt: z.ZodString;
14902
14901
  updatedAt: z.ZodString;
14902
+ description: z.ZodString;
14903
14903
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
14904
14904
  }, z.core.$strip>;
14905
14905
  }, z.core.$strip>;
@@ -14919,20 +14919,20 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
14919
14919
  createdAt: z.ZodString;
14920
14920
  updatedAt: z.ZodString;
14921
14921
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14922
- toolId: z.ZodString;
14923
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14924
14922
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14925
14923
  subAgentId: z.ZodString;
14924
+ toolId: z.ZodString;
14925
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14926
14926
  }, z.core.$strip>;
14927
14927
  }, z.core.$strip>;
14928
14928
  declare const ConversationResponse: z.ZodObject<{
14929
14929
  data: z.ZodObject<{
14930
14930
  id: z.ZodString;
14931
- title: z.ZodNullable<z.ZodString>;
14932
14931
  createdAt: z.ZodString;
14933
14932
  updatedAt: z.ZodString;
14934
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
14935
14933
  userId: z.ZodNullable<z.ZodString>;
14934
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
14935
+ title: z.ZodNullable<z.ZodString>;
14936
14936
  activeSubAgentId: z.ZodString;
14937
14937
  lastContextResolution: z.ZodNullable<z.ZodString>;
14938
14938
  }, z.core.$strip>;
@@ -14943,8 +14943,8 @@ declare const MessageResponse: z.ZodObject<{
14943
14943
  createdAt: z.ZodString;
14944
14944
  updatedAt: z.ZodString;
14945
14945
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
14946
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
14947
14946
  role: z.ZodString;
14947
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
14948
14948
  conversationId: z.ZodString;
14949
14949
  fromSubAgentId: z.ZodNullable<z.ZodString>;
14950
14950
  toSubAgentId: z.ZodNullable<z.ZodString>;
@@ -14962,11 +14962,11 @@ declare const MessageResponse: z.ZodObject<{
14962
14962
  }, z.core.$strip>;
14963
14963
  declare const ProjectListResponse: z.ZodObject<{
14964
14964
  data: z.ZodArray<z.ZodObject<{
14965
- id: z.ZodString;
14966
14965
  name: z.ZodString;
14967
- description: z.ZodString;
14966
+ id: z.ZodString;
14968
14967
  createdAt: z.ZodString;
14969
14968
  updatedAt: z.ZodString;
14969
+ description: z.ZodString;
14970
14970
  models: z.ZodNullable<z.ZodObject<{
14971
14971
  base: z.ZodObject<{
14972
14972
  model: z.ZodOptional<z.ZodString>;
@@ -14998,12 +14998,11 @@ declare const ProjectListResponse: z.ZodObject<{
14998
14998
  }, z.core.$strip>;
14999
14999
  declare const SubAgentListResponse: z.ZodObject<{
15000
15000
  data: z.ZodArray<z.ZodObject<{
15001
- id: z.ZodString;
15002
15001
  name: z.ZodString;
15003
- description: z.ZodString;
15004
- prompt: z.ZodString;
15002
+ id: z.ZodString;
15005
15003
  createdAt: z.ZodString;
15006
15004
  updatedAt: z.ZodString;
15005
+ description: z.ZodString;
15007
15006
  models: z.ZodNullable<z.ZodType<{
15008
15007
  base?: {
15009
15008
  model?: string | undefined;
@@ -15066,6 +15065,7 @@ declare const SubAgentListResponse: z.ZodObject<{
15066
15065
  }, {
15067
15066
  stepCountIs?: number | undefined;
15068
15067
  }>>>;
15068
+ prompt: z.ZodString;
15069
15069
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
15070
15070
  }, z.core.$strip>>;
15071
15071
  pagination: z.ZodObject<{
@@ -15077,12 +15077,11 @@ declare const SubAgentListResponse: z.ZodObject<{
15077
15077
  }, z.core.$strip>;
15078
15078
  declare const AgentListResponse: z.ZodObject<{
15079
15079
  data: z.ZodArray<z.ZodObject<{
15080
- id: z.ZodString;
15081
15080
  name: z.ZodString;
15082
- description: z.ZodNullable<z.ZodString>;
15083
- prompt: z.ZodNullable<z.ZodString>;
15081
+ id: z.ZodString;
15084
15082
  createdAt: z.ZodString;
15085
15083
  updatedAt: z.ZodString;
15084
+ description: z.ZodNullable<z.ZodString>;
15086
15085
  models: z.ZodNullable<z.ZodType<{
15087
15086
  base?: {
15088
15087
  model?: string | undefined;
@@ -15147,6 +15146,7 @@ declare const AgentListResponse: z.ZodObject<{
15147
15146
  }>>>;
15148
15147
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
15149
15148
  contextConfigId: z.ZodNullable<z.ZodString>;
15149
+ prompt: z.ZodNullable<z.ZodString>;
15150
15150
  statusUpdates: z.ZodNullable<z.ZodType<{
15151
15151
  enabled?: boolean | undefined;
15152
15152
  numEvents?: number | undefined;
@@ -15214,9 +15214,11 @@ declare const AgentListResponse: z.ZodObject<{
15214
15214
  }, z.core.$strip>;
15215
15215
  declare const ToolListResponse: z.ZodObject<{
15216
15216
  data: z.ZodArray<z.ZodObject<{
15217
- id: z.ZodString;
15218
15217
  name: z.ZodString;
15219
- description: z.ZodNullable<z.ZodString>;
15218
+ id: z.ZodString;
15219
+ createdAt: z.ZodString;
15220
+ updatedAt: z.ZodString;
15221
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15220
15222
  config: z.ZodType<{
15221
15223
  type: "mcp";
15222
15224
  mcp: ToolMcpConfig;
@@ -15230,11 +15232,9 @@ declare const ToolListResponse: z.ZodObject<{
15230
15232
  type: "mcp";
15231
15233
  mcp: ToolMcpConfig;
15232
15234
  }>>;
15233
- credentialReferenceId: z.ZodNullable<z.ZodString>;
15234
- createdAt: z.ZodString;
15235
- updatedAt: z.ZodString;
15236
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15235
+ description: z.ZodNullable<z.ZodString>;
15237
15236
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
15237
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
15238
15238
  imageUrl: z.ZodNullable<z.ZodString>;
15239
15239
  lastError: z.ZodNullable<z.ZodString>;
15240
15240
  }, z.core.$strip>>;
@@ -15247,12 +15247,12 @@ declare const ToolListResponse: z.ZodObject<{
15247
15247
  }, z.core.$strip>;
15248
15248
  declare const ExternalAgentListResponse: z.ZodObject<{
15249
15249
  data: z.ZodArray<z.ZodObject<{
15250
- id: z.ZodString;
15251
15250
  name: z.ZodString;
15252
- description: z.ZodString;
15253
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15251
+ id: z.ZodString;
15254
15252
  createdAt: z.ZodString;
15255
15253
  updatedAt: z.ZodString;
15254
+ description: z.ZodString;
15255
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15256
15256
  baseUrl: z.ZodString;
15257
15257
  }, z.core.$strip>>;
15258
15258
  pagination: z.ZodObject<{
@@ -15279,15 +15279,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
15279
15279
  }, z.core.$strip>;
15280
15280
  declare const ApiKeyListResponse: z.ZodObject<{
15281
15281
  data: z.ZodArray<z.ZodObject<{
15282
- id: z.ZodString;
15283
15282
  name: z.ZodNullable<z.ZodString>;
15283
+ id: z.ZodString;
15284
+ createdAt: z.ZodString;
15285
+ updatedAt: z.ZodString;
15286
+ expiresAt: z.ZodNullable<z.ZodString>;
15284
15287
  agentId: z.ZodString;
15285
15288
  publicId: z.ZodString;
15286
15289
  keyPrefix: z.ZodString;
15287
15290
  lastUsedAt: z.ZodNullable<z.ZodString>;
15288
- expiresAt: z.ZodNullable<z.ZodString>;
15289
- createdAt: z.ZodString;
15290
- updatedAt: z.ZodString;
15291
15291
  }, {
15292
15292
  out: {};
15293
15293
  in: {};
@@ -15301,8 +15301,8 @@ declare const ApiKeyListResponse: z.ZodObject<{
15301
15301
  }, z.core.$strip>;
15302
15302
  declare const CredentialReferenceListResponse: z.ZodObject<{
15303
15303
  data: z.ZodArray<z.ZodObject<{
15304
- id: z.ZodString;
15305
15304
  name: z.ZodString;
15305
+ id: z.ZodString;
15306
15306
  createdAt: z.ZodString;
15307
15307
  updatedAt: z.ZodString;
15308
15308
  credentialStoreId: z.ZodString;
@@ -15841,12 +15841,12 @@ declare const FunctionListResponse: z.ZodObject<{
15841
15841
  }, z.core.$strip>;
15842
15842
  declare const FunctionToolListResponse: z.ZodObject<{
15843
15843
  data: z.ZodArray<z.ZodObject<{
15844
- id: z.ZodString;
15845
15844
  name: z.ZodString;
15846
- description: z.ZodNullable<z.ZodString>;
15847
- agentId: z.ZodString;
15845
+ id: z.ZodString;
15848
15846
  createdAt: z.ZodString;
15849
15847
  updatedAt: z.ZodString;
15848
+ description: z.ZodNullable<z.ZodString>;
15849
+ agentId: z.ZodString;
15850
15850
  functionId: z.ZodString;
15851
15851
  }, z.core.$strip>>;
15852
15852
  pagination: z.ZodObject<{
@@ -15858,11 +15858,11 @@ declare const FunctionToolListResponse: z.ZodObject<{
15858
15858
  }, z.core.$strip>;
15859
15859
  declare const DataComponentListResponse: z.ZodObject<{
15860
15860
  data: z.ZodArray<z.ZodObject<{
15861
- id: z.ZodString;
15862
15861
  name: z.ZodString;
15863
- description: z.ZodString;
15862
+ id: z.ZodString;
15864
15863
  createdAt: z.ZodString;
15865
15864
  updatedAt: z.ZodString;
15865
+ description: z.ZodString;
15866
15866
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
15867
15867
  render: z.ZodNullable<z.ZodType<{
15868
15868
  component: string;
@@ -15887,11 +15887,11 @@ declare const DataComponentListResponse: z.ZodObject<{
15887
15887
  }, z.core.$strip>;
15888
15888
  declare const ArtifactComponentListResponse: z.ZodObject<{
15889
15889
  data: z.ZodArray<z.ZodObject<{
15890
- id: z.ZodString;
15891
15890
  name: z.ZodString;
15892
- description: z.ZodString;
15891
+ id: z.ZodString;
15893
15892
  createdAt: z.ZodString;
15894
15893
  updatedAt: z.ZodString;
15894
+ description: z.ZodString;
15895
15895
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
15896
15896
  }, z.core.$strip>>;
15897
15897
  pagination: z.ZodObject<{
@@ -15923,10 +15923,10 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
15923
15923
  createdAt: z.ZodString;
15924
15924
  updatedAt: z.ZodString;
15925
15925
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15926
- toolId: z.ZodString;
15927
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15928
15926
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15929
15927
  subAgentId: z.ZodString;
15928
+ toolId: z.ZodString;
15929
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15930
15930
  }, z.core.$strip>>;
15931
15931
  pagination: z.ZodObject<{
15932
15932
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -15938,11 +15938,11 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
15938
15938
  declare const ConversationListResponse: z.ZodObject<{
15939
15939
  data: z.ZodArray<z.ZodObject<{
15940
15940
  id: z.ZodString;
15941
- title: z.ZodNullable<z.ZodString>;
15942
15941
  createdAt: z.ZodString;
15943
15942
  updatedAt: z.ZodString;
15944
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
15945
15943
  userId: z.ZodNullable<z.ZodString>;
15944
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
15945
+ title: z.ZodNullable<z.ZodString>;
15946
15946
  activeSubAgentId: z.ZodString;
15947
15947
  lastContextResolution: z.ZodNullable<z.ZodString>;
15948
15948
  }, z.core.$strip>>;
@@ -15959,8 +15959,8 @@ declare const MessageListResponse: z.ZodObject<{
15959
15959
  createdAt: z.ZodString;
15960
15960
  updatedAt: z.ZodString;
15961
15961
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
15962
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
15963
15962
  role: z.ZodString;
15963
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
15964
15964
  conversationId: z.ZodString;
15965
15965
  fromSubAgentId: z.ZodNullable<z.ZodString>;
15966
15966
  toSubAgentId: z.ZodNullable<z.ZodString>;
@@ -16028,8 +16028,8 @@ declare const SubAgentArtifactComponentListResponse: z.ZodObject<{
16028
16028
  }, z.core.$strip>;
16029
16029
  declare const FullProjectDefinitionResponse: z.ZodObject<{
16030
16030
  data: z.ZodObject<{
16031
- id: z.ZodString;
16032
16031
  name: z.ZodString;
16032
+ id: z.ZodString;
16033
16033
  description: z.ZodString;
16034
16034
  models: z.ZodObject<{
16035
16035
  base: z.ZodObject<{
@@ -16051,18 +16051,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16051
16051
  }, z.core.$strip>>;
16052
16052
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
16053
16053
  name: z.ZodString;
16054
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16055
16054
  createdAt: z.ZodOptional<z.ZodString>;
16056
16055
  updatedAt: z.ZodOptional<z.ZodString>;
16056
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16057
16057
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16058
16058
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16059
16059
  id: z.ZodString;
16060
16060
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
16061
- id: z.ZodString;
16062
16061
  name: z.ZodString;
16063
- description: z.ZodString;
16062
+ id: z.ZodString;
16064
16063
  createdAt: z.ZodOptional<z.ZodString>;
16065
16064
  updatedAt: z.ZodOptional<z.ZodString>;
16065
+ description: z.ZodString;
16066
16066
  models: z.ZodOptional<z.ZodObject<{
16067
16067
  base: z.ZodOptional<z.ZodObject<{
16068
16068
  model: z.ZodOptional<z.ZodString>;
@@ -16112,9 +16112,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16112
16112
  }, z.core.$strip>]>>>;
16113
16113
  }, z.core.$strip>>;
16114
16114
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16115
- id: z.ZodString;
16116
16115
  name: z.ZodString;
16117
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16116
+ id: z.ZodString;
16117
+ createdAt: z.ZodOptional<z.ZodString>;
16118
+ updatedAt: z.ZodOptional<z.ZodString>;
16119
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16118
16120
  config: z.ZodObject<{
16119
16121
  type: z.ZodLiteral<"mcp">;
16120
16122
  mcp: z.ZodObject<{
@@ -16134,21 +16136,19 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16134
16136
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16135
16137
  }, z.core.$strip>;
16136
16138
  }, z.core.$strip>;
16137
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16138
- createdAt: z.ZodOptional<z.ZodString>;
16139
- updatedAt: z.ZodOptional<z.ZodString>;
16140
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16139
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16141
16140
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16141
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16142
16142
  imageUrl: z.ZodOptional<z.ZodString>;
16143
16143
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16144
16144
  }, z.core.$strip>>>;
16145
16145
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16146
- id: z.ZodString;
16147
16146
  name: z.ZodString;
16148
- description: z.ZodString;
16149
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16147
+ id: z.ZodString;
16150
16148
  createdAt: z.ZodOptional<z.ZodString>;
16151
16149
  updatedAt: z.ZodOptional<z.ZodString>;
16150
+ description: z.ZodString;
16151
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16152
16152
  baseUrl: z.ZodString;
16153
16153
  }, z.core.$strip>>>;
16154
16154
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16157,11 +16157,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16157
16157
  description: z.ZodString;
16158
16158
  }, z.core.$strip>>>;
16159
16159
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16160
- id: z.ZodString;
16161
16160
  name: z.ZodString;
16162
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16161
+ id: z.ZodString;
16163
16162
  createdAt: z.ZodOptional<z.ZodString>;
16164
16163
  updatedAt: z.ZodOptional<z.ZodString>;
16164
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16165
16165
  functionId: z.ZodString;
16166
16166
  }, z.core.$strip>>>;
16167
16167
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16212,9 +16212,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16212
16212
  prompt: z.ZodOptional<z.ZodString>;
16213
16213
  }, z.core.$strip>>;
16214
16214
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
16215
- id: z.ZodString;
16216
16215
  name: z.ZodString;
16217
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16216
+ id: z.ZodString;
16217
+ createdAt: z.ZodOptional<z.ZodString>;
16218
+ updatedAt: z.ZodOptional<z.ZodString>;
16219
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16218
16220
  config: z.ZodObject<{
16219
16221
  type: z.ZodLiteral<"mcp">;
16220
16222
  mcp: z.ZodObject<{
@@ -16234,20 +16236,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16234
16236
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16235
16237
  }, z.core.$strip>;
16236
16238
  }, z.core.$strip>;
16237
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16238
- createdAt: z.ZodOptional<z.ZodString>;
16239
- updatedAt: z.ZodOptional<z.ZodString>;
16240
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16239
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16241
16240
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16241
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16242
16242
  imageUrl: z.ZodOptional<z.ZodString>;
16243
16243
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16244
16244
  }, z.core.$strip>>;
16245
16245
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16246
- id: z.ZodString;
16247
16246
  name: z.ZodString;
16248
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16247
+ id: z.ZodString;
16249
16248
  createdAt: z.ZodOptional<z.ZodString>;
16250
16249
  updatedAt: z.ZodOptional<z.ZodString>;
16250
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16251
16251
  functionId: z.ZodString;
16252
16252
  }, z.core.$strip>>>;
16253
16253
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16259,11 +16259,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16259
16259
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16260
16260
  }, z.core.$strip>>>;
16261
16261
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16262
- id: z.ZodString;
16263
16262
  name: z.ZodString;
16264
- description: z.ZodString;
16263
+ id: z.ZodString;
16265
16264
  createdAt: z.ZodOptional<z.ZodString>;
16266
16265
  updatedAt: z.ZodOptional<z.ZodString>;
16266
+ description: z.ZodString;
16267
16267
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
16268
16268
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
16269
16269
  component: string;
@@ -16280,8 +16280,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16280
16280
  }>>>>;
16281
16281
  }, z.core.$strip>>>;
16282
16282
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16283
- id: z.ZodString;
16284
16283
  name: z.ZodString;
16284
+ id: z.ZodString;
16285
16285
  description: z.ZodString;
16286
16286
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
16287
16287
  }, {
@@ -16289,12 +16289,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16289
16289
  in: {};
16290
16290
  }>>>;
16291
16291
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16292
- id: z.ZodString;
16293
16292
  name: z.ZodString;
16294
- description: z.ZodString;
16295
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16293
+ id: z.ZodString;
16296
16294
  createdAt: z.ZodOptional<z.ZodString>;
16297
16295
  updatedAt: z.ZodOptional<z.ZodString>;
16296
+ description: z.ZodString;
16297
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16298
16298
  baseUrl: z.ZodString;
16299
16299
  }, z.core.$strip>>>;
16300
16300
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -16313,8 +16313,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16313
16313
  }, z.core.$strip>>>;
16314
16314
  }, z.core.$strip>>;
16315
16315
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16316
- id: z.ZodString;
16317
16316
  name: z.ZodString;
16317
+ id: z.ZodString;
16318
16318
  createdAt: z.ZodOptional<z.ZodString>;
16319
16319
  updatedAt: z.ZodOptional<z.ZodString>;
16320
16320
  credentialStoreId: z.ZodString;
@@ -16335,18 +16335,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16335
16335
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16336
16336
  data: z.ZodObject<{
16337
16337
  name: z.ZodString;
16338
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16339
16338
  createdAt: z.ZodOptional<z.ZodString>;
16340
16339
  updatedAt: z.ZodOptional<z.ZodString>;
16340
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16341
16341
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16342
16342
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16343
16343
  id: z.ZodString;
16344
16344
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
16345
- id: z.ZodString;
16346
16345
  name: z.ZodString;
16347
- description: z.ZodString;
16346
+ id: z.ZodString;
16348
16347
  createdAt: z.ZodOptional<z.ZodString>;
16349
16348
  updatedAt: z.ZodOptional<z.ZodString>;
16349
+ description: z.ZodString;
16350
16350
  models: z.ZodOptional<z.ZodObject<{
16351
16351
  base: z.ZodOptional<z.ZodObject<{
16352
16352
  model: z.ZodOptional<z.ZodString>;
@@ -16396,9 +16396,11 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16396
16396
  }, z.core.$strip>]>>>;
16397
16397
  }, z.core.$strip>>;
16398
16398
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16399
- id: z.ZodString;
16400
16399
  name: z.ZodString;
16401
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16400
+ id: z.ZodString;
16401
+ createdAt: z.ZodOptional<z.ZodString>;
16402
+ updatedAt: z.ZodOptional<z.ZodString>;
16403
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16402
16404
  config: z.ZodObject<{
16403
16405
  type: z.ZodLiteral<"mcp">;
16404
16406
  mcp: z.ZodObject<{
@@ -16418,21 +16420,19 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16418
16420
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16419
16421
  }, z.core.$strip>;
16420
16422
  }, z.core.$strip>;
16421
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16422
- createdAt: z.ZodOptional<z.ZodString>;
16423
- updatedAt: z.ZodOptional<z.ZodString>;
16424
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16423
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16425
16424
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16425
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16426
16426
  imageUrl: z.ZodOptional<z.ZodString>;
16427
16427
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16428
16428
  }, z.core.$strip>>>;
16429
16429
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16430
- id: z.ZodString;
16431
16430
  name: z.ZodString;
16432
- description: z.ZodString;
16433
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16431
+ id: z.ZodString;
16434
16432
  createdAt: z.ZodOptional<z.ZodString>;
16435
16433
  updatedAt: z.ZodOptional<z.ZodString>;
16434
+ description: z.ZodString;
16435
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16436
16436
  baseUrl: z.ZodString;
16437
16437
  }, z.core.$strip>>>;
16438
16438
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16441,11 +16441,11 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16441
16441
  description: z.ZodString;
16442
16442
  }, z.core.$strip>>>;
16443
16443
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16444
- id: z.ZodString;
16445
16444
  name: z.ZodString;
16446
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16445
+ id: z.ZodString;
16447
16446
  createdAt: z.ZodOptional<z.ZodString>;
16448
16447
  updatedAt: z.ZodOptional<z.ZodString>;
16448
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16449
16449
  functionId: z.ZodString;
16450
16450
  }, z.core.$strip>>>;
16451
16451
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16657,8 +16657,8 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
16657
16657
  createdAt: z.ZodString;
16658
16658
  updatedAt: z.ZodString;
16659
16659
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16660
- externalAgentId: z.ZodString;
16661
16660
  subAgentId: z.ZodString;
16661
+ externalAgentId: z.ZodString;
16662
16662
  }, z.core.$strip>;
16663
16663
  }, z.core.$strip>;
16664
16664
  declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
@@ -16667,8 +16667,8 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
16667
16667
  createdAt: z.ZodString;
16668
16668
  updatedAt: z.ZodString;
16669
16669
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16670
- externalAgentId: z.ZodString;
16671
16670
  subAgentId: z.ZodString;
16671
+ externalAgentId: z.ZodString;
16672
16672
  }, z.core.$strip>>;
16673
16673
  pagination: z.ZodObject<{
16674
16674
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16679,11 +16679,11 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
16679
16679
  }, z.core.$strip>;
16680
16680
  declare const DataComponentArrayResponse: z.ZodObject<{
16681
16681
  data: z.ZodArray<z.ZodObject<{
16682
- id: z.ZodString;
16683
16682
  name: z.ZodString;
16684
- description: z.ZodString;
16683
+ id: z.ZodString;
16685
16684
  createdAt: z.ZodString;
16686
16685
  updatedAt: z.ZodString;
16686
+ description: z.ZodString;
16687
16687
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
16688
16688
  render: z.ZodNullable<z.ZodType<{
16689
16689
  component: string;
@@ -16702,11 +16702,11 @@ declare const DataComponentArrayResponse: z.ZodObject<{
16702
16702
  }, z.core.$strip>;
16703
16703
  declare const ArtifactComponentArrayResponse: z.ZodObject<{
16704
16704
  data: z.ZodArray<z.ZodObject<{
16705
- id: z.ZodString;
16706
16705
  name: z.ZodString;
16707
- description: z.ZodString;
16706
+ id: z.ZodString;
16708
16707
  createdAt: z.ZodString;
16709
16708
  updatedAt: z.ZodString;
16709
+ description: z.ZodString;
16710
16710
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
16711
16711
  }, z.core.$strip>>;
16712
16712
  }, z.core.$strip>;