@inkeep/agents-core 0.31.6 → 0.31.7

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";
@@ -6150,10 +6150,10 @@ declare const McpToolSchema: z.ZodObject<{
6150
6150
  in: {};
6151
6151
  }>;
6152
6152
  declare const MCPToolConfigSchema: z.ZodObject<{
6153
- id: z.ZodString;
6154
6153
  name: z.ZodString;
6155
- expiresAt: z.ZodOptional<z.ZodDate>;
6156
6154
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6155
+ id: z.ZodString;
6156
+ expiresAt: z.ZodOptional<z.ZodDate>;
6157
6157
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6158
6158
  imageUrl: z.ZodOptional<z.ZodString>;
6159
6159
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6182,12 +6182,12 @@ declare const MCPToolConfigSchema: z.ZodObject<{
6182
6182
  sessionId: z.ZodOptional<z.ZodString>;
6183
6183
  }, z.core.$strip>>;
6184
6184
  credential: z.ZodOptional<z.ZodObject<{
6185
- id: z.ZodString;
6186
6185
  name: z.ZodString;
6187
- createdAt: z.ZodOptional<z.ZodString>;
6188
- updatedAt: z.ZodOptional<z.ZodString>;
6186
+ id: z.ZodString;
6189
6187
  credentialStoreId: z.ZodString;
6190
6188
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6189
+ createdAt: z.ZodOptional<z.ZodString>;
6190
+ updatedAt: z.ZodOptional<z.ZodString>;
6191
6191
  type: z.ZodEnum<{
6192
6192
  readonly memory: "memory";
6193
6193
  readonly keychain: "keychain";
@@ -6235,9 +6235,14 @@ declare const ToolUpdateSchema: z.ZodObject<{
6235
6235
  in: {};
6236
6236
  }>;
6237
6237
  declare const ToolApiSelectSchema: z.ZodObject<{
6238
- id: z.ZodString;
6239
6238
  name: z.ZodString;
6239
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
6240
+ id: z.ZodString;
6241
+ createdAt: z.ZodString;
6242
+ updatedAt: z.ZodString;
6240
6243
  description: z.ZodNullable<z.ZodString>;
6244
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
6245
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6241
6246
  config: z.ZodType<{
6242
6247
  type: "mcp";
6243
6248
  mcp: ToolMcpConfig;
@@ -6251,18 +6256,18 @@ declare const ToolApiSelectSchema: z.ZodObject<{
6251
6256
  type: "mcp";
6252
6257
  mcp: ToolMcpConfig;
6253
6258
  }>>;
6254
- credentialReferenceId: z.ZodNullable<z.ZodString>;
6255
- createdAt: z.ZodString;
6256
- updatedAt: z.ZodString;
6257
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
6258
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6259
6259
  imageUrl: z.ZodNullable<z.ZodString>;
6260
6260
  lastError: z.ZodNullable<z.ZodString>;
6261
6261
  }, z.core.$strip>;
6262
6262
  declare const ToolApiInsertSchema: z.ZodObject<{
6263
- id: z.ZodString;
6264
6263
  name: z.ZodString;
6264
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6265
+ id: z.ZodString;
6266
+ createdAt: z.ZodOptional<z.ZodString>;
6267
+ updatedAt: z.ZodOptional<z.ZodString>;
6265
6268
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6269
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6270
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6266
6271
  config: z.ZodObject<{
6267
6272
  type: z.ZodLiteral<"mcp">;
6268
6273
  mcp: z.ZodObject<{
@@ -6282,18 +6287,18 @@ declare const ToolApiInsertSchema: z.ZodObject<{
6282
6287
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6283
6288
  }, z.core.$strip>;
6284
6289
  }, z.core.$strip>;
6285
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6286
- createdAt: z.ZodOptional<z.ZodString>;
6287
- updatedAt: z.ZodOptional<z.ZodString>;
6288
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6289
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6290
6290
  imageUrl: z.ZodOptional<z.ZodString>;
6291
6291
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6292
6292
  }, z.core.$strip>;
6293
6293
  declare const ToolApiUpdateSchema: z.ZodObject<{
6294
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6295
6294
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6295
+ 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>>>>>>>;
6296
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6297
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6298
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6296
6299
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6300
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6301
+ capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
6297
6302
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6298
6303
  type: z.ZodLiteral<"mcp">;
6299
6304
  mcp: z.ZodObject<{
@@ -6313,11 +6318,6 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
6313
6318
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6314
6319
  }, z.core.$strip>;
6315
6320
  }, z.core.$strip>>>;
6316
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6317
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6318
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6319
- 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>>>>>>>;
6320
- capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
6321
6321
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6322
6322
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6323
6323
  }, z.core.$strip>;
@@ -6523,29 +6523,29 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
6523
6523
  in: {};
6524
6524
  }>;
6525
6525
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
6526
- id: z.ZodString;
6527
6526
  name: z.ZodString;
6528
- description: z.ZodNullable<z.ZodString>;
6529
- agentId: z.ZodString;
6527
+ id: z.ZodString;
6530
6528
  createdAt: z.ZodString;
6531
6529
  updatedAt: z.ZodString;
6530
+ description: z.ZodNullable<z.ZodString>;
6531
+ agentId: z.ZodString;
6532
6532
  functionId: z.ZodString;
6533
6533
  }, z.core.$strip>;
6534
6534
  declare const FunctionToolApiInsertSchema: z.ZodObject<{
6535
- id: z.ZodString;
6536
6535
  name: z.ZodString;
6537
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6536
+ id: z.ZodString;
6538
6537
  createdAt: z.ZodOptional<z.ZodString>;
6539
6538
  updatedAt: z.ZodOptional<z.ZodString>;
6539
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6540
6540
  functionId: z.ZodString;
6541
6541
  }, z.core.$strip>;
6542
6542
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
6543
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6544
6543
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6545
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6546
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6544
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6547
6545
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6548
6546
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6547
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6548
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6549
6549
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6550
6550
  }, z.core.$strip>;
6551
6551
  declare const FunctionSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -6790,12 +6790,12 @@ declare const FetchDefinitionSchema: z.ZodObject<{
6790
6790
  responseSchema: z.ZodOptional<z.ZodAny>;
6791
6791
  defaultValue: z.ZodOptional<z.ZodAny>;
6792
6792
  credential: z.ZodOptional<z.ZodObject<{
6793
- id: z.ZodString;
6794
6793
  name: z.ZodString;
6795
- createdAt: z.ZodOptional<z.ZodString>;
6796
- updatedAt: z.ZodOptional<z.ZodString>;
6794
+ id: z.ZodString;
6797
6795
  credentialStoreId: z.ZodString;
6798
6796
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6797
+ createdAt: z.ZodOptional<z.ZodString>;
6798
+ updatedAt: z.ZodOptional<z.ZodString>;
6799
6799
  type: z.ZodEnum<{
6800
6800
  readonly memory: "memory";
6801
6801
  readonly keychain: "keychain";
@@ -6817,23 +6817,23 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
6817
6817
  in: {};
6818
6818
  }>;
6819
6819
  declare const ContextConfigInsertSchema: z.ZodObject<{
6820
- tenantId: z.ZodString;
6821
- projectId: z.ZodString;
6822
6820
  id: z.ZodOptional<z.ZodString>;
6823
- agentId: z.ZodString;
6821
+ projectId: z.ZodString;
6822
+ tenantId: z.ZodString;
6824
6823
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6825
6824
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6825
+ agentId: z.ZodString;
6826
6826
  }, {
6827
6827
  out: {};
6828
6828
  in: {};
6829
6829
  }>;
6830
6830
  declare const ContextConfigUpdateSchema: z.ZodObject<{
6831
- tenantId: z.ZodOptional<z.ZodString>;
6832
- projectId: z.ZodOptional<z.ZodString>;
6833
6831
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6834
- agentId: z.ZodOptional<z.ZodString>;
6832
+ projectId: z.ZodOptional<z.ZodString>;
6833
+ tenantId: z.ZodOptional<z.ZodString>;
6835
6834
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6836
6835
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6836
+ agentId: z.ZodOptional<z.ZodString>;
6837
6837
  }, {
6838
6838
  out: {};
6839
6839
  in: {};
@@ -7078,31 +7078,31 @@ declare const SubAgentToolRelationUpdateSchema: z.ZodObject<{
7078
7078
  in: {};
7079
7079
  }>;
7080
7080
  declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
7081
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7081
7082
  id: z.ZodString;
7082
7083
  createdAt: z.ZodString;
7083
7084
  updatedAt: z.ZodString;
7084
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7085
- toolId: z.ZodString;
7086
7085
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7087
7086
  subAgentId: z.ZodString;
7087
+ toolId: z.ZodString;
7088
7088
  }, z.core.$strip>;
7089
7089
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
7090
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7090
7091
  id: z.ZodString;
7091
7092
  createdAt: z.ZodOptional<z.ZodString>;
7092
7093
  updatedAt: z.ZodOptional<z.ZodString>;
7093
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7094
- toolId: z.ZodString;
7095
7094
  selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
7096
7095
  subAgentId: z.ZodString;
7096
+ toolId: z.ZodString;
7097
7097
  }, z.core.$strip>;
7098
7098
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
7099
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7099
7100
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7100
7101
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7101
7102
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7102
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7103
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7104
7103
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
7105
7104
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7105
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7106
7106
  }, z.core.$strip>;
7107
7107
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
7108
7108
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -7306,26 +7306,26 @@ declare const SubAgentExternalAgentRelationUpdateSchema: z.ZodObject<{
7306
7306
  in: {};
7307
7307
  }>;
7308
7308
  declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
7309
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7309
7310
  id: z.ZodString;
7310
7311
  createdAt: z.ZodString;
7311
7312
  updatedAt: z.ZodString;
7312
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7313
- externalAgentId: z.ZodString;
7314
7313
  subAgentId: z.ZodString;
7314
+ externalAgentId: z.ZodString;
7315
7315
  }, z.core.$strip>;
7316
7316
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
7317
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7317
7318
  createdAt: z.ZodOptional<z.ZodString>;
7318
7319
  updatedAt: z.ZodOptional<z.ZodString>;
7319
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7320
7320
  externalAgentId: z.ZodString;
7321
7321
  }, z.core.$strip>;
7322
7322
  declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
7323
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7323
7324
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7324
7325
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7325
7326
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7326
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7327
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7328
7327
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7328
+ externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7329
7329
  }, z.core.$strip>;
7330
7330
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
7331
7331
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -7529,24 +7529,24 @@ declare const SubAgentTeamAgentRelationUpdateSchema: z.ZodObject<{
7529
7529
  in: {};
7530
7530
  }>;
7531
7531
  declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<{
7532
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7532
7533
  id: z.ZodString;
7533
7534
  createdAt: z.ZodString;
7534
7535
  updatedAt: z.ZodString;
7535
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7536
7536
  subAgentId: z.ZodString;
7537
7537
  targetAgentId: z.ZodString;
7538
7538
  }, z.core.$strip>;
7539
7539
  declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
7540
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7540
7541
  createdAt: z.ZodOptional<z.ZodString>;
7541
7542
  updatedAt: z.ZodOptional<z.ZodString>;
7542
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7543
7543
  targetAgentId: z.ZodString;
7544
7544
  }, z.core.$strip>;
7545
7545
  declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
7546
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7546
7547
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7547
7548
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7548
7549
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7549
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7550
7550
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7551
7551
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7552
7552
  }, z.core.$strip>;
@@ -8262,12 +8262,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
8262
8262
  in: {};
8263
8263
  }>;
8264
8264
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
8265
- id: z.ZodString;
8266
8265
  type: z.ZodString;
8267
8266
  name: z.ZodNullable<z.ZodString>;
8268
- description: z.ZodNullable<z.ZodString>;
8267
+ id: z.ZodString;
8269
8268
  createdAt: z.ZodString;
8270
8269
  updatedAt: z.ZodString;
8270
+ description: z.ZodNullable<z.ZodString>;
8271
8271
  metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
8272
8272
  contextId: z.ZodString;
8273
8273
  visibility: z.ZodNullable<z.ZodString>;
@@ -8280,12 +8280,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
8280
8280
  derivedFrom: z.ZodNullable<z.ZodString>;
8281
8281
  }, z.core.$strip>;
8282
8282
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
8283
- id: z.ZodString;
8284
8283
  type: z.ZodOptional<z.ZodString>;
8285
8284
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8286
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8285
+ id: z.ZodString;
8287
8286
  createdAt: z.ZodOptional<z.ZodString>;
8288
8287
  updatedAt: z.ZodOptional<z.ZodString>;
8288
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8289
8289
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
8290
8290
  contextId: z.ZodString;
8291
8291
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8298,12 +8298,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
8298
8298
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8299
8299
  }, z.core.$strip>;
8300
8300
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
8301
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8302
8301
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8303
8302
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8304
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8303
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8305
8304
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8306
8305
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8306
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8307
8307
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
8308
8308
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8309
8309
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -8361,12 +8361,11 @@ declare const TeamAgentSchema: z.ZodObject<{
8361
8361
  description: z.ZodString;
8362
8362
  }, z.core.$strip>;
8363
8363
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
8364
- id: z.ZodString;
8365
8364
  name: z.ZodString;
8366
- description: z.ZodString;
8367
- prompt: z.ZodString;
8365
+ id: z.ZodString;
8368
8366
  createdAt: z.ZodOptional<z.ZodString>;
8369
8367
  updatedAt: z.ZodOptional<z.ZodString>;
8368
+ description: z.ZodString;
8370
8369
  models: z.ZodOptional<z.ZodObject<{
8371
8370
  base: z.ZodOptional<z.ZodObject<{
8372
8371
  model: z.ZodOptional<z.ZodString>;
@@ -8390,6 +8389,7 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
8390
8389
  }, {
8391
8390
  stepCountIs?: number | undefined;
8392
8391
  }>>>>;
8392
+ prompt: z.ZodString;
8393
8393
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
8394
8394
  type: z.ZodLiteral<"internal">;
8395
8395
  canUse: z.ZodArray<z.ZodObject<{
@@ -8413,19 +8413,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
8413
8413
  }, z.core.$strip>;
8414
8414
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
8415
8415
  name: z.ZodString;
8416
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8417
8416
  createdAt: z.ZodOptional<z.ZodString>;
8418
8417
  updatedAt: z.ZodOptional<z.ZodString>;
8418
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8419
8419
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8420
8420
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8421
8421
  id: z.ZodString;
8422
8422
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
8423
- id: z.ZodString;
8424
8423
  name: z.ZodString;
8425
- description: z.ZodString;
8426
- prompt: z.ZodString;
8424
+ id: z.ZodString;
8427
8425
  createdAt: z.ZodOptional<z.ZodString>;
8428
8426
  updatedAt: z.ZodOptional<z.ZodString>;
8427
+ description: z.ZodString;
8429
8428
  models: z.ZodOptional<z.ZodObject<{
8430
8429
  base: z.ZodOptional<z.ZodObject<{
8431
8430
  model: z.ZodOptional<z.ZodString>;
@@ -8449,6 +8448,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
8449
8448
  }, {
8450
8449
  stepCountIs?: number | undefined;
8451
8450
  }>>>>;
8451
+ prompt: z.ZodString;
8452
8452
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
8453
8453
  type: z.ZodLiteral<"internal">;
8454
8454
  canUse: z.ZodArray<z.ZodObject<{
@@ -8471,9 +8471,14 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
8471
8471
  }, z.core.$strip>]>>>;
8472
8472
  }, z.core.$strip>>;
8473
8473
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8474
- id: z.ZodString;
8475
8474
  name: z.ZodString;
8475
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8476
+ id: z.ZodString;
8477
+ createdAt: z.ZodOptional<z.ZodString>;
8478
+ updatedAt: z.ZodOptional<z.ZodString>;
8476
8479
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8480
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8481
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8477
8482
  config: z.ZodObject<{
8478
8483
  type: z.ZodLiteral<"mcp">;
8479
8484
  mcp: z.ZodObject<{
@@ -8493,21 +8498,16 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
8493
8498
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8494
8499
  }, z.core.$strip>;
8495
8500
  }, z.core.$strip>;
8496
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8497
- createdAt: z.ZodOptional<z.ZodString>;
8498
- updatedAt: z.ZodOptional<z.ZodString>;
8499
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8500
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8501
8501
  imageUrl: z.ZodOptional<z.ZodString>;
8502
8502
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8503
8503
  }, z.core.$strip>>>;
8504
8504
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8505
- id: z.ZodString;
8506
8505
  name: z.ZodString;
8507
- description: z.ZodString;
8508
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8506
+ id: z.ZodString;
8509
8507
  createdAt: z.ZodOptional<z.ZodString>;
8510
8508
  updatedAt: z.ZodOptional<z.ZodString>;
8509
+ description: z.ZodString;
8510
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8511
8511
  baseUrl: z.ZodString;
8512
8512
  }, z.core.$strip>>>;
8513
8513
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8516,11 +8516,11 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
8516
8516
  description: z.ZodString;
8517
8517
  }, z.core.$strip>>>;
8518
8518
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8519
- id: z.ZodString;
8520
8519
  name: z.ZodString;
8521
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8520
+ id: z.ZodString;
8522
8521
  createdAt: z.ZodOptional<z.ZodString>;
8523
8522
  updatedAt: z.ZodOptional<z.ZodString>;
8523
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8524
8524
  functionId: z.ZodString;
8525
8525
  }, z.core.$strip>>>;
8526
8526
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8787,9 +8787,9 @@ declare const ProjectSelectSchema: drizzle_zod.BuildSchema<"select", {
8787
8787
  }>;
8788
8788
  }, undefined, undefined>;
8789
8789
  declare const ProjectInsertSchema: z.ZodObject<{
8790
- tenantId: z.ZodString;
8791
- id: z.ZodString;
8792
8790
  name: z.ZodString;
8791
+ id: z.ZodString;
8792
+ tenantId: z.ZodString;
8793
8793
  description: z.ZodString;
8794
8794
  models: z.ZodObject<{
8795
8795
  base: z.ZodObject<{
@@ -8814,9 +8814,9 @@ declare const ProjectInsertSchema: z.ZodObject<{
8814
8814
  in: {};
8815
8815
  }>;
8816
8816
  declare const ProjectUpdateSchema: z.ZodObject<{
8817
- tenantId: z.ZodOptional<z.ZodString>;
8818
- id: z.ZodOptional<z.ZodString>;
8819
8817
  name: z.ZodOptional<z.ZodString>;
8818
+ id: z.ZodOptional<z.ZodString>;
8819
+ tenantId: z.ZodOptional<z.ZodString>;
8820
8820
  description: z.ZodOptional<z.ZodString>;
8821
8821
  models: z.ZodOptional<z.ZodObject<{
8822
8822
  base: z.ZodObject<{
@@ -8841,11 +8841,11 @@ declare const ProjectUpdateSchema: z.ZodObject<{
8841
8841
  in: {};
8842
8842
  }>;
8843
8843
  declare const ProjectApiSelectSchema: z.ZodObject<{
8844
- id: z.ZodString;
8845
8844
  name: z.ZodString;
8846
- description: z.ZodString;
8845
+ id: z.ZodString;
8847
8846
  createdAt: z.ZodString;
8848
8847
  updatedAt: z.ZodString;
8848
+ description: z.ZodString;
8849
8849
  models: z.ZodNullable<z.ZodType<{
8850
8850
  base: {
8851
8851
  model?: string | undefined;
@@ -8917,8 +8917,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
8917
8917
  in: {};
8918
8918
  }>;
8919
8919
  declare const ProjectApiInsertSchema: z.ZodObject<{
8920
- id: z.ZodString;
8921
8920
  name: z.ZodString;
8921
+ id: z.ZodString;
8922
8922
  description: z.ZodString;
8923
8923
  models: z.ZodObject<{
8924
8924
  base: z.ZodObject<{
@@ -8943,8 +8943,8 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
8943
8943
  in: {};
8944
8944
  }>;
8945
8945
  declare const ProjectApiUpdateSchema: z.ZodObject<{
8946
- id: z.ZodOptional<z.ZodString>;
8947
8946
  name: z.ZodOptional<z.ZodString>;
8947
+ id: z.ZodOptional<z.ZodString>;
8948
8948
  description: z.ZodOptional<z.ZodString>;
8949
8949
  models: z.ZodOptional<z.ZodObject<{
8950
8950
  base: z.ZodObject<{
@@ -8969,8 +8969,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
8969
8969
  in: {};
8970
8970
  }>;
8971
8971
  declare const FullProjectDefinitionSchema: z.ZodObject<{
8972
- id: z.ZodString;
8973
8972
  name: z.ZodString;
8973
+ id: z.ZodString;
8974
8974
  description: z.ZodString;
8975
8975
  models: z.ZodObject<{
8976
8976
  base: z.ZodObject<{
@@ -8992,19 +8992,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8992
8992
  }, z.core.$strip>>;
8993
8993
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
8994
8994
  name: z.ZodString;
8995
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8996
8995
  createdAt: z.ZodOptional<z.ZodString>;
8997
8996
  updatedAt: z.ZodOptional<z.ZodString>;
8997
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8998
8998
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8999
8999
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9000
9000
  id: z.ZodString;
9001
9001
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
9002
- id: z.ZodString;
9003
9002
  name: z.ZodString;
9004
- description: z.ZodString;
9005
- prompt: z.ZodString;
9003
+ id: z.ZodString;
9006
9004
  createdAt: z.ZodOptional<z.ZodString>;
9007
9005
  updatedAt: z.ZodOptional<z.ZodString>;
9006
+ description: z.ZodString;
9008
9007
  models: z.ZodOptional<z.ZodObject<{
9009
9008
  base: z.ZodOptional<z.ZodObject<{
9010
9009
  model: z.ZodOptional<z.ZodString>;
@@ -9028,6 +9027,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9028
9027
  }, {
9029
9028
  stepCountIs?: number | undefined;
9030
9029
  }>>>>;
9030
+ prompt: z.ZodString;
9031
9031
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
9032
9032
  type: z.ZodLiteral<"internal">;
9033
9033
  canUse: z.ZodArray<z.ZodObject<{
@@ -9050,9 +9050,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9050
9050
  }, z.core.$strip>]>>>;
9051
9051
  }, z.core.$strip>>;
9052
9052
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9053
- id: z.ZodString;
9054
9053
  name: z.ZodString;
9054
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9055
+ id: z.ZodString;
9056
+ createdAt: z.ZodOptional<z.ZodString>;
9057
+ updatedAt: z.ZodOptional<z.ZodString>;
9055
9058
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9059
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9060
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
9056
9061
  config: z.ZodObject<{
9057
9062
  type: z.ZodLiteral<"mcp">;
9058
9063
  mcp: z.ZodObject<{
@@ -9072,21 +9077,16 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9072
9077
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
9073
9078
  }, z.core.$strip>;
9074
9079
  }, z.core.$strip>;
9075
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9076
- createdAt: z.ZodOptional<z.ZodString>;
9077
- updatedAt: z.ZodOptional<z.ZodString>;
9078
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9079
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
9080
9080
  imageUrl: z.ZodOptional<z.ZodString>;
9081
9081
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9082
9082
  }, z.core.$strip>>>;
9083
9083
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9084
- id: z.ZodString;
9085
9084
  name: z.ZodString;
9086
- description: z.ZodString;
9087
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9085
+ id: z.ZodString;
9088
9086
  createdAt: z.ZodOptional<z.ZodString>;
9089
9087
  updatedAt: z.ZodOptional<z.ZodString>;
9088
+ description: z.ZodString;
9089
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9090
9090
  baseUrl: z.ZodString;
9091
9091
  }, z.core.$strip>>>;
9092
9092
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -9095,11 +9095,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9095
9095
  description: z.ZodString;
9096
9096
  }, z.core.$strip>>>;
9097
9097
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9098
- id: z.ZodString;
9099
9098
  name: z.ZodString;
9100
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9099
+ id: z.ZodString;
9101
9100
  createdAt: z.ZodOptional<z.ZodString>;
9102
9101
  updatedAt: z.ZodOptional<z.ZodString>;
9102
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9103
9103
  functionId: z.ZodString;
9104
9104
  }, z.core.$strip>>>;
9105
9105
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -9150,9 +9150,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9150
9150
  prompt: z.ZodOptional<z.ZodString>;
9151
9151
  }, z.core.$strip>>;
9152
9152
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
9153
- id: z.ZodString;
9154
9153
  name: z.ZodString;
9154
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9155
+ id: z.ZodString;
9156
+ createdAt: z.ZodOptional<z.ZodString>;
9157
+ updatedAt: z.ZodOptional<z.ZodString>;
9155
9158
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9159
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9160
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
9156
9161
  config: z.ZodObject<{
9157
9162
  type: z.ZodLiteral<"mcp">;
9158
9163
  mcp: z.ZodObject<{
@@ -9172,20 +9177,15 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9172
9177
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
9173
9178
  }, z.core.$strip>;
9174
9179
  }, z.core.$strip>;
9175
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9176
- createdAt: z.ZodOptional<z.ZodString>;
9177
- updatedAt: z.ZodOptional<z.ZodString>;
9178
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9179
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
9180
9180
  imageUrl: z.ZodOptional<z.ZodString>;
9181
9181
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9182
9182
  }, z.core.$strip>>;
9183
9183
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9184
- id: z.ZodString;
9185
9184
  name: z.ZodString;
9186
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9185
+ id: z.ZodString;
9187
9186
  createdAt: z.ZodOptional<z.ZodString>;
9188
9187
  updatedAt: z.ZodOptional<z.ZodString>;
9188
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9189
9189
  functionId: z.ZodString;
9190
9190
  }, z.core.$strip>>>;
9191
9191
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -9197,11 +9197,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9197
9197
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9198
9198
  }, z.core.$strip>>>;
9199
9199
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9200
- id: z.ZodString;
9201
9200
  name: z.ZodString;
9202
- description: z.ZodString;
9201
+ id: z.ZodString;
9203
9202
  createdAt: z.ZodOptional<z.ZodString>;
9204
9203
  updatedAt: z.ZodOptional<z.ZodString>;
9204
+ description: z.ZodString;
9205
9205
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
9206
9206
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
9207
9207
  component: string;
@@ -9218,8 +9218,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9218
9218
  }>>>>;
9219
9219
  }, z.core.$strip>>>;
9220
9220
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9221
- id: z.ZodString;
9222
9221
  name: z.ZodString;
9222
+ id: z.ZodString;
9223
9223
  description: z.ZodString;
9224
9224
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
9225
9225
  }, {
@@ -9227,12 +9227,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9227
9227
  in: {};
9228
9228
  }>>>;
9229
9229
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9230
- id: z.ZodString;
9231
9230
  name: z.ZodString;
9232
- description: z.ZodString;
9233
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9231
+ id: z.ZodString;
9234
9232
  createdAt: z.ZodOptional<z.ZodString>;
9235
9233
  updatedAt: z.ZodOptional<z.ZodString>;
9234
+ description: z.ZodString;
9235
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9236
9236
  baseUrl: z.ZodString;
9237
9237
  }, z.core.$strip>>>;
9238
9238
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -9251,12 +9251,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9251
9251
  }, z.core.$strip>>>;
9252
9252
  }, z.core.$strip>>;
9253
9253
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9254
- id: z.ZodString;
9255
9254
  name: z.ZodString;
9256
- createdAt: z.ZodOptional<z.ZodString>;
9257
- updatedAt: z.ZodOptional<z.ZodString>;
9255
+ id: z.ZodString;
9258
9256
  credentialStoreId: z.ZodString;
9259
9257
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9258
+ createdAt: z.ZodOptional<z.ZodString>;
9259
+ updatedAt: z.ZodOptional<z.ZodString>;
9260
9260
  type: z.ZodEnum<{
9261
9261
  readonly memory: "memory";
9262
9262
  readonly keychain: "keychain";
@@ -9271,11 +9271,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9271
9271
  }>;
9272
9272
  declare const ProjectResponse: z.ZodObject<{
9273
9273
  data: z.ZodObject<{
9274
- id: z.ZodString;
9275
9274
  name: z.ZodString;
9276
- description: z.ZodString;
9275
+ id: z.ZodString;
9277
9276
  createdAt: z.ZodString;
9278
9277
  updatedAt: z.ZodString;
9278
+ description: z.ZodString;
9279
9279
  models: z.ZodNullable<z.ZodType<{
9280
9280
  base: {
9281
9281
  model?: string | undefined;
@@ -9349,12 +9349,11 @@ declare const ProjectResponse: z.ZodObject<{
9349
9349
  }, z.core.$strip>;
9350
9350
  declare const SubAgentResponse: z.ZodObject<{
9351
9351
  data: z.ZodObject<{
9352
- id: z.ZodString;
9353
9352
  name: z.ZodString;
9354
- description: z.ZodString;
9355
- prompt: z.ZodString;
9353
+ id: z.ZodString;
9356
9354
  createdAt: z.ZodString;
9357
9355
  updatedAt: z.ZodString;
9356
+ description: z.ZodString;
9358
9357
  models: z.ZodNullable<z.ZodType<{
9359
9358
  base?: {
9360
9359
  model?: string | undefined;
@@ -9417,17 +9416,17 @@ declare const SubAgentResponse: z.ZodObject<{
9417
9416
  }, {
9418
9417
  stepCountIs?: number | undefined;
9419
9418
  }>>>;
9419
+ prompt: z.ZodString;
9420
9420
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
9421
9421
  }, z.core.$strip>;
9422
9422
  }, z.core.$strip>;
9423
9423
  declare const AgentResponse: z.ZodObject<{
9424
9424
  data: z.ZodObject<{
9425
- id: z.ZodString;
9426
9425
  name: z.ZodString;
9427
- description: z.ZodNullable<z.ZodString>;
9428
- prompt: z.ZodNullable<z.ZodString>;
9426
+ id: z.ZodString;
9429
9427
  createdAt: z.ZodString;
9430
9428
  updatedAt: z.ZodString;
9429
+ description: z.ZodNullable<z.ZodString>;
9431
9430
  models: z.ZodNullable<z.ZodType<{
9432
9431
  base?: {
9433
9432
  model?: string | undefined;
@@ -9492,6 +9491,7 @@ declare const AgentResponse: z.ZodObject<{
9492
9491
  }>>>;
9493
9492
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
9494
9493
  contextConfigId: z.ZodNullable<z.ZodString>;
9494
+ prompt: z.ZodNullable<z.ZodString>;
9495
9495
  statusUpdates: z.ZodNullable<z.ZodType<{
9496
9496
  enabled?: boolean | undefined;
9497
9497
  numEvents?: number | undefined;
@@ -9553,9 +9553,14 @@ declare const AgentResponse: z.ZodObject<{
9553
9553
  }, z.core.$strip>;
9554
9554
  declare const ToolResponse: z.ZodObject<{
9555
9555
  data: z.ZodObject<{
9556
- id: z.ZodString;
9557
9556
  name: z.ZodString;
9557
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9558
+ id: z.ZodString;
9559
+ createdAt: z.ZodString;
9560
+ updatedAt: z.ZodString;
9558
9561
  description: z.ZodNullable<z.ZodString>;
9562
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
9563
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9559
9564
  config: z.ZodType<{
9560
9565
  type: "mcp";
9561
9566
  mcp: ToolMcpConfig;
@@ -9569,23 +9574,18 @@ declare const ToolResponse: z.ZodObject<{
9569
9574
  type: "mcp";
9570
9575
  mcp: ToolMcpConfig;
9571
9576
  }>>;
9572
- credentialReferenceId: z.ZodNullable<z.ZodString>;
9573
- createdAt: z.ZodString;
9574
- updatedAt: z.ZodString;
9575
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9576
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9577
9577
  imageUrl: z.ZodNullable<z.ZodString>;
9578
9578
  lastError: z.ZodNullable<z.ZodString>;
9579
9579
  }, z.core.$strip>;
9580
9580
  }, z.core.$strip>;
9581
9581
  declare const ExternalAgentResponse: z.ZodObject<{
9582
9582
  data: z.ZodObject<{
9583
- id: z.ZodString;
9584
9583
  name: z.ZodString;
9585
- description: z.ZodString;
9586
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9584
+ id: z.ZodString;
9587
9585
  createdAt: z.ZodString;
9588
9586
  updatedAt: z.ZodString;
9587
+ description: z.ZodString;
9588
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9589
9589
  baseUrl: z.ZodString;
9590
9590
  }, z.core.$strip>;
9591
9591
  }, z.core.$strip>;
@@ -9600,15 +9600,15 @@ declare const ContextConfigResponse: z.ZodObject<{
9600
9600
  }, z.core.$strip>;
9601
9601
  declare const ApiKeyResponse: z.ZodObject<{
9602
9602
  data: z.ZodObject<{
9603
- id: z.ZodString;
9604
9603
  name: z.ZodNullable<z.ZodString>;
9604
+ id: z.ZodString;
9605
+ createdAt: z.ZodString;
9606
+ updatedAt: z.ZodString;
9605
9607
  agentId: z.ZodString;
9608
+ expiresAt: z.ZodNullable<z.ZodString>;
9606
9609
  publicId: z.ZodString;
9607
9610
  keyPrefix: z.ZodString;
9608
9611
  lastUsedAt: z.ZodNullable<z.ZodString>;
9609
- expiresAt: z.ZodNullable<z.ZodString>;
9610
- createdAt: z.ZodString;
9611
- updatedAt: z.ZodString;
9612
9612
  }, {
9613
9613
  out: {};
9614
9614
  in: {};
@@ -9616,12 +9616,12 @@ declare const ApiKeyResponse: z.ZodObject<{
9616
9616
  }, z.core.$strip>;
9617
9617
  declare const CredentialReferenceResponse: z.ZodObject<{
9618
9618
  data: z.ZodObject<{
9619
- id: z.ZodString;
9620
9619
  name: z.ZodString;
9621
- createdAt: z.ZodString;
9622
- updatedAt: z.ZodString;
9620
+ id: z.ZodString;
9623
9621
  credentialStoreId: z.ZodString;
9624
9622
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9623
+ createdAt: z.ZodString;
9624
+ updatedAt: z.ZodString;
9625
9625
  type: z.ZodEnum<{
9626
9626
  readonly memory: "memory";
9627
9627
  readonly keychain: "keychain";
@@ -9910,22 +9910,22 @@ declare const FunctionResponse: z.ZodObject<{
9910
9910
  }, z.core.$strip>;
9911
9911
  declare const FunctionToolResponse: z.ZodObject<{
9912
9912
  data: z.ZodObject<{
9913
- id: z.ZodString;
9914
9913
  name: z.ZodString;
9915
- description: z.ZodNullable<z.ZodString>;
9916
- agentId: z.ZodString;
9914
+ id: z.ZodString;
9917
9915
  createdAt: z.ZodString;
9918
9916
  updatedAt: z.ZodString;
9917
+ description: z.ZodNullable<z.ZodString>;
9918
+ agentId: z.ZodString;
9919
9919
  functionId: z.ZodString;
9920
9920
  }, z.core.$strip>;
9921
9921
  }, z.core.$strip>;
9922
9922
  declare const DataComponentResponse: z.ZodObject<{
9923
9923
  data: z.ZodObject<{
9924
- id: z.ZodString;
9925
9924
  name: z.ZodString;
9926
- description: z.ZodString;
9925
+ id: z.ZodString;
9927
9926
  createdAt: z.ZodString;
9928
9927
  updatedAt: z.ZodString;
9928
+ description: z.ZodString;
9929
9929
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9930
9930
  render: z.ZodNullable<z.ZodType<{
9931
9931
  component: string;
@@ -9944,11 +9944,11 @@ declare const DataComponentResponse: z.ZodObject<{
9944
9944
  }, z.core.$strip>;
9945
9945
  declare const ArtifactComponentResponse: z.ZodObject<{
9946
9946
  data: z.ZodObject<{
9947
- id: z.ZodString;
9948
9947
  name: z.ZodString;
9949
- description: z.ZodString;
9948
+ id: z.ZodString;
9950
9949
  createdAt: z.ZodString;
9951
9950
  updatedAt: z.ZodString;
9951
+ description: z.ZodString;
9952
9952
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9953
9953
  }, z.core.$strip>;
9954
9954
  }, z.core.$strip>;
@@ -9964,21 +9964,21 @@ declare const SubAgentRelationResponse: z.ZodObject<{
9964
9964
  }, z.core.$strip>;
9965
9965
  declare const SubAgentToolRelationResponse: z.ZodObject<{
9966
9966
  data: z.ZodObject<{
9967
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9967
9968
  id: z.ZodString;
9968
9969
  createdAt: z.ZodString;
9969
9970
  updatedAt: z.ZodString;
9970
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9971
- toolId: z.ZodString;
9972
9971
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9973
9972
  subAgentId: z.ZodString;
9973
+ toolId: z.ZodString;
9974
9974
  }, z.core.$strip>;
9975
9975
  }, z.core.$strip>;
9976
9976
  declare const ConversationResponse: z.ZodObject<{
9977
9977
  data: z.ZodObject<{
9978
9978
  id: z.ZodString;
9979
- title: z.ZodNullable<z.ZodString>;
9980
9979
  createdAt: z.ZodString;
9981
9980
  updatedAt: z.ZodString;
9981
+ title: z.ZodNullable<z.ZodString>;
9982
9982
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
9983
9983
  userId: z.ZodNullable<z.ZodString>;
9984
9984
  activeSubAgentId: z.ZodString;
@@ -10010,11 +10010,11 @@ declare const MessageResponse: z.ZodObject<{
10010
10010
  }, z.core.$strip>;
10011
10011
  declare const ProjectListResponse: z.ZodObject<{
10012
10012
  data: z.ZodArray<z.ZodObject<{
10013
- id: z.ZodString;
10014
10013
  name: z.ZodString;
10015
- description: z.ZodString;
10014
+ id: z.ZodString;
10016
10015
  createdAt: z.ZodString;
10017
10016
  updatedAt: z.ZodString;
10017
+ description: z.ZodString;
10018
10018
  models: z.ZodNullable<z.ZodType<{
10019
10019
  base: {
10020
10020
  model?: string | undefined;
@@ -10094,12 +10094,11 @@ declare const ProjectListResponse: z.ZodObject<{
10094
10094
  }, z.core.$strip>;
10095
10095
  declare const SubAgentListResponse: z.ZodObject<{
10096
10096
  data: z.ZodArray<z.ZodObject<{
10097
- id: z.ZodString;
10098
10097
  name: z.ZodString;
10099
- description: z.ZodString;
10100
- prompt: z.ZodString;
10098
+ id: z.ZodString;
10101
10099
  createdAt: z.ZodString;
10102
10100
  updatedAt: z.ZodString;
10101
+ description: z.ZodString;
10103
10102
  models: z.ZodNullable<z.ZodType<{
10104
10103
  base?: {
10105
10104
  model?: string | undefined;
@@ -10162,6 +10161,7 @@ declare const SubAgentListResponse: z.ZodObject<{
10162
10161
  }, {
10163
10162
  stepCountIs?: number | undefined;
10164
10163
  }>>>;
10164
+ prompt: z.ZodString;
10165
10165
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
10166
10166
  }, z.core.$strip>>;
10167
10167
  pagination: z.ZodObject<{
@@ -10173,12 +10173,11 @@ declare const SubAgentListResponse: z.ZodObject<{
10173
10173
  }, z.core.$strip>;
10174
10174
  declare const AgentListResponse: z.ZodObject<{
10175
10175
  data: z.ZodArray<z.ZodObject<{
10176
- id: z.ZodString;
10177
10176
  name: z.ZodString;
10178
- description: z.ZodNullable<z.ZodString>;
10179
- prompt: z.ZodNullable<z.ZodString>;
10177
+ id: z.ZodString;
10180
10178
  createdAt: z.ZodString;
10181
10179
  updatedAt: z.ZodString;
10180
+ description: z.ZodNullable<z.ZodString>;
10182
10181
  models: z.ZodNullable<z.ZodType<{
10183
10182
  base?: {
10184
10183
  model?: string | undefined;
@@ -10243,6 +10242,7 @@ declare const AgentListResponse: z.ZodObject<{
10243
10242
  }>>>;
10244
10243
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
10245
10244
  contextConfigId: z.ZodNullable<z.ZodString>;
10245
+ prompt: z.ZodNullable<z.ZodString>;
10246
10246
  statusUpdates: z.ZodNullable<z.ZodType<{
10247
10247
  enabled?: boolean | undefined;
10248
10248
  numEvents?: number | undefined;
@@ -10310,9 +10310,14 @@ declare const AgentListResponse: z.ZodObject<{
10310
10310
  }, z.core.$strip>;
10311
10311
  declare const ToolListResponse: z.ZodObject<{
10312
10312
  data: z.ZodArray<z.ZodObject<{
10313
- id: z.ZodString;
10314
10313
  name: z.ZodString;
10314
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
10315
+ id: z.ZodString;
10316
+ createdAt: z.ZodString;
10317
+ updatedAt: z.ZodString;
10315
10318
  description: z.ZodNullable<z.ZodString>;
10319
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
10320
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
10316
10321
  config: z.ZodType<{
10317
10322
  type: "mcp";
10318
10323
  mcp: ToolMcpConfig;
@@ -10326,11 +10331,6 @@ declare const ToolListResponse: z.ZodObject<{
10326
10331
  type: "mcp";
10327
10332
  mcp: ToolMcpConfig;
10328
10333
  }>>;
10329
- credentialReferenceId: z.ZodNullable<z.ZodString>;
10330
- createdAt: z.ZodString;
10331
- updatedAt: z.ZodString;
10332
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
10333
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
10334
10334
  imageUrl: z.ZodNullable<z.ZodString>;
10335
10335
  lastError: z.ZodNullable<z.ZodString>;
10336
10336
  }, z.core.$strip>>;
@@ -10343,12 +10343,12 @@ declare const ToolListResponse: z.ZodObject<{
10343
10343
  }, z.core.$strip>;
10344
10344
  declare const ExternalAgentListResponse: z.ZodObject<{
10345
10345
  data: z.ZodArray<z.ZodObject<{
10346
- id: z.ZodString;
10347
10346
  name: z.ZodString;
10348
- description: z.ZodString;
10349
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10347
+ id: z.ZodString;
10350
10348
  createdAt: z.ZodString;
10351
10349
  updatedAt: z.ZodString;
10350
+ description: z.ZodString;
10351
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10352
10352
  baseUrl: z.ZodString;
10353
10353
  }, z.core.$strip>>;
10354
10354
  pagination: z.ZodObject<{
@@ -10375,15 +10375,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
10375
10375
  }, z.core.$strip>;
10376
10376
  declare const ApiKeyListResponse: z.ZodObject<{
10377
10377
  data: z.ZodArray<z.ZodObject<{
10378
- id: z.ZodString;
10379
10378
  name: z.ZodNullable<z.ZodString>;
10379
+ id: z.ZodString;
10380
+ createdAt: z.ZodString;
10381
+ updatedAt: z.ZodString;
10380
10382
  agentId: z.ZodString;
10383
+ expiresAt: z.ZodNullable<z.ZodString>;
10381
10384
  publicId: z.ZodString;
10382
10385
  keyPrefix: z.ZodString;
10383
10386
  lastUsedAt: z.ZodNullable<z.ZodString>;
10384
- expiresAt: z.ZodNullable<z.ZodString>;
10385
- createdAt: z.ZodString;
10386
- updatedAt: z.ZodString;
10387
10387
  }, {
10388
10388
  out: {};
10389
10389
  in: {};
@@ -10397,12 +10397,12 @@ declare const ApiKeyListResponse: z.ZodObject<{
10397
10397
  }, z.core.$strip>;
10398
10398
  declare const CredentialReferenceListResponse: z.ZodObject<{
10399
10399
  data: z.ZodArray<z.ZodObject<{
10400
- id: z.ZodString;
10401
10400
  name: z.ZodString;
10402
- createdAt: z.ZodString;
10403
- updatedAt: z.ZodString;
10401
+ id: z.ZodString;
10404
10402
  credentialStoreId: z.ZodString;
10405
10403
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10404
+ createdAt: z.ZodString;
10405
+ updatedAt: z.ZodString;
10406
10406
  type: z.ZodEnum<{
10407
10407
  readonly memory: "memory";
10408
10408
  readonly keychain: "keychain";
@@ -10703,12 +10703,12 @@ declare const FunctionListResponse: z.ZodObject<{
10703
10703
  }, z.core.$strip>;
10704
10704
  declare const FunctionToolListResponse: z.ZodObject<{
10705
10705
  data: z.ZodArray<z.ZodObject<{
10706
- id: z.ZodString;
10707
10706
  name: z.ZodString;
10708
- description: z.ZodNullable<z.ZodString>;
10709
- agentId: z.ZodString;
10707
+ id: z.ZodString;
10710
10708
  createdAt: z.ZodString;
10711
10709
  updatedAt: z.ZodString;
10710
+ description: z.ZodNullable<z.ZodString>;
10711
+ agentId: z.ZodString;
10712
10712
  functionId: z.ZodString;
10713
10713
  }, z.core.$strip>>;
10714
10714
  pagination: z.ZodObject<{
@@ -10720,11 +10720,11 @@ declare const FunctionToolListResponse: z.ZodObject<{
10720
10720
  }, z.core.$strip>;
10721
10721
  declare const DataComponentListResponse: z.ZodObject<{
10722
10722
  data: z.ZodArray<z.ZodObject<{
10723
- id: z.ZodString;
10724
10723
  name: z.ZodString;
10725
- description: z.ZodString;
10724
+ id: z.ZodString;
10726
10725
  createdAt: z.ZodString;
10727
10726
  updatedAt: z.ZodString;
10727
+ description: z.ZodString;
10728
10728
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10729
10729
  render: z.ZodNullable<z.ZodType<{
10730
10730
  component: string;
@@ -10749,11 +10749,11 @@ declare const DataComponentListResponse: z.ZodObject<{
10749
10749
  }, z.core.$strip>;
10750
10750
  declare const ArtifactComponentListResponse: z.ZodObject<{
10751
10751
  data: z.ZodArray<z.ZodObject<{
10752
- id: z.ZodString;
10753
10752
  name: z.ZodString;
10754
- description: z.ZodString;
10753
+ id: z.ZodString;
10755
10754
  createdAt: z.ZodString;
10756
10755
  updatedAt: z.ZodString;
10756
+ description: z.ZodString;
10757
10757
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10758
10758
  }, z.core.$strip>>;
10759
10759
  pagination: z.ZodObject<{
@@ -10781,13 +10781,13 @@ declare const SubAgentRelationListResponse: z.ZodObject<{
10781
10781
  }, z.core.$strip>;
10782
10782
  declare const SubAgentToolRelationListResponse: z.ZodObject<{
10783
10783
  data: z.ZodArray<z.ZodObject<{
10784
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10784
10785
  id: z.ZodString;
10785
10786
  createdAt: z.ZodString;
10786
10787
  updatedAt: z.ZodString;
10787
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10788
- toolId: z.ZodString;
10789
10788
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10790
10789
  subAgentId: z.ZodString;
10790
+ toolId: z.ZodString;
10791
10791
  }, z.core.$strip>>;
10792
10792
  pagination: z.ZodObject<{
10793
10793
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -10799,9 +10799,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
10799
10799
  declare const ConversationListResponse: z.ZodObject<{
10800
10800
  data: z.ZodArray<z.ZodObject<{
10801
10801
  id: z.ZodString;
10802
- title: z.ZodNullable<z.ZodString>;
10803
10802
  createdAt: z.ZodString;
10804
10803
  updatedAt: z.ZodString;
10804
+ title: z.ZodNullable<z.ZodString>;
10805
10805
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
10806
10806
  userId: z.ZodNullable<z.ZodString>;
10807
10807
  activeSubAgentId: z.ZodString;