@inkeep/agents-core 0.28.0 → 0.29.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -774,12 +774,11 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
774
774
  in: {};
775
775
  }>;
776
776
  declare const SubAgentApiSelectSchema: z.ZodObject<{
777
- id: z.ZodString;
778
777
  name: z.ZodString;
779
- description: z.ZodString;
780
- prompt: z.ZodString;
778
+ id: z.ZodString;
781
779
  createdAt: z.ZodString;
782
780
  updatedAt: z.ZodString;
781
+ description: z.ZodString;
783
782
  models: z.ZodNullable<z.ZodType<{
784
783
  base?: {
785
784
  model?: string | undefined;
@@ -842,15 +841,15 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
842
841
  }, {
843
842
  stepCountIs?: number | undefined;
844
843
  }>>>;
844
+ prompt: z.ZodString;
845
845
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
846
846
  }, z.core.$strip>;
847
847
  declare const SubAgentApiInsertSchema: z.ZodObject<{
848
- id: z.ZodString;
849
848
  name: z.ZodString;
850
- description: z.ZodString;
851
- prompt: z.ZodString;
849
+ id: z.ZodString;
852
850
  createdAt: z.ZodOptional<z.ZodString>;
853
851
  updatedAt: z.ZodOptional<z.ZodString>;
852
+ description: z.ZodString;
854
853
  models: z.ZodOptional<z.ZodObject<{
855
854
  base: z.ZodOptional<z.ZodObject<{
856
855
  model: z.ZodOptional<z.ZodString>;
@@ -874,15 +873,15 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
874
873
  }, {
875
874
  stepCountIs?: number | undefined;
876
875
  }>>>>;
876
+ prompt: z.ZodString;
877
877
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
878
878
  }, z.core.$strip>;
879
879
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
880
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
881
880
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
882
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
883
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
881
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
884
882
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
885
883
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
884
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
886
885
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
887
886
  base: z.ZodOptional<z.ZodObject<{
888
887
  model: z.ZodOptional<z.ZodString>;
@@ -906,6 +905,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
906
905
  }, {
907
906
  stepCountIs?: number | undefined;
908
907
  }>>>>>>;
908
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
909
909
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
910
910
  }, z.core.$strip>;
911
911
  declare const SubAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -1170,9 +1170,9 @@ declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{
1170
1170
  }>;
1171
1171
  declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1172
1172
  id: z.ZodString;
1173
- agentId: z.ZodString;
1174
1173
  createdAt: z.ZodOptional<z.ZodString>;
1175
1174
  updatedAt: z.ZodOptional<z.ZodString>;
1175
+ agentId: z.ZodString;
1176
1176
  sourceSubAgentId: z.ZodString;
1177
1177
  targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1178
1178
  relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1754,12 +1754,11 @@ declare const AgentUpdateSchema: z.ZodObject<{
1754
1754
  in: {};
1755
1755
  }>;
1756
1756
  declare const AgentApiSelectSchema: z.ZodObject<{
1757
- id: z.ZodString;
1758
1757
  name: z.ZodString;
1759
- description: z.ZodNullable<z.ZodString>;
1760
- prompt: z.ZodNullable<z.ZodString>;
1758
+ id: z.ZodString;
1761
1759
  createdAt: z.ZodString;
1762
1760
  updatedAt: z.ZodString;
1761
+ description: z.ZodNullable<z.ZodString>;
1763
1762
  models: z.ZodNullable<z.ZodType<{
1764
1763
  base?: {
1765
1764
  model?: string | undefined;
@@ -1824,6 +1823,7 @@ declare const AgentApiSelectSchema: z.ZodObject<{
1824
1823
  }>>>;
1825
1824
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
1826
1825
  contextConfigId: z.ZodNullable<z.ZodString>;
1826
+ prompt: z.ZodNullable<z.ZodString>;
1827
1827
  statusUpdates: z.ZodNullable<z.ZodType<{
1828
1828
  enabled?: boolean | undefined;
1829
1829
  numEvents?: number | undefined;
@@ -1884,10 +1884,9 @@ declare const AgentApiSelectSchema: z.ZodObject<{
1884
1884
  }, z.core.$strip>;
1885
1885
  declare const AgentApiInsertSchema: z.ZodObject<{
1886
1886
  name: z.ZodString;
1887
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1888
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1889
1887
  createdAt: z.ZodOptional<z.ZodString>;
1890
1888
  updatedAt: z.ZodOptional<z.ZodString>;
1889
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1891
1890
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
1892
1891
  base?: {
1893
1892
  model?: string | undefined;
@@ -1952,6 +1951,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
1952
1951
  }>>>>;
1953
1952
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1954
1953
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1954
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1955
1955
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
1956
1956
  enabled?: boolean | undefined;
1957
1957
  numEvents?: number | undefined;
@@ -2012,12 +2012,11 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2012
2012
  id: z.ZodString;
2013
2013
  }, z.core.$strip>;
2014
2014
  declare const AgentApiUpdateSchema: z.ZodObject<{
2015
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2016
2015
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2017
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2018
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2016
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2019
2017
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2020
2018
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2019
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2021
2020
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2022
2021
  base?: {
2023
2022
  model?: string | undefined;
@@ -2082,6 +2081,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2082
2081
  }>>>>>>;
2083
2082
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2084
2083
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2084
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2085
2085
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2086
2086
  enabled?: boolean | undefined;
2087
2087
  numEvents?: number | undefined;
@@ -2366,9 +2366,9 @@ declare const TaskUpdateSchema: z.ZodObject<{
2366
2366
  }>;
2367
2367
  declare const TaskApiSelectSchema: z.ZodObject<{
2368
2368
  id: z.ZodString;
2369
- agentId: z.ZodString;
2370
2369
  createdAt: z.ZodString;
2371
2370
  updatedAt: z.ZodString;
2371
+ agentId: z.ZodString;
2372
2372
  status: z.ZodString;
2373
2373
  metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
2374
2374
  contextId: z.ZodString;
@@ -2376,9 +2376,9 @@ declare const TaskApiSelectSchema: z.ZodObject<{
2376
2376
  }, z.core.$strip>;
2377
2377
  declare const TaskApiInsertSchema: z.ZodObject<{
2378
2378
  id: z.ZodString;
2379
- agentId: z.ZodString;
2380
2379
  createdAt: z.ZodOptional<z.ZodString>;
2381
2380
  updatedAt: z.ZodOptional<z.ZodString>;
2381
+ agentId: z.ZodString;
2382
2382
  status: z.ZodString;
2383
2383
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
2384
2384
  conversationId: z.ZodOptional<z.ZodString>;
@@ -2387,9 +2387,9 @@ declare const TaskApiInsertSchema: z.ZodObject<{
2387
2387
  }, z.core.$strip>;
2388
2388
  declare const TaskApiUpdateSchema: z.ZodObject<{
2389
2389
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2390
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2391
2390
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2392
2391
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2392
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2393
2393
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2394
2394
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
2395
2395
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -3138,9 +3138,9 @@ declare const ConversationUpdateSchema: z.ZodObject<{
3138
3138
  }>;
3139
3139
  declare const ConversationApiSelectSchema: z.ZodObject<{
3140
3140
  id: z.ZodString;
3141
- title: z.ZodNullable<z.ZodString>;
3142
3141
  createdAt: z.ZodString;
3143
3142
  updatedAt: z.ZodString;
3143
+ title: z.ZodNullable<z.ZodString>;
3144
3144
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
3145
3145
  userId: z.ZodNullable<z.ZodString>;
3146
3146
  activeSubAgentId: z.ZodString;
@@ -3148,9 +3148,9 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
3148
3148
  }, z.core.$strip>;
3149
3149
  declare const ConversationApiInsertSchema: z.ZodObject<{
3150
3150
  id: z.ZodString;
3151
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3152
3151
  createdAt: z.ZodOptional<z.ZodString>;
3153
3152
  updatedAt: z.ZodOptional<z.ZodString>;
3153
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3154
3154
  contextConfigId: z.ZodOptional<z.ZodString>;
3155
3155
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
3156
3156
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3159,9 +3159,9 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
3159
3159
  }, z.core.$strip>;
3160
3160
  declare const ConversationApiUpdateSchema: z.ZodObject<{
3161
3161
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3162
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3163
3162
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3164
3163
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3164
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3165
3165
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3166
3166
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
3167
3167
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -4197,8 +4197,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
4197
4197
  in: {};
4198
4198
  }>;
4199
4199
  declare const ContextCacheApiSelectSchema: z.ZodObject<{
4200
- id: z.ZodString;
4201
4200
  value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4201
+ id: z.ZodString;
4202
4202
  createdAt: z.ZodString;
4203
4203
  updatedAt: z.ZodString;
4204
4204
  contextConfigId: z.ZodString;
@@ -4210,8 +4210,8 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
4210
4210
  fetchDurationMs: z.ZodNullable<z.ZodInt>;
4211
4211
  }, z.core.$strip>;
4212
4212
  declare const ContextCacheApiInsertSchema: z.ZodObject<{
4213
- id: z.ZodString;
4214
4213
  value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4214
+ id: z.ZodString;
4215
4215
  createdAt: z.ZodOptional<z.ZodString>;
4216
4216
  updatedAt: z.ZodOptional<z.ZodString>;
4217
4217
  contextConfigId: z.ZodString;
@@ -4223,8 +4223,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
4223
4223
  fetchDurationMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4224
4224
  }, z.core.$strip>;
4225
4225
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
4226
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4227
4226
  value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
4227
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4228
4228
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4229
4229
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4230
4230
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4441,10 +4441,10 @@ declare const DataComponentInsertSchema: z.ZodObject<{
4441
4441
  in: {};
4442
4442
  }>;
4443
4443
  declare const DataComponentBaseSchema: z.ZodObject<{
4444
- tenantId: z.ZodString;
4445
- projectId: z.ZodString;
4446
- id: z.ZodString;
4447
4444
  name: z.ZodString;
4445
+ id: z.ZodString;
4446
+ projectId: z.ZodString;
4447
+ tenantId: z.ZodString;
4448
4448
  description: z.ZodString;
4449
4449
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4450
4450
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -4491,11 +4491,11 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
4491
4491
  in: {};
4492
4492
  }>;
4493
4493
  declare const DataComponentApiSelectSchema: z.ZodObject<{
4494
- id: z.ZodString;
4495
4494
  name: z.ZodString;
4496
- description: z.ZodString;
4495
+ id: z.ZodString;
4497
4496
  createdAt: z.ZodString;
4498
4497
  updatedAt: z.ZodString;
4498
+ description: z.ZodString;
4499
4499
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
4500
4500
  render: z.ZodNullable<z.ZodType<{
4501
4501
  component: string;
@@ -4512,11 +4512,11 @@ declare const DataComponentApiSelectSchema: z.ZodObject<{
4512
4512
  }>>>;
4513
4513
  }, z.core.$strip>;
4514
4514
  declare const DataComponentApiInsertSchema: z.ZodObject<{
4515
- id: z.ZodString;
4516
4515
  name: z.ZodString;
4517
- description: z.ZodString;
4516
+ id: z.ZodString;
4518
4517
  createdAt: z.ZodOptional<z.ZodString>;
4519
4518
  updatedAt: z.ZodOptional<z.ZodString>;
4519
+ description: z.ZodString;
4520
4520
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4521
4521
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
4522
4522
  component: string;
@@ -4533,11 +4533,11 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
4533
4533
  }>>>>;
4534
4534
  }, z.core.$strip>;
4535
4535
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
4536
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4537
4536
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4538
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4537
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4539
4538
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4540
4539
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4540
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4541
4541
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
4542
4542
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
4543
4543
  component: string;
@@ -5036,16 +5036,16 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
5036
5036
  in: {};
5037
5037
  }>;
5038
5038
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
5039
- id: z.ZodString;
5040
5039
  name: z.ZodString;
5041
- description: z.ZodString;
5040
+ id: z.ZodString;
5042
5041
  createdAt: z.ZodString;
5043
5042
  updatedAt: z.ZodString;
5043
+ description: z.ZodString;
5044
5044
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
5045
5045
  }, z.core.$strip>;
5046
5046
  declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
5047
- id: z.ZodString;
5048
5047
  name: z.ZodString;
5048
+ id: z.ZodString;
5049
5049
  description: z.ZodString;
5050
5050
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
5051
5051
  }, {
@@ -5053,11 +5053,11 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
5053
5053
  in: {};
5054
5054
  }>;
5055
5055
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
5056
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5057
5056
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5058
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5057
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5059
5058
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5060
5059
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5060
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5061
5061
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
5062
5062
  }, z.core.$strip>;
5063
5063
  declare const SubAgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -5282,39 +5282,38 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
5282
5282
  in: {};
5283
5283
  }>;
5284
5284
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
5285
- id: z.ZodString;
5286
5285
  name: z.ZodString;
5287
- description: z.ZodString;
5288
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5286
+ id: z.ZodString;
5289
5287
  createdAt: z.ZodString;
5290
5288
  updatedAt: z.ZodString;
5289
+ description: z.ZodString;
5290
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5291
5291
  baseUrl: z.ZodString;
5292
5292
  }, z.core.$strip>;
5293
5293
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
5294
- id: z.ZodString;
5295
5294
  name: z.ZodString;
5296
- description: z.ZodString;
5297
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5295
+ id: z.ZodString;
5298
5296
  createdAt: z.ZodOptional<z.ZodString>;
5299
5297
  updatedAt: z.ZodOptional<z.ZodString>;
5298
+ description: z.ZodString;
5299
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5300
5300
  baseUrl: z.ZodString;
5301
5301
  }, z.core.$strip>;
5302
5302
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
5303
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5304
5303
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5305
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5306
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5304
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5307
5305
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5308
5306
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5307
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5308
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5309
5309
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5310
5310
  }, z.core.$strip>;
5311
5311
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5312
- id: z.ZodString;
5313
5312
  name: z.ZodString;
5314
- description: z.ZodString;
5315
- prompt: z.ZodString;
5313
+ id: z.ZodString;
5316
5314
  createdAt: z.ZodString;
5317
5315
  updatedAt: z.ZodString;
5316
+ description: z.ZodString;
5318
5317
  models: z.ZodNullable<z.ZodType<{
5319
5318
  base?: {
5320
5319
  model?: string | undefined;
@@ -5377,15 +5376,16 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5377
5376
  }, {
5378
5377
  stepCountIs?: number | undefined;
5379
5378
  }>>>;
5379
+ prompt: z.ZodString;
5380
5380
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
5381
5381
  type: z.ZodLiteral<"internal">;
5382
5382
  }, z.core.$strip>, z.ZodObject<{
5383
- id: z.ZodString;
5384
5383
  name: z.ZodString;
5385
- description: z.ZodString;
5386
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5384
+ id: z.ZodString;
5387
5385
  createdAt: z.ZodString;
5388
5386
  updatedAt: z.ZodString;
5387
+ description: z.ZodString;
5388
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5389
5389
  baseUrl: z.ZodString;
5390
5390
  type: z.ZodLiteral<"external">;
5391
5391
  }, z.core.$strip>], "type">;
@@ -5638,24 +5638,24 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
5638
5638
  }>;
5639
5639
  declare const ApiKeyUpdateSchema: z.ZodObject<{
5640
5640
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5641
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5641
5642
  agentId: z.ZodOptional<z.ZodString>;
5642
- lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5643
5643
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5644
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5644
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5645
5645
  }, {
5646
5646
  out: {};
5647
5647
  in: {};
5648
5648
  }>;
5649
5649
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
5650
- id: z.ZodString;
5651
5650
  name: z.ZodNullable<z.ZodString>;
5651
+ id: z.ZodString;
5652
+ createdAt: z.ZodString;
5653
+ updatedAt: z.ZodString;
5652
5654
  agentId: z.ZodString;
5655
+ expiresAt: z.ZodNullable<z.ZodString>;
5653
5656
  publicId: z.ZodString;
5654
5657
  keyPrefix: z.ZodString;
5655
5658
  lastUsedAt: z.ZodNullable<z.ZodString>;
5656
- expiresAt: z.ZodNullable<z.ZodString>;
5657
- createdAt: z.ZodString;
5658
- updatedAt: z.ZodString;
5659
5659
  }, {
5660
5660
  out: {};
5661
5661
  in: {};
@@ -5663,15 +5663,15 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
5663
5663
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
5664
5664
  data: z.ZodObject<{
5665
5665
  apiKey: z.ZodObject<{
5666
- id: z.ZodString;
5667
5666
  name: z.ZodNullable<z.ZodString>;
5667
+ id: z.ZodString;
5668
+ createdAt: z.ZodString;
5669
+ updatedAt: z.ZodString;
5668
5670
  agentId: z.ZodString;
5671
+ expiresAt: z.ZodNullable<z.ZodString>;
5669
5672
  publicId: z.ZodString;
5670
5673
  keyPrefix: z.ZodString;
5671
5674
  lastUsedAt: z.ZodNullable<z.ZodString>;
5672
- expiresAt: z.ZodNullable<z.ZodString>;
5673
- createdAt: z.ZodString;
5674
- updatedAt: z.ZodString;
5675
5675
  }, {
5676
5676
  out: {};
5677
5677
  in: {};
@@ -5681,20 +5681,20 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
5681
5681
  }, z.core.$strip>;
5682
5682
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
5683
5683
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5684
- agentId: z.ZodString;
5685
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5686
5684
  createdAt: z.ZodOptional<z.ZodString>;
5687
5685
  updatedAt: z.ZodOptional<z.ZodString>;
5686
+ agentId: z.ZodString;
5687
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5688
5688
  }, {
5689
5689
  out: {};
5690
5690
  in: {};
5691
5691
  }>;
5692
5692
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
5693
5693
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5694
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5694
5695
  agentId: z.ZodOptional<z.ZodString>;
5695
- lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5696
5696
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5697
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5697
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5698
5698
  }, {
5699
5699
  out: {};
5700
5700
  in: {};
@@ -5703,6 +5703,7 @@ declare const CredentialReferenceSelectSchema: z.ZodObject<{
5703
5703
  id: z.ZodString;
5704
5704
  tenantId: z.ZodString;
5705
5705
  projectId: z.ZodString;
5706
+ name: z.ZodString;
5706
5707
  type: z.ZodString;
5707
5708
  credentialStoreId: z.ZodString;
5708
5709
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -5712,6 +5713,7 @@ declare const CredentialReferenceSelectSchema: z.ZodObject<{
5712
5713
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
5713
5714
  createdAt: z.ZodOptional<z.ZodString>;
5714
5715
  updatedAt: z.ZodOptional<z.ZodString>;
5716
+ name: z.ZodString;
5715
5717
  projectId: z.ZodString;
5716
5718
  tenantId: z.ZodString;
5717
5719
  id: z.ZodString;
@@ -5725,6 +5727,7 @@ declare const CredentialReferenceInsertSchema: z.ZodObject<{
5725
5727
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
5726
5728
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5727
5729
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5730
+ name: z.ZodOptional<z.ZodString>;
5728
5731
  projectId: z.ZodOptional<z.ZodString>;
5729
5732
  tenantId: z.ZodOptional<z.ZodString>;
5730
5733
  id: z.ZodOptional<z.ZodString>;
@@ -5736,11 +5739,12 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
5736
5739
  in: {};
5737
5740
  }>;
5738
5741
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5742
+ name: z.ZodString;
5739
5743
  id: z.ZodString;
5740
- createdAt: z.ZodString;
5741
- updatedAt: z.ZodString;
5742
5744
  credentialStoreId: z.ZodString;
5743
5745
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5746
+ createdAt: z.ZodString;
5747
+ updatedAt: z.ZodString;
5744
5748
  type: z.ZodEnum<{
5745
5749
  readonly memory: "memory";
5746
5750
  readonly keychain: "keychain";
@@ -6017,11 +6021,12 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
6017
6021
  }>>>;
6018
6022
  }, z.core.$strip>;
6019
6023
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
6024
+ name: z.ZodString;
6020
6025
  id: z.ZodString;
6021
- createdAt: z.ZodOptional<z.ZodString>;
6022
- updatedAt: z.ZodOptional<z.ZodString>;
6023
6026
  credentialStoreId: z.ZodString;
6024
6027
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6028
+ createdAt: z.ZodOptional<z.ZodString>;
6029
+ updatedAt: z.ZodOptional<z.ZodString>;
6025
6030
  type: z.ZodEnum<{
6026
6031
  readonly memory: "memory";
6027
6032
  readonly keychain: "keychain";
@@ -6029,11 +6034,12 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
6029
6034
  }>;
6030
6035
  }, z.core.$strip>;
6031
6036
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
6037
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6032
6038
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6033
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6034
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6035
6039
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6036
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>>>;
6037
6043
  type: z.ZodOptional<z.ZodEnum<{
6038
6044
  readonly memory: "memory";
6039
6045
  readonly keychain: "keychain";
@@ -6090,10 +6096,10 @@ declare const McpToolSchema: z.ZodObject<{
6090
6096
  in: {};
6091
6097
  }>;
6092
6098
  declare const MCPToolConfigSchema: z.ZodObject<{
6093
- id: z.ZodString;
6094
6099
  name: z.ZodString;
6095
- expiresAt: z.ZodOptional<z.ZodDate>;
6096
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>;
6097
6103
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6098
6104
  imageUrl: z.ZodOptional<z.ZodString>;
6099
6105
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6122,11 +6128,12 @@ declare const MCPToolConfigSchema: z.ZodObject<{
6122
6128
  sessionId: z.ZodOptional<z.ZodString>;
6123
6129
  }, z.core.$strip>>;
6124
6130
  credential: z.ZodOptional<z.ZodObject<{
6131
+ name: z.ZodString;
6125
6132
  id: z.ZodString;
6126
- createdAt: z.ZodOptional<z.ZodString>;
6127
- updatedAt: z.ZodOptional<z.ZodString>;
6128
6133
  credentialStoreId: z.ZodString;
6129
6134
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6135
+ createdAt: z.ZodOptional<z.ZodString>;
6136
+ updatedAt: z.ZodOptional<z.ZodString>;
6130
6137
  type: z.ZodEnum<{
6131
6138
  readonly memory: "memory";
6132
6139
  readonly keychain: "keychain";
@@ -6174,9 +6181,14 @@ declare const ToolUpdateSchema: z.ZodObject<{
6174
6181
  in: {};
6175
6182
  }>;
6176
6183
  declare const ToolApiSelectSchema: z.ZodObject<{
6177
- id: z.ZodString;
6178
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;
6179
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>>>;
6180
6192
  config: z.ZodType<{
6181
6193
  type: "mcp";
6182
6194
  mcp: ToolMcpConfig;
@@ -6190,18 +6202,18 @@ declare const ToolApiSelectSchema: z.ZodObject<{
6190
6202
  type: "mcp";
6191
6203
  mcp: ToolMcpConfig;
6192
6204
  }>>;
6193
- credentialReferenceId: z.ZodNullable<z.ZodString>;
6194
- createdAt: z.ZodString;
6195
- updatedAt: z.ZodString;
6196
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
6197
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6198
6205
  imageUrl: z.ZodNullable<z.ZodString>;
6199
6206
  lastError: z.ZodNullable<z.ZodString>;
6200
6207
  }, z.core.$strip>;
6201
6208
  declare const ToolApiInsertSchema: z.ZodObject<{
6202
- id: z.ZodString;
6203
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>;
6204
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>>>>;
6205
6217
  config: z.ZodObject<{
6206
6218
  type: z.ZodLiteral<"mcp">;
6207
6219
  mcp: z.ZodObject<{
@@ -6221,18 +6233,18 @@ declare const ToolApiInsertSchema: z.ZodObject<{
6221
6233
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6222
6234
  }, z.core.$strip>;
6223
6235
  }, z.core.$strip>;
6224
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6225
- createdAt: z.ZodOptional<z.ZodString>;
6226
- updatedAt: z.ZodOptional<z.ZodString>;
6227
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6228
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6229
6236
  imageUrl: z.ZodOptional<z.ZodString>;
6230
6237
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6231
6238
  }, z.core.$strip>;
6232
6239
  declare const ToolApiUpdateSchema: z.ZodObject<{
6233
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6234
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>>>;
6235
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>>>>>>;
6236
6248
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6237
6249
  type: z.ZodLiteral<"mcp">;
6238
6250
  mcp: z.ZodObject<{
@@ -6252,11 +6264,6 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
6252
6264
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6253
6265
  }, z.core.$strip>;
6254
6266
  }, z.core.$strip>>>;
6255
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6256
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6257
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6258
- 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>>>>>>>;
6259
- capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
6260
6267
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6261
6268
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6262
6269
  }, z.core.$strip>;
@@ -6462,29 +6469,29 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
6462
6469
  in: {};
6463
6470
  }>;
6464
6471
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
6465
- id: z.ZodString;
6466
6472
  name: z.ZodString;
6467
- description: z.ZodNullable<z.ZodString>;
6468
- agentId: z.ZodString;
6473
+ id: z.ZodString;
6469
6474
  createdAt: z.ZodString;
6470
6475
  updatedAt: z.ZodString;
6476
+ description: z.ZodNullable<z.ZodString>;
6477
+ agentId: z.ZodString;
6471
6478
  functionId: z.ZodString;
6472
6479
  }, z.core.$strip>;
6473
6480
  declare const FunctionToolApiInsertSchema: z.ZodObject<{
6474
- id: z.ZodString;
6475
6481
  name: z.ZodString;
6476
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6482
+ id: z.ZodString;
6477
6483
  createdAt: z.ZodOptional<z.ZodString>;
6478
6484
  updatedAt: z.ZodOptional<z.ZodString>;
6485
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6479
6486
  functionId: z.ZodString;
6480
6487
  }, z.core.$strip>;
6481
6488
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
6482
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6483
6489
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6484
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6485
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6490
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6486
6491
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6487
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>>;
6488
6495
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6489
6496
  }, z.core.$strip>;
6490
6497
  declare const FunctionSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -6729,11 +6736,12 @@ declare const FetchDefinitionSchema: z.ZodObject<{
6729
6736
  responseSchema: z.ZodOptional<z.ZodAny>;
6730
6737
  defaultValue: z.ZodOptional<z.ZodAny>;
6731
6738
  credential: z.ZodOptional<z.ZodObject<{
6739
+ name: z.ZodString;
6732
6740
  id: z.ZodString;
6733
- createdAt: z.ZodOptional<z.ZodString>;
6734
- updatedAt: z.ZodOptional<z.ZodString>;
6735
6741
  credentialStoreId: z.ZodString;
6736
6742
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6743
+ createdAt: z.ZodOptional<z.ZodString>;
6744
+ updatedAt: z.ZodOptional<z.ZodString>;
6737
6745
  type: z.ZodEnum<{
6738
6746
  readonly memory: "memory";
6739
6747
  readonly keychain: "keychain";
@@ -6755,23 +6763,23 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
6755
6763
  in: {};
6756
6764
  }>;
6757
6765
  declare const ContextConfigInsertSchema: z.ZodObject<{
6758
- tenantId: z.ZodString;
6759
- projectId: z.ZodString;
6760
6766
  id: z.ZodOptional<z.ZodString>;
6761
- agentId: z.ZodString;
6767
+ projectId: z.ZodString;
6768
+ tenantId: z.ZodString;
6762
6769
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6763
6770
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6771
+ agentId: z.ZodString;
6764
6772
  }, {
6765
6773
  out: {};
6766
6774
  in: {};
6767
6775
  }>;
6768
6776
  declare const ContextConfigUpdateSchema: z.ZodObject<{
6769
- tenantId: z.ZodOptional<z.ZodString>;
6770
- projectId: z.ZodOptional<z.ZodString>;
6771
6777
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6772
- agentId: z.ZodOptional<z.ZodString>;
6778
+ projectId: z.ZodOptional<z.ZodString>;
6779
+ tenantId: z.ZodOptional<z.ZodString>;
6773
6780
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6774
6781
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6782
+ agentId: z.ZodOptional<z.ZodString>;
6775
6783
  }, {
6776
6784
  out: {};
6777
6785
  in: {};
@@ -7016,31 +7024,31 @@ declare const SubAgentToolRelationUpdateSchema: z.ZodObject<{
7016
7024
  in: {};
7017
7025
  }>;
7018
7026
  declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
7027
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7019
7028
  id: z.ZodString;
7020
7029
  createdAt: z.ZodString;
7021
7030
  updatedAt: z.ZodString;
7022
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7023
- toolId: z.ZodString;
7024
7031
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7025
7032
  subAgentId: z.ZodString;
7033
+ toolId: z.ZodString;
7026
7034
  }, z.core.$strip>;
7027
7035
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
7036
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7028
7037
  id: z.ZodString;
7029
7038
  createdAt: z.ZodOptional<z.ZodString>;
7030
7039
  updatedAt: z.ZodOptional<z.ZodString>;
7031
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7032
- toolId: z.ZodString;
7033
7040
  selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
7034
7041
  subAgentId: z.ZodString;
7042
+ toolId: z.ZodString;
7035
7043
  }, z.core.$strip>;
7036
7044
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
7045
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7037
7046
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7038
7047
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7039
7048
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7040
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7041
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7042
7049
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
7043
7050
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7051
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7044
7052
  }, z.core.$strip>;
7045
7053
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
7046
7054
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -7244,26 +7252,26 @@ declare const SubAgentExternalAgentRelationUpdateSchema: z.ZodObject<{
7244
7252
  in: {};
7245
7253
  }>;
7246
7254
  declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
7255
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7247
7256
  id: z.ZodString;
7248
7257
  createdAt: z.ZodString;
7249
7258
  updatedAt: z.ZodString;
7250
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7251
- externalAgentId: z.ZodString;
7252
7259
  subAgentId: z.ZodString;
7260
+ externalAgentId: z.ZodString;
7253
7261
  }, z.core.$strip>;
7254
7262
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
7263
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7255
7264
  createdAt: z.ZodOptional<z.ZodString>;
7256
7265
  updatedAt: z.ZodOptional<z.ZodString>;
7257
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7258
7266
  externalAgentId: z.ZodString;
7259
7267
  }, z.core.$strip>;
7260
7268
  declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
7269
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7261
7270
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7262
7271
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7263
7272
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7264
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7265
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7266
7273
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7274
+ externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7267
7275
  }, z.core.$strip>;
7268
7276
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
7269
7277
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -7467,24 +7475,24 @@ declare const SubAgentTeamAgentRelationUpdateSchema: z.ZodObject<{
7467
7475
  in: {};
7468
7476
  }>;
7469
7477
  declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<{
7478
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7470
7479
  id: z.ZodString;
7471
7480
  createdAt: z.ZodString;
7472
7481
  updatedAt: z.ZodString;
7473
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7474
7482
  subAgentId: z.ZodString;
7475
7483
  targetAgentId: z.ZodString;
7476
7484
  }, z.core.$strip>;
7477
7485
  declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
7486
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7478
7487
  createdAt: z.ZodOptional<z.ZodString>;
7479
7488
  updatedAt: z.ZodOptional<z.ZodString>;
7480
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7481
7489
  targetAgentId: z.ZodString;
7482
7490
  }, z.core.$strip>;
7483
7491
  declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
7492
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7484
7493
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7485
7494
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7486
7495
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7487
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7488
7496
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7489
7497
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7490
7498
  }, z.core.$strip>;
@@ -8200,12 +8208,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
8200
8208
  in: {};
8201
8209
  }>;
8202
8210
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
8203
- id: z.ZodString;
8204
8211
  type: z.ZodString;
8205
8212
  name: z.ZodNullable<z.ZodString>;
8206
- description: z.ZodNullable<z.ZodString>;
8213
+ id: z.ZodString;
8207
8214
  createdAt: z.ZodString;
8208
8215
  updatedAt: z.ZodString;
8216
+ description: z.ZodNullable<z.ZodString>;
8209
8217
  metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
8210
8218
  contextId: z.ZodString;
8211
8219
  visibility: z.ZodNullable<z.ZodString>;
@@ -8218,12 +8226,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
8218
8226
  derivedFrom: z.ZodNullable<z.ZodString>;
8219
8227
  }, z.core.$strip>;
8220
8228
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
8221
- id: z.ZodString;
8222
8229
  type: z.ZodOptional<z.ZodString>;
8223
8230
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8224
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8231
+ id: z.ZodString;
8225
8232
  createdAt: z.ZodOptional<z.ZodString>;
8226
8233
  updatedAt: z.ZodOptional<z.ZodString>;
8234
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8227
8235
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
8228
8236
  contextId: z.ZodString;
8229
8237
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8236,12 +8244,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
8236
8244
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8237
8245
  }, z.core.$strip>;
8238
8246
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
8239
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8240
8247
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8241
8248
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8242
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8249
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8243
8250
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8244
8251
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8252
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8245
8253
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
8246
8254
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8247
8255
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -8299,12 +8307,11 @@ declare const TeamAgentSchema: z.ZodObject<{
8299
8307
  description: z.ZodString;
8300
8308
  }, z.core.$strip>;
8301
8309
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
8302
- id: z.ZodString;
8303
8310
  name: z.ZodString;
8304
- description: z.ZodString;
8305
- prompt: z.ZodString;
8311
+ id: z.ZodString;
8306
8312
  createdAt: z.ZodOptional<z.ZodString>;
8307
8313
  updatedAt: z.ZodOptional<z.ZodString>;
8314
+ description: z.ZodString;
8308
8315
  models: z.ZodOptional<z.ZodObject<{
8309
8316
  base: z.ZodOptional<z.ZodObject<{
8310
8317
  model: z.ZodOptional<z.ZodString>;
@@ -8328,6 +8335,7 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
8328
8335
  }, {
8329
8336
  stepCountIs?: number | undefined;
8330
8337
  }>>>>;
8338
+ prompt: z.ZodString;
8331
8339
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
8332
8340
  type: z.ZodLiteral<"internal">;
8333
8341
  canUse: z.ZodArray<z.ZodObject<{
@@ -8351,19 +8359,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
8351
8359
  }, z.core.$strip>;
8352
8360
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
8353
8361
  name: z.ZodString;
8354
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8355
8362
  createdAt: z.ZodOptional<z.ZodString>;
8356
8363
  updatedAt: z.ZodOptional<z.ZodString>;
8364
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8357
8365
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8358
8366
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8359
8367
  id: z.ZodString;
8360
8368
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
8361
- id: z.ZodString;
8362
8369
  name: z.ZodString;
8363
- description: z.ZodString;
8364
- prompt: z.ZodString;
8370
+ id: z.ZodString;
8365
8371
  createdAt: z.ZodOptional<z.ZodString>;
8366
8372
  updatedAt: z.ZodOptional<z.ZodString>;
8373
+ description: z.ZodString;
8367
8374
  models: z.ZodOptional<z.ZodObject<{
8368
8375
  base: z.ZodOptional<z.ZodObject<{
8369
8376
  model: z.ZodOptional<z.ZodString>;
@@ -8387,6 +8394,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
8387
8394
  }, {
8388
8395
  stepCountIs?: number | undefined;
8389
8396
  }>>>>;
8397
+ prompt: z.ZodString;
8390
8398
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
8391
8399
  type: z.ZodLiteral<"internal">;
8392
8400
  canUse: z.ZodArray<z.ZodObject<{
@@ -8409,9 +8417,14 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
8409
8417
  }, z.core.$strip>]>>>;
8410
8418
  }, z.core.$strip>>;
8411
8419
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8412
- id: z.ZodString;
8413
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>;
8414
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>>>>;
8415
8428
  config: z.ZodObject<{
8416
8429
  type: z.ZodLiteral<"mcp">;
8417
8430
  mcp: z.ZodObject<{
@@ -8431,21 +8444,16 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
8431
8444
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8432
8445
  }, z.core.$strip>;
8433
8446
  }, z.core.$strip>;
8434
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8435
- createdAt: z.ZodOptional<z.ZodString>;
8436
- updatedAt: z.ZodOptional<z.ZodString>;
8437
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8438
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8439
8447
  imageUrl: z.ZodOptional<z.ZodString>;
8440
8448
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8441
8449
  }, z.core.$strip>>>;
8442
8450
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8443
- id: z.ZodString;
8444
8451
  name: z.ZodString;
8445
- description: z.ZodString;
8446
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8452
+ id: z.ZodString;
8447
8453
  createdAt: z.ZodOptional<z.ZodString>;
8448
8454
  updatedAt: z.ZodOptional<z.ZodString>;
8455
+ description: z.ZodString;
8456
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8449
8457
  baseUrl: z.ZodString;
8450
8458
  }, z.core.$strip>>>;
8451
8459
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8454,11 +8462,11 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
8454
8462
  description: z.ZodString;
8455
8463
  }, z.core.$strip>>>;
8456
8464
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8457
- id: z.ZodString;
8458
8465
  name: z.ZodString;
8459
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8466
+ id: z.ZodString;
8460
8467
  createdAt: z.ZodOptional<z.ZodString>;
8461
8468
  updatedAt: z.ZodOptional<z.ZodString>;
8469
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8462
8470
  functionId: z.ZodString;
8463
8471
  }, z.core.$strip>>>;
8464
8472
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8725,9 +8733,9 @@ declare const ProjectSelectSchema: drizzle_zod.BuildSchema<"select", {
8725
8733
  }>;
8726
8734
  }, undefined, undefined>;
8727
8735
  declare const ProjectInsertSchema: z.ZodObject<{
8728
- tenantId: z.ZodString;
8729
- id: z.ZodString;
8730
8736
  name: z.ZodString;
8737
+ id: z.ZodString;
8738
+ tenantId: z.ZodString;
8731
8739
  description: z.ZodString;
8732
8740
  models: z.ZodObject<{
8733
8741
  base: z.ZodObject<{
@@ -8752,9 +8760,9 @@ declare const ProjectInsertSchema: z.ZodObject<{
8752
8760
  in: {};
8753
8761
  }>;
8754
8762
  declare const ProjectUpdateSchema: z.ZodObject<{
8755
- tenantId: z.ZodOptional<z.ZodString>;
8756
- id: z.ZodOptional<z.ZodString>;
8757
8763
  name: z.ZodOptional<z.ZodString>;
8764
+ id: z.ZodOptional<z.ZodString>;
8765
+ tenantId: z.ZodOptional<z.ZodString>;
8758
8766
  description: z.ZodOptional<z.ZodString>;
8759
8767
  models: z.ZodOptional<z.ZodObject<{
8760
8768
  base: z.ZodObject<{
@@ -8779,11 +8787,11 @@ declare const ProjectUpdateSchema: z.ZodObject<{
8779
8787
  in: {};
8780
8788
  }>;
8781
8789
  declare const ProjectApiSelectSchema: z.ZodObject<{
8782
- id: z.ZodString;
8783
8790
  name: z.ZodString;
8784
- description: z.ZodString;
8791
+ id: z.ZodString;
8785
8792
  createdAt: z.ZodString;
8786
8793
  updatedAt: z.ZodString;
8794
+ description: z.ZodString;
8787
8795
  models: z.ZodNullable<z.ZodType<{
8788
8796
  base: {
8789
8797
  model?: string | undefined;
@@ -8855,8 +8863,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
8855
8863
  in: {};
8856
8864
  }>;
8857
8865
  declare const ProjectApiInsertSchema: z.ZodObject<{
8858
- id: z.ZodString;
8859
8866
  name: z.ZodString;
8867
+ id: z.ZodString;
8860
8868
  description: z.ZodString;
8861
8869
  models: z.ZodObject<{
8862
8870
  base: z.ZodObject<{
@@ -8881,8 +8889,8 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
8881
8889
  in: {};
8882
8890
  }>;
8883
8891
  declare const ProjectApiUpdateSchema: z.ZodObject<{
8884
- id: z.ZodOptional<z.ZodString>;
8885
8892
  name: z.ZodOptional<z.ZodString>;
8893
+ id: z.ZodOptional<z.ZodString>;
8886
8894
  description: z.ZodOptional<z.ZodString>;
8887
8895
  models: z.ZodOptional<z.ZodObject<{
8888
8896
  base: z.ZodObject<{
@@ -8907,8 +8915,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
8907
8915
  in: {};
8908
8916
  }>;
8909
8917
  declare const FullProjectDefinitionSchema: z.ZodObject<{
8910
- id: z.ZodString;
8911
8918
  name: z.ZodString;
8919
+ id: z.ZodString;
8912
8920
  description: z.ZodString;
8913
8921
  models: z.ZodObject<{
8914
8922
  base: z.ZodObject<{
@@ -8930,19 +8938,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8930
8938
  }, z.core.$strip>>;
8931
8939
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
8932
8940
  name: z.ZodString;
8933
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8934
8941
  createdAt: z.ZodOptional<z.ZodString>;
8935
8942
  updatedAt: z.ZodOptional<z.ZodString>;
8943
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8936
8944
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8937
8945
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8938
8946
  id: z.ZodString;
8939
8947
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
8940
- id: z.ZodString;
8941
8948
  name: z.ZodString;
8942
- description: z.ZodString;
8943
- prompt: z.ZodString;
8949
+ id: z.ZodString;
8944
8950
  createdAt: z.ZodOptional<z.ZodString>;
8945
8951
  updatedAt: z.ZodOptional<z.ZodString>;
8952
+ description: z.ZodString;
8946
8953
  models: z.ZodOptional<z.ZodObject<{
8947
8954
  base: z.ZodOptional<z.ZodObject<{
8948
8955
  model: z.ZodOptional<z.ZodString>;
@@ -8966,6 +8973,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8966
8973
  }, {
8967
8974
  stepCountIs?: number | undefined;
8968
8975
  }>>>>;
8976
+ prompt: z.ZodString;
8969
8977
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
8970
8978
  type: z.ZodLiteral<"internal">;
8971
8979
  canUse: z.ZodArray<z.ZodObject<{
@@ -8988,9 +8996,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8988
8996
  }, z.core.$strip>]>>>;
8989
8997
  }, z.core.$strip>>;
8990
8998
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8991
- id: z.ZodString;
8992
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>;
8993
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>>>>;
8994
9007
  config: z.ZodObject<{
8995
9008
  type: z.ZodLiteral<"mcp">;
8996
9009
  mcp: z.ZodObject<{
@@ -9010,21 +9023,16 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9010
9023
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
9011
9024
  }, z.core.$strip>;
9012
9025
  }, z.core.$strip>;
9013
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9014
- createdAt: z.ZodOptional<z.ZodString>;
9015
- updatedAt: z.ZodOptional<z.ZodString>;
9016
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9017
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
9018
9026
  imageUrl: z.ZodOptional<z.ZodString>;
9019
9027
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9020
9028
  }, z.core.$strip>>>;
9021
9029
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9022
- id: z.ZodString;
9023
9030
  name: z.ZodString;
9024
- description: z.ZodString;
9025
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9031
+ id: z.ZodString;
9026
9032
  createdAt: z.ZodOptional<z.ZodString>;
9027
9033
  updatedAt: z.ZodOptional<z.ZodString>;
9034
+ description: z.ZodString;
9035
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9028
9036
  baseUrl: z.ZodString;
9029
9037
  }, z.core.$strip>>>;
9030
9038
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -9033,11 +9041,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9033
9041
  description: z.ZodString;
9034
9042
  }, z.core.$strip>>>;
9035
9043
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9036
- id: z.ZodString;
9037
9044
  name: z.ZodString;
9038
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9045
+ id: z.ZodString;
9039
9046
  createdAt: z.ZodOptional<z.ZodString>;
9040
9047
  updatedAt: z.ZodOptional<z.ZodString>;
9048
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9041
9049
  functionId: z.ZodString;
9042
9050
  }, z.core.$strip>>>;
9043
9051
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -9088,9 +9096,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9088
9096
  prompt: z.ZodOptional<z.ZodString>;
9089
9097
  }, z.core.$strip>>;
9090
9098
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
9091
- id: z.ZodString;
9092
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>;
9093
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>>>>;
9094
9107
  config: z.ZodObject<{
9095
9108
  type: z.ZodLiteral<"mcp">;
9096
9109
  mcp: z.ZodObject<{
@@ -9110,11 +9123,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9110
9123
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
9111
9124
  }, z.core.$strip>;
9112
9125
  }, z.core.$strip>;
9113
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9114
- createdAt: z.ZodOptional<z.ZodString>;
9115
- updatedAt: z.ZodOptional<z.ZodString>;
9116
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9117
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
9118
9126
  imageUrl: z.ZodOptional<z.ZodString>;
9119
9127
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9120
9128
  }, z.core.$strip>>;
@@ -9127,11 +9135,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9127
9135
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9128
9136
  }, z.core.$strip>>>;
9129
9137
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9130
- id: z.ZodString;
9131
9138
  name: z.ZodString;
9132
- description: z.ZodString;
9139
+ id: z.ZodString;
9133
9140
  createdAt: z.ZodOptional<z.ZodString>;
9134
9141
  updatedAt: z.ZodOptional<z.ZodString>;
9142
+ description: z.ZodString;
9135
9143
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
9136
9144
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
9137
9145
  component: string;
@@ -9148,8 +9156,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9148
9156
  }>>>>;
9149
9157
  }, z.core.$strip>>>;
9150
9158
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9151
- id: z.ZodString;
9152
9159
  name: z.ZodString;
9160
+ id: z.ZodString;
9153
9161
  description: z.ZodString;
9154
9162
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
9155
9163
  }, {
@@ -9157,12 +9165,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9157
9165
  in: {};
9158
9166
  }>>>;
9159
9167
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9160
- id: z.ZodString;
9161
9168
  name: z.ZodString;
9162
- description: z.ZodString;
9163
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9169
+ id: z.ZodString;
9164
9170
  createdAt: z.ZodOptional<z.ZodString>;
9165
9171
  updatedAt: z.ZodOptional<z.ZodString>;
9172
+ description: z.ZodString;
9173
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9166
9174
  baseUrl: z.ZodString;
9167
9175
  }, z.core.$strip>>>;
9168
9176
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -9181,11 +9189,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9181
9189
  }, z.core.$strip>>>;
9182
9190
  }, z.core.$strip>>;
9183
9191
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9192
+ name: z.ZodString;
9184
9193
  id: z.ZodString;
9185
- createdAt: z.ZodOptional<z.ZodString>;
9186
- updatedAt: z.ZodOptional<z.ZodString>;
9187
9194
  credentialStoreId: z.ZodString;
9188
9195
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9196
+ createdAt: z.ZodOptional<z.ZodString>;
9197
+ updatedAt: z.ZodOptional<z.ZodString>;
9189
9198
  type: z.ZodEnum<{
9190
9199
  readonly memory: "memory";
9191
9200
  readonly keychain: "keychain";
@@ -9200,11 +9209,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9200
9209
  }>;
9201
9210
  declare const ProjectResponse: z.ZodObject<{
9202
9211
  data: z.ZodObject<{
9203
- id: z.ZodString;
9204
9212
  name: z.ZodString;
9205
- description: z.ZodString;
9213
+ id: z.ZodString;
9206
9214
  createdAt: z.ZodString;
9207
9215
  updatedAt: z.ZodString;
9216
+ description: z.ZodString;
9208
9217
  models: z.ZodNullable<z.ZodType<{
9209
9218
  base: {
9210
9219
  model?: string | undefined;
@@ -9278,12 +9287,11 @@ declare const ProjectResponse: z.ZodObject<{
9278
9287
  }, z.core.$strip>;
9279
9288
  declare const SubAgentResponse: z.ZodObject<{
9280
9289
  data: z.ZodObject<{
9281
- id: z.ZodString;
9282
9290
  name: z.ZodString;
9283
- description: z.ZodString;
9284
- prompt: z.ZodString;
9291
+ id: z.ZodString;
9285
9292
  createdAt: z.ZodString;
9286
9293
  updatedAt: z.ZodString;
9294
+ description: z.ZodString;
9287
9295
  models: z.ZodNullable<z.ZodType<{
9288
9296
  base?: {
9289
9297
  model?: string | undefined;
@@ -9346,17 +9354,17 @@ declare const SubAgentResponse: z.ZodObject<{
9346
9354
  }, {
9347
9355
  stepCountIs?: number | undefined;
9348
9356
  }>>>;
9357
+ prompt: z.ZodString;
9349
9358
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
9350
9359
  }, z.core.$strip>;
9351
9360
  }, z.core.$strip>;
9352
9361
  declare const AgentResponse: z.ZodObject<{
9353
9362
  data: z.ZodObject<{
9354
- id: z.ZodString;
9355
9363
  name: z.ZodString;
9356
- description: z.ZodNullable<z.ZodString>;
9357
- prompt: z.ZodNullable<z.ZodString>;
9364
+ id: z.ZodString;
9358
9365
  createdAt: z.ZodString;
9359
9366
  updatedAt: z.ZodString;
9367
+ description: z.ZodNullable<z.ZodString>;
9360
9368
  models: z.ZodNullable<z.ZodType<{
9361
9369
  base?: {
9362
9370
  model?: string | undefined;
@@ -9421,6 +9429,7 @@ declare const AgentResponse: z.ZodObject<{
9421
9429
  }>>>;
9422
9430
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
9423
9431
  contextConfigId: z.ZodNullable<z.ZodString>;
9432
+ prompt: z.ZodNullable<z.ZodString>;
9424
9433
  statusUpdates: z.ZodNullable<z.ZodType<{
9425
9434
  enabled?: boolean | undefined;
9426
9435
  numEvents?: number | undefined;
@@ -9482,9 +9491,14 @@ declare const AgentResponse: z.ZodObject<{
9482
9491
  }, z.core.$strip>;
9483
9492
  declare const ToolResponse: z.ZodObject<{
9484
9493
  data: z.ZodObject<{
9485
- id: z.ZodString;
9486
9494
  name: z.ZodString;
9495
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9496
+ id: z.ZodString;
9497
+ createdAt: z.ZodString;
9498
+ updatedAt: z.ZodString;
9487
9499
  description: z.ZodNullable<z.ZodString>;
9500
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
9501
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9488
9502
  config: z.ZodType<{
9489
9503
  type: "mcp";
9490
9504
  mcp: ToolMcpConfig;
@@ -9498,23 +9512,18 @@ declare const ToolResponse: z.ZodObject<{
9498
9512
  type: "mcp";
9499
9513
  mcp: ToolMcpConfig;
9500
9514
  }>>;
9501
- credentialReferenceId: z.ZodNullable<z.ZodString>;
9502
- createdAt: z.ZodString;
9503
- updatedAt: z.ZodString;
9504
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9505
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9506
9515
  imageUrl: z.ZodNullable<z.ZodString>;
9507
9516
  lastError: z.ZodNullable<z.ZodString>;
9508
9517
  }, z.core.$strip>;
9509
9518
  }, z.core.$strip>;
9510
9519
  declare const ExternalAgentResponse: z.ZodObject<{
9511
9520
  data: z.ZodObject<{
9512
- id: z.ZodString;
9513
9521
  name: z.ZodString;
9514
- description: z.ZodString;
9515
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9522
+ id: z.ZodString;
9516
9523
  createdAt: z.ZodString;
9517
9524
  updatedAt: z.ZodString;
9525
+ description: z.ZodString;
9526
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9518
9527
  baseUrl: z.ZodString;
9519
9528
  }, z.core.$strip>;
9520
9529
  }, z.core.$strip>;
@@ -9529,15 +9538,15 @@ declare const ContextConfigResponse: z.ZodObject<{
9529
9538
  }, z.core.$strip>;
9530
9539
  declare const ApiKeyResponse: z.ZodObject<{
9531
9540
  data: z.ZodObject<{
9532
- id: z.ZodString;
9533
9541
  name: z.ZodNullable<z.ZodString>;
9542
+ id: z.ZodString;
9543
+ createdAt: z.ZodString;
9544
+ updatedAt: z.ZodString;
9534
9545
  agentId: z.ZodString;
9546
+ expiresAt: z.ZodNullable<z.ZodString>;
9535
9547
  publicId: z.ZodString;
9536
9548
  keyPrefix: z.ZodString;
9537
9549
  lastUsedAt: z.ZodNullable<z.ZodString>;
9538
- expiresAt: z.ZodNullable<z.ZodString>;
9539
- createdAt: z.ZodString;
9540
- updatedAt: z.ZodString;
9541
9550
  }, {
9542
9551
  out: {};
9543
9552
  in: {};
@@ -9545,11 +9554,12 @@ declare const ApiKeyResponse: z.ZodObject<{
9545
9554
  }, z.core.$strip>;
9546
9555
  declare const CredentialReferenceResponse: z.ZodObject<{
9547
9556
  data: z.ZodObject<{
9557
+ name: z.ZodString;
9548
9558
  id: z.ZodString;
9549
- createdAt: z.ZodString;
9550
- updatedAt: z.ZodString;
9551
9559
  credentialStoreId: z.ZodString;
9552
9560
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9561
+ createdAt: z.ZodString;
9562
+ updatedAt: z.ZodString;
9553
9563
  type: z.ZodEnum<{
9554
9564
  readonly memory: "memory";
9555
9565
  readonly keychain: "keychain";
@@ -9838,22 +9848,22 @@ declare const FunctionResponse: z.ZodObject<{
9838
9848
  }, z.core.$strip>;
9839
9849
  declare const FunctionToolResponse: z.ZodObject<{
9840
9850
  data: z.ZodObject<{
9841
- id: z.ZodString;
9842
9851
  name: z.ZodString;
9843
- description: z.ZodNullable<z.ZodString>;
9844
- agentId: z.ZodString;
9852
+ id: z.ZodString;
9845
9853
  createdAt: z.ZodString;
9846
9854
  updatedAt: z.ZodString;
9855
+ description: z.ZodNullable<z.ZodString>;
9856
+ agentId: z.ZodString;
9847
9857
  functionId: z.ZodString;
9848
9858
  }, z.core.$strip>;
9849
9859
  }, z.core.$strip>;
9850
9860
  declare const DataComponentResponse: z.ZodObject<{
9851
9861
  data: z.ZodObject<{
9852
- id: z.ZodString;
9853
9862
  name: z.ZodString;
9854
- description: z.ZodString;
9863
+ id: z.ZodString;
9855
9864
  createdAt: z.ZodString;
9856
9865
  updatedAt: z.ZodString;
9866
+ description: z.ZodString;
9857
9867
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9858
9868
  render: z.ZodNullable<z.ZodType<{
9859
9869
  component: string;
@@ -9872,11 +9882,11 @@ declare const DataComponentResponse: z.ZodObject<{
9872
9882
  }, z.core.$strip>;
9873
9883
  declare const ArtifactComponentResponse: z.ZodObject<{
9874
9884
  data: z.ZodObject<{
9875
- id: z.ZodString;
9876
9885
  name: z.ZodString;
9877
- description: z.ZodString;
9886
+ id: z.ZodString;
9878
9887
  createdAt: z.ZodString;
9879
9888
  updatedAt: z.ZodString;
9889
+ description: z.ZodString;
9880
9890
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9881
9891
  }, z.core.$strip>;
9882
9892
  }, z.core.$strip>;
@@ -9892,21 +9902,21 @@ declare const SubAgentRelationResponse: z.ZodObject<{
9892
9902
  }, z.core.$strip>;
9893
9903
  declare const SubAgentToolRelationResponse: z.ZodObject<{
9894
9904
  data: z.ZodObject<{
9905
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9895
9906
  id: z.ZodString;
9896
9907
  createdAt: z.ZodString;
9897
9908
  updatedAt: z.ZodString;
9898
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9899
- toolId: z.ZodString;
9900
9909
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9901
9910
  subAgentId: z.ZodString;
9911
+ toolId: z.ZodString;
9902
9912
  }, z.core.$strip>;
9903
9913
  }, z.core.$strip>;
9904
9914
  declare const ConversationResponse: z.ZodObject<{
9905
9915
  data: z.ZodObject<{
9906
9916
  id: z.ZodString;
9907
- title: z.ZodNullable<z.ZodString>;
9908
9917
  createdAt: z.ZodString;
9909
9918
  updatedAt: z.ZodString;
9919
+ title: z.ZodNullable<z.ZodString>;
9910
9920
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
9911
9921
  userId: z.ZodNullable<z.ZodString>;
9912
9922
  activeSubAgentId: z.ZodString;
@@ -9938,11 +9948,11 @@ declare const MessageResponse: z.ZodObject<{
9938
9948
  }, z.core.$strip>;
9939
9949
  declare const ProjectListResponse: z.ZodObject<{
9940
9950
  data: z.ZodArray<z.ZodObject<{
9941
- id: z.ZodString;
9942
9951
  name: z.ZodString;
9943
- description: z.ZodString;
9952
+ id: z.ZodString;
9944
9953
  createdAt: z.ZodString;
9945
9954
  updatedAt: z.ZodString;
9955
+ description: z.ZodString;
9946
9956
  models: z.ZodNullable<z.ZodType<{
9947
9957
  base: {
9948
9958
  model?: string | undefined;
@@ -10022,12 +10032,11 @@ declare const ProjectListResponse: z.ZodObject<{
10022
10032
  }, z.core.$strip>;
10023
10033
  declare const SubAgentListResponse: z.ZodObject<{
10024
10034
  data: z.ZodArray<z.ZodObject<{
10025
- id: z.ZodString;
10026
10035
  name: z.ZodString;
10027
- description: z.ZodString;
10028
- prompt: z.ZodString;
10036
+ id: z.ZodString;
10029
10037
  createdAt: z.ZodString;
10030
10038
  updatedAt: z.ZodString;
10039
+ description: z.ZodString;
10031
10040
  models: z.ZodNullable<z.ZodType<{
10032
10041
  base?: {
10033
10042
  model?: string | undefined;
@@ -10090,6 +10099,7 @@ declare const SubAgentListResponse: z.ZodObject<{
10090
10099
  }, {
10091
10100
  stepCountIs?: number | undefined;
10092
10101
  }>>>;
10102
+ prompt: z.ZodString;
10093
10103
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
10094
10104
  }, z.core.$strip>>;
10095
10105
  pagination: z.ZodObject<{
@@ -10101,12 +10111,11 @@ declare const SubAgentListResponse: z.ZodObject<{
10101
10111
  }, z.core.$strip>;
10102
10112
  declare const AgentListResponse: z.ZodObject<{
10103
10113
  data: z.ZodArray<z.ZodObject<{
10104
- id: z.ZodString;
10105
10114
  name: z.ZodString;
10106
- description: z.ZodNullable<z.ZodString>;
10107
- prompt: z.ZodNullable<z.ZodString>;
10115
+ id: z.ZodString;
10108
10116
  createdAt: z.ZodString;
10109
10117
  updatedAt: z.ZodString;
10118
+ description: z.ZodNullable<z.ZodString>;
10110
10119
  models: z.ZodNullable<z.ZodType<{
10111
10120
  base?: {
10112
10121
  model?: string | undefined;
@@ -10171,6 +10180,7 @@ declare const AgentListResponse: z.ZodObject<{
10171
10180
  }>>>;
10172
10181
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
10173
10182
  contextConfigId: z.ZodNullable<z.ZodString>;
10183
+ prompt: z.ZodNullable<z.ZodString>;
10174
10184
  statusUpdates: z.ZodNullable<z.ZodType<{
10175
10185
  enabled?: boolean | undefined;
10176
10186
  numEvents?: number | undefined;
@@ -10238,9 +10248,14 @@ declare const AgentListResponse: z.ZodObject<{
10238
10248
  }, z.core.$strip>;
10239
10249
  declare const ToolListResponse: z.ZodObject<{
10240
10250
  data: z.ZodArray<z.ZodObject<{
10241
- id: z.ZodString;
10242
10251
  name: z.ZodString;
10252
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
10253
+ id: z.ZodString;
10254
+ createdAt: z.ZodString;
10255
+ updatedAt: z.ZodString;
10243
10256
  description: z.ZodNullable<z.ZodString>;
10257
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
10258
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
10244
10259
  config: z.ZodType<{
10245
10260
  type: "mcp";
10246
10261
  mcp: ToolMcpConfig;
@@ -10254,11 +10269,6 @@ declare const ToolListResponse: z.ZodObject<{
10254
10269
  type: "mcp";
10255
10270
  mcp: ToolMcpConfig;
10256
10271
  }>>;
10257
- credentialReferenceId: z.ZodNullable<z.ZodString>;
10258
- createdAt: z.ZodString;
10259
- updatedAt: z.ZodString;
10260
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
10261
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
10262
10272
  imageUrl: z.ZodNullable<z.ZodString>;
10263
10273
  lastError: z.ZodNullable<z.ZodString>;
10264
10274
  }, z.core.$strip>>;
@@ -10271,12 +10281,12 @@ declare const ToolListResponse: z.ZodObject<{
10271
10281
  }, z.core.$strip>;
10272
10282
  declare const ExternalAgentListResponse: z.ZodObject<{
10273
10283
  data: z.ZodArray<z.ZodObject<{
10274
- id: z.ZodString;
10275
10284
  name: z.ZodString;
10276
- description: z.ZodString;
10277
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10285
+ id: z.ZodString;
10278
10286
  createdAt: z.ZodString;
10279
10287
  updatedAt: z.ZodString;
10288
+ description: z.ZodString;
10289
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10280
10290
  baseUrl: z.ZodString;
10281
10291
  }, z.core.$strip>>;
10282
10292
  pagination: z.ZodObject<{
@@ -10303,15 +10313,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
10303
10313
  }, z.core.$strip>;
10304
10314
  declare const ApiKeyListResponse: z.ZodObject<{
10305
10315
  data: z.ZodArray<z.ZodObject<{
10306
- id: z.ZodString;
10307
10316
  name: z.ZodNullable<z.ZodString>;
10317
+ id: z.ZodString;
10318
+ createdAt: z.ZodString;
10319
+ updatedAt: z.ZodString;
10308
10320
  agentId: z.ZodString;
10321
+ expiresAt: z.ZodNullable<z.ZodString>;
10309
10322
  publicId: z.ZodString;
10310
10323
  keyPrefix: z.ZodString;
10311
10324
  lastUsedAt: z.ZodNullable<z.ZodString>;
10312
- expiresAt: z.ZodNullable<z.ZodString>;
10313
- createdAt: z.ZodString;
10314
- updatedAt: z.ZodString;
10315
10325
  }, {
10316
10326
  out: {};
10317
10327
  in: {};
@@ -10325,11 +10335,12 @@ declare const ApiKeyListResponse: z.ZodObject<{
10325
10335
  }, z.core.$strip>;
10326
10336
  declare const CredentialReferenceListResponse: z.ZodObject<{
10327
10337
  data: z.ZodArray<z.ZodObject<{
10338
+ name: z.ZodString;
10328
10339
  id: z.ZodString;
10329
- createdAt: z.ZodString;
10330
- updatedAt: z.ZodString;
10331
10340
  credentialStoreId: z.ZodString;
10332
10341
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10342
+ createdAt: z.ZodString;
10343
+ updatedAt: z.ZodString;
10333
10344
  type: z.ZodEnum<{
10334
10345
  readonly memory: "memory";
10335
10346
  readonly keychain: "keychain";
@@ -10630,12 +10641,12 @@ declare const FunctionListResponse: z.ZodObject<{
10630
10641
  }, z.core.$strip>;
10631
10642
  declare const FunctionToolListResponse: z.ZodObject<{
10632
10643
  data: z.ZodArray<z.ZodObject<{
10633
- id: z.ZodString;
10634
10644
  name: z.ZodString;
10635
- description: z.ZodNullable<z.ZodString>;
10636
- agentId: z.ZodString;
10645
+ id: z.ZodString;
10637
10646
  createdAt: z.ZodString;
10638
10647
  updatedAt: z.ZodString;
10648
+ description: z.ZodNullable<z.ZodString>;
10649
+ agentId: z.ZodString;
10639
10650
  functionId: z.ZodString;
10640
10651
  }, z.core.$strip>>;
10641
10652
  pagination: z.ZodObject<{
@@ -10647,11 +10658,11 @@ declare const FunctionToolListResponse: z.ZodObject<{
10647
10658
  }, z.core.$strip>;
10648
10659
  declare const DataComponentListResponse: z.ZodObject<{
10649
10660
  data: z.ZodArray<z.ZodObject<{
10650
- id: z.ZodString;
10651
10661
  name: z.ZodString;
10652
- description: z.ZodString;
10662
+ id: z.ZodString;
10653
10663
  createdAt: z.ZodString;
10654
10664
  updatedAt: z.ZodString;
10665
+ description: z.ZodString;
10655
10666
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10656
10667
  render: z.ZodNullable<z.ZodType<{
10657
10668
  component: string;
@@ -10676,11 +10687,11 @@ declare const DataComponentListResponse: z.ZodObject<{
10676
10687
  }, z.core.$strip>;
10677
10688
  declare const ArtifactComponentListResponse: z.ZodObject<{
10678
10689
  data: z.ZodArray<z.ZodObject<{
10679
- id: z.ZodString;
10680
10690
  name: z.ZodString;
10681
- description: z.ZodString;
10691
+ id: z.ZodString;
10682
10692
  createdAt: z.ZodString;
10683
10693
  updatedAt: z.ZodString;
10694
+ description: z.ZodString;
10684
10695
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10685
10696
  }, z.core.$strip>>;
10686
10697
  pagination: z.ZodObject<{
@@ -10708,13 +10719,13 @@ declare const SubAgentRelationListResponse: z.ZodObject<{
10708
10719
  }, z.core.$strip>;
10709
10720
  declare const SubAgentToolRelationListResponse: z.ZodObject<{
10710
10721
  data: z.ZodArray<z.ZodObject<{
10722
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10711
10723
  id: z.ZodString;
10712
10724
  createdAt: z.ZodString;
10713
10725
  updatedAt: z.ZodString;
10714
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10715
- toolId: z.ZodString;
10716
10726
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10717
10727
  subAgentId: z.ZodString;
10728
+ toolId: z.ZodString;
10718
10729
  }, z.core.$strip>>;
10719
10730
  pagination: z.ZodObject<{
10720
10731
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -10726,9 +10737,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
10726
10737
  declare const ConversationListResponse: z.ZodObject<{
10727
10738
  data: z.ZodArray<z.ZodObject<{
10728
10739
  id: z.ZodString;
10729
- title: z.ZodNullable<z.ZodString>;
10730
10740
  createdAt: z.ZodString;
10731
10741
  updatedAt: z.ZodString;
10742
+ title: z.ZodNullable<z.ZodString>;
10732
10743
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
10733
10744
  userId: z.ZodNullable<z.ZodString>;
10734
10745
  activeSubAgentId: z.ZodString;