@inkeep/agents-core 0.29.11 → 0.30.0

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,11 +774,12 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
774
774
  in: {};
775
775
  }>;
776
776
  declare const SubAgentApiSelectSchema: z.ZodObject<{
777
- name: z.ZodString;
778
777
  id: z.ZodString;
778
+ name: z.ZodString;
779
+ description: z.ZodString;
780
+ prompt: z.ZodString;
779
781
  createdAt: z.ZodString;
780
782
  updatedAt: z.ZodString;
781
- description: z.ZodString;
782
783
  models: z.ZodNullable<z.ZodType<{
783
784
  base?: {
784
785
  model?: string | undefined;
@@ -841,15 +842,15 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
841
842
  }, {
842
843
  stepCountIs?: number | undefined;
843
844
  }>>>;
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
- name: z.ZodString;
849
848
  id: z.ZodString;
849
+ name: z.ZodString;
850
+ description: z.ZodString;
851
+ prompt: z.ZodString;
850
852
  createdAt: z.ZodOptional<z.ZodString>;
851
853
  updatedAt: z.ZodOptional<z.ZodString>;
852
- description: z.ZodString;
853
854
  models: z.ZodOptional<z.ZodObject<{
854
855
  base: z.ZodOptional<z.ZodObject<{
855
856
  model: z.ZodOptional<z.ZodString>;
@@ -873,15 +874,15 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
873
874
  }, {
874
875
  stepCountIs?: number | undefined;
875
876
  }>>>>;
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
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
881
880
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
881
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
882
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
883
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
882
884
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
883
885
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
884
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
885
886
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
886
887
  base: z.ZodOptional<z.ZodObject<{
887
888
  model: z.ZodOptional<z.ZodString>;
@@ -905,7 +906,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
905
906
  }, {
906
907
  stepCountIs?: number | undefined;
907
908
  }>>>>>>;
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;
1173
1174
  createdAt: z.ZodOptional<z.ZodString>;
1174
1175
  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,11 +1754,12 @@ declare const AgentUpdateSchema: z.ZodObject<{
1754
1754
  in: {};
1755
1755
  }>;
1756
1756
  declare const AgentApiSelectSchema: z.ZodObject<{
1757
- name: z.ZodString;
1758
1757
  id: z.ZodString;
1758
+ name: z.ZodString;
1759
+ description: z.ZodNullable<z.ZodString>;
1760
+ prompt: z.ZodNullable<z.ZodString>;
1759
1761
  createdAt: z.ZodString;
1760
1762
  updatedAt: z.ZodString;
1761
- description: z.ZodNullable<z.ZodString>;
1762
1763
  models: z.ZodNullable<z.ZodType<{
1763
1764
  base?: {
1764
1765
  model?: string | undefined;
@@ -1823,7 +1824,6 @@ declare const AgentApiSelectSchema: z.ZodObject<{
1823
1824
  }>>>;
1824
1825
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
1825
1826
  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,9 +1884,10 @@ 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>>;
1887
1889
  createdAt: z.ZodOptional<z.ZodString>;
1888
1890
  updatedAt: z.ZodOptional<z.ZodString>;
1889
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1890
1891
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
1891
1892
  base?: {
1892
1893
  model?: string | undefined;
@@ -1951,7 +1952,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
1951
1952
  }>>>>;
1952
1953
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1953
1954
  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,11 +2012,12 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2012
2012
  id: z.ZodString;
2013
2013
  }, z.core.$strip>;
2014
2014
  declare const AgentApiUpdateSchema: z.ZodObject<{
2015
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2016
2015
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2016
+ 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>>>>;
2017
2019
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2018
2020
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2019
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2020
2021
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2021
2022
  base?: {
2022
2023
  model?: string | undefined;
@@ -2081,7 +2082,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2081
2082
  }>>>>>>;
2082
2083
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2083
2084
  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;
2369
2370
  createdAt: z.ZodString;
2370
2371
  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;
2379
2380
  createdAt: z.ZodOptional<z.ZodString>;
2380
2381
  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>>;
2390
2391
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2391
2392
  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>;
3141
3142
  createdAt: z.ZodString;
3142
3143
  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>>;
3151
3152
  createdAt: z.ZodOptional<z.ZodString>;
3152
3153
  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>>>>;
3162
3163
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3163
3164
  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
- value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4201
4200
  id: z.ZodString;
4201
+ value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
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
- value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4214
4213
  id: z.ZodString;
4214
+ value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
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
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
4227
4226
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4227
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
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
- name: z.ZodString;
4445
- id: z.ZodString;
4446
- projectId: z.ZodString;
4447
4444
  tenantId: z.ZodString;
4445
+ projectId: z.ZodString;
4446
+ id: z.ZodString;
4447
+ name: 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
- name: z.ZodString;
4495
4494
  id: z.ZodString;
4495
+ name: z.ZodString;
4496
+ description: z.ZodString;
4496
4497
  createdAt: z.ZodString;
4497
4498
  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
- name: z.ZodString;
4516
4515
  id: z.ZodString;
4516
+ name: z.ZodString;
4517
+ description: z.ZodString;
4517
4518
  createdAt: z.ZodOptional<z.ZodString>;
4518
4519
  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
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4537
4536
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4537
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4538
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4538
4539
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4539
4540
  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
- name: z.ZodString;
5040
5039
  id: z.ZodString;
5040
+ name: z.ZodString;
5041
+ description: z.ZodString;
5041
5042
  createdAt: z.ZodString;
5042
5043
  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
- name: z.ZodString;
5048
5047
  id: z.ZodString;
5048
+ name: 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
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5057
5056
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5057
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5058
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5058
5059
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5059
5060
  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,38 +5282,39 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
5282
5282
  in: {};
5283
5283
  }>;
5284
5284
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
5285
- name: z.ZodString;
5286
5285
  id: z.ZodString;
5287
- createdAt: z.ZodString;
5288
- updatedAt: z.ZodString;
5286
+ name: z.ZodString;
5289
5287
  description: z.ZodString;
5290
5288
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5289
+ createdAt: z.ZodString;
5290
+ updatedAt: z.ZodString;
5291
5291
  baseUrl: z.ZodString;
5292
5292
  }, z.core.$strip>;
5293
5293
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
5294
- name: z.ZodString;
5295
5294
  id: z.ZodString;
5296
- createdAt: z.ZodOptional<z.ZodString>;
5297
- updatedAt: z.ZodOptional<z.ZodString>;
5295
+ name: z.ZodString;
5298
5296
  description: z.ZodString;
5299
5297
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5298
+ createdAt: z.ZodOptional<z.ZodString>;
5299
+ updatedAt: z.ZodOptional<z.ZodString>;
5300
5300
  baseUrl: z.ZodString;
5301
5301
  }, z.core.$strip>;
5302
5302
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
5303
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5304
5303
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5305
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5306
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5304
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5307
5305
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5308
5306
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5307
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5308
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<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
- name: z.ZodString;
5313
5312
  id: z.ZodString;
5313
+ name: z.ZodString;
5314
+ description: z.ZodString;
5315
+ prompt: z.ZodString;
5314
5316
  createdAt: z.ZodString;
5315
5317
  updatedAt: z.ZodString;
5316
- description: z.ZodString;
5317
5318
  models: z.ZodNullable<z.ZodType<{
5318
5319
  base?: {
5319
5320
  model?: string | undefined;
@@ -5376,16 +5377,15 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5376
5377
  }, {
5377
5378
  stepCountIs?: number | undefined;
5378
5379
  }>>>;
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
- name: z.ZodString;
5384
5383
  id: z.ZodString;
5385
- createdAt: z.ZodString;
5386
- updatedAt: z.ZodString;
5384
+ name: z.ZodString;
5387
5385
  description: z.ZodString;
5388
5386
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5387
+ createdAt: z.ZodString;
5388
+ updatedAt: 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>>;
5642
5641
  agentId: z.ZodOptional<z.ZodString>;
5643
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5644
5642
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5643
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5644
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5645
5645
  }, {
5646
5646
  out: {};
5647
5647
  in: {};
5648
5648
  }>;
5649
5649
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
5650
- name: z.ZodNullable<z.ZodString>;
5651
5650
  id: z.ZodString;
5652
- createdAt: z.ZodString;
5653
- updatedAt: z.ZodString;
5651
+ name: z.ZodNullable<z.ZodString>;
5654
5652
  agentId: z.ZodString;
5655
- expiresAt: z.ZodNullable<z.ZodString>;
5656
5653
  publicId: z.ZodString;
5657
5654
  keyPrefix: z.ZodString;
5658
5655
  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
- name: z.ZodNullable<z.ZodString>;
5667
5666
  id: z.ZodString;
5668
- createdAt: z.ZodString;
5669
- updatedAt: z.ZodString;
5667
+ name: z.ZodNullable<z.ZodString>;
5670
5668
  agentId: z.ZodString;
5671
- expiresAt: z.ZodNullable<z.ZodString>;
5672
5669
  publicId: z.ZodString;
5673
5670
  keyPrefix: z.ZodString;
5674
5671
  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
- createdAt: z.ZodOptional<z.ZodString>;
5685
- updatedAt: z.ZodOptional<z.ZodString>;
5686
5684
  agentId: z.ZodString;
5687
5685
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5686
+ createdAt: z.ZodOptional<z.ZodString>;
5687
+ updatedAt: z.ZodOptional<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>>;
5695
5694
  agentId: z.ZodOptional<z.ZodString>;
5696
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5697
5695
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5696
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5697
+ updatedAt: z.ZodOptional<z.ZodOptional<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
- name: z.ZodString;
5743
5742
  id: z.ZodString;
5744
- credentialStoreId: z.ZodString;
5745
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5743
+ name: z.ZodString;
5746
5744
  createdAt: z.ZodString;
5747
5745
  updatedAt: z.ZodString;
5746
+ credentialStoreId: z.ZodString;
5747
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
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
- name: z.ZodString;
6025
6024
  id: z.ZodString;
6026
- credentialStoreId: z.ZodString;
6027
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6025
+ name: z.ZodString;
6028
6026
  createdAt: z.ZodOptional<z.ZodString>;
6029
6027
  updatedAt: z.ZodOptional<z.ZodString>;
6028
+ credentialStoreId: z.ZodString;
6029
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
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
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6038
6037
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6039
- credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6040
- retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
6038
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6041
6039
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6042
6040
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6041
+ credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6042
+ retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
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
- name: z.ZodString;
6100
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6101
6099
  id: z.ZodString;
6100
+ name: z.ZodString;
6102
6101
  expiresAt: z.ZodOptional<z.ZodDate>;
6102
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
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
- name: z.ZodString;
6132
6131
  id: z.ZodString;
6133
- credentialStoreId: z.ZodString;
6134
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6132
+ name: z.ZodString;
6135
6133
  createdAt: z.ZodOptional<z.ZodString>;
6136
6134
  updatedAt: z.ZodOptional<z.ZodString>;
6135
+ credentialStoreId: z.ZodString;
6136
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6137
6137
  type: z.ZodEnum<{
6138
6138
  readonly memory: "memory";
6139
6139
  readonly keychain: "keychain";
@@ -6181,14 +6181,9 @@ declare const ToolUpdateSchema: z.ZodObject<{
6181
6181
  in: {};
6182
6182
  }>;
6183
6183
  declare const ToolApiSelectSchema: z.ZodObject<{
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
6184
  id: z.ZodString;
6187
- createdAt: z.ZodString;
6188
- updatedAt: z.ZodString;
6185
+ name: z.ZodString;
6189
6186
  description: z.ZodNullable<z.ZodString>;
6190
- credentialReferenceId: z.ZodNullable<z.ZodString>;
6191
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6192
6187
  config: z.ZodType<{
6193
6188
  type: "mcp";
6194
6189
  mcp: ToolMcpConfig;
@@ -6202,18 +6197,18 @@ declare const ToolApiSelectSchema: z.ZodObject<{
6202
6197
  type: "mcp";
6203
6198
  mcp: ToolMcpConfig;
6204
6199
  }>>;
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
- 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
6209
  id: z.ZodString;
6212
- createdAt: z.ZodOptional<z.ZodString>;
6213
- updatedAt: z.ZodOptional<z.ZodString>;
6210
+ name: z.ZodString;
6214
6211
  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>>>>;
6217
6212
  config: z.ZodObject<{
6218
6213
  type: z.ZodLiteral<"mcp">;
6219
6214
  mcp: z.ZodObject<{
@@ -6233,18 +6228,18 @@ declare const ToolApiInsertSchema: z.ZodObject<{
6233
6228
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6234
6229
  }, z.core.$strip>;
6235
6230
  }, 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
- 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
6240
  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>>>;
6241
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6245
6242
  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>>>>>>;
6248
6243
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6249
6244
  type: z.ZodLiteral<"mcp">;
6250
6245
  mcp: z.ZodObject<{
@@ -6264,6 +6259,11 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
6264
6259
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6265
6260
  }, z.core.$strip>;
6266
6261
  }, 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
- name: z.ZodString;
6473
6472
  id: z.ZodString;
6474
- createdAt: z.ZodString;
6475
- updatedAt: z.ZodString;
6473
+ name: z.ZodString;
6476
6474
  description: z.ZodNullable<z.ZodString>;
6477
6475
  agentId: z.ZodString;
6476
+ createdAt: z.ZodString;
6477
+ updatedAt: z.ZodString;
6478
6478
  functionId: z.ZodString;
6479
6479
  }, z.core.$strip>;
6480
6480
  declare const FunctionToolApiInsertSchema: z.ZodObject<{
6481
- name: z.ZodString;
6482
6481
  id: z.ZodString;
6482
+ name: z.ZodString;
6483
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6483
6484
  createdAt: z.ZodOptional<z.ZodString>;
6484
6485
  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
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6490
6489
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6491
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6492
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6490
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6493
6491
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6494
6492
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6493
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6494
+ updatedAt: z.ZodOptional<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
- name: z.ZodString;
6740
6739
  id: z.ZodString;
6741
- credentialStoreId: z.ZodString;
6742
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6740
+ name: z.ZodString;
6743
6741
  createdAt: z.ZodOptional<z.ZodString>;
6744
6742
  updatedAt: z.ZodOptional<z.ZodString>;
6743
+ credentialStoreId: z.ZodString;
6744
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
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
- id: z.ZodOptional<z.ZodString>;
6767
- projectId: z.ZodString;
6768
6766
  tenantId: z.ZodString;
6767
+ projectId: z.ZodString;
6768
+ id: z.ZodOptional<z.ZodString>;
6769
+ agentId: z.ZodString;
6769
6770
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6770
6771
  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
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6778
- projectId: z.ZodOptional<z.ZodString>;
6779
6777
  tenantId: z.ZodOptional<z.ZodString>;
6778
+ projectId: z.ZodOptional<z.ZodString>;
6779
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6780
+ agentId: z.ZodOptional<z.ZodString>;
6780
6781
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6781
6782
  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>>>;
7028
7027
  id: z.ZodString;
7029
7028
  createdAt: z.ZodString;
7030
7029
  updatedAt: z.ZodString;
7030
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7031
+ toolId: z.ZodString;
7031
7032
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7032
7033
  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>>>;
7037
7036
  id: z.ZodString;
7038
7037
  createdAt: z.ZodOptional<z.ZodString>;
7039
7038
  updatedAt: z.ZodOptional<z.ZodString>;
7039
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7040
+ toolId: z.ZodString;
7040
7041
  selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
7041
7042
  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>>>>>;
7046
7045
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7047
7046
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7048
7047
  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>>;
7049
7050
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
7050
7051
  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>>>;
7256
7255
  id: z.ZodString;
7257
7256
  createdAt: z.ZodString;
7258
7257
  updatedAt: z.ZodString;
7259
- subAgentId: z.ZodString;
7258
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7260
7259
  externalAgentId: z.ZodString;
7260
+ subAgentId: 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>>>;
7264
7263
  createdAt: z.ZodOptional<z.ZodString>;
7265
7264
  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>>>>>;
7270
7269
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7271
7270
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7272
7271
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7273
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7272
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
7274
7273
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7274
+ subAgentId: 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>>>;
7479
7478
  id: z.ZodString;
7480
7479
  createdAt: z.ZodString;
7481
7480
  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>>>;
7487
7486
  createdAt: z.ZodOptional<z.ZodString>;
7488
7487
  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>>>>>;
7493
7492
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7494
7493
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7495
7494
  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;
8211
8212
  type: z.ZodString;
8212
8213
  name: z.ZodNullable<z.ZodString>;
8213
- id: z.ZodString;
8214
+ description: z.ZodNullable<z.ZodString>;
8214
8215
  createdAt: z.ZodString;
8215
8216
  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;
8229
8230
  type: z.ZodOptional<z.ZodString>;
8230
8231
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8231
- id: z.ZodString;
8232
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8232
8233
  createdAt: z.ZodOptional<z.ZodString>;
8233
8234
  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>>;
8247
8248
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8248
8249
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8249
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8250
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8250
8251
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8251
8252
  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,11 +8307,12 @@ declare const TeamAgentSchema: z.ZodObject<{
8307
8307
  description: z.ZodString;
8308
8308
  }, z.core.$strip>;
8309
8309
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
8310
- name: z.ZodString;
8311
8310
  id: z.ZodString;
8311
+ name: z.ZodString;
8312
+ description: z.ZodString;
8313
+ prompt: z.ZodString;
8312
8314
  createdAt: z.ZodOptional<z.ZodString>;
8313
8315
  updatedAt: z.ZodOptional<z.ZodString>;
8314
- description: z.ZodString;
8315
8316
  models: z.ZodOptional<z.ZodObject<{
8316
8317
  base: z.ZodOptional<z.ZodObject<{
8317
8318
  model: z.ZodOptional<z.ZodString>;
@@ -8335,7 +8336,6 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
8335
8336
  }, {
8336
8337
  stepCountIs?: number | undefined;
8337
8338
  }>>>>;
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,18 +8359,19 @@ 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>>;
8362
8363
  createdAt: z.ZodOptional<z.ZodString>;
8363
8364
  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
- name: z.ZodString;
8370
8369
  id: z.ZodString;
8370
+ name: z.ZodString;
8371
+ description: z.ZodString;
8372
+ prompt: z.ZodString;
8371
8373
  createdAt: z.ZodOptional<z.ZodString>;
8372
8374
  updatedAt: z.ZodOptional<z.ZodString>;
8373
- description: z.ZodString;
8374
8375
  models: z.ZodOptional<z.ZodObject<{
8375
8376
  base: z.ZodOptional<z.ZodObject<{
8376
8377
  model: z.ZodOptional<z.ZodString>;
@@ -8394,7 +8395,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
8394
8395
  }, {
8395
8396
  stepCountIs?: number | undefined;
8396
8397
  }>>>>;
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,14 +8417,9 @@ 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
- 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
8420
  id: z.ZodString;
8423
- createdAt: z.ZodOptional<z.ZodString>;
8424
- updatedAt: z.ZodOptional<z.ZodString>;
8421
+ name: z.ZodString;
8425
8422
  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>>>>;
8428
8423
  config: z.ZodObject<{
8429
8424
  type: z.ZodLiteral<"mcp">;
8430
8425
  mcp: z.ZodObject<{
@@ -8444,16 +8439,21 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
8444
8439
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8445
8440
  }, z.core.$strip>;
8446
8441
  }, 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
- name: z.ZodString;
8452
8451
  id: z.ZodString;
8453
- createdAt: z.ZodOptional<z.ZodString>;
8454
- updatedAt: z.ZodOptional<z.ZodString>;
8452
+ name: z.ZodString;
8455
8453
  description: z.ZodString;
8456
8454
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8455
+ createdAt: z.ZodOptional<z.ZodString>;
8456
+ updatedAt: z.ZodOptional<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
- name: z.ZodString;
8466
8465
  id: z.ZodString;
8466
+ name: z.ZodString;
8467
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8467
8468
  createdAt: z.ZodOptional<z.ZodString>;
8468
8469
  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
- name: z.ZodString;
8737
- id: z.ZodString;
8738
8736
  tenantId: z.ZodString;
8737
+ id: z.ZodString;
8738
+ name: 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
- name: z.ZodOptional<z.ZodString>;
8764
- id: z.ZodOptional<z.ZodString>;
8765
8763
  tenantId: z.ZodOptional<z.ZodString>;
8764
+ id: z.ZodOptional<z.ZodString>;
8765
+ name: 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
- name: z.ZodString;
8791
8790
  id: z.ZodString;
8791
+ name: z.ZodString;
8792
+ description: z.ZodString;
8792
8793
  createdAt: z.ZodString;
8793
8794
  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
- name: z.ZodString;
8867
8866
  id: z.ZodString;
8867
+ name: 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
- name: z.ZodOptional<z.ZodString>;
8893
8892
  id: z.ZodOptional<z.ZodString>;
8893
+ name: 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
- name: z.ZodString;
8919
8918
  id: z.ZodString;
8919
+ name: z.ZodString;
8920
8920
  description: z.ZodString;
8921
8921
  models: z.ZodObject<{
8922
8922
  base: z.ZodObject<{
@@ -8938,18 +8938,19 @@ 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>>;
8941
8942
  createdAt: z.ZodOptional<z.ZodString>;
8942
8943
  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
- name: z.ZodString;
8949
8948
  id: z.ZodString;
8949
+ name: z.ZodString;
8950
+ description: z.ZodString;
8951
+ prompt: z.ZodString;
8950
8952
  createdAt: z.ZodOptional<z.ZodString>;
8951
8953
  updatedAt: z.ZodOptional<z.ZodString>;
8952
- description: z.ZodString;
8953
8954
  models: z.ZodOptional<z.ZodObject<{
8954
8955
  base: z.ZodOptional<z.ZodObject<{
8955
8956
  model: z.ZodOptional<z.ZodString>;
@@ -8973,7 +8974,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8973
8974
  }, {
8974
8975
  stepCountIs?: number | undefined;
8975
8976
  }>>>>;
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,14 +8996,9 @@ 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
- 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
8999
  id: z.ZodString;
9002
- createdAt: z.ZodOptional<z.ZodString>;
9003
- updatedAt: z.ZodOptional<z.ZodString>;
9000
+ name: z.ZodString;
9004
9001
  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>>>>;
9007
9002
  config: z.ZodObject<{
9008
9003
  type: z.ZodLiteral<"mcp">;
9009
9004
  mcp: z.ZodObject<{
@@ -9023,16 +9018,21 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9023
9018
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
9024
9019
  }, z.core.$strip>;
9025
9020
  }, 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
- name: z.ZodString;
9031
9030
  id: z.ZodString;
9032
- createdAt: z.ZodOptional<z.ZodString>;
9033
- updatedAt: z.ZodOptional<z.ZodString>;
9031
+ name: z.ZodString;
9034
9032
  description: z.ZodString;
9035
9033
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9034
+ createdAt: z.ZodOptional<z.ZodString>;
9035
+ updatedAt: z.ZodOptional<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
- name: z.ZodString;
9045
9044
  id: z.ZodString;
9045
+ name: z.ZodString;
9046
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9046
9047
  createdAt: z.ZodOptional<z.ZodString>;
9047
9048
  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,14 +9096,9 @@ 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
- 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
9099
  id: z.ZodString;
9102
- createdAt: z.ZodOptional<z.ZodString>;
9103
- updatedAt: z.ZodOptional<z.ZodString>;
9100
+ name: z.ZodString;
9104
9101
  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>>>>;
9107
9102
  config: z.ZodObject<{
9108
9103
  type: z.ZodLiteral<"mcp">;
9109
9104
  mcp: z.ZodObject<{
@@ -9123,9 +9118,22 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9123
9118
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
9124
9119
  }, z.core.$strip>;
9125
9120
  }, 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
+ functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9130
+ id: z.ZodString;
9131
+ name: z.ZodString;
9132
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9133
+ createdAt: z.ZodOptional<z.ZodString>;
9134
+ updatedAt: z.ZodOptional<z.ZodString>;
9135
+ functionId: z.ZodString;
9136
+ }, z.core.$strip>>>;
9129
9137
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9130
9138
  id: z.ZodString;
9131
9139
  createdAt: z.ZodOptional<z.ZodString>;
@@ -9135,11 +9143,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9135
9143
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9136
9144
  }, z.core.$strip>>>;
9137
9145
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9138
- name: z.ZodString;
9139
9146
  id: z.ZodString;
9147
+ name: z.ZodString;
9148
+ description: z.ZodString;
9140
9149
  createdAt: z.ZodOptional<z.ZodString>;
9141
9150
  updatedAt: z.ZodOptional<z.ZodString>;
9142
- description: z.ZodString;
9143
9151
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
9144
9152
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
9145
9153
  component: string;
@@ -9156,8 +9164,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9156
9164
  }>>>>;
9157
9165
  }, z.core.$strip>>>;
9158
9166
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9159
- name: z.ZodString;
9160
9167
  id: z.ZodString;
9168
+ name: z.ZodString;
9161
9169
  description: z.ZodString;
9162
9170
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
9163
9171
  }, {
@@ -9165,12 +9173,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9165
9173
  in: {};
9166
9174
  }>>>;
9167
9175
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9168
- name: z.ZodString;
9169
9176
  id: z.ZodString;
9170
- createdAt: z.ZodOptional<z.ZodString>;
9171
- updatedAt: z.ZodOptional<z.ZodString>;
9177
+ name: z.ZodString;
9172
9178
  description: z.ZodString;
9173
9179
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9180
+ createdAt: z.ZodOptional<z.ZodString>;
9181
+ updatedAt: z.ZodOptional<z.ZodString>;
9174
9182
  baseUrl: z.ZodString;
9175
9183
  }, z.core.$strip>>>;
9176
9184
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -9189,12 +9197,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9189
9197
  }, z.core.$strip>>>;
9190
9198
  }, z.core.$strip>>;
9191
9199
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9192
- name: z.ZodString;
9193
9200
  id: z.ZodString;
9194
- credentialStoreId: z.ZodString;
9195
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9201
+ name: z.ZodString;
9196
9202
  createdAt: z.ZodOptional<z.ZodString>;
9197
9203
  updatedAt: z.ZodOptional<z.ZodString>;
9204
+ credentialStoreId: z.ZodString;
9205
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9198
9206
  type: z.ZodEnum<{
9199
9207
  readonly memory: "memory";
9200
9208
  readonly keychain: "keychain";
@@ -9209,11 +9217,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
9209
9217
  }>;
9210
9218
  declare const ProjectResponse: z.ZodObject<{
9211
9219
  data: z.ZodObject<{
9212
- name: z.ZodString;
9213
9220
  id: z.ZodString;
9221
+ name: z.ZodString;
9222
+ description: z.ZodString;
9214
9223
  createdAt: z.ZodString;
9215
9224
  updatedAt: z.ZodString;
9216
- description: z.ZodString;
9217
9225
  models: z.ZodNullable<z.ZodType<{
9218
9226
  base: {
9219
9227
  model?: string | undefined;
@@ -9287,11 +9295,12 @@ declare const ProjectResponse: z.ZodObject<{
9287
9295
  }, z.core.$strip>;
9288
9296
  declare const SubAgentResponse: z.ZodObject<{
9289
9297
  data: z.ZodObject<{
9290
- name: z.ZodString;
9291
9298
  id: z.ZodString;
9299
+ name: z.ZodString;
9300
+ description: z.ZodString;
9301
+ prompt: z.ZodString;
9292
9302
  createdAt: z.ZodString;
9293
9303
  updatedAt: z.ZodString;
9294
- description: z.ZodString;
9295
9304
  models: z.ZodNullable<z.ZodType<{
9296
9305
  base?: {
9297
9306
  model?: string | undefined;
@@ -9354,17 +9363,17 @@ declare const SubAgentResponse: z.ZodObject<{
9354
9363
  }, {
9355
9364
  stepCountIs?: number | undefined;
9356
9365
  }>>>;
9357
- prompt: z.ZodString;
9358
9366
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
9359
9367
  }, z.core.$strip>;
9360
9368
  }, z.core.$strip>;
9361
9369
  declare const AgentResponse: z.ZodObject<{
9362
9370
  data: z.ZodObject<{
9363
- name: z.ZodString;
9364
9371
  id: z.ZodString;
9372
+ name: z.ZodString;
9373
+ description: z.ZodNullable<z.ZodString>;
9374
+ prompt: z.ZodNullable<z.ZodString>;
9365
9375
  createdAt: z.ZodString;
9366
9376
  updatedAt: z.ZodString;
9367
- description: z.ZodNullable<z.ZodString>;
9368
9377
  models: z.ZodNullable<z.ZodType<{
9369
9378
  base?: {
9370
9379
  model?: string | undefined;
@@ -9429,7 +9438,6 @@ declare const AgentResponse: z.ZodObject<{
9429
9438
  }>>>;
9430
9439
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
9431
9440
  contextConfigId: z.ZodNullable<z.ZodString>;
9432
- prompt: z.ZodNullable<z.ZodString>;
9433
9441
  statusUpdates: z.ZodNullable<z.ZodType<{
9434
9442
  enabled?: boolean | undefined;
9435
9443
  numEvents?: number | undefined;
@@ -9491,14 +9499,9 @@ declare const AgentResponse: z.ZodObject<{
9491
9499
  }, z.core.$strip>;
9492
9500
  declare const ToolResponse: z.ZodObject<{
9493
9501
  data: z.ZodObject<{
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
9502
  id: z.ZodString;
9497
- createdAt: z.ZodString;
9498
- updatedAt: z.ZodString;
9503
+ name: z.ZodString;
9499
9504
  description: z.ZodNullable<z.ZodString>;
9500
- credentialReferenceId: z.ZodNullable<z.ZodString>;
9501
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9502
9505
  config: z.ZodType<{
9503
9506
  type: "mcp";
9504
9507
  mcp: ToolMcpConfig;
@@ -9512,18 +9515,23 @@ declare const ToolResponse: z.ZodObject<{
9512
9515
  type: "mcp";
9513
9516
  mcp: ToolMcpConfig;
9514
9517
  }>>;
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>>>;
9515
9523
  imageUrl: z.ZodNullable<z.ZodString>;
9516
9524
  lastError: z.ZodNullable<z.ZodString>;
9517
9525
  }, z.core.$strip>;
9518
9526
  }, z.core.$strip>;
9519
9527
  declare const ExternalAgentResponse: z.ZodObject<{
9520
9528
  data: z.ZodObject<{
9521
- name: z.ZodString;
9522
9529
  id: z.ZodString;
9523
- createdAt: z.ZodString;
9524
- updatedAt: z.ZodString;
9530
+ name: z.ZodString;
9525
9531
  description: z.ZodString;
9526
9532
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9533
+ createdAt: z.ZodString;
9534
+ updatedAt: z.ZodString;
9527
9535
  baseUrl: z.ZodString;
9528
9536
  }, z.core.$strip>;
9529
9537
  }, z.core.$strip>;
@@ -9538,15 +9546,15 @@ declare const ContextConfigResponse: z.ZodObject<{
9538
9546
  }, z.core.$strip>;
9539
9547
  declare const ApiKeyResponse: z.ZodObject<{
9540
9548
  data: z.ZodObject<{
9541
- name: z.ZodNullable<z.ZodString>;
9542
9549
  id: z.ZodString;
9543
- createdAt: z.ZodString;
9544
- updatedAt: z.ZodString;
9550
+ name: z.ZodNullable<z.ZodString>;
9545
9551
  agentId: z.ZodString;
9546
- expiresAt: z.ZodNullable<z.ZodString>;
9547
9552
  publicId: z.ZodString;
9548
9553
  keyPrefix: z.ZodString;
9549
9554
  lastUsedAt: z.ZodNullable<z.ZodString>;
9555
+ expiresAt: z.ZodNullable<z.ZodString>;
9556
+ createdAt: z.ZodString;
9557
+ updatedAt: z.ZodString;
9550
9558
  }, {
9551
9559
  out: {};
9552
9560
  in: {};
@@ -9554,12 +9562,12 @@ declare const ApiKeyResponse: z.ZodObject<{
9554
9562
  }, z.core.$strip>;
9555
9563
  declare const CredentialReferenceResponse: z.ZodObject<{
9556
9564
  data: z.ZodObject<{
9557
- name: z.ZodString;
9558
9565
  id: z.ZodString;
9559
- credentialStoreId: z.ZodString;
9560
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9566
+ name: z.ZodString;
9561
9567
  createdAt: z.ZodString;
9562
9568
  updatedAt: z.ZodString;
9569
+ credentialStoreId: z.ZodString;
9570
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9563
9571
  type: z.ZodEnum<{
9564
9572
  readonly memory: "memory";
9565
9573
  readonly keychain: "keychain";
@@ -9848,22 +9856,22 @@ declare const FunctionResponse: z.ZodObject<{
9848
9856
  }, z.core.$strip>;
9849
9857
  declare const FunctionToolResponse: z.ZodObject<{
9850
9858
  data: z.ZodObject<{
9851
- name: z.ZodString;
9852
9859
  id: z.ZodString;
9853
- createdAt: z.ZodString;
9854
- updatedAt: z.ZodString;
9860
+ name: z.ZodString;
9855
9861
  description: z.ZodNullable<z.ZodString>;
9856
9862
  agentId: z.ZodString;
9863
+ createdAt: z.ZodString;
9864
+ updatedAt: z.ZodString;
9857
9865
  functionId: z.ZodString;
9858
9866
  }, z.core.$strip>;
9859
9867
  }, z.core.$strip>;
9860
9868
  declare const DataComponentResponse: z.ZodObject<{
9861
9869
  data: z.ZodObject<{
9862
- name: z.ZodString;
9863
9870
  id: z.ZodString;
9871
+ name: z.ZodString;
9872
+ description: z.ZodString;
9864
9873
  createdAt: z.ZodString;
9865
9874
  updatedAt: z.ZodString;
9866
- description: z.ZodString;
9867
9875
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9868
9876
  render: z.ZodNullable<z.ZodType<{
9869
9877
  component: string;
@@ -9882,11 +9890,11 @@ declare const DataComponentResponse: z.ZodObject<{
9882
9890
  }, z.core.$strip>;
9883
9891
  declare const ArtifactComponentResponse: z.ZodObject<{
9884
9892
  data: z.ZodObject<{
9885
- name: z.ZodString;
9886
9893
  id: z.ZodString;
9894
+ name: z.ZodString;
9895
+ description: z.ZodString;
9887
9896
  createdAt: z.ZodString;
9888
9897
  updatedAt: z.ZodString;
9889
- description: z.ZodString;
9890
9898
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9891
9899
  }, z.core.$strip>;
9892
9900
  }, z.core.$strip>;
@@ -9902,21 +9910,21 @@ declare const SubAgentRelationResponse: z.ZodObject<{
9902
9910
  }, z.core.$strip>;
9903
9911
  declare const SubAgentToolRelationResponse: z.ZodObject<{
9904
9912
  data: z.ZodObject<{
9905
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9906
9913
  id: z.ZodString;
9907
9914
  createdAt: z.ZodString;
9908
9915
  updatedAt: z.ZodString;
9916
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9917
+ toolId: z.ZodString;
9909
9918
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9910
9919
  subAgentId: z.ZodString;
9911
- toolId: z.ZodString;
9912
9920
  }, z.core.$strip>;
9913
9921
  }, z.core.$strip>;
9914
9922
  declare const ConversationResponse: z.ZodObject<{
9915
9923
  data: z.ZodObject<{
9916
9924
  id: z.ZodString;
9925
+ title: z.ZodNullable<z.ZodString>;
9917
9926
  createdAt: z.ZodString;
9918
9927
  updatedAt: z.ZodString;
9919
- title: z.ZodNullable<z.ZodString>;
9920
9928
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
9921
9929
  userId: z.ZodNullable<z.ZodString>;
9922
9930
  activeSubAgentId: z.ZodString;
@@ -9948,11 +9956,11 @@ declare const MessageResponse: z.ZodObject<{
9948
9956
  }, z.core.$strip>;
9949
9957
  declare const ProjectListResponse: z.ZodObject<{
9950
9958
  data: z.ZodArray<z.ZodObject<{
9951
- name: z.ZodString;
9952
9959
  id: z.ZodString;
9960
+ name: z.ZodString;
9961
+ description: z.ZodString;
9953
9962
  createdAt: z.ZodString;
9954
9963
  updatedAt: z.ZodString;
9955
- description: z.ZodString;
9956
9964
  models: z.ZodNullable<z.ZodType<{
9957
9965
  base: {
9958
9966
  model?: string | undefined;
@@ -10032,11 +10040,12 @@ declare const ProjectListResponse: z.ZodObject<{
10032
10040
  }, z.core.$strip>;
10033
10041
  declare const SubAgentListResponse: z.ZodObject<{
10034
10042
  data: z.ZodArray<z.ZodObject<{
10035
- name: z.ZodString;
10036
10043
  id: z.ZodString;
10044
+ name: z.ZodString;
10045
+ description: z.ZodString;
10046
+ prompt: z.ZodString;
10037
10047
  createdAt: z.ZodString;
10038
10048
  updatedAt: z.ZodString;
10039
- description: z.ZodString;
10040
10049
  models: z.ZodNullable<z.ZodType<{
10041
10050
  base?: {
10042
10051
  model?: string | undefined;
@@ -10099,7 +10108,6 @@ declare const SubAgentListResponse: z.ZodObject<{
10099
10108
  }, {
10100
10109
  stepCountIs?: number | undefined;
10101
10110
  }>>>;
10102
- prompt: z.ZodString;
10103
10111
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
10104
10112
  }, z.core.$strip>>;
10105
10113
  pagination: z.ZodObject<{
@@ -10111,11 +10119,12 @@ declare const SubAgentListResponse: z.ZodObject<{
10111
10119
  }, z.core.$strip>;
10112
10120
  declare const AgentListResponse: z.ZodObject<{
10113
10121
  data: z.ZodArray<z.ZodObject<{
10114
- name: z.ZodString;
10115
10122
  id: z.ZodString;
10123
+ name: z.ZodString;
10124
+ description: z.ZodNullable<z.ZodString>;
10125
+ prompt: z.ZodNullable<z.ZodString>;
10116
10126
  createdAt: z.ZodString;
10117
10127
  updatedAt: z.ZodString;
10118
- description: z.ZodNullable<z.ZodString>;
10119
10128
  models: z.ZodNullable<z.ZodType<{
10120
10129
  base?: {
10121
10130
  model?: string | undefined;
@@ -10180,7 +10189,6 @@ declare const AgentListResponse: z.ZodObject<{
10180
10189
  }>>>;
10181
10190
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
10182
10191
  contextConfigId: z.ZodNullable<z.ZodString>;
10183
- prompt: z.ZodNullable<z.ZodString>;
10184
10192
  statusUpdates: z.ZodNullable<z.ZodType<{
10185
10193
  enabled?: boolean | undefined;
10186
10194
  numEvents?: number | undefined;
@@ -10248,14 +10256,9 @@ declare const AgentListResponse: z.ZodObject<{
10248
10256
  }, z.core.$strip>;
10249
10257
  declare const ToolListResponse: z.ZodObject<{
10250
10258
  data: z.ZodArray<z.ZodObject<{
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
10259
  id: z.ZodString;
10254
- createdAt: z.ZodString;
10255
- updatedAt: z.ZodString;
10260
+ name: z.ZodString;
10256
10261
  description: z.ZodNullable<z.ZodString>;
10257
- credentialReferenceId: z.ZodNullable<z.ZodString>;
10258
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
10259
10262
  config: z.ZodType<{
10260
10263
  type: "mcp";
10261
10264
  mcp: ToolMcpConfig;
@@ -10269,6 +10272,11 @@ declare const ToolListResponse: z.ZodObject<{
10269
10272
  type: "mcp";
10270
10273
  mcp: ToolMcpConfig;
10271
10274
  }>>;
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>>>;
10272
10280
  imageUrl: z.ZodNullable<z.ZodString>;
10273
10281
  lastError: z.ZodNullable<z.ZodString>;
10274
10282
  }, z.core.$strip>>;
@@ -10281,12 +10289,12 @@ declare const ToolListResponse: z.ZodObject<{
10281
10289
  }, z.core.$strip>;
10282
10290
  declare const ExternalAgentListResponse: z.ZodObject<{
10283
10291
  data: z.ZodArray<z.ZodObject<{
10284
- name: z.ZodString;
10285
10292
  id: z.ZodString;
10286
- createdAt: z.ZodString;
10287
- updatedAt: z.ZodString;
10293
+ name: z.ZodString;
10288
10294
  description: z.ZodString;
10289
10295
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10296
+ createdAt: z.ZodString;
10297
+ updatedAt: z.ZodString;
10290
10298
  baseUrl: z.ZodString;
10291
10299
  }, z.core.$strip>>;
10292
10300
  pagination: z.ZodObject<{
@@ -10313,15 +10321,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
10313
10321
  }, z.core.$strip>;
10314
10322
  declare const ApiKeyListResponse: z.ZodObject<{
10315
10323
  data: z.ZodArray<z.ZodObject<{
10316
- name: z.ZodNullable<z.ZodString>;
10317
10324
  id: z.ZodString;
10318
- createdAt: z.ZodString;
10319
- updatedAt: z.ZodString;
10325
+ name: z.ZodNullable<z.ZodString>;
10320
10326
  agentId: z.ZodString;
10321
- expiresAt: z.ZodNullable<z.ZodString>;
10322
10327
  publicId: z.ZodString;
10323
10328
  keyPrefix: z.ZodString;
10324
10329
  lastUsedAt: z.ZodNullable<z.ZodString>;
10330
+ expiresAt: z.ZodNullable<z.ZodString>;
10331
+ createdAt: z.ZodString;
10332
+ updatedAt: z.ZodString;
10325
10333
  }, {
10326
10334
  out: {};
10327
10335
  in: {};
@@ -10335,12 +10343,12 @@ declare const ApiKeyListResponse: z.ZodObject<{
10335
10343
  }, z.core.$strip>;
10336
10344
  declare const CredentialReferenceListResponse: z.ZodObject<{
10337
10345
  data: z.ZodArray<z.ZodObject<{
10338
- name: z.ZodString;
10339
10346
  id: z.ZodString;
10340
- credentialStoreId: z.ZodString;
10341
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10347
+ name: z.ZodString;
10342
10348
  createdAt: z.ZodString;
10343
10349
  updatedAt: z.ZodString;
10350
+ credentialStoreId: z.ZodString;
10351
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10344
10352
  type: z.ZodEnum<{
10345
10353
  readonly memory: "memory";
10346
10354
  readonly keychain: "keychain";
@@ -10641,12 +10649,12 @@ declare const FunctionListResponse: z.ZodObject<{
10641
10649
  }, z.core.$strip>;
10642
10650
  declare const FunctionToolListResponse: z.ZodObject<{
10643
10651
  data: z.ZodArray<z.ZodObject<{
10644
- name: z.ZodString;
10645
10652
  id: z.ZodString;
10646
- createdAt: z.ZodString;
10647
- updatedAt: z.ZodString;
10653
+ name: z.ZodString;
10648
10654
  description: z.ZodNullable<z.ZodString>;
10649
10655
  agentId: z.ZodString;
10656
+ createdAt: z.ZodString;
10657
+ updatedAt: z.ZodString;
10650
10658
  functionId: z.ZodString;
10651
10659
  }, z.core.$strip>>;
10652
10660
  pagination: z.ZodObject<{
@@ -10658,11 +10666,11 @@ declare const FunctionToolListResponse: z.ZodObject<{
10658
10666
  }, z.core.$strip>;
10659
10667
  declare const DataComponentListResponse: z.ZodObject<{
10660
10668
  data: z.ZodArray<z.ZodObject<{
10661
- name: z.ZodString;
10662
10669
  id: z.ZodString;
10670
+ name: z.ZodString;
10671
+ description: z.ZodString;
10663
10672
  createdAt: z.ZodString;
10664
10673
  updatedAt: z.ZodString;
10665
- description: z.ZodString;
10666
10674
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10667
10675
  render: z.ZodNullable<z.ZodType<{
10668
10676
  component: string;
@@ -10687,11 +10695,11 @@ declare const DataComponentListResponse: z.ZodObject<{
10687
10695
  }, z.core.$strip>;
10688
10696
  declare const ArtifactComponentListResponse: z.ZodObject<{
10689
10697
  data: z.ZodArray<z.ZodObject<{
10690
- name: z.ZodString;
10691
10698
  id: z.ZodString;
10699
+ name: z.ZodString;
10700
+ description: z.ZodString;
10692
10701
  createdAt: z.ZodString;
10693
10702
  updatedAt: z.ZodString;
10694
- description: z.ZodString;
10695
10703
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10696
10704
  }, z.core.$strip>>;
10697
10705
  pagination: z.ZodObject<{
@@ -10719,13 +10727,13 @@ declare const SubAgentRelationListResponse: z.ZodObject<{
10719
10727
  }, z.core.$strip>;
10720
10728
  declare const SubAgentToolRelationListResponse: z.ZodObject<{
10721
10729
  data: z.ZodArray<z.ZodObject<{
10722
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10723
10730
  id: z.ZodString;
10724
10731
  createdAt: z.ZodString;
10725
10732
  updatedAt: z.ZodString;
10733
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10734
+ toolId: z.ZodString;
10726
10735
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10727
10736
  subAgentId: z.ZodString;
10728
- toolId: z.ZodString;
10729
10737
  }, z.core.$strip>>;
10730
10738
  pagination: z.ZodObject<{
10731
10739
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -10737,9 +10745,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
10737
10745
  declare const ConversationListResponse: z.ZodObject<{
10738
10746
  data: z.ZodArray<z.ZodObject<{
10739
10747
  id: z.ZodString;
10748
+ title: z.ZodNullable<z.ZodString>;
10740
10749
  createdAt: z.ZodString;
10741
10750
  updatedAt: z.ZodString;
10742
- title: z.ZodNullable<z.ZodString>;
10743
10751
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
10744
10752
  userId: z.ZodNullable<z.ZodString>;
10745
10753
  activeSubAgentId: z.ZodString;