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