@inkeep/agents-core 0.23.5 → 0.24.0

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,11 +774,12 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
774
774
  in: {};
775
775
  }>;
776
776
  declare const SubAgentApiSelectSchema: z.ZodObject<{
777
- name: z.ZodString;
778
777
  id: z.ZodString;
778
+ name: z.ZodString;
779
+ description: z.ZodString;
780
+ prompt: z.ZodString;
779
781
  createdAt: z.ZodString;
780
782
  updatedAt: z.ZodString;
781
- description: z.ZodString;
782
783
  models: z.ZodNullable<z.ZodType<{
783
784
  base?: {
784
785
  model?: string | undefined;
@@ -841,15 +842,15 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
841
842
  }, {
842
843
  stepCountIs?: number | undefined;
843
844
  }>>>;
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
- name: z.ZodString;
849
848
  id: z.ZodString;
849
+ name: z.ZodString;
850
+ description: z.ZodString;
851
+ prompt: z.ZodString;
850
852
  createdAt: z.ZodOptional<z.ZodString>;
851
853
  updatedAt: z.ZodOptional<z.ZodString>;
852
- description: z.ZodString;
853
854
  models: z.ZodOptional<z.ZodObject<{
854
855
  base: z.ZodOptional<z.ZodObject<{
855
856
  model: z.ZodOptional<z.ZodString>;
@@ -873,15 +874,15 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
873
874
  }, {
874
875
  stepCountIs?: number | undefined;
875
876
  }>>>>;
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
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
881
880
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
881
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
882
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
883
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
882
884
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
883
885
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
884
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
885
886
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
886
887
  base: z.ZodOptional<z.ZodObject<{
887
888
  model: z.ZodOptional<z.ZodString>;
@@ -905,7 +906,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
905
906
  }, {
906
907
  stepCountIs?: number | undefined;
907
908
  }>>>>>>;
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;
1188
1189
  createdAt: z.ZodOptional<z.ZodString>;
1189
1190
  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,11 +1769,12 @@ declare const AgentUpdateSchema: z.ZodObject<{
1769
1769
  in: {};
1770
1770
  }>;
1771
1771
  declare const AgentApiSelectSchema: z.ZodObject<{
1772
- name: z.ZodString;
1773
1772
  id: z.ZodString;
1773
+ name: z.ZodString;
1774
+ description: z.ZodNullable<z.ZodString>;
1775
+ prompt: z.ZodNullable<z.ZodString>;
1774
1776
  createdAt: z.ZodString;
1775
1777
  updatedAt: z.ZodString;
1776
- description: z.ZodNullable<z.ZodString>;
1777
1778
  models: z.ZodNullable<z.ZodType<{
1778
1779
  base?: {
1779
1780
  model?: string | undefined;
@@ -1838,7 +1839,6 @@ declare const AgentApiSelectSchema: z.ZodObject<{
1838
1839
  }>>>;
1839
1840
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
1840
1841
  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,9 +1899,10 @@ 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>>;
1902
1904
  createdAt: z.ZodOptional<z.ZodString>;
1903
1905
  updatedAt: z.ZodOptional<z.ZodString>;
1904
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1905
1906
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
1906
1907
  base?: {
1907
1908
  model?: string | undefined;
@@ -1966,7 +1967,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
1966
1967
  }>>>>;
1967
1968
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1968
1969
  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,11 +2027,12 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2027
2027
  id: z.ZodString;
2028
2028
  }, z.core.$strip>;
2029
2029
  declare const AgentApiUpdateSchema: z.ZodObject<{
2030
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2031
2030
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2031
+ 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>>>>;
2032
2034
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2033
2035
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2034
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2035
2036
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2036
2037
  base?: {
2037
2038
  model?: string | undefined;
@@ -2096,7 +2097,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2096
2097
  }>>>>>>;
2097
2098
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2098
2099
  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;
2384
2385
  createdAt: z.ZodString;
2385
2386
  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;
2394
2395
  createdAt: z.ZodOptional<z.ZodString>;
2395
2396
  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>>;
2405
2406
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2406
2407
  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>;
3156
3157
  createdAt: z.ZodString;
3157
3158
  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>>;
3166
3167
  createdAt: z.ZodOptional<z.ZodString>;
3167
3168
  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>>>>;
3177
3178
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3178
3179
  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
- value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4168
4167
  id: z.ZodString;
4168
+ value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
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
- value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4181
4180
  id: z.ZodString;
4181
+ value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
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
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
4194
4193
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4194
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
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
- name: z.ZodString;
4412
- id: z.ZodString;
4413
- projectId: z.ZodString;
4414
4411
  tenantId: z.ZodString;
4412
+ projectId: z.ZodString;
4413
+ id: z.ZodString;
4414
+ name: 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
- name: z.ZodString;
4462
4461
  id: z.ZodString;
4462
+ name: z.ZodString;
4463
+ description: z.ZodString;
4463
4464
  createdAt: z.ZodString;
4464
4465
  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
- name: z.ZodString;
4483
4482
  id: z.ZodString;
4483
+ name: z.ZodString;
4484
+ description: z.ZodString;
4484
4485
  createdAt: z.ZodOptional<z.ZodString>;
4485
4486
  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
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4504
4503
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4504
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4505
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4505
4506
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4506
4507
  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
- name: z.ZodString;
5007
5006
  id: z.ZodString;
5007
+ name: z.ZodString;
5008
+ description: z.ZodString;
5008
5009
  createdAt: z.ZodString;
5009
5010
  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
- name: z.ZodString;
5015
5014
  id: z.ZodString;
5015
+ name: 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
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5024
5023
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5024
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5025
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5025
5026
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5026
5027
  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,41 +5255,42 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
5255
5255
  in: {};
5256
5256
  }>;
5257
5257
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
5258
- name: z.ZodString;
5259
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5260
5258
  id: z.ZodString;
5261
- createdAt: z.ZodString;
5262
- updatedAt: z.ZodString;
5259
+ name: z.ZodString;
5263
5260
  description: z.ZodString;
5264
5261
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5262
+ createdAt: z.ZodString;
5263
+ updatedAt: z.ZodString;
5265
5264
  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
- name: 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
5268
  id: z.ZodString;
5271
- createdAt: z.ZodOptional<z.ZodString>;
5272
- updatedAt: z.ZodOptional<z.ZodString>;
5269
+ name: z.ZodString;
5273
5270
  description: z.ZodString;
5274
5271
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5272
+ createdAt: z.ZodOptional<z.ZodString>;
5273
+ updatedAt: z.ZodOptional<z.ZodString>;
5275
5274
  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
- name: z.ZodOptional<z.ZodOptional<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
5278
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5281
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5282
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5279
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5283
5280
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5284
5281
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5282
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5283
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5285
5284
  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
- name: z.ZodString;
5289
5288
  id: z.ZodString;
5289
+ name: z.ZodString;
5290
+ description: z.ZodString;
5291
+ prompt: z.ZodString;
5290
5292
  createdAt: z.ZodString;
5291
5293
  updatedAt: z.ZodString;
5292
- description: z.ZodString;
5293
5294
  models: z.ZodNullable<z.ZodType<{
5294
5295
  base?: {
5295
5296
  model?: string | undefined;
@@ -5352,18 +5353,17 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5352
5353
  }, {
5353
5354
  stepCountIs?: number | undefined;
5354
5355
  }>>>;
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
- name: z.ZodString;
5360
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5361
5359
  id: z.ZodString;
5362
- createdAt: z.ZodString;
5363
- updatedAt: z.ZodString;
5360
+ name: z.ZodString;
5364
5361
  description: z.ZodString;
5365
5362
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5363
+ createdAt: z.ZodString;
5364
+ updatedAt: z.ZodString;
5366
5365
  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>>;
5619
5618
  agentId: z.ZodOptional<z.ZodString>;
5620
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5621
5619
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5620
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5621
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5622
5622
  }, {
5623
5623
  out: {};
5624
5624
  in: {};
5625
5625
  }>;
5626
5626
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
5627
- name: z.ZodNullable<z.ZodString>;
5628
5627
  id: z.ZodString;
5629
- createdAt: z.ZodString;
5630
- updatedAt: z.ZodString;
5628
+ name: z.ZodNullable<z.ZodString>;
5631
5629
  agentId: z.ZodString;
5632
- expiresAt: z.ZodNullable<z.ZodString>;
5633
5630
  publicId: z.ZodString;
5634
5631
  keyPrefix: z.ZodString;
5635
5632
  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
- name: z.ZodNullable<z.ZodString>;
5644
5643
  id: z.ZodString;
5645
- createdAt: z.ZodString;
5646
- updatedAt: z.ZodString;
5644
+ name: z.ZodNullable<z.ZodString>;
5647
5645
  agentId: z.ZodString;
5648
- expiresAt: z.ZodNullable<z.ZodString>;
5649
5646
  publicId: z.ZodString;
5650
5647
  keyPrefix: z.ZodString;
5651
5648
  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
- createdAt: z.ZodOptional<z.ZodString>;
5662
- updatedAt: z.ZodOptional<z.ZodString>;
5663
5661
  agentId: z.ZodString;
5664
5662
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5663
+ createdAt: z.ZodOptional<z.ZodString>;
5664
+ updatedAt: z.ZodOptional<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>>;
5672
5671
  agentId: z.ZodOptional<z.ZodString>;
5673
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5674
5672
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5673
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5674
+ updatedAt: z.ZodOptional<z.ZodOptional<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
- credentialStoreId: z.ZodString;
5718
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5719
5717
  createdAt: z.ZodString;
5720
5718
  updatedAt: z.ZodString;
5719
+ credentialStoreId: z.ZodString;
5720
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
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
- credentialStoreId: z.ZodString;
5985
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5986
5984
  createdAt: z.ZodOptional<z.ZodString>;
5987
5985
  updatedAt: z.ZodOptional<z.ZodString>;
5986
+ credentialStoreId: z.ZodString;
5987
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
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
- credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5997
- retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
5998
5996
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5999
5997
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5998
+ credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5999
+ retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
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
- name: z.ZodString;
6057
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6058
6056
  id: z.ZodString;
6057
+ name: z.ZodString;
6059
6058
  expiresAt: z.ZodOptional<z.ZodDate>;
6059
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
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
- credentialStoreId: z.ZodString;
6090
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6091
6089
  createdAt: z.ZodOptional<z.ZodString>;
6092
6090
  updatedAt: z.ZodOptional<z.ZodString>;
6091
+ credentialStoreId: z.ZodString;
6092
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6093
6093
  type: z.ZodEnum<{
6094
6094
  readonly memory: "memory";
6095
6095
  readonly keychain: "keychain";
@@ -6137,14 +6137,9 @@ declare const ToolUpdateSchema: z.ZodObject<{
6137
6137
  in: {};
6138
6138
  }>;
6139
6139
  declare const ToolApiSelectSchema: z.ZodObject<{
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
6140
  id: z.ZodString;
6143
- createdAt: z.ZodString;
6144
- updatedAt: z.ZodString;
6141
+ name: z.ZodString;
6145
6142
  description: z.ZodNullable<z.ZodString>;
6146
- credentialReferenceId: z.ZodNullable<z.ZodString>;
6147
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6148
6143
  config: z.ZodType<{
6149
6144
  type: "mcp";
6150
6145
  mcp: ToolMcpConfig;
@@ -6158,18 +6153,18 @@ declare const ToolApiSelectSchema: z.ZodObject<{
6158
6153
  type: "mcp";
6159
6154
  mcp: ToolMcpConfig;
6160
6155
  }>>;
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
- 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
6165
  id: z.ZodString;
6168
- createdAt: z.ZodOptional<z.ZodString>;
6169
- updatedAt: z.ZodOptional<z.ZodString>;
6166
+ name: z.ZodString;
6170
6167
  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>>>>;
6173
6168
  config: z.ZodObject<{
6174
6169
  type: z.ZodLiteral<"mcp">;
6175
6170
  mcp: z.ZodObject<{
@@ -6189,18 +6184,18 @@ declare const ToolApiInsertSchema: z.ZodObject<{
6189
6184
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6190
6185
  }, z.core.$strip>;
6191
6186
  }, 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
- 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
6196
  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>>>;
6197
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6201
6198
  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>>>>>>;
6204
6199
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6205
6200
  type: z.ZodLiteral<"mcp">;
6206
6201
  mcp: z.ZodObject<{
@@ -6220,6 +6215,11 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
6220
6215
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6221
6216
  }, z.core.$strip>;
6222
6217
  }, 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
- name: z.ZodString;
6429
6428
  id: z.ZodString;
6430
- createdAt: z.ZodString;
6431
- updatedAt: z.ZodString;
6429
+ name: z.ZodString;
6432
6430
  description: z.ZodNullable<z.ZodString>;
6433
6431
  agentId: z.ZodString;
6432
+ createdAt: z.ZodString;
6433
+ updatedAt: z.ZodString;
6434
6434
  functionId: z.ZodString;
6435
6435
  }, z.core.$strip>;
6436
6436
  declare const FunctionToolApiInsertSchema: z.ZodObject<{
6437
- name: z.ZodString;
6438
6437
  id: z.ZodString;
6438
+ name: z.ZodString;
6439
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6439
6440
  createdAt: z.ZodOptional<z.ZodString>;
6440
6441
  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
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6446
6445
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6447
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6448
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6446
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6449
6447
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6450
6448
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6449
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6450
+ updatedAt: z.ZodOptional<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
- credentialStoreId: z.ZodString;
6697
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6698
6696
  createdAt: z.ZodOptional<z.ZodString>;
6699
6697
  updatedAt: z.ZodOptional<z.ZodString>;
6698
+ credentialStoreId: z.ZodString;
6699
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
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
- id: z.ZodOptional<z.ZodString>;
6722
- projectId: z.ZodString;
6723
6721
  tenantId: z.ZodString;
6722
+ projectId: z.ZodString;
6723
+ id: z.ZodOptional<z.ZodString>;
6724
+ agentId: z.ZodString;
6724
6725
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6725
6726
  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
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6733
- projectId: z.ZodOptional<z.ZodString>;
6734
6732
  tenantId: z.ZodOptional<z.ZodString>;
6733
+ projectId: z.ZodOptional<z.ZodString>;
6734
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6735
+ agentId: z.ZodOptional<z.ZodString>;
6735
6736
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6736
6737
  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>>>;
6983
6982
  id: z.ZodString;
6984
6983
  createdAt: z.ZodString;
6985
6984
  updatedAt: z.ZodString;
6985
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6986
+ toolId: z.ZodString;
6986
6987
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6987
6988
  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>>>;
6992
6991
  id: z.ZodString;
6993
6992
  createdAt: z.ZodOptional<z.ZodString>;
6994
6993
  updatedAt: z.ZodOptional<z.ZodString>;
6994
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
6995
+ toolId: z.ZodString;
6995
6996
  selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6996
6997
  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>>>>>;
7001
7000
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7002
7001
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7003
7002
  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>>;
7004
7005
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
7005
7006
  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;
7720
7721
  type: z.ZodString;
7721
7722
  name: z.ZodNullable<z.ZodString>;
7722
- id: z.ZodString;
7723
+ description: z.ZodNullable<z.ZodString>;
7723
7724
  createdAt: z.ZodString;
7724
7725
  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;
7738
7739
  type: z.ZodOptional<z.ZodString>;
7739
7740
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7740
- id: z.ZodString;
7741
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7741
7742
  createdAt: z.ZodOptional<z.ZodString>;
7742
7743
  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>>;
7756
7757
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7757
7758
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7758
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7759
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7759
7760
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7760
7761
  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,11 +7801,12 @@ 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
- name: z.ZodString;
7805
7804
  id: z.ZodString;
7805
+ name: z.ZodString;
7806
+ description: z.ZodString;
7807
+ prompt: z.ZodString;
7806
7808
  createdAt: z.ZodOptional<z.ZodString>;
7807
7809
  updatedAt: z.ZodOptional<z.ZodString>;
7808
- description: z.ZodString;
7809
7810
  models: z.ZodOptional<z.ZodObject<{
7810
7811
  base: z.ZodOptional<z.ZodObject<{
7811
7812
  model: z.ZodOptional<z.ZodString>;
@@ -7829,7 +7830,6 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
7829
7830
  }, {
7830
7831
  stepCountIs?: number | undefined;
7831
7832
  }>>>>;
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,18 +7845,19 @@ 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>>;
7848
7849
  createdAt: z.ZodOptional<z.ZodString>;
7849
7850
  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
- name: z.ZodString;
7856
7855
  id: z.ZodString;
7856
+ name: z.ZodString;
7857
+ description: z.ZodString;
7858
+ prompt: z.ZodString;
7857
7859
  createdAt: z.ZodOptional<z.ZodString>;
7858
7860
  updatedAt: z.ZodOptional<z.ZodString>;
7859
- description: z.ZodString;
7860
7861
  models: z.ZodOptional<z.ZodObject<{
7861
7862
  base: z.ZodOptional<z.ZodObject<{
7862
7863
  model: z.ZodOptional<z.ZodString>;
@@ -7880,7 +7881,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7880
7881
  }, {
7881
7882
  stepCountIs?: number | undefined;
7882
7883
  }>>>>;
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,24 +7894,19 @@ 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
- name: 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
7897
  id: z.ZodString;
7900
- createdAt: z.ZodOptional<z.ZodString>;
7901
- updatedAt: z.ZodOptional<z.ZodString>;
7898
+ name: z.ZodString;
7902
7899
  description: z.ZodString;
7903
7900
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7901
+ createdAt: z.ZodOptional<z.ZodString>;
7902
+ updatedAt: z.ZodOptional<z.ZodString>;
7904
7903
  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
- 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
7907
  id: z.ZodString;
7910
- createdAt: z.ZodOptional<z.ZodString>;
7911
- updatedAt: z.ZodOptional<z.ZodString>;
7908
+ name: z.ZodString;
7912
7909
  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>>>>;
7915
7910
  config: z.ZodObject<{
7916
7911
  type: z.ZodLiteral<"mcp">;
7917
7912
  mcp: z.ZodObject<{
@@ -7931,15 +7926,20 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7931
7926
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
7932
7927
  }, z.core.$strip>;
7933
7928
  }, 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
- name: z.ZodString;
7939
7938
  id: z.ZodString;
7939
+ name: z.ZodString;
7940
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7940
7941
  createdAt: z.ZodOptional<z.ZodString>;
7941
7942
  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
- name: z.ZodString;
8210
- id: z.ZodString;
8211
8209
  tenantId: z.ZodString;
8210
+ id: z.ZodString;
8211
+ name: 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
- name: z.ZodOptional<z.ZodString>;
8237
- id: z.ZodOptional<z.ZodString>;
8238
8236
  tenantId: z.ZodOptional<z.ZodString>;
8237
+ id: z.ZodOptional<z.ZodString>;
8238
+ name: 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
- name: z.ZodString;
8264
8263
  id: z.ZodString;
8264
+ name: z.ZodString;
8265
+ description: z.ZodString;
8265
8266
  createdAt: z.ZodString;
8266
8267
  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
- name: z.ZodString;
8340
8339
  id: z.ZodString;
8340
+ name: 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
- name: z.ZodOptional<z.ZodString>;
8366
8365
  id: z.ZodOptional<z.ZodString>;
8366
+ name: 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
- name: z.ZodString;
8392
8391
  id: z.ZodString;
8392
+ name: z.ZodString;
8393
8393
  description: z.ZodString;
8394
8394
  models: z.ZodObject<{
8395
8395
  base: z.ZodObject<{
@@ -8411,18 +8411,19 @@ 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>>;
8414
8415
  createdAt: z.ZodOptional<z.ZodString>;
8415
8416
  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
- name: z.ZodString;
8422
8421
  id: z.ZodString;
8422
+ name: z.ZodString;
8423
+ description: z.ZodString;
8424
+ prompt: z.ZodString;
8423
8425
  createdAt: z.ZodOptional<z.ZodString>;
8424
8426
  updatedAt: z.ZodOptional<z.ZodString>;
8425
- description: z.ZodString;
8426
8427
  models: z.ZodOptional<z.ZodObject<{
8427
8428
  base: z.ZodOptional<z.ZodObject<{
8428
8429
  model: z.ZodOptional<z.ZodString>;
@@ -8446,7 +8447,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8446
8447
  }, {
8447
8448
  stepCountIs?: number | undefined;
8448
8449
  }>>>>;
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,24 +8460,19 @@ 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
- name: 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
8463
  id: z.ZodString;
8466
- createdAt: z.ZodOptional<z.ZodString>;
8467
- updatedAt: z.ZodOptional<z.ZodString>;
8464
+ name: z.ZodString;
8468
8465
  description: z.ZodString;
8469
8466
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8467
+ createdAt: z.ZodOptional<z.ZodString>;
8468
+ updatedAt: z.ZodOptional<z.ZodString>;
8470
8469
  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
- 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
8473
  id: z.ZodString;
8476
- createdAt: z.ZodOptional<z.ZodString>;
8477
- updatedAt: z.ZodOptional<z.ZodString>;
8474
+ name: z.ZodString;
8478
8475
  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>>>>;
8481
8476
  config: z.ZodObject<{
8482
8477
  type: z.ZodLiteral<"mcp">;
8483
8478
  mcp: z.ZodObject<{
@@ -8497,15 +8492,20 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8497
8492
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8498
8493
  }, z.core.$strip>;
8499
8494
  }, 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
- name: z.ZodString;
8505
8504
  id: z.ZodString;
8505
+ name: z.ZodString;
8506
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8506
8507
  createdAt: z.ZodOptional<z.ZodString>;
8507
8508
  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,14 +8556,9 @@ 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
- 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
8559
  id: z.ZodString;
8562
- createdAt: z.ZodOptional<z.ZodString>;
8563
- updatedAt: z.ZodOptional<z.ZodString>;
8560
+ name: z.ZodString;
8564
8561
  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>>>>;
8567
8562
  config: z.ZodObject<{
8568
8563
  type: z.ZodLiteral<"mcp">;
8569
8564
  mcp: z.ZodObject<{
@@ -8583,6 +8578,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8583
8578
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8584
8579
  }, z.core.$strip>;
8585
8580
  }, 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
- name: z.ZodString;
8599
8598
  id: z.ZodString;
8599
+ name: z.ZodString;
8600
+ description: z.ZodString;
8600
8601
  createdAt: z.ZodOptional<z.ZodString>;
8601
8602
  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
- name: z.ZodString;
8620
8619
  id: z.ZodString;
8620
+ name: 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
- credentialStoreId: z.ZodString;
8645
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8646
8644
  createdAt: z.ZodOptional<z.ZodString>;
8647
8645
  updatedAt: z.ZodOptional<z.ZodString>;
8646
+ credentialStoreId: z.ZodString;
8647
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
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
- name: z.ZodString;
8663
8662
  id: z.ZodString;
8663
+ name: z.ZodString;
8664
+ description: z.ZodString;
8664
8665
  createdAt: z.ZodString;
8665
8666
  updatedAt: z.ZodString;
8666
- description: z.ZodString;
8667
8667
  models: z.ZodNullable<z.ZodType<{
8668
8668
  base: {
8669
8669
  model?: string | undefined;
@@ -8737,11 +8737,12 @@ declare const ProjectResponse: z.ZodObject<{
8737
8737
  }, z.core.$strip>;
8738
8738
  declare const SubAgentResponse: z.ZodObject<{
8739
8739
  data: z.ZodObject<{
8740
- name: z.ZodString;
8741
8740
  id: z.ZodString;
8741
+ name: z.ZodString;
8742
+ description: z.ZodString;
8743
+ prompt: z.ZodString;
8742
8744
  createdAt: z.ZodString;
8743
8745
  updatedAt: z.ZodString;
8744
- description: z.ZodString;
8745
8746
  models: z.ZodNullable<z.ZodType<{
8746
8747
  base?: {
8747
8748
  model?: string | undefined;
@@ -8804,17 +8805,17 @@ declare const SubAgentResponse: z.ZodObject<{
8804
8805
  }, {
8805
8806
  stepCountIs?: number | undefined;
8806
8807
  }>>>;
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
- name: z.ZodString;
8814
8813
  id: z.ZodString;
8814
+ name: z.ZodString;
8815
+ description: z.ZodNullable<z.ZodString>;
8816
+ prompt: z.ZodNullable<z.ZodString>;
8815
8817
  createdAt: z.ZodString;
8816
8818
  updatedAt: z.ZodString;
8817
- description: z.ZodNullable<z.ZodString>;
8818
8819
  models: z.ZodNullable<z.ZodType<{
8819
8820
  base?: {
8820
8821
  model?: string | undefined;
@@ -8879,7 +8880,6 @@ declare const AgentResponse: z.ZodObject<{
8879
8880
  }>>>;
8880
8881
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
8881
8882
  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,14 +8941,9 @@ declare const AgentResponse: z.ZodObject<{
8941
8941
  }, z.core.$strip>;
8942
8942
  declare const ToolResponse: z.ZodObject<{
8943
8943
  data: z.ZodObject<{
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
8944
  id: z.ZodString;
8947
- createdAt: z.ZodString;
8948
- updatedAt: z.ZodString;
8945
+ name: z.ZodString;
8949
8946
  description: z.ZodNullable<z.ZodString>;
8950
- credentialReferenceId: z.ZodNullable<z.ZodString>;
8951
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
8952
8947
  config: z.ZodType<{
8953
8948
  type: "mcp";
8954
8949
  mcp: ToolMcpConfig;
@@ -8962,20 +8957,25 @@ declare const ToolResponse: z.ZodObject<{
8962
8957
  type: "mcp";
8963
8958
  mcp: ToolMcpConfig;
8964
8959
  }>>;
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
- name: z.ZodString;
8972
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
8973
8971
  id: z.ZodString;
8974
- createdAt: z.ZodString;
8975
- updatedAt: z.ZodString;
8972
+ name: z.ZodString;
8976
8973
  description: z.ZodString;
8977
8974
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8975
+ createdAt: z.ZodString;
8976
+ updatedAt: z.ZodString;
8978
8977
  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
- name: z.ZodNullable<z.ZodString>;
8993
8992
  id: z.ZodString;
8994
- createdAt: z.ZodString;
8995
- updatedAt: z.ZodString;
8993
+ name: z.ZodNullable<z.ZodString>;
8996
8994
  agentId: z.ZodString;
8997
- expiresAt: z.ZodNullable<z.ZodString>;
8998
8995
  publicId: z.ZodString;
8999
8996
  keyPrefix: z.ZodString;
9000
8997
  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
- credentialStoreId: z.ZodString;
9010
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9011
9009
  createdAt: z.ZodString;
9012
9010
  updatedAt: z.ZodString;
9011
+ credentialStoreId: z.ZodString;
9012
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
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
- name: z.ZodString;
9288
9287
  id: z.ZodString;
9289
- createdAt: z.ZodString;
9290
- updatedAt: z.ZodString;
9288
+ name: z.ZodString;
9291
9289
  description: z.ZodNullable<z.ZodString>;
9292
9290
  agentId: z.ZodString;
9291
+ createdAt: z.ZodString;
9292
+ updatedAt: 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
- name: z.ZodString;
9299
9298
  id: z.ZodString;
9299
+ name: z.ZodString;
9300
+ description: z.ZodString;
9300
9301
  createdAt: z.ZodString;
9301
9302
  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
- name: z.ZodString;
9322
9321
  id: z.ZodString;
9322
+ name: z.ZodString;
9323
+ description: z.ZodString;
9323
9324
  createdAt: z.ZodString;
9324
9325
  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>>>;
9343
9342
  id: z.ZodString;
9344
9343
  createdAt: z.ZodString;
9345
9344
  updatedAt: z.ZodString;
9345
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9346
+ toolId: z.ZodString;
9346
9347
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9347
9348
  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>;
9354
9355
  createdAt: z.ZodString;
9355
9356
  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
- name: z.ZodString;
9387
9386
  id: z.ZodString;
9387
+ name: z.ZodString;
9388
+ description: z.ZodString;
9388
9389
  createdAt: z.ZodString;
9389
9390
  updatedAt: z.ZodString;
9390
- description: z.ZodString;
9391
9391
  models: z.ZodNullable<z.ZodType<{
9392
9392
  base: {
9393
9393
  model?: string | undefined;
@@ -9467,11 +9467,12 @@ 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
- name: z.ZodString;
9471
9470
  id: z.ZodString;
9471
+ name: z.ZodString;
9472
+ description: z.ZodString;
9473
+ prompt: z.ZodString;
9472
9474
  createdAt: z.ZodString;
9473
9475
  updatedAt: z.ZodString;
9474
- description: z.ZodString;
9475
9476
  models: z.ZodNullable<z.ZodType<{
9476
9477
  base?: {
9477
9478
  model?: string | undefined;
@@ -9534,7 +9535,6 @@ declare const SubAgentListResponse: z.ZodObject<{
9534
9535
  }, {
9535
9536
  stepCountIs?: number | undefined;
9536
9537
  }>>>;
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,11 +9546,12 @@ 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
- name: z.ZodString;
9550
9549
  id: z.ZodString;
9550
+ name: z.ZodString;
9551
+ description: z.ZodNullable<z.ZodString>;
9552
+ prompt: z.ZodNullable<z.ZodString>;
9551
9553
  createdAt: z.ZodString;
9552
9554
  updatedAt: z.ZodString;
9553
- description: z.ZodNullable<z.ZodString>;
9554
9555
  models: z.ZodNullable<z.ZodType<{
9555
9556
  base?: {
9556
9557
  model?: string | undefined;
@@ -9615,7 +9616,6 @@ declare const AgentListResponse: z.ZodObject<{
9615
9616
  }>>>;
9616
9617
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
9617
9618
  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,14 +9683,9 @@ 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
- 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
9686
  id: z.ZodString;
9689
- createdAt: z.ZodString;
9690
- updatedAt: z.ZodString;
9687
+ name: z.ZodString;
9691
9688
  description: z.ZodNullable<z.ZodString>;
9692
- credentialReferenceId: z.ZodNullable<z.ZodString>;
9693
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9694
9689
  config: z.ZodType<{
9695
9690
  type: "mcp";
9696
9691
  mcp: ToolMcpConfig;
@@ -9704,6 +9699,11 @@ declare const ToolListResponse: z.ZodObject<{
9704
9699
  type: "mcp";
9705
9700
  mcp: ToolMcpConfig;
9706
9701
  }>>;
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
- name: z.ZodString;
9720
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
9721
9719
  id: z.ZodString;
9722
- createdAt: z.ZodString;
9723
- updatedAt: z.ZodString;
9720
+ name: z.ZodString;
9724
9721
  description: z.ZodString;
9725
9722
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9723
+ createdAt: z.ZodString;
9724
+ updatedAt: z.ZodString;
9726
9725
  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
- name: z.ZodNullable<z.ZodString>;
9753
9752
  id: z.ZodString;
9754
- createdAt: z.ZodString;
9755
- updatedAt: z.ZodString;
9753
+ name: z.ZodNullable<z.ZodString>;
9756
9754
  agentId: z.ZodString;
9757
- expiresAt: z.ZodNullable<z.ZodString>;
9758
9755
  publicId: z.ZodString;
9759
9756
  keyPrefix: z.ZodString;
9760
9757
  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
- credentialStoreId: z.ZodString;
9776
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9777
9775
  createdAt: z.ZodString;
9778
9776
  updatedAt: z.ZodString;
9777
+ credentialStoreId: z.ZodString;
9778
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
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
- name: z.ZodString;
10066
10065
  id: z.ZodString;
10067
- createdAt: z.ZodString;
10068
- updatedAt: z.ZodString;
10066
+ name: z.ZodString;
10069
10067
  description: z.ZodNullable<z.ZodString>;
10070
10068
  agentId: z.ZodString;
10069
+ createdAt: z.ZodString;
10070
+ updatedAt: 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
- name: z.ZodString;
10083
10082
  id: z.ZodString;
10083
+ name: z.ZodString;
10084
+ description: z.ZodString;
10084
10085
  createdAt: z.ZodString;
10085
10086
  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
- name: z.ZodString;
10112
10111
  id: z.ZodString;
10112
+ name: z.ZodString;
10113
+ description: z.ZodString;
10113
10114
  createdAt: z.ZodString;
10114
10115
  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>>>;
10145
10144
  id: z.ZodString;
10146
10145
  createdAt: z.ZodString;
10147
10146
  updatedAt: z.ZodString;
10147
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10148
+ toolId: z.ZodString;
10148
10149
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10149
10150
  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>;
10162
10163
  createdAt: z.ZodString;
10163
10164
  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;