@inkeep/agents-core 0.19.2 → 0.19.4

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.
@@ -787,12 +787,11 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
787
787
  in: {};
788
788
  }>;
789
789
  declare const SubAgentApiSelectSchema: z.ZodObject<{
790
- id: z.ZodString;
791
790
  name: z.ZodString;
792
- description: z.ZodString;
793
- prompt: z.ZodString;
791
+ id: z.ZodString;
794
792
  createdAt: z.ZodString;
795
793
  updatedAt: z.ZodString;
794
+ description: z.ZodString;
796
795
  models: z.ZodNullable<z.ZodType<{
797
796
  base?: {
798
797
  model?: string | undefined;
@@ -855,15 +854,15 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
855
854
  }, {
856
855
  stepCountIs?: number | undefined;
857
856
  }>>>;
857
+ prompt: z.ZodString;
858
858
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
859
859
  }, z.core.$strip>;
860
860
  declare const SubAgentApiInsertSchema: z.ZodObject<{
861
- id: z.ZodString;
862
861
  name: z.ZodString;
863
- description: z.ZodString;
864
- prompt: z.ZodString;
862
+ id: z.ZodString;
865
863
  createdAt: z.ZodOptional<z.ZodString>;
866
864
  updatedAt: z.ZodOptional<z.ZodString>;
865
+ description: z.ZodString;
867
866
  models: z.ZodOptional<z.ZodObject<{
868
867
  base: z.ZodOptional<z.ZodObject<{
869
868
  model: z.ZodOptional<z.ZodString>;
@@ -887,15 +886,15 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
887
886
  }, {
888
887
  stepCountIs?: number | undefined;
889
888
  }>>>>;
889
+ prompt: z.ZodString;
890
890
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
891
891
  }, z.core.$strip>;
892
892
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
893
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
894
893
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
895
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
896
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
894
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
897
895
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
898
896
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
897
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
899
898
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
900
899
  base: z.ZodOptional<z.ZodObject<{
901
900
  model: z.ZodOptional<z.ZodString>;
@@ -919,6 +918,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
919
918
  }, {
920
919
  stepCountIs?: number | undefined;
921
920
  }>>>>>>;
921
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
922
922
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
923
923
  }, z.core.$strip>;
924
924
  declare const SubAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -1198,9 +1198,9 @@ declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{
1198
1198
  }>;
1199
1199
  declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1200
1200
  id: z.ZodString;
1201
- agentId: z.ZodString;
1202
1201
  createdAt: z.ZodOptional<z.ZodString>;
1203
1202
  updatedAt: z.ZodOptional<z.ZodString>;
1203
+ agentId: z.ZodString;
1204
1204
  sourceSubAgentId: z.ZodString;
1205
1205
  targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1206
1206
  externalSubAgentId: z.ZodString;
@@ -1782,12 +1782,11 @@ declare const AgentUpdateSchema: z.ZodObject<{
1782
1782
  in: {};
1783
1783
  }>;
1784
1784
  declare const AgentApiSelectSchema: z.ZodObject<{
1785
- id: z.ZodString;
1786
1785
  name: z.ZodString;
1787
- description: z.ZodNullable<z.ZodString>;
1788
- prompt: z.ZodNullable<z.ZodString>;
1786
+ id: z.ZodString;
1789
1787
  createdAt: z.ZodString;
1790
1788
  updatedAt: z.ZodString;
1789
+ description: z.ZodNullable<z.ZodString>;
1791
1790
  models: z.ZodNullable<z.ZodType<{
1792
1791
  base?: {
1793
1792
  model?: string | undefined;
@@ -1852,6 +1851,7 @@ declare const AgentApiSelectSchema: z.ZodObject<{
1852
1851
  }>>>;
1853
1852
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
1854
1853
  contextConfigId: z.ZodNullable<z.ZodString>;
1854
+ prompt: z.ZodNullable<z.ZodString>;
1855
1855
  statusUpdates: z.ZodNullable<z.ZodType<{
1856
1856
  enabled?: boolean | undefined;
1857
1857
  numEvents?: number | undefined;
@@ -1912,10 +1912,9 @@ declare const AgentApiSelectSchema: z.ZodObject<{
1912
1912
  }, z.core.$strip>;
1913
1913
  declare const AgentApiInsertSchema: z.ZodObject<{
1914
1914
  name: z.ZodString;
1915
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1916
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1917
1915
  createdAt: z.ZodOptional<z.ZodString>;
1918
1916
  updatedAt: z.ZodOptional<z.ZodString>;
1917
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1919
1918
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
1920
1919
  base?: {
1921
1920
  model?: string | undefined;
@@ -1980,6 +1979,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
1980
1979
  }>>>>;
1981
1980
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1982
1981
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1982
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1983
1983
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
1984
1984
  enabled?: boolean | undefined;
1985
1985
  numEvents?: number | undefined;
@@ -2040,12 +2040,11 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2040
2040
  id: z.ZodString;
2041
2041
  }, z.core.$strip>;
2042
2042
  declare const AgentApiUpdateSchema: z.ZodObject<{
2043
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2044
2043
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2045
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2046
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2044
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2047
2045
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2048
2046
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2047
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2049
2048
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2050
2049
  base?: {
2051
2050
  model?: string | undefined;
@@ -2110,6 +2109,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2110
2109
  }>>>>>>;
2111
2110
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2112
2111
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2112
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2113
2113
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2114
2114
  enabled?: boolean | undefined;
2115
2115
  numEvents?: number | undefined;
@@ -2394,9 +2394,9 @@ declare const TaskUpdateSchema: z.ZodObject<{
2394
2394
  }>;
2395
2395
  declare const TaskApiSelectSchema: z.ZodObject<{
2396
2396
  id: z.ZodString;
2397
- agentId: z.ZodString;
2398
2397
  createdAt: z.ZodString;
2399
2398
  updatedAt: z.ZodString;
2399
+ agentId: z.ZodString;
2400
2400
  status: z.ZodString;
2401
2401
  metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
2402
2402
  contextId: z.ZodString;
@@ -2404,9 +2404,9 @@ declare const TaskApiSelectSchema: z.ZodObject<{
2404
2404
  }, z.core.$strip>;
2405
2405
  declare const TaskApiInsertSchema: z.ZodObject<{
2406
2406
  id: z.ZodString;
2407
- agentId: z.ZodString;
2408
2407
  createdAt: z.ZodOptional<z.ZodString>;
2409
2408
  updatedAt: z.ZodOptional<z.ZodString>;
2409
+ agentId: z.ZodString;
2410
2410
  status: z.ZodString;
2411
2411
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
2412
2412
  conversationId: z.ZodOptional<z.ZodString>;
@@ -2415,9 +2415,9 @@ declare const TaskApiInsertSchema: z.ZodObject<{
2415
2415
  }, z.core.$strip>;
2416
2416
  declare const TaskApiUpdateSchema: z.ZodObject<{
2417
2417
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2418
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2419
2418
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2420
2419
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2420
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2421
2421
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2422
2422
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
2423
2423
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -3166,9 +3166,9 @@ declare const ConversationUpdateSchema: z.ZodObject<{
3166
3166
  }>;
3167
3167
  declare const ConversationApiSelectSchema: z.ZodObject<{
3168
3168
  id: z.ZodString;
3169
- title: z.ZodNullable<z.ZodString>;
3170
3169
  createdAt: z.ZodString;
3171
3170
  updatedAt: z.ZodString;
3171
+ title: z.ZodNullable<z.ZodString>;
3172
3172
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
3173
3173
  userId: z.ZodNullable<z.ZodString>;
3174
3174
  activeSubAgentId: z.ZodString;
@@ -3176,9 +3176,9 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
3176
3176
  }, z.core.$strip>;
3177
3177
  declare const ConversationApiInsertSchema: z.ZodObject<{
3178
3178
  id: z.ZodString;
3179
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3180
3179
  createdAt: z.ZodOptional<z.ZodString>;
3181
3180
  updatedAt: z.ZodOptional<z.ZodString>;
3181
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3182
3182
  contextConfigId: z.ZodOptional<z.ZodString>;
3183
3183
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
3184
3184
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3187,9 +3187,9 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
3187
3187
  }, z.core.$strip>;
3188
3188
  declare const ConversationApiUpdateSchema: z.ZodObject<{
3189
3189
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3190
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3191
3190
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3192
3191
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3192
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3193
3193
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3194
3194
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
3195
3195
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -4177,8 +4177,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
4177
4177
  in: {};
4178
4178
  }>;
4179
4179
  declare const ContextCacheApiSelectSchema: 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.ZodString;
4183
4183
  updatedAt: z.ZodString;
4184
4184
  contextConfigId: z.ZodString;
@@ -4190,8 +4190,8 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
4190
4190
  fetchDurationMs: z.ZodNullable<z.ZodInt>;
4191
4191
  }, z.core.$strip>;
4192
4192
  declare const ContextCacheApiInsertSchema: z.ZodObject<{
4193
- id: z.ZodString;
4194
4193
  value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4194
+ id: z.ZodString;
4195
4195
  createdAt: z.ZodOptional<z.ZodString>;
4196
4196
  updatedAt: z.ZodOptional<z.ZodString>;
4197
4197
  contextConfigId: z.ZodString;
@@ -4203,8 +4203,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
4203
4203
  fetchDurationMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4204
4204
  }, z.core.$strip>;
4205
4205
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
4206
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4207
4206
  value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
4207
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4208
4208
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4209
4209
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4210
4210
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4383,10 +4383,10 @@ declare const DataComponentInsertSchema: z.ZodObject<{
4383
4383
  in: {};
4384
4384
  }>;
4385
4385
  declare const DataComponentBaseSchema: z.ZodObject<{
4386
- tenantId: z.ZodString;
4387
- projectId: z.ZodString;
4388
- id: z.ZodString;
4389
4386
  name: z.ZodString;
4387
+ id: z.ZodString;
4388
+ projectId: z.ZodString;
4389
+ tenantId: z.ZodString;
4390
4390
  description: z.ZodString;
4391
4391
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4392
4392
  }, {
@@ -4407,27 +4407,27 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
4407
4407
  in: {};
4408
4408
  }>;
4409
4409
  declare const DataComponentApiSelectSchema: z.ZodObject<{
4410
- id: z.ZodString;
4411
4410
  name: z.ZodString;
4412
- description: z.ZodString;
4411
+ id: z.ZodString;
4413
4412
  createdAt: z.ZodString;
4414
4413
  updatedAt: z.ZodString;
4414
+ description: z.ZodString;
4415
4415
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
4416
4416
  }, z.core.$strip>;
4417
4417
  declare const DataComponentApiInsertSchema: z.ZodObject<{
4418
- id: z.ZodString;
4419
4418
  name: z.ZodString;
4420
- description: z.ZodString;
4419
+ id: z.ZodString;
4421
4420
  createdAt: z.ZodOptional<z.ZodString>;
4422
4421
  updatedAt: z.ZodOptional<z.ZodString>;
4422
+ description: z.ZodString;
4423
4423
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4424
4424
  }, z.core.$strip>;
4425
4425
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
4426
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4427
4426
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4428
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4427
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4429
4428
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4430
4429
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4430
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4431
4431
  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>>>>>>>;
4432
4432
  }, z.core.$strip>;
4433
4433
  declare const SubAgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -4913,16 +4913,16 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
4913
4913
  in: {};
4914
4914
  }>;
4915
4915
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
4916
- id: z.ZodString;
4917
4916
  name: z.ZodString;
4918
- description: z.ZodString;
4917
+ id: z.ZodString;
4919
4918
  createdAt: z.ZodString;
4920
4919
  updatedAt: z.ZodString;
4920
+ description: z.ZodString;
4921
4921
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
4922
4922
  }, z.core.$strip>;
4923
4923
  declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
4924
- id: z.ZodString;
4925
4924
  name: z.ZodString;
4925
+ id: z.ZodString;
4926
4926
  description: z.ZodString;
4927
4927
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4928
4928
  }, {
@@ -4930,11 +4930,11 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
4930
4930
  in: {};
4931
4931
  }>;
4932
4932
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
4933
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4934
4933
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4935
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4934
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4936
4935
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4937
4936
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4937
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4938
4938
  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>>>>>>>;
4939
4939
  }, z.core.$strip>;
4940
4940
  declare const SubAgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -5165,42 +5165,41 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
5165
5165
  in: {};
5166
5166
  }>;
5167
5167
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
5168
- id: z.ZodString;
5169
5168
  name: z.ZodString;
5170
- description: z.ZodString;
5171
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5169
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5170
+ id: z.ZodString;
5172
5171
  createdAt: z.ZodString;
5173
5172
  updatedAt: z.ZodString;
5173
+ description: z.ZodString;
5174
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5174
5175
  baseUrl: z.ZodString;
5175
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5176
5176
  }, z.core.$strip>;
5177
5177
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
5178
- id: z.ZodString;
5179
5178
  name: z.ZodString;
5180
- description: z.ZodString;
5181
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5179
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
5180
+ id: z.ZodString;
5182
5181
  createdAt: z.ZodOptional<z.ZodString>;
5183
5182
  updatedAt: z.ZodOptional<z.ZodString>;
5183
+ description: z.ZodString;
5184
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5184
5185
  baseUrl: z.ZodString;
5185
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
5186
5186
  }, z.core.$strip>;
5187
5187
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
5188
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5189
5188
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5190
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5191
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5189
+ 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>>>>>>>;
5190
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5192
5191
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5193
5192
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5193
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5194
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5194
5195
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5195
- 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>>>>>>>;
5196
5196
  }, z.core.$strip>;
5197
5197
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5198
- id: z.ZodString;
5199
5198
  name: z.ZodString;
5200
- description: z.ZodString;
5201
- prompt: z.ZodString;
5199
+ id: z.ZodString;
5202
5200
  createdAt: z.ZodString;
5203
5201
  updatedAt: z.ZodString;
5202
+ description: z.ZodString;
5204
5203
  models: z.ZodNullable<z.ZodType<{
5205
5204
  base?: {
5206
5205
  model?: string | undefined;
@@ -5263,17 +5262,18 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5263
5262
  }, {
5264
5263
  stepCountIs?: number | undefined;
5265
5264
  }>>>;
5265
+ prompt: z.ZodString;
5266
5266
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
5267
5267
  type: z.ZodLiteral<"internal">;
5268
5268
  }, z.core.$strip>, z.ZodObject<{
5269
- id: z.ZodString;
5270
5269
  name: z.ZodString;
5271
- description: z.ZodString;
5272
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5270
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5271
+ id: z.ZodString;
5273
5272
  createdAt: z.ZodString;
5274
5273
  updatedAt: z.ZodString;
5274
+ description: z.ZodString;
5275
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5275
5276
  baseUrl: z.ZodString;
5276
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5277
5277
  type: z.ZodLiteral<"external">;
5278
5278
  }, z.core.$strip>], "type">;
5279
5279
  declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -5525,24 +5525,24 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
5525
5525
  }>;
5526
5526
  declare const ApiKeyUpdateSchema: z.ZodObject<{
5527
5527
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5528
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5528
5529
  agentId: z.ZodOptional<z.ZodString>;
5529
5530
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5530
5531
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5531
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5532
5532
  }, {
5533
5533
  out: {};
5534
5534
  in: {};
5535
5535
  }>;
5536
5536
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
5537
- id: z.ZodString;
5538
5537
  name: z.ZodNullable<z.ZodString>;
5538
+ id: z.ZodString;
5539
+ createdAt: z.ZodString;
5540
+ updatedAt: z.ZodString;
5539
5541
  agentId: z.ZodString;
5540
5542
  publicId: z.ZodString;
5541
5543
  keyPrefix: z.ZodString;
5542
5544
  lastUsedAt: z.ZodNullable<z.ZodString>;
5543
5545
  expiresAt: z.ZodNullable<z.ZodString>;
5544
- createdAt: z.ZodString;
5545
- updatedAt: z.ZodString;
5546
5546
  }, {
5547
5547
  out: {};
5548
5548
  in: {};
@@ -5550,15 +5550,15 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
5550
5550
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
5551
5551
  data: z.ZodObject<{
5552
5552
  apiKey: z.ZodObject<{
5553
- id: z.ZodString;
5554
5553
  name: z.ZodNullable<z.ZodString>;
5554
+ id: z.ZodString;
5555
+ createdAt: z.ZodString;
5556
+ updatedAt: z.ZodString;
5555
5557
  agentId: z.ZodString;
5556
5558
  publicId: z.ZodString;
5557
5559
  keyPrefix: z.ZodString;
5558
5560
  lastUsedAt: z.ZodNullable<z.ZodString>;
5559
5561
  expiresAt: z.ZodNullable<z.ZodString>;
5560
- createdAt: z.ZodString;
5561
- updatedAt: z.ZodString;
5562
5562
  }, {
5563
5563
  out: {};
5564
5564
  in: {};
@@ -5568,20 +5568,20 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
5568
5568
  }, z.core.$strip>;
5569
5569
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
5570
5570
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5571
- agentId: z.ZodString;
5572
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5573
5571
  createdAt: z.ZodOptional<z.ZodString>;
5574
5572
  updatedAt: z.ZodOptional<z.ZodString>;
5573
+ agentId: z.ZodString;
5574
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5575
5575
  }, {
5576
5576
  out: {};
5577
5577
  in: {};
5578
5578
  }>;
5579
5579
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
5580
5580
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5581
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5581
5582
  agentId: z.ZodOptional<z.ZodString>;
5582
5583
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5583
5584
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5584
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5585
5585
  }, {
5586
5586
  out: {};
5587
5587
  in: {};
@@ -5624,10 +5624,10 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
5624
5624
  }>;
5625
5625
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5626
5626
  id: z.ZodString;
5627
- createdAt: z.ZodString;
5628
- updatedAt: z.ZodString;
5629
5627
  credentialStoreId: z.ZodString;
5630
5628
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5629
+ createdAt: z.ZodString;
5630
+ updatedAt: z.ZodString;
5631
5631
  type: z.ZodEnum<{
5632
5632
  readonly memory: "memory";
5633
5633
  readonly keychain: "keychain";
@@ -5891,10 +5891,10 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5891
5891
  }, z.core.$strip>;
5892
5892
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
5893
5893
  id: z.ZodString;
5894
- createdAt: z.ZodOptional<z.ZodString>;
5895
- updatedAt: z.ZodOptional<z.ZodString>;
5896
5894
  credentialStoreId: z.ZodString;
5897
5895
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5896
+ createdAt: z.ZodOptional<z.ZodString>;
5897
+ updatedAt: z.ZodOptional<z.ZodString>;
5898
5898
  type: z.ZodEnum<{
5899
5899
  readonly memory: "memory";
5900
5900
  readonly keychain: "keychain";
@@ -5903,10 +5903,10 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
5903
5903
  }, z.core.$strip>;
5904
5904
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
5905
5905
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5906
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5907
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5908
5906
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5909
5907
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
5908
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5909
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5910
5910
  type: z.ZodOptional<z.ZodEnum<{
5911
5911
  readonly memory: "memory";
5912
5912
  readonly keychain: "keychain";
@@ -5962,9 +5962,9 @@ declare const McpToolSchema: z.ZodObject<{
5962
5962
  in: {};
5963
5963
  }>;
5964
5964
  declare const MCPToolConfigSchema: z.ZodObject<{
5965
- id: z.ZodString;
5966
5965
  name: z.ZodString;
5967
5966
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
5967
+ id: z.ZodString;
5968
5968
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
5969
5969
  imageUrl: z.ZodOptional<z.ZodString>;
5970
5970
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5994,10 +5994,10 @@ declare const MCPToolConfigSchema: z.ZodObject<{
5994
5994
  }, z.core.$strip>>;
5995
5995
  credential: z.ZodOptional<z.ZodObject<{
5996
5996
  id: z.ZodString;
5997
- createdAt: z.ZodOptional<z.ZodString>;
5998
- updatedAt: z.ZodOptional<z.ZodString>;
5999
5997
  credentialStoreId: z.ZodString;
6000
5998
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5999
+ createdAt: z.ZodOptional<z.ZodString>;
6000
+ updatedAt: z.ZodOptional<z.ZodString>;
6001
6001
  type: z.ZodEnum<{
6002
6002
  readonly memory: "memory";
6003
6003
  readonly keychain: "keychain";
@@ -6045,9 +6045,14 @@ declare const ToolUpdateSchema: z.ZodObject<{
6045
6045
  in: {};
6046
6046
  }>;
6047
6047
  declare const ToolApiSelectSchema: z.ZodObject<{
6048
- id: z.ZodString;
6049
6048
  name: z.ZodString;
6049
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
6050
+ id: z.ZodString;
6051
+ createdAt: z.ZodString;
6052
+ updatedAt: z.ZodString;
6050
6053
  description: z.ZodNullable<z.ZodString>;
6054
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
6055
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6051
6056
  config: z.ZodType<{
6052
6057
  type: "mcp";
6053
6058
  mcp: ToolMcpConfig;
@@ -6061,18 +6066,18 @@ declare const ToolApiSelectSchema: z.ZodObject<{
6061
6066
  type: "mcp";
6062
6067
  mcp: ToolMcpConfig;
6063
6068
  }>>;
6064
- credentialReferenceId: z.ZodNullable<z.ZodString>;
6065
- createdAt: z.ZodString;
6066
- updatedAt: z.ZodString;
6067
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
6068
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6069
6069
  imageUrl: z.ZodNullable<z.ZodString>;
6070
6070
  lastError: z.ZodNullable<z.ZodString>;
6071
6071
  }, z.core.$strip>;
6072
6072
  declare const ToolApiInsertSchema: z.ZodObject<{
6073
- id: z.ZodString;
6074
6073
  name: z.ZodString;
6074
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6075
+ id: z.ZodString;
6076
+ createdAt: z.ZodOptional<z.ZodString>;
6077
+ updatedAt: z.ZodOptional<z.ZodString>;
6075
6078
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6079
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6080
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6076
6081
  config: z.ZodObject<{
6077
6082
  type: z.ZodLiteral<"mcp">;
6078
6083
  mcp: z.ZodObject<{
@@ -6092,18 +6097,18 @@ declare const ToolApiInsertSchema: z.ZodObject<{
6092
6097
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6093
6098
  }, z.core.$strip>;
6094
6099
  }, z.core.$strip>;
6095
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6096
- createdAt: z.ZodOptional<z.ZodString>;
6097
- updatedAt: z.ZodOptional<z.ZodString>;
6098
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6099
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6100
6100
  imageUrl: z.ZodOptional<z.ZodString>;
6101
6101
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6102
6102
  }, z.core.$strip>;
6103
6103
  declare const ToolApiUpdateSchema: z.ZodObject<{
6104
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6105
6104
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6105
+ 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>>>>>>>;
6106
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6107
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6108
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6106
6109
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6110
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6111
+ capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
6107
6112
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6108
6113
  type: z.ZodLiteral<"mcp">;
6109
6114
  mcp: z.ZodObject<{
@@ -6123,11 +6128,6 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
6123
6128
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6124
6129
  }, z.core.$strip>;
6125
6130
  }, z.core.$strip>>>;
6126
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6127
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6128
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6129
- 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>>>>>>>;
6130
- capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
6131
6131
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6132
6132
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6133
6133
  }, z.core.$strip>;
@@ -6333,29 +6333,29 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
6333
6333
  in: {};
6334
6334
  }>;
6335
6335
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
6336
- id: z.ZodString;
6337
6336
  name: z.ZodString;
6338
- description: z.ZodNullable<z.ZodString>;
6339
- agentId: z.ZodString;
6337
+ id: z.ZodString;
6340
6338
  createdAt: z.ZodString;
6341
6339
  updatedAt: z.ZodString;
6340
+ description: z.ZodNullable<z.ZodString>;
6341
+ agentId: z.ZodString;
6342
6342
  functionId: z.ZodString;
6343
6343
  }, z.core.$strip>;
6344
6344
  declare const FunctionToolApiInsertSchema: z.ZodObject<{
6345
- id: z.ZodString;
6346
6345
  name: z.ZodString;
6347
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6346
+ id: z.ZodString;
6348
6347
  createdAt: z.ZodOptional<z.ZodString>;
6349
6348
  updatedAt: z.ZodOptional<z.ZodString>;
6349
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6350
6350
  functionId: z.ZodString;
6351
6351
  }, z.core.$strip>;
6352
6352
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
6353
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6354
6353
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6355
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6356
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6354
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6357
6355
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6358
6356
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6357
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6358
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6359
6359
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6360
6360
  }, z.core.$strip>;
6361
6361
  declare const FunctionSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -6601,10 +6601,10 @@ declare const FetchDefinitionSchema: z.ZodObject<{
6601
6601
  defaultValue: z.ZodOptional<z.ZodAny>;
6602
6602
  credential: z.ZodOptional<z.ZodObject<{
6603
6603
  id: z.ZodString;
6604
- createdAt: z.ZodOptional<z.ZodString>;
6605
- updatedAt: z.ZodOptional<z.ZodString>;
6606
6604
  credentialStoreId: z.ZodString;
6607
6605
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6606
+ createdAt: z.ZodOptional<z.ZodString>;
6607
+ updatedAt: z.ZodOptional<z.ZodString>;
6608
6608
  type: z.ZodEnum<{
6609
6609
  readonly memory: "memory";
6610
6610
  readonly keychain: "keychain";
@@ -6626,23 +6626,23 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
6626
6626
  in: {};
6627
6627
  }>;
6628
6628
  declare const ContextConfigInsertSchema: z.ZodObject<{
6629
- tenantId: z.ZodString;
6630
- projectId: z.ZodString;
6631
6629
  id: z.ZodOptional<z.ZodString>;
6632
- agentId: z.ZodString;
6630
+ projectId: z.ZodString;
6631
+ tenantId: z.ZodString;
6633
6632
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6634
6633
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6634
+ agentId: z.ZodString;
6635
6635
  }, {
6636
6636
  out: {};
6637
6637
  in: {};
6638
6638
  }>;
6639
6639
  declare const ContextConfigUpdateSchema: z.ZodObject<{
6640
- tenantId: z.ZodOptional<z.ZodString>;
6641
- projectId: z.ZodOptional<z.ZodString>;
6642
6640
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6643
- agentId: z.ZodOptional<z.ZodString>;
6641
+ projectId: z.ZodOptional<z.ZodString>;
6642
+ tenantId: z.ZodOptional<z.ZodString>;
6644
6643
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6645
6644
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6645
+ agentId: z.ZodOptional<z.ZodString>;
6646
6646
  }, {
6647
6647
  out: {};
6648
6648
  in: {};
@@ -6887,31 +6887,31 @@ declare const SubAgentToolRelationUpdateSchema: z.ZodObject<{
6887
6887
  in: {};
6888
6888
  }>;
6889
6889
  declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
6890
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6890
6891
  id: z.ZodString;
6891
6892
  createdAt: z.ZodString;
6892
6893
  updatedAt: z.ZodString;
6893
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6894
- toolId: z.ZodString;
6895
6894
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6896
6895
  subAgentId: z.ZodString;
6896
+ toolId: z.ZodString;
6897
6897
  }, z.core.$strip>;
6898
6898
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
6899
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
6899
6900
  id: z.ZodString;
6900
6901
  createdAt: z.ZodOptional<z.ZodString>;
6901
6902
  updatedAt: z.ZodOptional<z.ZodString>;
6902
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
6903
- toolId: z.ZodString;
6904
6903
  selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6905
6904
  subAgentId: z.ZodString;
6905
+ toolId: z.ZodString;
6906
6906
  }, z.core.$strip>;
6907
6907
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
6908
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
6908
6909
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6909
6910
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6910
6911
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6911
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
6912
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6913
6912
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
6914
6913
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6914
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6915
6915
  }, z.core.$strip>;
6916
6916
  declare const LedgerArtifactSelectSchema: drizzle_zod.BuildSchema<"select", {
6917
6917
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -7625,12 +7625,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
7625
7625
  in: {};
7626
7626
  }>;
7627
7627
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
7628
- id: z.ZodString;
7629
7628
  type: z.ZodString;
7630
7629
  name: z.ZodNullable<z.ZodString>;
7631
- description: z.ZodNullable<z.ZodString>;
7630
+ id: z.ZodString;
7632
7631
  createdAt: z.ZodString;
7633
7632
  updatedAt: z.ZodString;
7633
+ description: z.ZodNullable<z.ZodString>;
7634
7634
  metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7635
7635
  contextId: z.ZodString;
7636
7636
  visibility: z.ZodNullable<z.ZodString>;
@@ -7643,12 +7643,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
7643
7643
  derivedFrom: z.ZodNullable<z.ZodString>;
7644
7644
  }, z.core.$strip>;
7645
7645
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
7646
- id: z.ZodString;
7647
7646
  type: z.ZodOptional<z.ZodString>;
7648
7647
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7649
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7648
+ id: z.ZodString;
7650
7649
  createdAt: z.ZodOptional<z.ZodString>;
7651
7650
  updatedAt: z.ZodOptional<z.ZodString>;
7651
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7652
7652
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
7653
7653
  contextId: z.ZodString;
7654
7654
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7661,12 +7661,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
7661
7661
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7662
7662
  }, z.core.$strip>;
7663
7663
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
7664
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7665
7664
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7666
7665
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7667
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7666
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7668
7667
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7669
7668
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7669
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7670
7670
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
7671
7671
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7672
7672
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -7709,12 +7709,11 @@ declare const CanUseItemSchema: z.ZodObject<{
7709
7709
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7710
7710
  }, z.core.$strip>;
7711
7711
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
7712
- id: z.ZodString;
7713
7712
  name: z.ZodString;
7714
- description: z.ZodString;
7715
- prompt: z.ZodString;
7713
+ id: z.ZodString;
7716
7714
  createdAt: z.ZodOptional<z.ZodString>;
7717
7715
  updatedAt: z.ZodOptional<z.ZodString>;
7716
+ description: z.ZodString;
7718
7717
  models: z.ZodOptional<z.ZodObject<{
7719
7718
  base: z.ZodOptional<z.ZodObject<{
7720
7719
  model: z.ZodOptional<z.ZodString>;
@@ -7738,6 +7737,7 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
7738
7737
  }, {
7739
7738
  stepCountIs?: number | undefined;
7740
7739
  }>>>>;
7740
+ prompt: z.ZodString;
7741
7741
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7742
7742
  type: z.ZodLiteral<"internal">;
7743
7743
  canUse: z.ZodArray<z.ZodObject<{
@@ -7753,19 +7753,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
7753
7753
  }, z.core.$strip>;
7754
7754
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7755
7755
  name: z.ZodString;
7756
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7757
7756
  createdAt: z.ZodOptional<z.ZodString>;
7758
7757
  updatedAt: z.ZodOptional<z.ZodString>;
7758
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7759
7759
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7760
7760
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7761
7761
  id: z.ZodString;
7762
7762
  subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
7763
- id: z.ZodString;
7764
7763
  name: z.ZodString;
7765
- description: z.ZodString;
7766
- prompt: z.ZodString;
7764
+ id: z.ZodString;
7767
7765
  createdAt: z.ZodOptional<z.ZodString>;
7768
7766
  updatedAt: z.ZodOptional<z.ZodString>;
7767
+ description: z.ZodString;
7769
7768
  models: z.ZodOptional<z.ZodObject<{
7770
7769
  base: z.ZodOptional<z.ZodObject<{
7771
7770
  model: z.ZodOptional<z.ZodString>;
@@ -7789,6 +7788,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7789
7788
  }, {
7790
7789
  stepCountIs?: number | undefined;
7791
7790
  }>>>>;
7791
+ prompt: z.ZodString;
7792
7792
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7793
7793
  type: z.ZodLiteral<"internal">;
7794
7794
  canUse: z.ZodArray<z.ZodObject<{
@@ -7802,19 +7802,24 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7802
7802
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7803
7803
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7804
7804
  }, z.core.$strip>, z.ZodObject<{
7805
- id: z.ZodString;
7806
7805
  name: z.ZodString;
7807
- description: z.ZodString;
7808
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7806
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7807
+ id: z.ZodString;
7809
7808
  createdAt: z.ZodOptional<z.ZodString>;
7810
7809
  updatedAt: z.ZodOptional<z.ZodString>;
7810
+ description: z.ZodString;
7811
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7811
7812
  baseUrl: z.ZodString;
7812
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7813
7813
  }, z.core.$strip>]>>;
7814
7814
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7815
- id: z.ZodString;
7816
7815
  name: z.ZodString;
7816
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7817
+ id: z.ZodString;
7818
+ createdAt: z.ZodOptional<z.ZodString>;
7819
+ updatedAt: z.ZodOptional<z.ZodString>;
7817
7820
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7821
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7822
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
7818
7823
  config: z.ZodObject<{
7819
7824
  type: z.ZodLiteral<"mcp">;
7820
7825
  mcp: z.ZodObject<{
@@ -7834,20 +7839,15 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7834
7839
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
7835
7840
  }, z.core.$strip>;
7836
7841
  }, z.core.$strip>;
7837
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7838
- createdAt: z.ZodOptional<z.ZodString>;
7839
- updatedAt: z.ZodOptional<z.ZodString>;
7840
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7841
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
7842
7842
  imageUrl: z.ZodOptional<z.ZodString>;
7843
7843
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7844
7844
  }, z.core.$strip>>>;
7845
7845
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7846
- id: z.ZodString;
7847
7846
  name: z.ZodString;
7848
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7847
+ id: 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
  functionId: z.ZodString;
7852
7852
  }, z.core.$strip>>>;
7853
7853
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8143,9 +8143,9 @@ declare const ProjectSelectSchema: drizzle_zod.BuildSchema<"select", {
8143
8143
  }>;
8144
8144
  }, undefined, undefined>;
8145
8145
  declare const ProjectInsertSchema: z.ZodObject<{
8146
- tenantId: z.ZodString;
8147
- id: z.ZodString;
8148
8146
  name: z.ZodString;
8147
+ id: z.ZodString;
8148
+ tenantId: z.ZodString;
8149
8149
  description: z.ZodString;
8150
8150
  models: z.ZodObject<{
8151
8151
  base: z.ZodObject<{
@@ -8182,9 +8182,9 @@ declare const ProjectInsertSchema: z.ZodObject<{
8182
8182
  in: {};
8183
8183
  }>;
8184
8184
  declare const ProjectUpdateSchema: z.ZodObject<{
8185
- tenantId: z.ZodOptional<z.ZodString>;
8186
- id: z.ZodOptional<z.ZodString>;
8187
8185
  name: z.ZodOptional<z.ZodString>;
8186
+ id: z.ZodOptional<z.ZodString>;
8187
+ tenantId: z.ZodOptional<z.ZodString>;
8188
8188
  description: z.ZodOptional<z.ZodString>;
8189
8189
  models: z.ZodOptional<z.ZodObject<{
8190
8190
  base: z.ZodObject<{
@@ -8221,11 +8221,11 @@ declare const ProjectUpdateSchema: z.ZodObject<{
8221
8221
  in: {};
8222
8222
  }>;
8223
8223
  declare const ProjectApiSelectSchema: z.ZodObject<{
8224
- id: z.ZodString;
8225
8224
  name: z.ZodString;
8226
- description: z.ZodString;
8225
+ id: z.ZodString;
8227
8226
  createdAt: z.ZodString;
8228
8227
  updatedAt: z.ZodString;
8228
+ description: z.ZodString;
8229
8229
  models: z.ZodNullable<z.ZodType<{
8230
8230
  base: {
8231
8231
  model?: string | undefined;
@@ -8318,8 +8318,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
8318
8318
  in: {};
8319
8319
  }>;
8320
8320
  declare const ProjectApiInsertSchema: z.ZodObject<{
8321
- id: z.ZodString;
8322
8321
  name: z.ZodString;
8322
+ id: z.ZodString;
8323
8323
  description: z.ZodString;
8324
8324
  models: z.ZodObject<{
8325
8325
  base: z.ZodObject<{
@@ -8356,8 +8356,8 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
8356
8356
  in: {};
8357
8357
  }>;
8358
8358
  declare const ProjectApiUpdateSchema: z.ZodObject<{
8359
- id: z.ZodOptional<z.ZodString>;
8360
8359
  name: z.ZodOptional<z.ZodString>;
8360
+ id: z.ZodOptional<z.ZodString>;
8361
8361
  description: z.ZodOptional<z.ZodString>;
8362
8362
  models: z.ZodOptional<z.ZodObject<{
8363
8363
  base: z.ZodObject<{
@@ -8394,8 +8394,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
8394
8394
  in: {};
8395
8395
  }>;
8396
8396
  declare const FullProjectDefinitionSchema: z.ZodObject<{
8397
- id: z.ZodString;
8398
8397
  name: z.ZodString;
8398
+ id: z.ZodString;
8399
8399
  description: z.ZodString;
8400
8400
  models: z.ZodObject<{
8401
8401
  base: z.ZodObject<{
@@ -8429,19 +8429,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8429
8429
  }, z.core.$strip>>;
8430
8430
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
8431
8431
  name: z.ZodString;
8432
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8433
8432
  createdAt: z.ZodOptional<z.ZodString>;
8434
8433
  updatedAt: z.ZodOptional<z.ZodString>;
8434
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8435
8435
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8436
8436
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8437
8437
  id: z.ZodString;
8438
8438
  subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
8439
- id: z.ZodString;
8440
8439
  name: z.ZodString;
8441
- description: z.ZodString;
8442
- prompt: z.ZodString;
8440
+ id: z.ZodString;
8443
8441
  createdAt: z.ZodOptional<z.ZodString>;
8444
8442
  updatedAt: z.ZodOptional<z.ZodString>;
8443
+ description: z.ZodString;
8445
8444
  models: z.ZodOptional<z.ZodObject<{
8446
8445
  base: z.ZodOptional<z.ZodObject<{
8447
8446
  model: z.ZodOptional<z.ZodString>;
@@ -8465,6 +8464,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8465
8464
  }, {
8466
8465
  stepCountIs?: number | undefined;
8467
8466
  }>>>>;
8467
+ prompt: z.ZodString;
8468
8468
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
8469
8469
  type: z.ZodLiteral<"internal">;
8470
8470
  canUse: z.ZodArray<z.ZodObject<{
@@ -8478,19 +8478,24 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8478
8478
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
8479
8479
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
8480
8480
  }, z.core.$strip>, z.ZodObject<{
8481
- id: z.ZodString;
8482
8481
  name: z.ZodString;
8483
- description: z.ZodString;
8484
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8482
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8483
+ id: z.ZodString;
8485
8484
  createdAt: z.ZodOptional<z.ZodString>;
8486
8485
  updatedAt: z.ZodOptional<z.ZodString>;
8486
+ description: z.ZodString;
8487
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8487
8488
  baseUrl: z.ZodString;
8488
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8489
8489
  }, z.core.$strip>]>>;
8490
8490
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8491
- id: z.ZodString;
8492
8491
  name: z.ZodString;
8492
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8493
+ id: z.ZodString;
8494
+ createdAt: z.ZodOptional<z.ZodString>;
8495
+ updatedAt: z.ZodOptional<z.ZodString>;
8493
8496
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8497
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8498
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8494
8499
  config: z.ZodObject<{
8495
8500
  type: z.ZodLiteral<"mcp">;
8496
8501
  mcp: z.ZodObject<{
@@ -8510,20 +8515,15 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8510
8515
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8511
8516
  }, z.core.$strip>;
8512
8517
  }, z.core.$strip>;
8513
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8514
- createdAt: z.ZodOptional<z.ZodString>;
8515
- updatedAt: z.ZodOptional<z.ZodString>;
8516
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8517
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8518
8518
  imageUrl: z.ZodOptional<z.ZodString>;
8519
8519
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8520
8520
  }, z.core.$strip>>>;
8521
8521
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8522
- id: z.ZodString;
8523
8522
  name: z.ZodString;
8524
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8523
+ id: z.ZodString;
8525
8524
  createdAt: z.ZodOptional<z.ZodString>;
8526
8525
  updatedAt: z.ZodOptional<z.ZodString>;
8526
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8527
8527
  functionId: z.ZodString;
8528
8528
  }, z.core.$strip>>>;
8529
8529
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8574,9 +8574,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8574
8574
  prompt: z.ZodOptional<z.ZodString>;
8575
8575
  }, z.core.$strip>>;
8576
8576
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
8577
- id: z.ZodString;
8578
8577
  name: z.ZodString;
8578
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8579
+ id: z.ZodString;
8580
+ createdAt: z.ZodOptional<z.ZodString>;
8581
+ updatedAt: z.ZodOptional<z.ZodString>;
8579
8582
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8583
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8584
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8580
8585
  config: z.ZodObject<{
8581
8586
  type: z.ZodLiteral<"mcp">;
8582
8587
  mcp: z.ZodObject<{
@@ -8596,11 +8601,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8596
8601
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8597
8602
  }, z.core.$strip>;
8598
8603
  }, z.core.$strip>;
8599
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8600
- createdAt: z.ZodOptional<z.ZodString>;
8601
- updatedAt: z.ZodOptional<z.ZodString>;
8602
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8603
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8604
8604
  imageUrl: z.ZodOptional<z.ZodString>;
8605
8605
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8606
8606
  }, z.core.$strip>>;
@@ -8613,16 +8613,16 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8613
8613
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8614
8614
  }, z.core.$strip>>>;
8615
8615
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8616
- id: z.ZodString;
8617
8616
  name: z.ZodString;
8618
- description: z.ZodString;
8617
+ id: z.ZodString;
8619
8618
  createdAt: z.ZodOptional<z.ZodString>;
8620
8619
  updatedAt: z.ZodOptional<z.ZodString>;
8620
+ description: z.ZodString;
8621
8621
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8622
8622
  }, z.core.$strip>>>;
8623
8623
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8624
- id: z.ZodString;
8625
8624
  name: z.ZodString;
8625
+ id: z.ZodString;
8626
8626
  description: z.ZodString;
8627
8627
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8628
8628
  }, {
@@ -8646,10 +8646,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8646
8646
  }, z.core.$strip>>;
8647
8647
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8648
8648
  id: z.ZodString;
8649
- createdAt: z.ZodOptional<z.ZodString>;
8650
- updatedAt: z.ZodOptional<z.ZodString>;
8651
8649
  credentialStoreId: z.ZodString;
8652
8650
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8651
+ createdAt: z.ZodOptional<z.ZodString>;
8652
+ updatedAt: z.ZodOptional<z.ZodString>;
8653
8653
  type: z.ZodEnum<{
8654
8654
  readonly memory: "memory";
8655
8655
  readonly keychain: "keychain";
@@ -8664,11 +8664,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8664
8664
  }>;
8665
8665
  declare const ProjectResponse: z.ZodObject<{
8666
8666
  data: z.ZodObject<{
8667
- id: z.ZodString;
8668
8667
  name: z.ZodString;
8669
- description: z.ZodString;
8668
+ id: z.ZodString;
8670
8669
  createdAt: z.ZodString;
8671
8670
  updatedAt: z.ZodString;
8671
+ description: z.ZodString;
8672
8672
  models: z.ZodNullable<z.ZodType<{
8673
8673
  base: {
8674
8674
  model?: string | undefined;
@@ -8763,12 +8763,11 @@ declare const ProjectResponse: z.ZodObject<{
8763
8763
  }, z.core.$strip>;
8764
8764
  declare const SubAgentResponse: z.ZodObject<{
8765
8765
  data: z.ZodObject<{
8766
- id: z.ZodString;
8767
8766
  name: z.ZodString;
8768
- description: z.ZodString;
8769
- prompt: z.ZodString;
8767
+ id: z.ZodString;
8770
8768
  createdAt: z.ZodString;
8771
8769
  updatedAt: z.ZodString;
8770
+ description: z.ZodString;
8772
8771
  models: z.ZodNullable<z.ZodType<{
8773
8772
  base?: {
8774
8773
  model?: string | undefined;
@@ -8831,17 +8830,17 @@ declare const SubAgentResponse: z.ZodObject<{
8831
8830
  }, {
8832
8831
  stepCountIs?: number | undefined;
8833
8832
  }>>>;
8833
+ prompt: z.ZodString;
8834
8834
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
8835
8835
  }, z.core.$strip>;
8836
8836
  }, z.core.$strip>;
8837
8837
  declare const AgentResponse: z.ZodObject<{
8838
8838
  data: z.ZodObject<{
8839
- id: z.ZodString;
8840
8839
  name: z.ZodString;
8841
- description: z.ZodNullable<z.ZodString>;
8842
- prompt: z.ZodNullable<z.ZodString>;
8840
+ id: z.ZodString;
8843
8841
  createdAt: z.ZodString;
8844
8842
  updatedAt: z.ZodString;
8843
+ description: z.ZodNullable<z.ZodString>;
8845
8844
  models: z.ZodNullable<z.ZodType<{
8846
8845
  base?: {
8847
8846
  model?: string | undefined;
@@ -8906,6 +8905,7 @@ declare const AgentResponse: z.ZodObject<{
8906
8905
  }>>>;
8907
8906
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
8908
8907
  contextConfigId: z.ZodNullable<z.ZodString>;
8908
+ prompt: z.ZodNullable<z.ZodString>;
8909
8909
  statusUpdates: z.ZodNullable<z.ZodType<{
8910
8910
  enabled?: boolean | undefined;
8911
8911
  numEvents?: number | undefined;
@@ -8967,9 +8967,14 @@ declare const AgentResponse: z.ZodObject<{
8967
8967
  }, z.core.$strip>;
8968
8968
  declare const ToolResponse: z.ZodObject<{
8969
8969
  data: z.ZodObject<{
8970
- id: z.ZodString;
8971
8970
  name: z.ZodString;
8971
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
8972
+ id: z.ZodString;
8973
+ createdAt: z.ZodString;
8974
+ updatedAt: z.ZodString;
8972
8975
  description: z.ZodNullable<z.ZodString>;
8976
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
8977
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
8973
8978
  config: z.ZodType<{
8974
8979
  type: "mcp";
8975
8980
  mcp: ToolMcpConfig;
@@ -8983,25 +8988,20 @@ declare const ToolResponse: z.ZodObject<{
8983
8988
  type: "mcp";
8984
8989
  mcp: ToolMcpConfig;
8985
8990
  }>>;
8986
- credentialReferenceId: z.ZodNullable<z.ZodString>;
8987
- createdAt: z.ZodString;
8988
- updatedAt: z.ZodString;
8989
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
8990
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
8991
8991
  imageUrl: z.ZodNullable<z.ZodString>;
8992
8992
  lastError: z.ZodNullable<z.ZodString>;
8993
8993
  }, z.core.$strip>;
8994
8994
  }, z.core.$strip>;
8995
8995
  declare const ExternalAgentResponse: z.ZodObject<{
8996
8996
  data: z.ZodObject<{
8997
- id: z.ZodString;
8998
8997
  name: z.ZodString;
8999
- description: z.ZodString;
9000
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8998
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
8999
+ id: z.ZodString;
9001
9000
  createdAt: z.ZodString;
9002
9001
  updatedAt: z.ZodString;
9002
+ description: z.ZodString;
9003
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9003
9004
  baseUrl: z.ZodString;
9004
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
9005
9005
  }, z.core.$strip>;
9006
9006
  }, z.core.$strip>;
9007
9007
  declare const ContextConfigResponse: z.ZodObject<{
@@ -9015,15 +9015,15 @@ declare const ContextConfigResponse: z.ZodObject<{
9015
9015
  }, z.core.$strip>;
9016
9016
  declare const ApiKeyResponse: z.ZodObject<{
9017
9017
  data: z.ZodObject<{
9018
- id: z.ZodString;
9019
9018
  name: z.ZodNullable<z.ZodString>;
9019
+ id: z.ZodString;
9020
+ createdAt: z.ZodString;
9021
+ updatedAt: z.ZodString;
9020
9022
  agentId: z.ZodString;
9021
9023
  publicId: z.ZodString;
9022
9024
  keyPrefix: z.ZodString;
9023
9025
  lastUsedAt: z.ZodNullable<z.ZodString>;
9024
9026
  expiresAt: z.ZodNullable<z.ZodString>;
9025
- createdAt: z.ZodString;
9026
- updatedAt: z.ZodString;
9027
9027
  }, {
9028
9028
  out: {};
9029
9029
  in: {};
@@ -9032,10 +9032,10 @@ declare const ApiKeyResponse: z.ZodObject<{
9032
9032
  declare const CredentialReferenceResponse: z.ZodObject<{
9033
9033
  data: z.ZodObject<{
9034
9034
  id: z.ZodString;
9035
- createdAt: z.ZodString;
9036
- updatedAt: z.ZodString;
9037
9035
  credentialStoreId: z.ZodString;
9038
9036
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9037
+ createdAt: z.ZodString;
9038
+ updatedAt: z.ZodString;
9039
9039
  type: z.ZodEnum<{
9040
9040
  readonly memory: "memory";
9041
9041
  readonly keychain: "keychain";
@@ -9310,32 +9310,32 @@ declare const FunctionResponse: z.ZodObject<{
9310
9310
  }, z.core.$strip>;
9311
9311
  declare const FunctionToolResponse: z.ZodObject<{
9312
9312
  data: z.ZodObject<{
9313
- id: z.ZodString;
9314
9313
  name: z.ZodString;
9315
- description: z.ZodNullable<z.ZodString>;
9316
- agentId: z.ZodString;
9314
+ id: z.ZodString;
9317
9315
  createdAt: z.ZodString;
9318
9316
  updatedAt: z.ZodString;
9317
+ description: z.ZodNullable<z.ZodString>;
9318
+ agentId: z.ZodString;
9319
9319
  functionId: z.ZodString;
9320
9320
  }, z.core.$strip>;
9321
9321
  }, z.core.$strip>;
9322
9322
  declare const DataComponentResponse: z.ZodObject<{
9323
9323
  data: z.ZodObject<{
9324
- id: z.ZodString;
9325
9324
  name: z.ZodString;
9326
- description: z.ZodString;
9325
+ id: z.ZodString;
9327
9326
  createdAt: z.ZodString;
9328
9327
  updatedAt: z.ZodString;
9328
+ description: z.ZodString;
9329
9329
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9330
9330
  }, z.core.$strip>;
9331
9331
  }, z.core.$strip>;
9332
9332
  declare const ArtifactComponentResponse: z.ZodObject<{
9333
9333
  data: z.ZodObject<{
9334
- id: z.ZodString;
9335
9334
  name: z.ZodString;
9336
- description: z.ZodString;
9335
+ id: z.ZodString;
9337
9336
  createdAt: z.ZodString;
9338
9337
  updatedAt: z.ZodString;
9338
+ description: z.ZodString;
9339
9339
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9340
9340
  }, z.core.$strip>;
9341
9341
  }, z.core.$strip>;
@@ -9352,21 +9352,21 @@ declare const SubAgentRelationResponse: z.ZodObject<{
9352
9352
  }, z.core.$strip>;
9353
9353
  declare const SubAgentToolRelationResponse: z.ZodObject<{
9354
9354
  data: z.ZodObject<{
9355
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9355
9356
  id: z.ZodString;
9356
9357
  createdAt: z.ZodString;
9357
9358
  updatedAt: z.ZodString;
9358
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9359
- toolId: z.ZodString;
9360
9359
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9361
9360
  subAgentId: z.ZodString;
9361
+ toolId: z.ZodString;
9362
9362
  }, z.core.$strip>;
9363
9363
  }, z.core.$strip>;
9364
9364
  declare const ConversationResponse: z.ZodObject<{
9365
9365
  data: z.ZodObject<{
9366
9366
  id: z.ZodString;
9367
- title: z.ZodNullable<z.ZodString>;
9368
9367
  createdAt: z.ZodString;
9369
9368
  updatedAt: z.ZodString;
9369
+ title: z.ZodNullable<z.ZodString>;
9370
9370
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
9371
9371
  userId: z.ZodNullable<z.ZodString>;
9372
9372
  activeSubAgentId: z.ZodString;
@@ -9396,11 +9396,11 @@ declare const MessageResponse: z.ZodObject<{
9396
9396
  }, z.core.$strip>;
9397
9397
  declare const ProjectListResponse: z.ZodObject<{
9398
9398
  data: z.ZodArray<z.ZodObject<{
9399
- id: z.ZodString;
9400
9399
  name: z.ZodString;
9401
- description: z.ZodString;
9400
+ id: z.ZodString;
9402
9401
  createdAt: z.ZodString;
9403
9402
  updatedAt: z.ZodString;
9403
+ description: z.ZodString;
9404
9404
  models: z.ZodNullable<z.ZodType<{
9405
9405
  base: {
9406
9406
  model?: string | undefined;
@@ -9501,12 +9501,11 @@ declare const ProjectListResponse: z.ZodObject<{
9501
9501
  }, z.core.$strip>;
9502
9502
  declare const SubAgentListResponse: z.ZodObject<{
9503
9503
  data: z.ZodArray<z.ZodObject<{
9504
- id: z.ZodString;
9505
9504
  name: z.ZodString;
9506
- description: z.ZodString;
9507
- prompt: z.ZodString;
9505
+ id: z.ZodString;
9508
9506
  createdAt: z.ZodString;
9509
9507
  updatedAt: z.ZodString;
9508
+ description: z.ZodString;
9510
9509
  models: z.ZodNullable<z.ZodType<{
9511
9510
  base?: {
9512
9511
  model?: string | undefined;
@@ -9569,6 +9568,7 @@ declare const SubAgentListResponse: z.ZodObject<{
9569
9568
  }, {
9570
9569
  stepCountIs?: number | undefined;
9571
9570
  }>>>;
9571
+ prompt: z.ZodString;
9572
9572
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
9573
9573
  }, z.core.$strip>>;
9574
9574
  pagination: z.ZodObject<{
@@ -9580,12 +9580,11 @@ declare const SubAgentListResponse: z.ZodObject<{
9580
9580
  }, z.core.$strip>;
9581
9581
  declare const AgentListResponse: z.ZodObject<{
9582
9582
  data: z.ZodArray<z.ZodObject<{
9583
- id: z.ZodString;
9584
9583
  name: z.ZodString;
9585
- description: z.ZodNullable<z.ZodString>;
9586
- prompt: z.ZodNullable<z.ZodString>;
9584
+ id: z.ZodString;
9587
9585
  createdAt: z.ZodString;
9588
9586
  updatedAt: z.ZodString;
9587
+ description: z.ZodNullable<z.ZodString>;
9589
9588
  models: z.ZodNullable<z.ZodType<{
9590
9589
  base?: {
9591
9590
  model?: string | undefined;
@@ -9650,6 +9649,7 @@ declare const AgentListResponse: z.ZodObject<{
9650
9649
  }>>>;
9651
9650
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
9652
9651
  contextConfigId: z.ZodNullable<z.ZodString>;
9652
+ prompt: z.ZodNullable<z.ZodString>;
9653
9653
  statusUpdates: z.ZodNullable<z.ZodType<{
9654
9654
  enabled?: boolean | undefined;
9655
9655
  numEvents?: number | undefined;
@@ -9717,9 +9717,14 @@ declare const AgentListResponse: z.ZodObject<{
9717
9717
  }, z.core.$strip>;
9718
9718
  declare const ToolListResponse: z.ZodObject<{
9719
9719
  data: z.ZodArray<z.ZodObject<{
9720
- id: z.ZodString;
9721
9720
  name: z.ZodString;
9721
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9722
+ id: z.ZodString;
9723
+ createdAt: z.ZodString;
9724
+ updatedAt: z.ZodString;
9722
9725
  description: z.ZodNullable<z.ZodString>;
9726
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
9727
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9723
9728
  config: z.ZodType<{
9724
9729
  type: "mcp";
9725
9730
  mcp: ToolMcpConfig;
@@ -9733,11 +9738,6 @@ declare const ToolListResponse: z.ZodObject<{
9733
9738
  type: "mcp";
9734
9739
  mcp: ToolMcpConfig;
9735
9740
  }>>;
9736
- credentialReferenceId: z.ZodNullable<z.ZodString>;
9737
- createdAt: z.ZodString;
9738
- updatedAt: z.ZodString;
9739
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9740
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9741
9741
  imageUrl: z.ZodNullable<z.ZodString>;
9742
9742
  lastError: z.ZodNullable<z.ZodString>;
9743
9743
  }, z.core.$strip>>;
@@ -9750,14 +9750,14 @@ declare const ToolListResponse: z.ZodObject<{
9750
9750
  }, z.core.$strip>;
9751
9751
  declare const ExternalAgentListResponse: z.ZodObject<{
9752
9752
  data: z.ZodArray<z.ZodObject<{
9753
- id: z.ZodString;
9754
9753
  name: z.ZodString;
9755
- description: z.ZodString;
9756
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9754
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
9755
+ id: z.ZodString;
9757
9756
  createdAt: z.ZodString;
9758
9757
  updatedAt: z.ZodString;
9758
+ description: z.ZodString;
9759
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9759
9760
  baseUrl: z.ZodString;
9760
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
9761
9761
  }, z.core.$strip>>;
9762
9762
  pagination: z.ZodObject<{
9763
9763
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -9783,15 +9783,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
9783
9783
  }, z.core.$strip>;
9784
9784
  declare const ApiKeyListResponse: z.ZodObject<{
9785
9785
  data: z.ZodArray<z.ZodObject<{
9786
- id: z.ZodString;
9787
9786
  name: z.ZodNullable<z.ZodString>;
9787
+ id: z.ZodString;
9788
+ createdAt: z.ZodString;
9789
+ updatedAt: z.ZodString;
9788
9790
  agentId: z.ZodString;
9789
9791
  publicId: z.ZodString;
9790
9792
  keyPrefix: z.ZodString;
9791
9793
  lastUsedAt: z.ZodNullable<z.ZodString>;
9792
9794
  expiresAt: z.ZodNullable<z.ZodString>;
9793
- createdAt: z.ZodString;
9794
- updatedAt: z.ZodString;
9795
9795
  }, {
9796
9796
  out: {};
9797
9797
  in: {};
@@ -9806,10 +9806,10 @@ declare const ApiKeyListResponse: z.ZodObject<{
9806
9806
  declare const CredentialReferenceListResponse: z.ZodObject<{
9807
9807
  data: z.ZodArray<z.ZodObject<{
9808
9808
  id: z.ZodString;
9809
- createdAt: z.ZodString;
9810
- updatedAt: z.ZodString;
9811
9809
  credentialStoreId: z.ZodString;
9812
9810
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9811
+ createdAt: z.ZodString;
9812
+ updatedAt: z.ZodString;
9813
9813
  type: z.ZodEnum<{
9814
9814
  readonly memory: "memory";
9815
9815
  readonly keychain: "keychain";
@@ -10096,12 +10096,12 @@ declare const FunctionListResponse: z.ZodObject<{
10096
10096
  }, z.core.$strip>;
10097
10097
  declare const FunctionToolListResponse: z.ZodObject<{
10098
10098
  data: z.ZodArray<z.ZodObject<{
10099
- id: z.ZodString;
10100
10099
  name: z.ZodString;
10101
- description: z.ZodNullable<z.ZodString>;
10102
- agentId: z.ZodString;
10100
+ id: z.ZodString;
10103
10101
  createdAt: z.ZodString;
10104
10102
  updatedAt: z.ZodString;
10103
+ description: z.ZodNullable<z.ZodString>;
10104
+ agentId: z.ZodString;
10105
10105
  functionId: z.ZodString;
10106
10106
  }, z.core.$strip>>;
10107
10107
  pagination: z.ZodObject<{
@@ -10113,11 +10113,11 @@ declare const FunctionToolListResponse: z.ZodObject<{
10113
10113
  }, z.core.$strip>;
10114
10114
  declare const DataComponentListResponse: z.ZodObject<{
10115
10115
  data: z.ZodArray<z.ZodObject<{
10116
- id: z.ZodString;
10117
10116
  name: z.ZodString;
10118
- description: z.ZodString;
10117
+ id: z.ZodString;
10119
10118
  createdAt: z.ZodString;
10120
10119
  updatedAt: z.ZodString;
10120
+ description: z.ZodString;
10121
10121
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10122
10122
  }, z.core.$strip>>;
10123
10123
  pagination: z.ZodObject<{
@@ -10129,11 +10129,11 @@ declare const DataComponentListResponse: z.ZodObject<{
10129
10129
  }, z.core.$strip>;
10130
10130
  declare const ArtifactComponentListResponse: z.ZodObject<{
10131
10131
  data: z.ZodArray<z.ZodObject<{
10132
- id: z.ZodString;
10133
10132
  name: z.ZodString;
10134
- description: z.ZodString;
10133
+ id: z.ZodString;
10135
10134
  createdAt: z.ZodString;
10136
10135
  updatedAt: z.ZodString;
10136
+ description: z.ZodString;
10137
10137
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10138
10138
  }, z.core.$strip>>;
10139
10139
  pagination: z.ZodObject<{
@@ -10162,13 +10162,13 @@ declare const SubAgentRelationListResponse: z.ZodObject<{
10162
10162
  }, z.core.$strip>;
10163
10163
  declare const SubAgentToolRelationListResponse: z.ZodObject<{
10164
10164
  data: z.ZodArray<z.ZodObject<{
10165
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10165
10166
  id: z.ZodString;
10166
10167
  createdAt: z.ZodString;
10167
10168
  updatedAt: z.ZodString;
10168
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10169
- toolId: z.ZodString;
10170
10169
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10171
10170
  subAgentId: z.ZodString;
10171
+ toolId: z.ZodString;
10172
10172
  }, z.core.$strip>>;
10173
10173
  pagination: z.ZodObject<{
10174
10174
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -10180,9 +10180,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
10180
10180
  declare const ConversationListResponse: z.ZodObject<{
10181
10181
  data: z.ZodArray<z.ZodObject<{
10182
10182
  id: z.ZodString;
10183
- title: z.ZodNullable<z.ZodString>;
10184
10183
  createdAt: z.ZodString;
10185
10184
  updatedAt: z.ZodString;
10185
+ title: z.ZodNullable<z.ZodString>;
10186
10186
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
10187
10187
  userId: z.ZodNullable<z.ZodString>;
10188
10188
  activeSubAgentId: z.ZodString;