@inkeep/agents-core 0.22.11 → 0.22.12

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