@inkeep/agents-core 0.29.0 → 0.29.1

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", {
@@ -1170,9 +1170,9 @@ declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{
1170
1170
  }>;
1171
1171
  declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1172
1172
  id: z.ZodString;
1173
- agentId: z.ZodString;
1174
1173
  createdAt: z.ZodOptional<z.ZodString>;
1175
1174
  updatedAt: z.ZodOptional<z.ZodString>;
1175
+ agentId: z.ZodString;
1176
1176
  sourceSubAgentId: z.ZodString;
1177
1177
  targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1178
1178
  relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1754,12 +1754,11 @@ declare const AgentUpdateSchema: z.ZodObject<{
1754
1754
  in: {};
1755
1755
  }>;
1756
1756
  declare const AgentApiSelectSchema: z.ZodObject<{
1757
- id: z.ZodString;
1758
1757
  name: z.ZodString;
1759
- description: z.ZodNullable<z.ZodString>;
1760
- prompt: z.ZodNullable<z.ZodString>;
1758
+ id: z.ZodString;
1761
1759
  createdAt: z.ZodString;
1762
1760
  updatedAt: z.ZodString;
1761
+ description: z.ZodNullable<z.ZodString>;
1763
1762
  models: z.ZodNullable<z.ZodType<{
1764
1763
  base?: {
1765
1764
  model?: string | undefined;
@@ -1824,6 +1823,7 @@ declare const AgentApiSelectSchema: z.ZodObject<{
1824
1823
  }>>>;
1825
1824
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
1826
1825
  contextConfigId: z.ZodNullable<z.ZodString>;
1826
+ prompt: z.ZodNullable<z.ZodString>;
1827
1827
  statusUpdates: z.ZodNullable<z.ZodType<{
1828
1828
  enabled?: boolean | undefined;
1829
1829
  numEvents?: number | undefined;
@@ -1884,10 +1884,9 @@ declare const AgentApiSelectSchema: z.ZodObject<{
1884
1884
  }, z.core.$strip>;
1885
1885
  declare const AgentApiInsertSchema: z.ZodObject<{
1886
1886
  name: z.ZodString;
1887
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1888
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1889
1887
  createdAt: z.ZodOptional<z.ZodString>;
1890
1888
  updatedAt: z.ZodOptional<z.ZodString>;
1889
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1891
1890
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
1892
1891
  base?: {
1893
1892
  model?: string | undefined;
@@ -1952,6 +1951,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
1952
1951
  }>>>>;
1953
1952
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1954
1953
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1954
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1955
1955
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
1956
1956
  enabled?: boolean | undefined;
1957
1957
  numEvents?: number | undefined;
@@ -2012,12 +2012,11 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2012
2012
  id: z.ZodString;
2013
2013
  }, z.core.$strip>;
2014
2014
  declare const AgentApiUpdateSchema: z.ZodObject<{
2015
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2016
2015
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2017
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2018
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2016
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2019
2017
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2020
2018
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2019
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2021
2020
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2022
2021
  base?: {
2023
2022
  model?: string | undefined;
@@ -2082,6 +2081,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2082
2081
  }>>>>>>;
2083
2082
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2084
2083
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2084
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2085
2085
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2086
2086
  enabled?: boolean | undefined;
2087
2087
  numEvents?: number | undefined;
@@ -2366,9 +2366,9 @@ declare const TaskUpdateSchema: z.ZodObject<{
2366
2366
  }>;
2367
2367
  declare const TaskApiSelectSchema: z.ZodObject<{
2368
2368
  id: z.ZodString;
2369
- agentId: z.ZodString;
2370
2369
  createdAt: z.ZodString;
2371
2370
  updatedAt: z.ZodString;
2371
+ agentId: z.ZodString;
2372
2372
  status: z.ZodString;
2373
2373
  metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
2374
2374
  contextId: z.ZodString;
@@ -2376,9 +2376,9 @@ declare const TaskApiSelectSchema: z.ZodObject<{
2376
2376
  }, z.core.$strip>;
2377
2377
  declare const TaskApiInsertSchema: z.ZodObject<{
2378
2378
  id: z.ZodString;
2379
- agentId: z.ZodString;
2380
2379
  createdAt: z.ZodOptional<z.ZodString>;
2381
2380
  updatedAt: z.ZodOptional<z.ZodString>;
2381
+ agentId: z.ZodString;
2382
2382
  status: z.ZodString;
2383
2383
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
2384
2384
  conversationId: z.ZodOptional<z.ZodString>;
@@ -2387,9 +2387,9 @@ declare const TaskApiInsertSchema: z.ZodObject<{
2387
2387
  }, z.core.$strip>;
2388
2388
  declare const TaskApiUpdateSchema: z.ZodObject<{
2389
2389
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2390
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2391
2390
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2392
2391
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2392
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2393
2393
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2394
2394
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
2395
2395
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -3138,9 +3138,9 @@ declare const ConversationUpdateSchema: z.ZodObject<{
3138
3138
  }>;
3139
3139
  declare const ConversationApiSelectSchema: z.ZodObject<{
3140
3140
  id: z.ZodString;
3141
- title: z.ZodNullable<z.ZodString>;
3142
3141
  createdAt: z.ZodString;
3143
3142
  updatedAt: z.ZodString;
3143
+ title: z.ZodNullable<z.ZodString>;
3144
3144
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
3145
3145
  userId: z.ZodNullable<z.ZodString>;
3146
3146
  activeSubAgentId: z.ZodString;
@@ -3148,9 +3148,9 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
3148
3148
  }, z.core.$strip>;
3149
3149
  declare const ConversationApiInsertSchema: z.ZodObject<{
3150
3150
  id: z.ZodString;
3151
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3152
3151
  createdAt: z.ZodOptional<z.ZodString>;
3153
3152
  updatedAt: z.ZodOptional<z.ZodString>;
3153
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3154
3154
  contextConfigId: z.ZodOptional<z.ZodString>;
3155
3155
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
3156
3156
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3159,9 +3159,9 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
3159
3159
  }, z.core.$strip>;
3160
3160
  declare const ConversationApiUpdateSchema: z.ZodObject<{
3161
3161
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3162
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3163
3162
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3164
3163
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3164
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3165
3165
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3166
3166
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
3167
3167
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -4197,8 +4197,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
4197
4197
  in: {};
4198
4198
  }>;
4199
4199
  declare const ContextCacheApiSelectSchema: z.ZodObject<{
4200
- id: z.ZodString;
4201
4200
  value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4201
+ id: z.ZodString;
4202
4202
  createdAt: z.ZodString;
4203
4203
  updatedAt: z.ZodString;
4204
4204
  contextConfigId: z.ZodString;
@@ -4210,8 +4210,8 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
4210
4210
  fetchDurationMs: z.ZodNullable<z.ZodInt>;
4211
4211
  }, z.core.$strip>;
4212
4212
  declare const ContextCacheApiInsertSchema: z.ZodObject<{
4213
- id: z.ZodString;
4214
4213
  value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4214
+ id: z.ZodString;
4215
4215
  createdAt: z.ZodOptional<z.ZodString>;
4216
4216
  updatedAt: z.ZodOptional<z.ZodString>;
4217
4217
  contextConfigId: z.ZodString;
@@ -4223,8 +4223,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
4223
4223
  fetchDurationMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4224
4224
  }, z.core.$strip>;
4225
4225
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
4226
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4227
4226
  value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
4227
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4228
4228
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4229
4229
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4230
4230
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4441,10 +4441,10 @@ declare const DataComponentInsertSchema: z.ZodObject<{
4441
4441
  in: {};
4442
4442
  }>;
4443
4443
  declare const DataComponentBaseSchema: z.ZodObject<{
4444
- tenantId: z.ZodString;
4445
- projectId: z.ZodString;
4446
- id: z.ZodString;
4447
4444
  name: z.ZodString;
4445
+ id: z.ZodString;
4446
+ projectId: z.ZodString;
4447
+ tenantId: z.ZodString;
4448
4448
  description: z.ZodString;
4449
4449
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4450
4450
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -4491,11 +4491,11 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
4491
4491
  in: {};
4492
4492
  }>;
4493
4493
  declare const DataComponentApiSelectSchema: z.ZodObject<{
4494
- id: z.ZodString;
4495
4494
  name: z.ZodString;
4496
- description: z.ZodString;
4495
+ id: z.ZodString;
4497
4496
  createdAt: z.ZodString;
4498
4497
  updatedAt: z.ZodString;
4498
+ description: z.ZodString;
4499
4499
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
4500
4500
  render: z.ZodNullable<z.ZodType<{
4501
4501
  component: string;
@@ -4512,11 +4512,11 @@ declare const DataComponentApiSelectSchema: z.ZodObject<{
4512
4512
  }>>>;
4513
4513
  }, z.core.$strip>;
4514
4514
  declare const DataComponentApiInsertSchema: z.ZodObject<{
4515
- id: z.ZodString;
4516
4515
  name: z.ZodString;
4517
- description: z.ZodString;
4516
+ id: z.ZodString;
4518
4517
  createdAt: z.ZodOptional<z.ZodString>;
4519
4518
  updatedAt: z.ZodOptional<z.ZodString>;
4519
+ description: z.ZodString;
4520
4520
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4521
4521
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
4522
4522
  component: string;
@@ -4533,11 +4533,11 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
4533
4533
  }>>>>;
4534
4534
  }, z.core.$strip>;
4535
4535
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
4536
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4537
4536
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4538
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4537
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4539
4538
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4540
4539
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4540
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4541
4541
  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>>>>>>>;
4542
4542
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
4543
4543
  component: string;
@@ -5036,16 +5036,16 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
5036
5036
  in: {};
5037
5037
  }>;
5038
5038
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
5039
- id: z.ZodString;
5040
5039
  name: z.ZodString;
5041
- description: z.ZodString;
5040
+ id: z.ZodString;
5042
5041
  createdAt: z.ZodString;
5043
5042
  updatedAt: z.ZodString;
5043
+ description: z.ZodString;
5044
5044
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
5045
5045
  }, z.core.$strip>;
5046
5046
  declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
5047
- id: z.ZodString;
5048
5047
  name: z.ZodString;
5048
+ id: z.ZodString;
5049
5049
  description: z.ZodString;
5050
5050
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
5051
5051
  }, {
@@ -5053,11 +5053,11 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
5053
5053
  in: {};
5054
5054
  }>;
5055
5055
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
5056
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5057
5056
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5058
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5057
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5059
5058
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5060
5059
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5060
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5061
5061
  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>>>>>>>;
5062
5062
  }, z.core.$strip>;
5063
5063
  declare const SubAgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -5282,39 +5282,38 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
5282
5282
  in: {};
5283
5283
  }>;
5284
5284
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
5285
- id: z.ZodString;
5286
5285
  name: z.ZodString;
5287
- description: z.ZodString;
5288
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5286
+ id: z.ZodString;
5289
5287
  createdAt: z.ZodString;
5290
5288
  updatedAt: z.ZodString;
5289
+ description: z.ZodString;
5290
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5291
5291
  baseUrl: z.ZodString;
5292
5292
  }, z.core.$strip>;
5293
5293
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
5294
- id: z.ZodString;
5295
5294
  name: z.ZodString;
5296
- description: z.ZodString;
5297
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5295
+ id: z.ZodString;
5298
5296
  createdAt: z.ZodOptional<z.ZodString>;
5299
5297
  updatedAt: z.ZodOptional<z.ZodString>;
5298
+ description: z.ZodString;
5299
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5300
5300
  baseUrl: z.ZodString;
5301
5301
  }, z.core.$strip>;
5302
5302
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
5303
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5304
5303
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5305
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5306
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5304
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5307
5305
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5308
5306
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5307
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5308
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5309
5309
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5310
5310
  }, z.core.$strip>;
5311
5311
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5312
- id: z.ZodString;
5313
5312
  name: z.ZodString;
5314
- description: z.ZodString;
5315
- prompt: z.ZodString;
5313
+ id: z.ZodString;
5316
5314
  createdAt: z.ZodString;
5317
5315
  updatedAt: z.ZodString;
5316
+ description: z.ZodString;
5318
5317
  models: z.ZodNullable<z.ZodType<{
5319
5318
  base?: {
5320
5319
  model?: string | undefined;
@@ -5377,15 +5376,16 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5377
5376
  }, {
5378
5377
  stepCountIs?: number | undefined;
5379
5378
  }>>>;
5379
+ prompt: z.ZodString;
5380
5380
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
5381
5381
  type: z.ZodLiteral<"internal">;
5382
5382
  }, z.core.$strip>, z.ZodObject<{
5383
- id: z.ZodString;
5384
5383
  name: z.ZodString;
5385
- description: z.ZodString;
5386
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5384
+ id: z.ZodString;
5387
5385
  createdAt: z.ZodString;
5388
5386
  updatedAt: z.ZodString;
5387
+ description: z.ZodString;
5388
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5389
5389
  baseUrl: z.ZodString;
5390
5390
  type: z.ZodLiteral<"external">;
5391
5391
  }, z.core.$strip>], "type">;
@@ -5638,24 +5638,24 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
5638
5638
  }>;
5639
5639
  declare const ApiKeyUpdateSchema: z.ZodObject<{
5640
5640
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5641
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5641
5642
  agentId: z.ZodOptional<z.ZodString>;
5642
- lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5643
5643
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5644
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5644
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5645
5645
  }, {
5646
5646
  out: {};
5647
5647
  in: {};
5648
5648
  }>;
5649
5649
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
5650
- id: z.ZodString;
5651
5650
  name: z.ZodNullable<z.ZodString>;
5651
+ id: z.ZodString;
5652
+ createdAt: z.ZodString;
5653
+ updatedAt: z.ZodString;
5652
5654
  agentId: z.ZodString;
5655
+ expiresAt: z.ZodNullable<z.ZodString>;
5653
5656
  publicId: z.ZodString;
5654
5657
  keyPrefix: z.ZodString;
5655
5658
  lastUsedAt: z.ZodNullable<z.ZodString>;
5656
- expiresAt: z.ZodNullable<z.ZodString>;
5657
- createdAt: z.ZodString;
5658
- updatedAt: z.ZodString;
5659
5659
  }, {
5660
5660
  out: {};
5661
5661
  in: {};
@@ -5663,15 +5663,15 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
5663
5663
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
5664
5664
  data: z.ZodObject<{
5665
5665
  apiKey: z.ZodObject<{
5666
- id: z.ZodString;
5667
5666
  name: z.ZodNullable<z.ZodString>;
5667
+ id: z.ZodString;
5668
+ createdAt: z.ZodString;
5669
+ updatedAt: z.ZodString;
5668
5670
  agentId: z.ZodString;
5671
+ expiresAt: z.ZodNullable<z.ZodString>;
5669
5672
  publicId: z.ZodString;
5670
5673
  keyPrefix: z.ZodString;
5671
5674
  lastUsedAt: z.ZodNullable<z.ZodString>;
5672
- expiresAt: z.ZodNullable<z.ZodString>;
5673
- createdAt: z.ZodString;
5674
- updatedAt: z.ZodString;
5675
5675
  }, {
5676
5676
  out: {};
5677
5677
  in: {};
@@ -5681,20 +5681,20 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
5681
5681
  }, z.core.$strip>;
5682
5682
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
5683
5683
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5684
- agentId: z.ZodString;
5685
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5686
5684
  createdAt: z.ZodOptional<z.ZodString>;
5687
5685
  updatedAt: z.ZodOptional<z.ZodString>;
5686
+ agentId: z.ZodString;
5687
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5688
5688
  }, {
5689
5689
  out: {};
5690
5690
  in: {};
5691
5691
  }>;
5692
5692
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
5693
5693
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5694
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5694
5695
  agentId: z.ZodOptional<z.ZodString>;
5695
- lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5696
5696
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5697
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5697
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5698
5698
  }, {
5699
5699
  out: {};
5700
5700
  in: {};
@@ -5739,12 +5739,12 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
5739
5739
  in: {};
5740
5740
  }>;
5741
5741
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5742
- id: z.ZodString;
5743
5742
  name: z.ZodString;
5744
- createdAt: z.ZodString;
5745
- updatedAt: z.ZodString;
5743
+ id: z.ZodString;
5746
5744
  credentialStoreId: z.ZodString;
5747
5745
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5746
+ createdAt: z.ZodString;
5747
+ updatedAt: z.ZodString;
5748
5748
  type: z.ZodEnum<{
5749
5749
  readonly memory: "memory";
5750
5750
  readonly keychain: "keychain";
@@ -6021,12 +6021,12 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
6021
6021
  }>>>;
6022
6022
  }, z.core.$strip>;
6023
6023
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
6024
- id: z.ZodString;
6025
6024
  name: z.ZodString;
6026
- createdAt: z.ZodOptional<z.ZodString>;
6027
- updatedAt: z.ZodOptional<z.ZodString>;
6025
+ id: z.ZodString;
6028
6026
  credentialStoreId: z.ZodString;
6029
6027
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6028
+ createdAt: z.ZodOptional<z.ZodString>;
6029
+ updatedAt: z.ZodOptional<z.ZodString>;
6030
6030
  type: z.ZodEnum<{
6031
6031
  readonly memory: "memory";
6032
6032
  readonly keychain: "keychain";
@@ -6034,12 +6034,12 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
6034
6034
  }>;
6035
6035
  }, z.core.$strip>;
6036
6036
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
6037
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6038
6037
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6039
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6040
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6038
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6041
6039
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6042
6040
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
6041
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6042
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6043
6043
  type: z.ZodOptional<z.ZodEnum<{
6044
6044
  readonly memory: "memory";
6045
6045
  readonly keychain: "keychain";
@@ -6096,10 +6096,10 @@ declare const McpToolSchema: z.ZodObject<{
6096
6096
  in: {};
6097
6097
  }>;
6098
6098
  declare const MCPToolConfigSchema: z.ZodObject<{
6099
- id: z.ZodString;
6100
6099
  name: z.ZodString;
6101
- expiresAt: z.ZodOptional<z.ZodDate>;
6102
6100
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6101
+ id: z.ZodString;
6102
+ expiresAt: z.ZodOptional<z.ZodDate>;
6103
6103
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6104
6104
  imageUrl: z.ZodOptional<z.ZodString>;
6105
6105
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6128,12 +6128,12 @@ declare const MCPToolConfigSchema: z.ZodObject<{
6128
6128
  sessionId: z.ZodOptional<z.ZodString>;
6129
6129
  }, z.core.$strip>>;
6130
6130
  credential: z.ZodOptional<z.ZodObject<{
6131
- id: z.ZodString;
6132
6131
  name: z.ZodString;
6133
- createdAt: z.ZodOptional<z.ZodString>;
6134
- updatedAt: z.ZodOptional<z.ZodString>;
6132
+ id: z.ZodString;
6135
6133
  credentialStoreId: z.ZodString;
6136
6134
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6135
+ createdAt: z.ZodOptional<z.ZodString>;
6136
+ updatedAt: z.ZodOptional<z.ZodString>;
6137
6137
  type: z.ZodEnum<{
6138
6138
  readonly memory: "memory";
6139
6139
  readonly keychain: "keychain";
@@ -6181,9 +6181,14 @@ declare const ToolUpdateSchema: z.ZodObject<{
6181
6181
  in: {};
6182
6182
  }>;
6183
6183
  declare const ToolApiSelectSchema: z.ZodObject<{
6184
- id: z.ZodString;
6185
6184
  name: z.ZodString;
6185
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
6186
+ id: z.ZodString;
6187
+ createdAt: z.ZodString;
6188
+ updatedAt: z.ZodString;
6186
6189
  description: z.ZodNullable<z.ZodString>;
6190
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
6191
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6187
6192
  config: z.ZodType<{
6188
6193
  type: "mcp";
6189
6194
  mcp: ToolMcpConfig;
@@ -6197,18 +6202,18 @@ declare const ToolApiSelectSchema: z.ZodObject<{
6197
6202
  type: "mcp";
6198
6203
  mcp: ToolMcpConfig;
6199
6204
  }>>;
6200
- credentialReferenceId: z.ZodNullable<z.ZodString>;
6201
- createdAt: z.ZodString;
6202
- updatedAt: z.ZodString;
6203
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
6204
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6205
6205
  imageUrl: z.ZodNullable<z.ZodString>;
6206
6206
  lastError: z.ZodNullable<z.ZodString>;
6207
6207
  }, z.core.$strip>;
6208
6208
  declare const ToolApiInsertSchema: z.ZodObject<{
6209
- id: z.ZodString;
6210
6209
  name: z.ZodString;
6210
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6211
+ id: z.ZodString;
6212
+ createdAt: z.ZodOptional<z.ZodString>;
6213
+ updatedAt: z.ZodOptional<z.ZodString>;
6211
6214
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6215
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6216
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6212
6217
  config: z.ZodObject<{
6213
6218
  type: z.ZodLiteral<"mcp">;
6214
6219
  mcp: z.ZodObject<{
@@ -6228,18 +6233,18 @@ declare const ToolApiInsertSchema: z.ZodObject<{
6228
6233
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6229
6234
  }, z.core.$strip>;
6230
6235
  }, z.core.$strip>;
6231
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6232
- createdAt: z.ZodOptional<z.ZodString>;
6233
- updatedAt: z.ZodOptional<z.ZodString>;
6234
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6235
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6236
6236
  imageUrl: z.ZodOptional<z.ZodString>;
6237
6237
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6238
6238
  }, z.core.$strip>;
6239
6239
  declare const ToolApiUpdateSchema: z.ZodObject<{
6240
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6241
6240
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6241
+ 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>>>>>>>;
6242
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6243
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6244
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6242
6245
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6246
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6247
+ capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
6243
6248
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6244
6249
  type: z.ZodLiteral<"mcp">;
6245
6250
  mcp: z.ZodObject<{
@@ -6259,11 +6264,6 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
6259
6264
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6260
6265
  }, z.core.$strip>;
6261
6266
  }, z.core.$strip>>>;
6262
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6263
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6264
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6265
- 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>>>>>>>;
6266
- capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
6267
6267
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6268
6268
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6269
6269
  }, z.core.$strip>;
@@ -6469,29 +6469,29 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
6469
6469
  in: {};
6470
6470
  }>;
6471
6471
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
6472
- id: z.ZodString;
6473
6472
  name: z.ZodString;
6474
- description: z.ZodNullable<z.ZodString>;
6475
- agentId: z.ZodString;
6473
+ id: z.ZodString;
6476
6474
  createdAt: z.ZodString;
6477
6475
  updatedAt: z.ZodString;
6476
+ description: z.ZodNullable<z.ZodString>;
6477
+ agentId: z.ZodString;
6478
6478
  functionId: z.ZodString;
6479
6479
  }, z.core.$strip>;
6480
6480
  declare const FunctionToolApiInsertSchema: z.ZodObject<{
6481
- id: z.ZodString;
6482
6481
  name: z.ZodString;
6483
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6482
+ id: z.ZodString;
6484
6483
  createdAt: z.ZodOptional<z.ZodString>;
6485
6484
  updatedAt: z.ZodOptional<z.ZodString>;
6485
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6486
6486
  functionId: z.ZodString;
6487
6487
  }, z.core.$strip>;
6488
6488
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
6489
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6490
6489
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6491
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6492
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6490
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6493
6491
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6494
6492
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6493
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6494
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6495
6495
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6496
6496
  }, z.core.$strip>;
6497
6497
  declare const FunctionSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -6736,12 +6736,12 @@ declare const FetchDefinitionSchema: z.ZodObject<{
6736
6736
  responseSchema: z.ZodOptional<z.ZodAny>;
6737
6737
  defaultValue: z.ZodOptional<z.ZodAny>;
6738
6738
  credential: z.ZodOptional<z.ZodObject<{
6739
- id: z.ZodString;
6740
6739
  name: z.ZodString;
6741
- createdAt: z.ZodOptional<z.ZodString>;
6742
- updatedAt: z.ZodOptional<z.ZodString>;
6740
+ id: z.ZodString;
6743
6741
  credentialStoreId: z.ZodString;
6744
6742
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6743
+ createdAt: z.ZodOptional<z.ZodString>;
6744
+ updatedAt: z.ZodOptional<z.ZodString>;
6745
6745
  type: z.ZodEnum<{
6746
6746
  readonly memory: "memory";
6747
6747
  readonly keychain: "keychain";
@@ -6763,23 +6763,23 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
6763
6763
  in: {};
6764
6764
  }>;
6765
6765
  declare const ContextConfigInsertSchema: z.ZodObject<{
6766
- tenantId: z.ZodString;
6767
- projectId: z.ZodString;
6768
6766
  id: z.ZodOptional<z.ZodString>;
6769
- agentId: z.ZodString;
6767
+ projectId: z.ZodString;
6768
+ tenantId: z.ZodString;
6770
6769
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6771
6770
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6771
+ agentId: z.ZodString;
6772
6772
  }, {
6773
6773
  out: {};
6774
6774
  in: {};
6775
6775
  }>;
6776
6776
  declare const ContextConfigUpdateSchema: z.ZodObject<{
6777
- tenantId: z.ZodOptional<z.ZodString>;
6778
- projectId: z.ZodOptional<z.ZodString>;
6779
6777
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6780
- agentId: z.ZodOptional<z.ZodString>;
6778
+ projectId: z.ZodOptional<z.ZodString>;
6779
+ tenantId: z.ZodOptional<z.ZodString>;
6781
6780
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6782
6781
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6782
+ agentId: z.ZodOptional<z.ZodString>;
6783
6783
  }, {
6784
6784
  out: {};
6785
6785
  in: {};
@@ -7024,31 +7024,31 @@ declare const SubAgentToolRelationUpdateSchema: z.ZodObject<{
7024
7024
  in: {};
7025
7025
  }>;
7026
7026
  declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
7027
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7027
7028
  id: z.ZodString;
7028
7029
  createdAt: z.ZodString;
7029
7030
  updatedAt: z.ZodString;
7030
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7031
- toolId: z.ZodString;
7032
7031
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7033
7032
  subAgentId: z.ZodString;
7033
+ toolId: z.ZodString;
7034
7034
  }, z.core.$strip>;
7035
7035
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
7036
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7036
7037
  id: z.ZodString;
7037
7038
  createdAt: z.ZodOptional<z.ZodString>;
7038
7039
  updatedAt: z.ZodOptional<z.ZodString>;
7039
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7040
- toolId: z.ZodString;
7041
7040
  selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
7042
7041
  subAgentId: z.ZodString;
7042
+ toolId: z.ZodString;
7043
7043
  }, z.core.$strip>;
7044
7044
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
7045
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7045
7046
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7046
7047
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7047
7048
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7048
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7049
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7050
7049
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
7051
7050
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7051
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7052
7052
  }, z.core.$strip>;
7053
7053
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
7054
7054
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -7252,26 +7252,26 @@ declare const SubAgentExternalAgentRelationUpdateSchema: z.ZodObject<{
7252
7252
  in: {};
7253
7253
  }>;
7254
7254
  declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
7255
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7255
7256
  id: z.ZodString;
7256
7257
  createdAt: z.ZodString;
7257
7258
  updatedAt: z.ZodString;
7258
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7259
- externalAgentId: z.ZodString;
7260
7259
  subAgentId: z.ZodString;
7260
+ externalAgentId: z.ZodString;
7261
7261
  }, z.core.$strip>;
7262
7262
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
7263
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7263
7264
  createdAt: z.ZodOptional<z.ZodString>;
7264
7265
  updatedAt: z.ZodOptional<z.ZodString>;
7265
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7266
7266
  externalAgentId: z.ZodString;
7267
7267
  }, z.core.$strip>;
7268
7268
  declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
7269
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7269
7270
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7270
7271
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7271
7272
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7272
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7273
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7274
7273
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7274
+ externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7275
7275
  }, z.core.$strip>;
7276
7276
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
7277
7277
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -7475,24 +7475,24 @@ declare const SubAgentTeamAgentRelationUpdateSchema: z.ZodObject<{
7475
7475
  in: {};
7476
7476
  }>;
7477
7477
  declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<{
7478
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7478
7479
  id: z.ZodString;
7479
7480
  createdAt: z.ZodString;
7480
7481
  updatedAt: z.ZodString;
7481
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7482
7482
  subAgentId: z.ZodString;
7483
7483
  targetAgentId: z.ZodString;
7484
7484
  }, z.core.$strip>;
7485
7485
  declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
7486
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7486
7487
  createdAt: z.ZodOptional<z.ZodString>;
7487
7488
  updatedAt: z.ZodOptional<z.ZodString>;
7488
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7489
7489
  targetAgentId: z.ZodString;
7490
7490
  }, z.core.$strip>;
7491
7491
  declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
7492
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7492
7493
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7493
7494
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7494
7495
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7495
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7496
7496
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7497
7497
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7498
7498
  }, z.core.$strip>;
@@ -8208,12 +8208,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
8208
8208
  in: {};
8209
8209
  }>;
8210
8210
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
8211
- id: z.ZodString;
8212
8211
  type: z.ZodString;
8213
8212
  name: z.ZodNullable<z.ZodString>;
8214
- description: z.ZodNullable<z.ZodString>;
8213
+ id: z.ZodString;
8215
8214
  createdAt: z.ZodString;
8216
8215
  updatedAt: z.ZodString;
8216
+ description: z.ZodNullable<z.ZodString>;
8217
8217
  metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
8218
8218
  contextId: z.ZodString;
8219
8219
  visibility: z.ZodNullable<z.ZodString>;
@@ -8226,12 +8226,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
8226
8226
  derivedFrom: z.ZodNullable<z.ZodString>;
8227
8227
  }, z.core.$strip>;
8228
8228
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
8229
- id: z.ZodString;
8230
8229
  type: z.ZodOptional<z.ZodString>;
8231
8230
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8232
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8231
+ id: z.ZodString;
8233
8232
  createdAt: z.ZodOptional<z.ZodString>;
8234
8233
  updatedAt: z.ZodOptional<z.ZodString>;
8234
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8235
8235
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
8236
8236
  contextId: z.ZodString;
8237
8237
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8244,12 +8244,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
8244
8244
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8245
8245
  }, z.core.$strip>;
8246
8246
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
8247
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8248
8247
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8249
8248
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8250
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8249
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8251
8250
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8252
8251
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8252
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8253
8253
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
8254
8254
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8255
8255
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -8307,12 +8307,11 @@ declare const TeamAgentSchema: z.ZodObject<{
8307
8307
  description: z.ZodString;
8308
8308
  }, z.core.$strip>;
8309
8309
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
8310
- id: z.ZodString;
8311
8310
  name: z.ZodString;
8312
- description: z.ZodString;
8313
- prompt: z.ZodString;
8311
+ id: z.ZodString;
8314
8312
  createdAt: z.ZodOptional<z.ZodString>;
8315
8313
  updatedAt: z.ZodOptional<z.ZodString>;
8314
+ description: z.ZodString;
8316
8315
  models: z.ZodOptional<z.ZodObject<{
8317
8316
  base: z.ZodOptional<z.ZodObject<{
8318
8317
  model: z.ZodOptional<z.ZodString>;
@@ -8336,6 +8335,7 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
8336
8335
  }, {
8337
8336
  stepCountIs?: number | undefined;
8338
8337
  }>>>>;
8338
+ prompt: z.ZodString;
8339
8339
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
8340
8340
  type: z.ZodLiteral<"internal">;
8341
8341
  canUse: z.ZodArray<z.ZodObject<{
@@ -8359,19 +8359,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
8359
8359
  }, z.core.$strip>;
8360
8360
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
8361
8361
  name: z.ZodString;
8362
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8363
8362
  createdAt: z.ZodOptional<z.ZodString>;
8364
8363
  updatedAt: z.ZodOptional<z.ZodString>;
8364
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8365
8365
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8366
8366
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8367
8367
  id: z.ZodString;
8368
8368
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
8369
- id: z.ZodString;
8370
8369
  name: z.ZodString;
8371
- description: z.ZodString;
8372
- prompt: z.ZodString;
8370
+ id: z.ZodString;
8373
8371
  createdAt: z.ZodOptional<z.ZodString>;
8374
8372
  updatedAt: z.ZodOptional<z.ZodString>;
8373
+ description: z.ZodString;
8375
8374
  models: z.ZodOptional<z.ZodObject<{
8376
8375
  base: z.ZodOptional<z.ZodObject<{
8377
8376
  model: z.ZodOptional<z.ZodString>;
@@ -8395,6 +8394,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
8395
8394
  }, {
8396
8395
  stepCountIs?: number | undefined;
8397
8396
  }>>>>;
8397
+ prompt: z.ZodString;
8398
8398
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
8399
8399
  type: z.ZodLiteral<"internal">;
8400
8400
  canUse: z.ZodArray<z.ZodObject<{
@@ -8417,9 +8417,14 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
8417
8417
  }, z.core.$strip>]>>>;
8418
8418
  }, z.core.$strip>>;
8419
8419
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8420
- id: z.ZodString;
8421
8420
  name: z.ZodString;
8421
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8422
+ id: z.ZodString;
8423
+ createdAt: z.ZodOptional<z.ZodString>;
8424
+ updatedAt: z.ZodOptional<z.ZodString>;
8422
8425
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8426
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8427
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8423
8428
  config: z.ZodObject<{
8424
8429
  type: z.ZodLiteral<"mcp">;
8425
8430
  mcp: z.ZodObject<{
@@ -8439,21 +8444,16 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
8439
8444
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8440
8445
  }, z.core.$strip>;
8441
8446
  }, z.core.$strip>;
8442
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8443
- createdAt: z.ZodOptional<z.ZodString>;
8444
- updatedAt: z.ZodOptional<z.ZodString>;
8445
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8446
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8447
8447
  imageUrl: z.ZodOptional<z.ZodString>;
8448
8448
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8449
8449
  }, z.core.$strip>>>;
8450
8450
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8451
- id: z.ZodString;
8452
8451
  name: z.ZodString;
8453
- description: z.ZodString;
8454
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8452
+ id: z.ZodString;
8455
8453
  createdAt: z.ZodOptional<z.ZodString>;
8456
8454
  updatedAt: z.ZodOptional<z.ZodString>;
8455
+ description: z.ZodString;
8456
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8457
8457
  baseUrl: z.ZodString;
8458
8458
  }, z.core.$strip>>>;
8459
8459
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8462,11 +8462,11 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
8462
8462
  description: z.ZodString;
8463
8463
  }, z.core.$strip>>>;
8464
8464
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8465
- id: z.ZodString;
8466
8465
  name: z.ZodString;
8467
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8466
+ id: z.ZodString;
8468
8467
  createdAt: z.ZodOptional<z.ZodString>;
8469
8468
  updatedAt: z.ZodOptional<z.ZodString>;
8469
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8470
8470
  functionId: z.ZodString;
8471
8471
  }, z.core.$strip>>>;
8472
8472
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8733,9 +8733,9 @@ declare const ProjectSelectSchema: drizzle_zod.BuildSchema<"select", {
8733
8733
  }>;
8734
8734
  }, undefined, undefined>;
8735
8735
  declare const ProjectInsertSchema: z.ZodObject<{
8736
- tenantId: z.ZodString;
8737
- id: z.ZodString;
8738
8736
  name: z.ZodString;
8737
+ id: z.ZodString;
8738
+ tenantId: z.ZodString;
8739
8739
  description: z.ZodString;
8740
8740
  models: z.ZodObject<{
8741
8741
  base: z.ZodObject<{
@@ -8760,9 +8760,9 @@ declare const ProjectInsertSchema: z.ZodObject<{
8760
8760
  in: {};
8761
8761
  }>;
8762
8762
  declare const ProjectUpdateSchema: z.ZodObject<{
8763
- tenantId: z.ZodOptional<z.ZodString>;
8764
- id: z.ZodOptional<z.ZodString>;
8765
8763
  name: z.ZodOptional<z.ZodString>;
8764
+ id: z.ZodOptional<z.ZodString>;
8765
+ tenantId: z.ZodOptional<z.ZodString>;
8766
8766
  description: z.ZodOptional<z.ZodString>;
8767
8767
  models: z.ZodOptional<z.ZodObject<{
8768
8768
  base: z.ZodObject<{
@@ -8787,11 +8787,11 @@ declare const ProjectUpdateSchema: z.ZodObject<{
8787
8787
  in: {};
8788
8788
  }>;
8789
8789
  declare const ProjectApiSelectSchema: z.ZodObject<{
8790
- id: z.ZodString;
8791
8790
  name: z.ZodString;
8792
- description: z.ZodString;
8791
+ id: z.ZodString;
8793
8792
  createdAt: z.ZodString;
8794
8793
  updatedAt: z.ZodString;
8794
+ description: z.ZodString;
8795
8795
  models: z.ZodNullable<z.ZodType<{
8796
8796
  base: {
8797
8797
  model?: string | undefined;
@@ -8863,8 +8863,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
8863
8863
  in: {};
8864
8864
  }>;
8865
8865
  declare const ProjectApiInsertSchema: z.ZodObject<{
8866
- id: z.ZodString;
8867
8866
  name: z.ZodString;
8867
+ id: z.ZodString;
8868
8868
  description: z.ZodString;
8869
8869
  models: z.ZodObject<{
8870
8870
  base: z.ZodObject<{
@@ -8889,8 +8889,8 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
8889
8889
  in: {};
8890
8890
  }>;
8891
8891
  declare const ProjectApiUpdateSchema: z.ZodObject<{
8892
- id: z.ZodOptional<z.ZodString>;
8893
8892
  name: z.ZodOptional<z.ZodString>;
8893
+ id: z.ZodOptional<z.ZodString>;
8894
8894
  description: z.ZodOptional<z.ZodString>;
8895
8895
  models: z.ZodOptional<z.ZodObject<{
8896
8896
  base: z.ZodObject<{
@@ -8915,8 +8915,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
8915
8915
  in: {};
8916
8916
  }>;
8917
8917
  declare const FullProjectDefinitionSchema: z.ZodObject<{
8918
- id: z.ZodString;
8919
8918
  name: z.ZodString;
8919
+ id: z.ZodString;
8920
8920
  description: z.ZodString;
8921
8921
  models: z.ZodObject<{
8922
8922
  base: z.ZodObject<{
@@ -8938,19 +8938,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8938
8938
  }, z.core.$strip>>;
8939
8939
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
8940
8940
  name: z.ZodString;
8941
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8942
8941
  createdAt: z.ZodOptional<z.ZodString>;
8943
8942
  updatedAt: z.ZodOptional<z.ZodString>;
8943
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8944
8944
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8945
8945
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8946
8946
  id: z.ZodString;
8947
8947
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
8948
- id: z.ZodString;
8949
8948
  name: z.ZodString;
8950
- description: z.ZodString;
8951
- prompt: z.ZodString;
8949
+ id: z.ZodString;
8952
8950
  createdAt: z.ZodOptional<z.ZodString>;
8953
8951
  updatedAt: z.ZodOptional<z.ZodString>;
8952
+ description: z.ZodString;
8954
8953
  models: z.ZodOptional<z.ZodObject<{
8955
8954
  base: z.ZodOptional<z.ZodObject<{
8956
8955
  model: z.ZodOptional<z.ZodString>;
@@ -8974,6 +8973,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8974
8973
  }, {
8975
8974
  stepCountIs?: number | undefined;
8976
8975
  }>>>>;
8976
+ prompt: z.ZodString;
8977
8977
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
8978
8978
  type: z.ZodLiteral<"internal">;
8979
8979
  canUse: z.ZodArray<z.ZodObject<{
@@ -8996,9 +8996,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8996
8996
  }, z.core.$strip>]>>>;
8997
8997
  }, z.core.$strip>>;
8998
8998
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8999
- id: z.ZodString;
9000
8999
  name: z.ZodString;
9000
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9001
+ id: z.ZodString;
9002
+ createdAt: z.ZodOptional<z.ZodString>;
9003
+ updatedAt: z.ZodOptional<z.ZodString>;
9001
9004
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9005
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9006
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
9002
9007
  config: z.ZodObject<{
9003
9008
  type: z.ZodLiteral<"mcp">;
9004
9009
  mcp: z.ZodObject<{
@@ -9018,21 +9023,16 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9018
9023
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
9019
9024
  }, z.core.$strip>;
9020
9025
  }, z.core.$strip>;
9021
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9022
- createdAt: z.ZodOptional<z.ZodString>;
9023
- updatedAt: z.ZodOptional<z.ZodString>;
9024
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9025
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
9026
9026
  imageUrl: z.ZodOptional<z.ZodString>;
9027
9027
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9028
9028
  }, z.core.$strip>>>;
9029
9029
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9030
- id: z.ZodString;
9031
9030
  name: z.ZodString;
9032
- description: z.ZodString;
9033
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9031
+ id: z.ZodString;
9034
9032
  createdAt: z.ZodOptional<z.ZodString>;
9035
9033
  updatedAt: z.ZodOptional<z.ZodString>;
9034
+ description: z.ZodString;
9035
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9036
9036
  baseUrl: z.ZodString;
9037
9037
  }, z.core.$strip>>>;
9038
9038
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -9041,11 +9041,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9041
9041
  description: z.ZodString;
9042
9042
  }, z.core.$strip>>>;
9043
9043
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9044
- id: z.ZodString;
9045
9044
  name: z.ZodString;
9046
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9045
+ id: z.ZodString;
9047
9046
  createdAt: z.ZodOptional<z.ZodString>;
9048
9047
  updatedAt: z.ZodOptional<z.ZodString>;
9048
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9049
9049
  functionId: z.ZodString;
9050
9050
  }, z.core.$strip>>>;
9051
9051
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -9096,9 +9096,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9096
9096
  prompt: z.ZodOptional<z.ZodString>;
9097
9097
  }, z.core.$strip>>;
9098
9098
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
9099
- id: z.ZodString;
9100
9099
  name: z.ZodString;
9100
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9101
+ id: z.ZodString;
9102
+ createdAt: z.ZodOptional<z.ZodString>;
9103
+ updatedAt: z.ZodOptional<z.ZodString>;
9101
9104
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9105
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9106
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
9102
9107
  config: z.ZodObject<{
9103
9108
  type: z.ZodLiteral<"mcp">;
9104
9109
  mcp: z.ZodObject<{
@@ -9118,11 +9123,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9118
9123
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
9119
9124
  }, z.core.$strip>;
9120
9125
  }, z.core.$strip>;
9121
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9122
- createdAt: z.ZodOptional<z.ZodString>;
9123
- updatedAt: z.ZodOptional<z.ZodString>;
9124
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9125
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
9126
9126
  imageUrl: z.ZodOptional<z.ZodString>;
9127
9127
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9128
9128
  }, z.core.$strip>>;
@@ -9135,11 +9135,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9135
9135
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9136
9136
  }, z.core.$strip>>>;
9137
9137
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9138
- id: z.ZodString;
9139
9138
  name: z.ZodString;
9140
- description: z.ZodString;
9139
+ id: z.ZodString;
9141
9140
  createdAt: z.ZodOptional<z.ZodString>;
9142
9141
  updatedAt: z.ZodOptional<z.ZodString>;
9142
+ description: z.ZodString;
9143
9143
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
9144
9144
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
9145
9145
  component: string;
@@ -9156,8 +9156,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9156
9156
  }>>>>;
9157
9157
  }, z.core.$strip>>>;
9158
9158
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9159
- id: z.ZodString;
9160
9159
  name: z.ZodString;
9160
+ id: z.ZodString;
9161
9161
  description: z.ZodString;
9162
9162
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
9163
9163
  }, {
@@ -9165,12 +9165,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9165
9165
  in: {};
9166
9166
  }>>>;
9167
9167
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9168
- id: z.ZodString;
9169
9168
  name: z.ZodString;
9170
- description: z.ZodString;
9171
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9169
+ id: z.ZodString;
9172
9170
  createdAt: z.ZodOptional<z.ZodString>;
9173
9171
  updatedAt: z.ZodOptional<z.ZodString>;
9172
+ description: z.ZodString;
9173
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9174
9174
  baseUrl: z.ZodString;
9175
9175
  }, z.core.$strip>>>;
9176
9176
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -9189,12 +9189,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9189
9189
  }, z.core.$strip>>>;
9190
9190
  }, z.core.$strip>>;
9191
9191
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9192
- id: z.ZodString;
9193
9192
  name: z.ZodString;
9194
- createdAt: z.ZodOptional<z.ZodString>;
9195
- updatedAt: z.ZodOptional<z.ZodString>;
9193
+ id: z.ZodString;
9196
9194
  credentialStoreId: z.ZodString;
9197
9195
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9196
+ createdAt: z.ZodOptional<z.ZodString>;
9197
+ updatedAt: z.ZodOptional<z.ZodString>;
9198
9198
  type: z.ZodEnum<{
9199
9199
  readonly memory: "memory";
9200
9200
  readonly keychain: "keychain";
@@ -9209,11 +9209,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9209
9209
  }>;
9210
9210
  declare const ProjectResponse: z.ZodObject<{
9211
9211
  data: z.ZodObject<{
9212
- id: z.ZodString;
9213
9212
  name: z.ZodString;
9214
- description: z.ZodString;
9213
+ id: z.ZodString;
9215
9214
  createdAt: z.ZodString;
9216
9215
  updatedAt: z.ZodString;
9216
+ description: z.ZodString;
9217
9217
  models: z.ZodNullable<z.ZodType<{
9218
9218
  base: {
9219
9219
  model?: string | undefined;
@@ -9287,12 +9287,11 @@ declare const ProjectResponse: z.ZodObject<{
9287
9287
  }, z.core.$strip>;
9288
9288
  declare const SubAgentResponse: z.ZodObject<{
9289
9289
  data: z.ZodObject<{
9290
- id: z.ZodString;
9291
9290
  name: z.ZodString;
9292
- description: z.ZodString;
9293
- prompt: z.ZodString;
9291
+ id: z.ZodString;
9294
9292
  createdAt: z.ZodString;
9295
9293
  updatedAt: z.ZodString;
9294
+ description: z.ZodString;
9296
9295
  models: z.ZodNullable<z.ZodType<{
9297
9296
  base?: {
9298
9297
  model?: string | undefined;
@@ -9355,17 +9354,17 @@ declare const SubAgentResponse: z.ZodObject<{
9355
9354
  }, {
9356
9355
  stepCountIs?: number | undefined;
9357
9356
  }>>>;
9357
+ prompt: z.ZodString;
9358
9358
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
9359
9359
  }, z.core.$strip>;
9360
9360
  }, z.core.$strip>;
9361
9361
  declare const AgentResponse: z.ZodObject<{
9362
9362
  data: z.ZodObject<{
9363
- id: z.ZodString;
9364
9363
  name: z.ZodString;
9365
- description: z.ZodNullable<z.ZodString>;
9366
- prompt: z.ZodNullable<z.ZodString>;
9364
+ id: z.ZodString;
9367
9365
  createdAt: z.ZodString;
9368
9366
  updatedAt: z.ZodString;
9367
+ description: z.ZodNullable<z.ZodString>;
9369
9368
  models: z.ZodNullable<z.ZodType<{
9370
9369
  base?: {
9371
9370
  model?: string | undefined;
@@ -9430,6 +9429,7 @@ declare const AgentResponse: z.ZodObject<{
9430
9429
  }>>>;
9431
9430
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
9432
9431
  contextConfigId: z.ZodNullable<z.ZodString>;
9432
+ prompt: z.ZodNullable<z.ZodString>;
9433
9433
  statusUpdates: z.ZodNullable<z.ZodType<{
9434
9434
  enabled?: boolean | undefined;
9435
9435
  numEvents?: number | undefined;
@@ -9491,9 +9491,14 @@ declare const AgentResponse: z.ZodObject<{
9491
9491
  }, z.core.$strip>;
9492
9492
  declare const ToolResponse: z.ZodObject<{
9493
9493
  data: z.ZodObject<{
9494
- id: z.ZodString;
9495
9494
  name: z.ZodString;
9495
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9496
+ id: z.ZodString;
9497
+ createdAt: z.ZodString;
9498
+ updatedAt: z.ZodString;
9496
9499
  description: z.ZodNullable<z.ZodString>;
9500
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
9501
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9497
9502
  config: z.ZodType<{
9498
9503
  type: "mcp";
9499
9504
  mcp: ToolMcpConfig;
@@ -9507,23 +9512,18 @@ declare const ToolResponse: z.ZodObject<{
9507
9512
  type: "mcp";
9508
9513
  mcp: ToolMcpConfig;
9509
9514
  }>>;
9510
- credentialReferenceId: z.ZodNullable<z.ZodString>;
9511
- createdAt: z.ZodString;
9512
- updatedAt: z.ZodString;
9513
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9514
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9515
9515
  imageUrl: z.ZodNullable<z.ZodString>;
9516
9516
  lastError: z.ZodNullable<z.ZodString>;
9517
9517
  }, z.core.$strip>;
9518
9518
  }, z.core.$strip>;
9519
9519
  declare const ExternalAgentResponse: z.ZodObject<{
9520
9520
  data: z.ZodObject<{
9521
- id: z.ZodString;
9522
9521
  name: z.ZodString;
9523
- description: z.ZodString;
9524
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9522
+ id: z.ZodString;
9525
9523
  createdAt: z.ZodString;
9526
9524
  updatedAt: z.ZodString;
9525
+ description: z.ZodString;
9526
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9527
9527
  baseUrl: z.ZodString;
9528
9528
  }, z.core.$strip>;
9529
9529
  }, z.core.$strip>;
@@ -9538,15 +9538,15 @@ declare const ContextConfigResponse: z.ZodObject<{
9538
9538
  }, z.core.$strip>;
9539
9539
  declare const ApiKeyResponse: z.ZodObject<{
9540
9540
  data: z.ZodObject<{
9541
- id: z.ZodString;
9542
9541
  name: z.ZodNullable<z.ZodString>;
9542
+ id: z.ZodString;
9543
+ createdAt: z.ZodString;
9544
+ updatedAt: z.ZodString;
9543
9545
  agentId: z.ZodString;
9546
+ expiresAt: z.ZodNullable<z.ZodString>;
9544
9547
  publicId: z.ZodString;
9545
9548
  keyPrefix: z.ZodString;
9546
9549
  lastUsedAt: z.ZodNullable<z.ZodString>;
9547
- expiresAt: z.ZodNullable<z.ZodString>;
9548
- createdAt: z.ZodString;
9549
- updatedAt: z.ZodString;
9550
9550
  }, {
9551
9551
  out: {};
9552
9552
  in: {};
@@ -9554,12 +9554,12 @@ declare const ApiKeyResponse: z.ZodObject<{
9554
9554
  }, z.core.$strip>;
9555
9555
  declare const CredentialReferenceResponse: z.ZodObject<{
9556
9556
  data: z.ZodObject<{
9557
- id: z.ZodString;
9558
9557
  name: z.ZodString;
9559
- createdAt: z.ZodString;
9560
- updatedAt: z.ZodString;
9558
+ id: z.ZodString;
9561
9559
  credentialStoreId: z.ZodString;
9562
9560
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9561
+ createdAt: z.ZodString;
9562
+ updatedAt: z.ZodString;
9563
9563
  type: z.ZodEnum<{
9564
9564
  readonly memory: "memory";
9565
9565
  readonly keychain: "keychain";
@@ -9848,22 +9848,22 @@ declare const FunctionResponse: z.ZodObject<{
9848
9848
  }, z.core.$strip>;
9849
9849
  declare const FunctionToolResponse: z.ZodObject<{
9850
9850
  data: z.ZodObject<{
9851
- id: z.ZodString;
9852
9851
  name: z.ZodString;
9853
- description: z.ZodNullable<z.ZodString>;
9854
- agentId: z.ZodString;
9852
+ id: z.ZodString;
9855
9853
  createdAt: z.ZodString;
9856
9854
  updatedAt: z.ZodString;
9855
+ description: z.ZodNullable<z.ZodString>;
9856
+ agentId: z.ZodString;
9857
9857
  functionId: z.ZodString;
9858
9858
  }, z.core.$strip>;
9859
9859
  }, z.core.$strip>;
9860
9860
  declare const DataComponentResponse: z.ZodObject<{
9861
9861
  data: z.ZodObject<{
9862
- id: z.ZodString;
9863
9862
  name: z.ZodString;
9864
- description: z.ZodString;
9863
+ id: z.ZodString;
9865
9864
  createdAt: z.ZodString;
9866
9865
  updatedAt: z.ZodString;
9866
+ description: z.ZodString;
9867
9867
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9868
9868
  render: z.ZodNullable<z.ZodType<{
9869
9869
  component: string;
@@ -9882,11 +9882,11 @@ declare const DataComponentResponse: z.ZodObject<{
9882
9882
  }, z.core.$strip>;
9883
9883
  declare const ArtifactComponentResponse: z.ZodObject<{
9884
9884
  data: z.ZodObject<{
9885
- id: z.ZodString;
9886
9885
  name: z.ZodString;
9887
- description: z.ZodString;
9886
+ id: z.ZodString;
9888
9887
  createdAt: z.ZodString;
9889
9888
  updatedAt: z.ZodString;
9889
+ description: z.ZodString;
9890
9890
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9891
9891
  }, z.core.$strip>;
9892
9892
  }, z.core.$strip>;
@@ -9902,21 +9902,21 @@ declare const SubAgentRelationResponse: z.ZodObject<{
9902
9902
  }, z.core.$strip>;
9903
9903
  declare const SubAgentToolRelationResponse: z.ZodObject<{
9904
9904
  data: z.ZodObject<{
9905
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9905
9906
  id: z.ZodString;
9906
9907
  createdAt: z.ZodString;
9907
9908
  updatedAt: z.ZodString;
9908
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9909
- toolId: z.ZodString;
9910
9909
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9911
9910
  subAgentId: z.ZodString;
9911
+ toolId: z.ZodString;
9912
9912
  }, z.core.$strip>;
9913
9913
  }, z.core.$strip>;
9914
9914
  declare const ConversationResponse: z.ZodObject<{
9915
9915
  data: z.ZodObject<{
9916
9916
  id: z.ZodString;
9917
- title: z.ZodNullable<z.ZodString>;
9918
9917
  createdAt: z.ZodString;
9919
9918
  updatedAt: z.ZodString;
9919
+ title: z.ZodNullable<z.ZodString>;
9920
9920
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
9921
9921
  userId: z.ZodNullable<z.ZodString>;
9922
9922
  activeSubAgentId: z.ZodString;
@@ -9948,11 +9948,11 @@ declare const MessageResponse: z.ZodObject<{
9948
9948
  }, z.core.$strip>;
9949
9949
  declare const ProjectListResponse: 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
  models: z.ZodNullable<z.ZodType<{
9957
9957
  base: {
9958
9958
  model?: string | undefined;
@@ -10032,12 +10032,11 @@ declare const ProjectListResponse: z.ZodObject<{
10032
10032
  }, z.core.$strip>;
10033
10033
  declare const SubAgentListResponse: z.ZodObject<{
10034
10034
  data: z.ZodArray<z.ZodObject<{
10035
- id: z.ZodString;
10036
10035
  name: z.ZodString;
10037
- description: z.ZodString;
10038
- prompt: z.ZodString;
10036
+ id: z.ZodString;
10039
10037
  createdAt: z.ZodString;
10040
10038
  updatedAt: z.ZodString;
10039
+ description: z.ZodString;
10041
10040
  models: z.ZodNullable<z.ZodType<{
10042
10041
  base?: {
10043
10042
  model?: string | undefined;
@@ -10100,6 +10099,7 @@ declare const SubAgentListResponse: z.ZodObject<{
10100
10099
  }, {
10101
10100
  stepCountIs?: number | undefined;
10102
10101
  }>>>;
10102
+ prompt: z.ZodString;
10103
10103
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
10104
10104
  }, z.core.$strip>>;
10105
10105
  pagination: z.ZodObject<{
@@ -10111,12 +10111,11 @@ declare const SubAgentListResponse: z.ZodObject<{
10111
10111
  }, z.core.$strip>;
10112
10112
  declare const AgentListResponse: z.ZodObject<{
10113
10113
  data: z.ZodArray<z.ZodObject<{
10114
- id: z.ZodString;
10115
10114
  name: z.ZodString;
10116
- description: z.ZodNullable<z.ZodString>;
10117
- prompt: z.ZodNullable<z.ZodString>;
10115
+ id: z.ZodString;
10118
10116
  createdAt: z.ZodString;
10119
10117
  updatedAt: z.ZodString;
10118
+ description: z.ZodNullable<z.ZodString>;
10120
10119
  models: z.ZodNullable<z.ZodType<{
10121
10120
  base?: {
10122
10121
  model?: string | undefined;
@@ -10181,6 +10180,7 @@ declare const AgentListResponse: z.ZodObject<{
10181
10180
  }>>>;
10182
10181
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
10183
10182
  contextConfigId: z.ZodNullable<z.ZodString>;
10183
+ prompt: z.ZodNullable<z.ZodString>;
10184
10184
  statusUpdates: z.ZodNullable<z.ZodType<{
10185
10185
  enabled?: boolean | undefined;
10186
10186
  numEvents?: number | undefined;
@@ -10248,9 +10248,14 @@ declare const AgentListResponse: z.ZodObject<{
10248
10248
  }, z.core.$strip>;
10249
10249
  declare const ToolListResponse: z.ZodObject<{
10250
10250
  data: z.ZodArray<z.ZodObject<{
10251
- id: z.ZodString;
10252
10251
  name: z.ZodString;
10252
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
10253
+ id: z.ZodString;
10254
+ createdAt: z.ZodString;
10255
+ updatedAt: z.ZodString;
10253
10256
  description: z.ZodNullable<z.ZodString>;
10257
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
10258
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
10254
10259
  config: z.ZodType<{
10255
10260
  type: "mcp";
10256
10261
  mcp: ToolMcpConfig;
@@ -10264,11 +10269,6 @@ declare const ToolListResponse: z.ZodObject<{
10264
10269
  type: "mcp";
10265
10270
  mcp: ToolMcpConfig;
10266
10271
  }>>;
10267
- credentialReferenceId: z.ZodNullable<z.ZodString>;
10268
- createdAt: z.ZodString;
10269
- updatedAt: z.ZodString;
10270
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
10271
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
10272
10272
  imageUrl: z.ZodNullable<z.ZodString>;
10273
10273
  lastError: z.ZodNullable<z.ZodString>;
10274
10274
  }, z.core.$strip>>;
@@ -10281,12 +10281,12 @@ declare const ToolListResponse: z.ZodObject<{
10281
10281
  }, z.core.$strip>;
10282
10282
  declare const ExternalAgentListResponse: z.ZodObject<{
10283
10283
  data: z.ZodArray<z.ZodObject<{
10284
- id: z.ZodString;
10285
10284
  name: z.ZodString;
10286
- description: z.ZodString;
10287
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10285
+ id: z.ZodString;
10288
10286
  createdAt: z.ZodString;
10289
10287
  updatedAt: z.ZodString;
10288
+ description: z.ZodString;
10289
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10290
10290
  baseUrl: z.ZodString;
10291
10291
  }, z.core.$strip>>;
10292
10292
  pagination: z.ZodObject<{
@@ -10313,15 +10313,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
10313
10313
  }, z.core.$strip>;
10314
10314
  declare const ApiKeyListResponse: z.ZodObject<{
10315
10315
  data: z.ZodArray<z.ZodObject<{
10316
- id: z.ZodString;
10317
10316
  name: z.ZodNullable<z.ZodString>;
10317
+ id: z.ZodString;
10318
+ createdAt: z.ZodString;
10319
+ updatedAt: z.ZodString;
10318
10320
  agentId: z.ZodString;
10321
+ expiresAt: z.ZodNullable<z.ZodString>;
10319
10322
  publicId: z.ZodString;
10320
10323
  keyPrefix: z.ZodString;
10321
10324
  lastUsedAt: z.ZodNullable<z.ZodString>;
10322
- expiresAt: z.ZodNullable<z.ZodString>;
10323
- createdAt: z.ZodString;
10324
- updatedAt: z.ZodString;
10325
10325
  }, {
10326
10326
  out: {};
10327
10327
  in: {};
@@ -10335,12 +10335,12 @@ declare const ApiKeyListResponse: z.ZodObject<{
10335
10335
  }, z.core.$strip>;
10336
10336
  declare const CredentialReferenceListResponse: z.ZodObject<{
10337
10337
  data: z.ZodArray<z.ZodObject<{
10338
- id: z.ZodString;
10339
10338
  name: z.ZodString;
10340
- createdAt: z.ZodString;
10341
- updatedAt: z.ZodString;
10339
+ id: z.ZodString;
10342
10340
  credentialStoreId: z.ZodString;
10343
10341
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10342
+ createdAt: z.ZodString;
10343
+ updatedAt: z.ZodString;
10344
10344
  type: z.ZodEnum<{
10345
10345
  readonly memory: "memory";
10346
10346
  readonly keychain: "keychain";
@@ -10641,12 +10641,12 @@ declare const FunctionListResponse: z.ZodObject<{
10641
10641
  }, z.core.$strip>;
10642
10642
  declare const FunctionToolListResponse: z.ZodObject<{
10643
10643
  data: z.ZodArray<z.ZodObject<{
10644
- id: z.ZodString;
10645
10644
  name: z.ZodString;
10646
- description: z.ZodNullable<z.ZodString>;
10647
- agentId: z.ZodString;
10645
+ id: z.ZodString;
10648
10646
  createdAt: z.ZodString;
10649
10647
  updatedAt: z.ZodString;
10648
+ description: z.ZodNullable<z.ZodString>;
10649
+ agentId: z.ZodString;
10650
10650
  functionId: z.ZodString;
10651
10651
  }, z.core.$strip>>;
10652
10652
  pagination: z.ZodObject<{
@@ -10658,11 +10658,11 @@ declare const FunctionToolListResponse: z.ZodObject<{
10658
10658
  }, z.core.$strip>;
10659
10659
  declare const DataComponentListResponse: z.ZodObject<{
10660
10660
  data: z.ZodArray<z.ZodObject<{
10661
- id: z.ZodString;
10662
10661
  name: z.ZodString;
10663
- description: z.ZodString;
10662
+ id: z.ZodString;
10664
10663
  createdAt: z.ZodString;
10665
10664
  updatedAt: z.ZodString;
10665
+ description: z.ZodString;
10666
10666
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10667
10667
  render: z.ZodNullable<z.ZodType<{
10668
10668
  component: string;
@@ -10687,11 +10687,11 @@ declare const DataComponentListResponse: z.ZodObject<{
10687
10687
  }, z.core.$strip>;
10688
10688
  declare const ArtifactComponentListResponse: z.ZodObject<{
10689
10689
  data: z.ZodArray<z.ZodObject<{
10690
- id: z.ZodString;
10691
10690
  name: z.ZodString;
10692
- description: z.ZodString;
10691
+ id: z.ZodString;
10693
10692
  createdAt: z.ZodString;
10694
10693
  updatedAt: z.ZodString;
10694
+ description: z.ZodString;
10695
10695
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10696
10696
  }, z.core.$strip>>;
10697
10697
  pagination: z.ZodObject<{
@@ -10719,13 +10719,13 @@ declare const SubAgentRelationListResponse: z.ZodObject<{
10719
10719
  }, z.core.$strip>;
10720
10720
  declare const SubAgentToolRelationListResponse: z.ZodObject<{
10721
10721
  data: z.ZodArray<z.ZodObject<{
10722
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10722
10723
  id: z.ZodString;
10723
10724
  createdAt: z.ZodString;
10724
10725
  updatedAt: z.ZodString;
10725
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10726
- toolId: z.ZodString;
10727
10726
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10728
10727
  subAgentId: z.ZodString;
10728
+ toolId: z.ZodString;
10729
10729
  }, z.core.$strip>>;
10730
10730
  pagination: z.ZodObject<{
10731
10731
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -10737,9 +10737,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
10737
10737
  declare const ConversationListResponse: z.ZodObject<{
10738
10738
  data: z.ZodArray<z.ZodObject<{
10739
10739
  id: z.ZodString;
10740
- title: z.ZodNullable<z.ZodString>;
10741
10740
  createdAt: z.ZodString;
10742
10741
  updatedAt: z.ZodString;
10742
+ title: z.ZodNullable<z.ZodString>;
10743
10743
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
10744
10744
  userId: z.ZodNullable<z.ZodString>;
10745
10745
  activeSubAgentId: z.ZodString;