@inkeep/agents-core 0.0.0-dev-20251202012021 → 0.0.0-dev-20251202211955

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