@inkeep/agents-core 0.23.4 → 0.23.5

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.
@@ -774,12 +774,11 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
774
774
  in: {};
775
775
  }>;
776
776
  declare const SubAgentApiSelectSchema: z.ZodObject<{
777
- id: z.ZodString;
778
777
  name: z.ZodString;
779
- description: z.ZodString;
780
- prompt: z.ZodString;
778
+ id: z.ZodString;
781
779
  createdAt: z.ZodString;
782
780
  updatedAt: z.ZodString;
781
+ description: z.ZodString;
783
782
  models: z.ZodNullable<z.ZodType<{
784
783
  base?: {
785
784
  model?: string | undefined;
@@ -842,15 +841,15 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
842
841
  }, {
843
842
  stepCountIs?: number | undefined;
844
843
  }>>>;
844
+ prompt: z.ZodString;
845
845
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
846
846
  }, z.core.$strip>;
847
847
  declare const SubAgentApiInsertSchema: z.ZodObject<{
848
- id: z.ZodString;
849
848
  name: z.ZodString;
850
- description: z.ZodString;
851
- prompt: z.ZodString;
849
+ id: z.ZodString;
852
850
  createdAt: z.ZodOptional<z.ZodString>;
853
851
  updatedAt: z.ZodOptional<z.ZodString>;
852
+ description: z.ZodString;
854
853
  models: z.ZodOptional<z.ZodObject<{
855
854
  base: z.ZodOptional<z.ZodObject<{
856
855
  model: z.ZodOptional<z.ZodString>;
@@ -874,15 +873,15 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
874
873
  }, {
875
874
  stepCountIs?: number | undefined;
876
875
  }>>>>;
876
+ prompt: z.ZodString;
877
877
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
878
878
  }, z.core.$strip>;
879
879
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
880
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
881
880
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
882
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
883
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
881
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
884
882
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
885
883
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
884
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
886
885
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
887
886
  base: z.ZodOptional<z.ZodObject<{
888
887
  model: z.ZodOptional<z.ZodString>;
@@ -906,6 +905,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
906
905
  }, {
907
906
  stepCountIs?: number | undefined;
908
907
  }>>>>>>;
908
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
909
909
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
910
910
  }, z.core.$strip>;
911
911
  declare const SubAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -1185,9 +1185,9 @@ declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{
1185
1185
  }>;
1186
1186
  declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1187
1187
  id: z.ZodString;
1188
- agentId: z.ZodString;
1189
1188
  createdAt: z.ZodOptional<z.ZodString>;
1190
1189
  updatedAt: z.ZodOptional<z.ZodString>;
1190
+ agentId: z.ZodString;
1191
1191
  sourceSubAgentId: z.ZodString;
1192
1192
  targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1193
1193
  externalSubAgentId: z.ZodString;
@@ -1769,12 +1769,11 @@ declare const AgentUpdateSchema: z.ZodObject<{
1769
1769
  in: {};
1770
1770
  }>;
1771
1771
  declare const AgentApiSelectSchema: z.ZodObject<{
1772
- id: z.ZodString;
1773
1772
  name: z.ZodString;
1774
- description: z.ZodNullable<z.ZodString>;
1775
- prompt: z.ZodNullable<z.ZodString>;
1773
+ id: z.ZodString;
1776
1774
  createdAt: z.ZodString;
1777
1775
  updatedAt: z.ZodString;
1776
+ description: z.ZodNullable<z.ZodString>;
1778
1777
  models: z.ZodNullable<z.ZodType<{
1779
1778
  base?: {
1780
1779
  model?: string | undefined;
@@ -1839,6 +1838,7 @@ declare const AgentApiSelectSchema: z.ZodObject<{
1839
1838
  }>>>;
1840
1839
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
1841
1840
  contextConfigId: z.ZodNullable<z.ZodString>;
1841
+ prompt: z.ZodNullable<z.ZodString>;
1842
1842
  statusUpdates: z.ZodNullable<z.ZodType<{
1843
1843
  enabled?: boolean | undefined;
1844
1844
  numEvents?: number | undefined;
@@ -1899,10 +1899,9 @@ declare const AgentApiSelectSchema: z.ZodObject<{
1899
1899
  }, z.core.$strip>;
1900
1900
  declare const AgentApiInsertSchema: z.ZodObject<{
1901
1901
  name: z.ZodString;
1902
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1903
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1904
1902
  createdAt: z.ZodOptional<z.ZodString>;
1905
1903
  updatedAt: z.ZodOptional<z.ZodString>;
1904
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1906
1905
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
1907
1906
  base?: {
1908
1907
  model?: string | undefined;
@@ -1967,6 +1966,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
1967
1966
  }>>>>;
1968
1967
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1969
1968
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1969
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1970
1970
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
1971
1971
  enabled?: boolean | undefined;
1972
1972
  numEvents?: number | undefined;
@@ -2027,12 +2027,11 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2027
2027
  id: z.ZodString;
2028
2028
  }, z.core.$strip>;
2029
2029
  declare const AgentApiUpdateSchema: z.ZodObject<{
2030
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2031
2030
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2032
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2033
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2031
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2034
2032
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2035
2033
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2034
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2036
2035
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2037
2036
  base?: {
2038
2037
  model?: string | undefined;
@@ -2097,6 +2096,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2097
2096
  }>>>>>>;
2098
2097
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2099
2098
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2099
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2100
2100
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2101
2101
  enabled?: boolean | undefined;
2102
2102
  numEvents?: number | undefined;
@@ -2381,9 +2381,9 @@ declare const TaskUpdateSchema: z.ZodObject<{
2381
2381
  }>;
2382
2382
  declare const TaskApiSelectSchema: z.ZodObject<{
2383
2383
  id: z.ZodString;
2384
- agentId: z.ZodString;
2385
2384
  createdAt: z.ZodString;
2386
2385
  updatedAt: z.ZodString;
2386
+ agentId: z.ZodString;
2387
2387
  status: z.ZodString;
2388
2388
  metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
2389
2389
  contextId: z.ZodString;
@@ -2391,9 +2391,9 @@ declare const TaskApiSelectSchema: z.ZodObject<{
2391
2391
  }, z.core.$strip>;
2392
2392
  declare const TaskApiInsertSchema: z.ZodObject<{
2393
2393
  id: z.ZodString;
2394
- agentId: z.ZodString;
2395
2394
  createdAt: z.ZodOptional<z.ZodString>;
2396
2395
  updatedAt: z.ZodOptional<z.ZodString>;
2396
+ agentId: z.ZodString;
2397
2397
  status: z.ZodString;
2398
2398
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
2399
2399
  conversationId: z.ZodOptional<z.ZodString>;
@@ -2402,9 +2402,9 @@ declare const TaskApiInsertSchema: z.ZodObject<{
2402
2402
  }, z.core.$strip>;
2403
2403
  declare const TaskApiUpdateSchema: z.ZodObject<{
2404
2404
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2405
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2406
2405
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2407
2406
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2407
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2408
2408
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2409
2409
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
2410
2410
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -3153,9 +3153,9 @@ declare const ConversationUpdateSchema: z.ZodObject<{
3153
3153
  }>;
3154
3154
  declare const ConversationApiSelectSchema: z.ZodObject<{
3155
3155
  id: z.ZodString;
3156
- title: z.ZodNullable<z.ZodString>;
3157
3156
  createdAt: z.ZodString;
3158
3157
  updatedAt: z.ZodString;
3158
+ title: z.ZodNullable<z.ZodString>;
3159
3159
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
3160
3160
  userId: z.ZodNullable<z.ZodString>;
3161
3161
  activeSubAgentId: z.ZodString;
@@ -3163,9 +3163,9 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
3163
3163
  }, z.core.$strip>;
3164
3164
  declare const ConversationApiInsertSchema: z.ZodObject<{
3165
3165
  id: z.ZodString;
3166
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3167
3166
  createdAt: z.ZodOptional<z.ZodString>;
3168
3167
  updatedAt: z.ZodOptional<z.ZodString>;
3168
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3169
3169
  contextConfigId: z.ZodOptional<z.ZodString>;
3170
3170
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
3171
3171
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3174,9 +3174,9 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
3174
3174
  }, z.core.$strip>;
3175
3175
  declare const ConversationApiUpdateSchema: z.ZodObject<{
3176
3176
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3177
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3178
3177
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3179
3178
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3179
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3180
3180
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3181
3181
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
3182
3182
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -4164,8 +4164,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
4164
4164
  in: {};
4165
4165
  }>;
4166
4166
  declare const ContextCacheApiSelectSchema: z.ZodObject<{
4167
- id: z.ZodString;
4168
4167
  value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4168
+ id: z.ZodString;
4169
4169
  createdAt: z.ZodString;
4170
4170
  updatedAt: z.ZodString;
4171
4171
  contextConfigId: z.ZodString;
@@ -4177,8 +4177,8 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
4177
4177
  fetchDurationMs: z.ZodNullable<z.ZodInt>;
4178
4178
  }, z.core.$strip>;
4179
4179
  declare const ContextCacheApiInsertSchema: z.ZodObject<{
4180
- id: z.ZodString;
4181
4180
  value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4181
+ id: z.ZodString;
4182
4182
  createdAt: z.ZodOptional<z.ZodString>;
4183
4183
  updatedAt: z.ZodOptional<z.ZodString>;
4184
4184
  contextConfigId: z.ZodString;
@@ -4190,8 +4190,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
4190
4190
  fetchDurationMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4191
4191
  }, z.core.$strip>;
4192
4192
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
4193
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4194
4193
  value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
4194
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4195
4195
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4196
4196
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4197
4197
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4408,10 +4408,10 @@ declare const DataComponentInsertSchema: z.ZodObject<{
4408
4408
  in: {};
4409
4409
  }>;
4410
4410
  declare const DataComponentBaseSchema: z.ZodObject<{
4411
- tenantId: z.ZodString;
4412
- projectId: z.ZodString;
4413
- id: z.ZodString;
4414
4411
  name: z.ZodString;
4412
+ id: z.ZodString;
4413
+ projectId: z.ZodString;
4414
+ tenantId: z.ZodString;
4415
4415
  description: z.ZodString;
4416
4416
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4417
4417
  preview: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -4458,11 +4458,11 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
4458
4458
  in: {};
4459
4459
  }>;
4460
4460
  declare const DataComponentApiSelectSchema: z.ZodObject<{
4461
- id: z.ZodString;
4462
4461
  name: z.ZodString;
4463
- description: z.ZodString;
4462
+ id: z.ZodString;
4464
4463
  createdAt: z.ZodString;
4465
4464
  updatedAt: z.ZodString;
4465
+ description: z.ZodString;
4466
4466
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
4467
4467
  preview: z.ZodNullable<z.ZodType<{
4468
4468
  code: string;
@@ -4479,11 +4479,11 @@ declare const DataComponentApiSelectSchema: z.ZodObject<{
4479
4479
  }>>>;
4480
4480
  }, z.core.$strip>;
4481
4481
  declare const DataComponentApiInsertSchema: z.ZodObject<{
4482
- id: z.ZodString;
4483
4482
  name: z.ZodString;
4484
- description: z.ZodString;
4483
+ id: z.ZodString;
4485
4484
  createdAt: z.ZodOptional<z.ZodString>;
4486
4485
  updatedAt: z.ZodOptional<z.ZodString>;
4486
+ description: z.ZodString;
4487
4487
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4488
4488
  preview: z.ZodOptional<z.ZodNullable<z.ZodType<{
4489
4489
  code: string;
@@ -4500,11 +4500,11 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
4500
4500
  }>>>>;
4501
4501
  }, z.core.$strip>;
4502
4502
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
4503
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4504
4503
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4505
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4504
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4506
4505
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4507
4506
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4507
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4508
4508
  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>>>>>>>;
4509
4509
  preview: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
4510
4510
  code: string;
@@ -5003,16 +5003,16 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
5003
5003
  in: {};
5004
5004
  }>;
5005
5005
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
5006
- id: z.ZodString;
5007
5006
  name: z.ZodString;
5008
- description: z.ZodString;
5007
+ id: z.ZodString;
5009
5008
  createdAt: z.ZodString;
5010
5009
  updatedAt: z.ZodString;
5010
+ description: z.ZodString;
5011
5011
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
5012
5012
  }, z.core.$strip>;
5013
5013
  declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
5014
- id: z.ZodString;
5015
5014
  name: z.ZodString;
5015
+ id: z.ZodString;
5016
5016
  description: z.ZodString;
5017
5017
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
5018
5018
  }, {
@@ -5020,11 +5020,11 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
5020
5020
  in: {};
5021
5021
  }>;
5022
5022
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
5023
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5024
5023
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5025
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5024
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5026
5025
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5027
5026
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5027
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5028
5028
  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>>>>>>>;
5029
5029
  }, z.core.$strip>;
5030
5030
  declare const SubAgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -5255,42 +5255,41 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
5255
5255
  in: {};
5256
5256
  }>;
5257
5257
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
5258
- id: z.ZodString;
5259
5258
  name: z.ZodString;
5260
- description: z.ZodString;
5261
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5259
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5260
+ id: z.ZodString;
5262
5261
  createdAt: z.ZodString;
5263
5262
  updatedAt: z.ZodString;
5263
+ description: z.ZodString;
5264
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5264
5265
  baseUrl: z.ZodString;
5265
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5266
5266
  }, z.core.$strip>;
5267
5267
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
5268
- id: z.ZodString;
5269
5268
  name: z.ZodString;
5270
- description: z.ZodString;
5271
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5269
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
5270
+ id: z.ZodString;
5272
5271
  createdAt: z.ZodOptional<z.ZodString>;
5273
5272
  updatedAt: z.ZodOptional<z.ZodString>;
5273
+ description: z.ZodString;
5274
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5274
5275
  baseUrl: z.ZodString;
5275
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
5276
5276
  }, z.core.$strip>;
5277
5277
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
5278
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5279
5278
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5280
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5281
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5279
+ 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>>>>>>>;
5280
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5282
5281
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5283
5282
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5283
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5284
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5284
5285
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5285
- 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>>>>>>>;
5286
5286
  }, z.core.$strip>;
5287
5287
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5288
- id: z.ZodString;
5289
5288
  name: z.ZodString;
5290
- description: z.ZodString;
5291
- prompt: z.ZodString;
5289
+ id: z.ZodString;
5292
5290
  createdAt: z.ZodString;
5293
5291
  updatedAt: z.ZodString;
5292
+ description: z.ZodString;
5294
5293
  models: z.ZodNullable<z.ZodType<{
5295
5294
  base?: {
5296
5295
  model?: string | undefined;
@@ -5353,17 +5352,18 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5353
5352
  }, {
5354
5353
  stepCountIs?: number | undefined;
5355
5354
  }>>>;
5355
+ prompt: z.ZodString;
5356
5356
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
5357
5357
  type: z.ZodLiteral<"internal">;
5358
5358
  }, z.core.$strip>, z.ZodObject<{
5359
- id: z.ZodString;
5360
5359
  name: z.ZodString;
5361
- description: z.ZodString;
5362
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5360
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5361
+ id: z.ZodString;
5363
5362
  createdAt: z.ZodString;
5364
5363
  updatedAt: z.ZodString;
5364
+ description: z.ZodString;
5365
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5365
5366
  baseUrl: z.ZodString;
5366
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5367
5367
  type: z.ZodLiteral<"external">;
5368
5368
  }, z.core.$strip>], "type">;
5369
5369
  declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -5615,24 +5615,24 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
5615
5615
  }>;
5616
5616
  declare const ApiKeyUpdateSchema: z.ZodObject<{
5617
5617
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5618
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5618
5619
  agentId: z.ZodOptional<z.ZodString>;
5619
- lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5620
5620
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5621
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5621
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5622
5622
  }, {
5623
5623
  out: {};
5624
5624
  in: {};
5625
5625
  }>;
5626
5626
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
5627
- id: z.ZodString;
5628
5627
  name: z.ZodNullable<z.ZodString>;
5628
+ id: z.ZodString;
5629
+ createdAt: z.ZodString;
5630
+ updatedAt: z.ZodString;
5629
5631
  agentId: z.ZodString;
5632
+ expiresAt: z.ZodNullable<z.ZodString>;
5630
5633
  publicId: z.ZodString;
5631
5634
  keyPrefix: z.ZodString;
5632
5635
  lastUsedAt: z.ZodNullable<z.ZodString>;
5633
- expiresAt: z.ZodNullable<z.ZodString>;
5634
- createdAt: z.ZodString;
5635
- updatedAt: z.ZodString;
5636
5636
  }, {
5637
5637
  out: {};
5638
5638
  in: {};
@@ -5640,15 +5640,15 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
5640
5640
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
5641
5641
  data: z.ZodObject<{
5642
5642
  apiKey: z.ZodObject<{
5643
- id: z.ZodString;
5644
5643
  name: z.ZodNullable<z.ZodString>;
5644
+ id: z.ZodString;
5645
+ createdAt: z.ZodString;
5646
+ updatedAt: z.ZodString;
5645
5647
  agentId: z.ZodString;
5648
+ expiresAt: z.ZodNullable<z.ZodString>;
5646
5649
  publicId: z.ZodString;
5647
5650
  keyPrefix: z.ZodString;
5648
5651
  lastUsedAt: z.ZodNullable<z.ZodString>;
5649
- expiresAt: z.ZodNullable<z.ZodString>;
5650
- createdAt: z.ZodString;
5651
- updatedAt: z.ZodString;
5652
5652
  }, {
5653
5653
  out: {};
5654
5654
  in: {};
@@ -5658,20 +5658,20 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
5658
5658
  }, z.core.$strip>;
5659
5659
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
5660
5660
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5661
- agentId: z.ZodString;
5662
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5663
5661
  createdAt: z.ZodOptional<z.ZodString>;
5664
5662
  updatedAt: z.ZodOptional<z.ZodString>;
5663
+ agentId: z.ZodString;
5664
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5665
5665
  }, {
5666
5666
  out: {};
5667
5667
  in: {};
5668
5668
  }>;
5669
5669
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
5670
5670
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5671
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5671
5672
  agentId: z.ZodOptional<z.ZodString>;
5672
- lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5673
5673
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5674
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5674
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5675
5675
  }, {
5676
5676
  out: {};
5677
5677
  in: {};
@@ -5714,10 +5714,10 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
5714
5714
  }>;
5715
5715
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5716
5716
  id: z.ZodString;
5717
- createdAt: z.ZodString;
5718
- updatedAt: z.ZodString;
5719
5717
  credentialStoreId: z.ZodString;
5720
5718
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5719
+ createdAt: z.ZodString;
5720
+ updatedAt: z.ZodString;
5721
5721
  type: z.ZodEnum<{
5722
5722
  readonly memory: "memory";
5723
5723
  readonly keychain: "keychain";
@@ -5981,10 +5981,10 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5981
5981
  }, z.core.$strip>;
5982
5982
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
5983
5983
  id: z.ZodString;
5984
- createdAt: z.ZodOptional<z.ZodString>;
5985
- updatedAt: z.ZodOptional<z.ZodString>;
5986
5984
  credentialStoreId: z.ZodString;
5987
5985
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5986
+ createdAt: z.ZodOptional<z.ZodString>;
5987
+ updatedAt: z.ZodOptional<z.ZodString>;
5988
5988
  type: z.ZodEnum<{
5989
5989
  readonly memory: "memory";
5990
5990
  readonly keychain: "keychain";
@@ -5993,10 +5993,10 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
5993
5993
  }, z.core.$strip>;
5994
5994
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
5995
5995
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5996
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5997
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5998
5996
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5999
5997
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
5998
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5999
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6000
6000
  type: z.ZodOptional<z.ZodEnum<{
6001
6001
  readonly memory: "memory";
6002
6002
  readonly keychain: "keychain";
@@ -6053,10 +6053,10 @@ declare const McpToolSchema: z.ZodObject<{
6053
6053
  in: {};
6054
6054
  }>;
6055
6055
  declare const MCPToolConfigSchema: z.ZodObject<{
6056
- id: z.ZodString;
6057
6056
  name: z.ZodString;
6058
- expiresAt: z.ZodOptional<z.ZodDate>;
6059
6057
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6058
+ id: z.ZodString;
6059
+ expiresAt: z.ZodOptional<z.ZodDate>;
6060
6060
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6061
6061
  imageUrl: z.ZodOptional<z.ZodString>;
6062
6062
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6086,10 +6086,10 @@ declare const MCPToolConfigSchema: z.ZodObject<{
6086
6086
  }, z.core.$strip>>;
6087
6087
  credential: z.ZodOptional<z.ZodObject<{
6088
6088
  id: z.ZodString;
6089
- createdAt: z.ZodOptional<z.ZodString>;
6090
- updatedAt: z.ZodOptional<z.ZodString>;
6091
6089
  credentialStoreId: z.ZodString;
6092
6090
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6091
+ createdAt: z.ZodOptional<z.ZodString>;
6092
+ updatedAt: z.ZodOptional<z.ZodString>;
6093
6093
  type: z.ZodEnum<{
6094
6094
  readonly memory: "memory";
6095
6095
  readonly keychain: "keychain";
@@ -6137,9 +6137,14 @@ declare const ToolUpdateSchema: z.ZodObject<{
6137
6137
  in: {};
6138
6138
  }>;
6139
6139
  declare const ToolApiSelectSchema: z.ZodObject<{
6140
- id: z.ZodString;
6141
6140
  name: z.ZodString;
6141
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
6142
+ id: z.ZodString;
6143
+ createdAt: z.ZodString;
6144
+ updatedAt: z.ZodString;
6142
6145
  description: z.ZodNullable<z.ZodString>;
6146
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
6147
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6143
6148
  config: z.ZodType<{
6144
6149
  type: "mcp";
6145
6150
  mcp: ToolMcpConfig;
@@ -6153,18 +6158,18 @@ declare const ToolApiSelectSchema: z.ZodObject<{
6153
6158
  type: "mcp";
6154
6159
  mcp: ToolMcpConfig;
6155
6160
  }>>;
6156
- credentialReferenceId: z.ZodNullable<z.ZodString>;
6157
- createdAt: z.ZodString;
6158
- updatedAt: z.ZodString;
6159
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
6160
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6161
6161
  imageUrl: z.ZodNullable<z.ZodString>;
6162
6162
  lastError: z.ZodNullable<z.ZodString>;
6163
6163
  }, z.core.$strip>;
6164
6164
  declare const ToolApiInsertSchema: z.ZodObject<{
6165
- id: z.ZodString;
6166
6165
  name: z.ZodString;
6166
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6167
+ id: z.ZodString;
6168
+ createdAt: z.ZodOptional<z.ZodString>;
6169
+ updatedAt: z.ZodOptional<z.ZodString>;
6167
6170
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6171
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6172
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6168
6173
  config: z.ZodObject<{
6169
6174
  type: z.ZodLiteral<"mcp">;
6170
6175
  mcp: z.ZodObject<{
@@ -6184,18 +6189,18 @@ declare const ToolApiInsertSchema: z.ZodObject<{
6184
6189
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6185
6190
  }, z.core.$strip>;
6186
6191
  }, z.core.$strip>;
6187
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6188
- createdAt: z.ZodOptional<z.ZodString>;
6189
- updatedAt: z.ZodOptional<z.ZodString>;
6190
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6191
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6192
6192
  imageUrl: z.ZodOptional<z.ZodString>;
6193
6193
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6194
6194
  }, z.core.$strip>;
6195
6195
  declare const ToolApiUpdateSchema: z.ZodObject<{
6196
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6197
6196
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6197
+ 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>>>>>>>;
6198
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6199
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6200
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6198
6201
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6202
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6203
+ capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
6199
6204
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6200
6205
  type: z.ZodLiteral<"mcp">;
6201
6206
  mcp: z.ZodObject<{
@@ -6215,11 +6220,6 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
6215
6220
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6216
6221
  }, z.core.$strip>;
6217
6222
  }, z.core.$strip>>>;
6218
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6219
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6220
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6221
- 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>>>>>>>;
6222
- capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
6223
6223
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6224
6224
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6225
6225
  }, z.core.$strip>;
@@ -6425,29 +6425,29 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
6425
6425
  in: {};
6426
6426
  }>;
6427
6427
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
6428
- id: z.ZodString;
6429
6428
  name: z.ZodString;
6430
- description: z.ZodNullable<z.ZodString>;
6431
- agentId: z.ZodString;
6429
+ id: z.ZodString;
6432
6430
  createdAt: z.ZodString;
6433
6431
  updatedAt: z.ZodString;
6432
+ description: z.ZodNullable<z.ZodString>;
6433
+ agentId: z.ZodString;
6434
6434
  functionId: z.ZodString;
6435
6435
  }, z.core.$strip>;
6436
6436
  declare const FunctionToolApiInsertSchema: z.ZodObject<{
6437
- id: z.ZodString;
6438
6437
  name: z.ZodString;
6439
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6438
+ id: z.ZodString;
6440
6439
  createdAt: z.ZodOptional<z.ZodString>;
6441
6440
  updatedAt: z.ZodOptional<z.ZodString>;
6441
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6442
6442
  functionId: z.ZodString;
6443
6443
  }, z.core.$strip>;
6444
6444
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
6445
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6446
6445
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6447
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6448
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6446
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6449
6447
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6450
6448
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6449
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6450
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6451
6451
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6452
6452
  }, z.core.$strip>;
6453
6453
  declare const FunctionSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -6693,10 +6693,10 @@ declare const FetchDefinitionSchema: z.ZodObject<{
6693
6693
  defaultValue: z.ZodOptional<z.ZodAny>;
6694
6694
  credential: z.ZodOptional<z.ZodObject<{
6695
6695
  id: z.ZodString;
6696
- createdAt: z.ZodOptional<z.ZodString>;
6697
- updatedAt: z.ZodOptional<z.ZodString>;
6698
6696
  credentialStoreId: z.ZodString;
6699
6697
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6698
+ createdAt: z.ZodOptional<z.ZodString>;
6699
+ updatedAt: z.ZodOptional<z.ZodString>;
6700
6700
  type: z.ZodEnum<{
6701
6701
  readonly memory: "memory";
6702
6702
  readonly keychain: "keychain";
@@ -6718,23 +6718,23 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
6718
6718
  in: {};
6719
6719
  }>;
6720
6720
  declare const ContextConfigInsertSchema: z.ZodObject<{
6721
- tenantId: z.ZodString;
6722
- projectId: z.ZodString;
6723
6721
  id: z.ZodOptional<z.ZodString>;
6724
- agentId: z.ZodString;
6722
+ projectId: z.ZodString;
6723
+ tenantId: z.ZodString;
6725
6724
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6726
6725
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6726
+ agentId: z.ZodString;
6727
6727
  }, {
6728
6728
  out: {};
6729
6729
  in: {};
6730
6730
  }>;
6731
6731
  declare const ContextConfigUpdateSchema: z.ZodObject<{
6732
- tenantId: z.ZodOptional<z.ZodString>;
6733
- projectId: z.ZodOptional<z.ZodString>;
6734
6732
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6735
- agentId: z.ZodOptional<z.ZodString>;
6733
+ projectId: z.ZodOptional<z.ZodString>;
6734
+ tenantId: z.ZodOptional<z.ZodString>;
6736
6735
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6737
6736
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6737
+ agentId: z.ZodOptional<z.ZodString>;
6738
6738
  }, {
6739
6739
  out: {};
6740
6740
  in: {};
@@ -6979,31 +6979,31 @@ declare const SubAgentToolRelationUpdateSchema: z.ZodObject<{
6979
6979
  in: {};
6980
6980
  }>;
6981
6981
  declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
6982
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6982
6983
  id: z.ZodString;
6983
6984
  createdAt: z.ZodString;
6984
6985
  updatedAt: z.ZodString;
6985
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6986
- toolId: z.ZodString;
6987
6986
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6988
6987
  subAgentId: z.ZodString;
6988
+ toolId: z.ZodString;
6989
6989
  }, z.core.$strip>;
6990
6990
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
6991
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
6991
6992
  id: z.ZodString;
6992
6993
  createdAt: z.ZodOptional<z.ZodString>;
6993
6994
  updatedAt: z.ZodOptional<z.ZodString>;
6994
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
6995
- toolId: z.ZodString;
6996
6995
  selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6997
6996
  subAgentId: z.ZodString;
6997
+ toolId: z.ZodString;
6998
6998
  }, z.core.$strip>;
6999
6999
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
7000
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7000
7001
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7001
7002
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7002
7003
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7003
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7004
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7005
7004
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
7006
7005
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7006
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7007
7007
  }, z.core.$strip>;
7008
7008
  declare const LedgerArtifactSelectSchema: drizzle_zod.BuildSchema<"select", {
7009
7009
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -7717,12 +7717,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
7717
7717
  in: {};
7718
7718
  }>;
7719
7719
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
7720
- id: z.ZodString;
7721
7720
  type: z.ZodString;
7722
7721
  name: z.ZodNullable<z.ZodString>;
7723
- description: z.ZodNullable<z.ZodString>;
7722
+ id: z.ZodString;
7724
7723
  createdAt: z.ZodString;
7725
7724
  updatedAt: z.ZodString;
7725
+ description: z.ZodNullable<z.ZodString>;
7726
7726
  metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7727
7727
  contextId: z.ZodString;
7728
7728
  visibility: z.ZodNullable<z.ZodString>;
@@ -7735,12 +7735,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
7735
7735
  derivedFrom: z.ZodNullable<z.ZodString>;
7736
7736
  }, z.core.$strip>;
7737
7737
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
7738
- id: z.ZodString;
7739
7738
  type: z.ZodOptional<z.ZodString>;
7740
7739
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7741
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7740
+ id: z.ZodString;
7742
7741
  createdAt: z.ZodOptional<z.ZodString>;
7743
7742
  updatedAt: z.ZodOptional<z.ZodString>;
7743
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7744
7744
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
7745
7745
  contextId: z.ZodString;
7746
7746
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7753,12 +7753,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
7753
7753
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7754
7754
  }, z.core.$strip>;
7755
7755
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
7756
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7757
7756
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7758
7757
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7759
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7758
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7760
7759
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7761
7760
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7761
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7762
7762
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
7763
7763
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7764
7764
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -7801,12 +7801,11 @@ declare const CanUseItemSchema: z.ZodObject<{
7801
7801
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7802
7802
  }, z.core.$strip>;
7803
7803
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
7804
- id: z.ZodString;
7805
7804
  name: z.ZodString;
7806
- description: z.ZodString;
7807
- prompt: z.ZodString;
7805
+ id: z.ZodString;
7808
7806
  createdAt: z.ZodOptional<z.ZodString>;
7809
7807
  updatedAt: z.ZodOptional<z.ZodString>;
7808
+ description: z.ZodString;
7810
7809
  models: z.ZodOptional<z.ZodObject<{
7811
7810
  base: z.ZodOptional<z.ZodObject<{
7812
7811
  model: z.ZodOptional<z.ZodString>;
@@ -7830,6 +7829,7 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
7830
7829
  }, {
7831
7830
  stepCountIs?: number | undefined;
7832
7831
  }>>>>;
7832
+ prompt: z.ZodString;
7833
7833
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7834
7834
  type: z.ZodLiteral<"internal">;
7835
7835
  canUse: z.ZodArray<z.ZodObject<{
@@ -7845,19 +7845,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
7845
7845
  }, z.core.$strip>;
7846
7846
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7847
7847
  name: z.ZodString;
7848
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7849
7848
  createdAt: z.ZodOptional<z.ZodString>;
7850
7849
  updatedAt: z.ZodOptional<z.ZodString>;
7850
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7851
7851
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7852
7852
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7853
7853
  id: z.ZodString;
7854
7854
  subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
7855
- id: z.ZodString;
7856
7855
  name: z.ZodString;
7857
- description: z.ZodString;
7858
- prompt: z.ZodString;
7856
+ id: z.ZodString;
7859
7857
  createdAt: z.ZodOptional<z.ZodString>;
7860
7858
  updatedAt: z.ZodOptional<z.ZodString>;
7859
+ description: z.ZodString;
7861
7860
  models: z.ZodOptional<z.ZodObject<{
7862
7861
  base: z.ZodOptional<z.ZodObject<{
7863
7862
  model: z.ZodOptional<z.ZodString>;
@@ -7881,6 +7880,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7881
7880
  }, {
7882
7881
  stepCountIs?: number | undefined;
7883
7882
  }>>>>;
7883
+ prompt: z.ZodString;
7884
7884
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7885
7885
  type: z.ZodLiteral<"internal">;
7886
7886
  canUse: z.ZodArray<z.ZodObject<{
@@ -7894,19 +7894,24 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7894
7894
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7895
7895
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7896
7896
  }, z.core.$strip>, z.ZodObject<{
7897
- id: z.ZodString;
7898
7897
  name: z.ZodString;
7899
- description: z.ZodString;
7900
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7898
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7899
+ id: z.ZodString;
7901
7900
  createdAt: z.ZodOptional<z.ZodString>;
7902
7901
  updatedAt: z.ZodOptional<z.ZodString>;
7902
+ description: z.ZodString;
7903
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7903
7904
  baseUrl: z.ZodString;
7904
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7905
7905
  }, z.core.$strip>]>>;
7906
7906
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7907
- id: z.ZodString;
7908
7907
  name: z.ZodString;
7908
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7909
+ id: z.ZodString;
7910
+ createdAt: z.ZodOptional<z.ZodString>;
7911
+ updatedAt: z.ZodOptional<z.ZodString>;
7909
7912
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7913
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7914
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
7910
7915
  config: z.ZodObject<{
7911
7916
  type: z.ZodLiteral<"mcp">;
7912
7917
  mcp: z.ZodObject<{
@@ -7926,20 +7931,15 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7926
7931
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
7927
7932
  }, z.core.$strip>;
7928
7933
  }, z.core.$strip>;
7929
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7930
- createdAt: z.ZodOptional<z.ZodString>;
7931
- updatedAt: z.ZodOptional<z.ZodString>;
7932
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7933
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
7934
7934
  imageUrl: z.ZodOptional<z.ZodString>;
7935
7935
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7936
7936
  }, z.core.$strip>>>;
7937
7937
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7938
- id: z.ZodString;
7939
7938
  name: z.ZodString;
7940
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7939
+ id: z.ZodString;
7941
7940
  createdAt: z.ZodOptional<z.ZodString>;
7942
7941
  updatedAt: z.ZodOptional<z.ZodString>;
7942
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7943
7943
  functionId: z.ZodString;
7944
7944
  }, z.core.$strip>>>;
7945
7945
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8206,9 +8206,9 @@ declare const ProjectSelectSchema: drizzle_zod.BuildSchema<"select", {
8206
8206
  }>;
8207
8207
  }, undefined, undefined>;
8208
8208
  declare const ProjectInsertSchema: z.ZodObject<{
8209
- tenantId: z.ZodString;
8210
- id: z.ZodString;
8211
8209
  name: z.ZodString;
8210
+ id: z.ZodString;
8211
+ tenantId: z.ZodString;
8212
8212
  description: z.ZodString;
8213
8213
  models: z.ZodObject<{
8214
8214
  base: z.ZodObject<{
@@ -8233,9 +8233,9 @@ declare const ProjectInsertSchema: z.ZodObject<{
8233
8233
  in: {};
8234
8234
  }>;
8235
8235
  declare const ProjectUpdateSchema: z.ZodObject<{
8236
- tenantId: z.ZodOptional<z.ZodString>;
8237
- id: z.ZodOptional<z.ZodString>;
8238
8236
  name: z.ZodOptional<z.ZodString>;
8237
+ id: z.ZodOptional<z.ZodString>;
8238
+ tenantId: z.ZodOptional<z.ZodString>;
8239
8239
  description: z.ZodOptional<z.ZodString>;
8240
8240
  models: z.ZodOptional<z.ZodObject<{
8241
8241
  base: z.ZodObject<{
@@ -8260,11 +8260,11 @@ declare const ProjectUpdateSchema: z.ZodObject<{
8260
8260
  in: {};
8261
8261
  }>;
8262
8262
  declare const ProjectApiSelectSchema: z.ZodObject<{
8263
- id: z.ZodString;
8264
8263
  name: z.ZodString;
8265
- description: z.ZodString;
8264
+ id: z.ZodString;
8266
8265
  createdAt: z.ZodString;
8267
8266
  updatedAt: z.ZodString;
8267
+ description: z.ZodString;
8268
8268
  models: z.ZodNullable<z.ZodType<{
8269
8269
  base: {
8270
8270
  model?: string | undefined;
@@ -8336,8 +8336,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
8336
8336
  in: {};
8337
8337
  }>;
8338
8338
  declare const ProjectApiInsertSchema: z.ZodObject<{
8339
- id: z.ZodString;
8340
8339
  name: z.ZodString;
8340
+ id: z.ZodString;
8341
8341
  description: z.ZodString;
8342
8342
  models: z.ZodObject<{
8343
8343
  base: z.ZodObject<{
@@ -8362,8 +8362,8 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
8362
8362
  in: {};
8363
8363
  }>;
8364
8364
  declare const ProjectApiUpdateSchema: z.ZodObject<{
8365
- id: z.ZodOptional<z.ZodString>;
8366
8365
  name: z.ZodOptional<z.ZodString>;
8366
+ id: z.ZodOptional<z.ZodString>;
8367
8367
  description: z.ZodOptional<z.ZodString>;
8368
8368
  models: z.ZodOptional<z.ZodObject<{
8369
8369
  base: z.ZodObject<{
@@ -8388,8 +8388,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
8388
8388
  in: {};
8389
8389
  }>;
8390
8390
  declare const FullProjectDefinitionSchema: z.ZodObject<{
8391
- id: z.ZodString;
8392
8391
  name: z.ZodString;
8392
+ id: z.ZodString;
8393
8393
  description: z.ZodString;
8394
8394
  models: z.ZodObject<{
8395
8395
  base: z.ZodObject<{
@@ -8411,19 +8411,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8411
8411
  }, z.core.$strip>>;
8412
8412
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
8413
8413
  name: z.ZodString;
8414
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8415
8414
  createdAt: z.ZodOptional<z.ZodString>;
8416
8415
  updatedAt: z.ZodOptional<z.ZodString>;
8416
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8417
8417
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8418
8418
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8419
8419
  id: z.ZodString;
8420
8420
  subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
8421
- id: z.ZodString;
8422
8421
  name: z.ZodString;
8423
- description: z.ZodString;
8424
- prompt: z.ZodString;
8422
+ id: z.ZodString;
8425
8423
  createdAt: z.ZodOptional<z.ZodString>;
8426
8424
  updatedAt: z.ZodOptional<z.ZodString>;
8425
+ description: z.ZodString;
8427
8426
  models: z.ZodOptional<z.ZodObject<{
8428
8427
  base: z.ZodOptional<z.ZodObject<{
8429
8428
  model: z.ZodOptional<z.ZodString>;
@@ -8447,6 +8446,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8447
8446
  }, {
8448
8447
  stepCountIs?: number | undefined;
8449
8448
  }>>>>;
8449
+ prompt: z.ZodString;
8450
8450
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
8451
8451
  type: z.ZodLiteral<"internal">;
8452
8452
  canUse: z.ZodArray<z.ZodObject<{
@@ -8460,19 +8460,24 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8460
8460
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
8461
8461
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
8462
8462
  }, z.core.$strip>, z.ZodObject<{
8463
- id: z.ZodString;
8464
8463
  name: z.ZodString;
8465
- description: z.ZodString;
8466
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8464
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8465
+ id: z.ZodString;
8467
8466
  createdAt: z.ZodOptional<z.ZodString>;
8468
8467
  updatedAt: z.ZodOptional<z.ZodString>;
8468
+ description: z.ZodString;
8469
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8469
8470
  baseUrl: z.ZodString;
8470
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8471
8471
  }, z.core.$strip>]>>;
8472
8472
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8473
- id: z.ZodString;
8474
8473
  name: z.ZodString;
8474
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8475
+ id: z.ZodString;
8476
+ createdAt: z.ZodOptional<z.ZodString>;
8477
+ updatedAt: z.ZodOptional<z.ZodString>;
8475
8478
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8479
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8480
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8476
8481
  config: z.ZodObject<{
8477
8482
  type: z.ZodLiteral<"mcp">;
8478
8483
  mcp: z.ZodObject<{
@@ -8492,20 +8497,15 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8492
8497
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8493
8498
  }, z.core.$strip>;
8494
8499
  }, z.core.$strip>;
8495
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8496
- createdAt: z.ZodOptional<z.ZodString>;
8497
- updatedAt: z.ZodOptional<z.ZodString>;
8498
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8499
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8500
8500
  imageUrl: z.ZodOptional<z.ZodString>;
8501
8501
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8502
8502
  }, z.core.$strip>>>;
8503
8503
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8504
- id: z.ZodString;
8505
8504
  name: z.ZodString;
8506
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8505
+ id: z.ZodString;
8507
8506
  createdAt: z.ZodOptional<z.ZodString>;
8508
8507
  updatedAt: z.ZodOptional<z.ZodString>;
8508
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8509
8509
  functionId: z.ZodString;
8510
8510
  }, z.core.$strip>>>;
8511
8511
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8556,9 +8556,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8556
8556
  prompt: z.ZodOptional<z.ZodString>;
8557
8557
  }, z.core.$strip>>;
8558
8558
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
8559
- id: z.ZodString;
8560
8559
  name: z.ZodString;
8560
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8561
+ id: z.ZodString;
8562
+ createdAt: z.ZodOptional<z.ZodString>;
8563
+ updatedAt: z.ZodOptional<z.ZodString>;
8561
8564
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8565
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8566
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8562
8567
  config: z.ZodObject<{
8563
8568
  type: z.ZodLiteral<"mcp">;
8564
8569
  mcp: z.ZodObject<{
@@ -8578,11 +8583,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8578
8583
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8579
8584
  }, z.core.$strip>;
8580
8585
  }, z.core.$strip>;
8581
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8582
- createdAt: z.ZodOptional<z.ZodString>;
8583
- updatedAt: z.ZodOptional<z.ZodString>;
8584
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8585
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8586
8586
  imageUrl: z.ZodOptional<z.ZodString>;
8587
8587
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8588
8588
  }, z.core.$strip>>;
@@ -8595,11 +8595,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8595
8595
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8596
8596
  }, z.core.$strip>>>;
8597
8597
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8598
- id: z.ZodString;
8599
8598
  name: z.ZodString;
8600
- description: z.ZodString;
8599
+ id: z.ZodString;
8601
8600
  createdAt: z.ZodOptional<z.ZodString>;
8602
8601
  updatedAt: z.ZodOptional<z.ZodString>;
8602
+ description: z.ZodString;
8603
8603
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8604
8604
  preview: z.ZodOptional<z.ZodNullable<z.ZodType<{
8605
8605
  code: string;
@@ -8616,8 +8616,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8616
8616
  }>>>>;
8617
8617
  }, z.core.$strip>>>;
8618
8618
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8619
- id: z.ZodString;
8620
8619
  name: z.ZodString;
8620
+ id: z.ZodString;
8621
8621
  description: z.ZodString;
8622
8622
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8623
8623
  }, {
@@ -8641,10 +8641,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8641
8641
  }, z.core.$strip>>;
8642
8642
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8643
8643
  id: z.ZodString;
8644
- createdAt: z.ZodOptional<z.ZodString>;
8645
- updatedAt: z.ZodOptional<z.ZodString>;
8646
8644
  credentialStoreId: z.ZodString;
8647
8645
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8646
+ createdAt: z.ZodOptional<z.ZodString>;
8647
+ updatedAt: z.ZodOptional<z.ZodString>;
8648
8648
  type: z.ZodEnum<{
8649
8649
  readonly memory: "memory";
8650
8650
  readonly keychain: "keychain";
@@ -8659,11 +8659,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8659
8659
  }>;
8660
8660
  declare const ProjectResponse: z.ZodObject<{
8661
8661
  data: z.ZodObject<{
8662
- id: z.ZodString;
8663
8662
  name: z.ZodString;
8664
- description: z.ZodString;
8663
+ id: z.ZodString;
8665
8664
  createdAt: z.ZodString;
8666
8665
  updatedAt: z.ZodString;
8666
+ description: z.ZodString;
8667
8667
  models: z.ZodNullable<z.ZodType<{
8668
8668
  base: {
8669
8669
  model?: string | undefined;
@@ -8737,12 +8737,11 @@ declare const ProjectResponse: z.ZodObject<{
8737
8737
  }, z.core.$strip>;
8738
8738
  declare const SubAgentResponse: z.ZodObject<{
8739
8739
  data: z.ZodObject<{
8740
- id: z.ZodString;
8741
8740
  name: z.ZodString;
8742
- description: z.ZodString;
8743
- prompt: z.ZodString;
8741
+ id: z.ZodString;
8744
8742
  createdAt: z.ZodString;
8745
8743
  updatedAt: z.ZodString;
8744
+ description: z.ZodString;
8746
8745
  models: z.ZodNullable<z.ZodType<{
8747
8746
  base?: {
8748
8747
  model?: string | undefined;
@@ -8805,17 +8804,17 @@ declare const SubAgentResponse: z.ZodObject<{
8805
8804
  }, {
8806
8805
  stepCountIs?: number | undefined;
8807
8806
  }>>>;
8807
+ prompt: z.ZodString;
8808
8808
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
8809
8809
  }, z.core.$strip>;
8810
8810
  }, z.core.$strip>;
8811
8811
  declare const AgentResponse: z.ZodObject<{
8812
8812
  data: z.ZodObject<{
8813
- id: z.ZodString;
8814
8813
  name: z.ZodString;
8815
- description: z.ZodNullable<z.ZodString>;
8816
- prompt: z.ZodNullable<z.ZodString>;
8814
+ id: z.ZodString;
8817
8815
  createdAt: z.ZodString;
8818
8816
  updatedAt: z.ZodString;
8817
+ description: z.ZodNullable<z.ZodString>;
8819
8818
  models: z.ZodNullable<z.ZodType<{
8820
8819
  base?: {
8821
8820
  model?: string | undefined;
@@ -8880,6 +8879,7 @@ declare const AgentResponse: z.ZodObject<{
8880
8879
  }>>>;
8881
8880
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
8882
8881
  contextConfigId: z.ZodNullable<z.ZodString>;
8882
+ prompt: z.ZodNullable<z.ZodString>;
8883
8883
  statusUpdates: z.ZodNullable<z.ZodType<{
8884
8884
  enabled?: boolean | undefined;
8885
8885
  numEvents?: number | undefined;
@@ -8941,9 +8941,14 @@ declare const AgentResponse: z.ZodObject<{
8941
8941
  }, z.core.$strip>;
8942
8942
  declare const ToolResponse: z.ZodObject<{
8943
8943
  data: z.ZodObject<{
8944
- id: z.ZodString;
8945
8944
  name: z.ZodString;
8945
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
8946
+ id: z.ZodString;
8947
+ createdAt: z.ZodString;
8948
+ updatedAt: z.ZodString;
8946
8949
  description: z.ZodNullable<z.ZodString>;
8950
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
8951
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
8947
8952
  config: z.ZodType<{
8948
8953
  type: "mcp";
8949
8954
  mcp: ToolMcpConfig;
@@ -8957,25 +8962,20 @@ declare const ToolResponse: z.ZodObject<{
8957
8962
  type: "mcp";
8958
8963
  mcp: ToolMcpConfig;
8959
8964
  }>>;
8960
- credentialReferenceId: z.ZodNullable<z.ZodString>;
8961
- createdAt: z.ZodString;
8962
- updatedAt: z.ZodString;
8963
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
8964
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
8965
8965
  imageUrl: z.ZodNullable<z.ZodString>;
8966
8966
  lastError: z.ZodNullable<z.ZodString>;
8967
8967
  }, z.core.$strip>;
8968
8968
  }, z.core.$strip>;
8969
8969
  declare const ExternalAgentResponse: z.ZodObject<{
8970
8970
  data: z.ZodObject<{
8971
- id: z.ZodString;
8972
8971
  name: z.ZodString;
8973
- description: z.ZodString;
8974
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8972
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
8973
+ id: z.ZodString;
8975
8974
  createdAt: z.ZodString;
8976
8975
  updatedAt: z.ZodString;
8976
+ description: z.ZodString;
8977
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8977
8978
  baseUrl: z.ZodString;
8978
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
8979
8979
  }, z.core.$strip>;
8980
8980
  }, z.core.$strip>;
8981
8981
  declare const ContextConfigResponse: z.ZodObject<{
@@ -8989,15 +8989,15 @@ declare const ContextConfigResponse: z.ZodObject<{
8989
8989
  }, z.core.$strip>;
8990
8990
  declare const ApiKeyResponse: z.ZodObject<{
8991
8991
  data: z.ZodObject<{
8992
- id: z.ZodString;
8993
8992
  name: z.ZodNullable<z.ZodString>;
8993
+ id: z.ZodString;
8994
+ createdAt: z.ZodString;
8995
+ updatedAt: z.ZodString;
8994
8996
  agentId: z.ZodString;
8997
+ expiresAt: z.ZodNullable<z.ZodString>;
8995
8998
  publicId: z.ZodString;
8996
8999
  keyPrefix: z.ZodString;
8997
9000
  lastUsedAt: z.ZodNullable<z.ZodString>;
8998
- expiresAt: z.ZodNullable<z.ZodString>;
8999
- createdAt: z.ZodString;
9000
- updatedAt: z.ZodString;
9001
9001
  }, {
9002
9002
  out: {};
9003
9003
  in: {};
@@ -9006,10 +9006,10 @@ declare const ApiKeyResponse: z.ZodObject<{
9006
9006
  declare const CredentialReferenceResponse: z.ZodObject<{
9007
9007
  data: z.ZodObject<{
9008
9008
  id: z.ZodString;
9009
- createdAt: z.ZodString;
9010
- updatedAt: z.ZodString;
9011
9009
  credentialStoreId: z.ZodString;
9012
9010
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9011
+ createdAt: z.ZodString;
9012
+ updatedAt: z.ZodString;
9013
9013
  type: z.ZodEnum<{
9014
9014
  readonly memory: "memory";
9015
9015
  readonly keychain: "keychain";
@@ -9284,22 +9284,22 @@ declare const FunctionResponse: z.ZodObject<{
9284
9284
  }, z.core.$strip>;
9285
9285
  declare const FunctionToolResponse: z.ZodObject<{
9286
9286
  data: z.ZodObject<{
9287
- id: z.ZodString;
9288
9287
  name: z.ZodString;
9289
- description: z.ZodNullable<z.ZodString>;
9290
- agentId: z.ZodString;
9288
+ id: z.ZodString;
9291
9289
  createdAt: z.ZodString;
9292
9290
  updatedAt: z.ZodString;
9291
+ description: z.ZodNullable<z.ZodString>;
9292
+ agentId: z.ZodString;
9293
9293
  functionId: z.ZodString;
9294
9294
  }, z.core.$strip>;
9295
9295
  }, z.core.$strip>;
9296
9296
  declare const DataComponentResponse: z.ZodObject<{
9297
9297
  data: z.ZodObject<{
9298
- id: z.ZodString;
9299
9298
  name: z.ZodString;
9300
- description: z.ZodString;
9299
+ id: z.ZodString;
9301
9300
  createdAt: z.ZodString;
9302
9301
  updatedAt: z.ZodString;
9302
+ description: z.ZodString;
9303
9303
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9304
9304
  preview: z.ZodNullable<z.ZodType<{
9305
9305
  code: string;
@@ -9318,11 +9318,11 @@ declare const DataComponentResponse: z.ZodObject<{
9318
9318
  }, z.core.$strip>;
9319
9319
  declare const ArtifactComponentResponse: z.ZodObject<{
9320
9320
  data: z.ZodObject<{
9321
- id: z.ZodString;
9322
9321
  name: z.ZodString;
9323
- description: z.ZodString;
9322
+ id: z.ZodString;
9324
9323
  createdAt: z.ZodString;
9325
9324
  updatedAt: z.ZodString;
9325
+ description: z.ZodString;
9326
9326
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9327
9327
  }, z.core.$strip>;
9328
9328
  }, z.core.$strip>;
@@ -9339,21 +9339,21 @@ declare const SubAgentRelationResponse: z.ZodObject<{
9339
9339
  }, z.core.$strip>;
9340
9340
  declare const SubAgentToolRelationResponse: z.ZodObject<{
9341
9341
  data: z.ZodObject<{
9342
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9342
9343
  id: z.ZodString;
9343
9344
  createdAt: z.ZodString;
9344
9345
  updatedAt: z.ZodString;
9345
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9346
- toolId: z.ZodString;
9347
9346
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9348
9347
  subAgentId: z.ZodString;
9348
+ toolId: z.ZodString;
9349
9349
  }, z.core.$strip>;
9350
9350
  }, z.core.$strip>;
9351
9351
  declare const ConversationResponse: z.ZodObject<{
9352
9352
  data: z.ZodObject<{
9353
9353
  id: z.ZodString;
9354
- title: z.ZodNullable<z.ZodString>;
9355
9354
  createdAt: z.ZodString;
9356
9355
  updatedAt: z.ZodString;
9356
+ title: z.ZodNullable<z.ZodString>;
9357
9357
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
9358
9358
  userId: z.ZodNullable<z.ZodString>;
9359
9359
  activeSubAgentId: z.ZodString;
@@ -9383,11 +9383,11 @@ declare const MessageResponse: z.ZodObject<{
9383
9383
  }, z.core.$strip>;
9384
9384
  declare const ProjectListResponse: z.ZodObject<{
9385
9385
  data: z.ZodArray<z.ZodObject<{
9386
- id: z.ZodString;
9387
9386
  name: z.ZodString;
9388
- description: z.ZodString;
9387
+ id: z.ZodString;
9389
9388
  createdAt: z.ZodString;
9390
9389
  updatedAt: z.ZodString;
9390
+ description: z.ZodString;
9391
9391
  models: z.ZodNullable<z.ZodType<{
9392
9392
  base: {
9393
9393
  model?: string | undefined;
@@ -9467,12 +9467,11 @@ declare const ProjectListResponse: z.ZodObject<{
9467
9467
  }, z.core.$strip>;
9468
9468
  declare const SubAgentListResponse: z.ZodObject<{
9469
9469
  data: z.ZodArray<z.ZodObject<{
9470
- id: z.ZodString;
9471
9470
  name: z.ZodString;
9472
- description: z.ZodString;
9473
- prompt: z.ZodString;
9471
+ id: z.ZodString;
9474
9472
  createdAt: z.ZodString;
9475
9473
  updatedAt: z.ZodString;
9474
+ description: z.ZodString;
9476
9475
  models: z.ZodNullable<z.ZodType<{
9477
9476
  base?: {
9478
9477
  model?: string | undefined;
@@ -9535,6 +9534,7 @@ declare const SubAgentListResponse: z.ZodObject<{
9535
9534
  }, {
9536
9535
  stepCountIs?: number | undefined;
9537
9536
  }>>>;
9537
+ prompt: z.ZodString;
9538
9538
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
9539
9539
  }, z.core.$strip>>;
9540
9540
  pagination: z.ZodObject<{
@@ -9546,12 +9546,11 @@ declare const SubAgentListResponse: z.ZodObject<{
9546
9546
  }, z.core.$strip>;
9547
9547
  declare const AgentListResponse: z.ZodObject<{
9548
9548
  data: z.ZodArray<z.ZodObject<{
9549
- id: z.ZodString;
9550
9549
  name: z.ZodString;
9551
- description: z.ZodNullable<z.ZodString>;
9552
- prompt: z.ZodNullable<z.ZodString>;
9550
+ id: z.ZodString;
9553
9551
  createdAt: z.ZodString;
9554
9552
  updatedAt: z.ZodString;
9553
+ description: z.ZodNullable<z.ZodString>;
9555
9554
  models: z.ZodNullable<z.ZodType<{
9556
9555
  base?: {
9557
9556
  model?: string | undefined;
@@ -9616,6 +9615,7 @@ declare const AgentListResponse: z.ZodObject<{
9616
9615
  }>>>;
9617
9616
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
9618
9617
  contextConfigId: z.ZodNullable<z.ZodString>;
9618
+ prompt: z.ZodNullable<z.ZodString>;
9619
9619
  statusUpdates: z.ZodNullable<z.ZodType<{
9620
9620
  enabled?: boolean | undefined;
9621
9621
  numEvents?: number | undefined;
@@ -9683,9 +9683,14 @@ declare const AgentListResponse: z.ZodObject<{
9683
9683
  }, z.core.$strip>;
9684
9684
  declare const ToolListResponse: z.ZodObject<{
9685
9685
  data: z.ZodArray<z.ZodObject<{
9686
- id: z.ZodString;
9687
9686
  name: z.ZodString;
9687
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9688
+ id: z.ZodString;
9689
+ createdAt: z.ZodString;
9690
+ updatedAt: z.ZodString;
9688
9691
  description: z.ZodNullable<z.ZodString>;
9692
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
9693
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9689
9694
  config: z.ZodType<{
9690
9695
  type: "mcp";
9691
9696
  mcp: ToolMcpConfig;
@@ -9699,11 +9704,6 @@ declare const ToolListResponse: z.ZodObject<{
9699
9704
  type: "mcp";
9700
9705
  mcp: ToolMcpConfig;
9701
9706
  }>>;
9702
- credentialReferenceId: z.ZodNullable<z.ZodString>;
9703
- createdAt: z.ZodString;
9704
- updatedAt: z.ZodString;
9705
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9706
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9707
9707
  imageUrl: z.ZodNullable<z.ZodString>;
9708
9708
  lastError: z.ZodNullable<z.ZodString>;
9709
9709
  }, z.core.$strip>>;
@@ -9716,14 +9716,14 @@ declare const ToolListResponse: z.ZodObject<{
9716
9716
  }, z.core.$strip>;
9717
9717
  declare const ExternalAgentListResponse: z.ZodObject<{
9718
9718
  data: z.ZodArray<z.ZodObject<{
9719
- id: z.ZodString;
9720
9719
  name: z.ZodString;
9721
- description: z.ZodString;
9722
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9720
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
9721
+ id: z.ZodString;
9723
9722
  createdAt: z.ZodString;
9724
9723
  updatedAt: z.ZodString;
9724
+ description: z.ZodString;
9725
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9725
9726
  baseUrl: z.ZodString;
9726
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
9727
9727
  }, z.core.$strip>>;
9728
9728
  pagination: z.ZodObject<{
9729
9729
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -9749,15 +9749,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
9749
9749
  }, z.core.$strip>;
9750
9750
  declare const ApiKeyListResponse: z.ZodObject<{
9751
9751
  data: z.ZodArray<z.ZodObject<{
9752
- id: z.ZodString;
9753
9752
  name: z.ZodNullable<z.ZodString>;
9753
+ id: z.ZodString;
9754
+ createdAt: z.ZodString;
9755
+ updatedAt: z.ZodString;
9754
9756
  agentId: z.ZodString;
9757
+ expiresAt: z.ZodNullable<z.ZodString>;
9755
9758
  publicId: z.ZodString;
9756
9759
  keyPrefix: z.ZodString;
9757
9760
  lastUsedAt: z.ZodNullable<z.ZodString>;
9758
- expiresAt: z.ZodNullable<z.ZodString>;
9759
- createdAt: z.ZodString;
9760
- updatedAt: z.ZodString;
9761
9761
  }, {
9762
9762
  out: {};
9763
9763
  in: {};
@@ -9772,10 +9772,10 @@ declare const ApiKeyListResponse: z.ZodObject<{
9772
9772
  declare const CredentialReferenceListResponse: z.ZodObject<{
9773
9773
  data: z.ZodArray<z.ZodObject<{
9774
9774
  id: z.ZodString;
9775
- createdAt: z.ZodString;
9776
- updatedAt: z.ZodString;
9777
9775
  credentialStoreId: z.ZodString;
9778
9776
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9777
+ createdAt: z.ZodString;
9778
+ updatedAt: z.ZodString;
9779
9779
  type: z.ZodEnum<{
9780
9780
  readonly memory: "memory";
9781
9781
  readonly keychain: "keychain";
@@ -10062,12 +10062,12 @@ declare const FunctionListResponse: z.ZodObject<{
10062
10062
  }, z.core.$strip>;
10063
10063
  declare const FunctionToolListResponse: z.ZodObject<{
10064
10064
  data: z.ZodArray<z.ZodObject<{
10065
- id: z.ZodString;
10066
10065
  name: z.ZodString;
10067
- description: z.ZodNullable<z.ZodString>;
10068
- agentId: z.ZodString;
10066
+ id: z.ZodString;
10069
10067
  createdAt: z.ZodString;
10070
10068
  updatedAt: z.ZodString;
10069
+ description: z.ZodNullable<z.ZodString>;
10070
+ agentId: z.ZodString;
10071
10071
  functionId: z.ZodString;
10072
10072
  }, z.core.$strip>>;
10073
10073
  pagination: z.ZodObject<{
@@ -10079,11 +10079,11 @@ declare const FunctionToolListResponse: z.ZodObject<{
10079
10079
  }, z.core.$strip>;
10080
10080
  declare const DataComponentListResponse: z.ZodObject<{
10081
10081
  data: z.ZodArray<z.ZodObject<{
10082
- id: z.ZodString;
10083
10082
  name: z.ZodString;
10084
- description: z.ZodString;
10083
+ id: z.ZodString;
10085
10084
  createdAt: z.ZodString;
10086
10085
  updatedAt: z.ZodString;
10086
+ description: z.ZodString;
10087
10087
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10088
10088
  preview: z.ZodNullable<z.ZodType<{
10089
10089
  code: string;
@@ -10108,11 +10108,11 @@ declare const DataComponentListResponse: z.ZodObject<{
10108
10108
  }, z.core.$strip>;
10109
10109
  declare const ArtifactComponentListResponse: z.ZodObject<{
10110
10110
  data: z.ZodArray<z.ZodObject<{
10111
- id: z.ZodString;
10112
10111
  name: z.ZodString;
10113
- description: z.ZodString;
10112
+ id: z.ZodString;
10114
10113
  createdAt: z.ZodString;
10115
10114
  updatedAt: z.ZodString;
10115
+ description: z.ZodString;
10116
10116
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10117
10117
  }, z.core.$strip>>;
10118
10118
  pagination: z.ZodObject<{
@@ -10141,13 +10141,13 @@ declare const SubAgentRelationListResponse: z.ZodObject<{
10141
10141
  }, z.core.$strip>;
10142
10142
  declare const SubAgentToolRelationListResponse: z.ZodObject<{
10143
10143
  data: z.ZodArray<z.ZodObject<{
10144
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10144
10145
  id: z.ZodString;
10145
10146
  createdAt: z.ZodString;
10146
10147
  updatedAt: z.ZodString;
10147
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10148
- toolId: z.ZodString;
10149
10148
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10150
10149
  subAgentId: z.ZodString;
10150
+ toolId: z.ZodString;
10151
10151
  }, z.core.$strip>>;
10152
10152
  pagination: z.ZodObject<{
10153
10153
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -10159,9 +10159,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
10159
10159
  declare const ConversationListResponse: z.ZodObject<{
10160
10160
  data: z.ZodArray<z.ZodObject<{
10161
10161
  id: z.ZodString;
10162
- title: z.ZodNullable<z.ZodString>;
10163
10162
  createdAt: z.ZodString;
10164
10163
  updatedAt: z.ZodString;
10164
+ title: z.ZodNullable<z.ZodString>;
10165
10165
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
10166
10166
  userId: z.ZodNullable<z.ZodString>;
10167
10167
  activeSubAgentId: z.ZodString;