@inkeep/agents-core 0.37.1 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/auth/auth-schema.d.ts +47 -1
  2. package/dist/auth/auth-schema.js +1 -1
  3. package/dist/auth/auth-validation-schemas.d.ts +35 -1
  4. package/dist/auth/auth-validation-schemas.js +2 -2
  5. package/dist/auth/auth.d.ts +24 -23
  6. package/dist/auth/auth.js +11 -4
  7. package/dist/auth/permissions.d.ts +9 -9
  8. package/dist/auth/permissions.js +1 -1
  9. package/dist/chunk-3OPS2LN5.js +4 -0
  10. package/dist/{chunk-7CLFCY6J.js → chunk-7IQFIW44.js} +2 -0
  11. package/dist/{chunk-ZEZCCHV7.js → chunk-AJCP2QYU.js} +2 -2
  12. package/dist/{chunk-7GZHUB4J.js → chunk-AUGHKZEB.js} +42 -2
  13. package/dist/{chunk-W3QDM7WH.js → chunk-CWAFZVRI.js} +2 -2
  14. package/dist/{chunk-I6IF7ZTL.js → chunk-DW4DNYUS.js} +2 -2
  15. package/dist/chunk-GENLXHZ4.js +159 -0
  16. package/dist/{chunk-VMSYBWFH.js → chunk-JNBVHWXX.js} +7 -4
  17. package/dist/{chunk-PVRIMF6N.js → chunk-LH6OJIIM.js} +27 -12
  18. package/dist/{chunk-ROXPFQAM.js → chunk-MGHGIB7U.js} +25 -31
  19. package/dist/{chunk-FOK3JSQN.js → chunk-S4XQEAAF.js} +7 -4
  20. package/dist/{chunk-K6GMXJPW.js → chunk-UK63CULA.js} +7 -14
  21. package/dist/{chunk-LL6F3EAR.js → chunk-ZIXAWYZI.js} +1 -1
  22. package/dist/{client-B_3j-V4-.d.ts → client-DG_xZdlN.d.ts} +1 -1
  23. package/dist/client-exports.d.ts +14 -8
  24. package/dist/client-exports.js +10 -4
  25. package/dist/constants/models.d.ts +2 -0
  26. package/dist/constants/models.js +1 -1
  27. package/dist/constants/schema-validation/index.js +1 -1
  28. package/dist/credential-stores/index.d.ts +6 -6
  29. package/dist/credential-stores/index.js +1 -1
  30. package/dist/db/schema.d.ts +3 -4
  31. package/dist/db/schema.js +2 -2
  32. package/dist/db/test-client.d.ts +4 -5
  33. package/dist/db/test-client.js +1 -1
  34. package/dist/index.d.ts +379 -362
  35. package/dist/index.js +186 -125
  36. package/dist/{schema-DKbG39on.d.ts → schema-DA6PfmoP.d.ts} +83 -7
  37. package/dist/{server-BXoUiBMg.d.ts → server-BviIeoo5.d.ts} +1 -1
  38. package/dist/types/index.d.ts +3 -4
  39. package/dist/{utility-Lo5NoRHK.d.ts → utility-dsfXkYTu.d.ts} +1018 -366
  40. package/dist/utils/schema-conversion.d.ts +12 -2
  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/0002_puzzling_goblin_queen.sql +8 -0
  45. package/drizzle/0003_sweet_human_robot.sql +8 -0
  46. package/drizzle/0004_cuddly_shooting_star.sql +6 -0
  47. package/drizzle/0005_reflective_starfox.sql +9 -0
  48. package/drizzle/meta/0003_snapshot.json +3643 -0
  49. package/drizzle/meta/0005_snapshot.json +3693 -0
  50. package/drizzle/meta/_journal.json +28 -0
  51. package/package.json +9 -11
  52. package/dist/chunk-NFTJ5JBY.js +0 -82
@@ -1,7 +1,6 @@
1
- import { z as z$1 } from 'zod';
1
+ import { z } from '@hono/zod-openapi';
2
2
  import * as drizzle_zod from 'drizzle-zod';
3
3
  import * as drizzle_orm_pg_core from 'drizzle-orm/pg-core';
4
- import { z } from '@hono/zod-openapi';
5
4
 
6
5
  interface PartBase {
7
6
  metadata?: {
@@ -475,7 +474,7 @@ declare const SubAgentSelectSchema: drizzle_zod.BuildSchema<"select", {
475
474
  columnType: "PgText";
476
475
  data: string;
477
476
  driverParam: string;
478
- notNull: true;
477
+ notNull: false;
479
478
  hasDefault: false;
480
479
  isPrimaryKey: false;
481
480
  isAutoincrement: false;
@@ -598,7 +597,7 @@ declare const SubAgentSelectSchema: drizzle_zod.BuildSchema<"select", {
598
597
  columnType: "PgText";
599
598
  data: string;
600
599
  driverParam: string;
601
- notNull: true;
600
+ notNull: false;
602
601
  hasDefault: false;
603
602
  isPrimaryKey: false;
604
603
  isAutoincrement: false;
@@ -726,7 +725,7 @@ declare const SubAgentSelectSchema: drizzle_zod.BuildSchema<"select", {
726
725
  columnType: "PgText";
727
726
  data: string;
728
727
  driverParam: string;
729
- notNull: true;
728
+ notNull: false;
730
729
  hasDefault: false;
731
730
  isPrimaryKey: false;
732
731
  isAutoincrement: false;
@@ -849,7 +848,7 @@ declare const SubAgentSelectSchema: drizzle_zod.BuildSchema<"select", {
849
848
  columnType: "PgText";
850
849
  data: string;
851
850
  driverParam: string;
852
- notNull: true;
851
+ notNull: false;
853
852
  hasDefault: false;
854
853
  isPrimaryKey: false;
855
854
  isAutoincrement: false;
@@ -939,7 +938,7 @@ declare const SubAgentSelectSchema: drizzle_zod.BuildSchema<"select", {
939
938
  declare const SubAgentInsertSchema: z.ZodObject<{
940
939
  createdAt: z.ZodOptional<z.ZodString>;
941
940
  updatedAt: z.ZodOptional<z.ZodString>;
942
- prompt: z.ZodString;
941
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
943
942
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
944
943
  stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
945
944
  stepCountIs?: number | undefined;
@@ -951,7 +950,7 @@ declare const SubAgentInsertSchema: z.ZodObject<{
951
950
  stepCountIs?: number | undefined;
952
951
  }>>>>;
953
952
  name: z.ZodString;
954
- description: z.ZodString;
953
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
955
954
  agentId: z.ZodString;
956
955
  projectId: z.ZodString;
957
956
  tenantId: z.ZodString;
@@ -977,7 +976,7 @@ declare const SubAgentInsertSchema: z.ZodObject<{
977
976
  declare const SubAgentUpdateSchema: z.ZodObject<{
978
977
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
979
978
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
980
- prompt: z.ZodOptional<z.ZodString>;
979
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
981
980
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>;
982
981
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
983
982
  stepCountIs?: number | undefined;
@@ -989,7 +988,7 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
989
988
  stepCountIs?: number | undefined;
990
989
  }>>>>>;
991
990
  name: z.ZodOptional<z.ZodString>;
992
- description: z.ZodOptional<z.ZodString>;
991
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
993
992
  agentId: z.ZodOptional<z.ZodString>;
994
993
  projectId: z.ZodOptional<z.ZodString>;
995
994
  tenantId: z.ZodOptional<z.ZodString>;
@@ -1015,8 +1014,8 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
1015
1014
  declare const SubAgentApiSelectSchema: z.ZodObject<{
1016
1015
  id: z.ZodString;
1017
1016
  name: z.ZodString;
1018
- description: z.ZodString;
1019
- prompt: z.ZodString;
1017
+ description: z.ZodNullable<z.ZodString>;
1018
+ prompt: z.ZodNullable<z.ZodString>;
1020
1019
  createdAt: z.ZodString;
1021
1020
  updatedAt: z.ZodString;
1022
1021
  models: z.ZodNullable<z.ZodType<{
@@ -1086,8 +1085,8 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
1086
1085
  declare const SubAgentApiInsertSchema: z.ZodObject<{
1087
1086
  id: z.ZodString;
1088
1087
  name: z.ZodString;
1089
- description: z.ZodString;
1090
- prompt: z.ZodString;
1088
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1089
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1091
1090
  createdAt: z.ZodOptional<z.ZodString>;
1092
1091
  updatedAt: z.ZodOptional<z.ZodString>;
1093
1092
  models: z.ZodOptional<z.ZodObject<{
@@ -1118,8 +1117,8 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
1118
1117
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
1119
1118
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1120
1119
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1121
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1122
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1120
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
1121
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
1123
1122
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1124
1123
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1125
1124
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -3757,6 +3756,25 @@ declare const ToolSelectSchema: drizzle_zod.BuildSchema<"select", {
3757
3756
  }, {}, {
3758
3757
  length: 256;
3759
3758
  }>;
3759
+ credentialScope: drizzle_orm_pg_core.PgColumn<{
3760
+ name: "credential_scope";
3761
+ tableName: "tools";
3762
+ dataType: "string";
3763
+ columnType: "PgVarchar";
3764
+ data: string;
3765
+ driverParam: string;
3766
+ notNull: true;
3767
+ hasDefault: true;
3768
+ isPrimaryKey: false;
3769
+ isAutoincrement: false;
3770
+ hasRuntimeDefault: false;
3771
+ enumValues: [string, ...string[]];
3772
+ baseColumn: never;
3773
+ identity: undefined;
3774
+ generated: undefined;
3775
+ }, {}, {
3776
+ length: 50;
3777
+ }>;
3760
3778
  headers: drizzle_orm_pg_core.PgColumn<{
3761
3779
  name: "headers";
3762
3780
  tableName: "tools";
@@ -4001,6 +4019,25 @@ declare const ToolSelectSchema: drizzle_zod.BuildSchema<"select", {
4001
4019
  }, {}, {
4002
4020
  length: 256;
4003
4021
  }>;
4022
+ credentialScope: drizzle_orm_pg_core.PgColumn<{
4023
+ name: "credential_scope";
4024
+ tableName: "tools";
4025
+ dataType: "string";
4026
+ columnType: "PgVarchar";
4027
+ data: string;
4028
+ driverParam: string;
4029
+ notNull: true;
4030
+ hasDefault: true;
4031
+ isPrimaryKey: false;
4032
+ isAutoincrement: false;
4033
+ hasRuntimeDefault: false;
4034
+ enumValues: [string, ...string[]];
4035
+ baseColumn: never;
4036
+ identity: undefined;
4037
+ generated: undefined;
4038
+ }, {}, {
4039
+ length: 50;
4040
+ }>;
4004
4041
  headers: drizzle_orm_pg_core.PgColumn<{
4005
4042
  name: "headers";
4006
4043
  tableName: "tools";
@@ -4137,6 +4174,7 @@ declare const ToolInsertSchema: z.ZodObject<{
4137
4174
  name: z.ZodString;
4138
4175
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4139
4176
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4177
+ credentialScope: z.ZodOptional<z.ZodString>;
4140
4178
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
4141
4179
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
4142
4180
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4571,8 +4609,8 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
4571
4609
  title: z.ZodNullable<z.ZodString>;
4572
4610
  createdAt: z.ZodString;
4573
4611
  updatedAt: z.ZodString;
4574
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
4575
4612
  userId: z.ZodNullable<z.ZodString>;
4613
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
4576
4614
  activeSubAgentId: z.ZodString;
4577
4615
  lastContextResolution: z.ZodNullable<z.ZodString>;
4578
4616
  }, z.core.$strip>;
@@ -4581,9 +4619,9 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
4581
4619
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4582
4620
  createdAt: z.ZodOptional<z.ZodString>;
4583
4621
  updatedAt: z.ZodOptional<z.ZodString>;
4622
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4584
4623
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
4585
4624
  contextConfigId: z.ZodOptional<z.ZodString>;
4586
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4587
4625
  activeSubAgentId: z.ZodString;
4588
4626
  lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4589
4627
  }, z.core.$strip>;
@@ -4592,9 +4630,9 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
4592
4630
  title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4593
4631
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4594
4632
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4633
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4595
4634
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
4596
4635
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4597
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4598
4636
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4599
4637
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4600
4638
  }, z.core.$strip>;
@@ -5450,6 +5488,7 @@ declare const MessageApiSelectSchema: z.ZodObject<{
5450
5488
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
5451
5489
  content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5452
5490
  role: z.ZodString;
5491
+ taskId: z.ZodNullable<z.ZodString>;
5453
5492
  conversationId: z.ZodString;
5454
5493
  fromSubAgentId: z.ZodNullable<z.ZodString>;
5455
5494
  toSubAgentId: z.ZodNullable<z.ZodString>;
@@ -5459,7 +5498,6 @@ declare const MessageApiSelectSchema: z.ZodObject<{
5459
5498
  toTeamAgentId: z.ZodNullable<z.ZodString>;
5460
5499
  visibility: z.ZodString;
5461
5500
  messageType: z.ZodString;
5462
- taskId: z.ZodNullable<z.ZodString>;
5463
5501
  parentMessageId: z.ZodNullable<z.ZodString>;
5464
5502
  a2aTaskId: z.ZodNullable<z.ZodString>;
5465
5503
  a2aSessionId: z.ZodNullable<z.ZodString>;
@@ -5471,6 +5509,7 @@ declare const MessageApiInsertSchema: z.ZodObject<{
5471
5509
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
5472
5510
  content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5473
5511
  role: z.ZodString;
5512
+ taskId: z.ZodOptional<z.ZodString>;
5474
5513
  conversationId: z.ZodString;
5475
5514
  fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5476
5515
  toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5480,7 +5519,6 @@ declare const MessageApiInsertSchema: z.ZodObject<{
5480
5519
  toTeamAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5481
5520
  visibility: z.ZodOptional<z.ZodString>;
5482
5521
  messageType: z.ZodOptional<z.ZodString>;
5483
- taskId: z.ZodOptional<z.ZodString>;
5484
5522
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5485
5523
  a2aTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5486
5524
  a2aSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5492,6 +5530,7 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
5492
5530
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
5493
5531
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
5494
5532
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5533
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5495
5534
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5496
5535
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5497
5536
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5501,7 +5540,6 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
5501
5540
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5502
5541
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5503
5542
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5504
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5505
5543
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5506
5544
  a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5507
5545
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -6630,7 +6668,7 @@ declare const DataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
6630
6668
  columnType: "PgText";
6631
6669
  data: string;
6632
6670
  driverParam: string;
6633
- notNull: true;
6671
+ notNull: false;
6634
6672
  hasDefault: false;
6635
6673
  isPrimaryKey: false;
6636
6674
  isAutoincrement: false;
@@ -6802,7 +6840,7 @@ declare const DataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
6802
6840
  columnType: "PgText";
6803
6841
  data: string;
6804
6842
  driverParam: string;
6805
- notNull: true;
6843
+ notNull: false;
6806
6844
  hasDefault: false;
6807
6845
  isPrimaryKey: false;
6808
6846
  isAutoincrement: false;
@@ -6888,7 +6926,7 @@ declare const DataComponentInsertSchema: z.ZodObject<{
6888
6926
  mockData: Record<string, unknown>;
6889
6927
  }>>>>;
6890
6928
  name: z.ZodString;
6891
- description: z.ZodString;
6929
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6892
6930
  projectId: z.ZodString;
6893
6931
  tenantId: z.ZodString;
6894
6932
  id: z.ZodString;
@@ -6901,7 +6939,7 @@ declare const DataComponentBaseSchema: z.ZodObject<{
6901
6939
  projectId: z.ZodString;
6902
6940
  id: z.ZodString;
6903
6941
  name: z.ZodString;
6904
- description: z.ZodString;
6942
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6905
6943
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
6906
6944
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
6907
6945
  component: string;
@@ -6938,7 +6976,7 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
6938
6976
  mockData: Record<string, unknown>;
6939
6977
  }>>>>>;
6940
6978
  name: z.ZodOptional<z.ZodString>;
6941
- description: z.ZodOptional<z.ZodString>;
6979
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6942
6980
  projectId: z.ZodOptional<z.ZodString>;
6943
6981
  tenantId: z.ZodOptional<z.ZodString>;
6944
6982
  id: z.ZodOptional<z.ZodString>;
@@ -6949,7 +6987,7 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
6949
6987
  declare const DataComponentApiSelectSchema: z.ZodObject<{
6950
6988
  id: z.ZodString;
6951
6989
  name: z.ZodString;
6952
- description: z.ZodString;
6990
+ description: z.ZodNullable<z.ZodString>;
6953
6991
  createdAt: z.ZodString;
6954
6992
  updatedAt: z.ZodString;
6955
6993
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -6970,7 +7008,7 @@ declare const DataComponentApiSelectSchema: z.ZodObject<{
6970
7008
  declare const DataComponentApiInsertSchema: z.ZodObject<{
6971
7009
  id: z.ZodString;
6972
7010
  name: z.ZodString;
6973
- description: z.ZodString;
7011
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6974
7012
  createdAt: z.ZodOptional<z.ZodString>;
6975
7013
  updatedAt: z.ZodOptional<z.ZodString>;
6976
7014
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
@@ -6991,7 +7029,7 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
6991
7029
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
6992
7030
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6993
7031
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6994
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7032
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6995
7033
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6996
7034
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6997
7035
  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>>>>>>>;
@@ -7651,7 +7689,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
7651
7689
  columnType: "PgText";
7652
7690
  data: string;
7653
7691
  driverParam: string;
7654
- notNull: true;
7692
+ notNull: false;
7655
7693
  hasDefault: false;
7656
7694
  isPrimaryKey: false;
7657
7695
  isAutoincrement: false;
@@ -7798,7 +7836,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
7798
7836
  columnType: "PgText";
7799
7837
  data: string;
7800
7838
  driverParam: string;
7801
- notNull: true;
7839
+ notNull: false;
7802
7840
  hasDefault: false;
7803
7841
  isPrimaryKey: false;
7804
7842
  isAutoincrement: false;
@@ -7871,7 +7909,7 @@ declare const ArtifactComponentInsertSchema: z.ZodObject<{
7871
7909
  updatedAt: z.ZodOptional<z.ZodString>;
7872
7910
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
7873
7911
  name: z.ZodString;
7874
- description: z.ZodString;
7912
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7875
7913
  projectId: z.ZodString;
7876
7914
  tenantId: z.ZodString;
7877
7915
  id: z.ZodString;
@@ -7884,7 +7922,7 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
7884
7922
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7885
7923
  props: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
7886
7924
  name: z.ZodOptional<z.ZodString>;
7887
- description: z.ZodOptional<z.ZodString>;
7925
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7888
7926
  projectId: z.ZodOptional<z.ZodString>;
7889
7927
  tenantId: z.ZodOptional<z.ZodString>;
7890
7928
  id: z.ZodOptional<z.ZodString>;
@@ -7895,7 +7933,7 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
7895
7933
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
7896
7934
  id: z.ZodString;
7897
7935
  name: z.ZodString;
7898
- description: z.ZodString;
7936
+ description: z.ZodNullable<z.ZodString>;
7899
7937
  createdAt: z.ZodString;
7900
7938
  updatedAt: z.ZodString;
7901
7939
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -7903,7 +7941,7 @@ declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
7903
7941
  declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
7904
7942
  id: z.ZodString;
7905
7943
  name: z.ZodString;
7906
- description: z.ZodString;
7944
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7907
7945
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
7908
7946
  }, {
7909
7947
  out: {};
@@ -7912,7 +7950,7 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
7912
7950
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
7913
7951
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7914
7952
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7915
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7953
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7916
7954
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7917
7955
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7918
7956
  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>>>>>>>;
@@ -8231,7 +8269,7 @@ declare const ExternalAgentSelectSchema: z.ZodObject<{
8231
8269
  updatedAt: z.ZodString;
8232
8270
  baseUrl: z.ZodString;
8233
8271
  name: z.ZodString;
8234
- description: z.ZodString;
8272
+ description: z.ZodNullable<z.ZodString>;
8235
8273
  projectId: z.ZodString;
8236
8274
  tenantId: z.ZodString;
8237
8275
  id: z.ZodString;
@@ -8246,7 +8284,7 @@ declare const ExternalAgentInsertSchema: z.ZodObject<{
8246
8284
  baseUrl: z.ZodString;
8247
8285
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8248
8286
  name: z.ZodString;
8249
- description: z.ZodString;
8287
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8250
8288
  projectId: z.ZodString;
8251
8289
  tenantId: z.ZodString;
8252
8290
  id: z.ZodString;
@@ -8260,7 +8298,7 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
8260
8298
  baseUrl: z.ZodOptional<z.ZodString>;
8261
8299
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8262
8300
  name: z.ZodOptional<z.ZodString>;
8263
- description: z.ZodOptional<z.ZodString>;
8301
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8264
8302
  projectId: z.ZodOptional<z.ZodString>;
8265
8303
  tenantId: z.ZodOptional<z.ZodString>;
8266
8304
  id: z.ZodOptional<z.ZodString>;
@@ -8271,7 +8309,7 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
8271
8309
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
8272
8310
  id: z.ZodString;
8273
8311
  name: z.ZodString;
8274
- description: z.ZodString;
8312
+ description: z.ZodNullable<z.ZodString>;
8275
8313
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8276
8314
  createdAt: z.ZodString;
8277
8315
  updatedAt: z.ZodString;
@@ -8280,7 +8318,7 @@ declare const ExternalAgentApiSelectSchema: z.ZodObject<{
8280
8318
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
8281
8319
  id: z.ZodString;
8282
8320
  name: z.ZodString;
8283
- description: z.ZodString;
8321
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8284
8322
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8285
8323
  createdAt: z.ZodOptional<z.ZodString>;
8286
8324
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -8289,7 +8327,7 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<{
8289
8327
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
8290
8328
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8291
8329
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8292
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8330
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8293
8331
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8294
8332
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8295
8333
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -8298,8 +8336,8 @@ declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
8298
8336
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8299
8337
  id: z.ZodString;
8300
8338
  name: z.ZodString;
8301
- description: z.ZodString;
8302
- prompt: z.ZodString;
8339
+ description: z.ZodNullable<z.ZodString>;
8340
+ prompt: z.ZodNullable<z.ZodString>;
8303
8341
  createdAt: z.ZodString;
8304
8342
  updatedAt: z.ZodString;
8305
8343
  models: z.ZodNullable<z.ZodType<{
@@ -8369,7 +8407,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8369
8407
  }, z.core.$strip>, z.ZodObject<{
8370
8408
  id: z.ZodString;
8371
8409
  name: z.ZodString;
8372
- description: z.ZodString;
8410
+ description: z.ZodNullable<z.ZodString>;
8373
8411
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8374
8412
  createdAt: z.ZodString;
8375
8413
  updatedAt: z.ZodString;
@@ -8899,102 +8937,551 @@ declare const ApiKeyApiUpdateSchema: z.ZodObject<{
8899
8937
  out: {};
8900
8938
  in: {};
8901
8939
  }>;
8902
- declare const CredentialReferenceSelectSchema: z.ZodObject<{
8903
- id: z.ZodString;
8904
- tenantId: z.ZodString;
8905
- projectId: z.ZodString;
8906
- name: z.ZodString;
8907
- type: z.ZodString;
8908
- credentialStoreId: z.ZodString;
8909
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8910
- createdAt: z.ZodString;
8911
- updatedAt: z.ZodString;
8912
- }, z.core.$strip>;
8913
- declare const CredentialReferenceInsertSchema: z.ZodObject<{
8914
- createdAt: z.ZodOptional<z.ZodString>;
8915
- updatedAt: z.ZodOptional<z.ZodString>;
8916
- name: z.ZodString;
8917
- projectId: z.ZodString;
8918
- tenantId: z.ZodString;
8919
- id: z.ZodString;
8920
- type: z.ZodString;
8921
- credentialStoreId: z.ZodString;
8922
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8923
- }, {
8924
- out: {};
8925
- in: {};
8926
- }>;
8927
- declare const CredentialReferenceUpdateSchema: z.ZodObject<{
8928
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8929
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8930
- name: z.ZodOptional<z.ZodString>;
8931
- projectId: z.ZodOptional<z.ZodString>;
8932
- tenantId: z.ZodOptional<z.ZodString>;
8933
- id: z.ZodOptional<z.ZodString>;
8934
- type: z.ZodOptional<z.ZodString>;
8935
- credentialStoreId: z.ZodOptional<z.ZodString>;
8936
- retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
8937
- }, {
8938
- out: {};
8939
- in: {};
8940
- }>;
8941
- declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
8942
- id: z.ZodString;
8943
- name: z.ZodString;
8944
- createdAt: z.ZodString;
8945
- updatedAt: z.ZodString;
8946
- credentialStoreId: z.ZodString;
8947
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8948
- type: z.ZodEnum<{
8949
- readonly memory: "memory";
8950
- readonly keychain: "keychain";
8951
- readonly nango: "nango";
8940
+ declare const CredentialReferenceSelectSchema: drizzle_zod.BuildSchema<"select", {
8941
+ createdAt: drizzle_orm_pg_core.PgColumn<{
8942
+ name: "created_at";
8943
+ tableName: "credential_references";
8944
+ dataType: "string";
8945
+ columnType: "PgTimestampString";
8946
+ data: string;
8947
+ driverParam: string;
8948
+ notNull: true;
8949
+ hasDefault: true;
8950
+ isPrimaryKey: false;
8951
+ isAutoincrement: false;
8952
+ hasRuntimeDefault: false;
8953
+ enumValues: undefined;
8954
+ baseColumn: never;
8955
+ identity: undefined;
8956
+ generated: undefined;
8957
+ }, {}, {}>;
8958
+ updatedAt: drizzle_orm_pg_core.PgColumn<{
8959
+ name: "updated_at";
8960
+ tableName: "credential_references";
8961
+ dataType: "string";
8962
+ columnType: "PgTimestampString";
8963
+ data: string;
8964
+ driverParam: string;
8965
+ notNull: true;
8966
+ hasDefault: true;
8967
+ isPrimaryKey: false;
8968
+ isAutoincrement: false;
8969
+ hasRuntimeDefault: false;
8970
+ enumValues: undefined;
8971
+ baseColumn: never;
8972
+ identity: undefined;
8973
+ generated: undefined;
8974
+ }, {}, {}>;
8975
+ name: drizzle_orm_pg_core.PgColumn<{
8976
+ name: "name";
8977
+ tableName: "credential_references";
8978
+ dataType: "string";
8979
+ columnType: "PgVarchar";
8980
+ data: string;
8981
+ driverParam: string;
8982
+ notNull: true;
8983
+ hasDefault: false;
8984
+ isPrimaryKey: false;
8985
+ isAutoincrement: false;
8986
+ hasRuntimeDefault: false;
8987
+ enumValues: [string, ...string[]];
8988
+ baseColumn: never;
8989
+ identity: undefined;
8990
+ generated: undefined;
8991
+ }, {}, {
8992
+ length: 256;
8952
8993
  }>;
8953
- tools: z.ZodOptional<z.ZodArray<drizzle_zod.BuildSchema<"select", {
8954
- createdAt: drizzle_orm_pg_core.PgColumn<{
8955
- name: "created_at";
8956
- tableName: "tools";
8957
- dataType: "string";
8958
- columnType: "PgTimestampString";
8959
- data: string;
8960
- driverParam: string;
8961
- notNull: true;
8962
- hasDefault: true;
8963
- isPrimaryKey: false;
8964
- isAutoincrement: false;
8965
- hasRuntimeDefault: false;
8966
- enumValues: undefined;
8967
- baseColumn: never;
8968
- identity: undefined;
8969
- generated: undefined;
8970
- }, {}, {}>;
8971
- updatedAt: drizzle_orm_pg_core.PgColumn<{
8972
- name: "updated_at";
8973
- tableName: "tools";
8974
- dataType: "string";
8975
- columnType: "PgTimestampString";
8976
- data: string;
8977
- driverParam: string;
8978
- notNull: true;
8979
- hasDefault: true;
8980
- isPrimaryKey: false;
8981
- isAutoincrement: false;
8982
- hasRuntimeDefault: false;
8983
- enumValues: undefined;
8984
- baseColumn: never;
8985
- identity: undefined;
8986
- generated: undefined;
8987
- }, {}, {}>;
8988
- name: drizzle_orm_pg_core.PgColumn<{
8989
- name: "name";
8990
- tableName: "tools";
8991
- dataType: "string";
8992
- columnType: "PgVarchar";
8993
- data: string;
8994
- driverParam: string;
8995
- notNull: true;
8996
- hasDefault: false;
8997
- isPrimaryKey: false;
8994
+ type: drizzle_orm_pg_core.PgColumn<{
8995
+ name: "type";
8996
+ tableName: "credential_references";
8997
+ dataType: "string";
8998
+ columnType: "PgVarchar";
8999
+ data: string;
9000
+ driverParam: string;
9001
+ notNull: true;
9002
+ hasDefault: false;
9003
+ isPrimaryKey: false;
9004
+ isAutoincrement: false;
9005
+ hasRuntimeDefault: false;
9006
+ enumValues: [string, ...string[]];
9007
+ baseColumn: never;
9008
+ identity: undefined;
9009
+ generated: undefined;
9010
+ }, {}, {
9011
+ length: 256;
9012
+ }>;
9013
+ credentialStoreId: drizzle_orm_pg_core.PgColumn<{
9014
+ name: "credential_store_id";
9015
+ tableName: "credential_references";
9016
+ dataType: "string";
9017
+ columnType: "PgVarchar";
9018
+ data: string;
9019
+ driverParam: string;
9020
+ notNull: true;
9021
+ hasDefault: false;
9022
+ isPrimaryKey: false;
9023
+ isAutoincrement: false;
9024
+ hasRuntimeDefault: false;
9025
+ enumValues: [string, ...string[]];
9026
+ baseColumn: never;
9027
+ identity: undefined;
9028
+ generated: undefined;
9029
+ }, {}, {
9030
+ length: 256;
9031
+ }>;
9032
+ retrievalParams: drizzle_orm_pg_core.PgColumn<{
9033
+ name: "retrieval_params";
9034
+ tableName: "credential_references";
9035
+ dataType: "json";
9036
+ columnType: "PgJsonb";
9037
+ data: Record<string, unknown>;
9038
+ driverParam: unknown;
9039
+ notNull: false;
9040
+ hasDefault: false;
9041
+ isPrimaryKey: false;
9042
+ isAutoincrement: false;
9043
+ hasRuntimeDefault: false;
9044
+ enumValues: undefined;
9045
+ baseColumn: never;
9046
+ identity: undefined;
9047
+ generated: undefined;
9048
+ }, {}, {
9049
+ $type: Record<string, unknown>;
9050
+ }>;
9051
+ toolId: drizzle_orm_pg_core.PgColumn<{
9052
+ name: "tool_id";
9053
+ tableName: "credential_references";
9054
+ dataType: "string";
9055
+ columnType: "PgVarchar";
9056
+ data: string;
9057
+ driverParam: string;
9058
+ notNull: false;
9059
+ hasDefault: false;
9060
+ isPrimaryKey: false;
9061
+ isAutoincrement: false;
9062
+ hasRuntimeDefault: false;
9063
+ enumValues: [string, ...string[]];
9064
+ baseColumn: never;
9065
+ identity: undefined;
9066
+ generated: undefined;
9067
+ }, {}, {
9068
+ length: 256;
9069
+ }>;
9070
+ userId: drizzle_orm_pg_core.PgColumn<{
9071
+ name: "user_id";
9072
+ tableName: "credential_references";
9073
+ dataType: "string";
9074
+ columnType: "PgVarchar";
9075
+ data: string;
9076
+ driverParam: string;
9077
+ notNull: false;
9078
+ hasDefault: false;
9079
+ isPrimaryKey: false;
9080
+ isAutoincrement: false;
9081
+ hasRuntimeDefault: false;
9082
+ enumValues: [string, ...string[]];
9083
+ baseColumn: never;
9084
+ identity: undefined;
9085
+ generated: undefined;
9086
+ }, {}, {
9087
+ length: 256;
9088
+ }>;
9089
+ createdBy: drizzle_orm_pg_core.PgColumn<{
9090
+ name: "created_by";
9091
+ tableName: "credential_references";
9092
+ dataType: "string";
9093
+ columnType: "PgVarchar";
9094
+ data: string;
9095
+ driverParam: string;
9096
+ notNull: false;
9097
+ hasDefault: false;
9098
+ isPrimaryKey: false;
9099
+ isAutoincrement: false;
9100
+ hasRuntimeDefault: false;
9101
+ enumValues: [string, ...string[]];
9102
+ baseColumn: never;
9103
+ identity: undefined;
9104
+ generated: undefined;
9105
+ }, {}, {
9106
+ length: 256;
9107
+ }>;
9108
+ projectId: drizzle_orm_pg_core.PgColumn<{
9109
+ name: "project_id";
9110
+ tableName: "credential_references";
9111
+ dataType: "string";
9112
+ columnType: "PgVarchar";
9113
+ data: string;
9114
+ driverParam: string;
9115
+ notNull: true;
9116
+ hasDefault: false;
9117
+ isPrimaryKey: false;
9118
+ isAutoincrement: false;
9119
+ hasRuntimeDefault: false;
9120
+ enumValues: [string, ...string[]];
9121
+ baseColumn: never;
9122
+ identity: undefined;
9123
+ generated: undefined;
9124
+ }, {}, {
9125
+ length: 256;
9126
+ }>;
9127
+ tenantId: drizzle_orm_pg_core.PgColumn<{
9128
+ name: "tenant_id";
9129
+ tableName: "credential_references";
9130
+ dataType: "string";
9131
+ columnType: "PgVarchar";
9132
+ data: string;
9133
+ driverParam: string;
9134
+ notNull: true;
9135
+ hasDefault: false;
9136
+ isPrimaryKey: false;
9137
+ isAutoincrement: false;
9138
+ hasRuntimeDefault: false;
9139
+ enumValues: [string, ...string[]];
9140
+ baseColumn: never;
9141
+ identity: undefined;
9142
+ generated: undefined;
9143
+ }, {}, {
9144
+ length: 256;
9145
+ }>;
9146
+ id: drizzle_orm_pg_core.PgColumn<{
9147
+ name: "id";
9148
+ tableName: "credential_references";
9149
+ dataType: "string";
9150
+ columnType: "PgVarchar";
9151
+ data: string;
9152
+ driverParam: string;
9153
+ notNull: true;
9154
+ hasDefault: false;
9155
+ isPrimaryKey: false;
9156
+ isAutoincrement: false;
9157
+ hasRuntimeDefault: false;
9158
+ enumValues: [string, ...string[]];
9159
+ baseColumn: never;
9160
+ identity: undefined;
9161
+ generated: undefined;
9162
+ }, {}, {
9163
+ length: 256;
9164
+ }>;
9165
+ }, drizzle_zod.BuildRefine<{
9166
+ createdAt: drizzle_orm_pg_core.PgColumn<{
9167
+ name: "created_at";
9168
+ tableName: "credential_references";
9169
+ dataType: "string";
9170
+ columnType: "PgTimestampString";
9171
+ data: string;
9172
+ driverParam: string;
9173
+ notNull: true;
9174
+ hasDefault: true;
9175
+ isPrimaryKey: false;
9176
+ isAutoincrement: false;
9177
+ hasRuntimeDefault: false;
9178
+ enumValues: undefined;
9179
+ baseColumn: never;
9180
+ identity: undefined;
9181
+ generated: undefined;
9182
+ }, {}, {}>;
9183
+ updatedAt: drizzle_orm_pg_core.PgColumn<{
9184
+ name: "updated_at";
9185
+ tableName: "credential_references";
9186
+ dataType: "string";
9187
+ columnType: "PgTimestampString";
9188
+ data: string;
9189
+ driverParam: string;
9190
+ notNull: true;
9191
+ hasDefault: true;
9192
+ isPrimaryKey: false;
9193
+ isAutoincrement: false;
9194
+ hasRuntimeDefault: false;
9195
+ enumValues: undefined;
9196
+ baseColumn: never;
9197
+ identity: undefined;
9198
+ generated: undefined;
9199
+ }, {}, {}>;
9200
+ name: drizzle_orm_pg_core.PgColumn<{
9201
+ name: "name";
9202
+ tableName: "credential_references";
9203
+ dataType: "string";
9204
+ columnType: "PgVarchar";
9205
+ data: string;
9206
+ driverParam: string;
9207
+ notNull: true;
9208
+ hasDefault: false;
9209
+ isPrimaryKey: false;
9210
+ isAutoincrement: false;
9211
+ hasRuntimeDefault: false;
9212
+ enumValues: [string, ...string[]];
9213
+ baseColumn: never;
9214
+ identity: undefined;
9215
+ generated: undefined;
9216
+ }, {}, {
9217
+ length: 256;
9218
+ }>;
9219
+ type: drizzle_orm_pg_core.PgColumn<{
9220
+ name: "type";
9221
+ tableName: "credential_references";
9222
+ dataType: "string";
9223
+ columnType: "PgVarchar";
9224
+ data: string;
9225
+ driverParam: string;
9226
+ notNull: true;
9227
+ hasDefault: false;
9228
+ isPrimaryKey: false;
9229
+ isAutoincrement: false;
9230
+ hasRuntimeDefault: false;
9231
+ enumValues: [string, ...string[]];
9232
+ baseColumn: never;
9233
+ identity: undefined;
9234
+ generated: undefined;
9235
+ }, {}, {
9236
+ length: 256;
9237
+ }>;
9238
+ credentialStoreId: drizzle_orm_pg_core.PgColumn<{
9239
+ name: "credential_store_id";
9240
+ tableName: "credential_references";
9241
+ dataType: "string";
9242
+ columnType: "PgVarchar";
9243
+ data: string;
9244
+ driverParam: string;
9245
+ notNull: true;
9246
+ hasDefault: false;
9247
+ isPrimaryKey: false;
9248
+ isAutoincrement: false;
9249
+ hasRuntimeDefault: false;
9250
+ enumValues: [string, ...string[]];
9251
+ baseColumn: never;
9252
+ identity: undefined;
9253
+ generated: undefined;
9254
+ }, {}, {
9255
+ length: 256;
9256
+ }>;
9257
+ retrievalParams: drizzle_orm_pg_core.PgColumn<{
9258
+ name: "retrieval_params";
9259
+ tableName: "credential_references";
9260
+ dataType: "json";
9261
+ columnType: "PgJsonb";
9262
+ data: Record<string, unknown>;
9263
+ driverParam: unknown;
9264
+ notNull: false;
9265
+ hasDefault: false;
9266
+ isPrimaryKey: false;
9267
+ isAutoincrement: false;
9268
+ hasRuntimeDefault: false;
9269
+ enumValues: undefined;
9270
+ baseColumn: never;
9271
+ identity: undefined;
9272
+ generated: undefined;
9273
+ }, {}, {
9274
+ $type: Record<string, unknown>;
9275
+ }>;
9276
+ toolId: drizzle_orm_pg_core.PgColumn<{
9277
+ name: "tool_id";
9278
+ tableName: "credential_references";
9279
+ dataType: "string";
9280
+ columnType: "PgVarchar";
9281
+ data: string;
9282
+ driverParam: string;
9283
+ notNull: false;
9284
+ hasDefault: false;
9285
+ isPrimaryKey: false;
9286
+ isAutoincrement: false;
9287
+ hasRuntimeDefault: false;
9288
+ enumValues: [string, ...string[]];
9289
+ baseColumn: never;
9290
+ identity: undefined;
9291
+ generated: undefined;
9292
+ }, {}, {
9293
+ length: 256;
9294
+ }>;
9295
+ userId: drizzle_orm_pg_core.PgColumn<{
9296
+ name: "user_id";
9297
+ tableName: "credential_references";
9298
+ dataType: "string";
9299
+ columnType: "PgVarchar";
9300
+ data: string;
9301
+ driverParam: string;
9302
+ notNull: false;
9303
+ hasDefault: false;
9304
+ isPrimaryKey: false;
9305
+ isAutoincrement: false;
9306
+ hasRuntimeDefault: false;
9307
+ enumValues: [string, ...string[]];
9308
+ baseColumn: never;
9309
+ identity: undefined;
9310
+ generated: undefined;
9311
+ }, {}, {
9312
+ length: 256;
9313
+ }>;
9314
+ createdBy: drizzle_orm_pg_core.PgColumn<{
9315
+ name: "created_by";
9316
+ tableName: "credential_references";
9317
+ dataType: "string";
9318
+ columnType: "PgVarchar";
9319
+ data: string;
9320
+ driverParam: string;
9321
+ notNull: false;
9322
+ hasDefault: false;
9323
+ isPrimaryKey: false;
9324
+ isAutoincrement: false;
9325
+ hasRuntimeDefault: false;
9326
+ enumValues: [string, ...string[]];
9327
+ baseColumn: never;
9328
+ identity: undefined;
9329
+ generated: undefined;
9330
+ }, {}, {
9331
+ length: 256;
9332
+ }>;
9333
+ projectId: drizzle_orm_pg_core.PgColumn<{
9334
+ name: "project_id";
9335
+ tableName: "credential_references";
9336
+ dataType: "string";
9337
+ columnType: "PgVarchar";
9338
+ data: string;
9339
+ driverParam: string;
9340
+ notNull: true;
9341
+ hasDefault: false;
9342
+ isPrimaryKey: false;
9343
+ isAutoincrement: false;
9344
+ hasRuntimeDefault: false;
9345
+ enumValues: [string, ...string[]];
9346
+ baseColumn: never;
9347
+ identity: undefined;
9348
+ generated: undefined;
9349
+ }, {}, {
9350
+ length: 256;
9351
+ }>;
9352
+ tenantId: drizzle_orm_pg_core.PgColumn<{
9353
+ name: "tenant_id";
9354
+ tableName: "credential_references";
9355
+ dataType: "string";
9356
+ columnType: "PgVarchar";
9357
+ data: string;
9358
+ driverParam: string;
9359
+ notNull: true;
9360
+ hasDefault: false;
9361
+ isPrimaryKey: false;
9362
+ isAutoincrement: false;
9363
+ hasRuntimeDefault: false;
9364
+ enumValues: [string, ...string[]];
9365
+ baseColumn: never;
9366
+ identity: undefined;
9367
+ generated: undefined;
9368
+ }, {}, {
9369
+ length: 256;
9370
+ }>;
9371
+ id: drizzle_orm_pg_core.PgColumn<{
9372
+ name: "id";
9373
+ tableName: "credential_references";
9374
+ dataType: "string";
9375
+ columnType: "PgVarchar";
9376
+ data: string;
9377
+ driverParam: string;
9378
+ notNull: true;
9379
+ hasDefault: false;
9380
+ isPrimaryKey: false;
9381
+ isAutoincrement: false;
9382
+ hasRuntimeDefault: false;
9383
+ enumValues: [string, ...string[]];
9384
+ baseColumn: never;
9385
+ identity: undefined;
9386
+ generated: undefined;
9387
+ }, {}, {
9388
+ length: 256;
9389
+ }>;
9390
+ }, undefined>, undefined>;
9391
+ declare const CredentialReferenceInsertSchema: z.ZodObject<{
9392
+ createdAt: z.ZodOptional<z.ZodString>;
9393
+ updatedAt: z.ZodOptional<z.ZodString>;
9394
+ name: z.ZodString;
9395
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9396
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9397
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9398
+ projectId: z.ZodString;
9399
+ tenantId: z.ZodString;
9400
+ id: z.ZodString;
9401
+ type: z.ZodString;
9402
+ credentialStoreId: z.ZodString;
9403
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9404
+ }, {
9405
+ out: {};
9406
+ in: {};
9407
+ }>;
9408
+ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
9409
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9410
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9411
+ name: z.ZodOptional<z.ZodString>;
9412
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9413
+ userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9414
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9415
+ projectId: z.ZodOptional<z.ZodString>;
9416
+ tenantId: z.ZodOptional<z.ZodString>;
9417
+ id: z.ZodOptional<z.ZodString>;
9418
+ type: z.ZodOptional<z.ZodString>;
9419
+ credentialStoreId: z.ZodOptional<z.ZodString>;
9420
+ retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
9421
+ }, {
9422
+ out: {};
9423
+ in: {};
9424
+ }>;
9425
+ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
9426
+ id: z.ZodString;
9427
+ name: z.ZodString;
9428
+ createdAt: z.ZodString;
9429
+ updatedAt: z.ZodString;
9430
+ credentialStoreId: z.ZodString;
9431
+ retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9432
+ userId: z.ZodNullable<z.ZodString>;
9433
+ toolId: z.ZodNullable<z.ZodString>;
9434
+ createdBy: z.ZodNullable<z.ZodString>;
9435
+ type: z.ZodEnum<{
9436
+ readonly memory: "memory";
9437
+ readonly keychain: "keychain";
9438
+ readonly nango: "nango";
9439
+ }>;
9440
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod.BuildSchema<"select", {
9441
+ createdAt: drizzle_orm_pg_core.PgColumn<{
9442
+ name: "created_at";
9443
+ tableName: "tools";
9444
+ dataType: "string";
9445
+ columnType: "PgTimestampString";
9446
+ data: string;
9447
+ driverParam: string;
9448
+ notNull: true;
9449
+ hasDefault: true;
9450
+ isPrimaryKey: false;
9451
+ isAutoincrement: false;
9452
+ hasRuntimeDefault: false;
9453
+ enumValues: undefined;
9454
+ baseColumn: never;
9455
+ identity: undefined;
9456
+ generated: undefined;
9457
+ }, {}, {}>;
9458
+ updatedAt: drizzle_orm_pg_core.PgColumn<{
9459
+ name: "updated_at";
9460
+ tableName: "tools";
9461
+ dataType: "string";
9462
+ columnType: "PgTimestampString";
9463
+ data: string;
9464
+ driverParam: string;
9465
+ notNull: true;
9466
+ hasDefault: true;
9467
+ isPrimaryKey: false;
9468
+ isAutoincrement: false;
9469
+ hasRuntimeDefault: false;
9470
+ enumValues: undefined;
9471
+ baseColumn: never;
9472
+ identity: undefined;
9473
+ generated: undefined;
9474
+ }, {}, {}>;
9475
+ name: drizzle_orm_pg_core.PgColumn<{
9476
+ name: "name";
9477
+ tableName: "tools";
9478
+ dataType: "string";
9479
+ columnType: "PgVarchar";
9480
+ data: string;
9481
+ driverParam: string;
9482
+ notNull: true;
9483
+ hasDefault: false;
9484
+ isPrimaryKey: false;
8998
9485
  isAutoincrement: false;
8999
9486
  hasRuntimeDefault: false;
9000
9487
  enumValues: [string, ...string[]];
@@ -9065,6 +9552,25 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
9065
9552
  }, {}, {
9066
9553
  length: 256;
9067
9554
  }>;
9555
+ credentialScope: drizzle_orm_pg_core.PgColumn<{
9556
+ name: "credential_scope";
9557
+ tableName: "tools";
9558
+ dataType: "string";
9559
+ columnType: "PgVarchar";
9560
+ data: string;
9561
+ driverParam: string;
9562
+ notNull: true;
9563
+ hasDefault: true;
9564
+ isPrimaryKey: false;
9565
+ isAutoincrement: false;
9566
+ hasRuntimeDefault: false;
9567
+ enumValues: [string, ...string[]];
9568
+ baseColumn: never;
9569
+ identity: undefined;
9570
+ generated: undefined;
9571
+ }, {}, {
9572
+ length: 50;
9573
+ }>;
9068
9574
  headers: drizzle_orm_pg_core.PgColumn<{
9069
9575
  name: "headers";
9070
9576
  tableName: "tools";
@@ -9309,6 +9815,25 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
9309
9815
  }, {}, {
9310
9816
  length: 256;
9311
9817
  }>;
9818
+ credentialScope: drizzle_orm_pg_core.PgColumn<{
9819
+ name: "credential_scope";
9820
+ tableName: "tools";
9821
+ dataType: "string";
9822
+ columnType: "PgVarchar";
9823
+ data: string;
9824
+ driverParam: string;
9825
+ notNull: true;
9826
+ hasDefault: true;
9827
+ isPrimaryKey: false;
9828
+ isAutoincrement: false;
9829
+ hasRuntimeDefault: false;
9830
+ enumValues: [string, ...string[]];
9831
+ baseColumn: never;
9832
+ identity: undefined;
9833
+ generated: undefined;
9834
+ }, {}, {
9835
+ length: 50;
9836
+ }>;
9312
9837
  headers: drizzle_orm_pg_core.PgColumn<{
9313
9838
  name: "headers";
9314
9839
  tableName: "tools";
@@ -9444,7 +9969,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
9444
9969
  updatedAt: z.ZodString;
9445
9970
  baseUrl: z.ZodString;
9446
9971
  name: z.ZodString;
9447
- description: z.ZodString;
9972
+ description: z.ZodNullable<z.ZodString>;
9448
9973
  projectId: z.ZodString;
9449
9974
  tenantId: z.ZodString;
9450
9975
  id: z.ZodString;
@@ -9461,6 +9986,9 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
9461
9986
  updatedAt: z.ZodOptional<z.ZodString>;
9462
9987
  credentialStoreId: z.ZodString;
9463
9988
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9989
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9990
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9991
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9464
9992
  type: z.ZodEnum<{
9465
9993
  readonly memory: "memory";
9466
9994
  readonly keychain: "keychain";
@@ -9474,6 +10002,9 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
9474
10002
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9475
10003
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9476
10004
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
10005
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10006
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10007
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9477
10008
  type: z.ZodOptional<z.ZodEnum<{
9478
10009
  readonly memory: "memory";
9479
10010
  readonly keychain: "keychain";
@@ -9517,7 +10048,7 @@ declare const CreateCredentialInStoreResponseSchema: z.ZodObject<{
9517
10048
  declare const RelatedAgentInfoSchema: z.ZodObject<{
9518
10049
  id: z.ZodString;
9519
10050
  name: z.ZodString;
9520
- description: z.ZodString;
10051
+ description: z.ZodNullable<z.ZodString>;
9521
10052
  }, z.core.$strip>;
9522
10053
  declare const ComponentAssociationSchema: z.ZodObject<{
9523
10054
  subAgentId: z.ZodString;
@@ -9540,6 +10071,7 @@ declare const McpToolSchema: z.ZodObject<{
9540
10071
  name: z.ZodString;
9541
10072
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9542
10073
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10074
+ credentialScope: z.ZodOptional<z.ZodString>;
9543
10075
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9544
10076
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
9545
10077
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9579,6 +10111,7 @@ declare const McpToolSchema: z.ZodObject<{
9579
10111
  }>>;
9580
10112
  version: z.ZodOptional<z.ZodString>;
9581
10113
  expiresAt: z.ZodOptional<z.ZodString>;
10114
+ createdBy: z.ZodOptional<z.ZodString>;
9582
10115
  relationshipId: z.ZodOptional<z.ZodString>;
9583
10116
  }, {
9584
10117
  out: {};
@@ -9588,8 +10121,10 @@ declare const MCPToolConfigSchema: z.ZodObject<{
9588
10121
  id: z.ZodString;
9589
10122
  name: z.ZodString;
9590
10123
  expiresAt: z.ZodOptional<z.ZodString>;
10124
+ createdBy: z.ZodOptional<z.ZodString>;
9591
10125
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9592
10126
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
10127
+ credentialScope: z.ZodOptional<z.ZodString>;
9593
10128
  imageUrl: z.ZodOptional<z.ZodString>;
9594
10129
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9595
10130
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -9624,6 +10159,9 @@ declare const MCPToolConfigSchema: z.ZodObject<{
9624
10159
  updatedAt: z.ZodOptional<z.ZodString>;
9625
10160
  credentialStoreId: z.ZodString;
9626
10161
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10162
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10163
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10164
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9627
10165
  type: z.ZodEnum<{
9628
10166
  readonly memory: "memory";
9629
10167
  readonly keychain: "keychain";
@@ -9640,6 +10178,7 @@ declare const ToolUpdateSchema: z.ZodObject<{
9640
10178
  name: z.ZodOptional<z.ZodString>;
9641
10179
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9642
10180
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
10181
+ credentialScope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9643
10182
  headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
9644
10183
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>;
9645
10184
  lastError: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -9692,6 +10231,7 @@ declare const ToolApiSelectSchema: z.ZodObject<{
9692
10231
  updatedAt: z.ZodString;
9693
10232
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9694
10233
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
10234
+ credentialScope: z.ZodString;
9695
10235
  imageUrl: z.ZodNullable<z.ZodString>;
9696
10236
  lastError: z.ZodNullable<z.ZodString>;
9697
10237
  }, z.core.$strip>;
@@ -9723,6 +10263,7 @@ declare const ToolApiInsertSchema: z.ZodObject<{
9723
10263
  updatedAt: z.ZodOptional<z.ZodString>;
9724
10264
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9725
10265
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
10266
+ credentialScope: z.ZodOptional<z.ZodString>;
9726
10267
  imageUrl: z.ZodOptional<z.ZodString>;
9727
10268
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9728
10269
  }, z.core.$strip>;
@@ -9754,6 +10295,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
9754
10295
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9755
10296
  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
10297
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
10298
+ credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9757
10299
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9758
10300
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9759
10301
  }, z.core.$strip>;
@@ -10501,6 +11043,7 @@ declare const FetchConfigSchema: z.ZodObject<{
10501
11043
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
10502
11044
  body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10503
11045
  transform: z.ZodOptional<z.ZodString>;
11046
+ requiredToFetch: z.ZodOptional<z.ZodArray<z.ZodString>>;
10504
11047
  timeout: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
10505
11048
  }, z.core.$strip>;
10506
11049
  declare const FetchDefinitionSchema: z.ZodObject<{
@@ -10522,6 +11065,7 @@ declare const FetchDefinitionSchema: z.ZodObject<{
10522
11065
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
10523
11066
  body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10524
11067
  transform: z.ZodOptional<z.ZodString>;
11068
+ requiredToFetch: z.ZodOptional<z.ZodArray<z.ZodString>>;
10525
11069
  timeout: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
10526
11070
  }, z.core.$strip>;
10527
11071
  responseSchema: z.ZodOptional<z.ZodAny>;
@@ -10533,6 +11077,9 @@ declare const FetchDefinitionSchema: z.ZodObject<{
10533
11077
  updatedAt: z.ZodOptional<z.ZodString>;
10534
11078
  credentialStoreId: z.ZodString;
10535
11079
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
11080
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11081
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11082
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10536
11083
  type: z.ZodEnum<{
10537
11084
  readonly memory: "memory";
10538
11085
  readonly keychain: "keychain";
@@ -11053,8 +11600,8 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
11053
11600
  id: z.ZodString;
11054
11601
  createdAt: z.ZodString;
11055
11602
  updatedAt: z.ZodString;
11056
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11057
11603
  toolId: z.ZodString;
11604
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11058
11605
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11059
11606
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11060
11607
  subAgentId: z.ZodString;
@@ -11063,8 +11610,8 @@ declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
11063
11610
  id: z.ZodString;
11064
11611
  createdAt: z.ZodOptional<z.ZodString>;
11065
11612
  updatedAt: z.ZodOptional<z.ZodString>;
11066
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11067
11613
  toolId: z.ZodString;
11614
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11068
11615
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
11069
11616
  needsApproval: z.ZodOptional<z.ZodBoolean>;
11070
11617
  }, z.core.$strip>>>>;
@@ -11075,8 +11622,8 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
11075
11622
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11076
11623
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11077
11624
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11078
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11079
11625
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11626
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11080
11627
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
11081
11628
  needsApproval: z.ZodOptional<z.ZodBoolean>;
11082
11629
  }, z.core.$strip>>>>>>;
@@ -13198,7 +13745,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod.BuildSchema<"insert", {
13198
13745
  }, {}, {
13199
13746
  length: 256;
13200
13747
  }>;
13201
- }, "tenantId" | "projectId" | "id" | "type" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
13748
+ }, "tenantId" | "projectId" | "id" | "type" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
13202
13749
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13203
13750
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13204
13751
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -13230,9 +13777,9 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
13230
13777
  createdAt: z.ZodString;
13231
13778
  updatedAt: z.ZodString;
13232
13779
  metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
13780
+ taskId: z.ZodString;
13233
13781
  contextId: z.ZodString;
13234
13782
  visibility: z.ZodNullable<z.ZodString>;
13235
- taskId: z.ZodString;
13236
13783
  toolCallId: z.ZodNullable<z.ZodString>;
13237
13784
  parts: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
13238
13785
  summary: z.ZodNullable<z.ZodString>;
@@ -13248,9 +13795,9 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
13248
13795
  createdAt: z.ZodOptional<z.ZodString>;
13249
13796
  updatedAt: z.ZodOptional<z.ZodString>;
13250
13797
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
13798
+ taskId: z.ZodString;
13251
13799
  contextId: z.ZodString;
13252
13800
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13253
- taskId: z.ZodString;
13254
13801
  toolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13255
13802
  parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
13256
13803
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -13266,9 +13813,9 @@ declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
13266
13813
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13267
13814
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13268
13815
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
13816
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13269
13817
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13270
13818
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13271
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13272
13819
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13273
13820
  parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
13274
13821
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -13327,7 +13874,7 @@ declare const TeamAgentSchema: z.ZodObject<{
13327
13874
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
13328
13875
  id: z.ZodString;
13329
13876
  name: z.ZodString;
13330
- description: z.ZodString;
13877
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13331
13878
  createdAt: z.ZodOptional<z.ZodString>;
13332
13879
  updatedAt: z.ZodOptional<z.ZodString>;
13333
13880
  models: z.ZodOptional<z.ZodObject<{
@@ -13367,7 +13914,7 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
13367
13914
  dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
13368
13915
  artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
13369
13916
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
13370
- prompt: z.ZodString;
13917
+ prompt: z.ZodOptional<z.ZodString>;
13371
13918
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
13372
13919
  externalAgentId: z.ZodString;
13373
13920
  subAgentExternalAgentRelationId: z.ZodOptional<z.ZodString>;
@@ -13389,7 +13936,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13389
13936
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
13390
13937
  id: z.ZodString;
13391
13938
  name: z.ZodString;
13392
- description: z.ZodString;
13939
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13393
13940
  createdAt: z.ZodOptional<z.ZodString>;
13394
13941
  updatedAt: z.ZodOptional<z.ZodString>;
13395
13942
  models: z.ZodOptional<z.ZodObject<{
@@ -13429,7 +13976,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13429
13976
  dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
13430
13977
  artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
13431
13978
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
13432
- prompt: z.ZodString;
13979
+ prompt: z.ZodOptional<z.ZodString>;
13433
13980
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
13434
13981
  externalAgentId: z.ZodString;
13435
13982
  subAgentExternalAgentRelationId: z.ZodOptional<z.ZodString>;
@@ -13468,13 +14015,14 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13468
14015
  updatedAt: z.ZodOptional<z.ZodString>;
13469
14016
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13470
14017
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14018
+ credentialScope: z.ZodOptional<z.ZodString>;
13471
14019
  imageUrl: z.ZodOptional<z.ZodString>;
13472
14020
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13473
14021
  }, z.core.$strip>>>;
13474
14022
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13475
14023
  id: z.ZodString;
13476
14024
  name: z.ZodString;
13477
- description: z.ZodString;
14025
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13478
14026
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13479
14027
  createdAt: z.ZodOptional<z.ZodString>;
13480
14028
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -13574,7 +14122,7 @@ declare const ProjectSelectSchema: z.ZodObject<{
13574
14122
  createdAt: z.ZodString;
13575
14123
  updatedAt: z.ZodString;
13576
14124
  name: z.ZodString;
13577
- description: z.ZodString;
14125
+ description: z.ZodNullable<z.ZodString>;
13578
14126
  tenantId: z.ZodString;
13579
14127
  id: z.ZodString;
13580
14128
  models: z.ZodNullable<z.ZodObject<{
@@ -13603,7 +14151,7 @@ declare const ProjectInsertSchema: z.ZodObject<{
13603
14151
  tenantId: z.ZodString;
13604
14152
  id: z.ZodString;
13605
14153
  name: z.ZodString;
13606
- description: z.ZodString;
14154
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13607
14155
  models: z.ZodObject<{
13608
14156
  base: z.ZodObject<{
13609
14157
  model: z.ZodOptional<z.ZodString>;
@@ -13628,7 +14176,7 @@ declare const ProjectInsertSchema: z.ZodObject<{
13628
14176
  }>;
13629
14177
  declare const ProjectUpdateSchema: z.ZodObject<{
13630
14178
  name: z.ZodOptional<z.ZodString>;
13631
- description: z.ZodOptional<z.ZodString>;
14179
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13632
14180
  models: z.ZodOptional<z.ZodObject<{
13633
14181
  base: z.ZodObject<{
13634
14182
  model: z.ZodOptional<z.ZodString>;
@@ -13654,7 +14202,7 @@ declare const ProjectUpdateSchema: z.ZodObject<{
13654
14202
  declare const ProjectApiSelectSchema: z.ZodObject<{
13655
14203
  id: z.ZodString;
13656
14204
  name: z.ZodString;
13657
- description: z.ZodString;
14205
+ description: z.ZodNullable<z.ZodString>;
13658
14206
  createdAt: z.ZodString;
13659
14207
  updatedAt: z.ZodString;
13660
14208
  models: z.ZodNullable<z.ZodObject<{
@@ -13682,7 +14230,7 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
13682
14230
  declare const ProjectApiInsertSchema: z.ZodObject<{
13683
14231
  id: z.ZodString;
13684
14232
  name: z.ZodString;
13685
- description: z.ZodString;
14233
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13686
14234
  models: z.ZodObject<{
13687
14235
  base: z.ZodObject<{
13688
14236
  model: z.ZodOptional<z.ZodString>;
@@ -13707,7 +14255,7 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
13707
14255
  }>;
13708
14256
  declare const ProjectApiUpdateSchema: z.ZodObject<{
13709
14257
  name: z.ZodOptional<z.ZodString>;
13710
- description: z.ZodOptional<z.ZodString>;
14258
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13711
14259
  models: z.ZodOptional<z.ZodObject<{
13712
14260
  base: z.ZodObject<{
13713
14261
  model: z.ZodOptional<z.ZodString>;
@@ -13733,7 +14281,7 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
13733
14281
  declare const FullProjectDefinitionSchema: z.ZodObject<{
13734
14282
  id: z.ZodString;
13735
14283
  name: z.ZodString;
13736
- description: z.ZodString;
14284
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13737
14285
  models: z.ZodObject<{
13738
14286
  base: z.ZodObject<{
13739
14287
  model: z.ZodOptional<z.ZodString>;
@@ -13763,7 +14311,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13763
14311
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
13764
14312
  id: z.ZodString;
13765
14313
  name: z.ZodString;
13766
- description: z.ZodString;
14314
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13767
14315
  createdAt: z.ZodOptional<z.ZodString>;
13768
14316
  updatedAt: z.ZodOptional<z.ZodString>;
13769
14317
  models: z.ZodOptional<z.ZodObject<{
@@ -13803,7 +14351,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13803
14351
  dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
13804
14352
  artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
13805
14353
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
13806
- prompt: z.ZodString;
14354
+ prompt: z.ZodOptional<z.ZodString>;
13807
14355
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
13808
14356
  externalAgentId: z.ZodString;
13809
14357
  subAgentExternalAgentRelationId: z.ZodOptional<z.ZodString>;
@@ -13842,13 +14390,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13842
14390
  updatedAt: z.ZodOptional<z.ZodString>;
13843
14391
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13844
14392
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14393
+ credentialScope: z.ZodOptional<z.ZodString>;
13845
14394
  imageUrl: z.ZodOptional<z.ZodString>;
13846
14395
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13847
14396
  }, z.core.$strip>>>;
13848
14397
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13849
14398
  id: z.ZodString;
13850
14399
  name: z.ZodString;
13851
- description: z.ZodString;
14400
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13852
14401
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13853
14402
  createdAt: z.ZodOptional<z.ZodString>;
13854
14403
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -13942,6 +14491,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13942
14491
  updatedAt: z.ZodOptional<z.ZodString>;
13943
14492
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13944
14493
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14494
+ credentialScope: z.ZodOptional<z.ZodString>;
13945
14495
  imageUrl: z.ZodOptional<z.ZodString>;
13946
14496
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13947
14497
  }, z.core.$strip>>;
@@ -13964,7 +14514,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13964
14514
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13965
14515
  id: z.ZodString;
13966
14516
  name: z.ZodString;
13967
- description: z.ZodString;
14517
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13968
14518
  createdAt: z.ZodOptional<z.ZodString>;
13969
14519
  updatedAt: z.ZodOptional<z.ZodString>;
13970
14520
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
@@ -13985,7 +14535,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13985
14535
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13986
14536
  id: z.ZodString;
13987
14537
  name: z.ZodString;
13988
- description: z.ZodString;
14538
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13989
14539
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
13990
14540
  }, {
13991
14541
  out: {};
@@ -13994,7 +14544,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13994
14544
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13995
14545
  id: z.ZodString;
13996
14546
  name: z.ZodString;
13997
- description: z.ZodString;
14547
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13998
14548
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13999
14549
  createdAt: z.ZodOptional<z.ZodString>;
14000
14550
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -14022,6 +14572,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14022
14572
  updatedAt: z.ZodOptional<z.ZodString>;
14023
14573
  credentialStoreId: z.ZodString;
14024
14574
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14575
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14576
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14577
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14025
14578
  type: z.ZodEnum<{
14026
14579
  readonly memory: "memory";
14027
14580
  readonly keychain: "keychain";
@@ -14038,7 +14591,7 @@ declare const ProjectResponse: z.ZodObject<{
14038
14591
  data: z.ZodObject<{
14039
14592
  id: z.ZodString;
14040
14593
  name: z.ZodString;
14041
- description: z.ZodString;
14594
+ description: z.ZodNullable<z.ZodString>;
14042
14595
  createdAt: z.ZodString;
14043
14596
  updatedAt: z.ZodString;
14044
14597
  models: z.ZodNullable<z.ZodObject<{
@@ -14068,8 +14621,8 @@ declare const SubAgentResponse: z.ZodObject<{
14068
14621
  data: z.ZodObject<{
14069
14622
  id: z.ZodString;
14070
14623
  name: z.ZodString;
14071
- description: z.ZodString;
14072
- prompt: z.ZodString;
14624
+ description: z.ZodNullable<z.ZodString>;
14625
+ prompt: z.ZodNullable<z.ZodString>;
14073
14626
  createdAt: z.ZodString;
14074
14627
  updatedAt: z.ZodString;
14075
14628
  models: z.ZodNullable<z.ZodType<{
@@ -14291,6 +14844,7 @@ declare const ToolResponse: z.ZodObject<{
14291
14844
  updatedAt: z.ZodString;
14292
14845
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
14293
14846
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
14847
+ credentialScope: z.ZodString;
14294
14848
  imageUrl: z.ZodNullable<z.ZodString>;
14295
14849
  lastError: z.ZodNullable<z.ZodString>;
14296
14850
  }, z.core.$strip>;
@@ -14299,7 +14853,7 @@ declare const ExternalAgentResponse: z.ZodObject<{
14299
14853
  data: z.ZodObject<{
14300
14854
  id: z.ZodString;
14301
14855
  name: z.ZodString;
14302
- description: z.ZodString;
14856
+ description: z.ZodNullable<z.ZodString>;
14303
14857
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14304
14858
  createdAt: z.ZodString;
14305
14859
  updatedAt: z.ZodString;
@@ -14338,7 +14892,10 @@ declare const CredentialReferenceResponse: z.ZodObject<{
14338
14892
  createdAt: z.ZodString;
14339
14893
  updatedAt: z.ZodString;
14340
14894
  credentialStoreId: z.ZodString;
14341
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14895
+ retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
14896
+ userId: z.ZodNullable<z.ZodString>;
14897
+ toolId: z.ZodNullable<z.ZodString>;
14898
+ createdBy: z.ZodNullable<z.ZodString>;
14342
14899
  type: z.ZodEnum<{
14343
14900
  readonly memory: "memory";
14344
14901
  readonly keychain: "keychain";
@@ -14459,6 +15016,25 @@ declare const CredentialReferenceResponse: z.ZodObject<{
14459
15016
  }, {}, {
14460
15017
  length: 256;
14461
15018
  }>;
15019
+ credentialScope: drizzle_orm_pg_core.PgColumn<{
15020
+ name: "credential_scope";
15021
+ tableName: "tools";
15022
+ dataType: "string";
15023
+ columnType: "PgVarchar";
15024
+ data: string;
15025
+ driverParam: string;
15026
+ notNull: true;
15027
+ hasDefault: true;
15028
+ isPrimaryKey: false;
15029
+ isAutoincrement: false;
15030
+ hasRuntimeDefault: false;
15031
+ enumValues: [string, ...string[]];
15032
+ baseColumn: never;
15033
+ identity: undefined;
15034
+ generated: undefined;
15035
+ }, {}, {
15036
+ length: 50;
15037
+ }>;
14462
15038
  headers: drizzle_orm_pg_core.PgColumn<{
14463
15039
  name: "headers";
14464
15040
  tableName: "tools";
@@ -14703,6 +15279,25 @@ declare const CredentialReferenceResponse: z.ZodObject<{
14703
15279
  }, {}, {
14704
15280
  length: 256;
14705
15281
  }>;
15282
+ credentialScope: drizzle_orm_pg_core.PgColumn<{
15283
+ name: "credential_scope";
15284
+ tableName: "tools";
15285
+ dataType: "string";
15286
+ columnType: "PgVarchar";
15287
+ data: string;
15288
+ driverParam: string;
15289
+ notNull: true;
15290
+ hasDefault: true;
15291
+ isPrimaryKey: false;
15292
+ isAutoincrement: false;
15293
+ hasRuntimeDefault: false;
15294
+ enumValues: [string, ...string[]];
15295
+ baseColumn: never;
15296
+ identity: undefined;
15297
+ generated: undefined;
15298
+ }, {}, {
15299
+ length: 50;
15300
+ }>;
14706
15301
  headers: drizzle_orm_pg_core.PgColumn<{
14707
15302
  name: "headers";
14708
15303
  tableName: "tools";
@@ -14838,7 +15433,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
14838
15433
  updatedAt: z.ZodString;
14839
15434
  baseUrl: z.ZodString;
14840
15435
  name: z.ZodString;
14841
- description: z.ZodString;
15436
+ description: z.ZodNullable<z.ZodString>;
14842
15437
  projectId: z.ZodString;
14843
15438
  tenantId: z.ZodString;
14844
15439
  id: z.ZodString;
@@ -14874,7 +15469,7 @@ declare const DataComponentResponse: z.ZodObject<{
14874
15469
  data: z.ZodObject<{
14875
15470
  id: z.ZodString;
14876
15471
  name: z.ZodString;
14877
- description: z.ZodString;
15472
+ description: z.ZodNullable<z.ZodString>;
14878
15473
  createdAt: z.ZodString;
14879
15474
  updatedAt: z.ZodString;
14880
15475
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -14897,7 +15492,7 @@ declare const ArtifactComponentResponse: z.ZodObject<{
14897
15492
  data: z.ZodObject<{
14898
15493
  id: z.ZodString;
14899
15494
  name: z.ZodString;
14900
- description: z.ZodString;
15495
+ description: z.ZodNullable<z.ZodString>;
14901
15496
  createdAt: z.ZodString;
14902
15497
  updatedAt: z.ZodString;
14903
15498
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -14918,8 +15513,8 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
14918
15513
  id: z.ZodString;
14919
15514
  createdAt: z.ZodString;
14920
15515
  updatedAt: z.ZodString;
14921
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14922
15516
  toolId: z.ZodString;
15517
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14923
15518
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14924
15519
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14925
15520
  subAgentId: z.ZodString;
@@ -14931,8 +15526,8 @@ declare const ConversationResponse: z.ZodObject<{
14931
15526
  title: z.ZodNullable<z.ZodString>;
14932
15527
  createdAt: z.ZodString;
14933
15528
  updatedAt: z.ZodString;
14934
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
14935
15529
  userId: z.ZodNullable<z.ZodString>;
15530
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
14936
15531
  activeSubAgentId: z.ZodString;
14937
15532
  lastContextResolution: z.ZodNullable<z.ZodString>;
14938
15533
  }, z.core.$strip>;
@@ -14945,6 +15540,7 @@ declare const MessageResponse: z.ZodObject<{
14945
15540
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
14946
15541
  content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
14947
15542
  role: z.ZodString;
15543
+ taskId: z.ZodNullable<z.ZodString>;
14948
15544
  conversationId: z.ZodString;
14949
15545
  fromSubAgentId: z.ZodNullable<z.ZodString>;
14950
15546
  toSubAgentId: z.ZodNullable<z.ZodString>;
@@ -14954,7 +15550,6 @@ declare const MessageResponse: z.ZodObject<{
14954
15550
  toTeamAgentId: z.ZodNullable<z.ZodString>;
14955
15551
  visibility: z.ZodString;
14956
15552
  messageType: z.ZodString;
14957
- taskId: z.ZodNullable<z.ZodString>;
14958
15553
  parentMessageId: z.ZodNullable<z.ZodString>;
14959
15554
  a2aTaskId: z.ZodNullable<z.ZodString>;
14960
15555
  a2aSessionId: z.ZodNullable<z.ZodString>;
@@ -14964,7 +15559,7 @@ declare const ProjectListResponse: z.ZodObject<{
14964
15559
  data: z.ZodArray<z.ZodObject<{
14965
15560
  id: z.ZodString;
14966
15561
  name: z.ZodString;
14967
- description: z.ZodString;
15562
+ description: z.ZodNullable<z.ZodString>;
14968
15563
  createdAt: z.ZodString;
14969
15564
  updatedAt: z.ZodString;
14970
15565
  models: z.ZodNullable<z.ZodObject<{
@@ -15000,8 +15595,8 @@ declare const SubAgentListResponse: z.ZodObject<{
15000
15595
  data: z.ZodArray<z.ZodObject<{
15001
15596
  id: z.ZodString;
15002
15597
  name: z.ZodString;
15003
- description: z.ZodString;
15004
- prompt: z.ZodString;
15598
+ description: z.ZodNullable<z.ZodString>;
15599
+ prompt: z.ZodNullable<z.ZodString>;
15005
15600
  createdAt: z.ZodString;
15006
15601
  updatedAt: z.ZodString;
15007
15602
  models: z.ZodNullable<z.ZodType<{
@@ -15235,6 +15830,7 @@ declare const ToolListResponse: z.ZodObject<{
15235
15830
  updatedAt: z.ZodString;
15236
15831
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15237
15832
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
15833
+ credentialScope: z.ZodString;
15238
15834
  imageUrl: z.ZodNullable<z.ZodString>;
15239
15835
  lastError: z.ZodNullable<z.ZodString>;
15240
15836
  }, z.core.$strip>>;
@@ -15249,7 +15845,7 @@ declare const ExternalAgentListResponse: z.ZodObject<{
15249
15845
  data: z.ZodArray<z.ZodObject<{
15250
15846
  id: z.ZodString;
15251
15847
  name: z.ZodString;
15252
- description: z.ZodString;
15848
+ description: z.ZodNullable<z.ZodString>;
15253
15849
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15254
15850
  createdAt: z.ZodString;
15255
15851
  updatedAt: z.ZodString;
@@ -15306,7 +15902,10 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
15306
15902
  createdAt: z.ZodString;
15307
15903
  updatedAt: z.ZodString;
15308
15904
  credentialStoreId: z.ZodString;
15309
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
15905
+ retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
15906
+ userId: z.ZodNullable<z.ZodString>;
15907
+ toolId: z.ZodNullable<z.ZodString>;
15908
+ createdBy: z.ZodNullable<z.ZodString>;
15310
15909
  type: z.ZodEnum<{
15311
15910
  readonly memory: "memory";
15312
15911
  readonly keychain: "keychain";
@@ -15427,6 +16026,25 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
15427
16026
  }, {}, {
15428
16027
  length: 256;
15429
16028
  }>;
16029
+ credentialScope: drizzle_orm_pg_core.PgColumn<{
16030
+ name: "credential_scope";
16031
+ tableName: "tools";
16032
+ dataType: "string";
16033
+ columnType: "PgVarchar";
16034
+ data: string;
16035
+ driverParam: string;
16036
+ notNull: true;
16037
+ hasDefault: true;
16038
+ isPrimaryKey: false;
16039
+ isAutoincrement: false;
16040
+ hasRuntimeDefault: false;
16041
+ enumValues: [string, ...string[]];
16042
+ baseColumn: never;
16043
+ identity: undefined;
16044
+ generated: undefined;
16045
+ }, {}, {
16046
+ length: 50;
16047
+ }>;
15430
16048
  headers: drizzle_orm_pg_core.PgColumn<{
15431
16049
  name: "headers";
15432
16050
  tableName: "tools";
@@ -15671,6 +16289,25 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
15671
16289
  }, {}, {
15672
16290
  length: 256;
15673
16291
  }>;
16292
+ credentialScope: drizzle_orm_pg_core.PgColumn<{
16293
+ name: "credential_scope";
16294
+ tableName: "tools";
16295
+ dataType: "string";
16296
+ columnType: "PgVarchar";
16297
+ data: string;
16298
+ driverParam: string;
16299
+ notNull: true;
16300
+ hasDefault: true;
16301
+ isPrimaryKey: false;
16302
+ isAutoincrement: false;
16303
+ hasRuntimeDefault: false;
16304
+ enumValues: [string, ...string[]];
16305
+ baseColumn: never;
16306
+ identity: undefined;
16307
+ generated: undefined;
16308
+ }, {}, {
16309
+ length: 50;
16310
+ }>;
15674
16311
  headers: drizzle_orm_pg_core.PgColumn<{
15675
16312
  name: "headers";
15676
16313
  tableName: "tools";
@@ -15806,7 +16443,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
15806
16443
  updatedAt: z.ZodString;
15807
16444
  baseUrl: z.ZodString;
15808
16445
  name: z.ZodString;
15809
- description: z.ZodString;
16446
+ description: z.ZodNullable<z.ZodString>;
15810
16447
  projectId: z.ZodString;
15811
16448
  tenantId: z.ZodString;
15812
16449
  id: z.ZodString;
@@ -15860,7 +16497,7 @@ declare const DataComponentListResponse: z.ZodObject<{
15860
16497
  data: z.ZodArray<z.ZodObject<{
15861
16498
  id: z.ZodString;
15862
16499
  name: z.ZodString;
15863
- description: z.ZodString;
16500
+ description: z.ZodNullable<z.ZodString>;
15864
16501
  createdAt: z.ZodString;
15865
16502
  updatedAt: z.ZodString;
15866
16503
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -15889,7 +16526,7 @@ declare const ArtifactComponentListResponse: z.ZodObject<{
15889
16526
  data: z.ZodArray<z.ZodObject<{
15890
16527
  id: z.ZodString;
15891
16528
  name: z.ZodString;
15892
- description: z.ZodString;
16529
+ description: z.ZodNullable<z.ZodString>;
15893
16530
  createdAt: z.ZodString;
15894
16531
  updatedAt: z.ZodString;
15895
16532
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -15922,8 +16559,8 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
15922
16559
  id: z.ZodString;
15923
16560
  createdAt: z.ZodString;
15924
16561
  updatedAt: z.ZodString;
15925
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15926
16562
  toolId: z.ZodString;
16563
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15927
16564
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15928
16565
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15929
16566
  subAgentId: z.ZodString;
@@ -15941,8 +16578,8 @@ declare const ConversationListResponse: z.ZodObject<{
15941
16578
  title: z.ZodNullable<z.ZodString>;
15942
16579
  createdAt: z.ZodString;
15943
16580
  updatedAt: z.ZodString;
15944
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
15945
16581
  userId: z.ZodNullable<z.ZodString>;
16582
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
15946
16583
  activeSubAgentId: z.ZodString;
15947
16584
  lastContextResolution: z.ZodNullable<z.ZodString>;
15948
16585
  }, z.core.$strip>>;
@@ -15961,6 +16598,7 @@ declare const MessageListResponse: z.ZodObject<{
15961
16598
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
15962
16599
  content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
15963
16600
  role: z.ZodString;
16601
+ taskId: z.ZodNullable<z.ZodString>;
15964
16602
  conversationId: z.ZodString;
15965
16603
  fromSubAgentId: z.ZodNullable<z.ZodString>;
15966
16604
  toSubAgentId: z.ZodNullable<z.ZodString>;
@@ -15970,7 +16608,6 @@ declare const MessageListResponse: z.ZodObject<{
15970
16608
  toTeamAgentId: z.ZodNullable<z.ZodString>;
15971
16609
  visibility: z.ZodString;
15972
16610
  messageType: z.ZodString;
15973
- taskId: z.ZodNullable<z.ZodString>;
15974
16611
  parentMessageId: z.ZodNullable<z.ZodString>;
15975
16612
  a2aTaskId: z.ZodNullable<z.ZodString>;
15976
16613
  a2aSessionId: z.ZodNullable<z.ZodString>;
@@ -16030,7 +16667,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16030
16667
  data: z.ZodObject<{
16031
16668
  id: z.ZodString;
16032
16669
  name: z.ZodString;
16033
- description: z.ZodString;
16670
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16034
16671
  models: z.ZodObject<{
16035
16672
  base: z.ZodObject<{
16036
16673
  model: z.ZodOptional<z.ZodString>;
@@ -16060,7 +16697,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16060
16697
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
16061
16698
  id: z.ZodString;
16062
16699
  name: z.ZodString;
16063
- description: z.ZodString;
16700
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16064
16701
  createdAt: z.ZodOptional<z.ZodString>;
16065
16702
  updatedAt: z.ZodOptional<z.ZodString>;
16066
16703
  models: z.ZodOptional<z.ZodObject<{
@@ -16100,7 +16737,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16100
16737
  dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
16101
16738
  artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
16102
16739
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
16103
- prompt: z.ZodString;
16740
+ prompt: z.ZodOptional<z.ZodString>;
16104
16741
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
16105
16742
  externalAgentId: z.ZodString;
16106
16743
  subAgentExternalAgentRelationId: z.ZodOptional<z.ZodString>;
@@ -16139,13 +16776,14 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16139
16776
  updatedAt: z.ZodOptional<z.ZodString>;
16140
16777
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16141
16778
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16779
+ credentialScope: z.ZodOptional<z.ZodString>;
16142
16780
  imageUrl: z.ZodOptional<z.ZodString>;
16143
16781
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16144
16782
  }, z.core.$strip>>>;
16145
16783
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16146
16784
  id: z.ZodString;
16147
16785
  name: z.ZodString;
16148
- description: z.ZodString;
16786
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16149
16787
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16150
16788
  createdAt: z.ZodOptional<z.ZodString>;
16151
16789
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -16239,6 +16877,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16239
16877
  updatedAt: z.ZodOptional<z.ZodString>;
16240
16878
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16241
16879
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16880
+ credentialScope: z.ZodOptional<z.ZodString>;
16242
16881
  imageUrl: z.ZodOptional<z.ZodString>;
16243
16882
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16244
16883
  }, z.core.$strip>>;
@@ -16261,7 +16900,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16261
16900
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16262
16901
  id: z.ZodString;
16263
16902
  name: z.ZodString;
16264
- description: z.ZodString;
16903
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16265
16904
  createdAt: z.ZodOptional<z.ZodString>;
16266
16905
  updatedAt: z.ZodOptional<z.ZodString>;
16267
16906
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
@@ -16282,7 +16921,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16282
16921
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16283
16922
  id: z.ZodString;
16284
16923
  name: z.ZodString;
16285
- description: z.ZodString;
16924
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16286
16925
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
16287
16926
  }, {
16288
16927
  out: {};
@@ -16291,7 +16930,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16291
16930
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16292
16931
  id: z.ZodString;
16293
16932
  name: z.ZodString;
16294
- description: z.ZodString;
16933
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16295
16934
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16296
16935
  createdAt: z.ZodOptional<z.ZodString>;
16297
16936
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -16319,6 +16958,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16319
16958
  updatedAt: z.ZodOptional<z.ZodString>;
16320
16959
  credentialStoreId: z.ZodString;
16321
16960
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16961
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16962
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16963
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16322
16964
  type: z.ZodEnum<{
16323
16965
  readonly memory: "memory";
16324
16966
  readonly keychain: "keychain";
@@ -16344,7 +16986,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16344
16986
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
16345
16987
  id: z.ZodString;
16346
16988
  name: z.ZodString;
16347
- description: z.ZodString;
16989
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16348
16990
  createdAt: z.ZodOptional<z.ZodString>;
16349
16991
  updatedAt: z.ZodOptional<z.ZodString>;
16350
16992
  models: z.ZodOptional<z.ZodObject<{
@@ -16384,7 +17026,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16384
17026
  dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
16385
17027
  artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
16386
17028
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
16387
- prompt: z.ZodString;
17029
+ prompt: z.ZodOptional<z.ZodString>;
16388
17030
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
16389
17031
  externalAgentId: z.ZodString;
16390
17032
  subAgentExternalAgentRelationId: z.ZodOptional<z.ZodString>;
@@ -16423,13 +17065,14 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16423
17065
  updatedAt: z.ZodOptional<z.ZodString>;
16424
17066
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16425
17067
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17068
+ credentialScope: z.ZodOptional<z.ZodString>;
16426
17069
  imageUrl: z.ZodOptional<z.ZodString>;
16427
17070
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16428
17071
  }, z.core.$strip>>>;
16429
17072
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16430
17073
  id: z.ZodString;
16431
17074
  name: z.ZodString;
16432
- description: z.ZodString;
17075
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16433
17076
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16434
17077
  createdAt: z.ZodOptional<z.ZodString>;
16435
17078
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -16500,7 +17143,7 @@ declare const RelatedAgentInfoListResponse: z.ZodObject<{
16500
17143
  data: z.ZodArray<z.ZodObject<{
16501
17144
  id: z.ZodString;
16502
17145
  name: z.ZodString;
16503
- description: z.ZodString;
17146
+ description: z.ZodNullable<z.ZodString>;
16504
17147
  }, z.core.$strip>>;
16505
17148
  pagination: z.ZodObject<{
16506
17149
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16522,6 +17165,7 @@ declare const McpToolResponse: z.ZodObject<{
16522
17165
  name: z.ZodString;
16523
17166
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16524
17167
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17168
+ credentialScope: z.ZodOptional<z.ZodString>;
16525
17169
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16526
17170
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16527
17171
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -16561,6 +17205,7 @@ declare const McpToolResponse: z.ZodObject<{
16561
17205
  }>>;
16562
17206
  version: z.ZodOptional<z.ZodString>;
16563
17207
  expiresAt: z.ZodOptional<z.ZodString>;
17208
+ createdBy: z.ZodOptional<z.ZodString>;
16564
17209
  relationshipId: z.ZodOptional<z.ZodString>;
16565
17210
  }, {
16566
17211
  out: {};
@@ -16574,6 +17219,7 @@ declare const McpToolListResponse: z.ZodObject<{
16574
17219
  name: z.ZodString;
16575
17220
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16576
17221
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17222
+ credentialScope: z.ZodOptional<z.ZodString>;
16577
17223
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16578
17224
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16579
17225
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -16613,6 +17259,7 @@ declare const McpToolListResponse: z.ZodObject<{
16613
17259
  }>>;
16614
17260
  version: z.ZodOptional<z.ZodString>;
16615
17261
  expiresAt: z.ZodOptional<z.ZodString>;
17262
+ createdBy: z.ZodOptional<z.ZodString>;
16616
17263
  relationshipId: z.ZodOptional<z.ZodString>;
16617
17264
  }, {
16618
17265
  out: {};
@@ -16681,7 +17328,7 @@ declare const DataComponentArrayResponse: z.ZodObject<{
16681
17328
  data: z.ZodArray<z.ZodObject<{
16682
17329
  id: z.ZodString;
16683
17330
  name: z.ZodString;
16684
- description: z.ZodString;
17331
+ description: z.ZodNullable<z.ZodString>;
16685
17332
  createdAt: z.ZodString;
16686
17333
  updatedAt: z.ZodString;
16687
17334
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -16704,7 +17351,7 @@ declare const ArtifactComponentArrayResponse: z.ZodObject<{
16704
17351
  data: z.ZodArray<z.ZodObject<{
16705
17352
  id: z.ZodString;
16706
17353
  name: z.ZodString;
16707
- description: z.ZodString;
17354
+ description: z.ZodNullable<z.ZodString>;
16708
17355
  createdAt: z.ZodString;
16709
17356
  updatedAt: z.ZodString;
16710
17357
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -16806,156 +17453,156 @@ declare const ThirdPartyMCPServerResponse: z.ZodObject<{
16806
17453
  }, z.core.$strip>>;
16807
17454
  }, z.core.$strip>;
16808
17455
 
16809
- type SubAgentSelect = z$1.infer<typeof SubAgentSelectSchema>;
16810
- type SubAgentInsert = z$1.infer<typeof SubAgentInsertSchema>;
16811
- type SubAgentUpdate = z$1.infer<typeof SubAgentUpdateSchema>;
16812
- type SubAgentApiSelect = z$1.infer<typeof SubAgentApiSelectSchema>;
16813
- type SubAgentApiInsert = z$1.infer<typeof SubAgentApiInsertSchema>;
16814
- type SubAgentApiUpdate = z$1.infer<typeof SubAgentApiUpdateSchema>;
16815
- type SubAgentRelationSelect = z$1.infer<typeof SubAgentRelationSelectSchema>;
16816
- type SubAgentRelationInsert = z$1.infer<typeof SubAgentRelationInsertSchema>;
16817
- type SubAgentRelationUpdate = z$1.infer<typeof SubAgentRelationUpdateSchema>;
16818
- type SubAgentRelationApiSelect = z$1.infer<typeof SubAgentRelationApiSelectSchema>;
16819
- type SubAgentRelationApiInsert = z$1.infer<typeof SubAgentRelationApiInsertSchema>;
16820
- type SubAgentRelationApiUpdate = z$1.infer<typeof SubAgentRelationApiUpdateSchema>;
16821
- type SubAgentRelationQuery = z$1.infer<typeof SubAgentRelationQuerySchema>;
16822
- type ExternalSubAgentRelationInsert = z$1.infer<typeof ExternalSubAgentRelationInsertSchema>;
16823
- type ExternalSubAgentRelationApiInsert = z$1.infer<typeof ExternalSubAgentRelationApiInsertSchema>;
16824
- type AgentSelect = z$1.infer<typeof AgentSelectSchema>;
16825
- type AgentInsert = z$1.infer<typeof AgentInsertSchema>;
16826
- type AgentUpdate = z$1.infer<typeof AgentUpdateSchema>;
16827
- type AgentApiSelect = z$1.infer<typeof AgentApiSelectSchema>;
16828
- type AgentApiInsert = z$1.infer<typeof AgentApiInsertSchema>;
16829
- type AgentApiUpdate = z$1.infer<typeof AgentApiUpdateSchema>;
16830
- type TaskSelect = z$1.infer<typeof TaskSelectSchema>;
16831
- type TaskInsert = z$1.infer<typeof TaskInsertSchema>;
16832
- type TaskUpdate = z$1.infer<typeof TaskUpdateSchema>;
16833
- type TaskApiSelect = z$1.infer<typeof TaskApiSelectSchema>;
16834
- type TaskApiInsert = z$1.infer<typeof TaskApiInsertSchema>;
16835
- type TaskApiUpdate = z$1.infer<typeof TaskApiUpdateSchema>;
16836
- type TaskRelationSelect = z$1.infer<typeof TaskRelationSelectSchema>;
16837
- type TaskRelationInsert = z$1.infer<typeof TaskRelationInsertSchema>;
16838
- type TaskRelationUpdate = z$1.infer<typeof TaskRelationUpdateSchema>;
16839
- type TaskRelationApiSelect = z$1.infer<typeof TaskRelationApiSelectSchema>;
16840
- type TaskRelationApiInsert = z$1.infer<typeof TaskRelationApiInsertSchema>;
16841
- type TaskRelationApiUpdate = z$1.infer<typeof TaskRelationApiUpdateSchema>;
16842
- type ToolSelect = z$1.infer<typeof ToolSelectSchema>;
16843
- type ToolInsert = z$1.infer<typeof ToolInsertSchema>;
16844
- type ToolUpdate = z$1.infer<typeof ToolUpdateSchema>;
16845
- type ToolApiSelect = z$1.infer<typeof ToolApiSelectSchema>;
16846
- type ToolApiInsert = z$1.infer<typeof ToolApiInsertSchema>;
16847
- type ToolApiUpdate = z$1.infer<typeof ToolApiUpdateSchema>;
16848
- type McpTool = z$1.infer<typeof McpToolSchema>;
16849
- type MCPToolConfig = z$1.infer<typeof MCPToolConfigSchema>;
16850
- type FunctionSelect = z$1.infer<typeof FunctionSelectSchema>;
16851
- type FunctionInsert = z$1.infer<typeof FunctionInsertSchema>;
16852
- type FunctionUpdate = z$1.infer<typeof FunctionUpdateSchema>;
16853
- type FunctionApiSelect = z$1.infer<typeof FunctionApiSelectSchema>;
16854
- type FunctionApiInsert = z$1.infer<typeof FunctionApiInsertSchema>;
16855
- type FunctionApiUpdate = z$1.infer<typeof FunctionApiUpdateSchema>;
16856
- type FunctionToolApiSelect = z$1.infer<typeof FunctionToolApiSelectSchema>;
16857
- type FunctionToolApiInsert = z$1.infer<typeof FunctionToolApiInsertSchema>;
16858
- type FunctionToolApiUpdate = z$1.infer<typeof FunctionToolApiUpdateSchema>;
16859
- type ConversationSelect = z$1.infer<typeof ConversationSelectSchema>;
16860
- type ConversationInsert = z$1.infer<typeof ConversationInsertSchema>;
16861
- type ConversationUpdate = z$1.infer<typeof ConversationUpdateSchema>;
16862
- type ConversationApiSelect = z$1.infer<typeof ConversationApiSelectSchema>;
16863
- type ConversationApiInsert = z$1.infer<typeof ConversationApiInsertSchema>;
16864
- type ConversationApiUpdate = z$1.infer<typeof ConversationApiUpdateSchema>;
16865
- type MessageSelect = z$1.infer<typeof MessageSelectSchema>;
16866
- type MessageInsert = z$1.infer<typeof MessageInsertSchema>;
16867
- type MessageUpdate = z$1.infer<typeof MessageUpdateSchema>;
16868
- type MessageApiSelect = z$1.infer<typeof MessageApiSelectSchema>;
16869
- type MessageApiInsert = z$1.infer<typeof MessageApiInsertSchema>;
16870
- type MessageApiUpdate = z$1.infer<typeof MessageApiUpdateSchema>;
16871
- type ContextConfigSelect = z$1.infer<typeof ContextConfigSelectSchema>;
16872
- type ContextConfigInsert = z$1.infer<typeof ContextConfigInsertSchema>;
16873
- type ContextConfigUpdate = z$1.infer<typeof ContextConfigUpdateSchema>;
16874
- type ContextConfigApiSelect = z$1.infer<typeof ContextConfigApiSelectSchema>;
16875
- type ContextConfigApiInsert = z$1.infer<typeof ContextConfigApiInsertSchema>;
16876
- type ContextConfigApiUpdate = z$1.infer<typeof ContextConfigApiUpdateSchema>;
16877
- type FetchDefinition = z$1.infer<typeof FetchDefinitionSchema>;
16878
- type FetchConfig = z$1.infer<typeof FetchConfigSchema>;
16879
- type ContextCacheSelect = z$1.infer<typeof ContextCacheSelectSchema>;
16880
- type ContextCacheInsert = z$1.infer<typeof ContextCacheInsertSchema>;
16881
- type ContextCacheUpdate = z$1.infer<typeof ContextCacheUpdateSchema>;
16882
- type ContextCacheApiSelect = z$1.infer<typeof ContextCacheApiSelectSchema>;
16883
- type ContextCacheApiInsert = z$1.infer<typeof ContextCacheApiInsertSchema>;
16884
- type ContextCacheApiUpdate = z$1.infer<typeof ContextCacheApiUpdateSchema>;
16885
- type DataComponentSelect = z$1.infer<typeof DataComponentSelectSchema>;
16886
- type DataComponentInsert = z$1.infer<typeof DataComponentInsertSchema>;
16887
- type DataComponentUpdate = z$1.infer<typeof DataComponentUpdateSchema>;
16888
- type DataComponentApiSelect = z$1.infer<typeof DataComponentApiSelectSchema>;
16889
- type DataComponentApiInsert = z$1.infer<typeof DataComponentApiInsertSchema>;
16890
- type DataComponentApiUpdate = z$1.infer<typeof DataComponentApiUpdateSchema>;
16891
- type SubAgentDataComponentSelect = z$1.infer<typeof SubAgentDataComponentSelectSchema>;
16892
- type SubAgentDataComponentInsert = z$1.infer<typeof SubAgentDataComponentInsertSchema>;
16893
- type SubAgentDataComponentUpdate = z$1.infer<typeof SubAgentDataComponentUpdateSchema>;
16894
- type SubAgentDataComponentApiSelect = z$1.infer<typeof SubAgentDataComponentApiSelectSchema>;
16895
- type SubAgentDataComponentApiInsert = z$1.infer<typeof SubAgentDataComponentApiInsertSchema>;
16896
- type SubAgentDataComponentApiUpdate = z$1.infer<typeof SubAgentDataComponentApiUpdateSchema>;
16897
- type ArtifactComponentSelect = z$1.infer<typeof ArtifactComponentSelectSchema>;
16898
- type ArtifactComponentInsert = z$1.infer<typeof ArtifactComponentInsertSchema>;
16899
- type ArtifactComponentUpdate = z$1.infer<typeof ArtifactComponentUpdateSchema>;
16900
- type ArtifactComponentApiSelect = z$1.infer<typeof ArtifactComponentApiSelectSchema>;
16901
- type ArtifactComponentApiInsert = z$1.infer<typeof ArtifactComponentApiInsertSchema>;
16902
- type ArtifactComponentApiUpdate = z$1.infer<typeof ArtifactComponentApiUpdateSchema>;
16903
- type SubAgentArtifactComponentSelect = z$1.infer<typeof SubAgentArtifactComponentSelectSchema>;
16904
- type SubAgentArtifactComponentInsert = z$1.infer<typeof SubAgentArtifactComponentInsertSchema>;
16905
- type SubAgentArtifactComponentUpdate = z$1.infer<typeof SubAgentArtifactComponentUpdateSchema>;
16906
- type SubAgentArtifactComponentApiSelect = z$1.infer<typeof SubAgentArtifactComponentApiSelectSchema>;
16907
- type SubAgentArtifactComponentApiInsert = z$1.infer<typeof SubAgentArtifactComponentApiInsertSchema>;
16908
- type SubAgentArtifactComponentApiUpdate = z$1.infer<typeof SubAgentArtifactComponentApiUpdateSchema>;
16909
- type ExternalAgentSelect = z$1.infer<typeof ExternalAgentSelectSchema>;
16910
- type ExternalAgentInsert = z$1.infer<typeof ExternalAgentInsertSchema>;
16911
- type ExternalAgentUpdate = z$1.infer<typeof ExternalAgentUpdateSchema>;
16912
- type ExternalAgentApiSelect = z$1.infer<typeof ExternalAgentApiSelectSchema>;
16913
- type ExternalAgentApiInsert = z$1.infer<typeof ExternalAgentApiInsertSchema>;
16914
- type ExternalAgentApiUpdate = z$1.infer<typeof ExternalAgentApiUpdateSchema>;
16915
- type AllAgentSelect = z$1.infer<typeof AllAgentSchema>;
16916
- type ApiKeySelect = z$1.infer<typeof ApiKeySelectSchema>;
16917
- type ApiKeyInsert = z$1.infer<typeof ApiKeyInsertSchema>;
16918
- type ApiKeyUpdate = z$1.infer<typeof ApiKeyUpdateSchema>;
16919
- type ApiKeyApiSelect = z$1.infer<typeof ApiKeyApiSelectSchema>;
16920
- type ApiKeyApiInsert = z$1.infer<typeof ApiKeyApiInsertSchema>;
16921
- type ApiKeyApiUpdate = z$1.infer<typeof ApiKeyApiUpdateSchema>;
16922
- type ApiKeyApiCreationResponse = z$1.infer<typeof ApiKeyApiCreationResponseSchema>;
16923
- type CredentialReferenceSelect = z$1.infer<typeof CredentialReferenceSelectSchema>;
16924
- type CredentialReferenceInsert = z$1.infer<typeof CredentialReferenceInsertSchema>;
16925
- type CredentialReferenceUpdate = z$1.infer<typeof CredentialReferenceUpdateSchema>;
16926
- type CredentialReferenceApiSelect = z$1.infer<typeof CredentialReferenceApiSelectSchema>;
16927
- type CredentialReferenceApiInsert = z$1.infer<typeof CredentialReferenceApiInsertSchema>;
16928
- type CredentialReferenceApiUpdate = z$1.infer<typeof CredentialReferenceApiUpdateSchema>;
16929
- type SubAgentToolRelationSelect = z$1.infer<typeof SubAgentToolRelationSelectSchema>;
16930
- type SubAgentToolRelationInsert = z$1.infer<typeof SubAgentToolRelationInsertSchema>;
16931
- type SubAgentToolRelationUpdate = z$1.infer<typeof SubAgentToolRelationUpdateSchema>;
16932
- type SubAgentToolRelationApiSelect = z$1.infer<typeof SubAgentToolRelationApiSelectSchema>;
16933
- type SubAgentToolRelationApiInsert = z$1.infer<typeof SubAgentToolRelationApiInsertSchema>;
16934
- type SubAgentToolRelationApiUpdate = z$1.infer<typeof SubAgentToolRelationApiUpdateSchema>;
16935
- type SubAgentExternalAgentRelationSelect = z$1.infer<typeof SubAgentExternalAgentRelationSelectSchema>;
16936
- type SubAgentExternalAgentRelationInsert = z$1.infer<typeof SubAgentExternalAgentRelationInsertSchema>;
16937
- type SubAgentExternalAgentRelationUpdate = z$1.infer<typeof SubAgentExternalAgentRelationUpdateSchema>;
16938
- type SubAgentExternalAgentRelationApiSelect = z$1.infer<typeof SubAgentExternalAgentRelationApiSelectSchema>;
16939
- type SubAgentExternalAgentRelationApiInsert = z$1.infer<typeof SubAgentExternalAgentRelationApiInsertSchema>;
16940
- type SubAgentExternalAgentRelationApiUpdate = z$1.infer<typeof SubAgentExternalAgentRelationApiUpdateSchema>;
16941
- type SubAgentTeamAgentRelationSelect = z$1.infer<typeof SubAgentTeamAgentRelationSelectSchema>;
16942
- type SubAgentTeamAgentRelationInsert = z$1.infer<typeof SubAgentTeamAgentRelationInsertSchema>;
16943
- type SubAgentTeamAgentRelationUpdate = z$1.infer<typeof SubAgentTeamAgentRelationUpdateSchema>;
16944
- type SubAgentTeamAgentRelationApiSelect = z$1.infer<typeof SubAgentTeamAgentRelationApiSelectSchema>;
16945
- type SubAgentTeamAgentRelationApiInsert = z$1.infer<typeof SubAgentTeamAgentRelationApiInsertSchema>;
16946
- type SubAgentTeamAgentRelationApiUpdate = z$1.infer<typeof SubAgentTeamAgentRelationApiUpdateSchema>;
16947
- type LedgerArtifactSelect = z$1.infer<typeof LedgerArtifactSelectSchema>;
16948
- type LedgerArtifactInsert = z$1.infer<typeof LedgerArtifactInsertSchema>;
16949
- type LedgerArtifactUpdate = z$1.infer<typeof LedgerArtifactUpdateSchema>;
16950
- type LedgerArtifactApiSelect = z$1.infer<typeof LedgerArtifactApiSelectSchema>;
16951
- type LedgerArtifactApiInsert = z$1.infer<typeof LedgerArtifactApiInsertSchema>;
16952
- type LedgerArtifactApiUpdate = z$1.infer<typeof LedgerArtifactApiUpdateSchema>;
16953
- type FullAgentDefinition = z$1.infer<typeof AgentWithinContextOfProjectSchema>;
16954
- type FullAgentAgentInsert = z$1.infer<typeof FullAgentAgentInsertSchema>;
16955
- type FullProjectDefinition = z$1.infer<typeof FullProjectDefinitionSchema>;
16956
- type CanUseItem = z$1.infer<typeof CanUseItemSchema>;
16957
- type CanDelegateToExternalAgent = z$1.infer<typeof canDelegateToExternalAgentSchema>;
16958
- type SubAgentDefinition = z$1.infer<typeof SubAgentApiInsertSchema> & {
17456
+ type SubAgentSelect = z.infer<typeof SubAgentSelectSchema>;
17457
+ type SubAgentInsert = z.infer<typeof SubAgentInsertSchema>;
17458
+ type SubAgentUpdate = z.infer<typeof SubAgentUpdateSchema>;
17459
+ type SubAgentApiSelect = z.infer<typeof SubAgentApiSelectSchema>;
17460
+ type SubAgentApiInsert = z.infer<typeof SubAgentApiInsertSchema>;
17461
+ type SubAgentApiUpdate = z.infer<typeof SubAgentApiUpdateSchema>;
17462
+ type SubAgentRelationSelect = z.infer<typeof SubAgentRelationSelectSchema>;
17463
+ type SubAgentRelationInsert = z.infer<typeof SubAgentRelationInsertSchema>;
17464
+ type SubAgentRelationUpdate = z.infer<typeof SubAgentRelationUpdateSchema>;
17465
+ type SubAgentRelationApiSelect = z.infer<typeof SubAgentRelationApiSelectSchema>;
17466
+ type SubAgentRelationApiInsert = z.infer<typeof SubAgentRelationApiInsertSchema>;
17467
+ type SubAgentRelationApiUpdate = z.infer<typeof SubAgentRelationApiUpdateSchema>;
17468
+ type SubAgentRelationQuery = z.infer<typeof SubAgentRelationQuerySchema>;
17469
+ type ExternalSubAgentRelationInsert = z.infer<typeof ExternalSubAgentRelationInsertSchema>;
17470
+ type ExternalSubAgentRelationApiInsert = z.infer<typeof ExternalSubAgentRelationApiInsertSchema>;
17471
+ type AgentSelect = z.infer<typeof AgentSelectSchema>;
17472
+ type AgentInsert = z.infer<typeof AgentInsertSchema>;
17473
+ type AgentUpdate = z.infer<typeof AgentUpdateSchema>;
17474
+ type AgentApiSelect = z.infer<typeof AgentApiSelectSchema>;
17475
+ type AgentApiInsert = z.infer<typeof AgentApiInsertSchema>;
17476
+ type AgentApiUpdate = z.infer<typeof AgentApiUpdateSchema>;
17477
+ type TaskSelect = z.infer<typeof TaskSelectSchema>;
17478
+ type TaskInsert = z.infer<typeof TaskInsertSchema>;
17479
+ type TaskUpdate = z.infer<typeof TaskUpdateSchema>;
17480
+ type TaskApiSelect = z.infer<typeof TaskApiSelectSchema>;
17481
+ type TaskApiInsert = z.infer<typeof TaskApiInsertSchema>;
17482
+ type TaskApiUpdate = z.infer<typeof TaskApiUpdateSchema>;
17483
+ type TaskRelationSelect = z.infer<typeof TaskRelationSelectSchema>;
17484
+ type TaskRelationInsert = z.infer<typeof TaskRelationInsertSchema>;
17485
+ type TaskRelationUpdate = z.infer<typeof TaskRelationUpdateSchema>;
17486
+ type TaskRelationApiSelect = z.infer<typeof TaskRelationApiSelectSchema>;
17487
+ type TaskRelationApiInsert = z.infer<typeof TaskRelationApiInsertSchema>;
17488
+ type TaskRelationApiUpdate = z.infer<typeof TaskRelationApiUpdateSchema>;
17489
+ type ToolSelect = z.infer<typeof ToolSelectSchema>;
17490
+ type ToolInsert = z.infer<typeof ToolInsertSchema>;
17491
+ type ToolUpdate = z.infer<typeof ToolUpdateSchema>;
17492
+ type ToolApiSelect = z.infer<typeof ToolApiSelectSchema>;
17493
+ type ToolApiInsert = z.infer<typeof ToolApiInsertSchema>;
17494
+ type ToolApiUpdate = z.infer<typeof ToolApiUpdateSchema>;
17495
+ type McpTool = z.infer<typeof McpToolSchema>;
17496
+ type MCPToolConfig = z.infer<typeof MCPToolConfigSchema>;
17497
+ type FunctionSelect = z.infer<typeof FunctionSelectSchema>;
17498
+ type FunctionInsert = z.infer<typeof FunctionInsertSchema>;
17499
+ type FunctionUpdate = z.infer<typeof FunctionUpdateSchema>;
17500
+ type FunctionApiSelect = z.infer<typeof FunctionApiSelectSchema>;
17501
+ type FunctionApiInsert = z.infer<typeof FunctionApiInsertSchema>;
17502
+ type FunctionApiUpdate = z.infer<typeof FunctionApiUpdateSchema>;
17503
+ type FunctionToolApiSelect = z.infer<typeof FunctionToolApiSelectSchema>;
17504
+ type FunctionToolApiInsert = z.infer<typeof FunctionToolApiInsertSchema>;
17505
+ type FunctionToolApiUpdate = z.infer<typeof FunctionToolApiUpdateSchema>;
17506
+ type ConversationSelect = z.infer<typeof ConversationSelectSchema>;
17507
+ type ConversationInsert = z.infer<typeof ConversationInsertSchema>;
17508
+ type ConversationUpdate = z.infer<typeof ConversationUpdateSchema>;
17509
+ type ConversationApiSelect = z.infer<typeof ConversationApiSelectSchema>;
17510
+ type ConversationApiInsert = z.infer<typeof ConversationApiInsertSchema>;
17511
+ type ConversationApiUpdate = z.infer<typeof ConversationApiUpdateSchema>;
17512
+ type MessageSelect = z.infer<typeof MessageSelectSchema>;
17513
+ type MessageInsert = z.infer<typeof MessageInsertSchema>;
17514
+ type MessageUpdate = z.infer<typeof MessageUpdateSchema>;
17515
+ type MessageApiSelect = z.infer<typeof MessageApiSelectSchema>;
17516
+ type MessageApiInsert = z.infer<typeof MessageApiInsertSchema>;
17517
+ type MessageApiUpdate = z.infer<typeof MessageApiUpdateSchema>;
17518
+ type ContextConfigSelect = z.infer<typeof ContextConfigSelectSchema>;
17519
+ type ContextConfigInsert = z.infer<typeof ContextConfigInsertSchema>;
17520
+ type ContextConfigUpdate = z.infer<typeof ContextConfigUpdateSchema>;
17521
+ type ContextConfigApiSelect = z.infer<typeof ContextConfigApiSelectSchema>;
17522
+ type ContextConfigApiInsert = z.infer<typeof ContextConfigApiInsertSchema>;
17523
+ type ContextConfigApiUpdate = z.infer<typeof ContextConfigApiUpdateSchema>;
17524
+ type FetchDefinition = z.infer<typeof FetchDefinitionSchema>;
17525
+ type FetchConfig = z.infer<typeof FetchConfigSchema>;
17526
+ type ContextCacheSelect = z.infer<typeof ContextCacheSelectSchema>;
17527
+ type ContextCacheInsert = z.infer<typeof ContextCacheInsertSchema>;
17528
+ type ContextCacheUpdate = z.infer<typeof ContextCacheUpdateSchema>;
17529
+ type ContextCacheApiSelect = z.infer<typeof ContextCacheApiSelectSchema>;
17530
+ type ContextCacheApiInsert = z.infer<typeof ContextCacheApiInsertSchema>;
17531
+ type ContextCacheApiUpdate = z.infer<typeof ContextCacheApiUpdateSchema>;
17532
+ type DataComponentSelect = z.infer<typeof DataComponentSelectSchema>;
17533
+ type DataComponentInsert = z.infer<typeof DataComponentInsertSchema>;
17534
+ type DataComponentUpdate = z.infer<typeof DataComponentUpdateSchema>;
17535
+ type DataComponentApiSelect = z.infer<typeof DataComponentApiSelectSchema>;
17536
+ type DataComponentApiInsert = z.infer<typeof DataComponentApiInsertSchema>;
17537
+ type DataComponentApiUpdate = z.infer<typeof DataComponentApiUpdateSchema>;
17538
+ type SubAgentDataComponentSelect = z.infer<typeof SubAgentDataComponentSelectSchema>;
17539
+ type SubAgentDataComponentInsert = z.infer<typeof SubAgentDataComponentInsertSchema>;
17540
+ type SubAgentDataComponentUpdate = z.infer<typeof SubAgentDataComponentUpdateSchema>;
17541
+ type SubAgentDataComponentApiSelect = z.infer<typeof SubAgentDataComponentApiSelectSchema>;
17542
+ type SubAgentDataComponentApiInsert = z.infer<typeof SubAgentDataComponentApiInsertSchema>;
17543
+ type SubAgentDataComponentApiUpdate = z.infer<typeof SubAgentDataComponentApiUpdateSchema>;
17544
+ type ArtifactComponentSelect = z.infer<typeof ArtifactComponentSelectSchema>;
17545
+ type ArtifactComponentInsert = z.infer<typeof ArtifactComponentInsertSchema>;
17546
+ type ArtifactComponentUpdate = z.infer<typeof ArtifactComponentUpdateSchema>;
17547
+ type ArtifactComponentApiSelect = z.infer<typeof ArtifactComponentApiSelectSchema>;
17548
+ type ArtifactComponentApiInsert = z.infer<typeof ArtifactComponentApiInsertSchema>;
17549
+ type ArtifactComponentApiUpdate = z.infer<typeof ArtifactComponentApiUpdateSchema>;
17550
+ type SubAgentArtifactComponentSelect = z.infer<typeof SubAgentArtifactComponentSelectSchema>;
17551
+ type SubAgentArtifactComponentInsert = z.infer<typeof SubAgentArtifactComponentInsertSchema>;
17552
+ type SubAgentArtifactComponentUpdate = z.infer<typeof SubAgentArtifactComponentUpdateSchema>;
17553
+ type SubAgentArtifactComponentApiSelect = z.infer<typeof SubAgentArtifactComponentApiSelectSchema>;
17554
+ type SubAgentArtifactComponentApiInsert = z.infer<typeof SubAgentArtifactComponentApiInsertSchema>;
17555
+ type SubAgentArtifactComponentApiUpdate = z.infer<typeof SubAgentArtifactComponentApiUpdateSchema>;
17556
+ type ExternalAgentSelect = z.infer<typeof ExternalAgentSelectSchema>;
17557
+ type ExternalAgentInsert = z.infer<typeof ExternalAgentInsertSchema>;
17558
+ type ExternalAgentUpdate = z.infer<typeof ExternalAgentUpdateSchema>;
17559
+ type ExternalAgentApiSelect = z.infer<typeof ExternalAgentApiSelectSchema>;
17560
+ type ExternalAgentApiInsert = z.infer<typeof ExternalAgentApiInsertSchema>;
17561
+ type ExternalAgentApiUpdate = z.infer<typeof ExternalAgentApiUpdateSchema>;
17562
+ type AllAgentSelect = z.infer<typeof AllAgentSchema>;
17563
+ type ApiKeySelect = z.infer<typeof ApiKeySelectSchema>;
17564
+ type ApiKeyInsert = z.infer<typeof ApiKeyInsertSchema>;
17565
+ type ApiKeyUpdate = z.infer<typeof ApiKeyUpdateSchema>;
17566
+ type ApiKeyApiSelect = z.infer<typeof ApiKeyApiSelectSchema>;
17567
+ type ApiKeyApiInsert = z.infer<typeof ApiKeyApiInsertSchema>;
17568
+ type ApiKeyApiUpdate = z.infer<typeof ApiKeyApiUpdateSchema>;
17569
+ type ApiKeyApiCreationResponse = z.infer<typeof ApiKeyApiCreationResponseSchema>;
17570
+ type CredentialReferenceSelect = z.infer<typeof CredentialReferenceSelectSchema>;
17571
+ type CredentialReferenceInsert = z.infer<typeof CredentialReferenceInsertSchema>;
17572
+ type CredentialReferenceUpdate = z.infer<typeof CredentialReferenceUpdateSchema>;
17573
+ type CredentialReferenceApiSelect = z.infer<typeof CredentialReferenceApiSelectSchema>;
17574
+ type CredentialReferenceApiInsert = z.infer<typeof CredentialReferenceApiInsertSchema>;
17575
+ type CredentialReferenceApiUpdate = z.infer<typeof CredentialReferenceApiUpdateSchema>;
17576
+ type SubAgentToolRelationSelect = z.infer<typeof SubAgentToolRelationSelectSchema>;
17577
+ type SubAgentToolRelationInsert = z.infer<typeof SubAgentToolRelationInsertSchema>;
17578
+ type SubAgentToolRelationUpdate = z.infer<typeof SubAgentToolRelationUpdateSchema>;
17579
+ type SubAgentToolRelationApiSelect = z.infer<typeof SubAgentToolRelationApiSelectSchema>;
17580
+ type SubAgentToolRelationApiInsert = z.infer<typeof SubAgentToolRelationApiInsertSchema>;
17581
+ type SubAgentToolRelationApiUpdate = z.infer<typeof SubAgentToolRelationApiUpdateSchema>;
17582
+ type SubAgentExternalAgentRelationSelect = z.infer<typeof SubAgentExternalAgentRelationSelectSchema>;
17583
+ type SubAgentExternalAgentRelationInsert = z.infer<typeof SubAgentExternalAgentRelationInsertSchema>;
17584
+ type SubAgentExternalAgentRelationUpdate = z.infer<typeof SubAgentExternalAgentRelationUpdateSchema>;
17585
+ type SubAgentExternalAgentRelationApiSelect = z.infer<typeof SubAgentExternalAgentRelationApiSelectSchema>;
17586
+ type SubAgentExternalAgentRelationApiInsert = z.infer<typeof SubAgentExternalAgentRelationApiInsertSchema>;
17587
+ type SubAgentExternalAgentRelationApiUpdate = z.infer<typeof SubAgentExternalAgentRelationApiUpdateSchema>;
17588
+ type SubAgentTeamAgentRelationSelect = z.infer<typeof SubAgentTeamAgentRelationSelectSchema>;
17589
+ type SubAgentTeamAgentRelationInsert = z.infer<typeof SubAgentTeamAgentRelationInsertSchema>;
17590
+ type SubAgentTeamAgentRelationUpdate = z.infer<typeof SubAgentTeamAgentRelationUpdateSchema>;
17591
+ type SubAgentTeamAgentRelationApiSelect = z.infer<typeof SubAgentTeamAgentRelationApiSelectSchema>;
17592
+ type SubAgentTeamAgentRelationApiInsert = z.infer<typeof SubAgentTeamAgentRelationApiInsertSchema>;
17593
+ type SubAgentTeamAgentRelationApiUpdate = z.infer<typeof SubAgentTeamAgentRelationApiUpdateSchema>;
17594
+ type LedgerArtifactSelect = z.infer<typeof LedgerArtifactSelectSchema>;
17595
+ type LedgerArtifactInsert = z.infer<typeof LedgerArtifactInsertSchema>;
17596
+ type LedgerArtifactUpdate = z.infer<typeof LedgerArtifactUpdateSchema>;
17597
+ type LedgerArtifactApiSelect = z.infer<typeof LedgerArtifactApiSelectSchema>;
17598
+ type LedgerArtifactApiInsert = z.infer<typeof LedgerArtifactApiInsertSchema>;
17599
+ type LedgerArtifactApiUpdate = z.infer<typeof LedgerArtifactApiUpdateSchema>;
17600
+ type FullAgentDefinition = z.infer<typeof AgentWithinContextOfProjectSchema>;
17601
+ type FullAgentAgentInsert = z.infer<typeof FullAgentAgentInsertSchema>;
17602
+ type FullProjectDefinition = z.infer<typeof FullProjectDefinitionSchema>;
17603
+ type CanUseItem = z.infer<typeof CanUseItemSchema>;
17604
+ type CanDelegateToExternalAgent = z.infer<typeof canDelegateToExternalAgentSchema>;
17605
+ type SubAgentDefinition = z.infer<typeof SubAgentApiInsertSchema> & {
16959
17606
  canUse: CanUseItem[];
16960
17607
  dataComponents?: string[];
16961
17608
  artifactComponents?: string[];
@@ -16965,13 +17612,13 @@ type SubAgentDefinition = z$1.infer<typeof SubAgentApiInsertSchema> & {
16965
17612
  type ToolDefinition = ToolApiInsert & {
16966
17613
  credentialReferenceId?: string | null;
16967
17614
  };
16968
- type ProjectSelect = z$1.infer<typeof ProjectSelectSchema>;
16969
- type ProjectInsert = z$1.infer<typeof ProjectInsertSchema>;
16970
- type ProjectUpdate = z$1.infer<typeof ProjectUpdateSchema>;
16971
- type ProjectApiSelect = z$1.infer<typeof ProjectApiSelectSchema>;
16972
- type ProjectApiInsert = z$1.infer<typeof ProjectApiInsertSchema>;
16973
- type ProjectApiUpdate = z$1.infer<typeof ProjectApiUpdateSchema>;
16974
- type Pagination = z$1.infer<typeof PaginationSchema>;
17615
+ type ProjectSelect = z.infer<typeof ProjectSelectSchema>;
17616
+ type ProjectInsert = z.infer<typeof ProjectInsertSchema>;
17617
+ type ProjectUpdate = z.infer<typeof ProjectUpdateSchema>;
17618
+ type ProjectApiSelect = z.infer<typeof ProjectApiSelectSchema>;
17619
+ type ProjectApiInsert = z.infer<typeof ProjectApiInsertSchema>;
17620
+ type ProjectApiUpdate = z.infer<typeof ProjectApiUpdateSchema>;
17621
+ type Pagination = z.infer<typeof PaginationSchema>;
16975
17622
  interface SummaryEvent {
16976
17623
  type: string;
16977
17624
  label: string;
@@ -16984,10 +17631,10 @@ type MessageVisibility = 'user-facing' | 'internal' | 'system' | 'external';
16984
17631
  type MessageType = 'chat' | 'a2a-request' | 'a2a-response' | 'task-update' | 'tool-call' | 'tool-result';
16985
17632
  type MessageRole = 'user' | 'agent' | 'system';
16986
17633
  type MessageMode = 'full' | 'scoped' | 'none';
16987
- type Models = z$1.infer<typeof ModelSchema>;
16988
- type ProjectModels = z$1.infer<typeof ProjectModelSchema>;
16989
- type StatusUpdateSettings = z$1.infer<typeof StatusUpdateSchema>;
16990
- type StatusComponent = z$1.infer<typeof StatusComponentSchema>;
17634
+ type Models = z.infer<typeof ModelSchema>;
17635
+ type ProjectModels = z.infer<typeof ProjectModelSchema>;
17636
+ type StatusUpdateSettings = z.infer<typeof StatusUpdateSchema>;
17637
+ type StatusComponent = z.infer<typeof StatusComponentSchema>;
16991
17638
  type PaginationConfig = {
16992
17639
  page?: number;
16993
17640
  limit?: number;
@@ -17076,6 +17723,7 @@ type ContextFetchDefinition = {
17076
17723
  body?: Record<string, unknown>;
17077
17724
  transform?: string;
17078
17725
  timeout?: number;
17726
+ requiredToFetch?: Array<string>;
17079
17727
  };
17080
17728
  responseSchema?: Record<string, unknown>;
17081
17729
  defaultValue?: unknown;
@@ -17105,7 +17753,7 @@ type McpServerAuth = {
17105
17753
  apiKey?: string;
17106
17754
  headerName?: string;
17107
17755
  };
17108
- type McpTransportConfig = z$1.infer<typeof McpTransportConfigSchema>;
17756
+ type McpTransportConfig = z.infer<typeof McpTransportConfigSchema>;
17109
17757
  type McpServerCapabilities = {
17110
17758
  tools?: boolean;
17111
17759
  resources?: boolean;
@@ -17203,6 +17851,10 @@ interface ExecutionContext {
17203
17851
  metadata?: {
17204
17852
  teamDelegation?: boolean;
17205
17853
  originAgentId?: string;
17854
+ initiatedBy?: {
17855
+ type: 'user' | 'api_key';
17856
+ id: string;
17857
+ };
17206
17858
  };
17207
17859
  }
17208
17860
  /**
@@ -17257,4 +17909,4 @@ type Filter<T extends Record<string, unknown>> = T | {
17257
17909
  or: Array<Filter<T>>;
17258
17910
  };
17259
17911
 
17260
- 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 };
17912
+ export { type CredentialReferenceInsert as $, ApiKeyApiUpdateSchema as A, type AgentSelect as B, type ContextFetchDefinition 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, type MessageContent 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 _, type ConversationHistoryConfig 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, type ToolMcpConfig 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, type ToolServerCapabilities 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 ConversationMetadata 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 MessageMetadata 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, CredentialStoreType 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, FullAgentAgentInsertSchema 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, AgentStopWhenSchema 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, SubAgentStopWhenSchema as i, type StopWhen as j, type AgentStopWhen as k, type SubAgentStopWhen as l, ModelSettingsSchema as m, type ModelSettings as n, MCPTransportType as o, FunctionApiSelectSchema as p, FunctionApiUpdateSchema 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 };