@inkeep/agents-core 0.34.0 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/{chunk-UMFCT6A6.js → chunk-DYGTCLJO.js} +1 -1
  2. package/dist/{chunk-4VUM4EJL.js → chunk-J5AHY6M2.js} +1 -1
  3. package/dist/{chunk-E6R6PML7.js → chunk-SIAA4J6H.js} +1 -3
  4. package/dist/{chunk-YECQCT5N.js → chunk-W3L4M7FO.js} +6 -8
  5. package/dist/{chunk-EKV6C5GS.js → chunk-YZ5ZBVHJ.js} +104 -5
  6. package/dist/client-exports.cjs +92 -1
  7. package/dist/client-exports.d.cts +5 -5
  8. package/dist/client-exports.d.ts +5 -5
  9. package/dist/client-exports.js +2 -2
  10. package/dist/db/schema.cjs +100 -1
  11. package/dist/db/schema.d.cts +2 -2
  12. package/dist/db/schema.d.ts +2 -2
  13. package/dist/db/schema.js +1 -1
  14. package/dist/index.cjs +1541 -1317
  15. package/dist/index.d.cts +462 -252
  16. package/dist/index.d.ts +462 -252
  17. package/dist/index.js +589 -478
  18. package/dist/{schema-CaEvIRdT.d.cts → schema-DQBYINXB.d.cts} +1105 -3
  19. package/dist/{schema-DvYv9PQ1.d.ts → schema-DlcSfZRM.d.ts} +1105 -3
  20. package/dist/types/index.d.cts +2 -2
  21. package/dist/types/index.d.ts +2 -2
  22. package/dist/{utility-htaewQEL.d.cts → utility-Ct1UMzr_.d.cts} +305 -305
  23. package/dist/{utility-htaewQEL.d.ts → utility-Ct1UMzr_.d.ts} +305 -305
  24. package/dist/utils/schema-conversion.cjs +6 -10
  25. package/dist/utils/schema-conversion.js +1 -1
  26. package/dist/validation/index.cjs +92 -1
  27. package/dist/validation/index.d.cts +2 -2
  28. package/dist/validation/index.d.ts +2 -2
  29. package/dist/validation/index.js +2 -2
  30. package/drizzle/0001_fair_malice.sql +115 -0
  31. package/drizzle/meta/0001_snapshot.json +3520 -0
  32. package/drizzle/meta/_journal.json +8 -1
  33. package/package.json +3 -1
@@ -1013,12 +1013,11 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
1013
1013
  in: {};
1014
1014
  }>;
1015
1015
  declare const SubAgentApiSelectSchema: z.ZodObject<{
1016
- id: z.ZodString;
1017
1016
  name: z.ZodString;
1018
- description: z.ZodString;
1019
- prompt: z.ZodString;
1017
+ id: z.ZodString;
1020
1018
  createdAt: z.ZodString;
1021
1019
  updatedAt: z.ZodString;
1020
+ description: z.ZodString;
1022
1021
  models: z.ZodNullable<z.ZodType<{
1023
1022
  base?: {
1024
1023
  model?: string | undefined;
@@ -1081,15 +1080,15 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
1081
1080
  }, {
1082
1081
  stepCountIs?: number | undefined;
1083
1082
  }>>>;
1083
+ prompt: z.ZodString;
1084
1084
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
1085
1085
  }, z.core.$strip>;
1086
1086
  declare const SubAgentApiInsertSchema: z.ZodObject<{
1087
- id: z.ZodString;
1088
1087
  name: z.ZodString;
1089
- description: z.ZodString;
1090
- prompt: z.ZodString;
1088
+ id: z.ZodString;
1091
1089
  createdAt: z.ZodOptional<z.ZodString>;
1092
1090
  updatedAt: z.ZodOptional<z.ZodString>;
1091
+ description: z.ZodString;
1093
1092
  models: z.ZodOptional<z.ZodObject<{
1094
1093
  base: z.ZodOptional<z.ZodObject<{
1095
1094
  model: z.ZodOptional<z.ZodString>;
@@ -1113,15 +1112,15 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
1113
1112
  }, {
1114
1113
  stepCountIs?: number | undefined;
1115
1114
  }>>>>;
1115
+ prompt: z.ZodString;
1116
1116
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
1117
1117
  }, z.core.$strip>;
1118
1118
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
1119
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1120
1119
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1121
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1122
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1120
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1123
1121
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1124
1122
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1123
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1125
1124
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
1126
1125
  base: z.ZodOptional<z.ZodObject<{
1127
1126
  model: z.ZodOptional<z.ZodString>;
@@ -1145,6 +1144,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
1145
1144
  }, {
1146
1145
  stepCountIs?: number | undefined;
1147
1146
  }>>>>>>;
1147
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1148
1148
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
1149
1149
  }, z.core.$strip>;
1150
1150
  declare const SubAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -1573,9 +1573,9 @@ declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{
1573
1573
  }>;
1574
1574
  declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1575
1575
  id: z.ZodString;
1576
- agentId: z.ZodString;
1577
1576
  createdAt: z.ZodOptional<z.ZodString>;
1578
1577
  updatedAt: z.ZodOptional<z.ZodString>;
1578
+ agentId: z.ZodString;
1579
1579
  sourceSubAgentId: z.ZodString;
1580
1580
  targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1581
1581
  relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2447,12 +2447,11 @@ declare const AgentUpdateSchema: z.ZodObject<{
2447
2447
  in: {};
2448
2448
  }>;
2449
2449
  declare const AgentApiSelectSchema: z.ZodObject<{
2450
- id: z.ZodString;
2451
2450
  name: z.ZodString;
2452
- description: z.ZodNullable<z.ZodString>;
2453
- prompt: z.ZodNullable<z.ZodString>;
2451
+ id: z.ZodString;
2454
2452
  createdAt: z.ZodString;
2455
2453
  updatedAt: z.ZodString;
2454
+ description: z.ZodNullable<z.ZodString>;
2456
2455
  models: z.ZodNullable<z.ZodType<{
2457
2456
  base?: {
2458
2457
  model?: string | undefined;
@@ -2517,6 +2516,7 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2517
2516
  }>>>;
2518
2517
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
2519
2518
  contextConfigId: z.ZodNullable<z.ZodString>;
2519
+ prompt: z.ZodNullable<z.ZodString>;
2520
2520
  statusUpdates: z.ZodNullable<z.ZodType<{
2521
2521
  enabled?: boolean | undefined;
2522
2522
  numEvents?: number | undefined;
@@ -2577,10 +2577,9 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2577
2577
  }, z.core.$strip>;
2578
2578
  declare const AgentApiInsertSchema: z.ZodObject<{
2579
2579
  name: z.ZodString;
2580
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2581
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2582
2580
  createdAt: z.ZodOptional<z.ZodString>;
2583
2581
  updatedAt: z.ZodOptional<z.ZodString>;
2582
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2584
2583
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2585
2584
  base?: {
2586
2585
  model?: string | undefined;
@@ -2645,6 +2644,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2645
2644
  }>>>>;
2646
2645
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2647
2646
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2647
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2648
2648
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2649
2649
  enabled?: boolean | undefined;
2650
2650
  numEvents?: number | undefined;
@@ -2705,12 +2705,11 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2705
2705
  id: z.ZodString;
2706
2706
  }, z.core.$strip>;
2707
2707
  declare const AgentApiUpdateSchema: z.ZodObject<{
2708
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2709
2708
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2710
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2711
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2709
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2712
2710
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2713
2711
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2712
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2714
2713
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2715
2714
  base?: {
2716
2715
  model?: string | undefined;
@@ -2775,6 +2774,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2775
2774
  }>>>>>>;
2776
2775
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2777
2776
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2777
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2778
2778
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2779
2779
  enabled?: boolean | undefined;
2780
2780
  numEvents?: number | undefined;
@@ -3242,32 +3242,32 @@ declare const TaskUpdateSchema: z.ZodObject<{
3242
3242
  }>;
3243
3243
  declare const TaskApiSelectSchema: z.ZodObject<{
3244
3244
  id: z.ZodString;
3245
- agentId: z.ZodString;
3246
3245
  createdAt: z.ZodString;
3247
3246
  updatedAt: z.ZodString;
3248
- status: z.ZodString;
3249
3247
  metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
3248
+ status: z.ZodString;
3249
+ agentId: z.ZodString;
3250
3250
  contextId: z.ZodString;
3251
3251
  subAgentId: z.ZodString;
3252
3252
  }, z.core.$strip>;
3253
3253
  declare const TaskApiInsertSchema: z.ZodObject<{
3254
3254
  id: z.ZodString;
3255
- agentId: z.ZodString;
3256
3255
  createdAt: z.ZodOptional<z.ZodString>;
3257
3256
  updatedAt: z.ZodOptional<z.ZodString>;
3258
- status: z.ZodString;
3259
3257
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
3258
+ status: z.ZodString;
3259
+ agentId: z.ZodString;
3260
3260
  conversationId: z.ZodOptional<z.ZodString>;
3261
3261
  contextId: z.ZodString;
3262
3262
  subAgentId: z.ZodString;
3263
3263
  }, z.core.$strip>;
3264
3264
  declare const TaskApiUpdateSchema: z.ZodObject<{
3265
3265
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3266
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3267
3266
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3268
3267
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3269
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3270
3268
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
3269
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3270
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3271
3271
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3272
3272
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3273
3273
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4568,33 +4568,33 @@ declare const ConversationUpdateSchema: z.ZodObject<{
4568
4568
  }>;
4569
4569
  declare const ConversationApiSelectSchema: z.ZodObject<{
4570
4570
  id: z.ZodString;
4571
- title: z.ZodNullable<z.ZodString>;
4572
4571
  createdAt: z.ZodString;
4573
4572
  updatedAt: z.ZodString;
4574
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
4575
4573
  userId: z.ZodNullable<z.ZodString>;
4574
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
4575
+ title: z.ZodNullable<z.ZodString>;
4576
4576
  activeSubAgentId: z.ZodString;
4577
4577
  lastContextResolution: z.ZodNullable<z.ZodString>;
4578
4578
  }, z.core.$strip>;
4579
4579
  declare const ConversationApiInsertSchema: z.ZodObject<{
4580
4580
  id: z.ZodString;
4581
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4582
4581
  createdAt: z.ZodOptional<z.ZodString>;
4583
4582
  updatedAt: z.ZodOptional<z.ZodString>;
4584
- contextConfigId: z.ZodOptional<z.ZodString>;
4585
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
4586
4583
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4584
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
4585
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4586
+ contextConfigId: z.ZodOptional<z.ZodString>;
4587
4587
  activeSubAgentId: z.ZodString;
4588
4588
  lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4589
4589
  }, z.core.$strip>;
4590
4590
  declare const ConversationApiUpdateSchema: z.ZodObject<{
4591
4591
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4592
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4593
4592
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4594
4593
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4595
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4596
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
4597
4594
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4595
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
4596
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4597
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4598
4598
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4599
4599
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4600
4600
  }, z.core.$strip>;
@@ -5447,10 +5447,10 @@ declare const MessageApiSelectSchema: z.ZodObject<{
5447
5447
  id: z.ZodString;
5448
5448
  createdAt: z.ZodString;
5449
5449
  updatedAt: z.ZodString;
5450
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5451
5450
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
5452
- conversationId: z.ZodString;
5453
5451
  role: z.ZodString;
5452
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5453
+ conversationId: z.ZodString;
5454
5454
  fromSubAgentId: z.ZodNullable<z.ZodString>;
5455
5455
  toSubAgentId: z.ZodNullable<z.ZodString>;
5456
5456
  fromExternalAgentId: z.ZodNullable<z.ZodString>;
@@ -5468,10 +5468,10 @@ declare const MessageApiInsertSchema: z.ZodObject<{
5468
5468
  id: z.ZodString;
5469
5469
  createdAt: z.ZodOptional<z.ZodString>;
5470
5470
  updatedAt: z.ZodOptional<z.ZodString>;
5471
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5472
5471
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
5473
- conversationId: z.ZodString;
5474
5472
  role: z.ZodString;
5473
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5474
+ conversationId: z.ZodString;
5475
5475
  fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5476
5476
  toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5477
5477
  fromExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5489,10 +5489,10 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
5489
5489
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5490
5490
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5491
5491
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5492
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
5493
5492
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
5494
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5495
5493
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5494
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
5495
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5496
5496
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5497
5497
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5498
5498
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -6467,7 +6467,7 @@ declare const ContextCacheInsertSchema: drizzle_zod.BuildSchema<"insert", {
6467
6467
  }, {}, {
6468
6468
  length: 256;
6469
6469
  }>;
6470
- }, "tenantId" | "projectId" | "id" | "value" | "createdAt" | "updatedAt" | "contextConfigId" | "conversationId" | "contextVariableKey" | "requestHash" | "fetchedAt" | "fetchSource" | "fetchDurationMs">, undefined>, undefined>;
6470
+ }, "id" | "createdAt" | "updatedAt" | "value" | "projectId" | "tenantId" | "contextConfigId" | "conversationId" | "contextVariableKey" | "requestHash" | "fetchedAt" | "fetchSource" | "fetchDurationMs">, undefined>, undefined>;
6471
6471
  declare const ContextCacheUpdateSchema: z.ZodObject<{
6472
6472
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6473
6473
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6488,9 +6488,9 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
6488
6488
  }>;
6489
6489
  declare const ContextCacheApiSelectSchema: z.ZodObject<{
6490
6490
  id: z.ZodString;
6491
- value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6492
6491
  createdAt: z.ZodString;
6493
6492
  updatedAt: z.ZodString;
6493
+ value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6494
6494
  contextConfigId: z.ZodString;
6495
6495
  conversationId: z.ZodString;
6496
6496
  contextVariableKey: z.ZodString;
@@ -6501,9 +6501,9 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
6501
6501
  }, z.core.$strip>;
6502
6502
  declare const ContextCacheApiInsertSchema: z.ZodObject<{
6503
6503
  id: z.ZodString;
6504
- value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6505
6504
  createdAt: z.ZodOptional<z.ZodString>;
6506
6505
  updatedAt: z.ZodOptional<z.ZodString>;
6506
+ value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6507
6507
  contextConfigId: z.ZodString;
6508
6508
  conversationId: z.ZodString;
6509
6509
  contextVariableKey: z.ZodString;
@@ -6514,9 +6514,9 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
6514
6514
  }, z.core.$strip>;
6515
6515
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
6516
6516
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6517
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
6518
6517
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6519
6518
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6519
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
6520
6520
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6521
6521
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6522
6522
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6897,11 +6897,11 @@ declare const DataComponentInsertSchema: z.ZodObject<{
6897
6897
  in: {};
6898
6898
  }>;
6899
6899
  declare const DataComponentBaseSchema: z.ZodObject<{
6900
- tenantId: z.ZodString;
6901
- projectId: z.ZodString;
6902
- id: z.ZodString;
6903
6900
  name: z.ZodString;
6901
+ id: z.ZodString;
6904
6902
  description: z.ZodString;
6903
+ projectId: z.ZodString;
6904
+ tenantId: z.ZodString;
6905
6905
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
6906
6906
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
6907
6907
  component: string;
@@ -6947,11 +6947,11 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
6947
6947
  in: {};
6948
6948
  }>;
6949
6949
  declare const DataComponentApiSelectSchema: z.ZodObject<{
6950
- id: z.ZodString;
6951
6950
  name: z.ZodString;
6952
- description: z.ZodString;
6951
+ id: z.ZodString;
6953
6952
  createdAt: z.ZodString;
6954
6953
  updatedAt: z.ZodString;
6954
+ description: z.ZodString;
6955
6955
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
6956
6956
  render: z.ZodNullable<z.ZodType<{
6957
6957
  component: string;
@@ -6968,11 +6968,11 @@ declare const DataComponentApiSelectSchema: z.ZodObject<{
6968
6968
  }>>>;
6969
6969
  }, z.core.$strip>;
6970
6970
  declare const DataComponentApiInsertSchema: z.ZodObject<{
6971
- id: z.ZodString;
6972
6971
  name: z.ZodString;
6973
- description: z.ZodString;
6972
+ id: z.ZodString;
6974
6973
  createdAt: z.ZodOptional<z.ZodString>;
6975
6974
  updatedAt: z.ZodOptional<z.ZodString>;
6975
+ description: z.ZodString;
6976
6976
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
6977
6977
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
6978
6978
  component: string;
@@ -6989,11 +6989,11 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
6989
6989
  }>>>>;
6990
6990
  }, z.core.$strip>;
6991
6991
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
6992
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6993
6992
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6994
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6993
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6995
6994
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6996
6995
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6996
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6997
6997
  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>>>>>>>;
6998
6998
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
6999
6999
  component: string;
@@ -7538,7 +7538,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert
7538
7538
  }, {}, {
7539
7539
  length: 256;
7540
7540
  }>;
7541
- }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
7541
+ }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
7542
7542
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
7543
7543
  dataComponentId: z.ZodOptional<z.ZodString>;
7544
7544
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -7893,16 +7893,16 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
7893
7893
  in: {};
7894
7894
  }>;
7895
7895
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
7896
- id: z.ZodString;
7897
7896
  name: z.ZodString;
7898
- description: z.ZodString;
7897
+ id: z.ZodString;
7899
7898
  createdAt: z.ZodString;
7900
7899
  updatedAt: z.ZodString;
7900
+ description: z.ZodString;
7901
7901
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
7902
7902
  }, z.core.$strip>;
7903
7903
  declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
7904
- id: z.ZodString;
7905
7904
  name: z.ZodString;
7905
+ id: z.ZodString;
7906
7906
  description: z.ZodString;
7907
7907
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
7908
7908
  }, {
@@ -7910,11 +7910,11 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
7910
7910
  in: {};
7911
7911
  }>;
7912
7912
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
7913
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7914
7913
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7915
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7914
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7916
7915
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7917
7916
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7917
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7918
7918
  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>>>>>>>;
7919
7919
  }, z.core.$strip>;
7920
7920
  declare const SubAgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -8269,39 +8269,38 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
8269
8269
  in: {};
8270
8270
  }>;
8271
8271
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
8272
- id: z.ZodString;
8273
8272
  name: z.ZodString;
8274
- description: z.ZodString;
8275
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8273
+ id: z.ZodString;
8276
8274
  createdAt: z.ZodString;
8277
8275
  updatedAt: z.ZodString;
8276
+ description: z.ZodString;
8277
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8278
8278
  baseUrl: z.ZodString;
8279
8279
  }, z.core.$strip>;
8280
8280
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
8281
- id: z.ZodString;
8282
8281
  name: z.ZodString;
8283
- description: z.ZodString;
8284
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8282
+ id: z.ZodString;
8285
8283
  createdAt: z.ZodOptional<z.ZodString>;
8286
8284
  updatedAt: z.ZodOptional<z.ZodString>;
8285
+ description: z.ZodString;
8286
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8287
8287
  baseUrl: z.ZodString;
8288
8288
  }, z.core.$strip>;
8289
8289
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
8290
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8291
8290
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8292
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8293
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8291
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8294
8292
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8295
8293
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8294
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8295
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8296
8296
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8297
8297
  }, z.core.$strip>;
8298
8298
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8299
- id: z.ZodString;
8300
8299
  name: z.ZodString;
8301
- description: z.ZodString;
8302
- prompt: z.ZodString;
8300
+ id: z.ZodString;
8303
8301
  createdAt: z.ZodString;
8304
8302
  updatedAt: z.ZodString;
8303
+ description: z.ZodString;
8305
8304
  models: z.ZodNullable<z.ZodType<{
8306
8305
  base?: {
8307
8306
  model?: string | undefined;
@@ -8364,15 +8363,16 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8364
8363
  }, {
8365
8364
  stepCountIs?: number | undefined;
8366
8365
  }>>>;
8366
+ prompt: z.ZodString;
8367
8367
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
8368
8368
  type: z.ZodLiteral<"internal">;
8369
8369
  }, z.core.$strip>, z.ZodObject<{
8370
- id: z.ZodString;
8371
8370
  name: z.ZodString;
8372
- description: z.ZodString;
8373
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8371
+ id: z.ZodString;
8374
8372
  createdAt: z.ZodString;
8375
8373
  updatedAt: z.ZodString;
8374
+ description: z.ZodString;
8375
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8376
8376
  baseUrl: z.ZodString;
8377
8377
  type: z.ZodLiteral<"external">;
8378
8378
  }, z.core.$strip>], "type">;
@@ -8838,24 +8838,24 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
8838
8838
  }>;
8839
8839
  declare const ApiKeyUpdateSchema: z.ZodObject<{
8840
8840
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8841
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8842
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8841
8843
  agentId: z.ZodOptional<z.ZodString>;
8842
8844
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8843
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8844
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8845
8845
  }, {
8846
8846
  out: {};
8847
8847
  in: {};
8848
8848
  }>;
8849
8849
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
8850
- id: z.ZodString;
8851
8850
  name: z.ZodNullable<z.ZodString>;
8851
+ id: z.ZodString;
8852
+ createdAt: z.ZodString;
8853
+ updatedAt: z.ZodString;
8854
+ expiresAt: z.ZodNullable<z.ZodString>;
8852
8855
  agentId: z.ZodString;
8853
8856
  publicId: z.ZodString;
8854
8857
  keyPrefix: z.ZodString;
8855
8858
  lastUsedAt: z.ZodNullable<z.ZodString>;
8856
- expiresAt: z.ZodNullable<z.ZodString>;
8857
- createdAt: z.ZodString;
8858
- updatedAt: z.ZodString;
8859
8859
  }, {
8860
8860
  out: {};
8861
8861
  in: {};
@@ -8863,15 +8863,15 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
8863
8863
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
8864
8864
  data: z.ZodObject<{
8865
8865
  apiKey: z.ZodObject<{
8866
- id: z.ZodString;
8867
8866
  name: z.ZodNullable<z.ZodString>;
8867
+ id: z.ZodString;
8868
+ createdAt: z.ZodString;
8869
+ updatedAt: z.ZodString;
8870
+ expiresAt: z.ZodNullable<z.ZodString>;
8868
8871
  agentId: z.ZodString;
8869
8872
  publicId: z.ZodString;
8870
8873
  keyPrefix: z.ZodString;
8871
8874
  lastUsedAt: z.ZodNullable<z.ZodString>;
8872
- expiresAt: z.ZodNullable<z.ZodString>;
8873
- createdAt: z.ZodString;
8874
- updatedAt: z.ZodString;
8875
8875
  }, {
8876
8876
  out: {};
8877
8877
  in: {};
@@ -8881,20 +8881,20 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
8881
8881
  }, z.core.$strip>;
8882
8882
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
8883
8883
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8884
- agentId: z.ZodString;
8885
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8886
8884
  createdAt: z.ZodOptional<z.ZodString>;
8887
8885
  updatedAt: z.ZodOptional<z.ZodString>;
8886
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8887
+ agentId: z.ZodString;
8888
8888
  }, {
8889
8889
  out: {};
8890
8890
  in: {};
8891
8891
  }>;
8892
8892
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
8893
8893
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8894
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8895
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8894
8896
  agentId: z.ZodOptional<z.ZodString>;
8895
8897
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8896
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8897
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8898
8898
  }, {
8899
8899
  out: {};
8900
8900
  in: {};
@@ -8939,8 +8939,8 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
8939
8939
  in: {};
8940
8940
  }>;
8941
8941
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
8942
- id: z.ZodString;
8943
8942
  name: z.ZodString;
8943
+ id: z.ZodString;
8944
8944
  createdAt: z.ZodString;
8945
8945
  updatedAt: z.ZodString;
8946
8946
  credentialStoreId: z.ZodString;
@@ -9455,8 +9455,8 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
9455
9455
  }>>>;
9456
9456
  }, z.core.$strip>;
9457
9457
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
9458
- id: z.ZodString;
9459
9458
  name: z.ZodString;
9459
+ id: z.ZodString;
9460
9460
  createdAt: z.ZodOptional<z.ZodString>;
9461
9461
  updatedAt: z.ZodOptional<z.ZodString>;
9462
9462
  credentialStoreId: z.ZodString;
@@ -9468,8 +9468,8 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
9468
9468
  }>;
9469
9469
  }, z.core.$strip>;
9470
9470
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
9471
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9472
9471
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9472
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9473
9473
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9474
9474
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9475
9475
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -9585,8 +9585,8 @@ declare const McpToolSchema: z.ZodObject<{
9585
9585
  in: {};
9586
9586
  }>;
9587
9587
  declare const MCPToolConfigSchema: z.ZodObject<{
9588
- id: z.ZodString;
9589
9588
  name: z.ZodString;
9589
+ id: z.ZodString;
9590
9590
  expiresAt: z.ZodOptional<z.ZodDate>;
9591
9591
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9592
9592
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -9618,8 +9618,8 @@ declare const MCPToolConfigSchema: z.ZodObject<{
9618
9618
  sessionId: z.ZodOptional<z.ZodString>;
9619
9619
  }, z.core.$strip>>;
9620
9620
  credential: z.ZodOptional<z.ZodObject<{
9621
- id: z.ZodString;
9622
9621
  name: z.ZodString;
9622
+ id: z.ZodString;
9623
9623
  createdAt: z.ZodOptional<z.ZodString>;
9624
9624
  updatedAt: z.ZodOptional<z.ZodString>;
9625
9625
  credentialStoreId: z.ZodString;
@@ -9671,9 +9671,11 @@ declare const ToolUpdateSchema: z.ZodObject<{
9671
9671
  in: {};
9672
9672
  }>;
9673
9673
  declare const ToolApiSelectSchema: z.ZodObject<{
9674
- id: z.ZodString;
9675
9674
  name: z.ZodString;
9676
- description: z.ZodNullable<z.ZodString>;
9675
+ id: z.ZodString;
9676
+ createdAt: z.ZodString;
9677
+ updatedAt: z.ZodString;
9678
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9677
9679
  config: z.ZodType<{
9678
9680
  type: "mcp";
9679
9681
  mcp: ToolMcpConfig;
@@ -9687,18 +9689,18 @@ declare const ToolApiSelectSchema: z.ZodObject<{
9687
9689
  type: "mcp";
9688
9690
  mcp: ToolMcpConfig;
9689
9691
  }>>;
9690
- credentialReferenceId: z.ZodNullable<z.ZodString>;
9691
- createdAt: z.ZodString;
9692
- updatedAt: z.ZodString;
9693
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9692
+ description: z.ZodNullable<z.ZodString>;
9694
9693
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9694
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
9695
9695
  imageUrl: z.ZodNullable<z.ZodString>;
9696
9696
  lastError: z.ZodNullable<z.ZodString>;
9697
9697
  }, z.core.$strip>;
9698
9698
  declare const ToolApiInsertSchema: z.ZodObject<{
9699
- id: z.ZodString;
9700
9699
  name: z.ZodString;
9701
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9700
+ id: z.ZodString;
9701
+ createdAt: z.ZodOptional<z.ZodString>;
9702
+ updatedAt: z.ZodOptional<z.ZodString>;
9703
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9702
9704
  config: z.ZodObject<{
9703
9705
  type: z.ZodLiteral<"mcp">;
9704
9706
  mcp: z.ZodObject<{
@@ -9718,18 +9720,18 @@ declare const ToolApiInsertSchema: z.ZodObject<{
9718
9720
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
9719
9721
  }, z.core.$strip>;
9720
9722
  }, z.core.$strip>;
9721
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9722
- createdAt: z.ZodOptional<z.ZodString>;
9723
- updatedAt: z.ZodOptional<z.ZodString>;
9724
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9723
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9725
9724
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
9725
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9726
9726
  imageUrl: z.ZodOptional<z.ZodString>;
9727
9727
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9728
9728
  }, z.core.$strip>;
9729
9729
  declare const ToolApiUpdateSchema: z.ZodObject<{
9730
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9731
9730
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9732
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9731
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9732
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9733
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9734
+ 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>>>>>>>;
9733
9735
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9734
9736
  type: z.ZodLiteral<"mcp">;
9735
9737
  mcp: z.ZodObject<{
@@ -9749,11 +9751,9 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
9749
9751
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
9750
9752
  }, z.core.$strip>;
9751
9753
  }, z.core.$strip>>>;
9752
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9753
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9754
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9755
- 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>>>>>>>;
9754
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9756
9755
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
9756
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9757
9757
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9758
9758
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9759
9759
  }, z.core.$strip>;
@@ -10119,29 +10119,29 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
10119
10119
  in: {};
10120
10120
  }>;
10121
10121
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
10122
- id: z.ZodString;
10123
10122
  name: z.ZodString;
10124
- description: z.ZodNullable<z.ZodString>;
10125
- agentId: z.ZodString;
10123
+ id: z.ZodString;
10126
10124
  createdAt: z.ZodString;
10127
10125
  updatedAt: z.ZodString;
10126
+ description: z.ZodNullable<z.ZodString>;
10127
+ agentId: z.ZodString;
10128
10128
  functionId: z.ZodString;
10129
10129
  }, z.core.$strip>;
10130
10130
  declare const FunctionToolApiInsertSchema: z.ZodObject<{
10131
- id: z.ZodString;
10132
10131
  name: z.ZodString;
10133
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10132
+ id: z.ZodString;
10134
10133
  createdAt: z.ZodOptional<z.ZodString>;
10135
10134
  updatedAt: z.ZodOptional<z.ZodString>;
10135
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10136
10136
  functionId: z.ZodString;
10137
10137
  }, z.core.$strip>;
10138
10138
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
10139
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10140
10139
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10141
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10142
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10140
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10143
10141
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10144
10142
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10143
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10144
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10145
10145
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10146
10146
  }, z.core.$strip>;
10147
10147
  declare const FunctionSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -10527,8 +10527,8 @@ declare const FetchDefinitionSchema: z.ZodObject<{
10527
10527
  responseSchema: z.ZodOptional<z.ZodAny>;
10528
10528
  defaultValue: z.ZodOptional<z.ZodAny>;
10529
10529
  credential: z.ZodOptional<z.ZodObject<{
10530
- id: z.ZodString;
10531
10530
  name: z.ZodString;
10531
+ id: z.ZodString;
10532
10532
  createdAt: z.ZodOptional<z.ZodString>;
10533
10533
  updatedAt: z.ZodOptional<z.ZodString>;
10534
10534
  credentialStoreId: z.ZodString;
@@ -10554,23 +10554,23 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
10554
10554
  in: {};
10555
10555
  }>;
10556
10556
  declare const ContextConfigInsertSchema: z.ZodObject<{
10557
- tenantId: z.ZodString;
10558
- projectId: z.ZodString;
10559
10557
  id: z.ZodOptional<z.ZodString>;
10560
- agentId: z.ZodString;
10558
+ projectId: z.ZodString;
10559
+ tenantId: z.ZodString;
10561
10560
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
10562
10561
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
10562
+ agentId: z.ZodString;
10563
10563
  }, {
10564
10564
  out: {};
10565
10565
  in: {};
10566
10566
  }>;
10567
10567
  declare const ContextConfigUpdateSchema: z.ZodObject<{
10568
- tenantId: z.ZodOptional<z.ZodString>;
10569
- projectId: z.ZodOptional<z.ZodString>;
10570
10568
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10571
- agentId: z.ZodOptional<z.ZodString>;
10569
+ projectId: z.ZodOptional<z.ZodString>;
10570
+ tenantId: z.ZodOptional<z.ZodString>;
10572
10571
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
10573
10572
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
10573
+ agentId: z.ZodOptional<z.ZodString>;
10574
10574
  }, {
10575
10575
  out: {};
10576
10576
  in: {};
@@ -11002,27 +11002,27 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
11002
11002
  createdAt: z.ZodString;
11003
11003
  updatedAt: z.ZodString;
11004
11004
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11005
- toolId: z.ZodString;
11006
11005
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11007
11006
  subAgentId: z.ZodString;
11007
+ toolId: z.ZodString;
11008
11008
  }, z.core.$strip>;
11009
11009
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
11010
11010
  id: z.ZodString;
11011
11011
  createdAt: z.ZodOptional<z.ZodString>;
11012
11012
  updatedAt: z.ZodOptional<z.ZodString>;
11013
11013
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11014
- toolId: z.ZodString;
11015
11014
  selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11016
11015
  subAgentId: z.ZodString;
11016
+ toolId: z.ZodString;
11017
11017
  }, z.core.$strip>;
11018
11018
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
11019
11019
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11020
11020
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11021
11021
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11022
11022
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11023
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11024
11023
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
11025
11024
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11025
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11026
11026
  }, z.core.$strip>;
11027
11027
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
11028
11028
  createdAt: drizzle_orm_pg_core.PgColumn<{
@@ -11394,8 +11394,8 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
11394
11394
  createdAt: z.ZodString;
11395
11395
  updatedAt: z.ZodString;
11396
11396
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11397
- externalAgentId: z.ZodString;
11398
11397
  subAgentId: z.ZodString;
11398
+ externalAgentId: z.ZodString;
11399
11399
  }, z.core.$strip>;
11400
11400
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
11401
11401
  createdAt: z.ZodOptional<z.ZodString>;
@@ -11408,8 +11408,8 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
11408
11408
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11409
11409
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11410
11410
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11411
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11412
11411
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11412
+ externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11413
11413
  }, z.core.$strip>;
11414
11414
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
11415
11415
  createdAt: drizzle_orm_pg_core.PgColumn<{
@@ -13139,7 +13139,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod.BuildSchema<"insert", {
13139
13139
  }, {}, {
13140
13140
  length: 256;
13141
13141
  }>;
13142
- }, "tenantId" | "projectId" | "id" | "type" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
13142
+ }, "type" | "name" | "id" | "createdAt" | "updatedAt" | "metadata" | "description" | "projectId" | "tenantId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
13143
13143
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13144
13144
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13145
13145
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -13164,13 +13164,13 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13164
13164
  in: {};
13165
13165
  }>;
13166
13166
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
13167
- id: z.ZodString;
13168
13167
  type: z.ZodString;
13169
13168
  name: z.ZodNullable<z.ZodString>;
13170
- description: z.ZodNullable<z.ZodString>;
13169
+ id: z.ZodString;
13171
13170
  createdAt: z.ZodString;
13172
13171
  updatedAt: z.ZodString;
13173
13172
  metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
13173
+ description: z.ZodNullable<z.ZodString>;
13174
13174
  contextId: z.ZodString;
13175
13175
  visibility: z.ZodNullable<z.ZodString>;
13176
13176
  taskId: z.ZodString;
@@ -13182,13 +13182,13 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
13182
13182
  derivedFrom: z.ZodNullable<z.ZodString>;
13183
13183
  }, z.core.$strip>;
13184
13184
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
13185
- id: z.ZodString;
13186
13185
  type: z.ZodOptional<z.ZodString>;
13187
13186
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13188
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13187
+ id: z.ZodString;
13189
13188
  createdAt: z.ZodOptional<z.ZodString>;
13190
13189
  updatedAt: z.ZodOptional<z.ZodString>;
13191
13190
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
13191
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13192
13192
  contextId: z.ZodString;
13193
13193
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13194
13194
  taskId: z.ZodString;
@@ -13200,13 +13200,13 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
13200
13200
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13201
13201
  }, z.core.$strip>;
13202
13202
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
13203
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13204
13203
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13205
13204
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13206
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13205
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13207
13206
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13208
13207
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13209
13208
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
13209
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13210
13210
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13211
13211
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13212
13212
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -13263,11 +13263,11 @@ declare const TeamAgentSchema: z.ZodObject<{
13263
13263
  description: z.ZodString;
13264
13264
  }, z.core.$strip>;
13265
13265
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
13266
- id: z.ZodString;
13267
13266
  name: z.ZodString;
13268
- description: z.ZodString;
13267
+ id: z.ZodString;
13269
13268
  createdAt: z.ZodOptional<z.ZodString>;
13270
13269
  updatedAt: z.ZodOptional<z.ZodString>;
13270
+ description: z.ZodString;
13271
13271
  models: z.ZodOptional<z.ZodObject<{
13272
13272
  base: z.ZodOptional<z.ZodObject<{
13273
13273
  model: z.ZodOptional<z.ZodString>;
@@ -13315,18 +13315,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
13315
13315
  }, z.core.$strip>;
13316
13316
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13317
13317
  name: z.ZodString;
13318
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13319
13318
  createdAt: z.ZodOptional<z.ZodString>;
13320
13319
  updatedAt: z.ZodOptional<z.ZodString>;
13320
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13321
13321
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13322
13322
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13323
13323
  id: z.ZodString;
13324
13324
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
13325
- id: z.ZodString;
13326
13325
  name: z.ZodString;
13327
- description: z.ZodString;
13326
+ id: z.ZodString;
13328
13327
  createdAt: z.ZodOptional<z.ZodString>;
13329
13328
  updatedAt: z.ZodOptional<z.ZodString>;
13329
+ description: z.ZodString;
13330
13330
  models: z.ZodOptional<z.ZodObject<{
13331
13331
  base: z.ZodOptional<z.ZodObject<{
13332
13332
  model: z.ZodOptional<z.ZodString>;
@@ -13373,9 +13373,11 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13373
13373
  }, z.core.$strip>]>>>;
13374
13374
  }, z.core.$strip>>;
13375
13375
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13376
- id: z.ZodString;
13377
13376
  name: z.ZodString;
13378
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13377
+ id: z.ZodString;
13378
+ createdAt: z.ZodOptional<z.ZodString>;
13379
+ updatedAt: z.ZodOptional<z.ZodString>;
13380
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13379
13381
  config: z.ZodObject<{
13380
13382
  type: z.ZodLiteral<"mcp">;
13381
13383
  mcp: z.ZodObject<{
@@ -13395,21 +13397,19 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13395
13397
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13396
13398
  }, z.core.$strip>;
13397
13399
  }, z.core.$strip>;
13398
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13399
- createdAt: z.ZodOptional<z.ZodString>;
13400
- updatedAt: z.ZodOptional<z.ZodString>;
13401
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13400
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13402
13401
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
13402
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13403
13403
  imageUrl: z.ZodOptional<z.ZodString>;
13404
13404
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13405
13405
  }, z.core.$strip>>>;
13406
13406
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13407
- id: z.ZodString;
13408
13407
  name: z.ZodString;
13409
- description: z.ZodString;
13410
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13408
+ id: z.ZodString;
13411
13409
  createdAt: z.ZodOptional<z.ZodString>;
13412
13410
  updatedAt: z.ZodOptional<z.ZodString>;
13411
+ description: z.ZodString;
13412
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13413
13413
  baseUrl: z.ZodString;
13414
13414
  }, z.core.$strip>>>;
13415
13415
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13418,11 +13418,11 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13418
13418
  description: z.ZodString;
13419
13419
  }, z.core.$strip>>>;
13420
13420
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13421
- id: z.ZodString;
13422
13421
  name: z.ZodString;
13423
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13422
+ id: z.ZodString;
13424
13423
  createdAt: z.ZodOptional<z.ZodString>;
13425
13424
  updatedAt: z.ZodOptional<z.ZodString>;
13425
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13426
13426
  functionId: z.ZodString;
13427
13427
  }, z.core.$strip>>>;
13428
13428
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13532,10 +13532,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
13532
13532
  in: {};
13533
13533
  }>;
13534
13534
  declare const ProjectInsertSchema: z.ZodObject<{
13535
- tenantId: z.ZodString;
13536
- id: z.ZodString;
13537
13535
  name: z.ZodString;
13536
+ id: z.ZodString;
13538
13537
  description: z.ZodString;
13538
+ tenantId: z.ZodString;
13539
13539
  models: z.ZodObject<{
13540
13540
  base: z.ZodObject<{
13541
13541
  model: z.ZodOptional<z.ZodString>;
@@ -13584,11 +13584,11 @@ declare const ProjectUpdateSchema: z.ZodObject<{
13584
13584
  in: {};
13585
13585
  }>;
13586
13586
  declare const ProjectApiSelectSchema: z.ZodObject<{
13587
- id: z.ZodString;
13588
13587
  name: z.ZodString;
13589
- description: z.ZodString;
13588
+ id: z.ZodString;
13590
13589
  createdAt: z.ZodString;
13591
13590
  updatedAt: z.ZodString;
13591
+ description: z.ZodString;
13592
13592
  models: z.ZodNullable<z.ZodObject<{
13593
13593
  base: z.ZodObject<{
13594
13594
  model: z.ZodOptional<z.ZodString>;
@@ -13612,8 +13612,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
13612
13612
  in: {};
13613
13613
  }>;
13614
13614
  declare const ProjectApiInsertSchema: z.ZodObject<{
13615
- id: z.ZodString;
13616
13615
  name: z.ZodString;
13616
+ id: z.ZodString;
13617
13617
  description: z.ZodString;
13618
13618
  models: z.ZodObject<{
13619
13619
  base: z.ZodObject<{
@@ -13663,8 +13663,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
13663
13663
  in: {};
13664
13664
  }>;
13665
13665
  declare const FullProjectDefinitionSchema: z.ZodObject<{
13666
- id: z.ZodString;
13667
13666
  name: z.ZodString;
13667
+ id: z.ZodString;
13668
13668
  description: z.ZodString;
13669
13669
  models: z.ZodObject<{
13670
13670
  base: z.ZodObject<{
@@ -13686,18 +13686,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13686
13686
  }, z.core.$strip>>;
13687
13687
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
13688
13688
  name: z.ZodString;
13689
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13690
13689
  createdAt: z.ZodOptional<z.ZodString>;
13691
13690
  updatedAt: z.ZodOptional<z.ZodString>;
13691
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13692
13692
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13693
13693
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13694
13694
  id: z.ZodString;
13695
13695
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
13696
- id: z.ZodString;
13697
13696
  name: z.ZodString;
13698
- description: z.ZodString;
13697
+ id: z.ZodString;
13699
13698
  createdAt: z.ZodOptional<z.ZodString>;
13700
13699
  updatedAt: z.ZodOptional<z.ZodString>;
13700
+ description: z.ZodString;
13701
13701
  models: z.ZodOptional<z.ZodObject<{
13702
13702
  base: z.ZodOptional<z.ZodObject<{
13703
13703
  model: z.ZodOptional<z.ZodString>;
@@ -13744,9 +13744,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13744
13744
  }, z.core.$strip>]>>>;
13745
13745
  }, z.core.$strip>>;
13746
13746
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13747
- id: z.ZodString;
13748
13747
  name: z.ZodString;
13749
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13748
+ id: z.ZodString;
13749
+ createdAt: z.ZodOptional<z.ZodString>;
13750
+ updatedAt: z.ZodOptional<z.ZodString>;
13751
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13750
13752
  config: z.ZodObject<{
13751
13753
  type: z.ZodLiteral<"mcp">;
13752
13754
  mcp: z.ZodObject<{
@@ -13766,21 +13768,19 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13766
13768
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13767
13769
  }, z.core.$strip>;
13768
13770
  }, z.core.$strip>;
13769
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13770
- createdAt: z.ZodOptional<z.ZodString>;
13771
- updatedAt: z.ZodOptional<z.ZodString>;
13772
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13771
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13773
13772
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
13773
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13774
13774
  imageUrl: z.ZodOptional<z.ZodString>;
13775
13775
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13776
13776
  }, z.core.$strip>>>;
13777
13777
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13778
- id: z.ZodString;
13779
13778
  name: z.ZodString;
13780
- description: z.ZodString;
13781
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13779
+ id: z.ZodString;
13782
13780
  createdAt: z.ZodOptional<z.ZodString>;
13783
13781
  updatedAt: z.ZodOptional<z.ZodString>;
13782
+ description: z.ZodString;
13783
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13784
13784
  baseUrl: z.ZodString;
13785
13785
  }, z.core.$strip>>>;
13786
13786
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13789,11 +13789,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13789
13789
  description: z.ZodString;
13790
13790
  }, z.core.$strip>>>;
13791
13791
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13792
- id: z.ZodString;
13793
13792
  name: z.ZodString;
13794
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13793
+ id: z.ZodString;
13795
13794
  createdAt: z.ZodOptional<z.ZodString>;
13796
13795
  updatedAt: z.ZodOptional<z.ZodString>;
13796
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13797
13797
  functionId: z.ZodString;
13798
13798
  }, z.core.$strip>>>;
13799
13799
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13844,9 +13844,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13844
13844
  prompt: z.ZodOptional<z.ZodString>;
13845
13845
  }, z.core.$strip>>;
13846
13846
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
13847
- id: z.ZodString;
13848
13847
  name: z.ZodString;
13849
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13848
+ id: z.ZodString;
13849
+ createdAt: z.ZodOptional<z.ZodString>;
13850
+ updatedAt: z.ZodOptional<z.ZodString>;
13851
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13850
13852
  config: z.ZodObject<{
13851
13853
  type: z.ZodLiteral<"mcp">;
13852
13854
  mcp: z.ZodObject<{
@@ -13866,20 +13868,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13866
13868
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13867
13869
  }, z.core.$strip>;
13868
13870
  }, z.core.$strip>;
13869
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13870
- createdAt: z.ZodOptional<z.ZodString>;
13871
- updatedAt: z.ZodOptional<z.ZodString>;
13872
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13871
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13873
13872
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
13873
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13874
13874
  imageUrl: z.ZodOptional<z.ZodString>;
13875
13875
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13876
13876
  }, z.core.$strip>>;
13877
13877
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13878
- id: z.ZodString;
13879
13878
  name: z.ZodString;
13880
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13879
+ id: z.ZodString;
13881
13880
  createdAt: z.ZodOptional<z.ZodString>;
13882
13881
  updatedAt: z.ZodOptional<z.ZodString>;
13882
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13883
13883
  functionId: z.ZodString;
13884
13884
  }, z.core.$strip>>>;
13885
13885
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13891,11 +13891,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13891
13891
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13892
13892
  }, z.core.$strip>>>;
13893
13893
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13894
- id: z.ZodString;
13895
13894
  name: z.ZodString;
13896
- description: z.ZodString;
13895
+ id: z.ZodString;
13897
13896
  createdAt: z.ZodOptional<z.ZodString>;
13898
13897
  updatedAt: z.ZodOptional<z.ZodString>;
13898
+ description: z.ZodString;
13899
13899
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
13900
13900
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
13901
13901
  component: string;
@@ -13912,8 +13912,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13912
13912
  }>>>>;
13913
13913
  }, z.core.$strip>>>;
13914
13914
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13915
- id: z.ZodString;
13916
13915
  name: z.ZodString;
13916
+ id: z.ZodString;
13917
13917
  description: z.ZodString;
13918
13918
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
13919
13919
  }, {
@@ -13921,12 +13921,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13921
13921
  in: {};
13922
13922
  }>>>;
13923
13923
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13924
- id: z.ZodString;
13925
13924
  name: z.ZodString;
13926
- description: z.ZodString;
13927
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13925
+ id: z.ZodString;
13928
13926
  createdAt: z.ZodOptional<z.ZodString>;
13929
13927
  updatedAt: z.ZodOptional<z.ZodString>;
13928
+ description: z.ZodString;
13929
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13930
13930
  baseUrl: z.ZodString;
13931
13931
  }, z.core.$strip>>>;
13932
13932
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -13945,8 +13945,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13945
13945
  }, z.core.$strip>>>;
13946
13946
  }, z.core.$strip>>;
13947
13947
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13948
- id: z.ZodString;
13949
13948
  name: z.ZodString;
13949
+ id: z.ZodString;
13950
13950
  createdAt: z.ZodOptional<z.ZodString>;
13951
13951
  updatedAt: z.ZodOptional<z.ZodString>;
13952
13952
  credentialStoreId: z.ZodString;
@@ -13965,11 +13965,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13965
13965
  }>;
13966
13966
  declare const ProjectResponse: z.ZodObject<{
13967
13967
  data: z.ZodObject<{
13968
- id: z.ZodString;
13969
13968
  name: z.ZodString;
13970
- description: z.ZodString;
13969
+ id: z.ZodString;
13971
13970
  createdAt: z.ZodString;
13972
13971
  updatedAt: z.ZodString;
13972
+ description: z.ZodString;
13973
13973
  models: z.ZodNullable<z.ZodObject<{
13974
13974
  base: z.ZodObject<{
13975
13975
  model: z.ZodOptional<z.ZodString>;
@@ -13995,12 +13995,11 @@ declare const ProjectResponse: z.ZodObject<{
13995
13995
  }, z.core.$strip>;
13996
13996
  declare const SubAgentResponse: z.ZodObject<{
13997
13997
  data: z.ZodObject<{
13998
- id: z.ZodString;
13999
13998
  name: z.ZodString;
14000
- description: z.ZodString;
14001
- prompt: z.ZodString;
13999
+ id: z.ZodString;
14002
14000
  createdAt: z.ZodString;
14003
14001
  updatedAt: z.ZodString;
14002
+ description: z.ZodString;
14004
14003
  models: z.ZodNullable<z.ZodType<{
14005
14004
  base?: {
14006
14005
  model?: string | undefined;
@@ -14063,17 +14062,17 @@ declare const SubAgentResponse: z.ZodObject<{
14063
14062
  }, {
14064
14063
  stepCountIs?: number | undefined;
14065
14064
  }>>>;
14065
+ prompt: z.ZodString;
14066
14066
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
14067
14067
  }, z.core.$strip>;
14068
14068
  }, z.core.$strip>;
14069
14069
  declare const AgentResponse: z.ZodObject<{
14070
14070
  data: z.ZodObject<{
14071
- id: z.ZodString;
14072
14071
  name: z.ZodString;
14073
- description: z.ZodNullable<z.ZodString>;
14074
- prompt: z.ZodNullable<z.ZodString>;
14072
+ id: z.ZodString;
14075
14073
  createdAt: z.ZodString;
14076
14074
  updatedAt: z.ZodString;
14075
+ description: z.ZodNullable<z.ZodString>;
14077
14076
  models: z.ZodNullable<z.ZodType<{
14078
14077
  base?: {
14079
14078
  model?: string | undefined;
@@ -14138,6 +14137,7 @@ declare const AgentResponse: z.ZodObject<{
14138
14137
  }>>>;
14139
14138
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
14140
14139
  contextConfigId: z.ZodNullable<z.ZodString>;
14140
+ prompt: z.ZodNullable<z.ZodString>;
14141
14141
  statusUpdates: z.ZodNullable<z.ZodType<{
14142
14142
  enabled?: boolean | undefined;
14143
14143
  numEvents?: number | undefined;
@@ -14199,9 +14199,11 @@ declare const AgentResponse: z.ZodObject<{
14199
14199
  }, z.core.$strip>;
14200
14200
  declare const ToolResponse: z.ZodObject<{
14201
14201
  data: z.ZodObject<{
14202
- id: z.ZodString;
14203
14202
  name: z.ZodString;
14204
- description: z.ZodNullable<z.ZodString>;
14203
+ id: z.ZodString;
14204
+ createdAt: z.ZodString;
14205
+ updatedAt: z.ZodString;
14206
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
14205
14207
  config: z.ZodType<{
14206
14208
  type: "mcp";
14207
14209
  mcp: ToolMcpConfig;
@@ -14215,23 +14217,21 @@ declare const ToolResponse: z.ZodObject<{
14215
14217
  type: "mcp";
14216
14218
  mcp: ToolMcpConfig;
14217
14219
  }>>;
14218
- credentialReferenceId: z.ZodNullable<z.ZodString>;
14219
- createdAt: z.ZodString;
14220
- updatedAt: z.ZodString;
14221
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
14220
+ description: z.ZodNullable<z.ZodString>;
14222
14221
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
14222
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
14223
14223
  imageUrl: z.ZodNullable<z.ZodString>;
14224
14224
  lastError: z.ZodNullable<z.ZodString>;
14225
14225
  }, z.core.$strip>;
14226
14226
  }, z.core.$strip>;
14227
14227
  declare const ExternalAgentResponse: z.ZodObject<{
14228
14228
  data: z.ZodObject<{
14229
- id: z.ZodString;
14230
14229
  name: z.ZodString;
14231
- description: z.ZodString;
14232
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14230
+ id: z.ZodString;
14233
14231
  createdAt: z.ZodString;
14234
14232
  updatedAt: z.ZodString;
14233
+ description: z.ZodString;
14234
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14235
14235
  baseUrl: z.ZodString;
14236
14236
  }, z.core.$strip>;
14237
14237
  }, z.core.$strip>;
@@ -14246,15 +14246,15 @@ declare const ContextConfigResponse: z.ZodObject<{
14246
14246
  }, z.core.$strip>;
14247
14247
  declare const ApiKeyResponse: z.ZodObject<{
14248
14248
  data: z.ZodObject<{
14249
- id: z.ZodString;
14250
14249
  name: z.ZodNullable<z.ZodString>;
14250
+ id: z.ZodString;
14251
+ createdAt: z.ZodString;
14252
+ updatedAt: z.ZodString;
14253
+ expiresAt: z.ZodNullable<z.ZodString>;
14251
14254
  agentId: z.ZodString;
14252
14255
  publicId: z.ZodString;
14253
14256
  keyPrefix: z.ZodString;
14254
14257
  lastUsedAt: z.ZodNullable<z.ZodString>;
14255
- expiresAt: z.ZodNullable<z.ZodString>;
14256
- createdAt: z.ZodString;
14257
- updatedAt: z.ZodString;
14258
14258
  }, {
14259
14259
  out: {};
14260
14260
  in: {};
@@ -14262,8 +14262,8 @@ declare const ApiKeyResponse: z.ZodObject<{
14262
14262
  }, z.core.$strip>;
14263
14263
  declare const CredentialReferenceResponse: z.ZodObject<{
14264
14264
  data: z.ZodObject<{
14265
- id: z.ZodString;
14266
14265
  name: z.ZodString;
14266
+ id: z.ZodString;
14267
14267
  createdAt: z.ZodString;
14268
14268
  updatedAt: z.ZodString;
14269
14269
  credentialStoreId: z.ZodString;
@@ -14790,22 +14790,22 @@ declare const FunctionResponse: z.ZodObject<{
14790
14790
  }, z.core.$strip>;
14791
14791
  declare const FunctionToolResponse: z.ZodObject<{
14792
14792
  data: z.ZodObject<{
14793
- id: z.ZodString;
14794
14793
  name: z.ZodString;
14795
- description: z.ZodNullable<z.ZodString>;
14796
- agentId: z.ZodString;
14794
+ id: z.ZodString;
14797
14795
  createdAt: z.ZodString;
14798
14796
  updatedAt: z.ZodString;
14797
+ description: z.ZodNullable<z.ZodString>;
14798
+ agentId: z.ZodString;
14799
14799
  functionId: z.ZodString;
14800
14800
  }, z.core.$strip>;
14801
14801
  }, z.core.$strip>;
14802
14802
  declare const DataComponentResponse: z.ZodObject<{
14803
14803
  data: z.ZodObject<{
14804
- id: z.ZodString;
14805
14804
  name: z.ZodString;
14806
- description: z.ZodString;
14805
+ id: z.ZodString;
14807
14806
  createdAt: z.ZodString;
14808
14807
  updatedAt: z.ZodString;
14808
+ description: z.ZodString;
14809
14809
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
14810
14810
  render: z.ZodNullable<z.ZodType<{
14811
14811
  component: string;
@@ -14824,11 +14824,11 @@ declare const DataComponentResponse: z.ZodObject<{
14824
14824
  }, z.core.$strip>;
14825
14825
  declare const ArtifactComponentResponse: z.ZodObject<{
14826
14826
  data: z.ZodObject<{
14827
- id: z.ZodString;
14828
14827
  name: z.ZodString;
14829
- description: z.ZodString;
14828
+ id: z.ZodString;
14830
14829
  createdAt: z.ZodString;
14831
14830
  updatedAt: z.ZodString;
14831
+ description: z.ZodString;
14832
14832
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
14833
14833
  }, z.core.$strip>;
14834
14834
  }, z.core.$strip>;
@@ -14848,19 +14848,19 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
14848
14848
  createdAt: z.ZodString;
14849
14849
  updatedAt: z.ZodString;
14850
14850
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14851
- toolId: z.ZodString;
14852
14851
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14853
14852
  subAgentId: z.ZodString;
14853
+ toolId: z.ZodString;
14854
14854
  }, z.core.$strip>;
14855
14855
  }, z.core.$strip>;
14856
14856
  declare const ConversationResponse: z.ZodObject<{
14857
14857
  data: z.ZodObject<{
14858
14858
  id: z.ZodString;
14859
- title: z.ZodNullable<z.ZodString>;
14860
14859
  createdAt: z.ZodString;
14861
14860
  updatedAt: z.ZodString;
14862
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
14863
14861
  userId: z.ZodNullable<z.ZodString>;
14862
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
14863
+ title: z.ZodNullable<z.ZodString>;
14864
14864
  activeSubAgentId: z.ZodString;
14865
14865
  lastContextResolution: z.ZodNullable<z.ZodString>;
14866
14866
  }, z.core.$strip>;
@@ -14870,10 +14870,10 @@ declare const MessageResponse: z.ZodObject<{
14870
14870
  id: z.ZodString;
14871
14871
  createdAt: z.ZodString;
14872
14872
  updatedAt: z.ZodString;
14873
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
14874
14873
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
14875
- conversationId: z.ZodString;
14876
14874
  role: z.ZodString;
14875
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
14876
+ conversationId: z.ZodString;
14877
14877
  fromSubAgentId: z.ZodNullable<z.ZodString>;
14878
14878
  toSubAgentId: z.ZodNullable<z.ZodString>;
14879
14879
  fromExternalAgentId: z.ZodNullable<z.ZodString>;
@@ -14890,11 +14890,11 @@ declare const MessageResponse: z.ZodObject<{
14890
14890
  }, z.core.$strip>;
14891
14891
  declare const ProjectListResponse: z.ZodObject<{
14892
14892
  data: z.ZodArray<z.ZodObject<{
14893
- id: z.ZodString;
14894
14893
  name: z.ZodString;
14895
- description: z.ZodString;
14894
+ id: z.ZodString;
14896
14895
  createdAt: z.ZodString;
14897
14896
  updatedAt: z.ZodString;
14897
+ description: z.ZodString;
14898
14898
  models: z.ZodNullable<z.ZodObject<{
14899
14899
  base: z.ZodObject<{
14900
14900
  model: z.ZodOptional<z.ZodString>;
@@ -14926,12 +14926,11 @@ declare const ProjectListResponse: z.ZodObject<{
14926
14926
  }, z.core.$strip>;
14927
14927
  declare const SubAgentListResponse: z.ZodObject<{
14928
14928
  data: z.ZodArray<z.ZodObject<{
14929
- id: z.ZodString;
14930
14929
  name: z.ZodString;
14931
- description: z.ZodString;
14932
- prompt: z.ZodString;
14930
+ id: z.ZodString;
14933
14931
  createdAt: z.ZodString;
14934
14932
  updatedAt: z.ZodString;
14933
+ description: z.ZodString;
14935
14934
  models: z.ZodNullable<z.ZodType<{
14936
14935
  base?: {
14937
14936
  model?: string | undefined;
@@ -14994,6 +14993,7 @@ declare const SubAgentListResponse: z.ZodObject<{
14994
14993
  }, {
14995
14994
  stepCountIs?: number | undefined;
14996
14995
  }>>>;
14996
+ prompt: z.ZodString;
14997
14997
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
14998
14998
  }, z.core.$strip>>;
14999
14999
  pagination: z.ZodObject<{
@@ -15005,12 +15005,11 @@ declare const SubAgentListResponse: z.ZodObject<{
15005
15005
  }, z.core.$strip>;
15006
15006
  declare const AgentListResponse: z.ZodObject<{
15007
15007
  data: z.ZodArray<z.ZodObject<{
15008
- id: z.ZodString;
15009
15008
  name: z.ZodString;
15010
- description: z.ZodNullable<z.ZodString>;
15011
- prompt: z.ZodNullable<z.ZodString>;
15009
+ id: z.ZodString;
15012
15010
  createdAt: z.ZodString;
15013
15011
  updatedAt: z.ZodString;
15012
+ description: z.ZodNullable<z.ZodString>;
15014
15013
  models: z.ZodNullable<z.ZodType<{
15015
15014
  base?: {
15016
15015
  model?: string | undefined;
@@ -15075,6 +15074,7 @@ declare const AgentListResponse: z.ZodObject<{
15075
15074
  }>>>;
15076
15075
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
15077
15076
  contextConfigId: z.ZodNullable<z.ZodString>;
15077
+ prompt: z.ZodNullable<z.ZodString>;
15078
15078
  statusUpdates: z.ZodNullable<z.ZodType<{
15079
15079
  enabled?: boolean | undefined;
15080
15080
  numEvents?: number | undefined;
@@ -15142,9 +15142,11 @@ declare const AgentListResponse: z.ZodObject<{
15142
15142
  }, z.core.$strip>;
15143
15143
  declare const ToolListResponse: z.ZodObject<{
15144
15144
  data: z.ZodArray<z.ZodObject<{
15145
- id: z.ZodString;
15146
15145
  name: z.ZodString;
15147
- description: z.ZodNullable<z.ZodString>;
15146
+ id: z.ZodString;
15147
+ createdAt: z.ZodString;
15148
+ updatedAt: z.ZodString;
15149
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15148
15150
  config: z.ZodType<{
15149
15151
  type: "mcp";
15150
15152
  mcp: ToolMcpConfig;
@@ -15158,11 +15160,9 @@ declare const ToolListResponse: z.ZodObject<{
15158
15160
  type: "mcp";
15159
15161
  mcp: ToolMcpConfig;
15160
15162
  }>>;
15161
- credentialReferenceId: z.ZodNullable<z.ZodString>;
15162
- createdAt: z.ZodString;
15163
- updatedAt: z.ZodString;
15164
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15163
+ description: z.ZodNullable<z.ZodString>;
15165
15164
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
15165
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
15166
15166
  imageUrl: z.ZodNullable<z.ZodString>;
15167
15167
  lastError: z.ZodNullable<z.ZodString>;
15168
15168
  }, z.core.$strip>>;
@@ -15175,12 +15175,12 @@ declare const ToolListResponse: z.ZodObject<{
15175
15175
  }, z.core.$strip>;
15176
15176
  declare const ExternalAgentListResponse: z.ZodObject<{
15177
15177
  data: z.ZodArray<z.ZodObject<{
15178
- id: z.ZodString;
15179
15178
  name: z.ZodString;
15180
- description: z.ZodString;
15181
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15179
+ id: z.ZodString;
15182
15180
  createdAt: z.ZodString;
15183
15181
  updatedAt: z.ZodString;
15182
+ description: z.ZodString;
15183
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15184
15184
  baseUrl: z.ZodString;
15185
15185
  }, z.core.$strip>>;
15186
15186
  pagination: z.ZodObject<{
@@ -15207,15 +15207,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
15207
15207
  }, z.core.$strip>;
15208
15208
  declare const ApiKeyListResponse: z.ZodObject<{
15209
15209
  data: z.ZodArray<z.ZodObject<{
15210
- id: z.ZodString;
15211
15210
  name: z.ZodNullable<z.ZodString>;
15211
+ id: z.ZodString;
15212
+ createdAt: z.ZodString;
15213
+ updatedAt: z.ZodString;
15214
+ expiresAt: z.ZodNullable<z.ZodString>;
15212
15215
  agentId: z.ZodString;
15213
15216
  publicId: z.ZodString;
15214
15217
  keyPrefix: z.ZodString;
15215
15218
  lastUsedAt: z.ZodNullable<z.ZodString>;
15216
- expiresAt: z.ZodNullable<z.ZodString>;
15217
- createdAt: z.ZodString;
15218
- updatedAt: z.ZodString;
15219
15219
  }, {
15220
15220
  out: {};
15221
15221
  in: {};
@@ -15229,8 +15229,8 @@ declare const ApiKeyListResponse: z.ZodObject<{
15229
15229
  }, z.core.$strip>;
15230
15230
  declare const CredentialReferenceListResponse: z.ZodObject<{
15231
15231
  data: z.ZodArray<z.ZodObject<{
15232
- id: z.ZodString;
15233
15232
  name: z.ZodString;
15233
+ id: z.ZodString;
15234
15234
  createdAt: z.ZodString;
15235
15235
  updatedAt: z.ZodString;
15236
15236
  credentialStoreId: z.ZodString;
@@ -15769,12 +15769,12 @@ declare const FunctionListResponse: z.ZodObject<{
15769
15769
  }, z.core.$strip>;
15770
15770
  declare const FunctionToolListResponse: z.ZodObject<{
15771
15771
  data: z.ZodArray<z.ZodObject<{
15772
- id: z.ZodString;
15773
15772
  name: z.ZodString;
15774
- description: z.ZodNullable<z.ZodString>;
15775
- agentId: z.ZodString;
15773
+ id: z.ZodString;
15776
15774
  createdAt: z.ZodString;
15777
15775
  updatedAt: z.ZodString;
15776
+ description: z.ZodNullable<z.ZodString>;
15777
+ agentId: z.ZodString;
15778
15778
  functionId: z.ZodString;
15779
15779
  }, z.core.$strip>>;
15780
15780
  pagination: z.ZodObject<{
@@ -15786,11 +15786,11 @@ declare const FunctionToolListResponse: z.ZodObject<{
15786
15786
  }, z.core.$strip>;
15787
15787
  declare const DataComponentListResponse: z.ZodObject<{
15788
15788
  data: z.ZodArray<z.ZodObject<{
15789
- id: z.ZodString;
15790
15789
  name: z.ZodString;
15791
- description: z.ZodString;
15790
+ id: z.ZodString;
15792
15791
  createdAt: z.ZodString;
15793
15792
  updatedAt: z.ZodString;
15793
+ description: z.ZodString;
15794
15794
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
15795
15795
  render: z.ZodNullable<z.ZodType<{
15796
15796
  component: string;
@@ -15815,11 +15815,11 @@ declare const DataComponentListResponse: z.ZodObject<{
15815
15815
  }, z.core.$strip>;
15816
15816
  declare const ArtifactComponentListResponse: z.ZodObject<{
15817
15817
  data: z.ZodArray<z.ZodObject<{
15818
- id: z.ZodString;
15819
15818
  name: z.ZodString;
15820
- description: z.ZodString;
15819
+ id: z.ZodString;
15821
15820
  createdAt: z.ZodString;
15822
15821
  updatedAt: z.ZodString;
15822
+ description: z.ZodString;
15823
15823
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
15824
15824
  }, z.core.$strip>>;
15825
15825
  pagination: z.ZodObject<{
@@ -15851,9 +15851,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
15851
15851
  createdAt: z.ZodString;
15852
15852
  updatedAt: z.ZodString;
15853
15853
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15854
- toolId: z.ZodString;
15855
15854
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15856
15855
  subAgentId: z.ZodString;
15856
+ toolId: z.ZodString;
15857
15857
  }, z.core.$strip>>;
15858
15858
  pagination: z.ZodObject<{
15859
15859
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -15865,11 +15865,11 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
15865
15865
  declare const ConversationListResponse: z.ZodObject<{
15866
15866
  data: z.ZodArray<z.ZodObject<{
15867
15867
  id: z.ZodString;
15868
- title: z.ZodNullable<z.ZodString>;
15869
15868
  createdAt: z.ZodString;
15870
15869
  updatedAt: z.ZodString;
15871
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
15872
15870
  userId: z.ZodNullable<z.ZodString>;
15871
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
15872
+ title: z.ZodNullable<z.ZodString>;
15873
15873
  activeSubAgentId: z.ZodString;
15874
15874
  lastContextResolution: z.ZodNullable<z.ZodString>;
15875
15875
  }, z.core.$strip>>;
@@ -15885,10 +15885,10 @@ declare const MessageListResponse: z.ZodObject<{
15885
15885
  id: z.ZodString;
15886
15886
  createdAt: z.ZodString;
15887
15887
  updatedAt: z.ZodString;
15888
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
15889
15888
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
15890
- conversationId: z.ZodString;
15891
15889
  role: z.ZodString;
15890
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
15891
+ conversationId: z.ZodString;
15892
15892
  fromSubAgentId: z.ZodNullable<z.ZodString>;
15893
15893
  toSubAgentId: z.ZodNullable<z.ZodString>;
15894
15894
  fromExternalAgentId: z.ZodNullable<z.ZodString>;
@@ -15955,8 +15955,8 @@ declare const SubAgentArtifactComponentListResponse: z.ZodObject<{
15955
15955
  }, z.core.$strip>;
15956
15956
  declare const FullProjectDefinitionResponse: z.ZodObject<{
15957
15957
  data: z.ZodObject<{
15958
- id: z.ZodString;
15959
15958
  name: z.ZodString;
15959
+ id: z.ZodString;
15960
15960
  description: z.ZodString;
15961
15961
  models: z.ZodObject<{
15962
15962
  base: z.ZodObject<{
@@ -15978,18 +15978,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
15978
15978
  }, z.core.$strip>>;
15979
15979
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
15980
15980
  name: z.ZodString;
15981
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15982
15981
  createdAt: z.ZodOptional<z.ZodString>;
15983
15982
  updatedAt: z.ZodOptional<z.ZodString>;
15983
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15984
15984
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15985
15985
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15986
15986
  id: z.ZodString;
15987
15987
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
15988
- id: z.ZodString;
15989
15988
  name: z.ZodString;
15990
- description: z.ZodString;
15989
+ id: z.ZodString;
15991
15990
  createdAt: z.ZodOptional<z.ZodString>;
15992
15991
  updatedAt: z.ZodOptional<z.ZodString>;
15992
+ description: z.ZodString;
15993
15993
  models: z.ZodOptional<z.ZodObject<{
15994
15994
  base: z.ZodOptional<z.ZodObject<{
15995
15995
  model: z.ZodOptional<z.ZodString>;
@@ -16036,9 +16036,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16036
16036
  }, z.core.$strip>]>>>;
16037
16037
  }, z.core.$strip>>;
16038
16038
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16039
- id: z.ZodString;
16040
16039
  name: z.ZodString;
16041
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16040
+ id: z.ZodString;
16041
+ createdAt: z.ZodOptional<z.ZodString>;
16042
+ updatedAt: z.ZodOptional<z.ZodString>;
16043
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16042
16044
  config: z.ZodObject<{
16043
16045
  type: z.ZodLiteral<"mcp">;
16044
16046
  mcp: z.ZodObject<{
@@ -16058,21 +16060,19 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16058
16060
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16059
16061
  }, z.core.$strip>;
16060
16062
  }, z.core.$strip>;
16061
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16062
- createdAt: z.ZodOptional<z.ZodString>;
16063
- updatedAt: z.ZodOptional<z.ZodString>;
16064
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16063
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16065
16064
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16065
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16066
16066
  imageUrl: z.ZodOptional<z.ZodString>;
16067
16067
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16068
16068
  }, z.core.$strip>>>;
16069
16069
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16070
- id: z.ZodString;
16071
16070
  name: z.ZodString;
16072
- description: z.ZodString;
16073
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16071
+ id: z.ZodString;
16074
16072
  createdAt: z.ZodOptional<z.ZodString>;
16075
16073
  updatedAt: z.ZodOptional<z.ZodString>;
16074
+ description: z.ZodString;
16075
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16076
16076
  baseUrl: z.ZodString;
16077
16077
  }, z.core.$strip>>>;
16078
16078
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16081,11 +16081,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16081
16081
  description: z.ZodString;
16082
16082
  }, z.core.$strip>>>;
16083
16083
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16084
- id: z.ZodString;
16085
16084
  name: z.ZodString;
16086
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16085
+ id: z.ZodString;
16087
16086
  createdAt: z.ZodOptional<z.ZodString>;
16088
16087
  updatedAt: z.ZodOptional<z.ZodString>;
16088
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16089
16089
  functionId: z.ZodString;
16090
16090
  }, z.core.$strip>>>;
16091
16091
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16136,9 +16136,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16136
16136
  prompt: z.ZodOptional<z.ZodString>;
16137
16137
  }, z.core.$strip>>;
16138
16138
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
16139
- id: z.ZodString;
16140
16139
  name: z.ZodString;
16141
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16140
+ id: z.ZodString;
16141
+ createdAt: z.ZodOptional<z.ZodString>;
16142
+ updatedAt: z.ZodOptional<z.ZodString>;
16143
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16142
16144
  config: z.ZodObject<{
16143
16145
  type: z.ZodLiteral<"mcp">;
16144
16146
  mcp: z.ZodObject<{
@@ -16158,20 +16160,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16158
16160
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16159
16161
  }, z.core.$strip>;
16160
16162
  }, z.core.$strip>;
16161
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16162
- createdAt: z.ZodOptional<z.ZodString>;
16163
- updatedAt: z.ZodOptional<z.ZodString>;
16164
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16163
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16165
16164
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16165
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16166
16166
  imageUrl: z.ZodOptional<z.ZodString>;
16167
16167
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16168
16168
  }, z.core.$strip>>;
16169
16169
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16170
- id: z.ZodString;
16171
16170
  name: z.ZodString;
16172
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16171
+ id: z.ZodString;
16173
16172
  createdAt: z.ZodOptional<z.ZodString>;
16174
16173
  updatedAt: z.ZodOptional<z.ZodString>;
16174
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16175
16175
  functionId: z.ZodString;
16176
16176
  }, z.core.$strip>>>;
16177
16177
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16183,11 +16183,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16183
16183
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16184
16184
  }, z.core.$strip>>>;
16185
16185
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16186
- id: z.ZodString;
16187
16186
  name: z.ZodString;
16188
- description: z.ZodString;
16187
+ id: z.ZodString;
16189
16188
  createdAt: z.ZodOptional<z.ZodString>;
16190
16189
  updatedAt: z.ZodOptional<z.ZodString>;
16190
+ description: z.ZodString;
16191
16191
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
16192
16192
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
16193
16193
  component: string;
@@ -16204,8 +16204,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16204
16204
  }>>>>;
16205
16205
  }, z.core.$strip>>>;
16206
16206
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16207
- id: z.ZodString;
16208
16207
  name: z.ZodString;
16208
+ id: z.ZodString;
16209
16209
  description: z.ZodString;
16210
16210
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
16211
16211
  }, {
@@ -16213,12 +16213,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16213
16213
  in: {};
16214
16214
  }>>>;
16215
16215
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16216
- id: z.ZodString;
16217
16216
  name: z.ZodString;
16218
- description: z.ZodString;
16219
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16217
+ id: z.ZodString;
16220
16218
  createdAt: z.ZodOptional<z.ZodString>;
16221
16219
  updatedAt: z.ZodOptional<z.ZodString>;
16220
+ description: z.ZodString;
16221
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16222
16222
  baseUrl: z.ZodString;
16223
16223
  }, z.core.$strip>>>;
16224
16224
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -16237,8 +16237,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16237
16237
  }, z.core.$strip>>>;
16238
16238
  }, z.core.$strip>>;
16239
16239
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16240
- id: z.ZodString;
16241
16240
  name: z.ZodString;
16241
+ id: z.ZodString;
16242
16242
  createdAt: z.ZodOptional<z.ZodString>;
16243
16243
  updatedAt: z.ZodOptional<z.ZodString>;
16244
16244
  credentialStoreId: z.ZodString;
@@ -16259,18 +16259,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16259
16259
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16260
16260
  data: z.ZodObject<{
16261
16261
  name: z.ZodString;
16262
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16263
16262
  createdAt: z.ZodOptional<z.ZodString>;
16264
16263
  updatedAt: z.ZodOptional<z.ZodString>;
16264
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16265
16265
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16266
16266
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16267
16267
  id: z.ZodString;
16268
16268
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
16269
- id: z.ZodString;
16270
16269
  name: z.ZodString;
16271
- description: z.ZodString;
16270
+ id: z.ZodString;
16272
16271
  createdAt: z.ZodOptional<z.ZodString>;
16273
16272
  updatedAt: z.ZodOptional<z.ZodString>;
16273
+ description: z.ZodString;
16274
16274
  models: z.ZodOptional<z.ZodObject<{
16275
16275
  base: z.ZodOptional<z.ZodObject<{
16276
16276
  model: z.ZodOptional<z.ZodString>;
@@ -16317,9 +16317,11 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16317
16317
  }, z.core.$strip>]>>>;
16318
16318
  }, z.core.$strip>>;
16319
16319
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16320
- id: z.ZodString;
16321
16320
  name: z.ZodString;
16322
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16321
+ id: z.ZodString;
16322
+ createdAt: z.ZodOptional<z.ZodString>;
16323
+ updatedAt: z.ZodOptional<z.ZodString>;
16324
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16323
16325
  config: z.ZodObject<{
16324
16326
  type: z.ZodLiteral<"mcp">;
16325
16327
  mcp: z.ZodObject<{
@@ -16339,21 +16341,19 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16339
16341
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16340
16342
  }, z.core.$strip>;
16341
16343
  }, z.core.$strip>;
16342
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16343
- createdAt: z.ZodOptional<z.ZodString>;
16344
- updatedAt: z.ZodOptional<z.ZodString>;
16345
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16344
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16346
16345
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16346
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16347
16347
  imageUrl: z.ZodOptional<z.ZodString>;
16348
16348
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16349
16349
  }, z.core.$strip>>>;
16350
16350
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16351
- id: z.ZodString;
16352
16351
  name: z.ZodString;
16353
- description: z.ZodString;
16354
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16352
+ id: z.ZodString;
16355
16353
  createdAt: z.ZodOptional<z.ZodString>;
16356
16354
  updatedAt: z.ZodOptional<z.ZodString>;
16355
+ description: z.ZodString;
16356
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16357
16357
  baseUrl: z.ZodString;
16358
16358
  }, z.core.$strip>>>;
16359
16359
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16362,11 +16362,11 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16362
16362
  description: z.ZodString;
16363
16363
  }, z.core.$strip>>>;
16364
16364
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16365
- id: z.ZodString;
16366
16365
  name: z.ZodString;
16367
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16366
+ id: z.ZodString;
16368
16367
  createdAt: z.ZodOptional<z.ZodString>;
16369
16368
  updatedAt: z.ZodOptional<z.ZodString>;
16369
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16370
16370
  functionId: z.ZodString;
16371
16371
  }, z.core.$strip>>>;
16372
16372
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16578,8 +16578,8 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
16578
16578
  createdAt: z.ZodString;
16579
16579
  updatedAt: z.ZodString;
16580
16580
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16581
- externalAgentId: z.ZodString;
16582
16581
  subAgentId: z.ZodString;
16582
+ externalAgentId: z.ZodString;
16583
16583
  }, z.core.$strip>;
16584
16584
  }, z.core.$strip>;
16585
16585
  declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
@@ -16588,8 +16588,8 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
16588
16588
  createdAt: z.ZodString;
16589
16589
  updatedAt: z.ZodString;
16590
16590
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16591
- externalAgentId: z.ZodString;
16592
16591
  subAgentId: z.ZodString;
16592
+ externalAgentId: z.ZodString;
16593
16593
  }, z.core.$strip>>;
16594
16594
  pagination: z.ZodObject<{
16595
16595
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16600,11 +16600,11 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
16600
16600
  }, z.core.$strip>;
16601
16601
  declare const DataComponentArrayResponse: z.ZodObject<{
16602
16602
  data: z.ZodArray<z.ZodObject<{
16603
- id: z.ZodString;
16604
16603
  name: z.ZodString;
16605
- description: z.ZodString;
16604
+ id: z.ZodString;
16606
16605
  createdAt: z.ZodString;
16607
16606
  updatedAt: z.ZodString;
16607
+ description: z.ZodString;
16608
16608
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
16609
16609
  render: z.ZodNullable<z.ZodType<{
16610
16610
  component: string;
@@ -16623,11 +16623,11 @@ declare const DataComponentArrayResponse: z.ZodObject<{
16623
16623
  }, z.core.$strip>;
16624
16624
  declare const ArtifactComponentArrayResponse: z.ZodObject<{
16625
16625
  data: z.ZodArray<z.ZodObject<{
16626
- id: z.ZodString;
16627
16626
  name: z.ZodString;
16628
- description: z.ZodString;
16627
+ id: z.ZodString;
16629
16628
  createdAt: z.ZodString;
16630
16629
  updatedAt: z.ZodString;
16630
+ description: z.ZodString;
16631
16631
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
16632
16632
  }, z.core.$strip>>;
16633
16633
  }, z.core.$strip>;