@inkeep/agents-core 0.22.11 → 0.23.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
5619
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5621
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
5630
  publicId: z.ZodString;
5633
5631
  keyPrefix: z.ZodString;
5634
5632
  lastUsedAt: z.ZodNullable<z.ZodString>;
5635
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
5646
  publicId: z.ZodString;
5649
5647
  keyPrefix: z.ZodString;
5650
5648
  lastUsedAt: z.ZodNullable<z.ZodString>;
5651
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
5672
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5674
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";
@@ -6047,14 +6047,16 @@ declare const McpToolSchema: z.ZodObject<{
6047
6047
  version: z.ZodOptional<z.ZodString>;
6048
6048
  createdAt: z.ZodDate;
6049
6049
  updatedAt: z.ZodDate;
6050
+ expiresAt: z.ZodOptional<z.ZodDate>;
6050
6051
  }, {
6051
6052
  out: {};
6052
6053
  in: {};
6053
6054
  }>;
6054
6055
  declare const MCPToolConfigSchema: z.ZodObject<{
6056
+ id: z.ZodString;
6055
6057
  name: z.ZodString;
6058
+ expiresAt: z.ZodOptional<z.ZodDate>;
6056
6059
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6057
- id: z.ZodString;
6058
6060
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6059
6061
  imageUrl: z.ZodOptional<z.ZodString>;
6060
6062
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6084,10 +6086,10 @@ declare const MCPToolConfigSchema: z.ZodObject<{
6084
6086
  }, z.core.$strip>>;
6085
6087
  credential: z.ZodOptional<z.ZodObject<{
6086
6088
  id: z.ZodString;
6087
- credentialStoreId: z.ZodString;
6088
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6089
6089
  createdAt: z.ZodOptional<z.ZodString>;
6090
6090
  updatedAt: z.ZodOptional<z.ZodString>;
6091
+ credentialStoreId: z.ZodString;
6092
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6091
6093
  type: z.ZodEnum<{
6092
6094
  readonly memory: "memory";
6093
6095
  readonly keychain: "keychain";
@@ -6135,14 +6137,9 @@ declare const ToolUpdateSchema: z.ZodObject<{
6135
6137
  in: {};
6136
6138
  }>;
6137
6139
  declare const ToolApiSelectSchema: z.ZodObject<{
6138
- name: z.ZodString;
6139
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
6140
6140
  id: z.ZodString;
6141
- createdAt: z.ZodString;
6142
- updatedAt: z.ZodString;
6141
+ name: z.ZodString;
6143
6142
  description: z.ZodNullable<z.ZodString>;
6144
- credentialReferenceId: z.ZodNullable<z.ZodString>;
6145
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6146
6143
  config: z.ZodType<{
6147
6144
  type: "mcp";
6148
6145
  mcp: ToolMcpConfig;
@@ -6156,18 +6153,18 @@ declare const ToolApiSelectSchema: z.ZodObject<{
6156
6153
  type: "mcp";
6157
6154
  mcp: ToolMcpConfig;
6158
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>>>;
6159
6161
  imageUrl: z.ZodNullable<z.ZodString>;
6160
6162
  lastError: z.ZodNullable<z.ZodString>;
6161
6163
  }, z.core.$strip>;
6162
6164
  declare const ToolApiInsertSchema: z.ZodObject<{
6163
- name: z.ZodString;
6164
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6165
6165
  id: z.ZodString;
6166
- createdAt: z.ZodOptional<z.ZodString>;
6167
- updatedAt: z.ZodOptional<z.ZodString>;
6166
+ name: z.ZodString;
6168
6167
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6169
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6170
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6171
6168
  config: z.ZodObject<{
6172
6169
  type: z.ZodLiteral<"mcp">;
6173
6170
  mcp: z.ZodObject<{
@@ -6187,18 +6184,18 @@ declare const ToolApiInsertSchema: z.ZodObject<{
6187
6184
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6188
6185
  }, z.core.$strip>;
6189
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>>>>;
6190
6192
  imageUrl: z.ZodOptional<z.ZodString>;
6191
6193
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6192
6194
  }, z.core.$strip>;
6193
6195
  declare const ToolApiUpdateSchema: z.ZodObject<{
6194
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6195
- 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>>>>>>>;
6196
6196
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6197
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6198
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6197
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6199
6198
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6200
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6201
- capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
6202
6199
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6203
6200
  type: z.ZodLiteral<"mcp">;
6204
6201
  mcp: z.ZodObject<{
@@ -6218,6 +6215,11 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
6218
6215
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6219
6216
  }, z.core.$strip>;
6220
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>>>>>>;
6221
6223
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6222
6224
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6223
6225
  }, z.core.$strip>;
@@ -6423,29 +6425,29 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
6423
6425
  in: {};
6424
6426
  }>;
6425
6427
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
6426
- name: z.ZodString;
6427
6428
  id: z.ZodString;
6428
- createdAt: z.ZodString;
6429
- updatedAt: z.ZodString;
6429
+ name: z.ZodString;
6430
6430
  description: z.ZodNullable<z.ZodString>;
6431
6431
  agentId: z.ZodString;
6432
+ createdAt: z.ZodString;
6433
+ updatedAt: z.ZodString;
6432
6434
  functionId: z.ZodString;
6433
6435
  }, z.core.$strip>;
6434
6436
  declare const FunctionToolApiInsertSchema: z.ZodObject<{
6435
- name: z.ZodString;
6436
6437
  id: z.ZodString;
6438
+ name: z.ZodString;
6439
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6437
6440
  createdAt: z.ZodOptional<z.ZodString>;
6438
6441
  updatedAt: z.ZodOptional<z.ZodString>;
6439
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6440
6442
  functionId: z.ZodString;
6441
6443
  }, z.core.$strip>;
6442
6444
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
6443
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6444
6445
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6445
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6446
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6446
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6447
6447
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6448
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>>>;
6449
6451
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6450
6452
  }, z.core.$strip>;
6451
6453
  declare const FunctionSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -6691,10 +6693,10 @@ declare const FetchDefinitionSchema: z.ZodObject<{
6691
6693
  defaultValue: z.ZodOptional<z.ZodAny>;
6692
6694
  credential: z.ZodOptional<z.ZodObject<{
6693
6695
  id: z.ZodString;
6694
- credentialStoreId: z.ZodString;
6695
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6696
6696
  createdAt: z.ZodOptional<z.ZodString>;
6697
6697
  updatedAt: z.ZodOptional<z.ZodString>;
6698
+ credentialStoreId: z.ZodString;
6699
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6698
6700
  type: z.ZodEnum<{
6699
6701
  readonly memory: "memory";
6700
6702
  readonly keychain: "keychain";
@@ -6716,23 +6718,23 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
6716
6718
  in: {};
6717
6719
  }>;
6718
6720
  declare const ContextConfigInsertSchema: z.ZodObject<{
6719
- id: z.ZodOptional<z.ZodString>;
6720
- projectId: z.ZodString;
6721
6721
  tenantId: z.ZodString;
6722
+ projectId: z.ZodString;
6723
+ id: z.ZodOptional<z.ZodString>;
6724
+ agentId: z.ZodString;
6722
6725
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6723
6726
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6724
- agentId: z.ZodString;
6725
6727
  }, {
6726
6728
  out: {};
6727
6729
  in: {};
6728
6730
  }>;
6729
6731
  declare const ContextConfigUpdateSchema: z.ZodObject<{
6730
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6731
- projectId: z.ZodOptional<z.ZodString>;
6732
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>;
6733
6736
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6734
6737
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6735
- agentId: z.ZodOptional<z.ZodString>;
6736
6738
  }, {
6737
6739
  out: {};
6738
6740
  in: {};
@@ -6977,31 +6979,31 @@ declare const SubAgentToolRelationUpdateSchema: z.ZodObject<{
6977
6979
  in: {};
6978
6980
  }>;
6979
6981
  declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
6980
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6981
6982
  id: z.ZodString;
6982
6983
  createdAt: z.ZodString;
6983
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;
6984
6987
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6985
6988
  subAgentId: z.ZodString;
6986
- toolId: z.ZodString;
6987
6989
  }, z.core.$strip>;
6988
6990
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
6989
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
6990
6991
  id: z.ZodString;
6991
6992
  createdAt: z.ZodOptional<z.ZodString>;
6992
6993
  updatedAt: z.ZodOptional<z.ZodString>;
6994
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
6995
+ toolId: z.ZodString;
6993
6996
  selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6994
6997
  subAgentId: z.ZodString;
6995
- toolId: z.ZodString;
6996
6998
  }, z.core.$strip>;
6997
6999
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
6998
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
6999
7000
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7000
7001
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7001
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>>;
7002
7005
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
7003
7006
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7004
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7005
7007
  }, z.core.$strip>;
7006
7008
  declare const LedgerArtifactSelectSchema: drizzle_zod.BuildSchema<"select", {
7007
7009
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -7715,12 +7717,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
7715
7717
  in: {};
7716
7718
  }>;
7717
7719
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
7720
+ id: z.ZodString;
7718
7721
  type: z.ZodString;
7719
7722
  name: z.ZodNullable<z.ZodString>;
7720
- id: z.ZodString;
7723
+ description: z.ZodNullable<z.ZodString>;
7721
7724
  createdAt: z.ZodString;
7722
7725
  updatedAt: z.ZodString;
7723
- description: z.ZodNullable<z.ZodString>;
7724
7726
  metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7725
7727
  contextId: z.ZodString;
7726
7728
  visibility: z.ZodNullable<z.ZodString>;
@@ -7733,12 +7735,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
7733
7735
  derivedFrom: z.ZodNullable<z.ZodString>;
7734
7736
  }, z.core.$strip>;
7735
7737
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
7738
+ id: z.ZodString;
7736
7739
  type: z.ZodOptional<z.ZodString>;
7737
7740
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7738
- id: z.ZodString;
7741
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7739
7742
  createdAt: z.ZodOptional<z.ZodString>;
7740
7743
  updatedAt: z.ZodOptional<z.ZodString>;
7741
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7742
7744
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
7743
7745
  contextId: z.ZodString;
7744
7746
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7751,12 +7753,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
7751
7753
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7752
7754
  }, z.core.$strip>;
7753
7755
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
7756
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7754
7757
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7755
7758
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7756
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7759
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7757
7760
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7758
7761
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7759
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7760
7762
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
7761
7763
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7762
7764
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -7799,11 +7801,12 @@ declare const CanUseItemSchema: z.ZodObject<{
7799
7801
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7800
7802
  }, z.core.$strip>;
7801
7803
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
7802
- name: z.ZodString;
7803
7804
  id: z.ZodString;
7805
+ name: z.ZodString;
7806
+ description: z.ZodString;
7807
+ prompt: z.ZodString;
7804
7808
  createdAt: z.ZodOptional<z.ZodString>;
7805
7809
  updatedAt: z.ZodOptional<z.ZodString>;
7806
- description: z.ZodString;
7807
7810
  models: z.ZodOptional<z.ZodObject<{
7808
7811
  base: z.ZodOptional<z.ZodObject<{
7809
7812
  model: z.ZodOptional<z.ZodString>;
@@ -7827,7 +7830,6 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
7827
7830
  }, {
7828
7831
  stepCountIs?: number | undefined;
7829
7832
  }>>>>;
7830
- prompt: z.ZodString;
7831
7833
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7832
7834
  type: z.ZodLiteral<"internal">;
7833
7835
  canUse: z.ZodArray<z.ZodObject<{
@@ -7843,18 +7845,19 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
7843
7845
  }, z.core.$strip>;
7844
7846
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7845
7847
  name: z.ZodString;
7848
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7846
7849
  createdAt: z.ZodOptional<z.ZodString>;
7847
7850
  updatedAt: z.ZodOptional<z.ZodString>;
7848
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7849
7851
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7850
7852
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7851
7853
  id: z.ZodString;
7852
7854
  subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
7853
- name: z.ZodString;
7854
7855
  id: z.ZodString;
7856
+ name: z.ZodString;
7857
+ description: z.ZodString;
7858
+ prompt: z.ZodString;
7855
7859
  createdAt: z.ZodOptional<z.ZodString>;
7856
7860
  updatedAt: z.ZodOptional<z.ZodString>;
7857
- description: z.ZodString;
7858
7861
  models: z.ZodOptional<z.ZodObject<{
7859
7862
  base: z.ZodOptional<z.ZodObject<{
7860
7863
  model: z.ZodOptional<z.ZodString>;
@@ -7878,7 +7881,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7878
7881
  }, {
7879
7882
  stepCountIs?: number | undefined;
7880
7883
  }>>>>;
7881
- prompt: z.ZodString;
7882
7884
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7883
7885
  type: z.ZodLiteral<"internal">;
7884
7886
  canUse: z.ZodArray<z.ZodObject<{
@@ -7892,24 +7894,19 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7892
7894
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7893
7895
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7894
7896
  }, z.core.$strip>, z.ZodObject<{
7895
- name: z.ZodString;
7896
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7897
7897
  id: z.ZodString;
7898
- createdAt: z.ZodOptional<z.ZodString>;
7899
- updatedAt: z.ZodOptional<z.ZodString>;
7898
+ name: z.ZodString;
7900
7899
  description: z.ZodString;
7901
7900
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7901
+ createdAt: z.ZodOptional<z.ZodString>;
7902
+ updatedAt: z.ZodOptional<z.ZodString>;
7902
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>>>>>;
7903
7905
  }, z.core.$strip>]>>;
7904
7906
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7905
- name: z.ZodString;
7906
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7907
7907
  id: z.ZodString;
7908
- createdAt: z.ZodOptional<z.ZodString>;
7909
- updatedAt: z.ZodOptional<z.ZodString>;
7908
+ name: z.ZodString;
7910
7909
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7911
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7912
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
7913
7910
  config: z.ZodObject<{
7914
7911
  type: z.ZodLiteral<"mcp">;
7915
7912
  mcp: z.ZodObject<{
@@ -7929,15 +7926,20 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7929
7926
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
7930
7927
  }, z.core.$strip>;
7931
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>>>>;
7932
7934
  imageUrl: z.ZodOptional<z.ZodString>;
7933
7935
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7934
7936
  }, z.core.$strip>>>;
7935
7937
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7936
- name: z.ZodString;
7937
7938
  id: z.ZodString;
7939
+ name: z.ZodString;
7940
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7938
7941
  createdAt: z.ZodOptional<z.ZodString>;
7939
7942
  updatedAt: z.ZodOptional<z.ZodString>;
7940
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7941
7943
  functionId: z.ZodString;
7942
7944
  }, z.core.$strip>>>;
7943
7945
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8204,9 +8206,9 @@ declare const ProjectSelectSchema: drizzle_zod.BuildSchema<"select", {
8204
8206
  }>;
8205
8207
  }, undefined, undefined>;
8206
8208
  declare const ProjectInsertSchema: z.ZodObject<{
8207
- name: z.ZodString;
8208
- id: z.ZodString;
8209
8209
  tenantId: z.ZodString;
8210
+ id: z.ZodString;
8211
+ name: z.ZodString;
8210
8212
  description: z.ZodString;
8211
8213
  models: z.ZodObject<{
8212
8214
  base: z.ZodObject<{
@@ -8231,9 +8233,9 @@ declare const ProjectInsertSchema: z.ZodObject<{
8231
8233
  in: {};
8232
8234
  }>;
8233
8235
  declare const ProjectUpdateSchema: z.ZodObject<{
8234
- name: z.ZodOptional<z.ZodString>;
8235
- id: z.ZodOptional<z.ZodString>;
8236
8236
  tenantId: z.ZodOptional<z.ZodString>;
8237
+ id: z.ZodOptional<z.ZodString>;
8238
+ name: z.ZodOptional<z.ZodString>;
8237
8239
  description: z.ZodOptional<z.ZodString>;
8238
8240
  models: z.ZodOptional<z.ZodObject<{
8239
8241
  base: z.ZodObject<{
@@ -8258,11 +8260,11 @@ declare const ProjectUpdateSchema: z.ZodObject<{
8258
8260
  in: {};
8259
8261
  }>;
8260
8262
  declare const ProjectApiSelectSchema: z.ZodObject<{
8261
- name: z.ZodString;
8262
8263
  id: z.ZodString;
8264
+ name: z.ZodString;
8265
+ description: z.ZodString;
8263
8266
  createdAt: z.ZodString;
8264
8267
  updatedAt: z.ZodString;
8265
- description: z.ZodString;
8266
8268
  models: z.ZodNullable<z.ZodType<{
8267
8269
  base: {
8268
8270
  model?: string | undefined;
@@ -8334,8 +8336,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
8334
8336
  in: {};
8335
8337
  }>;
8336
8338
  declare const ProjectApiInsertSchema: z.ZodObject<{
8337
- name: z.ZodString;
8338
8339
  id: z.ZodString;
8340
+ name: z.ZodString;
8339
8341
  description: z.ZodString;
8340
8342
  models: z.ZodObject<{
8341
8343
  base: z.ZodObject<{
@@ -8360,8 +8362,8 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
8360
8362
  in: {};
8361
8363
  }>;
8362
8364
  declare const ProjectApiUpdateSchema: z.ZodObject<{
8363
- name: z.ZodOptional<z.ZodString>;
8364
8365
  id: z.ZodOptional<z.ZodString>;
8366
+ name: z.ZodOptional<z.ZodString>;
8365
8367
  description: z.ZodOptional<z.ZodString>;
8366
8368
  models: z.ZodOptional<z.ZodObject<{
8367
8369
  base: z.ZodObject<{
@@ -8386,8 +8388,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
8386
8388
  in: {};
8387
8389
  }>;
8388
8390
  declare const FullProjectDefinitionSchema: z.ZodObject<{
8389
- name: z.ZodString;
8390
8391
  id: z.ZodString;
8392
+ name: z.ZodString;
8391
8393
  description: z.ZodString;
8392
8394
  models: z.ZodObject<{
8393
8395
  base: z.ZodObject<{
@@ -8409,18 +8411,19 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8409
8411
  }, z.core.$strip>>;
8410
8412
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
8411
8413
  name: z.ZodString;
8414
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8412
8415
  createdAt: z.ZodOptional<z.ZodString>;
8413
8416
  updatedAt: z.ZodOptional<z.ZodString>;
8414
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8415
8417
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8416
8418
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8417
8419
  id: z.ZodString;
8418
8420
  subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
8419
- name: z.ZodString;
8420
8421
  id: z.ZodString;
8422
+ name: z.ZodString;
8423
+ description: z.ZodString;
8424
+ prompt: z.ZodString;
8421
8425
  createdAt: z.ZodOptional<z.ZodString>;
8422
8426
  updatedAt: z.ZodOptional<z.ZodString>;
8423
- description: z.ZodString;
8424
8427
  models: z.ZodOptional<z.ZodObject<{
8425
8428
  base: z.ZodOptional<z.ZodObject<{
8426
8429
  model: z.ZodOptional<z.ZodString>;
@@ -8444,7 +8447,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8444
8447
  }, {
8445
8448
  stepCountIs?: number | undefined;
8446
8449
  }>>>>;
8447
- prompt: z.ZodString;
8448
8450
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
8449
8451
  type: z.ZodLiteral<"internal">;
8450
8452
  canUse: z.ZodArray<z.ZodObject<{
@@ -8458,24 +8460,19 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8458
8460
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
8459
8461
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
8460
8462
  }, z.core.$strip>, z.ZodObject<{
8461
- name: z.ZodString;
8462
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8463
8463
  id: z.ZodString;
8464
- createdAt: z.ZodOptional<z.ZodString>;
8465
- updatedAt: z.ZodOptional<z.ZodString>;
8464
+ name: z.ZodString;
8466
8465
  description: z.ZodString;
8467
8466
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8467
+ createdAt: z.ZodOptional<z.ZodString>;
8468
+ updatedAt: z.ZodOptional<z.ZodString>;
8468
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>>>>>;
8469
8471
  }, z.core.$strip>]>>;
8470
8472
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8471
- name: z.ZodString;
8472
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8473
8473
  id: z.ZodString;
8474
- createdAt: z.ZodOptional<z.ZodString>;
8475
- updatedAt: z.ZodOptional<z.ZodString>;
8474
+ name: z.ZodString;
8476
8475
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8477
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8478
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8479
8476
  config: z.ZodObject<{
8480
8477
  type: z.ZodLiteral<"mcp">;
8481
8478
  mcp: z.ZodObject<{
@@ -8495,15 +8492,20 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8495
8492
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8496
8493
  }, z.core.$strip>;
8497
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>>>>;
8498
8500
  imageUrl: z.ZodOptional<z.ZodString>;
8499
8501
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8500
8502
  }, z.core.$strip>>>;
8501
8503
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8502
- name: z.ZodString;
8503
8504
  id: z.ZodString;
8505
+ name: z.ZodString;
8506
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8504
8507
  createdAt: z.ZodOptional<z.ZodString>;
8505
8508
  updatedAt: z.ZodOptional<z.ZodString>;
8506
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8507
8509
  functionId: z.ZodString;
8508
8510
  }, z.core.$strip>>>;
8509
8511
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8554,14 +8556,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8554
8556
  prompt: z.ZodOptional<z.ZodString>;
8555
8557
  }, z.core.$strip>>;
8556
8558
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
8557
- name: z.ZodString;
8558
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8559
8559
  id: z.ZodString;
8560
- createdAt: z.ZodOptional<z.ZodString>;
8561
- updatedAt: z.ZodOptional<z.ZodString>;
8560
+ name: z.ZodString;
8562
8561
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8563
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8564
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8565
8562
  config: z.ZodObject<{
8566
8563
  type: z.ZodLiteral<"mcp">;
8567
8564
  mcp: z.ZodObject<{
@@ -8581,6 +8578,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8581
8578
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8582
8579
  }, z.core.$strip>;
8583
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>>>>;
8584
8586
  imageUrl: z.ZodOptional<z.ZodString>;
8585
8587
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8586
8588
  }, z.core.$strip>>;
@@ -8593,11 +8595,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8593
8595
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8594
8596
  }, z.core.$strip>>>;
8595
8597
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8596
- name: z.ZodString;
8597
8598
  id: z.ZodString;
8599
+ name: z.ZodString;
8600
+ description: z.ZodString;
8598
8601
  createdAt: z.ZodOptional<z.ZodString>;
8599
8602
  updatedAt: z.ZodOptional<z.ZodString>;
8600
- description: z.ZodString;
8601
8603
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8602
8604
  preview: z.ZodOptional<z.ZodNullable<z.ZodType<{
8603
8605
  code: string;
@@ -8614,8 +8616,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8614
8616
  }>>>>;
8615
8617
  }, z.core.$strip>>>;
8616
8618
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8617
- name: z.ZodString;
8618
8619
  id: z.ZodString;
8620
+ name: z.ZodString;
8619
8621
  description: z.ZodString;
8620
8622
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8621
8623
  }, {
@@ -8639,10 +8641,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8639
8641
  }, z.core.$strip>>;
8640
8642
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8641
8643
  id: z.ZodString;
8642
- credentialStoreId: z.ZodString;
8643
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8644
8644
  createdAt: z.ZodOptional<z.ZodString>;
8645
8645
  updatedAt: z.ZodOptional<z.ZodString>;
8646
+ credentialStoreId: z.ZodString;
8647
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8646
8648
  type: z.ZodEnum<{
8647
8649
  readonly memory: "memory";
8648
8650
  readonly keychain: "keychain";
@@ -8657,11 +8659,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8657
8659
  }>;
8658
8660
  declare const ProjectResponse: z.ZodObject<{
8659
8661
  data: z.ZodObject<{
8660
- name: z.ZodString;
8661
8662
  id: z.ZodString;
8663
+ name: z.ZodString;
8664
+ description: z.ZodString;
8662
8665
  createdAt: z.ZodString;
8663
8666
  updatedAt: z.ZodString;
8664
- description: z.ZodString;
8665
8667
  models: z.ZodNullable<z.ZodType<{
8666
8668
  base: {
8667
8669
  model?: string | undefined;
@@ -8735,11 +8737,12 @@ declare const ProjectResponse: z.ZodObject<{
8735
8737
  }, z.core.$strip>;
8736
8738
  declare const SubAgentResponse: z.ZodObject<{
8737
8739
  data: z.ZodObject<{
8738
- name: z.ZodString;
8739
8740
  id: z.ZodString;
8741
+ name: z.ZodString;
8742
+ description: z.ZodString;
8743
+ prompt: z.ZodString;
8740
8744
  createdAt: z.ZodString;
8741
8745
  updatedAt: z.ZodString;
8742
- description: z.ZodString;
8743
8746
  models: z.ZodNullable<z.ZodType<{
8744
8747
  base?: {
8745
8748
  model?: string | undefined;
@@ -8802,17 +8805,17 @@ declare const SubAgentResponse: z.ZodObject<{
8802
8805
  }, {
8803
8806
  stepCountIs?: number | undefined;
8804
8807
  }>>>;
8805
- prompt: z.ZodString;
8806
8808
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
8807
8809
  }, z.core.$strip>;
8808
8810
  }, z.core.$strip>;
8809
8811
  declare const AgentResponse: z.ZodObject<{
8810
8812
  data: z.ZodObject<{
8811
- name: z.ZodString;
8812
8813
  id: z.ZodString;
8814
+ name: z.ZodString;
8815
+ description: z.ZodNullable<z.ZodString>;
8816
+ prompt: z.ZodNullable<z.ZodString>;
8813
8817
  createdAt: z.ZodString;
8814
8818
  updatedAt: z.ZodString;
8815
- description: z.ZodNullable<z.ZodString>;
8816
8819
  models: z.ZodNullable<z.ZodType<{
8817
8820
  base?: {
8818
8821
  model?: string | undefined;
@@ -8877,7 +8880,6 @@ declare const AgentResponse: z.ZodObject<{
8877
8880
  }>>>;
8878
8881
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
8879
8882
  contextConfigId: z.ZodNullable<z.ZodString>;
8880
- prompt: z.ZodNullable<z.ZodString>;
8881
8883
  statusUpdates: z.ZodNullable<z.ZodType<{
8882
8884
  enabled?: boolean | undefined;
8883
8885
  numEvents?: number | undefined;
@@ -8939,14 +8941,9 @@ declare const AgentResponse: z.ZodObject<{
8939
8941
  }, z.core.$strip>;
8940
8942
  declare const ToolResponse: z.ZodObject<{
8941
8943
  data: z.ZodObject<{
8942
- name: z.ZodString;
8943
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
8944
8944
  id: z.ZodString;
8945
- createdAt: z.ZodString;
8946
- updatedAt: z.ZodString;
8945
+ name: z.ZodString;
8947
8946
  description: z.ZodNullable<z.ZodString>;
8948
- credentialReferenceId: z.ZodNullable<z.ZodString>;
8949
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
8950
8947
  config: z.ZodType<{
8951
8948
  type: "mcp";
8952
8949
  mcp: ToolMcpConfig;
@@ -8960,20 +8957,25 @@ declare const ToolResponse: z.ZodObject<{
8960
8957
  type: "mcp";
8961
8958
  mcp: ToolMcpConfig;
8962
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>>>;
8963
8965
  imageUrl: z.ZodNullable<z.ZodString>;
8964
8966
  lastError: z.ZodNullable<z.ZodString>;
8965
8967
  }, z.core.$strip>;
8966
8968
  }, z.core.$strip>;
8967
8969
  declare const ExternalAgentResponse: z.ZodObject<{
8968
8970
  data: z.ZodObject<{
8969
- name: z.ZodString;
8970
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
8971
8971
  id: z.ZodString;
8972
- createdAt: z.ZodString;
8973
- updatedAt: z.ZodString;
8972
+ name: z.ZodString;
8974
8973
  description: z.ZodString;
8975
8974
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8975
+ createdAt: z.ZodString;
8976
+ updatedAt: z.ZodString;
8976
8977
  baseUrl: z.ZodString;
8978
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
8977
8979
  }, z.core.$strip>;
8978
8980
  }, z.core.$strip>;
8979
8981
  declare const ContextConfigResponse: z.ZodObject<{
@@ -8987,15 +8989,15 @@ declare const ContextConfigResponse: z.ZodObject<{
8987
8989
  }, z.core.$strip>;
8988
8990
  declare const ApiKeyResponse: z.ZodObject<{
8989
8991
  data: z.ZodObject<{
8990
- name: z.ZodNullable<z.ZodString>;
8991
8992
  id: z.ZodString;
8992
- createdAt: z.ZodString;
8993
- updatedAt: z.ZodString;
8993
+ name: z.ZodNullable<z.ZodString>;
8994
8994
  agentId: z.ZodString;
8995
8995
  publicId: z.ZodString;
8996
8996
  keyPrefix: z.ZodString;
8997
8997
  lastUsedAt: z.ZodNullable<z.ZodString>;
8998
8998
  expiresAt: z.ZodNullable<z.ZodString>;
8999
+ createdAt: z.ZodString;
9000
+ updatedAt: z.ZodString;
8999
9001
  }, {
9000
9002
  out: {};
9001
9003
  in: {};
@@ -9004,10 +9006,10 @@ declare const ApiKeyResponse: z.ZodObject<{
9004
9006
  declare const CredentialReferenceResponse: z.ZodObject<{
9005
9007
  data: z.ZodObject<{
9006
9008
  id: z.ZodString;
9007
- credentialStoreId: z.ZodString;
9008
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9009
9009
  createdAt: z.ZodString;
9010
9010
  updatedAt: z.ZodString;
9011
+ credentialStoreId: z.ZodString;
9012
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9011
9013
  type: z.ZodEnum<{
9012
9014
  readonly memory: "memory";
9013
9015
  readonly keychain: "keychain";
@@ -9282,22 +9284,22 @@ declare const FunctionResponse: z.ZodObject<{
9282
9284
  }, z.core.$strip>;
9283
9285
  declare const FunctionToolResponse: z.ZodObject<{
9284
9286
  data: z.ZodObject<{
9285
- name: z.ZodString;
9286
9287
  id: z.ZodString;
9287
- createdAt: z.ZodString;
9288
- updatedAt: z.ZodString;
9288
+ name: z.ZodString;
9289
9289
  description: z.ZodNullable<z.ZodString>;
9290
9290
  agentId: z.ZodString;
9291
+ createdAt: z.ZodString;
9292
+ updatedAt: z.ZodString;
9291
9293
  functionId: z.ZodString;
9292
9294
  }, z.core.$strip>;
9293
9295
  }, z.core.$strip>;
9294
9296
  declare const DataComponentResponse: z.ZodObject<{
9295
9297
  data: z.ZodObject<{
9296
- name: z.ZodString;
9297
9298
  id: z.ZodString;
9299
+ name: z.ZodString;
9300
+ description: z.ZodString;
9298
9301
  createdAt: z.ZodString;
9299
9302
  updatedAt: z.ZodString;
9300
- description: z.ZodString;
9301
9303
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9302
9304
  preview: z.ZodNullable<z.ZodType<{
9303
9305
  code: string;
@@ -9316,11 +9318,11 @@ declare const DataComponentResponse: z.ZodObject<{
9316
9318
  }, z.core.$strip>;
9317
9319
  declare const ArtifactComponentResponse: z.ZodObject<{
9318
9320
  data: z.ZodObject<{
9319
- name: z.ZodString;
9320
9321
  id: z.ZodString;
9322
+ name: z.ZodString;
9323
+ description: z.ZodString;
9321
9324
  createdAt: z.ZodString;
9322
9325
  updatedAt: z.ZodString;
9323
- description: z.ZodString;
9324
9326
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9325
9327
  }, z.core.$strip>;
9326
9328
  }, z.core.$strip>;
@@ -9337,21 +9339,21 @@ declare const SubAgentRelationResponse: z.ZodObject<{
9337
9339
  }, z.core.$strip>;
9338
9340
  declare const SubAgentToolRelationResponse: z.ZodObject<{
9339
9341
  data: z.ZodObject<{
9340
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9341
9342
  id: z.ZodString;
9342
9343
  createdAt: z.ZodString;
9343
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;
9344
9347
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9345
9348
  subAgentId: z.ZodString;
9346
- toolId: z.ZodString;
9347
9349
  }, z.core.$strip>;
9348
9350
  }, z.core.$strip>;
9349
9351
  declare const ConversationResponse: z.ZodObject<{
9350
9352
  data: z.ZodObject<{
9351
9353
  id: z.ZodString;
9354
+ title: z.ZodNullable<z.ZodString>;
9352
9355
  createdAt: z.ZodString;
9353
9356
  updatedAt: z.ZodString;
9354
- title: z.ZodNullable<z.ZodString>;
9355
9357
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
9356
9358
  userId: z.ZodNullable<z.ZodString>;
9357
9359
  activeSubAgentId: z.ZodString;
@@ -9381,11 +9383,11 @@ declare const MessageResponse: z.ZodObject<{
9381
9383
  }, z.core.$strip>;
9382
9384
  declare const ProjectListResponse: z.ZodObject<{
9383
9385
  data: z.ZodArray<z.ZodObject<{
9384
- name: z.ZodString;
9385
9386
  id: z.ZodString;
9387
+ name: z.ZodString;
9388
+ description: z.ZodString;
9386
9389
  createdAt: z.ZodString;
9387
9390
  updatedAt: z.ZodString;
9388
- description: z.ZodString;
9389
9391
  models: z.ZodNullable<z.ZodType<{
9390
9392
  base: {
9391
9393
  model?: string | undefined;
@@ -9465,11 +9467,12 @@ declare const ProjectListResponse: z.ZodObject<{
9465
9467
  }, z.core.$strip>;
9466
9468
  declare const SubAgentListResponse: z.ZodObject<{
9467
9469
  data: z.ZodArray<z.ZodObject<{
9468
- name: z.ZodString;
9469
9470
  id: z.ZodString;
9471
+ name: z.ZodString;
9472
+ description: z.ZodString;
9473
+ prompt: z.ZodString;
9470
9474
  createdAt: z.ZodString;
9471
9475
  updatedAt: z.ZodString;
9472
- description: z.ZodString;
9473
9476
  models: z.ZodNullable<z.ZodType<{
9474
9477
  base?: {
9475
9478
  model?: string | undefined;
@@ -9532,7 +9535,6 @@ declare const SubAgentListResponse: z.ZodObject<{
9532
9535
  }, {
9533
9536
  stepCountIs?: number | undefined;
9534
9537
  }>>>;
9535
- prompt: z.ZodString;
9536
9538
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
9537
9539
  }, z.core.$strip>>;
9538
9540
  pagination: z.ZodObject<{
@@ -9544,11 +9546,12 @@ declare const SubAgentListResponse: z.ZodObject<{
9544
9546
  }, z.core.$strip>;
9545
9547
  declare const AgentListResponse: z.ZodObject<{
9546
9548
  data: z.ZodArray<z.ZodObject<{
9547
- name: z.ZodString;
9548
9549
  id: z.ZodString;
9550
+ name: z.ZodString;
9551
+ description: z.ZodNullable<z.ZodString>;
9552
+ prompt: z.ZodNullable<z.ZodString>;
9549
9553
  createdAt: z.ZodString;
9550
9554
  updatedAt: z.ZodString;
9551
- description: z.ZodNullable<z.ZodString>;
9552
9555
  models: z.ZodNullable<z.ZodType<{
9553
9556
  base?: {
9554
9557
  model?: string | undefined;
@@ -9613,7 +9616,6 @@ declare const AgentListResponse: z.ZodObject<{
9613
9616
  }>>>;
9614
9617
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
9615
9618
  contextConfigId: z.ZodNullable<z.ZodString>;
9616
- prompt: z.ZodNullable<z.ZodString>;
9617
9619
  statusUpdates: z.ZodNullable<z.ZodType<{
9618
9620
  enabled?: boolean | undefined;
9619
9621
  numEvents?: number | undefined;
@@ -9681,14 +9683,9 @@ declare const AgentListResponse: z.ZodObject<{
9681
9683
  }, z.core.$strip>;
9682
9684
  declare const ToolListResponse: z.ZodObject<{
9683
9685
  data: z.ZodArray<z.ZodObject<{
9684
- name: z.ZodString;
9685
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9686
9686
  id: z.ZodString;
9687
- createdAt: z.ZodString;
9688
- updatedAt: z.ZodString;
9687
+ name: z.ZodString;
9689
9688
  description: z.ZodNullable<z.ZodString>;
9690
- credentialReferenceId: z.ZodNullable<z.ZodString>;
9691
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9692
9689
  config: z.ZodType<{
9693
9690
  type: "mcp";
9694
9691
  mcp: ToolMcpConfig;
@@ -9702,6 +9699,11 @@ declare const ToolListResponse: z.ZodObject<{
9702
9699
  type: "mcp";
9703
9700
  mcp: ToolMcpConfig;
9704
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>>>;
9705
9707
  imageUrl: z.ZodNullable<z.ZodString>;
9706
9708
  lastError: z.ZodNullable<z.ZodString>;
9707
9709
  }, z.core.$strip>>;
@@ -9714,14 +9716,14 @@ declare const ToolListResponse: z.ZodObject<{
9714
9716
  }, z.core.$strip>;
9715
9717
  declare const ExternalAgentListResponse: z.ZodObject<{
9716
9718
  data: z.ZodArray<z.ZodObject<{
9717
- name: z.ZodString;
9718
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
9719
9719
  id: z.ZodString;
9720
- createdAt: z.ZodString;
9721
- updatedAt: z.ZodString;
9720
+ name: z.ZodString;
9722
9721
  description: z.ZodString;
9723
9722
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9723
+ createdAt: z.ZodString;
9724
+ updatedAt: z.ZodString;
9724
9725
  baseUrl: z.ZodString;
9726
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
9725
9727
  }, z.core.$strip>>;
9726
9728
  pagination: z.ZodObject<{
9727
9729
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -9747,15 +9749,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
9747
9749
  }, z.core.$strip>;
9748
9750
  declare const ApiKeyListResponse: z.ZodObject<{
9749
9751
  data: z.ZodArray<z.ZodObject<{
9750
- name: z.ZodNullable<z.ZodString>;
9751
9752
  id: z.ZodString;
9752
- createdAt: z.ZodString;
9753
- updatedAt: z.ZodString;
9753
+ name: z.ZodNullable<z.ZodString>;
9754
9754
  agentId: z.ZodString;
9755
9755
  publicId: z.ZodString;
9756
9756
  keyPrefix: z.ZodString;
9757
9757
  lastUsedAt: z.ZodNullable<z.ZodString>;
9758
9758
  expiresAt: z.ZodNullable<z.ZodString>;
9759
+ createdAt: z.ZodString;
9760
+ updatedAt: z.ZodString;
9759
9761
  }, {
9760
9762
  out: {};
9761
9763
  in: {};
@@ -9770,10 +9772,10 @@ declare const ApiKeyListResponse: z.ZodObject<{
9770
9772
  declare const CredentialReferenceListResponse: z.ZodObject<{
9771
9773
  data: z.ZodArray<z.ZodObject<{
9772
9774
  id: z.ZodString;
9773
- credentialStoreId: z.ZodString;
9774
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9775
9775
  createdAt: z.ZodString;
9776
9776
  updatedAt: z.ZodString;
9777
+ credentialStoreId: z.ZodString;
9778
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9777
9779
  type: z.ZodEnum<{
9778
9780
  readonly memory: "memory";
9779
9781
  readonly keychain: "keychain";
@@ -10060,12 +10062,12 @@ declare const FunctionListResponse: z.ZodObject<{
10060
10062
  }, z.core.$strip>;
10061
10063
  declare const FunctionToolListResponse: z.ZodObject<{
10062
10064
  data: z.ZodArray<z.ZodObject<{
10063
- name: z.ZodString;
10064
10065
  id: z.ZodString;
10065
- createdAt: z.ZodString;
10066
- updatedAt: z.ZodString;
10066
+ name: z.ZodString;
10067
10067
  description: z.ZodNullable<z.ZodString>;
10068
10068
  agentId: z.ZodString;
10069
+ createdAt: z.ZodString;
10070
+ updatedAt: z.ZodString;
10069
10071
  functionId: z.ZodString;
10070
10072
  }, z.core.$strip>>;
10071
10073
  pagination: z.ZodObject<{
@@ -10077,11 +10079,11 @@ declare const FunctionToolListResponse: z.ZodObject<{
10077
10079
  }, z.core.$strip>;
10078
10080
  declare const DataComponentListResponse: z.ZodObject<{
10079
10081
  data: z.ZodArray<z.ZodObject<{
10080
- name: z.ZodString;
10081
10082
  id: z.ZodString;
10083
+ name: z.ZodString;
10084
+ description: z.ZodString;
10082
10085
  createdAt: z.ZodString;
10083
10086
  updatedAt: z.ZodString;
10084
- description: z.ZodString;
10085
10087
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10086
10088
  preview: z.ZodNullable<z.ZodType<{
10087
10089
  code: string;
@@ -10106,11 +10108,11 @@ declare const DataComponentListResponse: z.ZodObject<{
10106
10108
  }, z.core.$strip>;
10107
10109
  declare const ArtifactComponentListResponse: z.ZodObject<{
10108
10110
  data: z.ZodArray<z.ZodObject<{
10109
- name: z.ZodString;
10110
10111
  id: z.ZodString;
10112
+ name: z.ZodString;
10113
+ description: z.ZodString;
10111
10114
  createdAt: z.ZodString;
10112
10115
  updatedAt: z.ZodString;
10113
- description: z.ZodString;
10114
10116
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10115
10117
  }, z.core.$strip>>;
10116
10118
  pagination: z.ZodObject<{
@@ -10139,13 +10141,13 @@ declare const SubAgentRelationListResponse: z.ZodObject<{
10139
10141
  }, z.core.$strip>;
10140
10142
  declare const SubAgentToolRelationListResponse: z.ZodObject<{
10141
10143
  data: z.ZodArray<z.ZodObject<{
10142
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10143
10144
  id: z.ZodString;
10144
10145
  createdAt: z.ZodString;
10145
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;
10146
10149
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10147
10150
  subAgentId: z.ZodString;
10148
- toolId: z.ZodString;
10149
10151
  }, z.core.$strip>>;
10150
10152
  pagination: z.ZodObject<{
10151
10153
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -10157,9 +10159,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
10157
10159
  declare const ConversationListResponse: z.ZodObject<{
10158
10160
  data: z.ZodArray<z.ZodObject<{
10159
10161
  id: z.ZodString;
10162
+ title: z.ZodNullable<z.ZodString>;
10160
10163
  createdAt: z.ZodString;
10161
10164
  updatedAt: z.ZodString;
10162
- title: z.ZodNullable<z.ZodString>;
10163
10165
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
10164
10166
  userId: z.ZodNullable<z.ZodString>;
10165
10167
  activeSubAgentId: z.ZodString;