@inkeep/agents-core 0.22.1 → 0.22.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -774,12 +774,11 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
774
774
  in: {};
775
775
  }>;
776
776
  declare const SubAgentApiSelectSchema: z.ZodObject<{
777
- id: z.ZodString;
778
777
  name: z.ZodString;
779
- description: z.ZodString;
780
- prompt: z.ZodString;
778
+ id: z.ZodString;
781
779
  createdAt: z.ZodString;
782
780
  updatedAt: z.ZodString;
781
+ description: z.ZodString;
783
782
  models: z.ZodNullable<z.ZodType<{
784
783
  base?: {
785
784
  model?: string | undefined;
@@ -842,15 +841,15 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
842
841
  }, {
843
842
  stepCountIs?: number | undefined;
844
843
  }>>>;
844
+ prompt: z.ZodString;
845
845
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
846
846
  }, z.core.$strip>;
847
847
  declare const SubAgentApiInsertSchema: z.ZodObject<{
848
- id: z.ZodString;
849
848
  name: z.ZodString;
850
- description: z.ZodString;
851
- prompt: z.ZodString;
849
+ id: z.ZodString;
852
850
  createdAt: z.ZodOptional<z.ZodString>;
853
851
  updatedAt: z.ZodOptional<z.ZodString>;
852
+ description: z.ZodString;
854
853
  models: z.ZodOptional<z.ZodObject<{
855
854
  base: z.ZodOptional<z.ZodObject<{
856
855
  model: z.ZodOptional<z.ZodString>;
@@ -874,15 +873,15 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
874
873
  }, {
875
874
  stepCountIs?: number | undefined;
876
875
  }>>>>;
876
+ prompt: z.ZodString;
877
877
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
878
878
  }, z.core.$strip>;
879
879
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
880
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
881
880
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
882
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
883
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
881
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
884
882
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
885
883
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
884
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
886
885
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
887
886
  base: z.ZodOptional<z.ZodObject<{
888
887
  model: z.ZodOptional<z.ZodString>;
@@ -906,6 +905,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
906
905
  }, {
907
906
  stepCountIs?: number | undefined;
908
907
  }>>>>>>;
908
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
909
909
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
910
910
  }, z.core.$strip>;
911
911
  declare const SubAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -1185,9 +1185,9 @@ declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{
1185
1185
  }>;
1186
1186
  declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1187
1187
  id: z.ZodString;
1188
- agentId: z.ZodString;
1189
1188
  createdAt: z.ZodOptional<z.ZodString>;
1190
1189
  updatedAt: z.ZodOptional<z.ZodString>;
1190
+ agentId: z.ZodString;
1191
1191
  sourceSubAgentId: z.ZodString;
1192
1192
  targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1193
1193
  externalSubAgentId: z.ZodString;
@@ -1769,12 +1769,11 @@ declare const AgentUpdateSchema: z.ZodObject<{
1769
1769
  in: {};
1770
1770
  }>;
1771
1771
  declare const AgentApiSelectSchema: z.ZodObject<{
1772
- id: z.ZodString;
1773
1772
  name: z.ZodString;
1774
- description: z.ZodNullable<z.ZodString>;
1775
- prompt: z.ZodNullable<z.ZodString>;
1773
+ id: z.ZodString;
1776
1774
  createdAt: z.ZodString;
1777
1775
  updatedAt: z.ZodString;
1776
+ description: z.ZodNullable<z.ZodString>;
1778
1777
  models: z.ZodNullable<z.ZodType<{
1779
1778
  base?: {
1780
1779
  model?: string | undefined;
@@ -1839,6 +1838,7 @@ declare const AgentApiSelectSchema: z.ZodObject<{
1839
1838
  }>>>;
1840
1839
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
1841
1840
  contextConfigId: z.ZodNullable<z.ZodString>;
1841
+ prompt: z.ZodNullable<z.ZodString>;
1842
1842
  statusUpdates: z.ZodNullable<z.ZodType<{
1843
1843
  enabled?: boolean | undefined;
1844
1844
  numEvents?: number | undefined;
@@ -1899,10 +1899,9 @@ declare const AgentApiSelectSchema: z.ZodObject<{
1899
1899
  }, z.core.$strip>;
1900
1900
  declare const AgentApiInsertSchema: z.ZodObject<{
1901
1901
  name: z.ZodString;
1902
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1903
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1904
1902
  createdAt: z.ZodOptional<z.ZodString>;
1905
1903
  updatedAt: z.ZodOptional<z.ZodString>;
1904
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1906
1905
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
1907
1906
  base?: {
1908
1907
  model?: string | undefined;
@@ -1967,6 +1966,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
1967
1966
  }>>>>;
1968
1967
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1969
1968
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1969
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1970
1970
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
1971
1971
  enabled?: boolean | undefined;
1972
1972
  numEvents?: number | undefined;
@@ -2027,12 +2027,11 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2027
2027
  id: z.ZodString;
2028
2028
  }, z.core.$strip>;
2029
2029
  declare const AgentApiUpdateSchema: z.ZodObject<{
2030
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2031
2030
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2032
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2033
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2031
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2034
2032
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2035
2033
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2034
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2036
2035
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2037
2036
  base?: {
2038
2037
  model?: string | undefined;
@@ -2097,6 +2096,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2097
2096
  }>>>>>>;
2098
2097
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2099
2098
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2099
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2100
2100
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2101
2101
  enabled?: boolean | undefined;
2102
2102
  numEvents?: number | undefined;
@@ -2381,9 +2381,9 @@ declare const TaskUpdateSchema: z.ZodObject<{
2381
2381
  }>;
2382
2382
  declare const TaskApiSelectSchema: z.ZodObject<{
2383
2383
  id: z.ZodString;
2384
- agentId: z.ZodString;
2385
2384
  createdAt: z.ZodString;
2386
2385
  updatedAt: z.ZodString;
2386
+ agentId: z.ZodString;
2387
2387
  status: z.ZodString;
2388
2388
  metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
2389
2389
  contextId: z.ZodString;
@@ -2391,9 +2391,9 @@ declare const TaskApiSelectSchema: z.ZodObject<{
2391
2391
  }, z.core.$strip>;
2392
2392
  declare const TaskApiInsertSchema: z.ZodObject<{
2393
2393
  id: z.ZodString;
2394
- agentId: z.ZodString;
2395
2394
  createdAt: z.ZodOptional<z.ZodString>;
2396
2395
  updatedAt: z.ZodOptional<z.ZodString>;
2396
+ agentId: z.ZodString;
2397
2397
  status: z.ZodString;
2398
2398
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
2399
2399
  conversationId: z.ZodOptional<z.ZodString>;
@@ -2402,9 +2402,9 @@ declare const TaskApiInsertSchema: z.ZodObject<{
2402
2402
  }, z.core.$strip>;
2403
2403
  declare const TaskApiUpdateSchema: z.ZodObject<{
2404
2404
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2405
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2406
2405
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2407
2406
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2407
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2408
2408
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2409
2409
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
2410
2410
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -3153,9 +3153,9 @@ declare const ConversationUpdateSchema: z.ZodObject<{
3153
3153
  }>;
3154
3154
  declare const ConversationApiSelectSchema: z.ZodObject<{
3155
3155
  id: z.ZodString;
3156
- title: z.ZodNullable<z.ZodString>;
3157
3156
  createdAt: z.ZodString;
3158
3157
  updatedAt: z.ZodString;
3158
+ title: z.ZodNullable<z.ZodString>;
3159
3159
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
3160
3160
  userId: z.ZodNullable<z.ZodString>;
3161
3161
  activeSubAgentId: z.ZodString;
@@ -3163,9 +3163,9 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
3163
3163
  }, z.core.$strip>;
3164
3164
  declare const ConversationApiInsertSchema: z.ZodObject<{
3165
3165
  id: z.ZodString;
3166
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3167
3166
  createdAt: z.ZodOptional<z.ZodString>;
3168
3167
  updatedAt: z.ZodOptional<z.ZodString>;
3168
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3169
3169
  contextConfigId: z.ZodOptional<z.ZodString>;
3170
3170
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
3171
3171
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3174,9 +3174,9 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
3174
3174
  }, z.core.$strip>;
3175
3175
  declare const ConversationApiUpdateSchema: z.ZodObject<{
3176
3176
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3177
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3178
3177
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3179
3178
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3179
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3180
3180
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3181
3181
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
3182
3182
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -4164,8 +4164,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
4164
4164
  in: {};
4165
4165
  }>;
4166
4166
  declare const ContextCacheApiSelectSchema: z.ZodObject<{
4167
- id: z.ZodString;
4168
4167
  value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4168
+ id: z.ZodString;
4169
4169
  createdAt: z.ZodString;
4170
4170
  updatedAt: z.ZodString;
4171
4171
  contextConfigId: z.ZodString;
@@ -4177,8 +4177,8 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
4177
4177
  fetchDurationMs: z.ZodNullable<z.ZodInt>;
4178
4178
  }, z.core.$strip>;
4179
4179
  declare const ContextCacheApiInsertSchema: z.ZodObject<{
4180
- id: z.ZodString;
4181
4180
  value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4181
+ id: z.ZodString;
4182
4182
  createdAt: z.ZodOptional<z.ZodString>;
4183
4183
  updatedAt: z.ZodOptional<z.ZodString>;
4184
4184
  contextConfigId: z.ZodString;
@@ -4190,8 +4190,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
4190
4190
  fetchDurationMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4191
4191
  }, z.core.$strip>;
4192
4192
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
4193
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4194
4193
  value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
4194
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4195
4195
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4196
4196
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4197
4197
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4370,10 +4370,10 @@ declare const DataComponentInsertSchema: z.ZodObject<{
4370
4370
  in: {};
4371
4371
  }>;
4372
4372
  declare const DataComponentBaseSchema: z.ZodObject<{
4373
- tenantId: z.ZodString;
4374
- projectId: z.ZodString;
4375
- id: z.ZodString;
4376
4373
  name: z.ZodString;
4374
+ id: z.ZodString;
4375
+ projectId: z.ZodString;
4376
+ tenantId: z.ZodString;
4377
4377
  description: z.ZodString;
4378
4378
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4379
4379
  }, {
@@ -4394,27 +4394,27 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
4394
4394
  in: {};
4395
4395
  }>;
4396
4396
  declare const DataComponentApiSelectSchema: z.ZodObject<{
4397
- id: z.ZodString;
4398
4397
  name: z.ZodString;
4399
- description: z.ZodString;
4398
+ id: z.ZodString;
4400
4399
  createdAt: z.ZodString;
4401
4400
  updatedAt: z.ZodString;
4401
+ description: z.ZodString;
4402
4402
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
4403
4403
  }, z.core.$strip>;
4404
4404
  declare const DataComponentApiInsertSchema: z.ZodObject<{
4405
- id: z.ZodString;
4406
4405
  name: z.ZodString;
4407
- description: z.ZodString;
4406
+ id: z.ZodString;
4408
4407
  createdAt: z.ZodOptional<z.ZodString>;
4409
4408
  updatedAt: z.ZodOptional<z.ZodString>;
4409
+ description: z.ZodString;
4410
4410
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4411
4411
  }, z.core.$strip>;
4412
4412
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
4413
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4414
4413
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4415
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4414
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4416
4415
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4417
4416
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4417
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4418
4418
  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>>>>>>>;
4419
4419
  }, z.core.$strip>;
4420
4420
  declare const SubAgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -4900,16 +4900,16 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
4900
4900
  in: {};
4901
4901
  }>;
4902
4902
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
4903
- id: z.ZodString;
4904
4903
  name: z.ZodString;
4905
- description: z.ZodString;
4904
+ id: z.ZodString;
4906
4905
  createdAt: z.ZodString;
4907
4906
  updatedAt: z.ZodString;
4907
+ description: z.ZodString;
4908
4908
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
4909
4909
  }, z.core.$strip>;
4910
4910
  declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
4911
- id: z.ZodString;
4912
4911
  name: z.ZodString;
4912
+ id: z.ZodString;
4913
4913
  description: z.ZodString;
4914
4914
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4915
4915
  }, {
@@ -4917,11 +4917,11 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
4917
4917
  in: {};
4918
4918
  }>;
4919
4919
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
4920
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4921
4920
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4922
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4921
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4923
4922
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4924
4923
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4924
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4925
4925
  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>>>>>>>;
4926
4926
  }, z.core.$strip>;
4927
4927
  declare const SubAgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -5152,42 +5152,41 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
5152
5152
  in: {};
5153
5153
  }>;
5154
5154
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
5155
- id: z.ZodString;
5156
5155
  name: z.ZodString;
5157
- description: z.ZodString;
5158
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5156
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5157
+ id: z.ZodString;
5159
5158
  createdAt: z.ZodString;
5160
5159
  updatedAt: z.ZodString;
5160
+ description: z.ZodString;
5161
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5161
5162
  baseUrl: z.ZodString;
5162
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5163
5163
  }, z.core.$strip>;
5164
5164
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
5165
- id: z.ZodString;
5166
5165
  name: z.ZodString;
5167
- description: z.ZodString;
5168
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5166
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
5167
+ id: z.ZodString;
5169
5168
  createdAt: z.ZodOptional<z.ZodString>;
5170
5169
  updatedAt: z.ZodOptional<z.ZodString>;
5170
+ description: z.ZodString;
5171
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5171
5172
  baseUrl: z.ZodString;
5172
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
5173
5173
  }, z.core.$strip>;
5174
5174
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
5175
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5176
5175
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5177
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5178
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5176
+ 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>>>>>>>;
5177
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5179
5178
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5180
5179
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5180
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5181
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5181
5182
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5182
- 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>>>>>>>;
5183
5183
  }, z.core.$strip>;
5184
5184
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5185
- id: z.ZodString;
5186
5185
  name: z.ZodString;
5187
- description: z.ZodString;
5188
- prompt: z.ZodString;
5186
+ id: z.ZodString;
5189
5187
  createdAt: z.ZodString;
5190
5188
  updatedAt: z.ZodString;
5189
+ description: z.ZodString;
5191
5190
  models: z.ZodNullable<z.ZodType<{
5192
5191
  base?: {
5193
5192
  model?: string | undefined;
@@ -5250,17 +5249,18 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5250
5249
  }, {
5251
5250
  stepCountIs?: number | undefined;
5252
5251
  }>>>;
5252
+ prompt: z.ZodString;
5253
5253
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
5254
5254
  type: z.ZodLiteral<"internal">;
5255
5255
  }, z.core.$strip>, z.ZodObject<{
5256
- id: z.ZodString;
5257
5256
  name: z.ZodString;
5258
- description: z.ZodString;
5259
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5257
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5258
+ id: z.ZodString;
5260
5259
  createdAt: z.ZodString;
5261
5260
  updatedAt: z.ZodString;
5261
+ description: z.ZodString;
5262
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5262
5263
  baseUrl: z.ZodString;
5263
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5264
5264
  type: z.ZodLiteral<"external">;
5265
5265
  }, z.core.$strip>], "type">;
5266
5266
  declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -5512,24 +5512,24 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
5512
5512
  }>;
5513
5513
  declare const ApiKeyUpdateSchema: z.ZodObject<{
5514
5514
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5515
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5515
5516
  agentId: z.ZodOptional<z.ZodString>;
5516
5517
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5517
5518
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5518
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5519
5519
  }, {
5520
5520
  out: {};
5521
5521
  in: {};
5522
5522
  }>;
5523
5523
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
5524
- id: z.ZodString;
5525
5524
  name: z.ZodNullable<z.ZodString>;
5525
+ id: z.ZodString;
5526
+ createdAt: z.ZodString;
5527
+ updatedAt: z.ZodString;
5526
5528
  agentId: z.ZodString;
5527
5529
  publicId: z.ZodString;
5528
5530
  keyPrefix: z.ZodString;
5529
5531
  lastUsedAt: z.ZodNullable<z.ZodString>;
5530
5532
  expiresAt: z.ZodNullable<z.ZodString>;
5531
- createdAt: z.ZodString;
5532
- updatedAt: z.ZodString;
5533
5533
  }, {
5534
5534
  out: {};
5535
5535
  in: {};
@@ -5537,15 +5537,15 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
5537
5537
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
5538
5538
  data: z.ZodObject<{
5539
5539
  apiKey: z.ZodObject<{
5540
- id: z.ZodString;
5541
5540
  name: z.ZodNullable<z.ZodString>;
5541
+ id: z.ZodString;
5542
+ createdAt: z.ZodString;
5543
+ updatedAt: z.ZodString;
5542
5544
  agentId: z.ZodString;
5543
5545
  publicId: z.ZodString;
5544
5546
  keyPrefix: z.ZodString;
5545
5547
  lastUsedAt: z.ZodNullable<z.ZodString>;
5546
5548
  expiresAt: z.ZodNullable<z.ZodString>;
5547
- createdAt: z.ZodString;
5548
- updatedAt: z.ZodString;
5549
5549
  }, {
5550
5550
  out: {};
5551
5551
  in: {};
@@ -5555,20 +5555,20 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
5555
5555
  }, z.core.$strip>;
5556
5556
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
5557
5557
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5558
- agentId: z.ZodString;
5559
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5560
5558
  createdAt: z.ZodOptional<z.ZodString>;
5561
5559
  updatedAt: z.ZodOptional<z.ZodString>;
5560
+ agentId: z.ZodString;
5561
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5562
5562
  }, {
5563
5563
  out: {};
5564
5564
  in: {};
5565
5565
  }>;
5566
5566
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
5567
5567
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5568
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5568
5569
  agentId: z.ZodOptional<z.ZodString>;
5569
5570
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5570
5571
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5571
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5572
5572
  }, {
5573
5573
  out: {};
5574
5574
  in: {};
@@ -5611,10 +5611,10 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
5611
5611
  }>;
5612
5612
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5613
5613
  id: z.ZodString;
5614
- createdAt: z.ZodString;
5615
- updatedAt: z.ZodString;
5616
5614
  credentialStoreId: z.ZodString;
5617
5615
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5616
+ createdAt: z.ZodString;
5617
+ updatedAt: z.ZodString;
5618
5618
  type: z.ZodEnum<{
5619
5619
  readonly memory: "memory";
5620
5620
  readonly keychain: "keychain";
@@ -5878,10 +5878,10 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5878
5878
  }, z.core.$strip>;
5879
5879
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
5880
5880
  id: z.ZodString;
5881
- createdAt: z.ZodOptional<z.ZodString>;
5882
- updatedAt: z.ZodOptional<z.ZodString>;
5883
5881
  credentialStoreId: z.ZodString;
5884
5882
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5883
+ createdAt: z.ZodOptional<z.ZodString>;
5884
+ updatedAt: z.ZodOptional<z.ZodString>;
5885
5885
  type: z.ZodEnum<{
5886
5886
  readonly memory: "memory";
5887
5887
  readonly keychain: "keychain";
@@ -5890,10 +5890,10 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
5890
5890
  }, z.core.$strip>;
5891
5891
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
5892
5892
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5893
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5894
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5895
5893
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5896
5894
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
5895
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5896
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5897
5897
  type: z.ZodOptional<z.ZodEnum<{
5898
5898
  readonly memory: "memory";
5899
5899
  readonly keychain: "keychain";
@@ -5949,9 +5949,9 @@ declare const McpToolSchema: z.ZodObject<{
5949
5949
  in: {};
5950
5950
  }>;
5951
5951
  declare const MCPToolConfigSchema: z.ZodObject<{
5952
- id: z.ZodString;
5953
5952
  name: z.ZodString;
5954
5953
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
5954
+ id: z.ZodString;
5955
5955
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
5956
5956
  imageUrl: z.ZodOptional<z.ZodString>;
5957
5957
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5981,10 +5981,10 @@ declare const MCPToolConfigSchema: z.ZodObject<{
5981
5981
  }, z.core.$strip>>;
5982
5982
  credential: z.ZodOptional<z.ZodObject<{
5983
5983
  id: z.ZodString;
5984
- createdAt: z.ZodOptional<z.ZodString>;
5985
- updatedAt: z.ZodOptional<z.ZodString>;
5986
5984
  credentialStoreId: z.ZodString;
5987
5985
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5986
+ createdAt: z.ZodOptional<z.ZodString>;
5987
+ updatedAt: z.ZodOptional<z.ZodString>;
5988
5988
  type: z.ZodEnum<{
5989
5989
  readonly memory: "memory";
5990
5990
  readonly keychain: "keychain";
@@ -6032,9 +6032,14 @@ declare const ToolUpdateSchema: z.ZodObject<{
6032
6032
  in: {};
6033
6033
  }>;
6034
6034
  declare const ToolApiSelectSchema: z.ZodObject<{
6035
- id: z.ZodString;
6036
6035
  name: z.ZodString;
6036
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
6037
+ id: z.ZodString;
6038
+ createdAt: z.ZodString;
6039
+ updatedAt: z.ZodString;
6037
6040
  description: z.ZodNullable<z.ZodString>;
6041
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
6042
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6038
6043
  config: z.ZodType<{
6039
6044
  type: "mcp";
6040
6045
  mcp: ToolMcpConfig;
@@ -6048,18 +6053,18 @@ declare const ToolApiSelectSchema: z.ZodObject<{
6048
6053
  type: "mcp";
6049
6054
  mcp: ToolMcpConfig;
6050
6055
  }>>;
6051
- credentialReferenceId: z.ZodNullable<z.ZodString>;
6052
- createdAt: z.ZodString;
6053
- updatedAt: z.ZodString;
6054
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
6055
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6056
6056
  imageUrl: z.ZodNullable<z.ZodString>;
6057
6057
  lastError: z.ZodNullable<z.ZodString>;
6058
6058
  }, z.core.$strip>;
6059
6059
  declare const ToolApiInsertSchema: z.ZodObject<{
6060
- id: z.ZodString;
6061
6060
  name: z.ZodString;
6061
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6062
+ id: z.ZodString;
6063
+ createdAt: z.ZodOptional<z.ZodString>;
6064
+ updatedAt: z.ZodOptional<z.ZodString>;
6062
6065
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6066
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6067
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6063
6068
  config: z.ZodObject<{
6064
6069
  type: z.ZodLiteral<"mcp">;
6065
6070
  mcp: z.ZodObject<{
@@ -6079,18 +6084,18 @@ declare const ToolApiInsertSchema: z.ZodObject<{
6079
6084
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6080
6085
  }, z.core.$strip>;
6081
6086
  }, z.core.$strip>;
6082
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6083
- createdAt: z.ZodOptional<z.ZodString>;
6084
- updatedAt: z.ZodOptional<z.ZodString>;
6085
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6086
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6087
6087
  imageUrl: z.ZodOptional<z.ZodString>;
6088
6088
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6089
6089
  }, z.core.$strip>;
6090
6090
  declare const ToolApiUpdateSchema: z.ZodObject<{
6091
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6092
6091
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6092
+ 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>>>>>>>;
6093
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6094
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6095
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6093
6096
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6097
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6098
+ capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
6094
6099
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6095
6100
  type: z.ZodLiteral<"mcp">;
6096
6101
  mcp: z.ZodObject<{
@@ -6110,11 +6115,6 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
6110
6115
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6111
6116
  }, z.core.$strip>;
6112
6117
  }, z.core.$strip>>>;
6113
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6114
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6115
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6116
- 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>>>>>>>;
6117
- capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
6118
6118
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6119
6119
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6120
6120
  }, z.core.$strip>;
@@ -6320,29 +6320,29 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
6320
6320
  in: {};
6321
6321
  }>;
6322
6322
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
6323
- id: z.ZodString;
6324
6323
  name: z.ZodString;
6325
- description: z.ZodNullable<z.ZodString>;
6326
- agentId: z.ZodString;
6324
+ id: z.ZodString;
6327
6325
  createdAt: z.ZodString;
6328
6326
  updatedAt: z.ZodString;
6327
+ description: z.ZodNullable<z.ZodString>;
6328
+ agentId: z.ZodString;
6329
6329
  functionId: z.ZodString;
6330
6330
  }, z.core.$strip>;
6331
6331
  declare const FunctionToolApiInsertSchema: z.ZodObject<{
6332
- id: z.ZodString;
6333
6332
  name: z.ZodString;
6334
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6333
+ id: z.ZodString;
6335
6334
  createdAt: z.ZodOptional<z.ZodString>;
6336
6335
  updatedAt: z.ZodOptional<z.ZodString>;
6336
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6337
6337
  functionId: z.ZodString;
6338
6338
  }, z.core.$strip>;
6339
6339
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
6340
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6341
6340
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6342
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6343
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6341
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6344
6342
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6345
6343
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6344
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6345
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6346
6346
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6347
6347
  }, z.core.$strip>;
6348
6348
  declare const FunctionSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -6588,10 +6588,10 @@ declare const FetchDefinitionSchema: z.ZodObject<{
6588
6588
  defaultValue: z.ZodOptional<z.ZodAny>;
6589
6589
  credential: z.ZodOptional<z.ZodObject<{
6590
6590
  id: z.ZodString;
6591
- createdAt: z.ZodOptional<z.ZodString>;
6592
- updatedAt: z.ZodOptional<z.ZodString>;
6593
6591
  credentialStoreId: z.ZodString;
6594
6592
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6593
+ createdAt: z.ZodOptional<z.ZodString>;
6594
+ updatedAt: z.ZodOptional<z.ZodString>;
6595
6595
  type: z.ZodEnum<{
6596
6596
  readonly memory: "memory";
6597
6597
  readonly keychain: "keychain";
@@ -6613,23 +6613,23 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
6613
6613
  in: {};
6614
6614
  }>;
6615
6615
  declare const ContextConfigInsertSchema: z.ZodObject<{
6616
- tenantId: z.ZodString;
6617
- projectId: z.ZodString;
6618
6616
  id: z.ZodOptional<z.ZodString>;
6619
- agentId: z.ZodString;
6617
+ projectId: z.ZodString;
6618
+ tenantId: z.ZodString;
6620
6619
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6621
6620
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6621
+ agentId: z.ZodString;
6622
6622
  }, {
6623
6623
  out: {};
6624
6624
  in: {};
6625
6625
  }>;
6626
6626
  declare const ContextConfigUpdateSchema: z.ZodObject<{
6627
- tenantId: z.ZodOptional<z.ZodString>;
6628
- projectId: z.ZodOptional<z.ZodString>;
6629
6627
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6630
- agentId: z.ZodOptional<z.ZodString>;
6628
+ projectId: z.ZodOptional<z.ZodString>;
6629
+ tenantId: z.ZodOptional<z.ZodString>;
6631
6630
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6632
6631
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6632
+ agentId: z.ZodOptional<z.ZodString>;
6633
6633
  }, {
6634
6634
  out: {};
6635
6635
  in: {};
@@ -6874,31 +6874,31 @@ declare const SubAgentToolRelationUpdateSchema: z.ZodObject<{
6874
6874
  in: {};
6875
6875
  }>;
6876
6876
  declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
6877
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6877
6878
  id: z.ZodString;
6878
6879
  createdAt: z.ZodString;
6879
6880
  updatedAt: z.ZodString;
6880
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6881
- toolId: z.ZodString;
6882
6881
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6883
6882
  subAgentId: z.ZodString;
6883
+ toolId: z.ZodString;
6884
6884
  }, z.core.$strip>;
6885
6885
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
6886
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
6886
6887
  id: z.ZodString;
6887
6888
  createdAt: z.ZodOptional<z.ZodString>;
6888
6889
  updatedAt: z.ZodOptional<z.ZodString>;
6889
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
6890
- toolId: z.ZodString;
6891
6890
  selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6892
6891
  subAgentId: z.ZodString;
6892
+ toolId: z.ZodString;
6893
6893
  }, z.core.$strip>;
6894
6894
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
6895
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
6895
6896
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6896
6897
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6897
6898
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6898
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
6899
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6900
6899
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
6901
6900
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6901
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6902
6902
  }, z.core.$strip>;
6903
6903
  declare const LedgerArtifactSelectSchema: drizzle_zod.BuildSchema<"select", {
6904
6904
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -7612,12 +7612,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
7612
7612
  in: {};
7613
7613
  }>;
7614
7614
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
7615
- id: z.ZodString;
7616
7615
  type: z.ZodString;
7617
7616
  name: z.ZodNullable<z.ZodString>;
7618
- description: z.ZodNullable<z.ZodString>;
7617
+ id: z.ZodString;
7619
7618
  createdAt: z.ZodString;
7620
7619
  updatedAt: z.ZodString;
7620
+ description: z.ZodNullable<z.ZodString>;
7621
7621
  metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7622
7622
  contextId: z.ZodString;
7623
7623
  visibility: z.ZodNullable<z.ZodString>;
@@ -7630,12 +7630,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
7630
7630
  derivedFrom: z.ZodNullable<z.ZodString>;
7631
7631
  }, z.core.$strip>;
7632
7632
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
7633
- id: z.ZodString;
7634
7633
  type: z.ZodOptional<z.ZodString>;
7635
7634
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7636
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7635
+ id: z.ZodString;
7637
7636
  createdAt: z.ZodOptional<z.ZodString>;
7638
7637
  updatedAt: z.ZodOptional<z.ZodString>;
7638
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7639
7639
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
7640
7640
  contextId: z.ZodString;
7641
7641
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7648,12 +7648,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
7648
7648
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7649
7649
  }, z.core.$strip>;
7650
7650
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
7651
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7652
7651
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7653
7652
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7654
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7653
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7655
7654
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7656
7655
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7656
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7657
7657
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
7658
7658
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7659
7659
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -7696,12 +7696,11 @@ declare const CanUseItemSchema: z.ZodObject<{
7696
7696
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7697
7697
  }, z.core.$strip>;
7698
7698
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
7699
- id: z.ZodString;
7700
7699
  name: z.ZodString;
7701
- description: z.ZodString;
7702
- prompt: z.ZodString;
7700
+ id: z.ZodString;
7703
7701
  createdAt: z.ZodOptional<z.ZodString>;
7704
7702
  updatedAt: z.ZodOptional<z.ZodString>;
7703
+ description: z.ZodString;
7705
7704
  models: z.ZodOptional<z.ZodObject<{
7706
7705
  base: z.ZodOptional<z.ZodObject<{
7707
7706
  model: z.ZodOptional<z.ZodString>;
@@ -7725,6 +7724,7 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
7725
7724
  }, {
7726
7725
  stepCountIs?: number | undefined;
7727
7726
  }>>>>;
7727
+ prompt: z.ZodString;
7728
7728
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7729
7729
  type: z.ZodLiteral<"internal">;
7730
7730
  canUse: z.ZodArray<z.ZodObject<{
@@ -7740,19 +7740,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
7740
7740
  }, z.core.$strip>;
7741
7741
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7742
7742
  name: z.ZodString;
7743
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7744
7743
  createdAt: z.ZodOptional<z.ZodString>;
7745
7744
  updatedAt: z.ZodOptional<z.ZodString>;
7745
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7746
7746
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7747
7747
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7748
7748
  id: z.ZodString;
7749
7749
  subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
7750
- id: z.ZodString;
7751
7750
  name: z.ZodString;
7752
- description: z.ZodString;
7753
- prompt: z.ZodString;
7751
+ id: z.ZodString;
7754
7752
  createdAt: z.ZodOptional<z.ZodString>;
7755
7753
  updatedAt: z.ZodOptional<z.ZodString>;
7754
+ description: z.ZodString;
7756
7755
  models: z.ZodOptional<z.ZodObject<{
7757
7756
  base: z.ZodOptional<z.ZodObject<{
7758
7757
  model: z.ZodOptional<z.ZodString>;
@@ -7776,6 +7775,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7776
7775
  }, {
7777
7776
  stepCountIs?: number | undefined;
7778
7777
  }>>>>;
7778
+ prompt: z.ZodString;
7779
7779
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7780
7780
  type: z.ZodLiteral<"internal">;
7781
7781
  canUse: z.ZodArray<z.ZodObject<{
@@ -7789,19 +7789,24 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7789
7789
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7790
7790
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7791
7791
  }, z.core.$strip>, z.ZodObject<{
7792
- id: z.ZodString;
7793
7792
  name: z.ZodString;
7794
- description: z.ZodString;
7795
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7793
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7794
+ id: z.ZodString;
7796
7795
  createdAt: z.ZodOptional<z.ZodString>;
7797
7796
  updatedAt: z.ZodOptional<z.ZodString>;
7797
+ description: z.ZodString;
7798
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7798
7799
  baseUrl: z.ZodString;
7799
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7800
7800
  }, z.core.$strip>]>>;
7801
7801
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7802
- id: z.ZodString;
7803
7802
  name: z.ZodString;
7803
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7804
+ id: z.ZodString;
7805
+ createdAt: z.ZodOptional<z.ZodString>;
7806
+ updatedAt: z.ZodOptional<z.ZodString>;
7804
7807
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7808
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7809
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
7805
7810
  config: z.ZodObject<{
7806
7811
  type: z.ZodLiteral<"mcp">;
7807
7812
  mcp: z.ZodObject<{
@@ -7821,20 +7826,15 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7821
7826
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
7822
7827
  }, z.core.$strip>;
7823
7828
  }, z.core.$strip>;
7824
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7825
- createdAt: z.ZodOptional<z.ZodString>;
7826
- updatedAt: z.ZodOptional<z.ZodString>;
7827
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7828
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
7829
7829
  imageUrl: z.ZodOptional<z.ZodString>;
7830
7830
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7831
7831
  }, z.core.$strip>>>;
7832
7832
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7833
- id: z.ZodString;
7834
7833
  name: z.ZodString;
7835
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7834
+ id: z.ZodString;
7836
7835
  createdAt: z.ZodOptional<z.ZodString>;
7837
7836
  updatedAt: z.ZodOptional<z.ZodString>;
7837
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7838
7838
  functionId: z.ZodString;
7839
7839
  }, z.core.$strip>>>;
7840
7840
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8101,9 +8101,9 @@ declare const ProjectSelectSchema: drizzle_zod.BuildSchema<"select", {
8101
8101
  }>;
8102
8102
  }, undefined, undefined>;
8103
8103
  declare const ProjectInsertSchema: z.ZodObject<{
8104
- tenantId: z.ZodString;
8105
- id: z.ZodString;
8106
8104
  name: z.ZodString;
8105
+ id: z.ZodString;
8106
+ tenantId: z.ZodString;
8107
8107
  description: z.ZodString;
8108
8108
  models: z.ZodObject<{
8109
8109
  base: z.ZodObject<{
@@ -8128,9 +8128,9 @@ declare const ProjectInsertSchema: z.ZodObject<{
8128
8128
  in: {};
8129
8129
  }>;
8130
8130
  declare const ProjectUpdateSchema: z.ZodObject<{
8131
- tenantId: z.ZodOptional<z.ZodString>;
8132
- id: z.ZodOptional<z.ZodString>;
8133
8131
  name: z.ZodOptional<z.ZodString>;
8132
+ id: z.ZodOptional<z.ZodString>;
8133
+ tenantId: z.ZodOptional<z.ZodString>;
8134
8134
  description: z.ZodOptional<z.ZodString>;
8135
8135
  models: z.ZodOptional<z.ZodObject<{
8136
8136
  base: z.ZodObject<{
@@ -8155,11 +8155,11 @@ declare const ProjectUpdateSchema: z.ZodObject<{
8155
8155
  in: {};
8156
8156
  }>;
8157
8157
  declare const ProjectApiSelectSchema: z.ZodObject<{
8158
- id: z.ZodString;
8159
8158
  name: z.ZodString;
8160
- description: z.ZodString;
8159
+ id: z.ZodString;
8161
8160
  createdAt: z.ZodString;
8162
8161
  updatedAt: z.ZodString;
8162
+ description: z.ZodString;
8163
8163
  models: z.ZodNullable<z.ZodType<{
8164
8164
  base: {
8165
8165
  model?: string | undefined;
@@ -8231,8 +8231,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
8231
8231
  in: {};
8232
8232
  }>;
8233
8233
  declare const ProjectApiInsertSchema: z.ZodObject<{
8234
- id: z.ZodString;
8235
8234
  name: z.ZodString;
8235
+ id: z.ZodString;
8236
8236
  description: z.ZodString;
8237
8237
  models: z.ZodObject<{
8238
8238
  base: z.ZodObject<{
@@ -8257,8 +8257,8 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
8257
8257
  in: {};
8258
8258
  }>;
8259
8259
  declare const ProjectApiUpdateSchema: z.ZodObject<{
8260
- id: z.ZodOptional<z.ZodString>;
8261
8260
  name: z.ZodOptional<z.ZodString>;
8261
+ id: z.ZodOptional<z.ZodString>;
8262
8262
  description: z.ZodOptional<z.ZodString>;
8263
8263
  models: z.ZodOptional<z.ZodObject<{
8264
8264
  base: z.ZodObject<{
@@ -8283,8 +8283,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
8283
8283
  in: {};
8284
8284
  }>;
8285
8285
  declare const FullProjectDefinitionSchema: z.ZodObject<{
8286
- id: z.ZodString;
8287
8286
  name: z.ZodString;
8287
+ id: z.ZodString;
8288
8288
  description: z.ZodString;
8289
8289
  models: z.ZodObject<{
8290
8290
  base: z.ZodObject<{
@@ -8306,19 +8306,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8306
8306
  }, z.core.$strip>>;
8307
8307
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
8308
8308
  name: z.ZodString;
8309
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8310
8309
  createdAt: z.ZodOptional<z.ZodString>;
8311
8310
  updatedAt: z.ZodOptional<z.ZodString>;
8311
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8312
8312
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8313
8313
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8314
8314
  id: z.ZodString;
8315
8315
  subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
8316
- id: z.ZodString;
8317
8316
  name: z.ZodString;
8318
- description: z.ZodString;
8319
- prompt: z.ZodString;
8317
+ id: z.ZodString;
8320
8318
  createdAt: z.ZodOptional<z.ZodString>;
8321
8319
  updatedAt: z.ZodOptional<z.ZodString>;
8320
+ description: z.ZodString;
8322
8321
  models: z.ZodOptional<z.ZodObject<{
8323
8322
  base: z.ZodOptional<z.ZodObject<{
8324
8323
  model: z.ZodOptional<z.ZodString>;
@@ -8342,6 +8341,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8342
8341
  }, {
8343
8342
  stepCountIs?: number | undefined;
8344
8343
  }>>>>;
8344
+ prompt: z.ZodString;
8345
8345
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
8346
8346
  type: z.ZodLiteral<"internal">;
8347
8347
  canUse: z.ZodArray<z.ZodObject<{
@@ -8355,19 +8355,24 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8355
8355
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
8356
8356
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
8357
8357
  }, z.core.$strip>, z.ZodObject<{
8358
- id: z.ZodString;
8359
8358
  name: z.ZodString;
8360
- description: z.ZodString;
8361
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8359
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8360
+ id: z.ZodString;
8362
8361
  createdAt: z.ZodOptional<z.ZodString>;
8363
8362
  updatedAt: z.ZodOptional<z.ZodString>;
8363
+ description: z.ZodString;
8364
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8364
8365
  baseUrl: z.ZodString;
8365
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8366
8366
  }, z.core.$strip>]>>;
8367
8367
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8368
- id: z.ZodString;
8369
8368
  name: z.ZodString;
8369
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8370
+ id: z.ZodString;
8371
+ createdAt: z.ZodOptional<z.ZodString>;
8372
+ updatedAt: z.ZodOptional<z.ZodString>;
8370
8373
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8374
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8375
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8371
8376
  config: z.ZodObject<{
8372
8377
  type: z.ZodLiteral<"mcp">;
8373
8378
  mcp: z.ZodObject<{
@@ -8387,20 +8392,15 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8387
8392
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8388
8393
  }, z.core.$strip>;
8389
8394
  }, z.core.$strip>;
8390
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8391
- createdAt: z.ZodOptional<z.ZodString>;
8392
- updatedAt: z.ZodOptional<z.ZodString>;
8393
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8394
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8395
8395
  imageUrl: z.ZodOptional<z.ZodString>;
8396
8396
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8397
8397
  }, z.core.$strip>>>;
8398
8398
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8399
- id: z.ZodString;
8400
8399
  name: z.ZodString;
8401
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8400
+ id: z.ZodString;
8402
8401
  createdAt: z.ZodOptional<z.ZodString>;
8403
8402
  updatedAt: z.ZodOptional<z.ZodString>;
8403
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8404
8404
  functionId: z.ZodString;
8405
8405
  }, z.core.$strip>>>;
8406
8406
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8451,9 +8451,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8451
8451
  prompt: z.ZodOptional<z.ZodString>;
8452
8452
  }, z.core.$strip>>;
8453
8453
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
8454
- id: z.ZodString;
8455
8454
  name: z.ZodString;
8455
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8456
+ id: z.ZodString;
8457
+ createdAt: z.ZodOptional<z.ZodString>;
8458
+ updatedAt: z.ZodOptional<z.ZodString>;
8456
8459
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8460
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8461
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8457
8462
  config: z.ZodObject<{
8458
8463
  type: z.ZodLiteral<"mcp">;
8459
8464
  mcp: z.ZodObject<{
@@ -8473,11 +8478,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8473
8478
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8474
8479
  }, z.core.$strip>;
8475
8480
  }, z.core.$strip>;
8476
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8477
- createdAt: z.ZodOptional<z.ZodString>;
8478
- updatedAt: z.ZodOptional<z.ZodString>;
8479
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8480
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8481
8481
  imageUrl: z.ZodOptional<z.ZodString>;
8482
8482
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8483
8483
  }, z.core.$strip>>;
@@ -8490,16 +8490,16 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8490
8490
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8491
8491
  }, z.core.$strip>>>;
8492
8492
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8493
- id: z.ZodString;
8494
8493
  name: z.ZodString;
8495
- description: z.ZodString;
8494
+ id: z.ZodString;
8496
8495
  createdAt: z.ZodOptional<z.ZodString>;
8497
8496
  updatedAt: z.ZodOptional<z.ZodString>;
8497
+ description: z.ZodString;
8498
8498
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8499
8499
  }, z.core.$strip>>>;
8500
8500
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8501
- id: z.ZodString;
8502
8501
  name: z.ZodString;
8502
+ id: z.ZodString;
8503
8503
  description: z.ZodString;
8504
8504
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8505
8505
  }, {
@@ -8523,10 +8523,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8523
8523
  }, z.core.$strip>>;
8524
8524
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8525
8525
  id: z.ZodString;
8526
- createdAt: z.ZodOptional<z.ZodString>;
8527
- updatedAt: z.ZodOptional<z.ZodString>;
8528
8526
  credentialStoreId: z.ZodString;
8529
8527
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8528
+ createdAt: z.ZodOptional<z.ZodString>;
8529
+ updatedAt: z.ZodOptional<z.ZodString>;
8530
8530
  type: z.ZodEnum<{
8531
8531
  readonly memory: "memory";
8532
8532
  readonly keychain: "keychain";
@@ -8541,11 +8541,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8541
8541
  }>;
8542
8542
  declare const ProjectResponse: z.ZodObject<{
8543
8543
  data: z.ZodObject<{
8544
- id: z.ZodString;
8545
8544
  name: z.ZodString;
8546
- description: z.ZodString;
8545
+ id: z.ZodString;
8547
8546
  createdAt: z.ZodString;
8548
8547
  updatedAt: z.ZodString;
8548
+ description: z.ZodString;
8549
8549
  models: z.ZodNullable<z.ZodType<{
8550
8550
  base: {
8551
8551
  model?: string | undefined;
@@ -8619,12 +8619,11 @@ declare const ProjectResponse: z.ZodObject<{
8619
8619
  }, z.core.$strip>;
8620
8620
  declare const SubAgentResponse: z.ZodObject<{
8621
8621
  data: z.ZodObject<{
8622
- id: z.ZodString;
8623
8622
  name: z.ZodString;
8624
- description: z.ZodString;
8625
- prompt: z.ZodString;
8623
+ id: z.ZodString;
8626
8624
  createdAt: z.ZodString;
8627
8625
  updatedAt: z.ZodString;
8626
+ description: z.ZodString;
8628
8627
  models: z.ZodNullable<z.ZodType<{
8629
8628
  base?: {
8630
8629
  model?: string | undefined;
@@ -8687,17 +8686,17 @@ declare const SubAgentResponse: z.ZodObject<{
8687
8686
  }, {
8688
8687
  stepCountIs?: number | undefined;
8689
8688
  }>>>;
8689
+ prompt: z.ZodString;
8690
8690
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
8691
8691
  }, z.core.$strip>;
8692
8692
  }, z.core.$strip>;
8693
8693
  declare const AgentResponse: z.ZodObject<{
8694
8694
  data: z.ZodObject<{
8695
- id: z.ZodString;
8696
8695
  name: z.ZodString;
8697
- description: z.ZodNullable<z.ZodString>;
8698
- prompt: z.ZodNullable<z.ZodString>;
8696
+ id: z.ZodString;
8699
8697
  createdAt: z.ZodString;
8700
8698
  updatedAt: z.ZodString;
8699
+ description: z.ZodNullable<z.ZodString>;
8701
8700
  models: z.ZodNullable<z.ZodType<{
8702
8701
  base?: {
8703
8702
  model?: string | undefined;
@@ -8762,6 +8761,7 @@ declare const AgentResponse: z.ZodObject<{
8762
8761
  }>>>;
8763
8762
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
8764
8763
  contextConfigId: z.ZodNullable<z.ZodString>;
8764
+ prompt: z.ZodNullable<z.ZodString>;
8765
8765
  statusUpdates: z.ZodNullable<z.ZodType<{
8766
8766
  enabled?: boolean | undefined;
8767
8767
  numEvents?: number | undefined;
@@ -8823,9 +8823,14 @@ declare const AgentResponse: z.ZodObject<{
8823
8823
  }, z.core.$strip>;
8824
8824
  declare const ToolResponse: z.ZodObject<{
8825
8825
  data: z.ZodObject<{
8826
- id: z.ZodString;
8827
8826
  name: z.ZodString;
8827
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
8828
+ id: z.ZodString;
8829
+ createdAt: z.ZodString;
8830
+ updatedAt: z.ZodString;
8828
8831
  description: z.ZodNullable<z.ZodString>;
8832
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
8833
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
8829
8834
  config: z.ZodType<{
8830
8835
  type: "mcp";
8831
8836
  mcp: ToolMcpConfig;
@@ -8839,25 +8844,20 @@ declare const ToolResponse: z.ZodObject<{
8839
8844
  type: "mcp";
8840
8845
  mcp: ToolMcpConfig;
8841
8846
  }>>;
8842
- credentialReferenceId: z.ZodNullable<z.ZodString>;
8843
- createdAt: z.ZodString;
8844
- updatedAt: z.ZodString;
8845
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
8846
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
8847
8847
  imageUrl: z.ZodNullable<z.ZodString>;
8848
8848
  lastError: z.ZodNullable<z.ZodString>;
8849
8849
  }, z.core.$strip>;
8850
8850
  }, z.core.$strip>;
8851
8851
  declare const ExternalAgentResponse: z.ZodObject<{
8852
8852
  data: z.ZodObject<{
8853
- id: z.ZodString;
8854
8853
  name: z.ZodString;
8855
- description: z.ZodString;
8856
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8854
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
8855
+ id: z.ZodString;
8857
8856
  createdAt: z.ZodString;
8858
8857
  updatedAt: z.ZodString;
8858
+ description: z.ZodString;
8859
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8859
8860
  baseUrl: z.ZodString;
8860
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
8861
8861
  }, z.core.$strip>;
8862
8862
  }, z.core.$strip>;
8863
8863
  declare const ContextConfigResponse: z.ZodObject<{
@@ -8871,15 +8871,15 @@ declare const ContextConfigResponse: z.ZodObject<{
8871
8871
  }, z.core.$strip>;
8872
8872
  declare const ApiKeyResponse: z.ZodObject<{
8873
8873
  data: z.ZodObject<{
8874
- id: z.ZodString;
8875
8874
  name: z.ZodNullable<z.ZodString>;
8875
+ id: z.ZodString;
8876
+ createdAt: z.ZodString;
8877
+ updatedAt: z.ZodString;
8876
8878
  agentId: z.ZodString;
8877
8879
  publicId: z.ZodString;
8878
8880
  keyPrefix: z.ZodString;
8879
8881
  lastUsedAt: z.ZodNullable<z.ZodString>;
8880
8882
  expiresAt: z.ZodNullable<z.ZodString>;
8881
- createdAt: z.ZodString;
8882
- updatedAt: z.ZodString;
8883
8883
  }, {
8884
8884
  out: {};
8885
8885
  in: {};
@@ -8888,10 +8888,10 @@ declare const ApiKeyResponse: z.ZodObject<{
8888
8888
  declare const CredentialReferenceResponse: z.ZodObject<{
8889
8889
  data: z.ZodObject<{
8890
8890
  id: z.ZodString;
8891
- createdAt: z.ZodString;
8892
- updatedAt: z.ZodString;
8893
8891
  credentialStoreId: z.ZodString;
8894
8892
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8893
+ createdAt: z.ZodString;
8894
+ updatedAt: z.ZodString;
8895
8895
  type: z.ZodEnum<{
8896
8896
  readonly memory: "memory";
8897
8897
  readonly keychain: "keychain";
@@ -9166,32 +9166,32 @@ declare const FunctionResponse: z.ZodObject<{
9166
9166
  }, z.core.$strip>;
9167
9167
  declare const FunctionToolResponse: z.ZodObject<{
9168
9168
  data: z.ZodObject<{
9169
- id: z.ZodString;
9170
9169
  name: z.ZodString;
9171
- description: z.ZodNullable<z.ZodString>;
9172
- agentId: z.ZodString;
9170
+ id: z.ZodString;
9173
9171
  createdAt: z.ZodString;
9174
9172
  updatedAt: z.ZodString;
9173
+ description: z.ZodNullable<z.ZodString>;
9174
+ agentId: z.ZodString;
9175
9175
  functionId: z.ZodString;
9176
9176
  }, z.core.$strip>;
9177
9177
  }, z.core.$strip>;
9178
9178
  declare const DataComponentResponse: z.ZodObject<{
9179
9179
  data: z.ZodObject<{
9180
- id: z.ZodString;
9181
9180
  name: z.ZodString;
9182
- description: z.ZodString;
9181
+ id: z.ZodString;
9183
9182
  createdAt: z.ZodString;
9184
9183
  updatedAt: z.ZodString;
9184
+ description: z.ZodString;
9185
9185
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9186
9186
  }, z.core.$strip>;
9187
9187
  }, z.core.$strip>;
9188
9188
  declare const ArtifactComponentResponse: z.ZodObject<{
9189
9189
  data: z.ZodObject<{
9190
- id: z.ZodString;
9191
9190
  name: z.ZodString;
9192
- description: z.ZodString;
9191
+ id: z.ZodString;
9193
9192
  createdAt: z.ZodString;
9194
9193
  updatedAt: z.ZodString;
9194
+ description: z.ZodString;
9195
9195
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9196
9196
  }, z.core.$strip>;
9197
9197
  }, z.core.$strip>;
@@ -9208,21 +9208,21 @@ declare const SubAgentRelationResponse: z.ZodObject<{
9208
9208
  }, z.core.$strip>;
9209
9209
  declare const SubAgentToolRelationResponse: z.ZodObject<{
9210
9210
  data: z.ZodObject<{
9211
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9211
9212
  id: z.ZodString;
9212
9213
  createdAt: z.ZodString;
9213
9214
  updatedAt: z.ZodString;
9214
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9215
- toolId: z.ZodString;
9216
9215
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9217
9216
  subAgentId: z.ZodString;
9217
+ toolId: z.ZodString;
9218
9218
  }, z.core.$strip>;
9219
9219
  }, z.core.$strip>;
9220
9220
  declare const ConversationResponse: z.ZodObject<{
9221
9221
  data: z.ZodObject<{
9222
9222
  id: z.ZodString;
9223
- title: z.ZodNullable<z.ZodString>;
9224
9223
  createdAt: z.ZodString;
9225
9224
  updatedAt: z.ZodString;
9225
+ title: z.ZodNullable<z.ZodString>;
9226
9226
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
9227
9227
  userId: z.ZodNullable<z.ZodString>;
9228
9228
  activeSubAgentId: z.ZodString;
@@ -9252,11 +9252,11 @@ declare const MessageResponse: z.ZodObject<{
9252
9252
  }, z.core.$strip>;
9253
9253
  declare const ProjectListResponse: z.ZodObject<{
9254
9254
  data: z.ZodArray<z.ZodObject<{
9255
- id: z.ZodString;
9256
9255
  name: z.ZodString;
9257
- description: z.ZodString;
9256
+ id: z.ZodString;
9258
9257
  createdAt: z.ZodString;
9259
9258
  updatedAt: z.ZodString;
9259
+ description: z.ZodString;
9260
9260
  models: z.ZodNullable<z.ZodType<{
9261
9261
  base: {
9262
9262
  model?: string | undefined;
@@ -9336,12 +9336,11 @@ declare const ProjectListResponse: z.ZodObject<{
9336
9336
  }, z.core.$strip>;
9337
9337
  declare const SubAgentListResponse: z.ZodObject<{
9338
9338
  data: z.ZodArray<z.ZodObject<{
9339
- id: z.ZodString;
9340
9339
  name: z.ZodString;
9341
- description: z.ZodString;
9342
- prompt: z.ZodString;
9340
+ id: z.ZodString;
9343
9341
  createdAt: z.ZodString;
9344
9342
  updatedAt: z.ZodString;
9343
+ description: z.ZodString;
9345
9344
  models: z.ZodNullable<z.ZodType<{
9346
9345
  base?: {
9347
9346
  model?: string | undefined;
@@ -9404,6 +9403,7 @@ declare const SubAgentListResponse: z.ZodObject<{
9404
9403
  }, {
9405
9404
  stepCountIs?: number | undefined;
9406
9405
  }>>>;
9406
+ prompt: z.ZodString;
9407
9407
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
9408
9408
  }, z.core.$strip>>;
9409
9409
  pagination: z.ZodObject<{
@@ -9415,12 +9415,11 @@ declare const SubAgentListResponse: z.ZodObject<{
9415
9415
  }, z.core.$strip>;
9416
9416
  declare const AgentListResponse: z.ZodObject<{
9417
9417
  data: z.ZodArray<z.ZodObject<{
9418
- id: z.ZodString;
9419
9418
  name: z.ZodString;
9420
- description: z.ZodNullable<z.ZodString>;
9421
- prompt: z.ZodNullable<z.ZodString>;
9419
+ id: z.ZodString;
9422
9420
  createdAt: z.ZodString;
9423
9421
  updatedAt: z.ZodString;
9422
+ description: z.ZodNullable<z.ZodString>;
9424
9423
  models: z.ZodNullable<z.ZodType<{
9425
9424
  base?: {
9426
9425
  model?: string | undefined;
@@ -9485,6 +9484,7 @@ declare const AgentListResponse: z.ZodObject<{
9485
9484
  }>>>;
9486
9485
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
9487
9486
  contextConfigId: z.ZodNullable<z.ZodString>;
9487
+ prompt: z.ZodNullable<z.ZodString>;
9488
9488
  statusUpdates: z.ZodNullable<z.ZodType<{
9489
9489
  enabled?: boolean | undefined;
9490
9490
  numEvents?: number | undefined;
@@ -9552,9 +9552,14 @@ declare const AgentListResponse: z.ZodObject<{
9552
9552
  }, z.core.$strip>;
9553
9553
  declare const ToolListResponse: z.ZodObject<{
9554
9554
  data: z.ZodArray<z.ZodObject<{
9555
- id: z.ZodString;
9556
9555
  name: z.ZodString;
9556
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9557
+ id: z.ZodString;
9558
+ createdAt: z.ZodString;
9559
+ updatedAt: z.ZodString;
9557
9560
  description: z.ZodNullable<z.ZodString>;
9561
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
9562
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9558
9563
  config: z.ZodType<{
9559
9564
  type: "mcp";
9560
9565
  mcp: ToolMcpConfig;
@@ -9568,11 +9573,6 @@ declare const ToolListResponse: z.ZodObject<{
9568
9573
  type: "mcp";
9569
9574
  mcp: ToolMcpConfig;
9570
9575
  }>>;
9571
- credentialReferenceId: z.ZodNullable<z.ZodString>;
9572
- createdAt: z.ZodString;
9573
- updatedAt: z.ZodString;
9574
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9575
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9576
9576
  imageUrl: z.ZodNullable<z.ZodString>;
9577
9577
  lastError: z.ZodNullable<z.ZodString>;
9578
9578
  }, z.core.$strip>>;
@@ -9585,14 +9585,14 @@ declare const ToolListResponse: z.ZodObject<{
9585
9585
  }, z.core.$strip>;
9586
9586
  declare const ExternalAgentListResponse: z.ZodObject<{
9587
9587
  data: z.ZodArray<z.ZodObject<{
9588
- id: z.ZodString;
9589
9588
  name: z.ZodString;
9590
- description: z.ZodString;
9591
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9589
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
9590
+ id: z.ZodString;
9592
9591
  createdAt: z.ZodString;
9593
9592
  updatedAt: z.ZodString;
9593
+ description: z.ZodString;
9594
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9594
9595
  baseUrl: z.ZodString;
9595
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
9596
9596
  }, z.core.$strip>>;
9597
9597
  pagination: z.ZodObject<{
9598
9598
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -9618,15 +9618,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
9618
9618
  }, z.core.$strip>;
9619
9619
  declare const ApiKeyListResponse: z.ZodObject<{
9620
9620
  data: z.ZodArray<z.ZodObject<{
9621
- id: z.ZodString;
9622
9621
  name: z.ZodNullable<z.ZodString>;
9622
+ id: z.ZodString;
9623
+ createdAt: z.ZodString;
9624
+ updatedAt: z.ZodString;
9623
9625
  agentId: z.ZodString;
9624
9626
  publicId: z.ZodString;
9625
9627
  keyPrefix: z.ZodString;
9626
9628
  lastUsedAt: z.ZodNullable<z.ZodString>;
9627
9629
  expiresAt: z.ZodNullable<z.ZodString>;
9628
- createdAt: z.ZodString;
9629
- updatedAt: z.ZodString;
9630
9630
  }, {
9631
9631
  out: {};
9632
9632
  in: {};
@@ -9641,10 +9641,10 @@ declare const ApiKeyListResponse: z.ZodObject<{
9641
9641
  declare const CredentialReferenceListResponse: z.ZodObject<{
9642
9642
  data: z.ZodArray<z.ZodObject<{
9643
9643
  id: z.ZodString;
9644
- createdAt: z.ZodString;
9645
- updatedAt: z.ZodString;
9646
9644
  credentialStoreId: z.ZodString;
9647
9645
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9646
+ createdAt: z.ZodString;
9647
+ updatedAt: z.ZodString;
9648
9648
  type: z.ZodEnum<{
9649
9649
  readonly memory: "memory";
9650
9650
  readonly keychain: "keychain";
@@ -9931,12 +9931,12 @@ declare const FunctionListResponse: z.ZodObject<{
9931
9931
  }, z.core.$strip>;
9932
9932
  declare const FunctionToolListResponse: z.ZodObject<{
9933
9933
  data: z.ZodArray<z.ZodObject<{
9934
- id: z.ZodString;
9935
9934
  name: z.ZodString;
9936
- description: z.ZodNullable<z.ZodString>;
9937
- agentId: z.ZodString;
9935
+ id: z.ZodString;
9938
9936
  createdAt: z.ZodString;
9939
9937
  updatedAt: z.ZodString;
9938
+ description: z.ZodNullable<z.ZodString>;
9939
+ agentId: z.ZodString;
9940
9940
  functionId: z.ZodString;
9941
9941
  }, z.core.$strip>>;
9942
9942
  pagination: z.ZodObject<{
@@ -9948,11 +9948,11 @@ declare const FunctionToolListResponse: z.ZodObject<{
9948
9948
  }, z.core.$strip>;
9949
9949
  declare const DataComponentListResponse: z.ZodObject<{
9950
9950
  data: z.ZodArray<z.ZodObject<{
9951
- id: z.ZodString;
9952
9951
  name: z.ZodString;
9953
- description: z.ZodString;
9952
+ id: z.ZodString;
9954
9953
  createdAt: z.ZodString;
9955
9954
  updatedAt: z.ZodString;
9955
+ description: z.ZodString;
9956
9956
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9957
9957
  }, z.core.$strip>>;
9958
9958
  pagination: z.ZodObject<{
@@ -9964,11 +9964,11 @@ declare const DataComponentListResponse: z.ZodObject<{
9964
9964
  }, z.core.$strip>;
9965
9965
  declare const ArtifactComponentListResponse: z.ZodObject<{
9966
9966
  data: z.ZodArray<z.ZodObject<{
9967
- id: z.ZodString;
9968
9967
  name: z.ZodString;
9969
- description: z.ZodString;
9968
+ id: z.ZodString;
9970
9969
  createdAt: z.ZodString;
9971
9970
  updatedAt: z.ZodString;
9971
+ description: z.ZodString;
9972
9972
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9973
9973
  }, z.core.$strip>>;
9974
9974
  pagination: z.ZodObject<{
@@ -9997,13 +9997,13 @@ declare const SubAgentRelationListResponse: z.ZodObject<{
9997
9997
  }, z.core.$strip>;
9998
9998
  declare const SubAgentToolRelationListResponse: z.ZodObject<{
9999
9999
  data: z.ZodArray<z.ZodObject<{
10000
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10000
10001
  id: z.ZodString;
10001
10002
  createdAt: z.ZodString;
10002
10003
  updatedAt: z.ZodString;
10003
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10004
- toolId: z.ZodString;
10005
10004
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10006
10005
  subAgentId: z.ZodString;
10006
+ toolId: z.ZodString;
10007
10007
  }, z.core.$strip>>;
10008
10008
  pagination: z.ZodObject<{
10009
10009
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -10015,9 +10015,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
10015
10015
  declare const ConversationListResponse: z.ZodObject<{
10016
10016
  data: z.ZodArray<z.ZodObject<{
10017
10017
  id: z.ZodString;
10018
- title: z.ZodNullable<z.ZodString>;
10019
10018
  createdAt: z.ZodString;
10020
10019
  updatedAt: z.ZodString;
10020
+ title: z.ZodNullable<z.ZodString>;
10021
10021
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
10022
10022
  userId: z.ZodNullable<z.ZodString>;
10023
10023
  activeSubAgentId: z.ZodString;