@inkeep/agents-core 0.37.0 → 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 (55) 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 +18 -18
  5. package/dist/auth/auth.d.ts +23 -23
  6. package/dist/auth/auth.js +13 -5
  7. package/dist/auth/permissions.d.ts +9 -9
  8. package/dist/auth/permissions.js +1 -1
  9. package/dist/{auth-detection-CGqhPDnj.d.ts → auth-detection-7G0Dxt55.d.ts} +11 -0
  10. package/dist/{chunk-ICZLNCX7.js → chunk-3HACEHXF.js} +370 -71
  11. package/dist/{chunk-32YRH2S7.js → chunk-5QZSNATS.js} +63 -67
  12. package/dist/{chunk-SSRRHYU4.js → chunk-6CYQZ5KX.js} +4 -5
  13. package/dist/{chunk-SLQW43IV.js → chunk-BJLC7EI4.js} +4 -5
  14. package/dist/chunk-CMNLBV2A.js +39 -0
  15. package/dist/{chunk-NFYCSHD3.js → chunk-DEYPSEXR.js} +2 -1
  16. package/dist/chunk-GENLXHZ4.js +159 -0
  17. package/dist/{chunk-VMSYBWFH.js → chunk-JNBVHWXX.js} +7 -4
  18. package/dist/{chunk-TGESM3JG.js → chunk-MQMMFK2K.js} +14 -3
  19. package/dist/{chunk-Q5U2SVA6.js → chunk-RUTYLJB7.js} +11 -7
  20. package/dist/{chunk-VQXQOGJU.js → chunk-XHODTX4H.js} +313 -315
  21. package/dist/{chunk-MB2ZIPZS.js → chunk-YSFXXC6K.js} +5 -5
  22. package/dist/{chunk-SG75RA63.js → chunk-ZSYMSL55.js} +2 -2
  23. package/dist/{client-CnpNkGsH.d.ts → client-B3nwdklT.d.ts} +1 -1
  24. package/dist/client-exports.d.ts +10 -8
  25. package/dist/client-exports.js +126 -127
  26. package/dist/constants/schema-validation/index.js +1 -1
  27. package/dist/credential-stores/index.d.ts +4 -5
  28. package/dist/credential-stores/index.js +1 -1
  29. package/dist/db/schema.d.ts +3 -4
  30. package/dist/db/schema.js +2 -2
  31. package/dist/db/test-client.d.ts +4 -5
  32. package/dist/db/test-client.js +1 -1
  33. package/dist/index.d.ts +675 -558
  34. package/dist/index.js +297 -76
  35. package/dist/{schema-Cgkp_geg.d.ts → schema-BhYTubhP.d.ts} +24 -1
  36. package/dist/server-CHLmv-Jb.d.ts +127 -0
  37. package/dist/types/index.d.ts +34 -115
  38. package/dist/types/index.js +1 -1
  39. package/dist/{utility-C_tTZ7-k.d.ts → utility-5USfJ5Xd.d.ts} +588 -459
  40. package/dist/utils/schema-conversion.d.ts +1 -1
  41. package/dist/utils/schema-conversion.js +1 -1
  42. package/dist/validation/index.d.ts +131 -132
  43. package/dist/validation/index.js +2 -2
  44. package/drizzle/{0001_fair_malice.sql → 0001_calm_sheva_callister.sql} +1 -16
  45. package/drizzle/0002_puzzling_goblin_queen.sql +8 -0
  46. package/drizzle/0003_sweet_human_robot.sql +8 -0
  47. package/drizzle/meta/0001_snapshot.json +7 -1
  48. package/drizzle/meta/0002_snapshot.json +3637 -0
  49. package/drizzle/meta/0003_snapshot.json +3643 -0
  50. package/drizzle/meta/_journal.json +16 -2
  51. package/package.json +11 -3
  52. package/dist/chunk-CUM6BY2Y.js +0 -320
  53. package/dist/chunk-H2F72PDA.js +0 -15
  54. package/dist/chunk-NOPEANIU.js +0 -82
  55. package/dist/chunk-OUXC23J7.js +0 -12534
@@ -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>>;
@@ -9535,6 +9534,8 @@ declare const OAuthCallbackQuerySchema: z.ZodObject<{
9535
9534
  error_description: z.ZodOptional<z.ZodString>;
9536
9535
  }, z.core.$strip>;
9537
9536
  declare const McpToolSchema: z.ZodObject<{
9537
+ createdAt: z.ZodOptional<z.ZodString>;
9538
+ updatedAt: z.ZodOptional<z.ZodString>;
9538
9539
  name: z.ZodString;
9539
9540
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9540
9541
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9576,18 +9577,16 @@ declare const McpToolSchema: z.ZodObject<{
9576
9577
  needs_auth: "needs_auth";
9577
9578
  }>>;
9578
9579
  version: z.ZodOptional<z.ZodString>;
9579
- createdAt: z.ZodDate;
9580
- updatedAt: z.ZodDate;
9581
- expiresAt: z.ZodOptional<z.ZodDate>;
9580
+ expiresAt: z.ZodOptional<z.ZodString>;
9582
9581
  relationshipId: z.ZodOptional<z.ZodString>;
9583
9582
  }, {
9584
9583
  out: {};
9585
9584
  in: {};
9586
9585
  }>;
9587
9586
  declare const MCPToolConfigSchema: z.ZodObject<{
9588
- id: z.ZodString;
9589
9587
  name: z.ZodString;
9590
- expiresAt: z.ZodOptional<z.ZodDate>;
9588
+ id: z.ZodString;
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>>>>;
9593
9592
  imageUrl: z.ZodOptional<z.ZodString>;
@@ -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: {};
@@ -10684,6 +10683,29 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select"
10684
10683
  }, {}, {
10685
10684
  $type: Record<string, string> | null;
10686
10685
  }>;
10686
+ toolPolicies: drizzle_orm_pg_core.PgColumn<{
10687
+ name: "tool_policies";
10688
+ tableName: "sub_agent_tool_relations";
10689
+ dataType: "json";
10690
+ columnType: "PgJsonb";
10691
+ data: Record<string, {
10692
+ needsApproval?: boolean;
10693
+ }> | null;
10694
+ driverParam: unknown;
10695
+ notNull: false;
10696
+ hasDefault: false;
10697
+ isPrimaryKey: false;
10698
+ isAutoincrement: false;
10699
+ hasRuntimeDefault: false;
10700
+ enumValues: undefined;
10701
+ baseColumn: never;
10702
+ identity: undefined;
10703
+ generated: undefined;
10704
+ }, {}, {
10705
+ $type: Record<string, {
10706
+ needsApproval?: boolean;
10707
+ }> | null;
10708
+ }>;
10687
10709
  subAgentId: drizzle_orm_pg_core.PgColumn<{
10688
10710
  name: "sub_agent_id";
10689
10711
  tableName: "sub_agent_tool_relations";
@@ -10871,6 +10893,29 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select"
10871
10893
  }, {}, {
10872
10894
  $type: Record<string, string> | null;
10873
10895
  }>;
10896
+ toolPolicies: drizzle_orm_pg_core.PgColumn<{
10897
+ name: "tool_policies";
10898
+ tableName: "sub_agent_tool_relations";
10899
+ dataType: "json";
10900
+ columnType: "PgJsonb";
10901
+ data: Record<string, {
10902
+ needsApproval?: boolean;
10903
+ }> | null;
10904
+ driverParam: unknown;
10905
+ notNull: false;
10906
+ hasDefault: false;
10907
+ isPrimaryKey: false;
10908
+ isAutoincrement: false;
10909
+ hasRuntimeDefault: false;
10910
+ enumValues: undefined;
10911
+ baseColumn: never;
10912
+ identity: undefined;
10913
+ generated: undefined;
10914
+ }, {}, {
10915
+ $type: Record<string, {
10916
+ needsApproval?: boolean;
10917
+ }> | null;
10918
+ }>;
10874
10919
  subAgentId: drizzle_orm_pg_core.PgColumn<{
10875
10920
  name: "sub_agent_id";
10876
10921
  tableName: "sub_agent_tool_relations";
@@ -10978,6 +11023,9 @@ declare const SubAgentToolRelationInsertSchema: z.ZodObject<{
10978
11023
  toolId: z.ZodString;
10979
11024
  selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
10980
11025
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11026
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
11027
+ needsApproval: z.ZodOptional<z.ZodBoolean>;
11028
+ }, z.core.$strip>>>>;
10981
11029
  }, {
10982
11030
  out: {};
10983
11031
  in: {};
@@ -10993,6 +11041,9 @@ declare const SubAgentToolRelationUpdateSchema: z.ZodObject<{
10993
11041
  toolId: z.ZodOptional<z.ZodString>;
10994
11042
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
10995
11043
  headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
11044
+ toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
11045
+ needsApproval: z.ZodOptional<z.ZodBoolean>;
11046
+ }, z.core.$strip>>>>>;
10996
11047
  }, {
10997
11048
  out: {};
10998
11049
  in: {};
@@ -11002,27 +11053,34 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
11002
11053
  createdAt: z.ZodString;
11003
11054
  updatedAt: z.ZodString;
11004
11055
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11005
- toolId: z.ZodString;
11006
11056
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11007
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>>>;
11008
11060
  }, z.core.$strip>;
11009
11061
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
11010
11062
  id: z.ZodString;
11011
11063
  createdAt: z.ZodOptional<z.ZodString>;
11012
11064
  updatedAt: z.ZodOptional<z.ZodString>;
11013
11065
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11014
- toolId: z.ZodString;
11015
11066
  selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11016
11067
  subAgentId: z.ZodString;
11068
+ toolId: z.ZodString;
11069
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
11070
+ needsApproval: z.ZodOptional<z.ZodBoolean>;
11071
+ }, z.core.$strip>>>>;
11017
11072
  }, z.core.$strip>;
11018
11073
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
11019
11074
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11020
11075
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11021
11076
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11022
11077
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11023
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11024
11078
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
11025
11079
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11080
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11081
+ toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
11082
+ needsApproval: z.ZodOptional<z.ZodBoolean>;
11083
+ }, z.core.$strip>>>>>>;
11026
11084
  }, z.core.$strip>;
11027
11085
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
11028
11086
  createdAt: drizzle_orm_pg_core.PgColumn<{
@@ -11394,8 +11452,8 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
11394
11452
  createdAt: z.ZodString;
11395
11453
  updatedAt: z.ZodString;
11396
11454
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11397
- externalAgentId: z.ZodString;
11398
11455
  subAgentId: z.ZodString;
11456
+ externalAgentId: z.ZodString;
11399
11457
  }, z.core.$strip>;
11400
11458
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
11401
11459
  createdAt: z.ZodOptional<z.ZodString>;
@@ -11408,8 +11466,8 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
11408
11466
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11409
11467
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11410
11468
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11411
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11412
11469
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11470
+ externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11413
11471
  }, z.core.$strip>;
11414
11472
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
11415
11473
  createdAt: drizzle_orm_pg_core.PgColumn<{
@@ -13139,7 +13197,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod.BuildSchema<"insert", {
13139
13197
  }, {}, {
13140
13198
  length: 256;
13141
13199
  }>;
13142
- }, "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>;
13143
13201
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13144
13202
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13145
13203
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -13164,13 +13222,13 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13164
13222
  in: {};
13165
13223
  }>;
13166
13224
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
13167
- id: z.ZodString;
13168
13225
  type: z.ZodString;
13169
13226
  name: z.ZodNullable<z.ZodString>;
13170
- description: z.ZodNullable<z.ZodString>;
13227
+ id: z.ZodString;
13171
13228
  createdAt: z.ZodString;
13172
13229
  updatedAt: z.ZodString;
13173
13230
  metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
13231
+ description: z.ZodNullable<z.ZodString>;
13174
13232
  contextId: z.ZodString;
13175
13233
  visibility: z.ZodNullable<z.ZodString>;
13176
13234
  taskId: z.ZodString;
@@ -13182,13 +13240,13 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
13182
13240
  derivedFrom: z.ZodNullable<z.ZodString>;
13183
13241
  }, z.core.$strip>;
13184
13242
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
13185
- id: z.ZodString;
13186
13243
  type: z.ZodOptional<z.ZodString>;
13187
13244
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13188
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13245
+ id: z.ZodString;
13189
13246
  createdAt: z.ZodOptional<z.ZodString>;
13190
13247
  updatedAt: z.ZodOptional<z.ZodString>;
13191
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>>;
13192
13250
  contextId: z.ZodString;
13193
13251
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13194
13252
  taskId: z.ZodString;
@@ -13200,13 +13258,13 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
13200
13258
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13201
13259
  }, z.core.$strip>;
13202
13260
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
13203
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13204
13261
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13205
13262
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13206
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13263
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13207
13264
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13208
13265
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13209
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>>>>;
13210
13268
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13211
13269
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13212
13270
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -13246,6 +13304,9 @@ declare const CanUseItemSchema: z.ZodObject<{
13246
13304
  toolId: z.ZodString;
13247
13305
  toolSelection: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
13248
13306
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
13307
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
13308
+ needsApproval: z.ZodOptional<z.ZodBoolean>;
13309
+ }, z.core.$strip>>>>;
13249
13310
  }, z.core.$strip>;
13250
13311
  declare const canDelegateToExternalAgentSchema: z.ZodObject<{
13251
13312
  externalAgentId: z.ZodString;
@@ -13263,11 +13324,11 @@ declare const TeamAgentSchema: z.ZodObject<{
13263
13324
  description: z.ZodString;
13264
13325
  }, z.core.$strip>;
13265
13326
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
13266
- id: z.ZodString;
13267
13327
  name: z.ZodString;
13268
- description: z.ZodString;
13328
+ id: z.ZodString;
13269
13329
  createdAt: z.ZodOptional<z.ZodString>;
13270
13330
  updatedAt: z.ZodOptional<z.ZodString>;
13331
+ description: z.ZodString;
13271
13332
  models: z.ZodOptional<z.ZodObject<{
13272
13333
  base: z.ZodOptional<z.ZodObject<{
13273
13334
  model: z.ZodOptional<z.ZodString>;
@@ -13298,6 +13359,9 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
13298
13359
  toolId: z.ZodString;
13299
13360
  toolSelection: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
13300
13361
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
13362
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
13363
+ needsApproval: z.ZodOptional<z.ZodBoolean>;
13364
+ }, z.core.$strip>>>>;
13301
13365
  }, z.core.$strip>>;
13302
13366
  dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
13303
13367
  artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -13315,18 +13379,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
13315
13379
  }, z.core.$strip>;
13316
13380
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13317
13381
  name: z.ZodString;
13318
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13319
13382
  createdAt: z.ZodOptional<z.ZodString>;
13320
13383
  updatedAt: z.ZodOptional<z.ZodString>;
13384
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13321
13385
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13322
13386
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13323
13387
  id: z.ZodString;
13324
13388
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
13325
- id: z.ZodString;
13326
13389
  name: z.ZodString;
13327
- description: z.ZodString;
13390
+ id: z.ZodString;
13328
13391
  createdAt: z.ZodOptional<z.ZodString>;
13329
13392
  updatedAt: z.ZodOptional<z.ZodString>;
13393
+ description: z.ZodString;
13330
13394
  models: z.ZodOptional<z.ZodObject<{
13331
13395
  base: z.ZodOptional<z.ZodObject<{
13332
13396
  model: z.ZodOptional<z.ZodString>;
@@ -13357,6 +13421,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13357
13421
  toolId: z.ZodString;
13358
13422
  toolSelection: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
13359
13423
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
13424
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
13425
+ needsApproval: z.ZodOptional<z.ZodBoolean>;
13426
+ }, z.core.$strip>>>>;
13360
13427
  }, z.core.$strip>>;
13361
13428
  dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
13362
13429
  artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -13373,9 +13440,12 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13373
13440
  }, z.core.$strip>]>>>;
13374
13441
  }, z.core.$strip>>;
13375
13442
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13376
- id: z.ZodString;
13377
13443
  name: z.ZodString;
13444
+ id: z.ZodString;
13445
+ createdAt: z.ZodOptional<z.ZodString>;
13446
+ updatedAt: z.ZodOptional<z.ZodString>;
13378
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>>>>>;
13379
13449
  config: z.ZodObject<{
13380
13450
  type: z.ZodLiteral<"mcp">;
13381
13451
  mcp: z.ZodObject<{
@@ -13395,21 +13465,18 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13395
13465
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13396
13466
  }, z.core.$strip>;
13397
13467
  }, z.core.$strip>;
13398
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13399
- createdAt: z.ZodOptional<z.ZodString>;
13400
- updatedAt: z.ZodOptional<z.ZodString>;
13401
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13402
13468
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
13469
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13403
13470
  imageUrl: z.ZodOptional<z.ZodString>;
13404
13471
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13405
13472
  }, z.core.$strip>>>;
13406
13473
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13407
- id: z.ZodString;
13408
13474
  name: z.ZodString;
13409
- description: z.ZodString;
13410
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13475
+ id: z.ZodString;
13411
13476
  createdAt: z.ZodOptional<z.ZodString>;
13412
13477
  updatedAt: z.ZodOptional<z.ZodString>;
13478
+ description: z.ZodString;
13479
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13413
13480
  baseUrl: z.ZodString;
13414
13481
  }, z.core.$strip>>>;
13415
13482
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13418,11 +13485,11 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13418
13485
  description: z.ZodString;
13419
13486
  }, z.core.$strip>>>;
13420
13487
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13421
- id: z.ZodString;
13422
13488
  name: z.ZodString;
13423
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13489
+ id: z.ZodString;
13424
13490
  createdAt: z.ZodOptional<z.ZodString>;
13425
13491
  updatedAt: z.ZodOptional<z.ZodString>;
13492
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13426
13493
  functionId: z.ZodString;
13427
13494
  }, z.core.$strip>>>;
13428
13495
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13532,10 +13599,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
13532
13599
  in: {};
13533
13600
  }>;
13534
13601
  declare const ProjectInsertSchema: z.ZodObject<{
13535
- tenantId: z.ZodString;
13536
- id: z.ZodString;
13537
13602
  name: z.ZodString;
13603
+ id: z.ZodString;
13538
13604
  description: z.ZodString;
13605
+ tenantId: z.ZodString;
13539
13606
  models: z.ZodObject<{
13540
13607
  base: z.ZodObject<{
13541
13608
  model: z.ZodOptional<z.ZodString>;
@@ -13584,11 +13651,11 @@ declare const ProjectUpdateSchema: z.ZodObject<{
13584
13651
  in: {};
13585
13652
  }>;
13586
13653
  declare const ProjectApiSelectSchema: z.ZodObject<{
13587
- id: z.ZodString;
13588
13654
  name: z.ZodString;
13589
- description: z.ZodString;
13655
+ id: z.ZodString;
13590
13656
  createdAt: z.ZodString;
13591
13657
  updatedAt: z.ZodString;
13658
+ description: z.ZodString;
13592
13659
  models: z.ZodNullable<z.ZodObject<{
13593
13660
  base: z.ZodObject<{
13594
13661
  model: z.ZodOptional<z.ZodString>;
@@ -13612,8 +13679,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
13612
13679
  in: {};
13613
13680
  }>;
13614
13681
  declare const ProjectApiInsertSchema: z.ZodObject<{
13615
- id: z.ZodString;
13616
13682
  name: z.ZodString;
13683
+ id: z.ZodString;
13617
13684
  description: z.ZodString;
13618
13685
  models: z.ZodObject<{
13619
13686
  base: z.ZodObject<{
@@ -13663,8 +13730,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
13663
13730
  in: {};
13664
13731
  }>;
13665
13732
  declare const FullProjectDefinitionSchema: z.ZodObject<{
13666
- id: z.ZodString;
13667
13733
  name: z.ZodString;
13734
+ id: z.ZodString;
13668
13735
  description: z.ZodString;
13669
13736
  models: z.ZodObject<{
13670
13737
  base: z.ZodObject<{
@@ -13686,18 +13753,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13686
13753
  }, z.core.$strip>>;
13687
13754
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
13688
13755
  name: z.ZodString;
13689
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13690
13756
  createdAt: z.ZodOptional<z.ZodString>;
13691
13757
  updatedAt: z.ZodOptional<z.ZodString>;
13758
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13692
13759
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13693
13760
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13694
13761
  id: z.ZodString;
13695
13762
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
13696
- id: z.ZodString;
13697
13763
  name: z.ZodString;
13698
- description: z.ZodString;
13764
+ id: z.ZodString;
13699
13765
  createdAt: z.ZodOptional<z.ZodString>;
13700
13766
  updatedAt: z.ZodOptional<z.ZodString>;
13767
+ description: z.ZodString;
13701
13768
  models: z.ZodOptional<z.ZodObject<{
13702
13769
  base: z.ZodOptional<z.ZodObject<{
13703
13770
  model: z.ZodOptional<z.ZodString>;
@@ -13728,6 +13795,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13728
13795
  toolId: z.ZodString;
13729
13796
  toolSelection: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
13730
13797
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
13798
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
13799
+ needsApproval: z.ZodOptional<z.ZodBoolean>;
13800
+ }, z.core.$strip>>>>;
13731
13801
  }, z.core.$strip>>;
13732
13802
  dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
13733
13803
  artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -13744,9 +13814,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13744
13814
  }, z.core.$strip>]>>>;
13745
13815
  }, z.core.$strip>>;
13746
13816
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13747
- id: z.ZodString;
13748
13817
  name: z.ZodString;
13818
+ id: z.ZodString;
13819
+ createdAt: z.ZodOptional<z.ZodString>;
13820
+ updatedAt: z.ZodOptional<z.ZodString>;
13749
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>>>>>;
13750
13823
  config: z.ZodObject<{
13751
13824
  type: z.ZodLiteral<"mcp">;
13752
13825
  mcp: z.ZodObject<{
@@ -13766,21 +13839,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13766
13839
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13767
13840
  }, z.core.$strip>;
13768
13841
  }, z.core.$strip>;
13769
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13770
- createdAt: z.ZodOptional<z.ZodString>;
13771
- updatedAt: z.ZodOptional<z.ZodString>;
13772
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13773
13842
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
13843
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13774
13844
  imageUrl: z.ZodOptional<z.ZodString>;
13775
13845
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13776
13846
  }, z.core.$strip>>>;
13777
13847
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13778
- id: z.ZodString;
13779
13848
  name: z.ZodString;
13780
- description: z.ZodString;
13781
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13849
+ id: z.ZodString;
13782
13850
  createdAt: z.ZodOptional<z.ZodString>;
13783
13851
  updatedAt: z.ZodOptional<z.ZodString>;
13852
+ description: z.ZodString;
13853
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13784
13854
  baseUrl: z.ZodString;
13785
13855
  }, z.core.$strip>>>;
13786
13856
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13789,11 +13859,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13789
13859
  description: z.ZodString;
13790
13860
  }, z.core.$strip>>>;
13791
13861
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13792
- id: z.ZodString;
13793
13862
  name: z.ZodString;
13794
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13863
+ id: z.ZodString;
13795
13864
  createdAt: z.ZodOptional<z.ZodString>;
13796
13865
  updatedAt: z.ZodOptional<z.ZodString>;
13866
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13797
13867
  functionId: z.ZodString;
13798
13868
  }, z.core.$strip>>>;
13799
13869
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13844,9 +13914,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13844
13914
  prompt: z.ZodOptional<z.ZodString>;
13845
13915
  }, z.core.$strip>>;
13846
13916
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
13847
- id: z.ZodString;
13848
13917
  name: z.ZodString;
13918
+ id: z.ZodString;
13919
+ createdAt: z.ZodOptional<z.ZodString>;
13920
+ updatedAt: z.ZodOptional<z.ZodString>;
13849
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>>>>>;
13850
13923
  config: z.ZodObject<{
13851
13924
  type: z.ZodLiteral<"mcp">;
13852
13925
  mcp: z.ZodObject<{
@@ -13866,20 +13939,17 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13866
13939
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13867
13940
  }, z.core.$strip>;
13868
13941
  }, z.core.$strip>;
13869
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13870
- createdAt: z.ZodOptional<z.ZodString>;
13871
- updatedAt: z.ZodOptional<z.ZodString>;
13872
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13873
13942
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
13943
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13874
13944
  imageUrl: z.ZodOptional<z.ZodString>;
13875
13945
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13876
13946
  }, z.core.$strip>>;
13877
13947
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13878
- id: z.ZodString;
13879
13948
  name: z.ZodString;
13880
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13949
+ id: z.ZodString;
13881
13950
  createdAt: z.ZodOptional<z.ZodString>;
13882
13951
  updatedAt: z.ZodOptional<z.ZodString>;
13952
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13883
13953
  functionId: z.ZodString;
13884
13954
  }, z.core.$strip>>>;
13885
13955
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13891,11 +13961,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13891
13961
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13892
13962
  }, z.core.$strip>>>;
13893
13963
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13894
- id: z.ZodString;
13895
13964
  name: z.ZodString;
13896
- description: z.ZodString;
13965
+ id: z.ZodString;
13897
13966
  createdAt: z.ZodOptional<z.ZodString>;
13898
13967
  updatedAt: z.ZodOptional<z.ZodString>;
13968
+ description: z.ZodString;
13899
13969
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
13900
13970
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
13901
13971
  component: string;
@@ -13912,8 +13982,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13912
13982
  }>>>>;
13913
13983
  }, z.core.$strip>>>;
13914
13984
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13915
- id: z.ZodString;
13916
13985
  name: z.ZodString;
13986
+ id: z.ZodString;
13917
13987
  description: z.ZodString;
13918
13988
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
13919
13989
  }, {
@@ -13921,12 +13991,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13921
13991
  in: {};
13922
13992
  }>>>;
13923
13993
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13924
- id: z.ZodString;
13925
13994
  name: z.ZodString;
13926
- description: z.ZodString;
13927
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13995
+ id: z.ZodString;
13928
13996
  createdAt: z.ZodOptional<z.ZodString>;
13929
13997
  updatedAt: z.ZodOptional<z.ZodString>;
13998
+ description: z.ZodString;
13999
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13930
14000
  baseUrl: z.ZodString;
13931
14001
  }, z.core.$strip>>>;
13932
14002
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -13945,8 +14015,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13945
14015
  }, z.core.$strip>>>;
13946
14016
  }, z.core.$strip>>;
13947
14017
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13948
- id: z.ZodString;
13949
14018
  name: z.ZodString;
14019
+ id: z.ZodString;
13950
14020
  createdAt: z.ZodOptional<z.ZodString>;
13951
14021
  updatedAt: z.ZodOptional<z.ZodString>;
13952
14022
  credentialStoreId: z.ZodString;
@@ -13965,11 +14035,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13965
14035
  }>;
13966
14036
  declare const ProjectResponse: z.ZodObject<{
13967
14037
  data: z.ZodObject<{
13968
- id: z.ZodString;
13969
14038
  name: z.ZodString;
13970
- description: z.ZodString;
14039
+ id: z.ZodString;
13971
14040
  createdAt: z.ZodString;
13972
14041
  updatedAt: z.ZodString;
14042
+ description: z.ZodString;
13973
14043
  models: z.ZodNullable<z.ZodObject<{
13974
14044
  base: z.ZodObject<{
13975
14045
  model: z.ZodOptional<z.ZodString>;
@@ -13995,12 +14065,11 @@ declare const ProjectResponse: z.ZodObject<{
13995
14065
  }, z.core.$strip>;
13996
14066
  declare const SubAgentResponse: z.ZodObject<{
13997
14067
  data: z.ZodObject<{
13998
- id: z.ZodString;
13999
14068
  name: z.ZodString;
14000
- description: z.ZodString;
14001
- prompt: z.ZodString;
14069
+ id: z.ZodString;
14002
14070
  createdAt: z.ZodString;
14003
14071
  updatedAt: z.ZodString;
14072
+ description: z.ZodString;
14004
14073
  models: z.ZodNullable<z.ZodType<{
14005
14074
  base?: {
14006
14075
  model?: string | undefined;
@@ -14063,17 +14132,17 @@ declare const SubAgentResponse: z.ZodObject<{
14063
14132
  }, {
14064
14133
  stepCountIs?: number | undefined;
14065
14134
  }>>>;
14135
+ prompt: z.ZodString;
14066
14136
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
14067
14137
  }, z.core.$strip>;
14068
14138
  }, z.core.$strip>;
14069
14139
  declare const AgentResponse: z.ZodObject<{
14070
14140
  data: z.ZodObject<{
14071
- id: z.ZodString;
14072
14141
  name: z.ZodString;
14073
- description: z.ZodNullable<z.ZodString>;
14074
- prompt: z.ZodNullable<z.ZodString>;
14142
+ id: z.ZodString;
14075
14143
  createdAt: z.ZodString;
14076
14144
  updatedAt: z.ZodString;
14145
+ description: z.ZodNullable<z.ZodString>;
14077
14146
  models: z.ZodNullable<z.ZodType<{
14078
14147
  base?: {
14079
14148
  model?: string | undefined;
@@ -14138,6 +14207,7 @@ declare const AgentResponse: z.ZodObject<{
14138
14207
  }>>>;
14139
14208
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
14140
14209
  contextConfigId: z.ZodNullable<z.ZodString>;
14210
+ prompt: z.ZodNullable<z.ZodString>;
14141
14211
  statusUpdates: z.ZodNullable<z.ZodType<{
14142
14212
  enabled?: boolean | undefined;
14143
14213
  numEvents?: number | undefined;
@@ -14199,9 +14269,12 @@ declare const AgentResponse: z.ZodObject<{
14199
14269
  }, z.core.$strip>;
14200
14270
  declare const ToolResponse: z.ZodObject<{
14201
14271
  data: z.ZodObject<{
14202
- id: z.ZodString;
14203
14272
  name: z.ZodString;
14273
+ id: z.ZodString;
14274
+ createdAt: z.ZodString;
14275
+ updatedAt: z.ZodString;
14204
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>>>>;
14205
14278
  config: z.ZodType<{
14206
14279
  type: "mcp";
14207
14280
  mcp: ToolMcpConfig;
@@ -14215,23 +14288,20 @@ declare const ToolResponse: z.ZodObject<{
14215
14288
  type: "mcp";
14216
14289
  mcp: ToolMcpConfig;
14217
14290
  }>>;
14218
- credentialReferenceId: z.ZodNullable<z.ZodString>;
14219
- createdAt: z.ZodString;
14220
- updatedAt: z.ZodString;
14221
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
14222
14291
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
14292
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
14223
14293
  imageUrl: z.ZodNullable<z.ZodString>;
14224
14294
  lastError: z.ZodNullable<z.ZodString>;
14225
14295
  }, z.core.$strip>;
14226
14296
  }, z.core.$strip>;
14227
14297
  declare const ExternalAgentResponse: z.ZodObject<{
14228
14298
  data: z.ZodObject<{
14229
- id: z.ZodString;
14230
14299
  name: z.ZodString;
14231
- description: z.ZodString;
14232
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14300
+ id: z.ZodString;
14233
14301
  createdAt: z.ZodString;
14234
14302
  updatedAt: z.ZodString;
14303
+ description: z.ZodString;
14304
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14235
14305
  baseUrl: z.ZodString;
14236
14306
  }, z.core.$strip>;
14237
14307
  }, z.core.$strip>;
@@ -14246,15 +14316,15 @@ declare const ContextConfigResponse: z.ZodObject<{
14246
14316
  }, z.core.$strip>;
14247
14317
  declare const ApiKeyResponse: z.ZodObject<{
14248
14318
  data: z.ZodObject<{
14249
- id: z.ZodString;
14250
14319
  name: z.ZodNullable<z.ZodString>;
14320
+ id: z.ZodString;
14321
+ createdAt: z.ZodString;
14322
+ updatedAt: z.ZodString;
14323
+ expiresAt: z.ZodNullable<z.ZodString>;
14251
14324
  agentId: z.ZodString;
14252
14325
  publicId: z.ZodString;
14253
14326
  keyPrefix: z.ZodString;
14254
14327
  lastUsedAt: z.ZodNullable<z.ZodString>;
14255
- expiresAt: z.ZodNullable<z.ZodString>;
14256
- createdAt: z.ZodString;
14257
- updatedAt: z.ZodString;
14258
14328
  }, {
14259
14329
  out: {};
14260
14330
  in: {};
@@ -14262,8 +14332,8 @@ declare const ApiKeyResponse: z.ZodObject<{
14262
14332
  }, z.core.$strip>;
14263
14333
  declare const CredentialReferenceResponse: z.ZodObject<{
14264
14334
  data: z.ZodObject<{
14265
- id: z.ZodString;
14266
14335
  name: z.ZodString;
14336
+ id: z.ZodString;
14267
14337
  createdAt: z.ZodString;
14268
14338
  updatedAt: z.ZodString;
14269
14339
  credentialStoreId: z.ZodString;
@@ -14790,22 +14860,22 @@ declare const FunctionResponse: z.ZodObject<{
14790
14860
  }, z.core.$strip>;
14791
14861
  declare const FunctionToolResponse: z.ZodObject<{
14792
14862
  data: z.ZodObject<{
14793
- id: z.ZodString;
14794
14863
  name: z.ZodString;
14795
- description: z.ZodNullable<z.ZodString>;
14796
- agentId: z.ZodString;
14864
+ id: z.ZodString;
14797
14865
  createdAt: z.ZodString;
14798
14866
  updatedAt: z.ZodString;
14867
+ description: z.ZodNullable<z.ZodString>;
14868
+ agentId: z.ZodString;
14799
14869
  functionId: z.ZodString;
14800
14870
  }, z.core.$strip>;
14801
14871
  }, z.core.$strip>;
14802
14872
  declare const DataComponentResponse: z.ZodObject<{
14803
14873
  data: z.ZodObject<{
14804
- id: z.ZodString;
14805
14874
  name: z.ZodString;
14806
- description: z.ZodString;
14875
+ id: z.ZodString;
14807
14876
  createdAt: z.ZodString;
14808
14877
  updatedAt: z.ZodString;
14878
+ description: z.ZodString;
14809
14879
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
14810
14880
  render: z.ZodNullable<z.ZodType<{
14811
14881
  component: string;
@@ -14824,11 +14894,11 @@ declare const DataComponentResponse: z.ZodObject<{
14824
14894
  }, z.core.$strip>;
14825
14895
  declare const ArtifactComponentResponse: z.ZodObject<{
14826
14896
  data: z.ZodObject<{
14827
- id: z.ZodString;
14828
14897
  name: z.ZodString;
14829
- description: z.ZodString;
14898
+ id: z.ZodString;
14830
14899
  createdAt: z.ZodString;
14831
14900
  updatedAt: z.ZodString;
14901
+ description: z.ZodString;
14832
14902
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
14833
14903
  }, z.core.$strip>;
14834
14904
  }, z.core.$strip>;
@@ -14848,19 +14918,20 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
14848
14918
  createdAt: z.ZodString;
14849
14919
  updatedAt: z.ZodString;
14850
14920
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14851
- toolId: z.ZodString;
14852
14921
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14853
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>>>;
14854
14925
  }, z.core.$strip>;
14855
14926
  }, z.core.$strip>;
14856
14927
  declare const ConversationResponse: z.ZodObject<{
14857
14928
  data: z.ZodObject<{
14858
14929
  id: z.ZodString;
14859
- title: z.ZodNullable<z.ZodString>;
14860
14930
  createdAt: z.ZodString;
14861
14931
  updatedAt: z.ZodString;
14862
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
14863
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>;
14864
14935
  activeSubAgentId: z.ZodString;
14865
14936
  lastContextResolution: z.ZodNullable<z.ZodString>;
14866
14937
  }, z.core.$strip>;
@@ -14871,8 +14942,8 @@ declare const MessageResponse: z.ZodObject<{
14871
14942
  createdAt: z.ZodString;
14872
14943
  updatedAt: z.ZodString;
14873
14944
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
14874
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
14875
14945
  role: z.ZodString;
14946
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
14876
14947
  conversationId: z.ZodString;
14877
14948
  fromSubAgentId: z.ZodNullable<z.ZodString>;
14878
14949
  toSubAgentId: z.ZodNullable<z.ZodString>;
@@ -14890,11 +14961,11 @@ declare const MessageResponse: z.ZodObject<{
14890
14961
  }, z.core.$strip>;
14891
14962
  declare const ProjectListResponse: z.ZodObject<{
14892
14963
  data: z.ZodArray<z.ZodObject<{
14893
- id: z.ZodString;
14894
14964
  name: z.ZodString;
14895
- description: z.ZodString;
14965
+ id: z.ZodString;
14896
14966
  createdAt: z.ZodString;
14897
14967
  updatedAt: z.ZodString;
14968
+ description: z.ZodString;
14898
14969
  models: z.ZodNullable<z.ZodObject<{
14899
14970
  base: z.ZodObject<{
14900
14971
  model: z.ZodOptional<z.ZodString>;
@@ -14926,12 +14997,11 @@ declare const ProjectListResponse: z.ZodObject<{
14926
14997
  }, z.core.$strip>;
14927
14998
  declare const SubAgentListResponse: z.ZodObject<{
14928
14999
  data: z.ZodArray<z.ZodObject<{
14929
- id: z.ZodString;
14930
15000
  name: z.ZodString;
14931
- description: z.ZodString;
14932
- prompt: z.ZodString;
15001
+ id: z.ZodString;
14933
15002
  createdAt: z.ZodString;
14934
15003
  updatedAt: z.ZodString;
15004
+ description: z.ZodString;
14935
15005
  models: z.ZodNullable<z.ZodType<{
14936
15006
  base?: {
14937
15007
  model?: string | undefined;
@@ -14994,6 +15064,7 @@ declare const SubAgentListResponse: z.ZodObject<{
14994
15064
  }, {
14995
15065
  stepCountIs?: number | undefined;
14996
15066
  }>>>;
15067
+ prompt: z.ZodString;
14997
15068
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
14998
15069
  }, z.core.$strip>>;
14999
15070
  pagination: z.ZodObject<{
@@ -15005,12 +15076,11 @@ declare const SubAgentListResponse: z.ZodObject<{
15005
15076
  }, z.core.$strip>;
15006
15077
  declare const AgentListResponse: z.ZodObject<{
15007
15078
  data: z.ZodArray<z.ZodObject<{
15008
- id: z.ZodString;
15009
15079
  name: z.ZodString;
15010
- description: z.ZodNullable<z.ZodString>;
15011
- prompt: z.ZodNullable<z.ZodString>;
15080
+ id: z.ZodString;
15012
15081
  createdAt: z.ZodString;
15013
15082
  updatedAt: z.ZodString;
15083
+ description: z.ZodNullable<z.ZodString>;
15014
15084
  models: z.ZodNullable<z.ZodType<{
15015
15085
  base?: {
15016
15086
  model?: string | undefined;
@@ -15075,6 +15145,7 @@ declare const AgentListResponse: z.ZodObject<{
15075
15145
  }>>>;
15076
15146
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
15077
15147
  contextConfigId: z.ZodNullable<z.ZodString>;
15148
+ prompt: z.ZodNullable<z.ZodString>;
15078
15149
  statusUpdates: z.ZodNullable<z.ZodType<{
15079
15150
  enabled?: boolean | undefined;
15080
15151
  numEvents?: number | undefined;
@@ -15142,9 +15213,12 @@ declare const AgentListResponse: z.ZodObject<{
15142
15213
  }, z.core.$strip>;
15143
15214
  declare const ToolListResponse: z.ZodObject<{
15144
15215
  data: z.ZodArray<z.ZodObject<{
15145
- id: z.ZodString;
15146
15216
  name: z.ZodString;
15217
+ id: z.ZodString;
15218
+ createdAt: z.ZodString;
15219
+ updatedAt: z.ZodString;
15147
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>>>>;
15148
15222
  config: z.ZodType<{
15149
15223
  type: "mcp";
15150
15224
  mcp: ToolMcpConfig;
@@ -15158,11 +15232,8 @@ declare const ToolListResponse: z.ZodObject<{
15158
15232
  type: "mcp";
15159
15233
  mcp: ToolMcpConfig;
15160
15234
  }>>;
15161
- credentialReferenceId: z.ZodNullable<z.ZodString>;
15162
- createdAt: z.ZodString;
15163
- updatedAt: z.ZodString;
15164
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15165
15235
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
15236
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
15166
15237
  imageUrl: z.ZodNullable<z.ZodString>;
15167
15238
  lastError: z.ZodNullable<z.ZodString>;
15168
15239
  }, z.core.$strip>>;
@@ -15175,12 +15246,12 @@ declare const ToolListResponse: z.ZodObject<{
15175
15246
  }, z.core.$strip>;
15176
15247
  declare const ExternalAgentListResponse: z.ZodObject<{
15177
15248
  data: z.ZodArray<z.ZodObject<{
15178
- id: z.ZodString;
15179
15249
  name: z.ZodString;
15180
- description: z.ZodString;
15181
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15250
+ id: z.ZodString;
15182
15251
  createdAt: z.ZodString;
15183
15252
  updatedAt: z.ZodString;
15253
+ description: z.ZodString;
15254
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15184
15255
  baseUrl: z.ZodString;
15185
15256
  }, z.core.$strip>>;
15186
15257
  pagination: z.ZodObject<{
@@ -15207,15 +15278,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
15207
15278
  }, z.core.$strip>;
15208
15279
  declare const ApiKeyListResponse: z.ZodObject<{
15209
15280
  data: z.ZodArray<z.ZodObject<{
15210
- id: z.ZodString;
15211
15281
  name: z.ZodNullable<z.ZodString>;
15282
+ id: z.ZodString;
15283
+ createdAt: z.ZodString;
15284
+ updatedAt: z.ZodString;
15285
+ expiresAt: z.ZodNullable<z.ZodString>;
15212
15286
  agentId: z.ZodString;
15213
15287
  publicId: z.ZodString;
15214
15288
  keyPrefix: z.ZodString;
15215
15289
  lastUsedAt: z.ZodNullable<z.ZodString>;
15216
- expiresAt: z.ZodNullable<z.ZodString>;
15217
- createdAt: z.ZodString;
15218
- updatedAt: z.ZodString;
15219
15290
  }, {
15220
15291
  out: {};
15221
15292
  in: {};
@@ -15229,8 +15300,8 @@ declare const ApiKeyListResponse: z.ZodObject<{
15229
15300
  }, z.core.$strip>;
15230
15301
  declare const CredentialReferenceListResponse: z.ZodObject<{
15231
15302
  data: z.ZodArray<z.ZodObject<{
15232
- id: z.ZodString;
15233
15303
  name: z.ZodString;
15304
+ id: z.ZodString;
15234
15305
  createdAt: z.ZodString;
15235
15306
  updatedAt: z.ZodString;
15236
15307
  credentialStoreId: z.ZodString;
@@ -15769,12 +15840,12 @@ declare const FunctionListResponse: z.ZodObject<{
15769
15840
  }, z.core.$strip>;
15770
15841
  declare const FunctionToolListResponse: z.ZodObject<{
15771
15842
  data: z.ZodArray<z.ZodObject<{
15772
- id: z.ZodString;
15773
15843
  name: z.ZodString;
15774
- description: z.ZodNullable<z.ZodString>;
15775
- agentId: z.ZodString;
15844
+ id: z.ZodString;
15776
15845
  createdAt: z.ZodString;
15777
15846
  updatedAt: z.ZodString;
15847
+ description: z.ZodNullable<z.ZodString>;
15848
+ agentId: z.ZodString;
15778
15849
  functionId: z.ZodString;
15779
15850
  }, z.core.$strip>>;
15780
15851
  pagination: z.ZodObject<{
@@ -15786,11 +15857,11 @@ declare const FunctionToolListResponse: z.ZodObject<{
15786
15857
  }, z.core.$strip>;
15787
15858
  declare const DataComponentListResponse: z.ZodObject<{
15788
15859
  data: z.ZodArray<z.ZodObject<{
15789
- id: z.ZodString;
15790
15860
  name: z.ZodString;
15791
- description: z.ZodString;
15861
+ id: z.ZodString;
15792
15862
  createdAt: z.ZodString;
15793
15863
  updatedAt: z.ZodString;
15864
+ description: z.ZodString;
15794
15865
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
15795
15866
  render: z.ZodNullable<z.ZodType<{
15796
15867
  component: string;
@@ -15815,11 +15886,11 @@ declare const DataComponentListResponse: z.ZodObject<{
15815
15886
  }, z.core.$strip>;
15816
15887
  declare const ArtifactComponentListResponse: z.ZodObject<{
15817
15888
  data: z.ZodArray<z.ZodObject<{
15818
- id: z.ZodString;
15819
15889
  name: z.ZodString;
15820
- description: z.ZodString;
15890
+ id: z.ZodString;
15821
15891
  createdAt: z.ZodString;
15822
15892
  updatedAt: z.ZodString;
15893
+ description: z.ZodString;
15823
15894
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
15824
15895
  }, z.core.$strip>>;
15825
15896
  pagination: z.ZodObject<{
@@ -15851,9 +15922,10 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
15851
15922
  createdAt: z.ZodString;
15852
15923
  updatedAt: z.ZodString;
15853
15924
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15854
- toolId: z.ZodString;
15855
15925
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15856
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>>>;
15857
15929
  }, z.core.$strip>>;
15858
15930
  pagination: z.ZodObject<{
15859
15931
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -15865,11 +15937,11 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
15865
15937
  declare const ConversationListResponse: z.ZodObject<{
15866
15938
  data: z.ZodArray<z.ZodObject<{
15867
15939
  id: z.ZodString;
15868
- title: z.ZodNullable<z.ZodString>;
15869
15940
  createdAt: z.ZodString;
15870
15941
  updatedAt: z.ZodString;
15871
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
15872
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>;
15873
15945
  activeSubAgentId: z.ZodString;
15874
15946
  lastContextResolution: z.ZodNullable<z.ZodString>;
15875
15947
  }, z.core.$strip>>;
@@ -15886,8 +15958,8 @@ declare const MessageListResponse: z.ZodObject<{
15886
15958
  createdAt: z.ZodString;
15887
15959
  updatedAt: z.ZodString;
15888
15960
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
15889
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
15890
15961
  role: z.ZodString;
15962
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
15891
15963
  conversationId: z.ZodString;
15892
15964
  fromSubAgentId: z.ZodNullable<z.ZodString>;
15893
15965
  toSubAgentId: z.ZodNullable<z.ZodString>;
@@ -15955,8 +16027,8 @@ declare const SubAgentArtifactComponentListResponse: z.ZodObject<{
15955
16027
  }, z.core.$strip>;
15956
16028
  declare const FullProjectDefinitionResponse: z.ZodObject<{
15957
16029
  data: z.ZodObject<{
15958
- id: z.ZodString;
15959
16030
  name: z.ZodString;
16031
+ id: z.ZodString;
15960
16032
  description: z.ZodString;
15961
16033
  models: z.ZodObject<{
15962
16034
  base: z.ZodObject<{
@@ -15978,18 +16050,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
15978
16050
  }, z.core.$strip>>;
15979
16051
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
15980
16052
  name: z.ZodString;
15981
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15982
16053
  createdAt: z.ZodOptional<z.ZodString>;
15983
16054
  updatedAt: z.ZodOptional<z.ZodString>;
16055
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15984
16056
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15985
16057
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15986
16058
  id: z.ZodString;
15987
16059
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
15988
- id: z.ZodString;
15989
16060
  name: z.ZodString;
15990
- description: z.ZodString;
16061
+ id: z.ZodString;
15991
16062
  createdAt: z.ZodOptional<z.ZodString>;
15992
16063
  updatedAt: z.ZodOptional<z.ZodString>;
16064
+ description: z.ZodString;
15993
16065
  models: z.ZodOptional<z.ZodObject<{
15994
16066
  base: z.ZodOptional<z.ZodObject<{
15995
16067
  model: z.ZodOptional<z.ZodString>;
@@ -16020,6 +16092,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16020
16092
  toolId: z.ZodString;
16021
16093
  toolSelection: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
16022
16094
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
16095
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
16096
+ needsApproval: z.ZodOptional<z.ZodBoolean>;
16097
+ }, z.core.$strip>>>>;
16023
16098
  }, z.core.$strip>>;
16024
16099
  dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
16025
16100
  artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -16036,9 +16111,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16036
16111
  }, z.core.$strip>]>>>;
16037
16112
  }, z.core.$strip>>;
16038
16113
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16039
- id: z.ZodString;
16040
16114
  name: z.ZodString;
16115
+ id: z.ZodString;
16116
+ createdAt: z.ZodOptional<z.ZodString>;
16117
+ updatedAt: z.ZodOptional<z.ZodString>;
16041
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>>>>>;
16042
16120
  config: z.ZodObject<{
16043
16121
  type: z.ZodLiteral<"mcp">;
16044
16122
  mcp: z.ZodObject<{
@@ -16058,21 +16136,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16058
16136
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16059
16137
  }, z.core.$strip>;
16060
16138
  }, z.core.$strip>;
16061
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16062
- createdAt: z.ZodOptional<z.ZodString>;
16063
- updatedAt: z.ZodOptional<z.ZodString>;
16064
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16065
16139
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16140
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16066
16141
  imageUrl: z.ZodOptional<z.ZodString>;
16067
16142
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16068
16143
  }, z.core.$strip>>>;
16069
16144
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16070
- id: z.ZodString;
16071
16145
  name: z.ZodString;
16072
- description: z.ZodString;
16073
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16146
+ id: z.ZodString;
16074
16147
  createdAt: z.ZodOptional<z.ZodString>;
16075
16148
  updatedAt: z.ZodOptional<z.ZodString>;
16149
+ description: z.ZodString;
16150
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16076
16151
  baseUrl: z.ZodString;
16077
16152
  }, z.core.$strip>>>;
16078
16153
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16081,11 +16156,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16081
16156
  description: z.ZodString;
16082
16157
  }, z.core.$strip>>>;
16083
16158
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16084
- id: z.ZodString;
16085
16159
  name: z.ZodString;
16086
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16160
+ id: z.ZodString;
16087
16161
  createdAt: z.ZodOptional<z.ZodString>;
16088
16162
  updatedAt: z.ZodOptional<z.ZodString>;
16163
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16089
16164
  functionId: z.ZodString;
16090
16165
  }, z.core.$strip>>>;
16091
16166
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16136,9 +16211,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16136
16211
  prompt: z.ZodOptional<z.ZodString>;
16137
16212
  }, z.core.$strip>>;
16138
16213
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
16139
- id: z.ZodString;
16140
16214
  name: z.ZodString;
16215
+ id: z.ZodString;
16216
+ createdAt: z.ZodOptional<z.ZodString>;
16217
+ updatedAt: z.ZodOptional<z.ZodString>;
16141
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>>>>>;
16142
16220
  config: z.ZodObject<{
16143
16221
  type: z.ZodLiteral<"mcp">;
16144
16222
  mcp: z.ZodObject<{
@@ -16158,20 +16236,17 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16158
16236
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16159
16237
  }, z.core.$strip>;
16160
16238
  }, z.core.$strip>;
16161
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16162
- createdAt: z.ZodOptional<z.ZodString>;
16163
- updatedAt: z.ZodOptional<z.ZodString>;
16164
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16165
16239
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16240
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16166
16241
  imageUrl: z.ZodOptional<z.ZodString>;
16167
16242
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16168
16243
  }, z.core.$strip>>;
16169
16244
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16170
- id: z.ZodString;
16171
16245
  name: z.ZodString;
16172
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16246
+ id: z.ZodString;
16173
16247
  createdAt: z.ZodOptional<z.ZodString>;
16174
16248
  updatedAt: z.ZodOptional<z.ZodString>;
16249
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16175
16250
  functionId: z.ZodString;
16176
16251
  }, z.core.$strip>>>;
16177
16252
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16183,11 +16258,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16183
16258
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16184
16259
  }, z.core.$strip>>>;
16185
16260
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16186
- id: z.ZodString;
16187
16261
  name: z.ZodString;
16188
- description: z.ZodString;
16262
+ id: z.ZodString;
16189
16263
  createdAt: z.ZodOptional<z.ZodString>;
16190
16264
  updatedAt: z.ZodOptional<z.ZodString>;
16265
+ description: z.ZodString;
16191
16266
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
16192
16267
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
16193
16268
  component: string;
@@ -16204,8 +16279,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16204
16279
  }>>>>;
16205
16280
  }, z.core.$strip>>>;
16206
16281
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16207
- id: z.ZodString;
16208
16282
  name: z.ZodString;
16283
+ id: z.ZodString;
16209
16284
  description: z.ZodString;
16210
16285
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
16211
16286
  }, {
@@ -16213,12 +16288,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16213
16288
  in: {};
16214
16289
  }>>>;
16215
16290
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16216
- id: z.ZodString;
16217
16291
  name: z.ZodString;
16218
- description: z.ZodString;
16219
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16292
+ id: z.ZodString;
16220
16293
  createdAt: z.ZodOptional<z.ZodString>;
16221
16294
  updatedAt: z.ZodOptional<z.ZodString>;
16295
+ description: z.ZodString;
16296
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16222
16297
  baseUrl: z.ZodString;
16223
16298
  }, z.core.$strip>>>;
16224
16299
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -16237,8 +16312,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16237
16312
  }, z.core.$strip>>>;
16238
16313
  }, z.core.$strip>>;
16239
16314
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16240
- id: z.ZodString;
16241
16315
  name: z.ZodString;
16316
+ id: z.ZodString;
16242
16317
  createdAt: z.ZodOptional<z.ZodString>;
16243
16318
  updatedAt: z.ZodOptional<z.ZodString>;
16244
16319
  credentialStoreId: z.ZodString;
@@ -16259,18 +16334,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16259
16334
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16260
16335
  data: z.ZodObject<{
16261
16336
  name: z.ZodString;
16262
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16263
16337
  createdAt: z.ZodOptional<z.ZodString>;
16264
16338
  updatedAt: z.ZodOptional<z.ZodString>;
16339
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16265
16340
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16266
16341
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16267
16342
  id: z.ZodString;
16268
16343
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
16269
- id: z.ZodString;
16270
16344
  name: z.ZodString;
16271
- description: z.ZodString;
16345
+ id: z.ZodString;
16272
16346
  createdAt: z.ZodOptional<z.ZodString>;
16273
16347
  updatedAt: z.ZodOptional<z.ZodString>;
16348
+ description: z.ZodString;
16274
16349
  models: z.ZodOptional<z.ZodObject<{
16275
16350
  base: z.ZodOptional<z.ZodObject<{
16276
16351
  model: z.ZodOptional<z.ZodString>;
@@ -16301,6 +16376,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16301
16376
  toolId: z.ZodString;
16302
16377
  toolSelection: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
16303
16378
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
16379
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
16380
+ needsApproval: z.ZodOptional<z.ZodBoolean>;
16381
+ }, z.core.$strip>>>>;
16304
16382
  }, z.core.$strip>>;
16305
16383
  dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
16306
16384
  artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -16317,9 +16395,12 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16317
16395
  }, z.core.$strip>]>>>;
16318
16396
  }, z.core.$strip>>;
16319
16397
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16320
- id: z.ZodString;
16321
16398
  name: z.ZodString;
16399
+ id: z.ZodString;
16400
+ createdAt: z.ZodOptional<z.ZodString>;
16401
+ updatedAt: z.ZodOptional<z.ZodString>;
16322
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>>>>>;
16323
16404
  config: z.ZodObject<{
16324
16405
  type: z.ZodLiteral<"mcp">;
16325
16406
  mcp: z.ZodObject<{
@@ -16339,21 +16420,18 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16339
16420
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16340
16421
  }, z.core.$strip>;
16341
16422
  }, z.core.$strip>;
16342
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16343
- createdAt: z.ZodOptional<z.ZodString>;
16344
- updatedAt: z.ZodOptional<z.ZodString>;
16345
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16346
16423
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16424
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16347
16425
  imageUrl: z.ZodOptional<z.ZodString>;
16348
16426
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16349
16427
  }, z.core.$strip>>>;
16350
16428
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16351
- id: z.ZodString;
16352
16429
  name: z.ZodString;
16353
- description: z.ZodString;
16354
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16430
+ id: z.ZodString;
16355
16431
  createdAt: z.ZodOptional<z.ZodString>;
16356
16432
  updatedAt: z.ZodOptional<z.ZodString>;
16433
+ description: z.ZodString;
16434
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16357
16435
  baseUrl: z.ZodString;
16358
16436
  }, z.core.$strip>>>;
16359
16437
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16362,11 +16440,11 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16362
16440
  description: z.ZodString;
16363
16441
  }, z.core.$strip>>>;
16364
16442
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16365
- id: z.ZodString;
16366
16443
  name: z.ZodString;
16367
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16444
+ id: z.ZodString;
16368
16445
  createdAt: z.ZodOptional<z.ZodString>;
16369
16446
  updatedAt: z.ZodOptional<z.ZodString>;
16447
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16370
16448
  functionId: z.ZodString;
16371
16449
  }, z.core.$strip>>>;
16372
16450
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16438,6 +16516,8 @@ declare const ComponentAssociationListResponse: z.ZodObject<{
16438
16516
  }, z.core.$strip>;
16439
16517
  declare const McpToolResponse: z.ZodObject<{
16440
16518
  data: z.ZodObject<{
16519
+ createdAt: z.ZodOptional<z.ZodString>;
16520
+ updatedAt: z.ZodOptional<z.ZodString>;
16441
16521
  name: z.ZodString;
16442
16522
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16443
16523
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -16479,9 +16559,7 @@ declare const McpToolResponse: z.ZodObject<{
16479
16559
  needs_auth: "needs_auth";
16480
16560
  }>>;
16481
16561
  version: z.ZodOptional<z.ZodString>;
16482
- createdAt: z.ZodDate;
16483
- updatedAt: z.ZodDate;
16484
- expiresAt: z.ZodOptional<z.ZodDate>;
16562
+ expiresAt: z.ZodOptional<z.ZodString>;
16485
16563
  relationshipId: z.ZodOptional<z.ZodString>;
16486
16564
  }, {
16487
16565
  out: {};
@@ -16490,6 +16568,8 @@ declare const McpToolResponse: z.ZodObject<{
16490
16568
  }, z.core.$strip>;
16491
16569
  declare const McpToolListResponse: z.ZodObject<{
16492
16570
  data: z.ZodArray<z.ZodObject<{
16571
+ createdAt: z.ZodOptional<z.ZodString>;
16572
+ updatedAt: z.ZodOptional<z.ZodString>;
16493
16573
  name: z.ZodString;
16494
16574
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16495
16575
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -16531,9 +16611,7 @@ declare const McpToolListResponse: z.ZodObject<{
16531
16611
  needs_auth: "needs_auth";
16532
16612
  }>>;
16533
16613
  version: z.ZodOptional<z.ZodString>;
16534
- createdAt: z.ZodDate;
16535
- updatedAt: z.ZodDate;
16536
- expiresAt: z.ZodOptional<z.ZodDate>;
16614
+ expiresAt: z.ZodOptional<z.ZodString>;
16537
16615
  relationshipId: z.ZodOptional<z.ZodString>;
16538
16616
  }, {
16539
16617
  out: {};
@@ -16578,8 +16656,8 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
16578
16656
  createdAt: z.ZodString;
16579
16657
  updatedAt: z.ZodString;
16580
16658
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16581
- externalAgentId: z.ZodString;
16582
16659
  subAgentId: z.ZodString;
16660
+ externalAgentId: z.ZodString;
16583
16661
  }, z.core.$strip>;
16584
16662
  }, z.core.$strip>;
16585
16663
  declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
@@ -16588,8 +16666,8 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
16588
16666
  createdAt: z.ZodString;
16589
16667
  updatedAt: z.ZodString;
16590
16668
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16591
- externalAgentId: z.ZodString;
16592
16669
  subAgentId: z.ZodString;
16670
+ externalAgentId: z.ZodString;
16593
16671
  }, z.core.$strip>>;
16594
16672
  pagination: z.ZodObject<{
16595
16673
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16600,11 +16678,11 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
16600
16678
  }, z.core.$strip>;
16601
16679
  declare const DataComponentArrayResponse: z.ZodObject<{
16602
16680
  data: z.ZodArray<z.ZodObject<{
16603
- id: z.ZodString;
16604
16681
  name: z.ZodString;
16605
- description: z.ZodString;
16682
+ id: z.ZodString;
16606
16683
  createdAt: z.ZodString;
16607
16684
  updatedAt: z.ZodString;
16685
+ description: z.ZodString;
16608
16686
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
16609
16687
  render: z.ZodNullable<z.ZodType<{
16610
16688
  component: string;
@@ -16623,11 +16701,11 @@ declare const DataComponentArrayResponse: z.ZodObject<{
16623
16701
  }, z.core.$strip>;
16624
16702
  declare const ArtifactComponentArrayResponse: z.ZodObject<{
16625
16703
  data: z.ZodArray<z.ZodObject<{
16626
- id: z.ZodString;
16627
16704
  name: z.ZodString;
16628
- description: z.ZodString;
16705
+ id: z.ZodString;
16629
16706
  createdAt: z.ZodString;
16630
16707
  updatedAt: z.ZodString;
16708
+ description: z.ZodString;
16631
16709
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
16632
16710
  }, z.core.$strip>>;
16633
16711
  }, z.core.$strip>;
@@ -16727,156 +16805,156 @@ declare const ThirdPartyMCPServerResponse: z.ZodObject<{
16727
16805
  }, z.core.$strip>>;
16728
16806
  }, z.core.$strip>;
16729
16807
 
16730
- type SubAgentSelect = z$1.infer<typeof SubAgentSelectSchema>;
16731
- type SubAgentInsert = z$1.infer<typeof SubAgentInsertSchema>;
16732
- type SubAgentUpdate = z$1.infer<typeof SubAgentUpdateSchema>;
16733
- type SubAgentApiSelect = z$1.infer<typeof SubAgentApiSelectSchema>;
16734
- type SubAgentApiInsert = z$1.infer<typeof SubAgentApiInsertSchema>;
16735
- type SubAgentApiUpdate = z$1.infer<typeof SubAgentApiUpdateSchema>;
16736
- type SubAgentRelationSelect = z$1.infer<typeof SubAgentRelationSelectSchema>;
16737
- type SubAgentRelationInsert = z$1.infer<typeof SubAgentRelationInsertSchema>;
16738
- type SubAgentRelationUpdate = z$1.infer<typeof SubAgentRelationUpdateSchema>;
16739
- type SubAgentRelationApiSelect = z$1.infer<typeof SubAgentRelationApiSelectSchema>;
16740
- type SubAgentRelationApiInsert = z$1.infer<typeof SubAgentRelationApiInsertSchema>;
16741
- type SubAgentRelationApiUpdate = z$1.infer<typeof SubAgentRelationApiUpdateSchema>;
16742
- type SubAgentRelationQuery = z$1.infer<typeof SubAgentRelationQuerySchema>;
16743
- type ExternalSubAgentRelationInsert = z$1.infer<typeof ExternalSubAgentRelationInsertSchema>;
16744
- type ExternalSubAgentRelationApiInsert = z$1.infer<typeof ExternalSubAgentRelationApiInsertSchema>;
16745
- type AgentSelect = z$1.infer<typeof AgentSelectSchema>;
16746
- type AgentInsert = z$1.infer<typeof AgentInsertSchema>;
16747
- type AgentUpdate = z$1.infer<typeof AgentUpdateSchema>;
16748
- type AgentApiSelect = z$1.infer<typeof AgentApiSelectSchema>;
16749
- type AgentApiInsert = z$1.infer<typeof AgentApiInsertSchema>;
16750
- type AgentApiUpdate = z$1.infer<typeof AgentApiUpdateSchema>;
16751
- type TaskSelect = z$1.infer<typeof TaskSelectSchema>;
16752
- type TaskInsert = z$1.infer<typeof TaskInsertSchema>;
16753
- type TaskUpdate = z$1.infer<typeof TaskUpdateSchema>;
16754
- type TaskApiSelect = z$1.infer<typeof TaskApiSelectSchema>;
16755
- type TaskApiInsert = z$1.infer<typeof TaskApiInsertSchema>;
16756
- type TaskApiUpdate = z$1.infer<typeof TaskApiUpdateSchema>;
16757
- type TaskRelationSelect = z$1.infer<typeof TaskRelationSelectSchema>;
16758
- type TaskRelationInsert = z$1.infer<typeof TaskRelationInsertSchema>;
16759
- type TaskRelationUpdate = z$1.infer<typeof TaskRelationUpdateSchema>;
16760
- type TaskRelationApiSelect = z$1.infer<typeof TaskRelationApiSelectSchema>;
16761
- type TaskRelationApiInsert = z$1.infer<typeof TaskRelationApiInsertSchema>;
16762
- type TaskRelationApiUpdate = z$1.infer<typeof TaskRelationApiUpdateSchema>;
16763
- type ToolSelect = z$1.infer<typeof ToolSelectSchema>;
16764
- type ToolInsert = z$1.infer<typeof ToolInsertSchema>;
16765
- type ToolUpdate = z$1.infer<typeof ToolUpdateSchema>;
16766
- type ToolApiSelect = z$1.infer<typeof ToolApiSelectSchema>;
16767
- type ToolApiInsert = z$1.infer<typeof ToolApiInsertSchema>;
16768
- type ToolApiUpdate = z$1.infer<typeof ToolApiUpdateSchema>;
16769
- type McpTool = z$1.infer<typeof McpToolSchema>;
16770
- type MCPToolConfig = z$1.infer<typeof MCPToolConfigSchema>;
16771
- type FunctionSelect = z$1.infer<typeof FunctionSelectSchema>;
16772
- type FunctionInsert = z$1.infer<typeof FunctionInsertSchema>;
16773
- type FunctionUpdate = z$1.infer<typeof FunctionUpdateSchema>;
16774
- type FunctionApiSelect = z$1.infer<typeof FunctionApiSelectSchema>;
16775
- type FunctionApiInsert = z$1.infer<typeof FunctionApiInsertSchema>;
16776
- type FunctionApiUpdate = z$1.infer<typeof FunctionApiUpdateSchema>;
16777
- type FunctionToolApiSelect = z$1.infer<typeof FunctionToolApiSelectSchema>;
16778
- type FunctionToolApiInsert = z$1.infer<typeof FunctionToolApiInsertSchema>;
16779
- type FunctionToolApiUpdate = z$1.infer<typeof FunctionToolApiUpdateSchema>;
16780
- type ConversationSelect = z$1.infer<typeof ConversationSelectSchema>;
16781
- type ConversationInsert = z$1.infer<typeof ConversationInsertSchema>;
16782
- type ConversationUpdate = z$1.infer<typeof ConversationUpdateSchema>;
16783
- type ConversationApiSelect = z$1.infer<typeof ConversationApiSelectSchema>;
16784
- type ConversationApiInsert = z$1.infer<typeof ConversationApiInsertSchema>;
16785
- type ConversationApiUpdate = z$1.infer<typeof ConversationApiUpdateSchema>;
16786
- type MessageSelect = z$1.infer<typeof MessageSelectSchema>;
16787
- type MessageInsert = z$1.infer<typeof MessageInsertSchema>;
16788
- type MessageUpdate = z$1.infer<typeof MessageUpdateSchema>;
16789
- type MessageApiSelect = z$1.infer<typeof MessageApiSelectSchema>;
16790
- type MessageApiInsert = z$1.infer<typeof MessageApiInsertSchema>;
16791
- type MessageApiUpdate = z$1.infer<typeof MessageApiUpdateSchema>;
16792
- type ContextConfigSelect = z$1.infer<typeof ContextConfigSelectSchema>;
16793
- type ContextConfigInsert = z$1.infer<typeof ContextConfigInsertSchema>;
16794
- type ContextConfigUpdate = z$1.infer<typeof ContextConfigUpdateSchema>;
16795
- type ContextConfigApiSelect = z$1.infer<typeof ContextConfigApiSelectSchema>;
16796
- type ContextConfigApiInsert = z$1.infer<typeof ContextConfigApiInsertSchema>;
16797
- type ContextConfigApiUpdate = z$1.infer<typeof ContextConfigApiUpdateSchema>;
16798
- type FetchDefinition = z$1.infer<typeof FetchDefinitionSchema>;
16799
- type FetchConfig = z$1.infer<typeof FetchConfigSchema>;
16800
- type ContextCacheSelect = z$1.infer<typeof ContextCacheSelectSchema>;
16801
- type ContextCacheInsert = z$1.infer<typeof ContextCacheInsertSchema>;
16802
- type ContextCacheUpdate = z$1.infer<typeof ContextCacheUpdateSchema>;
16803
- type ContextCacheApiSelect = z$1.infer<typeof ContextCacheApiSelectSchema>;
16804
- type ContextCacheApiInsert = z$1.infer<typeof ContextCacheApiInsertSchema>;
16805
- type ContextCacheApiUpdate = z$1.infer<typeof ContextCacheApiUpdateSchema>;
16806
- type DataComponentSelect = z$1.infer<typeof DataComponentSelectSchema>;
16807
- type DataComponentInsert = z$1.infer<typeof DataComponentInsertSchema>;
16808
- type DataComponentUpdate = z$1.infer<typeof DataComponentUpdateSchema>;
16809
- type DataComponentApiSelect = z$1.infer<typeof DataComponentApiSelectSchema>;
16810
- type DataComponentApiInsert = z$1.infer<typeof DataComponentApiInsertSchema>;
16811
- type DataComponentApiUpdate = z$1.infer<typeof DataComponentApiUpdateSchema>;
16812
- type SubAgentDataComponentSelect = z$1.infer<typeof SubAgentDataComponentSelectSchema>;
16813
- type SubAgentDataComponentInsert = z$1.infer<typeof SubAgentDataComponentInsertSchema>;
16814
- type SubAgentDataComponentUpdate = z$1.infer<typeof SubAgentDataComponentUpdateSchema>;
16815
- type SubAgentDataComponentApiSelect = z$1.infer<typeof SubAgentDataComponentApiSelectSchema>;
16816
- type SubAgentDataComponentApiInsert = z$1.infer<typeof SubAgentDataComponentApiInsertSchema>;
16817
- type SubAgentDataComponentApiUpdate = z$1.infer<typeof SubAgentDataComponentApiUpdateSchema>;
16818
- type ArtifactComponentSelect = z$1.infer<typeof ArtifactComponentSelectSchema>;
16819
- type ArtifactComponentInsert = z$1.infer<typeof ArtifactComponentInsertSchema>;
16820
- type ArtifactComponentUpdate = z$1.infer<typeof ArtifactComponentUpdateSchema>;
16821
- type ArtifactComponentApiSelect = z$1.infer<typeof ArtifactComponentApiSelectSchema>;
16822
- type ArtifactComponentApiInsert = z$1.infer<typeof ArtifactComponentApiInsertSchema>;
16823
- type ArtifactComponentApiUpdate = z$1.infer<typeof ArtifactComponentApiUpdateSchema>;
16824
- type SubAgentArtifactComponentSelect = z$1.infer<typeof SubAgentArtifactComponentSelectSchema>;
16825
- type SubAgentArtifactComponentInsert = z$1.infer<typeof SubAgentArtifactComponentInsertSchema>;
16826
- type SubAgentArtifactComponentUpdate = z$1.infer<typeof SubAgentArtifactComponentUpdateSchema>;
16827
- type SubAgentArtifactComponentApiSelect = z$1.infer<typeof SubAgentArtifactComponentApiSelectSchema>;
16828
- type SubAgentArtifactComponentApiInsert = z$1.infer<typeof SubAgentArtifactComponentApiInsertSchema>;
16829
- type SubAgentArtifactComponentApiUpdate = z$1.infer<typeof SubAgentArtifactComponentApiUpdateSchema>;
16830
- type ExternalAgentSelect = z$1.infer<typeof ExternalAgentSelectSchema>;
16831
- type ExternalAgentInsert = z$1.infer<typeof ExternalAgentInsertSchema>;
16832
- type ExternalAgentUpdate = z$1.infer<typeof ExternalAgentUpdateSchema>;
16833
- type ExternalAgentApiSelect = z$1.infer<typeof ExternalAgentApiSelectSchema>;
16834
- type ExternalAgentApiInsert = z$1.infer<typeof ExternalAgentApiInsertSchema>;
16835
- type ExternalAgentApiUpdate = z$1.infer<typeof ExternalAgentApiUpdateSchema>;
16836
- type AllAgentSelect = z$1.infer<typeof AllAgentSchema>;
16837
- type ApiKeySelect = z$1.infer<typeof ApiKeySelectSchema>;
16838
- type ApiKeyInsert = z$1.infer<typeof ApiKeyInsertSchema>;
16839
- type ApiKeyUpdate = z$1.infer<typeof ApiKeyUpdateSchema>;
16840
- type ApiKeyApiSelect = z$1.infer<typeof ApiKeyApiSelectSchema>;
16841
- type ApiKeyApiInsert = z$1.infer<typeof ApiKeyApiInsertSchema>;
16842
- type ApiKeyApiUpdate = z$1.infer<typeof ApiKeyApiUpdateSchema>;
16843
- type ApiKeyApiCreationResponse = z$1.infer<typeof ApiKeyApiCreationResponseSchema>;
16844
- type CredentialReferenceSelect = z$1.infer<typeof CredentialReferenceSelectSchema>;
16845
- type CredentialReferenceInsert = z$1.infer<typeof CredentialReferenceInsertSchema>;
16846
- type CredentialReferenceUpdate = z$1.infer<typeof CredentialReferenceUpdateSchema>;
16847
- type CredentialReferenceApiSelect = z$1.infer<typeof CredentialReferenceApiSelectSchema>;
16848
- type CredentialReferenceApiInsert = z$1.infer<typeof CredentialReferenceApiInsertSchema>;
16849
- type CredentialReferenceApiUpdate = z$1.infer<typeof CredentialReferenceApiUpdateSchema>;
16850
- type SubAgentToolRelationSelect = z$1.infer<typeof SubAgentToolRelationSelectSchema>;
16851
- type SubAgentToolRelationInsert = z$1.infer<typeof SubAgentToolRelationInsertSchema>;
16852
- type SubAgentToolRelationUpdate = z$1.infer<typeof SubAgentToolRelationUpdateSchema>;
16853
- type SubAgentToolRelationApiSelect = z$1.infer<typeof SubAgentToolRelationApiSelectSchema>;
16854
- type SubAgentToolRelationApiInsert = z$1.infer<typeof SubAgentToolRelationApiInsertSchema>;
16855
- type SubAgentToolRelationApiUpdate = z$1.infer<typeof SubAgentToolRelationApiUpdateSchema>;
16856
- type SubAgentExternalAgentRelationSelect = z$1.infer<typeof SubAgentExternalAgentRelationSelectSchema>;
16857
- type SubAgentExternalAgentRelationInsert = z$1.infer<typeof SubAgentExternalAgentRelationInsertSchema>;
16858
- type SubAgentExternalAgentRelationUpdate = z$1.infer<typeof SubAgentExternalAgentRelationUpdateSchema>;
16859
- type SubAgentExternalAgentRelationApiSelect = z$1.infer<typeof SubAgentExternalAgentRelationApiSelectSchema>;
16860
- type SubAgentExternalAgentRelationApiInsert = z$1.infer<typeof SubAgentExternalAgentRelationApiInsertSchema>;
16861
- type SubAgentExternalAgentRelationApiUpdate = z$1.infer<typeof SubAgentExternalAgentRelationApiUpdateSchema>;
16862
- type SubAgentTeamAgentRelationSelect = z$1.infer<typeof SubAgentTeamAgentRelationSelectSchema>;
16863
- type SubAgentTeamAgentRelationInsert = z$1.infer<typeof SubAgentTeamAgentRelationInsertSchema>;
16864
- type SubAgentTeamAgentRelationUpdate = z$1.infer<typeof SubAgentTeamAgentRelationUpdateSchema>;
16865
- type SubAgentTeamAgentRelationApiSelect = z$1.infer<typeof SubAgentTeamAgentRelationApiSelectSchema>;
16866
- type SubAgentTeamAgentRelationApiInsert = z$1.infer<typeof SubAgentTeamAgentRelationApiInsertSchema>;
16867
- type SubAgentTeamAgentRelationApiUpdate = z$1.infer<typeof SubAgentTeamAgentRelationApiUpdateSchema>;
16868
- type LedgerArtifactSelect = z$1.infer<typeof LedgerArtifactSelectSchema>;
16869
- type LedgerArtifactInsert = z$1.infer<typeof LedgerArtifactInsertSchema>;
16870
- type LedgerArtifactUpdate = z$1.infer<typeof LedgerArtifactUpdateSchema>;
16871
- type LedgerArtifactApiSelect = z$1.infer<typeof LedgerArtifactApiSelectSchema>;
16872
- type LedgerArtifactApiInsert = z$1.infer<typeof LedgerArtifactApiInsertSchema>;
16873
- type LedgerArtifactApiUpdate = z$1.infer<typeof LedgerArtifactApiUpdateSchema>;
16874
- type FullAgentDefinition = z$1.infer<typeof AgentWithinContextOfProjectSchema>;
16875
- type FullAgentAgentInsert = z$1.infer<typeof FullAgentAgentInsertSchema>;
16876
- type FullProjectDefinition = z$1.infer<typeof FullProjectDefinitionSchema>;
16877
- type CanUseItem = z$1.infer<typeof CanUseItemSchema>;
16878
- type CanDelegateToExternalAgent = z$1.infer<typeof canDelegateToExternalAgentSchema>;
16879
- 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> & {
16880
16958
  canUse: CanUseItem[];
16881
16959
  dataComponents?: string[];
16882
16960
  artifactComponents?: string[];
@@ -16886,13 +16964,13 @@ type SubAgentDefinition = z$1.infer<typeof SubAgentApiInsertSchema> & {
16886
16964
  type ToolDefinition = ToolApiInsert & {
16887
16965
  credentialReferenceId?: string | null;
16888
16966
  };
16889
- type ProjectSelect = z$1.infer<typeof ProjectSelectSchema>;
16890
- type ProjectInsert = z$1.infer<typeof ProjectInsertSchema>;
16891
- type ProjectUpdate = z$1.infer<typeof ProjectUpdateSchema>;
16892
- type ProjectApiSelect = z$1.infer<typeof ProjectApiSelectSchema>;
16893
- type ProjectApiInsert = z$1.infer<typeof ProjectApiInsertSchema>;
16894
- type ProjectApiUpdate = z$1.infer<typeof ProjectApiUpdateSchema>;
16895
- 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>;
16896
16974
  interface SummaryEvent {
16897
16975
  type: string;
16898
16976
  label: string;
@@ -16905,10 +16983,10 @@ type MessageVisibility = 'user-facing' | 'internal' | 'system' | 'external';
16905
16983
  type MessageType = 'chat' | 'a2a-request' | 'a2a-response' | 'task-update' | 'tool-call' | 'tool-result';
16906
16984
  type MessageRole = 'user' | 'agent' | 'system';
16907
16985
  type MessageMode = 'full' | 'scoped' | 'none';
16908
- type Models = z$1.infer<typeof ModelSchema>;
16909
- type ProjectModels = z$1.infer<typeof ProjectModelSchema>;
16910
- type StatusUpdateSettings = z$1.infer<typeof StatusUpdateSchema>;
16911
- 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>;
16912
16990
  type PaginationConfig = {
16913
16991
  page?: number;
16914
16992
  limit?: number;
@@ -17026,7 +17104,7 @@ type McpServerAuth = {
17026
17104
  apiKey?: string;
17027
17105
  headerName?: string;
17028
17106
  };
17029
- type McpTransportConfig = z$1.infer<typeof McpTransportConfigSchema>;
17107
+ type McpTransportConfig = z.infer<typeof McpTransportConfigSchema>;
17030
17108
  type McpServerCapabilities = {
17031
17109
  tools?: boolean;
17032
17110
  resources?: boolean;
@@ -17126,5 +17204,56 @@ interface ExecutionContext {
17126
17204
  originAgentId?: string;
17127
17205
  };
17128
17206
  }
17207
+ /**
17208
+ * Reusable filter type that supports and/or operations
17209
+ *
17210
+ * Allows composition of filters using:
17211
+ * - Direct filter criteria (e.g., { agentIds: ['id1', 'id2'] })
17212
+ * - AND operation: { and: [filter1, filter2, ...] }
17213
+ * - OR operation: { or: [filter1, filter2, ...] }
17214
+ *
17215
+ * @template T - The base filter criteria type (e.g., { agentIds?: string[] })
17216
+ *
17217
+ * @example
17218
+ * // Simple filter
17219
+ * const filter: Filter<{ agentIds?: string[] }> = { agentIds: ['id1'] };
17220
+ *
17221
+ * @example
17222
+ * // AND operation
17223
+ * const filter: Filter<{ agentIds?: string[] }> = {
17224
+ * and: [
17225
+ * { agentIds: ['id1'] },
17226
+ * { agentIds: ['id2'] }
17227
+ * ]
17228
+ * };
17229
+ *
17230
+ * @example
17231
+ * // OR operation
17232
+ * const filter: Filter<{ agentIds?: string[] }> = {
17233
+ * or: [
17234
+ * { agentIds: ['id1'] },
17235
+ * { agentIds: ['id2'] }
17236
+ * ]
17237
+ * };
17238
+ *
17239
+ * @example
17240
+ * // Complex nested operations
17241
+ * const filter: Filter<{ agentIds?: string[] }> = {
17242
+ * and: [
17243
+ * { agentIds: ['id1'] },
17244
+ * {
17245
+ * or: [
17246
+ * { agentIds: ['id2'] },
17247
+ * { agentIds: ['id3'] }
17248
+ * ]
17249
+ * }
17250
+ * ]
17251
+ * };
17252
+ */
17253
+ type Filter<T extends Record<string, unknown>> = T | {
17254
+ and: Array<Filter<T>>;
17255
+ } | {
17256
+ or: Array<Filter<T>>;
17257
+ };
17129
17258
 
17130
- export { type CredentialReferenceInsert as $, ApiKeyApiUpdateSchema as A, type AgentSelect as B, type ConversationHistoryConfig as C, type ApiKeySelect as D, type ApiKeyInsert as E, FunctionApiInsertSchema as F, type ApiKeyUpdate as G, type CreateApiKeyParams as H, type ApiKeyCreateResult as I, type ArtifactComponentSelect as J, type ArtifactComponentInsert as K, type ArtifactComponentUpdate as L, ModelSettingsSchema as M, type SubAgentScopeConfig as N, type ContextCacheSelect as O, type Part as P, type ContextCacheInsert as Q, type ContextConfigInsert as R, StopWhenSchema as S, type TaskMetadataConfig as T, type ContextConfigUpdate as U, type ConversationSelect as V, type ConversationInsert as W, type ConversationUpdate as X, type CredentialReferenceSelect as Y, type ToolSelect as Z, type ExternalAgentSelect as _, FullAgentAgentInsertSchema as a, type TaskArtifactUpdateEvent as a$, type CredentialReferenceUpdate as a0, type DataComponentSelect as a1, type DataComponentInsert as a2, type DataComponentUpdate as a3, type ExternalAgentInsert as a4, type ExternalAgentUpdate as a5, type FunctionApiInsert as a6, type FunctionToolApiInsert as a7, type FunctionToolApiUpdate as a8, type Artifact as a9, type PartBase as aA, type TextPart as aB, type FileBase as aC, type FileWithBytes as aD, type FileWithUri as aE, type FilePart as aF, type DataPart as aG, TaskState as aH, type AgentCapabilities as aI, type AgentProvider as aJ, type AgentSkill as aK, type SecuritySchemeBase as aL, type APIKeySecurityScheme as aM, type HTTPAuthSecurityScheme as aN, type OAuthFlows as aO, type AuthorizationCodeOAuthFlow as aP, type ClientCredentialsOAuthFlow as aQ, type ImplicitOAuthFlow as aR, type PasswordOAuthFlow as aS, type OAuth2SecurityScheme as aT, type OpenIdConnectSecurityScheme as aU, type SecurityScheme as aV, type AgentCard as aW, type Message as aX, type TaskStatus as aY, type Task as aZ, type TaskStatusUpdateEvent as a_, type LedgerArtifactSelect as aa, type MessageVisibility as ab, type MessageInsert as ac, type MessageUpdate as ad, type FullProjectDefinition as ae, type ProjectInfo as af, type ProjectSelect as ag, type PaginationResult as ah, type ProjectResourceCounts as ai, type ProjectInsert as aj, type ProjectUpdate as ak, type SubAgentExternalAgentRelationInsert as al, type SubAgentRelationInsert as am, type SubAgentRelationUpdate as an, type SubAgentToolRelationUpdate as ao, type SubAgentInsert as ap, type SubAgentUpdate as aq, type SubAgentSelect as ar, type SubAgentTeamAgentRelationInsert as as, type TaskInsert as at, type TaskSelect as au, type McpTool as av, type ToolInsert as aw, type ToolUpdate as ax, type ExecutionContext as ay, PrebuiltMCPServerSchema as az, AgentStopWhenSchema as b, type TaskApiUpdate as b$, type JSONParseError as b0, type InvalidRequestError as b1, type MethodNotFoundError as b2, type InvalidParamsError as b3, type InternalError as b4, type TaskNotFoundError as b5, type TaskNotCancelableError as b6, type PushNotificationNotSupportedError as b7, type UnsupportedOperationError as b8, type ContentTypeNotSupportedError as b9, type GetTaskResponse as bA, type CancelTaskSuccessResponse as bB, type CancelTaskResponse as bC, type SetTaskPushNotificationConfigSuccessResponse as bD, type SetTaskPushNotificationConfigResponse as bE, type GetTaskPushNotificationConfigSuccessResponse as bF, type GetTaskPushNotificationConfigResponse as bG, type A2ARequest as bH, type A2AResponse as bI, type MessagePart as bJ, type TaskArtifact as bK, type SubAgentApiSelect as bL, type SubAgentApiInsert as bM, type SubAgentApiUpdate as bN, type SubAgentRelationSelect as bO, type SubAgentRelationApiSelect as bP, type SubAgentRelationApiInsert as bQ, type SubAgentRelationApiUpdate as bR, type SubAgentRelationQuery as bS, type ExternalSubAgentRelationInsert as bT, type ExternalSubAgentRelationApiInsert as bU, type AgentApiSelect as bV, type AgentApiInsert as bW, type AgentApiUpdate as bX, type TaskUpdate as bY, type TaskApiSelect as bZ, type TaskApiInsert as b_, type InvalidAgentResponseError as ba, type A2AError as bb, type PushNotificationAuthenticationInfo as bc, type PushNotificationConfig as bd, type TaskPushNotificationConfig as be, type TaskIdParams as bf, type TaskQueryParams as bg, type MessageSendConfiguration as bh, type MessageSendParams as bi, type JSONRPCMessage as bj, type JSONRPCRequest as bk, type JSONRPCError as bl, type JSONRPCResult as bm, type JSONRPCErrorResponse as bn, type SendMessageRequest as bo, type SendStreamingMessageRequest as bp, type GetTaskRequest as bq, type CancelTaskRequest as br, type SetTaskPushNotificationConfigRequest as bs, type GetTaskPushNotificationConfigRequest as bt, type TaskResubscriptionRequest as bu, type SendMessageSuccessResponse as bv, type SendMessageResponse as bw, type SendStreamingMessageSuccessResponse as bx, type SendStreamingMessageResponse as by, type GetTaskSuccessResponse as bz, SubAgentStopWhenSchema as c, type SubAgentToolRelationApiUpdate as c$, type TaskRelationSelect as c0, type TaskRelationInsert as c1, type TaskRelationUpdate as c2, type TaskRelationApiSelect as c3, type TaskRelationApiInsert as c4, type TaskRelationApiUpdate as c5, type ToolApiSelect as c6, type ToolApiInsert as c7, type ToolApiUpdate as c8, type FunctionSelect as c9, type SubAgentDataComponentUpdate as cA, type SubAgentDataComponentApiSelect as cB, type SubAgentDataComponentApiInsert as cC, type SubAgentDataComponentApiUpdate as cD, type ArtifactComponentApiSelect as cE, type ArtifactComponentApiInsert as cF, type ArtifactComponentApiUpdate as cG, type SubAgentArtifactComponentSelect as cH, type SubAgentArtifactComponentInsert as cI, type SubAgentArtifactComponentUpdate as cJ, type SubAgentArtifactComponentApiSelect as cK, type SubAgentArtifactComponentApiInsert as cL, type SubAgentArtifactComponentApiUpdate as cM, type ExternalAgentApiSelect as cN, type ExternalAgentApiInsert as cO, type ExternalAgentApiUpdate as cP, type AllAgentSelect as cQ, type ApiKeyApiSelect as cR, type ApiKeyApiInsert as cS, type ApiKeyApiUpdate as cT, type ApiKeyApiCreationResponse as cU, type CredentialReferenceApiSelect as cV, type CredentialReferenceApiUpdate as cW, type SubAgentToolRelationSelect as cX, type SubAgentToolRelationInsert as cY, type SubAgentToolRelationApiSelect as cZ, type SubAgentToolRelationApiInsert as c_, type FunctionInsert as ca, type FunctionUpdate as cb, type FunctionApiSelect as cc, type FunctionApiUpdate as cd, type FunctionToolApiSelect as ce, type ConversationApiSelect as cf, type ConversationApiInsert as cg, type ConversationApiUpdate as ch, type MessageSelect as ci, type MessageApiSelect as cj, type MessageApiInsert as ck, type MessageApiUpdate as cl, type ContextConfigApiSelect as cm, type ContextConfigApiInsert as cn, type ContextConfigApiUpdate as co, type FetchDefinition as cp, type FetchConfig as cq, type ContextCacheUpdate as cr, type ContextCacheApiSelect as cs, type ContextCacheApiInsert as ct, type ContextCacheApiUpdate as cu, type DataComponentApiSelect as cv, type DataComponentApiInsert as cw, type DataComponentApiUpdate as cx, type SubAgentDataComponentSelect as cy, type SubAgentDataComponentInsert as cz, type StopWhen as d, AgentSelectSchema as d$, type SubAgentExternalAgentRelationSelect as d0, type SubAgentExternalAgentRelationUpdate as d1, type SubAgentExternalAgentRelationApiSelect as d2, type SubAgentExternalAgentRelationApiInsert as d3, type SubAgentExternalAgentRelationApiUpdate as d4, type SubAgentTeamAgentRelationSelect as d5, type SubAgentTeamAgentRelationUpdate as d6, type SubAgentTeamAgentRelationApiSelect as d7, type SubAgentTeamAgentRelationApiInsert as d8, type SubAgentTeamAgentRelationApiUpdate as d9, type McpAuthType as dA, type McpServerAuth as dB, type McpTransportConfig as dC, type McpServerCapabilities as dD, type McpToolDefinition as dE, TOOL_STATUS_VALUES as dF, VALID_RELATION_TYPES as dG, MCPServerType as dH, ModelSchema as dI, ProjectModelSchema as dJ, FunctionToolConfigSchema as dK, type FunctionToolConfig as dL, SubAgentSelectSchema as dM, SubAgentInsertSchema as dN, SubAgentUpdateSchema as dO, SubAgentApiSelectSchema as dP, SubAgentApiInsertSchema as dQ, SubAgentApiUpdateSchema as dR, SubAgentRelationSelectSchema as dS, SubAgentRelationInsertSchema as dT, SubAgentRelationUpdateSchema as dU, SubAgentRelationApiSelectSchema as dV, SubAgentRelationApiInsertSchema as dW, SubAgentRelationApiUpdateSchema as dX, SubAgentRelationQuerySchema as dY, ExternalSubAgentRelationInsertSchema as dZ, ExternalSubAgentRelationApiInsertSchema as d_, type LedgerArtifactInsert as da, type LedgerArtifactUpdate as db, type LedgerArtifactApiSelect as dc, type LedgerArtifactApiInsert as dd, type LedgerArtifactApiUpdate as de, type FullAgentAgentInsert as df, type CanUseItem as dg, type CanDelegateToExternalAgent as dh, type SubAgentDefinition as di, type ToolDefinition as dj, type ProjectApiSelect as dk, type ProjectApiInsert as dl, type ProjectApiUpdate as dm, type Pagination as dn, type SummaryEvent as dp, type MessageType as dq, type MessageRole as dr, type MessageMode as ds, type Models as dt, type ProjectModels as du, type StatusUpdateSettings as dv, type StatusComponent as dw, type ConversationScopeOptions as dx, type AgentConversationHistoryConfig as dy, type ContextCacheEntry as dz, type AgentStopWhen as e, SubAgentArtifactComponentApiInsertSchema as e$, AgentInsertSchema as e0, AgentUpdateSchema as e1, AgentApiSelectSchema as e2, AgentApiInsertSchema as e3, AgentApiUpdateSchema as e4, TaskSelectSchema as e5, TaskInsertSchema as e6, TaskUpdateSchema as e7, TaskApiSelectSchema as e8, TaskApiInsertSchema as e9, ContextCacheUpdateSchema as eA, ContextCacheApiSelectSchema as eB, ContextCacheApiInsertSchema as eC, ContextCacheApiUpdateSchema as eD, DataComponentSelectSchema as eE, DataComponentInsertSchema as eF, DataComponentBaseSchema as eG, DataComponentUpdateSchema as eH, DataComponentApiSelectSchema as eI, DataComponentApiInsertSchema as eJ, DataComponentApiUpdateSchema as eK, SubAgentDataComponentSelectSchema as eL, SubAgentDataComponentInsertSchema as eM, SubAgentDataComponentUpdateSchema as eN, SubAgentDataComponentApiSelectSchema as eO, SubAgentDataComponentApiInsertSchema as eP, SubAgentDataComponentApiUpdateSchema as eQ, ArtifactComponentSelectSchema as eR, ArtifactComponentInsertSchema as eS, ArtifactComponentUpdateSchema as eT, ArtifactComponentApiSelectSchema as eU, ArtifactComponentApiInsertSchema as eV, ArtifactComponentApiUpdateSchema as eW, SubAgentArtifactComponentSelectSchema as eX, SubAgentArtifactComponentInsertSchema as eY, SubAgentArtifactComponentUpdateSchema as eZ, SubAgentArtifactComponentApiSelectSchema as e_, TaskApiUpdateSchema as ea, TaskRelationSelectSchema as eb, TaskRelationInsertSchema as ec, TaskRelationUpdateSchema as ed, TaskRelationApiSelectSchema as ee, TaskRelationApiInsertSchema as ef, TaskRelationApiUpdateSchema as eg, McpTransportConfigSchema as eh, ToolStatusSchema as ei, McpToolDefinitionSchema as ej, ToolSelectSchema as ek, ToolInsertSchema as el, ConversationSelectSchema as em, ConversationInsertSchema as en, ConversationUpdateSchema as eo, ConversationApiSelectSchema as ep, ConversationApiInsertSchema as eq, ConversationApiUpdateSchema as er, MessageSelectSchema as es, MessageInsertSchema as et, MessageUpdateSchema as eu, MessageApiSelectSchema as ev, MessageApiInsertSchema as ew, MessageApiUpdateSchema as ex, ContextCacheSelectSchema as ey, ContextCacheInsertSchema as ez, type SubAgentStopWhen as f, SubAgentTeamAgentRelationSelectSchema as f$, SubAgentArtifactComponentApiUpdateSchema as f0, ExternalAgentSelectSchema as f1, ExternalAgentInsertSchema as f2, ExternalAgentUpdateSchema as f3, ExternalAgentApiSelectSchema as f4, ExternalAgentApiInsertSchema as f5, ExternalAgentApiUpdateSchema as f6, AllAgentSchema as f7, ApiKeySelectSchema as f8, ApiKeyInsertSchema as f9, FunctionToolUpdateSchema as fA, FunctionToolApiSelectSchema as fB, FunctionToolApiInsertSchema as fC, FunctionToolApiUpdateSchema as fD, FunctionSelectSchema as fE, FunctionInsertSchema as fF, FunctionUpdateSchema as fG, FetchConfigSchema as fH, FetchDefinitionSchema as fI, ContextConfigSelectSchema as fJ, ContextConfigInsertSchema as fK, ContextConfigUpdateSchema as fL, ContextConfigApiSelectSchema as fM, ContextConfigApiInsertSchema as fN, ContextConfigApiUpdateSchema as fO, SubAgentToolRelationSelectSchema as fP, SubAgentToolRelationInsertSchema as fQ, SubAgentToolRelationUpdateSchema as fR, SubAgentToolRelationApiSelectSchema as fS, SubAgentToolRelationApiInsertSchema as fT, SubAgentToolRelationApiUpdateSchema as fU, SubAgentExternalAgentRelationSelectSchema as fV, SubAgentExternalAgentRelationInsertSchema as fW, SubAgentExternalAgentRelationUpdateSchema as fX, SubAgentExternalAgentRelationApiSelectSchema as fY, SubAgentExternalAgentRelationApiInsertSchema as fZ, SubAgentExternalAgentRelationApiUpdateSchema as f_, ApiKeyUpdateSchema as fa, ApiKeyApiSelectSchema as fb, ApiKeyApiCreationResponseSchema as fc, ApiKeyApiInsertSchema as fd, CredentialReferenceSelectSchema as fe, CredentialReferenceInsertSchema as ff, CredentialReferenceUpdateSchema as fg, CredentialReferenceApiSelectSchema as fh, CredentialReferenceApiInsertSchema as fi, CredentialReferenceApiUpdateSchema as fj, CredentialStoreSchema as fk, CredentialStoreListResponseSchema as fl, CreateCredentialInStoreRequestSchema as fm, CreateCredentialInStoreResponseSchema as fn, RelatedAgentInfoSchema as fo, ComponentAssociationSchema as fp, OAuthLoginQuerySchema as fq, OAuthCallbackQuerySchema as fr, McpToolSchema as fs, MCPToolConfigSchema as ft, ToolUpdateSchema as fu, ToolApiSelectSchema as fv, ToolApiInsertSchema as fw, ToolApiUpdateSchema as fx, FunctionToolSelectSchema as fy, FunctionToolInsertSchema as fz, type ModelSettings as g, SubAgentDataComponentResponse as g$, SubAgentTeamAgentRelationInsertSchema as g0, SubAgentTeamAgentRelationUpdateSchema as g1, SubAgentTeamAgentRelationApiSelectSchema as g2, SubAgentTeamAgentRelationApiInsertSchema as g3, SubAgentTeamAgentRelationApiUpdateSchema as g4, LedgerArtifactSelectSchema as g5, LedgerArtifactInsertSchema as g6, LedgerArtifactUpdateSchema as g7, LedgerArtifactApiSelectSchema as g8, LedgerArtifactApiInsertSchema as g9, ContextConfigResponse as gA, ApiKeyResponse as gB, CredentialReferenceResponse as gC, FunctionResponse as gD, FunctionToolResponse as gE, DataComponentResponse as gF, ArtifactComponentResponse as gG, SubAgentRelationResponse as gH, SubAgentToolRelationResponse as gI, ConversationResponse as gJ, MessageResponse as gK, ProjectListResponse as gL, SubAgentListResponse as gM, AgentListResponse as gN, ToolListResponse as gO, ExternalAgentListResponse as gP, ContextConfigListResponse as gQ, ApiKeyListResponse as gR, CredentialReferenceListResponse as gS, FunctionListResponse as gT, FunctionToolListResponse as gU, DataComponentListResponse as gV, ArtifactComponentListResponse as gW, SubAgentRelationListResponse as gX, SubAgentToolRelationListResponse as gY, ConversationListResponse as gZ, MessageListResponse as g_, LedgerArtifactApiUpdateSchema as ga, StatusComponentSchema as gb, StatusUpdateSchema as gc, CanUseItemSchema as gd, canDelegateToExternalAgentSchema as ge, canDelegateToTeamAgentSchema as gf, TeamAgentSchema as gg, AgentWithinContextOfProjectSchema as gh, PaginationSchema as gi, ListResponseSchema as gj, SingleResponseSchema as gk, ErrorResponseSchema as gl, ExistsResponseSchema as gm, RemovedResponseSchema as gn, ProjectSelectSchema as go, ProjectInsertSchema as gp, ProjectUpdateSchema as gq, ProjectApiSelectSchema as gr, ProjectApiInsertSchema as gs, ProjectApiUpdateSchema as gt, FullProjectDefinitionSchema as gu, ProjectResponse as gv, SubAgentResponse as gw, AgentResponse as gx, ToolResponse as gy, ExternalAgentResponse as gz, CredentialStoreType as h, SubAgentArtifactComponentResponse as h0, SubAgentDataComponentListResponse as h1, SubAgentArtifactComponentListResponse as h2, FullProjectDefinitionResponse as h3, AgentWithinContextOfProjectResponse as h4, RelatedAgentInfoListResponse as h5, ComponentAssociationListResponse as h6, McpToolResponse as h7, McpToolListResponse as h8, SubAgentTeamAgentRelationResponse as h9, SubAgentTeamAgentRelationListResponse as ha, SubAgentExternalAgentRelationResponse as hb, SubAgentExternalAgentRelationListResponse as hc, DataComponentArrayResponse as hd, ArtifactComponentArrayResponse as he, HeadersScopeSchema as hf, TenantParamsSchema as hg, TenantIdParamsSchema as hh, TenantProjectParamsSchema as hi, TenantProjectIdParamsSchema as hj, TenantProjectAgentParamsSchema as hk, TenantProjectAgentIdParamsSchema as hl, TenantProjectAgentSubAgentParamsSchema as hm, TenantProjectAgentSubAgentIdParamsSchema as hn, PaginationQueryParamsSchema as ho, MCPCatalogListResponse as hp, ThirdPartyMCPServerResponse as hq, MCPTransportType as i, FunctionApiSelectSchema as j, FunctionApiUpdateSchema as k, type ContextFetchDefinition as l, type ToolMcpConfig as m, type ToolServerCapabilities as n, type ConversationMetadata as o, type MessageContent as p, type MessageMetadata as q, type CredentialReferenceApiInsert as r, type ContextConfigSelect as s, type MCPToolConfig as t, type ProjectScopeConfig as u, type FullAgentDefinition as v, type AgentScopeConfig as w, type PaginationConfig as x, type AgentInsert as y, type AgentUpdate as z };
17259
+ export { type CredentialReferenceInsert as $, ApiKeyApiUpdateSchema as A, type AgentSelect as B, type ConversationHistoryConfig as C, type ApiKeySelect as D, type ApiKeyInsert as E, FunctionApiInsertSchema as F, type ApiKeyUpdate as G, type CreateApiKeyParams as H, type ApiKeyCreateResult as I, type ArtifactComponentSelect as J, type ArtifactComponentInsert as K, type ArtifactComponentUpdate as L, ModelSettingsSchema as M, type SubAgentScopeConfig as N, type ContextCacheSelect as O, type Part as P, type ContextCacheInsert as Q, type ContextConfigInsert as R, StopWhenSchema as S, type TaskMetadataConfig as T, type ContextConfigUpdate as U, type ConversationSelect as V, type ConversationInsert as W, type ConversationUpdate as X, type CredentialReferenceSelect as Y, type ToolSelect as Z, type ExternalAgentSelect as _, FullAgentAgentInsertSchema as a, type TaskStatusUpdateEvent as a$, type CredentialReferenceUpdate as a0, type DataComponentSelect as a1, type DataComponentInsert as a2, type DataComponentUpdate as a3, type ExternalAgentInsert as a4, type ExternalAgentUpdate as a5, type FunctionApiInsert as a6, type FunctionToolApiInsert as a7, type FunctionToolApiUpdate as a8, type Artifact as a9, PrebuiltMCPServerSchema as aA, type PartBase as aB, type TextPart as aC, type FileBase as aD, type FileWithBytes as aE, type FileWithUri as aF, type FilePart as aG, type DataPart as aH, TaskState as aI, type AgentCapabilities as aJ, type AgentProvider as aK, type AgentSkill as aL, type SecuritySchemeBase as aM, type APIKeySecurityScheme as aN, type HTTPAuthSecurityScheme as aO, type OAuthFlows as aP, type AuthorizationCodeOAuthFlow as aQ, type ClientCredentialsOAuthFlow as aR, type ImplicitOAuthFlow as aS, type PasswordOAuthFlow as aT, type OAuth2SecurityScheme as aU, type OpenIdConnectSecurityScheme as aV, type SecurityScheme as aW, type AgentCard as aX, type Message as aY, type TaskStatus as aZ, type Task as a_, type LedgerArtifactSelect as aa, type MessageVisibility as ab, type MessageInsert as ac, type MessageUpdate as ad, type FullProjectDefinition as ae, type ProjectInfo as af, type ProjectSelect as ag, type PaginationResult as ah, type ProjectResourceCounts as ai, type ProjectInsert as aj, type ProjectUpdate as ak, type SubAgentExternalAgentRelationInsert as al, type SubAgentRelationInsert as am, type SubAgentRelationUpdate as an, type SubAgentToolRelationUpdate as ao, type SubAgentInsert as ap, type SubAgentUpdate as aq, type SubAgentSelect as ar, type SubAgentTeamAgentRelationInsert as as, type TaskInsert as at, type TaskSelect as au, type McpTool as av, type ToolInsert as aw, type ToolUpdate as ax, type ExecutionContext as ay, type MessageSelect as az, AgentStopWhenSchema as b, type TaskApiInsert as b$, type TaskArtifactUpdateEvent as b0, type JSONParseError as b1, type InvalidRequestError as b2, type MethodNotFoundError as b3, type InvalidParamsError as b4, type InternalError as b5, type TaskNotFoundError as b6, type TaskNotCancelableError as b7, type PushNotificationNotSupportedError as b8, type UnsupportedOperationError as b9, type GetTaskSuccessResponse as bA, type GetTaskResponse as bB, type CancelTaskSuccessResponse as bC, type CancelTaskResponse as bD, type SetTaskPushNotificationConfigSuccessResponse as bE, type SetTaskPushNotificationConfigResponse as bF, type GetTaskPushNotificationConfigSuccessResponse as bG, type GetTaskPushNotificationConfigResponse as bH, type A2ARequest as bI, type A2AResponse as bJ, type MessagePart as bK, type TaskArtifact as bL, type SubAgentApiSelect as bM, type SubAgentApiInsert as bN, type SubAgentApiUpdate as bO, type SubAgentRelationSelect as bP, type SubAgentRelationApiSelect as bQ, type SubAgentRelationApiInsert as bR, type SubAgentRelationApiUpdate as bS, type SubAgentRelationQuery as bT, type ExternalSubAgentRelationInsert as bU, type ExternalSubAgentRelationApiInsert as bV, type AgentApiSelect as bW, type AgentApiInsert as bX, type AgentApiUpdate as bY, type TaskUpdate as bZ, type TaskApiSelect as b_, type ContentTypeNotSupportedError as ba, type InvalidAgentResponseError as bb, type A2AError as bc, type PushNotificationAuthenticationInfo as bd, type PushNotificationConfig as be, type TaskPushNotificationConfig as bf, type TaskIdParams as bg, type TaskQueryParams as bh, type MessageSendConfiguration as bi, type MessageSendParams as bj, type JSONRPCMessage as bk, type JSONRPCRequest as bl, type JSONRPCError as bm, type JSONRPCResult as bn, type JSONRPCErrorResponse as bo, type SendMessageRequest as bp, type SendStreamingMessageRequest as bq, type GetTaskRequest as br, type CancelTaskRequest as bs, type SetTaskPushNotificationConfigRequest as bt, type GetTaskPushNotificationConfigRequest as bu, type TaskResubscriptionRequest as bv, type SendMessageSuccessResponse as bw, type SendMessageResponse as bx, type SendStreamingMessageSuccessResponse as by, type SendStreamingMessageResponse as bz, SubAgentStopWhenSchema as c, type SubAgentToolRelationApiUpdate as c$, type TaskApiUpdate as c0, type TaskRelationSelect as c1, type TaskRelationInsert as c2, type TaskRelationUpdate as c3, type TaskRelationApiSelect as c4, type TaskRelationApiInsert as c5, type TaskRelationApiUpdate as c6, type ToolApiSelect as c7, type ToolApiInsert as c8, type ToolApiUpdate as c9, type SubAgentDataComponentUpdate as cA, type SubAgentDataComponentApiSelect as cB, type SubAgentDataComponentApiInsert as cC, type SubAgentDataComponentApiUpdate as cD, type ArtifactComponentApiSelect as cE, type ArtifactComponentApiInsert as cF, type ArtifactComponentApiUpdate as cG, type SubAgentArtifactComponentSelect as cH, type SubAgentArtifactComponentInsert as cI, type SubAgentArtifactComponentUpdate as cJ, type SubAgentArtifactComponentApiSelect as cK, type SubAgentArtifactComponentApiInsert as cL, type SubAgentArtifactComponentApiUpdate as cM, type ExternalAgentApiSelect as cN, type ExternalAgentApiInsert as cO, type ExternalAgentApiUpdate as cP, type AllAgentSelect as cQ, type ApiKeyApiSelect as cR, type ApiKeyApiInsert as cS, type ApiKeyApiUpdate as cT, type ApiKeyApiCreationResponse as cU, type CredentialReferenceApiSelect as cV, type CredentialReferenceApiUpdate as cW, type SubAgentToolRelationSelect as cX, type SubAgentToolRelationInsert as cY, type SubAgentToolRelationApiSelect as cZ, type SubAgentToolRelationApiInsert as c_, type FunctionSelect as ca, type FunctionInsert as cb, type FunctionUpdate as cc, type FunctionApiSelect as cd, type FunctionApiUpdate as ce, type FunctionToolApiSelect as cf, type ConversationApiSelect as cg, type ConversationApiInsert as ch, type ConversationApiUpdate as ci, type MessageApiSelect as cj, type MessageApiInsert as ck, type MessageApiUpdate as cl, type ContextConfigApiSelect as cm, type ContextConfigApiInsert as cn, type ContextConfigApiUpdate as co, type FetchDefinition as cp, type FetchConfig as cq, type ContextCacheUpdate as cr, type ContextCacheApiSelect as cs, type ContextCacheApiInsert as ct, type ContextCacheApiUpdate as cu, type DataComponentApiSelect as cv, type DataComponentApiInsert as cw, type DataComponentApiUpdate as cx, type SubAgentDataComponentSelect as cy, type SubAgentDataComponentInsert as cz, type StopWhen as d, ExternalSubAgentRelationApiInsertSchema as d$, type SubAgentExternalAgentRelationSelect as d0, type SubAgentExternalAgentRelationUpdate as d1, type SubAgentExternalAgentRelationApiSelect as d2, type SubAgentExternalAgentRelationApiInsert as d3, type SubAgentExternalAgentRelationApiUpdate as d4, type SubAgentTeamAgentRelationSelect as d5, type SubAgentTeamAgentRelationUpdate as d6, type SubAgentTeamAgentRelationApiSelect as d7, type SubAgentTeamAgentRelationApiInsert as d8, type SubAgentTeamAgentRelationApiUpdate as d9, type McpAuthType as dA, type McpServerAuth as dB, type McpTransportConfig as dC, type McpServerCapabilities as dD, type McpToolDefinition as dE, TOOL_STATUS_VALUES as dF, VALID_RELATION_TYPES as dG, MCPServerType as dH, type Filter as dI, ModelSchema as dJ, ProjectModelSchema as dK, FunctionToolConfigSchema as dL, type FunctionToolConfig as dM, SubAgentSelectSchema as dN, SubAgentInsertSchema as dO, SubAgentUpdateSchema as dP, SubAgentApiSelectSchema as dQ, SubAgentApiInsertSchema as dR, SubAgentApiUpdateSchema as dS, SubAgentRelationSelectSchema as dT, SubAgentRelationInsertSchema as dU, SubAgentRelationUpdateSchema as dV, SubAgentRelationApiSelectSchema as dW, SubAgentRelationApiInsertSchema as dX, SubAgentRelationApiUpdateSchema as dY, SubAgentRelationQuerySchema as dZ, ExternalSubAgentRelationInsertSchema as d_, type LedgerArtifactInsert as da, type LedgerArtifactUpdate as db, type LedgerArtifactApiSelect as dc, type LedgerArtifactApiInsert as dd, type LedgerArtifactApiUpdate as de, type FullAgentAgentInsert as df, type CanUseItem as dg, type CanDelegateToExternalAgent as dh, type SubAgentDefinition as di, type ToolDefinition as dj, type ProjectApiSelect as dk, type ProjectApiInsert as dl, type ProjectApiUpdate as dm, type Pagination as dn, type SummaryEvent as dp, type MessageType as dq, type MessageRole as dr, type MessageMode as ds, type Models as dt, type ProjectModels as du, type StatusUpdateSettings as dv, type StatusComponent as dw, type ConversationScopeOptions as dx, type AgentConversationHistoryConfig as dy, type ContextCacheEntry as dz, type AgentStopWhen as e, SubAgentArtifactComponentApiSelectSchema as e$, AgentSelectSchema as e0, AgentInsertSchema as e1, AgentUpdateSchema as e2, AgentApiSelectSchema as e3, AgentApiInsertSchema as e4, AgentApiUpdateSchema as e5, TaskSelectSchema as e6, TaskInsertSchema as e7, TaskUpdateSchema as e8, TaskApiSelectSchema as e9, ContextCacheInsertSchema as eA, ContextCacheUpdateSchema as eB, ContextCacheApiSelectSchema as eC, ContextCacheApiInsertSchema as eD, ContextCacheApiUpdateSchema as eE, DataComponentSelectSchema as eF, DataComponentInsertSchema as eG, DataComponentBaseSchema as eH, DataComponentUpdateSchema as eI, DataComponentApiSelectSchema as eJ, DataComponentApiInsertSchema as eK, DataComponentApiUpdateSchema as eL, SubAgentDataComponentSelectSchema as eM, SubAgentDataComponentInsertSchema as eN, SubAgentDataComponentUpdateSchema as eO, SubAgentDataComponentApiSelectSchema as eP, SubAgentDataComponentApiInsertSchema as eQ, SubAgentDataComponentApiUpdateSchema as eR, ArtifactComponentSelectSchema as eS, ArtifactComponentInsertSchema as eT, ArtifactComponentUpdateSchema as eU, ArtifactComponentApiSelectSchema as eV, ArtifactComponentApiInsertSchema as eW, ArtifactComponentApiUpdateSchema as eX, SubAgentArtifactComponentSelectSchema as eY, SubAgentArtifactComponentInsertSchema as eZ, SubAgentArtifactComponentUpdateSchema as e_, TaskApiInsertSchema as ea, TaskApiUpdateSchema as eb, TaskRelationSelectSchema as ec, TaskRelationInsertSchema as ed, TaskRelationUpdateSchema as ee, TaskRelationApiSelectSchema as ef, TaskRelationApiInsertSchema as eg, TaskRelationApiUpdateSchema as eh, McpTransportConfigSchema as ei, ToolStatusSchema as ej, McpToolDefinitionSchema as ek, ToolSelectSchema as el, ToolInsertSchema as em, ConversationSelectSchema as en, ConversationInsertSchema as eo, ConversationUpdateSchema as ep, ConversationApiSelectSchema as eq, ConversationApiInsertSchema as er, ConversationApiUpdateSchema as es, MessageSelectSchema as et, MessageInsertSchema as eu, MessageUpdateSchema as ev, MessageApiSelectSchema as ew, MessageApiInsertSchema as ex, MessageApiUpdateSchema as ey, ContextCacheSelectSchema as ez, type SubAgentStopWhen as f, SubAgentExternalAgentRelationApiUpdateSchema as f$, SubAgentArtifactComponentApiInsertSchema as f0, SubAgentArtifactComponentApiUpdateSchema as f1, ExternalAgentSelectSchema as f2, ExternalAgentInsertSchema as f3, ExternalAgentUpdateSchema as f4, ExternalAgentApiSelectSchema as f5, ExternalAgentApiInsertSchema as f6, ExternalAgentApiUpdateSchema as f7, AllAgentSchema as f8, ApiKeySelectSchema as f9, FunctionToolInsertSchema as fA, FunctionToolUpdateSchema as fB, FunctionToolApiSelectSchema as fC, FunctionToolApiInsertSchema as fD, FunctionToolApiUpdateSchema as fE, FunctionSelectSchema as fF, FunctionInsertSchema as fG, FunctionUpdateSchema as fH, FetchConfigSchema as fI, FetchDefinitionSchema as fJ, ContextConfigSelectSchema as fK, ContextConfigInsertSchema as fL, ContextConfigUpdateSchema as fM, ContextConfigApiSelectSchema as fN, ContextConfigApiInsertSchema as fO, ContextConfigApiUpdateSchema as fP, SubAgentToolRelationSelectSchema as fQ, SubAgentToolRelationInsertSchema as fR, SubAgentToolRelationUpdateSchema as fS, SubAgentToolRelationApiSelectSchema as fT, SubAgentToolRelationApiInsertSchema as fU, SubAgentToolRelationApiUpdateSchema as fV, SubAgentExternalAgentRelationSelectSchema as fW, SubAgentExternalAgentRelationInsertSchema as fX, SubAgentExternalAgentRelationUpdateSchema as fY, SubAgentExternalAgentRelationApiSelectSchema as fZ, SubAgentExternalAgentRelationApiInsertSchema as f_, ApiKeyInsertSchema as fa, ApiKeyUpdateSchema as fb, ApiKeyApiSelectSchema as fc, ApiKeyApiCreationResponseSchema as fd, ApiKeyApiInsertSchema as fe, CredentialReferenceSelectSchema as ff, CredentialReferenceInsertSchema as fg, CredentialReferenceUpdateSchema as fh, CredentialReferenceApiSelectSchema as fi, CredentialReferenceApiInsertSchema as fj, CredentialReferenceApiUpdateSchema as fk, CredentialStoreSchema as fl, CredentialStoreListResponseSchema as fm, CreateCredentialInStoreRequestSchema as fn, CreateCredentialInStoreResponseSchema as fo, RelatedAgentInfoSchema as fp, ComponentAssociationSchema as fq, OAuthLoginQuerySchema as fr, OAuthCallbackQuerySchema as fs, McpToolSchema as ft, MCPToolConfigSchema as fu, ToolUpdateSchema as fv, ToolApiSelectSchema as fw, ToolApiInsertSchema as fx, ToolApiUpdateSchema as fy, FunctionToolSelectSchema as fz, type ModelSettings as g, MessageListResponse as g$, SubAgentTeamAgentRelationSelectSchema as g0, SubAgentTeamAgentRelationInsertSchema as g1, SubAgentTeamAgentRelationUpdateSchema as g2, SubAgentTeamAgentRelationApiSelectSchema as g3, SubAgentTeamAgentRelationApiInsertSchema as g4, SubAgentTeamAgentRelationApiUpdateSchema as g5, LedgerArtifactSelectSchema as g6, LedgerArtifactInsertSchema as g7, LedgerArtifactUpdateSchema as g8, LedgerArtifactApiSelectSchema as g9, ExternalAgentResponse as gA, ContextConfigResponse as gB, ApiKeyResponse as gC, CredentialReferenceResponse as gD, FunctionResponse as gE, FunctionToolResponse as gF, DataComponentResponse as gG, ArtifactComponentResponse as gH, SubAgentRelationResponse as gI, SubAgentToolRelationResponse as gJ, ConversationResponse as gK, MessageResponse as gL, ProjectListResponse as gM, SubAgentListResponse as gN, AgentListResponse as gO, ToolListResponse as gP, ExternalAgentListResponse as gQ, ContextConfigListResponse as gR, ApiKeyListResponse as gS, CredentialReferenceListResponse as gT, FunctionListResponse as gU, FunctionToolListResponse as gV, DataComponentListResponse as gW, ArtifactComponentListResponse as gX, SubAgentRelationListResponse as gY, SubAgentToolRelationListResponse as gZ, ConversationListResponse as g_, LedgerArtifactApiInsertSchema as ga, LedgerArtifactApiUpdateSchema as gb, StatusComponentSchema as gc, StatusUpdateSchema as gd, CanUseItemSchema as ge, canDelegateToExternalAgentSchema as gf, canDelegateToTeamAgentSchema as gg, TeamAgentSchema as gh, AgentWithinContextOfProjectSchema as gi, PaginationSchema as gj, ListResponseSchema as gk, SingleResponseSchema as gl, ErrorResponseSchema as gm, ExistsResponseSchema as gn, RemovedResponseSchema as go, ProjectSelectSchema as gp, ProjectInsertSchema as gq, ProjectUpdateSchema as gr, ProjectApiSelectSchema as gs, ProjectApiInsertSchema as gt, ProjectApiUpdateSchema as gu, FullProjectDefinitionSchema as gv, ProjectResponse as gw, SubAgentResponse as gx, AgentResponse as gy, ToolResponse as gz, CredentialStoreType as h, SubAgentDataComponentResponse as h0, SubAgentArtifactComponentResponse as h1, SubAgentDataComponentListResponse as h2, SubAgentArtifactComponentListResponse as h3, FullProjectDefinitionResponse as h4, AgentWithinContextOfProjectResponse as h5, RelatedAgentInfoListResponse as h6, ComponentAssociationListResponse as h7, McpToolResponse as h8, McpToolListResponse as h9, SubAgentTeamAgentRelationResponse as ha, SubAgentTeamAgentRelationListResponse as hb, SubAgentExternalAgentRelationResponse as hc, SubAgentExternalAgentRelationListResponse as hd, DataComponentArrayResponse as he, ArtifactComponentArrayResponse as hf, HeadersScopeSchema as hg, TenantParamsSchema as hh, TenantIdParamsSchema as hi, TenantProjectParamsSchema as hj, TenantProjectIdParamsSchema as hk, TenantProjectAgentParamsSchema as hl, TenantProjectAgentIdParamsSchema as hm, TenantProjectAgentSubAgentParamsSchema as hn, TenantProjectAgentSubAgentIdParamsSchema as ho, PaginationQueryParamsSchema as hp, MCPCatalogListResponse as hq, ThirdPartyMCPServerResponse as hr, MCPTransportType as i, FunctionApiSelectSchema as j, FunctionApiUpdateSchema as k, type ContextFetchDefinition as l, type ToolMcpConfig as m, type ToolServerCapabilities as n, type ConversationMetadata as o, type MessageContent as p, type MessageMetadata as q, type CredentialReferenceApiInsert as r, type ContextConfigSelect as s, type MCPToolConfig as t, type ProjectScopeConfig as u, type FullAgentDefinition as v, type AgentScopeConfig as w, type PaginationConfig as x, type AgentInsert as y, type AgentUpdate as z };