@inkeep/agents-core 0.37.1 → 0.37.2

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 (46) hide show
  1. package/dist/auth/auth-schema.d.ts +47 -1
  2. package/dist/auth/auth-schema.js +1 -1
  3. package/dist/auth/auth-validation-schemas.d.ts +35 -1
  4. package/dist/auth/auth-validation-schemas.js +2 -2
  5. package/dist/auth/auth.d.ts +23 -23
  6. package/dist/auth/auth.js +11 -4
  7. package/dist/auth/permissions.d.ts +9 -9
  8. package/dist/auth/permissions.js +1 -1
  9. package/dist/{chunk-ROXPFQAM.js → chunk-3HACEHXF.js} +23 -22
  10. package/dist/{chunk-W3QDM7WH.js → chunk-5QZSNATS.js} +2 -2
  11. package/dist/{chunk-7GZHUB4J.js → chunk-6CYQZ5KX.js} +1 -1
  12. package/dist/{chunk-ZEZCCHV7.js → chunk-BJLC7EI4.js} +2 -2
  13. package/dist/{chunk-PVRIMF6N.js → chunk-DEYPSEXR.js} +1 -1
  14. package/dist/chunk-GENLXHZ4.js +159 -0
  15. package/dist/{chunk-VMSYBWFH.js → chunk-JNBVHWXX.js} +7 -4
  16. package/dist/{chunk-LL6F3EAR.js → chunk-RUTYLJB7.js} +1 -1
  17. package/dist/{chunk-K6GMXJPW.js → chunk-XHODTX4H.js} +1 -1
  18. package/dist/{chunk-FOK3JSQN.js → chunk-YSFXXC6K.js} +1 -1
  19. package/dist/{chunk-I6IF7ZTL.js → chunk-ZSYMSL55.js} +2 -2
  20. package/dist/{client-B_3j-V4-.d.ts → client-B3nwdklT.d.ts} +1 -1
  21. package/dist/client-exports.d.ts +6 -7
  22. package/dist/client-exports.js +3 -3
  23. package/dist/constants/schema-validation/index.js +1 -1
  24. package/dist/credential-stores/index.d.ts +3 -4
  25. package/dist/credential-stores/index.js +1 -1
  26. package/dist/db/schema.d.ts +3 -4
  27. package/dist/db/schema.js +2 -2
  28. package/dist/db/test-client.d.ts +4 -5
  29. package/dist/db/test-client.js +1 -1
  30. package/dist/index.d.ts +560 -560
  31. package/dist/index.js +35 -25
  32. package/dist/{schema-DKbG39on.d.ts → schema-BhYTubhP.d.ts} +1 -1
  33. package/dist/{server-BXoUiBMg.d.ts → server-CHLmv-Jb.d.ts} +1 -1
  34. package/dist/types/index.d.ts +3 -4
  35. package/dist/{utility-Lo5NoRHK.d.ts → utility-5USfJ5Xd.d.ts} +452 -453
  36. package/dist/utils/schema-conversion.d.ts +1 -1
  37. package/dist/utils/schema-conversion.js +1 -1
  38. package/dist/validation/index.d.ts +131 -132
  39. package/dist/validation/index.js +2 -2
  40. package/drizzle/0002_puzzling_goblin_queen.sql +8 -0
  41. package/drizzle/0003_sweet_human_robot.sql +8 -0
  42. package/drizzle/meta/0002_snapshot.json +3637 -0
  43. package/drizzle/meta/0003_snapshot.json +3643 -0
  44. package/drizzle/meta/_journal.json +14 -0
  45. package/package.json +2 -4
  46. package/dist/chunk-NFTJ5JBY.js +0 -82
@@ -1,7 +1,6 @@
1
- import { z as z$1 } from 'zod';
1
+ import { z } from '@hono/zod-openapi';
2
2
  import * as drizzle_zod from 'drizzle-zod';
3
3
  import * as drizzle_orm_pg_core from 'drizzle-orm/pg-core';
4
- import { z } from '@hono/zod-openapi';
5
4
 
6
5
  interface PartBase {
7
6
  metadata?: {
@@ -1013,12 +1012,11 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
1013
1012
  in: {};
1014
1013
  }>;
1015
1014
  declare const SubAgentApiSelectSchema: z.ZodObject<{
1016
- id: z.ZodString;
1017
1015
  name: z.ZodString;
1018
- description: z.ZodString;
1019
- prompt: z.ZodString;
1016
+ id: z.ZodString;
1020
1017
  createdAt: z.ZodString;
1021
1018
  updatedAt: z.ZodString;
1019
+ description: z.ZodString;
1022
1020
  models: z.ZodNullable<z.ZodType<{
1023
1021
  base?: {
1024
1022
  model?: string | undefined;
@@ -1081,15 +1079,15 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
1081
1079
  }, {
1082
1080
  stepCountIs?: number | undefined;
1083
1081
  }>>>;
1082
+ prompt: z.ZodString;
1084
1083
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
1085
1084
  }, z.core.$strip>;
1086
1085
  declare const SubAgentApiInsertSchema: z.ZodObject<{
1087
- id: z.ZodString;
1088
1086
  name: z.ZodString;
1089
- description: z.ZodString;
1090
- prompt: z.ZodString;
1087
+ id: z.ZodString;
1091
1088
  createdAt: z.ZodOptional<z.ZodString>;
1092
1089
  updatedAt: z.ZodOptional<z.ZodString>;
1090
+ description: z.ZodString;
1093
1091
  models: z.ZodOptional<z.ZodObject<{
1094
1092
  base: z.ZodOptional<z.ZodObject<{
1095
1093
  model: z.ZodOptional<z.ZodString>;
@@ -1113,15 +1111,15 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
1113
1111
  }, {
1114
1112
  stepCountIs?: number | undefined;
1115
1113
  }>>>>;
1114
+ prompt: z.ZodString;
1116
1115
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
1117
1116
  }, z.core.$strip>;
1118
1117
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
1119
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1120
1118
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1121
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1122
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1119
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1123
1120
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1124
1121
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1122
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1125
1123
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
1126
1124
  base: z.ZodOptional<z.ZodObject<{
1127
1125
  model: z.ZodOptional<z.ZodString>;
@@ -1145,6 +1143,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
1145
1143
  }, {
1146
1144
  stepCountIs?: number | undefined;
1147
1145
  }>>>>>>;
1146
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1148
1147
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
1149
1148
  }, z.core.$strip>;
1150
1149
  declare const SubAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -1573,9 +1572,9 @@ declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{
1573
1572
  }>;
1574
1573
  declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1575
1574
  id: z.ZodString;
1576
- agentId: z.ZodString;
1577
1575
  createdAt: z.ZodOptional<z.ZodString>;
1578
1576
  updatedAt: z.ZodOptional<z.ZodString>;
1577
+ agentId: z.ZodString;
1579
1578
  sourceSubAgentId: z.ZodString;
1580
1579
  targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1581
1580
  relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2447,12 +2446,11 @@ declare const AgentUpdateSchema: z.ZodObject<{
2447
2446
  in: {};
2448
2447
  }>;
2449
2448
  declare const AgentApiSelectSchema: z.ZodObject<{
2450
- id: z.ZodString;
2451
2449
  name: z.ZodString;
2452
- description: z.ZodNullable<z.ZodString>;
2453
- prompt: z.ZodNullable<z.ZodString>;
2450
+ id: z.ZodString;
2454
2451
  createdAt: z.ZodString;
2455
2452
  updatedAt: z.ZodString;
2453
+ description: z.ZodNullable<z.ZodString>;
2456
2454
  models: z.ZodNullable<z.ZodType<{
2457
2455
  base?: {
2458
2456
  model?: string | undefined;
@@ -2517,6 +2515,7 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2517
2515
  }>>>;
2518
2516
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
2519
2517
  contextConfigId: z.ZodNullable<z.ZodString>;
2518
+ prompt: z.ZodNullable<z.ZodString>;
2520
2519
  statusUpdates: z.ZodNullable<z.ZodType<{
2521
2520
  enabled?: boolean | undefined;
2522
2521
  numEvents?: number | undefined;
@@ -2577,10 +2576,9 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2577
2576
  }, z.core.$strip>;
2578
2577
  declare const AgentApiInsertSchema: z.ZodObject<{
2579
2578
  name: z.ZodString;
2580
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2581
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2582
2579
  createdAt: z.ZodOptional<z.ZodString>;
2583
2580
  updatedAt: z.ZodOptional<z.ZodString>;
2581
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2584
2582
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2585
2583
  base?: {
2586
2584
  model?: string | undefined;
@@ -2645,6 +2643,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2645
2643
  }>>>>;
2646
2644
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2647
2645
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2646
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2648
2647
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2649
2648
  enabled?: boolean | undefined;
2650
2649
  numEvents?: number | undefined;
@@ -2705,12 +2704,11 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2705
2704
  id: z.ZodString;
2706
2705
  }, z.core.$strip>;
2707
2706
  declare const AgentApiUpdateSchema: z.ZodObject<{
2708
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2709
2707
  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>>>>;
2708
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2712
2709
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2713
2710
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2711
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2714
2712
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2715
2713
  base?: {
2716
2714
  model?: string | undefined;
@@ -2775,6 +2773,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2775
2773
  }>>>>>>;
2776
2774
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2777
2775
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2776
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2778
2777
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2779
2778
  enabled?: boolean | undefined;
2780
2779
  numEvents?: number | undefined;
@@ -3242,32 +3241,32 @@ declare const TaskUpdateSchema: z.ZodObject<{
3242
3241
  }>;
3243
3242
  declare const TaskApiSelectSchema: z.ZodObject<{
3244
3243
  id: z.ZodString;
3245
- agentId: z.ZodString;
3246
3244
  createdAt: z.ZodString;
3247
3245
  updatedAt: z.ZodString;
3248
3246
  metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
3249
3247
  status: z.ZodString;
3248
+ agentId: z.ZodString;
3250
3249
  contextId: z.ZodString;
3251
3250
  subAgentId: z.ZodString;
3252
3251
  }, z.core.$strip>;
3253
3252
  declare const TaskApiInsertSchema: z.ZodObject<{
3254
3253
  id: z.ZodString;
3255
- agentId: z.ZodString;
3256
3254
  createdAt: z.ZodOptional<z.ZodString>;
3257
3255
  updatedAt: z.ZodOptional<z.ZodString>;
3258
3256
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
3259
3257
  status: z.ZodString;
3258
+ agentId: z.ZodString;
3260
3259
  conversationId: z.ZodOptional<z.ZodString>;
3261
3260
  contextId: z.ZodString;
3262
3261
  subAgentId: z.ZodString;
3263
3262
  }, z.core.$strip>;
3264
3263
  declare const TaskApiUpdateSchema: z.ZodObject<{
3265
3264
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3266
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3267
3265
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3268
3266
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3269
3267
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
3270
3268
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3269
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3271
3270
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3272
3271
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3273
3272
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4568,33 +4567,33 @@ declare const ConversationUpdateSchema: z.ZodObject<{
4568
4567
  }>;
4569
4568
  declare const ConversationApiSelectSchema: z.ZodObject<{
4570
4569
  id: z.ZodString;
4571
- title: z.ZodNullable<z.ZodString>;
4572
4570
  createdAt: z.ZodString;
4573
4571
  updatedAt: z.ZodString;
4574
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
4575
4572
  userId: z.ZodNullable<z.ZodString>;
4573
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
4574
+ title: z.ZodNullable<z.ZodString>;
4576
4575
  activeSubAgentId: z.ZodString;
4577
4576
  lastContextResolution: z.ZodNullable<z.ZodString>;
4578
4577
  }, z.core.$strip>;
4579
4578
  declare const ConversationApiInsertSchema: z.ZodObject<{
4580
4579
  id: z.ZodString;
4581
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4582
4580
  createdAt: z.ZodOptional<z.ZodString>;
4583
4581
  updatedAt: z.ZodOptional<z.ZodString>;
4582
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4584
4583
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
4584
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4585
4585
  contextConfigId: z.ZodOptional<z.ZodString>;
4586
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4587
4586
  activeSubAgentId: z.ZodString;
4588
4587
  lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4589
4588
  }, z.core.$strip>;
4590
4589
  declare const ConversationApiUpdateSchema: z.ZodObject<{
4591
4590
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4592
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4593
4591
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4594
4592
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4593
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4595
4594
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
4595
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4596
4596
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4597
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4598
4597
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4599
4598
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4600
4599
  }, z.core.$strip>;
@@ -5448,8 +5447,8 @@ declare const MessageApiSelectSchema: z.ZodObject<{
5448
5447
  createdAt: z.ZodString;
5449
5448
  updatedAt: z.ZodString;
5450
5449
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
5451
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5452
5450
  role: z.ZodString;
5451
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5453
5452
  conversationId: z.ZodString;
5454
5453
  fromSubAgentId: z.ZodNullable<z.ZodString>;
5455
5454
  toSubAgentId: z.ZodNullable<z.ZodString>;
@@ -5469,8 +5468,8 @@ declare const MessageApiInsertSchema: z.ZodObject<{
5469
5468
  createdAt: z.ZodOptional<z.ZodString>;
5470
5469
  updatedAt: z.ZodOptional<z.ZodString>;
5471
5470
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
5472
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5473
5471
  role: z.ZodString;
5472
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5474
5473
  conversationId: z.ZodString;
5475
5474
  fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5476
5475
  toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5490,8 +5489,8 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
5490
5489
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5491
5490
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5492
5491
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
5493
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
5494
5492
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5493
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
5495
5494
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5496
5495
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5497
5496
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -6467,7 +6466,7 @@ declare const ContextCacheInsertSchema: drizzle_zod.BuildSchema<"insert", {
6467
6466
  }, {}, {
6468
6467
  length: 256;
6469
6468
  }>;
6470
- }, "tenantId" | "projectId" | "id" | "value" | "createdAt" | "updatedAt" | "contextConfigId" | "conversationId" | "contextVariableKey" | "requestHash" | "fetchedAt" | "fetchSource" | "fetchDurationMs">, undefined>, undefined>;
6469
+ }, "id" | "createdAt" | "updatedAt" | "value" | "projectId" | "tenantId" | "contextConfigId" | "conversationId" | "contextVariableKey" | "requestHash" | "fetchedAt" | "fetchSource" | "fetchDurationMs">, undefined>, undefined>;
6471
6470
  declare const ContextCacheUpdateSchema: z.ZodObject<{
6472
6471
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6473
6472
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6488,9 +6487,9 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
6488
6487
  }>;
6489
6488
  declare const ContextCacheApiSelectSchema: z.ZodObject<{
6490
6489
  id: z.ZodString;
6491
- value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6492
6490
  createdAt: z.ZodString;
6493
6491
  updatedAt: z.ZodString;
6492
+ value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6494
6493
  contextConfigId: z.ZodString;
6495
6494
  conversationId: z.ZodString;
6496
6495
  contextVariableKey: z.ZodString;
@@ -6501,9 +6500,9 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
6501
6500
  }, z.core.$strip>;
6502
6501
  declare const ContextCacheApiInsertSchema: z.ZodObject<{
6503
6502
  id: z.ZodString;
6504
- value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6505
6503
  createdAt: z.ZodOptional<z.ZodString>;
6506
6504
  updatedAt: z.ZodOptional<z.ZodString>;
6505
+ value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6507
6506
  contextConfigId: z.ZodString;
6508
6507
  conversationId: z.ZodString;
6509
6508
  contextVariableKey: z.ZodString;
@@ -6514,9 +6513,9 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
6514
6513
  }, z.core.$strip>;
6515
6514
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
6516
6515
  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
6516
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6519
6517
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6518
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
6520
6519
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6521
6520
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6522
6521
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6897,11 +6896,11 @@ declare const DataComponentInsertSchema: z.ZodObject<{
6897
6896
  in: {};
6898
6897
  }>;
6899
6898
  declare const DataComponentBaseSchema: z.ZodObject<{
6900
- tenantId: z.ZodString;
6901
- projectId: z.ZodString;
6902
- id: z.ZodString;
6903
6899
  name: z.ZodString;
6900
+ id: z.ZodString;
6904
6901
  description: z.ZodString;
6902
+ projectId: z.ZodString;
6903
+ tenantId: z.ZodString;
6905
6904
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
6906
6905
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
6907
6906
  component: string;
@@ -6947,11 +6946,11 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
6947
6946
  in: {};
6948
6947
  }>;
6949
6948
  declare const DataComponentApiSelectSchema: z.ZodObject<{
6950
- id: z.ZodString;
6951
6949
  name: z.ZodString;
6952
- description: z.ZodString;
6950
+ id: z.ZodString;
6953
6951
  createdAt: z.ZodString;
6954
6952
  updatedAt: z.ZodString;
6953
+ description: z.ZodString;
6955
6954
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
6956
6955
  render: z.ZodNullable<z.ZodType<{
6957
6956
  component: string;
@@ -6968,11 +6967,11 @@ declare const DataComponentApiSelectSchema: z.ZodObject<{
6968
6967
  }>>>;
6969
6968
  }, z.core.$strip>;
6970
6969
  declare const DataComponentApiInsertSchema: z.ZodObject<{
6971
- id: z.ZodString;
6972
6970
  name: z.ZodString;
6973
- description: z.ZodString;
6971
+ id: z.ZodString;
6974
6972
  createdAt: z.ZodOptional<z.ZodString>;
6975
6973
  updatedAt: z.ZodOptional<z.ZodString>;
6974
+ description: z.ZodString;
6976
6975
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
6977
6976
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
6978
6977
  component: string;
@@ -6989,11 +6988,11 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
6989
6988
  }>>>>;
6990
6989
  }, z.core.$strip>;
6991
6990
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
6992
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6993
6991
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6994
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6992
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6995
6993
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6996
6994
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6995
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6997
6996
  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
6997
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
6999
6998
  component: string;
@@ -7538,7 +7537,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert
7538
7537
  }, {}, {
7539
7538
  length: 256;
7540
7539
  }>;
7541
- }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
7540
+ }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
7542
7541
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
7543
7542
  dataComponentId: z.ZodOptional<z.ZodString>;
7544
7543
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -7893,16 +7892,16 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
7893
7892
  in: {};
7894
7893
  }>;
7895
7894
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
7896
- id: z.ZodString;
7897
7895
  name: z.ZodString;
7898
- description: z.ZodString;
7896
+ id: z.ZodString;
7899
7897
  createdAt: z.ZodString;
7900
7898
  updatedAt: z.ZodString;
7899
+ description: z.ZodString;
7901
7900
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
7902
7901
  }, z.core.$strip>;
7903
7902
  declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
7904
- id: z.ZodString;
7905
7903
  name: z.ZodString;
7904
+ id: z.ZodString;
7906
7905
  description: z.ZodString;
7907
7906
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
7908
7907
  }, {
@@ -7910,11 +7909,11 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
7910
7909
  in: {};
7911
7910
  }>;
7912
7911
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
7913
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7914
7912
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7915
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7913
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7916
7914
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7917
7915
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7916
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7918
7917
  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
7918
  }, z.core.$strip>;
7920
7919
  declare const SubAgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -8269,39 +8268,38 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
8269
8268
  in: {};
8270
8269
  }>;
8271
8270
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
8272
- id: z.ZodString;
8273
8271
  name: z.ZodString;
8274
- description: z.ZodString;
8275
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8272
+ id: z.ZodString;
8276
8273
  createdAt: z.ZodString;
8277
8274
  updatedAt: z.ZodString;
8275
+ description: z.ZodString;
8276
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8278
8277
  baseUrl: z.ZodString;
8279
8278
  }, z.core.$strip>;
8280
8279
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
8281
- id: z.ZodString;
8282
8280
  name: z.ZodString;
8283
- description: z.ZodString;
8284
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8281
+ id: z.ZodString;
8285
8282
  createdAt: z.ZodOptional<z.ZodString>;
8286
8283
  updatedAt: z.ZodOptional<z.ZodString>;
8284
+ description: z.ZodString;
8285
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8287
8286
  baseUrl: z.ZodString;
8288
8287
  }, z.core.$strip>;
8289
8288
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
8290
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8291
8289
  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>>>>;
8290
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8294
8291
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8295
8292
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8293
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8294
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8296
8295
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8297
8296
  }, z.core.$strip>;
8298
8297
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8299
- id: z.ZodString;
8300
8298
  name: z.ZodString;
8301
- description: z.ZodString;
8302
- prompt: z.ZodString;
8299
+ id: z.ZodString;
8303
8300
  createdAt: z.ZodString;
8304
8301
  updatedAt: z.ZodString;
8302
+ description: z.ZodString;
8305
8303
  models: z.ZodNullable<z.ZodType<{
8306
8304
  base?: {
8307
8305
  model?: string | undefined;
@@ -8364,15 +8362,16 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8364
8362
  }, {
8365
8363
  stepCountIs?: number | undefined;
8366
8364
  }>>>;
8365
+ prompt: z.ZodString;
8367
8366
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
8368
8367
  type: z.ZodLiteral<"internal">;
8369
8368
  }, z.core.$strip>, z.ZodObject<{
8370
- id: z.ZodString;
8371
8369
  name: z.ZodString;
8372
- description: z.ZodString;
8373
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8370
+ id: z.ZodString;
8374
8371
  createdAt: z.ZodString;
8375
8372
  updatedAt: z.ZodString;
8373
+ description: z.ZodString;
8374
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8376
8375
  baseUrl: z.ZodString;
8377
8376
  type: z.ZodLiteral<"external">;
8378
8377
  }, z.core.$strip>], "type">;
@@ -8838,24 +8837,24 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
8838
8837
  }>;
8839
8838
  declare const ApiKeyUpdateSchema: z.ZodObject<{
8840
8839
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8840
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8841
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8841
8842
  agentId: z.ZodOptional<z.ZodString>;
8842
8843
  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
8844
  }, {
8846
8845
  out: {};
8847
8846
  in: {};
8848
8847
  }>;
8849
8848
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
8850
- id: z.ZodString;
8851
8849
  name: z.ZodNullable<z.ZodString>;
8850
+ id: z.ZodString;
8851
+ createdAt: z.ZodString;
8852
+ updatedAt: z.ZodString;
8853
+ expiresAt: z.ZodNullable<z.ZodString>;
8852
8854
  agentId: z.ZodString;
8853
8855
  publicId: z.ZodString;
8854
8856
  keyPrefix: z.ZodString;
8855
8857
  lastUsedAt: z.ZodNullable<z.ZodString>;
8856
- expiresAt: z.ZodNullable<z.ZodString>;
8857
- createdAt: z.ZodString;
8858
- updatedAt: z.ZodString;
8859
8858
  }, {
8860
8859
  out: {};
8861
8860
  in: {};
@@ -8863,15 +8862,15 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
8863
8862
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
8864
8863
  data: z.ZodObject<{
8865
8864
  apiKey: z.ZodObject<{
8866
- id: z.ZodString;
8867
8865
  name: z.ZodNullable<z.ZodString>;
8866
+ id: z.ZodString;
8867
+ createdAt: z.ZodString;
8868
+ updatedAt: z.ZodString;
8869
+ expiresAt: z.ZodNullable<z.ZodString>;
8868
8870
  agentId: z.ZodString;
8869
8871
  publicId: z.ZodString;
8870
8872
  keyPrefix: z.ZodString;
8871
8873
  lastUsedAt: z.ZodNullable<z.ZodString>;
8872
- expiresAt: z.ZodNullable<z.ZodString>;
8873
- createdAt: z.ZodString;
8874
- updatedAt: z.ZodString;
8875
8874
  }, {
8876
8875
  out: {};
8877
8876
  in: {};
@@ -8881,20 +8880,20 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
8881
8880
  }, z.core.$strip>;
8882
8881
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
8883
8882
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8884
- agentId: z.ZodString;
8885
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8886
8883
  createdAt: z.ZodOptional<z.ZodString>;
8887
8884
  updatedAt: z.ZodOptional<z.ZodString>;
8885
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8886
+ agentId: z.ZodString;
8888
8887
  }, {
8889
8888
  out: {};
8890
8889
  in: {};
8891
8890
  }>;
8892
8891
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
8893
8892
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8893
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8894
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8894
8895
  agentId: z.ZodOptional<z.ZodString>;
8895
8896
  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
8897
  }, {
8899
8898
  out: {};
8900
8899
  in: {};
@@ -8939,8 +8938,8 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
8939
8938
  in: {};
8940
8939
  }>;
8941
8940
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
8942
- id: z.ZodString;
8943
8941
  name: z.ZodString;
8942
+ id: z.ZodString;
8944
8943
  createdAt: z.ZodString;
8945
8944
  updatedAt: z.ZodString;
8946
8945
  credentialStoreId: z.ZodString;
@@ -9455,8 +9454,8 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
9455
9454
  }>>>;
9456
9455
  }, z.core.$strip>;
9457
9456
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
9458
- id: z.ZodString;
9459
9457
  name: z.ZodString;
9458
+ id: z.ZodString;
9460
9459
  createdAt: z.ZodOptional<z.ZodString>;
9461
9460
  updatedAt: z.ZodOptional<z.ZodString>;
9462
9461
  credentialStoreId: z.ZodString;
@@ -9468,8 +9467,8 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
9468
9467
  }>;
9469
9468
  }, z.core.$strip>;
9470
9469
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
9471
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9472
9470
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9471
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9473
9472
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9474
9473
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9475
9474
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -9585,8 +9584,8 @@ declare const McpToolSchema: z.ZodObject<{
9585
9584
  in: {};
9586
9585
  }>;
9587
9586
  declare const MCPToolConfigSchema: z.ZodObject<{
9588
- id: z.ZodString;
9589
9587
  name: z.ZodString;
9588
+ id: z.ZodString;
9590
9589
  expiresAt: z.ZodOptional<z.ZodString>;
9591
9590
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9592
9591
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -9618,8 +9617,8 @@ declare const MCPToolConfigSchema: z.ZodObject<{
9618
9617
  sessionId: z.ZodOptional<z.ZodString>;
9619
9618
  }, z.core.$strip>>;
9620
9619
  credential: z.ZodOptional<z.ZodObject<{
9621
- id: z.ZodString;
9622
9620
  name: z.ZodString;
9621
+ id: z.ZodString;
9623
9622
  createdAt: z.ZodOptional<z.ZodString>;
9624
9623
  updatedAt: z.ZodOptional<z.ZodString>;
9625
9624
  credentialStoreId: z.ZodString;
@@ -9671,9 +9670,12 @@ declare const ToolUpdateSchema: z.ZodObject<{
9671
9670
  in: {};
9672
9671
  }>;
9673
9672
  declare const ToolApiSelectSchema: z.ZodObject<{
9674
- id: z.ZodString;
9675
9673
  name: z.ZodString;
9674
+ id: z.ZodString;
9675
+ createdAt: z.ZodString;
9676
+ updatedAt: z.ZodString;
9676
9677
  description: z.ZodNullable<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>>>>;
9694
9692
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9693
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
9695
9694
  imageUrl: z.ZodNullable<z.ZodString>;
9696
9695
  lastError: z.ZodNullable<z.ZodString>;
9697
9696
  }, z.core.$strip>;
9698
9697
  declare const ToolApiInsertSchema: z.ZodObject<{
9699
- id: z.ZodString;
9700
9698
  name: z.ZodString;
9699
+ id: z.ZodString;
9700
+ createdAt: z.ZodOptional<z.ZodString>;
9701
+ updatedAt: z.ZodOptional<z.ZodString>;
9701
9702
  description: z.ZodOptional<z.ZodNullable<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>>>>>;
9725
9723
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
9724
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9726
9725
  imageUrl: z.ZodOptional<z.ZodString>;
9727
9726
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9728
9727
  }, z.core.$strip>;
9729
9728
  declare const ToolApiUpdateSchema: z.ZodObject<{
9730
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9731
9729
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9730
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9731
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9732
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9732
9733
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<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,8 @@ 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>>>>>>>;
9756
9754
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
9755
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9757
9756
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9758
9757
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9759
9758
  }, z.core.$strip>;
@@ -10119,29 +10118,29 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
10119
10118
  in: {};
10120
10119
  }>;
10121
10120
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
10122
- id: z.ZodString;
10123
10121
  name: z.ZodString;
10124
- description: z.ZodNullable<z.ZodString>;
10125
- agentId: z.ZodString;
10122
+ id: z.ZodString;
10126
10123
  createdAt: z.ZodString;
10127
10124
  updatedAt: z.ZodString;
10125
+ description: z.ZodNullable<z.ZodString>;
10126
+ agentId: z.ZodString;
10128
10127
  functionId: z.ZodString;
10129
10128
  }, z.core.$strip>;
10130
10129
  declare const FunctionToolApiInsertSchema: z.ZodObject<{
10131
- id: z.ZodString;
10132
10130
  name: z.ZodString;
10133
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10131
+ id: z.ZodString;
10134
10132
  createdAt: z.ZodOptional<z.ZodString>;
10135
10133
  updatedAt: z.ZodOptional<z.ZodString>;
10134
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10136
10135
  functionId: z.ZodString;
10137
10136
  }, z.core.$strip>;
10138
10137
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
10139
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10140
10138
  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>>;
10139
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10143
10140
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10144
10141
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10142
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10143
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10145
10144
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10146
10145
  }, z.core.$strip>;
10147
10146
  declare const FunctionSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -10527,8 +10526,8 @@ declare const FetchDefinitionSchema: z.ZodObject<{
10527
10526
  responseSchema: z.ZodOptional<z.ZodAny>;
10528
10527
  defaultValue: z.ZodOptional<z.ZodAny>;
10529
10528
  credential: z.ZodOptional<z.ZodObject<{
10530
- id: z.ZodString;
10531
10529
  name: z.ZodString;
10530
+ id: z.ZodString;
10532
10531
  createdAt: z.ZodOptional<z.ZodString>;
10533
10532
  updatedAt: z.ZodOptional<z.ZodString>;
10534
10533
  credentialStoreId: z.ZodString;
@@ -10554,23 +10553,23 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
10554
10553
  in: {};
10555
10554
  }>;
10556
10555
  declare const ContextConfigInsertSchema: z.ZodObject<{
10557
- tenantId: z.ZodString;
10558
- projectId: z.ZodString;
10559
10556
  id: z.ZodOptional<z.ZodString>;
10560
- agentId: z.ZodString;
10557
+ projectId: z.ZodString;
10558
+ tenantId: z.ZodString;
10561
10559
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
10562
10560
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
10561
+ agentId: z.ZodString;
10563
10562
  }, {
10564
10563
  out: {};
10565
10564
  in: {};
10566
10565
  }>;
10567
10566
  declare const ContextConfigUpdateSchema: z.ZodObject<{
10568
- tenantId: z.ZodOptional<z.ZodString>;
10569
- projectId: z.ZodOptional<z.ZodString>;
10570
10567
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10571
- agentId: z.ZodOptional<z.ZodString>;
10568
+ projectId: z.ZodOptional<z.ZodString>;
10569
+ tenantId: z.ZodOptional<z.ZodString>;
10572
10570
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
10573
10571
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
10572
+ agentId: z.ZodOptional<z.ZodString>;
10574
10573
  }, {
10575
10574
  out: {};
10576
10575
  in: {};
@@ -11054,34 +11053,34 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
11054
11053
  createdAt: z.ZodString;
11055
11054
  updatedAt: z.ZodString;
11056
11055
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11057
- toolId: z.ZodString;
11058
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11059
11056
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11060
11057
  subAgentId: z.ZodString;
11058
+ toolId: z.ZodString;
11059
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11061
11060
  }, z.core.$strip>;
11062
11061
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
11063
11062
  id: z.ZodString;
11064
11063
  createdAt: z.ZodOptional<z.ZodString>;
11065
11064
  updatedAt: z.ZodOptional<z.ZodString>;
11066
11065
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11066
+ selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11067
+ subAgentId: z.ZodString;
11067
11068
  toolId: z.ZodString;
11068
11069
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
11069
11070
  needsApproval: z.ZodOptional<z.ZodBoolean>;
11070
11071
  }, z.core.$strip>>>>;
11071
- selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11072
- subAgentId: z.ZodString;
11073
11072
  }, z.core.$strip>;
11074
11073
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
11075
11074
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11076
11075
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11077
11076
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11078
11077
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11078
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
11079
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11079
11080
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11080
11081
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
11081
11082
  needsApproval: z.ZodOptional<z.ZodBoolean>;
11082
11083
  }, z.core.$strip>>>>>>;
11083
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
11084
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11085
11084
  }, z.core.$strip>;
11086
11085
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
11087
11086
  createdAt: drizzle_orm_pg_core.PgColumn<{
@@ -11453,8 +11452,8 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
11453
11452
  createdAt: z.ZodString;
11454
11453
  updatedAt: z.ZodString;
11455
11454
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11456
- externalAgentId: z.ZodString;
11457
11455
  subAgentId: z.ZodString;
11456
+ externalAgentId: z.ZodString;
11458
11457
  }, z.core.$strip>;
11459
11458
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
11460
11459
  createdAt: z.ZodOptional<z.ZodString>;
@@ -11467,8 +11466,8 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
11467
11466
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11468
11467
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11469
11468
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11470
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11471
11469
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11470
+ externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11472
11471
  }, z.core.$strip>;
11473
11472
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
11474
11473
  createdAt: drizzle_orm_pg_core.PgColumn<{
@@ -13198,7 +13197,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod.BuildSchema<"insert", {
13198
13197
  }, {}, {
13199
13198
  length: 256;
13200
13199
  }>;
13201
- }, "tenantId" | "projectId" | "id" | "type" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
13200
+ }, "type" | "name" | "id" | "createdAt" | "updatedAt" | "metadata" | "description" | "projectId" | "tenantId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
13202
13201
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13203
13202
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13204
13203
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -13223,13 +13222,13 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13223
13222
  in: {};
13224
13223
  }>;
13225
13224
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
13226
- id: z.ZodString;
13227
13225
  type: z.ZodString;
13228
13226
  name: z.ZodNullable<z.ZodString>;
13229
- description: z.ZodNullable<z.ZodString>;
13227
+ id: z.ZodString;
13230
13228
  createdAt: z.ZodString;
13231
13229
  updatedAt: z.ZodString;
13232
13230
  metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
13231
+ description: z.ZodNullable<z.ZodString>;
13233
13232
  contextId: z.ZodString;
13234
13233
  visibility: z.ZodNullable<z.ZodString>;
13235
13234
  taskId: z.ZodString;
@@ -13241,13 +13240,13 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
13241
13240
  derivedFrom: z.ZodNullable<z.ZodString>;
13242
13241
  }, z.core.$strip>;
13243
13242
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
13244
- id: z.ZodString;
13245
13243
  type: z.ZodOptional<z.ZodString>;
13246
13244
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13247
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13245
+ id: z.ZodString;
13248
13246
  createdAt: z.ZodOptional<z.ZodString>;
13249
13247
  updatedAt: z.ZodOptional<z.ZodString>;
13250
13248
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
13249
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13251
13250
  contextId: z.ZodString;
13252
13251
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13253
13252
  taskId: z.ZodString;
@@ -13259,13 +13258,13 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
13259
13258
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13260
13259
  }, z.core.$strip>;
13261
13260
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
13262
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13263
13261
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13264
13262
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13265
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13263
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13266
13264
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13267
13265
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13268
13266
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
13267
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13269
13268
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13270
13269
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13271
13270
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -13325,11 +13324,11 @@ declare const TeamAgentSchema: z.ZodObject<{
13325
13324
  description: z.ZodString;
13326
13325
  }, z.core.$strip>;
13327
13326
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
13328
- id: z.ZodString;
13329
13327
  name: z.ZodString;
13330
- description: z.ZodString;
13328
+ id: z.ZodString;
13331
13329
  createdAt: z.ZodOptional<z.ZodString>;
13332
13330
  updatedAt: z.ZodOptional<z.ZodString>;
13331
+ description: z.ZodString;
13333
13332
  models: z.ZodOptional<z.ZodObject<{
13334
13333
  base: z.ZodOptional<z.ZodObject<{
13335
13334
  model: z.ZodOptional<z.ZodString>;
@@ -13380,18 +13379,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
13380
13379
  }, z.core.$strip>;
13381
13380
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13382
13381
  name: z.ZodString;
13383
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13384
13382
  createdAt: z.ZodOptional<z.ZodString>;
13385
13383
  updatedAt: z.ZodOptional<z.ZodString>;
13384
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13386
13385
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13387
13386
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13388
13387
  id: z.ZodString;
13389
13388
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
13390
- id: z.ZodString;
13391
13389
  name: z.ZodString;
13392
- description: z.ZodString;
13390
+ id: z.ZodString;
13393
13391
  createdAt: z.ZodOptional<z.ZodString>;
13394
13392
  updatedAt: z.ZodOptional<z.ZodString>;
13393
+ description: z.ZodString;
13395
13394
  models: z.ZodOptional<z.ZodObject<{
13396
13395
  base: z.ZodOptional<z.ZodObject<{
13397
13396
  model: z.ZodOptional<z.ZodString>;
@@ -13441,9 +13440,12 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13441
13440
  }, z.core.$strip>]>>>;
13442
13441
  }, z.core.$strip>>;
13443
13442
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13444
- id: z.ZodString;
13445
13443
  name: z.ZodString;
13444
+ id: z.ZodString;
13445
+ createdAt: z.ZodOptional<z.ZodString>;
13446
+ updatedAt: z.ZodOptional<z.ZodString>;
13446
13447
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13448
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13447
13449
  config: z.ZodObject<{
13448
13450
  type: z.ZodLiteral<"mcp">;
13449
13451
  mcp: z.ZodObject<{
@@ -13463,21 +13465,18 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13463
13465
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13464
13466
  }, z.core.$strip>;
13465
13467
  }, z.core.$strip>;
13466
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13467
- createdAt: z.ZodOptional<z.ZodString>;
13468
- updatedAt: z.ZodOptional<z.ZodString>;
13469
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13470
13468
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
13469
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13471
13470
  imageUrl: z.ZodOptional<z.ZodString>;
13472
13471
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13473
13472
  }, z.core.$strip>>>;
13474
13473
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13475
- id: z.ZodString;
13476
13474
  name: z.ZodString;
13477
- description: z.ZodString;
13478
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13475
+ id: z.ZodString;
13479
13476
  createdAt: z.ZodOptional<z.ZodString>;
13480
13477
  updatedAt: z.ZodOptional<z.ZodString>;
13478
+ description: z.ZodString;
13479
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13481
13480
  baseUrl: z.ZodString;
13482
13481
  }, z.core.$strip>>>;
13483
13482
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13486,11 +13485,11 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13486
13485
  description: z.ZodString;
13487
13486
  }, z.core.$strip>>>;
13488
13487
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13489
- id: z.ZodString;
13490
13488
  name: z.ZodString;
13491
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13489
+ id: z.ZodString;
13492
13490
  createdAt: z.ZodOptional<z.ZodString>;
13493
13491
  updatedAt: z.ZodOptional<z.ZodString>;
13492
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13494
13493
  functionId: z.ZodString;
13495
13494
  }, z.core.$strip>>>;
13496
13495
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13600,10 +13599,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
13600
13599
  in: {};
13601
13600
  }>;
13602
13601
  declare const ProjectInsertSchema: z.ZodObject<{
13603
- tenantId: z.ZodString;
13604
- id: z.ZodString;
13605
13602
  name: z.ZodString;
13603
+ id: z.ZodString;
13606
13604
  description: z.ZodString;
13605
+ tenantId: z.ZodString;
13607
13606
  models: z.ZodObject<{
13608
13607
  base: z.ZodObject<{
13609
13608
  model: z.ZodOptional<z.ZodString>;
@@ -13652,11 +13651,11 @@ declare const ProjectUpdateSchema: z.ZodObject<{
13652
13651
  in: {};
13653
13652
  }>;
13654
13653
  declare const ProjectApiSelectSchema: z.ZodObject<{
13655
- id: z.ZodString;
13656
13654
  name: z.ZodString;
13657
- description: z.ZodString;
13655
+ id: z.ZodString;
13658
13656
  createdAt: z.ZodString;
13659
13657
  updatedAt: z.ZodString;
13658
+ description: z.ZodString;
13660
13659
  models: z.ZodNullable<z.ZodObject<{
13661
13660
  base: z.ZodObject<{
13662
13661
  model: z.ZodOptional<z.ZodString>;
@@ -13680,8 +13679,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
13680
13679
  in: {};
13681
13680
  }>;
13682
13681
  declare const ProjectApiInsertSchema: z.ZodObject<{
13683
- id: z.ZodString;
13684
13682
  name: z.ZodString;
13683
+ id: z.ZodString;
13685
13684
  description: z.ZodString;
13686
13685
  models: z.ZodObject<{
13687
13686
  base: z.ZodObject<{
@@ -13731,8 +13730,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
13731
13730
  in: {};
13732
13731
  }>;
13733
13732
  declare const FullProjectDefinitionSchema: z.ZodObject<{
13734
- id: z.ZodString;
13735
13733
  name: z.ZodString;
13734
+ id: z.ZodString;
13736
13735
  description: z.ZodString;
13737
13736
  models: z.ZodObject<{
13738
13737
  base: z.ZodObject<{
@@ -13754,18 +13753,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13754
13753
  }, z.core.$strip>>;
13755
13754
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
13756
13755
  name: z.ZodString;
13757
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13758
13756
  createdAt: z.ZodOptional<z.ZodString>;
13759
13757
  updatedAt: z.ZodOptional<z.ZodString>;
13758
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13760
13759
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13761
13760
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13762
13761
  id: z.ZodString;
13763
13762
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
13764
- id: z.ZodString;
13765
13763
  name: z.ZodString;
13766
- description: z.ZodString;
13764
+ id: z.ZodString;
13767
13765
  createdAt: z.ZodOptional<z.ZodString>;
13768
13766
  updatedAt: z.ZodOptional<z.ZodString>;
13767
+ description: z.ZodString;
13769
13768
  models: z.ZodOptional<z.ZodObject<{
13770
13769
  base: z.ZodOptional<z.ZodObject<{
13771
13770
  model: z.ZodOptional<z.ZodString>;
@@ -13815,9 +13814,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13815
13814
  }, z.core.$strip>]>>>;
13816
13815
  }, z.core.$strip>>;
13817
13816
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13818
- id: z.ZodString;
13819
13817
  name: z.ZodString;
13818
+ id: z.ZodString;
13819
+ createdAt: z.ZodOptional<z.ZodString>;
13820
+ updatedAt: z.ZodOptional<z.ZodString>;
13820
13821
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13822
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13821
13823
  config: z.ZodObject<{
13822
13824
  type: z.ZodLiteral<"mcp">;
13823
13825
  mcp: z.ZodObject<{
@@ -13837,21 +13839,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13837
13839
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13838
13840
  }, z.core.$strip>;
13839
13841
  }, z.core.$strip>;
13840
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13841
- createdAt: z.ZodOptional<z.ZodString>;
13842
- updatedAt: z.ZodOptional<z.ZodString>;
13843
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13844
13842
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
13843
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13845
13844
  imageUrl: z.ZodOptional<z.ZodString>;
13846
13845
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13847
13846
  }, z.core.$strip>>>;
13848
13847
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13849
- id: z.ZodString;
13850
13848
  name: z.ZodString;
13851
- description: z.ZodString;
13852
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13849
+ id: z.ZodString;
13853
13850
  createdAt: z.ZodOptional<z.ZodString>;
13854
13851
  updatedAt: z.ZodOptional<z.ZodString>;
13852
+ description: z.ZodString;
13853
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13855
13854
  baseUrl: z.ZodString;
13856
13855
  }, z.core.$strip>>>;
13857
13856
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13860,11 +13859,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13860
13859
  description: z.ZodString;
13861
13860
  }, z.core.$strip>>>;
13862
13861
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13863
- id: z.ZodString;
13864
13862
  name: z.ZodString;
13865
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13863
+ id: z.ZodString;
13866
13864
  createdAt: z.ZodOptional<z.ZodString>;
13867
13865
  updatedAt: z.ZodOptional<z.ZodString>;
13866
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13868
13867
  functionId: z.ZodString;
13869
13868
  }, z.core.$strip>>>;
13870
13869
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13915,9 +13914,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13915
13914
  prompt: z.ZodOptional<z.ZodString>;
13916
13915
  }, z.core.$strip>>;
13917
13916
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
13918
- id: z.ZodString;
13919
13917
  name: z.ZodString;
13918
+ id: z.ZodString;
13919
+ createdAt: z.ZodOptional<z.ZodString>;
13920
+ updatedAt: z.ZodOptional<z.ZodString>;
13920
13921
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13922
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13921
13923
  config: z.ZodObject<{
13922
13924
  type: z.ZodLiteral<"mcp">;
13923
13925
  mcp: z.ZodObject<{
@@ -13937,20 +13939,17 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13937
13939
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13938
13940
  }, z.core.$strip>;
13939
13941
  }, z.core.$strip>;
13940
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13941
- createdAt: z.ZodOptional<z.ZodString>;
13942
- updatedAt: z.ZodOptional<z.ZodString>;
13943
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13944
13942
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
13943
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13945
13944
  imageUrl: z.ZodOptional<z.ZodString>;
13946
13945
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13947
13946
  }, z.core.$strip>>;
13948
13947
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13949
- id: z.ZodString;
13950
13948
  name: z.ZodString;
13951
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13949
+ id: z.ZodString;
13952
13950
  createdAt: z.ZodOptional<z.ZodString>;
13953
13951
  updatedAt: z.ZodOptional<z.ZodString>;
13952
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13954
13953
  functionId: z.ZodString;
13955
13954
  }, z.core.$strip>>>;
13956
13955
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13962,11 +13961,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13962
13961
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13963
13962
  }, z.core.$strip>>>;
13964
13963
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13965
- id: z.ZodString;
13966
13964
  name: z.ZodString;
13967
- description: z.ZodString;
13965
+ id: z.ZodString;
13968
13966
  createdAt: z.ZodOptional<z.ZodString>;
13969
13967
  updatedAt: z.ZodOptional<z.ZodString>;
13968
+ description: z.ZodString;
13970
13969
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
13971
13970
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
13972
13971
  component: string;
@@ -13983,8 +13982,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13983
13982
  }>>>>;
13984
13983
  }, z.core.$strip>>>;
13985
13984
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13986
- id: z.ZodString;
13987
13985
  name: z.ZodString;
13986
+ id: z.ZodString;
13988
13987
  description: z.ZodString;
13989
13988
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
13990
13989
  }, {
@@ -13992,12 +13991,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13992
13991
  in: {};
13993
13992
  }>>>;
13994
13993
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13995
- id: z.ZodString;
13996
13994
  name: z.ZodString;
13997
- description: z.ZodString;
13998
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13995
+ id: z.ZodString;
13999
13996
  createdAt: z.ZodOptional<z.ZodString>;
14000
13997
  updatedAt: z.ZodOptional<z.ZodString>;
13998
+ description: z.ZodString;
13999
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14001
14000
  baseUrl: z.ZodString;
14002
14001
  }, z.core.$strip>>>;
14003
14002
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -14016,8 +14015,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14016
14015
  }, z.core.$strip>>>;
14017
14016
  }, z.core.$strip>>;
14018
14017
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14019
- id: z.ZodString;
14020
14018
  name: z.ZodString;
14019
+ id: z.ZodString;
14021
14020
  createdAt: z.ZodOptional<z.ZodString>;
14022
14021
  updatedAt: z.ZodOptional<z.ZodString>;
14023
14022
  credentialStoreId: z.ZodString;
@@ -14036,11 +14035,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14036
14035
  }>;
14037
14036
  declare const ProjectResponse: z.ZodObject<{
14038
14037
  data: z.ZodObject<{
14039
- id: z.ZodString;
14040
14038
  name: z.ZodString;
14041
- description: z.ZodString;
14039
+ id: z.ZodString;
14042
14040
  createdAt: z.ZodString;
14043
14041
  updatedAt: z.ZodString;
14042
+ description: z.ZodString;
14044
14043
  models: z.ZodNullable<z.ZodObject<{
14045
14044
  base: z.ZodObject<{
14046
14045
  model: z.ZodOptional<z.ZodString>;
@@ -14066,12 +14065,11 @@ declare const ProjectResponse: z.ZodObject<{
14066
14065
  }, z.core.$strip>;
14067
14066
  declare const SubAgentResponse: z.ZodObject<{
14068
14067
  data: z.ZodObject<{
14069
- id: z.ZodString;
14070
14068
  name: z.ZodString;
14071
- description: z.ZodString;
14072
- prompt: z.ZodString;
14069
+ id: z.ZodString;
14073
14070
  createdAt: z.ZodString;
14074
14071
  updatedAt: z.ZodString;
14072
+ description: z.ZodString;
14075
14073
  models: z.ZodNullable<z.ZodType<{
14076
14074
  base?: {
14077
14075
  model?: string | undefined;
@@ -14134,17 +14132,17 @@ declare const SubAgentResponse: z.ZodObject<{
14134
14132
  }, {
14135
14133
  stepCountIs?: number | undefined;
14136
14134
  }>>>;
14135
+ prompt: z.ZodString;
14137
14136
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
14138
14137
  }, z.core.$strip>;
14139
14138
  }, z.core.$strip>;
14140
14139
  declare const AgentResponse: z.ZodObject<{
14141
14140
  data: z.ZodObject<{
14142
- id: z.ZodString;
14143
14141
  name: z.ZodString;
14144
- description: z.ZodNullable<z.ZodString>;
14145
- prompt: z.ZodNullable<z.ZodString>;
14142
+ id: z.ZodString;
14146
14143
  createdAt: z.ZodString;
14147
14144
  updatedAt: z.ZodString;
14145
+ description: z.ZodNullable<z.ZodString>;
14148
14146
  models: z.ZodNullable<z.ZodType<{
14149
14147
  base?: {
14150
14148
  model?: string | undefined;
@@ -14209,6 +14207,7 @@ declare const AgentResponse: z.ZodObject<{
14209
14207
  }>>>;
14210
14208
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
14211
14209
  contextConfigId: z.ZodNullable<z.ZodString>;
14210
+ prompt: z.ZodNullable<z.ZodString>;
14212
14211
  statusUpdates: z.ZodNullable<z.ZodType<{
14213
14212
  enabled?: boolean | undefined;
14214
14213
  numEvents?: number | undefined;
@@ -14270,9 +14269,12 @@ declare const AgentResponse: z.ZodObject<{
14270
14269
  }, z.core.$strip>;
14271
14270
  declare const ToolResponse: z.ZodObject<{
14272
14271
  data: z.ZodObject<{
14273
- id: z.ZodString;
14274
14272
  name: z.ZodString;
14273
+ id: z.ZodString;
14274
+ createdAt: z.ZodString;
14275
+ updatedAt: z.ZodString;
14275
14276
  description: z.ZodNullable<z.ZodString>;
14277
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
14276
14278
  config: z.ZodType<{
14277
14279
  type: "mcp";
14278
14280
  mcp: ToolMcpConfig;
@@ -14286,23 +14288,20 @@ declare const ToolResponse: z.ZodObject<{
14286
14288
  type: "mcp";
14287
14289
  mcp: ToolMcpConfig;
14288
14290
  }>>;
14289
- credentialReferenceId: z.ZodNullable<z.ZodString>;
14290
- createdAt: z.ZodString;
14291
- updatedAt: z.ZodString;
14292
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
14293
14291
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
14292
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
14294
14293
  imageUrl: z.ZodNullable<z.ZodString>;
14295
14294
  lastError: z.ZodNullable<z.ZodString>;
14296
14295
  }, z.core.$strip>;
14297
14296
  }, z.core.$strip>;
14298
14297
  declare const ExternalAgentResponse: z.ZodObject<{
14299
14298
  data: z.ZodObject<{
14300
- id: z.ZodString;
14301
14299
  name: z.ZodString;
14302
- description: z.ZodString;
14303
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14300
+ id: z.ZodString;
14304
14301
  createdAt: z.ZodString;
14305
14302
  updatedAt: z.ZodString;
14303
+ description: z.ZodString;
14304
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14306
14305
  baseUrl: z.ZodString;
14307
14306
  }, z.core.$strip>;
14308
14307
  }, z.core.$strip>;
@@ -14317,15 +14316,15 @@ declare const ContextConfigResponse: z.ZodObject<{
14317
14316
  }, z.core.$strip>;
14318
14317
  declare const ApiKeyResponse: z.ZodObject<{
14319
14318
  data: z.ZodObject<{
14320
- id: z.ZodString;
14321
14319
  name: z.ZodNullable<z.ZodString>;
14320
+ id: z.ZodString;
14321
+ createdAt: z.ZodString;
14322
+ updatedAt: z.ZodString;
14323
+ expiresAt: z.ZodNullable<z.ZodString>;
14322
14324
  agentId: z.ZodString;
14323
14325
  publicId: z.ZodString;
14324
14326
  keyPrefix: z.ZodString;
14325
14327
  lastUsedAt: z.ZodNullable<z.ZodString>;
14326
- expiresAt: z.ZodNullable<z.ZodString>;
14327
- createdAt: z.ZodString;
14328
- updatedAt: z.ZodString;
14329
14328
  }, {
14330
14329
  out: {};
14331
14330
  in: {};
@@ -14333,8 +14332,8 @@ declare const ApiKeyResponse: z.ZodObject<{
14333
14332
  }, z.core.$strip>;
14334
14333
  declare const CredentialReferenceResponse: z.ZodObject<{
14335
14334
  data: z.ZodObject<{
14336
- id: z.ZodString;
14337
14335
  name: z.ZodString;
14336
+ id: z.ZodString;
14338
14337
  createdAt: z.ZodString;
14339
14338
  updatedAt: z.ZodString;
14340
14339
  credentialStoreId: z.ZodString;
@@ -14861,22 +14860,22 @@ declare const FunctionResponse: z.ZodObject<{
14861
14860
  }, z.core.$strip>;
14862
14861
  declare const FunctionToolResponse: z.ZodObject<{
14863
14862
  data: z.ZodObject<{
14864
- id: z.ZodString;
14865
14863
  name: z.ZodString;
14866
- description: z.ZodNullable<z.ZodString>;
14867
- agentId: z.ZodString;
14864
+ id: z.ZodString;
14868
14865
  createdAt: z.ZodString;
14869
14866
  updatedAt: z.ZodString;
14867
+ description: z.ZodNullable<z.ZodString>;
14868
+ agentId: z.ZodString;
14870
14869
  functionId: z.ZodString;
14871
14870
  }, z.core.$strip>;
14872
14871
  }, z.core.$strip>;
14873
14872
  declare const DataComponentResponse: z.ZodObject<{
14874
14873
  data: z.ZodObject<{
14875
- id: z.ZodString;
14876
14874
  name: z.ZodString;
14877
- description: z.ZodString;
14875
+ id: z.ZodString;
14878
14876
  createdAt: z.ZodString;
14879
14877
  updatedAt: z.ZodString;
14878
+ description: z.ZodString;
14880
14879
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
14881
14880
  render: z.ZodNullable<z.ZodType<{
14882
14881
  component: string;
@@ -14895,11 +14894,11 @@ declare const DataComponentResponse: z.ZodObject<{
14895
14894
  }, z.core.$strip>;
14896
14895
  declare const ArtifactComponentResponse: z.ZodObject<{
14897
14896
  data: z.ZodObject<{
14898
- id: z.ZodString;
14899
14897
  name: z.ZodString;
14900
- description: z.ZodString;
14898
+ id: z.ZodString;
14901
14899
  createdAt: z.ZodString;
14902
14900
  updatedAt: z.ZodString;
14901
+ description: z.ZodString;
14903
14902
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
14904
14903
  }, z.core.$strip>;
14905
14904
  }, z.core.$strip>;
@@ -14919,20 +14918,20 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
14919
14918
  createdAt: z.ZodString;
14920
14919
  updatedAt: z.ZodString;
14921
14920
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14922
- toolId: z.ZodString;
14923
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14924
14921
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14925
14922
  subAgentId: z.ZodString;
14923
+ toolId: z.ZodString;
14924
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14926
14925
  }, z.core.$strip>;
14927
14926
  }, z.core.$strip>;
14928
14927
  declare const ConversationResponse: z.ZodObject<{
14929
14928
  data: z.ZodObject<{
14930
14929
  id: z.ZodString;
14931
- title: z.ZodNullable<z.ZodString>;
14932
14930
  createdAt: z.ZodString;
14933
14931
  updatedAt: z.ZodString;
14934
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
14935
14932
  userId: z.ZodNullable<z.ZodString>;
14933
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
14934
+ title: z.ZodNullable<z.ZodString>;
14936
14935
  activeSubAgentId: z.ZodString;
14937
14936
  lastContextResolution: z.ZodNullable<z.ZodString>;
14938
14937
  }, z.core.$strip>;
@@ -14943,8 +14942,8 @@ declare const MessageResponse: z.ZodObject<{
14943
14942
  createdAt: z.ZodString;
14944
14943
  updatedAt: z.ZodString;
14945
14944
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
14946
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
14947
14945
  role: z.ZodString;
14946
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
14948
14947
  conversationId: z.ZodString;
14949
14948
  fromSubAgentId: z.ZodNullable<z.ZodString>;
14950
14949
  toSubAgentId: z.ZodNullable<z.ZodString>;
@@ -14962,11 +14961,11 @@ declare const MessageResponse: z.ZodObject<{
14962
14961
  }, z.core.$strip>;
14963
14962
  declare const ProjectListResponse: z.ZodObject<{
14964
14963
  data: z.ZodArray<z.ZodObject<{
14965
- id: z.ZodString;
14966
14964
  name: z.ZodString;
14967
- description: z.ZodString;
14965
+ id: z.ZodString;
14968
14966
  createdAt: z.ZodString;
14969
14967
  updatedAt: z.ZodString;
14968
+ description: z.ZodString;
14970
14969
  models: z.ZodNullable<z.ZodObject<{
14971
14970
  base: z.ZodObject<{
14972
14971
  model: z.ZodOptional<z.ZodString>;
@@ -14998,12 +14997,11 @@ declare const ProjectListResponse: z.ZodObject<{
14998
14997
  }, z.core.$strip>;
14999
14998
  declare const SubAgentListResponse: z.ZodObject<{
15000
14999
  data: z.ZodArray<z.ZodObject<{
15001
- id: z.ZodString;
15002
15000
  name: z.ZodString;
15003
- description: z.ZodString;
15004
- prompt: z.ZodString;
15001
+ id: z.ZodString;
15005
15002
  createdAt: z.ZodString;
15006
15003
  updatedAt: z.ZodString;
15004
+ description: z.ZodString;
15007
15005
  models: z.ZodNullable<z.ZodType<{
15008
15006
  base?: {
15009
15007
  model?: string | undefined;
@@ -15066,6 +15064,7 @@ declare const SubAgentListResponse: z.ZodObject<{
15066
15064
  }, {
15067
15065
  stepCountIs?: number | undefined;
15068
15066
  }>>>;
15067
+ prompt: z.ZodString;
15069
15068
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
15070
15069
  }, z.core.$strip>>;
15071
15070
  pagination: z.ZodObject<{
@@ -15077,12 +15076,11 @@ declare const SubAgentListResponse: z.ZodObject<{
15077
15076
  }, z.core.$strip>;
15078
15077
  declare const AgentListResponse: z.ZodObject<{
15079
15078
  data: z.ZodArray<z.ZodObject<{
15080
- id: z.ZodString;
15081
15079
  name: z.ZodString;
15082
- description: z.ZodNullable<z.ZodString>;
15083
- prompt: z.ZodNullable<z.ZodString>;
15080
+ id: z.ZodString;
15084
15081
  createdAt: z.ZodString;
15085
15082
  updatedAt: z.ZodString;
15083
+ description: z.ZodNullable<z.ZodString>;
15086
15084
  models: z.ZodNullable<z.ZodType<{
15087
15085
  base?: {
15088
15086
  model?: string | undefined;
@@ -15147,6 +15145,7 @@ declare const AgentListResponse: z.ZodObject<{
15147
15145
  }>>>;
15148
15146
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
15149
15147
  contextConfigId: z.ZodNullable<z.ZodString>;
15148
+ prompt: z.ZodNullable<z.ZodString>;
15150
15149
  statusUpdates: z.ZodNullable<z.ZodType<{
15151
15150
  enabled?: boolean | undefined;
15152
15151
  numEvents?: number | undefined;
@@ -15214,9 +15213,12 @@ declare const AgentListResponse: z.ZodObject<{
15214
15213
  }, z.core.$strip>;
15215
15214
  declare const ToolListResponse: z.ZodObject<{
15216
15215
  data: z.ZodArray<z.ZodObject<{
15217
- id: z.ZodString;
15218
15216
  name: z.ZodString;
15217
+ id: z.ZodString;
15218
+ createdAt: z.ZodString;
15219
+ updatedAt: z.ZodString;
15219
15220
  description: z.ZodNullable<z.ZodString>;
15221
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15220
15222
  config: z.ZodType<{
15221
15223
  type: "mcp";
15222
15224
  mcp: ToolMcpConfig;
@@ -15230,11 +15232,8 @@ declare const ToolListResponse: z.ZodObject<{
15230
15232
  type: "mcp";
15231
15233
  mcp: ToolMcpConfig;
15232
15234
  }>>;
15233
- credentialReferenceId: z.ZodNullable<z.ZodString>;
15234
- createdAt: z.ZodString;
15235
- updatedAt: z.ZodString;
15236
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15237
15235
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
15236
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
15238
15237
  imageUrl: z.ZodNullable<z.ZodString>;
15239
15238
  lastError: z.ZodNullable<z.ZodString>;
15240
15239
  }, z.core.$strip>>;
@@ -15247,12 +15246,12 @@ declare const ToolListResponse: z.ZodObject<{
15247
15246
  }, z.core.$strip>;
15248
15247
  declare const ExternalAgentListResponse: z.ZodObject<{
15249
15248
  data: z.ZodArray<z.ZodObject<{
15250
- id: z.ZodString;
15251
15249
  name: z.ZodString;
15252
- description: z.ZodString;
15253
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15250
+ id: z.ZodString;
15254
15251
  createdAt: z.ZodString;
15255
15252
  updatedAt: z.ZodString;
15253
+ description: z.ZodString;
15254
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15256
15255
  baseUrl: z.ZodString;
15257
15256
  }, z.core.$strip>>;
15258
15257
  pagination: z.ZodObject<{
@@ -15279,15 +15278,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
15279
15278
  }, z.core.$strip>;
15280
15279
  declare const ApiKeyListResponse: z.ZodObject<{
15281
15280
  data: z.ZodArray<z.ZodObject<{
15282
- id: z.ZodString;
15283
15281
  name: z.ZodNullable<z.ZodString>;
15282
+ id: z.ZodString;
15283
+ createdAt: z.ZodString;
15284
+ updatedAt: z.ZodString;
15285
+ expiresAt: z.ZodNullable<z.ZodString>;
15284
15286
  agentId: z.ZodString;
15285
15287
  publicId: z.ZodString;
15286
15288
  keyPrefix: z.ZodString;
15287
15289
  lastUsedAt: z.ZodNullable<z.ZodString>;
15288
- expiresAt: z.ZodNullable<z.ZodString>;
15289
- createdAt: z.ZodString;
15290
- updatedAt: z.ZodString;
15291
15290
  }, {
15292
15291
  out: {};
15293
15292
  in: {};
@@ -15301,8 +15300,8 @@ declare const ApiKeyListResponse: z.ZodObject<{
15301
15300
  }, z.core.$strip>;
15302
15301
  declare const CredentialReferenceListResponse: z.ZodObject<{
15303
15302
  data: z.ZodArray<z.ZodObject<{
15304
- id: z.ZodString;
15305
15303
  name: z.ZodString;
15304
+ id: z.ZodString;
15306
15305
  createdAt: z.ZodString;
15307
15306
  updatedAt: z.ZodString;
15308
15307
  credentialStoreId: z.ZodString;
@@ -15841,12 +15840,12 @@ declare const FunctionListResponse: z.ZodObject<{
15841
15840
  }, z.core.$strip>;
15842
15841
  declare const FunctionToolListResponse: z.ZodObject<{
15843
15842
  data: z.ZodArray<z.ZodObject<{
15844
- id: z.ZodString;
15845
15843
  name: z.ZodString;
15846
- description: z.ZodNullable<z.ZodString>;
15847
- agentId: z.ZodString;
15844
+ id: z.ZodString;
15848
15845
  createdAt: z.ZodString;
15849
15846
  updatedAt: z.ZodString;
15847
+ description: z.ZodNullable<z.ZodString>;
15848
+ agentId: z.ZodString;
15850
15849
  functionId: z.ZodString;
15851
15850
  }, z.core.$strip>>;
15852
15851
  pagination: z.ZodObject<{
@@ -15858,11 +15857,11 @@ declare const FunctionToolListResponse: z.ZodObject<{
15858
15857
  }, z.core.$strip>;
15859
15858
  declare const DataComponentListResponse: z.ZodObject<{
15860
15859
  data: z.ZodArray<z.ZodObject<{
15861
- id: z.ZodString;
15862
15860
  name: z.ZodString;
15863
- description: z.ZodString;
15861
+ id: z.ZodString;
15864
15862
  createdAt: z.ZodString;
15865
15863
  updatedAt: z.ZodString;
15864
+ description: z.ZodString;
15866
15865
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
15867
15866
  render: z.ZodNullable<z.ZodType<{
15868
15867
  component: string;
@@ -15887,11 +15886,11 @@ declare const DataComponentListResponse: z.ZodObject<{
15887
15886
  }, z.core.$strip>;
15888
15887
  declare const ArtifactComponentListResponse: z.ZodObject<{
15889
15888
  data: z.ZodArray<z.ZodObject<{
15890
- id: z.ZodString;
15891
15889
  name: z.ZodString;
15892
- description: z.ZodString;
15890
+ id: z.ZodString;
15893
15891
  createdAt: z.ZodString;
15894
15892
  updatedAt: z.ZodString;
15893
+ description: z.ZodString;
15895
15894
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
15896
15895
  }, z.core.$strip>>;
15897
15896
  pagination: z.ZodObject<{
@@ -15923,10 +15922,10 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
15923
15922
  createdAt: z.ZodString;
15924
15923
  updatedAt: z.ZodString;
15925
15924
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15926
- toolId: z.ZodString;
15927
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15928
15925
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15929
15926
  subAgentId: z.ZodString;
15927
+ toolId: z.ZodString;
15928
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15930
15929
  }, z.core.$strip>>;
15931
15930
  pagination: z.ZodObject<{
15932
15931
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -15938,11 +15937,11 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
15938
15937
  declare const ConversationListResponse: z.ZodObject<{
15939
15938
  data: z.ZodArray<z.ZodObject<{
15940
15939
  id: z.ZodString;
15941
- title: z.ZodNullable<z.ZodString>;
15942
15940
  createdAt: z.ZodString;
15943
15941
  updatedAt: z.ZodString;
15944
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
15945
15942
  userId: z.ZodNullable<z.ZodString>;
15943
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
15944
+ title: z.ZodNullable<z.ZodString>;
15946
15945
  activeSubAgentId: z.ZodString;
15947
15946
  lastContextResolution: z.ZodNullable<z.ZodString>;
15948
15947
  }, z.core.$strip>>;
@@ -15959,8 +15958,8 @@ declare const MessageListResponse: z.ZodObject<{
15959
15958
  createdAt: z.ZodString;
15960
15959
  updatedAt: z.ZodString;
15961
15960
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
15962
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
15963
15961
  role: z.ZodString;
15962
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
15964
15963
  conversationId: z.ZodString;
15965
15964
  fromSubAgentId: z.ZodNullable<z.ZodString>;
15966
15965
  toSubAgentId: z.ZodNullable<z.ZodString>;
@@ -16028,8 +16027,8 @@ declare const SubAgentArtifactComponentListResponse: z.ZodObject<{
16028
16027
  }, z.core.$strip>;
16029
16028
  declare const FullProjectDefinitionResponse: z.ZodObject<{
16030
16029
  data: z.ZodObject<{
16031
- id: z.ZodString;
16032
16030
  name: z.ZodString;
16031
+ id: z.ZodString;
16033
16032
  description: z.ZodString;
16034
16033
  models: z.ZodObject<{
16035
16034
  base: z.ZodObject<{
@@ -16051,18 +16050,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16051
16050
  }, z.core.$strip>>;
16052
16051
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
16053
16052
  name: z.ZodString;
16054
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16055
16053
  createdAt: z.ZodOptional<z.ZodString>;
16056
16054
  updatedAt: z.ZodOptional<z.ZodString>;
16055
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16057
16056
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16058
16057
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16059
16058
  id: z.ZodString;
16060
16059
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
16061
- id: z.ZodString;
16062
16060
  name: z.ZodString;
16063
- description: z.ZodString;
16061
+ id: z.ZodString;
16064
16062
  createdAt: z.ZodOptional<z.ZodString>;
16065
16063
  updatedAt: z.ZodOptional<z.ZodString>;
16064
+ description: z.ZodString;
16066
16065
  models: z.ZodOptional<z.ZodObject<{
16067
16066
  base: z.ZodOptional<z.ZodObject<{
16068
16067
  model: z.ZodOptional<z.ZodString>;
@@ -16112,9 +16111,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16112
16111
  }, z.core.$strip>]>>>;
16113
16112
  }, z.core.$strip>>;
16114
16113
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16115
- id: z.ZodString;
16116
16114
  name: z.ZodString;
16115
+ id: z.ZodString;
16116
+ createdAt: z.ZodOptional<z.ZodString>;
16117
+ updatedAt: z.ZodOptional<z.ZodString>;
16117
16118
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16119
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16118
16120
  config: z.ZodObject<{
16119
16121
  type: z.ZodLiteral<"mcp">;
16120
16122
  mcp: z.ZodObject<{
@@ -16134,21 +16136,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16134
16136
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16135
16137
  }, z.core.$strip>;
16136
16138
  }, z.core.$strip>;
16137
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16138
- createdAt: z.ZodOptional<z.ZodString>;
16139
- updatedAt: z.ZodOptional<z.ZodString>;
16140
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16141
16139
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16140
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16142
16141
  imageUrl: z.ZodOptional<z.ZodString>;
16143
16142
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16144
16143
  }, z.core.$strip>>>;
16145
16144
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16146
- id: z.ZodString;
16147
16145
  name: z.ZodString;
16148
- description: z.ZodString;
16149
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16146
+ id: z.ZodString;
16150
16147
  createdAt: z.ZodOptional<z.ZodString>;
16151
16148
  updatedAt: z.ZodOptional<z.ZodString>;
16149
+ description: z.ZodString;
16150
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16152
16151
  baseUrl: z.ZodString;
16153
16152
  }, z.core.$strip>>>;
16154
16153
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16157,11 +16156,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16157
16156
  description: z.ZodString;
16158
16157
  }, z.core.$strip>>>;
16159
16158
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16160
- id: z.ZodString;
16161
16159
  name: z.ZodString;
16162
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16160
+ id: z.ZodString;
16163
16161
  createdAt: z.ZodOptional<z.ZodString>;
16164
16162
  updatedAt: z.ZodOptional<z.ZodString>;
16163
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16165
16164
  functionId: z.ZodString;
16166
16165
  }, z.core.$strip>>>;
16167
16166
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16212,9 +16211,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16212
16211
  prompt: z.ZodOptional<z.ZodString>;
16213
16212
  }, z.core.$strip>>;
16214
16213
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
16215
- id: z.ZodString;
16216
16214
  name: z.ZodString;
16215
+ id: z.ZodString;
16216
+ createdAt: z.ZodOptional<z.ZodString>;
16217
+ updatedAt: z.ZodOptional<z.ZodString>;
16217
16218
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16219
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16218
16220
  config: z.ZodObject<{
16219
16221
  type: z.ZodLiteral<"mcp">;
16220
16222
  mcp: z.ZodObject<{
@@ -16234,20 +16236,17 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16234
16236
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16235
16237
  }, z.core.$strip>;
16236
16238
  }, z.core.$strip>;
16237
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16238
- createdAt: z.ZodOptional<z.ZodString>;
16239
- updatedAt: z.ZodOptional<z.ZodString>;
16240
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16241
16239
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16240
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16242
16241
  imageUrl: z.ZodOptional<z.ZodString>;
16243
16242
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16244
16243
  }, z.core.$strip>>;
16245
16244
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16246
- id: z.ZodString;
16247
16245
  name: z.ZodString;
16248
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16246
+ id: z.ZodString;
16249
16247
  createdAt: z.ZodOptional<z.ZodString>;
16250
16248
  updatedAt: z.ZodOptional<z.ZodString>;
16249
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16251
16250
  functionId: z.ZodString;
16252
16251
  }, z.core.$strip>>>;
16253
16252
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16259,11 +16258,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16259
16258
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16260
16259
  }, z.core.$strip>>>;
16261
16260
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16262
- id: z.ZodString;
16263
16261
  name: z.ZodString;
16264
- description: z.ZodString;
16262
+ id: z.ZodString;
16265
16263
  createdAt: z.ZodOptional<z.ZodString>;
16266
16264
  updatedAt: z.ZodOptional<z.ZodString>;
16265
+ description: z.ZodString;
16267
16266
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
16268
16267
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
16269
16268
  component: string;
@@ -16280,8 +16279,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16280
16279
  }>>>>;
16281
16280
  }, z.core.$strip>>>;
16282
16281
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16283
- id: z.ZodString;
16284
16282
  name: z.ZodString;
16283
+ id: z.ZodString;
16285
16284
  description: z.ZodString;
16286
16285
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
16287
16286
  }, {
@@ -16289,12 +16288,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16289
16288
  in: {};
16290
16289
  }>>>;
16291
16290
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16292
- id: z.ZodString;
16293
16291
  name: z.ZodString;
16294
- description: z.ZodString;
16295
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16292
+ id: z.ZodString;
16296
16293
  createdAt: z.ZodOptional<z.ZodString>;
16297
16294
  updatedAt: z.ZodOptional<z.ZodString>;
16295
+ description: z.ZodString;
16296
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16298
16297
  baseUrl: z.ZodString;
16299
16298
  }, z.core.$strip>>>;
16300
16299
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -16313,8 +16312,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16313
16312
  }, z.core.$strip>>>;
16314
16313
  }, z.core.$strip>>;
16315
16314
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16316
- id: z.ZodString;
16317
16315
  name: z.ZodString;
16316
+ id: z.ZodString;
16318
16317
  createdAt: z.ZodOptional<z.ZodString>;
16319
16318
  updatedAt: z.ZodOptional<z.ZodString>;
16320
16319
  credentialStoreId: z.ZodString;
@@ -16335,18 +16334,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16335
16334
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16336
16335
  data: z.ZodObject<{
16337
16336
  name: z.ZodString;
16338
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16339
16337
  createdAt: z.ZodOptional<z.ZodString>;
16340
16338
  updatedAt: z.ZodOptional<z.ZodString>;
16339
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16341
16340
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16342
16341
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16343
16342
  id: z.ZodString;
16344
16343
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
16345
- id: z.ZodString;
16346
16344
  name: z.ZodString;
16347
- description: z.ZodString;
16345
+ id: z.ZodString;
16348
16346
  createdAt: z.ZodOptional<z.ZodString>;
16349
16347
  updatedAt: z.ZodOptional<z.ZodString>;
16348
+ description: z.ZodString;
16350
16349
  models: z.ZodOptional<z.ZodObject<{
16351
16350
  base: z.ZodOptional<z.ZodObject<{
16352
16351
  model: z.ZodOptional<z.ZodString>;
@@ -16396,9 +16395,12 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16396
16395
  }, z.core.$strip>]>>>;
16397
16396
  }, z.core.$strip>>;
16398
16397
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16399
- id: z.ZodString;
16400
16398
  name: z.ZodString;
16399
+ id: z.ZodString;
16400
+ createdAt: z.ZodOptional<z.ZodString>;
16401
+ updatedAt: z.ZodOptional<z.ZodString>;
16401
16402
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16403
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16402
16404
  config: z.ZodObject<{
16403
16405
  type: z.ZodLiteral<"mcp">;
16404
16406
  mcp: z.ZodObject<{
@@ -16418,21 +16420,18 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16418
16420
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16419
16421
  }, z.core.$strip>;
16420
16422
  }, z.core.$strip>;
16421
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16422
- createdAt: z.ZodOptional<z.ZodString>;
16423
- updatedAt: z.ZodOptional<z.ZodString>;
16424
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16425
16423
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16424
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16426
16425
  imageUrl: z.ZodOptional<z.ZodString>;
16427
16426
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16428
16427
  }, z.core.$strip>>>;
16429
16428
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16430
- id: z.ZodString;
16431
16429
  name: z.ZodString;
16432
- description: z.ZodString;
16433
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16430
+ id: z.ZodString;
16434
16431
  createdAt: z.ZodOptional<z.ZodString>;
16435
16432
  updatedAt: z.ZodOptional<z.ZodString>;
16433
+ description: z.ZodString;
16434
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16436
16435
  baseUrl: z.ZodString;
16437
16436
  }, z.core.$strip>>>;
16438
16437
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16441,11 +16440,11 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16441
16440
  description: z.ZodString;
16442
16441
  }, z.core.$strip>>>;
16443
16442
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16444
- id: z.ZodString;
16445
16443
  name: z.ZodString;
16446
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16444
+ id: z.ZodString;
16447
16445
  createdAt: z.ZodOptional<z.ZodString>;
16448
16446
  updatedAt: z.ZodOptional<z.ZodString>;
16447
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16449
16448
  functionId: z.ZodString;
16450
16449
  }, z.core.$strip>>>;
16451
16450
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16657,8 +16656,8 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
16657
16656
  createdAt: z.ZodString;
16658
16657
  updatedAt: z.ZodString;
16659
16658
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16660
- externalAgentId: z.ZodString;
16661
16659
  subAgentId: z.ZodString;
16660
+ externalAgentId: z.ZodString;
16662
16661
  }, z.core.$strip>;
16663
16662
  }, z.core.$strip>;
16664
16663
  declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
@@ -16667,8 +16666,8 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
16667
16666
  createdAt: z.ZodString;
16668
16667
  updatedAt: z.ZodString;
16669
16668
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16670
- externalAgentId: z.ZodString;
16671
16669
  subAgentId: z.ZodString;
16670
+ externalAgentId: z.ZodString;
16672
16671
  }, z.core.$strip>>;
16673
16672
  pagination: z.ZodObject<{
16674
16673
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16679,11 +16678,11 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
16679
16678
  }, z.core.$strip>;
16680
16679
  declare const DataComponentArrayResponse: z.ZodObject<{
16681
16680
  data: z.ZodArray<z.ZodObject<{
16682
- id: z.ZodString;
16683
16681
  name: z.ZodString;
16684
- description: z.ZodString;
16682
+ id: z.ZodString;
16685
16683
  createdAt: z.ZodString;
16686
16684
  updatedAt: z.ZodString;
16685
+ description: z.ZodString;
16687
16686
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
16688
16687
  render: z.ZodNullable<z.ZodType<{
16689
16688
  component: string;
@@ -16702,11 +16701,11 @@ declare const DataComponentArrayResponse: z.ZodObject<{
16702
16701
  }, z.core.$strip>;
16703
16702
  declare const ArtifactComponentArrayResponse: z.ZodObject<{
16704
16703
  data: z.ZodArray<z.ZodObject<{
16705
- id: z.ZodString;
16706
16704
  name: z.ZodString;
16707
- description: z.ZodString;
16705
+ id: z.ZodString;
16708
16706
  createdAt: z.ZodString;
16709
16707
  updatedAt: z.ZodString;
16708
+ description: z.ZodString;
16710
16709
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
16711
16710
  }, z.core.$strip>>;
16712
16711
  }, z.core.$strip>;
@@ -16806,156 +16805,156 @@ declare const ThirdPartyMCPServerResponse: z.ZodObject<{
16806
16805
  }, z.core.$strip>>;
16807
16806
  }, z.core.$strip>;
16808
16807
 
16809
- type SubAgentSelect = z$1.infer<typeof SubAgentSelectSchema>;
16810
- type SubAgentInsert = z$1.infer<typeof SubAgentInsertSchema>;
16811
- type SubAgentUpdate = z$1.infer<typeof SubAgentUpdateSchema>;
16812
- type SubAgentApiSelect = z$1.infer<typeof SubAgentApiSelectSchema>;
16813
- type SubAgentApiInsert = z$1.infer<typeof SubAgentApiInsertSchema>;
16814
- type SubAgentApiUpdate = z$1.infer<typeof SubAgentApiUpdateSchema>;
16815
- type SubAgentRelationSelect = z$1.infer<typeof SubAgentRelationSelectSchema>;
16816
- type SubAgentRelationInsert = z$1.infer<typeof SubAgentRelationInsertSchema>;
16817
- type SubAgentRelationUpdate = z$1.infer<typeof SubAgentRelationUpdateSchema>;
16818
- type SubAgentRelationApiSelect = z$1.infer<typeof SubAgentRelationApiSelectSchema>;
16819
- type SubAgentRelationApiInsert = z$1.infer<typeof SubAgentRelationApiInsertSchema>;
16820
- type SubAgentRelationApiUpdate = z$1.infer<typeof SubAgentRelationApiUpdateSchema>;
16821
- type SubAgentRelationQuery = z$1.infer<typeof SubAgentRelationQuerySchema>;
16822
- type ExternalSubAgentRelationInsert = z$1.infer<typeof ExternalSubAgentRelationInsertSchema>;
16823
- type ExternalSubAgentRelationApiInsert = z$1.infer<typeof ExternalSubAgentRelationApiInsertSchema>;
16824
- type AgentSelect = z$1.infer<typeof AgentSelectSchema>;
16825
- type AgentInsert = z$1.infer<typeof AgentInsertSchema>;
16826
- type AgentUpdate = z$1.infer<typeof AgentUpdateSchema>;
16827
- type AgentApiSelect = z$1.infer<typeof AgentApiSelectSchema>;
16828
- type AgentApiInsert = z$1.infer<typeof AgentApiInsertSchema>;
16829
- type AgentApiUpdate = z$1.infer<typeof AgentApiUpdateSchema>;
16830
- type TaskSelect = z$1.infer<typeof TaskSelectSchema>;
16831
- type TaskInsert = z$1.infer<typeof TaskInsertSchema>;
16832
- type TaskUpdate = z$1.infer<typeof TaskUpdateSchema>;
16833
- type TaskApiSelect = z$1.infer<typeof TaskApiSelectSchema>;
16834
- type TaskApiInsert = z$1.infer<typeof TaskApiInsertSchema>;
16835
- type TaskApiUpdate = z$1.infer<typeof TaskApiUpdateSchema>;
16836
- type TaskRelationSelect = z$1.infer<typeof TaskRelationSelectSchema>;
16837
- type TaskRelationInsert = z$1.infer<typeof TaskRelationInsertSchema>;
16838
- type TaskRelationUpdate = z$1.infer<typeof TaskRelationUpdateSchema>;
16839
- type TaskRelationApiSelect = z$1.infer<typeof TaskRelationApiSelectSchema>;
16840
- type TaskRelationApiInsert = z$1.infer<typeof TaskRelationApiInsertSchema>;
16841
- type TaskRelationApiUpdate = z$1.infer<typeof TaskRelationApiUpdateSchema>;
16842
- type ToolSelect = z$1.infer<typeof ToolSelectSchema>;
16843
- type ToolInsert = z$1.infer<typeof ToolInsertSchema>;
16844
- type ToolUpdate = z$1.infer<typeof ToolUpdateSchema>;
16845
- type ToolApiSelect = z$1.infer<typeof ToolApiSelectSchema>;
16846
- type ToolApiInsert = z$1.infer<typeof ToolApiInsertSchema>;
16847
- type ToolApiUpdate = z$1.infer<typeof ToolApiUpdateSchema>;
16848
- type McpTool = z$1.infer<typeof McpToolSchema>;
16849
- type MCPToolConfig = z$1.infer<typeof MCPToolConfigSchema>;
16850
- type FunctionSelect = z$1.infer<typeof FunctionSelectSchema>;
16851
- type FunctionInsert = z$1.infer<typeof FunctionInsertSchema>;
16852
- type FunctionUpdate = z$1.infer<typeof FunctionUpdateSchema>;
16853
- type FunctionApiSelect = z$1.infer<typeof FunctionApiSelectSchema>;
16854
- type FunctionApiInsert = z$1.infer<typeof FunctionApiInsertSchema>;
16855
- type FunctionApiUpdate = z$1.infer<typeof FunctionApiUpdateSchema>;
16856
- type FunctionToolApiSelect = z$1.infer<typeof FunctionToolApiSelectSchema>;
16857
- type FunctionToolApiInsert = z$1.infer<typeof FunctionToolApiInsertSchema>;
16858
- type FunctionToolApiUpdate = z$1.infer<typeof FunctionToolApiUpdateSchema>;
16859
- type ConversationSelect = z$1.infer<typeof ConversationSelectSchema>;
16860
- type ConversationInsert = z$1.infer<typeof ConversationInsertSchema>;
16861
- type ConversationUpdate = z$1.infer<typeof ConversationUpdateSchema>;
16862
- type ConversationApiSelect = z$1.infer<typeof ConversationApiSelectSchema>;
16863
- type ConversationApiInsert = z$1.infer<typeof ConversationApiInsertSchema>;
16864
- type ConversationApiUpdate = z$1.infer<typeof ConversationApiUpdateSchema>;
16865
- type MessageSelect = z$1.infer<typeof MessageSelectSchema>;
16866
- type MessageInsert = z$1.infer<typeof MessageInsertSchema>;
16867
- type MessageUpdate = z$1.infer<typeof MessageUpdateSchema>;
16868
- type MessageApiSelect = z$1.infer<typeof MessageApiSelectSchema>;
16869
- type MessageApiInsert = z$1.infer<typeof MessageApiInsertSchema>;
16870
- type MessageApiUpdate = z$1.infer<typeof MessageApiUpdateSchema>;
16871
- type ContextConfigSelect = z$1.infer<typeof ContextConfigSelectSchema>;
16872
- type ContextConfigInsert = z$1.infer<typeof ContextConfigInsertSchema>;
16873
- type ContextConfigUpdate = z$1.infer<typeof ContextConfigUpdateSchema>;
16874
- type ContextConfigApiSelect = z$1.infer<typeof ContextConfigApiSelectSchema>;
16875
- type ContextConfigApiInsert = z$1.infer<typeof ContextConfigApiInsertSchema>;
16876
- type ContextConfigApiUpdate = z$1.infer<typeof ContextConfigApiUpdateSchema>;
16877
- type FetchDefinition = z$1.infer<typeof FetchDefinitionSchema>;
16878
- type FetchConfig = z$1.infer<typeof FetchConfigSchema>;
16879
- type ContextCacheSelect = z$1.infer<typeof ContextCacheSelectSchema>;
16880
- type ContextCacheInsert = z$1.infer<typeof ContextCacheInsertSchema>;
16881
- type ContextCacheUpdate = z$1.infer<typeof ContextCacheUpdateSchema>;
16882
- type ContextCacheApiSelect = z$1.infer<typeof ContextCacheApiSelectSchema>;
16883
- type ContextCacheApiInsert = z$1.infer<typeof ContextCacheApiInsertSchema>;
16884
- type ContextCacheApiUpdate = z$1.infer<typeof ContextCacheApiUpdateSchema>;
16885
- type DataComponentSelect = z$1.infer<typeof DataComponentSelectSchema>;
16886
- type DataComponentInsert = z$1.infer<typeof DataComponentInsertSchema>;
16887
- type DataComponentUpdate = z$1.infer<typeof DataComponentUpdateSchema>;
16888
- type DataComponentApiSelect = z$1.infer<typeof DataComponentApiSelectSchema>;
16889
- type DataComponentApiInsert = z$1.infer<typeof DataComponentApiInsertSchema>;
16890
- type DataComponentApiUpdate = z$1.infer<typeof DataComponentApiUpdateSchema>;
16891
- type SubAgentDataComponentSelect = z$1.infer<typeof SubAgentDataComponentSelectSchema>;
16892
- type SubAgentDataComponentInsert = z$1.infer<typeof SubAgentDataComponentInsertSchema>;
16893
- type SubAgentDataComponentUpdate = z$1.infer<typeof SubAgentDataComponentUpdateSchema>;
16894
- type SubAgentDataComponentApiSelect = z$1.infer<typeof SubAgentDataComponentApiSelectSchema>;
16895
- type SubAgentDataComponentApiInsert = z$1.infer<typeof SubAgentDataComponentApiInsertSchema>;
16896
- type SubAgentDataComponentApiUpdate = z$1.infer<typeof SubAgentDataComponentApiUpdateSchema>;
16897
- type ArtifactComponentSelect = z$1.infer<typeof ArtifactComponentSelectSchema>;
16898
- type ArtifactComponentInsert = z$1.infer<typeof ArtifactComponentInsertSchema>;
16899
- type ArtifactComponentUpdate = z$1.infer<typeof ArtifactComponentUpdateSchema>;
16900
- type ArtifactComponentApiSelect = z$1.infer<typeof ArtifactComponentApiSelectSchema>;
16901
- type ArtifactComponentApiInsert = z$1.infer<typeof ArtifactComponentApiInsertSchema>;
16902
- type ArtifactComponentApiUpdate = z$1.infer<typeof ArtifactComponentApiUpdateSchema>;
16903
- type SubAgentArtifactComponentSelect = z$1.infer<typeof SubAgentArtifactComponentSelectSchema>;
16904
- type SubAgentArtifactComponentInsert = z$1.infer<typeof SubAgentArtifactComponentInsertSchema>;
16905
- type SubAgentArtifactComponentUpdate = z$1.infer<typeof SubAgentArtifactComponentUpdateSchema>;
16906
- type SubAgentArtifactComponentApiSelect = z$1.infer<typeof SubAgentArtifactComponentApiSelectSchema>;
16907
- type SubAgentArtifactComponentApiInsert = z$1.infer<typeof SubAgentArtifactComponentApiInsertSchema>;
16908
- type SubAgentArtifactComponentApiUpdate = z$1.infer<typeof SubAgentArtifactComponentApiUpdateSchema>;
16909
- type ExternalAgentSelect = z$1.infer<typeof ExternalAgentSelectSchema>;
16910
- type ExternalAgentInsert = z$1.infer<typeof ExternalAgentInsertSchema>;
16911
- type ExternalAgentUpdate = z$1.infer<typeof ExternalAgentUpdateSchema>;
16912
- type ExternalAgentApiSelect = z$1.infer<typeof ExternalAgentApiSelectSchema>;
16913
- type ExternalAgentApiInsert = z$1.infer<typeof ExternalAgentApiInsertSchema>;
16914
- type ExternalAgentApiUpdate = z$1.infer<typeof ExternalAgentApiUpdateSchema>;
16915
- type AllAgentSelect = z$1.infer<typeof AllAgentSchema>;
16916
- type ApiKeySelect = z$1.infer<typeof ApiKeySelectSchema>;
16917
- type ApiKeyInsert = z$1.infer<typeof ApiKeyInsertSchema>;
16918
- type ApiKeyUpdate = z$1.infer<typeof ApiKeyUpdateSchema>;
16919
- type ApiKeyApiSelect = z$1.infer<typeof ApiKeyApiSelectSchema>;
16920
- type ApiKeyApiInsert = z$1.infer<typeof ApiKeyApiInsertSchema>;
16921
- type ApiKeyApiUpdate = z$1.infer<typeof ApiKeyApiUpdateSchema>;
16922
- type ApiKeyApiCreationResponse = z$1.infer<typeof ApiKeyApiCreationResponseSchema>;
16923
- type CredentialReferenceSelect = z$1.infer<typeof CredentialReferenceSelectSchema>;
16924
- type CredentialReferenceInsert = z$1.infer<typeof CredentialReferenceInsertSchema>;
16925
- type CredentialReferenceUpdate = z$1.infer<typeof CredentialReferenceUpdateSchema>;
16926
- type CredentialReferenceApiSelect = z$1.infer<typeof CredentialReferenceApiSelectSchema>;
16927
- type CredentialReferenceApiInsert = z$1.infer<typeof CredentialReferenceApiInsertSchema>;
16928
- type CredentialReferenceApiUpdate = z$1.infer<typeof CredentialReferenceApiUpdateSchema>;
16929
- type SubAgentToolRelationSelect = z$1.infer<typeof SubAgentToolRelationSelectSchema>;
16930
- type SubAgentToolRelationInsert = z$1.infer<typeof SubAgentToolRelationInsertSchema>;
16931
- type SubAgentToolRelationUpdate = z$1.infer<typeof SubAgentToolRelationUpdateSchema>;
16932
- type SubAgentToolRelationApiSelect = z$1.infer<typeof SubAgentToolRelationApiSelectSchema>;
16933
- type SubAgentToolRelationApiInsert = z$1.infer<typeof SubAgentToolRelationApiInsertSchema>;
16934
- type SubAgentToolRelationApiUpdate = z$1.infer<typeof SubAgentToolRelationApiUpdateSchema>;
16935
- type SubAgentExternalAgentRelationSelect = z$1.infer<typeof SubAgentExternalAgentRelationSelectSchema>;
16936
- type SubAgentExternalAgentRelationInsert = z$1.infer<typeof SubAgentExternalAgentRelationInsertSchema>;
16937
- type SubAgentExternalAgentRelationUpdate = z$1.infer<typeof SubAgentExternalAgentRelationUpdateSchema>;
16938
- type SubAgentExternalAgentRelationApiSelect = z$1.infer<typeof SubAgentExternalAgentRelationApiSelectSchema>;
16939
- type SubAgentExternalAgentRelationApiInsert = z$1.infer<typeof SubAgentExternalAgentRelationApiInsertSchema>;
16940
- type SubAgentExternalAgentRelationApiUpdate = z$1.infer<typeof SubAgentExternalAgentRelationApiUpdateSchema>;
16941
- type SubAgentTeamAgentRelationSelect = z$1.infer<typeof SubAgentTeamAgentRelationSelectSchema>;
16942
- type SubAgentTeamAgentRelationInsert = z$1.infer<typeof SubAgentTeamAgentRelationInsertSchema>;
16943
- type SubAgentTeamAgentRelationUpdate = z$1.infer<typeof SubAgentTeamAgentRelationUpdateSchema>;
16944
- type SubAgentTeamAgentRelationApiSelect = z$1.infer<typeof SubAgentTeamAgentRelationApiSelectSchema>;
16945
- type SubAgentTeamAgentRelationApiInsert = z$1.infer<typeof SubAgentTeamAgentRelationApiInsertSchema>;
16946
- type SubAgentTeamAgentRelationApiUpdate = z$1.infer<typeof SubAgentTeamAgentRelationApiUpdateSchema>;
16947
- type LedgerArtifactSelect = z$1.infer<typeof LedgerArtifactSelectSchema>;
16948
- type LedgerArtifactInsert = z$1.infer<typeof LedgerArtifactInsertSchema>;
16949
- type LedgerArtifactUpdate = z$1.infer<typeof LedgerArtifactUpdateSchema>;
16950
- type LedgerArtifactApiSelect = z$1.infer<typeof LedgerArtifactApiSelectSchema>;
16951
- type LedgerArtifactApiInsert = z$1.infer<typeof LedgerArtifactApiInsertSchema>;
16952
- type LedgerArtifactApiUpdate = z$1.infer<typeof LedgerArtifactApiUpdateSchema>;
16953
- type FullAgentDefinition = z$1.infer<typeof AgentWithinContextOfProjectSchema>;
16954
- type FullAgentAgentInsert = z$1.infer<typeof FullAgentAgentInsertSchema>;
16955
- type FullProjectDefinition = z$1.infer<typeof FullProjectDefinitionSchema>;
16956
- type CanUseItem = z$1.infer<typeof CanUseItemSchema>;
16957
- type CanDelegateToExternalAgent = z$1.infer<typeof canDelegateToExternalAgentSchema>;
16958
- type SubAgentDefinition = z$1.infer<typeof SubAgentApiInsertSchema> & {
16808
+ type SubAgentSelect = z.infer<typeof SubAgentSelectSchema>;
16809
+ type SubAgentInsert = z.infer<typeof SubAgentInsertSchema>;
16810
+ type SubAgentUpdate = z.infer<typeof SubAgentUpdateSchema>;
16811
+ type SubAgentApiSelect = z.infer<typeof SubAgentApiSelectSchema>;
16812
+ type SubAgentApiInsert = z.infer<typeof SubAgentApiInsertSchema>;
16813
+ type SubAgentApiUpdate = z.infer<typeof SubAgentApiUpdateSchema>;
16814
+ type SubAgentRelationSelect = z.infer<typeof SubAgentRelationSelectSchema>;
16815
+ type SubAgentRelationInsert = z.infer<typeof SubAgentRelationInsertSchema>;
16816
+ type SubAgentRelationUpdate = z.infer<typeof SubAgentRelationUpdateSchema>;
16817
+ type SubAgentRelationApiSelect = z.infer<typeof SubAgentRelationApiSelectSchema>;
16818
+ type SubAgentRelationApiInsert = z.infer<typeof SubAgentRelationApiInsertSchema>;
16819
+ type SubAgentRelationApiUpdate = z.infer<typeof SubAgentRelationApiUpdateSchema>;
16820
+ type SubAgentRelationQuery = z.infer<typeof SubAgentRelationQuerySchema>;
16821
+ type ExternalSubAgentRelationInsert = z.infer<typeof ExternalSubAgentRelationInsertSchema>;
16822
+ type ExternalSubAgentRelationApiInsert = z.infer<typeof ExternalSubAgentRelationApiInsertSchema>;
16823
+ type AgentSelect = z.infer<typeof AgentSelectSchema>;
16824
+ type AgentInsert = z.infer<typeof AgentInsertSchema>;
16825
+ type AgentUpdate = z.infer<typeof AgentUpdateSchema>;
16826
+ type AgentApiSelect = z.infer<typeof AgentApiSelectSchema>;
16827
+ type AgentApiInsert = z.infer<typeof AgentApiInsertSchema>;
16828
+ type AgentApiUpdate = z.infer<typeof AgentApiUpdateSchema>;
16829
+ type TaskSelect = z.infer<typeof TaskSelectSchema>;
16830
+ type TaskInsert = z.infer<typeof TaskInsertSchema>;
16831
+ type TaskUpdate = z.infer<typeof TaskUpdateSchema>;
16832
+ type TaskApiSelect = z.infer<typeof TaskApiSelectSchema>;
16833
+ type TaskApiInsert = z.infer<typeof TaskApiInsertSchema>;
16834
+ type TaskApiUpdate = z.infer<typeof TaskApiUpdateSchema>;
16835
+ type TaskRelationSelect = z.infer<typeof TaskRelationSelectSchema>;
16836
+ type TaskRelationInsert = z.infer<typeof TaskRelationInsertSchema>;
16837
+ type TaskRelationUpdate = z.infer<typeof TaskRelationUpdateSchema>;
16838
+ type TaskRelationApiSelect = z.infer<typeof TaskRelationApiSelectSchema>;
16839
+ type TaskRelationApiInsert = z.infer<typeof TaskRelationApiInsertSchema>;
16840
+ type TaskRelationApiUpdate = z.infer<typeof TaskRelationApiUpdateSchema>;
16841
+ type ToolSelect = z.infer<typeof ToolSelectSchema>;
16842
+ type ToolInsert = z.infer<typeof ToolInsertSchema>;
16843
+ type ToolUpdate = z.infer<typeof ToolUpdateSchema>;
16844
+ type ToolApiSelect = z.infer<typeof ToolApiSelectSchema>;
16845
+ type ToolApiInsert = z.infer<typeof ToolApiInsertSchema>;
16846
+ type ToolApiUpdate = z.infer<typeof ToolApiUpdateSchema>;
16847
+ type McpTool = z.infer<typeof McpToolSchema>;
16848
+ type MCPToolConfig = z.infer<typeof MCPToolConfigSchema>;
16849
+ type FunctionSelect = z.infer<typeof FunctionSelectSchema>;
16850
+ type FunctionInsert = z.infer<typeof FunctionInsertSchema>;
16851
+ type FunctionUpdate = z.infer<typeof FunctionUpdateSchema>;
16852
+ type FunctionApiSelect = z.infer<typeof FunctionApiSelectSchema>;
16853
+ type FunctionApiInsert = z.infer<typeof FunctionApiInsertSchema>;
16854
+ type FunctionApiUpdate = z.infer<typeof FunctionApiUpdateSchema>;
16855
+ type FunctionToolApiSelect = z.infer<typeof FunctionToolApiSelectSchema>;
16856
+ type FunctionToolApiInsert = z.infer<typeof FunctionToolApiInsertSchema>;
16857
+ type FunctionToolApiUpdate = z.infer<typeof FunctionToolApiUpdateSchema>;
16858
+ type ConversationSelect = z.infer<typeof ConversationSelectSchema>;
16859
+ type ConversationInsert = z.infer<typeof ConversationInsertSchema>;
16860
+ type ConversationUpdate = z.infer<typeof ConversationUpdateSchema>;
16861
+ type ConversationApiSelect = z.infer<typeof ConversationApiSelectSchema>;
16862
+ type ConversationApiInsert = z.infer<typeof ConversationApiInsertSchema>;
16863
+ type ConversationApiUpdate = z.infer<typeof ConversationApiUpdateSchema>;
16864
+ type MessageSelect = z.infer<typeof MessageSelectSchema>;
16865
+ type MessageInsert = z.infer<typeof MessageInsertSchema>;
16866
+ type MessageUpdate = z.infer<typeof MessageUpdateSchema>;
16867
+ type MessageApiSelect = z.infer<typeof MessageApiSelectSchema>;
16868
+ type MessageApiInsert = z.infer<typeof MessageApiInsertSchema>;
16869
+ type MessageApiUpdate = z.infer<typeof MessageApiUpdateSchema>;
16870
+ type ContextConfigSelect = z.infer<typeof ContextConfigSelectSchema>;
16871
+ type ContextConfigInsert = z.infer<typeof ContextConfigInsertSchema>;
16872
+ type ContextConfigUpdate = z.infer<typeof ContextConfigUpdateSchema>;
16873
+ type ContextConfigApiSelect = z.infer<typeof ContextConfigApiSelectSchema>;
16874
+ type ContextConfigApiInsert = z.infer<typeof ContextConfigApiInsertSchema>;
16875
+ type ContextConfigApiUpdate = z.infer<typeof ContextConfigApiUpdateSchema>;
16876
+ type FetchDefinition = z.infer<typeof FetchDefinitionSchema>;
16877
+ type FetchConfig = z.infer<typeof FetchConfigSchema>;
16878
+ type ContextCacheSelect = z.infer<typeof ContextCacheSelectSchema>;
16879
+ type ContextCacheInsert = z.infer<typeof ContextCacheInsertSchema>;
16880
+ type ContextCacheUpdate = z.infer<typeof ContextCacheUpdateSchema>;
16881
+ type ContextCacheApiSelect = z.infer<typeof ContextCacheApiSelectSchema>;
16882
+ type ContextCacheApiInsert = z.infer<typeof ContextCacheApiInsertSchema>;
16883
+ type ContextCacheApiUpdate = z.infer<typeof ContextCacheApiUpdateSchema>;
16884
+ type DataComponentSelect = z.infer<typeof DataComponentSelectSchema>;
16885
+ type DataComponentInsert = z.infer<typeof DataComponentInsertSchema>;
16886
+ type DataComponentUpdate = z.infer<typeof DataComponentUpdateSchema>;
16887
+ type DataComponentApiSelect = z.infer<typeof DataComponentApiSelectSchema>;
16888
+ type DataComponentApiInsert = z.infer<typeof DataComponentApiInsertSchema>;
16889
+ type DataComponentApiUpdate = z.infer<typeof DataComponentApiUpdateSchema>;
16890
+ type SubAgentDataComponentSelect = z.infer<typeof SubAgentDataComponentSelectSchema>;
16891
+ type SubAgentDataComponentInsert = z.infer<typeof SubAgentDataComponentInsertSchema>;
16892
+ type SubAgentDataComponentUpdate = z.infer<typeof SubAgentDataComponentUpdateSchema>;
16893
+ type SubAgentDataComponentApiSelect = z.infer<typeof SubAgentDataComponentApiSelectSchema>;
16894
+ type SubAgentDataComponentApiInsert = z.infer<typeof SubAgentDataComponentApiInsertSchema>;
16895
+ type SubAgentDataComponentApiUpdate = z.infer<typeof SubAgentDataComponentApiUpdateSchema>;
16896
+ type ArtifactComponentSelect = z.infer<typeof ArtifactComponentSelectSchema>;
16897
+ type ArtifactComponentInsert = z.infer<typeof ArtifactComponentInsertSchema>;
16898
+ type ArtifactComponentUpdate = z.infer<typeof ArtifactComponentUpdateSchema>;
16899
+ type ArtifactComponentApiSelect = z.infer<typeof ArtifactComponentApiSelectSchema>;
16900
+ type ArtifactComponentApiInsert = z.infer<typeof ArtifactComponentApiInsertSchema>;
16901
+ type ArtifactComponentApiUpdate = z.infer<typeof ArtifactComponentApiUpdateSchema>;
16902
+ type SubAgentArtifactComponentSelect = z.infer<typeof SubAgentArtifactComponentSelectSchema>;
16903
+ type SubAgentArtifactComponentInsert = z.infer<typeof SubAgentArtifactComponentInsertSchema>;
16904
+ type SubAgentArtifactComponentUpdate = z.infer<typeof SubAgentArtifactComponentUpdateSchema>;
16905
+ type SubAgentArtifactComponentApiSelect = z.infer<typeof SubAgentArtifactComponentApiSelectSchema>;
16906
+ type SubAgentArtifactComponentApiInsert = z.infer<typeof SubAgentArtifactComponentApiInsertSchema>;
16907
+ type SubAgentArtifactComponentApiUpdate = z.infer<typeof SubAgentArtifactComponentApiUpdateSchema>;
16908
+ type ExternalAgentSelect = z.infer<typeof ExternalAgentSelectSchema>;
16909
+ type ExternalAgentInsert = z.infer<typeof ExternalAgentInsertSchema>;
16910
+ type ExternalAgentUpdate = z.infer<typeof ExternalAgentUpdateSchema>;
16911
+ type ExternalAgentApiSelect = z.infer<typeof ExternalAgentApiSelectSchema>;
16912
+ type ExternalAgentApiInsert = z.infer<typeof ExternalAgentApiInsertSchema>;
16913
+ type ExternalAgentApiUpdate = z.infer<typeof ExternalAgentApiUpdateSchema>;
16914
+ type AllAgentSelect = z.infer<typeof AllAgentSchema>;
16915
+ type ApiKeySelect = z.infer<typeof ApiKeySelectSchema>;
16916
+ type ApiKeyInsert = z.infer<typeof ApiKeyInsertSchema>;
16917
+ type ApiKeyUpdate = z.infer<typeof ApiKeyUpdateSchema>;
16918
+ type ApiKeyApiSelect = z.infer<typeof ApiKeyApiSelectSchema>;
16919
+ type ApiKeyApiInsert = z.infer<typeof ApiKeyApiInsertSchema>;
16920
+ type ApiKeyApiUpdate = z.infer<typeof ApiKeyApiUpdateSchema>;
16921
+ type ApiKeyApiCreationResponse = z.infer<typeof ApiKeyApiCreationResponseSchema>;
16922
+ type CredentialReferenceSelect = z.infer<typeof CredentialReferenceSelectSchema>;
16923
+ type CredentialReferenceInsert = z.infer<typeof CredentialReferenceInsertSchema>;
16924
+ type CredentialReferenceUpdate = z.infer<typeof CredentialReferenceUpdateSchema>;
16925
+ type CredentialReferenceApiSelect = z.infer<typeof CredentialReferenceApiSelectSchema>;
16926
+ type CredentialReferenceApiInsert = z.infer<typeof CredentialReferenceApiInsertSchema>;
16927
+ type CredentialReferenceApiUpdate = z.infer<typeof CredentialReferenceApiUpdateSchema>;
16928
+ type SubAgentToolRelationSelect = z.infer<typeof SubAgentToolRelationSelectSchema>;
16929
+ type SubAgentToolRelationInsert = z.infer<typeof SubAgentToolRelationInsertSchema>;
16930
+ type SubAgentToolRelationUpdate = z.infer<typeof SubAgentToolRelationUpdateSchema>;
16931
+ type SubAgentToolRelationApiSelect = z.infer<typeof SubAgentToolRelationApiSelectSchema>;
16932
+ type SubAgentToolRelationApiInsert = z.infer<typeof SubAgentToolRelationApiInsertSchema>;
16933
+ type SubAgentToolRelationApiUpdate = z.infer<typeof SubAgentToolRelationApiUpdateSchema>;
16934
+ type SubAgentExternalAgentRelationSelect = z.infer<typeof SubAgentExternalAgentRelationSelectSchema>;
16935
+ type SubAgentExternalAgentRelationInsert = z.infer<typeof SubAgentExternalAgentRelationInsertSchema>;
16936
+ type SubAgentExternalAgentRelationUpdate = z.infer<typeof SubAgentExternalAgentRelationUpdateSchema>;
16937
+ type SubAgentExternalAgentRelationApiSelect = z.infer<typeof SubAgentExternalAgentRelationApiSelectSchema>;
16938
+ type SubAgentExternalAgentRelationApiInsert = z.infer<typeof SubAgentExternalAgentRelationApiInsertSchema>;
16939
+ type SubAgentExternalAgentRelationApiUpdate = z.infer<typeof SubAgentExternalAgentRelationApiUpdateSchema>;
16940
+ type SubAgentTeamAgentRelationSelect = z.infer<typeof SubAgentTeamAgentRelationSelectSchema>;
16941
+ type SubAgentTeamAgentRelationInsert = z.infer<typeof SubAgentTeamAgentRelationInsertSchema>;
16942
+ type SubAgentTeamAgentRelationUpdate = z.infer<typeof SubAgentTeamAgentRelationUpdateSchema>;
16943
+ type SubAgentTeamAgentRelationApiSelect = z.infer<typeof SubAgentTeamAgentRelationApiSelectSchema>;
16944
+ type SubAgentTeamAgentRelationApiInsert = z.infer<typeof SubAgentTeamAgentRelationApiInsertSchema>;
16945
+ type SubAgentTeamAgentRelationApiUpdate = z.infer<typeof SubAgentTeamAgentRelationApiUpdateSchema>;
16946
+ type LedgerArtifactSelect = z.infer<typeof LedgerArtifactSelectSchema>;
16947
+ type LedgerArtifactInsert = z.infer<typeof LedgerArtifactInsertSchema>;
16948
+ type LedgerArtifactUpdate = z.infer<typeof LedgerArtifactUpdateSchema>;
16949
+ type LedgerArtifactApiSelect = z.infer<typeof LedgerArtifactApiSelectSchema>;
16950
+ type LedgerArtifactApiInsert = z.infer<typeof LedgerArtifactApiInsertSchema>;
16951
+ type LedgerArtifactApiUpdate = z.infer<typeof LedgerArtifactApiUpdateSchema>;
16952
+ type FullAgentDefinition = z.infer<typeof AgentWithinContextOfProjectSchema>;
16953
+ type FullAgentAgentInsert = z.infer<typeof FullAgentAgentInsertSchema>;
16954
+ type FullProjectDefinition = z.infer<typeof FullProjectDefinitionSchema>;
16955
+ type CanUseItem = z.infer<typeof CanUseItemSchema>;
16956
+ type CanDelegateToExternalAgent = z.infer<typeof canDelegateToExternalAgentSchema>;
16957
+ type SubAgentDefinition = z.infer<typeof SubAgentApiInsertSchema> & {
16959
16958
  canUse: CanUseItem[];
16960
16959
  dataComponents?: string[];
16961
16960
  artifactComponents?: string[];
@@ -16965,13 +16964,13 @@ type SubAgentDefinition = z$1.infer<typeof SubAgentApiInsertSchema> & {
16965
16964
  type ToolDefinition = ToolApiInsert & {
16966
16965
  credentialReferenceId?: string | null;
16967
16966
  };
16968
- type ProjectSelect = z$1.infer<typeof ProjectSelectSchema>;
16969
- type ProjectInsert = z$1.infer<typeof ProjectInsertSchema>;
16970
- type ProjectUpdate = z$1.infer<typeof ProjectUpdateSchema>;
16971
- type ProjectApiSelect = z$1.infer<typeof ProjectApiSelectSchema>;
16972
- type ProjectApiInsert = z$1.infer<typeof ProjectApiInsertSchema>;
16973
- type ProjectApiUpdate = z$1.infer<typeof ProjectApiUpdateSchema>;
16974
- type Pagination = z$1.infer<typeof PaginationSchema>;
16967
+ type ProjectSelect = z.infer<typeof ProjectSelectSchema>;
16968
+ type ProjectInsert = z.infer<typeof ProjectInsertSchema>;
16969
+ type ProjectUpdate = z.infer<typeof ProjectUpdateSchema>;
16970
+ type ProjectApiSelect = z.infer<typeof ProjectApiSelectSchema>;
16971
+ type ProjectApiInsert = z.infer<typeof ProjectApiInsertSchema>;
16972
+ type ProjectApiUpdate = z.infer<typeof ProjectApiUpdateSchema>;
16973
+ type Pagination = z.infer<typeof PaginationSchema>;
16975
16974
  interface SummaryEvent {
16976
16975
  type: string;
16977
16976
  label: string;
@@ -16984,10 +16983,10 @@ type MessageVisibility = 'user-facing' | 'internal' | 'system' | 'external';
16984
16983
  type MessageType = 'chat' | 'a2a-request' | 'a2a-response' | 'task-update' | 'tool-call' | 'tool-result';
16985
16984
  type MessageRole = 'user' | 'agent' | 'system';
16986
16985
  type MessageMode = 'full' | 'scoped' | 'none';
16987
- type Models = z$1.infer<typeof ModelSchema>;
16988
- type ProjectModels = z$1.infer<typeof ProjectModelSchema>;
16989
- type StatusUpdateSettings = z$1.infer<typeof StatusUpdateSchema>;
16990
- type StatusComponent = z$1.infer<typeof StatusComponentSchema>;
16986
+ type Models = z.infer<typeof ModelSchema>;
16987
+ type ProjectModels = z.infer<typeof ProjectModelSchema>;
16988
+ type StatusUpdateSettings = z.infer<typeof StatusUpdateSchema>;
16989
+ type StatusComponent = z.infer<typeof StatusComponentSchema>;
16991
16990
  type PaginationConfig = {
16992
16991
  page?: number;
16993
16992
  limit?: number;
@@ -17105,7 +17104,7 @@ type McpServerAuth = {
17105
17104
  apiKey?: string;
17106
17105
  headerName?: string;
17107
17106
  };
17108
- type McpTransportConfig = z$1.infer<typeof McpTransportConfigSchema>;
17107
+ type McpTransportConfig = z.infer<typeof McpTransportConfigSchema>;
17109
17108
  type McpServerCapabilities = {
17110
17109
  tools?: boolean;
17111
17110
  resources?: boolean;