@inkeep/agents-core 0.31.3 → 0.31.5

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,20 +9123,15 @@ 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>>;
9129
9129
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9130
- id: z.ZodString;
9131
9130
  name: z.ZodString;
9132
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9131
+ id: z.ZodString;
9133
9132
  createdAt: z.ZodOptional<z.ZodString>;
9134
9133
  updatedAt: z.ZodOptional<z.ZodString>;
9134
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9135
9135
  functionId: z.ZodString;
9136
9136
  }, z.core.$strip>>>;
9137
9137
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -9143,11 +9143,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9143
9143
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9144
9144
  }, z.core.$strip>>>;
9145
9145
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9146
- id: z.ZodString;
9147
9146
  name: z.ZodString;
9148
- description: z.ZodString;
9147
+ id: z.ZodString;
9149
9148
  createdAt: z.ZodOptional<z.ZodString>;
9150
9149
  updatedAt: z.ZodOptional<z.ZodString>;
9150
+ description: z.ZodString;
9151
9151
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
9152
9152
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
9153
9153
  component: string;
@@ -9164,8 +9164,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9164
9164
  }>>>>;
9165
9165
  }, z.core.$strip>>>;
9166
9166
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9167
- id: z.ZodString;
9168
9167
  name: z.ZodString;
9168
+ id: z.ZodString;
9169
9169
  description: z.ZodString;
9170
9170
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
9171
9171
  }, {
@@ -9173,12 +9173,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9173
9173
  in: {};
9174
9174
  }>>>;
9175
9175
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9176
- id: z.ZodString;
9177
9176
  name: z.ZodString;
9178
- description: z.ZodString;
9179
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9177
+ id: z.ZodString;
9180
9178
  createdAt: z.ZodOptional<z.ZodString>;
9181
9179
  updatedAt: z.ZodOptional<z.ZodString>;
9180
+ description: z.ZodString;
9181
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9182
9182
  baseUrl: z.ZodString;
9183
9183
  }, z.core.$strip>>>;
9184
9184
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -9197,12 +9197,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9197
9197
  }, z.core.$strip>>>;
9198
9198
  }, z.core.$strip>>;
9199
9199
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9200
- id: z.ZodString;
9201
9200
  name: z.ZodString;
9202
- createdAt: z.ZodOptional<z.ZodString>;
9203
- updatedAt: z.ZodOptional<z.ZodString>;
9201
+ id: z.ZodString;
9204
9202
  credentialStoreId: z.ZodString;
9205
9203
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9204
+ createdAt: z.ZodOptional<z.ZodString>;
9205
+ updatedAt: z.ZodOptional<z.ZodString>;
9206
9206
  type: z.ZodEnum<{
9207
9207
  readonly memory: "memory";
9208
9208
  readonly keychain: "keychain";
@@ -9217,11 +9217,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9217
9217
  }>;
9218
9218
  declare const ProjectResponse: z.ZodObject<{
9219
9219
  data: z.ZodObject<{
9220
- id: z.ZodString;
9221
9220
  name: z.ZodString;
9222
- description: z.ZodString;
9221
+ id: z.ZodString;
9223
9222
  createdAt: z.ZodString;
9224
9223
  updatedAt: z.ZodString;
9224
+ description: z.ZodString;
9225
9225
  models: z.ZodNullable<z.ZodType<{
9226
9226
  base: {
9227
9227
  model?: string | undefined;
@@ -9295,12 +9295,11 @@ declare const ProjectResponse: z.ZodObject<{
9295
9295
  }, z.core.$strip>;
9296
9296
  declare const SubAgentResponse: z.ZodObject<{
9297
9297
  data: z.ZodObject<{
9298
- id: z.ZodString;
9299
9298
  name: z.ZodString;
9300
- description: z.ZodString;
9301
- prompt: z.ZodString;
9299
+ id: z.ZodString;
9302
9300
  createdAt: z.ZodString;
9303
9301
  updatedAt: z.ZodString;
9302
+ description: z.ZodString;
9304
9303
  models: z.ZodNullable<z.ZodType<{
9305
9304
  base?: {
9306
9305
  model?: string | undefined;
@@ -9363,17 +9362,17 @@ declare const SubAgentResponse: z.ZodObject<{
9363
9362
  }, {
9364
9363
  stepCountIs?: number | undefined;
9365
9364
  }>>>;
9365
+ prompt: z.ZodString;
9366
9366
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
9367
9367
  }, z.core.$strip>;
9368
9368
  }, z.core.$strip>;
9369
9369
  declare const AgentResponse: z.ZodObject<{
9370
9370
  data: z.ZodObject<{
9371
- id: z.ZodString;
9372
9371
  name: z.ZodString;
9373
- description: z.ZodNullable<z.ZodString>;
9374
- prompt: z.ZodNullable<z.ZodString>;
9372
+ id: z.ZodString;
9375
9373
  createdAt: z.ZodString;
9376
9374
  updatedAt: z.ZodString;
9375
+ description: z.ZodNullable<z.ZodString>;
9377
9376
  models: z.ZodNullable<z.ZodType<{
9378
9377
  base?: {
9379
9378
  model?: string | undefined;
@@ -9438,6 +9437,7 @@ declare const AgentResponse: z.ZodObject<{
9438
9437
  }>>>;
9439
9438
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
9440
9439
  contextConfigId: z.ZodNullable<z.ZodString>;
9440
+ prompt: z.ZodNullable<z.ZodString>;
9441
9441
  statusUpdates: z.ZodNullable<z.ZodType<{
9442
9442
  enabled?: boolean | undefined;
9443
9443
  numEvents?: number | undefined;
@@ -9499,9 +9499,14 @@ declare const AgentResponse: z.ZodObject<{
9499
9499
  }, z.core.$strip>;
9500
9500
  declare const ToolResponse: z.ZodObject<{
9501
9501
  data: z.ZodObject<{
9502
- id: z.ZodString;
9503
9502
  name: z.ZodString;
9503
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9504
+ id: z.ZodString;
9505
+ createdAt: z.ZodString;
9506
+ updatedAt: z.ZodString;
9504
9507
  description: z.ZodNullable<z.ZodString>;
9508
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
9509
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9505
9510
  config: z.ZodType<{
9506
9511
  type: "mcp";
9507
9512
  mcp: ToolMcpConfig;
@@ -9515,23 +9520,18 @@ declare const ToolResponse: z.ZodObject<{
9515
9520
  type: "mcp";
9516
9521
  mcp: ToolMcpConfig;
9517
9522
  }>>;
9518
- credentialReferenceId: z.ZodNullable<z.ZodString>;
9519
- createdAt: z.ZodString;
9520
- updatedAt: z.ZodString;
9521
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9522
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9523
9523
  imageUrl: z.ZodNullable<z.ZodString>;
9524
9524
  lastError: z.ZodNullable<z.ZodString>;
9525
9525
  }, z.core.$strip>;
9526
9526
  }, z.core.$strip>;
9527
9527
  declare const ExternalAgentResponse: z.ZodObject<{
9528
9528
  data: z.ZodObject<{
9529
- id: z.ZodString;
9530
9529
  name: z.ZodString;
9531
- description: z.ZodString;
9532
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9530
+ id: z.ZodString;
9533
9531
  createdAt: z.ZodString;
9534
9532
  updatedAt: z.ZodString;
9533
+ description: z.ZodString;
9534
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9535
9535
  baseUrl: z.ZodString;
9536
9536
  }, z.core.$strip>;
9537
9537
  }, z.core.$strip>;
@@ -9546,15 +9546,15 @@ declare const ContextConfigResponse: z.ZodObject<{
9546
9546
  }, z.core.$strip>;
9547
9547
  declare const ApiKeyResponse: z.ZodObject<{
9548
9548
  data: z.ZodObject<{
9549
- id: z.ZodString;
9550
9549
  name: z.ZodNullable<z.ZodString>;
9550
+ id: z.ZodString;
9551
+ createdAt: z.ZodString;
9552
+ updatedAt: z.ZodString;
9551
9553
  agentId: z.ZodString;
9554
+ expiresAt: z.ZodNullable<z.ZodString>;
9552
9555
  publicId: z.ZodString;
9553
9556
  keyPrefix: z.ZodString;
9554
9557
  lastUsedAt: z.ZodNullable<z.ZodString>;
9555
- expiresAt: z.ZodNullable<z.ZodString>;
9556
- createdAt: z.ZodString;
9557
- updatedAt: z.ZodString;
9558
9558
  }, {
9559
9559
  out: {};
9560
9560
  in: {};
@@ -9562,12 +9562,12 @@ declare const ApiKeyResponse: z.ZodObject<{
9562
9562
  }, z.core.$strip>;
9563
9563
  declare const CredentialReferenceResponse: z.ZodObject<{
9564
9564
  data: z.ZodObject<{
9565
- id: z.ZodString;
9566
9565
  name: z.ZodString;
9567
- createdAt: z.ZodString;
9568
- updatedAt: z.ZodString;
9566
+ id: z.ZodString;
9569
9567
  credentialStoreId: z.ZodString;
9570
9568
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9569
+ createdAt: z.ZodString;
9570
+ updatedAt: z.ZodString;
9571
9571
  type: z.ZodEnum<{
9572
9572
  readonly memory: "memory";
9573
9573
  readonly keychain: "keychain";
@@ -9856,22 +9856,22 @@ declare const FunctionResponse: z.ZodObject<{
9856
9856
  }, z.core.$strip>;
9857
9857
  declare const FunctionToolResponse: z.ZodObject<{
9858
9858
  data: z.ZodObject<{
9859
- id: z.ZodString;
9860
9859
  name: z.ZodString;
9861
- description: z.ZodNullable<z.ZodString>;
9862
- agentId: z.ZodString;
9860
+ id: z.ZodString;
9863
9861
  createdAt: z.ZodString;
9864
9862
  updatedAt: z.ZodString;
9863
+ description: z.ZodNullable<z.ZodString>;
9864
+ agentId: z.ZodString;
9865
9865
  functionId: z.ZodString;
9866
9866
  }, z.core.$strip>;
9867
9867
  }, z.core.$strip>;
9868
9868
  declare const DataComponentResponse: z.ZodObject<{
9869
9869
  data: z.ZodObject<{
9870
- id: z.ZodString;
9871
9870
  name: z.ZodString;
9872
- description: z.ZodString;
9871
+ id: z.ZodString;
9873
9872
  createdAt: z.ZodString;
9874
9873
  updatedAt: z.ZodString;
9874
+ description: z.ZodString;
9875
9875
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9876
9876
  render: z.ZodNullable<z.ZodType<{
9877
9877
  component: string;
@@ -9890,11 +9890,11 @@ declare const DataComponentResponse: z.ZodObject<{
9890
9890
  }, z.core.$strip>;
9891
9891
  declare const ArtifactComponentResponse: z.ZodObject<{
9892
9892
  data: z.ZodObject<{
9893
- id: z.ZodString;
9894
9893
  name: z.ZodString;
9895
- description: z.ZodString;
9894
+ id: z.ZodString;
9896
9895
  createdAt: z.ZodString;
9897
9896
  updatedAt: z.ZodString;
9897
+ description: z.ZodString;
9898
9898
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9899
9899
  }, z.core.$strip>;
9900
9900
  }, z.core.$strip>;
@@ -9910,21 +9910,21 @@ declare const SubAgentRelationResponse: z.ZodObject<{
9910
9910
  }, z.core.$strip>;
9911
9911
  declare const SubAgentToolRelationResponse: z.ZodObject<{
9912
9912
  data: z.ZodObject<{
9913
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9913
9914
  id: z.ZodString;
9914
9915
  createdAt: z.ZodString;
9915
9916
  updatedAt: z.ZodString;
9916
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9917
- toolId: z.ZodString;
9918
9917
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9919
9918
  subAgentId: z.ZodString;
9919
+ toolId: z.ZodString;
9920
9920
  }, z.core.$strip>;
9921
9921
  }, z.core.$strip>;
9922
9922
  declare const ConversationResponse: z.ZodObject<{
9923
9923
  data: z.ZodObject<{
9924
9924
  id: z.ZodString;
9925
- title: z.ZodNullable<z.ZodString>;
9926
9925
  createdAt: z.ZodString;
9927
9926
  updatedAt: z.ZodString;
9927
+ title: z.ZodNullable<z.ZodString>;
9928
9928
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
9929
9929
  userId: z.ZodNullable<z.ZodString>;
9930
9930
  activeSubAgentId: z.ZodString;
@@ -9956,11 +9956,11 @@ declare const MessageResponse: z.ZodObject<{
9956
9956
  }, z.core.$strip>;
9957
9957
  declare const ProjectListResponse: z.ZodObject<{
9958
9958
  data: z.ZodArray<z.ZodObject<{
9959
- id: z.ZodString;
9960
9959
  name: z.ZodString;
9961
- description: z.ZodString;
9960
+ id: z.ZodString;
9962
9961
  createdAt: z.ZodString;
9963
9962
  updatedAt: z.ZodString;
9963
+ description: z.ZodString;
9964
9964
  models: z.ZodNullable<z.ZodType<{
9965
9965
  base: {
9966
9966
  model?: string | undefined;
@@ -10040,12 +10040,11 @@ declare const ProjectListResponse: z.ZodObject<{
10040
10040
  }, z.core.$strip>;
10041
10041
  declare const SubAgentListResponse: z.ZodObject<{
10042
10042
  data: z.ZodArray<z.ZodObject<{
10043
- id: z.ZodString;
10044
10043
  name: z.ZodString;
10045
- description: z.ZodString;
10046
- prompt: z.ZodString;
10044
+ id: z.ZodString;
10047
10045
  createdAt: z.ZodString;
10048
10046
  updatedAt: z.ZodString;
10047
+ description: z.ZodString;
10049
10048
  models: z.ZodNullable<z.ZodType<{
10050
10049
  base?: {
10051
10050
  model?: string | undefined;
@@ -10108,6 +10107,7 @@ declare const SubAgentListResponse: z.ZodObject<{
10108
10107
  }, {
10109
10108
  stepCountIs?: number | undefined;
10110
10109
  }>>>;
10110
+ prompt: z.ZodString;
10111
10111
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
10112
10112
  }, z.core.$strip>>;
10113
10113
  pagination: z.ZodObject<{
@@ -10119,12 +10119,11 @@ declare const SubAgentListResponse: z.ZodObject<{
10119
10119
  }, z.core.$strip>;
10120
10120
  declare const AgentListResponse: z.ZodObject<{
10121
10121
  data: z.ZodArray<z.ZodObject<{
10122
- id: z.ZodString;
10123
10122
  name: z.ZodString;
10124
- description: z.ZodNullable<z.ZodString>;
10125
- prompt: z.ZodNullable<z.ZodString>;
10123
+ id: z.ZodString;
10126
10124
  createdAt: z.ZodString;
10127
10125
  updatedAt: z.ZodString;
10126
+ description: z.ZodNullable<z.ZodString>;
10128
10127
  models: z.ZodNullable<z.ZodType<{
10129
10128
  base?: {
10130
10129
  model?: string | undefined;
@@ -10189,6 +10188,7 @@ declare const AgentListResponse: z.ZodObject<{
10189
10188
  }>>>;
10190
10189
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
10191
10190
  contextConfigId: z.ZodNullable<z.ZodString>;
10191
+ prompt: z.ZodNullable<z.ZodString>;
10192
10192
  statusUpdates: z.ZodNullable<z.ZodType<{
10193
10193
  enabled?: boolean | undefined;
10194
10194
  numEvents?: number | undefined;
@@ -10256,9 +10256,14 @@ declare const AgentListResponse: z.ZodObject<{
10256
10256
  }, z.core.$strip>;
10257
10257
  declare const ToolListResponse: z.ZodObject<{
10258
10258
  data: z.ZodArray<z.ZodObject<{
10259
- id: z.ZodString;
10260
10259
  name: z.ZodString;
10260
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
10261
+ id: z.ZodString;
10262
+ createdAt: z.ZodString;
10263
+ updatedAt: z.ZodString;
10261
10264
  description: z.ZodNullable<z.ZodString>;
10265
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
10266
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
10262
10267
  config: z.ZodType<{
10263
10268
  type: "mcp";
10264
10269
  mcp: ToolMcpConfig;
@@ -10272,11 +10277,6 @@ declare const ToolListResponse: z.ZodObject<{
10272
10277
  type: "mcp";
10273
10278
  mcp: ToolMcpConfig;
10274
10279
  }>>;
10275
- credentialReferenceId: z.ZodNullable<z.ZodString>;
10276
- createdAt: z.ZodString;
10277
- updatedAt: z.ZodString;
10278
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
10279
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
10280
10280
  imageUrl: z.ZodNullable<z.ZodString>;
10281
10281
  lastError: z.ZodNullable<z.ZodString>;
10282
10282
  }, z.core.$strip>>;
@@ -10289,12 +10289,12 @@ declare const ToolListResponse: z.ZodObject<{
10289
10289
  }, z.core.$strip>;
10290
10290
  declare const ExternalAgentListResponse: z.ZodObject<{
10291
10291
  data: z.ZodArray<z.ZodObject<{
10292
- id: z.ZodString;
10293
10292
  name: z.ZodString;
10294
- description: z.ZodString;
10295
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10293
+ id: z.ZodString;
10296
10294
  createdAt: z.ZodString;
10297
10295
  updatedAt: z.ZodString;
10296
+ description: z.ZodString;
10297
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10298
10298
  baseUrl: z.ZodString;
10299
10299
  }, z.core.$strip>>;
10300
10300
  pagination: z.ZodObject<{
@@ -10321,15 +10321,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
10321
10321
  }, z.core.$strip>;
10322
10322
  declare const ApiKeyListResponse: z.ZodObject<{
10323
10323
  data: z.ZodArray<z.ZodObject<{
10324
- id: z.ZodString;
10325
10324
  name: z.ZodNullable<z.ZodString>;
10325
+ id: z.ZodString;
10326
+ createdAt: z.ZodString;
10327
+ updatedAt: z.ZodString;
10326
10328
  agentId: z.ZodString;
10329
+ expiresAt: z.ZodNullable<z.ZodString>;
10327
10330
  publicId: z.ZodString;
10328
10331
  keyPrefix: z.ZodString;
10329
10332
  lastUsedAt: z.ZodNullable<z.ZodString>;
10330
- expiresAt: z.ZodNullable<z.ZodString>;
10331
- createdAt: z.ZodString;
10332
- updatedAt: z.ZodString;
10333
10333
  }, {
10334
10334
  out: {};
10335
10335
  in: {};
@@ -10343,12 +10343,12 @@ declare const ApiKeyListResponse: z.ZodObject<{
10343
10343
  }, z.core.$strip>;
10344
10344
  declare const CredentialReferenceListResponse: z.ZodObject<{
10345
10345
  data: z.ZodArray<z.ZodObject<{
10346
- id: z.ZodString;
10347
10346
  name: z.ZodString;
10348
- createdAt: z.ZodString;
10349
- updatedAt: z.ZodString;
10347
+ id: z.ZodString;
10350
10348
  credentialStoreId: z.ZodString;
10351
10349
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10350
+ createdAt: z.ZodString;
10351
+ updatedAt: z.ZodString;
10352
10352
  type: z.ZodEnum<{
10353
10353
  readonly memory: "memory";
10354
10354
  readonly keychain: "keychain";
@@ -10649,12 +10649,12 @@ declare const FunctionListResponse: z.ZodObject<{
10649
10649
  }, z.core.$strip>;
10650
10650
  declare const FunctionToolListResponse: z.ZodObject<{
10651
10651
  data: z.ZodArray<z.ZodObject<{
10652
- id: z.ZodString;
10653
10652
  name: z.ZodString;
10654
- description: z.ZodNullable<z.ZodString>;
10655
- agentId: z.ZodString;
10653
+ id: z.ZodString;
10656
10654
  createdAt: z.ZodString;
10657
10655
  updatedAt: z.ZodString;
10656
+ description: z.ZodNullable<z.ZodString>;
10657
+ agentId: z.ZodString;
10658
10658
  functionId: z.ZodString;
10659
10659
  }, z.core.$strip>>;
10660
10660
  pagination: z.ZodObject<{
@@ -10666,11 +10666,11 @@ declare const FunctionToolListResponse: z.ZodObject<{
10666
10666
  }, z.core.$strip>;
10667
10667
  declare const DataComponentListResponse: z.ZodObject<{
10668
10668
  data: z.ZodArray<z.ZodObject<{
10669
- id: z.ZodString;
10670
10669
  name: z.ZodString;
10671
- description: z.ZodString;
10670
+ id: z.ZodString;
10672
10671
  createdAt: z.ZodString;
10673
10672
  updatedAt: z.ZodString;
10673
+ description: z.ZodString;
10674
10674
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10675
10675
  render: z.ZodNullable<z.ZodType<{
10676
10676
  component: string;
@@ -10695,11 +10695,11 @@ declare const DataComponentListResponse: z.ZodObject<{
10695
10695
  }, z.core.$strip>;
10696
10696
  declare const ArtifactComponentListResponse: z.ZodObject<{
10697
10697
  data: z.ZodArray<z.ZodObject<{
10698
- id: z.ZodString;
10699
10698
  name: z.ZodString;
10700
- description: z.ZodString;
10699
+ id: z.ZodString;
10701
10700
  createdAt: z.ZodString;
10702
10701
  updatedAt: z.ZodString;
10702
+ description: z.ZodString;
10703
10703
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10704
10704
  }, z.core.$strip>>;
10705
10705
  pagination: z.ZodObject<{
@@ -10727,13 +10727,13 @@ declare const SubAgentRelationListResponse: z.ZodObject<{
10727
10727
  }, z.core.$strip>;
10728
10728
  declare const SubAgentToolRelationListResponse: z.ZodObject<{
10729
10729
  data: z.ZodArray<z.ZodObject<{
10730
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10730
10731
  id: z.ZodString;
10731
10732
  createdAt: z.ZodString;
10732
10733
  updatedAt: z.ZodString;
10733
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10734
- toolId: z.ZodString;
10735
10734
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10736
10735
  subAgentId: z.ZodString;
10736
+ toolId: z.ZodString;
10737
10737
  }, z.core.$strip>>;
10738
10738
  pagination: z.ZodObject<{
10739
10739
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -10745,9 +10745,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
10745
10745
  declare const ConversationListResponse: z.ZodObject<{
10746
10746
  data: z.ZodArray<z.ZodObject<{
10747
10747
  id: z.ZodString;
10748
- title: z.ZodNullable<z.ZodString>;
10749
10748
  createdAt: z.ZodString;
10750
10749
  updatedAt: z.ZodString;
10750
+ title: z.ZodNullable<z.ZodString>;
10751
10751
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
10752
10752
  userId: z.ZodNullable<z.ZodString>;
10753
10753
  activeSubAgentId: z.ZodString;