@inkeep/agents-core 0.22.9 → 0.22.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -774,12 +774,11 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
774
774
  in: {};
775
775
  }>;
776
776
  declare const SubAgentApiSelectSchema: z.ZodObject<{
777
- id: z.ZodString;
778
777
  name: z.ZodString;
779
- description: z.ZodString;
780
- prompt: z.ZodString;
778
+ id: z.ZodString;
781
779
  createdAt: z.ZodString;
782
780
  updatedAt: z.ZodString;
781
+ description: z.ZodString;
783
782
  models: z.ZodNullable<z.ZodType<{
784
783
  base?: {
785
784
  model?: string | undefined;
@@ -842,15 +841,15 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
842
841
  }, {
843
842
  stepCountIs?: number | undefined;
844
843
  }>>>;
844
+ prompt: z.ZodString;
845
845
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
846
846
  }, z.core.$strip>;
847
847
  declare const SubAgentApiInsertSchema: z.ZodObject<{
848
- id: z.ZodString;
849
848
  name: z.ZodString;
850
- description: z.ZodString;
851
- prompt: z.ZodString;
849
+ id: z.ZodString;
852
850
  createdAt: z.ZodOptional<z.ZodString>;
853
851
  updatedAt: z.ZodOptional<z.ZodString>;
852
+ description: z.ZodString;
854
853
  models: z.ZodOptional<z.ZodObject<{
855
854
  base: z.ZodOptional<z.ZodObject<{
856
855
  model: z.ZodOptional<z.ZodString>;
@@ -874,15 +873,15 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
874
873
  }, {
875
874
  stepCountIs?: number | undefined;
876
875
  }>>>>;
876
+ prompt: z.ZodString;
877
877
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
878
878
  }, z.core.$strip>;
879
879
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
880
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
881
880
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
882
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
883
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
881
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
884
882
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
885
883
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
884
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
886
885
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
887
886
  base: z.ZodOptional<z.ZodObject<{
888
887
  model: z.ZodOptional<z.ZodString>;
@@ -906,6 +905,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
906
905
  }, {
907
906
  stepCountIs?: number | undefined;
908
907
  }>>>>>>;
908
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
909
909
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
910
910
  }, z.core.$strip>;
911
911
  declare const SubAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -1185,9 +1185,9 @@ declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{
1185
1185
  }>;
1186
1186
  declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1187
1187
  id: z.ZodString;
1188
- agentId: z.ZodString;
1189
1188
  createdAt: z.ZodOptional<z.ZodString>;
1190
1189
  updatedAt: z.ZodOptional<z.ZodString>;
1190
+ agentId: z.ZodString;
1191
1191
  sourceSubAgentId: z.ZodString;
1192
1192
  targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1193
1193
  externalSubAgentId: z.ZodString;
@@ -1769,12 +1769,11 @@ declare const AgentUpdateSchema: z.ZodObject<{
1769
1769
  in: {};
1770
1770
  }>;
1771
1771
  declare const AgentApiSelectSchema: z.ZodObject<{
1772
- id: z.ZodString;
1773
1772
  name: z.ZodString;
1774
- description: z.ZodNullable<z.ZodString>;
1775
- prompt: z.ZodNullable<z.ZodString>;
1773
+ id: z.ZodString;
1776
1774
  createdAt: z.ZodString;
1777
1775
  updatedAt: z.ZodString;
1776
+ description: z.ZodNullable<z.ZodString>;
1778
1777
  models: z.ZodNullable<z.ZodType<{
1779
1778
  base?: {
1780
1779
  model?: string | undefined;
@@ -1839,6 +1838,7 @@ declare const AgentApiSelectSchema: z.ZodObject<{
1839
1838
  }>>>;
1840
1839
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
1841
1840
  contextConfigId: z.ZodNullable<z.ZodString>;
1841
+ prompt: z.ZodNullable<z.ZodString>;
1842
1842
  statusUpdates: z.ZodNullable<z.ZodType<{
1843
1843
  enabled?: boolean | undefined;
1844
1844
  numEvents?: number | undefined;
@@ -1899,10 +1899,9 @@ declare const AgentApiSelectSchema: z.ZodObject<{
1899
1899
  }, z.core.$strip>;
1900
1900
  declare const AgentApiInsertSchema: z.ZodObject<{
1901
1901
  name: z.ZodString;
1902
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1903
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1904
1902
  createdAt: z.ZodOptional<z.ZodString>;
1905
1903
  updatedAt: z.ZodOptional<z.ZodString>;
1904
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1906
1905
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
1907
1906
  base?: {
1908
1907
  model?: string | undefined;
@@ -1967,6 +1966,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
1967
1966
  }>>>>;
1968
1967
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1969
1968
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1969
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1970
1970
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
1971
1971
  enabled?: boolean | undefined;
1972
1972
  numEvents?: number | undefined;
@@ -2027,12 +2027,11 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2027
2027
  id: z.ZodString;
2028
2028
  }, z.core.$strip>;
2029
2029
  declare const AgentApiUpdateSchema: z.ZodObject<{
2030
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2031
2030
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2032
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2033
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2031
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2034
2032
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2035
2033
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2034
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2036
2035
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2037
2036
  base?: {
2038
2037
  model?: string | undefined;
@@ -2097,6 +2096,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2097
2096
  }>>>>>>;
2098
2097
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2099
2098
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2099
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2100
2100
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2101
2101
  enabled?: boolean | undefined;
2102
2102
  numEvents?: number | undefined;
@@ -2381,9 +2381,9 @@ declare const TaskUpdateSchema: z.ZodObject<{
2381
2381
  }>;
2382
2382
  declare const TaskApiSelectSchema: z.ZodObject<{
2383
2383
  id: z.ZodString;
2384
- agentId: z.ZodString;
2385
2384
  createdAt: z.ZodString;
2386
2385
  updatedAt: z.ZodString;
2386
+ agentId: z.ZodString;
2387
2387
  status: z.ZodString;
2388
2388
  metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
2389
2389
  contextId: z.ZodString;
@@ -2391,9 +2391,9 @@ declare const TaskApiSelectSchema: z.ZodObject<{
2391
2391
  }, z.core.$strip>;
2392
2392
  declare const TaskApiInsertSchema: z.ZodObject<{
2393
2393
  id: z.ZodString;
2394
- agentId: z.ZodString;
2395
2394
  createdAt: z.ZodOptional<z.ZodString>;
2396
2395
  updatedAt: z.ZodOptional<z.ZodString>;
2396
+ agentId: z.ZodString;
2397
2397
  status: z.ZodString;
2398
2398
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
2399
2399
  conversationId: z.ZodOptional<z.ZodString>;
@@ -2402,9 +2402,9 @@ declare const TaskApiInsertSchema: z.ZodObject<{
2402
2402
  }, z.core.$strip>;
2403
2403
  declare const TaskApiUpdateSchema: z.ZodObject<{
2404
2404
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2405
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2406
2405
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2407
2406
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2407
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2408
2408
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2409
2409
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
2410
2410
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -3153,9 +3153,9 @@ declare const ConversationUpdateSchema: z.ZodObject<{
3153
3153
  }>;
3154
3154
  declare const ConversationApiSelectSchema: z.ZodObject<{
3155
3155
  id: z.ZodString;
3156
- title: z.ZodNullable<z.ZodString>;
3157
3156
  createdAt: z.ZodString;
3158
3157
  updatedAt: z.ZodString;
3158
+ title: z.ZodNullable<z.ZodString>;
3159
3159
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
3160
3160
  userId: z.ZodNullable<z.ZodString>;
3161
3161
  activeSubAgentId: z.ZodString;
@@ -3163,9 +3163,9 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
3163
3163
  }, z.core.$strip>;
3164
3164
  declare const ConversationApiInsertSchema: z.ZodObject<{
3165
3165
  id: z.ZodString;
3166
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3167
3166
  createdAt: z.ZodOptional<z.ZodString>;
3168
3167
  updatedAt: z.ZodOptional<z.ZodString>;
3168
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3169
3169
  contextConfigId: z.ZodOptional<z.ZodString>;
3170
3170
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
3171
3171
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3174,9 +3174,9 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
3174
3174
  }, z.core.$strip>;
3175
3175
  declare const ConversationApiUpdateSchema: z.ZodObject<{
3176
3176
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3177
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3178
3177
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3179
3178
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3179
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3180
3180
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3181
3181
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
3182
3182
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -4164,8 +4164,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
4164
4164
  in: {};
4165
4165
  }>;
4166
4166
  declare const ContextCacheApiSelectSchema: z.ZodObject<{
4167
- id: z.ZodString;
4168
4167
  value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4168
+ id: z.ZodString;
4169
4169
  createdAt: z.ZodString;
4170
4170
  updatedAt: z.ZodString;
4171
4171
  contextConfigId: z.ZodString;
@@ -4177,8 +4177,8 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
4177
4177
  fetchDurationMs: z.ZodNullable<z.ZodInt>;
4178
4178
  }, z.core.$strip>;
4179
4179
  declare const ContextCacheApiInsertSchema: z.ZodObject<{
4180
- id: z.ZodString;
4181
4180
  value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4181
+ id: z.ZodString;
4182
4182
  createdAt: z.ZodOptional<z.ZodString>;
4183
4183
  updatedAt: z.ZodOptional<z.ZodString>;
4184
4184
  contextConfigId: z.ZodString;
@@ -4190,8 +4190,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
4190
4190
  fetchDurationMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4191
4191
  }, z.core.$strip>;
4192
4192
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
4193
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4194
4193
  value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
4194
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4195
4195
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4196
4196
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4197
4197
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4260,6 +4260,31 @@ declare const DataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
4260
4260
  }, {}, {
4261
4261
  $type: Record<string, unknown>;
4262
4262
  }>;
4263
+ preview: drizzle_orm_sqlite_core.SQLiteColumn<{
4264
+ name: "preview";
4265
+ tableName: "data_components";
4266
+ dataType: "json";
4267
+ columnType: "SQLiteBlobJson";
4268
+ data: {
4269
+ code: string;
4270
+ data: Record<string, unknown>;
4271
+ };
4272
+ driverParam: Buffer<ArrayBufferLike>;
4273
+ notNull: false;
4274
+ hasDefault: false;
4275
+ isPrimaryKey: false;
4276
+ isAutoincrement: false;
4277
+ hasRuntimeDefault: false;
4278
+ enumValues: undefined;
4279
+ baseColumn: never;
4280
+ identity: undefined;
4281
+ generated: undefined;
4282
+ }, {}, {
4283
+ $type: {
4284
+ code: string;
4285
+ data: Record<string, unknown>;
4286
+ };
4287
+ }>;
4263
4288
  name: drizzle_orm_sqlite_core.SQLiteColumn<{
4264
4289
  name: "name";
4265
4290
  tableName: "data_components";
@@ -4360,6 +4385,19 @@ declare const DataComponentInsertSchema: z.ZodObject<{
4360
4385
  createdAt: z.ZodOptional<z.ZodString>;
4361
4386
  updatedAt: z.ZodOptional<z.ZodString>;
4362
4387
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4388
+ preview: z.ZodOptional<z.ZodNullable<z.ZodType<{
4389
+ code: string;
4390
+ data: Record<string, unknown>;
4391
+ }, {
4392
+ code: string;
4393
+ data: Record<string, unknown>;
4394
+ }, z.core.$ZodTypeInternals<{
4395
+ code: string;
4396
+ data: Record<string, unknown>;
4397
+ }, {
4398
+ code: string;
4399
+ data: Record<string, unknown>;
4400
+ }>>>>;
4363
4401
  name: z.ZodString;
4364
4402
  description: z.ZodString;
4365
4403
  projectId: z.ZodString;
@@ -4370,12 +4408,25 @@ declare const DataComponentInsertSchema: z.ZodObject<{
4370
4408
  in: {};
4371
4409
  }>;
4372
4410
  declare const DataComponentBaseSchema: z.ZodObject<{
4373
- tenantId: z.ZodString;
4374
- projectId: z.ZodString;
4375
- id: z.ZodString;
4376
4411
  name: z.ZodString;
4412
+ id: z.ZodString;
4413
+ projectId: z.ZodString;
4414
+ tenantId: z.ZodString;
4377
4415
  description: z.ZodString;
4378
4416
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4417
+ preview: z.ZodOptional<z.ZodNullable<z.ZodType<{
4418
+ code: string;
4419
+ data: Record<string, unknown>;
4420
+ }, {
4421
+ code: string;
4422
+ data: Record<string, unknown>;
4423
+ }, z.core.$ZodTypeInternals<{
4424
+ code: string;
4425
+ data: Record<string, unknown>;
4426
+ }, {
4427
+ code: string;
4428
+ data: Record<string, unknown>;
4429
+ }>>>>;
4379
4430
  }, {
4380
4431
  out: {};
4381
4432
  in: {};
@@ -4384,6 +4435,19 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
4384
4435
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4385
4436
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4386
4437
  props: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
4438
+ preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
4439
+ code: string;
4440
+ data: Record<string, unknown>;
4441
+ }, {
4442
+ code: string;
4443
+ data: Record<string, unknown>;
4444
+ }, z.core.$ZodTypeInternals<{
4445
+ code: string;
4446
+ data: Record<string, unknown>;
4447
+ }, {
4448
+ code: string;
4449
+ data: Record<string, unknown>;
4450
+ }>>>>>;
4387
4451
  name: z.ZodOptional<z.ZodString>;
4388
4452
  description: z.ZodOptional<z.ZodString>;
4389
4453
  projectId: z.ZodOptional<z.ZodString>;
@@ -4394,28 +4458,67 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
4394
4458
  in: {};
4395
4459
  }>;
4396
4460
  declare const DataComponentApiSelectSchema: z.ZodObject<{
4397
- id: z.ZodString;
4398
4461
  name: z.ZodString;
4399
- description: z.ZodString;
4462
+ id: z.ZodString;
4400
4463
  createdAt: z.ZodString;
4401
4464
  updatedAt: z.ZodString;
4465
+ description: z.ZodString;
4402
4466
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
4467
+ preview: z.ZodNullable<z.ZodType<{
4468
+ code: string;
4469
+ data: Record<string, unknown>;
4470
+ }, {
4471
+ code: string;
4472
+ data: Record<string, unknown>;
4473
+ }, z.core.$ZodTypeInternals<{
4474
+ code: string;
4475
+ data: Record<string, unknown>;
4476
+ }, {
4477
+ code: string;
4478
+ data: Record<string, unknown>;
4479
+ }>>>;
4403
4480
  }, z.core.$strip>;
4404
4481
  declare const DataComponentApiInsertSchema: z.ZodObject<{
4405
- id: z.ZodString;
4406
4482
  name: z.ZodString;
4407
- description: z.ZodString;
4483
+ id: z.ZodString;
4408
4484
  createdAt: z.ZodOptional<z.ZodString>;
4409
4485
  updatedAt: z.ZodOptional<z.ZodString>;
4486
+ description: z.ZodString;
4410
4487
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4488
+ preview: z.ZodOptional<z.ZodNullable<z.ZodType<{
4489
+ code: string;
4490
+ data: Record<string, unknown>;
4491
+ }, {
4492
+ code: string;
4493
+ data: Record<string, unknown>;
4494
+ }, z.core.$ZodTypeInternals<{
4495
+ code: string;
4496
+ data: Record<string, unknown>;
4497
+ }, {
4498
+ code: string;
4499
+ data: Record<string, unknown>;
4500
+ }>>>>;
4411
4501
  }, z.core.$strip>;
4412
4502
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
4413
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4414
4503
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4415
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4504
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4416
4505
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4417
4506
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4507
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4418
4508
  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>>>>>>>;
4509
+ preview: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
4510
+ code: string;
4511
+ data: Record<string, unknown>;
4512
+ }, {
4513
+ code: string;
4514
+ data: Record<string, unknown>;
4515
+ }, z.core.$ZodTypeInternals<{
4516
+ code: string;
4517
+ data: Record<string, unknown>;
4518
+ }, {
4519
+ code: string;
4520
+ data: Record<string, unknown>;
4521
+ }>>>>>>;
4419
4522
  }, z.core.$strip>;
4420
4523
  declare const SubAgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
4421
4524
  dataComponentId: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -4900,16 +5003,16 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
4900
5003
  in: {};
4901
5004
  }>;
4902
5005
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
4903
- id: z.ZodString;
4904
5006
  name: z.ZodString;
4905
- description: z.ZodString;
5007
+ id: z.ZodString;
4906
5008
  createdAt: z.ZodString;
4907
5009
  updatedAt: z.ZodString;
5010
+ description: z.ZodString;
4908
5011
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
4909
5012
  }, z.core.$strip>;
4910
5013
  declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
4911
- id: z.ZodString;
4912
5014
  name: z.ZodString;
5015
+ id: z.ZodString;
4913
5016
  description: z.ZodString;
4914
5017
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4915
5018
  }, {
@@ -4917,11 +5020,11 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
4917
5020
  in: {};
4918
5021
  }>;
4919
5022
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
4920
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4921
5023
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4922
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5024
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4923
5025
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4924
5026
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5027
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4925
5028
  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>>>>>>>;
4926
5029
  }, z.core.$strip>;
4927
5030
  declare const SubAgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -5152,42 +5255,41 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
5152
5255
  in: {};
5153
5256
  }>;
5154
5257
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
5155
- id: z.ZodString;
5156
5258
  name: z.ZodString;
5157
- description: z.ZodString;
5158
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5259
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5260
+ id: z.ZodString;
5159
5261
  createdAt: z.ZodString;
5160
5262
  updatedAt: z.ZodString;
5263
+ description: z.ZodString;
5264
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5161
5265
  baseUrl: z.ZodString;
5162
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5163
5266
  }, z.core.$strip>;
5164
5267
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
5165
- id: z.ZodString;
5166
5268
  name: z.ZodString;
5167
- description: z.ZodString;
5168
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5269
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
5270
+ id: z.ZodString;
5169
5271
  createdAt: z.ZodOptional<z.ZodString>;
5170
5272
  updatedAt: z.ZodOptional<z.ZodString>;
5273
+ description: z.ZodString;
5274
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5171
5275
  baseUrl: z.ZodString;
5172
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
5173
5276
  }, z.core.$strip>;
5174
5277
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
5175
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5176
5278
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5177
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5178
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5279
+ 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>>>>>>>;
5280
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5179
5281
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5180
5282
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5283
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5284
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5181
5285
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5182
- 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>>>>>>>;
5183
5286
  }, z.core.$strip>;
5184
5287
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5185
- id: z.ZodString;
5186
5288
  name: z.ZodString;
5187
- description: z.ZodString;
5188
- prompt: z.ZodString;
5289
+ id: z.ZodString;
5189
5290
  createdAt: z.ZodString;
5190
5291
  updatedAt: z.ZodString;
5292
+ description: z.ZodString;
5191
5293
  models: z.ZodNullable<z.ZodType<{
5192
5294
  base?: {
5193
5295
  model?: string | undefined;
@@ -5250,17 +5352,18 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5250
5352
  }, {
5251
5353
  stepCountIs?: number | undefined;
5252
5354
  }>>>;
5355
+ prompt: z.ZodString;
5253
5356
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
5254
5357
  type: z.ZodLiteral<"internal">;
5255
5358
  }, z.core.$strip>, z.ZodObject<{
5256
- id: z.ZodString;
5257
5359
  name: z.ZodString;
5258
- description: z.ZodString;
5259
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5360
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5361
+ id: z.ZodString;
5260
5362
  createdAt: z.ZodString;
5261
5363
  updatedAt: z.ZodString;
5364
+ description: z.ZodString;
5365
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5262
5366
  baseUrl: z.ZodString;
5263
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5264
5367
  type: z.ZodLiteral<"external">;
5265
5368
  }, z.core.$strip>], "type">;
5266
5369
  declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -5512,24 +5615,24 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
5512
5615
  }>;
5513
5616
  declare const ApiKeyUpdateSchema: z.ZodObject<{
5514
5617
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5618
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5515
5619
  agentId: z.ZodOptional<z.ZodString>;
5516
5620
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5517
5621
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5518
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5519
5622
  }, {
5520
5623
  out: {};
5521
5624
  in: {};
5522
5625
  }>;
5523
5626
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
5524
- id: z.ZodString;
5525
5627
  name: z.ZodNullable<z.ZodString>;
5628
+ id: z.ZodString;
5629
+ createdAt: z.ZodString;
5630
+ updatedAt: z.ZodString;
5526
5631
  agentId: z.ZodString;
5527
5632
  publicId: z.ZodString;
5528
5633
  keyPrefix: z.ZodString;
5529
5634
  lastUsedAt: z.ZodNullable<z.ZodString>;
5530
5635
  expiresAt: z.ZodNullable<z.ZodString>;
5531
- createdAt: z.ZodString;
5532
- updatedAt: z.ZodString;
5533
5636
  }, {
5534
5637
  out: {};
5535
5638
  in: {};
@@ -5537,15 +5640,15 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
5537
5640
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
5538
5641
  data: z.ZodObject<{
5539
5642
  apiKey: z.ZodObject<{
5540
- id: z.ZodString;
5541
5643
  name: z.ZodNullable<z.ZodString>;
5644
+ id: z.ZodString;
5645
+ createdAt: z.ZodString;
5646
+ updatedAt: z.ZodString;
5542
5647
  agentId: z.ZodString;
5543
5648
  publicId: z.ZodString;
5544
5649
  keyPrefix: z.ZodString;
5545
5650
  lastUsedAt: z.ZodNullable<z.ZodString>;
5546
5651
  expiresAt: z.ZodNullable<z.ZodString>;
5547
- createdAt: z.ZodString;
5548
- updatedAt: z.ZodString;
5549
5652
  }, {
5550
5653
  out: {};
5551
5654
  in: {};
@@ -5555,20 +5658,20 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
5555
5658
  }, z.core.$strip>;
5556
5659
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
5557
5660
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5558
- agentId: z.ZodString;
5559
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5560
5661
  createdAt: z.ZodOptional<z.ZodString>;
5561
5662
  updatedAt: z.ZodOptional<z.ZodString>;
5663
+ agentId: z.ZodString;
5664
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5562
5665
  }, {
5563
5666
  out: {};
5564
5667
  in: {};
5565
5668
  }>;
5566
5669
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
5567
5670
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5671
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5568
5672
  agentId: z.ZodOptional<z.ZodString>;
5569
5673
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5570
5674
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5571
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5572
5675
  }, {
5573
5676
  out: {};
5574
5677
  in: {};
@@ -5611,10 +5714,10 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
5611
5714
  }>;
5612
5715
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5613
5716
  id: z.ZodString;
5614
- createdAt: z.ZodString;
5615
- updatedAt: z.ZodString;
5616
5717
  credentialStoreId: z.ZodString;
5617
5718
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5719
+ createdAt: z.ZodString;
5720
+ updatedAt: z.ZodString;
5618
5721
  type: z.ZodEnum<{
5619
5722
  readonly memory: "memory";
5620
5723
  readonly keychain: "keychain";
@@ -5878,10 +5981,10 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5878
5981
  }, z.core.$strip>;
5879
5982
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
5880
5983
  id: z.ZodString;
5881
- createdAt: z.ZodOptional<z.ZodString>;
5882
- updatedAt: z.ZodOptional<z.ZodString>;
5883
5984
  credentialStoreId: z.ZodString;
5884
5985
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5986
+ createdAt: z.ZodOptional<z.ZodString>;
5987
+ updatedAt: z.ZodOptional<z.ZodString>;
5885
5988
  type: z.ZodEnum<{
5886
5989
  readonly memory: "memory";
5887
5990
  readonly keychain: "keychain";
@@ -5890,10 +5993,10 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
5890
5993
  }, z.core.$strip>;
5891
5994
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
5892
5995
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5893
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5894
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5895
5996
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5896
5997
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
5998
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5999
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5897
6000
  type: z.ZodOptional<z.ZodEnum<{
5898
6001
  readonly memory: "memory";
5899
6002
  readonly keychain: "keychain";
@@ -5949,9 +6052,9 @@ declare const McpToolSchema: z.ZodObject<{
5949
6052
  in: {};
5950
6053
  }>;
5951
6054
  declare const MCPToolConfigSchema: z.ZodObject<{
5952
- id: z.ZodString;
5953
6055
  name: z.ZodString;
5954
6056
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6057
+ id: z.ZodString;
5955
6058
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
5956
6059
  imageUrl: z.ZodOptional<z.ZodString>;
5957
6060
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5981,10 +6084,10 @@ declare const MCPToolConfigSchema: z.ZodObject<{
5981
6084
  }, z.core.$strip>>;
5982
6085
  credential: z.ZodOptional<z.ZodObject<{
5983
6086
  id: z.ZodString;
5984
- createdAt: z.ZodOptional<z.ZodString>;
5985
- updatedAt: z.ZodOptional<z.ZodString>;
5986
6087
  credentialStoreId: z.ZodString;
5987
6088
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6089
+ createdAt: z.ZodOptional<z.ZodString>;
6090
+ updatedAt: z.ZodOptional<z.ZodString>;
5988
6091
  type: z.ZodEnum<{
5989
6092
  readonly memory: "memory";
5990
6093
  readonly keychain: "keychain";
@@ -6032,9 +6135,14 @@ declare const ToolUpdateSchema: z.ZodObject<{
6032
6135
  in: {};
6033
6136
  }>;
6034
6137
  declare const ToolApiSelectSchema: z.ZodObject<{
6035
- id: z.ZodString;
6036
6138
  name: z.ZodString;
6139
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
6140
+ id: z.ZodString;
6141
+ createdAt: z.ZodString;
6142
+ updatedAt: z.ZodString;
6037
6143
  description: z.ZodNullable<z.ZodString>;
6144
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
6145
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6038
6146
  config: z.ZodType<{
6039
6147
  type: "mcp";
6040
6148
  mcp: ToolMcpConfig;
@@ -6048,18 +6156,18 @@ declare const ToolApiSelectSchema: z.ZodObject<{
6048
6156
  type: "mcp";
6049
6157
  mcp: ToolMcpConfig;
6050
6158
  }>>;
6051
- credentialReferenceId: z.ZodNullable<z.ZodString>;
6052
- createdAt: z.ZodString;
6053
- updatedAt: z.ZodString;
6054
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
6055
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6056
6159
  imageUrl: z.ZodNullable<z.ZodString>;
6057
6160
  lastError: z.ZodNullable<z.ZodString>;
6058
6161
  }, z.core.$strip>;
6059
6162
  declare const ToolApiInsertSchema: z.ZodObject<{
6060
- id: z.ZodString;
6061
6163
  name: z.ZodString;
6164
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6165
+ id: z.ZodString;
6166
+ createdAt: z.ZodOptional<z.ZodString>;
6167
+ updatedAt: z.ZodOptional<z.ZodString>;
6062
6168
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6169
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6170
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6063
6171
  config: z.ZodObject<{
6064
6172
  type: z.ZodLiteral<"mcp">;
6065
6173
  mcp: z.ZodObject<{
@@ -6079,18 +6187,18 @@ declare const ToolApiInsertSchema: z.ZodObject<{
6079
6187
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6080
6188
  }, z.core.$strip>;
6081
6189
  }, z.core.$strip>;
6082
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6083
- createdAt: z.ZodOptional<z.ZodString>;
6084
- updatedAt: z.ZodOptional<z.ZodString>;
6085
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6086
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6087
6190
  imageUrl: z.ZodOptional<z.ZodString>;
6088
6191
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6089
6192
  }, z.core.$strip>;
6090
6193
  declare const ToolApiUpdateSchema: z.ZodObject<{
6091
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6092
6194
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6195
+ 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>>>>>>>;
6196
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6197
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6198
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6093
6199
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6200
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6201
+ capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
6094
6202
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6095
6203
  type: z.ZodLiteral<"mcp">;
6096
6204
  mcp: z.ZodObject<{
@@ -6110,11 +6218,6 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
6110
6218
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6111
6219
  }, z.core.$strip>;
6112
6220
  }, z.core.$strip>>>;
6113
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6114
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6115
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6116
- 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>>>>>>>;
6117
- capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
6118
6221
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6119
6222
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6120
6223
  }, z.core.$strip>;
@@ -6320,29 +6423,29 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
6320
6423
  in: {};
6321
6424
  }>;
6322
6425
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
6323
- id: z.ZodString;
6324
6426
  name: z.ZodString;
6325
- description: z.ZodNullable<z.ZodString>;
6326
- agentId: z.ZodString;
6427
+ id: z.ZodString;
6327
6428
  createdAt: z.ZodString;
6328
6429
  updatedAt: z.ZodString;
6430
+ description: z.ZodNullable<z.ZodString>;
6431
+ agentId: z.ZodString;
6329
6432
  functionId: z.ZodString;
6330
6433
  }, z.core.$strip>;
6331
6434
  declare const FunctionToolApiInsertSchema: z.ZodObject<{
6332
- id: z.ZodString;
6333
6435
  name: z.ZodString;
6334
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6436
+ id: z.ZodString;
6335
6437
  createdAt: z.ZodOptional<z.ZodString>;
6336
6438
  updatedAt: z.ZodOptional<z.ZodString>;
6439
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6337
6440
  functionId: z.ZodString;
6338
6441
  }, z.core.$strip>;
6339
6442
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
6340
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6341
6443
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6342
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6343
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6444
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6344
6445
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6345
6446
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6447
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6448
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6346
6449
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6347
6450
  }, z.core.$strip>;
6348
6451
  declare const FunctionSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -6588,10 +6691,10 @@ declare const FetchDefinitionSchema: z.ZodObject<{
6588
6691
  defaultValue: z.ZodOptional<z.ZodAny>;
6589
6692
  credential: z.ZodOptional<z.ZodObject<{
6590
6693
  id: z.ZodString;
6591
- createdAt: z.ZodOptional<z.ZodString>;
6592
- updatedAt: z.ZodOptional<z.ZodString>;
6593
6694
  credentialStoreId: z.ZodString;
6594
6695
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6696
+ createdAt: z.ZodOptional<z.ZodString>;
6697
+ updatedAt: z.ZodOptional<z.ZodString>;
6595
6698
  type: z.ZodEnum<{
6596
6699
  readonly memory: "memory";
6597
6700
  readonly keychain: "keychain";
@@ -6613,23 +6716,23 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
6613
6716
  in: {};
6614
6717
  }>;
6615
6718
  declare const ContextConfigInsertSchema: z.ZodObject<{
6616
- tenantId: z.ZodString;
6617
- projectId: z.ZodString;
6618
6719
  id: z.ZodOptional<z.ZodString>;
6619
- agentId: z.ZodString;
6720
+ projectId: z.ZodString;
6721
+ tenantId: z.ZodString;
6620
6722
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6621
6723
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6724
+ agentId: z.ZodString;
6622
6725
  }, {
6623
6726
  out: {};
6624
6727
  in: {};
6625
6728
  }>;
6626
6729
  declare const ContextConfigUpdateSchema: z.ZodObject<{
6627
- tenantId: z.ZodOptional<z.ZodString>;
6628
- projectId: z.ZodOptional<z.ZodString>;
6629
6730
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6630
- agentId: z.ZodOptional<z.ZodString>;
6731
+ projectId: z.ZodOptional<z.ZodString>;
6732
+ tenantId: z.ZodOptional<z.ZodString>;
6631
6733
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6632
6734
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6735
+ agentId: z.ZodOptional<z.ZodString>;
6633
6736
  }, {
6634
6737
  out: {};
6635
6738
  in: {};
@@ -6874,31 +6977,31 @@ declare const SubAgentToolRelationUpdateSchema: z.ZodObject<{
6874
6977
  in: {};
6875
6978
  }>;
6876
6979
  declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
6980
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6877
6981
  id: z.ZodString;
6878
6982
  createdAt: z.ZodString;
6879
6983
  updatedAt: z.ZodString;
6880
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6881
- toolId: z.ZodString;
6882
6984
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6883
6985
  subAgentId: z.ZodString;
6986
+ toolId: z.ZodString;
6884
6987
  }, z.core.$strip>;
6885
6988
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
6989
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
6886
6990
  id: z.ZodString;
6887
6991
  createdAt: z.ZodOptional<z.ZodString>;
6888
6992
  updatedAt: z.ZodOptional<z.ZodString>;
6889
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
6890
- toolId: z.ZodString;
6891
6993
  selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6892
6994
  subAgentId: z.ZodString;
6995
+ toolId: z.ZodString;
6893
6996
  }, z.core.$strip>;
6894
6997
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
6998
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
6895
6999
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6896
7000
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6897
7001
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6898
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
6899
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6900
7002
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
6901
7003
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7004
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6902
7005
  }, z.core.$strip>;
6903
7006
  declare const LedgerArtifactSelectSchema: drizzle_zod.BuildSchema<"select", {
6904
7007
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -7612,12 +7715,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
7612
7715
  in: {};
7613
7716
  }>;
7614
7717
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
7615
- id: z.ZodString;
7616
7718
  type: z.ZodString;
7617
7719
  name: z.ZodNullable<z.ZodString>;
7618
- description: z.ZodNullable<z.ZodString>;
7720
+ id: z.ZodString;
7619
7721
  createdAt: z.ZodString;
7620
7722
  updatedAt: z.ZodString;
7723
+ description: z.ZodNullable<z.ZodString>;
7621
7724
  metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7622
7725
  contextId: z.ZodString;
7623
7726
  visibility: z.ZodNullable<z.ZodString>;
@@ -7630,12 +7733,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
7630
7733
  derivedFrom: z.ZodNullable<z.ZodString>;
7631
7734
  }, z.core.$strip>;
7632
7735
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
7633
- id: z.ZodString;
7634
7736
  type: z.ZodOptional<z.ZodString>;
7635
7737
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7636
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7738
+ id: z.ZodString;
7637
7739
  createdAt: z.ZodOptional<z.ZodString>;
7638
7740
  updatedAt: z.ZodOptional<z.ZodString>;
7741
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7639
7742
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
7640
7743
  contextId: z.ZodString;
7641
7744
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7648,12 +7751,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
7648
7751
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7649
7752
  }, z.core.$strip>;
7650
7753
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
7651
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7652
7754
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7653
7755
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7654
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7756
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7655
7757
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7656
7758
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7759
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7657
7760
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
7658
7761
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7659
7762
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -7696,12 +7799,11 @@ declare const CanUseItemSchema: z.ZodObject<{
7696
7799
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7697
7800
  }, z.core.$strip>;
7698
7801
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
7699
- id: z.ZodString;
7700
7802
  name: z.ZodString;
7701
- description: z.ZodString;
7702
- prompt: z.ZodString;
7803
+ id: z.ZodString;
7703
7804
  createdAt: z.ZodOptional<z.ZodString>;
7704
7805
  updatedAt: z.ZodOptional<z.ZodString>;
7806
+ description: z.ZodString;
7705
7807
  models: z.ZodOptional<z.ZodObject<{
7706
7808
  base: z.ZodOptional<z.ZodObject<{
7707
7809
  model: z.ZodOptional<z.ZodString>;
@@ -7725,6 +7827,7 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
7725
7827
  }, {
7726
7828
  stepCountIs?: number | undefined;
7727
7829
  }>>>>;
7830
+ prompt: z.ZodString;
7728
7831
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7729
7832
  type: z.ZodLiteral<"internal">;
7730
7833
  canUse: z.ZodArray<z.ZodObject<{
@@ -7740,19 +7843,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
7740
7843
  }, z.core.$strip>;
7741
7844
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7742
7845
  name: z.ZodString;
7743
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7744
7846
  createdAt: z.ZodOptional<z.ZodString>;
7745
7847
  updatedAt: z.ZodOptional<z.ZodString>;
7848
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7746
7849
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7747
7850
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7748
7851
  id: z.ZodString;
7749
7852
  subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
7750
- id: z.ZodString;
7751
7853
  name: z.ZodString;
7752
- description: z.ZodString;
7753
- prompt: z.ZodString;
7854
+ id: z.ZodString;
7754
7855
  createdAt: z.ZodOptional<z.ZodString>;
7755
7856
  updatedAt: z.ZodOptional<z.ZodString>;
7857
+ description: z.ZodString;
7756
7858
  models: z.ZodOptional<z.ZodObject<{
7757
7859
  base: z.ZodOptional<z.ZodObject<{
7758
7860
  model: z.ZodOptional<z.ZodString>;
@@ -7776,6 +7878,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7776
7878
  }, {
7777
7879
  stepCountIs?: number | undefined;
7778
7880
  }>>>>;
7881
+ prompt: z.ZodString;
7779
7882
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7780
7883
  type: z.ZodLiteral<"internal">;
7781
7884
  canUse: z.ZodArray<z.ZodObject<{
@@ -7789,19 +7892,24 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7789
7892
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7790
7893
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7791
7894
  }, z.core.$strip>, z.ZodObject<{
7792
- id: z.ZodString;
7793
7895
  name: z.ZodString;
7794
- description: z.ZodString;
7795
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7896
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7897
+ id: z.ZodString;
7796
7898
  createdAt: z.ZodOptional<z.ZodString>;
7797
7899
  updatedAt: z.ZodOptional<z.ZodString>;
7900
+ description: z.ZodString;
7901
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7798
7902
  baseUrl: z.ZodString;
7799
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7800
7903
  }, z.core.$strip>]>>;
7801
7904
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7802
- id: z.ZodString;
7803
7905
  name: z.ZodString;
7906
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7907
+ id: z.ZodString;
7908
+ createdAt: z.ZodOptional<z.ZodString>;
7909
+ updatedAt: z.ZodOptional<z.ZodString>;
7804
7910
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7911
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7912
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
7805
7913
  config: z.ZodObject<{
7806
7914
  type: z.ZodLiteral<"mcp">;
7807
7915
  mcp: z.ZodObject<{
@@ -7821,20 +7929,15 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7821
7929
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
7822
7930
  }, z.core.$strip>;
7823
7931
  }, z.core.$strip>;
7824
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7825
- createdAt: z.ZodOptional<z.ZodString>;
7826
- updatedAt: z.ZodOptional<z.ZodString>;
7827
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7828
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
7829
7932
  imageUrl: z.ZodOptional<z.ZodString>;
7830
7933
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7831
7934
  }, z.core.$strip>>>;
7832
7935
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7833
- id: z.ZodString;
7834
7936
  name: z.ZodString;
7835
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7937
+ id: z.ZodString;
7836
7938
  createdAt: z.ZodOptional<z.ZodString>;
7837
7939
  updatedAt: z.ZodOptional<z.ZodString>;
7940
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7838
7941
  functionId: z.ZodString;
7839
7942
  }, z.core.$strip>>>;
7840
7943
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8101,9 +8204,9 @@ declare const ProjectSelectSchema: drizzle_zod.BuildSchema<"select", {
8101
8204
  }>;
8102
8205
  }, undefined, undefined>;
8103
8206
  declare const ProjectInsertSchema: z.ZodObject<{
8104
- tenantId: z.ZodString;
8105
- id: z.ZodString;
8106
8207
  name: z.ZodString;
8208
+ id: z.ZodString;
8209
+ tenantId: z.ZodString;
8107
8210
  description: z.ZodString;
8108
8211
  models: z.ZodObject<{
8109
8212
  base: z.ZodObject<{
@@ -8128,9 +8231,9 @@ declare const ProjectInsertSchema: z.ZodObject<{
8128
8231
  in: {};
8129
8232
  }>;
8130
8233
  declare const ProjectUpdateSchema: z.ZodObject<{
8131
- tenantId: z.ZodOptional<z.ZodString>;
8132
- id: z.ZodOptional<z.ZodString>;
8133
8234
  name: z.ZodOptional<z.ZodString>;
8235
+ id: z.ZodOptional<z.ZodString>;
8236
+ tenantId: z.ZodOptional<z.ZodString>;
8134
8237
  description: z.ZodOptional<z.ZodString>;
8135
8238
  models: z.ZodOptional<z.ZodObject<{
8136
8239
  base: z.ZodObject<{
@@ -8155,11 +8258,11 @@ declare const ProjectUpdateSchema: z.ZodObject<{
8155
8258
  in: {};
8156
8259
  }>;
8157
8260
  declare const ProjectApiSelectSchema: z.ZodObject<{
8158
- id: z.ZodString;
8159
8261
  name: z.ZodString;
8160
- description: z.ZodString;
8262
+ id: z.ZodString;
8161
8263
  createdAt: z.ZodString;
8162
8264
  updatedAt: z.ZodString;
8265
+ description: z.ZodString;
8163
8266
  models: z.ZodNullable<z.ZodType<{
8164
8267
  base: {
8165
8268
  model?: string | undefined;
@@ -8231,8 +8334,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
8231
8334
  in: {};
8232
8335
  }>;
8233
8336
  declare const ProjectApiInsertSchema: z.ZodObject<{
8234
- id: z.ZodString;
8235
8337
  name: z.ZodString;
8338
+ id: z.ZodString;
8236
8339
  description: z.ZodString;
8237
8340
  models: z.ZodObject<{
8238
8341
  base: z.ZodObject<{
@@ -8257,8 +8360,8 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
8257
8360
  in: {};
8258
8361
  }>;
8259
8362
  declare const ProjectApiUpdateSchema: z.ZodObject<{
8260
- id: z.ZodOptional<z.ZodString>;
8261
8363
  name: z.ZodOptional<z.ZodString>;
8364
+ id: z.ZodOptional<z.ZodString>;
8262
8365
  description: z.ZodOptional<z.ZodString>;
8263
8366
  models: z.ZodOptional<z.ZodObject<{
8264
8367
  base: z.ZodObject<{
@@ -8283,8 +8386,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
8283
8386
  in: {};
8284
8387
  }>;
8285
8388
  declare const FullProjectDefinitionSchema: z.ZodObject<{
8286
- id: z.ZodString;
8287
8389
  name: z.ZodString;
8390
+ id: z.ZodString;
8288
8391
  description: z.ZodString;
8289
8392
  models: z.ZodObject<{
8290
8393
  base: z.ZodObject<{
@@ -8306,19 +8409,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8306
8409
  }, z.core.$strip>>;
8307
8410
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
8308
8411
  name: z.ZodString;
8309
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8310
8412
  createdAt: z.ZodOptional<z.ZodString>;
8311
8413
  updatedAt: z.ZodOptional<z.ZodString>;
8414
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8312
8415
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8313
8416
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8314
8417
  id: z.ZodString;
8315
8418
  subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
8316
- id: z.ZodString;
8317
8419
  name: z.ZodString;
8318
- description: z.ZodString;
8319
- prompt: z.ZodString;
8420
+ id: z.ZodString;
8320
8421
  createdAt: z.ZodOptional<z.ZodString>;
8321
8422
  updatedAt: z.ZodOptional<z.ZodString>;
8423
+ description: z.ZodString;
8322
8424
  models: z.ZodOptional<z.ZodObject<{
8323
8425
  base: z.ZodOptional<z.ZodObject<{
8324
8426
  model: z.ZodOptional<z.ZodString>;
@@ -8342,6 +8444,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8342
8444
  }, {
8343
8445
  stepCountIs?: number | undefined;
8344
8446
  }>>>>;
8447
+ prompt: z.ZodString;
8345
8448
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
8346
8449
  type: z.ZodLiteral<"internal">;
8347
8450
  canUse: z.ZodArray<z.ZodObject<{
@@ -8355,19 +8458,24 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8355
8458
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
8356
8459
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
8357
8460
  }, z.core.$strip>, z.ZodObject<{
8358
- id: z.ZodString;
8359
8461
  name: z.ZodString;
8360
- description: z.ZodString;
8361
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8462
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8463
+ id: z.ZodString;
8362
8464
  createdAt: z.ZodOptional<z.ZodString>;
8363
8465
  updatedAt: z.ZodOptional<z.ZodString>;
8466
+ description: z.ZodString;
8467
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8364
8468
  baseUrl: z.ZodString;
8365
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8366
8469
  }, z.core.$strip>]>>;
8367
8470
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8368
- id: z.ZodString;
8369
8471
  name: z.ZodString;
8472
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8473
+ id: z.ZodString;
8474
+ createdAt: z.ZodOptional<z.ZodString>;
8475
+ updatedAt: z.ZodOptional<z.ZodString>;
8370
8476
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8477
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8478
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8371
8479
  config: z.ZodObject<{
8372
8480
  type: z.ZodLiteral<"mcp">;
8373
8481
  mcp: z.ZodObject<{
@@ -8387,20 +8495,15 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8387
8495
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8388
8496
  }, z.core.$strip>;
8389
8497
  }, z.core.$strip>;
8390
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8391
- createdAt: z.ZodOptional<z.ZodString>;
8392
- updatedAt: z.ZodOptional<z.ZodString>;
8393
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8394
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8395
8498
  imageUrl: z.ZodOptional<z.ZodString>;
8396
8499
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8397
8500
  }, z.core.$strip>>>;
8398
8501
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8399
- id: z.ZodString;
8400
8502
  name: z.ZodString;
8401
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8503
+ id: z.ZodString;
8402
8504
  createdAt: z.ZodOptional<z.ZodString>;
8403
8505
  updatedAt: z.ZodOptional<z.ZodString>;
8506
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8404
8507
  functionId: z.ZodString;
8405
8508
  }, z.core.$strip>>>;
8406
8509
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8451,9 +8554,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8451
8554
  prompt: z.ZodOptional<z.ZodString>;
8452
8555
  }, z.core.$strip>>;
8453
8556
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
8454
- id: z.ZodString;
8455
8557
  name: z.ZodString;
8558
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8559
+ id: z.ZodString;
8560
+ createdAt: z.ZodOptional<z.ZodString>;
8561
+ updatedAt: z.ZodOptional<z.ZodString>;
8456
8562
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8563
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8564
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8457
8565
  config: z.ZodObject<{
8458
8566
  type: z.ZodLiteral<"mcp">;
8459
8567
  mcp: z.ZodObject<{
@@ -8473,11 +8581,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8473
8581
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8474
8582
  }, z.core.$strip>;
8475
8583
  }, z.core.$strip>;
8476
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8477
- createdAt: z.ZodOptional<z.ZodString>;
8478
- updatedAt: z.ZodOptional<z.ZodString>;
8479
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8480
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8481
8584
  imageUrl: z.ZodOptional<z.ZodString>;
8482
8585
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8483
8586
  }, z.core.$strip>>;
@@ -8490,16 +8593,29 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8490
8593
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8491
8594
  }, z.core.$strip>>>;
8492
8595
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8493
- id: z.ZodString;
8494
8596
  name: z.ZodString;
8495
- description: z.ZodString;
8597
+ id: z.ZodString;
8496
8598
  createdAt: z.ZodOptional<z.ZodString>;
8497
8599
  updatedAt: z.ZodOptional<z.ZodString>;
8600
+ description: z.ZodString;
8498
8601
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8602
+ preview: z.ZodOptional<z.ZodNullable<z.ZodType<{
8603
+ code: string;
8604
+ data: Record<string, unknown>;
8605
+ }, {
8606
+ code: string;
8607
+ data: Record<string, unknown>;
8608
+ }, z.core.$ZodTypeInternals<{
8609
+ code: string;
8610
+ data: Record<string, unknown>;
8611
+ }, {
8612
+ code: string;
8613
+ data: Record<string, unknown>;
8614
+ }>>>>;
8499
8615
  }, z.core.$strip>>>;
8500
8616
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8501
- id: z.ZodString;
8502
8617
  name: z.ZodString;
8618
+ id: z.ZodString;
8503
8619
  description: z.ZodString;
8504
8620
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8505
8621
  }, {
@@ -8523,10 +8639,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8523
8639
  }, z.core.$strip>>;
8524
8640
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8525
8641
  id: z.ZodString;
8526
- createdAt: z.ZodOptional<z.ZodString>;
8527
- updatedAt: z.ZodOptional<z.ZodString>;
8528
8642
  credentialStoreId: z.ZodString;
8529
8643
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8644
+ createdAt: z.ZodOptional<z.ZodString>;
8645
+ updatedAt: z.ZodOptional<z.ZodString>;
8530
8646
  type: z.ZodEnum<{
8531
8647
  readonly memory: "memory";
8532
8648
  readonly keychain: "keychain";
@@ -8541,11 +8657,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8541
8657
  }>;
8542
8658
  declare const ProjectResponse: z.ZodObject<{
8543
8659
  data: z.ZodObject<{
8544
- id: z.ZodString;
8545
8660
  name: z.ZodString;
8546
- description: z.ZodString;
8661
+ id: z.ZodString;
8547
8662
  createdAt: z.ZodString;
8548
8663
  updatedAt: z.ZodString;
8664
+ description: z.ZodString;
8549
8665
  models: z.ZodNullable<z.ZodType<{
8550
8666
  base: {
8551
8667
  model?: string | undefined;
@@ -8619,12 +8735,11 @@ declare const ProjectResponse: z.ZodObject<{
8619
8735
  }, z.core.$strip>;
8620
8736
  declare const SubAgentResponse: z.ZodObject<{
8621
8737
  data: z.ZodObject<{
8622
- id: z.ZodString;
8623
8738
  name: z.ZodString;
8624
- description: z.ZodString;
8625
- prompt: z.ZodString;
8739
+ id: z.ZodString;
8626
8740
  createdAt: z.ZodString;
8627
8741
  updatedAt: z.ZodString;
8742
+ description: z.ZodString;
8628
8743
  models: z.ZodNullable<z.ZodType<{
8629
8744
  base?: {
8630
8745
  model?: string | undefined;
@@ -8687,17 +8802,17 @@ declare const SubAgentResponse: z.ZodObject<{
8687
8802
  }, {
8688
8803
  stepCountIs?: number | undefined;
8689
8804
  }>>>;
8805
+ prompt: z.ZodString;
8690
8806
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
8691
8807
  }, z.core.$strip>;
8692
8808
  }, z.core.$strip>;
8693
8809
  declare const AgentResponse: z.ZodObject<{
8694
8810
  data: z.ZodObject<{
8695
- id: z.ZodString;
8696
8811
  name: z.ZodString;
8697
- description: z.ZodNullable<z.ZodString>;
8698
- prompt: z.ZodNullable<z.ZodString>;
8812
+ id: z.ZodString;
8699
8813
  createdAt: z.ZodString;
8700
8814
  updatedAt: z.ZodString;
8815
+ description: z.ZodNullable<z.ZodString>;
8701
8816
  models: z.ZodNullable<z.ZodType<{
8702
8817
  base?: {
8703
8818
  model?: string | undefined;
@@ -8762,6 +8877,7 @@ declare const AgentResponse: z.ZodObject<{
8762
8877
  }>>>;
8763
8878
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
8764
8879
  contextConfigId: z.ZodNullable<z.ZodString>;
8880
+ prompt: z.ZodNullable<z.ZodString>;
8765
8881
  statusUpdates: z.ZodNullable<z.ZodType<{
8766
8882
  enabled?: boolean | undefined;
8767
8883
  numEvents?: number | undefined;
@@ -8823,9 +8939,14 @@ declare const AgentResponse: z.ZodObject<{
8823
8939
  }, z.core.$strip>;
8824
8940
  declare const ToolResponse: z.ZodObject<{
8825
8941
  data: z.ZodObject<{
8826
- id: z.ZodString;
8827
8942
  name: z.ZodString;
8943
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
8944
+ id: z.ZodString;
8945
+ createdAt: z.ZodString;
8946
+ updatedAt: z.ZodString;
8828
8947
  description: z.ZodNullable<z.ZodString>;
8948
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
8949
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
8829
8950
  config: z.ZodType<{
8830
8951
  type: "mcp";
8831
8952
  mcp: ToolMcpConfig;
@@ -8839,25 +8960,20 @@ declare const ToolResponse: z.ZodObject<{
8839
8960
  type: "mcp";
8840
8961
  mcp: ToolMcpConfig;
8841
8962
  }>>;
8842
- credentialReferenceId: z.ZodNullable<z.ZodString>;
8843
- createdAt: z.ZodString;
8844
- updatedAt: z.ZodString;
8845
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
8846
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
8847
8963
  imageUrl: z.ZodNullable<z.ZodString>;
8848
8964
  lastError: z.ZodNullable<z.ZodString>;
8849
8965
  }, z.core.$strip>;
8850
8966
  }, z.core.$strip>;
8851
8967
  declare const ExternalAgentResponse: z.ZodObject<{
8852
8968
  data: z.ZodObject<{
8853
- id: z.ZodString;
8854
8969
  name: z.ZodString;
8855
- description: z.ZodString;
8856
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8970
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
8971
+ id: z.ZodString;
8857
8972
  createdAt: z.ZodString;
8858
8973
  updatedAt: z.ZodString;
8974
+ description: z.ZodString;
8975
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8859
8976
  baseUrl: z.ZodString;
8860
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
8861
8977
  }, z.core.$strip>;
8862
8978
  }, z.core.$strip>;
8863
8979
  declare const ContextConfigResponse: z.ZodObject<{
@@ -8871,15 +8987,15 @@ declare const ContextConfigResponse: z.ZodObject<{
8871
8987
  }, z.core.$strip>;
8872
8988
  declare const ApiKeyResponse: z.ZodObject<{
8873
8989
  data: z.ZodObject<{
8874
- id: z.ZodString;
8875
8990
  name: z.ZodNullable<z.ZodString>;
8991
+ id: z.ZodString;
8992
+ createdAt: z.ZodString;
8993
+ updatedAt: z.ZodString;
8876
8994
  agentId: z.ZodString;
8877
8995
  publicId: z.ZodString;
8878
8996
  keyPrefix: z.ZodString;
8879
8997
  lastUsedAt: z.ZodNullable<z.ZodString>;
8880
8998
  expiresAt: z.ZodNullable<z.ZodString>;
8881
- createdAt: z.ZodString;
8882
- updatedAt: z.ZodString;
8883
8999
  }, {
8884
9000
  out: {};
8885
9001
  in: {};
@@ -8888,10 +9004,10 @@ declare const ApiKeyResponse: z.ZodObject<{
8888
9004
  declare const CredentialReferenceResponse: z.ZodObject<{
8889
9005
  data: z.ZodObject<{
8890
9006
  id: z.ZodString;
8891
- createdAt: z.ZodString;
8892
- updatedAt: z.ZodString;
8893
9007
  credentialStoreId: z.ZodString;
8894
9008
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9009
+ createdAt: z.ZodString;
9010
+ updatedAt: z.ZodString;
8895
9011
  type: z.ZodEnum<{
8896
9012
  readonly memory: "memory";
8897
9013
  readonly keychain: "keychain";
@@ -9166,32 +9282,45 @@ declare const FunctionResponse: z.ZodObject<{
9166
9282
  }, z.core.$strip>;
9167
9283
  declare const FunctionToolResponse: z.ZodObject<{
9168
9284
  data: z.ZodObject<{
9169
- id: z.ZodString;
9170
9285
  name: z.ZodString;
9171
- description: z.ZodNullable<z.ZodString>;
9172
- agentId: z.ZodString;
9286
+ id: z.ZodString;
9173
9287
  createdAt: z.ZodString;
9174
9288
  updatedAt: z.ZodString;
9289
+ description: z.ZodNullable<z.ZodString>;
9290
+ agentId: z.ZodString;
9175
9291
  functionId: z.ZodString;
9176
9292
  }, z.core.$strip>;
9177
9293
  }, z.core.$strip>;
9178
9294
  declare const DataComponentResponse: z.ZodObject<{
9179
9295
  data: z.ZodObject<{
9180
- id: z.ZodString;
9181
9296
  name: z.ZodString;
9182
- description: z.ZodString;
9297
+ id: z.ZodString;
9183
9298
  createdAt: z.ZodString;
9184
9299
  updatedAt: z.ZodString;
9300
+ description: z.ZodString;
9185
9301
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9302
+ preview: z.ZodNullable<z.ZodType<{
9303
+ code: string;
9304
+ data: Record<string, unknown>;
9305
+ }, {
9306
+ code: string;
9307
+ data: Record<string, unknown>;
9308
+ }, z.core.$ZodTypeInternals<{
9309
+ code: string;
9310
+ data: Record<string, unknown>;
9311
+ }, {
9312
+ code: string;
9313
+ data: Record<string, unknown>;
9314
+ }>>>;
9186
9315
  }, z.core.$strip>;
9187
9316
  }, z.core.$strip>;
9188
9317
  declare const ArtifactComponentResponse: z.ZodObject<{
9189
9318
  data: z.ZodObject<{
9190
- id: z.ZodString;
9191
9319
  name: z.ZodString;
9192
- description: z.ZodString;
9320
+ id: z.ZodString;
9193
9321
  createdAt: z.ZodString;
9194
9322
  updatedAt: z.ZodString;
9323
+ description: z.ZodString;
9195
9324
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9196
9325
  }, z.core.$strip>;
9197
9326
  }, z.core.$strip>;
@@ -9208,21 +9337,21 @@ declare const SubAgentRelationResponse: z.ZodObject<{
9208
9337
  }, z.core.$strip>;
9209
9338
  declare const SubAgentToolRelationResponse: z.ZodObject<{
9210
9339
  data: z.ZodObject<{
9340
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9211
9341
  id: z.ZodString;
9212
9342
  createdAt: z.ZodString;
9213
9343
  updatedAt: z.ZodString;
9214
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9215
- toolId: z.ZodString;
9216
9344
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9217
9345
  subAgentId: z.ZodString;
9346
+ toolId: z.ZodString;
9218
9347
  }, z.core.$strip>;
9219
9348
  }, z.core.$strip>;
9220
9349
  declare const ConversationResponse: z.ZodObject<{
9221
9350
  data: z.ZodObject<{
9222
9351
  id: z.ZodString;
9223
- title: z.ZodNullable<z.ZodString>;
9224
9352
  createdAt: z.ZodString;
9225
9353
  updatedAt: z.ZodString;
9354
+ title: z.ZodNullable<z.ZodString>;
9226
9355
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
9227
9356
  userId: z.ZodNullable<z.ZodString>;
9228
9357
  activeSubAgentId: z.ZodString;
@@ -9252,11 +9381,11 @@ declare const MessageResponse: z.ZodObject<{
9252
9381
  }, z.core.$strip>;
9253
9382
  declare const ProjectListResponse: z.ZodObject<{
9254
9383
  data: z.ZodArray<z.ZodObject<{
9255
- id: z.ZodString;
9256
9384
  name: z.ZodString;
9257
- description: z.ZodString;
9385
+ id: z.ZodString;
9258
9386
  createdAt: z.ZodString;
9259
9387
  updatedAt: z.ZodString;
9388
+ description: z.ZodString;
9260
9389
  models: z.ZodNullable<z.ZodType<{
9261
9390
  base: {
9262
9391
  model?: string | undefined;
@@ -9336,12 +9465,11 @@ declare const ProjectListResponse: z.ZodObject<{
9336
9465
  }, z.core.$strip>;
9337
9466
  declare const SubAgentListResponse: z.ZodObject<{
9338
9467
  data: z.ZodArray<z.ZodObject<{
9339
- id: z.ZodString;
9340
9468
  name: z.ZodString;
9341
- description: z.ZodString;
9342
- prompt: z.ZodString;
9469
+ id: z.ZodString;
9343
9470
  createdAt: z.ZodString;
9344
9471
  updatedAt: z.ZodString;
9472
+ description: z.ZodString;
9345
9473
  models: z.ZodNullable<z.ZodType<{
9346
9474
  base?: {
9347
9475
  model?: string | undefined;
@@ -9404,6 +9532,7 @@ declare const SubAgentListResponse: z.ZodObject<{
9404
9532
  }, {
9405
9533
  stepCountIs?: number | undefined;
9406
9534
  }>>>;
9535
+ prompt: z.ZodString;
9407
9536
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
9408
9537
  }, z.core.$strip>>;
9409
9538
  pagination: z.ZodObject<{
@@ -9415,12 +9544,11 @@ declare const SubAgentListResponse: z.ZodObject<{
9415
9544
  }, z.core.$strip>;
9416
9545
  declare const AgentListResponse: z.ZodObject<{
9417
9546
  data: z.ZodArray<z.ZodObject<{
9418
- id: z.ZodString;
9419
9547
  name: z.ZodString;
9420
- description: z.ZodNullable<z.ZodString>;
9421
- prompt: z.ZodNullable<z.ZodString>;
9548
+ id: z.ZodString;
9422
9549
  createdAt: z.ZodString;
9423
9550
  updatedAt: z.ZodString;
9551
+ description: z.ZodNullable<z.ZodString>;
9424
9552
  models: z.ZodNullable<z.ZodType<{
9425
9553
  base?: {
9426
9554
  model?: string | undefined;
@@ -9485,6 +9613,7 @@ declare const AgentListResponse: z.ZodObject<{
9485
9613
  }>>>;
9486
9614
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
9487
9615
  contextConfigId: z.ZodNullable<z.ZodString>;
9616
+ prompt: z.ZodNullable<z.ZodString>;
9488
9617
  statusUpdates: z.ZodNullable<z.ZodType<{
9489
9618
  enabled?: boolean | undefined;
9490
9619
  numEvents?: number | undefined;
@@ -9552,9 +9681,14 @@ declare const AgentListResponse: z.ZodObject<{
9552
9681
  }, z.core.$strip>;
9553
9682
  declare const ToolListResponse: z.ZodObject<{
9554
9683
  data: z.ZodArray<z.ZodObject<{
9555
- id: z.ZodString;
9556
9684
  name: z.ZodString;
9685
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9686
+ id: z.ZodString;
9687
+ createdAt: z.ZodString;
9688
+ updatedAt: z.ZodString;
9557
9689
  description: z.ZodNullable<z.ZodString>;
9690
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
9691
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9558
9692
  config: z.ZodType<{
9559
9693
  type: "mcp";
9560
9694
  mcp: ToolMcpConfig;
@@ -9568,11 +9702,6 @@ declare const ToolListResponse: z.ZodObject<{
9568
9702
  type: "mcp";
9569
9703
  mcp: ToolMcpConfig;
9570
9704
  }>>;
9571
- credentialReferenceId: z.ZodNullable<z.ZodString>;
9572
- createdAt: z.ZodString;
9573
- updatedAt: z.ZodString;
9574
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9575
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9576
9705
  imageUrl: z.ZodNullable<z.ZodString>;
9577
9706
  lastError: z.ZodNullable<z.ZodString>;
9578
9707
  }, z.core.$strip>>;
@@ -9585,14 +9714,14 @@ declare const ToolListResponse: z.ZodObject<{
9585
9714
  }, z.core.$strip>;
9586
9715
  declare const ExternalAgentListResponse: z.ZodObject<{
9587
9716
  data: z.ZodArray<z.ZodObject<{
9588
- id: z.ZodString;
9589
9717
  name: z.ZodString;
9590
- description: z.ZodString;
9591
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9718
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
9719
+ id: z.ZodString;
9592
9720
  createdAt: z.ZodString;
9593
9721
  updatedAt: z.ZodString;
9722
+ description: z.ZodString;
9723
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9594
9724
  baseUrl: z.ZodString;
9595
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
9596
9725
  }, z.core.$strip>>;
9597
9726
  pagination: z.ZodObject<{
9598
9727
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -9618,15 +9747,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
9618
9747
  }, z.core.$strip>;
9619
9748
  declare const ApiKeyListResponse: z.ZodObject<{
9620
9749
  data: z.ZodArray<z.ZodObject<{
9621
- id: z.ZodString;
9622
9750
  name: z.ZodNullable<z.ZodString>;
9751
+ id: z.ZodString;
9752
+ createdAt: z.ZodString;
9753
+ updatedAt: z.ZodString;
9623
9754
  agentId: z.ZodString;
9624
9755
  publicId: z.ZodString;
9625
9756
  keyPrefix: z.ZodString;
9626
9757
  lastUsedAt: z.ZodNullable<z.ZodString>;
9627
9758
  expiresAt: z.ZodNullable<z.ZodString>;
9628
- createdAt: z.ZodString;
9629
- updatedAt: z.ZodString;
9630
9759
  }, {
9631
9760
  out: {};
9632
9761
  in: {};
@@ -9641,10 +9770,10 @@ declare const ApiKeyListResponse: z.ZodObject<{
9641
9770
  declare const CredentialReferenceListResponse: z.ZodObject<{
9642
9771
  data: z.ZodArray<z.ZodObject<{
9643
9772
  id: z.ZodString;
9644
- createdAt: z.ZodString;
9645
- updatedAt: z.ZodString;
9646
9773
  credentialStoreId: z.ZodString;
9647
9774
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9775
+ createdAt: z.ZodString;
9776
+ updatedAt: z.ZodString;
9648
9777
  type: z.ZodEnum<{
9649
9778
  readonly memory: "memory";
9650
9779
  readonly keychain: "keychain";
@@ -9931,12 +10060,12 @@ declare const FunctionListResponse: z.ZodObject<{
9931
10060
  }, z.core.$strip>;
9932
10061
  declare const FunctionToolListResponse: z.ZodObject<{
9933
10062
  data: z.ZodArray<z.ZodObject<{
9934
- id: z.ZodString;
9935
10063
  name: z.ZodString;
9936
- description: z.ZodNullable<z.ZodString>;
9937
- agentId: z.ZodString;
10064
+ id: z.ZodString;
9938
10065
  createdAt: z.ZodString;
9939
10066
  updatedAt: z.ZodString;
10067
+ description: z.ZodNullable<z.ZodString>;
10068
+ agentId: z.ZodString;
9940
10069
  functionId: z.ZodString;
9941
10070
  }, z.core.$strip>>;
9942
10071
  pagination: z.ZodObject<{
@@ -9948,12 +10077,25 @@ declare const FunctionToolListResponse: z.ZodObject<{
9948
10077
  }, z.core.$strip>;
9949
10078
  declare const DataComponentListResponse: z.ZodObject<{
9950
10079
  data: z.ZodArray<z.ZodObject<{
9951
- id: z.ZodString;
9952
10080
  name: z.ZodString;
9953
- description: z.ZodString;
10081
+ id: z.ZodString;
9954
10082
  createdAt: z.ZodString;
9955
10083
  updatedAt: z.ZodString;
10084
+ description: z.ZodString;
9956
10085
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10086
+ preview: z.ZodNullable<z.ZodType<{
10087
+ code: string;
10088
+ data: Record<string, unknown>;
10089
+ }, {
10090
+ code: string;
10091
+ data: Record<string, unknown>;
10092
+ }, z.core.$ZodTypeInternals<{
10093
+ code: string;
10094
+ data: Record<string, unknown>;
10095
+ }, {
10096
+ code: string;
10097
+ data: Record<string, unknown>;
10098
+ }>>>;
9957
10099
  }, z.core.$strip>>;
9958
10100
  pagination: z.ZodObject<{
9959
10101
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -9964,11 +10106,11 @@ declare const DataComponentListResponse: z.ZodObject<{
9964
10106
  }, z.core.$strip>;
9965
10107
  declare const ArtifactComponentListResponse: z.ZodObject<{
9966
10108
  data: z.ZodArray<z.ZodObject<{
9967
- id: z.ZodString;
9968
10109
  name: z.ZodString;
9969
- description: z.ZodString;
10110
+ id: z.ZodString;
9970
10111
  createdAt: z.ZodString;
9971
10112
  updatedAt: z.ZodString;
10113
+ description: z.ZodString;
9972
10114
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9973
10115
  }, z.core.$strip>>;
9974
10116
  pagination: z.ZodObject<{
@@ -9997,13 +10139,13 @@ declare const SubAgentRelationListResponse: z.ZodObject<{
9997
10139
  }, z.core.$strip>;
9998
10140
  declare const SubAgentToolRelationListResponse: z.ZodObject<{
9999
10141
  data: z.ZodArray<z.ZodObject<{
10142
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10000
10143
  id: z.ZodString;
10001
10144
  createdAt: z.ZodString;
10002
10145
  updatedAt: z.ZodString;
10003
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10004
- toolId: z.ZodString;
10005
10146
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10006
10147
  subAgentId: z.ZodString;
10148
+ toolId: z.ZodString;
10007
10149
  }, z.core.$strip>>;
10008
10150
  pagination: z.ZodObject<{
10009
10151
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -10015,9 +10157,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
10015
10157
  declare const ConversationListResponse: z.ZodObject<{
10016
10158
  data: z.ZodArray<z.ZodObject<{
10017
10159
  id: z.ZodString;
10018
- title: z.ZodNullable<z.ZodString>;
10019
10160
  createdAt: z.ZodString;
10020
10161
  updatedAt: z.ZodString;
10162
+ title: z.ZodNullable<z.ZodString>;
10021
10163
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
10022
10164
  userId: z.ZodNullable<z.ZodString>;
10023
10165
  activeSubAgentId: z.ZodString;