@inkeep/agents-core 0.0.0-dev-20251109004542 → 0.0.0-dev-20251110174655

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